| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329 |
- ;(function () {
- function ownKeys(e, t) {
- var n = Object.keys(e)
- if (Object.getOwnPropertySymbols) {
- var r = Object.getOwnPropertySymbols(e)
- t &&
- (r = r.filter(function (t) {
- return Object.getOwnPropertyDescriptor(e, t).enumerable
- })),
- n.push.apply(n, r)
- }
- return n
- }
- function _objectSpread(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? arguments[t] : {}
- t % 2
- ? ownKeys(Object(n), !0).forEach(function (t) {
- _defineProperty2(e, t, n[t])
- })
- : Object.getOwnPropertyDescriptors
- ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))
- : ownKeys(Object(n)).forEach(function (t) {
- Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t))
- })
- }
- return e
- }
- function asyncGeneratorStep(e, t, n, r, a, o, i) {
- try {
- var s = e[o](i),
- l = s.value
- } catch (c) {
- return void n(c)
- }
- s.done ? t(l) : Promise.resolve(l).then(r, a)
- }
- function _asyncToGenerator(e) {
- return function () {
- var t = this,
- n = arguments
- return new Promise(function (r, a) {
- var o = e.apply(t, n)
- function i(e) {
- asyncGeneratorStep(o, r, a, i, s, 'next', e)
- }
- function s(e) {
- asyncGeneratorStep(o, r, a, i, s, 'throw', e)
- }
- i(void 0)
- })
- }
- }
- function _inherits2(e, t) {
- if ('function' != typeof t && null !== t)
- throw new TypeError('Super expression must either be null or a function')
- ;(e.prototype = Object.create(t && t.prototype, {
- constructor: { value: e, writable: !0, configurable: !0 }
- })),
- Object.defineProperty(e, 'prototype', { writable: !1 }),
- t && _setPrototypeOf2(e, t)
- }
- function _setPrototypeOf2(e, t) {
- return (
- (_setPrototypeOf2 =
- Object.setPrototypeOf ||
- function (e, t) {
- return (e.__proto__ = t), e
- }),
- _setPrototypeOf2(e, t)
- )
- }
- function _createSuper2(e) {
- var t = _isNativeReflectConstruct2()
- return function () {
- var n,
- r = _getPrototypeOf2(e)
- if (t) {
- var a = _getPrototypeOf2(this).constructor
- n = Reflect.construct(r, arguments, a)
- } else n = r.apply(this, arguments)
- return _possibleConstructorReturn2(this, n)
- }
- }
- function _possibleConstructorReturn2(e, t) {
- if (t && ('object' === _typeof2(t) || 'function' == typeof t)) return t
- if (void 0 !== t)
- throw new TypeError('Derived constructors may only return object or undefined')
- return _assertThisInitialized2(e)
- }
- function _assertThisInitialized2(e) {
- if (void 0 === e)
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
- return e
- }
- function _isNativeReflectConstruct2() {
- if ('undefined' == typeof Reflect || !Reflect.construct) return !1
- if (Reflect.construct.sham) return !1
- if ('function' == typeof Proxy) return !0
- try {
- return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0
- } catch (e) {
- return !1
- }
- }
- function _getPrototypeOf2(e) {
- return (
- (_getPrototypeOf2 = Object.setPrototypeOf
- ? Object.getPrototypeOf
- : function (e) {
- return e.__proto__ || Object.getPrototypeOf(e)
- }),
- _getPrototypeOf2(e)
- )
- }
- function _classCallCheck2(e, t) {
- if (!(e instanceof t)) throw new TypeError('Cannot call a class as a function')
- }
- function _defineProperties(e, t) {
- for (var n = 0; n < t.length; n++) {
- var r = t[n]
- ;(r.enumerable = r.enumerable || !1),
- (r.configurable = !0),
- 'value' in r && (r.writable = !0),
- Object.defineProperty(e, r.key, r)
- }
- }
- function _createClass2(e, t, n) {
- return (
- t && _defineProperties(e.prototype, t),
- n && _defineProperties(e, n),
- Object.defineProperty(e, 'prototype', { writable: !1 }),
- e
- )
- }
- function _typeof2(e) {
- return (
- (_typeof2 =
- 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator
- ? function (e) {
- return typeof e
- }
- : function (e) {
- return e &&
- 'function' == typeof Symbol &&
- e.constructor === Symbol &&
- e !== Symbol.prototype
- ? 'symbol'
- : typeof e
- }),
- _typeof2(e)
- )
- }
- function _defineProperty2(e, t, n) {
- return (
- t in e
- ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 })
- : (e[t] = n),
- e
- )
- }
- function _slicedToArray(e, t) {
- return (
- _arrayWithHoles(e) ||
- _iterableToArrayLimit(e, t) ||
- _unsupportedIterableToArray2(e, t) ||
- _nonIterableRest()
- )
- }
- function _nonIterableRest() {
- throw new TypeError(
- 'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.'
- )
- }
- function _iterableToArrayLimit(e, t) {
- var n =
- null == e ? null : ('undefined' != typeof Symbol && e[Symbol.iterator]) || e['@@iterator']
- if (null != n) {
- var r,
- a,
- o = [],
- i = !0,
- s = !1
- try {
- for (
- n = n.call(e);
- !(i = (r = n.next()).done) && (o.push(r.value), !t || o.length !== t);
- i = !0
- );
- } catch (l) {
- ;(s = !0), (a = l)
- } finally {
- try {
- i || null == n.return || n.return()
- } finally {
- if (s) throw a
- }
- }
- return o
- }
- }
- function _arrayWithHoles(e) {
- if (Array.isArray(e)) return e
- }
- function _toConsumableArray2(e) {
- return (
- _arrayWithoutHoles2(e) ||
- _iterableToArray2(e) ||
- _unsupportedIterableToArray2(e) ||
- _nonIterableSpread2()
- )
- }
- function _nonIterableSpread2() {
- throw new TypeError(
- 'Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.'
- )
- }
- function _iterableToArray2(e) {
- if (('undefined' != typeof Symbol && null != e[Symbol.iterator]) || null != e['@@iterator'])
- return Array.from(e)
- }
- function _arrayWithoutHoles2(e) {
- if (Array.isArray(e)) return _arrayLikeToArray2(e)
- }
- function _createForOfIteratorHelper(e, t) {
- var n = ('undefined' != typeof Symbol && e[Symbol.iterator]) || e['@@iterator']
- if (!n) {
- if (
- Array.isArray(e) ||
- (n = _unsupportedIterableToArray2(e)) ||
- (t && e && 'number' == typeof e.length)
- ) {
- n && (e = n)
- var r = 0,
- a = function () {}
- return {
- s: a,
- n: function () {
- return r >= e.length ? { done: !0 } : { done: !1, value: e[r++] }
- },
- e: function (e) {
- throw e
- },
- f: a
- }
- }
- throw new TypeError(
- 'Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.'
- )
- }
- var o,
- i = !0,
- s = !1
- return {
- s: function () {
- n = n.call(e)
- },
- n: function () {
- var e = n.next()
- return (i = e.done), e
- },
- e: function (e) {
- ;(s = !0), (o = e)
- },
- f: function () {
- try {
- i || null == n.return || n.return()
- } finally {
- if (s) throw o
- }
- }
- }
- }
- function _unsupportedIterableToArray2(e, t) {
- if (e) {
- if ('string' == typeof e) return _arrayLikeToArray2(e, t)
- var n = Object.prototype.toString.call(e).slice(8, -1)
- return (
- 'Object' === n && e.constructor && (n = e.constructor.name),
- 'Map' === n || 'Set' === n
- ? Array.from(e)
- : 'Arguments' === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
- ? _arrayLikeToArray2(e, t)
- : void 0
- )
- }
- }
- function _arrayLikeToArray2(e, t) {
- ;(null == t || t > e.length) && (t = e.length)
- for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]
- return r
- }
- var __vite_style__ = document.createElement('style')
- ;(__vite_style__.innerHTML =
- '._error_1i228_1{background-color:#fff;display:flex;flex-direction:column;min-height:100vh;align-items:center;justify-content:center}._error_1i228_1 ._info_1i228_9{display:flex;align-items:center;margin-bottom:.8rem}._error_1i228_1 ._info_1i228_9 span{display:inline-block;margin-left:.26667rem;color:#58727e;font-size:.48rem}._error_1i228_1 .o-result-container,._error_1i228_1 .van-empty{padding-top:0}._error_1i228_1 .van-button{width:50%}._col-result_uqenj_1{padding:.37333rem;text-align:center;margin:0 auto;box-sizing:border-box;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}._col-result_uqenj_1 ._tips_uqenj_12{font-size:.37333rem;color:#333;padding:.53333rem 0}._col-result_uqenj_1 ._btn_uqenj_17{width:55%;margin:0 auto}._col-result_uqenj_1 .van-empty__image{width:5.6rem;height:5.6rem}._col-result_uqenj_1 .van-empty{padding-bottom:1.6rem}._col-result_uqenj_1 ._SMALL_uqenj_28 .van-empty__image{width:4.29333rem;height:4.29333rem}._col-result_uqenj_1 ._CERT_uqenj_32 .van-empty__image{width:6.13333rem;height:6.13333rem}._col-result_uqenj_1 ._CERT_uqenj_32 .van-empty__description{padding:0 .8rem}._colHeader_939xd_1{--van-font-weight-bold: 600;--van-nav-bar-arrow-size: .58667rem}._colHeader_939xd_1 .van-nav-bar__title,._colHeader_939xd_1 .van-icon{color:inherit!important}._colHeader_939xd_1 .van-nav-bar__title{font-size:.48rem;font-weight:500}._colHeader_939xd_1 .van-nav-bar__right>div{line-height:0}._colHeader_939xd_1 .van-nav-bar__left{padding-left:.32rem;font-size:.58667rem}._colHeader_939xd_1._transparent_939xd_20{background-color:transparent}._headerSection_939xd_23{position:relative}._error_6z2np_1{background-color:#fff;display:flex;flex-direction:column;min-height:100vh;align-items:center;justify-content:center}._error_6z2np_1 ._info_6z2np_9{display:flex;align-items:center;margin-bottom:.8rem}._error_6z2np_1 ._info_6z2np_9 span{display:inline-block;margin-left:.26667rem;color:#58727e;font-size:.48rem}._error_6z2np_1 .o-result-container,._error_6z2np_1 .van-empty{padding-top:0}._error_6z2np_1 .van-button{width:50%}._login_6z2np_27{min-height:100vh;background:url(./assets/top_bg.a1440929.png) no-repeat top center,url(./assets/bottom_student_bg.47832732.png) no-repeat bottom center;background-color:#fff;background-size:100%}._login_6z2np_27 ._loginTitle_6z2np_33{padding-top:2.66667rem;font-size:.69333rem;padding-left:.93333rem;padding-bottom:1.86667rem;line-height:.98667rem;font-weight:500}._login_6z2np_27 ._codeText_6z2np_41{color:var(--van-primary-text)}._login_6z2np_27 ._margin34_6z2np_44{margin:0 .90667rem}._login_6z2np_27 ._formTitle_6z2np_47{font-size:.48rem;color:#000;font-weight:500}._login_6z2np_27 .van-cell-group{margin-bottom:.93333rem}._login_6z2np_27 .van-field{padding-left:0;padding-right:0}._login_6z2np_27 .van-button+.van-button{margin-top:.53333rem;color:#000!important}._login_6z2np_27 ._wxPopupDialog_6z2np_63{position:relative;overflow:inherit;margin-top:-4.26667rem}._login_6z2np_27 ._wxPopupDialog_6z2np_63:before{position:absolute;content:" ";top:-1.94667rem;left:50%;margin-left:-2.29333rem;display:inline-block;background:url(./assets/wx-no-top.562db7f2.png) no-repeat top center;background-size:contain;width:4.58667rem;height:4.10667rem}._login_6z2np_27 ._popupContainer_6z2np_80{background:url(./assets/wx-no-bg.f12a4a6d.png) no-repeat top center;background-size:cover;border-radius:.53333rem;overflow:hidden;padding:0 .53333rem}._login_6z2np_27 ._popupContainer_6z2np_80 ._title_6z2np_87{padding-top:1.52rem;text-align:center;font-size:.48rem;font-weight:500;color:#3b2300}._login_6z2np_27 ._popupContainer_6z2np_80 ._popupTips_6z2np_94{padding-top:.32rem;padding-bottom:1.25333rem;text-align:center;font-size:.4rem;color:#777;line-height:.56rem}:root{--van-black: #000;--van-white: #fff;--van-gray-1: #f7f8fa;--van-gray-2: #f2f3f5;--van-gray-3: #ebedf0;--van-gray-4: #dcdee0;--van-gray-5: #c8c9cc;--van-gray-6: #969799;--van-gray-7: #646566;--van-gray-8: #323233;--van-red: #ee0a24;--van-blue: #1989fa;--van-orange: #ff976a;--van-orange-dark: #ed6a0c;--van-orange-light: #fffbe8;--van-green: #07c160;--van-gradient-red: linear-gradient(to right, #ff6034, #ee0a24);--van-gradient-orange: linear-gradient(to right, #ffd01e, #ff8917);--van-primary-color: var(--van-blue);--van-success-color: var(--van-green);--van-danger-color: var(--van-red);--van-warning-color: var(--van-orange);--van-text-color: var(--van-gray-8);--van-text-color-2: var(--van-gray-6);--van-text-color-3: var(--van-gray-5);--van-link-color: #576b95;--van-active-color: var(--van-gray-2);--van-active-opacity: .6;--van-disabled-opacity: .5;--van-background: var(--van-gray-1);--van-background-2: var(--van-white);--van-background-3: var(--van-white);--van-padding-base: .10667rem;--van-padding-xs: .21333rem;--van-padding-sm: .32rem;--van-padding-md: .42667rem;--van-padding-lg: .64rem;--van-padding-xl: .85333rem;--van-font-bold: 600;--van-font-size-xs: .26667rem;--van-font-size-sm: .32rem;--van-font-size-md: .37333rem;--van-font-size-lg: .42667rem;--van-line-height-xs: .37333rem;--van-line-height-sm: .48rem;--van-line-height-md: .53333rem;--van-line-height-lg: .58667rem;--van-base-font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Segoe UI, Arial, Roboto, "PingFang SC", "miui", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;--van-price-font: avenir-heavy, "PingFang SC", helvetica neue, arial, sans-serif;--van-duration-base: .3s;--van-duration-fast: .2s;--van-ease-out: ease-out;--van-ease-in: ease-in;--van-border-color: var(--van-gray-3);--van-border-width: .02667rem;--van-radius-sm: .05333rem;--van-radius-md: .10667rem;--van-radius-lg: .21333rem;--van-radius-max: 26.64rem}.van-theme-dark{--van-text-color: #f5f5f5;--van-text-color-2: #707070;--van-text-color-3: #4d4d4d;--van-border-color: #3a3a3c;--van-active-color: #3a3a3c;--van-background: #000;--van-background-2: #1c1c1e;--van-background-3: #37363b}html{-webkit-tap-highlight-color:transparent}body{margin:0;font-family:var(--van-base-font)}a{text-decoration:none}input,button,textarea{color:inherit;font:inherit}a:focus,input:focus,button:focus,textarea:focus,[class*=van-]:focus{outline:none}ol,ul{margin:0;padding:0;list-style:none}@keyframes van-slide-up-enter{0%{transform:translate3d(0,100%,0)}}@keyframes van-slide-up-leave{to{transform:translate3d(0,100%,0)}}@keyframes van-slide-down-enter{0%{transform:translate3d(0,-100%,0)}}@keyframes van-slide-down-leave{to{transform:translate3d(0,-100%,0)}}@keyframes van-slide-left-enter{0%{transform:translate3d(-100%,0,0)}}@keyframes van-slide-left-leave{to{transform:translate3d(-100%,0,0)}}@keyframes van-slide-right-enter{0%{transform:translate3d(100%,0,0)}}@keyframes van-slide-right-leave{to{transform:translate3d(100%,0,0)}}@keyframes van-fade-in{0%{opacity:0}to{opacity:1}}@keyframes van-fade-out{0%{opacity:1}to{opacity:0}}@keyframes van-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.van-fade-enter-active{animation:var(--van-duration-base) van-fade-in both var(--van-ease-out)}.van-fade-leave-active{animation:var(--van-duration-base) van-fade-out both var(--van-ease-in)}.van-slide-up-enter-active{animation:van-slide-up-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-up-leave-active{animation:van-slide-up-leave var(--van-duration-base) both var(--van-ease-in)}.van-slide-down-enter-active{animation:van-slide-down-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-down-leave-active{animation:van-slide-down-leave var(--van-duration-base) both var(--van-ease-in)}.van-slide-left-enter-active{animation:van-slide-left-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-left-leave-active{animation:van-slide-left-leave var(--van-duration-base) both var(--van-ease-in)}.van-slide-right-enter-active{animation:van-slide-right-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-right-leave-active{animation:van-slide-right-leave var(--van-duration-base) both var(--van-ease-in)}.van-clearfix:after{display:table;clear:both;content:""}.van-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-multi-ellipsis--l2{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical}.van-multi-ellipsis--l3{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:3;-webkit-box-orient:vertical}.van-safe-area-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.van-safe-area-bottom{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.van-haptics-feedback{cursor:pointer}.van-haptics-feedback:active{opacity:var(--van-active-opacity)}[class*=van-hairline]:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid var(--van-border-color);transform:scale(.5)}.van-hairline,.van-hairline--top,.van-hairline--left,.van-hairline--right,.van-hairline--bottom,.van-hairline--surround,.van-hairline--top-bottom{position:relative}.van-hairline--top:after{border-top-width:var(--van-border-width)}.van-hairline--left:after{border-left-width:var(--van-border-width)}.van-hairline--right:after{border-right-width:var(--van-border-width)}.van-hairline--bottom:after{border-bottom-width:var(--van-border-width)}.van-hairline--top-bottom:after,.van-hairline-unset--top-bottom:after{border-width:var(--van-border-width) 0}.van-hairline--surround:after{border-width:var(--van-border-width)}:root{--van-action-bar-background: var(--van-background-2);--van-action-bar-height: 1.33333rem}.van-action-bar{position:fixed;right:0;bottom:0;left:0;display:flex;align-items:center;box-sizing:content-box;height:var(--van-action-bar-height);background:var(--van-action-bar-background)}:root{--van-badge-size: .42667rem;--van-badge-color: var(--van-white);--van-badge-padding: 0 .08rem;--van-badge-font-size: var(--van-font-size-sm);--van-badge-font-weight: var(--van-font-bold);--van-badge-border-width: var(--van-border-width);--van-badge-background: var(--van-danger-color);--van-badge-dot-color: var(--van-danger-color);--van-badge-dot-size: .21333rem;--van-badge-font: -apple-system-font, helvetica neue, arial, sans-serif}.van-badge{display:inline-block;box-sizing:border-box;min-width:var(--van-badge-size);padding:var(--van-badge-padding);color:var(--van-badge-color);font-weight:var(--van-badge-font-weight);font-size:var(--van-badge-font-size);font-family:var(--van-badge-font);line-height:1.2;text-align:center;background:var(--van-badge-background);border:var(--van-badge-border-width) solid var(--van-background-2);border-radius:var(--van-radius-max)}.van-badge--fixed{position:absolute;transform-origin:100%}.van-badge--top-left{top:0;left:0;transform:translate(-50%,-50%)}.van-badge--top-right{top:0;right:0;transform:translate(50%,-50%)}.van-badge--bottom-left{bottom:0;left:0;transform:translate(-50%,50%)}.van-badge--bottom-right{bottom:0;right:0;transform:translate(50%,50%)}.van-badge--dot{width:var(--van-badge-dot-size);min-width:0;height:var(--van-badge-dot-size);background:var(--van-badge-dot-color);border-radius:100%;border:none;padding:0}.van-badge__wrapper{position:relative;display:inline-block}.van-icon{position:relative;display:inline-block;font:.37333rem/1 vant-icon;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased}.van-icon:before{display:inline-block}.van-icon-exchange:before{content:"\\e6af"}.van-icon-eye:before{content:"\\e6b0"}.van-icon-enlarge:before{content:"\\e6b1"}.van-icon-expand-o:before{content:"\\e6b2"}.van-icon-eye-o:before{content:"\\e6b3"}.van-icon-expand:before{content:"\\e6b4"}.van-icon-filter-o:before{content:"\\e6b5"}.van-icon-fire:before{content:"\\e6b6"}.van-icon-fail:before{content:"\\e6b7"}.van-icon-failure:before{content:"\\e6b8"}.van-icon-fire-o:before{content:"\\e6b9"}.van-icon-flag-o:before{content:"\\e6ba"}.van-icon-font:before{content:"\\e6bb"}.van-icon-font-o:before{content:"\\e6bc"}.van-icon-gem-o:before{content:"\\e6bd"}.van-icon-flower-o:before{content:"\\e6be"}.van-icon-gem:before{content:"\\e6bf"}.van-icon-gift-card:before{content:"\\e6c0"}.van-icon-friends:before{content:"\\e6c1"}.van-icon-friends-o:before{content:"\\e6c2"}.van-icon-gold-coin:before{content:"\\e6c3"}.van-icon-gold-coin-o:before{content:"\\e6c4"}.van-icon-good-job-o:before{content:"\\e6c5"}.van-icon-gift:before{content:"\\e6c6"}.van-icon-gift-o:before{content:"\\e6c7"}.van-icon-gift-card-o:before{content:"\\e6c8"}.van-icon-good-job:before{content:"\\e6c9"}.van-icon-home-o:before{content:"\\e6ca"}.van-icon-goods-collect:before{content:"\\e6cb"}.van-icon-graphic:before{content:"\\e6cc"}.van-icon-goods-collect-o:before{content:"\\e6cd"}.van-icon-hot-o:before{content:"\\e6ce"}.van-icon-info:before{content:"\\e6cf"}.van-icon-hotel-o:before{content:"\\e6d0"}.van-icon-info-o:before{content:"\\e6d1"}.van-icon-hot-sale-o:before{content:"\\e6d2"}.van-icon-hot:before{content:"\\e6d3"}.van-icon-like:before{content:"\\e6d4"}.van-icon-idcard:before{content:"\\e6d5"}.van-icon-invitation:before{content:"\\e6d6"}.van-icon-like-o:before{content:"\\e6d7"}.van-icon-hot-sale:before{content:"\\e6d8"}.van-icon-location-o:before{content:"\\e6d9"}.van-icon-location:before{content:"\\e6da"}.van-icon-label:before{content:"\\e6db"}.van-icon-lock:before{content:"\\e6dc"}.van-icon-label-o:before{content:"\\e6dd"}.van-icon-map-marked:before{content:"\\e6de"}.van-icon-logistics:before{content:"\\e6df"}.van-icon-manager:before{content:"\\e6e0"}.van-icon-more:before{content:"\\e6e1"}.van-icon-live:before{content:"\\e6e2"}.van-icon-manager-o:before{content:"\\e6e3"}.van-icon-medal:before{content:"\\e6e4"}.van-icon-more-o:before{content:"\\e6e5"}.van-icon-music-o:before{content:"\\e6e6"}.van-icon-music:before{content:"\\e6e7"}.van-icon-new-arrival-o:before{content:"\\e6e8"}.van-icon-medal-o:before{content:"\\e6e9"}.van-icon-new-o:before{content:"\\e6ea"}.van-icon-free-postage:before{content:"\\e6eb"}.van-icon-newspaper-o:before{content:"\\e6ec"}.van-icon-new-arrival:before{content:"\\e6ed"}.van-icon-minus:before{content:"\\e6ee"}.van-icon-orders-o:before{content:"\\e6ef"}.van-icon-new:before{content:"\\e6f0"}.van-icon-paid:before{content:"\\e6f1"}.van-icon-notes-o:before{content:"\\e6f2"}.van-icon-other-pay:before{content:"\\e6f3"}.van-icon-pause-circle:before{content:"\\e6f4"}.van-icon-pause:before{content:"\\e6f5"}.van-icon-pause-circle-o:before{content:"\\e6f6"}.van-icon-peer-pay:before{content:"\\e6f7"}.van-icon-pending-payment:before{content:"\\e6f8"}.van-icon-passed:before{content:"\\e6f9"}.van-icon-plus:before{content:"\\e6fa"}.van-icon-phone-circle-o:before{content:"\\e6fb"}.van-icon-phone-o:before{content:"\\e6fc"}.van-icon-printer:before{content:"\\e6fd"}.van-icon-photo-fail:before{content:"\\e6fe"}.van-icon-phone:before{content:"\\e6ff"}.van-icon-photo-o:before{content:"\\e700"}.van-icon-play-circle:before{content:"\\e701"}.van-icon-play:before{content:"\\e702"}.van-icon-phone-circle:before{content:"\\e703"}.van-icon-point-gift-o:before{content:"\\e704"}.van-icon-point-gift:before{content:"\\e705"}.van-icon-play-circle-o:before{content:"\\e706"}.van-icon-shrink:before{content:"\\e707"}.van-icon-photo:before{content:"\\e708"}.van-icon-qr:before{content:"\\e709"}.van-icon-qr-invalid:before{content:"\\e70a"}.van-icon-question-o:before{content:"\\e70b"}.van-icon-revoke:before{content:"\\e70c"}.van-icon-replay:before{content:"\\e70d"}.van-icon-service:before{content:"\\e70e"}.van-icon-question:before{content:"\\e70f"}.van-icon-search:before{content:"\\e710"}.van-icon-refund-o:before{content:"\\e711"}.van-icon-service-o:before{content:"\\e712"}.van-icon-scan:before{content:"\\e713"}.van-icon-share:before{content:"\\e714"}.van-icon-send-gift-o:before{content:"\\e715"}.van-icon-share-o:before{content:"\\e716"}.van-icon-setting:before{content:"\\e717"}.van-icon-points:before{content:"\\e718"}.van-icon-photograph:before{content:"\\e719"}.van-icon-shop:before{content:"\\e71a"}.van-icon-shop-o:before{content:"\\e71b"}.van-icon-shop-collect-o:before{content:"\\e71c"}.van-icon-shop-collect:before{content:"\\e71d"}.van-icon-smile:before{content:"\\e71e"}.van-icon-shopping-cart-o:before{content:"\\e71f"}.van-icon-sign:before{content:"\\e720"}.van-icon-sort:before{content:"\\e721"}.van-icon-star-o:before{content:"\\e722"}.van-icon-smile-comment-o:before{content:"\\e723"}.van-icon-stop:before{content:"\\e724"}.van-icon-stop-circle-o:before{content:"\\e725"}.van-icon-smile-o:before{content:"\\e726"}.van-icon-star:before{content:"\\e727"}.van-icon-success:before{content:"\\e728"}.van-icon-stop-circle:before{content:"\\e729"}.van-icon-records:before{content:"\\e72a"}.van-icon-shopping-cart:before{content:"\\e72b"}.van-icon-tosend:before{content:"\\e72c"}.van-icon-todo-list:before{content:"\\e72d"}.van-icon-thumb-circle-o:before{content:"\\e72e"}.van-icon-thumb-circle:before{content:"\\e72f"}.van-icon-umbrella-circle:before{content:"\\e730"}.van-icon-underway:before{content:"\\e731"}.van-icon-upgrade:before{content:"\\e732"}.van-icon-todo-list-o:before{content:"\\e733"}.van-icon-tv-o:before{content:"\\e734"}.van-icon-underway-o:before{content:"\\e735"}.van-icon-user-o:before{content:"\\e736"}.van-icon-vip-card-o:before{content:"\\e737"}.van-icon-vip-card:before{content:"\\e738"}.van-icon-send-gift:before{content:"\\e739"}.van-icon-wap-home:before{content:"\\e73a"}.van-icon-wap-nav:before{content:"\\e73b"}.van-icon-volume-o:before{content:"\\e73c"}.van-icon-video:before{content:"\\e73d"}.van-icon-wap-home-o:before{content:"\\e73e"}.van-icon-volume:before{content:"\\e73f"}.van-icon-warning:before{content:"\\e740"}.van-icon-weapp-nav:before{content:"\\e741"}.van-icon-wechat-pay:before{content:"\\e742"}.van-icon-warning-o:before{content:"\\e743"}.van-icon-wechat:before{content:"\\e744"}.van-icon-setting-o:before{content:"\\e745"}.van-icon-youzan-shield:before{content:"\\e746"}.van-icon-warn-o:before{content:"\\e747"}.van-icon-smile-comment:before{content:"\\e748"}.van-icon-user-circle-o:before{content:"\\e749"}.van-icon-video-o:before{content:"\\e74a"}.van-icon-add-square:before{content:"\\e65c"}.van-icon-add:before{content:"\\e65d"}.van-icon-arrow-down:before{content:"\\e65e"}.van-icon-arrow-up:before{content:"\\e65f"}.van-icon-arrow:before{content:"\\e660"}.van-icon-after-sale:before{content:"\\e661"}.van-icon-add-o:before{content:"\\e662"}.van-icon-alipay:before{content:"\\e663"}.van-icon-ascending:before{content:"\\e664"}.van-icon-apps-o:before{content:"\\e665"}.van-icon-aim:before{content:"\\e666"}.van-icon-award:before{content:"\\e667"}.van-icon-arrow-left:before{content:"\\e668"}.van-icon-award-o:before{content:"\\e669"}.van-icon-audio:before{content:"\\e66a"}.van-icon-bag-o:before{content:"\\e66b"}.van-icon-balance-list:before{content:"\\e66c"}.van-icon-back-top:before{content:"\\e66d"}.van-icon-bag:before{content:"\\e66e"}.van-icon-balance-pay:before{content:"\\e66f"}.van-icon-balance-o:before{content:"\\e670"}.van-icon-bar-chart-o:before{content:"\\e671"}.van-icon-bars:before{content:"\\e672"}.van-icon-balance-list-o:before{content:"\\e673"}.van-icon-birthday-cake-o:before{content:"\\e674"}.van-icon-bookmark:before{content:"\\e675"}.van-icon-bill:before{content:"\\e676"}.van-icon-bell:before{content:"\\e677"}.van-icon-browsing-history-o:before{content:"\\e678"}.van-icon-browsing-history:before{content:"\\e679"}.van-icon-bookmark-o:before{content:"\\e67a"}.van-icon-bulb-o:before{content:"\\e67b"}.van-icon-bullhorn-o:before{content:"\\e67c"}.van-icon-bill-o:before{content:"\\e67d"}.van-icon-calendar-o:before{content:"\\e67e"}.van-icon-brush-o:before{content:"\\e67f"}.van-icon-card:before{content:"\\e680"}.van-icon-cart-o:before{content:"\\e681"}.van-icon-cart-circle:before{content:"\\e682"}.van-icon-cart-circle-o:before{content:"\\e683"}.van-icon-cart:before{content:"\\e684"}.van-icon-cash-on-deliver:before{content:"\\e685"}.van-icon-cash-back-record:before{content:"\\e686"}.van-icon-cashier-o:before{content:"\\e687"}.van-icon-chart-trending-o:before{content:"\\e688"}.van-icon-certificate:before{content:"\\e689"}.van-icon-chat:before{content:"\\e68a"}.van-icon-clear:before{content:"\\e68b"}.van-icon-chat-o:before{content:"\\e68c"}.van-icon-checked:before{content:"\\e68d"}.van-icon-clock:before{content:"\\e68e"}.van-icon-clock-o:before{content:"\\e68f"}.van-icon-close:before{content:"\\e690"}.van-icon-closed-eye:before{content:"\\e691"}.van-icon-circle:before{content:"\\e692"}.van-icon-cluster-o:before{content:"\\e693"}.van-icon-column:before{content:"\\e694"}.van-icon-comment-circle-o:before{content:"\\e695"}.van-icon-cluster:before{content:"\\e696"}.van-icon-comment:before{content:"\\e697"}.van-icon-comment-o:before{content:"\\e698"}.van-icon-comment-circle:before{content:"\\e699"}.van-icon-completed:before{content:"\\e69a"}.van-icon-credit-pay:before{content:"\\e69b"}.van-icon-coupon:before{content:"\\e69c"}.van-icon-debit-pay:before{content:"\\e69d"}.van-icon-coupon-o:before{content:"\\e69e"}.van-icon-contact:before{content:"\\e69f"}.van-icon-descending:before{content:"\\e6a0"}.van-icon-desktop-o:before{content:"\\e6a1"}.van-icon-diamond-o:before{content:"\\e6a2"}.van-icon-description:before{content:"\\e6a3"}.van-icon-delete:before{content:"\\e6a4"}.van-icon-diamond:before{content:"\\e6a5"}.van-icon-delete-o:before{content:"\\e6a6"}.van-icon-cross:before{content:"\\e6a7"}.van-icon-edit:before{content:"\\e6a8"}.van-icon-ellipsis:before{content:"\\e6a9"}.van-icon-down:before{content:"\\e6aa"}.van-icon-discount:before{content:"\\e6ab"}.van-icon-ecard-pay:before{content:"\\e6ac"}.van-icon-envelop-o:before{content:"\\e6ae"}.van-icon-shield-o:before{content:"\\e74b"}.van-icon-guide-o:before{content:"\\e74c"}.van-icon-cash-o:before{content:"\\e74d"}.van-icon-qq:before{content:"\\e74e"}.van-icon-wechat-moments:before{content:"\\e74f"}.van-icon-weibo:before{content:"\\e750"}.van-icon-link-o:before{content:"\\e751"}.van-icon-miniprogram-o:before{content:"\\e752"}@font-face{font-weight:400;font-family:vant-icon;font-style:normal;font-display:auto;src:url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAAGB8AA0AAAAA4GQAAGAgAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP0ZGVE0cGh4GYACCShEICoOYBIK8WAuDdAABNgIkA4N6BCAFhQ4HlRUb2q9VB3KPA4B0jTISIWwcCBIYh2YHatg4ANgvRWT/f0xujIEXol19pDSqSA2bSmi3ecEZvG9yaaFR6U0nSbTR4Uo40nQacEJBjzZLo9a0V+Hlm/xB5aKa+qMOFP7DzuMzsG3kT3KSvMPzbfN9BDz4nCr/KyC3J6IIyv96A4IXnoBn5XUnaGLZYYdpK6172bUy1yZWu2prq3Uudct2Zatt5Urs2NZha612xcS8FvNSWczkCX4MvVP7ZtL0QEqaA0ljaLa7b20u0yILAgtJndR7L4uv99A/0q/0qxEWNxYnBU4a2wUOkOHgl4j/uu27+5NQ4hknCadNEkhscZKFSYs6+29iBeRKqeJYrkPX8gHQ9Hik6c/fW+GpkG+bXMsSm31SBTqkAkPgyuDqeNduhHyg8SULAB8Y/1PzSugfGzz4B+Gmc3pcN0izuUyKohovc1ndhqSqW7Znlg6JLGtgL8PJIvvT+krfgSSL9DwA+C2PzC3nqzkDEdxsxM7HCMOmzgoCy5j7Zdc6BKkuvh/N9VbeFsl9VwJZYb6Vk7e7ucy8TPKBS0S5AilApasqvK+2/f9NtbedYdilfoRWTkHrSP3O4fQhpcpNd3HfG2LmvRlgMANghwOSi7CSQYDrBUDxewhQAQQWHxhyaZAKR/whxyGw2gNSKx8QlPbz6zvQKSbZXU69Xem42nKL0uUvStfrKrWFi9KlSzeliyokEPWACiMoEFRgGehB9NdaUtPcBh255FDERjGpee7jtzZNa0vpTmO9hCALcfXz81z5kTX9jz2c3e7Oj51YdeIBEkgggYS8nBBYoQjbHChDK/aiUrR7SIYAANAZcH0k6B+uW2faPj0HIqkwCWwlnHZ38wpEvB0AYk2gA5DYtRthCgBg8/UK6AFgPJ5/m9Qnu7/kLqnV4Pz9sgf5bj0ugSG3C8DDIQpK7nZ0Lq06Qmi6jih4HRlxR8J99EG/y3Xoftn94+m3tvBzdT6Ahk4noWb6sd0/D2S3H/pdruf/vRR6l7p9S7X7KtM5XKAEvQCaJXE7zorrWP3Om97tYgul7KlsMEqppv1OhzJs1Ymr0IbUSpAmNSGMZC10ZKczwyOD3uKfkb3gKIvrG6AB1TiJZlol8WY5A2wFoaYHDjlfH/dsHeWYLiXQ/wj02OCUW7LDENN0DwwITr4Y/RbJkjsiYJqMJWay7hWjBSild7ylf/eQ9kMYdblMVhYopVmwoPqxoAw4M8qgjfE8OsLs8UD1u1MyKWaQcZ7eYaPMN1Lkor6CFYe7hztvKZYDGHOn1f72JQWxAsSe+TZjRWbeJUZzazrKV6q7GXrQdhlHXdyF8/AC1PQtrBooPZbl2SGwtQknXI2qlBQJBmFsYIyE1wjz26MjxIqjwXALLG/rXPX6ROhx9MWoYxwSfs5oVKf8rQbVTzyNi82CMBGpxuJfJCqkf0+4FYBQJPDl0n+vpEZ+IsVVVc+YtSRA5m0p82TQncZzKWEkcJR8gttF/mCBbIZkun/bMlw2FYADEIpxx+hcXR9hJifvzl8kHKPk8lMw0pLuPtqdzAW8N8YAwNGpR1yj8s4g38t0uu1d06FxMuvtrepxj2V3Oewh+uIqCpD9dLq2LnOb4lKEKDVNc7VFrOWIyJZqEQTbINqotgkKLDVfmKf9KTk0JxCMZdcEOejtK8ZQE/nOZhoPLqHDaI3INg8CsyIbX0pe5pCKUyX4FkprXVNlN74s8xwx2Z7lcVHI4H3DqwImQGGvsUrzzixANBsaj0u//IPNSdmE6QVynCyHkQqD5+vVxYW3aOeB/hvIsBUVJ1918EYldS2zojiSRtdjvAEFj9j0MKUxz3nr72/zzD6/Mmur9oxH1cfhGsDXxkmnc8wO/B0Tx3LZMXeOXMGSrs9WgywmnSMeQVnzwFareRTlRdMjiqiSwIFhE1V6Gopk20/2rGI8JukGbmb/pgfPS2vV0DMLYXaWU521SC1yaeOltWub7Y7Wkk4Ijc9aOOjcOijDupSvREowLo7rZ1d1pscL4ySiAdQ46lokc5TUqQ9jXSzHxy+UUd43Xn6tWosX/cmx6pWtWZlwVdEhGcRUbIjsPcklCK0lG6Cb+RqIZI5IXR3GtnGGADFkCyI5V/JIRmsrJgD2jlgdktmm9Zmk5eOs47NoezfTGnNakyKFHi/rSiBSY2r1z5gex6Ivo6PGVDmUkM87o9KtlLI3bFY+vNosbaLLfFvBK0JHG5c4qnxUPyy63MRNcDGjCMsauztckK6f7xRb0uSqGAxwsMiHsEmxCCd8giD5ArF6cqXECICFlbuHxdhGcOLQHGkmXhlam0Rvguvm5KLKGjyvoV7mk/BgEHmXWUcZj5gZdVlXFs9AsELL3P7Q5TM8QSCjf4/kKBUAAW+dHNrZbm4XVlNVaqopy2bIbL9kWgTI/UeUuqVzGNtHL0b9n7Zb3P3WBeQy7vXJop71KiwJM4KOdEclqG7x6wzckfgghwnVPZ2I2+72z/LCqXn2xF8urPPneqUlTSFspSytJ7qSsHg1XQOBzMkXqQ5D2xjcf/9GGyrVPYkEEQIIBhp/vmfSY1El6BL3nqHVFQzgCpOJAahtki9f9Ks7qdTEObkuNX4G4hOO4d0Uq7qMBvGSMpbDReXnu+a1F/zhwLr+cl6zEetJdFeklRRhuaGmxO6BhY/Ag64vhSGlIdXlObG2S146ty5e+NOZefqYFDj4r9zOtzjrQoY+NzSvJFgQScAWklliDmBfA3B8y7Ur+2YK+fkuINvRXEpG/CWgv8E+tcmFsDWJyMRef7naFGwYv9b/hDvPAGmV9bTKfHL7WKaOHg/TqkjnCX4EkwxLIIait2qfLmljC/k+IZ+69fli8Aw+kkJhK/YcdMjEe8af9Y4qVMN8Nz3owjgfYovlJbYZSE+HXIt2mJnPs2931xVMczcREKXXYSwvJSvoCs2VdG5TlM20e7u5wCE/6LNqQTgUKMCXSMEI8gciye0cVvwmUq59rhxC5/4bEO5cc0lu52j6XISps000wHohjR457POz74runo2fexBiOpiSedc+WRwp/2y54MYpRZes7CQsDlaRBBip1SLc4Cget6M5zYDDgql9iNKlbo73h6MPQMy+Y2Nk50ah+y1ncBvkUwYHNmalL0/LkEMRTSPuRTO9m78qHW0pZQthSllHL5R2QrDW68MmbBYBsSq4JkciI1Llds5wVxZuyHAwlB4igAS7iQiiEpAJnZp2evibEcQp+fJvlhJ8L8axaIh+LUkviy3JtYbWlVUgV5/b9/uQY7OhjIUp7GBQZyi2ejuxPv9p2zgD6Spq+YA613n+b/NpogFSIwlrnKxkHtkWJZmrIzcv/llcsd9hq8j8UlumJFYrvYMVWkE/dxi0+ijP37Mx5YNbh4J8EDfFmJHzc3f3Prfbbx8OC2HCkpJ2MSreOzDfJ7Pd0UG+xVlUjLUx16vOR7/0BuX3bx70c37MEONmPsjP7HvBO+4ciYpR0pYSViEszO5/2au82CNkyroxnyfEUJi9eip/Z84qee7vN2DWMa44QJqiUC1sK4jWUzAQpZjY/s/Qtstn5YN3mwB6oNB2OuZ52ws59AUDEYHfNuSwSe1Uq66F9ujUU6SOqrIloRO68u83BpmpCzqRjuV/pzv0LmyoDLNbs1mq08fIBQyZOa5JlREi4E6ru2Daqc7VD8m9k7fi+C9kQc2A9MJUSq0rOQFzwxIYNa2ekKKs1aj4ut/XgDl2Qg7wHGSRev/36Q+HAy6/VxnJftedxUXJFqcWihcdkvT51AcIkK35GwJkEMJl4qSHBQE/CggN9eomY09f1Esh6xI3SemwRx3u27YHSw8CSVWb3psx47Vzr5lAYmdzvlwIX7GgTU5umUxY+92234WhJdenMNpHP/E5M9P95mZj86ti3CS9dwHeej5xPnnhyr2s9x66gzakkG0Uk2wFKWec/ucOKlbsEioySa5+fqolQkxH8WzJcuWqMbpj/34Q9wJb6mhYtxhiQ+bpWw+yBowWPWcpZ0jTCEI9lvxiehfobanXB0AoVlUJpUkcT3Kro4kFBYzL/umuRUSqJP7we70y9v908vcGuEEUSbFTOh33dq61k6DmSiNl5N+6e9PDhJk0t2U+oDnmWOEOnV2bSq86WEbIc4YlqHMIrWbhOuuRicAT1HIERZgZsJz9UNA99sux7/Oa/V13deOqMzV1xhgQ0aotJDRb8eZAySYSoDIKRg/qnxE6SU6omySsGIi+GJ5OVNoP4aM4e5XdI83IoEb4EdW1bFTiSrpTMYHwfKEMz+1sI70lBW1iqEBZxRSNQQQR5X5+0jSU1HWawzoq65imsWiwNDJc2Qu5djuruhYS6kC58xivDRKb63qrc3M2y385L8+uNo5VxUBBAoeVSGJ4QZcEId0yuoAM+Fr50TwrFddKGl4uS9+1oJLSqBG1XyhQKUrF9F8dldUyGFB/RPZBABpRf1w67LD1uM4sC5RjspyyrvFaDecZZGW+EQQbjGsXPLr2yWJbq7eZfsuk/Bxn+jcTPL3QmoXbO2xiCFJ1If79IcMaN8OkgF62szLrLAkhz0kvA0YFbxgEXOr7/Q+KUWPTFWjhYLgkJSEuiwQgvMhZBVANR28d20afGClu1eKNQHZGbMXg+miQa8B8Vb1dIy2pTL08pFSXebOLEc4JS/qRPb07kVqswAbJSC5+AJFePCJVC+xIJ17JjblKVW8neCGynC3lejX0TG9c6U70FU1Kda0wdKsTwJjsYT8k0g5fGTlIR2/1+giGNjzZpR7eTYTlDUNTUn/LqaxxlU7TmKKwSrEq00IScIWEEK5/TQq6fpoqmaemA9VZ5CKWr5qviNya9e92RBbT6MTdla7qxgqo9mX1YdEchqVRwZiNGpBaRbPW/WMt021t2W6MFXRCl1yZOqqK3DyoxQNFOEIfCochQAm4oaA6KT8ixAKFgaJUPAPltIAAZKgCQzX1dMgNDgb1FAxV0U20MmOqlO5gXmn1rQJpotS1of1qXRP99kfZDJn5e9C2FdVqtHUhgSya0iy0UVSfKVhn8SipbEgDzUiqQLDU4gK0e70ag53abliC7NSpOSjzm/KxhQQdyKZpDhuyoPFbdtvkZ8jrprOI3ByAMt0uPiU1MvFJQYexrbM9rsrQrS5rbjeyZrgxLIFF+arLtEgiiLwIRLYSJUG0MgCKD7AllRV9Bb5Tf+5lAxAE5XyxTXacAQKYiQyt9nBbmhgmRd22+F5lwSDUsrFSKu10SUOdYj5Cinanv4oqkToNxplJTc7ySGpk5hswXqoDrY4UNWX2eBshqVvSBD1qftvbmUghXc64EystjqyieVgsL1TF7FHuxDeKmTchRnytHrPZWEgo5SmhPKxpufdGrOK4yJrJHRr2+Xb1ZiFzOOncxu0rvVTMzzwrSO57cuJ+JTv/N14oXvntw8yWyfrbexPXn5bmCrOPc2P7nx66+lPPf8XyualLH6Q3X6y9dyB+7QlpKur2sbao95GOKPfhlijKaFMMK/lA1AJegVSMeLJGjXc/hVE5poq0qSR1ibH4RO2CRdKJK1wpRa4KQAKVbo091cts9sS4zJ99bMyXC5VNlKlliomiq2JNNkT6D32KUpxIteEm8P7+zhRHpCZkttm7UDu11Rfz09seVC3Kl59ST+OtKzsiqXB5+8PuNdpOtuW7pvKK+cb/We/DSgCUZdINjahvLyZzarcf1NN/42DlxI6Kuqy0Q89AxdxtgwtbG3U4ki+wa0DRjVndduq/i1LfK8cEtsOuQUt3TFRe47+Lo8qaUnD+Xj/nTwFL0zj+oKsP/eJdbrAR0sF4e/2UwrW6Fqtq26bFrVNH5z5eaG3a9GX3UnV9+2Vpx5UTjc+We2Ai1KiAa6o119V1xGhuqlBgfIr0c7ROfiJIs7KQkToTfml3ZnhTPfigcVqD1jRx0vgcNdZVlDhPp510kLcj/eeKX0U6ipL0rjDdN5AR4gpf3x4mrKSOUMrP3d06tfniLiBycb5d34Z2z40T0WfLkcaOGxPKurCSoBHSNqpFNeVnAhRlsSw0a5+02pEvP7cYRpMP/OrLkS++IvC6aUhWFkl8WJjKvWzZobOHmYvNyrmPqZXoXBMAF6XN3uDoiOc5JqVSZ/unv6i1cjtDuufQwbYWkBGKcNpPTONcf0Wdv5Zxk2BDJWhFm7ah7dQ0BLScaHQ8ukc76Rdlq3UtsPXEy3BhdjbzEg90mpy0k08HM+lb2eHbIwPKoTds7r2X7ZBbh5xDQdr+NLbYwBx/+7B7OGTCzNOqs/VCM41pksWsjDgRdO5MGrSHEgFlUqDWqaGeRGyoDA+T6FVGMU25+KoiB6o+R9RmicEMkXOP8sSQ5rn9LVn0jnCnox0dz91UNeMmChYTZhhNoVRqaqvRfrPQ3MzF8S4Kn3yqlLvtsNP4kEM76MqORwHlWPAGjbN61kOeE7/EXmyKRvb9tvLKOZWijquoqKMG+U+LSBgUoTavmPQJeWFJOYbpPGawg96L0ZiQONHEcKg+FEOL4JXOipGJjrUvojMDQ339Zk99tswSBhOtTOKhVsXWZyd/fyuEhMtBghPxKvMvXqq9w6qG6SChi0M98myL+YNw4qPtsa36uPDCJI8v9d9+msJArGKRTkuzFbruwgiCpVyBX/nG/q/xrMYKfd+KLjcJ6ULy0TbeAr8/bM2DP9cYQLFSJDzSjBy1NuROEQPElTrr5r8AWf5hdxvRxWZtE5AqyShfQoKwARJh4wX7Nss7rcYsPWk1vP2ucNEEDEe1rCVpnJgiNs2aXA/1HbqKz3vIvniPBR094nX4XIxVMcnEfhUINWAs2IAtUgfC9tB/I7gXQK6gJbRkh0ltJ9vEA2RIaxdn5bsx4mjH8C9C0TyLtVzAK2BJlgCYkfB5T892c6yPuPBl4gybajEQMjMUcaOEec7fuIaAewsa7m6MXJwlVlV7uY7jHDaNKsN3UZg7DDYWnh7/mSxGpE9DBjKTDy5dnCNuW/yk6Pxvgnpx851nqUQ/o9GNBAkp+6Xa9EYZ9HheCFg2cDmQYbctFUudw6MBgLIr5ZfyMl6iUtTUUT9HicdsWFjLYbj9puuGd2jdOy0vZJEHlkahyS7HcTOvsvpae+9ZB9d1eCvfktmXMBMfrKZcwi0IAAtxgNDqJwMix245FU6JZBiGkvXNjoBOoagH9XmUbSR2RLOw/ChG7Gso+yKgaib6rfdfXFp5sQdAYiqFJERJ4OpTB/1cSkWqzEAcMZmwUC9oDCNz+7sxz0PRLjmWK4TyFAAUGoxoazan8VmAkA5R3hiXR3gi8hs2LPVQCrKh7s1piIl60C5tnSUg14C1IdEUkLrGVuJaak4fF1Os6pDL5+UEDyiKihNSVoBsOo+BkYGQMSO7xoFMUfPykZaG6qYiUDxVgx0+TQAHrl3WaKGItereIaK8UG6yKuISzcLRCiv6MxvqTuKu1l8nq4RBScFsELScIjm0Wd5sgsLpib2PNpWtMP0lRnbUVNKAIUUCLXvRlnvZfpctdCKIQD6TKd46FCMnCBpge3Zu3+b9dvLJ73eef3UoN7t/KD2VK0TCdDwXbufN/r3nE8IS07eXOFZseMdZSiVOMOpZ8b5YkM+FzMvMFo0ppm/E84wv+BQ8DkLQjY4C8fFXvGz2K7K2KcnjAJeilukZ5d4V6MXln+iGiGVTAPWdh73GmtJmtOyj0bqWL6LoHaveTkBnjXeRIq/se2sFVNeKNG0eC/I0VhDyio0k0mEOei6cbNDJrWZJmGhqw4RiawCBsrwSV250lBktKj//st4W62VV+f4aj9SitRNeTeoLRVw3uz/n5AngZT6b71S8aCu+bEck0gTxvobcfGzfhS1fLMrvJlZxdgi88tEOITedL1r8XogfOP/ROjJEpM1mcpg++3cZi63Cgr2FBMnjtIL0LRlQjxJDylg/lvrmcwEiZ/pJD/Ep+DjkdnE8kDHKv534P+hYQi0+PP7/yqUb5rN6iI+SlK0PHBl51y4aVDN7bnQ65vnd3vWnxOlgRrkXXZEuh7N/djKzRADI7DEcRoxhs9oMEO9M4AhOL9EyHJAOgpN4KAWIJNjzzgZlnEa9NSKQepj4iO9LiJfDOY3YGW04bZ5NqSzBbZTHv30S5PFRHhWXGzigsAU57J1TJ8W1niuobH37w/j1ogSJXrNgXVnN5jgn4As/GOSwKKyQUDi4SyvZc6sbZgz4l5FcEVodnEBNBWo2LD11pIjBBIzxjE/RHJYxxKxio97TiPeMwCa+gaqJutqd2jdNkApH5YDwBMmFTp7WkW7pjDYAgXQvMsiwUDlCyyspSRrRfLAHWHrCoellyTFWFeOcqSQ/tsR891j6/P8UElxsPc4f6sBB62hDrw7ellyzrmojfBjr2xjmvUm2Sg0Qnrr4GA+zshVglymkqsFqW/P5hLwNA176SyF3em6xrmXi+51NlMbr0yDD7MxE2qBIboG81rgWt2aJn593kcmacXKvEL/5Nuj7yuFibeGKAP/hEuC1JE6277i4Fc2ei6esBNRSjGcF5/WnZHeBJqed85iZ8EifpiHD8bQAFeiTWcjQ4RiBauH3iR5eA30EDG5FsXDMLDW7hEs1Re5VXS/b1eJseZim0+7rLMsJPIfFWB+wkSUhwVYq3TL94sfy+R0Yb8giaY4SMRQcacV1L28UhPxYqZMmJwqUm1f/UScr+ZPCCgbu7rjVRx9FlQ6ycdu81KtFUrD2oC8nsZT2Oiz+gjuYbqZCIn12w4BWSAIssuuyOK3zcuKsMGxSsInAG84syrMacqZafCt6orMIIyzszMeIxUQKxwlBBq8HGEmqd6RJUnjeCC5G849Yn4qHjH8ONCsmNRPrG/bdLrzyupAy41mrRNggskC6+zimwVFk8Qx34xk6Y3JtOH269elUVsCVAA/k2pbKXuido5Nlc7IYeJHvAmFeY4wb/YgaUyS/z7aC6oYCo2NCSazcGmcaVOuZSECJF8PQBcMiGkOQ3y8kgXTBj/DCKJktwGUItMslvWZS2UhKmqCZCgz1Jxsp2jlGIK04oF/1waSxu21sN00V1WOqu/qT/9ad3NSgNVKHKbWlNpGJ3ISyCqLRLU8Q2/WPkbosKaXnisUKfT260e6qbBhdEC0rYGeoum6MvNtmSIN2HqUhYjPM/itQkrKiPpBI+GxWaAfIfpnhNTQcK5RW5vvCaaslktQHFmY5FmpQr9E8Cesyo9n+oPMp1QDS6qNXpeE9pEfQHkzNzhJ+yBSmTEYrhGtOZxJ9LGxbYFlmrb5tNURZz4DbEtfiJpCcStFBLU/rSNvUnRoGAoOEvjoWbLq0LBH05ecr5BL3oC/Iw9P51a5WU6th3WFfLtQfR42UmrrZVspx4ci9yeP1f0M0NbsWb0f5A43lwJ1DzmuHwFVKjU+3jtFIRx1NguM3G/crV9ZhCnqpVm0VfIcLVU+xDf7KXLEf+gZE2q59uCcwkztpmhM4CGYkmNF8/t82nonT3eKnqB7TEOynOxvcoB5jlfRmzrhrvUtgOqBNARjFVMqYYMzf2wnjttvbil5vZ5zfceUI8pCedfsxepwUSMjcwF9GTcFhFTL0NS44ZBkmcXyHjiI4UnT6UBkkISgMuI6vuslQzg3wrpxiN1S7oIJGB88yh8c3UmT1ThMcVk9u8EGQrYypruVhJRr7qSm1bxiF5VQ1dz/zoI9e7ZrsniipNRYxWj3jEm6zg0xYLzCXFEGbsOqM5r4q0ZjG09MALY1k4jgfrLoInY5ShJ+ZOXnpUHxKrRKu3c+sKWhtpEcV89LVHCVxhKlFbSXb5BXh9cnGs7tQrZ++cCKav0r2BMmcv3FWQdL74moMY6qBPeQ1krqtVanqKdWkzVoaO7rFWPWM5v7ZTxGTgLQLZHUPG5TBuvWEZulMmYubNNcVksOyu+ZU2PipP48j6UGzEqGZVA8SeNDaXcmSP7cj0bO7VRaHPLRLYbQyA92sqg1f+1WvJeYy8x6p014dkxoCUw16zG3eMMEU7+OxW8gKt5wBjL5Ng4LyBaRAkNw8kz91JWEQ5GyRWiFu8eNS2engRg42XyA/xuXMqS/ATbCZX6ZA+nS2NfiTrsjmIuVTVnVc9VJjX+ukduaw3AQgBwy0tq22NSA5aiVNjak0PFSMkI7sbINOZ9pJmVKdBIkyNqkjUWUY3o1DuEr4/6txv4Ul78WwsXJYR6j3i/yQq8Tg2zzV1SBebvb+rzueyeSpYmYnkYR0d71pbA4GJ+IKUPT+6tBC4zCoWhVWx1NzPRATayJvCFs3FbTf22IDiYOexl6qt9bQaLlWaggbleaIMk1QCj2SuSYiPDqd6xVoUX02wgfKV05RuwnEP5tUGY3pH+o5NG1BS3NeggSgj1ACf4YA71DDkT5JAniD51vVlOYAr7x1KQnTpVDHHgTMacltCaCJn4GkkuENCQjig3VGVDYKfdhPYb6iKmjynxuTHg+eau9CdGyz9Xnp3Zyf6xHaUUk7eWHL5I4bJx4NiZ2aVYLqXp/sFiIo8g0UZTMUGF0Zx+dutKB3bqcRS06+PocAx6EiL8Ly6jF09q9/fOM0MGVL9vkXr70ItEzsPt/9nV8RGC4u2Y9p8HK7P5q8/tLbtpgzf/CnsK4ZXFjkL5kDMwq6y+3uJatnWXPZtWh2LggqkCqQ5fBrMWnRXXfnwAYPlkC7Vr7nhQRn4VVwXqNDTr2fS2Tg3Y1UAbHOm0lP4fvGGSWIc2Ydyjk75DNYYVKwI3Jw6l4OBwdyma4sPEZULXN9I/jrdk334U35PJDpGdKvOyDD/tU0CLlhYWtJDN3SIEsHsLBMATxNQUtF1+VGCvB9zCoG8OFCMADsSZ6B+0rOmIpi2Ztdzl786czFwFU5BG19CMnm1WcS4xdkZBJ9YLyPPoZp3phL9QA7q0pdPZepfM2tGvS1Jj1SoFunrMjB3g38aC9m90sU9CY8vJ/6oR9jsvluXcr5VtM667Nb3zi86XMLBelJg9VPbGerChKjV+/I5hFNBj1BiwTwzcuHNzOMdj6Jxe/MCIofgYTl+FyMYn15NjFfbKHA8yzLsQI3PcZAw8JrXEclNU1jmhvVb61S7GC5zJR64zRiGJtKaX2sv480ePYLcvhAGLqQKdsVO8WFkEMGe72R0Ylee9+QMidIV3rQhwl1Ch1cmemzXJdILVnWOdez8asF5/mi+Tm61uJ6mgyFKjOsWajYy+Owh8r6NxodglOLkTdRBeBRD0OUrAztUaJGzHgcLBOP0vix8WvfOxlnJDqCl/pOptgaBxybWDLPZthj7Nuv09yzx1ATgt5WZjet+eY8znIYq2pA62q9zHi3d5rTz/3Vzgcg+S+wokvMl9CGc5gWsoJXi1GUCEwJWYxEo5gNli9MpUaqHpc8JOhXtthWtouMBtux4Ck0QxUMY2dD8MtSwHgdrtCUch1JWbHZiM5g0qFrFFsNkwLUyzyu7lAttuspSvWN+1lTFFuwRnPZkncl0QJBGowWH7QZRoL+QQfLgsfRTDCzjSC7wBLZNI3/FwwGFviuRFSJHE8Wo6rZSNKdLxHUmbxCJ7cAj2OfNf+pfQKHl8Wo+pTOGlQadEMao5g0L1Uaww9pmhatHQvwlXRyOgan/jOc+JAeb8InCtmZfxlOXwpWOMwy1Gj2W7/pi9PBXEN/TzJb6jbpZwLTg8y+79Twek4grdwS5aXIR4jcDg5bU9wBmvrkfE0jurR1LkvwIiS9SFDSINx3bJZHCLi7oqG2iKEdj7we9hLxPj6CZSfdKl6vAsFI8NIc1mHrkf1TC1XLIetQBlZOERA8Z7cPmaNnu/E7YLEcbntciduYU6DJK9PB+BkwJXeJteeIFu89vo5dq5+t1QlReTwSUyo8GJR/8vh8ptErQPDbMH1a2YEsUA3ZQLTgV61m2NNwN53GS5XB+OB4ZW7mgMcnK3wKlLh458QBkVSzIKlICuJ/woajkyTnrWtL9WsSixD0CVUrDSJU16CPBAaO0Racqo8w6RaWm0tTicGbpodzmr4kjHnfBDi/ZWM6H8xkdVRq07kNDDzNYVWMPGEKgQz5Sv0PA0tjvIZqIcYWl/2z0qp74O3a9GOK46nHyH34Ulm6Y57SL5DLJdzHCwJIf5VwGS2TYYWl/IfQvvVIz1YySG7cf9r7EvruXPP0sfCs2H9r8UxmtUg0z+9CHXa+c/FSckF65fbSuXK0KfQ6VXMazJPHao/4uMzkaLsNRrskdnHrfdzEsOP6y7+zYNi7yktjGg+AEUbvwdeHnCCAUXMFL1hwonIhY4cpVi2KIFJIVSkuXhabSk1837dmtc9wMH0hJuw7acxiU4A3WJK9VAn6cOsrC83PiJzwARacQYjInKmrrNeOij1dc3mwj4pImrJwUKWo3MHURn69l71VObNfYxg7c7iwQfpaRf6gw07uvHqSMXIP86//+Ihl6DtKUUWyi3bSNDhh6V8P4yhZ5CFFzwBLLtttzuH6gJ9e5x3D86DBmsxru7LjTINA2BW8MIy+ebu73d+Gob2SLXnAUSNqf4MvalyLdFin5pFKMSMKnpf/MUxRDWiffQ1TqmHSo4PY8dCEbrkU+z3fTYIVQ72klopzcRoDcODa85WDpx/1ZDTBJywLJR9paLK//6GI9tHcV0NFPR4moGy9evRWeiamvv2YPi2++Xaz+WmKdcQ7UN99Gd7tx3xGS1hbLuy5sMXes8Uecj/R4WSVtHB/y3Wt/1zMKONx+O/b8Bjh9meGVAAL8PvjLlPfzmjMz1NHjdjcQUqleEzODln2+u/gIrSvJ3++9hpcAPJqrGdS5meOOfnaNhrTrA4L/066a8zz8y3wJMtpRP7FDh2hxhF9QqUMMMLZrJe9k3bywWboBEym9+xM/7mdV8mCWMirXqOMnbSZKzuKUfGbDo0Dnapg8Le2EnTXj+6Y11PPyma2mc2g3yy+fdhN1LqSfH1l2YiTwlTVF4M7kaBpqoGxbpefVC3mtbDq0EDSOZNocvflQphxLaFaGV7RBdoGCrncI78aBMNmnn2VzViZcO9AW+IqL+3YsrhZbnSkjE0tvQA8s6Rug6zflG9SR5TtsEjVs20Vrrd1zVnjUlSuOURft+MwPQNPL8qHd0dHHfWuRBCS1ElYOsbPNYOUqmoGRcNeWiHj3o2xZ1fEs9IR3aHhyKDg0DCDO1FSuLCun/5/vTW8KtBROmUy+ubR+cqd54uNOlCAvhaA8aqxMRhXYOofaoZ3PL+fXd6QUBsXV5vQ8MoBhR1q91erjcHfWz7sM5mnxP3iK2qjnM6OM2azPRXApeh+s/nMwGnxysiUaZQZ3LCHdZHddIw6JuYyZl50i9kyG1ORlvtvvnxRKciRxXYL314ESsNz5PkjC/eE8H4j8ijqRYtiylRNLeBca8wiVVkTaGk995/VCFphuse0cGCV+BzcfZM36DYGz6MulI6CRN+PckDo5v6k3qSd5hJ5XiKMdIJtmA0GKB222bAFsfKIHDziUWLeCXbWFCe1Rrn84hrg3DsBAwOv4+NfUt6VUL4EExQX8rRZ/OPeFOdoc1l0sUpVHF1200GEHWr3m6szb8Lq45tX5HOa6JC/6MCh52/GCnbr0E9D0tCF+7HzgvMLsz1jWMT8i4KLMYcE+NzNQu7v2dTfH7RkfnPQM0diqF6P6zWSZLEqpS7qGwtJ5H9IFJAJC3i7Es17PoeO6kUT8lxVuOvrLdurfu7TA8XFII32SnN79fdtdB7SuQr8fFki18+qpFtj8ryK6UyIs6IEo57B9LToUGhq6HDqsH+q/6FgZYFCUVCjMHFfjUkh1xAAr5cYAMCFAYSB+huZCEChOEBmj9A9kYHLKHThPHpaQ89/ioHAzUC0y3sTH4BdqAseqCDnReUqFLlReeSK95ChggYQQM+4gnxGbkUWCiJ/egNHxxEYwOSUZnlRkeztcBEuJR/JDTxRfGtBtjxLFp4VnvMpgxV2qN0/W2XKnPxEp00mJCY402wgt/uZ7aaOI59hplrdtYB07weuaaMm8MUiqWaPNEWa/Och75nkPzPMMFmaRS9oJAu70yHG8OzPwrP9AcCvAOgeN0a7oPF2xw3FDsXtnhQf8tf7DeuH/fT+h3ZUWiNs2+F1tnVYmRkbM2GhpbE0a2LglR8pipWQgXVVM83+dDdzUYDiCECdKEDwBTmGFhzHRsq4h4owhfN4NRrAu8bH5TLjo1wKEDeVV9JNdGkZ3TBfyrAwpAtP3jb+tXDg1MuN4eHGBQRIaMHqcmrHUYAuWRSXWB8fX58YFVKY0yTq8pO9zSyzKCrIp+mdOPw8p5hTnqHc0Kf5qOcV5hVPNMzjNOERxo028XeYWas22mCAANhGEfEaqzMBQCJu7ubM3OkdAKx+v9/Pzy7zEPtvv7nD0aLD7lK2g47asXh/8PJrOL6eAqaqkgnhD61gDNaOM3bM8M3jw6+BSDHN67cQ6SDie9sX9uLHX5Kw90bmvv01zJq8/JziSPMtB3DU7u+q3nG2xWLuF5/9ldJXV9eHAKT/NlsY+cK4YQyJiYgK7PCwqBv7dj8CgKI8vDslQEqVBu+XrNQCZNArxdi4JK5P6NmNu8UeLEA8kvxDU2LeINWTUa+TlpFvCWHJR5ABqjlGq0rJFlx6o0r1F9sXZbP/UrUvu2QURKdEa2lm9oCX5qhD26Gj6joK9pwJtMMudB5m37ajLtRe20kW87YvCvFQXiiiRiiXaIigbx51nYcHHOMOq6MNs9afFG+qxLg2rhWzIQyUizIQW0fkvrV1wjaRRCFk4uJtQwA6gUBgvAphRFgBxNdVOjnQoPOBHCdZtzK5R/U3Tg2LkUciAcK5LAtoWhpGoWHKvE8DzDHBsdUJVB6lcC2XDvlD9pO7JyCh7rcL3fW67TPj5T1U6/PYpxZifkoMsbye8LfzkqAS2e8553vby0+a7vGl6MUvmayJwn5QEZbkFPYsAQ4918EdxbAkcqW4Tb/VNmmbwCYRKJIRQLzkQ/+0wS7Y5jm67BxSiiRzkyNyuDm8WFBHDBDfCUzPIsKN2eFlDuJ4BEwftPjORBN28p9telsaMbw4CEB9fp8++l/wf2GrgLm753w4KADgFICAnQr39131FejvP0/giXTT5+p5G1F0ABq34ggTmfMMr2vFCRoWmxMOBmEOQjiBiSpm6pli0wKyY4CFPLggOD0kq4hrqRVu6V8tC7eoBQzwv0Us5ADYBVzUh73vtsaAA8X39kinD3psmY5+4176cdAKjqffeyN6eovHwWnpnnvFB0BRdZZ2CYJ2ZGq/cokOFFlSx6owiYDy6Pbn84HnYA+BNYOR9jB7wrJ5nGvHXuU9DI8eR43VVu4CBtNhgZT61k2evWyC6robgOngiLNXEqE3rS9cb4rdJL0D685OnI1KKA9fuHRheCyf7aHQYRymI49fAifVO2uLLxSbMy3F7xfXbO/sQuz9dnQe6bL3IYalMB0GkNQTwPSGpztqis+nW+LA+UGxpa2pD+mzvwzPo9IDAYqL91I//cPyR8hgX36FgsVzAvvAiUKIBYFQ5/5llnnlRDPPm6AWjcbsn5iU8w/od1XnktQ+fysjHo9tBqiThs/ho5iVlj6D1Ylhs+NWlIEqjHQLKIiqo9QPrM+QrxM49lod1gErfGG8bxUcyrTycKfzLOlrzpXeOdOe1lpwHRSaD3/u5UWP7Bbz/aOKl2Utu+iX7BfRw2NF+kX6Yn6b/NS+EX4R2nEH7nCN4tyr9UGOxpb2fQ8GiksGHB/0/ie6kWrOWH2L6rYqwZ2rsluu1l612FVc94RVbtRbqzPMjdTof7wHcVw9i129Vn2BvesBvkqRwKXoTeEffiFgLz7JN+kp3ATFKvzBLvaF6mt2zIYBbJ4yD49RAAIoY/C8K3xwgoMchc1i2CCW6AGYQnHG3wf4B37l//oW/62/J2jy+l938evF4NAOL6rXC6///OLNodcOkVdiqzza2BsqWGfjS/4LgZcg+prX/5RcMsq55N4T0RqvYJH1Lgxgone0I/g3Lwfm4DLOfSP85pyVwasQ/jQH1nCEWTyEifCsBcBGuvfwPj+fhQ6EibyzamnD75LGoTnu3V/469YeW1mZE7nbhd0zmawgZS+OKtyBF05WTyYF57e8z6hmvN+SAzR5lgfvsvdfP8ZYjFuErbw4JgDWSmvqe6RYWY9BIYLpMFdCCNxHPU4xG2hO85YdO80l+mWwSxbXvCBpsu1YYgbWacAFVsw6dgkfTDs5ZrVpEipXv5hGN71Z29+s75vyUaTMMB4Cq3lhSteOfKf6UID0g4dzFBfiorTCLrj1zVlg/4TVymqJaZVhhOWleDokpqe1pyOwhR6RjVFBcMyT1ifqgz05K8ymk1876ey139ZL1/PmjkS779thOpy6k/vusIr8/fpKgH1wMoTTTMknNpfmBa5JFWQvgP5V1PIUEvgeVPgcOo/Mn8en/9hLegCSSlPN6r4vWGnS3FFm00x3dHYd3Vxba0f7gcCNtrwhulYVV5xQdtNBhB3qe7Bct0q4eKt8O9aLR3UnSVvjmo/Guk19VPg/JKCyZbyPburVM+ZHMvuQvo2bjG1HwcK3cVPffrRrE9aPYd90uCcE7DUuFpdV4ctayuTFMqUxOvuUgwg71MGfVi++suqEAizuDKLuryrVoXsAp/92POD4bwFry0HDat8B/gESrXPR8GisNEL82yU2vEzUE186ADFeeCnEC/E9bxQov9WGO5VUhc2guaD6WgdrN63t9F1yhbIiKoLMWTQLAxjIWPBPjTknDHjc44Z8yXxz+52NmzgGJTeyOzaJ0DWEkrq4t2gcHH8ltvCufvDP1eMntl/fFrUztF+6fPEt+K1bv72MaW6TMdviOsps68PaKzqlFaGLk1nJBNDn/WTGu+/PSwL50grpkgr5Mh873bDoDUvZsqUZVR8DF7mxRFWkVBapSqZVJcqiImWJanrvzBuS0JoZn7barPqJaJXiaIL1iAgEwNHolM3YeVrTgp7W0PM9a9ipCxev0WYQt2BbAmSooPGI5+cNNBW7j2PjFChQBHzHTCAM1IEyEOMk1wK74DkVArY4/fkor6I8UuX0Tpz7QBMSCKiPanqHsebcZvsoVUQtoAmpoXRs3cm+JjqHKqQVXO/yCDYokg4PKwEntLAyLvISRxGPyrnw8BNFeJV18cBmDJUTyLXwbA9g3aupLO6Nv3kpunF5eqtpQuCbAw488MH1jxrgKsxfHge4IG713gsfj4tNDC4/BsUxWBcsTpbOnifPe+fQm/pOrsPooVaRSKlmSUVAcYkGWyfnURy+fhFzMe3/DCZkBhBD7KH855/aHrJy8eIoIkQS71NujSqKFVJEv34u7Enl4A4c8w0TxlM5PIo5JEwDU7I+DLDZ62qxxo2LFecd3Aku9jM0qBbehswD7Jl+STUON/5ukz89NTq+1Z6D89hxO2rv6kPpW5G9Hxn26LIS4J8kQJa5yxvpiL2vaz7Axmn7aNgdGgWBZnoUcd7Mxblj4U6ul/4OseLhHBPGLVIrxZEIyqrD8VQT2B18o+KHvmSBK9R6Moal08t1CWqJWhcfkaoTnVQvxir2ygqNCiRMIBHI2FEW496winEjii8wngNv+TcT6+IT6rsdxNDyRTsQyfhRqz0t6RdPQeJAfehW04Eqim3IVvFdnBUlJNqR4oJhApsYtc7hc2brpGPSba0ZdX3YqBV3sIkObTKGRrO6RyKItzLKcVbIgM47/R/Y7ss/Q9//YYNfY/9UcTosgtOL8w+y0W/D0KWvZV8fDmHvDsDqsX27YJSL4QMJUzSluUnlzrXDxQsutAQFbzu4UJKsz6G0cbnOgRVWB4nywOaLAHgZH4MKpYEXBC0LAIQBQLpEScT4gBuA9BB3PgLczd+uGvqdeGpUhKr8WKiaZ7nQXQ6uwjoTbCkQDIP8OJIYWrsPdaXmv58dVCelsqxXsK6XFMIYBlpujJb5EYNmeMehAUXlZ9SYWT2nJH6mGmX5oRx3PXUV7AaAzpsM+H+Ovtf2JEi06jOsKF4JK4mkK5J+yRkS0YyaEvdLTpMM4pnhFIVYCEV5g7Br5K4uO2qvrj540EMuo2i7cnL67May8zmM6UuNeN8pKQf4H8jCiCT+gZRnMNW7qsqbCoNT0/bgz4rbENdf4xYerw7oP/szirWeWBtY0zdvno6cAlOS06gffR6gqLZ2C6aQ35NPs4bAHc/Z2ceDW10pFUNsH5ffwxm5fOahn8uHPVSR4to6+PhEL0amNqyBK9HnErKyCLkGCachrMlouQ16iQINHejCAzT+508wR2K4TPnNwFi2EcnIzECyfTPIQ9KTeVJyxvdfmtigbGks/QOWdYFyYZvYuihyofWfbTu1i6zorKOfUHGpoQ3WjeAohOcoAFj3voDRNXDu1V6+2bI+bInPkl5M5soq4iuA6s7HvjexmYUWEVdi7+0d4g319VlNUvaEel+xC33R8s7zaFfvul30IXS0D7imLdkBWr/3yWv+svCpdMv9bS/P1cmcgOM5He9zL7fdt9CpfMtfa8jv/4GhU5pnRVJhuEvMNDD1vgzspbL6mfv38Zl5p1CAfsrsv3lRP/2jiPvyfmI+cZ1q2JdGcYB66gDfv0gAx7TDUGvkya/xC9Yxxmdj7h/jY3iDnkk/Yr/xk73KpsMh9M9Cvfs5HiBqjcertIAs/oiD2NOrdwdKznhA3oTWawJjCm4IyOBvAwDY98AouNZK8IaoE3D2dG6WfwrymeoAVqiUVHU2fK376mW6/xbS18uvdF83dFZJlIXYAdVnKUiWf84AofTsMqARfWu66WhLA8WF68WK165ZjYy9ek0tuljMdbCpfKdp7Jw1e+/7YjOcSpcVc38HSKxtSmhJN817yLua9slv1cehJbtHawC33VCR/wLpXnCo4524lZfuh0V89Obpq273/xf67I+wT7oiT4T3+FVvLV1QUMBrsUgDstKbD67jlk9u/CSMrUsyUIt5mvD0yMWhqfnGN5L3bOgu7rSXjYDx1+Qud5O73Z3i595Pjif3u8s+Rc0v0FTZqHS/vhAO3OHEnCBik9CBJ/0oE+1/4rKjdqZ3c+2uOrteyfifEGrBk8rURWVDH4282XEtLPjDzYvjDgs6gnL00H7h3dkgrjm5BE/H0hoiUhp8qpl5abqvpJyNTV3LIJ8PXvIKxmhNR59Yt000rE16fXt1bsuSiaS+YT/Ka0m9LJlYZfl/UyP61ZVPqMnsptbuerILpq7eq7SUFZevzBDVtWCp0aJj33oHGA3UhdeIG0mbnwWIU7LBV68/Dr084jG56/0UtwzUAL1+eW7/r0n/fPLxpzsyfHv++DyVEL981434xAegqtPkn5xJSGU1RJfFv/K88HGWdxaracudBb679VnGX//54AcXiC6gNamBcnqPX07sX7aSHDaYzv7Pj2Qbg13I11vTWaOYw/ABN0ccHrPJL9Vm8/77AVBV0Tx+Dap+Hcg3jznrrH2Oe6kRgZWvg371nMAYm0qbSo+uzPPKe0uanZZ9xDj+GRjfhI/T3hs/Yxi/BILPxQQna4IqhtPcrNrgEA3ibqcD309qev8KvbAvi1ajhWrPNBwMmnq368aHaaVUkAbhwKopjsYKtd7X7lXWfM94+mFqy4Lr7Xc4+5emNm7UX/pl3+GgIt8grw+kWElJTOXuB3mcvPicu4xq+9KGE3VMdZdySWCeuWpJFQxQOupC58vp8DzyAf9luPJkYE1Ul1qs0nvCAKZtXNpgr2bcjc/h5IHg39nzMMkHiKrNVdJEisNhd6B3ev29zffSarYv3j7QuaV8C4alu15GLtBrcdFK3h4I1LggvifAXJax6/p11WsZf8sn2Mdv8WVPVPfu7cpIl4zUjlh2NKjoGD2Ed1jWtWT7ePH39BuPn4RMBd2q5RIEwwuJpmEBgVt7K2gqBAQpaTGlKlVpTFxieRBIY7UvEmgFqdkQBNMp7RRAIUNZQp0gpX1hGhMEJy6Ki4kuLVEdS6F990ZaVHBxzoKgznfcaxq9rnqS6Oq28uyzYLsyVxEelpkpA5pr+JuLNDH18RABWm8FZYlT+EvzDb9DB+koHf66SzEemCKVphilySmBHL+yHHmWTJYlz1mAGwM1i15cC42kTKgnK/tRxxesgMMd3Md2R7tsjJhW1YghUEuDN46wgqBkqTQ528Ecyl61rY8pjVaVNKtKS1XNJQWQS5rHGLj0OsvkCY7Zpib5SbmNw2m2Hcn+Zhfk5Vljwl1VhndZw9Ycn34P6o4WZHJfGZh1H3zXMz3b/fGzRWS7jaVHV6LdaYO1wbK9bt6EDRAruDPIIyJC0YqJClCADqIAHU3sH/Xi+mORHBFVDdWL1L8wA8xoESNFXkC5hOQHt3QGfjpgHbSCmb0bzqrPbojbakxSio/Fxh4TK41JW4tQgIxp0axh8cgYYnQeOvPlVvo5bA7gpB50LbpWoc/WMxTSnedRp9WG2xwmh9kx8PsQzDnmHHd0mOVwz244tOGsi7OsCXo8in/taR3i9U+XZOy6d0/1RMZ/awW2cgtf9lp1/fquMytn2sXHWEDUPaYmKiBcdNb65GkF1lNd7L6aqP9D/w/JPvZd6+FX3a2Np7dgWziPTI/8I7mPHoc+JpOR/luK+l0JKHuuiwhSIsXo42sQ/dp5AkR5RYFX7wrmwEIqSUoQMR8fPfM4xRX8dGRu5KliAAAAwKKDL9/YhQJUyCfR2Eo73SANcQtNl0Qm21PZNF/vBE3I5/zAv6SaIDK5D4IgMPoUYSK4jztRxkiEkoFR2AXzKPPa+2wKD6bDA+PQixr05oBVWeZzHLov8EsokUggiE1e98lU5BRCJfMJOM7gXL7r1HUZa1bfXAvzAiKmBSRmBbuJBQAA0JYwum5dTpTwFO8TCDCjknZoIdlAFmj3JgmmIxI/OPSK/Uyvh2R/+LkTPHBIXXx/SmT79Msq4ZX7RQuCyBBEJPj9oRpABsWs8VQNNxTEZ547InLlzDsSF/y1OGXxXwIsUp7boJ020dExMuIXXeYDrKpqPnKesQEcQLyZHknfVj/2BzvRr2WxitjwI+FahVZ2KD+42dAUzCM+V8wHnvF7wZvjIi+4L9rw/hD5CtkKeQiOw1SFhwEcdziDM65OKhJfBBzPJhwTqqQGubSIcVs+g1EAjFMAYsLGKU5KzJF9a7kVBobt4JdzvZywh/KYG+MOs8OEmTOR4mvII2W6eDTDbes4D9AR1MPgI81ZFcYsEfgckGt7kM4RRSbj/1BzApscnPzMA6PJmkVLVX8UJR74KKeAKTcxJmqXi7K/+9sjE7qPJXIxr06kXFjO7kKsFzy2L38m7GZXCiuRZFsa8BSGsGq+JndPb3gcdO2/L2hfNBL61wXn7a+jPN0W1Pso+O+QVL26MpiUQD8m21TkKfi8PkcsIjQnixKYjwg/7Lrs/PIBJ07hLhaLQ/JAUKA4MDhEFCIXCwWrmT4w71TP8E6FTCwLAu3f0YoDfX0kSqvWRs17H6uOXZvPs0SqlRJe8OncM4ifNECKcH0EvquaQpQrolYoQ0BX2l9EgqBPsr6qqldkE8yhISb8LFsnqq4Sr+f3uRU20e88M8si46O6GHneS9MAF+OCAYNXJjjdq90GhB5CkBOZ8s+KWE8it06tVKrruGbb19072TvDnP8m29pwa1NErbiTb8jRIzi4eGGNqaHer5HbkJ1d71/nX8sU1m5QdGP2BTqvuDAza2iIuU7Ui+DqhdWlqNbc/8SBPxdh3ETsPpTp8fd32aLltRMmhryAmfPRgcSiP1RLRc0yGvu4CKkUVrK7hc+Wb/e4YEW62OXC8spS9xChJ0izEDZMd5PPeV/4gvbFf2/7kPfnBa+7jTzqDdrmzhSHiMVid0Uc58GXzsu7fiA8YiaIkpsJInFO/ecCz6JNsmP0BFJwpVqf2hEkCZKJZYqdwz2neLAPc7VAKJaHiEKCA8WBQOCWtiAnPCtMlinPKv1PpgTgzrxM9W+pPEuWmRWWE16KGVOkyZLMlZlzHAlXfC8za+WfKVLjeGAKyPAfsMqBMwuEG1xiaHJ9WF5J6j+TC0r3HtNlJ7oyyn91x/ZeNpv8RzeLbH3tKfd0bZVvdaVbX28FA6HePeR0Abcddq7+Vo/jCAPF6QfvM/tPck6y+n84SMd1qptP2RKsbVaCzfCgs2x+H9PCbHruDNcWKE2BQu1TAoHivO/f2N+cAc5hNlL+9gnqScJqMZ1+dUcZtW59e9aGVek2/BIF/1Fpm7p3Oy8OxP/ICkMByhzY5ezeRK/4cMXkhwCADydXfJg6i0/iztnEYuwgemlSyoRlbLK9fXLMMpGStDQaxZsSBszwuwmuooXM2qXn14b5Glkyi2ZH2XC07K7yoe/POGcgZ25et5gcAUJxWD0KH5f584Xp8XGEObJpFdSlySaPYgiEkOWs7GuJ17IT1t38zDgPB1t//aRwhBpPHeGH71MYl1tEyWUG5WQlTKcMrAr0J0mhY88tnPUZSljugE8wezJ/686d9uBUf0vLWdFP7k9j+XRLVMlfW2RTTFY9sr69tJM9D3/qdd66Hjg+vuy4/LEl/htx4c/O8uuW2hjbWUr/9hgDV1X4pnPdrfnI+dxcV0RgOW8A3SJcCgbCQG1Xjmk8O22dwT52xTY0cc0MQJ2t7nHv5DXkHfyLkGMOg8/tkFs+Bt+pkKtnP+nQVHu4eT3yBEXL/Q08+HzseQrPwKOc55GhZZlhVfTxmGILa5zRkCOTop0dmurCvXdVfRHoBJx7jSnSF4sCNXt0pm5S4xzmVI9NjiXUJ8TXLXcQ9/jF0i/zVokDkvmxvNiyACGrpcId9jLF8+L5mgBJxcrP1tUKek9m/3u8QN3AF3xktx8iJhSn1n8FZe749lnvHj4ziSnYw9sjYGr0V/Zd1eUTpoNV7bLv6kcHz5r9k7KS9mdqsjTwv10Xuw4GrI5d/XOdNT4pYF9AQlk3mFw4wmXnX3gP/1yNp7eWT5arn6EQw+f4e4SEZLlYL00vGDV7vgJJuiTVZWgeYJX3H1dZOWugfi9Y0pv3APJG8jVeLdm/P9Ibg4DnG1Mf/TjTmJObY9YK6mJFqKHsBtC0hmy/H3G+hY//6Jfdhjn6QsK1xiC5RR4ge4RsHxaPBcRXQlXCyUuohq6liKvGjl4TRXGCOPFRA9IoljoCvW0QYuMhNojIgassRq4hL2LPN09SnlASEvjvBozxRvkj/E95YwGn+KoE7RFv4dXzCryeeMmPzr5PKD64xx53hfsej9Or39FO87q4/h/ok0m7PVQ9xuzsBPfdpJ5TKo83yWr9Yl1Caraa/CZQnA/DHXi/O4bh40jDbbPdNm3jtjEbxwnPw6/mGCUEM05xmE0BqmS0WK3jMaskVJRHAlSlx55DLpk6AurL/11eLg5I4cTz442eMGn1Spb+nmPG+BgnMUC4oHxbiujOAKSf3K0hmPmSUckoX1CnjDpz3LZ6h5gRxxC/tb13h4iRxJDUl9vzLxQcyvaYOLrip9qQKH2c/id9kl717uWOy+IC1QpVqUzXWBrH389PbAfS4iFGjaCGcX+dAoprhgAp/4zAB1I5hGIYzsNdThWWj30xuY7YVIQOtkS4o2FV1Bh6JNEFPTTj1TeIBYyJa6CEal5MV0F7K19E8YQoMYpC3CDKKQHW0AnuhHUUzmk42Be5c4DTYcW5w3Myt0QijO5YiHYEdZUfDH/uOG8c0A8sDza04FmqUg2h5UzoWINbp/ZdV/Jl4JyFEoOYzqAeKJ0A0blhVqs3SLP4i6A5bWx0NB+69cnY24AuWJHgTgbgY6SorpYyfMAg+EKj0T9nBvIpeoa1qYfNJe+Gla6j0zznLVsdtEQ+MD2TMCUY4YZF61LxYh04HJquaeIG9xUj5lR51bHZsAnuhOK81faQbb+9wdXVh8/LybGj9pzcvsPuer2BdWpyVmSjGRM4DhhlSWzALVhTQfpTdf6vL0BBCOzUwToN1ulr39Sng1XfqL7TWNOjvo2SPdJ+S1GXrYO02MiwCCwMo7G9NBt3rh0N8h9bk3FbP5lK1QJA1L5x7hcqJ6kecjDqkzjU//99V0UEQGWa6maSoNSyzEDlMbfnHzqhhLCkyJ+UtpHLJogUPuuw4EHJRfk4nMimDVx10Ud+9+YNV69VeQ5t0WL6UJ732Yx5162bNLbz/HZpUXLQdhA+DSBIYIK8jCvlRnevA0xgunmwLUt2w+g5r2MBZc2Ztx+fCLsBScyKtsWRFoWhdib9zO6KH7IWKHRiPb6QeTFGK05WFBPTSWVPRN9/KyC0DLm8FuvCPeCAH3W1ddr98x8MylNbKUnJQz8oIDhc2Q+ic6sdDgeOgsBeDKxQLHL/6Cj28FaHFQXLBtrLVK4D82V7gsHpYK/B9LSnh2DdlqhfsfRjfLNB9n++JJz9TT6Z5wv7kMsV5eXyMMdRQlrhsz/4unm09xA6bkXjHoXrDtvREeTfD4Gq/F+Tbt3e+m5ogXdAWcXsualHB1RSz7ZrFhG8OPnISHLrebElwdBoyNHyd/3Dvu5/4uS6dyPR2Jt8R5CxzDHaW3Wklw3u42H+gRuzMp+UbFdVuXtx0zI2F6ey9t9b40XdkbkRYM9gOgrQedRFsar2nilKt2i3Z8K0dHoEPTgGuetOcEusVvpKMVl/zAs4Gb70Xw++sPuI95nMrqD1379bwwZwrte3leuBQlg9kLir8luvFTCdvWR/qqwP7GLJ5O/htHF2IoznFwUl4xZHzfbkoCLp9vNONu3mLdc8edabF6rHtFuGPFVrq4d53r+P0F1XB24CoE2d+oRJApDp8ohN+VNkUlgC5PzwudsxZWBmWSpEYnZPmVQAEFXv/vs/lVOfxHBASfUc6i/n3tAC+XbKPGnGUbMXhRCbtfNkZyk0VwCh582fzZBA+W1H/+fQ8SHH4/I/9wAzUJt+H+LCbXib1WsOuIbfKjbvfBUKTb4iyy5PDqKs3zwMhb7aaS5OAqP7etC7VtQdxG07oWSGPlxnNnT6+iOyWze82aAiwWhT/4keGHEOAopkjvtuAwzm5vefOdM/dTt3votRkM54Cy+IRebb8DErbbd5sJhl6ge5V8FYw/fvrq/81isXBuwa9iYS1MU8tlQk1OJbnSBzaiV0mgIoY26ueO3SpT7J0zq24Og5AKtixg/tE+n+Ofs5qzabN6MQsnkiMXx/cu9rlh0repC5eSGOtAEArLPyDNT11OycwBdwqATRryTFFJimZrJRyzjeL6us5YT2T6noOHbfjUuam0XCvn9K+t9/r/9hc1cYhjDQh/3vvd+/bfJfZZZLb5soeA2ZO/9I65jVZ+foIFoUJ4oGhZL8w0SpApQ01vb7ZhZKAlQlBwoICzO00U5sXCHH0jWGFp8zPwcNBY0G9YPeqU6iQVmbsiTq6NEYtgeR7OMtcozZUZdbmnLp0ofleeE5MrkxMvuU3CjLzArPlpcRYil05OutyeF5OqlGGpgcnLI7MDl7jdFI+BNIrqlGrRMBk6PWXs0vlLo08gZFlNZPH2CiF9LNMRpMNxpfSDfRNOpUjGcaynBzc8vaOHQqM+d9SU2+NldTw2pgfZWuy9fkMGu9GyQ1AQWPp4bjLKRYyowGOE8hAJ1DAIKjAOFxeQg0DiNzp07mcXgeri/MLcua1o5PnFZSkuthUGMi79LNEwADo5Trwo1usucS7ex5tpDbCfbe0S/RaZdsdL4l2o2yrgi6nC4Gd7lawUau1/86KW42hOhDSMLgCEkjfjES4iB7rw1pZrWkBoi309rwUQuyw43hstBqiEFjVBls3RqwakrxAStmFawfWPBG/yXc0VmsqLYVcIyxbw9/8UmU0tJeHyivqj8W4rcKa8swp/Wm0vnlKlVF0SVQo7ihesPLZNmyzMxwo7wEwMXAGJ4hk2WcbFBCOvnZ7iHzqM3cKMXnx/E5vM35m/uAYBddHdvAqh/cUQdNIDb490ls9WBglXRwbfronoAtdkXEpcdFkfX/MwCyn7LYVzITroimspJPI8x3CzO9tJ7bBEd0X/YGO0dajaFkTnbJl3ML30namXY2PSBXUE4FStG96lPJwfkrDjKqGQdbgvPbUIA4EAbadqtuzDya4kgxOzCHU+0kWEPbQkGgk5SlO024kmW4QmaNvd0VWM7/60bPlwoo5Am7Up6b0Fih68w/ghxlkeXrE9E/K3f61ukrtbFtT3Zuz/2V6I8mo+7xjx6CQG2mgb4ijeRJe9lyx1e3zVd3p+UlzZO0Is1ABz/nJuf+DE6t/6mqMJzEw7W345Ky+7jtWHdUHk77j9mOe7Rj1RaffO+qFIMDAnvz5Krwm5g1279mS5jKOiywuklQxrWqn7TpMvzY8ktRD90PffkxPDRBj0+0b7+KiDNwiFH6F1VXNGljgRwBzptoAEHbafRN3bFFjlm6YzN6ZUfr1b2J3jWbWJeQULfcEQsZfYOm2VqR80dpPvV5oBENPtHPjOjtrpZ+ZOb0hRAPah54HygudaU/LS19KvVV+eF+Kh+pa+zB8A1sdb502zvi0yU73kb9933pH9znDkVC7n25fcGQIr28YP8v9/mjb4cnZX0/RwGKCzR+whyfyKggBBaLAQBgS1iAZq1VxHyH9w4AkA0c1kXI9mWBDhaJP53AF174gHPM+4ZGtPG2KCQ4VRccInmakfFL2i8lGb9IfKJ9lBSA0CkpzD5W4s6p1NuijZob3po5FFKpmBFMdw/IHYfURfcfKWw//W6N+upFcVkQkYyyuEcTJdtGkGB7TieZEEEgd2Z3BhEio7b2YGQkDKe4kHmK/LYVyH48UGDJJzNj12+t0a13q8+8A8f9jxrjMmrTVrovYEZcY92ROFaasTKspSIs3ciKO7Lpgs/p4DMhZ4JPB23eCOCxlib0EkTvQQHiyTYJkt8GnCiF12uKpFkKJEKKIIZS8xxB0/Hb/zgKk2BHixWn/2O5pLOkAm5MEtFZUFOzaq7+bp6b/RpKmhd1phRuwPQVK8D4z+4OFMj/8yELV692bYVNT/zPq5xO1/vcYxxf+MioNU8OwVpXsW52Fsgo0rRO8C1h9OzfMT23LGxQkn6vf6sjuwhxtY0UZgSSOexPv+0i9+msjNhNz4prdlZFR9gzH37kz05FL5PD9rp7yKMSLNj7EnfgVpXZbcBqw7vcsKPN+yZIHp6dFV6aOSXXBhTw5Lwmj+d9TyNQ5quY4sAsqWBw2M3zB6VZaUw789UGg9SBUG3OfvWmMgfTl3PUUk8Xs8qsyIuMzFOYxx1E2KF2H195VsZ3VMaWq9XlsZUPHUTYoXZ/uNoJA42kjpf5N4/7X272L7vcBEf6UE0fIaeNJ+Ia7UfiWOnGirCWyrA05grWMd4PC3DFutpGitID3Tm++H5gZcwDP+Qc9KXcPdj2G4qltXU+hemFmiUfLKmOrLnWvSS3ZsxO7Pzrr8+Ep02uNR6ZiHkJMBBeoiX4PmH/zn7i68meYQvG79rAiT1PaLGxyWUKpRrxagtYjb4cXs1S+n64YWZzWxJINLfIFp419cYPdtSem2un6PrOft56v8W8+u5BUMdGCEqObi2PPeYlbju5ypaNkzpJrAtLs6JC8O0pJ3DkMak2g9N26vuPFxa6AAzgdATUzvx/LqTDQGv7UIV/lyQ3kjy6nG/ul9jNbE+CST84mQQfD2LnSfu1c3NL/bAmLJJ1xNujBX6np3648fDyAmGo4VryH/X/KPL5bZMTgIE35s0zaOgb+clDrDVuJcIu0IdMhI6YkfpS2W6hnhyUQLorz/QQ7mZtLJjOoGWtoC4C83v+lC/f8UfyP0OosGD54Y0f6qnfBdLe8XZZxUjNsE+Xm9ll0jw7oocnZPaJBLcUQzP7ksH9y85hn0vHf92dMbLfbrfwI4/yOxIhcjxD3dhUX0IG+BOJuQ+UEj1LY/6Hn8QjfVxiZrNZXIWDoSjw/6r/qG6we3Jqc6s2hcxXuGR+hgoaQNKw2xPn1Hpq6+S8f3nwN2YM47iq+y88XQ6PUbLQBOVXXJeCwISqY83+bPKo22xyqcM+Dy1utSZ3DDXeQ3gv6fswB7M4hm61dLp+KgBk4MxHNUx5fUQzfN3w2aZDuDeCOYBjyv38oh21GdL4zx0YwOT88+U7lmQYCLTtlbMeo2R/9rHmqoSW6xVQvtBEHgUDeqtZQuYnZff9p+k0348t/tQn6dvff3GAdMmb32oPoc97c0+YZhxyzjDL88iDz4P/DE73rKZ4V3HCwuCg7/JjOWtkazgg3lY9eGXUOvE5MXGmwjwOE71Unlr1PyPm8MIEpl645LZYgM1WS08vDLPoyTuTN4T7+vpc8k7y+mDOpnK5mi0q8ApLK3xW0Ufdg0Cvi5jImHUM+iMgO9pDtVvvkvtqo/4PBYf3nvKdCpnyXes+L7l2NeG76vNqZCqULPJA6Klf9n/ldvnp4ClsgtXLOMHoZU3MOlB3BpnhjiofPRHmiQs+cxAdT+x1PH1A+jAA5Nfl5naG1nXAqE77U3F+2dRTb1tAZ8yr4S3deBd2SfkpOqU0TBarGeDkIYd9JTM6irfhTrdh0zD2K1LUpfa09M4d5xflk2E6fIEszajdMT7vKOM6lIE4xg8wR4yT6UBPXcOv3eWiNkB9fvMb5inmNzedfTfoez+iwXsvY+J+Qx9i1+nS3rvoIJKPfElMJe11EM8pO7q4rQvpPy23rnT8dJdMKAMX1MJjRdmHCpBftSuXMuuEtcJOoR0+GUc0k9y73MzEUKKZ6NFFMgPX9Nj9VYuwp6a4xDccWMF69rrPK2l3v+j9jh8+0lvP24Yvx2aUhJaFNXZUKRdFYWa8qL44LCckK1PFWuy+6/KynOhM//z240LJfecTWtfMO3iWZCbG+TTJo4tYrW/ObvzVzFphndAu7AQngWFloq42STl/OpCJ5BRGrB7gZ7pm0hpXpTXOuJ7MZ78Ru6D2F4iWNfttWkeqaCugImvvvvBuU/MX/fxnUHLmN/u3p8W30HUBqQHmANPwRubLQh3rAWu3ZMjGdn+z6AYeHu9x18m60I1lG9EuGfHo0SYWcrr+1f/bNQPUePz0YsrMXqIX137iDM1uky96kXrHxS8aCinbPtOkVxYkrFb0KDYo33ObZg5nhQxpym0N1vnrthfnLkp25CI/Nq42TTwK/O4vmEgiuQWWUDwE9OAM3/gQkgdC1EQzsz17TnuQi9D/2yNXz3gk5K90/MS0gP/25rW8LdiQ3zoylfEx/W0UoLTmvNaPrmbe0PxCVLqFEpVEEuymdQtwU7r5lo1yR/5+amuV6o7WjhIKgfY9L15+TerOBhQQEW7M/HdQR7LlUQ7IHmSA+HXAdeofgK3faJVzVfq2d+2bO6f6Xvp4nKycvlfxfK6tJiVEUdM297zi3nTlSQ+fl31X7Ex5xm7Thw7iqY4zP6rLKzEMEcZkF8gs8kkCBPYfdiES9vynn1C9X1r2ctbUl2djgP/aU9b5Kso/+G33F9NzxOffR90djhy+G/X9c+Lc9Av3t4P9o165qI9GRh24Y8pPrr0N+QJMh8q7Mz1N72vFbI5ZHG+zwAWMW1e7A0JtsrpKv429T5Oe/ma5elrL2+G7Xcv5vjy6P33+y3Gf7zZ9TFVMIgTUVXmk/ZH2xznhKVI9r0Cql2XKjz4L2k/Ki1VSXDDYthOeZ7vgnWAH5SnbRdm5HXax5+Ht22E6qPksamfqRx+GZ2SEy0pqSxOuZK4rPhGaSkzCHvlkXnqsnsF/NXenha3fkLqLq2mPXeRF/eK73L7uqfy9LMOay2KKlcrimLLmRmVpVKEleu9eT2gH5dyU9bnMogsK6ZKk5htLWVzCy2NIO95uKIkuC1EAombrFD9pGrE0s0wCxvfTIaqy4pj1mp1V9WL90tSljeuBOrf0fADyAIQvbD8R2ux9sPhDgp5wVyy+qycQPize4tYceqJ9YbhH2HeGnlyhVFOGbL3XV+gkNHELAoq+1aq+0CjvBBRyTYTml8GVd9zLNFIhWCVspLoDZSq4SFf/1xcwSD5xDIZevM91sb6BlgdeY0aEfTsvfMSYsE1Mlp8AfO36vt71kWYgo6su1v/mHWkBMnrM+S7uLk/4u59mL8KAeYnn5IT7uQM/q+H1HHPfcME6txpw8TDy9+zy85+DdV8Uzuxh/fcQvIggopFkD2e0ekMHefUfzA0W8aBUqor+o2Or+vCT0zMGeXKIxTvfO4tUQE72zvP7f6d7HhVSlk4RtwWvcFgyZs8WcAU1H2eDtLRlku3kbqUhvyottzt0K/n/qbSS8H69FkC3ianklQZRz/k3Nw0tpNK9FWkXH26+oN7q/UNFyjHp9bW3ZJnRd/8RLH/2VXL+rbLLWUnsDP9SXpViazmRbhRWEB4cFUyv/rHTyjiRC4a3ALqODn//IYAgoXdAW5a7m8ctnxkvSMjn0vJ/9Zrxue01L2Ct5S7c8zUI+JFRJFhIyg8fXxa0yLYMxH6gdXu5vq39qk+eb+7pbN8c1q0UTX/PO/1of1LK6+wASw7f1cdd7Le4obVxdDGnlZeXxzv9m55i25KZXGEYazY//IfGoBzbMhB3Xuv2stPaftU7zyf3dI5vNuuRRtPvx0S7+qK91yV84K39AlTfubeJ3lJwak+ZdlZEVgo+r0o2kMZRHVt3LU27qhtA/bQL3Hzr+EGoV4CPFOSe2WXwQ4VWP+zn7z/LcXr8iz2YrBUjsBC4ZIDbKojqAVkQ0f/qMuYgcZ2qTd3S8ZQNbq04HDkoK3ttBmunxxIOxqA3NmQCdDxMl3XiewzYDDAJXJxpU2Hb5LG9Y/xcfjzQJiemoxjhR7W9H5AP3RzFuToEloRyXWTfO0hDZpU+SxtfuEM/2HQOGDnUiMObiMi1CuYk6pshGKB+AIDaALKX0q7WejYPuWT4mMHyLgvrVp9X86M9zE3ap/drZ6sotijVXGiVBe7j71VfHL31PWJdWmIYI01nexVIruprkyeEKbihjgrEb4t62ZEAuMCxzPTXW3AQ4ilXAneNufVYHxEYkYRiPDJwXy9hSXspvLMPuMkp3EBgIIQlXgKaktwItojAFknYjkcGvteLxfyPIjAdEy2bGhU6NrPtXE2g0tI9G1RZrFWt9DsAXRsIkUCcPAtAp4ppG86VtppRC4/+GYB8Neos0azi25J/o+xzCJ4rMmtRQ7R9xuR+AQW5SABx9ocU8khxMLBV4Yl+tf2ndXWiRGrtebaWbdGWQr0CmNpsdfHMNlobL1rV+0IOIHJf2d5ZF9XRUZsZPf4NHuDJ5v9UcS8A9fqn28SKsK+qVabccK8lY6t6bWtkfvkIUOSbeE34N/EflpA0MQncdEXVdMO0bMf1fJhYvPnwxYZA+fHHwcUTgE9ASERMQipQkGAhQoWRCScXIZJCFCWVaDHUMLhYceIlSJQkGQAEgSFQGByBRKEx2DQgPIFIIlOoNDqDyWJzuDy+QCgSS6QyuUKpUmu0Or3BaDJbrDa7w+lye7w+PzAECoMjkCg0BovDE4gkcp4CFCqNzmCy2BxuaH6+QCgSS6QyuUKpUmu0Or3BGJEPzBarze5wutwer4+vnz8IwQiK4QRJMZgsNofL4wuEIloskcrkCqVKrdHq9AajyWyx2uwOp8vt8fow4DlVWKP5e+p9r6w68tg/CttZm/7edeCEFuPTFHfUkD9C0veMR/kTyTr3T2lm4si9s3epK2ZamjqKCKfkgdwQ0UMPoUp/uIcFNYUGNYP4eVrnftw/jZtAuxwqO+MPzetUIMBHObaWa5NQSGVgtJzfNgZJ1ACX1CAz1Prvn5E4Pm69IoeKfmVRbWwb6Z8iXUsVgx1Zho9uF3RTQJmn6LxLWMcrD7wHRx8NFWN0l/zfVnRDSIylzwT25KZotSzK8b8rnyikJqdqRPcpi7pOzEfzCu06CVSFm/EnQkqNnqKd+bJEYiv5Ih2Y9ubWHq9pFL+WiuJCkZXHmgRMvVBE7RfV+eDs2MjfJxiDtfITChJCFd1W0QrF02NiqCwLTfEv8/eiFbwcOS7qqTK5qMpK6Toaak2kVWeP2hhRsd4Yy5AfYciW+NYxQW/E4TMDf79Eso0hpZ6647aMRX5qIWQAWSkS2Woy1oafKtwAumqAlXWWZFWSCAQ6a/GE9dXoLMchfLBq+W79v3/0XpswYE2L4QxddbkJlf5aLs3JfdzcQzo929tnvr3SBhGNznK0LhGBxngbCbMKsWCezAqWdebaDiQXlEwGMW0AeiVDaKWaTwJqlzitZQ93A/FWwc0ycvs/NbBsfjgJaUzAxgq+FtfySWS/EoZePAhctE0O/RoTlE+Hq/Kb/XVmDKwB+tVgCrjYZPhybGjKhboYfhEBCwfczgfHR9nFcEegAuAyRg+G3auxy8m2DiorU9dFqA2xVli4G+jVGpNm0RGRMYuxUnm//5XbUU00dKMV1Z8IBJtMMSmzGG5NYrSMmNlHphCMuOVvVBzlbE2HEtG5ZssYHX42RzF4DfhE6Em0tQ6FjjV0QgwMyZl8H93xGZM7dOvDukrP8XcxlMTa4sXjv3xrdG4jIjrzamsStXXzo7AxG2pxw6JVJR/fUNzWHC83l4BsK1Km5pJKVOfKxSFoIJ1rdJYXjNf+WBzwxjFMYeEm6eEKTWs8FHINBICN5HgLFYO0ugYZCO9aOD/S0tE7OstrZ0Bu1x2d2b2DIaOKZlTKBHkcdxNGiG8/yQFv1LTbg4ycTzTau1d9yh+vQPo2LgmUb2Tu0Fhf2Y1AvMXlwK7HXC6PrbRrZcakxcw2vs94+X7G+ozVLv4Kh+yH3k6uzsTfGTngMXhlC/aEuP5lj+JlcqD0Fix3hMvXf7npdjO3NBSoQB5vY4bS9hs3Zi5Qm9BFA+ViFCJtasdvvcdck1bwDhkPxgrYYLmzAEHOJOAxJQAAAA==) format("woff2"),url(//at.alicdn.com/t/font_2553510_iv4v8nulyz.woff?t=1649083952952) format("woff"),url(//at.alicdn.com/t/font_2553510_iv4v8nulyz.ttf?t=1649083952952) format("truetype")}.van-icon__image{display:block;width:1em;height:1em;-o-object-fit:contain;object-fit:contain}:root{--van-skeleton-paragraph-height: .42667rem;--van-skeleton-paragraph-background: var(--van-active-color);--van-skeleton-paragraph-margin-top: var(--van-padding-sm);--van-skeleton-title-width: 40%;--van-skeleton-avatar-size: .85333rem;--van-skeleton-avatar-background: var(--van-active-color);--van-skeleton-image-size: 2.56rem;--van-skeleton-image-radius: .64rem;--van-skeleton-duration: 1.2s}.van-skeleton{display:flex;padding:0 var(--van-padding-md)}.van-skeleton-avatar{flex-shrink:0;width:var(--van-skeleton-avatar-size);height:var(--van-skeleton-avatar-size);margin-right:var(--van-padding-md);background:var(--van-skeleton-avatar-background)}.van-skeleton-avatar--round{border-radius:var(--van-radius-max)}.van-skeleton__content{width:100%}.van-skeleton-avatar+.van-skeleton__content{padding-top:var(--van-padding-xs)}.van-skeleton-paragraph,.van-skeleton-title{height:var(--van-skeleton-paragraph-height);background:var(--van-skeleton-paragraph-background)}.van-skeleton-paragraph--round,.van-skeleton-title--round{border-radius:var(--van-radius-max)}.van-skeleton-title{width:var(--van-skeleton-title-width);margin:0}.van-skeleton-paragraph:not(:first-child){margin-top:var(--van-skeleton-paragraph-margin-top)}.van-skeleton-title+.van-skeleton-paragraph{margin-top:.53333rem}.van-skeleton--animate{animation:van-skeleton-blink var(--van-skeleton-duration) ease-in-out infinite}.van-skeleton-image{display:flex;width:var(--van-skeleton-image-size);height:var(--van-skeleton-image-size);align-items:center;justify-content:center;background:var(--van-active-color)}.van-skeleton-image--round{border-radius:var(--van-skeleton-image-radius)}.van-skeleton-image__icon{width:calc(var(--van-skeleton-image-size) / 2);height:calc(var(--van-skeleton-image-size) / 2);font-size:calc(var(--van-skeleton-image-size) / 2);color:var(--van-gray-5)}@keyframes van-skeleton-blink{50%{opacity:.6}}:root{--van-rate-icon-size: .53333rem;--van-rate-icon-gutter: var(--van-padding-base);--van-rate-icon-void-color: var(--van-gray-5);--van-rate-icon-full-color: var(--van-danger-color);--van-rate-icon-disabled-color: var(--van-gray-5)}.van-rate{display:inline-flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-wrap:wrap}.van-rate__item{position:relative}.van-rate__item:not(:last-child){padding-right:var(--van-rate-icon-gutter)}.van-rate__icon{display:block;width:1em;color:var(--van-rate-icon-void-color);font-size:var(--van-rate-icon-size)}.van-rate__icon--half{position:absolute;top:0;left:0;overflow:hidden}.van-rate__icon--full{color:var(--van-rate-icon-full-color)}.van-rate__icon--disabled{color:var(--van-rate-icon-disabled-color)}.van-rate--disabled{cursor:not-allowed}.van-rate--readonly{cursor:default}:root{--van-notice-bar-height: 1.06667rem;--van-notice-bar-padding: 0 var(--van-padding-md);--van-notice-bar-wrapable-padding: var(--van-padding-xs) var(--van-padding-md);--van-notice-bar-text-color: var(--van-orange-dark);--van-notice-bar-font-size: var(--van-font-size-md);--van-notice-bar-line-height: .64rem;--van-notice-bar-background: var(--van-orange-light);--van-notice-bar-icon-size: .42667rem;--van-notice-bar-icon-min-width: .64rem}.van-notice-bar{position:relative;display:flex;align-items:center;height:var(--van-notice-bar-height);padding:var(--van-notice-bar-padding);color:var(--van-notice-bar-text-color);font-size:var(--van-notice-bar-font-size);line-height:var(--van-notice-bar-line-height);background:var(--van-notice-bar-background)}.van-notice-bar__left-icon,.van-notice-bar__right-icon{min-width:var(--van-notice-bar-icon-min-width);font-size:var(--van-notice-bar-icon-size)}.van-notice-bar__right-icon{text-align:right;cursor:pointer}.van-notice-bar__wrap{position:relative;display:flex;flex:1;align-items:center;height:100%;overflow:hidden}.van-notice-bar__content{position:absolute;white-space:nowrap;transition-timing-function:linear}.van-notice-bar__content.van-ellipsis{max-width:100%}.van-notice-bar--wrapable{height:auto;padding:var(--van-notice-bar-wrapable-padding)}.van-notice-bar--wrapable .van-notice-bar__wrap{height:auto}.van-notice-bar--wrapable .van-notice-bar__content{position:relative;white-space:normal;word-wrap:break-word}:root{--van-nav-bar-height: 1.22667rem;--van-nav-bar-background: var(--van-background-2);--van-nav-bar-arrow-size: .42667rem;--van-nav-bar-icon-color: var(--van-primary-color);--van-nav-bar-text-color: var(--van-primary-color);--van-nav-bar-title-font-size: var(--van-font-size-lg);--van-nav-bar-title-text-color: var(--van-text-color);--van-nav-bar-z-index: 1}.van-nav-bar{position:relative;z-index:var(--van-nav-bar-z-index);line-height:var(--van-line-height-lg);text-align:center;background:var(--van-nav-bar-background);-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-nav-bar--fixed{position:fixed;top:0;left:0;width:100%}.van-nav-bar--safe-area-inset-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.van-nav-bar .van-icon{color:var(--van-nav-bar-icon-color)}.van-nav-bar__content{position:relative;display:flex;align-items:center;height:var(--van-nav-bar-height)}.van-nav-bar__arrow{margin-right:var(--van-padding-base);font-size:var(--van-nav-bar-arrow-size)}.van-nav-bar__title{max-width:60%;margin:0 auto;color:var(--van-nav-bar-title-text-color);font-weight:var(--van-font-bold);font-size:var(--van-nav-bar-title-font-size)}.van-nav-bar__left,.van-nav-bar__right{position:absolute;top:0;bottom:0;display:flex;align-items:center;padding:0 var(--van-padding-md);font-size:var(--van-font-size-md)}.van-nav-bar__left{left:0}.van-nav-bar__right{right:0}.van-nav-bar__text{color:var(--van-nav-bar-text-color)}:root{--van-image-placeholder-text-color: var(--van-text-color-2);--van-image-placeholder-font-size: var(--van-font-size-md);--van-image-placeholder-background: var(--van-background);--van-image-loading-icon-size: .85333rem;--van-image-loading-icon-color: var(--van-gray-4);--van-image-error-icon-size: .85333rem;--van-image-error-icon-color: var(--van-gray-4)}.van-image{position:relative;display:inline-block}.van-image--round{overflow:hidden;border-radius:var(--van-radius-max)}.van-image--round .van-image__img{border-radius:inherit}.van-image--block{display:block}.van-image__img,.van-image__error,.van-image__loading{display:block;width:100%;height:100%}.van-image__error,.van-image__loading{position:absolute;top:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--van-image-placeholder-text-color);font-size:var(--van-image-placeholder-font-size);background:var(--van-image-placeholder-background)}.van-image__loading-icon{color:var(--van-image-loading-icon-color);font-size:var(--van-image-loading-icon-size)}.van-image__error-icon{color:var(--van-image-error-icon-color);font-size:var(--van-image-error-icon-size)}:root{--van-back-top-size: 1.06667rem;--van-back-top-right: .8rem;--van-back-top-bottom: 1.06667rem;--van-back-top-icon-size: .53333rem;--van-back-top-text-color: #fff;--van-back-top-background: var(--van-blue)}.van-back-top{position:fixed;display:flex;align-items:center;justify-content:center;width:var(--van-back-top-size);height:var(--van-back-top-size);right:var(--van-back-top-right);bottom:var(--van-back-top-bottom);cursor:pointer;color:var(--van-back-top-text-color);border-radius:var(--van-radius-max);box-shadow:0 .05333rem .21333rem rgba(0,0,0,.12);transform:scale(0);transition:var(--van-duration-base) cubic-bezier(.25,.8,.5,1);background-color:var(--van-back-top-background)}.van-back-top:active{opacity:var(--van-active-opacity)}.van-back-top--active{transform:scale(1)}.van-back-top__icon{font-size:var(--van-back-top-icon-size);font-weight:var(--van-font-bold)}:root{--van-tag-padding: 0 var(--van-padding-base);--van-tag-text-color: var(--van-white);--van-tag-font-size: var(--van-font-size-sm);--van-tag-radius: .05333rem;--van-tag-line-height: .42667rem;--van-tag-medium-padding: .05333rem .16rem;--van-tag-large-padding: var(--van-padding-base) var(--van-padding-xs);--van-tag-large-radius: var(--van-radius-md);--van-tag-large-font-size: var(--van-font-size-md);--van-tag-round-radius: var(--van-radius-max);--van-tag-danger-color: var(--van-danger-color);--van-tag-primary-color: var(--van-primary-color);--van-tag-success-color: var(--van-success-color);--van-tag-warning-color: var(--van-warning-color);--van-tag-default-color: var(--van-gray-6);--van-tag-plain-background: var(--van-background-2)}.van-tag{position:relative;display:inline-flex;align-items:center;padding:var(--van-tag-padding);color:var(--van-tag-text-color);font-size:var(--van-tag-font-size);line-height:var(--van-tag-line-height);border-radius:var(--van-tag-radius)}.van-tag--default{background:var(--van-tag-default-color)}.van-tag--default.van-tag--plain{color:var(--van-tag-default-color)}.van-tag--danger{background:var(--van-tag-danger-color)}.van-tag--danger.van-tag--plain{color:var(--van-tag-danger-color)}.van-tag--primary{background:var(--van-tag-primary-color)}.van-tag--primary.van-tag--plain{color:var(--van-tag-primary-color)}.van-tag--success{background:var(--van-tag-success-color)}.van-tag--success.van-tag--plain{color:var(--van-tag-success-color)}.van-tag--warning{background:var(--van-tag-warning-color)}.van-tag--warning.van-tag--plain{color:var(--van-tag-warning-color)}.van-tag--plain{background:var(--van-tag-plain-background);border-color:currentColor}.van-tag--plain:before{position:absolute;top:0;right:0;bottom:0;left:0;border:.02667rem solid;border-color:inherit;border-radius:inherit;content:"";pointer-events:none}.van-tag--medium{padding:var(--van-tag-medium-padding)}.van-tag--large{padding:var(--van-tag-large-padding);font-size:var(--van-tag-large-font-size);border-radius:var(--van-tag-large-radius)}.van-tag--mark{border-radius:0 var(--van-tag-round-radius) var(--van-tag-round-radius) 0}.van-tag--mark:after{display:block;width:.05333rem;content:""}.van-tag--round{border-radius:var(--van-tag-round-radius)}.van-tag__close{margin-left:.05333rem}:root{--van-card-padding: var(--van-padding-xs) var(--van-padding-md);--van-card-font-size: var(--van-font-size-sm);--van-card-text-color: var(--van-text-color);--van-card-background: var(--van-background);--van-card-thumb-size: 2.34667rem;--van-card-thumb-radius: var(--van-radius-lg);--van-card-title-line-height: .42667rem;--van-card-desc-color: var(--van-text-color-2);--van-card-desc-line-height: var(--van-line-height-md);--van-card-price-color: var(--van-text-color);--van-card-origin-price-color: var(--van-text-color-2);--van-card-num-color: var(--van-text-color-2);--van-card-origin-price-font-size: var(--van-font-size-xs);--van-card-price-font-size: var(--van-font-size-sm);--van-card-price-integer-font-size: var(--van-font-size-lg);--van-card-price-font: var(--van-price-font)}.van-card{position:relative;box-sizing:border-box;padding:var(--van-card-padding);color:var(--van-card-text-color);font-size:var(--van-card-font-size);background:var(--van-card-background)}.van-card:not(:first-child){margin-top:var(--van-padding-xs)}.van-card__header{display:flex}.van-card__thumb{position:relative;flex:none;width:var(--van-card-thumb-size);height:var(--van-card-thumb-size);margin-right:var(--van-padding-xs)}.van-card__thumb img{border-radius:var(--van-card-thumb-radius)}.van-card__content{position:relative;display:flex;flex:1;flex-direction:column;justify-content:space-between;min-width:0;min-height:var(--van-card-thumb-size)}.van-card__content--centered{justify-content:center}.van-card__title,.van-card__desc{word-wrap:break-word}.van-card__title{max-height:.85333rem;font-weight:var(--van-font-bold);line-height:var(--van-card-title-line-height)}.van-card__desc{max-height:var(--van-card-desc-line-height);color:var(--van-card-desc-color);line-height:var(--van-card-desc-line-height)}.van-card__bottom{line-height:var(--van-line-height-md)}.van-card__price{display:inline-block;color:var(--van-card-price-color);font-weight:var(--van-font-bold);font-size:var(--van-card-price-font-size)}.van-card__price-integer{font-size:var(--van-card-price-integer-font-size);font-family:var(--van-card-price-font)}.van-card__price-decimal{font-family:var(--van-card-price-font)}.van-card__origin-price{display:inline-block;margin-left:.13333rem;color:var(--van-card-origin-price-color);font-size:var(--van-card-origin-price-font-size);text-decoration:line-through}.van-card__num{float:right;color:var(--van-card-num-color)}.van-card__tag{position:absolute;top:.05333rem;left:0}.van-card__footer{flex:none;text-align:right}.van-card__footer .van-button{margin-left:.13333rem}:root{--van-cell-font-size: var(--van-font-size-md);--van-cell-line-height: .64rem;--van-cell-vertical-padding: .26667rem;--van-cell-horizontal-padding: var(--van-padding-md);--van-cell-text-color: var(--van-text-color);--van-cell-background: var(--van-background-2);--van-cell-border-color: var(--van-border-color);--van-cell-active-color: var(--van-active-color);--van-cell-required-color: var(--van-danger-color);--van-cell-label-color: var(--van-text-color-2);--van-cell-label-font-size: var(--van-font-size-sm);--van-cell-label-line-height: var(--van-line-height-sm);--van-cell-label-margin-top: var(--van-padding-base);--van-cell-value-color: var(--van-text-color-2);--van-cell-icon-size: .42667rem;--van-cell-right-icon-color: var(--van-gray-6);--van-cell-large-vertical-padding: var(--van-padding-sm);--van-cell-large-title-font-size: var(--van-font-size-lg);--van-cell-large-label-font-size: var(--van-font-size-md)}.van-cell{position:relative;display:flex;box-sizing:border-box;width:100%;padding:var(--van-cell-vertical-padding) var(--van-cell-horizontal-padding);overflow:hidden;color:var(--van-cell-text-color);font-size:var(--van-cell-font-size);line-height:var(--van-cell-line-height);background:var(--van-cell-background)}.van-cell:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:.02667rem solid var(--van-cell-border-color);transform:scaleY(.5)}.van-cell:last-child:after,.van-cell--borderless:after{display:none}.van-cell__label{margin-top:var(--van-cell-label-margin-top);color:var(--van-cell-label-color);font-size:var(--van-cell-label-font-size);line-height:var(--van-cell-label-line-height)}.van-cell__title,.van-cell__value{flex:1}.van-cell__value{position:relative;overflow:hidden;color:var(--van-cell-value-color);text-align:right;vertical-align:middle;word-wrap:break-word}.van-cell__left-icon,.van-cell__right-icon{height:var(--van-cell-line-height);font-size:var(--van-cell-icon-size);line-height:var(--van-cell-line-height)}.van-cell__left-icon{margin-right:var(--van-padding-base)}.van-cell__right-icon{margin-left:var(--van-padding-base);color:var(--van-cell-right-icon-color)}.van-cell--clickable{cursor:pointer}.van-cell--clickable:active{background-color:var(--van-cell-active-color)}.van-cell--required{overflow:visible}.van-cell--required:before{position:absolute;left:var(--van-padding-xs);color:var(--van-cell-required-color);font-size:var(--van-cell-font-size);content:"*"}.van-cell--center{align-items:center}.van-cell--large{padding-top:var(--van-cell-large-vertical-padding);padding-bottom:var(--van-cell-large-vertical-padding)}.van-cell--large .van-cell__title{font-size:var(--van-cell-large-title-font-size)}.van-cell--large .van-cell__label{font-size:var(--van-cell-large-label-font-size)}:root{--van-coupon-cell-selected-text-color: var(--van-text-color)}.van-coupon-cell__value--selected{color:var(--van-coupon-cell-selected-text-color)}:root{--van-contact-card-padding: var(--van-padding-md);--van-contact-card-add-icon-size: 1.06667rem;--van-contact-card-add-icon-color: var(--van-primary-color);--van-contact-card-title-line-height: var(--van-line-height-md)}.van-contact-card{padding:var(--van-contact-card-padding)}.van-contact-card__title{margin-left:.13333rem;line-height:var(--van-contact-card-title-line-height)}.van-contact-card--add .van-contact-card__value{line-height:var(--van-contact-card-add-icon-size)}.van-contact-card--add .van-cell__left-icon{color:var(--van-contact-card-add-icon-color);font-size:var(--van-contact-card-add-icon-size)}.van-contact-card:before{position:absolute;right:0;bottom:0;left:0;height:.05333rem;background:repeating-linear-gradient(-45deg,var(--van-warning-color) 0,var(--van-warning-color) 20%,transparent 0,transparent 25%,var(--van-primary-color) 0,var(--van-primary-color) 45%,transparent 0,transparent 50%);background-size:2.13333rem;content:""}:root{--van-collapse-item-duration: var(--van-duration-base);--van-collapse-item-content-padding: var(--van-padding-sm) var(--van-padding-md);--van-collapse-item-content-font-size: var(--van-font-size-md);--van-collapse-item-content-line-height: 1.5;--van-collapse-item-content-text-color: var(--van-text-color-2);--van-collapse-item-content-background: var(--van-background-2);--van-collapse-item-title-disabled-color: var(--van-text-color-3)}.van-collapse-item{position:relative}.van-collapse-item--border:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:0;right:var(--van-padding-md);left:var(--van-padding-md);border-top:.02667rem solid var(--van-border-color);transform:scaleY(.5)}.van-collapse-item__title .van-cell__right-icon:before{transform:rotate(90deg) translateZ(0);transition:transform var(--van-collapse-item-duration)}.van-collapse-item__title:after{right:var(--van-padding-md);display:none}.van-collapse-item__title--expanded .van-cell__right-icon:before{transform:rotate(-90deg)}.van-collapse-item__title--expanded:after{display:block}.van-collapse-item__title--borderless:after{display:none}.van-collapse-item__title--disabled{cursor:not-allowed}.van-collapse-item__title--disabled,.van-collapse-item__title--disabled .van-cell__right-icon{color:var(--van-collapse-item-title-disabled-color)}.van-collapse-item__wrapper{overflow:hidden;transition:height var(--van-collapse-item-duration) ease-in-out;will-change:height}.van-collapse-item__content{padding:var(--van-collapse-item-content-padding);color:var(--van-collapse-item-content-text-color);font-size:var(--van-collapse-item-content-font-size);line-height:var(--van-collapse-item-content-line-height);background:var(--van-collapse-item-content-background)}:root{--van-field-label-width: 6.2em;--van-field-label-color: var(--van-text-color);--van-field-label-margin-right: var(--van-padding-sm);--van-field-input-text-color: var(--van-text-color);--van-field-input-error-text-color: var(--van-danger-color);--van-field-input-disabled-text-color: var(--van-text-color-3);--van-field-placeholder-text-color: var(--van-text-color-3);--van-field-icon-size: .42667rem;--van-field-clear-icon-size: .42667rem;--van-field-clear-icon-color: var(--van-gray-5);--van-field-right-icon-color: var(--van-gray-6);--van-field-error-message-color: var(--van-danger-color);--van-field-error-message-font-size: .32rem;--van-field-text-area-min-height: 1.6rem;--van-field-word-limit-color: var(--van-gray-7);--van-field-word-limit-font-size: var(--van-font-size-sm);--van-field-word-limit-line-height: .42667rem;--van-field-disabled-text-color: var(--van-text-color-3);--van-field-required-mark-color: var(--van-red)}.van-field{flex-wrap:wrap}.van-field__label{flex:none;box-sizing:border-box;width:var(--van-field-label-width);margin-right:var(--van-field-label-margin-right);color:var(--van-field-label-color);text-align:left;word-wrap:break-word}.van-field__label--center{text-align:center}.van-field__label--right{text-align:right}.van-field__label--top{display:flex;width:100%;text-align:left;margin-bottom:var(--van-padding-base)}.van-field__label--required:before{margin-right:.05333rem;color:var(--van-field-required-mark-color);content:"*"}.van-field--disabled .van-field__label{color:var(--van-field-disabled-text-color)}.van-field__value{overflow:visible}.van-field__body{display:flex;align-items:center}.van-field__control{display:block;box-sizing:border-box;width:100%;min-width:0;margin:0;padding:0;color:var(--van-field-input-text-color);line-height:inherit;text-align:left;background-color:transparent;border:0;resize:none;-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.van-field__control::-moz-placeholder{color:var(--van-field-placeholder-text-color)}.van-field__control::placeholder{color:var(--van-field-placeholder-text-color)}.van-field__control:disabled{color:var(--van-field-input-disabled-text-color);cursor:not-allowed;opacity:1;-webkit-text-fill-color:var(--van-field-input-disabled-text-color)}.van-field__control:-moz-read-only{cursor:default}.van-field__control:read-only{cursor:default}.van-field__control--center{justify-content:center;text-align:center}.van-field__control--right{justify-content:flex-end;text-align:right}.van-field__control--custom{display:flex;align-items:center;min-height:var(--van-cell-line-height)}.van-field__control--error::-moz-placeholder{color:var(--van-field-input-error-text-color);-webkit-text-fill-color:currentColor}.van-field__control--error,.van-field__control--error::placeholder{color:var(--van-field-input-error-text-color);-webkit-text-fill-color:currentColor}.van-field__control--min-height{min-height:var(--van-field-text-area-min-height)}.van-field__control[type=date],.van-field__control[type=time],.van-field__control[type=datetime-local]{min-height:var(--van-cell-line-height)}.van-field__control[type=search]{-webkit-appearance:none}.van-field__clear,.van-field__icon,.van-field__button,.van-field__right-icon{flex-shrink:0}.van-field__clear,.van-field__right-icon{margin-right:calc(var(--van-padding-xs) * -1);padding:0 var(--van-padding-xs);line-height:inherit}.van-field__clear{color:var(--van-field-clear-icon-color);font-size:var(--van-field-clear-icon-size);cursor:pointer}.van-field__left-icon .van-icon,.van-field__right-icon .van-icon{display:block;font-size:var(--van-field-icon-size);line-height:inherit}.van-field__left-icon{margin-right:var(--van-padding-base)}.van-field__right-icon{color:var(--van-field-right-icon-color)}.van-field__button{padding-left:var(--van-padding-xs)}.van-field__error-message{color:var(--van-field-error-message-color);font-size:var(--van-field-error-message-font-size);text-align:left}.van-field__error-message--center{text-align:center}.van-field__error-message--right{text-align:right}.van-field__word-limit{margin-top:var(--van-padding-base);color:var(--van-field-word-limit-color);font-size:var(--van-field-word-limit-font-size);line-height:var(--van-field-word-limit-line-height);text-align:right}:root{--van-search-padding: .26667rem var(--van-padding-sm);--van-search-background: var(--van-background-2);--van-search-content-background: var(--van-background);--van-search-input-height: .90667rem;--van-search-label-padding: 0 .13333rem;--van-search-label-color: var(--van-text-color);--van-search-label-font-size: var(--van-font-size-md);--van-search-left-icon-color: var(--van-gray-6);--van-search-action-padding: 0 var(--van-padding-xs);--van-search-action-text-color: var(--van-text-color);--van-search-action-font-size: var(--van-font-size-md)}.van-search{display:flex;align-items:center;box-sizing:border-box;padding:var(--van-search-padding);background:var(--van-search-background)}.van-search__content{display:flex;flex:1;padding-left:var(--van-padding-sm);background:var(--van-search-content-background);border-radius:var(--van-radius-sm)}.van-search__content--round{border-radius:var(--van-radius-max)}.van-search__label{padding:var(--van-search-label-padding);color:var(--van-search-label-color);font-size:var(--van-search-label-font-size);line-height:var(--van-search-input-height)}.van-search__field{flex:1;align-items:center;padding:0 var(--van-padding-xs) 0 0;height:var(--van-search-input-height);background-color:transparent}.van-search__field .van-field__left-icon{color:var(--van-search-left-icon-color)}.van-search--show-action{padding-right:0}.van-search input::-webkit-search-decoration,.van-search input::-webkit-search-cancel-button,.van-search input::-webkit-search-results-button,.van-search input::-webkit-search-results-decoration{display:none}.van-search__action{padding:var(--van-search-action-padding);color:var(--van-search-action-text-color);font-size:var(--van-search-action-font-size);line-height:var(--van-search-input-height);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-search__action:active{background-color:var(--van-active-color)}:root{--van-action-bar-icon-width: 1.28rem;--van-action-bar-icon-height: 100%;--van-action-bar-icon-color: var(--van-text-color);--van-action-bar-icon-size: .48rem;--van-action-bar-icon-font-size: var(--van-font-size-xs);--van-action-bar-icon-active-color: var(--van-active-color);--van-action-bar-icon-text-color: var(--van-text-color);--van-action-bar-icon-background: var(--van-background-2)}.van-action-bar-icon{display:flex;flex-direction:column;justify-content:center;min-width:var(--van-action-bar-icon-width);height:var(--van-action-bar-icon-height);color:var(--van-action-bar-icon-text-color);font-size:var(--van-action-bar-icon-font-size);line-height:1;text-align:center;background:var(--van-action-bar-icon-background);cursor:pointer}.van-action-bar-icon:active{background-color:var(--van-action-bar-icon-active-color)}.van-action-bar-icon__icon{margin:0 auto var(--van-padding-base);color:var(--van-action-bar-icon-color);font-size:var(--van-action-bar-icon-size)}:root{--van-loading-text-color: var(--van-text-color-2);--van-loading-text-font-size: var(--van-font-size-md);--van-loading-spinner-color: var(--van-gray-5);--van-loading-spinner-size: .8rem;--van-loading-spinner-duration: .8s}.van-loading{position:relative;color:var(--van-loading-spinner-color);font-size:0;vertical-align:middle}.van-loading__spinner{position:relative;display:inline-block;width:var(--van-loading-spinner-size);max-width:100%;height:var(--van-loading-spinner-size);max-height:100%;vertical-align:middle;animation:van-rotate var(--van-loading-spinner-duration) linear infinite}.van-loading__spinner--spinner{animation-timing-function:steps(12)}.van-loading__spinner--circular{animation-duration:2s}.van-loading__line{position:absolute;top:0;left:0;width:100%;height:100%}.van-loading__line:before{display:block;width:.05333rem;height:25%;margin:0 auto;background-color:currentColor;border-radius:40%;content:" "}.van-loading__circular{display:block;width:100%;height:100%}.van-loading__circular circle{animation:van-circular 1.5s ease-in-out infinite;stroke:currentColor;stroke-width:3;stroke-linecap:round}.van-loading__text{display:inline-block;margin-left:var(--van-padding-xs);color:var(--van-loading-text-color);font-size:var(--van-loading-text-font-size);vertical-align:middle}.van-loading--vertical{display:flex;flex-direction:column;align-items:center}.van-loading--vertical .van-loading__text{margin:var(--van-padding-xs) 0 0}@keyframes van-circular{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40}to{stroke-dasharray:90,150;stroke-dashoffset:-120}}.van-loading__line--1{transform:rotate(30deg);opacity:1}.van-loading__line--2{transform:rotate(60deg);opacity:.9375}.van-loading__line--3{transform:rotate(90deg);opacity:.875}.van-loading__line--4{transform:rotate(120deg);opacity:.8125}.van-loading__line--5{transform:rotate(150deg);opacity:.75}.van-loading__line--6{transform:rotate(180deg);opacity:.6875}.van-loading__line--7{transform:rotate(210deg);opacity:.625}.van-loading__line--8{transform:rotate(240deg);opacity:.5625}.van-loading__line--9{transform:rotate(270deg);opacity:.5}.van-loading__line--10{transform:rotate(300deg);opacity:.4375}.van-loading__line--11{transform:rotate(330deg);opacity:.375}.van-loading__line--12{transform:rotate(360deg);opacity:.3125}:root{--van-pull-refresh-head-height: 1.33333rem;--van-pull-refresh-head-font-size: var(--van-font-size-md);--van-pull-refresh-head-text-color: var(--van-text-color-2);--van-pull-refresh-loading-icon-size: .42667rem}.van-pull-refresh{overflow:hidden}.van-pull-refresh__track{position:relative;height:100%;transition-property:transform}.van-pull-refresh__head{position:absolute;left:0;width:100%;height:var(--van-pull-refresh-head-height);overflow:hidden;color:var(--van-pull-refresh-head-text-color);font-size:var(--van-pull-refresh-head-font-size);line-height:var(--van-pull-refresh-head-height);text-align:center;transform:translateY(-100%)}.van-pull-refresh__loading .van-loading__spinner{width:var(--van-pull-refresh-loading-icon-size);height:var(--van-pull-refresh-loading-icon-size)}:root{--van-number-keyboard-background: var(--van-gray-2);--van-number-keyboard-key-height: 1.28rem;--van-number-keyboard-key-font-size: .74667rem;--van-number-keyboard-key-active-color: var(--van-gray-3);--van-number-keyboard-key-background: var(--van-background-2);--van-number-keyboard-delete-font-size: var(--van-font-size-lg);--van-number-keyboard-title-color: var(--van-gray-7);--van-number-keyboard-title-height: .90667rem;--van-number-keyboard-title-font-size: var(--van-font-size-lg);--van-number-keyboard-close-padding: 0 var(--van-padding-md);--van-number-keyboard-close-color: var(--van-link-color);--van-number-keyboard-close-font-size: var(--van-font-size-md);--van-number-keyboard-button-text-color: var(--van-white);--van-number-keyboard-button-background: var(--van-primary-color);--van-number-keyboard-z-index: 100}.van-theme-dark{--van-number-keyboard-background: var(--van-gray-8);--van-number-keyboard-key-background: var(--van-gray-7);--van-number-keyboard-key-active-color: var(--van-gray-6)}.van-number-keyboard{position:fixed;bottom:0;left:0;z-index:var(--van-number-keyboard-z-index);width:100%;padding-bottom:.58667rem;background:var(--van-number-keyboard-background);-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-number-keyboard--with-title{border-radius:.53333rem .53333rem 0 0}.van-number-keyboard__header{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:content-box;height:var(--van-number-keyboard-title-height);padding-top:.16rem;color:var(--van-number-keyboard-title-color);font-size:var(--van-number-keyboard-title-font-size)}.van-number-keyboard__title{display:inline-block;font-weight:400}.van-number-keyboard__title-left{position:absolute;left:0}.van-number-keyboard__body{display:flex;padding:.16rem 0 0 .16rem}.van-number-keyboard__keys{display:flex;flex:3;flex-wrap:wrap}.van-number-keyboard__close{position:absolute;right:0;height:100%;padding:var(--van-number-keyboard-close-padding);color:var(--van-number-keyboard-close-color);font-size:var(--van-number-keyboard-close-font-size);background-color:transparent;border:none}.van-number-keyboard__sidebar{display:flex;flex:1;flex-direction:column}.van-number-keyboard--unfit{padding-bottom:0}.van-key{display:flex;align-items:center;justify-content:center;height:var(--van-number-keyboard-key-height);font-size:var(--van-number-keyboard-key-font-size);line-height:1.5;background:var(--van-number-keyboard-key-background);border-radius:var(--van-radius-lg);cursor:pointer}.van-key--large{position:absolute;top:0;right:.16rem;bottom:.16rem;left:0;height:auto}.van-key--blue,.van-key--delete{font-size:var(--van-number-keyboard-delete-font-size)}.van-key--active{background-color:var(--van-number-keyboard-key-active-color)}.van-key--blue{color:var(--van-number-keyboard-button-text-color);background:var(--van-number-keyboard-button-background)}.van-key--blue.van-key--active{opacity:var(--van-active-opacity)}.van-key__wrapper{position:relative;flex:1;flex-basis:33%;box-sizing:border-box;padding:0 .16rem .16rem 0}.van-key__wrapper--wider{flex-basis:66%}.van-key__delete-icon{width:.85333rem;height:.58667rem}.van-key__collapse-icon{width:.8rem;height:.64rem}.van-key__loading-icon{color:var(--van-number-keyboard-button-text-color)}:root{--van-list-text-color: var(--van-text-color-2);--van-list-text-font-size: var(--van-font-size-md);--van-list-text-line-height: 1.33333rem;--van-list-loading-icon-size: .42667rem}.van-list__loading,.van-list__finished-text,.van-list__error-text{color:var(--van-list-text-color);font-size:var(--van-list-text-font-size);line-height:var(--van-list-text-line-height);text-align:center}.van-list__placeholder{height:0;pointer-events:none}.van-list__loading-icon .van-loading__spinner{width:var(--van-list-loading-icon-size);height:var(--van-list-loading-icon-size)}:root{--van-switch-size: .69333rem;--van-switch-width:calc(1.8em + .10667rem);--van-switch-height:calc(1em + .10667rem);--van-switch-node-size: 1em;--van-switch-node-background: var(--van-white);--van-switch-node-shadow: 0 .08rem .02667rem 0 rgba(0, 0, 0, .05);--van-switch-background: rgba(120, 120, 128, .16);--van-switch-on-background: var(--van-primary-color);--van-switch-duration: var(--van-duration-base);--van-switch-disabled-opacity: var(--van-disabled-opacity)}.van-theme-dark{--van-switch-background: rgba(120, 120, 128, .32)}.van-switch{position:relative;display:inline-block;box-sizing:content-box;width:var(--van-switch-width);height:var(--van-switch-height);font-size:var(--van-switch-size);background:var(--van-switch-background);border-radius:var(--van-switch-node-size);cursor:pointer;transition:background-color var(--van-switch-duration)}.van-switch__node{position:absolute;top:.05333rem;left:.05333rem;width:var(--van-switch-node-size);height:var(--van-switch-node-size);font-size:inherit;background:var(--van-switch-node-background);border-radius:100%;box-shadow:var(--van-switch-node-shadow);transition:transform var(--van-switch-duration) cubic-bezier(.3,1.05,.4,1.05)}.van-switch__loading{top:25%;left:25%;width:50%;height:50%;line-height:1}.van-switch--on{background:var(--van-switch-on-background)}.van-switch--on .van-switch__node{transform:translate(calc(var(--van-switch-width) - var(--van-switch-node-size) - .10667rem))}.van-switch--on .van-switch__loading{color:var(--van-switch-on-background)}.van-switch--disabled{cursor:not-allowed;opacity:var(--van-switch-disabled-opacity)}.van-switch--loading{cursor:default}:root{--van-button-mini-height: .64rem;--van-button-mini-padding: 0 var(--van-padding-base);--van-button-mini-font-size: var(--van-font-size-xs);--van-button-small-height: .85333rem;--van-button-small-padding: 0 var(--van-padding-xs);--van-button-small-font-size: var(--van-font-size-sm);--van-button-normal-padding: 0 .4rem;--van-button-normal-font-size: var(--van-font-size-md);--van-button-large-height: 1.33333rem;--van-button-default-height: 1.17333rem;--van-button-default-line-height: 1.2;--van-button-default-font-size: var(--van-font-size-lg);--van-button-default-color: var(--van-text-color);--van-button-default-background: var(--van-background-2);--van-button-default-border-color: var(--van-gray-4);--van-button-primary-color: var(--van-white);--van-button-primary-background: var(--van-primary-color);--van-button-primary-border-color: var(--van-primary-color);--van-button-success-color: var(--van-white);--van-button-success-background: var(--van-success-color);--van-button-success-border-color: var(--van-success-color);--van-button-danger-color: var(--van-white);--van-button-danger-background: var(--van-danger-color);--van-button-danger-border-color: var(--van-danger-color);--van-button-warning-color: var(--van-white);--van-button-warning-background: var(--van-warning-color);--van-button-warning-border-color: var(--van-warning-color);--van-button-border-width: var(--van-border-width);--van-button-radius: var(--van-radius-md);--van-button-round-radius: var(--van-radius-max);--van-button-plain-background: var(--van-white);--van-button-disabled-opacity: var(--van-disabled-opacity);--van-button-icon-size: 1.2em;--van-button-loading-icon-size: .53333rem}.van-theme-dark{--van-button-plain-background: transparent}.van-button{position:relative;display:inline-block;box-sizing:border-box;height:var(--van-button-default-height);margin:0;padding:0;font-size:var(--van-button-default-font-size);line-height:var(--van-button-default-line-height);text-align:center;border-radius:var(--van-button-radius);cursor:pointer;transition:opacity var(--van-duration-fast);-webkit-appearance:none;-webkit-font-smoothing:auto}.van-button:before{position:absolute;top:50%;left:50%;width:100%;height:100%;background:var(--van-black);border:inherit;border-color:var(--van-black);border-radius:inherit;transform:translate(-50%,-50%);opacity:0;content:" "}.van-button:active:before{opacity:.1}.van-button--loading:before,.van-button--disabled:before{display:none}.van-button--default{color:var(--van-button-default-color);background:var(--van-button-default-background);border:var(--van-button-border-width) solid var(--van-button-default-border-color)}.van-button--primary{color:var(--van-button-primary-color);background:var(--van-button-primary-background);border:var(--van-button-border-width) solid var(--van-button-primary-border-color)}.van-button--success{color:var(--van-button-success-color);background:var(--van-button-success-background);border:var(--van-button-border-width) solid var(--van-button-success-border-color)}.van-button--danger{color:var(--van-button-danger-color);background:var(--van-button-danger-background);border:var(--van-button-border-width) solid var(--van-button-danger-border-color)}.van-button--warning{color:var(--van-button-warning-color);background:var(--van-button-warning-background);border:var(--van-button-border-width) solid var(--van-button-warning-border-color)}.van-button--plain{background:var(--van-button-plain-background)}.van-button--plain.van-button--primary{color:var(--van-button-primary-background)}.van-button--plain.van-button--success{color:var(--van-button-success-background)}.van-button--plain.van-button--danger{color:var(--van-button-danger-background)}.van-button--plain.van-button--warning{color:var(--van-button-warning-background)}.van-button--large{width:100%;height:var(--van-button-large-height)}.van-button--normal{padding:var(--van-button-normal-padding);font-size:var(--van-button-normal-font-size)}.van-button--small{height:var(--van-button-small-height);padding:var(--van-button-small-padding);font-size:var(--van-button-small-font-size)}.van-button__loading{color:inherit;font-size:inherit}.van-button__loading .van-loading__spinner{color:currentColor;width:var(--van-button-loading-icon-size);height:var(--van-button-loading-icon-size)}.van-button--mini{height:var(--van-button-mini-height);padding:var(--van-button-mini-padding);font-size:var(--van-button-mini-font-size)}.van-button--mini+.van-button--mini{margin-left:var(--van-padding-base)}.van-button--block{display:block;width:100%}.van-button--disabled{cursor:not-allowed;opacity:var(--van-button-disabled-opacity)}.van-button--loading{cursor:default}.van-button--round{border-radius:var(--van-button-round-radius)}.van-button--square{border-radius:0}.van-button__content{display:flex;align-items:center;justify-content:center;height:100%}.van-button__content:before{content:" "}.van-button__icon{font-size:var(--van-button-icon-size);line-height:inherit}.van-button__icon+.van-button__text,.van-button__loading+.van-button__text,.van-button__text+.van-button__icon,.van-button__text+.van-button__loading{margin-left:var(--van-padding-base)}.van-button--hairline{border-width:0}.van-button--hairline:after{border-color:inherit;border-radius:calc(var(--van-button-radius) * 2)}.van-button--hairline.van-button--round:after{border-radius:var(--van-button-round-radius)}.van-button--hairline.van-button--square:after{border-radius:0}:root{--van-submit-bar-height: 1.33333rem;--van-submit-bar-z-index: 100;--van-submit-bar-background: var(--van-background-2);--van-submit-bar-button-width: 2.93333rem;--van-submit-bar-price-color: var(--van-danger-color);--van-submit-bar-price-font-size: var(--van-font-size-sm);--van-submit-bar-price-integer-font-size: .53333rem;--van-submit-bar-price-font: var(--van-price-font);--van-submit-bar-currency-font-size: var(--van-font-size-md);--van-submit-bar-text-color: var(--van-text-color);--van-submit-bar-text-font-size: var(--van-font-size-md);--van-submit-bar-tip-padding: var(--van-padding-xs) var(--van-padding-sm);--van-submit-bar-tip-font-size: var(--van-font-size-sm);--van-submit-bar-tip-line-height: 1.5;--van-submit-bar-tip-color: var(--van-orange-dark);--van-submit-bar-tip-background: var(--van-orange-light);--van-submit-bar-tip-icon-size: .32rem;--van-submit-bar-button-height: 1.06667rem;--van-submit-bar-padding: 0 var(--van-padding-md)}.van-submit-bar{position:fixed;bottom:0;left:0;z-index:var(--van-submit-bar-z-index);width:100%;background:var(--van-submit-bar-background);-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-submit-bar__tip{padding:var(--van-submit-bar-tip-padding);color:var(--van-submit-bar-tip-color);font-size:var(--van-submit-bar-tip-font-size);line-height:var(--van-submit-bar-tip-line-height);background:var(--van-submit-bar-tip-background)}.van-submit-bar__tip-icon{margin-right:var(--van-padding-base);font-size:var(--van-submit-bar-tip-icon-size);vertical-align:middle}.van-submit-bar__tip-text{vertical-align:middle}.van-submit-bar__bar{display:flex;align-items:center;justify-content:flex-end;height:var(--van-submit-bar-height);padding:var(--van-submit-bar-padding);font-size:var(--van-submit-bar-text-font-size)}.van-submit-bar__text{flex:1;padding-right:var(--van-padding-sm);color:var(--van-submit-bar-text-color);text-align:right}.van-submit-bar__text span{display:inline-block}.van-submit-bar__suffix-label{margin-left:var(--van-padding-base);font-weight:var(--van-font-bold)}.van-submit-bar__price{color:var(--van-submit-bar-price-color);font-weight:var(--van-font-bold);font-size:var(--van-submit-bar-price-font-size);margin-left:var(--van-padding-base)}.van-submit-bar__price-integer{font-size:var(--van-submit-bar-price-integer-font-size);font-family:var(--van-submit-bar-price-font)}.van-submit-bar__button{width:var(--van-submit-bar-button-width);height:var(--van-submit-bar-button-height);font-weight:var(--van-font-bold);border:none}.van-submit-bar__button--danger{background:var(--van-gradient-red)}:root{--van-contact-edit-padding: var(--van-padding-md);--van-contact-edit-fields-radius: var(--van-radius-md);--van-contact-edit-buttons-padding: var(--van-padding-xl) 0;--van-contact-edit-button-margin-bottom: var(--van-padding-sm);--van-contact-edit-button-font-size: var(--van-font-size-lg);--van-contact-edit-field-label-width: 4.1em}.van-contact-edit{padding:var(--van-contact-edit-padding)}.van-contact-edit__fields{overflow:hidden;border-radius:var(--van-contact-edit-fields-radius)}.van-contact-edit__fields .van-field__label{width:var(--van-contact-edit-field-label-width)}.van-contact-edit__switch-cell{margin-top:.26667rem;padding-top:.24rem;padding-bottom:.24rem;border-radius:var(--van-contact-edit-fields-radius)}.van-contact-edit__buttons{padding:var(--van-contact-edit-buttons-padding)}.van-contact-edit__button{margin-bottom:var(--van-contact-edit-button-margin-bottom);font-size:var(--van-contact-edit-button-font-size)}:root{--van-action-bar-button-height: 1.06667rem;--van-action-bar-button-warning-color: var(--van-gradient-orange);--van-action-bar-button-danger-color: var(--van-gradient-red)}.van-action-bar-button{flex:1;height:var(--van-action-bar-button-height);font-weight:var(--van-font-bold);font-size:var(--van-font-size-md);border:none;border-radius:0}.van-action-bar-button--first{margin-left:.13333rem;border-top-left-radius:var(--van-radius-max);border-bottom-left-radius:var(--van-radius-max)}.van-action-bar-button--last{margin-right:.13333rem;border-top-right-radius:var(--van-radius-max);border-bottom-right-radius:var(--van-radius-max)}.van-action-bar-button--warning{background:var(--van-action-bar-button-warning-color)}.van-action-bar-button--danger{background:var(--van-action-bar-button-danger-color)}@media (max-width: 321px){.van-action-bar-button{font-size:.34667rem}}:root{--van-overlay-z-index: 1;--van-overlay-background: rgba(0, 0, 0, .7)}.van-overlay{position:fixed;top:0;left:0;z-index:var(--van-overlay-z-index);width:100%;height:100%;background:var(--van-overlay-background)}:root{--van-popup-background: var(--van-background-2);--van-popup-transition: transform var(--van-duration-base);--van-popup-round-radius: .42667rem;--van-popup-close-icon-size: .58667rem;--van-popup-close-icon-color: var(--van-gray-5);--van-popup-close-icon-margin: .42667rem;--van-popup-close-icon-z-index: 1}.van-overflow-hidden{overflow:hidden!important}.van-popup{position:fixed;max-height:100%;overflow-y:auto;box-sizing:border-box;background:var(--van-popup-background);transition:var(--van-popup-transition);-webkit-overflow-scrolling:touch}.van-popup--center{top:50%;left:0;right:0;width:-moz-fit-content;width:fit-content;max-width:calc(100vw - var(--van-padding-md) * 2);margin:0 auto;transform:translateY(-50%)}.van-popup--center.van-popup--round{border-radius:var(--van-popup-round-radius)}.van-popup--top{top:0;left:0;width:100%}.van-popup--top.van-popup--round{border-radius:0 0 var(--van-popup-round-radius) var(--van-popup-round-radius)}.van-popup--right{top:50%;right:0;transform:translate3d(0,-50%,0)}.van-popup--right.van-popup--round{border-radius:var(--van-popup-round-radius) 0 0 var(--van-popup-round-radius)}.van-popup--bottom{bottom:0;left:0;width:100%}.van-popup--bottom.van-popup--round{border-radius:var(--van-popup-round-radius) var(--van-popup-round-radius) 0 0}.van-popup--left{top:50%;left:0;transform:translate3d(0,-50%,0)}.van-popup--left.van-popup--round{border-radius:0 var(--van-popup-round-radius) var(--van-popup-round-radius) 0}.van-popup-slide-top-enter-active,.van-popup-slide-left-enter-active,.van-popup-slide-right-enter-active,.van-popup-slide-bottom-enter-active{transition-timing-function:var(--van-ease-out)}.van-popup-slide-top-leave-active,.van-popup-slide-left-leave-active,.van-popup-slide-right-leave-active,.van-popup-slide-bottom-leave-active{transition-timing-function:var(--van-ease-in)}.van-popup-slide-top-enter-from,.van-popup-slide-top-leave-active{transform:translate3d(0,-100%,0)}.van-popup-slide-right-enter-from,.van-popup-slide-right-leave-active{transform:translate3d(100%,-50%,0)}.van-popup-slide-bottom-enter-from,.van-popup-slide-bottom-leave-active{transform:translate3d(0,100%,0)}.van-popup-slide-left-enter-from,.van-popup-slide-left-leave-active{transform:translate3d(-100%,-50%,0)}.van-popup__close-icon{position:absolute;z-index:var(--van-popup-close-icon-z-index);color:var(--van-popup-close-icon-color);font-size:var(--van-popup-close-icon-size)}.van-popup__close-icon--top-left{top:var(--van-popup-close-icon-margin);left:var(--van-popup-close-icon-margin)}.van-popup__close-icon--top-right{top:var(--van-popup-close-icon-margin);right:var(--van-popup-close-icon-margin)}.van-popup__close-icon--bottom-left{bottom:var(--van-popup-close-icon-margin);left:var(--van-popup-close-icon-margin)}.van-popup__close-icon--bottom-right{right:var(--van-popup-close-icon-margin);bottom:var(--van-popup-close-icon-margin)}:root{--van-share-sheet-header-padding: var(--van-padding-sm) var(--van-padding-md);--van-share-sheet-title-color: var(--van-text-color);--van-share-sheet-title-font-size: var(--van-font-size-md);--van-share-sheet-title-line-height: var(--van-line-height-md);--van-share-sheet-description-color: var(--van-text-color-2);--van-share-sheet-description-font-size: var(--van-font-size-sm);--van-share-sheet-description-line-height: .42667rem;--van-share-sheet-icon-size: 1.28rem;--van-share-sheet-option-name-color: var(--van-gray-7);--van-share-sheet-option-name-font-size: var(--van-font-size-sm);--van-share-sheet-option-description-color: var(--van-text-color-3);--van-share-sheet-option-description-font-size: var(--van-font-size-sm);--van-share-sheet-cancel-button-font-size: var(--van-font-size-lg);--van-share-sheet-cancel-button-height: 1.28rem;--van-share-sheet-cancel-button-background: var(--van-background-2)}.van-share-sheet__header{padding:var(--van-share-sheet-header-padding);text-align:center}.van-share-sheet__title{margin-top:var(--van-padding-xs);color:var(--van-share-sheet-title-color);font-weight:400;font-size:var(--van-share-sheet-title-font-size);line-height:var(--van-share-sheet-title-line-height)}.van-share-sheet__description{display:block;margin-top:var(--van-padding-xs);color:var(--van-share-sheet-description-color);font-size:var(--van-share-sheet-description-font-size);line-height:var(--van-share-sheet-description-line-height)}.van-share-sheet__options{position:relative;display:flex;padding:var(--van-padding-md) 0 var(--van-padding-md) var(--van-padding-xs);overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch}.van-share-sheet__options--border:before{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:0;right:0;left:var(--van-padding-md);border-top:.02667rem solid var(--van-border-color);transform:scaleY(.5)}.van-share-sheet__options::-webkit-scrollbar{height:0}.van-share-sheet__option{display:flex;flex-direction:column;align-items:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-share-sheet__icon,.van-share-sheet__image-icon{width:var(--van-share-sheet-icon-size);height:var(--van-share-sheet-icon-size);margin:0 var(--van-padding-md)}.van-share-sheet__icon{display:flex;align-items:center;justify-content:center;color:var(--van-gray-7);border-radius:100%;background-color:var(--van-gray-2)}.van-share-sheet__icon--link,.van-share-sheet__icon--poster,.van-share-sheet__icon--qrcode{font-size:.69333rem}.van-share-sheet__icon--weapp-qrcode{font-size:.74667rem}.van-share-sheet__icon--qq,.van-share-sheet__icon--weibo,.van-share-sheet__icon--wechat,.van-share-sheet__icon--wechat-moments{font-size:.8rem;color:var(--van-white)}.van-share-sheet__icon--qq{background-color:#38b9fa}.van-share-sheet__icon--wechat{background-color:#0bc15f}.van-share-sheet__icon--weibo{background-color:#ee575e}.van-share-sheet__icon--wechat-moments{background-color:#7bc845}.van-share-sheet__name{margin-top:var(--van-padding-xs);padding:0 var(--van-padding-base);color:var(--van-share-sheet-option-name-color);font-size:var(--van-share-sheet-option-name-font-size)}.van-share-sheet__option-description{padding:0 var(--van-padding-base);color:var(--van-share-sheet-option-description-color);font-size:var(--van-share-sheet-option-description-font-size)}.van-share-sheet__cancel{display:block;width:100%;padding:0;font-size:var(--van-share-sheet-cancel-button-font-size);line-height:var(--van-share-sheet-cancel-button-height);text-align:center;background:var(--van-share-sheet-cancel-button-background);border:none;cursor:pointer}.van-share-sheet__cancel:before{display:block;height:var(--van-padding-xs);background-color:var(--van-background);content:" "}.van-share-sheet__cancel:active{background-color:var(--van-active-color)}:root{--van-popover-arrow-size: .16rem;--van-popover-radius: var(--van-radius-lg);--van-popover-action-width: 3.41333rem;--van-popover-action-height: 1.17333rem;--van-popover-action-font-size: var(--van-font-size-md);--van-popover-action-line-height: var(--van-line-height-md);--van-popover-action-icon-size: .53333rem;--van-popover-light-text-color: var(--van-text-color);--van-popover-light-background: var(--van-background-2);--van-popover-light-action-disabled-text-color: var(--van-text-color-3);--van-popover-dark-text-color: var(--van-white);--van-popover-dark-background: #4a4a4a;--van-popover-dark-action-disabled-text-color: var(--van-text-color-2)}.van-popover{position:absolute;overflow:visible;background-color:transparent;transition:opacity .15s,transform .15s}.van-popover__wrapper{display:inline-block}.van-popover__arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid;border-width:var(--van-popover-arrow-size)}.van-popover__content{overflow:hidden;border-radius:var(--van-popover-radius)}.van-popover__action{position:relative;display:flex;align-items:center;box-sizing:border-box;width:var(--van-popover-action-width);height:var(--van-popover-action-height);padding:0 var(--van-padding-md);font-size:var(--van-popover-action-font-size);line-height:var(--van-line-height-md);cursor:pointer}.van-popover__action:last-child .van-popover__action-text:after{display:none}.van-popover__action-text{display:flex;flex:1;align-items:center;justify-content:center;height:100%}.van-popover__action-icon{margin-right:var(--van-padding-xs);font-size:var(--van-popover-action-icon-size)}.van-popover__action--with-icon .van-popover__action-text{justify-content:flex-start}.van-popover[data-popper-placement^=top] .van-popover__arrow{bottom:0;border-top-color:currentColor;border-bottom-width:0;transform:translate(-50%);margin-bottom:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=top]{transform-origin:50% 100%}.van-popover[data-popper-placement=top] .van-popover__arrow{left:50%}.van-popover[data-popper-placement=top-start]{transform-origin:0 100%}.van-popover[data-popper-placement=top-start] .van-popover__arrow{left:var(--van-padding-md)}.van-popover[data-popper-placement=top-end]{transform-origin:100% 100%}.van-popover[data-popper-placement=top-end] .van-popover__arrow{right:var(--van-padding-md)}.van-popover[data-popper-placement^=left] .van-popover__arrow{right:0;border-right-width:0;border-left-color:currentColor;transform:translateY(-50%);margin-right:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=left]{transform-origin:100% 50%}.van-popover[data-popper-placement=left] .van-popover__arrow{top:50%}.van-popover[data-popper-placement=left-start]{transform-origin:100% 0}.van-popover[data-popper-placement=left-start] .van-popover__arrow{top:var(--van-padding-md)}.van-popover[data-popper-placement=left-end]{transform-origin:100% 100%}.van-popover[data-popper-placement=left-end] .van-popover__arrow{bottom:var(--van-padding-md)}.van-popover[data-popper-placement^=right] .van-popover__arrow{left:0;border-right-color:currentColor;border-left-width:0;transform:translateY(-50%);margin-left:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=right]{transform-origin:0 50%}.van-popover[data-popper-placement=right] .van-popover__arrow{top:50%}.van-popover[data-popper-placement=right-start]{transform-origin:0 0}.van-popover[data-popper-placement=right-start] .van-popover__arrow{top:var(--van-padding-md)}.van-popover[data-popper-placement=right-end]{transform-origin:0 100%}.van-popover[data-popper-placement=right-end] .van-popover__arrow{bottom:var(--van-padding-md)}.van-popover[data-popper-placement^=bottom] .van-popover__arrow{top:0;border-top-width:0;border-bottom-color:currentColor;transform:translate(-50%);margin-top:calc(var(--van-popover-arrow-size) * -1)}.van-popover[data-popper-placement=bottom]{transform-origin:50% 0}.van-popover[data-popper-placement=bottom] .van-popover__arrow{left:50%}.van-popover[data-popper-placement=bottom-start]{transform-origin:0 0}.van-popover[data-popper-placement=bottom-start] .van-popover__arrow{left:var(--van-padding-md)}.van-popover[data-popper-placement=bottom-end]{transform-origin:100% 0}.van-popover[data-popper-placement=bottom-end] .van-popover__arrow{right:var(--van-padding-md)}.van-popover--light{color:var(--van-popover-light-text-color)}.van-popover--light .van-popover__content{background:var(--van-popover-light-background);box-shadow:0 .05333rem .32rem rgba(50,50,51,.12)}.van-popover--light .van-popover__arrow{color:var(--van-popover-light-background)}.van-popover--light .van-popover__action:active{background-color:var(--van-active-color)}.van-popover--light .van-popover__action--disabled{color:var(--van-popover-light-action-disabled-text-color);cursor:not-allowed}.van-popover--light .van-popover__action--disabled:active{background-color:transparent}.van-popover--dark{color:var(--van-popover-dark-text-color)}.van-popover--dark .van-popover__content{background:var(--van-popover-dark-background)}.van-popover--dark .van-popover__arrow{color:var(--van-popover-dark-background)}.van-popover--dark .van-popover__action:active{background-color:rgba(0,0,0,.2)}.van-popover--dark .van-popover__action--disabled{color:var(--van-popover-dark-action-disabled-text-color)}.van-popover--dark .van-popover__action--disabled:active{background-color:transparent}.van-popover--dark .van-popover__action-text:after{border-color:var(--van-gray-7)}.van-popover-zoom-enter-from,.van-popover-zoom-leave-active{transform:scale(.8);opacity:0}.van-popover-zoom-enter-active{transition-timing-function:var(--van-ease-out)}.van-popover-zoom-leave-active{transition-timing-function:var(--van-ease-in)}:root{--van-notify-text-color: var(--van-white);--van-notify-padding: var(--van-padding-xs) var(--van-padding-md);--van-notify-font-size: var(--van-font-size-md);--van-notify-line-height: var(--van-line-height-md);--van-notify-primary-background: var(--van-primary-color);--van-notify-success-background: var(--van-success-color);--van-notify-danger-background: var(--van-danger-color);--van-notify-warning-background: var(--van-warning-color)}.van-notify{display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:var(--van-notify-padding);color:var(--van-notify-text-color);font-size:var(--van-notify-font-size);line-height:var(--van-notify-line-height);white-space:pre-wrap;text-align:center;word-wrap:break-word}.van-notify--primary{background:var(--van-notify-primary-background)}.van-notify--success{background:var(--van-notify-success-background)}.van-notify--danger{background:var(--van-notify-danger-background)}.van-notify--warning{background:var(--van-notify-warning-background)}:root{--van-dialog-width: 8.53333rem;--van-dialog-small-screen-width: 90%;--van-dialog-font-size: var(--van-font-size-lg);--van-dialog-transition: var(--van-duration-base);--van-dialog-radius: .42667rem;--van-dialog-background: var(--van-background-2);--van-dialog-header-font-weight: var(--van-font-bold);--van-dialog-header-line-height: .64rem;--van-dialog-header-padding-top: .69333rem;--van-dialog-header-isolated-padding: var(--van-padding-lg) 0;--van-dialog-message-padding: var(--van-padding-lg);--van-dialog-message-font-size: var(--van-font-size-md);--van-dialog-message-line-height: var(--van-line-height-md);--van-dialog-message-max-height: 60vh;--van-dialog-has-title-message-text-color: var(--van-gray-7);--van-dialog-has-title-message-padding-top: var(--van-padding-xs);--van-dialog-button-height: 1.28rem;--van-dialog-round-button-height: .96rem;--van-dialog-confirm-button-text-color: var(--van-primary-color)}.van-dialog{top:45%;width:var(--van-dialog-width);overflow:hidden;font-size:var(--van-dialog-font-size);background:var(--van-dialog-background);border-radius:var(--van-dialog-radius);backface-visibility:hidden;transition:var(--van-dialog-transition);transition-property:transform,opacity}@media (max-width: 321px){.van-dialog{width:var(--van-dialog-small-screen-width)}}.van-dialog__header{color:var(--van-text-color);padding-top:var(--van-dialog-header-padding-top);font-weight:var(--van-dialog-header-font-weight);line-height:var(--van-dialog-header-line-height);text-align:center}.van-dialog__header--isolated{padding:var(--van-dialog-header-isolated-padding)}.van-dialog__content--isolated{display:flex;align-items:center;min-height:2.77333rem}.van-dialog__message{color:var(--van-text-color);flex:1;max-height:var(--van-dialog-message-max-height);padding:.69333rem var(--van-dialog-message-padding);overflow-y:auto;font-size:var(--van-dialog-message-font-size);line-height:var(--van-dialog-message-line-height);white-space:pre-wrap;text-align:center;word-wrap:break-word;-webkit-overflow-scrolling:touch}.van-dialog__message--has-title{padding-top:var(--van-dialog-has-title-message-padding-top);color:var(--van-dialog-has-title-message-text-color)}.van-dialog__message--left{text-align:left}.van-dialog__message--right{text-align:right}.van-dialog__message--justify{text-align:justify}.van-dialog__footer{display:flex;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-dialog__confirm,.van-dialog__cancel{flex:1;height:var(--van-dialog-button-height);margin:0;border:0}.van-dialog__confirm,.van-dialog__confirm:active{color:var(--van-dialog-confirm-button-text-color)}.van-dialog--round-button .van-dialog__footer{position:relative;height:auto;padding:var(--van-padding-xs) var(--van-padding-lg) var(--van-padding-md)}.van-dialog--round-button .van-dialog__message{padding-bottom:var(--van-padding-md);color:var(--van-text-color)}.van-dialog--round-button .van-dialog__confirm,.van-dialog--round-button .van-dialog__cancel{height:var(--van-dialog-round-button-height)}.van-dialog--round-button .van-dialog__confirm{color:var(--van-white)}.van-dialog-bounce-enter-from{transform:translate3d(0,-50%,0) scale(.7);opacity:0}.van-dialog-bounce-leave-active{transform:translate3d(0,-50%,0) scale(.9);opacity:0}:root{--van-toast-max-width: 70%;--van-toast-font-size: var(--van-font-size-md);--van-toast-text-color: var(--van-white);--van-toast-loading-icon-color: var(--van-white);--van-toast-line-height: var(--van-line-height-md);--van-toast-radius: var(--van-radius-lg);--van-toast-background: rgba(0, 0, 0, .7);--van-toast-icon-size: .96rem;--van-toast-text-min-width: 2.56rem;--van-toast-text-padding: var(--van-padding-xs) var(--van-padding-sm);--van-toast-default-padding: var(--van-padding-md);--van-toast-default-width: 2.34667rem;--van-toast-default-min-height: 2.34667rem;--van-toast-position-top-distance: 20%;--van-toast-position-bottom-distance: 20%}.van-toast{display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:content-box;transition:all var(--van-duration-fast);width:var(--van-toast-default-width);max-width:var(--van-toast-max-width);min-height:var(--van-toast-default-min-height);padding:var(--van-toast-default-padding);color:var(--van-toast-text-color);font-size:var(--van-toast-font-size);line-height:var(--van-toast-line-height);white-space:pre-wrap;word-break:break-all;text-align:center;background:var(--van-toast-background);border-radius:var(--van-toast-radius)}.van-toast--break-normal{word-break:normal;word-wrap:normal}.van-toast--break-word{word-break:normal;word-wrap:break-word}.van-toast--unclickable{overflow:hidden;cursor:not-allowed}.van-toast--unclickable *{pointer-events:none}.van-toast--text,.van-toast--html{width:-moz-fit-content;width:fit-content;min-width:var(--van-toast-text-min-width);min-height:0;padding:var(--van-toast-text-padding)}.van-toast--text .van-toast__text,.van-toast--html .van-toast__text{margin-top:0}.van-toast--top{top:var(--van-toast-position-top-distance)}.van-toast--bottom{top:auto;bottom:var(--van-toast-position-bottom-distance)}.van-toast__icon{font-size:var(--van-toast-icon-size)}.van-toast__loading{padding:var(--van-padding-base);color:var(--van-toast-loading-icon-color)}.van-toast__text{margin-top:var(--van-padding-xs)}:root{--van-action-sheet-max-height: 80%;--van-action-sheet-header-height: 1.28rem;--van-action-sheet-header-font-size: var(--van-font-size-lg);--van-action-sheet-description-color: var(--van-text-color-2);--van-action-sheet-description-font-size: var(--van-font-size-md);--van-action-sheet-description-line-height: var(--van-line-height-md);--van-action-sheet-item-background: var(--van-background-2);--van-action-sheet-item-font-size: var(--van-font-size-lg);--van-action-sheet-item-line-height: var(--van-line-height-lg);--van-action-sheet-item-text-color: var(--van-text-color);--van-action-sheet-item-disabled-text-color: var(--van-text-color-3);--van-action-sheet-subname-color: var(--van-text-color-2);--van-action-sheet-subname-font-size: var(--van-font-size-sm);--van-action-sheet-subname-line-height: var(--van-line-height-sm);--van-action-sheet-close-icon-size: .58667rem;--van-action-sheet-close-icon-color: var(--van-gray-5);--van-action-sheet-close-icon-padding: 0 var(--van-padding-md);--van-action-sheet-cancel-text-color: var(--van-gray-7);--van-action-sheet-cancel-padding-top: var(--van-padding-xs);--van-action-sheet-cancel-padding-color: var(--van-background);--van-action-sheet-loading-icon-size: .58667rem}.van-action-sheet{display:flex;flex-direction:column;max-height:var(--van-action-sheet-max-height);overflow:hidden;color:var(--van-action-sheet-item-text-color)}.van-action-sheet__content{flex:1 auto;overflow-y:auto;-webkit-overflow-scrolling:touch}.van-action-sheet__item,.van-action-sheet__cancel{display:block;width:100%;padding:.37333rem var(--van-padding-md);font-size:var(--van-action-sheet-item-font-size);background:var(--van-action-sheet-item-background);border:none;cursor:pointer}.van-action-sheet__item:active,.van-action-sheet__cancel:active{background-color:var(--van-active-color)}.van-action-sheet__item{line-height:var(--van-action-sheet-item-line-height)}.van-action-sheet__item--loading,.van-action-sheet__item--disabled{color:var(--van-action-sheet-item-disabled-text-color)}.van-action-sheet__item--loading:active,.van-action-sheet__item--disabled:active{background-color:var(--van-action-sheet-item-background)}.van-action-sheet__item--disabled{cursor:not-allowed}.van-action-sheet__item--loading{cursor:default}.van-action-sheet__cancel{flex-shrink:0;box-sizing:border-box;color:var(--van-action-sheet-cancel-text-color)}.van-action-sheet__subname{margin-top:var(--van-padding-xs);color:var(--van-action-sheet-subname-color);font-size:var(--van-action-sheet-subname-font-size);line-height:var(--van-action-sheet-subname-line-height)}.van-action-sheet__gap{display:block;height:var(--van-action-sheet-cancel-padding-top);background:var(--van-action-sheet-cancel-padding-color)}.van-action-sheet__header{flex-shrink:0;font-weight:var(--van-font-bold);font-size:var(--van-action-sheet-header-font-size);line-height:var(--van-action-sheet-header-height);text-align:center}.van-action-sheet__description{position:relative;flex-shrink:0;padding:.53333rem var(--van-padding-md);color:var(--van-action-sheet-description-color);font-size:var(--van-action-sheet-description-font-size);line-height:var(--van-action-sheet-description-line-height);text-align:center}.van-action-sheet__description:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:.02667rem solid var(--van-border-color);transform:scaleY(.5)}.van-action-sheet__loading-icon .van-loading__spinner{width:var(--van-action-sheet-loading-icon-size);height:var(--van-action-sheet-loading-icon-size)}.van-action-sheet__close{position:absolute;top:0;right:0;z-index:1;padding:var(--van-action-sheet-close-icon-padding);color:var(--van-action-sheet-close-icon-color);font-size:var(--van-action-sheet-close-icon-size);line-height:inherit}:root{--van-sticky-z-index: 99}.van-sticky--fixed{position:fixed;z-index:var(--van-sticky-z-index)}:root{--van-swipe-indicator-size: .16rem;--van-swipe-indicator-margin: var(--van-padding-sm);--van-swipe-indicator-active-opacity: 1;--van-swipe-indicator-inactive-opacity: .3;--van-swipe-indicator-active-background: var(--van-primary-color);--van-swipe-indicator-inactive-background: var(--van-border-color)}.van-swipe{position:relative;overflow:hidden;transform:translateZ(0);cursor:grab;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-swipe__track{display:flex;height:100%}.van-swipe__track--vertical{flex-direction:column}.van-swipe__indicators{position:absolute;bottom:var(--van-swipe-indicator-margin);left:50%;display:flex;transform:translate(-50%)}.van-swipe__indicators--vertical{top:50%;bottom:auto;left:var(--van-swipe-indicator-margin);flex-direction:column;transform:translateY(-50%)}.van-swipe__indicators--vertical .van-swipe__indicator:not(:last-child){margin-bottom:var(--van-swipe-indicator-size)}.van-swipe__indicator{width:var(--van-swipe-indicator-size);height:var(--van-swipe-indicator-size);background-color:var(--van-swipe-indicator-inactive-background);border-radius:100%;opacity:var(--van-swipe-indicator-inactive-opacity);transition:opacity var(--van-duration-fast),background-color var(--van-duration-fast)}.van-swipe__indicator:not(:last-child){margin-right:var(--van-swipe-indicator-size)}.van-swipe__indicator--active{background-color:var(--van-swipe-indicator-active-background);opacity:var(--van-swipe-indicator-active-opacity)}.van-swipe-item{position:relative;flex-shrink:0;width:100%;height:100%}:root{--van-image-preview-index-text-color: var(--van-white);--van-image-preview-index-font-size: var(--van-font-size-md);--van-image-preview-index-line-height: var(--van-line-height-md);--van-image-preview-index-text-shadow: 0 .02667rem .02667rem var(--van-gray-8);--van-image-preview-overlay-background: rgba(0, 0, 0, .9);--van-image-preview-close-icon-size: .58667rem;--van-image-preview-close-icon-color: var(--van-gray-5);--van-image-preview-close-icon-margin: var(--van-padding-md);--van-image-preview-close-icon-z-index: 1}.van-image-preview{position:fixed;top:0;left:0;width:100%;height:100%;max-width:none;background-color:transparent;transform:none}.van-image-preview__swipe{height:100%}.van-image-preview__swipe-item{display:flex;align-items:center;justify-content:center;overflow:hidden}.van-image-preview__cover{position:absolute;top:0;left:0}.van-image-preview__image,.van-image-preview__image-wrap{width:100%;transition-property:transform}.van-image-preview__image--vertical,.van-image-preview__image-wrap--vertical{width:auto;height:100%}.van-image-preview__image img,.van-image-preview__image-wrap img,.van-image-preview__image video,.van-image-preview__image-wrap video{-webkit-user-drag:none}.van-image-preview__image .van-image__error,.van-image-preview__image-wrap .van-image__error{top:30%;height:40%}.van-image-preview__image .van-image__error-icon,.van-image-preview__image-wrap .van-image__error-icon{font-size:.96rem}.van-image-preview__image .van-image__loading,.van-image-preview__image-wrap .van-image__loading{background-color:transparent}.van-image-preview__index{position:absolute;top:var(--van-padding-md);left:50%;color:var(--van-image-preview-index-text-color);font-size:var(--van-image-preview-index-font-size);line-height:var(--van-image-preview-index-line-height);text-shadow:var(--van-image-preview-index-text-shadow);transform:translate(-50%)}.van-image-preview__overlay{background:var(--van-image-preview-overlay-background)}.van-image-preview__close-icon{position:absolute;z-index:var(--van-image-preview-close-icon-z-index);color:var(--van-image-preview-close-icon-color);font-size:var(--van-image-preview-close-icon-size)}.van-image-preview__close-icon--top-left{top:var(--van-image-preview-close-icon-margin);left:var(--van-image-preview-close-icon-margin)}.van-image-preview__close-icon--top-right{top:var(--van-image-preview-close-icon-margin);right:var(--van-image-preview-close-icon-margin)}.van-image-preview__close-icon--bottom-left{bottom:var(--van-image-preview-close-icon-margin);left:var(--van-image-preview-close-icon-margin)}.van-image-preview__close-icon--bottom-right{right:var(--van-image-preview-close-icon-margin);bottom:var(--van-image-preview-close-icon-margin)}:root{--van-uploader-size: 2.13333rem;--van-uploader-icon-size: .64rem;--van-uploader-icon-color: var(--van-gray-4);--van-uploader-text-color: var(--van-text-color-2);--van-uploader-text-font-size: var(--van-font-size-sm);--van-uploader-upload-background: var(--van-gray-1);--van-uploader-upload-active-color: var(--van-active-color);--van-uploader-delete-color: var(--van-white);--van-uploader-delete-icon-size: .37333rem;--van-uploader-delete-background: rgba(0, 0, 0, .7);--van-uploader-file-background: var(--van-background);--van-uploader-file-icon-size: .53333rem;--van-uploader-file-icon-color: var(--van-gray-7);--van-uploader-file-name-padding: 0 var(--van-padding-base);--van-uploader-file-name-margin-top: var(--van-padding-xs);--van-uploader-file-name-font-size: var(--van-font-size-sm);--van-uploader-file-name-text-color: var(--van-gray-7);--van-uploader-mask-text-color: var(--van-white);--van-uploader-mask-background: rgba(50, 50, 51, .88);--van-uploader-mask-icon-size: .58667rem;--van-uploader-mask-message-font-size: var(--van-font-size-sm);--van-uploader-mask-message-line-height: var(--van-line-height-xs);--van-uploader-loading-icon-size: .58667rem;--van-uploader-loading-icon-color: var(--van-white);--van-uploader-disabled-opacity: var(--van-disabled-opacity)}.van-uploader{position:relative;display:inline-block}.van-uploader__wrapper{display:flex;flex-wrap:wrap}.van-uploader__wrapper--disabled{opacity:var(--van-uploader-disabled-opacity)}.van-uploader__input{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;cursor:pointer;opacity:0}.van-uploader__input-wrapper{position:relative}.van-uploader__input:disabled{cursor:not-allowed}.van-uploader__upload{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:var(--van-uploader-size);height:var(--van-uploader-size);margin:0 var(--van-padding-xs) var(--van-padding-xs) 0;background:var(--van-uploader-upload-background)}.van-uploader__upload:active{background-color:var(--van-uploader-upload-active-color)}.van-uploader__upload--readonly:active{background-color:var(--van-uploader-upload-background)}.van-uploader__upload-icon{color:var(--van-uploader-icon-color);font-size:var(--van-uploader-icon-size)}.van-uploader__upload-text{margin-top:var(--van-padding-xs);color:var(--van-uploader-text-color);font-size:var(--van-uploader-text-font-size)}.van-uploader__preview{position:relative;margin:0 var(--van-padding-xs) var(--van-padding-xs) 0;cursor:pointer}.van-uploader__preview-image{display:block;width:var(--van-uploader-size);height:var(--van-uploader-size);overflow:hidden}.van-uploader__preview-delete{position:absolute;top:0;right:0}.van-uploader__preview-delete--shadow{width:var(--van-uploader-delete-icon-size);height:var(--van-uploader-delete-icon-size);background:var(--van-uploader-delete-background);border-radius:0 0 0 .32rem}.van-uploader__preview-delete-icon{position:absolute;top:0;right:0;color:var(--van-uploader-delete-color);font-size:var(--van-uploader-delete-icon-size);transform:scale(.7) translate(10%,-10%)}.van-uploader__preview-cover{position:absolute;top:0;right:0;bottom:0;left:0}.van-uploader__mask{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--van-uploader-mask-text-color);background:var(--van-uploader-mask-background)}.van-uploader__mask-icon{font-size:var(--van-uploader-mask-icon-size)}.van-uploader__mask-message{margin-top:.16rem;padding:0 var(--van-padding-base);font-size:var(--van-uploader-mask-message-font-size);line-height:var(--van-uploader-mask-message-line-height)}.van-uploader__loading{width:var(--van-uploader-loading-icon-size);height:var(--van-uploader-loading-icon-size);color:var(--van-uploader-loading-icon-color)}.van-uploader__file{display:flex;flex-direction:column;align-items:center;justify-content:center;width:var(--van-uploader-size);height:var(--van-uploader-size);background:var(--van-uploader-file-background)}.van-uploader__file-icon{color:var(--van-uploader-file-icon-color);font-size:var(--van-uploader-file-icon-size)}.van-uploader__file-name{box-sizing:border-box;width:100%;margin-top:var(--van-uploader-file-name-margin-top);padding:var(--van-uploader-file-name-padding);color:var(--van-uploader-file-name-text-color);font-size:var(--van-uploader-file-name-font-size);text-align:center}:root{--van-tab-text-color: var(--van-gray-7);--van-tab-active-text-color: var(--van-text-color);--van-tab-disabled-text-color: var(--van-text-color-3);--van-tab-font-size: var(--van-font-size-md);--van-tab-line-height: var(--van-line-height-md);--van-tabs-default-color: var(--van-primary-color);--van-tabs-line-height: 1.17333rem;--van-tabs-card-height: .8rem;--van-tabs-nav-background: var(--van-background-2);--van-tabs-bottom-bar-width: 1.06667rem;--van-tabs-bottom-bar-height: .08rem;--van-tabs-bottom-bar-color: var(--van-primary-color)}.van-tab{position:relative;display:flex;flex:1;align-items:center;justify-content:center;box-sizing:border-box;padding:0 var(--van-padding-base);color:var(--van-tab-text-color);font-size:var(--van-tab-font-size);line-height:var(--van-tab-line-height);cursor:pointer}.van-tab--active{color:var(--van-tab-active-text-color);font-weight:var(--van-font-bold)}.van-tab--disabled{color:var(--van-tab-disabled-text-color);cursor:not-allowed}.van-tab--grow{flex:1 0 auto;padding:0 var(--van-padding-sm)}.van-tab--shrink{flex:none;padding:0 var(--van-padding-xs)}.van-tab--card{color:var(--van-tabs-default-color);border-right:var(--van-border-width) solid var(--van-tabs-default-color)}.van-tab--card:last-child{border-right:none}.van-tab--card.van-tab--active{color:var(--van-white);background-color:var(--van-tabs-default-color)}.van-tab--card--disabled{color:var(--van-tab-disabled-text-color)}.van-tab__text--ellipsis{display:-webkit-box;overflow:hidden;-webkit-line-clamp:1;-webkit-box-orient:vertical}.van-tabs{position:relative}.van-tabs__wrap{overflow:hidden}.van-tabs__wrap--page-top{position:fixed}.van-tabs__wrap--content-bottom{top:auto;bottom:0}.van-tabs__nav{position:relative;display:flex;background:var(--van-tabs-nav-background);-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-tabs__nav--complete{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.van-tabs__nav--complete::-webkit-scrollbar{display:none}.van-tabs__nav--line{box-sizing:content-box;height:100%;padding-bottom:.4rem}.van-tabs__nav--line.van-tabs__nav--shrink,.van-tabs__nav--line.van-tabs__nav--complete{padding-right:var(--van-padding-xs);padding-left:var(--van-padding-xs)}.van-tabs__nav--card{box-sizing:border-box;height:var(--van-tabs-card-height);margin:0 var(--van-padding-md);border:var(--van-border-width) solid var(--van-tabs-default-color);border-radius:var(--van-border-radius-sm)}.van-tabs__nav--card.van-tabs__nav--shrink{display:inline-flex}.van-tabs__line{position:absolute;bottom:.4rem;left:0;z-index:1;width:var(--van-tabs-bottom-bar-width);height:var(--van-tabs-bottom-bar-height);background:var(--van-tabs-bottom-bar-color);border-radius:var(--van-tabs-bottom-bar-height)}.van-tabs__track{position:relative;display:flex;width:100%;height:100%;will-change:left}.van-tabs__content--animated{overflow:hidden}.van-tabs--line .van-tabs__wrap{height:var(--van-tabs-line-height)}.van-tabs--card>.van-tabs__wrap{height:var(--van-tabs-card-height)}.van-tab__panel,.van-tab__panel-wrapper{flex-shrink:0;box-sizing:border-box;width:100%}.van-tab__panel-wrapper--inactive{height:0;overflow:visible}:root{--van-cascader-header-height: 1.28rem;--van-cascader-header-padding: 0 var(--van-padding-md);--van-cascader-title-font-size: var(--van-font-size-lg);--van-cascader-title-line-height: .53333rem;--van-cascader-close-icon-size: .58667rem;--van-cascader-close-icon-color: var(--van-gray-5);--van-cascader-selected-icon-size: .48rem;--van-cascader-tabs-height: 1.28rem;--van-cascader-active-color: var(--van-primary-color);--van-cascader-options-height: 10.24rem;--van-cascader-option-disabled-color: var(--van-text-color-3);--van-cascader-tab-color: var(--van-text-color);--van-cascader-unselected-tab-color: var(--van-text-color-2)}.van-cascader__header{display:flex;align-items:center;justify-content:space-between;height:var(--van-cascader-header-height);padding:var(--van-cascader-header-padding)}.van-cascader__title{font-weight:var(--van-font-bold);font-size:var(--van-cascader-title-font-size);line-height:var(--van-cascader-title-line-height)}.van-cascader__close-icon{color:var(--van-cascader-close-icon-color);font-size:var(--van-cascader-close-icon-size)}.van-cascader__tabs.van-tabs--line .van-tabs__wrap{height:var(--van-cascader-tabs-height)}.van-cascader__tab{color:var(--van-cascader-tab-color);font-weight:var(--van-font-bold)}.van-cascader__tab--unselected{color:var(--van-cascader-unselected-tab-color);font-weight:400}.van-cascader__option{display:flex;align-items:center;justify-content:space-between;padding:.26667rem var(--van-padding-md);font-size:var(--van-font-size-md);line-height:var(--van-line-height-md);cursor:pointer}.van-cascader__option:active{background-color:var(--van-active-color)}.van-cascader__option--selected{color:var(--van-cascader-active-color);font-weight:var(--van-font-bold)}.van-cascader__option--disabled{color:var(--van-cascader-option-disabled-color);cursor:not-allowed}.van-cascader__option--disabled:active{background-color:transparent}.van-cascader__selected-icon{font-size:var(--van-cascader-selected-icon-size)}.van-cascader__options{box-sizing:border-box;height:var(--van-cascader-options-height);padding-top:.16rem;overflow-y:auto;-webkit-overflow-scrolling:touch}:root{--van-picker-background: var(--van-background-2);--van-picker-toolbar-height: 1.17333rem;--van-picker-title-font-size: var(--van-font-size-lg);--van-picker-title-line-height: var(--van-line-height-md);--van-picker-action-padding: 0 var(--van-padding-md);--van-picker-action-font-size: var(--van-font-size-md);--van-picker-confirm-action-color: var(--van-link-color);--van-picker-cancel-action-color: var(--van-text-color-2);--van-picker-option-font-size: var(--van-font-size-lg);--van-picker-option-padding: 0 var(--van-padding-base);--van-picker-option-text-color: var(--van-text-color);--van-picker-option-disabled-opacity: .3;--van-picker-loading-icon-color: var(--van-primary-color);--van-picker-loading-mask-color: rgba(255, 255, 255, .9);--van-picker-mask-color: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4)), linear-gradient(0deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4))}.van-theme-dark{--van-picker-mask-color: linear-gradient(180deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1)), linear-gradient(0deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1))}.van-picker{position:relative;background:var(--van-picker-background);-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-picker__toolbar{display:flex;align-items:center;justify-content:space-between;height:var(--van-picker-toolbar-height)}.van-picker__cancel,.van-picker__confirm{height:100%;padding:var(--van-picker-action-padding);font-size:var(--van-picker-action-font-size);background-color:transparent;border:none}.van-picker__confirm{color:var(--van-picker-confirm-action-color)}.van-picker__cancel{color:var(--van-picker-cancel-action-color)}.van-picker__title{color:var(--van-text-color);max-width:50%;font-weight:var(--van-font-bold);font-size:var(--van-picker-title-font-size);line-height:var(--van-picker-title-line-height);text-align:center}.van-picker__columns{position:relative;display:flex;cursor:grab}.van-picker__loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:flex;align-items:center;justify-content:center;color:var(--van-picker-loading-icon-color);background:var(--van-picker-loading-mask-color)}.van-picker__frame{position:absolute;top:50%;right:var(--van-padding-md);left:var(--van-padding-md);z-index:2;transform:translateY(-50%);pointer-events:none}.van-picker__mask{position:absolute;top:0;left:0;z-index:1;width:100%;height:100%;background-image:var(--van-picker-mask-color);background-repeat:no-repeat;background-position:top,bottom;transform:translateZ(0);pointer-events:none}.van-picker-column{flex:1;overflow:hidden;font-size:var(--van-picker-option-font-size)}.van-picker-column__wrapper{transition-timing-function:cubic-bezier(.23,1,.68,1)}.van-picker-column__item{display:flex;align-items:center;justify-content:center;padding:var(--van-picker-option-padding);color:var(--van-picker-option-text-color)}.van-picker-column__item--disabled{cursor:not-allowed;opacity:var(--van-picker-option-disabled-opacity)}:root{--van-picker-group-background: var(--van-background-2)}.van-picker-group{background:var(--van-picker-group-background)}.van-picker-group__tabs{margin-top:var(--van-padding-base)}.van-picker-group__tab-title{margin-right:.42667rem}:root{--van-calendar-background: var(--van-background-2);--van-calendar-popup-height: 80%;--van-calendar-header-shadow: 0 .05333rem .26667rem rgba(125, 126, 128, .16);--van-calendar-header-title-height: 1.17333rem;--van-calendar-header-title-font-size: var(--van-font-size-lg);--van-calendar-header-subtitle-font-size: var(--van-font-size-md);--van-calendar-weekdays-height: .8rem;--van-calendar-weekdays-font-size: var(--van-font-size-sm);--van-calendar-month-title-font-size: var(--van-font-size-md);--van-calendar-month-mark-color: rgba(242, 243, 245, .8);--van-calendar-month-mark-font-size: 4.26667rem;--van-calendar-day-height: 1.70667rem;--van-calendar-day-font-size: var(--van-font-size-lg);--van-calendar-day-margin-bottom: .10667rem;--van-calendar-range-edge-color: var(--van-white);--van-calendar-range-edge-background: var(--van-primary-color);--van-calendar-range-middle-color: var(--van-primary-color);--van-calendar-range-middle-background-opacity: .1;--van-calendar-selected-day-size: 1.44rem;--van-calendar-selected-day-color: var(--van-white);--van-calendar-info-font-size: var(--van-font-size-xs);--van-calendar-info-line-height: var(--van-line-height-xs);--van-calendar-selected-day-background: var(--van-primary-color);--van-calendar-day-disabled-color: var(--van-text-color-3);--van-calendar-confirm-button-height: .96rem;--van-calendar-confirm-button-margin: .18667rem 0}.van-theme-dark{--van-calendar-month-mark-color: rgba(100, 101, 102, .2);--van-calendar-day-disabled-color: var(--van-gray-7)}.van-calendar{display:flex;flex-direction:column;height:100%;background:var(--van-calendar-background)}.van-calendar__popup.van-popup--top,.van-calendar__popup.van-popup--bottom{height:var(--van-calendar-popup-height)}.van-calendar__popup.van-popup--left,.van-calendar__popup.van-popup--right{height:100%}.van-calendar__popup .van-popup__close-icon{top:.29333rem}.van-calendar__header{flex-shrink:0;box-shadow:var(--van-calendar-header-shadow)}.van-calendar__month-title,.van-calendar__header-title,.van-calendar__header-subtitle{color:var(--van-text-color);height:var(--van-calendar-header-title-height);font-weight:var(--van-font-bold);line-height:var(--van-calendar-header-title-height);text-align:center}.van-calendar__header-title{font-size:var(--van-calendar-header-title-font-size)}.van-calendar__header-subtitle{font-size:var(--van-calendar-header-subtitle-font-size)}.van-calendar__month-title{font-size:var(--van-calendar-month-title-font-size)}.van-calendar__weekdays{display:flex}.van-calendar__weekday{flex:1;font-size:var(--van-calendar-weekdays-font-size);line-height:var(--van-calendar-weekdays-height);text-align:center}.van-calendar__body{flex:1;overflow:auto;-webkit-overflow-scrolling:touch}.van-calendar__days{position:relative;display:flex;flex-wrap:wrap;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-calendar__month-mark{position:absolute;top:50%;left:50%;z-index:0;color:var(--van-calendar-month-mark-color);font-size:var(--van-calendar-month-mark-font-size);transform:translate(-50%,-50%);pointer-events:none}.van-calendar__day,.van-calendar__selected-day{display:flex;align-items:center;justify-content:center;text-align:center}.van-calendar__day{position:relative;width:14.285%;height:var(--van-calendar-day-height);font-size:var(--van-calendar-day-font-size);margin-bottom:var(--van-calendar-day-margin-bottom);cursor:pointer}.van-calendar__day--end,.van-calendar__day--start,.van-calendar__day--start-end,.van-calendar__day--multiple-middle,.van-calendar__day--multiple-selected{color:var(--van-calendar-range-edge-color);background:var(--van-calendar-range-edge-background)}.van-calendar__day--start{border-radius:var(--van-radius-md) 0 0 var(--van-radius-md)}.van-calendar__day--end{border-radius:0 var(--van-radius-md) var(--van-radius-md) 0}.van-calendar__day--start-end,.van-calendar__day--multiple-selected{border-radius:var(--van-radius-md)}.van-calendar__day--middle{color:var(--van-calendar-range-middle-color)}.van-calendar__day--middle:after{position:absolute;top:0;right:0;bottom:0;left:0;background-color:currentColor;opacity:var(--van-calendar-range-middle-background-opacity);content:""}.van-calendar__day--disabled{color:var(--van-calendar-day-disabled-color);cursor:default}.van-calendar__top-info,.van-calendar__bottom-info{position:absolute;right:0;left:0;font-size:var(--van-calendar-info-font-size);line-height:var(--van-calendar-info-line-height)}@media (max-width: 350px){.van-calendar__top-info,.van-calendar__bottom-info{font-size:.24rem}}.van-calendar__top-info{top:.16rem}.van-calendar__bottom-info{bottom:.16rem}.van-calendar__selected-day{width:var(--van-calendar-selected-day-size);height:var(--van-calendar-selected-day-size);color:var(--van-calendar-selected-day-color);background:var(--van-calendar-selected-day-background);border-radius:var(--van-radius-md)}.van-calendar__footer{flex-shrink:0;padding-left:var(--van-padding-md);padding-right:var(--van-padding-md)}.van-calendar__confirm{height:var(--van-calendar-confirm-button-height);margin:var(--van-calendar-confirm-button-margin)}:root{--van-address-edit-padding: var(--van-padding-sm);--van-address-edit-buttons-padding: var(--van-padding-xl) var(--van-padding-base);--van-address-edit-button-margin-bottom: var(--van-padding-sm);--van-address-edit-button-font-size: var(--van-font-size-lg)}.van-address-edit{padding:var(--van-address-edit-padding)}.van-address-edit__fields{overflow:hidden;border-radius:var(--van-padding-xs)}.van-address-edit__fields .van-field__label{width:4.1em}.van-address-edit__default{margin-top:var(--van-padding-sm);overflow:hidden;border-radius:var(--van-padding-xs)}.van-address-edit__buttons{padding:var(--van-address-edit-buttons-padding)}.van-address-edit__button{margin-bottom:var(--van-address-edit-button-margin-bottom);font-size:var(--van-address-edit-button-font-size)}.van-address-edit-detail__search-item{background:var(--van-gray-2)}.van-radio-group--horizontal,.van-checkbox-group--horizontal{display:flex;flex-wrap:wrap}:root{--van-checkbox-size: .53333rem;--van-checkbox-border-color: var(--van-gray-5);--van-checkbox-duration: var(--van-duration-fast);--van-checkbox-label-margin: var(--van-padding-xs);--van-checkbox-label-color: var(--van-text-color);--van-checkbox-checked-icon-color: var(--van-primary-color);--van-checkbox-disabled-icon-color: var(--van-gray-5);--van-checkbox-disabled-label-color: var(--van-text-color-3);--van-checkbox-disabled-background: var(--van-border-color)}.van-checkbox{display:flex;align-items:center;overflow:hidden;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-checkbox--disabled{cursor:not-allowed}.van-checkbox--label-disabled{cursor:default}.van-checkbox--horizontal{margin-right:var(--van-padding-sm)}.van-checkbox__icon{flex:none;height:1em;font-size:var(--van-checkbox-size);line-height:1em;cursor:pointer}.van-checkbox__icon .van-icon{display:block;box-sizing:border-box;width:1.25em;height:1.25em;color:transparent;font-size:.8em;line-height:1.25;text-align:center;border:.02667rem solid var(--van-checkbox-border-color);transition-duration:var(--van-checkbox-duration);transition-property:color,border-color,background-color}.van-checkbox__icon--round .van-icon{border-radius:100%}.van-checkbox__icon--checked .van-icon{color:var(--van-white);background-color:var(--van-checkbox-checked-icon-color);border-color:var(--van-checkbox-checked-icon-color)}.van-checkbox__icon--disabled{cursor:not-allowed}.van-checkbox__icon--disabled .van-icon{background-color:var(--van-checkbox-disabled-background);border-color:var(--van-checkbox-disabled-icon-color)}.van-checkbox__icon--disabled.van-checkbox__icon--checked .van-icon{color:var(--van-checkbox-disabled-icon-color)}.van-checkbox__label{margin-left:var(--van-checkbox-label-margin);color:var(--van-checkbox-label-color);line-height:var(--van-checkbox-size)}.van-checkbox__label--left{margin:0 var(--van-checkbox-label-margin) 0 0}.van-checkbox__label--disabled{color:var(--van-checkbox-disabled-label-color)}:root{--van-coupon-margin: 0 var(--van-padding-sm) var(--van-padding-sm);--van-coupon-content-height: 2.24rem;--van-coupon-content-padding: .37333rem 0;--van-coupon-content-text-color: var(--van-text-color);--van-coupon-background: var(--van-background-2);--van-coupon-active-background: var(--van-active-color);--van-coupon-radius: var(--van-radius-lg);--van-coupon-shadow: 0 0 .10667rem rgba(0, 0, 0, .1);--van-coupon-head-width: 2.56rem;--van-coupon-amount-color: var(--van-primary-color);--van-coupon-amount-font-size: .8rem;--van-coupon-currency-font-size: 40%;--van-coupon-name-font-size: var(--van-font-size-md);--van-coupon-disabled-text-color: var(--van-text-color-2);--van-coupon-description-padding: var(--van-padding-xs) var(--van-padding-md);--van-coupon-description-border-color: var(--van-border-color);--van-coupon-checkbox-color: var(--van-primary-color)}.van-coupon{margin:var(--van-coupon-margin);overflow:hidden;background:var(--van-coupon-background);border-radius:var(--van-coupon-radius);box-shadow:var(--van-coupon-shadow)}.van-coupon:active{background-color:var(--van-coupon-active-background)}.van-coupon__content{display:flex;align-items:center;box-sizing:border-box;min-height:var(--van-coupon-content-height);padding:var(--van-coupon-content-padding);color:var(--van-coupon-content-text-color)}.van-coupon__head{position:relative;min-width:var(--van-coupon-head-width);padding:0 var(--van-padding-xs);color:var(--van-coupon-amount-color);text-align:center}.van-coupon__amount,.van-coupon__condition,.van-coupon__name,.van-coupon__valid{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-coupon__amount{margin-bottom:.16rem;font-weight:var(--van-font-bold);font-size:var(--van-coupon-amount-font-size);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-coupon__amount span{font-size:var(--van-coupon-currency-font-size)}.van-coupon__amount span:not(:empty){margin-left:.05333rem}.van-coupon__condition{font-size:var(--van-font-size-sm);line-height:.42667rem;white-space:pre-wrap}.van-coupon__body{position:relative;flex:1}.van-coupon__name{margin-bottom:.26667rem;font-weight:var(--van-font-bold);font-size:var(--van-coupon-name-font-size);line-height:var(--van-line-height-md)}.van-coupon__valid{font-size:var(--van-font-size-sm)}.van-coupon__corner{position:absolute;top:0;right:var(--van-padding-md);bottom:0}.van-coupon__corner .van-checkbox__icon--checked .van-icon{background-color:var(--van-coupon-checkbox-color);border-color:var(--van-coupon-checkbox-color)}.van-coupon__description{padding:var(--van-coupon-description-padding);font-size:var(--van-font-size-sm);border-top:.02667rem dashed var(--van-coupon-description-border-color)}.van-coupon--disabled:active{background-color:var(--van-coupon-background)}.van-coupon--disabled .van-coupon-item__content{height:calc(var(--van-coupon-content-height) - .26667rem)}.van-coupon--disabled .van-coupon__head{color:inherit}:root{--van-radio-size: .53333rem;--van-radio-border-color: var(--van-gray-5);--van-radio-duration: var(--van-duration-fast);--van-radio-label-margin: var(--van-padding-xs);--van-radio-label-color: var(--van-text-color);--van-radio-checked-icon-color: var(--van-primary-color);--van-radio-disabled-icon-color: var(--van-gray-5);--van-radio-disabled-label-color: var(--van-text-color-3);--van-radio-disabled-background: var(--van-border-color)}.van-radio{display:flex;align-items:center;overflow:hidden;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-radio--disabled{cursor:not-allowed}.van-radio--label-disabled{cursor:default}.van-radio--horizontal{margin-right:var(--van-padding-sm)}.van-radio__icon{flex:none;height:1em;font-size:var(--van-radio-size);line-height:1em;cursor:pointer}.van-radio__icon .van-icon{display:block;box-sizing:border-box;width:1.25em;height:1.25em;color:transparent;font-size:.8em;line-height:1.25;text-align:center;border:.02667rem solid var(--van-radio-border-color);transition-duration:var(--van-radio-duration);transition-property:color,border-color,background-color}.van-radio__icon--round .van-icon{border-radius:100%}.van-radio__icon--checked .van-icon{color:var(--van-white);background-color:var(--van-radio-checked-icon-color);border-color:var(--van-radio-checked-icon-color)}.van-radio__icon--disabled{cursor:not-allowed}.van-radio__icon--disabled .van-icon{background-color:var(--van-radio-disabled-background);border-color:var(--van-radio-disabled-icon-color)}.van-radio__icon--disabled.van-radio__icon--checked .van-icon{color:var(--van-radio-disabled-icon-color)}.van-radio__label{margin-left:var(--van-radio-label-margin);color:var(--van-radio-label-color);line-height:var(--van-radio-size)}.van-radio__label--left{margin:0 var(--van-radio-label-margin) 0 0}.van-radio__label--disabled{color:var(--van-radio-disabled-label-color)}:root{--van-contact-list-edit-icon-size: .42667rem;--van-contact-list-add-button-z-index: 999;--van-contact-list-radio-color: var(--van-primary-color);--van-contact-list-item-padding: var(--van-padding-md)}.van-contact-list{box-sizing:border-box;height:100%;padding-bottom:2.13333rem}.van-contact-list__item{padding:var(--van-contact-list-item-padding)}.van-contact-list__item-title{display:flex;align-items:center;padding-right:var(--van-padding-xl);padding-left:var(--van-padding-xs)}.van-contact-list__item-tag{flex:none;margin-left:var(--van-padding-xs);padding-top:0;padding-bottom:0;line-height:1.4em}.van-contact-list__group{box-sizing:border-box;height:100%;overflow-y:scroll;-webkit-overflow-scrolling:touch}.van-contact-list__edit{font-size:var(--van-contact-list-edit-icon-size)}.van-contact-list__radio .van-radio__icon--checked .van-icon{background-color:var(--van-contact-list-radio-color);border-color:var(--van-contact-list-radio-color)}.van-contact-list__bottom{position:fixed;right:0;bottom:0;left:0;z-index:var(--van-contact-list-add-button-z-index);padding-left:var(--van-padding-md);padding-right:var(--van-padding-md);background-color:var(--van-background-2)}.van-contact-list__add{height:1.06667rem;margin:.13333rem 0}:root{--van-address-list-padding: var(--van-padding-sm) var(--van-padding-sm) 2.13333rem;--van-address-list-disabled-text-color: var(--van-text-color-2);--van-address-list-disabled-text-padding: calc(var(--van-padding-base) * 5) 0;--van-address-list-disabled-text-font-size: var(--van-font-size-md);--van-address-list-disabled-text-line-height: var(--van-line-height-md);--van-address-list-add-button-z-index: 999;--van-address-list-item-padding: var(--van-padding-sm);--van-address-list-item-text-color: var(--van-text-color);--van-address-list-item-disabled-text-color: var(--van-text-color-3);--van-address-list-item-font-size: .34667rem;--van-address-list-item-line-height: var(--van-line-height-sm);--van-address-list-radio-color: var(--van-primary-color);--van-address-list-edit-icon-size: .53333rem}.van-address-list{box-sizing:border-box;height:100%;padding:var(--van-address-list-padding)}.van-address-list__bottom{position:fixed;bottom:0;left:0;z-index:var(--van-address-list-add-button-z-index);box-sizing:border-box;width:100%;padding-left:var(--van-padding-md);padding-right:var(--van-padding-md);background-color:var(--van-background-2)}.van-address-list__add{height:1.06667rem;margin:.13333rem 0}.van-address-list__disabled-text{padding:var(--van-address-list-disabled-text-padding);color:var(--van-address-list-disabled-text-color);font-size:var(--van-address-list-disabled-text-font-size);line-height:var(--van-address-list-disabled-text-line-height)}.van-address-item{padding:var(--van-address-list-item-padding);background-color:var(--van-background-2);border-radius:var(--van-radius-lg)}.van-address-item:not(:last-child){margin-bottom:var(--van-padding-sm)}.van-address-item__title{padding-right:1.17333rem}.van-address-item__name{display:flex;align-items:center;margin-bottom:var(--van-padding-xs);font-size:var(--van-font-size-lg);line-height:var(--van-line-height-lg)}.van-address-item__tag{flex:none;margin-left:var(--van-padding-xs);padding-top:0;padding-bottom:0;line-height:1.4em}.van-address-item__address{color:var(--van-address-list-item-text-color);font-size:var(--van-address-list-item-font-size);line-height:var(--van-address-list-item-line-height)}.van-address-item--disabled .van-address-item__name,.van-address-item--disabled .van-address-item__address{color:var(--van-address-list-item-disabled-text-color)}.van-address-item__edit{position:absolute;top:50%;right:var(--van-padding-md);color:var(--van-gray-6);font-size:var(--van-address-list-edit-icon-size);transform:translateY(-50%)}.van-address-item .van-cell{padding:0}.van-address-item .van-radio__label{margin-left:var(--van-padding-sm)}.van-address-item .van-radio__icon--checked .van-icon{background-color:var(--van-address-list-radio-color);border-color:var(--van-address-list-radio-color)}:root{--van-cell-group-background: var(--van-background-2);--van-cell-group-title-color: var(--van-text-color-2);--van-cell-group-title-padding: var(--van-padding-md) var(--van-padding-md);--van-cell-group-title-font-size: var(--van-font-size-md);--van-cell-group-title-line-height: .42667rem;--van-cell-group-inset-padding: 0 var(--van-padding-md);--van-cell-group-inset-radius: var(--van-radius-lg);--van-cell-group-inset-title-padding: var(--van-padding-md) var(--van-padding-md)}.van-cell-group{background:var(--van-cell-group-background)}.van-cell-group--inset{margin:var(--van-cell-group-inset-padding);border-radius:var(--van-cell-group-inset-radius);overflow:hidden}.van-cell-group__title{padding:var(--van-cell-group-title-padding);color:var(--van-cell-group-title-color);font-size:var(--van-cell-group-title-font-size);line-height:var(--van-cell-group-title-line-height)}.van-cell-group__title--inset{padding:var(--van-cell-group-inset-title-padding)}:root{--van-circle-size: 2.66667rem;--van-circle-color: var(--van-primary-color);--van-circle-layer-color: var(--van-white);--van-circle-text-color: var(--van-text-color);--van-circle-text-font-weight: var(--van-font-bold);--van-circle-text-font-size: var(--van-font-size-md);--van-circle-text-line-height: var(--van-line-height-md)}.van-circle{position:relative;display:inline-block;width:var(--van-circle-size);height:var(--van-circle-size);text-align:center}.van-circle svg{position:absolute;top:0;left:0;width:100%;height:100%}.van-circle__layer{stroke:var(--van-circle-layer-color)}.van-circle__hover{fill:none;stroke:var(--van-circle-color);stroke-linecap:round}.van-circle__text{position:absolute;top:50%;left:0;box-sizing:border-box;width:100%;padding:0 var(--van-padding-base);color:var(--van-circle-text-color);font-weight:var(--van-circle-text-font-weight);font-size:var(--van-circle-text-font-size);line-height:var(--van-circle-text-line-height);transform:translateY(-50%)}.van-row{display:flex;flex-wrap:wrap}.van-row--nowrap{flex-wrap:nowrap}.van-row--justify-center{justify-content:center}.van-row--justify-end{justify-content:flex-end}.van-row--justify-space-between{justify-content:space-between}.van-row--justify-space-around{justify-content:space-around}.van-row--align-center{align-items:center}.van-row--align-bottom{align-items:flex-end}.van-col{display:block;box-sizing:border-box;min-height:.02667rem}.van-col--1{flex:0 0 4.16666667%;max-width:4.16666667%}.van-col--offset-1{margin-left:4.16666667%}.van-col--2{flex:0 0 8.33333333%;max-width:8.33333333%}.van-col--offset-2{margin-left:8.33333333%}.van-col--3{flex:0 0 12.5%;max-width:12.5%}.van-col--offset-3{margin-left:12.5%}.van-col--4{flex:0 0 16.66666667%;max-width:16.66666667%}.van-col--offset-4{margin-left:16.66666667%}.van-col--5{flex:0 0 20.83333333%;max-width:20.83333333%}.van-col--offset-5{margin-left:20.83333333%}.van-col--6{flex:0 0 25%;max-width:25%}.van-col--offset-6{margin-left:25%}.van-col--7{flex:0 0 29.16666667%;max-width:29.16666667%}.van-col--offset-7{margin-left:29.16666667%}.van-col--8{flex:0 0 33.33333333%;max-width:33.33333333%}.van-col--offset-8{margin-left:33.33333333%}.van-col--9{flex:0 0 37.5%;max-width:37.5%}.van-col--offset-9{margin-left:37.5%}.van-col--10{flex:0 0 41.66666667%;max-width:41.66666667%}.van-col--offset-10{margin-left:41.66666667%}.van-col--11{flex:0 0 45.83333333%;max-width:45.83333333%}.van-col--offset-11{margin-left:45.83333333%}.van-col--12{flex:0 0 50%;max-width:50%}.van-col--offset-12{margin-left:50%}.van-col--13{flex:0 0 54.16666667%;max-width:54.16666667%}.van-col--offset-13{margin-left:54.16666667%}.van-col--14{flex:0 0 58.33333333%;max-width:58.33333333%}.van-col--offset-14{margin-left:58.33333333%}.van-col--15{flex:0 0 62.5%;max-width:62.5%}.van-col--offset-15{margin-left:62.5%}.van-col--16{flex:0 0 66.66666667%;max-width:66.66666667%}.van-col--offset-16{margin-left:66.66666667%}.van-col--17{flex:0 0 70.83333333%;max-width:70.83333333%}.van-col--offset-17{margin-left:70.83333333%}.van-col--18{flex:0 0 75%;max-width:75%}.van-col--offset-18{margin-left:75%}.van-col--19{flex:0 0 79.16666667%;max-width:79.16666667%}.van-col--offset-19{margin-left:79.16666667%}.van-col--20{flex:0 0 83.33333333%;max-width:83.33333333%}.van-col--offset-20{margin-left:83.33333333%}.van-col--21{flex:0 0 87.5%;max-width:87.5%}.van-col--offset-21{margin-left:87.5%}.van-col--22{flex:0 0 91.66666667%;max-width:91.66666667%}.van-col--offset-22{margin-left:91.66666667%}.van-col--23{flex:0 0 95.83333333%;max-width:95.83333333%}.van-col--offset-23{margin-left:95.83333333%}.van-col--24{flex:0 0 100%;max-width:100%}.van-col--offset-24{margin-left:100%}:root{--van-count-down-text-color: var(--van-text-color);--van-count-down-font-size: var(--van-font-size-md);--van-count-down-line-height: var(--van-line-height-md)}.van-count-down{color:var(--van-count-down-text-color);font-size:var(--van-count-down-font-size);line-height:var(--van-count-down-line-height)}:root{--van-empty-padding: var(--van-padding-xl) 0;--van-empty-image-size: 4.26667rem;--van-empty-description-margin-top: var(--van-padding-md);--van-empty-description-padding: 0 1.6rem;--van-empty-description-color: var(--van-text-color-2);--van-empty-description-font-size: var(--van-font-size-md);--van-empty-description-line-height: var(--van-line-height-md);--van-empty-bottom-margin-top: .64rem}.van-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;padding:var(--van-empty-padding)}.van-empty__image{width:var(--van-empty-image-size);height:var(--van-empty-image-size)}.van-empty__image img{width:100%;height:100%}.van-empty__description{margin-top:var(--van-empty-description-margin-top);padding:var(--van-empty-description-padding);color:var(--van-empty-description-color);font-size:var(--van-empty-description-font-size);line-height:var(--van-empty-description-line-height)}.van-empty__bottom{margin-top:var(--van-empty-bottom-margin-top)}.van-theme-dark .van-empty{opacity:.5}:root{--van-coupon-list-background: var(--van-background);--van-coupon-list-field-padding: .13333rem 0 .13333rem var(--van-padding-md);--van-coupon-list-exchange-button-height: .85333rem;--van-coupon-list-close-button-height: 1.06667rem;--van-coupon-list-empty-tip-color: var(--van-text-color-2);--van-coupon-list-empty-tip-font-size: var(--van-font-size-md);--van-coupon-list-empty-tip-line-height: var(--van-line-height-md)}.van-coupon-list{position:relative;height:100%;background:var(--van-coupon-list-background)}.van-coupon-list__field{padding:var(--van-coupon-list-field-padding)}.van-coupon-list__field .van-field__body{height:.90667rem;padding-left:var(--van-padding-sm);line-height:.90667rem;background:var(--van-background);border-radius:var(--van-radius-max)}.van-coupon-list__field .van-field__body::-moz-placeholder{color:var(--van-text-color-3)}.van-coupon-list__field .van-field__body::placeholder{color:var(--van-text-color-3)}.van-coupon-list__field .van-field__clear{margin-right:0}.van-coupon-list__exchange-bar{display:flex;align-items:center;background-color:var(--van-background-2)}.van-coupon-list__exchange{flex:none;height:var(--van-coupon-list-exchange-button-height);font-size:var(--van-font-size-lg);line-height:calc(var(--van-coupon-list-exchange-button-height) - .05333rem);border:0}.van-coupon-list .van-tabs__wrap{box-shadow:0 .16rem .32rem -.32rem var(--van-gray-6)}.van-coupon-list__list{box-sizing:border-box;padding:var(--van-padding-md) 0 var(--van-padding-lg);overflow-y:auto;-webkit-overflow-scrolling:touch}.van-coupon-list__list--with-bottom{padding-bottom:1.33333rem}.van-coupon-list__bottom{position:absolute;bottom:0;left:0;z-index:999;box-sizing:border-box;width:100%;padding:.13333rem var(--van-padding-md);font-weight:var(--van-font-bold);background-color:var(--van-background-2)}.van-coupon-list__close{height:var(--van-coupon-list-close-button-height)}.van-coupon-list__empty-tip{color:var(--van-coupon-list-empty-tip-color);font-size:var(--van-coupon-list-empty-tip-font-size);line-height:var(--van-coupon-list-empty-tip-line-height)}:root{--van-divider-margin: var(--van-padding-md) 0;--van-divider-text-color: var(--van-text-color-2);--van-divider-font-size: var(--van-font-size-md);--van-divider-line-height: .64rem;--van-divider-border-color: var(--van-border-color);--van-divider-content-padding: var(--van-padding-md);--van-divider-content-left-width: 10%;--van-divider-content-right-width: 10%}.van-divider{display:flex;align-items:center;margin:var(--van-divider-margin);color:var(--van-divider-text-color);font-size:var(--van-divider-font-size);line-height:var(--van-divider-line-height);border-color:var(--van-divider-border-color);border-style:solid;border-width:0}.van-divider:before,.van-divider:after{display:block;flex:1;box-sizing:border-box;height:.02667rem;border-color:inherit;border-style:inherit;border-width:var(--van-border-width) 0 0}.van-divider:before{content:""}.van-divider--hairline:before,.van-divider--hairline:after{transform:scaleY(.5)}.van-divider--dashed{border-style:dashed}.van-divider--content-center:before,.van-divider--content-left:before,.van-divider--content-right:before{margin-right:var(--van-divider-content-padding)}.van-divider--content-center:after,.van-divider--content-left:after,.van-divider--content-right:after{margin-left:var(--van-divider-content-padding);content:""}.van-divider--content-left:before{max-width:var(--van-divider-content-left-width)}.van-divider--content-right:after{max-width:var(--van-divider-content-right-width)}:root{--van-dropdown-menu-height: 1.28rem;--van-dropdown-menu-background: var(--van-background-2);--van-dropdown-menu-shadow: 0 .05333rem .32rem rgba(100, 101, 102, .12);--van-dropdown-menu-title-font-size: .4rem;--van-dropdown-menu-title-text-color: var(--van-text-color);--van-dropdown-menu-title-active-text-color: var(--van-primary-color);--van-dropdown-menu-title-disabled-text-color: var(--van-text-color-2);--van-dropdown-menu-title-padding: 0 var(--van-padding-xs);--van-dropdown-menu-title-line-height: var(--van-line-height-lg);--van-dropdown-menu-option-active-color: var(--van-primary-color);--van-dropdown-menu-content-max-height: 80%}.van-dropdown-menu{-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-dropdown-menu__bar{position:relative;display:flex;height:var(--van-dropdown-menu-height);background:var(--van-dropdown-menu-background);box-shadow:var(--van-dropdown-menu-shadow)}.van-dropdown-menu__bar--opened{z-index:calc(var(--van-dropdown-item-z-index) + 1)}.van-dropdown-menu__item{display:flex;flex:1;align-items:center;justify-content:center;min-width:0}.van-dropdown-menu__item--disabled .van-dropdown-menu__title{color:var(--van-dropdown-menu-title-disabled-text-color)}.van-dropdown-menu__title{position:relative;box-sizing:border-box;max-width:100%;padding:var(--van-dropdown-menu-title-padding);color:var(--van-dropdown-menu-title-text-color);font-size:var(--van-dropdown-menu-title-font-size);line-height:var(--van-dropdown-menu-title-line-height)}.van-dropdown-menu__title:after{position:absolute;top:50%;right:-.10667rem;margin-top:-.13333rem;border:.08rem solid;border-color:transparent transparent var(--van-gray-4) var(--van-gray-4);transform:rotate(-45deg);opacity:.8;content:""}.van-dropdown-menu__title--active{color:var(--van-dropdown-menu-title-active-text-color)}.van-dropdown-menu__title--active:after{border-color:transparent transparent currentColor currentColor}.van-dropdown-menu__title--down:after{margin-top:-.02667rem;transform:rotate(135deg)}:root{--van-dropdown-item-z-index: 10}.van-dropdown-item{position:fixed;right:0;left:0;z-index:var(--van-dropdown-item-z-index);overflow:hidden}.van-dropdown-item__icon{display:block;line-height:inherit}.van-dropdown-item__option{text-align:left}.van-dropdown-item__option--active,.van-dropdown-item__option--active .van-dropdown-item__icon{color:var(--van-dropdown-menu-option-active-color)}.van-dropdown-item--up{top:0}.van-dropdown-item--down{bottom:0}.van-dropdown-item__content{position:absolute;max-height:var(--van-dropdown-menu-content-max-height)}.van-grid{display:flex;flex-wrap:wrap}:root{--van-grid-item-content-padding: var(--van-padding-md) var(--van-padding-xs);--van-grid-item-content-background: var(--van-background-2);--van-grid-item-content-active-color: var(--van-active-color);--van-grid-item-icon-size: .74667rem;--van-grid-item-text-color: var(--van-text-color);--van-grid-item-text-font-size: var(--van-font-size-sm)}.van-grid-item{position:relative;box-sizing:border-box}.van-grid-item--square{height:0}.van-grid-item__icon{font-size:var(--van-grid-item-icon-size)}.van-grid-item__text{color:var(--van-grid-item-text-color);font-size:var(--van-grid-item-text-font-size);line-height:1.5;word-break:break-all}.van-grid-item__icon+.van-grid-item__text{margin-top:var(--van-padding-xs)}.van-grid-item__content{display:flex;flex-direction:column;box-sizing:border-box;height:100%;padding:var(--van-grid-item-content-padding);background:var(--van-grid-item-content-background)}.van-grid-item__content:after{z-index:1;border-width:0 var(--van-border-width) var(--van-border-width) 0}.van-grid-item__content--square{position:absolute;top:0;right:0;left:0}.van-grid-item__content--center{align-items:center;justify-content:center}.van-grid-item__content--horizontal{flex-direction:row}.van-grid-item__content--horizontal .van-grid-item__text{margin:0 0 0 var(--van-padding-xs)}.van-grid-item__content--reverse{flex-direction:column-reverse}.van-grid-item__content--reverse .van-grid-item__text{margin:0 0 var(--van-padding-xs)}.van-grid-item__content--horizontal.van-grid-item__content--reverse{flex-direction:row-reverse}.van-grid-item__content--horizontal.van-grid-item__content--reverse .van-grid-item__text{margin:0 var(--van-padding-xs) 0 0}.van-grid-item__content--surround:after{border-width:var(--van-border-width)}.van-grid-item__content--clickable{cursor:pointer}.van-grid-item__content--clickable:active{background-color:var(--van-grid-item-content-active-color)}:root{--van-index-bar-sidebar-z-index: 2;--van-index-bar-index-font-size: var(--van-font-size-xs);--van-index-bar-index-line-height: var(--van-line-height-xs);--van-index-bar-index-active-color: var(--van-primary-color)}.van-index-bar__sidebar{position:fixed;top:50%;right:0;z-index:var(--van-index-bar-sidebar-z-index);display:flex;flex-direction:column;text-align:center;transform:translateY(-50%);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-index-bar__index{padding:0 var(--van-padding-xs) 0 var(--van-padding-md);font-weight:var(--van-font-bold);font-size:var(--van-index-bar-index-font-size);line-height:var(--van-index-bar-index-line-height)}.van-index-bar__index--active{color:var(--van-index-bar-index-active-color);font-weight:700}:root{--van-index-anchor-z-index: 1;--van-index-anchor-padding: 0 var(--van-padding-md);--van-index-anchor-text-color: var(--van-text-color);--van-index-anchor-font-weight: var(--van-font-bold);--van-index-anchor-font-size: var(--van-font-size-md);--van-index-anchor-line-height: .85333rem;--van-index-anchor-background: transparent;--van-index-anchor-sticky-text-color: var(--van-primary-color);--van-index-anchor-sticky-background: var(--van-background-2)}.van-index-anchor{z-index:var(--van-index-anchor-z-index);box-sizing:border-box;padding:var(--van-index-anchor-padding);color:var(--van-index-anchor-text-color);font-weight:var(--van-index-anchor-font-weight);font-size:var(--van-index-anchor-font-size);line-height:var(--van-index-anchor-line-height);background:var(--van-index-anchor-background)}.van-index-anchor--sticky{position:fixed;top:0;right:0;left:0;color:var(--van-index-anchor-sticky-text-color);background:var(--van-index-anchor-sticky-background)}:root{--van-pagination-height: 1.06667rem;--van-pagination-font-size: var(--van-font-size-md);--van-pagination-item-width: .96rem;--van-pagination-item-default-color: var(--van-primary-color);--van-pagination-item-disabled-color: var(--van-gray-7);--van-pagination-item-disabled-background: var(--van-background);--van-pagination-background: var(--van-background-2);--van-pagination-desc-color: var(--van-gray-7);--van-pagination-disabled-opacity: var(--van-disabled-opacity)}.van-pagination{font-size:var(--van-pagination-font-size)}.van-pagination__items{display:flex}.van-pagination__item,.van-pagination__page-desc{display:flex;align-items:center;justify-content:center}.van-pagination__item{flex:1;box-sizing:border-box;min-width:var(--van-pagination-item-width);height:var(--van-pagination-height);color:var(--van-pagination-item-default-color);background:var(--van-pagination-background);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-pagination__item button{flex:1;height:100%;border:none;padding:0;background:transparent}.van-pagination__item button[disabled]{cursor:not-allowed}.van-pagination__item:active{color:var(--van-white);background-color:var(--van-pagination-item-default-color)}.van-pagination__item:not(:last-child):after{border-right-width:0}.van-pagination__item--active{color:var(--van-white);background-color:var(--van-pagination-item-default-color)}.van-pagination__item--page{flex-grow:0}.van-pagination__item--prev,.van-pagination__item--next{padding:0 var(--van-padding-base);cursor:pointer}.van-pagination__item--border:after{border-width:var(--van-border-width)}.van-pagination__item--disabled{color:var(--van-pagination-item-disabled-color);background-color:var(--van-pagination-item-disabled-background);opacity:var(--van-pagination-disabled-opacity)}.van-pagination__page-desc{flex:1;height:var(--van-pagination-height);color:var(--van-pagination-desc-color)}:root{--van-password-input-height: 1.33333rem;--van-password-input-margin: 0 var(--van-padding-md);--van-password-input-font-size: .53333rem;--van-password-input-radius: .16rem;--van-password-input-background: var(--van-background-2);--van-password-input-info-color: var(--van-text-color-2);--van-password-input-info-font-size: var(--van-font-size-md);--van-password-input-error-info-color: var(--van-danger-color);--van-password-input-dot-size: .26667rem;--van-password-input-dot-color: var(--van-text-color);--van-password-input-text-color: var(--van-text-color);--van-password-input-cursor-color: var(--van-text-color);--van-password-input-cursor-width: .02667rem;--van-password-input-cursor-height: 40%;--van-password-input-cursor-duration: 1s}.van-password-input{position:relative;margin:var(--van-password-input-margin);-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-password-input__info,.van-password-input__error-info{margin-top:var(--van-padding-md);font-size:var(--van-password-input-info-font-size);text-align:center}.van-password-input__info{color:var(--van-password-input-info-color)}.van-password-input__error-info{color:var(--van-password-input-error-info-color)}.van-password-input__security{display:flex;width:100%;height:var(--van-password-input-height);cursor:pointer}.van-password-input__security:after{border-radius:var(--van-password-input-radius)}.van-password-input__security li{position:relative;display:flex;flex:1;align-items:center;justify-content:center;height:100%;color:var(--van-password-input-text-color);font-size:var(--van-password-input-font-size);line-height:1.2;background:var(--van-password-input-background)}.van-password-input__security i{position:absolute;top:50%;left:50%;width:var(--van-password-input-dot-size);height:var(--van-password-input-dot-size);background:var(--van-password-input-dot-color);border-radius:100%;transform:translate(-50%,-50%);visibility:hidden}.van-password-input__cursor{position:absolute;top:50%;left:50%;width:var(--van-password-input-cursor-width);height:var(--van-password-input-cursor-height);background:var(--van-password-input-cursor-color);transform:translate(-50%,-50%);animation:var(--van-password-input-cursor-duration) van-cursor-flicker infinite}@keyframes van-cursor-flicker{0%{opacity:0}50%{opacity:1}to{opacity:0}}:root{--van-progress-height: .10667rem;--van-progress-color: var(--van-primary-color);--van-progress-inactive-color: var(--van-gray-5);--van-progress-background: var(--van-gray-3);--van-progress-pivot-padding: 0 .13333rem;--van-progress-pivot-text-color: var(--van-white);--van-progress-pivot-font-size: var(--van-font-size-xs);--van-progress-pivot-line-height: 1.6;--van-progress-pivot-background: var(--van-primary-color)}.van-progress{position:relative;height:var(--van-progress-height);background:var(--van-progress-background);border-radius:var(--van-progress-height)}.van-progress__portion{position:absolute;left:0;width:100%;height:100%;background:var(--van-progress-color);border-radius:inherit;transform-origin:0;transition:all var(--van-duration-base) var(--van-ease-out)}.van-progress__portion--inactive{background:var(--van-progress-inactive-color)}.van-progress__pivot{position:absolute;top:50%;box-sizing:border-box;min-width:3.6em;padding:var(--van-progress-pivot-padding);color:var(--van-progress-pivot-text-color);font-size:var(--van-progress-pivot-font-size);line-height:var(--van-progress-pivot-line-height);text-align:center;word-break:keep-all;background:var(--van-progress-pivot-background);border-radius:1em;transition:all var(--van-duration-base) var(--van-ease-out)}.van-progress__pivot--inactive{background:var(--van-progress-inactive-color)}:root{--van-sidebar-width: 2.13333rem}.van-sidebar{width:var(--van-sidebar-width);overflow-y:auto;-webkit-overflow-scrolling:touch}:root{--van-sidebar-font-size: var(--van-font-size-md);--van-sidebar-line-height: var(--van-line-height-md);--van-sidebar-text-color: var(--van-text-color);--van-sidebar-disabled-text-color: var(--van-text-color-3);--van-sidebar-padding: .53333rem var(--van-padding-sm);--van-sidebar-active-color: var(--van-active-color);--van-sidebar-background: var(--van-background);--van-sidebar-selected-font-weight: var(--van-font-bold);--van-sidebar-selected-text-color: var(--van-text-color);--van-sidebar-selected-border-width: .10667rem;--van-sidebar-selected-border-height: .42667rem;--van-sidebar-selected-border-color: var(--van-primary-color);--van-sidebar-selected-background: var(--van-background-2)}.van-sidebar-item{position:relative;display:block;box-sizing:border-box;padding:var(--van-sidebar-padding);overflow:hidden;color:var(--van-sidebar-text-color);font-size:var(--van-sidebar-font-size);line-height:var(--van-sidebar-line-height);background:var(--van-sidebar-background);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-sidebar-item:active{background-color:var(--van-sidebar-active-color)}.van-sidebar-item:not(:last-child):after{border-bottom-width:.02667rem}.van-sidebar-item__text{word-break:break-all}.van-sidebar-item--select{color:var(--van-sidebar-selected-text-color);font-weight:var(--van-sidebar-selected-font-weight)}.van-sidebar-item--select,.van-sidebar-item--select:active{background-color:var(--van-sidebar-selected-background)}.van-sidebar-item--select:before{position:absolute;top:50%;left:0;width:var(--van-sidebar-selected-border-width);height:var(--van-sidebar-selected-border-height);background-color:var(--van-sidebar-selected-border-color);transform:translateY(-50%);content:""}.van-sidebar-item--disabled{color:var(--van-sidebar-disabled-text-color);cursor:not-allowed}.van-sidebar-item--disabled:active{background-color:var(--van-sidebar-background)}:root{--van-tree-select-font-size: var(--van-font-size-md);--van-tree-select-nav-background: var(--van-background);--van-tree-select-content-background: var(--van-background-2);--van-tree-select-nav-item-padding: .37333rem var(--van-padding-sm);--van-tree-select-item-height: 1.28rem;--van-tree-select-item-active-color: var(--van-primary-color);--van-tree-select-item-disabled-color: var(--van-gray-5);--van-tree-select-item-selected-size: .42667rem}.van-tree-select{position:relative;display:flex;font-size:var(--van-tree-select-font-size)}.van-tree-select__nav{flex:1;overflow-y:auto;background:var(--van-tree-select-nav-background);-webkit-overflow-scrolling:touch}.van-tree-select__nav-item{padding:var(--van-tree-select-nav-item-padding)}.van-tree-select__content{flex:2;overflow-y:auto;background:var(--van-tree-select-content-background);-webkit-overflow-scrolling:touch}.van-tree-select__item{position:relative;padding:0 .85333rem 0 var(--van-padding-md);font-weight:var(--van-font-bold);line-height:var(--van-tree-select-item-height);-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer}.van-tree-select__item--active{color:var(--van-tree-select-item-active-color)}.van-tree-select__item:active{background-color:var(--van-active-color)}.van-tree-select__item--disabled{color:var(--van-tree-select-item-disabled-color);cursor:not-allowed}.van-tree-select__item--disabled:active{background-color:transparent}.van-tree-select__selected{position:absolute;top:50%;right:var(--van-padding-md);margin-top:calc(var(--van-padding-xs) * -1);font-size:var(--van-tree-select-item-selected-size)}:root{--van-slider-active-background: var(--van-primary-color);--van-slider-inactive-background: var(--van-gray-3);--van-slider-disabled-opacity: var(--van-disabled-opacity);--van-slider-bar-height: .05333rem;--van-slider-button-width: .64rem;--van-slider-button-height: .64rem;--van-slider-button-radius: 50%;--van-slider-button-background: var(--van-white);--van-slider-button-shadow: 0 .02667rem .05333rem rgba(0, 0, 0, .5)}.van-theme-dark{--van-slider-inactive-background: var(--van-background-3)}.van-slider{position:relative;width:100%;height:var(--van-slider-bar-height);background:var(--van-slider-inactive-background);border-radius:var(--van-radius-max);cursor:pointer}.van-slider:before{position:absolute;top:calc(var(--van-padding-xs) * -1);right:0;bottom:calc(var(--van-padding-xs) * -1);left:0;content:""}.van-slider__bar{position:absolute;width:100%;height:100%;background:var(--van-slider-active-background);border-radius:inherit;transition:all var(--van-duration-fast)}.van-slider__button{width:var(--van-slider-button-width);height:var(--van-slider-button-height);background:var(--van-slider-button-background);border-radius:var(--van-slider-button-radius);box-shadow:var(--van-slider-button-shadow)}.van-slider__button-wrapper{position:absolute;cursor:grab;top:50%}.van-slider__button-wrapper--right{right:0;transform:translate3d(50%,-50%,0)}.van-slider__button-wrapper--left{left:0;transform:translate3d(-50%,-50%,0)}.van-slider--disabled{cursor:not-allowed;opacity:var(--van-slider-disabled-opacity)}.van-slider--disabled .van-slider__button-wrapper{cursor:not-allowed}.van-slider--vertical{display:inline-block;width:var(--van-slider-bar-height);height:100%}.van-slider--vertical .van-slider__button-wrapper--right{top:auto;right:50%;bottom:0;transform:translate3d(50%,50%,0)}.van-slider--vertical .van-slider__button-wrapper--left{top:0;right:50%;left:auto;transform:translate3d(50%,-50%,0)}.van-slider--vertical:before{top:0;right:calc(var(--van-padding-xs) * -1);bottom:0;left:calc(var(--van-padding-xs) * -1)}.van-space{display:inline-flex}.van-space--horizontal .van-space-item{display:flex;align-items:center}.van-space--vertical{flex-direction:column}.van-space--align-baseline{align-items:baseline}.van-space--align-start{align-items:flex-start}.van-space--align-end{align-items:flex-end}.van-space--align-center{align-items:center}.van-space--wrap{flex-wrap:wrap}.van-space--fill{display:flex}:root{--van-steps-background: var(--van-background-2)}.van-steps{overflow:hidden;background-color:var(--van-steps-background)}.van-steps--horizontal{padding:.26667rem .26667rem 0}.van-steps--horizontal .van-steps__items{position:relative;display:flex;margin:0 0 .26667rem;padding-bottom:.58667rem}.van-steps--vertical{padding:0 0 0 var(--van-padding-xl)}:root{--van-step-text-color: var(--van-text-color-2);--van-step-active-color: var(--van-primary-color);--van-step-process-text-color: var(--van-text-color);--van-step-font-size: var(--van-font-size-md);--van-step-line-color: var(--van-border-color);--van-step-finish-line-color: var(--van-primary-color);--van-step-finish-text-color: var(--van-text-color);--van-step-icon-size: .32rem;--van-step-circle-size: .13333rem;--van-step-circle-color: var(--van-gray-6);--van-step-horizontal-title-font-size: var(--van-font-size-sm)}.van-step{position:relative;flex:1;color:var(--van-step-text-color);font-size:var(--van-step-font-size)}.van-step__circle{display:block;width:var(--van-step-circle-size);height:var(--van-step-circle-size);background-color:var(--van-step-circle-color);border-radius:50%}.van-step__line{position:absolute;background-color:var(--van-step-line-color);transition:background-color var(--van-duration-base)}.van-step--horizontal{float:left}.van-step--horizontal:first-child .van-step__title{margin-left:0;transform:none}.van-step--horizontal:last-child{position:absolute;right:.02667rem;width:auto}.van-step--horizontal:last-child .van-step__title{margin-left:0;transform:none}.van-step--horizontal:last-child .van-step__circle-container{right:-.24rem;left:auto}.van-step--horizontal .van-step__circle-container{position:absolute;top:.8rem;left:calc(var(--van-padding-xs) * -1);z-index:1;padding:0 var(--van-padding-xs);background-color:var(--van-background-2);transform:translateY(-50%)}.van-step--horizontal .van-step__title{display:inline-block;margin-left:.08rem;font-size:var(--van-step-horizontal-title-font-size);transform:translate(-50%)}.van-step--horizontal .van-step__line{top:.8rem;left:0;width:100%;height:.02667rem}.van-step--horizontal .van-step__icon{display:block;font-size:var(--van-step-icon-size)}.van-step--horizontal .van-step--process{color:var(--van-step-process-text-color)}.van-step--vertical{display:block;float:none;padding:.26667rem .26667rem .26667rem 0;line-height:var(--van-line-height-sm)}.van-step--vertical:not(:last-child):after{border-bottom-width:.02667rem}.van-step--vertical .van-step__circle-container{position:absolute;top:.50667rem;left:-.4rem;z-index:1;font-size:var(--van-step-icon-size);line-height:1;transform:translate(-50%,-50%)}.van-step--vertical .van-step__line{top:.42667rem;left:-.4rem;width:.02667rem;height:100%}.van-step:last-child .van-step__line{width:0}.van-step--finish{color:var(--van-step-finish-text-color)}.van-step--finish .van-step__circle,.van-step--finish .van-step__line{background-color:var(--van-step-finish-line-color)}.van-step__icon,.van-step__title{transition:color var(--van-duration-base)}.van-step__icon--active,.van-step__title--active,.van-step__icon--finish,.van-step__title--finish{color:var(--van-step-active-color)}:root{--van-stepper-background: var(--van-active-color);--van-stepper-button-icon-color: var(--van-text-color);--van-stepper-button-disabled-color: var(--van-background);--van-stepper-button-disabled-icon-color: var(--van-gray-5);--van-stepper-button-round-theme-color: var(--van-primary-color);--van-stepper-input-width: .85333rem;--van-stepper-input-height: .74667rem;--van-stepper-input-font-size: var(--van-font-size-md);--van-stepper-input-line-height: normal;--van-stepper-input-text-color: var(--van-text-color);--van-stepper-input-disabled-text-color: var(--van-text-color-3);--van-stepper-input-disabled-background: var(--van-active-color);--van-stepper-radius: var(--van-radius-md)}.van-stepper{display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none}.van-stepper__minus,.van-stepper__plus{position:relative;box-sizing:border-box;width:var(--van-stepper-input-height);height:var(--van-stepper-input-height);margin:0;padding:0;color:var(--van-stepper-button-icon-color);vertical-align:middle;background:var(--van-stepper-background);border:0}.van-stepper__minus:before,.van-stepper__plus:before{width:50%;height:.02667rem}.van-stepper__minus:after,.van-stepper__plus:after{width:.02667rem;height:50%}.van-stepper__minus:before,.van-stepper__plus:before,.van-stepper__minus:after,.van-stepper__plus:after{position:absolute;top:50%;left:50%;background-color:currentColor;transform:translate(-50%,-50%);content:""}.van-stepper__minus--disabled,.van-stepper__plus--disabled{color:var(--van-stepper-button-disabled-icon-color);background-color:var(--van-stepper-button-disabled-color);cursor:not-allowed}.van-stepper__minus{border-radius:var(--van-stepper-radius) 0 0 var(--van-stepper-radius)}.van-stepper__minus:after{display:none}.van-stepper__plus{border-radius:0 var(--van-stepper-radius) var(--van-stepper-radius) 0}.van-stepper__input{box-sizing:border-box;width:var(--van-stepper-input-width);height:var(--van-stepper-input-height);margin:0 .05333rem;padding:0;color:var(--van-stepper-input-text-color);font-size:var(--van-stepper-input-font-size);line-height:var(--van-stepper-input-line-height);text-align:center;vertical-align:middle;background:var(--van-stepper-background);border:0;border-width:.02667rem 0;border-radius:0;-webkit-appearance:none}.van-stepper__input:disabled{color:var(--van-stepper-input-disabled-text-color);background-color:var(--van-stepper-input-disabled-background);-webkit-text-fill-color:var(--van-stepper-input-disabled-text-color);opacity:1}.van-stepper__input:-moz-read-only{cursor:default}.van-stepper__input:read-only{cursor:default}.van-stepper--round .van-stepper__input{background-color:transparent}.van-stepper--round .van-stepper__plus,.van-stepper--round .van-stepper__minus{border-radius:100%}.van-stepper--round .van-stepper__plus--disabled,.van-stepper--round .van-stepper__minus--disabled{opacity:.3;cursor:not-allowed}.van-stepper--round .van-stepper__plus{color:var(--van-white);background:var(--van-stepper-button-round-theme-color)}.van-stepper--round .van-stepper__minus{color:var(--van-stepper-button-round-theme-color);background-color:var(--van-background-2);border:.02667rem solid var(--van-stepper-button-round-theme-color)}.van-swipe-cell{position:relative;overflow:hidden;cursor:grab}.van-swipe-cell__wrapper{transition-timing-function:cubic-bezier(.18,.89,.32,1);transition-property:transform}.van-swipe-cell__left,.van-swipe-cell__right{position:absolute;top:0;height:100%}.van-swipe-cell__left{left:0;transform:translate3d(-100%,0,0)}.van-swipe-cell__right{right:0;transform:translate3d(100%,0,0)}:root{--van-tabbar-height: 1.33333rem;--van-tabbar-z-index: 1;--van-tabbar-background: var(--van-background-2)}.van-tabbar{z-index:var(--van-tabbar-z-index);display:flex;box-sizing:content-box;width:100%;height:var(--van-tabbar-height);background:var(--van-tabbar-background)}.van-tabbar--fixed{position:fixed;bottom:0;left:0}:root{--van-tabbar-item-font-size: var(--van-font-size-sm);--van-tabbar-item-text-color: var(--van-text-color);--van-tabbar-item-active-color: var(--van-primary-color);--van-tabbar-item-active-background: var(--van-background-2);--van-tabbar-item-line-height: 1;--van-tabbar-item-icon-size: .58667rem;--van-tabbar-item-icon-margin-bottom: var(--van-padding-base)}.van-tabbar-item{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;color:var(--van-tabbar-item-text-color);font-size:var(--van-tabbar-item-font-size);line-height:var(--van-tabbar-item-line-height);cursor:pointer}.van-tabbar-item__icon{margin-bottom:var(--van-tabbar-item-icon-margin-bottom);font-size:var(--van-tabbar-item-icon-size)}.van-tabbar-item__icon .van-icon{display:block}.van-tabbar-item__icon .van-badge{margin-top:var(--van-padding-base)}.van-tabbar-item__icon img{display:block;height:.53333rem}.van-tabbar-item--active{color:var(--van-tabbar-item-active-color);background-color:var(--van-tabbar-item-active-background)}/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:.02667rem dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-.05333rem}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.lottie-animation-container{width:var(--lottie-animation-container-width);height:var(--lottie-animation-container-height);background-color:var(--lottie-animation-container-background-color);overflow:hidden;margin:0 auto}@font-face{font-family:iconfont;src:url(data:font/woff2;base64,d09GMgABAAAAAAQEAAsAAAAACMAAAAO1AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHFQGYACDKgqERINyATYCJAMUCwwABCAFhGcHWhueB8gekiRFggQUiKBKgSFABNXavz0L95kcQqIIHZGKIjAGwUZYAhXlU5GsItT735yq1CkAqx0Bnkqs2l+KY5ysATCcAOi4l2oQ+eNe1cxp33PPIpwL4lwDg8FYLhqggO3VtUEK3itQRbGL7K5ALPI5Ap02deZ3qPfAPBRxiwgTpXAze4OkNm6pjKAgwaw0sEO7roFuLVOueSrpcboFeRn8fPzTPIJIamaecuJKLwWdex/38as0rjWO/J3XI+DpCRUZqyuzxo1m9yVSlF4l6axKum2D6Oh2iZ/x7xM/fvX5CCFOuitnu07rHx5ZERLRMNXdBL8vU/gZ53DJ/IwXV2kSMZfg91ezRLF1difa8Qm/EX5WnU+7KMVETFhTq4BFjDv7+LGNzCx8+hQZX/DkCTIj79GjjzKqFh3ascMl3X679XA8Wbx83LKRETNexcPimYls6YqRW9fuqV2wZEeCw5mxLS5vUdGq1fH5i5dHhcu3H04sXDoz8yc3H92bUrBkZWJeyIw343eGhj59PW5bP15sWuYby7NQUbt09uzS2hV17tkCXxAL0v3rVNyr+K6356QcfuZeWLQ3OuyFZymHrv7DX1DLO3nzIq8+6TuKJQztM2rGVd32341MP+j8fN8u056NPZ99fqz3mU5e/fxr8zz75u5tK2Zk1PueefZg9Icn9uWMy+4jS05Obl33e+OZ278cnhXNsmj0rCiaxVCXk3cjw79eHASl4y3SoPsk12LayT18Te4G+p9c3LrgyJi5HGNnCjwRTgyDtEzjuHL4GyFf9stDqHW01JGcAB30GheCW//Vrozs+C8otIAfM+7fQ+L+2DriHykBi3978Hzp6TO7uRc0ISkqKKpFiuaQIzbY1S6ttyb5wbI/nWfQ83G0Q2C1v64dSiBpMwVZu2l0wS9D1WUrNNrthk4reu3uMsQmidKBeRMRhH7bIen1DbJ+V9EF/xSqUR+g0e8/dDoX4cd1mQ+5BwciQMHVw7EqWya1dSIYNgfYYJ3wskQBcEfFMdyscdN8rg+YwIdY4QxhzYWgmHLLwL25m4GuW9jmlhdk0dgjhN2+SRNa9SWNZctAPXCAEIACqzYcppJZTNTrLLK/LwdgBtMRHIgucHIOFZHhsWYaawpA91GboLYrGe0YgmlOECidRXEWA9ZbcwLdSlswu3qSF5AJjXl6JG3tNSGdKFTdeH6t8YAHoJP5lTVS5ChRo9FcUIk5YnCITDiIRoo11Ax1BOGVRBbqEAhLWhWgZLAuEAIAAAA=) format("woff2"),url(data:font/woff;base64,d09GRgABAAAAAAWUAAsAAAAACMAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAARAAAAGA8KUvXY21hcAAAAYgAAABpAAABquvouiNnbHlmAAAB9AAAAYQAAAJEpOj6BGhlYWQAAAN4AAAAMQAAADYgWucGaGhlYQAAA6wAAAAeAAAAJAgFA8lobXR4AAADzAAAABQAAAAUFIj//2xvY2EAAAPgAAAADAAAAAwBDgGIbWF4cAAAA+wAAAAfAAAAIAESAEhuYW1lAAAEDAAAAUAAAAJnEKM8sHBvc3QAAAVMAAAARgAAAFqzdzoJeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGGRZpzAwMrAwNTJdIaBgaEfQjO+ZjBi5ACKMrAyM2AFAWmuKQwHnom8eMPc8L+BgYH5DgOQZGBEUcQEAIl0DX14nO2QwQ2AIBAE9wCNIT4lNGEBPi3Gl4UTHvSAe4d24ZIhtwv3WQATAE92EgC5IVBdTMVyj2h5wEG/8DigpJJr653T9k0m4XvUDe4FOv6VGb9Wu8/XBe1toO2XNLA8D7T92gZwD3aKF6YAAAB4nKXOMUvDQBgG4Psu8XJJekmuxFy0aTSpJLVKhVLTQahrBceOhU6CqIPiLCiOlvo7XHRS/4W6iT/ATZAOjrZeFEEcdfg+3uF94UHKZDI5VkE5QQjNoCWEIHJFCMJrtNrQypppHdIk1izQCAML6rDKm23wxFQILsFojKrpsNd/6PeGafVHxHfjZysKOQ8jC0rMtuF4+3fnM57f6MDLHHZ42QH9mgbzAQJpQcoW7iIz98REgORAliid932b6bCheRQ6OsNd3xyfUgpHpi8nGKHJrZoqh2gFrcllG5IVKc4vJrbUy8PeHIQykBCvQ9aYA68tC0nW0ipx0szWoOG5RHU5DvyR5ZM9Wo7LdFcT9sgpGZRdGjqu4UIQ248sZI/e8oy6qOjmy4ALwQeOEHDv1BfUCubsySkWnSdWxBXsRVHhwizZr868i+kBIQdmIRGvdmBs+pEQkf9tp/+3K28cAiHt2p72ZfetEZ81aOEqtyvs2z69PKvWsG68nOX2/P3R/gFepmFIeJxjYGRgYADimo+8avH8Nl8ZuFkYQOBe18UWGP3///8GFnXmRiCXg4EJJAoAVioNAQAAAHicY2BkYGBu+N/AEMPi8h8IWNQZgCIogBUAqjoG1QAABAAAAAQA//8EAAAABEQAAAREAAAAAAAAAEoAZgDEASJ4nGNgZGBgYGWwYWBmAAEmIOYCQgaG/2A+AwAO8gFbAHichZE9bsJAEIWfwZAElChKpDRpVikoEsn8lEipUKCnoAez5ke211ovSNQ5TY6QE+QI6Whzikh52EMDRbza2W/evpkdyQDusIeH8rvnLtnDJbOSK7jAo3CV+pOwT34WrqGJnnCd+qtwAy94E26yY8YOnn/FrIV3YQ+3+BCu4AafwlXqX8I++Vu4hgf8CNep/wo3MPGuhZtoeeHA6qnTczXbqVVo0sik7niO9WITT+2pPNE2X5lUdYPOURrpVNtjm3y76DkXqciaRA15q+PYqMyatQ5dsHQu67fbkehBaBIMYKExhWOcQ2GGHeMKIQxSREV0Z/mY7gU2iFlp/3VP6LbIqR9yhS4CdM5cI7rSwnk6TY4tX+tRdXQrbsuahDSUWs1JYrLiDzzcramE1AMsi6oMfbS5ohN/UMyQ/AHYk29XeJxjYGKAAC4G7ICVkYmRmZGFkZWRjYEtKTMxr6qUKzmxKLVENyW/PI+7uCSxKD4xuSSzLJUHzE5JTUsszSlhYAAAgoEQYgAA) format("woff"),url(data:font/ttf;base64,AAEAAAALAIAAAwAwR1NVQiCLJXoAAAE4AAAAVE9TLzI8KUvXAAABjAAAAGBjbWFw6+i6IwAAAgAAAAGqZ2x5ZqTo+gQAAAO4AAACRGhlYWQgWucGAAAA4AAAADZoaGVhCAUDyQAAALwAAAAkaG10eBSI//8AAAHsAAAAFGxvY2EBDgGIAAADrAAAAAxtYXhwARIASAAAARgAAAAgbmFtZRCjPLAAAAX8AAACZ3Bvc3SzdzoJAAAIZAAAAFoAAQAAA4D/gABcBET/////BCcAAQAAAAAAAAAAAAAAAAAAAAUAAQAAAAEAAHzxDSZfDzz1AAsEAAAAAADeitGEAAAAAN6K0YT///+ABCcDgQAAAAgAAgAAAAAAAAABAAAABQA8AAMAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKADAAPgACREZMVAAObGF0bgAaAAQAAAAAAAAAAQAAAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAQEGwGQAAUAAAKJAswAAACPAokCzAAAAesAMgEIAAACAAUDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBmRWQAwOYU6OwDgP+AAAAD3ACAAAAAAQAAAAAAAAAAAAAAAAACBAAAAAQA//8EAAAABEQAAAREAAAAAAAFAAAAAwAAACwAAAAEAAABagABAAAAAABkAAMAAQAAACwAAwAKAAABagAEADgAAAAIAAgAAgAA5hXmF+js//8AAOYU5hfo7P//AAAAAAAAAAEACAAKAAoAAAADAAQAAQACAAABBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAABAAAAAAAAAAAQAAOYUAADmFAAAAAMAAOYVAADmFQAAAAQAAOYXAADmFwAAAAEAAOjsAADo7AAAAAIAAAAAAAAASgBmAMQBIgAD////gAQBA4EAAAAZACsAAAEhFBceARcWMjc+ATc2NCcuAScmIgcOAQcGDQEOAS4BNRE0PgEWFwUeARQGAgD+ACgnjlxf0F9cjicoKCeOXF/QX1yOJygCzv7lDiEeEREeIQ4BGw0PDwGAaF9cjicoKCeOXF/QX1yOJygoJ45cX4+2CQERHREBahEdEAEJtQgcIBwAAQAAAAADZQJUAAsAAAEhIgYXARYyNwE2JgNI/XAPDQkBSQcWCAFICQ0CVBgL/oMICAF9CxgAAAACAAD/twQnA3MALwA7AAABPgEmLwEuAS8BLgEiBg8BDgEPAQ4CFh8BHgEPAQYeAj8BNjIfARY+AS8BJjY3ByMiJjQ2OwEyFhQGBBQRAhwY8Q4YBmwIHSIdCGsHFw/xEBsKCA2uCgkCKgIMHCIP1w0eDdcWLBkEKQMJC+yMERcXEYwQFxcBzxAuJAQjAhEN2RASEhDZDRICIwIWISEMqQsbD+8QIBQCCHEGBnELDCYX7w8cCkwYIRcXIRgAAAIAAP+3BAgDcwAvADsAAAE+ASYvAS4BLwEuASIGDwEOAQ8BDgIWHwEeAQ8BBh4CPwE2Mh8BFj4BLwEmNjcHIyImNDY7ATIWFAYD9REBHBfxDhgHbAcdIh0IawcYDvERGgoIDK8KCQIqAw0cIg/XDR4N1xUsGgQqAgkK7IsRFxcRixEXFwHPEC4kBCMCEQ3ZEBISENkNEgIjAhYhIQypCxsP7xAgFAIIcQYGcQsMJhfvDxwKTBghFxchGAAAAAASAN4AAQAAAAAAAAATAAAAAQAAAAAAAQAIABMAAQAAAAAAAgAHABsAAQAAAAAAAwAIACIAAQAAAAAABAAIACoAAQAAAAAABQALADIAAQAAAAAABgAIAD0AAQAAAAAACgArAEUAAQAAAAAACwATAHAAAwABBAkAAAAmAIMAAwABBAkAAQAQAKkAAwABBAkAAgAOALkAAwABBAkAAwAQAMcAAwABBAkABAAQANcAAwABBAkABQAWAOcAAwABBAkABgAQAP0AAwABBAkACgBWAQ0AAwABBAkACwAmAWNDcmVhdGVkIGJ5IGljb25mb250aWNvbmZvbnRSZWd1bGFyaWNvbmZvbnRpY29uZm9udFZlcnNpb24gMS4waWNvbmZvbnRHZW5lcmF0ZWQgYnkgc3ZnMnR0ZiBmcm9tIEZvbnRlbGxvIHByb2plY3QuaHR0cDovL2ZvbnRlbGxvLmNvbQBDAHIAZQBhAHQAZQBkACAAYgB5ACAAaQBjAG8AbgBmAG8AbgB0AGkAYwBvAG4AZgBvAG4AdABSAGUAZwB1AGwAYQByAGkAYwBvAG4AZgBvAG4AdABpAGMAbwBuAGYAbwBuAHQAVgBlAHIAcwBpAG8AbgAgADEALgAwAGkAYwBvAG4AZgBvAG4AdABHAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAHMAdgBnADIAdAB0AGYAIABmAHIAbwBtACAARgBvAG4AdABlAGwAbABvACAAcAByAG8AagBlAGMAdAAuAGgAdAB0AHAAOgAvAC8AZgBvAG4AdABlAGwAbABvAC4AYwBvAG0AAAIAAAAAAAAACgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQECAQMBBAEFAQYABmJpYW56dQpjYXJldC1kb3duC3N0YXJfYWN0aXZlDHN0YXJfZGVmYXVsdAAAAAA=) format("truetype")}.iconfont{font-family:iconfont!important;font-size:.42667rem;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.iconfont-upload:before{content:"\\e617"}.iconfont-down:before{content:"\\e8ec"}.iconfont-star_active:before{content:"\\e614"}.iconfont-star_default:before{content:"\\e615"}:root{--van-gray-8: #333;--van-primary: #ff8057 !important;--van-picker-confirm-action-color: #ff8057 !important;--van-primary-text: #f67146 !important;--van-primary-color: var(--van-primary) !important;--van-cell-group-inset-padding: 0 .34667rem;--van-tag-default-color: #f8f8f8 !important;--van-tag-text-default-color: #c0c0c0;--van-tabs-bottom-bar-width: .53333rem;--col-background-color: #f6f8f9;--white: #fff;--tips-color: #999;--strong--color: #ff4e19;--box-shadow-color: rgba(0, 0, 0, .05);--tag-border-color: #2dc7aa;--tag-bg-color: #e9fff8;--tag-color: #2dc7aa}*{padding:0;margin:0;border:0}#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#333;min-height:100vh}body{background-color:#f6f6f6;-webkit-user-select:none;-moz-user-select:none;user-select:none;margin-top:0!important}.mb12{margin-bottom:.32rem!important}.btnGroup{padding:0 .66667rem;padding-bottom:calc(.53333rem + env(safe-area-inset-bottom))}.btnGroup .van-button{font-size:.48rem!important;font-weight:500}.btnMore{padding-left:.34667rem;padding-right:.34667rem;display:flex!important;justify-content:center!important}.btnMore .van-button{width:100%!important}.btnMore .van-button+.van-button{margin-left:.4rem}.form-control-icon .van-cell__right-icon{color:#fff!important}.sticky{position:relative}.sticky .van-sticky{height:inherit!important;top:var(--van-sticky-z-index)!important;position:fixed;width:100%}.sticky :global(.van-sticky--fixed){box-shadow:.26667rem .26667rem .26667rem var(--box-shadow-color)}.van-toast{z-index:9999!important}.van-sticky--fixed{position:fixed;z-index:1999}:root{--music-list-item-background-color: #fff;--music-list-item-title-color: #333;--music-list-item-desc-color: #333;--music-list-item-mate-color: #6a6a6a;--music-list-item-border-color: #f1f1f1;--music-list-item-vip-bg: #fff1cd;--music-list-item-vip-color: #ff6c00;--music-list-item-free-bg: #fff1e7;--music-list-item-free-color: #ff4700;--music-list-item-charge-bg: #e1f0ff;--music-list-item-charge-color: #0086ff;--van-overlay-background: rgba(0, 0, 0, .4)}.appRootToast .van-overlay{background:#fff;z-index:2999!important}.appRootToast .van-fade-enter-from,.appRootToast .van-fade-enter-active{animation:none}.appRootToast .van-toast__text{width:2.66667rem;height:2.66667rem;color:#fff;display:flex;align-items:center;flex-direction:column;justify-content:center}.appRootToast .van-toast--text{background-color:transparent;z-index:2999!important}.appRootToast .toastAnimate{width:1.86667rem;height:1.86667rem}.appRootToastCenter .van-overlay{background:rgba(0,0,0,.4);z-index:2999!important}.appRootToastCenter .van-fade-enter-from,.appRootToastCenter .van-fade-enter-active{animation:none}.appRootToastCenter .van-toast__text{width:2.66667rem;height:2.66667rem;color:#fff;display:flex;align-items:center;flex-direction:column;justify-content:center}.appRootToastCenter .van-toast--text{background-color:#fff;z-index:2999!important}.appRootToastCenter .toastAnimate{width:1.86667rem;height:1.86667rem}.cell-section{width:auto;border-radius:.16rem;margin:0 .34667rem;padding:.4rem .32rem}.van-cell__right-icon{font-size:.34667rem;font-weight:700;color:#d8d8d8}.van-field__control{font-size:.42667rem}@font-face{font-family:DINA;src:url(./assets/DIN_Alternate_Bold.a17c25bc.ttf)}.emptyRootContainer{display:flex;align-items:center;justify-content:center;min-height:100vh;flex-direction:column}.emptyRootContainer .o-result-container{flex:1 auto;display:flex;align-items:center}input{caret-color:#ff8057}.emptyFixedHeightContainer{position:absolute;left:0;right:0;bottom:0;top:0;display:flex;justify-content:center;align-items:center;padding:0}.emptyFixedHeightContainer .van-empty{transform:translateY(-15%)}.gridBorderRight:after{content:" ";position:absolute;box-sizing:border-box;height:1.06667rem;pointer-events:none;top:50%;margin-top:-.53333rem;right:0;border:.02667rem solid var(--van-border-color);transform:scale(.5)}.popupBottomSearch{--van-picker-toolbar-height: 1.17333rem !important}.popupBottomSearch .van-picker__toolbar{position:relative}.popupBottomSearch .van-picker__toolbar:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:.02667rem solid var(--van-cell-border-color);transform:scaleY(.5)}.popupBottomSearch .van-picker__columns{padding:0 .64rem}.popupBottomSearch .van-picker-column{position:relative;z-index:1}.popupBottomSearch .van-picker__frame{z-index:0}.popupBottomSearch .van-picker__frame:after{background:#f2f2f2;border-radius:.21333rem}.searchGroupInput .van-search{padding-bottom:0!important}.searchGroup{padding:0 .34667rem!important;line-height:1.17333rem;background-color:#fff;display:flex;align-items:center;justify-content:space-around}.searchGroup .searchItem{display:inline-block;font-size:.37333rem;font-weight:400;color:#333;display:flex;align-items:center;justify-content:center}.searchGroup .searchItem.searchItem-active{color:var(--van-primary)}.searchGroup .searchItem.searchItem-active .arrow{margin-top:-.02667rem;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAKCAYAAAC5Sw6hAAAAAXNSR0IArs4c6QAAAP5JREFUKFOV0TEvQ1EYxvH/c6WdiI2Y+QSMXbow1agtSVdmMUiI3HMjJJburE1oGZlYuhj5BMzCJkxt3Feu2ytKb6+e4SzP8/6Sc16RcSwoL0cV+eeXw6oaFpqrroE14o5qcs3TtH4qZMHqIhZeAfnecAd5JflnN4OwgZAdVObpWhs00T9kb+RU1G7r/jf2B7L9yiwf3ALTKc94ZoyC9lqPP/M+yFxtCjoRMpexgwfIF+QaL0nvGzK3Mg5eG1jI2mQvv4OwKHfx/rWK6LLj9RxPr9HHLv0TSWrXzEyWtHHSjaGgXMe0OSKS1Otyra0YctVDsG3AGxELkY7kN3c+AXzSRQveG9tuAAAAAElFTkSuQmCC) no-repeat center center;background-size:100%}.searchGroup .searchItem span{max-width:2.13333rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.searchGroup .searchItem.searchItem-large span{max-width:3.2rem}.searchGroup .searchItem.searchItem-normal span{max-width:2.66667rem}.searchGroup .arrow{display:inline-block;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAKCAYAAAC5Sw6hAAAAAXNSR0IArs4c6QAAARBJREFUKFOV0a1Ow1AUB/D/aQuKmQp4AHgCkDMzQw3Tpvc2JOhqMEt4ABIM09UkpLdNa5gCg0HCE8ADgKgBNdre5SxlgW0d9Jibc+85v/tFAKCUuiCiIQCD8xZRaa0vpZTnxE1JklxprU9bAPNSIhp5nnc2g8Iw3LBte6y1PmyDEdFdnueDIAi+ZhBHHMdbAB4AHPwTewLQE0J8cv0c4iTLsu2iKB4B7P2BvViW1XUc5/277hfEk1EU7RqGwdhOA/ZWVVXX9/3Xn+tLEC+mabpfliVfs7OAfZim2XNd93lxk5VQ/WZ9AGMAm3XTBMBACHG/6qSNUI0dA7iuG0+EEDdNb7cW4ial1BGPUsrbdR8wBQqHTQv5JatLAAAAAElFTkSuQmCC) no-repeat center center;background-size:contain;width:.24rem;height:.13333rem;margin-left:.08rem}.searchGroup-single{padding:.32rem .34667rem!important}.searchGroup-single .searchItem{position:relative;box-sizing:border-box;max-width:100%;padding:0 .64rem 0 .34667rem;background-color:#fff;border-radius:.42667rem;font-size:.37333rem;color:#333;height:.85333rem;line-height:.85333rem;display:inline-flex;align-items:center}.searchGroup-single .searchItem:after{position:absolute;top:50%;right:.34667rem;margin-top:-.13333rem;border:.08rem solid;border-color:transparent transparent #aaaaaa #aaaaaa;transform:rotate(-45deg);opacity:.8;content:""}.searchGroup-single .searchItem.searchItem-active{color:var(--van-primary-color)}.searchGroup-single .searchItem.searchItem-active:after{margin-top:-.02667rem;transform:rotate(135deg);border-color:transparent transparent currentColor currentColor}.searchGroup-single .searchItem span{max-width:4rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.searchItem-left{position:relative;display:inline-block;font-size:.37333rem;color:#333;margin-right:.56rem}.searchItem-left:after{position:absolute;top:50%;right:-.34667rem;margin-top:-.13333rem;border:.08rem solid;border-color:transparent transparent #aaaaaa #aaaaaa;transform:rotate(-45deg);opacity:.8;content:""}.searchItem-left span{max-width:1.86667rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.searchItem-left.searchItem-active{color:var(--van-primary-color)}.searchItem-left.searchItem-active:after{margin-top:-.02667rem;transform:rotate(135deg);border-color:transparent transparent currentColor currentColor}.van-sheet_content{margin:0 .34667rem;padding-top:.26667rem}.van-sheet_content .van-sheet-item{line-height:1.38667rem;font-size:.42667rem;font-weight:500;color:#333;text-align:center}.van-sheet_content .van-sheet-item-active{background:#f2f2f2;border-radius:.21333rem}.van-action-sheet_bottom__cancel{margin:0 .34667rem;width:calc(100vw - .69333rem);line-height:1.38667rem;padding:0;color:#aaa}\n'),
- document.head.appendChild(__vite_style__),
- System.register([], function (exports, module) {
- 'use strict'
- return {
- execute: function execute() {
- var _window$webkit, _window$webkit$messag
- exports({
- C: useParent,
- D: withInstall,
- E: mergeProps,
- H: getRootScrollTop,
- I: setRootScrollTop,
- Q: useId,
- R: ref,
- U: addUnit,
- W: useExpose,
- X: provide,
- Z: watch,
- _: nextTick,
- a: resolveComponent,
- a0: useEventListener,
- a3: formatNumber,
- a4: preventDefault,
- a6: resetScroll,
- a7: padZero,
- a8: useCountDown,
- aA: isHidden,
- aD: useToggle,
- aF: setScrollTop,
- aH: onMountedOrActivated,
- aI: raf,
- aJ: inject,
- aM: unitToPx,
- aO: onActivated,
- aP: onPopupReopen,
- aQ: getElementTop,
- aR: callInterceptor,
- aS: route,
- aT: doubleRaf,
- aV: watchEffect,
- aY: usePageVisibility,
- aZ: onDeactivated,
- ac: withDirectives,
- ad: resolveDirective,
- af: useRoute$1,
- ag: useRouter,
- ah: useRoute,
- al: isVNode,
- am: pick,
- ap: useScrollParent,
- aq: useTouch,
- ar: getScrollTop,
- as: useClickAway,
- ax: getZIndexStyle,
- b$: toRaw,
- b2: useLazyRender,
- b4: useCustomFieldValue,
- b8: unref,
- bB: getSizeStyle,
- bH: shallowRef,
- bJ: toRefs,
- bL: addNumber,
- bP: customRef,
- bQ: effect,
- bR: effectScope,
- bS: isProxy,
- bT: isReactive,
- bU: isReadonly,
- bV: markRaw,
- bW: proxyRefs,
- bX: readonly,
- bY: shallowReactive,
- bZ: shallowReadonly,
- b_: stop,
- ba: isRef,
- bb: getCurrentScope,
- bc: onScopeDispose,
- bi: mountComponent,
- bj: usePopupState,
- br: showDialog,
- bs: openBlock,
- bt: createElementBlock,
- bu: createBaseVNode,
- bv: normalizeStyle,
- bw: createCommentVNode,
- bx: normalizeClass,
- c$: watchSyncEffect,
- c0: toRef,
- c1: triggerRef,
- c4: normalizeProps,
- cA: onErrorCaptured,
- cE: popScopeId,
- cF: pushScopeId,
- cG: queuePostFlushCb,
- cH: registerRuntimeCompiler,
- cI: renderList,
- cJ: renderSlot,
- cK: resolveDynamicComponent,
- cM: resolveTransitionHooks,
- cN: setBlockTracking,
- cO: setDevtoolsHook,
- cP: setTransitionHooks,
- cS: toHandlers,
- cT: transformVNodeArgs,
- cU: useAttrs,
- cW: useSlots,
- cX: useTransitionState,
- cZ: warn,
- c_: watchPostEffect,
- cc: callWithAsyncErrorHandling,
- cd: callWithErrorHandling,
- ce: cloneVNode,
- cg: createBlock,
- ch: createHydrationRenderer,
- ci: createPropsRestProxy,
- cj: createRenderer,
- ck: createSlots,
- cl: createStaticVNode,
- cm: defineAsyncComponent,
- cn: defineEmits,
- co: defineExpose,
- cp: defineProps,
- cr: getTransitionRawChildren,
- cs: guardReactiveProps,
- ct: h$1,
- cu: handleError,
- cv: initCustomFormatter,
- cw: isMemoSame,
- cy: mergeDefaults,
- d: defineComponent,
- d0: withAsyncContext,
- d1: withCtx,
- d2: withDefaults,
- d3: withMemo,
- d7: defineCustomElement,
- dc: useCssModule,
- dd: useCssVars,
- dm: getAugmentedNamespace,
- dn: getDefaultExportFromCjs,
- o: showToast,
- q: createTextVNode,
- r: reactive,
- t: createNamespace,
- x: useChildren,
- y: computed
- })
- var p$1 = function () {
- var e = document.createElement('link').relList
- if (!(e && e.supports && e.supports('modulepreload'))) {
- var t,
- n = _createForOfIteratorHelper(
- document.querySelectorAll('link[rel="modulepreload"]')
- )
- try {
- for (n.s(); !(t = n.n()).done; ) {
- r(t.value)
- }
- } catch (a) {
- n.e(a)
- } finally {
- n.f()
- }
- new MutationObserver(function (e) {
- var t,
- n = _createForOfIteratorHelper(e)
- try {
- for (n.s(); !(t = n.n()).done; ) {
- var o = t.value
- if ('childList' === o.type) {
- var i,
- s = _createForOfIteratorHelper(o.addedNodes)
- try {
- for (s.s(); !(i = s.n()).done; ) {
- var l = i.value
- 'LINK' === l.tagName && 'modulepreload' === l.rel && r(l)
- }
- } catch (a) {
- s.e(a)
- } finally {
- s.f()
- }
- }
- }
- } catch (a) {
- n.e(a)
- } finally {
- n.f()
- }
- }).observe(document, { childList: !0, subtree: !0 })
- }
- function r(e) {
- if (!e.ep) {
- e.ep = !0
- var t = (function (e) {
- var t = {}
- return (
- e.integrity && (t.integrity = e.integrity),
- e.referrerpolicy && (t.referrerPolicy = e.referrerpolicy),
- 'use-credentials' === e.crossorigin
- ? (t.credentials = 'include')
- : 'anonymous' === e.crossorigin
- ? (t.credentials = 'omit')
- : (t.credentials = 'same-origin'),
- t
- )
- })(e)
- fetch(e.href, t)
- }
- }
- }
- function makeMap(e, t) {
- for (var n = Object.create(null), r = e.split(','), a = 0; a < r.length; a++)
- n[r[a]] = !0
- return t
- ? function (e) {
- return !!n[e.toLowerCase()]
- }
- : function (e) {
- return !!n[e]
- }
- }
- var GLOBALS_WHITE_LISTED =
- 'Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt',
- isGloballyWhitelisted = makeMap(GLOBALS_WHITE_LISTED),
- specialBooleanAttrs =
- 'itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly',
- isSpecialBooleanAttr = makeMap(specialBooleanAttrs)
- function includeBooleanAttr(e) {
- return !!e || '' === e
- }
- function normalizeStyle(e) {
- if (isArray$5(e)) {
- for (var t = {}, n = 0; n < e.length; n++) {
- var r = e[n],
- a = isString$1(r) ? parseStringStyle(r) : normalizeStyle(r)
- if (a) for (var o in a) t[o] = a[o]
- }
- return t
- }
- return isString$1(e) || isObject$2(e) ? e : void 0
- }
- var listDelimiterRE = /;(?![^(]*\))/g,
- propertyDelimiterRE = /:(.+)/
- function parseStringStyle(e) {
- var t = {}
- return (
- e.split(listDelimiterRE).forEach(function (e) {
- if (e) {
- var n = e.split(propertyDelimiterRE)
- n.length > 1 && (t[n[0].trim()] = n[1].trim())
- }
- }),
- t
- )
- }
- function normalizeClass(e) {
- var t = ''
- if (isString$1(e)) t = e
- else if (isArray$5(e))
- for (var n = 0; n < e.length; n++) {
- var r = normalizeClass(e[n])
- r && (t += r + ' ')
- }
- else if (isObject$2(e)) for (var a in e) e[a] && (t += a + ' ')
- return t.trim()
- }
- function normalizeProps(e) {
- if (!e) return null
- var t = e.class,
- n = e.style
- return (
- t && !isString$1(t) && (e.class = normalizeClass(t)),
- n && (e.style = normalizeStyle(n)),
- e
- )
- }
- function looseCompareArrays(e, t) {
- if (e.length !== t.length) return !1
- for (var n = !0, r = 0; n && r < e.length; r++) n = looseEqual(e[r], t[r])
- return n
- }
- function looseEqual(e, t) {
- if (e === t) return !0
- var n = isDate$3(e),
- r = isDate$3(t)
- if (n || r) return !(!n || !r) && e.getTime() === t.getTime()
- if (((n = isArray$5(e)), (r = isArray$5(t)), n || r))
- return !(!n || !r) && looseCompareArrays(e, t)
- if (((n = isObject$2(e)), (r = isObject$2(t)), n || r)) {
- if (!n || !r) return !1
- if (Object.keys(e).length !== Object.keys(t).length) return !1
- for (var a in e) {
- var o = e.hasOwnProperty(a),
- i = t.hasOwnProperty(a)
- if ((o && !i) || (!o && i) || !looseEqual(e[a], t[a])) return !1
- }
- }
- return String(e) === String(t)
- }
- function looseIndexOf(e, t) {
- return e.findIndex(function (e) {
- return looseEqual(e, t)
- })
- }
- var toDisplayString = exports('by', function (e) {
- return null == e
- ? ''
- : isArray$5(e) ||
- (isObject$2(e) && (e.toString === objectToString$2 || !isFunction$1(e.toString)))
- ? JSON.stringify(e, replacer, 2)
- : String(e)
- }),
- replacer = function e(t, n) {
- return n && n.__v_isRef
- ? e(t, n.value)
- : isMap$1(n)
- ? _defineProperty2(
- {},
- 'Map('.concat(n.size, ')'),
- _toConsumableArray2(n.entries()).reduce(function (e, t) {
- var n = _slicedToArray(t, 2),
- r = n[0],
- a = n[1]
- return (e[''.concat(r, ' =>')] = a), e
- }, {})
- )
- : isSet$1(n)
- ? _defineProperty2({}, 'Set('.concat(n.size, ')'), _toConsumableArray2(n.values()))
- : !isObject$2(n) || isArray$5(n) || isPlainObject$2(n)
- ? n
- : String(n)
- },
- EMPTY_OBJ = {},
- EMPTY_ARR = [],
- NOOP = function () {},
- NO = function () {
- return !1
- },
- onRE = /^on[^a-z]/,
- isOn = function (e) {
- return onRE.test(e)
- },
- isModelListener = function (e) {
- return e.startsWith('onUpdate:')
- },
- extend$2 = Object.assign,
- remove = function (e, t) {
- var n = e.indexOf(t)
- n > -1 && e.splice(n, 1)
- },
- hasOwnProperty$2 = Object.prototype.hasOwnProperty,
- hasOwn$2 = function (e, t) {
- return hasOwnProperty$2.call(e, t)
- },
- isArray$5 = Array.isArray,
- isMap$1 = function (e) {
- return '[object Map]' === toTypeString(e)
- },
- isSet$1 = function (e) {
- return '[object Set]' === toTypeString(e)
- },
- isDate$3 = function (e) {
- return e instanceof Date
- },
- isFunction$1 = function (e) {
- return 'function' == typeof e
- },
- isString$1 = function (e) {
- return 'string' == typeof e
- },
- isSymbol$1 = function (e) {
- return 'symbol' === _typeof2(e)
- },
- isObject$2 = function (e) {
- return null !== e && 'object' === _typeof2(e)
- },
- isPromise$1 = function (e) {
- return isObject$2(e) && isFunction$1(e.then) && isFunction$1(e.catch)
- },
- objectToString$2 = Object.prototype.toString,
- toTypeString = function (e) {
- return objectToString$2.call(e)
- },
- toRawType = function (e) {
- return toTypeString(e).slice(8, -1)
- },
- isPlainObject$2 = function (e) {
- return '[object Object]' === toTypeString(e)
- },
- isIntegerKey = function (e) {
- return isString$1(e) && 'NaN' !== e && '-' !== e[0] && '' + parseInt(e, 10) === e
- },
- isReservedProp = makeMap(
- ',key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted'
- ),
- cacheStringFunction = function (e) {
- var t = Object.create(null)
- return function (n) {
- return t[n] || (t[n] = e(n))
- }
- },
- camelizeRE$1 = /-(\w)/g,
- camelize$1 = exports(
- 'c2',
- cacheStringFunction(function (e) {
- return e.replace(camelizeRE$1, function (e, t) {
- return t ? t.toUpperCase() : ''
- })
- })
- ),
- hyphenateRE = /\B([A-Z])/g,
- hyphenate = cacheStringFunction(function (e) {
- return e.replace(hyphenateRE, '-$1').toLowerCase()
- }),
- capitalize = exports(
- 'c3',
- cacheStringFunction(function (e) {
- return e.charAt(0).toUpperCase() + e.slice(1)
- })
- ),
- toHandlerKey = exports(
- 'c5',
- cacheStringFunction(function (e) {
- return e ? 'on'.concat(capitalize(e)) : ''
- })
- ),
- hasChanged = function (e, t) {
- return !Object.is(e, t)
- },
- invokeArrayFns = function (e, t) {
- for (var n = 0; n < e.length; n++) e[n](t)
- },
- def = function (e, t, n) {
- Object.defineProperty(e, t, { configurable: !0, enumerable: !1, value: n })
- },
- toNumber = function (e) {
- var t = parseFloat(e)
- return isNaN(t) ? e : t
- },
- _globalThis,
- getGlobalThis = function () {
- return (
- _globalThis ||
- (_globalThis =
- 'undefined' != typeof globalThis
- ? globalThis
- : 'undefined' != typeof self
- ? self
- : 'undefined' != typeof window
- ? window
- : 'undefined' != typeof global
- ? global
- : {})
- )
- },
- activeEffectScope,
- effectScopeStack = [],
- EffectScope = (function () {
- function e() {
- var t = arguments.length > 0 && void 0 !== arguments[0] && arguments[0]
- _classCallCheck2(this, e),
- (this.active = !0),
- (this.effects = []),
- (this.cleanups = []),
- !t &&
- activeEffectScope &&
- ((this.parent = activeEffectScope),
- (this.index =
- (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(this) - 1))
- }
- return (
- _createClass2(e, [
- {
- key: 'run',
- value: function (e) {
- if (this.active)
- try {
- return this.on(), e()
- } finally {
- this.off()
- }
- }
- },
- {
- key: 'on',
- value: function () {
- this.active && (effectScopeStack.push(this), (activeEffectScope = this))
- }
- },
- {
- key: 'off',
- value: function () {
- this.active &&
- (effectScopeStack.pop(),
- (activeEffectScope = effectScopeStack[effectScopeStack.length - 1]))
- }
- },
- {
- key: 'stop',
- value: function (e) {
- if (this.active) {
- if (
- (this.effects.forEach(function (e) {
- return e.stop()
- }),
- this.cleanups.forEach(function (e) {
- return e()
- }),
- this.scopes &&
- this.scopes.forEach(function (e) {
- return e.stop(!0)
- }),
- this.parent && !e)
- ) {
- var t = this.parent.scopes.pop()
- t &&
- t !== this &&
- ((this.parent.scopes[this.index] = t), (t.index = this.index))
- }
- this.active = !1
- }
- }
- }
- ]),
- e
- )
- })()
- function effectScope(e) {
- return new EffectScope(e)
- }
- function recordEffectScope(e, t) {
- ;(t = t || activeEffectScope) && t.active && t.effects.push(e)
- }
- function getCurrentScope() {
- return activeEffectScope
- }
- function onScopeDispose(e) {
- activeEffectScope && activeEffectScope.cleanups.push(e)
- }
- exports('bN', EffectScope)
- var createDep = function (e) {
- var t = new Set(e)
- return (t.w = 0), (t.n = 0), t
- },
- wasTracked = function (e) {
- return (e.w & trackOpBit) > 0
- },
- newTracked = function (e) {
- return (e.n & trackOpBit) > 0
- },
- initDepMarkers = function (e) {
- var t = e.deps
- if (t.length) for (var n = 0; n < t.length; n++) t[n].w |= trackOpBit
- },
- finalizeDepMarkers = function (e) {
- var t = e.deps
- if (t.length) {
- for (var n = 0, r = 0; r < t.length; r++) {
- var a = t[r]
- wasTracked(a) && !newTracked(a) ? a.delete(e) : (t[n++] = a),
- (a.w &= ~trackOpBit),
- (a.n &= ~trackOpBit)
- }
- t.length = n
- }
- },
- targetMap = new WeakMap(),
- effectTrackDepth = 0,
- trackOpBit = 1,
- maxMarkerBits = 30,
- effectStack = [],
- activeEffect,
- ITERATE_KEY = Symbol(''),
- MAP_KEY_ITERATE_KEY = Symbol(''),
- ReactiveEffect = (function () {
- function e(t) {
- var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null,
- r = arguments.length > 2 ? arguments[2] : void 0
- _classCallCheck2(this, e),
- (this.fn = t),
- (this.scheduler = n),
- (this.active = !0),
- (this.deps = []),
- recordEffectScope(this, r)
- }
- return (
- _createClass2(e, [
- {
- key: 'run',
- value: function () {
- if (!this.active) return this.fn()
- if (!effectStack.includes(this))
- try {
- return (
- effectStack.push((activeEffect = this)),
- enableTracking(),
- (trackOpBit = 1 << ++effectTrackDepth),
- effectTrackDepth <= maxMarkerBits
- ? initDepMarkers(this)
- : cleanupEffect(this),
- this.fn()
- )
- } finally {
- effectTrackDepth <= maxMarkerBits && finalizeDepMarkers(this),
- (trackOpBit = 1 << --effectTrackDepth),
- resetTracking(),
- effectStack.pop()
- var e = effectStack.length
- activeEffect = e > 0 ? effectStack[e - 1] : void 0
- }
- }
- },
- {
- key: 'stop',
- value: function () {
- this.active &&
- (cleanupEffect(this), this.onStop && this.onStop(), (this.active = !1))
- }
- }
- ]),
- e
- )
- })()
- function cleanupEffect(e) {
- var t = e.deps
- if (t.length) {
- for (var n = 0; n < t.length; n++) t[n].delete(e)
- t.length = 0
- }
- }
- function effect(e, t) {
- e.effect && (e = e.effect.fn)
- var n = new ReactiveEffect(e)
- t && (extend$2(n, t), t.scope && recordEffectScope(n, t.scope)),
- (t && t.lazy) || n.run()
- var r = n.run.bind(n)
- return (r.effect = n), r
- }
- function stop(e) {
- e.effect.stop()
- }
- exports('bO', ReactiveEffect)
- var shouldTrack = !0,
- trackStack = []
- function pauseTracking() {
- trackStack.push(shouldTrack), (shouldTrack = !1)
- }
- function enableTracking() {
- trackStack.push(shouldTrack), (shouldTrack = !0)
- }
- function resetTracking() {
- var e = trackStack.pop()
- shouldTrack = void 0 === e || e
- }
- function track(e, t, n) {
- if (isTracking()) {
- var r = targetMap.get(e)
- r || targetMap.set(e, (r = new Map()))
- var a = r.get(n)
- a || r.set(n, (a = createDep())), trackEffects(a)
- }
- }
- function isTracking() {
- return shouldTrack && void 0 !== activeEffect
- }
- function trackEffects(e, t) {
- var n = !1
- effectTrackDepth <= maxMarkerBits
- ? newTracked(e) || ((e.n |= trackOpBit), (n = !wasTracked(e)))
- : (n = !e.has(activeEffect)),
- n && (e.add(activeEffect), activeEffect.deps.push(e))
- }
- function trigger$1(e, t, n, r, a, o) {
- var i = targetMap.get(e)
- if (i) {
- var s = []
- if ('clear' === t) s = _toConsumableArray2(i.values())
- else if ('length' === n && isArray$5(e))
- i.forEach(function (e, t) {
- ;('length' === t || t >= r) && s.push(e)
- })
- else
- switch ((void 0 !== n && s.push(i.get(n)), t)) {
- case 'add':
- isArray$5(e)
- ? isIntegerKey(n) && s.push(i.get('length'))
- : (s.push(i.get(ITERATE_KEY)),
- isMap$1(e) && s.push(i.get(MAP_KEY_ITERATE_KEY)))
- break
- case 'delete':
- isArray$5(e) ||
- (s.push(i.get(ITERATE_KEY)), isMap$1(e) && s.push(i.get(MAP_KEY_ITERATE_KEY)))
- break
- case 'set':
- isMap$1(e) && s.push(i.get(ITERATE_KEY))
- }
- if (1 === s.length) s[0] && triggerEffects(s[0])
- else {
- var l,
- c = [],
- u = _createForOfIteratorHelper(s)
- try {
- for (u.s(); !(l = u.n()).done; ) {
- var p = l.value
- p && c.push.apply(c, _toConsumableArray2(p))
- }
- } catch (d) {
- u.e(d)
- } finally {
- u.f()
- }
- triggerEffects(createDep(c))
- }
- }
- }
- function triggerEffects(e, t) {
- var n,
- r = _createForOfIteratorHelper(isArray$5(e) ? e : _toConsumableArray2(e))
- try {
- for (r.s(); !(n = r.n()).done; ) {
- var a = n.value
- ;(a !== activeEffect || a.allowRecurse) && (a.scheduler ? a.scheduler() : a.run())
- }
- } catch (o) {
- r.e(o)
- } finally {
- r.f()
- }
- }
- var isNonTrackableKeys = makeMap('__proto__,__v_isRef,__isVue'),
- builtInSymbols = new Set(
- Object.getOwnPropertyNames(Symbol)
- .map(function (e) {
- return Symbol[e]
- })
- .filter(isSymbol$1)
- ),
- get$1 = createGetter(),
- shallowGet = createGetter(!1, !0),
- readonlyGet = createGetter(!0),
- shallowReadonlyGet = createGetter(!0, !0),
- arrayInstrumentations = createArrayInstrumentations()
- function createArrayInstrumentations() {
- var e = {}
- return (
- ['includes', 'indexOf', 'lastIndexOf'].forEach(function (t) {
- e[t] = function () {
- for (var e = toRaw(this), n = 0, r = this.length; n < r; n++)
- track(e, 'get', n + '')
- for (var a = arguments.length, o = new Array(a), i = 0; i < a; i++)
- o[i] = arguments[i]
- var s = e[t].apply(e, o)
- return -1 === s || !1 === s ? e[t].apply(e, _toConsumableArray2(o.map(toRaw))) : s
- }
- }),
- ['push', 'pop', 'shift', 'unshift', 'splice'].forEach(function (t) {
- e[t] = function () {
- pauseTracking()
- for (var e = arguments.length, n = new Array(e), r = 0; r < e; r++)
- n[r] = arguments[r]
- var a = toRaw(this)[t].apply(this, n)
- return resetTracking(), a
- }
- }),
- e
- )
- }
- function createGetter() {
- var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0],
- t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1]
- return function (n, r, a) {
- if ('__v_isReactive' === r) return !e
- if ('__v_isReadonly' === r) return e
- if (
- '__v_raw' === r &&
- a ===
- (e
- ? t
- ? shallowReadonlyMap
- : readonlyMap
- : t
- ? shallowReactiveMap
- : reactiveMap
- ).get(n)
- )
- return n
- var o = isArray$5(n)
- if (!e && o && hasOwn$2(arrayInstrumentations, r))
- return Reflect.get(arrayInstrumentations, r, a)
- var i = Reflect.get(n, r, a)
- return (isSymbol$1(r) ? builtInSymbols.has(r) : isNonTrackableKeys(r))
- ? i
- : (e || track(n, 'get', r),
- t
- ? i
- : isRef(i)
- ? !o || !isIntegerKey(r)
- ? i.value
- : i
- : isObject$2(i)
- ? e
- ? readonly(i)
- : reactive(i)
- : i)
- }
- }
- var set = createSetter(),
- shallowSet = createSetter(!0)
- function createSetter() {
- var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0]
- return function (t, n, r, a) {
- var o = t[n]
- if (
- !e &&
- !isReadonly(r) &&
- ((r = toRaw(r)), (o = toRaw(o)), !isArray$5(t) && isRef(o) && !isRef(r))
- )
- return (o.value = r), !0
- var i = isArray$5(t) && isIntegerKey(n) ? Number(n) < t.length : hasOwn$2(t, n),
- s = Reflect.set(t, n, r, a)
- return (
- t === toRaw(a) &&
- (i ? hasChanged(r, o) && trigger$1(t, 'set', n, r) : trigger$1(t, 'add', n, r)),
- s
- )
- }
- }
- function deleteProperty(e, t) {
- var n = hasOwn$2(e, t)
- e[t]
- var r = Reflect.deleteProperty(e, t)
- return r && n && trigger$1(e, 'delete', t, void 0), r
- }
- function has$4(e, t) {
- var n = Reflect.has(e, t)
- return (isSymbol$1(t) && builtInSymbols.has(t)) || track(e, 'has', t), n
- }
- function ownKeys$1(e) {
- return track(e, 'iterate', isArray$5(e) ? 'length' : ITERATE_KEY), Reflect.ownKeys(e)
- }
- var mutableHandlers = {
- get: get$1,
- set: set,
- deleteProperty: deleteProperty,
- has: has$4,
- ownKeys: ownKeys$1
- },
- readonlyHandlers = {
- get: readonlyGet,
- set: function (e, t) {
- return !0
- },
- deleteProperty: function (e, t) {
- return !0
- }
- },
- shallowReactiveHandlers = extend$2({}, mutableHandlers, {
- get: shallowGet,
- set: shallowSet
- }),
- shallowReadonlyHandlers = extend$2({}, readonlyHandlers, { get: shallowReadonlyGet }),
- toShallow = function (e) {
- return e
- },
- getProto$1 = function (e) {
- return Reflect.getPrototypeOf(e)
- }
- function get$1$1(e, t) {
- var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2],
- r = arguments.length > 3 && void 0 !== arguments[3] && arguments[3],
- a = toRaw((e = e.__v_raw)),
- o = toRaw(t)
- t !== o && !n && track(a, 'get', t), !n && track(a, 'get', o)
- var i = getProto$1(a),
- s = i.has,
- l = r ? toShallow : n ? toReadonly : toReactive
- return s.call(a, t)
- ? l(e.get(t))
- : s.call(a, o)
- ? l(e.get(o))
- : void (e !== a && e.get(t))
- }
- function has$1$1(e) {
- var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1],
- n = this.__v_raw,
- r = toRaw(n),
- a = toRaw(e)
- return (
- e !== a && !t && track(r, 'has', e),
- !t && track(r, 'has', a),
- e === a ? n.has(e) : n.has(e) || n.has(a)
- )
- }
- function size(e) {
- var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1]
- return (
- (e = e.__v_raw),
- !t && track(toRaw(e), 'iterate', ITERATE_KEY),
- Reflect.get(e, 'size', e)
- )
- }
- function add(e) {
- e = toRaw(e)
- var t = toRaw(this)
- return getProto$1(t).has.call(t, e) || (t.add(e), trigger$1(t, 'add', e, e)), this
- }
- function set$1(e, t) {
- t = toRaw(t)
- var n = toRaw(this),
- r = getProto$1(n),
- a = r.has,
- o = r.get,
- i = a.call(n, e)
- i || ((e = toRaw(e)), (i = a.call(n, e)))
- var s = o.call(n, e)
- return (
- n.set(e, t),
- i ? hasChanged(t, s) && trigger$1(n, 'set', e, t) : trigger$1(n, 'add', e, t),
- this
- )
- }
- function deleteEntry(e) {
- var t = toRaw(this),
- n = getProto$1(t),
- r = n.has,
- a = n.get,
- o = r.call(t, e)
- o || ((e = toRaw(e)), (o = r.call(t, e))), a && a.call(t, e)
- var i = t.delete(e)
- return o && trigger$1(t, 'delete', e, void 0), i
- }
- function clear() {
- var e = toRaw(this),
- t = 0 !== e.size,
- n = e.clear()
- return t && trigger$1(e, 'clear', void 0, void 0), n
- }
- function createForEach(e, t) {
- return function (n, r) {
- var a = this,
- o = a.__v_raw,
- i = toRaw(o),
- s = t ? toShallow : e ? toReadonly : toReactive
- return (
- !e && track(i, 'iterate', ITERATE_KEY),
- o.forEach(function (e, t) {
- return n.call(r, s(e), s(t), a)
- })
- )
- }
- }
- function createIterableMethod(e, t, n) {
- return function () {
- var r = this.__v_raw,
- a = toRaw(r),
- o = isMap$1(a),
- i = 'entries' === e || (e === Symbol.iterator && o),
- s = 'keys' === e && o,
- l = r[e].apply(r, arguments),
- c = n ? toShallow : t ? toReadonly : toReactive
- return (
- !t && track(a, 'iterate', s ? MAP_KEY_ITERATE_KEY : ITERATE_KEY),
- _defineProperty2(
- {
- next: function () {
- var e = l.next(),
- t = e.value,
- n = e.done
- return n
- ? { value: t, done: n }
- : { value: i ? [c(t[0]), c(t[1])] : c(t), done: n }
- }
- },
- Symbol.iterator,
- function () {
- return this
- }
- )
- )
- }
- }
- function createReadonlyMethod(e) {
- return function () {
- return 'delete' !== e && this
- }
- }
- function createInstrumentations() {
- var e = {
- get: function (e) {
- return get$1$1(this, e)
- },
- get size() {
- return size(this)
- },
- has: has$1$1,
- add: add,
- set: set$1,
- delete: deleteEntry,
- clear: clear,
- forEach: createForEach(!1, !1)
- },
- t = {
- get: function (e) {
- return get$1$1(this, e, !1, !0)
- },
- get size() {
- return size(this)
- },
- has: has$1$1,
- add: add,
- set: set$1,
- delete: deleteEntry,
- clear: clear,
- forEach: createForEach(!1, !0)
- },
- n = {
- get: function (e) {
- return get$1$1(this, e, !0)
- },
- get size() {
- return size(this, !0)
- },
- has: function (e) {
- return has$1$1.call(this, e, !0)
- },
- add: createReadonlyMethod('add'),
- set: createReadonlyMethod('set'),
- delete: createReadonlyMethod('delete'),
- clear: createReadonlyMethod('clear'),
- forEach: createForEach(!0, !1)
- },
- r = {
- get: function (e) {
- return get$1$1(this, e, !0, !0)
- },
- get size() {
- return size(this, !0)
- },
- has: function (e) {
- return has$1$1.call(this, e, !0)
- },
- add: createReadonlyMethod('add'),
- set: createReadonlyMethod('set'),
- delete: createReadonlyMethod('delete'),
- clear: createReadonlyMethod('clear'),
- forEach: createForEach(!0, !0)
- }
- return (
- ['keys', 'values', 'entries', Symbol.iterator].forEach(function (a) {
- ;(e[a] = createIterableMethod(a, !1, !1)),
- (n[a] = createIterableMethod(a, !0, !1)),
- (t[a] = createIterableMethod(a, !1, !0)),
- (r[a] = createIterableMethod(a, !0, !0))
- }),
- [e, n, t, r]
- )
- }
- var _createInstrumentatio = createInstrumentations(),
- _createInstrumentatio2 = _slicedToArray(_createInstrumentatio, 4),
- mutableInstrumentations = _createInstrumentatio2[0],
- readonlyInstrumentations = _createInstrumentatio2[1],
- shallowInstrumentations = _createInstrumentatio2[2],
- shallowReadonlyInstrumentations = _createInstrumentatio2[3]
- function createInstrumentationGetter(e, t) {
- var n = t
- ? e
- ? shallowReadonlyInstrumentations
- : shallowInstrumentations
- : e
- ? readonlyInstrumentations
- : mutableInstrumentations
- return function (t, r, a) {
- return '__v_isReactive' === r
- ? !e
- : '__v_isReadonly' === r
- ? e
- : '__v_raw' === r
- ? t
- : Reflect.get(hasOwn$2(n, r) && r in t ? n : t, r, a)
- }
- }
- var mutableCollectionHandlers = { get: createInstrumentationGetter(!1, !1) },
- shallowCollectionHandlers = { get: createInstrumentationGetter(!1, !0) },
- readonlyCollectionHandlers = { get: createInstrumentationGetter(!0, !1) },
- shallowReadonlyCollectionHandlers = { get: createInstrumentationGetter(!0, !0) },
- reactiveMap = new WeakMap(),
- shallowReactiveMap = new WeakMap(),
- readonlyMap = new WeakMap(),
- shallowReadonlyMap = new WeakMap()
- function targetTypeMap(e) {
- switch (e) {
- case 'Object':
- case 'Array':
- return 1
- case 'Map':
- case 'Set':
- case 'WeakMap':
- case 'WeakSet':
- return 2
- default:
- return 0
- }
- }
- function getTargetType(e) {
- return e.__v_skip || !Object.isExtensible(e) ? 0 : targetTypeMap(toRawType(e))
- }
- function reactive(e) {
- return e && e.__v_isReadonly
- ? e
- : createReactiveObject(e, !1, mutableHandlers, mutableCollectionHandlers, reactiveMap)
- }
- function shallowReactive(e) {
- return createReactiveObject(
- e,
- !1,
- shallowReactiveHandlers,
- shallowCollectionHandlers,
- shallowReactiveMap
- )
- }
- function readonly(e) {
- return createReactiveObject(
- e,
- !0,
- readonlyHandlers,
- readonlyCollectionHandlers,
- readonlyMap
- )
- }
- function shallowReadonly(e) {
- return createReactiveObject(
- e,
- !0,
- shallowReadonlyHandlers,
- shallowReadonlyCollectionHandlers,
- shallowReadonlyMap
- )
- }
- function createReactiveObject(e, t, n, r, a) {
- if (!isObject$2(e)) return e
- if (e.__v_raw && (!t || !e.__v_isReactive)) return e
- var o = a.get(e)
- if (o) return o
- var i = getTargetType(e)
- if (0 === i) return e
- var s = new Proxy(e, 2 === i ? r : n)
- return a.set(e, s), s
- }
- function isReactive(e) {
- return isReadonly(e) ? isReactive(e.__v_raw) : !(!e || !e.__v_isReactive)
- }
- function isReadonly(e) {
- return !(!e || !e.__v_isReadonly)
- }
- function isProxy(e) {
- return isReactive(e) || isReadonly(e)
- }
- function toRaw(e) {
- var t = e && e.__v_raw
- return t ? toRaw(t) : e
- }
- function markRaw(e) {
- return def(e, '__v_skip', !0), e
- }
- var toReactive = function (e) {
- return isObject$2(e) ? reactive(e) : e
- },
- toReadonly = function (e) {
- return isObject$2(e) ? readonly(e) : e
- }
- function trackRefValue(e) {
- isTracking() && ((e = toRaw(e)).dep || (e.dep = createDep()), trackEffects(e.dep))
- }
- function triggerRefValue(e, t) {
- ;(e = toRaw(e)).dep && triggerEffects(e.dep)
- }
- function isRef(e) {
- return Boolean(e && !0 === e.__v_isRef)
- }
- function ref(e) {
- return createRef(e, !1)
- }
- function shallowRef(e) {
- return createRef(e, !0)
- }
- function createRef(e, t) {
- return isRef(e) ? e : new RefImpl(e, t)
- }
- var RefImpl = (function () {
- function e(t, n) {
- _classCallCheck2(this, e),
- (this._shallow = n),
- (this.dep = void 0),
- (this.__v_isRef = !0),
- (this._rawValue = n ? t : toRaw(t)),
- (this._value = n ? t : toReactive(t))
- }
- return (
- _createClass2(e, [
- {
- key: 'value',
- get: function () {
- return trackRefValue(this), this._value
- },
- set: function (e) {
- ;(e = this._shallow ? e : toRaw(e)),
- hasChanged(e, this._rawValue) &&
- ((this._rawValue = e),
- (this._value = this._shallow ? e : toReactive(e)),
- triggerRefValue(this))
- }
- }
- ]),
- e
- )
- })()
- function triggerRef(e) {
- triggerRefValue(e)
- }
- function unref(e) {
- return isRef(e) ? e.value : e
- }
- var shallowUnwrapHandlers = {
- get: function (e, t, n) {
- return unref(Reflect.get(e, t, n))
- },
- set: function (e, t, n, r) {
- var a = e[t]
- return isRef(a) && !isRef(n) ? ((a.value = n), !0) : Reflect.set(e, t, n, r)
- }
- }
- function proxyRefs(e) {
- return isReactive(e) ? e : new Proxy(e, shallowUnwrapHandlers)
- }
- var CustomRefImpl = (function () {
- function e(t) {
- var n = this
- _classCallCheck2(this, e), (this.dep = void 0), (this.__v_isRef = !0)
- var r = t(
- function () {
- return trackRefValue(n)
- },
- function () {
- return triggerRefValue(n)
- }
- ),
- a = r.get,
- o = r.set
- ;(this._get = a), (this._set = o)
- }
- return (
- _createClass2(e, [
- {
- key: 'value',
- get: function () {
- return this._get()
- },
- set: function (e) {
- this._set(e)
- }
- }
- ]),
- e
- )
- })()
- function customRef(e) {
- return new CustomRefImpl(e)
- }
- function toRefs(e) {
- var t = isArray$5(e) ? new Array(e.length) : {}
- for (var n in e) t[n] = toRef(e, n)
- return t
- }
- var ObjectRefImpl = (function () {
- function e(t, n, r) {
- _classCallCheck2(this, e),
- (this._object = t),
- (this._key = n),
- (this._defaultValue = r),
- (this.__v_isRef = !0)
- }
- return (
- _createClass2(e, [
- {
- key: 'value',
- get: function () {
- var e = this._object[this._key]
- return void 0 === e ? this._defaultValue : e
- },
- set: function (e) {
- this._object[this._key] = e
- }
- }
- ]),
- e
- )
- })()
- function toRef(e, t, n) {
- var r = e[t]
- return isRef(r) ? r : new ObjectRefImpl(e, t, n)
- }
- var ComputedRefImpl = (function () {
- function e(t, n, r) {
- var a = this
- _classCallCheck2(this, e),
- (this._setter = n),
- (this.dep = void 0),
- (this._dirty = !0),
- (this.__v_isRef = !0),
- (this.effect = new ReactiveEffect(t, function () {
- a._dirty || ((a._dirty = !0), triggerRefValue(a))
- })),
- (this.__v_isReadonly = r)
- }
- return (
- _createClass2(e, [
- {
- key: 'value',
- get: function () {
- var e = toRaw(this)
- return (
- trackRefValue(e),
- e._dirty && ((e._dirty = !1), (e._value = e.effect.run())),
- e._value
- )
- },
- set: function (e) {
- this._setter(e)
- }
- }
- ]),
- e
- )
- })(),
- devtools
- function computed(e, t) {
- var n,
- r,
- a = isFunction$1(e)
- return (
- a ? ((n = e), (r = NOOP)) : ((n = e.get), (r = e.set)),
- new ComputedRefImpl(n, r, a || !r)
- )
- }
- Promise.resolve(), exports('cq', devtools)
- var buffer = []
- function setDevtoolsHook(e, t) {
- var n, r
- if ((exports('cq', (devtools = e)), devtools))
- (devtools.enabled = !0),
- buffer.forEach(function (e) {
- var t,
- n = e.event,
- r = e.args
- return (t = devtools).emit.apply(t, [n].concat(_toConsumableArray2(r)))
- }),
- (buffer = [])
- else if (
- 'undefined' != typeof window &&
- window.HTMLElement &&
- !(null ===
- (r = null === (n = window.navigator) || void 0 === n ? void 0 : n.userAgent) ||
- void 0 === r
- ? void 0
- : r.includes('jsdom'))
- ) {
- ;(t.__VUE_DEVTOOLS_HOOK_REPLAY__ = t.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push(
- function (e) {
- setDevtoolsHook(e, t)
- }
- ),
- setTimeout(function () {
- devtools || ((t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null), (buffer = []))
- }, 3e3)
- } else buffer = []
- }
- function emit$1(e, t) {
- for (
- var n = e.vnode.props || EMPTY_OBJ,
- r = arguments.length,
- a = new Array(r > 2 ? r - 2 : 0),
- o = 2;
- o < r;
- o++
- )
- a[o - 2] = arguments[o]
- var i,
- s = a,
- l = t.startsWith('update:'),
- c = l && t.slice(7)
- if (c && c in n) {
- var u = ''.concat('modelValue' === c ? 'model' : c, 'Modifiers'),
- p = n[u] || EMPTY_OBJ,
- d = p.number,
- f = p.trim
- f
- ? (s = a.map(function (e) {
- return e.trim()
- }))
- : d && (s = a.map(toNumber))
- }
- var h = n[(i = toHandlerKey(t))] || n[(i = toHandlerKey(camelize$1(t)))]
- !h && l && (h = n[(i = toHandlerKey(hyphenate(t)))]),
- h && callWithAsyncErrorHandling(h, e, 6, s)
- var v = n[i + 'Once']
- if (v) {
- if (e.emitted) {
- if (e.emitted[i]) return
- } else e.emitted = {}
- ;(e.emitted[i] = !0), callWithAsyncErrorHandling(v, e, 6, s)
- }
- }
- function normalizeEmitsOptions(e, t) {
- var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2],
- r = t.emitsCache,
- a = r.get(e)
- if (void 0 !== a) return a
- var o = e.emits,
- i = {},
- s = !1
- if (!isFunction$1(e)) {
- var l = function (e) {
- var n = normalizeEmitsOptions(e, t, !0)
- n && ((s = !0), extend$2(i, n))
- }
- !n && t.mixins.length && t.mixins.forEach(l),
- e.extends && l(e.extends),
- e.mixins && e.mixins.forEach(l)
- }
- return o || s
- ? (isArray$5(o)
- ? o.forEach(function (e) {
- return (i[e] = null)
- })
- : extend$2(i, o),
- r.set(e, i),
- i)
- : (r.set(e, null), null)
- }
- function isEmitListener(e, t) {
- return (
- !(!e || !isOn(t)) &&
- ((t = t.slice(2).replace(/Once$/, '')),
- hasOwn$2(e, t[0].toLowerCase() + t.slice(1)) ||
- hasOwn$2(e, hyphenate(t)) ||
- hasOwn$2(e, t))
- )
- }
- var currentRenderingInstance = null,
- currentScopeId = null
- function setCurrentRenderingInstance(e) {
- var t = currentRenderingInstance
- return (
- (currentRenderingInstance = e), (currentScopeId = (e && e.type.__scopeId) || null), t
- )
- }
- function pushScopeId(e) {
- currentScopeId = e
- }
- function popScopeId() {
- currentScopeId = null
- }
- var withScopeId = exports('d4', function (e) {
- return withCtx
- })
- function withCtx(e) {
- var t =
- arguments.length > 1 && void 0 !== arguments[1]
- ? arguments[1]
- : currentRenderingInstance
- if (!t) return e
- if (e._n) return e
- var n = function n() {
- n._d && setBlockTracking(-1)
- var r = setCurrentRenderingInstance(t),
- a = e.apply(void 0, arguments)
- return setCurrentRenderingInstance(r), n._d && setBlockTracking(1), a
- }
- return (n._n = !0), (n._c = !0), (n._d = !0), n
- }
- function markAttrsAccessed() {}
- function renderComponentRoot(e) {
- var t,
- n,
- r = e.type,
- a = e.vnode,
- o = e.proxy,
- i = e.withProxy,
- s = e.props,
- l = _slicedToArray(e.propsOptions, 1)[0],
- c = e.slots,
- u = e.attrs,
- p = e.emit,
- d = e.render,
- f = e.renderCache,
- h = e.data,
- v = e.setupState,
- m = e.ctx,
- g = e.inheritAttrs,
- y = setCurrentRenderingInstance(e)
- try {
- if (4 & a.shapeFlag) {
- var b = i || o
- ;(t = normalizeVNode(d.call(b, b, f, s, v, h, m))), (n = u)
- } else {
- var _ = r
- 0,
- (t = normalizeVNode(
- _.length > 1 ? _(s, { attrs: u, slots: c, emit: p }) : _(s, null)
- )),
- (n = r.props ? u : getFunctionalFallthrough(u))
- }
- } catch (k) {
- ;(blockStack.length = 0), handleError(k, e, 1), (t = createVNode(Comment))
- }
- var A = t
- if (n && !1 !== g) {
- var x = Object.keys(n),
- w = A.shapeFlag
- x.length &&
- 7 & w &&
- (l && x.some(isModelListener) && (n = filterModelListeners(n, l)),
- (A = cloneVNode(A, n)))
- }
- return (
- a.dirs && (A.dirs = A.dirs ? A.dirs.concat(a.dirs) : a.dirs),
- a.transition && (A.transition = a.transition),
- (t = A),
- setCurrentRenderingInstance(y),
- t
- )
- }
- function filterSingleRoot(e) {
- for (var t, n = 0; n < e.length; n++) {
- var r = e[n]
- if (!isVNode(r)) return
- if (r.type !== Comment || 'v-if' === r.children) {
- if (t) return
- t = r
- }
- }
- return t
- }
- var getFunctionalFallthrough = function (e) {
- var t
- for (var n in e)
- ('class' === n || 'style' === n || isOn(n)) && ((t || (t = {}))[n] = e[n])
- return t
- },
- filterModelListeners = function (e, t) {
- var n = {}
- for (var r in e) (isModelListener(r) && r.slice(9) in t) || (n[r] = e[r])
- return n
- }
- function shouldUpdateComponent(e, t, n) {
- var r = e.props,
- a = e.children,
- o = e.component,
- i = t.props,
- s = t.children,
- l = t.patchFlag,
- c = o.emitsOptions
- if (t.dirs || t.transition) return !0
- if (!(n && l >= 0))
- return (
- !((!a && !s) || (s && s.$stable)) ||
- (r !== i && (r ? !i || hasPropsChanged(r, i, c) : !!i))
- )
- if (1024 & l) return !0
- if (16 & l) return r ? hasPropsChanged(r, i, c) : !!i
- if (8 & l)
- for (var u = t.dynamicProps, p = 0; p < u.length; p++) {
- var d = u[p]
- if (i[d] !== r[d] && !isEmitListener(c, d)) return !0
- }
- return !1
- }
- function hasPropsChanged(e, t, n) {
- var r = Object.keys(t)
- if (r.length !== Object.keys(e).length) return !0
- for (var a = 0; a < r.length; a++) {
- var o = r[a]
- if (t[o] !== e[o] && !isEmitListener(n, o)) return !0
- }
- return !1
- }
- function updateHOCHostEl(e, t) {
- for (var n = e.vnode, r = e.parent; r && r.subTree === n; )
- ((n = r.vnode).el = t), (r = r.parent)
- }
- var isSuspense = function (e) {
- return e.__isSuspense
- },
- SuspenseImpl = {
- name: 'Suspense',
- __isSuspense: !0,
- process: function (e, t, n, r, a, o, i, s, l, c) {
- null == e
- ? mountSuspense(t, n, r, a, o, i, s, l, c)
- : patchSuspense(e, t, n, r, a, i, s, l, c)
- },
- hydrate: hydrateSuspense,
- create: createSuspenseBoundary,
- normalize: normalizeSuspenseChildren
- },
- Suspense = exports('ca', SuspenseImpl)
- function triggerEvent(e, t) {
- var n = e.props && e.props[t]
- isFunction$1(n) && n()
- }
- function mountSuspense(e, t, n, r, a, o, i, s, l) {
- var c = l.p,
- u = (0, l.o.createElement)('div'),
- p = (e.suspense = createSuspenseBoundary(e, a, r, t, u, n, o, i, s, l))
- c(null, (p.pendingBranch = e.ssContent), u, null, r, p, o, i),
- p.deps > 0
- ? (triggerEvent(e, 'onPending'),
- triggerEvent(e, 'onFallback'),
- c(null, e.ssFallback, t, n, r, null, o, i),
- setActiveBranch(p, e.ssFallback))
- : p.resolve()
- }
- function patchSuspense(e, t, n, r, a, o, i, s, l) {
- var c = l.p,
- u = l.um,
- p = l.o.createElement,
- d = (t.suspense = e.suspense)
- ;(d.vnode = t), (t.el = e.el)
- var f = t.ssContent,
- h = t.ssFallback,
- v = d.activeBranch,
- m = d.pendingBranch,
- g = d.isInFallback,
- y = d.isHydrating
- if (m)
- (d.pendingBranch = f),
- isSameVNodeType(f, m)
- ? (c(m, f, d.hiddenContainer, null, a, d, o, i, s),
- d.deps <= 0
- ? d.resolve()
- : g && (c(v, h, n, r, a, null, o, i, s), setActiveBranch(d, h)))
- : (d.pendingId++,
- y ? ((d.isHydrating = !1), (d.activeBranch = m)) : u(m, a, d),
- (d.deps = 0),
- (d.effects.length = 0),
- (d.hiddenContainer = p('div')),
- g
- ? (c(null, f, d.hiddenContainer, null, a, d, o, i, s),
- d.deps <= 0
- ? d.resolve()
- : (c(v, h, n, r, a, null, o, i, s), setActiveBranch(d, h)))
- : v && isSameVNodeType(f, v)
- ? (c(v, f, n, r, a, d, o, i, s), d.resolve(!0))
- : (c(null, f, d.hiddenContainer, null, a, d, o, i, s),
- d.deps <= 0 && d.resolve()))
- else if (v && isSameVNodeType(f, v)) c(v, f, n, r, a, d, o, i, s), setActiveBranch(d, f)
- else if (
- (triggerEvent(t, 'onPending'),
- (d.pendingBranch = f),
- d.pendingId++,
- c(null, f, d.hiddenContainer, null, a, d, o, i, s),
- d.deps <= 0)
- )
- d.resolve()
- else {
- var b = d.timeout,
- _ = d.pendingId
- b > 0
- ? setTimeout(function () {
- d.pendingId === _ && d.fallback(h)
- }, b)
- : 0 === b && d.fallback(h)
- }
- }
- function createSuspenseBoundary(e, t, n, r, a, o, i, s, l, c) {
- var u = arguments.length > 10 && void 0 !== arguments[10] && arguments[10],
- p = c.p,
- d = c.m,
- f = c.um,
- h = c.n,
- v = c.o,
- m = v.parentNode,
- g = v.remove,
- y = toNumber(e.props && e.props.timeout),
- b = {
- vnode: e,
- parent: t,
- parentComponent: n,
- isSVG: i,
- container: r,
- hiddenContainer: a,
- anchor: o,
- deps: 0,
- pendingId: 0,
- timeout: 'number' == typeof y ? y : -1,
- activeBranch: null,
- pendingBranch: null,
- isInFallback: !0,
- isHydrating: u,
- isUnmounted: !1,
- effects: [],
- resolve: function () {
- var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0],
- t = b.vnode,
- n = b.activeBranch,
- r = b.pendingBranch,
- a = b.pendingId,
- o = b.effects,
- i = b.parentComponent,
- s = b.container
- if (b.isHydrating) b.isHydrating = !1
- else if (!e) {
- var l = n && r.transition && 'out-in' === r.transition.mode
- l &&
- (n.transition.afterLeave = function () {
- a === b.pendingId && d(r, s, c, 0)
- })
- var c = b.anchor
- n && ((c = h(n)), f(n, i, b, !0)), l || d(r, s, c, 0)
- }
- setActiveBranch(b, r), (b.pendingBranch = null), (b.isInFallback = !1)
- for (var u = b.parent, p = !1; u; ) {
- if (u.pendingBranch) {
- var v
- ;(v = u.effects).push.apply(v, _toConsumableArray2(o)), (p = !0)
- break
- }
- u = u.parent
- }
- p || queuePostFlushCb(o), (b.effects = []), triggerEvent(t, 'onResolve')
- },
- fallback: function (e) {
- if (b.pendingBranch) {
- var t = b.vnode,
- n = b.activeBranch,
- r = b.parentComponent,
- a = b.container,
- o = b.isSVG
- triggerEvent(t, 'onFallback')
- var i = h(n),
- c = function () {
- b.isInFallback &&
- (p(null, e, a, i, r, null, o, s, l), setActiveBranch(b, e))
- },
- u = e.transition && 'out-in' === e.transition.mode
- u && (n.transition.afterLeave = c),
- (b.isInFallback = !0),
- f(n, r, null, !0),
- u || c()
- }
- },
- move: function (e, t, n) {
- b.activeBranch && d(b.activeBranch, e, t, n), (b.container = e)
- },
- next: function () {
- return b.activeBranch && h(b.activeBranch)
- },
- registerDep: function (e, t) {
- var n = !!b.pendingBranch
- n && b.deps++
- var r = e.vnode.el
- e.asyncDep
- .catch(function (t) {
- handleError(t, e, 0)
- })
- .then(function (a) {
- if (!e.isUnmounted && !b.isUnmounted && b.pendingId === e.suspenseId) {
- e.asyncResolved = !0
- var o = e.vnode
- handleSetupResult(e, a, !1), r && (o.el = r)
- var s = !r && e.subTree.el
- t(e, o, m(r || e.subTree.el), r ? null : h(e.subTree), b, i, l),
- s && g(s),
- updateHOCHostEl(e, o.el),
- n && 0 == --b.deps && b.resolve()
- }
- })
- },
- unmount: function (e, t) {
- ;(b.isUnmounted = !0),
- b.activeBranch && f(b.activeBranch, n, e, t),
- b.pendingBranch && f(b.pendingBranch, n, e, t)
- }
- }
- return b
- }
- function hydrateSuspense(e, t, n, r, a, o, i, s, l) {
- var c = (t.suspense = createSuspenseBoundary(
- t,
- r,
- n,
- e.parentNode,
- document.createElement('div'),
- null,
- a,
- o,
- i,
- s,
- !0
- )),
- u = l(e, (c.pendingBranch = t.ssContent), n, c, o, i)
- return 0 === c.deps && c.resolve(), u
- }
- function normalizeSuspenseChildren(e) {
- var t = e.shapeFlag,
- n = e.children,
- r = 32 & t
- ;(e.ssContent = normalizeSuspenseSlot(r ? n.default : n)),
- (e.ssFallback = r ? normalizeSuspenseSlot(n.fallback) : createVNode(Comment))
- }
- function normalizeSuspenseSlot(e) {
- var t
- if (isFunction$1(e)) {
- var n = isBlockTreeEnabled && e._c
- n && ((e._d = !1), openBlock()),
- (e = e()),
- n && ((e._d = !0), (t = currentBlock), closeBlock())
- }
- if (isArray$5(e)) {
- var r = filterSingleRoot(e)
- e = r
- }
- return (
- (e = normalizeVNode(e)),
- t &&
- !e.dynamicChildren &&
- (e.dynamicChildren = t.filter(function (t) {
- return t !== e
- })),
- e
- )
- }
- function queueEffectWithSuspense(e, t) {
- var n
- t && t.pendingBranch
- ? isArray$5(e)
- ? (n = t.effects).push.apply(n, _toConsumableArray2(e))
- : t.effects.push(e)
- : queuePostFlushCb(e)
- }
- function setActiveBranch(e, t) {
- e.activeBranch = t
- var n = e.vnode,
- r = e.parentComponent,
- a = (n.el = t.el)
- r && r.subTree === n && ((r.vnode.el = a), updateHOCHostEl(r, a))
- }
- function provide(e, t) {
- if (currentInstance) {
- var n = currentInstance.provides,
- r = currentInstance.parent && currentInstance.parent.provides
- r === n && (n = currentInstance.provides = Object.create(r)), (n[e] = t)
- } else;
- }
- function inject(e, t) {
- var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2],
- r = currentInstance || currentRenderingInstance
- if (r) {
- var a =
- null == r.parent
- ? r.vnode.appContext && r.vnode.appContext.provides
- : r.parent.provides
- if (a && e in a) return a[e]
- if (arguments.length > 1) return n && isFunction$1(t) ? t.call(r.proxy) : t
- }
- }
- function useTransitionState() {
- var e = { isMounted: !1, isLeaving: !1, isUnmounting: !1, leavingVNodes: new Map() }
- return (
- onMounted(function () {
- e.isMounted = !0
- }),
- onBeforeUnmount(function () {
- e.isUnmounting = !0
- }),
- e
- )
- }
- var TransitionHookValidator = [Function, Array],
- BaseTransitionImpl = {
- name: 'BaseTransition',
- props: {
- mode: String,
- appear: Boolean,
- persisted: Boolean,
- onBeforeEnter: TransitionHookValidator,
- onEnter: TransitionHookValidator,
- onAfterEnter: TransitionHookValidator,
- onEnterCancelled: TransitionHookValidator,
- onBeforeLeave: TransitionHookValidator,
- onLeave: TransitionHookValidator,
- onAfterLeave: TransitionHookValidator,
- onLeaveCancelled: TransitionHookValidator,
- onBeforeAppear: TransitionHookValidator,
- onAppear: TransitionHookValidator,
- onAfterAppear: TransitionHookValidator,
- onAppearCancelled: TransitionHookValidator
- },
- setup: function (e, t) {
- var n,
- r = t.slots,
- a = getCurrentInstance(),
- o = useTransitionState()
- return function () {
- var t = r.default && getTransitionRawChildren(r.default(), !0)
- if (t && t.length) {
- var i = toRaw(e),
- s = i.mode,
- l = t[0]
- if (o.isLeaving) return emptyPlaceholder(l)
- var c = getKeepAliveChild(l)
- if (!c) return emptyPlaceholder(l)
- var u = resolveTransitionHooks(c, i, o, a)
- setTransitionHooks(c, u)
- var p = a.subTree,
- d = p && getKeepAliveChild(p),
- f = !1,
- h = c.type.getTransitionKey
- if (h) {
- var v = h()
- void 0 === n ? (n = v) : v !== n && ((n = v), (f = !0))
- }
- if (d && d.type !== Comment && (!isSameVNodeType(c, d) || f)) {
- var m = resolveTransitionHooks(d, i, o, a)
- if ((setTransitionHooks(d, m), 'out-in' === s))
- return (
- (o.isLeaving = !0),
- (m.afterLeave = function () {
- ;(o.isLeaving = !1), a.update()
- }),
- emptyPlaceholder(l)
- )
- 'in-out' === s &&
- c.type !== Comment &&
- (m.delayLeave = function (e, t, n) {
- ;(getLeavingNodesForType(o, d)[String(d.key)] = d),
- (e._leaveCb = function () {
- t(), (e._leaveCb = void 0), delete u.delayedLeave
- }),
- (u.delayedLeave = n)
- })
- }
- return l
- }
- }
- }
- },
- BaseTransition = exports('c6', BaseTransitionImpl)
- function getLeavingNodesForType(e, t) {
- var n = e.leavingVNodes,
- r = n.get(t.type)
- return r || ((r = Object.create(null)), n.set(t.type, r)), r
- }
- function resolveTransitionHooks(e, t, n, r) {
- var a = t.appear,
- o = t.mode,
- i = t.persisted,
- s = void 0 !== i && i,
- l = t.onBeforeEnter,
- c = t.onEnter,
- u = t.onAfterEnter,
- p = t.onEnterCancelled,
- d = t.onBeforeLeave,
- f = t.onLeave,
- h = t.onAfterLeave,
- v = t.onLeaveCancelled,
- m = t.onBeforeAppear,
- g = t.onAppear,
- y = t.onAfterAppear,
- b = t.onAppearCancelled,
- _ = String(e.key),
- A = getLeavingNodesForType(n, e),
- x = function (e, t) {
- e && callWithAsyncErrorHandling(e, r, 9, t)
- },
- w = {
- mode: o,
- persisted: s,
- beforeEnter: function (t) {
- var r = l
- if (!n.isMounted) {
- if (!a) return
- r = m || l
- }
- t._leaveCb && t._leaveCb(!0)
- var o = A[_]
- o && isSameVNodeType(e, o) && o.el._leaveCb && o.el._leaveCb(), x(r, [t])
- },
- enter: function (e) {
- var t = c,
- r = u,
- o = p
- if (!n.isMounted) {
- if (!a) return
- ;(t = g || c), (r = y || u), (o = b || p)
- }
- var i = !1,
- s = (e._enterCb = function (t) {
- i ||
- ((i = !0),
- x(t ? o : r, [e]),
- w.delayedLeave && w.delayedLeave(),
- (e._enterCb = void 0))
- })
- t ? (t(e, s), t.length <= 1 && s()) : s()
- },
- leave: function (t, r) {
- var a = String(e.key)
- if ((t._enterCb && t._enterCb(!0), n.isUnmounting)) return r()
- x(d, [t])
- var o = !1,
- i = (t._leaveCb = function (n) {
- o ||
- ((o = !0),
- r(),
- x(n ? v : h, [t]),
- (t._leaveCb = void 0),
- A[a] === e && delete A[a])
- })
- ;(A[a] = e), f ? (f(t, i), f.length <= 1 && i()) : i()
- },
- clone: function (e) {
- return resolveTransitionHooks(e, t, n, r)
- }
- }
- return w
- }
- function emptyPlaceholder(e) {
- if (isKeepAlive(e)) return ((e = cloneVNode(e)).children = null), e
- }
- function getKeepAliveChild(e) {
- return isKeepAlive(e) ? (e.children ? e.children[0] : void 0) : e
- }
- function setTransitionHooks(e, t) {
- 6 & e.shapeFlag && e.component
- ? setTransitionHooks(e.component.subTree, t)
- : 128 & e.shapeFlag
- ? ((e.ssContent.transition = t.clone(e.ssContent)),
- (e.ssFallback.transition = t.clone(e.ssFallback)))
- : (e.transition = t)
- }
- function getTransitionRawChildren(e) {
- for (
- var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1],
- n = [],
- r = 0,
- a = 0;
- a < e.length;
- a++
- ) {
- var o = e[a]
- o.type === Fragment
- ? (128 & o.patchFlag && r++,
- (n = n.concat(getTransitionRawChildren(o.children, t))))
- : (t || o.type !== Comment) && n.push(o)
- }
- if (r > 1) for (var i = 0; i < n.length; i++) n[i].patchFlag = -2
- return n
- }
- function defineComponent(e) {
- return isFunction$1(e) ? { setup: e, name: e.name } : e
- }
- var isAsyncWrapper = function (e) {
- return !!e.type.__asyncLoader
- }
- function defineAsyncComponent(e) {
- isFunction$1(e) && (e = { loader: e })
- var t,
- n = e,
- r = n.loader,
- a = n.loadingComponent,
- o = n.errorComponent,
- i = n.delay,
- s = void 0 === i ? 200 : i,
- l = n.timeout,
- c = n.suspensible,
- u = void 0 === c || c,
- p = n.onError,
- d = null,
- f = 0,
- h = function () {
- return f++, (d = null), v()
- },
- v = function () {
- var e
- return (
- d ||
- (e = d =
- r()
- .catch(function (e) {
- if (((e = e instanceof Error ? e : new Error(String(e))), p))
- return new Promise(function (t, n) {
- p(
- e,
- function () {
- return t(h())
- },
- function () {
- return n(e)
- },
- f + 1
- )
- })
- throw e
- })
- .then(function (n) {
- return e !== d && d
- ? d
- : (n &&
- (n.__esModule || 'Module' === n[Symbol.toStringTag]) &&
- (n = n.default),
- (t = n),
- n)
- }))
- )
- }
- return defineComponent({
- name: 'AsyncComponentWrapper',
- __asyncLoader: v,
- get __asyncResolved() {
- return t
- },
- setup: function () {
- var e = currentInstance
- if (t)
- return function () {
- return createInnerComp(t, e)
- }
- var n = function (t) {
- ;(d = null), handleError(t, e, 13, !o)
- }
- if ((u && e.suspense) || isInSSRComponentSetup)
- return v()
- .then(function (t) {
- return function () {
- return createInnerComp(t, e)
- }
- })
- .catch(function (e) {
- return (
- n(e),
- function () {
- return o ? createVNode(o, { error: e }) : null
- }
- )
- })
- var r = ref(!1),
- i = ref(),
- c = ref(!!s)
- return (
- s &&
- setTimeout(function () {
- c.value = !1
- }, s),
- null != l &&
- setTimeout(function () {
- if (!r.value && !i.value) {
- var e = new Error('Async component timed out after '.concat(l, 'ms.'))
- n(e), (i.value = e)
- }
- }, l),
- v()
- .then(function () {
- ;(r.value = !0),
- e.parent && isKeepAlive(e.parent.vnode) && queueJob(e.parent.update)
- })
- .catch(function (e) {
- n(e), (i.value = e)
- }),
- function () {
- return r.value && t
- ? createInnerComp(t, e)
- : i.value && o
- ? createVNode(o, { error: i.value })
- : a && !c.value
- ? createVNode(a)
- : void 0
- }
- )
- }
- })
- }
- function createInnerComp(e, t) {
- var n = t.vnode,
- r = n.ref,
- a = n.props,
- o = n.children,
- i = createVNode(e, a, o)
- return (i.ref = r), i
- }
- var isKeepAlive = function (e) {
- return e.type.__isKeepAlive
- },
- KeepAliveImpl = {
- name: 'KeepAlive',
- __isKeepAlive: !0,
- props: {
- include: [String, RegExp, Array],
- exclude: [String, RegExp, Array],
- max: [String, Number]
- },
- setup: function (e, t) {
- var n = t.slots,
- r = getCurrentInstance(),
- a = r.ctx
- if (!a.renderer) return n.default
- var o = new Map(),
- i = new Set(),
- s = null,
- l = r.suspense,
- c = a.renderer,
- u = c.p,
- p = c.m,
- d = c.um,
- f = (0, c.o.createElement)('div')
- function h(e) {
- resetShapeFlag(e), d(e, r, l)
- }
- function v(e) {
- o.forEach(function (t, n) {
- var r = getComponentName(t.type)
- !r || (e && e(r)) || m(n)
- })
- }
- function m(e) {
- var t = o.get(e)
- s && t.type === s.type ? s && resetShapeFlag(s) : h(t), o.delete(e), i.delete(e)
- }
- ;(a.activate = function (e, t, n, r, a) {
- var o = e.component
- p(e, t, n, 0, l),
- u(o.vnode, e, t, n, o, l, r, e.slotScopeIds, a),
- queuePostRenderEffect(function () {
- ;(o.isDeactivated = !1), o.a && invokeArrayFns(o.a)
- var t = e.props && e.props.onVnodeMounted
- t && invokeVNodeHook(t, o.parent, e)
- }, l)
- }),
- (a.deactivate = function (e) {
- var t = e.component
- p(e, f, null, 1, l),
- queuePostRenderEffect(function () {
- t.da && invokeArrayFns(t.da)
- var n = e.props && e.props.onVnodeUnmounted
- n && invokeVNodeHook(n, t.parent, e), (t.isDeactivated = !0)
- }, l)
- }),
- watch(
- function () {
- return [e.include, e.exclude]
- },
- function (e) {
- var t = _slicedToArray(e, 2),
- n = t[0],
- r = t[1]
- n &&
- v(function (e) {
- return matches(n, e)
- }),
- r &&
- v(function (e) {
- return !matches(r, e)
- })
- },
- { flush: 'post', deep: !0 }
- )
- var g = null,
- y = function () {
- null != g && o.set(g, getInnerChild(r.subTree))
- }
- return (
- onMounted(y),
- onUpdated(y),
- onBeforeUnmount(function () {
- o.forEach(function (e) {
- var t = r.subTree,
- n = r.suspense,
- a = getInnerChild(t)
- if (e.type !== a.type) h(e)
- else {
- resetShapeFlag(a)
- var o = a.component.da
- o && queuePostRenderEffect(o, n)
- }
- })
- }),
- function () {
- if (((g = null), !n.default)) return null
- var t = n.default(),
- r = t[0]
- if (t.length > 1) return (s = null), t
- if (!(isVNode(r) && (4 & r.shapeFlag || 128 & r.shapeFlag)))
- return (s = null), r
- var a = getInnerChild(r),
- l = a.type,
- c = getComponentName(isAsyncWrapper(a) ? a.type.__asyncResolved || {} : l),
- u = e.include,
- p = e.exclude,
- d = e.max
- if ((u && (!c || !matches(u, c))) || (p && c && matches(p, c)))
- return (s = a), r
- var f = null == a.key ? l : a.key,
- h = o.get(f)
- return (
- a.el && ((a = cloneVNode(a)), 128 & r.shapeFlag && (r.ssContent = a)),
- (g = f),
- h
- ? ((a.el = h.el),
- (a.component = h.component),
- a.transition && setTransitionHooks(a, a.transition),
- (a.shapeFlag |= 512),
- i.delete(f),
- i.add(f))
- : (i.add(f), d && i.size > parseInt(d, 10) && m(i.values().next().value)),
- (a.shapeFlag |= 256),
- (s = a),
- r
- )
- }
- )
- }
- },
- KeepAlive = exports('c8', KeepAliveImpl)
- function matches(e, t) {
- return isArray$5(e)
- ? e.some(function (e) {
- return matches(e, t)
- })
- : isString$1(e)
- ? e.split(',').indexOf(t) > -1
- : !!e.test && e.test(t)
- }
- function onActivated(e, t) {
- registerKeepAliveHook(e, 'a', t)
- }
- function onDeactivated(e, t) {
- registerKeepAliveHook(e, 'da', t)
- }
- function registerKeepAliveHook(e, t) {
- var n =
- arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : currentInstance,
- r =
- e.__wdc ||
- (e.__wdc = function () {
- for (var t = n; t; ) {
- if (t.isDeactivated) return
- t = t.parent
- }
- return e()
- })
- if ((injectHook(t, r, n), n))
- for (var a = n.parent; a && a.parent; )
- isKeepAlive(a.parent.vnode) && injectToKeepAliveRoot(r, t, n, a), (a = a.parent)
- }
- function injectToKeepAliveRoot(e, t, n, r) {
- var a = injectHook(t, e, r, !0)
- onUnmounted(function () {
- remove(r[t], a)
- }, n)
- }
- function resetShapeFlag(e) {
- var t = e.shapeFlag
- 256 & t && (t -= 256), 512 & t && (t -= 512), (e.shapeFlag = t)
- }
- function getInnerChild(e) {
- return 128 & e.shapeFlag ? e.ssContent : e
- }
- function injectHook(e, t) {
- var n =
- arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : currentInstance,
- r = arguments.length > 3 && void 0 !== arguments[3] && arguments[3]
- if (n) {
- var a = n[e] || (n[e] = []),
- o =
- t.__weh ||
- (t.__weh = function () {
- if (!n.isUnmounted) {
- pauseTracking(), setCurrentInstance(n)
- for (var r = arguments.length, a = new Array(r), o = 0; o < r; o++)
- a[o] = arguments[o]
- var i = callWithAsyncErrorHandling(t, n, e, a)
- return unsetCurrentInstance(), resetTracking(), i
- }
- })
- return r ? a.unshift(o) : a.push(o), o
- }
- }
- var createHook = function (e) {
- return function (t) {
- var n =
- arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : currentInstance
- return (!isInSSRComponentSetup || 'sp' === e) && injectHook(e, t, n)
- }
- },
- onBeforeMount = exports('cz', createHook('bm')),
- onMounted = exports('$', createHook('m')),
- onBeforeUpdate = exports('aK', createHook('bu')),
- onUpdated = exports('az', createHook('u')),
- onBeforeUnmount = exports('ab', createHook('bum')),
- onUnmounted = exports('b3', createHook('um')),
- onServerPrefetch = exports('cD', createHook('sp')),
- onRenderTriggered = exports('cC', createHook('rtg')),
- onRenderTracked = exports('cB', createHook('rtc'))
- function onErrorCaptured(e) {
- var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : currentInstance
- injectHook('ec', e, t)
- }
- var shouldCacheAccess = !0
- function applyOptions(e) {
- var t = resolveMergedOptions(e),
- n = e.proxy,
- r = e.ctx
- ;(shouldCacheAccess = !1), t.beforeCreate && callHook$1(t.beforeCreate, e, 'bc')
- var a = t.data,
- o = t.computed,
- i = t.methods,
- s = t.watch,
- l = t.provide,
- c = t.inject,
- u = t.created,
- p = t.beforeMount,
- d = t.mounted,
- f = t.beforeUpdate,
- h = t.updated,
- v = t.activated,
- m = t.deactivated,
- g = (t.beforeDestroy, t.beforeUnmount),
- y = (t.destroyed, t.unmounted),
- b = t.render,
- _ = t.renderTracked,
- A = t.renderTriggered,
- x = t.errorCaptured,
- w = t.serverPrefetch,
- k = t.expose,
- S = t.inheritAttrs,
- E = t.components,
- P = t.directives
- t.filters
- if ((c && resolveInjections(c, r, null, e.appContext.config.unwrapInjectedRef), i))
- for (var C in i) {
- var T = i[C]
- isFunction$1(T) && (r[C] = T.bind(n))
- }
- if (a) {
- var I = a.call(n, n)
- isObject$2(I) && (e.data = reactive(I))
- }
- if (((shouldCacheAccess = !0), o)) {
- var R = function (e) {
- var t = o[e],
- a = computed({
- get: isFunction$1(t)
- ? t.bind(n, n)
- : isFunction$1(t.get)
- ? t.get.bind(n, n)
- : NOOP,
- set: !isFunction$1(t) && isFunction$1(t.set) ? t.set.bind(n) : NOOP
- })
- Object.defineProperty(r, e, {
- enumerable: !0,
- configurable: !0,
- get: function () {
- return a.value
- },
- set: function (e) {
- return (a.value = e)
- }
- })
- }
- for (var M in o) R(M)
- }
- if (s) for (var z in s) createWatcher(s[z], r, n, z)
- if (l) {
- var O = isFunction$1(l) ? l.call(n) : l
- Reflect.ownKeys(O).forEach(function (e) {
- provide(e, O[e])
- })
- }
- function D(e, t) {
- isArray$5(t)
- ? t.forEach(function (t) {
- return e(t.bind(n))
- })
- : t && e(t.bind(n))
- }
- if (
- (u && callHook$1(u, e, 'c'),
- D(onBeforeMount, p),
- D(onMounted, d),
- D(onBeforeUpdate, f),
- D(onUpdated, h),
- D(onActivated, v),
- D(onDeactivated, m),
- D(onErrorCaptured, x),
- D(onRenderTracked, _),
- D(onRenderTriggered, A),
- D(onBeforeUnmount, g),
- D(onUnmounted, y),
- D(onServerPrefetch, w),
- isArray$5(k))
- )
- if (k.length) {
- var F = e.exposed || (e.exposed = {})
- k.forEach(function (e) {
- Object.defineProperty(F, e, {
- get: function () {
- return n[e]
- },
- set: function (t) {
- return (n[e] = t)
- }
- })
- })
- } else e.exposed || (e.exposed = {})
- b && e.render === NOOP && (e.render = b),
- null != S && (e.inheritAttrs = S),
- E && (e.components = E),
- P && (e.directives = P)
- }
- function resolveInjections(e, t) {
- var n = arguments.length > 3 && void 0 !== arguments[3] && arguments[3]
- isArray$5(e) && (e = normalizeInject(e))
- var r = function (r) {
- var a = e[r],
- o = void 0
- isRef(
- (o = isObject$2(a)
- ? 'default' in a
- ? inject(a.from || r, a.default, !0)
- : inject(a.from || r)
- : inject(a))
- ) && n
- ? Object.defineProperty(t, r, {
- enumerable: !0,
- configurable: !0,
- get: function () {
- return o.value
- },
- set: function (e) {
- return (o.value = e)
- }
- })
- : (t[r] = o)
- }
- for (var a in e) r(a)
- }
- function callHook$1(e, t, n) {
- callWithAsyncErrorHandling(
- isArray$5(e)
- ? e.map(function (e) {
- return e.bind(t.proxy)
- })
- : e.bind(t.proxy),
- t,
- n
- )
- }
- function createWatcher(e, t, n, r) {
- var a = r.includes('.')
- ? createPathGetter(n, r)
- : function () {
- return n[r]
- }
- if (isString$1(e)) {
- var o = t[e]
- isFunction$1(o) && watch(a, o)
- } else if (isFunction$1(e)) watch(a, e.bind(n))
- else if (isObject$2(e))
- if (isArray$5(e))
- e.forEach(function (e) {
- return createWatcher(e, t, n, r)
- })
- else {
- var i = isFunction$1(e.handler) ? e.handler.bind(n) : t[e.handler]
- isFunction$1(i) && watch(a, i, e)
- }
- }
- function resolveMergedOptions(e) {
- var t,
- n = e.type,
- r = n.mixins,
- a = n.extends,
- o = e.appContext,
- i = o.mixins,
- s = o.optionsCache,
- l = o.config.optionMergeStrategies,
- c = s.get(n)
- return (
- c
- ? (t = c)
- : i.length || r || a
- ? ((t = {}),
- i.length &&
- i.forEach(function (e) {
- return mergeOptions$1(t, e, l, !0)
- }),
- mergeOptions$1(t, n, l))
- : (t = n),
- s.set(n, t),
- t
- )
- }
- function mergeOptions$1(e, t, n) {
- var r = arguments.length > 3 && void 0 !== arguments[3] && arguments[3],
- a = t.mixins,
- o = t.extends
- for (var i in (o && mergeOptions$1(e, o, n, !0),
- a &&
- a.forEach(function (t) {
- return mergeOptions$1(e, t, n, !0)
- }),
- t))
- if (r && 'expose' === i);
- else {
- var s = internalOptionMergeStrats[i] || (n && n[i])
- e[i] = s ? s(e[i], t[i]) : t[i]
- }
- return e
- }
- var internalOptionMergeStrats = {
- data: mergeDataFn,
- props: mergeObjectOptions,
- emits: mergeObjectOptions,
- methods: mergeObjectOptions,
- computed: mergeObjectOptions,
- beforeCreate: mergeAsArray,
- created: mergeAsArray,
- beforeMount: mergeAsArray,
- mounted: mergeAsArray,
- beforeUpdate: mergeAsArray,
- updated: mergeAsArray,
- beforeDestroy: mergeAsArray,
- beforeUnmount: mergeAsArray,
- destroyed: mergeAsArray,
- unmounted: mergeAsArray,
- activated: mergeAsArray,
- deactivated: mergeAsArray,
- errorCaptured: mergeAsArray,
- serverPrefetch: mergeAsArray,
- components: mergeObjectOptions,
- directives: mergeObjectOptions,
- watch: mergeWatchOptions,
- provide: mergeDataFn,
- inject: mergeInject
- }
- function mergeDataFn(e, t) {
- return t
- ? e
- ? function () {
- return extend$2(
- isFunction$1(e) ? e.call(this, this) : e,
- isFunction$1(t) ? t.call(this, this) : t
- )
- }
- : t
- : e
- }
- function mergeInject(e, t) {
- return mergeObjectOptions(normalizeInject(e), normalizeInject(t))
- }
- function normalizeInject(e) {
- if (isArray$5(e)) {
- for (var t = {}, n = 0; n < e.length; n++) t[e[n]] = e[n]
- return t
- }
- return e
- }
- function mergeAsArray(e, t) {
- return e ? _toConsumableArray2(new Set([].concat(e, t))) : t
- }
- function mergeObjectOptions(e, t) {
- return e ? extend$2(extend$2(Object.create(null), e), t) : t
- }
- function mergeWatchOptions(e, t) {
- if (!e) return t
- if (!t) return e
- var n = extend$2(Object.create(null), e)
- for (var r in t) n[r] = mergeAsArray(e[r], t[r])
- return n
- }
- function initProps(e, t, n) {
- var r = arguments.length > 3 && void 0 !== arguments[3] && arguments[3],
- a = {},
- o = {}
- for (var i in (def(o, InternalObjectKey, 1),
- (e.propsDefaults = Object.create(null)),
- setFullProps(e, t, a, o),
- e.propsOptions[0]))
- i in a || (a[i] = void 0)
- n
- ? (e.props = r ? a : shallowReactive(a))
- : e.type.props
- ? (e.props = a)
- : (e.props = o),
- (e.attrs = o)
- }
- function updateProps(e, t, n, r) {
- var a = e.props,
- o = e.attrs,
- i = e.vnode.patchFlag,
- s = toRaw(a),
- l = _slicedToArray(e.propsOptions, 1)[0],
- c = !1
- if (!(r || i > 0) || 16 & i) {
- var u
- for (var p in (setFullProps(e, t, a, o) && (c = !0), s))
- (t && (hasOwn$2(t, p) || ((u = hyphenate(p)) !== p && hasOwn$2(t, u)))) ||
- (l
- ? !n ||
- (void 0 === n[p] && void 0 === n[u]) ||
- (a[p] = resolvePropValue(l, s, p, void 0, e, !0))
- : delete a[p])
- if (o !== s) for (var d in o) (t && hasOwn$2(t, d)) || (delete o[d], (c = !0))
- } else if (8 & i)
- for (var f = e.vnode.dynamicProps, h = 0; h < f.length; h++) {
- var v = f[h],
- m = t[v]
- if (l)
- if (hasOwn$2(o, v)) m !== o[v] && ((o[v] = m), (c = !0))
- else {
- var g = camelize$1(v)
- a[g] = resolvePropValue(l, s, g, m, e, !1)
- }
- else m !== o[v] && ((o[v] = m), (c = !0))
- }
- c && trigger$1(e, 'set', '$attrs')
- }
- function setFullProps(e, t, n, r) {
- var a,
- o = _slicedToArray(e.propsOptions, 2),
- i = o[0],
- s = o[1],
- l = !1
- if (t)
- for (var c in t)
- if (!isReservedProp(c)) {
- var u = t[c],
- p = void 0
- i && hasOwn$2(i, (p = camelize$1(c)))
- ? s && s.includes(p)
- ? ((a || (a = {}))[p] = u)
- : (n[p] = u)
- : isEmitListener(e.emitsOptions, c) ||
- (c in r && u === r[c]) ||
- ((r[c] = u), (l = !0))
- }
- if (s)
- for (var d = toRaw(n), f = a || EMPTY_OBJ, h = 0; h < s.length; h++) {
- var v = s[h]
- n[v] = resolvePropValue(i, d, v, f[v], e, !hasOwn$2(f, v))
- }
- return l
- }
- function resolvePropValue(e, t, n, r, a, o) {
- var i = e[n]
- if (null != i) {
- var s = hasOwn$2(i, 'default')
- if (s && void 0 === r) {
- var l = i.default
- if (i.type !== Function && isFunction$1(l)) {
- var c = a.propsDefaults
- n in c
- ? (r = c[n])
- : (setCurrentInstance(a), (r = c[n] = l.call(null, t)), unsetCurrentInstance())
- } else r = l
- }
- i[0] && (o && !s ? (r = !1) : !i[1] || ('' !== r && r !== hyphenate(n)) || (r = !0))
- }
- return r
- }
- function normalizePropsOptions(e, t) {
- var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2],
- r = t.propsCache,
- a = r.get(e)
- if (a) return a
- var o = e.props,
- i = {},
- s = [],
- l = !1
- if (!isFunction$1(e)) {
- var c = function (e) {
- l = !0
- var n = _slicedToArray(normalizePropsOptions(e, t, !0), 2),
- r = n[0],
- a = n[1]
- extend$2(i, r), a && s.push.apply(s, _toConsumableArray2(a))
- }
- !n && t.mixins.length && t.mixins.forEach(c),
- e.extends && c(e.extends),
- e.mixins && e.mixins.forEach(c)
- }
- if (!o && !l) return r.set(e, EMPTY_ARR), EMPTY_ARR
- if (isArray$5(o))
- for (var u = 0; u < o.length; u++) {
- var p = camelize$1(o[u])
- validatePropName(p) && (i[p] = EMPTY_OBJ)
- }
- else if (o)
- for (var d in o) {
- var f = camelize$1(d)
- if (validatePropName(f)) {
- var h = o[d],
- v = (i[f] = isArray$5(h) || isFunction$1(h) ? { type: h } : h)
- if (v) {
- var m = getTypeIndex(Boolean, v.type),
- g = getTypeIndex(String, v.type)
- ;(v[0] = m > -1),
- (v[1] = g < 0 || m < g),
- (m > -1 || hasOwn$2(v, 'default')) && s.push(f)
- }
- }
- }
- var y = [i, s]
- return r.set(e, y), y
- }
- function validatePropName(e) {
- return '$' !== e[0]
- }
- function getType(e) {
- var t = e && e.toString().match(/^\s*function (\w+)/)
- return t ? t[1] : null === e ? 'null' : ''
- }
- function isSameType(e, t) {
- return getType(e) === getType(t)
- }
- function getTypeIndex(e, t) {
- return isArray$5(t)
- ? t.findIndex(function (t) {
- return isSameType(t, e)
- })
- : isFunction$1(t) && isSameType(t, e)
- ? 0
- : -1
- }
- var isInternalKey = function (e) {
- return '_' === e[0] || '$stable' === e
- },
- normalizeSlotValue = function (e) {
- return isArray$5(e) ? e.map(normalizeVNode) : [normalizeVNode(e)]
- },
- normalizeSlot$1 = function (e, t, n) {
- var r = withCtx(function () {
- return normalizeSlotValue(t.apply(void 0, arguments))
- }, n)
- return (r._c = !1), r
- },
- normalizeObjectSlots = function (e, t, n) {
- var r = e._ctx
- for (var a in e)
- if (!isInternalKey(a)) {
- var o = e[a]
- isFunction$1(o)
- ? (t[a] = normalizeSlot$1(a, o, r))
- : null != o &&
- (function () {
- var e = normalizeSlotValue(o)
- t[a] = function () {
- return e
- }
- })()
- }
- },
- normalizeVNodeSlots = function (e, t) {
- var n = normalizeSlotValue(t)
- e.slots.default = function () {
- return n
- }
- },
- initSlots = function (e, t) {
- if (32 & e.vnode.shapeFlag) {
- var n = t._
- n ? ((e.slots = toRaw(t)), def(t, '_', n)) : normalizeObjectSlots(t, (e.slots = {}))
- } else (e.slots = {}), t && normalizeVNodeSlots(e, t)
- def(e.slots, InternalObjectKey, 1)
- },
- updateSlots = function (e, t, n) {
- var r = e.vnode,
- a = e.slots,
- o = !0,
- i = EMPTY_OBJ
- if (32 & r.shapeFlag) {
- var s = t._
- s
- ? n && 1 === s
- ? (o = !1)
- : (extend$2(a, t), n || 1 !== s || delete a._)
- : ((o = !t.$stable), normalizeObjectSlots(t, a)),
- (i = t)
- } else t && (normalizeVNodeSlots(e, t), (i = { default: 1 }))
- if (o) for (var l in a) isInternalKey(l) || l in i || delete a[l]
- }
- function withDirectives(e, t) {
- if (null === currentRenderingInstance) return e
- for (
- var n = currentRenderingInstance.proxy, r = e.dirs || (e.dirs = []), a = 0;
- a < t.length;
- a++
- ) {
- var o = _slicedToArray(t[a], 4),
- i = o[0],
- s = o[1],
- l = o[2],
- c = o[3],
- u = void 0 === c ? EMPTY_OBJ : c
- isFunction$1(i) && (i = { mounted: i, updated: i }),
- i.deep && traverse(s),
- r.push({ dir: i, instance: n, value: s, oldValue: void 0, arg: l, modifiers: u })
- }
- return e
- }
- function invokeDirectiveHook(e, t, n, r) {
- for (var a = e.dirs, o = t && t.dirs, i = 0; i < a.length; i++) {
- var s = a[i]
- o && (s.oldValue = o[i].value)
- var l = s.dir[r]
- l &&
- (pauseTracking(),
- callWithAsyncErrorHandling(l, n, 8, [e.el, s, e, t]),
- resetTracking())
- }
- }
- function createAppContext() {
- return {
- app: null,
- config: {
- isNativeTag: NO,
- performance: !1,
- globalProperties: {},
- optionMergeStrategies: {},
- errorHandler: void 0,
- warnHandler: void 0,
- compilerOptions: {}
- },
- mixins: [],
- components: {},
- directives: {},
- provides: Object.create(null),
- optionsCache: new WeakMap(),
- propsCache: new WeakMap(),
- emitsCache: new WeakMap()
- }
- }
- var uid = 0
- function createAppAPI(e, t) {
- return function (n) {
- var r = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null
- null == r || isObject$2(r) || (r = null)
- var a = createAppContext(),
- o = new Set(),
- i = !1,
- s = (a.app = {
- _uid: uid++,
- _component: n,
- _props: r,
- _container: null,
- _context: a,
- _instance: null,
- version: version,
- get config() {
- return a.config
- },
- set config(e) {},
- use: function (e) {
- for (
- var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1;
- r < t;
- r++
- )
- n[r - 1] = arguments[r]
- return (
- o.has(e) ||
- (e && isFunction$1(e.install)
- ? (o.add(e), e.install.apply(e, [s].concat(n)))
- : isFunction$1(e) && (o.add(e), e.apply(void 0, [s].concat(n)))),
- s
- )
- },
- mixin: function (e) {
- return a.mixins.includes(e) || a.mixins.push(e), s
- },
- component: function (e, t) {
- return t ? ((a.components[e] = t), s) : a.components[e]
- },
- directive: function (e, t) {
- return t ? ((a.directives[e] = t), s) : a.directives[e]
- },
- mount: function (o, l, c) {
- if (!i) {
- var u = createVNode(n, r)
- return (
- (u.appContext = a),
- l && t ? t(u, o) : e(u, o, c),
- (i = !0),
- (s._container = o),
- (o.__vue_app__ = s),
- getExposeProxy(u.component) || u.component.proxy
- )
- }
- },
- unmount: function () {
- i && (e(null, s._container), delete s._container.__vue_app__)
- },
- provide: function (e, t) {
- return (a.provides[e] = t), s
- }
- })
- return s
- }
- }
- function setRef(e, t, n, r) {
- var a = arguments.length > 4 && void 0 !== arguments[4] && arguments[4]
- if (isArray$5(e))
- e.forEach(function (e, o) {
- return setRef(e, t && (isArray$5(t) ? t[o] : t), n, r, a)
- })
- else if (!isAsyncWrapper(r) || a) {
- var o = 4 & r.shapeFlag ? getExposeProxy(r.component) || r.component.proxy : r.el,
- i = a ? null : o,
- s = e.i,
- l = e.r,
- c = t && t.r,
- u = s.refs === EMPTY_OBJ ? (s.refs = {}) : s.refs,
- p = s.setupState
- if (
- (null != c &&
- c !== l &&
- (isString$1(c)
- ? ((u[c] = null), hasOwn$2(p, c) && (p[c] = null))
- : isRef(c) && (c.value = null)),
- isFunction$1(l))
- )
- callWithErrorHandling(l, s, 12, [i, u])
- else {
- var d = isString$1(l),
- f = isRef(l)
- if (d || f) {
- var h = function () {
- if (e.f) {
- var t = d ? u[l] : l.value
- a
- ? isArray$5(t) && remove(t, o)
- : isArray$5(t)
- ? t.includes(o) || t.push(o)
- : d
- ? (u[l] = [o])
- : ((l.value = [o]), e.k && (u[e.k] = l.value))
- } else
- d
- ? ((u[l] = i), hasOwn$2(p, l) && (p[l] = i))
- : isRef(l) && ((l.value = i), e.k && (u[e.k] = i))
- }
- i ? ((h.id = -1), queuePostRenderEffect(h, n)) : h()
- }
- }
- }
- }
- var hasMismatch = !1,
- isSVGContainer = function (e) {
- return /svg/.test(e.namespaceURI) && 'foreignObject' !== e.tagName
- },
- isComment = function (e) {
- return 8 === e.nodeType
- }
- function createHydrationFunctions(e) {
- var t = e.mt,
- n = e.p,
- r = e.o,
- a = r.patchProp,
- o = r.nextSibling,
- i = r.parentNode,
- s = r.remove,
- l = r.insert,
- c = r.createComment,
- u = function n(r, a, s, l, c) {
- var u = arguments.length > 5 && void 0 !== arguments[5] && arguments[5],
- m = isComment(r) && '[' === r.data,
- g = function () {
- return h(r, a, s, l, c, m)
- },
- y = a.type,
- b = a.ref,
- _ = a.shapeFlag,
- A = r.nodeType
- a.el = r
- var x = null
- switch (y) {
- case Text:
- 3 !== A
- ? (x = g())
- : (r.data !== a.children && ((hasMismatch = !0), (r.data = a.children)),
- (x = o(r)))
- break
- case Comment:
- x = 8 !== A || m ? g() : o(r)
- break
- case Static:
- if (1 === A) {
- x = r
- for (var w = !a.children.length, k = 0; k < a.staticCount; k++)
- w && (a.children += x.outerHTML),
- k === a.staticCount - 1 && (a.anchor = x),
- (x = o(x))
- return x
- }
- x = g()
- break
- case Fragment:
- x = m ? f(r, a, s, l, c, u) : g()
- break
- default:
- if (1 & _)
- x =
- 1 !== A || a.type.toLowerCase() !== r.tagName.toLowerCase()
- ? g()
- : p(r, a, s, l, c, u)
- else if (6 & _) {
- a.slotScopeIds = c
- var S,
- E = i(r)
- if (
- (t(a, E, null, s, l, isSVGContainer(E), u),
- (x = m ? v(r) : o(r)),
- isAsyncWrapper(a))
- )
- m
- ? ((S = createVNode(Fragment)).anchor = x
- ? x.previousSibling
- : E.lastChild)
- : (S = 3 === r.nodeType ? createTextVNode('') : createVNode('div')),
- (S.el = r),
- (a.component.subTree = S)
- } else
- 64 & _
- ? (x = 8 !== A ? g() : a.type.hydrate(r, a, s, l, c, u, e, d))
- : 128 & _ &&
- (x = a.type.hydrate(r, a, s, l, isSVGContainer(i(r)), c, u, e, n))
- }
- return null != b && setRef(b, null, l, a), x
- },
- p = function (e, t, n, r, o, i) {
- i = i || !!t.dynamicChildren
- var l = t.type,
- c = t.props,
- u = t.patchFlag,
- p = t.shapeFlag,
- f = t.dirs,
- h = ('input' === l && f) || 'option' === l
- if (h || -1 !== u) {
- if ((f && invokeDirectiveHook(t, null, n, 'created'), c))
- if (h || !i || 48 & u)
- for (var v in c)
- ((h && v.endsWith('value')) || (isOn(v) && !isReservedProp(v))) &&
- a(e, v, null, c[v], !1, void 0, n)
- else c.onClick && a(e, 'onClick', null, c.onClick, !1, void 0, n)
- var m
- if (
- ((m = c && c.onVnodeBeforeMount) && invokeVNodeHook(m, n, t),
- f && invokeDirectiveHook(t, null, n, 'beforeMount'),
- ((m = c && c.onVnodeMounted) || f) &&
- queueEffectWithSuspense(function () {
- m && invokeVNodeHook(m, n, t),
- f && invokeDirectiveHook(t, null, n, 'mounted')
- }, r),
- 16 & p && (!c || (!c.innerHTML && !c.textContent)))
- )
- for (var g = d(e.firstChild, t, e, n, r, o, i); g; ) {
- hasMismatch = !0
- var y = g
- ;(g = g.nextSibling), s(y)
- }
- else
- 8 & p &&
- e.textContent !== t.children &&
- ((hasMismatch = !0), (e.textContent = t.children))
- }
- return e.nextSibling
- },
- d = function (e, t, r, a, o, i, s) {
- s = s || !!t.dynamicChildren
- for (var l = t.children, c = l.length, p = 0; p < c; p++) {
- var d = s ? l[p] : (l[p] = normalizeVNode(l[p]))
- if (e) e = u(e, d, a, o, i, s)
- else {
- if (d.type === Text && !d.children) continue
- ;(hasMismatch = !0), n(null, d, r, null, a, o, isSVGContainer(r), i)
- }
- }
- return e
- },
- f = function (e, t, n, r, a, s) {
- var u = t.slotScopeIds
- u && (a = a ? a.concat(u) : u)
- var p = i(e),
- f = d(o(e), t, p, n, r, a, s)
- return f && isComment(f) && ']' === f.data
- ? o((t.anchor = f))
- : ((hasMismatch = !0), l((t.anchor = c(']')), p, f), f)
- },
- h = function (e, t, r, a, l, c) {
- if (((hasMismatch = !0), (t.el = null), c))
- for (var u = v(e); ; ) {
- var p = o(e)
- if (!p || p === u) break
- s(p)
- }
- var d = o(e),
- f = i(e)
- return s(e), n(null, t, f, d, r, a, isSVGContainer(f), l), d
- },
- v = function (e) {
- for (var t = 0; e; )
- if ((e = o(e)) && isComment(e) && ('[' === e.data && t++, ']' === e.data)) {
- if (0 === t) return o(e)
- t--
- }
- return e
- }
- return [
- function (e, t) {
- if (!t.hasChildNodes()) return n(null, e, t), void flushPostFlushCbs()
- ;(hasMismatch = !1),
- u(t.firstChild, e, null, null, null),
- flushPostFlushCbs(),
- hasMismatch && console.error('Hydration completed but contains mismatches.')
- },
- u
- ]
- }
- var queuePostRenderEffect = queueEffectWithSuspense
- function createRenderer(e) {
- return baseCreateRenderer(e)
- }
- function createHydrationRenderer(e) {
- return baseCreateRenderer(e, createHydrationFunctions)
- }
- function baseCreateRenderer(e, t) {
- getGlobalThis().__VUE__ = !0
- var n,
- r,
- a = e.insert,
- o = e.remove,
- i = e.patchProp,
- s = e.createElement,
- l = e.createText,
- c = e.createComment,
- u = e.setText,
- p = e.setElementText,
- d = e.parentNode,
- f = e.nextSibling,
- h = e.setScopeId,
- v = void 0 === h ? NOOP : h,
- m = e.cloneNode,
- g = e.insertStaticContent,
- y = function (e, t, n) {
- var r = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : null,
- a = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : null,
- o = arguments.length > 5 && void 0 !== arguments[5] ? arguments[5] : null,
- i = arguments.length > 6 && void 0 !== arguments[6] && arguments[6],
- s = arguments.length > 7 && void 0 !== arguments[7] ? arguments[7] : null,
- l =
- arguments.length > 8 && void 0 !== arguments[8]
- ? arguments[8]
- : !!t.dynamicChildren
- if (e !== t) {
- e && !isSameVNodeType(e, t) && ((r = U(e)), V(e, a, o, !0), (e = null)),
- -2 === t.patchFlag && ((l = !1), (t.dynamicChildren = null))
- var c = t.type,
- u = t.ref,
- p = t.shapeFlag
- switch (c) {
- case Text:
- b(e, t, n, r)
- break
- case Comment:
- _(e, t, n, r)
- break
- case Static:
- null == e && A(t, n, r, i)
- break
- case Fragment:
- I(e, t, n, r, a, o, i, s, l)
- break
- default:
- 1 & p
- ? w(e, t, n, r, a, o, i, s, l)
- : 6 & p
- ? R(e, t, n, r, a, o, i, s, l)
- : (64 & p || 128 & p) && c.process(e, t, n, r, a, o, i, s, l, $)
- }
- null != u && a && setRef(u, e && e.ref, o, t || e, !t)
- }
- },
- b = function (e, t, n, r) {
- if (null == e) a((t.el = l(t.children)), n, r)
- else {
- var o = (t.el = e.el)
- t.children !== e.children && u(o, t.children)
- }
- },
- _ = function (e, t, n, r) {
- null == e ? a((t.el = c(t.children || '')), n, r) : (t.el = e.el)
- },
- A = function (e, t, n, r) {
- var a = _slicedToArray(g(e.children, t, n, r), 2)
- ;(e.el = a[0]), (e.anchor = a[1])
- },
- x = function (e, t, n) {
- for (var r, o = e.el, i = e.anchor; o && o !== i; ) (r = f(o)), a(o, t, n), (o = r)
- a(i, t, n)
- },
- w = function (e, t, n, r, a, o, i, s, l) {
- ;(i = i || 'svg' === t.type),
- null == e ? k(t, n, r, a, o, i, s, l) : P(e, t, a, o, i, s, l)
- },
- k = function (e, t, n, r, o, l, c, u) {
- var d,
- f,
- h = e.type,
- v = e.props,
- g = e.shapeFlag,
- y = e.transition,
- b = e.patchFlag,
- _ = e.dirs
- if (e.el && void 0 !== m && -1 === b) d = e.el = m(e.el)
- else {
- if (
- ((d = e.el = s(e.type, l, v && v.is, v)),
- 8 & g
- ? p(d, e.children)
- : 16 & g && E(e.children, d, null, r, o, l && 'foreignObject' !== h, c, u),
- _ && invokeDirectiveHook(e, null, r, 'created'),
- v)
- ) {
- for (var A in v)
- 'value' === A ||
- isReservedProp(A) ||
- i(d, A, null, v[A], l, e.children, r, o, q)
- 'value' in v && i(d, 'value', null, v.value),
- (f = v.onVnodeBeforeMount) && invokeVNodeHook(f, r, e)
- }
- S(d, e, e.scopeId, c, r)
- }
- _ && invokeDirectiveHook(e, null, r, 'beforeMount')
- var x = (!o || (o && !o.pendingBranch)) && y && !y.persisted
- x && y.beforeEnter(d),
- a(d, t, n),
- ((f = v && v.onVnodeMounted) || x || _) &&
- queuePostRenderEffect(function () {
- f && invokeVNodeHook(f, r, e),
- x && y.enter(d),
- _ && invokeDirectiveHook(e, null, r, 'mounted')
- }, o)
- },
- S = function e(t, n, r, a, o) {
- if ((r && v(t, r), a)) for (var i = 0; i < a.length; i++) v(t, a[i])
- if (o && n === o.subTree) {
- var s = o.vnode
- e(t, s, s.scopeId, s.slotScopeIds, o.parent)
- }
- },
- E = function (e, t, n, r, a, o, i, s) {
- for (
- var l = arguments.length > 8 && void 0 !== arguments[8] ? arguments[8] : 0, c = l;
- c < e.length;
- c++
- ) {
- var u = (e[c] = s ? cloneIfMounted(e[c]) : normalizeVNode(e[c]))
- y(null, u, t, n, r, a, o, i, s)
- }
- },
- P = function (e, t, n, r, a, o, s) {
- var l = (t.el = e.el),
- c = t.patchFlag,
- u = t.dynamicChildren,
- d = t.dirs
- c |= 16 & e.patchFlag
- var f,
- h = e.props || EMPTY_OBJ,
- v = t.props || EMPTY_OBJ
- n && toggleRecurse(n, !1),
- (f = v.onVnodeBeforeUpdate) && invokeVNodeHook(f, n, t, e),
- d && invokeDirectiveHook(t, e, n, 'beforeUpdate'),
- n && toggleRecurse(n, !0)
- var m = a && 'foreignObject' !== t.type
- if (
- (u
- ? C(e.dynamicChildren, u, l, n, r, m, o)
- : s || F(e, t, l, null, n, r, m, o, !1),
- c > 0)
- ) {
- if (16 & c) T(l, t, h, v, n, r, a)
- else if (
- (2 & c && h.class !== v.class && i(l, 'class', null, v.class, a),
- 4 & c && i(l, 'style', h.style, v.style, a),
- 8 & c)
- )
- for (var g = t.dynamicProps, y = 0; y < g.length; y++) {
- var b = g[y],
- _ = h[b],
- A = v[b]
- ;(A === _ && 'value' !== b) || i(l, b, _, A, a, e.children, n, r, q)
- }
- 1 & c && e.children !== t.children && p(l, t.children)
- } else s || null != u || T(l, t, h, v, n, r, a)
- ;((f = v.onVnodeUpdated) || d) &&
- queuePostRenderEffect(function () {
- f && invokeVNodeHook(f, n, t, e), d && invokeDirectiveHook(t, e, n, 'updated')
- }, r)
- },
- C = function (e, t, n, r, a, o, i) {
- for (var s = 0; s < t.length; s++) {
- var l = e[s],
- c = t[s],
- u =
- l.el && (l.type === Fragment || !isSameVNodeType(l, c) || 70 & l.shapeFlag)
- ? d(l.el)
- : n
- y(l, c, u, null, r, a, o, i, !0)
- }
- },
- T = function (e, t, n, r, a, o, s) {
- if (n !== r) {
- for (var l in r)
- if (!isReservedProp(l)) {
- var c = r[l],
- u = n[l]
- c !== u && 'value' !== l && i(e, l, u, c, s, t.children, a, o, q)
- }
- if (n !== EMPTY_OBJ)
- for (var p in n)
- isReservedProp(p) || p in r || i(e, p, n[p], null, s, t.children, a, o, q)
- 'value' in r && i(e, 'value', n.value, r.value)
- }
- },
- I = function (e, t, n, r, o, i, s, c, u) {
- var p = (t.el = e ? e.el : l('')),
- d = (t.anchor = e ? e.anchor : l('')),
- f = t.patchFlag,
- h = t.dynamicChildren,
- v = t.slotScopeIds
- v && (c = c ? c.concat(v) : v),
- null == e
- ? (a(p, n, r), a(d, n, r), E(t.children, n, d, o, i, s, c, u))
- : f > 0 && 64 & f && h && e.dynamicChildren
- ? (C(e.dynamicChildren, h, n, o, i, s, c),
- (null != t.key || (o && t === o.subTree)) && traverseStaticChildren(e, t, !0))
- : F(e, t, n, d, o, i, s, c, u)
- },
- R = function (e, t, n, r, a, o, i, s, l) {
- ;(t.slotScopeIds = s),
- null == e
- ? 512 & t.shapeFlag
- ? a.ctx.activate(t, n, r, i, l)
- : M(t, n, r, a, o, i, l)
- : z(e, t, l)
- },
- M = function (e, t, n, r, a, o, i) {
- var s = (e.component = createComponentInstance(e, r, a))
- if ((isKeepAlive(e) && (s.ctx.renderer = $), setupComponent(s), s.asyncDep)) {
- if ((a && a.registerDep(s, O), !e.el)) {
- var l = (s.subTree = createVNode(Comment))
- _(null, l, t, n)
- }
- } else O(s, e, t, n, a, o, i)
- },
- z = function (e, t, n) {
- var r = (t.component = e.component)
- if (shouldUpdateComponent(e, t, n)) {
- if (r.asyncDep && !r.asyncResolved) return void D(r, t, n)
- ;(r.next = t), invalidateJob(r.update), r.update()
- } else (t.component = e.component), (t.el = e.el), (r.vnode = t)
- },
- O = function (e, t, n, a, o, i, s) {
- var l = (e.effect = new ReactiveEffect(
- function () {
- if (e.isMounted) {
- var l,
- c = e.next,
- u = e.bu,
- p = e.u,
- f = e.parent,
- h = e.vnode,
- v = c
- toggleRecurse(e, !1),
- c ? ((c.el = h.el), D(e, c, s)) : (c = h),
- u && invokeArrayFns(u),
- (l = c.props && c.props.onVnodeBeforeUpdate) &&
- invokeVNodeHook(l, f, c, h),
- toggleRecurse(e, !0)
- var m = renderComponentRoot(e),
- g = e.subTree
- ;(e.subTree = m),
- y(g, m, d(g.el), U(g), e, o, i),
- (c.el = m.el),
- null === v && updateHOCHostEl(e, m.el),
- p && queuePostRenderEffect(p, o),
- (l = c.props && c.props.onVnodeUpdated) &&
- queuePostRenderEffect(function () {
- return invokeVNodeHook(l, f, c, h)
- }, o)
- } else {
- var b,
- _ = t,
- A = _.el,
- x = _.props,
- w = e.bm,
- k = e.m,
- S = e.parent,
- E = isAsyncWrapper(t)
- if (
- (toggleRecurse(e, !1),
- w && invokeArrayFns(w),
- !E && (b = x && x.onVnodeBeforeMount) && invokeVNodeHook(b, S, t),
- toggleRecurse(e, !0),
- A && r)
- ) {
- var P = function () {
- ;(e.subTree = renderComponentRoot(e)), r(A, e.subTree, e, o, null)
- }
- E
- ? t.type.__asyncLoader().then(function () {
- return !e.isUnmounted && P()
- })
- : P()
- } else {
- var C = (e.subTree = renderComponentRoot(e))
- y(null, C, n, a, e, o, i), (t.el = C.el)
- }
- if ((k && queuePostRenderEffect(k, o), !E && (b = x && x.onVnodeMounted))) {
- var T = t
- queuePostRenderEffect(function () {
- return invokeVNodeHook(b, S, T)
- }, o)
- }
- 256 & t.shapeFlag && e.a && queuePostRenderEffect(e.a, o),
- (e.isMounted = !0),
- (t = n = a = null)
- }
- },
- function () {
- return queueJob(e.update)
- },
- e.scope
- )),
- c = (e.update = l.run.bind(l))
- ;(c.id = e.uid), toggleRecurse(e, !0), c()
- },
- D = function (e, t, n) {
- t.component = e
- var r = e.vnode.props
- ;(e.vnode = t),
- (e.next = null),
- updateProps(e, t.props, r, n),
- updateSlots(e, t.children, n),
- pauseTracking(),
- flushPreFlushCbs(void 0, e.update),
- resetTracking()
- },
- F = function (e, t, n, r, a, o, i, s) {
- var l = arguments.length > 8 && void 0 !== arguments[8] && arguments[8],
- c = e && e.children,
- u = e ? e.shapeFlag : 0,
- d = t.children,
- f = t.patchFlag,
- h = t.shapeFlag
- if (f > 0) {
- if (128 & f) return void N(c, d, n, r, a, o, i, s, l)
- if (256 & f) return void B(c, d, n, r, a, o, i, s, l)
- }
- 8 & h
- ? (16 & u && q(c, a, o), d !== c && p(n, d))
- : 16 & u
- ? 16 & h
- ? N(c, d, n, r, a, o, i, s, l)
- : q(c, a, o, !0)
- : (8 & u && p(n, ''), 16 & h && E(d, n, r, a, o, i, s, l))
- },
- B = function (e, t, n, r, a, o, i, s, l) {
- t = t || EMPTY_ARR
- var c,
- u = (e = e || EMPTY_ARR).length,
- p = t.length,
- d = Math.min(u, p)
- for (c = 0; c < d; c++) {
- var f = (t[c] = l ? cloneIfMounted(t[c]) : normalizeVNode(t[c]))
- y(e[c], f, n, null, a, o, i, s, l)
- }
- u > p ? q(e, a, o, !0, !1, d) : E(t, n, r, a, o, i, s, l, d)
- },
- N = function (e, t, n, r, a, o, i, s, l) {
- for (var c = 0, u = t.length, p = e.length - 1, d = u - 1; c <= p && c <= d; ) {
- var f = e[c],
- h = (t[c] = l ? cloneIfMounted(t[c]) : normalizeVNode(t[c]))
- if (!isSameVNodeType(f, h)) break
- y(f, h, n, null, a, o, i, s, l), c++
- }
- for (; c <= p && c <= d; ) {
- var v = e[p],
- m = (t[d] = l ? cloneIfMounted(t[d]) : normalizeVNode(t[d]))
- if (!isSameVNodeType(v, m)) break
- y(v, m, n, null, a, o, i, s, l), p--, d--
- }
- if (c > p) {
- if (c <= d)
- for (var g = d + 1, b = g < u ? t[g].el : r; c <= d; )
- y(
- null,
- (t[c] = l ? cloneIfMounted(t[c]) : normalizeVNode(t[c])),
- n,
- b,
- a,
- o,
- i,
- s,
- l
- ),
- c++
- } else if (c > d) for (; c <= p; ) V(e[c], a, o, !0), c++
- else {
- var _,
- A = c,
- x = c,
- w = new Map()
- for (c = x; c <= d; c++) {
- var k = (t[c] = l ? cloneIfMounted(t[c]) : normalizeVNode(t[c]))
- null != k.key && w.set(k.key, c)
- }
- var S = 0,
- E = d - x + 1,
- P = !1,
- C = 0,
- T = new Array(E)
- for (c = 0; c < E; c++) T[c] = 0
- for (c = A; c <= p; c++) {
- var I = e[c]
- if (S >= E) V(I, a, o, !0)
- else {
- var R = void 0
- if (null != I.key) R = w.get(I.key)
- else
- for (_ = x; _ <= d; _++)
- if (0 === T[_ - x] && isSameVNodeType(I, t[_])) {
- R = _
- break
- }
- void 0 === R
- ? V(I, a, o, !0)
- : ((T[R - x] = c + 1),
- R >= C ? (C = R) : (P = !0),
- y(I, t[R], n, null, a, o, i, s, l),
- S++)
- }
- }
- var M = P ? getSequence(T) : EMPTY_ARR
- for (_ = M.length - 1, c = E - 1; c >= 0; c--) {
- var z = x + c,
- O = t[z],
- D = z + 1 < u ? t[z + 1].el : r
- 0 === T[c]
- ? y(null, O, n, D, a, o, i, s, l)
- : P && (_ < 0 || c !== M[_] ? j(O, n, D, 2) : _--)
- }
- }
- },
- j = function e(t, n, r, o) {
- var i = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : null,
- s = t.el,
- l = t.type,
- c = t.transition,
- u = t.children,
- p = t.shapeFlag
- if (6 & p) e(t.component.subTree, n, r, o)
- else if (128 & p) t.suspense.move(n, r, o)
- else if (64 & p) l.move(t, n, r, $)
- else if (l !== Fragment)
- if (l !== Static) {
- var d = 2 !== o && 1 & p && c
- if (d)
- if (0 === o)
- c.beforeEnter(s),
- a(s, n, r),
- queuePostRenderEffect(function () {
- return c.enter(s)
- }, i)
- else {
- var f = c.leave,
- h = c.delayLeave,
- v = c.afterLeave,
- m = function () {
- return a(s, n, r)
- },
- g = function () {
- f(s, function () {
- m(), v && v()
- })
- }
- h ? h(s, m, g) : g()
- }
- else a(s, n, r)
- } else x(t, n, r)
- else {
- a(s, n, r)
- for (var y = 0; y < u.length; y++) e(u[y], n, r, o)
- a(t.anchor, n, r)
- }
- },
- V = function (e, t, n) {
- var r = arguments.length > 3 && void 0 !== arguments[3] && arguments[3],
- a = arguments.length > 4 && void 0 !== arguments[4] && arguments[4],
- o = e.type,
- i = e.props,
- s = e.ref,
- l = e.children,
- c = e.dynamicChildren,
- u = e.shapeFlag,
- p = e.patchFlag,
- d = e.dirs
- if ((null != s && setRef(s, null, n, e, !0), 256 & u)) t.ctx.deactivate(e)
- else {
- var f,
- h = 1 & u && d,
- v = !isAsyncWrapper(e)
- if ((v && (f = i && i.onVnodeBeforeUnmount) && invokeVNodeHook(f, t, e), 6 & u))
- G(e.component, n, r)
- else {
- if (128 & u) return void e.suspense.unmount(n, r)
- h && invokeDirectiveHook(e, null, t, 'beforeUnmount'),
- 64 & u
- ? e.type.remove(e, t, n, a, $, r)
- : c && (o !== Fragment || (p > 0 && 64 & p))
- ? q(c, t, n, !1, !0)
- : ((o === Fragment && 384 & p) || (!a && 16 & u)) && q(l, t, n),
- r && L(e)
- }
- ;((v && (f = i && i.onVnodeUnmounted)) || h) &&
- queuePostRenderEffect(function () {
- f && invokeVNodeHook(f, t, e),
- h && invokeDirectiveHook(e, null, t, 'unmounted')
- }, n)
- }
- },
- L = function (e) {
- var t = e.type,
- n = e.el,
- r = e.anchor,
- a = e.transition
- if (t !== Fragment)
- if (t !== Static) {
- var i = function () {
- o(n), a && !a.persisted && a.afterLeave && a.afterLeave()
- }
- if (1 & e.shapeFlag && a && !a.persisted) {
- var s = a.leave,
- l = a.delayLeave,
- c = function () {
- return s(n, i)
- }
- l ? l(e.el, i, c) : c()
- } else i()
- } else
- !(function (e) {
- for (var t, n = e.el, r = e.anchor; n && n !== r; ) (t = f(n)), o(n), (n = t)
- o(r)
- })(e)
- else H(n, r)
- },
- H = function (e, t) {
- for (var n; e !== t; ) (n = f(e)), o(e), (e = n)
- o(t)
- },
- G = function (e, t, n) {
- var r = e.bum,
- a = e.scope,
- o = e.update,
- i = e.subTree,
- s = e.um
- r && invokeArrayFns(r),
- a.stop(),
- o && ((o.active = !1), V(i, e, t, n)),
- s && queuePostRenderEffect(s, t),
- queuePostRenderEffect(function () {
- e.isUnmounted = !0
- }, t),
- t &&
- t.pendingBranch &&
- !t.isUnmounted &&
- e.asyncDep &&
- !e.asyncResolved &&
- e.suspenseId === t.pendingId &&
- (t.deps--, 0 === t.deps && t.resolve())
- },
- q = function (e, t, n) {
- for (
- var r = arguments.length > 3 && void 0 !== arguments[3] && arguments[3],
- a = arguments.length > 4 && void 0 !== arguments[4] && arguments[4],
- o = arguments.length > 5 && void 0 !== arguments[5] ? arguments[5] : 0,
- i = o;
- i < e.length;
- i++
- )
- V(e[i], t, n, r, a)
- },
- U = function e(t) {
- return 6 & t.shapeFlag
- ? e(t.component.subTree)
- : 128 & t.shapeFlag
- ? t.suspense.next()
- : f(t.anchor || t.el)
- },
- W = function (e, t, n) {
- null == e
- ? t._vnode && V(t._vnode, null, null, !0)
- : y(t._vnode || null, e, t, null, null, null, n),
- flushPostFlushCbs(),
- (t._vnode = e)
- },
- $ = { p: y, um: V, m: j, r: L, mt: M, mc: E, pc: F, pbc: C, n: U, o: e }
- if (t) {
- var K = _slicedToArray(t($), 2)
- ;(n = K[0]), (r = K[1])
- }
- return { render: W, hydrate: n, createApp: createAppAPI(W, n) }
- }
- function toggleRecurse(e, t) {
- var n = e.effect,
- r = e.update
- n.allowRecurse = r.allowRecurse = t
- }
- function traverseStaticChildren(e, t) {
- var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2],
- r = e.children,
- a = t.children
- if (isArray$5(r) && isArray$5(a))
- for (var o = 0; o < r.length; o++) {
- var i = r[o],
- s = a[o]
- 1 & s.shapeFlag &&
- !s.dynamicChildren &&
- ((s.patchFlag <= 0 || 32 === s.patchFlag) &&
- ((s = a[o] = cloneIfMounted(a[o])).el = i.el),
- n || traverseStaticChildren(i, s))
- }
- }
- function getSequence(e) {
- var t,
- n,
- r,
- a,
- o,
- i = e.slice(),
- s = [0],
- l = e.length
- for (t = 0; t < l; t++) {
- var c = e[t]
- if (0 !== c) {
- if (e[(n = s[s.length - 1])] < c) {
- ;(i[t] = n), s.push(t)
- continue
- }
- for (r = 0, a = s.length - 1; r < a; )
- e[s[(o = (r + a) >> 1)]] < c ? (r = o + 1) : (a = o)
- c < e[s[r]] && (r > 0 && (i[t] = s[r - 1]), (s[r] = t))
- }
- }
- for (a = s[(r = s.length) - 1]; r-- > 0; ) (s[r] = a), (a = i[a])
- return s
- }
- var isTeleport = function (e) {
- return e.__isTeleport
- },
- isTeleportDisabled = function (e) {
- return e && (e.disabled || '' === e.disabled)
- },
- isTargetSVG = function (e) {
- return 'undefined' != typeof SVGElement && e instanceof SVGElement
- },
- resolveTarget = function (e, t) {
- var n = e && e.to
- return isString$1(n) ? (t ? t(n) : null) : n
- },
- TeleportImpl = {
- __isTeleport: !0,
- process: function (e, t, n, r, a, o, i, s, l, c) {
- var u = c.mc,
- p = c.pc,
- d = c.pbc,
- f = c.o,
- h = f.insert,
- v = f.querySelector,
- m = f.createText,
- g = (f.createComment, isTeleportDisabled(t.props)),
- y = t.shapeFlag,
- b = t.children,
- _ = t.dynamicChildren
- if (null == e) {
- var A = (t.el = m('')),
- x = (t.anchor = m(''))
- h(A, n, r), h(x, n, r)
- var w = (t.target = resolveTarget(t.props, v)),
- k = (t.targetAnchor = m(''))
- w && (h(k, w), (i = i || isTargetSVG(w)))
- var S = function (e, t) {
- 16 & y && u(b, e, t, a, o, i, s, l)
- }
- g ? S(n, x) : w && S(w, k)
- } else {
- t.el = e.el
- var E = (t.anchor = e.anchor),
- P = (t.target = e.target),
- C = (t.targetAnchor = e.targetAnchor),
- T = isTeleportDisabled(e.props),
- I = T ? n : P,
- R = T ? E : C
- if (
- ((i = i || isTargetSVG(P)),
- _
- ? (d(e.dynamicChildren, _, I, a, o, i, s), traverseStaticChildren(e, t, !0))
- : l || p(e, t, I, R, a, o, i, s, !1),
- g)
- )
- T || moveTeleport(t, n, E, c, 1)
- else if ((t.props && t.props.to) !== (e.props && e.props.to)) {
- var M = (t.target = resolveTarget(t.props, v))
- M && moveTeleport(t, M, null, c, 0)
- } else T && moveTeleport(t, P, C, c, 1)
- }
- },
- remove: function (e, t, n, r, a, o) {
- var i = a.um,
- s = a.o.remove,
- l = e.shapeFlag,
- c = e.children,
- u = e.anchor,
- p = e.targetAnchor,
- d = e.target,
- f = e.props
- if ((d && s(p), (o || !isTeleportDisabled(f)) && (s(u), 16 & l)))
- for (var h = 0; h < c.length; h++) {
- var v = c[h]
- i(v, t, n, !0, !!v.dynamicChildren)
- }
- },
- move: moveTeleport,
- hydrate: hydrateTeleport
- }
- function moveTeleport(e, t, n, r) {
- var a = r.o.insert,
- o = r.m,
- i = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : 2
- 0 === i && a(e.targetAnchor, t, n)
- var s = e.el,
- l = e.anchor,
- c = e.shapeFlag,
- u = e.children,
- p = e.props,
- d = 2 === i
- if ((d && a(s, t, n), (!d || isTeleportDisabled(p)) && 16 & c))
- for (var f = 0; f < u.length; f++) o(u[f], t, n, 2)
- d && a(l, t, n)
- }
- function hydrateTeleport(e, t, n, r, a, o, i, s) {
- var l = i.o,
- c = l.nextSibling,
- u = l.parentNode,
- p = l.querySelector,
- d = (t.target = resolveTarget(t.props, p))
- if (d) {
- var f = d._lpa || d.firstChild
- 16 & t.shapeFlag &&
- (isTeleportDisabled(t.props)
- ? ((t.anchor = s(c(e), t, u(e), n, r, a, o)), (t.targetAnchor = f))
- : ((t.anchor = c(e)), (t.targetAnchor = s(f, t, d, n, r, a, o))),
- (d._lpa = t.targetAnchor && c(t.targetAnchor)))
- }
- return t.anchor && c(t.anchor)
- }
- var Teleport = exports('aw', TeleportImpl),
- COMPONENTS = 'components',
- DIRECTIVES = 'directives'
- function resolveComponent(e, t) {
- return resolveAsset(COMPONENTS, e, !0, t) || e
- }
- var NULL_DYNAMIC_COMPONENT = Symbol()
- function resolveDynamicComponent(e) {
- return isString$1(e)
- ? resolveAsset(COMPONENTS, e, !1) || e
- : e || NULL_DYNAMIC_COMPONENT
- }
- function resolveDirective(e) {
- return resolveAsset(DIRECTIVES, e)
- }
- function resolveAsset(e, t) {
- var n = arguments.length > 3 && void 0 !== arguments[3] && arguments[3],
- r = currentRenderingInstance || currentInstance
- if (r) {
- var a = r.type
- if (e === COMPONENTS) {
- var o = getComponentName(a)
- if (o && (o === t || o === camelize$1(t) || o === capitalize(camelize$1(t))))
- return a
- }
- var i = resolve(r[e] || a[e], t) || resolve(r.appContext[e], t)
- return !i && n ? a : i
- }
- }
- function resolve(e, t) {
- return e && (e[t] || e[camelize$1(t)] || e[capitalize(camelize$1(t))])
- }
- var Fragment = exports('F', Symbol(void 0)),
- Text = exports('cb', Symbol(void 0)),
- Comment = exports('c7', Symbol(void 0)),
- Static = exports('c9', Symbol(void 0)),
- blockStack = [],
- currentBlock = null
- function openBlock() {
- var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0]
- blockStack.push((currentBlock = e ? null : []))
- }
- function closeBlock() {
- blockStack.pop(), (currentBlock = blockStack[blockStack.length - 1] || null)
- }
- var isBlockTreeEnabled = 1
- function setBlockTracking(e) {
- isBlockTreeEnabled += e
- }
- function setupBlock(e) {
- return (
- (e.dynamicChildren = isBlockTreeEnabled > 0 ? currentBlock || EMPTY_ARR : null),
- closeBlock(),
- isBlockTreeEnabled > 0 && currentBlock && currentBlock.push(e),
- e
- )
- }
- function createElementBlock(e, t, n, r, a, o) {
- return setupBlock(createBaseVNode(e, t, n, r, a, o, !0))
- }
- function createBlock(e, t, n, r, a) {
- return setupBlock(createVNode(e, t, n, r, a, !0))
- }
- function isVNode(e) {
- return !!e && !0 === e.__v_isVNode
- }
- function isSameVNodeType(e, t) {
- return e.type === t.type && e.key === t.key
- }
- function transformVNodeArgs(e) {}
- var InternalObjectKey = '__vInternal',
- normalizeKey = function (e) {
- var t = e.key
- return null != t ? t : null
- },
- normalizeRef = function (e) {
- var t = e.ref,
- n = e.ref_key,
- r = e.ref_for
- return null != t
- ? isString$1(t) || isRef(t) || isFunction$1(t)
- ? { i: currentRenderingInstance, r: t, k: n, f: !!r }
- : t
- : null
- }
- function createBaseVNode(e) {
- var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null,
- n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : null,
- r = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : 0,
- a = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : null,
- o =
- arguments.length > 5 && void 0 !== arguments[5]
- ? arguments[5]
- : e === Fragment
- ? 0
- : 1,
- i = arguments.length > 6 && void 0 !== arguments[6] && arguments[6],
- s = arguments.length > 7 && void 0 !== arguments[7] && arguments[7],
- l = {
- __v_isVNode: !0,
- __v_skip: !0,
- type: e,
- props: t,
- key: t && normalizeKey(t),
- ref: t && normalizeRef(t),
- scopeId: currentScopeId,
- slotScopeIds: null,
- children: n,
- component: null,
- suspense: null,
- ssContent: null,
- ssFallback: null,
- dirs: null,
- transition: null,
- el: null,
- anchor: null,
- target: null,
- targetAnchor: null,
- staticCount: 0,
- shapeFlag: o,
- patchFlag: r,
- dynamicProps: a,
- dynamicChildren: null,
- appContext: null
- }
- return (
- s
- ? (normalizeChildren(l, n), 128 & o && e.normalize(l))
- : n && (l.shapeFlag |= isString$1(n) ? 8 : 16),
- isBlockTreeEnabled > 0 &&
- !i &&
- currentBlock &&
- (l.patchFlag > 0 || 6 & o) &&
- 32 !== l.patchFlag &&
- currentBlock.push(l),
- l
- )
- }
- var createVNode = exports('c', _createVNode)
- function _createVNode(e) {
- var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null,
- n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : null,
- r = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : 0,
- a = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : null,
- o = arguments.length > 5 && void 0 !== arguments[5] && arguments[5]
- if (((e && e !== NULL_DYNAMIC_COMPONENT) || (e = Comment), isVNode(e))) {
- var i = cloneVNode(e, t, !0)
- return n && normalizeChildren(i, n), i
- }
- if ((isClassComponent(e) && (e = e.__vccOpts), t)) {
- var s = (t = guardReactiveProps(t)),
- l = s.class,
- c = s.style
- l && !isString$1(l) && (t.class = normalizeClass(l)),
- isObject$2(c) &&
- (isProxy(c) && !isArray$5(c) && (c = extend$2({}, c)),
- (t.style = normalizeStyle(c)))
- }
- var u = isString$1(e)
- ? 1
- : isSuspense(e)
- ? 128
- : isTeleport(e)
- ? 64
- : isObject$2(e)
- ? 4
- : isFunction$1(e)
- ? 2
- : 0
- return createBaseVNode(e, t, n, r, a, u, o, !0)
- }
- function guardReactiveProps(e) {
- return e ? (isProxy(e) || InternalObjectKey in e ? extend$2({}, e) : e) : null
- }
- function cloneVNode(e, t) {
- var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2],
- r = e.props,
- a = e.ref,
- o = e.patchFlag,
- i = e.children,
- s = t ? mergeProps(r || {}, t) : r,
- l = {
- __v_isVNode: !0,
- __v_skip: !0,
- type: e.type,
- props: s,
- key: s && normalizeKey(s),
- ref:
- t && t.ref
- ? n && a
- ? isArray$5(a)
- ? a.concat(normalizeRef(t))
- : [a, normalizeRef(t)]
- : normalizeRef(t)
- : a,
- scopeId: e.scopeId,
- slotScopeIds: e.slotScopeIds,
- children: i,
- target: e.target,
- targetAnchor: e.targetAnchor,
- staticCount: e.staticCount,
- shapeFlag: e.shapeFlag,
- patchFlag: t && e.type !== Fragment ? (-1 === o ? 16 : 16 | o) : o,
- dynamicProps: e.dynamicProps,
- dynamicChildren: e.dynamicChildren,
- appContext: e.appContext,
- dirs: e.dirs,
- transition: e.transition,
- component: e.component,
- suspense: e.suspense,
- ssContent: e.ssContent && cloneVNode(e.ssContent),
- ssFallback: e.ssFallback && cloneVNode(e.ssFallback),
- el: e.el,
- anchor: e.anchor
- }
- return l
- }
- function createTextVNode() {
- var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : ' ',
- t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0
- return createVNode(Text, null, e, t)
- }
- function createStaticVNode(e, t) {
- var n = createVNode(Static, null, e)
- return (n.staticCount = t), n
- }
- function createCommentVNode() {
- var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : '',
- t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1]
- return t ? (openBlock(), createBlock(Comment, null, e)) : createVNode(Comment, null, e)
- }
- function normalizeVNode(e) {
- return null == e || 'boolean' == typeof e
- ? createVNode(Comment)
- : isArray$5(e)
- ? createVNode(Fragment, null, e.slice())
- : 'object' === _typeof2(e)
- ? cloneIfMounted(e)
- : createVNode(Text, null, String(e))
- }
- function cloneIfMounted(e) {
- return null === e.el || e.memo ? e : cloneVNode(e)
- }
- function normalizeChildren(e, t) {
- var n = 0,
- r = e.shapeFlag
- if (null == t) t = null
- else if (isArray$5(t)) n = 16
- else if ('object' === _typeof2(t)) {
- if (65 & r) {
- var a = t.default
- return void (
- a && (a._c && (a._d = !1), normalizeChildren(e, a()), a._c && (a._d = !0))
- )
- }
- n = 32
- var o = t._
- o || InternalObjectKey in t
- ? 3 === o &&
- currentRenderingInstance &&
- (1 === currentRenderingInstance.slots._
- ? (t._ = 1)
- : ((t._ = 2), (e.patchFlag |= 1024)))
- : (t._ctx = currentRenderingInstance)
- } else
- isFunction$1(t)
- ? ((t = { default: t, _ctx: currentRenderingInstance }), (n = 32))
- : ((t = String(t)), 64 & r ? ((n = 16), (t = [createTextVNode(t)])) : (n = 8))
- ;(e.children = t), (e.shapeFlag |= n)
- }
- function mergeProps() {
- for (var e = {}, t = 0; t < arguments.length; t++) {
- var n = t < 0 || arguments.length <= t ? void 0 : arguments[t]
- for (var r in n)
- if ('class' === r)
- e.class !== n.class && (e.class = normalizeClass([e.class, n.class]))
- else if ('style' === r) e.style = normalizeStyle([e.style, n.style])
- else if (isOn(r)) {
- var a = e[r],
- o = n[r]
- a === o || (isArray$5(a) && a.includes(o)) || (e[r] = a ? [].concat(a, o) : o)
- } else '' !== r && (e[r] = n[r])
- }
- return e
- }
- function invokeVNodeHook(e, t, n) {
- var r = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : null
- callWithAsyncErrorHandling(e, t, 7, [n, r])
- }
- function renderList(e, t, n, r) {
- var a,
- o = n && n[r]
- if (isArray$5(e) || isString$1(e)) {
- a = new Array(e.length)
- for (var i = 0, s = e.length; i < s; i++) a[i] = t(e[i], i, void 0, o && o[i])
- } else if ('number' == typeof e) {
- a = new Array(e)
- for (var l = 0; l < e; l++) a[l] = t(l + 1, l, void 0, o && o[l])
- } else if (isObject$2(e))
- if (e[Symbol.iterator])
- a = Array.from(e, function (e, n) {
- return t(e, n, void 0, o && o[n])
- })
- else {
- var c = Object.keys(e)
- a = new Array(c.length)
- for (var u = 0, p = c.length; u < p; u++) {
- var d = c[u]
- a[u] = t(e[d], d, u, o && o[u])
- }
- }
- else a = []
- return n && (n[r] = a), a
- }
- function createSlots(e, t) {
- for (var n = 0; n < t.length; n++) {
- var r = t[n]
- if (isArray$5(r)) for (var a = 0; a < r.length; a++) e[r[a].name] = r[a].fn
- else r && (e[r.name] = r.fn)
- }
- return e
- }
- function renderSlot(e, t) {
- var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {},
- r = arguments.length > 3 ? arguments[3] : void 0,
- a = arguments.length > 4 ? arguments[4] : void 0
- if (currentRenderingInstance.isCE)
- return createVNode('slot', 'default' === t ? null : { name: t }, r && r())
- var o = e[t]
- o && o._c && (o._d = !1), openBlock()
- var i = o && ensureValidVNode(o(n)),
- s = createBlock(
- Fragment,
- { key: n.key || '_'.concat(t) },
- i || (r ? r() : []),
- i && 1 === e._ ? 64 : -2
- )
- return (
- !a && s.scopeId && (s.slotScopeIds = [s.scopeId + '-s']), o && o._c && (o._d = !0), s
- )
- }
- function ensureValidVNode(e) {
- return e.some(function (e) {
- return (
- !isVNode(e) ||
- (e.type !== Comment && !(e.type === Fragment && !ensureValidVNode(e.children)))
- )
- })
- ? e
- : null
- }
- function toHandlers(e) {
- var t = {}
- for (var n in e) t[toHandlerKey(n)] = e[n]
- return t
- }
- var getPublicInstance = function e(t) {
- return t
- ? isStatefulComponent(t)
- ? getExposeProxy(t) || t.proxy
- : e(t.parent)
- : null
- },
- publicPropertiesMap = extend$2(Object.create(null), {
- $: function (e) {
- return e
- },
- $el: function (e) {
- return e.vnode.el
- },
- $data: function (e) {
- return e.data
- },
- $props: function (e) {
- return e.props
- },
- $attrs: function (e) {
- return e.attrs
- },
- $slots: function (e) {
- return e.slots
- },
- $refs: function (e) {
- return e.refs
- },
- $parent: function (e) {
- return getPublicInstance(e.parent)
- },
- $root: function (e) {
- return getPublicInstance(e.root)
- },
- $emit: function (e) {
- return e.emit
- },
- $options: function (e) {
- return resolveMergedOptions(e)
- },
- $forceUpdate: function (e) {
- return function () {
- return queueJob(e.update)
- }
- },
- $nextTick: function (e) {
- return nextTick.bind(e.proxy)
- },
- $watch: function (e) {
- return instanceWatch.bind(e)
- }
- }),
- PublicInstanceProxyHandlers = {
- get: function (e, t) {
- var n,
- r = e._,
- a = r.ctx,
- o = r.setupState,
- i = r.data,
- s = r.props,
- l = r.accessCache,
- c = r.type,
- u = r.appContext
- if ('$' !== t[0]) {
- var p = l[t]
- if (void 0 !== p)
- switch (p) {
- case 1:
- return o[t]
- case 2:
- return i[t]
- case 4:
- return a[t]
- case 3:
- return s[t]
- }
- else {
- if (o !== EMPTY_OBJ && hasOwn$2(o, t)) return (l[t] = 1), o[t]
- if (i !== EMPTY_OBJ && hasOwn$2(i, t)) return (l[t] = 2), i[t]
- if ((n = r.propsOptions[0]) && hasOwn$2(n, t)) return (l[t] = 3), s[t]
- if (a !== EMPTY_OBJ && hasOwn$2(a, t)) return (l[t] = 4), a[t]
- shouldCacheAccess && (l[t] = 0)
- }
- }
- var d,
- f,
- h = publicPropertiesMap[t]
- return h
- ? ('$attrs' === t && track(r, 'get', t), h(r))
- : (d = c.__cssModules) && (d = d[t])
- ? d
- : a !== EMPTY_OBJ && hasOwn$2(a, t)
- ? ((l[t] = 4), a[t])
- : ((f = u.config.globalProperties), hasOwn$2(f, t) ? f[t] : void 0)
- },
- set: function (e, t, n) {
- var r = e._,
- a = r.data,
- o = r.setupState,
- i = r.ctx
- if (o !== EMPTY_OBJ && hasOwn$2(o, t)) o[t] = n
- else if (a !== EMPTY_OBJ && hasOwn$2(a, t)) a[t] = n
- else if (hasOwn$2(r.props, t)) return !1
- return ('$' !== t[0] || !(t.slice(1) in r)) && ((i[t] = n), !0)
- },
- has: function (e, t) {
- var n,
- r = e._,
- a = r.data,
- o = r.setupState,
- i = r.accessCache,
- s = r.ctx,
- l = r.appContext,
- c = r.propsOptions
- return (
- !!i[t] ||
- (a !== EMPTY_OBJ && hasOwn$2(a, t)) ||
- (o !== EMPTY_OBJ && hasOwn$2(o, t)) ||
- ((n = c[0]) && hasOwn$2(n, t)) ||
- hasOwn$2(s, t) ||
- hasOwn$2(publicPropertiesMap, t) ||
- hasOwn$2(l.config.globalProperties, t)
- )
- }
- },
- RuntimeCompiledPublicInstanceProxyHandlers = extend$2({}, PublicInstanceProxyHandlers, {
- get: function (e, t) {
- if (t !== Symbol.unscopables) return PublicInstanceProxyHandlers.get(e, t, e)
- },
- has: function (e, t) {
- var n = '_' !== t[0] && !isGloballyWhitelisted(t)
- return n
- }
- }),
- emptyAppContext = createAppContext(),
- uid$1 = 0
- function createComponentInstance(e, t, n) {
- var r = e.type,
- a = (t ? t.appContext : e.appContext) || emptyAppContext,
- o = {
- uid: uid$1++,
- vnode: e,
- type: r,
- parent: t,
- appContext: a,
- root: null,
- next: null,
- subTree: null,
- effect: null,
- update: null,
- scope: new EffectScope(!0),
- render: null,
- proxy: null,
- exposed: null,
- exposeProxy: null,
- withProxy: null,
- provides: t ? t.provides : Object.create(a.provides),
- accessCache: null,
- renderCache: [],
- components: null,
- directives: null,
- propsOptions: normalizePropsOptions(r, a),
- emitsOptions: normalizeEmitsOptions(r, a),
- emit: null,
- emitted: null,
- propsDefaults: EMPTY_OBJ,
- inheritAttrs: r.inheritAttrs,
- ctx: EMPTY_OBJ,
- data: EMPTY_OBJ,
- props: EMPTY_OBJ,
- attrs: EMPTY_OBJ,
- slots: EMPTY_OBJ,
- refs: EMPTY_OBJ,
- setupState: EMPTY_OBJ,
- setupContext: null,
- suspense: n,
- suspenseId: n ? n.pendingId : 0,
- asyncDep: null,
- asyncResolved: !1,
- isMounted: !1,
- isUnmounted: !1,
- isDeactivated: !1,
- bc: null,
- c: null,
- bm: null,
- m: null,
- bu: null,
- u: null,
- um: null,
- bum: null,
- da: null,
- a: null,
- rtg: null,
- rtc: null,
- ec: null,
- sp: null
- }
- return (
- (o.ctx = { _: o }),
- (o.root = t ? t.root : o),
- (o.emit = emit$1.bind(null, o)),
- e.ce && e.ce(o),
- o
- )
- }
- var currentInstance = null,
- getCurrentInstance = exports('a9', function () {
- return currentInstance || currentRenderingInstance
- }),
- setCurrentInstance = function (e) {
- ;(currentInstance = e), e.scope.on()
- },
- unsetCurrentInstance = function () {
- currentInstance && currentInstance.scope.off(), (currentInstance = null)
- }
- function isStatefulComponent(e) {
- return 4 & e.vnode.shapeFlag
- }
- var isInSSRComponentSetup = !1,
- compile,
- installWithProxy
- function setupComponent(e) {
- var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1]
- isInSSRComponentSetup = t
- var n = e.vnode,
- r = n.props,
- a = n.children,
- o = isStatefulComponent(e)
- initProps(e, r, o, t), initSlots(e, a)
- var i = o ? setupStatefulComponent(e, t) : void 0
- return (isInSSRComponentSetup = !1), i
- }
- function setupStatefulComponent(e, t) {
- var n = e.type
- ;(e.accessCache = Object.create(null)),
- (e.proxy = markRaw(new Proxy(e.ctx, PublicInstanceProxyHandlers)))
- var r = n.setup
- if (r) {
- var a = (e.setupContext = r.length > 1 ? createSetupContext(e) : null)
- setCurrentInstance(e), pauseTracking()
- var o = callWithErrorHandling(r, e, 0, [e.props, a])
- if ((resetTracking(), unsetCurrentInstance(), isPromise$1(o))) {
- if ((o.then(unsetCurrentInstance, unsetCurrentInstance), t))
- return o
- .then(function (n) {
- handleSetupResult(e, n, t)
- })
- .catch(function (t) {
- handleError(t, e, 0)
- })
- e.asyncDep = o
- } else handleSetupResult(e, o, t)
- } else finishComponentSetup(e, t)
- }
- function handleSetupResult(e, t, n) {
- isFunction$1(t)
- ? e.type.__ssrInlineRender
- ? (e.ssrRender = t)
- : (e.render = t)
- : isObject$2(t) && (e.setupState = proxyRefs(t)),
- finishComponentSetup(e, n)
- }
- function registerRuntimeCompiler(e) {
- ;(compile = e),
- (installWithProxy = function (e) {
- e.render._rc &&
- (e.withProxy = new Proxy(e.ctx, RuntimeCompiledPublicInstanceProxyHandlers))
- })
- }
- var isRuntimeOnly = exports('cx', function () {
- return !compile
- })
- function finishComponentSetup(e, t, n) {
- var r = e.type
- if (!e.render) {
- if (!t && compile && !r.render) {
- var a = r.template
- if (a) {
- var o = e.appContext.config,
- i = o.isCustomElement,
- s = o.compilerOptions,
- l = r.delimiters,
- c = r.compilerOptions,
- u = extend$2(extend$2({ isCustomElement: i, delimiters: l }, s), c)
- r.render = compile(a, u)
- }
- }
- ;(e.render = r.render || NOOP), installWithProxy && installWithProxy(e)
- }
- setCurrentInstance(e),
- pauseTracking(),
- applyOptions(e),
- resetTracking(),
- unsetCurrentInstance()
- }
- function createAttrsProxy(e) {
- return new Proxy(e.attrs, {
- get: function (t, n) {
- return track(e, 'get', '$attrs'), t[n]
- }
- })
- }
- function createSetupContext(e) {
- var t
- return {
- get attrs() {
- return t || (t = createAttrsProxy(e))
- },
- slots: e.slots,
- emit: e.emit,
- expose: function (t) {
- e.exposed = t || {}
- }
- }
- }
- function getExposeProxy(e) {
- if (e.exposed)
- return (
- e.exposeProxy ||
- (e.exposeProxy = new Proxy(proxyRefs(markRaw(e.exposed)), {
- get: function (t, n) {
- return n in t
- ? t[n]
- : n in publicPropertiesMap
- ? publicPropertiesMap[n](e)
- : void 0
- }
- }))
- )
- }
- var classifyRE = /(?:^|[-_])(\w)/g,
- classify = function (e) {
- return e
- .replace(classifyRE, function (e) {
- return e.toUpperCase()
- })
- .replace(/[-_]/g, '')
- }
- function getComponentName(e) {
- return (isFunction$1(e) && e.displayName) || e.name
- }
- function formatComponentName(e, t) {
- var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2],
- r = getComponentName(t)
- if (!r && t.__file) {
- var a = t.__file.match(/([^/\\]+)\.\w+$/)
- a && (r = a[1])
- }
- if (!r && e && e.parent) {
- var o = function (e) {
- for (var n in e) if (e[n] === t) return n
- }
- r = o(e.components || e.parent.type.components) || o(e.appContext.components)
- }
- return r ? classify(r) : n ? 'App' : 'Anonymous'
- }
- function isClassComponent(e) {
- return isFunction$1(e) && '__vccOpts' in e
- }
- var stack = []
- function warn(e) {
- pauseTracking()
- for (
- var t = stack.length ? stack[stack.length - 1].component : null,
- n = t && t.appContext.config.warnHandler,
- r = getComponentTrace(),
- a = arguments.length,
- o = new Array(a > 1 ? a - 1 : 0),
- i = 1;
- i < a;
- i++
- )
- o[i - 1] = arguments[i]
- if (n)
- callWithErrorHandling(n, t, 11, [
- e + o.join(''),
- t && t.proxy,
- r
- .map(function (e) {
- var n = e.vnode
- return 'at <'.concat(formatComponentName(t, n.type), '>')
- })
- .join('\n'),
- r
- ])
- else {
- var s,
- l = ['[Vue warn]: '.concat(e)].concat(o)
- r.length && l.push.apply(l, ['\n'].concat(_toConsumableArray2(formatTrace(r)))),
- (s = console).warn.apply(s, _toConsumableArray2(l))
- }
- resetTracking()
- }
- function getComponentTrace() {
- var e = stack[stack.length - 1]
- if (!e) return []
- for (var t = []; e; ) {
- var n = t[0]
- n && n.vnode === e ? n.recurseCount++ : t.push({ vnode: e, recurseCount: 0 })
- var r = e.component && e.component.parent
- e = r && r.vnode
- }
- return t
- }
- function formatTrace(e) {
- var t = []
- return (
- e.forEach(function (e, n) {
- t.push.apply(
- t,
- _toConsumableArray2(0 === n ? [] : ['\n']).concat(
- _toConsumableArray2(formatTraceEntry(e))
- )
- )
- }),
- t
- )
- }
- function formatTraceEntry(e) {
- var t = e.vnode,
- n = e.recurseCount,
- r = n > 0 ? '... ('.concat(n, ' recursive calls)') : '',
- a = !!t.component && null == t.component.parent,
- o = ' at <'.concat(formatComponentName(t.component, t.type, a)),
- i = '>' + r
- return t.props ? [o].concat(_toConsumableArray2(formatProps(t.props)), [i]) : [o + i]
- }
- function formatProps(e) {
- var t = [],
- n = Object.keys(e)
- return (
- n.slice(0, 3).forEach(function (n) {
- t.push.apply(t, _toConsumableArray2(formatProp(n, e[n])))
- }),
- n.length > 3 && t.push(' ...'),
- t
- )
- }
- function formatProp(e, t, n) {
- return isString$1(t)
- ? ((t = JSON.stringify(t)), n ? t : [''.concat(e, '=').concat(t)])
- : 'number' == typeof t || 'boolean' == typeof t || null == t
- ? n
- ? t
- : [''.concat(e, '=').concat(t)]
- : isRef(t)
- ? ((t = formatProp(e, toRaw(t.value), !0)), n ? t : [''.concat(e, '=Ref<'), t, '>'])
- : isFunction$1(t)
- ? [''.concat(e, '=fn').concat(t.name ? '<'.concat(t.name, '>') : '')]
- : ((t = toRaw(t)), n ? t : [''.concat(e, '='), t])
- }
- function callWithErrorHandling(e, t, n, r) {
- var a
- try {
- a = r ? e.apply(void 0, _toConsumableArray2(r)) : e()
- } catch (o) {
- handleError(o, t, n)
- }
- return a
- }
- function callWithAsyncErrorHandling(e, t, n, r) {
- if (isFunction$1(e)) {
- var a = callWithErrorHandling(e, t, n, r)
- return (
- a &&
- isPromise$1(a) &&
- a.catch(function (e) {
- handleError(e, t, n)
- }),
- a
- )
- }
- for (var o = [], i = 0; i < e.length; i++)
- o.push(callWithAsyncErrorHandling(e[i], t, n, r))
- return o
- }
- function handleError(e, t, n) {
- var r = !(arguments.length > 3 && void 0 !== arguments[3]) || arguments[3],
- a = t ? t.vnode : null
- if (t) {
- for (var o = t.parent, i = t.proxy, s = n; o; ) {
- var l = o.ec
- if (l) for (var c = 0; c < l.length; c++) if (!1 === l[c](e, i, s)) return
- o = o.parent
- }
- var u = t.appContext.config.errorHandler
- if (u) return void callWithErrorHandling(u, null, 10, [e, i, s])
- }
- logError(e, n, a, r)
- }
- function logError(e, t, n) {
- console.error(e)
- }
- var isFlushing = !1,
- isFlushPending = !1,
- queue$1 = [],
- flushIndex = 0,
- pendingPreFlushCbs = [],
- activePreFlushCbs = null,
- preFlushIndex = 0,
- pendingPostFlushCbs = [],
- activePostFlushCbs = null,
- postFlushIndex = 0,
- resolvedPromise = Promise.resolve(),
- currentFlushPromise = null,
- currentPreFlushParentJob = null
- function nextTick(e) {
- var t = currentFlushPromise || resolvedPromise
- return e ? t.then(this ? e.bind(this) : e) : t
- }
- function findInsertionIndex(e) {
- for (var t = flushIndex + 1, n = queue$1.length; t < n; ) {
- var r = (t + n) >>> 1
- getId(queue$1[r]) < e ? (t = r + 1) : (n = r)
- }
- return t
- }
- function queueJob(e) {
- ;(queue$1.length &&
- queue$1.includes(e, isFlushing && e.allowRecurse ? flushIndex + 1 : flushIndex)) ||
- e === currentPreFlushParentJob ||
- (null == e.id ? queue$1.push(e) : queue$1.splice(findInsertionIndex(e.id), 0, e),
- queueFlush())
- }
- function queueFlush() {
- isFlushing ||
- isFlushPending ||
- ((isFlushPending = !0), (currentFlushPromise = resolvedPromise.then(flushJobs)))
- }
- function invalidateJob(e) {
- var t = queue$1.indexOf(e)
- t > flushIndex && queue$1.splice(t, 1)
- }
- function queueCb(e, t, n, r) {
- isArray$5(e)
- ? n.push.apply(n, _toConsumableArray2(e))
- : (t && t.includes(e, e.allowRecurse ? r + 1 : r)) || n.push(e),
- queueFlush()
- }
- function queuePreFlushCb(e) {
- queueCb(e, activePreFlushCbs, pendingPreFlushCbs, preFlushIndex)
- }
- function queuePostFlushCb(e) {
- queueCb(e, activePostFlushCbs, pendingPostFlushCbs, postFlushIndex)
- }
- function flushPreFlushCbs(e) {
- var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null
- if (pendingPreFlushCbs.length) {
- for (
- currentPreFlushParentJob = t,
- activePreFlushCbs = _toConsumableArray2(new Set(pendingPreFlushCbs)),
- pendingPreFlushCbs.length = 0,
- preFlushIndex = 0;
- preFlushIndex < activePreFlushCbs.length;
- preFlushIndex++
- )
- activePreFlushCbs[preFlushIndex]()
- ;(activePreFlushCbs = null),
- (preFlushIndex = 0),
- (currentPreFlushParentJob = null),
- flushPreFlushCbs(e, t)
- }
- }
- function flushPostFlushCbs(e) {
- if (pendingPostFlushCbs.length) {
- var t,
- n = _toConsumableArray2(new Set(pendingPostFlushCbs))
- if (((pendingPostFlushCbs.length = 0), activePostFlushCbs))
- return void (t = activePostFlushCbs).push.apply(t, _toConsumableArray2(n))
- for (
- (activePostFlushCbs = n).sort(function (e, t) {
- return getId(e) - getId(t)
- }),
- postFlushIndex = 0;
- postFlushIndex < activePostFlushCbs.length;
- postFlushIndex++
- )
- activePostFlushCbs[postFlushIndex]()
- ;(activePostFlushCbs = null), (postFlushIndex = 0)
- }
- }
- var getId = function (e) {
- return null == e.id ? 1 / 0 : e.id
- }
- function flushJobs(e) {
- ;(isFlushPending = !1),
- (isFlushing = !0),
- flushPreFlushCbs(e),
- queue$1.sort(function (e, t) {
- return getId(e) - getId(t)
- })
- try {
- for (flushIndex = 0; flushIndex < queue$1.length; flushIndex++) {
- var t = queue$1[flushIndex]
- t && !1 !== t.active && callWithErrorHandling(t, null, 14)
- }
- } finally {
- ;(flushIndex = 0),
- (queue$1.length = 0),
- flushPostFlushCbs(),
- (isFlushing = !1),
- (currentFlushPromise = null),
- (queue$1.length || pendingPreFlushCbs.length || pendingPostFlushCbs.length) &&
- flushJobs(e)
- }
- }
- function watchEffect(e, t) {
- return doWatch(e, null, t)
- }
- function watchPostEffect(e, t) {
- return doWatch(e, null, { flush: 'post' })
- }
- function watchSyncEffect(e, t) {
- return doWatch(e, null, { flush: 'sync' })
- }
- var INITIAL_WATCHER_VALUE = {}
- function watch(e, t, n) {
- return doWatch(e, t, n)
- }
- function doWatch(e, t) {
- var n,
- r,
- a = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : EMPTY_OBJ,
- o = a.immediate,
- i = a.deep,
- s = a.flush,
- l = (a.onTrack, a.onTrigger, currentInstance),
- c = !1,
- u = !1
- if (
- (isRef(e)
- ? ((n = function () {
- return e.value
- }),
- (c = !!e._shallow))
- : isReactive(e)
- ? ((n = function () {
- return e
- }),
- (i = !0))
- : isArray$5(e)
- ? ((u = !0),
- (c = e.some(isReactive)),
- (n = function () {
- return e.map(function (e) {
- return isRef(e)
- ? e.value
- : isReactive(e)
- ? traverse(e)
- : isFunction$1(e)
- ? callWithErrorHandling(e, l, 2)
- : void 0
- })
- }))
- : (n = isFunction$1(e)
- ? t
- ? function () {
- return callWithErrorHandling(e, l, 2)
- }
- : function () {
- if (!l || !l.isUnmounted)
- return r && r(), callWithAsyncErrorHandling(e, l, 3, [d])
- }
- : NOOP),
- t && i)
- ) {
- var p = n
- n = function () {
- return traverse(p())
- }
- }
- var d = function (e) {
- r = v.onStop = function () {
- callWithErrorHandling(e, l, 4)
- }
- }
- if (isInSSRComponentSetup)
- return (
- (d = NOOP),
- t ? o && callWithAsyncErrorHandling(t, l, 3, [n(), u ? [] : void 0, d]) : n(),
- NOOP
- )
- var f = u ? [] : INITIAL_WATCHER_VALUE,
- h = function () {
- if (v.active)
- if (t) {
- var e = v.run()
- ;(i ||
- c ||
- (u
- ? e.some(function (e, t) {
- return hasChanged(e, f[t])
- })
- : hasChanged(e, f))) &&
- (r && r(),
- callWithAsyncErrorHandling(t, l, 3, [
- e,
- f === INITIAL_WATCHER_VALUE ? void 0 : f,
- d
- ]),
- (f = e))
- } else v.run()
- }
- h.allowRecurse = !!t
- var v = new ReactiveEffect(
- n,
- 'sync' === s
- ? h
- : 'post' === s
- ? function () {
- return queuePostRenderEffect(h, l && l.suspense)
- }
- : function () {
- !l || l.isMounted ? queuePreFlushCb(h) : h()
- }
- )
- return (
- t
- ? o
- ? h()
- : (f = v.run())
- : 'post' === s
- ? queuePostRenderEffect(v.run.bind(v), l && l.suspense)
- : v.run(),
- function () {
- v.stop(), l && l.scope && remove(l.scope.effects, v)
- }
- )
- }
- function instanceWatch(e, t, n) {
- var r,
- a = this.proxy,
- o = isString$1(e)
- ? e.includes('.')
- ? createPathGetter(a, e)
- : function () {
- return a[e]
- }
- : e.bind(a, a)
- isFunction$1(t) ? (r = t) : ((r = t.handler), (n = t))
- var i = currentInstance
- setCurrentInstance(this)
- var s = doWatch(o, r.bind(a), n)
- return i ? setCurrentInstance(i) : unsetCurrentInstance(), s
- }
- function createPathGetter(e, t) {
- var n = t.split('.')
- return function () {
- for (var t = e, r = 0; r < n.length && t; r++) t = t[n[r]]
- return t
- }
- }
- function traverse(e, t) {
- if (!isObject$2(e) || e.__v_skip) return e
- if ((t = t || new Set()).has(e)) return e
- if ((t.add(e), isRef(e))) traverse(e.value, t)
- else if (isArray$5(e)) for (var n = 0; n < e.length; n++) traverse(e[n], t)
- else if (isSet$1(e) || isMap$1(e))
- e.forEach(function (e) {
- traverse(e, t)
- })
- else if (isPlainObject$2(e)) for (var r in e) traverse(e[r], t)
- return e
- }
- function defineProps() {
- return null
- }
- function defineEmits() {
- return null
- }
- function defineExpose(e) {}
- function withDefaults(e, t) {
- return null
- }
- function useSlots() {
- return getContext().slots
- }
- function useAttrs() {
- return getContext().attrs
- }
- function getContext() {
- var e = getCurrentInstance()
- return e.setupContext || (e.setupContext = createSetupContext(e))
- }
- function mergeDefaults(e, t) {
- var n = isArray$5(e)
- ? e.reduce(function (e, t) {
- return (e[t] = {}), e
- }, {})
- : e
- for (var r in t) {
- var a = n[r]
- a
- ? isArray$5(a) || isFunction$1(a)
- ? (n[r] = { type: a, default: t[r] })
- : (a.default = t[r])
- : null === a && (n[r] = { default: t[r] })
- }
- return n
- }
- function createPropsRestProxy(e, t) {
- var n = {},
- r = function (r) {
- t.includes(r) ||
- Object.defineProperty(n, r, {
- enumerable: !0,
- get: function () {
- return e[r]
- }
- })
- }
- for (var a in e) r(a)
- return n
- }
- function withAsyncContext(e) {
- var t = getCurrentInstance(),
- n = e()
- return (
- unsetCurrentInstance(),
- isPromise$1(n) &&
- (n = n.catch(function (e) {
- throw (setCurrentInstance(t), e)
- })),
- [
- n,
- function () {
- return setCurrentInstance(t)
- }
- ]
- )
- }
- function h$1(e, t, n) {
- var r = arguments.length
- return 2 === r
- ? isObject$2(t) && !isArray$5(t)
- ? isVNode(t)
- ? createVNode(e, null, [t])
- : createVNode(e, t)
- : createVNode(e, null, t)
- : (r > 3
- ? (n = Array.prototype.slice.call(arguments, 2))
- : 3 === r && isVNode(n) && (n = [n]),
- createVNode(e, t, n))
- }
- var ssrContextKey = exports('cQ', Symbol('')),
- useSSRContext = exports('cV', function () {
- var e = inject(ssrContextKey)
- return (
- e ||
- warn(
- 'Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build.'
- ),
- e
- )
- })
- function initCustomFormatter() {}
- function withMemo(e, t, n, r) {
- var a = n[r]
- if (a && isMemoSame(a, e)) return a
- var o = t()
- return (o.memo = e.slice()), (n[r] = o)
- }
- function isMemoSame(e, t) {
- var n = e.memo
- if (n.length != t.length) return !1
- for (var r = 0; r < n.length; r++) if (n[r] !== t[r]) return !1
- return isBlockTreeEnabled > 0 && currentBlock && currentBlock.push(e), !0
- }
- var version = exports('cY', '3.2.26'),
- _ssrUtils = {
- createComponentInstance: createComponentInstance,
- setupComponent: setupComponent,
- renderComponentRoot: renderComponentRoot,
- setCurrentRenderingInstance: setCurrentRenderingInstance,
- isVNode: isVNode,
- normalizeVNode: normalizeVNode
- },
- ssrUtils = exports('cR', _ssrUtils),
- resolveFilter = exports('cL', null),
- compatUtils = exports('cf', null),
- svgNS = 'http://www.w3.org/2000/svg',
- doc = 'undefined' != typeof document ? document : null,
- staticTemplateCache = new Map(),
- nodeOps = {
- insert: function (e, t, n) {
- t.insertBefore(e, n || null)
- },
- remove: function (e) {
- var t = e.parentNode
- t && t.removeChild(e)
- },
- createElement: function (e, t, n, r) {
- var a = t
- ? doc.createElementNS(svgNS, e)
- : doc.createElement(e, n ? { is: n } : void 0)
- return (
- 'select' === e &&
- r &&
- null != r.multiple &&
- a.setAttribute('multiple', r.multiple),
- a
- )
- },
- createText: function (e) {
- return doc.createTextNode(e)
- },
- createComment: function (e) {
- return doc.createComment(e)
- },
- setText: function (e, t) {
- e.nodeValue = t
- },
- setElementText: function (e, t) {
- e.textContent = t
- },
- parentNode: function (e) {
- return e.parentNode
- },
- nextSibling: function (e) {
- return e.nextSibling
- },
- querySelector: function (e) {
- return doc.querySelector(e)
- },
- setScopeId: function (e, t) {
- e.setAttribute(t, '')
- },
- cloneNode: function (e) {
- var t = e.cloneNode(!0)
- return '_value' in e && (t._value = e._value), t
- },
- insertStaticContent: function (e, t, n, r) {
- var a = n ? n.previousSibling : t.lastChild,
- o = staticTemplateCache.get(e)
- if (!o) {
- var i = doc.createElement('template')
- if (((i.innerHTML = r ? '<svg>'.concat(e, '</svg>') : e), (o = i.content), r)) {
- for (var s = o.firstChild; s.firstChild; ) o.appendChild(s.firstChild)
- o.removeChild(s)
- }
- staticTemplateCache.set(e, o)
- }
- return (
- t.insertBefore(o.cloneNode(!0), n),
- [a ? a.nextSibling : t.firstChild, n ? n.previousSibling : t.lastChild]
- )
- }
- }
- function patchClass(e, t, n) {
- var r = e._vtc
- r && (t = (t ? [t].concat(_toConsumableArray2(r)) : _toConsumableArray2(r)).join(' ')),
- null == t
- ? e.removeAttribute('class')
- : n
- ? e.setAttribute('class', t)
- : (e.className = t)
- }
- function patchStyle(e, t, n) {
- var r = e.style,
- a = isString$1(n)
- if (n && !a) {
- for (var o in n) setStyle(r, o, n[o])
- if (t && !isString$1(t)) for (var i in t) null == n[i] && setStyle(r, i, '')
- } else {
- var s = r.display
- a ? t !== n && (r.cssText = n) : t && e.removeAttribute('style'),
- '_vod' in e && (r.display = s)
- }
- }
- var importantRE = /\s*!important$/
- function setStyle(e, t, n) {
- if (isArray$5(n))
- n.forEach(function (n) {
- return setStyle(e, t, n)
- })
- else if (t.startsWith('--')) e.setProperty(t, n)
- else {
- var r = autoPrefix(e, t)
- importantRE.test(n)
- ? e.setProperty(hyphenate(r), n.replace(importantRE, ''), 'important')
- : (e[r] = n)
- }
- }
- var prefixes = ['Webkit', 'Moz', 'ms'],
- prefixCache = {}
- function autoPrefix(e, t) {
- var n = prefixCache[t]
- if (n) return n
- var r = camelize$1(t)
- if ('filter' !== r && r in e) return (prefixCache[t] = r)
- r = capitalize(r)
- for (var a = 0; a < prefixes.length; a++) {
- var o = prefixes[a] + r
- if (o in e) return (prefixCache[t] = o)
- }
- return t
- }
- var xlinkNS = 'http://www.w3.org/1999/xlink'
- function patchAttr(e, t, n, r, a) {
- if (r && t.startsWith('xlink:'))
- null == n
- ? e.removeAttributeNS(xlinkNS, t.slice(6, t.length))
- : e.setAttributeNS(xlinkNS, t, n)
- else {
- var o = isSpecialBooleanAttr(t)
- null == n || (o && !includeBooleanAttr(n))
- ? e.removeAttribute(t)
- : e.setAttribute(t, o ? '' : n)
- }
- }
- function patchDOMProp(e, t, n, r, a, o, i) {
- if ('innerHTML' === t || 'textContent' === t)
- return r && i(r, a, o), void (e[t] = null == n ? '' : n)
- if ('value' === t && 'PROGRESS' !== e.tagName && !e.tagName.includes('-')) {
- e._value = n
- var s = null == n ? '' : n
- return (
- (e.value === s && 'OPTION' !== e.tagName) || (e.value = s),
- void (null == n && e.removeAttribute(t))
- )
- }
- if ('' === n || null == n) {
- var l = _typeof2(e[t])
- if ('boolean' === l) return void (e[t] = includeBooleanAttr(n))
- if (null == n && 'string' === l) return (e[t] = ''), void e.removeAttribute(t)
- if ('number' === l) {
- try {
- e[t] = 0
- } catch (c) {}
- return void e.removeAttribute(t)
- }
- }
- try {
- e[t] = n
- } catch (u) {}
- }
- var _getNow = Date.now,
- skipTimestampCheck = !1
- if ('undefined' != typeof window) {
- _getNow() > document.createEvent('Event').timeStamp &&
- (_getNow = function () {
- return performance.now()
- })
- var ffMatch = navigator.userAgent.match(/firefox\/(\d+)/i)
- skipTimestampCheck = !!(ffMatch && Number(ffMatch[1]) <= 53)
- }
- var cachedNow = 0,
- p = Promise.resolve(),
- reset = function () {
- cachedNow = 0
- },
- getNow = function () {
- return cachedNow || (p.then(reset), (cachedNow = _getNow()))
- }
- function addEventListener(e, t, n, r) {
- e.addEventListener(t, n, r)
- }
- function removeEventListener(e, t, n, r) {
- e.removeEventListener(t, n, r)
- }
- function patchEvent(e, t, n, r) {
- var a = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : null,
- o = e._vei || (e._vei = {}),
- i = o[t]
- if (r && i) i.value = r
- else {
- var s = parseName(t),
- l = _slicedToArray(s, 2),
- c = l[0],
- u = l[1]
- if (r) {
- var p = (o[t] = createInvoker(r, a))
- addEventListener(e, c, p, u)
- } else i && (removeEventListener(e, c, i, u), (o[t] = void 0))
- }
- }
- var optionsModifierRE = /(?:Once|Passive|Capture)$/
- function parseName(e) {
- var t, n
- if (optionsModifierRE.test(e))
- for (t = {}; (n = e.match(optionsModifierRE)); )
- (e = e.slice(0, e.length - n[0].length)), (t[n[0].toLowerCase()] = !0)
- return [hyphenate(e.slice(2)), t]
- }
- function createInvoker(e, t) {
- var n = function e(n) {
- var r = n.timeStamp || _getNow()
- ;(skipTimestampCheck || r >= e.attached - 1) &&
- callWithAsyncErrorHandling(patchStopImmediatePropagation(n, e.value), t, 5, [n])
- }
- return (n.value = e), (n.attached = getNow()), n
- }
- function patchStopImmediatePropagation(e, t) {
- if (isArray$5(t)) {
- var n = e.stopImmediatePropagation
- return (
- (e.stopImmediatePropagation = function () {
- n.call(e), (e._stopped = !0)
- }),
- t.map(function (e) {
- return function (t) {
- return !t._stopped && e(t)
- }
- })
- )
- }
- return t
- }
- var nativeOnRE = /^on[a-z]/,
- patchProp = function (e, t, n, r) {
- var a = arguments.length > 4 && void 0 !== arguments[4] && arguments[4],
- o = arguments.length > 5 ? arguments[5] : void 0,
- i = arguments.length > 6 ? arguments[6] : void 0,
- s = arguments.length > 7 ? arguments[7] : void 0,
- l = arguments.length > 8 ? arguments[8] : void 0
- 'class' === t
- ? patchClass(e, r, a)
- : 'style' === t
- ? patchStyle(e, n, r)
- : isOn(t)
- ? isModelListener(t) || patchEvent(e, t, n, r, i)
- : (
- '.' === t[0]
- ? ((t = t.slice(1)), 1)
- : '^' === t[0]
- ? ((t = t.slice(1)), 0)
- : shouldSetAsProp(e, t, r, a)
- )
- ? patchDOMProp(e, t, r, o, i, s, l)
- : ('true-value' === t
- ? (e._trueValue = r)
- : 'false-value' === t && (e._falseValue = r),
- patchAttr(e, t, r, a))
- }
- function shouldSetAsProp(e, t, n, r) {
- return r
- ? 'innerHTML' === t ||
- 'textContent' === t ||
- !!(t in e && nativeOnRE.test(t) && isFunction$1(n))
- : 'spellcheck' !== t &&
- 'draggable' !== t &&
- 'form' !== t &&
- ('list' !== t || 'INPUT' !== e.tagName) &&
- ('type' !== t || 'TEXTAREA' !== e.tagName) &&
- (!nativeOnRE.test(t) || !isString$1(n)) &&
- t in e
- }
- function defineCustomElement(e, t) {
- var n = defineComponent(e),
- r = (function (e) {
- _inherits2(a, e)
- var r = _createSuper2(a)
- function a(e) {
- return _classCallCheck2(this, a), r.call(this, n, e, t)
- }
- return _createClass2(a)
- })(VueElement)
- return (r.def = n), r
- }
- var defineSSRCustomElement = exports('d8', function (e) {
- return defineCustomElement(e, hydrate)
- }),
- BaseClass =
- 'undefined' != typeof HTMLElement
- ? HTMLElement
- : (function () {
- return _createClass2(function e() {
- _classCallCheck2(this, e)
- })
- })(),
- VueElement = (function (e) {
- _inherits2(n, e)
- var t = _createSuper2(n)
- function n(e) {
- var r,
- a = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
- o = arguments.length > 2 ? arguments[2] : void 0
- return (
- _classCallCheck2(this, n),
- ((r = t.call(this))._def = e),
- (r._props = a),
- (r._instance = null),
- (r._connected = !1),
- (r._resolved = !1),
- (r._numberProps = null),
- r.shadowRoot && o
- ? o(r._createVNode(), r.shadowRoot)
- : r.attachShadow({ mode: 'open' }),
- r
- )
- }
- return (
- _createClass2(n, [
- {
- key: 'connectedCallback',
- value: function () {
- ;(this._connected = !0), this._instance || this._resolveDef()
- }
- },
- {
- key: 'disconnectedCallback',
- value: function () {
- var e = this
- ;(this._connected = !1),
- nextTick(function () {
- e._connected || (render(null, e.shadowRoot), (e._instance = null))
- })
- }
- },
- {
- key: '_resolveDef',
- value: function () {
- var e = this
- if (!this._resolved) {
- this._resolved = !0
- for (var t = 0; t < this.attributes.length; t++)
- this._setAttr(this.attributes[t].name)
- new MutationObserver(function (t) {
- var n,
- r = _createForOfIteratorHelper(t)
- try {
- for (r.s(); !(n = r.n()).done; ) {
- var a = n.value
- e._setAttr(a.attributeName)
- }
- } catch (o) {
- r.e(o)
- } finally {
- r.f()
- }
- }).observe(this, { attributes: !0 })
- var n = function (t) {
- var n,
- r = t.props,
- a = t.styles,
- o = !isArray$5(r),
- i = r ? (o ? Object.keys(r) : r) : []
- if (o)
- for (var s in e._props) {
- var l = r[s]
- ;(l === Number || (l && l.type === Number)) &&
- ((e._props[s] = toNumber(e._props[s])),
- ((n || (n = Object.create(null)))[s] = !0))
- }
- e._numberProps = n
- for (var c = 0, u = Object.keys(e); c < u.length; c++) {
- var p = u[c]
- '_' !== p[0] && e._setProp(p, e[p], !0, !1)
- }
- var d,
- f = _createForOfIteratorHelper(i.map(camelize$1))
- try {
- var h = function () {
- var t = d.value
- Object.defineProperty(e, t, {
- get: function () {
- return this._getProp(t)
- },
- set: function (e) {
- this._setProp(t, e)
- }
- })
- }
- for (f.s(); !(d = f.n()).done; ) h()
- } catch (v) {
- f.e(v)
- } finally {
- f.f()
- }
- e._applyStyles(a), e._update()
- },
- r = this._def.__asyncLoader
- r ? r().then(n) : n(this._def)
- }
- }
- },
- {
- key: '_setAttr',
- value: function (e) {
- var t = this.getAttribute(e)
- this._numberProps && this._numberProps[e] && (t = toNumber(t)),
- this._setProp(camelize$1(e), t, !1)
- }
- },
- {
- key: '_getProp',
- value: function (e) {
- return this._props[e]
- }
- },
- {
- key: '_setProp',
- value: function (e, t) {
- var n = !(arguments.length > 2 && void 0 !== arguments[2]) || arguments[2],
- r = !(arguments.length > 3 && void 0 !== arguments[3]) || arguments[3]
- t !== this._props[e] &&
- ((this._props[e] = t),
- r && this._instance && this._update(),
- n &&
- (!0 === t
- ? this.setAttribute(hyphenate(e), '')
- : 'string' == typeof t || 'number' == typeof t
- ? this.setAttribute(hyphenate(e), t + '')
- : t || this.removeAttribute(hyphenate(e))))
- }
- },
- {
- key: '_update',
- value: function () {
- render(this._createVNode(), this.shadowRoot)
- }
- },
- {
- key: '_createVNode',
- value: function () {
- var e = this,
- t = createVNode(this._def, extend$2({}, this._props))
- return (
- this._instance ||
- (t.ce = function (t) {
- ;(e._instance = t),
- (t.isCE = !0),
- (t.emit = function (t) {
- for (
- var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), a = 1;
- a < n;
- a++
- )
- r[a - 1] = arguments[a]
- e.dispatchEvent(new CustomEvent(t, { detail: r }))
- })
- for (var r = e; (r = r && (r.parentNode || r.host)); )
- if (r instanceof n) {
- t.parent = r._instance
- break
- }
- }),
- t
- )
- }
- },
- {
- key: '_applyStyles',
- value: function (e) {
- var t = this
- e &&
- e.forEach(function (e) {
- var n = document.createElement('style')
- ;(n.textContent = e), t.shadowRoot.appendChild(n)
- })
- }
- }
- ]),
- n
- )
- })(BaseClass)
- function useCssModule() {
- var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : '$style',
- t = getCurrentInstance()
- if (!t) return EMPTY_OBJ
- var n = t.type.__cssModules
- if (!n) return EMPTY_OBJ
- var r = n[e]
- return r || EMPTY_OBJ
- }
- function useCssVars(e) {
- var t = getCurrentInstance()
- if (t) {
- var n = function () {
- return setVarsOnVNode(t.subTree, e(t.proxy))
- }
- watchPostEffect(n),
- onMounted(function () {
- var e = new MutationObserver(n)
- e.observe(t.subTree.el.parentNode, { childList: !0 }),
- onUnmounted(function () {
- return e.disconnect()
- })
- })
- }
- }
- function setVarsOnVNode(e, t) {
- if (128 & e.shapeFlag) {
- var n = e.suspense
- ;(e = n.activeBranch),
- n.pendingBranch &&
- !n.isHydrating &&
- n.effects.push(function () {
- setVarsOnVNode(n.activeBranch, t)
- })
- }
- for (; e.component; ) e = e.component.subTree
- if (1 & e.shapeFlag && e.el) setVarsOnNode(e.el, t)
- else if (e.type === Fragment)
- e.children.forEach(function (e) {
- return setVarsOnVNode(e, t)
- })
- else if (e.type === Static)
- for (var r = e, a = r.el, o = r.anchor; a && (setVarsOnNode(a, t), a !== o); )
- a = a.nextSibling
- }
- function setVarsOnNode(e, t) {
- if (1 === e.nodeType) {
- var n = e.style
- for (var r in t) n.setProperty('--'.concat(r), t[r])
- }
- }
- exports('d5', VueElement)
- var TRANSITION = 'transition',
- ANIMATION = 'animation',
- Transition = exports('b5', function (e, t) {
- var n = t.slots
- return h$1(BaseTransition, resolveTransitionProps(e), n)
- })
- Transition.displayName = 'Transition'
- var DOMTransitionPropsValidators = {
- name: String,
- type: String,
- css: { type: Boolean, default: !0 },
- duration: [String, Number, Object],
- enterFromClass: String,
- enterActiveClass: String,
- enterToClass: String,
- appearFromClass: String,
- appearActiveClass: String,
- appearToClass: String,
- leaveFromClass: String,
- leaveActiveClass: String,
- leaveToClass: String
- },
- TransitionPropsValidators = (Transition.props = extend$2(
- {},
- BaseTransition.props,
- DOMTransitionPropsValidators
- )),
- callHook = function (e) {
- var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : []
- isArray$5(e)
- ? e.forEach(function (e) {
- return e.apply(void 0, _toConsumableArray2(t))
- })
- : e && e.apply(void 0, _toConsumableArray2(t))
- },
- hasExplicitCallback = function (e) {
- return (
- !!e &&
- (isArray$5(e)
- ? e.some(function (e) {
- return e.length > 1
- })
- : e.length > 1)
- )
- }
- function resolveTransitionProps(e) {
- var t = {}
- for (var n in e) n in DOMTransitionPropsValidators || (t[n] = e[n])
- if (!1 === e.css) return t
- var r = e.name,
- a = void 0 === r ? 'v' : r,
- o = e.type,
- i = e.duration,
- s = e.enterFromClass,
- l = void 0 === s ? ''.concat(a, '-enter-from') : s,
- c = e.enterActiveClass,
- u = void 0 === c ? ''.concat(a, '-enter-active') : c,
- p = e.enterToClass,
- d = void 0 === p ? ''.concat(a, '-enter-to') : p,
- f = e.appearFromClass,
- h = void 0 === f ? l : f,
- v = e.appearActiveClass,
- m = void 0 === v ? u : v,
- g = e.appearToClass,
- y = void 0 === g ? d : g,
- b = e.leaveFromClass,
- _ = void 0 === b ? ''.concat(a, '-leave-from') : b,
- A = e.leaveActiveClass,
- x = void 0 === A ? ''.concat(a, '-leave-active') : A,
- w = e.leaveToClass,
- k = void 0 === w ? ''.concat(a, '-leave-to') : w,
- S = normalizeDuration(i),
- E = S && S[0],
- P = S && S[1],
- C = t.onBeforeEnter,
- T = t.onEnter,
- I = t.onEnterCancelled,
- R = t.onLeave,
- M = t.onLeaveCancelled,
- z = t.onBeforeAppear,
- O = void 0 === z ? C : z,
- D = t.onAppear,
- F = void 0 === D ? T : D,
- B = t.onAppearCancelled,
- N = void 0 === B ? I : B,
- j = function (e, t, n) {
- removeTransitionClass(e, t ? y : d), removeTransitionClass(e, t ? m : u), n && n()
- },
- V = function (e, t) {
- removeTransitionClass(e, k), removeTransitionClass(e, x), t && t()
- },
- L = function (e) {
- return function (t, n) {
- var r = e ? F : T,
- a = function () {
- return j(t, e, n)
- }
- callHook(r, [t, a]),
- nextFrame(function () {
- removeTransitionClass(t, e ? h : l),
- addTransitionClass(t, e ? y : d),
- hasExplicitCallback(r) || whenTransitionEnds(t, o, E, a)
- })
- }
- }
- return extend$2(t, {
- onBeforeEnter: function (e) {
- callHook(C, [e]), addTransitionClass(e, l), addTransitionClass(e, u)
- },
- onBeforeAppear: function (e) {
- callHook(O, [e]), addTransitionClass(e, h), addTransitionClass(e, m)
- },
- onEnter: L(!1),
- onAppear: L(!0),
- onLeave: function (e, t) {
- var n = function () {
- return V(e, t)
- }
- addTransitionClass(e, _),
- forceReflow(),
- addTransitionClass(e, x),
- nextFrame(function () {
- removeTransitionClass(e, _),
- addTransitionClass(e, k),
- hasExplicitCallback(R) || whenTransitionEnds(e, o, P, n)
- }),
- callHook(R, [e, n])
- },
- onEnterCancelled: function (e) {
- j(e, !1), callHook(I, [e])
- },
- onAppearCancelled: function (e) {
- j(e, !0), callHook(N, [e])
- },
- onLeaveCancelled: function (e) {
- V(e), callHook(M, [e])
- }
- })
- }
- function normalizeDuration(e) {
- if (null == e) return null
- if (isObject$2(e)) return [NumberOf(e.enter), NumberOf(e.leave)]
- var t = NumberOf(e)
- return [t, t]
- }
- function NumberOf(e) {
- return toNumber(e)
- }
- function addTransitionClass(e, t) {
- t.split(/\s+/).forEach(function (t) {
- return t && e.classList.add(t)
- }),
- (e._vtc || (e._vtc = new Set())).add(t)
- }
- function removeTransitionClass(e, t) {
- t.split(/\s+/).forEach(function (t) {
- return t && e.classList.remove(t)
- })
- var n = e._vtc
- n && (n.delete(t), n.size || (e._vtc = void 0))
- }
- function nextFrame(e) {
- requestAnimationFrame(function () {
- requestAnimationFrame(e)
- })
- }
- var endId = 0
- function whenTransitionEnds(e, t, n, r) {
- var a = (e._endId = ++endId),
- o = function () {
- a === e._endId && r()
- }
- if (n) return setTimeout(o, n)
- var i = getTransitionInfo(e, t),
- s = i.type,
- l = i.timeout,
- c = i.propCount
- if (!s) return r()
- var u = s + 'end',
- p = 0,
- d = function () {
- e.removeEventListener(u, f), o()
- },
- f = function (t) {
- t.target === e && ++p >= c && d()
- }
- setTimeout(function () {
- p < c && d()
- }, l + 1),
- e.addEventListener(u, f)
- }
- function getTransitionInfo(e, t) {
- var n = window.getComputedStyle(e),
- r = function (e) {
- return (n[e] || '').split(', ')
- },
- a = r(TRANSITION + 'Delay'),
- o = r(TRANSITION + 'Duration'),
- i = getTimeout(a, o),
- s = r(ANIMATION + 'Delay'),
- l = r(ANIMATION + 'Duration'),
- c = getTimeout(s, l),
- u = null,
- p = 0,
- d = 0
- return (
- t === TRANSITION
- ? i > 0 && ((u = TRANSITION), (p = i), (d = o.length))
- : t === ANIMATION
- ? c > 0 && ((u = ANIMATION), (p = c), (d = l.length))
- : (d = (u = (p = Math.max(i, c)) > 0 ? (i > c ? TRANSITION : ANIMATION) : null)
- ? u === TRANSITION
- ? o.length
- : l.length
- : 0),
- {
- type: u,
- timeout: p,
- propCount: d,
- hasTransform:
- u === TRANSITION && /\b(transform|all)(,|$)/.test(n[TRANSITION + 'Property'])
- }
- )
- }
- function getTimeout(e, t) {
- for (; e.length < t.length; ) e = e.concat(e)
- return Math.max.apply(
- Math,
- _toConsumableArray2(
- t.map(function (t, n) {
- return toMs(t) + toMs(e[n])
- })
- )
- )
- }
- function toMs(e) {
- return 1e3 * Number(e.slice(0, -1).replace(',', '.'))
- }
- function forceReflow() {
- return document.body.offsetHeight
- }
- var positionMap = new WeakMap(),
- newPositionMap = new WeakMap(),
- TransitionGroupImpl = {
- name: 'TransitionGroup',
- props: extend$2({}, TransitionPropsValidators, { tag: String, moveClass: String }),
- setup: function (e, t) {
- var n,
- r,
- a = t.slots,
- o = getCurrentInstance(),
- i = useTransitionState()
- return (
- onUpdated(function () {
- if (n.length) {
- var t = e.moveClass || ''.concat(e.name || 'v', '-move')
- if (hasCSSTransform(n[0].el, o.vnode.el, t)) {
- n.forEach(callPendingCbs), n.forEach(recordPosition)
- var r = n.filter(applyTranslation)
- forceReflow(),
- r.forEach(function (e) {
- var n = e.el,
- r = n.style
- addTransitionClass(n, t),
- (r.transform = r.webkitTransform = r.transitionDuration = '')
- var a = (n._moveCb = function (e) {
- ;(e && e.target !== n) ||
- (e && !/transform$/.test(e.propertyName)) ||
- (n.removeEventListener('transitionend', a),
- (n._moveCb = null),
- removeTransitionClass(n, t))
- })
- n.addEventListener('transitionend', a)
- })
- }
- }
- }),
- function () {
- var t = toRaw(e),
- s = resolveTransitionProps(t),
- l = t.tag || Fragment
- ;(n = r), (r = a.default ? getTransitionRawChildren(a.default()) : [])
- for (var c = 0; c < r.length; c++) {
- var u = r[c]
- null != u.key && setTransitionHooks(u, resolveTransitionHooks(u, s, i, o))
- }
- if (n)
- for (var p = 0; p < n.length; p++) {
- var d = n[p]
- setTransitionHooks(d, resolveTransitionHooks(d, s, i, o)),
- positionMap.set(d, d.el.getBoundingClientRect())
- }
- return createVNode(l, null, r)
- }
- )
- }
- },
- TransitionGroup = exports('bE', TransitionGroupImpl)
- function callPendingCbs(e) {
- var t = e.el
- t._moveCb && t._moveCb(), t._enterCb && t._enterCb()
- }
- function recordPosition(e) {
- newPositionMap.set(e, e.el.getBoundingClientRect())
- }
- function applyTranslation(e) {
- var t = positionMap.get(e),
- n = newPositionMap.get(e),
- r = t.left - n.left,
- a = t.top - n.top
- if (r || a) {
- var o = e.el.style
- return (
- (o.transform = o.webkitTransform = 'translate('.concat(r, 'px,').concat(a, 'px)')),
- (o.transitionDuration = '0s'),
- e
- )
- }
- }
- function hasCSSTransform(e, t, n) {
- var r = e.cloneNode()
- e._vtc &&
- e._vtc.forEach(function (e) {
- e.split(/\s+/).forEach(function (e) {
- return e && r.classList.remove(e)
- })
- }),
- n.split(/\s+/).forEach(function (e) {
- return e && r.classList.add(e)
- }),
- (r.style.display = 'none')
- var a = 1 === t.nodeType ? t : t.parentNode
- a.appendChild(r)
- var o = getTransitionInfo(r).hasTransform
- return a.removeChild(r), o
- }
- var getModelAssigner = function (e) {
- var t = e.props['onUpdate:modelValue']
- return isArray$5(t)
- ? function (e) {
- return invokeArrayFns(t, e)
- }
- : t
- }
- function onCompositionStart(e) {
- e.target.composing = !0
- }
- function onCompositionEnd(e) {
- var t = e.target
- t.composing && ((t.composing = !1), trigger(t, 'input'))
- }
- function trigger(e, t) {
- var n = document.createEvent('HTMLEvents')
- n.initEvent(t, !0, !0), e.dispatchEvent(n)
- }
- var vModelText = exports('di', {
- created: function (e, t, n) {
- var r = t.modifiers,
- a = r.lazy,
- o = r.trim,
- i = r.number
- e._assign = getModelAssigner(n)
- var s = i || (n.props && 'number' === n.props.type)
- addEventListener(e, a ? 'change' : 'input', function (t) {
- if (!t.target.composing) {
- var n = e.value
- o ? (n = n.trim()) : s && (n = toNumber(n)), e._assign(n)
- }
- }),
- o &&
- addEventListener(e, 'change', function () {
- e.value = e.value.trim()
- }),
- a ||
- (addEventListener(e, 'compositionstart', onCompositionStart),
- addEventListener(e, 'compositionend', onCompositionEnd),
- addEventListener(e, 'change', onCompositionEnd))
- },
- mounted: function (e, t) {
- var n = t.value
- e.value = null == n ? '' : n
- },
- beforeUpdate: function (e, t, n) {
- var r = t.value,
- a = t.modifiers,
- o = a.lazy,
- i = a.trim,
- s = a.number
- if (((e._assign = getModelAssigner(n)), !e.composing)) {
- if (document.activeElement === e) {
- if (o) return
- if (i && e.value.trim() === r) return
- if ((s || 'number' === e.type) && toNumber(e.value) === r) return
- }
- var l = null == r ? '' : r
- e.value !== l && (e.value = l)
- }
- }
- }),
- vModelCheckbox = exports('de', {
- deep: !0,
- created: function (e, t, n) {
- ;(e._assign = getModelAssigner(n)),
- addEventListener(e, 'change', function () {
- var t = e._modelValue,
- n = getValue(e),
- r = e.checked,
- a = e._assign
- if (isArray$5(t)) {
- var o = looseIndexOf(t, n),
- i = -1 !== o
- if (r && !i) a(t.concat(n))
- else if (!r && i) {
- var s = _toConsumableArray2(t)
- s.splice(o, 1), a(s)
- }
- } else if (isSet$1(t)) {
- var l = new Set(t)
- r ? l.add(n) : l.delete(n), a(l)
- } else a(getCheckboxValue(e, r))
- })
- },
- mounted: setChecked,
- beforeUpdate: function (e, t, n) {
- ;(e._assign = getModelAssigner(n)), setChecked(e, t, n)
- }
- })
- function setChecked(e, t, n) {
- var r = t.value,
- a = t.oldValue
- ;(e._modelValue = r),
- isArray$5(r)
- ? (e.checked = looseIndexOf(r, n.props.value) > -1)
- : isSet$1(r)
- ? (e.checked = r.has(n.props.value))
- : r !== a && (e.checked = looseEqual(r, getCheckboxValue(e, !0)))
- }
- var vModelRadio = exports('dg', {
- created: function (e, t, n) {
- var r = t.value
- ;(e.checked = looseEqual(r, n.props.value)),
- (e._assign = getModelAssigner(n)),
- addEventListener(e, 'change', function () {
- e._assign(getValue(e))
- })
- },
- beforeUpdate: function (e, t, n) {
- var r = t.value,
- a = t.oldValue
- ;(e._assign = getModelAssigner(n)),
- r !== a && (e.checked = looseEqual(r, n.props.value))
- }
- }),
- vModelSelect = exports('dh', {
- deep: !0,
- created: function (e, t, n) {
- var r = t.value,
- a = t.modifiers.number,
- o = isSet$1(r)
- addEventListener(e, 'change', function () {
- var t = Array.prototype.filter
- .call(e.options, function (e) {
- return e.selected
- })
- .map(function (e) {
- return a ? toNumber(getValue(e)) : getValue(e)
- })
- e._assign(e.multiple ? (o ? new Set(t) : t) : t[0])
- }),
- (e._assign = getModelAssigner(n))
- },
- mounted: function (e, t) {
- setSelected(e, t.value)
- },
- beforeUpdate: function (e, t, n) {
- e._assign = getModelAssigner(n)
- },
- updated: function (e, t) {
- setSelected(e, t.value)
- }
- })
- function setSelected(e, t) {
- var n = e.multiple
- if (!n || isArray$5(t) || isSet$1(t)) {
- for (var r = 0, a = e.options.length; r < a; r++) {
- var o = e.options[r],
- i = getValue(o)
- if (n)
- isArray$5(t) ? (o.selected = looseIndexOf(t, i) > -1) : (o.selected = t.has(i))
- else if (looseEqual(getValue(o), t))
- return void (e.selectedIndex !== r && (e.selectedIndex = r))
- }
- n || -1 === e.selectedIndex || (e.selectedIndex = -1)
- }
- }
- function getValue(e) {
- return '_value' in e ? e._value : e.value
- }
- function getCheckboxValue(e, t) {
- var n = t ? '_trueValue' : '_falseValue'
- return n in e ? e[n] : t
- }
- var vModelDynamic = exports('df', {
- created: function (e, t, n) {
- callModelHook(e, t, n, null, 'created')
- },
- mounted: function (e, t, n) {
- callModelHook(e, t, n, null, 'mounted')
- },
- beforeUpdate: function (e, t, n, r) {
- callModelHook(e, t, n, r, 'beforeUpdate')
- },
- updated: function (e, t, n, r) {
- callModelHook(e, t, n, r, 'updated')
- }
- })
- function callModelHook(e, t, n, r, a) {
- var o
- switch (e.tagName) {
- case 'SELECT':
- o = vModelSelect
- break
- case 'TEXTAREA':
- o = vModelText
- break
- default:
- switch (n.props && n.props.type) {
- case 'checkbox':
- o = vModelCheckbox
- break
- case 'radio':
- o = vModelRadio
- break
- default:
- o = vModelText
- }
- }
- var i = o[a]
- i && i(e, t, n, r)
- }
- function initVModelForSSR() {
- ;(vModelText.getSSRProps = function (e) {
- return { value: e.value }
- }),
- (vModelRadio.getSSRProps = function (e, t) {
- var n = e.value
- if (t.props && looseEqual(t.props.value, n)) return { checked: !0 }
- }),
- (vModelCheckbox.getSSRProps = function (e, t) {
- var n = e.value
- if (isArray$5(n)) {
- if (t.props && looseIndexOf(n, t.props.value) > -1) return { checked: !0 }
- } else if (isSet$1(n)) {
- if (t.props && n.has(t.props.value)) return { checked: !0 }
- } else if (n) return { checked: !0 }
- })
- }
- var systemModifiers = ['ctrl', 'shift', 'alt', 'meta'],
- modifierGuards = {
- stop: function (e) {
- return e.stopPropagation()
- },
- prevent: function (e) {
- return e.preventDefault()
- },
- self: function (e) {
- return e.target !== e.currentTarget
- },
- ctrl: function (e) {
- return !e.ctrlKey
- },
- shift: function (e) {
- return !e.shiftKey
- },
- alt: function (e) {
- return !e.altKey
- },
- meta: function (e) {
- return !e.metaKey
- },
- left: function (e) {
- return 'button' in e && 0 !== e.button
- },
- middle: function (e) {
- return 'button' in e && 1 !== e.button
- },
- right: function (e) {
- return 'button' in e && 2 !== e.button
- },
- exact: function (e, t) {
- return systemModifiers.some(function (n) {
- return e[''.concat(n, 'Key')] && !t.includes(n)
- })
- }
- },
- withModifiers = exports('dk', function (e, t) {
- return function (n) {
- for (var r = 0; r < t.length; r++) {
- var a = modifierGuards[t[r]]
- if (a && a(n, t)) return
- }
- for (var o = arguments.length, i = new Array(o > 1 ? o - 1 : 0), s = 1; s < o; s++)
- i[s - 1] = arguments[s]
- return e.apply(void 0, [n].concat(i))
- }
- }),
- keyNames = {
- esc: 'escape',
- space: ' ',
- up: 'arrow-up',
- left: 'arrow-left',
- right: 'arrow-right',
- down: 'arrow-down',
- delete: 'backspace'
- },
- withKeys = exports('dj', function (e, t) {
- return function (n) {
- if ('key' in n) {
- var r = hyphenate(n.key)
- return t.some(function (e) {
- return e === r || keyNames[e] === r
- })
- ? e(n)
- : void 0
- }
- }
- }),
- vShow = exports('ay', {
- beforeMount: function (e, t, n) {
- var r = t.value,
- a = n.transition
- ;(e._vod = 'none' === e.style.display ? '' : e.style.display),
- a && r ? a.beforeEnter(e) : setDisplay(e, r)
- },
- mounted: function (e, t, n) {
- var r = t.value,
- a = n.transition
- a && r && a.enter(e)
- },
- updated: function (e, t, n) {
- var r = t.value,
- a = t.oldValue,
- o = n.transition
- !r != !a &&
- (o
- ? r
- ? (o.beforeEnter(e), setDisplay(e, !0), o.enter(e))
- : o.leave(e, function () {
- setDisplay(e, !1)
- })
- : setDisplay(e, r))
- },
- beforeUnmount: function (e, t) {
- setDisplay(e, t.value)
- }
- })
- function setDisplay(e, t) {
- e.style.display = t ? e._vod : 'none'
- }
- function initVShowForSSR() {
- vShow.getSSRProps = function (e) {
- if (!e.value) return { style: { display: 'none' } }
- }
- }
- var rendererOptions = extend$2({ patchProp: patchProp }, nodeOps),
- renderer,
- enabledHydration = !1
- function ensureRenderer() {
- return renderer || (renderer = createRenderer(rendererOptions))
- }
- function ensureHydrationRenderer() {
- return (
- (renderer = enabledHydration ? renderer : createHydrationRenderer(rendererOptions)),
- (enabledHydration = !0),
- renderer
- )
- }
- var render = exports('db', function () {
- var e
- ;(e = ensureRenderer()).render.apply(e, arguments)
- }),
- hydrate = exports('d9', function () {
- var e
- ;(e = ensureHydrationRenderer()).hydrate.apply(e, arguments)
- }),
- createApp = exports('h', function () {
- var e,
- t = (e = ensureRenderer()).createApp.apply(e, arguments),
- n = t.mount
- return (
- (t.mount = function (e) {
- var r = normalizeContainer(e)
- if (r) {
- var a = t._component
- isFunction$1(a) || a.render || a.template || (a.template = r.innerHTML),
- (r.innerHTML = '')
- var o = n(r, !1, r instanceof SVGElement)
- return (
- r instanceof Element &&
- (r.removeAttribute('v-cloak'), r.setAttribute('data-v-app', '')),
- o
- )
- }
- }),
- t
- )
- }),
- createSSRApp = exports('d6', function () {
- var e,
- t = (e = ensureHydrationRenderer()).createApp.apply(e, arguments),
- n = t.mount
- return (
- (t.mount = function (e) {
- var t = normalizeContainer(e)
- if (t) return n(t, !0, t instanceof SVGElement)
- }),
- t
- )
- })
- function normalizeContainer(e) {
- return isString$1(e) ? document.querySelector(e) : e
- }
- var ssrDirectiveInitialized = !1,
- initDirectivesForSSR = exports('da', function () {
- ssrDirectiveInitialized ||
- ((ssrDirectiveInitialized = !0), initVModelForSSR(), initVShowForSSR())
- }),
- isDef = exports('a1', function (e) {
- return null != e
- }),
- isFunction = exports('M', function (e) {
- return 'function' == typeof e
- }),
- isObject$1 = exports('J', function (e) {
- return null !== e && 'object' === _typeof2(e)
- }),
- isPromise = exports('K', function (e) {
- return isObject$1(e) && isFunction(e.then) && isFunction(e.catch)
- }),
- isDate$2 = exports('aG', function (e) {
- return (
- '[object Date]' === Object.prototype.toString.call(e) && !Number.isNaN(e.getTime())
- )
- }),
- isNumeric = function (e) {
- return 'number' == typeof e || /^\d+(\.\d+)?$/.test(e)
- },
- isIOS$1 = function () {
- return !!inBrowser$1 && /ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase())
- }
- function noop$1() {}
- var extend$1 = exports('N', Object.assign),
- inBrowser$1 = exports('aa', 'undefined' != typeof window)
- function get(e, t) {
- var n = t.split('.'),
- r = e
- return (
- n.forEach(function (e) {
- var t
- r = isObject$1(r) && null != (t = r[e]) ? t : ''
- }),
- r
- )
- }
- function pick(e, t, n) {
- return t.reduce(function (t, r) {
- return (n && void 0 === e[r]) || (t[r] = e[r]), t
- }, {})
- }
- var isSameValue = exports('aW', function (e, t) {
- return JSON.stringify(e) === JSON.stringify(t)
- }),
- toArray = exports('a2', function (e) {
- return Array.isArray(e) ? e : [e]
- }),
- unknownProp = exports('O', null),
- numericProp = exports('z', [Number, String]),
- truthProp = exports('v', { type: Boolean, default: !0 }),
- makeRequiredProp = exports('aB', function (e) {
- return { type: e, required: !0 }
- }),
- makeArrayProp = exports('av', function () {
- return {
- type: Array,
- default: function () {
- return []
- }
- }
- }),
- makeNumberProp = exports('aC', function (e) {
- return { type: Number, default: e }
- }),
- makeNumericProp = exports('w', function (e) {
- return { type: numericProp, default: e }
- }),
- makeStringProp = exports('u', function (e) {
- return { type: String, default: e }
- }),
- inBrowser = 'undefined' != typeof window
- function raf(e) {
- return inBrowser ? requestAnimationFrame(e) : -1
- }
- function cancelRaf(e) {
- inBrowser && cancelAnimationFrame(e)
- }
- function doubleRaf(e) {
- raf(function () {
- return raf(e)
- })
- }
- var isWindow = function (e) {
- return e === window
- },
- makeDOMRect = function (e, t) {
- return { top: 0, left: 0, right: e, bottom: t, width: e, height: t }
- },
- useRect = exports('an', function (e) {
- var t = unref(e)
- if (isWindow(t)) {
- var n = t.innerWidth,
- r = t.innerHeight
- return makeDOMRect(n, r)
- }
- return (null == t ? void 0 : t.getBoundingClientRect)
- ? t.getBoundingClientRect()
- : makeDOMRect(0, 0)
- })
- function useToggle() {
- var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0],
- t = ref(e),
- n = function () {
- var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : !t.value
- t.value = e
- }
- return [t, n]
- }
- function useParent(e) {
- var t = inject(e, null)
- if (t) {
- var n = getCurrentInstance(),
- r = t.link,
- a = t.unlink,
- o = t.internalChildren
- return (
- r(n),
- onUnmounted(function () {
- return a(n)
- }),
- {
- parent: t,
- index: computed(function () {
- return o.indexOf(n)
- })
- }
- )
- }
- return { parent: null, index: ref(-1) }
- }
- function flattenVNodes(e) {
- var t = []
- return (
- (function e(n) {
- Array.isArray(n) &&
- n.forEach(function (n) {
- var r
- isVNode(n) &&
- (t.push(n),
- (null == (r = n.component) ? void 0 : r.subTree) &&
- (t.push(n.component.subTree), e(n.component.subTree.children)),
- n.children && e(n.children))
- })
- })(e),
- t
- )
- }
- function sortChildren(e, t, n) {
- var r = flattenVNodes(e.subTree.children)
- n.sort(function (e, t) {
- return r.indexOf(e.vnode) - r.indexOf(t.vnode)
- })
- var a = n.map(function (e) {
- return e.proxy
- })
- t.sort(function (e, t) {
- return a.indexOf(e) - a.indexOf(t)
- })
- }
- function useChildren(e) {
- var t = reactive([]),
- n = reactive([]),
- r = getCurrentInstance()
- return {
- children: t,
- linkChildren: function (a) {
- provide(
- e,
- Object.assign(
- {
- link: function (e) {
- e.proxy && (n.push(e), t.push(e.proxy), sortChildren(r, t, n))
- },
- unlink: function (e) {
- var r = n.indexOf(e)
- t.splice(r, 1), n.splice(r, 1)
- },
- children: t,
- internalChildren: n
- },
- a
- )
- )
- }
- }
- }
- var SECOND = 1e3,
- MINUTE = 60 * SECOND,
- HOUR = 60 * MINUTE,
- DAY = 24 * HOUR,
- width,
- height
- function parseTime(e) {
- return {
- total: e,
- days: Math.floor(e / DAY),
- hours: Math.floor((e % DAY) / HOUR),
- minutes: Math.floor((e % HOUR) / MINUTE),
- seconds: Math.floor((e % MINUTE) / SECOND),
- milliseconds: Math.floor(e % SECOND)
- }
- }
- function isSameSecond(e, t) {
- return Math.floor(e / 1e3) === Math.floor(t / 1e3)
- }
- function useCountDown(e) {
- var t,
- n,
- r,
- a,
- o = ref(e.time),
- i = computed(function () {
- return parseTime(o.value)
- }),
- s = function () {
- ;(r = !1), cancelRaf(t)
- },
- l = function () {
- return Math.max(n - Date.now(), 0)
- },
- c = function (t) {
- var n, r
- ;(o.value = t),
- null == (n = e.onChange) || n.call(e, i.value),
- 0 === t && (s(), null == (r = e.onFinish) || r.call(e))
- },
- u = function e() {
- t = raf(function () {
- r && (c(l()), o.value > 0 && e())
- })
- },
- p = function e() {
- t = raf(function () {
- if (r) {
- var t = l()
- ;(isSameSecond(t, o.value) && 0 !== t) || c(t), o.value > 0 && e()
- }
- })
- },
- d = function () {
- inBrowser && (e.millisecond ? u() : p())
- }
- return (
- onBeforeUnmount(s),
- onActivated(function () {
- a && ((r = !0), (a = !1), d())
- }),
- onDeactivated(function () {
- r && (s(), (a = !0))
- }),
- {
- start: function () {
- r || ((n = Date.now() + o.value), (r = !0), d())
- },
- pause: s,
- reset: function () {
- var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : e.time
- s(), (o.value = t)
- },
- current: i
- }
- )
- }
- function onMountedOrActivated(e) {
- var t
- onMounted(function () {
- e(),
- nextTick(function () {
- t = !0
- })
- }),
- onActivated(function () {
- t && e()
- })
- }
- function useEventListener(e, t) {
- var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}
- if (inBrowser) {
- var r,
- a = n.target,
- o = void 0 === a ? window : a,
- i = n.passive,
- s = void 0 !== i && i,
- l = n.capture,
- c = void 0 !== l && l,
- u = function (n) {
- var a = unref(n)
- a && !r && (a.addEventListener(e, t, { capture: c, passive: s }), (r = !0))
- },
- p = function (n) {
- var a = unref(n)
- a && r && (a.removeEventListener(e, t, c), (r = !1))
- }
- onUnmounted(function () {
- return p(o)
- }),
- onDeactivated(function () {
- return p(o)
- }),
- onMountedOrActivated(function () {
- return u(o)
- }),
- isRef(o) &&
- watch(o, function (e, t) {
- p(t), u(e)
- })
- }
- }
- function useClickAway(e, t) {
- var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}
- if (inBrowser) {
- var r = n.eventName,
- a = void 0 === r ? 'click' : r,
- o = function (n) {
- ;(Array.isArray(e) ? e : [e]).every(function (e) {
- var t = unref(e)
- return t && !t.contains(n.target)
- }) && t(n)
- }
- useEventListener(a, o, { target: document })
- }
- }
- function useWindowSize() {
- if (!width && ((width = ref(0)), (height = ref(0)), inBrowser)) {
- var e = function () {
- ;(width.value = window.innerWidth), (height.value = window.innerHeight)
- }
- e(),
- window.addEventListener('resize', e, { passive: !0 }),
- window.addEventListener('orientationchange', e, { passive: !0 })
- }
- return { width: width, height: height }
- }
- var overflowScrollReg = /scroll|auto|overlay/i,
- defaultRoot = inBrowser ? window : void 0,
- visibility
- function isElement$1(e) {
- return 'HTML' !== e.tagName && 'BODY' !== e.tagName && 1 === e.nodeType
- }
- function getScrollParent(e) {
- for (
- var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : defaultRoot,
- n = e;
- n && n !== t && isElement$1(n);
- ) {
- var r = window.getComputedStyle(n),
- a = r.overflowY
- if (overflowScrollReg.test(a)) return n
- n = n.parentNode
- }
- return t
- }
- function useScrollParent(e) {
- var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : defaultRoot,
- n = ref()
- return (
- onMounted(function () {
- e.value && (n.value = getScrollParent(e.value, t))
- }),
- n
- )
- }
- function usePageVisibility() {
- if (!visibility && ((visibility = ref('visible')), inBrowser)) {
- var e = function () {
- visibility.value = document.hidden ? 'hidden' : 'visible'
- }
- e(), window.addEventListener('visibilitychange', e)
- }
- return visibility
- }
- var CUSTOM_FIELD_INJECTION_KEY = exports('Y', Symbol('van-field'))
- function useCustomFieldValue(e) {
- var t = inject(CUSTOM_FIELD_INJECTION_KEY, null)
- t &&
- !t.customValue.value &&
- ((t.customValue.value = e),
- watch(e, function () {
- t.resetValidation(), t.validateWithTrigger('onChange')
- }))
- }
- function getScrollTop(e) {
- var t = 'scrollTop' in e ? e.scrollTop : e.pageYOffset
- return Math.max(t, 0)
- }
- function setScrollTop(e, t) {
- 'scrollTop' in e ? (e.scrollTop = t) : e.scrollTo(e.scrollX, t)
- }
- function getRootScrollTop() {
- return (
- window.pageYOffset ||
- document.documentElement.scrollTop ||
- document.body.scrollTop ||
- 0
- )
- }
- function setRootScrollTop(e) {
- setScrollTop(window, e), setScrollTop(document.body, e)
- }
- function getElementTop(e, t) {
- if (e === window) return 0
- var n = t ? getScrollTop(t) : getRootScrollTop()
- return useRect(e).top + n
- }
- var isIOS = isIOS$1()
- function resetScroll() {
- isIOS && setRootScrollTop(getRootScrollTop())
- }
- var stopPropagation = exports('bK', function (e) {
- return e.stopPropagation()
- })
- function preventDefault(e, t) {
- ;('boolean' != typeof e.cancelable || e.cancelable) && e.preventDefault(),
- t && stopPropagation(e)
- }
- function isHidden(e) {
- var t = unref(e)
- if (!t) return !1
- var n = window.getComputedStyle(t),
- r = 'none' === n.display,
- a = null === t.offsetParent && 'fixed' !== n.position
- return r || a
- }
- var _useWindowSize = useWindowSize(),
- windowWidth = _useWindowSize.width,
- windowHeight = _useWindowSize.height,
- rootFontSize
- function addUnit(e) {
- if (isDef(e)) return isNumeric(e) ? ''.concat(e, 'px') : String(e)
- }
- function getSizeStyle(e) {
- if (isDef(e)) {
- if (Array.isArray(e)) return { width: addUnit(e[0]), height: addUnit(e[1]) }
- var t = addUnit(e)
- return { width: t, height: t }
- }
- }
- function getZIndexStyle(e) {
- var t = {}
- return void 0 !== e && (t.zIndex = +e), t
- }
- function getRootFontSize() {
- if (!rootFontSize) {
- var e = document.documentElement,
- t = e.style.fontSize || window.getComputedStyle(e).fontSize
- rootFontSize = parseFloat(t)
- }
- return rootFontSize
- }
- function convertRem(e) {
- return +(e = e.replace(/rem/g, '')) * getRootFontSize()
- }
- function convertVw(e) {
- return (+(e = e.replace(/vw/g, '')) * windowWidth.value) / 100
- }
- function convertVh(e) {
- return (+(e = e.replace(/vh/g, '')) * windowHeight.value) / 100
- }
- function unitToPx(e) {
- if ('number' == typeof e) return e
- if (inBrowser$1) {
- if (e.includes('rem')) return convertRem(e)
- if (e.includes('vw')) return convertVw(e)
- if (e.includes('vh')) return convertVh(e)
- }
- return parseFloat(e)
- }
- exports({ aN: windowWidth, au: windowHeight })
- var camelizeRE = /-(\w)/g,
- camelize = function (e) {
- return e.replace(camelizeRE, function (e, t) {
- return t.toUpperCase()
- })
- },
- kebabCase = function (e) {
- return e
- .replace(/([A-Z])/g, '-$1')
- .toLowerCase()
- .replace(/^-/, '')
- }
- function padZero(e) {
- for (
- var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 2,
- n = e + '';
- n.length < t;
- )
- n = '0' + n
- return n
- }
- var clamp = exports('aU', function (e, t, n) {
- return Math.min(Math.max(e, t), n)
- })
- function trimExtraChar(e, t, n) {
- var r = e.indexOf(t)
- return -1 === r
- ? e
- : '-' === t && 0 !== r
- ? e.slice(0, r)
- : e.slice(0, r + 1) + e.slice(r).replace(n, '')
- }
- function formatNumber(e) {
- var t = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1],
- n = !(arguments.length > 2 && void 0 !== arguments[2]) || arguments[2]
- e = t ? trimExtraChar(e, '.', /\./g) : e.split('.')[0]
- var r = t ? /[^-0-9.]/g : /[^-0-9]/g
- return (e = n ? trimExtraChar(e, '-', /-/g) : e.replace(/-/, '')).replace(r, '')
- }
- function addNumber(e, t) {
- var n = Math.pow(10, 10)
- return Math.round((e + t) * n) / n
- }
- var hasOwnProperty$1 = Object.prototype.hasOwnProperty
- function assignKey(e, t, n) {
- var r = t[n]
- isDef(r) &&
- (hasOwnProperty$1.call(e, n) && isObject$1(r)
- ? (e[n] = deepAssign(Object(e[n]), r))
- : (e[n] = r))
- }
- function deepAssign(e, t) {
- return (
- Object.keys(t).forEach(function (n) {
- assignKey(e, t, n)
- }),
- e
- )
- }
- var stdin_default$d = {
- name: '姓名',
- tel: '电话',
- save: '保存',
- confirm: '确认',
- cancel: '取消',
- delete: '删除',
- loading: '加载中...',
- noCoupon: '暂无优惠券',
- nameEmpty: '请填写姓名',
- addContact: '添加联系人',
- telInvalid: '请填写正确的电话',
- vanCalendar: {
- end: '结束',
- start: '开始',
- title: '日期选择',
- weekdays: ['日', '一', '二', '三', '四', '五', '六'],
- monthTitle: function (e, t) {
- return ''.concat(e, '年').concat(t, '月')
- },
- rangePrompt: function (e) {
- return '最多选择 '.concat(e, ' 天')
- }
- },
- vanCascader: { select: '请选择' },
- vanPagination: { prev: '上一页', next: '下一页' },
- vanPullRefresh: { pulling: '下拉即可刷新...', loosing: '释放即可刷新...' },
- vanSubmitBar: { label: '合计:' },
- vanCoupon: {
- unlimited: '无门槛',
- discount: function (e) {
- return ''.concat(e, '折')
- },
- condition: function (e) {
- return '满'.concat(e, '元可用')
- }
- },
- vanCouponCell: {
- title: '优惠券',
- count: function (e) {
- return ''.concat(e, '张可用')
- }
- },
- vanCouponList: {
- exchange: '兑换',
- close: '不使用',
- enable: '可用',
- disabled: '不可用',
- placeholder: '输入优惠码'
- },
- vanAddressEdit: {
- area: '地区',
- areaEmpty: '请选择地区',
- addressEmpty: '请填写详细地址',
- addressDetail: '详细地址',
- defaultAddress: '设为默认收货地址'
- },
- vanAddressList: { add: '新增地址' }
- },
- lang = ref('zh-CN'),
- _messages = reactive({ 'zh-CN': stdin_default$d }),
- Locale = {
- messages: function () {
- return _messages[lang.value]
- },
- use: function (e, t) {
- ;(lang.value = e), this.add(_defineProperty2({}, e, t))
- },
- add: function () {
- var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
- deepAssign(_messages, e)
- }
- },
- stdin_default$c = Locale
- function createTranslate(e) {
- var t = camelize(e) + '.'
- return function (e) {
- for (
- var n = stdin_default$c.messages(),
- r = get(n, t + e) || get(n, e),
- a = arguments.length,
- o = new Array(a > 1 ? a - 1 : 0),
- i = 1;
- i < a;
- i++
- )
- o[i - 1] = arguments[i]
- return isFunction(r) ? r.apply(void 0, o) : r
- }
- }
- function genBem(e, t) {
- return t
- ? 'string' == typeof t
- ? ' '.concat(e, '--').concat(t)
- : Array.isArray(t)
- ? t.reduce(function (t, n) {
- return t + genBem(e, n)
- }, '')
- : Object.keys(t).reduce(function (n, r) {
- return n + (t[r] ? genBem(e, r) : '')
- }, '')
- : ''
- }
- function createBEM(e) {
- return function (t, n) {
- return (
- t && 'string' != typeof t && ((n = t), (t = '')),
- (t = t ? ''.concat(e, '__').concat(t) : e),
- ''.concat(t).concat(genBem(t, n))
- )
- }
- }
- function createNamespace(e) {
- var t = 'van-'.concat(e)
- return [t, createBEM(t), createTranslate(t)]
- }
- var BORDER = exports('bh', 'van-hairline'),
- BORDER_TOP = exports('bg', ''.concat(BORDER, '--top')),
- BORDER_LEFT = ''.concat(BORDER, '--left'),
- BORDER_BOTTOM = exports('bG', ''.concat(BORDER, '--bottom')),
- BORDER_SURROUND = ''.concat(BORDER, '--surround'),
- BORDER_TOP_BOTTOM = exports('G', ''.concat(BORDER, '--top-bottom')),
- BORDER_UNSET_TOP_BOTTOM = exports('aX', ''.concat(BORDER, '-unset--top-bottom')),
- HAPTICS_FEEDBACK = exports('at', 'van-haptics-feedback'),
- FORM_KEY = exports('S', Symbol('van-form')),
- LONG_PRESS_START_TIME = exports('bk', 500)
- function callInterceptor(e, t) {
- var n = t.args,
- r = void 0 === n ? [] : n,
- a = t.done,
- o = t.canceled
- if (e) {
- var i = e.apply(null, r)
- isPromise(i)
- ? i
- .then(function (e) {
- e ? a() : o && o()
- })
- .catch(noop$1)
- : i
- ? a()
- : o && o()
- } else a()
- }
- function withInstall(e) {
- return (
- (e.install = function (t) {
- var n = e.name
- n && (t.component(n, e), t.component(camelize('-'.concat(n)), e))
- }),
- e
- )
- }
- var POPUP_TOGGLE_KEY = Symbol()
- function onPopupReopen(e) {
- var t = inject(POPUP_TOGGLE_KEY, null)
- t &&
- watch(t, function (t) {
- t && e()
- })
- }
- var useHeight = exports('aE', function (e, t) {
- var n = ref(),
- r = function () {
- n.value = useRect(e).height
- }
- return (
- onMounted(function () {
- if ((nextTick(r), t)) for (var e = 1; e <= 3; e++) setTimeout(r, 100 * e)
- }),
- onPopupReopen(function () {
- return nextTick(r)
- }),
- n
- )
- })
- function usePlaceholder(e, t) {
- var n = useHeight(e, !0)
- return function (e) {
- return createVNode(
- 'div',
- {
- class: t('placeholder'),
- style: { height: n.value ? ''.concat(n.value, 'px') : void 0 }
- },
- [e()]
- )
- }
- }
- var _createNamespace = createNamespace('action-bar'),
- _createNamespace2 = _slicedToArray(_createNamespace, 2),
- name$c = _createNamespace2[0],
- bem$c = _createNamespace2[1],
- ACTION_BAR_KEY = Symbol(name$c),
- actionBarProps = { placeholder: Boolean, safeAreaInsetBottom: truthProp },
- stdin_default$b = defineComponent({
- name: name$c,
- props: actionBarProps,
- setup: function (e, t) {
- var n = t.slots,
- r = ref(),
- a = usePlaceholder(r, bem$c)
- ;(0, useChildren(ACTION_BAR_KEY).linkChildren)()
- var o = function () {
- var t
- return createVNode(
- 'div',
- { ref: r, class: [bem$c(), { 'van-safe-area-bottom': e.safeAreaInsetBottom }] },
- [null == (t = n.default) ? void 0 : t.call(n)]
- )
- }
- return function () {
- return e.placeholder ? a(o) : o()
- }
- }
- }),
- ActionBar = withInstall(stdin_default$b)
- function useExpose(e) {
- var t = getCurrentInstance()
- t && extend$1(t.proxy, e)
- }
- var routeProps = exports('ae', { to: [String, Object], url: String, replace: Boolean })
- function route(e) {
- var t = e.to,
- n = e.url,
- r = e.replace,
- a = e.$router
- t && a
- ? a[r ? 'replace' : 'push'](t)
- : n && (r ? location.replace(n) : (location.href = n))
- }
- function useRoute$1() {
- var e = getCurrentInstance().proxy
- return function () {
- return route(e)
- }
- }
- var _createNamespace3 = createNamespace('badge'),
- _createNamespace4 = _slicedToArray(_createNamespace3, 2),
- name$b = _createNamespace4[0],
- bem$b = _createNamespace4[1],
- badgeProps = {
- dot: Boolean,
- max: numericProp,
- tag: makeStringProp('div'),
- color: String,
- offset: Array,
- content: numericProp,
- showZero: truthProp,
- position: makeStringProp('top-right')
- },
- stdin_default$a = defineComponent({
- name: name$b,
- props: badgeProps,
- setup: function (e, t) {
- var n = t.slots,
- r = function () {
- if (n.content) return !0
- var t = e.content,
- r = e.showZero
- return isDef(t) && '' !== t && (r || (0 !== t && '0' !== t))
- },
- a = function () {
- var t = e.dot,
- a = e.max,
- o = e.content
- if (!t && r())
- return n.content
- ? n.content()
- : isDef(a) && isNumeric(o) && +o > a
- ? ''.concat(a, '+')
- : o
- },
- o = computed(function () {
- var t = { background: e.color }
- if (e.offset) {
- var r = _slicedToArray(e.offset, 2),
- a = r[0],
- o = r[1]
- n.default
- ? ((t.top = addUnit(o)),
- (t.right =
- 'number' == typeof a
- ? addUnit(-a)
- : a.startsWith('-')
- ? a.replace('-', '')
- : '-'.concat(a)))
- : ((t.marginTop = addUnit(o)), (t.marginLeft = addUnit(a)))
- }
- return t
- }),
- i = function () {
- if (r() || e.dot)
- return createVNode(
- 'div',
- {
- class: bem$b([e.position, { dot: e.dot, fixed: !!n.default }]),
- style: o.value
- },
- [a()]
- )
- }
- return function () {
- if (n.default) {
- var t = e.tag
- return createVNode(
- t,
- { class: bem$b('wrapper') },
- {
- default: function () {
- return [n.default(), i()]
- }
- }
- )
- }
- return i()
- }
- }
- }),
- Badge = exports('aL', withInstall(stdin_default$a)),
- globalZIndex = 2e3,
- useGlobalZIndex = function () {
- return ++globalZIndex
- },
- setGlobalZIndex = function (e) {
- globalZIndex = e
- },
- _createNamespace5 = createNamespace('config-provider'),
- _createNamespace6 = _slicedToArray(_createNamespace5, 2),
- name$a = _createNamespace6[0],
- bem$a = _createNamespace6[1],
- CONFIG_PROVIDER_KEY = Symbol(name$a),
- configProviderProps = {
- tag: makeStringProp('div'),
- theme: makeStringProp('light'),
- zIndex: Number,
- themeVars: Object,
- themeVarsDark: Object,
- themeVarsLight: Object,
- iconPrefix: String
- }
- function mapThemeVarsToCSSVars(e) {
- var t = {}
- return (
- Object.keys(e).forEach(function (n) {
- t['--van-'.concat(kebabCase(n))] = e[n]
- }),
- t
- )
- }
- defineComponent({
- name: name$a,
- props: configProviderProps,
- setup: function (e, t) {
- var n = t.slots,
- r = computed(function () {
- return mapThemeVarsToCSSVars(
- extend$1(
- {},
- e.themeVars,
- 'dark' === e.theme ? e.themeVarsDark : e.themeVarsLight
- )
- )
- })
- if (inBrowser$1) {
- var a = function () {
- document.documentElement.classList.add('van-theme-'.concat(e.theme))
- },
- o = function () {
- var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : e.theme
- document.documentElement.classList.remove('van-theme-'.concat(t))
- }
- watch(
- function () {
- return e.theme
- },
- function (e, t) {
- t && o(t), a()
- },
- { immediate: !0 }
- ),
- onActivated(a),
- onDeactivated(o),
- onBeforeUnmount(o)
- }
- return (
- provide(CONFIG_PROVIDER_KEY, e),
- watchEffect(function () {
- void 0 !== e.zIndex && setGlobalZIndex(e.zIndex)
- }),
- function () {
- return createVNode(
- e.tag,
- { class: bem$a(), style: r.value },
- {
- default: function () {
- var e
- return [null == (e = n.default) ? void 0 : e.call(n)]
- }
- }
- )
- }
- )
- }
- })
- var _createNamespace7 = createNamespace('icon'),
- _createNamespace8 = _slicedToArray(_createNamespace7, 2),
- name$9 = _createNamespace8[0],
- bem$9 = _createNamespace8[1],
- isImage = function (e) {
- return null == e ? void 0 : e.includes('/')
- },
- iconProps = {
- dot: Boolean,
- tag: makeStringProp('i'),
- name: String,
- size: numericProp,
- badge: numericProp,
- color: String,
- badgeProps: Object,
- classPrefix: String
- },
- stdin_default$9 = defineComponent({
- name: name$9,
- props: iconProps,
- setup: function (e, t) {
- var n = t.slots,
- r = inject(CONFIG_PROVIDER_KEY, null),
- a = computed(function () {
- return e.classPrefix || (null == r ? void 0 : r.iconPrefix) || bem$9()
- })
- return function () {
- var t = e.tag,
- r = e.dot,
- o = e.name,
- i = e.size,
- s = e.badge,
- l = e.color,
- c = isImage(o)
- return createVNode(
- Badge,
- mergeProps(
- {
- dot: r,
- tag: t,
- class: [a.value, c ? '' : ''.concat(a.value, '-').concat(o)],
- style: { color: l, fontSize: addUnit(i) },
- content: s
- },
- e.badgeProps
- ),
- {
- default: function () {
- var e
- return [
- null == (e = n.default) ? void 0 : e.call(n),
- c && createVNode('img', { class: bem$9('image'), src: o }, null)
- ]
- }
- }
- )
- }
- }
- }),
- Icon = exports('a5', withInstall(stdin_default$9)),
- _createNamespace9 = createNamespace('loading'),
- _createNamespace10 = _slicedToArray(_createNamespace9, 2),
- name$8 = _createNamespace10[0],
- bem$8 = _createNamespace10[1],
- SpinIcon = Array(12)
- .fill(null)
- .map(function (e, t) {
- return createVNode('i', { class: bem$8('line', String(t + 1)) }, null)
- }),
- CircularIcon = createVNode(
- 'svg',
- { class: bem$8('circular'), viewBox: '25 25 50 50' },
- [createVNode('circle', { cx: '50', cy: '50', r: '20', fill: 'none' }, null)]
- ),
- loadingProps = {
- size: numericProp,
- type: makeStringProp('circular'),
- color: String,
- vertical: Boolean,
- textSize: numericProp,
- textColor: String
- },
- stdin_default$8 = defineComponent({
- name: name$8,
- props: loadingProps,
- setup: function (e, t) {
- var n = t.slots,
- r = computed(function () {
- return extend$1({ color: e.color }, getSizeStyle(e.size))
- }),
- a = function () {
- var t
- if (n.default)
- return createVNode(
- 'span',
- {
- class: bem$8('text'),
- style: {
- fontSize: addUnit(e.textSize),
- color: null != (t = e.textColor) ? t : e.color
- }
- },
- [n.default()]
- )
- }
- return function () {
- var t,
- o = e.type,
- i = e.vertical
- return createVNode(
- 'div',
- { class: bem$8([o, { vertical: i }]), 'aria-live': 'polite', 'aria-busy': !0 },
- [
- ((t = 'spinner' === e.type ? SpinIcon : CircularIcon),
- createVNode('span', { class: bem$8('spinner', e.type), style: r.value }, [
- n.icon ? n.icon() : t
- ])),
- a()
- ]
- )
- }
- }
- }),
- Loading = exports('L', withInstall(stdin_default$8)),
- _createNamespace11 = createNamespace('button'),
- _createNamespace12 = _slicedToArray(_createNamespace11, 2),
- name$7 = _createNamespace12[0],
- bem$7 = _createNamespace12[1],
- buttonProps = extend$1({}, routeProps, {
- tag: makeStringProp('button'),
- text: String,
- icon: String,
- type: makeStringProp('default'),
- size: makeStringProp('normal'),
- color: String,
- block: Boolean,
- plain: Boolean,
- round: Boolean,
- square: Boolean,
- loading: Boolean,
- hairline: Boolean,
- disabled: Boolean,
- iconPrefix: String,
- nativeType: makeStringProp('button'),
- loadingSize: numericProp,
- loadingText: String,
- loadingType: String,
- iconPosition: makeStringProp('left')
- }),
- stdin_default$7 = defineComponent({
- name: name$7,
- props: buttonProps,
- emits: ['click'],
- setup: function (e, t) {
- var n = t.emit,
- r = t.slots,
- a = useRoute$1(),
- o = function () {
- return e.loading
- ? r.loading
- ? r.loading()
- : createVNode(
- Loading,
- { size: e.loadingSize, type: e.loadingType, class: bem$7('loading') },
- null
- )
- : r.icon
- ? createVNode('div', { class: bem$7('icon') }, [r.icon()])
- : e.icon
- ? createVNode(
- Icon,
- { name: e.icon, class: bem$7('icon'), classPrefix: e.iconPrefix },
- null
- )
- : void 0
- },
- i = function () {
- var t
- if ((t = e.loading ? e.loadingText : r.default ? r.default() : e.text))
- return createVNode('span', { class: bem$7('text') }, [t])
- },
- s = function () {
- var t = e.color,
- n = e.plain
- if (t) {
- var r = { color: n ? t : 'white' }
- return (
- n || (r.background = t),
- t.includes('gradient') ? (r.border = 0) : (r.borderColor = t),
- r
- )
- }
- },
- l = function (t) {
- e.loading ? preventDefault(t) : e.disabled || (n('click', t), a())
- }
- return function () {
- var t = e.tag,
- n = e.type,
- r = e.size,
- a = e.block,
- c = e.round,
- u = e.plain,
- p = e.square,
- d = e.loading,
- f = e.disabled,
- h = e.hairline,
- v = e.nativeType,
- m = e.iconPosition,
- g = [
- bem$7([
- n,
- r,
- {
- plain: u,
- block: a,
- round: c,
- square: p,
- loading: d,
- disabled: f,
- hairline: h
- }
- ]),
- _defineProperty2({}, BORDER_SURROUND, h)
- ]
- return createVNode(
- t,
- { type: v, class: g, style: s(), disabled: f, onClick: l },
- {
- default: function () {
- return [
- createVNode('div', { class: bem$7('content') }, [
- 'left' === m && o(),
- i(),
- 'right' === m && o()
- ])
- ]
- }
- }
- )
- }
- }
- }),
- Button = exports('B', withInstall(stdin_default$7)),
- _createNamespace13 = createNamespace('action-bar-button'),
- _createNamespace14 = _slicedToArray(_createNamespace13, 2),
- name$6 = _createNamespace14[0],
- bem$6 = _createNamespace14[1],
- actionBarButtonProps = extend$1({}, routeProps, {
- type: String,
- text: String,
- icon: String,
- color: String,
- loading: Boolean,
- disabled: Boolean
- }),
- stdin_default$6 = defineComponent({
- name: name$6,
- props: actionBarButtonProps,
- setup: function (e, t) {
- var n = t.slots,
- r = useRoute$1(),
- a = useParent(ACTION_BAR_KEY),
- o = a.parent,
- i = a.index,
- s = computed(function () {
- if (o) {
- var e = o.children[i.value - 1]
- return !(e && 'isButton' in e)
- }
- }),
- l = computed(function () {
- if (o) {
- var e = o.children[i.value + 1]
- return !(e && 'isButton' in e)
- }
- })
- return (
- useExpose({ isButton: !0 }),
- function () {
- var t = e.type,
- a = e.icon,
- o = e.text,
- i = e.color,
- c = e.loading,
- u = e.disabled
- return createVNode(
- Button,
- {
- class: bem$6([t, { last: l.value, first: s.value }]),
- size: 'large',
- type: t,
- icon: a,
- color: i,
- loading: c,
- disabled: u,
- onClick: r
- },
- {
- default: function () {
- return [n.default ? n.default() : o]
- }
- }
- )
- }
- )
- }
- }),
- ActionBarButton = withInstall(stdin_default$6),
- popupSharedProps = exports('b0', {
- show: Boolean,
- zIndex: numericProp,
- overlay: truthProp,
- duration: numericProp,
- teleport: [String, Object],
- lockScroll: truthProp,
- lazyRender: truthProp,
- beforeClose: Function,
- overlayStyle: Object,
- overlayClass: unknownProp,
- transitionAppear: Boolean,
- closeOnClickOverlay: truthProp
- }),
- popupSharedPropKeys = exports('b1', Object.keys(popupSharedProps))
- function getDirection(e, t) {
- return e > t ? 'horizontal' : t > e ? 'vertical' : ''
- }
- function useTouch() {
- var e = ref(0),
- t = ref(0),
- n = ref(0),
- r = ref(0),
- a = ref(0),
- o = ref(0),
- i = ref(''),
- s = function () {
- ;(n.value = 0), (r.value = 0), (a.value = 0), (o.value = 0), (i.value = '')
- }
- return {
- move: function (s) {
- var l = s.touches[0]
- ;(n.value = (l.clientX < 0 ? 0 : l.clientX) - e.value),
- (r.value = l.clientY - t.value),
- (a.value = Math.abs(n.value)),
- (o.value = Math.abs(r.value))
- ;(!i.value || (a.value < 10 && o.value < 10)) &&
- (i.value = getDirection(a.value, o.value))
- },
- start: function (n) {
- s(), (e.value = n.touches[0].clientX), (t.value = n.touches[0].clientY)
- },
- reset: s,
- startX: e,
- startY: t,
- deltaX: n,
- deltaY: r,
- offsetX: a,
- offsetY: o,
- direction: i,
- isVertical: function () {
- return 'vertical' === i.value
- },
- isHorizontal: function () {
- return 'horizontal' === i.value
- }
- }
- }
- var totalLockCount = 0,
- BODY_LOCK_CLASS = 'van-overflow-hidden'
- function useLockScroll(e, t) {
- var n = useTouch(),
- r = function (t) {
- n.move(t)
- var r = n.deltaY.value > 0 ? '10' : '01',
- a = getScrollParent(t.target, e.value),
- o = a.scrollHeight,
- i = a.offsetHeight,
- s = a.scrollTop,
- l = '11'
- 0 === s ? (l = i >= o ? '00' : '01') : s + i >= o && (l = '10'),
- '11' === l ||
- !n.isVertical() ||
- parseInt(l, 2) & parseInt(r, 2) ||
- preventDefault(t, !0)
- },
- a = function () {
- document.addEventListener('touchstart', n.start),
- document.addEventListener('touchmove', r, { passive: !1 }),
- totalLockCount || document.body.classList.add(BODY_LOCK_CLASS),
- totalLockCount++
- },
- o = function () {
- totalLockCount &&
- (document.removeEventListener('touchstart', n.start),
- document.removeEventListener('touchmove', r),
- --totalLockCount || document.body.classList.remove(BODY_LOCK_CLASS))
- },
- i = function () {
- return t() && o()
- }
- onMountedOrActivated(function () {
- return t() && a()
- }),
- onDeactivated(i),
- onBeforeUnmount(i),
- watch(t, function (e) {
- e ? a() : o()
- })
- }
- function useLazyRender(e) {
- var t = ref(!1)
- return (
- watch(
- e,
- function (e) {
- e && (t.value = e)
- },
- { immediate: !0 }
- ),
- function (e) {
- return function () {
- return t.value ? e() : null
- }
- }
- )
- }
- var _createNamespace15 = createNamespace('overlay'),
- _createNamespace16 = _slicedToArray(_createNamespace15, 2),
- name$5 = _createNamespace16[0],
- bem$5 = _createNamespace16[1],
- overlayProps = {
- show: Boolean,
- zIndex: numericProp,
- duration: numericProp,
- className: unknownProp,
- lockScroll: truthProp,
- lazyRender: truthProp,
- customStyle: Object
- },
- stdin_default$5 = defineComponent({
- name: name$5,
- props: overlayProps,
- setup: function (e, t) {
- var n = t.slots,
- r = ref(),
- a = useLazyRender(function () {
- return e.show || !e.lazyRender
- })(function () {
- var t,
- a = extend$1(getZIndexStyle(e.zIndex), e.customStyle)
- return (
- isDef(e.duration) && (a.animationDuration = ''.concat(e.duration, 's')),
- withDirectives(
- createVNode('div', { ref: r, style: a, class: [bem$5(), e.className] }, [
- null == (t = n.default) ? void 0 : t.call(n)
- ]),
- [[vShow, e.show]]
- )
- )
- })
- return (
- useEventListener(
- 'touchmove',
- function (t) {
- e.lockScroll && preventDefault(t, !0)
- },
- { target: r }
- ),
- function () {
- return createVNode(Transition, { name: 'van-fade', appear: !0 }, { default: a })
- }
- )
- }
- }),
- Overlay = withInstall(stdin_default$5),
- popupProps = extend$1({}, popupSharedProps, {
- round: Boolean,
- position: makeStringProp('center'),
- closeIcon: makeStringProp('cross'),
- closeable: Boolean,
- transition: String,
- iconPrefix: String,
- closeOnPopstate: Boolean,
- closeIconPosition: makeStringProp('top-right'),
- safeAreaInsetTop: Boolean,
- safeAreaInsetBottom: Boolean
- }),
- _createNamespace17 = createNamespace('popup'),
- _createNamespace18 = _slicedToArray(_createNamespace17, 2),
- name$4 = _createNamespace18[0],
- bem$4 = _createNamespace18[1],
- stdin_default$4 = defineComponent({
- name: name$4,
- inheritAttrs: !1,
- props: popupProps,
- emits: [
- 'open',
- 'close',
- 'opened',
- 'closed',
- 'keydown',
- 'update:show',
- 'clickOverlay',
- 'clickCloseIcon'
- ],
- setup: function (e, t) {
- var n,
- r,
- a = t.emit,
- o = t.attrs,
- i = t.slots,
- s = ref(),
- l = ref(),
- c = useLazyRender(function () {
- return e.show || !e.lazyRender
- }),
- u = computed(function () {
- var t = { zIndex: s.value }
- isDef(e.duration) &&
- (t['center' === e.position ? 'animationDuration' : 'transitionDuration'] =
- ''.concat(e.duration, 's'))
- return t
- }),
- p = function () {
- n ||
- ((n = !0),
- (s.value = void 0 !== e.zIndex ? +e.zIndex : useGlobalZIndex()),
- a('open'))
- },
- d = function () {
- n &&
- callInterceptor(e.beforeClose, {
- done: function () {
- ;(n = !1), a('close'), a('update:show', !1)
- }
- })
- },
- f = function (t) {
- a('clickOverlay', t), e.closeOnClickOverlay && d()
- },
- h = function () {
- if (e.overlay)
- return createVNode(
- Overlay,
- {
- show: e.show,
- class: e.overlayClass,
- zIndex: s.value,
- duration: e.duration,
- customStyle: e.overlayStyle,
- role: e.closeOnClickOverlay ? 'button' : void 0,
- tabindex: e.closeOnClickOverlay ? 0 : void 0,
- onClick: f
- },
- { default: i['overlay-content'] }
- )
- },
- v = function (e) {
- a('clickCloseIcon', e), d()
- },
- m = function () {
- if (e.closeable)
- return createVNode(
- Icon,
- {
- role: 'button',
- tabindex: 0,
- name: e.closeIcon,
- class: [bem$4('close-icon', e.closeIconPosition), HAPTICS_FEEDBACK],
- classPrefix: e.iconPrefix,
- onClick: v
- },
- null
- )
- },
- g = function () {
- return a('opened')
- },
- y = function () {
- return a('closed')
- },
- b = function (e) {
- return a('keydown', e)
- },
- _ = c(function () {
- var t,
- n = e.round,
- r = e.position,
- a = e.safeAreaInsetTop,
- s = e.safeAreaInsetBottom
- return withDirectives(
- createVNode(
- 'div',
- mergeProps(
- {
- ref: l,
- style: u.value,
- role: 'dialog',
- tabindex: 0,
- class: [
- bem$4(_defineProperty2({ round: n }, r, r)),
- { 'van-safe-area-top': a, 'van-safe-area-bottom': s }
- ],
- onKeydown: b
- },
- o
- ),
- [null == (t = i.default) ? void 0 : t.call(i), m()]
- ),
- [[vShow, e.show]]
- )
- }),
- A = function () {
- var t = e.position,
- n = e.transition,
- r = e.transitionAppear,
- a = 'center' === t ? 'van-fade' : 'van-popup-slide-'.concat(t)
- return createVNode(
- Transition,
- { name: n || a, appear: r, onAfterEnter: g, onAfterLeave: y },
- { default: _ }
- )
- }
- return (
- watch(
- function () {
- return e.show
- },
- function (e) {
- e &&
- !n &&
- (p(),
- 0 === o.tabindex &&
- nextTick(function () {
- var e
- null == (e = l.value) || e.focus()
- })),
- !e && n && ((n = !1), a('close'))
- }
- ),
- useExpose({ popupRef: l }),
- useLockScroll(l, function () {
- return e.show && e.lockScroll
- }),
- useEventListener('popstate', function () {
- e.closeOnPopstate && (d(), (r = !1))
- }),
- onMounted(function () {
- e.show && p()
- }),
- onActivated(function () {
- r && (a('update:show', !0), (r = !1))
- }),
- onDeactivated(function () {
- e.show && e.teleport && (d(), (r = !0))
- }),
- provide(POPUP_TOGGLE_KEY, function () {
- return e.show
- }),
- function () {
- return e.teleport
- ? createVNode(
- Teleport,
- { to: e.teleport },
- {
- default: function () {
- return [h(), A()]
- }
- }
- )
- : createVNode(Fragment, null, [h(), A()])
- }
- )
- }
- }),
- Popup = exports('P', withInstall(stdin_default$4)),
- current = 0
- function useId() {
- var e = getCurrentInstance(),
- t = ((null == e ? void 0 : e.type) || {}).name
- return ''.concat(void 0 === t ? 'unknown' : t, '-').concat(++current)
- }
- var lockCount = 0
- function lockClick(e) {
- e
- ? (lockCount || document.body.classList.add('van-toast--unclickable'), lockCount++)
- : lockCount &&
- (--lockCount || document.body.classList.remove('van-toast--unclickable'))
- }
- var _createNamespace19 = createNamespace('toast'),
- _createNamespace20 = _slicedToArray(_createNamespace19, 2),
- name$3 = _createNamespace20[0],
- bem$3 = _createNamespace20[1],
- popupInheritProps = [
- 'show',
- 'overlay',
- 'teleport',
- 'transition',
- 'overlayClass',
- 'overlayStyle',
- 'closeOnClickOverlay'
- ],
- toastProps = {
- icon: String,
- show: Boolean,
- type: makeStringProp('text'),
- overlay: Boolean,
- message: numericProp,
- iconSize: numericProp,
- duration: makeNumberProp(2e3),
- position: makeStringProp('middle'),
- teleport: [String, Object],
- wordBreak: String,
- className: unknownProp,
- iconPrefix: String,
- transition: makeStringProp('van-fade'),
- loadingType: String,
- forbidClick: Boolean,
- overlayClass: unknownProp,
- overlayStyle: Object,
- closeOnClick: Boolean,
- closeOnClickOverlay: Boolean
- },
- stdin_default$3 = defineComponent({
- name: name$3,
- props: toastProps,
- emits: ['update:show'],
- setup: function (e, t) {
- var n,
- r = t.emit,
- a = t.slots,
- o = !1,
- i = function () {
- var t = e.show && e.forbidClick
- o !== t && lockClick((o = t))
- },
- s = function (e) {
- return r('update:show', e)
- },
- l = function () {
- e.closeOnClick && s(!1)
- },
- c = function () {
- return clearTimeout(n)
- },
- u = function () {
- var t = e.type,
- n = e.message
- return a.message
- ? createVNode('div', { class: bem$3('text') }, [a.message()])
- : isDef(n) && '' !== n
- ? 'html' === t
- ? createVNode(
- 'div',
- { key: 0, class: bem$3('text'), innerHTML: String(n) },
- null
- )
- : createVNode('div', { class: bem$3('text') }, [n])
- : void 0
- }
- return (
- watch(function () {
- return [e.show, e.forbidClick]
- }, i),
- watch(
- function () {
- return [e.show, e.type, e.message, e.duration]
- },
- function () {
- c(),
- e.show &&
- e.duration > 0 &&
- (n = setTimeout(function () {
- s(!1)
- }, e.duration))
- }
- ),
- onMounted(i),
- onUnmounted(i),
- function () {
- return createVNode(
- Popup,
- mergeProps(
- {
- class: [
- bem$3([
- e.position,
- 'normal' === e.wordBreak ? 'break-normal' : e.wordBreak,
- _defineProperty2({}, e.type, !e.icon)
- ]),
- e.className
- ],
- lockScroll: !1,
- onClick: l,
- onClosed: c,
- 'onUpdate:show': s
- },
- pick(e, popupInheritProps)
- ),
- {
- default: function () {
- return [
- ((t = e.icon),
- (n = e.type),
- (r = e.iconSize),
- (a = e.iconPrefix),
- (o = e.loadingType),
- t || 'success' === n || 'fail' === n
- ? createVNode(
- Icon,
- { name: t || n, size: r, class: bem$3('icon'), classPrefix: a },
- null
- )
- : 'loading' === n
- ? createVNode(
- Loading,
- { class: bem$3('loading'), size: r, type: o },
- null
- )
- : void 0),
- u()
- ]
- var t, n, r, a, o
- }
- }
- )
- }
- )
- }
- })
- function usePopupState() {
- var e = reactive({ show: !1 }),
- t = function (t) {
- e.show = t
- },
- n = function (n) {
- extend$1(e, n, { transitionAppear: !0 }), t(!0)
- },
- r = function () {
- return t(!1)
- }
- return (
- useExpose({ open: n, close: r, toggle: t }),
- { open: n, close: r, state: e, toggle: t }
- )
- }
- function mountComponent(e) {
- var t = createApp(e),
- n = document.createElement('div')
- return (
- document.body.appendChild(n),
- {
- instance: t.mount(n),
- unmount: function () {
- t.unmount(), document.body.removeChild(n)
- }
- }
- )
- }
- var defaultOptions = {
- icon: '',
- type: 'text',
- message: '',
- className: '',
- overlay: !1,
- onClose: void 0,
- onOpened: void 0,
- duration: 2e3,
- teleport: 'body',
- iconSize: void 0,
- iconPrefix: void 0,
- position: 'middle',
- transition: 'van-fade',
- forbidClick: !1,
- loadingType: void 0,
- overlayClass: '',
- overlayStyle: void 0,
- closeOnClick: !1,
- closeOnClickOverlay: !1
- },
- queue = [],
- allowMultiple = !1,
- currentOptions$1 = extend$1({}, defaultOptions),
- defaultOptionsMap = new Map()
- function parseOptions(e) {
- return isObject$1(e) ? e : { message: e }
- }
- function createInstance() {
- var e = mountComponent({
- setup: function () {
- var e = ref(''),
- t = usePopupState(),
- n = t.open,
- r = t.state,
- a = t.close,
- o = t.toggle,
- i = function () {}
- return (
- watch(e, function (e) {
- r.message = e
- }),
- (getCurrentInstance().render = function () {
- return createVNode(
- stdin_default$3,
- mergeProps(r, { onClosed: i, 'onUpdate:show': o }),
- null
- )
- }),
- { open: n, close: a, message: e }
- )
- }
- }),
- t = e.instance
- e.unmount
- return t
- }
- function getInstance() {
- if (!queue.length || allowMultiple) {
- var e = createInstance()
- queue.push(e)
- }
- return queue[queue.length - 1]
- }
- function showToast() {
- var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
- if (!inBrowser$1) return {}
- var t = getInstance(),
- n = parseOptions(e)
- return (
- t.open(
- extend$1(
- {},
- currentOptions$1,
- defaultOptionsMap.get(n.type || currentOptions$1.type),
- n
- )
- ),
- t
- )
- }
- var createMethod = function (e) {
- return function (t) {
- return showToast(extend$1({ type: e }, parseOptions(t)))
- }
- },
- showLoadingToast = exports('bp', createMethod('loading')),
- showSuccessToast = exports('bC', createMethod('success')),
- showFailToast = exports('bD', createMethod('fail')),
- closeToast = exports('be', function (e) {
- queue.length &&
- (e
- ? (queue.forEach(function (e) {
- e.close()
- }),
- (queue = []))
- : queue[0].close())
- }),
- Toast = exports('T', withInstall(stdin_default$3)),
- _createNamespace21 = createNamespace('empty'),
- _createNamespace22 = _slicedToArray(_createNamespace21, 2),
- name$2 = _createNamespace22[0],
- bem$2 = _createNamespace22[1],
- emptyProps = {
- image: makeStringProp('default'),
- imageSize: [Number, String, Array],
- description: String
- },
- stdin_default$2 = defineComponent({
- name: name$2,
- props: emptyProps,
- setup: function (e, t) {
- var n = t.slots,
- r = function () {
- var t = n.description ? n.description() : e.description
- if (t) return createVNode('p', { class: bem$2('description') }, [t])
- },
- a = function () {
- if (n.default)
- return createVNode('div', { class: bem$2('bottom') }, [n.default()])
- },
- o = useId(),
- i = function (e) {
- return ''.concat(o, '-').concat(e)
- },
- s = function (e) {
- return 'url(#'.concat(i(e), ')')
- },
- l = function (e, t, n) {
- return createVNode(
- 'stop',
- { 'stop-color': e, offset: ''.concat(t, '%'), 'stop-opacity': n },
- null
- )
- },
- c = function (e, t) {
- return [l(e, 0), l(t, 100)]
- },
- u = function (e) {
- return [
- createVNode('defs', null, [
- createVNode(
- 'radialGradient',
- {
- id: i(e),
- cx: '50%',
- cy: '54%',
- fx: '50%',
- fy: '54%',
- r: '297%',
- gradientTransform: 'matrix(-.16 0 0 -.33 .58 .72)'
- },
- [l('#EBEDF0', 0), l('#F2F3F5', 100, 0.3)]
- )
- ]),
- createVNode(
- 'ellipse',
- { fill: s(e), opacity: '.8', cx: '80', cy: '140', rx: '46', ry: '8' },
- null
- )
- ]
- },
- p = function () {
- return [
- createVNode('defs', null, [
- createVNode(
- 'linearGradient',
- { id: i('a'), x1: '64%', y1: '100%', x2: '64%' },
- [l('#FFF', 0, 0.5), l('#F2F3F5', 100)]
- )
- ]),
- createVNode('g', { opacity: '.8' }, [
- createVNode('path', { d: 'M36 131V53H16v20H2v58h34z', fill: s('a') }, null),
- createVNode('path', { d: 'M123 15h22v14h9v77h-31V15z', fill: s('a') }, null)
- ])
- ]
- },
- d = function () {
- return [
- createVNode('defs', null, [
- createVNode(
- 'linearGradient',
- { id: i('b'), x1: '64%', y1: '97%', x2: '64%', y2: '0%' },
- [l('#F2F3F5', 0, 0.3), l('#F2F3F5', 100)]
- )
- ]),
- createVNode('g', { opacity: '.8' }, [
- createVNode(
- 'path',
- {
- d: 'M87 6c3 0 7 3 8 6a8 8 0 1 1-1 16H80a7 7 0 0 1-8-6c0-4 3-7 6-7 0-5 4-9 9-9Z',
- fill: s('b')
- },
- null
- ),
- createVNode(
- 'path',
- {
- d: 'M19 23c2 0 3 1 4 3 2 0 4 2 4 4a4 4 0 0 1-4 3v1h-7v-1l-1 1c-2 0-3-2-3-4 0-1 1-3 3-3 0-2 2-4 4-4Z',
- fill: s('b')
- },
- null
- )
- ])
- ]
- },
- f = function () {
- return createVNode('svg', { viewBox: '0 0 160 160' }, [
- createVNode('defs', null, [
- createVNode(
- 'linearGradient',
- { id: i(1), x1: '64%', y1: '100%', x2: '64%' },
- [l('#FFF', 0, 0.5), l('#F2F3F5', 100)]
- ),
- createVNode(
- 'linearGradient',
- { id: i(2), x1: '50%', x2: '50%', y2: '84%' },
- [l('#EBEDF0', 0), l('#DCDEE0', 100, 0)]
- ),
- createVNode(
- 'linearGradient',
- { id: i(3), x1: '100%', x2: '100%', y2: '100%' },
- [c('#EAEDF0', '#DCDEE0')]
- ),
- createVNode(
- 'radialGradient',
- {
- id: i(4),
- cx: '50%',
- cy: '0%',
- fx: '50%',
- fy: '0%',
- r: '100%',
- gradientTransform: 'matrix(0 1 -.54 0 .5 -.5)'
- },
- [l('#EBEDF0', 0), l('#FFF', 100, 0)]
- )
- ]),
- createVNode('g', { fill: 'none' }, [
- p(),
- createVNode('path', { fill: s(4), d: 'M0 139h160v21H0z' }, null),
- createVNode(
- 'path',
- {
- d: 'M80 54a7 7 0 0 1 3 13v27l-2 2h-2a2 2 0 0 1-2-2V67a7 7 0 0 1 3-13z',
- fill: s(2)
- },
- null
- ),
- createVNode(
- 'g',
- { opacity: '.6', 'stroke-linecap': 'round', 'stroke-width': '7' },
- [
- createVNode(
- 'path',
- { d: 'M64 47a19 19 0 0 0-5 13c0 5 2 10 5 13', stroke: s(3) },
- null
- ),
- createVNode(
- 'path',
- { d: 'M53 36a34 34 0 0 0 0 48', stroke: s(3) },
- null
- ),
- createVNode(
- 'path',
- { d: 'M95 73a19 19 0 0 0 6-13c0-5-2-9-6-13', stroke: s(3) },
- null
- ),
- createVNode(
- 'path',
- { d: 'M106 84a34 34 0 0 0 0-48', stroke: s(3) },
- null
- )
- ]
- ),
- createVNode('g', { transform: 'translate(31 105)' }, [
- createVNode(
- 'rect',
- { fill: '#EBEDF0', width: '98', height: '34', rx: '2' },
- null
- ),
- createVNode(
- 'rect',
- { fill: '#FFF', x: '9', y: '8', width: '80', height: '18', rx: '1.1' },
- null
- ),
- createVNode(
- 'rect',
- {
- fill: '#EBEDF0',
- x: '15',
- y: '12',
- width: '18',
- height: '6',
- rx: '1.1'
- },
- null
- )
- ])
- ])
- ])
- },
- h = function () {
- return createVNode('svg', { viewBox: '0 0 160 160' }, [
- createVNode('defs', null, [
- createVNode(
- 'linearGradient',
- { x1: '50%', x2: '50%', y2: '100%', id: i(5) },
- [c('#F2F3F5', '#DCDEE0')]
- ),
- createVNode(
- 'linearGradient',
- { x1: '95%', y1: '48%', x2: '5.5%', y2: '51%', id: i(6) },
- [c('#EAEDF1', '#DCDEE0')]
- ),
- createVNode(
- 'linearGradient',
- { y1: '45%', x2: '100%', y2: '54%', id: i(7) },
- [c('#EAEDF1', '#DCDEE0')]
- )
- ]),
- p(),
- d(),
- createVNode('g', { transform: 'translate(36 50)', fill: 'none' }, [
- createVNode('g', { transform: 'translate(8)' }, [
- createVNode(
- 'rect',
- {
- fill: '#EBEDF0',
- opacity: '.6',
- x: '38',
- y: '13',
- width: '36',
- height: '53',
- rx: '2'
- },
- null
- ),
- createVNode(
- 'rect',
- { fill: s(5), width: '64', height: '66', rx: '2' },
- null
- ),
- createVNode(
- 'rect',
- { fill: '#FFF', x: '6', y: '6', width: '52', height: '55', rx: '1' },
- null
- ),
- createVNode('g', { transform: 'translate(15 17)', fill: s(6) }, [
- createVNode('rect', { width: '34', height: '6', rx: '1' }, null),
- createVNode('path', { d: 'M0 14h34v6H0z' }, null),
- createVNode(
- 'rect',
- { y: '28', width: '34', height: '6', rx: '1' },
- null
- )
- ])
- ]),
- createVNode(
- 'rect',
- { fill: s(7), y: '61', width: '88', height: '28', rx: '1' },
- null
- ),
- createVNode(
- 'rect',
- { fill: '#F7F8FA', x: '29', y: '72', width: '30', height: '6', rx: '1' },
- null
- )
- ])
- ])
- },
- v = function () {
- return createVNode('svg', { viewBox: '0 0 160 160' }, [
- createVNode('defs', null, [
- createVNode(
- 'linearGradient',
- { x1: '50%', x2: '50%', y2: '100%', id: i(8) },
- [c('#EAEDF1', '#DCDEE0')]
- )
- ]),
- p(),
- d(),
- u('c'),
- createVNode(
- 'path',
- {
- d: 'm59 60 21 21 21-21h3l9 9v3L92 93l21 21v3l-9 9h-3l-21-21-21 21h-3l-9-9v-3l21-21-21-21v-3l9-9h3Z',
- fill: s(8)
- },
- null
- )
- ])
- },
- m = function () {
- return createVNode('svg', { viewBox: '0 0 160 160' }, [
- createVNode('defs', null, [
- createVNode(
- 'linearGradient',
- { x1: '50%', y1: '100%', x2: '50%', id: i(9) },
- [c('#EEE', '#D8D8D8')]
- ),
- createVNode(
- 'linearGradient',
- { x1: '100%', y1: '50%', y2: '50%', id: i(10) },
- [c('#F2F3F5', '#DCDEE0')]
- ),
- createVNode(
- 'linearGradient',
- { x1: '50%', x2: '50%', y2: '100%', id: i(11) },
- [c('#F2F3F5', '#DCDEE0')]
- ),
- createVNode(
- 'linearGradient',
- { x1: '50%', x2: '50%', y2: '100%', id: i(12) },
- [c('#FFF', '#F7F8FA')]
- )
- ]),
- p(),
- d(),
- u('d'),
- createVNode('g', { transform: 'rotate(-45 113 -4)', fill: 'none' }, [
- createVNode(
- 'rect',
- { fill: s(9), x: '24', y: '52.8', width: '5.8', height: '19', rx: '1' },
- null
- ),
- createVNode(
- 'rect',
- {
- fill: s(10),
- x: '22.1',
- y: '67.3',
- width: '9.9',
- height: '28',
- rx: '1'
- },
- null
- ),
- createVNode(
- 'circle',
- { stroke: s(11), 'stroke-width': '8', cx: '27', cy: '27', r: '27' },
- null
- ),
- createVNode('circle', { fill: s(12), cx: '27', cy: '27', r: '16' }, null),
- createVNode(
- 'path',
- {
- d: 'M37 7c-8 0-15 5-16 12',
- stroke: s(11),
- 'stroke-width': '3',
- opacity: '.5',
- 'stroke-linecap': 'round',
- transform: 'rotate(45 29 13)'
- },
- null
- )
- ])
- ])
- },
- g = function () {
- var t
- if (n.image) return n.image()
- var r = { error: v, search: m, network: f, default: h }
- return (
- (null == (t = r[e.image]) ? void 0 : t.call(r)) ||
- createVNode('img', { src: e.image }, null)
- )
- }
- return function () {
- return createVNode('div', { class: bem$2() }, [
- createVNode(
- 'div',
- { class: bem$2('image'), style: getSizeStyle(e.imageSize) },
- [g()]
- ),
- r(),
- a()
- ])
- }
- }
- }),
- Empty = withInstall(stdin_default$2),
- _createNamespace23 = createNamespace('dialog'),
- _createNamespace24 = _slicedToArray(_createNamespace23, 3),
- name$1 = _createNamespace24[0],
- bem$1 = _createNamespace24[1],
- t = _createNamespace24[2],
- dialogProps = extend$1({}, popupSharedProps, {
- title: String,
- theme: String,
- width: numericProp,
- message: [String, Function],
- callback: Function,
- allowHtml: Boolean,
- className: unknownProp,
- transition: makeStringProp('van-dialog-bounce'),
- messageAlign: String,
- closeOnPopstate: truthProp,
- showCancelButton: Boolean,
- cancelButtonText: String,
- cancelButtonColor: String,
- cancelButtonDisabled: Boolean,
- confirmButtonText: String,
- confirmButtonColor: String,
- confirmButtonDisabled: Boolean,
- showConfirmButton: truthProp,
- closeOnClickOverlay: Boolean
- }),
- popupInheritKeys = [].concat(_toConsumableArray2(popupSharedPropKeys), [
- 'transition',
- 'closeOnPopstate'
- ]),
- stdin_default$1 = defineComponent({
- name: name$1,
- props: dialogProps,
- emits: ['confirm', 'cancel', 'keydown', 'update:show'],
- setup: function (e, n) {
- var r = n.emit,
- a = n.slots,
- o = ref(),
- i = reactive({ confirm: !1, cancel: !1 }),
- s = function (e) {
- return r('update:show', e)
- },
- l = function (t) {
- var n
- s(!1), null == (n = e.callback) || n.call(e, t)
- },
- c = function (t) {
- return function () {
- e.show &&
- (r(t),
- e.beforeClose
- ? ((i[t] = !0),
- callInterceptor(e.beforeClose, {
- args: [t],
- done: function () {
- l(t), (i[t] = !1)
- },
- canceled: function () {
- i[t] = !1
- }
- }))
- : l(t))
- }
- },
- u = c('cancel'),
- p = c('confirm'),
- d = withKeys(
- function (t) {
- var n, a
- t.target ===
- (null == (a = null == (n = o.value) ? void 0 : n.popupRef)
- ? void 0
- : a.value) &&
- ({
- Enter: e.showConfirmButton ? p : noop$1,
- Escape: e.showCancelButton ? u : noop$1
- }[t.key](),
- r('keydown', t))
- },
- ['enter', 'esc']
- ),
- f = function () {
- var t = a.title ? a.title() : e.title
- if (t)
- return createVNode(
- 'div',
- { class: bem$1('header', { isolated: !e.message && !a.default }) },
- [t]
- )
- },
- h = function (t) {
- var n = e.message,
- r = e.allowHtml,
- a = e.messageAlign,
- o = bem$1('message', _defineProperty2({ 'has-title': t }, a, a)),
- i = isFunction(n) ? n() : n
- return r && 'string' == typeof i
- ? createVNode('div', { class: o, innerHTML: i }, null)
- : createVNode('div', { class: o }, [i])
- },
- v = function () {
- if (a.default)
- return createVNode('div', { class: bem$1('content') }, [a.default()])
- var t = e.title,
- n = e.message,
- r = e.allowHtml
- if (n) {
- var o = !(!t && !a.title)
- return createVNode(
- 'div',
- { key: r ? 1 : 0, class: bem$1('content', { isolated: !o }) },
- [h(o)]
- )
- }
- },
- m = function () {
- return a.footer
- ? a.footer()
- : 'round-button' === e.theme
- ? createVNode(
- ActionBar,
- { class: bem$1('footer') },
- {
- default: function () {
- return [
- e.showCancelButton &&
- createVNode(
- ActionBarButton,
- {
- type: 'warning',
- text: e.cancelButtonText || t('cancel'),
- class: bem$1('cancel'),
- color: e.cancelButtonColor,
- loading: i.cancel,
- disabled: e.cancelButtonDisabled,
- onClick: u
- },
- null
- ),
- e.showConfirmButton &&
- createVNode(
- ActionBarButton,
- {
- type: 'danger',
- text: e.confirmButtonText || t('confirm'),
- class: bem$1('confirm'),
- color: e.confirmButtonColor,
- loading: i.confirm,
- disabled: e.confirmButtonDisabled,
- onClick: p
- },
- null
- )
- ]
- }
- }
- )
- : createVNode('div', { class: [BORDER_TOP, bem$1('footer')] }, [
- e.showCancelButton &&
- createVNode(
- Button,
- {
- size: 'large',
- text: e.cancelButtonText || t('cancel'),
- class: bem$1('cancel'),
- style: { color: e.cancelButtonColor },
- loading: i.cancel,
- disabled: e.cancelButtonDisabled,
- onClick: u
- },
- null
- ),
- e.showConfirmButton &&
- createVNode(
- Button,
- {
- size: 'large',
- text: e.confirmButtonText || t('confirm'),
- class: [
- bem$1('confirm'),
- _defineProperty2({}, BORDER_LEFT, e.showCancelButton)
- ],
- style: { color: e.confirmButtonColor },
- loading: i.confirm,
- disabled: e.confirmButtonDisabled,
- onClick: p
- },
- null
- )
- ])
- }
- return function () {
- var t = e.width,
- n = e.title,
- r = e.theme,
- a = e.message,
- i = e.className
- return createVNode(
- Popup,
- mergeProps(
- {
- ref: o,
- role: 'dialog',
- class: [bem$1([r]), i],
- style: { width: addUnit(t) },
- tabindex: 0,
- 'aria-labelledby': n || a,
- onKeydown: d,
- 'onUpdate:show': s
- },
- pick(e, popupInheritKeys)
- ),
- {
- default: function () {
- return [f(), v(), m()]
- }
- }
- )
- }
- }
- }),
- instance$1,
- DEFAULT_OPTIONS = {
- title: '',
- width: '',
- theme: null,
- message: '',
- overlay: !0,
- callback: null,
- teleport: 'body',
- className: '',
- allowHtml: !1,
- lockScroll: !0,
- transition: void 0,
- beforeClose: null,
- overlayClass: '',
- overlayStyle: void 0,
- messageAlign: '',
- cancelButtonText: '',
- cancelButtonColor: null,
- cancelButtonDisabled: !1,
- confirmButtonText: '',
- confirmButtonColor: null,
- confirmButtonDisabled: !1,
- showConfirmButton: !0,
- showCancelButton: !1,
- closeOnPopstate: !0,
- closeOnClickOverlay: !1
- },
- currentOptions = extend$1({}, DEFAULT_OPTIONS)
- function initInstance() {
- var e = {
- setup: function () {
- var e = usePopupState(),
- t = e.state,
- n = e.toggle
- return function () {
- return createVNode(stdin_default$1, mergeProps(t, { 'onUpdate:show': n }), null)
- }
- }
- },
- t = mountComponent(e)
- instance$1 = t.instance
- }
- function showDialog(e) {
- return inBrowser$1
- ? new Promise(function (t, n) {
- instance$1 || initInstance(),
- instance$1.open(
- extend$1({}, currentOptions, e, {
- callback: function (e) {
- ;('confirm' === e ? t : n)(e)
- }
- })
- )
- })
- : Promise.resolve()
- }
- var showConfirmDialog = exports('b9', function (e) {
- return showDialog(extend$1({ showCancelButton: !0 }, e))
- }),
- Dialog = exports('a$', withInstall(stdin_default$1)),
- _createNamespace25 = createNamespace('nav-bar'),
- _createNamespace26 = _slicedToArray(_createNamespace25, 2),
- name = _createNamespace26[0],
- bem = _createNamespace26[1],
- navBarProps = {
- title: String,
- fixed: Boolean,
- zIndex: numericProp,
- border: truthProp,
- leftText: String,
- rightText: String,
- leftArrow: Boolean,
- placeholder: Boolean,
- safeAreaInsetTop: Boolean,
- clickable: truthProp
- },
- stdin_default = defineComponent({
- name: name,
- props: navBarProps,
- emits: ['clickLeft', 'clickRight'],
- setup: function (e, t) {
- var n = t.emit,
- r = t.slots,
- a = ref(),
- o = usePlaceholder(a, bem),
- i = function (e) {
- return n('clickLeft', e)
- },
- s = function (e) {
- return n('clickRight', e)
- },
- l = function () {
- var t,
- n = e.title,
- o = e.fixed,
- l = e.border,
- c = getZIndexStyle(e.zIndex),
- u = e.leftArrow || e.leftText || r.left,
- p = e.rightText || r.right
- return createVNode(
- 'div',
- {
- ref: a,
- style: c,
- class: [
- bem({ fixed: o }),
- ((t = {}),
- _defineProperty2(t, BORDER_BOTTOM, l),
- _defineProperty2(t, 'van-safe-area-top', e.safeAreaInsetTop),
- t)
- ]
- },
- [
- createVNode('div', { class: bem('content') }, [
- u &&
- createVNode(
- 'div',
- {
- class: [bem('left'), e.clickable ? HAPTICS_FEEDBACK : ''],
- onClick: i
- },
- [
- r.left
- ? r.left()
- : [
- e.leftArrow &&
- createVNode(
- Icon,
- { class: bem('arrow'), name: 'arrow-left' },
- null
- ),
- e.leftText &&
- createVNode('span', { class: bem('text') }, [e.leftText])
- ]
- ]
- ),
- createVNode('div', { class: [bem('title'), 'van-ellipsis'] }, [
- r.title ? r.title() : n
- ]),
- p &&
- createVNode(
- 'div',
- {
- class: [bem('right'), e.clickable ? HAPTICS_FEEDBACK : ''],
- onClick: s
- },
- [
- r.right
- ? r.right()
- : createVNode('span', { class: bem('text') }, [e.rightText])
- ]
- )
- ])
- ]
- )
- }
- return function () {
- return e.fixed && e.placeholder ? o(l) : l()
- }
- }
- }),
- NavBar = exports('bM', withInstall(stdin_default)),
- commonjsGlobal$1 = exports(
- 'ao',
- 'undefined' != typeof globalThis
- ? globalThis
- : 'undefined' != typeof window
- ? window
- : 'undefined' != typeof global
- ? global
- : 'undefined' != typeof self
- ? self
- : {}
- )
- function getDefaultExportFromCjs(e) {
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, 'default')
- ? e.default
- : e
- }
- function getAugmentedNamespace(e) {
- if (e.__esModule) return e
- var t = Object.defineProperty({}, '__esModule', { value: !0 })
- return (
- Object.keys(e).forEach(function (n) {
- var r = Object.getOwnPropertyDescriptor(e, n)
- Object.defineProperty(
- t,
- n,
- r.get
- ? r
- : {
- enumerable: !0,
- get: function () {
- return e[n]
- }
- }
- )
- }),
- t
- )
- }
- var lottie = { exports: {} }
- ;(function (module, exports$1) {
- var factory
- 'undefined' != typeof navigator &&
- ((factory = function () {
- var svgNS = 'http://www.w3.org/2000/svg',
- locationHref = '',
- _useWebWorker = !1,
- initialDefaultFrame = -999999,
- setWebWorker = function (e) {
- _useWebWorker = !!e
- },
- getWebWorker = function () {
- return _useWebWorker
- },
- setLocationHref = function (e) {
- locationHref = e
- },
- getLocationHref = function () {
- return locationHref
- }
- function createTag(e) {
- return document.createElement(e)
- }
- function extendPrototype(e, t) {
- var n,
- r,
- a = e.length
- for (n = 0; n < a; n += 1)
- for (var o in (r = e[n].prototype))
- Object.prototype.hasOwnProperty.call(r, o) && (t.prototype[o] = r[o])
- }
- function getDescriptor(e, t) {
- return Object.getOwnPropertyDescriptor(e, t)
- }
- function createProxyFunction(e) {
- function t() {}
- return (t.prototype = e), t
- }
- var audioControllerFactory = (function () {
- function e(e) {
- ;(this.audios = []),
- (this.audioFactory = e),
- (this._volume = 1),
- (this._isMuted = !1)
- }
- return (
- (e.prototype = {
- addAudio: function (e) {
- this.audios.push(e)
- },
- pause: function () {
- var e,
- t = this.audios.length
- for (e = 0; e < t; e += 1) this.audios[e].pause()
- },
- resume: function () {
- var e,
- t = this.audios.length
- for (e = 0; e < t; e += 1) this.audios[e].resume()
- },
- setRate: function (e) {
- var t,
- n = this.audios.length
- for (t = 0; t < n; t += 1) this.audios[t].setRate(e)
- },
- createAudio: function (e) {
- return this.audioFactory
- ? this.audioFactory(e)
- : window.Howl
- ? new window.Howl({ src: [e] })
- : {
- isPlaying: !1,
- play: function () {
- this.isPlaying = !0
- },
- seek: function () {
- this.isPlaying = !1
- },
- playing: function () {},
- rate: function () {},
- setVolume: function () {}
- }
- },
- setAudioFactory: function (e) {
- this.audioFactory = e
- },
- setVolume: function (e) {
- ;(this._volume = e), this._updateVolume()
- },
- mute: function () {
- ;(this._isMuted = !0), this._updateVolume()
- },
- unmute: function () {
- ;(this._isMuted = !1), this._updateVolume()
- },
- getVolume: function () {
- return this._volume
- },
- _updateVolume: function () {
- var e,
- t = this.audios.length
- for (e = 0; e < t; e += 1)
- this.audios[e].volume(this._volume * (this._isMuted ? 0 : 1))
- }
- }),
- function () {
- return new e()
- }
- )
- })(),
- createTypedArray = (function () {
- function e(e, t) {
- var n,
- r = 0,
- a = []
- switch (e) {
- case 'int16':
- case 'uint8c':
- n = 1
- break
- default:
- n = 1.1
- }
- for (r = 0; r < t; r += 1) a.push(n)
- return a
- }
- return 'function' == typeof Uint8ClampedArray &&
- 'function' == typeof Float32Array
- ? function (t, n) {
- return 'float32' === t
- ? new Float32Array(n)
- : 'int16' === t
- ? new Int16Array(n)
- : 'uint8c' === t
- ? new Uint8ClampedArray(n)
- : e(t, n)
- }
- : e
- })()
- function createSizedArray(e) {
- return Array.apply(null, { length: e })
- }
- function _typeof$6(e) {
- return (
- (_typeof$6 =
- 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator
- ? function (e) {
- return typeof e
- }
- : function (e) {
- return e &&
- 'function' == typeof Symbol &&
- e.constructor === Symbol &&
- e !== Symbol.prototype
- ? 'symbol'
- : typeof e
- }),
- _typeof$6(e)
- )
- }
- var subframeEnabled = !0,
- expressionsPlugin = null,
- idPrefix$1 = '',
- isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent),
- bmPow = Math.pow,
- bmSqrt = Math.sqrt,
- bmFloor = Math.floor,
- bmMax = Math.max,
- bmMin = Math.min,
- BMMath = {}
- !(function () {
- var e,
- t = [
- 'abs',
- 'acos',
- 'acosh',
- 'asin',
- 'asinh',
- 'atan',
- 'atanh',
- 'atan2',
- 'ceil',
- 'cbrt',
- 'expm1',
- 'clz32',
- 'cos',
- 'cosh',
- 'exp',
- 'floor',
- 'fround',
- 'hypot',
- 'imul',
- 'log',
- 'log1p',
- 'log2',
- 'log10',
- 'max',
- 'min',
- 'pow',
- 'random',
- 'round',
- 'sign',
- 'sin',
- 'sinh',
- 'sqrt',
- 'tan',
- 'tanh',
- 'trunc',
- 'E',
- 'LN10',
- 'LN2',
- 'LOG10E',
- 'LOG2E',
- 'PI',
- 'SQRT1_2',
- 'SQRT2'
- ],
- n = t.length
- for (e = 0; e < n; e += 1) BMMath[t[e]] = Math[t[e]]
- })(),
- (BMMath.random = Math.random),
- (BMMath.abs = function (e) {
- if ('object' === _typeof$6(e) && e.length) {
- var t,
- n = createSizedArray(e.length),
- r = e.length
- for (t = 0; t < r; t += 1) n[t] = Math.abs(e[t])
- return n
- }
- return Math.abs(e)
- })
- var defaultCurveSegments = 150,
- degToRads = Math.PI / 180,
- roundCorner = 0.5519
- function styleDiv(e) {
- ;(e.style.position = 'absolute'),
- (e.style.top = 0),
- (e.style.left = 0),
- (e.style.display = 'block'),
- (e.style.transformOrigin = '0 0'),
- (e.style.webkitTransformOrigin = '0 0'),
- (e.style.backfaceVisibility = 'visible'),
- (e.style.webkitBackfaceVisibility = 'visible'),
- (e.style.transformStyle = 'preserve-3d'),
- (e.style.webkitTransformStyle = 'preserve-3d'),
- (e.style.mozTransformStyle = 'preserve-3d')
- }
- function BMEnterFrameEvent(e, t, n, r) {
- ;(this.type = e),
- (this.currentTime = t),
- (this.totalTime = n),
- (this.direction = r < 0 ? -1 : 1)
- }
- function BMCompleteEvent(e, t) {
- ;(this.type = e), (this.direction = t < 0 ? -1 : 1)
- }
- function BMCompleteLoopEvent(e, t, n, r) {
- ;(this.type = e),
- (this.currentLoop = n),
- (this.totalLoops = t),
- (this.direction = r < 0 ? -1 : 1)
- }
- function BMSegmentStartEvent(e, t, n) {
- ;(this.type = e), (this.firstFrame = t), (this.totalFrames = n)
- }
- function BMDestroyEvent(e, t) {
- ;(this.type = e), (this.target = t)
- }
- function BMRenderFrameErrorEvent(e, t) {
- ;(this.type = 'renderFrameError'), (this.nativeError = e), (this.currentTime = t)
- }
- function BMConfigErrorEvent(e) {
- ;(this.type = 'configError'), (this.nativeError = e)
- }
- var createElementID =
- ((_count = 0),
- function () {
- return idPrefix$1 + '__lottie_element_' + (_count += 1)
- }),
- _count
- function HSVtoRGB(e, t, n) {
- var r, a, o, i, s, l, c, u
- switch (
- ((l = n * (1 - t)),
- (c = n * (1 - (s = 6 * e - (i = Math.floor(6 * e))) * t)),
- (u = n * (1 - (1 - s) * t)),
- i % 6)
- ) {
- case 0:
- ;(r = n), (a = u), (o = l)
- break
- case 1:
- ;(r = c), (a = n), (o = l)
- break
- case 2:
- ;(r = l), (a = n), (o = u)
- break
- case 3:
- ;(r = l), (a = c), (o = n)
- break
- case 4:
- ;(r = u), (a = l), (o = n)
- break
- case 5:
- ;(r = n), (a = l), (o = c)
- }
- return [r, a, o]
- }
- function RGBtoHSV(e, t, n) {
- var r,
- a = Math.max(e, t, n),
- o = Math.min(e, t, n),
- i = a - o,
- s = 0 === a ? 0 : i / a,
- l = a / 255
- switch (a) {
- case o:
- r = 0
- break
- case e:
- ;(r = t - n + i * (t < n ? 6 : 0)), (r /= 6 * i)
- break
- case t:
- ;(r = n - e + 2 * i), (r /= 6 * i)
- break
- case n:
- ;(r = e - t + 4 * i), (r /= 6 * i)
- }
- return [r, s, l]
- }
- function addSaturationToRGB(e, t) {
- var n = RGBtoHSV(255 * e[0], 255 * e[1], 255 * e[2])
- return (
- (n[1] += t),
- n[1] > 1 ? (n[1] = 1) : n[1] <= 0 && (n[1] = 0),
- HSVtoRGB(n[0], n[1], n[2])
- )
- }
- function addBrightnessToRGB(e, t) {
- var n = RGBtoHSV(255 * e[0], 255 * e[1], 255 * e[2])
- return (
- (n[2] += t),
- n[2] > 1 ? (n[2] = 1) : n[2] < 0 && (n[2] = 0),
- HSVtoRGB(n[0], n[1], n[2])
- )
- }
- function addHueToRGB(e, t) {
- var n = RGBtoHSV(255 * e[0], 255 * e[1], 255 * e[2])
- return (
- (n[0] += t / 360),
- n[0] > 1 ? (n[0] -= 1) : n[0] < 0 && (n[0] += 1),
- HSVtoRGB(n[0], n[1], n[2])
- )
- }
- var rgbToHex = (function () {
- var e,
- t,
- n = []
- for (e = 0; e < 256; e += 1)
- (t = e.toString(16)), (n[e] = 1 === t.length ? '0' + t : t)
- return function (e, t, r) {
- return (
- e < 0 && (e = 0),
- t < 0 && (t = 0),
- r < 0 && (r = 0),
- '#' + n[e] + n[t] + n[r]
- )
- }
- })(),
- setSubframeEnabled = function (e) {
- subframeEnabled = !!e
- },
- getSubframeEnabled = function () {
- return subframeEnabled
- },
- setExpressionsPlugin = function (e) {
- expressionsPlugin = e
- },
- getExpressionsPlugin = function () {
- return expressionsPlugin
- },
- setDefaultCurveSegments = function (e) {
- defaultCurveSegments = e
- },
- getDefaultCurveSegments = function () {
- return defaultCurveSegments
- },
- setIdPrefix = function (e) {
- idPrefix$1 = e
- }
- function createNS(e) {
- return document.createElementNS(svgNS, e)
- }
- function _typeof$5(e) {
- return (
- (_typeof$5 =
- 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator
- ? function (e) {
- return typeof e
- }
- : function (e) {
- return e &&
- 'function' == typeof Symbol &&
- e.constructor === Symbol &&
- e !== Symbol.prototype
- ? 'symbol'
- : typeof e
- }),
- _typeof$5(e)
- )
- }
- var dataManager = (function () {
- var e,
- t,
- n = 1,
- r = [],
- a = {
- onmessage: function () {},
- postMessage: function (t) {
- e({ data: t })
- }
- },
- o = {
- postMessage: function (e) {
- a.onmessage({ data: e })
- }
- }
- function i() {
- t ||
- ((t = (function (t) {
- if (window.Worker && window.Blob && getWebWorker()) {
- var n = new Blob(
- ['var _workerSelf = self; self.onmessage = ', t.toString()],
- { type: 'text/javascript' }
- ),
- r = URL.createObjectURL(n)
- return new Worker(r)
- }
- return (e = t), a
- })(function (e) {
- if (
- (o.dataManager ||
- (o.dataManager = (function () {
- function e(a, o) {
- var i,
- s,
- l,
- c,
- u,
- d,
- f = a.length
- for (s = 0; s < f; s += 1)
- if ('ks' in (i = a[s]) && !i.completed) {
- if (
- ((i.completed = !0),
- i.tt && (a[s - 1].td = i.tt),
- i.hasMask)
- ) {
- var h = i.masksProperties
- for (c = h.length, l = 0; l < c; l += 1)
- if (h[l].pt.k.i) r(h[l].pt.k)
- else
- for (d = h[l].pt.k.length, u = 0; u < d; u += 1)
- h[l].pt.k[u].s && r(h[l].pt.k[u].s[0]),
- h[l].pt.k[u].e && r(h[l].pt.k[u].e[0])
- }
- 0 === i.ty
- ? ((i.layers = t(i.refId, o)), e(i.layers, o))
- : 4 === i.ty
- ? n(i.shapes)
- : 5 === i.ty && p(i)
- }
- }
- function t(e, t) {
- var n = (function (e, t) {
- for (var n = 0, r = t.length; n < r; ) {
- if (t[n].id === e) return t[n]
- n += 1
- }
- return null
- })(e, t)
- return n
- ? n.layers.__used
- ? JSON.parse(JSON.stringify(n.layers))
- : ((n.layers.__used = !0), n.layers)
- : null
- }
- function n(e) {
- var t, a, o
- for (t = e.length - 1; t >= 0; t -= 1)
- if ('sh' === e[t].ty)
- if (e[t].ks.k.i) r(e[t].ks.k)
- else
- for (o = e[t].ks.k.length, a = 0; a < o; a += 1)
- e[t].ks.k[a].s && r(e[t].ks.k[a].s[0]),
- e[t].ks.k[a].e && r(e[t].ks.k[a].e[0])
- else 'gr' === e[t].ty && n(e[t].it)
- }
- function r(e) {
- var t,
- n = e.i.length
- for (t = 0; t < n; t += 1)
- (e.i[t][0] += e.v[t][0]),
- (e.i[t][1] += e.v[t][1]),
- (e.o[t][0] += e.v[t][0]),
- (e.o[t][1] += e.v[t][1])
- }
- function a(e, t) {
- var n = t ? t.split('.') : [100, 100, 100]
- return (
- e[0] > n[0] ||
- (!(n[0] > e[0]) &&
- (e[1] > n[1] ||
- (!(n[1] > e[1]) &&
- (e[2] > n[2] || (!(n[2] > e[2]) && null)))))
- )
- }
- var o,
- i = (function () {
- var e = [4, 4, 14]
- function t(e) {
- var t,
- n,
- r,
- a = e.length
- for (t = 0; t < a; t += 1)
- 5 === e[t].ty &&
- ((r = void 0),
- (r = (n = e[t]).t.d),
- (n.t.d = { k: [{ s: r, t: 0 }] }))
- }
- return function (n) {
- if (a(e, n.v) && (t(n.layers), n.assets)) {
- var r,
- o = n.assets.length
- for (r = 0; r < o; r += 1)
- n.assets[r].layers && t(n.assets[r].layers)
- }
- }
- })(),
- s =
- ((o = [4, 7, 99]),
- function (e) {
- if (e.chars && !a(o, e.v)) {
- var t,
- r = e.chars.length
- for (t = 0; t < r; t += 1) {
- var i = e.chars[t]
- i.data &&
- i.data.shapes &&
- (n(i.data.shapes),
- (i.data.ip = 0),
- (i.data.op = 99999),
- (i.data.st = 0),
- (i.data.sr = 1),
- (i.data.ks = {
- p: { k: [0, 0], a: 0 },
- s: { k: [100, 100], a: 0 },
- a: { k: [0, 0], a: 0 },
- r: { k: 0, a: 0 },
- o: { k: 100, a: 0 }
- }),
- e.chars[t].t ||
- (i.data.shapes.push({ ty: 'no' }),
- i.data.shapes[0].it.push({
- p: { k: [0, 0], a: 0 },
- s: { k: [100, 100], a: 0 },
- a: { k: [0, 0], a: 0 },
- r: { k: 0, a: 0 },
- o: { k: 100, a: 0 },
- sk: { k: 0, a: 0 },
- sa: { k: 0, a: 0 },
- ty: 'tr'
- })))
- }
- }
- }),
- l = (function () {
- var e = [5, 7, 15]
- function t(e) {
- var t,
- n,
- r = e.length
- for (t = 0; t < r; t += 1)
- 5 === e[t].ty &&
- ((n = void 0),
- 'number' == typeof (n = e[t].t.p).a &&
- (n.a = { a: 0, k: n.a }),
- 'number' == typeof n.p && (n.p = { a: 0, k: n.p }),
- 'number' == typeof n.r && (n.r = { a: 0, k: n.r }))
- }
- return function (n) {
- if (a(e, n.v) && (t(n.layers), n.assets)) {
- var r,
- o = n.assets.length
- for (r = 0; r < o; r += 1)
- n.assets[r].layers && t(n.assets[r].layers)
- }
- }
- })(),
- c = (function () {
- var e = [4, 1, 9]
- function t(e) {
- var n,
- r,
- a,
- o = e.length
- for (n = 0; n < o; n += 1)
- if ('gr' === e[n].ty) t(e[n].it)
- else if ('fl' === e[n].ty || 'st' === e[n].ty)
- if (e[n].c.k && e[n].c.k[0].i)
- for (a = e[n].c.k.length, r = 0; r < a; r += 1)
- e[n].c.k[r].s &&
- ((e[n].c.k[r].s[0] /= 255),
- (e[n].c.k[r].s[1] /= 255),
- (e[n].c.k[r].s[2] /= 255),
- (e[n].c.k[r].s[3] /= 255)),
- e[n].c.k[r].e &&
- ((e[n].c.k[r].e[0] /= 255),
- (e[n].c.k[r].e[1] /= 255),
- (e[n].c.k[r].e[2] /= 255),
- (e[n].c.k[r].e[3] /= 255))
- else
- (e[n].c.k[0] /= 255),
- (e[n].c.k[1] /= 255),
- (e[n].c.k[2] /= 255),
- (e[n].c.k[3] /= 255)
- }
- function n(e) {
- var n,
- r = e.length
- for (n = 0; n < r; n += 1) 4 === e[n].ty && t(e[n].shapes)
- }
- return function (t) {
- if (a(e, t.v) && (n(t.layers), t.assets)) {
- var r,
- o = t.assets.length
- for (r = 0; r < o; r += 1)
- t.assets[r].layers && n(t.assets[r].layers)
- }
- }
- })(),
- u = (function () {
- var e = [4, 4, 18]
- function t(e) {
- var n, r, a
- for (n = e.length - 1; n >= 0; n -= 1)
- if ('sh' === e[n].ty)
- if (e[n].ks.k.i) e[n].ks.k.c = e[n].closed
- else
- for (a = e[n].ks.k.length, r = 0; r < a; r += 1)
- e[n].ks.k[r].s && (e[n].ks.k[r].s[0].c = e[n].closed),
- e[n].ks.k[r].e &&
- (e[n].ks.k[r].e[0].c = e[n].closed)
- else 'gr' === e[n].ty && t(e[n].it)
- }
- function n(e) {
- var n,
- r,
- a,
- o,
- i,
- s,
- l = e.length
- for (r = 0; r < l; r += 1) {
- if ((n = e[r]).hasMask) {
- var c = n.masksProperties
- for (o = c.length, a = 0; a < o; a += 1)
- if (c[a].pt.k.i) c[a].pt.k.c = c[a].cl
- else
- for (s = c[a].pt.k.length, i = 0; i < s; i += 1)
- c[a].pt.k[i].s && (c[a].pt.k[i].s[0].c = c[a].cl),
- c[a].pt.k[i].e && (c[a].pt.k[i].e[0].c = c[a].cl)
- }
- 4 === n.ty && t(n.shapes)
- }
- }
- return function (t) {
- if (a(e, t.v) && (n(t.layers), t.assets)) {
- var r,
- o = t.assets.length
- for (r = 0; r < o; r += 1)
- t.assets[r].layers && n(t.assets[r].layers)
- }
- }
- })()
- function p(e) {
- 0 === e.t.a.length && e.t.p
- }
- var d = {
- completeData: function (n) {
- n.__complete ||
- (c(n),
- i(n),
- s(n),
- l(n),
- u(n),
- e(n.layers, n.assets),
- (function (n, r) {
- if (n) {
- var a = 0,
- o = n.length
- for (a = 0; a < o; a += 1)
- 1 === n[a].t &&
- ((n[a].data.layers = t(n[a].data.refId, r)),
- e(n[a].data.layers, r))
- }
- })(n.chars, n.assets),
- (n.__complete = !0))
- }
- }
- return (
- (d.checkColors = c),
- (d.checkChars = s),
- (d.checkPathProperties = l),
- (d.checkShapes = u),
- (d.completeLayers = e),
- d
- )
- })()),
- o.assetLoader ||
- (o.assetLoader = (function () {
- function e(e) {
- var t = e.getResponseHeader('content-type')
- return (t &&
- 'json' === e.responseType &&
- -1 !== t.indexOf('json')) ||
- (e.response && 'object' === _typeof$5(e.response))
- ? e.response
- : e.response && 'string' == typeof e.response
- ? JSON.parse(e.response)
- : e.responseText
- ? JSON.parse(e.responseText)
- : null
- }
- return {
- load: function (t, n, r, a) {
- var o,
- i = new XMLHttpRequest()
- try {
- i.responseType = 'json'
- } catch (s) {}
- i.onreadystatechange = function () {
- if (4 === i.readyState)
- if (200 === i.status) (o = e(i)), r(o)
- else
- try {
- ;(o = e(i)), r(o)
- } catch (s) {
- a && a(s)
- }
- }
- try {
- i.open('GET', t, !0)
- } catch (error) {
- i.open('GET', n + '/' + t, !0)
- }
- i.send()
- }
- }
- })()),
- 'loadAnimation' === e.data.type)
- )
- o.assetLoader.load(
- e.data.path,
- e.data.fullPath,
- function (t) {
- o.dataManager.completeData(t),
- o.postMessage({ id: e.data.id, payload: t, status: 'success' })
- },
- function () {
- o.postMessage({ id: e.data.id, status: 'error' })
- }
- )
- else if ('complete' === e.data.type) {
- var t = e.data.animation
- o.dataManager.completeData(t),
- o.postMessage({ id: e.data.id, payload: t, status: 'success' })
- } else
- 'loadData' === e.data.type &&
- o.assetLoader.load(
- e.data.path,
- e.data.fullPath,
- function (t) {
- o.postMessage({ id: e.data.id, payload: t, status: 'success' })
- },
- function () {
- o.postMessage({ id: e.data.id, status: 'error' })
- }
- )
- })),
- (t.onmessage = function (e) {
- var t = e.data,
- n = t.id,
- a = r[n]
- ;(r[n] = null),
- 'success' === t.status
- ? a.onComplete(t.payload)
- : a.onError && a.onError()
- }))
- }
- function s(e, t) {
- var a = 'processId_' + (n += 1)
- return (r[a] = { onComplete: e, onError: t }), a
- }
- return {
- loadAnimation: function (e, n, r) {
- i()
- var a = s(n, r)
- t.postMessage({
- type: 'loadAnimation',
- path: e,
- fullPath: window.location.origin + window.location.pathname,
- id: a
- })
- },
- loadData: function (e, n, r) {
- i()
- var a = s(n, r)
- t.postMessage({
- type: 'loadData',
- path: e,
- fullPath: window.location.origin + window.location.pathname,
- id: a
- })
- },
- completeAnimation: function (e, n, r) {
- i()
- var a = s(n, r)
- t.postMessage({ type: 'complete', animation: e, id: a })
- }
- }
- })(),
- ImagePreloader = (function () {
- var e = (function () {
- var e = createTag('canvas')
- ;(e.width = 1), (e.height = 1)
- var t = e.getContext('2d')
- return (t.fillStyle = 'rgba(0,0,0,0)'), t.fillRect(0, 0, 1, 1), e
- })()
- function t() {
- ;(this.loadedAssets += 1),
- this.loadedAssets === this.totalImages &&
- this.loadedFootagesCount === this.totalFootages &&
- this.imagesLoadedCb &&
- this.imagesLoadedCb(null)
- }
- function n() {
- ;(this.loadedFootagesCount += 1),
- this.loadedAssets === this.totalImages &&
- this.loadedFootagesCount === this.totalFootages &&
- this.imagesLoadedCb &&
- this.imagesLoadedCb(null)
- }
- function r(e, t, n) {
- var r = ''
- if (e.e) r = e.p
- else if (t) {
- var a = e.p
- ;-1 !== a.indexOf('images/') && (a = a.split('/')[1]), (r = t + a)
- } else (r = n), (r += e.u ? e.u : ''), (r += e.p)
- return r
- }
- function a(e) {
- var t = 0,
- n = setInterval(
- function () {
- ;(e.getBBox().width || t > 500) &&
- (this._imageLoaded(), clearInterval(n)),
- (t += 1)
- }.bind(this),
- 50
- )
- }
- function o(e) {
- var t = { assetData: e },
- n = r(e, this.assetsPath, this.path)
- return (
- dataManager.loadData(
- n,
- function (e) {
- ;(t.img = e), this._footageLoaded()
- }.bind(this),
- function () {
- ;(t.img = {}), this._footageLoaded()
- }.bind(this)
- ),
- t
- )
- }
- function i() {
- ;(this._imageLoaded = t.bind(this)),
- (this._footageLoaded = n.bind(this)),
- (this.testImageLoaded = a.bind(this)),
- (this.createFootageData = o.bind(this)),
- (this.assetsPath = ''),
- (this.path = ''),
- (this.totalImages = 0),
- (this.totalFootages = 0),
- (this.loadedAssets = 0),
- (this.loadedFootagesCount = 0),
- (this.imagesLoadedCb = null),
- (this.images = [])
- }
- return (
- (i.prototype = {
- loadAssets: function (e, t) {
- var n
- this.imagesLoadedCb = t
- var r = e.length
- for (n = 0; n < r; n += 1)
- e[n].layers ||
- (e[n].t && 'seq' !== e[n].t
- ? 3 === e[n].t &&
- ((this.totalFootages += 1),
- this.images.push(this.createFootageData(e[n])))
- : ((this.totalImages += 1),
- this.images.push(this._createImageData(e[n]))))
- },
- setAssetsPath: function (e) {
- this.assetsPath = e || ''
- },
- setPath: function (e) {
- this.path = e || ''
- },
- loadedImages: function () {
- return this.totalImages === this.loadedAssets
- },
- loadedFootages: function () {
- return this.totalFootages === this.loadedFootagesCount
- },
- destroy: function () {
- ;(this.imagesLoadedCb = null), (this.images.length = 0)
- },
- getAsset: function (e) {
- for (var t = 0, n = this.images.length; t < n; ) {
- if (this.images[t].assetData === e) return this.images[t].img
- t += 1
- }
- return null
- },
- createImgData: function (t) {
- var n = r(t, this.assetsPath, this.path),
- a = createTag('img')
- ;(a.crossOrigin = 'anonymous'),
- a.addEventListener('load', this._imageLoaded, !1),
- a.addEventListener(
- 'error',
- function () {
- ;(o.img = e), this._imageLoaded()
- }.bind(this),
- !1
- ),
- (a.src = n)
- var o = { img: a, assetData: t }
- return o
- },
- createImageData: function (t) {
- var n = r(t, this.assetsPath, this.path),
- a = createNS('image')
- isSafari
- ? this.testImageLoaded(a)
- : a.addEventListener('load', this._imageLoaded, !1),
- a.addEventListener(
- 'error',
- function () {
- ;(o.img = e), this._imageLoaded()
- }.bind(this),
- !1
- ),
- a.setAttributeNS('http://www.w3.org/1999/xlink', 'href', n),
- this._elementHelper.append
- ? this._elementHelper.append(a)
- : this._elementHelper.appendChild(a)
- var o = { img: a, assetData: t }
- return o
- },
- imageLoaded: t,
- footageLoaded: n,
- setCacheType: function (e, t) {
- 'svg' === e
- ? ((this._elementHelper = t),
- (this._createImageData = this.createImageData.bind(this)))
- : (this._createImageData = this.createImgData.bind(this))
- }
- }),
- i
- )
- })()
- function BaseEvent() {}
- BaseEvent.prototype = {
- triggerEvent: function (e, t) {
- if (this._cbs[e])
- for (var n = this._cbs[e], r = 0; r < n.length; r += 1) n[r](t)
- },
- addEventListener: function (e, t) {
- return (
- this._cbs[e] || (this._cbs[e] = []),
- this._cbs[e].push(t),
- function () {
- this.removeEventListener(e, t)
- }.bind(this)
- )
- },
- removeEventListener: function (e, t) {
- if (t) {
- if (this._cbs[e]) {
- for (var n = 0, r = this._cbs[e].length; n < r; )
- this._cbs[e][n] === t && (this._cbs[e].splice(n, 1), (n -= 1), (r -= 1)),
- (n += 1)
- this._cbs[e].length || (this._cbs[e] = null)
- }
- } else this._cbs[e] = null
- }
- }
- var markerParser = (function () {
- function e(e) {
- for (var t, n = e.split('\r\n'), r = {}, a = 0, o = 0; o < n.length; o += 1)
- 2 === (t = n[o].split(':')).length && ((r[t[0]] = t[1].trim()), (a += 1))
- if (0 === a) throw new Error()
- return r
- }
- return function (t) {
- for (var n = [], r = 0; r < t.length; r += 1) {
- var a = t[r],
- o = { time: a.tm, duration: a.dr }
- try {
- o.payload = JSON.parse(t[r].cm)
- } catch (i) {
- try {
- o.payload = e(t[r].cm)
- } catch (s) {
- o.payload = { name: t[r].cm }
- }
- }
- n.push(o)
- }
- return n
- }
- })(),
- ProjectInterface = (function () {
- function e(e) {
- this.compositions.push(e)
- }
- return function () {
- function t(e) {
- for (var t = 0, n = this.compositions.length; t < n; ) {
- if (this.compositions[t].data && this.compositions[t].data.nm === e)
- return (
- this.compositions[t].prepareFrame &&
- this.compositions[t].data.xt &&
- this.compositions[t].prepareFrame(this.currentFrame),
- this.compositions[t].compInterface
- )
- t += 1
- }
- return null
- }
- return (
- (t.compositions = []), (t.currentFrame = 0), (t.registerComposition = e), t
- )
- }
- })(),
- renderers = {},
- registerRenderer = function (e, t) {
- renderers[e] = t
- }
- function getRenderer(e) {
- return renderers[e]
- }
- function _typeof$4(e) {
- return (
- (_typeof$4 =
- 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator
- ? function (e) {
- return typeof e
- }
- : function (e) {
- return e &&
- 'function' == typeof Symbol &&
- e.constructor === Symbol &&
- e !== Symbol.prototype
- ? 'symbol'
- : typeof e
- }),
- _typeof$4(e)
- )
- }
- var AnimationItem = function () {
- ;(this._cbs = []),
- (this.name = ''),
- (this.path = ''),
- (this.isLoaded = !1),
- (this.currentFrame = 0),
- (this.currentRawFrame = 0),
- (this.firstFrame = 0),
- (this.totalFrames = 0),
- (this.frameRate = 0),
- (this.frameMult = 0),
- (this.playSpeed = 1),
- (this.playDirection = 1),
- (this.playCount = 0),
- (this.animationData = {}),
- (this.assets = []),
- (this.isPaused = !0),
- (this.autoplay = !1),
- (this.loop = !0),
- (this.renderer = null),
- (this.animationID = createElementID()),
- (this.assetsPath = ''),
- (this.timeCompleted = 0),
- (this.segmentPos = 0),
- (this.isSubframeEnabled = getSubframeEnabled()),
- (this.segments = []),
- (this._idle = !0),
- (this._completedLoop = !1),
- (this.projectInterface = ProjectInterface()),
- (this.imagePreloader = new ImagePreloader()),
- (this.audioController = audioControllerFactory()),
- (this.markers = []),
- (this.configAnimation = this.configAnimation.bind(this)),
- (this.onSetupError = this.onSetupError.bind(this)),
- (this.onSegmentComplete = this.onSegmentComplete.bind(this)),
- (this.drawnFrameEvent = new BMEnterFrameEvent('drawnFrame', 0, 0, 0))
- }
- extendPrototype([BaseEvent], AnimationItem),
- (AnimationItem.prototype.setParams = function (e) {
- ;(e.wrapper || e.container) && (this.wrapper = e.wrapper || e.container)
- var t = 'svg'
- e.animType ? (t = e.animType) : e.renderer && (t = e.renderer)
- var n = getRenderer(t)
- ;(this.renderer = new n(this, e.rendererSettings)),
- this.imagePreloader.setCacheType(t, this.renderer.globalData.defs),
- this.renderer.setProjectInterface(this.projectInterface),
- (this.animType = t),
- '' === e.loop || null === e.loop || void 0 === e.loop || !0 === e.loop
- ? (this.loop = !0)
- : !1 === e.loop
- ? (this.loop = !1)
- : (this.loop = parseInt(e.loop, 10)),
- (this.autoplay = !('autoplay' in e) || e.autoplay),
- (this.name = e.name ? e.name : ''),
- (this.autoloadSegments =
- !Object.prototype.hasOwnProperty.call(e, 'autoloadSegments') ||
- e.autoloadSegments),
- (this.assetsPath = e.assetsPath),
- (this.initialSegment = e.initialSegment),
- e.audioFactory && this.audioController.setAudioFactory(e.audioFactory),
- e.animationData
- ? this.setupAnimation(e.animationData)
- : e.path &&
- (-1 !== e.path.lastIndexOf('\\')
- ? (this.path = e.path.substr(0, e.path.lastIndexOf('\\') + 1))
- : (this.path = e.path.substr(0, e.path.lastIndexOf('/') + 1)),
- (this.fileName = e.path.substr(e.path.lastIndexOf('/') + 1)),
- (this.fileName = this.fileName.substr(
- 0,
- this.fileName.lastIndexOf('.json')
- )),
- dataManager.loadAnimation(
- e.path,
- this.configAnimation,
- this.onSetupError
- ))
- }),
- (AnimationItem.prototype.onSetupError = function () {
- this.trigger('data_failed')
- }),
- (AnimationItem.prototype.setupAnimation = function (e) {
- dataManager.completeAnimation(e, this.configAnimation)
- }),
- (AnimationItem.prototype.setData = function (e, t) {
- t && 'object' !== _typeof$4(t) && (t = JSON.parse(t))
- var n = { wrapper: e, animationData: t },
- r = e.attributes
- ;(n.path = r.getNamedItem('data-animation-path')
- ? r.getNamedItem('data-animation-path').value
- : r.getNamedItem('data-bm-path')
- ? r.getNamedItem('data-bm-path').value
- : r.getNamedItem('bm-path')
- ? r.getNamedItem('bm-path').value
- : ''),
- (n.animType = r.getNamedItem('data-anim-type')
- ? r.getNamedItem('data-anim-type').value
- : r.getNamedItem('data-bm-type')
- ? r.getNamedItem('data-bm-type').value
- : r.getNamedItem('bm-type')
- ? r.getNamedItem('bm-type').value
- : r.getNamedItem('data-bm-renderer')
- ? r.getNamedItem('data-bm-renderer').value
- : r.getNamedItem('bm-renderer')
- ? r.getNamedItem('bm-renderer').value
- : 'canvas')
- var a = r.getNamedItem('data-anim-loop')
- ? r.getNamedItem('data-anim-loop').value
- : r.getNamedItem('data-bm-loop')
- ? r.getNamedItem('data-bm-loop').value
- : r.getNamedItem('bm-loop')
- ? r.getNamedItem('bm-loop').value
- : ''
- 'false' === a
- ? (n.loop = !1)
- : 'true' === a
- ? (n.loop = !0)
- : '' !== a && (n.loop = parseInt(a, 10))
- var o = r.getNamedItem('data-anim-autoplay')
- ? r.getNamedItem('data-anim-autoplay').value
- : r.getNamedItem('data-bm-autoplay')
- ? r.getNamedItem('data-bm-autoplay').value
- : !r.getNamedItem('bm-autoplay') || r.getNamedItem('bm-autoplay').value
- ;(n.autoplay = 'false' !== o),
- (n.name = r.getNamedItem('data-name')
- ? r.getNamedItem('data-name').value
- : r.getNamedItem('data-bm-name')
- ? r.getNamedItem('data-bm-name').value
- : r.getNamedItem('bm-name')
- ? r.getNamedItem('bm-name').value
- : ''),
- 'false' ===
- (r.getNamedItem('data-anim-prerender')
- ? r.getNamedItem('data-anim-prerender').value
- : r.getNamedItem('data-bm-prerender')
- ? r.getNamedItem('data-bm-prerender').value
- : r.getNamedItem('bm-prerender')
- ? r.getNamedItem('bm-prerender').value
- : '') && (n.prerender = !1),
- this.setParams(n)
- }),
- (AnimationItem.prototype.includeLayers = function (e) {
- e.op > this.animationData.op &&
- ((this.animationData.op = e.op),
- (this.totalFrames = Math.floor(e.op - this.animationData.ip)))
- var t,
- n,
- r = this.animationData.layers,
- a = r.length,
- o = e.layers,
- i = o.length
- for (n = 0; n < i; n += 1)
- for (t = 0; t < a; ) {
- if (r[t].id === o[n].id) {
- r[t] = o[n]
- break
- }
- t += 1
- }
- if (
- ((e.chars || e.fonts) &&
- (this.renderer.globalData.fontManager.addChars(e.chars),
- this.renderer.globalData.fontManager.addFonts(
- e.fonts,
- this.renderer.globalData.defs
- )),
- e.assets)
- )
- for (a = e.assets.length, t = 0; t < a; t += 1)
- this.animationData.assets.push(e.assets[t])
- ;(this.animationData.__complete = !1),
- dataManager.completeAnimation(this.animationData, this.onSegmentComplete)
- }),
- (AnimationItem.prototype.onSegmentComplete = function (e) {
- this.animationData = e
- var t = getExpressionsPlugin()
- t && t.initExpressions(this), this.loadNextSegment()
- }),
- (AnimationItem.prototype.loadNextSegment = function () {
- var e = this.animationData.segments
- if (!e || 0 === e.length || !this.autoloadSegments)
- return (
- this.trigger('data_ready'), void (this.timeCompleted = this.totalFrames)
- )
- var t = e.shift()
- this.timeCompleted = t.time * this.frameRate
- var n = this.path + this.fileName + '_' + this.segmentPos + '.json'
- ;(this.segmentPos += 1),
- dataManager.loadData(
- n,
- this.includeLayers.bind(this),
- function () {
- this.trigger('data_failed')
- }.bind(this)
- )
- }),
- (AnimationItem.prototype.loadSegments = function () {
- this.animationData.segments || (this.timeCompleted = this.totalFrames),
- this.loadNextSegment()
- }),
- (AnimationItem.prototype.imagesLoaded = function () {
- this.trigger('loaded_images'), this.checkLoaded()
- }),
- (AnimationItem.prototype.preloadImages = function () {
- this.imagePreloader.setAssetsPath(this.assetsPath),
- this.imagePreloader.setPath(this.path),
- this.imagePreloader.loadAssets(
- this.animationData.assets,
- this.imagesLoaded.bind(this)
- )
- }),
- (AnimationItem.prototype.configAnimation = function (e) {
- if (this.renderer)
- try {
- ;(this.animationData = e),
- this.initialSegment
- ? ((this.totalFrames = Math.floor(
- this.initialSegment[1] - this.initialSegment[0]
- )),
- (this.firstFrame = Math.round(this.initialSegment[0])))
- : ((this.totalFrames = Math.floor(
- this.animationData.op - this.animationData.ip
- )),
- (this.firstFrame = Math.round(this.animationData.ip))),
- this.renderer.configAnimation(e),
- e.assets || (e.assets = []),
- (this.assets = this.animationData.assets),
- (this.frameRate = this.animationData.fr),
- (this.frameMult = this.animationData.fr / 1e3),
- this.renderer.searchExtraCompositions(e.assets),
- (this.markers = markerParser(e.markers || [])),
- this.trigger('config_ready'),
- this.preloadImages(),
- this.loadSegments(),
- this.updaFrameModifier(),
- this.waitForFontsLoaded(),
- this.isPaused && this.audioController.pause()
- } catch (error) {
- this.triggerConfigError(error)
- }
- }),
- (AnimationItem.prototype.waitForFontsLoaded = function () {
- this.renderer &&
- (this.renderer.globalData.fontManager.isLoaded
- ? this.checkLoaded()
- : setTimeout(this.waitForFontsLoaded.bind(this), 20))
- }),
- (AnimationItem.prototype.checkLoaded = function () {
- if (
- !this.isLoaded &&
- this.renderer.globalData.fontManager.isLoaded &&
- (this.imagePreloader.loadedImages() ||
- 'canvas' !== this.renderer.rendererType) &&
- this.imagePreloader.loadedFootages()
- ) {
- this.isLoaded = !0
- var e = getExpressionsPlugin()
- e && e.initExpressions(this),
- this.renderer.initItems(),
- setTimeout(
- function () {
- this.trigger('DOMLoaded')
- }.bind(this),
- 0
- ),
- this.gotoFrame(),
- this.autoplay && this.play()
- }
- }),
- (AnimationItem.prototype.resize = function () {
- this.renderer.updateContainerSize()
- }),
- (AnimationItem.prototype.setSubframe = function (e) {
- this.isSubframeEnabled = !!e
- }),
- (AnimationItem.prototype.gotoFrame = function () {
- ;(this.currentFrame = this.isSubframeEnabled
- ? this.currentRawFrame
- : ~~this.currentRawFrame),
- this.timeCompleted !== this.totalFrames &&
- this.currentFrame > this.timeCompleted &&
- (this.currentFrame = this.timeCompleted),
- this.trigger('enterFrame'),
- this.renderFrame(),
- this.trigger('drawnFrame')
- }),
- (AnimationItem.prototype.renderFrame = function () {
- if (!1 !== this.isLoaded && this.renderer)
- try {
- this.renderer.renderFrame(this.currentFrame + this.firstFrame)
- } catch (error) {
- this.triggerRenderFrameError(error)
- }
- }),
- (AnimationItem.prototype.play = function (e) {
- ;(e && this.name !== e) ||
- (!0 === this.isPaused &&
- ((this.isPaused = !1),
- this.trigger('_pause'),
- this.audioController.resume(),
- this._idle && ((this._idle = !1), this.trigger('_active'))))
- }),
- (AnimationItem.prototype.pause = function (e) {
- ;(e && this.name !== e) ||
- (!1 === this.isPaused &&
- ((this.isPaused = !0),
- this.trigger('_play'),
- (this._idle = !0),
- this.trigger('_idle'),
- this.audioController.pause()))
- }),
- (AnimationItem.prototype.togglePause = function (e) {
- ;(e && this.name !== e) || (!0 === this.isPaused ? this.play() : this.pause())
- }),
- (AnimationItem.prototype.stop = function (e) {
- ;(e && this.name !== e) ||
- (this.pause(),
- (this.playCount = 0),
- (this._completedLoop = !1),
- this.setCurrentRawFrameValue(0))
- }),
- (AnimationItem.prototype.getMarkerData = function (e) {
- for (var t, n = 0; n < this.markers.length; n += 1)
- if ((t = this.markers[n]).payload && t.payload.name === e) return t
- return null
- }),
- (AnimationItem.prototype.goToAndStop = function (e, t, n) {
- if (!n || this.name === n) {
- var r = Number(e)
- if (isNaN(r)) {
- var a = this.getMarkerData(e)
- a && this.goToAndStop(a.time, !0)
- } else
- t
- ? this.setCurrentRawFrameValue(e)
- : this.setCurrentRawFrameValue(e * this.frameModifier)
- this.pause()
- }
- }),
- (AnimationItem.prototype.goToAndPlay = function (e, t, n) {
- if (!n || this.name === n) {
- var r = Number(e)
- if (isNaN(r)) {
- var a = this.getMarkerData(e)
- a &&
- (a.duration
- ? this.playSegments([a.time, a.time + a.duration], !0)
- : this.goToAndStop(a.time, !0))
- } else this.goToAndStop(r, t, n)
- this.play()
- }
- }),
- (AnimationItem.prototype.advanceTime = function (e) {
- if (!0 !== this.isPaused && !1 !== this.isLoaded) {
- var t = this.currentRawFrame + e * this.frameModifier,
- n = !1
- t >= this.totalFrames - 1 && this.frameModifier > 0
- ? this.loop && this.playCount !== this.loop
- ? t >= this.totalFrames
- ? ((this.playCount += 1),
- this.checkSegments(t % this.totalFrames) ||
- (this.setCurrentRawFrameValue(t % this.totalFrames),
- (this._completedLoop = !0),
- this.trigger('loopComplete')))
- : this.setCurrentRawFrameValue(t)
- : this.checkSegments(t > this.totalFrames ? t % this.totalFrames : 0) ||
- ((n = !0), (t = this.totalFrames - 1))
- : t < 0
- ? this.checkSegments(t % this.totalFrames) ||
- (!this.loop || (this.playCount-- <= 0 && !0 !== this.loop)
- ? ((n = !0), (t = 0))
- : (this.setCurrentRawFrameValue(
- this.totalFrames + (t % this.totalFrames)
- ),
- this._completedLoop
- ? this.trigger('loopComplete')
- : (this._completedLoop = !0)))
- : this.setCurrentRawFrameValue(t),
- n &&
- (this.setCurrentRawFrameValue(t), this.pause(), this.trigger('complete'))
- }
- }),
- (AnimationItem.prototype.adjustSegment = function (e, t) {
- ;(this.playCount = 0),
- e[1] < e[0]
- ? (this.frameModifier > 0 &&
- (this.playSpeed < 0
- ? this.setSpeed(-this.playSpeed)
- : this.setDirection(-1)),
- (this.totalFrames = e[0] - e[1]),
- (this.timeCompleted = this.totalFrames),
- (this.firstFrame = e[1]),
- this.setCurrentRawFrameValue(this.totalFrames - 0.001 - t))
- : e[1] > e[0] &&
- (this.frameModifier < 0 &&
- (this.playSpeed < 0
- ? this.setSpeed(-this.playSpeed)
- : this.setDirection(1)),
- (this.totalFrames = e[1] - e[0]),
- (this.timeCompleted = this.totalFrames),
- (this.firstFrame = e[0]),
- this.setCurrentRawFrameValue(0.001 + t)),
- this.trigger('segmentStart')
- }),
- (AnimationItem.prototype.setSegment = function (e, t) {
- var n = -1
- this.isPaused &&
- (this.currentRawFrame + this.firstFrame < e
- ? (n = e)
- : this.currentRawFrame + this.firstFrame > t && (n = t - e)),
- (this.firstFrame = e),
- (this.totalFrames = t - e),
- (this.timeCompleted = this.totalFrames),
- -1 !== n && this.goToAndStop(n, !0)
- }),
- (AnimationItem.prototype.playSegments = function (e, t) {
- if ((t && (this.segments.length = 0), 'object' === _typeof$4(e[0]))) {
- var n,
- r = e.length
- for (n = 0; n < r; n += 1) this.segments.push(e[n])
- } else this.segments.push(e)
- this.segments.length && t && this.adjustSegment(this.segments.shift(), 0),
- this.isPaused && this.play()
- }),
- (AnimationItem.prototype.resetSegments = function (e) {
- ;(this.segments.length = 0),
- this.segments.push([this.animationData.ip, this.animationData.op]),
- e && this.checkSegments(0)
- }),
- (AnimationItem.prototype.checkSegments = function (e) {
- return (
- !!this.segments.length && (this.adjustSegment(this.segments.shift(), e), !0)
- )
- }),
- (AnimationItem.prototype.destroy = function (e) {
- ;(e && this.name !== e) ||
- !this.renderer ||
- (this.renderer.destroy(),
- this.imagePreloader.destroy(),
- this.trigger('destroy'),
- (this._cbs = null),
- (this.onEnterFrame = null),
- (this.onLoopComplete = null),
- (this.onComplete = null),
- (this.onSegmentStart = null),
- (this.onDestroy = null),
- (this.renderer = null),
- (this.renderer = null),
- (this.imagePreloader = null),
- (this.projectInterface = null))
- }),
- (AnimationItem.prototype.setCurrentRawFrameValue = function (e) {
- ;(this.currentRawFrame = e), this.gotoFrame()
- }),
- (AnimationItem.prototype.setSpeed = function (e) {
- ;(this.playSpeed = e), this.updaFrameModifier()
- }),
- (AnimationItem.prototype.setDirection = function (e) {
- ;(this.playDirection = e < 0 ? -1 : 1), this.updaFrameModifier()
- }),
- (AnimationItem.prototype.setVolume = function (e, t) {
- ;(t && this.name !== t) || this.audioController.setVolume(e)
- }),
- (AnimationItem.prototype.getVolume = function () {
- return this.audioController.getVolume()
- }),
- (AnimationItem.prototype.mute = function (e) {
- ;(e && this.name !== e) || this.audioController.mute()
- }),
- (AnimationItem.prototype.unmute = function (e) {
- ;(e && this.name !== e) || this.audioController.unmute()
- }),
- (AnimationItem.prototype.updaFrameModifier = function () {
- ;(this.frameModifier = this.frameMult * this.playSpeed * this.playDirection),
- this.audioController.setRate(this.playSpeed * this.playDirection)
- }),
- (AnimationItem.prototype.getPath = function () {
- return this.path
- }),
- (AnimationItem.prototype.getAssetsPath = function (e) {
- var t = ''
- if (e.e) t = e.p
- else if (this.assetsPath) {
- var n = e.p
- ;-1 !== n.indexOf('images/') && (n = n.split('/')[1]),
- (t = this.assetsPath + n)
- } else (t = this.path), (t += e.u ? e.u : ''), (t += e.p)
- return t
- }),
- (AnimationItem.prototype.getAssetData = function (e) {
- for (var t = 0, n = this.assets.length; t < n; ) {
- if (e === this.assets[t].id) return this.assets[t]
- t += 1
- }
- return null
- }),
- (AnimationItem.prototype.hide = function () {
- this.renderer.hide()
- }),
- (AnimationItem.prototype.show = function () {
- this.renderer.show()
- }),
- (AnimationItem.prototype.getDuration = function (e) {
- return e ? this.totalFrames : this.totalFrames / this.frameRate
- }),
- (AnimationItem.prototype.updateDocumentData = function (e, t, n) {
- try {
- this.renderer.getElementByPath(e).updateDocumentData(t, n)
- } catch (error) {}
- }),
- (AnimationItem.prototype.trigger = function (e) {
- if (this._cbs && this._cbs[e])
- switch (e) {
- case 'enterFrame':
- this.triggerEvent(
- e,
- new BMEnterFrameEvent(
- e,
- this.currentFrame,
- this.totalFrames,
- this.frameModifier
- )
- )
- break
- case 'drawnFrame':
- ;(this.drawnFrameEvent.currentTime = this.currentFrame),
- (this.drawnFrameEvent.totalTime = this.totalFrames),
- (this.drawnFrameEvent.direction = this.frameModifier),
- this.triggerEvent(e, this.drawnFrameEvent)
- break
- case 'loopComplete':
- this.triggerEvent(
- e,
- new BMCompleteLoopEvent(e, this.loop, this.playCount, this.frameMult)
- )
- break
- case 'complete':
- this.triggerEvent(e, new BMCompleteEvent(e, this.frameMult))
- break
- case 'segmentStart':
- this.triggerEvent(
- e,
- new BMSegmentStartEvent(e, this.firstFrame, this.totalFrames)
- )
- break
- case 'destroy':
- this.triggerEvent(e, new BMDestroyEvent(e, this))
- break
- default:
- this.triggerEvent(e)
- }
- 'enterFrame' === e &&
- this.onEnterFrame &&
- this.onEnterFrame.call(
- this,
- new BMEnterFrameEvent(
- e,
- this.currentFrame,
- this.totalFrames,
- this.frameMult
- )
- ),
- 'loopComplete' === e &&
- this.onLoopComplete &&
- this.onLoopComplete.call(
- this,
- new BMCompleteLoopEvent(e, this.loop, this.playCount, this.frameMult)
- ),
- 'complete' === e &&
- this.onComplete &&
- this.onComplete.call(this, new BMCompleteEvent(e, this.frameMult)),
- 'segmentStart' === e &&
- this.onSegmentStart &&
- this.onSegmentStart.call(
- this,
- new BMSegmentStartEvent(e, this.firstFrame, this.totalFrames)
- ),
- 'destroy' === e &&
- this.onDestroy &&
- this.onDestroy.call(this, new BMDestroyEvent(e, this))
- }),
- (AnimationItem.prototype.triggerRenderFrameError = function (e) {
- var t = new BMRenderFrameErrorEvent(e, this.currentFrame)
- this.triggerEvent('error', t), this.onError && this.onError.call(this, t)
- }),
- (AnimationItem.prototype.triggerConfigError = function (e) {
- var t = new BMConfigErrorEvent(e, this.currentFrame)
- this.triggerEvent('error', t), this.onError && this.onError.call(this, t)
- })
- var animationManager = (function () {
- var e = {},
- t = [],
- n = 0,
- r = 0,
- a = 0,
- o = !0,
- i = !1
- function s(e) {
- for (var n = 0, a = e.target; n < r; )
- t[n].animation === a &&
- (t.splice(n, 1), (n -= 1), (r -= 1), a.isPaused || u()),
- (n += 1)
- }
- function l(e, n) {
- if (!e) return null
- for (var a = 0; a < r; ) {
- if (t[a].elem === e && null !== t[a].elem) return t[a].animation
- a += 1
- }
- var o = new AnimationItem()
- return p(o, e), o.setData(e, n), o
- }
- function c() {
- ;(a += 1), h()
- }
- function u() {
- a -= 1
- }
- function p(e, n) {
- e.addEventListener('destroy', s),
- e.addEventListener('_active', c),
- e.addEventListener('_idle', u),
- t.push({ elem: n, animation: e }),
- (r += 1)
- }
- function d(e) {
- var s,
- l = e - n
- for (s = 0; s < r; s += 1) t[s].animation.advanceTime(l)
- ;(n = e), a && !i ? window.requestAnimationFrame(d) : (o = !0)
- }
- function f(e) {
- ;(n = e), window.requestAnimationFrame(d)
- }
- function h() {
- !i && a && o && (window.requestAnimationFrame(f), (o = !1))
- }
- return (
- (e.registerAnimation = l),
- (e.loadAnimation = function (e) {
- var t = new AnimationItem()
- return p(t, null), t.setParams(e), t
- }),
- (e.setSpeed = function (e, n) {
- var a
- for (a = 0; a < r; a += 1) t[a].animation.setSpeed(e, n)
- }),
- (e.setDirection = function (e, n) {
- var a
- for (a = 0; a < r; a += 1) t[a].animation.setDirection(e, n)
- }),
- (e.play = function (e) {
- var n
- for (n = 0; n < r; n += 1) t[n].animation.play(e)
- }),
- (e.pause = function (e) {
- var n
- for (n = 0; n < r; n += 1) t[n].animation.pause(e)
- }),
- (e.stop = function (e) {
- var n
- for (n = 0; n < r; n += 1) t[n].animation.stop(e)
- }),
- (e.togglePause = function (e) {
- var n
- for (n = 0; n < r; n += 1) t[n].animation.togglePause(e)
- }),
- (e.searchAnimations = function (e, t, n) {
- var r,
- a = [].concat(
- [].slice.call(document.getElementsByClassName('lottie')),
- [].slice.call(document.getElementsByClassName('bodymovin'))
- ),
- o = a.length
- for (r = 0; r < o; r += 1)
- n && a[r].setAttribute('data-bm-type', n), l(a[r], e)
- if (t && 0 === o) {
- n || (n = 'svg')
- var i = document.getElementsByTagName('body')[0]
- i.innerText = ''
- var s = createTag('div')
- ;(s.style.width = '100%'),
- (s.style.height = '100%'),
- s.setAttribute('data-bm-type', n),
- i.appendChild(s),
- l(s, e)
- }
- }),
- (e.resize = function () {
- var e
- for (e = 0; e < r; e += 1) t[e].animation.resize()
- }),
- (e.goToAndStop = function (e, n, a) {
- var o
- for (o = 0; o < r; o += 1) t[o].animation.goToAndStop(e, n, a)
- }),
- (e.destroy = function (e) {
- var n
- for (n = r - 1; n >= 0; n -= 1) t[n].animation.destroy(e)
- }),
- (e.freeze = function () {
- i = !0
- }),
- (e.unfreeze = function () {
- ;(i = !1), h()
- }),
- (e.setVolume = function (e, n) {
- var a
- for (a = 0; a < r; a += 1) t[a].animation.setVolume(e, n)
- }),
- (e.mute = function (e) {
- var n
- for (n = 0; n < r; n += 1) t[n].animation.mute(e)
- }),
- (e.unmute = function (e) {
- var n
- for (n = 0; n < r; n += 1) t[n].animation.unmute(e)
- }),
- (e.getRegisteredAnimations = function () {
- var e,
- n = t.length,
- r = []
- for (e = 0; e < n; e += 1) r.push(t[e].animation)
- return r
- }),
- e
- )
- })(),
- BezierFactory = (function () {
- var e = {
- getBezierEasing: function (e, n, r, a, o) {
- var i =
- o || ('bez_' + e + '_' + n + '_' + r + '_' + a).replace(/\./g, 'p')
- if (t[i]) return t[i]
- var s = new c([e, n, r, a])
- return (t[i] = s), s
- }
- },
- t = {},
- n = 0.1,
- r = 'function' == typeof Float32Array
- function a(e, t) {
- return 1 - 3 * t + 3 * e
- }
- function o(e, t) {
- return 3 * t - 6 * e
- }
- function i(e) {
- return 3 * e
- }
- function s(e, t, n) {
- return ((a(t, n) * e + o(t, n)) * e + i(t)) * e
- }
- function l(e, t, n) {
- return 3 * a(t, n) * e * e + 2 * o(t, n) * e + i(t)
- }
- function c(e) {
- ;(this._p = e),
- (this._mSampleValues = r ? new Float32Array(11) : new Array(11)),
- (this._precomputed = !1),
- (this.get = this.get.bind(this))
- }
- return (
- (c.prototype = {
- get: function (e) {
- var t = this._p[0],
- n = this._p[1],
- r = this._p[2],
- a = this._p[3]
- return (
- this._precomputed || this._precompute(),
- t === n && r === a
- ? e
- : 0 === e
- ? 0
- : 1 === e
- ? 1
- : s(this._getTForX(e), n, a)
- )
- },
- _precompute: function () {
- var e = this._p[0],
- t = this._p[1],
- n = this._p[2],
- r = this._p[3]
- ;(this._precomputed = !0),
- (e === t && n === r) || this._calcSampleValues()
- },
- _calcSampleValues: function () {
- for (var e = this._p[0], t = this._p[2], r = 0; r < 11; ++r)
- this._mSampleValues[r] = s(r * n, e, t)
- },
- _getTForX: function (e) {
- for (
- var t = this._p[0],
- r = this._p[2],
- a = this._mSampleValues,
- o = 0,
- i = 1;
- 10 !== i && a[i] <= e;
- ++i
- )
- o += n
- var c = o + ((e - a[--i]) / (a[i + 1] - a[i])) * n,
- u = l(c, t, r)
- return u >= 0.001
- ? (function (e, t, n, r) {
- for (var a = 0; a < 4; ++a) {
- var o = l(t, n, r)
- if (0 === o) return t
- t -= (s(t, n, r) - e) / o
- }
- return t
- })(e, c, t, r)
- : 0 === u
- ? c
- : (function (e, t, n, r, a) {
- var o,
- i,
- l = 0
- do {
- ;(o = s((i = t + (n - t) / 2), r, a) - e) > 0 ? (n = i) : (t = i)
- } while (Math.abs(o) > 1e-7 && ++l < 10)
- return i
- })(e, o, o + n, t, r)
- }
- }),
- e
- )
- })(),
- pooling = {
- double: function (e) {
- return e.concat(createSizedArray(e.length))
- }
- },
- poolFactory = function (e, t, n) {
- var r = 0,
- a = e,
- o = createSizedArray(a)
- return {
- newElement: function () {
- return r ? o[(r -= 1)] : t()
- },
- release: function (e) {
- r === a && ((o = pooling.double(o)), (a *= 2)),
- n && n(e),
- (o[r] = e),
- (r += 1)
- }
- }
- },
- bezierLengthPool = poolFactory(8, function () {
- return {
- addedLength: 0,
- percents: createTypedArray('float32', getDefaultCurveSegments()),
- lengths: createTypedArray('float32', getDefaultCurveSegments())
- }
- }),
- segmentsLengthPool = poolFactory(
- 8,
- function () {
- return { lengths: [], totalLength: 0 }
- },
- function (e) {
- var t,
- n = e.lengths.length
- for (t = 0; t < n; t += 1) bezierLengthPool.release(e.lengths[t])
- e.lengths.length = 0
- }
- )
- function bezFunction() {
- var e = Math
- function t(e, t, n, r, a, o) {
- var i = e * r + t * a + n * o - a * r - o * e - n * t
- return i > -0.001 && i < 0.001
- }
- var n = function (e, t, n, r) {
- var a,
- o,
- i,
- s,
- l,
- c,
- u = getDefaultCurveSegments(),
- p = 0,
- d = [],
- f = [],
- h = bezierLengthPool.newElement()
- for (i = n.length, a = 0; a < u; a += 1) {
- for (l = a / (u - 1), c = 0, o = 0; o < i; o += 1)
- (s =
- bmPow(1 - l, 3) * e[o] +
- 3 * bmPow(1 - l, 2) * l * n[o] +
- 3 * (1 - l) * bmPow(l, 2) * r[o] +
- bmPow(l, 3) * t[o]),
- (d[o] = s),
- null !== f[o] && (c += bmPow(d[o] - f[o], 2)),
- (f[o] = d[o])
- c && (p += c = bmSqrt(c)), (h.percents[a] = l), (h.lengths[a] = p)
- }
- return (h.addedLength = p), h
- }
- function r(e) {
- ;(this.segmentLength = 0), (this.points = new Array(e))
- }
- function a(e, t) {
- ;(this.partialLength = e), (this.point = t)
- }
- var o,
- i =
- ((o = {}),
- function (e, n, i, s) {
- var l = (
- e[0] +
- '_' +
- e[1] +
- '_' +
- n[0] +
- '_' +
- n[1] +
- '_' +
- i[0] +
- '_' +
- i[1] +
- '_' +
- s[0] +
- '_' +
- s[1]
- ).replace(/\./g, 'p')
- if (!o[l]) {
- var c,
- u,
- p,
- d,
- f,
- h,
- v,
- m = getDefaultCurveSegments(),
- g = 0,
- y = null
- 2 === e.length &&
- (e[0] !== n[0] || e[1] !== n[1]) &&
- t(e[0], e[1], n[0], n[1], e[0] + i[0], e[1] + i[1]) &&
- t(e[0], e[1], n[0], n[1], n[0] + s[0], n[1] + s[1]) &&
- (m = 2)
- var b = new r(m)
- for (p = i.length, c = 0; c < m; c += 1) {
- for (
- v = createSizedArray(p), f = c / (m - 1), h = 0, u = 0;
- u < p;
- u += 1
- )
- (d =
- bmPow(1 - f, 3) * e[u] +
- 3 * bmPow(1 - f, 2) * f * (e[u] + i[u]) +
- 3 * (1 - f) * bmPow(f, 2) * (n[u] + s[u]) +
- bmPow(f, 3) * n[u]),
- (v[u] = d),
- null !== y && (h += bmPow(v[u] - y[u], 2))
- ;(g += h = bmSqrt(h)), (b.points[c] = new a(h, v)), (y = v)
- }
- ;(b.segmentLength = g), (o[l] = b)
- }
- return o[l]
- })
- function s(e, t) {
- var n = t.percents,
- r = t.lengths,
- a = n.length,
- o = bmFloor((a - 1) * e),
- i = e * t.addedLength,
- s = 0
- if (o === a - 1 || 0 === o || i === r[o]) return n[o]
- for (var l = r[o] > i ? -1 : 1, c = !0; c; )
- if (
- (r[o] <= i && r[o + 1] > i
- ? ((s = (i - r[o]) / (r[o + 1] - r[o])), (c = !1))
- : (o += l),
- o < 0 || o >= a - 1)
- ) {
- if (o === a - 1) return n[o]
- c = !1
- }
- return n[o] + (n[o + 1] - n[o]) * s
- }
- var l = createTypedArray('float32', 8)
- return {
- getSegmentsLength: function (e) {
- var t,
- r = segmentsLengthPool.newElement(),
- a = e.c,
- o = e.v,
- i = e.o,
- s = e.i,
- l = e._length,
- c = r.lengths,
- u = 0
- for (t = 0; t < l - 1; t += 1)
- (c[t] = n(o[t], o[t + 1], i[t], s[t + 1])), (u += c[t].addedLength)
- return (
- a && l && ((c[t] = n(o[t], o[0], i[t], s[0])), (u += c[t].addedLength)),
- (r.totalLength = u),
- r
- )
- },
- getNewSegment: function (t, n, r, a, o, i, c) {
- o < 0 ? (o = 0) : o > 1 && (o = 1)
- var u,
- p = s(o, c),
- d = s((i = i > 1 ? 1 : i), c),
- f = t.length,
- h = 1 - p,
- v = 1 - d,
- m = h * h * h,
- g = p * h * h * 3,
- y = p * p * h * 3,
- b = p * p * p,
- _ = h * h * v,
- A = p * h * v + h * p * v + h * h * d,
- x = p * p * v + h * p * d + p * h * d,
- w = p * p * d,
- k = h * v * v,
- S = p * v * v + h * d * v + h * v * d,
- E = p * d * v + h * d * d + p * v * d,
- P = p * d * d,
- C = v * v * v,
- T = d * v * v + v * d * v + v * v * d,
- I = d * d * v + v * d * d + d * v * d,
- R = d * d * d
- for (u = 0; u < f; u += 1)
- (l[4 * u] =
- e.round(1e3 * (m * t[u] + g * r[u] + y * a[u] + b * n[u])) / 1e3),
- (l[4 * u + 1] =
- e.round(1e3 * (_ * t[u] + A * r[u] + x * a[u] + w * n[u])) / 1e3),
- (l[4 * u + 2] =
- e.round(1e3 * (k * t[u] + S * r[u] + E * a[u] + P * n[u])) / 1e3),
- (l[4 * u + 3] =
- e.round(1e3 * (C * t[u] + T * r[u] + I * a[u] + R * n[u])) / 1e3)
- return l
- },
- getPointInSegment: function (t, n, r, a, o, i) {
- var l = s(o, i),
- c = 1 - l
- return [
- e.round(
- 1e3 *
- (c * c * c * t[0] +
- (l * c * c + c * l * c + c * c * l) * r[0] +
- (l * l * c + c * l * l + l * c * l) * a[0] +
- l * l * l * n[0])
- ) / 1e3,
- e.round(
- 1e3 *
- (c * c * c * t[1] +
- (l * c * c + c * l * c + c * c * l) * r[1] +
- (l * l * c + c * l * l + l * c * l) * a[1] +
- l * l * l * n[1])
- ) / 1e3
- ]
- },
- buildBezierData: i,
- pointOnLine2D: t,
- pointOnLine3D: function (n, r, a, o, i, s, l, c, u) {
- if (0 === a && 0 === s && 0 === u) return t(n, r, o, i, l, c)
- var p,
- d = e.sqrt(e.pow(o - n, 2) + e.pow(i - r, 2) + e.pow(s - a, 2)),
- f = e.sqrt(e.pow(l - n, 2) + e.pow(c - r, 2) + e.pow(u - a, 2)),
- h = e.sqrt(e.pow(l - o, 2) + e.pow(c - i, 2) + e.pow(u - s, 2))
- return (
- (p =
- d > f ? (d > h ? d - f - h : h - f - d) : h > f ? h - f - d : f - d - h) >
- -1e-4 && p < 1e-4
- )
- }
- }
- }
- var bez = bezFunction(),
- PropertyFactory = (function () {
- var e = initialDefaultFrame,
- t = Math.abs
- function n(e, t) {
- var n,
- a = this.offsetTime
- 'multidimensional' === this.propType &&
- (n = createTypedArray('float32', this.pv.length))
- for (
- var o,
- i,
- s,
- l,
- c,
- u,
- p,
- d,
- f,
- h = t.lastIndex,
- v = h,
- m = this.keyframes.length - 1,
- g = !0;
- g;
- ) {
- if (
- ((o = this.keyframes[v]),
- (i = this.keyframes[v + 1]),
- v === m - 1 && e >= i.t - a)
- ) {
- o.h && (o = i), (h = 0)
- break
- }
- if (i.t - a > e) {
- h = v
- break
- }
- v < m - 1 ? (v += 1) : ((h = 0), (g = !1))
- }
- s = this.keyframesMetadata[v] || {}
- var y,
- b,
- _,
- A,
- x,
- w,
- k,
- S,
- E,
- P,
- C = i.t - a,
- T = o.t - a
- if (o.to) {
- s.bezierData ||
- (s.bezierData = bez.buildBezierData(o.s, i.s || o.e, o.to, o.ti))
- var I = s.bezierData
- if (e >= C || e < T) {
- var R = e >= C ? I.points.length - 1 : 0
- for (c = I.points[R].point.length, l = 0; l < c; l += 1)
- n[l] = I.points[R].point[l]
- } else {
- s.__fnct
- ? (f = s.__fnct)
- : ((f = BezierFactory.getBezierEasing(
- o.o.x,
- o.o.y,
- o.i.x,
- o.i.y,
- o.n
- ).get),
- (s.__fnct = f)),
- (u = f((e - T) / (C - T)))
- var M,
- z = I.segmentLength * u,
- O =
- t.lastFrame < e && t._lastKeyframeIndex === v ? t._lastAddedLength : 0
- for (
- d = t.lastFrame < e && t._lastKeyframeIndex === v ? t._lastPoint : 0,
- g = !0,
- p = I.points.length;
- g;
- ) {
- if (
- ((O += I.points[d].partialLength),
- 0 === z || 0 === u || d === I.points.length - 1)
- ) {
- for (c = I.points[d].point.length, l = 0; l < c; l += 1)
- n[l] = I.points[d].point[l]
- break
- }
- if (z >= O && z < O + I.points[d + 1].partialLength) {
- for (
- M = (z - O) / I.points[d + 1].partialLength,
- c = I.points[d].point.length,
- l = 0;
- l < c;
- l += 1
- )
- n[l] =
- I.points[d].point[l] +
- (I.points[d + 1].point[l] - I.points[d].point[l]) * M
- break
- }
- d < p - 1 ? (d += 1) : (g = !1)
- }
- ;(t._lastPoint = d),
- (t._lastAddedLength = O - I.points[d].partialLength),
- (t._lastKeyframeIndex = v)
- }
- } else {
- var D, F, B, N, j
- if (((m = o.s.length), (y = i.s || o.e), this.sh && 1 !== o.h))
- if (e >= C) (n[0] = y[0]), (n[1] = y[1]), (n[2] = y[2])
- else if (e <= T) (n[0] = o.s[0]), (n[1] = o.s[1]), (n[2] = o.s[2])
- else {
- var V = r(o.s),
- L = r(y)
- ;(b = n),
- (_ = (function (e, t, n) {
- var r,
- a,
- o,
- i,
- s,
- l = [],
- c = e[0],
- u = e[1],
- p = e[2],
- d = e[3],
- f = t[0],
- h = t[1],
- v = t[2],
- m = t[3]
- return (
- (a = c * f + u * h + p * v + d * m) < 0 &&
- ((a = -a), (f = -f), (h = -h), (v = -v), (m = -m)),
- 1 - a > 1e-6
- ? ((r = Math.acos(a)),
- (o = Math.sin(r)),
- (i = Math.sin((1 - n) * r) / o),
- (s = Math.sin(n * r) / o))
- : ((i = 1 - n), (s = n)),
- (l[0] = i * c + s * f),
- (l[1] = i * u + s * h),
- (l[2] = i * p + s * v),
- (l[3] = i * d + s * m),
- l
- )
- })(V, L, (e - T) / (C - T))),
- (A = _[0]),
- (x = _[1]),
- (w = _[2]),
- (k = _[3]),
- (S = Math.atan2(2 * x * k - 2 * A * w, 1 - 2 * x * x - 2 * w * w)),
- (E = Math.asin(2 * A * x + 2 * w * k)),
- (P = Math.atan2(2 * A * k - 2 * x * w, 1 - 2 * A * A - 2 * w * w)),
- (b[0] = S / degToRads),
- (b[1] = E / degToRads),
- (b[2] = P / degToRads)
- }
- else
- for (v = 0; v < m; v += 1)
- 1 !== o.h &&
- (e >= C
- ? (u = 1)
- : e < T
- ? (u = 0)
- : (o.o.x.constructor === Array
- ? (s.__fnct || (s.__fnct = []),
- s.__fnct[v]
- ? (f = s.__fnct[v])
- : ((D = void 0 === o.o.x[v] ? o.o.x[0] : o.o.x[v]),
- (F = void 0 === o.o.y[v] ? o.o.y[0] : o.o.y[v]),
- (B = void 0 === o.i.x[v] ? o.i.x[0] : o.i.x[v]),
- (N = void 0 === o.i.y[v] ? o.i.y[0] : o.i.y[v]),
- (f = BezierFactory.getBezierEasing(D, F, B, N).get),
- (s.__fnct[v] = f)))
- : s.__fnct
- ? (f = s.__fnct)
- : ((D = o.o.x),
- (F = o.o.y),
- (B = o.i.x),
- (N = o.i.y),
- (f = BezierFactory.getBezierEasing(D, F, B, N).get),
- (o.keyframeMetadata = f)),
- (u = f((e - T) / (C - T))))),
- (y = i.s || o.e),
- (j = 1 === o.h ? o.s[v] : o.s[v] + (y[v] - o.s[v]) * u),
- 'multidimensional' === this.propType ? (n[v] = j) : (n = j)
- }
- return (t.lastIndex = h), n
- }
- function r(e) {
- var t = e[0] * degToRads,
- n = e[1] * degToRads,
- r = e[2] * degToRads,
- a = Math.cos(t / 2),
- o = Math.cos(n / 2),
- i = Math.cos(r / 2),
- s = Math.sin(t / 2),
- l = Math.sin(n / 2),
- c = Math.sin(r / 2)
- return [
- s * l * i + a * o * c,
- s * o * i + a * l * c,
- a * l * i - s * o * c,
- a * o * i - s * l * c
- ]
- }
- function a() {
- var t = this.comp.renderedFrame - this.offsetTime,
- n = this.keyframes[0].t - this.offsetTime,
- r = this.keyframes[this.keyframes.length - 1].t - this.offsetTime
- if (
- !(
- t === this._caching.lastFrame ||
- (this._caching.lastFrame !== e &&
- ((this._caching.lastFrame >= r && t >= r) ||
- (this._caching.lastFrame < n && t < n)))
- )
- ) {
- this._caching.lastFrame >= t &&
- ((this._caching._lastKeyframeIndex = -1), (this._caching.lastIndex = 0))
- var a = this.interpolateValue(t, this._caching)
- this.pv = a
- }
- return (this._caching.lastFrame = t), this.pv
- }
- function o(e) {
- var n
- if ('unidimensional' === this.propType)
- (n = e * this.mult),
- t(this.v - n) > 1e-5 && ((this.v = n), (this._mdf = !0))
- else
- for (var r = 0, a = this.v.length; r < a; )
- (n = e[r] * this.mult),
- t(this.v[r] - n) > 1e-5 && ((this.v[r] = n), (this._mdf = !0)),
- (r += 1)
- }
- function i() {
- if (
- this.elem.globalData.frameId !== this.frameId &&
- this.effectsSequence.length
- )
- if (this.lock) this.setVValue(this.pv)
- else {
- var e
- ;(this.lock = !0), (this._mdf = this._isFirstFrame)
- var t = this.effectsSequence.length,
- n = this.kf ? this.pv : this.data.k
- for (e = 0; e < t; e += 1) n = this.effectsSequence[e](n)
- this.setVValue(n),
- (this._isFirstFrame = !1),
- (this.lock = !1),
- (this.frameId = this.elem.globalData.frameId)
- }
- }
- function s(e) {
- this.effectsSequence.push(e), this.container.addDynamicProperty(this)
- }
- function l(e, t, n, r) {
- ;(this.propType = 'unidimensional'),
- (this.mult = n || 1),
- (this.data = t),
- (this.v = n ? t.k * n : t.k),
- (this.pv = t.k),
- (this._mdf = !1),
- (this.elem = e),
- (this.container = r),
- (this.comp = e.comp),
- (this.k = !1),
- (this.kf = !1),
- (this.vel = 0),
- (this.effectsSequence = []),
- (this._isFirstFrame = !0),
- (this.getValue = i),
- (this.setVValue = o),
- (this.addEffect = s)
- }
- function c(e, t, n, r) {
- var a
- ;(this.propType = 'multidimensional'),
- (this.mult = n || 1),
- (this.data = t),
- (this._mdf = !1),
- (this.elem = e),
- (this.container = r),
- (this.comp = e.comp),
- (this.k = !1),
- (this.kf = !1),
- (this.frameId = -1)
- var l = t.k.length
- for (
- this.v = createTypedArray('float32', l),
- this.pv = createTypedArray('float32', l),
- this.vel = createTypedArray('float32', l),
- a = 0;
- a < l;
- a += 1
- )
- (this.v[a] = t.k[a] * this.mult), (this.pv[a] = t.k[a])
- ;(this._isFirstFrame = !0),
- (this.effectsSequence = []),
- (this.getValue = i),
- (this.setVValue = o),
- (this.addEffect = s)
- }
- function u(t, r, l, c) {
- ;(this.propType = 'unidimensional'),
- (this.keyframes = r.k),
- (this.keyframesMetadata = []),
- (this.offsetTime = t.data.st),
- (this.frameId = -1),
- (this._caching = {
- lastFrame: e,
- lastIndex: 0,
- value: 0,
- _lastKeyframeIndex: -1
- }),
- (this.k = !0),
- (this.kf = !0),
- (this.data = r),
- (this.mult = l || 1),
- (this.elem = t),
- (this.container = c),
- (this.comp = t.comp),
- (this.v = e),
- (this.pv = e),
- (this._isFirstFrame = !0),
- (this.getValue = i),
- (this.setVValue = o),
- (this.interpolateValue = n),
- (this.effectsSequence = [a.bind(this)]),
- (this.addEffect = s)
- }
- function p(t, r, l, c) {
- var u
- this.propType = 'multidimensional'
- var p,
- d,
- f,
- h,
- v = r.k.length
- for (u = 0; u < v - 1; u += 1)
- r.k[u].to &&
- r.k[u].s &&
- r.k[u + 1] &&
- r.k[u + 1].s &&
- ((p = r.k[u].s),
- (d = r.k[u + 1].s),
- (f = r.k[u].to),
- (h = r.k[u].ti),
- ((2 === p.length &&
- (p[0] !== d[0] || p[1] !== d[1]) &&
- bez.pointOnLine2D(p[0], p[1], d[0], d[1], p[0] + f[0], p[1] + f[1]) &&
- bez.pointOnLine2D(p[0], p[1], d[0], d[1], d[0] + h[0], d[1] + h[1])) ||
- (3 === p.length &&
- (p[0] !== d[0] || p[1] !== d[1] || p[2] !== d[2]) &&
- bez.pointOnLine3D(
- p[0],
- p[1],
- p[2],
- d[0],
- d[1],
- d[2],
- p[0] + f[0],
- p[1] + f[1],
- p[2] + f[2]
- ) &&
- bez.pointOnLine3D(
- p[0],
- p[1],
- p[2],
- d[0],
- d[1],
- d[2],
- d[0] + h[0],
- d[1] + h[1],
- d[2] + h[2]
- ))) &&
- ((r.k[u].to = null), (r.k[u].ti = null)),
- p[0] === d[0] &&
- p[1] === d[1] &&
- 0 === f[0] &&
- 0 === f[1] &&
- 0 === h[0] &&
- 0 === h[1] &&
- (2 === p.length || (p[2] === d[2] && 0 === f[2] && 0 === h[2])) &&
- ((r.k[u].to = null), (r.k[u].ti = null)))
- ;(this.effectsSequence = [a.bind(this)]),
- (this.data = r),
- (this.keyframes = r.k),
- (this.keyframesMetadata = []),
- (this.offsetTime = t.data.st),
- (this.k = !0),
- (this.kf = !0),
- (this._isFirstFrame = !0),
- (this.mult = l || 1),
- (this.elem = t),
- (this.container = c),
- (this.comp = t.comp),
- (this.getValue = i),
- (this.setVValue = o),
- (this.interpolateValue = n),
- (this.frameId = -1)
- var m = r.k[0].s.length
- for (
- this.v = createTypedArray('float32', m),
- this.pv = createTypedArray('float32', m),
- u = 0;
- u < m;
- u += 1
- )
- (this.v[u] = e), (this.pv[u] = e)
- ;(this._caching = {
- lastFrame: e,
- lastIndex: 0,
- value: createTypedArray('float32', m)
- }),
- (this.addEffect = s)
- }
- var d = {
- getProp: function (e, t, n, r, a) {
- var o
- if (t.k.length)
- if ('number' == typeof t.k[0]) o = new c(e, t, r, a)
- else
- switch (n) {
- case 0:
- o = new u(e, t, r, a)
- break
- case 1:
- o = new p(e, t, r, a)
- }
- else o = new l(e, t, r, a)
- return o.effectsSequence.length && a.addDynamicProperty(o), o
- }
- }
- return d
- })()
- function DynamicPropertyContainer() {}
- DynamicPropertyContainer.prototype = {
- addDynamicProperty: function (e) {
- ;-1 === this.dynamicProperties.indexOf(e) &&
- (this.dynamicProperties.push(e),
- this.container.addDynamicProperty(this),
- (this._isAnimated = !0))
- },
- iterateDynamicProperties: function () {
- var e
- this._mdf = !1
- var t = this.dynamicProperties.length
- for (e = 0; e < t; e += 1)
- this.dynamicProperties[e].getValue(),
- this.dynamicProperties[e]._mdf && (this._mdf = !0)
- },
- initDynamicPropertyContainer: function (e) {
- ;(this.container = e),
- (this.dynamicProperties = []),
- (this._mdf = !1),
- (this._isAnimated = !1)
- }
- }
- var pointPool = poolFactory(8, function () {
- return createTypedArray('float32', 2)
- })
- function ShapePath() {
- ;(this.c = !1),
- (this._length = 0),
- (this._maxLength = 8),
- (this.v = createSizedArray(this._maxLength)),
- (this.o = createSizedArray(this._maxLength)),
- (this.i = createSizedArray(this._maxLength))
- }
- ;(ShapePath.prototype.setPathData = function (e, t) {
- ;(this.c = e), this.setLength(t)
- for (var n = 0; n < t; )
- (this.v[n] = pointPool.newElement()),
- (this.o[n] = pointPool.newElement()),
- (this.i[n] = pointPool.newElement()),
- (n += 1)
- }),
- (ShapePath.prototype.setLength = function (e) {
- for (; this._maxLength < e; ) this.doubleArrayLength()
- this._length = e
- }),
- (ShapePath.prototype.doubleArrayLength = function () {
- ;(this.v = this.v.concat(createSizedArray(this._maxLength))),
- (this.i = this.i.concat(createSizedArray(this._maxLength))),
- (this.o = this.o.concat(createSizedArray(this._maxLength))),
- (this._maxLength *= 2)
- }),
- (ShapePath.prototype.setXYAt = function (e, t, n, r, a) {
- var o
- switch (
- ((this._length = Math.max(this._length, r + 1)),
- this._length >= this._maxLength && this.doubleArrayLength(),
- n)
- ) {
- case 'v':
- o = this.v
- break
- case 'i':
- o = this.i
- break
- case 'o':
- o = this.o
- break
- default:
- o = []
- }
- ;(!o[r] || (o[r] && !a)) && (o[r] = pointPool.newElement()),
- (o[r][0] = e),
- (o[r][1] = t)
- }),
- (ShapePath.prototype.setTripleAt = function (e, t, n, r, a, o, i, s) {
- this.setXYAt(e, t, 'v', i, s),
- this.setXYAt(n, r, 'o', i, s),
- this.setXYAt(a, o, 'i', i, s)
- }),
- (ShapePath.prototype.reverse = function () {
- var e = new ShapePath()
- e.setPathData(this.c, this._length)
- var t = this.v,
- n = this.o,
- r = this.i,
- a = 0
- this.c &&
- (e.setTripleAt(t[0][0], t[0][1], r[0][0], r[0][1], n[0][0], n[0][1], 0, !1),
- (a = 1))
- var o,
- i = this._length - 1,
- s = this._length
- for (o = a; o < s; o += 1)
- e.setTripleAt(t[i][0], t[i][1], r[i][0], r[i][1], n[i][0], n[i][1], o, !1),
- (i -= 1)
- return e
- })
- var shapePool =
- ((factory = poolFactory(
- 4,
- function () {
- return new ShapePath()
- },
- function (e) {
- var t,
- n = e._length
- for (t = 0; t < n; t += 1)
- pointPool.release(e.v[t]),
- pointPool.release(e.i[t]),
- pointPool.release(e.o[t]),
- (e.v[t] = null),
- (e.i[t] = null),
- (e.o[t] = null)
- ;(e._length = 0), (e.c = !1)
- }
- )),
- (factory.clone = function (e) {
- var t,
- n = factory.newElement(),
- r = void 0 === e._length ? e.v.length : e._length
- for (n.setLength(r), n.c = e.c, t = 0; t < r; t += 1)
- n.setTripleAt(
- e.v[t][0],
- e.v[t][1],
- e.o[t][0],
- e.o[t][1],
- e.i[t][0],
- e.i[t][1],
- t
- )
- return n
- }),
- factory),
- factory
- function ShapeCollection() {
- ;(this._length = 0),
- (this._maxLength = 4),
- (this.shapes = createSizedArray(this._maxLength))
- }
- ;(ShapeCollection.prototype.addShape = function (e) {
- this._length === this._maxLength &&
- ((this.shapes = this.shapes.concat(createSizedArray(this._maxLength))),
- (this._maxLength *= 2)),
- (this.shapes[this._length] = e),
- (this._length += 1)
- }),
- (ShapeCollection.prototype.releaseShapes = function () {
- var e
- for (e = 0; e < this._length; e += 1) shapePool.release(this.shapes[e])
- this._length = 0
- })
- var shapeCollectionPool =
- ((ob = {
- newShapeCollection: function () {
- return _length ? pool[(_length -= 1)] : new ShapeCollection()
- },
- release: function (e) {
- var t,
- n = e._length
- for (t = 0; t < n; t += 1) shapePool.release(e.shapes[t])
- ;(e._length = 0),
- _length === _maxLength &&
- ((pool = pooling.double(pool)), (_maxLength *= 2)),
- (pool[_length] = e),
- (_length += 1)
- }
- }),
- (_length = 0),
- (_maxLength = 4),
- (pool = createSizedArray(_maxLength)),
- ob),
- ob,
- _length,
- _maxLength,
- pool,
- ShapePropertyFactory = (function () {
- var e = -999999
- function t(e, t, n) {
- var r,
- a,
- o,
- i,
- s,
- l,
- c,
- u,
- p,
- d = n.lastIndex,
- f = this.keyframes
- if (e < f[0].t - this.offsetTime) (r = f[0].s[0]), (o = !0), (d = 0)
- else if (e >= f[f.length - 1].t - this.offsetTime)
- (r = f[f.length - 1].s ? f[f.length - 1].s[0] : f[f.length - 2].e[0]),
- (o = !0)
- else {
- for (
- var h, v, m, g = d, y = f.length - 1, b = !0;
- b && ((h = f[g]), !((v = f[g + 1]).t - this.offsetTime > e));
- )
- g < y - 1 ? (g += 1) : (b = !1)
- if (((m = this.keyframesMetadata[g] || {}), (d = g), !(o = 1 === h.h))) {
- if (e >= v.t - this.offsetTime) u = 1
- else if (e < h.t - this.offsetTime) u = 0
- else {
- var _
- m.__fnct
- ? (_ = m.__fnct)
- : ((_ = BezierFactory.getBezierEasing(
- h.o.x,
- h.o.y,
- h.i.x,
- h.i.y
- ).get),
- (m.__fnct = _)),
- (u = _(
- (e - (h.t - this.offsetTime)) /
- (v.t - this.offsetTime - (h.t - this.offsetTime))
- ))
- }
- a = v.s ? v.s[0] : h.e[0]
- }
- r = h.s[0]
- }
- for (l = t._length, c = r.i[0].length, n.lastIndex = d, i = 0; i < l; i += 1)
- for (s = 0; s < c; s += 1)
- (p = o ? r.i[i][s] : r.i[i][s] + (a.i[i][s] - r.i[i][s]) * u),
- (t.i[i][s] = p),
- (p = o ? r.o[i][s] : r.o[i][s] + (a.o[i][s] - r.o[i][s]) * u),
- (t.o[i][s] = p),
- (p = o ? r.v[i][s] : r.v[i][s] + (a.v[i][s] - r.v[i][s]) * u),
- (t.v[i][s] = p)
- }
- function n() {
- var t = this.comp.renderedFrame - this.offsetTime,
- n = this.keyframes[0].t - this.offsetTime,
- r = this.keyframes[this.keyframes.length - 1].t - this.offsetTime,
- a = this._caching.lastFrame
- return (
- (a !== e && ((a < n && t < n) || (a > r && t > r))) ||
- ((this._caching.lastIndex = a < t ? this._caching.lastIndex : 0),
- this.interpolateShape(t, this.pv, this._caching)),
- (this._caching.lastFrame = t),
- this.pv
- )
- }
- function r() {
- this.paths = this.localShapeCollection
- }
- function a(e) {
- ;(function (e, t) {
- if (e._length !== t._length || e.c !== t.c) return !1
- var n,
- r = e._length
- for (n = 0; n < r; n += 1)
- if (
- e.v[n][0] !== t.v[n][0] ||
- e.v[n][1] !== t.v[n][1] ||
- e.o[n][0] !== t.o[n][0] ||
- e.o[n][1] !== t.o[n][1] ||
- e.i[n][0] !== t.i[n][0] ||
- e.i[n][1] !== t.i[n][1]
- )
- return !1
- return !0
- })(this.v, e) ||
- ((this.v = shapePool.clone(e)),
- this.localShapeCollection.releaseShapes(),
- this.localShapeCollection.addShape(this.v),
- (this._mdf = !0),
- (this.paths = this.localShapeCollection))
- }
- function o() {
- if (this.elem.globalData.frameId !== this.frameId)
- if (this.effectsSequence.length)
- if (this.lock) this.setVValue(this.pv)
- else {
- var e, t
- ;(this.lock = !0),
- (this._mdf = !1),
- (e = this.kf
- ? this.pv
- : this.data.ks
- ? this.data.ks.k
- : this.data.pt.k)
- var n = this.effectsSequence.length
- for (t = 0; t < n; t += 1) e = this.effectsSequence[t](e)
- this.setVValue(e),
- (this.lock = !1),
- (this.frameId = this.elem.globalData.frameId)
- }
- else this._mdf = !1
- }
- function i(e, t, n) {
- ;(this.propType = 'shape'),
- (this.comp = e.comp),
- (this.container = e),
- (this.elem = e),
- (this.data = t),
- (this.k = !1),
- (this.kf = !1),
- (this._mdf = !1)
- var a = 3 === n ? t.pt.k : t.ks.k
- ;(this.v = shapePool.clone(a)),
- (this.pv = shapePool.clone(this.v)),
- (this.localShapeCollection = shapeCollectionPool.newShapeCollection()),
- (this.paths = this.localShapeCollection),
- this.paths.addShape(this.v),
- (this.reset = r),
- (this.effectsSequence = [])
- }
- function s(e) {
- this.effectsSequence.push(e), this.container.addDynamicProperty(this)
- }
- function l(t, a, o) {
- ;(this.propType = 'shape'),
- (this.comp = t.comp),
- (this.elem = t),
- (this.container = t),
- (this.offsetTime = t.data.st),
- (this.keyframes = 3 === o ? a.pt.k : a.ks.k),
- (this.keyframesMetadata = []),
- (this.k = !0),
- (this.kf = !0)
- var i = this.keyframes[0].s[0].i.length
- ;(this.v = shapePool.newElement()),
- this.v.setPathData(this.keyframes[0].s[0].c, i),
- (this.pv = shapePool.clone(this.v)),
- (this.localShapeCollection = shapeCollectionPool.newShapeCollection()),
- (this.paths = this.localShapeCollection),
- this.paths.addShape(this.v),
- (this.lastFrame = e),
- (this.reset = r),
- (this._caching = { lastFrame: e, lastIndex: 0 }),
- (this.effectsSequence = [n.bind(this)])
- }
- ;(i.prototype.interpolateShape = t),
- (i.prototype.getValue = o),
- (i.prototype.setVValue = a),
- (i.prototype.addEffect = s),
- (l.prototype.getValue = o),
- (l.prototype.interpolateShape = t),
- (l.prototype.setVValue = a),
- (l.prototype.addEffect = s)
- var c = (function () {
- var e = roundCorner
- function t(e, t) {
- ;(this.v = shapePool.newElement()),
- this.v.setPathData(!0, 4),
- (this.localShapeCollection = shapeCollectionPool.newShapeCollection()),
- (this.paths = this.localShapeCollection),
- this.localShapeCollection.addShape(this.v),
- (this.d = t.d),
- (this.elem = e),
- (this.comp = e.comp),
- (this.frameId = -1),
- this.initDynamicPropertyContainer(e),
- (this.p = PropertyFactory.getProp(e, t.p, 1, 0, this)),
- (this.s = PropertyFactory.getProp(e, t.s, 1, 0, this)),
- this.dynamicProperties.length
- ? (this.k = !0)
- : ((this.k = !1), this.convertEllToPath())
- }
- return (
- (t.prototype = {
- reset: r,
- getValue: function () {
- this.elem.globalData.frameId !== this.frameId &&
- ((this.frameId = this.elem.globalData.frameId),
- this.iterateDynamicProperties(),
- this._mdf && this.convertEllToPath())
- },
- convertEllToPath: function () {
- var t = this.p.v[0],
- n = this.p.v[1],
- r = this.s.v[0] / 2,
- a = this.s.v[1] / 2,
- o = 3 !== this.d,
- i = this.v
- ;(i.v[0][0] = t),
- (i.v[0][1] = n - a),
- (i.v[1][0] = o ? t + r : t - r),
- (i.v[1][1] = n),
- (i.v[2][0] = t),
- (i.v[2][1] = n + a),
- (i.v[3][0] = o ? t - r : t + r),
- (i.v[3][1] = n),
- (i.i[0][0] = o ? t - r * e : t + r * e),
- (i.i[0][1] = n - a),
- (i.i[1][0] = o ? t + r : t - r),
- (i.i[1][1] = n - a * e),
- (i.i[2][0] = o ? t + r * e : t - r * e),
- (i.i[2][1] = n + a),
- (i.i[3][0] = o ? t - r : t + r),
- (i.i[3][1] = n + a * e),
- (i.o[0][0] = o ? t + r * e : t - r * e),
- (i.o[0][1] = n - a),
- (i.o[1][0] = o ? t + r : t - r),
- (i.o[1][1] = n + a * e),
- (i.o[2][0] = o ? t - r * e : t + r * e),
- (i.o[2][1] = n + a),
- (i.o[3][0] = o ? t - r : t + r),
- (i.o[3][1] = n - a * e)
- }
- }),
- extendPrototype([DynamicPropertyContainer], t),
- t
- )
- })(),
- u = (function () {
- function e(e, t) {
- ;(this.v = shapePool.newElement()),
- this.v.setPathData(!0, 0),
- (this.elem = e),
- (this.comp = e.comp),
- (this.data = t),
- (this.frameId = -1),
- (this.d = t.d),
- this.initDynamicPropertyContainer(e),
- 1 === t.sy
- ? ((this.ir = PropertyFactory.getProp(e, t.ir, 0, 0, this)),
- (this.is = PropertyFactory.getProp(e, t.is, 0, 0.01, this)),
- (this.convertToPath = this.convertStarToPath))
- : (this.convertToPath = this.convertPolygonToPath),
- (this.pt = PropertyFactory.getProp(e, t.pt, 0, 0, this)),
- (this.p = PropertyFactory.getProp(e, t.p, 1, 0, this)),
- (this.r = PropertyFactory.getProp(e, t.r, 0, degToRads, this)),
- (this.or = PropertyFactory.getProp(e, t.or, 0, 0, this)),
- (this.os = PropertyFactory.getProp(e, t.os, 0, 0.01, this)),
- (this.localShapeCollection = shapeCollectionPool.newShapeCollection()),
- this.localShapeCollection.addShape(this.v),
- (this.paths = this.localShapeCollection),
- this.dynamicProperties.length
- ? (this.k = !0)
- : ((this.k = !1), this.convertToPath())
- }
- return (
- (e.prototype = {
- reset: r,
- getValue: function () {
- this.elem.globalData.frameId !== this.frameId &&
- ((this.frameId = this.elem.globalData.frameId),
- this.iterateDynamicProperties(),
- this._mdf && this.convertToPath())
- },
- convertStarToPath: function () {
- var e,
- t,
- n,
- r,
- a = 2 * Math.floor(this.pt.v),
- o = (2 * Math.PI) / a,
- i = !0,
- s = this.or.v,
- l = this.ir.v,
- c = this.os.v,
- u = this.is.v,
- p = (2 * Math.PI * s) / (2 * a),
- d = (2 * Math.PI * l) / (2 * a),
- f = -Math.PI / 2
- f += this.r.v
- var h = 3 === this.data.d ? -1 : 1
- for (this.v._length = 0, e = 0; e < a; e += 1) {
- ;(n = i ? c : u), (r = i ? p : d)
- var v = (t = i ? s : l) * Math.cos(f),
- m = t * Math.sin(f),
- g = 0 === v && 0 === m ? 0 : m / Math.sqrt(v * v + m * m),
- y = 0 === v && 0 === m ? 0 : -v / Math.sqrt(v * v + m * m)
- ;(v += +this.p.v[0]),
- (m += +this.p.v[1]),
- this.v.setTripleAt(
- v,
- m,
- v - g * r * n * h,
- m - y * r * n * h,
- v + g * r * n * h,
- m + y * r * n * h,
- e,
- !0
- ),
- (i = !i),
- (f += o * h)
- }
- },
- convertPolygonToPath: function () {
- var e,
- t = Math.floor(this.pt.v),
- n = (2 * Math.PI) / t,
- r = this.or.v,
- a = this.os.v,
- o = (2 * Math.PI * r) / (4 * t),
- i = 0.5 * -Math.PI,
- s = 3 === this.data.d ? -1 : 1
- for (i += this.r.v, this.v._length = 0, e = 0; e < t; e += 1) {
- var l = r * Math.cos(i),
- c = r * Math.sin(i),
- u = 0 === l && 0 === c ? 0 : c / Math.sqrt(l * l + c * c),
- p = 0 === l && 0 === c ? 0 : -l / Math.sqrt(l * l + c * c)
- ;(l += +this.p.v[0]),
- (c += +this.p.v[1]),
- this.v.setTripleAt(
- l,
- c,
- l - u * o * a * s,
- c - p * o * a * s,
- l + u * o * a * s,
- c + p * o * a * s,
- e,
- !0
- ),
- (i += n * s)
- }
- ;(this.paths.length = 0), (this.paths[0] = this.v)
- }
- }),
- extendPrototype([DynamicPropertyContainer], e),
- e
- )
- })(),
- p = (function () {
- function e(e, t) {
- ;(this.v = shapePool.newElement()),
- (this.v.c = !0),
- (this.localShapeCollection = shapeCollectionPool.newShapeCollection()),
- this.localShapeCollection.addShape(this.v),
- (this.paths = this.localShapeCollection),
- (this.elem = e),
- (this.comp = e.comp),
- (this.frameId = -1),
- (this.d = t.d),
- this.initDynamicPropertyContainer(e),
- (this.p = PropertyFactory.getProp(e, t.p, 1, 0, this)),
- (this.s = PropertyFactory.getProp(e, t.s, 1, 0, this)),
- (this.r = PropertyFactory.getProp(e, t.r, 0, 0, this)),
- this.dynamicProperties.length
- ? (this.k = !0)
- : ((this.k = !1), this.convertRectToPath())
- }
- return (
- (e.prototype = {
- convertRectToPath: function () {
- var e = this.p.v[0],
- t = this.p.v[1],
- n = this.s.v[0] / 2,
- r = this.s.v[1] / 2,
- a = bmMin(n, r, this.r.v),
- o = a * (1 - roundCorner)
- ;(this.v._length = 0),
- 2 === this.d || 1 === this.d
- ? (this.v.setTripleAt(
- e + n,
- t - r + a,
- e + n,
- t - r + a,
- e + n,
- t - r + o,
- 0,
- !0
- ),
- this.v.setTripleAt(
- e + n,
- t + r - a,
- e + n,
- t + r - o,
- e + n,
- t + r - a,
- 1,
- !0
- ),
- 0 !== a
- ? (this.v.setTripleAt(
- e + n - a,
- t + r,
- e + n - a,
- t + r,
- e + n - o,
- t + r,
- 2,
- !0
- ),
- this.v.setTripleAt(
- e - n + a,
- t + r,
- e - n + o,
- t + r,
- e - n + a,
- t + r,
- 3,
- !0
- ),
- this.v.setTripleAt(
- e - n,
- t + r - a,
- e - n,
- t + r - a,
- e - n,
- t + r - o,
- 4,
- !0
- ),
- this.v.setTripleAt(
- e - n,
- t - r + a,
- e - n,
- t - r + o,
- e - n,
- t - r + a,
- 5,
- !0
- ),
- this.v.setTripleAt(
- e - n + a,
- t - r,
- e - n + a,
- t - r,
- e - n + o,
- t - r,
- 6,
- !0
- ),
- this.v.setTripleAt(
- e + n - a,
- t - r,
- e + n - o,
- t - r,
- e + n - a,
- t - r,
- 7,
- !0
- ))
- : (this.v.setTripleAt(
- e - n,
- t + r,
- e - n + o,
- t + r,
- e - n,
- t + r,
- 2
- ),
- this.v.setTripleAt(
- e - n,
- t - r,
- e - n,
- t - r + o,
- e - n,
- t - r,
- 3
- )))
- : (this.v.setTripleAt(
- e + n,
- t - r + a,
- e + n,
- t - r + o,
- e + n,
- t - r + a,
- 0,
- !0
- ),
- 0 !== a
- ? (this.v.setTripleAt(
- e + n - a,
- t - r,
- e + n - a,
- t - r,
- e + n - o,
- t - r,
- 1,
- !0
- ),
- this.v.setTripleAt(
- e - n + a,
- t - r,
- e - n + o,
- t - r,
- e - n + a,
- t - r,
- 2,
- !0
- ),
- this.v.setTripleAt(
- e - n,
- t - r + a,
- e - n,
- t - r + a,
- e - n,
- t - r + o,
- 3,
- !0
- ),
- this.v.setTripleAt(
- e - n,
- t + r - a,
- e - n,
- t + r - o,
- e - n,
- t + r - a,
- 4,
- !0
- ),
- this.v.setTripleAt(
- e - n + a,
- t + r,
- e - n + a,
- t + r,
- e - n + o,
- t + r,
- 5,
- !0
- ),
- this.v.setTripleAt(
- e + n - a,
- t + r,
- e + n - o,
- t + r,
- e + n - a,
- t + r,
- 6,
- !0
- ),
- this.v.setTripleAt(
- e + n,
- t + r - a,
- e + n,
- t + r - a,
- e + n,
- t + r - o,
- 7,
- !0
- ))
- : (this.v.setTripleAt(
- e - n,
- t - r,
- e - n + o,
- t - r,
- e - n,
- t - r,
- 1,
- !0
- ),
- this.v.setTripleAt(
- e - n,
- t + r,
- e - n,
- t + r - o,
- e - n,
- t + r,
- 2,
- !0
- ),
- this.v.setTripleAt(
- e + n,
- t + r,
- e + n - o,
- t + r,
- e + n,
- t + r,
- 3,
- !0
- )))
- },
- getValue: function () {
- this.elem.globalData.frameId !== this.frameId &&
- ((this.frameId = this.elem.globalData.frameId),
- this.iterateDynamicProperties(),
- this._mdf && this.convertRectToPath())
- },
- reset: r
- }),
- extendPrototype([DynamicPropertyContainer], e),
- e
- )
- })(),
- d = {
- getShapeProp: function (e, t, n) {
- var r
- return (
- 3 === n || 4 === n
- ? (r = (3 === n ? t.pt : t.ks).k.length
- ? new l(e, t, n)
- : new i(e, t, n))
- : 5 === n
- ? (r = new p(e, t))
- : 6 === n
- ? (r = new c(e, t))
- : 7 === n && (r = new u(e, t)),
- r.k && e.addDynamicProperty(r),
- r
- )
- },
- getConstructorFunction: function () {
- return i
- },
- getKeyframedConstructorFunction: function () {
- return l
- }
- }
- return d
- })(),
- Matrix = (function () {
- var e = Math.cos,
- t = Math.sin,
- n = Math.tan,
- r = Math.round
- function a() {
- return (
- (this.props[0] = 1),
- (this.props[1] = 0),
- (this.props[2] = 0),
- (this.props[3] = 0),
- (this.props[4] = 0),
- (this.props[5] = 1),
- (this.props[6] = 0),
- (this.props[7] = 0),
- (this.props[8] = 0),
- (this.props[9] = 0),
- (this.props[10] = 1),
- (this.props[11] = 0),
- (this.props[12] = 0),
- (this.props[13] = 0),
- (this.props[14] = 0),
- (this.props[15] = 1),
- this
- )
- }
- function o(n) {
- if (0 === n) return this
- var r = e(n),
- a = t(n)
- return this._t(r, -a, 0, 0, a, r, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
- }
- function i(n) {
- if (0 === n) return this
- var r = e(n),
- a = t(n)
- return this._t(1, 0, 0, 0, 0, r, -a, 0, 0, a, r, 0, 0, 0, 0, 1)
- }
- function s(n) {
- if (0 === n) return this
- var r = e(n),
- a = t(n)
- return this._t(r, 0, a, 0, 0, 1, 0, 0, -a, 0, r, 0, 0, 0, 0, 1)
- }
- function l(n) {
- if (0 === n) return this
- var r = e(n),
- a = t(n)
- return this._t(r, -a, 0, 0, a, r, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
- }
- function c(e, t) {
- return this._t(1, t, e, 1, 0, 0)
- }
- function u(e, t) {
- return this.shear(n(e), n(t))
- }
- function p(r, a) {
- var o = e(a),
- i = t(a)
- return this._t(o, i, 0, 0, -i, o, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
- ._t(1, 0, 0, 0, n(r), 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
- ._t(o, -i, 0, 0, i, o, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
- }
- function d(e, t, n) {
- return (
- n || 0 === n || (n = 1),
- 1 === e && 1 === t && 1 === n
- ? this
- : this._t(e, 0, 0, 0, 0, t, 0, 0, 0, 0, n, 0, 0, 0, 0, 1)
- )
- }
- function f(e, t, n, r, a, o, i, s, l, c, u, p, d, f, h, v) {
- return (
- (this.props[0] = e),
- (this.props[1] = t),
- (this.props[2] = n),
- (this.props[3] = r),
- (this.props[4] = a),
- (this.props[5] = o),
- (this.props[6] = i),
- (this.props[7] = s),
- (this.props[8] = l),
- (this.props[9] = c),
- (this.props[10] = u),
- (this.props[11] = p),
- (this.props[12] = d),
- (this.props[13] = f),
- (this.props[14] = h),
- (this.props[15] = v),
- this
- )
- }
- function h(e, t, n) {
- return (
- (n = n || 0),
- 0 !== e || 0 !== t || 0 !== n
- ? this._t(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, e, t, n, 1)
- : this
- )
- }
- function v(e, t, n, r, a, o, i, s, l, c, u, p, d, f, h, v) {
- var m = this.props
- if (
- 1 === e &&
- 0 === t &&
- 0 === n &&
- 0 === r &&
- 0 === a &&
- 1 === o &&
- 0 === i &&
- 0 === s &&
- 0 === l &&
- 0 === c &&
- 1 === u &&
- 0 === p
- )
- return (
- (m[12] = m[12] * e + m[15] * d),
- (m[13] = m[13] * o + m[15] * f),
- (m[14] = m[14] * u + m[15] * h),
- (m[15] *= v),
- (this._identityCalculated = !1),
- this
- )
- var g = m[0],
- y = m[1],
- b = m[2],
- _ = m[3],
- A = m[4],
- x = m[5],
- w = m[6],
- k = m[7],
- S = m[8],
- E = m[9],
- P = m[10],
- C = m[11],
- T = m[12],
- I = m[13],
- R = m[14],
- M = m[15]
- return (
- (m[0] = g * e + y * a + b * l + _ * d),
- (m[1] = g * t + y * o + b * c + _ * f),
- (m[2] = g * n + y * i + b * u + _ * h),
- (m[3] = g * r + y * s + b * p + _ * v),
- (m[4] = A * e + x * a + w * l + k * d),
- (m[5] = A * t + x * o + w * c + k * f),
- (m[6] = A * n + x * i + w * u + k * h),
- (m[7] = A * r + x * s + w * p + k * v),
- (m[8] = S * e + E * a + P * l + C * d),
- (m[9] = S * t + E * o + P * c + C * f),
- (m[10] = S * n + E * i + P * u + C * h),
- (m[11] = S * r + E * s + P * p + C * v),
- (m[12] = T * e + I * a + R * l + M * d),
- (m[13] = T * t + I * o + R * c + M * f),
- (m[14] = T * n + I * i + R * u + M * h),
- (m[15] = T * r + I * s + R * p + M * v),
- (this._identityCalculated = !1),
- this
- )
- }
- function m() {
- return (
- this._identityCalculated ||
- ((this._identity = !(
- 1 !== this.props[0] ||
- 0 !== this.props[1] ||
- 0 !== this.props[2] ||
- 0 !== this.props[3] ||
- 0 !== this.props[4] ||
- 1 !== this.props[5] ||
- 0 !== this.props[6] ||
- 0 !== this.props[7] ||
- 0 !== this.props[8] ||
- 0 !== this.props[9] ||
- 1 !== this.props[10] ||
- 0 !== this.props[11] ||
- 0 !== this.props[12] ||
- 0 !== this.props[13] ||
- 0 !== this.props[14] ||
- 1 !== this.props[15]
- )),
- (this._identityCalculated = !0)),
- this._identity
- )
- }
- function g(e) {
- for (var t = 0; t < 16; ) {
- if (e.props[t] !== this.props[t]) return !1
- t += 1
- }
- return !0
- }
- function y(e) {
- var t
- for (t = 0; t < 16; t += 1) e.props[t] = this.props[t]
- return e
- }
- function b(e) {
- var t
- for (t = 0; t < 16; t += 1) this.props[t] = e[t]
- }
- function _(e, t, n) {
- return {
- x:
- e * this.props[0] +
- t * this.props[4] +
- n * this.props[8] +
- this.props[12],
- y:
- e * this.props[1] +
- t * this.props[5] +
- n * this.props[9] +
- this.props[13],
- z:
- e * this.props[2] +
- t * this.props[6] +
- n * this.props[10] +
- this.props[14]
- }
- }
- function A(e, t, n) {
- return (
- e * this.props[0] + t * this.props[4] + n * this.props[8] + this.props[12]
- )
- }
- function x(e, t, n) {
- return (
- e * this.props[1] + t * this.props[5] + n * this.props[9] + this.props[13]
- )
- }
- function w(e, t, n) {
- return (
- e * this.props[2] + t * this.props[6] + n * this.props[10] + this.props[14]
- )
- }
- function k() {
- var e = this.props[0] * this.props[5] - this.props[1] * this.props[4],
- t = this.props[5] / e,
- n = -this.props[1] / e,
- r = -this.props[4] / e,
- a = this.props[0] / e,
- o = (this.props[4] * this.props[13] - this.props[5] * this.props[12]) / e,
- i = -(this.props[0] * this.props[13] - this.props[1] * this.props[12]) / e,
- s = new Matrix()
- return (
- (s.props[0] = t),
- (s.props[1] = n),
- (s.props[4] = r),
- (s.props[5] = a),
- (s.props[12] = o),
- (s.props[13] = i),
- s
- )
- }
- function S(e) {
- return this.getInverseMatrix().applyToPointArray(e[0], e[1], e[2] || 0)
- }
- function E(e) {
- var t,
- n = e.length,
- r = []
- for (t = 0; t < n; t += 1) r[t] = S(e[t])
- return r
- }
- function P(e, t, n) {
- var r = createTypedArray('float32', 6)
- if (this.isIdentity())
- (r[0] = e[0]),
- (r[1] = e[1]),
- (r[2] = t[0]),
- (r[3] = t[1]),
- (r[4] = n[0]),
- (r[5] = n[1])
- else {
- var a = this.props[0],
- o = this.props[1],
- i = this.props[4],
- s = this.props[5],
- l = this.props[12],
- c = this.props[13]
- ;(r[0] = e[0] * a + e[1] * i + l),
- (r[1] = e[0] * o + e[1] * s + c),
- (r[2] = t[0] * a + t[1] * i + l),
- (r[3] = t[0] * o + t[1] * s + c),
- (r[4] = n[0] * a + n[1] * i + l),
- (r[5] = n[0] * o + n[1] * s + c)
- }
- return r
- }
- function C(e, t, n) {
- return this.isIdentity()
- ? [e, t, n]
- : [
- e * this.props[0] +
- t * this.props[4] +
- n * this.props[8] +
- this.props[12],
- e * this.props[1] +
- t * this.props[5] +
- n * this.props[9] +
- this.props[13],
- e * this.props[2] +
- t * this.props[6] +
- n * this.props[10] +
- this.props[14]
- ]
- }
- function T(e, t) {
- if (this.isIdentity()) return e + ',' + t
- var n = this.props
- return (
- Math.round(100 * (e * n[0] + t * n[4] + n[12])) / 100 +
- ',' +
- Math.round(100 * (e * n[1] + t * n[5] + n[13])) / 100
- )
- }
- function I() {
- for (var e = 0, t = this.props, n = 'matrix3d('; e < 16; )
- (n += r(1e4 * t[e]) / 1e4), (n += 15 === e ? ')' : ','), (e += 1)
- return n
- }
- function R(e) {
- return (e < 1e-6 && e > 0) || (e > -1e-6 && e < 0) ? r(1e4 * e) / 1e4 : e
- }
- function M() {
- var e = this.props
- return (
- 'matrix(' +
- R(e[0]) +
- ',' +
- R(e[1]) +
- ',' +
- R(e[4]) +
- ',' +
- R(e[5]) +
- ',' +
- R(e[12]) +
- ',' +
- R(e[13]) +
- ')'
- )
- }
- return function () {
- ;(this.reset = a),
- (this.rotate = o),
- (this.rotateX = i),
- (this.rotateY = s),
- (this.rotateZ = l),
- (this.skew = u),
- (this.skewFromAxis = p),
- (this.shear = c),
- (this.scale = d),
- (this.setTransform = f),
- (this.translate = h),
- (this.transform = v),
- (this.applyToPoint = _),
- (this.applyToX = A),
- (this.applyToY = x),
- (this.applyToZ = w),
- (this.applyToPointArray = C),
- (this.applyToTriplePoints = P),
- (this.applyToPointStringified = T),
- (this.toCSS = I),
- (this.to2dCSS = M),
- (this.clone = y),
- (this.cloneFromProps = b),
- (this.equals = g),
- (this.inversePoints = E),
- (this.inversePoint = S),
- (this.getInverseMatrix = k),
- (this._t = this.transform),
- (this.isIdentity = m),
- (this._identity = !0),
- (this._identityCalculated = !1),
- (this.props = createTypedArray('float32', 16)),
- this.reset()
- }
- })()
- function _typeof$3(e) {
- return (
- (_typeof$3 =
- 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator
- ? function (e) {
- return typeof e
- }
- : function (e) {
- return e &&
- 'function' == typeof Symbol &&
- e.constructor === Symbol &&
- e !== Symbol.prototype
- ? 'symbol'
- : typeof e
- }),
- _typeof$3(e)
- )
- }
- var lottie = {}
- function setLocation(e) {
- setLocationHref(e)
- }
- function searchAnimations() {
- animationManager.searchAnimations()
- }
- function setSubframeRendering(e) {
- setSubframeEnabled(e)
- }
- function setPrefix(e) {
- setIdPrefix(e)
- }
- function loadAnimation(e) {
- return animationManager.loadAnimation(e)
- }
- function setQuality(e) {
- if ('string' == typeof e)
- switch (e) {
- case 'high':
- setDefaultCurveSegments(200)
- break
- default:
- case 'medium':
- setDefaultCurveSegments(50)
- break
- case 'low':
- setDefaultCurveSegments(10)
- }
- else !isNaN(e) && e > 1 && setDefaultCurveSegments(e)
- }
- function inBrowser() {
- return 'undefined' != typeof navigator
- }
- function installPlugin(e, t) {
- 'expressions' === e && setExpressionsPlugin(t)
- }
- function getFactory(e) {
- switch (e) {
- case 'propertyFactory':
- return PropertyFactory
- case 'shapePropertyFactory':
- return ShapePropertyFactory
- case 'matrix':
- return Matrix
- default:
- return null
- }
- }
- function checkReady() {
- 'complete' === document.readyState &&
- (clearInterval(readyStateCheckInterval), searchAnimations())
- }
- function getQueryVariable(e) {
- for (var t = queryString.split('&'), n = 0; n < t.length; n += 1) {
- var r = t[n].split('=')
- if (decodeURIComponent(r[0]) == e) return decodeURIComponent(r[1])
- }
- return null
- }
- ;(lottie.play = animationManager.play),
- (lottie.pause = animationManager.pause),
- (lottie.setLocationHref = setLocation),
- (lottie.togglePause = animationManager.togglePause),
- (lottie.setSpeed = animationManager.setSpeed),
- (lottie.setDirection = animationManager.setDirection),
- (lottie.stop = animationManager.stop),
- (lottie.searchAnimations = searchAnimations),
- (lottie.registerAnimation = animationManager.registerAnimation),
- (lottie.loadAnimation = loadAnimation),
- (lottie.setSubframeRendering = setSubframeRendering),
- (lottie.resize = animationManager.resize),
- (lottie.goToAndStop = animationManager.goToAndStop),
- (lottie.destroy = animationManager.destroy),
- (lottie.setQuality = setQuality),
- (lottie.inBrowser = inBrowser),
- (lottie.installPlugin = installPlugin),
- (lottie.freeze = animationManager.freeze),
- (lottie.unfreeze = animationManager.unfreeze),
- (lottie.setVolume = animationManager.setVolume),
- (lottie.mute = animationManager.mute),
- (lottie.unmute = animationManager.unmute),
- (lottie.getRegisteredAnimations = animationManager.getRegisteredAnimations),
- (lottie.useWebWorker = setWebWorker),
- (lottie.setIDPrefix = setPrefix),
- (lottie.__getFactory = getFactory),
- (lottie.version = '5.9.6')
- var queryString = '',
- scripts = document.getElementsByTagName('script'),
- index = scripts.length - 1,
- myScript = scripts[index] || { src: '' }
- ;(queryString = myScript.src ? myScript.src.replace(/^[^\?]+\??/, '') : ''),
- getQueryVariable('renderer')
- var readyStateCheckInterval = setInterval(checkReady, 100)
- try {
- 'object' !== _typeof$3(exports$1) && (window.bodymovin = lottie)
- } catch (err) {}
- var ShapeModifiers = (function () {
- var e = {},
- t = {}
- return (
- (e.registerModifier = function (e, n) {
- t[e] || (t[e] = n)
- }),
- (e.getModifier = function (e, n, r) {
- return new t[e](n, r)
- }),
- e
- )
- })()
- function ShapeModifier() {}
- function TrimModifier() {}
- function PuckerAndBloatModifier() {}
- ;(ShapeModifier.prototype.initModifierProperties = function () {}),
- (ShapeModifier.prototype.addShapeToModifier = function () {}),
- (ShapeModifier.prototype.addShape = function (e) {
- if (!this.closed) {
- e.sh.container.addDynamicProperty(e.sh)
- var t = {
- shape: e.sh,
- data: e,
- localShapeCollection: shapeCollectionPool.newShapeCollection()
- }
- this.shapes.push(t),
- this.addShapeToModifier(t),
- this._isAnimated && e.setAsAnimated()
- }
- }),
- (ShapeModifier.prototype.init = function (e, t) {
- ;(this.shapes = []),
- (this.elem = e),
- this.initDynamicPropertyContainer(e),
- this.initModifierProperties(e, t),
- (this.frameId = initialDefaultFrame),
- (this.closed = !1),
- (this.k = !1),
- this.dynamicProperties.length ? (this.k = !0) : this.getValue(!0)
- }),
- (ShapeModifier.prototype.processKeys = function () {
- this.elem.globalData.frameId !== this.frameId &&
- ((this.frameId = this.elem.globalData.frameId),
- this.iterateDynamicProperties())
- }),
- extendPrototype([DynamicPropertyContainer], ShapeModifier),
- extendPrototype([ShapeModifier], TrimModifier),
- (TrimModifier.prototype.initModifierProperties = function (e, t) {
- ;(this.s = PropertyFactory.getProp(e, t.s, 0, 0.01, this)),
- (this.e = PropertyFactory.getProp(e, t.e, 0, 0.01, this)),
- (this.o = PropertyFactory.getProp(e, t.o, 0, 0, this)),
- (this.sValue = 0),
- (this.eValue = 0),
- (this.getValue = this.processKeys),
- (this.m = t.m),
- (this._isAnimated =
- !!this.s.effectsSequence.length ||
- !!this.e.effectsSequence.length ||
- !!this.o.effectsSequence.length)
- }),
- (TrimModifier.prototype.addShapeToModifier = function (e) {
- e.pathsData = []
- }),
- (TrimModifier.prototype.calculateShapeEdges = function (e, t, n, r, a) {
- var o = []
- t <= 1
- ? o.push({ s: e, e: t })
- : e >= 1
- ? o.push({ s: e - 1, e: t - 1 })
- : (o.push({ s: e, e: 1 }), o.push({ s: 0, e: t - 1 }))
- var i,
- s,
- l = [],
- c = o.length
- for (i = 0; i < c; i += 1) {
- var u, p
- ;(s = o[i]).e * a < r ||
- s.s * a > r + n ||
- ((u = s.s * a <= r ? 0 : (s.s * a - r) / n),
- (p = s.e * a >= r + n ? 1 : (s.e * a - r) / n),
- l.push([u, p]))
- }
- return l.length || l.push([0, 0]), l
- }),
- (TrimModifier.prototype.releasePathsData = function (e) {
- var t,
- n = e.length
- for (t = 0; t < n; t += 1) segmentsLengthPool.release(e[t])
- return (e.length = 0), e
- }),
- (TrimModifier.prototype.processShapes = function (e) {
- var t, n, r, a
- if (this._mdf || e) {
- var o = (this.o.v % 360) / 360
- if (
- (o < 0 && (o += 1),
- (t = this.s.v > 1 ? 1 + o : this.s.v < 0 ? 0 + o : this.s.v + o) >
- (n = this.e.v > 1 ? 1 + o : this.e.v < 0 ? 0 + o : this.e.v + o))
- ) {
- var i = t
- ;(t = n), (n = i)
- }
- ;(t = 1e-4 * Math.round(1e4 * t)),
- (n = 1e-4 * Math.round(1e4 * n)),
- (this.sValue = t),
- (this.eValue = n)
- } else (t = this.sValue), (n = this.eValue)
- var s,
- l,
- c,
- u,
- p,
- d = this.shapes.length,
- f = 0
- if (n === t)
- for (a = 0; a < d; a += 1)
- this.shapes[a].localShapeCollection.releaseShapes(),
- (this.shapes[a].shape._mdf = !0),
- (this.shapes[a].shape.paths = this.shapes[a].localShapeCollection),
- this._mdf && (this.shapes[a].pathsData.length = 0)
- else if ((1 === n && 0 === t) || (0 === n && 1 === t)) {
- if (this._mdf)
- for (a = 0; a < d; a += 1)
- (this.shapes[a].pathsData.length = 0), (this.shapes[a].shape._mdf = !0)
- } else {
- var h,
- v,
- m = []
- for (a = 0; a < d; a += 1)
- if ((h = this.shapes[a]).shape._mdf || this._mdf || e || 2 === this.m) {
- if (
- ((l = (r = h.shape.paths)._length),
- (p = 0),
- !h.shape._mdf && h.pathsData.length)
- )
- p = h.totalShapeLength
- else {
- for (c = this.releasePathsData(h.pathsData), s = 0; s < l; s += 1)
- (u = bez.getSegmentsLength(r.shapes[s])),
- c.push(u),
- (p += u.totalLength)
- ;(h.totalShapeLength = p), (h.pathsData = c)
- }
- ;(f += p), (h.shape._mdf = !0)
- } else h.shape.paths = h.localShapeCollection
- var g,
- y = t,
- b = n,
- _ = 0
- for (a = d - 1; a >= 0; a -= 1)
- if ((h = this.shapes[a]).shape._mdf) {
- for (
- (v = h.localShapeCollection).releaseShapes(),
- 2 === this.m && d > 1
- ? ((g = this.calculateShapeEdges(t, n, h.totalShapeLength, _, f)),
- (_ += h.totalShapeLength))
- : (g = [[y, b]]),
- l = g.length,
- s = 0;
- s < l;
- s += 1
- ) {
- ;(y = g[s][0]),
- (b = g[s][1]),
- (m.length = 0),
- b <= 1
- ? m.push({ s: h.totalShapeLength * y, e: h.totalShapeLength * b })
- : y >= 1
- ? m.push({
- s: h.totalShapeLength * (y - 1),
- e: h.totalShapeLength * (b - 1)
- })
- : (m.push({ s: h.totalShapeLength * y, e: h.totalShapeLength }),
- m.push({ s: 0, e: h.totalShapeLength * (b - 1) }))
- var A = this.addShapes(h, m[0])
- if (m[0].s !== m[0].e) {
- if (m.length > 1)
- if (h.shape.paths.shapes[h.shape.paths._length - 1].c) {
- var x = A.pop()
- this.addPaths(A, v), (A = this.addShapes(h, m[1], x))
- } else this.addPaths(A, v), (A = this.addShapes(h, m[1]))
- this.addPaths(A, v)
- }
- }
- h.shape.paths = v
- }
- }
- }),
- (TrimModifier.prototype.addPaths = function (e, t) {
- var n,
- r = e.length
- for (n = 0; n < r; n += 1) t.addShape(e[n])
- }),
- (TrimModifier.prototype.addSegment = function (e, t, n, r, a, o, i) {
- a.setXYAt(t[0], t[1], 'o', o),
- a.setXYAt(n[0], n[1], 'i', o + 1),
- i && a.setXYAt(e[0], e[1], 'v', o),
- a.setXYAt(r[0], r[1], 'v', o + 1)
- }),
- (TrimModifier.prototype.addSegmentFromArray = function (e, t, n, r) {
- t.setXYAt(e[1], e[5], 'o', n),
- t.setXYAt(e[2], e[6], 'i', n + 1),
- r && t.setXYAt(e[0], e[4], 'v', n),
- t.setXYAt(e[3], e[7], 'v', n + 1)
- }),
- (TrimModifier.prototype.addShapes = function (e, t, n) {
- var r,
- a,
- o,
- i,
- s,
- l,
- c,
- u,
- p = e.pathsData,
- d = e.shape.paths.shapes,
- f = e.shape.paths._length,
- h = 0,
- v = [],
- m = !0
- for (
- n
- ? ((s = n._length), (u = n._length))
- : ((n = shapePool.newElement()), (s = 0), (u = 0)),
- v.push(n),
- r = 0;
- r < f;
- r += 1
- ) {
- for (
- l = p[r].lengths, n.c = d[r].c, o = d[r].c ? l.length : l.length + 1, a = 1;
- a < o;
- a += 1
- )
- if (h + (i = l[a - 1]).addedLength < t.s) (h += i.addedLength), (n.c = !1)
- else {
- if (h > t.e) {
- n.c = !1
- break
- }
- t.s <= h && t.e >= h + i.addedLength
- ? (this.addSegment(
- d[r].v[a - 1],
- d[r].o[a - 1],
- d[r].i[a],
- d[r].v[a],
- n,
- s,
- m
- ),
- (m = !1))
- : ((c = bez.getNewSegment(
- d[r].v[a - 1],
- d[r].v[a],
- d[r].o[a - 1],
- d[r].i[a],
- (t.s - h) / i.addedLength,
- (t.e - h) / i.addedLength,
- l[a - 1]
- )),
- this.addSegmentFromArray(c, n, s, m),
- (m = !1),
- (n.c = !1)),
- (h += i.addedLength),
- (s += 1)
- }
- if (d[r].c && l.length) {
- if (((i = l[a - 1]), h <= t.e)) {
- var g = l[a - 1].addedLength
- t.s <= h && t.e >= h + g
- ? (this.addSegment(
- d[r].v[a - 1],
- d[r].o[a - 1],
- d[r].i[0],
- d[r].v[0],
- n,
- s,
- m
- ),
- (m = !1))
- : ((c = bez.getNewSegment(
- d[r].v[a - 1],
- d[r].v[0],
- d[r].o[a - 1],
- d[r].i[0],
- (t.s - h) / g,
- (t.e - h) / g,
- l[a - 1]
- )),
- this.addSegmentFromArray(c, n, s, m),
- (m = !1),
- (n.c = !1))
- } else n.c = !1
- ;(h += i.addedLength), (s += 1)
- }
- if (
- (n._length &&
- (n.setXYAt(n.v[u][0], n.v[u][1], 'i', u),
- n.setXYAt(
- n.v[n._length - 1][0],
- n.v[n._length - 1][1],
- 'o',
- n._length - 1
- )),
- h > t.e)
- )
- break
- r < f - 1 && ((n = shapePool.newElement()), (m = !0), v.push(n), (s = 0))
- }
- return v
- }),
- extendPrototype([ShapeModifier], PuckerAndBloatModifier),
- (PuckerAndBloatModifier.prototype.initModifierProperties = function (e, t) {
- ;(this.getValue = this.processKeys),
- (this.amount = PropertyFactory.getProp(e, t.a, 0, null, this)),
- (this._isAnimated = !!this.amount.effectsSequence.length)
- }),
- (PuckerAndBloatModifier.prototype.processPath = function (e, t) {
- var n = t / 100,
- r = [0, 0],
- a = e._length,
- o = 0
- for (o = 0; o < a; o += 1) (r[0] += e.v[o][0]), (r[1] += e.v[o][1])
- ;(r[0] /= a), (r[1] /= a)
- var i,
- s,
- l,
- c,
- u,
- p,
- d = shapePool.newElement()
- for (d.c = e.c, o = 0; o < a; o += 1)
- (i = e.v[o][0] + (r[0] - e.v[o][0]) * n),
- (s = e.v[o][1] + (r[1] - e.v[o][1]) * n),
- (l = e.o[o][0] + (r[0] - e.o[o][0]) * -n),
- (c = e.o[o][1] + (r[1] - e.o[o][1]) * -n),
- (u = e.i[o][0] + (r[0] - e.i[o][0]) * -n),
- (p = e.i[o][1] + (r[1] - e.i[o][1]) * -n),
- d.setTripleAt(i, s, l, c, u, p, o)
- return d
- }),
- (PuckerAndBloatModifier.prototype.processShapes = function (e) {
- var t,
- n,
- r,
- a,
- o,
- i,
- s = this.shapes.length,
- l = this.amount.v
- if (0 !== l)
- for (n = 0; n < s; n += 1) {
- if (
- ((i = (o = this.shapes[n]).localShapeCollection),
- o.shape._mdf || this._mdf || e)
- )
- for (
- i.releaseShapes(),
- o.shape._mdf = !0,
- t = o.shape.paths.shapes,
- a = o.shape.paths._length,
- r = 0;
- r < a;
- r += 1
- )
- i.addShape(this.processPath(t[r], l))
- o.shape.paths = o.localShapeCollection
- }
- this.dynamicProperties.length || (this._mdf = !1)
- })
- var TransformPropertyFactory = (function () {
- var e = [0, 0]
- function t(e, t, n) {
- if (
- ((this.elem = e),
- (this.frameId = -1),
- (this.propType = 'transform'),
- (this.data = t),
- (this.v = new Matrix()),
- (this.pre = new Matrix()),
- (this.appliedTransformations = 0),
- this.initDynamicPropertyContainer(n || e),
- t.p && t.p.s
- ? ((this.px = PropertyFactory.getProp(e, t.p.x, 0, 0, this)),
- (this.py = PropertyFactory.getProp(e, t.p.y, 0, 0, this)),
- t.p.z && (this.pz = PropertyFactory.getProp(e, t.p.z, 0, 0, this)))
- : (this.p = PropertyFactory.getProp(
- e,
- t.p || { k: [0, 0, 0] },
- 1,
- 0,
- this
- )),
- t.rx)
- ) {
- if (
- ((this.rx = PropertyFactory.getProp(e, t.rx, 0, degToRads, this)),
- (this.ry = PropertyFactory.getProp(e, t.ry, 0, degToRads, this)),
- (this.rz = PropertyFactory.getProp(e, t.rz, 0, degToRads, this)),
- t.or.k[0].ti)
- ) {
- var r,
- a = t.or.k.length
- for (r = 0; r < a; r += 1) (t.or.k[r].to = null), (t.or.k[r].ti = null)
- }
- ;(this.or = PropertyFactory.getProp(e, t.or, 1, degToRads, this)),
- (this.or.sh = !0)
- } else this.r = PropertyFactory.getProp(e, t.r || { k: 0 }, 0, degToRads, this)
- t.sk &&
- ((this.sk = PropertyFactory.getProp(e, t.sk, 0, degToRads, this)),
- (this.sa = PropertyFactory.getProp(e, t.sa, 0, degToRads, this))),
- (this.a = PropertyFactory.getProp(e, t.a || { k: [0, 0, 0] }, 1, 0, this)),
- (this.s = PropertyFactory.getProp(
- e,
- t.s || { k: [100, 100, 100] },
- 1,
- 0.01,
- this
- )),
- t.o
- ? (this.o = PropertyFactory.getProp(e, t.o, 0, 0.01, e))
- : (this.o = { _mdf: !1, v: 1 }),
- (this._isDirty = !0),
- this.dynamicProperties.length || this.getValue(!0)
- }
- return (
- (t.prototype = {
- applyToMatrix: function (e) {
- var t = this._mdf
- this.iterateDynamicProperties(),
- (this._mdf = this._mdf || t),
- this.a && e.translate(-this.a.v[0], -this.a.v[1], this.a.v[2]),
- this.s && e.scale(this.s.v[0], this.s.v[1], this.s.v[2]),
- this.sk && e.skewFromAxis(-this.sk.v, this.sa.v),
- this.r
- ? e.rotate(-this.r.v)
- : e
- .rotateZ(-this.rz.v)
- .rotateY(this.ry.v)
- .rotateX(this.rx.v)
- .rotateZ(-this.or.v[2])
- .rotateY(this.or.v[1])
- .rotateX(this.or.v[0]),
- this.data.p.s
- ? this.data.p.z
- ? e.translate(this.px.v, this.py.v, -this.pz.v)
- : e.translate(this.px.v, this.py.v, 0)
- : e.translate(this.p.v[0], this.p.v[1], -this.p.v[2])
- },
- getValue: function (t) {
- if (this.elem.globalData.frameId !== this.frameId) {
- if (
- (this._isDirty && (this.precalculateMatrix(), (this._isDirty = !1)),
- this.iterateDynamicProperties(),
- this._mdf || t)
- ) {
- var n
- if (
- (this.v.cloneFromProps(this.pre.props),
- this.appliedTransformations < 1 &&
- this.v.translate(-this.a.v[0], -this.a.v[1], this.a.v[2]),
- this.appliedTransformations < 2 &&
- this.v.scale(this.s.v[0], this.s.v[1], this.s.v[2]),
- this.sk &&
- this.appliedTransformations < 3 &&
- this.v.skewFromAxis(-this.sk.v, this.sa.v),
- this.r && this.appliedTransformations < 4
- ? this.v.rotate(-this.r.v)
- : !this.r &&
- this.appliedTransformations < 4 &&
- this.v
- .rotateZ(-this.rz.v)
- .rotateY(this.ry.v)
- .rotateX(this.rx.v)
- .rotateZ(-this.or.v[2])
- .rotateY(this.or.v[1])
- .rotateX(this.or.v[0]),
- this.autoOriented)
- ) {
- var r, a
- if (
- ((n = this.elem.globalData.frameRate),
- this.p && this.p.keyframes && this.p.getValueAtTime)
- )
- this.p._caching.lastFrame + this.p.offsetTime <=
- this.p.keyframes[0].t
- ? ((r = this.p.getValueAtTime(
- (this.p.keyframes[0].t + 0.01) / n,
- 0
- )),
- (a = this.p.getValueAtTime(this.p.keyframes[0].t / n, 0)))
- : this.p._caching.lastFrame + this.p.offsetTime >=
- this.p.keyframes[this.p.keyframes.length - 1].t
- ? ((r = this.p.getValueAtTime(
- this.p.keyframes[this.p.keyframes.length - 1].t / n,
- 0
- )),
- (a = this.p.getValueAtTime(
- (this.p.keyframes[this.p.keyframes.length - 1].t - 0.05) / n,
- 0
- )))
- : ((r = this.p.pv),
- (a = this.p.getValueAtTime(
- (this.p._caching.lastFrame + this.p.offsetTime - 0.01) / n,
- this.p.offsetTime
- )))
- else if (
- this.px &&
- this.px.keyframes &&
- this.py.keyframes &&
- this.px.getValueAtTime &&
- this.py.getValueAtTime
- ) {
- ;(r = []), (a = [])
- var o = this.px,
- i = this.py
- o._caching.lastFrame + o.offsetTime <= o.keyframes[0].t
- ? ((r[0] = o.getValueAtTime((o.keyframes[0].t + 0.01) / n, 0)),
- (r[1] = i.getValueAtTime((i.keyframes[0].t + 0.01) / n, 0)),
- (a[0] = o.getValueAtTime(o.keyframes[0].t / n, 0)),
- (a[1] = i.getValueAtTime(i.keyframes[0].t / n, 0)))
- : o._caching.lastFrame + o.offsetTime >=
- o.keyframes[o.keyframes.length - 1].t
- ? ((r[0] = o.getValueAtTime(
- o.keyframes[o.keyframes.length - 1].t / n,
- 0
- )),
- (r[1] = i.getValueAtTime(
- i.keyframes[i.keyframes.length - 1].t / n,
- 0
- )),
- (a[0] = o.getValueAtTime(
- (o.keyframes[o.keyframes.length - 1].t - 0.01) / n,
- 0
- )),
- (a[1] = i.getValueAtTime(
- (i.keyframes[i.keyframes.length - 1].t - 0.01) / n,
- 0
- )))
- : ((r = [o.pv, i.pv]),
- (a[0] = o.getValueAtTime(
- (o._caching.lastFrame + o.offsetTime - 0.01) / n,
- o.offsetTime
- )),
- (a[1] = i.getValueAtTime(
- (i._caching.lastFrame + i.offsetTime - 0.01) / n,
- i.offsetTime
- )))
- } else r = a = e
- this.v.rotate(-Math.atan2(r[1] - a[1], r[0] - a[0]))
- }
- this.data.p && this.data.p.s
- ? this.data.p.z
- ? this.v.translate(this.px.v, this.py.v, -this.pz.v)
- : this.v.translate(this.px.v, this.py.v, 0)
- : this.v.translate(this.p.v[0], this.p.v[1], -this.p.v[2])
- }
- this.frameId = this.elem.globalData.frameId
- }
- },
- precalculateMatrix: function () {
- if (
- !this.a.k &&
- (this.pre.translate(-this.a.v[0], -this.a.v[1], this.a.v[2]),
- (this.appliedTransformations = 1),
- !this.s.effectsSequence.length)
- ) {
- if (
- (this.pre.scale(this.s.v[0], this.s.v[1], this.s.v[2]),
- (this.appliedTransformations = 2),
- this.sk)
- ) {
- if (this.sk.effectsSequence.length || this.sa.effectsSequence.length)
- return
- this.pre.skewFromAxis(-this.sk.v, this.sa.v),
- (this.appliedTransformations = 3)
- }
- this.r
- ? this.r.effectsSequence.length ||
- (this.pre.rotate(-this.r.v), (this.appliedTransformations = 4))
- : this.rz.effectsSequence.length ||
- this.ry.effectsSequence.length ||
- this.rx.effectsSequence.length ||
- this.or.effectsSequence.length ||
- (this.pre
- .rotateZ(-this.rz.v)
- .rotateY(this.ry.v)
- .rotateX(this.rx.v)
- .rotateZ(-this.or.v[2])
- .rotateY(this.or.v[1])
- .rotateX(this.or.v[0]),
- (this.appliedTransformations = 4))
- }
- },
- autoOrient: function () {}
- }),
- extendPrototype([DynamicPropertyContainer], t),
- (t.prototype.addDynamicProperty = function (e) {
- this._addDynamicProperty(e),
- this.elem.addDynamicProperty(e),
- (this._isDirty = !0)
- }),
- (t.prototype._addDynamicProperty =
- DynamicPropertyContainer.prototype.addDynamicProperty),
- {
- getTransformProperty: function (e, n, r) {
- return new t(e, n, r)
- }
- }
- )
- })()
- function RepeaterModifier() {}
- function RoundCornersModifier() {}
- function getFontProperties(e) {
- for (
- var t = e.fStyle ? e.fStyle.split(' ') : [],
- n = 'normal',
- r = 'normal',
- a = t.length,
- o = 0;
- o < a;
- o += 1
- )
- switch (t[o].toLowerCase()) {
- case 'italic':
- r = 'italic'
- break
- case 'bold':
- n = '700'
- break
- case 'black':
- n = '900'
- break
- case 'medium':
- n = '500'
- break
- case 'regular':
- case 'normal':
- n = '400'
- break
- case 'light':
- case 'thin':
- n = '200'
- }
- return { style: r, weight: e.fWeight || n }
- }
- extendPrototype([ShapeModifier], RepeaterModifier),
- (RepeaterModifier.prototype.initModifierProperties = function (e, t) {
- ;(this.getValue = this.processKeys),
- (this.c = PropertyFactory.getProp(e, t.c, 0, null, this)),
- (this.o = PropertyFactory.getProp(e, t.o, 0, null, this)),
- (this.tr = TransformPropertyFactory.getTransformProperty(e, t.tr, this)),
- (this.so = PropertyFactory.getProp(e, t.tr.so, 0, 0.01, this)),
- (this.eo = PropertyFactory.getProp(e, t.tr.eo, 0, 0.01, this)),
- (this.data = t),
- this.dynamicProperties.length || this.getValue(!0),
- (this._isAnimated = !!this.dynamicProperties.length),
- (this.pMatrix = new Matrix()),
- (this.rMatrix = new Matrix()),
- (this.sMatrix = new Matrix()),
- (this.tMatrix = new Matrix()),
- (this.matrix = new Matrix())
- }),
- (RepeaterModifier.prototype.applyTransforms = function (e, t, n, r, a, o) {
- var i = o ? -1 : 1,
- s = r.s.v[0] + (1 - r.s.v[0]) * (1 - a),
- l = r.s.v[1] + (1 - r.s.v[1]) * (1 - a)
- e.translate(r.p.v[0] * i * a, r.p.v[1] * i * a, r.p.v[2]),
- t.translate(-r.a.v[0], -r.a.v[1], r.a.v[2]),
- t.rotate(-r.r.v * i * a),
- t.translate(r.a.v[0], r.a.v[1], r.a.v[2]),
- n.translate(-r.a.v[0], -r.a.v[1], r.a.v[2]),
- n.scale(o ? 1 / s : s, o ? 1 / l : l),
- n.translate(r.a.v[0], r.a.v[1], r.a.v[2])
- }),
- (RepeaterModifier.prototype.init = function (e, t, n, r) {
- for (
- this.elem = e,
- this.arr = t,
- this.pos = n,
- this.elemsData = r,
- this._currentCopies = 0,
- this._elements = [],
- this._groups = [],
- this.frameId = -1,
- this.initDynamicPropertyContainer(e),
- this.initModifierProperties(e, t[n]);
- n > 0;
- )
- (n -= 1), this._elements.unshift(t[n])
- this.dynamicProperties.length ? (this.k = !0) : this.getValue(!0)
- }),
- (RepeaterModifier.prototype.resetElements = function (e) {
- var t,
- n = e.length
- for (t = 0; t < n; t += 1)
- (e[t]._processed = !1), 'gr' === e[t].ty && this.resetElements(e[t].it)
- }),
- (RepeaterModifier.prototype.cloneElements = function (e) {
- var t = JSON.parse(JSON.stringify(e))
- return this.resetElements(t), t
- }),
- (RepeaterModifier.prototype.changeGroupRender = function (e, t) {
- var n,
- r = e.length
- for (n = 0; n < r; n += 1)
- (e[n]._render = t), 'gr' === e[n].ty && this.changeGroupRender(e[n].it, t)
- }),
- (RepeaterModifier.prototype.processShapes = function (e) {
- var t,
- n,
- r,
- a,
- o,
- i = !1
- if (this._mdf || e) {
- var s,
- l = Math.ceil(this.c.v)
- if (this._groups.length < l) {
- for (; this._groups.length < l; ) {
- var c = { it: this.cloneElements(this._elements), ty: 'gr' }
- c.it.push({
- a: { a: 0, ix: 1, k: [0, 0] },
- nm: 'Transform',
- o: { a: 0, ix: 7, k: 100 },
- p: { a: 0, ix: 2, k: [0, 0] },
- r: {
- a: 1,
- ix: 6,
- k: [
- { s: 0, e: 0, t: 0 },
- { s: 0, e: 0, t: 1 }
- ]
- },
- s: { a: 0, ix: 3, k: [100, 100] },
- sa: { a: 0, ix: 5, k: 0 },
- sk: { a: 0, ix: 4, k: 0 },
- ty: 'tr'
- }),
- this.arr.splice(0, 0, c),
- this._groups.splice(0, 0, c),
- (this._currentCopies += 1)
- }
- this.elem.reloadShapes(), (i = !0)
- }
- for (o = 0, r = 0; r <= this._groups.length - 1; r += 1) {
- if (
- ((s = o < l),
- (this._groups[r]._render = s),
- this.changeGroupRender(this._groups[r].it, s),
- !s)
- ) {
- var u = this.elemsData[r].it,
- p = u[u.length - 1]
- 0 !== p.transform.op.v
- ? ((p.transform.op._mdf = !0), (p.transform.op.v = 0))
- : (p.transform.op._mdf = !1)
- }
- o += 1
- }
- this._currentCopies = l
- var d = this.o.v,
- f = d % 1,
- h = d > 0 ? Math.floor(d) : Math.ceil(d),
- v = this.pMatrix.props,
- m = this.rMatrix.props,
- g = this.sMatrix.props
- this.pMatrix.reset(),
- this.rMatrix.reset(),
- this.sMatrix.reset(),
- this.tMatrix.reset(),
- this.matrix.reset()
- var y,
- b,
- _ = 0
- if (d > 0) {
- for (; _ < h; )
- this.applyTransforms(
- this.pMatrix,
- this.rMatrix,
- this.sMatrix,
- this.tr,
- 1,
- !1
- ),
- (_ += 1)
- f &&
- (this.applyTransforms(
- this.pMatrix,
- this.rMatrix,
- this.sMatrix,
- this.tr,
- f,
- !1
- ),
- (_ += f))
- } else if (d < 0) {
- for (; _ > h; )
- this.applyTransforms(
- this.pMatrix,
- this.rMatrix,
- this.sMatrix,
- this.tr,
- 1,
- !0
- ),
- (_ -= 1)
- f &&
- (this.applyTransforms(
- this.pMatrix,
- this.rMatrix,
- this.sMatrix,
- this.tr,
- -f,
- !0
- ),
- (_ -= f))
- }
- for (
- r = 1 === this.data.m ? 0 : this._currentCopies - 1,
- a = 1 === this.data.m ? 1 : -1,
- o = this._currentCopies;
- o;
- ) {
- if (
- ((b = (n = (t = this.elemsData[r].it)[t.length - 1].transform.mProps.v
- .props).length),
- (t[t.length - 1].transform.mProps._mdf = !0),
- (t[t.length - 1].transform.op._mdf = !0),
- (t[t.length - 1].transform.op.v =
- 1 === this._currentCopies
- ? this.so.v
- : this.so.v +
- (this.eo.v - this.so.v) * (r / (this._currentCopies - 1))),
- 0 !== _)
- ) {
- for (
- ((0 !== r && 1 === a) || (r !== this._currentCopies - 1 && -1 === a)) &&
- this.applyTransforms(
- this.pMatrix,
- this.rMatrix,
- this.sMatrix,
- this.tr,
- 1,
- !1
- ),
- this.matrix.transform(
- m[0],
- m[1],
- m[2],
- m[3],
- m[4],
- m[5],
- m[6],
- m[7],
- m[8],
- m[9],
- m[10],
- m[11],
- m[12],
- m[13],
- m[14],
- m[15]
- ),
- this.matrix.transform(
- g[0],
- g[1],
- g[2],
- g[3],
- g[4],
- g[5],
- g[6],
- g[7],
- g[8],
- g[9],
- g[10],
- g[11],
- g[12],
- g[13],
- g[14],
- g[15]
- ),
- this.matrix.transform(
- v[0],
- v[1],
- v[2],
- v[3],
- v[4],
- v[5],
- v[6],
- v[7],
- v[8],
- v[9],
- v[10],
- v[11],
- v[12],
- v[13],
- v[14],
- v[15]
- ),
- y = 0;
- y < b;
- y += 1
- )
- n[y] = this.matrix.props[y]
- this.matrix.reset()
- } else
- for (this.matrix.reset(), y = 0; y < b; y += 1)
- n[y] = this.matrix.props[y]
- ;(_ += 1), (o -= 1), (r += a)
- }
- } else
- for (o = this._currentCopies, r = 0, a = 1; o; )
- (n = (t = this.elemsData[r].it)[t.length - 1].transform.mProps.v.props),
- (t[t.length - 1].transform.mProps._mdf = !1),
- (t[t.length - 1].transform.op._mdf = !1),
- (o -= 1),
- (r += a)
- return i
- }),
- (RepeaterModifier.prototype.addShape = function () {}),
- extendPrototype([ShapeModifier], RoundCornersModifier),
- (RoundCornersModifier.prototype.initModifierProperties = function (e, t) {
- ;(this.getValue = this.processKeys),
- (this.rd = PropertyFactory.getProp(e, t.r, 0, null, this)),
- (this._isAnimated = !!this.rd.effectsSequence.length)
- }),
- (RoundCornersModifier.prototype.processPath = function (e, t) {
- var n,
- r = shapePool.newElement()
- r.c = e.c
- var a,
- o,
- i,
- s,
- l,
- c,
- u,
- p,
- d,
- f,
- h,
- v,
- m = e._length,
- g = 0
- for (n = 0; n < m; n += 1)
- (a = e.v[n]),
- (i = e.o[n]),
- (o = e.i[n]),
- a[0] === i[0] && a[1] === i[1] && a[0] === o[0] && a[1] === o[1]
- ? (0 !== n && n !== m - 1) || e.c
- ? ((s = 0 === n ? e.v[m - 1] : e.v[n - 1]),
- (c = (l = Math.sqrt(
- Math.pow(a[0] - s[0], 2) + Math.pow(a[1] - s[1], 2)
- ))
- ? Math.min(l / 2, t) / l
- : 0),
- (u = h = a[0] + (s[0] - a[0]) * c),
- (p = v = a[1] - (a[1] - s[1]) * c),
- (d = u - (u - a[0]) * roundCorner),
- (f = p - (p - a[1]) * roundCorner),
- r.setTripleAt(u, p, d, f, h, v, g),
- (g += 1),
- (s = n === m - 1 ? e.v[0] : e.v[n + 1]),
- (c = (l = Math.sqrt(
- Math.pow(a[0] - s[0], 2) + Math.pow(a[1] - s[1], 2)
- ))
- ? Math.min(l / 2, t) / l
- : 0),
- (u = d = a[0] + (s[0] - a[0]) * c),
- (p = f = a[1] + (s[1] - a[1]) * c),
- (h = u - (u - a[0]) * roundCorner),
- (v = p - (p - a[1]) * roundCorner),
- r.setTripleAt(u, p, d, f, h, v, g),
- (g += 1))
- : (r.setTripleAt(a[0], a[1], i[0], i[1], o[0], o[1], g), (g += 1))
- : (r.setTripleAt(
- e.v[n][0],
- e.v[n][1],
- e.o[n][0],
- e.o[n][1],
- e.i[n][0],
- e.i[n][1],
- g
- ),
- (g += 1))
- return r
- }),
- (RoundCornersModifier.prototype.processShapes = function (e) {
- var t,
- n,
- r,
- a,
- o,
- i,
- s = this.shapes.length,
- l = this.rd.v
- if (0 !== l)
- for (n = 0; n < s; n += 1) {
- if (
- ((i = (o = this.shapes[n]).localShapeCollection),
- o.shape._mdf || this._mdf || e)
- )
- for (
- i.releaseShapes(),
- o.shape._mdf = !0,
- t = o.shape.paths.shapes,
- a = o.shape.paths._length,
- r = 0;
- r < a;
- r += 1
- )
- i.addShape(this.processPath(t[r], l))
- o.shape.paths = o.localShapeCollection
- }
- this.dynamicProperties.length || (this._mdf = !1)
- })
- var FontManager = (function () {
- var e = { w: 0, size: 0, shapes: [], data: { shapes: [] } },
- t = []
- t = t.concat([
- 2304, 2305, 2306, 2307, 2362, 2363, 2364, 2364, 2366, 2367, 2368, 2369, 2370,
- 2371, 2372, 2373, 2374, 2375, 2376, 2377, 2378, 2379, 2380, 2381, 2382, 2383,
- 2387, 2388, 2389, 2390, 2391, 2402, 2403
- ])
- var n = ['d83cdffb', 'd83cdffc', 'd83cdffd', 'd83cdffe', 'd83cdfff'],
- r = [65039, 8205]
- function a(e, t) {
- var n = createTag('span')
- n.setAttribute('aria-hidden', !0), (n.style.fontFamily = t)
- var r = createTag('span')
- ;(r.innerText = 'giItT1WQy@!-/#'),
- (n.style.position = 'absolute'),
- (n.style.left = '-10000px'),
- (n.style.top = '-10000px'),
- (n.style.fontSize = '300px'),
- (n.style.fontVariant = 'normal'),
- (n.style.fontStyle = 'normal'),
- (n.style.fontWeight = 'normal'),
- (n.style.letterSpacing = '0'),
- n.appendChild(r),
- document.body.appendChild(n)
- var a = r.offsetWidth
- return (
- (r.style.fontFamily =
- (function (e) {
- var t,
- n = e.split(','),
- r = n.length,
- a = []
- for (t = 0; t < r; t += 1)
- 'sans-serif' !== n[t] && 'monospace' !== n[t] && a.push(n[t])
- return a.join(',')
- })(e) +
- ', ' +
- t),
- { node: r, w: a, parent: n }
- )
- }
- function o(e, t) {
- var n,
- r = document.body && t ? 'svg' : 'canvas',
- a = getFontProperties(e)
- if ('svg' === r) {
- var o = createNS('text')
- ;(o.style.fontSize = '100px'),
- o.setAttribute('font-family', e.fFamily),
- o.setAttribute('font-style', a.style),
- o.setAttribute('font-weight', a.weight),
- (o.textContent = '1'),
- e.fClass
- ? ((o.style.fontFamily = 'inherit'), o.setAttribute('class', e.fClass))
- : (o.style.fontFamily = e.fFamily),
- t.appendChild(o),
- (n = o)
- } else {
- var i = new OffscreenCanvas(500, 500).getContext('2d')
- ;(i.font = a.style + ' ' + a.weight + ' 100px ' + e.fFamily), (n = i)
- }
- return {
- measureText: function (e) {
- return 'svg' === r
- ? ((n.textContent = e), n.getComputedTextLength())
- : n.measureText(e).width
- }
- }
- }
- var i = function () {
- ;(this.fonts = []),
- (this.chars = null),
- (this.typekitLoaded = 0),
- (this.isLoaded = !1),
- (this._warned = !1),
- (this.initTime = Date.now()),
- (this.setIsLoadedBinded = this.setIsLoaded.bind(this)),
- (this.checkLoadedFontsBinded = this.checkLoadedFonts.bind(this))
- }
- ;(i.isModifier = function (e, t) {
- var r = e.toString(16) + t.toString(16)
- return -1 !== n.indexOf(r)
- }),
- (i.isZeroWidthJoiner = function (e, t) {
- return t ? e === r[0] && t === r[1] : e === r[1]
- }),
- (i.isCombinedCharacter = function (e) {
- return -1 !== t.indexOf(e)
- })
- var s = {
- addChars: function (e) {
- if (e) {
- var t
- this.chars || (this.chars = [])
- var n,
- r,
- a = e.length,
- o = this.chars.length
- for (t = 0; t < a; t += 1) {
- for (n = 0, r = !1; n < o; )
- this.chars[n].style === e[t].style &&
- this.chars[n].fFamily === e[t].fFamily &&
- this.chars[n].ch === e[t].ch &&
- (r = !0),
- (n += 1)
- r || (this.chars.push(e[t]), (o += 1))
- }
- }
- },
- addFonts: function (e, t) {
- if (e) {
- if (this.chars) return (this.isLoaded = !0), void (this.fonts = e.list)
- if (!document.body)
- return (
- (this.isLoaded = !0),
- e.list.forEach(function (e) {
- ;(e.helper = o(e)), (e.cache = {})
- }),
- void (this.fonts = e.list)
- )
- var n,
- r = e.list,
- i = r.length,
- s = i
- for (n = 0; n < i; n += 1) {
- var l,
- c,
- u = !0
- if (
- ((r[n].loaded = !1),
- (r[n].monoCase = a(r[n].fFamily, 'monospace')),
- (r[n].sansCase = a(r[n].fFamily, 'sans-serif')),
- r[n].fPath)
- ) {
- if ('p' === r[n].fOrigin || 3 === r[n].origin) {
- if (
- ((l = document.querySelectorAll(
- 'style[f-forigin="p"][f-family="' +
- r[n].fFamily +
- '"], style[f-origin="3"][f-family="' +
- r[n].fFamily +
- '"]'
- )).length > 0 && (u = !1),
- u)
- ) {
- var p = createTag('style')
- p.setAttribute('f-forigin', r[n].fOrigin),
- p.setAttribute('f-origin', r[n].origin),
- p.setAttribute('f-family', r[n].fFamily),
- (p.type = 'text/css'),
- (p.innerText =
- '@font-face {font-family: ' +
- r[n].fFamily +
- "; font-style: normal; src: url('" +
- r[n].fPath +
- "');}"),
- t.appendChild(p)
- }
- } else if ('g' === r[n].fOrigin || 1 === r[n].origin) {
- for (
- l = document.querySelectorAll(
- 'link[f-forigin="g"], link[f-origin="1"]'
- ),
- c = 0;
- c < l.length;
- c += 1
- )
- -1 !== l[c].href.indexOf(r[n].fPath) && (u = !1)
- if (u) {
- var d = createTag('link')
- d.setAttribute('f-forigin', r[n].fOrigin),
- d.setAttribute('f-origin', r[n].origin),
- (d.type = 'text/css'),
- (d.rel = 'stylesheet'),
- (d.href = r[n].fPath),
- document.body.appendChild(d)
- }
- } else if ('t' === r[n].fOrigin || 2 === r[n].origin) {
- for (
- l = document.querySelectorAll(
- 'script[f-forigin="t"], script[f-origin="2"]'
- ),
- c = 0;
- c < l.length;
- c += 1
- )
- r[n].fPath === l[c].src && (u = !1)
- if (u) {
- var f = createTag('link')
- f.setAttribute('f-forigin', r[n].fOrigin),
- f.setAttribute('f-origin', r[n].origin),
- f.setAttribute('rel', 'stylesheet'),
- f.setAttribute('href', r[n].fPath),
- t.appendChild(f)
- }
- }
- } else (r[n].loaded = !0), (s -= 1)
- ;(r[n].helper = o(r[n], t)), (r[n].cache = {}), this.fonts.push(r[n])
- }
- 0 === s
- ? (this.isLoaded = !0)
- : setTimeout(this.checkLoadedFonts.bind(this), 100)
- } else this.isLoaded = !0
- },
- getCharData: function (t, n, r) {
- for (var a = 0, o = this.chars.length; a < o; ) {
- if (
- this.chars[a].ch === t &&
- this.chars[a].style === n &&
- this.chars[a].fFamily === r
- )
- return this.chars[a]
- a += 1
- }
- return (
- (('string' == typeof t && 13 !== t.charCodeAt(0)) || !t) &&
- console &&
- console.warn &&
- !this._warned &&
- ((this._warned = !0),
- console.warn(
- 'Missing character from exported characters list: ',
- t,
- n,
- r
- )),
- e
- )
- },
- getFontByName: function (e) {
- for (var t = 0, n = this.fonts.length; t < n; ) {
- if (this.fonts[t].fName === e) return this.fonts[t]
- t += 1
- }
- return this.fonts[0]
- },
- measureText: function (e, t, n) {
- var r = this.getFontByName(t),
- a = e.charCodeAt(0)
- if (!r.cache[a + 1]) {
- var o = r.helper
- if (' ' === e) {
- var i = o.measureText('|' + e + '|'),
- s = o.measureText('||')
- r.cache[a + 1] = (i - s) / 100
- } else r.cache[a + 1] = o.measureText(e) / 100
- }
- return r.cache[a + 1] * n
- },
- checkLoadedFonts: function () {
- var e,
- t,
- n,
- r = this.fonts.length,
- a = r
- for (e = 0; e < r; e += 1)
- this.fonts[e].loaded
- ? (a -= 1)
- : 'n' === this.fonts[e].fOrigin || 0 === this.fonts[e].origin
- ? (this.fonts[e].loaded = !0)
- : ((t = this.fonts[e].monoCase.node),
- (n = this.fonts[e].monoCase.w),
- t.offsetWidth !== n
- ? ((a -= 1), (this.fonts[e].loaded = !0))
- : ((t = this.fonts[e].sansCase.node),
- (n = this.fonts[e].sansCase.w),
- t.offsetWidth !== n && ((a -= 1), (this.fonts[e].loaded = !0))),
- this.fonts[e].loaded &&
- (this.fonts[e].sansCase.parent.parentNode.removeChild(
- this.fonts[e].sansCase.parent
- ),
- this.fonts[e].monoCase.parent.parentNode.removeChild(
- this.fonts[e].monoCase.parent
- )))
- 0 !== a && Date.now() - this.initTime < 5e3
- ? setTimeout(this.checkLoadedFontsBinded, 20)
- : setTimeout(this.setIsLoadedBinded, 10)
- },
- setIsLoaded: function () {
- this.isLoaded = !0
- }
- }
- return (i.prototype = s), i
- })()
- function RenderableElement() {}
- RenderableElement.prototype = {
- initRenderable: function () {
- ;(this.isInRange = !1),
- (this.hidden = !1),
- (this.isTransparent = !1),
- (this.renderableComponents = [])
- },
- addRenderableComponent: function (e) {
- ;-1 === this.renderableComponents.indexOf(e) &&
- this.renderableComponents.push(e)
- },
- removeRenderableComponent: function (e) {
- ;-1 !== this.renderableComponents.indexOf(e) &&
- this.renderableComponents.splice(this.renderableComponents.indexOf(e), 1)
- },
- prepareRenderableFrame: function (e) {
- this.checkLayerLimits(e)
- },
- checkTransparency: function () {
- this.finalTransform.mProp.o.v <= 0
- ? !this.isTransparent &&
- this.globalData.renderConfig.hideOnTransparent &&
- ((this.isTransparent = !0), this.hide())
- : this.isTransparent && ((this.isTransparent = !1), this.show())
- },
- checkLayerLimits: function (e) {
- this.data.ip - this.data.st <= e && this.data.op - this.data.st > e
- ? !0 !== this.isInRange &&
- ((this.globalData._mdf = !0),
- (this._mdf = !0),
- (this.isInRange = !0),
- this.show())
- : !1 !== this.isInRange &&
- ((this.globalData._mdf = !0), (this.isInRange = !1), this.hide())
- },
- renderRenderable: function () {
- var e,
- t = this.renderableComponents.length
- for (e = 0; e < t; e += 1)
- this.renderableComponents[e].renderFrame(this._isFirstFrame)
- },
- sourceRectAtTime: function () {
- return { top: 0, left: 0, width: 100, height: 100 }
- },
- getLayerSize: function () {
- return 5 === this.data.ty
- ? { w: this.data.textData.width, h: this.data.textData.height }
- : { w: this.data.width, h: this.data.height }
- }
- }
- var MaskManagerInterface = (function () {
- function e(e, t) {
- ;(this._mask = e), (this._data = t)
- }
- return (
- Object.defineProperty(e.prototype, 'maskPath', {
- get: function () {
- return this._mask.prop.k && this._mask.prop.getValue(), this._mask.prop
- }
- }),
- Object.defineProperty(e.prototype, 'maskOpacity', {
- get: function () {
- return this._mask.op.k && this._mask.op.getValue(), 100 * this._mask.op.v
- }
- }),
- function (t) {
- var n,
- r = createSizedArray(t.viewData.length),
- a = t.viewData.length
- for (n = 0; n < a; n += 1) r[n] = new e(t.viewData[n], t.masksProperties[n])
- return function (e) {
- for (n = 0; n < a; ) {
- if (t.masksProperties[n].nm === e) return r[n]
- n += 1
- }
- return null
- }
- }
- )
- })(),
- ExpressionPropertyInterface = (function () {
- var e = { pv: 0, v: 0, mult: 1 },
- t = { pv: [0, 0, 0], v: [0, 0, 0], mult: 1 }
- function n(e, t, n) {
- Object.defineProperty(e, 'velocity', {
- get: function () {
- return t.getVelocityAtTime(t.comp.currentFrame)
- }
- }),
- (e.numKeys = t.keyframes ? t.keyframes.length : 0),
- (e.key = function (r) {
- if (!e.numKeys) return 0
- var a = ''
- a =
- 's' in t.keyframes[r - 1]
- ? t.keyframes[r - 1].s
- : 'e' in t.keyframes[r - 2]
- ? t.keyframes[r - 2].e
- : t.keyframes[r - 2].s
- var o = 'unidimensional' === n ? new Number(a) : Object.assign({}, a)
- return (
- (o.time = t.keyframes[r - 1].t / t.elem.comp.globalData.frameRate),
- (o.value = 'unidimensional' === n ? a[0] : a),
- o
- )
- }),
- (e.valueAtTime = t.getValueAtTime),
- (e.speedAtTime = t.getSpeedAtTime),
- (e.velocityAtTime = t.getVelocityAtTime),
- (e.propertyGroup = t.propertyGroup)
- }
- function r() {
- return e
- }
- return function (a) {
- return a
- ? 'unidimensional' === a.propType
- ? (function (t) {
- ;(t && 'pv' in t) || (t = e)
- var r = 1 / t.mult,
- a = t.pv * r,
- o = new Number(a)
- return (
- (o.value = a),
- n(o, t, 'unidimensional'),
- function () {
- return (
- t.k && t.getValue(),
- (a = t.v * r),
- o.value !== a &&
- (((o = new Number(a)).value = a), n(o, t, 'unidimensional')),
- o
- )
- }
- )
- })(a)
- : (function (e) {
- ;(e && 'pv' in e) || (e = t)
- var r = 1 / e.mult,
- a = (e.data && e.data.l) || e.pv.length,
- o = createTypedArray('float32', a),
- i = createTypedArray('float32', a)
- return (
- (o.value = i),
- n(o, e, 'multidimensional'),
- function () {
- e.k && e.getValue()
- for (var t = 0; t < a; t += 1) (i[t] = e.v[t] * r), (o[t] = i[t])
- return o
- }
- )
- })(a)
- : r
- }
- })(),
- TransformExpressionInterface = function (e) {
- function t(e) {
- switch (e) {
- case 'scale':
- case 'Scale':
- case 'ADBE Scale':
- case 6:
- return t.scale
- case 'rotation':
- case 'Rotation':
- case 'ADBE Rotation':
- case 'ADBE Rotate Z':
- case 10:
- return t.rotation
- case 'ADBE Rotate X':
- return t.xRotation
- case 'ADBE Rotate Y':
- return t.yRotation
- case 'position':
- case 'Position':
- case 'ADBE Position':
- case 2:
- return t.position
- case 'ADBE Position_0':
- return t.xPosition
- case 'ADBE Position_1':
- return t.yPosition
- case 'ADBE Position_2':
- return t.zPosition
- case 'anchorPoint':
- case 'AnchorPoint':
- case 'Anchor Point':
- case 'ADBE AnchorPoint':
- case 1:
- return t.anchorPoint
- case 'opacity':
- case 'Opacity':
- case 11:
- return t.opacity
- default:
- return null
- }
- }
- var n, r, a, o
- return (
- Object.defineProperty(t, 'rotation', {
- get: ExpressionPropertyInterface(e.r || e.rz)
- }),
- Object.defineProperty(t, 'zRotation', {
- get: ExpressionPropertyInterface(e.rz || e.r)
- }),
- Object.defineProperty(t, 'xRotation', {
- get: ExpressionPropertyInterface(e.rx)
- }),
- Object.defineProperty(t, 'yRotation', {
- get: ExpressionPropertyInterface(e.ry)
- }),
- Object.defineProperty(t, 'scale', { get: ExpressionPropertyInterface(e.s) }),
- e.p
- ? (o = ExpressionPropertyInterface(e.p))
- : ((n = ExpressionPropertyInterface(e.px)),
- (r = ExpressionPropertyInterface(e.py)),
- e.pz && (a = ExpressionPropertyInterface(e.pz))),
- Object.defineProperty(t, 'position', {
- get: function () {
- return e.p ? o() : [n(), r(), a ? a() : 0]
- }
- }),
- Object.defineProperty(t, 'xPosition', {
- get: ExpressionPropertyInterface(e.px)
- }),
- Object.defineProperty(t, 'yPosition', {
- get: ExpressionPropertyInterface(e.py)
- }),
- Object.defineProperty(t, 'zPosition', {
- get: ExpressionPropertyInterface(e.pz)
- }),
- Object.defineProperty(t, 'anchorPoint', {
- get: ExpressionPropertyInterface(e.a)
- }),
- Object.defineProperty(t, 'opacity', {
- get: ExpressionPropertyInterface(e.o)
- }),
- Object.defineProperty(t, 'skew', { get: ExpressionPropertyInterface(e.sk) }),
- Object.defineProperty(t, 'skewAxis', {
- get: ExpressionPropertyInterface(e.sa)
- }),
- Object.defineProperty(t, 'orientation', {
- get: ExpressionPropertyInterface(e.or)
- }),
- t
- )
- },
- LayerExpressionInterface = (function () {
- function e(e) {
- var t = new Matrix()
- return (
- void 0 !== e
- ? this._elem.finalTransform.mProp.getValueAtTime(e).clone(t)
- : this._elem.finalTransform.mProp.applyToMatrix(t),
- t
- )
- }
- function t(e, t) {
- var n = this.getMatrix(t)
- return (
- (n.props[12] = 0),
- (n.props[13] = 0),
- (n.props[14] = 0),
- this.applyPoint(n, e)
- )
- }
- function n(e, t) {
- var n = this.getMatrix(t)
- return this.applyPoint(n, e)
- }
- function r(e, t) {
- var n = this.getMatrix(t)
- return (
- (n.props[12] = 0),
- (n.props[13] = 0),
- (n.props[14] = 0),
- this.invertPoint(n, e)
- )
- }
- function a(e, t) {
- var n = this.getMatrix(t)
- return this.invertPoint(n, e)
- }
- function o(e, t) {
- if (this._elem.hierarchy && this._elem.hierarchy.length) {
- var n,
- r = this._elem.hierarchy.length
- for (n = 0; n < r; n += 1)
- this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(e)
- }
- return e.applyToPointArray(t[0], t[1], t[2] || 0)
- }
- function i(e, t) {
- if (this._elem.hierarchy && this._elem.hierarchy.length) {
- var n,
- r = this._elem.hierarchy.length
- for (n = 0; n < r; n += 1)
- this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(e)
- }
- return e.inversePoint(t)
- }
- function s(e) {
- var t = new Matrix()
- if (
- (t.reset(),
- this._elem.finalTransform.mProp.applyToMatrix(t),
- this._elem.hierarchy && this._elem.hierarchy.length)
- ) {
- var n,
- r = this._elem.hierarchy.length
- for (n = 0; n < r; n += 1)
- this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(t)
- return t.inversePoint(e)
- }
- return t.inversePoint(e)
- }
- function l() {
- return [1, 1, 1, 1]
- }
- return function (c) {
- var u
- function p(e) {
- switch (e) {
- case 'ADBE Root Vectors Group':
- case 'Contents':
- case 2:
- return p.shapeInterface
- case 1:
- case 6:
- case 'Transform':
- case 'transform':
- case 'ADBE Transform Group':
- return u
- case 4:
- case 'ADBE Effect Parade':
- case 'effects':
- case 'Effects':
- return p.effect
- case 'ADBE Text Properties':
- return p.textInterface
- default:
- return null
- }
- }
- ;(p.getMatrix = e),
- (p.invertPoint = i),
- (p.applyPoint = o),
- (p.toWorld = n),
- (p.toWorldVec = t),
- (p.fromWorld = a),
- (p.fromWorldVec = r),
- (p.toComp = n),
- (p.fromComp = s),
- (p.sampleImage = l),
- (p.sourceRectAtTime = c.sourceRectAtTime.bind(c)),
- (p._elem = c)
- var d = getDescriptor(
- (u = TransformExpressionInterface(c.finalTransform.mProp)),
- 'anchorPoint'
- )
- return (
- Object.defineProperties(p, {
- hasParent: {
- get: function () {
- return c.hierarchy.length
- }
- },
- parent: {
- get: function () {
- return c.hierarchy[0].layerInterface
- }
- },
- rotation: getDescriptor(u, 'rotation'),
- scale: getDescriptor(u, 'scale'),
- position: getDescriptor(u, 'position'),
- opacity: getDescriptor(u, 'opacity'),
- anchorPoint: d,
- anchor_point: d,
- transform: {
- get: function () {
- return u
- }
- },
- active: {
- get: function () {
- return c.isInRange
- }
- }
- }),
- (p.startTime = c.data.st),
- (p.index = c.data.ind),
- (p.source = c.data.refId),
- (p.height = 0 === c.data.ty ? c.data.h : 100),
- (p.width = 0 === c.data.ty ? c.data.w : 100),
- (p.inPoint = c.data.ip / c.comp.globalData.frameRate),
- (p.outPoint = c.data.op / c.comp.globalData.frameRate),
- (p._name = c.data.nm),
- (p.registerMaskInterface = function (e) {
- p.mask = new MaskManagerInterface(e, c)
- }),
- (p.registerEffectsInterface = function (e) {
- p.effect = e
- }),
- p
- )
- }
- })(),
- propertyGroupFactory = function (e, t) {
- return function (n) {
- return (n = void 0 === n ? 1 : n) <= 0 ? e : t(n - 1)
- }
- },
- PropertyInterface = function (e, t) {
- var n = { _name: e }
- return function (e) {
- return (e = void 0 === e ? 1 : e) <= 0 ? n : t(e - 1)
- }
- },
- EffectsExpressionInterface = (function () {
- var e = {
- createEffectsInterface: function (e, n) {
- if (e.effectsManager) {
- var r,
- a = [],
- o = e.data.ef,
- i = e.effectsManager.effectElements.length
- for (r = 0; r < i; r += 1)
- a.push(t(o[r], e.effectsManager.effectElements[r], n, e))
- var s = e.data.ef || [],
- l = function (e) {
- for (r = 0, i = s.length; r < i; ) {
- if (e === s[r].nm || e === s[r].mn || e === s[r].ix) return a[r]
- r += 1
- }
- return null
- }
- return (
- Object.defineProperty(l, 'numProperties', {
- get: function () {
- return s.length
- }
- }),
- l
- )
- }
- return null
- }
- }
- function t(e, r, a, o) {
- function i(t) {
- for (var n = e.ef, r = 0, a = n.length; r < a; ) {
- if (t === n[r].nm || t === n[r].mn || t === n[r].ix)
- return 5 === n[r].ty ? c[r] : c[r]()
- r += 1
- }
- throw new Error()
- }
- var s,
- l = propertyGroupFactory(i, a),
- c = [],
- u = e.ef.length
- for (s = 0; s < u; s += 1)
- 5 === e.ef[s].ty
- ? c.push(
- t(e.ef[s], r.effectElements[s], r.effectElements[s].propertyGroup, o)
- )
- : c.push(n(r.effectElements[s], e.ef[s].ty, o, l))
- return (
- 'ADBE Color Control' === e.mn &&
- Object.defineProperty(i, 'color', {
- get: function () {
- return c[0]()
- }
- }),
- Object.defineProperties(i, {
- numProperties: {
- get: function () {
- return e.np
- }
- },
- _name: { value: e.nm },
- propertyGroup: { value: l }
- }),
- (i.enabled = 0 !== e.en),
- (i.active = i.enabled),
- i
- )
- }
- function n(e, t, n, r) {
- var a = ExpressionPropertyInterface(e.p)
- return (
- e.p.setGroupProperty && e.p.setGroupProperty(PropertyInterface('', r)),
- function () {
- return 10 === t ? n.comp.compInterface(e.p.v) : a()
- }
- )
- }
- return e
- })(),
- CompExpressionInterface = function (e) {
- function t(t) {
- for (var n = 0, r = e.layers.length; n < r; ) {
- if (e.layers[n].nm === t || e.layers[n].ind === t)
- return e.elements[n].layerInterface
- n += 1
- }
- return null
- }
- return (
- Object.defineProperty(t, '_name', { value: e.data.nm }),
- (t.layer = t),
- (t.pixelAspect = 1),
- (t.height = e.data.h || e.globalData.compSize.h),
- (t.width = e.data.w || e.globalData.compSize.w),
- (t.pixelAspect = 1),
- (t.frameDuration = 1 / e.globalData.frameRate),
- (t.displayStartTime = 0),
- (t.numLayers = e.layers.length),
- t
- )
- },
- ShapePathInterface = function (e, t, n) {
- var r = t.sh
- function a(e) {
- return 'Shape' === e ||
- 'shape' === e ||
- 'Path' === e ||
- 'path' === e ||
- 'ADBE Vector Shape' === e ||
- 2 === e
- ? a.path
- : null
- }
- var o = propertyGroupFactory(a, n)
- return (
- r.setGroupProperty(PropertyInterface('Path', o)),
- Object.defineProperties(a, {
- path: {
- get: function () {
- return r.k && r.getValue(), r
- }
- },
- shape: {
- get: function () {
- return r.k && r.getValue(), r
- }
- },
- _name: { value: e.nm },
- ix: { value: e.ix },
- propertyIndex: { value: e.ix },
- mn: { value: e.mn },
- propertyGroup: { value: n }
- }),
- a
- )
- },
- ShapeExpressionInterface = (function () {
- function e(e, i, d) {
- var f,
- h = [],
- v = e ? e.length : 0
- for (f = 0; f < v; f += 1)
- 'gr' === e[f].ty
- ? h.push(t(e[f], i[f], d))
- : 'fl' === e[f].ty
- ? h.push(n(e[f], i[f], d))
- : 'st' === e[f].ty
- ? h.push(a(e[f], i[f], d))
- : 'tm' === e[f].ty
- ? h.push(o(e[f], i[f], d))
- : 'tr' === e[f].ty ||
- ('el' === e[f].ty
- ? h.push(s(e[f], i[f], d))
- : 'sr' === e[f].ty
- ? h.push(l(e[f], i[f], d))
- : 'sh' === e[f].ty
- ? h.push(ShapePathInterface(e[f], i[f], d))
- : 'rc' === e[f].ty
- ? h.push(c(e[f], i[f], d))
- : 'rd' === e[f].ty
- ? h.push(u(e[f], i[f], d))
- : 'rp' === e[f].ty
- ? h.push(p(e[f], i[f], d))
- : 'gf' === e[f].ty
- ? h.push(r(e[f], i[f], d))
- : h.push(
- (e[f],
- i[f],
- function () {
- return null
- })
- ))
- return h
- }
- function t(t, n, r) {
- var a = function (e) {
- switch (e) {
- case 'ADBE Vectors Group':
- case 'Contents':
- case 2:
- return a.content
- default:
- return a.transform
- }
- }
- a.propertyGroup = propertyGroupFactory(a, r)
- var o = (function (t, n, r) {
- var a,
- o = function (e) {
- for (var t = 0, n = a.length; t < n; ) {
- if (
- a[t]._name === e ||
- a[t].mn === e ||
- a[t].propertyIndex === e ||
- a[t].ix === e ||
- a[t].ind === e
- )
- return a[t]
- t += 1
- }
- return 'number' == typeof e ? a[e - 1] : null
- }
- ;(o.propertyGroup = propertyGroupFactory(o, r)),
- (a = e(t.it, n.it, o.propertyGroup)),
- (o.numProperties = a.length)
- var s = i(t.it[t.it.length - 1], n.it[n.it.length - 1], o.propertyGroup)
- return (o.transform = s), (o.propertyIndex = t.cix), (o._name = t.nm), o
- })(t, n, a.propertyGroup),
- s = i(t.it[t.it.length - 1], n.it[n.it.length - 1], a.propertyGroup)
- return (
- (a.content = o),
- (a.transform = s),
- Object.defineProperty(a, '_name', {
- get: function () {
- return t.nm
- }
- }),
- (a.numProperties = t.np),
- (a.propertyIndex = t.ix),
- (a.nm = t.nm),
- (a.mn = t.mn),
- a
- )
- }
- function n(e, t, n) {
- function r(e) {
- return 'Color' === e || 'color' === e
- ? r.color
- : 'Opacity' === e || 'opacity' === e
- ? r.opacity
- : null
- }
- return (
- Object.defineProperties(r, {
- color: { get: ExpressionPropertyInterface(t.c) },
- opacity: { get: ExpressionPropertyInterface(t.o) },
- _name: { value: e.nm },
- mn: { value: e.mn }
- }),
- t.c.setGroupProperty(PropertyInterface('Color', n)),
- t.o.setGroupProperty(PropertyInterface('Opacity', n)),
- r
- )
- }
- function r(e, t, n) {
- function r(e) {
- return 'Start Point' === e || 'start point' === e
- ? r.startPoint
- : 'End Point' === e || 'end point' === e
- ? r.endPoint
- : 'Opacity' === e || 'opacity' === e
- ? r.opacity
- : null
- }
- return (
- Object.defineProperties(r, {
- startPoint: { get: ExpressionPropertyInterface(t.s) },
- endPoint: { get: ExpressionPropertyInterface(t.e) },
- opacity: { get: ExpressionPropertyInterface(t.o) },
- type: {
- get: function () {
- return 'a'
- }
- },
- _name: { value: e.nm },
- mn: { value: e.mn }
- }),
- t.s.setGroupProperty(PropertyInterface('Start Point', n)),
- t.e.setGroupProperty(PropertyInterface('End Point', n)),
- t.o.setGroupProperty(PropertyInterface('Opacity', n)),
- r
- )
- }
- function a(e, t, n) {
- var r,
- a = propertyGroupFactory(c, n),
- o = propertyGroupFactory(l, a)
- function i(n) {
- Object.defineProperty(l, e.d[n].nm, {
- get: ExpressionPropertyInterface(t.d.dataProps[n].p)
- })
- }
- var s = e.d ? e.d.length : 0,
- l = {}
- for (r = 0; r < s; r += 1) i(r), t.d.dataProps[r].p.setGroupProperty(o)
- function c(e) {
- return 'Color' === e || 'color' === e
- ? c.color
- : 'Opacity' === e || 'opacity' === e
- ? c.opacity
- : 'Stroke Width' === e || 'stroke width' === e
- ? c.strokeWidth
- : null
- }
- return (
- Object.defineProperties(c, {
- color: { get: ExpressionPropertyInterface(t.c) },
- opacity: { get: ExpressionPropertyInterface(t.o) },
- strokeWidth: { get: ExpressionPropertyInterface(t.w) },
- dash: {
- get: function () {
- return l
- }
- },
- _name: { value: e.nm },
- mn: { value: e.mn }
- }),
- t.c.setGroupProperty(PropertyInterface('Color', a)),
- t.o.setGroupProperty(PropertyInterface('Opacity', a)),
- t.w.setGroupProperty(PropertyInterface('Stroke Width', a)),
- c
- )
- }
- function o(e, t, n) {
- function r(t) {
- return t === e.e.ix || 'End' === t || 'end' === t
- ? r.end
- : t === e.s.ix
- ? r.start
- : t === e.o.ix
- ? r.offset
- : null
- }
- var a = propertyGroupFactory(r, n)
- return (
- (r.propertyIndex = e.ix),
- t.s.setGroupProperty(PropertyInterface('Start', a)),
- t.e.setGroupProperty(PropertyInterface('End', a)),
- t.o.setGroupProperty(PropertyInterface('Offset', a)),
- (r.propertyIndex = e.ix),
- (r.propertyGroup = n),
- Object.defineProperties(r, {
- start: { get: ExpressionPropertyInterface(t.s) },
- end: { get: ExpressionPropertyInterface(t.e) },
- offset: { get: ExpressionPropertyInterface(t.o) },
- _name: { value: e.nm }
- }),
- (r.mn = e.mn),
- r
- )
- }
- function i(e, t, n) {
- function r(t) {
- return e.a.ix === t || 'Anchor Point' === t
- ? r.anchorPoint
- : e.o.ix === t || 'Opacity' === t
- ? r.opacity
- : e.p.ix === t || 'Position' === t
- ? r.position
- : e.r.ix === t || 'Rotation' === t || 'ADBE Vector Rotation' === t
- ? r.rotation
- : e.s.ix === t || 'Scale' === t
- ? r.scale
- : (e.sk && e.sk.ix === t) || 'Skew' === t
- ? r.skew
- : (e.sa && e.sa.ix === t) || 'Skew Axis' === t
- ? r.skewAxis
- : null
- }
- var a = propertyGroupFactory(r, n)
- return (
- t.transform.mProps.o.setGroupProperty(PropertyInterface('Opacity', a)),
- t.transform.mProps.p.setGroupProperty(PropertyInterface('Position', a)),
- t.transform.mProps.a.setGroupProperty(PropertyInterface('Anchor Point', a)),
- t.transform.mProps.s.setGroupProperty(PropertyInterface('Scale', a)),
- t.transform.mProps.r.setGroupProperty(PropertyInterface('Rotation', a)),
- t.transform.mProps.sk &&
- (t.transform.mProps.sk.setGroupProperty(PropertyInterface('Skew', a)),
- t.transform.mProps.sa.setGroupProperty(
- PropertyInterface('Skew Angle', a)
- )),
- t.transform.op.setGroupProperty(PropertyInterface('Opacity', a)),
- Object.defineProperties(r, {
- opacity: { get: ExpressionPropertyInterface(t.transform.mProps.o) },
- position: { get: ExpressionPropertyInterface(t.transform.mProps.p) },
- anchorPoint: { get: ExpressionPropertyInterface(t.transform.mProps.a) },
- scale: { get: ExpressionPropertyInterface(t.transform.mProps.s) },
- rotation: { get: ExpressionPropertyInterface(t.transform.mProps.r) },
- skew: { get: ExpressionPropertyInterface(t.transform.mProps.sk) },
- skewAxis: { get: ExpressionPropertyInterface(t.transform.mProps.sa) },
- _name: { value: e.nm }
- }),
- (r.ty = 'tr'),
- (r.mn = e.mn),
- (r.propertyGroup = n),
- r
- )
- }
- function s(e, t, n) {
- function r(t) {
- return e.p.ix === t ? r.position : e.s.ix === t ? r.size : null
- }
- var a = propertyGroupFactory(r, n)
- r.propertyIndex = e.ix
- var o = 'tm' === t.sh.ty ? t.sh.prop : t.sh
- return (
- o.s.setGroupProperty(PropertyInterface('Size', a)),
- o.p.setGroupProperty(PropertyInterface('Position', a)),
- Object.defineProperties(r, {
- size: { get: ExpressionPropertyInterface(o.s) },
- position: { get: ExpressionPropertyInterface(o.p) },
- _name: { value: e.nm }
- }),
- (r.mn = e.mn),
- r
- )
- }
- function l(e, t, n) {
- function r(t) {
- return e.p.ix === t
- ? r.position
- : e.r.ix === t
- ? r.rotation
- : e.pt.ix === t
- ? r.points
- : e.or.ix === t || 'ADBE Vector Star Outer Radius' === t
- ? r.outerRadius
- : e.os.ix === t
- ? r.outerRoundness
- : !e.ir || (e.ir.ix !== t && 'ADBE Vector Star Inner Radius' !== t)
- ? e.is && e.is.ix === t
- ? r.innerRoundness
- : null
- : r.innerRadius
- }
- var a = propertyGroupFactory(r, n),
- o = 'tm' === t.sh.ty ? t.sh.prop : t.sh
- return (
- (r.propertyIndex = e.ix),
- o.or.setGroupProperty(PropertyInterface('Outer Radius', a)),
- o.os.setGroupProperty(PropertyInterface('Outer Roundness', a)),
- o.pt.setGroupProperty(PropertyInterface('Points', a)),
- o.p.setGroupProperty(PropertyInterface('Position', a)),
- o.r.setGroupProperty(PropertyInterface('Rotation', a)),
- e.ir &&
- (o.ir.setGroupProperty(PropertyInterface('Inner Radius', a)),
- o.is.setGroupProperty(PropertyInterface('Inner Roundness', a))),
- Object.defineProperties(r, {
- position: { get: ExpressionPropertyInterface(o.p) },
- rotation: { get: ExpressionPropertyInterface(o.r) },
- points: { get: ExpressionPropertyInterface(o.pt) },
- outerRadius: { get: ExpressionPropertyInterface(o.or) },
- outerRoundness: { get: ExpressionPropertyInterface(o.os) },
- innerRadius: { get: ExpressionPropertyInterface(o.ir) },
- innerRoundness: { get: ExpressionPropertyInterface(o.is) },
- _name: { value: e.nm }
- }),
- (r.mn = e.mn),
- r
- )
- }
- function c(e, t, n) {
- function r(t) {
- return e.p.ix === t
- ? r.position
- : e.r.ix === t
- ? r.roundness
- : e.s.ix === t || 'Size' === t || 'ADBE Vector Rect Size' === t
- ? r.size
- : null
- }
- var a = propertyGroupFactory(r, n),
- o = 'tm' === t.sh.ty ? t.sh.prop : t.sh
- return (
- (r.propertyIndex = e.ix),
- o.p.setGroupProperty(PropertyInterface('Position', a)),
- o.s.setGroupProperty(PropertyInterface('Size', a)),
- o.r.setGroupProperty(PropertyInterface('Rotation', a)),
- Object.defineProperties(r, {
- position: { get: ExpressionPropertyInterface(o.p) },
- roundness: { get: ExpressionPropertyInterface(o.r) },
- size: { get: ExpressionPropertyInterface(o.s) },
- _name: { value: e.nm }
- }),
- (r.mn = e.mn),
- r
- )
- }
- function u(e, t, n) {
- function r(t) {
- return e.r.ix === t || 'Round Corners 1' === t ? r.radius : null
- }
- var a = propertyGroupFactory(r, n),
- o = t
- return (
- (r.propertyIndex = e.ix),
- o.rd.setGroupProperty(PropertyInterface('Radius', a)),
- Object.defineProperties(r, {
- radius: { get: ExpressionPropertyInterface(o.rd) },
- _name: { value: e.nm }
- }),
- (r.mn = e.mn),
- r
- )
- }
- function p(e, t, n) {
- function r(t) {
- return e.c.ix === t || 'Copies' === t
- ? r.copies
- : e.o.ix === t || 'Offset' === t
- ? r.offset
- : null
- }
- var a = propertyGroupFactory(r, n),
- o = t
- return (
- (r.propertyIndex = e.ix),
- o.c.setGroupProperty(PropertyInterface('Copies', a)),
- o.o.setGroupProperty(PropertyInterface('Offset', a)),
- Object.defineProperties(r, {
- copies: { get: ExpressionPropertyInterface(o.c) },
- offset: { get: ExpressionPropertyInterface(o.o) },
- _name: { value: e.nm }
- }),
- (r.mn = e.mn),
- r
- )
- }
- return function (t, n, r) {
- var a
- function o(e) {
- if ('number' == typeof e)
- return 0 === (e = void 0 === e ? 1 : e) ? r : a[e - 1]
- for (var t = 0, n = a.length; t < n; ) {
- if (a[t]._name === e) return a[t]
- t += 1
- }
- return null
- }
- return (
- (o.propertyGroup = propertyGroupFactory(o, function () {
- return r
- })),
- (a = e(t, n, o.propertyGroup)),
- (o.numProperties = a.length),
- (o._name = 'Contents'),
- o
- )
- }
- })(),
- TextExpressionInterface = function (e) {
- var t, n
- function r(e) {
- return 'ADBE Text Document' === e ? r.sourceText : null
- }
- return (
- Object.defineProperty(r, 'sourceText', {
- get: function () {
- e.textProperty.getValue()
- var r = e.textProperty.currentData.t
- return (
- r !== t &&
- ((e.textProperty.currentData.t = t),
- ((n = new String(r)).value = r || new String(r))),
- n
- )
- }
- }),
- r
- )
- },
- getBlendMode =
- ((blendModeEnums = {
- 0: 'source-over',
- 1: 'multiply',
- 2: 'screen',
- 3: 'overlay',
- 4: 'darken',
- 5: 'lighten',
- 6: 'color-dodge',
- 7: 'color-burn',
- 8: 'hard-light',
- 9: 'soft-light',
- 10: 'difference',
- 11: 'exclusion',
- 12: 'hue',
- 13: 'saturation',
- 14: 'color',
- 15: 'luminosity'
- }),
- function (e) {
- return blendModeEnums[e] || ''
- }),
- blendModeEnums
- function SliderEffect(e, t, n) {
- this.p = PropertyFactory.getProp(t, e.v, 0, 0, n)
- }
- function AngleEffect(e, t, n) {
- this.p = PropertyFactory.getProp(t, e.v, 0, 0, n)
- }
- function ColorEffect(e, t, n) {
- this.p = PropertyFactory.getProp(t, e.v, 1, 0, n)
- }
- function PointEffect(e, t, n) {
- this.p = PropertyFactory.getProp(t, e.v, 1, 0, n)
- }
- function LayerIndexEffect(e, t, n) {
- this.p = PropertyFactory.getProp(t, e.v, 0, 0, n)
- }
- function MaskIndexEffect(e, t, n) {
- this.p = PropertyFactory.getProp(t, e.v, 0, 0, n)
- }
- function CheckboxEffect(e, t, n) {
- this.p = PropertyFactory.getProp(t, e.v, 0, 0, n)
- }
- function NoValueEffect() {
- this.p = {}
- }
- function EffectsManager(e, t) {
- var n,
- r = e.ef || []
- this.effectElements = []
- var a,
- o = r.length
- for (n = 0; n < o; n += 1)
- (a = new GroupEffect(r[n], t)), this.effectElements.push(a)
- }
- function GroupEffect(e, t) {
- this.init(e, t)
- }
- function BaseElement() {}
- function FrameElement() {}
- function _typeof$2(e) {
- return (
- (_typeof$2 =
- 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator
- ? function (e) {
- return typeof e
- }
- : function (e) {
- return e &&
- 'function' == typeof Symbol &&
- e.constructor === Symbol &&
- e !== Symbol.prototype
- ? 'symbol'
- : typeof e
- }),
- _typeof$2(e)
- )
- }
- extendPrototype([DynamicPropertyContainer], GroupEffect),
- (GroupEffect.prototype.getValue = GroupEffect.prototype.iterateDynamicProperties),
- (GroupEffect.prototype.init = function (e, t) {
- var n
- ;(this.data = e),
- (this.effectElements = []),
- this.initDynamicPropertyContainer(t)
- var r,
- a = this.data.ef.length,
- o = this.data.ef
- for (n = 0; n < a; n += 1) {
- switch (((r = null), o[n].ty)) {
- case 0:
- r = new SliderEffect(o[n], t, this)
- break
- case 1:
- r = new AngleEffect(o[n], t, this)
- break
- case 2:
- r = new ColorEffect(o[n], t, this)
- break
- case 3:
- r = new PointEffect(o[n], t, this)
- break
- case 4:
- case 7:
- r = new CheckboxEffect(o[n], t, this)
- break
- case 10:
- r = new LayerIndexEffect(o[n], t, this)
- break
- case 11:
- r = new MaskIndexEffect(o[n], t, this)
- break
- case 5:
- r = new EffectsManager(o[n], t)
- break
- default:
- r = new NoValueEffect(o[n])
- }
- r && this.effectElements.push(r)
- }
- }),
- (BaseElement.prototype = {
- checkMasks: function () {
- if (!this.data.hasMask) return !1
- for (var e = 0, t = this.data.masksProperties.length; e < t; ) {
- if (
- 'n' !== this.data.masksProperties[e].mode &&
- !1 !== this.data.masksProperties[e].cl
- )
- return !0
- e += 1
- }
- return !1
- },
- initExpressions: function () {
- ;(this.layerInterface = LayerExpressionInterface(this)),
- this.data.hasMask &&
- this.maskManager &&
- this.layerInterface.registerMaskInterface(this.maskManager)
- var e = EffectsExpressionInterface.createEffectsInterface(
- this,
- this.layerInterface
- )
- this.layerInterface.registerEffectsInterface(e),
- 0 === this.data.ty || this.data.xt
- ? (this.compInterface = CompExpressionInterface(this))
- : 4 === this.data.ty
- ? ((this.layerInterface.shapeInterface = ShapeExpressionInterface(
- this.shapesData,
- this.itemsData,
- this.layerInterface
- )),
- (this.layerInterface.content = this.layerInterface.shapeInterface))
- : 5 === this.data.ty &&
- ((this.layerInterface.textInterface = TextExpressionInterface(this)),
- (this.layerInterface.text = this.layerInterface.textInterface))
- },
- setBlendMode: function () {
- var e = getBlendMode(this.data.bm)
- ;(this.baseElement || this.layerElement).style['mix-blend-mode'] = e
- },
- initBaseData: function (e, t, n) {
- ;(this.globalData = t),
- (this.comp = n),
- (this.data = e),
- (this.layerId = createElementID()),
- this.data.sr || (this.data.sr = 1),
- (this.effectsManager = new EffectsManager(
- this.data,
- this,
- this.dynamicProperties
- ))
- },
- getType: function () {
- return this.type
- },
- sourceRectAtTime: function () {}
- }),
- (FrameElement.prototype = {
- initFrame: function () {
- ;(this._isFirstFrame = !1), (this.dynamicProperties = []), (this._mdf = !1)
- },
- prepareProperties: function (e, t) {
- var n,
- r = this.dynamicProperties.length
- for (n = 0; n < r; n += 1)
- (t ||
- (this._isParent && 'transform' === this.dynamicProperties[n].propType)) &&
- (this.dynamicProperties[n].getValue(),
- this.dynamicProperties[n]._mdf &&
- ((this.globalData._mdf = !0), (this._mdf = !0)))
- },
- addDynamicProperty: function (e) {
- ;-1 === this.dynamicProperties.indexOf(e) && this.dynamicProperties.push(e)
- }
- })
- var FootageInterface =
- ((dataInterfaceFactory = function (e) {
- function t(e) {
- return 'Outline' === e ? t.outlineInterface() : null
- }
- return (
- (t._name = 'Outline'),
- (t.outlineInterface = (function (e) {
- var t = '',
- n = e.getFootageData()
- function r(e) {
- if (n[e]) return (t = e), 'object' === _typeof$2((n = n[e])) ? r : n
- var a = e.indexOf(t)
- if (-1 !== a) {
- var o = parseInt(e.substr(a + t.length), 10)
- return 'object' === _typeof$2((n = n[o])) ? r : n
- }
- return ''
- }
- return function () {
- return (t = ''), (n = e.getFootageData()), r
- }
- })(e)),
- t
- )
- }),
- function (e) {
- function t(e) {
- return 'Data' === e ? t.dataInterface : null
- }
- return (t._name = 'Data'), (t.dataInterface = dataInterfaceFactory(e)), t
- }),
- dataInterfaceFactory
- function FootageElement(e, t, n) {
- this.initFrame(),
- this.initRenderable(),
- (this.assetData = t.getAssetData(e.refId)),
- (this.footageData = t.imageLoader.getAsset(this.assetData)),
- this.initBaseData(e, t, n)
- }
- function AudioElement(e, t, n) {
- this.initFrame(),
- this.initRenderable(),
- (this.assetData = t.getAssetData(e.refId)),
- this.initBaseData(e, t, n),
- (this._isPlaying = !1),
- (this._canPlay = !1)
- var r = this.globalData.getAssetsPath(this.assetData)
- ;(this.audio = this.globalData.audioController.createAudio(r)),
- (this._currentTime = 0),
- this.globalData.audioController.addAudio(this),
- (this._volumeMultiplier = 1),
- (this._volume = 1),
- (this._previousVolume = null),
- (this.tm = e.tm
- ? PropertyFactory.getProp(this, e.tm, 0, t.frameRate, this)
- : { _placeholder: !0 }),
- (this.lv = PropertyFactory.getProp(
- this,
- e.au && e.au.lv ? e.au.lv : { k: [100] },
- 1,
- 0.01,
- this
- ))
- }
- function BaseRenderer() {}
- function TransformElement() {}
- function MaskElement(e, t, n) {
- ;(this.data = e),
- (this.element = t),
- (this.globalData = n),
- (this.storedData = []),
- (this.masksProperties = this.data.masksProperties || []),
- (this.maskElement = null)
- var r,
- a,
- o = this.globalData.defs,
- i = this.masksProperties ? this.masksProperties.length : 0
- ;(this.viewData = createSizedArray(i)), (this.solidPath = '')
- var s,
- l,
- c,
- u,
- p,
- d,
- f = this.masksProperties,
- h = 0,
- v = [],
- m = createElementID(),
- g = 'clipPath',
- y = 'clip-path'
- for (r = 0; r < i; r += 1)
- if (
- ((('a' !== f[r].mode && 'n' !== f[r].mode) ||
- f[r].inv ||
- 100 !== f[r].o.k ||
- f[r].o.x) &&
- ((g = 'mask'), (y = 'mask')),
- ('s' !== f[r].mode && 'i' !== f[r].mode) || 0 !== h
- ? (c = null)
- : ((c = createNS('rect')).setAttribute('fill', '#ffffff'),
- c.setAttribute('width', this.element.comp.data.w || 0),
- c.setAttribute('height', this.element.comp.data.h || 0),
- v.push(c)),
- (a = createNS('path')),
- 'n' === f[r].mode)
- )
- (this.viewData[r] = {
- op: PropertyFactory.getProp(this.element, f[r].o, 0, 0.01, this.element),
- prop: ShapePropertyFactory.getShapeProp(this.element, f[r], 3),
- elem: a,
- lastPath: ''
- }),
- o.appendChild(a)
- else {
- var b
- if (
- ((h += 1),
- a.setAttribute('fill', 's' === f[r].mode ? '#000000' : '#ffffff'),
- a.setAttribute('clip-rule', 'nonzero'),
- 0 !== f[r].x.k
- ? ((g = 'mask'),
- (y = 'mask'),
- (d = PropertyFactory.getProp(
- this.element,
- f[r].x,
- 0,
- null,
- this.element
- )),
- (b = createElementID()),
- (u = createNS('filter')).setAttribute('id', b),
- (p = createNS('feMorphology')).setAttribute('operator', 'erode'),
- p.setAttribute('in', 'SourceGraphic'),
- p.setAttribute('radius', '0'),
- u.appendChild(p),
- o.appendChild(u),
- a.setAttribute('stroke', 's' === f[r].mode ? '#000000' : '#ffffff'))
- : ((p = null), (d = null)),
- (this.storedData[r] = {
- elem: a,
- x: d,
- expan: p,
- lastPath: '',
- lastOperator: '',
- filterId: b,
- lastRadius: 0
- }),
- 'i' === f[r].mode)
- ) {
- l = v.length
- var _ = createNS('g')
- for (s = 0; s < l; s += 1) _.appendChild(v[s])
- var A = createNS('mask')
- A.setAttribute('mask-type', 'alpha'),
- A.setAttribute('id', m + '_' + h),
- A.appendChild(a),
- o.appendChild(A),
- _.setAttribute(
- 'mask',
- 'url(' + getLocationHref() + '#' + m + '_' + h + ')'
- ),
- (v.length = 0),
- v.push(_)
- } else v.push(a)
- f[r].inv && !this.solidPath && (this.solidPath = this.createLayerSolidPath()),
- (this.viewData[r] = {
- elem: a,
- lastPath: '',
- op: PropertyFactory.getProp(this.element, f[r].o, 0, 0.01, this.element),
- prop: ShapePropertyFactory.getShapeProp(this.element, f[r], 3),
- invRect: c
- }),
- this.viewData[r].prop.k ||
- this.drawPath(f[r], this.viewData[r].prop.v, this.viewData[r])
- }
- for (this.maskElement = createNS(g), i = v.length, r = 0; r < i; r += 1)
- this.maskElement.appendChild(v[r])
- h > 0 &&
- (this.maskElement.setAttribute('id', m),
- this.element.maskedElement.setAttribute(
- y,
- 'url(' + getLocationHref() + '#' + m + ')'
- ),
- o.appendChild(this.maskElement)),
- this.viewData.length && this.element.addRenderableComponent(this)
- }
- ;(FootageElement.prototype.prepareFrame = function () {}),
- extendPrototype([RenderableElement, BaseElement, FrameElement], FootageElement),
- (FootageElement.prototype.getBaseElement = function () {
- return null
- }),
- (FootageElement.prototype.renderFrame = function () {}),
- (FootageElement.prototype.destroy = function () {}),
- (FootageElement.prototype.initExpressions = function () {
- this.layerInterface = FootageInterface(this)
- }),
- (FootageElement.prototype.getFootageData = function () {
- return this.footageData
- }),
- (AudioElement.prototype.prepareFrame = function (e) {
- if (
- (this.prepareRenderableFrame(e, !0),
- this.prepareProperties(e, !0),
- this.tm._placeholder)
- )
- this._currentTime = e / this.data.sr
- else {
- var t = this.tm.v
- this._currentTime = t
- }
- this._volume = this.lv.v[0]
- var n = this._volume * this._volumeMultiplier
- this._previousVolume !== n && ((this._previousVolume = n), this.audio.volume(n))
- }),
- extendPrototype([RenderableElement, BaseElement, FrameElement], AudioElement),
- (AudioElement.prototype.renderFrame = function () {
- this.isInRange &&
- this._canPlay &&
- (this._isPlaying
- ? (!this.audio.playing() ||
- Math.abs(
- this._currentTime / this.globalData.frameRate - this.audio.seek()
- ) > 0.1) &&
- this.audio.seek(this._currentTime / this.globalData.frameRate)
- : (this.audio.play(),
- this.audio.seek(this._currentTime / this.globalData.frameRate),
- (this._isPlaying = !0)))
- }),
- (AudioElement.prototype.show = function () {}),
- (AudioElement.prototype.hide = function () {
- this.audio.pause(), (this._isPlaying = !1)
- }),
- (AudioElement.prototype.pause = function () {
- this.audio.pause(), (this._isPlaying = !1), (this._canPlay = !1)
- }),
- (AudioElement.prototype.resume = function () {
- this._canPlay = !0
- }),
- (AudioElement.prototype.setRate = function (e) {
- this.audio.rate(e)
- }),
- (AudioElement.prototype.volume = function (e) {
- ;(this._volumeMultiplier = e),
- (this._previousVolume = e * this._volume),
- this.audio.volume(this._previousVolume)
- }),
- (AudioElement.prototype.getBaseElement = function () {
- return null
- }),
- (AudioElement.prototype.destroy = function () {}),
- (AudioElement.prototype.sourceRectAtTime = function () {}),
- (AudioElement.prototype.initExpressions = function () {}),
- (BaseRenderer.prototype.checkLayers = function (e) {
- var t,
- n,
- r = this.layers.length
- for (this.completeLayers = !0, t = r - 1; t >= 0; t -= 1)
- this.elements[t] ||
- ((n = this.layers[t]).ip - n.st <= e - this.layers[t].st &&
- n.op - n.st > e - this.layers[t].st &&
- this.buildItem(t)),
- (this.completeLayers = !!this.elements[t] && this.completeLayers)
- this.checkPendingElements()
- }),
- (BaseRenderer.prototype.createItem = function (e) {
- switch (e.ty) {
- case 2:
- return this.createImage(e)
- case 0:
- return this.createComp(e)
- case 1:
- return this.createSolid(e)
- case 3:
- default:
- return this.createNull(e)
- case 4:
- return this.createShape(e)
- case 5:
- return this.createText(e)
- case 6:
- return this.createAudio(e)
- case 13:
- return this.createCamera(e)
- case 15:
- return this.createFootage(e)
- }
- }),
- (BaseRenderer.prototype.createCamera = function () {
- throw new Error("You're using a 3d camera. Try the html renderer.")
- }),
- (BaseRenderer.prototype.createAudio = function (e) {
- return new AudioElement(e, this.globalData, this)
- }),
- (BaseRenderer.prototype.createFootage = function (e) {
- return new FootageElement(e, this.globalData, this)
- }),
- (BaseRenderer.prototype.buildAllItems = function () {
- var e,
- t = this.layers.length
- for (e = 0; e < t; e += 1) this.buildItem(e)
- this.checkPendingElements()
- }),
- (BaseRenderer.prototype.includeLayers = function (e) {
- var t
- this.completeLayers = !1
- var n,
- r = e.length,
- a = this.layers.length
- for (t = 0; t < r; t += 1)
- for (n = 0; n < a; ) {
- if (this.layers[n].id === e[t].id) {
- this.layers[n] = e[t]
- break
- }
- n += 1
- }
- }),
- (BaseRenderer.prototype.setProjectInterface = function (e) {
- this.globalData.projectInterface = e
- }),
- (BaseRenderer.prototype.initItems = function () {
- this.globalData.progressiveLoad || this.buildAllItems()
- }),
- (BaseRenderer.prototype.buildElementParenting = function (e, t, n) {
- for (var r = this.elements, a = this.layers, o = 0, i = a.length; o < i; )
- a[o].ind == t &&
- (r[o] && !0 !== r[o]
- ? (n.push(r[o]),
- r[o].setAsParent(),
- void 0 !== a[o].parent
- ? this.buildElementParenting(e, a[o].parent, n)
- : e.setHierarchy(n))
- : (this.buildItem(o), this.addPendingElement(e))),
- (o += 1)
- }),
- (BaseRenderer.prototype.addPendingElement = function (e) {
- this.pendingElements.push(e)
- }),
- (BaseRenderer.prototype.searchExtraCompositions = function (e) {
- var t,
- n = e.length
- for (t = 0; t < n; t += 1)
- if (e[t].xt) {
- var r = this.createComp(e[t])
- r.initExpressions(), this.globalData.projectInterface.registerComposition(r)
- }
- }),
- (BaseRenderer.prototype.getElementByPath = function (e) {
- var t,
- n = e.shift()
- if ('number' == typeof n) t = this.elements[n]
- else {
- var r,
- a = this.elements.length
- for (r = 0; r < a; r += 1)
- if (this.elements[r].data.nm === n) {
- t = this.elements[r]
- break
- }
- }
- return 0 === e.length ? t : t.getElementByPath(e)
- }),
- (BaseRenderer.prototype.setupGlobalData = function (e, t) {
- ;(this.globalData.fontManager = new FontManager()),
- this.globalData.fontManager.addChars(e.chars),
- this.globalData.fontManager.addFonts(e.fonts, t),
- (this.globalData.getAssetData = this.animationItem.getAssetData.bind(
- this.animationItem
- )),
- (this.globalData.getAssetsPath = this.animationItem.getAssetsPath.bind(
- this.animationItem
- )),
- (this.globalData.imageLoader = this.animationItem.imagePreloader),
- (this.globalData.audioController = this.animationItem.audioController),
- (this.globalData.frameId = 0),
- (this.globalData.frameRate = e.fr),
- (this.globalData.nm = e.nm),
- (this.globalData.compSize = { w: e.w, h: e.h })
- }),
- (TransformElement.prototype = {
- initTransform: function () {
- ;(this.finalTransform = {
- mProp: this.data.ks
- ? TransformPropertyFactory.getTransformProperty(this, this.data.ks, this)
- : { o: 0 },
- _matMdf: !1,
- _opMdf: !1,
- mat: new Matrix()
- }),
- this.data.ao && (this.finalTransform.mProp.autoOriented = !0),
- this.data.ty
- },
- renderTransform: function () {
- if (
- ((this.finalTransform._opMdf =
- this.finalTransform.mProp.o._mdf || this._isFirstFrame),
- (this.finalTransform._matMdf =
- this.finalTransform.mProp._mdf || this._isFirstFrame),
- this.hierarchy)
- ) {
- var e,
- t = this.finalTransform.mat,
- n = 0,
- r = this.hierarchy.length
- if (!this.finalTransform._matMdf)
- for (; n < r; ) {
- if (this.hierarchy[n].finalTransform.mProp._mdf) {
- this.finalTransform._matMdf = !0
- break
- }
- n += 1
- }
- if (this.finalTransform._matMdf)
- for (
- e = this.finalTransform.mProp.v.props, t.cloneFromProps(e), n = 0;
- n < r;
- n += 1
- )
- (e = this.hierarchy[n].finalTransform.mProp.v.props),
- t.transform(
- e[0],
- e[1],
- e[2],
- e[3],
- e[4],
- e[5],
- e[6],
- e[7],
- e[8],
- e[9],
- e[10],
- e[11],
- e[12],
- e[13],
- e[14],
- e[15]
- )
- }
- },
- globalToLocal: function (e) {
- var t = []
- t.push(this.finalTransform)
- for (var n, r = !0, a = this.comp; r; )
- a.finalTransform
- ? (a.data.hasMask && t.splice(0, 0, a.finalTransform), (a = a.comp))
- : (r = !1)
- var o,
- i = t.length
- for (n = 0; n < i; n += 1)
- (o = t[n].mat.applyToPointArray(0, 0, 0)),
- (e = [e[0] - o[0], e[1] - o[1], 0])
- return e
- },
- mHelper: new Matrix()
- }),
- (MaskElement.prototype.getMaskProperty = function (e) {
- return this.viewData[e].prop
- }),
- (MaskElement.prototype.renderFrame = function (e) {
- var t,
- n = this.element.finalTransform.mat,
- r = this.masksProperties.length
- for (t = 0; t < r; t += 1)
- if (
- ((this.viewData[t].prop._mdf || e) &&
- this.drawPath(
- this.masksProperties[t],
- this.viewData[t].prop.v,
- this.viewData[t]
- ),
- (this.viewData[t].op._mdf || e) &&
- this.viewData[t].elem.setAttribute('fill-opacity', this.viewData[t].op.v),
- 'n' !== this.masksProperties[t].mode &&
- (this.viewData[t].invRect &&
- (this.element.finalTransform.mProp._mdf || e) &&
- this.viewData[t].invRect.setAttribute(
- 'transform',
- n.getInverseMatrix().to2dCSS()
- ),
- this.storedData[t].x && (this.storedData[t].x._mdf || e)))
- ) {
- var a = this.storedData[t].expan
- this.storedData[t].x.v < 0
- ? ('erode' !== this.storedData[t].lastOperator &&
- ((this.storedData[t].lastOperator = 'erode'),
- this.storedData[t].elem.setAttribute(
- 'filter',
- 'url(' + getLocationHref() + '#' + this.storedData[t].filterId + ')'
- )),
- a.setAttribute('radius', -this.storedData[t].x.v))
- : ('dilate' !== this.storedData[t].lastOperator &&
- ((this.storedData[t].lastOperator = 'dilate'),
- this.storedData[t].elem.setAttribute('filter', null)),
- this.storedData[t].elem.setAttribute(
- 'stroke-width',
- 2 * this.storedData[t].x.v
- ))
- }
- }),
- (MaskElement.prototype.getMaskelement = function () {
- return this.maskElement
- }),
- (MaskElement.prototype.createLayerSolidPath = function () {
- var e = 'M0,0 '
- return (
- (e += ' h' + this.globalData.compSize.w),
- (e += ' v' + this.globalData.compSize.h),
- (e += ' h-' + this.globalData.compSize.w),
- (e += ' v-' + this.globalData.compSize.h + ' ')
- )
- }),
- (MaskElement.prototype.drawPath = function (e, t, n) {
- var r,
- a,
- o = ' M' + t.v[0][0] + ',' + t.v[0][1]
- for (a = t._length, r = 1; r < a; r += 1)
- o +=
- ' C' +
- t.o[r - 1][0] +
- ',' +
- t.o[r - 1][1] +
- ' ' +
- t.i[r][0] +
- ',' +
- t.i[r][1] +
- ' ' +
- t.v[r][0] +
- ',' +
- t.v[r][1]
- if (
- (t.c &&
- a > 1 &&
- (o +=
- ' C' +
- t.o[r - 1][0] +
- ',' +
- t.o[r - 1][1] +
- ' ' +
- t.i[0][0] +
- ',' +
- t.i[0][1] +
- ' ' +
- t.v[0][0] +
- ',' +
- t.v[0][1]),
- n.lastPath !== o)
- ) {
- var i = ''
- n.elem &&
- (t.c && (i = e.inv ? this.solidPath + o : o), n.elem.setAttribute('d', i)),
- (n.lastPath = o)
- }
- }),
- (MaskElement.prototype.destroy = function () {
- ;(this.element = null),
- (this.globalData = null),
- (this.maskElement = null),
- (this.data = null),
- (this.masksProperties = null)
- })
- var filtersFactory = (function () {
- var e = {
- createFilter: function (e, t) {
- var n = createNS('filter')
- return (
- n.setAttribute('id', e),
- !0 !== t &&
- (n.setAttribute('filterUnits', 'objectBoundingBox'),
- n.setAttribute('x', '0%'),
- n.setAttribute('y', '0%'),
- n.setAttribute('width', '100%'),
- n.setAttribute('height', '100%')),
- n
- )
- },
- createAlphaToLuminanceFilter: function () {
- var e = createNS('feColorMatrix')
- return (
- e.setAttribute('type', 'matrix'),
- e.setAttribute('color-interpolation-filters', 'sRGB'),
- e.setAttribute('values', '0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1'),
- e
- )
- }
- }
- return e
- })(),
- featureSupport = (function () {
- var e = { maskType: !0 }
- return (
- (/MSIE 10/i.test(navigator.userAgent) ||
- /MSIE 9/i.test(navigator.userAgent) ||
- /rv:11.0/i.test(navigator.userAgent) ||
- /Edge\/\d./i.test(navigator.userAgent)) &&
- (e.maskType = !1),
- e
- )
- })(),
- registeredEffects = {},
- idPrefix = 'filter_result_'
- function SVGEffects(e) {
- var t,
- n,
- r = 'SourceGraphic',
- a = e.data.ef ? e.data.ef.length : 0,
- o = createElementID(),
- i = filtersFactory.createFilter(o, !0),
- s = 0
- for (this.filters = [], t = 0; t < a; t += 1) {
- n = null
- var l = e.data.ef[t].ty
- registeredEffects[l] &&
- ((n = new (0, registeredEffects[l].effect)(
- i,
- e.effectsManager.effectElements[t],
- e,
- idPrefix + s,
- r
- )),
- (r = idPrefix + s),
- registeredEffects[l].countsAsEffect && (s += 1)),
- n && this.filters.push(n)
- }
- s &&
- (e.globalData.defs.appendChild(i),
- e.layerElement.setAttribute(
- 'filter',
- 'url(' + getLocationHref() + '#' + o + ')'
- )),
- this.filters.length && e.addRenderableComponent(this)
- }
- function registerEffect(e, t, n) {
- registeredEffects[e] = { effect: t, countsAsEffect: n }
- }
- function SVGBaseElement() {}
- function HierarchyElement() {}
- function RenderableDOMElement() {}
- function IImageElement(e, t, n) {
- ;(this.assetData = t.getAssetData(e.refId)),
- this.initElement(e, t, n),
- (this.sourceRect = {
- top: 0,
- left: 0,
- width: this.assetData.w,
- height: this.assetData.h
- })
- }
- function ProcessedElement(e, t) {
- ;(this.elem = e), (this.pos = t)
- }
- function IShapeElement() {}
- ;(SVGEffects.prototype.renderFrame = function (e) {
- var t,
- n = this.filters.length
- for (t = 0; t < n; t += 1) this.filters[t].renderFrame(e)
- }),
- (SVGBaseElement.prototype = {
- initRendererElement: function () {
- this.layerElement = createNS('g')
- },
- createContainerElements: function () {
- ;(this.matteElement = createNS('g')),
- (this.transformedElement = this.layerElement),
- (this.maskedElement = this.layerElement),
- (this._sizeChanged = !1)
- var e,
- t,
- n,
- r = null
- if (this.data.td) {
- if (3 == this.data.td || 1 == this.data.td) {
- var a = createNS('mask')
- a.setAttribute('id', this.layerId),
- a.setAttribute('mask-type', 3 == this.data.td ? 'luminance' : 'alpha'),
- a.appendChild(this.layerElement),
- (r = a),
- this.globalData.defs.appendChild(a),
- featureSupport.maskType ||
- 1 != this.data.td ||
- (a.setAttribute('mask-type', 'luminance'),
- (e = createElementID()),
- (t = filtersFactory.createFilter(e)),
- this.globalData.defs.appendChild(t),
- t.appendChild(filtersFactory.createAlphaToLuminanceFilter()),
- (n = createNS('g')).appendChild(this.layerElement),
- (r = n),
- a.appendChild(n),
- n.setAttribute('filter', 'url(' + getLocationHref() + '#' + e + ')'))
- } else if (2 == this.data.td) {
- var o = createNS('mask')
- o.setAttribute('id', this.layerId), o.setAttribute('mask-type', 'alpha')
- var i = createNS('g')
- o.appendChild(i),
- (e = createElementID()),
- (t = filtersFactory.createFilter(e))
- var s = createNS('feComponentTransfer')
- s.setAttribute('in', 'SourceGraphic'), t.appendChild(s)
- var l = createNS('feFuncA')
- l.setAttribute('type', 'table'),
- l.setAttribute('tableValues', '1.0 0.0'),
- s.appendChild(l),
- this.globalData.defs.appendChild(t)
- var c = createNS('rect')
- c.setAttribute('width', this.comp.data.w),
- c.setAttribute('height', this.comp.data.h),
- c.setAttribute('x', '0'),
- c.setAttribute('y', '0'),
- c.setAttribute('fill', '#ffffff'),
- c.setAttribute('opacity', '0'),
- i.setAttribute('filter', 'url(' + getLocationHref() + '#' + e + ')'),
- i.appendChild(c),
- i.appendChild(this.layerElement),
- (r = i),
- featureSupport.maskType ||
- (o.setAttribute('mask-type', 'luminance'),
- t.appendChild(filtersFactory.createAlphaToLuminanceFilter()),
- (n = createNS('g')),
- i.appendChild(c),
- n.appendChild(this.layerElement),
- (r = n),
- i.appendChild(n)),
- this.globalData.defs.appendChild(o)
- }
- } else
- this.data.tt
- ? (this.matteElement.appendChild(this.layerElement),
- (r = this.matteElement),
- (this.baseElement = this.matteElement))
- : (this.baseElement = this.layerElement)
- if (
- (this.data.ln && this.layerElement.setAttribute('id', this.data.ln),
- this.data.cl && this.layerElement.setAttribute('class', this.data.cl),
- 0 === this.data.ty && !this.data.hd)
- ) {
- var u = createNS('clipPath'),
- p = createNS('path')
- p.setAttribute(
- 'd',
- 'M0,0 L' +
- this.data.w +
- ',0 L' +
- this.data.w +
- ',' +
- this.data.h +
- ' L0,' +
- this.data.h +
- 'z'
- )
- var d = createElementID()
- if (
- (u.setAttribute('id', d),
- u.appendChild(p),
- this.globalData.defs.appendChild(u),
- this.checkMasks())
- ) {
- var f = createNS('g')
- f.setAttribute('clip-path', 'url(' + getLocationHref() + '#' + d + ')'),
- f.appendChild(this.layerElement),
- (this.transformedElement = f),
- r
- ? r.appendChild(this.transformedElement)
- : (this.baseElement = this.transformedElement)
- } else
- this.layerElement.setAttribute(
- 'clip-path',
- 'url(' + getLocationHref() + '#' + d + ')'
- )
- }
- 0 !== this.data.bm && this.setBlendMode()
- },
- renderElement: function () {
- this.finalTransform._matMdf &&
- this.transformedElement.setAttribute(
- 'transform',
- this.finalTransform.mat.to2dCSS()
- ),
- this.finalTransform._opMdf &&
- this.transformedElement.setAttribute(
- 'opacity',
- this.finalTransform.mProp.o.v
- )
- },
- destroyBaseElement: function () {
- ;(this.layerElement = null),
- (this.matteElement = null),
- this.maskManager.destroy()
- },
- getBaseElement: function () {
- return this.data.hd ? null : this.baseElement
- },
- createRenderableComponents: function () {
- ;(this.maskManager = new MaskElement(this.data, this, this.globalData)),
- (this.renderableEffectsManager = new SVGEffects(this))
- },
- setMatte: function (e) {
- this.matteElement &&
- this.matteElement.setAttribute(
- 'mask',
- 'url(' + getLocationHref() + '#' + e + ')'
- )
- }
- }),
- (HierarchyElement.prototype = {
- initHierarchy: function () {
- ;(this.hierarchy = []), (this._isParent = !1), this.checkParenting()
- },
- setHierarchy: function (e) {
- this.hierarchy = e
- },
- setAsParent: function () {
- this._isParent = !0
- },
- checkParenting: function () {
- void 0 !== this.data.parent &&
- this.comp.buildElementParenting(this, this.data.parent, [])
- }
- }),
- extendPrototype(
- [
- RenderableElement,
- createProxyFunction({
- initElement: function (e, t, n) {
- this.initFrame(),
- this.initBaseData(e, t, n),
- this.initTransform(e, t, n),
- this.initHierarchy(),
- this.initRenderable(),
- this.initRendererElement(),
- this.createContainerElements(),
- this.createRenderableComponents(),
- this.createContent(),
- this.hide()
- },
- hide: function () {
- this.hidden ||
- (this.isInRange && !this.isTransparent) ||
- (((this.baseElement || this.layerElement).style.display = 'none'),
- (this.hidden = !0))
- },
- show: function () {
- this.isInRange &&
- !this.isTransparent &&
- (this.data.hd ||
- ((this.baseElement || this.layerElement).style.display = 'block'),
- (this.hidden = !1),
- (this._isFirstFrame = !0))
- },
- renderFrame: function () {
- this.data.hd ||
- this.hidden ||
- (this.renderTransform(),
- this.renderRenderable(),
- this.renderElement(),
- this.renderInnerContent(),
- this._isFirstFrame && (this._isFirstFrame = !1))
- },
- renderInnerContent: function () {},
- prepareFrame: function (e) {
- ;(this._mdf = !1),
- this.prepareRenderableFrame(e),
- this.prepareProperties(e, this.isInRange),
- this.checkTransparency()
- },
- destroy: function () {
- ;(this.innerElem = null), this.destroyBaseElement()
- }
- })
- ],
- RenderableDOMElement
- ),
- extendPrototype(
- [
- BaseElement,
- TransformElement,
- SVGBaseElement,
- HierarchyElement,
- FrameElement,
- RenderableDOMElement
- ],
- IImageElement
- ),
- (IImageElement.prototype.createContent = function () {
- var e = this.globalData.getAssetsPath(this.assetData)
- ;(this.innerElem = createNS('image')),
- this.innerElem.setAttribute('width', this.assetData.w + 'px'),
- this.innerElem.setAttribute('height', this.assetData.h + 'px'),
- this.innerElem.setAttribute(
- 'preserveAspectRatio',
- this.assetData.pr || this.globalData.renderConfig.imagePreserveAspectRatio
- ),
- this.innerElem.setAttributeNS('http://www.w3.org/1999/xlink', 'href', e),
- this.layerElement.appendChild(this.innerElem)
- }),
- (IImageElement.prototype.sourceRectAtTime = function () {
- return this.sourceRect
- }),
- (IShapeElement.prototype = {
- addShapeToModifiers: function (e) {
- var t,
- n = this.shapeModifiers.length
- for (t = 0; t < n; t += 1) this.shapeModifiers[t].addShape(e)
- },
- isShapeInAnimatedModifiers: function (e) {
- for (var t = this.shapeModifiers.length; 0 < t; )
- if (this.shapeModifiers[0].isAnimatedWithShape(e)) return !0
- return !1
- },
- renderModifiers: function () {
- if (this.shapeModifiers.length) {
- var e,
- t = this.shapes.length
- for (e = 0; e < t; e += 1) this.shapes[e].sh.reset()
- for (
- e = (t = this.shapeModifiers.length) - 1;
- e >= 0 && !this.shapeModifiers[e].processShapes(this._isFirstFrame);
- e -= 1
- );
- }
- },
- searchProcessedElement: function (e) {
- for (var t = this.processedElements, n = 0, r = t.length; n < r; ) {
- if (t[n].elem === e) return t[n].pos
- n += 1
- }
- return 0
- },
- addProcessedElement: function (e, t) {
- for (var n = this.processedElements, r = n.length; r; )
- if (n[(r -= 1)].elem === e) return void (n[r].pos = t)
- n.push(new ProcessedElement(e, t))
- },
- prepareFrame: function (e) {
- this.prepareRenderableFrame(e), this.prepareProperties(e, this.isInRange)
- }
- })
- var lineCapEnum = { 1: 'butt', 2: 'round', 3: 'square' },
- lineJoinEnum = { 1: 'miter', 2: 'round', 3: 'bevel' }
- function SVGShapeData(e, t, n) {
- ;(this.caches = []),
- (this.styles = []),
- (this.transformers = e),
- (this.lStr = ''),
- (this.sh = n),
- (this.lvl = t),
- (this._isAnimated = !!n.k)
- for (var r = 0, a = e.length; r < a; ) {
- if (e[r].mProps.dynamicProperties.length) {
- this._isAnimated = !0
- break
- }
- r += 1
- }
- }
- function SVGStyleData(e, t) {
- ;(this.data = e),
- (this.type = e.ty),
- (this.d = ''),
- (this.lvl = t),
- (this._mdf = !1),
- (this.closed = !0 === e.hd),
- (this.pElem = createNS('path')),
- (this.msElem = null)
- }
- function DashProperty(e, t, n, r) {
- var a
- ;(this.elem = e),
- (this.frameId = -1),
- (this.dataProps = createSizedArray(t.length)),
- (this.renderer = n),
- (this.k = !1),
- (this.dashStr = ''),
- (this.dashArray = createTypedArray('float32', t.length ? t.length - 1 : 0)),
- (this.dashoffset = createTypedArray('float32', 1)),
- this.initDynamicPropertyContainer(r)
- var o,
- i = t.length || 0
- for (a = 0; a < i; a += 1)
- (o = PropertyFactory.getProp(e, t[a].v, 0, 0, this)),
- (this.k = o.k || this.k),
- (this.dataProps[a] = { n: t[a].n, p: o })
- this.k || this.getValue(!0), (this._isAnimated = this.k)
- }
- function SVGStrokeStyleData(e, t, n) {
- this.initDynamicPropertyContainer(e),
- (this.getValue = this.iterateDynamicProperties),
- (this.o = PropertyFactory.getProp(e, t.o, 0, 0.01, this)),
- (this.w = PropertyFactory.getProp(e, t.w, 0, null, this)),
- (this.d = new DashProperty(e, t.d || {}, 'svg', this)),
- (this.c = PropertyFactory.getProp(e, t.c, 1, 255, this)),
- (this.style = n),
- (this._isAnimated = !!this._isAnimated)
- }
- function SVGFillStyleData(e, t, n) {
- this.initDynamicPropertyContainer(e),
- (this.getValue = this.iterateDynamicProperties),
- (this.o = PropertyFactory.getProp(e, t.o, 0, 0.01, this)),
- (this.c = PropertyFactory.getProp(e, t.c, 1, 255, this)),
- (this.style = n)
- }
- function SVGNoStyleData(e, t, n) {
- this.initDynamicPropertyContainer(e),
- (this.getValue = this.iterateDynamicProperties),
- (this.style = n)
- }
- function GradientProperty(e, t, n) {
- ;(this.data = t), (this.c = createTypedArray('uint8c', 4 * t.p))
- var r = t.k.k[0].s ? t.k.k[0].s.length - 4 * t.p : t.k.k.length - 4 * t.p
- ;(this.o = createTypedArray('float32', r)),
- (this._cmdf = !1),
- (this._omdf = !1),
- (this._collapsable = this.checkCollapsable()),
- (this._hasOpacity = r),
- this.initDynamicPropertyContainer(n),
- (this.prop = PropertyFactory.getProp(e, t.k, 1, null, this)),
- (this.k = this.prop.k),
- this.getValue(!0)
- }
- function SVGGradientFillStyleData(e, t, n) {
- this.initDynamicPropertyContainer(e),
- (this.getValue = this.iterateDynamicProperties),
- this.initGradientData(e, t, n)
- }
- function SVGGradientStrokeStyleData(e, t, n) {
- this.initDynamicPropertyContainer(e),
- (this.getValue = this.iterateDynamicProperties),
- (this.w = PropertyFactory.getProp(e, t.w, 0, null, this)),
- (this.d = new DashProperty(e, t.d || {}, 'svg', this)),
- this.initGradientData(e, t, n),
- (this._isAnimated = !!this._isAnimated)
- }
- function ShapeGroupData() {
- ;(this.it = []), (this.prevViewData = []), (this.gr = createNS('g'))
- }
- function SVGTransformData(e, t, n) {
- ;(this.transform = { mProps: e, op: t, container: n }),
- (this.elements = []),
- (this._isAnimated =
- this.transform.mProps.dynamicProperties.length ||
- this.transform.op.effectsSequence.length)
- }
- ;(SVGShapeData.prototype.setAsAnimated = function () {
- this._isAnimated = !0
- }),
- (SVGStyleData.prototype.reset = function () {
- ;(this.d = ''), (this._mdf = !1)
- }),
- (DashProperty.prototype.getValue = function (e) {
- if (
- (this.elem.globalData.frameId !== this.frameId || e) &&
- ((this.frameId = this.elem.globalData.frameId),
- this.iterateDynamicProperties(),
- (this._mdf = this._mdf || e),
- this._mdf)
- ) {
- var t = 0,
- n = this.dataProps.length
- for ('svg' === this.renderer && (this.dashStr = ''), t = 0; t < n; t += 1)
- 'o' !== this.dataProps[t].n
- ? 'svg' === this.renderer
- ? (this.dashStr += ' ' + this.dataProps[t].p.v)
- : (this.dashArray[t] = this.dataProps[t].p.v)
- : (this.dashoffset[0] = this.dataProps[t].p.v)
- }
- }),
- extendPrototype([DynamicPropertyContainer], DashProperty),
- extendPrototype([DynamicPropertyContainer], SVGStrokeStyleData),
- extendPrototype([DynamicPropertyContainer], SVGFillStyleData),
- extendPrototype([DynamicPropertyContainer], SVGNoStyleData),
- (GradientProperty.prototype.comparePoints = function (e, t) {
- for (var n = 0, r = this.o.length / 2; n < r; ) {
- if (Math.abs(e[4 * n] - e[4 * t + 2 * n]) > 0.01) return !1
- n += 1
- }
- return !0
- }),
- (GradientProperty.prototype.checkCollapsable = function () {
- if (this.o.length / 2 != this.c.length / 4) return !1
- if (this.data.k.k[0].s)
- for (var e = 0, t = this.data.k.k.length; e < t; ) {
- if (!this.comparePoints(this.data.k.k[e].s, this.data.p)) return !1
- e += 1
- }
- else if (!this.comparePoints(this.data.k.k, this.data.p)) return !1
- return !0
- }),
- (GradientProperty.prototype.getValue = function (e) {
- if (
- (this.prop.getValue(),
- (this._mdf = !1),
- (this._cmdf = !1),
- (this._omdf = !1),
- this.prop._mdf || e)
- ) {
- var t,
- n,
- r,
- a = 4 * this.data.p
- for (t = 0; t < a; t += 1)
- (n = t % 4 == 0 ? 100 : 255),
- (r = Math.round(this.prop.v[t] * n)),
- this.c[t] !== r && ((this.c[t] = r), (this._cmdf = !e))
- if (this.o.length)
- for (a = this.prop.v.length, t = 4 * this.data.p; t < a; t += 1)
- (n = t % 2 == 0 ? 100 : 1),
- (r = t % 2 == 0 ? Math.round(100 * this.prop.v[t]) : this.prop.v[t]),
- this.o[t - 4 * this.data.p] !== r &&
- ((this.o[t - 4 * this.data.p] = r), (this._omdf = !e))
- this._mdf = !e
- }
- }),
- extendPrototype([DynamicPropertyContainer], GradientProperty),
- (SVGGradientFillStyleData.prototype.initGradientData = function (e, t, n) {
- ;(this.o = PropertyFactory.getProp(e, t.o, 0, 0.01, this)),
- (this.s = PropertyFactory.getProp(e, t.s, 1, null, this)),
- (this.e = PropertyFactory.getProp(e, t.e, 1, null, this)),
- (this.h = PropertyFactory.getProp(e, t.h || { k: 0 }, 0, 0.01, this)),
- (this.a = PropertyFactory.getProp(e, t.a || { k: 0 }, 0, degToRads, this)),
- (this.g = new GradientProperty(e, t.g, this)),
- (this.style = n),
- (this.stops = []),
- this.setGradientData(n.pElem, t),
- this.setGradientOpacity(t, n),
- (this._isAnimated = !!this._isAnimated)
- }),
- (SVGGradientFillStyleData.prototype.setGradientData = function (e, t) {
- var n = createElementID(),
- r = createNS(1 === t.t ? 'linearGradient' : 'radialGradient')
- r.setAttribute('id', n),
- r.setAttribute('spreadMethod', 'pad'),
- r.setAttribute('gradientUnits', 'userSpaceOnUse')
- var a,
- o,
- i,
- s = []
- for (i = 4 * t.g.p, o = 0; o < i; o += 4)
- (a = createNS('stop')), r.appendChild(a), s.push(a)
- e.setAttribute(
- 'gf' === t.ty ? 'fill' : 'stroke',
- 'url(' + getLocationHref() + '#' + n + ')'
- ),
- (this.gf = r),
- (this.cst = s)
- }),
- (SVGGradientFillStyleData.prototype.setGradientOpacity = function (e, t) {
- if (this.g._hasOpacity && !this.g._collapsable) {
- var n,
- r,
- a,
- o = createNS('mask'),
- i = createNS('path')
- o.appendChild(i)
- var s = createElementID(),
- l = createElementID()
- o.setAttribute('id', l)
- var c = createNS(1 === e.t ? 'linearGradient' : 'radialGradient')
- c.setAttribute('id', s),
- c.setAttribute('spreadMethod', 'pad'),
- c.setAttribute('gradientUnits', 'userSpaceOnUse'),
- (a = e.g.k.k[0].s ? e.g.k.k[0].s.length : e.g.k.k.length)
- var u = this.stops
- for (r = 4 * e.g.p; r < a; r += 2)
- (n = createNS('stop')).setAttribute('stop-color', 'rgb(255,255,255)'),
- c.appendChild(n),
- u.push(n)
- i.setAttribute(
- 'gf' === e.ty ? 'fill' : 'stroke',
- 'url(' + getLocationHref() + '#' + s + ')'
- ),
- 'gs' === e.ty &&
- (i.setAttribute('stroke-linecap', lineCapEnum[e.lc || 2]),
- i.setAttribute('stroke-linejoin', lineJoinEnum[e.lj || 2]),
- 1 === e.lj && i.setAttribute('stroke-miterlimit', e.ml)),
- (this.of = c),
- (this.ms = o),
- (this.ost = u),
- (this.maskId = l),
- (t.msElem = i)
- }
- }),
- extendPrototype([DynamicPropertyContainer], SVGGradientFillStyleData),
- extendPrototype(
- [SVGGradientFillStyleData, DynamicPropertyContainer],
- SVGGradientStrokeStyleData
- )
- var buildShapeString = function (e, t, n, r) {
- if (0 === t) return ''
- var a,
- o = e.o,
- i = e.i,
- s = e.v,
- l = ' M' + r.applyToPointStringified(s[0][0], s[0][1])
- for (a = 1; a < t; a += 1)
- l +=
- ' C' +
- r.applyToPointStringified(o[a - 1][0], o[a - 1][1]) +
- ' ' +
- r.applyToPointStringified(i[a][0], i[a][1]) +
- ' ' +
- r.applyToPointStringified(s[a][0], s[a][1])
- return (
- n &&
- t &&
- ((l +=
- ' C' +
- r.applyToPointStringified(o[a - 1][0], o[a - 1][1]) +
- ' ' +
- r.applyToPointStringified(i[0][0], i[0][1]) +
- ' ' +
- r.applyToPointStringified(s[0][0], s[0][1])),
- (l += 'z')),
- l
- )
- },
- SVGElementsRenderer = (function () {
- var e = new Matrix(),
- t = new Matrix()
- function n(e, t, n) {
- ;(n || t.transform.op._mdf) &&
- t.transform.container.setAttribute('opacity', t.transform.op.v),
- (n || t.transform.mProps._mdf) &&
- t.transform.container.setAttribute(
- 'transform',
- t.transform.mProps.v.to2dCSS()
- )
- }
- function r() {}
- function a(n, r, a) {
- var o,
- i,
- s,
- l,
- c,
- u,
- p,
- d,
- f,
- h,
- v,
- m = r.styles.length,
- g = r.lvl
- for (u = 0; u < m; u += 1) {
- if (((l = r.sh._mdf || a), r.styles[u].lvl < g)) {
- for (
- d = t.reset(), h = g - r.styles[u].lvl, v = r.transformers.length - 1;
- !l && h > 0;
- )
- (l = r.transformers[v].mProps._mdf || l), (h -= 1), (v -= 1)
- if (l)
- for (h = g - r.styles[u].lvl, v = r.transformers.length - 1; h > 0; )
- (f = r.transformers[v].mProps.v.props),
- d.transform(
- f[0],
- f[1],
- f[2],
- f[3],
- f[4],
- f[5],
- f[6],
- f[7],
- f[8],
- f[9],
- f[10],
- f[11],
- f[12],
- f[13],
- f[14],
- f[15]
- ),
- (h -= 1),
- (v -= 1)
- } else d = e
- if (((i = (p = r.sh.paths)._length), l)) {
- for (s = '', o = 0; o < i; o += 1)
- (c = p.shapes[o]) &&
- c._length &&
- (s += buildShapeString(c, c._length, c.c, d))
- r.caches[u] = s
- } else s = r.caches[u]
- ;(r.styles[u].d += !0 === n.hd ? '' : s),
- (r.styles[u]._mdf = l || r.styles[u]._mdf)
- }
- }
- function o(e, t, n) {
- var r = t.style
- ;(t.c._mdf || n) &&
- r.pElem.setAttribute(
- 'fill',
- 'rgb(' +
- bmFloor(t.c.v[0]) +
- ',' +
- bmFloor(t.c.v[1]) +
- ',' +
- bmFloor(t.c.v[2]) +
- ')'
- ),
- (t.o._mdf || n) && r.pElem.setAttribute('fill-opacity', t.o.v)
- }
- function i(e, t, n) {
- s(e, t, n), l(0, t, n)
- }
- function s(e, t, n) {
- var r,
- a,
- o,
- i,
- s,
- l = t.gf,
- c = t.g._hasOpacity,
- u = t.s.v,
- p = t.e.v
- if (t.o._mdf || n) {
- var d = 'gf' === e.ty ? 'fill-opacity' : 'stroke-opacity'
- t.style.pElem.setAttribute(d, t.o.v)
- }
- if (t.s._mdf || n) {
- var f = 1 === e.t ? 'x1' : 'cx',
- h = 'x1' === f ? 'y1' : 'cy'
- l.setAttribute(f, u[0]),
- l.setAttribute(h, u[1]),
- c &&
- !t.g._collapsable &&
- (t.of.setAttribute(f, u[0]), t.of.setAttribute(h, u[1]))
- }
- if (t.g._cmdf || n) {
- r = t.cst
- var v = t.g.c
- for (o = r.length, a = 0; a < o; a += 1)
- (i = r[a]).setAttribute('offset', v[4 * a] + '%'),
- i.setAttribute(
- 'stop-color',
- 'rgb(' + v[4 * a + 1] + ',' + v[4 * a + 2] + ',' + v[4 * a + 3] + ')'
- )
- }
- if (c && (t.g._omdf || n)) {
- var m = t.g.o
- for (
- o = (r = t.g._collapsable ? t.cst : t.ost).length, a = 0;
- a < o;
- a += 1
- )
- (i = r[a]),
- t.g._collapsable || i.setAttribute('offset', m[2 * a] + '%'),
- i.setAttribute('stop-opacity', m[2 * a + 1])
- }
- if (1 === e.t)
- (t.e._mdf || n) &&
- (l.setAttribute('x2', p[0]),
- l.setAttribute('y2', p[1]),
- c &&
- !t.g._collapsable &&
- (t.of.setAttribute('x2', p[0]), t.of.setAttribute('y2', p[1])))
- else if (
- ((t.s._mdf || t.e._mdf || n) &&
- ((s = Math.sqrt(Math.pow(u[0] - p[0], 2) + Math.pow(u[1] - p[1], 2))),
- l.setAttribute('r', s),
- c && !t.g._collapsable && t.of.setAttribute('r', s)),
- t.e._mdf || t.h._mdf || t.a._mdf || n)
- ) {
- s || (s = Math.sqrt(Math.pow(u[0] - p[0], 2) + Math.pow(u[1] - p[1], 2)))
- var g = Math.atan2(p[1] - u[1], p[0] - u[0]),
- y = t.h.v
- y >= 1 ? (y = 0.99) : y <= -1 && (y = -0.99)
- var b = s * y,
- _ = Math.cos(g + t.a.v) * b + u[0],
- A = Math.sin(g + t.a.v) * b + u[1]
- l.setAttribute('fx', _),
- l.setAttribute('fy', A),
- c &&
- !t.g._collapsable &&
- (t.of.setAttribute('fx', _), t.of.setAttribute('fy', A))
- }
- }
- function l(e, t, n) {
- var r = t.style,
- a = t.d
- a &&
- (a._mdf || n) &&
- a.dashStr &&
- (r.pElem.setAttribute('stroke-dasharray', a.dashStr),
- r.pElem.setAttribute('stroke-dashoffset', a.dashoffset[0])),
- t.c &&
- (t.c._mdf || n) &&
- r.pElem.setAttribute(
- 'stroke',
- 'rgb(' +
- bmFloor(t.c.v[0]) +
- ',' +
- bmFloor(t.c.v[1]) +
- ',' +
- bmFloor(t.c.v[2]) +
- ')'
- ),
- (t.o._mdf || n) && r.pElem.setAttribute('stroke-opacity', t.o.v),
- (t.w._mdf || n) &&
- (r.pElem.setAttribute('stroke-width', t.w.v),
- r.msElem && r.msElem.setAttribute('stroke-width', t.w.v))
- }
- return {
- createRenderFunction: function (e) {
- switch (e.ty) {
- case 'fl':
- return o
- case 'gf':
- return s
- case 'gs':
- return i
- case 'st':
- return l
- case 'sh':
- case 'el':
- case 'rc':
- case 'sr':
- return a
- case 'tr':
- return n
- case 'no':
- return r
- default:
- return null
- }
- }
- }
- })()
- function SVGShapeElement(e, t, n) {
- ;(this.shapes = []),
- (this.shapesData = e.shapes),
- (this.stylesList = []),
- (this.shapeModifiers = []),
- (this.itemsData = []),
- (this.processedElements = []),
- (this.animatedContents = []),
- this.initElement(e, t, n),
- (this.prevViewData = [])
- }
- function LetterProps(e, t, n, r, a, o) {
- ;(this.o = e),
- (this.sw = t),
- (this.sc = n),
- (this.fc = r),
- (this.m = a),
- (this.p = o),
- (this._mdf = { o: !0, sw: !!t, sc: !!n, fc: !!r, m: !0, p: !0 })
- }
- function TextProperty(e, t) {
- ;(this._frameId = initialDefaultFrame),
- (this.pv = ''),
- (this.v = ''),
- (this.kf = !1),
- (this._isFirstFrame = !0),
- (this._mdf = !1),
- (this.data = t),
- (this.elem = e),
- (this.comp = this.elem.comp),
- (this.keysIndex = 0),
- (this.canResize = !1),
- (this.minimumFontSize = 1),
- (this.effectsSequence = []),
- (this.currentData = {
- ascent: 0,
- boxWidth: this.defaultBoxWidth,
- f: '',
- fStyle: '',
- fWeight: '',
- fc: '',
- j: '',
- justifyOffset: '',
- l: [],
- lh: 0,
- lineWidths: [],
- ls: '',
- of: '',
- s: '',
- sc: '',
- sw: 0,
- t: 0,
- tr: 0,
- sz: 0,
- ps: null,
- fillColorAnim: !1,
- strokeColorAnim: !1,
- strokeWidthAnim: !1,
- yOffset: 0,
- finalSize: 0,
- finalText: [],
- finalLineHeight: 0,
- __complete: !1
- }),
- this.copyData(this.currentData, this.data.d.k[0].s),
- this.searchProperty() || this.completeTextData(this.currentData)
- }
- extendPrototype(
- [
- BaseElement,
- TransformElement,
- SVGBaseElement,
- IShapeElement,
- HierarchyElement,
- FrameElement,
- RenderableDOMElement
- ],
- SVGShapeElement
- ),
- (SVGShapeElement.prototype.initSecondaryElement = function () {}),
- (SVGShapeElement.prototype.identityMatrix = new Matrix()),
- (SVGShapeElement.prototype.buildExpressionInterface = function () {}),
- (SVGShapeElement.prototype.createContent = function () {
- this.searchShapes(
- this.shapesData,
- this.itemsData,
- this.prevViewData,
- this.layerElement,
- 0,
- [],
- !0
- ),
- this.filterUniqueShapes()
- }),
- (SVGShapeElement.prototype.filterUniqueShapes = function () {
- var e,
- t,
- n,
- r,
- a = this.shapes.length,
- o = this.stylesList.length,
- i = [],
- s = !1
- for (n = 0; n < o; n += 1) {
- for (r = this.stylesList[n], s = !1, i.length = 0, e = 0; e < a; e += 1)
- -1 !== (t = this.shapes[e]).styles.indexOf(r) &&
- (i.push(t), (s = t._isAnimated || s))
- i.length > 1 && s && this.setShapesAsAnimated(i)
- }
- }),
- (SVGShapeElement.prototype.setShapesAsAnimated = function (e) {
- var t,
- n = e.length
- for (t = 0; t < n; t += 1) e[t].setAsAnimated()
- }),
- (SVGShapeElement.prototype.createStyleElement = function (e, t) {
- var n,
- r = new SVGStyleData(e, t),
- a = r.pElem
- return (
- 'st' === e.ty
- ? (n = new SVGStrokeStyleData(this, e, r))
- : 'fl' === e.ty
- ? (n = new SVGFillStyleData(this, e, r))
- : 'gf' === e.ty || 'gs' === e.ty
- ? ((n = new (
- 'gf' === e.ty ? SVGGradientFillStyleData : SVGGradientStrokeStyleData
- )(this, e, r)),
- this.globalData.defs.appendChild(n.gf),
- n.maskId &&
- (this.globalData.defs.appendChild(n.ms),
- this.globalData.defs.appendChild(n.of),
- a.setAttribute(
- 'mask',
- 'url(' + getLocationHref() + '#' + n.maskId + ')'
- )))
- : 'no' === e.ty && (n = new SVGNoStyleData(this, e, r)),
- ('st' !== e.ty && 'gs' !== e.ty) ||
- (a.setAttribute('stroke-linecap', lineCapEnum[e.lc || 2]),
- a.setAttribute('stroke-linejoin', lineJoinEnum[e.lj || 2]),
- a.setAttribute('fill-opacity', '0'),
- 1 === e.lj && a.setAttribute('stroke-miterlimit', e.ml)),
- 2 === e.r && a.setAttribute('fill-rule', 'evenodd'),
- e.ln && a.setAttribute('id', e.ln),
- e.cl && a.setAttribute('class', e.cl),
- e.bm && (a.style['mix-blend-mode'] = getBlendMode(e.bm)),
- this.stylesList.push(r),
- this.addToAnimatedContents(e, n),
- n
- )
- }),
- (SVGShapeElement.prototype.createGroupElement = function (e) {
- var t = new ShapeGroupData()
- return (
- e.ln && t.gr.setAttribute('id', e.ln),
- e.cl && t.gr.setAttribute('class', e.cl),
- e.bm && (t.gr.style['mix-blend-mode'] = getBlendMode(e.bm)),
- t
- )
- }),
- (SVGShapeElement.prototype.createTransformElement = function (e, t) {
- var n = TransformPropertyFactory.getTransformProperty(this, e, this),
- r = new SVGTransformData(n, n.o, t)
- return this.addToAnimatedContents(e, r), r
- }),
- (SVGShapeElement.prototype.createShapeElement = function (e, t, n) {
- var r = 4
- 'rc' === e.ty ? (r = 5) : 'el' === e.ty ? (r = 6) : 'sr' === e.ty && (r = 7)
- var a = new SVGShapeData(
- t,
- n,
- ShapePropertyFactory.getShapeProp(this, e, r, this)
- )
- return (
- this.shapes.push(a),
- this.addShapeToModifiers(a),
- this.addToAnimatedContents(e, a),
- a
- )
- }),
- (SVGShapeElement.prototype.addToAnimatedContents = function (e, t) {
- for (var n = 0, r = this.animatedContents.length; n < r; ) {
- if (this.animatedContents[n].element === t) return
- n += 1
- }
- this.animatedContents.push({
- fn: SVGElementsRenderer.createRenderFunction(e),
- element: t,
- data: e
- })
- }),
- (SVGShapeElement.prototype.setElementStyles = function (e) {
- var t,
- n = e.styles,
- r = this.stylesList.length
- for (t = 0; t < r; t += 1)
- this.stylesList[t].closed || n.push(this.stylesList[t])
- }),
- (SVGShapeElement.prototype.reloadShapes = function () {
- var e
- this._isFirstFrame = !0
- var t = this.itemsData.length
- for (e = 0; e < t; e += 1) this.prevViewData[e] = this.itemsData[e]
- for (
- this.searchShapes(
- this.shapesData,
- this.itemsData,
- this.prevViewData,
- this.layerElement,
- 0,
- [],
- !0
- ),
- this.filterUniqueShapes(),
- t = this.dynamicProperties.length,
- e = 0;
- e < t;
- e += 1
- )
- this.dynamicProperties[e].getValue()
- this.renderModifiers()
- }),
- (SVGShapeElement.prototype.searchShapes = function (e, t, n, r, a, o, i) {
- var s,
- l,
- c,
- u,
- p,
- d,
- f = [].concat(o),
- h = e.length - 1,
- v = [],
- m = []
- for (s = h; s >= 0; s -= 1) {
- if (
- ((d = this.searchProcessedElement(e[s]))
- ? (t[s] = n[d - 1])
- : (e[s]._render = i),
- 'fl' === e[s].ty ||
- 'st' === e[s].ty ||
- 'gf' === e[s].ty ||
- 'gs' === e[s].ty ||
- 'no' === e[s].ty)
- )
- d ? (t[s].style.closed = !1) : (t[s] = this.createStyleElement(e[s], a)),
- e[s]._render &&
- t[s].style.pElem.parentNode !== r &&
- r.appendChild(t[s].style.pElem),
- v.push(t[s].style)
- else if ('gr' === e[s].ty) {
- if (d)
- for (c = t[s].it.length, l = 0; l < c; l += 1)
- t[s].prevViewData[l] = t[s].it[l]
- else t[s] = this.createGroupElement(e[s])
- this.searchShapes(
- e[s].it,
- t[s].it,
- t[s].prevViewData,
- t[s].gr,
- a + 1,
- f,
- i
- ),
- e[s]._render && t[s].gr.parentNode !== r && r.appendChild(t[s].gr)
- } else
- 'tr' === e[s].ty
- ? (d || (t[s] = this.createTransformElement(e[s], r)),
- (u = t[s].transform),
- f.push(u))
- : 'sh' === e[s].ty ||
- 'rc' === e[s].ty ||
- 'el' === e[s].ty ||
- 'sr' === e[s].ty
- ? (d || (t[s] = this.createShapeElement(e[s], f, a)),
- this.setElementStyles(t[s]))
- : 'tm' === e[s].ty ||
- 'rd' === e[s].ty ||
- 'ms' === e[s].ty ||
- 'pb' === e[s].ty
- ? (d
- ? ((p = t[s]).closed = !1)
- : ((p = ShapeModifiers.getModifier(e[s].ty)).init(this, e[s]),
- (t[s] = p),
- this.shapeModifiers.push(p)),
- m.push(p))
- : 'rp' === e[s].ty &&
- (d
- ? ((p = t[s]).closed = !0)
- : ((p = ShapeModifiers.getModifier(e[s].ty)),
- (t[s] = p),
- p.init(this, e, s, t),
- this.shapeModifiers.push(p),
- (i = !1)),
- m.push(p))
- this.addProcessedElement(e[s], s + 1)
- }
- for (h = v.length, s = 0; s < h; s += 1) v[s].closed = !0
- for (h = m.length, s = 0; s < h; s += 1) m[s].closed = !0
- }),
- (SVGShapeElement.prototype.renderInnerContent = function () {
- var e
- this.renderModifiers()
- var t = this.stylesList.length
- for (e = 0; e < t; e += 1) this.stylesList[e].reset()
- for (this.renderShape(), e = 0; e < t; e += 1)
- (this.stylesList[e]._mdf || this._isFirstFrame) &&
- (this.stylesList[e].msElem &&
- (this.stylesList[e].msElem.setAttribute('d', this.stylesList[e].d),
- (this.stylesList[e].d = 'M0 0' + this.stylesList[e].d)),
- this.stylesList[e].pElem.setAttribute('d', this.stylesList[e].d || 'M0 0'))
- }),
- (SVGShapeElement.prototype.renderShape = function () {
- var e,
- t,
- n = this.animatedContents.length
- for (e = 0; e < n; e += 1)
- (t = this.animatedContents[e]),
- (this._isFirstFrame || t.element._isAnimated) &&
- !0 !== t.data &&
- t.fn(t.data, t.element, this._isFirstFrame)
- }),
- (SVGShapeElement.prototype.destroy = function () {
- this.destroyBaseElement(), (this.shapesData = null), (this.itemsData = null)
- }),
- (LetterProps.prototype.update = function (e, t, n, r, a, o) {
- ;(this._mdf.o = !1),
- (this._mdf.sw = !1),
- (this._mdf.sc = !1),
- (this._mdf.fc = !1),
- (this._mdf.m = !1),
- (this._mdf.p = !1)
- var i = !1
- return (
- this.o !== e && ((this.o = e), (this._mdf.o = !0), (i = !0)),
- this.sw !== t && ((this.sw = t), (this._mdf.sw = !0), (i = !0)),
- this.sc !== n && ((this.sc = n), (this._mdf.sc = !0), (i = !0)),
- this.fc !== r && ((this.fc = r), (this._mdf.fc = !0), (i = !0)),
- this.m !== a && ((this.m = a), (this._mdf.m = !0), (i = !0)),
- !o.length ||
- (this.p[0] === o[0] &&
- this.p[1] === o[1] &&
- this.p[4] === o[4] &&
- this.p[5] === o[5] &&
- this.p[12] === o[12] &&
- this.p[13] === o[13]) ||
- ((this.p = o), (this._mdf.p = !0), (i = !0)),
- i
- )
- }),
- (TextProperty.prototype.defaultBoxWidth = [0, 0]),
- (TextProperty.prototype.copyData = function (e, t) {
- for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n])
- return e
- }),
- (TextProperty.prototype.setCurrentData = function (e) {
- e.__complete || this.completeTextData(e),
- (this.currentData = e),
- (this.currentData.boxWidth =
- this.currentData.boxWidth || this.defaultBoxWidth),
- (this._mdf = !0)
- }),
- (TextProperty.prototype.searchProperty = function () {
- return this.searchKeyframes()
- }),
- (TextProperty.prototype.searchKeyframes = function () {
- return (
- (this.kf = this.data.d.k.length > 1),
- this.kf && this.addEffect(this.getKeyframeValue.bind(this)),
- this.kf
- )
- }),
- (TextProperty.prototype.addEffect = function (e) {
- this.effectsSequence.push(e), this.elem.addDynamicProperty(this)
- }),
- (TextProperty.prototype.getValue = function (e) {
- if (
- (this.elem.globalData.frameId !== this.frameId &&
- this.effectsSequence.length) ||
- e
- ) {
- this.currentData.t = this.data.d.k[this.keysIndex].s.t
- var t = this.currentData,
- n = this.keysIndex
- if (this.lock) this.setCurrentData(this.currentData)
- else {
- var r
- ;(this.lock = !0), (this._mdf = !1)
- var a = this.effectsSequence.length,
- o = e || this.data.d.k[this.keysIndex].s
- for (r = 0; r < a; r += 1)
- o =
- n !== this.keysIndex
- ? this.effectsSequence[r](o, o.t)
- : this.effectsSequence[r](this.currentData, o.t)
- t !== o && this.setCurrentData(o),
- (this.v = this.currentData),
- (this.pv = this.v),
- (this.lock = !1),
- (this.frameId = this.elem.globalData.frameId)
- }
- }
- }),
- (TextProperty.prototype.getKeyframeValue = function () {
- for (
- var e = this.data.d.k, t = this.elem.comp.renderedFrame, n = 0, r = e.length;
- n <= r - 1 && !(n === r - 1 || e[n + 1].t > t);
- )
- n += 1
- return (
- this.keysIndex !== n && (this.keysIndex = n), this.data.d.k[this.keysIndex].s
- )
- }),
- (TextProperty.prototype.buildFinalText = function (e) {
- for (var t, n, r = [], a = 0, o = e.length, i = !1; a < o; )
- (t = e.charCodeAt(a)),
- FontManager.isCombinedCharacter(t)
- ? (r[r.length - 1] += e.charAt(a))
- : t >= 55296 && t <= 56319
- ? (n = e.charCodeAt(a + 1)) >= 56320 && n <= 57343
- ? (i || FontManager.isModifier(t, n)
- ? ((r[r.length - 1] += e.substr(a, 2)), (i = !1))
- : r.push(e.substr(a, 2)),
- (a += 1))
- : r.push(e.charAt(a))
- : t > 56319
- ? ((n = e.charCodeAt(a + 1)),
- FontManager.isZeroWidthJoiner(t, n)
- ? ((i = !0), (r[r.length - 1] += e.substr(a, 2)), (a += 1))
- : r.push(e.charAt(a)))
- : FontManager.isZeroWidthJoiner(t)
- ? ((r[r.length - 1] += e.charAt(a)), (i = !0))
- : r.push(e.charAt(a)),
- (a += 1)
- return r
- }),
- (TextProperty.prototype.completeTextData = function (e) {
- e.__complete = !0
- var t,
- n,
- r,
- a,
- o,
- i,
- s,
- l = this.elem.globalData.fontManager,
- c = this.data,
- u = [],
- p = 0,
- d = c.m.g,
- f = 0,
- h = 0,
- v = 0,
- m = [],
- g = 0,
- y = 0,
- b = l.getFontByName(e.f),
- _ = 0,
- A = getFontProperties(b)
- ;(e.fWeight = A.weight),
- (e.fStyle = A.style),
- (e.finalSize = e.s),
- (e.finalText = this.buildFinalText(e.t)),
- (n = e.finalText.length),
- (e.finalLineHeight = e.lh)
- var x,
- w = (e.tr / 1e3) * e.finalSize
- if (e.sz)
- for (var k, S, E = !0, P = e.sz[0], C = e.sz[1]; E; ) {
- ;(k = 0),
- (g = 0),
- (n = (S = this.buildFinalText(e.t)).length),
- (w = (e.tr / 1e3) * e.finalSize)
- var T = -1
- for (t = 0; t < n; t += 1)
- (x = S[t].charCodeAt(0)),
- (r = !1),
- ' ' === S[t]
- ? (T = t)
- : (13 !== x && 3 !== x) ||
- ((g = 0), (r = !0), (k += e.finalLineHeight || 1.2 * e.finalSize)),
- l.chars
- ? ((s = l.getCharData(S[t], b.fStyle, b.fFamily)),
- (_ = r ? 0 : (s.w * e.finalSize) / 100))
- : (_ = l.measureText(S[t], e.f, e.finalSize)),
- g + _ > P && ' ' !== S[t]
- ? (-1 === T ? (n += 1) : (t = T),
- (k += e.finalLineHeight || 1.2 * e.finalSize),
- S.splice(t, T === t ? 1 : 0, '\r'),
- (T = -1),
- (g = 0))
- : ((g += _), (g += w))
- ;(k += (b.ascent * e.finalSize) / 100),
- this.canResize && e.finalSize > this.minimumFontSize && C < k
- ? ((e.finalSize -= 1), (e.finalLineHeight = (e.finalSize * e.lh) / e.s))
- : ((e.finalText = S), (n = e.finalText.length), (E = !1))
- }
- ;(g = -w), (_ = 0)
- var I,
- R = 0
- for (t = 0; t < n; t += 1)
- if (
- ((r = !1),
- 13 === (x = (I = e.finalText[t]).charCodeAt(0)) || 3 === x
- ? ((R = 0),
- m.push(g),
- (y = g > y ? g : y),
- (g = -2 * w),
- (a = ''),
- (r = !0),
- (v += 1))
- : (a = I),
- l.chars
- ? ((s = l.getCharData(I, b.fStyle, l.getFontByName(e.f).fFamily)),
- (_ = r ? 0 : (s.w * e.finalSize) / 100))
- : (_ = l.measureText(a, e.f, e.finalSize)),
- ' ' === I ? (R += _ + w) : ((g += _ + w + R), (R = 0)),
- u.push({
- l: _,
- an: _,
- add: f,
- n: r,
- anIndexes: [],
- val: a,
- line: v,
- animatorJustifyOffset: 0
- }),
- 2 == d)
- ) {
- if (((f += _), '' === a || ' ' === a || t === n - 1)) {
- for (('' !== a && ' ' !== a) || (f -= _); h <= t; )
- (u[h].an = f), (u[h].ind = p), (u[h].extra = _), (h += 1)
- ;(p += 1), (f = 0)
- }
- } else if (3 == d) {
- if (((f += _), '' === a || t === n - 1)) {
- for ('' === a && (f -= _); h <= t; )
- (u[h].an = f), (u[h].ind = p), (u[h].extra = _), (h += 1)
- ;(f = 0), (p += 1)
- }
- } else (u[p].ind = p), (u[p].extra = 0), (p += 1)
- if (((e.l = u), (y = g > y ? g : y), m.push(g), e.sz))
- (e.boxWidth = e.sz[0]), (e.justifyOffset = 0)
- else
- switch (((e.boxWidth = y), e.j)) {
- case 1:
- e.justifyOffset = -e.boxWidth
- break
- case 2:
- e.justifyOffset = -e.boxWidth / 2
- break
- default:
- e.justifyOffset = 0
- }
- e.lineWidths = m
- var M,
- z,
- O,
- D,
- F = c.a
- i = F.length
- var B = []
- for (o = 0; o < i; o += 1) {
- for (
- (M = F[o]).a.sc && (e.strokeColorAnim = !0),
- M.a.sw && (e.strokeWidthAnim = !0),
- (M.a.fc || M.a.fh || M.a.fs || M.a.fb) && (e.fillColorAnim = !0),
- D = 0,
- O = M.s.b,
- t = 0;
- t < n;
- t += 1
- )
- ((z = u[t]).anIndexes[o] = D),
- ((1 == O && '' !== z.val) ||
- (2 == O && '' !== z.val && ' ' !== z.val) ||
- (3 == O && (z.n || ' ' == z.val || t == n - 1)) ||
- (4 == O && (z.n || t == n - 1))) &&
- (1 === M.s.rn && B.push(D), (D += 1))
- c.a[o].s.totalChars = D
- var N,
- j = -1
- if (1 === M.s.rn)
- for (t = 0; t < n; t += 1)
- j != (z = u[t]).anIndexes[o] &&
- ((j = z.anIndexes[o]),
- (N = B.splice(Math.floor(Math.random() * B.length), 1)[0])),
- (z.anIndexes[o] = N)
- }
- ;(e.yOffset = e.finalLineHeight || 1.2 * e.finalSize),
- (e.ls = e.ls || 0),
- (e.ascent = (b.ascent * e.finalSize) / 100)
- }),
- (TextProperty.prototype.updateDocumentData = function (e, t) {
- t = void 0 === t ? this.keysIndex : t
- var n = this.copyData({}, this.data.d.k[t].s)
- ;(n = this.copyData(n, e)),
- (this.data.d.k[t].s = n),
- this.recalculate(t),
- this.elem.addDynamicProperty(this)
- }),
- (TextProperty.prototype.recalculate = function (e) {
- var t = this.data.d.k[e].s
- ;(t.__complete = !1),
- (this.keysIndex = 0),
- (this._isFirstFrame = !0),
- this.getValue(t)
- }),
- (TextProperty.prototype.canResizeFont = function (e) {
- ;(this.canResize = e),
- this.recalculate(this.keysIndex),
- this.elem.addDynamicProperty(this)
- }),
- (TextProperty.prototype.setMinimumFontSize = function (e) {
- ;(this.minimumFontSize = Math.floor(e) || 1),
- this.recalculate(this.keysIndex),
- this.elem.addDynamicProperty(this)
- })
- var TextSelectorProp = (function () {
- var e = Math.max,
- t = Math.min,
- n = Math.floor
- function r(e, t) {
- ;(this._currentTextLength = -1),
- (this.k = !1),
- (this.data = t),
- (this.elem = e),
- (this.comp = e.comp),
- (this.finalS = 0),
- (this.finalE = 0),
- this.initDynamicPropertyContainer(e),
- (this.s = PropertyFactory.getProp(e, t.s || { k: 0 }, 0, 0, this)),
- (this.e =
- 'e' in t ? PropertyFactory.getProp(e, t.e, 0, 0, this) : { v: 100 }),
- (this.o = PropertyFactory.getProp(e, t.o || { k: 0 }, 0, 0, this)),
- (this.xe = PropertyFactory.getProp(e, t.xe || { k: 0 }, 0, 0, this)),
- (this.ne = PropertyFactory.getProp(e, t.ne || { k: 0 }, 0, 0, this)),
- (this.sm = PropertyFactory.getProp(e, t.sm || { k: 100 }, 0, 0, this)),
- (this.a = PropertyFactory.getProp(e, t.a, 0, 0.01, this)),
- this.dynamicProperties.length || this.getValue()
- }
- return (
- (r.prototype = {
- getMult: function (r) {
- this._currentTextLength !== this.elem.textProperty.currentData.l.length &&
- this.getValue()
- var a = 0,
- o = 0,
- i = 1,
- s = 1
- this.ne.v > 0 ? (a = this.ne.v / 100) : (o = -this.ne.v / 100),
- this.xe.v > 0 ? (i = 1 - this.xe.v / 100) : (s = 1 + this.xe.v / 100)
- var l = BezierFactory.getBezierEasing(a, o, i, s).get,
- c = 0,
- u = this.finalS,
- p = this.finalE,
- d = this.data.sh
- if (2 === d)
- c = l(
- (c =
- p === u
- ? r >= p
- ? 1
- : 0
- : e(0, t(0.5 / (p - u) + (r - u) / (p - u), 1)))
- )
- else if (3 === d)
- c = l(
- (c =
- p === u
- ? r >= p
- ? 0
- : 1
- : 1 - e(0, t(0.5 / (p - u) + (r - u) / (p - u), 1)))
- )
- else if (4 === d)
- p === u
- ? (c = 0)
- : (c = e(0, t(0.5 / (p - u) + (r - u) / (p - u), 1))) < 0.5
- ? (c *= 2)
- : (c = 1 - 2 * (c - 0.5)),
- (c = l(c))
- else if (5 === d) {
- if (p === u) c = 0
- else {
- var f = p - u,
- h = -f / 2 + (r = t(e(0, r + 0.5 - u), p - u)),
- v = f / 2
- c = Math.sqrt(1 - (h * h) / (v * v))
- }
- c = l(c)
- } else
- 6 === d
- ? (p === u
- ? (c = 0)
- : ((r = t(e(0, r + 0.5 - u), p - u)),
- (c = (1 + Math.cos(Math.PI + (2 * Math.PI * r) / (p - u))) / 2)),
- (c = l(c)))
- : (r >= n(u) && (c = e(0, t(r - u < 0 ? t(p, 1) - (u - r) : p - r, 1))),
- (c = l(c)))
- if (100 !== this.sm.v) {
- var m = 0.01 * this.sm.v
- 0 === m && (m = 1e-8)
- var g = 0.5 - 0.5 * m
- c < g ? (c = 0) : (c = (c - g) / m) > 1 && (c = 1)
- }
- return c * this.a.v
- },
- getValue: function (e) {
- this.iterateDynamicProperties(),
- (this._mdf = e || this._mdf),
- (this._currentTextLength =
- this.elem.textProperty.currentData.l.length || 0),
- e && 2 === this.data.r && (this.e.v = this._currentTextLength)
- var t = 2 === this.data.r ? 1 : 100 / this.data.totalChars,
- n = this.o.v / t,
- r = this.s.v / t + n,
- a = this.e.v / t + n
- if (r > a) {
- var o = r
- ;(r = a), (a = o)
- }
- ;(this.finalS = r), (this.finalE = a)
- }
- }),
- extendPrototype([DynamicPropertyContainer], r),
- {
- getTextSelectorProp: function (e, t, n) {
- return new r(e, t)
- }
- }
- )
- })()
- function TextAnimatorDataProperty(e, t, n) {
- var r = { propType: !1 },
- a = PropertyFactory.getProp,
- o = t.a
- ;(this.a = {
- r: o.r ? a(e, o.r, 0, degToRads, n) : r,
- rx: o.rx ? a(e, o.rx, 0, degToRads, n) : r,
- ry: o.ry ? a(e, o.ry, 0, degToRads, n) : r,
- sk: o.sk ? a(e, o.sk, 0, degToRads, n) : r,
- sa: o.sa ? a(e, o.sa, 0, degToRads, n) : r,
- s: o.s ? a(e, o.s, 1, 0.01, n) : r,
- a: o.a ? a(e, o.a, 1, 0, n) : r,
- o: o.o ? a(e, o.o, 0, 0.01, n) : r,
- p: o.p ? a(e, o.p, 1, 0, n) : r,
- sw: o.sw ? a(e, o.sw, 0, 0, n) : r,
- sc: o.sc ? a(e, o.sc, 1, 0, n) : r,
- fc: o.fc ? a(e, o.fc, 1, 0, n) : r,
- fh: o.fh ? a(e, o.fh, 0, 0, n) : r,
- fs: o.fs ? a(e, o.fs, 0, 0.01, n) : r,
- fb: o.fb ? a(e, o.fb, 0, 0.01, n) : r,
- t: o.t ? a(e, o.t, 0, 0, n) : r
- }),
- (this.s = TextSelectorProp.getTextSelectorProp(e, t.s, n)),
- (this.s.t = t.s.t)
- }
- function TextAnimatorProperty(e, t, n) {
- ;(this._isFirstFrame = !0),
- (this._hasMaskedPath = !1),
- (this._frameId = -1),
- (this._textData = e),
- (this._renderType = t),
- (this._elem = n),
- (this._animatorsData = createSizedArray(this._textData.a.length)),
- (this._pathData = {}),
- (this._moreOptions = { alignment: {} }),
- (this.renderedLetters = []),
- (this.lettersChangedFlag = !1),
- this.initDynamicPropertyContainer(n)
- }
- function ITextElement() {}
- ;(TextAnimatorProperty.prototype.searchProperties = function () {
- var e,
- t,
- n = this._textData.a.length,
- r = PropertyFactory.getProp
- for (e = 0; e < n; e += 1)
- (t = this._textData.a[e]),
- (this._animatorsData[e] = new TextAnimatorDataProperty(this._elem, t, this))
- this._textData.p && 'm' in this._textData.p
- ? ((this._pathData = {
- a: r(this._elem, this._textData.p.a, 0, 0, this),
- f: r(this._elem, this._textData.p.f, 0, 0, this),
- l: r(this._elem, this._textData.p.l, 0, 0, this),
- r: r(this._elem, this._textData.p.r, 0, 0, this),
- p: r(this._elem, this._textData.p.p, 0, 0, this),
- m: this._elem.maskManager.getMaskProperty(this._textData.p.m)
- }),
- (this._hasMaskedPath = !0))
- : (this._hasMaskedPath = !1),
- (this._moreOptions.alignment = r(this._elem, this._textData.m.a, 1, 0, this))
- }),
- (TextAnimatorProperty.prototype.getMeasures = function (e, t) {
- if (
- ((this.lettersChangedFlag = t),
- this._mdf ||
- this._isFirstFrame ||
- t ||
- (this._hasMaskedPath && this._pathData.m._mdf))
- ) {
- this._isFirstFrame = !1
- var n,
- r,
- a,
- o,
- i,
- s,
- l,
- c,
- u,
- p,
- d,
- f,
- h,
- v,
- m,
- g,
- y,
- b,
- _,
- A = this._moreOptions.alignment.v,
- x = this._animatorsData,
- w = this._textData,
- k = this.mHelper,
- S = this._renderType,
- E = this.renderedLetters.length,
- P = e.l
- if (this._hasMaskedPath) {
- if (((_ = this._pathData.m), !this._pathData.n || this._pathData._mdf)) {
- var C,
- T = _.v
- for (
- this._pathData.r.v && (T = T.reverse()),
- i = { tLength: 0, segments: [] },
- o = T._length - 1,
- g = 0,
- a = 0;
- a < o;
- a += 1
- )
- (C = bez.buildBezierData(
- T.v[a],
- T.v[a + 1],
- [T.o[a][0] - T.v[a][0], T.o[a][1] - T.v[a][1]],
- [T.i[a + 1][0] - T.v[a + 1][0], T.i[a + 1][1] - T.v[a + 1][1]]
- )),
- (i.tLength += C.segmentLength),
- i.segments.push(C),
- (g += C.segmentLength)
- ;(a = o),
- _.v.c &&
- ((C = bez.buildBezierData(
- T.v[a],
- T.v[0],
- [T.o[a][0] - T.v[a][0], T.o[a][1] - T.v[a][1]],
- [T.i[0][0] - T.v[0][0], T.i[0][1] - T.v[0][1]]
- )),
- (i.tLength += C.segmentLength),
- i.segments.push(C),
- (g += C.segmentLength)),
- (this._pathData.pi = i)
- }
- if (
- ((i = this._pathData.pi),
- (s = this._pathData.f.v),
- (d = 0),
- (p = 1),
- (c = 0),
- (u = !0),
- (v = i.segments),
- s < 0 && _.v.c)
- )
- for (
- i.tLength < Math.abs(s) && (s = -Math.abs(s) % i.tLength),
- p = (h = v[(d = v.length - 1)].points).length - 1;
- s < 0;
- )
- (s += h[p].partialLength),
- (p -= 1) < 0 && (p = (h = v[(d -= 1)].points).length - 1)
- ;(f = (h = v[d].points)[p - 1]), (m = (l = h[p]).partialLength)
- }
- ;(o = P.length), (n = 0), (r = 0)
- var I,
- R,
- M,
- z,
- O,
- D = 1.2 * e.finalSize * 0.714,
- F = !0
- M = x.length
- var B,
- N,
- j,
- V,
- L,
- H,
- G,
- q,
- U,
- W,
- $,
- K,
- Y = -1,
- J = s,
- Q = d,
- X = p,
- Z = -1,
- ee = '',
- te = this.defaultPropsArray
- if (2 === e.j || 1 === e.j) {
- var ne = 0,
- re = 0,
- ae = 2 === e.j ? -0.5 : -1,
- oe = 0,
- ie = !0
- for (a = 0; a < o; a += 1)
- if (P[a].n) {
- for (ne && (ne += re); oe < a; )
- (P[oe].animatorJustifyOffset = ne), (oe += 1)
- ;(ne = 0), (ie = !0)
- } else {
- for (R = 0; R < M; R += 1)
- (I = x[R].a).t.propType &&
- (ie && 2 === e.j && (re += I.t.v * ae),
- (O = x[R].s.getMult(P[a].anIndexes[R], w.a[R].s.totalChars)).length
- ? (ne += I.t.v * O[0] * ae)
- : (ne += I.t.v * O * ae))
- ie = !1
- }
- for (ne && (ne += re); oe < a; )
- (P[oe].animatorJustifyOffset = ne), (oe += 1)
- }
- for (a = 0; a < o; a += 1) {
- if ((k.reset(), (V = 1), P[a].n))
- (n = 0),
- (r += e.yOffset),
- (r += F ? 1 : 0),
- (s = J),
- (F = !1),
- this._hasMaskedPath &&
- ((p = X),
- (f = (h = v[(d = Q)].points)[p - 1]),
- (m = (l = h[p]).partialLength),
- (c = 0)),
- (ee = ''),
- ($ = ''),
- (U = ''),
- (K = ''),
- (te = this.defaultPropsArray)
- else {
- if (this._hasMaskedPath) {
- if (Z !== P[a].line) {
- switch (e.j) {
- case 1:
- s += g - e.lineWidths[P[a].line]
- break
- case 2:
- s += (g - e.lineWidths[P[a].line]) / 2
- }
- Z = P[a].line
- }
- Y !== P[a].ind &&
- (P[Y] && (s += P[Y].extra), (s += P[a].an / 2), (Y = P[a].ind)),
- (s += A[0] * P[a].an * 0.005)
- var se = 0
- for (R = 0; R < M; R += 1)
- (I = x[R].a).p.propType &&
- ((O = x[R].s.getMult(P[a].anIndexes[R], w.a[R].s.totalChars)).length
- ? (se += I.p.v[0] * O[0])
- : (se += I.p.v[0] * O)),
- I.a.propType &&
- ((O = x[R].s.getMult(P[a].anIndexes[R], w.a[R].s.totalChars))
- .length
- ? (se += I.a.v[0] * O[0])
- : (se += I.a.v[0] * O))
- for (
- u = !0,
- this._pathData.a.v &&
- ((s =
- 0.5 * P[0].an +
- ((g -
- this._pathData.f.v -
- 0.5 * P[0].an -
- 0.5 * P[P.length - 1].an) *
- Y) /
- (o - 1)),
- (s += this._pathData.f.v));
- u;
- )
- c + m >= s + se || !h
- ? ((y = (s + se - c) / l.partialLength),
- (N = f.point[0] + (l.point[0] - f.point[0]) * y),
- (j = f.point[1] + (l.point[1] - f.point[1]) * y),
- k.translate(-A[0] * P[a].an * 0.005, -A[1] * D * 0.01),
- (u = !1))
- : h &&
- ((c += l.partialLength),
- (p += 1) >= h.length &&
- ((p = 0),
- v[(d += 1)]
- ? (h = v[d].points)
- : _.v.c
- ? ((p = 0), (h = v[(d = 0)].points))
- : ((c -= l.partialLength), (h = null))),
- h && ((f = l), (m = (l = h[p]).partialLength)))
- ;(B = P[a].an / 2 - P[a].add), k.translate(-B, 0, 0)
- } else
- (B = P[a].an / 2 - P[a].add),
- k.translate(-B, 0, 0),
- k.translate(-A[0] * P[a].an * 0.005, -A[1] * D * 0.01, 0)
- for (R = 0; R < M; R += 1)
- (I = x[R].a).t.propType &&
- ((O = x[R].s.getMult(P[a].anIndexes[R], w.a[R].s.totalChars)),
- (0 === n && 0 === e.j) ||
- (this._hasMaskedPath
- ? O.length
- ? (s += I.t.v * O[0])
- : (s += I.t.v * O)
- : O.length
- ? (n += I.t.v * O[0])
- : (n += I.t.v * O)))
- for (
- e.strokeWidthAnim && (H = e.sw || 0),
- e.strokeColorAnim &&
- (L = e.sc ? [e.sc[0], e.sc[1], e.sc[2]] : [0, 0, 0]),
- e.fillColorAnim && e.fc && (G = [e.fc[0], e.fc[1], e.fc[2]]),
- R = 0;
- R < M;
- R += 1
- )
- (I = x[R].a).a.propType &&
- ((O = x[R].s.getMult(P[a].anIndexes[R], w.a[R].s.totalChars)).length
- ? k.translate(-I.a.v[0] * O[0], -I.a.v[1] * O[1], I.a.v[2] * O[2])
- : k.translate(-I.a.v[0] * O, -I.a.v[1] * O, I.a.v[2] * O))
- for (R = 0; R < M; R += 1)
- (I = x[R].a).s.propType &&
- ((O = x[R].s.getMult(P[a].anIndexes[R], w.a[R].s.totalChars)).length
- ? k.scale(1 + (I.s.v[0] - 1) * O[0], 1 + (I.s.v[1] - 1) * O[1], 1)
- : k.scale(1 + (I.s.v[0] - 1) * O, 1 + (I.s.v[1] - 1) * O, 1))
- for (R = 0; R < M; R += 1) {
- if (
- ((I = x[R].a),
- (O = x[R].s.getMult(P[a].anIndexes[R], w.a[R].s.totalChars)),
- I.sk.propType &&
- (O.length
- ? k.skewFromAxis(-I.sk.v * O[0], I.sa.v * O[1])
- : k.skewFromAxis(-I.sk.v * O, I.sa.v * O)),
- I.r.propType &&
- (O.length ? k.rotateZ(-I.r.v * O[2]) : k.rotateZ(-I.r.v * O)),
- I.ry.propType &&
- (O.length ? k.rotateY(I.ry.v * O[1]) : k.rotateY(I.ry.v * O)),
- I.rx.propType &&
- (O.length ? k.rotateX(I.rx.v * O[0]) : k.rotateX(I.rx.v * O)),
- I.o.propType &&
- (O.length
- ? (V += (I.o.v * O[0] - V) * O[0])
- : (V += (I.o.v * O - V) * O)),
- e.strokeWidthAnim &&
- I.sw.propType &&
- (O.length ? (H += I.sw.v * O[0]) : (H += I.sw.v * O)),
- e.strokeColorAnim && I.sc.propType)
- )
- for (q = 0; q < 3; q += 1)
- O.length
- ? (L[q] += (I.sc.v[q] - L[q]) * O[0])
- : (L[q] += (I.sc.v[q] - L[q]) * O)
- if (e.fillColorAnim && e.fc) {
- if (I.fc.propType)
- for (q = 0; q < 3; q += 1)
- O.length
- ? (G[q] += (I.fc.v[q] - G[q]) * O[0])
- : (G[q] += (I.fc.v[q] - G[q]) * O)
- I.fh.propType &&
- (G = O.length
- ? addHueToRGB(G, I.fh.v * O[0])
- : addHueToRGB(G, I.fh.v * O)),
- I.fs.propType &&
- (G = O.length
- ? addSaturationToRGB(G, I.fs.v * O[0])
- : addSaturationToRGB(G, I.fs.v * O)),
- I.fb.propType &&
- (G = O.length
- ? addBrightnessToRGB(G, I.fb.v * O[0])
- : addBrightnessToRGB(G, I.fb.v * O))
- }
- }
- for (R = 0; R < M; R += 1)
- (I = x[R].a).p.propType &&
- ((O = x[R].s.getMult(P[a].anIndexes[R], w.a[R].s.totalChars)),
- this._hasMaskedPath
- ? O.length
- ? k.translate(0, I.p.v[1] * O[0], -I.p.v[2] * O[1])
- : k.translate(0, I.p.v[1] * O, -I.p.v[2] * O)
- : O.length
- ? k.translate(I.p.v[0] * O[0], I.p.v[1] * O[1], -I.p.v[2] * O[2])
- : k.translate(I.p.v[0] * O, I.p.v[1] * O, -I.p.v[2] * O))
- if (
- (e.strokeWidthAnim && (U = H < 0 ? 0 : H),
- e.strokeColorAnim &&
- (W =
- 'rgb(' +
- Math.round(255 * L[0]) +
- ',' +
- Math.round(255 * L[1]) +
- ',' +
- Math.round(255 * L[2]) +
- ')'),
- e.fillColorAnim &&
- e.fc &&
- ($ =
- 'rgb(' +
- Math.round(255 * G[0]) +
- ',' +
- Math.round(255 * G[1]) +
- ',' +
- Math.round(255 * G[2]) +
- ')'),
- this._hasMaskedPath)
- ) {
- if (
- (k.translate(0, -e.ls),
- k.translate(0, A[1] * D * 0.01 + r, 0),
- this._pathData.p.v)
- ) {
- b = (l.point[1] - f.point[1]) / (l.point[0] - f.point[0])
- var le = (180 * Math.atan(b)) / Math.PI
- l.point[0] < f.point[0] && (le += 180),
- k.rotate((-le * Math.PI) / 180)
- }
- k.translate(N, j, 0),
- (s -= A[0] * P[a].an * 0.005),
- P[a + 1] &&
- Y !== P[a + 1].ind &&
- ((s += P[a].an / 2), (s += 0.001 * e.tr * e.finalSize))
- } else {
- switch (
- (k.translate(n, r, 0),
- e.ps && k.translate(e.ps[0], e.ps[1] + e.ascent, 0),
- e.j)
- ) {
- case 1:
- k.translate(
- P[a].animatorJustifyOffset +
- e.justifyOffset +
- (e.boxWidth - e.lineWidths[P[a].line]),
- 0,
- 0
- )
- break
- case 2:
- k.translate(
- P[a].animatorJustifyOffset +
- e.justifyOffset +
- (e.boxWidth - e.lineWidths[P[a].line]) / 2,
- 0,
- 0
- )
- }
- k.translate(0, -e.ls),
- k.translate(B, 0, 0),
- k.translate(A[0] * P[a].an * 0.005, A[1] * D * 0.01, 0),
- (n += P[a].l + 0.001 * e.tr * e.finalSize)
- }
- 'html' === S
- ? (ee = k.toCSS())
- : 'svg' === S
- ? (ee = k.to2dCSS())
- : (te = [
- k.props[0],
- k.props[1],
- k.props[2],
- k.props[3],
- k.props[4],
- k.props[5],
- k.props[6],
- k.props[7],
- k.props[8],
- k.props[9],
- k.props[10],
- k.props[11],
- k.props[12],
- k.props[13],
- k.props[14],
- k.props[15]
- ]),
- (K = V)
- }
- E <= a
- ? ((z = new LetterProps(K, U, W, $, ee, te)),
- this.renderedLetters.push(z),
- (E += 1),
- (this.lettersChangedFlag = !0))
- : ((z = this.renderedLetters[a]),
- (this.lettersChangedFlag =
- z.update(K, U, W, $, ee, te) || this.lettersChangedFlag))
- }
- }
- }),
- (TextAnimatorProperty.prototype.getValue = function () {
- this._elem.globalData.frameId !== this._frameId &&
- ((this._frameId = this._elem.globalData.frameId),
- this.iterateDynamicProperties())
- }),
- (TextAnimatorProperty.prototype.mHelper = new Matrix()),
- (TextAnimatorProperty.prototype.defaultPropsArray = []),
- extendPrototype([DynamicPropertyContainer], TextAnimatorProperty),
- (ITextElement.prototype.initElement = function (e, t, n) {
- ;(this.lettersChangedFlag = !0),
- this.initFrame(),
- this.initBaseData(e, t, n),
- (this.textProperty = new TextProperty(this, e.t, this.dynamicProperties)),
- (this.textAnimator = new TextAnimatorProperty(e.t, this.renderType, this)),
- this.initTransform(e, t, n),
- this.initHierarchy(),
- this.initRenderable(),
- this.initRendererElement(),
- this.createContainerElements(),
- this.createRenderableComponents(),
- this.createContent(),
- this.hide(),
- this.textAnimator.searchProperties(this.dynamicProperties)
- }),
- (ITextElement.prototype.prepareFrame = function (e) {
- ;(this._mdf = !1),
- this.prepareRenderableFrame(e),
- this.prepareProperties(e, this.isInRange),
- (this.textProperty._mdf || this.textProperty._isFirstFrame) &&
- (this.buildNewText(),
- (this.textProperty._isFirstFrame = !1),
- (this.textProperty._mdf = !1))
- }),
- (ITextElement.prototype.createPathShape = function (e, t) {
- var n,
- r,
- a = t.length,
- o = ''
- for (n = 0; n < a; n += 1)
- 'sh' === t[n].ty &&
- ((r = t[n].ks.k), (o += buildShapeString(r, r.i.length, !0, e)))
- return o
- }),
- (ITextElement.prototype.updateDocumentData = function (e, t) {
- this.textProperty.updateDocumentData(e, t)
- }),
- (ITextElement.prototype.canResizeFont = function (e) {
- this.textProperty.canResizeFont(e)
- }),
- (ITextElement.prototype.setMinimumFontSize = function (e) {
- this.textProperty.setMinimumFontSize(e)
- }),
- (ITextElement.prototype.applyTextPropertiesToMatrix = function (e, t, n, r, a) {
- switch (
- (e.ps && t.translate(e.ps[0], e.ps[1] + e.ascent, 0),
- t.translate(0, -e.ls, 0),
- e.j)
- ) {
- case 1:
- t.translate(e.justifyOffset + (e.boxWidth - e.lineWidths[n]), 0, 0)
- break
- case 2:
- t.translate(e.justifyOffset + (e.boxWidth - e.lineWidths[n]) / 2, 0, 0)
- }
- t.translate(r, a, 0)
- }),
- (ITextElement.prototype.buildColor = function (e) {
- return (
- 'rgb(' +
- Math.round(255 * e[0]) +
- ',' +
- Math.round(255 * e[1]) +
- ',' +
- Math.round(255 * e[2]) +
- ')'
- )
- }),
- (ITextElement.prototype.emptyProp = new LetterProps()),
- (ITextElement.prototype.destroy = function () {})
- var emptyShapeData = { shapes: [] }
- function SVGTextLottieElement(e, t, n) {
- ;(this.textSpans = []), (this.renderType = 'svg'), this.initElement(e, t, n)
- }
- function ISolidElement(e, t, n) {
- this.initElement(e, t, n)
- }
- function NullElement(e, t, n) {
- this.initFrame(),
- this.initBaseData(e, t, n),
- this.initFrame(),
- this.initTransform(e, t, n),
- this.initHierarchy()
- }
- function SVGRendererBase() {}
- function ICompElement() {}
- function SVGCompElement(e, t, n) {
- ;(this.layers = e.layers),
- (this.supports3d = !0),
- (this.completeLayers = !1),
- (this.pendingElements = []),
- (this.elements = this.layers ? createSizedArray(this.layers.length) : []),
- this.initElement(e, t, n),
- (this.tm = e.tm
- ? PropertyFactory.getProp(this, e.tm, 0, t.frameRate, this)
- : { _placeholder: !0 })
- }
- function SVGRenderer(e, t) {
- ;(this.animationItem = e),
- (this.layers = null),
- (this.renderedFrame = -1),
- (this.svgElement = createNS('svg'))
- var n = ''
- if (t && t.title) {
- var r = createNS('title'),
- a = createElementID()
- r.setAttribute('id', a),
- (r.textContent = t.title),
- this.svgElement.appendChild(r),
- (n += a)
- }
- if (t && t.description) {
- var o = createNS('desc'),
- i = createElementID()
- o.setAttribute('id', i),
- (o.textContent = t.description),
- this.svgElement.appendChild(o),
- (n += ' ' + i)
- }
- n && this.svgElement.setAttribute('aria-labelledby', n)
- var s = createNS('defs')
- this.svgElement.appendChild(s)
- var l = createNS('g')
- this.svgElement.appendChild(l),
- (this.layerElement = l),
- (this.renderConfig = {
- preserveAspectRatio: (t && t.preserveAspectRatio) || 'xMidYMid meet',
- imagePreserveAspectRatio:
- (t && t.imagePreserveAspectRatio) || 'xMidYMid slice',
- contentVisibility: (t && t.contentVisibility) || 'visible',
- progressiveLoad: (t && t.progressiveLoad) || !1,
- hideOnTransparent: !(t && !1 === t.hideOnTransparent),
- viewBoxOnly: (t && t.viewBoxOnly) || !1,
- viewBoxSize: (t && t.viewBoxSize) || !1,
- className: (t && t.className) || '',
- id: (t && t.id) || '',
- focusable: t && t.focusable,
- filterSize: {
- width: (t && t.filterSize && t.filterSize.width) || '100%',
- height: (t && t.filterSize && t.filterSize.height) || '100%',
- x: (t && t.filterSize && t.filterSize.x) || '0%',
- y: (t && t.filterSize && t.filterSize.y) || '0%'
- },
- width: t && t.width,
- height: t && t.height
- }),
- (this.globalData = {
- _mdf: !1,
- frameNum: -1,
- defs: s,
- renderConfig: this.renderConfig
- }),
- (this.elements = []),
- (this.pendingElements = []),
- (this.destroyed = !1),
- (this.rendererType = 'svg')
- }
- function CVContextData() {
- var e
- for (
- this.saved = [],
- this.cArrPos = 0,
- this.cTr = new Matrix(),
- this.cO = 1,
- this.savedOp = createTypedArray('float32', 15),
- e = 0;
- e < 15;
- e += 1
- )
- this.saved[e] = createTypedArray('float32', 16)
- this._length = 15
- }
- function ShapeTransformManager() {
- ;(this.sequences = {}), (this.sequenceList = []), (this.transform_key_count = 0)
- }
- function CVEffects() {}
- function CVMaskElement(e, t) {
- var n
- ;(this.data = e),
- (this.element = t),
- (this.masksProperties = this.data.masksProperties || []),
- (this.viewData = createSizedArray(this.masksProperties.length))
- var r = this.masksProperties.length,
- a = !1
- for (n = 0; n < r; n += 1)
- 'n' !== this.masksProperties[n].mode && (a = !0),
- (this.viewData[n] = ShapePropertyFactory.getShapeProp(
- this.element,
- this.masksProperties[n],
- 3
- ))
- ;(this.hasMasks = a), a && this.element.addRenderableComponent(this)
- }
- function CVBaseElement() {}
- function CVShapeData(e, t, n, r) {
- ;(this.styledShapes = []), (this.tr = [0, 0, 0, 0, 0, 0])
- var a,
- o = 4
- 'rc' === t.ty ? (o = 5) : 'el' === t.ty ? (o = 6) : 'sr' === t.ty && (o = 7),
- (this.sh = ShapePropertyFactory.getShapeProp(e, t, o, e))
- var i,
- s = n.length
- for (a = 0; a < s; a += 1)
- n[a].closed ||
- ((i = { transforms: r.addTransformSequence(n[a].transforms), trNodes: [] }),
- this.styledShapes.push(i),
- n[a].elements.push(i))
- }
- function CVShapeElement(e, t, n) {
- ;(this.shapes = []),
- (this.shapesData = e.shapes),
- (this.stylesList = []),
- (this.itemsData = []),
- (this.prevViewData = []),
- (this.shapeModifiers = []),
- (this.processedElements = []),
- (this.transformsManager = new ShapeTransformManager()),
- this.initElement(e, t, n)
- }
- function CVTextElement(e, t, n) {
- ;(this.textSpans = []),
- (this.yOffset = 0),
- (this.fillColorAnim = !1),
- (this.strokeColorAnim = !1),
- (this.strokeWidthAnim = !1),
- (this.stroke = !1),
- (this.fill = !1),
- (this.justifyOffset = 0),
- (this.currentRender = null),
- (this.renderType = 'canvas'),
- (this.values = {
- fill: 'rgba(0,0,0,0)',
- stroke: 'rgba(0,0,0,0)',
- sWidth: 0,
- fValue: ''
- }),
- this.initElement(e, t, n)
- }
- function CVImageElement(e, t, n) {
- ;(this.assetData = t.getAssetData(e.refId)),
- (this.img = t.imageLoader.getAsset(this.assetData)),
- this.initElement(e, t, n)
- }
- function CVSolidElement(e, t, n) {
- this.initElement(e, t, n)
- }
- function CanvasRendererBase(e, t) {
- ;(this.animationItem = e),
- (this.renderConfig = {
- clearCanvas: !t || void 0 === t.clearCanvas || t.clearCanvas,
- context: (t && t.context) || null,
- progressiveLoad: (t && t.progressiveLoad) || !1,
- preserveAspectRatio: (t && t.preserveAspectRatio) || 'xMidYMid meet',
- imagePreserveAspectRatio:
- (t && t.imagePreserveAspectRatio) || 'xMidYMid slice',
- contentVisibility: (t && t.contentVisibility) || 'visible',
- className: (t && t.className) || '',
- id: (t && t.id) || ''
- }),
- (this.renderConfig.dpr = (t && t.dpr) || 1),
- this.animationItem.wrapper &&
- (this.renderConfig.dpr = (t && t.dpr) || window.devicePixelRatio || 1),
- (this.renderedFrame = -1),
- (this.globalData = {
- frameNum: -1,
- _mdf: !1,
- renderConfig: this.renderConfig,
- currentGlobalAlpha: -1
- }),
- (this.contextData = new CVContextData()),
- (this.elements = []),
- (this.pendingElements = []),
- (this.transformMat = new Matrix()),
- (this.completeLayers = !1),
- (this.rendererType = 'canvas')
- }
- function CVCompElement(e, t, n) {
- ;(this.completeLayers = !1),
- (this.layers = e.layers),
- (this.pendingElements = []),
- (this.elements = createSizedArray(this.layers.length)),
- this.initElement(e, t, n),
- (this.tm = e.tm
- ? PropertyFactory.getProp(this, e.tm, 0, t.frameRate, this)
- : { _placeholder: !0 })
- }
- function CanvasRenderer(e, t) {
- ;(this.animationItem = e),
- (this.renderConfig = {
- clearCanvas: !t || void 0 === t.clearCanvas || t.clearCanvas,
- context: (t && t.context) || null,
- progressiveLoad: (t && t.progressiveLoad) || !1,
- preserveAspectRatio: (t && t.preserveAspectRatio) || 'xMidYMid meet',
- imagePreserveAspectRatio:
- (t && t.imagePreserveAspectRatio) || 'xMidYMid slice',
- contentVisibility: (t && t.contentVisibility) || 'visible',
- className: (t && t.className) || '',
- id: (t && t.id) || ''
- }),
- (this.renderConfig.dpr = (t && t.dpr) || 1),
- this.animationItem.wrapper &&
- (this.renderConfig.dpr = (t && t.dpr) || window.devicePixelRatio || 1),
- (this.renderedFrame = -1),
- (this.globalData = {
- frameNum: -1,
- _mdf: !1,
- renderConfig: this.renderConfig,
- currentGlobalAlpha: -1
- }),
- (this.contextData = new CVContextData()),
- (this.elements = []),
- (this.pendingElements = []),
- (this.transformMat = new Matrix()),
- (this.completeLayers = !1),
- (this.rendererType = 'canvas')
- }
- function HBaseElement() {}
- function HSolidElement(e, t, n) {
- this.initElement(e, t, n)
- }
- function HShapeElement(e, t, n) {
- ;(this.shapes = []),
- (this.shapesData = e.shapes),
- (this.stylesList = []),
- (this.shapeModifiers = []),
- (this.itemsData = []),
- (this.processedElements = []),
- (this.animatedContents = []),
- (this.shapesContainer = createNS('g')),
- this.initElement(e, t, n),
- (this.prevViewData = []),
- (this.currentBBox = { x: 999999, y: -999999, h: 0, w: 0 })
- }
- function HTextElement(e, t, n) {
- ;(this.textSpans = []),
- (this.textPaths = []),
- (this.currentBBox = { x: 999999, y: -999999, h: 0, w: 0 }),
- (this.renderType = 'svg'),
- (this.isMasked = !1),
- this.initElement(e, t, n)
- }
- function HCameraElement(e, t, n) {
- this.initFrame(), this.initBaseData(e, t, n), this.initHierarchy()
- var r = PropertyFactory.getProp
- if (
- ((this.pe = r(this, e.pe, 0, 0, this)),
- e.ks.p.s
- ? ((this.px = r(this, e.ks.p.x, 1, 0, this)),
- (this.py = r(this, e.ks.p.y, 1, 0, this)),
- (this.pz = r(this, e.ks.p.z, 1, 0, this)))
- : (this.p = r(this, e.ks.p, 1, 0, this)),
- e.ks.a && (this.a = r(this, e.ks.a, 1, 0, this)),
- e.ks.or.k.length && e.ks.or.k[0].to)
- ) {
- var a,
- o = e.ks.or.k.length
- for (a = 0; a < o; a += 1) (e.ks.or.k[a].to = null), (e.ks.or.k[a].ti = null)
- }
- ;(this.or = r(this, e.ks.or, 1, degToRads, this)),
- (this.or.sh = !0),
- (this.rx = r(this, e.ks.rx, 0, degToRads, this)),
- (this.ry = r(this, e.ks.ry, 0, degToRads, this)),
- (this.rz = r(this, e.ks.rz, 0, degToRads, this)),
- (this.mat = new Matrix()),
- (this._prevMat = new Matrix()),
- (this._isFirstFrame = !0),
- (this.finalTransform = { mProp: this })
- }
- function HImageElement(e, t, n) {
- ;(this.assetData = t.getAssetData(e.refId)), this.initElement(e, t, n)
- }
- function HybridRendererBase(e, t) {
- ;(this.animationItem = e),
- (this.layers = null),
- (this.renderedFrame = -1),
- (this.renderConfig = {
- className: (t && t.className) || '',
- imagePreserveAspectRatio:
- (t && t.imagePreserveAspectRatio) || 'xMidYMid slice',
- hideOnTransparent: !(t && !1 === t.hideOnTransparent),
- filterSize: {
- width: (t && t.filterSize && t.filterSize.width) || '400%',
- height: (t && t.filterSize && t.filterSize.height) || '400%',
- x: (t && t.filterSize && t.filterSize.x) || '-100%',
- y: (t && t.filterSize && t.filterSize.y) || '-100%'
- }
- }),
- (this.globalData = { _mdf: !1, frameNum: -1, renderConfig: this.renderConfig }),
- (this.pendingElements = []),
- (this.elements = []),
- (this.threeDElements = []),
- (this.destroyed = !1),
- (this.camera = null),
- (this.supports3d = !0),
- (this.rendererType = 'html')
- }
- function HCompElement(e, t, n) {
- ;(this.layers = e.layers),
- (this.supports3d = !e.hasMask),
- (this.completeLayers = !1),
- (this.pendingElements = []),
- (this.elements = this.layers ? createSizedArray(this.layers.length) : []),
- this.initElement(e, t, n),
- (this.tm = e.tm
- ? PropertyFactory.getProp(this, e.tm, 0, t.frameRate, this)
- : { _placeholder: !0 })
- }
- function HybridRenderer(e, t) {
- ;(this.animationItem = e),
- (this.layers = null),
- (this.renderedFrame = -1),
- (this.renderConfig = {
- className: (t && t.className) || '',
- imagePreserveAspectRatio:
- (t && t.imagePreserveAspectRatio) || 'xMidYMid slice',
- hideOnTransparent: !(t && !1 === t.hideOnTransparent),
- filterSize: {
- width: (t && t.filterSize && t.filterSize.width) || '400%',
- height: (t && t.filterSize && t.filterSize.height) || '400%',
- x: (t && t.filterSize && t.filterSize.x) || '-100%',
- y: (t && t.filterSize && t.filterSize.y) || '-100%'
- }
- }),
- (this.globalData = { _mdf: !1, frameNum: -1, renderConfig: this.renderConfig }),
- (this.pendingElements = []),
- (this.elements = []),
- (this.threeDElements = []),
- (this.destroyed = !1),
- (this.camera = null),
- (this.supports3d = !0),
- (this.rendererType = 'html')
- }
- extendPrototype(
- [
- BaseElement,
- TransformElement,
- SVGBaseElement,
- HierarchyElement,
- FrameElement,
- RenderableDOMElement,
- ITextElement
- ],
- SVGTextLottieElement
- ),
- (SVGTextLottieElement.prototype.createContent = function () {
- this.data.singleShape &&
- !this.globalData.fontManager.chars &&
- (this.textContainer = createNS('text'))
- }),
- (SVGTextLottieElement.prototype.buildTextContents = function (e) {
- for (var t = 0, n = e.length, r = [], a = ''; t < n; )
- e[t] === String.fromCharCode(13) || e[t] === String.fromCharCode(3)
- ? (r.push(a), (a = ''))
- : (a += e[t]),
- (t += 1)
- return r.push(a), r
- }),
- (SVGTextLottieElement.prototype.buildShapeData = function (e, t) {
- if (e.shapes && e.shapes.length) {
- var n = e.shapes[0]
- if (n.it) {
- var r = n.it[n.it.length - 1]
- r.s && ((r.s.k[0] = t), (r.s.k[1] = t))
- }
- }
- return e
- }),
- (SVGTextLottieElement.prototype.buildNewText = function () {
- var e, t
- this.addDynamicProperty(this)
- var n = this.textProperty.currentData
- ;(this.renderedLetters = createSizedArray(n ? n.l.length : 0)),
- n.fc
- ? this.layerElement.setAttribute('fill', this.buildColor(n.fc))
- : this.layerElement.setAttribute('fill', 'rgba(0,0,0,0)'),
- n.sc &&
- (this.layerElement.setAttribute('stroke', this.buildColor(n.sc)),
- this.layerElement.setAttribute('stroke-width', n.sw)),
- this.layerElement.setAttribute('font-size', n.finalSize)
- var r = this.globalData.fontManager.getFontByName(n.f)
- if (r.fClass) this.layerElement.setAttribute('class', r.fClass)
- else {
- this.layerElement.setAttribute('font-family', r.fFamily)
- var a = n.fWeight,
- o = n.fStyle
- this.layerElement.setAttribute('font-style', o),
- this.layerElement.setAttribute('font-weight', a)
- }
- this.layerElement.setAttribute('aria-label', n.t)
- var i,
- s = n.l || [],
- l = !!this.globalData.fontManager.chars
- t = s.length
- var c = this.mHelper,
- u = this.data.singleShape,
- p = 0,
- d = 0,
- f = !0,
- h = 0.001 * n.tr * n.finalSize
- if (!u || l || n.sz) {
- var v,
- m = this.textSpans.length
- for (e = 0; e < t; e += 1) {
- if (
- (this.textSpans[e] ||
- (this.textSpans[e] = { span: null, childSpan: null, glyph: null }),
- !l || !u || 0 === e)
- ) {
- if (
- ((i = m > e ? this.textSpans[e].span : createNS(l ? 'g' : 'text')),
- m <= e)
- ) {
- if (
- (i.setAttribute('stroke-linecap', 'butt'),
- i.setAttribute('stroke-linejoin', 'round'),
- i.setAttribute('stroke-miterlimit', '4'),
- (this.textSpans[e].span = i),
- l)
- ) {
- var g = createNS('g')
- i.appendChild(g), (this.textSpans[e].childSpan = g)
- }
- ;(this.textSpans[e].span = i), this.layerElement.appendChild(i)
- }
- i.style.display = 'inherit'
- }
- if (
- (c.reset(),
- u &&
- (s[e].n && ((p = -h), (d += n.yOffset), (d += f ? 1 : 0), (f = !1)),
- this.applyTextPropertiesToMatrix(n, c, s[e].line, p, d),
- (p += s[e].l || 0),
- (p += h)),
- l)
- ) {
- var y
- if (
- 1 ===
- (v = this.globalData.fontManager.getCharData(
- n.finalText[e],
- r.fStyle,
- this.globalData.fontManager.getFontByName(n.f).fFamily
- )).t
- )
- y = new SVGCompElement(v.data, this.globalData, this)
- else {
- var b = emptyShapeData
- v.data &&
- v.data.shapes &&
- (b = this.buildShapeData(v.data, n.finalSize)),
- (y = new SVGShapeElement(b, this.globalData, this))
- }
- if (this.textSpans[e].glyph) {
- var _ = this.textSpans[e].glyph
- this.textSpans[e].childSpan.removeChild(_.layerElement), _.destroy()
- }
- ;(this.textSpans[e].glyph = y),
- (y._debug = !0),
- y.prepareFrame(0),
- y.renderFrame(),
- this.textSpans[e].childSpan.appendChild(y.layerElement),
- 1 === v.t &&
- this.textSpans[e].childSpan.setAttribute(
- 'transform',
- 'scale(' + n.finalSize / 100 + ',' + n.finalSize / 100 + ')'
- )
- } else
- u &&
- i.setAttribute(
- 'transform',
- 'translate(' + c.props[12] + ',' + c.props[13] + ')'
- ),
- (i.textContent = s[e].val),
- i.setAttributeNS(
- 'http://www.w3.org/XML/1998/namespace',
- 'xml:space',
- 'preserve'
- )
- }
- u && i && i.setAttribute('d', '')
- } else {
- var A = this.textContainer,
- x = 'start'
- switch (n.j) {
- case 1:
- x = 'end'
- break
- case 2:
- x = 'middle'
- break
- default:
- x = 'start'
- }
- A.setAttribute('text-anchor', x), A.setAttribute('letter-spacing', h)
- var w = this.buildTextContents(n.finalText)
- for (t = w.length, d = n.ps ? n.ps[1] + n.ascent : 0, e = 0; e < t; e += 1)
- ((i = this.textSpans[e].span || createNS('tspan')).textContent = w[e]),
- i.setAttribute('x', 0),
- i.setAttribute('y', d),
- (i.style.display = 'inherit'),
- A.appendChild(i),
- this.textSpans[e] || (this.textSpans[e] = { span: null, glyph: null }),
- (this.textSpans[e].span = i),
- (d += n.finalLineHeight)
- this.layerElement.appendChild(A)
- }
- for (; e < this.textSpans.length; )
- (this.textSpans[e].span.style.display = 'none'), (e += 1)
- this._sizeChanged = !0
- }),
- (SVGTextLottieElement.prototype.sourceRectAtTime = function () {
- if (
- (this.prepareFrame(this.comp.renderedFrame - this.data.st),
- this.renderInnerContent(),
- this._sizeChanged)
- ) {
- this._sizeChanged = !1
- var e = this.layerElement.getBBox()
- this.bbox = { top: e.y, left: e.x, width: e.width, height: e.height }
- }
- return this.bbox
- }),
- (SVGTextLottieElement.prototype.getValue = function () {
- var e,
- t,
- n = this.textSpans.length
- for (this.renderedFrame = this.comp.renderedFrame, e = 0; e < n; e += 1)
- (t = this.textSpans[e].glyph) &&
- (t.prepareFrame(this.comp.renderedFrame - this.data.st),
- t._mdf && (this._mdf = !0))
- }),
- (SVGTextLottieElement.prototype.renderInnerContent = function () {
- if (
- (!this.data.singleShape || this._mdf) &&
- (this.textAnimator.getMeasures(
- this.textProperty.currentData,
- this.lettersChangedFlag
- ),
- this.lettersChangedFlag || this.textAnimator.lettersChangedFlag)
- ) {
- var e, t
- this._sizeChanged = !0
- var n,
- r,
- a,
- o = this.textAnimator.renderedLetters,
- i = this.textProperty.currentData.l
- for (t = i.length, e = 0; e < t; e += 1)
- i[e].n ||
- ((n = o[e]),
- (r = this.textSpans[e].span),
- (a = this.textSpans[e].glyph) && a.renderFrame(),
- n._mdf.m && r.setAttribute('transform', n.m),
- n._mdf.o && r.setAttribute('opacity', n.o),
- n._mdf.sw && r.setAttribute('stroke-width', n.sw),
- n._mdf.sc && r.setAttribute('stroke', n.sc),
- n._mdf.fc && r.setAttribute('fill', n.fc))
- }
- }),
- extendPrototype([IImageElement], ISolidElement),
- (ISolidElement.prototype.createContent = function () {
- var e = createNS('rect')
- e.setAttribute('width', this.data.sw),
- e.setAttribute('height', this.data.sh),
- e.setAttribute('fill', this.data.sc),
- this.layerElement.appendChild(e)
- }),
- (NullElement.prototype.prepareFrame = function (e) {
- this.prepareProperties(e, !0)
- }),
- (NullElement.prototype.renderFrame = function () {}),
- (NullElement.prototype.getBaseElement = function () {
- return null
- }),
- (NullElement.prototype.destroy = function () {}),
- (NullElement.prototype.sourceRectAtTime = function () {}),
- (NullElement.prototype.hide = function () {}),
- extendPrototype(
- [BaseElement, TransformElement, HierarchyElement, FrameElement],
- NullElement
- ),
- extendPrototype([BaseRenderer], SVGRendererBase),
- (SVGRendererBase.prototype.createNull = function (e) {
- return new NullElement(e, this.globalData, this)
- }),
- (SVGRendererBase.prototype.createShape = function (e) {
- return new SVGShapeElement(e, this.globalData, this)
- }),
- (SVGRendererBase.prototype.createText = function (e) {
- return new SVGTextLottieElement(e, this.globalData, this)
- }),
- (SVGRendererBase.prototype.createImage = function (e) {
- return new IImageElement(e, this.globalData, this)
- }),
- (SVGRendererBase.prototype.createSolid = function (e) {
- return new ISolidElement(e, this.globalData, this)
- }),
- (SVGRendererBase.prototype.configAnimation = function (e) {
- this.svgElement.setAttribute('xmlns', 'http://www.w3.org/2000/svg'),
- this.renderConfig.viewBoxSize
- ? this.svgElement.setAttribute('viewBox', this.renderConfig.viewBoxSize)
- : this.svgElement.setAttribute('viewBox', '0 0 ' + e.w + ' ' + e.h),
- this.renderConfig.viewBoxOnly ||
- (this.svgElement.setAttribute('width', e.w),
- this.svgElement.setAttribute('height', e.h),
- (this.svgElement.style.width = '100%'),
- (this.svgElement.style.height = '100%'),
- (this.svgElement.style.transform = 'translate3d(0,0,0)'),
- (this.svgElement.style.contentVisibility =
- this.renderConfig.contentVisibility)),
- this.renderConfig.width &&
- this.svgElement.setAttribute('width', this.renderConfig.width),
- this.renderConfig.height &&
- this.svgElement.setAttribute('height', this.renderConfig.height),
- this.renderConfig.className &&
- this.svgElement.setAttribute('class', this.renderConfig.className),
- this.renderConfig.id &&
- this.svgElement.setAttribute('id', this.renderConfig.id),
- void 0 !== this.renderConfig.focusable &&
- this.svgElement.setAttribute('focusable', this.renderConfig.focusable),
- this.svgElement.setAttribute(
- 'preserveAspectRatio',
- this.renderConfig.preserveAspectRatio
- ),
- this.animationItem.wrapper.appendChild(this.svgElement)
- var t = this.globalData.defs
- this.setupGlobalData(e, t),
- (this.globalData.progressiveLoad = this.renderConfig.progressiveLoad),
- (this.data = e)
- var n = createNS('clipPath'),
- r = createNS('rect')
- r.setAttribute('width', e.w),
- r.setAttribute('height', e.h),
- r.setAttribute('x', 0),
- r.setAttribute('y', 0)
- var a = createElementID()
- n.setAttribute('id', a),
- n.appendChild(r),
- this.layerElement.setAttribute(
- 'clip-path',
- 'url(' + getLocationHref() + '#' + a + ')'
- ),
- t.appendChild(n),
- (this.layers = e.layers),
- (this.elements = createSizedArray(e.layers.length))
- }),
- (SVGRendererBase.prototype.destroy = function () {
- var e
- this.animationItem.wrapper && (this.animationItem.wrapper.innerText = ''),
- (this.layerElement = null),
- (this.globalData.defs = null)
- var t = this.layers ? this.layers.length : 0
- for (e = 0; e < t; e += 1) this.elements[e] && this.elements[e].destroy()
- ;(this.elements.length = 0), (this.destroyed = !0), (this.animationItem = null)
- }),
- (SVGRendererBase.prototype.updateContainerSize = function () {}),
- (SVGRendererBase.prototype.buildItem = function (e) {
- var t = this.elements
- if (!t[e] && 99 !== this.layers[e].ty) {
- t[e] = !0
- var n = this.createItem(this.layers[e])
- ;(t[e] = n),
- getExpressionsPlugin() &&
- (0 === this.layers[e].ty &&
- this.globalData.projectInterface.registerComposition(n),
- n.initExpressions()),
- this.appendElementInPos(n, e),
- this.layers[e].tt &&
- (this.elements[e - 1] && !0 !== this.elements[e - 1]
- ? n.setMatte(t[e - 1].layerId)
- : (this.buildItem(e - 1), this.addPendingElement(n)))
- }
- }),
- (SVGRendererBase.prototype.checkPendingElements = function () {
- for (; this.pendingElements.length; ) {
- var e = this.pendingElements.pop()
- if ((e.checkParenting(), e.data.tt))
- for (var t = 0, n = this.elements.length; t < n; ) {
- if (this.elements[t] === e) {
- e.setMatte(this.elements[t - 1].layerId)
- break
- }
- t += 1
- }
- }
- }),
- (SVGRendererBase.prototype.renderFrame = function (e) {
- if (this.renderedFrame !== e && !this.destroyed) {
- var t
- null === e ? (e = this.renderedFrame) : (this.renderedFrame = e),
- (this.globalData.frameNum = e),
- (this.globalData.frameId += 1),
- (this.globalData.projectInterface.currentFrame = e),
- (this.globalData._mdf = !1)
- var n = this.layers.length
- for (this.completeLayers || this.checkLayers(e), t = n - 1; t >= 0; t -= 1)
- (this.completeLayers || this.elements[t]) &&
- this.elements[t].prepareFrame(e - this.layers[t].st)
- if (this.globalData._mdf)
- for (t = 0; t < n; t += 1)
- (this.completeLayers || this.elements[t]) &&
- this.elements[t].renderFrame()
- }
- }),
- (SVGRendererBase.prototype.appendElementInPos = function (e, t) {
- var n = e.getBaseElement()
- if (n) {
- for (var r, a = 0; a < t; )
- this.elements[a] &&
- !0 !== this.elements[a] &&
- this.elements[a].getBaseElement() &&
- (r = this.elements[a].getBaseElement()),
- (a += 1)
- r ? this.layerElement.insertBefore(n, r) : this.layerElement.appendChild(n)
- }
- }),
- (SVGRendererBase.prototype.hide = function () {
- this.layerElement.style.display = 'none'
- }),
- (SVGRendererBase.prototype.show = function () {
- this.layerElement.style.display = 'block'
- }),
- extendPrototype(
- [
- BaseElement,
- TransformElement,
- HierarchyElement,
- FrameElement,
- RenderableDOMElement
- ],
- ICompElement
- ),
- (ICompElement.prototype.initElement = function (e, t, n) {
- this.initFrame(),
- this.initBaseData(e, t, n),
- this.initTransform(e, t, n),
- this.initRenderable(),
- this.initHierarchy(),
- this.initRendererElement(),
- this.createContainerElements(),
- this.createRenderableComponents(),
- (!this.data.xt && t.progressiveLoad) || this.buildAllItems(),
- this.hide()
- }),
- (ICompElement.prototype.prepareFrame = function (e) {
- if (
- ((this._mdf = !1),
- this.prepareRenderableFrame(e),
- this.prepareProperties(e, this.isInRange),
- this.isInRange || this.data.xt)
- ) {
- if (this.tm._placeholder) this.renderedFrame = e / this.data.sr
- else {
- var t = this.tm.v
- t === this.data.op && (t = this.data.op - 1), (this.renderedFrame = t)
- }
- var n,
- r = this.elements.length
- for (
- this.completeLayers || this.checkLayers(this.renderedFrame), n = r - 1;
- n >= 0;
- n -= 1
- )
- (this.completeLayers || this.elements[n]) &&
- (this.elements[n].prepareFrame(this.renderedFrame - this.layers[n].st),
- this.elements[n]._mdf && (this._mdf = !0))
- }
- }),
- (ICompElement.prototype.renderInnerContent = function () {
- var e,
- t = this.layers.length
- for (e = 0; e < t; e += 1)
- (this.completeLayers || this.elements[e]) && this.elements[e].renderFrame()
- }),
- (ICompElement.prototype.setElements = function (e) {
- this.elements = e
- }),
- (ICompElement.prototype.getElements = function () {
- return this.elements
- }),
- (ICompElement.prototype.destroyElements = function () {
- var e,
- t = this.layers.length
- for (e = 0; e < t; e += 1) this.elements[e] && this.elements[e].destroy()
- }),
- (ICompElement.prototype.destroy = function () {
- this.destroyElements(), this.destroyBaseElement()
- }),
- extendPrototype([SVGRendererBase, ICompElement, SVGBaseElement], SVGCompElement),
- (SVGCompElement.prototype.createComp = function (e) {
- return new SVGCompElement(e, this.globalData, this)
- }),
- extendPrototype([SVGRendererBase], SVGRenderer),
- (SVGRenderer.prototype.createComp = function (e) {
- return new SVGCompElement(e, this.globalData, this)
- }),
- (CVContextData.prototype.duplicate = function () {
- var e = 2 * this._length,
- t = this.savedOp
- ;(this.savedOp = createTypedArray('float32', e)), this.savedOp.set(t)
- var n = 0
- for (n = this._length; n < e; n += 1)
- this.saved[n] = createTypedArray('float32', 16)
- this._length = e
- }),
- (CVContextData.prototype.reset = function () {
- ;(this.cArrPos = 0), this.cTr.reset(), (this.cO = 1)
- }),
- (ShapeTransformManager.prototype = {
- addTransformSequence: function (e) {
- var t,
- n = e.length,
- r = '_'
- for (t = 0; t < n; t += 1) r += e[t].transform.key + '_'
- var a = this.sequences[r]
- return (
- a ||
- ((a = {
- transforms: [].concat(e),
- finalTransform: new Matrix(),
- _mdf: !1
- }),
- (this.sequences[r] = a),
- this.sequenceList.push(a)),
- a
- )
- },
- processSequence: function (e, t) {
- for (var n, r = 0, a = e.transforms.length, o = t; r < a && !t; ) {
- if (e.transforms[r].transform.mProps._mdf) {
- o = !0
- break
- }
- r += 1
- }
- if (o)
- for (e.finalTransform.reset(), r = a - 1; r >= 0; r -= 1)
- (n = e.transforms[r].transform.mProps.v.props),
- e.finalTransform.transform(
- n[0],
- n[1],
- n[2],
- n[3],
- n[4],
- n[5],
- n[6],
- n[7],
- n[8],
- n[9],
- n[10],
- n[11],
- n[12],
- n[13],
- n[14],
- n[15]
- )
- e._mdf = o
- },
- processSequences: function (e) {
- var t,
- n = this.sequenceList.length
- for (t = 0; t < n; t += 1) this.processSequence(this.sequenceList[t], e)
- },
- getNewKey: function () {
- return (this.transform_key_count += 1), '_' + this.transform_key_count
- }
- }),
- (CVEffects.prototype.renderFrame = function () {}),
- (CVMaskElement.prototype.renderFrame = function () {
- if (this.hasMasks) {
- var e,
- t,
- n,
- r,
- a = this.element.finalTransform.mat,
- o = this.element.canvasContext,
- i = this.masksProperties.length
- for (o.beginPath(), e = 0; e < i; e += 1)
- if ('n' !== this.masksProperties[e].mode) {
- var s
- this.masksProperties[e].inv &&
- (o.moveTo(0, 0),
- o.lineTo(this.element.globalData.compSize.w, 0),
- o.lineTo(
- this.element.globalData.compSize.w,
- this.element.globalData.compSize.h
- ),
- o.lineTo(0, this.element.globalData.compSize.h),
- o.lineTo(0, 0)),
- (r = this.viewData[e].v),
- (t = a.applyToPointArray(r.v[0][0], r.v[0][1], 0)),
- o.moveTo(t[0], t[1])
- var l = r._length
- for (s = 1; s < l; s += 1)
- (n = a.applyToTriplePoints(r.o[s - 1], r.i[s], r.v[s])),
- o.bezierCurveTo(n[0], n[1], n[2], n[3], n[4], n[5])
- ;(n = a.applyToTriplePoints(r.o[s - 1], r.i[0], r.v[0])),
- o.bezierCurveTo(n[0], n[1], n[2], n[3], n[4], n[5])
- }
- this.element.globalData.renderer.save(!0), o.clip()
- }
- }),
- (CVMaskElement.prototype.getMaskProperty = MaskElement.prototype.getMaskProperty),
- (CVMaskElement.prototype.destroy = function () {
- this.element = null
- }),
- (CVBaseElement.prototype = {
- createElements: function () {},
- initRendererElement: function () {},
- createContainerElements: function () {
- ;(this.canvasContext = this.globalData.canvasContext),
- (this.renderableEffectsManager = new CVEffects())
- },
- createContent: function () {},
- setBlendMode: function () {
- var e = this.globalData
- if (e.blendMode !== this.data.bm) {
- e.blendMode = this.data.bm
- var t = getBlendMode(this.data.bm)
- e.canvasContext.globalCompositeOperation = t
- }
- },
- createRenderableComponents: function () {
- this.maskManager = new CVMaskElement(this.data, this)
- },
- hideElement: function () {
- this.hidden || (this.isInRange && !this.isTransparent) || (this.hidden = !0)
- },
- showElement: function () {
- this.isInRange &&
- !this.isTransparent &&
- ((this.hidden = !1),
- (this._isFirstFrame = !0),
- (this.maskManager._isFirstFrame = !0))
- },
- renderFrame: function () {
- if (!this.hidden && !this.data.hd) {
- this.renderTransform(), this.renderRenderable(), this.setBlendMode()
- var e = 0 === this.data.ty
- this.globalData.renderer.save(e),
- this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),
- this.globalData.renderer.ctxOpacity(this.finalTransform.mProp.o.v),
- this.renderInnerContent(),
- this.globalData.renderer.restore(e),
- this.maskManager.hasMasks && this.globalData.renderer.restore(!0),
- this._isFirstFrame && (this._isFirstFrame = !1)
- }
- },
- destroy: function () {
- ;(this.canvasContext = null),
- (this.data = null),
- (this.globalData = null),
- this.maskManager.destroy()
- },
- mHelper: new Matrix()
- }),
- (CVBaseElement.prototype.hide = CVBaseElement.prototype.hideElement),
- (CVBaseElement.prototype.show = CVBaseElement.prototype.showElement),
- (CVShapeData.prototype.setAsAnimated = SVGShapeData.prototype.setAsAnimated),
- extendPrototype(
- [
- BaseElement,
- TransformElement,
- CVBaseElement,
- IShapeElement,
- HierarchyElement,
- FrameElement,
- RenderableElement
- ],
- CVShapeElement
- ),
- (CVShapeElement.prototype.initElement =
- RenderableDOMElement.prototype.initElement),
- (CVShapeElement.prototype.transformHelper = { opacity: 1, _opMdf: !1 }),
- (CVShapeElement.prototype.dashResetter = []),
- (CVShapeElement.prototype.createContent = function () {
- this.searchShapes(this.shapesData, this.itemsData, this.prevViewData, !0, [])
- }),
- (CVShapeElement.prototype.createStyleElement = function (e, t) {
- var n = {
- data: e,
- type: e.ty,
- preTransforms: this.transformsManager.addTransformSequence(t),
- transforms: [],
- elements: [],
- closed: !0 === e.hd
- },
- r = {}
- if (
- ('fl' === e.ty || 'st' === e.ty
- ? ((r.c = PropertyFactory.getProp(this, e.c, 1, 255, this)),
- r.c.k ||
- (n.co =
- 'rgb(' +
- bmFloor(r.c.v[0]) +
- ',' +
- bmFloor(r.c.v[1]) +
- ',' +
- bmFloor(r.c.v[2]) +
- ')'))
- : ('gf' !== e.ty && 'gs' !== e.ty) ||
- ((r.s = PropertyFactory.getProp(this, e.s, 1, null, this)),
- (r.e = PropertyFactory.getProp(this, e.e, 1, null, this)),
- (r.h = PropertyFactory.getProp(this, e.h || { k: 0 }, 0, 0.01, this)),
- (r.a = PropertyFactory.getProp(
- this,
- e.a || { k: 0 },
- 0,
- degToRads,
- this
- )),
- (r.g = new GradientProperty(this, e.g, this))),
- (r.o = PropertyFactory.getProp(this, e.o, 0, 0.01, this)),
- 'st' === e.ty || 'gs' === e.ty)
- ) {
- if (
- ((n.lc = lineCapEnum[e.lc || 2]),
- (n.lj = lineJoinEnum[e.lj || 2]),
- 1 == e.lj && (n.ml = e.ml),
- (r.w = PropertyFactory.getProp(this, e.w, 0, null, this)),
- r.w.k || (n.wi = r.w.v),
- e.d)
- ) {
- var a = new DashProperty(this, e.d, 'canvas', this)
- ;(r.d = a), r.d.k || ((n.da = r.d.dashArray), (n.do = r.d.dashoffset[0]))
- }
- } else n.r = 2 === e.r ? 'evenodd' : 'nonzero'
- return this.stylesList.push(n), (r.style = n), r
- }),
- (CVShapeElement.prototype.createGroupElement = function () {
- return { it: [], prevViewData: [] }
- }),
- (CVShapeElement.prototype.createTransformElement = function (e) {
- return {
- transform: {
- opacity: 1,
- _opMdf: !1,
- key: this.transformsManager.getNewKey(),
- op: PropertyFactory.getProp(this, e.o, 0, 0.01, this),
- mProps: TransformPropertyFactory.getTransformProperty(this, e, this)
- }
- }
- }),
- (CVShapeElement.prototype.createShapeElement = function (e) {
- var t = new CVShapeData(this, e, this.stylesList, this.transformsManager)
- return this.shapes.push(t), this.addShapeToModifiers(t), t
- }),
- (CVShapeElement.prototype.reloadShapes = function () {
- var e
- this._isFirstFrame = !0
- var t = this.itemsData.length
- for (e = 0; e < t; e += 1) this.prevViewData[e] = this.itemsData[e]
- for (
- this.searchShapes(this.shapesData, this.itemsData, this.prevViewData, !0, []),
- t = this.dynamicProperties.length,
- e = 0;
- e < t;
- e += 1
- )
- this.dynamicProperties[e].getValue()
- this.renderModifiers(),
- this.transformsManager.processSequences(this._isFirstFrame)
- }),
- (CVShapeElement.prototype.addTransformToStyleList = function (e) {
- var t,
- n = this.stylesList.length
- for (t = 0; t < n; t += 1)
- this.stylesList[t].closed || this.stylesList[t].transforms.push(e)
- }),
- (CVShapeElement.prototype.removeTransformFromStyleList = function () {
- var e,
- t = this.stylesList.length
- for (e = 0; e < t; e += 1)
- this.stylesList[e].closed || this.stylesList[e].transforms.pop()
- }),
- (CVShapeElement.prototype.closeStyles = function (e) {
- var t,
- n = e.length
- for (t = 0; t < n; t += 1) e[t].closed = !0
- }),
- (CVShapeElement.prototype.searchShapes = function (e, t, n, r, a) {
- var o,
- i,
- s,
- l,
- c,
- u,
- p = e.length - 1,
- d = [],
- f = [],
- h = [].concat(a)
- for (o = p; o >= 0; o -= 1) {
- if (
- ((l = this.searchProcessedElement(e[o]))
- ? (t[o] = n[l - 1])
- : (e[o]._shouldRender = r),
- 'fl' === e[o].ty ||
- 'st' === e[o].ty ||
- 'gf' === e[o].ty ||
- 'gs' === e[o].ty)
- )
- l ? (t[o].style.closed = !1) : (t[o] = this.createStyleElement(e[o], h)),
- d.push(t[o].style)
- else if ('gr' === e[o].ty) {
- if (l)
- for (s = t[o].it.length, i = 0; i < s; i += 1)
- t[o].prevViewData[i] = t[o].it[i]
- else t[o] = this.createGroupElement(e[o])
- this.searchShapes(e[o].it, t[o].it, t[o].prevViewData, r, h)
- } else
- 'tr' === e[o].ty
- ? (l || ((u = this.createTransformElement(e[o])), (t[o] = u)),
- h.push(t[o]),
- this.addTransformToStyleList(t[o]))
- : 'sh' === e[o].ty ||
- 'rc' === e[o].ty ||
- 'el' === e[o].ty ||
- 'sr' === e[o].ty
- ? l || (t[o] = this.createShapeElement(e[o]))
- : 'tm' === e[o].ty || 'rd' === e[o].ty || 'pb' === e[o].ty
- ? (l
- ? ((c = t[o]).closed = !1)
- : ((c = ShapeModifiers.getModifier(e[o].ty)).init(this, e[o]),
- (t[o] = c),
- this.shapeModifiers.push(c)),
- f.push(c))
- : 'rp' === e[o].ty &&
- (l
- ? ((c = t[o]).closed = !0)
- : ((c = ShapeModifiers.getModifier(e[o].ty)),
- (t[o] = c),
- c.init(this, e, o, t),
- this.shapeModifiers.push(c),
- (r = !1)),
- f.push(c))
- this.addProcessedElement(e[o], o + 1)
- }
- for (
- this.removeTransformFromStyleList(), this.closeStyles(d), p = f.length, o = 0;
- o < p;
- o += 1
- )
- f[o].closed = !0
- }),
- (CVShapeElement.prototype.renderInnerContent = function () {
- ;(this.transformHelper.opacity = 1),
- (this.transformHelper._opMdf = !1),
- this.renderModifiers(),
- this.transformsManager.processSequences(this._isFirstFrame),
- this.renderShape(this.transformHelper, this.shapesData, this.itemsData, !0)
- }),
- (CVShapeElement.prototype.renderShapeTransform = function (e, t) {
- ;(e._opMdf || t.op._mdf || this._isFirstFrame) &&
- ((t.opacity = e.opacity), (t.opacity *= t.op.v), (t._opMdf = !0))
- }),
- (CVShapeElement.prototype.drawLayer = function () {
- var e,
- t,
- n,
- r,
- a,
- o,
- i,
- s,
- l,
- c = this.stylesList.length,
- u = this.globalData.renderer,
- p = this.globalData.canvasContext
- for (e = 0; e < c; e += 1)
- if (
- (('st' !== (s = (l = this.stylesList[e]).type) && 'gs' !== s) ||
- 0 !== l.wi) &&
- l.data._shouldRender &&
- 0 !== l.coOp &&
- 0 !== this.globalData.currentGlobalAlpha
- ) {
- for (
- u.save(),
- o = l.elements,
- 'st' === s || 'gs' === s
- ? ((p.strokeStyle = 'st' === s ? l.co : l.grd),
- (p.lineWidth = l.wi),
- (p.lineCap = l.lc),
- (p.lineJoin = l.lj),
- (p.miterLimit = l.ml || 0))
- : (p.fillStyle = 'fl' === s ? l.co : l.grd),
- u.ctxOpacity(l.coOp),
- 'st' !== s && 'gs' !== s && p.beginPath(),
- u.ctxTransform(l.preTransforms.finalTransform.props),
- n = o.length,
- t = 0;
- t < n;
- t += 1
- ) {
- for (
- ('st' !== s && 'gs' !== s) ||
- (p.beginPath(),
- l.da && (p.setLineDash(l.da), (p.lineDashOffset = l.do))),
- a = (i = o[t].trNodes).length,
- r = 0;
- r < a;
- r += 1
- )
- 'm' === i[r].t
- ? p.moveTo(i[r].p[0], i[r].p[1])
- : 'c' === i[r].t
- ? p.bezierCurveTo(
- i[r].pts[0],
- i[r].pts[1],
- i[r].pts[2],
- i[r].pts[3],
- i[r].pts[4],
- i[r].pts[5]
- )
- : p.closePath()
- ;('st' !== s && 'gs' !== s) ||
- (p.stroke(), l.da && p.setLineDash(this.dashResetter))
- }
- 'st' !== s && 'gs' !== s && p.fill(l.r), u.restore()
- }
- }),
- (CVShapeElement.prototype.renderShape = function (e, t, n, r) {
- var a, o
- for (o = e, a = t.length - 1; a >= 0; a -= 1)
- 'tr' === t[a].ty
- ? ((o = n[a].transform), this.renderShapeTransform(e, o))
- : 'sh' === t[a].ty ||
- 'el' === t[a].ty ||
- 'rc' === t[a].ty ||
- 'sr' === t[a].ty
- ? this.renderPath(t[a], n[a])
- : 'fl' === t[a].ty
- ? this.renderFill(t[a], n[a], o)
- : 'st' === t[a].ty
- ? this.renderStroke(t[a], n[a], o)
- : 'gf' === t[a].ty || 'gs' === t[a].ty
- ? this.renderGradientFill(t[a], n[a], o)
- : 'gr' === t[a].ty
- ? this.renderShape(o, t[a].it, n[a].it)
- : t[a].ty
- r && this.drawLayer()
- }),
- (CVShapeElement.prototype.renderStyledShape = function (e, t) {
- if (this._isFirstFrame || t._mdf || e.transforms._mdf) {
- var n,
- r,
- a,
- o = e.trNodes,
- i = t.paths,
- s = i._length
- o.length = 0
- var l = e.transforms.finalTransform
- for (a = 0; a < s; a += 1) {
- var c = i.shapes[a]
- if (c && c.v) {
- for (r = c._length, n = 1; n < r; n += 1)
- 1 === n &&
- o.push({ t: 'm', p: l.applyToPointArray(c.v[0][0], c.v[0][1], 0) }),
- o.push({
- t: 'c',
- pts: l.applyToTriplePoints(c.o[n - 1], c.i[n], c.v[n])
- })
- 1 === r &&
- o.push({ t: 'm', p: l.applyToPointArray(c.v[0][0], c.v[0][1], 0) }),
- c.c &&
- r &&
- (o.push({
- t: 'c',
- pts: l.applyToTriplePoints(c.o[n - 1], c.i[0], c.v[0])
- }),
- o.push({ t: 'z' }))
- }
- }
- e.trNodes = o
- }
- }),
- (CVShapeElement.prototype.renderPath = function (e, t) {
- if (!0 !== e.hd && e._shouldRender) {
- var n,
- r = t.styledShapes.length
- for (n = 0; n < r; n += 1) this.renderStyledShape(t.styledShapes[n], t.sh)
- }
- }),
- (CVShapeElement.prototype.renderFill = function (e, t, n) {
- var r = t.style
- ;(t.c._mdf || this._isFirstFrame) &&
- (r.co =
- 'rgb(' +
- bmFloor(t.c.v[0]) +
- ',' +
- bmFloor(t.c.v[1]) +
- ',' +
- bmFloor(t.c.v[2]) +
- ')'),
- (t.o._mdf || n._opMdf || this._isFirstFrame) && (r.coOp = t.o.v * n.opacity)
- }),
- (CVShapeElement.prototype.renderGradientFill = function (e, t, n) {
- var r,
- a = t.style
- if (
- !a.grd ||
- t.g._mdf ||
- t.s._mdf ||
- t.e._mdf ||
- (1 !== e.t && (t.h._mdf || t.a._mdf))
- ) {
- var o,
- i = this.globalData.canvasContext,
- s = t.s.v,
- l = t.e.v
- if (1 === e.t) r = i.createLinearGradient(s[0], s[1], l[0], l[1])
- else {
- var c = Math.sqrt(Math.pow(s[0] - l[0], 2) + Math.pow(s[1] - l[1], 2)),
- u = Math.atan2(l[1] - s[1], l[0] - s[0]),
- p = t.h.v
- p >= 1 ? (p = 0.99) : p <= -1 && (p = -0.99)
- var d = c * p,
- f = Math.cos(u + t.a.v) * d + s[0],
- h = Math.sin(u + t.a.v) * d + s[1]
- r = i.createRadialGradient(f, h, 0, s[0], s[1], c)
- }
- var v = e.g.p,
- m = t.g.c,
- g = 1
- for (o = 0; o < v; o += 1)
- t.g._hasOpacity && t.g._collapsable && (g = t.g.o[2 * o + 1]),
- r.addColorStop(
- m[4 * o] / 100,
- 'rgba(' +
- m[4 * o + 1] +
- ',' +
- m[4 * o + 2] +
- ',' +
- m[4 * o + 3] +
- ',' +
- g +
- ')'
- )
- a.grd = r
- }
- a.coOp = t.o.v * n.opacity
- }),
- (CVShapeElement.prototype.renderStroke = function (e, t, n) {
- var r = t.style,
- a = t.d
- a &&
- (a._mdf || this._isFirstFrame) &&
- ((r.da = a.dashArray), (r.do = a.dashoffset[0])),
- (t.c._mdf || this._isFirstFrame) &&
- (r.co =
- 'rgb(' +
- bmFloor(t.c.v[0]) +
- ',' +
- bmFloor(t.c.v[1]) +
- ',' +
- bmFloor(t.c.v[2]) +
- ')'),
- (t.o._mdf || n._opMdf || this._isFirstFrame) && (r.coOp = t.o.v * n.opacity),
- (t.w._mdf || this._isFirstFrame) && (r.wi = t.w.v)
- }),
- (CVShapeElement.prototype.destroy = function () {
- ;(this.shapesData = null),
- (this.globalData = null),
- (this.canvasContext = null),
- (this.stylesList.length = 0),
- (this.itemsData.length = 0)
- }),
- extendPrototype(
- [
- BaseElement,
- TransformElement,
- CVBaseElement,
- HierarchyElement,
- FrameElement,
- RenderableElement,
- ITextElement
- ],
- CVTextElement
- ),
- (CVTextElement.prototype.tHelper = createTag('canvas').getContext('2d')),
- (CVTextElement.prototype.buildNewText = function () {
- var e = this.textProperty.currentData
- this.renderedLetters = createSizedArray(e.l ? e.l.length : 0)
- var t = !1
- e.fc
- ? ((t = !0), (this.values.fill = this.buildColor(e.fc)))
- : (this.values.fill = 'rgba(0,0,0,0)'),
- (this.fill = t)
- var n = !1
- e.sc &&
- ((n = !0),
- (this.values.stroke = this.buildColor(e.sc)),
- (this.values.sWidth = e.sw))
- var r,
- a,
- o,
- i,
- s,
- l,
- c,
- u,
- p,
- d,
- f,
- h,
- v = this.globalData.fontManager.getFontByName(e.f),
- m = e.l,
- g = this.mHelper
- ;(this.stroke = n),
- (this.values.fValue =
- e.finalSize +
- 'px ' +
- this.globalData.fontManager.getFontByName(e.f).fFamily),
- (a = e.finalText.length)
- var y = this.data.singleShape,
- b = 0.001 * e.tr * e.finalSize,
- _ = 0,
- A = 0,
- x = !0,
- w = 0
- for (r = 0; r < a; r += 1) {
- ;(i =
- ((o = this.globalData.fontManager.getCharData(
- e.finalText[r],
- v.fStyle,
- this.globalData.fontManager.getFontByName(e.f).fFamily
- )) &&
- o.data) ||
- {}),
- g.reset(),
- y && m[r].n && ((_ = -b), (A += e.yOffset), (A += x ? 1 : 0), (x = !1)),
- (p = (c = i.shapes ? i.shapes[0].it : []).length),
- g.scale(e.finalSize / 100, e.finalSize / 100),
- y && this.applyTextPropertiesToMatrix(e, g, m[r].line, _, A),
- (f = createSizedArray(p - 1))
- var k = 0
- for (u = 0; u < p; u += 1)
- if ('sh' === c[u].ty) {
- for (l = c[u].ks.k.i.length, d = c[u].ks.k, h = [], s = 1; s < l; s += 1)
- 1 === s &&
- h.push(
- g.applyToX(d.v[0][0], d.v[0][1], 0),
- g.applyToY(d.v[0][0], d.v[0][1], 0)
- ),
- h.push(
- g.applyToX(d.o[s - 1][0], d.o[s - 1][1], 0),
- g.applyToY(d.o[s - 1][0], d.o[s - 1][1], 0),
- g.applyToX(d.i[s][0], d.i[s][1], 0),
- g.applyToY(d.i[s][0], d.i[s][1], 0),
- g.applyToX(d.v[s][0], d.v[s][1], 0),
- g.applyToY(d.v[s][0], d.v[s][1], 0)
- )
- h.push(
- g.applyToX(d.o[s - 1][0], d.o[s - 1][1], 0),
- g.applyToY(d.o[s - 1][0], d.o[s - 1][1], 0),
- g.applyToX(d.i[0][0], d.i[0][1], 0),
- g.applyToY(d.i[0][0], d.i[0][1], 0),
- g.applyToX(d.v[0][0], d.v[0][1], 0),
- g.applyToY(d.v[0][0], d.v[0][1], 0)
- ),
- (f[k] = h),
- (k += 1)
- }
- y && ((_ += m[r].l), (_ += b)),
- this.textSpans[w]
- ? (this.textSpans[w].elem = f)
- : (this.textSpans[w] = { elem: f }),
- (w += 1)
- }
- }),
- (CVTextElement.prototype.renderInnerContent = function () {
- var e,
- t,
- n,
- r,
- a,
- o,
- i = this.canvasContext
- ;(i.font = this.values.fValue),
- (i.lineCap = 'butt'),
- (i.lineJoin = 'miter'),
- (i.miterLimit = 4),
- this.data.singleShape ||
- this.textAnimator.getMeasures(
- this.textProperty.currentData,
- this.lettersChangedFlag
- )
- var s,
- l = this.textAnimator.renderedLetters,
- c = this.textProperty.currentData.l
- t = c.length
- var u,
- p,
- d = null,
- f = null,
- h = null
- for (e = 0; e < t; e += 1)
- if (!c[e].n) {
- if (
- ((s = l[e]) &&
- (this.globalData.renderer.save(),
- this.globalData.renderer.ctxTransform(s.p),
- this.globalData.renderer.ctxOpacity(s.o)),
- this.fill)
- ) {
- for (
- s && s.fc
- ? d !== s.fc && ((d = s.fc), (i.fillStyle = s.fc))
- : d !== this.values.fill &&
- ((d = this.values.fill), (i.fillStyle = this.values.fill)),
- r = (u = this.textSpans[e].elem).length,
- this.globalData.canvasContext.beginPath(),
- n = 0;
- n < r;
- n += 1
- )
- for (
- o = (p = u[n]).length,
- this.globalData.canvasContext.moveTo(p[0], p[1]),
- a = 2;
- a < o;
- a += 6
- )
- this.globalData.canvasContext.bezierCurveTo(
- p[a],
- p[a + 1],
- p[a + 2],
- p[a + 3],
- p[a + 4],
- p[a + 5]
- )
- this.globalData.canvasContext.closePath(),
- this.globalData.canvasContext.fill()
- }
- if (this.stroke) {
- for (
- s && s.sw
- ? h !== s.sw && ((h = s.sw), (i.lineWidth = s.sw))
- : h !== this.values.sWidth &&
- ((h = this.values.sWidth), (i.lineWidth = this.values.sWidth)),
- s && s.sc
- ? f !== s.sc && ((f = s.sc), (i.strokeStyle = s.sc))
- : f !== this.values.stroke &&
- ((f = this.values.stroke), (i.strokeStyle = this.values.stroke)),
- r = (u = this.textSpans[e].elem).length,
- this.globalData.canvasContext.beginPath(),
- n = 0;
- n < r;
- n += 1
- )
- for (
- o = (p = u[n]).length,
- this.globalData.canvasContext.moveTo(p[0], p[1]),
- a = 2;
- a < o;
- a += 6
- )
- this.globalData.canvasContext.bezierCurveTo(
- p[a],
- p[a + 1],
- p[a + 2],
- p[a + 3],
- p[a + 4],
- p[a + 5]
- )
- this.globalData.canvasContext.closePath(),
- this.globalData.canvasContext.stroke()
- }
- s && this.globalData.renderer.restore()
- }
- }),
- extendPrototype(
- [
- BaseElement,
- TransformElement,
- CVBaseElement,
- HierarchyElement,
- FrameElement,
- RenderableElement
- ],
- CVImageElement
- ),
- (CVImageElement.prototype.initElement = SVGShapeElement.prototype.initElement),
- (CVImageElement.prototype.prepareFrame = IImageElement.prototype.prepareFrame),
- (CVImageElement.prototype.createContent = function () {
- if (
- this.img.width &&
- (this.assetData.w !== this.img.width || this.assetData.h !== this.img.height)
- ) {
- var e = createTag('canvas')
- ;(e.width = this.assetData.w), (e.height = this.assetData.h)
- var t,
- n,
- r = e.getContext('2d'),
- a = this.img.width,
- o = this.img.height,
- i = a / o,
- s = this.assetData.w / this.assetData.h,
- l =
- this.assetData.pr || this.globalData.renderConfig.imagePreserveAspectRatio
- ;(i > s && 'xMidYMid slice' === l) || (i < s && 'xMidYMid slice' !== l)
- ? (t = (n = o) * s)
- : (n = (t = a) / s),
- r.drawImage(
- this.img,
- (a - t) / 2,
- (o - n) / 2,
- t,
- n,
- 0,
- 0,
- this.assetData.w,
- this.assetData.h
- ),
- (this.img = e)
- }
- }),
- (CVImageElement.prototype.renderInnerContent = function () {
- this.canvasContext.drawImage(this.img, 0, 0)
- }),
- (CVImageElement.prototype.destroy = function () {
- this.img = null
- }),
- extendPrototype(
- [
- BaseElement,
- TransformElement,
- CVBaseElement,
- HierarchyElement,
- FrameElement,
- RenderableElement
- ],
- CVSolidElement
- ),
- (CVSolidElement.prototype.initElement = SVGShapeElement.prototype.initElement),
- (CVSolidElement.prototype.prepareFrame = IImageElement.prototype.prepareFrame),
- (CVSolidElement.prototype.renderInnerContent = function () {
- var e = this.canvasContext
- ;(e.fillStyle = this.data.sc), e.fillRect(0, 0, this.data.sw, this.data.sh)
- }),
- extendPrototype([BaseRenderer], CanvasRendererBase),
- (CanvasRendererBase.prototype.createShape = function (e) {
- return new CVShapeElement(e, this.globalData, this)
- }),
- (CanvasRendererBase.prototype.createText = function (e) {
- return new CVTextElement(e, this.globalData, this)
- }),
- (CanvasRendererBase.prototype.createImage = function (e) {
- return new CVImageElement(e, this.globalData, this)
- }),
- (CanvasRendererBase.prototype.createSolid = function (e) {
- return new CVSolidElement(e, this.globalData, this)
- }),
- (CanvasRendererBase.prototype.createNull = SVGRenderer.prototype.createNull),
- (CanvasRendererBase.prototype.ctxTransform = function (e) {
- if (
- 1 !== e[0] ||
- 0 !== e[1] ||
- 0 !== e[4] ||
- 1 !== e[5] ||
- 0 !== e[12] ||
- 0 !== e[13]
- )
- if (this.renderConfig.clearCanvas) {
- this.transformMat.cloneFromProps(e)
- var t = this.contextData.cTr.props
- this.transformMat.transform(
- t[0],
- t[1],
- t[2],
- t[3],
- t[4],
- t[5],
- t[6],
- t[7],
- t[8],
- t[9],
- t[10],
- t[11],
- t[12],
- t[13],
- t[14],
- t[15]
- ),
- this.contextData.cTr.cloneFromProps(this.transformMat.props)
- var n = this.contextData.cTr.props
- this.canvasContext.setTransform(n[0], n[1], n[4], n[5], n[12], n[13])
- } else this.canvasContext.transform(e[0], e[1], e[4], e[5], e[12], e[13])
- }),
- (CanvasRendererBase.prototype.ctxOpacity = function (e) {
- if (!this.renderConfig.clearCanvas)
- return (
- (this.canvasContext.globalAlpha *= e < 0 ? 0 : e),
- void (this.globalData.currentGlobalAlpha = this.contextData.cO)
- )
- ;(this.contextData.cO *= e < 0 ? 0 : e),
- this.globalData.currentGlobalAlpha !== this.contextData.cO &&
- ((this.canvasContext.globalAlpha = this.contextData.cO),
- (this.globalData.currentGlobalAlpha = this.contextData.cO))
- }),
- (CanvasRendererBase.prototype.reset = function () {
- this.renderConfig.clearCanvas
- ? this.contextData.reset()
- : this.canvasContext.restore()
- }),
- (CanvasRendererBase.prototype.save = function (e) {
- if (this.renderConfig.clearCanvas) {
- e && this.canvasContext.save()
- var t,
- n = this.contextData.cTr.props
- this.contextData._length <= this.contextData.cArrPos &&
- this.contextData.duplicate()
- var r = this.contextData.saved[this.contextData.cArrPos]
- for (t = 0; t < 16; t += 1) r[t] = n[t]
- ;(this.contextData.savedOp[this.contextData.cArrPos] = this.contextData.cO),
- (this.contextData.cArrPos += 1)
- } else this.canvasContext.save()
- }),
- (CanvasRendererBase.prototype.restore = function (e) {
- if (this.renderConfig.clearCanvas) {
- e &&
- (this.canvasContext.restore(), (this.globalData.blendMode = 'source-over')),
- (this.contextData.cArrPos -= 1)
- var t,
- n = this.contextData.saved[this.contextData.cArrPos],
- r = this.contextData.cTr.props
- for (t = 0; t < 16; t += 1) r[t] = n[t]
- this.canvasContext.setTransform(n[0], n[1], n[4], n[5], n[12], n[13]),
- (n = this.contextData.savedOp[this.contextData.cArrPos]),
- (this.contextData.cO = n),
- this.globalData.currentGlobalAlpha !== n &&
- ((this.canvasContext.globalAlpha = n),
- (this.globalData.currentGlobalAlpha = n))
- } else this.canvasContext.restore()
- }),
- (CanvasRendererBase.prototype.configAnimation = function (e) {
- if (this.animationItem.wrapper) {
- this.animationItem.container = createTag('canvas')
- var t = this.animationItem.container.style
- ;(t.width = '100%'), (t.height = '100%')
- var n = '0px 0px 0px'
- ;(t.transformOrigin = n),
- (t.mozTransformOrigin = n),
- (t.webkitTransformOrigin = n),
- (t['-webkit-transform'] = n),
- (t.contentVisibility = this.renderConfig.contentVisibility),
- this.animationItem.wrapper.appendChild(this.animationItem.container),
- (this.canvasContext = this.animationItem.container.getContext('2d')),
- this.renderConfig.className &&
- this.animationItem.container.setAttribute(
- 'class',
- this.renderConfig.className
- ),
- this.renderConfig.id &&
- this.animationItem.container.setAttribute('id', this.renderConfig.id)
- } else this.canvasContext = this.renderConfig.context
- ;(this.data = e),
- (this.layers = e.layers),
- (this.transformCanvas = { w: e.w, h: e.h, sx: 0, sy: 0, tx: 0, ty: 0 }),
- this.setupGlobalData(e, document.body),
- (this.globalData.canvasContext = this.canvasContext),
- (this.globalData.renderer = this),
- (this.globalData.isDashed = !1),
- (this.globalData.progressiveLoad = this.renderConfig.progressiveLoad),
- (this.globalData.transformCanvas = this.transformCanvas),
- (this.elements = createSizedArray(e.layers.length)),
- this.updateContainerSize()
- }),
- (CanvasRendererBase.prototype.updateContainerSize = function () {
- var e, t, n, r
- if (
- (this.reset(),
- this.animationItem.wrapper && this.animationItem.container
- ? ((e = this.animationItem.wrapper.offsetWidth),
- (t = this.animationItem.wrapper.offsetHeight),
- this.animationItem.container.setAttribute(
- 'width',
- e * this.renderConfig.dpr
- ),
- this.animationItem.container.setAttribute(
- 'height',
- t * this.renderConfig.dpr
- ))
- : ((e = this.canvasContext.canvas.width * this.renderConfig.dpr),
- (t = this.canvasContext.canvas.height * this.renderConfig.dpr)),
- -1 !== this.renderConfig.preserveAspectRatio.indexOf('meet') ||
- -1 !== this.renderConfig.preserveAspectRatio.indexOf('slice'))
- ) {
- var a = this.renderConfig.preserveAspectRatio.split(' '),
- o = a[1] || 'meet',
- i = a[0] || 'xMidYMid',
- s = i.substr(0, 4),
- l = i.substr(4)
- ;(n = e / t),
- ((r = this.transformCanvas.w / this.transformCanvas.h) > n &&
- 'meet' === o) ||
- (r < n && 'slice' === o)
- ? ((this.transformCanvas.sx =
- e / (this.transformCanvas.w / this.renderConfig.dpr)),
- (this.transformCanvas.sy =
- e / (this.transformCanvas.w / this.renderConfig.dpr)))
- : ((this.transformCanvas.sx =
- t / (this.transformCanvas.h / this.renderConfig.dpr)),
- (this.transformCanvas.sy =
- t / (this.transformCanvas.h / this.renderConfig.dpr))),
- (this.transformCanvas.tx =
- 'xMid' === s && ((r < n && 'meet' === o) || (r > n && 'slice' === o))
- ? ((e - this.transformCanvas.w * (t / this.transformCanvas.h)) / 2) *
- this.renderConfig.dpr
- : 'xMax' === s && ((r < n && 'meet' === o) || (r > n && 'slice' === o))
- ? (e - this.transformCanvas.w * (t / this.transformCanvas.h)) *
- this.renderConfig.dpr
- : 0),
- (this.transformCanvas.ty =
- 'YMid' === l && ((r > n && 'meet' === o) || (r < n && 'slice' === o))
- ? ((t - this.transformCanvas.h * (e / this.transformCanvas.w)) / 2) *
- this.renderConfig.dpr
- : 'YMax' === l && ((r > n && 'meet' === o) || (r < n && 'slice' === o))
- ? (t - this.transformCanvas.h * (e / this.transformCanvas.w)) *
- this.renderConfig.dpr
- : 0)
- } else
- 'none' === this.renderConfig.preserveAspectRatio
- ? ((this.transformCanvas.sx =
- e / (this.transformCanvas.w / this.renderConfig.dpr)),
- (this.transformCanvas.sy =
- t / (this.transformCanvas.h / this.renderConfig.dpr)),
- (this.transformCanvas.tx = 0),
- (this.transformCanvas.ty = 0))
- : ((this.transformCanvas.sx = this.renderConfig.dpr),
- (this.transformCanvas.sy = this.renderConfig.dpr),
- (this.transformCanvas.tx = 0),
- (this.transformCanvas.ty = 0))
- ;(this.transformCanvas.props = [
- this.transformCanvas.sx,
- 0,
- 0,
- 0,
- 0,
- this.transformCanvas.sy,
- 0,
- 0,
- 0,
- 0,
- 1,
- 0,
- this.transformCanvas.tx,
- this.transformCanvas.ty,
- 0,
- 1
- ]),
- this.ctxTransform(this.transformCanvas.props),
- this.canvasContext.beginPath(),
- this.canvasContext.rect(0, 0, this.transformCanvas.w, this.transformCanvas.h),
- this.canvasContext.closePath(),
- this.canvasContext.clip(),
- this.renderFrame(this.renderedFrame, !0)
- }),
- (CanvasRendererBase.prototype.destroy = function () {
- var e
- for (
- this.renderConfig.clearCanvas &&
- this.animationItem.wrapper &&
- (this.animationItem.wrapper.innerText = ''),
- e = (this.layers ? this.layers.length : 0) - 1;
- e >= 0;
- e -= 1
- )
- this.elements[e] && this.elements[e].destroy()
- ;(this.elements.length = 0),
- (this.globalData.canvasContext = null),
- (this.animationItem.container = null),
- (this.destroyed = !0)
- }),
- (CanvasRendererBase.prototype.renderFrame = function (e, t) {
- if (
- (this.renderedFrame !== e || !0 !== this.renderConfig.clearCanvas || t) &&
- !this.destroyed &&
- -1 !== e
- ) {
- var n
- ;(this.renderedFrame = e),
- (this.globalData.frameNum = e - this.animationItem._isFirstFrame),
- (this.globalData.frameId += 1),
- (this.globalData._mdf = !this.renderConfig.clearCanvas || t),
- (this.globalData.projectInterface.currentFrame = e)
- var r = this.layers.length
- for (this.completeLayers || this.checkLayers(e), n = 0; n < r; n += 1)
- (this.completeLayers || this.elements[n]) &&
- this.elements[n].prepareFrame(e - this.layers[n].st)
- if (this.globalData._mdf) {
- for (
- !0 === this.renderConfig.clearCanvas
- ? this.canvasContext.clearRect(
- 0,
- 0,
- this.transformCanvas.w,
- this.transformCanvas.h
- )
- : this.save(),
- n = r - 1;
- n >= 0;
- n -= 1
- )
- (this.completeLayers || this.elements[n]) &&
- this.elements[n].renderFrame()
- !0 !== this.renderConfig.clearCanvas && this.restore()
- }
- }
- }),
- (CanvasRendererBase.prototype.buildItem = function (e) {
- var t = this.elements
- if (!t[e] && 99 !== this.layers[e].ty) {
- var n = this.createItem(this.layers[e], this, this.globalData)
- ;(t[e] = n), n.initExpressions()
- }
- }),
- (CanvasRendererBase.prototype.checkPendingElements = function () {
- for (; this.pendingElements.length; )
- this.pendingElements.pop().checkParenting()
- }),
- (CanvasRendererBase.prototype.hide = function () {
- this.animationItem.container.style.display = 'none'
- }),
- (CanvasRendererBase.prototype.show = function () {
- this.animationItem.container.style.display = 'block'
- }),
- extendPrototype([CanvasRendererBase, ICompElement, CVBaseElement], CVCompElement),
- (CVCompElement.prototype.renderInnerContent = function () {
- var e,
- t = this.canvasContext
- for (
- t.beginPath(),
- t.moveTo(0, 0),
- t.lineTo(this.data.w, 0),
- t.lineTo(this.data.w, this.data.h),
- t.lineTo(0, this.data.h),
- t.lineTo(0, 0),
- t.clip(),
- e = this.layers.length - 1;
- e >= 0;
- e -= 1
- )
- (this.completeLayers || this.elements[e]) && this.elements[e].renderFrame()
- }),
- (CVCompElement.prototype.destroy = function () {
- var e
- for (e = this.layers.length - 1; e >= 0; e -= 1)
- this.elements[e] && this.elements[e].destroy()
- ;(this.layers = null), (this.elements = null)
- }),
- (CVCompElement.prototype.createComp = function (e) {
- return new CVCompElement(e, this.globalData, this)
- }),
- extendPrototype([CanvasRendererBase], CanvasRenderer),
- (CanvasRenderer.prototype.createComp = function (e) {
- return new CVCompElement(e, this.globalData, this)
- }),
- (HBaseElement.prototype = {
- checkBlendMode: function () {},
- initRendererElement: function () {
- ;(this.baseElement = createTag(this.data.tg || 'div')),
- this.data.hasMask
- ? ((this.svgElement = createNS('svg')),
- (this.layerElement = createNS('g')),
- (this.maskedElement = this.layerElement),
- this.svgElement.appendChild(this.layerElement),
- this.baseElement.appendChild(this.svgElement))
- : (this.layerElement = this.baseElement),
- styleDiv(this.baseElement)
- },
- createContainerElements: function () {
- ;(this.renderableEffectsManager = new CVEffects()),
- (this.transformedElement = this.baseElement),
- (this.maskedElement = this.layerElement),
- this.data.ln && this.layerElement.setAttribute('id', this.data.ln),
- this.data.cl && this.layerElement.setAttribute('class', this.data.cl),
- 0 !== this.data.bm && this.setBlendMode()
- },
- renderElement: function () {
- var e = this.transformedElement ? this.transformedElement.style : {}
- if (this.finalTransform._matMdf) {
- var t = this.finalTransform.mat.toCSS()
- ;(e.transform = t), (e.webkitTransform = t)
- }
- this.finalTransform._opMdf && (e.opacity = this.finalTransform.mProp.o.v)
- },
- renderFrame: function () {
- this.data.hd ||
- this.hidden ||
- (this.renderTransform(),
- this.renderRenderable(),
- this.renderElement(),
- this.renderInnerContent(),
- this._isFirstFrame && (this._isFirstFrame = !1))
- },
- destroy: function () {
- ;(this.layerElement = null),
- (this.transformedElement = null),
- this.matteElement && (this.matteElement = null),
- this.maskManager && (this.maskManager.destroy(), (this.maskManager = null))
- },
- createRenderableComponents: function () {
- this.maskManager = new MaskElement(this.data, this, this.globalData)
- },
- addEffects: function () {},
- setMatte: function () {}
- }),
- (HBaseElement.prototype.getBaseElement = SVGBaseElement.prototype.getBaseElement),
- (HBaseElement.prototype.destroyBaseElement = HBaseElement.prototype.destroy),
- (HBaseElement.prototype.buildElementParenting =
- BaseRenderer.prototype.buildElementParenting),
- extendPrototype(
- [
- BaseElement,
- TransformElement,
- HBaseElement,
- HierarchyElement,
- FrameElement,
- RenderableDOMElement
- ],
- HSolidElement
- ),
- (HSolidElement.prototype.createContent = function () {
- var e
- this.data.hasMask
- ? ((e = createNS('rect')).setAttribute('width', this.data.sw),
- e.setAttribute('height', this.data.sh),
- e.setAttribute('fill', this.data.sc),
- this.svgElement.setAttribute('width', this.data.sw),
- this.svgElement.setAttribute('height', this.data.sh))
- : (((e = createTag('div')).style.width = this.data.sw + 'px'),
- (e.style.height = this.data.sh + 'px'),
- (e.style.backgroundColor = this.data.sc)),
- this.layerElement.appendChild(e)
- }),
- extendPrototype(
- [
- BaseElement,
- TransformElement,
- HSolidElement,
- SVGShapeElement,
- HBaseElement,
- HierarchyElement,
- FrameElement,
- RenderableElement
- ],
- HShapeElement
- ),
- (HShapeElement.prototype._renderShapeFrame =
- HShapeElement.prototype.renderInnerContent),
- (HShapeElement.prototype.createContent = function () {
- var e
- if (((this.baseElement.style.fontSize = 0), this.data.hasMask))
- this.layerElement.appendChild(this.shapesContainer), (e = this.svgElement)
- else {
- e = createNS('svg')
- var t = this.comp.data ? this.comp.data : this.globalData.compSize
- e.setAttribute('width', t.w),
- e.setAttribute('height', t.h),
- e.appendChild(this.shapesContainer),
- this.layerElement.appendChild(e)
- }
- this.searchShapes(
- this.shapesData,
- this.itemsData,
- this.prevViewData,
- this.shapesContainer,
- 0,
- [],
- !0
- ),
- this.filterUniqueShapes(),
- (this.shapeCont = e)
- }),
- (HShapeElement.prototype.getTransformedPoint = function (e, t) {
- var n,
- r = e.length
- for (n = 0; n < r; n += 1) t = e[n].mProps.v.applyToPointArray(t[0], t[1], 0)
- return t
- }),
- (HShapeElement.prototype.calculateShapeBoundingBox = function (e, t) {
- var n,
- r,
- a,
- o,
- i,
- s = e.sh.v,
- l = e.transformers,
- c = s._length
- if (!(c <= 1)) {
- for (n = 0; n < c - 1; n += 1)
- (r = this.getTransformedPoint(l, s.v[n])),
- (a = this.getTransformedPoint(l, s.o[n])),
- (o = this.getTransformedPoint(l, s.i[n + 1])),
- (i = this.getTransformedPoint(l, s.v[n + 1])),
- this.checkBounds(r, a, o, i, t)
- s.c &&
- ((r = this.getTransformedPoint(l, s.v[n])),
- (a = this.getTransformedPoint(l, s.o[n])),
- (o = this.getTransformedPoint(l, s.i[0])),
- (i = this.getTransformedPoint(l, s.v[0])),
- this.checkBounds(r, a, o, i, t))
- }
- }),
- (HShapeElement.prototype.checkBounds = function (e, t, n, r, a) {
- this.getBoundsOfCurve(e, t, n, r)
- var o = this.shapeBoundingBox
- ;(a.x = bmMin(o.left, a.x)),
- (a.xMax = bmMax(o.right, a.xMax)),
- (a.y = bmMin(o.top, a.y)),
- (a.yMax = bmMax(o.bottom, a.yMax))
- }),
- (HShapeElement.prototype.shapeBoundingBox = {
- left: 0,
- right: 0,
- top: 0,
- bottom: 0
- }),
- (HShapeElement.prototype.tempBoundingBox = {
- x: 0,
- xMax: 0,
- y: 0,
- yMax: 0,
- width: 0,
- height: 0
- }),
- (HShapeElement.prototype.getBoundsOfCurve = function (e, t, n, r) {
- for (
- var a,
- o,
- i,
- s,
- l,
- c,
- u,
- p = [
- [e[0], r[0]],
- [e[1], r[1]]
- ],
- d = 0;
- d < 2;
- ++d
- )
- (o = 6 * e[d] - 12 * t[d] + 6 * n[d]),
- (a = -3 * e[d] + 9 * t[d] - 9 * n[d] + 3 * r[d]),
- (i = 3 * t[d] - 3 * e[d]),
- (o |= 0),
- (i |= 0),
- (0 == (a |= 0) && 0 === o) ||
- (0 === a
- ? (s = -i / o) > 0 &&
- s < 1 &&
- p[d].push(this.calculateF(s, e, t, n, r, d))
- : (l = o * o - 4 * i * a) >= 0 &&
- ((c = (-o + bmSqrt(l)) / (2 * a)) > 0 &&
- c < 1 &&
- p[d].push(this.calculateF(c, e, t, n, r, d)),
- (u = (-o - bmSqrt(l)) / (2 * a)) > 0 &&
- u < 1 &&
- p[d].push(this.calculateF(u, e, t, n, r, d))))
- ;(this.shapeBoundingBox.left = bmMin.apply(null, p[0])),
- (this.shapeBoundingBox.top = bmMin.apply(null, p[1])),
- (this.shapeBoundingBox.right = bmMax.apply(null, p[0])),
- (this.shapeBoundingBox.bottom = bmMax.apply(null, p[1]))
- }),
- (HShapeElement.prototype.calculateF = function (e, t, n, r, a, o) {
- return (
- bmPow(1 - e, 3) * t[o] +
- 3 * bmPow(1 - e, 2) * e * n[o] +
- 3 * (1 - e) * bmPow(e, 2) * r[o] +
- bmPow(e, 3) * a[o]
- )
- }),
- (HShapeElement.prototype.calculateBoundingBox = function (e, t) {
- var n,
- r = e.length
- for (n = 0; n < r; n += 1)
- e[n] && e[n].sh
- ? this.calculateShapeBoundingBox(e[n], t)
- : e[n] && e[n].it
- ? this.calculateBoundingBox(e[n].it, t)
- : e[n] && e[n].style && e[n].w && this.expandStrokeBoundingBox(e[n].w, t)
- }),
- (HShapeElement.prototype.expandStrokeBoundingBox = function (e, t) {
- var n = 0
- if (e.keyframes) {
- for (var r = 0; r < e.keyframes.length; r += 1) {
- var a = e.keyframes[r].s
- a > n && (n = a)
- }
- n *= e.mult
- } else n = e.v * e.mult
- ;(t.x -= n), (t.xMax += n), (t.y -= n), (t.yMax += n)
- }),
- (HShapeElement.prototype.currentBoxContains = function (e) {
- return (
- this.currentBBox.x <= e.x &&
- this.currentBBox.y <= e.y &&
- this.currentBBox.width + this.currentBBox.x >= e.x + e.width &&
- this.currentBBox.height + this.currentBBox.y >= e.y + e.height
- )
- }),
- (HShapeElement.prototype.renderInnerContent = function () {
- if (
- (this._renderShapeFrame(), !this.hidden && (this._isFirstFrame || this._mdf))
- ) {
- var e = this.tempBoundingBox,
- t = 999999
- if (
- ((e.x = t),
- (e.xMax = -t),
- (e.y = t),
- (e.yMax = -t),
- this.calculateBoundingBox(this.itemsData, e),
- (e.width = e.xMax < e.x ? 0 : e.xMax - e.x),
- (e.height = e.yMax < e.y ? 0 : e.yMax - e.y),
- this.currentBoxContains(e))
- )
- return
- var n = !1
- if (
- (this.currentBBox.w !== e.width &&
- ((this.currentBBox.w = e.width),
- this.shapeCont.setAttribute('width', e.width),
- (n = !0)),
- this.currentBBox.h !== e.height &&
- ((this.currentBBox.h = e.height),
- this.shapeCont.setAttribute('height', e.height),
- (n = !0)),
- n || this.currentBBox.x !== e.x || this.currentBBox.y !== e.y)
- ) {
- ;(this.currentBBox.w = e.width),
- (this.currentBBox.h = e.height),
- (this.currentBBox.x = e.x),
- (this.currentBBox.y = e.y),
- this.shapeCont.setAttribute(
- 'viewBox',
- this.currentBBox.x +
- ' ' +
- this.currentBBox.y +
- ' ' +
- this.currentBBox.w +
- ' ' +
- this.currentBBox.h
- )
- var r = this.shapeCont.style,
- a = 'translate(' + this.currentBBox.x + 'px,' + this.currentBBox.y + 'px)'
- ;(r.transform = a), (r.webkitTransform = a)
- }
- }
- }),
- extendPrototype(
- [
- BaseElement,
- TransformElement,
- HBaseElement,
- HierarchyElement,
- FrameElement,
- RenderableDOMElement,
- ITextElement
- ],
- HTextElement
- ),
- (HTextElement.prototype.createContent = function () {
- if (((this.isMasked = this.checkMasks()), this.isMasked)) {
- ;(this.renderType = 'svg'),
- (this.compW = this.comp.data.w),
- (this.compH = this.comp.data.h),
- this.svgElement.setAttribute('width', this.compW),
- this.svgElement.setAttribute('height', this.compH)
- var e = createNS('g')
- this.maskedElement.appendChild(e), (this.innerElem = e)
- } else (this.renderType = 'html'), (this.innerElem = this.layerElement)
- this.checkParenting()
- }),
- (HTextElement.prototype.buildNewText = function () {
- var e = this.textProperty.currentData
- this.renderedLetters = createSizedArray(e.l ? e.l.length : 0)
- var t = this.innerElem.style,
- n = e.fc ? this.buildColor(e.fc) : 'rgba(0,0,0,0)'
- ;(t.fill = n),
- (t.color = n),
- e.sc && ((t.stroke = this.buildColor(e.sc)), (t.strokeWidth = e.sw + 'px'))
- var r,
- a,
- o = this.globalData.fontManager.getFontByName(e.f)
- if (!this.globalData.fontManager.chars)
- if (
- ((t.fontSize = e.finalSize + 'px'),
- (t.lineHeight = e.finalSize + 'px'),
- o.fClass)
- )
- this.innerElem.className = o.fClass
- else {
- t.fontFamily = o.fFamily
- var i = e.fWeight,
- s = e.fStyle
- ;(t.fontStyle = s), (t.fontWeight = i)
- }
- var l,
- c,
- u,
- p = e.l
- a = p.length
- var d,
- f = this.mHelper,
- h = '',
- v = 0
- for (r = 0; r < a; r += 1) {
- if (
- (this.globalData.fontManager.chars
- ? (this.textPaths[v]
- ? (l = this.textPaths[v])
- : ((l = createNS('path')).setAttribute(
- 'stroke-linecap',
- lineCapEnum[1]
- ),
- l.setAttribute('stroke-linejoin', lineJoinEnum[2]),
- l.setAttribute('stroke-miterlimit', '4')),
- this.isMasked ||
- (this.textSpans[v]
- ? (u = (c = this.textSpans[v]).children[0])
- : (((c = createTag('div')).style.lineHeight = 0),
- (u = createNS('svg')).appendChild(l),
- styleDiv(c))))
- : this.isMasked
- ? (l = this.textPaths[v] ? this.textPaths[v] : createNS('text'))
- : this.textSpans[v]
- ? ((c = this.textSpans[v]), (l = this.textPaths[v]))
- : (styleDiv((c = createTag('span'))),
- styleDiv((l = createTag('span'))),
- c.appendChild(l)),
- this.globalData.fontManager.chars)
- ) {
- var m,
- g = this.globalData.fontManager.getCharData(
- e.finalText[r],
- o.fStyle,
- this.globalData.fontManager.getFontByName(e.f).fFamily
- )
- if (
- ((m = g ? g.data : null),
- f.reset(),
- m &&
- m.shapes &&
- m.shapes.length &&
- ((d = m.shapes[0].it),
- f.scale(e.finalSize / 100, e.finalSize / 100),
- (h = this.createPathShape(f, d)),
- l.setAttribute('d', h)),
- this.isMasked)
- )
- this.innerElem.appendChild(l)
- else {
- if ((this.innerElem.appendChild(c), m && m.shapes)) {
- document.body.appendChild(u)
- var y = u.getBBox()
- u.setAttribute('width', y.width + 2),
- u.setAttribute('height', y.height + 2),
- u.setAttribute(
- 'viewBox',
- y.x -
- 1 +
- ' ' +
- (y.y - 1) +
- ' ' +
- (y.width + 2) +
- ' ' +
- (y.height + 2)
- )
- var b = u.style,
- _ = 'translate(' + (y.x - 1) + 'px,' + (y.y - 1) + 'px)'
- ;(b.transform = _), (b.webkitTransform = _), (p[r].yOffset = y.y - 1)
- } else u.setAttribute('width', 1), u.setAttribute('height', 1)
- c.appendChild(u)
- }
- } else if (
- ((l.textContent = p[r].val),
- l.setAttributeNS(
- 'http://www.w3.org/XML/1998/namespace',
- 'xml:space',
- 'preserve'
- ),
- this.isMasked)
- )
- this.innerElem.appendChild(l)
- else {
- this.innerElem.appendChild(c)
- var A = l.style,
- x = 'translate3d(0,' + -e.finalSize / 1.2 + 'px,0)'
- ;(A.transform = x), (A.webkitTransform = x)
- }
- this.isMasked ? (this.textSpans[v] = l) : (this.textSpans[v] = c),
- (this.textSpans[v].style.display = 'block'),
- (this.textPaths[v] = l),
- (v += 1)
- }
- for (; v < this.textSpans.length; )
- (this.textSpans[v].style.display = 'none'), (v += 1)
- }),
- (HTextElement.prototype.renderInnerContent = function () {
- var e
- if (this.data.singleShape) {
- if (!this._isFirstFrame && !this.lettersChangedFlag) return
- if (this.isMasked && this.finalTransform._matMdf) {
- this.svgElement.setAttribute(
- 'viewBox',
- -this.finalTransform.mProp.p.v[0] +
- ' ' +
- -this.finalTransform.mProp.p.v[1] +
- ' ' +
- this.compW +
- ' ' +
- this.compH
- ),
- (e = this.svgElement.style)
- var t =
- 'translate(' +
- -this.finalTransform.mProp.p.v[0] +
- 'px,' +
- -this.finalTransform.mProp.p.v[1] +
- 'px)'
- ;(e.transform = t), (e.webkitTransform = t)
- }
- }
- if (
- (this.textAnimator.getMeasures(
- this.textProperty.currentData,
- this.lettersChangedFlag
- ),
- this.lettersChangedFlag || this.textAnimator.lettersChangedFlag)
- ) {
- var n,
- r,
- a,
- o,
- i,
- s = 0,
- l = this.textAnimator.renderedLetters,
- c = this.textProperty.currentData.l
- for (r = c.length, n = 0; n < r; n += 1)
- c[n].n
- ? (s += 1)
- : ((o = this.textSpans[n]),
- (i = this.textPaths[n]),
- (a = l[s]),
- (s += 1),
- a._mdf.m &&
- (this.isMasked
- ? o.setAttribute('transform', a.m)
- : ((o.style.webkitTransform = a.m), (o.style.transform = a.m))),
- (o.style.opacity = a.o),
- a.sw && a._mdf.sw && i.setAttribute('stroke-width', a.sw),
- a.sc && a._mdf.sc && i.setAttribute('stroke', a.sc),
- a.fc &&
- a._mdf.fc &&
- (i.setAttribute('fill', a.fc), (i.style.color = a.fc)))
- if (
- this.innerElem.getBBox &&
- !this.hidden &&
- (this._isFirstFrame || this._mdf)
- ) {
- var u = this.innerElem.getBBox()
- if (
- (this.currentBBox.w !== u.width &&
- ((this.currentBBox.w = u.width),
- this.svgElement.setAttribute('width', u.width)),
- this.currentBBox.h !== u.height &&
- ((this.currentBBox.h = u.height),
- this.svgElement.setAttribute('height', u.height)),
- this.currentBBox.w !== u.width + 2 ||
- this.currentBBox.h !== u.height + 2 ||
- this.currentBBox.x !== u.x - 1 ||
- this.currentBBox.y !== u.y - 1)
- ) {
- ;(this.currentBBox.w = u.width + 2),
- (this.currentBBox.h = u.height + 2),
- (this.currentBBox.x = u.x - 1),
- (this.currentBBox.y = u.y - 1),
- this.svgElement.setAttribute(
- 'viewBox',
- this.currentBBox.x +
- ' ' +
- this.currentBBox.y +
- ' ' +
- this.currentBBox.w +
- ' ' +
- this.currentBBox.h
- ),
- (e = this.svgElement.style)
- var p =
- 'translate(' + this.currentBBox.x + 'px,' + this.currentBBox.y + 'px)'
- ;(e.transform = p), (e.webkitTransform = p)
- }
- }
- }
- }),
- extendPrototype([BaseElement, FrameElement, HierarchyElement], HCameraElement),
- (HCameraElement.prototype.setup = function () {
- var e,
- t,
- n,
- r,
- a = this.comp.threeDElements.length
- for (e = 0; e < a; e += 1)
- if ('3d' === (t = this.comp.threeDElements[e]).type) {
- ;(n = t.perspectiveElem.style), (r = t.container.style)
- var o = this.pe.v + 'px',
- i = '0px 0px 0px',
- s = 'matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)'
- ;(n.perspective = o),
- (n.webkitPerspective = o),
- (r.transformOrigin = i),
- (r.mozTransformOrigin = i),
- (r.webkitTransformOrigin = i),
- (n.transform = s),
- (n.webkitTransform = s)
- }
- }),
- (HCameraElement.prototype.createElements = function () {}),
- (HCameraElement.prototype.hide = function () {}),
- (HCameraElement.prototype.renderFrame = function () {
- var e,
- t,
- n = this._isFirstFrame
- if (this.hierarchy)
- for (t = this.hierarchy.length, e = 0; e < t; e += 1)
- n = this.hierarchy[e].finalTransform.mProp._mdf || n
- if (
- n ||
- this.pe._mdf ||
- (this.p && this.p._mdf) ||
- (this.px && (this.px._mdf || this.py._mdf || this.pz._mdf)) ||
- this.rx._mdf ||
- this.ry._mdf ||
- this.rz._mdf ||
- this.or._mdf ||
- (this.a && this.a._mdf)
- ) {
- if ((this.mat.reset(), this.hierarchy))
- for (e = t = this.hierarchy.length - 1; e >= 0; e -= 1) {
- var r = this.hierarchy[e].finalTransform.mProp
- this.mat.translate(-r.p.v[0], -r.p.v[1], r.p.v[2]),
- this.mat.rotateX(-r.or.v[0]).rotateY(-r.or.v[1]).rotateZ(r.or.v[2]),
- this.mat.rotateX(-r.rx.v).rotateY(-r.ry.v).rotateZ(r.rz.v),
- this.mat.scale(1 / r.s.v[0], 1 / r.s.v[1], 1 / r.s.v[2]),
- this.mat.translate(r.a.v[0], r.a.v[1], r.a.v[2])
- }
- if (
- (this.p
- ? this.mat.translate(-this.p.v[0], -this.p.v[1], this.p.v[2])
- : this.mat.translate(-this.px.v, -this.py.v, this.pz.v),
- this.a)
- ) {
- var a
- a = this.p
- ? [
- this.p.v[0] - this.a.v[0],
- this.p.v[1] - this.a.v[1],
- this.p.v[2] - this.a.v[2]
- ]
- : [
- this.px.v - this.a.v[0],
- this.py.v - this.a.v[1],
- this.pz.v - this.a.v[2]
- ]
- var o = Math.sqrt(
- Math.pow(a[0], 2) + Math.pow(a[1], 2) + Math.pow(a[2], 2)
- ),
- i = [a[0] / o, a[1] / o, a[2] / o],
- s = Math.sqrt(i[2] * i[2] + i[0] * i[0]),
- l = Math.atan2(i[1], s),
- c = Math.atan2(i[0], -i[2])
- this.mat.rotateY(c).rotateX(-l)
- }
- this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),
- this.mat
- .rotateX(-this.or.v[0])
- .rotateY(-this.or.v[1])
- .rotateZ(this.or.v[2]),
- this.mat.translate(
- this.globalData.compSize.w / 2,
- this.globalData.compSize.h / 2,
- 0
- ),
- this.mat.translate(0, 0, this.pe.v)
- var u = !this._prevMat.equals(this.mat)
- if ((u || this.pe._mdf) && this.comp.threeDElements) {
- var p, d, f
- for (t = this.comp.threeDElements.length, e = 0; e < t; e += 1)
- if ('3d' === (p = this.comp.threeDElements[e]).type) {
- if (u) {
- var h = this.mat.toCSS()
- ;((f = p.container.style).transform = h), (f.webkitTransform = h)
- }
- this.pe._mdf &&
- (((d = p.perspectiveElem.style).perspective = this.pe.v + 'px'),
- (d.webkitPerspective = this.pe.v + 'px'))
- }
- this.mat.clone(this._prevMat)
- }
- }
- this._isFirstFrame = !1
- }),
- (HCameraElement.prototype.prepareFrame = function (e) {
- this.prepareProperties(e, !0)
- }),
- (HCameraElement.prototype.destroy = function () {}),
- (HCameraElement.prototype.getBaseElement = function () {
- return null
- }),
- extendPrototype(
- [
- BaseElement,
- TransformElement,
- HBaseElement,
- HSolidElement,
- HierarchyElement,
- FrameElement,
- RenderableElement
- ],
- HImageElement
- ),
- (HImageElement.prototype.createContent = function () {
- var e = this.globalData.getAssetsPath(this.assetData),
- t = new Image()
- this.data.hasMask
- ? ((this.imageElem = createNS('image')),
- this.imageElem.setAttribute('width', this.assetData.w + 'px'),
- this.imageElem.setAttribute('height', this.assetData.h + 'px'),
- this.imageElem.setAttributeNS('http://www.w3.org/1999/xlink', 'href', e),
- this.layerElement.appendChild(this.imageElem),
- this.baseElement.setAttribute('width', this.assetData.w),
- this.baseElement.setAttribute('height', this.assetData.h))
- : this.layerElement.appendChild(t),
- (t.crossOrigin = 'anonymous'),
- (t.src = e),
- this.data.ln && this.baseElement.setAttribute('id', this.data.ln)
- }),
- extendPrototype([BaseRenderer], HybridRendererBase),
- (HybridRendererBase.prototype.buildItem = SVGRenderer.prototype.buildItem),
- (HybridRendererBase.prototype.checkPendingElements = function () {
- for (; this.pendingElements.length; )
- this.pendingElements.pop().checkParenting()
- }),
- (HybridRendererBase.prototype.appendElementInPos = function (e, t) {
- var n = e.getBaseElement()
- if (n) {
- var r = this.layers[t]
- if (r.ddd && this.supports3d) this.addTo3dContainer(n, t)
- else if (this.threeDElements) this.addTo3dContainer(n, t)
- else {
- for (var a, o, i = 0; i < t; )
- this.elements[i] &&
- !0 !== this.elements[i] &&
- this.elements[i].getBaseElement &&
- ((o = this.elements[i]),
- (a =
- (this.layers[i].ddd
- ? this.getThreeDContainerByPos(i)
- : o.getBaseElement()) || a)),
- (i += 1)
- a
- ? (r.ddd && this.supports3d) || this.layerElement.insertBefore(n, a)
- : (r.ddd && this.supports3d) || this.layerElement.appendChild(n)
- }
- }
- }),
- (HybridRendererBase.prototype.createShape = function (e) {
- return this.supports3d
- ? new HShapeElement(e, this.globalData, this)
- : new SVGShapeElement(e, this.globalData, this)
- }),
- (HybridRendererBase.prototype.createText = function (e) {
- return this.supports3d
- ? new HTextElement(e, this.globalData, this)
- : new SVGTextLottieElement(e, this.globalData, this)
- }),
- (HybridRendererBase.prototype.createCamera = function (e) {
- return (this.camera = new HCameraElement(e, this.globalData, this)), this.camera
- }),
- (HybridRendererBase.prototype.createImage = function (e) {
- return this.supports3d
- ? new HImageElement(e, this.globalData, this)
- : new IImageElement(e, this.globalData, this)
- }),
- (HybridRendererBase.prototype.createSolid = function (e) {
- return this.supports3d
- ? new HSolidElement(e, this.globalData, this)
- : new ISolidElement(e, this.globalData, this)
- }),
- (HybridRendererBase.prototype.createNull = SVGRenderer.prototype.createNull),
- (HybridRendererBase.prototype.getThreeDContainerByPos = function (e) {
- for (var t = 0, n = this.threeDElements.length; t < n; ) {
- if (
- this.threeDElements[t].startPos <= e &&
- this.threeDElements[t].endPos >= e
- )
- return this.threeDElements[t].perspectiveElem
- t += 1
- }
- return null
- }),
- (HybridRendererBase.prototype.createThreeDContainer = function (e, t) {
- var n,
- r,
- a = createTag('div')
- styleDiv(a)
- var o = createTag('div')
- if ((styleDiv(o), '3d' === t)) {
- ;((n = a.style).width = this.globalData.compSize.w + 'px'),
- (n.height = this.globalData.compSize.h + 'px')
- var i = '50% 50%'
- ;(n.webkitTransformOrigin = i),
- (n.mozTransformOrigin = i),
- (n.transformOrigin = i)
- var s = 'matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)'
- ;((r = o.style).transform = s), (r.webkitTransform = s)
- }
- a.appendChild(o)
- var l = { container: o, perspectiveElem: a, startPos: e, endPos: e, type: t }
- return this.threeDElements.push(l), l
- }),
- (HybridRendererBase.prototype.build3dContainers = function () {
- var e,
- t,
- n = this.layers.length,
- r = ''
- for (e = 0; e < n; e += 1)
- this.layers[e].ddd && 3 !== this.layers[e].ty
- ? ('3d' !== r && ((r = '3d'), (t = this.createThreeDContainer(e, '3d'))),
- (t.endPos = Math.max(t.endPos, e)))
- : ('2d' !== r && ((r = '2d'), (t = this.createThreeDContainer(e, '2d'))),
- (t.endPos = Math.max(t.endPos, e)))
- for (e = (n = this.threeDElements.length) - 1; e >= 0; e -= 1)
- this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)
- }),
- (HybridRendererBase.prototype.addTo3dContainer = function (e, t) {
- for (var n = 0, r = this.threeDElements.length; n < r; ) {
- if (t <= this.threeDElements[n].endPos) {
- for (var a, o = this.threeDElements[n].startPos; o < t; )
- this.elements[o] &&
- this.elements[o].getBaseElement &&
- (a = this.elements[o].getBaseElement()),
- (o += 1)
- a
- ? this.threeDElements[n].container.insertBefore(e, a)
- : this.threeDElements[n].container.appendChild(e)
- break
- }
- n += 1
- }
- }),
- (HybridRendererBase.prototype.configAnimation = function (e) {
- var t = createTag('div'),
- n = this.animationItem.wrapper,
- r = t.style
- ;(r.width = e.w + 'px'),
- (r.height = e.h + 'px'),
- (this.resizerElem = t),
- styleDiv(t),
- (r.transformStyle = 'flat'),
- (r.mozTransformStyle = 'flat'),
- (r.webkitTransformStyle = 'flat'),
- this.renderConfig.className &&
- t.setAttribute('class', this.renderConfig.className),
- n.appendChild(t),
- (r.overflow = 'hidden')
- var a = createNS('svg')
- a.setAttribute('width', '1'),
- a.setAttribute('height', '1'),
- styleDiv(a),
- this.resizerElem.appendChild(a)
- var o = createNS('defs')
- a.appendChild(o),
- (this.data = e),
- this.setupGlobalData(e, a),
- (this.globalData.defs = o),
- (this.layers = e.layers),
- (this.layerElement = this.resizerElem),
- this.build3dContainers(),
- this.updateContainerSize()
- }),
- (HybridRendererBase.prototype.destroy = function () {
- var e
- this.animationItem.wrapper && (this.animationItem.wrapper.innerText = ''),
- (this.animationItem.container = null),
- (this.globalData.defs = null)
- var t = this.layers ? this.layers.length : 0
- for (e = 0; e < t; e += 1) this.elements[e].destroy()
- ;(this.elements.length = 0), (this.destroyed = !0), (this.animationItem = null)
- }),
- (HybridRendererBase.prototype.updateContainerSize = function () {
- var e,
- t,
- n,
- r,
- a = this.animationItem.wrapper.offsetWidth,
- o = this.animationItem.wrapper.offsetHeight,
- i = a / o
- this.globalData.compSize.w / this.globalData.compSize.h > i
- ? ((e = a / this.globalData.compSize.w),
- (t = a / this.globalData.compSize.w),
- (n = 0),
- (r =
- (o - this.globalData.compSize.h * (a / this.globalData.compSize.w)) / 2))
- : ((e = o / this.globalData.compSize.h),
- (t = o / this.globalData.compSize.h),
- (n =
- (a - this.globalData.compSize.w * (o / this.globalData.compSize.h)) / 2),
- (r = 0))
- var s = this.resizerElem.style
- ;(s.webkitTransform =
- 'matrix3d(' + e + ',0,0,0,0,' + t + ',0,0,0,0,1,0,' + n + ',' + r + ',0,1)'),
- (s.transform = s.webkitTransform)
- }),
- (HybridRendererBase.prototype.renderFrame = SVGRenderer.prototype.renderFrame),
- (HybridRendererBase.prototype.hide = function () {
- this.resizerElem.style.display = 'none'
- }),
- (HybridRendererBase.prototype.show = function () {
- this.resizerElem.style.display = 'block'
- }),
- (HybridRendererBase.prototype.initItems = function () {
- if ((this.buildAllItems(), this.camera)) this.camera.setup()
- else {
- var e,
- t = this.globalData.compSize.w,
- n = this.globalData.compSize.h,
- r = this.threeDElements.length
- for (e = 0; e < r; e += 1) {
- var a = this.threeDElements[e].perspectiveElem.style
- ;(a.webkitPerspective = Math.sqrt(Math.pow(t, 2) + Math.pow(n, 2)) + 'px'),
- (a.perspective = a.webkitPerspective)
- }
- }
- }),
- (HybridRendererBase.prototype.searchExtraCompositions = function (e) {
- var t,
- n = e.length,
- r = createTag('div')
- for (t = 0; t < n; t += 1)
- if (e[t].xt) {
- var a = this.createComp(e[t], r, this.globalData.comp, null)
- a.initExpressions(), this.globalData.projectInterface.registerComposition(a)
- }
- }),
- extendPrototype([HybridRendererBase, ICompElement, HBaseElement], HCompElement),
- (HCompElement.prototype._createBaseContainerElements =
- HCompElement.prototype.createContainerElements),
- (HCompElement.prototype.createContainerElements = function () {
- this._createBaseContainerElements(),
- this.data.hasMask
- ? (this.svgElement.setAttribute('width', this.data.w),
- this.svgElement.setAttribute('height', this.data.h),
- (this.transformedElement = this.baseElement))
- : (this.transformedElement = this.layerElement)
- }),
- (HCompElement.prototype.addTo3dContainer = function (e, t) {
- for (var n, r = 0; r < t; )
- this.elements[r] &&
- this.elements[r].getBaseElement &&
- (n = this.elements[r].getBaseElement()),
- (r += 1)
- n ? this.layerElement.insertBefore(e, n) : this.layerElement.appendChild(e)
- }),
- (HCompElement.prototype.createComp = function (e) {
- return this.supports3d
- ? new HCompElement(e, this.globalData, this)
- : new SVGCompElement(e, this.globalData, this)
- }),
- extendPrototype([HybridRendererBase], HybridRenderer),
- (HybridRenderer.prototype.createComp = function (e) {
- return this.supports3d
- ? new HCompElement(e, this.globalData, this)
- : new SVGCompElement(e, this.globalData, this)
- })
- var Expressions = (function () {
- var e = {
- initExpressions: function (e) {
- var t = 0,
- n = []
- ;(e.renderer.compInterface = CompExpressionInterface(e.renderer)),
- e.renderer.globalData.projectInterface.registerComposition(e.renderer),
- (e.renderer.globalData.pushExpression = function () {
- t += 1
- }),
- (e.renderer.globalData.popExpression = function () {
- 0 == (t -= 1) &&
- (function () {
- var e,
- t = n.length
- for (e = 0; e < t; e += 1) n[e].release()
- n.length = 0
- })()
- }),
- (e.renderer.globalData.registerExpressionProperty = function (e) {
- ;-1 === n.indexOf(e) && n.push(e)
- })
- }
- }
- return e
- })()
- function _typeof$1(e) {
- return (
- (_typeof$1 =
- 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator
- ? function (e) {
- return typeof e
- }
- : function (e) {
- return e &&
- 'function' == typeof Symbol &&
- e.constructor === Symbol &&
- e !== Symbol.prototype
- ? 'symbol'
- : typeof e
- }),
- _typeof$1(e)
- )
- }
- function seedRandom(e, t) {
- var n = this,
- r = 256,
- a = t.pow(r, 6),
- o = t.pow(2, 52),
- i = 2 * o,
- s = 255
- function l(e) {
- var t,
- n = e.length,
- a = this,
- o = 0,
- i = (a.i = a.j = 0),
- l = (a.S = [])
- for (n || (e = [n++]); o < r; ) l[o] = o++
- for (o = 0; o < r; o++)
- (l[o] = l[(i = s & (i + e[o % n] + (t = l[o])))]), (l[i] = t)
- a.g = function (e) {
- for (var t, n = 0, o = a.i, i = a.j, l = a.S; e--; )
- (t = l[(o = s & (o + 1))]),
- (n = n * r + l[s & ((l[o] = l[(i = s & (i + t))]) + (l[i] = t))])
- return (a.i = o), (a.j = i), n
- }
- }
- function c(e, t) {
- return (t.i = e.i), (t.j = e.j), (t.S = e.S.slice()), t
- }
- function u(e, t) {
- var n,
- r = [],
- a = _typeof$1(e)
- if (t && 'object' == a)
- for (n in e)
- try {
- r.push(u(e[n], t - 1))
- } catch (o) {}
- return r.length ? r : 'string' == a ? e : e + '\0'
- }
- function p(e, t) {
- for (var n, r = e + '', a = 0; a < r.length; )
- t[s & a] = s & ((n ^= 19 * t[s & a]) + r.charCodeAt(a++))
- return d(t)
- }
- function d(e) {
- return String.fromCharCode.apply(0, e)
- }
- ;(t.seedrandom = function (s, f, h) {
- var v = [],
- m = p(
- u(
- (f = !0 === f ? { entropy: !0 } : f || {}).entropy
- ? [s, d(e)]
- : null === s
- ? (function () {
- try {
- var t = new Uint8Array(r)
- return (n.crypto || n.msCrypto).getRandomValues(t), d(t)
- } catch (i) {
- var a = n.navigator,
- o = a && a.plugins
- return [+new Date(), n, o, n.screen, d(e)]
- }
- })()
- : s,
- 3
- ),
- v
- ),
- g = new l(v),
- y = function () {
- for (var e = g.g(6), t = a, n = 0; e < o; )
- (e = (e + n) * r), (t *= r), (n = g.g(1))
- for (; e >= i; ) (e /= 2), (t /= 2), (n >>>= 1)
- return (e + n) / t
- }
- return (
- (y.int32 = function () {
- return 0 | g.g(4)
- }),
- (y.quick = function () {
- return g.g(4) / 4294967296
- }),
- (y.double = y),
- p(d(g.S), e),
- (
- f.pass ||
- h ||
- function (e, n, r, a) {
- return (
- a &&
- (a.S && c(a, g),
- (e.state = function () {
- return c(g, {})
- })),
- r ? ((t.random = e), n) : e
- )
- }
- )(y, m, 'global' in f ? f.global : this == t, f.state)
- )
- }),
- p(t.random(), e)
- }
- function initialize$2(e) {
- seedRandom([], e)
- }
- var propTypes = { SHAPE: 'shape' }
- function _typeof(e) {
- return (
- (_typeof =
- 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator
- ? function (e) {
- return typeof e
- }
- : function (e) {
- return e &&
- 'function' == typeof Symbol &&
- e.constructor === Symbol &&
- e !== Symbol.prototype
- ? 'symbol'
- : typeof e
- }),
- _typeof(e)
- )
- }
- var ExpressionManager = (function () {
- var ob = {},
- Math = BMMath,
- window = null,
- document = null,
- XMLHttpRequest = null,
- fetch = null,
- frames = null
- function $bm_isInstanceOfArray(e) {
- return e.constructor === Array || e.constructor === Float32Array
- }
- function isNumerable(e, t) {
- return (
- 'number' === e || 'boolean' === e || 'string' === e || t instanceof Number
- )
- }
- function $bm_neg(e) {
- var t = _typeof(e)
- if ('number' === t || 'boolean' === t || e instanceof Number) return -e
- if ($bm_isInstanceOfArray(e)) {
- var n,
- r = e.length,
- a = []
- for (n = 0; n < r; n += 1) a[n] = -e[n]
- return a
- }
- return e.propType ? e.v : -e
- }
- initialize$2(BMMath)
- var easeInBez = BezierFactory.getBezierEasing(
- 0.333,
- 0,
- 0.833,
- 0.833,
- 'easeIn'
- ).get,
- easeOutBez = BezierFactory.getBezierEasing(
- 0.167,
- 0.167,
- 0.667,
- 1,
- 'easeOut'
- ).get,
- easeInOutBez = BezierFactory.getBezierEasing(
- 0.33,
- 0,
- 0.667,
- 1,
- 'easeInOut'
- ).get
- function sum(e, t) {
- var n = _typeof(e),
- r = _typeof(t)
- if ('string' === n || 'string' === r) return e + t
- if (isNumerable(n, e) && isNumerable(r, t)) return e + t
- if ($bm_isInstanceOfArray(e) && isNumerable(r, t))
- return ((e = e.slice(0))[0] += t), e
- if (isNumerable(n, e) && $bm_isInstanceOfArray(t))
- return ((t = t.slice(0))[0] = e + t[0]), t
- if ($bm_isInstanceOfArray(e) && $bm_isInstanceOfArray(t)) {
- for (var a = 0, o = e.length, i = t.length, s = []; a < o || a < i; )
- ('number' == typeof e[a] || e[a] instanceof Number) &&
- ('number' == typeof t[a] || t[a] instanceof Number)
- ? (s[a] = e[a] + t[a])
- : (s[a] = void 0 === t[a] ? e[a] : e[a] || t[a]),
- (a += 1)
- return s
- }
- return 0
- }
- var add = sum
- function sub(e, t) {
- var n = _typeof(e),
- r = _typeof(t)
- if (isNumerable(n, e) && isNumerable(r, t))
- return (
- 'string' === n && (e = parseInt(e, 10)),
- 'string' === r && (t = parseInt(t, 10)),
- e - t
- )
- if ($bm_isInstanceOfArray(e) && isNumerable(r, t))
- return ((e = e.slice(0))[0] -= t), e
- if (isNumerable(n, e) && $bm_isInstanceOfArray(t))
- return ((t = t.slice(0))[0] = e - t[0]), t
- if ($bm_isInstanceOfArray(e) && $bm_isInstanceOfArray(t)) {
- for (var a = 0, o = e.length, i = t.length, s = []; a < o || a < i; )
- ('number' == typeof e[a] || e[a] instanceof Number) &&
- ('number' == typeof t[a] || t[a] instanceof Number)
- ? (s[a] = e[a] - t[a])
- : (s[a] = void 0 === t[a] ? e[a] : e[a] || t[a]),
- (a += 1)
- return s
- }
- return 0
- }
- function mul(e, t) {
- var n,
- r,
- a,
- o = _typeof(e),
- i = _typeof(t)
- if (isNumerable(o, e) && isNumerable(i, t)) return e * t
- if ($bm_isInstanceOfArray(e) && isNumerable(i, t)) {
- for (a = e.length, n = createTypedArray('float32', a), r = 0; r < a; r += 1)
- n[r] = e[r] * t
- return n
- }
- if (isNumerable(o, e) && $bm_isInstanceOfArray(t)) {
- for (a = t.length, n = createTypedArray('float32', a), r = 0; r < a; r += 1)
- n[r] = e * t[r]
- return n
- }
- return 0
- }
- function div(e, t) {
- var n,
- r,
- a,
- o = _typeof(e),
- i = _typeof(t)
- if (isNumerable(o, e) && isNumerable(i, t)) return e / t
- if ($bm_isInstanceOfArray(e) && isNumerable(i, t)) {
- for (a = e.length, n = createTypedArray('float32', a), r = 0; r < a; r += 1)
- n[r] = e[r] / t
- return n
- }
- if (isNumerable(o, e) && $bm_isInstanceOfArray(t)) {
- for (a = t.length, n = createTypedArray('float32', a), r = 0; r < a; r += 1)
- n[r] = e / t[r]
- return n
- }
- return 0
- }
- function mod(e, t) {
- return (
- 'string' == typeof e && (e = parseInt(e, 10)),
- 'string' == typeof t && (t = parseInt(t, 10)),
- e % t
- )
- }
- var $bm_sum = sum,
- $bm_sub = sub,
- $bm_mul = mul,
- $bm_div = div,
- $bm_mod = mod
- function clamp(e, t, n) {
- if (t > n) {
- var r = n
- ;(n = t), (t = r)
- }
- return Math.min(Math.max(e, t), n)
- }
- function radiansToDegrees(e) {
- return e / degToRads
- }
- var radians_to_degrees = radiansToDegrees
- function degreesToRadians(e) {
- return e * degToRads
- }
- var degrees_to_radians = radiansToDegrees,
- helperLengthArray = [0, 0, 0, 0, 0, 0]
- function length(e, t) {
- if ('number' == typeof e || e instanceof Number)
- return (t = t || 0), Math.abs(e - t)
- var n
- t || (t = helperLengthArray)
- var r = Math.min(e.length, t.length),
- a = 0
- for (n = 0; n < r; n += 1) a += Math.pow(t[n] - e[n], 2)
- return Math.sqrt(a)
- }
- function normalize(e) {
- return div(e, length(e))
- }
- function rgbToHsl(e) {
- var t,
- n,
- r = e[0],
- a = e[1],
- o = e[2],
- i = Math.max(r, a, o),
- s = Math.min(r, a, o),
- l = (i + s) / 2
- if (i === s) (t = 0), (n = 0)
- else {
- var c = i - s
- switch (((n = l > 0.5 ? c / (2 - i - s) : c / (i + s)), i)) {
- case r:
- t = (a - o) / c + (a < o ? 6 : 0)
- break
- case a:
- t = (o - r) / c + 2
- break
- case o:
- t = (r - a) / c + 4
- }
- t /= 6
- }
- return [t, n, l, e[3]]
- }
- function hue2rgb(e, t, n) {
- return (
- n < 0 && (n += 1),
- n > 1 && (n -= 1),
- n < 1 / 6
- ? e + 6 * (t - e) * n
- : n < 0.5
- ? t
- : n < 2 / 3
- ? e + (t - e) * (2 / 3 - n) * 6
- : e
- )
- }
- function hslToRgb(e) {
- var t,
- n,
- r,
- a = e[0],
- o = e[1],
- i = e[2]
- if (0 === o) (t = i), (r = i), (n = i)
- else {
- var s = i < 0.5 ? i * (1 + o) : i + o - i * o,
- l = 2 * i - s
- ;(t = hue2rgb(l, s, a + 1 / 3)),
- (n = hue2rgb(l, s, a)),
- (r = hue2rgb(l, s, a - 1 / 3))
- }
- return [t, n, r, e[3]]
- }
- function linear(e, t, n, r, a) {
- if (
- ((void 0 !== r && void 0 !== a) || ((r = t), (a = n), (t = 0), (n = 1)),
- n < t)
- ) {
- var o = n
- ;(n = t), (t = o)
- }
- if (e <= t) return r
- if (e >= n) return a
- var i,
- s = n === t ? 0 : (e - t) / (n - t)
- if (!r.length) return r + (a - r) * s
- var l = r.length,
- c = createTypedArray('float32', l)
- for (i = 0; i < l; i += 1) c[i] = r[i] + (a[i] - r[i]) * s
- return c
- }
- function random(e, t) {
- if (
- (void 0 === t &&
- (void 0 === e ? ((e = 0), (t = 1)) : ((t = e), (e = void 0))),
- t.length)
- ) {
- var n,
- r = t.length
- e || (e = createTypedArray('float32', r))
- var a = createTypedArray('float32', r),
- o = BMMath.random()
- for (n = 0; n < r; n += 1) a[n] = e[n] + o * (t[n] - e[n])
- return a
- }
- return void 0 === e && (e = 0), e + BMMath.random() * (t - e)
- }
- function createPath(e, t, n, r) {
- var a,
- o = e.length,
- i = shapePool.newElement()
- i.setPathData(!!r, o)
- var s,
- l,
- c = [0, 0]
- for (a = 0; a < o; a += 1)
- (s = t && t[a] ? t[a] : c),
- (l = n && n[a] ? n[a] : c),
- i.setTripleAt(
- e[a][0],
- e[a][1],
- l[0] + e[a][0],
- l[1] + e[a][1],
- s[0] + e[a][0],
- s[1] + e[a][1],
- a,
- !0
- )
- return i
- }
- function initiateExpression(elem, data, property) {
- var val = data.x,
- needsVelocity = /velocity(?![\w\d])/.test(val),
- _needsRandom = -1 !== val.indexOf('random'),
- elemType = elem.data.ty,
- transform,
- $bm_transform,
- content,
- effect,
- thisProperty = property
- ;(thisProperty.valueAtTime = thisProperty.getValueAtTime),
- Object.defineProperty(thisProperty, 'value', {
- get: function () {
- return thisProperty.v
- }
- }),
- (elem.comp.frameDuration = 1 / elem.comp.globalData.frameRate),
- (elem.comp.displayStartTime = 0)
- var inPoint = elem.data.ip / elem.comp.globalData.frameRate,
- outPoint = elem.data.op / elem.comp.globalData.frameRate,
- width = elem.data.sw ? elem.data.sw : 0,
- height = elem.data.sh ? elem.data.sh : 0,
- name = elem.data.nm,
- loopIn,
- loop_in,
- loopOut,
- loop_out,
- smooth,
- toWorld,
- fromWorld,
- fromComp,
- toComp,
- fromCompToSurface,
- position,
- rotation,
- anchorPoint,
- scale,
- thisLayer,
- thisComp,
- mask,
- valueAtTime,
- velocityAtTime,
- scoped_bm_rt,
- expression_function = eval(
- '[function _expression_function(){' + val + ';scoped_bm_rt=$bm_rt}]'
- )[0],
- numKeys = property.kf ? data.k.length : 0,
- active = !this.data || !0 !== this.data.hd,
- wiggle = function (e, t) {
- var n,
- r,
- a = this.pv.length ? this.pv.length : 1,
- o = createTypedArray('float32', a),
- i = Math.floor(5 * time)
- for (n = 0, r = 0; n < i; ) {
- for (r = 0; r < a; r += 1) o[r] += -t + 2 * t * BMMath.random()
- n += 1
- }
- var s = 5 * time,
- l = s - Math.floor(s),
- c = createTypedArray('float32', a)
- if (a > 1) {
- for (r = 0; r < a; r += 1)
- c[r] = this.pv[r] + o[r] + (-t + 2 * t * BMMath.random()) * l
- return c
- }
- return this.pv + o[0] + (-t + 2 * t * BMMath.random()) * l
- }.bind(this)
- function loopInDuration(e, t) {
- return loopIn(e, t, !0)
- }
- function loopOutDuration(e, t) {
- return loopOut(e, t, !0)
- }
- thisProperty.loopIn &&
- ((loopIn = thisProperty.loopIn.bind(thisProperty)), (loop_in = loopIn)),
- thisProperty.loopOut &&
- ((loopOut = thisProperty.loopOut.bind(thisProperty)),
- (loop_out = loopOut)),
- thisProperty.smooth && (smooth = thisProperty.smooth.bind(thisProperty)),
- this.getValueAtTime && (valueAtTime = this.getValueAtTime.bind(this)),
- this.getVelocityAtTime &&
- (velocityAtTime = this.getVelocityAtTime.bind(this))
- var comp = elem.comp.globalData.projectInterface.bind(
- elem.comp.globalData.projectInterface
- ),
- time,
- velocity,
- value,
- text,
- textIndex,
- textTotal,
- selectorValue
- function lookAt(e, t) {
- var n = [t[0] - e[0], t[1] - e[1], t[2] - e[2]],
- r = Math.atan2(n[0], Math.sqrt(n[1] * n[1] + n[2] * n[2])) / degToRads
- return [-Math.atan2(n[1], n[2]) / degToRads, r, 0]
- }
- function easeOut(e, t, n, r, a) {
- return applyEase(easeOutBez, e, t, n, r, a)
- }
- function easeIn(e, t, n, r, a) {
- return applyEase(easeInBez, e, t, n, r, a)
- }
- function ease(e, t, n, r, a) {
- return applyEase(easeInOutBez, e, t, n, r, a)
- }
- function applyEase(e, t, n, r, a, o) {
- void 0 === a ? ((a = n), (o = r)) : (t = (t - n) / (r - n)),
- t > 1 ? (t = 1) : t < 0 && (t = 0)
- var i = e(t)
- if ($bm_isInstanceOfArray(a)) {
- var s,
- l = a.length,
- c = createTypedArray('float32', l)
- for (s = 0; s < l; s += 1) c[s] = (o[s] - a[s]) * i + a[s]
- return c
- }
- return (o - a) * i + a
- }
- function nearestKey(e) {
- var t,
- n,
- r,
- a = data.k.length
- if (data.k.length && 'number' != typeof data.k[0])
- if (((n = -1), (e *= elem.comp.globalData.frameRate) < data.k[0].t))
- (n = 1), (r = data.k[0].t)
- else {
- for (t = 0; t < a - 1; t += 1) {
- if (e === data.k[t].t) {
- ;(n = t + 1), (r = data.k[t].t)
- break
- }
- if (e > data.k[t].t && e < data.k[t + 1].t) {
- e - data.k[t].t > data.k[t + 1].t - e
- ? ((n = t + 2), (r = data.k[t + 1].t))
- : ((n = t + 1), (r = data.k[t].t))
- break
- }
- }
- ;-1 === n && ((n = t + 1), (r = data.k[t].t))
- }
- else (n = 0), (r = 0)
- var o = {}
- return (o.index = n), (o.time = r / elem.comp.globalData.frameRate), o
- }
- function key(e) {
- var t, n, r
- if (!data.k.length || 'number' == typeof data.k[0])
- throw new Error('The property has no keyframe at index ' + e)
- ;(e -= 1),
- (t = { time: data.k[e].t / elem.comp.globalData.frameRate, value: [] })
- var a = Object.prototype.hasOwnProperty.call(data.k[e], 's')
- ? data.k[e].s
- : data.k[e - 1].e
- for (r = a.length, n = 0; n < r; n += 1) (t[n] = a[n]), (t.value[n] = a[n])
- return t
- }
- function framesToTime(e, t) {
- return t || (t = elem.comp.globalData.frameRate), e / t
- }
- function timeToFrames(e, t) {
- return (
- e || 0 === e || (e = time),
- t || (t = elem.comp.globalData.frameRate),
- e * t
- )
- }
- function seedRandom(e) {
- BMMath.seedrandom(randSeed + e)
- }
- function sourceRectAtTime() {
- return elem.sourceRectAtTime()
- }
- function substring(e, t) {
- return 'string' == typeof value
- ? void 0 === t
- ? value.substring(e)
- : value.substring(e, t)
- : ''
- }
- function substr(e, t) {
- return 'string' == typeof value
- ? void 0 === t
- ? value.substr(e)
- : value.substr(e, t)
- : ''
- }
- function posterizeTime(e) {
- ;(time = 0 === e ? 0 : Math.floor(time * e) / e),
- (value = valueAtTime(time))
- }
- var index = elem.data.ind,
- hasParent = !(!elem.hierarchy || !elem.hierarchy.length),
- parent,
- randSeed = Math.floor(1e6 * Math.random()),
- globalData = elem.globalData
- function executeExpression(e) {
- return (
- (value = e),
- this.frameExpressionId === elem.globalData.frameId &&
- 'textSelector' !== this.propType
- ? value
- : ('textSelector' === this.propType &&
- ((textIndex = this.textIndex),
- (textTotal = this.textTotal),
- (selectorValue = this.selectorValue)),
- thisLayer ||
- ((text = elem.layerInterface.text),
- (thisLayer = elem.layerInterface),
- (thisComp = elem.comp.compInterface),
- (toWorld = thisLayer.toWorld.bind(thisLayer)),
- (fromWorld = thisLayer.fromWorld.bind(thisLayer)),
- (fromComp = thisLayer.fromComp.bind(thisLayer)),
- (toComp = thisLayer.toComp.bind(thisLayer)),
- (mask = thisLayer.mask ? thisLayer.mask.bind(thisLayer) : null),
- (fromCompToSurface = fromComp)),
- transform ||
- ((transform = elem.layerInterface('ADBE Transform Group')),
- ($bm_transform = transform),
- transform && (anchorPoint = transform.anchorPoint)),
- 4 !== elemType ||
- content ||
- (content = thisLayer('ADBE Root Vectors Group')),
- effect || (effect = thisLayer(4)),
- (hasParent = !(!elem.hierarchy || !elem.hierarchy.length)) &&
- !parent &&
- (parent = elem.hierarchy[0].layerInterface),
- (time = this.comp.renderedFrame / this.comp.globalData.frameRate),
- _needsRandom && seedRandom(randSeed + time),
- needsVelocity && (velocity = velocityAtTime(time)),
- expression_function(),
- (this.frameExpressionId = elem.globalData.frameId),
- (scoped_bm_rt =
- scoped_bm_rt.propType === propTypes.SHAPE
- ? scoped_bm_rt.v
- : scoped_bm_rt))
- )
- }
- return (
- (executeExpression.__preventDeadCodeRemoval = [
- $bm_transform,
- anchorPoint,
- time,
- velocity,
- inPoint,
- outPoint,
- width,
- height,
- name,
- loop_in,
- loop_out,
- smooth,
- toComp,
- fromCompToSurface,
- toWorld,
- fromWorld,
- mask,
- position,
- rotation,
- scale,
- thisComp,
- numKeys,
- active,
- wiggle,
- loopInDuration,
- loopOutDuration,
- comp,
- lookAt,
- easeOut,
- easeIn,
- ease,
- nearestKey,
- key,
- text,
- textIndex,
- textTotal,
- selectorValue,
- framesToTime,
- timeToFrames,
- sourceRectAtTime,
- substring,
- substr,
- posterizeTime,
- index,
- globalData
- ]),
- executeExpression
- )
- }
- return (
- (ob.initiateExpression = initiateExpression),
- (ob.__preventDeadCodeRemoval = [
- window,
- document,
- XMLHttpRequest,
- fetch,
- frames,
- $bm_neg,
- add,
- $bm_sum,
- $bm_sub,
- $bm_mul,
- $bm_div,
- $bm_mod,
- clamp,
- radians_to_degrees,
- degreesToRadians,
- degrees_to_radians,
- normalize,
- rgbToHsl,
- hslToRgb,
- linear,
- random,
- createPath
- ]),
- ob
- )
- })(),
- expressionHelpers = {
- searchExpressions: function (e, t, n) {
- t.x &&
- ((n.k = !0),
- (n.x = !0),
- (n.initiateExpression = ExpressionManager.initiateExpression),
- n.effectsSequence.push(n.initiateExpression(e, t, n).bind(n)))
- },
- getSpeedAtTime: function (e) {
- var t = this.getValueAtTime(e),
- n = this.getValueAtTime(e + -0.01),
- r = 0
- if (t.length) {
- var a
- for (a = 0; a < t.length; a += 1) r += Math.pow(n[a] - t[a], 2)
- r = 100 * Math.sqrt(r)
- } else r = 0
- return r
- },
- getVelocityAtTime: function (e) {
- if (void 0 !== this.vel) return this.vel
- var t,
- n,
- r = -0.001,
- a = this.getValueAtTime(e),
- o = this.getValueAtTime(e + r)
- if (a.length)
- for (t = createTypedArray('float32', a.length), n = 0; n < a.length; n += 1)
- t[n] = (o[n] - a[n]) / r
- else t = (o - a) / r
- return t
- },
- getValueAtTime: function (e) {
- return (
- (e *= this.elem.globalData.frameRate),
- (e -= this.offsetTime) !== this._cachingAtTime.lastFrame &&
- ((this._cachingAtTime.lastIndex =
- this._cachingAtTime.lastFrame < e ? this._cachingAtTime.lastIndex : 0),
- (this._cachingAtTime.value = this.interpolateValue(
- e,
- this._cachingAtTime
- )),
- (this._cachingAtTime.lastFrame = e)),
- this._cachingAtTime.value
- )
- },
- getStaticValueAtTime: function () {
- return this.pv
- },
- setGroupProperty: function (e) {
- this.propertyGroup = e
- }
- }
- function addPropertyDecorator() {
- function e(e, t, n) {
- if (!this.k || !this.keyframes) return this.pv
- e = e ? e.toLowerCase() : ''
- var r,
- a,
- o,
- i,
- s,
- l = this.comp.renderedFrame,
- c = this.keyframes,
- u = c[c.length - 1].t
- if (l <= u) return this.pv
- if (
- (n
- ? (a =
- u -
- (r = t
- ? Math.abs(u - this.elem.comp.globalData.frameRate * t)
- : Math.max(0, u - this.elem.data.ip)))
- : ((!t || t > c.length - 1) && (t = c.length - 1),
- (r = u - (a = c[c.length - 1 - t].t))),
- 'pingpong' === e)
- ) {
- if (Math.floor((l - a) / r) % 2 != 0)
- return this.getValueAtTime(
- (r - ((l - a) % r) + a) / this.comp.globalData.frameRate,
- 0
- )
- } else {
- if ('offset' === e) {
- var p = this.getValueAtTime(a / this.comp.globalData.frameRate, 0),
- d = this.getValueAtTime(u / this.comp.globalData.frameRate, 0),
- f = this.getValueAtTime(
- (((l - a) % r) + a) / this.comp.globalData.frameRate,
- 0
- ),
- h = Math.floor((l - a) / r)
- if (this.pv.length) {
- for (i = (s = new Array(p.length)).length, o = 0; o < i; o += 1)
- s[o] = (d[o] - p[o]) * h + f[o]
- return s
- }
- return (d - p) * h + f
- }
- if ('continue' === e) {
- var v = this.getValueAtTime(u / this.comp.globalData.frameRate, 0),
- m = this.getValueAtTime((u - 0.001) / this.comp.globalData.frameRate, 0)
- if (this.pv.length) {
- for (i = (s = new Array(v.length)).length, o = 0; o < i; o += 1)
- s[o] =
- v[o] +
- ((v[o] - m[o]) * ((l - u) / this.comp.globalData.frameRate)) / 5e-4
- return s
- }
- return v + ((l - u) / 0.001) * (v - m)
- }
- }
- return this.getValueAtTime(
- (((l - a) % r) + a) / this.comp.globalData.frameRate,
- 0
- )
- }
- function t(e, t, n) {
- if (!this.k) return this.pv
- e = e ? e.toLowerCase() : ''
- var r,
- a,
- o,
- i,
- s,
- l = this.comp.renderedFrame,
- c = this.keyframes,
- u = c[0].t
- if (l >= u) return this.pv
- if (
- (n
- ? (a =
- u +
- (r = t
- ? Math.abs(this.elem.comp.globalData.frameRate * t)
- : Math.max(0, this.elem.data.op - u)))
- : ((!t || t > c.length - 1) && (t = c.length - 1), (r = (a = c[t].t) - u)),
- 'pingpong' === e)
- ) {
- if (Math.floor((u - l) / r) % 2 == 0)
- return this.getValueAtTime(
- (((u - l) % r) + u) / this.comp.globalData.frameRate,
- 0
- )
- } else {
- if ('offset' === e) {
- var p = this.getValueAtTime(u / this.comp.globalData.frameRate, 0),
- d = this.getValueAtTime(a / this.comp.globalData.frameRate, 0),
- f = this.getValueAtTime(
- (r - ((u - l) % r) + u) / this.comp.globalData.frameRate,
- 0
- ),
- h = Math.floor((u - l) / r) + 1
- if (this.pv.length) {
- for (i = (s = new Array(p.length)).length, o = 0; o < i; o += 1)
- s[o] = f[o] - (d[o] - p[o]) * h
- return s
- }
- return f - (d - p) * h
- }
- if ('continue' === e) {
- var v = this.getValueAtTime(u / this.comp.globalData.frameRate, 0),
- m = this.getValueAtTime((u + 0.001) / this.comp.globalData.frameRate, 0)
- if (this.pv.length) {
- for (i = (s = new Array(v.length)).length, o = 0; o < i; o += 1)
- s[o] = v[o] + ((v[o] - m[o]) * (u - l)) / 0.001
- return s
- }
- return v + ((v - m) * (u - l)) / 0.001
- }
- }
- return this.getValueAtTime(
- (r - (((u - l) % r) + u)) / this.comp.globalData.frameRate,
- 0
- )
- }
- function n(e, t) {
- if (!this.k) return this.pv
- if (((e = 0.5 * (e || 0.4)), (t = Math.floor(t || 5)) <= 1)) return this.pv
- var n,
- r,
- a = this.comp.renderedFrame / this.comp.globalData.frameRate,
- o = a - e,
- i = t > 1 ? (a + e - o) / (t - 1) : 1,
- s = 0,
- l = 0
- for (
- n = this.pv.length ? createTypedArray('float32', this.pv.length) : 0;
- s < t;
- ) {
- if (((r = this.getValueAtTime(o + s * i)), this.pv.length))
- for (l = 0; l < this.pv.length; l += 1) n[l] += r[l]
- else n += r
- s += 1
- }
- if (this.pv.length) for (l = 0; l < this.pv.length; l += 1) n[l] /= t
- else n /= t
- return n
- }
- function r(e) {
- this._transformCachingAtTime ||
- (this._transformCachingAtTime = { v: new Matrix() })
- var t = this._transformCachingAtTime.v
- if ((t.cloneFromProps(this.pre.props), this.appliedTransformations < 1)) {
- var n = this.a.getValueAtTime(e)
- t.translate(-n[0] * this.a.mult, -n[1] * this.a.mult, n[2] * this.a.mult)
- }
- if (this.appliedTransformations < 2) {
- var r = this.s.getValueAtTime(e)
- t.scale(r[0] * this.s.mult, r[1] * this.s.mult, r[2] * this.s.mult)
- }
- if (this.sk && this.appliedTransformations < 3) {
- var a = this.sk.getValueAtTime(e),
- o = this.sa.getValueAtTime(e)
- t.skewFromAxis(-a * this.sk.mult, o * this.sa.mult)
- }
- if (this.r && this.appliedTransformations < 4) {
- var i = this.r.getValueAtTime(e)
- t.rotate(-i * this.r.mult)
- } else if (!this.r && this.appliedTransformations < 4) {
- var s = this.rz.getValueAtTime(e),
- l = this.ry.getValueAtTime(e),
- c = this.rx.getValueAtTime(e),
- u = this.or.getValueAtTime(e)
- t.rotateZ(-s * this.rz.mult)
- .rotateY(l * this.ry.mult)
- .rotateX(c * this.rx.mult)
- .rotateZ(-u[2] * this.or.mult)
- .rotateY(u[1] * this.or.mult)
- .rotateX(u[0] * this.or.mult)
- }
- if (this.data.p && this.data.p.s) {
- var p = this.px.getValueAtTime(e),
- d = this.py.getValueAtTime(e)
- if (this.data.p.z) {
- var f = this.pz.getValueAtTime(e)
- t.translate(p * this.px.mult, d * this.py.mult, -f * this.pz.mult)
- } else t.translate(p * this.px.mult, d * this.py.mult, 0)
- } else {
- var h = this.p.getValueAtTime(e)
- t.translate(h[0] * this.p.mult, h[1] * this.p.mult, -h[2] * this.p.mult)
- }
- return t
- }
- function a() {
- return this.v.clone(new Matrix())
- }
- var o = TransformPropertyFactory.getTransformProperty
- TransformPropertyFactory.getTransformProperty = function (e, t, n) {
- var i = o(e, t, n)
- return (
- i.dynamicProperties.length
- ? (i.getValueAtTime = r.bind(i))
- : (i.getValueAtTime = a.bind(i)),
- (i.setGroupProperty = expressionHelpers.setGroupProperty),
- i
- )
- }
- var i = PropertyFactory.getProp
- PropertyFactory.getProp = function (r, a, o, s, l) {
- var c = i(r, a, o, s, l)
- c.kf
- ? (c.getValueAtTime = expressionHelpers.getValueAtTime.bind(c))
- : (c.getValueAtTime = expressionHelpers.getStaticValueAtTime.bind(c)),
- (c.setGroupProperty = expressionHelpers.setGroupProperty),
- (c.loopOut = e),
- (c.loopIn = t),
- (c.smooth = n),
- (c.getVelocityAtTime = expressionHelpers.getVelocityAtTime.bind(c)),
- (c.getSpeedAtTime = expressionHelpers.getSpeedAtTime.bind(c)),
- (c.numKeys = 1 === a.a ? a.k.length : 0),
- (c.propertyIndex = a.ix)
- var u = 0
- return (
- 0 !== o &&
- (u = createTypedArray('float32', 1 === a.a ? a.k[0].s.length : a.k.length)),
- (c._cachingAtTime = {
- lastFrame: initialDefaultFrame,
- lastIndex: 0,
- value: u
- }),
- expressionHelpers.searchExpressions(r, a, c),
- c.k && l.addDynamicProperty(c),
- c
- )
- }
- var s = ShapePropertyFactory.getConstructorFunction(),
- l = ShapePropertyFactory.getKeyframedConstructorFunction()
- function c() {}
- ;(c.prototype = {
- vertices: function (e, t) {
- this.k && this.getValue()
- var n,
- r = this.v
- void 0 !== t && (r = this.getValueAtTime(t, 0))
- var a = r._length,
- o = r[e],
- i = r.v,
- s = createSizedArray(a)
- for (n = 0; n < a; n += 1)
- s[n] =
- 'i' === e || 'o' === e
- ? [o[n][0] - i[n][0], o[n][1] - i[n][1]]
- : [o[n][0], o[n][1]]
- return s
- },
- points: function (e) {
- return this.vertices('v', e)
- },
- inTangents: function (e) {
- return this.vertices('i', e)
- },
- outTangents: function (e) {
- return this.vertices('o', e)
- },
- isClosed: function () {
- return this.v.c
- },
- pointOnPath: function (e, t) {
- var n = this.v
- void 0 !== t && (n = this.getValueAtTime(t, 0)),
- this._segmentsLength || (this._segmentsLength = bez.getSegmentsLength(n))
- for (
- var r,
- a = this._segmentsLength,
- o = a.lengths,
- i = a.totalLength * e,
- s = 0,
- l = o.length,
- c = 0;
- s < l;
- ) {
- if (c + o[s].addedLength > i) {
- var u = s,
- p = n.c && s === l - 1 ? 0 : s + 1,
- d = (i - c) / o[s].addedLength
- r = bez.getPointInSegment(n.v[u], n.v[p], n.o[u], n.i[p], d, o[s])
- break
- }
- ;(c += o[s].addedLength), (s += 1)
- }
- return (
- r ||
- (r = n.c
- ? [n.v[0][0], n.v[0][1]]
- : [n.v[n._length - 1][0], n.v[n._length - 1][1]]),
- r
- )
- },
- vectorOnPath: function (e, t, n) {
- 1 == e ? (e = this.v.c) : 0 == e && (e = 0.999)
- var r = this.pointOnPath(e, t),
- a = this.pointOnPath(e + 0.001, t),
- o = a[0] - r[0],
- i = a[1] - r[1],
- s = Math.sqrt(Math.pow(o, 2) + Math.pow(i, 2))
- return 0 === s ? [0, 0] : 'tangent' === n ? [o / s, i / s] : [-i / s, o / s]
- },
- tangentOnPath: function (e, t) {
- return this.vectorOnPath(e, t, 'tangent')
- },
- normalOnPath: function (e, t) {
- return this.vectorOnPath(e, t, 'normal')
- },
- setGroupProperty: expressionHelpers.setGroupProperty,
- getValueAtTime: expressionHelpers.getStaticValueAtTime
- }),
- extendPrototype([c], s),
- extendPrototype([c], l),
- (l.prototype.getValueAtTime = function (e) {
- return (
- this._cachingAtTime ||
- (this._cachingAtTime = {
- shapeValue: shapePool.clone(this.pv),
- lastIndex: 0,
- lastTime: initialDefaultFrame
- }),
- (e *= this.elem.globalData.frameRate),
- (e -= this.offsetTime) !== this._cachingAtTime.lastTime &&
- ((this._cachingAtTime.lastIndex =
- this._cachingAtTime.lastTime < e ? this._caching.lastIndex : 0),
- (this._cachingAtTime.lastTime = e),
- this.interpolateShape(
- e,
- this._cachingAtTime.shapeValue,
- this._cachingAtTime
- )),
- this._cachingAtTime.shapeValue
- )
- }),
- (l.prototype.initiateExpression = ExpressionManager.initiateExpression)
- var u = ShapePropertyFactory.getShapeProp
- ShapePropertyFactory.getShapeProp = function (e, t, n, r, a) {
- var o = u(e, t, n, r, a)
- return (
- (o.propertyIndex = t.ix),
- (o.lock = !1),
- 3 === n
- ? expressionHelpers.searchExpressions(e, t.pt, o)
- : 4 === n && expressionHelpers.searchExpressions(e, t.ks, o),
- o.k && e.addDynamicProperty(o),
- o
- )
- }
- }
- function initialize$1() {
- addPropertyDecorator()
- }
- function addDecorator() {
- ;(TextProperty.prototype.getExpressionValue = function (e, t) {
- var n = this.calculateExpression(t)
- if (e.t !== n) {
- var r = {}
- return this.copyData(r, e), (r.t = n.toString()), (r.__complete = !1), r
- }
- return e
- }),
- (TextProperty.prototype.searchProperty = function () {
- var e = this.searchKeyframes(),
- t = this.searchExpressions()
- return (this.kf = e || t), this.kf
- }),
- (TextProperty.prototype.searchExpressions = function () {
- return this.data.d.x
- ? ((this.calculateExpression = ExpressionManager.initiateExpression.bind(
- this
- )(this.elem, this.data.d, this)),
- this.addEffect(this.getExpressionValue.bind(this)),
- !0)
- : null
- })
- }
- function initialize() {
- addDecorator()
- }
- function SVGComposableEffect() {}
- function SVGTintFilter(e, t, n, r, a) {
- this.filterManager = t
- var o = createNS('feColorMatrix')
- o.setAttribute('type', 'matrix'),
- o.setAttribute('color-interpolation-filters', 'linearRGB'),
- o.setAttribute(
- 'values',
- '0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0'
- ),
- o.setAttribute('result', r + '_tint_1'),
- e.appendChild(o),
- (o = createNS('feColorMatrix')).setAttribute('type', 'matrix'),
- o.setAttribute('color-interpolation-filters', 'sRGB'),
- o.setAttribute('values', '1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0'),
- o.setAttribute('result', r + '_tint_2'),
- e.appendChild(o),
- (this.matrixFilter = o)
- var i = this.createMergeNode(r, [a, r + '_tint_1', r + '_tint_2'])
- e.appendChild(i)
- }
- function SVGFillFilter(e, t, n, r) {
- this.filterManager = t
- var a = createNS('feColorMatrix')
- a.setAttribute('type', 'matrix'),
- a.setAttribute('color-interpolation-filters', 'sRGB'),
- a.setAttribute('values', '1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0'),
- a.setAttribute('result', r),
- e.appendChild(a),
- (this.matrixFilter = a)
- }
- function SVGStrokeEffect(e, t, n) {
- ;(this.initialized = !1),
- (this.filterManager = t),
- (this.elem = n),
- (this.paths = [])
- }
- function SVGTritoneFilter(e, t, n, r) {
- this.filterManager = t
- var a = createNS('feColorMatrix')
- a.setAttribute('type', 'matrix'),
- a.setAttribute('color-interpolation-filters', 'linearRGB'),
- a.setAttribute(
- 'values',
- '0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0'
- ),
- e.appendChild(a)
- var o = createNS('feComponentTransfer')
- o.setAttribute('color-interpolation-filters', 'sRGB'),
- o.setAttribute('result', r),
- (this.matrixFilter = o)
- var i = createNS('feFuncR')
- i.setAttribute('type', 'table'), o.appendChild(i), (this.feFuncR = i)
- var s = createNS('feFuncG')
- s.setAttribute('type', 'table'), o.appendChild(s), (this.feFuncG = s)
- var l = createNS('feFuncB')
- l.setAttribute('type', 'table'),
- o.appendChild(l),
- (this.feFuncB = l),
- e.appendChild(o)
- }
- function SVGProLevelsFilter(e, t, n, r) {
- this.filterManager = t
- var a = this.filterManager.effectElements,
- o = createNS('feComponentTransfer')
- ;(a[10].p.k ||
- 0 !== a[10].p.v ||
- a[11].p.k ||
- 1 !== a[11].p.v ||
- a[12].p.k ||
- 1 !== a[12].p.v ||
- a[13].p.k ||
- 0 !== a[13].p.v ||
- a[14].p.k ||
- 1 !== a[14].p.v) &&
- (this.feFuncR = this.createFeFunc('feFuncR', o)),
- (a[17].p.k ||
- 0 !== a[17].p.v ||
- a[18].p.k ||
- 1 !== a[18].p.v ||
- a[19].p.k ||
- 1 !== a[19].p.v ||
- a[20].p.k ||
- 0 !== a[20].p.v ||
- a[21].p.k ||
- 1 !== a[21].p.v) &&
- (this.feFuncG = this.createFeFunc('feFuncG', o)),
- (a[24].p.k ||
- 0 !== a[24].p.v ||
- a[25].p.k ||
- 1 !== a[25].p.v ||
- a[26].p.k ||
- 1 !== a[26].p.v ||
- a[27].p.k ||
- 0 !== a[27].p.v ||
- a[28].p.k ||
- 1 !== a[28].p.v) &&
- (this.feFuncB = this.createFeFunc('feFuncB', o)),
- (a[31].p.k ||
- 0 !== a[31].p.v ||
- a[32].p.k ||
- 1 !== a[32].p.v ||
- a[33].p.k ||
- 1 !== a[33].p.v ||
- a[34].p.k ||
- 0 !== a[34].p.v ||
- a[35].p.k ||
- 1 !== a[35].p.v) &&
- (this.feFuncA = this.createFeFunc('feFuncA', o)),
- (this.feFuncR || this.feFuncG || this.feFuncB || this.feFuncA) &&
- (o.setAttribute('color-interpolation-filters', 'sRGB'), e.appendChild(o)),
- (a[3].p.k ||
- 0 !== a[3].p.v ||
- a[4].p.k ||
- 1 !== a[4].p.v ||
- a[5].p.k ||
- 1 !== a[5].p.v ||
- a[6].p.k ||
- 0 !== a[6].p.v ||
- a[7].p.k ||
- 1 !== a[7].p.v) &&
- ((o = createNS('feComponentTransfer')).setAttribute(
- 'color-interpolation-filters',
- 'sRGB'
- ),
- o.setAttribute('result', r),
- e.appendChild(o),
- (this.feFuncRComposed = this.createFeFunc('feFuncR', o)),
- (this.feFuncGComposed = this.createFeFunc('feFuncG', o)),
- (this.feFuncBComposed = this.createFeFunc('feFuncB', o)))
- }
- function SVGDropShadowEffect(e, t, n, r, a) {
- var o = t.container.globalData.renderConfig.filterSize,
- i = t.data.fs || o
- e.setAttribute('x', i.x || o.x),
- e.setAttribute('y', i.y || o.y),
- e.setAttribute('width', i.width || o.width),
- e.setAttribute('height', i.height || o.height),
- (this.filterManager = t)
- var s = createNS('feGaussianBlur')
- s.setAttribute('in', 'SourceAlpha'),
- s.setAttribute('result', r + '_drop_shadow_1'),
- s.setAttribute('stdDeviation', '0'),
- (this.feGaussianBlur = s),
- e.appendChild(s)
- var l = createNS('feOffset')
- l.setAttribute('dx', '25'),
- l.setAttribute('dy', '0'),
- l.setAttribute('in', r + '_drop_shadow_1'),
- l.setAttribute('result', r + '_drop_shadow_2'),
- (this.feOffset = l),
- e.appendChild(l)
- var c = createNS('feFlood')
- c.setAttribute('flood-color', '#00ff00'),
- c.setAttribute('flood-opacity', '1'),
- c.setAttribute('result', r + '_drop_shadow_3'),
- (this.feFlood = c),
- e.appendChild(c)
- var u = createNS('feComposite')
- u.setAttribute('in', r + '_drop_shadow_3'),
- u.setAttribute('in2', r + '_drop_shadow_2'),
- u.setAttribute('operator', 'in'),
- u.setAttribute('result', r + '_drop_shadow_4'),
- e.appendChild(u)
- var p = this.createMergeNode(r, [r + '_drop_shadow_4', a])
- e.appendChild(p)
- }
- ;(SVGComposableEffect.prototype = {
- createMergeNode: function (e, t) {
- var n,
- r,
- a = createNS('feMerge')
- for (a.setAttribute('result', e), r = 0; r < t.length; r += 1)
- (n = createNS('feMergeNode')).setAttribute('in', t[r]),
- a.appendChild(n),
- a.appendChild(n)
- return a
- }
- }),
- extendPrototype([SVGComposableEffect], SVGTintFilter),
- (SVGTintFilter.prototype.renderFrame = function (e) {
- if (e || this.filterManager._mdf) {
- var t = this.filterManager.effectElements[0].p.v,
- n = this.filterManager.effectElements[1].p.v,
- r = this.filterManager.effectElements[2].p.v / 100
- this.matrixFilter.setAttribute(
- 'values',
- n[0] -
- t[0] +
- ' 0 0 0 ' +
- t[0] +
- ' ' +
- (n[1] - t[1]) +
- ' 0 0 0 ' +
- t[1] +
- ' ' +
- (n[2] - t[2]) +
- ' 0 0 0 ' +
- t[2] +
- ' 0 0 0 ' +
- r +
- ' 0'
- )
- }
- }),
- (SVGFillFilter.prototype.renderFrame = function (e) {
- if (e || this.filterManager._mdf) {
- var t = this.filterManager.effectElements[2].p.v,
- n = this.filterManager.effectElements[6].p.v
- this.matrixFilter.setAttribute(
- 'values',
- '0 0 0 0 ' +
- t[0] +
- ' 0 0 0 0 ' +
- t[1] +
- ' 0 0 0 0 ' +
- t[2] +
- ' 0 0 0 ' +
- n +
- ' 0'
- )
- }
- }),
- (SVGStrokeEffect.prototype.initialize = function () {
- var e,
- t,
- n,
- r,
- a = this.elem.layerElement.children || this.elem.layerElement.childNodes
- for (
- 1 === this.filterManager.effectElements[1].p.v
- ? ((r = this.elem.maskManager.masksProperties.length), (n = 0))
- : (r = 1 + (n = this.filterManager.effectElements[0].p.v - 1)),
- (t = createNS('g')).setAttribute('fill', 'none'),
- t.setAttribute('stroke-linecap', 'round'),
- t.setAttribute('stroke-dashoffset', 1);
- n < r;
- n += 1
- )
- (e = createNS('path')), t.appendChild(e), this.paths.push({ p: e, m: n })
- if (3 === this.filterManager.effectElements[10].p.v) {
- var o = createNS('mask'),
- i = createElementID()
- o.setAttribute('id', i),
- o.setAttribute('mask-type', 'alpha'),
- o.appendChild(t),
- this.elem.globalData.defs.appendChild(o)
- var s = createNS('g')
- for (
- s.setAttribute('mask', 'url(' + getLocationHref() + '#' + i + ')');
- a[0];
- )
- s.appendChild(a[0])
- this.elem.layerElement.appendChild(s),
- (this.masker = o),
- t.setAttribute('stroke', '#fff')
- } else if (
- 1 === this.filterManager.effectElements[10].p.v ||
- 2 === this.filterManager.effectElements[10].p.v
- ) {
- if (2 === this.filterManager.effectElements[10].p.v)
- for (
- a = this.elem.layerElement.children || this.elem.layerElement.childNodes;
- a.length;
- )
- this.elem.layerElement.removeChild(a[0])
- this.elem.layerElement.appendChild(t),
- this.elem.layerElement.removeAttribute('mask'),
- t.setAttribute('stroke', '#fff')
- }
- ;(this.initialized = !0), (this.pathMasker = t)
- }),
- (SVGStrokeEffect.prototype.renderFrame = function (e) {
- var t
- this.initialized || this.initialize()
- var n,
- r,
- a = this.paths.length
- for (t = 0; t < a; t += 1)
- if (
- -1 !== this.paths[t].m &&
- ((n = this.elem.maskManager.viewData[this.paths[t].m]),
- (r = this.paths[t].p),
- (e || this.filterManager._mdf || n.prop._mdf) &&
- r.setAttribute('d', n.lastPath),
- e ||
- this.filterManager.effectElements[9].p._mdf ||
- this.filterManager.effectElements[4].p._mdf ||
- this.filterManager.effectElements[7].p._mdf ||
- this.filterManager.effectElements[8].p._mdf ||
- n.prop._mdf)
- ) {
- var o
- if (
- 0 !== this.filterManager.effectElements[7].p.v ||
- 100 !== this.filterManager.effectElements[8].p.v
- ) {
- var i =
- 0.01 *
- Math.min(
- this.filterManager.effectElements[7].p.v,
- this.filterManager.effectElements[8].p.v
- ),
- s =
- 0.01 *
- Math.max(
- this.filterManager.effectElements[7].p.v,
- this.filterManager.effectElements[8].p.v
- ),
- l = r.getTotalLength()
- o = '0 0 0 ' + l * i + ' '
- var c,
- u = l * (s - i),
- p =
- 1 +
- 2 *
- this.filterManager.effectElements[4].p.v *
- this.filterManager.effectElements[9].p.v *
- 0.01,
- d = Math.floor(u / p)
- for (c = 0; c < d; c += 1)
- o +=
- '1 ' +
- 2 *
- this.filterManager.effectElements[4].p.v *
- this.filterManager.effectElements[9].p.v *
- 0.01 +
- ' '
- o += '0 ' + 10 * l + ' 0 0'
- } else
- o =
- '1 ' +
- 2 *
- this.filterManager.effectElements[4].p.v *
- this.filterManager.effectElements[9].p.v *
- 0.01
- r.setAttribute('stroke-dasharray', o)
- }
- if (
- ((e || this.filterManager.effectElements[4].p._mdf) &&
- this.pathMasker.setAttribute(
- 'stroke-width',
- 2 * this.filterManager.effectElements[4].p.v
- ),
- (e || this.filterManager.effectElements[6].p._mdf) &&
- this.pathMasker.setAttribute(
- 'opacity',
- this.filterManager.effectElements[6].p.v
- ),
- (1 === this.filterManager.effectElements[10].p.v ||
- 2 === this.filterManager.effectElements[10].p.v) &&
- (e || this.filterManager.effectElements[3].p._mdf))
- ) {
- var f = this.filterManager.effectElements[3].p.v
- this.pathMasker.setAttribute(
- 'stroke',
- 'rgb(' +
- bmFloor(255 * f[0]) +
- ',' +
- bmFloor(255 * f[1]) +
- ',' +
- bmFloor(255 * f[2]) +
- ')'
- )
- }
- }),
- (SVGTritoneFilter.prototype.renderFrame = function (e) {
- if (e || this.filterManager._mdf) {
- var t = this.filterManager.effectElements[0].p.v,
- n = this.filterManager.effectElements[1].p.v,
- r = this.filterManager.effectElements[2].p.v,
- a = r[0] + ' ' + n[0] + ' ' + t[0],
- o = r[1] + ' ' + n[1] + ' ' + t[1],
- i = r[2] + ' ' + n[2] + ' ' + t[2]
- this.feFuncR.setAttribute('tableValues', a),
- this.feFuncG.setAttribute('tableValues', o),
- this.feFuncB.setAttribute('tableValues', i)
- }
- }),
- (SVGProLevelsFilter.prototype.createFeFunc = function (e, t) {
- var n = createNS(e)
- return n.setAttribute('type', 'table'), t.appendChild(n), n
- }),
- (SVGProLevelsFilter.prototype.getTableValue = function (e, t, n, r, a) {
- for (
- var o,
- i,
- s = 0,
- l = Math.min(e, t),
- c = Math.max(e, t),
- u = Array.call(null, { length: 256 }),
- p = 0,
- d = a - r,
- f = t - e;
- s <= 256;
- )
- (i =
- (o = s / 256) <= l
- ? f < 0
- ? a
- : r
- : o >= c
- ? f < 0
- ? r
- : a
- : r + d * Math.pow((o - e) / f, 1 / n)),
- (u[p] = i),
- (p += 1),
- (s += 256 / 255)
- return u.join(' ')
- }),
- (SVGProLevelsFilter.prototype.renderFrame = function (e) {
- if (e || this.filterManager._mdf) {
- var t,
- n = this.filterManager.effectElements
- this.feFuncRComposed &&
- (e ||
- n[3].p._mdf ||
- n[4].p._mdf ||
- n[5].p._mdf ||
- n[6].p._mdf ||
- n[7].p._mdf) &&
- ((t = this.getTableValue(n[3].p.v, n[4].p.v, n[5].p.v, n[6].p.v, n[7].p.v)),
- this.feFuncRComposed.setAttribute('tableValues', t),
- this.feFuncGComposed.setAttribute('tableValues', t),
- this.feFuncBComposed.setAttribute('tableValues', t)),
- this.feFuncR &&
- (e ||
- n[10].p._mdf ||
- n[11].p._mdf ||
- n[12].p._mdf ||
- n[13].p._mdf ||
- n[14].p._mdf) &&
- ((t = this.getTableValue(
- n[10].p.v,
- n[11].p.v,
- n[12].p.v,
- n[13].p.v,
- n[14].p.v
- )),
- this.feFuncR.setAttribute('tableValues', t)),
- this.feFuncG &&
- (e ||
- n[17].p._mdf ||
- n[18].p._mdf ||
- n[19].p._mdf ||
- n[20].p._mdf ||
- n[21].p._mdf) &&
- ((t = this.getTableValue(
- n[17].p.v,
- n[18].p.v,
- n[19].p.v,
- n[20].p.v,
- n[21].p.v
- )),
- this.feFuncG.setAttribute('tableValues', t)),
- this.feFuncB &&
- (e ||
- n[24].p._mdf ||
- n[25].p._mdf ||
- n[26].p._mdf ||
- n[27].p._mdf ||
- n[28].p._mdf) &&
- ((t = this.getTableValue(
- n[24].p.v,
- n[25].p.v,
- n[26].p.v,
- n[27].p.v,
- n[28].p.v
- )),
- this.feFuncB.setAttribute('tableValues', t)),
- this.feFuncA &&
- (e ||
- n[31].p._mdf ||
- n[32].p._mdf ||
- n[33].p._mdf ||
- n[34].p._mdf ||
- n[35].p._mdf) &&
- ((t = this.getTableValue(
- n[31].p.v,
- n[32].p.v,
- n[33].p.v,
- n[34].p.v,
- n[35].p.v
- )),
- this.feFuncA.setAttribute('tableValues', t))
- }
- }),
- extendPrototype([SVGComposableEffect], SVGDropShadowEffect),
- (SVGDropShadowEffect.prototype.renderFrame = function (e) {
- if (e || this.filterManager._mdf) {
- if (
- ((e || this.filterManager.effectElements[4].p._mdf) &&
- this.feGaussianBlur.setAttribute(
- 'stdDeviation',
- this.filterManager.effectElements[4].p.v / 4
- ),
- e || this.filterManager.effectElements[0].p._mdf)
- ) {
- var t = this.filterManager.effectElements[0].p.v
- this.feFlood.setAttribute(
- 'flood-color',
- rgbToHex(
- Math.round(255 * t[0]),
- Math.round(255 * t[1]),
- Math.round(255 * t[2])
- )
- )
- }
- if (
- ((e || this.filterManager.effectElements[1].p._mdf) &&
- this.feFlood.setAttribute(
- 'flood-opacity',
- this.filterManager.effectElements[1].p.v / 255
- ),
- e ||
- this.filterManager.effectElements[2].p._mdf ||
- this.filterManager.effectElements[3].p._mdf)
- ) {
- var n = this.filterManager.effectElements[3].p.v,
- r = (this.filterManager.effectElements[2].p.v - 90) * degToRads,
- a = n * Math.cos(r),
- o = n * Math.sin(r)
- this.feOffset.setAttribute('dx', a), this.feOffset.setAttribute('dy', o)
- }
- }
- })
- var _svgMatteSymbols = []
- function SVGMatte3Effect(e, t, n) {
- ;(this.initialized = !1),
- (this.filterManager = t),
- (this.filterElem = e),
- (this.elem = n),
- (n.matteElement = createNS('g')),
- n.matteElement.appendChild(n.layerElement),
- n.matteElement.appendChild(n.transformedElement),
- (n.baseElement = n.matteElement)
- }
- function SVGGaussianBlurEffect(e, t, n, r) {
- e.setAttribute('x', '-100%'),
- e.setAttribute('y', '-100%'),
- e.setAttribute('width', '300%'),
- e.setAttribute('height', '300%'),
- (this.filterManager = t)
- var a = createNS('feGaussianBlur')
- a.setAttribute('result', r), e.appendChild(a), (this.feGaussianBlur = a)
- }
- return (
- (SVGMatte3Effect.prototype.findSymbol = function (e) {
- for (var t = 0, n = _svgMatteSymbols.length; t < n; ) {
- if (_svgMatteSymbols[t] === e) return _svgMatteSymbols[t]
- t += 1
- }
- return null
- }),
- (SVGMatte3Effect.prototype.replaceInParent = function (e, t) {
- var n = e.layerElement.parentNode
- if (n) {
- for (
- var r, a = n.children, o = 0, i = a.length;
- o < i && a[o] !== e.layerElement;
- )
- o += 1
- o <= i - 2 && (r = a[o + 1])
- var s = createNS('use')
- s.setAttribute('href', '#' + t), r ? n.insertBefore(s, r) : n.appendChild(s)
- }
- }),
- (SVGMatte3Effect.prototype.setElementAsMask = function (e, t) {
- if (!this.findSymbol(t)) {
- var n = createElementID(),
- r = createNS('mask')
- r.setAttribute('id', t.layerId),
- r.setAttribute('mask-type', 'alpha'),
- _svgMatteSymbols.push(t)
- var a = e.globalData.defs
- a.appendChild(r)
- var o = createNS('symbol')
- o.setAttribute('id', n),
- this.replaceInParent(t, n),
- o.appendChild(t.layerElement),
- a.appendChild(o)
- var i = createNS('use')
- i.setAttribute('href', '#' + n), r.appendChild(i), (t.data.hd = !1), t.show()
- }
- e.setMatte(t.layerId)
- }),
- (SVGMatte3Effect.prototype.initialize = function () {
- for (
- var e = this.filterManager.effectElements[0].p.v,
- t = this.elem.comp.elements,
- n = 0,
- r = t.length;
- n < r;
- )
- t[n] && t[n].data.ind === e && this.setElementAsMask(this.elem, t[n]),
- (n += 1)
- this.initialized = !0
- }),
- (SVGMatte3Effect.prototype.renderFrame = function () {
- this.initialized || this.initialize()
- }),
- (SVGGaussianBlurEffect.prototype.renderFrame = function (e) {
- if (e || this.filterManager._mdf) {
- var t = 0.3 * this.filterManager.effectElements[0].p.v,
- n = this.filterManager.effectElements[1].p.v,
- r = 3 == n ? 0 : t,
- a = 2 == n ? 0 : t
- this.feGaussianBlur.setAttribute('stdDeviation', r + ' ' + a)
- var o = 1 == this.filterManager.effectElements[2].p.v ? 'wrap' : 'duplicate'
- this.feGaussianBlur.setAttribute('edgeMode', o)
- }
- }),
- registerRenderer('canvas', CanvasRenderer),
- registerRenderer('html', HybridRenderer),
- registerRenderer('svg', SVGRenderer),
- ShapeModifiers.registerModifier('tm', TrimModifier),
- ShapeModifiers.registerModifier('pb', PuckerAndBloatModifier),
- ShapeModifiers.registerModifier('rp', RepeaterModifier),
- ShapeModifiers.registerModifier('rd', RoundCornersModifier),
- setExpressionsPlugin(Expressions),
- initialize$1(),
- initialize(),
- registerEffect(20, SVGTintFilter, !0),
- registerEffect(21, SVGFillFilter, !0),
- registerEffect(22, SVGStrokeEffect, !1),
- registerEffect(23, SVGTritoneFilter, !0),
- registerEffect(24, SVGProLevelsFilter, !0),
- registerEffect(25, SVGDropShadowEffect, !0),
- registerEffect(28, SVGMatte3Effect, !1),
- registerEffect(29, SVGGaussianBlurEffect, !0),
- lottie
- )
- }),
- (module.exports = factory()))
- })(lottie, lottie.exports)
- var Lottie = lottie.exports,
- commonjsGlobal =
- 'undefined' != typeof globalThis
- ? globalThis
- : 'undefined' != typeof window
- ? window
- : 'undefined' != typeof global
- ? global
- : 'undefined' != typeof self
- ? self
- : {},
- lodash = { exports: {} }
- /**
- * @license
- * Lodash <https://lodash.com/>
- * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
- * Released under MIT license <https://lodash.com/license>
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
- */
- !(function (e, t) {
- ;(function () {
- var n,
- r = 'Expected a function',
- a = '__lodash_hash_undefined__',
- o = '__lodash_placeholder__',
- i = 16,
- s = 32,
- l = 64,
- c = 128,
- u = 256,
- p = 1 / 0,
- d = 9007199254740991,
- f = NaN,
- h = 4294967295,
- v = [
- ['ary', c],
- ['bind', 1],
- ['bindKey', 2],
- ['curry', 8],
- ['curryRight', i],
- ['flip', 512],
- ['partial', s],
- ['partialRight', l],
- ['rearg', u]
- ],
- m = '[object Arguments]',
- g = '[object Array]',
- y = '[object Boolean]',
- b = '[object Date]',
- _ = '[object Error]',
- A = '[object Function]',
- x = '[object GeneratorFunction]',
- w = '[object Map]',
- k = '[object Number]',
- S = '[object Object]',
- E = '[object Promise]',
- P = '[object RegExp]',
- C = '[object Set]',
- T = '[object String]',
- I = '[object Symbol]',
- R = '[object WeakMap]',
- M = '[object ArrayBuffer]',
- z = '[object DataView]',
- O = '[object Float32Array]',
- D = '[object Float64Array]',
- F = '[object Int8Array]',
- B = '[object Int16Array]',
- N = '[object Int32Array]',
- j = '[object Uint8Array]',
- V = '[object Uint8ClampedArray]',
- L = '[object Uint16Array]',
- H = '[object Uint32Array]',
- G = /\b__p \+= '';/g,
- q = /\b(__p \+=) '' \+/g,
- U = /(__e\(.*?\)|\b__t\)) \+\n'';/g,
- W = /&(?:amp|lt|gt|quot|#39);/g,
- $ = /[&<>"']/g,
- K = RegExp(W.source),
- Y = RegExp($.source),
- J = /<%-([\s\S]+?)%>/g,
- Q = /<%([\s\S]+?)%>/g,
- X = /<%=([\s\S]+?)%>/g,
- Z = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
- ee = /^\w*$/,
- te =
- /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,
- ne = /[\\^$.*+?()[\]{}|]/g,
- re = RegExp(ne.source),
- ae = /^\s+/,
- oe = /\s/,
- ie = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,
- se = /\{\n\/\* \[wrapped with (.+)\] \*/,
- le = /,? & /,
- ce = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,
- ue = /[()=,{}\[\]\/\s]/,
- pe = /\\(\\)?/g,
- de = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,
- fe = /\w*$/,
- he = /^[-+]0x[0-9a-f]+$/i,
- ve = /^0b[01]+$/i,
- me = /^\[object .+?Constructor\]$/,
- ge = /^0o[0-7]+$/i,
- ye = /^(?:0|[1-9]\d*)$/,
- be = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,
- _e = /($^)/,
- Ae = /['\n\r\u2028\u2029\\]/g,
- xe = '\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff',
- we = '\\u2700-\\u27bf',
- ke = 'a-z\\xdf-\\xf6\\xf8-\\xff',
- Se = 'A-Z\\xc0-\\xd6\\xd8-\\xde',
- Ee = '\\ufe0e\\ufe0f',
- Pe =
- '\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\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',
- Ce = "['’]",
- Te = '[\\ud800-\\udfff]',
- Ie = '[' + Pe + ']',
- Re = '[' + xe + ']',
- Me = '\\d+',
- ze = '[\\u2700-\\u27bf]',
- Oe = '[' + ke + ']',
- De = '[^\\ud800-\\udfff' + Pe + Me + we + ke + Se + ']',
- Fe = '\\ud83c[\\udffb-\\udfff]',
- Be = '[^\\ud800-\\udfff]',
- Ne = '(?:\\ud83c[\\udde6-\\uddff]){2}',
- je = '[\\ud800-\\udbff][\\udc00-\\udfff]',
- Ve = '[' + Se + ']',
- Le = '(?:' + Oe + '|' + De + ')',
- He = '(?:' + Ve + '|' + De + ')',
- Ge = "(?:['’](?:d|ll|m|re|s|t|ve))?",
- qe = "(?:['’](?:D|LL|M|RE|S|T|VE))?",
- Ue = '(?:' + Re + '|' + Fe + ')' + '?',
- We = '[\\ufe0e\\ufe0f]?',
- $e = We + Ue + ('(?:\\u200d(?:' + [Be, Ne, je].join('|') + ')' + We + Ue + ')*'),
- Ke = '(?:' + [ze, Ne, je].join('|') + ')' + $e,
- Ye = '(?:' + [Be + Re + '?', Re, Ne, je, Te].join('|') + ')',
- Je = RegExp(Ce, 'g'),
- Qe = RegExp(Re, 'g'),
- Xe = RegExp(Fe + '(?=' + Fe + ')|' + Ye + $e, 'g'),
- Ze = RegExp(
- [
- Ve + '?' + Oe + '+' + Ge + '(?=' + [Ie, Ve, '$'].join('|') + ')',
- He + '+' + qe + '(?=' + [Ie, Ve + Le, '$'].join('|') + ')',
- Ve + '?' + Le + '+' + Ge,
- Ve + '+' + qe,
- '\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])',
- '\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])',
- Me,
- Ke
- ].join('|'),
- 'g'
- ),
- et = RegExp('[\\u200d\\ud800-\\udfff' + xe + Ee + ']'),
- tt = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,
- nt = [
- 'Array',
- 'Buffer',
- 'DataView',
- 'Date',
- 'Error',
- 'Float32Array',
- 'Float64Array',
- 'Function',
- 'Int8Array',
- 'Int16Array',
- 'Int32Array',
- 'Map',
- 'Math',
- 'Object',
- 'Promise',
- 'RegExp',
- 'Set',
- 'String',
- 'Symbol',
- 'TypeError',
- 'Uint8Array',
- 'Uint8ClampedArray',
- 'Uint16Array',
- 'Uint32Array',
- 'WeakMap',
- '_',
- 'clearTimeout',
- 'isFinite',
- 'parseInt',
- 'setTimeout'
- ],
- rt = -1,
- at = {}
- ;(at[O] = at[D] = at[F] = at[B] = at[N] = at[j] = at[V] = at[L] = at[H] = !0),
- (at[m] =
- at[g] =
- at[M] =
- at[y] =
- at[z] =
- at[b] =
- at[_] =
- at[A] =
- at[w] =
- at[k] =
- at[S] =
- at[P] =
- at[C] =
- at[T] =
- at[R] =
- !1)
- var ot = {}
- ;(ot[m] =
- ot[g] =
- ot[M] =
- ot[z] =
- ot[y] =
- ot[b] =
- ot[O] =
- ot[D] =
- ot[F] =
- ot[B] =
- ot[N] =
- ot[w] =
- ot[k] =
- ot[S] =
- ot[P] =
- ot[C] =
- ot[T] =
- ot[I] =
- ot[j] =
- ot[V] =
- ot[L] =
- ot[H] =
- !0),
- (ot[_] = ot[A] = ot[R] = !1)
- var it = {
- '\\': '\\',
- "'": "'",
- '\n': 'n',
- '\r': 'r',
- '\u2028': 'u2028',
- '\u2029': 'u2029'
- },
- st = parseFloat,
- lt = parseInt,
- ct =
- 'object' == _typeof2(commonjsGlobal) &&
- commonjsGlobal &&
- commonjsGlobal.Object === Object &&
- commonjsGlobal,
- ut =
- 'object' == ('undefined' == typeof self ? 'undefined' : _typeof2(self)) &&
- self &&
- self.Object === Object &&
- self,
- pt = ct || ut || Function('return this')(),
- dt = t && !t.nodeType && t,
- ft = dt && e && !e.nodeType && e,
- ht = ft && ft.exports === dt,
- vt = ht && ct.process,
- mt = (function () {
- try {
- var e = ft && ft.require && ft.require('util').types
- return e || (vt && vt.binding && vt.binding('util'))
- } catch (t) {}
- })(),
- gt = mt && mt.isArrayBuffer,
- yt = mt && mt.isDate,
- bt = mt && mt.isMap,
- _t = mt && mt.isRegExp,
- At = mt && mt.isSet,
- xt = mt && mt.isTypedArray
- function wt(e, t, n) {
- switch (n.length) {
- case 0:
- return e.call(t)
- case 1:
- return e.call(t, n[0])
- case 2:
- return e.call(t, n[0], n[1])
- case 3:
- return e.call(t, n[0], n[1], n[2])
- }
- return e.apply(t, n)
- }
- function kt(e, t, n, r) {
- for (var a = -1, o = null == e ? 0 : e.length; ++a < o; ) {
- var i = e[a]
- t(r, i, n(i), e)
- }
- return r
- }
- function St(e, t) {
- for (var n = -1, r = null == e ? 0 : e.length; ++n < r && !1 !== t(e[n], n, e); );
- return e
- }
- function Et(e, t) {
- for (var n = null == e ? 0 : e.length; n-- && !1 !== t(e[n], n, e); );
- return e
- }
- function Pt(e, t) {
- for (var n = -1, r = null == e ? 0 : e.length; ++n < r; )
- if (!t(e[n], n, e)) return !1
- return !0
- }
- function Ct(e, t) {
- for (var n = -1, r = null == e ? 0 : e.length, a = 0, o = []; ++n < r; ) {
- var i = e[n]
- t(i, n, e) && (o[a++] = i)
- }
- return o
- }
- function Tt(e, t) {
- return !!(null == e ? 0 : e.length) && jt(e, t, 0) > -1
- }
- function It(e, t, n) {
- for (var r = -1, a = null == e ? 0 : e.length; ++r < a; ) if (n(t, e[r])) return !0
- return !1
- }
- function Rt(e, t) {
- for (var n = -1, r = null == e ? 0 : e.length, a = Array(r); ++n < r; )
- a[n] = t(e[n], n, e)
- return a
- }
- function Mt(e, t) {
- for (var n = -1, r = t.length, a = e.length; ++n < r; ) e[a + n] = t[n]
- return e
- }
- function zt(e, t, n, r) {
- var a = -1,
- o = null == e ? 0 : e.length
- for (r && o && (n = e[++a]); ++a < o; ) n = t(n, e[a], a, e)
- return n
- }
- function Ot(e, t, n, r) {
- var a = null == e ? 0 : e.length
- for (r && a && (n = e[--a]); a--; ) n = t(n, e[a], a, e)
- return n
- }
- function Dt(e, t) {
- for (var n = -1, r = null == e ? 0 : e.length; ++n < r; )
- if (t(e[n], n, e)) return !0
- return !1
- }
- var Ft = Gt('length')
- function Bt(e, t, n) {
- var r
- return (
- n(e, function (e, n, a) {
- if (t(e, n, a)) return (r = n), !1
- }),
- r
- )
- }
- function Nt(e, t, n, r) {
- for (var a = e.length, o = n + (r ? 1 : -1); r ? o-- : ++o < a; )
- if (t(e[o], o, e)) return o
- return -1
- }
- function jt(e, t, n) {
- return t == t
- ? (function (e, t, n) {
- var r = n - 1,
- a = e.length
- for (; ++r < a; ) if (e[r] === t) return r
- return -1
- })(e, t, n)
- : Nt(e, Lt, n)
- }
- function Vt(e, t, n, r) {
- for (var a = n - 1, o = e.length; ++a < o; ) if (r(e[a], t)) return a
- return -1
- }
- function Lt(e) {
- return e != e
- }
- function Ht(e, t) {
- var n = null == e ? 0 : e.length
- return n ? Wt(e, t) / n : f
- }
- function Gt(e) {
- return function (t) {
- return null == t ? n : t[e]
- }
- }
- function qt(e) {
- return function (t) {
- return null == e ? n : e[t]
- }
- }
- function Ut(e, t, n, r, a) {
- return (
- a(e, function (e, a, o) {
- n = r ? ((r = !1), e) : t(n, e, a, o)
- }),
- n
- )
- }
- function Wt(e, t) {
- for (var r, a = -1, o = e.length; ++a < o; ) {
- var i = t(e[a])
- i !== n && (r = r === n ? i : r + i)
- }
- return r
- }
- function $t(e, t) {
- for (var n = -1, r = Array(e); ++n < e; ) r[n] = t(n)
- return r
- }
- function Kt(e) {
- return e ? e.slice(0, dn(e) + 1).replace(ae, '') : e
- }
- function Yt(e) {
- return function (t) {
- return e(t)
- }
- }
- function Jt(e, t) {
- return Rt(t, function (t) {
- return e[t]
- })
- }
- function Qt(e, t) {
- return e.has(t)
- }
- function Xt(e, t) {
- for (var n = -1, r = e.length; ++n < r && jt(t, e[n], 0) > -1; );
- return n
- }
- function Zt(e, t) {
- for (var n = e.length; n-- && jt(t, e[n], 0) > -1; );
- return n
- }
- function en(e, t) {
- for (var n = e.length, r = 0; n--; ) e[n] === t && ++r
- return r
- }
- var tn = qt({
- À: 'A',
- Á: 'A',
- Â: 'A',
- Ã: 'A',
- Ä: 'A',
- Å: 'A',
- à: 'a',
- á: 'a',
- â: 'a',
- ã: 'a',
- ä: 'a',
- å: 'a',
- Ç: 'C',
- ç: 'c',
- Ð: 'D',
- ð: 'd',
- È: 'E',
- É: 'E',
- Ê: 'E',
- Ë: 'E',
- è: 'e',
- é: 'e',
- ê: 'e',
- ë: 'e',
- Ì: 'I',
- Í: 'I',
- Î: 'I',
- Ï: 'I',
- ì: 'i',
- í: 'i',
- î: 'i',
- ï: 'i',
- Ñ: 'N',
- ñ: 'n',
- Ò: 'O',
- Ó: 'O',
- Ô: 'O',
- Õ: 'O',
- Ö: 'O',
- Ø: 'O',
- ò: 'o',
- ó: 'o',
- ô: 'o',
- õ: 'o',
- ö: 'o',
- ø: 'o',
- Ù: 'U',
- Ú: 'U',
- Û: 'U',
- Ü: 'U',
- ù: 'u',
- ú: 'u',
- û: 'u',
- ü: 'u',
- Ý: 'Y',
- ý: 'y',
- ÿ: 'y',
- Æ: 'Ae',
- æ: 'ae',
- Þ: 'Th',
- þ: 'th',
- ß: 'ss',
- Ā: 'A',
- Ă: 'A',
- Ą: 'A',
- ā: 'a',
- ă: 'a',
- ą: 'a',
- Ć: 'C',
- Ĉ: 'C',
- Ċ: 'C',
- Č: 'C',
- ć: 'c',
- ĉ: 'c',
- ċ: 'c',
- č: 'c',
- Ď: 'D',
- Đ: 'D',
- ď: 'd',
- đ: 'd',
- Ē: 'E',
- Ĕ: 'E',
- Ė: 'E',
- Ę: 'E',
- Ě: 'E',
- ē: 'e',
- ĕ: 'e',
- ė: 'e',
- ę: 'e',
- ě: 'e',
- Ĝ: 'G',
- Ğ: 'G',
- Ġ: 'G',
- Ģ: 'G',
- ĝ: 'g',
- ğ: 'g',
- ġ: 'g',
- ģ: 'g',
- Ĥ: 'H',
- Ħ: 'H',
- ĥ: 'h',
- ħ: 'h',
- Ĩ: 'I',
- Ī: 'I',
- Ĭ: 'I',
- Į: 'I',
- İ: 'I',
- ĩ: 'i',
- ī: 'i',
- ĭ: 'i',
- į: 'i',
- ı: 'i',
- Ĵ: 'J',
- ĵ: 'j',
- Ķ: 'K',
- ķ: 'k',
- ĸ: 'k',
- Ĺ: 'L',
- Ļ: 'L',
- Ľ: 'L',
- Ŀ: 'L',
- Ł: 'L',
- ĺ: 'l',
- ļ: 'l',
- ľ: 'l',
- ŀ: 'l',
- ł: 'l',
- Ń: 'N',
- Ņ: 'N',
- Ň: 'N',
- Ŋ: 'N',
- ń: 'n',
- ņ: 'n',
- ň: 'n',
- ŋ: 'n',
- Ō: 'O',
- Ŏ: 'O',
- Ő: 'O',
- ō: 'o',
- ŏ: 'o',
- ő: 'o',
- Ŕ: 'R',
- Ŗ: 'R',
- Ř: 'R',
- ŕ: 'r',
- ŗ: 'r',
- ř: 'r',
- Ś: 'S',
- Ŝ: 'S',
- Ş: 'S',
- Š: 'S',
- ś: 's',
- ŝ: 's',
- ş: 's',
- š: 's',
- Ţ: 'T',
- Ť: 'T',
- Ŧ: 'T',
- ţ: 't',
- ť: 't',
- ŧ: 't',
- Ũ: 'U',
- Ū: 'U',
- Ŭ: 'U',
- Ů: 'U',
- Ű: 'U',
- Ų: 'U',
- ũ: 'u',
- ū: 'u',
- ŭ: 'u',
- ů: 'u',
- ű: 'u',
- ų: 'u',
- Ŵ: 'W',
- ŵ: 'w',
- Ŷ: 'Y',
- ŷ: 'y',
- Ÿ: 'Y',
- Ź: 'Z',
- Ż: 'Z',
- Ž: 'Z',
- ź: 'z',
- ż: 'z',
- ž: 'z',
- IJ: 'IJ',
- ij: 'ij',
- Œ: 'Oe',
- œ: 'oe',
- ʼn: "'n",
- ſ: 's'
- }),
- nn = qt({ '&': '&', '<': '<', '>': '>', '"': '"', "'": ''' })
- function rn(e) {
- return '\\' + it[e]
- }
- function an(e) {
- return et.test(e)
- }
- function on(e) {
- var t = -1,
- n = Array(e.size)
- return (
- e.forEach(function (e, r) {
- n[++t] = [r, e]
- }),
- n
- )
- }
- function sn(e, t) {
- return function (n) {
- return e(t(n))
- }
- }
- function ln(e, t) {
- for (var n = -1, r = e.length, a = 0, i = []; ++n < r; ) {
- var s = e[n]
- ;(s !== t && s !== o) || ((e[n] = o), (i[a++] = n))
- }
- return i
- }
- function cn(e) {
- var t = -1,
- n = Array(e.size)
- return (
- e.forEach(function (e) {
- n[++t] = e
- }),
- n
- )
- }
- function un(e) {
- return an(e)
- ? (function (e) {
- var t = (Xe.lastIndex = 0)
- for (; Xe.test(e); ) ++t
- return t
- })(e)
- : Ft(e)
- }
- function pn(e) {
- return an(e)
- ? (function (e) {
- return e.match(Xe) || []
- })(e)
- : (function (e) {
- return e.split('')
- })(e)
- }
- function dn(e) {
- for (var t = e.length; t-- && oe.test(e.charAt(t)); );
- return t
- }
- var fn = qt({ '&': '&', '<': '<', '>': '>', '"': '"', ''': "'" })
- var hn = (function e(t) {
- var oe = (t = null == t ? pt : hn.defaults(pt.Object(), t, hn.pick(pt, nt))).Array,
- xe = t.Date,
- we = t.Error,
- ke = t.Function,
- Se = t.Math,
- Ee = t.Object,
- Pe = t.RegExp,
- Ce = t.String,
- Te = t.TypeError,
- Ie = oe.prototype,
- Re = ke.prototype,
- Me = Ee.prototype,
- ze = t['__core-js_shared__'],
- Oe = Re.toString,
- De = Me.hasOwnProperty,
- Fe = 0,
- Be = (function () {
- var e = /[^.]+$/.exec((ze && ze.keys && ze.keys.IE_PROTO) || '')
- return e ? 'Symbol(src)_1.' + e : ''
- })(),
- Ne = Me.toString,
- je = Oe.call(Ee),
- Ve = pt._,
- Le = Pe(
- '^' +
- Oe.call(De)
- .replace(ne, '\\$&')
- .replace(
- /hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,
- '$1.*?'
- ) +
- '$'
- ),
- He = ht ? t.Buffer : n,
- Ge = t.Symbol,
- qe = t.Uint8Array,
- Ue = He ? He.allocUnsafe : n,
- We = sn(Ee.getPrototypeOf, Ee),
- $e = Ee.create,
- Ke = Me.propertyIsEnumerable,
- Ye = Ie.splice,
- Xe = Ge ? Ge.isConcatSpreadable : n,
- et = Ge ? Ge.iterator : n,
- it = Ge ? Ge.toStringTag : n,
- ct = (function () {
- try {
- var e = po(Ee, 'defineProperty')
- return e({}, '', {}), e
- } catch (t) {}
- })(),
- ut = t.clearTimeout !== pt.clearTimeout && t.clearTimeout,
- dt = xe && xe.now !== pt.Date.now && xe.now,
- ft = t.setTimeout !== pt.setTimeout && t.setTimeout,
- vt = Se.ceil,
- mt = Se.floor,
- Ft = Ee.getOwnPropertySymbols,
- qt = He ? He.isBuffer : n,
- vn = t.isFinite,
- mn = Ie.join,
- gn = sn(Ee.keys, Ee),
- yn = Se.max,
- bn = Se.min,
- _n = xe.now,
- An = t.parseInt,
- xn = Se.random,
- wn = Ie.reverse,
- kn = po(t, 'DataView'),
- Sn = po(t, 'Map'),
- En = po(t, 'Promise'),
- Pn = po(t, 'Set'),
- Cn = po(t, 'WeakMap'),
- Tn = po(Ee, 'create'),
- In = Cn && new Cn(),
- Rn = {},
- Mn = Ho(kn),
- zn = Ho(Sn),
- On = Ho(En),
- Dn = Ho(Pn),
- Fn = Ho(Cn),
- Bn = Ge ? Ge.prototype : n,
- Nn = Bn ? Bn.valueOf : n,
- jn = Bn ? Bn.toString : n
- function Vn(e) {
- if (os(e) && !Ki(e) && !(e instanceof qn)) {
- if (e instanceof Gn) return e
- if (De.call(e, '__wrapped__')) return Go(e)
- }
- return new Gn(e)
- }
- var Ln = (function () {
- function e() {}
- return function (t) {
- if (!as(t)) return {}
- if ($e) return $e(t)
- e.prototype = t
- var r = new e()
- return (e.prototype = n), r
- }
- })()
- function Hn() {}
- function Gn(e, t) {
- ;(this.__wrapped__ = e),
- (this.__actions__ = []),
- (this.__chain__ = !!t),
- (this.__index__ = 0),
- (this.__values__ = n)
- }
- function qn(e) {
- ;(this.__wrapped__ = e),
- (this.__actions__ = []),
- (this.__dir__ = 1),
- (this.__filtered__ = !1),
- (this.__iteratees__ = []),
- (this.__takeCount__ = h),
- (this.__views__ = [])
- }
- function Un(e) {
- var t = -1,
- n = null == e ? 0 : e.length
- for (this.clear(); ++t < n; ) {
- var r = e[t]
- this.set(r[0], r[1])
- }
- }
- function Wn(e) {
- var t = -1,
- n = null == e ? 0 : e.length
- for (this.clear(); ++t < n; ) {
- var r = e[t]
- this.set(r[0], r[1])
- }
- }
- function $n(e) {
- var t = -1,
- n = null == e ? 0 : e.length
- for (this.clear(); ++t < n; ) {
- var r = e[t]
- this.set(r[0], r[1])
- }
- }
- function Kn(e) {
- var t = -1,
- n = null == e ? 0 : e.length
- for (this.__data__ = new $n(); ++t < n; ) this.add(e[t])
- }
- function Yn(e) {
- var t = (this.__data__ = new Wn(e))
- this.size = t.size
- }
- function Jn(e, t) {
- var n = Ki(e),
- r = !n && $i(e),
- a = !n && !r && Xi(e),
- o = !n && !r && !a && fs(e),
- i = n || r || a || o,
- s = i ? $t(e.length, Ce) : [],
- l = s.length
- for (var c in e)
- (!t && !De.call(e, c)) ||
- (i &&
- ('length' == c ||
- (a && ('offset' == c || 'parent' == c)) ||
- (o && ('buffer' == c || 'byteLength' == c || 'byteOffset' == c)) ||
- bo(c, l))) ||
- s.push(c)
- return s
- }
- function Qn(e) {
- var t = e.length
- return t ? e[Kr(0, t - 1)] : n
- }
- function Xn(e, t) {
- return Fo(Ta(e), sr(t, 0, e.length))
- }
- function Zn(e) {
- return Fo(Ta(e))
- }
- function er(e, t, r) {
- ;((r !== n && !qi(e[t], r)) || (r === n && !(t in e))) && or(e, t, r)
- }
- function tr(e, t, r) {
- var a = e[t]
- ;(De.call(e, t) && qi(a, r) && (r !== n || t in e)) || or(e, t, r)
- }
- function nr(e, t) {
- for (var n = e.length; n--; ) if (qi(e[n][0], t)) return n
- return -1
- }
- function rr(e, t, n, r) {
- return (
- dr(e, function (e, a, o) {
- t(r, e, n(e), o)
- }),
- r
- )
- }
- function ar(e, t) {
- return e && Ia(t, Ds(t), e)
- }
- function or(e, t, n) {
- '__proto__' == t && ct
- ? ct(e, t, { configurable: !0, enumerable: !0, value: n, writable: !0 })
- : (e[t] = n)
- }
- function ir(e, t) {
- for (var r = -1, a = t.length, o = oe(a), i = null == e; ++r < a; )
- o[r] = i ? n : Is(e, t[r])
- return o
- }
- function sr(e, t, r) {
- return (
- e == e && (r !== n && (e = e <= r ? e : r), t !== n && (e = e >= t ? e : t)), e
- )
- }
- function lr(e, t, r, a, o, i) {
- var s,
- l = 1 & t,
- c = 2 & t,
- u = 4 & t
- if ((r && (s = o ? r(e, a, o, i) : r(e)), s !== n)) return s
- if (!as(e)) return e
- var p = Ki(e)
- if (p) {
- if (
- ((s = (function (e) {
- var t = e.length,
- n = new e.constructor(t)
- t &&
- 'string' == typeof e[0] &&
- De.call(e, 'index') &&
- ((n.index = e.index), (n.input = e.input))
- return n
- })(e)),
- !l)
- )
- return Ta(e, s)
- } else {
- var d = vo(e),
- f = d == A || d == x
- if (Xi(e)) return wa(e, l)
- if (d == S || d == m || (f && !o)) {
- if (((s = c || f ? {} : go(e)), !l))
- return c
- ? (function (e, t) {
- return Ia(e, ho(e), t)
- })(
- e,
- (function (e, t) {
- return e && Ia(t, Fs(t), e)
- })(s, e)
- )
- : (function (e, t) {
- return Ia(e, fo(e), t)
- })(e, ar(s, e))
- } else {
- if (!ot[d]) return o ? e : {}
- s = (function (e, t, n) {
- var r = e.constructor
- switch (t) {
- case M:
- return ka(e)
- case y:
- case b:
- return new r(+e)
- case z:
- return (function (e, t) {
- var n = t ? ka(e.buffer) : e.buffer
- return new e.constructor(n, e.byteOffset, e.byteLength)
- })(e, n)
- case O:
- case D:
- case F:
- case B:
- case N:
- case j:
- case V:
- case L:
- case H:
- return Sa(e, n)
- case w:
- return new r()
- case k:
- case T:
- return new r(e)
- case P:
- return (function (e) {
- var t = new e.constructor(e.source, fe.exec(e))
- return (t.lastIndex = e.lastIndex), t
- })(e)
- case C:
- return new r()
- case I:
- return (a = e), Nn ? Ee(Nn.call(a)) : {}
- }
- var a
- })(e, d, l)
- }
- }
- i || (i = new Yn())
- var h = i.get(e)
- if (h) return h
- i.set(e, s),
- us(e)
- ? e.forEach(function (n) {
- s.add(lr(n, t, r, n, e, i))
- })
- : is(e) &&
- e.forEach(function (n, a) {
- s.set(a, lr(n, t, r, a, e, i))
- })
- var v = p ? n : (u ? (c ? ao : ro) : c ? Fs : Ds)(e)
- return (
- St(v || e, function (n, a) {
- v && (n = e[(a = n)]), tr(s, a, lr(n, t, r, a, e, i))
- }),
- s
- )
- }
- function cr(e, t, r) {
- var a = r.length
- if (null == e) return !a
- for (e = Ee(e); a--; ) {
- var o = r[a],
- i = t[o],
- s = e[o]
- if ((s === n && !(o in e)) || !i(s)) return !1
- }
- return !0
- }
- function ur(e, t, a) {
- if ('function' != typeof e) throw new Te(r)
- return Mo(function () {
- e.apply(n, a)
- }, t)
- }
- function pr(e, t, n, r) {
- var a = -1,
- o = Tt,
- i = !0,
- s = e.length,
- l = [],
- c = t.length
- if (!s) return l
- n && (t = Rt(t, Yt(n))),
- r
- ? ((o = It), (i = !1))
- : t.length >= 200 && ((o = Qt), (i = !1), (t = new Kn(t)))
- e: for (; ++a < s; ) {
- var u = e[a],
- p = null == n ? u : n(u)
- if (((u = r || 0 !== u ? u : 0), i && p == p)) {
- for (var d = c; d--; ) if (t[d] === p) continue e
- l.push(u)
- } else o(t, p, r) || l.push(u)
- }
- return l
- }
- ;(Vn.templateSettings = {
- escape: J,
- evaluate: Q,
- interpolate: X,
- variable: '',
- imports: { _: Vn }
- }),
- (Vn.prototype = Hn.prototype),
- (Vn.prototype.constructor = Vn),
- (Gn.prototype = Ln(Hn.prototype)),
- (Gn.prototype.constructor = Gn),
- (qn.prototype = Ln(Hn.prototype)),
- (qn.prototype.constructor = qn),
- (Un.prototype.clear = function () {
- ;(this.__data__ = Tn ? Tn(null) : {}), (this.size = 0)
- }),
- (Un.prototype.delete = function (e) {
- var t = this.has(e) && delete this.__data__[e]
- return (this.size -= t ? 1 : 0), t
- }),
- (Un.prototype.get = function (e) {
- var t = this.__data__
- if (Tn) {
- var r = t[e]
- return r === a ? n : r
- }
- return De.call(t, e) ? t[e] : n
- }),
- (Un.prototype.has = function (e) {
- var t = this.__data__
- return Tn ? t[e] !== n : De.call(t, e)
- }),
- (Un.prototype.set = function (e, t) {
- var r = this.__data__
- return (this.size += this.has(e) ? 0 : 1), (r[e] = Tn && t === n ? a : t), this
- }),
- (Wn.prototype.clear = function () {
- ;(this.__data__ = []), (this.size = 0)
- }),
- (Wn.prototype.delete = function (e) {
- var t = this.__data__,
- n = nr(t, e)
- return (
- !(n < 0) && (n == t.length - 1 ? t.pop() : Ye.call(t, n, 1), --this.size, !0)
- )
- }),
- (Wn.prototype.get = function (e) {
- var t = this.__data__,
- r = nr(t, e)
- return r < 0 ? n : t[r][1]
- }),
- (Wn.prototype.has = function (e) {
- return nr(this.__data__, e) > -1
- }),
- (Wn.prototype.set = function (e, t) {
- var n = this.__data__,
- r = nr(n, e)
- return r < 0 ? (++this.size, n.push([e, t])) : (n[r][1] = t), this
- }),
- ($n.prototype.clear = function () {
- ;(this.size = 0),
- (this.__data__ = { hash: new Un(), map: new (Sn || Wn)(), string: new Un() })
- }),
- ($n.prototype.delete = function (e) {
- var t = co(this, e).delete(e)
- return (this.size -= t ? 1 : 0), t
- }),
- ($n.prototype.get = function (e) {
- return co(this, e).get(e)
- }),
- ($n.prototype.has = function (e) {
- return co(this, e).has(e)
- }),
- ($n.prototype.set = function (e, t) {
- var n = co(this, e),
- r = n.size
- return n.set(e, t), (this.size += n.size == r ? 0 : 1), this
- }),
- (Kn.prototype.add = Kn.prototype.push =
- function (e) {
- return this.__data__.set(e, a), this
- }),
- (Kn.prototype.has = function (e) {
- return this.__data__.has(e)
- }),
- (Yn.prototype.clear = function () {
- ;(this.__data__ = new Wn()), (this.size = 0)
- }),
- (Yn.prototype.delete = function (e) {
- var t = this.__data__,
- n = t.delete(e)
- return (this.size = t.size), n
- }),
- (Yn.prototype.get = function (e) {
- return this.__data__.get(e)
- }),
- (Yn.prototype.has = function (e) {
- return this.__data__.has(e)
- }),
- (Yn.prototype.set = function (e, t) {
- var n = this.__data__
- if (n instanceof Wn) {
- var r = n.__data__
- if (!Sn || r.length < 199) return r.push([e, t]), (this.size = ++n.size), this
- n = this.__data__ = new $n(r)
- }
- return n.set(e, t), (this.size = n.size), this
- })
- var dr = za(_r),
- fr = za(Ar, !0)
- function hr(e, t) {
- var n = !0
- return (
- dr(e, function (e, r, a) {
- return (n = !!t(e, r, a))
- }),
- n
- )
- }
- function vr(e, t, r) {
- for (var a = -1, o = e.length; ++a < o; ) {
- var i = e[a],
- s = t(i)
- if (null != s && (l === n ? s == s && !ds(s) : r(s, l)))
- var l = s,
- c = i
- }
- return c
- }
- function mr(e, t) {
- var n = []
- return (
- dr(e, function (e, r, a) {
- t(e, r, a) && n.push(e)
- }),
- n
- )
- }
- function gr(e, t, n, r, a) {
- var o = -1,
- i = e.length
- for (n || (n = yo), a || (a = []); ++o < i; ) {
- var s = e[o]
- t > 0 && n(s)
- ? t > 1
- ? gr(s, t - 1, n, r, a)
- : Mt(a, s)
- : r || (a[a.length] = s)
- }
- return a
- }
- var yr = Oa(),
- br = Oa(!0)
- function _r(e, t) {
- return e && yr(e, t, Ds)
- }
- function Ar(e, t) {
- return e && br(e, t, Ds)
- }
- function xr(e, t) {
- return Ct(t, function (t) {
- return ts(e[t])
- })
- }
- function wr(e, t) {
- for (var r = 0, a = (t = ba(t, e)).length; null != e && r < a; ) e = e[Lo(t[r++])]
- return r && r == a ? e : n
- }
- function kr(e, t, n) {
- var r = t(e)
- return Ki(e) ? r : Mt(r, n(e))
- }
- function Sr(e) {
- return null == e
- ? e === n
- ? '[object Undefined]'
- : '[object Null]'
- : it && it in Ee(e)
- ? (function (e) {
- var t = De.call(e, it),
- r = e[it]
- try {
- e[it] = n
- var a = !0
- } catch (i) {}
- var o = Ne.call(e)
- a && (t ? (e[it] = r) : delete e[it])
- return o
- })(e)
- : (function (e) {
- return Ne.call(e)
- })(e)
- }
- function Er(e, t) {
- return e > t
- }
- function Pr(e, t) {
- return null != e && De.call(e, t)
- }
- function Cr(e, t) {
- return null != e && t in Ee(e)
- }
- function Tr(e, t, r) {
- for (
- var a = r ? It : Tt,
- o = e[0].length,
- i = e.length,
- s = i,
- l = oe(i),
- c = 1 / 0,
- u = [];
- s--;
- ) {
- var p = e[s]
- s && t && (p = Rt(p, Yt(t))),
- (c = bn(p.length, c)),
- (l[s] = !r && (t || (o >= 120 && p.length >= 120)) ? new Kn(s && p) : n)
- }
- p = e[0]
- var d = -1,
- f = l[0]
- e: for (; ++d < o && u.length < c; ) {
- var h = p[d],
- v = t ? t(h) : h
- if (((h = r || 0 !== h ? h : 0), !(f ? Qt(f, v) : a(u, v, r)))) {
- for (s = i; --s; ) {
- var m = l[s]
- if (!(m ? Qt(m, v) : a(e[s], v, r))) continue e
- }
- f && f.push(v), u.push(h)
- }
- }
- return u
- }
- function Ir(e, t, r) {
- var a = null == (e = Co(e, (t = ba(t, e)))) ? e : e[Lo(ei(t))]
- return null == a ? n : wt(a, e, r)
- }
- function Rr(e) {
- return os(e) && Sr(e) == m
- }
- function Mr(e, t, r, a, o) {
- return (
- e === t ||
- (null == e || null == t || (!os(e) && !os(t))
- ? e != e && t != t
- : (function (e, t, r, a, o, i) {
- var s = Ki(e),
- l = Ki(t),
- c = s ? g : vo(e),
- u = l ? g : vo(t),
- p = (c = c == m ? S : c) == S,
- d = (u = u == m ? S : u) == S,
- f = c == u
- if (f && Xi(e)) {
- if (!Xi(t)) return !1
- ;(s = !0), (p = !1)
- }
- if (f && !p)
- return (
- i || (i = new Yn()),
- s || fs(e)
- ? to(e, t, r, a, o, i)
- : (function (e, t, n, r, a, o, i) {
- switch (n) {
- case z:
- if (
- e.byteLength != t.byteLength ||
- e.byteOffset != t.byteOffset
- )
- return !1
- ;(e = e.buffer), (t = t.buffer)
- case M:
- return !(
- e.byteLength != t.byteLength || !o(new qe(e), new qe(t))
- )
- case y:
- case b:
- case k:
- return qi(+e, +t)
- case _:
- return e.name == t.name && e.message == t.message
- case P:
- case T:
- return e == t + ''
- case w:
- var s = on
- case C:
- var l = 1 & r
- if ((s || (s = cn), e.size != t.size && !l)) return !1
- var c = i.get(e)
- if (c) return c == t
- ;(r |= 2), i.set(e, t)
- var u = to(s(e), s(t), r, a, o, i)
- return i.delete(e), u
- case I:
- if (Nn) return Nn.call(e) == Nn.call(t)
- }
- return !1
- })(e, t, c, r, a, o, i)
- )
- if (!(1 & r)) {
- var h = p && De.call(e, '__wrapped__'),
- v = d && De.call(t, '__wrapped__')
- if (h || v) {
- var A = h ? e.value() : e,
- x = v ? t.value() : t
- return i || (i = new Yn()), o(A, x, r, a, i)
- }
- }
- if (!f) return !1
- return (
- i || (i = new Yn()),
- (function (e, t, r, a, o, i) {
- var s = 1 & r,
- l = ro(e),
- c = l.length,
- u = ro(t).length
- if (c != u && !s) return !1
- var p = c
- for (; p--; ) {
- var d = l[p]
- if (!(s ? d in t : De.call(t, d))) return !1
- }
- var f = i.get(e),
- h = i.get(t)
- if (f && h) return f == t && h == e
- var v = !0
- i.set(e, t), i.set(t, e)
- var m = s
- for (; ++p < c; ) {
- var g = e[(d = l[p])],
- y = t[d]
- if (a) var b = s ? a(y, g, d, t, e, i) : a(g, y, d, e, t, i)
- if (!(b === n ? g === y || o(g, y, r, a, i) : b)) {
- v = !1
- break
- }
- m || (m = 'constructor' == d)
- }
- if (v && !m) {
- var _ = e.constructor,
- A = t.constructor
- _ == A ||
- !('constructor' in e) ||
- !('constructor' in t) ||
- ('function' == typeof _ &&
- _ instanceof _ &&
- 'function' == typeof A &&
- A instanceof A) ||
- (v = !1)
- }
- return i.delete(e), i.delete(t), v
- })(e, t, r, a, o, i)
- )
- })(e, t, r, a, Mr, o))
- )
- }
- function zr(e, t, r, a) {
- var o = r.length,
- i = o,
- s = !a
- if (null == e) return !i
- for (e = Ee(e); o--; ) {
- var l = r[o]
- if (s && l[2] ? l[1] !== e[l[0]] : !(l[0] in e)) return !1
- }
- for (; ++o < i; ) {
- var c = (l = r[o])[0],
- u = e[c],
- p = l[1]
- if (s && l[2]) {
- if (u === n && !(c in e)) return !1
- } else {
- var d = new Yn()
- if (a) var f = a(u, p, c, e, t, d)
- if (!(f === n ? Mr(p, u, 3, a, d) : f)) return !1
- }
- }
- return !0
- }
- function Or(e) {
- return !(!as(e) || ((t = e), Be && Be in t)) && (ts(e) ? Le : me).test(Ho(e))
- var t
- }
- function Dr(e) {
- return 'function' == typeof e
- ? e
- : null == e
- ? sl
- : 'object' == _typeof2(e)
- ? Ki(e)
- ? Lr(e[0], e[1])
- : Vr(e)
- : ml(e)
- }
- function Fr(e) {
- if (!ko(e)) return gn(e)
- var t = []
- for (var n in Ee(e)) De.call(e, n) && 'constructor' != n && t.push(n)
- return t
- }
- function Br(e) {
- if (!as(e))
- return (function (e) {
- var t = []
- if (null != e) for (var n in Ee(e)) t.push(n)
- return t
- })(e)
- var t = ko(e),
- n = []
- for (var r in e) ('constructor' != r || (!t && De.call(e, r))) && n.push(r)
- return n
- }
- function Nr(e, t) {
- return e < t
- }
- function jr(e, t) {
- var n = -1,
- r = Ji(e) ? oe(e.length) : []
- return (
- dr(e, function (e, a, o) {
- r[++n] = t(e, a, o)
- }),
- r
- )
- }
- function Vr(e) {
- var t = uo(e)
- return 1 == t.length && t[0][2]
- ? Eo(t[0][0], t[0][1])
- : function (n) {
- return n === e || zr(n, e, t)
- }
- }
- function Lr(e, t) {
- return Ao(e) && So(t)
- ? Eo(Lo(e), t)
- : function (r) {
- var a = Is(r, e)
- return a === n && a === t ? Rs(r, e) : Mr(t, a, 3)
- }
- }
- function Hr(e, t, r, a, o) {
- e !== t &&
- yr(
- t,
- function (i, s) {
- if ((o || (o = new Yn()), as(i)))
- !(function (e, t, r, a, o, i, s) {
- var l = Io(e, r),
- c = Io(t, r),
- u = s.get(c)
- if (u) return void er(e, r, u)
- var p = i ? i(l, c, r + '', e, t, s) : n,
- d = p === n
- if (d) {
- var f = Ki(c),
- h = !f && Xi(c),
- v = !f && !h && fs(c)
- ;(p = c),
- f || h || v
- ? Ki(l)
- ? (p = l)
- : Qi(l)
- ? (p = Ta(l))
- : h
- ? ((d = !1), (p = wa(c, !0)))
- : v
- ? ((d = !1), (p = Sa(c, !0)))
- : (p = [])
- : ls(c) || $i(c)
- ? ((p = l),
- $i(l) ? (p = As(l)) : (as(l) && !ts(l)) || (p = go(c)))
- : (d = !1)
- }
- d && (s.set(c, p), o(p, c, a, i, s), s.delete(c))
- er(e, r, p)
- })(e, t, s, r, Hr, a, o)
- else {
- var l = a ? a(Io(e, s), i, s + '', e, t, o) : n
- l === n && (l = i), er(e, s, l)
- }
- },
- Fs
- )
- }
- function Gr(e, t) {
- var r = e.length
- if (r) return bo((t += t < 0 ? r : 0), r) ? e[t] : n
- }
- function qr(e, t, n) {
- t = t.length
- ? Rt(t, function (e) {
- return Ki(e)
- ? function (t) {
- return wr(t, 1 === e.length ? e[0] : e)
- }
- : e
- })
- : [sl]
- var r = -1
- return (
- (t = Rt(t, Yt(lo()))),
- (function (e, t) {
- var n = e.length
- for (e.sort(t); n--; ) e[n] = e[n].value
- return e
- })(
- jr(e, function (e, n, a) {
- return {
- criteria: Rt(t, function (t) {
- return t(e)
- }),
- index: ++r,
- value: e
- }
- }),
- function (e, t) {
- return (function (e, t, n) {
- var r = -1,
- a = e.criteria,
- o = t.criteria,
- i = a.length,
- s = n.length
- for (; ++r < i; ) {
- var l = Ea(a[r], o[r])
- if (l) return r >= s ? l : l * ('desc' == n[r] ? -1 : 1)
- }
- return e.index - t.index
- })(e, t, n)
- }
- )
- )
- }
- function Ur(e, t, n) {
- for (var r = -1, a = t.length, o = {}; ++r < a; ) {
- var i = t[r],
- s = wr(e, i)
- n(s, i) && Zr(o, ba(i, e), s)
- }
- return o
- }
- function Wr(e, t, n, r) {
- var a = r ? Vt : jt,
- o = -1,
- i = t.length,
- s = e
- for (e === t && (t = Ta(t)), n && (s = Rt(e, Yt(n))); ++o < i; )
- for (var l = 0, c = t[o], u = n ? n(c) : c; (l = a(s, u, l, r)) > -1; )
- s !== e && Ye.call(s, l, 1), Ye.call(e, l, 1)
- return e
- }
- function $r(e, t) {
- for (var n = e ? t.length : 0, r = n - 1; n--; ) {
- var a = t[n]
- if (n == r || a !== o) {
- var o = a
- bo(a) ? Ye.call(e, a, 1) : pa(e, a)
- }
- }
- return e
- }
- function Kr(e, t) {
- return e + mt(xn() * (t - e + 1))
- }
- function Yr(e, t) {
- var n = ''
- if (!e || t < 1 || t > d) return n
- do {
- t % 2 && (n += e), (t = mt(t / 2)) && (e += e)
- } while (t)
- return n
- }
- function Jr(e, t) {
- return zo(Po(e, t, sl), e + '')
- }
- function Qr(e) {
- return Qn(qs(e))
- }
- function Xr(e, t) {
- var n = qs(e)
- return Fo(n, sr(t, 0, n.length))
- }
- function Zr(e, t, r, a) {
- if (!as(e)) return e
- for (
- var o = -1, i = (t = ba(t, e)).length, s = i - 1, l = e;
- null != l && ++o < i;
- ) {
- var c = Lo(t[o]),
- u = r
- if ('__proto__' === c || 'constructor' === c || 'prototype' === c) return e
- if (o != s) {
- var p = l[c]
- ;(u = a ? a(p, c, l) : n) === n && (u = as(p) ? p : bo(t[o + 1]) ? [] : {})
- }
- tr(l, c, u), (l = l[c])
- }
- return e
- }
- var ea = In
- ? function (e, t) {
- return In.set(e, t), e
- }
- : sl,
- ta = ct
- ? function (e, t) {
- return ct(e, 'toString', {
- configurable: !0,
- enumerable: !1,
- value: al(t),
- writable: !0
- })
- }
- : sl
- function na(e) {
- return Fo(qs(e))
- }
- function ra(e, t, n) {
- var r = -1,
- a = e.length
- t < 0 && (t = -t > a ? 0 : a + t),
- (n = n > a ? a : n) < 0 && (n += a),
- (a = t > n ? 0 : (n - t) >>> 0),
- (t >>>= 0)
- for (var o = oe(a); ++r < a; ) o[r] = e[r + t]
- return o
- }
- function aa(e, t) {
- var n
- return (
- dr(e, function (e, r, a) {
- return !(n = t(e, r, a))
- }),
- !!n
- )
- }
- function oa(e, t, n) {
- var r = 0,
- a = null == e ? r : e.length
- if ('number' == typeof t && t == t && a <= 2147483647) {
- for (; r < a; ) {
- var o = (r + a) >>> 1,
- i = e[o]
- null !== i && !ds(i) && (n ? i <= t : i < t) ? (r = o + 1) : (a = o)
- }
- return a
- }
- return ia(e, t, sl, n)
- }
- function ia(e, t, r, a) {
- var o = 0,
- i = null == e ? 0 : e.length
- if (0 === i) return 0
- for (var s = (t = r(t)) != t, l = null === t, c = ds(t), u = t === n; o < i; ) {
- var p = mt((o + i) / 2),
- d = r(e[p]),
- f = d !== n,
- h = null === d,
- v = d == d,
- m = ds(d)
- if (s) var g = a || v
- else
- g = u
- ? v && (a || f)
- : l
- ? v && f && (a || !h)
- : c
- ? v && f && !h && (a || !m)
- : !h && !m && (a ? d <= t : d < t)
- g ? (o = p + 1) : (i = p)
- }
- return bn(i, 4294967294)
- }
- function sa(e, t) {
- for (var n = -1, r = e.length, a = 0, o = []; ++n < r; ) {
- var i = e[n],
- s = t ? t(i) : i
- if (!n || !qi(s, l)) {
- var l = s
- o[a++] = 0 === i ? 0 : i
- }
- }
- return o
- }
- function la(e) {
- return 'number' == typeof e ? e : ds(e) ? f : +e
- }
- function ca(e) {
- if ('string' == typeof e) return e
- if (Ki(e)) return Rt(e, ca) + ''
- if (ds(e)) return jn ? jn.call(e) : ''
- var t = e + ''
- return '0' == t && 1 / e == -1 / 0 ? '-0' : t
- }
- function ua(e, t, n) {
- var r = -1,
- a = Tt,
- o = e.length,
- i = !0,
- s = [],
- l = s
- if (n) (i = !1), (a = It)
- else if (o >= 200) {
- var c = t ? null : Ya(e)
- if (c) return cn(c)
- ;(i = !1), (a = Qt), (l = new Kn())
- } else l = t ? [] : s
- e: for (; ++r < o; ) {
- var u = e[r],
- p = t ? t(u) : u
- if (((u = n || 0 !== u ? u : 0), i && p == p)) {
- for (var d = l.length; d--; ) if (l[d] === p) continue e
- t && l.push(p), s.push(u)
- } else a(l, p, n) || (l !== s && l.push(p), s.push(u))
- }
- return s
- }
- function pa(e, t) {
- return null == (e = Co(e, (t = ba(t, e)))) || delete e[Lo(ei(t))]
- }
- function da(e, t, n, r) {
- return Zr(e, t, n(wr(e, t)), r)
- }
- function fa(e, t, n, r) {
- for (var a = e.length, o = r ? a : -1; (r ? o-- : ++o < a) && t(e[o], o, e); );
- return n ? ra(e, r ? 0 : o, r ? o + 1 : a) : ra(e, r ? o + 1 : 0, r ? a : o)
- }
- function ha(e, t) {
- var n = e
- return (
- n instanceof qn && (n = n.value()),
- zt(
- t,
- function (e, t) {
- return t.func.apply(t.thisArg, Mt([e], t.args))
- },
- n
- )
- )
- }
- function va(e, t, n) {
- var r = e.length
- if (r < 2) return r ? ua(e[0]) : []
- for (var a = -1, o = oe(r); ++a < r; )
- for (var i = e[a], s = -1; ++s < r; )
- s != a && (o[a] = pr(o[a] || i, e[s], t, n))
- return ua(gr(o, 1), t, n)
- }
- function ma(e, t, r) {
- for (var a = -1, o = e.length, i = t.length, s = {}; ++a < o; ) {
- var l = a < i ? t[a] : n
- r(s, e[a], l)
- }
- return s
- }
- function ga(e) {
- return Qi(e) ? e : []
- }
- function ya(e) {
- return 'function' == typeof e ? e : sl
- }
- function ba(e, t) {
- return Ki(e) ? e : Ao(e, t) ? [e] : Vo(xs(e))
- }
- var _a = Jr
- function Aa(e, t, r) {
- var a = e.length
- return (r = r === n ? a : r), !t && r >= a ? e : ra(e, t, r)
- }
- var xa =
- ut ||
- function (e) {
- return pt.clearTimeout(e)
- }
- function wa(e, t) {
- if (t) return e.slice()
- var n = e.length,
- r = Ue ? Ue(n) : new e.constructor(n)
- return e.copy(r), r
- }
- function ka(e) {
- var t = new e.constructor(e.byteLength)
- return new qe(t).set(new qe(e)), t
- }
- function Sa(e, t) {
- var n = t ? ka(e.buffer) : e.buffer
- return new e.constructor(n, e.byteOffset, e.length)
- }
- function Ea(e, t) {
- if (e !== t) {
- var r = e !== n,
- a = null === e,
- o = e == e,
- i = ds(e),
- s = t !== n,
- l = null === t,
- c = t == t,
- u = ds(t)
- if (
- (!l && !u && !i && e > t) ||
- (i && s && c && !l && !u) ||
- (a && s && c) ||
- (!r && c) ||
- !o
- )
- return 1
- if (
- (!a && !i && !u && e < t) ||
- (u && r && o && !a && !i) ||
- (l && r && o) ||
- (!s && o) ||
- !c
- )
- return -1
- }
- return 0
- }
- function Pa(e, t, n, r) {
- for (
- var a = -1,
- o = e.length,
- i = n.length,
- s = -1,
- l = t.length,
- c = yn(o - i, 0),
- u = oe(l + c),
- p = !r;
- ++s < l;
- )
- u[s] = t[s]
- for (; ++a < i; ) (p || a < o) && (u[n[a]] = e[a])
- for (; c--; ) u[s++] = e[a++]
- return u
- }
- function Ca(e, t, n, r) {
- for (
- var a = -1,
- o = e.length,
- i = -1,
- s = n.length,
- l = -1,
- c = t.length,
- u = yn(o - s, 0),
- p = oe(u + c),
- d = !r;
- ++a < u;
- )
- p[a] = e[a]
- for (var f = a; ++l < c; ) p[f + l] = t[l]
- for (; ++i < s; ) (d || a < o) && (p[f + n[i]] = e[a++])
- return p
- }
- function Ta(e, t) {
- var n = -1,
- r = e.length
- for (t || (t = oe(r)); ++n < r; ) t[n] = e[n]
- return t
- }
- function Ia(e, t, r, a) {
- var o = !r
- r || (r = {})
- for (var i = -1, s = t.length; ++i < s; ) {
- var l = t[i],
- c = a ? a(r[l], e[l], l, r, e) : n
- c === n && (c = e[l]), o ? or(r, l, c) : tr(r, l, c)
- }
- return r
- }
- function Ra(e, t) {
- return function (n, r) {
- var a = Ki(n) ? kt : rr,
- o = t ? t() : {}
- return a(n, e, lo(r, 2), o)
- }
- }
- function Ma(e) {
- return Jr(function (t, r) {
- var a = -1,
- o = r.length,
- i = o > 1 ? r[o - 1] : n,
- s = o > 2 ? r[2] : n
- for (
- i = e.length > 3 && 'function' == typeof i ? (o--, i) : n,
- s && _o(r[0], r[1], s) && ((i = o < 3 ? n : i), (o = 1)),
- t = Ee(t);
- ++a < o;
- ) {
- var l = r[a]
- l && e(t, l, a, i)
- }
- return t
- })
- }
- function za(e, t) {
- return function (n, r) {
- if (null == n) return n
- if (!Ji(n)) return e(n, r)
- for (
- var a = n.length, o = t ? a : -1, i = Ee(n);
- (t ? o-- : ++o < a) && !1 !== r(i[o], o, i);
- );
- return n
- }
- }
- function Oa(e) {
- return function (t, n, r) {
- for (var a = -1, o = Ee(t), i = r(t), s = i.length; s--; ) {
- var l = i[e ? s : ++a]
- if (!1 === n(o[l], l, o)) break
- }
- return t
- }
- }
- function Da(e) {
- return function (t) {
- var r = an((t = xs(t))) ? pn(t) : n,
- a = r ? r[0] : t.charAt(0),
- o = r ? Aa(r, 1).join('') : t.slice(1)
- return a[e]() + o
- }
- }
- function Fa(e) {
- return function (t) {
- return zt(tl($s(t).replace(Je, '')), e, '')
- }
- }
- function Ba(e) {
- return function () {
- var t = arguments
- switch (t.length) {
- case 0:
- return new e()
- case 1:
- return new e(t[0])
- case 2:
- return new e(t[0], t[1])
- case 3:
- return new e(t[0], t[1], t[2])
- case 4:
- return new e(t[0], t[1], t[2], t[3])
- case 5:
- return new e(t[0], t[1], t[2], t[3], t[4])
- case 6:
- return new e(t[0], t[1], t[2], t[3], t[4], t[5])
- case 7:
- return new e(t[0], t[1], t[2], t[3], t[4], t[5], t[6])
- }
- var n = Ln(e.prototype),
- r = e.apply(n, t)
- return as(r) ? r : n
- }
- }
- function Na(e) {
- return function (t, r, a) {
- var o = Ee(t)
- if (!Ji(t)) {
- var i = lo(r, 3)
- ;(t = Ds(t)),
- (r = function (e) {
- return i(o[e], e, o)
- })
- }
- var s = e(t, r, a)
- return s > -1 ? o[i ? t[s] : s] : n
- }
- }
- function ja(e) {
- return no(function (t) {
- var a = t.length,
- o = a,
- i = Gn.prototype.thru
- for (e && t.reverse(); o--; ) {
- var s = t[o]
- if ('function' != typeof s) throw new Te(r)
- if (i && !l && 'wrapper' == io(s)) var l = new Gn([], !0)
- }
- for (o = l ? o : a; ++o < a; ) {
- var c = io((s = t[o])),
- u = 'wrapper' == c ? oo(s) : n
- l =
- u && xo(u[0]) && 424 == u[1] && !u[4].length && 1 == u[9]
- ? l[io(u[0])].apply(l, u[3])
- : 1 == s.length && xo(s)
- ? l[c]()
- : l.thru(s)
- }
- return function () {
- var e = arguments,
- n = e[0]
- if (l && 1 == e.length && Ki(n)) return l.plant(n).value()
- for (var r = 0, o = a ? t[r].apply(this, e) : n; ++r < a; )
- o = t[r].call(this, o)
- return o
- }
- })
- }
- function Va(e, t, r, a, o, i, s, l, u, p) {
- var d = t & c,
- f = 1 & t,
- h = 2 & t,
- v = 24 & t,
- m = 512 & t,
- g = h ? n : Ba(e)
- return function n() {
- for (var c = arguments.length, y = oe(c), b = c; b--; ) y[b] = arguments[b]
- if (v)
- var _ = so(n),
- A = en(y, _)
- if (
- (a && (y = Pa(y, a, o, v)), i && (y = Ca(y, i, s, v)), (c -= A), v && c < p)
- ) {
- var x = ln(y, _)
- return $a(e, t, Va, n.placeholder, r, y, x, l, u, p - c)
- }
- var w = f ? r : this,
- k = h ? w[e] : e
- return (
- (c = y.length),
- l ? (y = To(y, l)) : m && c > 1 && y.reverse(),
- d && u < c && (y.length = u),
- this && this !== pt && this instanceof n && (k = g || Ba(k)),
- k.apply(w, y)
- )
- }
- }
- function La(e, t) {
- return function (n, r) {
- return (function (e, t, n, r) {
- return (
- _r(e, function (e, a, o) {
- t(r, n(e), a, o)
- }),
- r
- )
- })(n, e, t(r), {})
- }
- }
- function Ha(e, t) {
- return function (r, a) {
- var o
- if (r === n && a === n) return t
- if ((r !== n && (o = r), a !== n)) {
- if (o === n) return a
- 'string' == typeof r || 'string' == typeof a
- ? ((r = ca(r)), (a = ca(a)))
- : ((r = la(r)), (a = la(a))),
- (o = e(r, a))
- }
- return o
- }
- }
- function Ga(e) {
- return no(function (t) {
- return (
- (t = Rt(t, Yt(lo()))),
- Jr(function (n) {
- var r = this
- return e(t, function (e) {
- return wt(e, r, n)
- })
- })
- )
- })
- }
- function qa(e, t) {
- var r = (t = t === n ? ' ' : ca(t)).length
- if (r < 2) return r ? Yr(t, e) : t
- var a = Yr(t, vt(e / un(t)))
- return an(t) ? Aa(pn(a), 0, e).join('') : a.slice(0, e)
- }
- function Ua(e) {
- return function (t, r, a) {
- return (
- a && 'number' != typeof a && _o(t, r, a) && (r = a = n),
- (t = gs(t)),
- r === n ? ((r = t), (t = 0)) : (r = gs(r)),
- (function (e, t, n, r) {
- for (var a = -1, o = yn(vt((t - e) / (n || 1)), 0), i = oe(o); o--; )
- (i[r ? o : ++a] = e), (e += n)
- return i
- })(t, r, (a = a === n ? (t < r ? 1 : -1) : gs(a)), e)
- )
- }
- }
- function Wa(e) {
- return function (t, n) {
- return (
- ('string' == typeof t && 'string' == typeof n) || ((t = _s(t)), (n = _s(n))),
- e(t, n)
- )
- }
- }
- function $a(e, t, r, a, o, i, c, u, p, d) {
- var f = 8 & t
- ;(t |= f ? s : l), 4 & (t &= ~(f ? l : s)) || (t &= -4)
- var h = [e, t, o, f ? i : n, f ? c : n, f ? n : i, f ? n : c, u, p, d],
- v = r.apply(n, h)
- return xo(e) && Ro(v, h), (v.placeholder = a), Oo(v, e, t)
- }
- function Ka(e) {
- var t = Se[e]
- return function (e, n) {
- if (((e = _s(e)), (n = null == n ? 0 : bn(ys(n), 292)) && vn(e))) {
- var r = (xs(e) + 'e').split('e')
- return +(
- (r = (xs(t(r[0] + 'e' + (+r[1] + n))) + 'e').split('e'))[0] +
- 'e' +
- (+r[1] - n)
- )
- }
- return t(e)
- }
- }
- var Ya =
- Pn && 1 / cn(new Pn([, -0]))[1] == p
- ? function (e) {
- return new Pn(e)
- }
- : dl
- function Ja(e) {
- return function (t) {
- var n = vo(t)
- return n == w
- ? on(t)
- : n == C
- ? (function (e) {
- var t = -1,
- n = Array(e.size)
- return (
- e.forEach(function (e) {
- n[++t] = [e, e]
- }),
- n
- )
- })(t)
- : (function (e, t) {
- return Rt(t, function (t) {
- return [t, e[t]]
- })
- })(t, e(t))
- }
- }
- function Qa(e, t, a, p, d, f, h, v) {
- var m = 2 & t
- if (!m && 'function' != typeof e) throw new Te(r)
- var g = p ? p.length : 0
- if (
- (g || ((t &= -97), (p = d = n)),
- (h = h === n ? h : yn(ys(h), 0)),
- (v = v === n ? v : ys(v)),
- (g -= d ? d.length : 0),
- t & l)
- ) {
- var y = p,
- b = d
- p = d = n
- }
- var _ = m ? n : oo(e),
- A = [e, t, a, p, d, y, b, f, h, v]
- if (
- (_ &&
- (function (e, t) {
- var n = e[1],
- r = t[1],
- a = n | r,
- i = a < 131,
- s =
- (r == c && 8 == n) ||
- (r == c && n == u && e[7].length <= t[8]) ||
- (384 == r && t[7].length <= t[8] && 8 == n)
- if (!i && !s) return e
- 1 & r && ((e[2] = t[2]), (a |= 1 & n ? 0 : 4))
- var l = t[3]
- if (l) {
- var p = e[3]
- ;(e[3] = p ? Pa(p, l, t[4]) : l), (e[4] = p ? ln(e[3], o) : t[4])
- }
- ;(l = t[5]) &&
- ((p = e[5]),
- (e[5] = p ? Ca(p, l, t[6]) : l),
- (e[6] = p ? ln(e[5], o) : t[6]))
- ;(l = t[7]) && (e[7] = l)
- r & c && (e[8] = null == e[8] ? t[8] : bn(e[8], t[8]))
- null == e[9] && (e[9] = t[9])
- ;(e[0] = t[0]), (e[1] = a)
- })(A, _),
- (e = A[0]),
- (t = A[1]),
- (a = A[2]),
- (p = A[3]),
- (d = A[4]),
- !(v = A[9] = A[9] === n ? (m ? 0 : e.length) : yn(A[9] - g, 0)) &&
- 24 & t &&
- (t &= -25),
- t && 1 != t)
- )
- x =
- 8 == t || t == i
- ? (function (e, t, r) {
- var a = Ba(e)
- return function o() {
- for (var i = arguments.length, s = oe(i), l = i, c = so(o); l--; )
- s[l] = arguments[l]
- var u = i < 3 && s[0] !== c && s[i - 1] !== c ? [] : ln(s, c)
- return (i -= u.length) < r
- ? $a(e, t, Va, o.placeholder, n, s, u, n, n, r - i)
- : wt(this && this !== pt && this instanceof o ? a : e, this, s)
- }
- })(e, t, v)
- : (t != s && 33 != t) || d.length
- ? Va.apply(n, A)
- : (function (e, t, n, r) {
- var a = 1 & t,
- o = Ba(e)
- return function t() {
- for (
- var i = -1,
- s = arguments.length,
- l = -1,
- c = r.length,
- u = oe(c + s),
- p = this && this !== pt && this instanceof t ? o : e;
- ++l < c;
- )
- u[l] = r[l]
- for (; s--; ) u[l++] = arguments[++i]
- return wt(p, a ? n : this, u)
- }
- })(e, t, a, p)
- else
- var x = (function (e, t, n) {
- var r = 1 & t,
- a = Ba(e)
- return function t() {
- return (this && this !== pt && this instanceof t ? a : e).apply(
- r ? n : this,
- arguments
- )
- }
- })(e, t, a)
- return Oo((_ ? ea : Ro)(x, A), e, t)
- }
- function Xa(e, t, r, a) {
- return e === n || (qi(e, Me[r]) && !De.call(a, r)) ? t : e
- }
- function Za(e, t, r, a, o, i) {
- return as(e) && as(t) && (i.set(t, e), Hr(e, t, n, Za, i), i.delete(t)), e
- }
- function eo(e) {
- return ls(e) ? n : e
- }
- function to(e, t, r, a, o, i) {
- var s = 1 & r,
- l = e.length,
- c = t.length
- if (l != c && !(s && c > l)) return !1
- var u = i.get(e),
- p = i.get(t)
- if (u && p) return u == t && p == e
- var d = -1,
- f = !0,
- h = 2 & r ? new Kn() : n
- for (i.set(e, t), i.set(t, e); ++d < l; ) {
- var v = e[d],
- m = t[d]
- if (a) var g = s ? a(m, v, d, t, e, i) : a(v, m, d, e, t, i)
- if (g !== n) {
- if (g) continue
- f = !1
- break
- }
- if (h) {
- if (
- !Dt(t, function (e, t) {
- if (!Qt(h, t) && (v === e || o(v, e, r, a, i))) return h.push(t)
- })
- ) {
- f = !1
- break
- }
- } else if (v !== m && !o(v, m, r, a, i)) {
- f = !1
- break
- }
- }
- return i.delete(e), i.delete(t), f
- }
- function no(e) {
- return zo(Po(e, n, Yo), e + '')
- }
- function ro(e) {
- return kr(e, Ds, fo)
- }
- function ao(e) {
- return kr(e, Fs, ho)
- }
- var oo = In
- ? function (e) {
- return In.get(e)
- }
- : dl
- function io(e) {
- for (var t = e.name + '', n = Rn[t], r = De.call(Rn, t) ? n.length : 0; r--; ) {
- var a = n[r],
- o = a.func
- if (null == o || o == e) return a.name
- }
- return t
- }
- function so(e) {
- return (De.call(Vn, 'placeholder') ? Vn : e).placeholder
- }
- function lo() {
- var e = Vn.iteratee || ll
- return (
- (e = e === ll ? Dr : e), arguments.length ? e(arguments[0], arguments[1]) : e
- )
- }
- function co(e, t) {
- var n,
- r,
- a = e.__data__
- return (
- 'string' == (r = _typeof2((n = t))) ||
- 'number' == r ||
- 'symbol' == r ||
- 'boolean' == r
- ? '__proto__' !== n
- : null === n
- )
- ? a['string' == typeof t ? 'string' : 'hash']
- : a.map
- }
- function uo(e) {
- for (var t = Ds(e), n = t.length; n--; ) {
- var r = t[n],
- a = e[r]
- t[n] = [r, a, So(a)]
- }
- return t
- }
- function po(e, t) {
- var r = (function (e, t) {
- return null == e ? n : e[t]
- })(e, t)
- return Or(r) ? r : n
- }
- var fo = Ft
- ? function (e) {
- return null == e
- ? []
- : ((e = Ee(e)),
- Ct(Ft(e), function (t) {
- return Ke.call(e, t)
- }))
- }
- : bl,
- ho = Ft
- ? function (e) {
- for (var t = []; e; ) Mt(t, fo(e)), (e = We(e))
- return t
- }
- : bl,
- vo = Sr
- function mo(e, t, n) {
- for (var r = -1, a = (t = ba(t, e)).length, o = !1; ++r < a; ) {
- var i = Lo(t[r])
- if (!(o = null != e && n(e, i))) break
- e = e[i]
- }
- return o || ++r != a
- ? o
- : !!(a = null == e ? 0 : e.length) && rs(a) && bo(i, a) && (Ki(e) || $i(e))
- }
- function go(e) {
- return 'function' != typeof e.constructor || ko(e) ? {} : Ln(We(e))
- }
- function yo(e) {
- return Ki(e) || $i(e) || !!(Xe && e && e[Xe])
- }
- function bo(e, t) {
- var n = _typeof2(e)
- return (
- !!(t = null == t ? d : t) &&
- ('number' == n || ('symbol' != n && ye.test(e))) &&
- e > -1 &&
- e % 1 == 0 &&
- e < t
- )
- }
- function _o(e, t, n) {
- if (!as(n)) return !1
- var r = _typeof2(t)
- return (
- !!('number' == r ? Ji(n) && bo(t, n.length) : 'string' == r && t in n) &&
- qi(n[t], e)
- )
- }
- function Ao(e, t) {
- if (Ki(e)) return !1
- var n = _typeof2(e)
- return (
- !('number' != n && 'symbol' != n && 'boolean' != n && null != e && !ds(e)) ||
- ee.test(e) ||
- !Z.test(e) ||
- (null != t && e in Ee(t))
- )
- }
- function xo(e) {
- var t = io(e),
- n = Vn[t]
- if ('function' != typeof n || !(t in qn.prototype)) return !1
- if (e === n) return !0
- var r = oo(n)
- return !!r && e === r[0]
- }
- ;((kn && vo(new kn(new ArrayBuffer(1))) != z) ||
- (Sn && vo(new Sn()) != w) ||
- (En && vo(En.resolve()) != E) ||
- (Pn && vo(new Pn()) != C) ||
- (Cn && vo(new Cn()) != R)) &&
- (vo = function (e) {
- var t = Sr(e),
- r = t == S ? e.constructor : n,
- a = r ? Ho(r) : ''
- if (a)
- switch (a) {
- case Mn:
- return z
- case zn:
- return w
- case On:
- return E
- case Dn:
- return C
- case Fn:
- return R
- }
- return t
- })
- var wo = ze ? ts : _l
- function ko(e) {
- var t = e && e.constructor
- return e === (('function' == typeof t && t.prototype) || Me)
- }
- function So(e) {
- return e == e && !as(e)
- }
- function Eo(e, t) {
- return function (r) {
- return null != r && r[e] === t && (t !== n || e in Ee(r))
- }
- }
- function Po(e, t, r) {
- return (
- (t = yn(t === n ? e.length - 1 : t, 0)),
- function () {
- for (var n = arguments, a = -1, o = yn(n.length - t, 0), i = oe(o); ++a < o; )
- i[a] = n[t + a]
- a = -1
- for (var s = oe(t + 1); ++a < t; ) s[a] = n[a]
- return (s[t] = r(i)), wt(e, this, s)
- }
- )
- }
- function Co(e, t) {
- return t.length < 2 ? e : wr(e, ra(t, 0, -1))
- }
- function To(e, t) {
- for (var r = e.length, a = bn(t.length, r), o = Ta(e); a--; ) {
- var i = t[a]
- e[a] = bo(i, r) ? o[i] : n
- }
- return e
- }
- function Io(e, t) {
- if (('constructor' !== t || 'function' != typeof e[t]) && '__proto__' != t)
- return e[t]
- }
- var Ro = Do(ea),
- Mo =
- ft ||
- function (e, t) {
- return pt.setTimeout(e, t)
- },
- zo = Do(ta)
- function Oo(e, t, n) {
- var r = t + ''
- return zo(
- e,
- (function (e, t) {
- var n = t.length
- if (!n) return e
- var r = n - 1
- return (
- (t[r] = (n > 1 ? '& ' : '') + t[r]),
- (t = t.join(n > 2 ? ', ' : ' ')),
- e.replace(ie, '{\n/* [wrapped with ' + t + '] */\n')
- )
- })(
- r,
- (function (e, t) {
- return (
- St(v, function (n) {
- var r = '_.' + n[0]
- t & n[1] && !Tt(e, r) && e.push(r)
- }),
- e.sort()
- )
- })(
- (function (e) {
- var t = e.match(se)
- return t ? t[1].split(le) : []
- })(r),
- n
- )
- )
- )
- }
- function Do(e) {
- var t = 0,
- r = 0
- return function () {
- var a = _n(),
- o = 16 - (a - r)
- if (((r = a), o > 0)) {
- if (++t >= 800) return arguments[0]
- } else t = 0
- return e.apply(n, arguments)
- }
- }
- function Fo(e, t) {
- var r = -1,
- a = e.length,
- o = a - 1
- for (t = t === n ? a : t; ++r < t; ) {
- var i = Kr(r, o),
- s = e[i]
- ;(e[i] = e[r]), (e[r] = s)
- }
- return (e.length = t), e
- }
- var Bo,
- No,
- jo,
- Vo =
- ((Bo = function (e) {
- var t = []
- return (
- 46 === e.charCodeAt(0) && t.push(''),
- e.replace(te, function (e, n, r, a) {
- t.push(r ? a.replace(pe, '$1') : n || e)
- }),
- t
- )
- }),
- (No = Ni(Bo, function (e) {
- return 500 === jo.size && jo.clear(), e
- })),
- (jo = No.cache),
- No)
- function Lo(e) {
- if ('string' == typeof e || ds(e)) return e
- var t = e + ''
- return '0' == t && 1 / e == -1 / 0 ? '-0' : t
- }
- function Ho(e) {
- if (null != e) {
- try {
- return Oe.call(e)
- } catch (t) {}
- try {
- return e + ''
- } catch (t) {}
- }
- return ''
- }
- function Go(e) {
- if (e instanceof qn) return e.clone()
- var t = new Gn(e.__wrapped__, e.__chain__)
- return (
- (t.__actions__ = Ta(e.__actions__)),
- (t.__index__ = e.__index__),
- (t.__values__ = e.__values__),
- t
- )
- }
- var qo = Jr(function (e, t) {
- return Qi(e) ? pr(e, gr(t, 1, Qi, !0)) : []
- }),
- Uo = Jr(function (e, t) {
- var r = ei(t)
- return Qi(r) && (r = n), Qi(e) ? pr(e, gr(t, 1, Qi, !0), lo(r, 2)) : []
- }),
- Wo = Jr(function (e, t) {
- var r = ei(t)
- return Qi(r) && (r = n), Qi(e) ? pr(e, gr(t, 1, Qi, !0), n, r) : []
- })
- function $o(e, t, n) {
- var r = null == e ? 0 : e.length
- if (!r) return -1
- var a = null == n ? 0 : ys(n)
- return a < 0 && (a = yn(r + a, 0)), Nt(e, lo(t, 3), a)
- }
- function Ko(e, t, r) {
- var a = null == e ? 0 : e.length
- if (!a) return -1
- var o = a - 1
- return (
- r !== n && ((o = ys(r)), (o = r < 0 ? yn(a + o, 0) : bn(o, a - 1))),
- Nt(e, lo(t, 3), o, !0)
- )
- }
- function Yo(e) {
- return (null == e ? 0 : e.length) ? gr(e, 1) : []
- }
- function Jo(e) {
- return e && e.length ? e[0] : n
- }
- var Qo = Jr(function (e) {
- var t = Rt(e, ga)
- return t.length && t[0] === e[0] ? Tr(t) : []
- }),
- Xo = Jr(function (e) {
- var t = ei(e),
- r = Rt(e, ga)
- return (
- t === ei(r) ? (t = n) : r.pop(),
- r.length && r[0] === e[0] ? Tr(r, lo(t, 2)) : []
- )
- }),
- Zo = Jr(function (e) {
- var t = ei(e),
- r = Rt(e, ga)
- return (
- (t = 'function' == typeof t ? t : n) && r.pop(),
- r.length && r[0] === e[0] ? Tr(r, n, t) : []
- )
- })
- function ei(e) {
- var t = null == e ? 0 : e.length
- return t ? e[t - 1] : n
- }
- var ti = Jr(ni)
- function ni(e, t) {
- return e && e.length && t && t.length ? Wr(e, t) : e
- }
- var ri = no(function (e, t) {
- var n = null == e ? 0 : e.length,
- r = ir(e, t)
- return (
- $r(
- e,
- Rt(t, function (e) {
- return bo(e, n) ? +e : e
- }).sort(Ea)
- ),
- r
- )
- })
- function ai(e) {
- return null == e ? e : wn.call(e)
- }
- var oi = Jr(function (e) {
- return ua(gr(e, 1, Qi, !0))
- }),
- ii = Jr(function (e) {
- var t = ei(e)
- return Qi(t) && (t = n), ua(gr(e, 1, Qi, !0), lo(t, 2))
- }),
- si = Jr(function (e) {
- var t = ei(e)
- return (t = 'function' == typeof t ? t : n), ua(gr(e, 1, Qi, !0), n, t)
- })
- function li(e) {
- if (!e || !e.length) return []
- var t = 0
- return (
- (e = Ct(e, function (e) {
- if (Qi(e)) return (t = yn(e.length, t)), !0
- })),
- $t(t, function (t) {
- return Rt(e, Gt(t))
- })
- )
- }
- function ci(e, t) {
- if (!e || !e.length) return []
- var r = li(e)
- return null == t
- ? r
- : Rt(r, function (e) {
- return wt(t, n, e)
- })
- }
- var ui = Jr(function (e, t) {
- return Qi(e) ? pr(e, t) : []
- }),
- pi = Jr(function (e) {
- return va(Ct(e, Qi))
- }),
- di = Jr(function (e) {
- var t = ei(e)
- return Qi(t) && (t = n), va(Ct(e, Qi), lo(t, 2))
- }),
- fi = Jr(function (e) {
- var t = ei(e)
- return (t = 'function' == typeof t ? t : n), va(Ct(e, Qi), n, t)
- }),
- hi = Jr(li)
- var vi = Jr(function (e) {
- var t = e.length,
- r = t > 1 ? e[t - 1] : n
- return (r = 'function' == typeof r ? (e.pop(), r) : n), ci(e, r)
- })
- function mi(e) {
- var t = Vn(e)
- return (t.__chain__ = !0), t
- }
- function gi(e, t) {
- return t(e)
- }
- var yi = no(function (e) {
- var t = e.length,
- r = t ? e[0] : 0,
- a = this.__wrapped__,
- o = function (t) {
- return ir(t, e)
- }
- return !(t > 1 || this.__actions__.length) && a instanceof qn && bo(r)
- ? ((a = a.slice(r, +r + (t ? 1 : 0))).__actions__.push({
- func: gi,
- args: [o],
- thisArg: n
- }),
- new Gn(a, this.__chain__).thru(function (e) {
- return t && !e.length && e.push(n), e
- }))
- : this.thru(o)
- })
- var bi = Ra(function (e, t, n) {
- De.call(e, n) ? ++e[n] : or(e, n, 1)
- })
- var _i = Na($o),
- Ai = Na(Ko)
- function xi(e, t) {
- return (Ki(e) ? St : dr)(e, lo(t, 3))
- }
- function wi(e, t) {
- return (Ki(e) ? Et : fr)(e, lo(t, 3))
- }
- var ki = Ra(function (e, t, n) {
- De.call(e, n) ? e[n].push(t) : or(e, n, [t])
- })
- var Si = Jr(function (e, t, n) {
- var r = -1,
- a = 'function' == typeof t,
- o = Ji(e) ? oe(e.length) : []
- return (
- dr(e, function (e) {
- o[++r] = a ? wt(t, e, n) : Ir(e, t, n)
- }),
- o
- )
- }),
- Ei = Ra(function (e, t, n) {
- or(e, n, t)
- })
- function Pi(e, t) {
- return (Ki(e) ? Rt : jr)(e, lo(t, 3))
- }
- var Ci = Ra(
- function (e, t, n) {
- e[n ? 0 : 1].push(t)
- },
- function () {
- return [[], []]
- }
- )
- var Ti = Jr(function (e, t) {
- if (null == e) return []
- var n = t.length
- return (
- n > 1 && _o(e, t[0], t[1])
- ? (t = [])
- : n > 2 && _o(t[0], t[1], t[2]) && (t = [t[0]]),
- qr(e, gr(t, 1), [])
- )
- }),
- Ii =
- dt ||
- function () {
- return pt.Date.now()
- }
- function Ri(e, t, r) {
- return (
- (t = r ? n : t), (t = e && null == t ? e.length : t), Qa(e, c, n, n, n, n, t)
- )
- }
- function Mi(e, t) {
- var a
- if ('function' != typeof t) throw new Te(r)
- return (
- (e = ys(e)),
- function () {
- return --e > 0 && (a = t.apply(this, arguments)), e <= 1 && (t = n), a
- }
- )
- }
- var zi = Jr(function (e, t, n) {
- var r = 1
- if (n.length) {
- var a = ln(n, so(zi))
- r |= s
- }
- return Qa(e, r, t, n, a)
- }),
- Oi = Jr(function (e, t, n) {
- var r = 3
- if (n.length) {
- var a = ln(n, so(Oi))
- r |= s
- }
- return Qa(t, r, e, n, a)
- })
- function Di(e, t, a) {
- var o,
- i,
- s,
- l,
- c,
- u,
- p = 0,
- d = !1,
- f = !1,
- h = !0
- if ('function' != typeof e) throw new Te(r)
- function v(t) {
- var r = o,
- a = i
- return (o = i = n), (p = t), (l = e.apply(a, r))
- }
- function m(e) {
- return (p = e), (c = Mo(y, t)), d ? v(e) : l
- }
- function g(e) {
- var r = e - u
- return u === n || r >= t || r < 0 || (f && e - p >= s)
- }
- function y() {
- var e = Ii()
- if (g(e)) return b(e)
- c = Mo(
- y,
- (function (e) {
- var n = t - (e - u)
- return f ? bn(n, s - (e - p)) : n
- })(e)
- )
- }
- function b(e) {
- return (c = n), h && o ? v(e) : ((o = i = n), l)
- }
- function _() {
- var e = Ii(),
- r = g(e)
- if (((o = arguments), (i = this), (u = e), r)) {
- if (c === n) return m(u)
- if (f) return xa(c), (c = Mo(y, t)), v(u)
- }
- return c === n && (c = Mo(y, t)), l
- }
- return (
- (t = _s(t) || 0),
- as(a) &&
- ((d = !!a.leading),
- (s = (f = 'maxWait' in a) ? yn(_s(a.maxWait) || 0, t) : s),
- (h = 'trailing' in a ? !!a.trailing : h)),
- (_.cancel = function () {
- c !== n && xa(c), (p = 0), (o = u = i = c = n)
- }),
- (_.flush = function () {
- return c === n ? l : b(Ii())
- }),
- _
- )
- }
- var Fi = Jr(function (e, t) {
- return ur(e, 1, t)
- }),
- Bi = Jr(function (e, t, n) {
- return ur(e, _s(t) || 0, n)
- })
- function Ni(e, t) {
- if ('function' != typeof e || (null != t && 'function' != typeof t))
- throw new Te(r)
- var n = function n() {
- var r = arguments,
- a = t ? t.apply(this, r) : r[0],
- o = n.cache
- if (o.has(a)) return o.get(a)
- var i = e.apply(this, r)
- return (n.cache = o.set(a, i) || o), i
- }
- return (n.cache = new (Ni.Cache || $n)()), n
- }
- function ji(e) {
- if ('function' != typeof e) throw new Te(r)
- return function () {
- var t = arguments
- switch (t.length) {
- case 0:
- return !e.call(this)
- case 1:
- return !e.call(this, t[0])
- case 2:
- return !e.call(this, t[0], t[1])
- case 3:
- return !e.call(this, t[0], t[1], t[2])
- }
- return !e.apply(this, t)
- }
- }
- Ni.Cache = $n
- var Vi = _a(function (e, t) {
- var n = (t =
- 1 == t.length && Ki(t[0]) ? Rt(t[0], Yt(lo())) : Rt(gr(t, 1), Yt(lo())))
- .length
- return Jr(function (r) {
- for (var a = -1, o = bn(r.length, n); ++a < o; ) r[a] = t[a].call(this, r[a])
- return wt(e, this, r)
- })
- }),
- Li = Jr(function (e, t) {
- var r = ln(t, so(Li))
- return Qa(e, s, n, t, r)
- }),
- Hi = Jr(function (e, t) {
- var r = ln(t, so(Hi))
- return Qa(e, l, n, t, r)
- }),
- Gi = no(function (e, t) {
- return Qa(e, u, n, n, n, t)
- })
- function qi(e, t) {
- return e === t || (e != e && t != t)
- }
- var Ui = Wa(Er),
- Wi = Wa(function (e, t) {
- return e >= t
- }),
- $i = Rr(
- (function () {
- return arguments
- })()
- )
- ? Rr
- : function (e) {
- return os(e) && De.call(e, 'callee') && !Ke.call(e, 'callee')
- },
- Ki = oe.isArray,
- Yi = gt
- ? Yt(gt)
- : function (e) {
- return os(e) && Sr(e) == M
- }
- function Ji(e) {
- return null != e && rs(e.length) && !ts(e)
- }
- function Qi(e) {
- return os(e) && Ji(e)
- }
- var Xi = qt || _l,
- Zi = yt
- ? Yt(yt)
- : function (e) {
- return os(e) && Sr(e) == b
- }
- function es(e) {
- if (!os(e)) return !1
- var t = Sr(e)
- return (
- t == _ ||
- '[object DOMException]' == t ||
- ('string' == typeof e.message && 'string' == typeof e.name && !ls(e))
- )
- }
- function ts(e) {
- if (!as(e)) return !1
- var t = Sr(e)
- return t == A || t == x || '[object AsyncFunction]' == t || '[object Proxy]' == t
- }
- function ns(e) {
- return 'number' == typeof e && e == ys(e)
- }
- function rs(e) {
- return 'number' == typeof e && e > -1 && e % 1 == 0 && e <= d
- }
- function as(e) {
- var t = _typeof2(e)
- return null != e && ('object' == t || 'function' == t)
- }
- function os(e) {
- return null != e && 'object' == _typeof2(e)
- }
- var is = bt
- ? Yt(bt)
- : function (e) {
- return os(e) && vo(e) == w
- }
- function ss(e) {
- return 'number' == typeof e || (os(e) && Sr(e) == k)
- }
- function ls(e) {
- if (!os(e) || Sr(e) != S) return !1
- var t = We(e)
- if (null === t) return !0
- var n = De.call(t, 'constructor') && t.constructor
- return 'function' == typeof n && n instanceof n && Oe.call(n) == je
- }
- var cs = _t
- ? Yt(_t)
- : function (e) {
- return os(e) && Sr(e) == P
- }
- var us = At
- ? Yt(At)
- : function (e) {
- return os(e) && vo(e) == C
- }
- function ps(e) {
- return 'string' == typeof e || (!Ki(e) && os(e) && Sr(e) == T)
- }
- function ds(e) {
- return 'symbol' == _typeof2(e) || (os(e) && Sr(e) == I)
- }
- var fs = xt
- ? Yt(xt)
- : function (e) {
- return os(e) && rs(e.length) && !!at[Sr(e)]
- }
- var hs = Wa(Nr),
- vs = Wa(function (e, t) {
- return e <= t
- })
- function ms(e) {
- if (!e) return []
- if (Ji(e)) return ps(e) ? pn(e) : Ta(e)
- if (et && e[et])
- return (function (e) {
- for (var t, n = []; !(t = e.next()).done; ) n.push(t.value)
- return n
- })(e[et]())
- var t = vo(e)
- return (t == w ? on : t == C ? cn : qs)(e)
- }
- function gs(e) {
- return e
- ? (e = _s(e)) === p || e === -1 / 0
- ? 17976931348623157e292 * (e < 0 ? -1 : 1)
- : e == e
- ? e
- : 0
- : 0 === e
- ? e
- : 0
- }
- function ys(e) {
- var t = gs(e),
- n = t % 1
- return t == t ? (n ? t - n : t) : 0
- }
- function bs(e) {
- return e ? sr(ys(e), 0, h) : 0
- }
- function _s(e) {
- if ('number' == typeof e) return e
- if (ds(e)) return f
- if (as(e)) {
- var t = 'function' == typeof e.valueOf ? e.valueOf() : e
- e = as(t) ? t + '' : t
- }
- if ('string' != typeof e) return 0 === e ? e : +e
- e = Kt(e)
- var n = ve.test(e)
- return n || ge.test(e) ? lt(e.slice(2), n ? 2 : 8) : he.test(e) ? f : +e
- }
- function As(e) {
- return Ia(e, Fs(e))
- }
- function xs(e) {
- return null == e ? '' : ca(e)
- }
- var ws = Ma(function (e, t) {
- if (ko(t) || Ji(t)) Ia(t, Ds(t), e)
- else for (var n in t) De.call(t, n) && tr(e, n, t[n])
- }),
- ks = Ma(function (e, t) {
- Ia(t, Fs(t), e)
- }),
- Ss = Ma(function (e, t, n, r) {
- Ia(t, Fs(t), e, r)
- }),
- Es = Ma(function (e, t, n, r) {
- Ia(t, Ds(t), e, r)
- }),
- Ps = no(ir)
- var Cs = Jr(function (e, t) {
- e = Ee(e)
- var r = -1,
- a = t.length,
- o = a > 2 ? t[2] : n
- for (o && _o(t[0], t[1], o) && (a = 1); ++r < a; )
- for (var i = t[r], s = Fs(i), l = -1, c = s.length; ++l < c; ) {
- var u = s[l],
- p = e[u]
- ;(p === n || (qi(p, Me[u]) && !De.call(e, u))) && (e[u] = i[u])
- }
- return e
- }),
- Ts = Jr(function (e) {
- return e.push(n, Za), wt(Ns, n, e)
- })
- function Is(e, t, r) {
- var a = null == e ? n : wr(e, t)
- return a === n ? r : a
- }
- function Rs(e, t) {
- return null != e && mo(e, t, Cr)
- }
- var Ms = La(function (e, t, n) {
- null != t && 'function' != typeof t.toString && (t = Ne.call(t)), (e[t] = n)
- }, al(sl)),
- zs = La(function (e, t, n) {
- null != t && 'function' != typeof t.toString && (t = Ne.call(t)),
- De.call(e, t) ? e[t].push(n) : (e[t] = [n])
- }, lo),
- Os = Jr(Ir)
- function Ds(e) {
- return Ji(e) ? Jn(e) : Fr(e)
- }
- function Fs(e) {
- return Ji(e) ? Jn(e, !0) : Br(e)
- }
- var Bs = Ma(function (e, t, n) {
- Hr(e, t, n)
- }),
- Ns = Ma(function (e, t, n, r) {
- Hr(e, t, n, r)
- }),
- js = no(function (e, t) {
- var n = {}
- if (null == e) return n
- var r = !1
- ;(t = Rt(t, function (t) {
- return (t = ba(t, e)), r || (r = t.length > 1), t
- })),
- Ia(e, ao(e), n),
- r && (n = lr(n, 7, eo))
- for (var a = t.length; a--; ) pa(n, t[a])
- return n
- })
- var Vs = no(function (e, t) {
- return null == e
- ? {}
- : (function (e, t) {
- return Ur(e, t, function (t, n) {
- return Rs(e, n)
- })
- })(e, t)
- })
- function Ls(e, t) {
- if (null == e) return {}
- var n = Rt(ao(e), function (e) {
- return [e]
- })
- return (
- (t = lo(t)),
- Ur(e, n, function (e, n) {
- return t(e, n[0])
- })
- )
- }
- var Hs = Ja(Ds),
- Gs = Ja(Fs)
- function qs(e) {
- return null == e ? [] : Jt(e, Ds(e))
- }
- var Us = Fa(function (e, t, n) {
- return (t = t.toLowerCase()), e + (n ? Ws(t) : t)
- })
- function Ws(e) {
- return el(xs(e).toLowerCase())
- }
- function $s(e) {
- return (e = xs(e)) && e.replace(be, tn).replace(Qe, '')
- }
- var Ks = Fa(function (e, t, n) {
- return e + (n ? '-' : '') + t.toLowerCase()
- }),
- Ys = Fa(function (e, t, n) {
- return e + (n ? ' ' : '') + t.toLowerCase()
- }),
- Js = Da('toLowerCase')
- var Qs = Fa(function (e, t, n) {
- return e + (n ? '_' : '') + t.toLowerCase()
- })
- var Xs = Fa(function (e, t, n) {
- return e + (n ? ' ' : '') + el(t)
- })
- var Zs = Fa(function (e, t, n) {
- return e + (n ? ' ' : '') + t.toUpperCase()
- }),
- el = Da('toUpperCase')
- function tl(e, t, r) {
- return (
- (e = xs(e)),
- (t = r ? n : t) === n
- ? (function (e) {
- return tt.test(e)
- })(e)
- ? (function (e) {
- return e.match(Ze) || []
- })(e)
- : (function (e) {
- return e.match(ce) || []
- })(e)
- : e.match(t) || []
- )
- }
- var nl = Jr(function (e, t) {
- try {
- return wt(e, n, t)
- } catch (r) {
- return es(r) ? r : new we(r)
- }
- }),
- rl = no(function (e, t) {
- return (
- St(t, function (t) {
- ;(t = Lo(t)), or(e, t, zi(e[t], e))
- }),
- e
- )
- })
- function al(e) {
- return function () {
- return e
- }
- }
- var ol = ja(),
- il = ja(!0)
- function sl(e) {
- return e
- }
- function ll(e) {
- return Dr('function' == typeof e ? e : lr(e, 1))
- }
- var cl = Jr(function (e, t) {
- return function (n) {
- return Ir(n, e, t)
- }
- }),
- ul = Jr(function (e, t) {
- return function (n) {
- return Ir(e, n, t)
- }
- })
- function pl(e, t, n) {
- var r = Ds(t),
- a = xr(t, r)
- null != n ||
- (as(t) && (a.length || !r.length)) ||
- ((n = t), (t = e), (e = this), (a = xr(t, Ds(t))))
- var o = !(as(n) && 'chain' in n && !n.chain),
- i = ts(e)
- return (
- St(a, function (n) {
- var r = t[n]
- ;(e[n] = r),
- i &&
- (e.prototype[n] = function () {
- var t = this.__chain__
- if (o || t) {
- var n = e(this.__wrapped__),
- a = (n.__actions__ = Ta(this.__actions__))
- return (
- a.push({ func: r, args: arguments, thisArg: e }),
- (n.__chain__ = t),
- n
- )
- }
- return r.apply(e, Mt([this.value()], arguments))
- })
- }),
- e
- )
- }
- function dl() {}
- var fl = Ga(Rt),
- hl = Ga(Pt),
- vl = Ga(Dt)
- function ml(e) {
- return Ao(e)
- ? Gt(Lo(e))
- : (function (e) {
- return function (t) {
- return wr(t, e)
- }
- })(e)
- }
- var gl = Ua(),
- yl = Ua(!0)
- function bl() {
- return []
- }
- function _l() {
- return !1
- }
- var Al = Ha(function (e, t) {
- return e + t
- }, 0),
- xl = Ka('ceil'),
- wl = Ha(function (e, t) {
- return e / t
- }, 1),
- kl = Ka('floor')
- var Sl,
- El = Ha(function (e, t) {
- return e * t
- }, 1),
- Pl = Ka('round'),
- Cl = Ha(function (e, t) {
- return e - t
- }, 0)
- return (
- (Vn.after = function (e, t) {
- if ('function' != typeof t) throw new Te(r)
- return (
- (e = ys(e)),
- function () {
- if (--e < 1) return t.apply(this, arguments)
- }
- )
- }),
- (Vn.ary = Ri),
- (Vn.assign = ws),
- (Vn.assignIn = ks),
- (Vn.assignInWith = Ss),
- (Vn.assignWith = Es),
- (Vn.at = Ps),
- (Vn.before = Mi),
- (Vn.bind = zi),
- (Vn.bindAll = rl),
- (Vn.bindKey = Oi),
- (Vn.castArray = function () {
- if (!arguments.length) return []
- var e = arguments[0]
- return Ki(e) ? e : [e]
- }),
- (Vn.chain = mi),
- (Vn.chunk = function (e, t, r) {
- t = (r ? _o(e, t, r) : t === n) ? 1 : yn(ys(t), 0)
- var a = null == e ? 0 : e.length
- if (!a || t < 1) return []
- for (var o = 0, i = 0, s = oe(vt(a / t)); o < a; ) s[i++] = ra(e, o, (o += t))
- return s
- }),
- (Vn.compact = function (e) {
- for (var t = -1, n = null == e ? 0 : e.length, r = 0, a = []; ++t < n; ) {
- var o = e[t]
- o && (a[r++] = o)
- }
- return a
- }),
- (Vn.concat = function () {
- var e = arguments.length
- if (!e) return []
- for (var t = oe(e - 1), n = arguments[0], r = e; r--; ) t[r - 1] = arguments[r]
- return Mt(Ki(n) ? Ta(n) : [n], gr(t, 1))
- }),
- (Vn.cond = function (e) {
- var t = null == e ? 0 : e.length,
- n = lo()
- return (
- (e = t
- ? Rt(e, function (e) {
- if ('function' != typeof e[1]) throw new Te(r)
- return [n(e[0]), e[1]]
- })
- : []),
- Jr(function (n) {
- for (var r = -1; ++r < t; ) {
- var a = e[r]
- if (wt(a[0], this, n)) return wt(a[1], this, n)
- }
- })
- )
- }),
- (Vn.conforms = function (e) {
- return (function (e) {
- var t = Ds(e)
- return function (n) {
- return cr(n, e, t)
- }
- })(lr(e, 1))
- }),
- (Vn.constant = al),
- (Vn.countBy = bi),
- (Vn.create = function (e, t) {
- var n = Ln(e)
- return null == t ? n : ar(n, t)
- }),
- (Vn.curry = function e(t, r, a) {
- var o = Qa(t, 8, n, n, n, n, n, (r = a ? n : r))
- return (o.placeholder = e.placeholder), o
- }),
- (Vn.curryRight = function e(t, r, a) {
- var o = Qa(t, i, n, n, n, n, n, (r = a ? n : r))
- return (o.placeholder = e.placeholder), o
- }),
- (Vn.debounce = Di),
- (Vn.defaults = Cs),
- (Vn.defaultsDeep = Ts),
- (Vn.defer = Fi),
- (Vn.delay = Bi),
- (Vn.difference = qo),
- (Vn.differenceBy = Uo),
- (Vn.differenceWith = Wo),
- (Vn.drop = function (e, t, r) {
- var a = null == e ? 0 : e.length
- return a ? ra(e, (t = r || t === n ? 1 : ys(t)) < 0 ? 0 : t, a) : []
- }),
- (Vn.dropRight = function (e, t, r) {
- var a = null == e ? 0 : e.length
- return a ? ra(e, 0, (t = a - (t = r || t === n ? 1 : ys(t))) < 0 ? 0 : t) : []
- }),
- (Vn.dropRightWhile = function (e, t) {
- return e && e.length ? fa(e, lo(t, 3), !0, !0) : []
- }),
- (Vn.dropWhile = function (e, t) {
- return e && e.length ? fa(e, lo(t, 3), !0) : []
- }),
- (Vn.fill = function (e, t, r, a) {
- var o = null == e ? 0 : e.length
- return o
- ? (r && 'number' != typeof r && _o(e, t, r) && ((r = 0), (a = o)),
- (function (e, t, r, a) {
- var o = e.length
- for (
- (r = ys(r)) < 0 && (r = -r > o ? 0 : o + r),
- (a = a === n || a > o ? o : ys(a)) < 0 && (a += o),
- a = r > a ? 0 : bs(a);
- r < a;
- )
- e[r++] = t
- return e
- })(e, t, r, a))
- : []
- }),
- (Vn.filter = function (e, t) {
- return (Ki(e) ? Ct : mr)(e, lo(t, 3))
- }),
- (Vn.flatMap = function (e, t) {
- return gr(Pi(e, t), 1)
- }),
- (Vn.flatMapDeep = function (e, t) {
- return gr(Pi(e, t), p)
- }),
- (Vn.flatMapDepth = function (e, t, r) {
- return (r = r === n ? 1 : ys(r)), gr(Pi(e, t), r)
- }),
- (Vn.flatten = Yo),
- (Vn.flattenDeep = function (e) {
- return (null == e ? 0 : e.length) ? gr(e, p) : []
- }),
- (Vn.flattenDepth = function (e, t) {
- return (null == e ? 0 : e.length) ? gr(e, (t = t === n ? 1 : ys(t))) : []
- }),
- (Vn.flip = function (e) {
- return Qa(e, 512)
- }),
- (Vn.flow = ol),
- (Vn.flowRight = il),
- (Vn.fromPairs = function (e) {
- for (var t = -1, n = null == e ? 0 : e.length, r = {}; ++t < n; ) {
- var a = e[t]
- r[a[0]] = a[1]
- }
- return r
- }),
- (Vn.functions = function (e) {
- return null == e ? [] : xr(e, Ds(e))
- }),
- (Vn.functionsIn = function (e) {
- return null == e ? [] : xr(e, Fs(e))
- }),
- (Vn.groupBy = ki),
- (Vn.initial = function (e) {
- return (null == e ? 0 : e.length) ? ra(e, 0, -1) : []
- }),
- (Vn.intersection = Qo),
- (Vn.intersectionBy = Xo),
- (Vn.intersectionWith = Zo),
- (Vn.invert = Ms),
- (Vn.invertBy = zs),
- (Vn.invokeMap = Si),
- (Vn.iteratee = ll),
- (Vn.keyBy = Ei),
- (Vn.keys = Ds),
- (Vn.keysIn = Fs),
- (Vn.map = Pi),
- (Vn.mapKeys = function (e, t) {
- var n = {}
- return (
- (t = lo(t, 3)),
- _r(e, function (e, r, a) {
- or(n, t(e, r, a), e)
- }),
- n
- )
- }),
- (Vn.mapValues = function (e, t) {
- var n = {}
- return (
- (t = lo(t, 3)),
- _r(e, function (e, r, a) {
- or(n, r, t(e, r, a))
- }),
- n
- )
- }),
- (Vn.matches = function (e) {
- return Vr(lr(e, 1))
- }),
- (Vn.matchesProperty = function (e, t) {
- return Lr(e, lr(t, 1))
- }),
- (Vn.memoize = Ni),
- (Vn.merge = Bs),
- (Vn.mergeWith = Ns),
- (Vn.method = cl),
- (Vn.methodOf = ul),
- (Vn.mixin = pl),
- (Vn.negate = ji),
- (Vn.nthArg = function (e) {
- return (
- (e = ys(e)),
- Jr(function (t) {
- return Gr(t, e)
- })
- )
- }),
- (Vn.omit = js),
- (Vn.omitBy = function (e, t) {
- return Ls(e, ji(lo(t)))
- }),
- (Vn.once = function (e) {
- return Mi(2, e)
- }),
- (Vn.orderBy = function (e, t, r, a) {
- return null == e
- ? []
- : (Ki(t) || (t = null == t ? [] : [t]),
- Ki((r = a ? n : r)) || (r = null == r ? [] : [r]),
- qr(e, t, r))
- }),
- (Vn.over = fl),
- (Vn.overArgs = Vi),
- (Vn.overEvery = hl),
- (Vn.overSome = vl),
- (Vn.partial = Li),
- (Vn.partialRight = Hi),
- (Vn.partition = Ci),
- (Vn.pick = Vs),
- (Vn.pickBy = Ls),
- (Vn.property = ml),
- (Vn.propertyOf = function (e) {
- return function (t) {
- return null == e ? n : wr(e, t)
- }
- }),
- (Vn.pull = ti),
- (Vn.pullAll = ni),
- (Vn.pullAllBy = function (e, t, n) {
- return e && e.length && t && t.length ? Wr(e, t, lo(n, 2)) : e
- }),
- (Vn.pullAllWith = function (e, t, r) {
- return e && e.length && t && t.length ? Wr(e, t, n, r) : e
- }),
- (Vn.pullAt = ri),
- (Vn.range = gl),
- (Vn.rangeRight = yl),
- (Vn.rearg = Gi),
- (Vn.reject = function (e, t) {
- return (Ki(e) ? Ct : mr)(e, ji(lo(t, 3)))
- }),
- (Vn.remove = function (e, t) {
- var n = []
- if (!e || !e.length) return n
- var r = -1,
- a = [],
- o = e.length
- for (t = lo(t, 3); ++r < o; ) {
- var i = e[r]
- t(i, r, e) && (n.push(i), a.push(r))
- }
- return $r(e, a), n
- }),
- (Vn.rest = function (e, t) {
- if ('function' != typeof e) throw new Te(r)
- return Jr(e, (t = t === n ? t : ys(t)))
- }),
- (Vn.reverse = ai),
- (Vn.sampleSize = function (e, t, r) {
- return (t = (r ? _o(e, t, r) : t === n) ? 1 : ys(t)), (Ki(e) ? Xn : Xr)(e, t)
- }),
- (Vn.set = function (e, t, n) {
- return null == e ? e : Zr(e, t, n)
- }),
- (Vn.setWith = function (e, t, r, a) {
- return (a = 'function' == typeof a ? a : n), null == e ? e : Zr(e, t, r, a)
- }),
- (Vn.shuffle = function (e) {
- return (Ki(e) ? Zn : na)(e)
- }),
- (Vn.slice = function (e, t, r) {
- var a = null == e ? 0 : e.length
- return a
- ? (r && 'number' != typeof r && _o(e, t, r)
- ? ((t = 0), (r = a))
- : ((t = null == t ? 0 : ys(t)), (r = r === n ? a : ys(r))),
- ra(e, t, r))
- : []
- }),
- (Vn.sortBy = Ti),
- (Vn.sortedUniq = function (e) {
- return e && e.length ? sa(e) : []
- }),
- (Vn.sortedUniqBy = function (e, t) {
- return e && e.length ? sa(e, lo(t, 2)) : []
- }),
- (Vn.split = function (e, t, r) {
- return (
- r && 'number' != typeof r && _o(e, t, r) && (t = r = n),
- (r = r === n ? h : r >>> 0)
- ? (e = xs(e)) &&
- ('string' == typeof t || (null != t && !cs(t))) &&
- !(t = ca(t)) &&
- an(e)
- ? Aa(pn(e), 0, r)
- : e.split(t, r)
- : []
- )
- }),
- (Vn.spread = function (e, t) {
- if ('function' != typeof e) throw new Te(r)
- return (
- (t = null == t ? 0 : yn(ys(t), 0)),
- Jr(function (n) {
- var r = n[t],
- a = Aa(n, 0, t)
- return r && Mt(a, r), wt(e, this, a)
- })
- )
- }),
- (Vn.tail = function (e) {
- var t = null == e ? 0 : e.length
- return t ? ra(e, 1, t) : []
- }),
- (Vn.take = function (e, t, r) {
- return e && e.length ? ra(e, 0, (t = r || t === n ? 1 : ys(t)) < 0 ? 0 : t) : []
- }),
- (Vn.takeRight = function (e, t, r) {
- var a = null == e ? 0 : e.length
- return a ? ra(e, (t = a - (t = r || t === n ? 1 : ys(t))) < 0 ? 0 : t, a) : []
- }),
- (Vn.takeRightWhile = function (e, t) {
- return e && e.length ? fa(e, lo(t, 3), !1, !0) : []
- }),
- (Vn.takeWhile = function (e, t) {
- return e && e.length ? fa(e, lo(t, 3)) : []
- }),
- (Vn.tap = function (e, t) {
- return t(e), e
- }),
- (Vn.throttle = function (e, t, n) {
- var a = !0,
- o = !0
- if ('function' != typeof e) throw new Te(r)
- return (
- as(n) &&
- ((a = 'leading' in n ? !!n.leading : a),
- (o = 'trailing' in n ? !!n.trailing : o)),
- Di(e, t, { leading: a, maxWait: t, trailing: o })
- )
- }),
- (Vn.thru = gi),
- (Vn.toArray = ms),
- (Vn.toPairs = Hs),
- (Vn.toPairsIn = Gs),
- (Vn.toPath = function (e) {
- return Ki(e) ? Rt(e, Lo) : ds(e) ? [e] : Ta(Vo(xs(e)))
- }),
- (Vn.toPlainObject = As),
- (Vn.transform = function (e, t, n) {
- var r = Ki(e),
- a = r || Xi(e) || fs(e)
- if (((t = lo(t, 4)), null == n)) {
- var o = e && e.constructor
- n = a ? (r ? new o() : []) : as(e) && ts(o) ? Ln(We(e)) : {}
- }
- return (
- (a ? St : _r)(e, function (e, r, a) {
- return t(n, e, r, a)
- }),
- n
- )
- }),
- (Vn.unary = function (e) {
- return Ri(e, 1)
- }),
- (Vn.union = oi),
- (Vn.unionBy = ii),
- (Vn.unionWith = si),
- (Vn.uniq = function (e) {
- return e && e.length ? ua(e) : []
- }),
- (Vn.uniqBy = function (e, t) {
- return e && e.length ? ua(e, lo(t, 2)) : []
- }),
- (Vn.uniqWith = function (e, t) {
- return (t = 'function' == typeof t ? t : n), e && e.length ? ua(e, n, t) : []
- }),
- (Vn.unset = function (e, t) {
- return null == e || pa(e, t)
- }),
- (Vn.unzip = li),
- (Vn.unzipWith = ci),
- (Vn.update = function (e, t, n) {
- return null == e ? e : da(e, t, ya(n))
- }),
- (Vn.updateWith = function (e, t, r, a) {
- return (a = 'function' == typeof a ? a : n), null == e ? e : da(e, t, ya(r), a)
- }),
- (Vn.values = qs),
- (Vn.valuesIn = function (e) {
- return null == e ? [] : Jt(e, Fs(e))
- }),
- (Vn.without = ui),
- (Vn.words = tl),
- (Vn.wrap = function (e, t) {
- return Li(ya(t), e)
- }),
- (Vn.xor = pi),
- (Vn.xorBy = di),
- (Vn.xorWith = fi),
- (Vn.zip = hi),
- (Vn.zipObject = function (e, t) {
- return ma(e || [], t || [], tr)
- }),
- (Vn.zipObjectDeep = function (e, t) {
- return ma(e || [], t || [], Zr)
- }),
- (Vn.zipWith = vi),
- (Vn.entries = Hs),
- (Vn.entriesIn = Gs),
- (Vn.extend = ks),
- (Vn.extendWith = Ss),
- pl(Vn, Vn),
- (Vn.add = Al),
- (Vn.attempt = nl),
- (Vn.camelCase = Us),
- (Vn.capitalize = Ws),
- (Vn.ceil = xl),
- (Vn.clamp = function (e, t, r) {
- return (
- r === n && ((r = t), (t = n)),
- r !== n && (r = (r = _s(r)) == r ? r : 0),
- t !== n && (t = (t = _s(t)) == t ? t : 0),
- sr(_s(e), t, r)
- )
- }),
- (Vn.clone = function (e) {
- return lr(e, 4)
- }),
- (Vn.cloneDeep = function (e) {
- return lr(e, 5)
- }),
- (Vn.cloneDeepWith = function (e, t) {
- return lr(e, 5, (t = 'function' == typeof t ? t : n))
- }),
- (Vn.cloneWith = function (e, t) {
- return lr(e, 4, (t = 'function' == typeof t ? t : n))
- }),
- (Vn.conformsTo = function (e, t) {
- return null == t || cr(e, t, Ds(t))
- }),
- (Vn.deburr = $s),
- (Vn.defaultTo = function (e, t) {
- return null == e || e != e ? t : e
- }),
- (Vn.divide = wl),
- (Vn.endsWith = function (e, t, r) {
- ;(e = xs(e)), (t = ca(t))
- var a = e.length,
- o = (r = r === n ? a : sr(ys(r), 0, a))
- return (r -= t.length) >= 0 && e.slice(r, o) == t
- }),
- (Vn.eq = qi),
- (Vn.escape = function (e) {
- return (e = xs(e)) && Y.test(e) ? e.replace($, nn) : e
- }),
- (Vn.escapeRegExp = function (e) {
- return (e = xs(e)) && re.test(e) ? e.replace(ne, '\\$&') : e
- }),
- (Vn.every = function (e, t, r) {
- var a = Ki(e) ? Pt : hr
- return r && _o(e, t, r) && (t = n), a(e, lo(t, 3))
- }),
- (Vn.find = _i),
- (Vn.findIndex = $o),
- (Vn.findKey = function (e, t) {
- return Bt(e, lo(t, 3), _r)
- }),
- (Vn.findLast = Ai),
- (Vn.findLastIndex = Ko),
- (Vn.findLastKey = function (e, t) {
- return Bt(e, lo(t, 3), Ar)
- }),
- (Vn.floor = kl),
- (Vn.forEach = xi),
- (Vn.forEachRight = wi),
- (Vn.forIn = function (e, t) {
- return null == e ? e : yr(e, lo(t, 3), Fs)
- }),
- (Vn.forInRight = function (e, t) {
- return null == e ? e : br(e, lo(t, 3), Fs)
- }),
- (Vn.forOwn = function (e, t) {
- return e && _r(e, lo(t, 3))
- }),
- (Vn.forOwnRight = function (e, t) {
- return e && Ar(e, lo(t, 3))
- }),
- (Vn.get = Is),
- (Vn.gt = Ui),
- (Vn.gte = Wi),
- (Vn.has = function (e, t) {
- return null != e && mo(e, t, Pr)
- }),
- (Vn.hasIn = Rs),
- (Vn.head = Jo),
- (Vn.identity = sl),
- (Vn.includes = function (e, t, n, r) {
- ;(e = Ji(e) ? e : qs(e)), (n = n && !r ? ys(n) : 0)
- var a = e.length
- return (
- n < 0 && (n = yn(a + n, 0)),
- ps(e) ? n <= a && e.indexOf(t, n) > -1 : !!a && jt(e, t, n) > -1
- )
- }),
- (Vn.indexOf = function (e, t, n) {
- var r = null == e ? 0 : e.length
- if (!r) return -1
- var a = null == n ? 0 : ys(n)
- return a < 0 && (a = yn(r + a, 0)), jt(e, t, a)
- }),
- (Vn.inRange = function (e, t, r) {
- return (
- (t = gs(t)),
- r === n ? ((r = t), (t = 0)) : (r = gs(r)),
- (function (e, t, n) {
- return e >= bn(t, n) && e < yn(t, n)
- })((e = _s(e)), t, r)
- )
- }),
- (Vn.invoke = Os),
- (Vn.isArguments = $i),
- (Vn.isArray = Ki),
- (Vn.isArrayBuffer = Yi),
- (Vn.isArrayLike = Ji),
- (Vn.isArrayLikeObject = Qi),
- (Vn.isBoolean = function (e) {
- return !0 === e || !1 === e || (os(e) && Sr(e) == y)
- }),
- (Vn.isBuffer = Xi),
- (Vn.isDate = Zi),
- (Vn.isElement = function (e) {
- return os(e) && 1 === e.nodeType && !ls(e)
- }),
- (Vn.isEmpty = function (e) {
- if (null == e) return !0
- if (
- Ji(e) &&
- (Ki(e) ||
- 'string' == typeof e ||
- 'function' == typeof e.splice ||
- Xi(e) ||
- fs(e) ||
- $i(e))
- )
- return !e.length
- var t = vo(e)
- if (t == w || t == C) return !e.size
- if (ko(e)) return !Fr(e).length
- for (var n in e) if (De.call(e, n)) return !1
- return !0
- }),
- (Vn.isEqual = function (e, t) {
- return Mr(e, t)
- }),
- (Vn.isEqualWith = function (e, t, r) {
- var a = (r = 'function' == typeof r ? r : n) ? r(e, t) : n
- return a === n ? Mr(e, t, n, r) : !!a
- }),
- (Vn.isError = es),
- (Vn.isFinite = function (e) {
- return 'number' == typeof e && vn(e)
- }),
- (Vn.isFunction = ts),
- (Vn.isInteger = ns),
- (Vn.isLength = rs),
- (Vn.isMap = is),
- (Vn.isMatch = function (e, t) {
- return e === t || zr(e, t, uo(t))
- }),
- (Vn.isMatchWith = function (e, t, r) {
- return (r = 'function' == typeof r ? r : n), zr(e, t, uo(t), r)
- }),
- (Vn.isNaN = function (e) {
- return ss(e) && e != +e
- }),
- (Vn.isNative = function (e) {
- if (wo(e))
- throw new we(
- 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.'
- )
- return Or(e)
- }),
- (Vn.isNil = function (e) {
- return null == e
- }),
- (Vn.isNull = function (e) {
- return null === e
- }),
- (Vn.isNumber = ss),
- (Vn.isObject = as),
- (Vn.isObjectLike = os),
- (Vn.isPlainObject = ls),
- (Vn.isRegExp = cs),
- (Vn.isSafeInteger = function (e) {
- return ns(e) && e >= -9007199254740991 && e <= d
- }),
- (Vn.isSet = us),
- (Vn.isString = ps),
- (Vn.isSymbol = ds),
- (Vn.isTypedArray = fs),
- (Vn.isUndefined = function (e) {
- return e === n
- }),
- (Vn.isWeakMap = function (e) {
- return os(e) && vo(e) == R
- }),
- (Vn.isWeakSet = function (e) {
- return os(e) && '[object WeakSet]' == Sr(e)
- }),
- (Vn.join = function (e, t) {
- return null == e ? '' : mn.call(e, t)
- }),
- (Vn.kebabCase = Ks),
- (Vn.last = ei),
- (Vn.lastIndexOf = function (e, t, r) {
- var a = null == e ? 0 : e.length
- if (!a) return -1
- var o = a
- return (
- r !== n && (o = (o = ys(r)) < 0 ? yn(a + o, 0) : bn(o, a - 1)),
- t == t
- ? (function (e, t, n) {
- for (var r = n + 1; r--; ) if (e[r] === t) return r
- return r
- })(e, t, o)
- : Nt(e, Lt, o, !0)
- )
- }),
- (Vn.lowerCase = Ys),
- (Vn.lowerFirst = Js),
- (Vn.lt = hs),
- (Vn.lte = vs),
- (Vn.max = function (e) {
- return e && e.length ? vr(e, sl, Er) : n
- }),
- (Vn.maxBy = function (e, t) {
- return e && e.length ? vr(e, lo(t, 2), Er) : n
- }),
- (Vn.mean = function (e) {
- return Ht(e, sl)
- }),
- (Vn.meanBy = function (e, t) {
- return Ht(e, lo(t, 2))
- }),
- (Vn.min = function (e) {
- return e && e.length ? vr(e, sl, Nr) : n
- }),
- (Vn.minBy = function (e, t) {
- return e && e.length ? vr(e, lo(t, 2), Nr) : n
- }),
- (Vn.stubArray = bl),
- (Vn.stubFalse = _l),
- (Vn.stubObject = function () {
- return {}
- }),
- (Vn.stubString = function () {
- return ''
- }),
- (Vn.stubTrue = function () {
- return !0
- }),
- (Vn.multiply = El),
- (Vn.nth = function (e, t) {
- return e && e.length ? Gr(e, ys(t)) : n
- }),
- (Vn.noConflict = function () {
- return pt._ === this && (pt._ = Ve), this
- }),
- (Vn.noop = dl),
- (Vn.now = Ii),
- (Vn.pad = function (e, t, n) {
- e = xs(e)
- var r = (t = ys(t)) ? un(e) : 0
- if (!t || r >= t) return e
- var a = (t - r) / 2
- return qa(mt(a), n) + e + qa(vt(a), n)
- }),
- (Vn.padEnd = function (e, t, n) {
- e = xs(e)
- var r = (t = ys(t)) ? un(e) : 0
- return t && r < t ? e + qa(t - r, n) : e
- }),
- (Vn.padStart = function (e, t, n) {
- e = xs(e)
- var r = (t = ys(t)) ? un(e) : 0
- return t && r < t ? qa(t - r, n) + e : e
- }),
- (Vn.parseInt = function (e, t, n) {
- return (
- n || null == t ? (t = 0) : t && (t = +t), An(xs(e).replace(ae, ''), t || 0)
- )
- }),
- (Vn.random = function (e, t, r) {
- if (
- (r && 'boolean' != typeof r && _o(e, t, r) && (t = r = n),
- r === n &&
- ('boolean' == typeof t
- ? ((r = t), (t = n))
- : 'boolean' == typeof e && ((r = e), (e = n))),
- e === n && t === n
- ? ((e = 0), (t = 1))
- : ((e = gs(e)), t === n ? ((t = e), (e = 0)) : (t = gs(t))),
- e > t)
- ) {
- var a = e
- ;(e = t), (t = a)
- }
- if (r || e % 1 || t % 1) {
- var o = xn()
- return bn(e + o * (t - e + st('1e-' + ((o + '').length - 1))), t)
- }
- return Kr(e, t)
- }),
- (Vn.reduce = function (e, t, n) {
- var r = Ki(e) ? zt : Ut,
- a = arguments.length < 3
- return r(e, lo(t, 4), n, a, dr)
- }),
- (Vn.reduceRight = function (e, t, n) {
- var r = Ki(e) ? Ot : Ut,
- a = arguments.length < 3
- return r(e, lo(t, 4), n, a, fr)
- }),
- (Vn.repeat = function (e, t, r) {
- return (t = (r ? _o(e, t, r) : t === n) ? 1 : ys(t)), Yr(xs(e), t)
- }),
- (Vn.replace = function () {
- var e = arguments,
- t = xs(e[0])
- return e.length < 3 ? t : t.replace(e[1], e[2])
- }),
- (Vn.result = function (e, t, r) {
- var a = -1,
- o = (t = ba(t, e)).length
- for (o || ((o = 1), (e = n)); ++a < o; ) {
- var i = null == e ? n : e[Lo(t[a])]
- i === n && ((a = o), (i = r)), (e = ts(i) ? i.call(e) : i)
- }
- return e
- }),
- (Vn.round = Pl),
- (Vn.runInContext = e),
- (Vn.sample = function (e) {
- return (Ki(e) ? Qn : Qr)(e)
- }),
- (Vn.size = function (e) {
- if (null == e) return 0
- if (Ji(e)) return ps(e) ? un(e) : e.length
- var t = vo(e)
- return t == w || t == C ? e.size : Fr(e).length
- }),
- (Vn.snakeCase = Qs),
- (Vn.some = function (e, t, r) {
- var a = Ki(e) ? Dt : aa
- return r && _o(e, t, r) && (t = n), a(e, lo(t, 3))
- }),
- (Vn.sortedIndex = function (e, t) {
- return oa(e, t)
- }),
- (Vn.sortedIndexBy = function (e, t, n) {
- return ia(e, t, lo(n, 2))
- }),
- (Vn.sortedIndexOf = function (e, t) {
- var n = null == e ? 0 : e.length
- if (n) {
- var r = oa(e, t)
- if (r < n && qi(e[r], t)) return r
- }
- return -1
- }),
- (Vn.sortedLastIndex = function (e, t) {
- return oa(e, t, !0)
- }),
- (Vn.sortedLastIndexBy = function (e, t, n) {
- return ia(e, t, lo(n, 2), !0)
- }),
- (Vn.sortedLastIndexOf = function (e, t) {
- if (null == e ? 0 : e.length) {
- var n = oa(e, t, !0) - 1
- if (qi(e[n], t)) return n
- }
- return -1
- }),
- (Vn.startCase = Xs),
- (Vn.startsWith = function (e, t, n) {
- return (
- (e = xs(e)),
- (n = null == n ? 0 : sr(ys(n), 0, e.length)),
- (t = ca(t)),
- e.slice(n, n + t.length) == t
- )
- }),
- (Vn.subtract = Cl),
- (Vn.sum = function (e) {
- return e && e.length ? Wt(e, sl) : 0
- }),
- (Vn.sumBy = function (e, t) {
- return e && e.length ? Wt(e, lo(t, 2)) : 0
- }),
- (Vn.template = function (e, t, r) {
- var a = Vn.templateSettings
- r && _o(e, t, r) && (t = n), (e = xs(e)), (t = Ss({}, t, a, Xa))
- var o,
- i,
- s = Ss({}, t.imports, a.imports, Xa),
- l = Ds(s),
- c = Jt(s, l),
- u = 0,
- p = t.interpolate || _e,
- d = "__p += '",
- f = Pe(
- (t.escape || _e).source +
- '|' +
- p.source +
- '|' +
- (p === X ? de : _e).source +
- '|' +
- (t.evaluate || _e).source +
- '|$',
- 'g'
- ),
- h =
- '//# sourceURL=' +
- (De.call(t, 'sourceURL')
- ? (t.sourceURL + '').replace(/\s/g, ' ')
- : 'lodash.templateSources[' + ++rt + ']') +
- '\n'
- e.replace(f, function (t, n, r, a, s, l) {
- return (
- r || (r = a),
- (d += e.slice(u, l).replace(Ae, rn)),
- n && ((o = !0), (d += "' +\n__e(" + n + ") +\n'")),
- s && ((i = !0), (d += "';\n" + s + ";\n__p += '")),
- r && (d += "' +\n((__t = (" + r + ")) == null ? '' : __t) +\n'"),
- (u = l + t.length),
- t
- )
- }),
- (d += "';\n")
- var v = De.call(t, 'variable') && t.variable
- if (v) {
- if (ue.test(v))
- throw new we('Invalid `variable` option passed into `_.template`')
- } else d = 'with (obj) {\n' + d + '\n}\n'
- ;(d = (i ? d.replace(G, '') : d).replace(q, '$1').replace(U, '$1;')),
- (d =
- 'function(' +
- (v || 'obj') +
- ') {\n' +
- (v ? '' : 'obj || (obj = {});\n') +
- "var __t, __p = ''" +
- (o ? ', __e = _.escape' : '') +
- (i
- ? ", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n"
- : ';\n') +
- d +
- 'return __p\n}')
- var m = nl(function () {
- return ke(l, h + 'return ' + d).apply(n, c)
- })
- if (((m.source = d), es(m))) throw m
- return m
- }),
- (Vn.times = function (e, t) {
- if ((e = ys(e)) < 1 || e > d) return []
- var n = h,
- r = bn(e, h)
- ;(t = lo(t)), (e -= h)
- for (var a = $t(r, t); ++n < e; ) t(n)
- return a
- }),
- (Vn.toFinite = gs),
- (Vn.toInteger = ys),
- (Vn.toLength = bs),
- (Vn.toLower = function (e) {
- return xs(e).toLowerCase()
- }),
- (Vn.toNumber = _s),
- (Vn.toSafeInteger = function (e) {
- return e ? sr(ys(e), -9007199254740991, d) : 0 === e ? e : 0
- }),
- (Vn.toString = xs),
- (Vn.toUpper = function (e) {
- return xs(e).toUpperCase()
- }),
- (Vn.trim = function (e, t, r) {
- if ((e = xs(e)) && (r || t === n)) return Kt(e)
- if (!e || !(t = ca(t))) return e
- var a = pn(e),
- o = pn(t)
- return Aa(a, Xt(a, o), Zt(a, o) + 1).join('')
- }),
- (Vn.trimEnd = function (e, t, r) {
- if ((e = xs(e)) && (r || t === n)) return e.slice(0, dn(e) + 1)
- if (!e || !(t = ca(t))) return e
- var a = pn(e)
- return Aa(a, 0, Zt(a, pn(t)) + 1).join('')
- }),
- (Vn.trimStart = function (e, t, r) {
- if ((e = xs(e)) && (r || t === n)) return e.replace(ae, '')
- if (!e || !(t = ca(t))) return e
- var a = pn(e)
- return Aa(a, Xt(a, pn(t))).join('')
- }),
- (Vn.truncate = function (e, t) {
- var r = 30,
- a = '...'
- if (as(t)) {
- var o = 'separator' in t ? t.separator : o
- ;(r = 'length' in t ? ys(t.length) : r),
- (a = 'omission' in t ? ca(t.omission) : a)
- }
- var i = (e = xs(e)).length
- if (an(e)) {
- var s = pn(e)
- i = s.length
- }
- if (r >= i) return e
- var l = r - un(a)
- if (l < 1) return a
- var c = s ? Aa(s, 0, l).join('') : e.slice(0, l)
- if (o === n) return c + a
- if ((s && (l += c.length - l), cs(o))) {
- if (e.slice(l).search(o)) {
- var u,
- p = c
- for (
- o.global || (o = Pe(o.source, xs(fe.exec(o)) + 'g')), o.lastIndex = 0;
- (u = o.exec(p));
- )
- var d = u.index
- c = c.slice(0, d === n ? l : d)
- }
- } else if (e.indexOf(ca(o), l) != l) {
- var f = c.lastIndexOf(o)
- f > -1 && (c = c.slice(0, f))
- }
- return c + a
- }),
- (Vn.unescape = function (e) {
- return (e = xs(e)) && K.test(e) ? e.replace(W, fn) : e
- }),
- (Vn.uniqueId = function (e) {
- var t = ++Fe
- return xs(e) + t
- }),
- (Vn.upperCase = Zs),
- (Vn.upperFirst = el),
- (Vn.each = xi),
- (Vn.eachRight = wi),
- (Vn.first = Jo),
- pl(
- Vn,
- ((Sl = {}),
- _r(Vn, function (e, t) {
- De.call(Vn.prototype, t) || (Sl[t] = e)
- }),
- Sl),
- { chain: !1 }
- ),
- (Vn.VERSION = '2.4.0'),
- St(
- ['bind', 'bindKey', 'curry', 'curryRight', 'partial', 'partialRight'],
- function (e) {
- Vn[e].placeholder = Vn
- }
- ),
- St(['drop', 'take'], function (e, t) {
- ;(qn.prototype[e] = function (r) {
- r = r === n ? 1 : yn(ys(r), 0)
- var a = this.__filtered__ && !t ? new qn(this) : this.clone()
- return (
- a.__filtered__
- ? (a.__takeCount__ = bn(r, a.__takeCount__))
- : a.__views__.push({
- size: bn(r, h),
- type: e + (a.__dir__ < 0 ? 'Right' : '')
- }),
- a
- )
- }),
- (qn.prototype[e + 'Right'] = function (t) {
- return this.reverse()[e](t).reverse()
- })
- }),
- St(['filter', 'map', 'takeWhile'], function (e, t) {
- var n = t + 1,
- r = 1 == n || 3 == n
- qn.prototype[e] = function (e) {
- var t = this.clone()
- return (
- t.__iteratees__.push({ iteratee: lo(e, 3), type: n }),
- (t.__filtered__ = t.__filtered__ || r),
- t
- )
- }
- }),
- St(['head', 'last'], function (e, t) {
- var n = 'take' + (t ? 'Right' : '')
- qn.prototype[e] = function () {
- return this[n](1).value()[0]
- }
- }),
- St(['initial', 'tail'], function (e, t) {
- var n = 'drop' + (t ? '' : 'Right')
- qn.prototype[e] = function () {
- return this.__filtered__ ? new qn(this) : this[n](1)
- }
- }),
- (qn.prototype.compact = function () {
- return this.filter(sl)
- }),
- (qn.prototype.find = function (e) {
- return this.filter(e).head()
- }),
- (qn.prototype.findLast = function (e) {
- return this.reverse().find(e)
- }),
- (qn.prototype.invokeMap = Jr(function (e, t) {
- return 'function' == typeof e
- ? new qn(this)
- : this.map(function (n) {
- return Ir(n, e, t)
- })
- })),
- (qn.prototype.reject = function (e) {
- return this.filter(ji(lo(e)))
- }),
- (qn.prototype.slice = function (e, t) {
- e = ys(e)
- var r = this
- return r.__filtered__ && (e > 0 || t < 0)
- ? new qn(r)
- : (e < 0 ? (r = r.takeRight(-e)) : e && (r = r.drop(e)),
- t !== n && (r = (t = ys(t)) < 0 ? r.dropRight(-t) : r.take(t - e)),
- r)
- }),
- (qn.prototype.takeRightWhile = function (e) {
- return this.reverse().takeWhile(e).reverse()
- }),
- (qn.prototype.toArray = function () {
- return this.take(h)
- }),
- _r(qn.prototype, function (e, t) {
- var r = /^(?:filter|find|map|reject)|While$/.test(t),
- a = /^(?:head|last)$/.test(t),
- o = Vn[a ? 'take' + ('last' == t ? 'Right' : '') : t],
- i = a || /^find/.test(t)
- o &&
- (Vn.prototype[t] = function () {
- var t = this.__wrapped__,
- s = a ? [1] : arguments,
- l = t instanceof qn,
- c = s[0],
- u = l || Ki(t),
- p = function (e) {
- var t = o.apply(Vn, Mt([e], s))
- return a && d ? t[0] : t
- }
- u && r && 'function' == typeof c && 1 != c.length && (l = u = !1)
- var d = this.__chain__,
- f = !!this.__actions__.length,
- h = i && !d,
- v = l && !f
- if (!i && u) {
- t = v ? t : new qn(this)
- var m = e.apply(t, s)
- return (
- m.__actions__.push({ func: gi, args: [p], thisArg: n }), new Gn(m, d)
- )
- }
- return h && v
- ? e.apply(this, s)
- : ((m = this.thru(p)), h ? (a ? m.value()[0] : m.value()) : m)
- })
- }),
- St(['pop', 'push', 'shift', 'sort', 'splice', 'unshift'], function (e) {
- var t = Ie[e],
- n = /^(?:push|sort|unshift)$/.test(e) ? 'tap' : 'thru',
- r = /^(?:pop|shift)$/.test(e)
- Vn.prototype[e] = function () {
- var e = arguments
- if (r && !this.__chain__) {
- var a = this.value()
- return t.apply(Ki(a) ? a : [], e)
- }
- return this[n](function (n) {
- return t.apply(Ki(n) ? n : [], e)
- })
- }
- }),
- _r(qn.prototype, function (e, t) {
- var n = Vn[t]
- if (n) {
- var r = n.name + ''
- De.call(Rn, r) || (Rn[r] = []), Rn[r].push({ name: t, func: n })
- }
- }),
- (Rn[Va(n, 2).name] = [{ name: 'wrapper', func: n }]),
- (qn.prototype.clone = function () {
- var e = new qn(this.__wrapped__)
- return (
- (e.__actions__ = Ta(this.__actions__)),
- (e.__dir__ = this.__dir__),
- (e.__filtered__ = this.__filtered__),
- (e.__iteratees__ = Ta(this.__iteratees__)),
- (e.__takeCount__ = this.__takeCount__),
- (e.__views__ = Ta(this.__views__)),
- e
- )
- }),
- (qn.prototype.reverse = function () {
- if (this.__filtered__) {
- var e = new qn(this)
- ;(e.__dir__ = -1), (e.__filtered__ = !0)
- } else (e = this.clone()).__dir__ *= -1
- return e
- }),
- (qn.prototype.value = function () {
- var e = this.__wrapped__.value(),
- t = this.__dir__,
- n = Ki(e),
- r = t < 0,
- a = n ? e.length : 0,
- o = (function (e, t, n) {
- var r = -1,
- a = n.length
- for (; ++r < a; ) {
- var o = n[r],
- i = o.size
- switch (o.type) {
- case 'drop':
- e += i
- break
- case 'dropRight':
- t -= i
- break
- case 'take':
- t = bn(t, e + i)
- break
- case 'takeRight':
- e = yn(e, t - i)
- }
- }
- return { start: e, end: t }
- })(0, a, this.__views__),
- i = o.start,
- s = o.end,
- l = s - i,
- c = r ? s : i - 1,
- u = this.__iteratees__,
- p = u.length,
- d = 0,
- f = bn(l, this.__takeCount__)
- if (!n || (!r && a == l && f == l)) return ha(e, this.__actions__)
- var h = []
- e: for (; l-- && d < f; ) {
- for (var v = -1, m = e[(c += t)]; ++v < p; ) {
- var g = u[v],
- y = g.iteratee,
- b = g.type,
- _ = y(m)
- if (2 == b) m = _
- else if (!_) {
- if (1 == b) continue e
- break e
- }
- }
- h[d++] = m
- }
- return h
- }),
- (Vn.prototype.at = yi),
- (Vn.prototype.chain = function () {
- return mi(this)
- }),
- (Vn.prototype.commit = function () {
- return new Gn(this.value(), this.__chain__)
- }),
- (Vn.prototype.next = function () {
- this.__values__ === n && (this.__values__ = ms(this.value()))
- var e = this.__index__ >= this.__values__.length
- return { done: e, value: e ? n : this.__values__[this.__index__++] }
- }),
- (Vn.prototype.plant = function (e) {
- for (var t, r = this; r instanceof Hn; ) {
- var a = Go(r)
- ;(a.__index__ = 0), (a.__values__ = n), t ? (o.__wrapped__ = a) : (t = a)
- var o = a
- r = r.__wrapped__
- }
- return (o.__wrapped__ = e), t
- }),
- (Vn.prototype.reverse = function () {
- var e = this.__wrapped__
- if (e instanceof qn) {
- var t = e
- return (
- this.__actions__.length && (t = new qn(this)),
- (t = t.reverse()).__actions__.push({ func: gi, args: [ai], thisArg: n }),
- new Gn(t, this.__chain__)
- )
- }
- return this.thru(ai)
- }),
- (Vn.prototype.toJSON =
- Vn.prototype.valueOf =
- Vn.prototype.value =
- function () {
- return ha(this.__wrapped__, this.__actions__)
- }),
- (Vn.prototype.first = Vn.prototype.head),
- et &&
- (Vn.prototype[et] = function () {
- return this
- }),
- Vn
- )
- })()
- ft ? (((ft.exports = hn)._ = hn), (dt._ = hn)) : (pt._ = hn)
- }.call(commonjsGlobal))
- })(lodash, lodash.exports)
- var _export_sfc = function (e, t) {
- var n,
- r = e.__vccOpts || e,
- a = _createForOfIteratorHelper(t)
- try {
- for (a.s(); !(n = a.n()).done; ) {
- var o = _slicedToArray(n.value, 2),
- i = o[0],
- s = o[1]
- r[i] = s
- }
- } catch (l) {
- a.e(l)
- } finally {
- a.f()
- }
- return r
- },
- _sfc_main = defineComponent({
- props: {
- animationData: {
- type: Object,
- default: function () {
- return {}
- }
- },
- animationLink: { type: String, default: '' },
- loop: { type: [Boolean, Number], default: !0 },
- autoPlay: { type: Boolean, default: !0 },
- width: { type: [Number, String], default: '100%' },
- height: { type: [Number, String], default: '100%' },
- speed: { type: Number, default: 1 },
- delay: { type: Number, default: 0 },
- direction: { type: String, default: 'forward' },
- pauseOnHover: { type: Boolean, default: !1 },
- playOnHover: { type: Boolean, default: !1 },
- backgroundColor: { type: String, default: 'transparent' },
- pauseAnimation: { type: Boolean, default: !1 },
- renderer: { type: String, default: 'svg' },
- rendererSettings: {
- type: Object,
- default: function () {
- return {}
- }
- }
- },
- emits: {
- onComplete: null,
- onLoopComplete: null,
- onEnterFrame: null,
- onSegmentStart: null,
- onAnimationLoaded: null
- },
- setup: function (e, t) {
- var n = t.emit,
- r = ref(null),
- a = ref(''),
- o = 1,
- i = (function () {
- var t = _asyncToGenerator(
- regeneratorRuntime.mark(function t(a) {
- var i, s, l, c, u, p
- return regeneratorRuntime.wrap(
- function (t) {
- for (;;)
- switch ((t.prev = t.next)) {
- case 0:
- if (
- ((i = e.autoPlay),
- e.playOnHover && (i = !1),
- (s = {}),
- !1 === lodash.exports.isEqual(e.animationData, {}) &&
- (s = lodash.exports.cloneDeep(e.animationData)),
- '' == e.animationLink)
- ) {
- t.next = 19
- break
- }
- return (t.prev = 5), (t.next = 8), fetch(e.animationLink)
- case 8:
- return (l = t.sent), (t.next = 11), l.json()
- case 11:
- ;(c = t.sent), (s = c), (t.next = 19)
- break
- case 15:
- return (
- (t.prev = 15),
- (t.t0 = t.catch(5)),
- console.error(t.t0),
- t.abrupt('return')
- )
- case 19:
- 'number' == typeof (u = e.loop) && u > 0 && (u -= 1),
- e.delay > 0 && (i = !1),
- (p = {
- container: a,
- renderer: e.renderer,
- loop: u,
- autoplay: i,
- animationData: s
- }),
- !1 === lodash.exports.isEqual(e.rendererSettings, {}) &&
- (p.rendererSettings = e.rendererSettings),
- (r = Lottie.loadAnimation(p)),
- setTimeout(function () {
- ;(i = e.autoPlay),
- e.playOnHover ? r.pause() : i ? r.play() : r.pause(),
- n('onAnimationLoaded')
- }, e.delay),
- r.setSpeed(e.speed),
- 'reverse' === e.direction && r.setDirection(-1),
- 'normal' === e.direction && r.setDirection(1),
- (e.pauseAnimation || e.playOnHover) && r.pause(),
- r.addEventListener('loopComplete', function () {
- 'alternate' === e.direction &&
- (r.stop(), (o *= -1), r.setDirection(o), r.play()),
- n('onLoopComplete')
- }),
- r.addEventListener('complete', function () {
- n('onComplete')
- }),
- r.addEventListener('enterFrame', function () {
- n('onEnterFrame')
- }),
- r.addEventListener('segmentStart', function () {
- n('onSegmentStart')
- })
- case 34:
- case 'end':
- return t.stop()
- }
- },
- t,
- null,
- [[5, 15]]
- )
- })
- )
- return function (e) {
- return t.apply(this, arguments)
- }
- })(),
- s = computed(function () {
- var t = e.width,
- n = e.height
- return (
- 'number' == typeof e.width && (t = ''.concat(e.width, 'px')),
- 'number' == typeof e.height && (n = ''.concat(e.height, 'px')),
- {
- '--lottie-animation-container-width': t,
- '--lottie-animation-container-height': n,
- '--lottie-animation-container-background-color': e.backgroundColor
- }
- )
- })
- watch(
- function () {
- return e.pauseAnimation
- },
- function () {
- ;(e.pauseOnHover || e.playOnHover) && e.pauseAnimation
- ? console.error(
- 'If you are using pauseAnimation prop for Vue3-Lottie, please remove the props pauseOnHover and playOnHover'
- )
- : r && (e.pauseAnimation ? r.pause() : r.play())
- }
- )
- var l = function (e) {
- for (
- var t = '',
- n = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789',
- r = n.length,
- a = 0;
- a < e;
- a++
- )
- t += n.charAt(Math.floor(Math.random() * r))
- return t
- },
- c = function (t) {
- if (e.pauseOnHover && e.playOnHover)
- throw new Error(
- 'You cannot set pauseOnHover and playOnHover for Vue3-Lottie at the same time.'
- )
- if ('' === e.animationLink && lodash.exports.isEqual(e.animationData, {}))
- throw (
- (console.log(
- e.animationData,
- 'animationData',
- e.animationLink,
- 'animationLink'
- ),
- new Error('You must provide either animationLink or animationData'))
- )
- var n = setInterval(function () {
- if (
- (function (e) {
- return null !== document.querySelector('[data-id="'.concat(e, '"]'))
- })(t)
- ) {
- clearInterval(n)
- var e = document.querySelector('[data-id="'.concat(t, '" ]'))
- e && i(e)
- }
- }, 0)
- }
- return (
- onMounted(
- _asyncToGenerator(
- regeneratorRuntime.mark(function e() {
- return regeneratorRuntime.wrap(function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- ;(a.value = l(20)), c(a.value)
- case 2:
- case 'end':
- return e.stop()
- }
- }, e)
- })
- )
- ),
- {
- elementid: a,
- hoverEnded: function () {
- r && e.pauseOnHover && r.play(), r && e.playOnHover && r.pause()
- },
- hoverStarted: function () {
- r && e.pauseOnHover && r.pause(), r && e.playOnHover && r.play()
- },
- getCurrentStyle: s,
- play: function () {
- r && r.play()
- },
- pause: function () {
- r && r.pause()
- },
- stop: function () {
- r && r.stop()
- },
- destroy: function () {
- r && r.destroy()
- },
- setSpeed: function () {
- var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 1
- if (e <= 0) throw new Error('Speed must be greater than 0')
- r && r.setSpeed(e)
- },
- setDirection: function (e) {
- r &&
- ('forward' === e
- ? r.setDirection(1)
- : 'reverse' === e && r.setDirection(-1))
- },
- goToAndStop: function (e) {
- var t = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1]
- r && r.goToAndStop(e, t)
- },
- goToAndPlay: function (e) {
- var t = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1]
- r && r.goToAndPlay(e, t)
- },
- playSegments: function (e) {
- var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1]
- r && r.playSegments(e, t)
- },
- setSubFrame: function () {
- var e = !(arguments.length > 0 && void 0 !== arguments[0]) || arguments[0]
- r && r.setSubframe(e)
- },
- getDuration: function () {
- var e = !(arguments.length > 0 && void 0 !== arguments[0]) || arguments[0]
- if (r) return r.getDuration(e)
- },
- updateDocumentData: function (e) {
- var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0
- r && r.renderer.elements[t].updateDocumentData(e)
- }
- }
- )
- }
- }),
- _hoisted_1 = ['data-id']
- function _sfc_render(e, t, n, r, a, o) {
- return (
- openBlock(),
- createElementBlock(
- 'div',
- {
- 'data-id': e.elementid,
- class: 'lottie-animation-container',
- style: normalizeStyle(e.getCurrentStyle),
- onMouseenter:
- t[0] ||
- (t[0] = function () {
- return e.hoverStarted && e.hoverStarted.apply(e, arguments)
- }),
- onMouseleave:
- t[1] ||
- (t[1] = function () {
- return e.hoverEnded && e.hoverEnded.apply(e, arguments)
- })
- },
- null,
- 44,
- _hoisted_1
- )
- )
- }
- var Vue3Lottie = exports('V', _export_sfc(_sfc_main, [['render', _sfc_render]]))
- function install(e, t) {
- var n = Object.assign({}, { name: 'Vue3Lottie' }, t)
- e.component(''.concat(n.name), Vue3Lottie)
- }
- var plugin = exports('i', { version: '2.4.0', install: install }),
- v = '5.7.1',
- fr = 60,
- ip = 0,
- op = 49,
- w = 180,
- h = 180,
- nm = '蚂蚁刷新',
- ddd = 0,
- assets = [
- {
- id: 'image_0',
- w: 32,
- h: 36,
- u: '',
- p: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAkCAYAAADo6zjiAAAACXBIWXMAAAABAAAAAQBPJcTWAAAAJHpUWHRDcmVhdG9yAAAImXNMyU9KVXBMK0ktUnBNS0tNLikGAEF6Bs5qehXFAAAFZElEQVRYhe2Xz2tc1xXHP+fd++anfv+wZFtyLctN5VqpS51AAgkRZBHyB8QQ6B/QVemyu3bZXaCbUtpVCwnE+25aUAKliyBbsWh+2YnkYEW2LGtG0mjm/b6ni5nRyPJInpBAuvCBy5x33+V9P+ecd+67A8/smf3AJr0uDNZWXnNZ9gqa7ojKUvHHV28AmYjo4XWN9VtTov4bYvx5ky+u25HSX0VGdr8TQLq79acsiX+Fy1CXos4h6J7CTWBdhBqYUyLeHNZeFuMjxiLWxzO5u5LLvwJsHIXtCUA1ednFyX9wimqGOgfaHoBIcyCI5yGeARHE2ObjRRDx3sXzfg1UjkLYpwF88Zc//2bo0jx9MxcoTkwiaFO4ifd4DG0QgXinyt7tz9m5tUzj7trzV/7wzixQA+KeAXRxwb739m+ns8whCLZUojg5QX54jMLwCPnhYfyBAVwUk1S3CSsV4sojoocPSWt7SAumdHa67wqMA+aoxrEAqir8bWAQq2OagaqSNBqka2vUVtcQEUDxpJOBtiCAJ4KiiEIaBkWgQJeSe8eGf/1UGRdeyJfVOqco4NTR9BWnzbnMKa5VFVVFFVTBaXONA8TaDLJcN4CuGVBV4e+lERIul4clv7vlKFqPuVNlzvQXyBmPKHU83I9ZrQbEmTI7UmCyv0DZ90gzx2Y95fajBlGa4ZULEXEIufITWt1LcOMFS5iO4Ols36jL/Wi0xKszY/hW2oQATAyVmJ8axDnFGO9gHoTRQeXiRJl/r1ZhsD+EKIXyE23YHWB102K1RKaj02dy3rSZ5LHmkY4jKOagGaQJ0Xo/chZem5vgk8mRAE0iwPUGECYeDgv452b8jO2TmuVQKx6Id8wAl65c2CWNAvL0mIFhozzEoaT0hzG21T0inTQf9pEmQxtAH9fxz09v4+J9IOsNIPAUlRgIKUQBg0YJvE6PtYM+HPFxPqL85NIDpL7XO0DdKo4YoY5qzGjg2BwynS1QDlPQeSkOZ6B1b3x0j4GBGtWvq9L/8x5LUC476hKSaA0IGatmbI92drG27tHrw/NtkJmpLeLGNo3Pa92kum9E4+OOzAtAdoEGA49SBgV82xzGdHxrwLZ9e2iNB3lfeelnt4kq98iWot4BFhYcORsgUgVqkCWc3tADsZzfEjYd4fZ12/ctzE3vUSpsUfnoNj+9nHaTOqa/fqd4fwwhrCC6DQQM3esjmjI8KpyQ9tavAkNFx4uz69Q3vuKbf90XWXliDzg2AyKi5EoJSAWVDVR2cEnGqY9hzHSPvl0OY2CoqLw6s4fWNrj/z2XS+43ugZ70MRq/mICpIHIX2EQJ0Zpy9iO4ZKGYPwJiIJ+DyxPw+rkEU6vwYPEGW0trXDjXtf5w0nlgYTFjY2iHen0V0VXgPKpFooqP/wE8/xzY5yDNN+PIe9BvgdBRXdln984nRNWPEd3m6lJ63OHrWAARUf3HxQZx8DWproDOINoPOkhSM1RXwNyB/DDYEjSAWuCId+pk4RpptIzIlwxO7HY7Cz49AwBv/jLh3Xc20foyKacR6UN1FuhHE0OSCOk+iKcIDnUNnN4DXcJjCc2v89a98KSj54kAIr93unR1n1uf3UGiD0EMSIjoeZQBwKIOcBmOfZB10JuIWUS9/3L29M5J0UNPp2IVrs/71NbGcPEcwi9QnQc5A5Ray0LQByCfgS5j/U8pj23KtfXgac/v+Y+JLi5Yvro5gBdOom4KlQmUvtbtOp7bwplvMLn7TE7u8ead+GnRfyuAA5Clqz6rqyWiqETkchgE58UU/IB4OKD8YiLXrj/x1fveAA5AVIXr1zzGt4StceWt910vET+z/zv7H6I0eQIhNkaGAAAAAElFTkSuQmCC',
- e: 1
- },
- {
- id: 'image_1',
- w: 104,
- h: 103,
- u: '',
- p: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAABnCAYAAADsSgd0AAAACXBIWXMAAAABAAAAAQBPJcTWAAAAJHpUWHRDcmVhdG9yAAAImXNMyU9KVXBMK0ktUnBNS0tNLikGAEF6Bs5qehXFAAAgAElEQVR4nO2deZxdR3Xnv1X3vq27pW6ptVjWYkm2vGNsYzBLEggOMIawZcCTkG0I4IQQYJIwA4RJwMOQkMBkAUISIJ8ZwieQQJjJBmYJBhzANgSMdxshW5asxVKr1ertLfdW1fxx61TVfd2WLdvY5PPR/Xza7+ndrer8zvmdX52qew0nt5Pbye3kdnI7uZ3cTm4nt5Pbye3kdnI7uZ3cTm4PdVOPdwMe6uaG2+rciV1AxdMVnODJj9/2QwGQc9KOHwK7eSB/WEDUj3cDTm7H3x7zCPqhipaHuCmlHrfG5o/XjR/2dtVV0anePrxTfrgKrhre9fZ/Px6RbI9JBDnnHuZ9rlLwdjj8ziey6J6O0k8ANgKrcGoVuJVAG600lhylMpRzOAwKg3UWxyLKzaH1UZybQXMvllvouG/yQXsTcOLgPYZ56ocPoPnfW8NM76ex2WU4fRGoDTjbSFUYTnkV539Tyfd40+Q3Vxk1ZSrnQOsC3H6su5HcfomJ5t8y9tapB23jv3eAgiR+qFL40Hu20+39Bk69AMVmLBrtPBAkEjkxsvP/ZhlwiIdXx9p4DQtof45zBPAsoLE4twflPkOn+Yese8s9D9b0H3R+etQBeujR8qkG993xWxiuAHUWzitKAcR5w0n3BYv0h9qdXMQqHJJGnRu6jgKlAZs4gYvXUlgUd6HtJ9m04V1wZXnc7vyAouqxB+j+947Qn/9djP5FHONoqkiR1jiG6AuWWj45TrnEwAJscpA6zkgiBUscQqX/xkcfM2j3V7TGfov1b1pc/lo/5AA9KDAHPtShu//9KH0FuLHYFVU3KC4ClhrbUqc3rWJU1A9K/j0cNcl3BaDrTqGIgLqh86sInUeXn6K1+dfYcGV3+Y56oNSjA9RjA9C9b3sVrvluYLIyhoqeX7NemhuovFf2B5v7fzsiYMvdOTWPSyIDQNnkdw9oyFEu0p3S8d7SZhwodwTl3sJp/+Mvl974hwyg4wJz6Le3M2s/jm48pebVzndekrREk7IJVpKDXF2lOVudq1wVMMuJhBSM1MBy8Zrw8MfK9bQCdIyglDqzIQKzg2/Sbv4sm96+a2nn1aMC0sMG6LjAXHWV4mf7/5288Ras6kTjJpGSAgDeQC4CJdQnEaddwmDy3RtMD+WmtHu1nJQ6iY4REe6VdEnp6s9aD1oCjk5pueyB/Z9se9fvLrHDo5CXfgAAfShn173/AOryqtSXeGB1ImATcFxdjitH5cGuMoQxEQgHZHINAb06POaRBFjZH3NIdXBwAH+sTY6xui5MAgVK+3yEhc34feazbN/6kprae7wAquppy9xz/2+fyaK5GpVtA+99gUpc5HFrw4VQrm5Qhd8vPwbrEw3jhlqeZv7000dKeo5VFUBax3YIAKm8RxEGxGmeEoEi+Sk4gAVl76GtL+fUd36v1rpHMFZ69ADa85aXU+i/xOqxKr+Ia7rkUFflkJTW5Pc0ylJDK+q/u4T+gtFSukzACZdKKY3EqCTnE68bhILkOgc6iyelgCl81JnqwtrOk9tXseXdnyLc4jEHaIjedv3WL+D4EE43q1G5AgzBoApv2CSK8NFjJULwhnSVdwfqSylGosh6B0jODYB4gNzQvqDSbJXsbfKbs/G66ETCp/ynE4v587SOv4c2WsAOyOxr2Pbuj6VmejhAPXKAvv/WV4L6M5xqVkkVwESFpcTrrfdETQAPIs0IZUgkyWHaNzPNJTZN0g5UljTOf2rv+RCjpBY5GiiJYyFXwz+0XcRDWtXQCp8MqwsqnUSVFeoeoN1r2f57/1ua9gMHaEnkfO83X43K/xSyRs2IEglBBAjXJ9TjEroCgnAQ7g/yGGI1wBHl+XDiGu5ZQmdLeiy064Z2eAEjbVD+OqE9OjKAyiK1au8gyp8XVKUpsOZ1nPmej4T9nJhoePgA7fyNX0bl78NljcrYGlxJrG85MLbyKDQ44WiVjF9YmtvFhcNxwvuSR6R7KUBDPUpzXjg+oazaoFSOtXVNUmO35BrLDW6DAwk9eqWoHChToMs3sP0P/yI08QQi6eEBtOvXfxybfxZ0q+J6TyHWN8pJh330BCP53KFs1QmNP0/6l3C/qKW0ThdywTBdpTkDasCFqkUSkcKdaW5MQXMO8mQg7Yj7wzWFZhNEla4oPD1WW8D1UcXzOf2Pvlw191EGqBY5h/7LOmby27DZZG2ULfRlRQyk4LiojvD5xaXJXpJuEh1SMZD9ITeoyghBzS1DdUElJiKl2hEjIeTGVIz4CIc4/grGtzGCa211SQ4a+gwU6UDZI4wX57Hujw+dCEAnvmjkmP4STk9W/bWJALBQmormrAFT+sb5Y5yhpuSsqRw5jbbSX8d5rgm04gVGCkDN45PIEWOntCmpJS33iICo0aWn5UB9Ykcblam11acx1afzv1nfR2tin6UvDrBqkln9pRM194kBdNevfxKrziMMFBNqcxaUSbwKv6/0+SgRDsYjEwBU9Ac+2pSOdhHjaZ3wvICUqicIVJtO7qG8YVPa8ddPc0l6P6fo9YoKJEviVAllW4+4rZ3owbOVc1oT+y23Nuo8dv7GJ09khvm4B4ZLOwd3vv430Y0/wGYqDvxsBCiM3D2/h47Jbeo0dPOuAZ//1xl275tl/8F5ev2C1RNtNq4fZduWCZ596QRnbW1HgyoifaRjGKh/dyTKy/8gZSOhRWeCCHDO8vXvzvON7x5l38E59h2cZ6FbsnJFm43rxzhnxzgveuY46ydFtZFEqac35ypVFyhRKC6LbVbeAbVxmMF/U+d84L2PHkB3v24Lg/x2nB6BLNKNE0ASoBQEpSQlm6QSMDVj+ZsvzKFdwfbJEluUlIVh/9GSm+4ecPf+eYwxNBoNXv6Cs/ill6yte7tO52sEkOFuCI3hOULozEet9/y5xYJ3fXg3N96yH2MMrUaD808f4/wtTSbGMhqNjEI12HkoY8PaDlf8RIssT/qfiZVUFSk6D4FbObCuS3BFBRR2kWZxrtr+p/c+GEDHX3Ylhr3z9Z8ANRKStyOCo1wVzhCjBuIA1LpQpp+dK9mzv+TXnr1YNTZrVE1wFooC+pbDMyv55r1tbt5jODq9iCstqtGoeu1E1UmSJ1aaA1j+i6MyoJXoSZxKVw51dKagow2XP2WSp5yuuHBjj5HRHNptb1x/3bLLonXcdFfOE89SZJnvq02iVOmKzqUKLgVZK2JDp+0eoa8+ATz9wQA6fgQ5p/j+638Joz+M9TV2mwAnCVIq1M7FaQEBWDlQOVhDOTDkdgCNBuhWbHDIZQrMALoL0F+AvAmTGyFrJTnPN1nyj0wH1AqbLqIVFCbJ764yYG8Bpg9U57RGoT0CmdCSGN4LBywUA8qsRd7w4KWVivCpYr6UNiov6cMnoKwjM69ROz6wzKTfQwXonne06U3dB9kkNiMkRoePGplgSz+H1FHIH9oruyx6vfC3zghTE1J1cJ4ydFYBp31pJUhd5yvSLtJHUpwOn07GXkkiF+mL8wndVtEm8j3NNS4RPsY7oE7MJnlNVgpZVe2Xib8gcjLCoBevCFV5hPbaTWrbO3oPhMHxVVz34MexTFbeKdEijRJVUxJktCgfII5vUmXWqAztssrQIn2tiwNEpUE3qj+lY93N+cQfbDOkvgI4iZILgeSvbf3+tPKkM8hzYh3Rt9dIXyXvZT66GmBU1Qflfxdmsd7BrPUqziu5ILs9yMHJ1STdQx8/HgQPGEHurtf+KDa7BqvzQB9yYefHAtZ4IJLip/MN1qK+dMwdCsKIszadnRrCHxPUD5X3paN3S7x+yEOJ0QNDicyRCE+oGemHb4OzHkCpwqfn+wsKwDI1r5Jod37cJ1ELCcVlSU5LcpsGsCWZ+XF11ge/thwODywSSvcHKL+/NlUt3uGSDnhpaT04RjpdQjmIRpPI8LXVyshJ0scbI4AhuSUxuk1+VyqO6NNqdSho+qalc0HWt1WSeEjkUtmQyriPZpNQox1UfwKAziFr+r54dacS5wvjQZO03bcn0n9O6d4DPG05GJaNIHfnL1+C09dTZlkYd4gQkJGysdEAyoe8UxUg/WNQLLJox1jMTsHQxqmMljnCqLmfZm6gMQqtldAcBXxekrUGmR9z4Ot1yLyLivlMIlLuL34iv5EYCKrBsZTNhKLF223KeWJAA2UJxSz058AssmgnWNCnYPQI2vbJXZdxs4esqaC1AporPAv4PCfT4Up5CS6U74WIHJuVBmWfqs7+i38bxmL5CCrsez2vePTVEJ/Kb0nkOAMLR+kWmgMjz6G16WLG1p1JJ89R3oDWWrrGcPj+uxgc/DfG577L6nwPtNdAe0UFVEjgOnqb0okvZQkogoYOH/WVPh5w7SJ9hhVCybSF9t+dv44ZQHca0z3GQX0Bg4kLGNv0ZFpjk4xkGUopnHM45zjWnWNu301kh69nU/eb0FkNzRHCgkydyG3nxY6yPhf7yDIqQ9n3As8ahmJJBLl7rjybRX0LRuWh46Gm5Es0powUY6upBDd3iN2ty1lx5osZm1hDo9Egy7Lhy+Ocw1pLWZb0ej2md36FiSP/zKrWHIyeWlGG5AUZUzgqf0lH6VLWEfatdSUBSAAPlCNOJp/EyHUWigXs3D725U8lO+1FjJ+yjUajQZ7n6JAj6/0py5J+v8/R+26lvefjrG0dgNaED3o/VkyrC1K6UioQA8qUjNgnqG0fuvP4AN36qs9D87mVIhFxYGNNTWSq9bRjDMX8NHtXv5L15/wEnU5n2Y4st0nn5udmOXbrx9laXAMrtkLeJtKTeHgCDD73GAhji8h3BHqTRJ5SnuRRKfBKWcg66E+zsNDl8IYrWbv9Etrt9rJO9kB9McZwbPow3Vs+zKb8lorCFTEviUjKMipa94JBWT9+LD6vnvCR//CAALldV26h53Zis2Ylg12ssxm/mkg4W2VgNHbhMPeufQMbznoGrVYr0NmJbNZaut0u99/2BbbOfRw9vsVHktCSl774DrrkNyfdcMu4G3Ekr6S46XNDoG3vhINjTC/k9M94HWs2nk6eUPOJ9mV2dpb5Gz/Apvx2aIxA5ocgouSkBCR5SNqnywGtxhnqjA/ulevVc9Bi8RbIm1UfREIKHchYwkRvHsxyb/snWb/jaQ8KzqDfY/cdt3Pk4H5anQ6nbNnKqdtOr0yuNSMjI5xy/vPYfdMi2xc/B6MbCY+gCAYQVV9Qaon6A+rzPNTnmEJU+QGp8RRT9lmYXaR35ptZt+kM8jyaRdo9dWAf7ZERNmzdzobTtj1gP7XWrFy5kvLcVzJz01VM5IPqPiL3rUr6JQrUt8OqJt3+W4FfXR4gx+WRKVwyRZAURHHVDUrDofI0Vj/x5XQ6nQcE58Zrr+Hqj/0f7tt5F7Ys0T6XGGMYW72Ksy6+hCve8CYm1qyl0+mw9vwXsffb+9lc3AetsZhn0jUCJNEUQPEgpDOrSoEs/ZJBaKiwe6ltS1z3MIdP/RU2btoRwPm3L3+RL/z1R7nv+zuXtHvF5GrOfNKT+ek3vomVqyaXBWlicj37N/8SEwffC+3RYOAQ9VKBsKpeLnDu8vRawapu1y+cSbdxB0brKvFLxEjuMfUqdtFn98Sr2Xjuj9NoNJY0srcwz/ve9HruvulGOs0OzbyBzjTKR4DFYayhNxhgMvjJV17J83/h1VhrObTvblZ/7100x9eByis3spn0njColTGSTqPIRQOE3iUsILkHD3axyN7eJlZf8lpGRkbozs/yvje9gd233Eyn2V7SboPDhnYrXvKaX+W5r/jFJf13zrGwsMDst97Dqa27IwhOVcXjIBayWBpSFjJjaetz1Okf/h74gjnAO171xN9DZZcEqZlOrMnYR5KxgyP99Yyd//PLRs/s9BGu+sWXM717N2OdEVqNBrnWaKWqEY1SZAoyrWlmGdo5brnu60zdv5+LnnkZeWuE/YdmWKWnfC7ysljKMGH1jE4oLaXCRFZHkyUS21/OWcziDN3TXsn45Dpmpw5z1X++gpm9exnrdB643UrR1DnaOW6+7lpmpo9wwTN+rHY3pRRaa471W4zPX1eNg0Tyi/SsqVAk4hX9sn3Vn3/3n6SZvsHqeYHCpJYUKgeuyklS1S3h2Mqn0263l4DjnOUPX/9q+oePMNpqccqmLbRbbbRWNBtNGo0Gyjla7Q6NRk6uFS2dsbLV4YZ//nuu/uhHaDQatDc+Dco5wixlukpVVFmYLEzAkA6HKe0kf4ogkGOM5RDbWbl2EwrH/3rDqymnjzLm2z3SGaHZatHKm1WbO20vtxWZcrSyjBXNDl//9N/yxb/5KMNblmVMbLqAabO5ms7XUqcbkv6hH1ZGEs+Ta+QA7uYrn4Drb67EQQJpOp0tFUarQJV01py7rAT9xw/9KYd3fZ9VKye44i2/wymn76AcDPinP/kjbvj7f2QwO1eJljxnbN1a1m/fjPIznqPNFp/5yw/yjBe+lLE1W5jau4E1jR7YPNJYmD6oza8QCqqh2iAg+u8yNSHHGUA5emPnMtlo8H//7E+Y3r2byfFVvNy3u9/t8ldvfjN3fvUrOBwqzxldu4ZTTz+N0tulqRWjzSb/+Ofv5xnPfwkjK8eDLZRSNJtNjjZOZzUHotMIEIaK7iQ3WSfrITe7m698grrgQ7dUrlcuvhGnVPTMpKQj/xY1Zx0L5Tija7YsC9A1f/sxOo2cLWedTdHrsu+O29h9662sOnUz87NzFEAfRa8oObzvAHd887s4NJmGJgo9GPDJP343eZ6zkJ2atMHVbxSW+MrgU2iDGCkQj3EJOFKnw9Ka2IbWiq/+3SfoNHJOO+c8in6f73/n29x1/Q1sf9Il9J0LbZ7af5Bbr/8O1lXPOSssTaWh3+NT73/PEntkWYYb2xbbI4IrjMmk6u1Bs75zdvGNICouV0+OBUcXxwtpYVS80VpmG2cwni+tEt34lS8ymD1GpzPC4vQUe2+7mdJq9u+5j7npaXpQeaK0FQe9Prvuupuzz92KLQuaWcZd37qOLMuwzTXALsJEXK367fNOWMGk4u/iaOHDAxLmmqq+mtLQmdjIt794NWZujsbIKAtHp7j7ppvYd+99KAWzR6ZZHGqzGgzY9b1dnHPudgbdAVo5Wlpzx/VLC9JZltFZcwbMaz8mEzs6T3ledocVrR6DTD05AqTYFqcSfEFLqE3KPLK+QCtcPrqsrL75a1+moRQZjun79oBzHDi6yP37DzJ14AA9mRqXzdPO4tQUmxdPpYklx3H0wAGOHtyPaq6AgTRaOgBx8b0YW774Dy1RE9AgzgcJIygGbpys0eTWb/wreabQWI7u28vuvYeYPnoMnGNq/356oZga27wwdYRNC6fS9vkxdzC9dw/zM9OMTaxODlc0WqP+njLYd3H8JhFvLdWcU+jLNoDc3f5zF1PYFWHOJiQxElqQkKywc7q5BByA2cOHyfwaBeccs/cf4PY77mV65hh4Bk1M6V8KUn3OzC2wbixHO4vWjoN77mF8pb8hOnwgix21Sy8Ucw34mU8iMAG59DflZzQUs9OHyXAoW01K7vreTqamjx63zdo5js0v0B5rgLUoZ9EKDuy+mx0X1gHKGu3oKFYoVpxNR2dKP61d4W7/uYtzBuVzqkKkDOoEEOHFVCgooMS55YvgZdH346W4mGQAdIfzh5jKuSoSrcUInVqDspai18WO+hxnDeRSxU4AE0Ak+demv0UwDNXiwspXQ64K+sZgBj2UjfcvcA+pzdXyOOMBMihnKfrdJcebsvBzZDaha2EEaXsOWkpPvm+D8jk5uAtDzS3kLhf/aotCKuXUcdPYNOz9tnL1JNaYqvakHM4UjI602XPE4patNFS0k+EYH2ngyh7GGkpTMrlhM7q7c6kIcBDRUZCNQGcT5Cuq786C7cJgBhb3gi3ivUIurdqe64LFmYOMjq/CmhKXaZwpGBlp0ztsscdps8axspPjTB9cNXg1pmT95noZyFpLd+aAL4bKgNmP68ISsCQfBUcDUBdqUKfHjgtAnuZkBaWSckm1tHdluZNiMMANedm28y6gLIsKJFtiBn22rh/HAF1r6DpH11n/Wf31nOOUdWsYz8E5gy0N7bEx1p62jQ7HfJtk/CBrhX17Rk6HFedDOQ/zd8GRb8DMDTD3/UoZrX4StDcmDpdU5D2V9+YOs+Wc8yhMiTMGWww4bc04Rh2/zevXrGaipcCY0O6R8QkmT91Us4kxhsHCVNUeIyWzYWaSnJqoz8qZTtc4u95j7QEx8YSwIDEByxoa9iizh3djTD3pP/3FV2AbGaUpcNbgTME4BRefsZXSOrqmpGssi9awaEp6xjDWaXHp1vUMuvO4smRgBmw5/0LmZ6ZYY+7xESCgiHAxMLoNTBemv1FFymC2OtYUUB6Dhbth6roqqlrrCXNZJBOPytEcHODSF/wUVkNpC2w5YKXq86QztmIcy7a5025x6fZTKRbmcbbEliX9ss+2Cy9eEm9FUdAY7Pftl8G/CBXpjzi/SUSQAsV6jWY05B4ZQLkE2XQmVQxVDtDH7qTf79ca0x4Z5aLLnk+/GFS8a0uK7gLnjCtedOHZbJpchdKK0lrG2m0u3LKRn3ridhr9OVxZUJiSgbG84DVvoHvkbrRbjPcX8WJtZXTTh4V7I23Vxmuy0qiA2dshH61HohjLlqy3d2Ks4fxnPZeeb3fZW+TMFfDCi85i0+Tq0ObRVpsnbt7Iyy7YTqs/izMFeEoeWHjpr/7Xmj2stcwdPcyG/vVQDJamDydK1IYuIMOZyiFHc5ztxBJIKk/Tg5McYB2oARsGX+Pg1JNpt7fVBqw/89Z38ttf+zKD+RmUy8k0lN1F1mYZL9k+iVVrWSwtK5sZ5WCAnZ/BOEtpLIum5AnPeSGTW05jxf5PA0Xw9GqZk2+LbsHi7noty5H8Oyo1MLBwD+hOFVmST3FgCnI1Q+/wHbz0jW/j3dddy2BxHuUysIusy3JevG0VnLGW+cKwsqGxxlAuHPVXcJTGslCWXPSC/8iWc58Q7OCco9fr0Z26i6w4VDmNL7XFyTsRCf7T+rwU8LAdDa5ZX6HjUbayDi6NJos8YpH199M4cj1zs7O1XLRi9Rpe+8cfoaszeuWAoiiwpsAVfQYLc5iFWVr9efpzxzD9RWxZUJQlC+WAyR3n8PPv/CO6h26nU+zxK4KEehPe7ntOl0c+wjo9W2+3PC5iFqvFH2l/hFJMj83ltyjtgFe++wMsAv1yQFkUlIMeZXeeYm6Gdn+ewfwsZXcBbIkzJUVZsFAMWH/eBVz5nj+rRY8xhqn997Cl9wUoF+s5py6nk6BI848FaFY1exn4BSoT5ZYAVhtPFGAWWbf4ZY7u/S4LCws1kM669Ed440c+hVsxzkJZMDAlpSmx1mBNiTUlxpQUpqRbDDjW73HapT/Kmz76DxzecyenmRtgME98/qaM8t1an2tMRWGJPK+mRvxzO/Jv+U4RrxdqiwbMAD04yMT8DWw461xe9xcfx4ytZN47zrLtLqXdfbb/yLN52yeuXgLO9NRhxmevJVvcDbYfbTpMybV8byNjVGyhlLvxpSU2yyj92ML46DGey0V5yPjBJuDpFkycwz2dFzG59WLGxsZq6xF687P8ze++jW995tPYhXkaWqOU87rDMXCOya2nc/kv/yZPev5PcWjvTjZ3ryGf3wmm5+fuoZKkyWJGSKYdSOpyiQ+FYqmNhdJU+Dgbx0jOQWuCqdEfoZx8Cp1Wm7/7g9/hxs/9A+YB2r1m+w5e+Lo387QX/6fEj6s1FlP3H6B55KtMHvscLN5f3VdGu/K+hcwvZlSasMQ5y/wSZCA3oE2p3E0vKSh1jsmqqVljI0DiubWHl9LoctAYg5VnsLdzOa11FzC+ajWNRqMGlHOWb33m09x907eZnTpMo91i1fqNXPzcF7JhxznMz80xs/92trrrUUc9OBrCc6xhuTCEhfJSoQ5P4hHXvUGsLoSBYFIVSWlbuWq9hc6gs465zkVMj1zCmlM20WzkfPvqv2f3rTcyc+gQrZE2q07ZyCWXv4RNZ563JGq63S5HDt7H6tlrWbHwDVjYRyjvyGsGBCBZ2aMzqklJP3mXqQqk3EBmS+W+++IeRrcwmiqKbDV3QekfaUwoJJ2/CKNhXa3CGd1Kd/QCDjaeyMr1O2h3RsjznMyvI0vXxtWWKh28l4niLlYNboP5e6s1aRCXyYaJOj8wVQJUmKKMyIQFjCJoLOHBrQCOqyLHCniJ8zkN7XHs2A726QvIJnawctVkcDitdeiHLB8zxlAUBcemD6GO3cVG+22YvtXnSS8M0vkqeflFJkBlkOUeHF0BpS1kFjLTV+7GFx/F6gmshsJVUt0koEgylcFdOs8S3gQF6AY0VsLYGQw625hyG+k31pG1Jmi02mR5E+eqEk7RXyArplnNfsbKvbCwB/ozVDeHuNJUERaoyMsqwgv3VBJNgdOSbTjxDvG9hfB8kyRlWQGkWzCyATuyiSNqK/OsRbfGabQ65M0OzhqKQZdy0IXeNCvVIVa7XTB7TxU1ZpGgFJ1vsyxekcf0M5nuziLdZT6CcqqyT2ZnlPvOi+7DsRGjqaLI5xmTJGQZSOH8ElpF7fnMIBlVNUWdj0BzNXTWVqBlLcLzQKZXjWGKGegdqaoAgX58Z+RRjQBOMs0dJuR8JNVLmaECFMolEj2yXjwp9YQIMjbuC04I6DbkYzCytvrM26AaXowUUHZhcAR601BMQ9n3UaOSPnlHkrYJC8iSK+2f+Mg8iI1Mogdw+3LgGIqNkS6kE76TwuMVZxBnLmX5lYte7FIA5qG7z1srjzklTeBS31NEECyElTvaVeMGrM9DEBbVBwCI9OfrZL7cXJ0rtJw+ExSqJi6pnghlm+h8draS570DLH2JYCLxnc/XNZnsP6X2Jqt5tO9PePlHYvOQNqQTHMsx7CSz59aMFBYCeiqQSncImpS3HeHFd2musEXlZaJcjBhdx0i0dQUAAAxxSURBVOc5A+iZj0wBPPOG8vknrCJ1QOZfseMjysXmShDFAaEHQrs4la9EICT9kMc4Q1FYUd0kOQbnI80PfmsUmuZmHUWJbAEEAYQoFpQlrN1RJBLbgtU7cxTXgn1x7dFBZ/2CPuo3lwZJWT9MQSRJ2KjKIPJAlFLEheMCOJ7vqcCxyWL8oNCkY6pqR1hA748xPmrTB7KkC3JfMUyYIU4N7o2A9akvUXbDRg+Kz4Mj0j14ulCa72u6hXYo0hdqxet7phDnkXZV0yrXakbyT6NdNaer/A4xjjwSEqoMyXgo5B7P20KJUkIPq4JcPEcqFEGypwZIJHwYkJZJyKdqMqEX6wemYb/f5+tkgYps+pke64iFVIkgaZ/c1yXn++8miSxxtlTl1oYjiZ3SNBEm7oSCrXduB8o5RvJPVyb+zvOPASspdeWZhQ9nY+KnvEUjXfjnkohQ1PMDxHCXpa3pq1RqOUdVbpWut07XY6f7hUZAXDFGR0jERKowLrBLHKCSREv6exI5wdmEuhOnkmsFUEmo1qX/IAwJwvNA6eA0h1xV6k0raGjIXDUGUsyqiz47rv3Fb0RyTngHZ7LJHD/e2IlT1OgveF0SGWG2M9lf81C5rv8evH7oWuGRS5d4ckmY4wnTESb+SRUkRJGX1UYKl0k5SPn7SXQEjyc65XA1xXlHrvXZJcyQGkoRH9sXB3Jxf3jKQe6hbwRZNGLVx8jLZ8Zn/B3hcXrJRSmnw1KqkwbVFrRL/3yOQa6TSuZE1RgbB6iiDIXSteSgIN2qv9RJwm1d4ki+nYbkU0AQp/EAp5d2JgqNdMWNJua0YGiV9NHVj12y0EXanUZ7CpgFZcDkH5NdOOcUNz5vAac6geZKV1UUhObKlObEi2wUC2lkCxDyEolAZUJxwjkkNJbSmVxER3Ac9f1Cg/KZbsNgBQmd5ISaIJAPT3NWgJVPEQHJtUO+8SeHfToeI20NbxuRAalfiJn7KkJOrCDkFpTrqou/MBIsoJRymOzLKFMNkrRHP1PRwNrnkWDspP+OGN61KVsIs7Hpm69q0xiJMEintoMQMP6JvuScUCMsqcJbqM7/kVbAU0EhVJeKDxevJSKiNnvrKRX/qZzPybbukMazQFB4ECPKxYgJlRc/5BCbKlvlH2XBZl8WP4rLc8bc6+jxfZTN8CxTEwBa5O7QvtBRf4xwcAhnvzt9xxuaUFYJLzP3FCYRIQ884f1IllmFAFPJ0/8JXcj9SKJb9osj1d6bkOYKPLj+fKmYpLkilezJe3/i4BvCM7ySI5wA45008+/0kXtoiTgDyhlG3eukNaGKp8753G5MdmtAUuqUub+4wteMBHESo6gIVpqnwu+S/Emo0R8fckFa+5NrCA1JxIj8lkiVqPLnmdI/CWjifcWwUiWQe4bzHbVoFZESBqYunp+qwHR4IcCH+yTmDdHkopLT3qaZz7OZq5irip5b1Tmf2y1XqC9wM9kVZOVtKJOHCzjiC24lj2ASrk2pzUXHCXKVGHHyLKZUjsNLhySpp50UMeHvqYJaSHKMSs5NNmmXJOvUUUJUwZIX9w1L5zRi0vPFqcJgVb4n+UwlX8Jjjr5IKs6vXQyGavxZouzL067o9B/q0s9+j0H2ObTkIZdcRPu3nuhY6k8Tthg0zU+QUJOICQHO55IwkBV57RLgk4GmDETTPBaiKZkpDYtcWCbaXDyutgQqUXJppIjcDt7pjZ5GjACXYBrGg+EPwgPDIXo8MJJ3tIVB9jl10Rd3ppgsXSK6OnsZ8+UUmRmryuIegFw8UhqpvK5XMRLs0LVq4S5qyHdIJKj1NbiwElRs4a8vg8IgwiQ5S91OwJdc4L+Ht18R80Rol4seX1NlieHFsDUw/HXTF/nJPaV/6ZshHZ7GJEWoCI5/0LsKAAvoeVZnLxuGQw//oHZc3afIX1EtNvbRk/sL5sqPfHMfqrqu9Go5J/WulAKT39OHxEQliWcbW9GaTXJDGkHOy39nCa+gNKZ6O4jsD1WPoagQJWh8tJkkQoWWwnRLUluTVy2n/QmgJrQRVG+i2PJkrif34GQ+cpS1FM1XqB1X19ex1a9a39w3n/vXNHuvwOjKk0tVjY2M8y9/dVVnC5HCicGlXqVVffygdawIJyknuEpwdO99eqh5Cq/cRLXJcdLopEeBcly9l2n+kggPSk7Fi4ToYOlniFritQKdJXM76Gp8k+d+Ktv/5R4omTkdNP9aPeVffm45HB4QIAD3rctuolFcgPF0I3XJ0kFhIyjlkHcaLzMlT4jx05nPILmpAwPUElmt9kZdFdW8Nr1OQpfyW1ijIO1IjpPfZG10AEOmUbxzBWpU9baEt4b4T5ktzf1vufwpHzmSfywUjVvUk790wQNhcHyAnFN8+7LdZOWWAJBNI8lHkbxOWRbgy0BOZChEb5U8ElSY/5SBH0neEWQl76WGSl8amyoo8exAO+l++U1EjkvAIYlMhvCX+3nakugWgKQMlWWR9pWqip9a+08VqU1TRY9p7OFJ/7L1eO/RXpKD0k0p5VjfPRuT309mfS6ykUcb3luamfcQ4VmRk/53Saqi+2UhSHiJn+QnMZpvb+B/Mb6AI+d475bKtSLmM0W1X2pcgcKE2pLxUAAjEQMh1/jzlIrX0r5KL4pWQMiTv6anuoZXv7mL453MgMvvZ7x55oO95Py4AAGozdd1mbObKPJdFWd60SAgNaka0PAh3EgAanhQZL0XnqOlgzJXL+MriRQBTifgQF18VB5UnW98BBjv6UFaEx0h2D+hKU00ulxfItN58yg5LiOuJcA7H34NgQCDzy86OnBD7OUB0hbKfBfH7KblRMES+z/YAenmvvnsb9AcPBWHqvISfi2dp7z0lY/y2L71+Sld3+AstfUCQNDo4rFpMVKScjzAR0st8SRdSvgpfaOjnC/nDf9PAyEKk9RhQj3SR34KkuQcTYwk5YWAJlJa5kA7R791vXrKlx70bb+hOQ/1QAD1lGueTq/5+zhlYiS5ykuavlEN35jcc3DDU1/uoyhTkaczGWEDKidQn3i5GCJTYVfksmXACTRFpELru5mepl3y+DvR8AGADLC+jbnPLZkvfSXKTPrY1NDSlQ0yKlbJE/tkFhyGbvP3TwSc0KUT3dwNz7qE3H2RrJzAUUWRIxQDqujxhjIQ/j8NtddLEkfvKD9qT6MqiR6gVqJ5oKBJvw8FXNg01OZiJOHLyfI1U9SmQMLrWny0iJSWyAnOpwizAeJUJpuhbD5HXfrFJW9UfLDtYQEkm7vu2R+jPfgZsFl8fZmA5b1XckN4xFLAsTE3SG0rLCiEOOXsDRSWKpEk/eEGUQdI9EjYJ/Tl/yMvXYeozjIdjwk1NJUUNyXifa4JpRs5h5jbUIZ+8xPqqdf8/MO18SMCCMDd+KytlHyWZnE21qlgREsFlk3yjbw9S17fHNafeQAhoSVi3govhPVWl9wQQHJJ8l+me2JQ+YesorEMjfiJgAgoKdXKfqnu5/LdxWhRDrRyDBp3kvN8ddFXdj8S+z5igGRzN1z2o6jiIzTLHYCqIkElEUEEJ1Va4R3SCaWl5SEZz6S1MucjqtYFiTKGgPLn16InOSYtaAoQkChN+beK0SIABVAQ0B2Dxk5c/mp16Zf+9ZFZtN7cR21z1z/rqeD+nKY5H22zWORUQyCQUGISSWmhUyJFCqk1VZd+J5HVEAarqBh9tbFMwoMCjEqOTWeRh4EIILq4z2rDILsV1K+op37l+kfTno86QLK5vU/rcF/zfTTsy8jLcVAqGDqp3NfGHhJl8nt6jFVJ7pGo8vskpwzXzwS8GiAq5iYxegDKnxeojgf+wznK/BiF/js2Dd6gNl9Xf0HCo7T9wABKN3ftZRfQKN9Obp5F067CekTEudPXXA7Prcj32pSBo/7/SYXQlaDghvfJdADR+LIrpb3av139GKUcA32UMvsKRX6V+rEv3XzCxjjB7TEBKN3cV39sMw31ejL7PHJ3OrkZwTEEGHXw0rn/mjwbkuLD2jqNkLA2wUUgwqMrDAETPh1ltkipdmH05ync+9Uzrw0vfH0stsccoOHNfecZp9LLXgruGWScDW4jDTeOttWrFtOiZ9rcJTJ7uCvuOLtdpDpxDasHFOoYqH0Y7gT1ddrm/6mLv77/EXfyEWyPO0APtLnbzmtydPInwT6bTJ2PVuNgR9G0wbVRqomy1f8hSpGhnU5GoA6rLK6aHMHpAucGoHoYeii9gHXHMO5W0New6sg/q/NuGzy+PV5++/8vJvwt63OS7AAAAABJRU5ErkJggg==',
- e: 1
- }
- ],
- layers = [
- {
- ddd: 0,
- ind: 1,
- ty: 4,
- nm: '形状图层 3',
- parent: 7,
- sr: 1,
- ks: {
- o: { a: 0, k: 100, ix: 11 },
- r: { a: 0, k: 0, ix: 10 },
- p: { a: 0, k: [50.466, 41.239, 0], ix: 2 },
- a: { a: 0, k: [0, 0, 0], ix: 1 },
- s: { a: 0, k: [-105.026, 97.953, 100], ix: 6 }
- },
- ao: 0,
- shapes: [
- {
- ty: 'gr',
- it: [
- {
- ind: 0,
- ty: 'sh',
- ix: 1,
- ks: {
- a: 1,
- k: [
- {
- i: { x: 0.667, y: 1 },
- o: { x: 0.333, y: 0 },
- t: 0,
- s: [
- {
- i: [
- [0.648, 0.617],
- [3.423, -2.186],
- [1.457, -2.142],
- [0.427, -1.424],
- [-0.625, -1.25],
- [0, 0],
- [-0.875, 5.125],
- [-1.517, 0.46],
- [-1.179, 0.129],
- [-1.14, 0.694],
- [-0.834, 0.893],
- [-0.089, 1.662]
- ],
- o: [
- [-1.804, -1.718],
- [-2.04, 1.303],
- [-0.828, 1.218],
- [-1.545, 5.154],
- [0.625, 1.25],
- [0, 0],
- [0.433, -2.536],
- [1.548, -0.47],
- [1.462, -0.161],
- [0.748, -0.456],
- [0.308, -0.329],
- [0.077, -1.439]
- ],
- v: [
- [25.858, -46.958],
- [16.996, -45.772],
- [11.534, -40.502],
- [9.376, -36.075],
- [8.125, -20.5],
- [10.375, -20.312],
- [10.798, -31.05],
- [13.243, -35.902],
- [19.625, -36.58],
- [23.37, -37.717],
- [25.699, -39.7],
- [26.822, -43.263]
- ],
- c: !0
- }
- ],
- e: [
- {
- i: [
- [0.552, 0.671],
- [4.593, -0.166],
- [1.963, -1.16],
- [0.527, -1.054],
- [-0.625, -1.25],
- [0, 0],
- [-2.529, 4.951],
- [-1.42, -0.303],
- [-0.948, -0.736],
- [-2.533, 0.099],
- [-0.821, 0.744],
- [0.14, 1.068]
- ],
- o: [
- [-1.533, -1.865],
- [-2.738, 0.099],
- [-1.116, 0.66],
- [-2.408, 4.812],
- [0.625, 1.25],
- [0, 0],
- [0.871, -1.705],
- [1.483, 0.317],
- [1.09, 0.846],
- [1.724, -0.067],
- [0.495, -0.449],
- [-0.137, -1.044]
- ],
- v: [
- [31.735, -32.494],
- [20.905, -35.342],
- [13.505, -33.516],
- [10.977, -30.609],
- [8.253, -20.384],
- [10.887, -20.312],
- [13.101, -29.31],
- [17.12, -31.092],
- [21.753, -27.258],
- [28.068, -25.521],
- [32.332, -27.154],
- [32.815, -29.684]
- ],
- c: !0
- }
- ]
- },
- {
- i: { x: 0.667, y: 1 },
- o: { x: 0.333, y: 0 },
- t: 8,
- s: [
- {
- i: [
- [0.552, 0.671],
- [4.593, -0.166],
- [1.963, -1.16],
- [0.527, -1.054],
- [-0.625, -1.25],
- [0, 0],
- [-2.529, 4.951],
- [-1.42, -0.303],
- [-0.948, -0.736],
- [-2.533, 0.099],
- [-0.821, 0.744],
- [0.14, 1.068]
- ],
- o: [
- [-1.533, -1.865],
- [-2.738, 0.099],
- [-1.116, 0.66],
- [-2.408, 4.812],
- [0.625, 1.25],
- [0, 0],
- [0.871, -1.705],
- [1.483, 0.317],
- [1.09, 0.846],
- [1.724, -0.067],
- [0.495, -0.449],
- [-0.137, -1.044]
- ],
- v: [
- [31.735, -32.494],
- [20.905, -35.342],
- [13.505, -33.516],
- [10.977, -30.609],
- [8.253, -20.384],
- [10.887, -20.312],
- [13.101, -29.31],
- [17.12, -31.092],
- [21.753, -27.258],
- [28.068, -25.521],
- [32.332, -27.154],
- [32.815, -29.684]
- ],
- c: !0
- }
- ],
- e: [
- {
- i: [
- [0.741, 0.453],
- [4.1, -0.475],
- [1.088, -0.742],
- [0.711, -1.233],
- [-0.922, -1.05],
- [0, 0],
- [-3.304, 4.605],
- [-0.795, -2.012],
- [-1.129, -0.407],
- [-1.842, -0.003],
- [-0.624, 0.886],
- [0.51, 1.203]
- ],
- o: [
- [-2.249, -1.375],
- [-2.478, 0.287],
- [-1.205, 1.055],
- [-1.197, 2.076],
- [0.821, 0.935],
- [0, 0],
- [1.18, -1.645],
- [0.899, 2.275],
- [1.594, 0.576],
- [1.428, 0.002],
- [0.932, -1.324],
- [-0.388, -0.916]
- ],
- v: [
- [28.76, -30.58],
- [19.256, -31.863],
- [13.493, -29.374],
- [10.45, -25.672],
- [8.432, -20.256],
- [10.292, -20.376],
- [14.283, -26.543],
- [19.958, -25.744],
- [24.143, -21.524],
- [28.831, -20.791],
- [32.332, -22.209],
- [32.606, -26.651]
- ],
- c: !0
- }
- ]
- },
- {
- i: { x: 0.667, y: 1 },
- o: { x: 0.333, y: 0 },
- t: 23,
- s: [
- {
- i: [
- [0.741, 0.453],
- [4.1, -0.475],
- [1.088, -0.742],
- [0.711, -1.233],
- [-0.922, -1.05],
- [0, 0],
- [-3.304, 4.605],
- [-0.795, -2.012],
- [-1.129, -0.407],
- [-1.842, -0.003],
- [-0.624, 0.886],
- [0.51, 1.203]
- ],
- o: [
- [-2.249, -1.375],
- [-2.478, 0.287],
- [-1.205, 1.055],
- [-1.197, 2.076],
- [0.821, 0.935],
- [0, 0],
- [1.18, -1.645],
- [0.899, 2.275],
- [1.594, 0.576],
- [1.428, 0.002],
- [0.932, -1.324],
- [-0.388, -0.916]
- ],
- v: [
- [28.76, -30.58],
- [19.256, -31.863],
- [13.493, -29.374],
- [10.45, -25.672],
- [8.432, -20.256],
- [10.292, -20.376],
- [14.283, -26.543],
- [19.958, -25.744],
- [24.143, -21.524],
- [28.831, -20.791],
- [32.332, -22.209],
- [32.606, -26.651]
- ],
- c: !0
- }
- ],
- e: [
- {
- i: [
- [0.789, 0.364],
- [3.847, -1.112],
- [1.569, -1.705],
- [0.527, -1.054],
- [-0.589, -1.267],
- [0, 0],
- [-2.888, 4.861],
- [-1.357, -0.517],
- [-1.474, -0.144],
- [-1.91, 0.877],
- [-0.187, 1.607],
- [0.662, 0.764]
- ],
- o: [
- [-2.286, -1.054],
- [-2.293, 0.663],
- [-0.855, 0.929],
- [-2.408, 4.812],
- [0.643, 1.381],
- [0, 0],
- [0.906, -1.525],
- [1.48, 0.563],
- [1.393, 0.136],
- [1.254, -0.576],
- [0.077, -0.664],
- [-0.647, -0.747]
- ],
- v: [
- [30.178, -34.211],
- [19.85, -34.366],
- [13.819, -30.865],
- [11.179, -27.569],
- [8.253, -20.384],
- [10.411, -20.44],
- [13.839, -27.233],
- [19.034, -28.105],
- [25.507, -25.889],
- [31.366, -26.584],
- [33.783, -29.741],
- [33.003, -32.165]
- ],
- c: !0
- }
- ]
- },
- {
- i: { x: 0.667, y: 1 },
- o: { x: 0.333, y: 0 },
- t: 31,
- s: [
- {
- i: [
- [0.789, 0.364],
- [3.847, -1.112],
- [1.569, -1.705],
- [0.527, -1.054],
- [-0.589, -1.267],
- [0, 0],
- [-2.888, 4.861],
- [-1.357, -0.517],
- [-1.474, -0.144],
- [-1.91, 0.877],
- [-0.187, 1.607],
- [0.662, 0.764]
- ],
- o: [
- [-2.286, -1.054],
- [-2.293, 0.663],
- [-0.855, 0.929],
- [-2.408, 4.812],
- [0.643, 1.381],
- [0, 0],
- [0.906, -1.525],
- [1.48, 0.563],
- [1.393, 0.136],
- [1.254, -0.576],
- [0.077, -0.664],
- [-0.647, -0.747]
- ],
- v: [
- [30.178, -34.211],
- [19.85, -34.366],
- [13.819, -30.865],
- [11.179, -27.569],
- [8.253, -20.384],
- [10.411, -20.44],
- [13.839, -27.233],
- [19.034, -28.105],
- [25.507, -25.889],
- [31.366, -26.584],
- [33.783, -29.741],
- [33.003, -32.165]
- ],
- c: !0
- }
- ],
- e: [
- {
- i: [
- [0.648, 0.617],
- [3.423, -2.186],
- [1.457, -2.142],
- [0.427, -1.424],
- [-0.625, -1.25],
- [0, 0],
- [-0.875, 5.125],
- [-1.517, 0.46],
- [-1.179, 0.129],
- [-1.14, 0.694],
- [-0.834, 0.893],
- [-0.089, 1.662]
- ],
- o: [
- [-1.804, -1.718],
- [-2.04, 1.303],
- [-0.828, 1.218],
- [-1.545, 5.154],
- [0.625, 1.25],
- [0, 0],
- [0.433, -2.536],
- [1.548, -0.47],
- [1.462, -0.161],
- [0.748, -0.456],
- [0.308, -0.329],
- [0.077, -1.439]
- ],
- v: [
- [25.858, -46.958],
- [16.996, -45.772],
- [11.534, -40.502],
- [9.376, -36.075],
- [8.125, -20.5],
- [10.375, -20.312],
- [10.798, -31.05],
- [13.243, -35.902],
- [19.625, -36.58],
- [23.37, -37.717],
- [25.699, -39.7],
- [26.822, -43.263]
- ],
- c: !0
- }
- ]
- },
- {
- i: { x: 0.667, y: 1 },
- o: { x: 0.333, y: 0 },
- t: 49,
- s: [
- {
- i: [
- [0.648, 0.617],
- [3.423, -2.186],
- [1.457, -2.142],
- [0.427, -1.424],
- [-0.625, -1.25],
- [0, 0],
- [-0.875, 5.125],
- [-1.517, 0.46],
- [-1.179, 0.129],
- [-1.14, 0.694],
- [-0.834, 0.893],
- [-0.089, 1.662]
- ],
- o: [
- [-1.804, -1.718],
- [-2.04, 1.303],
- [-0.828, 1.218],
- [-1.545, 5.154],
- [0.625, 1.25],
- [0, 0],
- [0.433, -2.536],
- [1.548, -0.47],
- [1.462, -0.161],
- [0.748, -0.456],
- [0.308, -0.329],
- [0.077, -1.439]
- ],
- v: [
- [25.858, -46.958],
- [16.996, -45.772],
- [11.534, -40.502],
- [9.376, -36.075],
- [8.125, -20.5],
- [10.375, -20.312],
- [10.798, -31.05],
- [13.243, -35.902],
- [19.625, -36.58],
- [23.37, -37.717],
- [25.699, -39.7],
- [26.822, -43.263]
- ],
- c: !0
- }
- ],
- e: [
- {
- i: [
- [0.552, 0.671],
- [4.593, -0.166],
- [1.963, -1.16],
- [0.527, -1.054],
- [-0.625, -1.25],
- [0, 0],
- [-2.529, 4.951],
- [-1.42, -0.303],
- [-0.948, -0.736],
- [-2.533, 0.099],
- [-0.821, 0.744],
- [0.14, 1.068]
- ],
- o: [
- [-1.533, -1.865],
- [-2.738, 0.099],
- [-1.116, 0.66],
- [-2.408, 4.812],
- [0.625, 1.25],
- [0, 0],
- [0.871, -1.705],
- [1.483, 0.317],
- [1.09, 0.846],
- [1.724, -0.067],
- [0.495, -0.449],
- [-0.137, -1.044]
- ],
- v: [
- [31.735, -32.494],
- [20.905, -35.342],
- [13.505, -33.516],
- [10.977, -30.609],
- [8.253, -20.384],
- [10.887, -20.312],
- [13.101, -29.31],
- [17.12, -31.092],
- [21.753, -27.258],
- [28.068, -25.521],
- [32.332, -27.154],
- [32.815, -29.684]
- ],
- c: !0
- }
- ]
- },
- {
- i: { x: 0.667, y: 1 },
- o: { x: 0.333, y: 0 },
- t: 57,
- s: [
- {
- i: [
- [0.552, 0.671],
- [4.593, -0.166],
- [1.963, -1.16],
- [0.527, -1.054],
- [-0.625, -1.25],
- [0, 0],
- [-2.529, 4.951],
- [-1.42, -0.303],
- [-0.948, -0.736],
- [-2.533, 0.099],
- [-0.821, 0.744],
- [0.14, 1.068]
- ],
- o: [
- [-1.533, -1.865],
- [-2.738, 0.099],
- [-1.116, 0.66],
- [-2.408, 4.812],
- [0.625, 1.25],
- [0, 0],
- [0.871, -1.705],
- [1.483, 0.317],
- [1.09, 0.846],
- [1.724, -0.067],
- [0.495, -0.449],
- [-0.137, -1.044]
- ],
- v: [
- [31.735, -32.494],
- [20.905, -35.342],
- [13.505, -33.516],
- [10.977, -30.609],
- [8.253, -20.384],
- [10.887, -20.312],
- [13.101, -29.31],
- [17.12, -31.092],
- [21.753, -27.258],
- [28.068, -25.521],
- [32.332, -27.154],
- [32.815, -29.684]
- ],
- c: !0
- }
- ],
- e: [
- {
- i: [
- [0.674, 0.548],
- [3.612, -0.078],
- [1.088, -0.742],
- [0.711, -1.233],
- [-0.922, -1.05],
- [0, 0],
- [-3.304, 4.605],
- [-0.795, -2.012],
- [-1.129, -0.407],
- [-1.802, 0.384],
- [-0.624, 0.886],
- [0.17, 1.003]
- ],
- o: [
- [-1.929, -1.568],
- [-2.494, 0.054],
- [-1.205, 1.055],
- [-1.197, 2.076],
- [0.821, 0.935],
- [0, 0],
- [1.18, -1.645],
- [0.899, 2.275],
- [1.594, 0.576],
- [1.183, -0.252],
- [0.932, -1.324],
- [-0.166, -0.981]
- ],
- v: [
- [29.831, -29.177],
- [20.387, -31.48],
- [13.731, -29.374],
- [10.45, -25.672],
- [8.432, -20.256],
- [10.292, -20.376],
- [14.283, -26.543],
- [19.72, -25.617],
- [24.143, -21.524],
- [28.712, -20.919],
- [32.154, -22.464],
- [32.546, -26.14]
- ],
- c: !0
- }
- ]
- },
- {
- i: { x: 0.667, y: 1 },
- o: { x: 0.333, y: 0 },
- t: 72,
- s: [
- {
- i: [
- [0.674, 0.548],
- [3.612, -0.078],
- [1.088, -0.742],
- [0.711, -1.233],
- [-0.922, -1.05],
- [0, 0],
- [-3.304, 4.605],
- [-0.795, -2.012],
- [-1.129, -0.407],
- [-1.802, 0.384],
- [-0.624, 0.886],
- [0.17, 1.003]
- ],
- o: [
- [-1.929, -1.568],
- [-2.494, 0.054],
- [-1.205, 1.055],
- [-1.197, 2.076],
- [0.821, 0.935],
- [0, 0],
- [1.18, -1.645],
- [0.899, 2.275],
- [1.594, 0.576],
- [1.183, -0.252],
- [0.932, -1.324],
- [-0.166, -0.981]
- ],
- v: [
- [29.831, -29.177],
- [20.387, -31.48],
- [13.731, -29.374],
- [10.45, -25.672],
- [8.432, -20.256],
- [10.292, -20.376],
- [14.283, -26.543],
- [19.72, -25.617],
- [24.143, -21.524],
- [28.712, -20.919],
- [32.154, -22.464],
- [32.546, -26.14]
- ],
- c: !0
- }
- ],
- e: [
- {
- i: [
- [0.789, 0.364],
- [3.847, -1.112],
- [1.569, -1.705],
- [0.527, -1.054],
- [-0.589, -1.267],
- [0, 0],
- [-2.888, 4.861],
- [-1.357, -0.517],
- [-1.474, -0.144],
- [-1.91, 0.877],
- [-0.187, 1.607],
- [0.662, 0.764]
- ],
- o: [
- [-2.286, -1.054],
- [-2.293, 0.663],
- [-0.855, 0.929],
- [-2.408, 4.812],
- [0.643, 1.381],
- [0, 0],
- [0.906, -1.525],
- [1.48, 0.563],
- [1.393, 0.136],
- [1.254, -0.576],
- [0.077, -0.664],
- [-0.647, -0.747]
- ],
- v: [
- [30.178, -34.211],
- [19.85, -34.366],
- [13.819, -30.865],
- [11.179, -27.569],
- [8.253, -20.384],
- [10.411, -20.44],
- [13.839, -27.233],
- [19.034, -28.105],
- [25.507, -25.889],
- [31.366, -26.584],
- [33.783, -29.741],
- [33.003, -32.165]
- ],
- c: !0
- }
- ]
- },
- {
- i: { x: 0.667, y: 1 },
- o: { x: 0.333, y: 0 },
- t: 80,
- s: [
- {
- i: [
- [0.789, 0.364],
- [3.847, -1.112],
- [1.569, -1.705],
- [0.527, -1.054],
- [-0.589, -1.267],
- [0, 0],
- [-2.888, 4.861],
- [-1.357, -0.517],
- [-1.474, -0.144],
- [-1.91, 0.877],
- [-0.187, 1.607],
- [0.662, 0.764]
- ],
- o: [
- [-2.286, -1.054],
- [-2.293, 0.663],
- [-0.855, 0.929],
- [-2.408, 4.812],
- [0.643, 1.381],
- [0, 0],
- [0.906, -1.525],
- [1.48, 0.563],
- [1.393, 0.136],
- [1.254, -0.576],
- [0.077, -0.664],
- [-0.647, -0.747]
- ],
- v: [
- [30.178, -34.211],
- [19.85, -34.366],
- [13.819, -30.865],
- [11.179, -27.569],
- [8.253, -20.384],
- [10.411, -20.44],
- [13.839, -27.233],
- [19.034, -28.105],
- [25.507, -25.889],
- [31.366, -26.584],
- [33.783, -29.741],
- [33.003, -32.165]
- ],
- c: !0
- }
- ],
- e: [
- {
- i: [
- [0.648, 0.617],
- [3.423, -2.186],
- [1.457, -2.142],
- [0.427, -1.424],
- [-0.625, -1.25],
- [0, 0],
- [-0.875, 5.125],
- [-1.517, 0.46],
- [-1.179, 0.129],
- [-1.14, 0.694],
- [-0.834, 0.893],
- [-0.089, 1.662]
- ],
- o: [
- [-1.804, -1.718],
- [-2.04, 1.303],
- [-0.828, 1.218],
- [-1.545, 5.154],
- [0.625, 1.25],
- [0, 0],
- [0.433, -2.536],
- [1.548, -0.47],
- [1.462, -0.161],
- [0.748, -0.456],
- [0.308, -0.329],
- [0.077, -1.439]
- ],
- v: [
- [25.858, -46.958],
- [16.996, -45.772],
- [11.534, -40.502],
- [9.376, -36.075],
- [8.125, -20.5],
- [10.375, -20.312],
- [10.798, -31.05],
- [13.243, -35.902],
- [19.625, -36.58],
- [23.37, -37.717],
- [25.699, -39.7],
- [26.822, -43.263]
- ],
- c: !0
- }
- ]
- },
- { t: 98 }
- ],
- ix: 2
- },
- nm: '路径 1',
- mn: 'ADBE Vector Shape - Group',
- hd: !1
- },
- {
- ty: 'fl',
- c: { a: 0, k: [0.447058853449, 0.133333333333, 0.035294117647, 1], ix: 4 },
- o: { a: 0, k: 100, ix: 5 },
- r: 1,
- bm: 0,
- nm: '填充 1',
- mn: 'ADBE Vector Graphic - Fill',
- hd: !1
- },
- {
- ty: 'tr',
- p: { a: 0, k: [-0.472, 0], ix: 2 },
- a: { a: 0, k: [0, 0], ix: 1 },
- s: { a: 0, k: [100, 100], ix: 3 },
- r: { a: 0, k: 0, ix: 6 },
- o: { a: 0, k: 100, ix: 7 },
- sk: { a: 0, k: 0, ix: 4 },
- sa: { a: 0, k: 0, ix: 5 },
- nm: '变换'
- }
- ],
- nm: '形状 1',
- np: 3,
- cix: 2,
- bm: 0,
- ix: 1,
- mn: 'ADBE Vector Group',
- hd: !1
- }
- ],
- ip: 0,
- op: 180,
- st: 0,
- cp: !0,
- bm: 0
- },
- {
- ddd: 0,
- ind: 3,
- ty: 4,
- nm: '形状图层 1',
- parent: 7,
- sr: 1,
- ks: {
- o: { a: 0, k: 100, ix: 11 },
- r: { a: 0, k: 0, ix: 10 },
- p: { a: 0, k: [52.591, 41.239, 0], ix: 2 },
- a: { a: 0, k: [0, 0, 0], ix: 1 },
- s: { a: 0, k: [105.026, 97.953, 100], ix: 6 }
- },
- ao: 0,
- shapes: [
- {
- ty: 'gr',
- it: [
- {
- ind: 0,
- ty: 'sh',
- ix: 1,
- ks: {
- a: 1,
- k: [
- {
- i: { x: 0.667, y: 1 },
- o: { x: 0.333, y: 0 },
- t: 0,
- s: [
- {
- i: [
- [0.648, 0.617],
- [3.423, -2.186],
- [1.457, -2.142],
- [0.427, -1.424],
- [-0.625, -1.25],
- [0, 0],
- [-0.875, 5.125],
- [-1.517, 0.46],
- [-1.179, 0.129],
- [-1.14, 0.694],
- [-0.834, 0.893],
- [-0.089, 1.662]
- ],
- o: [
- [-1.804, -1.718],
- [-2.04, 1.303],
- [-0.828, 1.218],
- [-1.545, 5.154],
- [0.625, 1.25],
- [0, 0],
- [0.433, -2.536],
- [1.548, -0.47],
- [1.462, -0.161],
- [0.748, -0.456],
- [0.308, -0.329],
- [0.077, -1.439]
- ],
- v: [
- [25.858, -46.958],
- [16.996, -45.772],
- [11.534, -40.502],
- [9.376, -36.075],
- [8.125, -20.5],
- [10.375, -20.312],
- [10.798, -31.05],
- [13.243, -35.902],
- [19.625, -36.58],
- [23.37, -37.717],
- [25.699, -39.7],
- [26.822, -43.263]
- ],
- c: !0
- }
- ],
- e: [
- {
- i: [
- [0.552, 0.671],
- [4.593, -0.166],
- [1.963, -1.16],
- [0.527, -1.054],
- [-0.625, -1.25],
- [0, 0],
- [-2.529, 4.951],
- [-1.42, -0.303],
- [-0.948, -0.736],
- [-2.533, 0.099],
- [-0.821, 0.744],
- [0.14, 1.068]
- ],
- o: [
- [-1.533, -1.865],
- [-2.738, 0.099],
- [-1.116, 0.66],
- [-2.408, 4.812],
- [0.625, 1.25],
- [0, 0],
- [0.871, -1.705],
- [1.483, 0.317],
- [1.09, 0.846],
- [1.724, -0.067],
- [0.495, -0.449],
- [-0.137, -1.044]
- ],
- v: [
- [31.735, -32.494],
- [20.905, -35.342],
- [13.505, -33.516],
- [10.977, -30.609],
- [8.253, -20.384],
- [10.887, -20.312],
- [13.101, -29.31],
- [17.12, -31.092],
- [21.753, -27.258],
- [28.068, -25.521],
- [32.332, -27.154],
- [32.815, -29.684]
- ],
- c: !0
- }
- ]
- },
- {
- i: { x: 0.667, y: 1 },
- o: { x: 0.333, y: 0 },
- t: 8,
- s: [
- {
- i: [
- [0.552, 0.671],
- [4.593, -0.166],
- [1.963, -1.16],
- [0.527, -1.054],
- [-0.625, -1.25],
- [0, 0],
- [-2.529, 4.951],
- [-1.42, -0.303],
- [-0.948, -0.736],
- [-2.533, 0.099],
- [-0.821, 0.744],
- [0.14, 1.068]
- ],
- o: [
- [-1.533, -1.865],
- [-2.738, 0.099],
- [-1.116, 0.66],
- [-2.408, 4.812],
- [0.625, 1.25],
- [0, 0],
- [0.871, -1.705],
- [1.483, 0.317],
- [1.09, 0.846],
- [1.724, -0.067],
- [0.495, -0.449],
- [-0.137, -1.044]
- ],
- v: [
- [31.735, -32.494],
- [20.905, -35.342],
- [13.505, -33.516],
- [10.977, -30.609],
- [8.253, -20.384],
- [10.887, -20.312],
- [13.101, -29.31],
- [17.12, -31.092],
- [21.753, -27.258],
- [28.068, -25.521],
- [32.332, -27.154],
- [32.815, -29.684]
- ],
- c: !0
- }
- ],
- e: [
- {
- i: [
- [0.741, 0.453],
- [4.1, -0.475],
- [1.088, -0.742],
- [0.711, -1.233],
- [-0.922, -1.05],
- [0, 0],
- [-3.304, 4.605],
- [-0.795, -2.012],
- [-1.129, -0.407],
- [-1.842, -0.003],
- [-0.624, 0.886],
- [0.51, 1.203]
- ],
- o: [
- [-2.249, -1.375],
- [-2.478, 0.287],
- [-1.205, 1.055],
- [-1.197, 2.076],
- [0.821, 0.935],
- [0, 0],
- [1.18, -1.645],
- [0.899, 2.275],
- [1.594, 0.576],
- [1.428, 0.002],
- [0.932, -1.324],
- [-0.388, -0.916]
- ],
- v: [
- [28.76, -30.58],
- [19.256, -31.863],
- [13.493, -29.374],
- [10.45, -25.672],
- [8.432, -20.256],
- [10.292, -20.376],
- [14.283, -26.543],
- [19.958, -25.744],
- [24.143, -21.524],
- [28.831, -20.791],
- [32.332, -22.209],
- [32.606, -26.651]
- ],
- c: !0
- }
- ]
- },
- {
- i: { x: 0.667, y: 1 },
- o: { x: 0.333, y: 0 },
- t: 23,
- s: [
- {
- i: [
- [0.741, 0.453],
- [4.1, -0.475],
- [1.088, -0.742],
- [0.711, -1.233],
- [-0.922, -1.05],
- [0, 0],
- [-3.304, 4.605],
- [-0.795, -2.012],
- [-1.129, -0.407],
- [-1.842, -0.003],
- [-0.624, 0.886],
- [0.51, 1.203]
- ],
- o: [
- [-2.249, -1.375],
- [-2.478, 0.287],
- [-1.205, 1.055],
- [-1.197, 2.076],
- [0.821, 0.935],
- [0, 0],
- [1.18, -1.645],
- [0.899, 2.275],
- [1.594, 0.576],
- [1.428, 0.002],
- [0.932, -1.324],
- [-0.388, -0.916]
- ],
- v: [
- [28.76, -30.58],
- [19.256, -31.863],
- [13.493, -29.374],
- [10.45, -25.672],
- [8.432, -20.256],
- [10.292, -20.376],
- [14.283, -26.543],
- [19.958, -25.744],
- [24.143, -21.524],
- [28.831, -20.791],
- [32.332, -22.209],
- [32.606, -26.651]
- ],
- c: !0
- }
- ],
- e: [
- {
- i: [
- [0.789, 0.364],
- [3.847, -1.112],
- [1.569, -1.705],
- [0.527, -1.054],
- [-0.589, -1.267],
- [0, 0],
- [-2.888, 4.861],
- [-1.357, -0.517],
- [-1.474, -0.144],
- [-1.91, 0.877],
- [-0.187, 1.607],
- [0.662, 0.764]
- ],
- o: [
- [-2.286, -1.054],
- [-2.293, 0.663],
- [-0.855, 0.929],
- [-2.408, 4.812],
- [0.643, 1.381],
- [0, 0],
- [0.906, -1.525],
- [1.48, 0.563],
- [1.393, 0.136],
- [1.254, -0.576],
- [0.077, -0.664],
- [-0.647, -0.747]
- ],
- v: [
- [30.178, -34.211],
- [19.85, -34.366],
- [13.819, -30.865],
- [11.179, -27.569],
- [8.253, -20.384],
- [10.411, -20.44],
- [13.839, -27.233],
- [19.034, -28.105],
- [25.507, -25.889],
- [31.366, -26.584],
- [33.783, -29.741],
- [33.003, -32.165]
- ],
- c: !0
- }
- ]
- },
- {
- i: { x: 0.667, y: 1 },
- o: { x: 0.333, y: 0 },
- t: 31,
- s: [
- {
- i: [
- [0.789, 0.364],
- [3.847, -1.112],
- [1.569, -1.705],
- [0.527, -1.054],
- [-0.589, -1.267],
- [0, 0],
- [-2.888, 4.861],
- [-1.357, -0.517],
- [-1.474, -0.144],
- [-1.91, 0.877],
- [-0.187, 1.607],
- [0.662, 0.764]
- ],
- o: [
- [-2.286, -1.054],
- [-2.293, 0.663],
- [-0.855, 0.929],
- [-2.408, 4.812],
- [0.643, 1.381],
- [0, 0],
- [0.906, -1.525],
- [1.48, 0.563],
- [1.393, 0.136],
- [1.254, -0.576],
- [0.077, -0.664],
- [-0.647, -0.747]
- ],
- v: [
- [30.178, -34.211],
- [19.85, -34.366],
- [13.819, -30.865],
- [11.179, -27.569],
- [8.253, -20.384],
- [10.411, -20.44],
- [13.839, -27.233],
- [19.034, -28.105],
- [25.507, -25.889],
- [31.366, -26.584],
- [33.783, -29.741],
- [33.003, -32.165]
- ],
- c: !0
- }
- ],
- e: [
- {
- i: [
- [0.648, 0.617],
- [3.423, -2.186],
- [1.457, -2.142],
- [0.427, -1.424],
- [-0.625, -1.25],
- [0, 0],
- [-0.875, 5.125],
- [-1.517, 0.46],
- [-1.179, 0.129],
- [-1.14, 0.694],
- [-0.834, 0.893],
- [-0.089, 1.662]
- ],
- o: [
- [-1.804, -1.718],
- [-2.04, 1.303],
- [-0.828, 1.218],
- [-1.545, 5.154],
- [0.625, 1.25],
- [0, 0],
- [0.433, -2.536],
- [1.548, -0.47],
- [1.462, -0.161],
- [0.748, -0.456],
- [0.308, -0.329],
- [0.077, -1.439]
- ],
- v: [
- [25.858, -46.958],
- [16.996, -45.772],
- [11.534, -40.502],
- [9.376, -36.075],
- [8.125, -20.5],
- [10.375, -20.312],
- [10.798, -31.05],
- [13.243, -35.902],
- [19.625, -36.58],
- [23.37, -37.717],
- [25.699, -39.7],
- [26.822, -43.263]
- ],
- c: !0
- }
- ]
- },
- {
- i: { x: 0.667, y: 1 },
- o: { x: 0.333, y: 0 },
- t: 49,
- s: [
- {
- i: [
- [0.648, 0.617],
- [3.423, -2.186],
- [1.457, -2.142],
- [0.427, -1.424],
- [-0.625, -1.25],
- [0, 0],
- [-0.875, 5.125],
- [-1.517, 0.46],
- [-1.179, 0.129],
- [-1.14, 0.694],
- [-0.834, 0.893],
- [-0.089, 1.662]
- ],
- o: [
- [-1.804, -1.718],
- [-2.04, 1.303],
- [-0.828, 1.218],
- [-1.545, 5.154],
- [0.625, 1.25],
- [0, 0],
- [0.433, -2.536],
- [1.548, -0.47],
- [1.462, -0.161],
- [0.748, -0.456],
- [0.308, -0.329],
- [0.077, -1.439]
- ],
- v: [
- [25.858, -46.958],
- [16.996, -45.772],
- [11.534, -40.502],
- [9.376, -36.075],
- [8.125, -20.5],
- [10.375, -20.312],
- [10.798, -31.05],
- [13.243, -35.902],
- [19.625, -36.58],
- [23.37, -37.717],
- [25.699, -39.7],
- [26.822, -43.263]
- ],
- c: !0
- }
- ],
- e: [
- {
- i: [
- [0.552, 0.671],
- [4.593, -0.166],
- [1.963, -1.16],
- [0.527, -1.054],
- [-0.625, -1.25],
- [0, 0],
- [-2.529, 4.951],
- [-1.42, -0.303],
- [-0.948, -0.736],
- [-2.533, 0.099],
- [-0.821, 0.744],
- [0.14, 1.068]
- ],
- o: [
- [-1.533, -1.865],
- [-2.738, 0.099],
- [-1.116, 0.66],
- [-2.408, 4.812],
- [0.625, 1.25],
- [0, 0],
- [0.871, -1.705],
- [1.483, 0.317],
- [1.09, 0.846],
- [1.724, -0.067],
- [0.495, -0.449],
- [-0.137, -1.044]
- ],
- v: [
- [31.735, -32.494],
- [20.905, -35.342],
- [13.505, -33.516],
- [10.977, -30.609],
- [8.253, -20.384],
- [10.887, -20.312],
- [13.101, -29.31],
- [17.12, -31.092],
- [21.753, -27.258],
- [28.068, -25.521],
- [32.332, -27.154],
- [32.815, -29.684]
- ],
- c: !0
- }
- ]
- },
- {
- i: { x: 0.667, y: 1 },
- o: { x: 0.333, y: 0 },
- t: 57,
- s: [
- {
- i: [
- [0.552, 0.671],
- [4.593, -0.166],
- [1.963, -1.16],
- [0.527, -1.054],
- [-0.625, -1.25],
- [0, 0],
- [-2.529, 4.951],
- [-1.42, -0.303],
- [-0.948, -0.736],
- [-2.533, 0.099],
- [-0.821, 0.744],
- [0.14, 1.068]
- ],
- o: [
- [-1.533, -1.865],
- [-2.738, 0.099],
- [-1.116, 0.66],
- [-2.408, 4.812],
- [0.625, 1.25],
- [0, 0],
- [0.871, -1.705],
- [1.483, 0.317],
- [1.09, 0.846],
- [1.724, -0.067],
- [0.495, -0.449],
- [-0.137, -1.044]
- ],
- v: [
- [31.735, -32.494],
- [20.905, -35.342],
- [13.505, -33.516],
- [10.977, -30.609],
- [8.253, -20.384],
- [10.887, -20.312],
- [13.101, -29.31],
- [17.12, -31.092],
- [21.753, -27.258],
- [28.068, -25.521],
- [32.332, -27.154],
- [32.815, -29.684]
- ],
- c: !0
- }
- ],
- e: [
- {
- i: [
- [0.674, 0.548],
- [3.612, -0.078],
- [1.088, -0.742],
- [0.711, -1.233],
- [-0.922, -1.05],
- [0, 0],
- [-3.304, 4.605],
- [-0.795, -2.012],
- [-1.129, -0.407],
- [-1.802, 0.384],
- [-0.624, 0.886],
- [0.17, 1.003]
- ],
- o: [
- [-1.929, -1.568],
- [-2.494, 0.054],
- [-1.205, 1.055],
- [-1.197, 2.076],
- [0.821, 0.935],
- [0, 0],
- [1.18, -1.645],
- [0.899, 2.275],
- [1.594, 0.576],
- [1.183, -0.252],
- [0.932, -1.324],
- [-0.166, -0.981]
- ],
- v: [
- [29.831, -29.177],
- [20.387, -31.48],
- [13.731, -29.374],
- [10.45, -25.672],
- [8.432, -20.256],
- [10.292, -20.376],
- [14.283, -26.543],
- [19.72, -25.617],
- [24.143, -21.524],
- [28.712, -20.919],
- [32.154, -22.464],
- [32.546, -26.14]
- ],
- c: !0
- }
- ]
- },
- {
- i: { x: 0.667, y: 1 },
- o: { x: 0.333, y: 0 },
- t: 72,
- s: [
- {
- i: [
- [0.674, 0.548],
- [3.612, -0.078],
- [1.088, -0.742],
- [0.711, -1.233],
- [-0.922, -1.05],
- [0, 0],
- [-3.304, 4.605],
- [-0.795, -2.012],
- [-1.129, -0.407],
- [-1.802, 0.384],
- [-0.624, 0.886],
- [0.17, 1.003]
- ],
- o: [
- [-1.929, -1.568],
- [-2.494, 0.054],
- [-1.205, 1.055],
- [-1.197, 2.076],
- [0.821, 0.935],
- [0, 0],
- [1.18, -1.645],
- [0.899, 2.275],
- [1.594, 0.576],
- [1.183, -0.252],
- [0.932, -1.324],
- [-0.166, -0.981]
- ],
- v: [
- [29.831, -29.177],
- [20.387, -31.48],
- [13.731, -29.374],
- [10.45, -25.672],
- [8.432, -20.256],
- [10.292, -20.376],
- [14.283, -26.543],
- [19.72, -25.617],
- [24.143, -21.524],
- [28.712, -20.919],
- [32.154, -22.464],
- [32.546, -26.14]
- ],
- c: !0
- }
- ],
- e: [
- {
- i: [
- [0.789, 0.364],
- [3.847, -1.112],
- [1.569, -1.705],
- [0.527, -1.054],
- [-0.589, -1.267],
- [0, 0],
- [-2.888, 4.861],
- [-1.357, -0.517],
- [-1.474, -0.144],
- [-1.91, 0.877],
- [-0.187, 1.607],
- [0.662, 0.764]
- ],
- o: [
- [-2.286, -1.054],
- [-2.293, 0.663],
- [-0.855, 0.929],
- [-2.408, 4.812],
- [0.643, 1.381],
- [0, 0],
- [0.906, -1.525],
- [1.48, 0.563],
- [1.393, 0.136],
- [1.254, -0.576],
- [0.077, -0.664],
- [-0.647, -0.747]
- ],
- v: [
- [30.178, -34.211],
- [19.85, -34.366],
- [13.819, -30.865],
- [11.179, -27.569],
- [8.253, -20.384],
- [10.411, -20.44],
- [13.839, -27.233],
- [19.034, -28.105],
- [25.507, -25.889],
- [31.366, -26.584],
- [33.783, -29.741],
- [33.003, -32.165]
- ],
- c: !0
- }
- ]
- },
- {
- i: { x: 0.667, y: 1 },
- o: { x: 0.333, y: 0 },
- t: 80,
- s: [
- {
- i: [
- [0.789, 0.364],
- [3.847, -1.112],
- [1.569, -1.705],
- [0.527, -1.054],
- [-0.589, -1.267],
- [0, 0],
- [-2.888, 4.861],
- [-1.357, -0.517],
- [-1.474, -0.144],
- [-1.91, 0.877],
- [-0.187, 1.607],
- [0.662, 0.764]
- ],
- o: [
- [-2.286, -1.054],
- [-2.293, 0.663],
- [-0.855, 0.929],
- [-2.408, 4.812],
- [0.643, 1.381],
- [0, 0],
- [0.906, -1.525],
- [1.48, 0.563],
- [1.393, 0.136],
- [1.254, -0.576],
- [0.077, -0.664],
- [-0.647, -0.747]
- ],
- v: [
- [30.178, -34.211],
- [19.85, -34.366],
- [13.819, -30.865],
- [11.179, -27.569],
- [8.253, -20.384],
- [10.411, -20.44],
- [13.839, -27.233],
- [19.034, -28.105],
- [25.507, -25.889],
- [31.366, -26.584],
- [33.783, -29.741],
- [33.003, -32.165]
- ],
- c: !0
- }
- ],
- e: [
- {
- i: [
- [0.648, 0.617],
- [3.423, -2.186],
- [1.457, -2.142],
- [0.427, -1.424],
- [-0.625, -1.25],
- [0, 0],
- [-0.875, 5.125],
- [-1.517, 0.46],
- [-1.179, 0.129],
- [-1.14, 0.694],
- [-0.834, 0.893],
- [-0.089, 1.662]
- ],
- o: [
- [-1.804, -1.718],
- [-2.04, 1.303],
- [-0.828, 1.218],
- [-1.545, 5.154],
- [0.625, 1.25],
- [0, 0],
- [0.433, -2.536],
- [1.548, -0.47],
- [1.462, -0.161],
- [0.748, -0.456],
- [0.308, -0.329],
- [0.077, -1.439]
- ],
- v: [
- [25.858, -46.958],
- [16.996, -45.772],
- [11.534, -40.502],
- [9.376, -36.075],
- [8.125, -20.5],
- [10.375, -20.312],
- [10.798, -31.05],
- [13.243, -35.902],
- [19.625, -36.58],
- [23.37, -37.717],
- [25.699, -39.7],
- [26.822, -43.263]
- ],
- c: !0
- }
- ]
- },
- { t: 98 }
- ],
- ix: 2
- },
- nm: '路径 1',
- mn: 'ADBE Vector Shape - Group',
- hd: !1
- },
- {
- ty: 'fl',
- c: { a: 0, k: [0.447058853449, 0.133333333333, 0.035294117647, 1], ix: 4 },
- o: { a: 0, k: 100, ix: 5 },
- r: 1,
- bm: 0,
- nm: '填充 1',
- mn: 'ADBE Vector Graphic - Fill',
- hd: !1
- },
- {
- ty: 'tr',
- p: { a: 0, k: [-0.472, 0], ix: 2 },
- a: { a: 0, k: [0, 0], ix: 1 },
- s: { a: 0, k: [100, 100], ix: 3 },
- r: { a: 0, k: 0, ix: 6 },
- o: { a: 0, k: 100, ix: 7 },
- sk: { a: 0, k: 0, ix: 4 },
- sa: { a: 0, k: 0, ix: 5 },
- nm: '变换'
- }
- ],
- nm: '形状 1',
- np: 3,
- cix: 2,
- bm: 0,
- ix: 1,
- mn: 'ADBE Vector Group',
- hd: !1
- }
- ],
- ip: 0,
- op: 180,
- st: 0,
- cp: !0,
- bm: 0
- },
- {
- ddd: 0,
- ind: 4,
- ty: 2,
- nm: '嘴巴2.png',
- cl: 'png',
- parent: 7,
- refId: 'image_0',
- sr: 1,
- ks: {
- o: { a: 0, k: 100, ix: 11 },
- r: { a: 0, k: 0, ix: 10 },
- p: { a: 0, k: [51, 82.5, 0], ix: 2 },
- a: { a: 0, k: [16, 18, 0], ix: 1 },
- s: {
- a: 1,
- k: [
- {
- i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
- o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
- t: 0,
- s: [130, 100, 100],
- e: [100, 70, 100]
- },
- {
- i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
- o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
- t: 23,
- s: [100, 70, 100],
- e: [130, 100, 100]
- },
- {
- i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
- o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
- t: 49,
- s: [130, 100, 100],
- e: [100, 70, 100]
- },
- {
- i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
- o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
- t: 72,
- s: [100, 70, 100],
- e: [130, 100, 100]
- },
- { t: 98 }
- ],
- ix: 6
- }
- },
- ao: 0,
- ip: 0,
- op: 180,
- st: 0,
- cp: !1,
- bm: 0
- },
- {
- ddd: 0,
- ind: 7,
- ty: 2,
- nm: '脸蛋2.png',
- cl: 'png',
- refId: 'image_1',
- sr: 1,
- ks: {
- o: { a: 0, k: 100, ix: 11 },
- r: { a: 0, k: 0, ix: 10 },
- p: {
- a: 1,
- k: [
- {
- i: { x: 0.57, y: 1 },
- o: { x: 0.449, y: 0 },
- t: 0,
- s: [90, 158, 0],
- e: [90, 110, 0],
- to: [0, -8, 0],
- ti: [0, 8.833, 0]
- },
- {
- i: { x: 0.667, y: 1 },
- o: { x: 0.333, y: 0 },
- t: 17,
- s: [90, 110, 0],
- e: [90, 105, 0],
- to: [0, -8.833, 0],
- ti: [0, -8, 0]
- },
- {
- i: { x: 0.597, y: 1 },
- o: { x: 0.432, y: 0 },
- t: 23,
- s: [90, 105, 0],
- e: [90, 158, 0],
- to: [0, 8, 0],
- ti: [0, -8.833, 0]
- },
- {
- i: { x: 0.833, y: 0.833 },
- o: { x: 0.167, y: 0.167 },
- t: 41,
- s: [90, 158, 0],
- e: [90, 158, 0],
- to: [0, 0, 0],
- ti: [0, 0, 0]
- },
- {
- i: { x: 0.571, y: 1 },
- o: { x: 0.449, y: 0 },
- t: 49,
- s: [90, 158, 0],
- e: [90, 110, 0],
- to: [0, -8, 0],
- ti: [0, 8.833, 0]
- },
- {
- i: { x: 0.667, y: 1 },
- o: { x: 0.333, y: 0 },
- t: 66,
- s: [90, 110, 0],
- e: [90, 105, 0],
- to: [0, -8.833, 0],
- ti: [0, -8, 0]
- },
- {
- i: { x: 0.619, y: 1 },
- o: { x: 0.432, y: 0 },
- t: 72,
- s: [90, 105, 0],
- e: [90, 158, 0],
- to: [0, 8, 0],
- ti: [0, -8.833, 0]
- },
- {
- i: { x: 0.833, y: 0.833 },
- o: { x: 0.167, y: 0.167 },
- t: 90,
- s: [90, 158, 0],
- e: [90, 158, 0],
- to: [0, 0, 0],
- ti: [0, 0, 0]
- },
- { t: 98 }
- ],
- ix: 2
- },
- a: { a: 0, k: [52, 100, 0], ix: 1 },
- s: {
- a: 1,
- k: [
- {
- i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
- o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
- t: 0,
- s: [100, 85, 100],
- e: [93, 110, 100]
- },
- {
- i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
- o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
- t: 8,
- s: [93, 110, 100],
- e: [100, 100, 100]
- },
- {
- i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
- o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
- t: 17,
- s: [100, 100, 100],
- e: [100, 100, 100]
- },
- {
- i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
- o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
- t: 23,
- s: [100, 100, 100],
- e: [93, 110, 100]
- },
- {
- i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
- o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
- t: 31,
- s: [93, 110, 100],
- e: [100, 100, 100]
- },
- {
- i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
- o: { x: [0.167, 0.167, 0.167], y: [0, 0, 0] },
- t: 41,
- s: [100, 100, 100],
- e: [100, 85, 100]
- },
- {
- i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
- o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
- t: 49,
- s: [100, 85, 100],
- e: [93, 110, 100]
- },
- {
- i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
- o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
- t: 57,
- s: [93, 110, 100],
- e: [100, 100, 100]
- },
- {
- i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
- o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
- t: 66,
- s: [100, 100, 100],
- e: [100, 100, 100]
- },
- {
- i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
- o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
- t: 72,
- s: [100, 100, 100],
- e: [93, 110, 100]
- },
- {
- i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
- o: { x: [0.333, 0.333, 0.333], y: [0, 0, 0] },
- t: 80,
- s: [93, 110, 100],
- e: [100, 100, 100]
- },
- {
- i: { x: [0.667, 0.667, 0.667], y: [1, 1, 1] },
- o: { x: [0.167, 0.167, 0.167], y: [0, 0, 0] },
- t: 90,
- s: [100, 100, 100],
- e: [100, 85, 100]
- },
- { t: 98 }
- ],
- ix: 6
- }
- },
- ao: 0,
- ip: 0,
- op: 180,
- st: 0,
- cp: !1,
- bm: 0
- },
- {
- ddd: 0,
- ind: 8,
- ty: 4,
- nm: '投影 1',
- sr: 1,
- ks: {
- o: { a: 0, k: 100, ix: 11 },
- r: { a: 0, k: 0, ix: 10 },
- p: { a: 0, k: [90, 160.5, 0], ix: 2 },
- a: { a: 0, k: [0, 0, 0], ix: 1 },
- s: {
- a: 1,
- k: [
- {
- i: { x: [0.833, 0.833, 0.833], y: [0.833, 0.833, 0.833] },
- o: { x: [0.167, 0.167, 0.167], y: [0.167, 0.167, 0.167] },
- t: 0,
- s: [100, 100, 100],
- e: [50, 50, 100]
- },
- {
- i: { x: [0.833, 0.833, 0.833], y: [0.833, 0.833, 0.833] },
- o: { x: [0.167, 0.167, 0.167], y: [0.167, 0.167, 0.167] },
- t: 23,
- s: [50, 50, 100],
- e: [100, 100, 100]
- },
- { t: 49 }
- ],
- ix: 6
- }
- },
- ao: 0,
- shapes: [
- {
- ty: 'gr',
- it: [
- {
- d: 1,
- ty: 'el',
- s: { a: 0, k: [60, 9], ix: 2 },
- p: { a: 0, k: [0, 0], ix: 3 },
- nm: '椭圆路径 1',
- mn: 'ADBE Vector Shape - Ellipse',
- hd: !1
- },
- {
- ty: 'fl',
- c: { a: 0, k: [0.949019610882, 0.839215695858, 0.72549021244, 1], ix: 4 },
- o: { a: 0, k: 100, ix: 5 },
- r: 1,
- bm: 0,
- nm: '填充 1',
- mn: 'ADBE Vector Graphic - Fill',
- hd: !1
- },
- {
- ty: 'tr',
- p: { a: 0, k: [0, 0], ix: 2 },
- a: { a: 0, k: [0, 0], ix: 1 },
- s: { a: 0, k: [100, 100], ix: 3 },
- r: { a: 0, k: 0, ix: 6 },
- o: { a: 0, k: 100, ix: 7 },
- sk: { a: 0, k: 0, ix: 4 },
- sa: { a: 0, k: 0, ix: 5 },
- nm: '变换'
- }
- ],
- nm: '椭圆形',
- np: 2,
- cix: 2,
- bm: 0,
- ix: 1,
- mn: 'ADBE Vector Group',
- hd: !1
- }
- ],
- ip: 0,
- op: 180,
- st: 0,
- cp: !0,
- bm: 0
- }
- ],
- markers = [],
- AstronautJSON = exports('A', {
- v: v,
- fr: fr,
- ip: ip,
- op: op,
- w: w,
- h: h,
- nm: nm,
- ddd: ddd,
- assets: assets,
- layers: layers,
- markers: markers
- }),
- eventemitter3 = { exports: {} }
- !(function (e) {
- var t = Object.prototype.hasOwnProperty,
- n = '~'
- function r() {}
- function a(e, t, n) {
- ;(this.fn = e), (this.context = t), (this.once = n || !1)
- }
- function o(e, t, r, o, i) {
- if ('function' != typeof r) throw new TypeError('The listener must be a function')
- var s = new a(r, o || e, i),
- l = n ? n + t : t
- return (
- e._events[l]
- ? e._events[l].fn
- ? (e._events[l] = [e._events[l], s])
- : e._events[l].push(s)
- : ((e._events[l] = s), e._eventsCount++),
- e
- )
- }
- function i(e, t) {
- 0 == --e._eventsCount ? (e._events = new r()) : delete e._events[t]
- }
- function s() {
- ;(this._events = new r()), (this._eventsCount = 0)
- }
- Object.create && ((r.prototype = Object.create(null)), new r().__proto__ || (n = !1)),
- (s.prototype.eventNames = function () {
- var e,
- r,
- a = []
- if (0 === this._eventsCount) return a
- for (r in (e = this._events)) t.call(e, r) && a.push(n ? r.slice(1) : r)
- return Object.getOwnPropertySymbols ? a.concat(Object.getOwnPropertySymbols(e)) : a
- }),
- (s.prototype.listeners = function (e) {
- var t = n ? n + e : e,
- r = this._events[t]
- if (!r) return []
- if (r.fn) return [r.fn]
- for (var a = 0, o = r.length, i = new Array(o); a < o; a++) i[a] = r[a].fn
- return i
- }),
- (s.prototype.listenerCount = function (e) {
- var t = n ? n + e : e,
- r = this._events[t]
- return r ? (r.fn ? 1 : r.length) : 0
- }),
- (s.prototype.emit = function (e, t, r, a, o, i) {
- var s = n ? n + e : e
- if (!this._events[s]) return !1
- var l,
- c,
- u = this._events[s],
- p = arguments.length
- if (u.fn) {
- switch ((u.once && this.removeListener(e, u.fn, void 0, !0), p)) {
- case 1:
- return u.fn.call(u.context), !0
- case 2:
- return u.fn.call(u.context, t), !0
- case 3:
- return u.fn.call(u.context, t, r), !0
- case 4:
- return u.fn.call(u.context, t, r, a), !0
- case 5:
- return u.fn.call(u.context, t, r, a, o), !0
- case 6:
- return u.fn.call(u.context, t, r, a, o, i), !0
- }
- for (c = 1, l = new Array(p - 1); c < p; c++) l[c - 1] = arguments[c]
- u.fn.apply(u.context, l)
- } else {
- var d,
- f = u.length
- for (c = 0; c < f; c++)
- switch ((u[c].once && this.removeListener(e, u[c].fn, void 0, !0), p)) {
- case 1:
- u[c].fn.call(u[c].context)
- break
- case 2:
- u[c].fn.call(u[c].context, t)
- break
- case 3:
- u[c].fn.call(u[c].context, t, r)
- break
- case 4:
- u[c].fn.call(u[c].context, t, r, a)
- break
- default:
- if (!l)
- for (d = 1, l = new Array(p - 1); d < p; d++) l[d - 1] = arguments[d]
- u[c].fn.apply(u[c].context, l)
- }
- }
- return !0
- }),
- (s.prototype.on = function (e, t, n) {
- return o(this, e, t, n, !1)
- }),
- (s.prototype.once = function (e, t, n) {
- return o(this, e, t, n, !0)
- }),
- (s.prototype.removeListener = function (e, t, r, a) {
- var o = n ? n + e : e
- if (!this._events[o]) return this
- if (!t) return i(this, o), this
- var s = this._events[o]
- if (s.fn) s.fn !== t || (a && !s.once) || (r && s.context !== r) || i(this, o)
- else {
- for (var l = 0, c = [], u = s.length; l < u; l++)
- (s[l].fn !== t || (a && !s[l].once) || (r && s[l].context !== r)) &&
- c.push(s[l])
- c.length ? (this._events[o] = 1 === c.length ? c[0] : c) : i(this, o)
- }
- return this
- }),
- (s.prototype.removeAllListeners = function (e) {
- var t
- return (
- e
- ? ((t = n ? n + e : e), this._events[t] && i(this, t))
- : ((this._events = new r()), (this._eventsCount = 0)),
- this
- )
- }),
- (s.prototype.off = s.prototype.removeListener),
- (s.prototype.addListener = s.prototype.on),
- (s.prefixed = n),
- (s.EventEmitter = s),
- (e.exports = s)
- })(eventemitter3)
- var EventEmitter = exports('dl', eventemitter3.exports),
- baseEvent = exports('b', new EventEmitter()),
- dayjs_min = { exports: {} }
- !(function (e, t) {
- e.exports = (function () {
- var e = 1e3,
- t = 6e4,
- n = 36e5,
- r = 'millisecond',
- a = 'second',
- o = 'minute',
- i = 'hour',
- s = 'day',
- l = 'week',
- c = 'month',
- u = 'quarter',
- p = 'year',
- d = 'date',
- f = 'Invalid Date',
- h =
- /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,
- v =
- /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,
- m = {
- name: 'en',
- weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
- months:
- 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
- '_'
- )
- },
- g = function (e, t, n) {
- var r = String(e)
- return !r || r.length >= t ? e : '' + Array(t + 1 - r.length).join(n) + e
- },
- y = {
- s: g,
- z: function (e) {
- var t = -e.utcOffset(),
- n = Math.abs(t),
- r = Math.floor(n / 60),
- a = n % 60
- return (t <= 0 ? '+' : '-') + g(r, 2, '0') + ':' + g(a, 2, '0')
- },
- m: function e(t, n) {
- if (t.date() < n.date()) return -e(n, t)
- var r = 12 * (n.year() - t.year()) + (n.month() - t.month()),
- a = t.clone().add(r, c),
- o = n - a < 0,
- i = t.clone().add(r + (o ? -1 : 1), c)
- return +(-(r + (n - a) / (o ? a - i : i - a)) || 0)
- },
- a: function (e) {
- return e < 0 ? Math.ceil(e) || 0 : Math.floor(e)
- },
- p: function (e) {
- return (
- { M: c, y: p, w: l, d: s, D: d, h: i, m: o, s: a, ms: r, Q: u }[e] ||
- String(e || '')
- .toLowerCase()
- .replace(/s$/, '')
- )
- },
- u: function (e) {
- return void 0 === e
- }
- },
- b = 'en',
- _ = {}
- _[b] = m
- var A = function (e) {
- return e instanceof S
- },
- x = function e(t, n, r) {
- var a
- if (!t) return b
- if ('string' == typeof t) {
- var o = t.toLowerCase()
- _[o] && (a = o), n && ((_[o] = n), (a = o))
- var i = t.split('-')
- if (!a && i.length > 1) return e(i[0])
- } else {
- var s = t.name
- ;(_[s] = t), (a = s)
- }
- return !r && a && (b = a), a || (!r && b)
- },
- w = function (e, t) {
- if (A(e)) return e.clone()
- var n = 'object' == _typeof2(t) ? t : {}
- return (n.date = e), (n.args = arguments), new S(n)
- },
- k = y
- ;(k.l = x),
- (k.i = A),
- (k.w = function (e, t) {
- return w(e, { locale: t.$L, utc: t.$u, x: t.$x, $offset: t.$offset })
- })
- var S = (function () {
- function m(e) {
- ;(this.$L = x(e.locale, null, !0)), this.parse(e)
- }
- var g = m.prototype
- return (
- (g.parse = function (e) {
- ;(this.$d = (function (e) {
- var t = e.date,
- n = e.utc
- if (null === t) return new Date(NaN)
- if (k.u(t)) return new Date()
- if (t instanceof Date) return new Date(t)
- if ('string' == typeof t && !/Z$/i.test(t)) {
- var r = t.match(h)
- if (r) {
- var a = r[2] - 1 || 0,
- o = (r[7] || '0').substring(0, 3)
- return n
- ? new Date(
- Date.UTC(r[1], a, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, o)
- )
- : new Date(r[1], a, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, o)
- }
- }
- return new Date(t)
- })(e)),
- (this.$x = e.x || {}),
- this.init()
- }),
- (g.init = function () {
- var e = this.$d
- ;(this.$y = e.getFullYear()),
- (this.$M = e.getMonth()),
- (this.$D = e.getDate()),
- (this.$W = e.getDay()),
- (this.$H = e.getHours()),
- (this.$m = e.getMinutes()),
- (this.$s = e.getSeconds()),
- (this.$ms = e.getMilliseconds())
- }),
- (g.$utils = function () {
- return k
- }),
- (g.isValid = function () {
- return !(this.$d.toString() === f)
- }),
- (g.isSame = function (e, t) {
- var n = w(e)
- return this.startOf(t) <= n && n <= this.endOf(t)
- }),
- (g.isAfter = function (e, t) {
- return w(e) < this.startOf(t)
- }),
- (g.isBefore = function (e, t) {
- return this.endOf(t) < w(e)
- }),
- (g.$g = function (e, t, n) {
- return k.u(e) ? this[t] : this.set(n, e)
- }),
- (g.unix = function () {
- return Math.floor(this.valueOf() / 1e3)
- }),
- (g.valueOf = function () {
- return this.$d.getTime()
- }),
- (g.startOf = function (e, t) {
- var n = this,
- r = !!k.u(t) || t,
- u = k.p(e),
- f = function (e, t) {
- var a = k.w(n.$u ? Date.UTC(n.$y, t, e) : new Date(n.$y, t, e), n)
- return r ? a : a.endOf(s)
- },
- h = function (e, t) {
- return k.w(
- n
- .toDate()
- [e].apply(
- n.toDate('s'),
- (r ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(t)
- ),
- n
- )
- },
- v = this.$W,
- m = this.$M,
- g = this.$D,
- y = 'set' + (this.$u ? 'UTC' : '')
- switch (u) {
- case p:
- return r ? f(1, 0) : f(31, 11)
- case c:
- return r ? f(1, m) : f(0, m + 1)
- case l:
- var b = this.$locale().weekStart || 0,
- _ = (v < b ? v + 7 : v) - b
- return f(r ? g - _ : g + (6 - _), m)
- case s:
- case d:
- return h(y + 'Hours', 0)
- case i:
- return h(y + 'Minutes', 1)
- case o:
- return h(y + 'Seconds', 2)
- case a:
- return h(y + 'Milliseconds', 3)
- default:
- return this.clone()
- }
- }),
- (g.endOf = function (e) {
- return this.startOf(e, !1)
- }),
- (g.$set = function (e, t) {
- var n,
- l = k.p(e),
- u = 'set' + (this.$u ? 'UTC' : ''),
- f = ((n = {}),
- (n[s] = u + 'Date'),
- (n[d] = u + 'Date'),
- (n[c] = u + 'Month'),
- (n[p] = u + 'FullYear'),
- (n[i] = u + 'Hours'),
- (n[o] = u + 'Minutes'),
- (n[a] = u + 'Seconds'),
- (n[r] = u + 'Milliseconds'),
- n)[l],
- h = l === s ? this.$D + (t - this.$W) : t
- if (l === c || l === p) {
- var v = this.clone().set(d, 1)
- v.$d[f](h),
- v.init(),
- (this.$d = v.set(d, Math.min(this.$D, v.daysInMonth())).$d)
- } else f && this.$d[f](h)
- return this.init(), this
- }),
- (g.set = function (e, t) {
- return this.clone().$set(e, t)
- }),
- (g.get = function (e) {
- return this[k.p(e)]()
- }),
- (g.add = function (r, u) {
- var d,
- f = this
- r = Number(r)
- var h = k.p(u),
- v = function (e) {
- var t = w(f)
- return k.w(t.date(t.date() + Math.round(e * r)), f)
- }
- if (h === c) return this.set(c, this.$M + r)
- if (h === p) return this.set(p, this.$y + r)
- if (h === s) return v(1)
- if (h === l) return v(7)
- var m = ((d = {}), (d[o] = t), (d[i] = n), (d[a] = e), d)[h] || 1,
- g = this.$d.getTime() + r * m
- return k.w(g, this)
- }),
- (g.subtract = function (e, t) {
- return this.add(-1 * e, t)
- }),
- (g.format = function (e) {
- var t = this,
- n = this.$locale()
- if (!this.isValid()) return n.invalidDate || f
- var r = e || 'YYYY-MM-DDTHH:mm:ssZ',
- a = k.z(this),
- o = this.$H,
- i = this.$m,
- s = this.$M,
- l = n.weekdays,
- c = n.months,
- u = function (e, n, a, o) {
- return (e && (e[n] || e(t, r))) || a[n].slice(0, o)
- },
- p = function (e) {
- return k.s(o % 12 || 12, e, '0')
- },
- d =
- n.meridiem ||
- function (e, t, n) {
- var r = e < 12 ? 'AM' : 'PM'
- return n ? r.toLowerCase() : r
- },
- h = {
- YY: String(this.$y).slice(-2),
- YYYY: this.$y,
- M: s + 1,
- MM: k.s(s + 1, 2, '0'),
- MMM: u(n.monthsShort, s, c, 3),
- MMMM: u(c, s),
- D: this.$D,
- DD: k.s(this.$D, 2, '0'),
- d: String(this.$W),
- dd: u(n.weekdaysMin, this.$W, l, 2),
- ddd: u(n.weekdaysShort, this.$W, l, 3),
- dddd: l[this.$W],
- H: String(o),
- HH: k.s(o, 2, '0'),
- h: p(1),
- hh: p(2),
- a: d(o, i, !0),
- A: d(o, i, !1),
- m: String(i),
- mm: k.s(i, 2, '0'),
- s: String(this.$s),
- ss: k.s(this.$s, 2, '0'),
- SSS: k.s(this.$ms, 3, '0'),
- Z: a
- }
- return r.replace(v, function (e, t) {
- return t || h[e] || a.replace(':', '')
- })
- }),
- (g.utcOffset = function () {
- return 15 * -Math.round(this.$d.getTimezoneOffset() / 15)
- }),
- (g.diff = function (r, d, f) {
- var h,
- v = k.p(d),
- m = w(r),
- g = (m.utcOffset() - this.utcOffset()) * t,
- y = this - m,
- b = k.m(this, m)
- return (
- (b =
- ((h = {}),
- (h[p] = b / 12),
- (h[c] = b),
- (h[u] = b / 3),
- (h[l] = (y - g) / 6048e5),
- (h[s] = (y - g) / 864e5),
- (h[i] = y / n),
- (h[o] = y / t),
- (h[a] = y / e),
- h)[v] || y),
- f ? b : k.a(b)
- )
- }),
- (g.daysInMonth = function () {
- return this.endOf(c).$D
- }),
- (g.$locale = function () {
- return _[this.$L]
- }),
- (g.locale = function (e, t) {
- if (!e) return this.$L
- var n = this.clone(),
- r = x(e, t, !0)
- return r && (n.$L = r), n
- }),
- (g.clone = function () {
- return k.w(this.$d, this)
- }),
- (g.toDate = function () {
- return new Date(this.valueOf())
- }),
- (g.toJSON = function () {
- return this.isValid() ? this.toISOString() : null
- }),
- (g.toISOString = function () {
- return this.$d.toISOString()
- }),
- (g.toString = function () {
- return this.$d.toUTCString()
- }),
- m
- )
- })(),
- E = S.prototype
- return (
- (w.prototype = E),
- [
- ['$ms', r],
- ['$s', a],
- ['$m', o],
- ['$H', i],
- ['$W', s],
- ['$M', c],
- ['$y', p],
- ['$D', d]
- ].forEach(function (e) {
- E[e[1]] = function (t) {
- return this.$g(t, e[0], e[1])
- }
- }),
- (w.extend = function (e, t) {
- return e.$i || (e(t, S, w), (e.$i = !0)), w
- }),
- (w.locale = x),
- (w.isDayjs = A),
- (w.unix = function (e) {
- return w(1e3 * e)
- }),
- (w.en = _[b]),
- (w.Ls = _),
- (w.p = {}),
- w
- )
- })()
- })(dayjs_min)
- var dayjs = exports('ai', dayjs_min.exports),
- numeral$1 = { exports: {} }
- /*! @preserve
- * numeral.js
- * version : 2.0.6
- * author : Adam Draper
- * license : MIT
- * http://adamwdraper.github.com/Numeral-js/
- */
- !(function (e) {
- !(function (t, n) {
- e.exports ? (e.exports = n()) : (t.numeral = n())
- })(commonjsGlobal$1, function () {
- var e,
- t,
- n,
- r,
- a,
- o = {},
- i = {},
- s = {
- currentLocale: 'en',
- zeroFormat: null,
- nullFormat: null,
- defaultFormat: '0,0',
- scalePercentBy100: !0
- },
- l = {
- currentLocale: s.currentLocale,
- zeroFormat: s.zeroFormat,
- nullFormat: s.nullFormat,
- defaultFormat: s.defaultFormat,
- scalePercentBy100: s.scalePercentBy100
- }
- function c(e, t) {
- ;(this._input = e), (this._value = t)
- }
- return (
- ((e = function (n) {
- var r, a, i, s
- if (e.isNumeral(n)) r = n.value()
- else if (0 === n || void 0 === n) r = 0
- else if (null === n || t.isNaN(n)) r = null
- else if ('string' == typeof n)
- if (l.zeroFormat && n === l.zeroFormat) r = 0
- else if (
- (l.nullFormat && n === l.nullFormat) ||
- !n.replace(/[^0-9]+/g, '').length
- )
- r = null
- else {
- for (a in o)
- if (
- (s =
- 'function' == typeof o[a].regexps.unformat
- ? o[a].regexps.unformat()
- : o[a].regexps.unformat) &&
- n.match(s)
- ) {
- i = o[a].unformat
- break
- }
- r = (i = i || e._.stringToNumber)(n)
- }
- else r = Number(n) || null
- return new c(n, r)
- }).version = '2.0.6'),
- (e.isNumeral = function (e) {
- return e instanceof c
- }),
- (e._ = t =
- {
- numberToFormat: function (t, n, r) {
- var a,
- o,
- s,
- l,
- c,
- u,
- p,
- d,
- f = i[e.options.currentLocale],
- h = !1,
- v = !1,
- m = '',
- g = 1e12,
- y = 1e9,
- b = 1e6,
- _ = '',
- A = !1
- if (
- ((t = t || 0),
- (s = Math.abs(t)),
- e._.includes(n, '(')
- ? ((h = !0), (n = n.replace(/[\(|\)]/g, '')))
- : (e._.includes(n, '+') || e._.includes(n, '-')) &&
- ((u = e._.includes(n, '+')
- ? n.indexOf('+')
- : t < 0
- ? n.indexOf('-')
- : -1),
- (n = n.replace(/[\+|\-]/g, ''))),
- e._.includes(n, 'a') &&
- ((o = !!(o = n.match(/a(k|m|b|t)?/)) && o[1]),
- e._.includes(n, ' a') && (m = ' '),
- (n = n.replace(new RegExp(m + 'a[kmbt]?'), '')),
- (s >= g && !o) || 't' === o
- ? ((m += f.abbreviations.trillion), (t /= g))
- : (s < g && s >= y && !o) || 'b' === o
- ? ((m += f.abbreviations.billion), (t /= y))
- : (s < y && s >= b && !o) || 'm' === o
- ? ((m += f.abbreviations.million), (t /= b))
- : ((s < b && s >= 1e3 && !o) || 'k' === o) &&
- ((m += f.abbreviations.thousand), (t /= 1e3))),
- e._.includes(n, '[.]') && ((v = !0), (n = n.replace('[.]', '.'))),
- (l = t.toString().split('.')[0]),
- (c = n.split('.')[1]),
- (p = n.indexOf(',')),
- (a = (n.split('.')[0].split(',')[0].match(/0/g) || []).length),
- c
- ? (e._.includes(c, '[')
- ? ((c = (c = c.replace(']', '')).split('[')),
- (_ = e._.toFixed(t, c[0].length + c[1].length, r, c[1].length)))
- : (_ = e._.toFixed(t, c.length, r)),
- (l = _.split('.')[0]),
- (_ = e._.includes(_, '.')
- ? f.delimiters.decimal + _.split('.')[1]
- : ''),
- v && 0 === Number(_.slice(1)) && (_ = ''))
- : (l = e._.toFixed(t, 0, r)),
- m && !o && Number(l) >= 1e3 && m !== f.abbreviations.trillion)
- )
- switch (((l = String(Number(l) / 1e3)), m)) {
- case f.abbreviations.thousand:
- m = f.abbreviations.million
- break
- case f.abbreviations.million:
- m = f.abbreviations.billion
- break
- case f.abbreviations.billion:
- m = f.abbreviations.trillion
- }
- if ((e._.includes(l, '-') && ((l = l.slice(1)), (A = !0)), l.length < a))
- for (var x = a - l.length; x > 0; x--) l = '0' + l
- return (
- p > -1 &&
- (l = l
- .toString()
- .replace(/(\d)(?=(\d{3})+(?!\d))/g, '$1' + f.delimiters.thousands)),
- 0 === n.indexOf('.') && (l = ''),
- (d = l + _ + (m || '')),
- h
- ? (d = (h && A ? '(' : '') + d + (h && A ? ')' : ''))
- : u >= 0
- ? (d = 0 === u ? (A ? '-' : '+') + d : d + (A ? '-' : '+'))
- : A && (d = '-' + d),
- d
- )
- },
- stringToNumber: function (e) {
- var t,
- n,
- r,
- a = i[l.currentLocale],
- o = e,
- s = { thousand: 3, million: 6, billion: 9, trillion: 12 }
- if (l.zeroFormat && e === l.zeroFormat) n = 0
- else if (
- (l.nullFormat && e === l.nullFormat) ||
- !e.replace(/[^0-9]+/g, '').length
- )
- n = null
- else {
- for (t in ((n = 1),
- '.' !== a.delimiters.decimal &&
- (e = e.replace(/\./g, '').replace(a.delimiters.decimal, '.')),
- s))
- if (
- ((r = new RegExp(
- '[^a-zA-Z]' +
- a.abbreviations[t] +
- '(?:\\)|(\\' +
- a.currency.symbol +
- ')?(?:\\))?)?$'
- )),
- o.match(r))
- ) {
- n *= Math.pow(10, s[t])
- break
- }
- ;(n *=
- (e.split('-').length +
- Math.min(e.split('(').length - 1, e.split(')').length - 1)) %
- 2
- ? 1
- : -1),
- (e = e.replace(/[^0-9\.]+/g, '')),
- (n *= Number(e))
- }
- return n
- },
- isNaN: (function (e) {
- function t(t) {
- return e.apply(this, arguments)
- }
- return (
- (t.toString = function () {
- return e.toString()
- }),
- t
- )
- })(function (e) {
- return 'number' == typeof e && isNaN(e)
- }),
- includes: function (e, t) {
- return -1 !== e.indexOf(t)
- },
- insert: function (e, t, n) {
- return e.slice(0, n) + t + e.slice(n)
- },
- reduce: function (e, t) {
- if (null === this)
- throw new TypeError('Array.prototype.reduce called on null or undefined')
- if ('function' != typeof t) throw new TypeError(t + ' is not a function')
- var n,
- r = Object(e),
- a = r.length >>> 0,
- o = 0
- if (3 === arguments.length) n = arguments[2]
- else {
- for (; o < a && !(o in r); ) o++
- if (o >= a)
- throw new TypeError('Reduce of empty array with no initial value')
- n = r[o++]
- }
- for (; o < a; o++) o in r && (n = t(n, r[o], o, r))
- return n
- },
- multiplier: function (e) {
- var t = e.toString().split('.')
- return t.length < 2 ? 1 : Math.pow(10, t[1].length)
- },
- correctionFactor: function () {
- var e = Array.prototype.slice.call(arguments)
- return e.reduce(function (e, n) {
- var r = t.multiplier(n)
- return e > r ? e : r
- }, 1)
- },
- toFixed: function (e, t, n, r) {
- var a,
- o,
- i,
- s,
- l = e.toString().split('.'),
- c = t - (r || 0)
- return (
- (a = 2 === l.length ? Math.min(Math.max(l[1].length, c), t) : c),
- (i = Math.pow(10, a)),
- (s = (n(e + 'e+' + a) / i).toFixed(a)),
- r > t - a &&
- ((o = new RegExp('\\.?0{1,' + (r - (t - a)) + '}$')),
- (s = s.replace(o, ''))),
- s
- )
- }
- }),
- (e.options = l),
- (e.formats = o),
- (e.locales = i),
- (e.locale = function (e) {
- return e && (l.currentLocale = e.toLowerCase()), l.currentLocale
- }),
- (e.localeData = function (e) {
- if (!e) return i[l.currentLocale]
- if (((e = e.toLowerCase()), !i[e])) throw new Error('Unknown locale : ' + e)
- return i[e]
- }),
- (e.reset = function () {
- for (var e in s) l[e] = s[e]
- }),
- (e.zeroFormat = function (e) {
- l.zeroFormat = 'string' == typeof e ? e : null
- }),
- (e.nullFormat = function (e) {
- l.nullFormat = 'string' == typeof e ? e : null
- }),
- (e.defaultFormat = function (e) {
- l.defaultFormat = 'string' == typeof e ? e : '0.0'
- }),
- (e.register = function (e, t, n) {
- if (((t = t.toLowerCase()), this[e + 's'][t]))
- throw new TypeError(t + ' ' + e + ' already registered.')
- return (this[e + 's'][t] = n), n
- }),
- (e.validate = function (t, n) {
- var r, a, o, i, s, l, c, u
- if (
- ('string' != typeof t &&
- ((t += ''),
- console.warn &&
- console.warn(
- 'Numeral.js: Value is not string. It has been co-erced to: ',
- t
- )),
- (t = t.trim()).match(/^\d+$/))
- )
- return !0
- if ('' === t) return !1
- try {
- c = e.localeData(n)
- } catch (p) {
- c = e.localeData(e.locale())
- }
- return (
- (o = c.currency.symbol),
- (s = c.abbreviations),
- (r = c.delimiters.decimal),
- (a = '.' === c.delimiters.thousands ? '\\.' : c.delimiters.thousands),
- (null === (u = t.match(/^[^\d]+/)) || ((t = t.substr(1)), u[0] === o)) &&
- (null === (u = t.match(/[^\d]+$/)) ||
- ((t = t.slice(0, -1)),
- u[0] === s.thousand ||
- u[0] === s.million ||
- u[0] === s.billion ||
- u[0] === s.trillion)) &&
- ((l = new RegExp(a + '{2}')),
- !t.match(/[^\d.,]/g) &&
- !((i = t.split(r)).length > 2) &&
- (i.length < 2
- ? !!i[0].match(/^\d+.*\d$/) && !i[0].match(l)
- : 1 === i[0].length
- ? !!i[0].match(/^\d+$/) && !i[0].match(l) && !!i[1].match(/^\d+$/)
- : !!i[0].match(/^\d+.*\d$/) && !i[0].match(l) && !!i[1].match(/^\d+$/)))
- )
- }),
- (e.fn = c.prototype =
- {
- clone: function () {
- return e(this)
- },
- format: function (t, n) {
- var r,
- a,
- i,
- s = this._value,
- c = t || l.defaultFormat
- if (((n = n || Math.round), 0 === s && null !== l.zeroFormat))
- a = l.zeroFormat
- else if (null === s && null !== l.nullFormat) a = l.nullFormat
- else {
- for (r in o)
- if (c.match(o[r].regexps.format)) {
- i = o[r].format
- break
- }
- a = (i = i || e._.numberToFormat)(s, c, n)
- }
- return a
- },
- value: function () {
- return this._value
- },
- input: function () {
- return this._input
- },
- set: function (e) {
- return (this._value = Number(e)), this
- },
- add: function (e) {
- var n = t.correctionFactor.call(null, this._value, e)
- return (
- (this._value =
- t.reduce(
- [this._value, e],
- function (e, t, r, a) {
- return e + Math.round(n * t)
- },
- 0
- ) / n),
- this
- )
- },
- subtract: function (e) {
- var n = t.correctionFactor.call(null, this._value, e)
- return (
- (this._value =
- t.reduce(
- [e],
- function (e, t, r, a) {
- return e - Math.round(n * t)
- },
- Math.round(this._value * n)
- ) / n),
- this
- )
- },
- multiply: function (e) {
- return (
- (this._value = t.reduce(
- [this._value, e],
- function (e, n, r, a) {
- var o = t.correctionFactor(e, n)
- return (Math.round(e * o) * Math.round(n * o)) / Math.round(o * o)
- },
- 1
- )),
- this
- )
- },
- divide: function (e) {
- return (
- (this._value = t.reduce([this._value, e], function (e, n, r, a) {
- var o = t.correctionFactor(e, n)
- return Math.round(e * o) / Math.round(n * o)
- })),
- this
- )
- },
- difference: function (t) {
- return Math.abs(e(this._value).subtract(t).value())
- }
- }),
- e.register('locale', 'en', {
- delimiters: { thousands: ',', decimal: '.' },
- abbreviations: { thousand: 'k', million: 'm', billion: 'b', trillion: 't' },
- ordinal: function (e) {
- var t = e % 10
- return 1 == ~~((e % 100) / 10)
- ? 'th'
- : 1 === t
- ? 'st'
- : 2 === t
- ? 'nd'
- : 3 === t
- ? 'rd'
- : 'th'
- },
- currency: { symbol: '$' }
- }),
- e.register('format', 'bps', {
- regexps: { format: /(BPS)/, unformat: /(BPS)/ },
- format: function (t, n, r) {
- var a,
- o = e._.includes(n, ' BPS') ? ' ' : ''
- return (
- (t *= 1e4),
- (n = n.replace(/\s?BPS/, '')),
- (a = e._.numberToFormat(t, n, r)),
- e._.includes(a, ')')
- ? ((a = a.split('')).splice(-1, 0, o + 'BPS'), (a = a.join('')))
- : (a = a + o + 'BPS'),
- a
- )
- },
- unformat: function (t) {
- return +(1e-4 * e._.stringToNumber(t)).toFixed(15)
- }
- }),
- (r = {
- base: 1024,
- suffixes: ['B', 'KiB', 'MiB', 'GiB', 'TiB', 'PiB', 'EiB', 'ZiB', 'YiB']
- }),
- (a =
- '(' +
- (a = (n = {
- base: 1e3,
- suffixes: ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB']
- }).suffixes
- .concat(
- r.suffixes.filter(function (e) {
- return n.suffixes.indexOf(e) < 0
- })
- )
- .join('|')).replace('B', 'B(?!PS)') +
- ')'),
- e.register('format', 'bytes', {
- regexps: { format: /([0\s]i?b)/, unformat: new RegExp(a) },
- format: function (t, a, o) {
- var i,
- s,
- l,
- c = e._.includes(a, 'ib') ? r : n,
- u = e._.includes(a, ' b') || e._.includes(a, ' ib') ? ' ' : ''
- for (a = a.replace(/\s?i?b/, ''), i = 0; i <= c.suffixes.length; i++)
- if (
- ((s = Math.pow(c.base, i)),
- (l = Math.pow(c.base, i + 1)),
- null === t || 0 === t || (t >= s && t < l))
- ) {
- ;(u += c.suffixes[i]), s > 0 && (t /= s)
- break
- }
- return e._.numberToFormat(t, a, o) + u
- },
- unformat: function (t) {
- var a,
- o,
- i = e._.stringToNumber(t)
- if (i) {
- for (a = n.suffixes.length - 1; a >= 0; a--) {
- if (e._.includes(t, n.suffixes[a])) {
- o = Math.pow(n.base, a)
- break
- }
- if (e._.includes(t, r.suffixes[a])) {
- o = Math.pow(r.base, a)
- break
- }
- }
- i *= o || 1
- }
- return i
- }
- }),
- e.register('format', 'currency', {
- regexps: { format: /(\$)/ },
- format: function (t, n, r) {
- var a,
- o,
- i = e.locales[e.options.currentLocale],
- s = {
- before: n.match(/^([\+|\-|\(|\s|\$]*)/)[0],
- after: n.match(/([\+|\-|\)|\s|\$]*)$/)[0]
- }
- for (
- n = n.replace(/\s?\$\s?/, ''),
- a = e._.numberToFormat(t, n, r),
- t >= 0
- ? ((s.before = s.before.replace(/[\-\(]/, '')),
- (s.after = s.after.replace(/[\-\)]/, '')))
- : t < 0 &&
- !e._.includes(s.before, '-') &&
- !e._.includes(s.before, '(') &&
- (s.before = '-' + s.before),
- o = 0;
- o < s.before.length;
- o++
- )
- switch (s.before[o]) {
- case '$':
- a = e._.insert(a, i.currency.symbol, o)
- break
- case ' ':
- a = e._.insert(a, ' ', o + i.currency.symbol.length - 1)
- }
- for (o = s.after.length - 1; o >= 0; o--)
- switch (s.after[o]) {
- case '$':
- a =
- o === s.after.length - 1
- ? a + i.currency.symbol
- : e._.insert(a, i.currency.symbol, -(s.after.length - (1 + o)))
- break
- case ' ':
- a =
- o === s.after.length - 1
- ? a + ' '
- : e._.insert(
- a,
- ' ',
- -(s.after.length - (1 + o) + i.currency.symbol.length - 1)
- )
- }
- return a
- }
- }),
- e.register('format', 'exponential', {
- regexps: { format: /(e\+|e-)/, unformat: /(e\+|e-)/ },
- format: function (t, n, r) {
- var a = (
- 'number' != typeof t || e._.isNaN(t) ? '0e+0' : t.toExponential()
- ).split('e')
- return (
- (n = n.replace(/e[\+|\-]{1}0/, '')),
- e._.numberToFormat(Number(a[0]), n, r) + 'e' + a[1]
- )
- },
- unformat: function (t) {
- var n = e._.includes(t, 'e+') ? t.split('e+') : t.split('e-'),
- r = Number(n[0]),
- a = Number(n[1])
- return (
- (a = e._.includes(t, 'e-') ? (a *= -1) : a),
- e._.reduce(
- [r, Math.pow(10, a)],
- function (t, n, r, a) {
- var o = e._.correctionFactor(t, n)
- return (t * o * (n * o)) / (o * o)
- },
- 1
- )
- )
- }
- }),
- e.register('format', 'ordinal', {
- regexps: { format: /(o)/ },
- format: function (t, n, r) {
- var a = e.locales[e.options.currentLocale],
- o = e._.includes(n, ' o') ? ' ' : ''
- return (
- (n = n.replace(/\s?o/, '')),
- (o += a.ordinal(t)),
- e._.numberToFormat(t, n, r) + o
- )
- }
- }),
- e.register('format', 'percentage', {
- regexps: { format: /(%)/, unformat: /(%)/ },
- format: function (t, n, r) {
- var a,
- o = e._.includes(n, ' %') ? ' ' : ''
- return (
- e.options.scalePercentBy100 && (t *= 100),
- (n = n.replace(/\s?\%/, '')),
- (a = e._.numberToFormat(t, n, r)),
- e._.includes(a, ')')
- ? ((a = a.split('')).splice(-1, 0, o + '%'), (a = a.join('')))
- : (a = a + o + '%'),
- a
- )
- },
- unformat: function (t) {
- var n = e._.stringToNumber(t)
- return e.options.scalePercentBy100 ? 0.01 * n : n
- }
- }),
- e.register('format', 'time', {
- regexps: { format: /(:)/, unformat: /(:)/ },
- format: function (e, t, n) {
- var r = Math.floor(e / 60 / 60),
- a = Math.floor((e - 60 * r * 60) / 60),
- o = Math.round(e - 60 * r * 60 - 60 * a)
- return r + ':' + (a < 10 ? '0' + a : a) + ':' + (o < 10 ? '0' + o : o)
- },
- unformat: function (e) {
- var t = e.split(':'),
- n = 0
- return (
- 3 === t.length
- ? ((n += 60 * Number(t[0]) * 60),
- (n += 60 * Number(t[1])),
- (n += Number(t[2])))
- : 2 === t.length && ((n += 60 * Number(t[0])), (n += Number(t[1]))),
- Number(n)
- )
- }
- }),
- e
- )
- })
- })(numeral$1)
- var numeral = numeral$1.exports
- reactive({ loadingCount: 0 })
- var browser = exports('f', function () {
- var e = navigator.userAgent
- return {
- trident: e.indexOf('Trident') > -1,
- presto: e.indexOf('Presto') > -1,
- webKit: e.indexOf('AppleWebKit') > -1,
- gecko: e.indexOf('Gecko') > -1 && -1 == e.indexOf('KHTML'),
- mobile: !!e.match(/AppleWebKit.*Mobile.*/),
- ios: !!e.match(/Mac OS X/),
- android: e.indexOf('ORCHESTRAAPPA') > -1 || e.indexOf('Adr') > -1,
- iPhone: e.indexOf('ORCHESTRAAPPI') > -1,
- isApp: e.indexOf('ORCHESTRAAPPI') > -1 || e.indexOf('ORCHESTRAAPPA') > -1,
- isTeacher: e.indexOf('ORCHESTRATEACHER') > -1,
- isStudent: e.indexOf('ORCHESTRASTUDENT') > -1,
- isSchool: e.indexOf('ORCHESTRASCHOOL') > -1,
- iPad: e.indexOf('iPad') > -1,
- webApp: -1 == e.indexOf('Safari'),
- weixin: e.indexOf('MicroMessenger') > -1,
- alipay: e.indexOf('AlipayClient') > -1,
- huawei: !!e.match(/huawei/i) || !!e.match(/honor/i),
- xiaomi: !!e.match(/mi\s/i) || !!e.match(/redmi/i) || !!e.match(/mix/i)
- }
- }),
- getUrlCode = exports('bd', function () {
- var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 'code',
- t = location.search,
- n = new Object()
- if (-1 != t.indexOf('?'))
- for (var r = t.substr(1), a = r.split('&'), o = 0; o < a.length; o++)
- n[a[o].split('=')[0]] = a[o].split('=')[1]
- return console.log(n, 'theRequest'), n[e]
- }),
- getRandomKey = function () {
- return '' + new Date().getTime() + Math.floor(1e6 * Math.random())
- },
- removeAuth$1 = exports('l', function () {
- sessionStorage.removeItem('Authorization')
- }),
- setAuth$1 = exports('k', function (e) {
- sessionStorage.setItem('Authorization', e)
- }),
- moneyFormat = exports('b6', function (e) {
- var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : '0,0.00'
- return numeral(e).format(t)
- }),
- getSecondRPM = exports('b7', function (e, t) {
- if (isNaN(e)) return '00:00'
- var n = Math.floor(e / 60)
- .toString()
- .padStart(2, '0'),
- r = Math.floor(e % 60)
- .toString()
- .padStart(2, '0')
- return 'cn' === t ? n + '分' + r + '秒' : n + ':' + r
- }),
- formatterDatePicker = exports('a_', function (e, t) {
- return (
- 'year' === e && (t.text += '年'),
- 'month' === e && (t.text += '月'),
- 'day' === e && (t.text += '日'),
- t
- )
- }),
- hasSymbol = 'function' == typeof Symbol && 'symbol' === _typeof2(Symbol.toStringTag),
- PolySymbol = function (e) {
- return hasSymbol ? Symbol(e) : '_vr_' + e
- },
- matchedRouteKey = PolySymbol('rvlm'),
- viewDepthKey = PolySymbol('rvd'),
- routerKey = PolySymbol('r'),
- routeLocationKey = PolySymbol('rl'),
- routerViewLocationKey = PolySymbol('rvl'),
- isBrowser = 'undefined' != typeof window
- function isESModule(e) {
- return e.__esModule || (hasSymbol && 'Module' === e[Symbol.toStringTag])
- }
- var assign$1 = Object.assign
- function applyToParams(e, t) {
- var n = {}
- for (var r in t) {
- var a = t[r]
- n[r] = Array.isArray(a) ? a.map(e) : e(a)
- }
- return n
- }
- var noop = function () {},
- TRAILING_SLASH_RE = /\/$/,
- removeTrailingSlash = function (e) {
- return e.replace(TRAILING_SLASH_RE, '')
- },
- NavigationType,
- NavigationDirection
- function parseURL(e, t) {
- var n,
- r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : '/',
- a = {},
- o = '',
- i = '',
- s = t.indexOf('?'),
- l = t.indexOf('#', s > -1 ? s : 0)
- return (
- s > -1 && ((n = t.slice(0, s)), (a = e((o = t.slice(s + 1, l > -1 ? l : t.length))))),
- l > -1 && ((n = n || t.slice(0, l)), (i = t.slice(l, t.length))),
- {
- fullPath: (n = resolveRelativePath(null != n ? n : t, r)) + (o && '?') + o + i,
- path: n,
- query: a,
- hash: i
- }
- )
- }
- function stringifyURL(e, t) {
- var n = t.query ? e(t.query) : ''
- return t.path + (n && '?') + n + (t.hash || '')
- }
- function stripBase(e, t) {
- return t && e.toLowerCase().startsWith(t.toLowerCase()) ? e.slice(t.length) || '/' : e
- }
- function isSameRouteLocation(e, t, n) {
- var r = t.matched.length - 1,
- a = n.matched.length - 1
- return (
- r > -1 &&
- r === a &&
- isSameRouteRecord(t.matched[r], n.matched[a]) &&
- isSameRouteLocationParams(t.params, n.params) &&
- e(t.query) === e(n.query) &&
- t.hash === n.hash
- )
- }
- function isSameRouteRecord(e, t) {
- return (e.aliasOf || e) === (t.aliasOf || t)
- }
- function isSameRouteLocationParams(e, t) {
- if (Object.keys(e).length !== Object.keys(t).length) return !1
- for (var n in e) if (!isSameRouteLocationParamsValue(e[n], t[n])) return !1
- return !0
- }
- function isSameRouteLocationParamsValue(e, t) {
- return Array.isArray(e)
- ? isEquivalentArray(e, t)
- : Array.isArray(t)
- ? isEquivalentArray(t, e)
- : e === t
- }
- function isEquivalentArray(e, t) {
- return Array.isArray(t)
- ? e.length === t.length &&
- e.every(function (e, n) {
- return e === t[n]
- })
- : 1 === e.length && e[0] === t
- }
- function resolveRelativePath(e, t) {
- if (e.startsWith('/')) return e
- if (!e) return t
- var n,
- r,
- a = t.split('/'),
- o = e.split('/'),
- i = a.length - 1
- for (n = 0; n < o.length; n++)
- if (((r = o[n]), 1 !== i && '.' !== r)) {
- if ('..' !== r) break
- i--
- }
- return a.slice(0, i).join('/') + '/' + o.slice(n - (n === o.length ? 1 : 0)).join('/')
- }
- function normalizeBase(e) {
- if (!e)
- if (isBrowser) {
- var t = document.querySelector('base')
- e = (e = (t && t.getAttribute('href')) || '/').replace(/^\w+:\/\/[^\/]+/, '')
- } else e = '/'
- return '/' !== e[0] && '#' !== e[0] && (e = '/' + e), removeTrailingSlash(e)
- }
- !(function (e) {
- ;(e.pop = 'pop'), (e.push = 'push')
- })(NavigationType || (NavigationType = {})),
- (function (e) {
- ;(e.back = 'back'), (e.forward = 'forward'), (e.unknown = '')
- })(NavigationDirection || (NavigationDirection = {}))
- var BEFORE_HASH_RE = /^[^#]+#/
- function createHref(e, t) {
- return e.replace(BEFORE_HASH_RE, '#') + t
- }
- function getElementPosition(e, t) {
- var n = document.documentElement.getBoundingClientRect(),
- r = e.getBoundingClientRect()
- return {
- behavior: t.behavior,
- left: r.left - n.left - (t.left || 0),
- top: r.top - n.top - (t.top || 0)
- }
- }
- var computeScrollPosition = function () {
- return { left: window.pageXOffset, top: window.pageYOffset }
- }
- function scrollToPosition(e) {
- var t
- if ('el' in e) {
- var n = e.el,
- r = 'string' == typeof n && n.startsWith('#'),
- a =
- 'string' == typeof n
- ? r
- ? document.getElementById(n.slice(1))
- : document.querySelector(n)
- : n
- if (!a) return
- t = getElementPosition(a, e)
- } else t = e
- 'scrollBehavior' in document.documentElement.style
- ? window.scrollTo(t)
- : window.scrollTo(
- null != t.left ? t.left : window.pageXOffset,
- null != t.top ? t.top : window.pageYOffset
- )
- }
- function getScrollKey(e, t) {
- return (history.state ? history.state.position - t : -1) + e
- }
- var scrollPositions = new Map()
- function saveScrollPosition(e, t) {
- scrollPositions.set(e, t)
- }
- function getSavedScrollPosition(e) {
- var t = scrollPositions.get(e)
- return scrollPositions.delete(e), t
- }
- var createBaseLocation = function () {
- return location.protocol + '//' + location.host
- }
- function createCurrentLocation(e, t) {
- var n = t.pathname,
- r = t.search,
- a = t.hash,
- o = e.indexOf('#')
- if (o > -1) {
- var i = a.includes(e.slice(o)) ? e.slice(o).length : 1,
- s = a.slice(i)
- return '/' !== s[0] && (s = '/' + s), stripBase(s, '')
- }
- return stripBase(n, e) + r + a
- }
- function useHistoryListeners(e, t, n, r) {
- var a = [],
- o = [],
- i = null,
- s = function (o) {
- var s = o.state,
- l = createCurrentLocation(e, location),
- c = n.value,
- u = t.value,
- p = 0
- if (s) {
- if (((n.value = l), (t.value = s), i && i === c)) return void (i = null)
- p = u ? s.position - u.position : 0
- } else r(l)
- a.forEach(function (e) {
- e(n.value, c, {
- delta: p,
- type: NavigationType.pop,
- direction: p
- ? p > 0
- ? NavigationDirection.forward
- : NavigationDirection.back
- : NavigationDirection.unknown
- })
- })
- }
- function l() {
- var e = window.history
- e.state &&
- e.replaceState(assign$1({}, e.state, { scroll: computeScrollPosition() }), '')
- }
- return (
- window.addEventListener('popstate', s),
- window.addEventListener('beforeunload', l),
- {
- pauseListeners: function () {
- i = n.value
- },
- listen: function (e) {
- a.push(e)
- var t = function () {
- var t = a.indexOf(e)
- t > -1 && a.splice(t, 1)
- }
- return o.push(t), t
- },
- destroy: function () {
- var e,
- t = _createForOfIteratorHelper(o)
- try {
- for (t.s(); !(e = t.n()).done; ) {
- ;(0, e.value)()
- }
- } catch (n) {
- t.e(n)
- } finally {
- t.f()
- }
- ;(o = []),
- window.removeEventListener('popstate', s),
- window.removeEventListener('beforeunload', l)
- }
- }
- )
- }
- function buildState(e, t, n) {
- var r = arguments.length > 3 && void 0 !== arguments[3] && arguments[3],
- a = arguments.length > 4 && void 0 !== arguments[4] && arguments[4]
- return {
- back: e,
- current: t,
- forward: n,
- replaced: r,
- position: window.history.length,
- scroll: a ? computeScrollPosition() : null
- }
- }
- function useHistoryStateNavigation(e) {
- var t = window,
- n = t.history,
- r = t.location,
- a = { value: createCurrentLocation(e, r) },
- o = { value: n.state }
- function i(t, a, i) {
- var s = e.indexOf('#'),
- l =
- s > -1
- ? (r.host && document.querySelector('base') ? e : e.slice(s)) + t
- : createBaseLocation() + e + t
- try {
- n[i ? 'replaceState' : 'pushState'](a, '', l), (o.value = a)
- } catch (c) {
- console.error(c), r[i ? 'replace' : 'assign'](l)
- }
- }
- return (
- o.value ||
- i(
- a.value,
- {
- back: null,
- current: a.value,
- forward: null,
- position: n.length - 1,
- replaced: !0,
- scroll: null
- },
- !0
- ),
- {
- location: a,
- state: o,
- push: function (e, t) {
- var r = assign$1({}, o.value, n.state, {
- forward: e,
- scroll: computeScrollPosition()
- })
- i(r.current, r, !0),
- i(
- e,
- assign$1({}, buildState(a.value, e, null), { position: r.position + 1 }, t),
- !1
- ),
- (a.value = e)
- },
- replace: function (e, t) {
- i(
- e,
- assign$1({}, n.state, buildState(o.value.back, e, o.value.forward, !0), t, {
- position: o.value.position
- }),
- !0
- ),
- (a.value = e)
- }
- }
- )
- }
- function createWebHistory(e) {
- var t = useHistoryStateNavigation((e = normalizeBase(e))),
- n = useHistoryListeners(e, t.state, t.location, t.replace)
- var r = assign$1(
- {
- location: '',
- base: e,
- go: function (e) {
- var t = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1]
- t || n.pauseListeners(), history.go(e)
- },
- createHref: createHref.bind(null, e)
- },
- t,
- n
- )
- return (
- Object.defineProperty(r, 'location', {
- enumerable: !0,
- get: function () {
- return t.location.value
- }
- }),
- Object.defineProperty(r, 'state', {
- enumerable: !0,
- get: function () {
- return t.state.value
- }
- }),
- r
- )
- }
- function createWebHashHistory(e) {
- return (
- (e = location.host ? e || location.pathname + location.search : '').includes('#') ||
- (e += '#'),
- createWebHistory(e)
- )
- }
- function isRouteLocation(e) {
- return 'string' == typeof e || (e && 'object' === _typeof2(e))
- }
- function isRouteName(e) {
- return 'string' == typeof e || 'symbol' === _typeof2(e)
- }
- var START_LOCATION_NORMALIZED = {
- path: '/',
- name: void 0,
- params: {},
- query: {},
- hash: '',
- fullPath: '/',
- matched: [],
- meta: {},
- redirectedFrom: void 0
- },
- NavigationFailureSymbol = PolySymbol('nf'),
- NavigationFailureType
- function createRouterError(e, t) {
- return assign$1(
- new Error(),
- _defineProperty2({ type: e }, NavigationFailureSymbol, !0),
- t
- )
- }
- function isNavigationFailure(e, t) {
- return (
- e instanceof Error && NavigationFailureSymbol in e && (null == t || !!(e.type & t))
- )
- }
- !(function (e) {
- ;(e[(e.aborted = 4)] = 'aborted'),
- (e[(e.cancelled = 8)] = 'cancelled'),
- (e[(e.duplicated = 16)] = 'duplicated')
- })(NavigationFailureType || (NavigationFailureType = {}))
- var BASE_PARAM_PATTERN = '[^/]+?',
- BASE_PATH_PARSER_OPTIONS = { sensitive: !1, strict: !1, start: !0, end: !0 },
- REGEX_CHARS_RE = /[.+*?^${}()[\]/\\]/g
- function tokensToParser(e, t) {
- var n,
- r = assign$1({}, BASE_PATH_PARSER_OPTIONS, t),
- a = [],
- o = r.start ? '^' : '',
- i = [],
- s = _createForOfIteratorHelper(e)
- try {
- for (s.s(); !(n = s.n()).done; ) {
- var l = n.value,
- c = l.length ? [] : [90]
- r.strict && !l.length && (o += '/')
- for (var u = 0; u < l.length; u++) {
- var p = l[u],
- d = 40 + (r.sensitive ? 0.25 : 0)
- if (0 === p.type)
- u || (o += '/'), (o += p.value.replace(REGEX_CHARS_RE, '\\$&')), (d += 40)
- else if (1 === p.type) {
- var f = p.value,
- h = p.repeatable,
- v = p.optional,
- m = p.regexp
- i.push({ name: f, repeatable: h, optional: v })
- var g = m || BASE_PARAM_PATTERN
- if (g !== BASE_PARAM_PATTERN) {
- d += 10
- try {
- new RegExp('('.concat(g, ')'))
- } catch (A) {
- throw new Error(
- 'Invalid custom RegExp for param "'.concat(f, '" (').concat(g, '): ') +
- A.message
- )
- }
- }
- var y = h ? '((?:'.concat(g, ')(?:/(?:').concat(g, '))*)') : '('.concat(g, ')')
- u || (y = v && l.length < 2 ? '(?:/'.concat(y, ')') : '/' + y),
- v && (y += '?'),
- (o += y),
- (d += 20),
- v && (d += -8),
- h && (d += -20),
- '.*' === g && (d += -50)
- }
- c.push(d)
- }
- a.push(c)
- }
- } catch (A) {
- s.e(A)
- } finally {
- s.f()
- }
- if (r.strict && r.end) {
- var b = a.length - 1
- a[b][a[b].length - 1] += 0.7000000000000001
- }
- r.strict || (o += '/?'), r.end ? (o += '$') : r.strict && (o += '(?:/|$)')
- var _ = new RegExp(o, r.sensitive ? '' : 'i')
- return {
- re: _,
- score: a,
- keys: i,
- parse: function (e) {
- var t = e.match(_),
- n = {}
- if (!t) return null
- for (var r = 1; r < t.length; r++) {
- var a = t[r] || '',
- o = i[r - 1]
- n[o.name] = a && o.repeatable ? a.split('/') : a
- }
- return n
- },
- stringify: function (t) {
- var n,
- r = '',
- a = !1,
- o = _createForOfIteratorHelper(e)
- try {
- for (o.s(); !(n = o.n()).done; ) {
- var i = n.value
- ;(a && r.endsWith('/')) || (r += '/'), (a = !1)
- var s,
- l = _createForOfIteratorHelper(i)
- try {
- for (l.s(); !(s = l.n()).done; ) {
- var c = s.value
- if (0 === c.type) r += c.value
- else if (1 === c.type) {
- var u = c.value,
- p = c.repeatable,
- d = c.optional,
- f = u in t ? t[u] : ''
- if (Array.isArray(f) && !p)
- throw new Error(
- 'Provided param "'.concat(
- u,
- '" is an array but it is not repeatable (* or + modifiers)'
- )
- )
- var h = Array.isArray(f) ? f.join('/') : f
- if (!h) {
- if (!d) throw new Error('Missing required param "'.concat(u, '"'))
- i.length < 2 && (r.endsWith('/') ? (r = r.slice(0, -1)) : (a = !0))
- }
- r += h
- }
- }
- } catch (A) {
- l.e(A)
- } finally {
- l.f()
- }
- }
- } catch (A) {
- o.e(A)
- } finally {
- o.f()
- }
- return r
- }
- }
- }
- function compareScoreArray(e, t) {
- for (var n = 0; n < e.length && n < t.length; ) {
- var r = t[n] - e[n]
- if (r) return r
- n++
- }
- return e.length < t.length
- ? 1 === e.length && 80 === e[0]
- ? -1
- : 1
- : e.length > t.length
- ? 1 === t.length && 80 === t[0]
- ? 1
- : -1
- : 0
- }
- function comparePathParserScore(e, t) {
- for (var n = 0, r = e.score, a = t.score; n < r.length && n < a.length; ) {
- var o = compareScoreArray(r[n], a[n])
- if (o) return o
- n++
- }
- return a.length - r.length
- }
- var ROOT_TOKEN = { type: 0, value: '' },
- VALID_PARAM_RE = /[a-zA-Z0-9_]/
- function tokenizePath(e) {
- if (!e) return [[]]
- if ('/' === e) return [[ROOT_TOKEN]]
- if (!e.startsWith('/')) throw new Error('Invalid path "'.concat(e, '"'))
- function t(e) {
- throw new Error('ERR ('.concat(r, ')/"').concat(c, '": ').concat(e))
- }
- var n,
- r = 0,
- a = r,
- o = []
- function i() {
- n && o.push(n), (n = [])
- }
- var s,
- l = 0,
- c = '',
- u = ''
- function p() {
- c &&
- (0 === r
- ? n.push({ type: 0, value: c })
- : 1 === r || 2 === r || 3 === r
- ? (n.length > 1 &&
- ('*' === s || '+' === s) &&
- t(
- 'A repeatable param ('.concat(
- c,
- ") must be alone in its segment. eg: '/:ids+."
- )
- ),
- n.push({
- type: 1,
- value: c,
- regexp: u,
- repeatable: '*' === s || '+' === s,
- optional: '*' === s || '?' === s
- }))
- : t('Invalid state to consume buffer'),
- (c = ''))
- }
- function d() {
- c += s
- }
- for (; l < e.length; )
- if ('\\' !== (s = e[l++]) || 2 === r)
- switch (r) {
- case 0:
- '/' === s ? (c && p(), i()) : ':' === s ? (p(), (r = 1)) : d()
- break
- case 4:
- d(), (r = a)
- break
- case 1:
- '(' === s
- ? (r = 2)
- : VALID_PARAM_RE.test(s)
- ? d()
- : (p(), (r = 0), '*' !== s && '?' !== s && '+' !== s && l--)
- break
- case 2:
- ')' === s
- ? '\\' == u[u.length - 1]
- ? (u = u.slice(0, -1) + s)
- : (r = 3)
- : (u += s)
- break
- case 3:
- p(), (r = 0), '*' !== s && '?' !== s && '+' !== s && l--, (u = '')
- break
- default:
- t('Unknown state')
- }
- else (a = r), (r = 4)
- return 2 === r && t('Unfinished custom RegExp for param "'.concat(c, '"')), p(), i(), o
- }
- function createRouteRecordMatcher(e, t, n) {
- var r = tokensToParser(tokenizePath(e.path), n),
- a = assign$1(r, { record: e, parent: t, children: [], alias: [] })
- return t && !a.record.aliasOf == !t.record.aliasOf && t.children.push(a), a
- }
- function createRouterMatcher(e, t) {
- var n = [],
- r = new Map()
- function a(e, n, r) {
- var s = !r,
- l = normalizeRouteRecord(e)
- l.aliasOf = r && r.record
- var c,
- u,
- p = mergeOptions(t, e),
- d = [l]
- if ('alias' in e) {
- var f,
- h = _createForOfIteratorHelper('string' == typeof e.alias ? [e.alias] : e.alias)
- try {
- for (h.s(); !(f = h.n()).done; ) {
- var v = f.value
- d.push(
- assign$1({}, l, {
- components: r ? r.record.components : l.components,
- path: v,
- aliasOf: r ? r.record : l
- })
- )
- }
- } catch (k) {
- h.e(k)
- } finally {
- h.f()
- }
- }
- for (var m = 0, g = d; m < g.length; m++) {
- var y = g[m],
- b = y.path
- if (n && '/' !== b[0]) {
- var _ = n.record.path,
- A = '/' === _[_.length - 1] ? '' : '/'
- y.path = n.record.path + (b && A + b)
- }
- if (
- ((c = createRouteRecordMatcher(y, n, p)),
- r
- ? r.alias.push(c)
- : ((u = u || c) !== c && u.alias.push(c),
- s && e.name && !isAliasRecord(c) && o(e.name)),
- 'children' in l)
- )
- for (var x = l.children, w = 0; w < x.length; w++) a(x[w], c, r && r.children[w])
- ;(r = r || c), i(c)
- }
- return u
- ? function () {
- o(u)
- }
- : noop
- }
- function o(e) {
- if (isRouteName(e)) {
- var t = r.get(e)
- t &&
- (r.delete(e),
- n.splice(n.indexOf(t), 1),
- t.children.forEach(o),
- t.alias.forEach(o))
- } else {
- var a = n.indexOf(e)
- a > -1 &&
- (n.splice(a, 1),
- e.record.name && r.delete(e.record.name),
- e.children.forEach(o),
- e.alias.forEach(o))
- }
- }
- function i(e) {
- for (var t = 0; t < n.length && comparePathParserScore(e, n[t]) >= 0; ) t++
- n.splice(t, 0, e), e.record.name && !isAliasRecord(e) && r.set(e.record.name, e)
- }
- return (
- (t = mergeOptions({ strict: !1, end: !0, sensitive: !1 }, t)),
- e.forEach(function (e) {
- return a(e)
- }),
- {
- addRoute: a,
- resolve: function (e, t) {
- var a,
- o,
- i,
- s = {}
- if ('name' in e && e.name) {
- if (!(a = r.get(e.name))) throw createRouterError(1, { location: e })
- ;(i = a.record.name),
- (s = assign$1(
- paramsFromLocation(
- t.params,
- a.keys
- .filter(function (e) {
- return !e.optional
- })
- .map(function (e) {
- return e.name
- })
- ),
- e.params
- )),
- (o = a.stringify(s))
- } else if ('path' in e)
- (o = e.path),
- (a = n.find(function (e) {
- return e.re.test(o)
- })) && ((s = a.parse(o)), (i = a.record.name))
- else {
- if (
- !(a = t.name
- ? r.get(t.name)
- : n.find(function (e) {
- return e.re.test(t.path)
- }))
- )
- throw createRouterError(1, { location: e, currentLocation: t })
- ;(i = a.record.name),
- (s = assign$1({}, t.params, e.params)),
- (o = a.stringify(s))
- }
- for (var l = [], c = a; c; ) l.unshift(c.record), (c = c.parent)
- return { name: i, path: o, params: s, matched: l, meta: mergeMetaFields(l) }
- },
- removeRoute: o,
- getRoutes: function () {
- return n
- },
- getRecordMatcher: function (e) {
- return r.get(e)
- }
- }
- )
- }
- function paramsFromLocation(e, t) {
- var n,
- r = {},
- a = _createForOfIteratorHelper(t)
- try {
- for (a.s(); !(n = a.n()).done; ) {
- var o = n.value
- o in e && (r[o] = e[o])
- }
- } catch (i) {
- a.e(i)
- } finally {
- a.f()
- }
- return r
- }
- function normalizeRouteRecord(e) {
- return {
- path: e.path,
- redirect: e.redirect,
- name: e.name,
- meta: e.meta || {},
- aliasOf: void 0,
- beforeEnter: e.beforeEnter,
- props: normalizeRecordProps(e),
- children: e.children || [],
- instances: {},
- leaveGuards: new Set(),
- updateGuards: new Set(),
- enterCallbacks: {},
- components: 'components' in e ? e.components || {} : { default: e.component }
- }
- }
- function normalizeRecordProps(e) {
- var t = {},
- n = e.props || !1
- if ('component' in e) t.default = n
- else for (var r in e.components) t[r] = 'boolean' == typeof n ? n : n[r]
- return t
- }
- function isAliasRecord(e) {
- for (; e; ) {
- if (e.record.aliasOf) return !0
- e = e.parent
- }
- return !1
- }
- function mergeMetaFields(e) {
- return e.reduce(function (e, t) {
- return assign$1(e, t.meta)
- }, {})
- }
- function mergeOptions(e, t) {
- var n = {}
- for (var r in e) n[r] = r in t ? t[r] : e[r]
- return n
- }
- var HASH_RE = /#/g,
- AMPERSAND_RE = /&/g,
- SLASH_RE = /\//g,
- EQUAL_RE = /=/g,
- IM_RE = /\?/g,
- PLUS_RE = /\+/g,
- ENC_BRACKET_OPEN_RE = /%5B/g,
- ENC_BRACKET_CLOSE_RE = /%5D/g,
- ENC_CARET_RE = /%5E/g,
- ENC_BACKTICK_RE = /%60/g,
- ENC_CURLY_OPEN_RE = /%7B/g,
- ENC_PIPE_RE = /%7C/g,
- ENC_CURLY_CLOSE_RE = /%7D/g,
- ENC_SPACE_RE = /%20/g
- function commonEncode(e) {
- return encodeURI('' + e)
- .replace(ENC_PIPE_RE, '|')
- .replace(ENC_BRACKET_OPEN_RE, '[')
- .replace(ENC_BRACKET_CLOSE_RE, ']')
- }
- function encodeHash(e) {
- return commonEncode(e)
- .replace(ENC_CURLY_OPEN_RE, '{')
- .replace(ENC_CURLY_CLOSE_RE, '}')
- .replace(ENC_CARET_RE, '^')
- }
- function encodeQueryValue(e) {
- return commonEncode(e)
- .replace(PLUS_RE, '%2B')
- .replace(ENC_SPACE_RE, '+')
- .replace(HASH_RE, '%23')
- .replace(AMPERSAND_RE, '%26')
- .replace(ENC_BACKTICK_RE, '`')
- .replace(ENC_CURLY_OPEN_RE, '{')
- .replace(ENC_CURLY_CLOSE_RE, '}')
- .replace(ENC_CARET_RE, '^')
- }
- function encodeQueryKey(e) {
- return encodeQueryValue(e).replace(EQUAL_RE, '%3D')
- }
- function encodePath(e) {
- return commonEncode(e).replace(HASH_RE, '%23').replace(IM_RE, '%3F')
- }
- function encodeParam(e) {
- return null == e ? '' : encodePath(e).replace(SLASH_RE, '%2F')
- }
- function decode$2(e) {
- try {
- return decodeURIComponent('' + e)
- } catch (t) {}
- return '' + e
- }
- function parseQuery(e) {
- var t = {}
- if ('' === e || '?' === e) return t
- for (var n = ('?' === e[0] ? e.slice(1) : e).split('&'), r = 0; r < n.length; ++r) {
- var a = n[r].replace(PLUS_RE, ' '),
- o = a.indexOf('='),
- i = decode$2(o < 0 ? a : a.slice(0, o)),
- s = o < 0 ? null : decode$2(a.slice(o + 1))
- if (i in t) {
- var l = t[i]
- Array.isArray(l) || (l = t[i] = [l]), l.push(s)
- } else t[i] = s
- }
- return t
- }
- function stringifyQuery(e) {
- var t = '',
- n = function (n) {
- var a = e[n]
- if (((n = encodeQueryKey(n)), null == a))
- return void 0 !== a && (t += (t.length ? '&' : '') + n), (r = n), 'continue'
- var o = Array.isArray(a)
- ? a.map(function (e) {
- return e && encodeQueryValue(e)
- })
- : [a && encodeQueryValue(a)]
- o.forEach(function (e) {
- void 0 !== e && ((t += (t.length ? '&' : '') + n), null != e && (t += '=' + e))
- }),
- (r = n)
- }
- for (var r in e) n(r)
- return t
- }
- function normalizeQuery(e) {
- var t = {}
- for (var n in e) {
- var r = e[n]
- void 0 !== r &&
- (t[n] = Array.isArray(r)
- ? r.map(function (e) {
- return null == e ? null : '' + e
- })
- : null == r
- ? r
- : '' + r)
- }
- return t
- }
- function useCallbacks() {
- var e = []
- return {
- add: function (t) {
- return (
- e.push(t),
- function () {
- var n = e.indexOf(t)
- n > -1 && e.splice(n, 1)
- }
- )
- },
- list: function () {
- return e
- },
- reset: function () {
- e = []
- }
- }
- }
- function guardToPromiseFn(e, t, n, r, a) {
- var o = r && (r.enterCallbacks[a] = r.enterCallbacks[a] || [])
- return function () {
- return new Promise(function (i, s) {
- var l = function (e) {
- !1 === e
- ? s(createRouterError(4, { from: n, to: t }))
- : e instanceof Error
- ? s(e)
- : isRouteLocation(e)
- ? s(createRouterError(2, { from: t, to: e }))
- : (o && r.enterCallbacks[a] === o && 'function' == typeof e && o.push(e), i())
- },
- c = e.call(r && r.instances[a], t, n, l),
- u = Promise.resolve(c)
- e.length < 3 && (u = u.then(l)),
- u.catch(function (e) {
- return s(e)
- })
- })
- }
- }
- function extractComponentsGuards(e, t, n, r) {
- var a,
- o = [],
- i = _createForOfIteratorHelper(e)
- try {
- var s = function () {
- var e = a.value,
- i = function (a) {
- var i = e.components[a]
- if ('beforeRouteEnter' !== t && !e.instances[a]) return 'continue'
- if (isRouteComponent(i)) {
- var s = (i.__vccOpts || i)[t]
- s && o.push(guardToPromiseFn(s, n, r, e, a))
- } else {
- var l = i()
- o.push(function () {
- return l.then(function (o) {
- if (!o)
- return Promise.reject(
- new Error(
- 'Couldn\'t resolve component "'
- .concat(a, '" at "')
- .concat(e.path, '"')
- )
- )
- var i = isESModule(o) ? o.default : o
- e.components[a] = i
- var s = (i.__vccOpts || i)[t]
- return s && guardToPromiseFn(s, n, r, e, a)()
- })
- })
- }
- }
- for (var s in e.components) i(s)
- }
- for (i.s(); !(a = i.n()).done; ) s()
- } catch (l) {
- i.e(l)
- } finally {
- i.f()
- }
- return o
- }
- function isRouteComponent(e) {
- return (
- 'object' === _typeof2(e) || 'displayName' in e || 'props' in e || '__vccOpts' in e
- )
- }
- function useLink(e) {
- var t = inject(routerKey),
- n = inject(routeLocationKey),
- r = computed(function () {
- return t.resolve(unref(e.to))
- }),
- a = computed(function () {
- var e = r.value.matched,
- t = e.length,
- a = e[t - 1],
- o = n.matched
- if (!a || !o.length) return -1
- var i = o.findIndex(isSameRouteRecord.bind(null, a))
- if (i > -1) return i
- var s = getOriginalPath(e[t - 2])
- return t > 1 && getOriginalPath(a) === s && o[o.length - 1].path !== s
- ? o.findIndex(isSameRouteRecord.bind(null, e[t - 2]))
- : i
- }),
- o = computed(function () {
- return a.value > -1 && includesParams(n.params, r.value.params)
- }),
- i = computed(function () {
- return (
- a.value > -1 &&
- a.value === n.matched.length - 1 &&
- isSameRouteLocationParams(n.params, r.value.params)
- )
- })
- return {
- route: r,
- href: computed(function () {
- return r.value.href
- }),
- isActive: o,
- isExactActive: i,
- navigate: function () {
- var n = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
- return guardEvent(n)
- ? t[unref(e.replace) ? 'replace' : 'push'](unref(e.to)).catch(noop)
- : Promise.resolve()
- }
- }
- }
- var RouterLinkImpl = defineComponent({
- name: 'RouterLink',
- props: {
- to: { type: [String, Object], required: !0 },
- replace: Boolean,
- activeClass: String,
- exactActiveClass: String,
- custom: Boolean,
- ariaCurrentValue: { type: String, default: 'page' }
- },
- useLink: useLink,
- setup: function (e, t) {
- var n = t.slots,
- r = reactive(useLink(e)),
- a = inject(routerKey).options,
- o = computed(function () {
- var t
- return (
- _defineProperty2(
- (t = {}),
- getLinkClass(e.activeClass, a.linkActiveClass, 'router-link-active'),
- r.isActive
- ),
- _defineProperty2(
- t,
- getLinkClass(
- e.exactActiveClass,
- a.linkExactActiveClass,
- 'router-link-exact-active'
- ),
- r.isExactActive
- ),
- t
- )
- })
- return function () {
- var t = n.default && n.default(r)
- return e.custom
- ? t
- : h$1(
- 'a',
- {
- 'aria-current': r.isExactActive ? e.ariaCurrentValue : null,
- href: r.href,
- onClick: r.navigate,
- class: o.value
- },
- t
- )
- }
- }
- }),
- RouterLink = RouterLinkImpl
- function guardEvent(e) {
- if (
- !(
- e.metaKey ||
- e.altKey ||
- e.ctrlKey ||
- e.shiftKey ||
- e.defaultPrevented ||
- (void 0 !== e.button && 0 !== e.button)
- )
- ) {
- if (e.currentTarget && e.currentTarget.getAttribute) {
- var t = e.currentTarget.getAttribute('target')
- if (/\b_blank\b/i.test(t)) return
- }
- return e.preventDefault && e.preventDefault(), !0
- }
- }
- function includesParams(e, t) {
- var n = function (n) {
- var r = t[n],
- a = e[n]
- if ('string' == typeof r) {
- if (r !== a) return { v: !1 }
- } else if (
- !Array.isArray(a) ||
- a.length !== r.length ||
- r.some(function (e, t) {
- return e !== a[t]
- })
- )
- return { v: !1 }
- }
- for (var r in t) {
- var a = n(r)
- if ('object' === _typeof2(a)) return a.v
- }
- return !0
- }
- function getOriginalPath(e) {
- return e ? (e.aliasOf ? e.aliasOf.path : e.path) : ''
- }
- var getLinkClass = function (e, t, n) {
- return null != e ? e : null != t ? t : n
- },
- RouterViewImpl = defineComponent({
- name: 'RouterView',
- inheritAttrs: !1,
- props: { name: { type: String, default: 'default' }, route: Object },
- setup: function (e, t) {
- var n = t.attrs,
- r = t.slots,
- a = inject(routerViewLocationKey),
- o = computed(function () {
- return e.route || a.value
- }),
- i = inject(viewDepthKey, 0),
- s = computed(function () {
- return o.value.matched[i]
- })
- provide(viewDepthKey, i + 1),
- provide(matchedRouteKey, s),
- provide(routerViewLocationKey, o)
- var l = ref()
- return (
- watch(
- function () {
- return [l.value, s.value, e.name]
- },
- function (e, t) {
- var n = _slicedToArray(e, 3),
- r = n[0],
- a = n[1],
- o = n[2],
- i = _slicedToArray(t, 3),
- s = i[0],
- l = i[1]
- i[2]
- a &&
- ((a.instances[o] = r),
- l &&
- l !== a &&
- r &&
- r === s &&
- (a.leaveGuards.size || (a.leaveGuards = l.leaveGuards),
- a.updateGuards.size || (a.updateGuards = l.updateGuards))),
- !r ||
- !a ||
- (l && isSameRouteRecord(a, l) && s) ||
- (a.enterCallbacks[o] || []).forEach(function (e) {
- return e(r)
- })
- },
- { flush: 'post' }
- ),
- function () {
- var t = o.value,
- a = s.value,
- i = a && a.components[e.name],
- c = e.name
- if (!i) return normalizeSlot(r.default, { Component: i, route: t })
- var u = a.props[e.name],
- p = u ? (!0 === u ? t.params : 'function' == typeof u ? u(t) : u) : null,
- d = h$1(
- i,
- assign$1({}, p, n, {
- onVnodeUnmounted: function (e) {
- e.component.isUnmounted && (a.instances[c] = null)
- },
- ref: l
- })
- )
- return normalizeSlot(r.default, { Component: d, route: t }) || d
- }
- )
- }
- })
- function normalizeSlot(e, t) {
- if (!e) return null
- var n = e(t)
- return 1 === n.length ? n[0] : n
- }
- var RouterView = RouterViewImpl
- function createRouter(e) {
- var t = createRouterMatcher(e.routes, e),
- n = e.parseQuery || parseQuery,
- r = e.stringifyQuery || stringifyQuery,
- a = e.history,
- o = useCallbacks(),
- i = useCallbacks(),
- s = useCallbacks(),
- l = shallowRef(START_LOCATION_NORMALIZED),
- c = START_LOCATION_NORMALIZED
- isBrowser &&
- e.scrollBehavior &&
- 'scrollRestoration' in history &&
- (history.scrollRestoration = 'manual')
- var u,
- p = applyToParams.bind(null, function (e) {
- return '' + e
- }),
- d = applyToParams.bind(null, encodeParam),
- f = applyToParams.bind(null, decode$2)
- function h(e, o) {
- if (((o = assign$1({}, o || l.value)), 'string' == typeof e)) {
- var i = parseURL(n, e, o.path),
- s = t.resolve({ path: i.path }, o),
- c = a.createHref(i.fullPath)
- return assign$1(i, s, {
- params: f(s.params),
- hash: decode$2(i.hash),
- redirectedFrom: void 0,
- href: c
- })
- }
- var u
- if ('path' in e) u = assign$1({}, e, { path: parseURL(n, e.path, o.path).path })
- else {
- var h = assign$1({}, e.params)
- for (var v in h) null == h[v] && delete h[v]
- ;(u = assign$1({}, e, { params: d(e.params) })), (o.params = d(o.params))
- }
- var m = t.resolve(u, o),
- g = e.hash || ''
- m.params = p(f(m.params))
- var y = stringifyURL(r, assign$1({}, e, { hash: encodeHash(g), path: m.path })),
- b = a.createHref(y)
- return assign$1(
- {
- fullPath: y,
- hash: g,
- query: r === stringifyQuery ? normalizeQuery(e.query) : e.query || {}
- },
- m,
- { redirectedFrom: void 0, href: b }
- )
- }
- function v(e) {
- return 'string' == typeof e ? parseURL(n, e, l.value.path) : assign$1({}, e)
- }
- function m(e, t) {
- if (c !== e) return createRouterError(8, { from: t, to: e })
- }
- function g(e) {
- return b(e)
- }
- function y(e) {
- var t = e.matched[e.matched.length - 1]
- if (t && t.redirect) {
- var n = t.redirect,
- r = 'function' == typeof n ? n(e) : n
- return (
- 'string' == typeof r &&
- ((r = r.includes('?') || r.includes('#') ? (r = v(r)) : { path: r }).params =
- {}),
- assign$1({ query: e.query, hash: e.hash, params: e.params }, r)
- )
- }
- }
- function b(e, t) {
- var n = (c = h(e)),
- a = l.value,
- o = e.state,
- i = e.force,
- s = !0 === e.replace,
- u = y(n)
- if (u) return b(assign$1(v(u), { state: o, force: i, replace: s }), t || n)
- var p,
- d = n
- return (
- (d.redirectedFrom = t),
- !i &&
- isSameRouteLocation(r, a, n) &&
- ((p = createRouterError(16, { to: d, from: a })), T(a, a, !0, !1)),
- (p ? Promise.resolve(p) : A(d, a))
- .catch(function (e) {
- return isNavigationFailure(e) ? e : P(e, d, a)
- })
- .then(function (e) {
- if (e) {
- if (isNavigationFailure(e, 2))
- return b(assign$1(v(e.to), { state: o, force: i, replace: s }), t || d)
- } else e = w(d, a, !0, s, o)
- return x(d, a, e), e
- })
- )
- }
- function _(e, t) {
- var n = m(e, t)
- return n ? Promise.reject(n) : Promise.resolve()
- }
- function A(e, t) {
- var n,
- r = _slicedToArray(extractChangingRecords(e, t), 3),
- a = r[0],
- s = r[1],
- l = r[2]
- n = extractComponentsGuards(a.reverse(), 'beforeRouteLeave', e, t)
- var c,
- u = _createForOfIteratorHelper(a)
- try {
- for (u.s(); !(c = u.n()).done; ) {
- c.value.leaveGuards.forEach(function (r) {
- n.push(guardToPromiseFn(r, e, t))
- })
- }
- } catch (d) {
- u.e(d)
- } finally {
- u.f()
- }
- var p = _.bind(null, e, t)
- return (
- n.push(p),
- runGuardQueue(n)
- .then(function () {
- n = []
- var r,
- a = _createForOfIteratorHelper(o.list())
- try {
- for (a.s(); !(r = a.n()).done; ) {
- var i = r.value
- n.push(guardToPromiseFn(i, e, t))
- }
- } catch (d) {
- a.e(d)
- } finally {
- a.f()
- }
- return n.push(p), runGuardQueue(n)
- })
- .then(function () {
- n = extractComponentsGuards(s, 'beforeRouteUpdate', e, t)
- var r,
- a = _createForOfIteratorHelper(s)
- try {
- for (a.s(); !(r = a.n()).done; ) {
- r.value.updateGuards.forEach(function (r) {
- n.push(guardToPromiseFn(r, e, t))
- })
- }
- } catch (d) {
- a.e(d)
- } finally {
- a.f()
- }
- return n.push(p), runGuardQueue(n)
- })
- .then(function () {
- n = []
- var r,
- a = _createForOfIteratorHelper(e.matched)
- try {
- for (a.s(); !(r = a.n()).done; ) {
- var o = r.value
- if (o.beforeEnter && !t.matched.includes(o))
- if (Array.isArray(o.beforeEnter)) {
- var i,
- s = _createForOfIteratorHelper(o.beforeEnter)
- try {
- for (s.s(); !(i = s.n()).done; ) {
- var l = i.value
- n.push(guardToPromiseFn(l, e, t))
- }
- } catch (d) {
- s.e(d)
- } finally {
- s.f()
- }
- } else n.push(guardToPromiseFn(o.beforeEnter, e, t))
- }
- } catch (d) {
- a.e(d)
- } finally {
- a.f()
- }
- return n.push(p), runGuardQueue(n)
- })
- .then(function () {
- return (
- e.matched.forEach(function (e) {
- return (e.enterCallbacks = {})
- }),
- (n = extractComponentsGuards(l, 'beforeRouteEnter', e, t)).push(p),
- runGuardQueue(n)
- )
- })
- .then(function () {
- n = []
- var r,
- a = _createForOfIteratorHelper(i.list())
- try {
- for (a.s(); !(r = a.n()).done; ) {
- var o = r.value
- n.push(guardToPromiseFn(o, e, t))
- }
- } catch (d) {
- a.e(d)
- } finally {
- a.f()
- }
- return n.push(p), runGuardQueue(n)
- })
- .catch(function (e) {
- return isNavigationFailure(e, 8) ? e : Promise.reject(e)
- })
- )
- }
- function x(e, t, n) {
- var r,
- a = _createForOfIteratorHelper(s.list())
- try {
- for (a.s(); !(r = a.n()).done; ) {
- ;(0, r.value)(e, t, n)
- }
- } catch (o) {
- a.e(o)
- } finally {
- a.f()
- }
- }
- function w(e, t, n, r, o) {
- var i = m(e, t)
- if (i) return i
- var s = t === START_LOCATION_NORMALIZED,
- c = isBrowser ? history.state : {}
- n &&
- (r || s
- ? a.replace(e.fullPath, assign$1({ scroll: s && c && c.scroll }, o))
- : a.push(e.fullPath, o)),
- (l.value = e),
- T(e, t, n, s),
- C()
- }
- var k,
- S = useCallbacks(),
- E = useCallbacks()
- function P(e, t, n) {
- C(e)
- var r = E.list()
- return (
- r.length
- ? r.forEach(function (r) {
- return r(e, t, n)
- })
- : console.error(e),
- Promise.reject(e)
- )
- }
- function C(e) {
- k ||
- ((k = !0),
- (u = a.listen(function (e, t, n) {
- var r = h(e),
- o = y(r)
- if (o) b(assign$1(o, { replace: !0 }), r).catch(noop)
- else {
- c = r
- var i = l.value
- isBrowser &&
- saveScrollPosition(
- getScrollKey(i.fullPath, n.delta),
- computeScrollPosition()
- ),
- A(r, i)
- .catch(function (e) {
- return isNavigationFailure(e, 12)
- ? e
- : isNavigationFailure(e, 2)
- ? (b(e.to, r)
- .then(function (e) {
- isNavigationFailure(e, 20) &&
- !n.delta &&
- n.type === NavigationType.pop &&
- a.go(-1, !1)
- })
- .catch(noop),
- Promise.reject())
- : (n.delta && a.go(-n.delta, !1), P(e, r, i))
- })
- .then(function (e) {
- ;(e = e || w(r, i, !1)) &&
- (n.delta
- ? a.go(-n.delta, !1)
- : n.type === NavigationType.pop &&
- isNavigationFailure(e, 20) &&
- a.go(-1, !1)),
- x(r, i, e)
- })
- .catch(noop)
- }
- })),
- S.list().forEach(function (t) {
- var n = _slicedToArray(t, 2),
- r = n[0],
- a = n[1]
- return e ? a(e) : r()
- }),
- S.reset())
- }
- function T(t, n, r, a) {
- var o = e.scrollBehavior
- if (!isBrowser || !o) return Promise.resolve()
- var i =
- (!r && getSavedScrollPosition(getScrollKey(t.fullPath, 0))) ||
- ((a || !r) && history.state && history.state.scroll) ||
- null
- return nextTick()
- .then(function () {
- return o(t, n, i)
- })
- .then(function (e) {
- return e && scrollToPosition(e)
- })
- .catch(function (e) {
- return P(e, t, n)
- })
- }
- var I,
- R = function (e) {
- return a.go(e)
- },
- M = new Set(),
- z = {
- currentRoute: l,
- addRoute: function (e, n) {
- var r, a
- return (
- isRouteName(e) ? ((r = t.getRecordMatcher(e)), (a = n)) : (a = e),
- t.addRoute(a, r)
- )
- },
- removeRoute: function (e) {
- var n = t.getRecordMatcher(e)
- n && t.removeRoute(n)
- },
- hasRoute: function (e) {
- return !!t.getRecordMatcher(e)
- },
- getRoutes: function () {
- return t.getRoutes().map(function (e) {
- return e.record
- })
- },
- resolve: h,
- options: e,
- push: g,
- replace: function (e) {
- return g(assign$1(v(e), { replace: !0 }))
- },
- go: R,
- back: function () {
- return R(-1)
- },
- forward: function () {
- return R(1)
- },
- beforeEach: o.add,
- beforeResolve: i.add,
- afterEach: s.add,
- onError: E.add,
- isReady: function () {
- return k && l.value !== START_LOCATION_NORMALIZED
- ? Promise.resolve()
- : new Promise(function (e, t) {
- S.add([e, t])
- })
- },
- install: function (e) {
- e.component('RouterLink', RouterLink),
- e.component('RouterView', RouterView),
- (e.config.globalProperties.$router = this),
- Object.defineProperty(e.config.globalProperties, '$route', {
- enumerable: !0,
- get: function () {
- return unref(l)
- }
- }),
- isBrowser &&
- !I &&
- l.value === START_LOCATION_NORMALIZED &&
- ((I = !0), g(a.location).catch(function (e) {}))
- var t = {},
- n = function (e) {
- t[e] = computed(function () {
- return l.value[e]
- })
- }
- for (var r in START_LOCATION_NORMALIZED) n(r)
- e.provide(routerKey, this),
- e.provide(routeLocationKey, reactive(t)),
- e.provide(routerViewLocationKey, l)
- var o = e.unmount
- M.add(e),
- (e.unmount = function () {
- M.delete(e),
- M.size < 1 &&
- ((c = START_LOCATION_NORMALIZED),
- u && u(),
- (l.value = START_LOCATION_NORMALIZED),
- (I = !1),
- (k = !1)),
- o()
- })
- }
- }
- return z
- }
- function runGuardQueue(e) {
- return e.reduce(function (e, t) {
- return e.then(function () {
- return t()
- })
- }, Promise.resolve())
- }
- function extractChangingRecords(e, t) {
- for (
- var n = [],
- r = [],
- a = [],
- o = Math.max(t.matched.length, e.matched.length),
- i = function (o) {
- var i = t.matched[o]
- i &&
- (e.matched.find(function (e) {
- return isSameRouteRecord(e, i)
- })
- ? r.push(i)
- : n.push(i))
- var s = e.matched[o]
- s &&
- (t.matched.find(function (e) {
- return isSameRouteRecord(e, s)
- }) ||
- a.push(s))
- },
- s = 0;
- s < o;
- s++
- )
- i(s)
- return [n, r, a]
- }
- function useRouter() {
- return inject(routerKey)
- }
- function useRoute() {
- return inject(routeLocationKey)
- }
- var originalPostMessage = window.postMessage
- window.postMessage = function (e) {
- originalPostMessage(e, '*')
- }
- var loop = function () {},
- calls = {},
- browserInfo$2 = browser()
- browserInfo$2.isApp &&
- window.addEventListener('message', function (e) {
- try {
- var t, n, r
- console.log('app交互接受:', e.data)
- var a = e.data ? ('object' === _typeof2(e.data) ? e.data : JSON.parse(e.data)) : {},
- o = (null === (t = a.content) || void 0 === t ? void 0 : t.uuid) || a.uuid
- console.log(o, a.content, 'uuid')
- try {
- a.content && (a.content = JSON.parse(a.content))
- } catch (error) {}
- if ((null != a && null !== (n = a.content) && void 0 !== n && n.uuid, !o)) {
- var i,
- s = _createForOfIteratorHelper(
- Object.keys(calls).filter(function (e) {
- return 0 === e.indexOf(a.api)
- })
- )
- try {
- for (s.s(); !(i = s.n()).done; ) {
- var l = i.value,
- c = calls[l] || loop
- 'function' == typeof c && c(a)
- }
- } catch (d) {
- s.e(d)
- } finally {
- s.f()
- }
- return
- }
- var u =
- (null === (r = a.content) || void 0 === r ? void 0 : r.uuid) ||
- a.uuid ||
- a.api + a.uuid,
- p = calls[u] || loop
- 'function' == typeof p && p(a)
- } catch (error) {
- console.error('通信消息解析错误', error)
- }
- })
- var instance =
- window.ORCHESTRA ||
- (null === (_window$webkit = window.webkit) ||
- void 0 === _window$webkit ||
- null === (_window$webkit$messag = _window$webkit.messageHandlers) ||
- void 0 === _window$webkit$messag
- ? void 0
- : _window$webkit$messag.ORCHESTRA),
- postMessage = exports('e', function (e, t) {
- if (browserInfo$2.isApp) {
- var n = getRandomKey()
- ;(calls[n] = t || loop),
- (e.content = e.content
- ? _objectSpread(_objectSpread({}, e.content), {}, { uuid: n })
- : { uuid: n }),
- console.log('app交互发送:', e),
- instance.postMessage(JSON.stringify(e))
- }
- }),
- listenerMessage = exports('bF', function (e, t) {
- if (browserInfo$2.isApp) {
- var n = e + getRandomKey()
- calls[n] = t || loop
- }
- }),
- removeListenerMessage = exports('bI', function (e, t) {
- if (browserInfo$2.isApp) {
- var n = e
- if (Array.isArray(calls[n])) {
- var r = calls[n].indexOf(t)
- calls[n].splice(r, 1)
- }
- }
- }),
- promisefiyPostMessage = exports('p', function (e) {
- return new Promise(function (t) {
- postMessage(e, function (e) {
- return t(e)
- })
- })
- }),
- scriptRel = 'modulepreload',
- seen = {},
- base = './',
- __vitePreload = function (e, t) {
- return e()
- },
- error$1 = '_error_1i228_1',
- info$1 = '_info_1i228_9',
- styles$3 = { error: error$1, info: info$1 },
- state = exports(
- 'g',
- reactive({
- user: { status: 'init', data: {} },
- platformType: 'STUDENT',
- clientId: {
- STUDENT: 'jmedu-student',
- TEACHER: 'jmedu-teacher',
- SCHOOL: 'jmedu-school'
- },
- platformApi: '/api-student',
- version: '',
- navBarHeight: 0,
- ossUploadUrl: 'https://ks3-cn-beijing.ksyuncs.com/',
- musicCertStatus: !1,
- openLiveStatus: !1
- })
- ),
- getOssUploadUrl = exports('bA', function (e) {
- return 'https://'.concat(e || 'gyt', '.ks3-cn-beijing.ksyuncs.com/')
- }),
- setLogin = exports('n', function (e) {
- ;(state.user.status = 'login'), (state.user.data = e)
- }),
- setLogout = exports('bn', function () {
- ;(state.user.status = 'logout'), (state.user.data = null)
- }),
- setLoginError = function () {
- ;(state.user.status = 'error'), (state.user.data = null)
- },
- goWechatAuth = exports('bf', function (e, t) {
- goAuth(e, t)
- }),
- goAuth = function (e, t) {
- console.log(t || window.location.href, 'urlString || window.location.href')
- var n = encodeURIComponent(t || window.location.href)
- console.log(n, 'urlNow')
- var r = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid='
- .concat(e || 'wx8654c671631cfade', '&redirect_uri=')
- .concat(n, '&response_type=code&scope=')
- .concat('snsapi_base', '&state=STATE&connect_redirect=1#wechat_redirect')
- window.location.replace(r)
- },
- shams = function () {
- if ('function' != typeof Symbol || 'function' != typeof Object.getOwnPropertySymbols)
- return !1
- if ('symbol' === _typeof2(Symbol.iterator)) return !0
- var e = {},
- t = Symbol('test'),
- n = Object(t)
- if ('string' == typeof t) return !1
- if ('[object Symbol]' !== Object.prototype.toString.call(t)) return !1
- if ('[object Symbol]' !== Object.prototype.toString.call(n)) return !1
- for (t in ((e[t] = 42), e)) return !1
- if ('function' == typeof Object.keys && 0 !== Object.keys(e).length) return !1
- if (
- 'function' == typeof Object.getOwnPropertyNames &&
- 0 !== Object.getOwnPropertyNames(e).length
- )
- return !1
- var r = Object.getOwnPropertySymbols(e)
- if (1 !== r.length || r[0] !== t) return !1
- if (!Object.prototype.propertyIsEnumerable.call(e, t)) return !1
- if ('function' == typeof Object.getOwnPropertyDescriptor) {
- var a = Object.getOwnPropertyDescriptor(e, t)
- if (42 !== a.value || !0 !== a.enumerable) return !1
- }
- return !0
- },
- origSymbol = 'undefined' != typeof Symbol && Symbol,
- hasSymbolSham = shams,
- hasSymbols$1 = function () {
- return (
- 'function' == typeof origSymbol &&
- 'function' == typeof Symbol &&
- 'symbol' === _typeof2(origSymbol('foo')) &&
- 'symbol' === _typeof2(Symbol('bar')) &&
- hasSymbolSham()
- )
- },
- ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ',
- slice = Array.prototype.slice,
- toStr$1 = Object.prototype.toString,
- funcType = '[object Function]',
- implementation$1 = function (e) {
- var t = this
- if ('function' != typeof t || toStr$1.call(t) !== funcType)
- throw new TypeError(ERROR_MESSAGE + t)
- for (
- var n,
- r = slice.call(arguments, 1),
- a = function () {
- if (this instanceof n) {
- var a = t.apply(this, r.concat(slice.call(arguments)))
- return Object(a) === a ? a : this
- }
- return t.apply(e, r.concat(slice.call(arguments)))
- },
- o = Math.max(0, t.length - r.length),
- i = [],
- s = 0;
- s < o;
- s++
- )
- i.push('$' + s)
- if (
- ((n = Function(
- 'binder',
- 'return function (' + i.join(',') + '){ return binder.apply(this,arguments); }'
- )(a)),
- t.prototype)
- ) {
- var l = function () {}
- ;(l.prototype = t.prototype), (n.prototype = new l()), (l.prototype = null)
- }
- return n
- },
- implementation = implementation$1,
- functionBind = Function.prototype.bind || implementation,
- bind$1 = functionBind,
- src$1 = bind$1.call(Function.call, Object.prototype.hasOwnProperty),
- undefined$1,
- $SyntaxError = SyntaxError,
- $Function = Function,
- $TypeError$1 = TypeError,
- getEvalledConstructor = function (e) {
- try {
- return $Function('"use strict"; return (' + e + ').constructor;')()
- } catch (t) {}
- },
- $gOPD = Object.getOwnPropertyDescriptor
- if ($gOPD)
- try {
- $gOPD({}, '')
- } catch (e) {
- $gOPD = null
- }
- var throwTypeError = function () {
- throw new $TypeError$1()
- },
- ThrowTypeError = $gOPD
- ? (function () {
- try {
- return throwTypeError
- } catch (e) {
- try {
- return $gOPD(arguments, 'callee').get
- } catch (t) {
- return throwTypeError
- }
- }
- })()
- : throwTypeError,
- hasSymbols = hasSymbols$1(),
- getProto =
- Object.getPrototypeOf ||
- function (e) {
- return e.__proto__
- },
- needsEval = {},
- TypedArray = 'undefined' == typeof Uint8Array ? undefined$1 : getProto(Uint8Array),
- INTRINSICS = {
- '%AggregateError%':
- 'undefined' == typeof AggregateError ? undefined$1 : AggregateError,
- '%Array%': Array,
- '%ArrayBuffer%': 'undefined' == typeof ArrayBuffer ? undefined$1 : ArrayBuffer,
- '%ArrayIteratorPrototype%': hasSymbols
- ? getProto([][Symbol.iterator]())
- : undefined$1,
- '%AsyncFromSyncIteratorPrototype%': undefined$1,
- '%AsyncFunction%': needsEval,
- '%AsyncGenerator%': needsEval,
- '%AsyncGeneratorFunction%': needsEval,
- '%AsyncIteratorPrototype%': needsEval,
- '%Atomics%': 'undefined' == typeof Atomics ? undefined$1 : Atomics,
- '%BigInt%': 'undefined' == typeof BigInt ? undefined$1 : BigInt,
- '%Boolean%': Boolean,
- '%DataView%': 'undefined' == typeof DataView ? undefined$1 : DataView,
- '%Date%': Date,
- '%decodeURI%': decodeURI,
- '%decodeURIComponent%': decodeURIComponent,
- '%encodeURI%': encodeURI,
- '%encodeURIComponent%': encodeURIComponent,
- '%Error%': Error,
- '%eval%': eval,
- '%EvalError%': EvalError,
- '%Float32Array%': 'undefined' == typeof Float32Array ? undefined$1 : Float32Array,
- '%Float64Array%': 'undefined' == typeof Float64Array ? undefined$1 : Float64Array,
- '%FinalizationRegistry%':
- 'undefined' == typeof FinalizationRegistry ? undefined$1 : FinalizationRegistry,
- '%Function%': $Function,
- '%GeneratorFunction%': needsEval,
- '%Int8Array%': 'undefined' == typeof Int8Array ? undefined$1 : Int8Array,
- '%Int16Array%': 'undefined' == typeof Int16Array ? undefined$1 : Int16Array,
- '%Int32Array%': 'undefined' == typeof Int32Array ? undefined$1 : Int32Array,
- '%isFinite%': isFinite,
- '%isNaN%': isNaN,
- '%IteratorPrototype%': hasSymbols
- ? getProto(getProto([][Symbol.iterator]()))
- : undefined$1,
- '%JSON%':
- 'object' === ('undefined' == typeof JSON ? 'undefined' : _typeof2(JSON))
- ? JSON
- : undefined$1,
- '%Map%': 'undefined' == typeof Map ? undefined$1 : Map,
- '%MapIteratorPrototype%':
- 'undefined' != typeof Map && hasSymbols
- ? getProto(new Map()[Symbol.iterator]())
- : undefined$1,
- '%Math%': Math,
- '%Number%': Number,
- '%Object%': Object,
- '%parseFloat%': parseFloat,
- '%parseInt%': parseInt,
- '%Promise%': 'undefined' == typeof Promise ? undefined$1 : Promise,
- '%Proxy%': 'undefined' == typeof Proxy ? undefined$1 : Proxy,
- '%RangeError%': RangeError,
- '%ReferenceError%': ReferenceError,
- '%Reflect%': 'undefined' == typeof Reflect ? undefined$1 : Reflect,
- '%RegExp%': RegExp,
- '%Set%': 'undefined' == typeof Set ? undefined$1 : Set,
- '%SetIteratorPrototype%':
- 'undefined' != typeof Set && hasSymbols
- ? getProto(new Set()[Symbol.iterator]())
- : undefined$1,
- '%SharedArrayBuffer%':
- 'undefined' == typeof SharedArrayBuffer ? undefined$1 : SharedArrayBuffer,
- '%String%': String,
- '%StringIteratorPrototype%': hasSymbols
- ? getProto(''[Symbol.iterator]())
- : undefined$1,
- '%Symbol%': hasSymbols ? Symbol : undefined$1,
- '%SyntaxError%': $SyntaxError,
- '%ThrowTypeError%': ThrowTypeError,
- '%TypedArray%': TypedArray,
- '%TypeError%': $TypeError$1,
- '%Uint8Array%': 'undefined' == typeof Uint8Array ? undefined$1 : Uint8Array,
- '%Uint8ClampedArray%':
- 'undefined' == typeof Uint8ClampedArray ? undefined$1 : Uint8ClampedArray,
- '%Uint16Array%': 'undefined' == typeof Uint16Array ? undefined$1 : Uint16Array,
- '%Uint32Array%': 'undefined' == typeof Uint32Array ? undefined$1 : Uint32Array,
- '%URIError%': URIError,
- '%WeakMap%': 'undefined' == typeof WeakMap ? undefined$1 : WeakMap,
- '%WeakRef%': 'undefined' == typeof WeakRef ? undefined$1 : WeakRef,
- '%WeakSet%': 'undefined' == typeof WeakSet ? undefined$1 : WeakSet
- },
- doEval = function e(t) {
- var n
- if ('%AsyncFunction%' === t) n = getEvalledConstructor('async function () {}')
- else if ('%GeneratorFunction%' === t) n = getEvalledConstructor('function* () {}')
- else if ('%AsyncGeneratorFunction%' === t)
- n = getEvalledConstructor('async function* () {}')
- else if ('%AsyncGenerator%' === t) {
- var r = e('%AsyncGeneratorFunction%')
- r && (n = r.prototype)
- } else if ('%AsyncIteratorPrototype%' === t) {
- var a = e('%AsyncGenerator%')
- a && (n = getProto(a.prototype))
- }
- return (INTRINSICS[t] = n), n
- },
- LEGACY_ALIASES = {
- '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
- '%ArrayPrototype%': ['Array', 'prototype'],
- '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
- '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
- '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
- '%ArrayProto_values%': ['Array', 'prototype', 'values'],
- '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
- '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
- '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
- '%BooleanPrototype%': ['Boolean', 'prototype'],
- '%DataViewPrototype%': ['DataView', 'prototype'],
- '%DatePrototype%': ['Date', 'prototype'],
- '%ErrorPrototype%': ['Error', 'prototype'],
- '%EvalErrorPrototype%': ['EvalError', 'prototype'],
- '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
- '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
- '%FunctionPrototype%': ['Function', 'prototype'],
- '%Generator%': ['GeneratorFunction', 'prototype'],
- '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
- '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
- '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
- '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
- '%JSONParse%': ['JSON', 'parse'],
- '%JSONStringify%': ['JSON', 'stringify'],
- '%MapPrototype%': ['Map', 'prototype'],
- '%NumberPrototype%': ['Number', 'prototype'],
- '%ObjectPrototype%': ['Object', 'prototype'],
- '%ObjProto_toString%': ['Object', 'prototype', 'toString'],
- '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
- '%PromisePrototype%': ['Promise', 'prototype'],
- '%PromiseProto_then%': ['Promise', 'prototype', 'then'],
- '%Promise_all%': ['Promise', 'all'],
- '%Promise_reject%': ['Promise', 'reject'],
- '%Promise_resolve%': ['Promise', 'resolve'],
- '%RangeErrorPrototype%': ['RangeError', 'prototype'],
- '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
- '%RegExpPrototype%': ['RegExp', 'prototype'],
- '%SetPrototype%': ['Set', 'prototype'],
- '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
- '%StringPrototype%': ['String', 'prototype'],
- '%SymbolPrototype%': ['Symbol', 'prototype'],
- '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
- '%TypedArrayPrototype%': ['TypedArray', 'prototype'],
- '%TypeErrorPrototype%': ['TypeError', 'prototype'],
- '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
- '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
- '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
- '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
- '%URIErrorPrototype%': ['URIError', 'prototype'],
- '%WeakMapPrototype%': ['WeakMap', 'prototype'],
- '%WeakSetPrototype%': ['WeakSet', 'prototype']
- },
- bind = functionBind,
- hasOwn$1 = src$1,
- $concat = bind.call(Function.call, Array.prototype.concat),
- $spliceApply = bind.call(Function.apply, Array.prototype.splice),
- $replace = bind.call(Function.call, String.prototype.replace),
- $strSlice = bind.call(Function.call, String.prototype.slice),
- rePropName =
- /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,
- reEscapeChar = /\\(\\)?/g,
- stringToPath = function (e) {
- var t = $strSlice(e, 0, 1),
- n = $strSlice(e, -1)
- if ('%' === t && '%' !== n)
- throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`')
- if ('%' === n && '%' !== t)
- throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`')
- var r = []
- return (
- $replace(e, rePropName, function (e, t, n, a) {
- r[r.length] = n ? $replace(a, reEscapeChar, '$1') : t || e
- }),
- r
- )
- },
- getBaseIntrinsic = function (e, t) {
- var n,
- r = e
- if (
- (hasOwn$1(LEGACY_ALIASES, r) && (r = '%' + (n = LEGACY_ALIASES[r])[0] + '%'),
- hasOwn$1(INTRINSICS, r))
- ) {
- var a = INTRINSICS[r]
- if ((a === needsEval && (a = doEval(r)), void 0 === a && !t))
- throw new $TypeError$1(
- 'intrinsic ' + e + ' exists, but is not available. Please file an issue!'
- )
- return { alias: n, name: r, value: a }
- }
- throw new $SyntaxError('intrinsic ' + e + ' does not exist!')
- },
- getIntrinsic = function (e, t) {
- if ('string' != typeof e || 0 === e.length)
- throw new $TypeError$1('intrinsic name must be a non-empty string')
- if (arguments.length > 1 && 'boolean' != typeof t)
- throw new $TypeError$1('"allowMissing" argument must be a boolean')
- var n = stringToPath(e),
- r = n.length > 0 ? n[0] : '',
- a = getBaseIntrinsic('%' + r + '%', t),
- o = a.name,
- i = a.value,
- s = !1,
- l = a.alias
- l && ((r = l[0]), $spliceApply(n, $concat([0, 1], l)))
- for (var c = 1, u = !0; c < n.length; c += 1) {
- var p = n[c],
- d = $strSlice(p, 0, 1),
- f = $strSlice(p, -1)
- if (
- ('"' === d || "'" === d || '`' === d || '"' === f || "'" === f || '`' === f) &&
- d !== f
- )
- throw new $SyntaxError('property names with quotes must have matching quotes')
- if (
- (('constructor' !== p && u) || (s = !0),
- hasOwn$1(INTRINSICS, (o = '%' + (r += '.' + p) + '%')))
- )
- i = INTRINSICS[o]
- else if (null != i) {
- if (!(p in i)) {
- if (!t)
- throw new $TypeError$1(
- 'base intrinsic for ' + e + ' exists, but the property is not available.'
- )
- return
- }
- if ($gOPD && c + 1 >= n.length) {
- var h = $gOPD(i, p)
- i = (u = !!h) && 'get' in h && !('originalValue' in h.get) ? h.get : i[p]
- } else (u = hasOwn$1(i, p)), (i = i[p])
- u && !s && (INTRINSICS[o] = i)
- }
- }
- return i
- },
- callBind$1 = { exports: {} }
- !(function (t) {
- var n = functionBind,
- r = getIntrinsic,
- a = r('%Function.prototype.apply%'),
- o = r('%Function.prototype.call%'),
- i = r('%Reflect.apply%', !0) || n.call(o, a),
- s = r('%Object.getOwnPropertyDescriptor%', !0),
- l = r('%Object.defineProperty%', !0),
- c = r('%Math.max%')
- if (l)
- try {
- l({}, 'a', { value: 1 })
- } catch (e) {
- l = null
- }
- t.exports = function (e) {
- var t = i(n, o, arguments)
- if (s && l) {
- var r = s(t, 'length')
- r.configurable &&
- l(t, 'length', { value: 1 + c(0, e.length - (arguments.length - 1)) })
- }
- return t
- }
- var u = function () {
- return i(n, a, arguments)
- }
- l ? l(t.exports, 'apply', { value: u }) : (t.exports.apply = u)
- })(callBind$1)
- var GetIntrinsic$1 = getIntrinsic,
- callBind = callBind$1.exports,
- $indexOf = callBind(GetIntrinsic$1('String.prototype.indexOf')),
- callBound$1 = function (e, t) {
- var n = GetIntrinsic$1(e, !!t)
- return 'function' == typeof n && $indexOf(e, '.prototype.') > -1 ? callBind(n) : n
- },
- __viteBrowserExternal = {},
- __viteBrowserExternal$1 = Object.freeze(
- Object.defineProperty(
- { __proto__: null, default: __viteBrowserExternal },
- Symbol.toStringTag,
- { value: 'Module' }
- )
- ),
- require$$0 = getAugmentedNamespace(__viteBrowserExternal$1),
- hasMap = 'function' == typeof Map && Map.prototype,
- mapSizeDescriptor =
- Object.getOwnPropertyDescriptor && hasMap
- ? Object.getOwnPropertyDescriptor(Map.prototype, 'size')
- : null,
- mapSize =
- hasMap && mapSizeDescriptor && 'function' == typeof mapSizeDescriptor.get
- ? mapSizeDescriptor.get
- : null,
- mapForEach = hasMap && Map.prototype.forEach,
- hasSet = 'function' == typeof Set && Set.prototype,
- setSizeDescriptor =
- Object.getOwnPropertyDescriptor && hasSet
- ? Object.getOwnPropertyDescriptor(Set.prototype, 'size')
- : null,
- setSize =
- hasSet && setSizeDescriptor && 'function' == typeof setSizeDescriptor.get
- ? setSizeDescriptor.get
- : null,
- setForEach = hasSet && Set.prototype.forEach,
- hasWeakMap = 'function' == typeof WeakMap && WeakMap.prototype,
- weakMapHas = hasWeakMap ? WeakMap.prototype.has : null,
- hasWeakSet = 'function' == typeof WeakSet && WeakSet.prototype,
- weakSetHas = hasWeakSet ? WeakSet.prototype.has : null,
- hasWeakRef = 'function' == typeof WeakRef && WeakRef.prototype,
- weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null,
- booleanValueOf = Boolean.prototype.valueOf,
- objectToString$1 = Object.prototype.toString,
- functionToString = Function.prototype.toString,
- match = String.prototype.match,
- bigIntValueOf = 'function' == typeof BigInt ? BigInt.prototype.valueOf : null,
- gOPS = Object.getOwnPropertySymbols,
- symToString =
- 'function' == typeof Symbol && 'symbol' === _typeof2(Symbol.iterator)
- ? Symbol.prototype.toString
- : null,
- hasShammedSymbols =
- 'function' == typeof Symbol && 'object' === _typeof2(Symbol.iterator),
- isEnumerable = Object.prototype.propertyIsEnumerable,
- gPO =
- ('function' == typeof Reflect ? Reflect.getPrototypeOf : Object.getPrototypeOf) ||
- ([].__proto__ === Array.prototype
- ? function (e) {
- return e.__proto__
- }
- : null),
- inspectCustom = require$$0.custom,
- inspectSymbol = inspectCustom && isSymbol(inspectCustom) ? inspectCustom : null,
- toStringTag =
- 'function' == typeof Symbol && void 0 !== Symbol.toStringTag
- ? Symbol.toStringTag
- : null,
- objectInspect = function e(t, n, r, a) {
- var o = n || {}
- if (has$3(o, 'quoteStyle') && 'single' !== o.quoteStyle && 'double' !== o.quoteStyle)
- throw new TypeError('option "quoteStyle" must be "single" or "double"')
- if (
- has$3(o, 'maxStringLength') &&
- ('number' == typeof o.maxStringLength
- ? o.maxStringLength < 0 && o.maxStringLength !== 1 / 0
- : null !== o.maxStringLength)
- )
- throw new TypeError(
- 'option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`'
- )
- var i = !has$3(o, 'customInspect') || o.customInspect
- if ('boolean' != typeof i && 'symbol' !== i)
- throw new TypeError(
- 'option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`'
- )
- if (
- has$3(o, 'indent') &&
- null !== o.indent &&
- '\t' !== o.indent &&
- !(parseInt(o.indent, 10) === o.indent && o.indent > 0)
- )
- throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`')
- if (void 0 === t) return 'undefined'
- if (null === t) return 'null'
- if ('boolean' == typeof t) return t ? 'true' : 'false'
- if ('string' == typeof t) return inspectString(t, o)
- if ('number' == typeof t) return 0 === t ? (1 / 0 / t > 0 ? '0' : '-0') : String(t)
- if ('bigint' == typeof t) return String(t) + 'n'
- var s = void 0 === o.depth ? 5 : o.depth
- if ((void 0 === r && (r = 0), r >= s && s > 0 && 'object' === _typeof2(t)))
- return isArray$4(t) ? '[Array]' : '[Object]'
- var l = getIndent(o, r)
- if (void 0 === a) a = []
- else if (indexOf(a, t) >= 0) return '[Circular]'
- function c(t, n, i) {
- if ((n && (a = a.slice()).push(n), i)) {
- var s = { depth: o.depth }
- return has$3(o, 'quoteStyle') && (s.quoteStyle = o.quoteStyle), e(t, s, r + 1, a)
- }
- return e(t, o, r + 1, a)
- }
- if ('function' == typeof t) {
- var u = nameOf(t),
- p = arrObjKeys(t, c)
- return (
- '[Function' +
- (u ? ': ' + u : ' (anonymous)') +
- ']' +
- (p.length > 0 ? ' { ' + p.join(', ') + ' }' : '')
- )
- }
- if (isSymbol(t)) {
- var d = hasShammedSymbols
- ? String(t).replace(/^(Symbol\(.*\))_[^)]*$/, '$1')
- : symToString.call(t)
- return 'object' !== _typeof2(t) || hasShammedSymbols ? d : markBoxed(d)
- }
- if (isElement(t)) {
- for (
- var f = '<' + String(t.nodeName).toLowerCase(), h = t.attributes || [], v = 0;
- v < h.length;
- v++
- )
- f += ' ' + h[v].name + '=' + wrapQuotes(quote(h[v].value), 'double', o)
- return (
- (f += '>'),
- t.childNodes && t.childNodes.length && (f += '...'),
- (f += '</' + String(t.nodeName).toLowerCase() + '>')
- )
- }
- if (isArray$4(t)) {
- if (0 === t.length) return '[]'
- var m = arrObjKeys(t, c)
- return l && !singleLineValues(m)
- ? '[' + indentedJoin(m, l) + ']'
- : '[ ' + m.join(', ') + ' ]'
- }
- if (isError(t)) {
- var g = arrObjKeys(t, c)
- return 0 === g.length
- ? '[' + String(t) + ']'
- : '{ [' + String(t) + '] ' + g.join(', ') + ' }'
- }
- if ('object' === _typeof2(t) && i) {
- if (inspectSymbol && 'function' == typeof t[inspectSymbol])
- return t[inspectSymbol]()
- if ('symbol' !== i && 'function' == typeof t.inspect) return t.inspect()
- }
- if (isMap(t)) {
- var y = []
- return (
- mapForEach.call(t, function (e, n) {
- y.push(c(n, t, !0) + ' => ' + c(e, t))
- }),
- collectionOf('Map', mapSize.call(t), y, l)
- )
- }
- if (isSet(t)) {
- var b = []
- return (
- setForEach.call(t, function (e) {
- b.push(c(e, t))
- }),
- collectionOf('Set', setSize.call(t), b, l)
- )
- }
- if (isWeakMap(t)) return weakCollectionOf('WeakMap')
- if (isWeakSet(t)) return weakCollectionOf('WeakSet')
- if (isWeakRef(t)) return weakCollectionOf('WeakRef')
- if (isNumber(t)) return markBoxed(c(Number(t)))
- if (isBigInt(t)) return markBoxed(c(bigIntValueOf.call(t)))
- if (isBoolean(t)) return markBoxed(booleanValueOf.call(t))
- if (isString(t)) return markBoxed(c(String(t)))
- if (!isDate$1(t) && !isRegExp$1(t)) {
- var _ = arrObjKeys(t, c),
- A = gPO
- ? gPO(t) === Object.prototype
- : t instanceof Object || t.constructor === Object,
- x = t instanceof Object ? '' : 'null prototype',
- w =
- !A && toStringTag && Object(t) === t && toStringTag in t
- ? toStr(t).slice(8, -1)
- : x
- ? 'Object'
- : '',
- k =
- (A || 'function' != typeof t.constructor
- ? ''
- : t.constructor.name
- ? t.constructor.name + ' '
- : '') + (w || x ? '[' + [].concat(w || [], x || []).join(': ') + '] ' : '')
- return 0 === _.length
- ? k + '{}'
- : l
- ? k + '{' + indentedJoin(_, l) + '}'
- : k + '{ ' + _.join(', ') + ' }'
- }
- return String(t)
- }
- function wrapQuotes(e, t, n) {
- var r = 'double' === (n.quoteStyle || t) ? '"' : "'"
- return r + e + r
- }
- function quote(e) {
- return String(e).replace(/"/g, '"')
- }
- function isArray$4(e) {
- return !(
- '[object Array]' !== toStr(e) ||
- (toStringTag && 'object' === _typeof2(e) && toStringTag in e)
- )
- }
- function isDate$1(e) {
- return !(
- '[object Date]' !== toStr(e) ||
- (toStringTag && 'object' === _typeof2(e) && toStringTag in e)
- )
- }
- function isRegExp$1(e) {
- return !(
- '[object RegExp]' !== toStr(e) ||
- (toStringTag && 'object' === _typeof2(e) && toStringTag in e)
- )
- }
- function isError(e) {
- return !(
- '[object Error]' !== toStr(e) ||
- (toStringTag && 'object' === _typeof2(e) && toStringTag in e)
- )
- }
- function isString(e) {
- return !(
- '[object String]' !== toStr(e) ||
- (toStringTag && 'object' === _typeof2(e) && toStringTag in e)
- )
- }
- function isNumber(e) {
- return !(
- '[object Number]' !== toStr(e) ||
- (toStringTag && 'object' === _typeof2(e) && toStringTag in e)
- )
- }
- function isBoolean(e) {
- return !(
- '[object Boolean]' !== toStr(e) ||
- (toStringTag && 'object' === _typeof2(e) && toStringTag in e)
- )
- }
- function isSymbol(t) {
- if (hasShammedSymbols) return t && 'object' === _typeof2(t) && t instanceof Symbol
- if ('symbol' === _typeof2(t)) return !0
- if (!t || 'object' !== _typeof2(t) || !symToString) return !1
- try {
- return symToString.call(t), !0
- } catch (e) {}
- return !1
- }
- function isBigInt(t) {
- if (!t || 'object' !== _typeof2(t) || !bigIntValueOf) return !1
- try {
- return bigIntValueOf.call(t), !0
- } catch (e) {}
- return !1
- }
- var hasOwn =
- Object.prototype.hasOwnProperty ||
- function (e) {
- return e in this
- }
- function has$3(e, t) {
- return hasOwn.call(e, t)
- }
- function toStr(e) {
- return objectToString$1.call(e)
- }
- function nameOf(e) {
- if (e.name) return e.name
- var t = match.call(functionToString.call(e), /^function\s*([\w$]+)/)
- return t ? t[1] : null
- }
- function indexOf(e, t) {
- if (e.indexOf) return e.indexOf(t)
- for (var n = 0, r = e.length; n < r; n++) if (e[n] === t) return n
- return -1
- }
- function isMap(t) {
- if (!mapSize || !t || 'object' !== _typeof2(t)) return !1
- try {
- mapSize.call(t)
- try {
- setSize.call(t)
- } catch (n) {
- return !0
- }
- return t instanceof Map
- } catch (e) {}
- return !1
- }
- function isWeakMap(t) {
- if (!weakMapHas || !t || 'object' !== _typeof2(t)) return !1
- try {
- weakMapHas.call(t, weakMapHas)
- try {
- weakSetHas.call(t, weakSetHas)
- } catch (n) {
- return !0
- }
- return t instanceof WeakMap
- } catch (e) {}
- return !1
- }
- function isWeakRef(t) {
- if (!weakRefDeref || !t || 'object' !== _typeof2(t)) return !1
- try {
- return weakRefDeref.call(t), !0
- } catch (e) {}
- return !1
- }
- function isSet(t) {
- if (!setSize || !t || 'object' !== _typeof2(t)) return !1
- try {
- setSize.call(t)
- try {
- mapSize.call(t)
- } catch (n) {
- return !0
- }
- return t instanceof Set
- } catch (e) {}
- return !1
- }
- function isWeakSet(t) {
- if (!weakSetHas || !t || 'object' !== _typeof2(t)) return !1
- try {
- weakSetHas.call(t, weakSetHas)
- try {
- weakMapHas.call(t, weakMapHas)
- } catch (n) {
- return !0
- }
- return t instanceof WeakSet
- } catch (e) {}
- return !1
- }
- function isElement(e) {
- return (
- !(!e || 'object' !== _typeof2(e)) &&
- (('undefined' != typeof HTMLElement && e instanceof HTMLElement) ||
- ('string' == typeof e.nodeName && 'function' == typeof e.getAttribute))
- )
- }
- function inspectString(e, t) {
- if (e.length > t.maxStringLength) {
- var n = e.length - t.maxStringLength,
- r = '... ' + n + ' more character' + (n > 1 ? 's' : '')
- return inspectString(e.slice(0, t.maxStringLength), t) + r
- }
- return wrapQuotes(
- e.replace(/(['\\])/g, '\\$1').replace(/[\x00-\x1f]/g, lowbyte),
- 'single',
- t
- )
- }
- function lowbyte(e) {
- var t = e.charCodeAt(0),
- n = { 8: 'b', 9: 't', 10: 'n', 12: 'f', 13: 'r' }[t]
- return n ? '\\' + n : '\\x' + (t < 16 ? '0' : '') + t.toString(16).toUpperCase()
- }
- function markBoxed(e) {
- return 'Object(' + e + ')'
- }
- function weakCollectionOf(e) {
- return e + ' { ? }'
- }
- function collectionOf(e, t, n, r) {
- return e + ' (' + t + ') {' + (r ? indentedJoin(n, r) : n.join(', ')) + '}'
- }
- function singleLineValues(e) {
- for (var t = 0; t < e.length; t++) if (indexOf(e[t], '\n') >= 0) return !1
- return !0
- }
- function getIndent(e, t) {
- var n
- if ('\t' === e.indent) n = '\t'
- else {
- if (!('number' == typeof e.indent && e.indent > 0)) return null
- n = Array(e.indent + 1).join(' ')
- }
- return { base: n, prev: Array(t + 1).join(n) }
- }
- function indentedJoin(e, t) {
- if (0 === e.length) return ''
- var n = '\n' + t.prev + t.base
- return n + e.join(',' + n) + '\n' + t.prev
- }
- function arrObjKeys(e, t) {
- var n = isArray$4(e),
- r = []
- if (n) {
- r.length = e.length
- for (var a = 0; a < e.length; a++) r[a] = has$3(e, a) ? t(e[a], e) : ''
- }
- var o,
- i = 'function' == typeof gOPS ? gOPS(e) : []
- if (hasShammedSymbols) {
- o = {}
- for (var s = 0; s < i.length; s++) o['$' + i[s]] = i[s]
- }
- for (var l in e)
- has$3(e, l) &&
- ((n && String(Number(l)) === l && l < e.length) ||
- (hasShammedSymbols && o['$' + l] instanceof Symbol) ||
- (/[^\w$]/.test(l)
- ? r.push(t(l, e) + ': ' + t(e[l], e))
- : r.push(l + ': ' + t(e[l], e))))
- if ('function' == typeof gOPS)
- for (var c = 0; c < i.length; c++)
- isEnumerable.call(e, i[c]) && r.push('[' + t(i[c]) + ']: ' + t(e[i[c]], e))
- return r
- }
- var GetIntrinsic = getIntrinsic,
- callBound = callBound$1,
- inspect = objectInspect,
- $TypeError = GetIntrinsic('%TypeError%'),
- $WeakMap = GetIntrinsic('%WeakMap%', !0),
- $Map = GetIntrinsic('%Map%', !0),
- $weakMapGet = callBound('WeakMap.prototype.get', !0),
- $weakMapSet = callBound('WeakMap.prototype.set', !0),
- $weakMapHas = callBound('WeakMap.prototype.has', !0),
- $mapGet = callBound('Map.prototype.get', !0),
- $mapSet = callBound('Map.prototype.set', !0),
- $mapHas = callBound('Map.prototype.has', !0),
- listGetNode = function (e, t) {
- for (var n, r = e; null !== (n = r.next); r = n)
- if (n.key === t) return (r.next = n.next), (n.next = e.next), (e.next = n), n
- },
- listGet = function (e, t) {
- var n = listGetNode(e, t)
- return n && n.value
- },
- listSet = function (e, t, n) {
- var r = listGetNode(e, t)
- r ? (r.value = n) : (e.next = { key: t, next: e.next, value: n })
- },
- listHas = function (e, t) {
- return !!listGetNode(e, t)
- },
- sideChannel = function () {
- var e,
- t,
- n,
- r = {
- assert: function (e) {
- if (!r.has(e))
- throw new $TypeError('Side channel does not contain ' + inspect(e))
- },
- get: function (r) {
- if ($WeakMap && r && ('object' === _typeof2(r) || 'function' == typeof r)) {
- if (e) return $weakMapGet(e, r)
- } else if ($Map) {
- if (t) return $mapGet(t, r)
- } else if (n) return listGet(n, r)
- },
- has: function (r) {
- if ($WeakMap && r && ('object' === _typeof2(r) || 'function' == typeof r)) {
- if (e) return $weakMapHas(e, r)
- } else if ($Map) {
- if (t) return $mapHas(t, r)
- } else if (n) return listHas(n, r)
- return !1
- },
- set: function (r, a) {
- $WeakMap && r && ('object' === _typeof2(r) || 'function' == typeof r)
- ? (e || (e = new $WeakMap()), $weakMapSet(e, r, a))
- : $Map
- ? (t || (t = new $Map()), $mapSet(t, r, a))
- : (n || (n = { key: {}, next: null }), listSet(n, r, a))
- }
- }
- return r
- },
- replace = String.prototype.replace,
- percentTwenties = /%20/g,
- Format = { RFC1738: 'RFC1738', RFC3986: 'RFC3986' },
- formats$3 = {
- default: Format.RFC3986,
- formatters: {
- RFC1738: function (e) {
- return replace.call(e, percentTwenties, '+')
- },
- RFC3986: function (e) {
- return String(e)
- }
- },
- RFC1738: Format.RFC1738,
- RFC3986: Format.RFC3986
- },
- formats$2 = formats$3,
- has$2 = Object.prototype.hasOwnProperty,
- isArray$3 = Array.isArray,
- hexTable = (function () {
- for (var e = [], t = 0; t < 256; ++t)
- e.push('%' + ((t < 16 ? '0' : '') + t.toString(16)).toUpperCase())
- return e
- })(),
- compactQueue = function (e) {
- for (; e.length > 1; ) {
- var t = e.pop(),
- n = t.obj[t.prop]
- if (isArray$3(n)) {
- for (var r = [], a = 0; a < n.length; ++a) void 0 !== n[a] && r.push(n[a])
- t.obj[t.prop] = r
- }
- }
- },
- arrayToObject = function (e, t) {
- for (var n = t && t.plainObjects ? Object.create(null) : {}, r = 0; r < e.length; ++r)
- void 0 !== e[r] && (n[r] = e[r])
- return n
- },
- merge = function e(t, n, r) {
- if (!n) return t
- if ('object' !== _typeof2(n)) {
- if (isArray$3(t)) t.push(n)
- else {
- if (!t || 'object' !== _typeof2(t)) return [t, n]
- ;((r && (r.plainObjects || r.allowPrototypes)) ||
- !has$2.call(Object.prototype, n)) &&
- (t[n] = !0)
- }
- return t
- }
- if (!t || 'object' !== _typeof2(t)) return [t].concat(n)
- var a = t
- return (
- isArray$3(t) && !isArray$3(n) && (a = arrayToObject(t, r)),
- isArray$3(t) && isArray$3(n)
- ? (n.forEach(function (n, a) {
- if (has$2.call(t, a)) {
- var o = t[a]
- o && 'object' === _typeof2(o) && n && 'object' === _typeof2(n)
- ? (t[a] = e(o, n, r))
- : t.push(n)
- } else t[a] = n
- }),
- t)
- : Object.keys(n).reduce(function (t, a) {
- var o = n[a]
- return has$2.call(t, a) ? (t[a] = e(t[a], o, r)) : (t[a] = o), t
- }, a)
- )
- },
- assign = function (e, t) {
- return Object.keys(t).reduce(function (e, n) {
- return (e[n] = t[n]), e
- }, e)
- },
- decode$1 = function (t, n, r) {
- var a = t.replace(/\+/g, ' ')
- if ('iso-8859-1' === r) return a.replace(/%[0-9a-f]{2}/gi, unescape)
- try {
- return decodeURIComponent(a)
- } catch (e) {
- return a
- }
- },
- encode = function (e, t, n, r, a) {
- if (0 === e.length) return e
- var o = e
- if (
- ('symbol' === _typeof2(e)
- ? (o = Symbol.prototype.toString.call(e))
- : 'string' != typeof e && (o = String(e)),
- 'iso-8859-1' === n)
- )
- return escape(o).replace(/%u[0-9a-f]{4}/gi, function (e) {
- return '%26%23' + parseInt(e.slice(2), 16) + '%3B'
- })
- for (var i = '', s = 0; s < o.length; ++s) {
- var l = o.charCodeAt(s)
- 45 === l ||
- 46 === l ||
- 95 === l ||
- 126 === l ||
- (l >= 48 && l <= 57) ||
- (l >= 65 && l <= 90) ||
- (l >= 97 && l <= 122) ||
- (a === formats$2.RFC1738 && (40 === l || 41 === l))
- ? (i += o.charAt(s))
- : l < 128
- ? (i += hexTable[l])
- : l < 2048
- ? (i += hexTable[192 | (l >> 6)] + hexTable[128 | (63 & l)])
- : l < 55296 || l >= 57344
- ? (i +=
- hexTable[224 | (l >> 12)] +
- hexTable[128 | ((l >> 6) & 63)] +
- hexTable[128 | (63 & l)])
- : ((s += 1),
- (l = 65536 + (((1023 & l) << 10) | (1023 & o.charCodeAt(s)))),
- (i +=
- hexTable[240 | (l >> 18)] +
- hexTable[128 | ((l >> 12) & 63)] +
- hexTable[128 | ((l >> 6) & 63)] +
- hexTable[128 | (63 & l)]))
- }
- return i
- },
- compact = function (e) {
- for (var t = [{ obj: { o: e }, prop: 'o' }], n = [], r = 0; r < t.length; ++r)
- for (
- var a = t[r], o = a.obj[a.prop], i = Object.keys(o), s = 0;
- s < i.length;
- ++s
- ) {
- var l = i[s],
- c = o[l]
- 'object' === _typeof2(c) &&
- null !== c &&
- -1 === n.indexOf(c) &&
- (t.push({ obj: o, prop: l }), n.push(c))
- }
- return compactQueue(t), e
- },
- isRegExp = function (e) {
- return '[object RegExp]' === Object.prototype.toString.call(e)
- },
- isBuffer = function (e) {
- return (
- !(!e || 'object' !== _typeof2(e)) &&
- !!(e.constructor && e.constructor.isBuffer && e.constructor.isBuffer(e))
- )
- },
- combine = function (e, t) {
- return [].concat(e, t)
- },
- maybeMap = function (e, t) {
- if (isArray$3(e)) {
- for (var n = [], r = 0; r < e.length; r += 1) n.push(t(e[r]))
- return n
- }
- return t(e)
- },
- utils$2 = {
- arrayToObject: arrayToObject,
- assign: assign,
- combine: combine,
- compact: compact,
- decode: decode$1,
- encode: encode,
- isBuffer: isBuffer,
- isRegExp: isRegExp,
- maybeMap: maybeMap,
- merge: merge
- },
- getSideChannel = sideChannel,
- utils$1 = utils$2,
- formats$1 = formats$3,
- has$1 = Object.prototype.hasOwnProperty,
- arrayPrefixGenerators = {
- brackets: function (e) {
- return e + '[]'
- },
- comma: 'comma',
- indices: function (e, t) {
- return e + '[' + t + ']'
- },
- repeat: function (e) {
- return e
- }
- },
- isArray$2 = Array.isArray,
- split = String.prototype.split,
- push = Array.prototype.push,
- pushToArray = function (e, t) {
- push.apply(e, isArray$2(t) ? t : [t])
- },
- toISO = Date.prototype.toISOString,
- defaultFormat = formats$1.default,
- defaults$1 = {
- addQueryPrefix: !1,
- allowDots: !1,
- charset: 'utf-8',
- charsetSentinel: !1,
- delimiter: '&',
- encode: !0,
- encoder: utils$1.encode,
- encodeValuesOnly: !1,
- format: defaultFormat,
- formatter: formats$1.formatters[defaultFormat],
- indices: !1,
- serializeDate: function (e) {
- return toISO.call(e)
- },
- skipNulls: !1,
- strictNullHandling: !1
- },
- isNonNullishPrimitive = function (e) {
- return (
- 'string' == typeof e ||
- 'number' == typeof e ||
- 'boolean' == typeof e ||
- 'symbol' === _typeof2(e) ||
- 'bigint' == typeof e
- )
- },
- sentinel = {},
- stringify$1 = function e(t, n, r, a, o, i, s, l, c, u, p, d, f, h, v) {
- for (var m = t, g = v, y = 0, b = !1; void 0 !== (g = g.get(sentinel)) && !b; ) {
- var _ = g.get(t)
- if (((y += 1), void 0 !== _)) {
- if (_ === y) throw new RangeError('Cyclic object value')
- b = !0
- }
- void 0 === g.get(sentinel) && (y = 0)
- }
- if (
- ('function' == typeof s
- ? (m = s(n, m))
- : m instanceof Date
- ? (m = u(m))
- : 'comma' === r &&
- isArray$2(m) &&
- (m = utils$1.maybeMap(m, function (e) {
- return e instanceof Date ? u(e) : e
- })),
- null === m)
- ) {
- if (a) return i && !f ? i(n, defaults$1.encoder, h, 'key', p) : n
- m = ''
- }
- if (isNonNullishPrimitive(m) || utils$1.isBuffer(m)) {
- if (i) {
- var A = f ? n : i(n, defaults$1.encoder, h, 'key', p)
- if ('comma' === r && f) {
- for (var x = split.call(String(m), ','), w = '', k = 0; k < x.length; ++k)
- w += (0 === k ? '' : ',') + d(i(x[k], defaults$1.encoder, h, 'value', p))
- return [d(A) + '=' + w]
- }
- return [d(A) + '=' + d(i(m, defaults$1.encoder, h, 'value', p))]
- }
- return [d(n) + '=' + d(String(m))]
- }
- var S,
- E = []
- if (void 0 === m) return E
- if ('comma' === r && isArray$2(m))
- S = [{ value: m.length > 0 ? m.join(',') || null : void 0 }]
- else if (isArray$2(s)) S = s
- else {
- var P = Object.keys(m)
- S = l ? P.sort(l) : P
- }
- for (var C = 0; C < S.length; ++C) {
- var T = S[C],
- I = 'object' === _typeof2(T) && void 0 !== T.value ? T.value : m[T]
- if (!o || null !== I) {
- var R = isArray$2(m)
- ? 'function' == typeof r
- ? r(n, T)
- : n
- : n + (c ? '.' + T : '[' + T + ']')
- v.set(t, y)
- var M = getSideChannel()
- M.set(sentinel, v), pushToArray(E, e(I, R, r, a, o, i, s, l, c, u, p, d, f, h, M))
- }
- }
- return E
- },
- normalizeStringifyOptions = function (e) {
- if (!e) return defaults$1
- if (null !== e.encoder && void 0 !== e.encoder && 'function' != typeof e.encoder)
- throw new TypeError('Encoder has to be a function.')
- var t = e.charset || defaults$1.charset
- if (void 0 !== e.charset && 'utf-8' !== e.charset && 'iso-8859-1' !== e.charset)
- throw new TypeError(
- 'The charset option must be either utf-8, iso-8859-1, or undefined'
- )
- var n = formats$1.default
- if (void 0 !== e.format) {
- if (!has$1.call(formats$1.formatters, e.format))
- throw new TypeError('Unknown format option provided.')
- n = e.format
- }
- var r = formats$1.formatters[n],
- a = defaults$1.filter
- return (
- ('function' == typeof e.filter || isArray$2(e.filter)) && (a = e.filter),
- {
- addQueryPrefix:
- 'boolean' == typeof e.addQueryPrefix
- ? e.addQueryPrefix
- : defaults$1.addQueryPrefix,
- allowDots: void 0 === e.allowDots ? defaults$1.allowDots : !!e.allowDots,
- charset: t,
- charsetSentinel:
- 'boolean' == typeof e.charsetSentinel
- ? e.charsetSentinel
- : defaults$1.charsetSentinel,
- delimiter: void 0 === e.delimiter ? defaults$1.delimiter : e.delimiter,
- encode: 'boolean' == typeof e.encode ? e.encode : defaults$1.encode,
- encoder: 'function' == typeof e.encoder ? e.encoder : defaults$1.encoder,
- encodeValuesOnly:
- 'boolean' == typeof e.encodeValuesOnly
- ? e.encodeValuesOnly
- : defaults$1.encodeValuesOnly,
- filter: a,
- format: n,
- formatter: r,
- serializeDate:
- 'function' == typeof e.serializeDate
- ? e.serializeDate
- : defaults$1.serializeDate,
- skipNulls: 'boolean' == typeof e.skipNulls ? e.skipNulls : defaults$1.skipNulls,
- sort: 'function' == typeof e.sort ? e.sort : null,
- strictNullHandling:
- 'boolean' == typeof e.strictNullHandling
- ? e.strictNullHandling
- : defaults$1.strictNullHandling
- }
- )
- },
- stringify_1 = function (e, t) {
- var n,
- r = e,
- a = normalizeStringifyOptions(t)
- 'function' == typeof a.filter
- ? (r = (0, a.filter)('', r))
- : isArray$2(a.filter) && (n = a.filter)
- var o,
- i = []
- if ('object' !== _typeof2(r) || null === r) return ''
- o =
- t && t.arrayFormat in arrayPrefixGenerators
- ? t.arrayFormat
- : t && 'indices' in t
- ? t.indices
- ? 'indices'
- : 'repeat'
- : 'indices'
- var s = arrayPrefixGenerators[o]
- n || (n = Object.keys(r)), a.sort && n.sort(a.sort)
- for (var l = getSideChannel(), c = 0; c < n.length; ++c) {
- var u = n[c]
- ;(a.skipNulls && null === r[u]) ||
- pushToArray(
- i,
- stringify$1(
- r[u],
- u,
- s,
- a.strictNullHandling,
- a.skipNulls,
- a.encode ? a.encoder : null,
- a.filter,
- a.sort,
- a.allowDots,
- a.serializeDate,
- a.format,
- a.formatter,
- a.encodeValuesOnly,
- a.charset,
- l
- )
- )
- }
- var p = i.join(a.delimiter),
- d = !0 === a.addQueryPrefix ? '?' : ''
- return (
- a.charsetSentinel &&
- ('iso-8859-1' === a.charset
- ? (d += 'utf8=%26%2310003%3B&')
- : (d += 'utf8=%E2%9C%93&')),
- p.length > 0 ? d + p : ''
- )
- },
- utils = utils$2,
- has = Object.prototype.hasOwnProperty,
- isArray$1 = Array.isArray,
- defaults = {
- allowDots: !1,
- allowPrototypes: !1,
- allowSparse: !1,
- arrayLimit: 20,
- charset: 'utf-8',
- charsetSentinel: !1,
- comma: !1,
- decoder: utils.decode,
- delimiter: '&',
- depth: 5,
- ignoreQueryPrefix: !1,
- interpretNumericEntities: !1,
- parameterLimit: 1e3,
- parseArrays: !0,
- plainObjects: !1,
- strictNullHandling: !1
- },
- interpretNumericEntities = function (e) {
- return e.replace(/&#(\d+);/g, function (e, t) {
- return String.fromCharCode(parseInt(t, 10))
- })
- },
- parseArrayValue = function (e, t) {
- return e && 'string' == typeof e && t.comma && e.indexOf(',') > -1 ? e.split(',') : e
- },
- isoSentinel = 'utf8=%26%2310003%3B',
- charsetSentinel = 'utf8=%E2%9C%93',
- parseValues = function (e, t) {
- var n,
- r = {},
- a = t.ignoreQueryPrefix ? e.replace(/^\?/, '') : e,
- o = t.parameterLimit === 1 / 0 ? void 0 : t.parameterLimit,
- i = a.split(t.delimiter, o),
- s = -1,
- l = t.charset
- if (t.charsetSentinel)
- for (n = 0; n < i.length; ++n)
- 0 === i[n].indexOf('utf8=') &&
- (i[n] === charsetSentinel
- ? (l = 'utf-8')
- : i[n] === isoSentinel && (l = 'iso-8859-1'),
- (s = n),
- (n = i.length))
- for (n = 0; n < i.length; ++n)
- if (n !== s) {
- var c,
- u,
- p = i[n],
- d = p.indexOf(']='),
- f = -1 === d ? p.indexOf('=') : d + 1
- ;-1 === f
- ? ((c = t.decoder(p, defaults.decoder, l, 'key')),
- (u = t.strictNullHandling ? null : ''))
- : ((c = t.decoder(p.slice(0, f), defaults.decoder, l, 'key')),
- (u = utils.maybeMap(parseArrayValue(p.slice(f + 1), t), function (e) {
- return t.decoder(e, defaults.decoder, l, 'value')
- }))),
- u &&
- t.interpretNumericEntities &&
- 'iso-8859-1' === l &&
- (u = interpretNumericEntities(u)),
- p.indexOf('[]=') > -1 && (u = isArray$1(u) ? [u] : u),
- has.call(r, c) ? (r[c] = utils.combine(r[c], u)) : (r[c] = u)
- }
- return r
- },
- parseObject = function (e, t, n, r) {
- for (var a = r ? t : parseArrayValue(t, n), o = e.length - 1; o >= 0; --o) {
- var i,
- s = e[o]
- if ('[]' === s && n.parseArrays) i = [].concat(a)
- else {
- i = n.plainObjects ? Object.create(null) : {}
- var l =
- '[' === s.charAt(0) && ']' === s.charAt(s.length - 1) ? s.slice(1, -1) : s,
- c = parseInt(l, 10)
- n.parseArrays || '' !== l
- ? !isNaN(c) &&
- s !== l &&
- String(c) === l &&
- c >= 0 &&
- n.parseArrays &&
- c <= n.arrayLimit
- ? ((i = [])[c] = a)
- : '__proto__' !== l && (i[l] = a)
- : (i = { 0: a })
- }
- a = i
- }
- return a
- },
- parseKeys = function (e, t, n, r) {
- if (e) {
- var a = n.allowDots ? e.replace(/\.([^.[]+)/g, '[$1]') : e,
- o = /(\[[^[\]]*])/g,
- i = n.depth > 0 && /(\[[^[\]]*])/.exec(a),
- s = i ? a.slice(0, i.index) : a,
- l = []
- if (s) {
- if (!n.plainObjects && has.call(Object.prototype, s) && !n.allowPrototypes) return
- l.push(s)
- }
- for (var c = 0; n.depth > 0 && null !== (i = o.exec(a)) && c < n.depth; ) {
- if (
- ((c += 1),
- !n.plainObjects &&
- has.call(Object.prototype, i[1].slice(1, -1)) &&
- !n.allowPrototypes)
- )
- return
- l.push(i[1])
- }
- return i && l.push('[' + a.slice(i.index) + ']'), parseObject(l, t, n, r)
- }
- },
- normalizeParseOptions = function (e) {
- if (!e) return defaults
- if (null !== e.decoder && void 0 !== e.decoder && 'function' != typeof e.decoder)
- throw new TypeError('Decoder has to be a function.')
- if (void 0 !== e.charset && 'utf-8' !== e.charset && 'iso-8859-1' !== e.charset)
- throw new TypeError(
- 'The charset option must be either utf-8, iso-8859-1, or undefined'
- )
- var t = void 0 === e.charset ? defaults.charset : e.charset
- return {
- allowDots: void 0 === e.allowDots ? defaults.allowDots : !!e.allowDots,
- allowPrototypes:
- 'boolean' == typeof e.allowPrototypes
- ? e.allowPrototypes
- : defaults.allowPrototypes,
- allowSparse:
- 'boolean' == typeof e.allowSparse ? e.allowSparse : defaults.allowSparse,
- arrayLimit: 'number' == typeof e.arrayLimit ? e.arrayLimit : defaults.arrayLimit,
- charset: t,
- charsetSentinel:
- 'boolean' == typeof e.charsetSentinel
- ? e.charsetSentinel
- : defaults.charsetSentinel,
- comma: 'boolean' == typeof e.comma ? e.comma : defaults.comma,
- decoder: 'function' == typeof e.decoder ? e.decoder : defaults.decoder,
- delimiter:
- 'string' == typeof e.delimiter || utils.isRegExp(e.delimiter)
- ? e.delimiter
- : defaults.delimiter,
- depth: 'number' == typeof e.depth || !1 === e.depth ? +e.depth : defaults.depth,
- ignoreQueryPrefix: !0 === e.ignoreQueryPrefix,
- interpretNumericEntities:
- 'boolean' == typeof e.interpretNumericEntities
- ? e.interpretNumericEntities
- : defaults.interpretNumericEntities,
- parameterLimit:
- 'number' == typeof e.parameterLimit ? e.parameterLimit : defaults.parameterLimit,
- parseArrays: !1 !== e.parseArrays,
- plainObjects:
- 'boolean' == typeof e.plainObjects ? e.plainObjects : defaults.plainObjects,
- strictNullHandling:
- 'boolean' == typeof e.strictNullHandling
- ? e.strictNullHandling
- : defaults.strictNullHandling
- }
- },
- parse$1 = function (e, t) {
- var n = normalizeParseOptions(t)
- if ('' === e || null == e) return n.plainObjects ? Object.create(null) : {}
- for (
- var r = 'string' == typeof e ? parseValues(e, n) : e,
- a = n.plainObjects ? Object.create(null) : {},
- o = Object.keys(r),
- i = 0;
- i < o.length;
- ++i
- ) {
- var s = o[i],
- l = parseKeys(s, r[s], n, 'string' == typeof e)
- a = utils.merge(a, l, n)
- }
- return !0 === n.allowSparse ? a : utils.compact(a)
- },
- stringify = stringify_1,
- parse = parse$1,
- formats = formats$3,
- lib = { formats: formats, parse: parse, stringify: stringify },
- global$1 =
- ('undefined' != typeof globalThis && globalThis) ||
- ('undefined' != typeof self && self) ||
- (void 0 !== global$1 && global$1),
- support = {
- searchParams: 'URLSearchParams' in global$1,
- iterable: 'Symbol' in global$1 && 'iterator' in Symbol,
- blob:
- 'FileReader' in global$1 &&
- 'Blob' in global$1 &&
- (function () {
- try {
- return new Blob(), !0
- } catch (e) {
- return !1
- }
- })(),
- formData: 'FormData' in global$1,
- arrayBuffer: 'ArrayBuffer' in global$1
- }
- function isDataView(e) {
- return e && DataView.prototype.isPrototypeOf(e)
- }
- if (support.arrayBuffer)
- var viewClasses = [
- '[object Int8Array]',
- '[object Uint8Array]',
- '[object Uint8ClampedArray]',
- '[object Int16Array]',
- '[object Uint16Array]',
- '[object Int32Array]',
- '[object Uint32Array]',
- '[object Float32Array]',
- '[object Float64Array]'
- ],
- isArrayBufferView =
- ArrayBuffer.isView ||
- function (e) {
- return e && viewClasses.indexOf(Object.prototype.toString.call(e)) > -1
- }
- function normalizeName(e) {
- if (
- ('string' != typeof e && (e = String(e)),
- /[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e) || '' === e)
- )
- throw new TypeError('Invalid character in header field name: "' + e + '"')
- return e.toLowerCase()
- }
- function normalizeValue(e) {
- return 'string' != typeof e && (e = String(e)), e
- }
- function iteratorFor(e) {
- var t = {
- next: function () {
- var t = e.shift()
- return { done: void 0 === t, value: t }
- }
- }
- return (
- support.iterable &&
- (t[Symbol.iterator] = function () {
- return t
- }),
- t
- )
- }
- function Headers(e) {
- ;(this.map = {}),
- e instanceof Headers
- ? e.forEach(function (e, t) {
- this.append(t, e)
- }, this)
- : Array.isArray(e)
- ? e.forEach(function (e) {
- this.append(e[0], e[1])
- }, this)
- : e &&
- Object.getOwnPropertyNames(e).forEach(function (t) {
- this.append(t, e[t])
- }, this)
- }
- function consumed(e) {
- if (e.bodyUsed) return Promise.reject(new TypeError('Already read'))
- e.bodyUsed = !0
- }
- function fileReaderReady(e) {
- return new Promise(function (t, n) {
- ;(e.onload = function () {
- t(e.result)
- }),
- (e.onerror = function () {
- n(e.error)
- })
- })
- }
- function readBlobAsArrayBuffer(e) {
- var t = new FileReader(),
- n = fileReaderReady(t)
- return t.readAsArrayBuffer(e), n
- }
- function readBlobAsText(e) {
- var t = new FileReader(),
- n = fileReaderReady(t)
- return t.readAsText(e), n
- }
- function readArrayBufferAsText(e) {
- for (var t = new Uint8Array(e), n = new Array(t.length), r = 0; r < t.length; r++)
- n[r] = String.fromCharCode(t[r])
- return n.join('')
- }
- function bufferClone(e) {
- if (e.slice) return e.slice(0)
- var t = new Uint8Array(e.byteLength)
- return t.set(new Uint8Array(e)), t.buffer
- }
- function Body() {
- return (
- (this.bodyUsed = !1),
- (this._initBody = function (e) {
- ;(this.bodyUsed = this.bodyUsed),
- (this._bodyInit = e),
- e
- ? 'string' == typeof e
- ? (this._bodyText = e)
- : support.blob && Blob.prototype.isPrototypeOf(e)
- ? (this._bodyBlob = e)
- : support.formData && FormData.prototype.isPrototypeOf(e)
- ? (this._bodyFormData = e)
- : support.searchParams && URLSearchParams.prototype.isPrototypeOf(e)
- ? (this._bodyText = e.toString())
- : support.arrayBuffer && support.blob && isDataView(e)
- ? ((this._bodyArrayBuffer = bufferClone(e.buffer)),
- (this._bodyInit = new Blob([this._bodyArrayBuffer])))
- : support.arrayBuffer &&
- (ArrayBuffer.prototype.isPrototypeOf(e) || isArrayBufferView(e))
- ? (this._bodyArrayBuffer = bufferClone(e))
- : (this._bodyText = e = Object.prototype.toString.call(e))
- : (this._bodyText = ''),
- this.headers.get('content-type') ||
- ('string' == typeof e
- ? this.headers.set('content-type', 'text/plain;charset=UTF-8')
- : this._bodyBlob && this._bodyBlob.type
- ? this.headers.set('content-type', this._bodyBlob.type)
- : support.searchParams &&
- URLSearchParams.prototype.isPrototypeOf(e) &&
- this.headers.set(
- 'content-type',
- 'application/x-www-form-urlencoded;charset=UTF-8'
- ))
- }),
- support.blob &&
- ((this.blob = function () {
- var e = consumed(this)
- if (e) return e
- if (this._bodyBlob) return Promise.resolve(this._bodyBlob)
- if (this._bodyArrayBuffer)
- return Promise.resolve(new Blob([this._bodyArrayBuffer]))
- if (this._bodyFormData) throw new Error('could not read FormData body as blob')
- return Promise.resolve(new Blob([this._bodyText]))
- }),
- (this.arrayBuffer = function () {
- if (this._bodyArrayBuffer) {
- var e = consumed(this)
- return (
- e ||
- (ArrayBuffer.isView(this._bodyArrayBuffer)
- ? Promise.resolve(
- this._bodyArrayBuffer.buffer.slice(
- this._bodyArrayBuffer.byteOffset,
- this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength
- )
- )
- : Promise.resolve(this._bodyArrayBuffer))
- )
- }
- return this.blob().then(readBlobAsArrayBuffer)
- })),
- (this.text = function () {
- var e = consumed(this)
- if (e) return e
- if (this._bodyBlob) return readBlobAsText(this._bodyBlob)
- if (this._bodyArrayBuffer)
- return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer))
- if (this._bodyFormData) throw new Error('could not read FormData body as text')
- return Promise.resolve(this._bodyText)
- }),
- support.formData &&
- (this.formData = function () {
- return this.text().then(decode)
- }),
- (this.json = function () {
- return this.text().then(JSON.parse)
- }),
- this
- )
- }
- ;(Headers.prototype.append = function (e, t) {
- ;(e = normalizeName(e)), (t = normalizeValue(t))
- var n = this.map[e]
- this.map[e] = n ? n + ', ' + t : t
- }),
- (Headers.prototype.delete = function (e) {
- delete this.map[normalizeName(e)]
- }),
- (Headers.prototype.get = function (e) {
- return (e = normalizeName(e)), this.has(e) ? this.map[e] : null
- }),
- (Headers.prototype.has = function (e) {
- return this.map.hasOwnProperty(normalizeName(e))
- }),
- (Headers.prototype.set = function (e, t) {
- this.map[normalizeName(e)] = normalizeValue(t)
- }),
- (Headers.prototype.forEach = function (e, t) {
- for (var n in this.map) this.map.hasOwnProperty(n) && e.call(t, this.map[n], n, this)
- }),
- (Headers.prototype.keys = function () {
- var e = []
- return (
- this.forEach(function (t, n) {
- e.push(n)
- }),
- iteratorFor(e)
- )
- }),
- (Headers.prototype.values = function () {
- var e = []
- return (
- this.forEach(function (t) {
- e.push(t)
- }),
- iteratorFor(e)
- )
- }),
- (Headers.prototype.entries = function () {
- var e = []
- return (
- this.forEach(function (t, n) {
- e.push([n, t])
- }),
- iteratorFor(e)
- )
- }),
- support.iterable && (Headers.prototype[Symbol.iterator] = Headers.prototype.entries)
- var methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT']
- function normalizeMethod(e) {
- var t = e.toUpperCase()
- return methods.indexOf(t) > -1 ? t : e
- }
- function Request(e, t) {
- if (!(this instanceof Request))
- throw new TypeError(
- 'Please use the "new" operator, this DOM object constructor cannot be called as a function.'
- )
- var n = (t = t || {}).body
- if (e instanceof Request) {
- if (e.bodyUsed) throw new TypeError('Already read')
- ;(this.url = e.url),
- (this.credentials = e.credentials),
- t.headers || (this.headers = new Headers(e.headers)),
- (this.method = e.method),
- (this.mode = e.mode),
- (this.signal = e.signal),
- n || null == e._bodyInit || ((n = e._bodyInit), (e.bodyUsed = !0))
- } else this.url = String(e)
- if (
- ((this.credentials = t.credentials || this.credentials || 'same-origin'),
- (!t.headers && this.headers) || (this.headers = new Headers(t.headers)),
- (this.method = normalizeMethod(t.method || this.method || 'GET')),
- (this.mode = t.mode || this.mode || null),
- (this.signal = t.signal || this.signal),
- (this.referrer = null),
- ('GET' === this.method || 'HEAD' === this.method) && n)
- )
- throw new TypeError('Body not allowed for GET or HEAD requests')
- if (
- (this._initBody(n),
- !(
- ('GET' !== this.method && 'HEAD' !== this.method) ||
- ('no-store' !== t.cache && 'no-cache' !== t.cache)
- ))
- ) {
- var r = /([?&])_=[^&]*/
- if (r.test(this.url)) this.url = this.url.replace(r, '$1_=' + new Date().getTime())
- else {
- this.url += (/\?/.test(this.url) ? '&' : '?') + '_=' + new Date().getTime()
- }
- }
- }
- function decode(e) {
- var t = new FormData()
- return (
- e
- .trim()
- .split('&')
- .forEach(function (e) {
- if (e) {
- var n = e.split('='),
- r = n.shift().replace(/\+/g, ' '),
- a = n.join('=').replace(/\+/g, ' ')
- t.append(decodeURIComponent(r), decodeURIComponent(a))
- }
- }),
- t
- )
- }
- function parseHeaders(e) {
- var t = new Headers()
- return (
- e
- .replace(/\r?\n[\t ]+/g, ' ')
- .split('\r')
- .map(function (e) {
- return 0 === e.indexOf('\n') ? e.substr(1, e.length) : e
- })
- .forEach(function (e) {
- var n = e.split(':'),
- r = n.shift().trim()
- if (r) {
- var a = n.join(':').trim()
- t.append(r, a)
- }
- }),
- t
- )
- }
- function Response(e, t) {
- if (!(this instanceof Response))
- throw new TypeError(
- 'Please use the "new" operator, this DOM object constructor cannot be called as a function.'
- )
- t || (t = {}),
- (this.type = 'default'),
- (this.status = void 0 === t.status ? 200 : t.status),
- (this.ok = this.status >= 200 && this.status < 300),
- (this.statusText = void 0 === t.statusText ? '' : '' + t.statusText),
- (this.headers = new Headers(t.headers)),
- (this.url = t.url || ''),
- this._initBody(e)
- }
- ;(Request.prototype.clone = function () {
- return new Request(this, { body: this._bodyInit })
- }),
- Body.call(Request.prototype),
- Body.call(Response.prototype),
- (Response.prototype.clone = function () {
- return new Response(this._bodyInit, {
- status: this.status,
- statusText: this.statusText,
- headers: new Headers(this.headers),
- url: this.url
- })
- }),
- (Response.error = function () {
- var e = new Response(null, { status: 0, statusText: '' })
- return (e.type = 'error'), e
- })
- var redirectStatuses = [301, 302, 303, 307, 308]
- Response.redirect = function (e, t) {
- if (-1 === redirectStatuses.indexOf(t)) throw new RangeError('Invalid status code')
- return new Response(null, { status: t, headers: { location: e } })
- }
- var DOMException = global$1.DOMException
- try {
- new DOMException()
- } catch (err) {
- ;(DOMException = function (e, t) {
- ;(this.message = e), (this.name = t)
- var n = Error(e)
- this.stack = n.stack
- }),
- (DOMException.prototype = Object.create(Error.prototype)),
- (DOMException.prototype.constructor = DOMException)
- }
- function fetch$1(t, n) {
- return new Promise(function (r, a) {
- var o = new Request(t, n)
- if (o.signal && o.signal.aborted) return a(new DOMException('Aborted', 'AbortError'))
- var i = new XMLHttpRequest()
- function s() {
- i.abort()
- }
- ;(i.onload = function () {
- var e = {
- status: i.status,
- statusText: i.statusText,
- headers: parseHeaders(i.getAllResponseHeaders() || '')
- }
- e.url = 'responseURL' in i ? i.responseURL : e.headers.get('X-Request-URL')
- var t = 'response' in i ? i.response : i.responseText
- setTimeout(function () {
- r(new Response(t, e))
- }, 0)
- }),
- (i.onerror = function () {
- setTimeout(function () {
- a(new TypeError('Network request failed'))
- }, 0)
- }),
- (i.ontimeout = function () {
- setTimeout(function () {
- a(new TypeError('Network request failed'))
- }, 0)
- }),
- (i.onabort = function () {
- setTimeout(function () {
- a(new DOMException('Aborted', 'AbortError'))
- }, 0)
- }),
- i.open(
- o.method,
- (function (t) {
- try {
- return '' === t && global$1.location.href ? global$1.location.href : t
- } catch (e) {
- return t
- }
- })(o.url),
- !0
- ),
- 'include' === o.credentials
- ? (i.withCredentials = !0)
- : 'omit' === o.credentials && (i.withCredentials = !1),
- 'responseType' in i &&
- (support.blob
- ? (i.responseType = 'blob')
- : support.arrayBuffer &&
- o.headers.get('Content-Type') &&
- -1 !== o.headers.get('Content-Type').indexOf('application/octet-stream') &&
- (i.responseType = 'arraybuffer')),
- !n || 'object' !== _typeof2(n.headers) || n.headers instanceof Headers
- ? o.headers.forEach(function (e, t) {
- i.setRequestHeader(t, e)
- })
- : Object.getOwnPropertyNames(n.headers).forEach(function (e) {
- i.setRequestHeader(e, normalizeValue(n.headers[e]))
- }),
- o.signal &&
- (o.signal.addEventListener('abort', s),
- (i.onreadystatechange = function () {
- 4 === i.readyState && o.signal.removeEventListener('abort', s)
- })),
- i.send(void 0 === o._bodyInit ? null : o._bodyInit)
- })
- }
- function ownKeys(e, t) {
- var n = Object.keys(e)
- if (Object.getOwnPropertySymbols) {
- var r = Object.getOwnPropertySymbols(e)
- t &&
- (r = r.filter(function (t) {
- return Object.getOwnPropertyDescriptor(e, t).enumerable
- })),
- n.push.apply(n, r)
- }
- return n
- }
- function _objectSpread2(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? arguments[t] : {}
- t % 2
- ? ownKeys(Object(n), !0).forEach(function (t) {
- _defineProperty(e, t, n[t])
- })
- : Object.getOwnPropertyDescriptors
- ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))
- : ownKeys(Object(n)).forEach(function (t) {
- Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t))
- })
- }
- return e
- }
- function _typeof(e) {
- return (
- (_typeof =
- 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator
- ? function (e) {
- return typeof e
- }
- : function (e) {
- return e &&
- 'function' == typeof Symbol &&
- e.constructor === Symbol &&
- e !== Symbol.prototype
- ? 'symbol'
- : typeof e
- }),
- _typeof(e)
- )
- }
- function _classCallCheck(e, t) {
- if (!(e instanceof t)) throw new TypeError('Cannot call a class as a function')
- }
- function _defineProperties(e, t) {
- for (var n = 0; n < t.length; n++) {
- var r = t[n]
- ;(r.enumerable = r.enumerable || !1),
- (r.configurable = !0),
- 'value' in r && (r.writable = !0),
- Object.defineProperty(e, r.key, r)
- }
- }
- function _createClass(e, t, n) {
- return t && _defineProperties(e.prototype, t), n && _defineProperties(e, n), e
- }
- function _defineProperty(e, t, n) {
- return (
- t in e
- ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- })
- : (e[t] = n),
- e
- )
- }
- function _inherits(e, t) {
- if ('function' != typeof t && null !== t)
- throw new TypeError('Super expression must either be null or a function')
- ;(e.prototype = Object.create(t && t.prototype, {
- constructor: { value: e, writable: !0, configurable: !0 }
- })),
- t && _setPrototypeOf(e, t)
- }
- function _getPrototypeOf(e) {
- return (
- (_getPrototypeOf = Object.setPrototypeOf
- ? Object.getPrototypeOf
- : function (e) {
- return e.__proto__ || Object.getPrototypeOf(e)
- }),
- _getPrototypeOf(e)
- )
- }
- function _setPrototypeOf(e, t) {
- return (
- (_setPrototypeOf =
- Object.setPrototypeOf ||
- function (e, t) {
- return (e.__proto__ = t), e
- }),
- _setPrototypeOf(e, t)
- )
- }
- function _isNativeReflectConstruct() {
- if ('undefined' == typeof Reflect || !Reflect.construct) return !1
- if (Reflect.construct.sham) return !1
- if ('function' == typeof Proxy) return !0
- try {
- return (
- Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0
- )
- } catch (e) {
- return !1
- }
- }
- function _construct(e, t, n) {
- return (
- (_construct = _isNativeReflectConstruct()
- ? Reflect.construct
- : function (e, t, n) {
- var r = [null]
- r.push.apply(r, t)
- var a = new (Function.bind.apply(e, r))()
- return n && _setPrototypeOf(a, n.prototype), a
- }),
- _construct.apply(null, arguments)
- )
- }
- function _isNativeFunction(e) {
- return -1 !== Function.toString.call(e).indexOf('[native code]')
- }
- function _wrapNativeSuper(e) {
- var t = 'function' == typeof Map ? new Map() : void 0
- return (
- (_wrapNativeSuper = function (e) {
- if (null === e || !_isNativeFunction(e)) return e
- if ('function' != typeof e)
- throw new TypeError('Super expression must either be null or a function')
- if (void 0 !== t) {
- if (t.has(e)) return t.get(e)
- t.set(e, n)
- }
- function n() {
- return _construct(e, arguments, _getPrototypeOf(this).constructor)
- }
- return (
- (n.prototype = Object.create(e.prototype, {
- constructor: { value: n, enumerable: !1, writable: !0, configurable: !0 }
- })),
- _setPrototypeOf(n, e)
- )
- }),
- _wrapNativeSuper(e)
- )
- }
- function _assertThisInitialized(e) {
- if (void 0 === e)
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
- return e
- }
- function _possibleConstructorReturn(e, t) {
- if (t && ('object' === _typeof2(t) || 'function' == typeof t)) return t
- if (void 0 !== t)
- throw new TypeError('Derived constructors may only return object or undefined')
- return _assertThisInitialized(e)
- }
- function _createSuper(e) {
- var t = _isNativeReflectConstruct()
- return function () {
- var n,
- r = _getPrototypeOf(e)
- if (t) {
- var a = _getPrototypeOf(this).constructor
- n = Reflect.construct(r, arguments, a)
- } else n = r.apply(this, arguments)
- return _possibleConstructorReturn(this, n)
- }
- }
- function _toConsumableArray(e) {
- return (
- _arrayWithoutHoles(e) ||
- _iterableToArray(e) ||
- _unsupportedIterableToArray(e) ||
- _nonIterableSpread()
- )
- }
- function _arrayWithoutHoles(e) {
- if (Array.isArray(e)) return _arrayLikeToArray(e)
- }
- function _iterableToArray(e) {
- if (
- ('undefined' != typeof Symbol && null != e[Symbol.iterator]) ||
- null != e['@@iterator']
- )
- return Array.from(e)
- }
- function _unsupportedIterableToArray(e, t) {
- if (e) {
- if ('string' == typeof e) return _arrayLikeToArray(e, t)
- var n = Object.prototype.toString.call(e).slice(8, -1)
- return (
- 'Object' === n && e.constructor && (n = e.constructor.name),
- 'Map' === n || 'Set' === n
- ? Array.from(e)
- : 'Arguments' === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
- ? _arrayLikeToArray(e, t)
- : void 0
- )
- }
- }
- function _arrayLikeToArray(e, t) {
- ;(null == t || t > e.length) && (t = e.length)
- for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]
- return r
- }
- function _nonIterableSpread() {
- throw new TypeError(
- 'Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.'
- )
- }
- function compose(e) {
- if (!Array.isArray(e)) throw new TypeError('Middlewares must be an array!')
- for (var t = e.length, n = 0; n < t; n++)
- if ('function' != typeof e[n])
- throw new TypeError('Middleware must be componsed of function')
- return function (t, n) {
- var r = -1
- return (function a(o) {
- if (o <= r)
- return Promise.reject(
- new Error('next() should not be called multiple times in one middleware!')
- )
- r = o
- var i = e[o] || n
- if (!i) return Promise.resolve()
- try {
- return Promise.resolve(
- i(t, function () {
- return a(o + 1)
- })
- )
- } catch (err) {
- return Promise.reject(err)
- }
- })(0)
- }
- }
- ;(fetch$1.polyfill = !0),
- global$1.fetch ||
- ((global$1.fetch = fetch$1),
- (global$1.Headers = Headers),
- (global$1.Request = Request),
- (global$1.Response = Response)),
- self.fetch.bind(self)
- var Onion = (function () {
- function e(t) {
- if ((_classCallCheck(this, e), !Array.isArray(t)))
- throw new TypeError('Default middlewares must be an array!')
- ;(this.defaultMiddlewares = _toConsumableArray(t)), (this.middlewares = [])
- }
- return (
- _createClass(e, [
- {
- key: 'use',
- value: function (t) {
- var n =
- arguments.length > 1 && void 0 !== arguments[1]
- ? arguments[1]
- : { global: !1, core: !1, defaultInstance: !1 },
- r = !1,
- a = !1,
- o = !1
- 'number' == typeof n
- ? (process && process.env, (r = !0), (a = !1))
- : 'object' === _typeof(n) &&
- n &&
- ((a = n.global || !1), (r = n.core || !1), (o = n.defaultInstance || !1)),
- a
- ? e.globalMiddlewares.splice(
- e.globalMiddlewares.length - e.defaultGlobalMiddlewaresLength,
- 0,
- t
- )
- : r
- ? e.coreMiddlewares.splice(
- e.coreMiddlewares.length - e.defaultCoreMiddlewaresLength,
- 0,
- t
- )
- : o
- ? this.defaultMiddlewares.push(t)
- : this.middlewares.push(t)
- }
- },
- {
- key: 'execute',
- value: function () {
- var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null,
- n = compose(
- [].concat(
- _toConsumableArray(this.middlewares),
- _toConsumableArray(this.defaultMiddlewares),
- _toConsumableArray(e.globalMiddlewares),
- _toConsumableArray(e.coreMiddlewares)
- )
- )
- return n(t)
- }
- }
- ]),
- e
- )
- })()
- ;(Onion.globalMiddlewares = []),
- (Onion.defaultGlobalMiddlewaresLength = 0),
- (Onion.coreMiddlewares = []),
- (Onion.defaultCoreMiddlewaresLength = 0)
- var MapCache = (function () {
- function e(t) {
- _classCallCheck(this, e),
- (this.cache = new Map()),
- (this.timer = {}),
- this.extendOptions(t)
- }
- return (
- _createClass(e, [
- {
- key: 'extendOptions',
- value: function (e) {
- this.maxCache = e.maxCache || 0
- }
- },
- {
- key: 'get',
- value: function (e) {
- return this.cache.get(JSON.stringify(e))
- }
- },
- {
- key: 'set',
- value: function (e, t) {
- var n = this,
- r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 6e4
- if (this.maxCache > 0 && this.cache.size >= this.maxCache) {
- var a = _toConsumableArray(this.cache.keys())[0]
- this.cache.delete(a), this.timer[a] && clearTimeout(this.timer[a])
- }
- var o = JSON.stringify(e)
- this.cache.set(o, t),
- r > 0 &&
- (this.timer[o] = setTimeout(function () {
- n.cache.delete(o), delete n.timer[o]
- }, r))
- }
- },
- {
- key: 'delete',
- value: function (e) {
- var t = JSON.stringify(e)
- return delete this.timer[t], this.cache.delete(t)
- }
- },
- {
- key: 'clear',
- value: function () {
- return (this.timer = {}), this.cache.clear()
- }
- }
- ]),
- e
- )
- })(),
- RequestError = (function (e) {
- _inherits(n, e)
- var t = _createSuper(n)
- function n(e, r) {
- var a,
- o =
- arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 'RequestError'
- return (
- _classCallCheck(this, n),
- ((a = t.call(this, e)).name = 'RequestError'),
- (a.request = r),
- (a.type = o),
- a
- )
- }
- return n
- })(_wrapNativeSuper(Error)),
- ResponseError = (function (e) {
- _inherits(n, e)
- var t = _createSuper(n)
- function n(e, r, a, o) {
- var i,
- s =
- arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : 'ResponseError'
- return (
- _classCallCheck(this, n),
- ((i = t.call(this, r || e.statusText)).name = 'ResponseError'),
- (i.data = a),
- (i.response = e),
- (i.request = o),
- (i.type = s),
- i
- )
- }
- return n
- })(_wrapNativeSuper(Error))
- function readerGBK(e) {
- return new Promise(function (t, n) {
- var r = new FileReader()
- ;(r.onload = function () {
- t(r.result)
- }),
- (r.onerror = n),
- r.readAsText(e, 'GBK')
- })
- }
- function safeJsonParse(t) {
- var n = arguments.length > 1 && void 0 !== arguments[1] && arguments[1],
- r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : null,
- a = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : null
- try {
- return JSON.parse(t)
- } catch (e) {
- if (n) throw new ResponseError(r, 'JSON.parse fail', t, a, 'ParseError')
- }
- return t
- }
- function timeout2Throw(e, t, n) {
- return new Promise(function (r, a) {
- setTimeout(function () {
- a(new RequestError(t || 'timeout of '.concat(e, 'ms exceeded'), n, 'Timeout'))
- }, e)
- })
- }
- function cancel2Throw(e) {
- return new Promise(function (t, n) {
- e.cancelToken &&
- e.cancelToken.promise.then(function (e) {
- n(e)
- })
- })
- }
- var toString = Object.prototype.toString
- function getEnv() {
- var e
- return (
- 'undefined' != typeof process &&
- '[object process]' === toString.call(process) &&
- (e = 'NODE'),
- 'undefined' != typeof XMLHttpRequest && (e = 'BROWSER'),
- e
- )
- }
- function isArray(e) {
- return 'object' === _typeof(e) && '[object Array]' === Object.prototype.toString.call(e)
- }
- function isURLSearchParams(e) {
- return 'undefined' != typeof URLSearchParams && e instanceof URLSearchParams
- }
- function isDate(e) {
- return 'object' === _typeof(e) && '[object Date]' === Object.prototype.toString.call(e)
- }
- function isObject(e) {
- return null !== e && 'object' === _typeof(e)
- }
- function forEach2ObjArr(e, t) {
- if (e)
- if (('object' !== _typeof(e) && (e = [e]), isArray(e)))
- for (var n = 0; n < e.length; n++) t.call(null, e[n], n, e)
- else
- for (var r in e)
- Object.prototype.hasOwnProperty.call(e, r) && t.call(null, e[r], r, e)
- }
- function getParamObject(e) {
- return isURLSearchParams(e)
- ? lib.parse(e.toString(), { strictNullHandling: !0 })
- : 'string' == typeof e
- ? [e]
- : e
- }
- function reqStringify(e) {
- return lib.stringify(e, { arrayFormat: 'repeat', strictNullHandling: !0 })
- }
- function mergeRequestOptions(e, t) {
- return _objectSpread2(
- _objectSpread2(_objectSpread2({}, e), t),
- {},
- {
- headers: _objectSpread2(_objectSpread2({}, e.headers), t.headers),
- params: _objectSpread2(
- _objectSpread2({}, getParamObject(e.params)),
- getParamObject(t.params)
- ),
- method: (t.method || e.method || 'get').toLowerCase()
- }
- )
- }
- var addfix = function (e) {
- var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
- n = t.prefix,
- r = t.suffix
- return (
- n && (e = ''.concat(n).concat(e)),
- r && (e = ''.concat(e).concat(r)),
- { url: e, options: t }
- )
- },
- warnedCoreType = !1
- function __defaultValidateCache(e, t) {
- var n = t.method
- return 'get' === (void 0 === n ? 'get' : n).toLowerCase()
- }
- function fetchMiddleware(e, t) {
- if (!e) return t()
- var n = e.req,
- r = (n = void 0 === n ? {} : n).options,
- a = void 0 === r ? {} : r,
- o = n.url,
- i = void 0 === o ? '' : o,
- s = e.cache,
- l = e.responseInterceptors,
- c = a.timeout,
- u = void 0 === c ? 0 : c,
- p = a.timeoutMessage,
- d = a.__umiRequestCoreType__,
- f = void 0 === d ? 'normal' : d,
- h = a.useCache,
- v = void 0 !== h && h,
- m = a.method,
- g = void 0 === m ? 'get' : m,
- y = a.params,
- b = a.ttl,
- _ = a.validateCache,
- A = void 0 === _ ? __defaultValidateCache : _
- if ('normal' !== f) return process && process.env, t()
- var x = fetch
- if (!x) throw new Error('Global fetch not exist!')
- var w,
- k = 'BROWSER' === getEnv(),
- S = A(i, a) && v && k
- if (S) {
- var E = s.get({ url: i, params: y, method: g })
- if (E) return ((E = E.clone()).useCache = !0), (e.res = E), t()
- }
- return (
- (w =
- u > 0
- ? Promise.race([cancel2Throw(a), x(i, a), timeout2Throw(u, p, e.req)])
- : Promise.race([cancel2Throw(a), x(i, a)])),
- l.forEach(function (e) {
- w = w.then(function (t) {
- var n = 'function' == typeof t.clone ? t.clone() : t
- return e(n, a)
- })
- }),
- w.then(function (n) {
- if (S && 200 === n.status) {
- var r = n.clone()
- ;(r.useCache = !0), s.set({ url: i, params: y, method: g }, r, b)
- }
- return (e.res = n), t()
- })
- )
- }
- function parseResponseMiddleware(t, n) {
- var r
- return n()
- .then(function () {
- if (t) {
- var n = t.res,
- a = void 0 === n ? {} : n,
- o = t.req,
- i = void 0 === o ? {} : o,
- s = (i || {}).options,
- l = (s = void 0 === s ? {} : s).responseType,
- c = void 0 === l ? 'json' : l,
- u = s.charset,
- p = void 0 === u ? 'utf8' : u
- s.getResponse
- var d = s.throwErrIfParseFail,
- f = void 0 !== d && d,
- h = s.parseResponse
- if ((void 0 === h || h) && a && a.clone) {
- if (
- (((r = 'BROWSER' === getEnv() ? a.clone() : a).useCache = a.useCache || !1),
- 'gbk' === p)
- )
- try {
- return a
- .blob()
- .then(readerGBK)
- .then(function (e) {
- return safeJsonParse(e, !1, r, i)
- })
- } catch (e) {
- throw new ResponseError(r, e.message, null, i, 'ParseError')
- }
- else if ('json' === c)
- return a.text().then(function (e) {
- return safeJsonParse(e, f, r, i)
- })
- try {
- return a[c]()
- } catch (e) {
- throw new ResponseError(r, 'responseType not support', null, i, 'ParseError')
- }
- }
- }
- })
- .then(function (e) {
- if (t) {
- t.res
- var n = t.req,
- a = void 0 === n ? {} : n,
- o = (a || {}).options,
- i = (o = void 0 === o ? {} : o).getResponse,
- s = void 0 !== i && i
- if (r) {
- if (r.status >= 200 && r.status < 300)
- return s ? void (t.res = { data: e, response: r }) : void (t.res = e)
- throw new ResponseError(r, 'http error', e, a, 'HttpError')
- }
- }
- })
- .catch(function (e) {
- if (e instanceof RequestError || e instanceof ResponseError) throw e
- var n = t.req,
- r = t.res
- throw (
- ((e.request = e.request || n),
- (e.response = e.response || r),
- (e.type = e.type || e.name),
- (e.data = e.data || void 0),
- e)
- )
- })
- }
- function simplePostMiddleware(e, t) {
- if (!e) return t()
- var n = e.req,
- r = (n = void 0 === n ? {} : n).options,
- a = void 0 === r ? {} : r,
- o = a.method
- if (
- -1 ===
- ['post', 'put', 'patch', 'delete'].indexOf((void 0 === o ? 'get' : o).toLowerCase())
- )
- return t()
- var i = a.requestType,
- s = void 0 === i ? 'json' : i,
- l = a.data
- if (l) {
- var c = Object.prototype.toString.call(l)
- '[object Object]' === c || '[object Array]' === c
- ? 'json' === s
- ? ((a.headers = _objectSpread2(
- {
- Accept: 'application/json',
- 'Content-Type': 'application/json;charset=UTF-8'
- },
- a.headers
- )),
- (a.body = JSON.stringify(l)))
- : 'form' === s &&
- ((a.headers = _objectSpread2(
- {
- Accept: 'application/json',
- 'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'
- },
- a.headers
- )),
- (a.body = reqStringify(l)))
- : ((a.headers = _objectSpread2({ Accept: 'application/json' }, a.headers)),
- (a.body = l))
- }
- return (e.req.options = a), t()
- }
- function paramsSerialize(e, t) {
- var n, r
- if (e)
- if (t) n = t(e)
- else if (isURLSearchParams(e)) n = e.toString()
- else {
- if (isArray(e))
- (r = []),
- forEach2ObjArr(e, function (e) {
- null == e ? r.push(e) : r.push(isObject(e) ? JSON.stringify(e) : e)
- }),
- (n = reqStringify(r))
- else
- (r = {}),
- forEach2ObjArr(e, function (e, t) {
- var n = e
- null == e
- ? (r[t] = e)
- : isDate(e)
- ? (n = e.toISOString())
- : isArray(e)
- ? (n = e)
- : isObject(e) && (n = JSON.stringify(e)),
- (r[t] = n)
- }),
- (n = reqStringify(r))
- }
- return n
- }
- function simpleGetMiddleware(e, t) {
- if (!e) return t()
- var n = e.req,
- r = (n = void 0 === n ? {} : n).options,
- a = void 0 === r ? {} : r,
- o = a.paramsSerializer,
- i = a.params,
- s = e.req,
- l = (s = void 0 === s ? {} : s).url,
- c = void 0 === l ? '' : l
- ;(a.method = a.method ? a.method.toUpperCase() : 'GET'),
- (a.credentials = a.credentials || 'same-origin')
- var u = paramsSerialize(i, o)
- if (((e.req.originUrl = c), u)) {
- var p = -1 !== c.indexOf('?') ? '&' : '?'
- e.req.url = ''.concat(c).concat(p).concat(u)
- }
- return (e.req.options = a), t()
- }
- var globalMiddlewares = [
- simplePostMiddleware,
- simpleGetMiddleware,
- parseResponseMiddleware
- ],
- coreMiddlewares = [fetchMiddleware]
- ;(Onion.globalMiddlewares = globalMiddlewares),
- (Onion.defaultGlobalMiddlewaresLength = globalMiddlewares.length),
- (Onion.coreMiddlewares = coreMiddlewares),
- (Onion.defaultCoreMiddlewaresLength = coreMiddlewares.length)
- var Core = (function () {
- function t(e) {
- _classCallCheck(this, t),
- (this.onion = new Onion([])),
- (this.fetchIndex = 0),
- (this.mapCache = new MapCache(e)),
- (this.initOptions = e),
- (this.instanceRequestInterceptors = []),
- (this.instanceResponseInterceptors = [])
- }
- return (
- _createClass(
- t,
- [
- {
- key: 'use',
- value: function (e) {
- var t =
- arguments.length > 1 && void 0 !== arguments[1]
- ? arguments[1]
- : { global: !1, core: !1 }
- return this.onion.use(e, t), this
- }
- },
- {
- key: 'extendOptions',
- value: function (e) {
- ;(this.initOptions = mergeRequestOptions(this.initOptions, e)),
- this.mapCache.extendOptions(e)
- }
- },
- {
- key: 'dealRequestInterceptors',
- value: function (e) {
- return []
- .concat(
- _toConsumableArray(t.requestInterceptors),
- _toConsumableArray(this.instanceRequestInterceptors)
- )
- .reduce(function (t, n) {
- return t.then(function () {
- var t =
- arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
- return (
- (e.req.url = t.url || e.req.url),
- (e.req.options = t.options || e.req.options),
- n(e.req.url, e.req.options)
- )
- })
- }, Promise.resolve())
- .then(function () {
- var t =
- arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
- return (
- (e.req.url = t.url || e.req.url),
- (e.req.options = t.options || e.req.options),
- Promise.resolve()
- )
- })
- }
- },
- {
- key: 'request',
- value: function (n, r) {
- var a = this,
- o = this.onion,
- i = {
- req: {
- url: n,
- options: _objectSpread2(_objectSpread2({}, r), {}, { url: n })
- },
- res: null,
- cache: this.mapCache,
- responseInterceptors: [].concat(
- _toConsumableArray(t.responseInterceptors),
- _toConsumableArray(this.instanceResponseInterceptors)
- )
- }
- if ('string' != typeof n) throw new Error('url MUST be a string')
- return new Promise(function (t, n) {
- a.dealRequestInterceptors(i)
- .then(function () {
- return o.execute(i)
- })
- .then(function () {
- t(i.res)
- })
- .catch(function (r) {
- var a = i.req.options.errorHandler
- if (a)
- try {
- var o = a(r)
- t(o)
- } catch (e) {
- n(e)
- }
- else n(r)
- })
- })
- }
- }
- ],
- [
- {
- key: 'requestUse',
- value: function (e) {
- var n =
- arguments.length > 1 && void 0 !== arguments[1]
- ? arguments[1]
- : { global: !0 }
- if ('function' != typeof e)
- throw new TypeError('Interceptor must be function!')
- n.global
- ? t.requestInterceptors.push(e)
- : this.instanceRequestInterceptors.push(e)
- }
- },
- {
- key: 'responseUse',
- value: function (e) {
- var n =
- arguments.length > 1 && void 0 !== arguments[1]
- ? arguments[1]
- : { global: !0 }
- if ('function' != typeof e)
- throw new TypeError('Interceptor must be function!')
- n.global
- ? t.responseInterceptors.push(e)
- : this.instanceResponseInterceptors.push(e)
- }
- }
- ]
- ),
- t
- )
- })()
- function Cancel(e) {
- this.message = e
- }
- function CancelToken(e) {
- if ('function' != typeof e) throw new TypeError('executor must be a function.')
- var t
- this.promise = new Promise(function (e) {
- t = e
- })
- var n = this
- e(function (e) {
- n.reason || ((n.reason = new Cancel(e)), t(n.reason))
- })
- }
- function isCancel(e) {
- return !(!e || !e.__CANCEL__)
- }
- ;(Core.requestInterceptors = [addfix]),
- (Core.responseInterceptors = []),
- (Cancel.prototype.toString = function () {
- return this.message ? 'Cancel: '.concat(this.message) : 'Cancel'
- }),
- (Cancel.prototype.__CANCEL__ = !0),
- (CancelToken.prototype.throwIfRequested = function () {
- if (this.reason) throw this.reason
- }),
- (CancelToken.source = function () {
- var e
- return {
- token: new CancelToken(function (t) {
- e = t
- }),
- cancel: e
- }
- })
- var request$1 = function () {
- var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
- t = new Core(e),
- n = function (e) {
- var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
- r = mergeRequestOptions(t.initOptions, n)
- return t.request(e, r)
- }
- ;(n.use = t.use.bind(t)),
- (n.fetchIndex = t.fetchIndex),
- (n.interceptors = {
- request: { use: Core.requestUse.bind(t) },
- response: { use: Core.responseUse.bind(t) }
- })
- var r = ['get', 'post', 'delete', 'put', 'patch', 'head', 'options', 'rpc']
- return (
- r.forEach(function (e) {
- n[e] = function (t, r) {
- return n(t, _objectSpread2(_objectSpread2({}, r), {}, { method: e }))
- }
- }),
- (n.Cancel = Cancel),
- (n.CancelToken = CancelToken),
- (n.isCancel = isCancel),
- (n.extendOptions = t.extendOptions.bind(t)),
- (n.middlewares = {
- instance: t.onion.middlewares,
- defaultInstance: t.onion.defaultMiddlewares,
- global: Onion.globalMiddlewares,
- core: Onion.coreMiddlewares
- }),
- n
- )
- },
- extend = exports('bo', function (e) {
- return request$1(e)
- })
- request$1({ parseResponse: !1 })
- var request$1$1 = exports('bz', request$1({})),
- lodash_isempty = { exports: {} }
- !(function (t, n) {
- var r = 9007199254740991,
- a = '[object Map]',
- o = '[object Promise]',
- i = '[object Set]',
- s = '[object WeakMap]',
- l = '[object DataView]',
- c = /^\[object .+?Constructor\]$/,
- u =
- 'object' == _typeof2(commonjsGlobal$1) &&
- commonjsGlobal$1 &&
- commonjsGlobal$1.Object === Object &&
- commonjsGlobal$1,
- p =
- 'object' == ('undefined' == typeof self ? 'undefined' : _typeof2(self)) &&
- self &&
- self.Object === Object &&
- self,
- d = u || p || Function('return this')(),
- f = n && !n.nodeType && n,
- h = f && t && !t.nodeType && t,
- v = h && h.exports === f
- var m = Function.prototype,
- g = Object.prototype,
- y = d['__core-js_shared__'],
- b = (function () {
- var e = /[^.]+$/.exec((y && y.keys && y.keys.IE_PROTO) || '')
- return e ? 'Symbol(src)_1.' + e : ''
- })(),
- _ = m.toString,
- A = g.hasOwnProperty,
- x = g.toString,
- w = RegExp(
- '^' +
- _.call(A)
- .replace(/[\\^$.*+?()[\]{}|]/g, '\\$&')
- .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') +
- '$'
- ),
- k = v ? d.Buffer : void 0,
- S = g.propertyIsEnumerable,
- E = k ? k.isBuffer : void 0,
- P = (function (e, t) {
- return function (n) {
- return e(t(n))
- }
- })(Object.keys, Object),
- C = V(d, 'DataView'),
- T = V(d, 'Map'),
- I = V(d, 'Promise'),
- R = V(d, 'Set'),
- M = V(d, 'WeakMap'),
- z = !S.call({ valueOf: 1 }, 'valueOf'),
- O = H(C),
- D = H(T),
- F = H(I),
- B = H(R),
- N = H(M)
- function j(t) {
- if (!K(t) || ((n = t), b && b in n)) return !1
- var n,
- r =
- $(t) ||
- (function (t) {
- var n = !1
- if (null != t && 'function' != typeof t.toString)
- try {
- n = !!(t + '')
- } catch (e) {}
- return n
- })(t)
- ? w
- : c
- return r.test(H(t))
- }
- function V(e, t) {
- var n = (function (e, t) {
- return null == e ? void 0 : e[t]
- })(e, t)
- return j(n) ? n : void 0
- }
- var L = function (e) {
- return x.call(e)
- }
- function H(t) {
- if (null != t) {
- try {
- return _.call(t)
- } catch (e) {}
- try {
- return t + ''
- } catch (e) {}
- }
- return ''
- }
- function G(e) {
- return (
- (function (e) {
- return (
- (function (e) {
- return !!e && 'object' == _typeof2(e)
- })(e) && U(e)
- )
- })(e) &&
- A.call(e, 'callee') &&
- (!S.call(e, 'callee') || '[object Arguments]' == x.call(e))
- )
- }
- ;((C && L(new C(new ArrayBuffer(1))) != l) ||
- (T && L(new T()) != a) ||
- (I && L(I.resolve()) != o) ||
- (R && L(new R()) != i) ||
- (M && L(new M()) != s)) &&
- (L = function (e) {
- var t = x.call(e),
- n = '[object Object]' == t ? e.constructor : void 0,
- r = n ? H(n) : void 0
- if (r)
- switch (r) {
- case O:
- return l
- case D:
- return a
- case F:
- return o
- case B:
- return i
- case N:
- return s
- }
- return t
- })
- var q = Array.isArray
- function U(e) {
- return (
- null != e &&
- (function (e) {
- return 'number' == typeof e && e > -1 && e % 1 == 0 && e <= r
- })(e.length) &&
- !$(e)
- )
- }
- var W =
- E ||
- function () {
- return !1
- }
- function $(e) {
- var t = K(e) ? x.call(e) : ''
- return '[object Function]' == t || '[object GeneratorFunction]' == t
- }
- function K(e) {
- var t = _typeof2(e)
- return !!e && ('object' == t || 'function' == t)
- }
- t.exports = function (e) {
- if (
- U(e) &&
- (q(e) || 'string' == typeof e || 'function' == typeof e.splice || W(e) || G(e))
- )
- return !e.length
- var t = L(e)
- if (t == a || t == i) return !e.size
- if (
- z ||
- (function (e) {
- var t = e && e.constructor
- return e === (('function' == typeof t && t.prototype) || g)
- })(e)
- )
- return !P(e).length
- for (var n in e) if (A.call(e, n)) return !1
- return !0
- }
- })(lodash_isempty, lodash_isempty.exports)
- var objectTag = '[object Object]'
- function isHostObject(t) {
- var n = !1
- if (null != t && 'function' != typeof t.toString)
- try {
- n = !!(t + '')
- } catch (e) {}
- return n
- }
- function overArg(e, t) {
- return function (n) {
- return e(t(n))
- }
- }
- var funcProto = Function.prototype,
- objectProto = Object.prototype,
- funcToString = funcProto.toString,
- hasOwnProperty = objectProto.hasOwnProperty,
- objectCtorString = funcToString.call(Object),
- objectToString = objectProto.toString,
- getPrototype = overArg(Object.getPrototypeOf, Object)
- function isObjectLike(e) {
- return !!e && 'object' == _typeof2(e)
- }
- function isPlainObject$1(e) {
- if (!isObjectLike(e) || objectToString.call(e) != objectTag || isHostObject(e))
- return !1
- var t = getPrototype(e)
- if (null === t) return !0
- var n = hasOwnProperty.call(t, 'constructor') && t.constructor
- return (
- 'function' == typeof n && n instanceof n && funcToString.call(n) == objectCtorString
- )
- }
- var lodash_isplainobject = isPlainObject$1,
- lodash_transform = { exports: {} }
- !(function (t, n) {
- var r = '__lodash_hash_undefined__',
- a = 9007199254740991,
- o = '[object Arguments]',
- i = '[object Array]',
- s = '[object Boolean]',
- l = '[object Date]',
- c = '[object Error]',
- u = '[object Function]',
- p = '[object Map]',
- d = '[object Number]',
- f = '[object Object]',
- h = '[object Promise]',
- v = '[object RegExp]',
- m = '[object Set]',
- g = '[object String]',
- y = '[object Symbol]',
- b = '[object WeakMap]',
- _ = '[object ArrayBuffer]',
- A = '[object DataView]',
- x = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
- w = /^\w*$/,
- k = /^\./,
- S =
- /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,
- E = /\\(\\)?/g,
- P = /^\[object .+?Constructor\]$/,
- C = /^(?:0|[1-9]\d*)$/,
- T = {}
- ;(T['[object Float32Array]'] =
- T['[object Float64Array]'] =
- T['[object Int8Array]'] =
- T['[object Int16Array]'] =
- T['[object Int32Array]'] =
- T['[object Uint8Array]'] =
- T['[object Uint8ClampedArray]'] =
- T['[object Uint16Array]'] =
- T['[object Uint32Array]'] =
- !0),
- (T[o] =
- T[i] =
- T[_] =
- T[s] =
- T[A] =
- T[l] =
- T[c] =
- T[u] =
- T[p] =
- T[d] =
- T[f] =
- T[v] =
- T[m] =
- T[g] =
- T[b] =
- !1)
- var I =
- 'object' == _typeof2(commonjsGlobal$1) &&
- commonjsGlobal$1 &&
- commonjsGlobal$1.Object === Object &&
- commonjsGlobal$1,
- R =
- 'object' == ('undefined' == typeof self ? 'undefined' : _typeof2(self)) &&
- self &&
- self.Object === Object &&
- self,
- M = I || R || Function('return this')(),
- z = n && !n.nodeType && n,
- O = z && t && !t.nodeType && t,
- D = O && O.exports === z && I.process,
- F = (function () {
- try {
- return D && D.binding('util')
- } catch (e) {}
- })(),
- B = F && F.isTypedArray
- function N(e, t) {
- for (var n = -1, r = e ? e.length : 0; ++n < r && !1 !== t(e[n], n, e); );
- return e
- }
- function j(e, t) {
- for (var n = -1, r = e ? e.length : 0; ++n < r; ) if (t(e[n], n, e)) return !0
- return !1
- }
- function V(t) {
- var n = !1
- if (null != t && 'function' != typeof t.toString)
- try {
- n = !!(t + '')
- } catch (e) {}
- return n
- }
- function L(e) {
- var t = -1,
- n = Array(e.size)
- return (
- e.forEach(function (e, r) {
- n[++t] = [r, e]
- }),
- n
- )
- }
- function H(e, t) {
- return function (n) {
- return e(t(n))
- }
- }
- function G(e) {
- var t = -1,
- n = Array(e.size)
- return (
- e.forEach(function (e) {
- n[++t] = e
- }),
- n
- )
- }
- var q = Array.prototype,
- U = Function.prototype,
- W = Object.prototype,
- $ = M['__core-js_shared__'],
- K = (function () {
- var e = /[^.]+$/.exec(($ && $.keys && $.keys.IE_PROTO) || '')
- return e ? 'Symbol(src)_1.' + e : ''
- })(),
- Y = U.toString,
- J = W.hasOwnProperty,
- Q = W.toString,
- X = RegExp(
- '^' +
- Y.call(J)
- .replace(/[\\^$.*+?()[\]{}|]/g, '\\$&')
- .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') +
- '$'
- ),
- Z = M.Symbol,
- ee = M.Uint8Array,
- te = H(Object.getPrototypeOf, Object),
- ne = Object.create,
- re = W.propertyIsEnumerable,
- ae = q.splice,
- oe = H(Object.keys, Object),
- ie = je(M, 'DataView'),
- se = je(M, 'Map'),
- le = je(M, 'Promise'),
- ce = je(M, 'Set'),
- ue = je(M, 'WeakMap'),
- pe = je(Object, 'create'),
- de = $e(ie),
- fe = $e(se),
- he = $e(le),
- ve = $e(ce),
- me = $e(ue),
- ge = Z ? Z.prototype : void 0,
- ye = ge ? ge.valueOf : void 0,
- be = ge ? ge.toString : void 0
- function _e(e) {
- var t = -1,
- n = e ? e.length : 0
- for (this.clear(); ++t < n; ) {
- var r = e[t]
- this.set(r[0], r[1])
- }
- }
- function Ae(e) {
- var t = -1,
- n = e ? e.length : 0
- for (this.clear(); ++t < n; ) {
- var r = e[t]
- this.set(r[0], r[1])
- }
- }
- function xe(e) {
- var t = -1,
- n = e ? e.length : 0
- for (this.clear(); ++t < n; ) {
- var r = e[t]
- this.set(r[0], r[1])
- }
- }
- function we(e) {
- var t = -1,
- n = e ? e.length : 0
- for (this.__data__ = new xe(); ++t < n; ) this.add(e[t])
- }
- function ke(e) {
- this.__data__ = new Ae(e)
- }
- function Se(e, t) {
- var n =
- Qe(e) || Je(e)
- ? (function (e, t) {
- for (var n = -1, r = Array(e); ++n < e; ) r[n] = t(n)
- return r
- })(e.length, String)
- : [],
- r = n.length,
- a = !!r
- for (var o in e)
- (!t && !J.call(e, o)) || (a && ('length' == o || Le(o, r))) || n.push(o)
- return n
- }
- function Ee(e, t) {
- for (var n = e.length; n--; ) if (Ye(e[n][0], t)) return n
- return -1
- }
- ;(_e.prototype.clear = function () {
- this.__data__ = pe ? pe(null) : {}
- }),
- (_e.prototype.delete = function (e) {
- return this.has(e) && delete this.__data__[e]
- }),
- (_e.prototype.get = function (e) {
- var t = this.__data__
- if (pe) {
- var n = t[e]
- return n === r ? void 0 : n
- }
- return J.call(t, e) ? t[e] : void 0
- }),
- (_e.prototype.has = function (e) {
- var t = this.__data__
- return pe ? void 0 !== t[e] : J.call(t, e)
- }),
- (_e.prototype.set = function (e, t) {
- return (this.__data__[e] = pe && void 0 === t ? r : t), this
- }),
- (Ae.prototype.clear = function () {
- this.__data__ = []
- }),
- (Ae.prototype.delete = function (e) {
- var t = this.__data__,
- n = Ee(t, e)
- return !(n < 0) && (n == t.length - 1 ? t.pop() : ae.call(t, n, 1), !0)
- }),
- (Ae.prototype.get = function (e) {
- var t = this.__data__,
- n = Ee(t, e)
- return n < 0 ? void 0 : t[n][1]
- }),
- (Ae.prototype.has = function (e) {
- return Ee(this.__data__, e) > -1
- }),
- (Ae.prototype.set = function (e, t) {
- var n = this.__data__,
- r = Ee(n, e)
- return r < 0 ? n.push([e, t]) : (n[r][1] = t), this
- }),
- (xe.prototype.clear = function () {
- this.__data__ = { hash: new _e(), map: new (se || Ae)(), string: new _e() }
- }),
- (xe.prototype.delete = function (e) {
- return Ne(this, e).delete(e)
- }),
- (xe.prototype.get = function (e) {
- return Ne(this, e).get(e)
- }),
- (xe.prototype.has = function (e) {
- return Ne(this, e).has(e)
- }),
- (xe.prototype.set = function (e, t) {
- return Ne(this, e).set(e, t), this
- }),
- (we.prototype.add = we.prototype.push =
- function (e) {
- return this.__data__.set(e, r), this
- }),
- (we.prototype.has = function (e) {
- return this.__data__.has(e)
- }),
- (ke.prototype.clear = function () {
- this.__data__ = new Ae()
- }),
- (ke.prototype.delete = function (e) {
- return this.__data__.delete(e)
- }),
- (ke.prototype.get = function (e) {
- return this.__data__.get(e)
- }),
- (ke.prototype.has = function (e) {
- return this.__data__.has(e)
- }),
- (ke.prototype.set = function (e, t) {
- var n = this.__data__
- if (n instanceof Ae) {
- var r = n.__data__
- if (!se || r.length < 199) return r.push([e, t]), this
- n = this.__data__ = new xe(r)
- }
- return n.set(e, t), this
- })
- var Pe,
- Ce = function (e, t, n) {
- for (var r = -1, a = Object(e), o = n(e), i = o.length; i--; ) {
- var s = o[Pe ? i : ++r]
- if (!1 === t(a[s], s, a)) break
- }
- return e
- }
- function Te(e, t) {
- return e && Ce(e, t, it)
- }
- function Ie(e, t) {
- for (var n = 0, r = (t = He(t, e) ? [t] : Fe(t)).length; null != e && n < r; )
- e = e[We(t[n++])]
- return n && n == r ? e : void 0
- }
- function Re(e, t) {
- return null != e && t in Object(e)
- }
- function Me(e, t, n, r, a) {
- return (
- e === t ||
- (null == e || null == t || (!tt(e) && !nt(t))
- ? e != e && t != t
- : (function (e, t, n, r, a, u) {
- var h = Qe(e),
- b = Qe(t),
- x = i,
- w = i
- h || (x = (x = Ve(e)) == o ? f : x)
- b || (w = (w = Ve(t)) == o ? f : w)
- var k = x == f && !V(e),
- S = w == f && !V(t),
- E = x == w
- if (E && !k)
- return (
- u || (u = new ke()),
- h || ot(e)
- ? Be(e, t, n, r, a, u)
- : (function (e, t, n, r, a, o, i) {
- switch (n) {
- case A:
- if (
- e.byteLength != t.byteLength ||
- e.byteOffset != t.byteOffset
- )
- return !1
- ;(e = e.buffer), (t = t.buffer)
- case _:
- return !(
- e.byteLength != t.byteLength || !r(new ee(e), new ee(t))
- )
- case s:
- case l:
- case d:
- return Ye(+e, +t)
- case c:
- return e.name == t.name && e.message == t.message
- case v:
- case g:
- return e == t + ''
- case p:
- var u = L
- case m:
- var f = 2 & o
- if ((u || (u = G), e.size != t.size && !f)) return !1
- var h = i.get(e)
- if (h) return h == t
- ;(o |= 1), i.set(e, t)
- var b = Be(u(e), u(t), r, a, o, i)
- return i.delete(e), b
- case y:
- if (ye) return ye.call(e) == ye.call(t)
- }
- return !1
- })(e, t, x, n, r, a, u)
- )
- if (!(2 & a)) {
- var P = k && J.call(e, '__wrapped__'),
- C = S && J.call(t, '__wrapped__')
- if (P || C) {
- var T = P ? e.value() : e,
- I = C ? t.value() : t
- return u || (u = new ke()), n(T, I, r, a, u)
- }
- }
- if (!E) return !1
- return (
- u || (u = new ke()),
- (function (e, t, n, r, a, o) {
- var i = 2 & a,
- s = it(e),
- l = s.length,
- c = it(t).length
- if (l != c && !i) return !1
- var u = l
- for (; u--; ) {
- var p = s[u]
- if (!(i ? p in t : J.call(t, p))) return !1
- }
- var d = o.get(e)
- if (d && o.get(t)) return d == t
- var f = !0
- o.set(e, t), o.set(t, e)
- var h = i
- for (; ++u < l; ) {
- var v = e[(p = s[u])],
- m = t[p]
- if (r) var g = i ? r(m, v, p, t, e, o) : r(v, m, p, e, t, o)
- if (!(void 0 === g ? v === m || n(v, m, r, a, o) : g)) {
- f = !1
- break
- }
- h || (h = 'constructor' == p)
- }
- if (f && !h) {
- var y = e.constructor,
- b = t.constructor
- y == b ||
- !('constructor' in e) ||
- !('constructor' in t) ||
- ('function' == typeof y &&
- y instanceof y &&
- 'function' == typeof b &&
- b instanceof b) ||
- (f = !1)
- }
- return o.delete(e), o.delete(t), f
- })(e, t, n, r, a, u)
- )
- })(e, t, Me, n, r, a))
- )
- }
- function ze(e) {
- return !(!tt(e) || ((t = e), K && K in t)) && (Ze(e) || V(e) ? X : P).test($e(e))
- var t
- }
- function Oe(e) {
- return 'function' == typeof e
- ? e
- : null == e
- ? st
- : 'object' == _typeof2(e)
- ? Qe(e)
- ? (function (e, t) {
- if (He(e) && Ge(t)) return qe(We(e), t)
- return function (n) {
- var r = (function (e, t, n) {
- var r = null == e ? void 0 : Ie(e, t)
- return void 0 === r ? n : r
- })(n, e)
- return void 0 === r && r === t
- ? (function (e, t) {
- return (
- null != e &&
- (function (e, t, n) {
- t = He(t, e) ? [t] : Fe(t)
- var r,
- a = -1,
- o = t.length
- for (; ++a < o; ) {
- var i = We(t[a])
- if (!(r = null != e && n(e, i))) break
- e = e[i]
- }
- if (r) return r
- return (
- !!(o = e ? e.length : 0) &&
- et(o) &&
- Le(i, o) &&
- (Qe(e) || Je(e))
- )
- })(e, t, Re)
- )
- })(n, e)
- : Me(t, r, void 0, 3)
- }
- })(e[0], e[1])
- : (function (e) {
- var t = (function (e) {
- var t = it(e),
- n = t.length
- for (; n--; ) {
- var r = t[n],
- a = e[r]
- t[n] = [r, a, Ge(a)]
- }
- return t
- })(e)
- if (1 == t.length && t[0][2]) return qe(t[0][0], t[0][1])
- return function (n) {
- return (
- n === e ||
- (function (e, t, n, r) {
- var a = n.length,
- o = a,
- i = !r
- if (null == e) return !o
- for (e = Object(e); a--; ) {
- var s = n[a]
- if (i && s[2] ? s[1] !== e[s[0]] : !(s[0] in e)) return !1
- }
- for (; ++a < o; ) {
- var l = (s = n[a])[0],
- c = e[l],
- u = s[1]
- if (i && s[2]) {
- if (void 0 === c && !(l in e)) return !1
- } else {
- var p = new ke()
- if (r) var d = r(c, u, l, e, t, p)
- if (!(void 0 === d ? Me(u, c, r, 3, p) : d)) return !1
- }
- }
- return !0
- })(n, e, t)
- )
- }
- })(e)
- : He((t = e))
- ? ((n = We(t)),
- function (e) {
- return null == e ? void 0 : e[n]
- })
- : (function (e) {
- return function (t) {
- return Ie(t, e)
- }
- })(t)
- var t, n
- }
- function De(e) {
- if (
- ((n = (t = e) && t.constructor),
- (r = ('function' == typeof n && n.prototype) || W),
- t !== r)
- )
- return oe(e)
- var t,
- n,
- r,
- a = []
- for (var o in Object(e)) J.call(e, o) && 'constructor' != o && a.push(o)
- return a
- }
- function Fe(e) {
- return Qe(e) ? e : Ue(e)
- }
- function Be(e, t, n, r, a, o) {
- var i = 2 & a,
- s = e.length,
- l = t.length
- if (s != l && !(i && l > s)) return !1
- var c = o.get(e)
- if (c && o.get(t)) return c == t
- var u = -1,
- p = !0,
- d = 1 & a ? new we() : void 0
- for (o.set(e, t), o.set(t, e); ++u < s; ) {
- var f = e[u],
- h = t[u]
- if (r) var v = i ? r(h, f, u, t, e, o) : r(f, h, u, e, t, o)
- if (void 0 !== v) {
- if (v) continue
- p = !1
- break
- }
- if (d) {
- if (
- !j(t, function (e, t) {
- if (!d.has(t) && (f === e || n(f, e, r, a, o))) return d.add(t)
- })
- ) {
- p = !1
- break
- }
- } else if (f !== h && !n(f, h, r, a, o)) {
- p = !1
- break
- }
- }
- return o.delete(e), o.delete(t), p
- }
- function Ne(e, t) {
- var n,
- r,
- a = e.__data__
- return (
- 'string' == (r = _typeof2((n = t))) ||
- 'number' == r ||
- 'symbol' == r ||
- 'boolean' == r
- ? '__proto__' !== n
- : null === n
- )
- ? a['string' == typeof t ? 'string' : 'hash']
- : a.map
- }
- function je(e, t) {
- var n = (function (e, t) {
- return null == e ? void 0 : e[t]
- })(e, t)
- return ze(n) ? n : void 0
- }
- var Ve = function (e) {
- return Q.call(e)
- }
- function Le(e, t) {
- return (
- !!(t = null == t ? a : t) &&
- ('number' == typeof e || C.test(e)) &&
- e > -1 &&
- e % 1 == 0 &&
- e < t
- )
- }
- function He(e, t) {
- if (Qe(e)) return !1
- var n = _typeof2(e)
- return (
- !('number' != n && 'symbol' != n && 'boolean' != n && null != e && !rt(e)) ||
- w.test(e) ||
- !x.test(e) ||
- (null != t && e in Object(t))
- )
- }
- function Ge(e) {
- return e == e && !tt(e)
- }
- function qe(e, t) {
- return function (n) {
- return null != n && n[e] === t && (void 0 !== t || e in Object(n))
- }
- }
- ;((ie && Ve(new ie(new ArrayBuffer(1))) != A) ||
- (se && Ve(new se()) != p) ||
- (le && Ve(le.resolve()) != h) ||
- (ce && Ve(new ce()) != m) ||
- (ue && Ve(new ue()) != b)) &&
- (Ve = function (e) {
- var t = Q.call(e),
- n = t == f ? e.constructor : void 0,
- r = n ? $e(n) : void 0
- if (r)
- switch (r) {
- case de:
- return A
- case fe:
- return p
- case he:
- return h
- case ve:
- return m
- case me:
- return b
- }
- return t
- })
- var Ue = Ke(function (e) {
- var t
- e =
- null == (t = e)
- ? ''
- : (function (e) {
- if ('string' == typeof e) return e
- if (rt(e)) return be ? be.call(e) : ''
- var t = e + ''
- return '0' == t && 1 / e == -1 / 0 ? '-0' : t
- })(t)
- var n = []
- return (
- k.test(e) && n.push(''),
- e.replace(S, function (e, t, r, a) {
- n.push(r ? a.replace(E, '$1') : t || e)
- }),
- n
- )
- })
- function We(e) {
- if ('string' == typeof e || rt(e)) return e
- var t = e + ''
- return '0' == t && 1 / e == -1 / 0 ? '-0' : t
- }
- function $e(t) {
- if (null != t) {
- try {
- return Y.call(t)
- } catch (e) {}
- try {
- return t + ''
- } catch (e) {}
- }
- return ''
- }
- function Ke(e, t) {
- if ('function' != typeof e || (t && 'function' != typeof t))
- throw new TypeError('Expected a function')
- var n = function n() {
- var r = arguments,
- a = t ? t.apply(this, r) : r[0],
- o = n.cache
- if (o.has(a)) return o.get(a)
- var i = e.apply(this, r)
- return (n.cache = o.set(a, i)), i
- }
- return (n.cache = new (Ke.Cache || xe)()), n
- }
- function Ye(e, t) {
- return e === t || (e != e && t != t)
- }
- function Je(e) {
- return (
- (function (e) {
- return nt(e) && Xe(e)
- })(e) &&
- J.call(e, 'callee') &&
- (!re.call(e, 'callee') || Q.call(e) == o)
- )
- }
- Ke.Cache = xe
- var Qe = Array.isArray
- function Xe(e) {
- return null != e && et(e.length) && !Ze(e)
- }
- function Ze(e) {
- var t = tt(e) ? Q.call(e) : ''
- return t == u || '[object GeneratorFunction]' == t
- }
- function et(e) {
- return 'number' == typeof e && e > -1 && e % 1 == 0 && e <= a
- }
- function tt(e) {
- var t = _typeof2(e)
- return !!e && ('object' == t || 'function' == t)
- }
- function nt(e) {
- return !!e && 'object' == _typeof2(e)
- }
- function rt(e) {
- return 'symbol' == _typeof2(e) || (nt(e) && Q.call(e) == y)
- }
- var at,
- ot = B
- ? ((at = B),
- function (e) {
- return at(e)
- })
- : function (e) {
- return nt(e) && et(e.length) && !!T[Q.call(e)]
- }
- function it(e) {
- return Xe(e) ? Se(e) : De(e)
- }
- function st(e) {
- return e
- }
- t.exports = function (e, t, n) {
- var r,
- a = Qe(e) || ot(e)
- if (((t = Oe(t)), null == n))
- if (a || tt(e)) {
- var o = e.constructor
- n = a ? (Qe(e) ? new o() : []) : Ze(o) ? (tt((r = te(e))) ? ne(r) : {}) : {}
- } else n = {}
- return (
- (a ? N : Te)(e, function (e, r, a) {
- return t(n, e, r, a)
- }),
- n
- )
- }
- })(lodash_transform, lodash_transform.exports)
- var isEmpty = lodash_isempty.exports,
- isPlainObject = lodash_isplainobject,
- transform = lodash_transform.exports,
- src = exports('bq', function e(t) {
- var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
- r = n.cleanKeys,
- a = void 0 === r ? [] : r,
- o = n.cleanValues,
- i = void 0 === o ? [] : o,
- s = n.emptyArrays,
- l = void 0 === s || s,
- c = n.emptyObjects,
- u = void 0 === c || c,
- p = n.emptyStrings,
- d = void 0 === p || p,
- f = n.NaNValues,
- h = void 0 !== f && f,
- v = n.nullValues,
- m = void 0 === v || v,
- g = n.undefinedValues,
- y = void 0 === g || g
- return transform(t, function (t, n, r) {
- if (
- !a.includes(r) &&
- ((Array.isArray(n) || isPlainObject(n)) &&
- (n = e(n, {
- NaNValues: h,
- cleanKeys: a,
- cleanValues: i,
- emptyArrays: l,
- emptyObjects: u,
- emptyStrings: d,
- nullValues: m,
- undefinedValues: y
- })),
- !i.includes(n) &&
- !(u && isPlainObject(n) && isEmpty(n)) &&
- (!l || !Array.isArray(n) || n.length) &&
- !(
- (d && '' === n) ||
- (h && Number.isNaN(n)) ||
- (m && null === n) ||
- (y && void 0 === n)
- ))
- )
- return Array.isArray(t) ? t.push(n) : void (t[r] = n)
- })
- }),
- request = exports(
- 'm',
- extend({ hideLoading: !0, timeout: 2e4, timeoutMessage: '请求超时' })
- ),
- initRequest = !1,
- toast
- request.interceptors.request.use(
- function (e, t) {
- var n, r
- t.hideLoading || (clearTimeout(toast), baseEvent.emit('toastShow', 'center')),
- (initRequest = t.initRequest || !1)
- var a = sessionStorage.getItem('Authorization') || '',
- o = {}
- if (
- (a &&
- !['/api-oauth/userlogin', '/api-oauth/open/sendSms'].includes(e) &&
- (o.Authorization = a),
- null != state &&
- null !== (n = state.user) &&
- void 0 !== n &&
- null !== (r = n.data) &&
- void 0 !== r &&
- r.schoolInfos)
- ) {
- var i = (state.user.data.schoolInfos || [])
- .map(function (e) {
- return e.id
- })
- .join(',')
- i && (o.schoolId = i)
- }
- return {
- url: e,
- options: _objectSpread(
- _objectSpread({}, t),
- {},
- {
- params: src(t.params),
- data: src(t.data),
- headers: _objectSpread(_objectSpread({}, t.headers), o)
- }
- )
- }
- },
- { global: !1 }
- ),
- request.interceptors.response.use(
- (function () {
- var e = _asyncToGenerator(
- regeneratorRuntime.mark(function e(t) {
- var n, r, a, o
- return regeneratorRuntime.wrap(function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- if (
- ((toast = setTimeout(function () {
- baseEvent.emit('toastClose', 'center')
- }, 100)),
- !(t.status > 299 || t.status < 200))
- ) {
- e.next = 7
- break
- }
- throw (
- (clearTimeout(toast),
- (n = '服务器错误,状态码' + t.status),
- baseEvent.emit('toastClose', 'center'),
- showToast(n),
- new Error(n))
- )
- case 7:
- return (e.next = 9), t.clone().json()
- case 9:
- if (200 === (r = e.sent).code || 0 === r.errCode || 999 === r.code) {
- e.next = 18
- break
- }
- throw (
- ((a = r.msg || r.message || '处理失败,请重试'),
- initRequest &&
- (403 === r.code || 5e3 === r.code ? setLogout() : setLoginError()),
- console.log(r.code, '5104'),
- 403 !== r.code &&
- 5e3 !== r.code &&
- (clearTimeout(toast),
- baseEvent.emit('toastClose', 'center'),
- showToast(a)),
- (o = browser()),
- 5e3 === r.code &&
- ((a += '5000'),
- o.isApp ? postMessage({ api: 'login' }) : setLogout()),
- new Error(a))
- )
- case 18:
- return e.abrupt('return', t)
- case 19:
- case 'end':
- return e.stop()
- }
- }, e)
- })
- )
- return function (t) {
- return e.apply(this, arguments)
- }
- })(),
- { global: !1 }
- )
- var empty = './assets/empty.04f9724b.png',
- __glob_5_0 = Object.freeze(
- Object.defineProperty({ __proto__: null, default: empty }, Symbol.toStringTag, {
- value: 'Module'
- })
- ),
- emptyContent = './assets/empty.04f9724b.png',
- __glob_5_1 = Object.freeze(
- Object.defineProperty(
- { __proto__: null, default: emptyContent },
- Symbol.toStringTag,
- { value: 'Module' }
- )
- ),
- network = './assets/network.6d51555b.png',
- __glob_5_2 = Object.freeze(
- Object.defineProperty({ __proto__: null, default: network }, Symbol.toStringTag, {
- value: 'Module'
- })
- ),
- notFond = './assets/notFond.78c3cc5e.png',
- __glob_5_3 = Object.freeze(
- Object.defineProperty({ __proto__: null, default: notFond }, Symbol.toStringTag, {
- value: 'Module'
- })
- ),
- tips = '_tips_uqenj_12',
- btn = '_btn_uqenj_17',
- SMALL = '_SMALL_uqenj_28',
- CERT = '_CERT_uqenj_32',
- styles$2 = {
- 'col-result': '_col-result_uqenj_1',
- tips: tips,
- btn: btn,
- SMALL: SMALL,
- CERT: CERT
- },
- getAssetsHomeFile = function (e) {
- var t = './images/'.concat(e)
- return {
- './images/empty.png': __glob_5_0,
- './images/emptyContent.png': __glob_5_1,
- './images/network.png': __glob_5_2,
- './images/notFond.png': __glob_5_3
- }[t].default
- },
- OEmpty = exports(
- 'ak',
- defineComponent({
- name: 'o-empty',
- props: {
- tips: { type: String },
- type: { type: String, default: 'empty' },
- classImgSize: { type: String, default: '' },
- imageSize: { type: Number, default: 0 },
- plain: { type: Boolean, default: !1 },
- btnStatus: { type: Boolean, default: !1 },
- buttonText: { type: String, default: '我知道了' },
- onClick: Function
- },
- methods: {
- onResult: function () {
- this.onClick ? this.onClick() : postMessage({ api: 'back', content: {} })
- }
- },
- computed: {
- image: function () {
- var e = null
- switch (this.type) {
- case 'emptyContent':
- e = getAssetsHomeFile('emptyContent.png')
- break
- case 'error':
- e = 'error'
- break
- case 'network':
- e = getAssetsHomeFile('network.png')
- break
- case 'search':
- e = 'search'
- break
- case 'notFond':
- e = getAssetsHomeFile('notFond.png')
- break
- default:
- e = getAssetsHomeFile('empty.png')
- }
- return e
- }
- },
- render: function () {
- var e = this
- return createVNode(
- 'div',
- { class: [styles$2['col-result'], 'o-result-container'] },
- [
- createVNode(
- Empty,
- {
- image: this.image,
- imageSize: this.imageSize || '',
- class: styles$2[this.classImgSize],
- description: this.tips
- },
- null
- ),
- this.btnStatus
- ? createVNode(
- Button,
- {
- class: styles$2.btn,
- round: !0,
- block: !0,
- type: 'primary',
- plain: this.plain,
- onClick: this.onResult
- },
- {
- default: function () {
- return [e.buttonText]
- }
- }
- )
- : null
- ]
- )
- }
- })
- ),
- colHeader = '_colHeader_939xd_1',
- transparent = '_transparent_939xd_20',
- headerSection = '_headerSection_939xd_23',
- styles$1 = {
- colHeader: colHeader,
- transparent: transparent,
- headerSection: headerSection
- },
- OHeader = exports(
- 'aj',
- defineComponent({
- name: 'o-header',
- props: {
- title: String,
- isBack: { type: Boolean, default: !0 },
- backIconColor: { type: String, default: 'black' },
- isFixed: { type: Boolean, default: !0 },
- styleName: {
- type: Object,
- default: function () {
- return {}
- }
- },
- titleClass: String,
- background: { type: String, default: 'white' },
- color: { type: String, default: '#323233' },
- rightText: String,
- onClickRight: {
- type: Function,
- default: function () {
- return {}
- }
- },
- border: { type: Boolean, default: !0 },
- onHeaderBack: {
- type: Function,
- default: function () {
- return {}
- }
- },
- desotry: { type: Boolean, default: !0 }
- },
- data: function () {
- return { headerTitle: null, navBarHeight: 0, titleHeight: 44 }
- },
- mounted: function () {
- var e = this
- ;(this.headerTitle = this.title || this.$route.meta.title),
- this.navBarInit(function () {
- e.onHeaderBack && e.onHeaderBack()
- })
- },
- watch: {
- title: function () {
- this.headerTitle = this.title || this.$route.meta.title
- }
- },
- unmounted: function () {
- this.desotry
- },
- methods: {
- navBarInit: function (e) {
- ;(this.navBarHeight = state.navBarHeight), !browser().isApp && e && e()
- },
- onClickLeft: function () {
- browser().isApp ? postMessage({ api: 'goBack' }) : this.$router.back()
- },
- clickRight: function () {
- this.onClickRight && this.onClickRight()
- }
- },
- render: function () {
- var e = this
- return createVNode('div', null, [
- this.$slots.content
- ? createVNode(
- 'div',
- {
- style: {
- paddingTop: ''.concat(this.navBarHeight, 'px'),
- background: this.background
- },
- class: styles$1.headerSection
- },
- [this.$slots.content(this.navBarHeight)]
- )
- : createVNode(Fragment, null, [
- createVNode(
- 'div',
- {
- style: {
- minHeight: 'calc(var(--van-nav-bar-height) + '.concat(
- this.navBarHeight,
- 'px)'
- )
- },
- class: styles$1.headerSection
- },
- [
- createVNode(
- NavBar,
- {
- title: this.headerTitle,
- class: [styles$1.colHeader],
- style: {
- background: this.background,
- color: this.color,
- paddingTop: ''.concat(this.navBarHeight, 'px')
- },
- 'left-arrow': this.isBack,
- rightText: this.rightText,
- fixed: this.isFixed,
- zIndex: 2e3,
- border: this.border,
- onClickLeft: this.onClickLeft,
- onClickRight: this.clickRight
- },
- {
- right: function () {
- return (e.$slots.right && e.$slots.right()) || e.rightText
- },
- title: function () {
- return (e.$slots.title && e.$slots.title()) || e.headerTitle
- }
- }
- )
- ]
- ),
- this.$slots.default ? this.$slots.default() : null
- ])
- ])
- }
- })
- ),
- browserInfo$1 = browser(),
- Auth = defineComponent({
- name: 'Auth-loayout',
- data: function () {
- return { loading: !1 }
- },
- computed: {
- isExternal: function () {
- return (this.$route.meta.isExternal && !browserInfo$1.isStudent) || !1
- },
- isNeedView: function () {
- return (
- 'login' === state.user.status ||
- '/login' === this.$route.path ||
- this.isExternal
- )
- }
- },
- mounted: function () {
- !this.isExternal && this.setAuth()
- },
- methods: {
- setAuth: function () {
- var e = this
- return _asyncToGenerator(
- regeneratorRuntime.mark(function t() {
- var n, r, a, o, i, s, l
- return regeneratorRuntime.wrap(
- function (t) {
- for (;;)
- switch ((t.prev = t.next)) {
- case 0:
- if (
- ((n = e.$route.query),
- (r = n.userInfo || n.Authorization) && setAuth$1(r),
- !e.loading)
- ) {
- t.next = 5
- break
- }
- return t.abrupt('return')
- case 5:
- if ('init' !== state.user.status && 'error' !== state.user.status) {
- t.next = 20
- break
- }
- return (
- (e.loading = !0),
- (t.prev = 7),
- (t.next = 10),
- request.get(state.platformApi + '/user/getUserInfo', {
- initRequest: !0,
- requestType: 'form',
- hideLoading: !0
- })
- )
- case 10:
- ;(a = t.sent),
- 'SCHOOL' === state.platformType &&
- ((o = a.data.schoolInfos ? a.data.schoolInfos[0] : {}),
- (a.data.school = o)),
- setLogin(a.data),
- (t.next = 19)
- break
- case 15:
- ;(t.prev = 15),
- (t.t0 = t.catch(7)),
- -1 === (i = t.t0.message).indexOf('5000') &&
- -1 === i.indexOf('authentication')
- ? setLoginError()
- : setLogout()
- case 19:
- e.loading = !1
- case 20:
- if ('logout' === state.user.status)
- if (browser().isApp) postMessage({ api: 'login' })
- else
- try {
- ;(s = e.$route),
- (l = _objectSpread(
- { returnUrl: e.$route.path },
- e.$route.query
- )),
- s.meta.isRegister && (l.isRegister = s.meta.isRegister),
- e.$router.replace({ path: '/login', query: l })
- } catch (error) {}
- case 21:
- case 'end':
- return t.stop()
- }
- },
- t,
- null,
- [[7, 15]]
- )
- })
- )()
- }
- },
- render: function () {
- return createVNode(Fragment, null, [
- 'error' === state.user.status
- ? createVNode('div', { class: styles$3.error }, [
- createVNode(OHeader, null, null),
- createVNode(
- OEmpty,
- {
- type: 'notFond',
- classImgSize: 'CERT',
- tips: '加载失败,请稍后重试',
- buttonText: '重新加载',
- plain: !0,
- btnStatus: !0,
- onClick: this.setAuth
- },
- null
- )
- ])
- : this.isNeedView
- ? createVNode(RouterView, null, null)
- : null
- ])
- }
- }),
- paymentType$1 = window.paymentType,
- router$1 = [
- {
- path: '/lessonCourseware',
- name: 'lessonCourseware',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.5172f08c.js')
- }, void 0)
- },
- meta: { title: '选择课件' }
- },
- {
- path: '/courseList',
- name: 'courseList',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.575acaa3.js')
- }, void 0)
- },
- meta: { title: '课程列表' }
- },
- {
- path: '/coursewarePlay',
- name: 'coursewarePlay',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.0292693c.js')
- }, void 0)
- },
- meta: { title: '课程播放' }
- },
- {
- path: '/exerciseAfterClass',
- name: 'exerciseAfterClass',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.18312b9e.js')
- }, void 0)
- },
- meta: { title: '观看视频' }
- },
- {
- path: '/accompany',
- name: 'accompany',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.cdccf5f4.js')
- }, void 0)
- },
- meta: { title: '云练习' }
- },
- {
- path: '/musicList',
- name: 'music-list',
- component: function () {
- return __vitePreload(function () {
- return module.import('./music-list-legacy.93cf2470.js')
- }, void 0)
- },
- meta: { title: '曲谱列表' }
- },
- {
- path: '/information-list',
- name: 'information-list',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.a71ac402.js')
- }, void 0)
- },
- meta: { title: '资讯列表' }
- },
- {
- path: '/information-detail',
- name: 'information-detail',
- component: function () {
- return __vitePreload(function () {
- return module.import('./information-detail-legacy.06be4bed.js')
- }, void 0)
- },
- meta: { title: '资讯详情' }
- },
- {
- path: '/notice-detail',
- name: 'notice-detail',
- component: function () {
- return __vitePreload(function () {
- return module.import('./notice-detail-legacy.8dd8b340.js')
- }, void 0)
- },
- meta: { title: '公告详情' }
- },
- {
- path: '/help-center',
- name: 'help-center',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.093427e1.js')
- }, void 0)
- },
- meta: { title: '帮助中心' }
- },
- {
- path: '/help-detail',
- name: 'help-detail',
- component: function () {
- return __vitePreload(function () {
- return module.import('./detail-legacy.1fc63af6.js')
- }, void 0)
- },
- meta: { title: '帮助中心详情' }
- },
- {
- path: '/unit-test',
- name: 'unit-test',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.46d112f1.js')
- }, void 0)
- },
- meta: { title: '阶段自测' }
- },
- {
- path: '/unit-detail',
- name: 'unit-detail',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.72b53922.js')
- }, void 0)
- },
- meta: { title: '测验详情' }
- },
- {
- path: '/test-exercise',
- name: 'test-exercise',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.df565f1d.js')
- }, void 0)
- },
- meta: { title: '测试练习' }
- },
- {
- path: '/practice-mode',
- name: 'practice-mode',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.9feee641.js')
- }, void 0)
- },
- meta: { title: '练习模式' }
- },
- {
- path: '/examination-mode',
- name: 'examination-mode',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.0e254ab7.js')
- }, void 0)
- },
- meta: { title: '测试详情' }
- },
- {
- path: '/approval-manage-subsidy',
- name: 'approval-manage-subsidy',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.6acf4168.js')
- }, void 0)
- },
- meta: { title: '补助确认' }
- },
- {
- path: '/mine-orchestra',
- name: 'mine-orchestra',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.ef2fa0aa.js')
- }, void 0)
- },
- meta: { title: '我的乐团' }
- },
- {
- path: '/mine-myphoto',
- name: 'mine-myphoto',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.ec796d07.js')
- }, void 0)
- },
- meta: { title: '乐团相册' }
- },
- {
- path: '/photo-list',
- name: 'photo-list',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.f83a2513.js')
- }, void 0)
- },
- meta: { title: '相册' }
- },
- {
- path: '/photo-list-detail',
- name: 'photo-list-detail',
- component: function () {
- return __vitePreload(function () {
- return module.import('./detail-legacy.4fa259aa.js')
- }, void 0)
- },
- meta: { title: '相册详情' }
- },
- {
- path: '/message-detail',
- name: 'message-detail',
- component: function () {
- return __vitePreload(function () {
- return module.import('./message-detail-legacy.ee7cc1f3.js')
- }, void 0)
- },
- meta: { title: '消息详情' }
- },
- {
- path: '/courseware-record',
- name: 'courseware-record',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.5898589a.js')
- }, void 0)
- },
- meta: { title: '课件记录' }
- }
- ],
- rootRouter = [
- {
- path: '/payCenter',
- name: 'payCenter',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.060a3a93.js')
- }, void 0)
- },
- meta: { title: '支付' }
- },
- {
- path: '/payDefine',
- name: 'payDefine',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.2e9ea331.js')
- }, void 0)
- },
- meta: { title: '支付' }
- },
- {
- path: '/payResult',
- name: 'payResult',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.e6739e6c.js')
- }, void 0)
- },
- meta: { title: '支付' }
- },
- {
- path: '/preview-protocol',
- name: 'preview-protocol',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.1ca09b0e.js')
- }, void 0)
- },
- meta: { title: '管乐团用户注册协议' }
- },
- {
- path: '/privacyProtocol',
- name: 'privacyProtocol',
- component: function () {
- return __vitePreload(function () {
- return module.import('./privacy-legacy.b7c1dfb2.js')
- }, void 0)
- },
- meta: { title: '管乐团隐私政策' }
- },
- {
- path: '/cashProtocol',
- name: 'cashProtocol',
- component: function () {
- return __vitePreload(function () {
- return module.import('./cash-protocol-legacy.b6f6b735.js')
- }, void 0)
- },
- meta: { title: '共享经济平台注册经营者协议' }
- },
- {
- path: '/guide',
- name: 'guide',
- component: function () {
- return __vitePreload(function () {
- return module.import('./guide-legacy.7ff1e472.js')
- }, void 0)
- },
- meta: { title: '投屏帮助' }
- },
- {
- path: '/follow-account',
- name: 'follow-account',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.6ea0d812.js')
- }, void 0)
- },
- meta: { title: '关注微信公众号' }
- },
- {
- path: '/bind-wechat',
- name: 'bind-wechat',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.e9d2d862.js')
- }, void 0)
- },
- meta: { title: '绑定微信' }
- },
- {
- path: '/transfer',
- component: function () {
- return __vitePreload(function () {
- return module.import('./transfer-legacy.86f92e9f.js')
- }, void 0)
- },
- meta: { title: '管乐团' }
- },
- {
- path: '/subject-echarts',
- name: 'subject-echarts',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.d581fdee.js')
- }, void 0)
- },
- meta: { title: '声部图表' }
- },
- {
- path: '/:pathMatch(.*)*',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.8fed2c2f.js')
- }, void 0)
- },
- meta: { title: '404', platform: paymentType$1 }
- }
- ],
- noLoginRouter$2 = [],
- routesTeacher = [
- {
- path: '/',
- component: Auth,
- children: [].concat(router$1, [
- {
- path: '/login',
- name: 'login',
- component: function () {
- return __vitePreload(function () {
- return module.import('./login-legacy.2153caac.js')
- }, void 0)
- },
- meta: { isRegister: !1 }
- },
- {
- path: '/home',
- name: 'home',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.d89d1b8a.js')
- }, void 0)
- }
- },
- {
- path: '/exercise-record',
- name: 'exercise-record',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.e66fdefa.js')
- }, void 0)
- },
- meta: { title: '练习记录' }
- },
- {
- path: '/exercis-detail',
- name: 'exercis-detail',
- component: function () {
- return __vitePreload(function () {
- return module.import('./exercis-detail-legacy.64a6ec4a.js')
- }, void 0)
- },
- meta: { title: '练习统计' }
- },
- {
- path: '/attendance-manage',
- name: 'attendance-manage',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.3b4b9e9d.js')
- }, void 0)
- },
- meta: { title: '考勤管理' }
- },
- {
- path: '/student-att-day',
- name: 'student-att-day',
- component: function () {
- return __vitePreload(function () {
- return module.import('./student-att-day-legacy.6d3bc012.js')
- }, void 0)
- },
- meta: { title: '考勤详情' }
- },
- {
- path: '/attendance',
- name: 'attendance',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.283d7437.js')
- }, void 0)
- },
- meta: { title: '我的考勤' }
- },
- {
- path: '/teacher-attendDetail',
- name: 'teacher-attendDetail',
- component: function () {
- return __vitePreload(function () {
- return module.import('./teacher-attendDetail-legacy.88e1eafa.js')
- }, void 0)
- },
- meta: { title: '考勤详情' }
- },
- {
- path: '/attendance-rule',
- name: 'attendance-rule',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.3fd1da2d.js')
- }, void 0)
- },
- meta: { title: '考勤规则' }
- },
- {
- path: '/screen-projection',
- name: 'screen-projection',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.bf0ab370.js')
- }, void 0)
- },
- meta: { title: '教学课件' }
- },
- {
- path: '/unit-list',
- name: 'unit-list',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.3c1ddd22.js')
- }, void 0)
- },
- meta: { title: '阶段自测' }
- },
- {
- path: '/unit-create',
- name: 'unit-create',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.0456783b.js')
- }, void 0)
- },
- meta: { title: '新增测验' }
- },
- {
- path: '/unit-Lesson',
- name: 'unit-Lesson',
- component: function () {
- return __vitePreload(function () {
- return module.import('./unit-Lesson-legacy.dadbf99a.js')
- }, void 0)
- },
- meta: { title: '选择教材' }
- },
- {
- path: '/uni-test',
- name: 'uni-test',
- component: function () {
- return __vitePreload(function () {
- return module.import('./uni-test-legacy.4567a7e4.js')
- }, void 0)
- },
- meta: { title: '选择教材' }
- },
- {
- path: '/uni-last',
- name: 'uni-last',
- component: function () {
- return __vitePreload(function () {
- return module.import('./uni-last-legacy.330b4490.js')
- }, void 0)
- },
- meta: { title: '阶段自测' }
- },
- {
- path: '/unitDetail',
- name: 'unitDetail',
- component: function () {
- return __vitePreload(function () {
- return module.import('./unitDetail-legacy.bc37b536.js')
- }, void 0)
- },
- meta: { title: '测验详情' }
- },
- {
- path: '/subsidy-exercise-details',
- name: 'subsidy-exercise-details',
- component: function () {
- return __vitePreload(function () {
- return module.import('./details-legacy.38319bc7.js')
- }, void 0)
- },
- meta: { title: '补助明细' }
- }
- ])
- }
- ].concat(rootRouter, noLoginRouter$2),
- error = '_error_6z2np_1',
- info = '_info_6z2np_9',
- login = '_login_6z2np_27',
- loginTitle = '_loginTitle_6z2np_33',
- codeText = '_codeText_6z2np_41',
- margin34 = '_margin34_6z2np_44',
- formTitle = '_formTitle_6z2np_47',
- wxPopupDialog = '_wxPopupDialog_6z2np_63',
- popupContainer = '_popupContainer_6z2np_80',
- title = '_title_6z2np_87',
- popupTips = '_popupTips_6z2np_94',
- styles = exports('bm', {
- error: error,
- info: info,
- login: login,
- loginTitle: loginTitle,
- codeText: codeText,
- margin34: margin34,
- formTitle: formTitle,
- wxPopupDialog: wxPopupDialog,
- popupContainer: popupContainer,
- title: title,
- popupTips: popupTips
- }),
- removeAuth = exports('bl', function () {
- sessionStorage.removeItem('Authorization')
- }),
- _setAuth = exports('s', function (e) {
- sessionStorage.setItem('Authorization', e)
- }),
- browserInfo = browser(),
- MusicAuth = defineComponent({
- name: 'Auth-loayout',
- data: function () {
- return { loading: !1 }
- },
- computed: {
- isExternal: function () {
- return (this.$route.meta.isExternal && !browserInfo.isStudent) || !1
- },
- isNeedView: function () {
- return (
- 'login' === state.user.status ||
- '/loginMusic' === this.$route.path ||
- this.isExternal
- )
- }
- },
- mounted: function () {
- !this.isExternal && this.setAuth()
- },
- methods: {
- setAuth: function () {
- var e = this
- return _asyncToGenerator(
- regeneratorRuntime.mark(function t() {
- var n, r, a, o, i, s
- return regeneratorRuntime.wrap(
- function (t) {
- for (;;)
- switch ((t.prev = t.next)) {
- case 0:
- if (
- ((n = e.$route.query),
- (r = n.userInfo || n.Authorization) && _setAuth(r),
- !e.loading)
- ) {
- t.next = 5
- break
- }
- return t.abrupt('return')
- case 5:
- if ('init' !== state.user.status && 'error' !== state.user.status) {
- t.next = 19
- break
- }
- return (
- (e.loading = !0),
- (t.prev = 7),
- (t.next = 10),
- request.get('/api-student/user/getUserInfo', {
- initRequest: !0,
- requestType: 'form'
- })
- )
- case 10:
- ;(a = t.sent), setLogin(a.data), (t.next = 18)
- break
- case 14:
- ;(t.prev = 14),
- (t.t0 = t.catch(7)),
- -1 === (o = t.t0.message).indexOf('5000') &&
- -1 === o.indexOf('authentication')
- ? setLoginError()
- : setLogout()
- case 18:
- e.loading = !1
- case 19:
- if ('logout' === state.user.status)
- try {
- ;(i = e.$route),
- (s = _objectSpread(
- { returnUrl: e.$route.path },
- e.$route.query
- )),
- i.meta.isRegister && (s.isRegister = i.meta.isRegister),
- e.$router.replace({ path: '/loginMusic', query: s })
- } catch (error) {}
- case 20:
- case 'end':
- return t.stop()
- }
- },
- t,
- null,
- [[7, 14]]
- )
- })
- )()
- }
- },
- render: function () {
- return createVNode(Fragment, null, [
- 'error' === state.user.status
- ? createVNode('div', { class: styles.error }, [
- createVNode(
- OEmpty,
- {
- type: 'notFond',
- classImgSize: 'CERT',
- tips: '加载失败,请稍后重试',
- buttonText: '重新加载',
- plain: !0,
- btnStatus: !0,
- onClick: this.setAuth
- },
- null
- )
- ])
- : this.isNeedView
- ? createVNode(RouterView, null, null)
- : null
- ])
- }
- }),
- noLoginRouter$1 = [
- {
- path: '/payment-result',
- name: 'payment-result',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.e0ee0f8d.js')
- }, void 0)
- },
- meta: { title: '支付详情' }
- },
- {
- path: '/download',
- name: 'download',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.5ad7fc2d.js')
- }, void 0)
- },
- meta: { title: '下载管乐团学员端' }
- },
- {
- path: '/pre-register-active',
- name: 'pre-register-active',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.f6440d66.js')
- }, void 0)
- },
- meta: { title: '管乐团组建家长会' }
- },
- {
- path: '/pre-register-video',
- name: 'pre-register-video',
- component: function () {
- return __vitePreload(function () {
- return module.import('./video-legacy.91ee64a1.js')
- }, void 0)
- },
- meta: { title: '管乐团组建家长会' }
- },
- {
- path: '/pre-register-show',
- name: 'pre-register-show',
- component: function () {
- return __vitePreload(function () {
- return module.import('./show-legacy.c4d9e2d8.js')
- }, void 0)
- },
- meta: { title: '管乐团组建家长会' }
- }
- ],
- routesStudent = [
- {
- path: '/',
- component: Auth,
- children: [].concat(router$1, [
- {
- path: '/login',
- name: 'login',
- component: function () {
- return __vitePreload(function () {
- return module.import('./login-legacy.2153caac.js')
- }, void 0)
- },
- meta: { isRegister: !1 }
- },
- {
- path: '/home',
- name: 'home',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.97ae47d4.js')
- }, void 0)
- }
- },
- {
- path: '/coupons',
- name: 'coupons',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.6e8f48e4.js')
- }, void 0)
- },
- meta: { title: '优惠券' }
- },
- {
- path: '/memberCenter',
- name: 'memberCenter',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.e3ec5bd1.js')
- }, void 0)
- },
- meta: { title: '乐团Ai学练工具' }
- },
- {
- path: '/tradeRecord',
- name: 'tradeRecord',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.f40459d1.js')
- }, void 0)
- },
- meta: { title: '交易记录' }
- },
- {
- path: '/my-orchestra',
- name: 'my-orchestra',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.3da7ed6c.js')
- }, void 0)
- },
- meta: { title: '我的乐团' }
- },
- {
- path: '/photo-detail',
- name: 'photo-detail',
- component: function () {
- return __vitePreload(function () {
- return module.import('./photo-detail-legacy.05f0ad59.js')
- }, void 0)
- },
- meta: { title: '相片' }
- },
- {
- path: '/apply-withdrawal',
- name: 'apply-withdrawal',
- component: function () {
- return __vitePreload(function () {
- return module.import('./apply-withdrawal-legacy.794d4385.js')
- }, void 0)
- },
- meta: { title: '申请退团' }
- },
- {
- path: '/attendance-rule',
- name: 'attendance-rule',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.3fd1da2d.js')
- }, void 0)
- },
- meta: { title: '考勤规则' }
- },
- {
- path: '/ranking-list',
- name: 'ranking-list',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.057a4e77.js')
- }, void 0)
- },
- meta: { title: '排行榜' }
- },
- {
- path: '/exercise-record',
- name: 'exercise-record',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.e66fdefa.js')
- }, void 0)
- },
- meta: { title: '练习记录' }
- },
- {
- path: '/exercis-detail',
- name: 'exercis-detail',
- component: function () {
- return __vitePreload(function () {
- return module.import('./exercis-detail-legacy.64a6ec4a.js')
- }, void 0)
- },
- meta: { title: '练习统计' }
- }
- ])
- },
- {
- path: '/msuicGroup',
- component: MusicAuth,
- children: [
- {
- path: '/loginMusic',
- name: 'loginMusic',
- component: function () {
- return __vitePreload(function () {
- return module.import('./login-legacy.8bf0382a.js')
- }, void 0)
- },
- meta: { isRegister: !1 }
- },
- {
- path: '/preApply',
- name: 'preApply',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.cdd9cec4.js')
- }, void 0)
- },
- meta: { title: '乐团报名' }
- },
- {
- path: '/orderDetail',
- name: 'orderDetail',
- component: function () {
- return __vitePreload(function () {
- return module.import('./order-detail-legacy.6c245c99.js')
- }, void 0)
- },
- meta: { title: '订单详情' }
- },
- {
- path: '/shopAddress',
- name: 'shopAddress',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.50facecb.js')
- }, void 0)
- },
- meta: { title: '收货地址' }
- },
- {
- path: '/addressOperation',
- name: 'addressOperation',
- component: function () {
- return __vitePreload(function () {
- return module.import('./address-operation-legacy.65610778.js')
- }, void 0)
- },
- meta: { title: '收货地址' }
- }
- ]
- }
- ].concat(noLoginRouter$1, rootRouter),
- noLoginRouter = [
- {
- path: '/companion-teacher-register',
- name: 'companion-teacher-register',
- component: function () {
- return __vitePreload(function () {
- return module.import('./companion-teacher-register-legacy.c1c67857.js')
- }, void 0)
- },
- meta: { title: '乐团伴学老师注册' }
- },
- {
- path: '/manage-teacher-register',
- name: 'manage-teacher-register',
- component: function () {
- return __vitePreload(function () {
- return module.import('./manage-teacher-register-legacy.014bbe4b.js')
- }, void 0)
- },
- meta: { title: '乐团管理老师注册' }
- },
- {
- path: '/train-week-report',
- name: 'train-week-report',
- component: function () {
- return __vitePreload(function () {
- return module.import('./week-report-legacy.345957c4.js').then(function (e) {
- return e.w
- })
- }, void 0)
- },
- meta: { title: '训练周报' }
- },
- {
- path: '/train-month-report',
- name: 'train-month-report',
- component: function () {
- return __vitePreload(function () {
- return module.import('./month-report-legacy.f88e26b3.js')
- }, void 0)
- },
- meta: { title: '训练月报' }
- }
- ],
- routesSchool = [
- {
- path: '/',
- component: Auth,
- children: [].concat(router$1, [
- {
- path: '/login',
- name: 'login',
- component: function () {
- return __vitePreload(function () {
- return module.import('./login-legacy.2153caac.js')
- }, void 0)
- },
- meta: { isRegister: !1 }
- },
- {
- path: '/home',
- name: 'home',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.77ac06cc.js')
- }, void 0)
- }
- },
- {
- path: '/my-orchestra',
- name: 'my-orchestra',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.7c39b85d.js')
- }, void 0)
- },
- meta: { title: '我的乐团' }
- },
- {
- path: '/create-orchestra',
- name: 'create-orchestra',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.baa00cb5.js')
- }, void 0)
- },
- meta: { title: '新建乐团' }
- },
- {
- path: '/create-orchestra-teacher',
- name: 'create-orchestra-teacher',
- component: function () {
- return __vitePreload(function () {
- return module.import('./select-teacher-legacy.aaf23853.js')
- }, void 0)
- },
- meta: { title: '选择老师' }
- },
- {
- path: '/orchestra-detail',
- name: 'orchestra-detail',
- component: function () {
- return __vitePreload(function () {
- return module.import('./orchestra-detail-legacy.044314cd.js')
- }, void 0)
- },
- meta: { title: '乐团详情' }
- },
- {
- path: '/school-photo',
- name: 'school-photo',
- component: function () {
- return __vitePreload(function () {
- return module.import('./photo-legacy.cf00dafa.js')
- }, void 0)
- },
- meta: { title: '乐团相册' }
- },
- {
- path: '/photo-detail',
- name: 'photo-detail',
- component: function () {
- return __vitePreload(function () {
- return module.import('./photo-detail-legacy.2a6b8e01.js')
- }, void 0)
- },
- meta: { title: '相册详情' }
- },
- {
- path: '/mass-message',
- name: 'mass-message',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.c4191d81.js')
- }, void 0)
- },
- meta: { title: '群发记录' }
- },
- {
- path: '/create-message',
- name: 'create-message',
- component: function () {
- return __vitePreload(function () {
- return module.import('./create-message-legacy.2a14d468.js')
- }, void 0)
- },
- meta: { title: '群发消息' }
- },
- {
- path: '/companion-teacher',
- name: 'companion-teacher',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.5c2d9850.js')
- }, void 0)
- },
- meta: { title: '伴学老师' }
- },
- {
- path: '/companion-teacher-detail',
- name: 'companion-teacher-detail',
- component: function () {
- return __vitePreload(function () {
- return module.import('./companion-detail-legacy.c0385b86.js')
- }, void 0)
- },
- meta: { title: '伴学老师详情' }
- },
- {
- path: '/companion-unbind',
- name: 'companion-unbind',
- component: function () {
- return __vitePreload(function () {
- return module.import('./unbind-legacy.0562bbb0.js')
- }, void 0)
- },
- meta: { title: '课程交接' }
- },
- {
- path: '/manage-teacher',
- name: 'manage-teacher',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.7010a5c1.js')
- }, void 0)
- },
- meta: { title: '管理老师' }
- },
- {
- path: '/manage-teacher-detail',
- name: 'manage-teacher-detail',
- component: function () {
- return __vitePreload(function () {
- return module.import('./manage-detail-legacy.fca0c2a8.js')
- }, void 0)
- },
- meta: { title: '管理老师详情' }
- },
- {
- path: '/save-share-image',
- name: 'save-share-image',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.62f1667b.js')
- }, void 0)
- },
- meta: { title: '注册' }
- },
- {
- path: '/orchestra-information',
- name: 'orchestra-information',
- component: function () {
- return __vitePreload(function () {
- return module.import('./orchestra-information-legacy.578ae017.js')
- }, void 0)
- },
- meta: { title: '乐团资讯' }
- },
- {
- path: '/add-information',
- name: 'add-information',
- component: function () {
- return __vitePreload(function () {
- return module.import('./add-information-legacy.5541dce2.js')
- }, void 0)
- },
- meta: { title: '添加资讯' }
- },
- {
- path: '/exercise-record',
- name: 'exercise-record',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.e66fdefa.js')
- }, void 0)
- },
- meta: { title: '练习记录' }
- },
- {
- path: '/exercis-detail',
- name: 'exercis-detail',
- component: function () {
- return __vitePreload(function () {
- return module.import('./exercis-detail-legacy.64a6ec4a.js')
- }, void 0)
- },
- meta: { title: '练习统计' }
- },
- {
- path: '/attendance',
- name: 'attendance',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.b03331ef.js')
- }, void 0)
- },
- meta: { title: '考勤管理' }
- },
- {
- path: '/student-att-day',
- name: 'student-att-day',
- component: function () {
- return __vitePreload(function () {
- return module.import('./student-att-day-legacy.6d3bc012.js')
- }, void 0)
- },
- meta: { title: '考勤详情' }
- },
- {
- path: '/teacher-attendDetail',
- name: 'teacher-attendDetail',
- component: function () {
- return __vitePreload(function () {
- return module.import('./teacher-attendDetail-legacy.88e1eafa.js')
- }, void 0)
- },
- meta: { title: '考勤详情' }
- },
- {
- path: '/ranking-list',
- name: 'ranking-list',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.247578dd.js')
- }, void 0)
- },
- meta: { title: '排行榜' }
- },
- {
- path: '/approval-manage',
- name: 'approval-manage',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.a80a5f7f.js')
- }, void 0)
- },
- meta: { title: '待办事项' }
- },
- {
- path: '/student-leave',
- name: 'student-leave',
- component: function () {
- return __vitePreload(function () {
- return module.import('./student-leave-legacy.d89a8173.js')
- }, void 0)
- },
- meta: { title: '审批详情' }
- },
- {
- path: '/train-planning',
- name: 'train-planning',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.2bf33ea7.js')
- }, void 0)
- },
- meta: { title: '乐团排课' }
- },
- {
- path: '/train-content',
- name: 'train-content',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.7af4a178.js')
- }, void 0)
- },
- meta: { title: '训练内容' }
- },
- {
- path: '/practice-detail',
- name: 'practice-detail',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.b2c95321.js')
- }, void 0)
- },
- meta: { title: '训练详情' }
- },
- {
- path: '/course-preview',
- name: 'course-preview',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.436e865d.js')
- }, void 0)
- },
- meta: { title: '课程预览' }
- },
- {
- path: '/course-adjust',
- name: 'course-adjust',
- component: function () {
- return __vitePreload(function () {
- return module.import('./course-adjust-legacy.197b3da2.js')
- }, void 0)
- },
- meta: { title: '课程调整' }
- },
- {
- path: '/batch-adjust',
- name: 'batch-adjust',
- component: function () {
- return __vitePreload(function () {
- return module.import('./batch-adjust-legacy.0445b06e.js')
- }, void 0)
- },
- meta: { title: '批量调整' }
- },
- {
- path: '/school-detail',
- name: 'school-detail',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.e70a45e3.js')
- }, void 0)
- },
- meta: { title: '学校信息' }
- },
- {
- path: '/school-eidt',
- name: 'school-eidt',
- component: function () {
- return __vitePreload(function () {
- return module.import('./eidt-school-legacy.09245cde.js')
- }, void 0)
- },
- meta: { title: '修改学校地址' }
- },
- {
- path: '/attendance-rule',
- name: 'attendance-rule',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.3fd1da2d.js')
- }, void 0)
- },
- meta: { title: '考勤规则' }
- },
- {
- path: '/orchestra-story',
- name: 'orchestra-story',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.5762ea85.js')
- }, void 0)
- },
- meta: { title: '乐团事迹' }
- },
- {
- path: '/story-operation',
- name: 'story-operation',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.ec11e692.js')
- }, void 0)
- },
- meta: { title: '添加事迹' }
- },
- {
- path: '/subsidy-exercise-detail',
- name: 'subsidy-exercise-detail',
- component: function () {
- return __vitePreload(function () {
- return module.import('./exercise-detail-legacy.f7eee951.js')
- }, void 0)
- },
- meta: { title: '训练补助详情' }
- },
- {
- path: '/subsidy-exercise-details',
- name: 'subsidy-exercise-details',
- component: function () {
- return __vitePreload(function () {
- return module.import('./details-legacy.38319bc7.js')
- }, void 0)
- },
- meta: { title: '补助明细' }
- },
- {
- path: '/subsidy-grant-detail',
- name: 'subsidy-grant-detail',
- component: function () {
- return __vitePreload(function () {
- return module.import('./grant-detail-legacy.a413c3a9.js')
- }, void 0)
- },
- meta: { title: '管理补助详情' }
- },
- {
- path: '/subsidy-reward-detail',
- name: 'subsidy-reward-detail',
- component: function () {
- return __vitePreload(function () {
- return module.import('./reward-detail-legacy.df95e2d6.js')
- }, void 0)
- },
- meta: { title: '练习奖励详情' }
- },
- {
- path: '/unitDetail',
- name: 'unitDetail',
- component: function () {
- return __vitePreload(function () {
- return module.import('./unitDetail-legacy.bc37b536.js')
- }, void 0)
- },
- meta: { title: '测验详情' }
- },
- {
- path: '/unit-list',
- name: 'unit-list',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.3c1ddd22.js')
- }, void 0)
- },
- meta: { title: '阶段自测' }
- },
- {
- path: '/orchestra-photo-create',
- name: 'orchestra-photo-create',
- component: function () {
- return __vitePreload(function () {
- return module.import('./photo-create-legacy.641ece22.js')
- }, void 0)
- },
- meta: { title: '创建相册' }
- },
- {
- path: '/practice-rewards',
- name: 'practice-rewards',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.046dcdca.js')
- }, void 0)
- },
- meta: { title: '练习奖励' }
- },
- {
- path: '/practice-rewards-detail',
- name: 'practice-rewards-detail',
- component: function () {
- return __vitePreload(function () {
- return module.import('./detail-legacy.37aec3a9.js')
- }, void 0)
- },
- meta: { title: '练习奖励详情' }
- },
- {
- path: '/attendance-rules',
- name: 'attendance-rules',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.a23ab226.js')
- }, void 0)
- },
- meta: { title: '考勤规则设置' }
- },
- {
- path: '/train-report',
- name: 'train-report',
- component: function () {
- return __vitePreload(function () {
- return module.import('./index-legacy.3b1d94bf.js')
- }, void 0)
- },
- meta: { title: '训练报告' }
- }
- ])
- }
- ].concat(rootRouter, noLoginRouter),
- paymentType = window.paymentType,
- routes = []
- 'STUDENT' === paymentType
- ? (routes = routesStudent)
- : 'TEACHER' === paymentType
- ? (routes = routesTeacher)
- : 'SCHOOL' === paymentType && (routes = routesSchool),
- console.log(paymentType)
- var router = exports(
- 'j',
- createRouter({
- history: createWebHashHistory(),
- routes: routes,
- scrollBehavior: function (e, t, n) {
- if (e.hash) return { el: e.hash, behavior: 'smooth' }
- }
- })
- ),
- whitePath = [
- '/coursewarePlay',
- '/lessonCourseware',
- '/courseList',
- '/companion-teacher-register',
- '/manage-teacher-register',
- '/payResult',
- '/payDefine'
- ]
- router.beforeEach(function (e, t, n) {
- whitePath.includes(e.path) || baseEvent.emit('toastShow'),
- (document.title = e.meta.title || '管乐团'),
- n()
- }),
- router.afterEach(function (e, t) {
- e.path === t.path
- ? baseEvent.emit('toastClose')
- : setTimeout(function () {
- baseEvent.emit('toastClose')
- }, 300)
- })
- var isOpen = !1
- router.onError(function (e) {
- if (e instanceof Error) {
- var t = e.name.indexOf('chunk'),
- n = router.currentRoute.value.fullPath
- console.log(e),
- t &&
- !isOpen &&
- (baseEvent.emit('toastClose'),
- (isOpen = !0),
- showDialog({
- title: '更新提示',
- message: 'APP有更新请点击确定刷新页面?',
- confirmButtonColor: 'var(--van-primary)'
- }).then(function () {
- browser().isApp
- ? postMessage({ api: 'back' })
- : ((location.hash = n), window.location.reload())
- }))
- }
- })
- var index$1 = '',
- normalize = '',
- style = '',
- index = ''
- }
- }
- })
- })()
|