vue.js 2.3MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414404154041640417404184041940420404214042240423404244042540426404274042840429404304043140432404334043440435404364043740438404394044040441404424044340444404454044640447404484044940450404514045240453404544045540456404574045840459404604046140462404634046440465404664046740468404694047040471404724047340474404754047640477404784047940480404814048240483404844048540486404874048840489404904049140492404934049440495404964049740498404994050040501405024050340504405054050640507405084050940510405114051240513405144051540516405174051840519405204052140522405234052440525405264052740528405294053040531405324053340534405354053640537405384053940540405414054240543405444054540546405474054840549405504055140552405534055440555405564055740558405594056040561405624056340564405654056640567405684056940570405714057240573405744057540576405774057840579405804058140582405834058440585405864058740588405894059040591405924059340594405954059640597405984059940600406014060240603406044060540606406074060840609406104061140612406134061440615406164061740618406194062040621406224062340624406254062640627406284062940630406314063240633406344063540636406374063840639406404064140642406434064440645406464064740648406494065040651406524065340654406554065640657406584065940660406614066240663406644066540666406674066840669406704067140672406734067440675406764067740678406794068040681406824068340684406854068640687406884068940690406914069240693406944069540696406974069840699407004070140702407034070440705407064070740708407094071040711407124071340714407154071640717407184071940720407214072240723407244072540726407274072840729407304073140732407334073440735407364073740738407394074040741407424074340744407454074640747407484074940750407514075240753407544075540756407574075840759407604076140762407634076440765407664076740768407694077040771407724077340774407754077640777407784077940780407814078240783407844078540786407874078840789407904079140792407934079440795407964079740798407994080040801408024080340804408054080640807408084080940810408114081240813408144081540816408174081840819408204082140822408234082440825408264082740828408294083040831408324083340834408354083640837408384083940840408414084240843408444084540846408474084840849408504085140852408534085440855408564085740858408594086040861408624086340864408654086640867408684086940870408714087240873408744087540876408774087840879408804088140882408834088440885408864088740888408894089040891408924089340894408954089640897408984089940900409014090240903409044090540906409074090840909409104091140912409134091440915409164091740918409194092040921409224092340924409254092640927409284092940930409314093240933409344093540936409374093840939409404094140942409434094440945409464094740948409494095040951409524095340954409554095640957409584095940960409614096240963409644096540966409674096840969409704097140972409734097440975409764097740978409794098040981409824098340984409854098640987409884098940990409914099240993409944099540996409974099840999410004100141002410034100441005410064100741008410094101041011410124101341014410154101641017410184101941020410214102241023410244102541026410274102841029410304103141032410334103441035410364103741038410394104041041410424104341044410454104641047410484104941050410514105241053410544105541056410574105841059410604106141062410634106441065410664106741068410694107041071410724107341074410754107641077410784107941080410814108241083410844108541086410874108841089410904109141092410934109441095410964109741098410994110041101411024110341104411054110641107411084110941110411114111241113411144111541116411174111841119411204112141122411234112441125411264112741128411294113041131411324113341134411354113641137411384113941140411414114241143411444114541146411474114841149411504115141152411534115441155411564115741158411594116041161411624116341164411654116641167411684116941170411714117241173411744117541176411774117841179411804118141182411834118441185411864118741188411894119041191411924119341194411954119641197411984119941200412014120241203412044120541206412074120841209412104121141212412134121441215412164121741218412194122041221412224122341224412254122641227412284122941230412314123241233412344123541236412374123841239412404124141242412434124441245412464124741248412494125041251412524125341254412554125641257412584125941260412614126241263412644126541266412674126841269412704127141272412734127441275412764127741278412794128041281412824128341284412854128641287412884128941290412914129241293412944129541296412974129841299413004130141302413034130441305413064130741308413094131041311413124131341314413154131641317413184131941320413214132241323413244132541326413274132841329413304133141332413334133441335413364133741338413394134041341413424134341344413454134641347413484134941350413514135241353413544135541356413574135841359413604136141362413634136441365413664136741368413694137041371413724137341374413754137641377413784137941380413814138241383413844138541386413874138841389413904139141392413934139441395413964139741398413994140041401414024140341404414054140641407414084140941410414114141241413414144141541416414174141841419414204142141422414234142441425414264142741428414294143041431414324143341434414354143641437414384143941440414414144241443414444144541446414474144841449414504145141452414534145441455414564145741458414594146041461414624146341464414654146641467414684146941470414714147241473414744147541476414774147841479414804148141482414834148441485414864148741488414894149041491414924149341494414954149641497414984149941500415014150241503415044150541506415074150841509415104151141512415134151441515415164151741518415194152041521415224152341524415254152641527415284152941530415314153241533415344153541536415374153841539415404154141542415434154441545415464154741548415494155041551415524155341554415554155641557415584155941560415614156241563415644156541566415674156841569415704157141572415734157441575415764157741578415794158041581415824158341584415854158641587415884158941590415914159241593415944159541596415974159841599416004160141602416034160441605416064160741608416094161041611416124161341614416154161641617416184161941620416214162241623416244162541626416274162841629416304163141632416334163441635416364163741638416394164041641416424164341644416454164641647416484164941650416514165241653416544165541656416574165841659416604166141662416634166441665416664166741668416694167041671416724167341674416754167641677416784167941680416814168241683416844168541686416874168841689416904169141692416934169441695416964169741698416994170041701417024170341704417054170641707417084170941710417114171241713417144171541716417174171841719417204172141722417234172441725417264172741728417294173041731417324173341734417354173641737417384173941740417414174241743417444174541746417474174841749417504175141752417534175441755417564175741758417594176041761417624176341764417654176641767417684176941770417714177241773417744177541776417774177841779417804178141782417834178441785417864178741788417894179041791417924179341794417954179641797417984179941800418014180241803418044180541806418074180841809418104181141812418134181441815418164181741818418194182041821418224182341824418254182641827418284182941830418314183241833418344183541836418374183841839418404184141842418434184441845418464184741848418494185041851418524185341854418554185641857418584185941860418614186241863418644186541866418674186841869418704187141872418734187441875418764187741878418794188041881418824188341884418854188641887418884188941890418914189241893418944189541896418974189841899419004190141902419034190441905419064190741908419094191041911419124191341914419154191641917419184191941920419214192241923419244192541926419274192841929419304193141932419334193441935419364193741938419394194041941419424194341944419454194641947419484194941950419514195241953419544195541956419574195841959419604196141962419634196441965419664196741968419694197041971419724197341974419754197641977419784197941980419814198241983419844198541986419874198841989419904199141992419934199441995419964199741998419994200042001420024200342004420054200642007420084200942010420114201242013420144201542016420174201842019420204202142022420234202442025420264202742028420294203042031420324203342034420354203642037420384203942040420414204242043420444204542046420474204842049420504205142052420534205442055420564205742058420594206042061420624206342064420654206642067420684206942070420714207242073420744207542076420774207842079420804208142082420834208442085420864208742088420894209042091420924209342094420954209642097420984209942100421014210242103421044210542106421074210842109421104211142112421134211442115421164211742118421194212042121421224212342124421254212642127421284212942130421314213242133421344213542136421374213842139421404214142142421434214442145421464214742148421494215042151421524215342154421554215642157421584215942160421614216242163421644216542166421674216842169421704217142172421734217442175421764217742178421794218042181421824218342184421854218642187421884218942190421914219242193421944219542196421974219842199422004220142202422034220442205422064220742208422094221042211422124221342214422154221642217422184221942220422214222242223422244222542226422274222842229422304223142232422334223442235422364223742238422394224042241422424224342244422454224642247422484224942250422514225242253422544225542256422574225842259422604226142262422634226442265422664226742268422694227042271422724227342274422754227642277422784227942280422814228242283422844228542286422874228842289422904229142292422934229442295422964229742298422994230042301423024230342304423054230642307423084230942310423114231242313423144231542316423174231842319423204232142322423234232442325423264232742328423294233042331423324233342334423354233642337423384233942340423414234242343423444234542346423474234842349423504235142352423534235442355423564235742358423594236042361423624236342364423654236642367423684236942370423714237242373423744237542376423774237842379423804238142382423834238442385423864238742388423894239042391423924239342394423954239642397423984239942400424014240242403424044240542406424074240842409424104241142412424134241442415424164241742418424194242042421424224242342424424254242642427424284242942430424314243242433424344243542436424374243842439424404244142442424434244442445424464244742448424494245042451424524245342454424554245642457424584245942460424614246242463424644246542466424674246842469424704247142472424734247442475424764247742478424794248042481424824248342484424854248642487424884248942490424914249242493424944249542496424974249842499425004250142502425034250442505425064250742508425094251042511425124251342514425154251642517425184251942520425214252242523425244252542526425274252842529425304253142532425334253442535425364253742538425394254042541425424254342544425454254642547425484254942550425514255242553425544255542556425574255842559425604256142562425634256442565425664256742568425694257042571425724257342574425754257642577425784257942580425814258242583425844258542586425874258842589425904259142592425934259442595425964259742598425994260042601426024260342604426054260642607426084260942610426114261242613426144261542616426174261842619426204262142622426234262442625426264262742628426294263042631426324263342634426354263642637426384263942640426414264242643426444264542646426474264842649426504265142652426534265442655426564265742658426594266042661426624266342664426654266642667426684266942670426714267242673426744267542676426774267842679426804268142682426834268442685426864268742688426894269042691426924269342694426954269642697426984269942700427014270242703427044270542706427074270842709427104271142712427134271442715427164271742718427194272042721427224272342724427254272642727427284272942730427314273242733427344273542736427374273842739427404274142742427434274442745427464274742748427494275042751427524275342754427554275642757427584275942760427614276242763427644276542766427674276842769427704277142772427734277442775427764277742778427794278042781427824278342784427854278642787427884278942790427914279242793427944279542796427974279842799428004280142802428034280442805428064280742808428094281042811428124281342814428154281642817428184281942820428214282242823428244282542826428274282842829428304283142832428334283442835428364283742838428394284042841428424284342844428454284642847428484284942850428514285242853428544285542856428574285842859428604286142862428634286442865428664286742868428694287042871428724287342874428754287642877428784287942880428814288242883428844288542886428874288842889428904289142892428934289442895428964289742898428994290042901429024290342904429054290642907429084290942910429114291242913429144291542916429174291842919429204292142922429234292442925429264292742928429294293042931429324293342934429354293642937429384293942940429414294242943429444294542946429474294842949429504295142952429534295442955429564295742958429594296042961429624296342964429654296642967429684296942970429714297242973429744297542976429774297842979429804298142982429834298442985429864298742988429894299042991429924299342994429954299642997429984299943000430014300243003430044300543006430074300843009430104301143012430134301443015430164301743018430194302043021430224302343024430254302643027430284302943030430314303243033430344303543036430374303843039430404304143042430434304443045430464304743048430494305043051430524305343054430554305643057430584305943060430614306243063430644306543066430674306843069430704307143072430734307443075430764307743078430794308043081430824308343084430854308643087430884308943090430914309243093430944309543096430974309843099431004310143102431034310443105431064310743108431094311043111431124311343114431154311643117431184311943120431214312243123431244312543126431274312843129431304313143132431334313443135431364313743138431394314043141431424314343144431454314643147431484314943150431514315243153431544315543156431574315843159431604316143162431634316443165431664316743168431694317043171431724317343174431754317643177431784317943180431814318243183431844318543186431874318843189431904319143192431934319443195431964319743198431994320043201432024320343204432054320643207432084320943210432114321243213432144321543216432174321843219432204322143222432234322443225432264322743228432294323043231432324323343234432354323643237432384323943240432414324243243432444324543246432474324843249432504325143252432534325443255432564325743258432594326043261432624326343264432654326643267432684326943270432714327243273432744327543276432774327843279432804328143282432834328443285432864328743288432894329043291432924329343294432954329643297432984329943300433014330243303433044330543306433074330843309433104331143312433134331443315433164331743318433194332043321433224332343324433254332643327433284332943330433314333243333433344333543336433374333843339433404334143342433434334443345433464334743348433494335043351433524335343354433554335643357433584335943360433614336243363433644336543366433674336843369433704337143372433734337443375433764337743378433794338043381433824338343384433854338643387433884338943390433914339243393433944339543396433974339843399434004340143402434034340443405434064340743408434094341043411434124341343414434154341643417434184341943420434214342243423434244342543426434274342843429434304343143432434334343443435434364343743438434394344043441434424344343444434454344643447434484344943450434514345243453434544345543456434574345843459434604346143462434634346443465434664346743468434694347043471434724347343474434754347643477434784347943480434814348243483434844348543486434874348843489434904349143492434934349443495434964349743498434994350043501435024350343504435054350643507435084350943510435114351243513435144351543516435174351843519435204352143522435234352443525435264352743528435294353043531435324353343534435354353643537435384353943540435414354243543435444354543546435474354843549435504355143552435534355443555435564355743558435594356043561435624356343564435654356643567435684356943570435714357243573435744357543576435774357843579435804358143582435834358443585435864358743588435894359043591435924359343594435954359643597435984359943600436014360243603436044360543606436074360843609436104361143612436134361443615436164361743618436194362043621436224362343624436254362643627436284362943630436314363243633436344363543636436374363843639436404364143642436434364443645436464364743648436494365043651436524365343654436554365643657436584365943660436614366243663436644366543666436674366843669436704367143672436734367443675436764367743678436794368043681436824368343684436854368643687436884368943690436914369243693436944369543696436974369843699437004370143702437034370443705437064370743708437094371043711437124371343714437154371643717437184371943720437214372243723437244372543726437274372843729437304373143732437334373443735437364373743738437394374043741437424374343744437454374643747437484374943750437514375243753437544375543756437574375843759437604376143762437634376443765437664376743768437694377043771437724377343774437754377643777437784377943780437814378243783437844378543786437874378843789437904379143792437934379443795437964379743798437994380043801438024380343804438054380643807438084380943810438114381243813438144381543816438174381843819438204382143822438234382443825438264382743828438294383043831438324383343834438354383643837438384383943840438414384243843438444384543846438474384843849438504385143852438534385443855438564385743858438594386043861438624386343864438654386643867438684386943870438714387243873438744387543876438774387843879438804388143882438834388443885438864388743888438894389043891438924389343894438954389643897438984389943900439014390243903439044390543906439074390843909439104391143912439134391443915439164391743918439194392043921439224392343924439254392643927439284392943930439314393243933439344393543936439374393843939439404394143942439434394443945439464394743948439494395043951439524395343954439554395643957439584395943960439614396243963439644396543966439674396843969439704397143972439734397443975439764397743978439794398043981439824398343984439854398643987439884398943990439914399243993439944399543996439974399843999440004400144002440034400444005440064400744008440094401044011440124401344014440154401644017440184401944020440214402244023440244402544026440274402844029440304403144032440334403444035440364403744038440394404044041440424404344044440454404644047440484404944050440514405244053440544405544056440574405844059440604406144062440634406444065440664406744068440694407044071440724407344074440754407644077440784407944080440814408244083440844408544086440874408844089440904409144092440934409444095440964409744098440994410044101441024410344104441054410644107441084410944110441114411244113441144411544116441174411844119441204412144122441234412444125441264412744128441294413044131441324413344134441354413644137441384413944140441414414244143441444414544146441474414844149441504415144152441534415444155441564415744158441594416044161441624416344164441654416644167441684416944170441714417244173441744417544176441774417844179441804418144182441834418444185441864418744188441894419044191441924419344194441954419644197441984419944200442014420244203442044420544206442074420844209442104421144212442134421444215442164421744218442194422044221442224422344224
  1. /******/ (() => { // webpackBootstrap
  2. /******/ var __webpack_modules__ = ({
  3. /***/ "./node_modules/@inertiajs/inertia-vue3/dist/index.js":
  4. /*!************************************************************!*\
  5. !*** ./node_modules/@inertiajs/inertia-vue3/dist/index.js ***!
  6. \************************************************************/
  7. /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
  8. function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var r=e(__webpack_require__(/*! lodash.isequal */ "./node_modules/lodash.isequal/index.js")),t=__webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js"),n=e(__webpack_require__(/*! lodash.clonedeep */ "./node_modules/lodash.clonedeep/index.js")),o=__webpack_require__(/*! @inertiajs/inertia */ "./node_modules/@inertiajs/inertia/dist/index.js");function i(){return(i=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function a(){var e=[].slice.call(arguments),a="string"==typeof e[0]?e[0]:null,u=("string"==typeof e[0]?e[1]:e[0])||{},s=a?o.Inertia.restore(a):null,c=n(u),l=null,p=null,f=function(e){return e},d=t.reactive(i({},s?s.data:u,{isDirty:!1,errors:s?s.errors:{},hasErrors:!1,processing:!1,progress:null,wasSuccessful:!1,recentlySuccessful:!1,data:function(){var e=this;return Object.keys(u).reduce(function(r,t){return r[t]=e[t],r},{})},transform:function(e){return f=e,this},defaults:function(e,r){var t;return c=void 0===e?this.data():Object.assign({},n(c),r?((t={})[e]=r,t):e),this},reset:function(){var e=[].slice.call(arguments),r=n(c);return Object.assign(this,0===e.length?r:Object.keys(r).filter(function(r){return e.includes(r)}).reduce(function(e,t){return e[t]=r[t],e},{})),this},setError:function(e,r){var t;return Object.assign(this.errors,r?((t={})[e]=r,t):e),this.hasErrors=Object.keys(this.errors).length>0,this},clearErrors:function(){var e=this,r=[].slice.call(arguments);return this.errors=Object.keys(this.errors).reduce(function(t,n){var o;return i({},t,r.length>0&&!r.includes(n)?((o={})[n]=e.errors[n],o):{})},{}),this.hasErrors=Object.keys(this.errors).length>0,this},submit:function(e,r,t){var a=this,u=this;void 0===t&&(t={});var s=f(this.data()),d=i({},t,{onCancelToken:function(e){if(l=e,t.onCancelToken)return t.onCancelToken(e)},onBefore:function(e){if(u.wasSuccessful=!1,u.recentlySuccessful=!1,clearTimeout(p),t.onBefore)return t.onBefore(e)},onStart:function(e){if(u.processing=!0,t.onStart)return t.onStart(e)},onProgress:function(e){if(u.progress=e,t.onProgress)return t.onProgress(e)},onSuccess:function(e){try{var r=function(e){return c=n(a.data()),a.isDirty=!1,e};return a.processing=!1,a.progress=null,a.clearErrors(),a.wasSuccessful=!0,a.recentlySuccessful=!0,p=setTimeout(function(){return a.recentlySuccessful=!1},2e3),Promise.resolve(t.onSuccess?Promise.resolve(t.onSuccess(e)).then(r):r(null))}catch(e){return Promise.reject(e)}},onError:function(e){if(u.processing=!1,u.progress=null,u.clearErrors().setError(e),t.onError)return t.onError(e)},onCancel:function(){if(u.processing=!1,u.progress=null,t.onCancel)return t.onCancel()},onFinish:function(){if(u.processing=!1,u.progress=null,l=null,t.onFinish)return t.onFinish()}});"delete"===e?o.Inertia.delete(r,i({},d,{data:s})):o.Inertia[e](r,s,d)},get:function(e,r){this.submit("get",e,r)},post:function(e,r){this.submit("post",e,r)},put:function(e,r){this.submit("put",e,r)},patch:function(e,r){this.submit("patch",e,r)},delete:function(e,r){this.submit("delete",e,r)},cancel:function(){l&&l.cancel()},__rememberable:null===a,__remember:function(){return{data:this.data(),errors:this.errors}},__restore:function(e){Object.assign(this,e.data),this.setError(e.errors)}}));return t.watch(d,function(e){d.isDirty=!r(d.data(),c),a&&o.Inertia.remember(n(e.__remember()),a)},{immediate:!0,deep:!0}),d}var u={created:function(){var e=this;if(this.$options.remember){Array.isArray(this.$options.remember)&&(this.$options.remember={data:this.$options.remember}),"string"==typeof this.$options.remember&&(this.$options.remember={data:[this.$options.remember]}),"string"==typeof this.$options.remember.data&&(this.$options.remember={data:[this.$options.remember.data]});var r=this.$options.remember.key instanceof Function?this.$options.remember.key.call(this):this.$options.remember.key,t=o.Inertia.restore(r),a=this.$options.remember.data.filter(function(r){return!(null!==e[r]&&"object"==typeof e[r]&&!1===e[r].__rememberable)}),u=function(r){return null!==e[r]&&"object"==typeof e[r]&&"function"==typeof e[r].__remember&&"function"==typeof e[r].__restore};a.forEach(function(s){void 0!==e[s]&&void 0!==t&&void 0!==t[s]&&(u(s)?e[s].__restore(t[s]):e[s]=t[s]),e.$watch(s,function(){o.Inertia.remember(a.reduce(function(r,t){var o;return i({},r,((o={})[t]=n(u(t)?e[t].__remember():e[t]),o))},{}),r)},{immediate:!0,deep:!0})})}}},s=t.ref(null),c=t.ref({}),l=t.ref(null),p=null,f={name:"Inertia",props:{initialPage:{type:Object,required:!0},initialComponent:{type:Object,required:!1},resolveComponent:{type:Function,required:!1},titleCallback:{type:Function,required:!1,default:function(e){return e}},onHeadUpdate:{type:Function,required:!1,default:function(){return function(){}}}},setup:function(e){var r=e.initialPage,n=e.initialComponent,a=e.resolveComponent,u=e.titleCallback,f=e.onHeadUpdate;s.value=n?t.markRaw(n):null,c.value=r,l.value=null;var d="undefined"==typeof window;return p=o.createHeadManager(d,u,f),d||o.Inertia.init({initialPage:r,resolveComponent:a,swapComponent:function(e){try{return s.value=t.markRaw(e.component),c.value=e.page,l.value=e.preserveState?l.value:Date.now(),Promise.resolve()}catch(e){return Promise.reject(e)}}}),function(){if(s.value){s.value.inheritAttrs=!!s.value.inheritAttrs;var e=t.h(s.value,i({},c.value.props,{key:l.value}));return s.value.layout?"function"==typeof s.value.layout?s.value.layout(t.h,e):(Array.isArray(s.value.layout)?s.value.layout:[s.value.layout]).concat(e).reverse().reduce(function(e,r){return r.inheritAttrs=!!r.inheritAttrs,t.h(r,i({},c.value.props),function(){return e})}):e}}}},d={install:function(e){o.Inertia.form=a,Object.defineProperty(e.config.globalProperties,"$inertia",{get:function(){return o.Inertia}}),Object.defineProperty(e.config.globalProperties,"$page",{get:function(){return c.value}}),Object.defineProperty(e.config.globalProperties,"$headManager",{get:function(){return p}}),e.mixin(u)}},h={props:{title:{type:String,required:!1}},data:function(){return{provider:this.$headManager.createProvider()}},beforeUnmount:function(){this.provider.disconnect()},methods:{isUnaryTag:function(e){return["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"].indexOf(e.type)>-1},renderTagStart:function(e){e.props=e.props||{},e.props.inertia=void 0!==e.props["head-key"]?e.props["head-key"]:"";var r=Object.keys(e.props).reduce(function(r,t){var n=e.props[t];return["key","head-key"].includes(t)?r:""===n?r+" "+t:r+" "+t+'="'+n+'"'},"");return"<"+e.type+r+">"},renderTagChildren:function(e){var r=this;return"string"==typeof e.children?e.children:e.children.reduce(function(e,t){return e+r.renderTag(t)},"")},renderTag:function(e){if("Symbol(Text)"===e.type.toString())return e.children;if("Symbol()"===e.type.toString())return"";if("Symbol(Comment)"===e.type.toString())return"";var r=this.renderTagStart(e);return e.children&&(r+=this.renderTagChildren(e)),this.isUnaryTag(e)||(r+="</"+e.type+">"),r},addTitleElement:function(e){return this.title&&!e.find(function(e){return e.startsWith("<title")})&&e.push("<title inertia>"+this.title+"</title>"),e},renderNodes:function(e){var r=this;return this.addTitleElement(e.flatMap(function(e){return"Symbol(Fragment)"===e.type.toString()?e.children:e}).map(function(e){return r.renderTag(e)}).filter(function(e){return e}))}},render:function(){this.provider.update(this.renderNodes(this.$slots.default?this.$slots.default():[]))}},m={name:"InertiaLink",props:{as:{type:String,default:"a"},data:{type:Object,default:function(){return{}}},href:{type:String},method:{type:String,default:"get"},replace:{type:Boolean,default:!1},preserveScroll:{type:Boolean,default:!1},preserveState:{type:Boolean,default:null},only:{type:Array,default:function(){return[]}},headers:{type:Object,default:function(){return{}}},queryStringArrayFormat:{type:String,default:"brackets"}},setup:function(e,r){var n=r.slots,a=r.attrs;return function(e){var r=e.as.toLowerCase(),u=e.method.toLowerCase(),s=o.mergeDataIntoQueryString(u,e.href||"",e.data,e.queryStringArrayFormat),c=s[0],l=s[1];return"a"===r&&"get"!==u&&console.warn('Creating POST/PUT/PATCH/DELETE <a> links is discouraged as it causes "Open Link in New Tab/Window" accessibility issues.\n\nPlease specify a more appropriate element using the "as" attribute. For example:\n\n<Link href="'+c+'" method="'+u+'" as="button">...</Link>'),t.h(e.as,i({},a,"a"===r?{href:c}:{},{onClick:function(r){var t;o.shouldIntercept(r)&&(r.preventDefault(),o.Inertia.visit(c,{data:l,method:u,replace:e.replace,preserveScroll:e.preserveScroll,preserveState:null!=(t=e.preserveState)?t:"get"!==u,only:e.only,headers:e.headers,onCancelToken:a.onCancelToken||function(){return{}},onBefore:a.onBefore||function(){return{}},onStart:a.onStart||function(){return{}},onProgress:a.onProgress||function(){return{}},onFinish:a.onFinish||function(){return{}},onCancel:a.onCancel||function(){return{}},onSuccess:a.onSuccess||function(){return{}},onError:a.onError||function(){return{}}}))}}),n)}}};exports.App=f,exports.Head=h,exports.InertiaApp=f,exports.InertiaHead=h,exports.InertiaLink=m,exports.Link=m,exports.app=f,exports.createInertiaApp=function(e){try{var r,n,o,i,a,u,s;n=void 0===(r=e.id)?"app":r,o=e.resolve,i=e.setup,a=e.title,u=e.page,s=e.render;var c="undefined"==typeof window,l=c?null:document.getElementById(n),p=u||JSON.parse(l.dataset.page),h=function(e){return Promise.resolve(o(e)).then(function(e){return e.default||e})},m=[];return Promise.resolve(h(p.component).then(function(e){return i({el:l,app:f,App:f,props:{initialPage:p,initialComponent:e,resolveComponent:h,titleCallback:a,onHeadUpdate:c?function(e){return m=e}:null},plugin:d})})).then(function(e){return function(){if(c)return Promise.resolve(s(t.createSSRApp({render:function(){return t.h("div",{id:n,"data-page":JSON.stringify(p),innerHTML:s(e)})}}))).then(function(e){return{head:m,body:e}})}()})}catch(e){return Promise.reject(e)}},exports.link=m,exports.plugin=d,exports.useForm=a,exports.usePage=function(){return{props:t.computed(function(){return c.value.props}),url:t.computed(function(){return c.value.url}),component:t.computed(function(){return c.value.component}),version:t.computed(function(){return c.value.version})}},exports.useRemember=function(e,r){if("object"==typeof e&&null!==e&&!1===e.__rememberable)return e;var i=o.Inertia.restore(r),a=t.isReactive(e)?t.reactive:t.ref,u="function"==typeof e.__remember&&"function"==typeof e.__restore,s=void 0===i?e:a(u?e.__restore(i):i);return t.watch(s,function(t){o.Inertia.remember(n(u?e.__remember():t),r)},{immediate:!0,deep:!0}),s};
  9. //# sourceMappingURL=index.js.map
  10. /***/ }),
  11. /***/ "./node_modules/@inertiajs/inertia/dist/index.js":
  12. /*!*******************************************************!*\
  13. !*** ./node_modules/@inertiajs/inertia/dist/index.js ***!
  14. \*******************************************************/
  15. /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
  16. function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var t=e(__webpack_require__(/*! axios */ "./node_modules/@inertiajs/inertia/node_modules/axios/index.js")),n=__webpack_require__(/*! qs */ "./node_modules/@inertiajs/inertia/node_modules/qs/lib/index.js"),i=e(__webpack_require__(/*! deepmerge */ "./node_modules/deepmerge/dist/cjs.js"));function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var o,s={modal:null,listener:null,show:function(e){var t=this;"object"==typeof e&&(e="All Inertia requests must receive a valid Inertia response, however a plain JSON response was received.<hr>"+JSON.stringify(e));var n=document.createElement("html");n.innerHTML=e,n.querySelectorAll("a").forEach(function(e){return e.setAttribute("target","_top")}),this.modal=document.createElement("div"),this.modal.style.position="fixed",this.modal.style.width="100vw",this.modal.style.height="100vh",this.modal.style.padding="50px",this.modal.style.boxSizing="border-box",this.modal.style.backgroundColor="rgba(0, 0, 0, .6)",this.modal.style.zIndex=2e5,this.modal.addEventListener("click",function(){return t.hide()});var i=document.createElement("iframe");if(i.style.backgroundColor="white",i.style.borderRadius="5px",i.style.width="100%",i.style.height="100%",this.modal.appendChild(i),document.body.prepend(this.modal),document.body.style.overflow="hidden",!i.contentWindow)throw new Error("iframe not yet ready.");i.contentWindow.document.open(),i.contentWindow.document.write(n.outerHTML),i.contentWindow.document.close(),this.listener=this.hideOnEscape.bind(this),document.addEventListener("keydown",this.listener)},hide:function(){this.modal.outerHTML="",this.modal=null,document.body.style.overflow="visible",document.removeEventListener("keydown",this.listener)},hideOnEscape:function(e){27===e.keyCode&&this.hide()}};function a(e,t){var n;return function(){var i=arguments,r=this;clearTimeout(n),n=setTimeout(function(){return e.apply(r,[].slice.call(i))},t)}}function c(e,t,n){for(var i in void 0===t&&(t=new FormData),void 0===n&&(n=null),e=e||{})Object.prototype.hasOwnProperty.call(e,i)&&d(t,l(n,i),e[i]);return t}function l(e,t){return e?e+"["+t+"]":t}function d(e,t,n){return Array.isArray(n)?Array.from(n.keys()).forEach(function(i){return d(e,l(t,i.toString()),n[i])}):n instanceof Date?e.append(t,n.toISOString()):n instanceof File?e.append(t,n,n.name):n instanceof Blob?e.append(t,n):"boolean"==typeof n?e.append(t,n?"1":"0"):"string"==typeof n?e.append(t,n):"number"==typeof n?e.append(t,""+n):null==n?e.append(t,""):void c(n,e,t)}function u(e){return new URL(e.toString(),window.location.toString())}function h(e,t,r,o){void 0===o&&(o="brackets");var s=/^https?:\/\//.test(t.toString()),a=s||t.toString().startsWith("/"),c=!a&&!t.toString().startsWith("#")&&!t.toString().startsWith("?"),l=t.toString().includes("?")||e===exports.Method.GET&&Object.keys(r).length,d=t.toString().includes("#"),u=new URL(t.toString(),"http://localhost");return e===exports.Method.GET&&Object.keys(r).length&&(u.search=n.stringify(i(n.parse(u.search,{ignoreQueryPrefix:!0}),r),{encodeValuesOnly:!0,arrayFormat:o}),r={}),[[s?u.protocol+"//"+u.host:"",a?u.pathname:"",c?u.pathname.substring(1):"",l?u.search:"",d?u.hash:""].join(""),r]}function p(e){return(e=new URL(e.href)).hash="",e}function f(e,t){return document.dispatchEvent(new CustomEvent("inertia:"+e,t))}(o=exports.Method||(exports.Method={})).GET="get",o.POST="post",o.PUT="put",o.PATCH="patch",o.DELETE="delete";var v=function(e){return f("finish",{detail:{visit:e}})},m=function(e){return f("navigate",{detail:{page:e}})},g="undefined"==typeof window,w=function(){function e(){this.visitId=null}var n=e.prototype;return n.init=function(e){var t=e.resolveComponent,n=e.swapComponent;this.page=e.initialPage,this.resolveComponent=t,this.swapComponent=n,this.isBackForwardVisit()?this.handleBackForwardVisit(this.page):this.isLocationVisit()?this.handleLocationVisit(this.page):this.handleInitialPageVisit(this.page),this.setupEventListeners()},n.handleInitialPageVisit=function(e){this.page.url+=window.location.hash,this.setPage(e,{preserveState:!0}).then(function(){return m(e)})},n.setupEventListeners=function(){window.addEventListener("popstate",this.handlePopstateEvent.bind(this)),document.addEventListener("scroll",a(this.handleScrollEvent.bind(this),100),!0)},n.scrollRegions=function(){return document.querySelectorAll("[scroll-region]")},n.handleScrollEvent=function(e){"function"==typeof e.target.hasAttribute&&e.target.hasAttribute("scroll-region")&&this.saveScrollPositions()},n.saveScrollPositions=function(){this.replaceState(r({},this.page,{scrollRegions:Array.from(this.scrollRegions()).map(function(e){return{top:e.scrollTop,left:e.scrollLeft}})}))},n.resetScrollPositions=function(){var e;document.documentElement.scrollTop=0,document.documentElement.scrollLeft=0,this.scrollRegions().forEach(function(e){e.scrollTop=0,e.scrollLeft=0}),this.saveScrollPositions(),window.location.hash&&(null==(e=document.getElementById(window.location.hash.slice(1)))||e.scrollIntoView())},n.restoreScrollPositions=function(){var e=this;this.page.scrollRegions&&this.scrollRegions().forEach(function(t,n){var i=e.page.scrollRegions[n];i&&(t.scrollTop=i.top,t.scrollLeft=i.left)})},n.isBackForwardVisit=function(){return window.history.state&&window.performance&&window.performance.getEntriesByType("navigation").length>0&&"back_forward"===window.performance.getEntriesByType("navigation")[0].type},n.handleBackForwardVisit=function(e){var t=this;window.history.state.version=e.version,this.setPage(window.history.state,{preserveScroll:!0,preserveState:!0}).then(function(){t.restoreScrollPositions(),m(e)})},n.locationVisit=function(e,t){try{window.sessionStorage.setItem("inertiaLocationVisit",JSON.stringify({preserveScroll:t})),window.location.href=e.href,p(window.location).href===p(e).href&&window.location.reload()}catch(e){return!1}},n.isLocationVisit=function(){try{return null!==window.sessionStorage.getItem("inertiaLocationVisit")}catch(e){return!1}},n.handleLocationVisit=function(e){var t,n,i,r,o=this,s=JSON.parse(window.sessionStorage.getItem("inertiaLocationVisit")||"");window.sessionStorage.removeItem("inertiaLocationVisit"),e.url+=window.location.hash,e.rememberedState=null!=(t=null==(n=window.history.state)?void 0:n.rememberedState)?t:{},e.scrollRegions=null!=(i=null==(r=window.history.state)?void 0:r.scrollRegions)?i:[],this.setPage(e,{preserveScroll:s.preserveScroll,preserveState:!0}).then(function(){s.preserveScroll&&o.restoreScrollPositions(),m(e)})},n.isLocationVisitResponse=function(e){return e&&409===e.status&&e.headers["x-inertia-location"]},n.isInertiaResponse=function(e){return null==e?void 0:e.headers["x-inertia"]},n.createVisitId=function(){return this.visitId={},this.visitId},n.cancelVisit=function(e,t){var n=t.cancelled,i=void 0!==n&&n,r=t.interrupted,o=void 0!==r&&r;!e||e.completed||e.cancelled||e.interrupted||(e.cancelToken.cancel(),e.onCancel(),e.completed=!1,e.cancelled=i,e.interrupted=o,v(e),e.onFinish(e))},n.finishVisit=function(e){e.cancelled||e.interrupted||(e.completed=!0,e.cancelled=!1,e.interrupted=!1,v(e),e.onFinish(e))},n.resolvePreserveOption=function(e,t){return"function"==typeof e?e(t):"errors"===e?Object.keys(t.props.errors||{}).length>0:e},n.visit=function(e,n){var i=this,o=void 0===n?{}:n,a=o.method,l=void 0===a?exports.Method.GET:a,d=o.data,v=void 0===d?{}:d,m=o.replace,g=void 0!==m&&m,w=o.preserveScroll,y=void 0!==w&&w,S=o.preserveState,b=void 0!==S&&S,E=o.only,P=void 0===E?[]:E,I=o.headers,x=void 0===I?{}:I,V=o.errorBag,T=void 0===V?"":V,L=o.forceFormData,O=void 0!==L&&L,k=o.onCancelToken,C=void 0===k?function(){}:k,M=o.onBefore,A=void 0===M?function(){}:M,F=o.onStart,R=void 0===F?function(){}:F,j=o.onProgress,D=void 0===j?function(){}:j,B=o.onFinish,q=void 0===B?function(){}:B,N=o.onCancel,H=void 0===N?function(){}:N,W=o.onSuccess,G=void 0===W?function(){}:W,U=o.onError,X=void 0===U?function(){}:U,J=o.queryStringArrayFormat,K=void 0===J?"brackets":J,_="string"==typeof e?u(e):e;if(!function e(t){return t instanceof File||t instanceof Blob||t instanceof FileList&&t.length>0||t instanceof FormData&&Array.from(t.values()).some(function(t){return e(t)})||"object"==typeof t&&null!==t&&Object.values(t).some(function(t){return e(t)})}(v)&&!O||v instanceof FormData||(v=c(v)),!(v instanceof FormData)){var z=h(l,_,v,K),Q=z[1];_=u(z[0]),v=Q}var Y={url:_,method:l,data:v,replace:g,preserveScroll:y,preserveState:b,only:P,headers:x,errorBag:T,forceFormData:O,queryStringArrayFormat:K,cancelled:!1,completed:!1,interrupted:!1};if(!1!==A(Y)&&function(e){return f("before",{cancelable:!0,detail:{visit:e}})}(Y)){this.activeVisit&&this.cancelVisit(this.activeVisit,{interrupted:!0}),this.saveScrollPositions();var Z=this.createVisitId();this.activeVisit=r({},Y,{onCancelToken:C,onBefore:A,onStart:R,onProgress:D,onFinish:q,onCancel:H,onSuccess:G,onError:X,queryStringArrayFormat:K,cancelToken:t.CancelToken.source()}),C({cancel:function(){i.activeVisit&&i.cancelVisit(i.activeVisit,{cancelled:!0})}}),function(e){f("start",{detail:{visit:e}})}(Y),R(Y),t({method:l,url:p(_).href,data:l===exports.Method.GET?{}:v,params:l===exports.Method.GET?v:{},cancelToken:this.activeVisit.cancelToken.token,headers:r({},x,{Accept:"text/html, application/xhtml+xml","X-Requested-With":"XMLHttpRequest","X-Inertia":!0},P.length?{"X-Inertia-Partial-Component":this.page.component,"X-Inertia-Partial-Data":P.join(",")}:{},T&&T.length?{"X-Inertia-Error-Bag":T}:{},this.page.version?{"X-Inertia-Version":this.page.version}:{}),onUploadProgress:function(e){v instanceof FormData&&(e.percentage=Math.round(e.loaded/e.total*100),function(e){f("progress",{detail:{progress:e}})}(e),D(e))}}).then(function(e){var t;if(!i.isInertiaResponse(e))return Promise.reject({response:e});var n=e.data;P.length&&n.component===i.page.component&&(n.props=r({},i.page.props,n.props)),y=i.resolvePreserveOption(y,n),(b=i.resolvePreserveOption(b,n))&&null!=(t=window.history.state)&&t.rememberedState&&n.component===i.page.component&&(n.rememberedState=window.history.state.rememberedState);var o=_,s=u(n.url);return o.hash&&!s.hash&&p(o).href===s.href&&(s.hash=o.hash,n.url=s.href),i.setPage(n,{visitId:Z,replace:g,preserveScroll:y,preserveState:b})}).then(function(){var e=i.page.props.errors||{};if(Object.keys(e).length>0){var t=T?e[T]?e[T]:{}:e;return function(e){f("error",{detail:{errors:e}})}(t),X(t)}return f("success",{detail:{page:i.page}}),G(i.page)}).catch(function(e){if(i.isInertiaResponse(e.response))return i.setPage(e.response.data,{visitId:Z});if(i.isLocationVisitResponse(e.response)){var t=u(e.response.headers["x-inertia-location"]),n=_;n.hash&&!t.hash&&p(n).href===t.href&&(t.hash=n.hash),i.locationVisit(t,!0===y)}else{if(!e.response)return Promise.reject(e);f("invalid",{cancelable:!0,detail:{response:e.response}})&&s.show(e.response.data)}}).then(function(){i.activeVisit&&i.finishVisit(i.activeVisit)}).catch(function(e){if(!t.isCancel(e)){var n=f("exception",{cancelable:!0,detail:{exception:e}});if(i.activeVisit&&i.finishVisit(i.activeVisit),n)return Promise.reject(e)}})}},n.setPage=function(e,t){var n=this,i=void 0===t?{}:t,r=i.visitId,o=void 0===r?this.createVisitId():r,s=i.replace,a=void 0!==s&&s,c=i.preserveScroll,l=void 0!==c&&c,d=i.preserveState,h=void 0!==d&&d;return Promise.resolve(this.resolveComponent(e.component)).then(function(t){o===n.visitId&&(e.scrollRegions=e.scrollRegions||[],e.rememberedState=e.rememberedState||{},(a=a||u(e.url).href===window.location.href)?n.replaceState(e):n.pushState(e),n.swapComponent({component:t,page:e,preserveState:h}).then(function(){l||n.resetScrollPositions(),a||m(e)}))})},n.pushState=function(e){this.page=e,window.history.pushState(e,"",e.url)},n.replaceState=function(e){this.page=e,window.history.replaceState(e,"",e.url)},n.handlePopstateEvent=function(e){var t=this;if(null!==e.state){var n=e.state,i=this.createVisitId();Promise.resolve(this.resolveComponent(n.component)).then(function(e){i===t.visitId&&(t.page=n,t.swapComponent({component:e,page:n,preserveState:!1}).then(function(){t.restoreScrollPositions(),m(n)}))})}else{var o=u(this.page.url);o.hash=window.location.hash,this.replaceState(r({},this.page,{url:o.href})),this.resetScrollPositions()}},n.get=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),this.visit(e,r({},n,{method:exports.Method.GET,data:t}))},n.reload=function(e){return void 0===e&&(e={}),this.visit(window.location.href,r({},e,{preserveScroll:!0,preserveState:!0}))},n.replace=function(e,t){var n;return void 0===t&&(t={}),console.warn("Inertia.replace() has been deprecated and will be removed in a future release. Please use Inertia."+(null!=(n=t.method)?n:"get")+"() instead."),this.visit(e,r({preserveState:!0},t,{replace:!0}))},n.post=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),this.visit(e,r({preserveState:!0},n,{method:exports.Method.POST,data:t}))},n.put=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),this.visit(e,r({preserveState:!0},n,{method:exports.Method.PUT,data:t}))},n.patch=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),this.visit(e,r({preserveState:!0},n,{method:exports.Method.PATCH,data:t}))},n.delete=function(e,t){return void 0===t&&(t={}),this.visit(e,r({preserveState:!0},t,{method:exports.Method.DELETE}))},n.remember=function(e,t){var n,i;void 0===t&&(t="default"),g||this.replaceState(r({},this.page,{rememberedState:r({},null==(n=this.page)?void 0:n.rememberedState,(i={},i[t]=e,i))}))},n.restore=function(e){var t,n;if(void 0===e&&(e="default"),!g)return null==(t=window.history.state)||null==(n=t.rememberedState)?void 0:n[e]},n.on=function(e,t){var n=function(e){var n=t(e);e.cancelable&&!e.defaultPrevented&&!1===n&&e.preventDefault()};return document.addEventListener("inertia:"+e,n),function(){return document.removeEventListener("inertia:"+e,n)}},e}(),y={buildDOMElement:function(e){var t=document.createElement("template");t.innerHTML=e;var n=t.content.firstChild;if(!e.startsWith("<script "))return n;var i=document.createElement("script");return i.innerHTML=n.innerHTML,n.getAttributeNames().forEach(function(e){i.setAttribute(e,n.getAttribute(e)||"")}),i},isInertiaManagedElement:function(e){return e.nodeType===Node.ELEMENT_NODE&&null!==e.getAttribute("inertia")},findMatchingElementIndex:function(e,t){var n=e.getAttribute("inertia");return null!==n?t.findIndex(function(e){return e.getAttribute("inertia")===n}):-1},update:a(function(e){var t=this,n=e.map(function(e){return t.buildDOMElement(e)});Array.from(document.head.childNodes).filter(function(e){return t.isInertiaManagedElement(e)}).forEach(function(e){var i=t.findMatchingElementIndex(e,n);if(-1!==i){var r,o=n.splice(i,1)[0];o&&!e.isEqualNode(o)&&(null==e||null==(r=e.parentNode)||r.replaceChild(o,e))}else{var s;null==e||null==(s=e.parentNode)||s.removeChild(e)}}),n.forEach(function(e){return document.head.appendChild(e)})},1)},S=new w;exports.Inertia=S,exports.createHeadManager=function(e,t,n){var i={},r=0;function o(){var e=Object.values(i).reduce(function(e,t){return e.concat(t)},[]).reduce(function(e,n){if(-1===n.indexOf("<"))return e;if(0===n.indexOf("<title ")){var i=n.match(/(<title [^>]+>)(.*?)(<\/title>)/);return e.title=i?""+i[1]+t(i[2])+i[3]:n,e}var r=n.match(/ inertia="[^"]+"/);return r?e[r[0]]=n:e[Object.keys(e).length]=n,e},{});return Object.values(e)}function s(){e?n(o()):y.update(o())}return{createProvider:function(){var e=function(){var e=r+=1;return i[e]=[],e.toString()}();return{update:function(t){return function(e,t){void 0===t&&(t=[]),null!==e&&Object.keys(i).indexOf(e)>-1&&(i[e]=t),s()}(e,t)},disconnect:function(){return function(e){null!==e&&-1!==Object.keys(i).indexOf(e)&&(delete i[e],s())}(e)}}}}},exports.hrefToUrl=u,exports.mergeDataIntoQueryString=h,exports.shouldIntercept=function(e){var t="a"===e.currentTarget.tagName.toLowerCase();return!(e.target&&null!=e&&e.target.isContentEditable||e.defaultPrevented||t&&e.which>1||t&&e.altKey||t&&e.ctrlKey||t&&e.metaKey||t&&e.shiftKey)},exports.urlWithoutHash=p;
  17. //# sourceMappingURL=index.js.map
  18. /***/ }),
  19. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/index.js":
  20. /*!*********************************************************************!*\
  21. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/index.js ***!
  22. \*********************************************************************/
  23. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  24. module.exports = __webpack_require__(/*! ./lib/axios */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/axios.js");
  25. /***/ }),
  26. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/adapters/xhr.js":
  27. /*!********************************************************************************!*\
  28. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/adapters/xhr.js ***!
  29. \********************************************************************************/
  30. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  31. "use strict";
  32. var utils = __webpack_require__(/*! ./../utils */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/utils.js");
  33. var settle = __webpack_require__(/*! ./../core/settle */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/settle.js");
  34. var cookies = __webpack_require__(/*! ./../helpers/cookies */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/cookies.js");
  35. var buildURL = __webpack_require__(/*! ./../helpers/buildURL */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/buildURL.js");
  36. var buildFullPath = __webpack_require__(/*! ../core/buildFullPath */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/buildFullPath.js");
  37. var parseHeaders = __webpack_require__(/*! ./../helpers/parseHeaders */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/parseHeaders.js");
  38. var isURLSameOrigin = __webpack_require__(/*! ./../helpers/isURLSameOrigin */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/isURLSameOrigin.js");
  39. var createError = __webpack_require__(/*! ../core/createError */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/createError.js");
  40. module.exports = function xhrAdapter(config) {
  41. return new Promise(function dispatchXhrRequest(resolve, reject) {
  42. var requestData = config.data;
  43. var requestHeaders = config.headers;
  44. var responseType = config.responseType;
  45. if (utils.isFormData(requestData)) {
  46. delete requestHeaders['Content-Type']; // Let the browser set it
  47. }
  48. var request = new XMLHttpRequest();
  49. // HTTP basic authentication
  50. if (config.auth) {
  51. var username = config.auth.username || '';
  52. var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';
  53. requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);
  54. }
  55. var fullPath = buildFullPath(config.baseURL, config.url);
  56. request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);
  57. // Set the request timeout in MS
  58. request.timeout = config.timeout;
  59. function onloadend() {
  60. if (!request) {
  61. return;
  62. }
  63. // Prepare the response
  64. var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;
  65. var responseData = !responseType || responseType === 'text' || responseType === 'json' ?
  66. request.responseText : request.response;
  67. var response = {
  68. data: responseData,
  69. status: request.status,
  70. statusText: request.statusText,
  71. headers: responseHeaders,
  72. config: config,
  73. request: request
  74. };
  75. settle(resolve, reject, response);
  76. // Clean up request
  77. request = null;
  78. }
  79. if ('onloadend' in request) {
  80. // Use onloadend if available
  81. request.onloadend = onloadend;
  82. } else {
  83. // Listen for ready state to emulate onloadend
  84. request.onreadystatechange = function handleLoad() {
  85. if (!request || request.readyState !== 4) {
  86. return;
  87. }
  88. // The request errored out and we didn't get a response, this will be
  89. // handled by onerror instead
  90. // With one exception: request that using file: protocol, most browsers
  91. // will return status as 0 even though it's a successful request
  92. if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {
  93. return;
  94. }
  95. // readystate handler is calling before onerror or ontimeout handlers,
  96. // so we should call onloadend on the next 'tick'
  97. setTimeout(onloadend);
  98. };
  99. }
  100. // Handle browser request cancellation (as opposed to a manual cancellation)
  101. request.onabort = function handleAbort() {
  102. if (!request) {
  103. return;
  104. }
  105. reject(createError('Request aborted', config, 'ECONNABORTED', request));
  106. // Clean up request
  107. request = null;
  108. };
  109. // Handle low level network errors
  110. request.onerror = function handleError() {
  111. // Real errors are hidden from us by the browser
  112. // onerror should only fire if it's a network error
  113. reject(createError('Network Error', config, null, request));
  114. // Clean up request
  115. request = null;
  116. };
  117. // Handle timeout
  118. request.ontimeout = function handleTimeout() {
  119. var timeoutErrorMessage = 'timeout of ' + config.timeout + 'ms exceeded';
  120. if (config.timeoutErrorMessage) {
  121. timeoutErrorMessage = config.timeoutErrorMessage;
  122. }
  123. reject(createError(
  124. timeoutErrorMessage,
  125. config,
  126. config.transitional && config.transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',
  127. request));
  128. // Clean up request
  129. request = null;
  130. };
  131. // Add xsrf header
  132. // This is only done if running in a standard browser environment.
  133. // Specifically not if we're in a web worker, or react-native.
  134. if (utils.isStandardBrowserEnv()) {
  135. // Add xsrf header
  136. var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?
  137. cookies.read(config.xsrfCookieName) :
  138. undefined;
  139. if (xsrfValue) {
  140. requestHeaders[config.xsrfHeaderName] = xsrfValue;
  141. }
  142. }
  143. // Add headers to the request
  144. if ('setRequestHeader' in request) {
  145. utils.forEach(requestHeaders, function setRequestHeader(val, key) {
  146. if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {
  147. // Remove Content-Type if data is undefined
  148. delete requestHeaders[key];
  149. } else {
  150. // Otherwise add header to the request
  151. request.setRequestHeader(key, val);
  152. }
  153. });
  154. }
  155. // Add withCredentials to request if needed
  156. if (!utils.isUndefined(config.withCredentials)) {
  157. request.withCredentials = !!config.withCredentials;
  158. }
  159. // Add responseType to request if needed
  160. if (responseType && responseType !== 'json') {
  161. request.responseType = config.responseType;
  162. }
  163. // Handle progress if needed
  164. if (typeof config.onDownloadProgress === 'function') {
  165. request.addEventListener('progress', config.onDownloadProgress);
  166. }
  167. // Not all browsers support upload events
  168. if (typeof config.onUploadProgress === 'function' && request.upload) {
  169. request.upload.addEventListener('progress', config.onUploadProgress);
  170. }
  171. if (config.cancelToken) {
  172. // Handle cancellation
  173. config.cancelToken.promise.then(function onCanceled(cancel) {
  174. if (!request) {
  175. return;
  176. }
  177. request.abort();
  178. reject(cancel);
  179. // Clean up request
  180. request = null;
  181. });
  182. }
  183. if (!requestData) {
  184. requestData = null;
  185. }
  186. // Send the request
  187. request.send(requestData);
  188. });
  189. };
  190. /***/ }),
  191. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/axios.js":
  192. /*!*************************************************************************!*\
  193. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/axios.js ***!
  194. \*************************************************************************/
  195. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  196. "use strict";
  197. var utils = __webpack_require__(/*! ./utils */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/utils.js");
  198. var bind = __webpack_require__(/*! ./helpers/bind */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/bind.js");
  199. var Axios = __webpack_require__(/*! ./core/Axios */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/Axios.js");
  200. var mergeConfig = __webpack_require__(/*! ./core/mergeConfig */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/mergeConfig.js");
  201. var defaults = __webpack_require__(/*! ./defaults */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/defaults.js");
  202. /**
  203. * Create an instance of Axios
  204. *
  205. * @param {Object} defaultConfig The default config for the instance
  206. * @return {Axios} A new instance of Axios
  207. */
  208. function createInstance(defaultConfig) {
  209. var context = new Axios(defaultConfig);
  210. var instance = bind(Axios.prototype.request, context);
  211. // Copy axios.prototype to instance
  212. utils.extend(instance, Axios.prototype, context);
  213. // Copy context to instance
  214. utils.extend(instance, context);
  215. return instance;
  216. }
  217. // Create the default instance to be exported
  218. var axios = createInstance(defaults);
  219. // Expose Axios class to allow class inheritance
  220. axios.Axios = Axios;
  221. // Factory for creating new instances
  222. axios.create = function create(instanceConfig) {
  223. return createInstance(mergeConfig(axios.defaults, instanceConfig));
  224. };
  225. // Expose Cancel & CancelToken
  226. axios.Cancel = __webpack_require__(/*! ./cancel/Cancel */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/cancel/Cancel.js");
  227. axios.CancelToken = __webpack_require__(/*! ./cancel/CancelToken */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/cancel/CancelToken.js");
  228. axios.isCancel = __webpack_require__(/*! ./cancel/isCancel */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/cancel/isCancel.js");
  229. // Expose all/spread
  230. axios.all = function all(promises) {
  231. return Promise.all(promises);
  232. };
  233. axios.spread = __webpack_require__(/*! ./helpers/spread */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/spread.js");
  234. // Expose isAxiosError
  235. axios.isAxiosError = __webpack_require__(/*! ./helpers/isAxiosError */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/isAxiosError.js");
  236. module.exports = axios;
  237. // Allow use of default import syntax in TypeScript
  238. module.exports["default"] = axios;
  239. /***/ }),
  240. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/cancel/Cancel.js":
  241. /*!*********************************************************************************!*\
  242. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/cancel/Cancel.js ***!
  243. \*********************************************************************************/
  244. /***/ ((module) => {
  245. "use strict";
  246. /**
  247. * A `Cancel` is an object that is thrown when an operation is canceled.
  248. *
  249. * @class
  250. * @param {string=} message The message.
  251. */
  252. function Cancel(message) {
  253. this.message = message;
  254. }
  255. Cancel.prototype.toString = function toString() {
  256. return 'Cancel' + (this.message ? ': ' + this.message : '');
  257. };
  258. Cancel.prototype.__CANCEL__ = true;
  259. module.exports = Cancel;
  260. /***/ }),
  261. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/cancel/CancelToken.js":
  262. /*!**************************************************************************************!*\
  263. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/cancel/CancelToken.js ***!
  264. \**************************************************************************************/
  265. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  266. "use strict";
  267. var Cancel = __webpack_require__(/*! ./Cancel */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/cancel/Cancel.js");
  268. /**
  269. * A `CancelToken` is an object that can be used to request cancellation of an operation.
  270. *
  271. * @class
  272. * @param {Function} executor The executor function.
  273. */
  274. function CancelToken(executor) {
  275. if (typeof executor !== 'function') {
  276. throw new TypeError('executor must be a function.');
  277. }
  278. var resolvePromise;
  279. this.promise = new Promise(function promiseExecutor(resolve) {
  280. resolvePromise = resolve;
  281. });
  282. var token = this;
  283. executor(function cancel(message) {
  284. if (token.reason) {
  285. // Cancellation has already been requested
  286. return;
  287. }
  288. token.reason = new Cancel(message);
  289. resolvePromise(token.reason);
  290. });
  291. }
  292. /**
  293. * Throws a `Cancel` if cancellation has been requested.
  294. */
  295. CancelToken.prototype.throwIfRequested = function throwIfRequested() {
  296. if (this.reason) {
  297. throw this.reason;
  298. }
  299. };
  300. /**
  301. * Returns an object that contains a new `CancelToken` and a function that, when called,
  302. * cancels the `CancelToken`.
  303. */
  304. CancelToken.source = function source() {
  305. var cancel;
  306. var token = new CancelToken(function executor(c) {
  307. cancel = c;
  308. });
  309. return {
  310. token: token,
  311. cancel: cancel
  312. };
  313. };
  314. module.exports = CancelToken;
  315. /***/ }),
  316. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/cancel/isCancel.js":
  317. /*!***********************************************************************************!*\
  318. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/cancel/isCancel.js ***!
  319. \***********************************************************************************/
  320. /***/ ((module) => {
  321. "use strict";
  322. module.exports = function isCancel(value) {
  323. return !!(value && value.__CANCEL__);
  324. };
  325. /***/ }),
  326. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/Axios.js":
  327. /*!******************************************************************************!*\
  328. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/Axios.js ***!
  329. \******************************************************************************/
  330. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  331. "use strict";
  332. var utils = __webpack_require__(/*! ./../utils */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/utils.js");
  333. var buildURL = __webpack_require__(/*! ../helpers/buildURL */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/buildURL.js");
  334. var InterceptorManager = __webpack_require__(/*! ./InterceptorManager */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/InterceptorManager.js");
  335. var dispatchRequest = __webpack_require__(/*! ./dispatchRequest */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/dispatchRequest.js");
  336. var mergeConfig = __webpack_require__(/*! ./mergeConfig */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/mergeConfig.js");
  337. var validator = __webpack_require__(/*! ../helpers/validator */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/validator.js");
  338. var validators = validator.validators;
  339. /**
  340. * Create a new instance of Axios
  341. *
  342. * @param {Object} instanceConfig The default config for the instance
  343. */
  344. function Axios(instanceConfig) {
  345. this.defaults = instanceConfig;
  346. this.interceptors = {
  347. request: new InterceptorManager(),
  348. response: new InterceptorManager()
  349. };
  350. }
  351. /**
  352. * Dispatch a request
  353. *
  354. * @param {Object} config The config specific for this request (merged with this.defaults)
  355. */
  356. Axios.prototype.request = function request(config) {
  357. /*eslint no-param-reassign:0*/
  358. // Allow for axios('example/url'[, config]) a la fetch API
  359. if (typeof config === 'string') {
  360. config = arguments[1] || {};
  361. config.url = arguments[0];
  362. } else {
  363. config = config || {};
  364. }
  365. config = mergeConfig(this.defaults, config);
  366. // Set config.method
  367. if (config.method) {
  368. config.method = config.method.toLowerCase();
  369. } else if (this.defaults.method) {
  370. config.method = this.defaults.method.toLowerCase();
  371. } else {
  372. config.method = 'get';
  373. }
  374. var transitional = config.transitional;
  375. if (transitional !== undefined) {
  376. validator.assertOptions(transitional, {
  377. silentJSONParsing: validators.transitional(validators.boolean, '1.0.0'),
  378. forcedJSONParsing: validators.transitional(validators.boolean, '1.0.0'),
  379. clarifyTimeoutError: validators.transitional(validators.boolean, '1.0.0')
  380. }, false);
  381. }
  382. // filter out skipped interceptors
  383. var requestInterceptorChain = [];
  384. var synchronousRequestInterceptors = true;
  385. this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {
  386. if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {
  387. return;
  388. }
  389. synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
  390. requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
  391. });
  392. var responseInterceptorChain = [];
  393. this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {
  394. responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
  395. });
  396. var promise;
  397. if (!synchronousRequestInterceptors) {
  398. var chain = [dispatchRequest, undefined];
  399. Array.prototype.unshift.apply(chain, requestInterceptorChain);
  400. chain = chain.concat(responseInterceptorChain);
  401. promise = Promise.resolve(config);
  402. while (chain.length) {
  403. promise = promise.then(chain.shift(), chain.shift());
  404. }
  405. return promise;
  406. }
  407. var newConfig = config;
  408. while (requestInterceptorChain.length) {
  409. var onFulfilled = requestInterceptorChain.shift();
  410. var onRejected = requestInterceptorChain.shift();
  411. try {
  412. newConfig = onFulfilled(newConfig);
  413. } catch (error) {
  414. onRejected(error);
  415. break;
  416. }
  417. }
  418. try {
  419. promise = dispatchRequest(newConfig);
  420. } catch (error) {
  421. return Promise.reject(error);
  422. }
  423. while (responseInterceptorChain.length) {
  424. promise = promise.then(responseInterceptorChain.shift(), responseInterceptorChain.shift());
  425. }
  426. return promise;
  427. };
  428. Axios.prototype.getUri = function getUri(config) {
  429. config = mergeConfig(this.defaults, config);
  430. return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\?/, '');
  431. };
  432. // Provide aliases for supported request methods
  433. utils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
  434. /*eslint func-names:0*/
  435. Axios.prototype[method] = function(url, config) {
  436. return this.request(mergeConfig(config || {}, {
  437. method: method,
  438. url: url,
  439. data: (config || {}).data
  440. }));
  441. };
  442. });
  443. utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
  444. /*eslint func-names:0*/
  445. Axios.prototype[method] = function(url, data, config) {
  446. return this.request(mergeConfig(config || {}, {
  447. method: method,
  448. url: url,
  449. data: data
  450. }));
  451. };
  452. });
  453. module.exports = Axios;
  454. /***/ }),
  455. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/InterceptorManager.js":
  456. /*!*******************************************************************************************!*\
  457. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/InterceptorManager.js ***!
  458. \*******************************************************************************************/
  459. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  460. "use strict";
  461. var utils = __webpack_require__(/*! ./../utils */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/utils.js");
  462. function InterceptorManager() {
  463. this.handlers = [];
  464. }
  465. /**
  466. * Add a new interceptor to the stack
  467. *
  468. * @param {Function} fulfilled The function to handle `then` for a `Promise`
  469. * @param {Function} rejected The function to handle `reject` for a `Promise`
  470. *
  471. * @return {Number} An ID used to remove interceptor later
  472. */
  473. InterceptorManager.prototype.use = function use(fulfilled, rejected, options) {
  474. this.handlers.push({
  475. fulfilled: fulfilled,
  476. rejected: rejected,
  477. synchronous: options ? options.synchronous : false,
  478. runWhen: options ? options.runWhen : null
  479. });
  480. return this.handlers.length - 1;
  481. };
  482. /**
  483. * Remove an interceptor from the stack
  484. *
  485. * @param {Number} id The ID that was returned by `use`
  486. */
  487. InterceptorManager.prototype.eject = function eject(id) {
  488. if (this.handlers[id]) {
  489. this.handlers[id] = null;
  490. }
  491. };
  492. /**
  493. * Iterate over all the registered interceptors
  494. *
  495. * This method is particularly useful for skipping over any
  496. * interceptors that may have become `null` calling `eject`.
  497. *
  498. * @param {Function} fn The function to call for each interceptor
  499. */
  500. InterceptorManager.prototype.forEach = function forEach(fn) {
  501. utils.forEach(this.handlers, function forEachHandler(h) {
  502. if (h !== null) {
  503. fn(h);
  504. }
  505. });
  506. };
  507. module.exports = InterceptorManager;
  508. /***/ }),
  509. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/buildFullPath.js":
  510. /*!**************************************************************************************!*\
  511. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/buildFullPath.js ***!
  512. \**************************************************************************************/
  513. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  514. "use strict";
  515. var isAbsoluteURL = __webpack_require__(/*! ../helpers/isAbsoluteURL */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/isAbsoluteURL.js");
  516. var combineURLs = __webpack_require__(/*! ../helpers/combineURLs */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/combineURLs.js");
  517. /**
  518. * Creates a new URL by combining the baseURL with the requestedURL,
  519. * only when the requestedURL is not already an absolute URL.
  520. * If the requestURL is absolute, this function returns the requestedURL untouched.
  521. *
  522. * @param {string} baseURL The base URL
  523. * @param {string} requestedURL Absolute or relative URL to combine
  524. * @returns {string} The combined full path
  525. */
  526. module.exports = function buildFullPath(baseURL, requestedURL) {
  527. if (baseURL && !isAbsoluteURL(requestedURL)) {
  528. return combineURLs(baseURL, requestedURL);
  529. }
  530. return requestedURL;
  531. };
  532. /***/ }),
  533. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/createError.js":
  534. /*!************************************************************************************!*\
  535. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/createError.js ***!
  536. \************************************************************************************/
  537. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  538. "use strict";
  539. var enhanceError = __webpack_require__(/*! ./enhanceError */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/enhanceError.js");
  540. /**
  541. * Create an Error with the specified message, config, error code, request and response.
  542. *
  543. * @param {string} message The error message.
  544. * @param {Object} config The config.
  545. * @param {string} [code] The error code (for example, 'ECONNABORTED').
  546. * @param {Object} [request] The request.
  547. * @param {Object} [response] The response.
  548. * @returns {Error} The created error.
  549. */
  550. module.exports = function createError(message, config, code, request, response) {
  551. var error = new Error(message);
  552. return enhanceError(error, config, code, request, response);
  553. };
  554. /***/ }),
  555. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/dispatchRequest.js":
  556. /*!****************************************************************************************!*\
  557. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/dispatchRequest.js ***!
  558. \****************************************************************************************/
  559. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  560. "use strict";
  561. var utils = __webpack_require__(/*! ./../utils */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/utils.js");
  562. var transformData = __webpack_require__(/*! ./transformData */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/transformData.js");
  563. var isCancel = __webpack_require__(/*! ../cancel/isCancel */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/cancel/isCancel.js");
  564. var defaults = __webpack_require__(/*! ../defaults */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/defaults.js");
  565. /**
  566. * Throws a `Cancel` if cancellation has been requested.
  567. */
  568. function throwIfCancellationRequested(config) {
  569. if (config.cancelToken) {
  570. config.cancelToken.throwIfRequested();
  571. }
  572. }
  573. /**
  574. * Dispatch a request to the server using the configured adapter.
  575. *
  576. * @param {object} config The config that is to be used for the request
  577. * @returns {Promise} The Promise to be fulfilled
  578. */
  579. module.exports = function dispatchRequest(config) {
  580. throwIfCancellationRequested(config);
  581. // Ensure headers exist
  582. config.headers = config.headers || {};
  583. // Transform request data
  584. config.data = transformData.call(
  585. config,
  586. config.data,
  587. config.headers,
  588. config.transformRequest
  589. );
  590. // Flatten headers
  591. config.headers = utils.merge(
  592. config.headers.common || {},
  593. config.headers[config.method] || {},
  594. config.headers
  595. );
  596. utils.forEach(
  597. ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],
  598. function cleanHeaderConfig(method) {
  599. delete config.headers[method];
  600. }
  601. );
  602. var adapter = config.adapter || defaults.adapter;
  603. return adapter(config).then(function onAdapterResolution(response) {
  604. throwIfCancellationRequested(config);
  605. // Transform response data
  606. response.data = transformData.call(
  607. config,
  608. response.data,
  609. response.headers,
  610. config.transformResponse
  611. );
  612. return response;
  613. }, function onAdapterRejection(reason) {
  614. if (!isCancel(reason)) {
  615. throwIfCancellationRequested(config);
  616. // Transform response data
  617. if (reason && reason.response) {
  618. reason.response.data = transformData.call(
  619. config,
  620. reason.response.data,
  621. reason.response.headers,
  622. config.transformResponse
  623. );
  624. }
  625. }
  626. return Promise.reject(reason);
  627. });
  628. };
  629. /***/ }),
  630. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/enhanceError.js":
  631. /*!*************************************************************************************!*\
  632. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/enhanceError.js ***!
  633. \*************************************************************************************/
  634. /***/ ((module) => {
  635. "use strict";
  636. /**
  637. * Update an Error with the specified config, error code, and response.
  638. *
  639. * @param {Error} error The error to update.
  640. * @param {Object} config The config.
  641. * @param {string} [code] The error code (for example, 'ECONNABORTED').
  642. * @param {Object} [request] The request.
  643. * @param {Object} [response] The response.
  644. * @returns {Error} The error.
  645. */
  646. module.exports = function enhanceError(error, config, code, request, response) {
  647. error.config = config;
  648. if (code) {
  649. error.code = code;
  650. }
  651. error.request = request;
  652. error.response = response;
  653. error.isAxiosError = true;
  654. error.toJSON = function toJSON() {
  655. return {
  656. // Standard
  657. message: this.message,
  658. name: this.name,
  659. // Microsoft
  660. description: this.description,
  661. number: this.number,
  662. // Mozilla
  663. fileName: this.fileName,
  664. lineNumber: this.lineNumber,
  665. columnNumber: this.columnNumber,
  666. stack: this.stack,
  667. // Axios
  668. config: this.config,
  669. code: this.code
  670. };
  671. };
  672. return error;
  673. };
  674. /***/ }),
  675. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/mergeConfig.js":
  676. /*!************************************************************************************!*\
  677. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/mergeConfig.js ***!
  678. \************************************************************************************/
  679. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  680. "use strict";
  681. var utils = __webpack_require__(/*! ../utils */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/utils.js");
  682. /**
  683. * Config-specific merge-function which creates a new config-object
  684. * by merging two configuration objects together.
  685. *
  686. * @param {Object} config1
  687. * @param {Object} config2
  688. * @returns {Object} New object resulting from merging config2 to config1
  689. */
  690. module.exports = function mergeConfig(config1, config2) {
  691. // eslint-disable-next-line no-param-reassign
  692. config2 = config2 || {};
  693. var config = {};
  694. var valueFromConfig2Keys = ['url', 'method', 'data'];
  695. var mergeDeepPropertiesKeys = ['headers', 'auth', 'proxy', 'params'];
  696. var defaultToConfig2Keys = [
  697. 'baseURL', 'transformRequest', 'transformResponse', 'paramsSerializer',
  698. 'timeout', 'timeoutMessage', 'withCredentials', 'adapter', 'responseType', 'xsrfCookieName',
  699. 'xsrfHeaderName', 'onUploadProgress', 'onDownloadProgress', 'decompress',
  700. 'maxContentLength', 'maxBodyLength', 'maxRedirects', 'transport', 'httpAgent',
  701. 'httpsAgent', 'cancelToken', 'socketPath', 'responseEncoding'
  702. ];
  703. var directMergeKeys = ['validateStatus'];
  704. function getMergedValue(target, source) {
  705. if (utils.isPlainObject(target) && utils.isPlainObject(source)) {
  706. return utils.merge(target, source);
  707. } else if (utils.isPlainObject(source)) {
  708. return utils.merge({}, source);
  709. } else if (utils.isArray(source)) {
  710. return source.slice();
  711. }
  712. return source;
  713. }
  714. function mergeDeepProperties(prop) {
  715. if (!utils.isUndefined(config2[prop])) {
  716. config[prop] = getMergedValue(config1[prop], config2[prop]);
  717. } else if (!utils.isUndefined(config1[prop])) {
  718. config[prop] = getMergedValue(undefined, config1[prop]);
  719. }
  720. }
  721. utils.forEach(valueFromConfig2Keys, function valueFromConfig2(prop) {
  722. if (!utils.isUndefined(config2[prop])) {
  723. config[prop] = getMergedValue(undefined, config2[prop]);
  724. }
  725. });
  726. utils.forEach(mergeDeepPropertiesKeys, mergeDeepProperties);
  727. utils.forEach(defaultToConfig2Keys, function defaultToConfig2(prop) {
  728. if (!utils.isUndefined(config2[prop])) {
  729. config[prop] = getMergedValue(undefined, config2[prop]);
  730. } else if (!utils.isUndefined(config1[prop])) {
  731. config[prop] = getMergedValue(undefined, config1[prop]);
  732. }
  733. });
  734. utils.forEach(directMergeKeys, function merge(prop) {
  735. if (prop in config2) {
  736. config[prop] = getMergedValue(config1[prop], config2[prop]);
  737. } else if (prop in config1) {
  738. config[prop] = getMergedValue(undefined, config1[prop]);
  739. }
  740. });
  741. var axiosKeys = valueFromConfig2Keys
  742. .concat(mergeDeepPropertiesKeys)
  743. .concat(defaultToConfig2Keys)
  744. .concat(directMergeKeys);
  745. var otherKeys = Object
  746. .keys(config1)
  747. .concat(Object.keys(config2))
  748. .filter(function filterAxiosKeys(key) {
  749. return axiosKeys.indexOf(key) === -1;
  750. });
  751. utils.forEach(otherKeys, mergeDeepProperties);
  752. return config;
  753. };
  754. /***/ }),
  755. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/settle.js":
  756. /*!*******************************************************************************!*\
  757. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/settle.js ***!
  758. \*******************************************************************************/
  759. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  760. "use strict";
  761. var createError = __webpack_require__(/*! ./createError */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/createError.js");
  762. /**
  763. * Resolve or reject a Promise based on response status.
  764. *
  765. * @param {Function} resolve A function that resolves the promise.
  766. * @param {Function} reject A function that rejects the promise.
  767. * @param {object} response The response.
  768. */
  769. module.exports = function settle(resolve, reject, response) {
  770. var validateStatus = response.config.validateStatus;
  771. if (!response.status || !validateStatus || validateStatus(response.status)) {
  772. resolve(response);
  773. } else {
  774. reject(createError(
  775. 'Request failed with status code ' + response.status,
  776. response.config,
  777. null,
  778. response.request,
  779. response
  780. ));
  781. }
  782. };
  783. /***/ }),
  784. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/transformData.js":
  785. /*!**************************************************************************************!*\
  786. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/transformData.js ***!
  787. \**************************************************************************************/
  788. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  789. "use strict";
  790. var utils = __webpack_require__(/*! ./../utils */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/utils.js");
  791. var defaults = __webpack_require__(/*! ./../defaults */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/defaults.js");
  792. /**
  793. * Transform the data for a request or a response
  794. *
  795. * @param {Object|String} data The data to be transformed
  796. * @param {Array} headers The headers for the request or response
  797. * @param {Array|Function} fns A single function or Array of functions
  798. * @returns {*} The resulting transformed data
  799. */
  800. module.exports = function transformData(data, headers, fns) {
  801. var context = this || defaults;
  802. /*eslint no-param-reassign:0*/
  803. utils.forEach(fns, function transform(fn) {
  804. data = fn.call(context, data, headers);
  805. });
  806. return data;
  807. };
  808. /***/ }),
  809. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/defaults.js":
  810. /*!****************************************************************************!*\
  811. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/defaults.js ***!
  812. \****************************************************************************/
  813. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  814. "use strict";
  815. /* provided dependency */ var process = __webpack_require__(/*! process/browser.js */ "./node_modules/process/browser.js");
  816. var utils = __webpack_require__(/*! ./utils */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/utils.js");
  817. var normalizeHeaderName = __webpack_require__(/*! ./helpers/normalizeHeaderName */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/normalizeHeaderName.js");
  818. var enhanceError = __webpack_require__(/*! ./core/enhanceError */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/enhanceError.js");
  819. var DEFAULT_CONTENT_TYPE = {
  820. 'Content-Type': 'application/x-www-form-urlencoded'
  821. };
  822. function setContentTypeIfUnset(headers, value) {
  823. if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {
  824. headers['Content-Type'] = value;
  825. }
  826. }
  827. function getDefaultAdapter() {
  828. var adapter;
  829. if (typeof XMLHttpRequest !== 'undefined') {
  830. // For browsers use XHR adapter
  831. adapter = __webpack_require__(/*! ./adapters/xhr */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/adapters/xhr.js");
  832. } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {
  833. // For node use HTTP adapter
  834. adapter = __webpack_require__(/*! ./adapters/http */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/adapters/xhr.js");
  835. }
  836. return adapter;
  837. }
  838. function stringifySafely(rawValue, parser, encoder) {
  839. if (utils.isString(rawValue)) {
  840. try {
  841. (parser || JSON.parse)(rawValue);
  842. return utils.trim(rawValue);
  843. } catch (e) {
  844. if (e.name !== 'SyntaxError') {
  845. throw e;
  846. }
  847. }
  848. }
  849. return (encoder || JSON.stringify)(rawValue);
  850. }
  851. var defaults = {
  852. transitional: {
  853. silentJSONParsing: true,
  854. forcedJSONParsing: true,
  855. clarifyTimeoutError: false
  856. },
  857. adapter: getDefaultAdapter(),
  858. transformRequest: [function transformRequest(data, headers) {
  859. normalizeHeaderName(headers, 'Accept');
  860. normalizeHeaderName(headers, 'Content-Type');
  861. if (utils.isFormData(data) ||
  862. utils.isArrayBuffer(data) ||
  863. utils.isBuffer(data) ||
  864. utils.isStream(data) ||
  865. utils.isFile(data) ||
  866. utils.isBlob(data)
  867. ) {
  868. return data;
  869. }
  870. if (utils.isArrayBufferView(data)) {
  871. return data.buffer;
  872. }
  873. if (utils.isURLSearchParams(data)) {
  874. setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');
  875. return data.toString();
  876. }
  877. if (utils.isObject(data) || (headers && headers['Content-Type'] === 'application/json')) {
  878. setContentTypeIfUnset(headers, 'application/json');
  879. return stringifySafely(data);
  880. }
  881. return data;
  882. }],
  883. transformResponse: [function transformResponse(data) {
  884. var transitional = this.transitional;
  885. var silentJSONParsing = transitional && transitional.silentJSONParsing;
  886. var forcedJSONParsing = transitional && transitional.forcedJSONParsing;
  887. var strictJSONParsing = !silentJSONParsing && this.responseType === 'json';
  888. if (strictJSONParsing || (forcedJSONParsing && utils.isString(data) && data.length)) {
  889. try {
  890. return JSON.parse(data);
  891. } catch (e) {
  892. if (strictJSONParsing) {
  893. if (e.name === 'SyntaxError') {
  894. throw enhanceError(e, this, 'E_JSON_PARSE');
  895. }
  896. throw e;
  897. }
  898. }
  899. }
  900. return data;
  901. }],
  902. /**
  903. * A timeout in milliseconds to abort a request. If set to 0 (default) a
  904. * timeout is not created.
  905. */
  906. timeout: 0,
  907. xsrfCookieName: 'XSRF-TOKEN',
  908. xsrfHeaderName: 'X-XSRF-TOKEN',
  909. maxContentLength: -1,
  910. maxBodyLength: -1,
  911. validateStatus: function validateStatus(status) {
  912. return status >= 200 && status < 300;
  913. }
  914. };
  915. defaults.headers = {
  916. common: {
  917. 'Accept': 'application/json, text/plain, */*'
  918. }
  919. };
  920. utils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {
  921. defaults.headers[method] = {};
  922. });
  923. utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
  924. defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);
  925. });
  926. module.exports = defaults;
  927. /***/ }),
  928. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/bind.js":
  929. /*!********************************************************************************!*\
  930. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/bind.js ***!
  931. \********************************************************************************/
  932. /***/ ((module) => {
  933. "use strict";
  934. module.exports = function bind(fn, thisArg) {
  935. return function wrap() {
  936. var args = new Array(arguments.length);
  937. for (var i = 0; i < args.length; i++) {
  938. args[i] = arguments[i];
  939. }
  940. return fn.apply(thisArg, args);
  941. };
  942. };
  943. /***/ }),
  944. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/buildURL.js":
  945. /*!************************************************************************************!*\
  946. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/buildURL.js ***!
  947. \************************************************************************************/
  948. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  949. "use strict";
  950. var utils = __webpack_require__(/*! ./../utils */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/utils.js");
  951. function encode(val) {
  952. return encodeURIComponent(val).
  953. replace(/%3A/gi, ':').
  954. replace(/%24/g, '$').
  955. replace(/%2C/gi, ',').
  956. replace(/%20/g, '+').
  957. replace(/%5B/gi, '[').
  958. replace(/%5D/gi, ']');
  959. }
  960. /**
  961. * Build a URL by appending params to the end
  962. *
  963. * @param {string} url The base of the url (e.g., http://www.google.com)
  964. * @param {object} [params] The params to be appended
  965. * @returns {string} The formatted url
  966. */
  967. module.exports = function buildURL(url, params, paramsSerializer) {
  968. /*eslint no-param-reassign:0*/
  969. if (!params) {
  970. return url;
  971. }
  972. var serializedParams;
  973. if (paramsSerializer) {
  974. serializedParams = paramsSerializer(params);
  975. } else if (utils.isURLSearchParams(params)) {
  976. serializedParams = params.toString();
  977. } else {
  978. var parts = [];
  979. utils.forEach(params, function serialize(val, key) {
  980. if (val === null || typeof val === 'undefined') {
  981. return;
  982. }
  983. if (utils.isArray(val)) {
  984. key = key + '[]';
  985. } else {
  986. val = [val];
  987. }
  988. utils.forEach(val, function parseValue(v) {
  989. if (utils.isDate(v)) {
  990. v = v.toISOString();
  991. } else if (utils.isObject(v)) {
  992. v = JSON.stringify(v);
  993. }
  994. parts.push(encode(key) + '=' + encode(v));
  995. });
  996. });
  997. serializedParams = parts.join('&');
  998. }
  999. if (serializedParams) {
  1000. var hashmarkIndex = url.indexOf('#');
  1001. if (hashmarkIndex !== -1) {
  1002. url = url.slice(0, hashmarkIndex);
  1003. }
  1004. url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;
  1005. }
  1006. return url;
  1007. };
  1008. /***/ }),
  1009. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/combineURLs.js":
  1010. /*!***************************************************************************************!*\
  1011. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/combineURLs.js ***!
  1012. \***************************************************************************************/
  1013. /***/ ((module) => {
  1014. "use strict";
  1015. /**
  1016. * Creates a new URL by combining the specified URLs
  1017. *
  1018. * @param {string} baseURL The base URL
  1019. * @param {string} relativeURL The relative URL
  1020. * @returns {string} The combined URL
  1021. */
  1022. module.exports = function combineURLs(baseURL, relativeURL) {
  1023. return relativeURL
  1024. ? baseURL.replace(/\/+$/, '') + '/' + relativeURL.replace(/^\/+/, '')
  1025. : baseURL;
  1026. };
  1027. /***/ }),
  1028. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/cookies.js":
  1029. /*!***********************************************************************************!*\
  1030. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/cookies.js ***!
  1031. \***********************************************************************************/
  1032. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  1033. "use strict";
  1034. var utils = __webpack_require__(/*! ./../utils */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/utils.js");
  1035. module.exports = (
  1036. utils.isStandardBrowserEnv() ?
  1037. // Standard browser envs support document.cookie
  1038. (function standardBrowserEnv() {
  1039. return {
  1040. write: function write(name, value, expires, path, domain, secure) {
  1041. var cookie = [];
  1042. cookie.push(name + '=' + encodeURIComponent(value));
  1043. if (utils.isNumber(expires)) {
  1044. cookie.push('expires=' + new Date(expires).toGMTString());
  1045. }
  1046. if (utils.isString(path)) {
  1047. cookie.push('path=' + path);
  1048. }
  1049. if (utils.isString(domain)) {
  1050. cookie.push('domain=' + domain);
  1051. }
  1052. if (secure === true) {
  1053. cookie.push('secure');
  1054. }
  1055. document.cookie = cookie.join('; ');
  1056. },
  1057. read: function read(name) {
  1058. var match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)'));
  1059. return (match ? decodeURIComponent(match[3]) : null);
  1060. },
  1061. remove: function remove(name) {
  1062. this.write(name, '', Date.now() - 86400000);
  1063. }
  1064. };
  1065. })() :
  1066. // Non standard browser env (web workers, react-native) lack needed support.
  1067. (function nonStandardBrowserEnv() {
  1068. return {
  1069. write: function write() {},
  1070. read: function read() { return null; },
  1071. remove: function remove() {}
  1072. };
  1073. })()
  1074. );
  1075. /***/ }),
  1076. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/isAbsoluteURL.js":
  1077. /*!*****************************************************************************************!*\
  1078. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/isAbsoluteURL.js ***!
  1079. \*****************************************************************************************/
  1080. /***/ ((module) => {
  1081. "use strict";
  1082. /**
  1083. * Determines whether the specified URL is absolute
  1084. *
  1085. * @param {string} url The URL to test
  1086. * @returns {boolean} True if the specified URL is absolute, otherwise false
  1087. */
  1088. module.exports = function isAbsoluteURL(url) {
  1089. // A URL is considered absolute if it begins with "<scheme>://" or "//" (protocol-relative URL).
  1090. // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed
  1091. // by any combination of letters, digits, plus, period, or hyphen.
  1092. return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(url);
  1093. };
  1094. /***/ }),
  1095. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/isAxiosError.js":
  1096. /*!****************************************************************************************!*\
  1097. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/isAxiosError.js ***!
  1098. \****************************************************************************************/
  1099. /***/ ((module) => {
  1100. "use strict";
  1101. /**
  1102. * Determines whether the payload is an error thrown by Axios
  1103. *
  1104. * @param {*} payload The value to test
  1105. * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
  1106. */
  1107. module.exports = function isAxiosError(payload) {
  1108. return (typeof payload === 'object') && (payload.isAxiosError === true);
  1109. };
  1110. /***/ }),
  1111. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/isURLSameOrigin.js":
  1112. /*!*******************************************************************************************!*\
  1113. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/isURLSameOrigin.js ***!
  1114. \*******************************************************************************************/
  1115. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  1116. "use strict";
  1117. var utils = __webpack_require__(/*! ./../utils */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/utils.js");
  1118. module.exports = (
  1119. utils.isStandardBrowserEnv() ?
  1120. // Standard browser envs have full support of the APIs needed to test
  1121. // whether the request URL is of the same origin as current location.
  1122. (function standardBrowserEnv() {
  1123. var msie = /(msie|trident)/i.test(navigator.userAgent);
  1124. var urlParsingNode = document.createElement('a');
  1125. var originURL;
  1126. /**
  1127. * Parse a URL to discover it's components
  1128. *
  1129. * @param {String} url The URL to be parsed
  1130. * @returns {Object}
  1131. */
  1132. function resolveURL(url) {
  1133. var href = url;
  1134. if (msie) {
  1135. // IE needs attribute set twice to normalize properties
  1136. urlParsingNode.setAttribute('href', href);
  1137. href = urlParsingNode.href;
  1138. }
  1139. urlParsingNode.setAttribute('href', href);
  1140. // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils
  1141. return {
  1142. href: urlParsingNode.href,
  1143. protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',
  1144. host: urlParsingNode.host,
  1145. search: urlParsingNode.search ? urlParsingNode.search.replace(/^\?/, '') : '',
  1146. hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',
  1147. hostname: urlParsingNode.hostname,
  1148. port: urlParsingNode.port,
  1149. pathname: (urlParsingNode.pathname.charAt(0) === '/') ?
  1150. urlParsingNode.pathname :
  1151. '/' + urlParsingNode.pathname
  1152. };
  1153. }
  1154. originURL = resolveURL(window.location.href);
  1155. /**
  1156. * Determine if a URL shares the same origin as the current location
  1157. *
  1158. * @param {String} requestURL The URL to test
  1159. * @returns {boolean} True if URL shares the same origin, otherwise false
  1160. */
  1161. return function isURLSameOrigin(requestURL) {
  1162. var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;
  1163. return (parsed.protocol === originURL.protocol &&
  1164. parsed.host === originURL.host);
  1165. };
  1166. })() :
  1167. // Non standard browser envs (web workers, react-native) lack needed support.
  1168. (function nonStandardBrowserEnv() {
  1169. return function isURLSameOrigin() {
  1170. return true;
  1171. };
  1172. })()
  1173. );
  1174. /***/ }),
  1175. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/normalizeHeaderName.js":
  1176. /*!***********************************************************************************************!*\
  1177. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/normalizeHeaderName.js ***!
  1178. \***********************************************************************************************/
  1179. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  1180. "use strict";
  1181. var utils = __webpack_require__(/*! ../utils */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/utils.js");
  1182. module.exports = function normalizeHeaderName(headers, normalizedName) {
  1183. utils.forEach(headers, function processHeader(value, name) {
  1184. if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {
  1185. headers[normalizedName] = value;
  1186. delete headers[name];
  1187. }
  1188. });
  1189. };
  1190. /***/ }),
  1191. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/parseHeaders.js":
  1192. /*!****************************************************************************************!*\
  1193. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/parseHeaders.js ***!
  1194. \****************************************************************************************/
  1195. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  1196. "use strict";
  1197. var utils = __webpack_require__(/*! ./../utils */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/utils.js");
  1198. // Headers whose duplicates are ignored by node
  1199. // c.f. https://nodejs.org/api/http.html#http_message_headers
  1200. var ignoreDuplicateOf = [
  1201. 'age', 'authorization', 'content-length', 'content-type', 'etag',
  1202. 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',
  1203. 'last-modified', 'location', 'max-forwards', 'proxy-authorization',
  1204. 'referer', 'retry-after', 'user-agent'
  1205. ];
  1206. /**
  1207. * Parse headers into an object
  1208. *
  1209. * ```
  1210. * Date: Wed, 27 Aug 2014 08:58:49 GMT
  1211. * Content-Type: application/json
  1212. * Connection: keep-alive
  1213. * Transfer-Encoding: chunked
  1214. * ```
  1215. *
  1216. * @param {String} headers Headers needing to be parsed
  1217. * @returns {Object} Headers parsed into an object
  1218. */
  1219. module.exports = function parseHeaders(headers) {
  1220. var parsed = {};
  1221. var key;
  1222. var val;
  1223. var i;
  1224. if (!headers) { return parsed; }
  1225. utils.forEach(headers.split('\n'), function parser(line) {
  1226. i = line.indexOf(':');
  1227. key = utils.trim(line.substr(0, i)).toLowerCase();
  1228. val = utils.trim(line.substr(i + 1));
  1229. if (key) {
  1230. if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {
  1231. return;
  1232. }
  1233. if (key === 'set-cookie') {
  1234. parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);
  1235. } else {
  1236. parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
  1237. }
  1238. }
  1239. });
  1240. return parsed;
  1241. };
  1242. /***/ }),
  1243. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/spread.js":
  1244. /*!**********************************************************************************!*\
  1245. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/spread.js ***!
  1246. \**********************************************************************************/
  1247. /***/ ((module) => {
  1248. "use strict";
  1249. /**
  1250. * Syntactic sugar for invoking a function and expanding an array for arguments.
  1251. *
  1252. * Common use case would be to use `Function.prototype.apply`.
  1253. *
  1254. * ```js
  1255. * function f(x, y, z) {}
  1256. * var args = [1, 2, 3];
  1257. * f.apply(null, args);
  1258. * ```
  1259. *
  1260. * With `spread` this example can be re-written.
  1261. *
  1262. * ```js
  1263. * spread(function(x, y, z) {})([1, 2, 3]);
  1264. * ```
  1265. *
  1266. * @param {Function} callback
  1267. * @returns {Function}
  1268. */
  1269. module.exports = function spread(callback) {
  1270. return function wrap(arr) {
  1271. return callback.apply(null, arr);
  1272. };
  1273. };
  1274. /***/ }),
  1275. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/validator.js":
  1276. /*!*************************************************************************************!*\
  1277. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/validator.js ***!
  1278. \*************************************************************************************/
  1279. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  1280. "use strict";
  1281. var pkg = __webpack_require__(/*! ./../../package.json */ "./node_modules/@inertiajs/inertia/node_modules/axios/package.json");
  1282. var validators = {};
  1283. // eslint-disable-next-line func-names
  1284. ['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function(type, i) {
  1285. validators[type] = function validator(thing) {
  1286. return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;
  1287. };
  1288. });
  1289. var deprecatedWarnings = {};
  1290. var currentVerArr = pkg.version.split('.');
  1291. /**
  1292. * Compare package versions
  1293. * @param {string} version
  1294. * @param {string?} thanVersion
  1295. * @returns {boolean}
  1296. */
  1297. function isOlderVersion(version, thanVersion) {
  1298. var pkgVersionArr = thanVersion ? thanVersion.split('.') : currentVerArr;
  1299. var destVer = version.split('.');
  1300. for (var i = 0; i < 3; i++) {
  1301. if (pkgVersionArr[i] > destVer[i]) {
  1302. return true;
  1303. } else if (pkgVersionArr[i] < destVer[i]) {
  1304. return false;
  1305. }
  1306. }
  1307. return false;
  1308. }
  1309. /**
  1310. * Transitional option validator
  1311. * @param {function|boolean?} validator
  1312. * @param {string?} version
  1313. * @param {string} message
  1314. * @returns {function}
  1315. */
  1316. validators.transitional = function transitional(validator, version, message) {
  1317. var isDeprecated = version && isOlderVersion(version);
  1318. function formatMessage(opt, desc) {
  1319. return '[Axios v' + pkg.version + '] Transitional option \'' + opt + '\'' + desc + (message ? '. ' + message : '');
  1320. }
  1321. // eslint-disable-next-line func-names
  1322. return function(value, opt, opts) {
  1323. if (validator === false) {
  1324. throw new Error(formatMessage(opt, ' has been removed in ' + version));
  1325. }
  1326. if (isDeprecated && !deprecatedWarnings[opt]) {
  1327. deprecatedWarnings[opt] = true;
  1328. // eslint-disable-next-line no-console
  1329. console.warn(
  1330. formatMessage(
  1331. opt,
  1332. ' has been deprecated since v' + version + ' and will be removed in the near future'
  1333. )
  1334. );
  1335. }
  1336. return validator ? validator(value, opt, opts) : true;
  1337. };
  1338. };
  1339. /**
  1340. * Assert object's properties type
  1341. * @param {object} options
  1342. * @param {object} schema
  1343. * @param {boolean?} allowUnknown
  1344. */
  1345. function assertOptions(options, schema, allowUnknown) {
  1346. if (typeof options !== 'object') {
  1347. throw new TypeError('options must be an object');
  1348. }
  1349. var keys = Object.keys(options);
  1350. var i = keys.length;
  1351. while (i-- > 0) {
  1352. var opt = keys[i];
  1353. var validator = schema[opt];
  1354. if (validator) {
  1355. var value = options[opt];
  1356. var result = value === undefined || validator(value, opt, options);
  1357. if (result !== true) {
  1358. throw new TypeError('option ' + opt + ' must be ' + result);
  1359. }
  1360. continue;
  1361. }
  1362. if (allowUnknown !== true) {
  1363. throw Error('Unknown option ' + opt);
  1364. }
  1365. }
  1366. }
  1367. module.exports = {
  1368. isOlderVersion: isOlderVersion,
  1369. assertOptions: assertOptions,
  1370. validators: validators
  1371. };
  1372. /***/ }),
  1373. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/utils.js":
  1374. /*!*************************************************************************!*\
  1375. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/utils.js ***!
  1376. \*************************************************************************/
  1377. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  1378. "use strict";
  1379. var bind = __webpack_require__(/*! ./helpers/bind */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/bind.js");
  1380. // utils is a library of generic helper functions non-specific to axios
  1381. var toString = Object.prototype.toString;
  1382. /**
  1383. * Determine if a value is an Array
  1384. *
  1385. * @param {Object} val The value to test
  1386. * @returns {boolean} True if value is an Array, otherwise false
  1387. */
  1388. function isArray(val) {
  1389. return toString.call(val) === '[object Array]';
  1390. }
  1391. /**
  1392. * Determine if a value is undefined
  1393. *
  1394. * @param {Object} val The value to test
  1395. * @returns {boolean} True if the value is undefined, otherwise false
  1396. */
  1397. function isUndefined(val) {
  1398. return typeof val === 'undefined';
  1399. }
  1400. /**
  1401. * Determine if a value is a Buffer
  1402. *
  1403. * @param {Object} val The value to test
  1404. * @returns {boolean} True if value is a Buffer, otherwise false
  1405. */
  1406. function isBuffer(val) {
  1407. return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)
  1408. && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);
  1409. }
  1410. /**
  1411. * Determine if a value is an ArrayBuffer
  1412. *
  1413. * @param {Object} val The value to test
  1414. * @returns {boolean} True if value is an ArrayBuffer, otherwise false
  1415. */
  1416. function isArrayBuffer(val) {
  1417. return toString.call(val) === '[object ArrayBuffer]';
  1418. }
  1419. /**
  1420. * Determine if a value is a FormData
  1421. *
  1422. * @param {Object} val The value to test
  1423. * @returns {boolean} True if value is an FormData, otherwise false
  1424. */
  1425. function isFormData(val) {
  1426. return (typeof FormData !== 'undefined') && (val instanceof FormData);
  1427. }
  1428. /**
  1429. * Determine if a value is a view on an ArrayBuffer
  1430. *
  1431. * @param {Object} val The value to test
  1432. * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false
  1433. */
  1434. function isArrayBufferView(val) {
  1435. var result;
  1436. if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {
  1437. result = ArrayBuffer.isView(val);
  1438. } else {
  1439. result = (val) && (val.buffer) && (val.buffer instanceof ArrayBuffer);
  1440. }
  1441. return result;
  1442. }
  1443. /**
  1444. * Determine if a value is a String
  1445. *
  1446. * @param {Object} val The value to test
  1447. * @returns {boolean} True if value is a String, otherwise false
  1448. */
  1449. function isString(val) {
  1450. return typeof val === 'string';
  1451. }
  1452. /**
  1453. * Determine if a value is a Number
  1454. *
  1455. * @param {Object} val The value to test
  1456. * @returns {boolean} True if value is a Number, otherwise false
  1457. */
  1458. function isNumber(val) {
  1459. return typeof val === 'number';
  1460. }
  1461. /**
  1462. * Determine if a value is an Object
  1463. *
  1464. * @param {Object} val The value to test
  1465. * @returns {boolean} True if value is an Object, otherwise false
  1466. */
  1467. function isObject(val) {
  1468. return val !== null && typeof val === 'object';
  1469. }
  1470. /**
  1471. * Determine if a value is a plain Object
  1472. *
  1473. * @param {Object} val The value to test
  1474. * @return {boolean} True if value is a plain Object, otherwise false
  1475. */
  1476. function isPlainObject(val) {
  1477. if (toString.call(val) !== '[object Object]') {
  1478. return false;
  1479. }
  1480. var prototype = Object.getPrototypeOf(val);
  1481. return prototype === null || prototype === Object.prototype;
  1482. }
  1483. /**
  1484. * Determine if a value is a Date
  1485. *
  1486. * @param {Object} val The value to test
  1487. * @returns {boolean} True if value is a Date, otherwise false
  1488. */
  1489. function isDate(val) {
  1490. return toString.call(val) === '[object Date]';
  1491. }
  1492. /**
  1493. * Determine if a value is a File
  1494. *
  1495. * @param {Object} val The value to test
  1496. * @returns {boolean} True if value is a File, otherwise false
  1497. */
  1498. function isFile(val) {
  1499. return toString.call(val) === '[object File]';
  1500. }
  1501. /**
  1502. * Determine if a value is a Blob
  1503. *
  1504. * @param {Object} val The value to test
  1505. * @returns {boolean} True if value is a Blob, otherwise false
  1506. */
  1507. function isBlob(val) {
  1508. return toString.call(val) === '[object Blob]';
  1509. }
  1510. /**
  1511. * Determine if a value is a Function
  1512. *
  1513. * @param {Object} val The value to test
  1514. * @returns {boolean} True if value is a Function, otherwise false
  1515. */
  1516. function isFunction(val) {
  1517. return toString.call(val) === '[object Function]';
  1518. }
  1519. /**
  1520. * Determine if a value is a Stream
  1521. *
  1522. * @param {Object} val The value to test
  1523. * @returns {boolean} True if value is a Stream, otherwise false
  1524. */
  1525. function isStream(val) {
  1526. return isObject(val) && isFunction(val.pipe);
  1527. }
  1528. /**
  1529. * Determine if a value is a URLSearchParams object
  1530. *
  1531. * @param {Object} val The value to test
  1532. * @returns {boolean} True if value is a URLSearchParams object, otherwise false
  1533. */
  1534. function isURLSearchParams(val) {
  1535. return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;
  1536. }
  1537. /**
  1538. * Trim excess whitespace off the beginning and end of a string
  1539. *
  1540. * @param {String} str The String to trim
  1541. * @returns {String} The String freed of excess whitespace
  1542. */
  1543. function trim(str) {
  1544. return str.trim ? str.trim() : str.replace(/^\s+|\s+$/g, '');
  1545. }
  1546. /**
  1547. * Determine if we're running in a standard browser environment
  1548. *
  1549. * This allows axios to run in a web worker, and react-native.
  1550. * Both environments support XMLHttpRequest, but not fully standard globals.
  1551. *
  1552. * web workers:
  1553. * typeof window -> undefined
  1554. * typeof document -> undefined
  1555. *
  1556. * react-native:
  1557. * navigator.product -> 'ReactNative'
  1558. * nativescript
  1559. * navigator.product -> 'NativeScript' or 'NS'
  1560. */
  1561. function isStandardBrowserEnv() {
  1562. if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||
  1563. navigator.product === 'NativeScript' ||
  1564. navigator.product === 'NS')) {
  1565. return false;
  1566. }
  1567. return (
  1568. typeof window !== 'undefined' &&
  1569. typeof document !== 'undefined'
  1570. );
  1571. }
  1572. /**
  1573. * Iterate over an Array or an Object invoking a function for each item.
  1574. *
  1575. * If `obj` is an Array callback will be called passing
  1576. * the value, index, and complete array for each item.
  1577. *
  1578. * If 'obj' is an Object callback will be called passing
  1579. * the value, key, and complete object for each property.
  1580. *
  1581. * @param {Object|Array} obj The object to iterate
  1582. * @param {Function} fn The callback to invoke for each item
  1583. */
  1584. function forEach(obj, fn) {
  1585. // Don't bother if no value provided
  1586. if (obj === null || typeof obj === 'undefined') {
  1587. return;
  1588. }
  1589. // Force an array if not already something iterable
  1590. if (typeof obj !== 'object') {
  1591. /*eslint no-param-reassign:0*/
  1592. obj = [obj];
  1593. }
  1594. if (isArray(obj)) {
  1595. // Iterate over array values
  1596. for (var i = 0, l = obj.length; i < l; i++) {
  1597. fn.call(null, obj[i], i, obj);
  1598. }
  1599. } else {
  1600. // Iterate over object keys
  1601. for (var key in obj) {
  1602. if (Object.prototype.hasOwnProperty.call(obj, key)) {
  1603. fn.call(null, obj[key], key, obj);
  1604. }
  1605. }
  1606. }
  1607. }
  1608. /**
  1609. * Accepts varargs expecting each argument to be an object, then
  1610. * immutably merges the properties of each object and returns result.
  1611. *
  1612. * When multiple objects contain the same key the later object in
  1613. * the arguments list will take precedence.
  1614. *
  1615. * Example:
  1616. *
  1617. * ```js
  1618. * var result = merge({foo: 123}, {foo: 456});
  1619. * console.log(result.foo); // outputs 456
  1620. * ```
  1621. *
  1622. * @param {Object} obj1 Object to merge
  1623. * @returns {Object} Result of all merge properties
  1624. */
  1625. function merge(/* obj1, obj2, obj3, ... */) {
  1626. var result = {};
  1627. function assignValue(val, key) {
  1628. if (isPlainObject(result[key]) && isPlainObject(val)) {
  1629. result[key] = merge(result[key], val);
  1630. } else if (isPlainObject(val)) {
  1631. result[key] = merge({}, val);
  1632. } else if (isArray(val)) {
  1633. result[key] = val.slice();
  1634. } else {
  1635. result[key] = val;
  1636. }
  1637. }
  1638. for (var i = 0, l = arguments.length; i < l; i++) {
  1639. forEach(arguments[i], assignValue);
  1640. }
  1641. return result;
  1642. }
  1643. /**
  1644. * Extends object a by mutably adding to it the properties of object b.
  1645. *
  1646. * @param {Object} a The object to be extended
  1647. * @param {Object} b The object to copy properties from
  1648. * @param {Object} thisArg The object to bind function to
  1649. * @return {Object} The resulting value of object a
  1650. */
  1651. function extend(a, b, thisArg) {
  1652. forEach(b, function assignValue(val, key) {
  1653. if (thisArg && typeof val === 'function') {
  1654. a[key] = bind(val, thisArg);
  1655. } else {
  1656. a[key] = val;
  1657. }
  1658. });
  1659. return a;
  1660. }
  1661. /**
  1662. * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)
  1663. *
  1664. * @param {string} content with BOM
  1665. * @return {string} content value without BOM
  1666. */
  1667. function stripBOM(content) {
  1668. if (content.charCodeAt(0) === 0xFEFF) {
  1669. content = content.slice(1);
  1670. }
  1671. return content;
  1672. }
  1673. module.exports = {
  1674. isArray: isArray,
  1675. isArrayBuffer: isArrayBuffer,
  1676. isBuffer: isBuffer,
  1677. isFormData: isFormData,
  1678. isArrayBufferView: isArrayBufferView,
  1679. isString: isString,
  1680. isNumber: isNumber,
  1681. isObject: isObject,
  1682. isPlainObject: isPlainObject,
  1683. isUndefined: isUndefined,
  1684. isDate: isDate,
  1685. isFile: isFile,
  1686. isBlob: isBlob,
  1687. isFunction: isFunction,
  1688. isStream: isStream,
  1689. isURLSearchParams: isURLSearchParams,
  1690. isStandardBrowserEnv: isStandardBrowserEnv,
  1691. forEach: forEach,
  1692. merge: merge,
  1693. extend: extend,
  1694. trim: trim,
  1695. stripBOM: stripBOM
  1696. };
  1697. /***/ }),
  1698. /***/ "./node_modules/@inertiajs/inertia/node_modules/qs/lib/formats.js":
  1699. /*!************************************************************************!*\
  1700. !*** ./node_modules/@inertiajs/inertia/node_modules/qs/lib/formats.js ***!
  1701. \************************************************************************/
  1702. /***/ ((module) => {
  1703. "use strict";
  1704. var replace = String.prototype.replace;
  1705. var percentTwenties = /%20/g;
  1706. var Format = {
  1707. RFC1738: 'RFC1738',
  1708. RFC3986: 'RFC3986'
  1709. };
  1710. module.exports = {
  1711. 'default': Format.RFC3986,
  1712. formatters: {
  1713. RFC1738: function (value) {
  1714. return replace.call(value, percentTwenties, '+');
  1715. },
  1716. RFC3986: function (value) {
  1717. return String(value);
  1718. }
  1719. },
  1720. RFC1738: Format.RFC1738,
  1721. RFC3986: Format.RFC3986
  1722. };
  1723. /***/ }),
  1724. /***/ "./node_modules/@inertiajs/inertia/node_modules/qs/lib/index.js":
  1725. /*!**********************************************************************!*\
  1726. !*** ./node_modules/@inertiajs/inertia/node_modules/qs/lib/index.js ***!
  1727. \**********************************************************************/
  1728. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  1729. "use strict";
  1730. var stringify = __webpack_require__(/*! ./stringify */ "./node_modules/@inertiajs/inertia/node_modules/qs/lib/stringify.js");
  1731. var parse = __webpack_require__(/*! ./parse */ "./node_modules/@inertiajs/inertia/node_modules/qs/lib/parse.js");
  1732. var formats = __webpack_require__(/*! ./formats */ "./node_modules/@inertiajs/inertia/node_modules/qs/lib/formats.js");
  1733. module.exports = {
  1734. formats: formats,
  1735. parse: parse,
  1736. stringify: stringify
  1737. };
  1738. /***/ }),
  1739. /***/ "./node_modules/@inertiajs/inertia/node_modules/qs/lib/parse.js":
  1740. /*!**********************************************************************!*\
  1741. !*** ./node_modules/@inertiajs/inertia/node_modules/qs/lib/parse.js ***!
  1742. \**********************************************************************/
  1743. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  1744. "use strict";
  1745. var utils = __webpack_require__(/*! ./utils */ "./node_modules/@inertiajs/inertia/node_modules/qs/lib/utils.js");
  1746. var has = Object.prototype.hasOwnProperty;
  1747. var isArray = Array.isArray;
  1748. var defaults = {
  1749. allowDots: false,
  1750. allowPrototypes: false,
  1751. allowSparse: false,
  1752. arrayLimit: 20,
  1753. charset: 'utf-8',
  1754. charsetSentinel: false,
  1755. comma: false,
  1756. decoder: utils.decode,
  1757. delimiter: '&',
  1758. depth: 5,
  1759. ignoreQueryPrefix: false,
  1760. interpretNumericEntities: false,
  1761. parameterLimit: 1000,
  1762. parseArrays: true,
  1763. plainObjects: false,
  1764. strictNullHandling: false
  1765. };
  1766. var interpretNumericEntities = function (str) {
  1767. return str.replace(/&#(\d+);/g, function ($0, numberStr) {
  1768. return String.fromCharCode(parseInt(numberStr, 10));
  1769. });
  1770. };
  1771. var parseArrayValue = function (val, options) {
  1772. if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) {
  1773. return val.split(',');
  1774. }
  1775. return val;
  1776. };
  1777. // This is what browsers will submit when the ✓ character occurs in an
  1778. // application/x-www-form-urlencoded body and the encoding of the page containing
  1779. // the form is iso-8859-1, or when the submitted form has an accept-charset
  1780. // attribute of iso-8859-1. Presumably also with other charsets that do not contain
  1781. // the ✓ character, such as us-ascii.
  1782. var isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('&#10003;')
  1783. // These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded.
  1784. var charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓')
  1785. var parseValues = function parseQueryStringValues(str, options) {
  1786. var obj = {};
  1787. var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str;
  1788. var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;
  1789. var parts = cleanStr.split(options.delimiter, limit);
  1790. var skipIndex = -1; // Keep track of where the utf8 sentinel was found
  1791. var i;
  1792. var charset = options.charset;
  1793. if (options.charsetSentinel) {
  1794. for (i = 0; i < parts.length; ++i) {
  1795. if (parts[i].indexOf('utf8=') === 0) {
  1796. if (parts[i] === charsetSentinel) {
  1797. charset = 'utf-8';
  1798. } else if (parts[i] === isoSentinel) {
  1799. charset = 'iso-8859-1';
  1800. }
  1801. skipIndex = i;
  1802. i = parts.length; // The eslint settings do not allow break;
  1803. }
  1804. }
  1805. }
  1806. for (i = 0; i < parts.length; ++i) {
  1807. if (i === skipIndex) {
  1808. continue;
  1809. }
  1810. var part = parts[i];
  1811. var bracketEqualsPos = part.indexOf(']=');
  1812. var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;
  1813. var key, val;
  1814. if (pos === -1) {
  1815. key = options.decoder(part, defaults.decoder, charset, 'key');
  1816. val = options.strictNullHandling ? null : '';
  1817. } else {
  1818. key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key');
  1819. val = utils.maybeMap(
  1820. parseArrayValue(part.slice(pos + 1), options),
  1821. function (encodedVal) {
  1822. return options.decoder(encodedVal, defaults.decoder, charset, 'value');
  1823. }
  1824. );
  1825. }
  1826. if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {
  1827. val = interpretNumericEntities(val);
  1828. }
  1829. if (part.indexOf('[]=') > -1) {
  1830. val = isArray(val) ? [val] : val;
  1831. }
  1832. if (has.call(obj, key)) {
  1833. obj[key] = utils.combine(obj[key], val);
  1834. } else {
  1835. obj[key] = val;
  1836. }
  1837. }
  1838. return obj;
  1839. };
  1840. var parseObject = function (chain, val, options, valuesParsed) {
  1841. var leaf = valuesParsed ? val : parseArrayValue(val, options);
  1842. for (var i = chain.length - 1; i >= 0; --i) {
  1843. var obj;
  1844. var root = chain[i];
  1845. if (root === '[]' && options.parseArrays) {
  1846. obj = [].concat(leaf);
  1847. } else {
  1848. obj = options.plainObjects ? Object.create(null) : {};
  1849. var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;
  1850. var index = parseInt(cleanRoot, 10);
  1851. if (!options.parseArrays && cleanRoot === '') {
  1852. obj = { 0: leaf };
  1853. } else if (
  1854. !isNaN(index)
  1855. && root !== cleanRoot
  1856. && String(index) === cleanRoot
  1857. && index >= 0
  1858. && (options.parseArrays && index <= options.arrayLimit)
  1859. ) {
  1860. obj = [];
  1861. obj[index] = leaf;
  1862. } else if (cleanRoot !== '__proto__') {
  1863. obj[cleanRoot] = leaf;
  1864. }
  1865. }
  1866. leaf = obj;
  1867. }
  1868. return leaf;
  1869. };
  1870. var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) {
  1871. if (!givenKey) {
  1872. return;
  1873. }
  1874. // Transform dot notation to bracket notation
  1875. var key = options.allowDots ? givenKey.replace(/\.([^.[]+)/g, '[$1]') : givenKey;
  1876. // The regex chunks
  1877. var brackets = /(\[[^[\]]*])/;
  1878. var child = /(\[[^[\]]*])/g;
  1879. // Get the parent
  1880. var segment = options.depth > 0 && brackets.exec(key);
  1881. var parent = segment ? key.slice(0, segment.index) : key;
  1882. // Stash the parent if it exists
  1883. var keys = [];
  1884. if (parent) {
  1885. // If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties
  1886. if (!options.plainObjects && has.call(Object.prototype, parent)) {
  1887. if (!options.allowPrototypes) {
  1888. return;
  1889. }
  1890. }
  1891. keys.push(parent);
  1892. }
  1893. // Loop through children appending to the array until we hit depth
  1894. var i = 0;
  1895. while (options.depth > 0 && (segment = child.exec(key)) !== null && i < options.depth) {
  1896. i += 1;
  1897. if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) {
  1898. if (!options.allowPrototypes) {
  1899. return;
  1900. }
  1901. }
  1902. keys.push(segment[1]);
  1903. }
  1904. // If there's a remainder, just add whatever is left
  1905. if (segment) {
  1906. keys.push('[' + key.slice(segment.index) + ']');
  1907. }
  1908. return parseObject(keys, val, options, valuesParsed);
  1909. };
  1910. var normalizeParseOptions = function normalizeParseOptions(opts) {
  1911. if (!opts) {
  1912. return defaults;
  1913. }
  1914. if (opts.decoder !== null && opts.decoder !== undefined && typeof opts.decoder !== 'function') {
  1915. throw new TypeError('Decoder has to be a function.');
  1916. }
  1917. if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {
  1918. throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');
  1919. }
  1920. var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset;
  1921. return {
  1922. allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,
  1923. allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes,
  1924. allowSparse: typeof opts.allowSparse === 'boolean' ? opts.allowSparse : defaults.allowSparse,
  1925. arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit,
  1926. charset: charset,
  1927. charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
  1928. comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma,
  1929. decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder,
  1930. delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,
  1931. // eslint-disable-next-line no-implicit-coercion, no-extra-parens
  1932. depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth,
  1933. ignoreQueryPrefix: opts.ignoreQueryPrefix === true,
  1934. interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities,
  1935. parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit,
  1936. parseArrays: opts.parseArrays !== false,
  1937. plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,
  1938. strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling
  1939. };
  1940. };
  1941. module.exports = function (str, opts) {
  1942. var options = normalizeParseOptions(opts);
  1943. if (str === '' || str === null || typeof str === 'undefined') {
  1944. return options.plainObjects ? Object.create(null) : {};
  1945. }
  1946. var tempObj = typeof str === 'string' ? parseValues(str, options) : str;
  1947. var obj = options.plainObjects ? Object.create(null) : {};
  1948. // Iterate over the keys and setup the new object
  1949. var keys = Object.keys(tempObj);
  1950. for (var i = 0; i < keys.length; ++i) {
  1951. var key = keys[i];
  1952. var newObj = parseKeys(key, tempObj[key], options, typeof str === 'string');
  1953. obj = utils.merge(obj, newObj, options);
  1954. }
  1955. if (options.allowSparse === true) {
  1956. return obj;
  1957. }
  1958. return utils.compact(obj);
  1959. };
  1960. /***/ }),
  1961. /***/ "./node_modules/@inertiajs/inertia/node_modules/qs/lib/stringify.js":
  1962. /*!**************************************************************************!*\
  1963. !*** ./node_modules/@inertiajs/inertia/node_modules/qs/lib/stringify.js ***!
  1964. \**************************************************************************/
  1965. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  1966. "use strict";
  1967. var getSideChannel = __webpack_require__(/*! side-channel */ "./node_modules/side-channel/index.js");
  1968. var utils = __webpack_require__(/*! ./utils */ "./node_modules/@inertiajs/inertia/node_modules/qs/lib/utils.js");
  1969. var formats = __webpack_require__(/*! ./formats */ "./node_modules/@inertiajs/inertia/node_modules/qs/lib/formats.js");
  1970. var has = Object.prototype.hasOwnProperty;
  1971. var arrayPrefixGenerators = {
  1972. brackets: function brackets(prefix) {
  1973. return prefix + '[]';
  1974. },
  1975. comma: 'comma',
  1976. indices: function indices(prefix, key) {
  1977. return prefix + '[' + key + ']';
  1978. },
  1979. repeat: function repeat(prefix) {
  1980. return prefix;
  1981. }
  1982. };
  1983. var isArray = Array.isArray;
  1984. var split = String.prototype.split;
  1985. var push = Array.prototype.push;
  1986. var pushToArray = function (arr, valueOrArray) {
  1987. push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]);
  1988. };
  1989. var toISO = Date.prototype.toISOString;
  1990. var defaultFormat = formats['default'];
  1991. var defaults = {
  1992. addQueryPrefix: false,
  1993. allowDots: false,
  1994. charset: 'utf-8',
  1995. charsetSentinel: false,
  1996. delimiter: '&',
  1997. encode: true,
  1998. encoder: utils.encode,
  1999. encodeValuesOnly: false,
  2000. format: defaultFormat,
  2001. formatter: formats.formatters[defaultFormat],
  2002. // deprecated
  2003. indices: false,
  2004. serializeDate: function serializeDate(date) {
  2005. return toISO.call(date);
  2006. },
  2007. skipNulls: false,
  2008. strictNullHandling: false
  2009. };
  2010. var isNonNullishPrimitive = function isNonNullishPrimitive(v) {
  2011. return typeof v === 'string'
  2012. || typeof v === 'number'
  2013. || typeof v === 'boolean'
  2014. || typeof v === 'symbol'
  2015. || typeof v === 'bigint';
  2016. };
  2017. var sentinel = {};
  2018. var stringify = function stringify(
  2019. object,
  2020. prefix,
  2021. generateArrayPrefix,
  2022. strictNullHandling,
  2023. skipNulls,
  2024. encoder,
  2025. filter,
  2026. sort,
  2027. allowDots,
  2028. serializeDate,
  2029. format,
  2030. formatter,
  2031. encodeValuesOnly,
  2032. charset,
  2033. sideChannel
  2034. ) {
  2035. var obj = object;
  2036. var tmpSc = sideChannel;
  2037. var step = 0;
  2038. var findFlag = false;
  2039. while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) {
  2040. // Where object last appeared in the ref tree
  2041. var pos = tmpSc.get(object);
  2042. step += 1;
  2043. if (typeof pos !== 'undefined') {
  2044. if (pos === step) {
  2045. throw new RangeError('Cyclic object value');
  2046. } else {
  2047. findFlag = true; // Break while
  2048. }
  2049. }
  2050. if (typeof tmpSc.get(sentinel) === 'undefined') {
  2051. step = 0;
  2052. }
  2053. }
  2054. if (typeof filter === 'function') {
  2055. obj = filter(prefix, obj);
  2056. } else if (obj instanceof Date) {
  2057. obj = serializeDate(obj);
  2058. } else if (generateArrayPrefix === 'comma' && isArray(obj)) {
  2059. obj = utils.maybeMap(obj, function (value) {
  2060. if (value instanceof Date) {
  2061. return serializeDate(value);
  2062. }
  2063. return value;
  2064. });
  2065. }
  2066. if (obj === null) {
  2067. if (strictNullHandling) {
  2068. return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix;
  2069. }
  2070. obj = '';
  2071. }
  2072. if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {
  2073. if (encoder) {
  2074. var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format);
  2075. if (generateArrayPrefix === 'comma' && encodeValuesOnly) {
  2076. var valuesArray = split.call(String(obj), ',');
  2077. var valuesJoined = '';
  2078. for (var i = 0; i < valuesArray.length; ++i) {
  2079. valuesJoined += (i === 0 ? '' : ',') + formatter(encoder(valuesArray[i], defaults.encoder, charset, 'value', format));
  2080. }
  2081. return [formatter(keyValue) + '=' + valuesJoined];
  2082. }
  2083. return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))];
  2084. }
  2085. return [formatter(prefix) + '=' + formatter(String(obj))];
  2086. }
  2087. var values = [];
  2088. if (typeof obj === 'undefined') {
  2089. return values;
  2090. }
  2091. var objKeys;
  2092. if (generateArrayPrefix === 'comma' && isArray(obj)) {
  2093. // we need to join elements in
  2094. objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }];
  2095. } else if (isArray(filter)) {
  2096. objKeys = filter;
  2097. } else {
  2098. var keys = Object.keys(obj);
  2099. objKeys = sort ? keys.sort(sort) : keys;
  2100. }
  2101. for (var j = 0; j < objKeys.length; ++j) {
  2102. var key = objKeys[j];
  2103. var value = typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key];
  2104. if (skipNulls && value === null) {
  2105. continue;
  2106. }
  2107. var keyPrefix = isArray(obj)
  2108. ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(prefix, key) : prefix
  2109. : prefix + (allowDots ? '.' + key : '[' + key + ']');
  2110. sideChannel.set(object, step);
  2111. var valueSideChannel = getSideChannel();
  2112. valueSideChannel.set(sentinel, sideChannel);
  2113. pushToArray(values, stringify(
  2114. value,
  2115. keyPrefix,
  2116. generateArrayPrefix,
  2117. strictNullHandling,
  2118. skipNulls,
  2119. encoder,
  2120. filter,
  2121. sort,
  2122. allowDots,
  2123. serializeDate,
  2124. format,
  2125. formatter,
  2126. encodeValuesOnly,
  2127. charset,
  2128. valueSideChannel
  2129. ));
  2130. }
  2131. return values;
  2132. };
  2133. var normalizeStringifyOptions = function normalizeStringifyOptions(opts) {
  2134. if (!opts) {
  2135. return defaults;
  2136. }
  2137. if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') {
  2138. throw new TypeError('Encoder has to be a function.');
  2139. }
  2140. var charset = opts.charset || defaults.charset;
  2141. if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {
  2142. throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');
  2143. }
  2144. var format = formats['default'];
  2145. if (typeof opts.format !== 'undefined') {
  2146. if (!has.call(formats.formatters, opts.format)) {
  2147. throw new TypeError('Unknown format option provided.');
  2148. }
  2149. format = opts.format;
  2150. }
  2151. var formatter = formats.formatters[format];
  2152. var filter = defaults.filter;
  2153. if (typeof opts.filter === 'function' || isArray(opts.filter)) {
  2154. filter = opts.filter;
  2155. }
  2156. return {
  2157. addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix,
  2158. allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,
  2159. charset: charset,
  2160. charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
  2161. delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,
  2162. encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,
  2163. encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder,
  2164. encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly,
  2165. filter: filter,
  2166. format: format,
  2167. formatter: formatter,
  2168. serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate,
  2169. skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls,
  2170. sort: typeof opts.sort === 'function' ? opts.sort : null,
  2171. strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling
  2172. };
  2173. };
  2174. module.exports = function (object, opts) {
  2175. var obj = object;
  2176. var options = normalizeStringifyOptions(opts);
  2177. var objKeys;
  2178. var filter;
  2179. if (typeof options.filter === 'function') {
  2180. filter = options.filter;
  2181. obj = filter('', obj);
  2182. } else if (isArray(options.filter)) {
  2183. filter = options.filter;
  2184. objKeys = filter;
  2185. }
  2186. var keys = [];
  2187. if (typeof obj !== 'object' || obj === null) {
  2188. return '';
  2189. }
  2190. var arrayFormat;
  2191. if (opts && opts.arrayFormat in arrayPrefixGenerators) {
  2192. arrayFormat = opts.arrayFormat;
  2193. } else if (opts && 'indices' in opts) {
  2194. arrayFormat = opts.indices ? 'indices' : 'repeat';
  2195. } else {
  2196. arrayFormat = 'indices';
  2197. }
  2198. var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];
  2199. if (!objKeys) {
  2200. objKeys = Object.keys(obj);
  2201. }
  2202. if (options.sort) {
  2203. objKeys.sort(options.sort);
  2204. }
  2205. var sideChannel = getSideChannel();
  2206. for (var i = 0; i < objKeys.length; ++i) {
  2207. var key = objKeys[i];
  2208. if (options.skipNulls && obj[key] === null) {
  2209. continue;
  2210. }
  2211. pushToArray(keys, stringify(
  2212. obj[key],
  2213. key,
  2214. generateArrayPrefix,
  2215. options.strictNullHandling,
  2216. options.skipNulls,
  2217. options.encode ? options.encoder : null,
  2218. options.filter,
  2219. options.sort,
  2220. options.allowDots,
  2221. options.serializeDate,
  2222. options.format,
  2223. options.formatter,
  2224. options.encodeValuesOnly,
  2225. options.charset,
  2226. sideChannel
  2227. ));
  2228. }
  2229. var joined = keys.join(options.delimiter);
  2230. var prefix = options.addQueryPrefix === true ? '?' : '';
  2231. if (options.charsetSentinel) {
  2232. if (options.charset === 'iso-8859-1') {
  2233. // encodeURIComponent('&#10003;'), the "numeric entity" representation of a checkmark
  2234. prefix += 'utf8=%26%2310003%3B&';
  2235. } else {
  2236. // encodeURIComponent('✓')
  2237. prefix += 'utf8=%E2%9C%93&';
  2238. }
  2239. }
  2240. return joined.length > 0 ? prefix + joined : '';
  2241. };
  2242. /***/ }),
  2243. /***/ "./node_modules/@inertiajs/inertia/node_modules/qs/lib/utils.js":
  2244. /*!**********************************************************************!*\
  2245. !*** ./node_modules/@inertiajs/inertia/node_modules/qs/lib/utils.js ***!
  2246. \**********************************************************************/
  2247. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  2248. "use strict";
  2249. var formats = __webpack_require__(/*! ./formats */ "./node_modules/@inertiajs/inertia/node_modules/qs/lib/formats.js");
  2250. var has = Object.prototype.hasOwnProperty;
  2251. var isArray = Array.isArray;
  2252. var hexTable = (function () {
  2253. var array = [];
  2254. for (var i = 0; i < 256; ++i) {
  2255. array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());
  2256. }
  2257. return array;
  2258. }());
  2259. var compactQueue = function compactQueue(queue) {
  2260. while (queue.length > 1) {
  2261. var item = queue.pop();
  2262. var obj = item.obj[item.prop];
  2263. if (isArray(obj)) {
  2264. var compacted = [];
  2265. for (var j = 0; j < obj.length; ++j) {
  2266. if (typeof obj[j] !== 'undefined') {
  2267. compacted.push(obj[j]);
  2268. }
  2269. }
  2270. item.obj[item.prop] = compacted;
  2271. }
  2272. }
  2273. };
  2274. var arrayToObject = function arrayToObject(source, options) {
  2275. var obj = options && options.plainObjects ? Object.create(null) : {};
  2276. for (var i = 0; i < source.length; ++i) {
  2277. if (typeof source[i] !== 'undefined') {
  2278. obj[i] = source[i];
  2279. }
  2280. }
  2281. return obj;
  2282. };
  2283. var merge = function merge(target, source, options) {
  2284. /* eslint no-param-reassign: 0 */
  2285. if (!source) {
  2286. return target;
  2287. }
  2288. if (typeof source !== 'object') {
  2289. if (isArray(target)) {
  2290. target.push(source);
  2291. } else if (target && typeof target === 'object') {
  2292. if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) {
  2293. target[source] = true;
  2294. }
  2295. } else {
  2296. return [target, source];
  2297. }
  2298. return target;
  2299. }
  2300. if (!target || typeof target !== 'object') {
  2301. return [target].concat(source);
  2302. }
  2303. var mergeTarget = target;
  2304. if (isArray(target) && !isArray(source)) {
  2305. mergeTarget = arrayToObject(target, options);
  2306. }
  2307. if (isArray(target) && isArray(source)) {
  2308. source.forEach(function (item, i) {
  2309. if (has.call(target, i)) {
  2310. var targetItem = target[i];
  2311. if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') {
  2312. target[i] = merge(targetItem, item, options);
  2313. } else {
  2314. target.push(item);
  2315. }
  2316. } else {
  2317. target[i] = item;
  2318. }
  2319. });
  2320. return target;
  2321. }
  2322. return Object.keys(source).reduce(function (acc, key) {
  2323. var value = source[key];
  2324. if (has.call(acc, key)) {
  2325. acc[key] = merge(acc[key], value, options);
  2326. } else {
  2327. acc[key] = value;
  2328. }
  2329. return acc;
  2330. }, mergeTarget);
  2331. };
  2332. var assign = function assignSingleSource(target, source) {
  2333. return Object.keys(source).reduce(function (acc, key) {
  2334. acc[key] = source[key];
  2335. return acc;
  2336. }, target);
  2337. };
  2338. var decode = function (str, decoder, charset) {
  2339. var strWithoutPlus = str.replace(/\+/g, ' ');
  2340. if (charset === 'iso-8859-1') {
  2341. // unescape never throws, no try...catch needed:
  2342. return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);
  2343. }
  2344. // utf-8
  2345. try {
  2346. return decodeURIComponent(strWithoutPlus);
  2347. } catch (e) {
  2348. return strWithoutPlus;
  2349. }
  2350. };
  2351. var encode = function encode(str, defaultEncoder, charset, kind, format) {
  2352. // This code was originally written by Brian White (mscdex) for the io.js core querystring library.
  2353. // It has been adapted here for stricter adherence to RFC 3986
  2354. if (str.length === 0) {
  2355. return str;
  2356. }
  2357. var string = str;
  2358. if (typeof str === 'symbol') {
  2359. string = Symbol.prototype.toString.call(str);
  2360. } else if (typeof str !== 'string') {
  2361. string = String(str);
  2362. }
  2363. if (charset === 'iso-8859-1') {
  2364. return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) {
  2365. return '%26%23' + parseInt($0.slice(2), 16) + '%3B';
  2366. });
  2367. }
  2368. var out = '';
  2369. for (var i = 0; i < string.length; ++i) {
  2370. var c = string.charCodeAt(i);
  2371. if (
  2372. c === 0x2D // -
  2373. || c === 0x2E // .
  2374. || c === 0x5F // _
  2375. || c === 0x7E // ~
  2376. || (c >= 0x30 && c <= 0x39) // 0-9
  2377. || (c >= 0x41 && c <= 0x5A) // a-z
  2378. || (c >= 0x61 && c <= 0x7A) // A-Z
  2379. || (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( )
  2380. ) {
  2381. out += string.charAt(i);
  2382. continue;
  2383. }
  2384. if (c < 0x80) {
  2385. out = out + hexTable[c];
  2386. continue;
  2387. }
  2388. if (c < 0x800) {
  2389. out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]);
  2390. continue;
  2391. }
  2392. if (c < 0xD800 || c >= 0xE000) {
  2393. out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]);
  2394. continue;
  2395. }
  2396. i += 1;
  2397. c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));
  2398. /* eslint operator-linebreak: [2, "before"] */
  2399. out += hexTable[0xF0 | (c >> 18)]
  2400. + hexTable[0x80 | ((c >> 12) & 0x3F)]
  2401. + hexTable[0x80 | ((c >> 6) & 0x3F)]
  2402. + hexTable[0x80 | (c & 0x3F)];
  2403. }
  2404. return out;
  2405. };
  2406. var compact = function compact(value) {
  2407. var queue = [{ obj: { o: value }, prop: 'o' }];
  2408. var refs = [];
  2409. for (var i = 0; i < queue.length; ++i) {
  2410. var item = queue[i];
  2411. var obj = item.obj[item.prop];
  2412. var keys = Object.keys(obj);
  2413. for (var j = 0; j < keys.length; ++j) {
  2414. var key = keys[j];
  2415. var val = obj[key];
  2416. if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) {
  2417. queue.push({ obj: obj, prop: key });
  2418. refs.push(val);
  2419. }
  2420. }
  2421. }
  2422. compactQueue(queue);
  2423. return value;
  2424. };
  2425. var isRegExp = function isRegExp(obj) {
  2426. return Object.prototype.toString.call(obj) === '[object RegExp]';
  2427. };
  2428. var isBuffer = function isBuffer(obj) {
  2429. if (!obj || typeof obj !== 'object') {
  2430. return false;
  2431. }
  2432. return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));
  2433. };
  2434. var combine = function combine(a, b) {
  2435. return [].concat(a, b);
  2436. };
  2437. var maybeMap = function maybeMap(val, fn) {
  2438. if (isArray(val)) {
  2439. var mapped = [];
  2440. for (var i = 0; i < val.length; i += 1) {
  2441. mapped.push(fn(val[i]));
  2442. }
  2443. return mapped;
  2444. }
  2445. return fn(val);
  2446. };
  2447. module.exports = {
  2448. arrayToObject: arrayToObject,
  2449. assign: assign,
  2450. combine: combine,
  2451. compact: compact,
  2452. decode: decode,
  2453. encode: encode,
  2454. isBuffer: isBuffer,
  2455. isRegExp: isRegExp,
  2456. maybeMap: maybeMap,
  2457. merge: merge
  2458. };
  2459. /***/ }),
  2460. /***/ "./node_modules/@inertiajs/progress/dist/index.js":
  2461. /*!********************************************************!*\
  2462. !*** ./node_modules/@inertiajs/progress/dist/index.js ***!
  2463. \********************************************************/
  2464. /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
  2465. var n,e=(n=__webpack_require__(/*! nprogress */ "./node_modules/nprogress/nprogress.js"))&&"object"==typeof n&&"default"in n?n.default:n,t=null;function r(n){document.addEventListener("inertia:start",o.bind(null,n)),document.addEventListener("inertia:progress",i),document.addEventListener("inertia:finish",s)}function o(n){t=setTimeout(function(){return e.start()},n)}function i(n){e.isStarted()&&n.detail.progress.percentage&&e.set(Math.max(e.status,n.detail.progress.percentage/100*.9))}function s(n){clearTimeout(t),e.isStarted()&&(n.detail.visit.completed?e.done():n.detail.visit.interrupted?e.set(0):n.detail.visit.cancelled&&(e.done(),e.remove()))}exports.InertiaProgress={init:function(n){var t=void 0===n?{}:n,o=t.delay,i=t.color,s=void 0===i?"#29d":i,a=t.includeCSS,p=void 0===a||a,d=t.showSpinner,l=void 0!==d&&d;r(void 0===o?250:o),e.configure({showSpinner:l}),p&&function(n){var e=document.createElement("style");e.type="text/css",e.textContent="\n #nprogress {\n pointer-events: none;\n }\n\n #nprogress .bar {\n background: "+n+";\n\n position: fixed;\n z-index: 1031;\n top: 0;\n left: 0;\n\n width: 100%;\n height: 2px;\n }\n\n #nprogress .peg {\n display: block;\n position: absolute;\n right: 0px;\n width: 100px;\n height: 100%;\n box-shadow: 0 0 10px "+n+", 0 0 5px "+n+";\n opacity: 1.0;\n\n -webkit-transform: rotate(3deg) translate(0px, -4px);\n -ms-transform: rotate(3deg) translate(0px, -4px);\n transform: rotate(3deg) translate(0px, -4px);\n }\n\n #nprogress .spinner {\n display: block;\n position: fixed;\n z-index: 1031;\n top: 15px;\n right: 15px;\n }\n\n #nprogress .spinner-icon {\n width: 18px;\n height: 18px;\n box-sizing: border-box;\n\n border: solid 2px transparent;\n border-top-color: "+n+";\n border-left-color: "+n+";\n border-radius: 50%;\n\n -webkit-animation: nprogress-spinner 400ms linear infinite;\n animation: nprogress-spinner 400ms linear infinite;\n }\n\n .nprogress-custom-parent {\n overflow: hidden;\n position: relative;\n }\n\n .nprogress-custom-parent #nprogress .spinner,\n .nprogress-custom-parent #nprogress .bar {\n position: absolute;\n }\n\n @-webkit-keyframes nprogress-spinner {\n 0% { -webkit-transform: rotate(0deg); }\n 100% { -webkit-transform: rotate(360deg); }\n }\n @keyframes nprogress-spinner {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n }\n ",document.head.appendChild(e)}(s)}};
  2466. //# sourceMappingURL=index.js.map
  2467. /***/ }),
  2468. /***/ "./node_modules/@vue/compiler-core/dist/compiler-core.esm-bundler.js":
  2469. /*!***************************************************************************!*\
  2470. !*** ./node_modules/@vue/compiler-core/dist/compiler-core.esm-bundler.js ***!
  2471. \***************************************************************************/
  2472. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  2473. "use strict";
  2474. __webpack_require__.r(__webpack_exports__);
  2475. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  2476. /* harmony export */ "BASE_TRANSITION": () => (/* binding */ BASE_TRANSITION),
  2477. /* harmony export */ "CAMELIZE": () => (/* binding */ CAMELIZE),
  2478. /* harmony export */ "CAPITALIZE": () => (/* binding */ CAPITALIZE),
  2479. /* harmony export */ "CREATE_BLOCK": () => (/* binding */ CREATE_BLOCK),
  2480. /* harmony export */ "CREATE_COMMENT": () => (/* binding */ CREATE_COMMENT),
  2481. /* harmony export */ "CREATE_ELEMENT_BLOCK": () => (/* binding */ CREATE_ELEMENT_BLOCK),
  2482. /* harmony export */ "CREATE_ELEMENT_VNODE": () => (/* binding */ CREATE_ELEMENT_VNODE),
  2483. /* harmony export */ "CREATE_SLOTS": () => (/* binding */ CREATE_SLOTS),
  2484. /* harmony export */ "CREATE_STATIC": () => (/* binding */ CREATE_STATIC),
  2485. /* harmony export */ "CREATE_TEXT": () => (/* binding */ CREATE_TEXT),
  2486. /* harmony export */ "CREATE_VNODE": () => (/* binding */ CREATE_VNODE),
  2487. /* harmony export */ "FRAGMENT": () => (/* binding */ FRAGMENT),
  2488. /* harmony export */ "GUARD_REACTIVE_PROPS": () => (/* binding */ GUARD_REACTIVE_PROPS),
  2489. /* harmony export */ "IS_MEMO_SAME": () => (/* binding */ IS_MEMO_SAME),
  2490. /* harmony export */ "IS_REF": () => (/* binding */ IS_REF),
  2491. /* harmony export */ "KEEP_ALIVE": () => (/* binding */ KEEP_ALIVE),
  2492. /* harmony export */ "MERGE_PROPS": () => (/* binding */ MERGE_PROPS),
  2493. /* harmony export */ "NORMALIZE_CLASS": () => (/* binding */ NORMALIZE_CLASS),
  2494. /* harmony export */ "NORMALIZE_PROPS": () => (/* binding */ NORMALIZE_PROPS),
  2495. /* harmony export */ "NORMALIZE_STYLE": () => (/* binding */ NORMALIZE_STYLE),
  2496. /* harmony export */ "OPEN_BLOCK": () => (/* binding */ OPEN_BLOCK),
  2497. /* harmony export */ "POP_SCOPE_ID": () => (/* binding */ POP_SCOPE_ID),
  2498. /* harmony export */ "PUSH_SCOPE_ID": () => (/* binding */ PUSH_SCOPE_ID),
  2499. /* harmony export */ "RENDER_LIST": () => (/* binding */ RENDER_LIST),
  2500. /* harmony export */ "RENDER_SLOT": () => (/* binding */ RENDER_SLOT),
  2501. /* harmony export */ "RESOLVE_COMPONENT": () => (/* binding */ RESOLVE_COMPONENT),
  2502. /* harmony export */ "RESOLVE_DIRECTIVE": () => (/* binding */ RESOLVE_DIRECTIVE),
  2503. /* harmony export */ "RESOLVE_DYNAMIC_COMPONENT": () => (/* binding */ RESOLVE_DYNAMIC_COMPONENT),
  2504. /* harmony export */ "RESOLVE_FILTER": () => (/* binding */ RESOLVE_FILTER),
  2505. /* harmony export */ "SET_BLOCK_TRACKING": () => (/* binding */ SET_BLOCK_TRACKING),
  2506. /* harmony export */ "SUSPENSE": () => (/* binding */ SUSPENSE),
  2507. /* harmony export */ "TELEPORT": () => (/* binding */ TELEPORT),
  2508. /* harmony export */ "TO_DISPLAY_STRING": () => (/* binding */ TO_DISPLAY_STRING),
  2509. /* harmony export */ "TO_HANDLERS": () => (/* binding */ TO_HANDLERS),
  2510. /* harmony export */ "TO_HANDLER_KEY": () => (/* binding */ TO_HANDLER_KEY),
  2511. /* harmony export */ "UNREF": () => (/* binding */ UNREF),
  2512. /* harmony export */ "WITH_CTX": () => (/* binding */ WITH_CTX),
  2513. /* harmony export */ "WITH_DIRECTIVES": () => (/* binding */ WITH_DIRECTIVES),
  2514. /* harmony export */ "WITH_MEMO": () => (/* binding */ WITH_MEMO),
  2515. /* harmony export */ "advancePositionWithClone": () => (/* binding */ advancePositionWithClone),
  2516. /* harmony export */ "advancePositionWithMutation": () => (/* binding */ advancePositionWithMutation),
  2517. /* harmony export */ "assert": () => (/* binding */ assert),
  2518. /* harmony export */ "baseCompile": () => (/* binding */ baseCompile),
  2519. /* harmony export */ "baseParse": () => (/* binding */ baseParse),
  2520. /* harmony export */ "buildDirectiveArgs": () => (/* binding */ buildDirectiveArgs),
  2521. /* harmony export */ "buildProps": () => (/* binding */ buildProps),
  2522. /* harmony export */ "buildSlots": () => (/* binding */ buildSlots),
  2523. /* harmony export */ "checkCompatEnabled": () => (/* binding */ checkCompatEnabled),
  2524. /* harmony export */ "createArrayExpression": () => (/* binding */ createArrayExpression),
  2525. /* harmony export */ "createAssignmentExpression": () => (/* binding */ createAssignmentExpression),
  2526. /* harmony export */ "createBlockStatement": () => (/* binding */ createBlockStatement),
  2527. /* harmony export */ "createCacheExpression": () => (/* binding */ createCacheExpression),
  2528. /* harmony export */ "createCallExpression": () => (/* binding */ createCallExpression),
  2529. /* harmony export */ "createCompilerError": () => (/* binding */ createCompilerError),
  2530. /* harmony export */ "createCompoundExpression": () => (/* binding */ createCompoundExpression),
  2531. /* harmony export */ "createConditionalExpression": () => (/* binding */ createConditionalExpression),
  2532. /* harmony export */ "createForLoopParams": () => (/* binding */ createForLoopParams),
  2533. /* harmony export */ "createFunctionExpression": () => (/* binding */ createFunctionExpression),
  2534. /* harmony export */ "createIfStatement": () => (/* binding */ createIfStatement),
  2535. /* harmony export */ "createInterpolation": () => (/* binding */ createInterpolation),
  2536. /* harmony export */ "createObjectExpression": () => (/* binding */ createObjectExpression),
  2537. /* harmony export */ "createObjectProperty": () => (/* binding */ createObjectProperty),
  2538. /* harmony export */ "createReturnStatement": () => (/* binding */ createReturnStatement),
  2539. /* harmony export */ "createRoot": () => (/* binding */ createRoot),
  2540. /* harmony export */ "createSequenceExpression": () => (/* binding */ createSequenceExpression),
  2541. /* harmony export */ "createSimpleExpression": () => (/* binding */ createSimpleExpression),
  2542. /* harmony export */ "createStructuralDirectiveTransform": () => (/* binding */ createStructuralDirectiveTransform),
  2543. /* harmony export */ "createTemplateLiteral": () => (/* binding */ createTemplateLiteral),
  2544. /* harmony export */ "createTransformContext": () => (/* binding */ createTransformContext),
  2545. /* harmony export */ "createVNodeCall": () => (/* binding */ createVNodeCall),
  2546. /* harmony export */ "extractIdentifiers": () => (/* binding */ extractIdentifiers),
  2547. /* harmony export */ "findDir": () => (/* binding */ findDir),
  2548. /* harmony export */ "findProp": () => (/* binding */ findProp),
  2549. /* harmony export */ "generate": () => (/* binding */ generate),
  2550. /* harmony export */ "generateCodeFrame": () => (/* reexport safe */ _vue_shared__WEBPACK_IMPORTED_MODULE_0__.generateCodeFrame),
  2551. /* harmony export */ "getBaseTransformPreset": () => (/* binding */ getBaseTransformPreset),
  2552. /* harmony export */ "getInnerRange": () => (/* binding */ getInnerRange),
  2553. /* harmony export */ "getMemoedVNodeCall": () => (/* binding */ getMemoedVNodeCall),
  2554. /* harmony export */ "getVNodeBlockHelper": () => (/* binding */ getVNodeBlockHelper),
  2555. /* harmony export */ "getVNodeHelper": () => (/* binding */ getVNodeHelper),
  2556. /* harmony export */ "hasDynamicKeyVBind": () => (/* binding */ hasDynamicKeyVBind),
  2557. /* harmony export */ "hasScopeRef": () => (/* binding */ hasScopeRef),
  2558. /* harmony export */ "helperNameMap": () => (/* binding */ helperNameMap),
  2559. /* harmony export */ "injectProp": () => (/* binding */ injectProp),
  2560. /* harmony export */ "isBuiltInType": () => (/* binding */ isBuiltInType),
  2561. /* harmony export */ "isCoreComponent": () => (/* binding */ isCoreComponent),
  2562. /* harmony export */ "isFunctionType": () => (/* binding */ isFunctionType),
  2563. /* harmony export */ "isInDestructureAssignment": () => (/* binding */ isInDestructureAssignment),
  2564. /* harmony export */ "isMemberExpression": () => (/* binding */ isMemberExpression),
  2565. /* harmony export */ "isMemberExpressionBrowser": () => (/* binding */ isMemberExpressionBrowser),
  2566. /* harmony export */ "isMemberExpressionNode": () => (/* binding */ isMemberExpressionNode),
  2567. /* harmony export */ "isReferencedIdentifier": () => (/* binding */ isReferencedIdentifier),
  2568. /* harmony export */ "isSimpleIdentifier": () => (/* binding */ isSimpleIdentifier),
  2569. /* harmony export */ "isSlotOutlet": () => (/* binding */ isSlotOutlet),
  2570. /* harmony export */ "isStaticArgOf": () => (/* binding */ isStaticArgOf),
  2571. /* harmony export */ "isStaticExp": () => (/* binding */ isStaticExp),
  2572. /* harmony export */ "isStaticProperty": () => (/* binding */ isStaticProperty),
  2573. /* harmony export */ "isStaticPropertyKey": () => (/* binding */ isStaticPropertyKey),
  2574. /* harmony export */ "isTemplateNode": () => (/* binding */ isTemplateNode),
  2575. /* harmony export */ "isText": () => (/* binding */ isText),
  2576. /* harmony export */ "isVSlot": () => (/* binding */ isVSlot),
  2577. /* harmony export */ "locStub": () => (/* binding */ locStub),
  2578. /* harmony export */ "makeBlock": () => (/* binding */ makeBlock),
  2579. /* harmony export */ "noopDirectiveTransform": () => (/* binding */ noopDirectiveTransform),
  2580. /* harmony export */ "processExpression": () => (/* binding */ processExpression),
  2581. /* harmony export */ "processFor": () => (/* binding */ processFor),
  2582. /* harmony export */ "processIf": () => (/* binding */ processIf),
  2583. /* harmony export */ "processSlotOutlet": () => (/* binding */ processSlotOutlet),
  2584. /* harmony export */ "registerRuntimeHelpers": () => (/* binding */ registerRuntimeHelpers),
  2585. /* harmony export */ "resolveComponentType": () => (/* binding */ resolveComponentType),
  2586. /* harmony export */ "toValidAssetId": () => (/* binding */ toValidAssetId),
  2587. /* harmony export */ "trackSlotScopes": () => (/* binding */ trackSlotScopes),
  2588. /* harmony export */ "trackVForSlotScopes": () => (/* binding */ trackVForSlotScopes),
  2589. /* harmony export */ "transform": () => (/* binding */ transform),
  2590. /* harmony export */ "transformBind": () => (/* binding */ transformBind),
  2591. /* harmony export */ "transformElement": () => (/* binding */ transformElement),
  2592. /* harmony export */ "transformExpression": () => (/* binding */ transformExpression),
  2593. /* harmony export */ "transformModel": () => (/* binding */ transformModel),
  2594. /* harmony export */ "transformOn": () => (/* binding */ transformOn),
  2595. /* harmony export */ "traverseNode": () => (/* binding */ traverseNode),
  2596. /* harmony export */ "walkBlockDeclarations": () => (/* binding */ walkBlockDeclarations),
  2597. /* harmony export */ "walkFunctionParams": () => (/* binding */ walkFunctionParams),
  2598. /* harmony export */ "walkIdentifiers": () => (/* binding */ walkIdentifiers),
  2599. /* harmony export */ "warnDeprecation": () => (/* binding */ warnDeprecation)
  2600. /* harmony export */ });
  2601. /* harmony import */ var _vue_shared__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @vue/shared */ "./node_modules/@vue/shared/dist/shared.esm-bundler.js");
  2602. function defaultOnError(error) {
  2603. throw error;
  2604. }
  2605. function defaultOnWarn(msg) {
  2606. ( true) && console.warn(`[Vue warn] ${msg.message}`);
  2607. }
  2608. function createCompilerError(code, loc, messages, additionalMessage) {
  2609. const msg = true
  2610. ? (messages || errorMessages)[code] + (additionalMessage || ``)
  2611. : 0;
  2612. const error = new SyntaxError(String(msg));
  2613. error.code = code;
  2614. error.loc = loc;
  2615. return error;
  2616. }
  2617. const errorMessages = {
  2618. // parse errors
  2619. [0 /* ABRUPT_CLOSING_OF_EMPTY_COMMENT */]: 'Illegal comment.',
  2620. [1 /* CDATA_IN_HTML_CONTENT */]: 'CDATA section is allowed only in XML context.',
  2621. [2 /* DUPLICATE_ATTRIBUTE */]: 'Duplicate attribute.',
  2622. [3 /* END_TAG_WITH_ATTRIBUTES */]: 'End tag cannot have attributes.',
  2623. [4 /* END_TAG_WITH_TRAILING_SOLIDUS */]: "Illegal '/' in tags.",
  2624. [5 /* EOF_BEFORE_TAG_NAME */]: 'Unexpected EOF in tag.',
  2625. [6 /* EOF_IN_CDATA */]: 'Unexpected EOF in CDATA section.',
  2626. [7 /* EOF_IN_COMMENT */]: 'Unexpected EOF in comment.',
  2627. [8 /* EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT */]: 'Unexpected EOF in script.',
  2628. [9 /* EOF_IN_TAG */]: 'Unexpected EOF in tag.',
  2629. [10 /* INCORRECTLY_CLOSED_COMMENT */]: 'Incorrectly closed comment.',
  2630. [11 /* INCORRECTLY_OPENED_COMMENT */]: 'Incorrectly opened comment.',
  2631. [12 /* INVALID_FIRST_CHARACTER_OF_TAG_NAME */]: "Illegal tag name. Use '&lt;' to print '<'.",
  2632. [13 /* MISSING_ATTRIBUTE_VALUE */]: 'Attribute value was expected.',
  2633. [14 /* MISSING_END_TAG_NAME */]: 'End tag name was expected.',
  2634. [15 /* MISSING_WHITESPACE_BETWEEN_ATTRIBUTES */]: 'Whitespace was expected.',
  2635. [16 /* NESTED_COMMENT */]: "Unexpected '<!--' in comment.",
  2636. [17 /* UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME */]: 'Attribute name cannot contain U+0022 ("), U+0027 (\'), and U+003C (<).',
  2637. [18 /* UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE */]: 'Unquoted attribute value cannot contain U+0022 ("), U+0027 (\'), U+003C (<), U+003D (=), and U+0060 (`).',
  2638. [19 /* UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME */]: "Attribute name cannot start with '='.",
  2639. [21 /* UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME */]: "'<?' is allowed only in XML context.",
  2640. [20 /* UNEXPECTED_NULL_CHARACTER */]: `Unexpected null character.`,
  2641. [22 /* UNEXPECTED_SOLIDUS_IN_TAG */]: "Illegal '/' in tags.",
  2642. // Vue-specific parse errors
  2643. [23 /* X_INVALID_END_TAG */]: 'Invalid end tag.',
  2644. [24 /* X_MISSING_END_TAG */]: 'Element is missing end tag.',
  2645. [25 /* X_MISSING_INTERPOLATION_END */]: 'Interpolation end sign was not found.',
  2646. [27 /* X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END */]: 'End bracket for dynamic directive argument was not found. ' +
  2647. 'Note that dynamic directive argument cannot contain spaces.',
  2648. [26 /* X_MISSING_DIRECTIVE_NAME */]: 'Legal directive name was expected.',
  2649. // transform errors
  2650. [28 /* X_V_IF_NO_EXPRESSION */]: `v-if/v-else-if is missing expression.`,
  2651. [29 /* X_V_IF_SAME_KEY */]: `v-if/else branches must use unique keys.`,
  2652. [30 /* X_V_ELSE_NO_ADJACENT_IF */]: `v-else/v-else-if has no adjacent v-if or v-else-if.`,
  2653. [31 /* X_V_FOR_NO_EXPRESSION */]: `v-for is missing expression.`,
  2654. [32 /* X_V_FOR_MALFORMED_EXPRESSION */]: `v-for has invalid expression.`,
  2655. [33 /* X_V_FOR_TEMPLATE_KEY_PLACEMENT */]: `<template v-for> key should be placed on the <template> tag.`,
  2656. [34 /* X_V_BIND_NO_EXPRESSION */]: `v-bind is missing expression.`,
  2657. [35 /* X_V_ON_NO_EXPRESSION */]: `v-on is missing expression.`,
  2658. [36 /* X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET */]: `Unexpected custom directive on <slot> outlet.`,
  2659. [37 /* X_V_SLOT_MIXED_SLOT_USAGE */]: `Mixed v-slot usage on both the component and nested <template>.` +
  2660. `When there are multiple named slots, all slots should use <template> ` +
  2661. `syntax to avoid scope ambiguity.`,
  2662. [38 /* X_V_SLOT_DUPLICATE_SLOT_NAMES */]: `Duplicate slot names found. `,
  2663. [39 /* X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN */]: `Extraneous children found when component already has explicitly named ` +
  2664. `default slot. These children will be ignored.`,
  2665. [40 /* X_V_SLOT_MISPLACED */]: `v-slot can only be used on components or <template> tags.`,
  2666. [41 /* X_V_MODEL_NO_EXPRESSION */]: `v-model is missing expression.`,
  2667. [42 /* X_V_MODEL_MALFORMED_EXPRESSION */]: `v-model value must be a valid JavaScript member expression.`,
  2668. [43 /* X_V_MODEL_ON_SCOPE_VARIABLE */]: `v-model cannot be used on v-for or v-slot scope variables because they are not writable.`,
  2669. [44 /* X_INVALID_EXPRESSION */]: `Error parsing JavaScript expression: `,
  2670. [45 /* X_KEEP_ALIVE_INVALID_CHILDREN */]: `<KeepAlive> expects exactly one child component.`,
  2671. // generic errors
  2672. [46 /* X_PREFIX_ID_NOT_SUPPORTED */]: `"prefixIdentifiers" option is not supported in this build of compiler.`,
  2673. [47 /* X_MODULE_MODE_NOT_SUPPORTED */]: `ES module mode is not supported in this build of compiler.`,
  2674. [48 /* X_CACHE_HANDLER_NOT_SUPPORTED */]: `"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.`,
  2675. [49 /* X_SCOPE_ID_NOT_SUPPORTED */]: `"scopeId" option is only supported in module mode.`,
  2676. // just to fulfill types
  2677. [50 /* __EXTEND_POINT__ */]: ``
  2678. };
  2679. const FRAGMENT = Symbol(( true) ? `Fragment` : 0);
  2680. const TELEPORT = Symbol(( true) ? `Teleport` : 0);
  2681. const SUSPENSE = Symbol(( true) ? `Suspense` : 0);
  2682. const KEEP_ALIVE = Symbol(( true) ? `KeepAlive` : 0);
  2683. const BASE_TRANSITION = Symbol(( true) ? `BaseTransition` : 0);
  2684. const OPEN_BLOCK = Symbol(( true) ? `openBlock` : 0);
  2685. const CREATE_BLOCK = Symbol(( true) ? `createBlock` : 0);
  2686. const CREATE_ELEMENT_BLOCK = Symbol(( true) ? `createElementBlock` : 0);
  2687. const CREATE_VNODE = Symbol(( true) ? `createVNode` : 0);
  2688. const CREATE_ELEMENT_VNODE = Symbol(( true) ? `createElementVNode` : 0);
  2689. const CREATE_COMMENT = Symbol(( true) ? `createCommentVNode` : 0);
  2690. const CREATE_TEXT = Symbol(( true) ? `createTextVNode` : 0);
  2691. const CREATE_STATIC = Symbol(( true) ? `createStaticVNode` : 0);
  2692. const RESOLVE_COMPONENT = Symbol(( true) ? `resolveComponent` : 0);
  2693. const RESOLVE_DYNAMIC_COMPONENT = Symbol(( true) ? `resolveDynamicComponent` : 0);
  2694. const RESOLVE_DIRECTIVE = Symbol(( true) ? `resolveDirective` : 0);
  2695. const RESOLVE_FILTER = Symbol(( true) ? `resolveFilter` : 0);
  2696. const WITH_DIRECTIVES = Symbol(( true) ? `withDirectives` : 0);
  2697. const RENDER_LIST = Symbol(( true) ? `renderList` : 0);
  2698. const RENDER_SLOT = Symbol(( true) ? `renderSlot` : 0);
  2699. const CREATE_SLOTS = Symbol(( true) ? `createSlots` : 0);
  2700. const TO_DISPLAY_STRING = Symbol(( true) ? `toDisplayString` : 0);
  2701. const MERGE_PROPS = Symbol(( true) ? `mergeProps` : 0);
  2702. const NORMALIZE_CLASS = Symbol(( true) ? `normalizeClass` : 0);
  2703. const NORMALIZE_STYLE = Symbol(( true) ? `normalizeStyle` : 0);
  2704. const NORMALIZE_PROPS = Symbol(( true) ? `normalizeProps` : 0);
  2705. const GUARD_REACTIVE_PROPS = Symbol(( true) ? `guardReactiveProps` : 0);
  2706. const TO_HANDLERS = Symbol(( true) ? `toHandlers` : 0);
  2707. const CAMELIZE = Symbol(( true) ? `camelize` : 0);
  2708. const CAPITALIZE = Symbol(( true) ? `capitalize` : 0);
  2709. const TO_HANDLER_KEY = Symbol(( true) ? `toHandlerKey` : 0);
  2710. const SET_BLOCK_TRACKING = Symbol(( true) ? `setBlockTracking` : 0);
  2711. const PUSH_SCOPE_ID = Symbol(( true) ? `pushScopeId` : 0);
  2712. const POP_SCOPE_ID = Symbol(( true) ? `popScopeId` : 0);
  2713. const WITH_CTX = Symbol(( true) ? `withCtx` : 0);
  2714. const UNREF = Symbol(( true) ? `unref` : 0);
  2715. const IS_REF = Symbol(( true) ? `isRef` : 0);
  2716. const WITH_MEMO = Symbol(( true) ? `withMemo` : 0);
  2717. const IS_MEMO_SAME = Symbol(( true) ? `isMemoSame` : 0);
  2718. // Name mapping for runtime helpers that need to be imported from 'vue' in
  2719. // generated code. Make sure these are correctly exported in the runtime!
  2720. // Using `any` here because TS doesn't allow symbols as index type.
  2721. const helperNameMap = {
  2722. [FRAGMENT]: `Fragment`,
  2723. [TELEPORT]: `Teleport`,
  2724. [SUSPENSE]: `Suspense`,
  2725. [KEEP_ALIVE]: `KeepAlive`,
  2726. [BASE_TRANSITION]: `BaseTransition`,
  2727. [OPEN_BLOCK]: `openBlock`,
  2728. [CREATE_BLOCK]: `createBlock`,
  2729. [CREATE_ELEMENT_BLOCK]: `createElementBlock`,
  2730. [CREATE_VNODE]: `createVNode`,
  2731. [CREATE_ELEMENT_VNODE]: `createElementVNode`,
  2732. [CREATE_COMMENT]: `createCommentVNode`,
  2733. [CREATE_TEXT]: `createTextVNode`,
  2734. [CREATE_STATIC]: `createStaticVNode`,
  2735. [RESOLVE_COMPONENT]: `resolveComponent`,
  2736. [RESOLVE_DYNAMIC_COMPONENT]: `resolveDynamicComponent`,
  2737. [RESOLVE_DIRECTIVE]: `resolveDirective`,
  2738. [RESOLVE_FILTER]: `resolveFilter`,
  2739. [WITH_DIRECTIVES]: `withDirectives`,
  2740. [RENDER_LIST]: `renderList`,
  2741. [RENDER_SLOT]: `renderSlot`,
  2742. [CREATE_SLOTS]: `createSlots`,
  2743. [TO_DISPLAY_STRING]: `toDisplayString`,
  2744. [MERGE_PROPS]: `mergeProps`,
  2745. [NORMALIZE_CLASS]: `normalizeClass`,
  2746. [NORMALIZE_STYLE]: `normalizeStyle`,
  2747. [NORMALIZE_PROPS]: `normalizeProps`,
  2748. [GUARD_REACTIVE_PROPS]: `guardReactiveProps`,
  2749. [TO_HANDLERS]: `toHandlers`,
  2750. [CAMELIZE]: `camelize`,
  2751. [CAPITALIZE]: `capitalize`,
  2752. [TO_HANDLER_KEY]: `toHandlerKey`,
  2753. [SET_BLOCK_TRACKING]: `setBlockTracking`,
  2754. [PUSH_SCOPE_ID]: `pushScopeId`,
  2755. [POP_SCOPE_ID]: `popScopeId`,
  2756. [WITH_CTX]: `withCtx`,
  2757. [UNREF]: `unref`,
  2758. [IS_REF]: `isRef`,
  2759. [WITH_MEMO]: `withMemo`,
  2760. [IS_MEMO_SAME]: `isMemoSame`
  2761. };
  2762. function registerRuntimeHelpers(helpers) {
  2763. Object.getOwnPropertySymbols(helpers).forEach(s => {
  2764. helperNameMap[s] = helpers[s];
  2765. });
  2766. }
  2767. // AST Utilities ---------------------------------------------------------------
  2768. // Some expressions, e.g. sequence and conditional expressions, are never
  2769. // associated with template nodes, so their source locations are just a stub.
  2770. // Container types like CompoundExpression also don't need a real location.
  2771. const locStub = {
  2772. source: '',
  2773. start: { line: 1, column: 1, offset: 0 },
  2774. end: { line: 1, column: 1, offset: 0 }
  2775. };
  2776. function createRoot(children, loc = locStub) {
  2777. return {
  2778. type: 0 /* ROOT */,
  2779. children,
  2780. helpers: [],
  2781. components: [],
  2782. directives: [],
  2783. hoists: [],
  2784. imports: [],
  2785. cached: 0,
  2786. temps: 0,
  2787. codegenNode: undefined,
  2788. loc
  2789. };
  2790. }
  2791. function createVNodeCall(context, tag, props, children, patchFlag, dynamicProps, directives, isBlock = false, disableTracking = false, isComponent = false, loc = locStub) {
  2792. if (context) {
  2793. if (isBlock) {
  2794. context.helper(OPEN_BLOCK);
  2795. context.helper(getVNodeBlockHelper(context.inSSR, isComponent));
  2796. }
  2797. else {
  2798. context.helper(getVNodeHelper(context.inSSR, isComponent));
  2799. }
  2800. if (directives) {
  2801. context.helper(WITH_DIRECTIVES);
  2802. }
  2803. }
  2804. return {
  2805. type: 13 /* VNODE_CALL */,
  2806. tag,
  2807. props,
  2808. children,
  2809. patchFlag,
  2810. dynamicProps,
  2811. directives,
  2812. isBlock,
  2813. disableTracking,
  2814. isComponent,
  2815. loc
  2816. };
  2817. }
  2818. function createArrayExpression(elements, loc = locStub) {
  2819. return {
  2820. type: 17 /* JS_ARRAY_EXPRESSION */,
  2821. loc,
  2822. elements
  2823. };
  2824. }
  2825. function createObjectExpression(properties, loc = locStub) {
  2826. return {
  2827. type: 15 /* JS_OBJECT_EXPRESSION */,
  2828. loc,
  2829. properties
  2830. };
  2831. }
  2832. function createObjectProperty(key, value) {
  2833. return {
  2834. type: 16 /* JS_PROPERTY */,
  2835. loc: locStub,
  2836. key: (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(key) ? createSimpleExpression(key, true) : key,
  2837. value
  2838. };
  2839. }
  2840. function createSimpleExpression(content, isStatic = false, loc = locStub, constType = 0 /* NOT_CONSTANT */) {
  2841. return {
  2842. type: 4 /* SIMPLE_EXPRESSION */,
  2843. loc,
  2844. content,
  2845. isStatic,
  2846. constType: isStatic ? 3 /* CAN_STRINGIFY */ : constType
  2847. };
  2848. }
  2849. function createInterpolation(content, loc) {
  2850. return {
  2851. type: 5 /* INTERPOLATION */,
  2852. loc,
  2853. content: (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(content)
  2854. ? createSimpleExpression(content, false, loc)
  2855. : content
  2856. };
  2857. }
  2858. function createCompoundExpression(children, loc = locStub) {
  2859. return {
  2860. type: 8 /* COMPOUND_EXPRESSION */,
  2861. loc,
  2862. children
  2863. };
  2864. }
  2865. function createCallExpression(callee, args = [], loc = locStub) {
  2866. return {
  2867. type: 14 /* JS_CALL_EXPRESSION */,
  2868. loc,
  2869. callee,
  2870. arguments: args
  2871. };
  2872. }
  2873. function createFunctionExpression(params, returns = undefined, newline = false, isSlot = false, loc = locStub) {
  2874. return {
  2875. type: 18 /* JS_FUNCTION_EXPRESSION */,
  2876. params,
  2877. returns,
  2878. newline,
  2879. isSlot,
  2880. loc
  2881. };
  2882. }
  2883. function createConditionalExpression(test, consequent, alternate, newline = true) {
  2884. return {
  2885. type: 19 /* JS_CONDITIONAL_EXPRESSION */,
  2886. test,
  2887. consequent,
  2888. alternate,
  2889. newline,
  2890. loc: locStub
  2891. };
  2892. }
  2893. function createCacheExpression(index, value, isVNode = false) {
  2894. return {
  2895. type: 20 /* JS_CACHE_EXPRESSION */,
  2896. index,
  2897. value,
  2898. isVNode,
  2899. loc: locStub
  2900. };
  2901. }
  2902. function createBlockStatement(body) {
  2903. return {
  2904. type: 21 /* JS_BLOCK_STATEMENT */,
  2905. body,
  2906. loc: locStub
  2907. };
  2908. }
  2909. function createTemplateLiteral(elements) {
  2910. return {
  2911. type: 22 /* JS_TEMPLATE_LITERAL */,
  2912. elements,
  2913. loc: locStub
  2914. };
  2915. }
  2916. function createIfStatement(test, consequent, alternate) {
  2917. return {
  2918. type: 23 /* JS_IF_STATEMENT */,
  2919. test,
  2920. consequent,
  2921. alternate,
  2922. loc: locStub
  2923. };
  2924. }
  2925. function createAssignmentExpression(left, right) {
  2926. return {
  2927. type: 24 /* JS_ASSIGNMENT_EXPRESSION */,
  2928. left,
  2929. right,
  2930. loc: locStub
  2931. };
  2932. }
  2933. function createSequenceExpression(expressions) {
  2934. return {
  2935. type: 25 /* JS_SEQUENCE_EXPRESSION */,
  2936. expressions,
  2937. loc: locStub
  2938. };
  2939. }
  2940. function createReturnStatement(returns) {
  2941. return {
  2942. type: 26 /* JS_RETURN_STATEMENT */,
  2943. returns,
  2944. loc: locStub
  2945. };
  2946. }
  2947. const isStaticExp = (p) => p.type === 4 /* SIMPLE_EXPRESSION */ && p.isStatic;
  2948. const isBuiltInType = (tag, expected) => tag === expected || tag === (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.hyphenate)(expected);
  2949. function isCoreComponent(tag) {
  2950. if (isBuiltInType(tag, 'Teleport')) {
  2951. return TELEPORT;
  2952. }
  2953. else if (isBuiltInType(tag, 'Suspense')) {
  2954. return SUSPENSE;
  2955. }
  2956. else if (isBuiltInType(tag, 'KeepAlive')) {
  2957. return KEEP_ALIVE;
  2958. }
  2959. else if (isBuiltInType(tag, 'BaseTransition')) {
  2960. return BASE_TRANSITION;
  2961. }
  2962. }
  2963. const nonIdentifierRE = /^\d|[^\$\w]/;
  2964. const isSimpleIdentifier = (name) => !nonIdentifierRE.test(name);
  2965. const validFirstIdentCharRE = /[A-Za-z_$\xA0-\uFFFF]/;
  2966. const validIdentCharRE = /[\.\?\w$\xA0-\uFFFF]/;
  2967. const whitespaceRE = /\s+[.[]\s*|\s*[.[]\s+/g;
  2968. /**
  2969. * Simple lexer to check if an expression is a member expression. This is
  2970. * lax and only checks validity at the root level (i.e. does not validate exps
  2971. * inside square brackets), but it's ok since these are only used on template
  2972. * expressions and false positives are invalid expressions in the first place.
  2973. */
  2974. const isMemberExpressionBrowser = (path) => {
  2975. // remove whitespaces around . or [ first
  2976. path = path.trim().replace(whitespaceRE, s => s.trim());
  2977. let state = 0 /* inMemberExp */;
  2978. let stateStack = [];
  2979. let currentOpenBracketCount = 0;
  2980. let currentOpenParensCount = 0;
  2981. let currentStringType = null;
  2982. for (let i = 0; i < path.length; i++) {
  2983. const char = path.charAt(i);
  2984. switch (state) {
  2985. case 0 /* inMemberExp */:
  2986. if (char === '[') {
  2987. stateStack.push(state);
  2988. state = 1 /* inBrackets */;
  2989. currentOpenBracketCount++;
  2990. }
  2991. else if (char === '(') {
  2992. stateStack.push(state);
  2993. state = 2 /* inParens */;
  2994. currentOpenParensCount++;
  2995. }
  2996. else if (!(i === 0 ? validFirstIdentCharRE : validIdentCharRE).test(char)) {
  2997. return false;
  2998. }
  2999. break;
  3000. case 1 /* inBrackets */:
  3001. if (char === `'` || char === `"` || char === '`') {
  3002. stateStack.push(state);
  3003. state = 3 /* inString */;
  3004. currentStringType = char;
  3005. }
  3006. else if (char === `[`) {
  3007. currentOpenBracketCount++;
  3008. }
  3009. else if (char === `]`) {
  3010. if (!--currentOpenBracketCount) {
  3011. state = stateStack.pop();
  3012. }
  3013. }
  3014. break;
  3015. case 2 /* inParens */:
  3016. if (char === `'` || char === `"` || char === '`') {
  3017. stateStack.push(state);
  3018. state = 3 /* inString */;
  3019. currentStringType = char;
  3020. }
  3021. else if (char === `(`) {
  3022. currentOpenParensCount++;
  3023. }
  3024. else if (char === `)`) {
  3025. // if the exp ends as a call then it should not be considered valid
  3026. if (i === path.length - 1) {
  3027. return false;
  3028. }
  3029. if (!--currentOpenParensCount) {
  3030. state = stateStack.pop();
  3031. }
  3032. }
  3033. break;
  3034. case 3 /* inString */:
  3035. if (char === currentStringType) {
  3036. state = stateStack.pop();
  3037. currentStringType = null;
  3038. }
  3039. break;
  3040. }
  3041. }
  3042. return !currentOpenBracketCount && !currentOpenParensCount;
  3043. };
  3044. const isMemberExpressionNode = _vue_shared__WEBPACK_IMPORTED_MODULE_0__.NOOP
  3045. ;
  3046. const isMemberExpression = isMemberExpressionBrowser
  3047. ;
  3048. function getInnerRange(loc, offset, length) {
  3049. const source = loc.source.slice(offset, offset + length);
  3050. const newLoc = {
  3051. source,
  3052. start: advancePositionWithClone(loc.start, loc.source, offset),
  3053. end: loc.end
  3054. };
  3055. if (length != null) {
  3056. newLoc.end = advancePositionWithClone(loc.start, loc.source, offset + length);
  3057. }
  3058. return newLoc;
  3059. }
  3060. function advancePositionWithClone(pos, source, numberOfCharacters = source.length) {
  3061. return advancePositionWithMutation((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.extend)({}, pos), source, numberOfCharacters);
  3062. }
  3063. // advance by mutation without cloning (for performance reasons), since this
  3064. // gets called a lot in the parser
  3065. function advancePositionWithMutation(pos, source, numberOfCharacters = source.length) {
  3066. let linesCount = 0;
  3067. let lastNewLinePos = -1;
  3068. for (let i = 0; i < numberOfCharacters; i++) {
  3069. if (source.charCodeAt(i) === 10 /* newline char code */) {
  3070. linesCount++;
  3071. lastNewLinePos = i;
  3072. }
  3073. }
  3074. pos.offset += numberOfCharacters;
  3075. pos.line += linesCount;
  3076. pos.column =
  3077. lastNewLinePos === -1
  3078. ? pos.column + numberOfCharacters
  3079. : numberOfCharacters - lastNewLinePos;
  3080. return pos;
  3081. }
  3082. function assert(condition, msg) {
  3083. /* istanbul ignore if */
  3084. if (!condition) {
  3085. throw new Error(msg || `unexpected compiler condition`);
  3086. }
  3087. }
  3088. function findDir(node, name, allowEmpty = false) {
  3089. for (let i = 0; i < node.props.length; i++) {
  3090. const p = node.props[i];
  3091. if (p.type === 7 /* DIRECTIVE */ &&
  3092. (allowEmpty || p.exp) &&
  3093. ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(name) ? p.name === name : name.test(p.name))) {
  3094. return p;
  3095. }
  3096. }
  3097. }
  3098. function findProp(node, name, dynamicOnly = false, allowEmpty = false) {
  3099. for (let i = 0; i < node.props.length; i++) {
  3100. const p = node.props[i];
  3101. if (p.type === 6 /* ATTRIBUTE */) {
  3102. if (dynamicOnly)
  3103. continue;
  3104. if (p.name === name && (p.value || allowEmpty)) {
  3105. return p;
  3106. }
  3107. }
  3108. else if (p.name === 'bind' &&
  3109. (p.exp || allowEmpty) &&
  3110. isStaticArgOf(p.arg, name)) {
  3111. return p;
  3112. }
  3113. }
  3114. }
  3115. function isStaticArgOf(arg, name) {
  3116. return !!(arg && isStaticExp(arg) && arg.content === name);
  3117. }
  3118. function hasDynamicKeyVBind(node) {
  3119. return node.props.some(p => p.type === 7 /* DIRECTIVE */ &&
  3120. p.name === 'bind' &&
  3121. (!p.arg || // v-bind="obj"
  3122. p.arg.type !== 4 /* SIMPLE_EXPRESSION */ || // v-bind:[_ctx.foo]
  3123. !p.arg.isStatic) // v-bind:[foo]
  3124. );
  3125. }
  3126. function isText(node) {
  3127. return node.type === 5 /* INTERPOLATION */ || node.type === 2 /* TEXT */;
  3128. }
  3129. function isVSlot(p) {
  3130. return p.type === 7 /* DIRECTIVE */ && p.name === 'slot';
  3131. }
  3132. function isTemplateNode(node) {
  3133. return (node.type === 1 /* ELEMENT */ && node.tagType === 3 /* TEMPLATE */);
  3134. }
  3135. function isSlotOutlet(node) {
  3136. return node.type === 1 /* ELEMENT */ && node.tagType === 2 /* SLOT */;
  3137. }
  3138. function getVNodeHelper(ssr, isComponent) {
  3139. return ssr || isComponent ? CREATE_VNODE : CREATE_ELEMENT_VNODE;
  3140. }
  3141. function getVNodeBlockHelper(ssr, isComponent) {
  3142. return ssr || isComponent ? CREATE_BLOCK : CREATE_ELEMENT_BLOCK;
  3143. }
  3144. const propsHelperSet = new Set([NORMALIZE_PROPS, GUARD_REACTIVE_PROPS]);
  3145. function getUnnormalizedProps(props, callPath = []) {
  3146. if (props &&
  3147. !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(props) &&
  3148. props.type === 14 /* JS_CALL_EXPRESSION */) {
  3149. const callee = props.callee;
  3150. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(callee) && propsHelperSet.has(callee)) {
  3151. return getUnnormalizedProps(props.arguments[0], callPath.concat(props));
  3152. }
  3153. }
  3154. return [props, callPath];
  3155. }
  3156. function injectProp(node, prop, context) {
  3157. let propsWithInjection;
  3158. /**
  3159. * 1. mergeProps(...)
  3160. * 2. toHandlers(...)
  3161. * 3. normalizeProps(...)
  3162. * 4. normalizeProps(guardReactiveProps(...))
  3163. *
  3164. * we need to get the real props before normalization
  3165. */
  3166. let props = node.type === 13 /* VNODE_CALL */ ? node.props : node.arguments[2];
  3167. let callPath = [];
  3168. let parentCall;
  3169. if (props &&
  3170. !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(props) &&
  3171. props.type === 14 /* JS_CALL_EXPRESSION */) {
  3172. const ret = getUnnormalizedProps(props);
  3173. props = ret[0];
  3174. callPath = ret[1];
  3175. parentCall = callPath[callPath.length - 1];
  3176. }
  3177. if (props == null || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(props)) {
  3178. propsWithInjection = createObjectExpression([prop]);
  3179. }
  3180. else if (props.type === 14 /* JS_CALL_EXPRESSION */) {
  3181. // merged props... add ours
  3182. // only inject key to object literal if it's the first argument so that
  3183. // if doesn't override user provided keys
  3184. const first = props.arguments[0];
  3185. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(first) && first.type === 15 /* JS_OBJECT_EXPRESSION */) {
  3186. first.properties.unshift(prop);
  3187. }
  3188. else {
  3189. if (props.callee === TO_HANDLERS) {
  3190. // #2366
  3191. propsWithInjection = createCallExpression(context.helper(MERGE_PROPS), [
  3192. createObjectExpression([prop]),
  3193. props
  3194. ]);
  3195. }
  3196. else {
  3197. props.arguments.unshift(createObjectExpression([prop]));
  3198. }
  3199. }
  3200. !propsWithInjection && (propsWithInjection = props);
  3201. }
  3202. else if (props.type === 15 /* JS_OBJECT_EXPRESSION */) {
  3203. let alreadyExists = false;
  3204. // check existing key to avoid overriding user provided keys
  3205. if (prop.key.type === 4 /* SIMPLE_EXPRESSION */) {
  3206. const propKeyName = prop.key.content;
  3207. alreadyExists = props.properties.some(p => p.key.type === 4 /* SIMPLE_EXPRESSION */ &&
  3208. p.key.content === propKeyName);
  3209. }
  3210. if (!alreadyExists) {
  3211. props.properties.unshift(prop);
  3212. }
  3213. propsWithInjection = props;
  3214. }
  3215. else {
  3216. // single v-bind with expression, return a merged replacement
  3217. propsWithInjection = createCallExpression(context.helper(MERGE_PROPS), [
  3218. createObjectExpression([prop]),
  3219. props
  3220. ]);
  3221. // in the case of nested helper call, e.g. `normalizeProps(guardReactiveProps(props))`,
  3222. // it will be rewritten as `normalizeProps(mergeProps({ key: 0 }, props))`,
  3223. // the `guardReactiveProps` will no longer be needed
  3224. if (parentCall && parentCall.callee === GUARD_REACTIVE_PROPS) {
  3225. parentCall = callPath[callPath.length - 2];
  3226. }
  3227. }
  3228. if (node.type === 13 /* VNODE_CALL */) {
  3229. if (parentCall) {
  3230. parentCall.arguments[0] = propsWithInjection;
  3231. }
  3232. else {
  3233. node.props = propsWithInjection;
  3234. }
  3235. }
  3236. else {
  3237. if (parentCall) {
  3238. parentCall.arguments[0] = propsWithInjection;
  3239. }
  3240. else {
  3241. node.arguments[2] = propsWithInjection;
  3242. }
  3243. }
  3244. }
  3245. function toValidAssetId(name, type) {
  3246. // see issue#4422, we need adding identifier on validAssetId if variable `name` has specific character
  3247. return `_${type}_${name.replace(/[^\w]/g, (searchValue, replaceValue) => {
  3248. return searchValue === '-' ? '_' : name.charCodeAt(replaceValue).toString();
  3249. })}`;
  3250. }
  3251. // Check if a node contains expressions that reference current context scope ids
  3252. function hasScopeRef(node, ids) {
  3253. if (!node || Object.keys(ids).length === 0) {
  3254. return false;
  3255. }
  3256. switch (node.type) {
  3257. case 1 /* ELEMENT */:
  3258. for (let i = 0; i < node.props.length; i++) {
  3259. const p = node.props[i];
  3260. if (p.type === 7 /* DIRECTIVE */ &&
  3261. (hasScopeRef(p.arg, ids) || hasScopeRef(p.exp, ids))) {
  3262. return true;
  3263. }
  3264. }
  3265. return node.children.some(c => hasScopeRef(c, ids));
  3266. case 11 /* FOR */:
  3267. if (hasScopeRef(node.source, ids)) {
  3268. return true;
  3269. }
  3270. return node.children.some(c => hasScopeRef(c, ids));
  3271. case 9 /* IF */:
  3272. return node.branches.some(b => hasScopeRef(b, ids));
  3273. case 10 /* IF_BRANCH */:
  3274. if (hasScopeRef(node.condition, ids)) {
  3275. return true;
  3276. }
  3277. return node.children.some(c => hasScopeRef(c, ids));
  3278. case 4 /* SIMPLE_EXPRESSION */:
  3279. return (!node.isStatic &&
  3280. isSimpleIdentifier(node.content) &&
  3281. !!ids[node.content]);
  3282. case 8 /* COMPOUND_EXPRESSION */:
  3283. return node.children.some(c => (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isObject)(c) && hasScopeRef(c, ids));
  3284. case 5 /* INTERPOLATION */:
  3285. case 12 /* TEXT_CALL */:
  3286. return hasScopeRef(node.content, ids);
  3287. case 2 /* TEXT */:
  3288. case 3 /* COMMENT */:
  3289. return false;
  3290. default:
  3291. if ((true)) ;
  3292. return false;
  3293. }
  3294. }
  3295. function getMemoedVNodeCall(node) {
  3296. if (node.type === 14 /* JS_CALL_EXPRESSION */ && node.callee === WITH_MEMO) {
  3297. return node.arguments[1].returns;
  3298. }
  3299. else {
  3300. return node;
  3301. }
  3302. }
  3303. function makeBlock(node, { helper, removeHelper, inSSR }) {
  3304. if (!node.isBlock) {
  3305. node.isBlock = true;
  3306. removeHelper(getVNodeHelper(inSSR, node.isComponent));
  3307. helper(OPEN_BLOCK);
  3308. helper(getVNodeBlockHelper(inSSR, node.isComponent));
  3309. }
  3310. }
  3311. const deprecationData = {
  3312. ["COMPILER_IS_ON_ELEMENT" /* COMPILER_IS_ON_ELEMENT */]: {
  3313. message: `Platform-native elements with "is" prop will no longer be ` +
  3314. `treated as components in Vue 3 unless the "is" value is explicitly ` +
  3315. `prefixed with "vue:".`,
  3316. link: `https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html`
  3317. },
  3318. ["COMPILER_V_BIND_SYNC" /* COMPILER_V_BIND_SYNC */]: {
  3319. message: key => `.sync modifier for v-bind has been removed. Use v-model with ` +
  3320. `argument instead. \`v-bind:${key}.sync\` should be changed to ` +
  3321. `\`v-model:${key}\`.`,
  3322. link: `https://v3-migration.vuejs.org/breaking-changes/v-model.html`
  3323. },
  3324. ["COMPILER_V_BIND_PROP" /* COMPILER_V_BIND_PROP */]: {
  3325. message: `.prop modifier for v-bind has been removed and no longer necessary. ` +
  3326. `Vue 3 will automatically set a binding as DOM property when appropriate.`
  3327. },
  3328. ["COMPILER_V_BIND_OBJECT_ORDER" /* COMPILER_V_BIND_OBJECT_ORDER */]: {
  3329. message: `v-bind="obj" usage is now order sensitive and behaves like JavaScript ` +
  3330. `object spread: it will now overwrite an existing non-mergeable attribute ` +
  3331. `that appears before v-bind in the case of conflict. ` +
  3332. `To retain 2.x behavior, move v-bind to make it the first attribute. ` +
  3333. `You can also suppress this warning if the usage is intended.`,
  3334. link: `https://v3-migration.vuejs.org/breaking-changes/v-bind.html`
  3335. },
  3336. ["COMPILER_V_ON_NATIVE" /* COMPILER_V_ON_NATIVE */]: {
  3337. message: `.native modifier for v-on has been removed as is no longer necessary.`,
  3338. link: `https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html`
  3339. },
  3340. ["COMPILER_V_IF_V_FOR_PRECEDENCE" /* COMPILER_V_IF_V_FOR_PRECEDENCE */]: {
  3341. message: `v-if / v-for precedence when used on the same element has changed ` +
  3342. `in Vue 3: v-if now takes higher precedence and will no longer have ` +
  3343. `access to v-for scope variables. It is best to avoid the ambiguity ` +
  3344. `with <template> tags or use a computed property that filters v-for ` +
  3345. `data source.`,
  3346. link: `https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html`
  3347. },
  3348. ["COMPILER_NATIVE_TEMPLATE" /* COMPILER_NATIVE_TEMPLATE */]: {
  3349. message: `<template> with no special directives will render as a native template ` +
  3350. `element instead of its inner content in Vue 3.`
  3351. },
  3352. ["COMPILER_INLINE_TEMPLATE" /* COMPILER_INLINE_TEMPLATE */]: {
  3353. message: `"inline-template" has been removed in Vue 3.`,
  3354. link: `https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html`
  3355. },
  3356. ["COMPILER_FILTER" /* COMPILER_FILTERS */]: {
  3357. message: `filters have been removed in Vue 3. ` +
  3358. `The "|" symbol will be treated as native JavaScript bitwise OR operator. ` +
  3359. `Use method calls or computed properties instead.`,
  3360. link: `https://v3-migration.vuejs.org/breaking-changes/filters.html`
  3361. }
  3362. };
  3363. function getCompatValue(key, context) {
  3364. const config = context.options
  3365. ? context.options.compatConfig
  3366. : context.compatConfig;
  3367. const value = config && config[key];
  3368. if (key === 'MODE') {
  3369. return value || 3; // compiler defaults to v3 behavior
  3370. }
  3371. else {
  3372. return value;
  3373. }
  3374. }
  3375. function isCompatEnabled(key, context) {
  3376. const mode = getCompatValue('MODE', context);
  3377. const value = getCompatValue(key, context);
  3378. // in v3 mode, only enable if explicitly set to true
  3379. // otherwise enable for any non-false value
  3380. return mode === 3 ? value === true : value !== false;
  3381. }
  3382. function checkCompatEnabled(key, context, loc, ...args) {
  3383. const enabled = isCompatEnabled(key, context);
  3384. if (( true) && enabled) {
  3385. warnDeprecation(key, context, loc, ...args);
  3386. }
  3387. return enabled;
  3388. }
  3389. function warnDeprecation(key, context, loc, ...args) {
  3390. const val = getCompatValue(key, context);
  3391. if (val === 'suppress-warning') {
  3392. return;
  3393. }
  3394. const { message, link } = deprecationData[key];
  3395. const msg = `(deprecation ${key}) ${typeof message === 'function' ? message(...args) : message}${link ? `\n Details: ${link}` : ``}`;
  3396. const err = new SyntaxError(msg);
  3397. err.code = key;
  3398. if (loc)
  3399. err.loc = loc;
  3400. context.onWarn(err);
  3401. }
  3402. // The default decoder only provides escapes for characters reserved as part of
  3403. // the template syntax, and is only used if the custom renderer did not provide
  3404. // a platform-specific decoder.
  3405. const decodeRE = /&(gt|lt|amp|apos|quot);/g;
  3406. const decodeMap = {
  3407. gt: '>',
  3408. lt: '<',
  3409. amp: '&',
  3410. apos: "'",
  3411. quot: '"'
  3412. };
  3413. const defaultParserOptions = {
  3414. delimiters: [`{{`, `}}`],
  3415. getNamespace: () => 0 /* HTML */,
  3416. getTextMode: () => 0 /* DATA */,
  3417. isVoidTag: _vue_shared__WEBPACK_IMPORTED_MODULE_0__.NO,
  3418. isPreTag: _vue_shared__WEBPACK_IMPORTED_MODULE_0__.NO,
  3419. isCustomElement: _vue_shared__WEBPACK_IMPORTED_MODULE_0__.NO,
  3420. decodeEntities: (rawText) => rawText.replace(decodeRE, (_, p1) => decodeMap[p1]),
  3421. onError: defaultOnError,
  3422. onWarn: defaultOnWarn,
  3423. comments: ("development" !== 'production')
  3424. };
  3425. function baseParse(content, options = {}) {
  3426. const context = createParserContext(content, options);
  3427. const start = getCursor(context);
  3428. return createRoot(parseChildren(context, 0 /* DATA */, []), getSelection(context, start));
  3429. }
  3430. function createParserContext(content, rawOptions) {
  3431. const options = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.extend)({}, defaultParserOptions);
  3432. let key;
  3433. for (key in rawOptions) {
  3434. // @ts-ignore
  3435. options[key] =
  3436. rawOptions[key] === undefined
  3437. ? defaultParserOptions[key]
  3438. : rawOptions[key];
  3439. }
  3440. return {
  3441. options,
  3442. column: 1,
  3443. line: 1,
  3444. offset: 0,
  3445. originalSource: content,
  3446. source: content,
  3447. inPre: false,
  3448. inVPre: false,
  3449. onWarn: options.onWarn
  3450. };
  3451. }
  3452. function parseChildren(context, mode, ancestors) {
  3453. const parent = last(ancestors);
  3454. const ns = parent ? parent.ns : 0 /* HTML */;
  3455. const nodes = [];
  3456. while (!isEnd(context, mode, ancestors)) {
  3457. const s = context.source;
  3458. let node = undefined;
  3459. if (mode === 0 /* DATA */ || mode === 1 /* RCDATA */) {
  3460. if (!context.inVPre && startsWith(s, context.options.delimiters[0])) {
  3461. // '{{'
  3462. node = parseInterpolation(context, mode);
  3463. }
  3464. else if (mode === 0 /* DATA */ && s[0] === '<') {
  3465. // https://html.spec.whatwg.org/multipage/parsing.html#tag-open-state
  3466. if (s.length === 1) {
  3467. emitError(context, 5 /* EOF_BEFORE_TAG_NAME */, 1);
  3468. }
  3469. else if (s[1] === '!') {
  3470. // https://html.spec.whatwg.org/multipage/parsing.html#markup-declaration-open-state
  3471. if (startsWith(s, '<!--')) {
  3472. node = parseComment(context);
  3473. }
  3474. else if (startsWith(s, '<!DOCTYPE')) {
  3475. // Ignore DOCTYPE by a limitation.
  3476. node = parseBogusComment(context);
  3477. }
  3478. else if (startsWith(s, '<![CDATA[')) {
  3479. if (ns !== 0 /* HTML */) {
  3480. node = parseCDATA(context, ancestors);
  3481. }
  3482. else {
  3483. emitError(context, 1 /* CDATA_IN_HTML_CONTENT */);
  3484. node = parseBogusComment(context);
  3485. }
  3486. }
  3487. else {
  3488. emitError(context, 11 /* INCORRECTLY_OPENED_COMMENT */);
  3489. node = parseBogusComment(context);
  3490. }
  3491. }
  3492. else if (s[1] === '/') {
  3493. // https://html.spec.whatwg.org/multipage/parsing.html#end-tag-open-state
  3494. if (s.length === 2) {
  3495. emitError(context, 5 /* EOF_BEFORE_TAG_NAME */, 2);
  3496. }
  3497. else if (s[2] === '>') {
  3498. emitError(context, 14 /* MISSING_END_TAG_NAME */, 2);
  3499. advanceBy(context, 3);
  3500. continue;
  3501. }
  3502. else if (/[a-z]/i.test(s[2])) {
  3503. emitError(context, 23 /* X_INVALID_END_TAG */);
  3504. parseTag(context, 1 /* End */, parent);
  3505. continue;
  3506. }
  3507. else {
  3508. emitError(context, 12 /* INVALID_FIRST_CHARACTER_OF_TAG_NAME */, 2);
  3509. node = parseBogusComment(context);
  3510. }
  3511. }
  3512. else if (/[a-z]/i.test(s[1])) {
  3513. node = parseElement(context, ancestors);
  3514. // 2.x <template> with no directive compat
  3515. if (isCompatEnabled("COMPILER_NATIVE_TEMPLATE" /* COMPILER_NATIVE_TEMPLATE */, context) &&
  3516. node &&
  3517. node.tag === 'template' &&
  3518. !node.props.some(p => p.type === 7 /* DIRECTIVE */ &&
  3519. isSpecialTemplateDirective(p.name))) {
  3520. ( true) &&
  3521. warnDeprecation("COMPILER_NATIVE_TEMPLATE" /* COMPILER_NATIVE_TEMPLATE */, context, node.loc);
  3522. node = node.children;
  3523. }
  3524. }
  3525. else if (s[1] === '?') {
  3526. emitError(context, 21 /* UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME */, 1);
  3527. node = parseBogusComment(context);
  3528. }
  3529. else {
  3530. emitError(context, 12 /* INVALID_FIRST_CHARACTER_OF_TAG_NAME */, 1);
  3531. }
  3532. }
  3533. }
  3534. if (!node) {
  3535. node = parseText(context, mode);
  3536. }
  3537. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isArray)(node)) {
  3538. for (let i = 0; i < node.length; i++) {
  3539. pushNode(nodes, node[i]);
  3540. }
  3541. }
  3542. else {
  3543. pushNode(nodes, node);
  3544. }
  3545. }
  3546. // Whitespace handling strategy like v2
  3547. let removedWhitespace = false;
  3548. if (mode !== 2 /* RAWTEXT */ && mode !== 1 /* RCDATA */) {
  3549. const shouldCondense = context.options.whitespace !== 'preserve';
  3550. for (let i = 0; i < nodes.length; i++) {
  3551. const node = nodes[i];
  3552. if (!context.inPre && node.type === 2 /* TEXT */) {
  3553. if (!/[^\t\r\n\f ]/.test(node.content)) {
  3554. const prev = nodes[i - 1];
  3555. const next = nodes[i + 1];
  3556. // Remove if:
  3557. // - the whitespace is the first or last node, or:
  3558. // - (condense mode) the whitespace is adjacent to a comment, or:
  3559. // - (condense mode) the whitespace is between two elements AND contains newline
  3560. if (!prev ||
  3561. !next ||
  3562. (shouldCondense &&
  3563. (prev.type === 3 /* COMMENT */ ||
  3564. next.type === 3 /* COMMENT */ ||
  3565. (prev.type === 1 /* ELEMENT */ &&
  3566. next.type === 1 /* ELEMENT */ &&
  3567. /[\r\n]/.test(node.content))))) {
  3568. removedWhitespace = true;
  3569. nodes[i] = null;
  3570. }
  3571. else {
  3572. // Otherwise, the whitespace is condensed into a single space
  3573. node.content = ' ';
  3574. }
  3575. }
  3576. else if (shouldCondense) {
  3577. // in condense mode, consecutive whitespaces in text are condensed
  3578. // down to a single space.
  3579. node.content = node.content.replace(/[\t\r\n\f ]+/g, ' ');
  3580. }
  3581. }
  3582. // Remove comment nodes if desired by configuration.
  3583. else if (node.type === 3 /* COMMENT */ && !context.options.comments) {
  3584. removedWhitespace = true;
  3585. nodes[i] = null;
  3586. }
  3587. }
  3588. if (context.inPre && parent && context.options.isPreTag(parent.tag)) {
  3589. // remove leading newline per html spec
  3590. // https://html.spec.whatwg.org/multipage/grouping-content.html#the-pre-element
  3591. const first = nodes[0];
  3592. if (first && first.type === 2 /* TEXT */) {
  3593. first.content = first.content.replace(/^\r?\n/, '');
  3594. }
  3595. }
  3596. }
  3597. return removedWhitespace ? nodes.filter(Boolean) : nodes;
  3598. }
  3599. function pushNode(nodes, node) {
  3600. if (node.type === 2 /* TEXT */) {
  3601. const prev = last(nodes);
  3602. // Merge if both this and the previous node are text and those are
  3603. // consecutive. This happens for cases like "a < b".
  3604. if (prev &&
  3605. prev.type === 2 /* TEXT */ &&
  3606. prev.loc.end.offset === node.loc.start.offset) {
  3607. prev.content += node.content;
  3608. prev.loc.end = node.loc.end;
  3609. prev.loc.source += node.loc.source;
  3610. return;
  3611. }
  3612. }
  3613. nodes.push(node);
  3614. }
  3615. function parseCDATA(context, ancestors) {
  3616. advanceBy(context, 9);
  3617. const nodes = parseChildren(context, 3 /* CDATA */, ancestors);
  3618. if (context.source.length === 0) {
  3619. emitError(context, 6 /* EOF_IN_CDATA */);
  3620. }
  3621. else {
  3622. advanceBy(context, 3);
  3623. }
  3624. return nodes;
  3625. }
  3626. function parseComment(context) {
  3627. const start = getCursor(context);
  3628. let content;
  3629. // Regular comment.
  3630. const match = /--(\!)?>/.exec(context.source);
  3631. if (!match) {
  3632. content = context.source.slice(4);
  3633. advanceBy(context, context.source.length);
  3634. emitError(context, 7 /* EOF_IN_COMMENT */);
  3635. }
  3636. else {
  3637. if (match.index <= 3) {
  3638. emitError(context, 0 /* ABRUPT_CLOSING_OF_EMPTY_COMMENT */);
  3639. }
  3640. if (match[1]) {
  3641. emitError(context, 10 /* INCORRECTLY_CLOSED_COMMENT */);
  3642. }
  3643. content = context.source.slice(4, match.index);
  3644. // Advancing with reporting nested comments.
  3645. const s = context.source.slice(0, match.index);
  3646. let prevIndex = 1, nestedIndex = 0;
  3647. while ((nestedIndex = s.indexOf('<!--', prevIndex)) !== -1) {
  3648. advanceBy(context, nestedIndex - prevIndex + 1);
  3649. if (nestedIndex + 4 < s.length) {
  3650. emitError(context, 16 /* NESTED_COMMENT */);
  3651. }
  3652. prevIndex = nestedIndex + 1;
  3653. }
  3654. advanceBy(context, match.index + match[0].length - prevIndex + 1);
  3655. }
  3656. return {
  3657. type: 3 /* COMMENT */,
  3658. content,
  3659. loc: getSelection(context, start)
  3660. };
  3661. }
  3662. function parseBogusComment(context) {
  3663. const start = getCursor(context);
  3664. const contentStart = context.source[1] === '?' ? 1 : 2;
  3665. let content;
  3666. const closeIndex = context.source.indexOf('>');
  3667. if (closeIndex === -1) {
  3668. content = context.source.slice(contentStart);
  3669. advanceBy(context, context.source.length);
  3670. }
  3671. else {
  3672. content = context.source.slice(contentStart, closeIndex);
  3673. advanceBy(context, closeIndex + 1);
  3674. }
  3675. return {
  3676. type: 3 /* COMMENT */,
  3677. content,
  3678. loc: getSelection(context, start)
  3679. };
  3680. }
  3681. function parseElement(context, ancestors) {
  3682. // Start tag.
  3683. const wasInPre = context.inPre;
  3684. const wasInVPre = context.inVPre;
  3685. const parent = last(ancestors);
  3686. const element = parseTag(context, 0 /* Start */, parent);
  3687. const isPreBoundary = context.inPre && !wasInPre;
  3688. const isVPreBoundary = context.inVPre && !wasInVPre;
  3689. if (element.isSelfClosing || context.options.isVoidTag(element.tag)) {
  3690. // #4030 self-closing <pre> tag
  3691. if (isPreBoundary) {
  3692. context.inPre = false;
  3693. }
  3694. if (isVPreBoundary) {
  3695. context.inVPre = false;
  3696. }
  3697. return element;
  3698. }
  3699. // Children.
  3700. ancestors.push(element);
  3701. const mode = context.options.getTextMode(element, parent);
  3702. const children = parseChildren(context, mode, ancestors);
  3703. ancestors.pop();
  3704. // 2.x inline-template compat
  3705. {
  3706. const inlineTemplateProp = element.props.find(p => p.type === 6 /* ATTRIBUTE */ && p.name === 'inline-template');
  3707. if (inlineTemplateProp &&
  3708. checkCompatEnabled("COMPILER_INLINE_TEMPLATE" /* COMPILER_INLINE_TEMPLATE */, context, inlineTemplateProp.loc)) {
  3709. const loc = getSelection(context, element.loc.end);
  3710. inlineTemplateProp.value = {
  3711. type: 2 /* TEXT */,
  3712. content: loc.source,
  3713. loc
  3714. };
  3715. }
  3716. }
  3717. element.children = children;
  3718. // End tag.
  3719. if (startsWithEndTagOpen(context.source, element.tag)) {
  3720. parseTag(context, 1 /* End */, parent);
  3721. }
  3722. else {
  3723. emitError(context, 24 /* X_MISSING_END_TAG */, 0, element.loc.start);
  3724. if (context.source.length === 0 && element.tag.toLowerCase() === 'script') {
  3725. const first = children[0];
  3726. if (first && startsWith(first.loc.source, '<!--')) {
  3727. emitError(context, 8 /* EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT */);
  3728. }
  3729. }
  3730. }
  3731. element.loc = getSelection(context, element.loc.start);
  3732. if (isPreBoundary) {
  3733. context.inPre = false;
  3734. }
  3735. if (isVPreBoundary) {
  3736. context.inVPre = false;
  3737. }
  3738. return element;
  3739. }
  3740. const isSpecialTemplateDirective = /*#__PURE__*/ (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.makeMap)(`if,else,else-if,for,slot`);
  3741. function parseTag(context, type, parent) {
  3742. // Tag open.
  3743. const start = getCursor(context);
  3744. const match = /^<\/?([a-z][^\t\r\n\f />]*)/i.exec(context.source);
  3745. const tag = match[1];
  3746. const ns = context.options.getNamespace(tag, parent);
  3747. advanceBy(context, match[0].length);
  3748. advanceSpaces(context);
  3749. // save current state in case we need to re-parse attributes with v-pre
  3750. const cursor = getCursor(context);
  3751. const currentSource = context.source;
  3752. // check <pre> tag
  3753. if (context.options.isPreTag(tag)) {
  3754. context.inPre = true;
  3755. }
  3756. // Attributes.
  3757. let props = parseAttributes(context, type);
  3758. // check v-pre
  3759. if (type === 0 /* Start */ &&
  3760. !context.inVPre &&
  3761. props.some(p => p.type === 7 /* DIRECTIVE */ && p.name === 'pre')) {
  3762. context.inVPre = true;
  3763. // reset context
  3764. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.extend)(context, cursor);
  3765. context.source = currentSource;
  3766. // re-parse attrs and filter out v-pre itself
  3767. props = parseAttributes(context, type).filter(p => p.name !== 'v-pre');
  3768. }
  3769. // Tag close.
  3770. let isSelfClosing = false;
  3771. if (context.source.length === 0) {
  3772. emitError(context, 9 /* EOF_IN_TAG */);
  3773. }
  3774. else {
  3775. isSelfClosing = startsWith(context.source, '/>');
  3776. if (type === 1 /* End */ && isSelfClosing) {
  3777. emitError(context, 4 /* END_TAG_WITH_TRAILING_SOLIDUS */);
  3778. }
  3779. advanceBy(context, isSelfClosing ? 2 : 1);
  3780. }
  3781. if (type === 1 /* End */) {
  3782. return;
  3783. }
  3784. // 2.x deprecation checks
  3785. if (( true) &&
  3786. isCompatEnabled("COMPILER_V_IF_V_FOR_PRECEDENCE" /* COMPILER_V_IF_V_FOR_PRECEDENCE */, context)) {
  3787. let hasIf = false;
  3788. let hasFor = false;
  3789. for (let i = 0; i < props.length; i++) {
  3790. const p = props[i];
  3791. if (p.type === 7 /* DIRECTIVE */) {
  3792. if (p.name === 'if') {
  3793. hasIf = true;
  3794. }
  3795. else if (p.name === 'for') {
  3796. hasFor = true;
  3797. }
  3798. }
  3799. if (hasIf && hasFor) {
  3800. warnDeprecation("COMPILER_V_IF_V_FOR_PRECEDENCE" /* COMPILER_V_IF_V_FOR_PRECEDENCE */, context, getSelection(context, start));
  3801. break;
  3802. }
  3803. }
  3804. }
  3805. let tagType = 0 /* ELEMENT */;
  3806. if (!context.inVPre) {
  3807. if (tag === 'slot') {
  3808. tagType = 2 /* SLOT */;
  3809. }
  3810. else if (tag === 'template') {
  3811. if (props.some(p => p.type === 7 /* DIRECTIVE */ && isSpecialTemplateDirective(p.name))) {
  3812. tagType = 3 /* TEMPLATE */;
  3813. }
  3814. }
  3815. else if (isComponent(tag, props, context)) {
  3816. tagType = 1 /* COMPONENT */;
  3817. }
  3818. }
  3819. return {
  3820. type: 1 /* ELEMENT */,
  3821. ns,
  3822. tag,
  3823. tagType,
  3824. props,
  3825. isSelfClosing,
  3826. children: [],
  3827. loc: getSelection(context, start),
  3828. codegenNode: undefined // to be created during transform phase
  3829. };
  3830. }
  3831. function isComponent(tag, props, context) {
  3832. const options = context.options;
  3833. if (options.isCustomElement(tag)) {
  3834. return false;
  3835. }
  3836. if (tag === 'component' ||
  3837. /^[A-Z]/.test(tag) ||
  3838. isCoreComponent(tag) ||
  3839. (options.isBuiltInComponent && options.isBuiltInComponent(tag)) ||
  3840. (options.isNativeTag && !options.isNativeTag(tag))) {
  3841. return true;
  3842. }
  3843. // at this point the tag should be a native tag, but check for potential "is"
  3844. // casting
  3845. for (let i = 0; i < props.length; i++) {
  3846. const p = props[i];
  3847. if (p.type === 6 /* ATTRIBUTE */) {
  3848. if (p.name === 'is' && p.value) {
  3849. if (p.value.content.startsWith('vue:')) {
  3850. return true;
  3851. }
  3852. else if (checkCompatEnabled("COMPILER_IS_ON_ELEMENT" /* COMPILER_IS_ON_ELEMENT */, context, p.loc)) {
  3853. return true;
  3854. }
  3855. }
  3856. }
  3857. else {
  3858. // directive
  3859. // v-is (TODO Deprecate)
  3860. if (p.name === 'is') {
  3861. return true;
  3862. }
  3863. else if (
  3864. // :is on plain element - only treat as component in compat mode
  3865. p.name === 'bind' &&
  3866. isStaticArgOf(p.arg, 'is') &&
  3867. true &&
  3868. checkCompatEnabled("COMPILER_IS_ON_ELEMENT" /* COMPILER_IS_ON_ELEMENT */, context, p.loc)) {
  3869. return true;
  3870. }
  3871. }
  3872. }
  3873. }
  3874. function parseAttributes(context, type) {
  3875. const props = [];
  3876. const attributeNames = new Set();
  3877. while (context.source.length > 0 &&
  3878. !startsWith(context.source, '>') &&
  3879. !startsWith(context.source, '/>')) {
  3880. if (startsWith(context.source, '/')) {
  3881. emitError(context, 22 /* UNEXPECTED_SOLIDUS_IN_TAG */);
  3882. advanceBy(context, 1);
  3883. advanceSpaces(context);
  3884. continue;
  3885. }
  3886. if (type === 1 /* End */) {
  3887. emitError(context, 3 /* END_TAG_WITH_ATTRIBUTES */);
  3888. }
  3889. const attr = parseAttribute(context, attributeNames);
  3890. // Trim whitespace between class
  3891. // https://github.com/vuejs/core/issues/4251
  3892. if (attr.type === 6 /* ATTRIBUTE */ &&
  3893. attr.value &&
  3894. attr.name === 'class') {
  3895. attr.value.content = attr.value.content.replace(/\s+/g, ' ').trim();
  3896. }
  3897. if (type === 0 /* Start */) {
  3898. props.push(attr);
  3899. }
  3900. if (/^[^\t\r\n\f />]/.test(context.source)) {
  3901. emitError(context, 15 /* MISSING_WHITESPACE_BETWEEN_ATTRIBUTES */);
  3902. }
  3903. advanceSpaces(context);
  3904. }
  3905. return props;
  3906. }
  3907. function parseAttribute(context, nameSet) {
  3908. // Name.
  3909. const start = getCursor(context);
  3910. const match = /^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(context.source);
  3911. const name = match[0];
  3912. if (nameSet.has(name)) {
  3913. emitError(context, 2 /* DUPLICATE_ATTRIBUTE */);
  3914. }
  3915. nameSet.add(name);
  3916. if (name[0] === '=') {
  3917. emitError(context, 19 /* UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME */);
  3918. }
  3919. {
  3920. const pattern = /["'<]/g;
  3921. let m;
  3922. while ((m = pattern.exec(name))) {
  3923. emitError(context, 17 /* UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME */, m.index);
  3924. }
  3925. }
  3926. advanceBy(context, name.length);
  3927. // Value
  3928. let value = undefined;
  3929. if (/^[\t\r\n\f ]*=/.test(context.source)) {
  3930. advanceSpaces(context);
  3931. advanceBy(context, 1);
  3932. advanceSpaces(context);
  3933. value = parseAttributeValue(context);
  3934. if (!value) {
  3935. emitError(context, 13 /* MISSING_ATTRIBUTE_VALUE */);
  3936. }
  3937. }
  3938. const loc = getSelection(context, start);
  3939. if (!context.inVPre && /^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(name)) {
  3940. const match = /(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(name);
  3941. let isPropShorthand = startsWith(name, '.');
  3942. let dirName = match[1] ||
  3943. (isPropShorthand || startsWith(name, ':')
  3944. ? 'bind'
  3945. : startsWith(name, '@')
  3946. ? 'on'
  3947. : 'slot');
  3948. let arg;
  3949. if (match[2]) {
  3950. const isSlot = dirName === 'slot';
  3951. const startOffset = name.lastIndexOf(match[2]);
  3952. const loc = getSelection(context, getNewPosition(context, start, startOffset), getNewPosition(context, start, startOffset + match[2].length + ((isSlot && match[3]) || '').length));
  3953. let content = match[2];
  3954. let isStatic = true;
  3955. if (content.startsWith('[')) {
  3956. isStatic = false;
  3957. if (!content.endsWith(']')) {
  3958. emitError(context, 27 /* X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END */);
  3959. content = content.slice(1);
  3960. }
  3961. else {
  3962. content = content.slice(1, content.length - 1);
  3963. }
  3964. }
  3965. else if (isSlot) {
  3966. // #1241 special case for v-slot: vuetify relies extensively on slot
  3967. // names containing dots. v-slot doesn't have any modifiers and Vue 2.x
  3968. // supports such usage so we are keeping it consistent with 2.x.
  3969. content += match[3] || '';
  3970. }
  3971. arg = {
  3972. type: 4 /* SIMPLE_EXPRESSION */,
  3973. content,
  3974. isStatic,
  3975. constType: isStatic
  3976. ? 3 /* CAN_STRINGIFY */
  3977. : 0 /* NOT_CONSTANT */,
  3978. loc
  3979. };
  3980. }
  3981. if (value && value.isQuoted) {
  3982. const valueLoc = value.loc;
  3983. valueLoc.start.offset++;
  3984. valueLoc.start.column++;
  3985. valueLoc.end = advancePositionWithClone(valueLoc.start, value.content);
  3986. valueLoc.source = valueLoc.source.slice(1, -1);
  3987. }
  3988. const modifiers = match[3] ? match[3].slice(1).split('.') : [];
  3989. if (isPropShorthand)
  3990. modifiers.push('prop');
  3991. // 2.x compat v-bind:foo.sync -> v-model:foo
  3992. if (dirName === 'bind' && arg) {
  3993. if (modifiers.includes('sync') &&
  3994. checkCompatEnabled("COMPILER_V_BIND_SYNC" /* COMPILER_V_BIND_SYNC */, context, loc, arg.loc.source)) {
  3995. dirName = 'model';
  3996. modifiers.splice(modifiers.indexOf('sync'), 1);
  3997. }
  3998. if (( true) && modifiers.includes('prop')) {
  3999. checkCompatEnabled("COMPILER_V_BIND_PROP" /* COMPILER_V_BIND_PROP */, context, loc);
  4000. }
  4001. }
  4002. return {
  4003. type: 7 /* DIRECTIVE */,
  4004. name: dirName,
  4005. exp: value && {
  4006. type: 4 /* SIMPLE_EXPRESSION */,
  4007. content: value.content,
  4008. isStatic: false,
  4009. // Treat as non-constant by default. This can be potentially set to
  4010. // other values by `transformExpression` to make it eligible for hoisting.
  4011. constType: 0 /* NOT_CONSTANT */,
  4012. loc: value.loc
  4013. },
  4014. arg,
  4015. modifiers,
  4016. loc
  4017. };
  4018. }
  4019. // missing directive name or illegal directive name
  4020. if (!context.inVPre && startsWith(name, 'v-')) {
  4021. emitError(context, 26 /* X_MISSING_DIRECTIVE_NAME */);
  4022. }
  4023. return {
  4024. type: 6 /* ATTRIBUTE */,
  4025. name,
  4026. value: value && {
  4027. type: 2 /* TEXT */,
  4028. content: value.content,
  4029. loc: value.loc
  4030. },
  4031. loc
  4032. };
  4033. }
  4034. function parseAttributeValue(context) {
  4035. const start = getCursor(context);
  4036. let content;
  4037. const quote = context.source[0];
  4038. const isQuoted = quote === `"` || quote === `'`;
  4039. if (isQuoted) {
  4040. // Quoted value.
  4041. advanceBy(context, 1);
  4042. const endIndex = context.source.indexOf(quote);
  4043. if (endIndex === -1) {
  4044. content = parseTextData(context, context.source.length, 4 /* ATTRIBUTE_VALUE */);
  4045. }
  4046. else {
  4047. content = parseTextData(context, endIndex, 4 /* ATTRIBUTE_VALUE */);
  4048. advanceBy(context, 1);
  4049. }
  4050. }
  4051. else {
  4052. // Unquoted
  4053. const match = /^[^\t\r\n\f >]+/.exec(context.source);
  4054. if (!match) {
  4055. return undefined;
  4056. }
  4057. const unexpectedChars = /["'<=`]/g;
  4058. let m;
  4059. while ((m = unexpectedChars.exec(match[0]))) {
  4060. emitError(context, 18 /* UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE */, m.index);
  4061. }
  4062. content = parseTextData(context, match[0].length, 4 /* ATTRIBUTE_VALUE */);
  4063. }
  4064. return { content, isQuoted, loc: getSelection(context, start) };
  4065. }
  4066. function parseInterpolation(context, mode) {
  4067. const [open, close] = context.options.delimiters;
  4068. const closeIndex = context.source.indexOf(close, open.length);
  4069. if (closeIndex === -1) {
  4070. emitError(context, 25 /* X_MISSING_INTERPOLATION_END */);
  4071. return undefined;
  4072. }
  4073. const start = getCursor(context);
  4074. advanceBy(context, open.length);
  4075. const innerStart = getCursor(context);
  4076. const innerEnd = getCursor(context);
  4077. const rawContentLength = closeIndex - open.length;
  4078. const rawContent = context.source.slice(0, rawContentLength);
  4079. const preTrimContent = parseTextData(context, rawContentLength, mode);
  4080. const content = preTrimContent.trim();
  4081. const startOffset = preTrimContent.indexOf(content);
  4082. if (startOffset > 0) {
  4083. advancePositionWithMutation(innerStart, rawContent, startOffset);
  4084. }
  4085. const endOffset = rawContentLength - (preTrimContent.length - content.length - startOffset);
  4086. advancePositionWithMutation(innerEnd, rawContent, endOffset);
  4087. advanceBy(context, close.length);
  4088. return {
  4089. type: 5 /* INTERPOLATION */,
  4090. content: {
  4091. type: 4 /* SIMPLE_EXPRESSION */,
  4092. isStatic: false,
  4093. // Set `isConstant` to false by default and will decide in transformExpression
  4094. constType: 0 /* NOT_CONSTANT */,
  4095. content,
  4096. loc: getSelection(context, innerStart, innerEnd)
  4097. },
  4098. loc: getSelection(context, start)
  4099. };
  4100. }
  4101. function parseText(context, mode) {
  4102. const endTokens = mode === 3 /* CDATA */ ? [']]>'] : ['<', context.options.delimiters[0]];
  4103. let endIndex = context.source.length;
  4104. for (let i = 0; i < endTokens.length; i++) {
  4105. const index = context.source.indexOf(endTokens[i], 1);
  4106. if (index !== -1 && endIndex > index) {
  4107. endIndex = index;
  4108. }
  4109. }
  4110. const start = getCursor(context);
  4111. const content = parseTextData(context, endIndex, mode);
  4112. return {
  4113. type: 2 /* TEXT */,
  4114. content,
  4115. loc: getSelection(context, start)
  4116. };
  4117. }
  4118. /**
  4119. * Get text data with a given length from the current location.
  4120. * This translates HTML entities in the text data.
  4121. */
  4122. function parseTextData(context, length, mode) {
  4123. const rawText = context.source.slice(0, length);
  4124. advanceBy(context, length);
  4125. if (mode === 2 /* RAWTEXT */ ||
  4126. mode === 3 /* CDATA */ ||
  4127. !rawText.includes('&')) {
  4128. return rawText;
  4129. }
  4130. else {
  4131. // DATA or RCDATA containing "&"". Entity decoding required.
  4132. return context.options.decodeEntities(rawText, mode === 4 /* ATTRIBUTE_VALUE */);
  4133. }
  4134. }
  4135. function getCursor(context) {
  4136. const { column, line, offset } = context;
  4137. return { column, line, offset };
  4138. }
  4139. function getSelection(context, start, end) {
  4140. end = end || getCursor(context);
  4141. return {
  4142. start,
  4143. end,
  4144. source: context.originalSource.slice(start.offset, end.offset)
  4145. };
  4146. }
  4147. function last(xs) {
  4148. return xs[xs.length - 1];
  4149. }
  4150. function startsWith(source, searchString) {
  4151. return source.startsWith(searchString);
  4152. }
  4153. function advanceBy(context, numberOfCharacters) {
  4154. const { source } = context;
  4155. advancePositionWithMutation(context, source, numberOfCharacters);
  4156. context.source = source.slice(numberOfCharacters);
  4157. }
  4158. function advanceSpaces(context) {
  4159. const match = /^[\t\r\n\f ]+/.exec(context.source);
  4160. if (match) {
  4161. advanceBy(context, match[0].length);
  4162. }
  4163. }
  4164. function getNewPosition(context, start, numberOfCharacters) {
  4165. return advancePositionWithClone(start, context.originalSource.slice(start.offset, numberOfCharacters), numberOfCharacters);
  4166. }
  4167. function emitError(context, code, offset, loc = getCursor(context)) {
  4168. if (offset) {
  4169. loc.offset += offset;
  4170. loc.column += offset;
  4171. }
  4172. context.options.onError(createCompilerError(code, {
  4173. start: loc,
  4174. end: loc,
  4175. source: ''
  4176. }));
  4177. }
  4178. function isEnd(context, mode, ancestors) {
  4179. const s = context.source;
  4180. switch (mode) {
  4181. case 0 /* DATA */:
  4182. if (startsWith(s, '</')) {
  4183. // TODO: probably bad performance
  4184. for (let i = ancestors.length - 1; i >= 0; --i) {
  4185. if (startsWithEndTagOpen(s, ancestors[i].tag)) {
  4186. return true;
  4187. }
  4188. }
  4189. }
  4190. break;
  4191. case 1 /* RCDATA */:
  4192. case 2 /* RAWTEXT */: {
  4193. const parent = last(ancestors);
  4194. if (parent && startsWithEndTagOpen(s, parent.tag)) {
  4195. return true;
  4196. }
  4197. break;
  4198. }
  4199. case 3 /* CDATA */:
  4200. if (startsWith(s, ']]>')) {
  4201. return true;
  4202. }
  4203. break;
  4204. }
  4205. return !s;
  4206. }
  4207. function startsWithEndTagOpen(source, tag) {
  4208. return (startsWith(source, '</') &&
  4209. source.slice(2, 2 + tag.length).toLowerCase() === tag.toLowerCase() &&
  4210. /[\t\r\n\f />]/.test(source[2 + tag.length] || '>'));
  4211. }
  4212. function hoistStatic(root, context) {
  4213. walk(root, context,
  4214. // Root node is unfortunately non-hoistable due to potential parent
  4215. // fallthrough attributes.
  4216. isSingleElementRoot(root, root.children[0]));
  4217. }
  4218. function isSingleElementRoot(root, child) {
  4219. const { children } = root;
  4220. return (children.length === 1 &&
  4221. child.type === 1 /* ELEMENT */ &&
  4222. !isSlotOutlet(child));
  4223. }
  4224. function walk(node, context, doNotHoistNode = false) {
  4225. const { children } = node;
  4226. const originalCount = children.length;
  4227. let hoistedCount = 0;
  4228. for (let i = 0; i < children.length; i++) {
  4229. const child = children[i];
  4230. // only plain elements & text calls are eligible for hoisting.
  4231. if (child.type === 1 /* ELEMENT */ &&
  4232. child.tagType === 0 /* ELEMENT */) {
  4233. const constantType = doNotHoistNode
  4234. ? 0 /* NOT_CONSTANT */
  4235. : getConstantType(child, context);
  4236. if (constantType > 0 /* NOT_CONSTANT */) {
  4237. if (constantType >= 2 /* CAN_HOIST */) {
  4238. child.codegenNode.patchFlag =
  4239. -1 /* HOISTED */ + (( true) ? ` /* HOISTED */` : 0);
  4240. child.codegenNode = context.hoist(child.codegenNode);
  4241. hoistedCount++;
  4242. continue;
  4243. }
  4244. }
  4245. else {
  4246. // node may contain dynamic children, but its props may be eligible for
  4247. // hoisting.
  4248. const codegenNode = child.codegenNode;
  4249. if (codegenNode.type === 13 /* VNODE_CALL */) {
  4250. const flag = getPatchFlag(codegenNode);
  4251. if ((!flag ||
  4252. flag === 512 /* NEED_PATCH */ ||
  4253. flag === 1 /* TEXT */) &&
  4254. getGeneratedPropsConstantType(child, context) >=
  4255. 2 /* CAN_HOIST */) {
  4256. const props = getNodeProps(child);
  4257. if (props) {
  4258. codegenNode.props = context.hoist(props);
  4259. }
  4260. }
  4261. if (codegenNode.dynamicProps) {
  4262. codegenNode.dynamicProps = context.hoist(codegenNode.dynamicProps);
  4263. }
  4264. }
  4265. }
  4266. }
  4267. else if (child.type === 12 /* TEXT_CALL */ &&
  4268. getConstantType(child.content, context) >= 2 /* CAN_HOIST */) {
  4269. child.codegenNode = context.hoist(child.codegenNode);
  4270. hoistedCount++;
  4271. }
  4272. // walk further
  4273. if (child.type === 1 /* ELEMENT */) {
  4274. const isComponent = child.tagType === 1 /* COMPONENT */;
  4275. if (isComponent) {
  4276. context.scopes.vSlot++;
  4277. }
  4278. walk(child, context);
  4279. if (isComponent) {
  4280. context.scopes.vSlot--;
  4281. }
  4282. }
  4283. else if (child.type === 11 /* FOR */) {
  4284. // Do not hoist v-for single child because it has to be a block
  4285. walk(child, context, child.children.length === 1);
  4286. }
  4287. else if (child.type === 9 /* IF */) {
  4288. for (let i = 0; i < child.branches.length; i++) {
  4289. // Do not hoist v-if single child because it has to be a block
  4290. walk(child.branches[i], context, child.branches[i].children.length === 1);
  4291. }
  4292. }
  4293. }
  4294. if (hoistedCount && context.transformHoist) {
  4295. context.transformHoist(children, context, node);
  4296. }
  4297. // all children were hoisted - the entire children array is hoistable.
  4298. if (hoistedCount &&
  4299. hoistedCount === originalCount &&
  4300. node.type === 1 /* ELEMENT */ &&
  4301. node.tagType === 0 /* ELEMENT */ &&
  4302. node.codegenNode &&
  4303. node.codegenNode.type === 13 /* VNODE_CALL */ &&
  4304. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isArray)(node.codegenNode.children)) {
  4305. node.codegenNode.children = context.hoist(createArrayExpression(node.codegenNode.children));
  4306. }
  4307. }
  4308. function getConstantType(node, context) {
  4309. const { constantCache } = context;
  4310. switch (node.type) {
  4311. case 1 /* ELEMENT */:
  4312. if (node.tagType !== 0 /* ELEMENT */) {
  4313. return 0 /* NOT_CONSTANT */;
  4314. }
  4315. const cached = constantCache.get(node);
  4316. if (cached !== undefined) {
  4317. return cached;
  4318. }
  4319. const codegenNode = node.codegenNode;
  4320. if (codegenNode.type !== 13 /* VNODE_CALL */) {
  4321. return 0 /* NOT_CONSTANT */;
  4322. }
  4323. if (codegenNode.isBlock &&
  4324. node.tag !== 'svg' &&
  4325. node.tag !== 'foreignObject') {
  4326. return 0 /* NOT_CONSTANT */;
  4327. }
  4328. const flag = getPatchFlag(codegenNode);
  4329. if (!flag) {
  4330. let returnType = 3 /* CAN_STRINGIFY */;
  4331. // Element itself has no patch flag. However we still need to check:
  4332. // 1. Even for a node with no patch flag, it is possible for it to contain
  4333. // non-hoistable expressions that refers to scope variables, e.g. compiler
  4334. // injected keys or cached event handlers. Therefore we need to always
  4335. // check the codegenNode's props to be sure.
  4336. const generatedPropsType = getGeneratedPropsConstantType(node, context);
  4337. if (generatedPropsType === 0 /* NOT_CONSTANT */) {
  4338. constantCache.set(node, 0 /* NOT_CONSTANT */);
  4339. return 0 /* NOT_CONSTANT */;
  4340. }
  4341. if (generatedPropsType < returnType) {
  4342. returnType = generatedPropsType;
  4343. }
  4344. // 2. its children.
  4345. for (let i = 0; i < node.children.length; i++) {
  4346. const childType = getConstantType(node.children[i], context);
  4347. if (childType === 0 /* NOT_CONSTANT */) {
  4348. constantCache.set(node, 0 /* NOT_CONSTANT */);
  4349. return 0 /* NOT_CONSTANT */;
  4350. }
  4351. if (childType < returnType) {
  4352. returnType = childType;
  4353. }
  4354. }
  4355. // 3. if the type is not already CAN_SKIP_PATCH which is the lowest non-0
  4356. // type, check if any of the props can cause the type to be lowered
  4357. // we can skip can_patch because it's guaranteed by the absence of a
  4358. // patchFlag.
  4359. if (returnType > 1 /* CAN_SKIP_PATCH */) {
  4360. for (let i = 0; i < node.props.length; i++) {
  4361. const p = node.props[i];
  4362. if (p.type === 7 /* DIRECTIVE */ && p.name === 'bind' && p.exp) {
  4363. const expType = getConstantType(p.exp, context);
  4364. if (expType === 0 /* NOT_CONSTANT */) {
  4365. constantCache.set(node, 0 /* NOT_CONSTANT */);
  4366. return 0 /* NOT_CONSTANT */;
  4367. }
  4368. if (expType < returnType) {
  4369. returnType = expType;
  4370. }
  4371. }
  4372. }
  4373. }
  4374. // only svg/foreignObject could be block here, however if they are
  4375. // static then they don't need to be blocks since there will be no
  4376. // nested updates.
  4377. if (codegenNode.isBlock) {
  4378. context.removeHelper(OPEN_BLOCK);
  4379. context.removeHelper(getVNodeBlockHelper(context.inSSR, codegenNode.isComponent));
  4380. codegenNode.isBlock = false;
  4381. context.helper(getVNodeHelper(context.inSSR, codegenNode.isComponent));
  4382. }
  4383. constantCache.set(node, returnType);
  4384. return returnType;
  4385. }
  4386. else {
  4387. constantCache.set(node, 0 /* NOT_CONSTANT */);
  4388. return 0 /* NOT_CONSTANT */;
  4389. }
  4390. case 2 /* TEXT */:
  4391. case 3 /* COMMENT */:
  4392. return 3 /* CAN_STRINGIFY */;
  4393. case 9 /* IF */:
  4394. case 11 /* FOR */:
  4395. case 10 /* IF_BRANCH */:
  4396. return 0 /* NOT_CONSTANT */;
  4397. case 5 /* INTERPOLATION */:
  4398. case 12 /* TEXT_CALL */:
  4399. return getConstantType(node.content, context);
  4400. case 4 /* SIMPLE_EXPRESSION */:
  4401. return node.constType;
  4402. case 8 /* COMPOUND_EXPRESSION */:
  4403. let returnType = 3 /* CAN_STRINGIFY */;
  4404. for (let i = 0; i < node.children.length; i++) {
  4405. const child = node.children[i];
  4406. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(child) || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isSymbol)(child)) {
  4407. continue;
  4408. }
  4409. const childType = getConstantType(child, context);
  4410. if (childType === 0 /* NOT_CONSTANT */) {
  4411. return 0 /* NOT_CONSTANT */;
  4412. }
  4413. else if (childType < returnType) {
  4414. returnType = childType;
  4415. }
  4416. }
  4417. return returnType;
  4418. default:
  4419. if ((true)) ;
  4420. return 0 /* NOT_CONSTANT */;
  4421. }
  4422. }
  4423. const allowHoistedHelperSet = new Set([
  4424. NORMALIZE_CLASS,
  4425. NORMALIZE_STYLE,
  4426. NORMALIZE_PROPS,
  4427. GUARD_REACTIVE_PROPS
  4428. ]);
  4429. function getConstantTypeOfHelperCall(value, context) {
  4430. if (value.type === 14 /* JS_CALL_EXPRESSION */ &&
  4431. !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(value.callee) &&
  4432. allowHoistedHelperSet.has(value.callee)) {
  4433. const arg = value.arguments[0];
  4434. if (arg.type === 4 /* SIMPLE_EXPRESSION */) {
  4435. return getConstantType(arg, context);
  4436. }
  4437. else if (arg.type === 14 /* JS_CALL_EXPRESSION */) {
  4438. // in the case of nested helper call, e.g. `normalizeProps(guardReactiveProps(exp))`
  4439. return getConstantTypeOfHelperCall(arg, context);
  4440. }
  4441. }
  4442. return 0 /* NOT_CONSTANT */;
  4443. }
  4444. function getGeneratedPropsConstantType(node, context) {
  4445. let returnType = 3 /* CAN_STRINGIFY */;
  4446. const props = getNodeProps(node);
  4447. if (props && props.type === 15 /* JS_OBJECT_EXPRESSION */) {
  4448. const { properties } = props;
  4449. for (let i = 0; i < properties.length; i++) {
  4450. const { key, value } = properties[i];
  4451. const keyType = getConstantType(key, context);
  4452. if (keyType === 0 /* NOT_CONSTANT */) {
  4453. return keyType;
  4454. }
  4455. if (keyType < returnType) {
  4456. returnType = keyType;
  4457. }
  4458. let valueType;
  4459. if (value.type === 4 /* SIMPLE_EXPRESSION */) {
  4460. valueType = getConstantType(value, context);
  4461. }
  4462. else if (value.type === 14 /* JS_CALL_EXPRESSION */) {
  4463. // some helper calls can be hoisted,
  4464. // such as the `normalizeProps` generated by the compiler for pre-normalize class,
  4465. // in this case we need to respect the ConstantType of the helper's arguments
  4466. valueType = getConstantTypeOfHelperCall(value, context);
  4467. }
  4468. else {
  4469. valueType = 0 /* NOT_CONSTANT */;
  4470. }
  4471. if (valueType === 0 /* NOT_CONSTANT */) {
  4472. return valueType;
  4473. }
  4474. if (valueType < returnType) {
  4475. returnType = valueType;
  4476. }
  4477. }
  4478. }
  4479. return returnType;
  4480. }
  4481. function getNodeProps(node) {
  4482. const codegenNode = node.codegenNode;
  4483. if (codegenNode.type === 13 /* VNODE_CALL */) {
  4484. return codegenNode.props;
  4485. }
  4486. }
  4487. function getPatchFlag(node) {
  4488. const flag = node.patchFlag;
  4489. return flag ? parseInt(flag, 10) : undefined;
  4490. }
  4491. function createTransformContext(root, { filename = '', prefixIdentifiers = false, hoistStatic = false, cacheHandlers = false, nodeTransforms = [], directiveTransforms = {}, transformHoist = null, isBuiltInComponent = _vue_shared__WEBPACK_IMPORTED_MODULE_0__.NOOP, isCustomElement = _vue_shared__WEBPACK_IMPORTED_MODULE_0__.NOOP, expressionPlugins = [], scopeId = null, slotted = true, ssr = false, inSSR = false, ssrCssVars = ``, bindingMetadata = _vue_shared__WEBPACK_IMPORTED_MODULE_0__.EMPTY_OBJ, inline = false, isTS = false, onError = defaultOnError, onWarn = defaultOnWarn, compatConfig }) {
  4492. const nameMatch = filename.replace(/\?.*$/, '').match(/([^/\\]+)\.\w+$/);
  4493. const context = {
  4494. // options
  4495. selfName: nameMatch && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.capitalize)((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.camelize)(nameMatch[1])),
  4496. prefixIdentifiers,
  4497. hoistStatic,
  4498. cacheHandlers,
  4499. nodeTransforms,
  4500. directiveTransforms,
  4501. transformHoist,
  4502. isBuiltInComponent,
  4503. isCustomElement,
  4504. expressionPlugins,
  4505. scopeId,
  4506. slotted,
  4507. ssr,
  4508. inSSR,
  4509. ssrCssVars,
  4510. bindingMetadata,
  4511. inline,
  4512. isTS,
  4513. onError,
  4514. onWarn,
  4515. compatConfig,
  4516. // state
  4517. root,
  4518. helpers: new Map(),
  4519. components: new Set(),
  4520. directives: new Set(),
  4521. hoists: [],
  4522. imports: [],
  4523. constantCache: new Map(),
  4524. temps: 0,
  4525. cached: 0,
  4526. identifiers: Object.create(null),
  4527. scopes: {
  4528. vFor: 0,
  4529. vSlot: 0,
  4530. vPre: 0,
  4531. vOnce: 0
  4532. },
  4533. parent: null,
  4534. currentNode: root,
  4535. childIndex: 0,
  4536. inVOnce: false,
  4537. // methods
  4538. helper(name) {
  4539. const count = context.helpers.get(name) || 0;
  4540. context.helpers.set(name, count + 1);
  4541. return name;
  4542. },
  4543. removeHelper(name) {
  4544. const count = context.helpers.get(name);
  4545. if (count) {
  4546. const currentCount = count - 1;
  4547. if (!currentCount) {
  4548. context.helpers.delete(name);
  4549. }
  4550. else {
  4551. context.helpers.set(name, currentCount);
  4552. }
  4553. }
  4554. },
  4555. helperString(name) {
  4556. return `_${helperNameMap[context.helper(name)]}`;
  4557. },
  4558. replaceNode(node) {
  4559. /* istanbul ignore if */
  4560. if ((true)) {
  4561. if (!context.currentNode) {
  4562. throw new Error(`Node being replaced is already removed.`);
  4563. }
  4564. if (!context.parent) {
  4565. throw new Error(`Cannot replace root node.`);
  4566. }
  4567. }
  4568. context.parent.children[context.childIndex] = context.currentNode = node;
  4569. },
  4570. removeNode(node) {
  4571. if (( true) && !context.parent) {
  4572. throw new Error(`Cannot remove root node.`);
  4573. }
  4574. const list = context.parent.children;
  4575. const removalIndex = node
  4576. ? list.indexOf(node)
  4577. : context.currentNode
  4578. ? context.childIndex
  4579. : -1;
  4580. /* istanbul ignore if */
  4581. if (( true) && removalIndex < 0) {
  4582. throw new Error(`node being removed is not a child of current parent`);
  4583. }
  4584. if (!node || node === context.currentNode) {
  4585. // current node removed
  4586. context.currentNode = null;
  4587. context.onNodeRemoved();
  4588. }
  4589. else {
  4590. // sibling node removed
  4591. if (context.childIndex > removalIndex) {
  4592. context.childIndex--;
  4593. context.onNodeRemoved();
  4594. }
  4595. }
  4596. context.parent.children.splice(removalIndex, 1);
  4597. },
  4598. onNodeRemoved: () => { },
  4599. addIdentifiers(exp) {
  4600. },
  4601. removeIdentifiers(exp) {
  4602. },
  4603. hoist(exp) {
  4604. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(exp))
  4605. exp = createSimpleExpression(exp);
  4606. context.hoists.push(exp);
  4607. const identifier = createSimpleExpression(`_hoisted_${context.hoists.length}`, false, exp.loc, 2 /* CAN_HOIST */);
  4608. identifier.hoisted = exp;
  4609. return identifier;
  4610. },
  4611. cache(exp, isVNode = false) {
  4612. return createCacheExpression(context.cached++, exp, isVNode);
  4613. }
  4614. };
  4615. {
  4616. context.filters = new Set();
  4617. }
  4618. return context;
  4619. }
  4620. function transform(root, options) {
  4621. const context = createTransformContext(root, options);
  4622. traverseNode(root, context);
  4623. if (options.hoistStatic) {
  4624. hoistStatic(root, context);
  4625. }
  4626. if (!options.ssr) {
  4627. createRootCodegen(root, context);
  4628. }
  4629. // finalize meta information
  4630. root.helpers = [...context.helpers.keys()];
  4631. root.components = [...context.components];
  4632. root.directives = [...context.directives];
  4633. root.imports = context.imports;
  4634. root.hoists = context.hoists;
  4635. root.temps = context.temps;
  4636. root.cached = context.cached;
  4637. {
  4638. root.filters = [...context.filters];
  4639. }
  4640. }
  4641. function createRootCodegen(root, context) {
  4642. const { helper } = context;
  4643. const { children } = root;
  4644. if (children.length === 1) {
  4645. const child = children[0];
  4646. // if the single child is an element, turn it into a block.
  4647. if (isSingleElementRoot(root, child) && child.codegenNode) {
  4648. // single element root is never hoisted so codegenNode will never be
  4649. // SimpleExpressionNode
  4650. const codegenNode = child.codegenNode;
  4651. if (codegenNode.type === 13 /* VNODE_CALL */) {
  4652. makeBlock(codegenNode, context);
  4653. }
  4654. root.codegenNode = codegenNode;
  4655. }
  4656. else {
  4657. // - single <slot/>, IfNode, ForNode: already blocks.
  4658. // - single text node: always patched.
  4659. // root codegen falls through via genNode()
  4660. root.codegenNode = child;
  4661. }
  4662. }
  4663. else if (children.length > 1) {
  4664. // root has multiple nodes - return a fragment block.
  4665. let patchFlag = 64 /* STABLE_FRAGMENT */;
  4666. let patchFlagText = _vue_shared__WEBPACK_IMPORTED_MODULE_0__.PatchFlagNames[64];
  4667. // check if the fragment actually contains a single valid child with
  4668. // the rest being comments
  4669. if (( true) &&
  4670. children.filter(c => c.type !== 3 /* COMMENT */).length === 1) {
  4671. patchFlag |= 2048 /* DEV_ROOT_FRAGMENT */;
  4672. patchFlagText += `, ${_vue_shared__WEBPACK_IMPORTED_MODULE_0__.PatchFlagNames[2048]}`;
  4673. }
  4674. root.codegenNode = createVNodeCall(context, helper(FRAGMENT), undefined, root.children, patchFlag + (( true) ? ` /* ${patchFlagText} */` : 0), undefined, undefined, true, undefined, false /* isComponent */);
  4675. }
  4676. else ;
  4677. }
  4678. function traverseChildren(parent, context) {
  4679. let i = 0;
  4680. const nodeRemoved = () => {
  4681. i--;
  4682. };
  4683. for (; i < parent.children.length; i++) {
  4684. const child = parent.children[i];
  4685. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(child))
  4686. continue;
  4687. context.parent = parent;
  4688. context.childIndex = i;
  4689. context.onNodeRemoved = nodeRemoved;
  4690. traverseNode(child, context);
  4691. }
  4692. }
  4693. function traverseNode(node, context) {
  4694. context.currentNode = node;
  4695. // apply transform plugins
  4696. const { nodeTransforms } = context;
  4697. const exitFns = [];
  4698. for (let i = 0; i < nodeTransforms.length; i++) {
  4699. const onExit = nodeTransforms[i](node, context);
  4700. if (onExit) {
  4701. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isArray)(onExit)) {
  4702. exitFns.push(...onExit);
  4703. }
  4704. else {
  4705. exitFns.push(onExit);
  4706. }
  4707. }
  4708. if (!context.currentNode) {
  4709. // node was removed
  4710. return;
  4711. }
  4712. else {
  4713. // node may have been replaced
  4714. node = context.currentNode;
  4715. }
  4716. }
  4717. switch (node.type) {
  4718. case 3 /* COMMENT */:
  4719. if (!context.ssr) {
  4720. // inject import for the Comment symbol, which is needed for creating
  4721. // comment nodes with `createVNode`
  4722. context.helper(CREATE_COMMENT);
  4723. }
  4724. break;
  4725. case 5 /* INTERPOLATION */:
  4726. // no need to traverse, but we need to inject toString helper
  4727. if (!context.ssr) {
  4728. context.helper(TO_DISPLAY_STRING);
  4729. }
  4730. break;
  4731. // for container types, further traverse downwards
  4732. case 9 /* IF */:
  4733. for (let i = 0; i < node.branches.length; i++) {
  4734. traverseNode(node.branches[i], context);
  4735. }
  4736. break;
  4737. case 10 /* IF_BRANCH */:
  4738. case 11 /* FOR */:
  4739. case 1 /* ELEMENT */:
  4740. case 0 /* ROOT */:
  4741. traverseChildren(node, context);
  4742. break;
  4743. }
  4744. // exit transforms
  4745. context.currentNode = node;
  4746. let i = exitFns.length;
  4747. while (i--) {
  4748. exitFns[i]();
  4749. }
  4750. }
  4751. function createStructuralDirectiveTransform(name, fn) {
  4752. const matches = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(name)
  4753. ? (n) => n === name
  4754. : (n) => name.test(n);
  4755. return (node, context) => {
  4756. if (node.type === 1 /* ELEMENT */) {
  4757. const { props } = node;
  4758. // structural directive transforms are not concerned with slots
  4759. // as they are handled separately in vSlot.ts
  4760. if (node.tagType === 3 /* TEMPLATE */ && props.some(isVSlot)) {
  4761. return;
  4762. }
  4763. const exitFns = [];
  4764. for (let i = 0; i < props.length; i++) {
  4765. const prop = props[i];
  4766. if (prop.type === 7 /* DIRECTIVE */ && matches(prop.name)) {
  4767. // structural directives are removed to avoid infinite recursion
  4768. // also we remove them *before* applying so that it can further
  4769. // traverse itself in case it moves the node around
  4770. props.splice(i, 1);
  4771. i--;
  4772. const onExit = fn(node, prop, context);
  4773. if (onExit)
  4774. exitFns.push(onExit);
  4775. }
  4776. }
  4777. return exitFns;
  4778. }
  4779. };
  4780. }
  4781. const PURE_ANNOTATION = `/*#__PURE__*/`;
  4782. function createCodegenContext(ast, { mode = 'function', prefixIdentifiers = mode === 'module', sourceMap = false, filename = `template.vue.html`, scopeId = null, optimizeImports = false, runtimeGlobalName = `Vue`, runtimeModuleName = `vue`, ssrRuntimeModuleName = 'vue/server-renderer', ssr = false, isTS = false, inSSR = false }) {
  4783. const context = {
  4784. mode,
  4785. prefixIdentifiers,
  4786. sourceMap,
  4787. filename,
  4788. scopeId,
  4789. optimizeImports,
  4790. runtimeGlobalName,
  4791. runtimeModuleName,
  4792. ssrRuntimeModuleName,
  4793. ssr,
  4794. isTS,
  4795. inSSR,
  4796. source: ast.loc.source,
  4797. code: ``,
  4798. column: 1,
  4799. line: 1,
  4800. offset: 0,
  4801. indentLevel: 0,
  4802. pure: false,
  4803. map: undefined,
  4804. helper(key) {
  4805. return `_${helperNameMap[key]}`;
  4806. },
  4807. push(code, node) {
  4808. context.code += code;
  4809. },
  4810. indent() {
  4811. newline(++context.indentLevel);
  4812. },
  4813. deindent(withoutNewLine = false) {
  4814. if (withoutNewLine) {
  4815. --context.indentLevel;
  4816. }
  4817. else {
  4818. newline(--context.indentLevel);
  4819. }
  4820. },
  4821. newline() {
  4822. newline(context.indentLevel);
  4823. }
  4824. };
  4825. function newline(n) {
  4826. context.push('\n' + ` `.repeat(n));
  4827. }
  4828. return context;
  4829. }
  4830. function generate(ast, options = {}) {
  4831. const context = createCodegenContext(ast, options);
  4832. if (options.onContextCreated)
  4833. options.onContextCreated(context);
  4834. const { mode, push, prefixIdentifiers, indent, deindent, newline, scopeId, ssr } = context;
  4835. const hasHelpers = ast.helpers.length > 0;
  4836. const useWithBlock = !prefixIdentifiers && mode !== 'module';
  4837. // preambles
  4838. // in setup() inline mode, the preamble is generated in a sub context
  4839. // and returned separately.
  4840. const preambleContext = context;
  4841. {
  4842. genFunctionPreamble(ast, preambleContext);
  4843. }
  4844. // enter render function
  4845. const functionName = ssr ? `ssrRender` : `render`;
  4846. const args = ssr ? ['_ctx', '_push', '_parent', '_attrs'] : ['_ctx', '_cache'];
  4847. const signature = args.join(', ');
  4848. {
  4849. push(`function ${functionName}(${signature}) {`);
  4850. }
  4851. indent();
  4852. if (useWithBlock) {
  4853. push(`with (_ctx) {`);
  4854. indent();
  4855. // function mode const declarations should be inside with block
  4856. // also they should be renamed to avoid collision with user properties
  4857. if (hasHelpers) {
  4858. push(`const { ${ast.helpers
  4859. .map(s => `${helperNameMap[s]}: _${helperNameMap[s]}`)
  4860. .join(', ')} } = _Vue`);
  4861. push(`\n`);
  4862. newline();
  4863. }
  4864. }
  4865. // generate asset resolution statements
  4866. if (ast.components.length) {
  4867. genAssets(ast.components, 'component', context);
  4868. if (ast.directives.length || ast.temps > 0) {
  4869. newline();
  4870. }
  4871. }
  4872. if (ast.directives.length) {
  4873. genAssets(ast.directives, 'directive', context);
  4874. if (ast.temps > 0) {
  4875. newline();
  4876. }
  4877. }
  4878. if (ast.filters && ast.filters.length) {
  4879. newline();
  4880. genAssets(ast.filters, 'filter', context);
  4881. newline();
  4882. }
  4883. if (ast.temps > 0) {
  4884. push(`let `);
  4885. for (let i = 0; i < ast.temps; i++) {
  4886. push(`${i > 0 ? `, ` : ``}_temp${i}`);
  4887. }
  4888. }
  4889. if (ast.components.length || ast.directives.length || ast.temps) {
  4890. push(`\n`);
  4891. newline();
  4892. }
  4893. // generate the VNode tree expression
  4894. if (!ssr) {
  4895. push(`return `);
  4896. }
  4897. if (ast.codegenNode) {
  4898. genNode(ast.codegenNode, context);
  4899. }
  4900. else {
  4901. push(`null`);
  4902. }
  4903. if (useWithBlock) {
  4904. deindent();
  4905. push(`}`);
  4906. }
  4907. deindent();
  4908. push(`}`);
  4909. return {
  4910. ast,
  4911. code: context.code,
  4912. preamble: ``,
  4913. // SourceMapGenerator does have toJSON() method but it's not in the types
  4914. map: context.map ? context.map.toJSON() : undefined
  4915. };
  4916. }
  4917. function genFunctionPreamble(ast, context) {
  4918. const { ssr, prefixIdentifiers, push, newline, runtimeModuleName, runtimeGlobalName, ssrRuntimeModuleName } = context;
  4919. const VueBinding = runtimeGlobalName;
  4920. const aliasHelper = (s) => `${helperNameMap[s]}: _${helperNameMap[s]}`;
  4921. // Generate const declaration for helpers
  4922. // In prefix mode, we place the const declaration at top so it's done
  4923. // only once; But if we not prefixing, we place the declaration inside the
  4924. // with block so it doesn't incur the `in` check cost for every helper access.
  4925. if (ast.helpers.length > 0) {
  4926. {
  4927. // "with" mode.
  4928. // save Vue in a separate variable to avoid collision
  4929. push(`const _Vue = ${VueBinding}\n`);
  4930. // in "with" mode, helpers are declared inside the with block to avoid
  4931. // has check cost, but hoists are lifted out of the function - we need
  4932. // to provide the helper here.
  4933. if (ast.hoists.length) {
  4934. const staticHelpers = [
  4935. CREATE_VNODE,
  4936. CREATE_ELEMENT_VNODE,
  4937. CREATE_COMMENT,
  4938. CREATE_TEXT,
  4939. CREATE_STATIC
  4940. ]
  4941. .filter(helper => ast.helpers.includes(helper))
  4942. .map(aliasHelper)
  4943. .join(', ');
  4944. push(`const { ${staticHelpers} } = _Vue\n`);
  4945. }
  4946. }
  4947. }
  4948. genHoists(ast.hoists, context);
  4949. newline();
  4950. push(`return `);
  4951. }
  4952. function genAssets(assets, type, { helper, push, newline, isTS }) {
  4953. const resolver = helper(type === 'filter'
  4954. ? RESOLVE_FILTER
  4955. : type === 'component'
  4956. ? RESOLVE_COMPONENT
  4957. : RESOLVE_DIRECTIVE);
  4958. for (let i = 0; i < assets.length; i++) {
  4959. let id = assets[i];
  4960. // potential component implicit self-reference inferred from SFC filename
  4961. const maybeSelfReference = id.endsWith('__self');
  4962. if (maybeSelfReference) {
  4963. id = id.slice(0, -6);
  4964. }
  4965. push(`const ${toValidAssetId(id, type)} = ${resolver}(${JSON.stringify(id)}${maybeSelfReference ? `, true` : ``})${isTS ? `!` : ``}`);
  4966. if (i < assets.length - 1) {
  4967. newline();
  4968. }
  4969. }
  4970. }
  4971. function genHoists(hoists, context) {
  4972. if (!hoists.length) {
  4973. return;
  4974. }
  4975. context.pure = true;
  4976. const { push, newline, helper, scopeId, mode } = context;
  4977. newline();
  4978. for (let i = 0; i < hoists.length; i++) {
  4979. const exp = hoists[i];
  4980. if (exp) {
  4981. push(`const _hoisted_${i + 1} = ${``}`);
  4982. genNode(exp, context);
  4983. newline();
  4984. }
  4985. }
  4986. context.pure = false;
  4987. }
  4988. function isText$1(n) {
  4989. return ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(n) ||
  4990. n.type === 4 /* SIMPLE_EXPRESSION */ ||
  4991. n.type === 2 /* TEXT */ ||
  4992. n.type === 5 /* INTERPOLATION */ ||
  4993. n.type === 8 /* COMPOUND_EXPRESSION */);
  4994. }
  4995. function genNodeListAsArray(nodes, context) {
  4996. const multilines = nodes.length > 3 ||
  4997. ((( true)) && nodes.some(n => (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isArray)(n) || !isText$1(n)));
  4998. context.push(`[`);
  4999. multilines && context.indent();
  5000. genNodeList(nodes, context, multilines);
  5001. multilines && context.deindent();
  5002. context.push(`]`);
  5003. }
  5004. function genNodeList(nodes, context, multilines = false, comma = true) {
  5005. const { push, newline } = context;
  5006. for (let i = 0; i < nodes.length; i++) {
  5007. const node = nodes[i];
  5008. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(node)) {
  5009. push(node);
  5010. }
  5011. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isArray)(node)) {
  5012. genNodeListAsArray(node, context);
  5013. }
  5014. else {
  5015. genNode(node, context);
  5016. }
  5017. if (i < nodes.length - 1) {
  5018. if (multilines) {
  5019. comma && push(',');
  5020. newline();
  5021. }
  5022. else {
  5023. comma && push(', ');
  5024. }
  5025. }
  5026. }
  5027. }
  5028. function genNode(node, context) {
  5029. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(node)) {
  5030. context.push(node);
  5031. return;
  5032. }
  5033. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isSymbol)(node)) {
  5034. context.push(context.helper(node));
  5035. return;
  5036. }
  5037. switch (node.type) {
  5038. case 1 /* ELEMENT */:
  5039. case 9 /* IF */:
  5040. case 11 /* FOR */:
  5041. ( true) &&
  5042. assert(node.codegenNode != null, `Codegen node is missing for element/if/for node. ` +
  5043. `Apply appropriate transforms first.`);
  5044. genNode(node.codegenNode, context);
  5045. break;
  5046. case 2 /* TEXT */:
  5047. genText(node, context);
  5048. break;
  5049. case 4 /* SIMPLE_EXPRESSION */:
  5050. genExpression(node, context);
  5051. break;
  5052. case 5 /* INTERPOLATION */:
  5053. genInterpolation(node, context);
  5054. break;
  5055. case 12 /* TEXT_CALL */:
  5056. genNode(node.codegenNode, context);
  5057. break;
  5058. case 8 /* COMPOUND_EXPRESSION */:
  5059. genCompoundExpression(node, context);
  5060. break;
  5061. case 3 /* COMMENT */:
  5062. genComment(node, context);
  5063. break;
  5064. case 13 /* VNODE_CALL */:
  5065. genVNodeCall(node, context);
  5066. break;
  5067. case 14 /* JS_CALL_EXPRESSION */:
  5068. genCallExpression(node, context);
  5069. break;
  5070. case 15 /* JS_OBJECT_EXPRESSION */:
  5071. genObjectExpression(node, context);
  5072. break;
  5073. case 17 /* JS_ARRAY_EXPRESSION */:
  5074. genArrayExpression(node, context);
  5075. break;
  5076. case 18 /* JS_FUNCTION_EXPRESSION */:
  5077. genFunctionExpression(node, context);
  5078. break;
  5079. case 19 /* JS_CONDITIONAL_EXPRESSION */:
  5080. genConditionalExpression(node, context);
  5081. break;
  5082. case 20 /* JS_CACHE_EXPRESSION */:
  5083. genCacheExpression(node, context);
  5084. break;
  5085. case 21 /* JS_BLOCK_STATEMENT */:
  5086. genNodeList(node.body, context, true, false);
  5087. break;
  5088. // SSR only types
  5089. case 22 /* JS_TEMPLATE_LITERAL */:
  5090. break;
  5091. case 23 /* JS_IF_STATEMENT */:
  5092. break;
  5093. case 24 /* JS_ASSIGNMENT_EXPRESSION */:
  5094. break;
  5095. case 25 /* JS_SEQUENCE_EXPRESSION */:
  5096. break;
  5097. case 26 /* JS_RETURN_STATEMENT */:
  5098. break;
  5099. /* istanbul ignore next */
  5100. case 10 /* IF_BRANCH */:
  5101. // noop
  5102. break;
  5103. default:
  5104. if ((true)) {
  5105. assert(false, `unhandled codegen node type: ${node.type}`);
  5106. // make sure we exhaust all possible types
  5107. const exhaustiveCheck = node;
  5108. return exhaustiveCheck;
  5109. }
  5110. }
  5111. }
  5112. function genText(node, context) {
  5113. context.push(JSON.stringify(node.content), node);
  5114. }
  5115. function genExpression(node, context) {
  5116. const { content, isStatic } = node;
  5117. context.push(isStatic ? JSON.stringify(content) : content, node);
  5118. }
  5119. function genInterpolation(node, context) {
  5120. const { push, helper, pure } = context;
  5121. if (pure)
  5122. push(PURE_ANNOTATION);
  5123. push(`${helper(TO_DISPLAY_STRING)}(`);
  5124. genNode(node.content, context);
  5125. push(`)`);
  5126. }
  5127. function genCompoundExpression(node, context) {
  5128. for (let i = 0; i < node.children.length; i++) {
  5129. const child = node.children[i];
  5130. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(child)) {
  5131. context.push(child);
  5132. }
  5133. else {
  5134. genNode(child, context);
  5135. }
  5136. }
  5137. }
  5138. function genExpressionAsPropertyKey(node, context) {
  5139. const { push } = context;
  5140. if (node.type === 8 /* COMPOUND_EXPRESSION */) {
  5141. push(`[`);
  5142. genCompoundExpression(node, context);
  5143. push(`]`);
  5144. }
  5145. else if (node.isStatic) {
  5146. // only quote keys if necessary
  5147. const text = isSimpleIdentifier(node.content)
  5148. ? node.content
  5149. : JSON.stringify(node.content);
  5150. push(text, node);
  5151. }
  5152. else {
  5153. push(`[${node.content}]`, node);
  5154. }
  5155. }
  5156. function genComment(node, context) {
  5157. const { push, helper, pure } = context;
  5158. if (pure) {
  5159. push(PURE_ANNOTATION);
  5160. }
  5161. push(`${helper(CREATE_COMMENT)}(${JSON.stringify(node.content)})`, node);
  5162. }
  5163. function genVNodeCall(node, context) {
  5164. const { push, helper, pure } = context;
  5165. const { tag, props, children, patchFlag, dynamicProps, directives, isBlock, disableTracking, isComponent } = node;
  5166. if (directives) {
  5167. push(helper(WITH_DIRECTIVES) + `(`);
  5168. }
  5169. if (isBlock) {
  5170. push(`(${helper(OPEN_BLOCK)}(${disableTracking ? `true` : ``}), `);
  5171. }
  5172. if (pure) {
  5173. push(PURE_ANNOTATION);
  5174. }
  5175. const callHelper = isBlock
  5176. ? getVNodeBlockHelper(context.inSSR, isComponent)
  5177. : getVNodeHelper(context.inSSR, isComponent);
  5178. push(helper(callHelper) + `(`, node);
  5179. genNodeList(genNullableArgs([tag, props, children, patchFlag, dynamicProps]), context);
  5180. push(`)`);
  5181. if (isBlock) {
  5182. push(`)`);
  5183. }
  5184. if (directives) {
  5185. push(`, `);
  5186. genNode(directives, context);
  5187. push(`)`);
  5188. }
  5189. }
  5190. function genNullableArgs(args) {
  5191. let i = args.length;
  5192. while (i--) {
  5193. if (args[i] != null)
  5194. break;
  5195. }
  5196. return args.slice(0, i + 1).map(arg => arg || `null`);
  5197. }
  5198. // JavaScript
  5199. function genCallExpression(node, context) {
  5200. const { push, helper, pure } = context;
  5201. const callee = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(node.callee) ? node.callee : helper(node.callee);
  5202. if (pure) {
  5203. push(PURE_ANNOTATION);
  5204. }
  5205. push(callee + `(`, node);
  5206. genNodeList(node.arguments, context);
  5207. push(`)`);
  5208. }
  5209. function genObjectExpression(node, context) {
  5210. const { push, indent, deindent, newline } = context;
  5211. const { properties } = node;
  5212. if (!properties.length) {
  5213. push(`{}`, node);
  5214. return;
  5215. }
  5216. const multilines = properties.length > 1 ||
  5217. ((( true)) &&
  5218. properties.some(p => p.value.type !== 4 /* SIMPLE_EXPRESSION */));
  5219. push(multilines ? `{` : `{ `);
  5220. multilines && indent();
  5221. for (let i = 0; i < properties.length; i++) {
  5222. const { key, value } = properties[i];
  5223. // key
  5224. genExpressionAsPropertyKey(key, context);
  5225. push(`: `);
  5226. // value
  5227. genNode(value, context);
  5228. if (i < properties.length - 1) {
  5229. // will only reach this if it's multilines
  5230. push(`,`);
  5231. newline();
  5232. }
  5233. }
  5234. multilines && deindent();
  5235. push(multilines ? `}` : ` }`);
  5236. }
  5237. function genArrayExpression(node, context) {
  5238. genNodeListAsArray(node.elements, context);
  5239. }
  5240. function genFunctionExpression(node, context) {
  5241. const { push, indent, deindent } = context;
  5242. const { params, returns, body, newline, isSlot } = node;
  5243. if (isSlot) {
  5244. // wrap slot functions with owner context
  5245. push(`_${helperNameMap[WITH_CTX]}(`);
  5246. }
  5247. push(`(`, node);
  5248. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isArray)(params)) {
  5249. genNodeList(params, context);
  5250. }
  5251. else if (params) {
  5252. genNode(params, context);
  5253. }
  5254. push(`) => `);
  5255. if (newline || body) {
  5256. push(`{`);
  5257. indent();
  5258. }
  5259. if (returns) {
  5260. if (newline) {
  5261. push(`return `);
  5262. }
  5263. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isArray)(returns)) {
  5264. genNodeListAsArray(returns, context);
  5265. }
  5266. else {
  5267. genNode(returns, context);
  5268. }
  5269. }
  5270. else if (body) {
  5271. genNode(body, context);
  5272. }
  5273. if (newline || body) {
  5274. deindent();
  5275. push(`}`);
  5276. }
  5277. if (isSlot) {
  5278. if (node.isNonScopedSlot) {
  5279. push(`, undefined, true`);
  5280. }
  5281. push(`)`);
  5282. }
  5283. }
  5284. function genConditionalExpression(node, context) {
  5285. const { test, consequent, alternate, newline: needNewline } = node;
  5286. const { push, indent, deindent, newline } = context;
  5287. if (test.type === 4 /* SIMPLE_EXPRESSION */) {
  5288. const needsParens = !isSimpleIdentifier(test.content);
  5289. needsParens && push(`(`);
  5290. genExpression(test, context);
  5291. needsParens && push(`)`);
  5292. }
  5293. else {
  5294. push(`(`);
  5295. genNode(test, context);
  5296. push(`)`);
  5297. }
  5298. needNewline && indent();
  5299. context.indentLevel++;
  5300. needNewline || push(` `);
  5301. push(`? `);
  5302. genNode(consequent, context);
  5303. context.indentLevel--;
  5304. needNewline && newline();
  5305. needNewline || push(` `);
  5306. push(`: `);
  5307. const isNested = alternate.type === 19 /* JS_CONDITIONAL_EXPRESSION */;
  5308. if (!isNested) {
  5309. context.indentLevel++;
  5310. }
  5311. genNode(alternate, context);
  5312. if (!isNested) {
  5313. context.indentLevel--;
  5314. }
  5315. needNewline && deindent(true /* without newline */);
  5316. }
  5317. function genCacheExpression(node, context) {
  5318. const { push, helper, indent, deindent, newline } = context;
  5319. push(`_cache[${node.index}] || (`);
  5320. if (node.isVNode) {
  5321. indent();
  5322. push(`${helper(SET_BLOCK_TRACKING)}(-1),`);
  5323. newline();
  5324. }
  5325. push(`_cache[${node.index}] = `);
  5326. genNode(node.value, context);
  5327. if (node.isVNode) {
  5328. push(`,`);
  5329. newline();
  5330. push(`${helper(SET_BLOCK_TRACKING)}(1),`);
  5331. newline();
  5332. push(`_cache[${node.index}]`);
  5333. deindent();
  5334. }
  5335. push(`)`);
  5336. }
  5337. function walkIdentifiers(root, onIdentifier, includeAll = false, parentStack = [], knownIds = Object.create(null)) {
  5338. {
  5339. return;
  5340. }
  5341. }
  5342. function isReferencedIdentifier(id, parent, parentStack) {
  5343. {
  5344. return false;
  5345. }
  5346. }
  5347. function isInDestructureAssignment(parent, parentStack) {
  5348. if (parent &&
  5349. (parent.type === 'ObjectProperty' || parent.type === 'ArrayPattern')) {
  5350. let i = parentStack.length;
  5351. while (i--) {
  5352. const p = parentStack[i];
  5353. if (p.type === 'AssignmentExpression') {
  5354. return true;
  5355. }
  5356. else if (p.type !== 'ObjectProperty' && !p.type.endsWith('Pattern')) {
  5357. break;
  5358. }
  5359. }
  5360. }
  5361. return false;
  5362. }
  5363. function walkFunctionParams(node, onIdent) {
  5364. for (const p of node.params) {
  5365. for (const id of extractIdentifiers(p)) {
  5366. onIdent(id);
  5367. }
  5368. }
  5369. }
  5370. function walkBlockDeclarations(block, onIdent) {
  5371. for (const stmt of block.body) {
  5372. if (stmt.type === 'VariableDeclaration') {
  5373. if (stmt.declare)
  5374. continue;
  5375. for (const decl of stmt.declarations) {
  5376. for (const id of extractIdentifiers(decl.id)) {
  5377. onIdent(id);
  5378. }
  5379. }
  5380. }
  5381. else if (stmt.type === 'FunctionDeclaration' ||
  5382. stmt.type === 'ClassDeclaration') {
  5383. if (stmt.declare || !stmt.id)
  5384. continue;
  5385. onIdent(stmt.id);
  5386. }
  5387. }
  5388. }
  5389. function extractIdentifiers(param, nodes = []) {
  5390. switch (param.type) {
  5391. case 'Identifier':
  5392. nodes.push(param);
  5393. break;
  5394. case 'MemberExpression':
  5395. let object = param;
  5396. while (object.type === 'MemberExpression') {
  5397. object = object.object;
  5398. }
  5399. nodes.push(object);
  5400. break;
  5401. case 'ObjectPattern':
  5402. for (const prop of param.properties) {
  5403. if (prop.type === 'RestElement') {
  5404. extractIdentifiers(prop.argument, nodes);
  5405. }
  5406. else {
  5407. extractIdentifiers(prop.value, nodes);
  5408. }
  5409. }
  5410. break;
  5411. case 'ArrayPattern':
  5412. param.elements.forEach(element => {
  5413. if (element)
  5414. extractIdentifiers(element, nodes);
  5415. });
  5416. break;
  5417. case 'RestElement':
  5418. extractIdentifiers(param.argument, nodes);
  5419. break;
  5420. case 'AssignmentPattern':
  5421. extractIdentifiers(param.left, nodes);
  5422. break;
  5423. }
  5424. return nodes;
  5425. }
  5426. const isFunctionType = (node) => {
  5427. return /Function(?:Expression|Declaration)$|Method$/.test(node.type);
  5428. };
  5429. const isStaticProperty = (node) => node &&
  5430. (node.type === 'ObjectProperty' || node.type === 'ObjectMethod') &&
  5431. !node.computed;
  5432. const isStaticPropertyKey = (node, parent) => isStaticProperty(parent) && parent.key === node;
  5433. // these keywords should not appear inside expressions, but operators like
  5434. // typeof, instanceof and in are allowed
  5435. const prohibitedKeywordRE = new RegExp('\\b' +
  5436. ('do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,' +
  5437. 'super,throw,while,yield,delete,export,import,return,switch,default,' +
  5438. 'extends,finally,continue,debugger,function,arguments,typeof,void')
  5439. .split(',')
  5440. .join('\\b|\\b') +
  5441. '\\b');
  5442. // strip strings in expressions
  5443. const stripStringRE = /'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g;
  5444. /**
  5445. * Validate a non-prefixed expression.
  5446. * This is only called when using the in-browser runtime compiler since it
  5447. * doesn't prefix expressions.
  5448. */
  5449. function validateBrowserExpression(node, context, asParams = false, asRawStatements = false) {
  5450. const exp = node.content;
  5451. // empty expressions are validated per-directive since some directives
  5452. // do allow empty expressions.
  5453. if (!exp.trim()) {
  5454. return;
  5455. }
  5456. try {
  5457. new Function(asRawStatements
  5458. ? ` ${exp} `
  5459. : `return ${asParams ? `(${exp}) => {}` : `(${exp})`}`);
  5460. }
  5461. catch (e) {
  5462. let message = e.message;
  5463. const keywordMatch = exp
  5464. .replace(stripStringRE, '')
  5465. .match(prohibitedKeywordRE);
  5466. if (keywordMatch) {
  5467. message = `avoid using JavaScript keyword as property name: "${keywordMatch[0]}"`;
  5468. }
  5469. context.onError(createCompilerError(44 /* X_INVALID_EXPRESSION */, node.loc, undefined, message));
  5470. }
  5471. }
  5472. const transformExpression = (node, context) => {
  5473. if (node.type === 5 /* INTERPOLATION */) {
  5474. node.content = processExpression(node.content, context);
  5475. }
  5476. else if (node.type === 1 /* ELEMENT */) {
  5477. // handle directives on element
  5478. for (let i = 0; i < node.props.length; i++) {
  5479. const dir = node.props[i];
  5480. // do not process for v-on & v-for since they are special handled
  5481. if (dir.type === 7 /* DIRECTIVE */ && dir.name !== 'for') {
  5482. const exp = dir.exp;
  5483. const arg = dir.arg;
  5484. // do not process exp if this is v-on:arg - we need special handling
  5485. // for wrapping inline statements.
  5486. if (exp &&
  5487. exp.type === 4 /* SIMPLE_EXPRESSION */ &&
  5488. !(dir.name === 'on' && arg)) {
  5489. dir.exp = processExpression(exp, context,
  5490. // slot args must be processed as function params
  5491. dir.name === 'slot');
  5492. }
  5493. if (arg && arg.type === 4 /* SIMPLE_EXPRESSION */ && !arg.isStatic) {
  5494. dir.arg = processExpression(arg, context);
  5495. }
  5496. }
  5497. }
  5498. }
  5499. };
  5500. // Important: since this function uses Node.js only dependencies, it should
  5501. // always be used with a leading !true check so that it can be
  5502. // tree-shaken from the browser build.
  5503. function processExpression(node, context,
  5504. // some expressions like v-slot props & v-for aliases should be parsed as
  5505. // function params
  5506. asParams = false,
  5507. // v-on handler values may contain multiple statements
  5508. asRawStatements = false, localVars = Object.create(context.identifiers)) {
  5509. {
  5510. if ((true)) {
  5511. // simple in-browser validation (same logic in 2.x)
  5512. validateBrowserExpression(node, context, asParams, asRawStatements);
  5513. }
  5514. return node;
  5515. }
  5516. }
  5517. const transformIf = createStructuralDirectiveTransform(/^(if|else|else-if)$/, (node, dir, context) => {
  5518. return processIf(node, dir, context, (ifNode, branch, isRoot) => {
  5519. // #1587: We need to dynamically increment the key based on the current
  5520. // node's sibling nodes, since chained v-if/else branches are
  5521. // rendered at the same depth
  5522. const siblings = context.parent.children;
  5523. let i = siblings.indexOf(ifNode);
  5524. let key = 0;
  5525. while (i-- >= 0) {
  5526. const sibling = siblings[i];
  5527. if (sibling && sibling.type === 9 /* IF */) {
  5528. key += sibling.branches.length;
  5529. }
  5530. }
  5531. // Exit callback. Complete the codegenNode when all children have been
  5532. // transformed.
  5533. return () => {
  5534. if (isRoot) {
  5535. ifNode.codegenNode = createCodegenNodeForBranch(branch, key, context);
  5536. }
  5537. else {
  5538. // attach this branch's codegen node to the v-if root.
  5539. const parentCondition = getParentCondition(ifNode.codegenNode);
  5540. parentCondition.alternate = createCodegenNodeForBranch(branch, key + ifNode.branches.length - 1, context);
  5541. }
  5542. };
  5543. });
  5544. });
  5545. // target-agnostic transform used for both Client and SSR
  5546. function processIf(node, dir, context, processCodegen) {
  5547. if (dir.name !== 'else' &&
  5548. (!dir.exp || !dir.exp.content.trim())) {
  5549. const loc = dir.exp ? dir.exp.loc : node.loc;
  5550. context.onError(createCompilerError(28 /* X_V_IF_NO_EXPRESSION */, dir.loc));
  5551. dir.exp = createSimpleExpression(`true`, false, loc);
  5552. }
  5553. if ( true && dir.exp) {
  5554. validateBrowserExpression(dir.exp, context);
  5555. }
  5556. if (dir.name === 'if') {
  5557. const branch = createIfBranch(node, dir);
  5558. const ifNode = {
  5559. type: 9 /* IF */,
  5560. loc: node.loc,
  5561. branches: [branch]
  5562. };
  5563. context.replaceNode(ifNode);
  5564. if (processCodegen) {
  5565. return processCodegen(ifNode, branch, true);
  5566. }
  5567. }
  5568. else {
  5569. // locate the adjacent v-if
  5570. const siblings = context.parent.children;
  5571. const comments = [];
  5572. let i = siblings.indexOf(node);
  5573. while (i-- >= -1) {
  5574. const sibling = siblings[i];
  5575. if (( true) && sibling && sibling.type === 3 /* COMMENT */) {
  5576. context.removeNode(sibling);
  5577. comments.unshift(sibling);
  5578. continue;
  5579. }
  5580. if (sibling &&
  5581. sibling.type === 2 /* TEXT */ &&
  5582. !sibling.content.trim().length) {
  5583. context.removeNode(sibling);
  5584. continue;
  5585. }
  5586. if (sibling && sibling.type === 9 /* IF */) {
  5587. // Check if v-else was followed by v-else-if
  5588. if (dir.name === 'else-if' &&
  5589. sibling.branches[sibling.branches.length - 1].condition === undefined) {
  5590. context.onError(createCompilerError(30 /* X_V_ELSE_NO_ADJACENT_IF */, node.loc));
  5591. }
  5592. // move the node to the if node's branches
  5593. context.removeNode();
  5594. const branch = createIfBranch(node, dir);
  5595. if (( true) &&
  5596. comments.length &&
  5597. // #3619 ignore comments if the v-if is direct child of <transition>
  5598. !(context.parent &&
  5599. context.parent.type === 1 /* ELEMENT */ &&
  5600. isBuiltInType(context.parent.tag, 'transition'))) {
  5601. branch.children = [...comments, ...branch.children];
  5602. }
  5603. // check if user is forcing same key on different branches
  5604. if (true) {
  5605. const key = branch.userKey;
  5606. if (key) {
  5607. sibling.branches.forEach(({ userKey }) => {
  5608. if (isSameKey(userKey, key)) {
  5609. context.onError(createCompilerError(29 /* X_V_IF_SAME_KEY */, branch.userKey.loc));
  5610. }
  5611. });
  5612. }
  5613. }
  5614. sibling.branches.push(branch);
  5615. const onExit = processCodegen && processCodegen(sibling, branch, false);
  5616. // since the branch was removed, it will not be traversed.
  5617. // make sure to traverse here.
  5618. traverseNode(branch, context);
  5619. // call on exit
  5620. if (onExit)
  5621. onExit();
  5622. // make sure to reset currentNode after traversal to indicate this
  5623. // node has been removed.
  5624. context.currentNode = null;
  5625. }
  5626. else {
  5627. context.onError(createCompilerError(30 /* X_V_ELSE_NO_ADJACENT_IF */, node.loc));
  5628. }
  5629. break;
  5630. }
  5631. }
  5632. }
  5633. function createIfBranch(node, dir) {
  5634. return {
  5635. type: 10 /* IF_BRANCH */,
  5636. loc: node.loc,
  5637. condition: dir.name === 'else' ? undefined : dir.exp,
  5638. children: node.tagType === 3 /* TEMPLATE */ && !findDir(node, 'for')
  5639. ? node.children
  5640. : [node],
  5641. userKey: findProp(node, `key`)
  5642. };
  5643. }
  5644. function createCodegenNodeForBranch(branch, keyIndex, context) {
  5645. if (branch.condition) {
  5646. return createConditionalExpression(branch.condition, createChildrenCodegenNode(branch, keyIndex, context),
  5647. // make sure to pass in asBlock: true so that the comment node call
  5648. // closes the current block.
  5649. createCallExpression(context.helper(CREATE_COMMENT), [
  5650. ( true) ? '"v-if"' : 0,
  5651. 'true'
  5652. ]));
  5653. }
  5654. else {
  5655. return createChildrenCodegenNode(branch, keyIndex, context);
  5656. }
  5657. }
  5658. function createChildrenCodegenNode(branch, keyIndex, context) {
  5659. const { helper } = context;
  5660. const keyProperty = createObjectProperty(`key`, createSimpleExpression(`${keyIndex}`, false, locStub, 2 /* CAN_HOIST */));
  5661. const { children } = branch;
  5662. const firstChild = children[0];
  5663. const needFragmentWrapper = children.length !== 1 || firstChild.type !== 1 /* ELEMENT */;
  5664. if (needFragmentWrapper) {
  5665. if (children.length === 1 && firstChild.type === 11 /* FOR */) {
  5666. // optimize away nested fragments when child is a ForNode
  5667. const vnodeCall = firstChild.codegenNode;
  5668. injectProp(vnodeCall, keyProperty, context);
  5669. return vnodeCall;
  5670. }
  5671. else {
  5672. let patchFlag = 64 /* STABLE_FRAGMENT */;
  5673. let patchFlagText = _vue_shared__WEBPACK_IMPORTED_MODULE_0__.PatchFlagNames[64];
  5674. // check if the fragment actually contains a single valid child with
  5675. // the rest being comments
  5676. if (( true) &&
  5677. children.filter(c => c.type !== 3 /* COMMENT */).length === 1) {
  5678. patchFlag |= 2048 /* DEV_ROOT_FRAGMENT */;
  5679. patchFlagText += `, ${_vue_shared__WEBPACK_IMPORTED_MODULE_0__.PatchFlagNames[2048]}`;
  5680. }
  5681. return createVNodeCall(context, helper(FRAGMENT), createObjectExpression([keyProperty]), children, patchFlag + (( true) ? ` /* ${patchFlagText} */` : 0), undefined, undefined, true, false, false /* isComponent */, branch.loc);
  5682. }
  5683. }
  5684. else {
  5685. const ret = firstChild.codegenNode;
  5686. const vnodeCall = getMemoedVNodeCall(ret);
  5687. // Change createVNode to createBlock.
  5688. if (vnodeCall.type === 13 /* VNODE_CALL */) {
  5689. makeBlock(vnodeCall, context);
  5690. }
  5691. // inject branch key
  5692. injectProp(vnodeCall, keyProperty, context);
  5693. return ret;
  5694. }
  5695. }
  5696. function isSameKey(a, b) {
  5697. if (!a || a.type !== b.type) {
  5698. return false;
  5699. }
  5700. if (a.type === 6 /* ATTRIBUTE */) {
  5701. if (a.value.content !== b.value.content) {
  5702. return false;
  5703. }
  5704. }
  5705. else {
  5706. // directive
  5707. const exp = a.exp;
  5708. const branchExp = b.exp;
  5709. if (exp.type !== branchExp.type) {
  5710. return false;
  5711. }
  5712. if (exp.type !== 4 /* SIMPLE_EXPRESSION */ ||
  5713. exp.isStatic !== branchExp.isStatic ||
  5714. exp.content !== branchExp.content) {
  5715. return false;
  5716. }
  5717. }
  5718. return true;
  5719. }
  5720. function getParentCondition(node) {
  5721. while (true) {
  5722. if (node.type === 19 /* JS_CONDITIONAL_EXPRESSION */) {
  5723. if (node.alternate.type === 19 /* JS_CONDITIONAL_EXPRESSION */) {
  5724. node = node.alternate;
  5725. }
  5726. else {
  5727. return node;
  5728. }
  5729. }
  5730. else if (node.type === 20 /* JS_CACHE_EXPRESSION */) {
  5731. node = node.value;
  5732. }
  5733. }
  5734. }
  5735. const transformFor = createStructuralDirectiveTransform('for', (node, dir, context) => {
  5736. const { helper, removeHelper } = context;
  5737. return processFor(node, dir, context, forNode => {
  5738. // create the loop render function expression now, and add the
  5739. // iterator on exit after all children have been traversed
  5740. const renderExp = createCallExpression(helper(RENDER_LIST), [
  5741. forNode.source
  5742. ]);
  5743. const isTemplate = isTemplateNode(node);
  5744. const memo = findDir(node, 'memo');
  5745. const keyProp = findProp(node, `key`);
  5746. const keyExp = keyProp &&
  5747. (keyProp.type === 6 /* ATTRIBUTE */
  5748. ? createSimpleExpression(keyProp.value.content, true)
  5749. : keyProp.exp);
  5750. const keyProperty = keyProp ? createObjectProperty(`key`, keyExp) : null;
  5751. const isStableFragment = forNode.source.type === 4 /* SIMPLE_EXPRESSION */ &&
  5752. forNode.source.constType > 0 /* NOT_CONSTANT */;
  5753. const fragmentFlag = isStableFragment
  5754. ? 64 /* STABLE_FRAGMENT */
  5755. : keyProp
  5756. ? 128 /* KEYED_FRAGMENT */
  5757. : 256 /* UNKEYED_FRAGMENT */;
  5758. forNode.codegenNode = createVNodeCall(context, helper(FRAGMENT), undefined, renderExp, fragmentFlag +
  5759. (( true) ? ` /* ${_vue_shared__WEBPACK_IMPORTED_MODULE_0__.PatchFlagNames[fragmentFlag]} */` : 0), undefined, undefined, true /* isBlock */, !isStableFragment /* disableTracking */, false /* isComponent */, node.loc);
  5760. return () => {
  5761. // finish the codegen now that all children have been traversed
  5762. let childBlock;
  5763. const { children } = forNode;
  5764. // check <template v-for> key placement
  5765. if (( true) && isTemplate) {
  5766. node.children.some(c => {
  5767. if (c.type === 1 /* ELEMENT */) {
  5768. const key = findProp(c, 'key');
  5769. if (key) {
  5770. context.onError(createCompilerError(33 /* X_V_FOR_TEMPLATE_KEY_PLACEMENT */, key.loc));
  5771. return true;
  5772. }
  5773. }
  5774. });
  5775. }
  5776. const needFragmentWrapper = children.length !== 1 || children[0].type !== 1 /* ELEMENT */;
  5777. const slotOutlet = isSlotOutlet(node)
  5778. ? node
  5779. : isTemplate &&
  5780. node.children.length === 1 &&
  5781. isSlotOutlet(node.children[0])
  5782. ? node.children[0] // api-extractor somehow fails to infer this
  5783. : null;
  5784. if (slotOutlet) {
  5785. // <slot v-for="..."> or <template v-for="..."><slot/></template>
  5786. childBlock = slotOutlet.codegenNode;
  5787. if (isTemplate && keyProperty) {
  5788. // <template v-for="..." :key="..."><slot/></template>
  5789. // we need to inject the key to the renderSlot() call.
  5790. // the props for renderSlot is passed as the 3rd argument.
  5791. injectProp(childBlock, keyProperty, context);
  5792. }
  5793. }
  5794. else if (needFragmentWrapper) {
  5795. // <template v-for="..."> with text or multi-elements
  5796. // should generate a fragment block for each loop
  5797. childBlock = createVNodeCall(context, helper(FRAGMENT), keyProperty ? createObjectExpression([keyProperty]) : undefined, node.children, 64 /* STABLE_FRAGMENT */ +
  5798. (( true)
  5799. ? ` /* ${_vue_shared__WEBPACK_IMPORTED_MODULE_0__.PatchFlagNames[64]} */`
  5800. : 0), undefined, undefined, true, undefined, false /* isComponent */);
  5801. }
  5802. else {
  5803. // Normal element v-for. Directly use the child's codegenNode
  5804. // but mark it as a block.
  5805. childBlock = children[0]
  5806. .codegenNode;
  5807. if (isTemplate && keyProperty) {
  5808. injectProp(childBlock, keyProperty, context);
  5809. }
  5810. if (childBlock.isBlock !== !isStableFragment) {
  5811. if (childBlock.isBlock) {
  5812. // switch from block to vnode
  5813. removeHelper(OPEN_BLOCK);
  5814. removeHelper(getVNodeBlockHelper(context.inSSR, childBlock.isComponent));
  5815. }
  5816. else {
  5817. // switch from vnode to block
  5818. removeHelper(getVNodeHelper(context.inSSR, childBlock.isComponent));
  5819. }
  5820. }
  5821. childBlock.isBlock = !isStableFragment;
  5822. if (childBlock.isBlock) {
  5823. helper(OPEN_BLOCK);
  5824. helper(getVNodeBlockHelper(context.inSSR, childBlock.isComponent));
  5825. }
  5826. else {
  5827. helper(getVNodeHelper(context.inSSR, childBlock.isComponent));
  5828. }
  5829. }
  5830. if (memo) {
  5831. const loop = createFunctionExpression(createForLoopParams(forNode.parseResult, [
  5832. createSimpleExpression(`_cached`)
  5833. ]));
  5834. loop.body = createBlockStatement([
  5835. createCompoundExpression([`const _memo = (`, memo.exp, `)`]),
  5836. createCompoundExpression([
  5837. `if (_cached`,
  5838. ...(keyExp ? [` && _cached.key === `, keyExp] : []),
  5839. ` && ${context.helperString(IS_MEMO_SAME)}(_cached, _memo)) return _cached`
  5840. ]),
  5841. createCompoundExpression([`const _item = `, childBlock]),
  5842. createSimpleExpression(`_item.memo = _memo`),
  5843. createSimpleExpression(`return _item`)
  5844. ]);
  5845. renderExp.arguments.push(loop, createSimpleExpression(`_cache`), createSimpleExpression(String(context.cached++)));
  5846. }
  5847. else {
  5848. renderExp.arguments.push(createFunctionExpression(createForLoopParams(forNode.parseResult), childBlock, true /* force newline */));
  5849. }
  5850. };
  5851. });
  5852. });
  5853. // target-agnostic transform used for both Client and SSR
  5854. function processFor(node, dir, context, processCodegen) {
  5855. if (!dir.exp) {
  5856. context.onError(createCompilerError(31 /* X_V_FOR_NO_EXPRESSION */, dir.loc));
  5857. return;
  5858. }
  5859. const parseResult = parseForExpression(
  5860. // can only be simple expression because vFor transform is applied
  5861. // before expression transform.
  5862. dir.exp, context);
  5863. if (!parseResult) {
  5864. context.onError(createCompilerError(32 /* X_V_FOR_MALFORMED_EXPRESSION */, dir.loc));
  5865. return;
  5866. }
  5867. const { addIdentifiers, removeIdentifiers, scopes } = context;
  5868. const { source, value, key, index } = parseResult;
  5869. const forNode = {
  5870. type: 11 /* FOR */,
  5871. loc: dir.loc,
  5872. source,
  5873. valueAlias: value,
  5874. keyAlias: key,
  5875. objectIndexAlias: index,
  5876. parseResult,
  5877. children: isTemplateNode(node) ? node.children : [node]
  5878. };
  5879. context.replaceNode(forNode);
  5880. // bookkeeping
  5881. scopes.vFor++;
  5882. const onExit = processCodegen && processCodegen(forNode);
  5883. return () => {
  5884. scopes.vFor--;
  5885. if (onExit)
  5886. onExit();
  5887. };
  5888. }
  5889. const forAliasRE = /([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/;
  5890. // This regex doesn't cover the case if key or index aliases have destructuring,
  5891. // but those do not make sense in the first place, so this works in practice.
  5892. const forIteratorRE = /,([^,\}\]]*)(?:,([^,\}\]]*))?$/;
  5893. const stripParensRE = /^\(|\)$/g;
  5894. function parseForExpression(input, context) {
  5895. const loc = input.loc;
  5896. const exp = input.content;
  5897. const inMatch = exp.match(forAliasRE);
  5898. if (!inMatch)
  5899. return;
  5900. const [, LHS, RHS] = inMatch;
  5901. const result = {
  5902. source: createAliasExpression(loc, RHS.trim(), exp.indexOf(RHS, LHS.length)),
  5903. value: undefined,
  5904. key: undefined,
  5905. index: undefined
  5906. };
  5907. if (true) {
  5908. validateBrowserExpression(result.source, context);
  5909. }
  5910. let valueContent = LHS.trim().replace(stripParensRE, '').trim();
  5911. const trimmedOffset = LHS.indexOf(valueContent);
  5912. const iteratorMatch = valueContent.match(forIteratorRE);
  5913. if (iteratorMatch) {
  5914. valueContent = valueContent.replace(forIteratorRE, '').trim();
  5915. const keyContent = iteratorMatch[1].trim();
  5916. let keyOffset;
  5917. if (keyContent) {
  5918. keyOffset = exp.indexOf(keyContent, trimmedOffset + valueContent.length);
  5919. result.key = createAliasExpression(loc, keyContent, keyOffset);
  5920. if (true) {
  5921. validateBrowserExpression(result.key, context, true);
  5922. }
  5923. }
  5924. if (iteratorMatch[2]) {
  5925. const indexContent = iteratorMatch[2].trim();
  5926. if (indexContent) {
  5927. result.index = createAliasExpression(loc, indexContent, exp.indexOf(indexContent, result.key
  5928. ? keyOffset + keyContent.length
  5929. : trimmedOffset + valueContent.length));
  5930. if (true) {
  5931. validateBrowserExpression(result.index, context, true);
  5932. }
  5933. }
  5934. }
  5935. }
  5936. if (valueContent) {
  5937. result.value = createAliasExpression(loc, valueContent, trimmedOffset);
  5938. if (true) {
  5939. validateBrowserExpression(result.value, context, true);
  5940. }
  5941. }
  5942. return result;
  5943. }
  5944. function createAliasExpression(range, content, offset) {
  5945. return createSimpleExpression(content, false, getInnerRange(range, offset, content.length));
  5946. }
  5947. function createForLoopParams({ value, key, index }, memoArgs = []) {
  5948. return createParamsList([value, key, index, ...memoArgs]);
  5949. }
  5950. function createParamsList(args) {
  5951. let i = args.length;
  5952. while (i--) {
  5953. if (args[i])
  5954. break;
  5955. }
  5956. return args
  5957. .slice(0, i + 1)
  5958. .map((arg, i) => arg || createSimpleExpression(`_`.repeat(i + 1), false));
  5959. }
  5960. const defaultFallback = createSimpleExpression(`undefined`, false);
  5961. // A NodeTransform that:
  5962. // 1. Tracks scope identifiers for scoped slots so that they don't get prefixed
  5963. // by transformExpression. This is only applied in non-browser builds with
  5964. // { prefixIdentifiers: true }.
  5965. // 2. Track v-slot depths so that we know a slot is inside another slot.
  5966. // Note the exit callback is executed before buildSlots() on the same node,
  5967. // so only nested slots see positive numbers.
  5968. const trackSlotScopes = (node, context) => {
  5969. if (node.type === 1 /* ELEMENT */ &&
  5970. (node.tagType === 1 /* COMPONENT */ ||
  5971. node.tagType === 3 /* TEMPLATE */)) {
  5972. // We are only checking non-empty v-slot here
  5973. // since we only care about slots that introduce scope variables.
  5974. const vSlot = findDir(node, 'slot');
  5975. if (vSlot) {
  5976. vSlot.exp;
  5977. context.scopes.vSlot++;
  5978. return () => {
  5979. context.scopes.vSlot--;
  5980. };
  5981. }
  5982. }
  5983. };
  5984. // A NodeTransform that tracks scope identifiers for scoped slots with v-for.
  5985. // This transform is only applied in non-browser builds with { prefixIdentifiers: true }
  5986. const trackVForSlotScopes = (node, context) => {
  5987. let vFor;
  5988. if (isTemplateNode(node) &&
  5989. node.props.some(isVSlot) &&
  5990. (vFor = findDir(node, 'for'))) {
  5991. const result = (vFor.parseResult = parseForExpression(vFor.exp, context));
  5992. if (result) {
  5993. const { value, key, index } = result;
  5994. const { addIdentifiers, removeIdentifiers } = context;
  5995. value && addIdentifiers(value);
  5996. key && addIdentifiers(key);
  5997. index && addIdentifiers(index);
  5998. return () => {
  5999. value && removeIdentifiers(value);
  6000. key && removeIdentifiers(key);
  6001. index && removeIdentifiers(index);
  6002. };
  6003. }
  6004. }
  6005. };
  6006. const buildClientSlotFn = (props, children, loc) => createFunctionExpression(props, children, false /* newline */, true /* isSlot */, children.length ? children[0].loc : loc);
  6007. // Instead of being a DirectiveTransform, v-slot processing is called during
  6008. // transformElement to build the slots object for a component.
  6009. function buildSlots(node, context, buildSlotFn = buildClientSlotFn) {
  6010. context.helper(WITH_CTX);
  6011. const { children, loc } = node;
  6012. const slotsProperties = [];
  6013. const dynamicSlots = [];
  6014. // If the slot is inside a v-for or another v-slot, force it to be dynamic
  6015. // since it likely uses a scope variable.
  6016. let hasDynamicSlots = context.scopes.vSlot > 0 || context.scopes.vFor > 0;
  6017. // 1. Check for slot with slotProps on component itself.
  6018. // <Comp v-slot="{ prop }"/>
  6019. const onComponentSlot = findDir(node, 'slot', true);
  6020. if (onComponentSlot) {
  6021. const { arg, exp } = onComponentSlot;
  6022. if (arg && !isStaticExp(arg)) {
  6023. hasDynamicSlots = true;
  6024. }
  6025. slotsProperties.push(createObjectProperty(arg || createSimpleExpression('default', true), buildSlotFn(exp, children, loc)));
  6026. }
  6027. // 2. Iterate through children and check for template slots
  6028. // <template v-slot:foo="{ prop }">
  6029. let hasTemplateSlots = false;
  6030. let hasNamedDefaultSlot = false;
  6031. const implicitDefaultChildren = [];
  6032. const seenSlotNames = new Set();
  6033. for (let i = 0; i < children.length; i++) {
  6034. const slotElement = children[i];
  6035. let slotDir;
  6036. if (!isTemplateNode(slotElement) ||
  6037. !(slotDir = findDir(slotElement, 'slot', true))) {
  6038. // not a <template v-slot>, skip.
  6039. if (slotElement.type !== 3 /* COMMENT */) {
  6040. implicitDefaultChildren.push(slotElement);
  6041. }
  6042. continue;
  6043. }
  6044. if (onComponentSlot) {
  6045. // already has on-component slot - this is incorrect usage.
  6046. context.onError(createCompilerError(37 /* X_V_SLOT_MIXED_SLOT_USAGE */, slotDir.loc));
  6047. break;
  6048. }
  6049. hasTemplateSlots = true;
  6050. const { children: slotChildren, loc: slotLoc } = slotElement;
  6051. const { arg: slotName = createSimpleExpression(`default`, true), exp: slotProps, loc: dirLoc } = slotDir;
  6052. // check if name is dynamic.
  6053. let staticSlotName;
  6054. if (isStaticExp(slotName)) {
  6055. staticSlotName = slotName ? slotName.content : `default`;
  6056. }
  6057. else {
  6058. hasDynamicSlots = true;
  6059. }
  6060. const slotFunction = buildSlotFn(slotProps, slotChildren, slotLoc);
  6061. // check if this slot is conditional (v-if/v-for)
  6062. let vIf;
  6063. let vElse;
  6064. let vFor;
  6065. if ((vIf = findDir(slotElement, 'if'))) {
  6066. hasDynamicSlots = true;
  6067. dynamicSlots.push(createConditionalExpression(vIf.exp, buildDynamicSlot(slotName, slotFunction), defaultFallback));
  6068. }
  6069. else if ((vElse = findDir(slotElement, /^else(-if)?$/, true /* allowEmpty */))) {
  6070. // find adjacent v-if
  6071. let j = i;
  6072. let prev;
  6073. while (j--) {
  6074. prev = children[j];
  6075. if (prev.type !== 3 /* COMMENT */) {
  6076. break;
  6077. }
  6078. }
  6079. if (prev && isTemplateNode(prev) && findDir(prev, 'if')) {
  6080. // remove node
  6081. children.splice(i, 1);
  6082. i--;
  6083. // attach this slot to previous conditional
  6084. let conditional = dynamicSlots[dynamicSlots.length - 1];
  6085. while (conditional.alternate.type === 19 /* JS_CONDITIONAL_EXPRESSION */) {
  6086. conditional = conditional.alternate;
  6087. }
  6088. conditional.alternate = vElse.exp
  6089. ? createConditionalExpression(vElse.exp, buildDynamicSlot(slotName, slotFunction), defaultFallback)
  6090. : buildDynamicSlot(slotName, slotFunction);
  6091. }
  6092. else {
  6093. context.onError(createCompilerError(30 /* X_V_ELSE_NO_ADJACENT_IF */, vElse.loc));
  6094. }
  6095. }
  6096. else if ((vFor = findDir(slotElement, 'for'))) {
  6097. hasDynamicSlots = true;
  6098. const parseResult = vFor.parseResult ||
  6099. parseForExpression(vFor.exp, context);
  6100. if (parseResult) {
  6101. // Render the dynamic slots as an array and add it to the createSlot()
  6102. // args. The runtime knows how to handle it appropriately.
  6103. dynamicSlots.push(createCallExpression(context.helper(RENDER_LIST), [
  6104. parseResult.source,
  6105. createFunctionExpression(createForLoopParams(parseResult), buildDynamicSlot(slotName, slotFunction), true /* force newline */)
  6106. ]));
  6107. }
  6108. else {
  6109. context.onError(createCompilerError(32 /* X_V_FOR_MALFORMED_EXPRESSION */, vFor.loc));
  6110. }
  6111. }
  6112. else {
  6113. // check duplicate static names
  6114. if (staticSlotName) {
  6115. if (seenSlotNames.has(staticSlotName)) {
  6116. context.onError(createCompilerError(38 /* X_V_SLOT_DUPLICATE_SLOT_NAMES */, dirLoc));
  6117. continue;
  6118. }
  6119. seenSlotNames.add(staticSlotName);
  6120. if (staticSlotName === 'default') {
  6121. hasNamedDefaultSlot = true;
  6122. }
  6123. }
  6124. slotsProperties.push(createObjectProperty(slotName, slotFunction));
  6125. }
  6126. }
  6127. if (!onComponentSlot) {
  6128. const buildDefaultSlotProperty = (props, children) => {
  6129. const fn = buildSlotFn(props, children, loc);
  6130. if (context.compatConfig) {
  6131. fn.isNonScopedSlot = true;
  6132. }
  6133. return createObjectProperty(`default`, fn);
  6134. };
  6135. if (!hasTemplateSlots) {
  6136. // implicit default slot (on component)
  6137. slotsProperties.push(buildDefaultSlotProperty(undefined, children));
  6138. }
  6139. else if (implicitDefaultChildren.length &&
  6140. // #3766
  6141. // with whitespace: 'preserve', whitespaces between slots will end up in
  6142. // implicitDefaultChildren. Ignore if all implicit children are whitespaces.
  6143. implicitDefaultChildren.some(node => isNonWhitespaceContent(node))) {
  6144. // implicit default slot (mixed with named slots)
  6145. if (hasNamedDefaultSlot) {
  6146. context.onError(createCompilerError(39 /* X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN */, implicitDefaultChildren[0].loc));
  6147. }
  6148. else {
  6149. slotsProperties.push(buildDefaultSlotProperty(undefined, implicitDefaultChildren));
  6150. }
  6151. }
  6152. }
  6153. const slotFlag = hasDynamicSlots
  6154. ? 2 /* DYNAMIC */
  6155. : hasForwardedSlots(node.children)
  6156. ? 3 /* FORWARDED */
  6157. : 1 /* STABLE */;
  6158. let slots = createObjectExpression(slotsProperties.concat(createObjectProperty(`_`,
  6159. // 2 = compiled but dynamic = can skip normalization, but must run diff
  6160. // 1 = compiled and static = can skip normalization AND diff as optimized
  6161. createSimpleExpression(slotFlag + (( true) ? ` /* ${_vue_shared__WEBPACK_IMPORTED_MODULE_0__.slotFlagsText[slotFlag]} */` : 0), false))), loc);
  6162. if (dynamicSlots.length) {
  6163. slots = createCallExpression(context.helper(CREATE_SLOTS), [
  6164. slots,
  6165. createArrayExpression(dynamicSlots)
  6166. ]);
  6167. }
  6168. return {
  6169. slots,
  6170. hasDynamicSlots
  6171. };
  6172. }
  6173. function buildDynamicSlot(name, fn) {
  6174. return createObjectExpression([
  6175. createObjectProperty(`name`, name),
  6176. createObjectProperty(`fn`, fn)
  6177. ]);
  6178. }
  6179. function hasForwardedSlots(children) {
  6180. for (let i = 0; i < children.length; i++) {
  6181. const child = children[i];
  6182. switch (child.type) {
  6183. case 1 /* ELEMENT */:
  6184. if (child.tagType === 2 /* SLOT */ ||
  6185. hasForwardedSlots(child.children)) {
  6186. return true;
  6187. }
  6188. break;
  6189. case 9 /* IF */:
  6190. if (hasForwardedSlots(child.branches))
  6191. return true;
  6192. break;
  6193. case 10 /* IF_BRANCH */:
  6194. case 11 /* FOR */:
  6195. if (hasForwardedSlots(child.children))
  6196. return true;
  6197. break;
  6198. }
  6199. }
  6200. return false;
  6201. }
  6202. function isNonWhitespaceContent(node) {
  6203. if (node.type !== 2 /* TEXT */ && node.type !== 12 /* TEXT_CALL */)
  6204. return true;
  6205. return node.type === 2 /* TEXT */
  6206. ? !!node.content.trim()
  6207. : isNonWhitespaceContent(node.content);
  6208. }
  6209. // some directive transforms (e.g. v-model) may return a symbol for runtime
  6210. // import, which should be used instead of a resolveDirective call.
  6211. const directiveImportMap = new WeakMap();
  6212. // generate a JavaScript AST for this element's codegen
  6213. const transformElement = (node, context) => {
  6214. // perform the work on exit, after all child expressions have been
  6215. // processed and merged.
  6216. return function postTransformElement() {
  6217. node = context.currentNode;
  6218. if (!(node.type === 1 /* ELEMENT */ &&
  6219. (node.tagType === 0 /* ELEMENT */ ||
  6220. node.tagType === 1 /* COMPONENT */))) {
  6221. return;
  6222. }
  6223. const { tag, props } = node;
  6224. const isComponent = node.tagType === 1 /* COMPONENT */;
  6225. // The goal of the transform is to create a codegenNode implementing the
  6226. // VNodeCall interface.
  6227. let vnodeTag = isComponent
  6228. ? resolveComponentType(node, context)
  6229. : `"${tag}"`;
  6230. const isDynamicComponent = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isObject)(vnodeTag) && vnodeTag.callee === RESOLVE_DYNAMIC_COMPONENT;
  6231. let vnodeProps;
  6232. let vnodeChildren;
  6233. let vnodePatchFlag;
  6234. let patchFlag = 0;
  6235. let vnodeDynamicProps;
  6236. let dynamicPropNames;
  6237. let vnodeDirectives;
  6238. let shouldUseBlock =
  6239. // dynamic component may resolve to plain elements
  6240. isDynamicComponent ||
  6241. vnodeTag === TELEPORT ||
  6242. vnodeTag === SUSPENSE ||
  6243. (!isComponent &&
  6244. // <svg> and <foreignObject> must be forced into blocks so that block
  6245. // updates inside get proper isSVG flag at runtime. (#639, #643)
  6246. // This is technically web-specific, but splitting the logic out of core
  6247. // leads to too much unnecessary complexity.
  6248. (tag === 'svg' || tag === 'foreignObject'));
  6249. // props
  6250. if (props.length > 0) {
  6251. const propsBuildResult = buildProps(node, context);
  6252. vnodeProps = propsBuildResult.props;
  6253. patchFlag = propsBuildResult.patchFlag;
  6254. dynamicPropNames = propsBuildResult.dynamicPropNames;
  6255. const directives = propsBuildResult.directives;
  6256. vnodeDirectives =
  6257. directives && directives.length
  6258. ? createArrayExpression(directives.map(dir => buildDirectiveArgs(dir, context)))
  6259. : undefined;
  6260. if (propsBuildResult.shouldUseBlock) {
  6261. shouldUseBlock = true;
  6262. }
  6263. }
  6264. // children
  6265. if (node.children.length > 0) {
  6266. if (vnodeTag === KEEP_ALIVE) {
  6267. // Although a built-in component, we compile KeepAlive with raw children
  6268. // instead of slot functions so that it can be used inside Transition
  6269. // or other Transition-wrapping HOCs.
  6270. // To ensure correct updates with block optimizations, we need to:
  6271. // 1. Force keep-alive into a block. This avoids its children being
  6272. // collected by a parent block.
  6273. shouldUseBlock = true;
  6274. // 2. Force keep-alive to always be updated, since it uses raw children.
  6275. patchFlag |= 1024 /* DYNAMIC_SLOTS */;
  6276. if (( true) && node.children.length > 1) {
  6277. context.onError(createCompilerError(45 /* X_KEEP_ALIVE_INVALID_CHILDREN */, {
  6278. start: node.children[0].loc.start,
  6279. end: node.children[node.children.length - 1].loc.end,
  6280. source: ''
  6281. }));
  6282. }
  6283. }
  6284. const shouldBuildAsSlots = isComponent &&
  6285. // Teleport is not a real component and has dedicated runtime handling
  6286. vnodeTag !== TELEPORT &&
  6287. // explained above.
  6288. vnodeTag !== KEEP_ALIVE;
  6289. if (shouldBuildAsSlots) {
  6290. const { slots, hasDynamicSlots } = buildSlots(node, context);
  6291. vnodeChildren = slots;
  6292. if (hasDynamicSlots) {
  6293. patchFlag |= 1024 /* DYNAMIC_SLOTS */;
  6294. }
  6295. }
  6296. else if (node.children.length === 1 && vnodeTag !== TELEPORT) {
  6297. const child = node.children[0];
  6298. const type = child.type;
  6299. // check for dynamic text children
  6300. const hasDynamicTextChild = type === 5 /* INTERPOLATION */ ||
  6301. type === 8 /* COMPOUND_EXPRESSION */;
  6302. if (hasDynamicTextChild &&
  6303. getConstantType(child, context) === 0 /* NOT_CONSTANT */) {
  6304. patchFlag |= 1 /* TEXT */;
  6305. }
  6306. // pass directly if the only child is a text node
  6307. // (plain / interpolation / expression)
  6308. if (hasDynamicTextChild || type === 2 /* TEXT */) {
  6309. vnodeChildren = child;
  6310. }
  6311. else {
  6312. vnodeChildren = node.children;
  6313. }
  6314. }
  6315. else {
  6316. vnodeChildren = node.children;
  6317. }
  6318. }
  6319. // patchFlag & dynamicPropNames
  6320. if (patchFlag !== 0) {
  6321. if ((true)) {
  6322. if (patchFlag < 0) {
  6323. // special flags (negative and mutually exclusive)
  6324. vnodePatchFlag = patchFlag + ` /* ${_vue_shared__WEBPACK_IMPORTED_MODULE_0__.PatchFlagNames[patchFlag]} */`;
  6325. }
  6326. else {
  6327. // bitwise flags
  6328. const flagNames = Object.keys(_vue_shared__WEBPACK_IMPORTED_MODULE_0__.PatchFlagNames)
  6329. .map(Number)
  6330. .filter(n => n > 0 && patchFlag & n)
  6331. .map(n => _vue_shared__WEBPACK_IMPORTED_MODULE_0__.PatchFlagNames[n])
  6332. .join(`, `);
  6333. vnodePatchFlag = patchFlag + ` /* ${flagNames} */`;
  6334. }
  6335. }
  6336. else {}
  6337. if (dynamicPropNames && dynamicPropNames.length) {
  6338. vnodeDynamicProps = stringifyDynamicPropNames(dynamicPropNames);
  6339. }
  6340. }
  6341. node.codegenNode = createVNodeCall(context, vnodeTag, vnodeProps, vnodeChildren, vnodePatchFlag, vnodeDynamicProps, vnodeDirectives, !!shouldUseBlock, false /* disableTracking */, isComponent, node.loc);
  6342. };
  6343. };
  6344. function resolveComponentType(node, context, ssr = false) {
  6345. let { tag } = node;
  6346. // 1. dynamic component
  6347. const isExplicitDynamic = isComponentTag(tag);
  6348. const isProp = findProp(node, 'is');
  6349. if (isProp) {
  6350. if (isExplicitDynamic ||
  6351. (isCompatEnabled("COMPILER_IS_ON_ELEMENT" /* COMPILER_IS_ON_ELEMENT */, context))) {
  6352. const exp = isProp.type === 6 /* ATTRIBUTE */
  6353. ? isProp.value && createSimpleExpression(isProp.value.content, true)
  6354. : isProp.exp;
  6355. if (exp) {
  6356. return createCallExpression(context.helper(RESOLVE_DYNAMIC_COMPONENT), [
  6357. exp
  6358. ]);
  6359. }
  6360. }
  6361. else if (isProp.type === 6 /* ATTRIBUTE */ &&
  6362. isProp.value.content.startsWith('vue:')) {
  6363. // <button is="vue:xxx">
  6364. // if not <component>, only is value that starts with "vue:" will be
  6365. // treated as component by the parse phase and reach here, unless it's
  6366. // compat mode where all is values are considered components
  6367. tag = isProp.value.content.slice(4);
  6368. }
  6369. }
  6370. // 1.5 v-is (TODO: Deprecate)
  6371. const isDir = !isExplicitDynamic && findDir(node, 'is');
  6372. if (isDir && isDir.exp) {
  6373. return createCallExpression(context.helper(RESOLVE_DYNAMIC_COMPONENT), [
  6374. isDir.exp
  6375. ]);
  6376. }
  6377. // 2. built-in components (Teleport, Transition, KeepAlive, Suspense...)
  6378. const builtIn = isCoreComponent(tag) || context.isBuiltInComponent(tag);
  6379. if (builtIn) {
  6380. // built-ins are simply fallthroughs / have special handling during ssr
  6381. // so we don't need to import their runtime equivalents
  6382. if (!ssr)
  6383. context.helper(builtIn);
  6384. return builtIn;
  6385. }
  6386. // 5. user component (resolve)
  6387. context.helper(RESOLVE_COMPONENT);
  6388. context.components.add(tag);
  6389. return toValidAssetId(tag, `component`);
  6390. }
  6391. function buildProps(node, context, props = node.props, ssr = false) {
  6392. const { tag, loc: elementLoc, children } = node;
  6393. const isComponent = node.tagType === 1 /* COMPONENT */;
  6394. let properties = [];
  6395. const mergeArgs = [];
  6396. const runtimeDirectives = [];
  6397. const hasChildren = children.length > 0;
  6398. let shouldUseBlock = false;
  6399. // patchFlag analysis
  6400. let patchFlag = 0;
  6401. let hasRef = false;
  6402. let hasClassBinding = false;
  6403. let hasStyleBinding = false;
  6404. let hasHydrationEventBinding = false;
  6405. let hasDynamicKeys = false;
  6406. let hasVnodeHook = false;
  6407. const dynamicPropNames = [];
  6408. const analyzePatchFlag = ({ key, value }) => {
  6409. if (isStaticExp(key)) {
  6410. const name = key.content;
  6411. const isEventHandler = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isOn)(name);
  6412. if (!isComponent &&
  6413. isEventHandler &&
  6414. // omit the flag for click handlers because hydration gives click
  6415. // dedicated fast path.
  6416. name.toLowerCase() !== 'onclick' &&
  6417. // omit v-model handlers
  6418. name !== 'onUpdate:modelValue' &&
  6419. // omit onVnodeXXX hooks
  6420. !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isReservedProp)(name)) {
  6421. hasHydrationEventBinding = true;
  6422. }
  6423. if (isEventHandler && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isReservedProp)(name)) {
  6424. hasVnodeHook = true;
  6425. }
  6426. if (value.type === 20 /* JS_CACHE_EXPRESSION */ ||
  6427. ((value.type === 4 /* SIMPLE_EXPRESSION */ ||
  6428. value.type === 8 /* COMPOUND_EXPRESSION */) &&
  6429. getConstantType(value, context) > 0)) {
  6430. // skip if the prop is a cached handler or has constant value
  6431. return;
  6432. }
  6433. if (name === 'ref') {
  6434. hasRef = true;
  6435. }
  6436. else if (name === 'class') {
  6437. hasClassBinding = true;
  6438. }
  6439. else if (name === 'style') {
  6440. hasStyleBinding = true;
  6441. }
  6442. else if (name !== 'key' && !dynamicPropNames.includes(name)) {
  6443. dynamicPropNames.push(name);
  6444. }
  6445. // treat the dynamic class and style binding of the component as dynamic props
  6446. if (isComponent &&
  6447. (name === 'class' || name === 'style') &&
  6448. !dynamicPropNames.includes(name)) {
  6449. dynamicPropNames.push(name);
  6450. }
  6451. }
  6452. else {
  6453. hasDynamicKeys = true;
  6454. }
  6455. };
  6456. for (let i = 0; i < props.length; i++) {
  6457. // static attribute
  6458. const prop = props[i];
  6459. if (prop.type === 6 /* ATTRIBUTE */) {
  6460. const { loc, name, value } = prop;
  6461. let isStatic = true;
  6462. if (name === 'ref') {
  6463. hasRef = true;
  6464. if (context.scopes.vFor > 0) {
  6465. properties.push(createObjectProperty(createSimpleExpression('ref_for', true), createSimpleExpression('true')));
  6466. }
  6467. }
  6468. // skip is on <component>, or is="vue:xxx"
  6469. if (name === 'is' &&
  6470. (isComponentTag(tag) ||
  6471. (value && value.content.startsWith('vue:')) ||
  6472. (isCompatEnabled("COMPILER_IS_ON_ELEMENT" /* COMPILER_IS_ON_ELEMENT */, context)))) {
  6473. continue;
  6474. }
  6475. properties.push(createObjectProperty(createSimpleExpression(name, true, getInnerRange(loc, 0, name.length)), createSimpleExpression(value ? value.content : '', isStatic, value ? value.loc : loc)));
  6476. }
  6477. else {
  6478. // directives
  6479. const { name, arg, exp, loc } = prop;
  6480. const isVBind = name === 'bind';
  6481. const isVOn = name === 'on';
  6482. // skip v-slot - it is handled by its dedicated transform.
  6483. if (name === 'slot') {
  6484. if (!isComponent) {
  6485. context.onError(createCompilerError(40 /* X_V_SLOT_MISPLACED */, loc));
  6486. }
  6487. continue;
  6488. }
  6489. // skip v-once/v-memo - they are handled by dedicated transforms.
  6490. if (name === 'once' || name === 'memo') {
  6491. continue;
  6492. }
  6493. // skip v-is and :is on <component>
  6494. if (name === 'is' ||
  6495. (isVBind &&
  6496. isStaticArgOf(arg, 'is') &&
  6497. (isComponentTag(tag) ||
  6498. (isCompatEnabled("COMPILER_IS_ON_ELEMENT" /* COMPILER_IS_ON_ELEMENT */, context))))) {
  6499. continue;
  6500. }
  6501. // skip v-on in SSR compilation
  6502. if (isVOn && ssr) {
  6503. continue;
  6504. }
  6505. if (
  6506. // #938: elements with dynamic keys should be forced into blocks
  6507. (isVBind && isStaticArgOf(arg, 'key')) ||
  6508. // inline before-update hooks need to force block so that it is invoked
  6509. // before children
  6510. (isVOn && hasChildren && isStaticArgOf(arg, 'vue:before-update'))) {
  6511. shouldUseBlock = true;
  6512. }
  6513. if (isVBind && isStaticArgOf(arg, 'ref') && context.scopes.vFor > 0) {
  6514. properties.push(createObjectProperty(createSimpleExpression('ref_for', true), createSimpleExpression('true')));
  6515. }
  6516. // special case for v-bind and v-on with no argument
  6517. if (!arg && (isVBind || isVOn)) {
  6518. hasDynamicKeys = true;
  6519. if (exp) {
  6520. if (properties.length) {
  6521. mergeArgs.push(createObjectExpression(dedupeProperties(properties), elementLoc));
  6522. properties = [];
  6523. }
  6524. if (isVBind) {
  6525. {
  6526. // 2.x v-bind object order compat
  6527. if ((true)) {
  6528. const hasOverridableKeys = mergeArgs.some(arg => {
  6529. if (arg.type === 15 /* JS_OBJECT_EXPRESSION */) {
  6530. return arg.properties.some(({ key }) => {
  6531. if (key.type !== 4 /* SIMPLE_EXPRESSION */ ||
  6532. !key.isStatic) {
  6533. return true;
  6534. }
  6535. return (key.content !== 'class' &&
  6536. key.content !== 'style' &&
  6537. !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isOn)(key.content));
  6538. });
  6539. }
  6540. else {
  6541. // dynamic expression
  6542. return true;
  6543. }
  6544. });
  6545. if (hasOverridableKeys) {
  6546. checkCompatEnabled("COMPILER_V_BIND_OBJECT_ORDER" /* COMPILER_V_BIND_OBJECT_ORDER */, context, loc);
  6547. }
  6548. }
  6549. if (isCompatEnabled("COMPILER_V_BIND_OBJECT_ORDER" /* COMPILER_V_BIND_OBJECT_ORDER */, context)) {
  6550. mergeArgs.unshift(exp);
  6551. continue;
  6552. }
  6553. }
  6554. mergeArgs.push(exp);
  6555. }
  6556. else {
  6557. // v-on="obj" -> toHandlers(obj)
  6558. mergeArgs.push({
  6559. type: 14 /* JS_CALL_EXPRESSION */,
  6560. loc,
  6561. callee: context.helper(TO_HANDLERS),
  6562. arguments: [exp]
  6563. });
  6564. }
  6565. }
  6566. else {
  6567. context.onError(createCompilerError(isVBind
  6568. ? 34 /* X_V_BIND_NO_EXPRESSION */
  6569. : 35 /* X_V_ON_NO_EXPRESSION */, loc));
  6570. }
  6571. continue;
  6572. }
  6573. const directiveTransform = context.directiveTransforms[name];
  6574. if (directiveTransform) {
  6575. // has built-in directive transform.
  6576. const { props, needRuntime } = directiveTransform(prop, node, context);
  6577. !ssr && props.forEach(analyzePatchFlag);
  6578. properties.push(...props);
  6579. if (needRuntime) {
  6580. runtimeDirectives.push(prop);
  6581. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isSymbol)(needRuntime)) {
  6582. directiveImportMap.set(prop, needRuntime);
  6583. }
  6584. }
  6585. }
  6586. else if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isBuiltInDirective)(name)) {
  6587. // no built-in transform, this is a user custom directive.
  6588. runtimeDirectives.push(prop);
  6589. // custom dirs may use beforeUpdate so they need to force blocks
  6590. // to ensure before-update gets called before children update
  6591. if (hasChildren) {
  6592. shouldUseBlock = true;
  6593. }
  6594. }
  6595. }
  6596. }
  6597. let propsExpression = undefined;
  6598. // has v-bind="object" or v-on="object", wrap with mergeProps
  6599. if (mergeArgs.length) {
  6600. if (properties.length) {
  6601. mergeArgs.push(createObjectExpression(dedupeProperties(properties), elementLoc));
  6602. }
  6603. if (mergeArgs.length > 1) {
  6604. propsExpression = createCallExpression(context.helper(MERGE_PROPS), mergeArgs, elementLoc);
  6605. }
  6606. else {
  6607. // single v-bind with nothing else - no need for a mergeProps call
  6608. propsExpression = mergeArgs[0];
  6609. }
  6610. }
  6611. else if (properties.length) {
  6612. propsExpression = createObjectExpression(dedupeProperties(properties), elementLoc);
  6613. }
  6614. // patchFlag analysis
  6615. if (hasDynamicKeys) {
  6616. patchFlag |= 16 /* FULL_PROPS */;
  6617. }
  6618. else {
  6619. if (hasClassBinding && !isComponent) {
  6620. patchFlag |= 2 /* CLASS */;
  6621. }
  6622. if (hasStyleBinding && !isComponent) {
  6623. patchFlag |= 4 /* STYLE */;
  6624. }
  6625. if (dynamicPropNames.length) {
  6626. patchFlag |= 8 /* PROPS */;
  6627. }
  6628. if (hasHydrationEventBinding) {
  6629. patchFlag |= 32 /* HYDRATE_EVENTS */;
  6630. }
  6631. }
  6632. if (!shouldUseBlock &&
  6633. (patchFlag === 0 || patchFlag === 32 /* HYDRATE_EVENTS */) &&
  6634. (hasRef || hasVnodeHook || runtimeDirectives.length > 0)) {
  6635. patchFlag |= 512 /* NEED_PATCH */;
  6636. }
  6637. // pre-normalize props, SSR is skipped for now
  6638. if (!context.inSSR && propsExpression) {
  6639. switch (propsExpression.type) {
  6640. case 15 /* JS_OBJECT_EXPRESSION */:
  6641. // means that there is no v-bind,
  6642. // but still need to deal with dynamic key binding
  6643. let classKeyIndex = -1;
  6644. let styleKeyIndex = -1;
  6645. let hasDynamicKey = false;
  6646. for (let i = 0; i < propsExpression.properties.length; i++) {
  6647. const key = propsExpression.properties[i].key;
  6648. if (isStaticExp(key)) {
  6649. if (key.content === 'class') {
  6650. classKeyIndex = i;
  6651. }
  6652. else if (key.content === 'style') {
  6653. styleKeyIndex = i;
  6654. }
  6655. }
  6656. else if (!key.isHandlerKey) {
  6657. hasDynamicKey = true;
  6658. }
  6659. }
  6660. const classProp = propsExpression.properties[classKeyIndex];
  6661. const styleProp = propsExpression.properties[styleKeyIndex];
  6662. // no dynamic key
  6663. if (!hasDynamicKey) {
  6664. if (classProp && !isStaticExp(classProp.value)) {
  6665. classProp.value = createCallExpression(context.helper(NORMALIZE_CLASS), [classProp.value]);
  6666. }
  6667. if (styleProp &&
  6668. !isStaticExp(styleProp.value) &&
  6669. // the static style is compiled into an object,
  6670. // so use `hasStyleBinding` to ensure that it is a dynamic style binding
  6671. (hasStyleBinding ||
  6672. // v-bind:style and style both exist,
  6673. // v-bind:style with static literal object
  6674. styleProp.value.type === 17 /* JS_ARRAY_EXPRESSION */)) {
  6675. styleProp.value = createCallExpression(context.helper(NORMALIZE_STYLE), [styleProp.value]);
  6676. }
  6677. }
  6678. else {
  6679. // dynamic key binding, wrap with `normalizeProps`
  6680. propsExpression = createCallExpression(context.helper(NORMALIZE_PROPS), [propsExpression]);
  6681. }
  6682. break;
  6683. case 14 /* JS_CALL_EXPRESSION */:
  6684. // mergeProps call, do nothing
  6685. break;
  6686. default:
  6687. // single v-bind
  6688. propsExpression = createCallExpression(context.helper(NORMALIZE_PROPS), [
  6689. createCallExpression(context.helper(GUARD_REACTIVE_PROPS), [
  6690. propsExpression
  6691. ])
  6692. ]);
  6693. break;
  6694. }
  6695. }
  6696. return {
  6697. props: propsExpression,
  6698. directives: runtimeDirectives,
  6699. patchFlag,
  6700. dynamicPropNames,
  6701. shouldUseBlock
  6702. };
  6703. }
  6704. // Dedupe props in an object literal.
  6705. // Literal duplicated attributes would have been warned during the parse phase,
  6706. // however, it's possible to encounter duplicated `onXXX` handlers with different
  6707. // modifiers. We also need to merge static and dynamic class / style attributes.
  6708. // - onXXX handlers / style: merge into array
  6709. // - class: merge into single expression with concatenation
  6710. function dedupeProperties(properties) {
  6711. const knownProps = new Map();
  6712. const deduped = [];
  6713. for (let i = 0; i < properties.length; i++) {
  6714. const prop = properties[i];
  6715. // dynamic keys are always allowed
  6716. if (prop.key.type === 8 /* COMPOUND_EXPRESSION */ || !prop.key.isStatic) {
  6717. deduped.push(prop);
  6718. continue;
  6719. }
  6720. const name = prop.key.content;
  6721. const existing = knownProps.get(name);
  6722. if (existing) {
  6723. if (name === 'style' || name === 'class' || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isOn)(name)) {
  6724. mergeAsArray(existing, prop);
  6725. }
  6726. // unexpected duplicate, should have emitted error during parse
  6727. }
  6728. else {
  6729. knownProps.set(name, prop);
  6730. deduped.push(prop);
  6731. }
  6732. }
  6733. return deduped;
  6734. }
  6735. function mergeAsArray(existing, incoming) {
  6736. if (existing.value.type === 17 /* JS_ARRAY_EXPRESSION */) {
  6737. existing.value.elements.push(incoming.value);
  6738. }
  6739. else {
  6740. existing.value = createArrayExpression([existing.value, incoming.value], existing.loc);
  6741. }
  6742. }
  6743. function buildDirectiveArgs(dir, context) {
  6744. const dirArgs = [];
  6745. const runtime = directiveImportMap.get(dir);
  6746. if (runtime) {
  6747. // built-in directive with runtime
  6748. dirArgs.push(context.helperString(runtime));
  6749. }
  6750. else {
  6751. {
  6752. // inject statement for resolving directive
  6753. context.helper(RESOLVE_DIRECTIVE);
  6754. context.directives.add(dir.name);
  6755. dirArgs.push(toValidAssetId(dir.name, `directive`));
  6756. }
  6757. }
  6758. const { loc } = dir;
  6759. if (dir.exp)
  6760. dirArgs.push(dir.exp);
  6761. if (dir.arg) {
  6762. if (!dir.exp) {
  6763. dirArgs.push(`void 0`);
  6764. }
  6765. dirArgs.push(dir.arg);
  6766. }
  6767. if (Object.keys(dir.modifiers).length) {
  6768. if (!dir.arg) {
  6769. if (!dir.exp) {
  6770. dirArgs.push(`void 0`);
  6771. }
  6772. dirArgs.push(`void 0`);
  6773. }
  6774. const trueExpression = createSimpleExpression(`true`, false, loc);
  6775. dirArgs.push(createObjectExpression(dir.modifiers.map(modifier => createObjectProperty(modifier, trueExpression)), loc));
  6776. }
  6777. return createArrayExpression(dirArgs, dir.loc);
  6778. }
  6779. function stringifyDynamicPropNames(props) {
  6780. let propsNamesString = `[`;
  6781. for (let i = 0, l = props.length; i < l; i++) {
  6782. propsNamesString += JSON.stringify(props[i]);
  6783. if (i < l - 1)
  6784. propsNamesString += ', ';
  6785. }
  6786. return propsNamesString + `]`;
  6787. }
  6788. function isComponentTag(tag) {
  6789. return tag === 'component' || tag === 'Component';
  6790. }
  6791. ( true)
  6792. ? Object.freeze({})
  6793. : 0;
  6794. ( true) ? Object.freeze([]) : 0;
  6795. const cacheStringFunction = (fn) => {
  6796. const cache = Object.create(null);
  6797. return ((str) => {
  6798. const hit = cache[str];
  6799. return hit || (cache[str] = fn(str));
  6800. });
  6801. };
  6802. const camelizeRE = /-(\w)/g;
  6803. /**
  6804. * @private
  6805. */
  6806. const camelize = cacheStringFunction((str) => {
  6807. return str.replace(camelizeRE, (_, c) => (c ? c.toUpperCase() : ''));
  6808. });
  6809. const transformSlotOutlet = (node, context) => {
  6810. if (isSlotOutlet(node)) {
  6811. const { children, loc } = node;
  6812. const { slotName, slotProps } = processSlotOutlet(node, context);
  6813. const slotArgs = [
  6814. context.prefixIdentifiers ? `_ctx.$slots` : `$slots`,
  6815. slotName,
  6816. '{}',
  6817. 'undefined',
  6818. 'true'
  6819. ];
  6820. let expectedLen = 2;
  6821. if (slotProps) {
  6822. slotArgs[2] = slotProps;
  6823. expectedLen = 3;
  6824. }
  6825. if (children.length) {
  6826. slotArgs[3] = createFunctionExpression([], children, false, false, loc);
  6827. expectedLen = 4;
  6828. }
  6829. if (context.scopeId && !context.slotted) {
  6830. expectedLen = 5;
  6831. }
  6832. slotArgs.splice(expectedLen); // remove unused arguments
  6833. node.codegenNode = createCallExpression(context.helper(RENDER_SLOT), slotArgs, loc);
  6834. }
  6835. };
  6836. function processSlotOutlet(node, context) {
  6837. let slotName = `"default"`;
  6838. let slotProps = undefined;
  6839. const nonNameProps = [];
  6840. for (let i = 0; i < node.props.length; i++) {
  6841. const p = node.props[i];
  6842. if (p.type === 6 /* ATTRIBUTE */) {
  6843. if (p.value) {
  6844. if (p.name === 'name') {
  6845. slotName = JSON.stringify(p.value.content);
  6846. }
  6847. else {
  6848. p.name = camelize(p.name);
  6849. nonNameProps.push(p);
  6850. }
  6851. }
  6852. }
  6853. else {
  6854. if (p.name === 'bind' && isStaticArgOf(p.arg, 'name')) {
  6855. if (p.exp)
  6856. slotName = p.exp;
  6857. }
  6858. else {
  6859. if (p.name === 'bind' && p.arg && isStaticExp(p.arg)) {
  6860. p.arg.content = camelize(p.arg.content);
  6861. }
  6862. nonNameProps.push(p);
  6863. }
  6864. }
  6865. }
  6866. if (nonNameProps.length > 0) {
  6867. const { props, directives } = buildProps(node, context, nonNameProps);
  6868. slotProps = props;
  6869. if (directives.length) {
  6870. context.onError(createCompilerError(36 /* X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET */, directives[0].loc));
  6871. }
  6872. }
  6873. return {
  6874. slotName,
  6875. slotProps
  6876. };
  6877. }
  6878. const fnExpRE = /^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/;
  6879. const transformOn = (dir, node, context, augmentor) => {
  6880. const { loc, modifiers, arg } = dir;
  6881. if (!dir.exp && !modifiers.length) {
  6882. context.onError(createCompilerError(35 /* X_V_ON_NO_EXPRESSION */, loc));
  6883. }
  6884. let eventName;
  6885. if (arg.type === 4 /* SIMPLE_EXPRESSION */) {
  6886. if (arg.isStatic) {
  6887. let rawName = arg.content;
  6888. // TODO deprecate @vnodeXXX usage
  6889. if (rawName.startsWith('vue:')) {
  6890. rawName = `vnode-${rawName.slice(4)}`;
  6891. }
  6892. // for all event listeners, auto convert it to camelCase. See issue #2249
  6893. eventName = createSimpleExpression((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.toHandlerKey)((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.camelize)(rawName)), true, arg.loc);
  6894. }
  6895. else {
  6896. // #2388
  6897. eventName = createCompoundExpression([
  6898. `${context.helperString(TO_HANDLER_KEY)}(`,
  6899. arg,
  6900. `)`
  6901. ]);
  6902. }
  6903. }
  6904. else {
  6905. // already a compound expression.
  6906. eventName = arg;
  6907. eventName.children.unshift(`${context.helperString(TO_HANDLER_KEY)}(`);
  6908. eventName.children.push(`)`);
  6909. }
  6910. // handler processing
  6911. let exp = dir.exp;
  6912. if (exp && !exp.content.trim()) {
  6913. exp = undefined;
  6914. }
  6915. let shouldCache = context.cacheHandlers && !exp && !context.inVOnce;
  6916. if (exp) {
  6917. const isMemberExp = isMemberExpression(exp.content);
  6918. const isInlineStatement = !(isMemberExp || fnExpRE.test(exp.content));
  6919. const hasMultipleStatements = exp.content.includes(`;`);
  6920. if (true) {
  6921. validateBrowserExpression(exp, context, false, hasMultipleStatements);
  6922. }
  6923. if (isInlineStatement || (shouldCache && isMemberExp)) {
  6924. // wrap inline statement in a function expression
  6925. exp = createCompoundExpression([
  6926. `${isInlineStatement
  6927. ? `$event`
  6928. : `${``}(...args)`} => ${hasMultipleStatements ? `{` : `(`}`,
  6929. exp,
  6930. hasMultipleStatements ? `}` : `)`
  6931. ]);
  6932. }
  6933. }
  6934. let ret = {
  6935. props: [
  6936. createObjectProperty(eventName, exp || createSimpleExpression(`() => {}`, false, loc))
  6937. ]
  6938. };
  6939. // apply extended compiler augmentor
  6940. if (augmentor) {
  6941. ret = augmentor(ret);
  6942. }
  6943. if (shouldCache) {
  6944. // cache handlers so that it's always the same handler being passed down.
  6945. // this avoids unnecessary re-renders when users use inline handlers on
  6946. // components.
  6947. ret.props[0].value = context.cache(ret.props[0].value);
  6948. }
  6949. // mark the key as handler for props normalization check
  6950. ret.props.forEach(p => (p.key.isHandlerKey = true));
  6951. return ret;
  6952. };
  6953. // v-bind without arg is handled directly in ./transformElements.ts due to it affecting
  6954. // codegen for the entire props object. This transform here is only for v-bind
  6955. // *with* args.
  6956. const transformBind = (dir, _node, context) => {
  6957. const { exp, modifiers, loc } = dir;
  6958. const arg = dir.arg;
  6959. if (arg.type !== 4 /* SIMPLE_EXPRESSION */) {
  6960. arg.children.unshift(`(`);
  6961. arg.children.push(`) || ""`);
  6962. }
  6963. else if (!arg.isStatic) {
  6964. arg.content = `${arg.content} || ""`;
  6965. }
  6966. // .sync is replaced by v-model:arg
  6967. if (modifiers.includes('camel')) {
  6968. if (arg.type === 4 /* SIMPLE_EXPRESSION */) {
  6969. if (arg.isStatic) {
  6970. arg.content = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.camelize)(arg.content);
  6971. }
  6972. else {
  6973. arg.content = `${context.helperString(CAMELIZE)}(${arg.content})`;
  6974. }
  6975. }
  6976. else {
  6977. arg.children.unshift(`${context.helperString(CAMELIZE)}(`);
  6978. arg.children.push(`)`);
  6979. }
  6980. }
  6981. if (!context.inSSR) {
  6982. if (modifiers.includes('prop')) {
  6983. injectPrefix(arg, '.');
  6984. }
  6985. if (modifiers.includes('attr')) {
  6986. injectPrefix(arg, '^');
  6987. }
  6988. }
  6989. if (!exp ||
  6990. (exp.type === 4 /* SIMPLE_EXPRESSION */ && !exp.content.trim())) {
  6991. context.onError(createCompilerError(34 /* X_V_BIND_NO_EXPRESSION */, loc));
  6992. return {
  6993. props: [createObjectProperty(arg, createSimpleExpression('', true, loc))]
  6994. };
  6995. }
  6996. return {
  6997. props: [createObjectProperty(arg, exp)]
  6998. };
  6999. };
  7000. const injectPrefix = (arg, prefix) => {
  7001. if (arg.type === 4 /* SIMPLE_EXPRESSION */) {
  7002. if (arg.isStatic) {
  7003. arg.content = prefix + arg.content;
  7004. }
  7005. else {
  7006. arg.content = `\`${prefix}\${${arg.content}}\``;
  7007. }
  7008. }
  7009. else {
  7010. arg.children.unshift(`'${prefix}' + (`);
  7011. arg.children.push(`)`);
  7012. }
  7013. };
  7014. // Merge adjacent text nodes and expressions into a single expression
  7015. // e.g. <div>abc {{ d }} {{ e }}</div> should have a single expression node as child.
  7016. const transformText = (node, context) => {
  7017. if (node.type === 0 /* ROOT */ ||
  7018. node.type === 1 /* ELEMENT */ ||
  7019. node.type === 11 /* FOR */ ||
  7020. node.type === 10 /* IF_BRANCH */) {
  7021. // perform the transform on node exit so that all expressions have already
  7022. // been processed.
  7023. return () => {
  7024. const children = node.children;
  7025. let currentContainer = undefined;
  7026. let hasText = false;
  7027. for (let i = 0; i < children.length; i++) {
  7028. const child = children[i];
  7029. if (isText(child)) {
  7030. hasText = true;
  7031. for (let j = i + 1; j < children.length; j++) {
  7032. const next = children[j];
  7033. if (isText(next)) {
  7034. if (!currentContainer) {
  7035. currentContainer = children[i] = {
  7036. type: 8 /* COMPOUND_EXPRESSION */,
  7037. loc: child.loc,
  7038. children: [child]
  7039. };
  7040. }
  7041. // merge adjacent text node into current
  7042. currentContainer.children.push(` + `, next);
  7043. children.splice(j, 1);
  7044. j--;
  7045. }
  7046. else {
  7047. currentContainer = undefined;
  7048. break;
  7049. }
  7050. }
  7051. }
  7052. }
  7053. if (!hasText ||
  7054. // if this is a plain element with a single text child, leave it
  7055. // as-is since the runtime has dedicated fast path for this by directly
  7056. // setting textContent of the element.
  7057. // for component root it's always normalized anyway.
  7058. (children.length === 1 &&
  7059. (node.type === 0 /* ROOT */ ||
  7060. (node.type === 1 /* ELEMENT */ &&
  7061. node.tagType === 0 /* ELEMENT */ &&
  7062. // #3756
  7063. // custom directives can potentially add DOM elements arbitrarily,
  7064. // we need to avoid setting textContent of the element at runtime
  7065. // to avoid accidentally overwriting the DOM elements added
  7066. // by the user through custom directives.
  7067. !node.props.find(p => p.type === 7 /* DIRECTIVE */ &&
  7068. !context.directiveTransforms[p.name]) &&
  7069. // in compat mode, <template> tags with no special directives
  7070. // will be rendered as a fragment so its children must be
  7071. // converted into vnodes.
  7072. !(node.tag === 'template'))))) {
  7073. return;
  7074. }
  7075. // pre-convert text nodes into createTextVNode(text) calls to avoid
  7076. // runtime normalization.
  7077. for (let i = 0; i < children.length; i++) {
  7078. const child = children[i];
  7079. if (isText(child) || child.type === 8 /* COMPOUND_EXPRESSION */) {
  7080. const callArgs = [];
  7081. // createTextVNode defaults to single whitespace, so if it is a
  7082. // single space the code could be an empty call to save bytes.
  7083. if (child.type !== 2 /* TEXT */ || child.content !== ' ') {
  7084. callArgs.push(child);
  7085. }
  7086. // mark dynamic text with flag so it gets patched inside a block
  7087. if (!context.ssr &&
  7088. getConstantType(child, context) === 0 /* NOT_CONSTANT */) {
  7089. callArgs.push(1 /* TEXT */ +
  7090. (( true) ? ` /* ${_vue_shared__WEBPACK_IMPORTED_MODULE_0__.PatchFlagNames[1]} */` : 0));
  7091. }
  7092. children[i] = {
  7093. type: 12 /* TEXT_CALL */,
  7094. content: child,
  7095. loc: child.loc,
  7096. codegenNode: createCallExpression(context.helper(CREATE_TEXT), callArgs)
  7097. };
  7098. }
  7099. }
  7100. };
  7101. }
  7102. };
  7103. const seen = new WeakSet();
  7104. const transformOnce = (node, context) => {
  7105. if (node.type === 1 /* ELEMENT */ && findDir(node, 'once', true)) {
  7106. if (seen.has(node) || context.inVOnce) {
  7107. return;
  7108. }
  7109. seen.add(node);
  7110. context.inVOnce = true;
  7111. context.helper(SET_BLOCK_TRACKING);
  7112. return () => {
  7113. context.inVOnce = false;
  7114. const cur = context.currentNode;
  7115. if (cur.codegenNode) {
  7116. cur.codegenNode = context.cache(cur.codegenNode, true /* isVNode */);
  7117. }
  7118. };
  7119. }
  7120. };
  7121. const transformModel = (dir, node, context) => {
  7122. const { exp, arg } = dir;
  7123. if (!exp) {
  7124. context.onError(createCompilerError(41 /* X_V_MODEL_NO_EXPRESSION */, dir.loc));
  7125. return createTransformProps();
  7126. }
  7127. const rawExp = exp.loc.source;
  7128. const expString = exp.type === 4 /* SIMPLE_EXPRESSION */ ? exp.content : rawExp;
  7129. // im SFC <script setup> inline mode, the exp may have been transformed into
  7130. // _unref(exp)
  7131. context.bindingMetadata[rawExp];
  7132. const maybeRef = !true /* SETUP_CONST */;
  7133. if (!expString.trim() ||
  7134. (!isMemberExpression(expString) && !maybeRef)) {
  7135. context.onError(createCompilerError(42 /* X_V_MODEL_MALFORMED_EXPRESSION */, exp.loc));
  7136. return createTransformProps();
  7137. }
  7138. const propName = arg ? arg : createSimpleExpression('modelValue', true);
  7139. const eventName = arg
  7140. ? isStaticExp(arg)
  7141. ? `onUpdate:${arg.content}`
  7142. : createCompoundExpression(['"onUpdate:" + ', arg])
  7143. : `onUpdate:modelValue`;
  7144. let assignmentExp;
  7145. const eventArg = context.isTS ? `($event: any)` : `$event`;
  7146. {
  7147. assignmentExp = createCompoundExpression([
  7148. `${eventArg} => ((`,
  7149. exp,
  7150. `) = $event)`
  7151. ]);
  7152. }
  7153. const props = [
  7154. // modelValue: foo
  7155. createObjectProperty(propName, dir.exp),
  7156. // "onUpdate:modelValue": $event => (foo = $event)
  7157. createObjectProperty(eventName, assignmentExp)
  7158. ];
  7159. // modelModifiers: { foo: true, "bar-baz": true }
  7160. if (dir.modifiers.length && node.tagType === 1 /* COMPONENT */) {
  7161. const modifiers = dir.modifiers
  7162. .map(m => (isSimpleIdentifier(m) ? m : JSON.stringify(m)) + `: true`)
  7163. .join(`, `);
  7164. const modifiersKey = arg
  7165. ? isStaticExp(arg)
  7166. ? `${arg.content}Modifiers`
  7167. : createCompoundExpression([arg, ' + "Modifiers"'])
  7168. : `modelModifiers`;
  7169. props.push(createObjectProperty(modifiersKey, createSimpleExpression(`{ ${modifiers} }`, false, dir.loc, 2 /* CAN_HOIST */)));
  7170. }
  7171. return createTransformProps(props);
  7172. };
  7173. function createTransformProps(props = []) {
  7174. return { props };
  7175. }
  7176. const validDivisionCharRE = /[\w).+\-_$\]]/;
  7177. const transformFilter = (node, context) => {
  7178. if (!isCompatEnabled("COMPILER_FILTER" /* COMPILER_FILTERS */, context)) {
  7179. return;
  7180. }
  7181. if (node.type === 5 /* INTERPOLATION */) {
  7182. // filter rewrite is applied before expression transform so only
  7183. // simple expressions are possible at this stage
  7184. rewriteFilter(node.content, context);
  7185. }
  7186. if (node.type === 1 /* ELEMENT */) {
  7187. node.props.forEach((prop) => {
  7188. if (prop.type === 7 /* DIRECTIVE */ &&
  7189. prop.name !== 'for' &&
  7190. prop.exp) {
  7191. rewriteFilter(prop.exp, context);
  7192. }
  7193. });
  7194. }
  7195. };
  7196. function rewriteFilter(node, context) {
  7197. if (node.type === 4 /* SIMPLE_EXPRESSION */) {
  7198. parseFilter(node, context);
  7199. }
  7200. else {
  7201. for (let i = 0; i < node.children.length; i++) {
  7202. const child = node.children[i];
  7203. if (typeof child !== 'object')
  7204. continue;
  7205. if (child.type === 4 /* SIMPLE_EXPRESSION */) {
  7206. parseFilter(child, context);
  7207. }
  7208. else if (child.type === 8 /* COMPOUND_EXPRESSION */) {
  7209. rewriteFilter(node, context);
  7210. }
  7211. else if (child.type === 5 /* INTERPOLATION */) {
  7212. rewriteFilter(child.content, context);
  7213. }
  7214. }
  7215. }
  7216. }
  7217. function parseFilter(node, context) {
  7218. const exp = node.content;
  7219. let inSingle = false;
  7220. let inDouble = false;
  7221. let inTemplateString = false;
  7222. let inRegex = false;
  7223. let curly = 0;
  7224. let square = 0;
  7225. let paren = 0;
  7226. let lastFilterIndex = 0;
  7227. let c, prev, i, expression, filters = [];
  7228. for (i = 0; i < exp.length; i++) {
  7229. prev = c;
  7230. c = exp.charCodeAt(i);
  7231. if (inSingle) {
  7232. if (c === 0x27 && prev !== 0x5c)
  7233. inSingle = false;
  7234. }
  7235. else if (inDouble) {
  7236. if (c === 0x22 && prev !== 0x5c)
  7237. inDouble = false;
  7238. }
  7239. else if (inTemplateString) {
  7240. if (c === 0x60 && prev !== 0x5c)
  7241. inTemplateString = false;
  7242. }
  7243. else if (inRegex) {
  7244. if (c === 0x2f && prev !== 0x5c)
  7245. inRegex = false;
  7246. }
  7247. else if (c === 0x7c && // pipe
  7248. exp.charCodeAt(i + 1) !== 0x7c &&
  7249. exp.charCodeAt(i - 1) !== 0x7c &&
  7250. !curly &&
  7251. !square &&
  7252. !paren) {
  7253. if (expression === undefined) {
  7254. // first filter, end of expression
  7255. lastFilterIndex = i + 1;
  7256. expression = exp.slice(0, i).trim();
  7257. }
  7258. else {
  7259. pushFilter();
  7260. }
  7261. }
  7262. else {
  7263. switch (c) {
  7264. case 0x22:
  7265. inDouble = true;
  7266. break; // "
  7267. case 0x27:
  7268. inSingle = true;
  7269. break; // '
  7270. case 0x60:
  7271. inTemplateString = true;
  7272. break; // `
  7273. case 0x28:
  7274. paren++;
  7275. break; // (
  7276. case 0x29:
  7277. paren--;
  7278. break; // )
  7279. case 0x5b:
  7280. square++;
  7281. break; // [
  7282. case 0x5d:
  7283. square--;
  7284. break; // ]
  7285. case 0x7b:
  7286. curly++;
  7287. break; // {
  7288. case 0x7d:
  7289. curly--;
  7290. break; // }
  7291. }
  7292. if (c === 0x2f) {
  7293. // /
  7294. let j = i - 1;
  7295. let p;
  7296. // find first non-whitespace prev char
  7297. for (; j >= 0; j--) {
  7298. p = exp.charAt(j);
  7299. if (p !== ' ')
  7300. break;
  7301. }
  7302. if (!p || !validDivisionCharRE.test(p)) {
  7303. inRegex = true;
  7304. }
  7305. }
  7306. }
  7307. }
  7308. if (expression === undefined) {
  7309. expression = exp.slice(0, i).trim();
  7310. }
  7311. else if (lastFilterIndex !== 0) {
  7312. pushFilter();
  7313. }
  7314. function pushFilter() {
  7315. filters.push(exp.slice(lastFilterIndex, i).trim());
  7316. lastFilterIndex = i + 1;
  7317. }
  7318. if (filters.length) {
  7319. ( true) &&
  7320. warnDeprecation("COMPILER_FILTER" /* COMPILER_FILTERS */, context, node.loc);
  7321. for (i = 0; i < filters.length; i++) {
  7322. expression = wrapFilter(expression, filters[i], context);
  7323. }
  7324. node.content = expression;
  7325. }
  7326. }
  7327. function wrapFilter(exp, filter, context) {
  7328. context.helper(RESOLVE_FILTER);
  7329. const i = filter.indexOf('(');
  7330. if (i < 0) {
  7331. context.filters.add(filter);
  7332. return `${toValidAssetId(filter, 'filter')}(${exp})`;
  7333. }
  7334. else {
  7335. const name = filter.slice(0, i);
  7336. const args = filter.slice(i + 1);
  7337. context.filters.add(name);
  7338. return `${toValidAssetId(name, 'filter')}(${exp}${args !== ')' ? ',' + args : args}`;
  7339. }
  7340. }
  7341. const seen$1 = new WeakSet();
  7342. const transformMemo = (node, context) => {
  7343. if (node.type === 1 /* ELEMENT */) {
  7344. const dir = findDir(node, 'memo');
  7345. if (!dir || seen$1.has(node)) {
  7346. return;
  7347. }
  7348. seen$1.add(node);
  7349. return () => {
  7350. const codegenNode = node.codegenNode ||
  7351. context.currentNode.codegenNode;
  7352. if (codegenNode && codegenNode.type === 13 /* VNODE_CALL */) {
  7353. // non-component sub tree should be turned into a block
  7354. if (node.tagType !== 1 /* COMPONENT */) {
  7355. makeBlock(codegenNode, context);
  7356. }
  7357. node.codegenNode = createCallExpression(context.helper(WITH_MEMO), [
  7358. dir.exp,
  7359. createFunctionExpression(undefined, codegenNode),
  7360. `_cache`,
  7361. String(context.cached++)
  7362. ]);
  7363. }
  7364. };
  7365. }
  7366. };
  7367. function getBaseTransformPreset(prefixIdentifiers) {
  7368. return [
  7369. [
  7370. transformOnce,
  7371. transformIf,
  7372. transformMemo,
  7373. transformFor,
  7374. ...([transformFilter] ),
  7375. ...(( true)
  7376. ? [transformExpression]
  7377. : 0),
  7378. transformSlotOutlet,
  7379. transformElement,
  7380. trackSlotScopes,
  7381. transformText
  7382. ],
  7383. {
  7384. on: transformOn,
  7385. bind: transformBind,
  7386. model: transformModel
  7387. }
  7388. ];
  7389. }
  7390. // we name it `baseCompile` so that higher order compilers like
  7391. // @vue/compiler-dom can export `compile` while re-exporting everything else.
  7392. function baseCompile(template, options = {}) {
  7393. const onError = options.onError || defaultOnError;
  7394. const isModuleMode = options.mode === 'module';
  7395. /* istanbul ignore if */
  7396. {
  7397. if (options.prefixIdentifiers === true) {
  7398. onError(createCompilerError(46 /* X_PREFIX_ID_NOT_SUPPORTED */));
  7399. }
  7400. else if (isModuleMode) {
  7401. onError(createCompilerError(47 /* X_MODULE_MODE_NOT_SUPPORTED */));
  7402. }
  7403. }
  7404. const prefixIdentifiers = !true ;
  7405. if (options.cacheHandlers) {
  7406. onError(createCompilerError(48 /* X_CACHE_HANDLER_NOT_SUPPORTED */));
  7407. }
  7408. if (options.scopeId && !isModuleMode) {
  7409. onError(createCompilerError(49 /* X_SCOPE_ID_NOT_SUPPORTED */));
  7410. }
  7411. const ast = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(template) ? baseParse(template, options) : template;
  7412. const [nodeTransforms, directiveTransforms] = getBaseTransformPreset();
  7413. transform(ast, (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.extend)({}, options, {
  7414. prefixIdentifiers,
  7415. nodeTransforms: [
  7416. ...nodeTransforms,
  7417. ...(options.nodeTransforms || []) // user transforms
  7418. ],
  7419. directiveTransforms: (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.extend)({}, directiveTransforms, options.directiveTransforms || {} // user transforms
  7420. )
  7421. }));
  7422. return generate(ast, (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.extend)({}, options, {
  7423. prefixIdentifiers
  7424. }));
  7425. }
  7426. const noopDirectiveTransform = () => ({ props: [] });
  7427. /***/ }),
  7428. /***/ "./node_modules/@vue/compiler-dom/dist/compiler-dom.esm-bundler.js":
  7429. /*!*************************************************************************!*\
  7430. !*** ./node_modules/@vue/compiler-dom/dist/compiler-dom.esm-bundler.js ***!
  7431. \*************************************************************************/
  7432. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  7433. "use strict";
  7434. __webpack_require__.r(__webpack_exports__);
  7435. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  7436. /* harmony export */ "BASE_TRANSITION": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.BASE_TRANSITION),
  7437. /* harmony export */ "CAMELIZE": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.CAMELIZE),
  7438. /* harmony export */ "CAPITALIZE": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.CAPITALIZE),
  7439. /* harmony export */ "CREATE_BLOCK": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.CREATE_BLOCK),
  7440. /* harmony export */ "CREATE_COMMENT": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.CREATE_COMMENT),
  7441. /* harmony export */ "CREATE_ELEMENT_BLOCK": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.CREATE_ELEMENT_BLOCK),
  7442. /* harmony export */ "CREATE_ELEMENT_VNODE": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.CREATE_ELEMENT_VNODE),
  7443. /* harmony export */ "CREATE_SLOTS": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.CREATE_SLOTS),
  7444. /* harmony export */ "CREATE_STATIC": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.CREATE_STATIC),
  7445. /* harmony export */ "CREATE_TEXT": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.CREATE_TEXT),
  7446. /* harmony export */ "CREATE_VNODE": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.CREATE_VNODE),
  7447. /* harmony export */ "DOMDirectiveTransforms": () => (/* binding */ DOMDirectiveTransforms),
  7448. /* harmony export */ "DOMNodeTransforms": () => (/* binding */ DOMNodeTransforms),
  7449. /* harmony export */ "FRAGMENT": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.FRAGMENT),
  7450. /* harmony export */ "GUARD_REACTIVE_PROPS": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.GUARD_REACTIVE_PROPS),
  7451. /* harmony export */ "IS_MEMO_SAME": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.IS_MEMO_SAME),
  7452. /* harmony export */ "IS_REF": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.IS_REF),
  7453. /* harmony export */ "KEEP_ALIVE": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.KEEP_ALIVE),
  7454. /* harmony export */ "MERGE_PROPS": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.MERGE_PROPS),
  7455. /* harmony export */ "NORMALIZE_CLASS": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.NORMALIZE_CLASS),
  7456. /* harmony export */ "NORMALIZE_PROPS": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.NORMALIZE_PROPS),
  7457. /* harmony export */ "NORMALIZE_STYLE": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.NORMALIZE_STYLE),
  7458. /* harmony export */ "OPEN_BLOCK": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.OPEN_BLOCK),
  7459. /* harmony export */ "POP_SCOPE_ID": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.POP_SCOPE_ID),
  7460. /* harmony export */ "PUSH_SCOPE_ID": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.PUSH_SCOPE_ID),
  7461. /* harmony export */ "RENDER_LIST": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.RENDER_LIST),
  7462. /* harmony export */ "RENDER_SLOT": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.RENDER_SLOT),
  7463. /* harmony export */ "RESOLVE_COMPONENT": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.RESOLVE_COMPONENT),
  7464. /* harmony export */ "RESOLVE_DIRECTIVE": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.RESOLVE_DIRECTIVE),
  7465. /* harmony export */ "RESOLVE_DYNAMIC_COMPONENT": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.RESOLVE_DYNAMIC_COMPONENT),
  7466. /* harmony export */ "RESOLVE_FILTER": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.RESOLVE_FILTER),
  7467. /* harmony export */ "SET_BLOCK_TRACKING": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.SET_BLOCK_TRACKING),
  7468. /* harmony export */ "SUSPENSE": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.SUSPENSE),
  7469. /* harmony export */ "TELEPORT": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.TELEPORT),
  7470. /* harmony export */ "TO_DISPLAY_STRING": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.TO_DISPLAY_STRING),
  7471. /* harmony export */ "TO_HANDLERS": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.TO_HANDLERS),
  7472. /* harmony export */ "TO_HANDLER_KEY": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.TO_HANDLER_KEY),
  7473. /* harmony export */ "TRANSITION": () => (/* binding */ TRANSITION),
  7474. /* harmony export */ "TRANSITION_GROUP": () => (/* binding */ TRANSITION_GROUP),
  7475. /* harmony export */ "UNREF": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.UNREF),
  7476. /* harmony export */ "V_MODEL_CHECKBOX": () => (/* binding */ V_MODEL_CHECKBOX),
  7477. /* harmony export */ "V_MODEL_DYNAMIC": () => (/* binding */ V_MODEL_DYNAMIC),
  7478. /* harmony export */ "V_MODEL_RADIO": () => (/* binding */ V_MODEL_RADIO),
  7479. /* harmony export */ "V_MODEL_SELECT": () => (/* binding */ V_MODEL_SELECT),
  7480. /* harmony export */ "V_MODEL_TEXT": () => (/* binding */ V_MODEL_TEXT),
  7481. /* harmony export */ "V_ON_WITH_KEYS": () => (/* binding */ V_ON_WITH_KEYS),
  7482. /* harmony export */ "V_ON_WITH_MODIFIERS": () => (/* binding */ V_ON_WITH_MODIFIERS),
  7483. /* harmony export */ "V_SHOW": () => (/* binding */ V_SHOW),
  7484. /* harmony export */ "WITH_CTX": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.WITH_CTX),
  7485. /* harmony export */ "WITH_DIRECTIVES": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.WITH_DIRECTIVES),
  7486. /* harmony export */ "WITH_MEMO": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.WITH_MEMO),
  7487. /* harmony export */ "advancePositionWithClone": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.advancePositionWithClone),
  7488. /* harmony export */ "advancePositionWithMutation": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.advancePositionWithMutation),
  7489. /* harmony export */ "assert": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.assert),
  7490. /* harmony export */ "baseCompile": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.baseCompile),
  7491. /* harmony export */ "baseParse": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.baseParse),
  7492. /* harmony export */ "buildDirectiveArgs": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.buildDirectiveArgs),
  7493. /* harmony export */ "buildProps": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.buildProps),
  7494. /* harmony export */ "buildSlots": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.buildSlots),
  7495. /* harmony export */ "checkCompatEnabled": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.checkCompatEnabled),
  7496. /* harmony export */ "compile": () => (/* binding */ compile),
  7497. /* harmony export */ "createArrayExpression": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createArrayExpression),
  7498. /* harmony export */ "createAssignmentExpression": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createAssignmentExpression),
  7499. /* harmony export */ "createBlockStatement": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createBlockStatement),
  7500. /* harmony export */ "createCacheExpression": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createCacheExpression),
  7501. /* harmony export */ "createCallExpression": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createCallExpression),
  7502. /* harmony export */ "createCompilerError": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createCompilerError),
  7503. /* harmony export */ "createCompoundExpression": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createCompoundExpression),
  7504. /* harmony export */ "createConditionalExpression": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createConditionalExpression),
  7505. /* harmony export */ "createDOMCompilerError": () => (/* binding */ createDOMCompilerError),
  7506. /* harmony export */ "createForLoopParams": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createForLoopParams),
  7507. /* harmony export */ "createFunctionExpression": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createFunctionExpression),
  7508. /* harmony export */ "createIfStatement": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createIfStatement),
  7509. /* harmony export */ "createInterpolation": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createInterpolation),
  7510. /* harmony export */ "createObjectExpression": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createObjectExpression),
  7511. /* harmony export */ "createObjectProperty": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createObjectProperty),
  7512. /* harmony export */ "createReturnStatement": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createReturnStatement),
  7513. /* harmony export */ "createRoot": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createRoot),
  7514. /* harmony export */ "createSequenceExpression": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createSequenceExpression),
  7515. /* harmony export */ "createSimpleExpression": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createSimpleExpression),
  7516. /* harmony export */ "createStructuralDirectiveTransform": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createStructuralDirectiveTransform),
  7517. /* harmony export */ "createTemplateLiteral": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createTemplateLiteral),
  7518. /* harmony export */ "createTransformContext": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createTransformContext),
  7519. /* harmony export */ "createVNodeCall": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createVNodeCall),
  7520. /* harmony export */ "extractIdentifiers": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.extractIdentifiers),
  7521. /* harmony export */ "findDir": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.findDir),
  7522. /* harmony export */ "findProp": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.findProp),
  7523. /* harmony export */ "generate": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.generate),
  7524. /* harmony export */ "generateCodeFrame": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.generateCodeFrame),
  7525. /* harmony export */ "getBaseTransformPreset": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.getBaseTransformPreset),
  7526. /* harmony export */ "getInnerRange": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.getInnerRange),
  7527. /* harmony export */ "getMemoedVNodeCall": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.getMemoedVNodeCall),
  7528. /* harmony export */ "getVNodeBlockHelper": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.getVNodeBlockHelper),
  7529. /* harmony export */ "getVNodeHelper": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.getVNodeHelper),
  7530. /* harmony export */ "hasDynamicKeyVBind": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.hasDynamicKeyVBind),
  7531. /* harmony export */ "hasScopeRef": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.hasScopeRef),
  7532. /* harmony export */ "helperNameMap": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.helperNameMap),
  7533. /* harmony export */ "injectProp": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.injectProp),
  7534. /* harmony export */ "isBuiltInType": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isBuiltInType),
  7535. /* harmony export */ "isCoreComponent": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isCoreComponent),
  7536. /* harmony export */ "isFunctionType": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isFunctionType),
  7537. /* harmony export */ "isInDestructureAssignment": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isInDestructureAssignment),
  7538. /* harmony export */ "isMemberExpression": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isMemberExpression),
  7539. /* harmony export */ "isMemberExpressionBrowser": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isMemberExpressionBrowser),
  7540. /* harmony export */ "isMemberExpressionNode": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isMemberExpressionNode),
  7541. /* harmony export */ "isReferencedIdentifier": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isReferencedIdentifier),
  7542. /* harmony export */ "isSimpleIdentifier": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isSimpleIdentifier),
  7543. /* harmony export */ "isSlotOutlet": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isSlotOutlet),
  7544. /* harmony export */ "isStaticArgOf": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isStaticArgOf),
  7545. /* harmony export */ "isStaticExp": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isStaticExp),
  7546. /* harmony export */ "isStaticProperty": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isStaticProperty),
  7547. /* harmony export */ "isStaticPropertyKey": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isStaticPropertyKey),
  7548. /* harmony export */ "isTemplateNode": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isTemplateNode),
  7549. /* harmony export */ "isText": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isText),
  7550. /* harmony export */ "isVSlot": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isVSlot),
  7551. /* harmony export */ "locStub": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.locStub),
  7552. /* harmony export */ "makeBlock": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.makeBlock),
  7553. /* harmony export */ "noopDirectiveTransform": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.noopDirectiveTransform),
  7554. /* harmony export */ "parse": () => (/* binding */ parse),
  7555. /* harmony export */ "parserOptions": () => (/* binding */ parserOptions),
  7556. /* harmony export */ "processExpression": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.processExpression),
  7557. /* harmony export */ "processFor": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.processFor),
  7558. /* harmony export */ "processIf": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.processIf),
  7559. /* harmony export */ "processSlotOutlet": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.processSlotOutlet),
  7560. /* harmony export */ "registerRuntimeHelpers": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.registerRuntimeHelpers),
  7561. /* harmony export */ "resolveComponentType": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.resolveComponentType),
  7562. /* harmony export */ "toValidAssetId": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.toValidAssetId),
  7563. /* harmony export */ "trackSlotScopes": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.trackSlotScopes),
  7564. /* harmony export */ "trackVForSlotScopes": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.trackVForSlotScopes),
  7565. /* harmony export */ "transform": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.transform),
  7566. /* harmony export */ "transformBind": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.transformBind),
  7567. /* harmony export */ "transformElement": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.transformElement),
  7568. /* harmony export */ "transformExpression": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.transformExpression),
  7569. /* harmony export */ "transformModel": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.transformModel),
  7570. /* harmony export */ "transformOn": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.transformOn),
  7571. /* harmony export */ "transformStyle": () => (/* binding */ transformStyle),
  7572. /* harmony export */ "traverseNode": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.traverseNode),
  7573. /* harmony export */ "walkBlockDeclarations": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.walkBlockDeclarations),
  7574. /* harmony export */ "walkFunctionParams": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.walkFunctionParams),
  7575. /* harmony export */ "walkIdentifiers": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.walkIdentifiers),
  7576. /* harmony export */ "warnDeprecation": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.warnDeprecation)
  7577. /* harmony export */ });
  7578. /* harmony import */ var _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @vue/compiler-core */ "./node_modules/@vue/compiler-core/dist/compiler-core.esm-bundler.js");
  7579. /* harmony import */ var _vue_shared__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @vue/shared */ "./node_modules/@vue/shared/dist/shared.esm-bundler.js");
  7580. const V_MODEL_RADIO = Symbol(( true) ? `vModelRadio` : 0);
  7581. const V_MODEL_CHECKBOX = Symbol(( true) ? `vModelCheckbox` : 0);
  7582. const V_MODEL_TEXT = Symbol(( true) ? `vModelText` : 0);
  7583. const V_MODEL_SELECT = Symbol(( true) ? `vModelSelect` : 0);
  7584. const V_MODEL_DYNAMIC = Symbol(( true) ? `vModelDynamic` : 0);
  7585. const V_ON_WITH_MODIFIERS = Symbol(( true) ? `vOnModifiersGuard` : 0);
  7586. const V_ON_WITH_KEYS = Symbol(( true) ? `vOnKeysGuard` : 0);
  7587. const V_SHOW = Symbol(( true) ? `vShow` : 0);
  7588. const TRANSITION = Symbol(( true) ? `Transition` : 0);
  7589. const TRANSITION_GROUP = Symbol(( true) ? `TransitionGroup` : 0);
  7590. (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.registerRuntimeHelpers)({
  7591. [V_MODEL_RADIO]: `vModelRadio`,
  7592. [V_MODEL_CHECKBOX]: `vModelCheckbox`,
  7593. [V_MODEL_TEXT]: `vModelText`,
  7594. [V_MODEL_SELECT]: `vModelSelect`,
  7595. [V_MODEL_DYNAMIC]: `vModelDynamic`,
  7596. [V_ON_WITH_MODIFIERS]: `withModifiers`,
  7597. [V_ON_WITH_KEYS]: `withKeys`,
  7598. [V_SHOW]: `vShow`,
  7599. [TRANSITION]: `Transition`,
  7600. [TRANSITION_GROUP]: `TransitionGroup`
  7601. });
  7602. /* eslint-disable no-restricted-globals */
  7603. let decoder;
  7604. function decodeHtmlBrowser(raw, asAttr = false) {
  7605. if (!decoder) {
  7606. decoder = document.createElement('div');
  7607. }
  7608. if (asAttr) {
  7609. decoder.innerHTML = `<div foo="${raw.replace(/"/g, '&quot;')}">`;
  7610. return decoder.children[0].getAttribute('foo');
  7611. }
  7612. else {
  7613. decoder.innerHTML = raw;
  7614. return decoder.textContent;
  7615. }
  7616. }
  7617. const isRawTextContainer = /*#__PURE__*/ (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.makeMap)('style,iframe,script,noscript', true);
  7618. const parserOptions = {
  7619. isVoidTag: _vue_shared__WEBPACK_IMPORTED_MODULE_1__.isVoidTag,
  7620. isNativeTag: tag => (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isHTMLTag)(tag) || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isSVGTag)(tag),
  7621. isPreTag: tag => tag === 'pre',
  7622. decodeEntities: decodeHtmlBrowser ,
  7623. isBuiltInComponent: (tag) => {
  7624. if ((0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isBuiltInType)(tag, `Transition`)) {
  7625. return TRANSITION;
  7626. }
  7627. else if ((0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isBuiltInType)(tag, `TransitionGroup`)) {
  7628. return TRANSITION_GROUP;
  7629. }
  7630. },
  7631. // https://html.spec.whatwg.org/multipage/parsing.html#tree-construction-dispatcher
  7632. getNamespace(tag, parent) {
  7633. let ns = parent ? parent.ns : 0 /* HTML */;
  7634. if (parent && ns === 2 /* MATH_ML */) {
  7635. if (parent.tag === 'annotation-xml') {
  7636. if (tag === 'svg') {
  7637. return 1 /* SVG */;
  7638. }
  7639. if (parent.props.some(a => a.type === 6 /* ATTRIBUTE */ &&
  7640. a.name === 'encoding' &&
  7641. a.value != null &&
  7642. (a.value.content === 'text/html' ||
  7643. a.value.content === 'application/xhtml+xml'))) {
  7644. ns = 0 /* HTML */;
  7645. }
  7646. }
  7647. else if (/^m(?:[ions]|text)$/.test(parent.tag) &&
  7648. tag !== 'mglyph' &&
  7649. tag !== 'malignmark') {
  7650. ns = 0 /* HTML */;
  7651. }
  7652. }
  7653. else if (parent && ns === 1 /* SVG */) {
  7654. if (parent.tag === 'foreignObject' ||
  7655. parent.tag === 'desc' ||
  7656. parent.tag === 'title') {
  7657. ns = 0 /* HTML */;
  7658. }
  7659. }
  7660. if (ns === 0 /* HTML */) {
  7661. if (tag === 'svg') {
  7662. return 1 /* SVG */;
  7663. }
  7664. if (tag === 'math') {
  7665. return 2 /* MATH_ML */;
  7666. }
  7667. }
  7668. return ns;
  7669. },
  7670. // https://html.spec.whatwg.org/multipage/parsing.html#parsing-html-fragments
  7671. getTextMode({ tag, ns }) {
  7672. if (ns === 0 /* HTML */) {
  7673. if (tag === 'textarea' || tag === 'title') {
  7674. return 1 /* RCDATA */;
  7675. }
  7676. if (isRawTextContainer(tag)) {
  7677. return 2 /* RAWTEXT */;
  7678. }
  7679. }
  7680. return 0 /* DATA */;
  7681. }
  7682. };
  7683. // Parse inline CSS strings for static style attributes into an object.
  7684. // This is a NodeTransform since it works on the static `style` attribute and
  7685. // converts it into a dynamic equivalent:
  7686. // style="color: red" -> :style='{ "color": "red" }'
  7687. // It is then processed by `transformElement` and included in the generated
  7688. // props.
  7689. const transformStyle = node => {
  7690. if (node.type === 1 /* ELEMENT */) {
  7691. node.props.forEach((p, i) => {
  7692. if (p.type === 6 /* ATTRIBUTE */ && p.name === 'style' && p.value) {
  7693. // replace p with an expression node
  7694. node.props[i] = {
  7695. type: 7 /* DIRECTIVE */,
  7696. name: `bind`,
  7697. arg: (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createSimpleExpression)(`style`, true, p.loc),
  7698. exp: parseInlineCSS(p.value.content, p.loc),
  7699. modifiers: [],
  7700. loc: p.loc
  7701. };
  7702. }
  7703. });
  7704. }
  7705. };
  7706. const parseInlineCSS = (cssText, loc) => {
  7707. const normalized = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.parseStringStyle)(cssText);
  7708. return (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createSimpleExpression)(JSON.stringify(normalized), false, loc, 3 /* CAN_STRINGIFY */);
  7709. };
  7710. function createDOMCompilerError(code, loc) {
  7711. return (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createCompilerError)(code, loc, true ? DOMErrorMessages : 0);
  7712. }
  7713. const DOMErrorMessages = {
  7714. [50 /* X_V_HTML_NO_EXPRESSION */]: `v-html is missing expression.`,
  7715. [51 /* X_V_HTML_WITH_CHILDREN */]: `v-html will override element children.`,
  7716. [52 /* X_V_TEXT_NO_EXPRESSION */]: `v-text is missing expression.`,
  7717. [53 /* X_V_TEXT_WITH_CHILDREN */]: `v-text will override element children.`,
  7718. [54 /* X_V_MODEL_ON_INVALID_ELEMENT */]: `v-model can only be used on <input>, <textarea> and <select> elements.`,
  7719. [55 /* X_V_MODEL_ARG_ON_ELEMENT */]: `v-model argument is not supported on plain elements.`,
  7720. [56 /* X_V_MODEL_ON_FILE_INPUT_ELEMENT */]: `v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.`,
  7721. [57 /* X_V_MODEL_UNNECESSARY_VALUE */]: `Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.`,
  7722. [58 /* X_V_SHOW_NO_EXPRESSION */]: `v-show is missing expression.`,
  7723. [59 /* X_TRANSITION_INVALID_CHILDREN */]: `<Transition> expects exactly one child element or component.`,
  7724. [60 /* X_IGNORED_SIDE_EFFECT_TAG */]: `Tags with side effect (<script> and <style>) are ignored in client component templates.`
  7725. };
  7726. const transformVHtml = (dir, node, context) => {
  7727. const { exp, loc } = dir;
  7728. if (!exp) {
  7729. context.onError(createDOMCompilerError(50 /* X_V_HTML_NO_EXPRESSION */, loc));
  7730. }
  7731. if (node.children.length) {
  7732. context.onError(createDOMCompilerError(51 /* X_V_HTML_WITH_CHILDREN */, loc));
  7733. node.children.length = 0;
  7734. }
  7735. return {
  7736. props: [
  7737. (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createObjectProperty)((0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createSimpleExpression)(`innerHTML`, true, loc), exp || (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createSimpleExpression)('', true))
  7738. ]
  7739. };
  7740. };
  7741. const transformVText = (dir, node, context) => {
  7742. const { exp, loc } = dir;
  7743. if (!exp) {
  7744. context.onError(createDOMCompilerError(52 /* X_V_TEXT_NO_EXPRESSION */, loc));
  7745. }
  7746. if (node.children.length) {
  7747. context.onError(createDOMCompilerError(53 /* X_V_TEXT_WITH_CHILDREN */, loc));
  7748. node.children.length = 0;
  7749. }
  7750. return {
  7751. props: [
  7752. (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createObjectProperty)((0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createSimpleExpression)(`textContent`, true), exp
  7753. ? (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createCallExpression)(context.helperString(_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.TO_DISPLAY_STRING), [exp], loc)
  7754. : (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createSimpleExpression)('', true))
  7755. ]
  7756. };
  7757. };
  7758. const transformModel = (dir, node, context) => {
  7759. const baseResult = (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.transformModel)(dir, node, context);
  7760. // base transform has errors OR component v-model (only need props)
  7761. if (!baseResult.props.length || node.tagType === 1 /* COMPONENT */) {
  7762. return baseResult;
  7763. }
  7764. if (dir.arg) {
  7765. context.onError(createDOMCompilerError(55 /* X_V_MODEL_ARG_ON_ELEMENT */, dir.arg.loc));
  7766. }
  7767. function checkDuplicatedValue() {
  7768. const value = (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.findProp)(node, 'value');
  7769. if (value) {
  7770. context.onError(createDOMCompilerError(57 /* X_V_MODEL_UNNECESSARY_VALUE */, value.loc));
  7771. }
  7772. }
  7773. const { tag } = node;
  7774. const isCustomElement = context.isCustomElement(tag);
  7775. if (tag === 'input' ||
  7776. tag === 'textarea' ||
  7777. tag === 'select' ||
  7778. isCustomElement) {
  7779. let directiveToUse = V_MODEL_TEXT;
  7780. let isInvalidType = false;
  7781. if (tag === 'input' || isCustomElement) {
  7782. const type = (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.findProp)(node, `type`);
  7783. if (type) {
  7784. if (type.type === 7 /* DIRECTIVE */) {
  7785. // :type="foo"
  7786. directiveToUse = V_MODEL_DYNAMIC;
  7787. }
  7788. else if (type.value) {
  7789. switch (type.value.content) {
  7790. case 'radio':
  7791. directiveToUse = V_MODEL_RADIO;
  7792. break;
  7793. case 'checkbox':
  7794. directiveToUse = V_MODEL_CHECKBOX;
  7795. break;
  7796. case 'file':
  7797. isInvalidType = true;
  7798. context.onError(createDOMCompilerError(56 /* X_V_MODEL_ON_FILE_INPUT_ELEMENT */, dir.loc));
  7799. break;
  7800. default:
  7801. // text type
  7802. ( true) && checkDuplicatedValue();
  7803. break;
  7804. }
  7805. }
  7806. }
  7807. else if ((0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.hasDynamicKeyVBind)(node)) {
  7808. // element has bindings with dynamic keys, which can possibly contain
  7809. // "type".
  7810. directiveToUse = V_MODEL_DYNAMIC;
  7811. }
  7812. else {
  7813. // text type
  7814. ( true) && checkDuplicatedValue();
  7815. }
  7816. }
  7817. else if (tag === 'select') {
  7818. directiveToUse = V_MODEL_SELECT;
  7819. }
  7820. else {
  7821. // textarea
  7822. ( true) && checkDuplicatedValue();
  7823. }
  7824. // inject runtime directive
  7825. // by returning the helper symbol via needRuntime
  7826. // the import will replaced a resolveDirective call.
  7827. if (!isInvalidType) {
  7828. baseResult.needRuntime = context.helper(directiveToUse);
  7829. }
  7830. }
  7831. else {
  7832. context.onError(createDOMCompilerError(54 /* X_V_MODEL_ON_INVALID_ELEMENT */, dir.loc));
  7833. }
  7834. // native vmodel doesn't need the `modelValue` props since they are also
  7835. // passed to the runtime as `binding.value`. removing it reduces code size.
  7836. baseResult.props = baseResult.props.filter(p => !(p.key.type === 4 /* SIMPLE_EXPRESSION */ &&
  7837. p.key.content === 'modelValue'));
  7838. return baseResult;
  7839. };
  7840. const isEventOptionModifier = /*#__PURE__*/ (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.makeMap)(`passive,once,capture`);
  7841. const isNonKeyModifier = /*#__PURE__*/ (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.makeMap)(
  7842. // event propagation management
  7843. `stop,prevent,self,` +
  7844. // system modifiers + exact
  7845. `ctrl,shift,alt,meta,exact,` +
  7846. // mouse
  7847. `middle`);
  7848. // left & right could be mouse or key modifiers based on event type
  7849. const maybeKeyModifier = /*#__PURE__*/ (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.makeMap)('left,right');
  7850. const isKeyboardEvent = /*#__PURE__*/ (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.makeMap)(`onkeyup,onkeydown,onkeypress`, true);
  7851. const resolveModifiers = (key, modifiers, context, loc) => {
  7852. const keyModifiers = [];
  7853. const nonKeyModifiers = [];
  7854. const eventOptionModifiers = [];
  7855. for (let i = 0; i < modifiers.length; i++) {
  7856. const modifier = modifiers[i];
  7857. if (modifier === 'native' &&
  7858. (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.checkCompatEnabled)("COMPILER_V_ON_NATIVE" /* COMPILER_V_ON_NATIVE */, context, loc)) {
  7859. eventOptionModifiers.push(modifier);
  7860. }
  7861. else if (isEventOptionModifier(modifier)) {
  7862. // eventOptionModifiers: modifiers for addEventListener() options,
  7863. // e.g. .passive & .capture
  7864. eventOptionModifiers.push(modifier);
  7865. }
  7866. else {
  7867. // runtimeModifiers: modifiers that needs runtime guards
  7868. if (maybeKeyModifier(modifier)) {
  7869. if ((0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isStaticExp)(key)) {
  7870. if (isKeyboardEvent(key.content)) {
  7871. keyModifiers.push(modifier);
  7872. }
  7873. else {
  7874. nonKeyModifiers.push(modifier);
  7875. }
  7876. }
  7877. else {
  7878. keyModifiers.push(modifier);
  7879. nonKeyModifiers.push(modifier);
  7880. }
  7881. }
  7882. else {
  7883. if (isNonKeyModifier(modifier)) {
  7884. nonKeyModifiers.push(modifier);
  7885. }
  7886. else {
  7887. keyModifiers.push(modifier);
  7888. }
  7889. }
  7890. }
  7891. }
  7892. return {
  7893. keyModifiers,
  7894. nonKeyModifiers,
  7895. eventOptionModifiers
  7896. };
  7897. };
  7898. const transformClick = (key, event) => {
  7899. const isStaticClick = (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isStaticExp)(key) && key.content.toLowerCase() === 'onclick';
  7900. return isStaticClick
  7901. ? (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createSimpleExpression)(event, true)
  7902. : key.type !== 4 /* SIMPLE_EXPRESSION */
  7903. ? (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createCompoundExpression)([
  7904. `(`,
  7905. key,
  7906. `) === "onClick" ? "${event}" : (`,
  7907. key,
  7908. `)`
  7909. ])
  7910. : key;
  7911. };
  7912. const transformOn = (dir, node, context) => {
  7913. return (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.transformOn)(dir, node, context, baseResult => {
  7914. const { modifiers } = dir;
  7915. if (!modifiers.length)
  7916. return baseResult;
  7917. let { key, value: handlerExp } = baseResult.props[0];
  7918. const { keyModifiers, nonKeyModifiers, eventOptionModifiers } = resolveModifiers(key, modifiers, context, dir.loc);
  7919. // normalize click.right and click.middle since they don't actually fire
  7920. if (nonKeyModifiers.includes('right')) {
  7921. key = transformClick(key, `onContextmenu`);
  7922. }
  7923. if (nonKeyModifiers.includes('middle')) {
  7924. key = transformClick(key, `onMouseup`);
  7925. }
  7926. if (nonKeyModifiers.length) {
  7927. handlerExp = (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createCallExpression)(context.helper(V_ON_WITH_MODIFIERS), [
  7928. handlerExp,
  7929. JSON.stringify(nonKeyModifiers)
  7930. ]);
  7931. }
  7932. if (keyModifiers.length &&
  7933. // if event name is dynamic, always wrap with keys guard
  7934. (!(0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isStaticExp)(key) || isKeyboardEvent(key.content))) {
  7935. handlerExp = (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createCallExpression)(context.helper(V_ON_WITH_KEYS), [
  7936. handlerExp,
  7937. JSON.stringify(keyModifiers)
  7938. ]);
  7939. }
  7940. if (eventOptionModifiers.length) {
  7941. const modifierPostfix = eventOptionModifiers.map(_vue_shared__WEBPACK_IMPORTED_MODULE_1__.capitalize).join('');
  7942. key = (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isStaticExp)(key)
  7943. ? (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createSimpleExpression)(`${key.content}${modifierPostfix}`, true)
  7944. : (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createCompoundExpression)([`(`, key, `) + "${modifierPostfix}"`]);
  7945. }
  7946. return {
  7947. props: [(0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createObjectProperty)(key, handlerExp)]
  7948. };
  7949. });
  7950. };
  7951. const transformShow = (dir, node, context) => {
  7952. const { exp, loc } = dir;
  7953. if (!exp) {
  7954. context.onError(createDOMCompilerError(58 /* X_V_SHOW_NO_EXPRESSION */, loc));
  7955. }
  7956. return {
  7957. props: [],
  7958. needRuntime: context.helper(V_SHOW)
  7959. };
  7960. };
  7961. const warnTransitionChildren = (node, context) => {
  7962. if (node.type === 1 /* ELEMENT */ &&
  7963. node.tagType === 1 /* COMPONENT */) {
  7964. const component = context.isBuiltInComponent(node.tag);
  7965. if (component === TRANSITION) {
  7966. return () => {
  7967. if (node.children.length && hasMultipleChildren(node)) {
  7968. context.onError(createDOMCompilerError(59 /* X_TRANSITION_INVALID_CHILDREN */, {
  7969. start: node.children[0].loc.start,
  7970. end: node.children[node.children.length - 1].loc.end,
  7971. source: ''
  7972. }));
  7973. }
  7974. };
  7975. }
  7976. }
  7977. };
  7978. function hasMultipleChildren(node) {
  7979. // #1352 filter out potential comment nodes.
  7980. const children = (node.children = node.children.filter(c => c.type !== 3 /* COMMENT */ &&
  7981. !(c.type === 2 /* TEXT */ && !c.content.trim())));
  7982. const child = children[0];
  7983. return (children.length !== 1 ||
  7984. child.type === 11 /* FOR */ ||
  7985. (child.type === 9 /* IF */ && child.branches.some(hasMultipleChildren)));
  7986. }
  7987. const ignoreSideEffectTags = (node, context) => {
  7988. if (node.type === 1 /* ELEMENT */ &&
  7989. node.tagType === 0 /* ELEMENT */ &&
  7990. (node.tag === 'script' || node.tag === 'style')) {
  7991. context.onError(createDOMCompilerError(60 /* X_IGNORED_SIDE_EFFECT_TAG */, node.loc));
  7992. context.removeNode();
  7993. }
  7994. };
  7995. const DOMNodeTransforms = [
  7996. transformStyle,
  7997. ...(( true) ? [warnTransitionChildren] : 0)
  7998. ];
  7999. const DOMDirectiveTransforms = {
  8000. cloak: _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.noopDirectiveTransform,
  8001. html: transformVHtml,
  8002. text: transformVText,
  8003. model: transformModel,
  8004. on: transformOn,
  8005. show: transformShow
  8006. };
  8007. function compile(template, options = {}) {
  8008. return (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.baseCompile)(template, (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)({}, parserOptions, options, {
  8009. nodeTransforms: [
  8010. // ignore <script> and <tag>
  8011. // this is not put inside DOMNodeTransforms because that list is used
  8012. // by compiler-ssr to generate vnode fallback branches
  8013. ignoreSideEffectTags,
  8014. ...DOMNodeTransforms,
  8015. ...(options.nodeTransforms || [])
  8016. ],
  8017. directiveTransforms: (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)({}, DOMDirectiveTransforms, options.directiveTransforms || {}),
  8018. transformHoist: null
  8019. }));
  8020. }
  8021. function parse(template, options = {}) {
  8022. return (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.baseParse)(template, (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)({}, parserOptions, options));
  8023. }
  8024. /***/ }),
  8025. /***/ "./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js":
  8026. /*!*********************************************************************!*\
  8027. !*** ./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js ***!
  8028. \*********************************************************************/
  8029. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  8030. "use strict";
  8031. __webpack_require__.r(__webpack_exports__);
  8032. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  8033. /* harmony export */ "EffectScope": () => (/* binding */ EffectScope),
  8034. /* harmony export */ "ITERATE_KEY": () => (/* binding */ ITERATE_KEY),
  8035. /* harmony export */ "ReactiveEffect": () => (/* binding */ ReactiveEffect),
  8036. /* harmony export */ "computed": () => (/* binding */ computed),
  8037. /* harmony export */ "customRef": () => (/* binding */ customRef),
  8038. /* harmony export */ "deferredComputed": () => (/* binding */ deferredComputed),
  8039. /* harmony export */ "effect": () => (/* binding */ effect),
  8040. /* harmony export */ "effectScope": () => (/* binding */ effectScope),
  8041. /* harmony export */ "enableTracking": () => (/* binding */ enableTracking),
  8042. /* harmony export */ "getCurrentScope": () => (/* binding */ getCurrentScope),
  8043. /* harmony export */ "isProxy": () => (/* binding */ isProxy),
  8044. /* harmony export */ "isReactive": () => (/* binding */ isReactive),
  8045. /* harmony export */ "isReadonly": () => (/* binding */ isReadonly),
  8046. /* harmony export */ "isRef": () => (/* binding */ isRef),
  8047. /* harmony export */ "isShallow": () => (/* binding */ isShallow),
  8048. /* harmony export */ "markRaw": () => (/* binding */ markRaw),
  8049. /* harmony export */ "onScopeDispose": () => (/* binding */ onScopeDispose),
  8050. /* harmony export */ "pauseTracking": () => (/* binding */ pauseTracking),
  8051. /* harmony export */ "proxyRefs": () => (/* binding */ proxyRefs),
  8052. /* harmony export */ "reactive": () => (/* binding */ reactive),
  8053. /* harmony export */ "readonly": () => (/* binding */ readonly),
  8054. /* harmony export */ "ref": () => (/* binding */ ref),
  8055. /* harmony export */ "resetTracking": () => (/* binding */ resetTracking),
  8056. /* harmony export */ "shallowReactive": () => (/* binding */ shallowReactive),
  8057. /* harmony export */ "shallowReadonly": () => (/* binding */ shallowReadonly),
  8058. /* harmony export */ "shallowRef": () => (/* binding */ shallowRef),
  8059. /* harmony export */ "stop": () => (/* binding */ stop),
  8060. /* harmony export */ "toRaw": () => (/* binding */ toRaw),
  8061. /* harmony export */ "toRef": () => (/* binding */ toRef),
  8062. /* harmony export */ "toRefs": () => (/* binding */ toRefs),
  8063. /* harmony export */ "track": () => (/* binding */ track),
  8064. /* harmony export */ "trigger": () => (/* binding */ trigger),
  8065. /* harmony export */ "triggerRef": () => (/* binding */ triggerRef),
  8066. /* harmony export */ "unref": () => (/* binding */ unref)
  8067. /* harmony export */ });
  8068. /* harmony import */ var _vue_shared__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @vue/shared */ "./node_modules/@vue/shared/dist/shared.esm-bundler.js");
  8069. function warn(msg, ...args) {
  8070. console.warn(`[Vue warn] ${msg}`, ...args);
  8071. }
  8072. let activeEffectScope;
  8073. class EffectScope {
  8074. constructor(detached = false) {
  8075. /**
  8076. * @internal
  8077. */
  8078. this.active = true;
  8079. /**
  8080. * @internal
  8081. */
  8082. this.effects = [];
  8083. /**
  8084. * @internal
  8085. */
  8086. this.cleanups = [];
  8087. if (!detached && activeEffectScope) {
  8088. this.parent = activeEffectScope;
  8089. this.index =
  8090. (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(this) - 1;
  8091. }
  8092. }
  8093. run(fn) {
  8094. if (this.active) {
  8095. const currentEffectScope = activeEffectScope;
  8096. try {
  8097. activeEffectScope = this;
  8098. return fn();
  8099. }
  8100. finally {
  8101. activeEffectScope = currentEffectScope;
  8102. }
  8103. }
  8104. else if ((true)) {
  8105. warn(`cannot run an inactive effect scope.`);
  8106. }
  8107. }
  8108. /**
  8109. * This should only be called on non-detached scopes
  8110. * @internal
  8111. */
  8112. on() {
  8113. activeEffectScope = this;
  8114. }
  8115. /**
  8116. * This should only be called on non-detached scopes
  8117. * @internal
  8118. */
  8119. off() {
  8120. activeEffectScope = this.parent;
  8121. }
  8122. stop(fromParent) {
  8123. if (this.active) {
  8124. let i, l;
  8125. for (i = 0, l = this.effects.length; i < l; i++) {
  8126. this.effects[i].stop();
  8127. }
  8128. for (i = 0, l = this.cleanups.length; i < l; i++) {
  8129. this.cleanups[i]();
  8130. }
  8131. if (this.scopes) {
  8132. for (i = 0, l = this.scopes.length; i < l; i++) {
  8133. this.scopes[i].stop(true);
  8134. }
  8135. }
  8136. // nested scope, dereference from parent to avoid memory leaks
  8137. if (this.parent && !fromParent) {
  8138. // optimized O(1) removal
  8139. const last = this.parent.scopes.pop();
  8140. if (last && last !== this) {
  8141. this.parent.scopes[this.index] = last;
  8142. last.index = this.index;
  8143. }
  8144. }
  8145. this.active = false;
  8146. }
  8147. }
  8148. }
  8149. function effectScope(detached) {
  8150. return new EffectScope(detached);
  8151. }
  8152. function recordEffectScope(effect, scope = activeEffectScope) {
  8153. if (scope && scope.active) {
  8154. scope.effects.push(effect);
  8155. }
  8156. }
  8157. function getCurrentScope() {
  8158. return activeEffectScope;
  8159. }
  8160. function onScopeDispose(fn) {
  8161. if (activeEffectScope) {
  8162. activeEffectScope.cleanups.push(fn);
  8163. }
  8164. else if ((true)) {
  8165. warn(`onScopeDispose() is called when there is no active effect scope` +
  8166. ` to be associated with.`);
  8167. }
  8168. }
  8169. const createDep = (effects) => {
  8170. const dep = new Set(effects);
  8171. dep.w = 0;
  8172. dep.n = 0;
  8173. return dep;
  8174. };
  8175. const wasTracked = (dep) => (dep.w & trackOpBit) > 0;
  8176. const newTracked = (dep) => (dep.n & trackOpBit) > 0;
  8177. const initDepMarkers = ({ deps }) => {
  8178. if (deps.length) {
  8179. for (let i = 0; i < deps.length; i++) {
  8180. deps[i].w |= trackOpBit; // set was tracked
  8181. }
  8182. }
  8183. };
  8184. const finalizeDepMarkers = (effect) => {
  8185. const { deps } = effect;
  8186. if (deps.length) {
  8187. let ptr = 0;
  8188. for (let i = 0; i < deps.length; i++) {
  8189. const dep = deps[i];
  8190. if (wasTracked(dep) && !newTracked(dep)) {
  8191. dep.delete(effect);
  8192. }
  8193. else {
  8194. deps[ptr++] = dep;
  8195. }
  8196. // clear bits
  8197. dep.w &= ~trackOpBit;
  8198. dep.n &= ~trackOpBit;
  8199. }
  8200. deps.length = ptr;
  8201. }
  8202. };
  8203. const targetMap = new WeakMap();
  8204. // The number of effects currently being tracked recursively.
  8205. let effectTrackDepth = 0;
  8206. let trackOpBit = 1;
  8207. /**
  8208. * The bitwise track markers support at most 30 levels of recursion.
  8209. * This value is chosen to enable modern JS engines to use a SMI on all platforms.
  8210. * When recursion depth is greater, fall back to using a full cleanup.
  8211. */
  8212. const maxMarkerBits = 30;
  8213. let activeEffect;
  8214. const ITERATE_KEY = Symbol(( true) ? 'iterate' : 0);
  8215. const MAP_KEY_ITERATE_KEY = Symbol(( true) ? 'Map key iterate' : 0);
  8216. class ReactiveEffect {
  8217. constructor(fn, scheduler = null, scope) {
  8218. this.fn = fn;
  8219. this.scheduler = scheduler;
  8220. this.active = true;
  8221. this.deps = [];
  8222. this.parent = undefined;
  8223. recordEffectScope(this, scope);
  8224. }
  8225. run() {
  8226. if (!this.active) {
  8227. return this.fn();
  8228. }
  8229. let parent = activeEffect;
  8230. let lastShouldTrack = shouldTrack;
  8231. while (parent) {
  8232. if (parent === this) {
  8233. return;
  8234. }
  8235. parent = parent.parent;
  8236. }
  8237. try {
  8238. this.parent = activeEffect;
  8239. activeEffect = this;
  8240. shouldTrack = true;
  8241. trackOpBit = 1 << ++effectTrackDepth;
  8242. if (effectTrackDepth <= maxMarkerBits) {
  8243. initDepMarkers(this);
  8244. }
  8245. else {
  8246. cleanupEffect(this);
  8247. }
  8248. return this.fn();
  8249. }
  8250. finally {
  8251. if (effectTrackDepth <= maxMarkerBits) {
  8252. finalizeDepMarkers(this);
  8253. }
  8254. trackOpBit = 1 << --effectTrackDepth;
  8255. activeEffect = this.parent;
  8256. shouldTrack = lastShouldTrack;
  8257. this.parent = undefined;
  8258. }
  8259. }
  8260. stop() {
  8261. if (this.active) {
  8262. cleanupEffect(this);
  8263. if (this.onStop) {
  8264. this.onStop();
  8265. }
  8266. this.active = false;
  8267. }
  8268. }
  8269. }
  8270. function cleanupEffect(effect) {
  8271. const { deps } = effect;
  8272. if (deps.length) {
  8273. for (let i = 0; i < deps.length; i++) {
  8274. deps[i].delete(effect);
  8275. }
  8276. deps.length = 0;
  8277. }
  8278. }
  8279. function effect(fn, options) {
  8280. if (fn.effect) {
  8281. fn = fn.effect.fn;
  8282. }
  8283. const _effect = new ReactiveEffect(fn);
  8284. if (options) {
  8285. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.extend)(_effect, options);
  8286. if (options.scope)
  8287. recordEffectScope(_effect, options.scope);
  8288. }
  8289. if (!options || !options.lazy) {
  8290. _effect.run();
  8291. }
  8292. const runner = _effect.run.bind(_effect);
  8293. runner.effect = _effect;
  8294. return runner;
  8295. }
  8296. function stop(runner) {
  8297. runner.effect.stop();
  8298. }
  8299. let shouldTrack = true;
  8300. const trackStack = [];
  8301. function pauseTracking() {
  8302. trackStack.push(shouldTrack);
  8303. shouldTrack = false;
  8304. }
  8305. function enableTracking() {
  8306. trackStack.push(shouldTrack);
  8307. shouldTrack = true;
  8308. }
  8309. function resetTracking() {
  8310. const last = trackStack.pop();
  8311. shouldTrack = last === undefined ? true : last;
  8312. }
  8313. function track(target, type, key) {
  8314. if (shouldTrack && activeEffect) {
  8315. let depsMap = targetMap.get(target);
  8316. if (!depsMap) {
  8317. targetMap.set(target, (depsMap = new Map()));
  8318. }
  8319. let dep = depsMap.get(key);
  8320. if (!dep) {
  8321. depsMap.set(key, (dep = createDep()));
  8322. }
  8323. const eventInfo = ( true)
  8324. ? { effect: activeEffect, target, type, key }
  8325. : 0;
  8326. trackEffects(dep, eventInfo);
  8327. }
  8328. }
  8329. function trackEffects(dep, debuggerEventExtraInfo) {
  8330. let shouldTrack = false;
  8331. if (effectTrackDepth <= maxMarkerBits) {
  8332. if (!newTracked(dep)) {
  8333. dep.n |= trackOpBit; // set newly tracked
  8334. shouldTrack = !wasTracked(dep);
  8335. }
  8336. }
  8337. else {
  8338. // Full cleanup mode.
  8339. shouldTrack = !dep.has(activeEffect);
  8340. }
  8341. if (shouldTrack) {
  8342. dep.add(activeEffect);
  8343. activeEffect.deps.push(dep);
  8344. if (( true) && activeEffect.onTrack) {
  8345. activeEffect.onTrack(Object.assign({ effect: activeEffect }, debuggerEventExtraInfo));
  8346. }
  8347. }
  8348. }
  8349. function trigger(target, type, key, newValue, oldValue, oldTarget) {
  8350. const depsMap = targetMap.get(target);
  8351. if (!depsMap) {
  8352. // never been tracked
  8353. return;
  8354. }
  8355. let deps = [];
  8356. if (type === "clear" /* CLEAR */) {
  8357. // collection being cleared
  8358. // trigger all effects for target
  8359. deps = [...depsMap.values()];
  8360. }
  8361. else if (key === 'length' && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isArray)(target)) {
  8362. depsMap.forEach((dep, key) => {
  8363. if (key === 'length' || key >= newValue) {
  8364. deps.push(dep);
  8365. }
  8366. });
  8367. }
  8368. else {
  8369. // schedule runs for SET | ADD | DELETE
  8370. if (key !== void 0) {
  8371. deps.push(depsMap.get(key));
  8372. }
  8373. // also run for iteration key on ADD | DELETE | Map.SET
  8374. switch (type) {
  8375. case "add" /* ADD */:
  8376. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isArray)(target)) {
  8377. deps.push(depsMap.get(ITERATE_KEY));
  8378. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isMap)(target)) {
  8379. deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));
  8380. }
  8381. }
  8382. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isIntegerKey)(key)) {
  8383. // new index added to array -> length changes
  8384. deps.push(depsMap.get('length'));
  8385. }
  8386. break;
  8387. case "delete" /* DELETE */:
  8388. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isArray)(target)) {
  8389. deps.push(depsMap.get(ITERATE_KEY));
  8390. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isMap)(target)) {
  8391. deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));
  8392. }
  8393. }
  8394. break;
  8395. case "set" /* SET */:
  8396. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isMap)(target)) {
  8397. deps.push(depsMap.get(ITERATE_KEY));
  8398. }
  8399. break;
  8400. }
  8401. }
  8402. const eventInfo = ( true)
  8403. ? { target, type, key, newValue, oldValue, oldTarget }
  8404. : 0;
  8405. if (deps.length === 1) {
  8406. if (deps[0]) {
  8407. if ((true)) {
  8408. triggerEffects(deps[0], eventInfo);
  8409. }
  8410. else {}
  8411. }
  8412. }
  8413. else {
  8414. const effects = [];
  8415. for (const dep of deps) {
  8416. if (dep) {
  8417. effects.push(...dep);
  8418. }
  8419. }
  8420. if ((true)) {
  8421. triggerEffects(createDep(effects), eventInfo);
  8422. }
  8423. else {}
  8424. }
  8425. }
  8426. function triggerEffects(dep, debuggerEventExtraInfo) {
  8427. // spread into array for stabilization
  8428. for (const effect of (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isArray)(dep) ? dep : [...dep]) {
  8429. if (effect !== activeEffect || effect.allowRecurse) {
  8430. if (( true) && effect.onTrigger) {
  8431. effect.onTrigger((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.extend)({ effect }, debuggerEventExtraInfo));
  8432. }
  8433. if (effect.scheduler) {
  8434. effect.scheduler();
  8435. }
  8436. else {
  8437. effect.run();
  8438. }
  8439. }
  8440. }
  8441. }
  8442. const isNonTrackableKeys = /*#__PURE__*/ (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.makeMap)(`__proto__,__v_isRef,__isVue`);
  8443. const builtInSymbols = new Set(Object.getOwnPropertyNames(Symbol)
  8444. .map(key => Symbol[key])
  8445. .filter(_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isSymbol));
  8446. const get = /*#__PURE__*/ createGetter();
  8447. const shallowGet = /*#__PURE__*/ createGetter(false, true);
  8448. const readonlyGet = /*#__PURE__*/ createGetter(true);
  8449. const shallowReadonlyGet = /*#__PURE__*/ createGetter(true, true);
  8450. const arrayInstrumentations = /*#__PURE__*/ createArrayInstrumentations();
  8451. function createArrayInstrumentations() {
  8452. const instrumentations = {};
  8453. ['includes', 'indexOf', 'lastIndexOf'].forEach(key => {
  8454. instrumentations[key] = function (...args) {
  8455. const arr = toRaw(this);
  8456. for (let i = 0, l = this.length; i < l; i++) {
  8457. track(arr, "get" /* GET */, i + '');
  8458. }
  8459. // we run the method using the original args first (which may be reactive)
  8460. const res = arr[key](...args);
  8461. if (res === -1 || res === false) {
  8462. // if that didn't work, run it again using raw values.
  8463. return arr[key](...args.map(toRaw));
  8464. }
  8465. else {
  8466. return res;
  8467. }
  8468. };
  8469. });
  8470. ['push', 'pop', 'shift', 'unshift', 'splice'].forEach(key => {
  8471. instrumentations[key] = function (...args) {
  8472. pauseTracking();
  8473. const res = toRaw(this)[key].apply(this, args);
  8474. resetTracking();
  8475. return res;
  8476. };
  8477. });
  8478. return instrumentations;
  8479. }
  8480. function createGetter(isReadonly = false, shallow = false) {
  8481. return function get(target, key, receiver) {
  8482. if (key === "__v_isReactive" /* IS_REACTIVE */) {
  8483. return !isReadonly;
  8484. }
  8485. else if (key === "__v_isReadonly" /* IS_READONLY */) {
  8486. return isReadonly;
  8487. }
  8488. else if (key === "__v_isShallow" /* IS_SHALLOW */) {
  8489. return shallow;
  8490. }
  8491. else if (key === "__v_raw" /* RAW */ &&
  8492. receiver ===
  8493. (isReadonly
  8494. ? shallow
  8495. ? shallowReadonlyMap
  8496. : readonlyMap
  8497. : shallow
  8498. ? shallowReactiveMap
  8499. : reactiveMap).get(target)) {
  8500. return target;
  8501. }
  8502. const targetIsArray = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isArray)(target);
  8503. if (!isReadonly && targetIsArray && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.hasOwn)(arrayInstrumentations, key)) {
  8504. return Reflect.get(arrayInstrumentations, key, receiver);
  8505. }
  8506. const res = Reflect.get(target, key, receiver);
  8507. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isSymbol)(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {
  8508. return res;
  8509. }
  8510. if (!isReadonly) {
  8511. track(target, "get" /* GET */, key);
  8512. }
  8513. if (shallow) {
  8514. return res;
  8515. }
  8516. if (isRef(res)) {
  8517. // ref unwrapping - does not apply for Array + integer key.
  8518. const shouldUnwrap = !targetIsArray || !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isIntegerKey)(key);
  8519. return shouldUnwrap ? res.value : res;
  8520. }
  8521. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isObject)(res)) {
  8522. // Convert returned value into a proxy as well. we do the isObject check
  8523. // here to avoid invalid value warning. Also need to lazy access readonly
  8524. // and reactive here to avoid circular dependency.
  8525. return isReadonly ? readonly(res) : reactive(res);
  8526. }
  8527. return res;
  8528. };
  8529. }
  8530. const set = /*#__PURE__*/ createSetter();
  8531. const shallowSet = /*#__PURE__*/ createSetter(true);
  8532. function createSetter(shallow = false) {
  8533. return function set(target, key, value, receiver) {
  8534. let oldValue = target[key];
  8535. if (isReadonly(oldValue) && isRef(oldValue) && !isRef(value)) {
  8536. return false;
  8537. }
  8538. if (!shallow && !isReadonly(value)) {
  8539. if (!isShallow(value)) {
  8540. value = toRaw(value);
  8541. oldValue = toRaw(oldValue);
  8542. }
  8543. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isArray)(target) && isRef(oldValue) && !isRef(value)) {
  8544. oldValue.value = value;
  8545. return true;
  8546. }
  8547. }
  8548. const hadKey = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isArray)(target) && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isIntegerKey)(key)
  8549. ? Number(key) < target.length
  8550. : (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.hasOwn)(target, key);
  8551. const result = Reflect.set(target, key, value, receiver);
  8552. // don't trigger if target is something up in the prototype chain of original
  8553. if (target === toRaw(receiver)) {
  8554. if (!hadKey) {
  8555. trigger(target, "add" /* ADD */, key, value);
  8556. }
  8557. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.hasChanged)(value, oldValue)) {
  8558. trigger(target, "set" /* SET */, key, value, oldValue);
  8559. }
  8560. }
  8561. return result;
  8562. };
  8563. }
  8564. function deleteProperty(target, key) {
  8565. const hadKey = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.hasOwn)(target, key);
  8566. const oldValue = target[key];
  8567. const result = Reflect.deleteProperty(target, key);
  8568. if (result && hadKey) {
  8569. trigger(target, "delete" /* DELETE */, key, undefined, oldValue);
  8570. }
  8571. return result;
  8572. }
  8573. function has(target, key) {
  8574. const result = Reflect.has(target, key);
  8575. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isSymbol)(key) || !builtInSymbols.has(key)) {
  8576. track(target, "has" /* HAS */, key);
  8577. }
  8578. return result;
  8579. }
  8580. function ownKeys(target) {
  8581. track(target, "iterate" /* ITERATE */, (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isArray)(target) ? 'length' : ITERATE_KEY);
  8582. return Reflect.ownKeys(target);
  8583. }
  8584. const mutableHandlers = {
  8585. get,
  8586. set,
  8587. deleteProperty,
  8588. has,
  8589. ownKeys
  8590. };
  8591. const readonlyHandlers = {
  8592. get: readonlyGet,
  8593. set(target, key) {
  8594. if ((true)) {
  8595. console.warn(`Set operation on key "${String(key)}" failed: target is readonly.`, target);
  8596. }
  8597. return true;
  8598. },
  8599. deleteProperty(target, key) {
  8600. if ((true)) {
  8601. console.warn(`Delete operation on key "${String(key)}" failed: target is readonly.`, target);
  8602. }
  8603. return true;
  8604. }
  8605. };
  8606. const shallowReactiveHandlers = /*#__PURE__*/ (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.extend)({}, mutableHandlers, {
  8607. get: shallowGet,
  8608. set: shallowSet
  8609. });
  8610. // Props handlers are special in the sense that it should not unwrap top-level
  8611. // refs (in order to allow refs to be explicitly passed down), but should
  8612. // retain the reactivity of the normal readonly object.
  8613. const shallowReadonlyHandlers = /*#__PURE__*/ (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.extend)({}, readonlyHandlers, {
  8614. get: shallowReadonlyGet
  8615. });
  8616. const toShallow = (value) => value;
  8617. const getProto = (v) => Reflect.getPrototypeOf(v);
  8618. function get$1(target, key, isReadonly = false, isShallow = false) {
  8619. // #1772: readonly(reactive(Map)) should return readonly + reactive version
  8620. // of the value
  8621. target = target["__v_raw" /* RAW */];
  8622. const rawTarget = toRaw(target);
  8623. const rawKey = toRaw(key);
  8624. if (key !== rawKey) {
  8625. !isReadonly && track(rawTarget, "get" /* GET */, key);
  8626. }
  8627. !isReadonly && track(rawTarget, "get" /* GET */, rawKey);
  8628. const { has } = getProto(rawTarget);
  8629. const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;
  8630. if (has.call(rawTarget, key)) {
  8631. return wrap(target.get(key));
  8632. }
  8633. else if (has.call(rawTarget, rawKey)) {
  8634. return wrap(target.get(rawKey));
  8635. }
  8636. else if (target !== rawTarget) {
  8637. // #3602 readonly(reactive(Map))
  8638. // ensure that the nested reactive `Map` can do tracking for itself
  8639. target.get(key);
  8640. }
  8641. }
  8642. function has$1(key, isReadonly = false) {
  8643. const target = this["__v_raw" /* RAW */];
  8644. const rawTarget = toRaw(target);
  8645. const rawKey = toRaw(key);
  8646. if (key !== rawKey) {
  8647. !isReadonly && track(rawTarget, "has" /* HAS */, key);
  8648. }
  8649. !isReadonly && track(rawTarget, "has" /* HAS */, rawKey);
  8650. return key === rawKey
  8651. ? target.has(key)
  8652. : target.has(key) || target.has(rawKey);
  8653. }
  8654. function size(target, isReadonly = false) {
  8655. target = target["__v_raw" /* RAW */];
  8656. !isReadonly && track(toRaw(target), "iterate" /* ITERATE */, ITERATE_KEY);
  8657. return Reflect.get(target, 'size', target);
  8658. }
  8659. function add(value) {
  8660. value = toRaw(value);
  8661. const target = toRaw(this);
  8662. const proto = getProto(target);
  8663. const hadKey = proto.has.call(target, value);
  8664. if (!hadKey) {
  8665. target.add(value);
  8666. trigger(target, "add" /* ADD */, value, value);
  8667. }
  8668. return this;
  8669. }
  8670. function set$1(key, value) {
  8671. value = toRaw(value);
  8672. const target = toRaw(this);
  8673. const { has, get } = getProto(target);
  8674. let hadKey = has.call(target, key);
  8675. if (!hadKey) {
  8676. key = toRaw(key);
  8677. hadKey = has.call(target, key);
  8678. }
  8679. else if ((true)) {
  8680. checkIdentityKeys(target, has, key);
  8681. }
  8682. const oldValue = get.call(target, key);
  8683. target.set(key, value);
  8684. if (!hadKey) {
  8685. trigger(target, "add" /* ADD */, key, value);
  8686. }
  8687. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.hasChanged)(value, oldValue)) {
  8688. trigger(target, "set" /* SET */, key, value, oldValue);
  8689. }
  8690. return this;
  8691. }
  8692. function deleteEntry(key) {
  8693. const target = toRaw(this);
  8694. const { has, get } = getProto(target);
  8695. let hadKey = has.call(target, key);
  8696. if (!hadKey) {
  8697. key = toRaw(key);
  8698. hadKey = has.call(target, key);
  8699. }
  8700. else if ((true)) {
  8701. checkIdentityKeys(target, has, key);
  8702. }
  8703. const oldValue = get ? get.call(target, key) : undefined;
  8704. // forward the operation before queueing reactions
  8705. const result = target.delete(key);
  8706. if (hadKey) {
  8707. trigger(target, "delete" /* DELETE */, key, undefined, oldValue);
  8708. }
  8709. return result;
  8710. }
  8711. function clear() {
  8712. const target = toRaw(this);
  8713. const hadItems = target.size !== 0;
  8714. const oldTarget = ( true)
  8715. ? (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isMap)(target)
  8716. ? new Map(target)
  8717. : new Set(target)
  8718. : 0;
  8719. // forward the operation before queueing reactions
  8720. const result = target.clear();
  8721. if (hadItems) {
  8722. trigger(target, "clear" /* CLEAR */, undefined, undefined, oldTarget);
  8723. }
  8724. return result;
  8725. }
  8726. function createForEach(isReadonly, isShallow) {
  8727. return function forEach(callback, thisArg) {
  8728. const observed = this;
  8729. const target = observed["__v_raw" /* RAW */];
  8730. const rawTarget = toRaw(target);
  8731. const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;
  8732. !isReadonly && track(rawTarget, "iterate" /* ITERATE */, ITERATE_KEY);
  8733. return target.forEach((value, key) => {
  8734. // important: make sure the callback is
  8735. // 1. invoked with the reactive map as `this` and 3rd arg
  8736. // 2. the value received should be a corresponding reactive/readonly.
  8737. return callback.call(thisArg, wrap(value), wrap(key), observed);
  8738. });
  8739. };
  8740. }
  8741. function createIterableMethod(method, isReadonly, isShallow) {
  8742. return function (...args) {
  8743. const target = this["__v_raw" /* RAW */];
  8744. const rawTarget = toRaw(target);
  8745. const targetIsMap = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isMap)(rawTarget);
  8746. const isPair = method === 'entries' || (method === Symbol.iterator && targetIsMap);
  8747. const isKeyOnly = method === 'keys' && targetIsMap;
  8748. const innerIterator = target[method](...args);
  8749. const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;
  8750. !isReadonly &&
  8751. track(rawTarget, "iterate" /* ITERATE */, isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY);
  8752. // return a wrapped iterator which returns observed versions of the
  8753. // values emitted from the real iterator
  8754. return {
  8755. // iterator protocol
  8756. next() {
  8757. const { value, done } = innerIterator.next();
  8758. return done
  8759. ? { value, done }
  8760. : {
  8761. value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value),
  8762. done
  8763. };
  8764. },
  8765. // iterable protocol
  8766. [Symbol.iterator]() {
  8767. return this;
  8768. }
  8769. };
  8770. };
  8771. }
  8772. function createReadonlyMethod(type) {
  8773. return function (...args) {
  8774. if ((true)) {
  8775. const key = args[0] ? `on key "${args[0]}" ` : ``;
  8776. console.warn(`${(0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.capitalize)(type)} operation ${key}failed: target is readonly.`, toRaw(this));
  8777. }
  8778. return type === "delete" /* DELETE */ ? false : this;
  8779. };
  8780. }
  8781. function createInstrumentations() {
  8782. const mutableInstrumentations = {
  8783. get(key) {
  8784. return get$1(this, key);
  8785. },
  8786. get size() {
  8787. return size(this);
  8788. },
  8789. has: has$1,
  8790. add,
  8791. set: set$1,
  8792. delete: deleteEntry,
  8793. clear,
  8794. forEach: createForEach(false, false)
  8795. };
  8796. const shallowInstrumentations = {
  8797. get(key) {
  8798. return get$1(this, key, false, true);
  8799. },
  8800. get size() {
  8801. return size(this);
  8802. },
  8803. has: has$1,
  8804. add,
  8805. set: set$1,
  8806. delete: deleteEntry,
  8807. clear,
  8808. forEach: createForEach(false, true)
  8809. };
  8810. const readonlyInstrumentations = {
  8811. get(key) {
  8812. return get$1(this, key, true);
  8813. },
  8814. get size() {
  8815. return size(this, true);
  8816. },
  8817. has(key) {
  8818. return has$1.call(this, key, true);
  8819. },
  8820. add: createReadonlyMethod("add" /* ADD */),
  8821. set: createReadonlyMethod("set" /* SET */),
  8822. delete: createReadonlyMethod("delete" /* DELETE */),
  8823. clear: createReadonlyMethod("clear" /* CLEAR */),
  8824. forEach: createForEach(true, false)
  8825. };
  8826. const shallowReadonlyInstrumentations = {
  8827. get(key) {
  8828. return get$1(this, key, true, true);
  8829. },
  8830. get size() {
  8831. return size(this, true);
  8832. },
  8833. has(key) {
  8834. return has$1.call(this, key, true);
  8835. },
  8836. add: createReadonlyMethod("add" /* ADD */),
  8837. set: createReadonlyMethod("set" /* SET */),
  8838. delete: createReadonlyMethod("delete" /* DELETE */),
  8839. clear: createReadonlyMethod("clear" /* CLEAR */),
  8840. forEach: createForEach(true, true)
  8841. };
  8842. const iteratorMethods = ['keys', 'values', 'entries', Symbol.iterator];
  8843. iteratorMethods.forEach(method => {
  8844. mutableInstrumentations[method] = createIterableMethod(method, false, false);
  8845. readonlyInstrumentations[method] = createIterableMethod(method, true, false);
  8846. shallowInstrumentations[method] = createIterableMethod(method, false, true);
  8847. shallowReadonlyInstrumentations[method] = createIterableMethod(method, true, true);
  8848. });
  8849. return [
  8850. mutableInstrumentations,
  8851. readonlyInstrumentations,
  8852. shallowInstrumentations,
  8853. shallowReadonlyInstrumentations
  8854. ];
  8855. }
  8856. const [mutableInstrumentations, readonlyInstrumentations, shallowInstrumentations, shallowReadonlyInstrumentations] = /* #__PURE__*/ createInstrumentations();
  8857. function createInstrumentationGetter(isReadonly, shallow) {
  8858. const instrumentations = shallow
  8859. ? isReadonly
  8860. ? shallowReadonlyInstrumentations
  8861. : shallowInstrumentations
  8862. : isReadonly
  8863. ? readonlyInstrumentations
  8864. : mutableInstrumentations;
  8865. return (target, key, receiver) => {
  8866. if (key === "__v_isReactive" /* IS_REACTIVE */) {
  8867. return !isReadonly;
  8868. }
  8869. else if (key === "__v_isReadonly" /* IS_READONLY */) {
  8870. return isReadonly;
  8871. }
  8872. else if (key === "__v_raw" /* RAW */) {
  8873. return target;
  8874. }
  8875. return Reflect.get((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.hasOwn)(instrumentations, key) && key in target
  8876. ? instrumentations
  8877. : target, key, receiver);
  8878. };
  8879. }
  8880. const mutableCollectionHandlers = {
  8881. get: /*#__PURE__*/ createInstrumentationGetter(false, false)
  8882. };
  8883. const shallowCollectionHandlers = {
  8884. get: /*#__PURE__*/ createInstrumentationGetter(false, true)
  8885. };
  8886. const readonlyCollectionHandlers = {
  8887. get: /*#__PURE__*/ createInstrumentationGetter(true, false)
  8888. };
  8889. const shallowReadonlyCollectionHandlers = {
  8890. get: /*#__PURE__*/ createInstrumentationGetter(true, true)
  8891. };
  8892. function checkIdentityKeys(target, has, key) {
  8893. const rawKey = toRaw(key);
  8894. if (rawKey !== key && has.call(target, rawKey)) {
  8895. const type = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.toRawType)(target);
  8896. console.warn(`Reactive ${type} contains both the raw and reactive ` +
  8897. `versions of the same object${type === `Map` ? ` as keys` : ``}, ` +
  8898. `which can lead to inconsistencies. ` +
  8899. `Avoid differentiating between the raw and reactive versions ` +
  8900. `of an object and only use the reactive version if possible.`);
  8901. }
  8902. }
  8903. const reactiveMap = new WeakMap();
  8904. const shallowReactiveMap = new WeakMap();
  8905. const readonlyMap = new WeakMap();
  8906. const shallowReadonlyMap = new WeakMap();
  8907. function targetTypeMap(rawType) {
  8908. switch (rawType) {
  8909. case 'Object':
  8910. case 'Array':
  8911. return 1 /* COMMON */;
  8912. case 'Map':
  8913. case 'Set':
  8914. case 'WeakMap':
  8915. case 'WeakSet':
  8916. return 2 /* COLLECTION */;
  8917. default:
  8918. return 0 /* INVALID */;
  8919. }
  8920. }
  8921. function getTargetType(value) {
  8922. return value["__v_skip" /* SKIP */] || !Object.isExtensible(value)
  8923. ? 0 /* INVALID */
  8924. : targetTypeMap((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.toRawType)(value));
  8925. }
  8926. function reactive(target) {
  8927. // if trying to observe a readonly proxy, return the readonly version.
  8928. if (isReadonly(target)) {
  8929. return target;
  8930. }
  8931. return createReactiveObject(target, false, mutableHandlers, mutableCollectionHandlers, reactiveMap);
  8932. }
  8933. /**
  8934. * Return a shallowly-reactive copy of the original object, where only the root
  8935. * level properties are reactive. It also does not auto-unwrap refs (even at the
  8936. * root level).
  8937. */
  8938. function shallowReactive(target) {
  8939. return createReactiveObject(target, false, shallowReactiveHandlers, shallowCollectionHandlers, shallowReactiveMap);
  8940. }
  8941. /**
  8942. * Creates a readonly copy of the original object. Note the returned copy is not
  8943. * made reactive, but `readonly` can be called on an already reactive object.
  8944. */
  8945. function readonly(target) {
  8946. return createReactiveObject(target, true, readonlyHandlers, readonlyCollectionHandlers, readonlyMap);
  8947. }
  8948. /**
  8949. * Returns a reactive-copy of the original object, where only the root level
  8950. * properties are readonly, and does NOT unwrap refs nor recursively convert
  8951. * returned properties.
  8952. * This is used for creating the props proxy object for stateful components.
  8953. */
  8954. function shallowReadonly(target) {
  8955. return createReactiveObject(target, true, shallowReadonlyHandlers, shallowReadonlyCollectionHandlers, shallowReadonlyMap);
  8956. }
  8957. function createReactiveObject(target, isReadonly, baseHandlers, collectionHandlers, proxyMap) {
  8958. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isObject)(target)) {
  8959. if ((true)) {
  8960. console.warn(`value cannot be made reactive: ${String(target)}`);
  8961. }
  8962. return target;
  8963. }
  8964. // target is already a Proxy, return it.
  8965. // exception: calling readonly() on a reactive object
  8966. if (target["__v_raw" /* RAW */] &&
  8967. !(isReadonly && target["__v_isReactive" /* IS_REACTIVE */])) {
  8968. return target;
  8969. }
  8970. // target already has corresponding Proxy
  8971. const existingProxy = proxyMap.get(target);
  8972. if (existingProxy) {
  8973. return existingProxy;
  8974. }
  8975. // only a whitelist of value types can be observed.
  8976. const targetType = getTargetType(target);
  8977. if (targetType === 0 /* INVALID */) {
  8978. return target;
  8979. }
  8980. const proxy = new Proxy(target, targetType === 2 /* COLLECTION */ ? collectionHandlers : baseHandlers);
  8981. proxyMap.set(target, proxy);
  8982. return proxy;
  8983. }
  8984. function isReactive(value) {
  8985. if (isReadonly(value)) {
  8986. return isReactive(value["__v_raw" /* RAW */]);
  8987. }
  8988. return !!(value && value["__v_isReactive" /* IS_REACTIVE */]);
  8989. }
  8990. function isReadonly(value) {
  8991. return !!(value && value["__v_isReadonly" /* IS_READONLY */]);
  8992. }
  8993. function isShallow(value) {
  8994. return !!(value && value["__v_isShallow" /* IS_SHALLOW */]);
  8995. }
  8996. function isProxy(value) {
  8997. return isReactive(value) || isReadonly(value);
  8998. }
  8999. function toRaw(observed) {
  9000. const raw = observed && observed["__v_raw" /* RAW */];
  9001. return raw ? toRaw(raw) : observed;
  9002. }
  9003. function markRaw(value) {
  9004. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.def)(value, "__v_skip" /* SKIP */, true);
  9005. return value;
  9006. }
  9007. const toReactive = (value) => (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isObject)(value) ? reactive(value) : value;
  9008. const toReadonly = (value) => (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isObject)(value) ? readonly(value) : value;
  9009. function trackRefValue(ref) {
  9010. if (shouldTrack && activeEffect) {
  9011. ref = toRaw(ref);
  9012. if ((true)) {
  9013. trackEffects(ref.dep || (ref.dep = createDep()), {
  9014. target: ref,
  9015. type: "get" /* GET */,
  9016. key: 'value'
  9017. });
  9018. }
  9019. else {}
  9020. }
  9021. }
  9022. function triggerRefValue(ref, newVal) {
  9023. ref = toRaw(ref);
  9024. if (ref.dep) {
  9025. if ((true)) {
  9026. triggerEffects(ref.dep, {
  9027. target: ref,
  9028. type: "set" /* SET */,
  9029. key: 'value',
  9030. newValue: newVal
  9031. });
  9032. }
  9033. else {}
  9034. }
  9035. }
  9036. function isRef(r) {
  9037. return !!(r && r.__v_isRef === true);
  9038. }
  9039. function ref(value) {
  9040. return createRef(value, false);
  9041. }
  9042. function shallowRef(value) {
  9043. return createRef(value, true);
  9044. }
  9045. function createRef(rawValue, shallow) {
  9046. if (isRef(rawValue)) {
  9047. return rawValue;
  9048. }
  9049. return new RefImpl(rawValue, shallow);
  9050. }
  9051. class RefImpl {
  9052. constructor(value, __v_isShallow) {
  9053. this.__v_isShallow = __v_isShallow;
  9054. this.dep = undefined;
  9055. this.__v_isRef = true;
  9056. this._rawValue = __v_isShallow ? value : toRaw(value);
  9057. this._value = __v_isShallow ? value : toReactive(value);
  9058. }
  9059. get value() {
  9060. trackRefValue(this);
  9061. return this._value;
  9062. }
  9063. set value(newVal) {
  9064. newVal = this.__v_isShallow ? newVal : toRaw(newVal);
  9065. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.hasChanged)(newVal, this._rawValue)) {
  9066. this._rawValue = newVal;
  9067. this._value = this.__v_isShallow ? newVal : toReactive(newVal);
  9068. triggerRefValue(this, newVal);
  9069. }
  9070. }
  9071. }
  9072. function triggerRef(ref) {
  9073. triggerRefValue(ref, ( true) ? ref.value : 0);
  9074. }
  9075. function unref(ref) {
  9076. return isRef(ref) ? ref.value : ref;
  9077. }
  9078. const shallowUnwrapHandlers = {
  9079. get: (target, key, receiver) => unref(Reflect.get(target, key, receiver)),
  9080. set: (target, key, value, receiver) => {
  9081. const oldValue = target[key];
  9082. if (isRef(oldValue) && !isRef(value)) {
  9083. oldValue.value = value;
  9084. return true;
  9085. }
  9086. else {
  9087. return Reflect.set(target, key, value, receiver);
  9088. }
  9089. }
  9090. };
  9091. function proxyRefs(objectWithRefs) {
  9092. return isReactive(objectWithRefs)
  9093. ? objectWithRefs
  9094. : new Proxy(objectWithRefs, shallowUnwrapHandlers);
  9095. }
  9096. class CustomRefImpl {
  9097. constructor(factory) {
  9098. this.dep = undefined;
  9099. this.__v_isRef = true;
  9100. const { get, set } = factory(() => trackRefValue(this), () => triggerRefValue(this));
  9101. this._get = get;
  9102. this._set = set;
  9103. }
  9104. get value() {
  9105. return this._get();
  9106. }
  9107. set value(newVal) {
  9108. this._set(newVal);
  9109. }
  9110. }
  9111. function customRef(factory) {
  9112. return new CustomRefImpl(factory);
  9113. }
  9114. function toRefs(object) {
  9115. if (( true) && !isProxy(object)) {
  9116. console.warn(`toRefs() expects a reactive object but received a plain one.`);
  9117. }
  9118. const ret = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isArray)(object) ? new Array(object.length) : {};
  9119. for (const key in object) {
  9120. ret[key] = toRef(object, key);
  9121. }
  9122. return ret;
  9123. }
  9124. class ObjectRefImpl {
  9125. constructor(_object, _key, _defaultValue) {
  9126. this._object = _object;
  9127. this._key = _key;
  9128. this._defaultValue = _defaultValue;
  9129. this.__v_isRef = true;
  9130. }
  9131. get value() {
  9132. const val = this._object[this._key];
  9133. return val === undefined ? this._defaultValue : val;
  9134. }
  9135. set value(newVal) {
  9136. this._object[this._key] = newVal;
  9137. }
  9138. }
  9139. function toRef(object, key, defaultValue) {
  9140. const val = object[key];
  9141. return isRef(val)
  9142. ? val
  9143. : new ObjectRefImpl(object, key, defaultValue);
  9144. }
  9145. class ComputedRefImpl {
  9146. constructor(getter, _setter, isReadonly, isSSR) {
  9147. this._setter = _setter;
  9148. this.dep = undefined;
  9149. this.__v_isRef = true;
  9150. this._dirty = true;
  9151. this.effect = new ReactiveEffect(getter, () => {
  9152. if (!this._dirty) {
  9153. this._dirty = true;
  9154. triggerRefValue(this);
  9155. }
  9156. });
  9157. this.effect.computed = this;
  9158. this.effect.active = this._cacheable = !isSSR;
  9159. this["__v_isReadonly" /* IS_READONLY */] = isReadonly;
  9160. }
  9161. get value() {
  9162. // the computed ref may get wrapped by other proxies e.g. readonly() #3376
  9163. const self = toRaw(this);
  9164. trackRefValue(self);
  9165. if (self._dirty || !self._cacheable) {
  9166. self._dirty = false;
  9167. self._value = self.effect.run();
  9168. }
  9169. return self._value;
  9170. }
  9171. set value(newValue) {
  9172. this._setter(newValue);
  9173. }
  9174. }
  9175. function computed(getterOrOptions, debugOptions, isSSR = false) {
  9176. let getter;
  9177. let setter;
  9178. const onlyGetter = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isFunction)(getterOrOptions);
  9179. if (onlyGetter) {
  9180. getter = getterOrOptions;
  9181. setter = ( true)
  9182. ? () => {
  9183. console.warn('Write operation failed: computed value is readonly');
  9184. }
  9185. : 0;
  9186. }
  9187. else {
  9188. getter = getterOrOptions.get;
  9189. setter = getterOrOptions.set;
  9190. }
  9191. const cRef = new ComputedRefImpl(getter, setter, onlyGetter || !setter, isSSR);
  9192. if (( true) && debugOptions && !isSSR) {
  9193. cRef.effect.onTrack = debugOptions.onTrack;
  9194. cRef.effect.onTrigger = debugOptions.onTrigger;
  9195. }
  9196. return cRef;
  9197. }
  9198. var _a;
  9199. const tick = Promise.resolve();
  9200. const queue = [];
  9201. let queued = false;
  9202. const scheduler = (fn) => {
  9203. queue.push(fn);
  9204. if (!queued) {
  9205. queued = true;
  9206. tick.then(flush);
  9207. }
  9208. };
  9209. const flush = () => {
  9210. for (let i = 0; i < queue.length; i++) {
  9211. queue[i]();
  9212. }
  9213. queue.length = 0;
  9214. queued = false;
  9215. };
  9216. class DeferredComputedRefImpl {
  9217. constructor(getter) {
  9218. this.dep = undefined;
  9219. this._dirty = true;
  9220. this.__v_isRef = true;
  9221. this[_a] = true;
  9222. let compareTarget;
  9223. let hasCompareTarget = false;
  9224. let scheduled = false;
  9225. this.effect = new ReactiveEffect(getter, (computedTrigger) => {
  9226. if (this.dep) {
  9227. if (computedTrigger) {
  9228. compareTarget = this._value;
  9229. hasCompareTarget = true;
  9230. }
  9231. else if (!scheduled) {
  9232. const valueToCompare = hasCompareTarget ? compareTarget : this._value;
  9233. scheduled = true;
  9234. hasCompareTarget = false;
  9235. scheduler(() => {
  9236. if (this.effect.active && this._get() !== valueToCompare) {
  9237. triggerRefValue(this);
  9238. }
  9239. scheduled = false;
  9240. });
  9241. }
  9242. // chained upstream computeds are notified synchronously to ensure
  9243. // value invalidation in case of sync access; normal effects are
  9244. // deferred to be triggered in scheduler.
  9245. for (const e of this.dep) {
  9246. if (e.computed instanceof DeferredComputedRefImpl) {
  9247. e.scheduler(true /* computedTrigger */);
  9248. }
  9249. }
  9250. }
  9251. this._dirty = true;
  9252. });
  9253. this.effect.computed = this;
  9254. }
  9255. _get() {
  9256. if (this._dirty) {
  9257. this._dirty = false;
  9258. return (this._value = this.effect.run());
  9259. }
  9260. return this._value;
  9261. }
  9262. get value() {
  9263. trackRefValue(this);
  9264. // the computed ref may get wrapped by other proxies e.g. readonly() #3376
  9265. return toRaw(this)._get();
  9266. }
  9267. }
  9268. _a = "__v_isReadonly" /* IS_READONLY */;
  9269. function deferredComputed(getter) {
  9270. return new DeferredComputedRefImpl(getter);
  9271. }
  9272. /***/ }),
  9273. /***/ "./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js":
  9274. /*!*************************************************************************!*\
  9275. !*** ./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js ***!
  9276. \*************************************************************************/
  9277. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  9278. "use strict";
  9279. __webpack_require__.r(__webpack_exports__);
  9280. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  9281. /* harmony export */ "BaseTransition": () => (/* binding */ BaseTransition),
  9282. /* harmony export */ "Comment": () => (/* binding */ Comment),
  9283. /* harmony export */ "EffectScope": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.EffectScope),
  9284. /* harmony export */ "Fragment": () => (/* binding */ Fragment),
  9285. /* harmony export */ "KeepAlive": () => (/* binding */ KeepAlive),
  9286. /* harmony export */ "ReactiveEffect": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.ReactiveEffect),
  9287. /* harmony export */ "Static": () => (/* binding */ Static),
  9288. /* harmony export */ "Suspense": () => (/* binding */ Suspense),
  9289. /* harmony export */ "Teleport": () => (/* binding */ Teleport),
  9290. /* harmony export */ "Text": () => (/* binding */ Text),
  9291. /* harmony export */ "callWithAsyncErrorHandling": () => (/* binding */ callWithAsyncErrorHandling),
  9292. /* harmony export */ "callWithErrorHandling": () => (/* binding */ callWithErrorHandling),
  9293. /* harmony export */ "camelize": () => (/* reexport safe */ _vue_shared__WEBPACK_IMPORTED_MODULE_1__.camelize),
  9294. /* harmony export */ "capitalize": () => (/* reexport safe */ _vue_shared__WEBPACK_IMPORTED_MODULE_1__.capitalize),
  9295. /* harmony export */ "cloneVNode": () => (/* binding */ cloneVNode),
  9296. /* harmony export */ "compatUtils": () => (/* binding */ compatUtils),
  9297. /* harmony export */ "computed": () => (/* binding */ computed),
  9298. /* harmony export */ "createBlock": () => (/* binding */ createBlock),
  9299. /* harmony export */ "createCommentVNode": () => (/* binding */ createCommentVNode),
  9300. /* harmony export */ "createElementBlock": () => (/* binding */ createElementBlock),
  9301. /* harmony export */ "createElementVNode": () => (/* binding */ createBaseVNode),
  9302. /* harmony export */ "createHydrationRenderer": () => (/* binding */ createHydrationRenderer),
  9303. /* harmony export */ "createPropsRestProxy": () => (/* binding */ createPropsRestProxy),
  9304. /* harmony export */ "createRenderer": () => (/* binding */ createRenderer),
  9305. /* harmony export */ "createSlots": () => (/* binding */ createSlots),
  9306. /* harmony export */ "createStaticVNode": () => (/* binding */ createStaticVNode),
  9307. /* harmony export */ "createTextVNode": () => (/* binding */ createTextVNode),
  9308. /* harmony export */ "createVNode": () => (/* binding */ createVNode),
  9309. /* harmony export */ "customRef": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.customRef),
  9310. /* harmony export */ "defineAsyncComponent": () => (/* binding */ defineAsyncComponent),
  9311. /* harmony export */ "defineComponent": () => (/* binding */ defineComponent),
  9312. /* harmony export */ "defineEmits": () => (/* binding */ defineEmits),
  9313. /* harmony export */ "defineExpose": () => (/* binding */ defineExpose),
  9314. /* harmony export */ "defineProps": () => (/* binding */ defineProps),
  9315. /* harmony export */ "devtools": () => (/* binding */ devtools),
  9316. /* harmony export */ "effect": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.effect),
  9317. /* harmony export */ "effectScope": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.effectScope),
  9318. /* harmony export */ "getCurrentInstance": () => (/* binding */ getCurrentInstance),
  9319. /* harmony export */ "getCurrentScope": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.getCurrentScope),
  9320. /* harmony export */ "getTransitionRawChildren": () => (/* binding */ getTransitionRawChildren),
  9321. /* harmony export */ "guardReactiveProps": () => (/* binding */ guardReactiveProps),
  9322. /* harmony export */ "h": () => (/* binding */ h),
  9323. /* harmony export */ "handleError": () => (/* binding */ handleError),
  9324. /* harmony export */ "initCustomFormatter": () => (/* binding */ initCustomFormatter),
  9325. /* harmony export */ "inject": () => (/* binding */ inject),
  9326. /* harmony export */ "isMemoSame": () => (/* binding */ isMemoSame),
  9327. /* harmony export */ "isProxy": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isProxy),
  9328. /* harmony export */ "isReactive": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isReactive),
  9329. /* harmony export */ "isReadonly": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isReadonly),
  9330. /* harmony export */ "isRef": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isRef),
  9331. /* harmony export */ "isRuntimeOnly": () => (/* binding */ isRuntimeOnly),
  9332. /* harmony export */ "isShallow": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isShallow),
  9333. /* harmony export */ "isVNode": () => (/* binding */ isVNode),
  9334. /* harmony export */ "markRaw": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.markRaw),
  9335. /* harmony export */ "mergeDefaults": () => (/* binding */ mergeDefaults),
  9336. /* harmony export */ "mergeProps": () => (/* binding */ mergeProps),
  9337. /* harmony export */ "nextTick": () => (/* binding */ nextTick),
  9338. /* harmony export */ "normalizeClass": () => (/* reexport safe */ _vue_shared__WEBPACK_IMPORTED_MODULE_1__.normalizeClass),
  9339. /* harmony export */ "normalizeProps": () => (/* reexport safe */ _vue_shared__WEBPACK_IMPORTED_MODULE_1__.normalizeProps),
  9340. /* harmony export */ "normalizeStyle": () => (/* reexport safe */ _vue_shared__WEBPACK_IMPORTED_MODULE_1__.normalizeStyle),
  9341. /* harmony export */ "onActivated": () => (/* binding */ onActivated),
  9342. /* harmony export */ "onBeforeMount": () => (/* binding */ onBeforeMount),
  9343. /* harmony export */ "onBeforeUnmount": () => (/* binding */ onBeforeUnmount),
  9344. /* harmony export */ "onBeforeUpdate": () => (/* binding */ onBeforeUpdate),
  9345. /* harmony export */ "onDeactivated": () => (/* binding */ onDeactivated),
  9346. /* harmony export */ "onErrorCaptured": () => (/* binding */ onErrorCaptured),
  9347. /* harmony export */ "onMounted": () => (/* binding */ onMounted),
  9348. /* harmony export */ "onRenderTracked": () => (/* binding */ onRenderTracked),
  9349. /* harmony export */ "onRenderTriggered": () => (/* binding */ onRenderTriggered),
  9350. /* harmony export */ "onScopeDispose": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.onScopeDispose),
  9351. /* harmony export */ "onServerPrefetch": () => (/* binding */ onServerPrefetch),
  9352. /* harmony export */ "onUnmounted": () => (/* binding */ onUnmounted),
  9353. /* harmony export */ "onUpdated": () => (/* binding */ onUpdated),
  9354. /* harmony export */ "openBlock": () => (/* binding */ openBlock),
  9355. /* harmony export */ "popScopeId": () => (/* binding */ popScopeId),
  9356. /* harmony export */ "provide": () => (/* binding */ provide),
  9357. /* harmony export */ "proxyRefs": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.proxyRefs),
  9358. /* harmony export */ "pushScopeId": () => (/* binding */ pushScopeId),
  9359. /* harmony export */ "queuePostFlushCb": () => (/* binding */ queuePostFlushCb),
  9360. /* harmony export */ "reactive": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.reactive),
  9361. /* harmony export */ "readonly": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.readonly),
  9362. /* harmony export */ "ref": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.ref),
  9363. /* harmony export */ "registerRuntimeCompiler": () => (/* binding */ registerRuntimeCompiler),
  9364. /* harmony export */ "renderList": () => (/* binding */ renderList),
  9365. /* harmony export */ "renderSlot": () => (/* binding */ renderSlot),
  9366. /* harmony export */ "resolveComponent": () => (/* binding */ resolveComponent),
  9367. /* harmony export */ "resolveDirective": () => (/* binding */ resolveDirective),
  9368. /* harmony export */ "resolveDynamicComponent": () => (/* binding */ resolveDynamicComponent),
  9369. /* harmony export */ "resolveFilter": () => (/* binding */ resolveFilter),
  9370. /* harmony export */ "resolveTransitionHooks": () => (/* binding */ resolveTransitionHooks),
  9371. /* harmony export */ "setBlockTracking": () => (/* binding */ setBlockTracking),
  9372. /* harmony export */ "setDevtoolsHook": () => (/* binding */ setDevtoolsHook),
  9373. /* harmony export */ "setTransitionHooks": () => (/* binding */ setTransitionHooks),
  9374. /* harmony export */ "shallowReactive": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.shallowReactive),
  9375. /* harmony export */ "shallowReadonly": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.shallowReadonly),
  9376. /* harmony export */ "shallowRef": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.shallowRef),
  9377. /* harmony export */ "ssrContextKey": () => (/* binding */ ssrContextKey),
  9378. /* harmony export */ "ssrUtils": () => (/* binding */ ssrUtils),
  9379. /* harmony export */ "stop": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.stop),
  9380. /* harmony export */ "toDisplayString": () => (/* reexport safe */ _vue_shared__WEBPACK_IMPORTED_MODULE_1__.toDisplayString),
  9381. /* harmony export */ "toHandlerKey": () => (/* reexport safe */ _vue_shared__WEBPACK_IMPORTED_MODULE_1__.toHandlerKey),
  9382. /* harmony export */ "toHandlers": () => (/* binding */ toHandlers),
  9383. /* harmony export */ "toRaw": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.toRaw),
  9384. /* harmony export */ "toRef": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.toRef),
  9385. /* harmony export */ "toRefs": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.toRefs),
  9386. /* harmony export */ "transformVNodeArgs": () => (/* binding */ transformVNodeArgs),
  9387. /* harmony export */ "triggerRef": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.triggerRef),
  9388. /* harmony export */ "unref": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.unref),
  9389. /* harmony export */ "useAttrs": () => (/* binding */ useAttrs),
  9390. /* harmony export */ "useSSRContext": () => (/* binding */ useSSRContext),
  9391. /* harmony export */ "useSlots": () => (/* binding */ useSlots),
  9392. /* harmony export */ "useTransitionState": () => (/* binding */ useTransitionState),
  9393. /* harmony export */ "version": () => (/* binding */ version),
  9394. /* harmony export */ "warn": () => (/* binding */ warn),
  9395. /* harmony export */ "watch": () => (/* binding */ watch),
  9396. /* harmony export */ "watchEffect": () => (/* binding */ watchEffect),
  9397. /* harmony export */ "watchPostEffect": () => (/* binding */ watchPostEffect),
  9398. /* harmony export */ "watchSyncEffect": () => (/* binding */ watchSyncEffect),
  9399. /* harmony export */ "withAsyncContext": () => (/* binding */ withAsyncContext),
  9400. /* harmony export */ "withCtx": () => (/* binding */ withCtx),
  9401. /* harmony export */ "withDefaults": () => (/* binding */ withDefaults),
  9402. /* harmony export */ "withDirectives": () => (/* binding */ withDirectives),
  9403. /* harmony export */ "withMemo": () => (/* binding */ withMemo),
  9404. /* harmony export */ "withScopeId": () => (/* binding */ withScopeId)
  9405. /* harmony export */ });
  9406. /* harmony import */ var _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @vue/reactivity */ "./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js");
  9407. /* harmony import */ var _vue_shared__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @vue/shared */ "./node_modules/@vue/shared/dist/shared.esm-bundler.js");
  9408. const stack = [];
  9409. function pushWarningContext(vnode) {
  9410. stack.push(vnode);
  9411. }
  9412. function popWarningContext() {
  9413. stack.pop();
  9414. }
  9415. function warn(msg, ...args) {
  9416. // avoid props formatting or warn handler tracking deps that might be mutated
  9417. // during patch, leading to infinite recursion.
  9418. (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.pauseTracking)();
  9419. const instance = stack.length ? stack[stack.length - 1].component : null;
  9420. const appWarnHandler = instance && instance.appContext.config.warnHandler;
  9421. const trace = getComponentTrace();
  9422. if (appWarnHandler) {
  9423. callWithErrorHandling(appWarnHandler, instance, 11 /* APP_WARN_HANDLER */, [
  9424. msg + args.join(''),
  9425. instance && instance.proxy,
  9426. trace
  9427. .map(({ vnode }) => `at <${formatComponentName(instance, vnode.type)}>`)
  9428. .join('\n'),
  9429. trace
  9430. ]);
  9431. }
  9432. else {
  9433. const warnArgs = [`[Vue warn]: ${msg}`, ...args];
  9434. /* istanbul ignore if */
  9435. if (trace.length &&
  9436. // avoid spamming console during tests
  9437. !false) {
  9438. warnArgs.push(`\n`, ...formatTrace(trace));
  9439. }
  9440. console.warn(...warnArgs);
  9441. }
  9442. (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.resetTracking)();
  9443. }
  9444. function getComponentTrace() {
  9445. let currentVNode = stack[stack.length - 1];
  9446. if (!currentVNode) {
  9447. return [];
  9448. }
  9449. // we can't just use the stack because it will be incomplete during updates
  9450. // that did not start from the root. Re-construct the parent chain using
  9451. // instance parent pointers.
  9452. const normalizedStack = [];
  9453. while (currentVNode) {
  9454. const last = normalizedStack[0];
  9455. if (last && last.vnode === currentVNode) {
  9456. last.recurseCount++;
  9457. }
  9458. else {
  9459. normalizedStack.push({
  9460. vnode: currentVNode,
  9461. recurseCount: 0
  9462. });
  9463. }
  9464. const parentInstance = currentVNode.component && currentVNode.component.parent;
  9465. currentVNode = parentInstance && parentInstance.vnode;
  9466. }
  9467. return normalizedStack;
  9468. }
  9469. /* istanbul ignore next */
  9470. function formatTrace(trace) {
  9471. const logs = [];
  9472. trace.forEach((entry, i) => {
  9473. logs.push(...(i === 0 ? [] : [`\n`]), ...formatTraceEntry(entry));
  9474. });
  9475. return logs;
  9476. }
  9477. function formatTraceEntry({ vnode, recurseCount }) {
  9478. const postfix = recurseCount > 0 ? `... (${recurseCount} recursive calls)` : ``;
  9479. const isRoot = vnode.component ? vnode.component.parent == null : false;
  9480. const open = ` at <${formatComponentName(vnode.component, vnode.type, isRoot)}`;
  9481. const close = `>` + postfix;
  9482. return vnode.props
  9483. ? [open, ...formatProps(vnode.props), close]
  9484. : [open + close];
  9485. }
  9486. /* istanbul ignore next */
  9487. function formatProps(props) {
  9488. const res = [];
  9489. const keys = Object.keys(props);
  9490. keys.slice(0, 3).forEach(key => {
  9491. res.push(...formatProp(key, props[key]));
  9492. });
  9493. if (keys.length > 3) {
  9494. res.push(` ...`);
  9495. }
  9496. return res;
  9497. }
  9498. /* istanbul ignore next */
  9499. function formatProp(key, value, raw) {
  9500. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(value)) {
  9501. value = JSON.stringify(value);
  9502. return raw ? value : [`${key}=${value}`];
  9503. }
  9504. else if (typeof value === 'number' ||
  9505. typeof value === 'boolean' ||
  9506. value == null) {
  9507. return raw ? value : [`${key}=${value}`];
  9508. }
  9509. else if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isRef)(value)) {
  9510. value = formatProp(key, (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.toRaw)(value.value), true);
  9511. return raw ? value : [`${key}=Ref<`, value, `>`];
  9512. }
  9513. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(value)) {
  9514. return [`${key}=fn${value.name ? `<${value.name}>` : ``}`];
  9515. }
  9516. else {
  9517. value = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.toRaw)(value);
  9518. return raw ? value : [`${key}=`, value];
  9519. }
  9520. }
  9521. const ErrorTypeStrings = {
  9522. ["sp" /* SERVER_PREFETCH */]: 'serverPrefetch hook',
  9523. ["bc" /* BEFORE_CREATE */]: 'beforeCreate hook',
  9524. ["c" /* CREATED */]: 'created hook',
  9525. ["bm" /* BEFORE_MOUNT */]: 'beforeMount hook',
  9526. ["m" /* MOUNTED */]: 'mounted hook',
  9527. ["bu" /* BEFORE_UPDATE */]: 'beforeUpdate hook',
  9528. ["u" /* UPDATED */]: 'updated',
  9529. ["bum" /* BEFORE_UNMOUNT */]: 'beforeUnmount hook',
  9530. ["um" /* UNMOUNTED */]: 'unmounted hook',
  9531. ["a" /* ACTIVATED */]: 'activated hook',
  9532. ["da" /* DEACTIVATED */]: 'deactivated hook',
  9533. ["ec" /* ERROR_CAPTURED */]: 'errorCaptured hook',
  9534. ["rtc" /* RENDER_TRACKED */]: 'renderTracked hook',
  9535. ["rtg" /* RENDER_TRIGGERED */]: 'renderTriggered hook',
  9536. [0 /* SETUP_FUNCTION */]: 'setup function',
  9537. [1 /* RENDER_FUNCTION */]: 'render function',
  9538. [2 /* WATCH_GETTER */]: 'watcher getter',
  9539. [3 /* WATCH_CALLBACK */]: 'watcher callback',
  9540. [4 /* WATCH_CLEANUP */]: 'watcher cleanup function',
  9541. [5 /* NATIVE_EVENT_HANDLER */]: 'native event handler',
  9542. [6 /* COMPONENT_EVENT_HANDLER */]: 'component event handler',
  9543. [7 /* VNODE_HOOK */]: 'vnode hook',
  9544. [8 /* DIRECTIVE_HOOK */]: 'directive hook',
  9545. [9 /* TRANSITION_HOOK */]: 'transition hook',
  9546. [10 /* APP_ERROR_HANDLER */]: 'app errorHandler',
  9547. [11 /* APP_WARN_HANDLER */]: 'app warnHandler',
  9548. [12 /* FUNCTION_REF */]: 'ref function',
  9549. [13 /* ASYNC_COMPONENT_LOADER */]: 'async component loader',
  9550. [14 /* SCHEDULER */]: 'scheduler flush. This is likely a Vue internals bug. ' +
  9551. 'Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core'
  9552. };
  9553. function callWithErrorHandling(fn, instance, type, args) {
  9554. let res;
  9555. try {
  9556. res = args ? fn(...args) : fn();
  9557. }
  9558. catch (err) {
  9559. handleError(err, instance, type);
  9560. }
  9561. return res;
  9562. }
  9563. function callWithAsyncErrorHandling(fn, instance, type, args) {
  9564. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(fn)) {
  9565. const res = callWithErrorHandling(fn, instance, type, args);
  9566. if (res && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isPromise)(res)) {
  9567. res.catch(err => {
  9568. handleError(err, instance, type);
  9569. });
  9570. }
  9571. return res;
  9572. }
  9573. const values = [];
  9574. for (let i = 0; i < fn.length; i++) {
  9575. values.push(callWithAsyncErrorHandling(fn[i], instance, type, args));
  9576. }
  9577. return values;
  9578. }
  9579. function handleError(err, instance, type, throwInDev = true) {
  9580. const contextVNode = instance ? instance.vnode : null;
  9581. if (instance) {
  9582. let cur = instance.parent;
  9583. // the exposed instance is the render proxy to keep it consistent with 2.x
  9584. const exposedInstance = instance.proxy;
  9585. // in production the hook receives only the error code
  9586. const errorInfo = ( true) ? ErrorTypeStrings[type] : 0;
  9587. while (cur) {
  9588. const errorCapturedHooks = cur.ec;
  9589. if (errorCapturedHooks) {
  9590. for (let i = 0; i < errorCapturedHooks.length; i++) {
  9591. if (errorCapturedHooks[i](err, exposedInstance, errorInfo) === false) {
  9592. return;
  9593. }
  9594. }
  9595. }
  9596. cur = cur.parent;
  9597. }
  9598. // app-level handling
  9599. const appErrorHandler = instance.appContext.config.errorHandler;
  9600. if (appErrorHandler) {
  9601. callWithErrorHandling(appErrorHandler, null, 10 /* APP_ERROR_HANDLER */, [err, exposedInstance, errorInfo]);
  9602. return;
  9603. }
  9604. }
  9605. logError(err, type, contextVNode, throwInDev);
  9606. }
  9607. function logError(err, type, contextVNode, throwInDev = true) {
  9608. if ((true)) {
  9609. const info = ErrorTypeStrings[type];
  9610. if (contextVNode) {
  9611. pushWarningContext(contextVNode);
  9612. }
  9613. warn(`Unhandled error${info ? ` during execution of ${info}` : ``}`);
  9614. if (contextVNode) {
  9615. popWarningContext();
  9616. }
  9617. // crash in dev by default so it's more noticeable
  9618. if (throwInDev) {
  9619. throw err;
  9620. }
  9621. else {
  9622. console.error(err);
  9623. }
  9624. }
  9625. else {}
  9626. }
  9627. let isFlushing = false;
  9628. let isFlushPending = false;
  9629. const queue = [];
  9630. let flushIndex = 0;
  9631. const pendingPreFlushCbs = [];
  9632. let activePreFlushCbs = null;
  9633. let preFlushIndex = 0;
  9634. const pendingPostFlushCbs = [];
  9635. let activePostFlushCbs = null;
  9636. let postFlushIndex = 0;
  9637. const resolvedPromise = Promise.resolve();
  9638. let currentFlushPromise = null;
  9639. let currentPreFlushParentJob = null;
  9640. const RECURSION_LIMIT = 100;
  9641. function nextTick(fn) {
  9642. const p = currentFlushPromise || resolvedPromise;
  9643. return fn ? p.then(this ? fn.bind(this) : fn) : p;
  9644. }
  9645. // #2768
  9646. // Use binary-search to find a suitable position in the queue,
  9647. // so that the queue maintains the increasing order of job's id,
  9648. // which can prevent the job from being skipped and also can avoid repeated patching.
  9649. function findInsertionIndex(id) {
  9650. // the start index should be `flushIndex + 1`
  9651. let start = flushIndex + 1;
  9652. let end = queue.length;
  9653. while (start < end) {
  9654. const middle = (start + end) >>> 1;
  9655. const middleJobId = getId(queue[middle]);
  9656. middleJobId < id ? (start = middle + 1) : (end = middle);
  9657. }
  9658. return start;
  9659. }
  9660. function queueJob(job) {
  9661. // the dedupe search uses the startIndex argument of Array.includes()
  9662. // by default the search index includes the current job that is being run
  9663. // so it cannot recursively trigger itself again.
  9664. // if the job is a watch() callback, the search will start with a +1 index to
  9665. // allow it recursively trigger itself - it is the user's responsibility to
  9666. // ensure it doesn't end up in an infinite loop.
  9667. if ((!queue.length ||
  9668. !queue.includes(job, isFlushing && job.allowRecurse ? flushIndex + 1 : flushIndex)) &&
  9669. job !== currentPreFlushParentJob) {
  9670. if (job.id == null) {
  9671. queue.push(job);
  9672. }
  9673. else {
  9674. queue.splice(findInsertionIndex(job.id), 0, job);
  9675. }
  9676. queueFlush();
  9677. }
  9678. }
  9679. function queueFlush() {
  9680. if (!isFlushing && !isFlushPending) {
  9681. isFlushPending = true;
  9682. currentFlushPromise = resolvedPromise.then(flushJobs);
  9683. }
  9684. }
  9685. function invalidateJob(job) {
  9686. const i = queue.indexOf(job);
  9687. if (i > flushIndex) {
  9688. queue.splice(i, 1);
  9689. }
  9690. }
  9691. function queueCb(cb, activeQueue, pendingQueue, index) {
  9692. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(cb)) {
  9693. if (!activeQueue ||
  9694. !activeQueue.includes(cb, cb.allowRecurse ? index + 1 : index)) {
  9695. pendingQueue.push(cb);
  9696. }
  9697. }
  9698. else {
  9699. // if cb is an array, it is a component lifecycle hook which can only be
  9700. // triggered by a job, which is already deduped in the main queue, so
  9701. // we can skip duplicate check here to improve perf
  9702. pendingQueue.push(...cb);
  9703. }
  9704. queueFlush();
  9705. }
  9706. function queuePreFlushCb(cb) {
  9707. queueCb(cb, activePreFlushCbs, pendingPreFlushCbs, preFlushIndex);
  9708. }
  9709. function queuePostFlushCb(cb) {
  9710. queueCb(cb, activePostFlushCbs, pendingPostFlushCbs, postFlushIndex);
  9711. }
  9712. function flushPreFlushCbs(seen, parentJob = null) {
  9713. if (pendingPreFlushCbs.length) {
  9714. currentPreFlushParentJob = parentJob;
  9715. activePreFlushCbs = [...new Set(pendingPreFlushCbs)];
  9716. pendingPreFlushCbs.length = 0;
  9717. if ((true)) {
  9718. seen = seen || new Map();
  9719. }
  9720. for (preFlushIndex = 0; preFlushIndex < activePreFlushCbs.length; preFlushIndex++) {
  9721. if (( true) &&
  9722. checkRecursiveUpdates(seen, activePreFlushCbs[preFlushIndex])) {
  9723. continue;
  9724. }
  9725. activePreFlushCbs[preFlushIndex]();
  9726. }
  9727. activePreFlushCbs = null;
  9728. preFlushIndex = 0;
  9729. currentPreFlushParentJob = null;
  9730. // recursively flush until it drains
  9731. flushPreFlushCbs(seen, parentJob);
  9732. }
  9733. }
  9734. function flushPostFlushCbs(seen) {
  9735. if (pendingPostFlushCbs.length) {
  9736. const deduped = [...new Set(pendingPostFlushCbs)];
  9737. pendingPostFlushCbs.length = 0;
  9738. // #1947 already has active queue, nested flushPostFlushCbs call
  9739. if (activePostFlushCbs) {
  9740. activePostFlushCbs.push(...deduped);
  9741. return;
  9742. }
  9743. activePostFlushCbs = deduped;
  9744. if ((true)) {
  9745. seen = seen || new Map();
  9746. }
  9747. activePostFlushCbs.sort((a, b) => getId(a) - getId(b));
  9748. for (postFlushIndex = 0; postFlushIndex < activePostFlushCbs.length; postFlushIndex++) {
  9749. if (( true) &&
  9750. checkRecursiveUpdates(seen, activePostFlushCbs[postFlushIndex])) {
  9751. continue;
  9752. }
  9753. activePostFlushCbs[postFlushIndex]();
  9754. }
  9755. activePostFlushCbs = null;
  9756. postFlushIndex = 0;
  9757. }
  9758. }
  9759. const getId = (job) => job.id == null ? Infinity : job.id;
  9760. function flushJobs(seen) {
  9761. isFlushPending = false;
  9762. isFlushing = true;
  9763. if ((true)) {
  9764. seen = seen || new Map();
  9765. }
  9766. flushPreFlushCbs(seen);
  9767. // Sort queue before flush.
  9768. // This ensures that:
  9769. // 1. Components are updated from parent to child. (because parent is always
  9770. // created before the child so its render effect will have smaller
  9771. // priority number)
  9772. // 2. If a component is unmounted during a parent component's update,
  9773. // its update can be skipped.
  9774. queue.sort((a, b) => getId(a) - getId(b));
  9775. // conditional usage of checkRecursiveUpdate must be determined out of
  9776. // try ... catch block since Rollup by default de-optimizes treeshaking
  9777. // inside try-catch. This can leave all warning code unshaked. Although
  9778. // they would get eventually shaken by a minifier like terser, some minifiers
  9779. // would fail to do that (e.g. https://github.com/evanw/esbuild/issues/1610)
  9780. const check = ( true)
  9781. ? (job) => checkRecursiveUpdates(seen, job)
  9782. : 0;
  9783. try {
  9784. for (flushIndex = 0; flushIndex < queue.length; flushIndex++) {
  9785. const job = queue[flushIndex];
  9786. if (job && job.active !== false) {
  9787. if (( true) && check(job)) {
  9788. continue;
  9789. }
  9790. // console.log(`running:`, job.id)
  9791. callWithErrorHandling(job, null, 14 /* SCHEDULER */);
  9792. }
  9793. }
  9794. }
  9795. finally {
  9796. flushIndex = 0;
  9797. queue.length = 0;
  9798. flushPostFlushCbs(seen);
  9799. isFlushing = false;
  9800. currentFlushPromise = null;
  9801. // some postFlushCb queued jobs!
  9802. // keep flushing until it drains.
  9803. if (queue.length ||
  9804. pendingPreFlushCbs.length ||
  9805. pendingPostFlushCbs.length) {
  9806. flushJobs(seen);
  9807. }
  9808. }
  9809. }
  9810. function checkRecursiveUpdates(seen, fn) {
  9811. if (!seen.has(fn)) {
  9812. seen.set(fn, 1);
  9813. }
  9814. else {
  9815. const count = seen.get(fn);
  9816. if (count > RECURSION_LIMIT) {
  9817. const instance = fn.ownerInstance;
  9818. const componentName = instance && getComponentName(instance.type);
  9819. warn(`Maximum recursive updates exceeded${componentName ? ` in component <${componentName}>` : ``}. ` +
  9820. `This means you have a reactive effect that is mutating its own ` +
  9821. `dependencies and thus recursively triggering itself. Possible sources ` +
  9822. `include component template, render function, updated hook or ` +
  9823. `watcher source function.`);
  9824. return true;
  9825. }
  9826. else {
  9827. seen.set(fn, count + 1);
  9828. }
  9829. }
  9830. }
  9831. /* eslint-disable no-restricted-globals */
  9832. let isHmrUpdating = false;
  9833. const hmrDirtyComponents = new Set();
  9834. // Expose the HMR runtime on the global object
  9835. // This makes it entirely tree-shakable without polluting the exports and makes
  9836. // it easier to be used in toolings like vue-loader
  9837. // Note: for a component to be eligible for HMR it also needs the __hmrId option
  9838. // to be set so that its instances can be registered / removed.
  9839. if ((true)) {
  9840. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.getGlobalThis)().__VUE_HMR_RUNTIME__ = {
  9841. createRecord: tryWrap(createRecord),
  9842. rerender: tryWrap(rerender),
  9843. reload: tryWrap(reload)
  9844. };
  9845. }
  9846. const map = new Map();
  9847. function registerHMR(instance) {
  9848. const id = instance.type.__hmrId;
  9849. let record = map.get(id);
  9850. if (!record) {
  9851. createRecord(id, instance.type);
  9852. record = map.get(id);
  9853. }
  9854. record.instances.add(instance);
  9855. }
  9856. function unregisterHMR(instance) {
  9857. map.get(instance.type.__hmrId).instances.delete(instance);
  9858. }
  9859. function createRecord(id, initialDef) {
  9860. if (map.has(id)) {
  9861. return false;
  9862. }
  9863. map.set(id, {
  9864. initialDef: normalizeClassComponent(initialDef),
  9865. instances: new Set()
  9866. });
  9867. return true;
  9868. }
  9869. function normalizeClassComponent(component) {
  9870. return isClassComponent(component) ? component.__vccOpts : component;
  9871. }
  9872. function rerender(id, newRender) {
  9873. const record = map.get(id);
  9874. if (!record) {
  9875. return;
  9876. }
  9877. // update initial record (for not-yet-rendered component)
  9878. record.initialDef.render = newRender;
  9879. [...record.instances].forEach(instance => {
  9880. if (newRender) {
  9881. instance.render = newRender;
  9882. normalizeClassComponent(instance.type).render = newRender;
  9883. }
  9884. instance.renderCache = [];
  9885. // this flag forces child components with slot content to update
  9886. isHmrUpdating = true;
  9887. instance.update();
  9888. isHmrUpdating = false;
  9889. });
  9890. }
  9891. function reload(id, newComp) {
  9892. const record = map.get(id);
  9893. if (!record)
  9894. return;
  9895. newComp = normalizeClassComponent(newComp);
  9896. // update initial def (for not-yet-rendered components)
  9897. updateComponentDef(record.initialDef, newComp);
  9898. // create a snapshot which avoids the set being mutated during updates
  9899. const instances = [...record.instances];
  9900. for (const instance of instances) {
  9901. const oldComp = normalizeClassComponent(instance.type);
  9902. if (!hmrDirtyComponents.has(oldComp)) {
  9903. // 1. Update existing comp definition to match new one
  9904. if (oldComp !== record.initialDef) {
  9905. updateComponentDef(oldComp, newComp);
  9906. }
  9907. // 2. mark definition dirty. This forces the renderer to replace the
  9908. // component on patch.
  9909. hmrDirtyComponents.add(oldComp);
  9910. }
  9911. // 3. invalidate options resolution cache
  9912. instance.appContext.optionsCache.delete(instance.type);
  9913. // 4. actually update
  9914. if (instance.ceReload) {
  9915. // custom element
  9916. hmrDirtyComponents.add(oldComp);
  9917. instance.ceReload(newComp.styles);
  9918. hmrDirtyComponents.delete(oldComp);
  9919. }
  9920. else if (instance.parent) {
  9921. // 4. Force the parent instance to re-render. This will cause all updated
  9922. // components to be unmounted and re-mounted. Queue the update so that we
  9923. // don't end up forcing the same parent to re-render multiple times.
  9924. queueJob(instance.parent.update);
  9925. // instance is the inner component of an async custom element
  9926. // invoke to reset styles
  9927. if (instance.parent.type.__asyncLoader &&
  9928. instance.parent.ceReload) {
  9929. instance.parent.ceReload(newComp.styles);
  9930. }
  9931. }
  9932. else if (instance.appContext.reload) {
  9933. // root instance mounted via createApp() has a reload method
  9934. instance.appContext.reload();
  9935. }
  9936. else if (typeof window !== 'undefined') {
  9937. // root instance inside tree created via raw render(). Force reload.
  9938. window.location.reload();
  9939. }
  9940. else {
  9941. console.warn('[HMR] Root or manually mounted instance modified. Full reload required.');
  9942. }
  9943. }
  9944. // 5. make sure to cleanup dirty hmr components after update
  9945. queuePostFlushCb(() => {
  9946. for (const instance of instances) {
  9947. hmrDirtyComponents.delete(normalizeClassComponent(instance.type));
  9948. }
  9949. });
  9950. }
  9951. function updateComponentDef(oldComp, newComp) {
  9952. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)(oldComp, newComp);
  9953. for (const key in oldComp) {
  9954. if (key !== '__file' && !(key in newComp)) {
  9955. delete oldComp[key];
  9956. }
  9957. }
  9958. }
  9959. function tryWrap(fn) {
  9960. return (id, arg) => {
  9961. try {
  9962. return fn(id, arg);
  9963. }
  9964. catch (e) {
  9965. console.error(e);
  9966. console.warn(`[HMR] Something went wrong during Vue component hot-reload. ` +
  9967. `Full reload required.`);
  9968. }
  9969. };
  9970. }
  9971. let devtools;
  9972. let buffer = [];
  9973. let devtoolsNotInstalled = false;
  9974. function emit(event, ...args) {
  9975. if (devtools) {
  9976. devtools.emit(event, ...args);
  9977. }
  9978. else if (!devtoolsNotInstalled) {
  9979. buffer.push({ event, args });
  9980. }
  9981. }
  9982. function setDevtoolsHook(hook, target) {
  9983. var _a, _b;
  9984. devtools = hook;
  9985. if (devtools) {
  9986. devtools.enabled = true;
  9987. buffer.forEach(({ event, args }) => devtools.emit(event, ...args));
  9988. buffer = [];
  9989. }
  9990. else if (
  9991. // handle late devtools injection - only do this if we are in an actual
  9992. // browser environment to avoid the timer handle stalling test runner exit
  9993. // (#4815)
  9994. // eslint-disable-next-line no-restricted-globals
  9995. typeof window !== 'undefined' &&
  9996. // some envs mock window but not fully
  9997. window.HTMLElement &&
  9998. // also exclude jsdom
  9999. !((_b = (_a = window.navigator) === null || _a === void 0 ? void 0 : _a.userAgent) === null || _b === void 0 ? void 0 : _b.includes('jsdom'))) {
  10000. const replay = (target.__VUE_DEVTOOLS_HOOK_REPLAY__ =
  10001. target.__VUE_DEVTOOLS_HOOK_REPLAY__ || []);
  10002. replay.push((newHook) => {
  10003. setDevtoolsHook(newHook, target);
  10004. });
  10005. // clear buffer after 3s - the user probably doesn't have devtools installed
  10006. // at all, and keeping the buffer will cause memory leaks (#4738)
  10007. setTimeout(() => {
  10008. if (!devtools) {
  10009. target.__VUE_DEVTOOLS_HOOK_REPLAY__ = null;
  10010. devtoolsNotInstalled = true;
  10011. buffer = [];
  10012. }
  10013. }, 3000);
  10014. }
  10015. else {
  10016. // non-browser env, assume not installed
  10017. devtoolsNotInstalled = true;
  10018. buffer = [];
  10019. }
  10020. }
  10021. function devtoolsInitApp(app, version) {
  10022. emit("app:init" /* APP_INIT */, app, version, {
  10023. Fragment,
  10024. Text,
  10025. Comment,
  10026. Static
  10027. });
  10028. }
  10029. function devtoolsUnmountApp(app) {
  10030. emit("app:unmount" /* APP_UNMOUNT */, app);
  10031. }
  10032. const devtoolsComponentAdded = /*#__PURE__*/ createDevtoolsComponentHook("component:added" /* COMPONENT_ADDED */);
  10033. const devtoolsComponentUpdated =
  10034. /*#__PURE__*/ createDevtoolsComponentHook("component:updated" /* COMPONENT_UPDATED */);
  10035. const devtoolsComponentRemoved =
  10036. /*#__PURE__*/ createDevtoolsComponentHook("component:removed" /* COMPONENT_REMOVED */);
  10037. function createDevtoolsComponentHook(hook) {
  10038. return (component) => {
  10039. emit(hook, component.appContext.app, component.uid, component.parent ? component.parent.uid : undefined, component);
  10040. };
  10041. }
  10042. const devtoolsPerfStart = /*#__PURE__*/ createDevtoolsPerformanceHook("perf:start" /* PERFORMANCE_START */);
  10043. const devtoolsPerfEnd = /*#__PURE__*/ createDevtoolsPerformanceHook("perf:end" /* PERFORMANCE_END */);
  10044. function createDevtoolsPerformanceHook(hook) {
  10045. return (component, type, time) => {
  10046. emit(hook, component.appContext.app, component.uid, component, type, time);
  10047. };
  10048. }
  10049. function devtoolsComponentEmit(component, event, params) {
  10050. emit("component:emit" /* COMPONENT_EMIT */, component.appContext.app, component, event, params);
  10051. }
  10052. function emit$1(instance, event, ...rawArgs) {
  10053. const props = instance.vnode.props || _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ;
  10054. if ((true)) {
  10055. const { emitsOptions, propsOptions: [propsOptions] } = instance;
  10056. if (emitsOptions) {
  10057. if (!(event in emitsOptions) &&
  10058. !(false )) {
  10059. if (!propsOptions || !((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toHandlerKey)(event) in propsOptions)) {
  10060. warn(`Component emitted event "${event}" but it is neither declared in ` +
  10061. `the emits option nor as an "${(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toHandlerKey)(event)}" prop.`);
  10062. }
  10063. }
  10064. else {
  10065. const validator = emitsOptions[event];
  10066. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(validator)) {
  10067. const isValid = validator(...rawArgs);
  10068. if (!isValid) {
  10069. warn(`Invalid event arguments: event validation failed for event "${event}".`);
  10070. }
  10071. }
  10072. }
  10073. }
  10074. }
  10075. let args = rawArgs;
  10076. const isModelListener = event.startsWith('update:');
  10077. // for v-model update:xxx events, apply modifiers on args
  10078. const modelArg = isModelListener && event.slice(7);
  10079. if (modelArg && modelArg in props) {
  10080. const modifiersKey = `${modelArg === 'modelValue' ? 'model' : modelArg}Modifiers`;
  10081. const { number, trim } = props[modifiersKey] || _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ;
  10082. if (trim) {
  10083. args = rawArgs.map(a => a.trim());
  10084. }
  10085. else if (number) {
  10086. args = rawArgs.map(_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toNumber);
  10087. }
  10088. }
  10089. if (true) {
  10090. devtoolsComponentEmit(instance, event, args);
  10091. }
  10092. if ((true)) {
  10093. const lowerCaseEvent = event.toLowerCase();
  10094. if (lowerCaseEvent !== event && props[(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toHandlerKey)(lowerCaseEvent)]) {
  10095. warn(`Event "${lowerCaseEvent}" is emitted in component ` +
  10096. `${formatComponentName(instance, instance.type)} but the handler is registered for "${event}". ` +
  10097. `Note that HTML attributes are case-insensitive and you cannot use ` +
  10098. `v-on to listen to camelCase events when using in-DOM templates. ` +
  10099. `You should probably use "${(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hyphenate)(event)}" instead of "${event}".`);
  10100. }
  10101. }
  10102. let handlerName;
  10103. let handler = props[(handlerName = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toHandlerKey)(event))] ||
  10104. // also try camelCase event handler (#2249)
  10105. props[(handlerName = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toHandlerKey)((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.camelize)(event)))];
  10106. // for v-model update:xxx events, also trigger kebab-case equivalent
  10107. // for props passed via kebab-case
  10108. if (!handler && isModelListener) {
  10109. handler = props[(handlerName = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toHandlerKey)((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hyphenate)(event)))];
  10110. }
  10111. if (handler) {
  10112. callWithAsyncErrorHandling(handler, instance, 6 /* COMPONENT_EVENT_HANDLER */, args);
  10113. }
  10114. const onceHandler = props[handlerName + `Once`];
  10115. if (onceHandler) {
  10116. if (!instance.emitted) {
  10117. instance.emitted = {};
  10118. }
  10119. else if (instance.emitted[handlerName]) {
  10120. return;
  10121. }
  10122. instance.emitted[handlerName] = true;
  10123. callWithAsyncErrorHandling(onceHandler, instance, 6 /* COMPONENT_EVENT_HANDLER */, args);
  10124. }
  10125. }
  10126. function normalizeEmitsOptions(comp, appContext, asMixin = false) {
  10127. const cache = appContext.emitsCache;
  10128. const cached = cache.get(comp);
  10129. if (cached !== undefined) {
  10130. return cached;
  10131. }
  10132. const raw = comp.emits;
  10133. let normalized = {};
  10134. // apply mixin/extends props
  10135. let hasExtends = false;
  10136. if ( true && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(comp)) {
  10137. const extendEmits = (raw) => {
  10138. const normalizedFromExtend = normalizeEmitsOptions(raw, appContext, true);
  10139. if (normalizedFromExtend) {
  10140. hasExtends = true;
  10141. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)(normalized, normalizedFromExtend);
  10142. }
  10143. };
  10144. if (!asMixin && appContext.mixins.length) {
  10145. appContext.mixins.forEach(extendEmits);
  10146. }
  10147. if (comp.extends) {
  10148. extendEmits(comp.extends);
  10149. }
  10150. if (comp.mixins) {
  10151. comp.mixins.forEach(extendEmits);
  10152. }
  10153. }
  10154. if (!raw && !hasExtends) {
  10155. cache.set(comp, null);
  10156. return null;
  10157. }
  10158. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(raw)) {
  10159. raw.forEach(key => (normalized[key] = null));
  10160. }
  10161. else {
  10162. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)(normalized, raw);
  10163. }
  10164. cache.set(comp, normalized);
  10165. return normalized;
  10166. }
  10167. // Check if an incoming prop key is a declared emit event listener.
  10168. // e.g. With `emits: { click: null }`, props named `onClick` and `onclick` are
  10169. // both considered matched listeners.
  10170. function isEmitListener(options, key) {
  10171. if (!options || !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isOn)(key)) {
  10172. return false;
  10173. }
  10174. key = key.slice(2).replace(/Once$/, '');
  10175. return ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(options, key[0].toLowerCase() + key.slice(1)) ||
  10176. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(options, (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hyphenate)(key)) ||
  10177. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(options, key));
  10178. }
  10179. /**
  10180. * mark the current rendering instance for asset resolution (e.g.
  10181. * resolveComponent, resolveDirective) during render
  10182. */
  10183. let currentRenderingInstance = null;
  10184. let currentScopeId = null;
  10185. /**
  10186. * Note: rendering calls maybe nested. The function returns the parent rendering
  10187. * instance if present, which should be restored after the render is done:
  10188. *
  10189. * ```js
  10190. * const prev = setCurrentRenderingInstance(i)
  10191. * // ...render
  10192. * setCurrentRenderingInstance(prev)
  10193. * ```
  10194. */
  10195. function setCurrentRenderingInstance(instance) {
  10196. const prev = currentRenderingInstance;
  10197. currentRenderingInstance = instance;
  10198. currentScopeId = (instance && instance.type.__scopeId) || null;
  10199. return prev;
  10200. }
  10201. /**
  10202. * Set scope id when creating hoisted vnodes.
  10203. * @private compiler helper
  10204. */
  10205. function pushScopeId(id) {
  10206. currentScopeId = id;
  10207. }
  10208. /**
  10209. * Technically we no longer need this after 3.0.8 but we need to keep the same
  10210. * API for backwards compat w/ code generated by compilers.
  10211. * @private
  10212. */
  10213. function popScopeId() {
  10214. currentScopeId = null;
  10215. }
  10216. /**
  10217. * Only for backwards compat
  10218. * @private
  10219. */
  10220. const withScopeId = (_id) => withCtx;
  10221. /**
  10222. * Wrap a slot function to memoize current rendering instance
  10223. * @private compiler helper
  10224. */
  10225. function withCtx(fn, ctx = currentRenderingInstance, isNonScopedSlot // false only
  10226. ) {
  10227. if (!ctx)
  10228. return fn;
  10229. // already normalized
  10230. if (fn._n) {
  10231. return fn;
  10232. }
  10233. const renderFnWithContext = (...args) => {
  10234. // If a user calls a compiled slot inside a template expression (#1745), it
  10235. // can mess up block tracking, so by default we disable block tracking and
  10236. // force bail out when invoking a compiled slot (indicated by the ._d flag).
  10237. // This isn't necessary if rendering a compiled `<slot>`, so we flip the
  10238. // ._d flag off when invoking the wrapped fn inside `renderSlot`.
  10239. if (renderFnWithContext._d) {
  10240. setBlockTracking(-1);
  10241. }
  10242. const prevInstance = setCurrentRenderingInstance(ctx);
  10243. const res = fn(...args);
  10244. setCurrentRenderingInstance(prevInstance);
  10245. if (renderFnWithContext._d) {
  10246. setBlockTracking(1);
  10247. }
  10248. if (true) {
  10249. devtoolsComponentUpdated(ctx);
  10250. }
  10251. return res;
  10252. };
  10253. // mark normalized to avoid duplicated wrapping
  10254. renderFnWithContext._n = true;
  10255. // mark this as compiled by default
  10256. // this is used in vnode.ts -> normalizeChildren() to set the slot
  10257. // rendering flag.
  10258. renderFnWithContext._c = true;
  10259. // disable block tracking by default
  10260. renderFnWithContext._d = true;
  10261. return renderFnWithContext;
  10262. }
  10263. /**
  10264. * dev only flag to track whether $attrs was used during render.
  10265. * If $attrs was used during render then the warning for failed attrs
  10266. * fallthrough can be suppressed.
  10267. */
  10268. let accessedAttrs = false;
  10269. function markAttrsAccessed() {
  10270. accessedAttrs = true;
  10271. }
  10272. function renderComponentRoot(instance) {
  10273. const { type: Component, vnode, proxy, withProxy, props, propsOptions: [propsOptions], slots, attrs, emit, render, renderCache, data, setupState, ctx, inheritAttrs } = instance;
  10274. let result;
  10275. let fallthroughAttrs;
  10276. const prev = setCurrentRenderingInstance(instance);
  10277. if ((true)) {
  10278. accessedAttrs = false;
  10279. }
  10280. try {
  10281. if (vnode.shapeFlag & 4 /* STATEFUL_COMPONENT */) {
  10282. // withProxy is a proxy with a different `has` trap only for
  10283. // runtime-compiled render functions using `with` block.
  10284. const proxyToUse = withProxy || proxy;
  10285. result = normalizeVNode(render.call(proxyToUse, proxyToUse, renderCache, props, setupState, data, ctx));
  10286. fallthroughAttrs = attrs;
  10287. }
  10288. else {
  10289. // functional
  10290. const render = Component;
  10291. // in dev, mark attrs accessed if optional props (attrs === props)
  10292. if (( true) && attrs === props) {
  10293. markAttrsAccessed();
  10294. }
  10295. result = normalizeVNode(render.length > 1
  10296. ? render(props, ( true)
  10297. ? {
  10298. get attrs() {
  10299. markAttrsAccessed();
  10300. return attrs;
  10301. },
  10302. slots,
  10303. emit
  10304. }
  10305. : 0)
  10306. : render(props, null /* we know it doesn't need it */));
  10307. fallthroughAttrs = Component.props
  10308. ? attrs
  10309. : getFunctionalFallthrough(attrs);
  10310. }
  10311. }
  10312. catch (err) {
  10313. blockStack.length = 0;
  10314. handleError(err, instance, 1 /* RENDER_FUNCTION */);
  10315. result = createVNode(Comment);
  10316. }
  10317. // attr merging
  10318. // in dev mode, comments are preserved, and it's possible for a template
  10319. // to have comments along side the root element which makes it a fragment
  10320. let root = result;
  10321. let setRoot = undefined;
  10322. if (( true) &&
  10323. result.patchFlag > 0 &&
  10324. result.patchFlag & 2048 /* DEV_ROOT_FRAGMENT */) {
  10325. [root, setRoot] = getChildRoot(result);
  10326. }
  10327. if (fallthroughAttrs && inheritAttrs !== false) {
  10328. const keys = Object.keys(fallthroughAttrs);
  10329. const { shapeFlag } = root;
  10330. if (keys.length) {
  10331. if (shapeFlag & (1 /* ELEMENT */ | 6 /* COMPONENT */)) {
  10332. if (propsOptions && keys.some(_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isModelListener)) {
  10333. // If a v-model listener (onUpdate:xxx) has a corresponding declared
  10334. // prop, it indicates this component expects to handle v-model and
  10335. // it should not fallthrough.
  10336. // related: #1543, #1643, #1989
  10337. fallthroughAttrs = filterModelListeners(fallthroughAttrs, propsOptions);
  10338. }
  10339. root = cloneVNode(root, fallthroughAttrs);
  10340. }
  10341. else if (( true) && !accessedAttrs && root.type !== Comment) {
  10342. const allAttrs = Object.keys(attrs);
  10343. const eventAttrs = [];
  10344. const extraAttrs = [];
  10345. for (let i = 0, l = allAttrs.length; i < l; i++) {
  10346. const key = allAttrs[i];
  10347. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isOn)(key)) {
  10348. // ignore v-model handlers when they fail to fallthrough
  10349. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isModelListener)(key)) {
  10350. // remove `on`, lowercase first letter to reflect event casing
  10351. // accurately
  10352. eventAttrs.push(key[2].toLowerCase() + key.slice(3));
  10353. }
  10354. }
  10355. else {
  10356. extraAttrs.push(key);
  10357. }
  10358. }
  10359. if (extraAttrs.length) {
  10360. warn(`Extraneous non-props attributes (` +
  10361. `${extraAttrs.join(', ')}) ` +
  10362. `were passed to component but could not be automatically inherited ` +
  10363. `because component renders fragment or text root nodes.`);
  10364. }
  10365. if (eventAttrs.length) {
  10366. warn(`Extraneous non-emits event listeners (` +
  10367. `${eventAttrs.join(', ')}) ` +
  10368. `were passed to component but could not be automatically inherited ` +
  10369. `because component renders fragment or text root nodes. ` +
  10370. `If the listener is intended to be a component custom event listener only, ` +
  10371. `declare it using the "emits" option.`);
  10372. }
  10373. }
  10374. }
  10375. }
  10376. // inherit directives
  10377. if (vnode.dirs) {
  10378. if (( true) && !isElementRoot(root)) {
  10379. warn(`Runtime directive used on component with non-element root node. ` +
  10380. `The directives will not function as intended.`);
  10381. }
  10382. root.dirs = root.dirs ? root.dirs.concat(vnode.dirs) : vnode.dirs;
  10383. }
  10384. // inherit transition data
  10385. if (vnode.transition) {
  10386. if (( true) && !isElementRoot(root)) {
  10387. warn(`Component inside <Transition> renders non-element root node ` +
  10388. `that cannot be animated.`);
  10389. }
  10390. root.transition = vnode.transition;
  10391. }
  10392. if (( true) && setRoot) {
  10393. setRoot(root);
  10394. }
  10395. else {
  10396. result = root;
  10397. }
  10398. setCurrentRenderingInstance(prev);
  10399. return result;
  10400. }
  10401. /**
  10402. * dev only
  10403. * In dev mode, template root level comments are rendered, which turns the
  10404. * template into a fragment root, but we need to locate the single element
  10405. * root for attrs and scope id processing.
  10406. */
  10407. const getChildRoot = (vnode) => {
  10408. const rawChildren = vnode.children;
  10409. const dynamicChildren = vnode.dynamicChildren;
  10410. const childRoot = filterSingleRoot(rawChildren);
  10411. if (!childRoot) {
  10412. return [vnode, undefined];
  10413. }
  10414. const index = rawChildren.indexOf(childRoot);
  10415. const dynamicIndex = dynamicChildren ? dynamicChildren.indexOf(childRoot) : -1;
  10416. const setRoot = (updatedRoot) => {
  10417. rawChildren[index] = updatedRoot;
  10418. if (dynamicChildren) {
  10419. if (dynamicIndex > -1) {
  10420. dynamicChildren[dynamicIndex] = updatedRoot;
  10421. }
  10422. else if (updatedRoot.patchFlag > 0) {
  10423. vnode.dynamicChildren = [...dynamicChildren, updatedRoot];
  10424. }
  10425. }
  10426. };
  10427. return [normalizeVNode(childRoot), setRoot];
  10428. };
  10429. function filterSingleRoot(children) {
  10430. let singleRoot;
  10431. for (let i = 0; i < children.length; i++) {
  10432. const child = children[i];
  10433. if (isVNode(child)) {
  10434. // ignore user comment
  10435. if (child.type !== Comment || child.children === 'v-if') {
  10436. if (singleRoot) {
  10437. // has more than 1 non-comment child, return now
  10438. return;
  10439. }
  10440. else {
  10441. singleRoot = child;
  10442. }
  10443. }
  10444. }
  10445. else {
  10446. return;
  10447. }
  10448. }
  10449. return singleRoot;
  10450. }
  10451. const getFunctionalFallthrough = (attrs) => {
  10452. let res;
  10453. for (const key in attrs) {
  10454. if (key === 'class' || key === 'style' || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isOn)(key)) {
  10455. (res || (res = {}))[key] = attrs[key];
  10456. }
  10457. }
  10458. return res;
  10459. };
  10460. const filterModelListeners = (attrs, props) => {
  10461. const res = {};
  10462. for (const key in attrs) {
  10463. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isModelListener)(key) || !(key.slice(9) in props)) {
  10464. res[key] = attrs[key];
  10465. }
  10466. }
  10467. return res;
  10468. };
  10469. const isElementRoot = (vnode) => {
  10470. return (vnode.shapeFlag & (6 /* COMPONENT */ | 1 /* ELEMENT */) ||
  10471. vnode.type === Comment // potential v-if branch switch
  10472. );
  10473. };
  10474. function shouldUpdateComponent(prevVNode, nextVNode, optimized) {
  10475. const { props: prevProps, children: prevChildren, component } = prevVNode;
  10476. const { props: nextProps, children: nextChildren, patchFlag } = nextVNode;
  10477. const emits = component.emitsOptions;
  10478. // Parent component's render function was hot-updated. Since this may have
  10479. // caused the child component's slots content to have changed, we need to
  10480. // force the child to update as well.
  10481. if (( true) && (prevChildren || nextChildren) && isHmrUpdating) {
  10482. return true;
  10483. }
  10484. // force child update for runtime directive or transition on component vnode.
  10485. if (nextVNode.dirs || nextVNode.transition) {
  10486. return true;
  10487. }
  10488. if (optimized && patchFlag >= 0) {
  10489. if (patchFlag & 1024 /* DYNAMIC_SLOTS */) {
  10490. // slot content that references values that might have changed,
  10491. // e.g. in a v-for
  10492. return true;
  10493. }
  10494. if (patchFlag & 16 /* FULL_PROPS */) {
  10495. if (!prevProps) {
  10496. return !!nextProps;
  10497. }
  10498. // presence of this flag indicates props are always non-null
  10499. return hasPropsChanged(prevProps, nextProps, emits);
  10500. }
  10501. else if (patchFlag & 8 /* PROPS */) {
  10502. const dynamicProps = nextVNode.dynamicProps;
  10503. for (let i = 0; i < dynamicProps.length; i++) {
  10504. const key = dynamicProps[i];
  10505. if (nextProps[key] !== prevProps[key] &&
  10506. !isEmitListener(emits, key)) {
  10507. return true;
  10508. }
  10509. }
  10510. }
  10511. }
  10512. else {
  10513. // this path is only taken by manually written render functions
  10514. // so presence of any children leads to a forced update
  10515. if (prevChildren || nextChildren) {
  10516. if (!nextChildren || !nextChildren.$stable) {
  10517. return true;
  10518. }
  10519. }
  10520. if (prevProps === nextProps) {
  10521. return false;
  10522. }
  10523. if (!prevProps) {
  10524. return !!nextProps;
  10525. }
  10526. if (!nextProps) {
  10527. return true;
  10528. }
  10529. return hasPropsChanged(prevProps, nextProps, emits);
  10530. }
  10531. return false;
  10532. }
  10533. function hasPropsChanged(prevProps, nextProps, emitsOptions) {
  10534. const nextKeys = Object.keys(nextProps);
  10535. if (nextKeys.length !== Object.keys(prevProps).length) {
  10536. return true;
  10537. }
  10538. for (let i = 0; i < nextKeys.length; i++) {
  10539. const key = nextKeys[i];
  10540. if (nextProps[key] !== prevProps[key] &&
  10541. !isEmitListener(emitsOptions, key)) {
  10542. return true;
  10543. }
  10544. }
  10545. return false;
  10546. }
  10547. function updateHOCHostEl({ vnode, parent }, el // HostNode
  10548. ) {
  10549. while (parent && parent.subTree === vnode) {
  10550. (vnode = parent.vnode).el = el;
  10551. parent = parent.parent;
  10552. }
  10553. }
  10554. const isSuspense = (type) => type.__isSuspense;
  10555. // Suspense exposes a component-like API, and is treated like a component
  10556. // in the compiler, but internally it's a special built-in type that hooks
  10557. // directly into the renderer.
  10558. const SuspenseImpl = {
  10559. name: 'Suspense',
  10560. // In order to make Suspense tree-shakable, we need to avoid importing it
  10561. // directly in the renderer. The renderer checks for the __isSuspense flag
  10562. // on a vnode's type and calls the `process` method, passing in renderer
  10563. // internals.
  10564. __isSuspense: true,
  10565. process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized,
  10566. // platform-specific impl passed from renderer
  10567. rendererInternals) {
  10568. if (n1 == null) {
  10569. mountSuspense(n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals);
  10570. }
  10571. else {
  10572. patchSuspense(n1, n2, container, anchor, parentComponent, isSVG, slotScopeIds, optimized, rendererInternals);
  10573. }
  10574. },
  10575. hydrate: hydrateSuspense,
  10576. create: createSuspenseBoundary,
  10577. normalize: normalizeSuspenseChildren
  10578. };
  10579. // Force-casted public typing for h and TSX props inference
  10580. const Suspense = (SuspenseImpl );
  10581. function triggerEvent(vnode, name) {
  10582. const eventListener = vnode.props && vnode.props[name];
  10583. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(eventListener)) {
  10584. eventListener();
  10585. }
  10586. }
  10587. function mountSuspense(vnode, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals) {
  10588. const { p: patch, o: { createElement } } = rendererInternals;
  10589. const hiddenContainer = createElement('div');
  10590. const suspense = (vnode.suspense = createSuspenseBoundary(vnode, parentSuspense, parentComponent, container, hiddenContainer, anchor, isSVG, slotScopeIds, optimized, rendererInternals));
  10591. // start mounting the content subtree in an off-dom container
  10592. patch(null, (suspense.pendingBranch = vnode.ssContent), hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds);
  10593. // now check if we have encountered any async deps
  10594. if (suspense.deps > 0) {
  10595. // has async
  10596. // invoke @fallback event
  10597. triggerEvent(vnode, 'onPending');
  10598. triggerEvent(vnode, 'onFallback');
  10599. // mount the fallback tree
  10600. patch(null, vnode.ssFallback, container, anchor, parentComponent, null, // fallback tree will not have suspense context
  10601. isSVG, slotScopeIds);
  10602. setActiveBranch(suspense, vnode.ssFallback);
  10603. }
  10604. else {
  10605. // Suspense has no async deps. Just resolve.
  10606. suspense.resolve();
  10607. }
  10608. }
  10609. function patchSuspense(n1, n2, container, anchor, parentComponent, isSVG, slotScopeIds, optimized, { p: patch, um: unmount, o: { createElement } }) {
  10610. const suspense = (n2.suspense = n1.suspense);
  10611. suspense.vnode = n2;
  10612. n2.el = n1.el;
  10613. const newBranch = n2.ssContent;
  10614. const newFallback = n2.ssFallback;
  10615. const { activeBranch, pendingBranch, isInFallback, isHydrating } = suspense;
  10616. if (pendingBranch) {
  10617. suspense.pendingBranch = newBranch;
  10618. if (isSameVNodeType(newBranch, pendingBranch)) {
  10619. // same root type but content may have changed.
  10620. patch(pendingBranch, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);
  10621. if (suspense.deps <= 0) {
  10622. suspense.resolve();
  10623. }
  10624. else if (isInFallback) {
  10625. patch(activeBranch, newFallback, container, anchor, parentComponent, null, // fallback tree will not have suspense context
  10626. isSVG, slotScopeIds, optimized);
  10627. setActiveBranch(suspense, newFallback);
  10628. }
  10629. }
  10630. else {
  10631. // toggled before pending tree is resolved
  10632. suspense.pendingId++;
  10633. if (isHydrating) {
  10634. // if toggled before hydration is finished, the current DOM tree is
  10635. // no longer valid. set it as the active branch so it will be unmounted
  10636. // when resolved
  10637. suspense.isHydrating = false;
  10638. suspense.activeBranch = pendingBranch;
  10639. }
  10640. else {
  10641. unmount(pendingBranch, parentComponent, suspense);
  10642. }
  10643. // increment pending ID. this is used to invalidate async callbacks
  10644. // reset suspense state
  10645. suspense.deps = 0;
  10646. // discard effects from pending branch
  10647. suspense.effects.length = 0;
  10648. // discard previous container
  10649. suspense.hiddenContainer = createElement('div');
  10650. if (isInFallback) {
  10651. // already in fallback state
  10652. patch(null, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);
  10653. if (suspense.deps <= 0) {
  10654. suspense.resolve();
  10655. }
  10656. else {
  10657. patch(activeBranch, newFallback, container, anchor, parentComponent, null, // fallback tree will not have suspense context
  10658. isSVG, slotScopeIds, optimized);
  10659. setActiveBranch(suspense, newFallback);
  10660. }
  10661. }
  10662. else if (activeBranch && isSameVNodeType(newBranch, activeBranch)) {
  10663. // toggled "back" to current active branch
  10664. patch(activeBranch, newBranch, container, anchor, parentComponent, suspense, isSVG, slotScopeIds, optimized);
  10665. // force resolve
  10666. suspense.resolve(true);
  10667. }
  10668. else {
  10669. // switched to a 3rd branch
  10670. patch(null, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);
  10671. if (suspense.deps <= 0) {
  10672. suspense.resolve();
  10673. }
  10674. }
  10675. }
  10676. }
  10677. else {
  10678. if (activeBranch && isSameVNodeType(newBranch, activeBranch)) {
  10679. // root did not change, just normal patch
  10680. patch(activeBranch, newBranch, container, anchor, parentComponent, suspense, isSVG, slotScopeIds, optimized);
  10681. setActiveBranch(suspense, newBranch);
  10682. }
  10683. else {
  10684. // root node toggled
  10685. // invoke @pending event
  10686. triggerEvent(n2, 'onPending');
  10687. // mount pending branch in off-dom container
  10688. suspense.pendingBranch = newBranch;
  10689. suspense.pendingId++;
  10690. patch(null, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);
  10691. if (suspense.deps <= 0) {
  10692. // incoming branch has no async deps, resolve now.
  10693. suspense.resolve();
  10694. }
  10695. else {
  10696. const { timeout, pendingId } = suspense;
  10697. if (timeout > 0) {
  10698. setTimeout(() => {
  10699. if (suspense.pendingId === pendingId) {
  10700. suspense.fallback(newFallback);
  10701. }
  10702. }, timeout);
  10703. }
  10704. else if (timeout === 0) {
  10705. suspense.fallback(newFallback);
  10706. }
  10707. }
  10708. }
  10709. }
  10710. }
  10711. let hasWarned = false;
  10712. function createSuspenseBoundary(vnode, parent, parentComponent, container, hiddenContainer, anchor, isSVG, slotScopeIds, optimized, rendererInternals, isHydrating = false) {
  10713. /* istanbul ignore if */
  10714. if ( true && !hasWarned) {
  10715. hasWarned = true;
  10716. // @ts-ignore `console.info` cannot be null error
  10717. console[console.info ? 'info' : 'log'](`<Suspense> is an experimental feature and its API will likely change.`);
  10718. }
  10719. const { p: patch, m: move, um: unmount, n: next, o: { parentNode, remove } } = rendererInternals;
  10720. const timeout = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toNumber)(vnode.props && vnode.props.timeout);
  10721. const suspense = {
  10722. vnode,
  10723. parent,
  10724. parentComponent,
  10725. isSVG,
  10726. container,
  10727. hiddenContainer,
  10728. anchor,
  10729. deps: 0,
  10730. pendingId: 0,
  10731. timeout: typeof timeout === 'number' ? timeout : -1,
  10732. activeBranch: null,
  10733. pendingBranch: null,
  10734. isInFallback: true,
  10735. isHydrating,
  10736. isUnmounted: false,
  10737. effects: [],
  10738. resolve(resume = false) {
  10739. if ((true)) {
  10740. if (!resume && !suspense.pendingBranch) {
  10741. throw new Error(`suspense.resolve() is called without a pending branch.`);
  10742. }
  10743. if (suspense.isUnmounted) {
  10744. throw new Error(`suspense.resolve() is called on an already unmounted suspense boundary.`);
  10745. }
  10746. }
  10747. const { vnode, activeBranch, pendingBranch, pendingId, effects, parentComponent, container } = suspense;
  10748. if (suspense.isHydrating) {
  10749. suspense.isHydrating = false;
  10750. }
  10751. else if (!resume) {
  10752. const delayEnter = activeBranch &&
  10753. pendingBranch.transition &&
  10754. pendingBranch.transition.mode === 'out-in';
  10755. if (delayEnter) {
  10756. activeBranch.transition.afterLeave = () => {
  10757. if (pendingId === suspense.pendingId) {
  10758. move(pendingBranch, container, anchor, 0 /* ENTER */);
  10759. }
  10760. };
  10761. }
  10762. // this is initial anchor on mount
  10763. let { anchor } = suspense;
  10764. // unmount current active tree
  10765. if (activeBranch) {
  10766. // if the fallback tree was mounted, it may have been moved
  10767. // as part of a parent suspense. get the latest anchor for insertion
  10768. anchor = next(activeBranch);
  10769. unmount(activeBranch, parentComponent, suspense, true);
  10770. }
  10771. if (!delayEnter) {
  10772. // move content from off-dom container to actual container
  10773. move(pendingBranch, container, anchor, 0 /* ENTER */);
  10774. }
  10775. }
  10776. setActiveBranch(suspense, pendingBranch);
  10777. suspense.pendingBranch = null;
  10778. suspense.isInFallback = false;
  10779. // flush buffered effects
  10780. // check if there is a pending parent suspense
  10781. let parent = suspense.parent;
  10782. let hasUnresolvedAncestor = false;
  10783. while (parent) {
  10784. if (parent.pendingBranch) {
  10785. // found a pending parent suspense, merge buffered post jobs
  10786. // into that parent
  10787. parent.effects.push(...effects);
  10788. hasUnresolvedAncestor = true;
  10789. break;
  10790. }
  10791. parent = parent.parent;
  10792. }
  10793. // no pending parent suspense, flush all jobs
  10794. if (!hasUnresolvedAncestor) {
  10795. queuePostFlushCb(effects);
  10796. }
  10797. suspense.effects = [];
  10798. // invoke @resolve event
  10799. triggerEvent(vnode, 'onResolve');
  10800. },
  10801. fallback(fallbackVNode) {
  10802. if (!suspense.pendingBranch) {
  10803. return;
  10804. }
  10805. const { vnode, activeBranch, parentComponent, container, isSVG } = suspense;
  10806. // invoke @fallback event
  10807. triggerEvent(vnode, 'onFallback');
  10808. const anchor = next(activeBranch);
  10809. const mountFallback = () => {
  10810. if (!suspense.isInFallback) {
  10811. return;
  10812. }
  10813. // mount the fallback tree
  10814. patch(null, fallbackVNode, container, anchor, parentComponent, null, // fallback tree will not have suspense context
  10815. isSVG, slotScopeIds, optimized);
  10816. setActiveBranch(suspense, fallbackVNode);
  10817. };
  10818. const delayEnter = fallbackVNode.transition && fallbackVNode.transition.mode === 'out-in';
  10819. if (delayEnter) {
  10820. activeBranch.transition.afterLeave = mountFallback;
  10821. }
  10822. suspense.isInFallback = true;
  10823. // unmount current active branch
  10824. unmount(activeBranch, parentComponent, null, // no suspense so unmount hooks fire now
  10825. true // shouldRemove
  10826. );
  10827. if (!delayEnter) {
  10828. mountFallback();
  10829. }
  10830. },
  10831. move(container, anchor, type) {
  10832. suspense.activeBranch &&
  10833. move(suspense.activeBranch, container, anchor, type);
  10834. suspense.container = container;
  10835. },
  10836. next() {
  10837. return suspense.activeBranch && next(suspense.activeBranch);
  10838. },
  10839. registerDep(instance, setupRenderEffect) {
  10840. const isInPendingSuspense = !!suspense.pendingBranch;
  10841. if (isInPendingSuspense) {
  10842. suspense.deps++;
  10843. }
  10844. const hydratedEl = instance.vnode.el;
  10845. instance
  10846. .asyncDep.catch(err => {
  10847. handleError(err, instance, 0 /* SETUP_FUNCTION */);
  10848. })
  10849. .then(asyncSetupResult => {
  10850. // retry when the setup() promise resolves.
  10851. // component may have been unmounted before resolve.
  10852. if (instance.isUnmounted ||
  10853. suspense.isUnmounted ||
  10854. suspense.pendingId !== instance.suspenseId) {
  10855. return;
  10856. }
  10857. // retry from this component
  10858. instance.asyncResolved = true;
  10859. const { vnode } = instance;
  10860. if ((true)) {
  10861. pushWarningContext(vnode);
  10862. }
  10863. handleSetupResult(instance, asyncSetupResult, false);
  10864. if (hydratedEl) {
  10865. // vnode may have been replaced if an update happened before the
  10866. // async dep is resolved.
  10867. vnode.el = hydratedEl;
  10868. }
  10869. const placeholder = !hydratedEl && instance.subTree.el;
  10870. setupRenderEffect(instance, vnode,
  10871. // component may have been moved before resolve.
  10872. // if this is not a hydration, instance.subTree will be the comment
  10873. // placeholder.
  10874. parentNode(hydratedEl || instance.subTree.el),
  10875. // anchor will not be used if this is hydration, so only need to
  10876. // consider the comment placeholder case.
  10877. hydratedEl ? null : next(instance.subTree), suspense, isSVG, optimized);
  10878. if (placeholder) {
  10879. remove(placeholder);
  10880. }
  10881. updateHOCHostEl(instance, vnode.el);
  10882. if ((true)) {
  10883. popWarningContext();
  10884. }
  10885. // only decrease deps count if suspense is not already resolved
  10886. if (isInPendingSuspense && --suspense.deps === 0) {
  10887. suspense.resolve();
  10888. }
  10889. });
  10890. },
  10891. unmount(parentSuspense, doRemove) {
  10892. suspense.isUnmounted = true;
  10893. if (suspense.activeBranch) {
  10894. unmount(suspense.activeBranch, parentComponent, parentSuspense, doRemove);
  10895. }
  10896. if (suspense.pendingBranch) {
  10897. unmount(suspense.pendingBranch, parentComponent, parentSuspense, doRemove);
  10898. }
  10899. }
  10900. };
  10901. return suspense;
  10902. }
  10903. function hydrateSuspense(node, vnode, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals, hydrateNode) {
  10904. /* eslint-disable no-restricted-globals */
  10905. const suspense = (vnode.suspense = createSuspenseBoundary(vnode, parentSuspense, parentComponent, node.parentNode, document.createElement('div'), null, isSVG, slotScopeIds, optimized, rendererInternals, true /* hydrating */));
  10906. // there are two possible scenarios for server-rendered suspense:
  10907. // - success: ssr content should be fully resolved
  10908. // - failure: ssr content should be the fallback branch.
  10909. // however, on the client we don't really know if it has failed or not
  10910. // attempt to hydrate the DOM assuming it has succeeded, but we still
  10911. // need to construct a suspense boundary first
  10912. const result = hydrateNode(node, (suspense.pendingBranch = vnode.ssContent), parentComponent, suspense, slotScopeIds, optimized);
  10913. if (suspense.deps === 0) {
  10914. suspense.resolve();
  10915. }
  10916. return result;
  10917. /* eslint-enable no-restricted-globals */
  10918. }
  10919. function normalizeSuspenseChildren(vnode) {
  10920. const { shapeFlag, children } = vnode;
  10921. const isSlotChildren = shapeFlag & 32 /* SLOTS_CHILDREN */;
  10922. vnode.ssContent = normalizeSuspenseSlot(isSlotChildren ? children.default : children);
  10923. vnode.ssFallback = isSlotChildren
  10924. ? normalizeSuspenseSlot(children.fallback)
  10925. : createVNode(Comment);
  10926. }
  10927. function normalizeSuspenseSlot(s) {
  10928. let block;
  10929. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(s)) {
  10930. const trackBlock = isBlockTreeEnabled && s._c;
  10931. if (trackBlock) {
  10932. // disableTracking: false
  10933. // allow block tracking for compiled slots
  10934. // (see ./componentRenderContext.ts)
  10935. s._d = false;
  10936. openBlock();
  10937. }
  10938. s = s();
  10939. if (trackBlock) {
  10940. s._d = true;
  10941. block = currentBlock;
  10942. closeBlock();
  10943. }
  10944. }
  10945. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(s)) {
  10946. const singleChild = filterSingleRoot(s);
  10947. if (( true) && !singleChild) {
  10948. warn(`<Suspense> slots expect a single root node.`);
  10949. }
  10950. s = singleChild;
  10951. }
  10952. s = normalizeVNode(s);
  10953. if (block && !s.dynamicChildren) {
  10954. s.dynamicChildren = block.filter(c => c !== s);
  10955. }
  10956. return s;
  10957. }
  10958. function queueEffectWithSuspense(fn, suspense) {
  10959. if (suspense && suspense.pendingBranch) {
  10960. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(fn)) {
  10961. suspense.effects.push(...fn);
  10962. }
  10963. else {
  10964. suspense.effects.push(fn);
  10965. }
  10966. }
  10967. else {
  10968. queuePostFlushCb(fn);
  10969. }
  10970. }
  10971. function setActiveBranch(suspense, branch) {
  10972. suspense.activeBranch = branch;
  10973. const { vnode, parentComponent } = suspense;
  10974. const el = (vnode.el = branch.el);
  10975. // in case suspense is the root node of a component,
  10976. // recursively update the HOC el
  10977. if (parentComponent && parentComponent.subTree === vnode) {
  10978. parentComponent.vnode.el = el;
  10979. updateHOCHostEl(parentComponent, el);
  10980. }
  10981. }
  10982. function provide(key, value) {
  10983. if (!currentInstance) {
  10984. if ((true)) {
  10985. warn(`provide() can only be used inside setup().`);
  10986. }
  10987. }
  10988. else {
  10989. let provides = currentInstance.provides;
  10990. // by default an instance inherits its parent's provides object
  10991. // but when it needs to provide values of its own, it creates its
  10992. // own provides object using parent provides object as prototype.
  10993. // this way in `inject` we can simply look up injections from direct
  10994. // parent and let the prototype chain do the work.
  10995. const parentProvides = currentInstance.parent && currentInstance.parent.provides;
  10996. if (parentProvides === provides) {
  10997. provides = currentInstance.provides = Object.create(parentProvides);
  10998. }
  10999. // TS doesn't allow symbol as index type
  11000. provides[key] = value;
  11001. }
  11002. }
  11003. function inject(key, defaultValue, treatDefaultAsFactory = false) {
  11004. // fallback to `currentRenderingInstance` so that this can be called in
  11005. // a functional component
  11006. const instance = currentInstance || currentRenderingInstance;
  11007. if (instance) {
  11008. // #2400
  11009. // to support `app.use` plugins,
  11010. // fallback to appContext's `provides` if the instance is at root
  11011. const provides = instance.parent == null
  11012. ? instance.vnode.appContext && instance.vnode.appContext.provides
  11013. : instance.parent.provides;
  11014. if (provides && key in provides) {
  11015. // TS doesn't allow symbol as index type
  11016. return provides[key];
  11017. }
  11018. else if (arguments.length > 1) {
  11019. return treatDefaultAsFactory && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(defaultValue)
  11020. ? defaultValue.call(instance.proxy)
  11021. : defaultValue;
  11022. }
  11023. else if ((true)) {
  11024. warn(`injection "${String(key)}" not found.`);
  11025. }
  11026. }
  11027. else if ((true)) {
  11028. warn(`inject() can only be used inside setup() or functional components.`);
  11029. }
  11030. }
  11031. // Simple effect.
  11032. function watchEffect(effect, options) {
  11033. return doWatch(effect, null, options);
  11034. }
  11035. function watchPostEffect(effect, options) {
  11036. return doWatch(effect, null, (( true)
  11037. ? Object.assign(Object.assign({}, options), { flush: 'post' }) : 0));
  11038. }
  11039. function watchSyncEffect(effect, options) {
  11040. return doWatch(effect, null, (( true)
  11041. ? Object.assign(Object.assign({}, options), { flush: 'sync' }) : 0));
  11042. }
  11043. // initial value for watchers to trigger on undefined initial values
  11044. const INITIAL_WATCHER_VALUE = {};
  11045. // implementation
  11046. function watch(source, cb, options) {
  11047. if (( true) && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(cb)) {
  11048. warn(`\`watch(fn, options?)\` signature has been moved to a separate API. ` +
  11049. `Use \`watchEffect(fn, options?)\` instead. \`watch\` now only ` +
  11050. `supports \`watch(source, cb, options?) signature.`);
  11051. }
  11052. return doWatch(source, cb, options);
  11053. }
  11054. function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ) {
  11055. if (( true) && !cb) {
  11056. if (immediate !== undefined) {
  11057. warn(`watch() "immediate" option is only respected when using the ` +
  11058. `watch(source, callback, options?) signature.`);
  11059. }
  11060. if (deep !== undefined) {
  11061. warn(`watch() "deep" option is only respected when using the ` +
  11062. `watch(source, callback, options?) signature.`);
  11063. }
  11064. }
  11065. const warnInvalidSource = (s) => {
  11066. warn(`Invalid watch source: `, s, `A watch source can only be a getter/effect function, a ref, ` +
  11067. `a reactive object, or an array of these types.`);
  11068. };
  11069. const instance = currentInstance;
  11070. let getter;
  11071. let forceTrigger = false;
  11072. let isMultiSource = false;
  11073. if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isRef)(source)) {
  11074. getter = () => source.value;
  11075. forceTrigger = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isShallow)(source);
  11076. }
  11077. else if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isReactive)(source)) {
  11078. getter = () => source;
  11079. deep = true;
  11080. }
  11081. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(source)) {
  11082. isMultiSource = true;
  11083. forceTrigger = source.some(_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isReactive);
  11084. getter = () => source.map(s => {
  11085. if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isRef)(s)) {
  11086. return s.value;
  11087. }
  11088. else if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isReactive)(s)) {
  11089. return traverse(s);
  11090. }
  11091. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(s)) {
  11092. return callWithErrorHandling(s, instance, 2 /* WATCH_GETTER */);
  11093. }
  11094. else {
  11095. ( true) && warnInvalidSource(s);
  11096. }
  11097. });
  11098. }
  11099. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(source)) {
  11100. if (cb) {
  11101. // getter with cb
  11102. getter = () => callWithErrorHandling(source, instance, 2 /* WATCH_GETTER */);
  11103. }
  11104. else {
  11105. // no cb -> simple effect
  11106. getter = () => {
  11107. if (instance && instance.isUnmounted) {
  11108. return;
  11109. }
  11110. if (cleanup) {
  11111. cleanup();
  11112. }
  11113. return callWithAsyncErrorHandling(source, instance, 3 /* WATCH_CALLBACK */, [onCleanup]);
  11114. };
  11115. }
  11116. }
  11117. else {
  11118. getter = _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NOOP;
  11119. ( true) && warnInvalidSource(source);
  11120. }
  11121. if (cb && deep) {
  11122. const baseGetter = getter;
  11123. getter = () => traverse(baseGetter());
  11124. }
  11125. let cleanup;
  11126. let onCleanup = (fn) => {
  11127. cleanup = effect.onStop = () => {
  11128. callWithErrorHandling(fn, instance, 4 /* WATCH_CLEANUP */);
  11129. };
  11130. };
  11131. // in SSR there is no need to setup an actual effect, and it should be noop
  11132. // unless it's eager
  11133. if (isInSSRComponentSetup) {
  11134. // we will also not call the invalidate callback (+ runner is not set up)
  11135. onCleanup = _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NOOP;
  11136. if (!cb) {
  11137. getter();
  11138. }
  11139. else if (immediate) {
  11140. callWithAsyncErrorHandling(cb, instance, 3 /* WATCH_CALLBACK */, [
  11141. getter(),
  11142. isMultiSource ? [] : undefined,
  11143. onCleanup
  11144. ]);
  11145. }
  11146. return _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NOOP;
  11147. }
  11148. let oldValue = isMultiSource ? [] : INITIAL_WATCHER_VALUE;
  11149. const job = () => {
  11150. if (!effect.active) {
  11151. return;
  11152. }
  11153. if (cb) {
  11154. // watch(source, cb)
  11155. const newValue = effect.run();
  11156. if (deep ||
  11157. forceTrigger ||
  11158. (isMultiSource
  11159. ? newValue.some((v, i) => (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasChanged)(v, oldValue[i]))
  11160. : (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasChanged)(newValue, oldValue)) ||
  11161. (false )) {
  11162. // cleanup before running cb again
  11163. if (cleanup) {
  11164. cleanup();
  11165. }
  11166. callWithAsyncErrorHandling(cb, instance, 3 /* WATCH_CALLBACK */, [
  11167. newValue,
  11168. // pass undefined as the old value when it's changed for the first time
  11169. oldValue === INITIAL_WATCHER_VALUE ? undefined : oldValue,
  11170. onCleanup
  11171. ]);
  11172. oldValue = newValue;
  11173. }
  11174. }
  11175. else {
  11176. // watchEffect
  11177. effect.run();
  11178. }
  11179. };
  11180. // important: mark the job as a watcher callback so that scheduler knows
  11181. // it is allowed to self-trigger (#1727)
  11182. job.allowRecurse = !!cb;
  11183. let scheduler;
  11184. if (flush === 'sync') {
  11185. scheduler = job; // the scheduler function gets called directly
  11186. }
  11187. else if (flush === 'post') {
  11188. scheduler = () => queuePostRenderEffect(job, instance && instance.suspense);
  11189. }
  11190. else {
  11191. // default: 'pre'
  11192. scheduler = () => {
  11193. if (!instance || instance.isMounted) {
  11194. queuePreFlushCb(job);
  11195. }
  11196. else {
  11197. // with 'pre' option, the first call must happen before
  11198. // the component is mounted so it is called synchronously.
  11199. job();
  11200. }
  11201. };
  11202. }
  11203. const effect = new _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.ReactiveEffect(getter, scheduler);
  11204. if ((true)) {
  11205. effect.onTrack = onTrack;
  11206. effect.onTrigger = onTrigger;
  11207. }
  11208. // initial run
  11209. if (cb) {
  11210. if (immediate) {
  11211. job();
  11212. }
  11213. else {
  11214. oldValue = effect.run();
  11215. }
  11216. }
  11217. else if (flush === 'post') {
  11218. queuePostRenderEffect(effect.run.bind(effect), instance && instance.suspense);
  11219. }
  11220. else {
  11221. effect.run();
  11222. }
  11223. return () => {
  11224. effect.stop();
  11225. if (instance && instance.scope) {
  11226. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.remove)(instance.scope.effects, effect);
  11227. }
  11228. };
  11229. }
  11230. // this.$watch
  11231. function instanceWatch(source, value, options) {
  11232. const publicThis = this.proxy;
  11233. const getter = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(source)
  11234. ? source.includes('.')
  11235. ? createPathGetter(publicThis, source)
  11236. : () => publicThis[source]
  11237. : source.bind(publicThis, publicThis);
  11238. let cb;
  11239. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(value)) {
  11240. cb = value;
  11241. }
  11242. else {
  11243. cb = value.handler;
  11244. options = value;
  11245. }
  11246. const cur = currentInstance;
  11247. setCurrentInstance(this);
  11248. const res = doWatch(getter, cb.bind(publicThis), options);
  11249. if (cur) {
  11250. setCurrentInstance(cur);
  11251. }
  11252. else {
  11253. unsetCurrentInstance();
  11254. }
  11255. return res;
  11256. }
  11257. function createPathGetter(ctx, path) {
  11258. const segments = path.split('.');
  11259. return () => {
  11260. let cur = ctx;
  11261. for (let i = 0; i < segments.length && cur; i++) {
  11262. cur = cur[segments[i]];
  11263. }
  11264. return cur;
  11265. };
  11266. }
  11267. function traverse(value, seen) {
  11268. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(value) || value["__v_skip" /* SKIP */]) {
  11269. return value;
  11270. }
  11271. seen = seen || new Set();
  11272. if (seen.has(value)) {
  11273. return value;
  11274. }
  11275. seen.add(value);
  11276. if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isRef)(value)) {
  11277. traverse(value.value, seen);
  11278. }
  11279. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(value)) {
  11280. for (let i = 0; i < value.length; i++) {
  11281. traverse(value[i], seen);
  11282. }
  11283. }
  11284. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isSet)(value) || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isMap)(value)) {
  11285. value.forEach((v) => {
  11286. traverse(v, seen);
  11287. });
  11288. }
  11289. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isPlainObject)(value)) {
  11290. for (const key in value) {
  11291. traverse(value[key], seen);
  11292. }
  11293. }
  11294. return value;
  11295. }
  11296. function useTransitionState() {
  11297. const state = {
  11298. isMounted: false,
  11299. isLeaving: false,
  11300. isUnmounting: false,
  11301. leavingVNodes: new Map()
  11302. };
  11303. onMounted(() => {
  11304. state.isMounted = true;
  11305. });
  11306. onBeforeUnmount(() => {
  11307. state.isUnmounting = true;
  11308. });
  11309. return state;
  11310. }
  11311. const TransitionHookValidator = [Function, Array];
  11312. const BaseTransitionImpl = {
  11313. name: `BaseTransition`,
  11314. props: {
  11315. mode: String,
  11316. appear: Boolean,
  11317. persisted: Boolean,
  11318. // enter
  11319. onBeforeEnter: TransitionHookValidator,
  11320. onEnter: TransitionHookValidator,
  11321. onAfterEnter: TransitionHookValidator,
  11322. onEnterCancelled: TransitionHookValidator,
  11323. // leave
  11324. onBeforeLeave: TransitionHookValidator,
  11325. onLeave: TransitionHookValidator,
  11326. onAfterLeave: TransitionHookValidator,
  11327. onLeaveCancelled: TransitionHookValidator,
  11328. // appear
  11329. onBeforeAppear: TransitionHookValidator,
  11330. onAppear: TransitionHookValidator,
  11331. onAfterAppear: TransitionHookValidator,
  11332. onAppearCancelled: TransitionHookValidator
  11333. },
  11334. setup(props, { slots }) {
  11335. const instance = getCurrentInstance();
  11336. const state = useTransitionState();
  11337. let prevTransitionKey;
  11338. return () => {
  11339. const children = slots.default && getTransitionRawChildren(slots.default(), true);
  11340. if (!children || !children.length) {
  11341. return;
  11342. }
  11343. // warn multiple elements
  11344. if (( true) && children.length > 1) {
  11345. warn('<transition> can only be used on a single element or component. Use ' +
  11346. '<transition-group> for lists.');
  11347. }
  11348. // there's no need to track reactivity for these props so use the raw
  11349. // props for a bit better perf
  11350. const rawProps = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.toRaw)(props);
  11351. const { mode } = rawProps;
  11352. // check mode
  11353. if (( true) &&
  11354. mode &&
  11355. mode !== 'in-out' &&
  11356. mode !== 'out-in' &&
  11357. mode !== 'default') {
  11358. warn(`invalid <transition> mode: ${mode}`);
  11359. }
  11360. // at this point children has a guaranteed length of 1.
  11361. const child = children[0];
  11362. if (state.isLeaving) {
  11363. return emptyPlaceholder(child);
  11364. }
  11365. // in the case of <transition><keep-alive/></transition>, we need to
  11366. // compare the type of the kept-alive children.
  11367. const innerChild = getKeepAliveChild(child);
  11368. if (!innerChild) {
  11369. return emptyPlaceholder(child);
  11370. }
  11371. const enterHooks = resolveTransitionHooks(innerChild, rawProps, state, instance);
  11372. setTransitionHooks(innerChild, enterHooks);
  11373. const oldChild = instance.subTree;
  11374. const oldInnerChild = oldChild && getKeepAliveChild(oldChild);
  11375. let transitionKeyChanged = false;
  11376. const { getTransitionKey } = innerChild.type;
  11377. if (getTransitionKey) {
  11378. const key = getTransitionKey();
  11379. if (prevTransitionKey === undefined) {
  11380. prevTransitionKey = key;
  11381. }
  11382. else if (key !== prevTransitionKey) {
  11383. prevTransitionKey = key;
  11384. transitionKeyChanged = true;
  11385. }
  11386. }
  11387. // handle mode
  11388. if (oldInnerChild &&
  11389. oldInnerChild.type !== Comment &&
  11390. (!isSameVNodeType(innerChild, oldInnerChild) || transitionKeyChanged)) {
  11391. const leavingHooks = resolveTransitionHooks(oldInnerChild, rawProps, state, instance);
  11392. // update old tree's hooks in case of dynamic transition
  11393. setTransitionHooks(oldInnerChild, leavingHooks);
  11394. // switching between different views
  11395. if (mode === 'out-in') {
  11396. state.isLeaving = true;
  11397. // return placeholder node and queue update when leave finishes
  11398. leavingHooks.afterLeave = () => {
  11399. state.isLeaving = false;
  11400. instance.update();
  11401. };
  11402. return emptyPlaceholder(child);
  11403. }
  11404. else if (mode === 'in-out' && innerChild.type !== Comment) {
  11405. leavingHooks.delayLeave = (el, earlyRemove, delayedLeave) => {
  11406. const leavingVNodesCache = getLeavingNodesForType(state, oldInnerChild);
  11407. leavingVNodesCache[String(oldInnerChild.key)] = oldInnerChild;
  11408. // early removal callback
  11409. el._leaveCb = () => {
  11410. earlyRemove();
  11411. el._leaveCb = undefined;
  11412. delete enterHooks.delayedLeave;
  11413. };
  11414. enterHooks.delayedLeave = delayedLeave;
  11415. };
  11416. }
  11417. }
  11418. return child;
  11419. };
  11420. }
  11421. };
  11422. // export the public type for h/tsx inference
  11423. // also to avoid inline import() in generated d.ts files
  11424. const BaseTransition = BaseTransitionImpl;
  11425. function getLeavingNodesForType(state, vnode) {
  11426. const { leavingVNodes } = state;
  11427. let leavingVNodesCache = leavingVNodes.get(vnode.type);
  11428. if (!leavingVNodesCache) {
  11429. leavingVNodesCache = Object.create(null);
  11430. leavingVNodes.set(vnode.type, leavingVNodesCache);
  11431. }
  11432. return leavingVNodesCache;
  11433. }
  11434. // The transition hooks are attached to the vnode as vnode.transition
  11435. // and will be called at appropriate timing in the renderer.
  11436. function resolveTransitionHooks(vnode, props, state, instance) {
  11437. const { appear, mode, persisted = false, onBeforeEnter, onEnter, onAfterEnter, onEnterCancelled, onBeforeLeave, onLeave, onAfterLeave, onLeaveCancelled, onBeforeAppear, onAppear, onAfterAppear, onAppearCancelled } = props;
  11438. const key = String(vnode.key);
  11439. const leavingVNodesCache = getLeavingNodesForType(state, vnode);
  11440. const callHook = (hook, args) => {
  11441. hook &&
  11442. callWithAsyncErrorHandling(hook, instance, 9 /* TRANSITION_HOOK */, args);
  11443. };
  11444. const hooks = {
  11445. mode,
  11446. persisted,
  11447. beforeEnter(el) {
  11448. let hook = onBeforeEnter;
  11449. if (!state.isMounted) {
  11450. if (appear) {
  11451. hook = onBeforeAppear || onBeforeEnter;
  11452. }
  11453. else {
  11454. return;
  11455. }
  11456. }
  11457. // for same element (v-show)
  11458. if (el._leaveCb) {
  11459. el._leaveCb(true /* cancelled */);
  11460. }
  11461. // for toggled element with same key (v-if)
  11462. const leavingVNode = leavingVNodesCache[key];
  11463. if (leavingVNode &&
  11464. isSameVNodeType(vnode, leavingVNode) &&
  11465. leavingVNode.el._leaveCb) {
  11466. // force early removal (not cancelled)
  11467. leavingVNode.el._leaveCb();
  11468. }
  11469. callHook(hook, [el]);
  11470. },
  11471. enter(el) {
  11472. let hook = onEnter;
  11473. let afterHook = onAfterEnter;
  11474. let cancelHook = onEnterCancelled;
  11475. if (!state.isMounted) {
  11476. if (appear) {
  11477. hook = onAppear || onEnter;
  11478. afterHook = onAfterAppear || onAfterEnter;
  11479. cancelHook = onAppearCancelled || onEnterCancelled;
  11480. }
  11481. else {
  11482. return;
  11483. }
  11484. }
  11485. let called = false;
  11486. const done = (el._enterCb = (cancelled) => {
  11487. if (called)
  11488. return;
  11489. called = true;
  11490. if (cancelled) {
  11491. callHook(cancelHook, [el]);
  11492. }
  11493. else {
  11494. callHook(afterHook, [el]);
  11495. }
  11496. if (hooks.delayedLeave) {
  11497. hooks.delayedLeave();
  11498. }
  11499. el._enterCb = undefined;
  11500. });
  11501. if (hook) {
  11502. hook(el, done);
  11503. if (hook.length <= 1) {
  11504. done();
  11505. }
  11506. }
  11507. else {
  11508. done();
  11509. }
  11510. },
  11511. leave(el, remove) {
  11512. const key = String(vnode.key);
  11513. if (el._enterCb) {
  11514. el._enterCb(true /* cancelled */);
  11515. }
  11516. if (state.isUnmounting) {
  11517. return remove();
  11518. }
  11519. callHook(onBeforeLeave, [el]);
  11520. let called = false;
  11521. const done = (el._leaveCb = (cancelled) => {
  11522. if (called)
  11523. return;
  11524. called = true;
  11525. remove();
  11526. if (cancelled) {
  11527. callHook(onLeaveCancelled, [el]);
  11528. }
  11529. else {
  11530. callHook(onAfterLeave, [el]);
  11531. }
  11532. el._leaveCb = undefined;
  11533. if (leavingVNodesCache[key] === vnode) {
  11534. delete leavingVNodesCache[key];
  11535. }
  11536. });
  11537. leavingVNodesCache[key] = vnode;
  11538. if (onLeave) {
  11539. onLeave(el, done);
  11540. if (onLeave.length <= 1) {
  11541. done();
  11542. }
  11543. }
  11544. else {
  11545. done();
  11546. }
  11547. },
  11548. clone(vnode) {
  11549. return resolveTransitionHooks(vnode, props, state, instance);
  11550. }
  11551. };
  11552. return hooks;
  11553. }
  11554. // the placeholder really only handles one special case: KeepAlive
  11555. // in the case of a KeepAlive in a leave phase we need to return a KeepAlive
  11556. // placeholder with empty content to avoid the KeepAlive instance from being
  11557. // unmounted.
  11558. function emptyPlaceholder(vnode) {
  11559. if (isKeepAlive(vnode)) {
  11560. vnode = cloneVNode(vnode);
  11561. vnode.children = null;
  11562. return vnode;
  11563. }
  11564. }
  11565. function getKeepAliveChild(vnode) {
  11566. return isKeepAlive(vnode)
  11567. ? vnode.children
  11568. ? vnode.children[0]
  11569. : undefined
  11570. : vnode;
  11571. }
  11572. function setTransitionHooks(vnode, hooks) {
  11573. if (vnode.shapeFlag & 6 /* COMPONENT */ && vnode.component) {
  11574. setTransitionHooks(vnode.component.subTree, hooks);
  11575. }
  11576. else if (vnode.shapeFlag & 128 /* SUSPENSE */) {
  11577. vnode.ssContent.transition = hooks.clone(vnode.ssContent);
  11578. vnode.ssFallback.transition = hooks.clone(vnode.ssFallback);
  11579. }
  11580. else {
  11581. vnode.transition = hooks;
  11582. }
  11583. }
  11584. function getTransitionRawChildren(children, keepComment = false, parentKey) {
  11585. let ret = [];
  11586. let keyedFragmentCount = 0;
  11587. for (let i = 0; i < children.length; i++) {
  11588. let child = children[i];
  11589. // #5360 inherit parent key in case of <template v-for>
  11590. const key = parentKey == null
  11591. ? child.key
  11592. : String(parentKey) + String(child.key != null ? child.key : i);
  11593. // handle fragment children case, e.g. v-for
  11594. if (child.type === Fragment) {
  11595. if (child.patchFlag & 128 /* KEYED_FRAGMENT */)
  11596. keyedFragmentCount++;
  11597. ret = ret.concat(getTransitionRawChildren(child.children, keepComment, key));
  11598. }
  11599. // comment placeholders should be skipped, e.g. v-if
  11600. else if (keepComment || child.type !== Comment) {
  11601. ret.push(key != null ? cloneVNode(child, { key }) : child);
  11602. }
  11603. }
  11604. // #1126 if a transition children list contains multiple sub fragments, these
  11605. // fragments will be merged into a flat children array. Since each v-for
  11606. // fragment may contain different static bindings inside, we need to de-op
  11607. // these children to force full diffs to ensure correct behavior.
  11608. if (keyedFragmentCount > 1) {
  11609. for (let i = 0; i < ret.length; i++) {
  11610. ret[i].patchFlag = -2 /* BAIL */;
  11611. }
  11612. }
  11613. return ret;
  11614. }
  11615. // implementation, close to no-op
  11616. function defineComponent(options) {
  11617. return (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(options) ? { setup: options, name: options.name } : options;
  11618. }
  11619. const isAsyncWrapper = (i) => !!i.type.__asyncLoader;
  11620. function defineAsyncComponent(source) {
  11621. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(source)) {
  11622. source = { loader: source };
  11623. }
  11624. const { loader, loadingComponent, errorComponent, delay = 200, timeout, // undefined = never times out
  11625. suspensible = true, onError: userOnError } = source;
  11626. let pendingRequest = null;
  11627. let resolvedComp;
  11628. let retries = 0;
  11629. const retry = () => {
  11630. retries++;
  11631. pendingRequest = null;
  11632. return load();
  11633. };
  11634. const load = () => {
  11635. let thisRequest;
  11636. return (pendingRequest ||
  11637. (thisRequest = pendingRequest =
  11638. loader()
  11639. .catch(err => {
  11640. err = err instanceof Error ? err : new Error(String(err));
  11641. if (userOnError) {
  11642. return new Promise((resolve, reject) => {
  11643. const userRetry = () => resolve(retry());
  11644. const userFail = () => reject(err);
  11645. userOnError(err, userRetry, userFail, retries + 1);
  11646. });
  11647. }
  11648. else {
  11649. throw err;
  11650. }
  11651. })
  11652. .then((comp) => {
  11653. if (thisRequest !== pendingRequest && pendingRequest) {
  11654. return pendingRequest;
  11655. }
  11656. if (( true) && !comp) {
  11657. warn(`Async component loader resolved to undefined. ` +
  11658. `If you are using retry(), make sure to return its return value.`);
  11659. }
  11660. // interop module default
  11661. if (comp &&
  11662. (comp.__esModule || comp[Symbol.toStringTag] === 'Module')) {
  11663. comp = comp.default;
  11664. }
  11665. if (( true) && comp && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(comp) && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(comp)) {
  11666. throw new Error(`Invalid async component load result: ${comp}`);
  11667. }
  11668. resolvedComp = comp;
  11669. return comp;
  11670. })));
  11671. };
  11672. return defineComponent({
  11673. name: 'AsyncComponentWrapper',
  11674. __asyncLoader: load,
  11675. get __asyncResolved() {
  11676. return resolvedComp;
  11677. },
  11678. setup() {
  11679. const instance = currentInstance;
  11680. // already resolved
  11681. if (resolvedComp) {
  11682. return () => createInnerComp(resolvedComp, instance);
  11683. }
  11684. const onError = (err) => {
  11685. pendingRequest = null;
  11686. handleError(err, instance, 13 /* ASYNC_COMPONENT_LOADER */, !errorComponent /* do not throw in dev if user provided error component */);
  11687. };
  11688. // suspense-controlled or SSR.
  11689. if ((suspensible && instance.suspense) ||
  11690. (isInSSRComponentSetup)) {
  11691. return load()
  11692. .then(comp => {
  11693. return () => createInnerComp(comp, instance);
  11694. })
  11695. .catch(err => {
  11696. onError(err);
  11697. return () => errorComponent
  11698. ? createVNode(errorComponent, {
  11699. error: err
  11700. })
  11701. : null;
  11702. });
  11703. }
  11704. const loaded = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.ref)(false);
  11705. const error = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.ref)();
  11706. const delayed = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.ref)(!!delay);
  11707. if (delay) {
  11708. setTimeout(() => {
  11709. delayed.value = false;
  11710. }, delay);
  11711. }
  11712. if (timeout != null) {
  11713. setTimeout(() => {
  11714. if (!loaded.value && !error.value) {
  11715. const err = new Error(`Async component timed out after ${timeout}ms.`);
  11716. onError(err);
  11717. error.value = err;
  11718. }
  11719. }, timeout);
  11720. }
  11721. load()
  11722. .then(() => {
  11723. loaded.value = true;
  11724. if (instance.parent && isKeepAlive(instance.parent.vnode)) {
  11725. // parent is keep-alive, force update so the loaded component's
  11726. // name is taken into account
  11727. queueJob(instance.parent.update);
  11728. }
  11729. })
  11730. .catch(err => {
  11731. onError(err);
  11732. error.value = err;
  11733. });
  11734. return () => {
  11735. if (loaded.value && resolvedComp) {
  11736. return createInnerComp(resolvedComp, instance);
  11737. }
  11738. else if (error.value && errorComponent) {
  11739. return createVNode(errorComponent, {
  11740. error: error.value
  11741. });
  11742. }
  11743. else if (loadingComponent && !delayed.value) {
  11744. return createVNode(loadingComponent);
  11745. }
  11746. };
  11747. }
  11748. });
  11749. }
  11750. function createInnerComp(comp, { vnode: { ref, props, children } }) {
  11751. const vnode = createVNode(comp, props, children);
  11752. // ensure inner component inherits the async wrapper's ref owner
  11753. vnode.ref = ref;
  11754. return vnode;
  11755. }
  11756. const isKeepAlive = (vnode) => vnode.type.__isKeepAlive;
  11757. const KeepAliveImpl = {
  11758. name: `KeepAlive`,
  11759. // Marker for special handling inside the renderer. We are not using a ===
  11760. // check directly on KeepAlive in the renderer, because importing it directly
  11761. // would prevent it from being tree-shaken.
  11762. __isKeepAlive: true,
  11763. props: {
  11764. include: [String, RegExp, Array],
  11765. exclude: [String, RegExp, Array],
  11766. max: [String, Number]
  11767. },
  11768. setup(props, { slots }) {
  11769. const instance = getCurrentInstance();
  11770. // KeepAlive communicates with the instantiated renderer via the
  11771. // ctx where the renderer passes in its internals,
  11772. // and the KeepAlive instance exposes activate/deactivate implementations.
  11773. // The whole point of this is to avoid importing KeepAlive directly in the
  11774. // renderer to facilitate tree-shaking.
  11775. const sharedContext = instance.ctx;
  11776. // if the internal renderer is not registered, it indicates that this is server-side rendering,
  11777. // for KeepAlive, we just need to render its children
  11778. if (!sharedContext.renderer) {
  11779. return slots.default;
  11780. }
  11781. const cache = new Map();
  11782. const keys = new Set();
  11783. let current = null;
  11784. if (true) {
  11785. instance.__v_cache = cache;
  11786. }
  11787. const parentSuspense = instance.suspense;
  11788. const { renderer: { p: patch, m: move, um: _unmount, o: { createElement } } } = sharedContext;
  11789. const storageContainer = createElement('div');
  11790. sharedContext.activate = (vnode, container, anchor, isSVG, optimized) => {
  11791. const instance = vnode.component;
  11792. move(vnode, container, anchor, 0 /* ENTER */, parentSuspense);
  11793. // in case props have changed
  11794. patch(instance.vnode, vnode, container, anchor, instance, parentSuspense, isSVG, vnode.slotScopeIds, optimized);
  11795. queuePostRenderEffect(() => {
  11796. instance.isDeactivated = false;
  11797. if (instance.a) {
  11798. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.invokeArrayFns)(instance.a);
  11799. }
  11800. const vnodeHook = vnode.props && vnode.props.onVnodeMounted;
  11801. if (vnodeHook) {
  11802. invokeVNodeHook(vnodeHook, instance.parent, vnode);
  11803. }
  11804. }, parentSuspense);
  11805. if (true) {
  11806. // Update components tree
  11807. devtoolsComponentAdded(instance);
  11808. }
  11809. };
  11810. sharedContext.deactivate = (vnode) => {
  11811. const instance = vnode.component;
  11812. move(vnode, storageContainer, null, 1 /* LEAVE */, parentSuspense);
  11813. queuePostRenderEffect(() => {
  11814. if (instance.da) {
  11815. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.invokeArrayFns)(instance.da);
  11816. }
  11817. const vnodeHook = vnode.props && vnode.props.onVnodeUnmounted;
  11818. if (vnodeHook) {
  11819. invokeVNodeHook(vnodeHook, instance.parent, vnode);
  11820. }
  11821. instance.isDeactivated = true;
  11822. }, parentSuspense);
  11823. if (true) {
  11824. // Update components tree
  11825. devtoolsComponentAdded(instance);
  11826. }
  11827. };
  11828. function unmount(vnode) {
  11829. // reset the shapeFlag so it can be properly unmounted
  11830. resetShapeFlag(vnode);
  11831. _unmount(vnode, instance, parentSuspense, true);
  11832. }
  11833. function pruneCache(filter) {
  11834. cache.forEach((vnode, key) => {
  11835. const name = getComponentName(vnode.type);
  11836. if (name && (!filter || !filter(name))) {
  11837. pruneCacheEntry(key);
  11838. }
  11839. });
  11840. }
  11841. function pruneCacheEntry(key) {
  11842. const cached = cache.get(key);
  11843. if (!current || cached.type !== current.type) {
  11844. unmount(cached);
  11845. }
  11846. else if (current) {
  11847. // current active instance should no longer be kept-alive.
  11848. // we can't unmount it now but it might be later, so reset its flag now.
  11849. resetShapeFlag(current);
  11850. }
  11851. cache.delete(key);
  11852. keys.delete(key);
  11853. }
  11854. // prune cache on include/exclude prop change
  11855. watch(() => [props.include, props.exclude], ([include, exclude]) => {
  11856. include && pruneCache(name => matches(include, name));
  11857. exclude && pruneCache(name => !matches(exclude, name));
  11858. },
  11859. // prune post-render after `current` has been updated
  11860. { flush: 'post', deep: true });
  11861. // cache sub tree after render
  11862. let pendingCacheKey = null;
  11863. const cacheSubtree = () => {
  11864. // fix #1621, the pendingCacheKey could be 0
  11865. if (pendingCacheKey != null) {
  11866. cache.set(pendingCacheKey, getInnerChild(instance.subTree));
  11867. }
  11868. };
  11869. onMounted(cacheSubtree);
  11870. onUpdated(cacheSubtree);
  11871. onBeforeUnmount(() => {
  11872. cache.forEach(cached => {
  11873. const { subTree, suspense } = instance;
  11874. const vnode = getInnerChild(subTree);
  11875. if (cached.type === vnode.type) {
  11876. // current instance will be unmounted as part of keep-alive's unmount
  11877. resetShapeFlag(vnode);
  11878. // but invoke its deactivated hook here
  11879. const da = vnode.component.da;
  11880. da && queuePostRenderEffect(da, suspense);
  11881. return;
  11882. }
  11883. unmount(cached);
  11884. });
  11885. });
  11886. return () => {
  11887. pendingCacheKey = null;
  11888. if (!slots.default) {
  11889. return null;
  11890. }
  11891. const children = slots.default();
  11892. const rawVNode = children[0];
  11893. if (children.length > 1) {
  11894. if ((true)) {
  11895. warn(`KeepAlive should contain exactly one component child.`);
  11896. }
  11897. current = null;
  11898. return children;
  11899. }
  11900. else if (!isVNode(rawVNode) ||
  11901. (!(rawVNode.shapeFlag & 4 /* STATEFUL_COMPONENT */) &&
  11902. !(rawVNode.shapeFlag & 128 /* SUSPENSE */))) {
  11903. current = null;
  11904. return rawVNode;
  11905. }
  11906. let vnode = getInnerChild(rawVNode);
  11907. const comp = vnode.type;
  11908. // for async components, name check should be based in its loaded
  11909. // inner component if available
  11910. const name = getComponentName(isAsyncWrapper(vnode)
  11911. ? vnode.type.__asyncResolved || {}
  11912. : comp);
  11913. const { include, exclude, max } = props;
  11914. if ((include && (!name || !matches(include, name))) ||
  11915. (exclude && name && matches(exclude, name))) {
  11916. current = vnode;
  11917. return rawVNode;
  11918. }
  11919. const key = vnode.key == null ? comp : vnode.key;
  11920. const cachedVNode = cache.get(key);
  11921. // clone vnode if it's reused because we are going to mutate it
  11922. if (vnode.el) {
  11923. vnode = cloneVNode(vnode);
  11924. if (rawVNode.shapeFlag & 128 /* SUSPENSE */) {
  11925. rawVNode.ssContent = vnode;
  11926. }
  11927. }
  11928. // #1513 it's possible for the returned vnode to be cloned due to attr
  11929. // fallthrough or scopeId, so the vnode here may not be the final vnode
  11930. // that is mounted. Instead of caching it directly, we store the pending
  11931. // key and cache `instance.subTree` (the normalized vnode) in
  11932. // beforeMount/beforeUpdate hooks.
  11933. pendingCacheKey = key;
  11934. if (cachedVNode) {
  11935. // copy over mounted state
  11936. vnode.el = cachedVNode.el;
  11937. vnode.component = cachedVNode.component;
  11938. if (vnode.transition) {
  11939. // recursively update transition hooks on subTree
  11940. setTransitionHooks(vnode, vnode.transition);
  11941. }
  11942. // avoid vnode being mounted as fresh
  11943. vnode.shapeFlag |= 512 /* COMPONENT_KEPT_ALIVE */;
  11944. // make this key the freshest
  11945. keys.delete(key);
  11946. keys.add(key);
  11947. }
  11948. else {
  11949. keys.add(key);
  11950. // prune oldest entry
  11951. if (max && keys.size > parseInt(max, 10)) {
  11952. pruneCacheEntry(keys.values().next().value);
  11953. }
  11954. }
  11955. // avoid vnode being unmounted
  11956. vnode.shapeFlag |= 256 /* COMPONENT_SHOULD_KEEP_ALIVE */;
  11957. current = vnode;
  11958. return rawVNode;
  11959. };
  11960. }
  11961. };
  11962. // export the public type for h/tsx inference
  11963. // also to avoid inline import() in generated d.ts files
  11964. const KeepAlive = KeepAliveImpl;
  11965. function matches(pattern, name) {
  11966. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(pattern)) {
  11967. return pattern.some((p) => matches(p, name));
  11968. }
  11969. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(pattern)) {
  11970. return pattern.split(',').includes(name);
  11971. }
  11972. else if (pattern.test) {
  11973. return pattern.test(name);
  11974. }
  11975. /* istanbul ignore next */
  11976. return false;
  11977. }
  11978. function onActivated(hook, target) {
  11979. registerKeepAliveHook(hook, "a" /* ACTIVATED */, target);
  11980. }
  11981. function onDeactivated(hook, target) {
  11982. registerKeepAliveHook(hook, "da" /* DEACTIVATED */, target);
  11983. }
  11984. function registerKeepAliveHook(hook, type, target = currentInstance) {
  11985. // cache the deactivate branch check wrapper for injected hooks so the same
  11986. // hook can be properly deduped by the scheduler. "__wdc" stands for "with
  11987. // deactivation check".
  11988. const wrappedHook = hook.__wdc ||
  11989. (hook.__wdc = () => {
  11990. // only fire the hook if the target instance is NOT in a deactivated branch.
  11991. let current = target;
  11992. while (current) {
  11993. if (current.isDeactivated) {
  11994. return;
  11995. }
  11996. current = current.parent;
  11997. }
  11998. return hook();
  11999. });
  12000. injectHook(type, wrappedHook, target);
  12001. // In addition to registering it on the target instance, we walk up the parent
  12002. // chain and register it on all ancestor instances that are keep-alive roots.
  12003. // This avoids the need to walk the entire component tree when invoking these
  12004. // hooks, and more importantly, avoids the need to track child components in
  12005. // arrays.
  12006. if (target) {
  12007. let current = target.parent;
  12008. while (current && current.parent) {
  12009. if (isKeepAlive(current.parent.vnode)) {
  12010. injectToKeepAliveRoot(wrappedHook, type, target, current);
  12011. }
  12012. current = current.parent;
  12013. }
  12014. }
  12015. }
  12016. function injectToKeepAliveRoot(hook, type, target, keepAliveRoot) {
  12017. // injectHook wraps the original for error handling, so make sure to remove
  12018. // the wrapped version.
  12019. const injected = injectHook(type, hook, keepAliveRoot, true /* prepend */);
  12020. onUnmounted(() => {
  12021. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.remove)(keepAliveRoot[type], injected);
  12022. }, target);
  12023. }
  12024. function resetShapeFlag(vnode) {
  12025. let shapeFlag = vnode.shapeFlag;
  12026. if (shapeFlag & 256 /* COMPONENT_SHOULD_KEEP_ALIVE */) {
  12027. shapeFlag -= 256 /* COMPONENT_SHOULD_KEEP_ALIVE */;
  12028. }
  12029. if (shapeFlag & 512 /* COMPONENT_KEPT_ALIVE */) {
  12030. shapeFlag -= 512 /* COMPONENT_KEPT_ALIVE */;
  12031. }
  12032. vnode.shapeFlag = shapeFlag;
  12033. }
  12034. function getInnerChild(vnode) {
  12035. return vnode.shapeFlag & 128 /* SUSPENSE */ ? vnode.ssContent : vnode;
  12036. }
  12037. function injectHook(type, hook, target = currentInstance, prepend = false) {
  12038. if (target) {
  12039. const hooks = target[type] || (target[type] = []);
  12040. // cache the error handling wrapper for injected hooks so the same hook
  12041. // can be properly deduped by the scheduler. "__weh" stands for "with error
  12042. // handling".
  12043. const wrappedHook = hook.__weh ||
  12044. (hook.__weh = (...args) => {
  12045. if (target.isUnmounted) {
  12046. return;
  12047. }
  12048. // disable tracking inside all lifecycle hooks
  12049. // since they can potentially be called inside effects.
  12050. (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.pauseTracking)();
  12051. // Set currentInstance during hook invocation.
  12052. // This assumes the hook does not synchronously trigger other hooks, which
  12053. // can only be false when the user does something really funky.
  12054. setCurrentInstance(target);
  12055. const res = callWithAsyncErrorHandling(hook, target, type, args);
  12056. unsetCurrentInstance();
  12057. (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.resetTracking)();
  12058. return res;
  12059. });
  12060. if (prepend) {
  12061. hooks.unshift(wrappedHook);
  12062. }
  12063. else {
  12064. hooks.push(wrappedHook);
  12065. }
  12066. return wrappedHook;
  12067. }
  12068. else if ((true)) {
  12069. const apiName = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toHandlerKey)(ErrorTypeStrings[type].replace(/ hook$/, ''));
  12070. warn(`${apiName} is called when there is no active component instance to be ` +
  12071. `associated with. ` +
  12072. `Lifecycle injection APIs can only be used during execution of setup().` +
  12073. (` If you are using async setup(), make sure to register lifecycle ` +
  12074. `hooks before the first await statement.`
  12075. ));
  12076. }
  12077. }
  12078. const createHook = (lifecycle) => (hook, target = currentInstance) =>
  12079. // post-create lifecycle registrations are noops during SSR (except for serverPrefetch)
  12080. (!isInSSRComponentSetup || lifecycle === "sp" /* SERVER_PREFETCH */) &&
  12081. injectHook(lifecycle, hook, target);
  12082. const onBeforeMount = createHook("bm" /* BEFORE_MOUNT */);
  12083. const onMounted = createHook("m" /* MOUNTED */);
  12084. const onBeforeUpdate = createHook("bu" /* BEFORE_UPDATE */);
  12085. const onUpdated = createHook("u" /* UPDATED */);
  12086. const onBeforeUnmount = createHook("bum" /* BEFORE_UNMOUNT */);
  12087. const onUnmounted = createHook("um" /* UNMOUNTED */);
  12088. const onServerPrefetch = createHook("sp" /* SERVER_PREFETCH */);
  12089. const onRenderTriggered = createHook("rtg" /* RENDER_TRIGGERED */);
  12090. const onRenderTracked = createHook("rtc" /* RENDER_TRACKED */);
  12091. function onErrorCaptured(hook, target = currentInstance) {
  12092. injectHook("ec" /* ERROR_CAPTURED */, hook, target);
  12093. }
  12094. function createDuplicateChecker() {
  12095. const cache = Object.create(null);
  12096. return (type, key) => {
  12097. if (cache[key]) {
  12098. warn(`${type} property "${key}" is already defined in ${cache[key]}.`);
  12099. }
  12100. else {
  12101. cache[key] = type;
  12102. }
  12103. };
  12104. }
  12105. let shouldCacheAccess = true;
  12106. function applyOptions(instance) {
  12107. const options = resolveMergedOptions(instance);
  12108. const publicThis = instance.proxy;
  12109. const ctx = instance.ctx;
  12110. // do not cache property access on public proxy during state initialization
  12111. shouldCacheAccess = false;
  12112. // call beforeCreate first before accessing other options since
  12113. // the hook may mutate resolved options (#2791)
  12114. if (options.beforeCreate) {
  12115. callHook(options.beforeCreate, instance, "bc" /* BEFORE_CREATE */);
  12116. }
  12117. const {
  12118. // state
  12119. data: dataOptions, computed: computedOptions, methods, watch: watchOptions, provide: provideOptions, inject: injectOptions,
  12120. // lifecycle
  12121. created, beforeMount, mounted, beforeUpdate, updated, activated, deactivated, beforeDestroy, beforeUnmount, destroyed, unmounted, render, renderTracked, renderTriggered, errorCaptured, serverPrefetch,
  12122. // public API
  12123. expose, inheritAttrs,
  12124. // assets
  12125. components, directives, filters } = options;
  12126. const checkDuplicateProperties = ( true) ? createDuplicateChecker() : 0;
  12127. if ((true)) {
  12128. const [propsOptions] = instance.propsOptions;
  12129. if (propsOptions) {
  12130. for (const key in propsOptions) {
  12131. checkDuplicateProperties("Props" /* PROPS */, key);
  12132. }
  12133. }
  12134. }
  12135. // options initialization order (to be consistent with Vue 2):
  12136. // - props (already done outside of this function)
  12137. // - inject
  12138. // - methods
  12139. // - data (deferred since it relies on `this` access)
  12140. // - computed
  12141. // - watch (deferred since it relies on `this` access)
  12142. if (injectOptions) {
  12143. resolveInjections(injectOptions, ctx, checkDuplicateProperties, instance.appContext.config.unwrapInjectedRef);
  12144. }
  12145. if (methods) {
  12146. for (const key in methods) {
  12147. const methodHandler = methods[key];
  12148. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(methodHandler)) {
  12149. // In dev mode, we use the `createRenderContext` function to define
  12150. // methods to the proxy target, and those are read-only but
  12151. // reconfigurable, so it needs to be redefined here
  12152. if ((true)) {
  12153. Object.defineProperty(ctx, key, {
  12154. value: methodHandler.bind(publicThis),
  12155. configurable: true,
  12156. enumerable: true,
  12157. writable: true
  12158. });
  12159. }
  12160. else {}
  12161. if ((true)) {
  12162. checkDuplicateProperties("Methods" /* METHODS */, key);
  12163. }
  12164. }
  12165. else if ((true)) {
  12166. warn(`Method "${key}" has type "${typeof methodHandler}" in the component definition. ` +
  12167. `Did you reference the function correctly?`);
  12168. }
  12169. }
  12170. }
  12171. if (dataOptions) {
  12172. if (( true) && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(dataOptions)) {
  12173. warn(`The data option must be a function. ` +
  12174. `Plain object usage is no longer supported.`);
  12175. }
  12176. const data = dataOptions.call(publicThis, publicThis);
  12177. if (( true) && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isPromise)(data)) {
  12178. warn(`data() returned a Promise - note data() cannot be async; If you ` +
  12179. `intend to perform data fetching before component renders, use ` +
  12180. `async setup() + <Suspense>.`);
  12181. }
  12182. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(data)) {
  12183. ( true) && warn(`data() should return an object.`);
  12184. }
  12185. else {
  12186. instance.data = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.reactive)(data);
  12187. if ((true)) {
  12188. for (const key in data) {
  12189. checkDuplicateProperties("Data" /* DATA */, key);
  12190. // expose data on ctx during dev
  12191. if (key[0] !== '$' && key[0] !== '_') {
  12192. Object.defineProperty(ctx, key, {
  12193. configurable: true,
  12194. enumerable: true,
  12195. get: () => data[key],
  12196. set: _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NOOP
  12197. });
  12198. }
  12199. }
  12200. }
  12201. }
  12202. }
  12203. // state initialization complete at this point - start caching access
  12204. shouldCacheAccess = true;
  12205. if (computedOptions) {
  12206. for (const key in computedOptions) {
  12207. const opt = computedOptions[key];
  12208. const get = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(opt)
  12209. ? opt.bind(publicThis, publicThis)
  12210. : (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(opt.get)
  12211. ? opt.get.bind(publicThis, publicThis)
  12212. : _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NOOP;
  12213. if (( true) && get === _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NOOP) {
  12214. warn(`Computed property "${key}" has no getter.`);
  12215. }
  12216. const set = !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(opt) && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(opt.set)
  12217. ? opt.set.bind(publicThis)
  12218. : ( true)
  12219. ? () => {
  12220. warn(`Write operation failed: computed property "${key}" is readonly.`);
  12221. }
  12222. : 0;
  12223. const c = computed({
  12224. get,
  12225. set
  12226. });
  12227. Object.defineProperty(ctx, key, {
  12228. enumerable: true,
  12229. configurable: true,
  12230. get: () => c.value,
  12231. set: v => (c.value = v)
  12232. });
  12233. if ((true)) {
  12234. checkDuplicateProperties("Computed" /* COMPUTED */, key);
  12235. }
  12236. }
  12237. }
  12238. if (watchOptions) {
  12239. for (const key in watchOptions) {
  12240. createWatcher(watchOptions[key], ctx, publicThis, key);
  12241. }
  12242. }
  12243. if (provideOptions) {
  12244. const provides = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(provideOptions)
  12245. ? provideOptions.call(publicThis)
  12246. : provideOptions;
  12247. Reflect.ownKeys(provides).forEach(key => {
  12248. provide(key, provides[key]);
  12249. });
  12250. }
  12251. if (created) {
  12252. callHook(created, instance, "c" /* CREATED */);
  12253. }
  12254. function registerLifecycleHook(register, hook) {
  12255. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(hook)) {
  12256. hook.forEach(_hook => register(_hook.bind(publicThis)));
  12257. }
  12258. else if (hook) {
  12259. register(hook.bind(publicThis));
  12260. }
  12261. }
  12262. registerLifecycleHook(onBeforeMount, beforeMount);
  12263. registerLifecycleHook(onMounted, mounted);
  12264. registerLifecycleHook(onBeforeUpdate, beforeUpdate);
  12265. registerLifecycleHook(onUpdated, updated);
  12266. registerLifecycleHook(onActivated, activated);
  12267. registerLifecycleHook(onDeactivated, deactivated);
  12268. registerLifecycleHook(onErrorCaptured, errorCaptured);
  12269. registerLifecycleHook(onRenderTracked, renderTracked);
  12270. registerLifecycleHook(onRenderTriggered, renderTriggered);
  12271. registerLifecycleHook(onBeforeUnmount, beforeUnmount);
  12272. registerLifecycleHook(onUnmounted, unmounted);
  12273. registerLifecycleHook(onServerPrefetch, serverPrefetch);
  12274. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(expose)) {
  12275. if (expose.length) {
  12276. const exposed = instance.exposed || (instance.exposed = {});
  12277. expose.forEach(key => {
  12278. Object.defineProperty(exposed, key, {
  12279. get: () => publicThis[key],
  12280. set: val => (publicThis[key] = val)
  12281. });
  12282. });
  12283. }
  12284. else if (!instance.exposed) {
  12285. instance.exposed = {};
  12286. }
  12287. }
  12288. // options that are handled when creating the instance but also need to be
  12289. // applied from mixins
  12290. if (render && instance.render === _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NOOP) {
  12291. instance.render = render;
  12292. }
  12293. if (inheritAttrs != null) {
  12294. instance.inheritAttrs = inheritAttrs;
  12295. }
  12296. // asset options.
  12297. if (components)
  12298. instance.components = components;
  12299. if (directives)
  12300. instance.directives = directives;
  12301. }
  12302. function resolveInjections(injectOptions, ctx, checkDuplicateProperties = _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NOOP, unwrapRef = false) {
  12303. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(injectOptions)) {
  12304. injectOptions = normalizeInject(injectOptions);
  12305. }
  12306. for (const key in injectOptions) {
  12307. const opt = injectOptions[key];
  12308. let injected;
  12309. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(opt)) {
  12310. if ('default' in opt) {
  12311. injected = inject(opt.from || key, opt.default, true /* treat default function as factory */);
  12312. }
  12313. else {
  12314. injected = inject(opt.from || key);
  12315. }
  12316. }
  12317. else {
  12318. injected = inject(opt);
  12319. }
  12320. if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isRef)(injected)) {
  12321. // TODO remove the check in 3.3
  12322. if (unwrapRef) {
  12323. Object.defineProperty(ctx, key, {
  12324. enumerable: true,
  12325. configurable: true,
  12326. get: () => injected.value,
  12327. set: v => (injected.value = v)
  12328. });
  12329. }
  12330. else {
  12331. if ((true)) {
  12332. warn(`injected property "${key}" is a ref and will be auto-unwrapped ` +
  12333. `and no longer needs \`.value\` in the next minor release. ` +
  12334. `To opt-in to the new behavior now, ` +
  12335. `set \`app.config.unwrapInjectedRef = true\` (this config is ` +
  12336. `temporary and will not be needed in the future.)`);
  12337. }
  12338. ctx[key] = injected;
  12339. }
  12340. }
  12341. else {
  12342. ctx[key] = injected;
  12343. }
  12344. if ((true)) {
  12345. checkDuplicateProperties("Inject" /* INJECT */, key);
  12346. }
  12347. }
  12348. }
  12349. function callHook(hook, instance, type) {
  12350. callWithAsyncErrorHandling((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(hook)
  12351. ? hook.map(h => h.bind(instance.proxy))
  12352. : hook.bind(instance.proxy), instance, type);
  12353. }
  12354. function createWatcher(raw, ctx, publicThis, key) {
  12355. const getter = key.includes('.')
  12356. ? createPathGetter(publicThis, key)
  12357. : () => publicThis[key];
  12358. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(raw)) {
  12359. const handler = ctx[raw];
  12360. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(handler)) {
  12361. watch(getter, handler);
  12362. }
  12363. else if ((true)) {
  12364. warn(`Invalid watch handler specified by key "${raw}"`, handler);
  12365. }
  12366. }
  12367. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(raw)) {
  12368. watch(getter, raw.bind(publicThis));
  12369. }
  12370. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(raw)) {
  12371. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(raw)) {
  12372. raw.forEach(r => createWatcher(r, ctx, publicThis, key));
  12373. }
  12374. else {
  12375. const handler = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(raw.handler)
  12376. ? raw.handler.bind(publicThis)
  12377. : ctx[raw.handler];
  12378. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(handler)) {
  12379. watch(getter, handler, raw);
  12380. }
  12381. else if ((true)) {
  12382. warn(`Invalid watch handler specified by key "${raw.handler}"`, handler);
  12383. }
  12384. }
  12385. }
  12386. else if ((true)) {
  12387. warn(`Invalid watch option: "${key}"`, raw);
  12388. }
  12389. }
  12390. /**
  12391. * Resolve merged options and cache it on the component.
  12392. * This is done only once per-component since the merging does not involve
  12393. * instances.
  12394. */
  12395. function resolveMergedOptions(instance) {
  12396. const base = instance.type;
  12397. const { mixins, extends: extendsOptions } = base;
  12398. const { mixins: globalMixins, optionsCache: cache, config: { optionMergeStrategies } } = instance.appContext;
  12399. const cached = cache.get(base);
  12400. let resolved;
  12401. if (cached) {
  12402. resolved = cached;
  12403. }
  12404. else if (!globalMixins.length && !mixins && !extendsOptions) {
  12405. {
  12406. resolved = base;
  12407. }
  12408. }
  12409. else {
  12410. resolved = {};
  12411. if (globalMixins.length) {
  12412. globalMixins.forEach(m => mergeOptions(resolved, m, optionMergeStrategies, true));
  12413. }
  12414. mergeOptions(resolved, base, optionMergeStrategies);
  12415. }
  12416. cache.set(base, resolved);
  12417. return resolved;
  12418. }
  12419. function mergeOptions(to, from, strats, asMixin = false) {
  12420. const { mixins, extends: extendsOptions } = from;
  12421. if (extendsOptions) {
  12422. mergeOptions(to, extendsOptions, strats, true);
  12423. }
  12424. if (mixins) {
  12425. mixins.forEach((m) => mergeOptions(to, m, strats, true));
  12426. }
  12427. for (const key in from) {
  12428. if (asMixin && key === 'expose') {
  12429. ( true) &&
  12430. warn(`"expose" option is ignored when declared in mixins or extends. ` +
  12431. `It should only be declared in the base component itself.`);
  12432. }
  12433. else {
  12434. const strat = internalOptionMergeStrats[key] || (strats && strats[key]);
  12435. to[key] = strat ? strat(to[key], from[key]) : from[key];
  12436. }
  12437. }
  12438. return to;
  12439. }
  12440. const internalOptionMergeStrats = {
  12441. data: mergeDataFn,
  12442. props: mergeObjectOptions,
  12443. emits: mergeObjectOptions,
  12444. // objects
  12445. methods: mergeObjectOptions,
  12446. computed: mergeObjectOptions,
  12447. // lifecycle
  12448. beforeCreate: mergeAsArray,
  12449. created: mergeAsArray,
  12450. beforeMount: mergeAsArray,
  12451. mounted: mergeAsArray,
  12452. beforeUpdate: mergeAsArray,
  12453. updated: mergeAsArray,
  12454. beforeDestroy: mergeAsArray,
  12455. beforeUnmount: mergeAsArray,
  12456. destroyed: mergeAsArray,
  12457. unmounted: mergeAsArray,
  12458. activated: mergeAsArray,
  12459. deactivated: mergeAsArray,
  12460. errorCaptured: mergeAsArray,
  12461. serverPrefetch: mergeAsArray,
  12462. // assets
  12463. components: mergeObjectOptions,
  12464. directives: mergeObjectOptions,
  12465. // watch
  12466. watch: mergeWatchOptions,
  12467. // provide / inject
  12468. provide: mergeDataFn,
  12469. inject: mergeInject
  12470. };
  12471. function mergeDataFn(to, from) {
  12472. if (!from) {
  12473. return to;
  12474. }
  12475. if (!to) {
  12476. return from;
  12477. }
  12478. return function mergedDataFn() {
  12479. return ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend))((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(to) ? to.call(this, this) : to, (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(from) ? from.call(this, this) : from);
  12480. };
  12481. }
  12482. function mergeInject(to, from) {
  12483. return mergeObjectOptions(normalizeInject(to), normalizeInject(from));
  12484. }
  12485. function normalizeInject(raw) {
  12486. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(raw)) {
  12487. const res = {};
  12488. for (let i = 0; i < raw.length; i++) {
  12489. res[raw[i]] = raw[i];
  12490. }
  12491. return res;
  12492. }
  12493. return raw;
  12494. }
  12495. function mergeAsArray(to, from) {
  12496. return to ? [...new Set([].concat(to, from))] : from;
  12497. }
  12498. function mergeObjectOptions(to, from) {
  12499. return to ? (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)(Object.create(null), to), from) : from;
  12500. }
  12501. function mergeWatchOptions(to, from) {
  12502. if (!to)
  12503. return from;
  12504. if (!from)
  12505. return to;
  12506. const merged = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)(Object.create(null), to);
  12507. for (const key in from) {
  12508. merged[key] = mergeAsArray(to[key], from[key]);
  12509. }
  12510. return merged;
  12511. }
  12512. function initProps(instance, rawProps, isStateful, // result of bitwise flag comparison
  12513. isSSR = false) {
  12514. const props = {};
  12515. const attrs = {};
  12516. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.def)(attrs, InternalObjectKey, 1);
  12517. instance.propsDefaults = Object.create(null);
  12518. setFullProps(instance, rawProps, props, attrs);
  12519. // ensure all declared prop keys are present
  12520. for (const key in instance.propsOptions[0]) {
  12521. if (!(key in props)) {
  12522. props[key] = undefined;
  12523. }
  12524. }
  12525. // validation
  12526. if ((true)) {
  12527. validateProps(rawProps || {}, props, instance);
  12528. }
  12529. if (isStateful) {
  12530. // stateful
  12531. instance.props = isSSR ? props : (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.shallowReactive)(props);
  12532. }
  12533. else {
  12534. if (!instance.type.props) {
  12535. // functional w/ optional props, props === attrs
  12536. instance.props = attrs;
  12537. }
  12538. else {
  12539. // functional w/ declared props
  12540. instance.props = props;
  12541. }
  12542. }
  12543. instance.attrs = attrs;
  12544. }
  12545. function updateProps(instance, rawProps, rawPrevProps, optimized) {
  12546. const { props, attrs, vnode: { patchFlag } } = instance;
  12547. const rawCurrentProps = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.toRaw)(props);
  12548. const [options] = instance.propsOptions;
  12549. let hasAttrsChanged = false;
  12550. if (
  12551. // always force full diff in dev
  12552. // - #1942 if hmr is enabled with sfc component
  12553. // - vite#872 non-sfc component used by sfc component
  12554. !(( true) &&
  12555. (instance.type.__hmrId ||
  12556. (instance.parent && instance.parent.type.__hmrId))) &&
  12557. (optimized || patchFlag > 0) &&
  12558. !(patchFlag & 16 /* FULL_PROPS */)) {
  12559. if (patchFlag & 8 /* PROPS */) {
  12560. // Compiler-generated props & no keys change, just set the updated
  12561. // the props.
  12562. const propsToUpdate = instance.vnode.dynamicProps;
  12563. for (let i = 0; i < propsToUpdate.length; i++) {
  12564. let key = propsToUpdate[i];
  12565. // skip if the prop key is a declared emit event listener
  12566. if (isEmitListener(instance.emitsOptions, key)) {
  12567. continue;
  12568. }
  12569. // PROPS flag guarantees rawProps to be non-null
  12570. const value = rawProps[key];
  12571. if (options) {
  12572. // attr / props separation was done on init and will be consistent
  12573. // in this code path, so just check if attrs have it.
  12574. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(attrs, key)) {
  12575. if (value !== attrs[key]) {
  12576. attrs[key] = value;
  12577. hasAttrsChanged = true;
  12578. }
  12579. }
  12580. else {
  12581. const camelizedKey = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.camelize)(key);
  12582. props[camelizedKey] = resolvePropValue(options, rawCurrentProps, camelizedKey, value, instance, false /* isAbsent */);
  12583. }
  12584. }
  12585. else {
  12586. if (value !== attrs[key]) {
  12587. attrs[key] = value;
  12588. hasAttrsChanged = true;
  12589. }
  12590. }
  12591. }
  12592. }
  12593. }
  12594. else {
  12595. // full props update.
  12596. if (setFullProps(instance, rawProps, props, attrs)) {
  12597. hasAttrsChanged = true;
  12598. }
  12599. // in case of dynamic props, check if we need to delete keys from
  12600. // the props object
  12601. let kebabKey;
  12602. for (const key in rawCurrentProps) {
  12603. if (!rawProps ||
  12604. // for camelCase
  12605. (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(rawProps, key) &&
  12606. // it's possible the original props was passed in as kebab-case
  12607. // and converted to camelCase (#955)
  12608. ((kebabKey = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hyphenate)(key)) === key || !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(rawProps, kebabKey)))) {
  12609. if (options) {
  12610. if (rawPrevProps &&
  12611. // for camelCase
  12612. (rawPrevProps[key] !== undefined ||
  12613. // for kebab-case
  12614. rawPrevProps[kebabKey] !== undefined)) {
  12615. props[key] = resolvePropValue(options, rawCurrentProps, key, undefined, instance, true /* isAbsent */);
  12616. }
  12617. }
  12618. else {
  12619. delete props[key];
  12620. }
  12621. }
  12622. }
  12623. // in the case of functional component w/o props declaration, props and
  12624. // attrs point to the same object so it should already have been updated.
  12625. if (attrs !== rawCurrentProps) {
  12626. for (const key in attrs) {
  12627. if (!rawProps ||
  12628. (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(rawProps, key) &&
  12629. (!false ))) {
  12630. delete attrs[key];
  12631. hasAttrsChanged = true;
  12632. }
  12633. }
  12634. }
  12635. }
  12636. // trigger updates for $attrs in case it's used in component slots
  12637. if (hasAttrsChanged) {
  12638. (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.trigger)(instance, "set" /* SET */, '$attrs');
  12639. }
  12640. if ((true)) {
  12641. validateProps(rawProps || {}, props, instance);
  12642. }
  12643. }
  12644. function setFullProps(instance, rawProps, props, attrs) {
  12645. const [options, needCastKeys] = instance.propsOptions;
  12646. let hasAttrsChanged = false;
  12647. let rawCastValues;
  12648. if (rawProps) {
  12649. for (let key in rawProps) {
  12650. // key, ref are reserved and never passed down
  12651. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isReservedProp)(key)) {
  12652. continue;
  12653. }
  12654. const value = rawProps[key];
  12655. // prop option names are camelized during normalization, so to support
  12656. // kebab -> camel conversion here we need to camelize the key.
  12657. let camelKey;
  12658. if (options && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(options, (camelKey = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.camelize)(key)))) {
  12659. if (!needCastKeys || !needCastKeys.includes(camelKey)) {
  12660. props[camelKey] = value;
  12661. }
  12662. else {
  12663. (rawCastValues || (rawCastValues = {}))[camelKey] = value;
  12664. }
  12665. }
  12666. else if (!isEmitListener(instance.emitsOptions, key)) {
  12667. if (!(key in attrs) || value !== attrs[key]) {
  12668. attrs[key] = value;
  12669. hasAttrsChanged = true;
  12670. }
  12671. }
  12672. }
  12673. }
  12674. if (needCastKeys) {
  12675. const rawCurrentProps = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.toRaw)(props);
  12676. const castValues = rawCastValues || _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ;
  12677. for (let i = 0; i < needCastKeys.length; i++) {
  12678. const key = needCastKeys[i];
  12679. props[key] = resolvePropValue(options, rawCurrentProps, key, castValues[key], instance, !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(castValues, key));
  12680. }
  12681. }
  12682. return hasAttrsChanged;
  12683. }
  12684. function resolvePropValue(options, props, key, value, instance, isAbsent) {
  12685. const opt = options[key];
  12686. if (opt != null) {
  12687. const hasDefault = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(opt, 'default');
  12688. // default values
  12689. if (hasDefault && value === undefined) {
  12690. const defaultValue = opt.default;
  12691. if (opt.type !== Function && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(defaultValue)) {
  12692. const { propsDefaults } = instance;
  12693. if (key in propsDefaults) {
  12694. value = propsDefaults[key];
  12695. }
  12696. else {
  12697. setCurrentInstance(instance);
  12698. value = propsDefaults[key] = defaultValue.call(null, props);
  12699. unsetCurrentInstance();
  12700. }
  12701. }
  12702. else {
  12703. value = defaultValue;
  12704. }
  12705. }
  12706. // boolean casting
  12707. if (opt[0 /* shouldCast */]) {
  12708. if (isAbsent && !hasDefault) {
  12709. value = false;
  12710. }
  12711. else if (opt[1 /* shouldCastTrue */] &&
  12712. (value === '' || value === (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hyphenate)(key))) {
  12713. value = true;
  12714. }
  12715. }
  12716. }
  12717. return value;
  12718. }
  12719. function normalizePropsOptions(comp, appContext, asMixin = false) {
  12720. const cache = appContext.propsCache;
  12721. const cached = cache.get(comp);
  12722. if (cached) {
  12723. return cached;
  12724. }
  12725. const raw = comp.props;
  12726. const normalized = {};
  12727. const needCastKeys = [];
  12728. // apply mixin/extends props
  12729. let hasExtends = false;
  12730. if ( true && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(comp)) {
  12731. const extendProps = (raw) => {
  12732. hasExtends = true;
  12733. const [props, keys] = normalizePropsOptions(raw, appContext, true);
  12734. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)(normalized, props);
  12735. if (keys)
  12736. needCastKeys.push(...keys);
  12737. };
  12738. if (!asMixin && appContext.mixins.length) {
  12739. appContext.mixins.forEach(extendProps);
  12740. }
  12741. if (comp.extends) {
  12742. extendProps(comp.extends);
  12743. }
  12744. if (comp.mixins) {
  12745. comp.mixins.forEach(extendProps);
  12746. }
  12747. }
  12748. if (!raw && !hasExtends) {
  12749. cache.set(comp, _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_ARR);
  12750. return _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_ARR;
  12751. }
  12752. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(raw)) {
  12753. for (let i = 0; i < raw.length; i++) {
  12754. if (( true) && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(raw[i])) {
  12755. warn(`props must be strings when using array syntax.`, raw[i]);
  12756. }
  12757. const normalizedKey = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.camelize)(raw[i]);
  12758. if (validatePropName(normalizedKey)) {
  12759. normalized[normalizedKey] = _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ;
  12760. }
  12761. }
  12762. }
  12763. else if (raw) {
  12764. if (( true) && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(raw)) {
  12765. warn(`invalid props options`, raw);
  12766. }
  12767. for (const key in raw) {
  12768. const normalizedKey = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.camelize)(key);
  12769. if (validatePropName(normalizedKey)) {
  12770. const opt = raw[key];
  12771. const prop = (normalized[normalizedKey] =
  12772. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(opt) || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(opt) ? { type: opt } : opt);
  12773. if (prop) {
  12774. const booleanIndex = getTypeIndex(Boolean, prop.type);
  12775. const stringIndex = getTypeIndex(String, prop.type);
  12776. prop[0 /* shouldCast */] = booleanIndex > -1;
  12777. prop[1 /* shouldCastTrue */] =
  12778. stringIndex < 0 || booleanIndex < stringIndex;
  12779. // if the prop needs boolean casting or default value
  12780. if (booleanIndex > -1 || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(prop, 'default')) {
  12781. needCastKeys.push(normalizedKey);
  12782. }
  12783. }
  12784. }
  12785. }
  12786. }
  12787. const res = [normalized, needCastKeys];
  12788. cache.set(comp, res);
  12789. return res;
  12790. }
  12791. function validatePropName(key) {
  12792. if (key[0] !== '$') {
  12793. return true;
  12794. }
  12795. else if ((true)) {
  12796. warn(`Invalid prop name: "${key}" is a reserved property.`);
  12797. }
  12798. return false;
  12799. }
  12800. // use function string name to check type constructors
  12801. // so that it works across vms / iframes.
  12802. function getType(ctor) {
  12803. const match = ctor && ctor.toString().match(/^\s*function (\w+)/);
  12804. return match ? match[1] : ctor === null ? 'null' : '';
  12805. }
  12806. function isSameType(a, b) {
  12807. return getType(a) === getType(b);
  12808. }
  12809. function getTypeIndex(type, expectedTypes) {
  12810. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(expectedTypes)) {
  12811. return expectedTypes.findIndex(t => isSameType(t, type));
  12812. }
  12813. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(expectedTypes)) {
  12814. return isSameType(expectedTypes, type) ? 0 : -1;
  12815. }
  12816. return -1;
  12817. }
  12818. /**
  12819. * dev only
  12820. */
  12821. function validateProps(rawProps, props, instance) {
  12822. const resolvedValues = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.toRaw)(props);
  12823. const options = instance.propsOptions[0];
  12824. for (const key in options) {
  12825. let opt = options[key];
  12826. if (opt == null)
  12827. continue;
  12828. validateProp(key, resolvedValues[key], opt, !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(rawProps, key) && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(rawProps, (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hyphenate)(key)));
  12829. }
  12830. }
  12831. /**
  12832. * dev only
  12833. */
  12834. function validateProp(name, value, prop, isAbsent) {
  12835. const { type, required, validator } = prop;
  12836. // required!
  12837. if (required && isAbsent) {
  12838. warn('Missing required prop: "' + name + '"');
  12839. return;
  12840. }
  12841. // missing but optional
  12842. if (value == null && !prop.required) {
  12843. return;
  12844. }
  12845. // type check
  12846. if (type != null && type !== true) {
  12847. let isValid = false;
  12848. const types = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(type) ? type : [type];
  12849. const expectedTypes = [];
  12850. // value is valid as long as one of the specified types match
  12851. for (let i = 0; i < types.length && !isValid; i++) {
  12852. const { valid, expectedType } = assertType(value, types[i]);
  12853. expectedTypes.push(expectedType || '');
  12854. isValid = valid;
  12855. }
  12856. if (!isValid) {
  12857. warn(getInvalidTypeMessage(name, value, expectedTypes));
  12858. return;
  12859. }
  12860. }
  12861. // custom validator
  12862. if (validator && !validator(value)) {
  12863. warn('Invalid prop: custom validator check failed for prop "' + name + '".');
  12864. }
  12865. }
  12866. const isSimpleType = /*#__PURE__*/ (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.makeMap)('String,Number,Boolean,Function,Symbol,BigInt');
  12867. /**
  12868. * dev only
  12869. */
  12870. function assertType(value, type) {
  12871. let valid;
  12872. const expectedType = getType(type);
  12873. if (isSimpleType(expectedType)) {
  12874. const t = typeof value;
  12875. valid = t === expectedType.toLowerCase();
  12876. // for primitive wrapper objects
  12877. if (!valid && t === 'object') {
  12878. valid = value instanceof type;
  12879. }
  12880. }
  12881. else if (expectedType === 'Object') {
  12882. valid = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(value);
  12883. }
  12884. else if (expectedType === 'Array') {
  12885. valid = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(value);
  12886. }
  12887. else if (expectedType === 'null') {
  12888. valid = value === null;
  12889. }
  12890. else {
  12891. valid = value instanceof type;
  12892. }
  12893. return {
  12894. valid,
  12895. expectedType
  12896. };
  12897. }
  12898. /**
  12899. * dev only
  12900. */
  12901. function getInvalidTypeMessage(name, value, expectedTypes) {
  12902. let message = `Invalid prop: type check failed for prop "${name}".` +
  12903. ` Expected ${expectedTypes.map(_vue_shared__WEBPACK_IMPORTED_MODULE_1__.capitalize).join(' | ')}`;
  12904. const expectedType = expectedTypes[0];
  12905. const receivedType = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toRawType)(value);
  12906. const expectedValue = styleValue(value, expectedType);
  12907. const receivedValue = styleValue(value, receivedType);
  12908. // check if we need to specify expected value
  12909. if (expectedTypes.length === 1 &&
  12910. isExplicable(expectedType) &&
  12911. !isBoolean(expectedType, receivedType)) {
  12912. message += ` with value ${expectedValue}`;
  12913. }
  12914. message += `, got ${receivedType} `;
  12915. // check if we need to specify received value
  12916. if (isExplicable(receivedType)) {
  12917. message += `with value ${receivedValue}.`;
  12918. }
  12919. return message;
  12920. }
  12921. /**
  12922. * dev only
  12923. */
  12924. function styleValue(value, type) {
  12925. if (type === 'String') {
  12926. return `"${value}"`;
  12927. }
  12928. else if (type === 'Number') {
  12929. return `${Number(value)}`;
  12930. }
  12931. else {
  12932. return `${value}`;
  12933. }
  12934. }
  12935. /**
  12936. * dev only
  12937. */
  12938. function isExplicable(type) {
  12939. const explicitTypes = ['string', 'number', 'boolean'];
  12940. return explicitTypes.some(elem => type.toLowerCase() === elem);
  12941. }
  12942. /**
  12943. * dev only
  12944. */
  12945. function isBoolean(...args) {
  12946. return args.some(elem => elem.toLowerCase() === 'boolean');
  12947. }
  12948. const isInternalKey = (key) => key[0] === '_' || key === '$stable';
  12949. const normalizeSlotValue = (value) => (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(value)
  12950. ? value.map(normalizeVNode)
  12951. : [normalizeVNode(value)];
  12952. const normalizeSlot = (key, rawSlot, ctx) => {
  12953. const normalized = withCtx((...args) => {
  12954. if (( true) && currentInstance) {
  12955. warn(`Slot "${key}" invoked outside of the render function: ` +
  12956. `this will not track dependencies used in the slot. ` +
  12957. `Invoke the slot function inside the render function instead.`);
  12958. }
  12959. return normalizeSlotValue(rawSlot(...args));
  12960. }, ctx);
  12961. normalized._c = false;
  12962. return normalized;
  12963. };
  12964. const normalizeObjectSlots = (rawSlots, slots, instance) => {
  12965. const ctx = rawSlots._ctx;
  12966. for (const key in rawSlots) {
  12967. if (isInternalKey(key))
  12968. continue;
  12969. const value = rawSlots[key];
  12970. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(value)) {
  12971. slots[key] = normalizeSlot(key, value, ctx);
  12972. }
  12973. else if (value != null) {
  12974. if (true) {
  12975. warn(`Non-function value encountered for slot "${key}". ` +
  12976. `Prefer function slots for better performance.`);
  12977. }
  12978. const normalized = normalizeSlotValue(value);
  12979. slots[key] = () => normalized;
  12980. }
  12981. }
  12982. };
  12983. const normalizeVNodeSlots = (instance, children) => {
  12984. if (( true) &&
  12985. !isKeepAlive(instance.vnode) &&
  12986. !(false )) {
  12987. warn(`Non-function value encountered for default slot. ` +
  12988. `Prefer function slots for better performance.`);
  12989. }
  12990. const normalized = normalizeSlotValue(children);
  12991. instance.slots.default = () => normalized;
  12992. };
  12993. const initSlots = (instance, children) => {
  12994. if (instance.vnode.shapeFlag & 32 /* SLOTS_CHILDREN */) {
  12995. const type = children._;
  12996. if (type) {
  12997. // users can get the shallow readonly version of the slots object through `this.$slots`,
  12998. // we should avoid the proxy object polluting the slots of the internal instance
  12999. instance.slots = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.toRaw)(children);
  13000. // make compiler marker non-enumerable
  13001. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.def)(children, '_', type);
  13002. }
  13003. else {
  13004. normalizeObjectSlots(children, (instance.slots = {}));
  13005. }
  13006. }
  13007. else {
  13008. instance.slots = {};
  13009. if (children) {
  13010. normalizeVNodeSlots(instance, children);
  13011. }
  13012. }
  13013. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.def)(instance.slots, InternalObjectKey, 1);
  13014. };
  13015. const updateSlots = (instance, children, optimized) => {
  13016. const { vnode, slots } = instance;
  13017. let needDeletionCheck = true;
  13018. let deletionComparisonTarget = _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ;
  13019. if (vnode.shapeFlag & 32 /* SLOTS_CHILDREN */) {
  13020. const type = children._;
  13021. if (type) {
  13022. // compiled slots.
  13023. if (( true) && isHmrUpdating) {
  13024. // Parent was HMR updated so slot content may have changed.
  13025. // force update slots and mark instance for hmr as well
  13026. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)(slots, children);
  13027. }
  13028. else if (optimized && type === 1 /* STABLE */) {
  13029. // compiled AND stable.
  13030. // no need to update, and skip stale slots removal.
  13031. needDeletionCheck = false;
  13032. }
  13033. else {
  13034. // compiled but dynamic (v-if/v-for on slots) - update slots, but skip
  13035. // normalization.
  13036. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)(slots, children);
  13037. // #2893
  13038. // when rendering the optimized slots by manually written render function,
  13039. // we need to delete the `slots._` flag if necessary to make subsequent updates reliable,
  13040. // i.e. let the `renderSlot` create the bailed Fragment
  13041. if (!optimized && type === 1 /* STABLE */) {
  13042. delete slots._;
  13043. }
  13044. }
  13045. }
  13046. else {
  13047. needDeletionCheck = !children.$stable;
  13048. normalizeObjectSlots(children, slots);
  13049. }
  13050. deletionComparisonTarget = children;
  13051. }
  13052. else if (children) {
  13053. // non slot object children (direct value) passed to a component
  13054. normalizeVNodeSlots(instance, children);
  13055. deletionComparisonTarget = { default: 1 };
  13056. }
  13057. // delete stale slots
  13058. if (needDeletionCheck) {
  13059. for (const key in slots) {
  13060. if (!isInternalKey(key) && !(key in deletionComparisonTarget)) {
  13061. delete slots[key];
  13062. }
  13063. }
  13064. }
  13065. };
  13066. /**
  13067. Runtime helper for applying directives to a vnode. Example usage:
  13068. const comp = resolveComponent('comp')
  13069. const foo = resolveDirective('foo')
  13070. const bar = resolveDirective('bar')
  13071. return withDirectives(h(comp), [
  13072. [foo, this.x],
  13073. [bar, this.y]
  13074. ])
  13075. */
  13076. function validateDirectiveName(name) {
  13077. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isBuiltInDirective)(name)) {
  13078. warn('Do not use built-in directive ids as custom directive id: ' + name);
  13079. }
  13080. }
  13081. /**
  13082. * Adds directives to a VNode.
  13083. */
  13084. function withDirectives(vnode, directives) {
  13085. const internalInstance = currentRenderingInstance;
  13086. if (internalInstance === null) {
  13087. ( true) && warn(`withDirectives can only be used inside render functions.`);
  13088. return vnode;
  13089. }
  13090. const instance = getExposeProxy(internalInstance) ||
  13091. internalInstance.proxy;
  13092. const bindings = vnode.dirs || (vnode.dirs = []);
  13093. for (let i = 0; i < directives.length; i++) {
  13094. let [dir, value, arg, modifiers = _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ] = directives[i];
  13095. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(dir)) {
  13096. dir = {
  13097. mounted: dir,
  13098. updated: dir
  13099. };
  13100. }
  13101. if (dir.deep) {
  13102. traverse(value);
  13103. }
  13104. bindings.push({
  13105. dir,
  13106. instance,
  13107. value,
  13108. oldValue: void 0,
  13109. arg,
  13110. modifiers
  13111. });
  13112. }
  13113. return vnode;
  13114. }
  13115. function invokeDirectiveHook(vnode, prevVNode, instance, name) {
  13116. const bindings = vnode.dirs;
  13117. const oldBindings = prevVNode && prevVNode.dirs;
  13118. for (let i = 0; i < bindings.length; i++) {
  13119. const binding = bindings[i];
  13120. if (oldBindings) {
  13121. binding.oldValue = oldBindings[i].value;
  13122. }
  13123. let hook = binding.dir[name];
  13124. if (hook) {
  13125. // disable tracking inside all lifecycle hooks
  13126. // since they can potentially be called inside effects.
  13127. (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.pauseTracking)();
  13128. callWithAsyncErrorHandling(hook, instance, 8 /* DIRECTIVE_HOOK */, [
  13129. vnode.el,
  13130. binding,
  13131. vnode,
  13132. prevVNode
  13133. ]);
  13134. (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.resetTracking)();
  13135. }
  13136. }
  13137. }
  13138. function createAppContext() {
  13139. return {
  13140. app: null,
  13141. config: {
  13142. isNativeTag: _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NO,
  13143. performance: false,
  13144. globalProperties: {},
  13145. optionMergeStrategies: {},
  13146. errorHandler: undefined,
  13147. warnHandler: undefined,
  13148. compilerOptions: {}
  13149. },
  13150. mixins: [],
  13151. components: {},
  13152. directives: {},
  13153. provides: Object.create(null),
  13154. optionsCache: new WeakMap(),
  13155. propsCache: new WeakMap(),
  13156. emitsCache: new WeakMap()
  13157. };
  13158. }
  13159. let uid = 0;
  13160. function createAppAPI(render, hydrate) {
  13161. return function createApp(rootComponent, rootProps = null) {
  13162. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(rootComponent)) {
  13163. rootComponent = Object.assign({}, rootComponent);
  13164. }
  13165. if (rootProps != null && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(rootProps)) {
  13166. ( true) && warn(`root props passed to app.mount() must be an object.`);
  13167. rootProps = null;
  13168. }
  13169. const context = createAppContext();
  13170. const installedPlugins = new Set();
  13171. let isMounted = false;
  13172. const app = (context.app = {
  13173. _uid: uid++,
  13174. _component: rootComponent,
  13175. _props: rootProps,
  13176. _container: null,
  13177. _context: context,
  13178. _instance: null,
  13179. version,
  13180. get config() {
  13181. return context.config;
  13182. },
  13183. set config(v) {
  13184. if ((true)) {
  13185. warn(`app.config cannot be replaced. Modify individual options instead.`);
  13186. }
  13187. },
  13188. use(plugin, ...options) {
  13189. if (installedPlugins.has(plugin)) {
  13190. ( true) && warn(`Plugin has already been applied to target app.`);
  13191. }
  13192. else if (plugin && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(plugin.install)) {
  13193. installedPlugins.add(plugin);
  13194. plugin.install(app, ...options);
  13195. }
  13196. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(plugin)) {
  13197. installedPlugins.add(plugin);
  13198. plugin(app, ...options);
  13199. }
  13200. else if ((true)) {
  13201. warn(`A plugin must either be a function or an object with an "install" ` +
  13202. `function.`);
  13203. }
  13204. return app;
  13205. },
  13206. mixin(mixin) {
  13207. if (true) {
  13208. if (!context.mixins.includes(mixin)) {
  13209. context.mixins.push(mixin);
  13210. }
  13211. else if ((true)) {
  13212. warn('Mixin has already been applied to target app' +
  13213. (mixin.name ? `: ${mixin.name}` : ''));
  13214. }
  13215. }
  13216. else {}
  13217. return app;
  13218. },
  13219. component(name, component) {
  13220. if ((true)) {
  13221. validateComponentName(name, context.config);
  13222. }
  13223. if (!component) {
  13224. return context.components[name];
  13225. }
  13226. if (( true) && context.components[name]) {
  13227. warn(`Component "${name}" has already been registered in target app.`);
  13228. }
  13229. context.components[name] = component;
  13230. return app;
  13231. },
  13232. directive(name, directive) {
  13233. if ((true)) {
  13234. validateDirectiveName(name);
  13235. }
  13236. if (!directive) {
  13237. return context.directives[name];
  13238. }
  13239. if (( true) && context.directives[name]) {
  13240. warn(`Directive "${name}" has already been registered in target app.`);
  13241. }
  13242. context.directives[name] = directive;
  13243. return app;
  13244. },
  13245. mount(rootContainer, isHydrate, isSVG) {
  13246. if (!isMounted) {
  13247. const vnode = createVNode(rootComponent, rootProps);
  13248. // store app context on the root VNode.
  13249. // this will be set on the root instance on initial mount.
  13250. vnode.appContext = context;
  13251. // HMR root reload
  13252. if ((true)) {
  13253. context.reload = () => {
  13254. render(cloneVNode(vnode), rootContainer, isSVG);
  13255. };
  13256. }
  13257. if (isHydrate && hydrate) {
  13258. hydrate(vnode, rootContainer);
  13259. }
  13260. else {
  13261. render(vnode, rootContainer, isSVG);
  13262. }
  13263. isMounted = true;
  13264. app._container = rootContainer;
  13265. rootContainer.__vue_app__ = app;
  13266. if (true) {
  13267. app._instance = vnode.component;
  13268. devtoolsInitApp(app, version);
  13269. }
  13270. return getExposeProxy(vnode.component) || vnode.component.proxy;
  13271. }
  13272. else if ((true)) {
  13273. warn(`App has already been mounted.\n` +
  13274. `If you want to remount the same app, move your app creation logic ` +
  13275. `into a factory function and create fresh app instances for each ` +
  13276. `mount - e.g. \`const createMyApp = () => createApp(App)\``);
  13277. }
  13278. },
  13279. unmount() {
  13280. if (isMounted) {
  13281. render(null, app._container);
  13282. if (true) {
  13283. app._instance = null;
  13284. devtoolsUnmountApp(app);
  13285. }
  13286. delete app._container.__vue_app__;
  13287. }
  13288. else if ((true)) {
  13289. warn(`Cannot unmount an app that is not mounted.`);
  13290. }
  13291. },
  13292. provide(key, value) {
  13293. if (( true) && key in context.provides) {
  13294. warn(`App already provides property with key "${String(key)}". ` +
  13295. `It will be overwritten with the new value.`);
  13296. }
  13297. // TypeScript doesn't allow symbols as index type
  13298. // https://github.com/Microsoft/TypeScript/issues/24587
  13299. context.provides[key] = value;
  13300. return app;
  13301. }
  13302. });
  13303. return app;
  13304. };
  13305. }
  13306. /**
  13307. * Function for handling a template ref
  13308. */
  13309. function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
  13310. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(rawRef)) {
  13311. rawRef.forEach((r, i) => setRef(r, oldRawRef && ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(oldRawRef) ? oldRawRef[i] : oldRawRef), parentSuspense, vnode, isUnmount));
  13312. return;
  13313. }
  13314. if (isAsyncWrapper(vnode) && !isUnmount) {
  13315. // when mounting async components, nothing needs to be done,
  13316. // because the template ref is forwarded to inner component
  13317. return;
  13318. }
  13319. const refValue = vnode.shapeFlag & 4 /* STATEFUL_COMPONENT */
  13320. ? getExposeProxy(vnode.component) || vnode.component.proxy
  13321. : vnode.el;
  13322. const value = isUnmount ? null : refValue;
  13323. const { i: owner, r: ref } = rawRef;
  13324. if (( true) && !owner) {
  13325. warn(`Missing ref owner context. ref cannot be used on hoisted vnodes. ` +
  13326. `A vnode with ref must be created inside the render function.`);
  13327. return;
  13328. }
  13329. const oldRef = oldRawRef && oldRawRef.r;
  13330. const refs = owner.refs === _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ ? (owner.refs = {}) : owner.refs;
  13331. const setupState = owner.setupState;
  13332. // dynamic ref changed. unset old ref
  13333. if (oldRef != null && oldRef !== ref) {
  13334. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(oldRef)) {
  13335. refs[oldRef] = null;
  13336. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(setupState, oldRef)) {
  13337. setupState[oldRef] = null;
  13338. }
  13339. }
  13340. else if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isRef)(oldRef)) {
  13341. oldRef.value = null;
  13342. }
  13343. }
  13344. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(ref)) {
  13345. callWithErrorHandling(ref, owner, 12 /* FUNCTION_REF */, [value, refs]);
  13346. }
  13347. else {
  13348. const _isString = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(ref);
  13349. const _isRef = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isRef)(ref);
  13350. if (_isString || _isRef) {
  13351. const doSet = () => {
  13352. if (rawRef.f) {
  13353. const existing = _isString ? refs[ref] : ref.value;
  13354. if (isUnmount) {
  13355. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(existing) && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.remove)(existing, refValue);
  13356. }
  13357. else {
  13358. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(existing)) {
  13359. if (_isString) {
  13360. refs[ref] = [refValue];
  13361. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(setupState, ref)) {
  13362. setupState[ref] = refs[ref];
  13363. }
  13364. }
  13365. else {
  13366. ref.value = [refValue];
  13367. if (rawRef.k)
  13368. refs[rawRef.k] = ref.value;
  13369. }
  13370. }
  13371. else if (!existing.includes(refValue)) {
  13372. existing.push(refValue);
  13373. }
  13374. }
  13375. }
  13376. else if (_isString) {
  13377. refs[ref] = value;
  13378. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(setupState, ref)) {
  13379. setupState[ref] = value;
  13380. }
  13381. }
  13382. else if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isRef)(ref)) {
  13383. ref.value = value;
  13384. if (rawRef.k)
  13385. refs[rawRef.k] = value;
  13386. }
  13387. else if ((true)) {
  13388. warn('Invalid template ref type:', ref, `(${typeof ref})`);
  13389. }
  13390. };
  13391. if (value) {
  13392. doSet.id = -1;
  13393. queuePostRenderEffect(doSet, parentSuspense);
  13394. }
  13395. else {
  13396. doSet();
  13397. }
  13398. }
  13399. else if ((true)) {
  13400. warn('Invalid template ref type:', ref, `(${typeof ref})`);
  13401. }
  13402. }
  13403. }
  13404. let hasMismatch = false;
  13405. const isSVGContainer = (container) => /svg/.test(container.namespaceURI) && container.tagName !== 'foreignObject';
  13406. const isComment = (node) => node.nodeType === 8 /* COMMENT */;
  13407. // Note: hydration is DOM-specific
  13408. // But we have to place it in core due to tight coupling with core - splitting
  13409. // it out creates a ton of unnecessary complexity.
  13410. // Hydration also depends on some renderer internal logic which needs to be
  13411. // passed in via arguments.
  13412. function createHydrationFunctions(rendererInternals) {
  13413. const { mt: mountComponent, p: patch, o: { patchProp, nextSibling, parentNode, remove, insert, createComment } } = rendererInternals;
  13414. const hydrate = (vnode, container) => {
  13415. if (!container.hasChildNodes()) {
  13416. ( true) &&
  13417. warn(`Attempting to hydrate existing markup but container is empty. ` +
  13418. `Performing full mount instead.`);
  13419. patch(null, vnode, container);
  13420. flushPostFlushCbs();
  13421. return;
  13422. }
  13423. hasMismatch = false;
  13424. hydrateNode(container.firstChild, vnode, null, null, null);
  13425. flushPostFlushCbs();
  13426. if (hasMismatch && !false) {
  13427. // this error should show up in production
  13428. console.error(`Hydration completed but contains mismatches.`);
  13429. }
  13430. };
  13431. const hydrateNode = (node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized = false) => {
  13432. const isFragmentStart = isComment(node) && node.data === '[';
  13433. const onMismatch = () => handleMismatch(node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragmentStart);
  13434. const { type, ref, shapeFlag } = vnode;
  13435. const domType = node.nodeType;
  13436. vnode.el = node;
  13437. let nextNode = null;
  13438. switch (type) {
  13439. case Text:
  13440. if (domType !== 3 /* TEXT */) {
  13441. nextNode = onMismatch();
  13442. }
  13443. else {
  13444. if (node.data !== vnode.children) {
  13445. hasMismatch = true;
  13446. ( true) &&
  13447. warn(`Hydration text mismatch:` +
  13448. `\n- Client: ${JSON.stringify(node.data)}` +
  13449. `\n- Server: ${JSON.stringify(vnode.children)}`);
  13450. node.data = vnode.children;
  13451. }
  13452. nextNode = nextSibling(node);
  13453. }
  13454. break;
  13455. case Comment:
  13456. if (domType !== 8 /* COMMENT */ || isFragmentStart) {
  13457. nextNode = onMismatch();
  13458. }
  13459. else {
  13460. nextNode = nextSibling(node);
  13461. }
  13462. break;
  13463. case Static:
  13464. if (domType !== 1 /* ELEMENT */) {
  13465. nextNode = onMismatch();
  13466. }
  13467. else {
  13468. // determine anchor, adopt content
  13469. nextNode = node;
  13470. // if the static vnode has its content stripped during build,
  13471. // adopt it from the server-rendered HTML.
  13472. const needToAdoptContent = !vnode.children.length;
  13473. for (let i = 0; i < vnode.staticCount; i++) {
  13474. if (needToAdoptContent)
  13475. vnode.children += nextNode.outerHTML;
  13476. if (i === vnode.staticCount - 1) {
  13477. vnode.anchor = nextNode;
  13478. }
  13479. nextNode = nextSibling(nextNode);
  13480. }
  13481. return nextNode;
  13482. }
  13483. break;
  13484. case Fragment:
  13485. if (!isFragmentStart) {
  13486. nextNode = onMismatch();
  13487. }
  13488. else {
  13489. nextNode = hydrateFragment(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized);
  13490. }
  13491. break;
  13492. default:
  13493. if (shapeFlag & 1 /* ELEMENT */) {
  13494. if (domType !== 1 /* ELEMENT */ ||
  13495. vnode.type.toLowerCase() !==
  13496. node.tagName.toLowerCase()) {
  13497. nextNode = onMismatch();
  13498. }
  13499. else {
  13500. nextNode = hydrateElement(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized);
  13501. }
  13502. }
  13503. else if (shapeFlag & 6 /* COMPONENT */) {
  13504. // when setting up the render effect, if the initial vnode already
  13505. // has .el set, the component will perform hydration instead of mount
  13506. // on its sub-tree.
  13507. vnode.slotScopeIds = slotScopeIds;
  13508. const container = parentNode(node);
  13509. mountComponent(vnode, container, null, parentComponent, parentSuspense, isSVGContainer(container), optimized);
  13510. // component may be async, so in the case of fragments we cannot rely
  13511. // on component's rendered output to determine the end of the fragment
  13512. // instead, we do a lookahead to find the end anchor node.
  13513. nextNode = isFragmentStart
  13514. ? locateClosingAsyncAnchor(node)
  13515. : nextSibling(node);
  13516. // #3787
  13517. // if component is async, it may get moved / unmounted before its
  13518. // inner component is loaded, so we need to give it a placeholder
  13519. // vnode that matches its adopted DOM.
  13520. if (isAsyncWrapper(vnode)) {
  13521. let subTree;
  13522. if (isFragmentStart) {
  13523. subTree = createVNode(Fragment);
  13524. subTree.anchor = nextNode
  13525. ? nextNode.previousSibling
  13526. : container.lastChild;
  13527. }
  13528. else {
  13529. subTree =
  13530. node.nodeType === 3 ? createTextVNode('') : createVNode('div');
  13531. }
  13532. subTree.el = node;
  13533. vnode.component.subTree = subTree;
  13534. }
  13535. }
  13536. else if (shapeFlag & 64 /* TELEPORT */) {
  13537. if (domType !== 8 /* COMMENT */) {
  13538. nextNode = onMismatch();
  13539. }
  13540. else {
  13541. nextNode = vnode.type.hydrate(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized, rendererInternals, hydrateChildren);
  13542. }
  13543. }
  13544. else if (shapeFlag & 128 /* SUSPENSE */) {
  13545. nextNode = vnode.type.hydrate(node, vnode, parentComponent, parentSuspense, isSVGContainer(parentNode(node)), slotScopeIds, optimized, rendererInternals, hydrateNode);
  13546. }
  13547. else if ((true)) {
  13548. warn('Invalid HostVNode type:', type, `(${typeof type})`);
  13549. }
  13550. }
  13551. if (ref != null) {
  13552. setRef(ref, null, parentSuspense, vnode);
  13553. }
  13554. return nextNode;
  13555. };
  13556. const hydrateElement = (el, vnode, parentComponent, parentSuspense, slotScopeIds, optimized) => {
  13557. optimized = optimized || !!vnode.dynamicChildren;
  13558. const { type, props, patchFlag, shapeFlag, dirs } = vnode;
  13559. // #4006 for form elements with non-string v-model value bindings
  13560. // e.g. <option :value="obj">, <input type="checkbox" :true-value="1">
  13561. const forcePatchValue = (type === 'input' && dirs) || type === 'option';
  13562. // skip props & children if this is hoisted static nodes
  13563. // #5405 in dev, always hydrate children for HMR
  13564. if (true /* HOISTED */) {
  13565. if (dirs) {
  13566. invokeDirectiveHook(vnode, null, parentComponent, 'created');
  13567. }
  13568. // props
  13569. if (props) {
  13570. if (forcePatchValue ||
  13571. !optimized ||
  13572. patchFlag & (16 /* FULL_PROPS */ | 32 /* HYDRATE_EVENTS */)) {
  13573. for (const key in props) {
  13574. if ((forcePatchValue && key.endsWith('value')) ||
  13575. ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isOn)(key) && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isReservedProp)(key))) {
  13576. patchProp(el, key, null, props[key], false, undefined, parentComponent);
  13577. }
  13578. }
  13579. }
  13580. else if (props.onClick) {
  13581. // Fast path for click listeners (which is most often) to avoid
  13582. // iterating through props.
  13583. patchProp(el, 'onClick', null, props.onClick, false, undefined, parentComponent);
  13584. }
  13585. }
  13586. // vnode / directive hooks
  13587. let vnodeHooks;
  13588. if ((vnodeHooks = props && props.onVnodeBeforeMount)) {
  13589. invokeVNodeHook(vnodeHooks, parentComponent, vnode);
  13590. }
  13591. if (dirs) {
  13592. invokeDirectiveHook(vnode, null, parentComponent, 'beforeMount');
  13593. }
  13594. if ((vnodeHooks = props && props.onVnodeMounted) || dirs) {
  13595. queueEffectWithSuspense(() => {
  13596. vnodeHooks && invokeVNodeHook(vnodeHooks, parentComponent, vnode);
  13597. dirs && invokeDirectiveHook(vnode, null, parentComponent, 'mounted');
  13598. }, parentSuspense);
  13599. }
  13600. // children
  13601. if (shapeFlag & 16 /* ARRAY_CHILDREN */ &&
  13602. // skip if element has innerHTML / textContent
  13603. !(props && (props.innerHTML || props.textContent))) {
  13604. let next = hydrateChildren(el.firstChild, vnode, el, parentComponent, parentSuspense, slotScopeIds, optimized);
  13605. let hasWarned = false;
  13606. while (next) {
  13607. hasMismatch = true;
  13608. if (( true) && !hasWarned) {
  13609. warn(`Hydration children mismatch in <${vnode.type}>: ` +
  13610. `server rendered element contains more child nodes than client vdom.`);
  13611. hasWarned = true;
  13612. }
  13613. // The SSRed DOM contains more nodes than it should. Remove them.
  13614. const cur = next;
  13615. next = next.nextSibling;
  13616. remove(cur);
  13617. }
  13618. }
  13619. else if (shapeFlag & 8 /* TEXT_CHILDREN */) {
  13620. if (el.textContent !== vnode.children) {
  13621. hasMismatch = true;
  13622. ( true) &&
  13623. warn(`Hydration text content mismatch in <${vnode.type}>:\n` +
  13624. `- Client: ${el.textContent}\n` +
  13625. `- Server: ${vnode.children}`);
  13626. el.textContent = vnode.children;
  13627. }
  13628. }
  13629. }
  13630. return el.nextSibling;
  13631. };
  13632. const hydrateChildren = (node, parentVNode, container, parentComponent, parentSuspense, slotScopeIds, optimized) => {
  13633. optimized = optimized || !!parentVNode.dynamicChildren;
  13634. const children = parentVNode.children;
  13635. const l = children.length;
  13636. let hasWarned = false;
  13637. for (let i = 0; i < l; i++) {
  13638. const vnode = optimized
  13639. ? children[i]
  13640. : (children[i] = normalizeVNode(children[i]));
  13641. if (node) {
  13642. node = hydrateNode(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized);
  13643. }
  13644. else if (vnode.type === Text && !vnode.children) {
  13645. continue;
  13646. }
  13647. else {
  13648. hasMismatch = true;
  13649. if (( true) && !hasWarned) {
  13650. warn(`Hydration children mismatch in <${container.tagName.toLowerCase()}>: ` +
  13651. `server rendered element contains fewer child nodes than client vdom.`);
  13652. hasWarned = true;
  13653. }
  13654. // the SSRed DOM didn't contain enough nodes. Mount the missing ones.
  13655. patch(null, vnode, container, null, parentComponent, parentSuspense, isSVGContainer(container), slotScopeIds);
  13656. }
  13657. }
  13658. return node;
  13659. };
  13660. const hydrateFragment = (node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized) => {
  13661. const { slotScopeIds: fragmentSlotScopeIds } = vnode;
  13662. if (fragmentSlotScopeIds) {
  13663. slotScopeIds = slotScopeIds
  13664. ? slotScopeIds.concat(fragmentSlotScopeIds)
  13665. : fragmentSlotScopeIds;
  13666. }
  13667. const container = parentNode(node);
  13668. const next = hydrateChildren(nextSibling(node), vnode, container, parentComponent, parentSuspense, slotScopeIds, optimized);
  13669. if (next && isComment(next) && next.data === ']') {
  13670. return nextSibling((vnode.anchor = next));
  13671. }
  13672. else {
  13673. // fragment didn't hydrate successfully, since we didn't get a end anchor
  13674. // back. This should have led to node/children mismatch warnings.
  13675. hasMismatch = true;
  13676. // since the anchor is missing, we need to create one and insert it
  13677. insert((vnode.anchor = createComment(`]`)), container, next);
  13678. return next;
  13679. }
  13680. };
  13681. const handleMismatch = (node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragment) => {
  13682. hasMismatch = true;
  13683. ( true) &&
  13684. warn(`Hydration node mismatch:\n- Client vnode:`, vnode.type, `\n- Server rendered DOM:`, node, node.nodeType === 3 /* TEXT */
  13685. ? `(text)`
  13686. : isComment(node) && node.data === '['
  13687. ? `(start of fragment)`
  13688. : ``);
  13689. vnode.el = null;
  13690. if (isFragment) {
  13691. // remove excessive fragment nodes
  13692. const end = locateClosingAsyncAnchor(node);
  13693. while (true) {
  13694. const next = nextSibling(node);
  13695. if (next && next !== end) {
  13696. remove(next);
  13697. }
  13698. else {
  13699. break;
  13700. }
  13701. }
  13702. }
  13703. const next = nextSibling(node);
  13704. const container = parentNode(node);
  13705. remove(node);
  13706. patch(null, vnode, container, next, parentComponent, parentSuspense, isSVGContainer(container), slotScopeIds);
  13707. return next;
  13708. };
  13709. const locateClosingAsyncAnchor = (node) => {
  13710. let match = 0;
  13711. while (node) {
  13712. node = nextSibling(node);
  13713. if (node && isComment(node)) {
  13714. if (node.data === '[')
  13715. match++;
  13716. if (node.data === ']') {
  13717. if (match === 0) {
  13718. return nextSibling(node);
  13719. }
  13720. else {
  13721. match--;
  13722. }
  13723. }
  13724. }
  13725. }
  13726. return node;
  13727. };
  13728. return [hydrate, hydrateNode];
  13729. }
  13730. /* eslint-disable no-restricted-globals */
  13731. let supported;
  13732. let perf;
  13733. function startMeasure(instance, type) {
  13734. if (instance.appContext.config.performance && isSupported()) {
  13735. perf.mark(`vue-${type}-${instance.uid}`);
  13736. }
  13737. if (true) {
  13738. devtoolsPerfStart(instance, type, isSupported() ? perf.now() : Date.now());
  13739. }
  13740. }
  13741. function endMeasure(instance, type) {
  13742. if (instance.appContext.config.performance && isSupported()) {
  13743. const startTag = `vue-${type}-${instance.uid}`;
  13744. const endTag = startTag + `:end`;
  13745. perf.mark(endTag);
  13746. perf.measure(`<${formatComponentName(instance, instance.type)}> ${type}`, startTag, endTag);
  13747. perf.clearMarks(startTag);
  13748. perf.clearMarks(endTag);
  13749. }
  13750. if (true) {
  13751. devtoolsPerfEnd(instance, type, isSupported() ? perf.now() : Date.now());
  13752. }
  13753. }
  13754. function isSupported() {
  13755. if (supported !== undefined) {
  13756. return supported;
  13757. }
  13758. if (typeof window !== 'undefined' && window.performance) {
  13759. supported = true;
  13760. perf = window.performance;
  13761. }
  13762. else {
  13763. supported = false;
  13764. }
  13765. return supported;
  13766. }
  13767. /**
  13768. * This is only called in esm-bundler builds.
  13769. * It is called when a renderer is created, in `baseCreateRenderer` so that
  13770. * importing runtime-core is side-effects free.
  13771. *
  13772. * istanbul-ignore-next
  13773. */
  13774. function initFeatureFlags() {
  13775. const needWarn = [];
  13776. if (false) {}
  13777. if (false) {}
  13778. if (( true) && needWarn.length) {
  13779. const multi = needWarn.length > 1;
  13780. console.warn(`Feature flag${multi ? `s` : ``} ${needWarn.join(', ')} ${multi ? `are` : `is`} not explicitly defined. You are running the esm-bundler build of Vue, ` +
  13781. `which expects these compile-time feature flags to be globally injected ` +
  13782. `via the bundler config in order to get better tree-shaking in the ` +
  13783. `production bundle.\n\n` +
  13784. `For more details, see https://link.vuejs.org/feature-flags.`);
  13785. }
  13786. }
  13787. const queuePostRenderEffect = queueEffectWithSuspense
  13788. ;
  13789. /**
  13790. * The createRenderer function accepts two generic arguments:
  13791. * HostNode and HostElement, corresponding to Node and Element types in the
  13792. * host environment. For example, for runtime-dom, HostNode would be the DOM
  13793. * `Node` interface and HostElement would be the DOM `Element` interface.
  13794. *
  13795. * Custom renderers can pass in the platform specific types like this:
  13796. *
  13797. * ``` js
  13798. * const { render, createApp } = createRenderer<Node, Element>({
  13799. * patchProp,
  13800. * ...nodeOps
  13801. * })
  13802. * ```
  13803. */
  13804. function createRenderer(options) {
  13805. return baseCreateRenderer(options);
  13806. }
  13807. // Separate API for creating hydration-enabled renderer.
  13808. // Hydration logic is only used when calling this function, making it
  13809. // tree-shakable.
  13810. function createHydrationRenderer(options) {
  13811. return baseCreateRenderer(options, createHydrationFunctions);
  13812. }
  13813. // implementation
  13814. function baseCreateRenderer(options, createHydrationFns) {
  13815. // compile-time feature flags check
  13816. {
  13817. initFeatureFlags();
  13818. }
  13819. const target = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.getGlobalThis)();
  13820. target.__VUE__ = true;
  13821. if (true) {
  13822. setDevtoolsHook(target.__VUE_DEVTOOLS_GLOBAL_HOOK__, target);
  13823. }
  13824. const { insert: hostInsert, remove: hostRemove, patchProp: hostPatchProp, createElement: hostCreateElement, createText: hostCreateText, createComment: hostCreateComment, setText: hostSetText, setElementText: hostSetElementText, parentNode: hostParentNode, nextSibling: hostNextSibling, setScopeId: hostSetScopeId = _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NOOP, cloneNode: hostCloneNode, insertStaticContent: hostInsertStaticContent } = options;
  13825. // Note: functions inside this closure should use `const xxx = () => {}`
  13826. // style in order to prevent being inlined by minifiers.
  13827. const patch = (n1, n2, container, anchor = null, parentComponent = null, parentSuspense = null, isSVG = false, slotScopeIds = null, optimized = ( true) && isHmrUpdating ? false : !!n2.dynamicChildren) => {
  13828. if (n1 === n2) {
  13829. return;
  13830. }
  13831. // patching & not same type, unmount old tree
  13832. if (n1 && !isSameVNodeType(n1, n2)) {
  13833. anchor = getNextHostNode(n1);
  13834. unmount(n1, parentComponent, parentSuspense, true);
  13835. n1 = null;
  13836. }
  13837. if (n2.patchFlag === -2 /* BAIL */) {
  13838. optimized = false;
  13839. n2.dynamicChildren = null;
  13840. }
  13841. const { type, ref, shapeFlag } = n2;
  13842. switch (type) {
  13843. case Text:
  13844. processText(n1, n2, container, anchor);
  13845. break;
  13846. case Comment:
  13847. processCommentNode(n1, n2, container, anchor);
  13848. break;
  13849. case Static:
  13850. if (n1 == null) {
  13851. mountStaticNode(n2, container, anchor, isSVG);
  13852. }
  13853. else if ((true)) {
  13854. patchStaticNode(n1, n2, container, isSVG);
  13855. }
  13856. break;
  13857. case Fragment:
  13858. processFragment(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  13859. break;
  13860. default:
  13861. if (shapeFlag & 1 /* ELEMENT */) {
  13862. processElement(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  13863. }
  13864. else if (shapeFlag & 6 /* COMPONENT */) {
  13865. processComponent(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  13866. }
  13867. else if (shapeFlag & 64 /* TELEPORT */) {
  13868. type.process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, internals);
  13869. }
  13870. else if (shapeFlag & 128 /* SUSPENSE */) {
  13871. type.process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, internals);
  13872. }
  13873. else if ((true)) {
  13874. warn('Invalid VNode type:', type, `(${typeof type})`);
  13875. }
  13876. }
  13877. // set ref
  13878. if (ref != null && parentComponent) {
  13879. setRef(ref, n1 && n1.ref, parentSuspense, n2 || n1, !n2);
  13880. }
  13881. };
  13882. const processText = (n1, n2, container, anchor) => {
  13883. if (n1 == null) {
  13884. hostInsert((n2.el = hostCreateText(n2.children)), container, anchor);
  13885. }
  13886. else {
  13887. const el = (n2.el = n1.el);
  13888. if (n2.children !== n1.children) {
  13889. hostSetText(el, n2.children);
  13890. }
  13891. }
  13892. };
  13893. const processCommentNode = (n1, n2, container, anchor) => {
  13894. if (n1 == null) {
  13895. hostInsert((n2.el = hostCreateComment(n2.children || '')), container, anchor);
  13896. }
  13897. else {
  13898. // there's no support for dynamic comments
  13899. n2.el = n1.el;
  13900. }
  13901. };
  13902. const mountStaticNode = (n2, container, anchor, isSVG) => {
  13903. [n2.el, n2.anchor] = hostInsertStaticContent(n2.children, container, anchor, isSVG, n2.el, n2.anchor);
  13904. };
  13905. /**
  13906. * Dev / HMR only
  13907. */
  13908. const patchStaticNode = (n1, n2, container, isSVG) => {
  13909. // static nodes are only patched during dev for HMR
  13910. if (n2.children !== n1.children) {
  13911. const anchor = hostNextSibling(n1.anchor);
  13912. // remove existing
  13913. removeStaticNode(n1);
  13914. [n2.el, n2.anchor] = hostInsertStaticContent(n2.children, container, anchor, isSVG);
  13915. }
  13916. else {
  13917. n2.el = n1.el;
  13918. n2.anchor = n1.anchor;
  13919. }
  13920. };
  13921. const moveStaticNode = ({ el, anchor }, container, nextSibling) => {
  13922. let next;
  13923. while (el && el !== anchor) {
  13924. next = hostNextSibling(el);
  13925. hostInsert(el, container, nextSibling);
  13926. el = next;
  13927. }
  13928. hostInsert(anchor, container, nextSibling);
  13929. };
  13930. const removeStaticNode = ({ el, anchor }) => {
  13931. let next;
  13932. while (el && el !== anchor) {
  13933. next = hostNextSibling(el);
  13934. hostRemove(el);
  13935. el = next;
  13936. }
  13937. hostRemove(anchor);
  13938. };
  13939. const processElement = (n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {
  13940. isSVG = isSVG || n2.type === 'svg';
  13941. if (n1 == null) {
  13942. mountElement(n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  13943. }
  13944. else {
  13945. patchElement(n1, n2, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  13946. }
  13947. };
  13948. const mountElement = (vnode, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {
  13949. let el;
  13950. let vnodeHook;
  13951. const { type, props, shapeFlag, transition, patchFlag, dirs } = vnode;
  13952. if (false /* HOISTED */) {}
  13953. else {
  13954. el = vnode.el = hostCreateElement(vnode.type, isSVG, props && props.is, props);
  13955. // mount children first, since some props may rely on child content
  13956. // being already rendered, e.g. `<select value>`
  13957. if (shapeFlag & 8 /* TEXT_CHILDREN */) {
  13958. hostSetElementText(el, vnode.children);
  13959. }
  13960. else if (shapeFlag & 16 /* ARRAY_CHILDREN */) {
  13961. mountChildren(vnode.children, el, null, parentComponent, parentSuspense, isSVG && type !== 'foreignObject', slotScopeIds, optimized);
  13962. }
  13963. if (dirs) {
  13964. invokeDirectiveHook(vnode, null, parentComponent, 'created');
  13965. }
  13966. // props
  13967. if (props) {
  13968. for (const key in props) {
  13969. if (key !== 'value' && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isReservedProp)(key)) {
  13970. hostPatchProp(el, key, null, props[key], isSVG, vnode.children, parentComponent, parentSuspense, unmountChildren);
  13971. }
  13972. }
  13973. /**
  13974. * Special case for setting value on DOM elements:
  13975. * - it can be order-sensitive (e.g. should be set *after* min/max, #2325, #4024)
  13976. * - it needs to be forced (#1471)
  13977. * #2353 proposes adding another renderer option to configure this, but
  13978. * the properties affects are so finite it is worth special casing it
  13979. * here to reduce the complexity. (Special casing it also should not
  13980. * affect non-DOM renderers)
  13981. */
  13982. if ('value' in props) {
  13983. hostPatchProp(el, 'value', null, props.value);
  13984. }
  13985. if ((vnodeHook = props.onVnodeBeforeMount)) {
  13986. invokeVNodeHook(vnodeHook, parentComponent, vnode);
  13987. }
  13988. }
  13989. // scopeId
  13990. setScopeId(el, vnode, vnode.scopeId, slotScopeIds, parentComponent);
  13991. }
  13992. if (true) {
  13993. Object.defineProperty(el, '__vnode', {
  13994. value: vnode,
  13995. enumerable: false
  13996. });
  13997. Object.defineProperty(el, '__vueParentComponent', {
  13998. value: parentComponent,
  13999. enumerable: false
  14000. });
  14001. }
  14002. if (dirs) {
  14003. invokeDirectiveHook(vnode, null, parentComponent, 'beforeMount');
  14004. }
  14005. // #1583 For inside suspense + suspense not resolved case, enter hook should call when suspense resolved
  14006. // #1689 For inside suspense + suspense resolved case, just call it
  14007. const needCallTransitionHooks = (!parentSuspense || (parentSuspense && !parentSuspense.pendingBranch)) &&
  14008. transition &&
  14009. !transition.persisted;
  14010. if (needCallTransitionHooks) {
  14011. transition.beforeEnter(el);
  14012. }
  14013. hostInsert(el, container, anchor);
  14014. if ((vnodeHook = props && props.onVnodeMounted) ||
  14015. needCallTransitionHooks ||
  14016. dirs) {
  14017. queuePostRenderEffect(() => {
  14018. vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, vnode);
  14019. needCallTransitionHooks && transition.enter(el);
  14020. dirs && invokeDirectiveHook(vnode, null, parentComponent, 'mounted');
  14021. }, parentSuspense);
  14022. }
  14023. };
  14024. const setScopeId = (el, vnode, scopeId, slotScopeIds, parentComponent) => {
  14025. if (scopeId) {
  14026. hostSetScopeId(el, scopeId);
  14027. }
  14028. if (slotScopeIds) {
  14029. for (let i = 0; i < slotScopeIds.length; i++) {
  14030. hostSetScopeId(el, slotScopeIds[i]);
  14031. }
  14032. }
  14033. if (parentComponent) {
  14034. let subTree = parentComponent.subTree;
  14035. if (( true) &&
  14036. subTree.patchFlag > 0 &&
  14037. subTree.patchFlag & 2048 /* DEV_ROOT_FRAGMENT */) {
  14038. subTree =
  14039. filterSingleRoot(subTree.children) || subTree;
  14040. }
  14041. if (vnode === subTree) {
  14042. const parentVNode = parentComponent.vnode;
  14043. setScopeId(el, parentVNode, parentVNode.scopeId, parentVNode.slotScopeIds, parentComponent.parent);
  14044. }
  14045. }
  14046. };
  14047. const mountChildren = (children, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, start = 0) => {
  14048. for (let i = start; i < children.length; i++) {
  14049. const child = (children[i] = optimized
  14050. ? cloneIfMounted(children[i])
  14051. : normalizeVNode(children[i]));
  14052. patch(null, child, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  14053. }
  14054. };
  14055. const patchElement = (n1, n2, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {
  14056. const el = (n2.el = n1.el);
  14057. let { patchFlag, dynamicChildren, dirs } = n2;
  14058. // #1426 take the old vnode's patch flag into account since user may clone a
  14059. // compiler-generated vnode, which de-opts to FULL_PROPS
  14060. patchFlag |= n1.patchFlag & 16 /* FULL_PROPS */;
  14061. const oldProps = n1.props || _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ;
  14062. const newProps = n2.props || _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ;
  14063. let vnodeHook;
  14064. // disable recurse in beforeUpdate hooks
  14065. parentComponent && toggleRecurse(parentComponent, false);
  14066. if ((vnodeHook = newProps.onVnodeBeforeUpdate)) {
  14067. invokeVNodeHook(vnodeHook, parentComponent, n2, n1);
  14068. }
  14069. if (dirs) {
  14070. invokeDirectiveHook(n2, n1, parentComponent, 'beforeUpdate');
  14071. }
  14072. parentComponent && toggleRecurse(parentComponent, true);
  14073. if (( true) && isHmrUpdating) {
  14074. // HMR updated, force full diff
  14075. patchFlag = 0;
  14076. optimized = false;
  14077. dynamicChildren = null;
  14078. }
  14079. const areChildrenSVG = isSVG && n2.type !== 'foreignObject';
  14080. if (dynamicChildren) {
  14081. patchBlockChildren(n1.dynamicChildren, dynamicChildren, el, parentComponent, parentSuspense, areChildrenSVG, slotScopeIds);
  14082. if (( true) && parentComponent && parentComponent.type.__hmrId) {
  14083. traverseStaticChildren(n1, n2);
  14084. }
  14085. }
  14086. else if (!optimized) {
  14087. // full diff
  14088. patchChildren(n1, n2, el, null, parentComponent, parentSuspense, areChildrenSVG, slotScopeIds, false);
  14089. }
  14090. if (patchFlag > 0) {
  14091. // the presence of a patchFlag means this element's render code was
  14092. // generated by the compiler and can take the fast path.
  14093. // in this path old node and new node are guaranteed to have the same shape
  14094. // (i.e. at the exact same position in the source template)
  14095. if (patchFlag & 16 /* FULL_PROPS */) {
  14096. // element props contain dynamic keys, full diff needed
  14097. patchProps(el, n2, oldProps, newProps, parentComponent, parentSuspense, isSVG);
  14098. }
  14099. else {
  14100. // class
  14101. // this flag is matched when the element has dynamic class bindings.
  14102. if (patchFlag & 2 /* CLASS */) {
  14103. if (oldProps.class !== newProps.class) {
  14104. hostPatchProp(el, 'class', null, newProps.class, isSVG);
  14105. }
  14106. }
  14107. // style
  14108. // this flag is matched when the element has dynamic style bindings
  14109. if (patchFlag & 4 /* STYLE */) {
  14110. hostPatchProp(el, 'style', oldProps.style, newProps.style, isSVG);
  14111. }
  14112. // props
  14113. // This flag is matched when the element has dynamic prop/attr bindings
  14114. // other than class and style. The keys of dynamic prop/attrs are saved for
  14115. // faster iteration.
  14116. // Note dynamic keys like :[foo]="bar" will cause this optimization to
  14117. // bail out and go through a full diff because we need to unset the old key
  14118. if (patchFlag & 8 /* PROPS */) {
  14119. // if the flag is present then dynamicProps must be non-null
  14120. const propsToUpdate = n2.dynamicProps;
  14121. for (let i = 0; i < propsToUpdate.length; i++) {
  14122. const key = propsToUpdate[i];
  14123. const prev = oldProps[key];
  14124. const next = newProps[key];
  14125. // #1471 force patch value
  14126. if (next !== prev || key === 'value') {
  14127. hostPatchProp(el, key, prev, next, isSVG, n1.children, parentComponent, parentSuspense, unmountChildren);
  14128. }
  14129. }
  14130. }
  14131. }
  14132. // text
  14133. // This flag is matched when the element has only dynamic text children.
  14134. if (patchFlag & 1 /* TEXT */) {
  14135. if (n1.children !== n2.children) {
  14136. hostSetElementText(el, n2.children);
  14137. }
  14138. }
  14139. }
  14140. else if (!optimized && dynamicChildren == null) {
  14141. // unoptimized, full diff
  14142. patchProps(el, n2, oldProps, newProps, parentComponent, parentSuspense, isSVG);
  14143. }
  14144. if ((vnodeHook = newProps.onVnodeUpdated) || dirs) {
  14145. queuePostRenderEffect(() => {
  14146. vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, n2, n1);
  14147. dirs && invokeDirectiveHook(n2, n1, parentComponent, 'updated');
  14148. }, parentSuspense);
  14149. }
  14150. };
  14151. // The fast path for blocks.
  14152. const patchBlockChildren = (oldChildren, newChildren, fallbackContainer, parentComponent, parentSuspense, isSVG, slotScopeIds) => {
  14153. for (let i = 0; i < newChildren.length; i++) {
  14154. const oldVNode = oldChildren[i];
  14155. const newVNode = newChildren[i];
  14156. // Determine the container (parent element) for the patch.
  14157. const container =
  14158. // oldVNode may be an errored async setup() component inside Suspense
  14159. // which will not have a mounted element
  14160. oldVNode.el &&
  14161. // - In the case of a Fragment, we need to provide the actual parent
  14162. // of the Fragment itself so it can move its children.
  14163. (oldVNode.type === Fragment ||
  14164. // - In the case of different nodes, there is going to be a replacement
  14165. // which also requires the correct parent container
  14166. !isSameVNodeType(oldVNode, newVNode) ||
  14167. // - In the case of a component, it could contain anything.
  14168. oldVNode.shapeFlag & (6 /* COMPONENT */ | 64 /* TELEPORT */))
  14169. ? hostParentNode(oldVNode.el)
  14170. : // In other cases, the parent container is not actually used so we
  14171. // just pass the block element here to avoid a DOM parentNode call.
  14172. fallbackContainer;
  14173. patch(oldVNode, newVNode, container, null, parentComponent, parentSuspense, isSVG, slotScopeIds, true);
  14174. }
  14175. };
  14176. const patchProps = (el, vnode, oldProps, newProps, parentComponent, parentSuspense, isSVG) => {
  14177. if (oldProps !== newProps) {
  14178. for (const key in newProps) {
  14179. // empty string is not valid prop
  14180. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isReservedProp)(key))
  14181. continue;
  14182. const next = newProps[key];
  14183. const prev = oldProps[key];
  14184. // defer patching value
  14185. if (next !== prev && key !== 'value') {
  14186. hostPatchProp(el, key, prev, next, isSVG, vnode.children, parentComponent, parentSuspense, unmountChildren);
  14187. }
  14188. }
  14189. if (oldProps !== _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ) {
  14190. for (const key in oldProps) {
  14191. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isReservedProp)(key) && !(key in newProps)) {
  14192. hostPatchProp(el, key, oldProps[key], null, isSVG, vnode.children, parentComponent, parentSuspense, unmountChildren);
  14193. }
  14194. }
  14195. }
  14196. if ('value' in newProps) {
  14197. hostPatchProp(el, 'value', oldProps.value, newProps.value);
  14198. }
  14199. }
  14200. };
  14201. const processFragment = (n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {
  14202. const fragmentStartAnchor = (n2.el = n1 ? n1.el : hostCreateText(''));
  14203. const fragmentEndAnchor = (n2.anchor = n1 ? n1.anchor : hostCreateText(''));
  14204. let { patchFlag, dynamicChildren, slotScopeIds: fragmentSlotScopeIds } = n2;
  14205. if (( true) && isHmrUpdating) {
  14206. // HMR updated, force full diff
  14207. patchFlag = 0;
  14208. optimized = false;
  14209. dynamicChildren = null;
  14210. }
  14211. // check if this is a slot fragment with :slotted scope ids
  14212. if (fragmentSlotScopeIds) {
  14213. slotScopeIds = slotScopeIds
  14214. ? slotScopeIds.concat(fragmentSlotScopeIds)
  14215. : fragmentSlotScopeIds;
  14216. }
  14217. if (n1 == null) {
  14218. hostInsert(fragmentStartAnchor, container, anchor);
  14219. hostInsert(fragmentEndAnchor, container, anchor);
  14220. // a fragment can only have array children
  14221. // since they are either generated by the compiler, or implicitly created
  14222. // from arrays.
  14223. mountChildren(n2.children, container, fragmentEndAnchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  14224. }
  14225. else {
  14226. if (patchFlag > 0 &&
  14227. patchFlag & 64 /* STABLE_FRAGMENT */ &&
  14228. dynamicChildren &&
  14229. // #2715 the previous fragment could've been a BAILed one as a result
  14230. // of renderSlot() with no valid children
  14231. n1.dynamicChildren) {
  14232. // a stable fragment (template root or <template v-for>) doesn't need to
  14233. // patch children order, but it may contain dynamicChildren.
  14234. patchBlockChildren(n1.dynamicChildren, dynamicChildren, container, parentComponent, parentSuspense, isSVG, slotScopeIds);
  14235. if (( true) && parentComponent && parentComponent.type.__hmrId) {
  14236. traverseStaticChildren(n1, n2);
  14237. }
  14238. else if (
  14239. // #2080 if the stable fragment has a key, it's a <template v-for> that may
  14240. // get moved around. Make sure all root level vnodes inherit el.
  14241. // #2134 or if it's a component root, it may also get moved around
  14242. // as the component is being moved.
  14243. n2.key != null ||
  14244. (parentComponent && n2 === parentComponent.subTree)) {
  14245. traverseStaticChildren(n1, n2, true /* shallow */);
  14246. }
  14247. }
  14248. else {
  14249. // keyed / unkeyed, or manual fragments.
  14250. // for keyed & unkeyed, since they are compiler generated from v-for,
  14251. // each child is guaranteed to be a block so the fragment will never
  14252. // have dynamicChildren.
  14253. patchChildren(n1, n2, container, fragmentEndAnchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  14254. }
  14255. }
  14256. };
  14257. const processComponent = (n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {
  14258. n2.slotScopeIds = slotScopeIds;
  14259. if (n1 == null) {
  14260. if (n2.shapeFlag & 512 /* COMPONENT_KEPT_ALIVE */) {
  14261. parentComponent.ctx.activate(n2, container, anchor, isSVG, optimized);
  14262. }
  14263. else {
  14264. mountComponent(n2, container, anchor, parentComponent, parentSuspense, isSVG, optimized);
  14265. }
  14266. }
  14267. else {
  14268. updateComponent(n1, n2, optimized);
  14269. }
  14270. };
  14271. const mountComponent = (initialVNode, container, anchor, parentComponent, parentSuspense, isSVG, optimized) => {
  14272. const instance = (initialVNode.component = createComponentInstance(initialVNode, parentComponent, parentSuspense));
  14273. if (( true) && instance.type.__hmrId) {
  14274. registerHMR(instance);
  14275. }
  14276. if ((true)) {
  14277. pushWarningContext(initialVNode);
  14278. startMeasure(instance, `mount`);
  14279. }
  14280. // inject renderer internals for keepAlive
  14281. if (isKeepAlive(initialVNode)) {
  14282. instance.ctx.renderer = internals;
  14283. }
  14284. // resolve props and slots for setup context
  14285. {
  14286. if ((true)) {
  14287. startMeasure(instance, `init`);
  14288. }
  14289. setupComponent(instance);
  14290. if ((true)) {
  14291. endMeasure(instance, `init`);
  14292. }
  14293. }
  14294. // setup() is async. This component relies on async logic to be resolved
  14295. // before proceeding
  14296. if (instance.asyncDep) {
  14297. parentSuspense && parentSuspense.registerDep(instance, setupRenderEffect);
  14298. // Give it a placeholder if this is not hydration
  14299. // TODO handle self-defined fallback
  14300. if (!initialVNode.el) {
  14301. const placeholder = (instance.subTree = createVNode(Comment));
  14302. processCommentNode(null, placeholder, container, anchor);
  14303. }
  14304. return;
  14305. }
  14306. setupRenderEffect(instance, initialVNode, container, anchor, parentSuspense, isSVG, optimized);
  14307. if ((true)) {
  14308. popWarningContext();
  14309. endMeasure(instance, `mount`);
  14310. }
  14311. };
  14312. const updateComponent = (n1, n2, optimized) => {
  14313. const instance = (n2.component = n1.component);
  14314. if (shouldUpdateComponent(n1, n2, optimized)) {
  14315. if (instance.asyncDep &&
  14316. !instance.asyncResolved) {
  14317. // async & still pending - just update props and slots
  14318. // since the component's reactive effect for render isn't set-up yet
  14319. if ((true)) {
  14320. pushWarningContext(n2);
  14321. }
  14322. updateComponentPreRender(instance, n2, optimized);
  14323. if ((true)) {
  14324. popWarningContext();
  14325. }
  14326. return;
  14327. }
  14328. else {
  14329. // normal update
  14330. instance.next = n2;
  14331. // in case the child component is also queued, remove it to avoid
  14332. // double updating the same child component in the same flush.
  14333. invalidateJob(instance.update);
  14334. // instance.update is the reactive effect.
  14335. instance.update();
  14336. }
  14337. }
  14338. else {
  14339. // no update needed. just copy over properties
  14340. n2.component = n1.component;
  14341. n2.el = n1.el;
  14342. instance.vnode = n2;
  14343. }
  14344. };
  14345. const setupRenderEffect = (instance, initialVNode, container, anchor, parentSuspense, isSVG, optimized) => {
  14346. const componentUpdateFn = () => {
  14347. if (!instance.isMounted) {
  14348. let vnodeHook;
  14349. const { el, props } = initialVNode;
  14350. const { bm, m, parent } = instance;
  14351. const isAsyncWrapperVNode = isAsyncWrapper(initialVNode);
  14352. toggleRecurse(instance, false);
  14353. // beforeMount hook
  14354. if (bm) {
  14355. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.invokeArrayFns)(bm);
  14356. }
  14357. // onVnodeBeforeMount
  14358. if (!isAsyncWrapperVNode &&
  14359. (vnodeHook = props && props.onVnodeBeforeMount)) {
  14360. invokeVNodeHook(vnodeHook, parent, initialVNode);
  14361. }
  14362. toggleRecurse(instance, true);
  14363. if (el && hydrateNode) {
  14364. // vnode has adopted host node - perform hydration instead of mount.
  14365. const hydrateSubTree = () => {
  14366. if ((true)) {
  14367. startMeasure(instance, `render`);
  14368. }
  14369. instance.subTree = renderComponentRoot(instance);
  14370. if ((true)) {
  14371. endMeasure(instance, `render`);
  14372. }
  14373. if ((true)) {
  14374. startMeasure(instance, `hydrate`);
  14375. }
  14376. hydrateNode(el, instance.subTree, instance, parentSuspense, null);
  14377. if ((true)) {
  14378. endMeasure(instance, `hydrate`);
  14379. }
  14380. };
  14381. if (isAsyncWrapperVNode) {
  14382. initialVNode.type.__asyncLoader().then(
  14383. // note: we are moving the render call into an async callback,
  14384. // which means it won't track dependencies - but it's ok because
  14385. // a server-rendered async wrapper is already in resolved state
  14386. // and it will never need to change.
  14387. () => !instance.isUnmounted && hydrateSubTree());
  14388. }
  14389. else {
  14390. hydrateSubTree();
  14391. }
  14392. }
  14393. else {
  14394. if ((true)) {
  14395. startMeasure(instance, `render`);
  14396. }
  14397. const subTree = (instance.subTree = renderComponentRoot(instance));
  14398. if ((true)) {
  14399. endMeasure(instance, `render`);
  14400. }
  14401. if ((true)) {
  14402. startMeasure(instance, `patch`);
  14403. }
  14404. patch(null, subTree, container, anchor, instance, parentSuspense, isSVG);
  14405. if ((true)) {
  14406. endMeasure(instance, `patch`);
  14407. }
  14408. initialVNode.el = subTree.el;
  14409. }
  14410. // mounted hook
  14411. if (m) {
  14412. queuePostRenderEffect(m, parentSuspense);
  14413. }
  14414. // onVnodeMounted
  14415. if (!isAsyncWrapperVNode &&
  14416. (vnodeHook = props && props.onVnodeMounted)) {
  14417. const scopedInitialVNode = initialVNode;
  14418. queuePostRenderEffect(() => invokeVNodeHook(vnodeHook, parent, scopedInitialVNode), parentSuspense);
  14419. }
  14420. // activated hook for keep-alive roots.
  14421. // #1742 activated hook must be accessed after first render
  14422. // since the hook may be injected by a child keep-alive
  14423. if (initialVNode.shapeFlag & 256 /* COMPONENT_SHOULD_KEEP_ALIVE */) {
  14424. instance.a && queuePostRenderEffect(instance.a, parentSuspense);
  14425. }
  14426. instance.isMounted = true;
  14427. if (true) {
  14428. devtoolsComponentAdded(instance);
  14429. }
  14430. // #2458: deference mount-only object parameters to prevent memleaks
  14431. initialVNode = container = anchor = null;
  14432. }
  14433. else {
  14434. // updateComponent
  14435. // This is triggered by mutation of component's own state (next: null)
  14436. // OR parent calling processComponent (next: VNode)
  14437. let { next, bu, u, parent, vnode } = instance;
  14438. let originNext = next;
  14439. let vnodeHook;
  14440. if ((true)) {
  14441. pushWarningContext(next || instance.vnode);
  14442. }
  14443. // Disallow component effect recursion during pre-lifecycle hooks.
  14444. toggleRecurse(instance, false);
  14445. if (next) {
  14446. next.el = vnode.el;
  14447. updateComponentPreRender(instance, next, optimized);
  14448. }
  14449. else {
  14450. next = vnode;
  14451. }
  14452. // beforeUpdate hook
  14453. if (bu) {
  14454. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.invokeArrayFns)(bu);
  14455. }
  14456. // onVnodeBeforeUpdate
  14457. if ((vnodeHook = next.props && next.props.onVnodeBeforeUpdate)) {
  14458. invokeVNodeHook(vnodeHook, parent, next, vnode);
  14459. }
  14460. toggleRecurse(instance, true);
  14461. // render
  14462. if ((true)) {
  14463. startMeasure(instance, `render`);
  14464. }
  14465. const nextTree = renderComponentRoot(instance);
  14466. if ((true)) {
  14467. endMeasure(instance, `render`);
  14468. }
  14469. const prevTree = instance.subTree;
  14470. instance.subTree = nextTree;
  14471. if ((true)) {
  14472. startMeasure(instance, `patch`);
  14473. }
  14474. patch(prevTree, nextTree,
  14475. // parent may have changed if it's in a teleport
  14476. hostParentNode(prevTree.el),
  14477. // anchor may have changed if it's in a fragment
  14478. getNextHostNode(prevTree), instance, parentSuspense, isSVG);
  14479. if ((true)) {
  14480. endMeasure(instance, `patch`);
  14481. }
  14482. next.el = nextTree.el;
  14483. if (originNext === null) {
  14484. // self-triggered update. In case of HOC, update parent component
  14485. // vnode el. HOC is indicated by parent instance's subTree pointing
  14486. // to child component's vnode
  14487. updateHOCHostEl(instance, nextTree.el);
  14488. }
  14489. // updated hook
  14490. if (u) {
  14491. queuePostRenderEffect(u, parentSuspense);
  14492. }
  14493. // onVnodeUpdated
  14494. if ((vnodeHook = next.props && next.props.onVnodeUpdated)) {
  14495. queuePostRenderEffect(() => invokeVNodeHook(vnodeHook, parent, next, vnode), parentSuspense);
  14496. }
  14497. if (true) {
  14498. devtoolsComponentUpdated(instance);
  14499. }
  14500. if ((true)) {
  14501. popWarningContext();
  14502. }
  14503. }
  14504. };
  14505. // create reactive effect for rendering
  14506. const effect = (instance.effect = new _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.ReactiveEffect(componentUpdateFn, () => queueJob(instance.update), instance.scope // track it in component's effect scope
  14507. ));
  14508. const update = (instance.update = effect.run.bind(effect));
  14509. update.id = instance.uid;
  14510. // allowRecurse
  14511. // #1801, #2043 component render effects should allow recursive updates
  14512. toggleRecurse(instance, true);
  14513. if ((true)) {
  14514. effect.onTrack = instance.rtc
  14515. ? e => (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.invokeArrayFns)(instance.rtc, e)
  14516. : void 0;
  14517. effect.onTrigger = instance.rtg
  14518. ? e => (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.invokeArrayFns)(instance.rtg, e)
  14519. : void 0;
  14520. // @ts-ignore (for scheduler)
  14521. update.ownerInstance = instance;
  14522. }
  14523. update();
  14524. };
  14525. const updateComponentPreRender = (instance, nextVNode, optimized) => {
  14526. nextVNode.component = instance;
  14527. const prevProps = instance.vnode.props;
  14528. instance.vnode = nextVNode;
  14529. instance.next = null;
  14530. updateProps(instance, nextVNode.props, prevProps, optimized);
  14531. updateSlots(instance, nextVNode.children, optimized);
  14532. (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.pauseTracking)();
  14533. // props update may have triggered pre-flush watchers.
  14534. // flush them before the render update.
  14535. flushPreFlushCbs(undefined, instance.update);
  14536. (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.resetTracking)();
  14537. };
  14538. const patchChildren = (n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized = false) => {
  14539. const c1 = n1 && n1.children;
  14540. const prevShapeFlag = n1 ? n1.shapeFlag : 0;
  14541. const c2 = n2.children;
  14542. const { patchFlag, shapeFlag } = n2;
  14543. // fast path
  14544. if (patchFlag > 0) {
  14545. if (patchFlag & 128 /* KEYED_FRAGMENT */) {
  14546. // this could be either fully-keyed or mixed (some keyed some not)
  14547. // presence of patchFlag means children are guaranteed to be arrays
  14548. patchKeyedChildren(c1, c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  14549. return;
  14550. }
  14551. else if (patchFlag & 256 /* UNKEYED_FRAGMENT */) {
  14552. // unkeyed
  14553. patchUnkeyedChildren(c1, c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  14554. return;
  14555. }
  14556. }
  14557. // children has 3 possibilities: text, array or no children.
  14558. if (shapeFlag & 8 /* TEXT_CHILDREN */) {
  14559. // text children fast path
  14560. if (prevShapeFlag & 16 /* ARRAY_CHILDREN */) {
  14561. unmountChildren(c1, parentComponent, parentSuspense);
  14562. }
  14563. if (c2 !== c1) {
  14564. hostSetElementText(container, c2);
  14565. }
  14566. }
  14567. else {
  14568. if (prevShapeFlag & 16 /* ARRAY_CHILDREN */) {
  14569. // prev children was array
  14570. if (shapeFlag & 16 /* ARRAY_CHILDREN */) {
  14571. // two arrays, cannot assume anything, do full diff
  14572. patchKeyedChildren(c1, c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  14573. }
  14574. else {
  14575. // no new children, just unmount old
  14576. unmountChildren(c1, parentComponent, parentSuspense, true);
  14577. }
  14578. }
  14579. else {
  14580. // prev children was text OR null
  14581. // new children is array OR null
  14582. if (prevShapeFlag & 8 /* TEXT_CHILDREN */) {
  14583. hostSetElementText(container, '');
  14584. }
  14585. // mount new if array
  14586. if (shapeFlag & 16 /* ARRAY_CHILDREN */) {
  14587. mountChildren(c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  14588. }
  14589. }
  14590. }
  14591. };
  14592. const patchUnkeyedChildren = (c1, c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {
  14593. c1 = c1 || _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_ARR;
  14594. c2 = c2 || _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_ARR;
  14595. const oldLength = c1.length;
  14596. const newLength = c2.length;
  14597. const commonLength = Math.min(oldLength, newLength);
  14598. let i;
  14599. for (i = 0; i < commonLength; i++) {
  14600. const nextChild = (c2[i] = optimized
  14601. ? cloneIfMounted(c2[i])
  14602. : normalizeVNode(c2[i]));
  14603. patch(c1[i], nextChild, container, null, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  14604. }
  14605. if (oldLength > newLength) {
  14606. // remove old
  14607. unmountChildren(c1, parentComponent, parentSuspense, true, false, commonLength);
  14608. }
  14609. else {
  14610. // mount new
  14611. mountChildren(c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, commonLength);
  14612. }
  14613. };
  14614. // can be all-keyed or mixed
  14615. const patchKeyedChildren = (c1, c2, container, parentAnchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {
  14616. let i = 0;
  14617. const l2 = c2.length;
  14618. let e1 = c1.length - 1; // prev ending index
  14619. let e2 = l2 - 1; // next ending index
  14620. // 1. sync from start
  14621. // (a b) c
  14622. // (a b) d e
  14623. while (i <= e1 && i <= e2) {
  14624. const n1 = c1[i];
  14625. const n2 = (c2[i] = optimized
  14626. ? cloneIfMounted(c2[i])
  14627. : normalizeVNode(c2[i]));
  14628. if (isSameVNodeType(n1, n2)) {
  14629. patch(n1, n2, container, null, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  14630. }
  14631. else {
  14632. break;
  14633. }
  14634. i++;
  14635. }
  14636. // 2. sync from end
  14637. // a (b c)
  14638. // d e (b c)
  14639. while (i <= e1 && i <= e2) {
  14640. const n1 = c1[e1];
  14641. const n2 = (c2[e2] = optimized
  14642. ? cloneIfMounted(c2[e2])
  14643. : normalizeVNode(c2[e2]));
  14644. if (isSameVNodeType(n1, n2)) {
  14645. patch(n1, n2, container, null, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  14646. }
  14647. else {
  14648. break;
  14649. }
  14650. e1--;
  14651. e2--;
  14652. }
  14653. // 3. common sequence + mount
  14654. // (a b)
  14655. // (a b) c
  14656. // i = 2, e1 = 1, e2 = 2
  14657. // (a b)
  14658. // c (a b)
  14659. // i = 0, e1 = -1, e2 = 0
  14660. if (i > e1) {
  14661. if (i <= e2) {
  14662. const nextPos = e2 + 1;
  14663. const anchor = nextPos < l2 ? c2[nextPos].el : parentAnchor;
  14664. while (i <= e2) {
  14665. patch(null, (c2[i] = optimized
  14666. ? cloneIfMounted(c2[i])
  14667. : normalizeVNode(c2[i])), container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  14668. i++;
  14669. }
  14670. }
  14671. }
  14672. // 4. common sequence + unmount
  14673. // (a b) c
  14674. // (a b)
  14675. // i = 2, e1 = 2, e2 = 1
  14676. // a (b c)
  14677. // (b c)
  14678. // i = 0, e1 = 0, e2 = -1
  14679. else if (i > e2) {
  14680. while (i <= e1) {
  14681. unmount(c1[i], parentComponent, parentSuspense, true);
  14682. i++;
  14683. }
  14684. }
  14685. // 5. unknown sequence
  14686. // [i ... e1 + 1]: a b [c d e] f g
  14687. // [i ... e2 + 1]: a b [e d c h] f g
  14688. // i = 2, e1 = 4, e2 = 5
  14689. else {
  14690. const s1 = i; // prev starting index
  14691. const s2 = i; // next starting index
  14692. // 5.1 build key:index map for newChildren
  14693. const keyToNewIndexMap = new Map();
  14694. for (i = s2; i <= e2; i++) {
  14695. const nextChild = (c2[i] = optimized
  14696. ? cloneIfMounted(c2[i])
  14697. : normalizeVNode(c2[i]));
  14698. if (nextChild.key != null) {
  14699. if (( true) && keyToNewIndexMap.has(nextChild.key)) {
  14700. warn(`Duplicate keys found during update:`, JSON.stringify(nextChild.key), `Make sure keys are unique.`);
  14701. }
  14702. keyToNewIndexMap.set(nextChild.key, i);
  14703. }
  14704. }
  14705. // 5.2 loop through old children left to be patched and try to patch
  14706. // matching nodes & remove nodes that are no longer present
  14707. let j;
  14708. let patched = 0;
  14709. const toBePatched = e2 - s2 + 1;
  14710. let moved = false;
  14711. // used to track whether any node has moved
  14712. let maxNewIndexSoFar = 0;
  14713. // works as Map<newIndex, oldIndex>
  14714. // Note that oldIndex is offset by +1
  14715. // and oldIndex = 0 is a special value indicating the new node has
  14716. // no corresponding old node.
  14717. // used for determining longest stable subsequence
  14718. const newIndexToOldIndexMap = new Array(toBePatched);
  14719. for (i = 0; i < toBePatched; i++)
  14720. newIndexToOldIndexMap[i] = 0;
  14721. for (i = s1; i <= e1; i++) {
  14722. const prevChild = c1[i];
  14723. if (patched >= toBePatched) {
  14724. // all new children have been patched so this can only be a removal
  14725. unmount(prevChild, parentComponent, parentSuspense, true);
  14726. continue;
  14727. }
  14728. let newIndex;
  14729. if (prevChild.key != null) {
  14730. newIndex = keyToNewIndexMap.get(prevChild.key);
  14731. }
  14732. else {
  14733. // key-less node, try to locate a key-less node of the same type
  14734. for (j = s2; j <= e2; j++) {
  14735. if (newIndexToOldIndexMap[j - s2] === 0 &&
  14736. isSameVNodeType(prevChild, c2[j])) {
  14737. newIndex = j;
  14738. break;
  14739. }
  14740. }
  14741. }
  14742. if (newIndex === undefined) {
  14743. unmount(prevChild, parentComponent, parentSuspense, true);
  14744. }
  14745. else {
  14746. newIndexToOldIndexMap[newIndex - s2] = i + 1;
  14747. if (newIndex >= maxNewIndexSoFar) {
  14748. maxNewIndexSoFar = newIndex;
  14749. }
  14750. else {
  14751. moved = true;
  14752. }
  14753. patch(prevChild, c2[newIndex], container, null, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  14754. patched++;
  14755. }
  14756. }
  14757. // 5.3 move and mount
  14758. // generate longest stable subsequence only when nodes have moved
  14759. const increasingNewIndexSequence = moved
  14760. ? getSequence(newIndexToOldIndexMap)
  14761. : _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_ARR;
  14762. j = increasingNewIndexSequence.length - 1;
  14763. // looping backwards so that we can use last patched node as anchor
  14764. for (i = toBePatched - 1; i >= 0; i--) {
  14765. const nextIndex = s2 + i;
  14766. const nextChild = c2[nextIndex];
  14767. const anchor = nextIndex + 1 < l2 ? c2[nextIndex + 1].el : parentAnchor;
  14768. if (newIndexToOldIndexMap[i] === 0) {
  14769. // mount new
  14770. patch(null, nextChild, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  14771. }
  14772. else if (moved) {
  14773. // move if:
  14774. // There is no stable subsequence (e.g. a reverse)
  14775. // OR current node is not among the stable sequence
  14776. if (j < 0 || i !== increasingNewIndexSequence[j]) {
  14777. move(nextChild, container, anchor, 2 /* REORDER */);
  14778. }
  14779. else {
  14780. j--;
  14781. }
  14782. }
  14783. }
  14784. }
  14785. };
  14786. const move = (vnode, container, anchor, moveType, parentSuspense = null) => {
  14787. const { el, type, transition, children, shapeFlag } = vnode;
  14788. if (shapeFlag & 6 /* COMPONENT */) {
  14789. move(vnode.component.subTree, container, anchor, moveType);
  14790. return;
  14791. }
  14792. if (shapeFlag & 128 /* SUSPENSE */) {
  14793. vnode.suspense.move(container, anchor, moveType);
  14794. return;
  14795. }
  14796. if (shapeFlag & 64 /* TELEPORT */) {
  14797. type.move(vnode, container, anchor, internals);
  14798. return;
  14799. }
  14800. if (type === Fragment) {
  14801. hostInsert(el, container, anchor);
  14802. for (let i = 0; i < children.length; i++) {
  14803. move(children[i], container, anchor, moveType);
  14804. }
  14805. hostInsert(vnode.anchor, container, anchor);
  14806. return;
  14807. }
  14808. if (type === Static) {
  14809. moveStaticNode(vnode, container, anchor);
  14810. return;
  14811. }
  14812. // single nodes
  14813. const needTransition = moveType !== 2 /* REORDER */ &&
  14814. shapeFlag & 1 /* ELEMENT */ &&
  14815. transition;
  14816. if (needTransition) {
  14817. if (moveType === 0 /* ENTER */) {
  14818. transition.beforeEnter(el);
  14819. hostInsert(el, container, anchor);
  14820. queuePostRenderEffect(() => transition.enter(el), parentSuspense);
  14821. }
  14822. else {
  14823. const { leave, delayLeave, afterLeave } = transition;
  14824. const remove = () => hostInsert(el, container, anchor);
  14825. const performLeave = () => {
  14826. leave(el, () => {
  14827. remove();
  14828. afterLeave && afterLeave();
  14829. });
  14830. };
  14831. if (delayLeave) {
  14832. delayLeave(el, remove, performLeave);
  14833. }
  14834. else {
  14835. performLeave();
  14836. }
  14837. }
  14838. }
  14839. else {
  14840. hostInsert(el, container, anchor);
  14841. }
  14842. };
  14843. const unmount = (vnode, parentComponent, parentSuspense, doRemove = false, optimized = false) => {
  14844. const { type, props, ref, children, dynamicChildren, shapeFlag, patchFlag, dirs } = vnode;
  14845. // unset ref
  14846. if (ref != null) {
  14847. setRef(ref, null, parentSuspense, vnode, true);
  14848. }
  14849. if (shapeFlag & 256 /* COMPONENT_SHOULD_KEEP_ALIVE */) {
  14850. parentComponent.ctx.deactivate(vnode);
  14851. return;
  14852. }
  14853. const shouldInvokeDirs = shapeFlag & 1 /* ELEMENT */ && dirs;
  14854. const shouldInvokeVnodeHook = !isAsyncWrapper(vnode);
  14855. let vnodeHook;
  14856. if (shouldInvokeVnodeHook &&
  14857. (vnodeHook = props && props.onVnodeBeforeUnmount)) {
  14858. invokeVNodeHook(vnodeHook, parentComponent, vnode);
  14859. }
  14860. if (shapeFlag & 6 /* COMPONENT */) {
  14861. unmountComponent(vnode.component, parentSuspense, doRemove);
  14862. }
  14863. else {
  14864. if (shapeFlag & 128 /* SUSPENSE */) {
  14865. vnode.suspense.unmount(parentSuspense, doRemove);
  14866. return;
  14867. }
  14868. if (shouldInvokeDirs) {
  14869. invokeDirectiveHook(vnode, null, parentComponent, 'beforeUnmount');
  14870. }
  14871. if (shapeFlag & 64 /* TELEPORT */) {
  14872. vnode.type.remove(vnode, parentComponent, parentSuspense, optimized, internals, doRemove);
  14873. }
  14874. else if (dynamicChildren &&
  14875. // #1153: fast path should not be taken for non-stable (v-for) fragments
  14876. (type !== Fragment ||
  14877. (patchFlag > 0 && patchFlag & 64 /* STABLE_FRAGMENT */))) {
  14878. // fast path for block nodes: only need to unmount dynamic children.
  14879. unmountChildren(dynamicChildren, parentComponent, parentSuspense, false, true);
  14880. }
  14881. else if ((type === Fragment &&
  14882. patchFlag &
  14883. (128 /* KEYED_FRAGMENT */ | 256 /* UNKEYED_FRAGMENT */)) ||
  14884. (!optimized && shapeFlag & 16 /* ARRAY_CHILDREN */)) {
  14885. unmountChildren(children, parentComponent, parentSuspense);
  14886. }
  14887. if (doRemove) {
  14888. remove(vnode);
  14889. }
  14890. }
  14891. if ((shouldInvokeVnodeHook &&
  14892. (vnodeHook = props && props.onVnodeUnmounted)) ||
  14893. shouldInvokeDirs) {
  14894. queuePostRenderEffect(() => {
  14895. vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, vnode);
  14896. shouldInvokeDirs &&
  14897. invokeDirectiveHook(vnode, null, parentComponent, 'unmounted');
  14898. }, parentSuspense);
  14899. }
  14900. };
  14901. const remove = vnode => {
  14902. const { type, el, anchor, transition } = vnode;
  14903. if (type === Fragment) {
  14904. removeFragment(el, anchor);
  14905. return;
  14906. }
  14907. if (type === Static) {
  14908. removeStaticNode(vnode);
  14909. return;
  14910. }
  14911. const performRemove = () => {
  14912. hostRemove(el);
  14913. if (transition && !transition.persisted && transition.afterLeave) {
  14914. transition.afterLeave();
  14915. }
  14916. };
  14917. if (vnode.shapeFlag & 1 /* ELEMENT */ &&
  14918. transition &&
  14919. !transition.persisted) {
  14920. const { leave, delayLeave } = transition;
  14921. const performLeave = () => leave(el, performRemove);
  14922. if (delayLeave) {
  14923. delayLeave(vnode.el, performRemove, performLeave);
  14924. }
  14925. else {
  14926. performLeave();
  14927. }
  14928. }
  14929. else {
  14930. performRemove();
  14931. }
  14932. };
  14933. const removeFragment = (cur, end) => {
  14934. // For fragments, directly remove all contained DOM nodes.
  14935. // (fragment child nodes cannot have transition)
  14936. let next;
  14937. while (cur !== end) {
  14938. next = hostNextSibling(cur);
  14939. hostRemove(cur);
  14940. cur = next;
  14941. }
  14942. hostRemove(end);
  14943. };
  14944. const unmountComponent = (instance, parentSuspense, doRemove) => {
  14945. if (( true) && instance.type.__hmrId) {
  14946. unregisterHMR(instance);
  14947. }
  14948. const { bum, scope, update, subTree, um } = instance;
  14949. // beforeUnmount hook
  14950. if (bum) {
  14951. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.invokeArrayFns)(bum);
  14952. }
  14953. // stop effects in component scope
  14954. scope.stop();
  14955. // update may be null if a component is unmounted before its async
  14956. // setup has resolved.
  14957. if (update) {
  14958. // so that scheduler will no longer invoke it
  14959. update.active = false;
  14960. unmount(subTree, instance, parentSuspense, doRemove);
  14961. }
  14962. // unmounted hook
  14963. if (um) {
  14964. queuePostRenderEffect(um, parentSuspense);
  14965. }
  14966. queuePostRenderEffect(() => {
  14967. instance.isUnmounted = true;
  14968. }, parentSuspense);
  14969. // A component with async dep inside a pending suspense is unmounted before
  14970. // its async dep resolves. This should remove the dep from the suspense, and
  14971. // cause the suspense to resolve immediately if that was the last dep.
  14972. if (parentSuspense &&
  14973. parentSuspense.pendingBranch &&
  14974. !parentSuspense.isUnmounted &&
  14975. instance.asyncDep &&
  14976. !instance.asyncResolved &&
  14977. instance.suspenseId === parentSuspense.pendingId) {
  14978. parentSuspense.deps--;
  14979. if (parentSuspense.deps === 0) {
  14980. parentSuspense.resolve();
  14981. }
  14982. }
  14983. if (true) {
  14984. devtoolsComponentRemoved(instance);
  14985. }
  14986. };
  14987. const unmountChildren = (children, parentComponent, parentSuspense, doRemove = false, optimized = false, start = 0) => {
  14988. for (let i = start; i < children.length; i++) {
  14989. unmount(children[i], parentComponent, parentSuspense, doRemove, optimized);
  14990. }
  14991. };
  14992. const getNextHostNode = vnode => {
  14993. if (vnode.shapeFlag & 6 /* COMPONENT */) {
  14994. return getNextHostNode(vnode.component.subTree);
  14995. }
  14996. if (vnode.shapeFlag & 128 /* SUSPENSE */) {
  14997. return vnode.suspense.next();
  14998. }
  14999. return hostNextSibling((vnode.anchor || vnode.el));
  15000. };
  15001. const render = (vnode, container, isSVG) => {
  15002. if (vnode == null) {
  15003. if (container._vnode) {
  15004. unmount(container._vnode, null, null, true);
  15005. }
  15006. }
  15007. else {
  15008. patch(container._vnode || null, vnode, container, null, null, null, isSVG);
  15009. }
  15010. flushPostFlushCbs();
  15011. container._vnode = vnode;
  15012. };
  15013. const internals = {
  15014. p: patch,
  15015. um: unmount,
  15016. m: move,
  15017. r: remove,
  15018. mt: mountComponent,
  15019. mc: mountChildren,
  15020. pc: patchChildren,
  15021. pbc: patchBlockChildren,
  15022. n: getNextHostNode,
  15023. o: options
  15024. };
  15025. let hydrate;
  15026. let hydrateNode;
  15027. if (createHydrationFns) {
  15028. [hydrate, hydrateNode] = createHydrationFns(internals);
  15029. }
  15030. return {
  15031. render,
  15032. hydrate,
  15033. createApp: createAppAPI(render, hydrate)
  15034. };
  15035. }
  15036. function toggleRecurse({ effect, update }, allowed) {
  15037. effect.allowRecurse = update.allowRecurse = allowed;
  15038. }
  15039. /**
  15040. * #1156
  15041. * When a component is HMR-enabled, we need to make sure that all static nodes
  15042. * inside a block also inherit the DOM element from the previous tree so that
  15043. * HMR updates (which are full updates) can retrieve the element for patching.
  15044. *
  15045. * #2080
  15046. * Inside keyed `template` fragment static children, if a fragment is moved,
  15047. * the children will always be moved. Therefore, in order to ensure correct move
  15048. * position, el should be inherited from previous nodes.
  15049. */
  15050. function traverseStaticChildren(n1, n2, shallow = false) {
  15051. const ch1 = n1.children;
  15052. const ch2 = n2.children;
  15053. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(ch1) && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(ch2)) {
  15054. for (let i = 0; i < ch1.length; i++) {
  15055. // this is only called in the optimized path so array children are
  15056. // guaranteed to be vnodes
  15057. const c1 = ch1[i];
  15058. let c2 = ch2[i];
  15059. if (c2.shapeFlag & 1 /* ELEMENT */ && !c2.dynamicChildren) {
  15060. if (c2.patchFlag <= 0 || c2.patchFlag === 32 /* HYDRATE_EVENTS */) {
  15061. c2 = ch2[i] = cloneIfMounted(ch2[i]);
  15062. c2.el = c1.el;
  15063. }
  15064. if (!shallow)
  15065. traverseStaticChildren(c1, c2);
  15066. }
  15067. // also inherit for comment nodes, but not placeholders (e.g. v-if which
  15068. // would have received .el during block patch)
  15069. if (( true) && c2.type === Comment && !c2.el) {
  15070. c2.el = c1.el;
  15071. }
  15072. }
  15073. }
  15074. }
  15075. // https://en.wikipedia.org/wiki/Longest_increasing_subsequence
  15076. function getSequence(arr) {
  15077. const p = arr.slice();
  15078. const result = [0];
  15079. let i, j, u, v, c;
  15080. const len = arr.length;
  15081. for (i = 0; i < len; i++) {
  15082. const arrI = arr[i];
  15083. if (arrI !== 0) {
  15084. j = result[result.length - 1];
  15085. if (arr[j] < arrI) {
  15086. p[i] = j;
  15087. result.push(i);
  15088. continue;
  15089. }
  15090. u = 0;
  15091. v = result.length - 1;
  15092. while (u < v) {
  15093. c = (u + v) >> 1;
  15094. if (arr[result[c]] < arrI) {
  15095. u = c + 1;
  15096. }
  15097. else {
  15098. v = c;
  15099. }
  15100. }
  15101. if (arrI < arr[result[u]]) {
  15102. if (u > 0) {
  15103. p[i] = result[u - 1];
  15104. }
  15105. result[u] = i;
  15106. }
  15107. }
  15108. }
  15109. u = result.length;
  15110. v = result[u - 1];
  15111. while (u-- > 0) {
  15112. result[u] = v;
  15113. v = p[v];
  15114. }
  15115. return result;
  15116. }
  15117. const isTeleport = (type) => type.__isTeleport;
  15118. const isTeleportDisabled = (props) => props && (props.disabled || props.disabled === '');
  15119. const isTargetSVG = (target) => typeof SVGElement !== 'undefined' && target instanceof SVGElement;
  15120. const resolveTarget = (props, select) => {
  15121. const targetSelector = props && props.to;
  15122. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(targetSelector)) {
  15123. if (!select) {
  15124. ( true) &&
  15125. warn(`Current renderer does not support string target for Teleports. ` +
  15126. `(missing querySelector renderer option)`);
  15127. return null;
  15128. }
  15129. else {
  15130. const target = select(targetSelector);
  15131. if (!target) {
  15132. ( true) &&
  15133. warn(`Failed to locate Teleport target with selector "${targetSelector}". ` +
  15134. `Note the target element must exist before the component is mounted - ` +
  15135. `i.e. the target cannot be rendered by the component itself, and ` +
  15136. `ideally should be outside of the entire Vue component tree.`);
  15137. }
  15138. return target;
  15139. }
  15140. }
  15141. else {
  15142. if (( true) && !targetSelector && !isTeleportDisabled(props)) {
  15143. warn(`Invalid Teleport target: ${targetSelector}`);
  15144. }
  15145. return targetSelector;
  15146. }
  15147. };
  15148. const TeleportImpl = {
  15149. __isTeleport: true,
  15150. process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, internals) {
  15151. const { mc: mountChildren, pc: patchChildren, pbc: patchBlockChildren, o: { insert, querySelector, createText, createComment } } = internals;
  15152. const disabled = isTeleportDisabled(n2.props);
  15153. let { shapeFlag, children, dynamicChildren } = n2;
  15154. // #3302
  15155. // HMR updated, force full diff
  15156. if (( true) && isHmrUpdating) {
  15157. optimized = false;
  15158. dynamicChildren = null;
  15159. }
  15160. if (n1 == null) {
  15161. // insert anchors in the main view
  15162. const placeholder = (n2.el = ( true)
  15163. ? createComment('teleport start')
  15164. : 0);
  15165. const mainAnchor = (n2.anchor = ( true)
  15166. ? createComment('teleport end')
  15167. : 0);
  15168. insert(placeholder, container, anchor);
  15169. insert(mainAnchor, container, anchor);
  15170. const target = (n2.target = resolveTarget(n2.props, querySelector));
  15171. const targetAnchor = (n2.targetAnchor = createText(''));
  15172. if (target) {
  15173. insert(targetAnchor, target);
  15174. // #2652 we could be teleporting from a non-SVG tree into an SVG tree
  15175. isSVG = isSVG || isTargetSVG(target);
  15176. }
  15177. else if (( true) && !disabled) {
  15178. warn('Invalid Teleport target on mount:', target, `(${typeof target})`);
  15179. }
  15180. const mount = (container, anchor) => {
  15181. // Teleport *always* has Array children. This is enforced in both the
  15182. // compiler and vnode children normalization.
  15183. if (shapeFlag & 16 /* ARRAY_CHILDREN */) {
  15184. mountChildren(children, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  15185. }
  15186. };
  15187. if (disabled) {
  15188. mount(container, mainAnchor);
  15189. }
  15190. else if (target) {
  15191. mount(target, targetAnchor);
  15192. }
  15193. }
  15194. else {
  15195. // update content
  15196. n2.el = n1.el;
  15197. const mainAnchor = (n2.anchor = n1.anchor);
  15198. const target = (n2.target = n1.target);
  15199. const targetAnchor = (n2.targetAnchor = n1.targetAnchor);
  15200. const wasDisabled = isTeleportDisabled(n1.props);
  15201. const currentContainer = wasDisabled ? container : target;
  15202. const currentAnchor = wasDisabled ? mainAnchor : targetAnchor;
  15203. isSVG = isSVG || isTargetSVG(target);
  15204. if (dynamicChildren) {
  15205. // fast path when the teleport happens to be a block root
  15206. patchBlockChildren(n1.dynamicChildren, dynamicChildren, currentContainer, parentComponent, parentSuspense, isSVG, slotScopeIds);
  15207. // even in block tree mode we need to make sure all root-level nodes
  15208. // in the teleport inherit previous DOM references so that they can
  15209. // be moved in future patches.
  15210. traverseStaticChildren(n1, n2, true);
  15211. }
  15212. else if (!optimized) {
  15213. patchChildren(n1, n2, currentContainer, currentAnchor, parentComponent, parentSuspense, isSVG, slotScopeIds, false);
  15214. }
  15215. if (disabled) {
  15216. if (!wasDisabled) {
  15217. // enabled -> disabled
  15218. // move into main container
  15219. moveTeleport(n2, container, mainAnchor, internals, 1 /* TOGGLE */);
  15220. }
  15221. }
  15222. else {
  15223. // target changed
  15224. if ((n2.props && n2.props.to) !== (n1.props && n1.props.to)) {
  15225. const nextTarget = (n2.target = resolveTarget(n2.props, querySelector));
  15226. if (nextTarget) {
  15227. moveTeleport(n2, nextTarget, null, internals, 0 /* TARGET_CHANGE */);
  15228. }
  15229. else if ((true)) {
  15230. warn('Invalid Teleport target on update:', target, `(${typeof target})`);
  15231. }
  15232. }
  15233. else if (wasDisabled) {
  15234. // disabled -> enabled
  15235. // move into teleport target
  15236. moveTeleport(n2, target, targetAnchor, internals, 1 /* TOGGLE */);
  15237. }
  15238. }
  15239. }
  15240. },
  15241. remove(vnode, parentComponent, parentSuspense, optimized, { um: unmount, o: { remove: hostRemove } }, doRemove) {
  15242. const { shapeFlag, children, anchor, targetAnchor, target, props } = vnode;
  15243. if (target) {
  15244. hostRemove(targetAnchor);
  15245. }
  15246. // an unmounted teleport should always remove its children if not disabled
  15247. if (doRemove || !isTeleportDisabled(props)) {
  15248. hostRemove(anchor);
  15249. if (shapeFlag & 16 /* ARRAY_CHILDREN */) {
  15250. for (let i = 0; i < children.length; i++) {
  15251. const child = children[i];
  15252. unmount(child, parentComponent, parentSuspense, true, !!child.dynamicChildren);
  15253. }
  15254. }
  15255. }
  15256. },
  15257. move: moveTeleport,
  15258. hydrate: hydrateTeleport
  15259. };
  15260. function moveTeleport(vnode, container, parentAnchor, { o: { insert }, m: move }, moveType = 2 /* REORDER */) {
  15261. // move target anchor if this is a target change.
  15262. if (moveType === 0 /* TARGET_CHANGE */) {
  15263. insert(vnode.targetAnchor, container, parentAnchor);
  15264. }
  15265. const { el, anchor, shapeFlag, children, props } = vnode;
  15266. const isReorder = moveType === 2 /* REORDER */;
  15267. // move main view anchor if this is a re-order.
  15268. if (isReorder) {
  15269. insert(el, container, parentAnchor);
  15270. }
  15271. // if this is a re-order and teleport is enabled (content is in target)
  15272. // do not move children. So the opposite is: only move children if this
  15273. // is not a reorder, or the teleport is disabled
  15274. if (!isReorder || isTeleportDisabled(props)) {
  15275. // Teleport has either Array children or no children.
  15276. if (shapeFlag & 16 /* ARRAY_CHILDREN */) {
  15277. for (let i = 0; i < children.length; i++) {
  15278. move(children[i], container, parentAnchor, 2 /* REORDER */);
  15279. }
  15280. }
  15281. }
  15282. // move main view anchor if this is a re-order.
  15283. if (isReorder) {
  15284. insert(anchor, container, parentAnchor);
  15285. }
  15286. }
  15287. function hydrateTeleport(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized, { o: { nextSibling, parentNode, querySelector } }, hydrateChildren) {
  15288. const target = (vnode.target = resolveTarget(vnode.props, querySelector));
  15289. if (target) {
  15290. // if multiple teleports rendered to the same target element, we need to
  15291. // pick up from where the last teleport finished instead of the first node
  15292. const targetNode = target._lpa || target.firstChild;
  15293. if (vnode.shapeFlag & 16 /* ARRAY_CHILDREN */) {
  15294. if (isTeleportDisabled(vnode.props)) {
  15295. vnode.anchor = hydrateChildren(nextSibling(node), vnode, parentNode(node), parentComponent, parentSuspense, slotScopeIds, optimized);
  15296. vnode.targetAnchor = targetNode;
  15297. }
  15298. else {
  15299. vnode.anchor = nextSibling(node);
  15300. vnode.targetAnchor = hydrateChildren(targetNode, vnode, target, parentComponent, parentSuspense, slotScopeIds, optimized);
  15301. }
  15302. target._lpa =
  15303. vnode.targetAnchor && nextSibling(vnode.targetAnchor);
  15304. }
  15305. }
  15306. return vnode.anchor && nextSibling(vnode.anchor);
  15307. }
  15308. // Force-casted public typing for h and TSX props inference
  15309. const Teleport = TeleportImpl;
  15310. const COMPONENTS = 'components';
  15311. const DIRECTIVES = 'directives';
  15312. /**
  15313. * @private
  15314. */
  15315. function resolveComponent(name, maybeSelfReference) {
  15316. return resolveAsset(COMPONENTS, name, true, maybeSelfReference) || name;
  15317. }
  15318. const NULL_DYNAMIC_COMPONENT = Symbol();
  15319. /**
  15320. * @private
  15321. */
  15322. function resolveDynamicComponent(component) {
  15323. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(component)) {
  15324. return resolveAsset(COMPONENTS, component, false) || component;
  15325. }
  15326. else {
  15327. // invalid types will fallthrough to createVNode and raise warning
  15328. return (component || NULL_DYNAMIC_COMPONENT);
  15329. }
  15330. }
  15331. /**
  15332. * @private
  15333. */
  15334. function resolveDirective(name) {
  15335. return resolveAsset(DIRECTIVES, name);
  15336. }
  15337. // implementation
  15338. function resolveAsset(type, name, warnMissing = true, maybeSelfReference = false) {
  15339. const instance = currentRenderingInstance || currentInstance;
  15340. if (instance) {
  15341. const Component = instance.type;
  15342. // explicit self name has highest priority
  15343. if (type === COMPONENTS) {
  15344. const selfName = getComponentName(Component);
  15345. if (selfName &&
  15346. (selfName === name ||
  15347. selfName === (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.camelize)(name) ||
  15348. selfName === (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.capitalize)((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.camelize)(name)))) {
  15349. return Component;
  15350. }
  15351. }
  15352. const res =
  15353. // local registration
  15354. // check instance[type] first which is resolved for options API
  15355. resolve(instance[type] || Component[type], name) ||
  15356. // global registration
  15357. resolve(instance.appContext[type], name);
  15358. if (!res && maybeSelfReference) {
  15359. // fallback to implicit self-reference
  15360. return Component;
  15361. }
  15362. if (( true) && warnMissing && !res) {
  15363. const extra = type === COMPONENTS
  15364. ? `\nIf this is a native custom element, make sure to exclude it from ` +
  15365. `component resolution via compilerOptions.isCustomElement.`
  15366. : ``;
  15367. warn(`Failed to resolve ${type.slice(0, -1)}: ${name}${extra}`);
  15368. }
  15369. return res;
  15370. }
  15371. else if ((true)) {
  15372. warn(`resolve${(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.capitalize)(type.slice(0, -1))} ` +
  15373. `can only be used in render() or setup().`);
  15374. }
  15375. }
  15376. function resolve(registry, name) {
  15377. return (registry &&
  15378. (registry[name] ||
  15379. registry[(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.camelize)(name)] ||
  15380. registry[(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.capitalize)((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.camelize)(name))]));
  15381. }
  15382. const Fragment = Symbol(( true) ? 'Fragment' : 0);
  15383. const Text = Symbol(( true) ? 'Text' : 0);
  15384. const Comment = Symbol(( true) ? 'Comment' : 0);
  15385. const Static = Symbol(( true) ? 'Static' : 0);
  15386. // Since v-if and v-for are the two possible ways node structure can dynamically
  15387. // change, once we consider v-if branches and each v-for fragment a block, we
  15388. // can divide a template into nested blocks, and within each block the node
  15389. // structure would be stable. This allows us to skip most children diffing
  15390. // and only worry about the dynamic nodes (indicated by patch flags).
  15391. const blockStack = [];
  15392. let currentBlock = null;
  15393. /**
  15394. * Open a block.
  15395. * This must be called before `createBlock`. It cannot be part of `createBlock`
  15396. * because the children of the block are evaluated before `createBlock` itself
  15397. * is called. The generated code typically looks like this:
  15398. *
  15399. * ```js
  15400. * function render() {
  15401. * return (openBlock(),createBlock('div', null, [...]))
  15402. * }
  15403. * ```
  15404. * disableTracking is true when creating a v-for fragment block, since a v-for
  15405. * fragment always diffs its children.
  15406. *
  15407. * @private
  15408. */
  15409. function openBlock(disableTracking = false) {
  15410. blockStack.push((currentBlock = disableTracking ? null : []));
  15411. }
  15412. function closeBlock() {
  15413. blockStack.pop();
  15414. currentBlock = blockStack[blockStack.length - 1] || null;
  15415. }
  15416. // Whether we should be tracking dynamic child nodes inside a block.
  15417. // Only tracks when this value is > 0
  15418. // We are not using a simple boolean because this value may need to be
  15419. // incremented/decremented by nested usage of v-once (see below)
  15420. let isBlockTreeEnabled = 1;
  15421. /**
  15422. * Block tracking sometimes needs to be disabled, for example during the
  15423. * creation of a tree that needs to be cached by v-once. The compiler generates
  15424. * code like this:
  15425. *
  15426. * ``` js
  15427. * _cache[1] || (
  15428. * setBlockTracking(-1),
  15429. * _cache[1] = createVNode(...),
  15430. * setBlockTracking(1),
  15431. * _cache[1]
  15432. * )
  15433. * ```
  15434. *
  15435. * @private
  15436. */
  15437. function setBlockTracking(value) {
  15438. isBlockTreeEnabled += value;
  15439. }
  15440. function setupBlock(vnode) {
  15441. // save current block children on the block vnode
  15442. vnode.dynamicChildren =
  15443. isBlockTreeEnabled > 0 ? currentBlock || _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_ARR : null;
  15444. // close block
  15445. closeBlock();
  15446. // a block is always going to be patched, so track it as a child of its
  15447. // parent block
  15448. if (isBlockTreeEnabled > 0 && currentBlock) {
  15449. currentBlock.push(vnode);
  15450. }
  15451. return vnode;
  15452. }
  15453. /**
  15454. * @private
  15455. */
  15456. function createElementBlock(type, props, children, patchFlag, dynamicProps, shapeFlag) {
  15457. return setupBlock(createBaseVNode(type, props, children, patchFlag, dynamicProps, shapeFlag, true /* isBlock */));
  15458. }
  15459. /**
  15460. * Create a block root vnode. Takes the same exact arguments as `createVNode`.
  15461. * A block root keeps track of dynamic nodes within the block in the
  15462. * `dynamicChildren` array.
  15463. *
  15464. * @private
  15465. */
  15466. function createBlock(type, props, children, patchFlag, dynamicProps) {
  15467. return setupBlock(createVNode(type, props, children, patchFlag, dynamicProps, true /* isBlock: prevent a block from tracking itself */));
  15468. }
  15469. function isVNode(value) {
  15470. return value ? value.__v_isVNode === true : false;
  15471. }
  15472. function isSameVNodeType(n1, n2) {
  15473. if (( true) &&
  15474. n2.shapeFlag & 6 /* COMPONENT */ &&
  15475. hmrDirtyComponents.has(n2.type)) {
  15476. // HMR only: if the component has been hot-updated, force a reload.
  15477. return false;
  15478. }
  15479. return n1.type === n2.type && n1.key === n2.key;
  15480. }
  15481. let vnodeArgsTransformer;
  15482. /**
  15483. * Internal API for registering an arguments transform for createVNode
  15484. * used for creating stubs in the test-utils
  15485. * It is *internal* but needs to be exposed for test-utils to pick up proper
  15486. * typings
  15487. */
  15488. function transformVNodeArgs(transformer) {
  15489. vnodeArgsTransformer = transformer;
  15490. }
  15491. const createVNodeWithArgsTransform = (...args) => {
  15492. return _createVNode(...(vnodeArgsTransformer
  15493. ? vnodeArgsTransformer(args, currentRenderingInstance)
  15494. : args));
  15495. };
  15496. const InternalObjectKey = `__vInternal`;
  15497. const normalizeKey = ({ key }) => key != null ? key : null;
  15498. const normalizeRef = ({ ref, ref_key, ref_for }) => {
  15499. return (ref != null
  15500. ? (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(ref) || (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isRef)(ref) || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(ref)
  15501. ? { i: currentRenderingInstance, r: ref, k: ref_key, f: !!ref_for }
  15502. : ref
  15503. : null);
  15504. };
  15505. function createBaseVNode(type, props = null, children = null, patchFlag = 0, dynamicProps = null, shapeFlag = type === Fragment ? 0 : 1 /* ELEMENT */, isBlockNode = false, needFullChildrenNormalization = false) {
  15506. const vnode = {
  15507. __v_isVNode: true,
  15508. __v_skip: true,
  15509. type,
  15510. props,
  15511. key: props && normalizeKey(props),
  15512. ref: props && normalizeRef(props),
  15513. scopeId: currentScopeId,
  15514. slotScopeIds: null,
  15515. children,
  15516. component: null,
  15517. suspense: null,
  15518. ssContent: null,
  15519. ssFallback: null,
  15520. dirs: null,
  15521. transition: null,
  15522. el: null,
  15523. anchor: null,
  15524. target: null,
  15525. targetAnchor: null,
  15526. staticCount: 0,
  15527. shapeFlag,
  15528. patchFlag,
  15529. dynamicProps,
  15530. dynamicChildren: null,
  15531. appContext: null
  15532. };
  15533. if (needFullChildrenNormalization) {
  15534. normalizeChildren(vnode, children);
  15535. // normalize suspense children
  15536. if (shapeFlag & 128 /* SUSPENSE */) {
  15537. type.normalize(vnode);
  15538. }
  15539. }
  15540. else if (children) {
  15541. // compiled element vnode - if children is passed, only possible types are
  15542. // string or Array.
  15543. vnode.shapeFlag |= (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(children)
  15544. ? 8 /* TEXT_CHILDREN */
  15545. : 16 /* ARRAY_CHILDREN */;
  15546. }
  15547. // validate key
  15548. if (( true) && vnode.key !== vnode.key) {
  15549. warn(`VNode created with invalid key (NaN). VNode type:`, vnode.type);
  15550. }
  15551. // track vnode for block tree
  15552. if (isBlockTreeEnabled > 0 &&
  15553. // avoid a block node from tracking itself
  15554. !isBlockNode &&
  15555. // has current parent block
  15556. currentBlock &&
  15557. // presence of a patch flag indicates this node needs patching on updates.
  15558. // component nodes also should always be patched, because even if the
  15559. // component doesn't need to update, it needs to persist the instance on to
  15560. // the next vnode so that it can be properly unmounted later.
  15561. (vnode.patchFlag > 0 || shapeFlag & 6 /* COMPONENT */) &&
  15562. // the EVENTS flag is only for hydration and if it is the only flag, the
  15563. // vnode should not be considered dynamic due to handler caching.
  15564. vnode.patchFlag !== 32 /* HYDRATE_EVENTS */) {
  15565. currentBlock.push(vnode);
  15566. }
  15567. return vnode;
  15568. }
  15569. const createVNode = (( true) ? createVNodeWithArgsTransform : 0);
  15570. function _createVNode(type, props = null, children = null, patchFlag = 0, dynamicProps = null, isBlockNode = false) {
  15571. if (!type || type === NULL_DYNAMIC_COMPONENT) {
  15572. if (( true) && !type) {
  15573. warn(`Invalid vnode type when creating vnode: ${type}.`);
  15574. }
  15575. type = Comment;
  15576. }
  15577. if (isVNode(type)) {
  15578. // createVNode receiving an existing vnode. This happens in cases like
  15579. // <component :is="vnode"/>
  15580. // #2078 make sure to merge refs during the clone instead of overwriting it
  15581. const cloned = cloneVNode(type, props, true /* mergeRef: true */);
  15582. if (children) {
  15583. normalizeChildren(cloned, children);
  15584. }
  15585. return cloned;
  15586. }
  15587. // class component normalization.
  15588. if (isClassComponent(type)) {
  15589. type = type.__vccOpts;
  15590. }
  15591. // class & style normalization.
  15592. if (props) {
  15593. // for reactive or proxy objects, we need to clone it to enable mutation.
  15594. props = guardReactiveProps(props);
  15595. let { class: klass, style } = props;
  15596. if (klass && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(klass)) {
  15597. props.class = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.normalizeClass)(klass);
  15598. }
  15599. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(style)) {
  15600. // reactive state objects need to be cloned since they are likely to be
  15601. // mutated
  15602. if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isProxy)(style) && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(style)) {
  15603. style = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)({}, style);
  15604. }
  15605. props.style = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.normalizeStyle)(style);
  15606. }
  15607. }
  15608. // encode the vnode type information into a bitmap
  15609. const shapeFlag = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(type)
  15610. ? 1 /* ELEMENT */
  15611. : isSuspense(type)
  15612. ? 128 /* SUSPENSE */
  15613. : isTeleport(type)
  15614. ? 64 /* TELEPORT */
  15615. : (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(type)
  15616. ? 4 /* STATEFUL_COMPONENT */
  15617. : (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(type)
  15618. ? 2 /* FUNCTIONAL_COMPONENT */
  15619. : 0;
  15620. if (( true) && shapeFlag & 4 /* STATEFUL_COMPONENT */ && (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isProxy)(type)) {
  15621. type = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.toRaw)(type);
  15622. warn(`Vue received a Component which was made a reactive object. This can ` +
  15623. `lead to unnecessary performance overhead, and should be avoided by ` +
  15624. `marking the component with \`markRaw\` or using \`shallowRef\` ` +
  15625. `instead of \`ref\`.`, `\nComponent that was made reactive: `, type);
  15626. }
  15627. return createBaseVNode(type, props, children, patchFlag, dynamicProps, shapeFlag, isBlockNode, true);
  15628. }
  15629. function guardReactiveProps(props) {
  15630. if (!props)
  15631. return null;
  15632. return (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isProxy)(props) || InternalObjectKey in props
  15633. ? (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)({}, props)
  15634. : props;
  15635. }
  15636. function cloneVNode(vnode, extraProps, mergeRef = false) {
  15637. // This is intentionally NOT using spread or extend to avoid the runtime
  15638. // key enumeration cost.
  15639. const { props, ref, patchFlag, children } = vnode;
  15640. const mergedProps = extraProps ? mergeProps(props || {}, extraProps) : props;
  15641. const cloned = {
  15642. __v_isVNode: true,
  15643. __v_skip: true,
  15644. type: vnode.type,
  15645. props: mergedProps,
  15646. key: mergedProps && normalizeKey(mergedProps),
  15647. ref: extraProps && extraProps.ref
  15648. ? // #2078 in the case of <component :is="vnode" ref="extra"/>
  15649. // if the vnode itself already has a ref, cloneVNode will need to merge
  15650. // the refs so the single vnode can be set on multiple refs
  15651. mergeRef && ref
  15652. ? (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(ref)
  15653. ? ref.concat(normalizeRef(extraProps))
  15654. : [ref, normalizeRef(extraProps)]
  15655. : normalizeRef(extraProps)
  15656. : ref,
  15657. scopeId: vnode.scopeId,
  15658. slotScopeIds: vnode.slotScopeIds,
  15659. children: ( true) && patchFlag === -1 /* HOISTED */ && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(children)
  15660. ? children.map(deepCloneVNode)
  15661. : children,
  15662. target: vnode.target,
  15663. targetAnchor: vnode.targetAnchor,
  15664. staticCount: vnode.staticCount,
  15665. shapeFlag: vnode.shapeFlag,
  15666. // if the vnode is cloned with extra props, we can no longer assume its
  15667. // existing patch flag to be reliable and need to add the FULL_PROPS flag.
  15668. // note: preserve flag for fragments since they use the flag for children
  15669. // fast paths only.
  15670. patchFlag: extraProps && vnode.type !== Fragment
  15671. ? patchFlag === -1 // hoisted node
  15672. ? 16 /* FULL_PROPS */
  15673. : patchFlag | 16 /* FULL_PROPS */
  15674. : patchFlag,
  15675. dynamicProps: vnode.dynamicProps,
  15676. dynamicChildren: vnode.dynamicChildren,
  15677. appContext: vnode.appContext,
  15678. dirs: vnode.dirs,
  15679. transition: vnode.transition,
  15680. // These should technically only be non-null on mounted VNodes. However,
  15681. // they *should* be copied for kept-alive vnodes. So we just always copy
  15682. // them since them being non-null during a mount doesn't affect the logic as
  15683. // they will simply be overwritten.
  15684. component: vnode.component,
  15685. suspense: vnode.suspense,
  15686. ssContent: vnode.ssContent && cloneVNode(vnode.ssContent),
  15687. ssFallback: vnode.ssFallback && cloneVNode(vnode.ssFallback),
  15688. el: vnode.el,
  15689. anchor: vnode.anchor
  15690. };
  15691. return cloned;
  15692. }
  15693. /**
  15694. * Dev only, for HMR of hoisted vnodes reused in v-for
  15695. * https://github.com/vitejs/vite/issues/2022
  15696. */
  15697. function deepCloneVNode(vnode) {
  15698. const cloned = cloneVNode(vnode);
  15699. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(vnode.children)) {
  15700. cloned.children = vnode.children.map(deepCloneVNode);
  15701. }
  15702. return cloned;
  15703. }
  15704. /**
  15705. * @private
  15706. */
  15707. function createTextVNode(text = ' ', flag = 0) {
  15708. return createVNode(Text, null, text, flag);
  15709. }
  15710. /**
  15711. * @private
  15712. */
  15713. function createStaticVNode(content, numberOfNodes) {
  15714. // A static vnode can contain multiple stringified elements, and the number
  15715. // of elements is necessary for hydration.
  15716. const vnode = createVNode(Static, null, content);
  15717. vnode.staticCount = numberOfNodes;
  15718. return vnode;
  15719. }
  15720. /**
  15721. * @private
  15722. */
  15723. function createCommentVNode(text = '',
  15724. // when used as the v-else branch, the comment node must be created as a
  15725. // block to ensure correct updates.
  15726. asBlock = false) {
  15727. return asBlock
  15728. ? (openBlock(), createBlock(Comment, null, text))
  15729. : createVNode(Comment, null, text);
  15730. }
  15731. function normalizeVNode(child) {
  15732. if (child == null || typeof child === 'boolean') {
  15733. // empty placeholder
  15734. return createVNode(Comment);
  15735. }
  15736. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(child)) {
  15737. // fragment
  15738. return createVNode(Fragment, null,
  15739. // #3666, avoid reference pollution when reusing vnode
  15740. child.slice());
  15741. }
  15742. else if (typeof child === 'object') {
  15743. // already vnode, this should be the most common since compiled templates
  15744. // always produce all-vnode children arrays
  15745. return cloneIfMounted(child);
  15746. }
  15747. else {
  15748. // strings and numbers
  15749. return createVNode(Text, null, String(child));
  15750. }
  15751. }
  15752. // optimized normalization for template-compiled render fns
  15753. function cloneIfMounted(child) {
  15754. return child.el === null || child.memo ? child : cloneVNode(child);
  15755. }
  15756. function normalizeChildren(vnode, children) {
  15757. let type = 0;
  15758. const { shapeFlag } = vnode;
  15759. if (children == null) {
  15760. children = null;
  15761. }
  15762. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(children)) {
  15763. type = 16 /* ARRAY_CHILDREN */;
  15764. }
  15765. else if (typeof children === 'object') {
  15766. if (shapeFlag & (1 /* ELEMENT */ | 64 /* TELEPORT */)) {
  15767. // Normalize slot to plain children for plain element and Teleport
  15768. const slot = children.default;
  15769. if (slot) {
  15770. // _c marker is added by withCtx() indicating this is a compiled slot
  15771. slot._c && (slot._d = false);
  15772. normalizeChildren(vnode, slot());
  15773. slot._c && (slot._d = true);
  15774. }
  15775. return;
  15776. }
  15777. else {
  15778. type = 32 /* SLOTS_CHILDREN */;
  15779. const slotFlag = children._;
  15780. if (!slotFlag && !(InternalObjectKey in children)) {
  15781. children._ctx = currentRenderingInstance;
  15782. }
  15783. else if (slotFlag === 3 /* FORWARDED */ && currentRenderingInstance) {
  15784. // a child component receives forwarded slots from the parent.
  15785. // its slot type is determined by its parent's slot type.
  15786. if (currentRenderingInstance.slots._ === 1 /* STABLE */) {
  15787. children._ = 1 /* STABLE */;
  15788. }
  15789. else {
  15790. children._ = 2 /* DYNAMIC */;
  15791. vnode.patchFlag |= 1024 /* DYNAMIC_SLOTS */;
  15792. }
  15793. }
  15794. }
  15795. }
  15796. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(children)) {
  15797. children = { default: children, _ctx: currentRenderingInstance };
  15798. type = 32 /* SLOTS_CHILDREN */;
  15799. }
  15800. else {
  15801. children = String(children);
  15802. // force teleport children to array so it can be moved around
  15803. if (shapeFlag & 64 /* TELEPORT */) {
  15804. type = 16 /* ARRAY_CHILDREN */;
  15805. children = [createTextVNode(children)];
  15806. }
  15807. else {
  15808. type = 8 /* TEXT_CHILDREN */;
  15809. }
  15810. }
  15811. vnode.children = children;
  15812. vnode.shapeFlag |= type;
  15813. }
  15814. function mergeProps(...args) {
  15815. const ret = {};
  15816. for (let i = 0; i < args.length; i++) {
  15817. const toMerge = args[i];
  15818. for (const key in toMerge) {
  15819. if (key === 'class') {
  15820. if (ret.class !== toMerge.class) {
  15821. ret.class = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.normalizeClass)([ret.class, toMerge.class]);
  15822. }
  15823. }
  15824. else if (key === 'style') {
  15825. ret.style = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.normalizeStyle)([ret.style, toMerge.style]);
  15826. }
  15827. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isOn)(key)) {
  15828. const existing = ret[key];
  15829. const incoming = toMerge[key];
  15830. if (incoming &&
  15831. existing !== incoming &&
  15832. !((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(existing) && existing.includes(incoming))) {
  15833. ret[key] = existing
  15834. ? [].concat(existing, incoming)
  15835. : incoming;
  15836. }
  15837. }
  15838. else if (key !== '') {
  15839. ret[key] = toMerge[key];
  15840. }
  15841. }
  15842. }
  15843. return ret;
  15844. }
  15845. function invokeVNodeHook(hook, instance, vnode, prevVNode = null) {
  15846. callWithAsyncErrorHandling(hook, instance, 7 /* VNODE_HOOK */, [
  15847. vnode,
  15848. prevVNode
  15849. ]);
  15850. }
  15851. /**
  15852. * Actual implementation
  15853. */
  15854. function renderList(source, renderItem, cache, index) {
  15855. let ret;
  15856. const cached = (cache && cache[index]);
  15857. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(source) || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(source)) {
  15858. ret = new Array(source.length);
  15859. for (let i = 0, l = source.length; i < l; i++) {
  15860. ret[i] = renderItem(source[i], i, undefined, cached && cached[i]);
  15861. }
  15862. }
  15863. else if (typeof source === 'number') {
  15864. if (( true) && !Number.isInteger(source)) {
  15865. warn(`The v-for range expect an integer value but got ${source}.`);
  15866. return [];
  15867. }
  15868. ret = new Array(source);
  15869. for (let i = 0; i < source; i++) {
  15870. ret[i] = renderItem(i + 1, i, undefined, cached && cached[i]);
  15871. }
  15872. }
  15873. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(source)) {
  15874. if (source[Symbol.iterator]) {
  15875. ret = Array.from(source, (item, i) => renderItem(item, i, undefined, cached && cached[i]));
  15876. }
  15877. else {
  15878. const keys = Object.keys(source);
  15879. ret = new Array(keys.length);
  15880. for (let i = 0, l = keys.length; i < l; i++) {
  15881. const key = keys[i];
  15882. ret[i] = renderItem(source[key], key, i, cached && cached[i]);
  15883. }
  15884. }
  15885. }
  15886. else {
  15887. ret = [];
  15888. }
  15889. if (cache) {
  15890. cache[index] = ret;
  15891. }
  15892. return ret;
  15893. }
  15894. /**
  15895. * Compiler runtime helper for creating dynamic slots object
  15896. * @private
  15897. */
  15898. function createSlots(slots, dynamicSlots) {
  15899. for (let i = 0; i < dynamicSlots.length; i++) {
  15900. const slot = dynamicSlots[i];
  15901. // array of dynamic slot generated by <template v-for="..." #[...]>
  15902. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(slot)) {
  15903. for (let j = 0; j < slot.length; j++) {
  15904. slots[slot[j].name] = slot[j].fn;
  15905. }
  15906. }
  15907. else if (slot) {
  15908. // conditional single slot generated by <template v-if="..." #foo>
  15909. slots[slot.name] = slot.fn;
  15910. }
  15911. }
  15912. return slots;
  15913. }
  15914. /**
  15915. * Compiler runtime helper for rendering `<slot/>`
  15916. * @private
  15917. */
  15918. function renderSlot(slots, name, props = {},
  15919. // this is not a user-facing function, so the fallback is always generated by
  15920. // the compiler and guaranteed to be a function returning an array
  15921. fallback, noSlotted) {
  15922. if (currentRenderingInstance.isCE) {
  15923. return createVNode('slot', name === 'default' ? null : { name }, fallback && fallback());
  15924. }
  15925. let slot = slots[name];
  15926. if (( true) && slot && slot.length > 1) {
  15927. warn(`SSR-optimized slot function detected in a non-SSR-optimized render ` +
  15928. `function. You need to mark this component with $dynamic-slots in the ` +
  15929. `parent template.`);
  15930. slot = () => [];
  15931. }
  15932. // a compiled slot disables block tracking by default to avoid manual
  15933. // invocation interfering with template-based block tracking, but in
  15934. // `renderSlot` we can be sure that it's template-based so we can force
  15935. // enable it.
  15936. if (slot && slot._c) {
  15937. slot._d = false;
  15938. }
  15939. openBlock();
  15940. const validSlotContent = slot && ensureValidVNode(slot(props));
  15941. const rendered = createBlock(Fragment, { key: props.key || `_${name}` }, validSlotContent || (fallback ? fallback() : []), validSlotContent && slots._ === 1 /* STABLE */
  15942. ? 64 /* STABLE_FRAGMENT */
  15943. : -2 /* BAIL */);
  15944. if (!noSlotted && rendered.scopeId) {
  15945. rendered.slotScopeIds = [rendered.scopeId + '-s'];
  15946. }
  15947. if (slot && slot._c) {
  15948. slot._d = true;
  15949. }
  15950. return rendered;
  15951. }
  15952. function ensureValidVNode(vnodes) {
  15953. return vnodes.some(child => {
  15954. if (!isVNode(child))
  15955. return true;
  15956. if (child.type === Comment)
  15957. return false;
  15958. if (child.type === Fragment &&
  15959. !ensureValidVNode(child.children))
  15960. return false;
  15961. return true;
  15962. })
  15963. ? vnodes
  15964. : null;
  15965. }
  15966. /**
  15967. * For prefixing keys in v-on="obj" with "on"
  15968. * @private
  15969. */
  15970. function toHandlers(obj) {
  15971. const ret = {};
  15972. if (( true) && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(obj)) {
  15973. warn(`v-on with no argument expects an object value.`);
  15974. return ret;
  15975. }
  15976. for (const key in obj) {
  15977. ret[(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toHandlerKey)(key)] = obj[key];
  15978. }
  15979. return ret;
  15980. }
  15981. /**
  15982. * #2437 In Vue 3, functional components do not have a public instance proxy but
  15983. * they exist in the internal parent chain. For code that relies on traversing
  15984. * public $parent chains, skip functional ones and go to the parent instead.
  15985. */
  15986. const getPublicInstance = (i) => {
  15987. if (!i)
  15988. return null;
  15989. if (isStatefulComponent(i))
  15990. return getExposeProxy(i) || i.proxy;
  15991. return getPublicInstance(i.parent);
  15992. };
  15993. const publicPropertiesMap = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)(Object.create(null), {
  15994. $: i => i,
  15995. $el: i => i.vnode.el,
  15996. $data: i => i.data,
  15997. $props: i => (( true) ? (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.shallowReadonly)(i.props) : 0),
  15998. $attrs: i => (( true) ? (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.shallowReadonly)(i.attrs) : 0),
  15999. $slots: i => (( true) ? (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.shallowReadonly)(i.slots) : 0),
  16000. $refs: i => (( true) ? (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.shallowReadonly)(i.refs) : 0),
  16001. $parent: i => getPublicInstance(i.parent),
  16002. $root: i => getPublicInstance(i.root),
  16003. $emit: i => i.emit,
  16004. $options: i => ( true ? resolveMergedOptions(i) : 0),
  16005. $forceUpdate: i => () => queueJob(i.update),
  16006. $nextTick: i => nextTick.bind(i.proxy),
  16007. $watch: i => ( true ? instanceWatch.bind(i) : 0)
  16008. });
  16009. const PublicInstanceProxyHandlers = {
  16010. get({ _: instance }, key) {
  16011. const { ctx, setupState, data, props, accessCache, type, appContext } = instance;
  16012. // for internal formatters to know that this is a Vue instance
  16013. if (( true) && key === '__isVue') {
  16014. return true;
  16015. }
  16016. // prioritize <script setup> bindings during dev.
  16017. // this allows even properties that start with _ or $ to be used - so that
  16018. // it aligns with the production behavior where the render fn is inlined and
  16019. // indeed has access to all declared variables.
  16020. if (( true) &&
  16021. setupState !== _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ &&
  16022. setupState.__isScriptSetup &&
  16023. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(setupState, key)) {
  16024. return setupState[key];
  16025. }
  16026. // data / props / ctx
  16027. // This getter gets called for every property access on the render context
  16028. // during render and is a major hotspot. The most expensive part of this
  16029. // is the multiple hasOwn() calls. It's much faster to do a simple property
  16030. // access on a plain object, so we use an accessCache object (with null
  16031. // prototype) to memoize what access type a key corresponds to.
  16032. let normalizedProps;
  16033. if (key[0] !== '$') {
  16034. const n = accessCache[key];
  16035. if (n !== undefined) {
  16036. switch (n) {
  16037. case 1 /* SETUP */:
  16038. return setupState[key];
  16039. case 2 /* DATA */:
  16040. return data[key];
  16041. case 4 /* CONTEXT */:
  16042. return ctx[key];
  16043. case 3 /* PROPS */:
  16044. return props[key];
  16045. // default: just fallthrough
  16046. }
  16047. }
  16048. else if (setupState !== _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(setupState, key)) {
  16049. accessCache[key] = 1 /* SETUP */;
  16050. return setupState[key];
  16051. }
  16052. else if (data !== _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(data, key)) {
  16053. accessCache[key] = 2 /* DATA */;
  16054. return data[key];
  16055. }
  16056. else if (
  16057. // only cache other properties when instance has declared (thus stable)
  16058. // props
  16059. (normalizedProps = instance.propsOptions[0]) &&
  16060. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(normalizedProps, key)) {
  16061. accessCache[key] = 3 /* PROPS */;
  16062. return props[key];
  16063. }
  16064. else if (ctx !== _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(ctx, key)) {
  16065. accessCache[key] = 4 /* CONTEXT */;
  16066. return ctx[key];
  16067. }
  16068. else if ( false || shouldCacheAccess) {
  16069. accessCache[key] = 0 /* OTHER */;
  16070. }
  16071. }
  16072. const publicGetter = publicPropertiesMap[key];
  16073. let cssModule, globalProperties;
  16074. // public $xxx properties
  16075. if (publicGetter) {
  16076. if (key === '$attrs') {
  16077. (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.track)(instance, "get" /* GET */, key);
  16078. ( true) && markAttrsAccessed();
  16079. }
  16080. return publicGetter(instance);
  16081. }
  16082. else if (
  16083. // css module (injected by vue-loader)
  16084. (cssModule = type.__cssModules) &&
  16085. (cssModule = cssModule[key])) {
  16086. return cssModule;
  16087. }
  16088. else if (ctx !== _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(ctx, key)) {
  16089. // user may set custom properties to `this` that start with `$`
  16090. accessCache[key] = 4 /* CONTEXT */;
  16091. return ctx[key];
  16092. }
  16093. else if (
  16094. // global properties
  16095. ((globalProperties = appContext.config.globalProperties),
  16096. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(globalProperties, key))) {
  16097. {
  16098. return globalProperties[key];
  16099. }
  16100. }
  16101. else if (( true) &&
  16102. currentRenderingInstance &&
  16103. (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(key) ||
  16104. // #1091 avoid internal isRef/isVNode checks on component instance leading
  16105. // to infinite warning loop
  16106. key.indexOf('__v') !== 0)) {
  16107. if (data !== _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ &&
  16108. (key[0] === '$' || key[0] === '_') &&
  16109. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(data, key)) {
  16110. warn(`Property ${JSON.stringify(key)} must be accessed via $data because it starts with a reserved ` +
  16111. `character ("$" or "_") and is not proxied on the render context.`);
  16112. }
  16113. else if (instance === currentRenderingInstance) {
  16114. warn(`Property ${JSON.stringify(key)} was accessed during render ` +
  16115. `but is not defined on instance.`);
  16116. }
  16117. }
  16118. },
  16119. set({ _: instance }, key, value) {
  16120. const { data, setupState, ctx } = instance;
  16121. if (setupState !== _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(setupState, key)) {
  16122. setupState[key] = value;
  16123. return true;
  16124. }
  16125. else if (data !== _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(data, key)) {
  16126. data[key] = value;
  16127. return true;
  16128. }
  16129. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(instance.props, key)) {
  16130. ( true) &&
  16131. warn(`Attempting to mutate prop "${key}". Props are readonly.`, instance);
  16132. return false;
  16133. }
  16134. if (key[0] === '$' && key.slice(1) in instance) {
  16135. ( true) &&
  16136. warn(`Attempting to mutate public property "${key}". ` +
  16137. `Properties starting with $ are reserved and readonly.`, instance);
  16138. return false;
  16139. }
  16140. else {
  16141. if (( true) && key in instance.appContext.config.globalProperties) {
  16142. Object.defineProperty(ctx, key, {
  16143. enumerable: true,
  16144. configurable: true,
  16145. value
  16146. });
  16147. }
  16148. else {
  16149. ctx[key] = value;
  16150. }
  16151. }
  16152. return true;
  16153. },
  16154. has({ _: { data, setupState, accessCache, ctx, appContext, propsOptions } }, key) {
  16155. let normalizedProps;
  16156. return (!!accessCache[key] ||
  16157. (data !== _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(data, key)) ||
  16158. (setupState !== _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(setupState, key)) ||
  16159. ((normalizedProps = propsOptions[0]) && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(normalizedProps, key)) ||
  16160. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(ctx, key) ||
  16161. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(publicPropertiesMap, key) ||
  16162. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(appContext.config.globalProperties, key));
  16163. },
  16164. defineProperty(target, key, descriptor) {
  16165. if (descriptor.get != null) {
  16166. // invalidate key cache of a getter based property #5417
  16167. target.$.accessCache[key] = 0;
  16168. }
  16169. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(descriptor, 'value')) {
  16170. this.set(target, key, descriptor.value, null);
  16171. }
  16172. return Reflect.defineProperty(target, key, descriptor);
  16173. }
  16174. };
  16175. if (true) {
  16176. PublicInstanceProxyHandlers.ownKeys = (target) => {
  16177. warn(`Avoid app logic that relies on enumerating keys on a component instance. ` +
  16178. `The keys will be empty in production mode to avoid performance overhead.`);
  16179. return Reflect.ownKeys(target);
  16180. };
  16181. }
  16182. const RuntimeCompiledPublicInstanceProxyHandlers = /*#__PURE__*/ (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)({}, PublicInstanceProxyHandlers, {
  16183. get(target, key) {
  16184. // fast path for unscopables when using `with` block
  16185. if (key === Symbol.unscopables) {
  16186. return;
  16187. }
  16188. return PublicInstanceProxyHandlers.get(target, key, target);
  16189. },
  16190. has(_, key) {
  16191. const has = key[0] !== '_' && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isGloballyWhitelisted)(key);
  16192. if (( true) && !has && PublicInstanceProxyHandlers.has(_, key)) {
  16193. warn(`Property ${JSON.stringify(key)} should not start with _ which is a reserved prefix for Vue internals.`);
  16194. }
  16195. return has;
  16196. }
  16197. });
  16198. // dev only
  16199. // In dev mode, the proxy target exposes the same properties as seen on `this`
  16200. // for easier console inspection. In prod mode it will be an empty object so
  16201. // these properties definitions can be skipped.
  16202. function createDevRenderContext(instance) {
  16203. const target = {};
  16204. // expose internal instance for proxy handlers
  16205. Object.defineProperty(target, `_`, {
  16206. configurable: true,
  16207. enumerable: false,
  16208. get: () => instance
  16209. });
  16210. // expose public properties
  16211. Object.keys(publicPropertiesMap).forEach(key => {
  16212. Object.defineProperty(target, key, {
  16213. configurable: true,
  16214. enumerable: false,
  16215. get: () => publicPropertiesMap[key](instance),
  16216. // intercepted by the proxy so no need for implementation,
  16217. // but needed to prevent set errors
  16218. set: _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NOOP
  16219. });
  16220. });
  16221. return target;
  16222. }
  16223. // dev only
  16224. function exposePropsOnRenderContext(instance) {
  16225. const { ctx, propsOptions: [propsOptions] } = instance;
  16226. if (propsOptions) {
  16227. Object.keys(propsOptions).forEach(key => {
  16228. Object.defineProperty(ctx, key, {
  16229. enumerable: true,
  16230. configurable: true,
  16231. get: () => instance.props[key],
  16232. set: _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NOOP
  16233. });
  16234. });
  16235. }
  16236. }
  16237. // dev only
  16238. function exposeSetupStateOnRenderContext(instance) {
  16239. const { ctx, setupState } = instance;
  16240. Object.keys((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.toRaw)(setupState)).forEach(key => {
  16241. if (!setupState.__isScriptSetup) {
  16242. if (key[0] === '$' || key[0] === '_') {
  16243. warn(`setup() return property ${JSON.stringify(key)} should not start with "$" or "_" ` +
  16244. `which are reserved prefixes for Vue internals.`);
  16245. return;
  16246. }
  16247. Object.defineProperty(ctx, key, {
  16248. enumerable: true,
  16249. configurable: true,
  16250. get: () => setupState[key],
  16251. set: _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NOOP
  16252. });
  16253. }
  16254. });
  16255. }
  16256. const emptyAppContext = createAppContext();
  16257. let uid$1 = 0;
  16258. function createComponentInstance(vnode, parent, suspense) {
  16259. const type = vnode.type;
  16260. // inherit parent app context - or - if root, adopt from root vnode
  16261. const appContext = (parent ? parent.appContext : vnode.appContext) || emptyAppContext;
  16262. const instance = {
  16263. uid: uid$1++,
  16264. vnode,
  16265. type,
  16266. parent,
  16267. appContext,
  16268. root: null,
  16269. next: null,
  16270. subTree: null,
  16271. effect: null,
  16272. update: null,
  16273. scope: new _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.EffectScope(true /* detached */),
  16274. render: null,
  16275. proxy: null,
  16276. exposed: null,
  16277. exposeProxy: null,
  16278. withProxy: null,
  16279. provides: parent ? parent.provides : Object.create(appContext.provides),
  16280. accessCache: null,
  16281. renderCache: [],
  16282. // local resovled assets
  16283. components: null,
  16284. directives: null,
  16285. // resolved props and emits options
  16286. propsOptions: normalizePropsOptions(type, appContext),
  16287. emitsOptions: normalizeEmitsOptions(type, appContext),
  16288. // emit
  16289. emit: null,
  16290. emitted: null,
  16291. // props default value
  16292. propsDefaults: _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ,
  16293. // inheritAttrs
  16294. inheritAttrs: type.inheritAttrs,
  16295. // state
  16296. ctx: _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ,
  16297. data: _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ,
  16298. props: _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ,
  16299. attrs: _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ,
  16300. slots: _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ,
  16301. refs: _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ,
  16302. setupState: _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ,
  16303. setupContext: null,
  16304. // suspense related
  16305. suspense,
  16306. suspenseId: suspense ? suspense.pendingId : 0,
  16307. asyncDep: null,
  16308. asyncResolved: false,
  16309. // lifecycle hooks
  16310. // not using enums here because it results in computed properties
  16311. isMounted: false,
  16312. isUnmounted: false,
  16313. isDeactivated: false,
  16314. bc: null,
  16315. c: null,
  16316. bm: null,
  16317. m: null,
  16318. bu: null,
  16319. u: null,
  16320. um: null,
  16321. bum: null,
  16322. da: null,
  16323. a: null,
  16324. rtg: null,
  16325. rtc: null,
  16326. ec: null,
  16327. sp: null
  16328. };
  16329. if ((true)) {
  16330. instance.ctx = createDevRenderContext(instance);
  16331. }
  16332. else {}
  16333. instance.root = parent ? parent.root : instance;
  16334. instance.emit = emit$1.bind(null, instance);
  16335. // apply custom element special handling
  16336. if (vnode.ce) {
  16337. vnode.ce(instance);
  16338. }
  16339. return instance;
  16340. }
  16341. let currentInstance = null;
  16342. const getCurrentInstance = () => currentInstance || currentRenderingInstance;
  16343. const setCurrentInstance = (instance) => {
  16344. currentInstance = instance;
  16345. instance.scope.on();
  16346. };
  16347. const unsetCurrentInstance = () => {
  16348. currentInstance && currentInstance.scope.off();
  16349. currentInstance = null;
  16350. };
  16351. const isBuiltInTag = /*#__PURE__*/ (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.makeMap)('slot,component');
  16352. function validateComponentName(name, config) {
  16353. const appIsNativeTag = config.isNativeTag || _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NO;
  16354. if (isBuiltInTag(name) || appIsNativeTag(name)) {
  16355. warn('Do not use built-in or reserved HTML elements as component id: ' + name);
  16356. }
  16357. }
  16358. function isStatefulComponent(instance) {
  16359. return instance.vnode.shapeFlag & 4 /* STATEFUL_COMPONENT */;
  16360. }
  16361. let isInSSRComponentSetup = false;
  16362. function setupComponent(instance, isSSR = false) {
  16363. isInSSRComponentSetup = isSSR;
  16364. const { props, children } = instance.vnode;
  16365. const isStateful = isStatefulComponent(instance);
  16366. initProps(instance, props, isStateful, isSSR);
  16367. initSlots(instance, children);
  16368. const setupResult = isStateful
  16369. ? setupStatefulComponent(instance, isSSR)
  16370. : undefined;
  16371. isInSSRComponentSetup = false;
  16372. return setupResult;
  16373. }
  16374. function setupStatefulComponent(instance, isSSR) {
  16375. const Component = instance.type;
  16376. if ((true)) {
  16377. if (Component.name) {
  16378. validateComponentName(Component.name, instance.appContext.config);
  16379. }
  16380. if (Component.components) {
  16381. const names = Object.keys(Component.components);
  16382. for (let i = 0; i < names.length; i++) {
  16383. validateComponentName(names[i], instance.appContext.config);
  16384. }
  16385. }
  16386. if (Component.directives) {
  16387. const names = Object.keys(Component.directives);
  16388. for (let i = 0; i < names.length; i++) {
  16389. validateDirectiveName(names[i]);
  16390. }
  16391. }
  16392. if (Component.compilerOptions && isRuntimeOnly()) {
  16393. warn(`"compilerOptions" is only supported when using a build of Vue that ` +
  16394. `includes the runtime compiler. Since you are using a runtime-only ` +
  16395. `build, the options should be passed via your build tool config instead.`);
  16396. }
  16397. }
  16398. // 0. create render proxy property access cache
  16399. instance.accessCache = Object.create(null);
  16400. // 1. create public instance / render proxy
  16401. // also mark it raw so it's never observed
  16402. instance.proxy = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.markRaw)(new Proxy(instance.ctx, PublicInstanceProxyHandlers));
  16403. if ((true)) {
  16404. exposePropsOnRenderContext(instance);
  16405. }
  16406. // 2. call setup()
  16407. const { setup } = Component;
  16408. if (setup) {
  16409. const setupContext = (instance.setupContext =
  16410. setup.length > 1 ? createSetupContext(instance) : null);
  16411. setCurrentInstance(instance);
  16412. (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.pauseTracking)();
  16413. const setupResult = callWithErrorHandling(setup, instance, 0 /* SETUP_FUNCTION */, [( true) ? (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.shallowReadonly)(instance.props) : 0, setupContext]);
  16414. (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.resetTracking)();
  16415. unsetCurrentInstance();
  16416. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isPromise)(setupResult)) {
  16417. setupResult.then(unsetCurrentInstance, unsetCurrentInstance);
  16418. if (isSSR) {
  16419. // return the promise so server-renderer can wait on it
  16420. return setupResult
  16421. .then((resolvedResult) => {
  16422. handleSetupResult(instance, resolvedResult, isSSR);
  16423. })
  16424. .catch(e => {
  16425. handleError(e, instance, 0 /* SETUP_FUNCTION */);
  16426. });
  16427. }
  16428. else {
  16429. // async setup returned Promise.
  16430. // bail here and wait for re-entry.
  16431. instance.asyncDep = setupResult;
  16432. }
  16433. }
  16434. else {
  16435. handleSetupResult(instance, setupResult, isSSR);
  16436. }
  16437. }
  16438. else {
  16439. finishComponentSetup(instance, isSSR);
  16440. }
  16441. }
  16442. function handleSetupResult(instance, setupResult, isSSR) {
  16443. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(setupResult)) {
  16444. // setup returned an inline render function
  16445. if (instance.type.__ssrInlineRender) {
  16446. // when the function's name is `ssrRender` (compiled by SFC inline mode),
  16447. // set it as ssrRender instead.
  16448. instance.ssrRender = setupResult;
  16449. }
  16450. else {
  16451. instance.render = setupResult;
  16452. }
  16453. }
  16454. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(setupResult)) {
  16455. if (( true) && isVNode(setupResult)) {
  16456. warn(`setup() should not return VNodes directly - ` +
  16457. `return a render function instead.`);
  16458. }
  16459. // setup returned bindings.
  16460. // assuming a render function compiled from template is present.
  16461. if (true) {
  16462. instance.devtoolsRawSetupState = setupResult;
  16463. }
  16464. instance.setupState = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.proxyRefs)(setupResult);
  16465. if ((true)) {
  16466. exposeSetupStateOnRenderContext(instance);
  16467. }
  16468. }
  16469. else if (( true) && setupResult !== undefined) {
  16470. warn(`setup() should return an object. Received: ${setupResult === null ? 'null' : typeof setupResult}`);
  16471. }
  16472. finishComponentSetup(instance, isSSR);
  16473. }
  16474. let compile;
  16475. let installWithProxy;
  16476. /**
  16477. * For runtime-dom to register the compiler.
  16478. * Note the exported method uses any to avoid d.ts relying on the compiler types.
  16479. */
  16480. function registerRuntimeCompiler(_compile) {
  16481. compile = _compile;
  16482. installWithProxy = i => {
  16483. if (i.render._rc) {
  16484. i.withProxy = new Proxy(i.ctx, RuntimeCompiledPublicInstanceProxyHandlers);
  16485. }
  16486. };
  16487. }
  16488. // dev only
  16489. const isRuntimeOnly = () => !compile;
  16490. function finishComponentSetup(instance, isSSR, skipOptions) {
  16491. const Component = instance.type;
  16492. // template / render function normalization
  16493. // could be already set when returned from setup()
  16494. if (!instance.render) {
  16495. // only do on-the-fly compile if not in SSR - SSR on-the-fly compilation
  16496. // is done by server-renderer
  16497. if (!isSSR && compile && !Component.render) {
  16498. const template = Component.template;
  16499. if (template) {
  16500. if ((true)) {
  16501. startMeasure(instance, `compile`);
  16502. }
  16503. const { isCustomElement, compilerOptions } = instance.appContext.config;
  16504. const { delimiters, compilerOptions: componentCompilerOptions } = Component;
  16505. const finalCompilerOptions = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)({
  16506. isCustomElement,
  16507. delimiters
  16508. }, compilerOptions), componentCompilerOptions);
  16509. Component.render = compile(template, finalCompilerOptions);
  16510. if ((true)) {
  16511. endMeasure(instance, `compile`);
  16512. }
  16513. }
  16514. }
  16515. instance.render = (Component.render || _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NOOP);
  16516. // for runtime-compiled render functions using `with` blocks, the render
  16517. // proxy used needs a different `has` handler which is more performant and
  16518. // also only allows a whitelist of globals to fallthrough.
  16519. if (installWithProxy) {
  16520. installWithProxy(instance);
  16521. }
  16522. }
  16523. // support for 2.x options
  16524. if (true) {
  16525. setCurrentInstance(instance);
  16526. (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.pauseTracking)();
  16527. applyOptions(instance);
  16528. (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.resetTracking)();
  16529. unsetCurrentInstance();
  16530. }
  16531. // warn missing template/render
  16532. // the runtime compilation of template in SSR is done by server-render
  16533. if (( true) && !Component.render && instance.render === _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NOOP && !isSSR) {
  16534. /* istanbul ignore if */
  16535. if (!compile && Component.template) {
  16536. warn(`Component provided template option but ` +
  16537. `runtime compilation is not supported in this build of Vue.` +
  16538. (` Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".`
  16539. ) /* should not happen */);
  16540. }
  16541. else {
  16542. warn(`Component is missing template or render function.`);
  16543. }
  16544. }
  16545. }
  16546. function createAttrsProxy(instance) {
  16547. return new Proxy(instance.attrs, ( true)
  16548. ? {
  16549. get(target, key) {
  16550. markAttrsAccessed();
  16551. (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.track)(instance, "get" /* GET */, '$attrs');
  16552. return target[key];
  16553. },
  16554. set() {
  16555. warn(`setupContext.attrs is readonly.`);
  16556. return false;
  16557. },
  16558. deleteProperty() {
  16559. warn(`setupContext.attrs is readonly.`);
  16560. return false;
  16561. }
  16562. }
  16563. : 0);
  16564. }
  16565. function createSetupContext(instance) {
  16566. const expose = exposed => {
  16567. if (( true) && instance.exposed) {
  16568. warn(`expose() should be called only once per setup().`);
  16569. }
  16570. instance.exposed = exposed || {};
  16571. };
  16572. let attrs;
  16573. if ((true)) {
  16574. // We use getters in dev in case libs like test-utils overwrite instance
  16575. // properties (overwrites should not be done in prod)
  16576. return Object.freeze({
  16577. get attrs() {
  16578. return attrs || (attrs = createAttrsProxy(instance));
  16579. },
  16580. get slots() {
  16581. return (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.shallowReadonly)(instance.slots);
  16582. },
  16583. get emit() {
  16584. return (event, ...args) => instance.emit(event, ...args);
  16585. },
  16586. expose
  16587. });
  16588. }
  16589. else {}
  16590. }
  16591. function getExposeProxy(instance) {
  16592. if (instance.exposed) {
  16593. return (instance.exposeProxy ||
  16594. (instance.exposeProxy = new Proxy((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.proxyRefs)((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.markRaw)(instance.exposed)), {
  16595. get(target, key) {
  16596. if (key in target) {
  16597. return target[key];
  16598. }
  16599. else if (key in publicPropertiesMap) {
  16600. return publicPropertiesMap[key](instance);
  16601. }
  16602. }
  16603. })));
  16604. }
  16605. }
  16606. const classifyRE = /(?:^|[-_])(\w)/g;
  16607. const classify = (str) => str.replace(classifyRE, c => c.toUpperCase()).replace(/[-_]/g, '');
  16608. function getComponentName(Component) {
  16609. return (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(Component)
  16610. ? Component.displayName || Component.name
  16611. : Component.name;
  16612. }
  16613. /* istanbul ignore next */
  16614. function formatComponentName(instance, Component, isRoot = false) {
  16615. let name = getComponentName(Component);
  16616. if (!name && Component.__file) {
  16617. const match = Component.__file.match(/([^/\\]+)\.\w+$/);
  16618. if (match) {
  16619. name = match[1];
  16620. }
  16621. }
  16622. if (!name && instance && instance.parent) {
  16623. // try to infer the name based on reverse resolution
  16624. const inferFromRegistry = (registry) => {
  16625. for (const key in registry) {
  16626. if (registry[key] === Component) {
  16627. return key;
  16628. }
  16629. }
  16630. };
  16631. name =
  16632. inferFromRegistry(instance.components ||
  16633. instance.parent.type.components) || inferFromRegistry(instance.appContext.components);
  16634. }
  16635. return name ? classify(name) : isRoot ? `App` : `Anonymous`;
  16636. }
  16637. function isClassComponent(value) {
  16638. return (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(value) && '__vccOpts' in value;
  16639. }
  16640. const computed = ((getterOrOptions, debugOptions) => {
  16641. // @ts-ignore
  16642. return (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.computed)(getterOrOptions, debugOptions, isInSSRComponentSetup);
  16643. });
  16644. // dev only
  16645. const warnRuntimeUsage = (method) => warn(`${method}() is a compiler-hint helper that is only usable inside ` +
  16646. `<script setup> of a single file component. Its arguments should be ` +
  16647. `compiled away and passing it at runtime has no effect.`);
  16648. // implementation
  16649. function defineProps() {
  16650. if ((true)) {
  16651. warnRuntimeUsage(`defineProps`);
  16652. }
  16653. return null;
  16654. }
  16655. // implementation
  16656. function defineEmits() {
  16657. if ((true)) {
  16658. warnRuntimeUsage(`defineEmits`);
  16659. }
  16660. return null;
  16661. }
  16662. /**
  16663. * Vue `<script setup>` compiler macro for declaring a component's exposed
  16664. * instance properties when it is accessed by a parent component via template
  16665. * refs.
  16666. *
  16667. * `<script setup>` components are closed by default - i.e. variables inside
  16668. * the `<script setup>` scope is not exposed to parent unless explicitly exposed
  16669. * via `defineExpose`.
  16670. *
  16671. * This is only usable inside `<script setup>`, is compiled away in the
  16672. * output and should **not** be actually called at runtime.
  16673. */
  16674. function defineExpose(exposed) {
  16675. if ((true)) {
  16676. warnRuntimeUsage(`defineExpose`);
  16677. }
  16678. }
  16679. /**
  16680. * Vue `<script setup>` compiler macro for providing props default values when
  16681. * using type-based `defineProps` declaration.
  16682. *
  16683. * Example usage:
  16684. * ```ts
  16685. * withDefaults(defineProps<{
  16686. * size?: number
  16687. * labels?: string[]
  16688. * }>(), {
  16689. * size: 3,
  16690. * labels: () => ['default label']
  16691. * })
  16692. * ```
  16693. *
  16694. * This is only usable inside `<script setup>`, is compiled away in the output
  16695. * and should **not** be actually called at runtime.
  16696. */
  16697. function withDefaults(props, defaults) {
  16698. if ((true)) {
  16699. warnRuntimeUsage(`withDefaults`);
  16700. }
  16701. return null;
  16702. }
  16703. function useSlots() {
  16704. return getContext().slots;
  16705. }
  16706. function useAttrs() {
  16707. return getContext().attrs;
  16708. }
  16709. function getContext() {
  16710. const i = getCurrentInstance();
  16711. if (( true) && !i) {
  16712. warn(`useContext() called without active instance.`);
  16713. }
  16714. return i.setupContext || (i.setupContext = createSetupContext(i));
  16715. }
  16716. /**
  16717. * Runtime helper for merging default declarations. Imported by compiled code
  16718. * only.
  16719. * @internal
  16720. */
  16721. function mergeDefaults(raw, defaults) {
  16722. const props = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(raw)
  16723. ? raw.reduce((normalized, p) => ((normalized[p] = {}), normalized), {})
  16724. : raw;
  16725. for (const key in defaults) {
  16726. const opt = props[key];
  16727. if (opt) {
  16728. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(opt) || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(opt)) {
  16729. props[key] = { type: opt, default: defaults[key] };
  16730. }
  16731. else {
  16732. opt.default = defaults[key];
  16733. }
  16734. }
  16735. else if (opt === null) {
  16736. props[key] = { default: defaults[key] };
  16737. }
  16738. else if ((true)) {
  16739. warn(`props default key "${key}" has no corresponding declaration.`);
  16740. }
  16741. }
  16742. return props;
  16743. }
  16744. /**
  16745. * Used to create a proxy for the rest element when destructuring props with
  16746. * defineProps().
  16747. * @internal
  16748. */
  16749. function createPropsRestProxy(props, excludedKeys) {
  16750. const ret = {};
  16751. for (const key in props) {
  16752. if (!excludedKeys.includes(key)) {
  16753. Object.defineProperty(ret, key, {
  16754. enumerable: true,
  16755. get: () => props[key]
  16756. });
  16757. }
  16758. }
  16759. return ret;
  16760. }
  16761. /**
  16762. * `<script setup>` helper for persisting the current instance context over
  16763. * async/await flows.
  16764. *
  16765. * `@vue/compiler-sfc` converts the following:
  16766. *
  16767. * ```ts
  16768. * const x = await foo()
  16769. * ```
  16770. *
  16771. * into:
  16772. *
  16773. * ```ts
  16774. * let __temp, __restore
  16775. * const x = (([__temp, __restore] = withAsyncContext(() => foo())),__temp=await __temp,__restore(),__temp)
  16776. * ```
  16777. * @internal
  16778. */
  16779. function withAsyncContext(getAwaitable) {
  16780. const ctx = getCurrentInstance();
  16781. if (( true) && !ctx) {
  16782. warn(`withAsyncContext called without active current instance. ` +
  16783. `This is likely a bug.`);
  16784. }
  16785. let awaitable = getAwaitable();
  16786. unsetCurrentInstance();
  16787. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isPromise)(awaitable)) {
  16788. awaitable = awaitable.catch(e => {
  16789. setCurrentInstance(ctx);
  16790. throw e;
  16791. });
  16792. }
  16793. return [awaitable, () => setCurrentInstance(ctx)];
  16794. }
  16795. // Actual implementation
  16796. function h(type, propsOrChildren, children) {
  16797. const l = arguments.length;
  16798. if (l === 2) {
  16799. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(propsOrChildren) && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(propsOrChildren)) {
  16800. // single vnode without props
  16801. if (isVNode(propsOrChildren)) {
  16802. return createVNode(type, null, [propsOrChildren]);
  16803. }
  16804. // props without children
  16805. return createVNode(type, propsOrChildren);
  16806. }
  16807. else {
  16808. // omit props
  16809. return createVNode(type, null, propsOrChildren);
  16810. }
  16811. }
  16812. else {
  16813. if (l > 3) {
  16814. children = Array.prototype.slice.call(arguments, 2);
  16815. }
  16816. else if (l === 3 && isVNode(children)) {
  16817. children = [children];
  16818. }
  16819. return createVNode(type, propsOrChildren, children);
  16820. }
  16821. }
  16822. const ssrContextKey = Symbol(( true) ? `ssrContext` : 0);
  16823. const useSSRContext = () => {
  16824. {
  16825. const ctx = inject(ssrContextKey);
  16826. if (!ctx) {
  16827. warn(`Server rendering context not provided. Make sure to only call ` +
  16828. `useSSRContext() conditionally in the server build.`);
  16829. }
  16830. return ctx;
  16831. }
  16832. };
  16833. function isShallow(value) {
  16834. return !!(value && value["__v_isShallow" /* IS_SHALLOW */]);
  16835. }
  16836. function initCustomFormatter() {
  16837. /* eslint-disable no-restricted-globals */
  16838. if ( false || typeof window === 'undefined') {
  16839. return;
  16840. }
  16841. const vueStyle = { style: 'color:#3ba776' };
  16842. const numberStyle = { style: 'color:#0b1bc9' };
  16843. const stringStyle = { style: 'color:#b62e24' };
  16844. const keywordStyle = { style: 'color:#9d288c' };
  16845. // custom formatter for Chrome
  16846. // https://www.mattzeunert.com/2016/02/19/custom-chrome-devtools-object-formatters.html
  16847. const formatter = {
  16848. header(obj) {
  16849. // TODO also format ComponentPublicInstance & ctx.slots/attrs in setup
  16850. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(obj)) {
  16851. return null;
  16852. }
  16853. if (obj.__isVue) {
  16854. return ['div', vueStyle, `VueInstance`];
  16855. }
  16856. else if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isRef)(obj)) {
  16857. return [
  16858. 'div',
  16859. {},
  16860. ['span', vueStyle, genRefFlag(obj)],
  16861. '<',
  16862. formatValue(obj.value),
  16863. `>`
  16864. ];
  16865. }
  16866. else if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isReactive)(obj)) {
  16867. return [
  16868. 'div',
  16869. {},
  16870. ['span', vueStyle, isShallow(obj) ? 'ShallowReactive' : 'Reactive'],
  16871. '<',
  16872. formatValue(obj),
  16873. `>${(0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isReadonly)(obj) ? ` (readonly)` : ``}`
  16874. ];
  16875. }
  16876. else if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isReadonly)(obj)) {
  16877. return [
  16878. 'div',
  16879. {},
  16880. ['span', vueStyle, isShallow(obj) ? 'ShallowReadonly' : 'Readonly'],
  16881. '<',
  16882. formatValue(obj),
  16883. '>'
  16884. ];
  16885. }
  16886. return null;
  16887. },
  16888. hasBody(obj) {
  16889. return obj && obj.__isVue;
  16890. },
  16891. body(obj) {
  16892. if (obj && obj.__isVue) {
  16893. return [
  16894. 'div',
  16895. {},
  16896. ...formatInstance(obj.$)
  16897. ];
  16898. }
  16899. }
  16900. };
  16901. function formatInstance(instance) {
  16902. const blocks = [];
  16903. if (instance.type.props && instance.props) {
  16904. blocks.push(createInstanceBlock('props', (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.toRaw)(instance.props)));
  16905. }
  16906. if (instance.setupState !== _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ) {
  16907. blocks.push(createInstanceBlock('setup', instance.setupState));
  16908. }
  16909. if (instance.data !== _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ) {
  16910. blocks.push(createInstanceBlock('data', (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.toRaw)(instance.data)));
  16911. }
  16912. const computed = extractKeys(instance, 'computed');
  16913. if (computed) {
  16914. blocks.push(createInstanceBlock('computed', computed));
  16915. }
  16916. const injected = extractKeys(instance, 'inject');
  16917. if (injected) {
  16918. blocks.push(createInstanceBlock('injected', injected));
  16919. }
  16920. blocks.push([
  16921. 'div',
  16922. {},
  16923. [
  16924. 'span',
  16925. {
  16926. style: keywordStyle.style + ';opacity:0.66'
  16927. },
  16928. '$ (internal): '
  16929. ],
  16930. ['object', { object: instance }]
  16931. ]);
  16932. return blocks;
  16933. }
  16934. function createInstanceBlock(type, target) {
  16935. target = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)({}, target);
  16936. if (!Object.keys(target).length) {
  16937. return ['span', {}];
  16938. }
  16939. return [
  16940. 'div',
  16941. { style: 'line-height:1.25em;margin-bottom:0.6em' },
  16942. [
  16943. 'div',
  16944. {
  16945. style: 'color:#476582'
  16946. },
  16947. type
  16948. ],
  16949. [
  16950. 'div',
  16951. {
  16952. style: 'padding-left:1.25em'
  16953. },
  16954. ...Object.keys(target).map(key => {
  16955. return [
  16956. 'div',
  16957. {},
  16958. ['span', keywordStyle, key + ': '],
  16959. formatValue(target[key], false)
  16960. ];
  16961. })
  16962. ]
  16963. ];
  16964. }
  16965. function formatValue(v, asRaw = true) {
  16966. if (typeof v === 'number') {
  16967. return ['span', numberStyle, v];
  16968. }
  16969. else if (typeof v === 'string') {
  16970. return ['span', stringStyle, JSON.stringify(v)];
  16971. }
  16972. else if (typeof v === 'boolean') {
  16973. return ['span', keywordStyle, v];
  16974. }
  16975. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(v)) {
  16976. return ['object', { object: asRaw ? (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.toRaw)(v) : v }];
  16977. }
  16978. else {
  16979. return ['span', stringStyle, String(v)];
  16980. }
  16981. }
  16982. function extractKeys(instance, type) {
  16983. const Comp = instance.type;
  16984. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(Comp)) {
  16985. return;
  16986. }
  16987. const extracted = {};
  16988. for (const key in instance.ctx) {
  16989. if (isKeyOfType(Comp, key, type)) {
  16990. extracted[key] = instance.ctx[key];
  16991. }
  16992. }
  16993. return extracted;
  16994. }
  16995. function isKeyOfType(Comp, key, type) {
  16996. const opts = Comp[type];
  16997. if (((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(opts) && opts.includes(key)) ||
  16998. ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(opts) && key in opts)) {
  16999. return true;
  17000. }
  17001. if (Comp.extends && isKeyOfType(Comp.extends, key, type)) {
  17002. return true;
  17003. }
  17004. if (Comp.mixins && Comp.mixins.some(m => isKeyOfType(m, key, type))) {
  17005. return true;
  17006. }
  17007. }
  17008. function genRefFlag(v) {
  17009. if (isShallow(v)) {
  17010. return `ShallowRef`;
  17011. }
  17012. if (v.effect) {
  17013. return `ComputedRef`;
  17014. }
  17015. return `Ref`;
  17016. }
  17017. if (window.devtoolsFormatters) {
  17018. window.devtoolsFormatters.push(formatter);
  17019. }
  17020. else {
  17021. window.devtoolsFormatters = [formatter];
  17022. }
  17023. }
  17024. function withMemo(memo, render, cache, index) {
  17025. const cached = cache[index];
  17026. if (cached && isMemoSame(cached, memo)) {
  17027. return cached;
  17028. }
  17029. const ret = render();
  17030. // shallow clone
  17031. ret.memo = memo.slice();
  17032. return (cache[index] = ret);
  17033. }
  17034. function isMemoSame(cached, memo) {
  17035. const prev = cached.memo;
  17036. if (prev.length != memo.length) {
  17037. return false;
  17038. }
  17039. for (let i = 0; i < prev.length; i++) {
  17040. if (prev[i] !== memo[i]) {
  17041. return false;
  17042. }
  17043. }
  17044. // make sure to let parent block track it when returning cached
  17045. if (isBlockTreeEnabled > 0 && currentBlock) {
  17046. currentBlock.push(cached);
  17047. }
  17048. return true;
  17049. }
  17050. // Core API ------------------------------------------------------------------
  17051. const version = "3.2.32";
  17052. const _ssrUtils = {
  17053. createComponentInstance,
  17054. setupComponent,
  17055. renderComponentRoot,
  17056. setCurrentRenderingInstance,
  17057. isVNode,
  17058. normalizeVNode
  17059. };
  17060. /**
  17061. * SSR utils for \@vue/server-renderer. Only exposed in cjs builds.
  17062. * @internal
  17063. */
  17064. const ssrUtils = (_ssrUtils );
  17065. /**
  17066. * @internal only exposed in compat builds
  17067. */
  17068. const resolveFilter = null;
  17069. /**
  17070. * @internal only exposed in compat builds.
  17071. */
  17072. const compatUtils = (null);
  17073. /***/ }),
  17074. /***/ "./node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js":
  17075. /*!***********************************************************************!*\
  17076. !*** ./node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js ***!
  17077. \***********************************************************************/
  17078. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  17079. "use strict";
  17080. __webpack_require__.r(__webpack_exports__);
  17081. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  17082. /* harmony export */ "BaseTransition": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.BaseTransition),
  17083. /* harmony export */ "Comment": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.Comment),
  17084. /* harmony export */ "EffectScope": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.EffectScope),
  17085. /* harmony export */ "Fragment": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.Fragment),
  17086. /* harmony export */ "KeepAlive": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.KeepAlive),
  17087. /* harmony export */ "ReactiveEffect": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.ReactiveEffect),
  17088. /* harmony export */ "Static": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.Static),
  17089. /* harmony export */ "Suspense": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.Suspense),
  17090. /* harmony export */ "Teleport": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.Teleport),
  17091. /* harmony export */ "Text": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.Text),
  17092. /* harmony export */ "Transition": () => (/* binding */ Transition),
  17093. /* harmony export */ "TransitionGroup": () => (/* binding */ TransitionGroup),
  17094. /* harmony export */ "VueElement": () => (/* binding */ VueElement),
  17095. /* harmony export */ "callWithAsyncErrorHandling": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.callWithAsyncErrorHandling),
  17096. /* harmony export */ "callWithErrorHandling": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.callWithErrorHandling),
  17097. /* harmony export */ "camelize": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.camelize),
  17098. /* harmony export */ "capitalize": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.capitalize),
  17099. /* harmony export */ "cloneVNode": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.cloneVNode),
  17100. /* harmony export */ "compatUtils": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.compatUtils),
  17101. /* harmony export */ "computed": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.computed),
  17102. /* harmony export */ "createApp": () => (/* binding */ createApp),
  17103. /* harmony export */ "createBlock": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.createBlock),
  17104. /* harmony export */ "createCommentVNode": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode),
  17105. /* harmony export */ "createElementBlock": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.createElementBlock),
  17106. /* harmony export */ "createElementVNode": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.createElementVNode),
  17107. /* harmony export */ "createHydrationRenderer": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.createHydrationRenderer),
  17108. /* harmony export */ "createPropsRestProxy": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.createPropsRestProxy),
  17109. /* harmony export */ "createRenderer": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.createRenderer),
  17110. /* harmony export */ "createSSRApp": () => (/* binding */ createSSRApp),
  17111. /* harmony export */ "createSlots": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.createSlots),
  17112. /* harmony export */ "createStaticVNode": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.createStaticVNode),
  17113. /* harmony export */ "createTextVNode": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.createTextVNode),
  17114. /* harmony export */ "createVNode": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.createVNode),
  17115. /* harmony export */ "customRef": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.customRef),
  17116. /* harmony export */ "defineAsyncComponent": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.defineAsyncComponent),
  17117. /* harmony export */ "defineComponent": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.defineComponent),
  17118. /* harmony export */ "defineCustomElement": () => (/* binding */ defineCustomElement),
  17119. /* harmony export */ "defineEmits": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.defineEmits),
  17120. /* harmony export */ "defineExpose": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.defineExpose),
  17121. /* harmony export */ "defineProps": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.defineProps),
  17122. /* harmony export */ "defineSSRCustomElement": () => (/* binding */ defineSSRCustomElement),
  17123. /* harmony export */ "devtools": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.devtools),
  17124. /* harmony export */ "effect": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.effect),
  17125. /* harmony export */ "effectScope": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.effectScope),
  17126. /* harmony export */ "getCurrentInstance": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.getCurrentInstance),
  17127. /* harmony export */ "getCurrentScope": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.getCurrentScope),
  17128. /* harmony export */ "getTransitionRawChildren": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.getTransitionRawChildren),
  17129. /* harmony export */ "guardReactiveProps": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.guardReactiveProps),
  17130. /* harmony export */ "h": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.h),
  17131. /* harmony export */ "handleError": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.handleError),
  17132. /* harmony export */ "hydrate": () => (/* binding */ hydrate),
  17133. /* harmony export */ "initCustomFormatter": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.initCustomFormatter),
  17134. /* harmony export */ "initDirectivesForSSR": () => (/* binding */ initDirectivesForSSR),
  17135. /* harmony export */ "inject": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.inject),
  17136. /* harmony export */ "isMemoSame": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.isMemoSame),
  17137. /* harmony export */ "isProxy": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.isProxy),
  17138. /* harmony export */ "isReactive": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.isReactive),
  17139. /* harmony export */ "isReadonly": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.isReadonly),
  17140. /* harmony export */ "isRef": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.isRef),
  17141. /* harmony export */ "isRuntimeOnly": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.isRuntimeOnly),
  17142. /* harmony export */ "isShallow": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.isShallow),
  17143. /* harmony export */ "isVNode": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.isVNode),
  17144. /* harmony export */ "markRaw": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.markRaw),
  17145. /* harmony export */ "mergeDefaults": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.mergeDefaults),
  17146. /* harmony export */ "mergeProps": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.mergeProps),
  17147. /* harmony export */ "nextTick": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.nextTick),
  17148. /* harmony export */ "normalizeClass": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.normalizeClass),
  17149. /* harmony export */ "normalizeProps": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.normalizeProps),
  17150. /* harmony export */ "normalizeStyle": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.normalizeStyle),
  17151. /* harmony export */ "onActivated": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.onActivated),
  17152. /* harmony export */ "onBeforeMount": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.onBeforeMount),
  17153. /* harmony export */ "onBeforeUnmount": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.onBeforeUnmount),
  17154. /* harmony export */ "onBeforeUpdate": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.onBeforeUpdate),
  17155. /* harmony export */ "onDeactivated": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.onDeactivated),
  17156. /* harmony export */ "onErrorCaptured": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.onErrorCaptured),
  17157. /* harmony export */ "onMounted": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.onMounted),
  17158. /* harmony export */ "onRenderTracked": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.onRenderTracked),
  17159. /* harmony export */ "onRenderTriggered": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.onRenderTriggered),
  17160. /* harmony export */ "onScopeDispose": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.onScopeDispose),
  17161. /* harmony export */ "onServerPrefetch": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.onServerPrefetch),
  17162. /* harmony export */ "onUnmounted": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.onUnmounted),
  17163. /* harmony export */ "onUpdated": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.onUpdated),
  17164. /* harmony export */ "openBlock": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.openBlock),
  17165. /* harmony export */ "popScopeId": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.popScopeId),
  17166. /* harmony export */ "provide": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.provide),
  17167. /* harmony export */ "proxyRefs": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.proxyRefs),
  17168. /* harmony export */ "pushScopeId": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.pushScopeId),
  17169. /* harmony export */ "queuePostFlushCb": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.queuePostFlushCb),
  17170. /* harmony export */ "reactive": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.reactive),
  17171. /* harmony export */ "readonly": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.readonly),
  17172. /* harmony export */ "ref": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.ref),
  17173. /* harmony export */ "registerRuntimeCompiler": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.registerRuntimeCompiler),
  17174. /* harmony export */ "render": () => (/* binding */ render),
  17175. /* harmony export */ "renderList": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.renderList),
  17176. /* harmony export */ "renderSlot": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.renderSlot),
  17177. /* harmony export */ "resolveComponent": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.resolveComponent),
  17178. /* harmony export */ "resolveDirective": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.resolveDirective),
  17179. /* harmony export */ "resolveDynamicComponent": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.resolveDynamicComponent),
  17180. /* harmony export */ "resolveFilter": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.resolveFilter),
  17181. /* harmony export */ "resolveTransitionHooks": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.resolveTransitionHooks),
  17182. /* harmony export */ "setBlockTracking": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.setBlockTracking),
  17183. /* harmony export */ "setDevtoolsHook": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.setDevtoolsHook),
  17184. /* harmony export */ "setTransitionHooks": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.setTransitionHooks),
  17185. /* harmony export */ "shallowReactive": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.shallowReactive),
  17186. /* harmony export */ "shallowReadonly": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.shallowReadonly),
  17187. /* harmony export */ "shallowRef": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.shallowRef),
  17188. /* harmony export */ "ssrContextKey": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.ssrContextKey),
  17189. /* harmony export */ "ssrUtils": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.ssrUtils),
  17190. /* harmony export */ "stop": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.stop),
  17191. /* harmony export */ "toDisplayString": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.toDisplayString),
  17192. /* harmony export */ "toHandlerKey": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.toHandlerKey),
  17193. /* harmony export */ "toHandlers": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.toHandlers),
  17194. /* harmony export */ "toRaw": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.toRaw),
  17195. /* harmony export */ "toRef": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.toRef),
  17196. /* harmony export */ "toRefs": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.toRefs),
  17197. /* harmony export */ "transformVNodeArgs": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.transformVNodeArgs),
  17198. /* harmony export */ "triggerRef": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.triggerRef),
  17199. /* harmony export */ "unref": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.unref),
  17200. /* harmony export */ "useAttrs": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.useAttrs),
  17201. /* harmony export */ "useCssModule": () => (/* binding */ useCssModule),
  17202. /* harmony export */ "useCssVars": () => (/* binding */ useCssVars),
  17203. /* harmony export */ "useSSRContext": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.useSSRContext),
  17204. /* harmony export */ "useSlots": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.useSlots),
  17205. /* harmony export */ "useTransitionState": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.useTransitionState),
  17206. /* harmony export */ "vModelCheckbox": () => (/* binding */ vModelCheckbox),
  17207. /* harmony export */ "vModelDynamic": () => (/* binding */ vModelDynamic),
  17208. /* harmony export */ "vModelRadio": () => (/* binding */ vModelRadio),
  17209. /* harmony export */ "vModelSelect": () => (/* binding */ vModelSelect),
  17210. /* harmony export */ "vModelText": () => (/* binding */ vModelText),
  17211. /* harmony export */ "vShow": () => (/* binding */ vShow),
  17212. /* harmony export */ "version": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.version),
  17213. /* harmony export */ "warn": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.warn),
  17214. /* harmony export */ "watch": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.watch),
  17215. /* harmony export */ "watchEffect": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.watchEffect),
  17216. /* harmony export */ "watchPostEffect": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.watchPostEffect),
  17217. /* harmony export */ "watchSyncEffect": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.watchSyncEffect),
  17218. /* harmony export */ "withAsyncContext": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.withAsyncContext),
  17219. /* harmony export */ "withCtx": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.withCtx),
  17220. /* harmony export */ "withDefaults": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.withDefaults),
  17221. /* harmony export */ "withDirectives": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.withDirectives),
  17222. /* harmony export */ "withKeys": () => (/* binding */ withKeys),
  17223. /* harmony export */ "withMemo": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.withMemo),
  17224. /* harmony export */ "withModifiers": () => (/* binding */ withModifiers),
  17225. /* harmony export */ "withScopeId": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.withScopeId)
  17226. /* harmony export */ });
  17227. /* harmony import */ var _vue_shared__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @vue/shared */ "./node_modules/@vue/shared/dist/shared.esm-bundler.js");
  17228. /* harmony import */ var _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @vue/runtime-core */ "./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js");
  17229. /* harmony import */ var _vue_runtime_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @vue/runtime-core */ "./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js");
  17230. const svgNS = 'http://www.w3.org/2000/svg';
  17231. const doc = (typeof document !== 'undefined' ? document : null);
  17232. const templateContainer = doc && doc.createElement('template');
  17233. const nodeOps = {
  17234. insert: (child, parent, anchor) => {
  17235. parent.insertBefore(child, anchor || null);
  17236. },
  17237. remove: child => {
  17238. const parent = child.parentNode;
  17239. if (parent) {
  17240. parent.removeChild(child);
  17241. }
  17242. },
  17243. createElement: (tag, isSVG, is, props) => {
  17244. const el = isSVG
  17245. ? doc.createElementNS(svgNS, tag)
  17246. : doc.createElement(tag, is ? { is } : undefined);
  17247. if (tag === 'select' && props && props.multiple != null) {
  17248. el.setAttribute('multiple', props.multiple);
  17249. }
  17250. return el;
  17251. },
  17252. createText: text => doc.createTextNode(text),
  17253. createComment: text => doc.createComment(text),
  17254. setText: (node, text) => {
  17255. node.nodeValue = text;
  17256. },
  17257. setElementText: (el, text) => {
  17258. el.textContent = text;
  17259. },
  17260. parentNode: node => node.parentNode,
  17261. nextSibling: node => node.nextSibling,
  17262. querySelector: selector => doc.querySelector(selector),
  17263. setScopeId(el, id) {
  17264. el.setAttribute(id, '');
  17265. },
  17266. cloneNode(el) {
  17267. const cloned = el.cloneNode(true);
  17268. // #3072
  17269. // - in `patchDOMProp`, we store the actual value in the `el._value` property.
  17270. // - normally, elements using `:value` bindings will not be hoisted, but if
  17271. // the bound value is a constant, e.g. `:value="true"` - they do get
  17272. // hoisted.
  17273. // - in production, hoisted nodes are cloned when subsequent inserts, but
  17274. // cloneNode() does not copy the custom property we attached.
  17275. // - This may need to account for other custom DOM properties we attach to
  17276. // elements in addition to `_value` in the future.
  17277. if (`_value` in el) {
  17278. cloned._value = el._value;
  17279. }
  17280. return cloned;
  17281. },
  17282. // __UNSAFE__
  17283. // Reason: innerHTML.
  17284. // Static content here can only come from compiled templates.
  17285. // As long as the user only uses trusted templates, this is safe.
  17286. insertStaticContent(content, parent, anchor, isSVG, start, end) {
  17287. // <parent> before | first ... last | anchor </parent>
  17288. const before = anchor ? anchor.previousSibling : parent.lastChild;
  17289. // #5308 can only take cached path if:
  17290. // - has a single root node
  17291. // - nextSibling info is still available
  17292. if (start && (start === end || start.nextSibling)) {
  17293. // cached
  17294. while (true) {
  17295. parent.insertBefore(start.cloneNode(true), anchor);
  17296. if (start === end || !(start = start.nextSibling))
  17297. break;
  17298. }
  17299. }
  17300. else {
  17301. // fresh insert
  17302. templateContainer.innerHTML = isSVG ? `<svg>${content}</svg>` : content;
  17303. const template = templateContainer.content;
  17304. if (isSVG) {
  17305. // remove outer svg wrapper
  17306. const wrapper = template.firstChild;
  17307. while (wrapper.firstChild) {
  17308. template.appendChild(wrapper.firstChild);
  17309. }
  17310. template.removeChild(wrapper);
  17311. }
  17312. parent.insertBefore(template, anchor);
  17313. }
  17314. return [
  17315. // first
  17316. before ? before.nextSibling : parent.firstChild,
  17317. // last
  17318. anchor ? anchor.previousSibling : parent.lastChild
  17319. ];
  17320. }
  17321. };
  17322. // compiler should normalize class + :class bindings on the same element
  17323. // into a single binding ['staticClass', dynamic]
  17324. function patchClass(el, value, isSVG) {
  17325. // directly setting className should be faster than setAttribute in theory
  17326. // if this is an element during a transition, take the temporary transition
  17327. // classes into account.
  17328. const transitionClasses = el._vtc;
  17329. if (transitionClasses) {
  17330. value = (value ? [value, ...transitionClasses] : [...transitionClasses]).join(' ');
  17331. }
  17332. if (value == null) {
  17333. el.removeAttribute('class');
  17334. }
  17335. else if (isSVG) {
  17336. el.setAttribute('class', value);
  17337. }
  17338. else {
  17339. el.className = value;
  17340. }
  17341. }
  17342. function patchStyle(el, prev, next) {
  17343. const style = el.style;
  17344. const isCssString = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(next);
  17345. if (next && !isCssString) {
  17346. for (const key in next) {
  17347. setStyle(style, key, next[key]);
  17348. }
  17349. if (prev && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(prev)) {
  17350. for (const key in prev) {
  17351. if (next[key] == null) {
  17352. setStyle(style, key, '');
  17353. }
  17354. }
  17355. }
  17356. }
  17357. else {
  17358. const currentDisplay = style.display;
  17359. if (isCssString) {
  17360. if (prev !== next) {
  17361. style.cssText = next;
  17362. }
  17363. }
  17364. else if (prev) {
  17365. el.removeAttribute('style');
  17366. }
  17367. // indicates that the `display` of the element is controlled by `v-show`,
  17368. // so we always keep the current `display` value regardless of the `style`
  17369. // value, thus handing over control to `v-show`.
  17370. if ('_vod' in el) {
  17371. style.display = currentDisplay;
  17372. }
  17373. }
  17374. }
  17375. const importantRE = /\s*!important$/;
  17376. function setStyle(style, name, val) {
  17377. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(val)) {
  17378. val.forEach(v => setStyle(style, name, v));
  17379. }
  17380. else {
  17381. if (name.startsWith('--')) {
  17382. // custom property definition
  17383. style.setProperty(name, val);
  17384. }
  17385. else {
  17386. const prefixed = autoPrefix(style, name);
  17387. if (importantRE.test(val)) {
  17388. // !important
  17389. style.setProperty((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hyphenate)(prefixed), val.replace(importantRE, ''), 'important');
  17390. }
  17391. else {
  17392. style[prefixed] = val;
  17393. }
  17394. }
  17395. }
  17396. }
  17397. const prefixes = ['Webkit', 'Moz', 'ms'];
  17398. const prefixCache = {};
  17399. function autoPrefix(style, rawName) {
  17400. const cached = prefixCache[rawName];
  17401. if (cached) {
  17402. return cached;
  17403. }
  17404. let name = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.camelize)(rawName);
  17405. if (name !== 'filter' && name in style) {
  17406. return (prefixCache[rawName] = name);
  17407. }
  17408. name = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.capitalize)(name);
  17409. for (let i = 0; i < prefixes.length; i++) {
  17410. const prefixed = prefixes[i] + name;
  17411. if (prefixed in style) {
  17412. return (prefixCache[rawName] = prefixed);
  17413. }
  17414. }
  17415. return rawName;
  17416. }
  17417. const xlinkNS = 'http://www.w3.org/1999/xlink';
  17418. function patchAttr(el, key, value, isSVG, instance) {
  17419. if (isSVG && key.startsWith('xlink:')) {
  17420. if (value == null) {
  17421. el.removeAttributeNS(xlinkNS, key.slice(6, key.length));
  17422. }
  17423. else {
  17424. el.setAttributeNS(xlinkNS, key, value);
  17425. }
  17426. }
  17427. else {
  17428. // note we are only checking boolean attributes that don't have a
  17429. // corresponding dom prop of the same name here.
  17430. const isBoolean = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isSpecialBooleanAttr)(key);
  17431. if (value == null || (isBoolean && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.includeBooleanAttr)(value))) {
  17432. el.removeAttribute(key);
  17433. }
  17434. else {
  17435. el.setAttribute(key, isBoolean ? '' : value);
  17436. }
  17437. }
  17438. }
  17439. // __UNSAFE__
  17440. // functions. The user is responsible for using them with only trusted content.
  17441. function patchDOMProp(el, key, value,
  17442. // the following args are passed only due to potential innerHTML/textContent
  17443. // overriding existing VNodes, in which case the old tree must be properly
  17444. // unmounted.
  17445. prevChildren, parentComponent, parentSuspense, unmountChildren) {
  17446. if (key === 'innerHTML' || key === 'textContent') {
  17447. if (prevChildren) {
  17448. unmountChildren(prevChildren, parentComponent, parentSuspense);
  17449. }
  17450. el[key] = value == null ? '' : value;
  17451. return;
  17452. }
  17453. if (key === 'value' &&
  17454. el.tagName !== 'PROGRESS' &&
  17455. // custom elements may use _value internally
  17456. !el.tagName.includes('-')) {
  17457. // store value as _value as well since
  17458. // non-string values will be stringified.
  17459. el._value = value;
  17460. const newValue = value == null ? '' : value;
  17461. if (el.value !== newValue ||
  17462. // #4956: always set for OPTION elements because its value falls back to
  17463. // textContent if no value attribute is present. And setting .value for
  17464. // OPTION has no side effect
  17465. el.tagName === 'OPTION') {
  17466. el.value = newValue;
  17467. }
  17468. if (value == null) {
  17469. el.removeAttribute(key);
  17470. }
  17471. return;
  17472. }
  17473. if (value === '' || value == null) {
  17474. const type = typeof el[key];
  17475. if (type === 'boolean') {
  17476. // e.g. <select multiple> compiles to { multiple: '' }
  17477. el[key] = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.includeBooleanAttr)(value);
  17478. return;
  17479. }
  17480. else if (value == null && type === 'string') {
  17481. // e.g. <div :id="null">
  17482. el[key] = '';
  17483. el.removeAttribute(key);
  17484. return;
  17485. }
  17486. else if (type === 'number') {
  17487. // e.g. <img :width="null">
  17488. // the value of some IDL attr must be greater than 0, e.g. input.size = 0 -> error
  17489. try {
  17490. el[key] = 0;
  17491. }
  17492. catch (_a) { }
  17493. el.removeAttribute(key);
  17494. return;
  17495. }
  17496. }
  17497. // some properties perform value validation and throw
  17498. try {
  17499. el[key] = value;
  17500. }
  17501. catch (e) {
  17502. if ((true)) {
  17503. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.warn)(`Failed setting prop "${key}" on <${el.tagName.toLowerCase()}>: ` +
  17504. `value ${value} is invalid.`, e);
  17505. }
  17506. }
  17507. }
  17508. // Async edge case fix requires storing an event listener's attach timestamp.
  17509. let _getNow = Date.now;
  17510. let skipTimestampCheck = false;
  17511. if (typeof window !== 'undefined') {
  17512. // Determine what event timestamp the browser is using. Annoyingly, the
  17513. // timestamp can either be hi-res (relative to page load) or low-res
  17514. // (relative to UNIX epoch), so in order to compare time we have to use the
  17515. // same timestamp type when saving the flush timestamp.
  17516. if (_getNow() > document.createEvent('Event').timeStamp) {
  17517. // if the low-res timestamp which is bigger than the event timestamp
  17518. // (which is evaluated AFTER) it means the event is using a hi-res timestamp,
  17519. // and we need to use the hi-res version for event listeners as well.
  17520. _getNow = () => performance.now();
  17521. }
  17522. // #3485: Firefox <= 53 has incorrect Event.timeStamp implementation
  17523. // and does not fire microtasks in between event propagation, so safe to exclude.
  17524. const ffMatch = navigator.userAgent.match(/firefox\/(\d+)/i);
  17525. skipTimestampCheck = !!(ffMatch && Number(ffMatch[1]) <= 53);
  17526. }
  17527. // To avoid the overhead of repeatedly calling performance.now(), we cache
  17528. // and use the same timestamp for all event listeners attached in the same tick.
  17529. let cachedNow = 0;
  17530. const p = Promise.resolve();
  17531. const reset = () => {
  17532. cachedNow = 0;
  17533. };
  17534. const getNow = () => cachedNow || (p.then(reset), (cachedNow = _getNow()));
  17535. function addEventListener(el, event, handler, options) {
  17536. el.addEventListener(event, handler, options);
  17537. }
  17538. function removeEventListener(el, event, handler, options) {
  17539. el.removeEventListener(event, handler, options);
  17540. }
  17541. function patchEvent(el, rawName, prevValue, nextValue, instance = null) {
  17542. // vei = vue event invokers
  17543. const invokers = el._vei || (el._vei = {});
  17544. const existingInvoker = invokers[rawName];
  17545. if (nextValue && existingInvoker) {
  17546. // patch
  17547. existingInvoker.value = nextValue;
  17548. }
  17549. else {
  17550. const [name, options] = parseName(rawName);
  17551. if (nextValue) {
  17552. // add
  17553. const invoker = (invokers[rawName] = createInvoker(nextValue, instance));
  17554. addEventListener(el, name, invoker, options);
  17555. }
  17556. else if (existingInvoker) {
  17557. // remove
  17558. removeEventListener(el, name, existingInvoker, options);
  17559. invokers[rawName] = undefined;
  17560. }
  17561. }
  17562. }
  17563. const optionsModifierRE = /(?:Once|Passive|Capture)$/;
  17564. function parseName(name) {
  17565. let options;
  17566. if (optionsModifierRE.test(name)) {
  17567. options = {};
  17568. let m;
  17569. while ((m = name.match(optionsModifierRE))) {
  17570. name = name.slice(0, name.length - m[0].length);
  17571. options[m[0].toLowerCase()] = true;
  17572. }
  17573. }
  17574. return [(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hyphenate)(name.slice(2)), options];
  17575. }
  17576. function createInvoker(initialValue, instance) {
  17577. const invoker = (e) => {
  17578. // async edge case #6566: inner click event triggers patch, event handler
  17579. // attached to outer element during patch, and triggered again. This
  17580. // happens because browsers fire microtask ticks between event propagation.
  17581. // the solution is simple: we save the timestamp when a handler is attached,
  17582. // and the handler would only fire if the event passed to it was fired
  17583. // AFTER it was attached.
  17584. const timeStamp = e.timeStamp || _getNow();
  17585. if (skipTimestampCheck || timeStamp >= invoker.attached - 1) {
  17586. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.callWithAsyncErrorHandling)(patchStopImmediatePropagation(e, invoker.value), instance, 5 /* NATIVE_EVENT_HANDLER */, [e]);
  17587. }
  17588. };
  17589. invoker.value = initialValue;
  17590. invoker.attached = getNow();
  17591. return invoker;
  17592. }
  17593. function patchStopImmediatePropagation(e, value) {
  17594. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(value)) {
  17595. const originalStop = e.stopImmediatePropagation;
  17596. e.stopImmediatePropagation = () => {
  17597. originalStop.call(e);
  17598. e._stopped = true;
  17599. };
  17600. return value.map(fn => (e) => !e._stopped && fn && fn(e));
  17601. }
  17602. else {
  17603. return value;
  17604. }
  17605. }
  17606. const nativeOnRE = /^on[a-z]/;
  17607. const patchProp = (el, key, prevValue, nextValue, isSVG = false, prevChildren, parentComponent, parentSuspense, unmountChildren) => {
  17608. if (key === 'class') {
  17609. patchClass(el, nextValue, isSVG);
  17610. }
  17611. else if (key === 'style') {
  17612. patchStyle(el, prevValue, nextValue);
  17613. }
  17614. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isOn)(key)) {
  17615. // ignore v-model listeners
  17616. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isModelListener)(key)) {
  17617. patchEvent(el, key, prevValue, nextValue, parentComponent);
  17618. }
  17619. }
  17620. else if (key[0] === '.'
  17621. ? ((key = key.slice(1)), true)
  17622. : key[0] === '^'
  17623. ? ((key = key.slice(1)), false)
  17624. : shouldSetAsProp(el, key, nextValue, isSVG)) {
  17625. patchDOMProp(el, key, nextValue, prevChildren, parentComponent, parentSuspense, unmountChildren);
  17626. }
  17627. else {
  17628. // special case for <input v-model type="checkbox"> with
  17629. // :true-value & :false-value
  17630. // store value as dom properties since non-string values will be
  17631. // stringified.
  17632. if (key === 'true-value') {
  17633. el._trueValue = nextValue;
  17634. }
  17635. else if (key === 'false-value') {
  17636. el._falseValue = nextValue;
  17637. }
  17638. patchAttr(el, key, nextValue, isSVG);
  17639. }
  17640. };
  17641. function shouldSetAsProp(el, key, value, isSVG) {
  17642. if (isSVG) {
  17643. // most keys must be set as attribute on svg elements to work
  17644. // ...except innerHTML & textContent
  17645. if (key === 'innerHTML' || key === 'textContent') {
  17646. return true;
  17647. }
  17648. // or native onclick with function values
  17649. if (key in el && nativeOnRE.test(key) && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(value)) {
  17650. return true;
  17651. }
  17652. return false;
  17653. }
  17654. // spellcheck and draggable are numerated attrs, however their
  17655. // corresponding DOM properties are actually booleans - this leads to
  17656. // setting it with a string "false" value leading it to be coerced to
  17657. // `true`, so we need to always treat them as attributes.
  17658. // Note that `contentEditable` doesn't have this problem: its DOM
  17659. // property is also enumerated string values.
  17660. if (key === 'spellcheck' || key === 'draggable') {
  17661. return false;
  17662. }
  17663. // #1787, #2840 form property on form elements is readonly and must be set as
  17664. // attribute.
  17665. if (key === 'form') {
  17666. return false;
  17667. }
  17668. // #1526 <input list> must be set as attribute
  17669. if (key === 'list' && el.tagName === 'INPUT') {
  17670. return false;
  17671. }
  17672. // #2766 <textarea type> must be set as attribute
  17673. if (key === 'type' && el.tagName === 'TEXTAREA') {
  17674. return false;
  17675. }
  17676. // native onclick with string value, must be set as attribute
  17677. if (nativeOnRE.test(key) && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(value)) {
  17678. return false;
  17679. }
  17680. return key in el;
  17681. }
  17682. function defineCustomElement(options, hydate) {
  17683. const Comp = (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.defineComponent)(options);
  17684. class VueCustomElement extends VueElement {
  17685. constructor(initialProps) {
  17686. super(Comp, initialProps, hydate);
  17687. }
  17688. }
  17689. VueCustomElement.def = Comp;
  17690. return VueCustomElement;
  17691. }
  17692. const defineSSRCustomElement = ((options) => {
  17693. // @ts-ignore
  17694. return defineCustomElement(options, hydrate);
  17695. });
  17696. const BaseClass = (typeof HTMLElement !== 'undefined' ? HTMLElement : class {
  17697. });
  17698. class VueElement extends BaseClass {
  17699. constructor(_def, _props = {}, hydrate) {
  17700. super();
  17701. this._def = _def;
  17702. this._props = _props;
  17703. /**
  17704. * @internal
  17705. */
  17706. this._instance = null;
  17707. this._connected = false;
  17708. this._resolved = false;
  17709. this._numberProps = null;
  17710. if (this.shadowRoot && hydrate) {
  17711. hydrate(this._createVNode(), this.shadowRoot);
  17712. }
  17713. else {
  17714. if (( true) && this.shadowRoot) {
  17715. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.warn)(`Custom element has pre-rendered declarative shadow root but is not ` +
  17716. `defined as hydratable. Use \`defineSSRCustomElement\`.`);
  17717. }
  17718. this.attachShadow({ mode: 'open' });
  17719. }
  17720. }
  17721. connectedCallback() {
  17722. this._connected = true;
  17723. if (!this._instance) {
  17724. this._resolveDef();
  17725. }
  17726. }
  17727. disconnectedCallback() {
  17728. this._connected = false;
  17729. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.nextTick)(() => {
  17730. if (!this._connected) {
  17731. render(null, this.shadowRoot);
  17732. this._instance = null;
  17733. }
  17734. });
  17735. }
  17736. /**
  17737. * resolve inner component definition (handle possible async component)
  17738. */
  17739. _resolveDef() {
  17740. if (this._resolved) {
  17741. return;
  17742. }
  17743. this._resolved = true;
  17744. // set initial attrs
  17745. for (let i = 0; i < this.attributes.length; i++) {
  17746. this._setAttr(this.attributes[i].name);
  17747. }
  17748. // watch future attr changes
  17749. new MutationObserver(mutations => {
  17750. for (const m of mutations) {
  17751. this._setAttr(m.attributeName);
  17752. }
  17753. }).observe(this, { attributes: true });
  17754. const resolve = (def) => {
  17755. const { props, styles } = def;
  17756. const hasOptions = !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(props);
  17757. const rawKeys = props ? (hasOptions ? Object.keys(props) : props) : [];
  17758. // cast Number-type props set before resolve
  17759. let numberProps;
  17760. if (hasOptions) {
  17761. for (const key in this._props) {
  17762. const opt = props[key];
  17763. if (opt === Number || (opt && opt.type === Number)) {
  17764. this._props[key] = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toNumber)(this._props[key]);
  17765. (numberProps || (numberProps = Object.create(null)))[key] = true;
  17766. }
  17767. }
  17768. }
  17769. this._numberProps = numberProps;
  17770. // check if there are props set pre-upgrade or connect
  17771. for (const key of Object.keys(this)) {
  17772. if (key[0] !== '_') {
  17773. this._setProp(key, this[key], true, false);
  17774. }
  17775. }
  17776. // defining getter/setters on prototype
  17777. for (const key of rawKeys.map(_vue_shared__WEBPACK_IMPORTED_MODULE_1__.camelize)) {
  17778. Object.defineProperty(this, key, {
  17779. get() {
  17780. return this._getProp(key);
  17781. },
  17782. set(val) {
  17783. this._setProp(key, val);
  17784. }
  17785. });
  17786. }
  17787. // apply CSS
  17788. this._applyStyles(styles);
  17789. // initial render
  17790. this._update();
  17791. };
  17792. const asyncDef = this._def.__asyncLoader;
  17793. if (asyncDef) {
  17794. asyncDef().then(resolve);
  17795. }
  17796. else {
  17797. resolve(this._def);
  17798. }
  17799. }
  17800. _setAttr(key) {
  17801. let value = this.getAttribute(key);
  17802. if (this._numberProps && this._numberProps[key]) {
  17803. value = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toNumber)(value);
  17804. }
  17805. this._setProp((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.camelize)(key), value, false);
  17806. }
  17807. /**
  17808. * @internal
  17809. */
  17810. _getProp(key) {
  17811. return this._props[key];
  17812. }
  17813. /**
  17814. * @internal
  17815. */
  17816. _setProp(key, val, shouldReflect = true, shouldUpdate = true) {
  17817. if (val !== this._props[key]) {
  17818. this._props[key] = val;
  17819. if (shouldUpdate && this._instance) {
  17820. this._update();
  17821. }
  17822. // reflect
  17823. if (shouldReflect) {
  17824. if (val === true) {
  17825. this.setAttribute((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hyphenate)(key), '');
  17826. }
  17827. else if (typeof val === 'string' || typeof val === 'number') {
  17828. this.setAttribute((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hyphenate)(key), val + '');
  17829. }
  17830. else if (!val) {
  17831. this.removeAttribute((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hyphenate)(key));
  17832. }
  17833. }
  17834. }
  17835. }
  17836. _update() {
  17837. render(this._createVNode(), this.shadowRoot);
  17838. }
  17839. _createVNode() {
  17840. const vnode = (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.createVNode)(this._def, (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)({}, this._props));
  17841. if (!this._instance) {
  17842. vnode.ce = instance => {
  17843. this._instance = instance;
  17844. instance.isCE = true;
  17845. // HMR
  17846. if ((true)) {
  17847. instance.ceReload = newStyles => {
  17848. // always reset styles
  17849. if (this._styles) {
  17850. this._styles.forEach(s => this.shadowRoot.removeChild(s));
  17851. this._styles.length = 0;
  17852. }
  17853. this._applyStyles(newStyles);
  17854. // if this is an async component, ceReload is called from the inner
  17855. // component so no need to reload the async wrapper
  17856. if (!this._def.__asyncLoader) {
  17857. // reload
  17858. this._instance = null;
  17859. this._update();
  17860. }
  17861. };
  17862. }
  17863. // intercept emit
  17864. instance.emit = (event, ...args) => {
  17865. this.dispatchEvent(new CustomEvent(event, {
  17866. detail: args
  17867. }));
  17868. };
  17869. // locate nearest Vue custom element parent for provide/inject
  17870. let parent = this;
  17871. while ((parent =
  17872. parent && (parent.parentNode || parent.host))) {
  17873. if (parent instanceof VueElement) {
  17874. instance.parent = parent._instance;
  17875. break;
  17876. }
  17877. }
  17878. };
  17879. }
  17880. return vnode;
  17881. }
  17882. _applyStyles(styles) {
  17883. if (styles) {
  17884. styles.forEach(css => {
  17885. const s = document.createElement('style');
  17886. s.textContent = css;
  17887. this.shadowRoot.appendChild(s);
  17888. // record for HMR
  17889. if ((true)) {
  17890. (this._styles || (this._styles = [])).push(s);
  17891. }
  17892. });
  17893. }
  17894. }
  17895. }
  17896. function useCssModule(name = '$style') {
  17897. /* istanbul ignore else */
  17898. {
  17899. const instance = (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.getCurrentInstance)();
  17900. if (!instance) {
  17901. ( true) && (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.warn)(`useCssModule must be called inside setup()`);
  17902. return _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ;
  17903. }
  17904. const modules = instance.type.__cssModules;
  17905. if (!modules) {
  17906. ( true) && (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.warn)(`Current instance does not have CSS modules injected.`);
  17907. return _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ;
  17908. }
  17909. const mod = modules[name];
  17910. if (!mod) {
  17911. ( true) &&
  17912. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.warn)(`Current instance does not have CSS module named "${name}".`);
  17913. return _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ;
  17914. }
  17915. return mod;
  17916. }
  17917. }
  17918. /**
  17919. * Runtime helper for SFC's CSS variable injection feature.
  17920. * @private
  17921. */
  17922. function useCssVars(getter) {
  17923. const instance = (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.getCurrentInstance)();
  17924. /* istanbul ignore next */
  17925. if (!instance) {
  17926. ( true) &&
  17927. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.warn)(`useCssVars is called without current active component instance.`);
  17928. return;
  17929. }
  17930. const setVars = () => setVarsOnVNode(instance.subTree, getter(instance.proxy));
  17931. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.watchPostEffect)(setVars);
  17932. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.onMounted)(() => {
  17933. const ob = new MutationObserver(setVars);
  17934. ob.observe(instance.subTree.el.parentNode, { childList: true });
  17935. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.onUnmounted)(() => ob.disconnect());
  17936. });
  17937. }
  17938. function setVarsOnVNode(vnode, vars) {
  17939. if (vnode.shapeFlag & 128 /* SUSPENSE */) {
  17940. const suspense = vnode.suspense;
  17941. vnode = suspense.activeBranch;
  17942. if (suspense.pendingBranch && !suspense.isHydrating) {
  17943. suspense.effects.push(() => {
  17944. setVarsOnVNode(suspense.activeBranch, vars);
  17945. });
  17946. }
  17947. }
  17948. // drill down HOCs until it's a non-component vnode
  17949. while (vnode.component) {
  17950. vnode = vnode.component.subTree;
  17951. }
  17952. if (vnode.shapeFlag & 1 /* ELEMENT */ && vnode.el) {
  17953. setVarsOnNode(vnode.el, vars);
  17954. }
  17955. else if (vnode.type === _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.Fragment) {
  17956. vnode.children.forEach(c => setVarsOnVNode(c, vars));
  17957. }
  17958. else if (vnode.type === _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.Static) {
  17959. let { el, anchor } = vnode;
  17960. while (el) {
  17961. setVarsOnNode(el, vars);
  17962. if (el === anchor)
  17963. break;
  17964. el = el.nextSibling;
  17965. }
  17966. }
  17967. }
  17968. function setVarsOnNode(el, vars) {
  17969. if (el.nodeType === 1) {
  17970. const style = el.style;
  17971. for (const key in vars) {
  17972. style.setProperty(`--${key}`, vars[key]);
  17973. }
  17974. }
  17975. }
  17976. const TRANSITION = 'transition';
  17977. const ANIMATION = 'animation';
  17978. // DOM Transition is a higher-order-component based on the platform-agnostic
  17979. // base Transition component, with DOM-specific logic.
  17980. const Transition = (props, { slots }) => (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.h)(_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.BaseTransition, resolveTransitionProps(props), slots);
  17981. Transition.displayName = 'Transition';
  17982. const DOMTransitionPropsValidators = {
  17983. name: String,
  17984. type: String,
  17985. css: {
  17986. type: Boolean,
  17987. default: true
  17988. },
  17989. duration: [String, Number, Object],
  17990. enterFromClass: String,
  17991. enterActiveClass: String,
  17992. enterToClass: String,
  17993. appearFromClass: String,
  17994. appearActiveClass: String,
  17995. appearToClass: String,
  17996. leaveFromClass: String,
  17997. leaveActiveClass: String,
  17998. leaveToClass: String
  17999. };
  18000. const TransitionPropsValidators = (Transition.props =
  18001. /*#__PURE__*/ (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)({}, _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.BaseTransition.props, DOMTransitionPropsValidators));
  18002. /**
  18003. * #3227 Incoming hooks may be merged into arrays when wrapping Transition
  18004. * with custom HOCs.
  18005. */
  18006. const callHook = (hook, args = []) => {
  18007. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(hook)) {
  18008. hook.forEach(h => h(...args));
  18009. }
  18010. else if (hook) {
  18011. hook(...args);
  18012. }
  18013. };
  18014. /**
  18015. * Check if a hook expects a callback (2nd arg), which means the user
  18016. * intends to explicitly control the end of the transition.
  18017. */
  18018. const hasExplicitCallback = (hook) => {
  18019. return hook
  18020. ? (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(hook)
  18021. ? hook.some(h => h.length > 1)
  18022. : hook.length > 1
  18023. : false;
  18024. };
  18025. function resolveTransitionProps(rawProps) {
  18026. const baseProps = {};
  18027. for (const key in rawProps) {
  18028. if (!(key in DOMTransitionPropsValidators)) {
  18029. baseProps[key] = rawProps[key];
  18030. }
  18031. }
  18032. if (rawProps.css === false) {
  18033. return baseProps;
  18034. }
  18035. const { name = 'v', type, duration, enterFromClass = `${name}-enter-from`, enterActiveClass = `${name}-enter-active`, enterToClass = `${name}-enter-to`, appearFromClass = enterFromClass, appearActiveClass = enterActiveClass, appearToClass = enterToClass, leaveFromClass = `${name}-leave-from`, leaveActiveClass = `${name}-leave-active`, leaveToClass = `${name}-leave-to` } = rawProps;
  18036. const durations = normalizeDuration(duration);
  18037. const enterDuration = durations && durations[0];
  18038. const leaveDuration = durations && durations[1];
  18039. const { onBeforeEnter, onEnter, onEnterCancelled, onLeave, onLeaveCancelled, onBeforeAppear = onBeforeEnter, onAppear = onEnter, onAppearCancelled = onEnterCancelled } = baseProps;
  18040. const finishEnter = (el, isAppear, done) => {
  18041. removeTransitionClass(el, isAppear ? appearToClass : enterToClass);
  18042. removeTransitionClass(el, isAppear ? appearActiveClass : enterActiveClass);
  18043. done && done();
  18044. };
  18045. const finishLeave = (el, done) => {
  18046. removeTransitionClass(el, leaveToClass);
  18047. removeTransitionClass(el, leaveActiveClass);
  18048. done && done();
  18049. };
  18050. const makeEnterHook = (isAppear) => {
  18051. return (el, done) => {
  18052. const hook = isAppear ? onAppear : onEnter;
  18053. const resolve = () => finishEnter(el, isAppear, done);
  18054. callHook(hook, [el, resolve]);
  18055. nextFrame(() => {
  18056. removeTransitionClass(el, isAppear ? appearFromClass : enterFromClass);
  18057. addTransitionClass(el, isAppear ? appearToClass : enterToClass);
  18058. if (!hasExplicitCallback(hook)) {
  18059. whenTransitionEnds(el, type, enterDuration, resolve);
  18060. }
  18061. });
  18062. };
  18063. };
  18064. return (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)(baseProps, {
  18065. onBeforeEnter(el) {
  18066. callHook(onBeforeEnter, [el]);
  18067. addTransitionClass(el, enterFromClass);
  18068. addTransitionClass(el, enterActiveClass);
  18069. },
  18070. onBeforeAppear(el) {
  18071. callHook(onBeforeAppear, [el]);
  18072. addTransitionClass(el, appearFromClass);
  18073. addTransitionClass(el, appearActiveClass);
  18074. },
  18075. onEnter: makeEnterHook(false),
  18076. onAppear: makeEnterHook(true),
  18077. onLeave(el, done) {
  18078. const resolve = () => finishLeave(el, done);
  18079. addTransitionClass(el, leaveFromClass);
  18080. // force reflow so *-leave-from classes immediately take effect (#2593)
  18081. forceReflow();
  18082. addTransitionClass(el, leaveActiveClass);
  18083. nextFrame(() => {
  18084. removeTransitionClass(el, leaveFromClass);
  18085. addTransitionClass(el, leaveToClass);
  18086. if (!hasExplicitCallback(onLeave)) {
  18087. whenTransitionEnds(el, type, leaveDuration, resolve);
  18088. }
  18089. });
  18090. callHook(onLeave, [el, resolve]);
  18091. },
  18092. onEnterCancelled(el) {
  18093. finishEnter(el, false);
  18094. callHook(onEnterCancelled, [el]);
  18095. },
  18096. onAppearCancelled(el) {
  18097. finishEnter(el, true);
  18098. callHook(onAppearCancelled, [el]);
  18099. },
  18100. onLeaveCancelled(el) {
  18101. finishLeave(el);
  18102. callHook(onLeaveCancelled, [el]);
  18103. }
  18104. });
  18105. }
  18106. function normalizeDuration(duration) {
  18107. if (duration == null) {
  18108. return null;
  18109. }
  18110. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(duration)) {
  18111. return [NumberOf(duration.enter), NumberOf(duration.leave)];
  18112. }
  18113. else {
  18114. const n = NumberOf(duration);
  18115. return [n, n];
  18116. }
  18117. }
  18118. function NumberOf(val) {
  18119. const res = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toNumber)(val);
  18120. if ((true))
  18121. validateDuration(res);
  18122. return res;
  18123. }
  18124. function validateDuration(val) {
  18125. if (typeof val !== 'number') {
  18126. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.warn)(`<transition> explicit duration is not a valid number - ` +
  18127. `got ${JSON.stringify(val)}.`);
  18128. }
  18129. else if (isNaN(val)) {
  18130. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.warn)(`<transition> explicit duration is NaN - ` +
  18131. 'the duration expression might be incorrect.');
  18132. }
  18133. }
  18134. function addTransitionClass(el, cls) {
  18135. cls.split(/\s+/).forEach(c => c && el.classList.add(c));
  18136. (el._vtc ||
  18137. (el._vtc = new Set())).add(cls);
  18138. }
  18139. function removeTransitionClass(el, cls) {
  18140. cls.split(/\s+/).forEach(c => c && el.classList.remove(c));
  18141. const { _vtc } = el;
  18142. if (_vtc) {
  18143. _vtc.delete(cls);
  18144. if (!_vtc.size) {
  18145. el._vtc = undefined;
  18146. }
  18147. }
  18148. }
  18149. function nextFrame(cb) {
  18150. requestAnimationFrame(() => {
  18151. requestAnimationFrame(cb);
  18152. });
  18153. }
  18154. let endId = 0;
  18155. function whenTransitionEnds(el, expectedType, explicitTimeout, resolve) {
  18156. const id = (el._endId = ++endId);
  18157. const resolveIfNotStale = () => {
  18158. if (id === el._endId) {
  18159. resolve();
  18160. }
  18161. };
  18162. if (explicitTimeout) {
  18163. return setTimeout(resolveIfNotStale, explicitTimeout);
  18164. }
  18165. const { type, timeout, propCount } = getTransitionInfo(el, expectedType);
  18166. if (!type) {
  18167. return resolve();
  18168. }
  18169. const endEvent = type + 'end';
  18170. let ended = 0;
  18171. const end = () => {
  18172. el.removeEventListener(endEvent, onEnd);
  18173. resolveIfNotStale();
  18174. };
  18175. const onEnd = (e) => {
  18176. if (e.target === el && ++ended >= propCount) {
  18177. end();
  18178. }
  18179. };
  18180. setTimeout(() => {
  18181. if (ended < propCount) {
  18182. end();
  18183. }
  18184. }, timeout + 1);
  18185. el.addEventListener(endEvent, onEnd);
  18186. }
  18187. function getTransitionInfo(el, expectedType) {
  18188. const styles = window.getComputedStyle(el);
  18189. // JSDOM may return undefined for transition properties
  18190. const getStyleProperties = (key) => (styles[key] || '').split(', ');
  18191. const transitionDelays = getStyleProperties(TRANSITION + 'Delay');
  18192. const transitionDurations = getStyleProperties(TRANSITION + 'Duration');
  18193. const transitionTimeout = getTimeout(transitionDelays, transitionDurations);
  18194. const animationDelays = getStyleProperties(ANIMATION + 'Delay');
  18195. const animationDurations = getStyleProperties(ANIMATION + 'Duration');
  18196. const animationTimeout = getTimeout(animationDelays, animationDurations);
  18197. let type = null;
  18198. let timeout = 0;
  18199. let propCount = 0;
  18200. /* istanbul ignore if */
  18201. if (expectedType === TRANSITION) {
  18202. if (transitionTimeout > 0) {
  18203. type = TRANSITION;
  18204. timeout = transitionTimeout;
  18205. propCount = transitionDurations.length;
  18206. }
  18207. }
  18208. else if (expectedType === ANIMATION) {
  18209. if (animationTimeout > 0) {
  18210. type = ANIMATION;
  18211. timeout = animationTimeout;
  18212. propCount = animationDurations.length;
  18213. }
  18214. }
  18215. else {
  18216. timeout = Math.max(transitionTimeout, animationTimeout);
  18217. type =
  18218. timeout > 0
  18219. ? transitionTimeout > animationTimeout
  18220. ? TRANSITION
  18221. : ANIMATION
  18222. : null;
  18223. propCount = type
  18224. ? type === TRANSITION
  18225. ? transitionDurations.length
  18226. : animationDurations.length
  18227. : 0;
  18228. }
  18229. const hasTransform = type === TRANSITION &&
  18230. /\b(transform|all)(,|$)/.test(styles[TRANSITION + 'Property']);
  18231. return {
  18232. type,
  18233. timeout,
  18234. propCount,
  18235. hasTransform
  18236. };
  18237. }
  18238. function getTimeout(delays, durations) {
  18239. while (delays.length < durations.length) {
  18240. delays = delays.concat(delays);
  18241. }
  18242. return Math.max(...durations.map((d, i) => toMs(d) + toMs(delays[i])));
  18243. }
  18244. // Old versions of Chromium (below 61.0.3163.100) formats floating pointer
  18245. // numbers in a locale-dependent way, using a comma instead of a dot.
  18246. // If comma is not replaced with a dot, the input will be rounded down
  18247. // (i.e. acting as a floor function) causing unexpected behaviors
  18248. function toMs(s) {
  18249. return Number(s.slice(0, -1).replace(',', '.')) * 1000;
  18250. }
  18251. // synchronously force layout to put elements into a certain state
  18252. function forceReflow() {
  18253. return document.body.offsetHeight;
  18254. }
  18255. const positionMap = new WeakMap();
  18256. const newPositionMap = new WeakMap();
  18257. const TransitionGroupImpl = {
  18258. name: 'TransitionGroup',
  18259. props: /*#__PURE__*/ (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)({}, TransitionPropsValidators, {
  18260. tag: String,
  18261. moveClass: String
  18262. }),
  18263. setup(props, { slots }) {
  18264. const instance = (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.getCurrentInstance)();
  18265. const state = (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.useTransitionState)();
  18266. let prevChildren;
  18267. let children;
  18268. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.onUpdated)(() => {
  18269. // children is guaranteed to exist after initial render
  18270. if (!prevChildren.length) {
  18271. return;
  18272. }
  18273. const moveClass = props.moveClass || `${props.name || 'v'}-move`;
  18274. if (!hasCSSTransform(prevChildren[0].el, instance.vnode.el, moveClass)) {
  18275. return;
  18276. }
  18277. // we divide the work into three loops to avoid mixing DOM reads and writes
  18278. // in each iteration - which helps prevent layout thrashing.
  18279. prevChildren.forEach(callPendingCbs);
  18280. prevChildren.forEach(recordPosition);
  18281. const movedChildren = prevChildren.filter(applyTranslation);
  18282. // force reflow to put everything in position
  18283. forceReflow();
  18284. movedChildren.forEach(c => {
  18285. const el = c.el;
  18286. const style = el.style;
  18287. addTransitionClass(el, moveClass);
  18288. style.transform = style.webkitTransform = style.transitionDuration = '';
  18289. const cb = (el._moveCb = (e) => {
  18290. if (e && e.target !== el) {
  18291. return;
  18292. }
  18293. if (!e || /transform$/.test(e.propertyName)) {
  18294. el.removeEventListener('transitionend', cb);
  18295. el._moveCb = null;
  18296. removeTransitionClass(el, moveClass);
  18297. }
  18298. });
  18299. el.addEventListener('transitionend', cb);
  18300. });
  18301. });
  18302. return () => {
  18303. const rawProps = (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_2__.toRaw)(props);
  18304. const cssTransitionProps = resolveTransitionProps(rawProps);
  18305. let tag = rawProps.tag || _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.Fragment;
  18306. prevChildren = children;
  18307. children = slots.default ? (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.getTransitionRawChildren)(slots.default()) : [];
  18308. for (let i = 0; i < children.length; i++) {
  18309. const child = children[i];
  18310. if (child.key != null) {
  18311. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.setTransitionHooks)(child, (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.resolveTransitionHooks)(child, cssTransitionProps, state, instance));
  18312. }
  18313. else if ((true)) {
  18314. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.warn)(`<TransitionGroup> children must be keyed.`);
  18315. }
  18316. }
  18317. if (prevChildren) {
  18318. for (let i = 0; i < prevChildren.length; i++) {
  18319. const child = prevChildren[i];
  18320. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.setTransitionHooks)(child, (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.resolveTransitionHooks)(child, cssTransitionProps, state, instance));
  18321. positionMap.set(child, child.el.getBoundingClientRect());
  18322. }
  18323. }
  18324. return (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.createVNode)(tag, null, children);
  18325. };
  18326. }
  18327. };
  18328. const TransitionGroup = TransitionGroupImpl;
  18329. function callPendingCbs(c) {
  18330. const el = c.el;
  18331. if (el._moveCb) {
  18332. el._moveCb();
  18333. }
  18334. if (el._enterCb) {
  18335. el._enterCb();
  18336. }
  18337. }
  18338. function recordPosition(c) {
  18339. newPositionMap.set(c, c.el.getBoundingClientRect());
  18340. }
  18341. function applyTranslation(c) {
  18342. const oldPos = positionMap.get(c);
  18343. const newPos = newPositionMap.get(c);
  18344. const dx = oldPos.left - newPos.left;
  18345. const dy = oldPos.top - newPos.top;
  18346. if (dx || dy) {
  18347. const s = c.el.style;
  18348. s.transform = s.webkitTransform = `translate(${dx}px,${dy}px)`;
  18349. s.transitionDuration = '0s';
  18350. return c;
  18351. }
  18352. }
  18353. function hasCSSTransform(el, root, moveClass) {
  18354. // Detect whether an element with the move class applied has
  18355. // CSS transitions. Since the element may be inside an entering
  18356. // transition at this very moment, we make a clone of it and remove
  18357. // all other transition classes applied to ensure only the move class
  18358. // is applied.
  18359. const clone = el.cloneNode();
  18360. if (el._vtc) {
  18361. el._vtc.forEach(cls => {
  18362. cls.split(/\s+/).forEach(c => c && clone.classList.remove(c));
  18363. });
  18364. }
  18365. moveClass.split(/\s+/).forEach(c => c && clone.classList.add(c));
  18366. clone.style.display = 'none';
  18367. const container = (root.nodeType === 1 ? root : root.parentNode);
  18368. container.appendChild(clone);
  18369. const { hasTransform } = getTransitionInfo(clone);
  18370. container.removeChild(clone);
  18371. return hasTransform;
  18372. }
  18373. const getModelAssigner = (vnode) => {
  18374. const fn = vnode.props['onUpdate:modelValue'];
  18375. return (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(fn) ? value => (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.invokeArrayFns)(fn, value) : fn;
  18376. };
  18377. function onCompositionStart(e) {
  18378. e.target.composing = true;
  18379. }
  18380. function onCompositionEnd(e) {
  18381. const target = e.target;
  18382. if (target.composing) {
  18383. target.composing = false;
  18384. trigger(target, 'input');
  18385. }
  18386. }
  18387. function trigger(el, type) {
  18388. const e = document.createEvent('HTMLEvents');
  18389. e.initEvent(type, true, true);
  18390. el.dispatchEvent(e);
  18391. }
  18392. // We are exporting the v-model runtime directly as vnode hooks so that it can
  18393. // be tree-shaken in case v-model is never used.
  18394. const vModelText = {
  18395. created(el, { modifiers: { lazy, trim, number } }, vnode) {
  18396. el._assign = getModelAssigner(vnode);
  18397. const castToNumber = number || (vnode.props && vnode.props.type === 'number');
  18398. addEventListener(el, lazy ? 'change' : 'input', e => {
  18399. if (e.target.composing)
  18400. return;
  18401. let domValue = el.value;
  18402. if (trim) {
  18403. domValue = domValue.trim();
  18404. }
  18405. else if (castToNumber) {
  18406. domValue = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toNumber)(domValue);
  18407. }
  18408. el._assign(domValue);
  18409. });
  18410. if (trim) {
  18411. addEventListener(el, 'change', () => {
  18412. el.value = el.value.trim();
  18413. });
  18414. }
  18415. if (!lazy) {
  18416. addEventListener(el, 'compositionstart', onCompositionStart);
  18417. addEventListener(el, 'compositionend', onCompositionEnd);
  18418. // Safari < 10.2 & UIWebView doesn't fire compositionend when
  18419. // switching focus before confirming composition choice
  18420. // this also fixes the issue where some browsers e.g. iOS Chrome
  18421. // fires "change" instead of "input" on autocomplete.
  18422. addEventListener(el, 'change', onCompositionEnd);
  18423. }
  18424. },
  18425. // set value on mounted so it's after min/max for type="range"
  18426. mounted(el, { value }) {
  18427. el.value = value == null ? '' : value;
  18428. },
  18429. beforeUpdate(el, { value, modifiers: { lazy, trim, number } }, vnode) {
  18430. el._assign = getModelAssigner(vnode);
  18431. // avoid clearing unresolved text. #2302
  18432. if (el.composing)
  18433. return;
  18434. if (document.activeElement === el) {
  18435. if (lazy) {
  18436. return;
  18437. }
  18438. if (trim && el.value.trim() === value) {
  18439. return;
  18440. }
  18441. if ((number || el.type === 'number') && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toNumber)(el.value) === value) {
  18442. return;
  18443. }
  18444. }
  18445. const newValue = value == null ? '' : value;
  18446. if (el.value !== newValue) {
  18447. el.value = newValue;
  18448. }
  18449. }
  18450. };
  18451. const vModelCheckbox = {
  18452. // #4096 array checkboxes need to be deep traversed
  18453. deep: true,
  18454. created(el, _, vnode) {
  18455. el._assign = getModelAssigner(vnode);
  18456. addEventListener(el, 'change', () => {
  18457. const modelValue = el._modelValue;
  18458. const elementValue = getValue(el);
  18459. const checked = el.checked;
  18460. const assign = el._assign;
  18461. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(modelValue)) {
  18462. const index = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.looseIndexOf)(modelValue, elementValue);
  18463. const found = index !== -1;
  18464. if (checked && !found) {
  18465. assign(modelValue.concat(elementValue));
  18466. }
  18467. else if (!checked && found) {
  18468. const filtered = [...modelValue];
  18469. filtered.splice(index, 1);
  18470. assign(filtered);
  18471. }
  18472. }
  18473. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isSet)(modelValue)) {
  18474. const cloned = new Set(modelValue);
  18475. if (checked) {
  18476. cloned.add(elementValue);
  18477. }
  18478. else {
  18479. cloned.delete(elementValue);
  18480. }
  18481. assign(cloned);
  18482. }
  18483. else {
  18484. assign(getCheckboxValue(el, checked));
  18485. }
  18486. });
  18487. },
  18488. // set initial checked on mount to wait for true-value/false-value
  18489. mounted: setChecked,
  18490. beforeUpdate(el, binding, vnode) {
  18491. el._assign = getModelAssigner(vnode);
  18492. setChecked(el, binding, vnode);
  18493. }
  18494. };
  18495. function setChecked(el, { value, oldValue }, vnode) {
  18496. el._modelValue = value;
  18497. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(value)) {
  18498. el.checked = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.looseIndexOf)(value, vnode.props.value) > -1;
  18499. }
  18500. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isSet)(value)) {
  18501. el.checked = value.has(vnode.props.value);
  18502. }
  18503. else if (value !== oldValue) {
  18504. el.checked = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.looseEqual)(value, getCheckboxValue(el, true));
  18505. }
  18506. }
  18507. const vModelRadio = {
  18508. created(el, { value }, vnode) {
  18509. el.checked = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.looseEqual)(value, vnode.props.value);
  18510. el._assign = getModelAssigner(vnode);
  18511. addEventListener(el, 'change', () => {
  18512. el._assign(getValue(el));
  18513. });
  18514. },
  18515. beforeUpdate(el, { value, oldValue }, vnode) {
  18516. el._assign = getModelAssigner(vnode);
  18517. if (value !== oldValue) {
  18518. el.checked = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.looseEqual)(value, vnode.props.value);
  18519. }
  18520. }
  18521. };
  18522. const vModelSelect = {
  18523. // <select multiple> value need to be deep traversed
  18524. deep: true,
  18525. created(el, { value, modifiers: { number } }, vnode) {
  18526. const isSetModel = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isSet)(value);
  18527. addEventListener(el, 'change', () => {
  18528. const selectedVal = Array.prototype.filter
  18529. .call(el.options, (o) => o.selected)
  18530. .map((o) => number ? (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toNumber)(getValue(o)) : getValue(o));
  18531. el._assign(el.multiple
  18532. ? isSetModel
  18533. ? new Set(selectedVal)
  18534. : selectedVal
  18535. : selectedVal[0]);
  18536. });
  18537. el._assign = getModelAssigner(vnode);
  18538. },
  18539. // set value in mounted & updated because <select> relies on its children
  18540. // <option>s.
  18541. mounted(el, { value }) {
  18542. setSelected(el, value);
  18543. },
  18544. beforeUpdate(el, _binding, vnode) {
  18545. el._assign = getModelAssigner(vnode);
  18546. },
  18547. updated(el, { value }) {
  18548. setSelected(el, value);
  18549. }
  18550. };
  18551. function setSelected(el, value) {
  18552. const isMultiple = el.multiple;
  18553. if (isMultiple && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(value) && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isSet)(value)) {
  18554. ( true) &&
  18555. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.warn)(`<select multiple v-model> expects an Array or Set value for its binding, ` +
  18556. `but got ${Object.prototype.toString.call(value).slice(8, -1)}.`);
  18557. return;
  18558. }
  18559. for (let i = 0, l = el.options.length; i < l; i++) {
  18560. const option = el.options[i];
  18561. const optionValue = getValue(option);
  18562. if (isMultiple) {
  18563. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(value)) {
  18564. option.selected = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.looseIndexOf)(value, optionValue) > -1;
  18565. }
  18566. else {
  18567. option.selected = value.has(optionValue);
  18568. }
  18569. }
  18570. else {
  18571. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.looseEqual)(getValue(option), value)) {
  18572. if (el.selectedIndex !== i)
  18573. el.selectedIndex = i;
  18574. return;
  18575. }
  18576. }
  18577. }
  18578. if (!isMultiple && el.selectedIndex !== -1) {
  18579. el.selectedIndex = -1;
  18580. }
  18581. }
  18582. // retrieve raw value set via :value bindings
  18583. function getValue(el) {
  18584. return '_value' in el ? el._value : el.value;
  18585. }
  18586. // retrieve raw value for true-value and false-value set via :true-value or :false-value bindings
  18587. function getCheckboxValue(el, checked) {
  18588. const key = checked ? '_trueValue' : '_falseValue';
  18589. return key in el ? el[key] : checked;
  18590. }
  18591. const vModelDynamic = {
  18592. created(el, binding, vnode) {
  18593. callModelHook(el, binding, vnode, null, 'created');
  18594. },
  18595. mounted(el, binding, vnode) {
  18596. callModelHook(el, binding, vnode, null, 'mounted');
  18597. },
  18598. beforeUpdate(el, binding, vnode, prevVNode) {
  18599. callModelHook(el, binding, vnode, prevVNode, 'beforeUpdate');
  18600. },
  18601. updated(el, binding, vnode, prevVNode) {
  18602. callModelHook(el, binding, vnode, prevVNode, 'updated');
  18603. }
  18604. };
  18605. function callModelHook(el, binding, vnode, prevVNode, hook) {
  18606. let modelToUse;
  18607. switch (el.tagName) {
  18608. case 'SELECT':
  18609. modelToUse = vModelSelect;
  18610. break;
  18611. case 'TEXTAREA':
  18612. modelToUse = vModelText;
  18613. break;
  18614. default:
  18615. switch (vnode.props && vnode.props.type) {
  18616. case 'checkbox':
  18617. modelToUse = vModelCheckbox;
  18618. break;
  18619. case 'radio':
  18620. modelToUse = vModelRadio;
  18621. break;
  18622. default:
  18623. modelToUse = vModelText;
  18624. }
  18625. }
  18626. const fn = modelToUse[hook];
  18627. fn && fn(el, binding, vnode, prevVNode);
  18628. }
  18629. // SSR vnode transforms, only used when user includes client-oriented render
  18630. // function in SSR
  18631. function initVModelForSSR() {
  18632. vModelText.getSSRProps = ({ value }) => ({ value });
  18633. vModelRadio.getSSRProps = ({ value }, vnode) => {
  18634. if (vnode.props && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.looseEqual)(vnode.props.value, value)) {
  18635. return { checked: true };
  18636. }
  18637. };
  18638. vModelCheckbox.getSSRProps = ({ value }, vnode) => {
  18639. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(value)) {
  18640. if (vnode.props && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.looseIndexOf)(value, vnode.props.value) > -1) {
  18641. return { checked: true };
  18642. }
  18643. }
  18644. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isSet)(value)) {
  18645. if (vnode.props && value.has(vnode.props.value)) {
  18646. return { checked: true };
  18647. }
  18648. }
  18649. else if (value) {
  18650. return { checked: true };
  18651. }
  18652. };
  18653. }
  18654. const systemModifiers = ['ctrl', 'shift', 'alt', 'meta'];
  18655. const modifierGuards = {
  18656. stop: e => e.stopPropagation(),
  18657. prevent: e => e.preventDefault(),
  18658. self: e => e.target !== e.currentTarget,
  18659. ctrl: e => !e.ctrlKey,
  18660. shift: e => !e.shiftKey,
  18661. alt: e => !e.altKey,
  18662. meta: e => !e.metaKey,
  18663. left: e => 'button' in e && e.button !== 0,
  18664. middle: e => 'button' in e && e.button !== 1,
  18665. right: e => 'button' in e && e.button !== 2,
  18666. exact: (e, modifiers) => systemModifiers.some(m => e[`${m}Key`] && !modifiers.includes(m))
  18667. };
  18668. /**
  18669. * @private
  18670. */
  18671. const withModifiers = (fn, modifiers) => {
  18672. return (event, ...args) => {
  18673. for (let i = 0; i < modifiers.length; i++) {
  18674. const guard = modifierGuards[modifiers[i]];
  18675. if (guard && guard(event, modifiers))
  18676. return;
  18677. }
  18678. return fn(event, ...args);
  18679. };
  18680. };
  18681. // Kept for 2.x compat.
  18682. // Note: IE11 compat for `spacebar` and `del` is removed for now.
  18683. const keyNames = {
  18684. esc: 'escape',
  18685. space: ' ',
  18686. up: 'arrow-up',
  18687. left: 'arrow-left',
  18688. right: 'arrow-right',
  18689. down: 'arrow-down',
  18690. delete: 'backspace'
  18691. };
  18692. /**
  18693. * @private
  18694. */
  18695. const withKeys = (fn, modifiers) => {
  18696. return (event) => {
  18697. if (!('key' in event)) {
  18698. return;
  18699. }
  18700. const eventKey = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hyphenate)(event.key);
  18701. if (modifiers.some(k => k === eventKey || keyNames[k] === eventKey)) {
  18702. return fn(event);
  18703. }
  18704. };
  18705. };
  18706. const vShow = {
  18707. beforeMount(el, { value }, { transition }) {
  18708. el._vod = el.style.display === 'none' ? '' : el.style.display;
  18709. if (transition && value) {
  18710. transition.beforeEnter(el);
  18711. }
  18712. else {
  18713. setDisplay(el, value);
  18714. }
  18715. },
  18716. mounted(el, { value }, { transition }) {
  18717. if (transition && value) {
  18718. transition.enter(el);
  18719. }
  18720. },
  18721. updated(el, { value, oldValue }, { transition }) {
  18722. if (!value === !oldValue)
  18723. return;
  18724. if (transition) {
  18725. if (value) {
  18726. transition.beforeEnter(el);
  18727. setDisplay(el, true);
  18728. transition.enter(el);
  18729. }
  18730. else {
  18731. transition.leave(el, () => {
  18732. setDisplay(el, false);
  18733. });
  18734. }
  18735. }
  18736. else {
  18737. setDisplay(el, value);
  18738. }
  18739. },
  18740. beforeUnmount(el, { value }) {
  18741. setDisplay(el, value);
  18742. }
  18743. };
  18744. function setDisplay(el, value) {
  18745. el.style.display = value ? el._vod : 'none';
  18746. }
  18747. // SSR vnode transforms, only used when user includes client-oriented render
  18748. // function in SSR
  18749. function initVShowForSSR() {
  18750. vShow.getSSRProps = ({ value }) => {
  18751. if (!value) {
  18752. return { style: { display: 'none' } };
  18753. }
  18754. };
  18755. }
  18756. const rendererOptions = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)({ patchProp }, nodeOps);
  18757. // lazy create the renderer - this makes core renderer logic tree-shakable
  18758. // in case the user only imports reactivity utilities from Vue.
  18759. let renderer;
  18760. let enabledHydration = false;
  18761. function ensureRenderer() {
  18762. return (renderer ||
  18763. (renderer = (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.createRenderer)(rendererOptions)));
  18764. }
  18765. function ensureHydrationRenderer() {
  18766. renderer = enabledHydration
  18767. ? renderer
  18768. : (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.createHydrationRenderer)(rendererOptions);
  18769. enabledHydration = true;
  18770. return renderer;
  18771. }
  18772. // use explicit type casts here to avoid import() calls in rolled-up d.ts
  18773. const render = ((...args) => {
  18774. ensureRenderer().render(...args);
  18775. });
  18776. const hydrate = ((...args) => {
  18777. ensureHydrationRenderer().hydrate(...args);
  18778. });
  18779. const createApp = ((...args) => {
  18780. const app = ensureRenderer().createApp(...args);
  18781. if ((true)) {
  18782. injectNativeTagCheck(app);
  18783. injectCompilerOptionsCheck(app);
  18784. }
  18785. const { mount } = app;
  18786. app.mount = (containerOrSelector) => {
  18787. const container = normalizeContainer(containerOrSelector);
  18788. if (!container)
  18789. return;
  18790. const component = app._component;
  18791. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(component) && !component.render && !component.template) {
  18792. // __UNSAFE__
  18793. // Reason: potential execution of JS expressions in in-DOM template.
  18794. // The user must make sure the in-DOM template is trusted. If it's
  18795. // rendered by the server, the template should not contain any user data.
  18796. component.template = container.innerHTML;
  18797. }
  18798. // clear content before mounting
  18799. container.innerHTML = '';
  18800. const proxy = mount(container, false, container instanceof SVGElement);
  18801. if (container instanceof Element) {
  18802. container.removeAttribute('v-cloak');
  18803. container.setAttribute('data-v-app', '');
  18804. }
  18805. return proxy;
  18806. };
  18807. return app;
  18808. });
  18809. const createSSRApp = ((...args) => {
  18810. const app = ensureHydrationRenderer().createApp(...args);
  18811. if ((true)) {
  18812. injectNativeTagCheck(app);
  18813. injectCompilerOptionsCheck(app);
  18814. }
  18815. const { mount } = app;
  18816. app.mount = (containerOrSelector) => {
  18817. const container = normalizeContainer(containerOrSelector);
  18818. if (container) {
  18819. return mount(container, true, container instanceof SVGElement);
  18820. }
  18821. };
  18822. return app;
  18823. });
  18824. function injectNativeTagCheck(app) {
  18825. // Inject `isNativeTag`
  18826. // this is used for component name validation (dev only)
  18827. Object.defineProperty(app.config, 'isNativeTag', {
  18828. value: (tag) => (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isHTMLTag)(tag) || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isSVGTag)(tag),
  18829. writable: false
  18830. });
  18831. }
  18832. // dev only
  18833. function injectCompilerOptionsCheck(app) {
  18834. if ((0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.isRuntimeOnly)()) {
  18835. const isCustomElement = app.config.isCustomElement;
  18836. Object.defineProperty(app.config, 'isCustomElement', {
  18837. get() {
  18838. return isCustomElement;
  18839. },
  18840. set() {
  18841. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.warn)(`The \`isCustomElement\` config option is deprecated. Use ` +
  18842. `\`compilerOptions.isCustomElement\` instead.`);
  18843. }
  18844. });
  18845. const compilerOptions = app.config.compilerOptions;
  18846. const msg = `The \`compilerOptions\` config option is only respected when using ` +
  18847. `a build of Vue.js that includes the runtime compiler (aka "full build"). ` +
  18848. `Since you are using the runtime-only build, \`compilerOptions\` ` +
  18849. `must be passed to \`@vue/compiler-dom\` in the build setup instead.\n` +
  18850. `- For vue-loader: pass it via vue-loader's \`compilerOptions\` loader option.\n` +
  18851. `- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n` +
  18852. `- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-dom`;
  18853. Object.defineProperty(app.config, 'compilerOptions', {
  18854. get() {
  18855. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.warn)(msg);
  18856. return compilerOptions;
  18857. },
  18858. set() {
  18859. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.warn)(msg);
  18860. }
  18861. });
  18862. }
  18863. }
  18864. function normalizeContainer(container) {
  18865. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(container)) {
  18866. const res = document.querySelector(container);
  18867. if (( true) && !res) {
  18868. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.warn)(`Failed to mount app: mount target selector "${container}" returned null.`);
  18869. }
  18870. return res;
  18871. }
  18872. if (( true) &&
  18873. window.ShadowRoot &&
  18874. container instanceof window.ShadowRoot &&
  18875. container.mode === 'closed') {
  18876. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.warn)(`mounting on a ShadowRoot with \`{mode: "closed"}\` may lead to unpredictable bugs`);
  18877. }
  18878. return container;
  18879. }
  18880. let ssrDirectiveInitialized = false;
  18881. /**
  18882. * @internal
  18883. */
  18884. const initDirectivesForSSR = () => {
  18885. if (!ssrDirectiveInitialized) {
  18886. ssrDirectiveInitialized = true;
  18887. initVModelForSSR();
  18888. initVShowForSSR();
  18889. }
  18890. }
  18891. ;
  18892. /***/ }),
  18893. /***/ "./node_modules/@vue/shared/dist/shared.esm-bundler.js":
  18894. /*!*************************************************************!*\
  18895. !*** ./node_modules/@vue/shared/dist/shared.esm-bundler.js ***!
  18896. \*************************************************************/
  18897. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  18898. "use strict";
  18899. __webpack_require__.r(__webpack_exports__);
  18900. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  18901. /* harmony export */ "EMPTY_ARR": () => (/* binding */ EMPTY_ARR),
  18902. /* harmony export */ "EMPTY_OBJ": () => (/* binding */ EMPTY_OBJ),
  18903. /* harmony export */ "NO": () => (/* binding */ NO),
  18904. /* harmony export */ "NOOP": () => (/* binding */ NOOP),
  18905. /* harmony export */ "PatchFlagNames": () => (/* binding */ PatchFlagNames),
  18906. /* harmony export */ "camelize": () => (/* binding */ camelize),
  18907. /* harmony export */ "capitalize": () => (/* binding */ capitalize),
  18908. /* harmony export */ "def": () => (/* binding */ def),
  18909. /* harmony export */ "escapeHtml": () => (/* binding */ escapeHtml),
  18910. /* harmony export */ "escapeHtmlComment": () => (/* binding */ escapeHtmlComment),
  18911. /* harmony export */ "extend": () => (/* binding */ extend),
  18912. /* harmony export */ "generateCodeFrame": () => (/* binding */ generateCodeFrame),
  18913. /* harmony export */ "getGlobalThis": () => (/* binding */ getGlobalThis),
  18914. /* harmony export */ "hasChanged": () => (/* binding */ hasChanged),
  18915. /* harmony export */ "hasOwn": () => (/* binding */ hasOwn),
  18916. /* harmony export */ "hyphenate": () => (/* binding */ hyphenate),
  18917. /* harmony export */ "includeBooleanAttr": () => (/* binding */ includeBooleanAttr),
  18918. /* harmony export */ "invokeArrayFns": () => (/* binding */ invokeArrayFns),
  18919. /* harmony export */ "isArray": () => (/* binding */ isArray),
  18920. /* harmony export */ "isBooleanAttr": () => (/* binding */ isBooleanAttr),
  18921. /* harmony export */ "isBuiltInDirective": () => (/* binding */ isBuiltInDirective),
  18922. /* harmony export */ "isDate": () => (/* binding */ isDate),
  18923. /* harmony export */ "isFunction": () => (/* binding */ isFunction),
  18924. /* harmony export */ "isGloballyWhitelisted": () => (/* binding */ isGloballyWhitelisted),
  18925. /* harmony export */ "isHTMLTag": () => (/* binding */ isHTMLTag),
  18926. /* harmony export */ "isIntegerKey": () => (/* binding */ isIntegerKey),
  18927. /* harmony export */ "isKnownHtmlAttr": () => (/* binding */ isKnownHtmlAttr),
  18928. /* harmony export */ "isKnownSvgAttr": () => (/* binding */ isKnownSvgAttr),
  18929. /* harmony export */ "isMap": () => (/* binding */ isMap),
  18930. /* harmony export */ "isModelListener": () => (/* binding */ isModelListener),
  18931. /* harmony export */ "isNoUnitNumericStyleProp": () => (/* binding */ isNoUnitNumericStyleProp),
  18932. /* harmony export */ "isObject": () => (/* binding */ isObject),
  18933. /* harmony export */ "isOn": () => (/* binding */ isOn),
  18934. /* harmony export */ "isPlainObject": () => (/* binding */ isPlainObject),
  18935. /* harmony export */ "isPromise": () => (/* binding */ isPromise),
  18936. /* harmony export */ "isReservedProp": () => (/* binding */ isReservedProp),
  18937. /* harmony export */ "isSSRSafeAttrName": () => (/* binding */ isSSRSafeAttrName),
  18938. /* harmony export */ "isSVGTag": () => (/* binding */ isSVGTag),
  18939. /* harmony export */ "isSet": () => (/* binding */ isSet),
  18940. /* harmony export */ "isSpecialBooleanAttr": () => (/* binding */ isSpecialBooleanAttr),
  18941. /* harmony export */ "isString": () => (/* binding */ isString),
  18942. /* harmony export */ "isSymbol": () => (/* binding */ isSymbol),
  18943. /* harmony export */ "isVoidTag": () => (/* binding */ isVoidTag),
  18944. /* harmony export */ "looseEqual": () => (/* binding */ looseEqual),
  18945. /* harmony export */ "looseIndexOf": () => (/* binding */ looseIndexOf),
  18946. /* harmony export */ "makeMap": () => (/* binding */ makeMap),
  18947. /* harmony export */ "normalizeClass": () => (/* binding */ normalizeClass),
  18948. /* harmony export */ "normalizeProps": () => (/* binding */ normalizeProps),
  18949. /* harmony export */ "normalizeStyle": () => (/* binding */ normalizeStyle),
  18950. /* harmony export */ "objectToString": () => (/* binding */ objectToString),
  18951. /* harmony export */ "parseStringStyle": () => (/* binding */ parseStringStyle),
  18952. /* harmony export */ "propsToAttrMap": () => (/* binding */ propsToAttrMap),
  18953. /* harmony export */ "remove": () => (/* binding */ remove),
  18954. /* harmony export */ "slotFlagsText": () => (/* binding */ slotFlagsText),
  18955. /* harmony export */ "stringifyStyle": () => (/* binding */ stringifyStyle),
  18956. /* harmony export */ "toDisplayString": () => (/* binding */ toDisplayString),
  18957. /* harmony export */ "toHandlerKey": () => (/* binding */ toHandlerKey),
  18958. /* harmony export */ "toNumber": () => (/* binding */ toNumber),
  18959. /* harmony export */ "toRawType": () => (/* binding */ toRawType),
  18960. /* harmony export */ "toTypeString": () => (/* binding */ toTypeString)
  18961. /* harmony export */ });
  18962. /**
  18963. * Make a map and return a function for checking if a key
  18964. * is in that map.
  18965. * IMPORTANT: all calls of this function must be prefixed with
  18966. * \/\*#\_\_PURE\_\_\*\/
  18967. * So that rollup can tree-shake them if necessary.
  18968. */
  18969. function makeMap(str, expectsLowerCase) {
  18970. const map = Object.create(null);
  18971. const list = str.split(',');
  18972. for (let i = 0; i < list.length; i++) {
  18973. map[list[i]] = true;
  18974. }
  18975. return expectsLowerCase ? val => !!map[val.toLowerCase()] : val => !!map[val];
  18976. }
  18977. /**
  18978. * dev only flag -> name mapping
  18979. */
  18980. const PatchFlagNames = {
  18981. [1 /* TEXT */]: `TEXT`,
  18982. [2 /* CLASS */]: `CLASS`,
  18983. [4 /* STYLE */]: `STYLE`,
  18984. [8 /* PROPS */]: `PROPS`,
  18985. [16 /* FULL_PROPS */]: `FULL_PROPS`,
  18986. [32 /* HYDRATE_EVENTS */]: `HYDRATE_EVENTS`,
  18987. [64 /* STABLE_FRAGMENT */]: `STABLE_FRAGMENT`,
  18988. [128 /* KEYED_FRAGMENT */]: `KEYED_FRAGMENT`,
  18989. [256 /* UNKEYED_FRAGMENT */]: `UNKEYED_FRAGMENT`,
  18990. [512 /* NEED_PATCH */]: `NEED_PATCH`,
  18991. [1024 /* DYNAMIC_SLOTS */]: `DYNAMIC_SLOTS`,
  18992. [2048 /* DEV_ROOT_FRAGMENT */]: `DEV_ROOT_FRAGMENT`,
  18993. [-1 /* HOISTED */]: `HOISTED`,
  18994. [-2 /* BAIL */]: `BAIL`
  18995. };
  18996. /**
  18997. * Dev only
  18998. */
  18999. const slotFlagsText = {
  19000. [1 /* STABLE */]: 'STABLE',
  19001. [2 /* DYNAMIC */]: 'DYNAMIC',
  19002. [3 /* FORWARDED */]: 'FORWARDED'
  19003. };
  19004. const GLOBALS_WHITE_LISTED = 'Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,' +
  19005. 'decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,' +
  19006. 'Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt';
  19007. const isGloballyWhitelisted = /*#__PURE__*/ makeMap(GLOBALS_WHITE_LISTED);
  19008. const range = 2;
  19009. function generateCodeFrame(source, start = 0, end = source.length) {
  19010. // Split the content into individual lines but capture the newline sequence
  19011. // that separated each line. This is important because the actual sequence is
  19012. // needed to properly take into account the full line length for offset
  19013. // comparison
  19014. let lines = source.split(/(\r?\n)/);
  19015. // Separate the lines and newline sequences into separate arrays for easier referencing
  19016. const newlineSequences = lines.filter((_, idx) => idx % 2 === 1);
  19017. lines = lines.filter((_, idx) => idx % 2 === 0);
  19018. let count = 0;
  19019. const res = [];
  19020. for (let i = 0; i < lines.length; i++) {
  19021. count +=
  19022. lines[i].length +
  19023. ((newlineSequences[i] && newlineSequences[i].length) || 0);
  19024. if (count >= start) {
  19025. for (let j = i - range; j <= i + range || end > count; j++) {
  19026. if (j < 0 || j >= lines.length)
  19027. continue;
  19028. const line = j + 1;
  19029. res.push(`${line}${' '.repeat(Math.max(3 - String(line).length, 0))}| ${lines[j]}`);
  19030. const lineLength = lines[j].length;
  19031. const newLineSeqLength = (newlineSequences[j] && newlineSequences[j].length) || 0;
  19032. if (j === i) {
  19033. // push underline
  19034. const pad = start - (count - (lineLength + newLineSeqLength));
  19035. const length = Math.max(1, end > count ? lineLength - pad : end - start);
  19036. res.push(` | ` + ' '.repeat(pad) + '^'.repeat(length));
  19037. }
  19038. else if (j > i) {
  19039. if (end > count) {
  19040. const length = Math.max(Math.min(end - count, lineLength), 1);
  19041. res.push(` | ` + '^'.repeat(length));
  19042. }
  19043. count += lineLength + newLineSeqLength;
  19044. }
  19045. }
  19046. break;
  19047. }
  19048. }
  19049. return res.join('\n');
  19050. }
  19051. /**
  19052. * On the client we only need to offer special cases for boolean attributes that
  19053. * have different names from their corresponding dom properties:
  19054. * - itemscope -> N/A
  19055. * - allowfullscreen -> allowFullscreen
  19056. * - formnovalidate -> formNoValidate
  19057. * - ismap -> isMap
  19058. * - nomodule -> noModule
  19059. * - novalidate -> noValidate
  19060. * - readonly -> readOnly
  19061. */
  19062. const specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;
  19063. const isSpecialBooleanAttr = /*#__PURE__*/ makeMap(specialBooleanAttrs);
  19064. /**
  19065. * The full list is needed during SSR to produce the correct initial markup.
  19066. */
  19067. const isBooleanAttr = /*#__PURE__*/ makeMap(specialBooleanAttrs +
  19068. `,async,autofocus,autoplay,controls,default,defer,disabled,hidden,` +
  19069. `loop,open,required,reversed,scoped,seamless,` +
  19070. `checked,muted,multiple,selected`);
  19071. /**
  19072. * Boolean attributes should be included if the value is truthy or ''.
  19073. * e.g. `<select multiple>` compiles to `{ multiple: '' }`
  19074. */
  19075. function includeBooleanAttr(value) {
  19076. return !!value || value === '';
  19077. }
  19078. const unsafeAttrCharRE = /[>/="'\u0009\u000a\u000c\u0020]/;
  19079. const attrValidationCache = {};
  19080. function isSSRSafeAttrName(name) {
  19081. if (attrValidationCache.hasOwnProperty(name)) {
  19082. return attrValidationCache[name];
  19083. }
  19084. const isUnsafe = unsafeAttrCharRE.test(name);
  19085. if (isUnsafe) {
  19086. console.error(`unsafe attribute name: ${name}`);
  19087. }
  19088. return (attrValidationCache[name] = !isUnsafe);
  19089. }
  19090. const propsToAttrMap = {
  19091. acceptCharset: 'accept-charset',
  19092. className: 'class',
  19093. htmlFor: 'for',
  19094. httpEquiv: 'http-equiv'
  19095. };
  19096. /**
  19097. * CSS properties that accept plain numbers
  19098. */
  19099. const isNoUnitNumericStyleProp = /*#__PURE__*/ makeMap(`animation-iteration-count,border-image-outset,border-image-slice,` +
  19100. `border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,` +
  19101. `columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,` +
  19102. `grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,` +
  19103. `grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,` +
  19104. `line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,` +
  19105. // SVG
  19106. `fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,` +
  19107. `stroke-miterlimit,stroke-opacity,stroke-width`);
  19108. /**
  19109. * Known attributes, this is used for stringification of runtime static nodes
  19110. * so that we don't stringify bindings that cannot be set from HTML.
  19111. * Don't also forget to allow `data-*` and `aria-*`!
  19112. * Generated from https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes
  19113. */
  19114. const isKnownHtmlAttr = /*#__PURE__*/ makeMap(`accept,accept-charset,accesskey,action,align,allow,alt,async,` +
  19115. `autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,` +
  19116. `border,buffered,capture,challenge,charset,checked,cite,class,code,` +
  19117. `codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,` +
  19118. `coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,` +
  19119. `disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,` +
  19120. `formaction,formenctype,formmethod,formnovalidate,formtarget,headers,` +
  19121. `height,hidden,high,href,hreflang,http-equiv,icon,id,importance,integrity,` +
  19122. `ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,` +
  19123. `manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,` +
  19124. `open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,` +
  19125. `referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,` +
  19126. `selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,` +
  19127. `start,step,style,summary,tabindex,target,title,translate,type,usemap,` +
  19128. `value,width,wrap`);
  19129. /**
  19130. * Generated from https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute
  19131. */
  19132. const isKnownSvgAttr = /*#__PURE__*/ makeMap(`xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,` +
  19133. `arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,` +
  19134. `baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,` +
  19135. `clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,` +
  19136. `color-interpolation-filters,color-profile,color-rendering,` +
  19137. `contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,` +
  19138. `descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,` +
  19139. `dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,` +
  19140. `fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,` +
  19141. `font-family,font-size,font-size-adjust,font-stretch,font-style,` +
  19142. `font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,` +
  19143. `glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,` +
  19144. `gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,` +
  19145. `horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,` +
  19146. `k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,` +
  19147. `lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,` +
  19148. `marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,` +
  19149. `mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,` +
  19150. `name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,` +
  19151. `overflow,overline-position,overline-thickness,panose-1,paint-order,path,` +
  19152. `pathLength,patternContentUnits,patternTransform,patternUnits,ping,` +
  19153. `pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,` +
  19154. `preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,` +
  19155. `rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,` +
  19156. `restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,` +
  19157. `specularConstant,specularExponent,speed,spreadMethod,startOffset,` +
  19158. `stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,` +
  19159. `strikethrough-position,strikethrough-thickness,string,stroke,` +
  19160. `stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,` +
  19161. `stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,` +
  19162. `systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,` +
  19163. `text-decoration,text-rendering,textLength,to,transform,transform-origin,` +
  19164. `type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,` +
  19165. `unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,` +
  19166. `v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,` +
  19167. `vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,` +
  19168. `writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,` +
  19169. `xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,` +
  19170. `xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`);
  19171. function normalizeStyle(value) {
  19172. if (isArray(value)) {
  19173. const res = {};
  19174. for (let i = 0; i < value.length; i++) {
  19175. const item = value[i];
  19176. const normalized = isString(item)
  19177. ? parseStringStyle(item)
  19178. : normalizeStyle(item);
  19179. if (normalized) {
  19180. for (const key in normalized) {
  19181. res[key] = normalized[key];
  19182. }
  19183. }
  19184. }
  19185. return res;
  19186. }
  19187. else if (isString(value)) {
  19188. return value;
  19189. }
  19190. else if (isObject(value)) {
  19191. return value;
  19192. }
  19193. }
  19194. const listDelimiterRE = /;(?![^(]*\))/g;
  19195. const propertyDelimiterRE = /:(.+)/;
  19196. function parseStringStyle(cssText) {
  19197. const ret = {};
  19198. cssText.split(listDelimiterRE).forEach(item => {
  19199. if (item) {
  19200. const tmp = item.split(propertyDelimiterRE);
  19201. tmp.length > 1 && (ret[tmp[0].trim()] = tmp[1].trim());
  19202. }
  19203. });
  19204. return ret;
  19205. }
  19206. function stringifyStyle(styles) {
  19207. let ret = '';
  19208. if (!styles || isString(styles)) {
  19209. return ret;
  19210. }
  19211. for (const key in styles) {
  19212. const value = styles[key];
  19213. const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);
  19214. if (isString(value) ||
  19215. (typeof value === 'number' && isNoUnitNumericStyleProp(normalizedKey))) {
  19216. // only render valid values
  19217. ret += `${normalizedKey}:${value};`;
  19218. }
  19219. }
  19220. return ret;
  19221. }
  19222. function normalizeClass(value) {
  19223. let res = '';
  19224. if (isString(value)) {
  19225. res = value;
  19226. }
  19227. else if (isArray(value)) {
  19228. for (let i = 0; i < value.length; i++) {
  19229. const normalized = normalizeClass(value[i]);
  19230. if (normalized) {
  19231. res += normalized + ' ';
  19232. }
  19233. }
  19234. }
  19235. else if (isObject(value)) {
  19236. for (const name in value) {
  19237. if (value[name]) {
  19238. res += name + ' ';
  19239. }
  19240. }
  19241. }
  19242. return res.trim();
  19243. }
  19244. function normalizeProps(props) {
  19245. if (!props)
  19246. return null;
  19247. let { class: klass, style } = props;
  19248. if (klass && !isString(klass)) {
  19249. props.class = normalizeClass(klass);
  19250. }
  19251. if (style) {
  19252. props.style = normalizeStyle(style);
  19253. }
  19254. return props;
  19255. }
  19256. // These tag configs are shared between compiler-dom and runtime-dom, so they
  19257. // https://developer.mozilla.org/en-US/docs/Web/HTML/Element
  19258. const HTML_TAGS = 'html,body,base,head,link,meta,style,title,address,article,aside,footer,' +
  19259. 'header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,' +
  19260. 'figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,' +
  19261. 'data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,' +
  19262. 'time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,' +
  19263. 'canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,' +
  19264. 'th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,' +
  19265. 'option,output,progress,select,textarea,details,dialog,menu,' +
  19266. 'summary,template,blockquote,iframe,tfoot';
  19267. // https://developer.mozilla.org/en-US/docs/Web/SVG/Element
  19268. const SVG_TAGS = 'svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,' +
  19269. 'defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,' +
  19270. 'feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,' +
  19271. 'feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,' +
  19272. 'feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,' +
  19273. 'fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,' +
  19274. 'foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,' +
  19275. 'mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,' +
  19276. 'polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,' +
  19277. 'text,textPath,title,tspan,unknown,use,view';
  19278. const VOID_TAGS = 'area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr';
  19279. /**
  19280. * Compiler only.
  19281. * Do NOT use in runtime code paths unless behind `(process.env.NODE_ENV !== 'production')` flag.
  19282. */
  19283. const isHTMLTag = /*#__PURE__*/ makeMap(HTML_TAGS);
  19284. /**
  19285. * Compiler only.
  19286. * Do NOT use in runtime code paths unless behind `(process.env.NODE_ENV !== 'production')` flag.
  19287. */
  19288. const isSVGTag = /*#__PURE__*/ makeMap(SVG_TAGS);
  19289. /**
  19290. * Compiler only.
  19291. * Do NOT use in runtime code paths unless behind `(process.env.NODE_ENV !== 'production')` flag.
  19292. */
  19293. const isVoidTag = /*#__PURE__*/ makeMap(VOID_TAGS);
  19294. const escapeRE = /["'&<>]/;
  19295. function escapeHtml(string) {
  19296. const str = '' + string;
  19297. const match = escapeRE.exec(str);
  19298. if (!match) {
  19299. return str;
  19300. }
  19301. let html = '';
  19302. let escaped;
  19303. let index;
  19304. let lastIndex = 0;
  19305. for (index = match.index; index < str.length; index++) {
  19306. switch (str.charCodeAt(index)) {
  19307. case 34: // "
  19308. escaped = '&quot;';
  19309. break;
  19310. case 38: // &
  19311. escaped = '&amp;';
  19312. break;
  19313. case 39: // '
  19314. escaped = '&#39;';
  19315. break;
  19316. case 60: // <
  19317. escaped = '&lt;';
  19318. break;
  19319. case 62: // >
  19320. escaped = '&gt;';
  19321. break;
  19322. default:
  19323. continue;
  19324. }
  19325. if (lastIndex !== index) {
  19326. html += str.slice(lastIndex, index);
  19327. }
  19328. lastIndex = index + 1;
  19329. html += escaped;
  19330. }
  19331. return lastIndex !== index ? html + str.slice(lastIndex, index) : html;
  19332. }
  19333. // https://www.w3.org/TR/html52/syntax.html#comments
  19334. const commentStripRE = /^-?>|<!--|-->|--!>|<!-$/g;
  19335. function escapeHtmlComment(src) {
  19336. return src.replace(commentStripRE, '');
  19337. }
  19338. function looseCompareArrays(a, b) {
  19339. if (a.length !== b.length)
  19340. return false;
  19341. let equal = true;
  19342. for (let i = 0; equal && i < a.length; i++) {
  19343. equal = looseEqual(a[i], b[i]);
  19344. }
  19345. return equal;
  19346. }
  19347. function looseEqual(a, b) {
  19348. if (a === b)
  19349. return true;
  19350. let aValidType = isDate(a);
  19351. let bValidType = isDate(b);
  19352. if (aValidType || bValidType) {
  19353. return aValidType && bValidType ? a.getTime() === b.getTime() : false;
  19354. }
  19355. aValidType = isArray(a);
  19356. bValidType = isArray(b);
  19357. if (aValidType || bValidType) {
  19358. return aValidType && bValidType ? looseCompareArrays(a, b) : false;
  19359. }
  19360. aValidType = isObject(a);
  19361. bValidType = isObject(b);
  19362. if (aValidType || bValidType) {
  19363. /* istanbul ignore if: this if will probably never be called */
  19364. if (!aValidType || !bValidType) {
  19365. return false;
  19366. }
  19367. const aKeysCount = Object.keys(a).length;
  19368. const bKeysCount = Object.keys(b).length;
  19369. if (aKeysCount !== bKeysCount) {
  19370. return false;
  19371. }
  19372. for (const key in a) {
  19373. const aHasKey = a.hasOwnProperty(key);
  19374. const bHasKey = b.hasOwnProperty(key);
  19375. if ((aHasKey && !bHasKey) ||
  19376. (!aHasKey && bHasKey) ||
  19377. !looseEqual(a[key], b[key])) {
  19378. return false;
  19379. }
  19380. }
  19381. }
  19382. return String(a) === String(b);
  19383. }
  19384. function looseIndexOf(arr, val) {
  19385. return arr.findIndex(item => looseEqual(item, val));
  19386. }
  19387. /**
  19388. * For converting {{ interpolation }} values to displayed strings.
  19389. * @private
  19390. */
  19391. const toDisplayString = (val) => {
  19392. return isString(val)
  19393. ? val
  19394. : val == null
  19395. ? ''
  19396. : isArray(val) ||
  19397. (isObject(val) &&
  19398. (val.toString === objectToString || !isFunction(val.toString)))
  19399. ? JSON.stringify(val, replacer, 2)
  19400. : String(val);
  19401. };
  19402. const replacer = (_key, val) => {
  19403. // can't use isRef here since @vue/shared has no deps
  19404. if (val && val.__v_isRef) {
  19405. return replacer(_key, val.value);
  19406. }
  19407. else if (isMap(val)) {
  19408. return {
  19409. [`Map(${val.size})`]: [...val.entries()].reduce((entries, [key, val]) => {
  19410. entries[`${key} =>`] = val;
  19411. return entries;
  19412. }, {})
  19413. };
  19414. }
  19415. else if (isSet(val)) {
  19416. return {
  19417. [`Set(${val.size})`]: [...val.values()]
  19418. };
  19419. }
  19420. else if (isObject(val) && !isArray(val) && !isPlainObject(val)) {
  19421. return String(val);
  19422. }
  19423. return val;
  19424. };
  19425. const EMPTY_OBJ = ( true)
  19426. ? Object.freeze({})
  19427. : 0;
  19428. const EMPTY_ARR = ( true) ? Object.freeze([]) : 0;
  19429. const NOOP = () => { };
  19430. /**
  19431. * Always return false.
  19432. */
  19433. const NO = () => false;
  19434. const onRE = /^on[^a-z]/;
  19435. const isOn = (key) => onRE.test(key);
  19436. const isModelListener = (key) => key.startsWith('onUpdate:');
  19437. const extend = Object.assign;
  19438. const remove = (arr, el) => {
  19439. const i = arr.indexOf(el);
  19440. if (i > -1) {
  19441. arr.splice(i, 1);
  19442. }
  19443. };
  19444. const hasOwnProperty = Object.prototype.hasOwnProperty;
  19445. const hasOwn = (val, key) => hasOwnProperty.call(val, key);
  19446. const isArray = Array.isArray;
  19447. const isMap = (val) => toTypeString(val) === '[object Map]';
  19448. const isSet = (val) => toTypeString(val) === '[object Set]';
  19449. const isDate = (val) => val instanceof Date;
  19450. const isFunction = (val) => typeof val === 'function';
  19451. const isString = (val) => typeof val === 'string';
  19452. const isSymbol = (val) => typeof val === 'symbol';
  19453. const isObject = (val) => val !== null && typeof val === 'object';
  19454. const isPromise = (val) => {
  19455. return isObject(val) && isFunction(val.then) && isFunction(val.catch);
  19456. };
  19457. const objectToString = Object.prototype.toString;
  19458. const toTypeString = (value) => objectToString.call(value);
  19459. const toRawType = (value) => {
  19460. // extract "RawType" from strings like "[object RawType]"
  19461. return toTypeString(value).slice(8, -1);
  19462. };
  19463. const isPlainObject = (val) => toTypeString(val) === '[object Object]';
  19464. const isIntegerKey = (key) => isString(key) &&
  19465. key !== 'NaN' &&
  19466. key[0] !== '-' &&
  19467. '' + parseInt(key, 10) === key;
  19468. const isReservedProp = /*#__PURE__*/ makeMap(
  19469. // the leading comma is intentional so empty string "" is also included
  19470. ',key,ref,ref_for,ref_key,' +
  19471. 'onVnodeBeforeMount,onVnodeMounted,' +
  19472. 'onVnodeBeforeUpdate,onVnodeUpdated,' +
  19473. 'onVnodeBeforeUnmount,onVnodeUnmounted');
  19474. const isBuiltInDirective = /*#__PURE__*/ makeMap('bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo');
  19475. const cacheStringFunction = (fn) => {
  19476. const cache = Object.create(null);
  19477. return ((str) => {
  19478. const hit = cache[str];
  19479. return hit || (cache[str] = fn(str));
  19480. });
  19481. };
  19482. const camelizeRE = /-(\w)/g;
  19483. /**
  19484. * @private
  19485. */
  19486. const camelize = cacheStringFunction((str) => {
  19487. return str.replace(camelizeRE, (_, c) => (c ? c.toUpperCase() : ''));
  19488. });
  19489. const hyphenateRE = /\B([A-Z])/g;
  19490. /**
  19491. * @private
  19492. */
  19493. const hyphenate = cacheStringFunction((str) => str.replace(hyphenateRE, '-$1').toLowerCase());
  19494. /**
  19495. * @private
  19496. */
  19497. const capitalize = cacheStringFunction((str) => str.charAt(0).toUpperCase() + str.slice(1));
  19498. /**
  19499. * @private
  19500. */
  19501. const toHandlerKey = cacheStringFunction((str) => str ? `on${capitalize(str)}` : ``);
  19502. // compare whether a value has changed, accounting for NaN.
  19503. const hasChanged = (value, oldValue) => !Object.is(value, oldValue);
  19504. const invokeArrayFns = (fns, arg) => {
  19505. for (let i = 0; i < fns.length; i++) {
  19506. fns[i](arg);
  19507. }
  19508. };
  19509. const def = (obj, key, value) => {
  19510. Object.defineProperty(obj, key, {
  19511. configurable: true,
  19512. enumerable: false,
  19513. value
  19514. });
  19515. };
  19516. const toNumber = (val) => {
  19517. const n = parseFloat(val);
  19518. return isNaN(n) ? val : n;
  19519. };
  19520. let _globalThis;
  19521. const getGlobalThis = () => {
  19522. return (_globalThis ||
  19523. (_globalThis =
  19524. typeof globalThis !== 'undefined'
  19525. ? globalThis
  19526. : typeof self !== 'undefined'
  19527. ? self
  19528. : typeof window !== 'undefined'
  19529. ? window
  19530. : typeof __webpack_require__.g !== 'undefined'
  19531. ? __webpack_require__.g
  19532. : {}));
  19533. };
  19534. /***/ }),
  19535. /***/ "./node_modules/call-bind/callBound.js":
  19536. /*!*********************************************!*\
  19537. !*** ./node_modules/call-bind/callBound.js ***!
  19538. \*********************************************/
  19539. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  19540. "use strict";
  19541. var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "./node_modules/get-intrinsic/index.js");
  19542. var callBind = __webpack_require__(/*! ./ */ "./node_modules/call-bind/index.js");
  19543. var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
  19544. module.exports = function callBoundIntrinsic(name, allowMissing) {
  19545. var intrinsic = GetIntrinsic(name, !!allowMissing);
  19546. if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
  19547. return callBind(intrinsic);
  19548. }
  19549. return intrinsic;
  19550. };
  19551. /***/ }),
  19552. /***/ "./node_modules/call-bind/index.js":
  19553. /*!*****************************************!*\
  19554. !*** ./node_modules/call-bind/index.js ***!
  19555. \*****************************************/
  19556. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  19557. "use strict";
  19558. var bind = __webpack_require__(/*! function-bind */ "./node_modules/function-bind/index.js");
  19559. var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "./node_modules/get-intrinsic/index.js");
  19560. var $apply = GetIntrinsic('%Function.prototype.apply%');
  19561. var $call = GetIntrinsic('%Function.prototype.call%');
  19562. var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
  19563. var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
  19564. var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
  19565. var $max = GetIntrinsic('%Math.max%');
  19566. if ($defineProperty) {
  19567. try {
  19568. $defineProperty({}, 'a', { value: 1 });
  19569. } catch (e) {
  19570. // IE 8 has a broken defineProperty
  19571. $defineProperty = null;
  19572. }
  19573. }
  19574. module.exports = function callBind(originalFunction) {
  19575. var func = $reflectApply(bind, $call, arguments);
  19576. if ($gOPD && $defineProperty) {
  19577. var desc = $gOPD(func, 'length');
  19578. if (desc.configurable) {
  19579. // original length, plus the receiver, minus any additional arguments (after the receiver)
  19580. $defineProperty(
  19581. func,
  19582. 'length',
  19583. { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
  19584. );
  19585. }
  19586. }
  19587. return func;
  19588. };
  19589. var applyBind = function applyBind() {
  19590. return $reflectApply(bind, $apply, arguments);
  19591. };
  19592. if ($defineProperty) {
  19593. $defineProperty(module.exports, 'apply', { value: applyBind });
  19594. } else {
  19595. module.exports.apply = applyBind;
  19596. }
  19597. /***/ }),
  19598. /***/ "./node_modules/css-loader/dist/cjs.js??clonedRuleSet-11.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-11.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-11.use[3]!./resources/js/assets/styles/layout.scss":
  19599. /*!**************************************************************************************************************************************************************************************************************************************************!*\
  19600. !*** ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-11.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-11.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-11.use[3]!./resources/js/assets/styles/layout.scss ***!
  19601. \**************************************************************************************************************************************************************************************************************************************************/
  19602. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  19603. "use strict";
  19604. __webpack_require__.r(__webpack_exports__);
  19605. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  19606. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  19607. /* harmony export */ });
  19608. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js");
  19609. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);
  19610. // Imports
  19611. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
  19612. // Module
  19613. ___CSS_LOADER_EXPORT___.push([module.id, "/* General */\n.preloader {\n position: fixed;\n z-index: 999999;\n background: #edf1f5;\n width: 100%;\n height: 100%;\n}\n\n.preloader-content {\n border: 0 solid transparent;\n border-radius: 50%;\n width: 150px;\n height: 150px;\n position: absolute;\n top: calc(50vh - 75px);\n left: calc(50vw - 75px);\n}\n\n.preloader-content:before, .preloader-content:after {\n content: \"\";\n border: 1em solid var(--primary-color);\n border-radius: 50%;\n width: inherit;\n height: inherit;\n position: absolute;\n top: 0;\n left: 0;\n -webkit-animation: loader 2s linear infinite;\n animation: loader 2s linear infinite;\n opacity: 0;\n}\n\n.preloader-content:before {\n -webkit-animation-delay: 0.5s;\n animation-delay: 0.5s;\n}\n\n@-webkit-keyframes loader {\n 0% {\n transform: scale(0);\n opacity: 0;\n }\n 50% {\n opacity: 1;\n }\n 100% {\n transform: scale(1);\n opacity: 0;\n }\n}\n\n@keyframes loader {\n 0% {\n transform: scale(0);\n opacity: 0;\n }\n 50% {\n opacity: 1;\n }\n 100% {\n transform: scale(1);\n opacity: 0;\n }\n}\n* {\n box-sizing: border-box;\n}\n\nhtml {\n height: 100%;\n font-size: 14px;\n}\n\nbody {\n font-family: var(--font-family);\n color: var(--text-color);\n background-color: var(--surface-ground);\n margin: 0;\n padding: 0;\n min-height: 100%;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\na {\n text-decoration: none;\n color: var(--primary-color);\n}\n\n.layout-theme-light {\n background-color: #edf1f5;\n}\n\n.layout-topbar {\n position: fixed;\n height: 5rem;\n z-index: 997;\n left: 0;\n top: 0;\n width: 100%;\n padding: 0 2rem;\n background-color: var(--surface-card);\n transition: left 0.2s;\n display: flex;\n align-items: center;\n box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.02), 0px 0px 2px rgba(0, 0, 0, 0.05), 0px 1px 4px rgba(0, 0, 0, 0.08);\n}\n.layout-topbar .layout-topbar-logo {\n display: flex;\n align-items: center;\n color: var(--surface-900);\n font-size: 1.5rem;\n font-weight: 500;\n width: 300px;\n border-radius: 12px;\n}\n.layout-topbar .layout-topbar-logo img {\n height: 2.5rem;\n margin-right: 0.5rem;\n}\n.layout-topbar .layout-topbar-logo:focus {\n outline: 0 none;\n outline-offset: 0;\n transition: box-shadow 0.2s;\n box-shadow: var(--focus-ring);\n}\n.layout-topbar .layout-topbar-button {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n position: relative;\n color: var(--text-color-secondary);\n border-radius: 50%;\n width: 3rem;\n height: 3rem;\n cursor: pointer;\n transition: background-color 0.2s;\n}\n.layout-topbar .layout-topbar-button:hover {\n color: var(--text-color);\n background-color: var(--surface-hover);\n}\n.layout-topbar .layout-topbar-button:focus {\n outline: 0 none;\n outline-offset: 0;\n transition: box-shadow 0.2s;\n box-shadow: var(--focus-ring);\n}\n.layout-topbar .layout-topbar-button i {\n font-size: 1.5rem;\n}\n.layout-topbar .layout-topbar-button span {\n font-size: 1rem;\n display: none;\n}\n.layout-topbar .layout-menu-button {\n margin-left: 2rem;\n}\n.layout-topbar .layout-topbar-menu-button {\n display: none;\n}\n.layout-topbar .layout-topbar-menu-button i {\n font-size: 1.25rem;\n}\n.layout-topbar .layout-topbar-menu {\n margin: 0 0 0 auto;\n padding: 0;\n list-style: none;\n display: flex;\n}\n.layout-topbar .layout-topbar-menu .layout-topbar-button {\n margin-left: 1rem;\n}\n\n@media (max-width: 991px) {\n .layout-topbar {\n justify-content: space-between;\n }\n .layout-topbar .layout-topbar-logo {\n width: auto;\n order: 2;\n }\n .layout-topbar .layout-menu-button {\n margin-left: 0;\n order: 1;\n }\n .layout-topbar .layout-topbar-menu-button {\n display: inline-flex;\n margin-left: 0;\n order: 3;\n }\n .layout-topbar .layout-topbar-menu {\n margin-left: 0;\n position: absolute;\n flex-direction: column;\n background-color: var(--surface-overlay);\n box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.02), 0px 0px 2px rgba(0, 0, 0, 0.05), 0px 1px 4px rgba(0, 0, 0, 0.08);\n border-radius: 12px;\n padding: 1rem;\n right: 2rem;\n top: 5rem;\n min-width: 15rem;\n }\n .layout-topbar .layout-topbar-menu .layout-topbar-button {\n margin-left: 0;\n display: flex;\n width: 100%;\n height: auto;\n justify-content: flex-start;\n border-radius: 12px;\n padding: 1rem;\n }\n .layout-topbar .layout-topbar-menu .layout-topbar-button i {\n font-size: 1rem;\n margin-right: 0.5rem;\n }\n .layout-topbar .layout-topbar-menu .layout-topbar-button span {\n font-weight: medium;\n display: block;\n }\n}\n.layout-sidebar {\n position: fixed;\n width: 300px;\n height: calc(100vh - 9rem);\n z-index: 999;\n overflow-y: auto;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n top: 7rem;\n left: 2rem;\n transition: transform 0.2s, left 0.2s;\n background-color: var(--surface-overlay);\n border-radius: 12px;\n padding: 1.5rem;\n box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.02), 0px 0px 2px rgba(0, 0, 0, 0.05), 0px 1px 4px rgba(0, 0, 0, 0.08);\n}\n\n.layout-menu {\n list-style-type: none;\n margin: 0;\n padding: 0;\n}\n.layout-menu li.layout-menuitem-category {\n margin-top: 0.75rem;\n}\n.layout-menu li.layout-menuitem-category:first-child {\n margin-top: 0;\n}\n.layout-menu li .layout-menuitem-root-text {\n text-transform: uppercase;\n color: var(--surface-900);\n font-weight: 600;\n margin-bottom: 0.5rem;\n font-size: 0.875rem;\n}\n.layout-menu li a {\n cursor: pointer;\n text-decoration: none;\n display: flex;\n align-items: center;\n color: var(--text-color);\n transition: color 0.2s;\n border-radius: 12px;\n padding: 0.75rem 1rem;\n transition: background-color 0.15s;\n}\n.layout-menu li a span {\n margin-left: 0.5rem;\n}\n.layout-menu li a .menuitem-toggle-icon {\n margin-left: auto;\n}\n.layout-menu li a:focus {\n outline: 0 none;\n outline-offset: 0;\n transition: box-shadow 0.2s;\n box-shadow: inset var(--focus-ring);\n}\n.layout-menu li a:hover {\n background-color: var(--surface-hover);\n}\n.layout-menu li a.router-link-exact-active {\n font-weight: 700;\n color: var(--primary-color);\n}\n.layout-menu li a .p-badge {\n margin-left: auto;\n}\n.layout-menu li.active-menuitem > a .menuitem-toggle-icon:before {\n content: \"\\e933\";\n}\n.layout-menu li ul {\n list-style-type: none;\n margin: 0;\n padding: 0;\n}\n.layout-menu li ul.layout-submenu-wrapper-enter-from, .layout-menu li ul.layout-submenu-wrapper-leave-to {\n max-height: 0;\n}\n.layout-menu li ul.layout-submenu-wrapper-enter-to, .layout-menu li ul.layout-submenu-wrapper-leave-from {\n max-height: 1000px;\n}\n.layout-menu li ul.layout-submenu-wrapper-leave-active {\n overflow: hidden;\n transition: max-height 0.45s cubic-bezier(0, 1, 0, 1);\n}\n.layout-menu li ul.layout-submenu-wrapper-enter-active {\n overflow: hidden;\n transition: max-height 1s ease-in-out;\n}\n.layout-menu li ul ul {\n padding-left: 1rem;\n}\n\n.layout-main-container {\n display: flex;\n flex-direction: column;\n min-height: 100vh;\n justify-content: space-between;\n padding: 7rem 2rem 2rem 4rem;\n transition: margin-left 0.2s;\n}\n\n.layout-main {\n flex: 1 1 auto;\n}\n\n.layout-footer {\n transition: margin-left 0.2s;\n display: flex;\n align-items: center;\n justify-content: center;\n padding-top: 1rem;\n border-top: 1px solid var(--surface-border);\n}\n\n@media (min-width: 992px) {\n .layout-wrapper.layout-overlay .layout-main-container {\n margin-left: 0;\n padding-left: 2rem;\n }\n .layout-wrapper.layout-overlay .layout-sidebar {\n transform: translateX(-100%);\n left: 0;\n top: 0;\n height: 100vh;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n .layout-wrapper.layout-overlay.layout-overlay-sidebar-active .layout-sidebar {\n transform: translateX(0);\n }\n .layout-wrapper.layout-static .layout-main-container {\n margin-left: 300px;\n }\n .layout-wrapper.layout-static.layout-static-sidebar-inactive .layout-sidebar {\n transform: translateX(-100%);\n left: 0;\n }\n .layout-wrapper.layout-static.layout-static-sidebar-inactive .layout-main-container {\n margin-left: 0;\n padding-left: 2rem;\n }\n .layout-wrapper .layout-mask {\n display: none;\n }\n}\n@media (max-width: 991px) {\n .layout-wrapper .layout-main-container {\n margin-left: 0;\n padding-left: 2rem;\n }\n .layout-wrapper .layout-sidebar {\n transform: translateX(-100%);\n left: 0;\n top: 0;\n height: 100vh;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n .layout-wrapper .layout-mask {\n z-index: 998;\n background-color: var(--maskbg);\n }\n .layout-wrapper .layout-mask.layout-mask-enter-from, .layout-wrapper .layout-mask.layout-mask-leave-to {\n background-color: transparent;\n }\n .layout-wrapper.layout-mobile-sidebar-active .layout-sidebar {\n transform: translateX(0);\n }\n .layout-wrapper.layout-mobile-sidebar-active .layout-mask {\n display: block;\n }\n\n .body-overflow-hidden {\n overflow: hidden;\n }\n}\n.card {\n background-color: var(--surface-card);\n padding: 1.5rem;\n color: var(--surface-900);\n margin-bottom: 1rem;\n border-radius: 12px;\n box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.02), 0px 0px 2px rgba(0, 0, 0, 0.05), 0px 1px 4px rgba(0, 0, 0, 0.08) !important;\n}\n.card.card-w-title {\n padding-bottom: 2rem;\n}\n\nh1, h2, h3, h4, h5, h6 {\n margin: 1.5rem 0 1rem 0;\n font-family: inherit;\n font-weight: 500;\n line-height: 1.2;\n color: inherit;\n}\nh1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {\n margin-top: 0;\n}\n\nh1 {\n font-size: 2.5rem;\n}\n\nh2 {\n font-size: 2rem;\n}\n\nh3 {\n font-size: 1.75rem;\n}\n\nh4 {\n font-size: 1.5rem;\n}\n\nh5 {\n font-size: 1.25rem;\n}\n\nh6 {\n font-size: 1rem;\n}\n\nmark {\n background: #FFF8E1;\n padding: 0.25rem 0.4rem;\n border-radius: 12px;\n font-family: monospace;\n}\n\nblockquote {\n margin: 1rem 0;\n padding: 0 2rem;\n border-left: 4px solid #90A4AE;\n}\n\nhr {\n border-top: solid var(--surface-border);\n border-width: 1px 0 0 0;\n margin: 1rem 0;\n}\n\np {\n margin: 0 0 1rem 0;\n line-height: 1.5;\n}\np:last-child {\n margin-bottom: 0;\n}", ""]);
  19614. // Exports
  19615. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  19616. /***/ }),
  19617. /***/ "./node_modules/css-loader/dist/cjs.js??clonedRuleSet-8.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-8.use[2]!./node_modules/primeflex/primeflex.css":
  19618. /*!******************************************************************************************************************************************************************************!*\
  19619. !*** ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-8.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-8.use[2]!./node_modules/primeflex/primeflex.css ***!
  19620. \******************************************************************************************************************************************************************************/
  19621. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  19622. "use strict";
  19623. __webpack_require__.r(__webpack_exports__);
  19624. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  19625. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  19626. /* harmony export */ });
  19627. /* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js");
  19628. /* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);
  19629. // Imports
  19630. var ___CSS_LOADER_EXPORT___ = _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
  19631. // Module
  19632. ___CSS_LOADER_EXPORT___.push([module.id, ".grid {\n display: flex;\n flex-wrap: wrap;\n margin-right: -0.5rem;\n margin-left: -0.5rem;\n margin-top: -0.5rem;\n}\n\n.grid > .col,\n.grid > [class*=col] {\n box-sizing: border-box;\n}\n\n.grid-nogutter {\n margin-right: 0;\n margin-left: 0;\n margin-top: 0;\n}\n\n.grid-nogutter > .col,\n.grid-nogutter > [class*=col-] {\n padding: 0;\n}\n\n.col {\n flex-grow: 1;\n flex-basis: 0;\n padding: 0.5rem;\n}\n\n.col-fixed {\n flex: 0 0 auto;\n padding: 0.5rem;\n}\n\n.col-1 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 8.3333%;\n}\n\n.col-2 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 16.6667%;\n}\n\n.col-3 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 25%;\n}\n\n.col-4 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 33.3333%;\n}\n\n.col-5 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 41.6667%;\n}\n\n.col-6 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 50%;\n}\n\n.col-7 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 58.3333%;\n}\n\n.col-8 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 66.6667%;\n}\n\n.col-9 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 75%;\n}\n\n.col-10 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 83.3333%;\n}\n\n.col-11 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 91.6667%;\n}\n\n.col-12 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 100%;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:col-1 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 8.3333%;\n }\n .sm\\:col-2 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 16.6667%;\n }\n .sm\\:col-3 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 25%;\n }\n .sm\\:col-4 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 33.3333%;\n }\n .sm\\:col-5 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 41.6667%;\n }\n .sm\\:col-6 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 50%;\n }\n .sm\\:col-7 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 58.3333%;\n }\n .sm\\:col-8 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 66.6667%;\n }\n .sm\\:col-9 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 75%;\n }\n .sm\\:col-10 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 83.3333%;\n }\n .sm\\:col-11 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 91.6667%;\n }\n .sm\\:col-12 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 100%;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:col-1 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 8.3333%;\n }\n .md\\:col-2 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 16.6667%;\n }\n .md\\:col-3 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 25%;\n }\n .md\\:col-4 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 33.3333%;\n }\n .md\\:col-5 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 41.6667%;\n }\n .md\\:col-6 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 50%;\n }\n .md\\:col-7 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 58.3333%;\n }\n .md\\:col-8 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 66.6667%;\n }\n .md\\:col-9 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 75%;\n }\n .md\\:col-10 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 83.3333%;\n }\n .md\\:col-11 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 91.6667%;\n }\n .md\\:col-12 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 100%;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:col-1 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 8.3333%;\n }\n .lg\\:col-2 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 16.6667%;\n }\n .lg\\:col-3 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 25%;\n }\n .lg\\:col-4 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 33.3333%;\n }\n .lg\\:col-5 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 41.6667%;\n }\n .lg\\:col-6 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 50%;\n }\n .lg\\:col-7 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 58.3333%;\n }\n .lg\\:col-8 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 66.6667%;\n }\n .lg\\:col-9 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 75%;\n }\n .lg\\:col-10 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 83.3333%;\n }\n .lg\\:col-11 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 91.6667%;\n }\n .lg\\:col-12 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 100%;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:col-1 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 8.3333%;\n }\n .xl\\:col-2 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 16.6667%;\n }\n .xl\\:col-3 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 25%;\n }\n .xl\\:col-4 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 33.3333%;\n }\n .xl\\:col-5 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 41.6667%;\n }\n .xl\\:col-6 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 50%;\n }\n .xl\\:col-7 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 58.3333%;\n }\n .xl\\:col-8 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 66.6667%;\n }\n .xl\\:col-9 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 75%;\n }\n .xl\\:col-10 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 83.3333%;\n }\n .xl\\:col-11 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 91.6667%;\n }\n .xl\\:col-12 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 100%;\n }\n}\n.col-offset-0 {\n margin-left: 0 !important;\n}\n\n.col-offset-1 {\n margin-left: 8.3333% !important;\n}\n\n.col-offset-2 {\n margin-left: 16.6667% !important;\n}\n\n.col-offset-3 {\n margin-left: 25% !important;\n}\n\n.col-offset-4 {\n margin-left: 33.3333% !important;\n}\n\n.col-offset-5 {\n margin-left: 41.6667% !important;\n}\n\n.col-offset-6 {\n margin-left: 50% !important;\n}\n\n.col-offset-7 {\n margin-left: 58.3333% !important;\n}\n\n.col-offset-8 {\n margin-left: 66.6667% !important;\n}\n\n.col-offset-9 {\n margin-left: 75% !important;\n}\n\n.col-offset-10 {\n margin-left: 83.3333% !important;\n}\n\n.col-offset-11 {\n margin-left: 91.6667% !important;\n}\n\n.col-offset-12 {\n margin-left: 100% !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:col-offset-0 {\n margin-left: 0 !important;\n }\n .sm\\:col-offset-1 {\n margin-left: 8.3333% !important;\n }\n .sm\\:col-offset-2 {\n margin-left: 16.6667% !important;\n }\n .sm\\:col-offset-3 {\n margin-left: 25% !important;\n }\n .sm\\:col-offset-4 {\n margin-left: 33.3333% !important;\n }\n .sm\\:col-offset-5 {\n margin-left: 41.6667% !important;\n }\n .sm\\:col-offset-6 {\n margin-left: 50% !important;\n }\n .sm\\:col-offset-7 {\n margin-left: 58.3333% !important;\n }\n .sm\\:col-offset-8 {\n margin-left: 66.6667% !important;\n }\n .sm\\:col-offset-9 {\n margin-left: 75% !important;\n }\n .sm\\:col-offset-10 {\n margin-left: 83.3333% !important;\n }\n .sm\\:col-offset-11 {\n margin-left: 91.6667% !important;\n }\n .sm\\:col-offset-12 {\n margin-left: 100% !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:col-offset-0 {\n margin-left: 0 !important;\n }\n .md\\:col-offset-1 {\n margin-left: 8.3333% !important;\n }\n .md\\:col-offset-2 {\n margin-left: 16.6667% !important;\n }\n .md\\:col-offset-3 {\n margin-left: 25% !important;\n }\n .md\\:col-offset-4 {\n margin-left: 33.3333% !important;\n }\n .md\\:col-offset-5 {\n margin-left: 41.6667% !important;\n }\n .md\\:col-offset-6 {\n margin-left: 50% !important;\n }\n .md\\:col-offset-7 {\n margin-left: 58.3333% !important;\n }\n .md\\:col-offset-8 {\n margin-left: 66.6667% !important;\n }\n .md\\:col-offset-9 {\n margin-left: 75% !important;\n }\n .md\\:col-offset-10 {\n margin-left: 83.3333% !important;\n }\n .md\\:col-offset-11 {\n margin-left: 91.6667% !important;\n }\n .md\\:col-offset-12 {\n margin-left: 100% !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:col-offset-0 {\n margin-left: 0 !important;\n }\n .lg\\:col-offset-1 {\n margin-left: 8.3333% !important;\n }\n .lg\\:col-offset-2 {\n margin-left: 16.6667% !important;\n }\n .lg\\:col-offset-3 {\n margin-left: 25% !important;\n }\n .lg\\:col-offset-4 {\n margin-left: 33.3333% !important;\n }\n .lg\\:col-offset-5 {\n margin-left: 41.6667% !important;\n }\n .lg\\:col-offset-6 {\n margin-left: 50% !important;\n }\n .lg\\:col-offset-7 {\n margin-left: 58.3333% !important;\n }\n .lg\\:col-offset-8 {\n margin-left: 66.6667% !important;\n }\n .lg\\:col-offset-9 {\n margin-left: 75% !important;\n }\n .lg\\:col-offset-10 {\n margin-left: 83.3333% !important;\n }\n .lg\\:col-offset-11 {\n margin-left: 91.6667% !important;\n }\n .lg\\:col-offset-12 {\n margin-left: 100% !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:col-offset-0 {\n margin-left: 0 !important;\n }\n .xl\\:col-offset-1 {\n margin-left: 8.3333% !important;\n }\n .xl\\:col-offset-2 {\n margin-left: 16.6667% !important;\n }\n .xl\\:col-offset-3 {\n margin-left: 25% !important;\n }\n .xl\\:col-offset-4 {\n margin-left: 33.3333% !important;\n }\n .xl\\:col-offset-5 {\n margin-left: 41.6667% !important;\n }\n .xl\\:col-offset-6 {\n margin-left: 50% !important;\n }\n .xl\\:col-offset-7 {\n margin-left: 58.3333% !important;\n }\n .xl\\:col-offset-8 {\n margin-left: 66.6667% !important;\n }\n .xl\\:col-offset-9 {\n margin-left: 75% !important;\n }\n .xl\\:col-offset-10 {\n margin-left: 83.3333% !important;\n }\n .xl\\:col-offset-11 {\n margin-left: 91.6667% !important;\n }\n .xl\\:col-offset-12 {\n margin-left: 100% !important;\n }\n}\n.text-0 {\n color: var(--surface-0) !important;\n}\n\n.text-50 {\n color: var(--surface-50) !important;\n}\n\n.text-100 {\n color: var(--surface-100) !important;\n}\n\n.text-200 {\n color: var(--surface-200) !important;\n}\n\n.text-300 {\n color: var(--surface-300) !important;\n}\n\n.text-400 {\n color: var(--surface-400) !important;\n}\n\n.text-500 {\n color: var(--surface-500) !important;\n}\n\n.text-600 {\n color: var(--surface-600) !important;\n}\n\n.text-700 {\n color: var(--surface-700) !important;\n}\n\n.text-800 {\n color: var(--surface-800) !important;\n}\n\n.text-900 {\n color: var(--surface-900) !important;\n}\n\n.focus\\:text-0:focus {\n color: var(--surface-0) !important;\n}\n\n.hover\\:text-0:hover {\n color: var(--surface-0) !important;\n}\n\n.active\\:text-0:active {\n color: var(--surface-0) !important;\n}\n\n.focus\\:text-50:focus {\n color: var(--surface-50) !important;\n}\n\n.hover\\:text-50:hover {\n color: var(--surface-50) !important;\n}\n\n.active\\:text-50:active {\n color: var(--surface-50) !important;\n}\n\n.focus\\:text-100:focus {\n color: var(--surface-100) !important;\n}\n\n.hover\\:text-100:hover {\n color: var(--surface-100) !important;\n}\n\n.active\\:text-100:active {\n color: var(--surface-100) !important;\n}\n\n.focus\\:text-200:focus {\n color: var(--surface-200) !important;\n}\n\n.hover\\:text-200:hover {\n color: var(--surface-200) !important;\n}\n\n.active\\:text-200:active {\n color: var(--surface-200) !important;\n}\n\n.focus\\:text-300:focus {\n color: var(--surface-300) !important;\n}\n\n.hover\\:text-300:hover {\n color: var(--surface-300) !important;\n}\n\n.active\\:text-300:active {\n color: var(--surface-300) !important;\n}\n\n.focus\\:text-400:focus {\n color: var(--surface-400) !important;\n}\n\n.hover\\:text-400:hover {\n color: var(--surface-400) !important;\n}\n\n.active\\:text-400:active {\n color: var(--surface-400) !important;\n}\n\n.focus\\:text-500:focus {\n color: var(--surface-500) !important;\n}\n\n.hover\\:text-500:hover {\n color: var(--surface-500) !important;\n}\n\n.active\\:text-500:active {\n color: var(--surface-500) !important;\n}\n\n.focus\\:text-600:focus {\n color: var(--surface-600) !important;\n}\n\n.hover\\:text-600:hover {\n color: var(--surface-600) !important;\n}\n\n.active\\:text-600:active {\n color: var(--surface-600) !important;\n}\n\n.focus\\:text-700:focus {\n color: var(--surface-700) !important;\n}\n\n.hover\\:text-700:hover {\n color: var(--surface-700) !important;\n}\n\n.active\\:text-700:active {\n color: var(--surface-700) !important;\n}\n\n.focus\\:text-800:focus {\n color: var(--surface-800) !important;\n}\n\n.hover\\:text-800:hover {\n color: var(--surface-800) !important;\n}\n\n.active\\:text-800:active {\n color: var(--surface-800) !important;\n}\n\n.focus\\:text-900:focus {\n color: var(--surface-900) !important;\n}\n\n.hover\\:text-900:hover {\n color: var(--surface-900) !important;\n}\n\n.active\\:text-900:active {\n color: var(--surface-900) !important;\n}\n\n.surface-0 {\n background-color: var(--surface-0) !important;\n}\n\n.surface-50 {\n background-color: var(--surface-50) !important;\n}\n\n.surface-100 {\n background-color: var(--surface-100) !important;\n}\n\n.surface-200 {\n background-color: var(--surface-200) !important;\n}\n\n.surface-300 {\n background-color: var(--surface-300) !important;\n}\n\n.surface-400 {\n background-color: var(--surface-400) !important;\n}\n\n.surface-500 {\n background-color: var(--surface-500) !important;\n}\n\n.surface-600 {\n background-color: var(--surface-600) !important;\n}\n\n.surface-700 {\n background-color: var(--surface-700) !important;\n}\n\n.surface-800 {\n background-color: var(--surface-800) !important;\n}\n\n.surface-900 {\n background-color: var(--surface-900) !important;\n}\n\n.focus\\:surface-0:focus {\n background-color: var(--surface-0) !important;\n}\n\n.hover\\:surface-0:hover {\n background-color: var(--surface-0) !important;\n}\n\n.active\\:surface-0:active {\n background-color: var(--surface-0) !important;\n}\n\n.focus\\:surface-50:focus {\n background-color: var(--surface-50) !important;\n}\n\n.hover\\:surface-50:hover {\n background-color: var(--surface-50) !important;\n}\n\n.active\\:surface-50:active {\n background-color: var(--surface-50) !important;\n}\n\n.focus\\:surface-100:focus {\n background-color: var(--surface-100) !important;\n}\n\n.hover\\:surface-100:hover {\n background-color: var(--surface-100) !important;\n}\n\n.active\\:surface-100:active {\n background-color: var(--surface-100) !important;\n}\n\n.focus\\:surface-200:focus {\n background-color: var(--surface-200) !important;\n}\n\n.hover\\:surface-200:hover {\n background-color: var(--surface-200) !important;\n}\n\n.active\\:surface-200:active {\n background-color: var(--surface-200) !important;\n}\n\n.focus\\:surface-300:focus {\n background-color: var(--surface-300) !important;\n}\n\n.hover\\:surface-300:hover {\n background-color: var(--surface-300) !important;\n}\n\n.active\\:surface-300:active {\n background-color: var(--surface-300) !important;\n}\n\n.focus\\:surface-400:focus {\n background-color: var(--surface-400) !important;\n}\n\n.hover\\:surface-400:hover {\n background-color: var(--surface-400) !important;\n}\n\n.active\\:surface-400:active {\n background-color: var(--surface-400) !important;\n}\n\n.focus\\:surface-500:focus {\n background-color: var(--surface-500) !important;\n}\n\n.hover\\:surface-500:hover {\n background-color: var(--surface-500) !important;\n}\n\n.active\\:surface-500:active {\n background-color: var(--surface-500) !important;\n}\n\n.focus\\:surface-600:focus {\n background-color: var(--surface-600) !important;\n}\n\n.hover\\:surface-600:hover {\n background-color: var(--surface-600) !important;\n}\n\n.active\\:surface-600:active {\n background-color: var(--surface-600) !important;\n}\n\n.focus\\:surface-700:focus {\n background-color: var(--surface-700) !important;\n}\n\n.hover\\:surface-700:hover {\n background-color: var(--surface-700) !important;\n}\n\n.active\\:surface-700:active {\n background-color: var(--surface-700) !important;\n}\n\n.focus\\:surface-800:focus {\n background-color: var(--surface-800) !important;\n}\n\n.hover\\:surface-800:hover {\n background-color: var(--surface-800) !important;\n}\n\n.active\\:surface-800:active {\n background-color: var(--surface-800) !important;\n}\n\n.focus\\:surface-900:focus {\n background-color: var(--surface-900) !important;\n}\n\n.hover\\:surface-900:hover {\n background-color: var(--surface-900) !important;\n}\n\n.active\\:surface-900:active {\n background-color: var(--surface-900) !important;\n}\n\n.border-0 {\n border-color: var(--surface-0) !important;\n}\n\n.border-50 {\n border-color: var(--surface-50) !important;\n}\n\n.border-100 {\n border-color: var(--surface-100) !important;\n}\n\n.border-200 {\n border-color: var(--surface-200) !important;\n}\n\n.border-300 {\n border-color: var(--surface-300) !important;\n}\n\n.border-400 {\n border-color: var(--surface-400) !important;\n}\n\n.border-500 {\n border-color: var(--surface-500) !important;\n}\n\n.border-600 {\n border-color: var(--surface-600) !important;\n}\n\n.border-700 {\n border-color: var(--surface-700) !important;\n}\n\n.border-800 {\n border-color: var(--surface-800) !important;\n}\n\n.border-900 {\n border-color: var(--surface-900) !important;\n}\n\n.focus\\:border-0:focus {\n border-color: var(--surface-0) !important;\n}\n\n.hover\\:border-0:hover {\n border-color: var(--surface-0) !important;\n}\n\n.active\\:border-0:active {\n border-color: var(--surface-0) !important;\n}\n\n.focus\\:border-50:focus {\n border-color: var(--surface-50) !important;\n}\n\n.hover\\:border-50:hover {\n border-color: var(--surface-50) !important;\n}\n\n.active\\:border-50:active {\n border-color: var(--surface-50) !important;\n}\n\n.focus\\:border-100:focus {\n border-color: var(--surface-100) !important;\n}\n\n.hover\\:border-100:hover {\n border-color: var(--surface-100) !important;\n}\n\n.active\\:border-100:active {\n border-color: var(--surface-100) !important;\n}\n\n.focus\\:border-200:focus {\n border-color: var(--surface-200) !important;\n}\n\n.hover\\:border-200:hover {\n border-color: var(--surface-200) !important;\n}\n\n.active\\:border-200:active {\n border-color: var(--surface-200) !important;\n}\n\n.focus\\:border-300:focus {\n border-color: var(--surface-300) !important;\n}\n\n.hover\\:border-300:hover {\n border-color: var(--surface-300) !important;\n}\n\n.active\\:border-300:active {\n border-color: var(--surface-300) !important;\n}\n\n.focus\\:border-400:focus {\n border-color: var(--surface-400) !important;\n}\n\n.hover\\:border-400:hover {\n border-color: var(--surface-400) !important;\n}\n\n.active\\:border-400:active {\n border-color: var(--surface-400) !important;\n}\n\n.focus\\:border-500:focus {\n border-color: var(--surface-500) !important;\n}\n\n.hover\\:border-500:hover {\n border-color: var(--surface-500) !important;\n}\n\n.active\\:border-500:active {\n border-color: var(--surface-500) !important;\n}\n\n.focus\\:border-600:focus {\n border-color: var(--surface-600) !important;\n}\n\n.hover\\:border-600:hover {\n border-color: var(--surface-600) !important;\n}\n\n.active\\:border-600:active {\n border-color: var(--surface-600) !important;\n}\n\n.focus\\:border-700:focus {\n border-color: var(--surface-700) !important;\n}\n\n.hover\\:border-700:hover {\n border-color: var(--surface-700) !important;\n}\n\n.active\\:border-700:active {\n border-color: var(--surface-700) !important;\n}\n\n.focus\\:border-800:focus {\n border-color: var(--surface-800) !important;\n}\n\n.hover\\:border-800:hover {\n border-color: var(--surface-800) !important;\n}\n\n.active\\:border-800:active {\n border-color: var(--surface-800) !important;\n}\n\n.focus\\:border-900:focus {\n border-color: var(--surface-900) !important;\n}\n\n.hover\\:border-900:hover {\n border-color: var(--surface-900) !important;\n}\n\n.active\\:border-900:active {\n border-color: var(--surface-900) !important;\n}\n\n.bg-transparent {\n background-color: transparent !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:bg-transparent {\n background-color: transparent !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:bg-transparent {\n background-color: transparent !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:bg-transparent {\n background-color: transparent !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:bg-transparent {\n background-color: transparent !important;\n }\n}\n.border-transparent {\n border-color: transparent !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:border-transparent {\n border-color: transparent !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:border-transparent {\n border-color: transparent !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:border-transparent {\n border-color: transparent !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:border-transparent {\n border-color: transparent !important;\n }\n}\n.text-blue-50 {\n color: var(--blue-50) !important;\n}\n.text-blue-100 {\n color: var(--blue-100) !important;\n}\n.text-blue-200 {\n color: var(--blue-200) !important;\n}\n.text-blue-300 {\n color: var(--blue-300) !important;\n}\n.text-blue-400 {\n color: var(--blue-400) !important;\n}\n.text-blue-500 {\n color: var(--blue-500) !important;\n}\n.text-blue-600 {\n color: var(--blue-600) !important;\n}\n.text-blue-700 {\n color: var(--blue-700) !important;\n}\n.text-blue-800 {\n color: var(--blue-800) !important;\n}\n.text-blue-900 {\n color: var(--blue-900) !important;\n}\n\n.focus\\:text-blue-50:focus {\n color: var(--blue-50) !important;\n}\n.focus\\:text-blue-100:focus {\n color: var(--blue-100) !important;\n}\n.focus\\:text-blue-200:focus {\n color: var(--blue-200) !important;\n}\n.focus\\:text-blue-300:focus {\n color: var(--blue-300) !important;\n}\n.focus\\:text-blue-400:focus {\n color: var(--blue-400) !important;\n}\n.focus\\:text-blue-500:focus {\n color: var(--blue-500) !important;\n}\n.focus\\:text-blue-600:focus {\n color: var(--blue-600) !important;\n}\n.focus\\:text-blue-700:focus {\n color: var(--blue-700) !important;\n}\n.focus\\:text-blue-800:focus {\n color: var(--blue-800) !important;\n}\n.focus\\:text-blue-900:focus {\n color: var(--blue-900) !important;\n}\n\n.hover\\:text-blue-50:hover {\n color: var(--blue-50) !important;\n}\n.hover\\:text-blue-100:hover {\n color: var(--blue-100) !important;\n}\n.hover\\:text-blue-200:hover {\n color: var(--blue-200) !important;\n}\n.hover\\:text-blue-300:hover {\n color: var(--blue-300) !important;\n}\n.hover\\:text-blue-400:hover {\n color: var(--blue-400) !important;\n}\n.hover\\:text-blue-500:hover {\n color: var(--blue-500) !important;\n}\n.hover\\:text-blue-600:hover {\n color: var(--blue-600) !important;\n}\n.hover\\:text-blue-700:hover {\n color: var(--blue-700) !important;\n}\n.hover\\:text-blue-800:hover {\n color: var(--blue-800) !important;\n}\n.hover\\:text-blue-900:hover {\n color: var(--blue-900) !important;\n}\n\n.active\\:text-blue-50:active {\n color: var(--blue-50) !important;\n}\n.active\\:text-blue-100:active {\n color: var(--blue-100) !important;\n}\n.active\\:text-blue-200:active {\n color: var(--blue-200) !important;\n}\n.active\\:text-blue-300:active {\n color: var(--blue-300) !important;\n}\n.active\\:text-blue-400:active {\n color: var(--blue-400) !important;\n}\n.active\\:text-blue-500:active {\n color: var(--blue-500) !important;\n}\n.active\\:text-blue-600:active {\n color: var(--blue-600) !important;\n}\n.active\\:text-blue-700:active {\n color: var(--blue-700) !important;\n}\n.active\\:text-blue-800:active {\n color: var(--blue-800) !important;\n}\n.active\\:text-blue-900:active {\n color: var(--blue-900) !important;\n}\n\n.text-green-50 {\n color: var(--green-50) !important;\n}\n.text-green-100 {\n color: var(--green-100) !important;\n}\n.text-green-200 {\n color: var(--green-200) !important;\n}\n.text-green-300 {\n color: var(--green-300) !important;\n}\n.text-green-400 {\n color: var(--green-400) !important;\n}\n.text-green-500 {\n color: var(--green-500) !important;\n}\n.text-green-600 {\n color: var(--green-600) !important;\n}\n.text-green-700 {\n color: var(--green-700) !important;\n}\n.text-green-800 {\n color: var(--green-800) !important;\n}\n.text-green-900 {\n color: var(--green-900) !important;\n}\n\n.focus\\:text-green-50:focus {\n color: var(--green-50) !important;\n}\n.focus\\:text-green-100:focus {\n color: var(--green-100) !important;\n}\n.focus\\:text-green-200:focus {\n color: var(--green-200) !important;\n}\n.focus\\:text-green-300:focus {\n color: var(--green-300) !important;\n}\n.focus\\:text-green-400:focus {\n color: var(--green-400) !important;\n}\n.focus\\:text-green-500:focus {\n color: var(--green-500) !important;\n}\n.focus\\:text-green-600:focus {\n color: var(--green-600) !important;\n}\n.focus\\:text-green-700:focus {\n color: var(--green-700) !important;\n}\n.focus\\:text-green-800:focus {\n color: var(--green-800) !important;\n}\n.focus\\:text-green-900:focus {\n color: var(--green-900) !important;\n}\n\n.hover\\:text-green-50:hover {\n color: var(--green-50) !important;\n}\n.hover\\:text-green-100:hover {\n color: var(--green-100) !important;\n}\n.hover\\:text-green-200:hover {\n color: var(--green-200) !important;\n}\n.hover\\:text-green-300:hover {\n color: var(--green-300) !important;\n}\n.hover\\:text-green-400:hover {\n color: var(--green-400) !important;\n}\n.hover\\:text-green-500:hover {\n color: var(--green-500) !important;\n}\n.hover\\:text-green-600:hover {\n color: var(--green-600) !important;\n}\n.hover\\:text-green-700:hover {\n color: var(--green-700) !important;\n}\n.hover\\:text-green-800:hover {\n color: var(--green-800) !important;\n}\n.hover\\:text-green-900:hover {\n color: var(--green-900) !important;\n}\n\n.active\\:text-green-50:active {\n color: var(--green-50) !important;\n}\n.active\\:text-green-100:active {\n color: var(--green-100) !important;\n}\n.active\\:text-green-200:active {\n color: var(--green-200) !important;\n}\n.active\\:text-green-300:active {\n color: var(--green-300) !important;\n}\n.active\\:text-green-400:active {\n color: var(--green-400) !important;\n}\n.active\\:text-green-500:active {\n color: var(--green-500) !important;\n}\n.active\\:text-green-600:active {\n color: var(--green-600) !important;\n}\n.active\\:text-green-700:active {\n color: var(--green-700) !important;\n}\n.active\\:text-green-800:active {\n color: var(--green-800) !important;\n}\n.active\\:text-green-900:active {\n color: var(--green-900) !important;\n}\n\n.text-yellow-50 {\n color: var(--yellow-50) !important;\n}\n.text-yellow-100 {\n color: var(--yellow-100) !important;\n}\n.text-yellow-200 {\n color: var(--yellow-200) !important;\n}\n.text-yellow-300 {\n color: var(--yellow-300) !important;\n}\n.text-yellow-400 {\n color: var(--yellow-400) !important;\n}\n.text-yellow-500 {\n color: var(--yellow-500) !important;\n}\n.text-yellow-600 {\n color: var(--yellow-600) !important;\n}\n.text-yellow-700 {\n color: var(--yellow-700) !important;\n}\n.text-yellow-800 {\n color: var(--yellow-800) !important;\n}\n.text-yellow-900 {\n color: var(--yellow-900) !important;\n}\n\n.focus\\:text-yellow-50:focus {\n color: var(--yellow-50) !important;\n}\n.focus\\:text-yellow-100:focus {\n color: var(--yellow-100) !important;\n}\n.focus\\:text-yellow-200:focus {\n color: var(--yellow-200) !important;\n}\n.focus\\:text-yellow-300:focus {\n color: var(--yellow-300) !important;\n}\n.focus\\:text-yellow-400:focus {\n color: var(--yellow-400) !important;\n}\n.focus\\:text-yellow-500:focus {\n color: var(--yellow-500) !important;\n}\n.focus\\:text-yellow-600:focus {\n color: var(--yellow-600) !important;\n}\n.focus\\:text-yellow-700:focus {\n color: var(--yellow-700) !important;\n}\n.focus\\:text-yellow-800:focus {\n color: var(--yellow-800) !important;\n}\n.focus\\:text-yellow-900:focus {\n color: var(--yellow-900) !important;\n}\n\n.hover\\:text-yellow-50:hover {\n color: var(--yellow-50) !important;\n}\n.hover\\:text-yellow-100:hover {\n color: var(--yellow-100) !important;\n}\n.hover\\:text-yellow-200:hover {\n color: var(--yellow-200) !important;\n}\n.hover\\:text-yellow-300:hover {\n color: var(--yellow-300) !important;\n}\n.hover\\:text-yellow-400:hover {\n color: var(--yellow-400) !important;\n}\n.hover\\:text-yellow-500:hover {\n color: var(--yellow-500) !important;\n}\n.hover\\:text-yellow-600:hover {\n color: var(--yellow-600) !important;\n}\n.hover\\:text-yellow-700:hover {\n color: var(--yellow-700) !important;\n}\n.hover\\:text-yellow-800:hover {\n color: var(--yellow-800) !important;\n}\n.hover\\:text-yellow-900:hover {\n color: var(--yellow-900) !important;\n}\n\n.active\\:text-yellow-50:active {\n color: var(--yellow-50) !important;\n}\n.active\\:text-yellow-100:active {\n color: var(--yellow-100) !important;\n}\n.active\\:text-yellow-200:active {\n color: var(--yellow-200) !important;\n}\n.active\\:text-yellow-300:active {\n color: var(--yellow-300) !important;\n}\n.active\\:text-yellow-400:active {\n color: var(--yellow-400) !important;\n}\n.active\\:text-yellow-500:active {\n color: var(--yellow-500) !important;\n}\n.active\\:text-yellow-600:active {\n color: var(--yellow-600) !important;\n}\n.active\\:text-yellow-700:active {\n color: var(--yellow-700) !important;\n}\n.active\\:text-yellow-800:active {\n color: var(--yellow-800) !important;\n}\n.active\\:text-yellow-900:active {\n color: var(--yellow-900) !important;\n}\n\n.text-cyan-50 {\n color: var(--cyan-50) !important;\n}\n.text-cyan-100 {\n color: var(--cyan-100) !important;\n}\n.text-cyan-200 {\n color: var(--cyan-200) !important;\n}\n.text-cyan-300 {\n color: var(--cyan-300) !important;\n}\n.text-cyan-400 {\n color: var(--cyan-400) !important;\n}\n.text-cyan-500 {\n color: var(--cyan-500) !important;\n}\n.text-cyan-600 {\n color: var(--cyan-600) !important;\n}\n.text-cyan-700 {\n color: var(--cyan-700) !important;\n}\n.text-cyan-800 {\n color: var(--cyan-800) !important;\n}\n.text-cyan-900 {\n color: var(--cyan-900) !important;\n}\n\n.focus\\:text-cyan-50:focus {\n color: var(--cyan-50) !important;\n}\n.focus\\:text-cyan-100:focus {\n color: var(--cyan-100) !important;\n}\n.focus\\:text-cyan-200:focus {\n color: var(--cyan-200) !important;\n}\n.focus\\:text-cyan-300:focus {\n color: var(--cyan-300) !important;\n}\n.focus\\:text-cyan-400:focus {\n color: var(--cyan-400) !important;\n}\n.focus\\:text-cyan-500:focus {\n color: var(--cyan-500) !important;\n}\n.focus\\:text-cyan-600:focus {\n color: var(--cyan-600) !important;\n}\n.focus\\:text-cyan-700:focus {\n color: var(--cyan-700) !important;\n}\n.focus\\:text-cyan-800:focus {\n color: var(--cyan-800) !important;\n}\n.focus\\:text-cyan-900:focus {\n color: var(--cyan-900) !important;\n}\n\n.hover\\:text-cyan-50:hover {\n color: var(--cyan-50) !important;\n}\n.hover\\:text-cyan-100:hover {\n color: var(--cyan-100) !important;\n}\n.hover\\:text-cyan-200:hover {\n color: var(--cyan-200) !important;\n}\n.hover\\:text-cyan-300:hover {\n color: var(--cyan-300) !important;\n}\n.hover\\:text-cyan-400:hover {\n color: var(--cyan-400) !important;\n}\n.hover\\:text-cyan-500:hover {\n color: var(--cyan-500) !important;\n}\n.hover\\:text-cyan-600:hover {\n color: var(--cyan-600) !important;\n}\n.hover\\:text-cyan-700:hover {\n color: var(--cyan-700) !important;\n}\n.hover\\:text-cyan-800:hover {\n color: var(--cyan-800) !important;\n}\n.hover\\:text-cyan-900:hover {\n color: var(--cyan-900) !important;\n}\n\n.active\\:text-cyan-50:active {\n color: var(--cyan-50) !important;\n}\n.active\\:text-cyan-100:active {\n color: var(--cyan-100) !important;\n}\n.active\\:text-cyan-200:active {\n color: var(--cyan-200) !important;\n}\n.active\\:text-cyan-300:active {\n color: var(--cyan-300) !important;\n}\n.active\\:text-cyan-400:active {\n color: var(--cyan-400) !important;\n}\n.active\\:text-cyan-500:active {\n color: var(--cyan-500) !important;\n}\n.active\\:text-cyan-600:active {\n color: var(--cyan-600) !important;\n}\n.active\\:text-cyan-700:active {\n color: var(--cyan-700) !important;\n}\n.active\\:text-cyan-800:active {\n color: var(--cyan-800) !important;\n}\n.active\\:text-cyan-900:active {\n color: var(--cyan-900) !important;\n}\n\n.text-pink-50 {\n color: var(--pink-50) !important;\n}\n.text-pink-100 {\n color: var(--pink-100) !important;\n}\n.text-pink-200 {\n color: var(--pink-200) !important;\n}\n.text-pink-300 {\n color: var(--pink-300) !important;\n}\n.text-pink-400 {\n color: var(--pink-400) !important;\n}\n.text-pink-500 {\n color: var(--pink-500) !important;\n}\n.text-pink-600 {\n color: var(--pink-600) !important;\n}\n.text-pink-700 {\n color: var(--pink-700) !important;\n}\n.text-pink-800 {\n color: var(--pink-800) !important;\n}\n.text-pink-900 {\n color: var(--pink-900) !important;\n}\n\n.focus\\:text-pink-50:focus {\n color: var(--pink-50) !important;\n}\n.focus\\:text-pink-100:focus {\n color: var(--pink-100) !important;\n}\n.focus\\:text-pink-200:focus {\n color: var(--pink-200) !important;\n}\n.focus\\:text-pink-300:focus {\n color: var(--pink-300) !important;\n}\n.focus\\:text-pink-400:focus {\n color: var(--pink-400) !important;\n}\n.focus\\:text-pink-500:focus {\n color: var(--pink-500) !important;\n}\n.focus\\:text-pink-600:focus {\n color: var(--pink-600) !important;\n}\n.focus\\:text-pink-700:focus {\n color: var(--pink-700) !important;\n}\n.focus\\:text-pink-800:focus {\n color: var(--pink-800) !important;\n}\n.focus\\:text-pink-900:focus {\n color: var(--pink-900) !important;\n}\n\n.hover\\:text-pink-50:hover {\n color: var(--pink-50) !important;\n}\n.hover\\:text-pink-100:hover {\n color: var(--pink-100) !important;\n}\n.hover\\:text-pink-200:hover {\n color: var(--pink-200) !important;\n}\n.hover\\:text-pink-300:hover {\n color: var(--pink-300) !important;\n}\n.hover\\:text-pink-400:hover {\n color: var(--pink-400) !important;\n}\n.hover\\:text-pink-500:hover {\n color: var(--pink-500) !important;\n}\n.hover\\:text-pink-600:hover {\n color: var(--pink-600) !important;\n}\n.hover\\:text-pink-700:hover {\n color: var(--pink-700) !important;\n}\n.hover\\:text-pink-800:hover {\n color: var(--pink-800) !important;\n}\n.hover\\:text-pink-900:hover {\n color: var(--pink-900) !important;\n}\n\n.active\\:text-pink-50:active {\n color: var(--pink-50) !important;\n}\n.active\\:text-pink-100:active {\n color: var(--pink-100) !important;\n}\n.active\\:text-pink-200:active {\n color: var(--pink-200) !important;\n}\n.active\\:text-pink-300:active {\n color: var(--pink-300) !important;\n}\n.active\\:text-pink-400:active {\n color: var(--pink-400) !important;\n}\n.active\\:text-pink-500:active {\n color: var(--pink-500) !important;\n}\n.active\\:text-pink-600:active {\n color: var(--pink-600) !important;\n}\n.active\\:text-pink-700:active {\n color: var(--pink-700) !important;\n}\n.active\\:text-pink-800:active {\n color: var(--pink-800) !important;\n}\n.active\\:text-pink-900:active {\n color: var(--pink-900) !important;\n}\n\n.text-indigo-50 {\n color: var(--indigo-50) !important;\n}\n.text-indigo-100 {\n color: var(--indigo-100) !important;\n}\n.text-indigo-200 {\n color: var(--indigo-200) !important;\n}\n.text-indigo-300 {\n color: var(--indigo-300) !important;\n}\n.text-indigo-400 {\n color: var(--indigo-400) !important;\n}\n.text-indigo-500 {\n color: var(--indigo-500) !important;\n}\n.text-indigo-600 {\n color: var(--indigo-600) !important;\n}\n.text-indigo-700 {\n color: var(--indigo-700) !important;\n}\n.text-indigo-800 {\n color: var(--indigo-800) !important;\n}\n.text-indigo-900 {\n color: var(--indigo-900) !important;\n}\n\n.focus\\:text-indigo-50:focus {\n color: var(--indigo-50) !important;\n}\n.focus\\:text-indigo-100:focus {\n color: var(--indigo-100) !important;\n}\n.focus\\:text-indigo-200:focus {\n color: var(--indigo-200) !important;\n}\n.focus\\:text-indigo-300:focus {\n color: var(--indigo-300) !important;\n}\n.focus\\:text-indigo-400:focus {\n color: var(--indigo-400) !important;\n}\n.focus\\:text-indigo-500:focus {\n color: var(--indigo-500) !important;\n}\n.focus\\:text-indigo-600:focus {\n color: var(--indigo-600) !important;\n}\n.focus\\:text-indigo-700:focus {\n color: var(--indigo-700) !important;\n}\n.focus\\:text-indigo-800:focus {\n color: var(--indigo-800) !important;\n}\n.focus\\:text-indigo-900:focus {\n color: var(--indigo-900) !important;\n}\n\n.hover\\:text-indigo-50:hover {\n color: var(--indigo-50) !important;\n}\n.hover\\:text-indigo-100:hover {\n color: var(--indigo-100) !important;\n}\n.hover\\:text-indigo-200:hover {\n color: var(--indigo-200) !important;\n}\n.hover\\:text-indigo-300:hover {\n color: var(--indigo-300) !important;\n}\n.hover\\:text-indigo-400:hover {\n color: var(--indigo-400) !important;\n}\n.hover\\:text-indigo-500:hover {\n color: var(--indigo-500) !important;\n}\n.hover\\:text-indigo-600:hover {\n color: var(--indigo-600) !important;\n}\n.hover\\:text-indigo-700:hover {\n color: var(--indigo-700) !important;\n}\n.hover\\:text-indigo-800:hover {\n color: var(--indigo-800) !important;\n}\n.hover\\:text-indigo-900:hover {\n color: var(--indigo-900) !important;\n}\n\n.active\\:text-indigo-50:active {\n color: var(--indigo-50) !important;\n}\n.active\\:text-indigo-100:active {\n color: var(--indigo-100) !important;\n}\n.active\\:text-indigo-200:active {\n color: var(--indigo-200) !important;\n}\n.active\\:text-indigo-300:active {\n color: var(--indigo-300) !important;\n}\n.active\\:text-indigo-400:active {\n color: var(--indigo-400) !important;\n}\n.active\\:text-indigo-500:active {\n color: var(--indigo-500) !important;\n}\n.active\\:text-indigo-600:active {\n color: var(--indigo-600) !important;\n}\n.active\\:text-indigo-700:active {\n color: var(--indigo-700) !important;\n}\n.active\\:text-indigo-800:active {\n color: var(--indigo-800) !important;\n}\n.active\\:text-indigo-900:active {\n color: var(--indigo-900) !important;\n}\n\n.text-teal-50 {\n color: var(--teal-50) !important;\n}\n.text-teal-100 {\n color: var(--teal-100) !important;\n}\n.text-teal-200 {\n color: var(--teal-200) !important;\n}\n.text-teal-300 {\n color: var(--teal-300) !important;\n}\n.text-teal-400 {\n color: var(--teal-400) !important;\n}\n.text-teal-500 {\n color: var(--teal-500) !important;\n}\n.text-teal-600 {\n color: var(--teal-600) !important;\n}\n.text-teal-700 {\n color: var(--teal-700) !important;\n}\n.text-teal-800 {\n color: var(--teal-800) !important;\n}\n.text-teal-900 {\n color: var(--teal-900) !important;\n}\n\n.focus\\:text-teal-50:focus {\n color: var(--teal-50) !important;\n}\n.focus\\:text-teal-100:focus {\n color: var(--teal-100) !important;\n}\n.focus\\:text-teal-200:focus {\n color: var(--teal-200) !important;\n}\n.focus\\:text-teal-300:focus {\n color: var(--teal-300) !important;\n}\n.focus\\:text-teal-400:focus {\n color: var(--teal-400) !important;\n}\n.focus\\:text-teal-500:focus {\n color: var(--teal-500) !important;\n}\n.focus\\:text-teal-600:focus {\n color: var(--teal-600) !important;\n}\n.focus\\:text-teal-700:focus {\n color: var(--teal-700) !important;\n}\n.focus\\:text-teal-800:focus {\n color: var(--teal-800) !important;\n}\n.focus\\:text-teal-900:focus {\n color: var(--teal-900) !important;\n}\n\n.hover\\:text-teal-50:hover {\n color: var(--teal-50) !important;\n}\n.hover\\:text-teal-100:hover {\n color: var(--teal-100) !important;\n}\n.hover\\:text-teal-200:hover {\n color: var(--teal-200) !important;\n}\n.hover\\:text-teal-300:hover {\n color: var(--teal-300) !important;\n}\n.hover\\:text-teal-400:hover {\n color: var(--teal-400) !important;\n}\n.hover\\:text-teal-500:hover {\n color: var(--teal-500) !important;\n}\n.hover\\:text-teal-600:hover {\n color: var(--teal-600) !important;\n}\n.hover\\:text-teal-700:hover {\n color: var(--teal-700) !important;\n}\n.hover\\:text-teal-800:hover {\n color: var(--teal-800) !important;\n}\n.hover\\:text-teal-900:hover {\n color: var(--teal-900) !important;\n}\n\n.active\\:text-teal-50:active {\n color: var(--teal-50) !important;\n}\n.active\\:text-teal-100:active {\n color: var(--teal-100) !important;\n}\n.active\\:text-teal-200:active {\n color: var(--teal-200) !important;\n}\n.active\\:text-teal-300:active {\n color: var(--teal-300) !important;\n}\n.active\\:text-teal-400:active {\n color: var(--teal-400) !important;\n}\n.active\\:text-teal-500:active {\n color: var(--teal-500) !important;\n}\n.active\\:text-teal-600:active {\n color: var(--teal-600) !important;\n}\n.active\\:text-teal-700:active {\n color: var(--teal-700) !important;\n}\n.active\\:text-teal-800:active {\n color: var(--teal-800) !important;\n}\n.active\\:text-teal-900:active {\n color: var(--teal-900) !important;\n}\n\n.text-orange-50 {\n color: var(--orange-50) !important;\n}\n.text-orange-100 {\n color: var(--orange-100) !important;\n}\n.text-orange-200 {\n color: var(--orange-200) !important;\n}\n.text-orange-300 {\n color: var(--orange-300) !important;\n}\n.text-orange-400 {\n color: var(--orange-400) !important;\n}\n.text-orange-500 {\n color: var(--orange-500) !important;\n}\n.text-orange-600 {\n color: var(--orange-600) !important;\n}\n.text-orange-700 {\n color: var(--orange-700) !important;\n}\n.text-orange-800 {\n color: var(--orange-800) !important;\n}\n.text-orange-900 {\n color: var(--orange-900) !important;\n}\n\n.focus\\:text-orange-50:focus {\n color: var(--orange-50) !important;\n}\n.focus\\:text-orange-100:focus {\n color: var(--orange-100) !important;\n}\n.focus\\:text-orange-200:focus {\n color: var(--orange-200) !important;\n}\n.focus\\:text-orange-300:focus {\n color: var(--orange-300) !important;\n}\n.focus\\:text-orange-400:focus {\n color: var(--orange-400) !important;\n}\n.focus\\:text-orange-500:focus {\n color: var(--orange-500) !important;\n}\n.focus\\:text-orange-600:focus {\n color: var(--orange-600) !important;\n}\n.focus\\:text-orange-700:focus {\n color: var(--orange-700) !important;\n}\n.focus\\:text-orange-800:focus {\n color: var(--orange-800) !important;\n}\n.focus\\:text-orange-900:focus {\n color: var(--orange-900) !important;\n}\n\n.hover\\:text-orange-50:hover {\n color: var(--orange-50) !important;\n}\n.hover\\:text-orange-100:hover {\n color: var(--orange-100) !important;\n}\n.hover\\:text-orange-200:hover {\n color: var(--orange-200) !important;\n}\n.hover\\:text-orange-300:hover {\n color: var(--orange-300) !important;\n}\n.hover\\:text-orange-400:hover {\n color: var(--orange-400) !important;\n}\n.hover\\:text-orange-500:hover {\n color: var(--orange-500) !important;\n}\n.hover\\:text-orange-600:hover {\n color: var(--orange-600) !important;\n}\n.hover\\:text-orange-700:hover {\n color: var(--orange-700) !important;\n}\n.hover\\:text-orange-800:hover {\n color: var(--orange-800) !important;\n}\n.hover\\:text-orange-900:hover {\n color: var(--orange-900) !important;\n}\n\n.active\\:text-orange-50:active {\n color: var(--orange-50) !important;\n}\n.active\\:text-orange-100:active {\n color: var(--orange-100) !important;\n}\n.active\\:text-orange-200:active {\n color: var(--orange-200) !important;\n}\n.active\\:text-orange-300:active {\n color: var(--orange-300) !important;\n}\n.active\\:text-orange-400:active {\n color: var(--orange-400) !important;\n}\n.active\\:text-orange-500:active {\n color: var(--orange-500) !important;\n}\n.active\\:text-orange-600:active {\n color: var(--orange-600) !important;\n}\n.active\\:text-orange-700:active {\n color: var(--orange-700) !important;\n}\n.active\\:text-orange-800:active {\n color: var(--orange-800) !important;\n}\n.active\\:text-orange-900:active {\n color: var(--orange-900) !important;\n}\n\n.text-bluegray-50 {\n color: var(--bluegray-50) !important;\n}\n.text-bluegray-100 {\n color: var(--bluegray-100) !important;\n}\n.text-bluegray-200 {\n color: var(--bluegray-200) !important;\n}\n.text-bluegray-300 {\n color: var(--bluegray-300) !important;\n}\n.text-bluegray-400 {\n color: var(--bluegray-400) !important;\n}\n.text-bluegray-500 {\n color: var(--bluegray-500) !important;\n}\n.text-bluegray-600 {\n color: var(--bluegray-600) !important;\n}\n.text-bluegray-700 {\n color: var(--bluegray-700) !important;\n}\n.text-bluegray-800 {\n color: var(--bluegray-800) !important;\n}\n.text-bluegray-900 {\n color: var(--bluegray-900) !important;\n}\n\n.focus\\:text-bluegray-50:focus {\n color: var(--bluegray-50) !important;\n}\n.focus\\:text-bluegray-100:focus {\n color: var(--bluegray-100) !important;\n}\n.focus\\:text-bluegray-200:focus {\n color: var(--bluegray-200) !important;\n}\n.focus\\:text-bluegray-300:focus {\n color: var(--bluegray-300) !important;\n}\n.focus\\:text-bluegray-400:focus {\n color: var(--bluegray-400) !important;\n}\n.focus\\:text-bluegray-500:focus {\n color: var(--bluegray-500) !important;\n}\n.focus\\:text-bluegray-600:focus {\n color: var(--bluegray-600) !important;\n}\n.focus\\:text-bluegray-700:focus {\n color: var(--bluegray-700) !important;\n}\n.focus\\:text-bluegray-800:focus {\n color: var(--bluegray-800) !important;\n}\n.focus\\:text-bluegray-900:focus {\n color: var(--bluegray-900) !important;\n}\n\n.hover\\:text-bluegray-50:hover {\n color: var(--bluegray-50) !important;\n}\n.hover\\:text-bluegray-100:hover {\n color: var(--bluegray-100) !important;\n}\n.hover\\:text-bluegray-200:hover {\n color: var(--bluegray-200) !important;\n}\n.hover\\:text-bluegray-300:hover {\n color: var(--bluegray-300) !important;\n}\n.hover\\:text-bluegray-400:hover {\n color: var(--bluegray-400) !important;\n}\n.hover\\:text-bluegray-500:hover {\n color: var(--bluegray-500) !important;\n}\n.hover\\:text-bluegray-600:hover {\n color: var(--bluegray-600) !important;\n}\n.hover\\:text-bluegray-700:hover {\n color: var(--bluegray-700) !important;\n}\n.hover\\:text-bluegray-800:hover {\n color: var(--bluegray-800) !important;\n}\n.hover\\:text-bluegray-900:hover {\n color: var(--bluegray-900) !important;\n}\n\n.active\\:text-bluegray-50:active {\n color: var(--bluegray-50) !important;\n}\n.active\\:text-bluegray-100:active {\n color: var(--bluegray-100) !important;\n}\n.active\\:text-bluegray-200:active {\n color: var(--bluegray-200) !important;\n}\n.active\\:text-bluegray-300:active {\n color: var(--bluegray-300) !important;\n}\n.active\\:text-bluegray-400:active {\n color: var(--bluegray-400) !important;\n}\n.active\\:text-bluegray-500:active {\n color: var(--bluegray-500) !important;\n}\n.active\\:text-bluegray-600:active {\n color: var(--bluegray-600) !important;\n}\n.active\\:text-bluegray-700:active {\n color: var(--bluegray-700) !important;\n}\n.active\\:text-bluegray-800:active {\n color: var(--bluegray-800) !important;\n}\n.active\\:text-bluegray-900:active {\n color: var(--bluegray-900) !important;\n}\n\n.text-purple-50 {\n color: var(--purple-50) !important;\n}\n.text-purple-100 {\n color: var(--purple-100) !important;\n}\n.text-purple-200 {\n color: var(--purple-200) !important;\n}\n.text-purple-300 {\n color: var(--purple-300) !important;\n}\n.text-purple-400 {\n color: var(--purple-400) !important;\n}\n.text-purple-500 {\n color: var(--purple-500) !important;\n}\n.text-purple-600 {\n color: var(--purple-600) !important;\n}\n.text-purple-700 {\n color: var(--purple-700) !important;\n}\n.text-purple-800 {\n color: var(--purple-800) !important;\n}\n.text-purple-900 {\n color: var(--purple-900) !important;\n}\n\n.focus\\:text-purple-50:focus {\n color: var(--purple-50) !important;\n}\n.focus\\:text-purple-100:focus {\n color: var(--purple-100) !important;\n}\n.focus\\:text-purple-200:focus {\n color: var(--purple-200) !important;\n}\n.focus\\:text-purple-300:focus {\n color: var(--purple-300) !important;\n}\n.focus\\:text-purple-400:focus {\n color: var(--purple-400) !important;\n}\n.focus\\:text-purple-500:focus {\n color: var(--purple-500) !important;\n}\n.focus\\:text-purple-600:focus {\n color: var(--purple-600) !important;\n}\n.focus\\:text-purple-700:focus {\n color: var(--purple-700) !important;\n}\n.focus\\:text-purple-800:focus {\n color: var(--purple-800) !important;\n}\n.focus\\:text-purple-900:focus {\n color: var(--purple-900) !important;\n}\n\n.hover\\:text-purple-50:hover {\n color: var(--purple-50) !important;\n}\n.hover\\:text-purple-100:hover {\n color: var(--purple-100) !important;\n}\n.hover\\:text-purple-200:hover {\n color: var(--purple-200) !important;\n}\n.hover\\:text-purple-300:hover {\n color: var(--purple-300) !important;\n}\n.hover\\:text-purple-400:hover {\n color: var(--purple-400) !important;\n}\n.hover\\:text-purple-500:hover {\n color: var(--purple-500) !important;\n}\n.hover\\:text-purple-600:hover {\n color: var(--purple-600) !important;\n}\n.hover\\:text-purple-700:hover {\n color: var(--purple-700) !important;\n}\n.hover\\:text-purple-800:hover {\n color: var(--purple-800) !important;\n}\n.hover\\:text-purple-900:hover {\n color: var(--purple-900) !important;\n}\n\n.active\\:text-purple-50:active {\n color: var(--purple-50) !important;\n}\n.active\\:text-purple-100:active {\n color: var(--purple-100) !important;\n}\n.active\\:text-purple-200:active {\n color: var(--purple-200) !important;\n}\n.active\\:text-purple-300:active {\n color: var(--purple-300) !important;\n}\n.active\\:text-purple-400:active {\n color: var(--purple-400) !important;\n}\n.active\\:text-purple-500:active {\n color: var(--purple-500) !important;\n}\n.active\\:text-purple-600:active {\n color: var(--purple-600) !important;\n}\n.active\\:text-purple-700:active {\n color: var(--purple-700) !important;\n}\n.active\\:text-purple-800:active {\n color: var(--purple-800) !important;\n}\n.active\\:text-purple-900:active {\n color: var(--purple-900) !important;\n}\n\n.text-gray-50 {\n color: var(--gray-50) !important;\n}\n.text-gray-100 {\n color: var(--gray-100) !important;\n}\n.text-gray-200 {\n color: var(--gray-200) !important;\n}\n.text-gray-300 {\n color: var(--gray-300) !important;\n}\n.text-gray-400 {\n color: var(--gray-400) !important;\n}\n.text-gray-500 {\n color: var(--gray-500) !important;\n}\n.text-gray-600 {\n color: var(--gray-600) !important;\n}\n.text-gray-700 {\n color: var(--gray-700) !important;\n}\n.text-gray-800 {\n color: var(--gray-800) !important;\n}\n.text-gray-900 {\n color: var(--gray-900) !important;\n}\n\n.focus\\:text-gray-50:focus {\n color: var(--gray-50) !important;\n}\n.focus\\:text-gray-100:focus {\n color: var(--gray-100) !important;\n}\n.focus\\:text-gray-200:focus {\n color: var(--gray-200) !important;\n}\n.focus\\:text-gray-300:focus {\n color: var(--gray-300) !important;\n}\n.focus\\:text-gray-400:focus {\n color: var(--gray-400) !important;\n}\n.focus\\:text-gray-500:focus {\n color: var(--gray-500) !important;\n}\n.focus\\:text-gray-600:focus {\n color: var(--gray-600) !important;\n}\n.focus\\:text-gray-700:focus {\n color: var(--gray-700) !important;\n}\n.focus\\:text-gray-800:focus {\n color: var(--gray-800) !important;\n}\n.focus\\:text-gray-900:focus {\n color: var(--gray-900) !important;\n}\n\n.hover\\:text-gray-50:hover {\n color: var(--gray-50) !important;\n}\n.hover\\:text-gray-100:hover {\n color: var(--gray-100) !important;\n}\n.hover\\:text-gray-200:hover {\n color: var(--gray-200) !important;\n}\n.hover\\:text-gray-300:hover {\n color: var(--gray-300) !important;\n}\n.hover\\:text-gray-400:hover {\n color: var(--gray-400) !important;\n}\n.hover\\:text-gray-500:hover {\n color: var(--gray-500) !important;\n}\n.hover\\:text-gray-600:hover {\n color: var(--gray-600) !important;\n}\n.hover\\:text-gray-700:hover {\n color: var(--gray-700) !important;\n}\n.hover\\:text-gray-800:hover {\n color: var(--gray-800) !important;\n}\n.hover\\:text-gray-900:hover {\n color: var(--gray-900) !important;\n}\n\n.active\\:text-gray-50:active {\n color: var(--gray-50) !important;\n}\n.active\\:text-gray-100:active {\n color: var(--gray-100) !important;\n}\n.active\\:text-gray-200:active {\n color: var(--gray-200) !important;\n}\n.active\\:text-gray-300:active {\n color: var(--gray-300) !important;\n}\n.active\\:text-gray-400:active {\n color: var(--gray-400) !important;\n}\n.active\\:text-gray-500:active {\n color: var(--gray-500) !important;\n}\n.active\\:text-gray-600:active {\n color: var(--gray-600) !important;\n}\n.active\\:text-gray-700:active {\n color: var(--gray-700) !important;\n}\n.active\\:text-gray-800:active {\n color: var(--gray-800) !important;\n}\n.active\\:text-gray-900:active {\n color: var(--gray-900) !important;\n}\n\n.bg-blue-50 {\n background-color: var(--blue-50) !important;\n}\n.bg-blue-100 {\n background-color: var(--blue-100) !important;\n}\n.bg-blue-200 {\n background-color: var(--blue-200) !important;\n}\n.bg-blue-300 {\n background-color: var(--blue-300) !important;\n}\n.bg-blue-400 {\n background-color: var(--blue-400) !important;\n}\n.bg-blue-500 {\n background-color: var(--blue-500) !important;\n}\n.bg-blue-600 {\n background-color: var(--blue-600) !important;\n}\n.bg-blue-700 {\n background-color: var(--blue-700) !important;\n}\n.bg-blue-800 {\n background-color: var(--blue-800) !important;\n}\n.bg-blue-900 {\n background-color: var(--blue-900) !important;\n}\n\n.focus\\:bg-blue-50:focus {\n background-color: var(--blue-50) !important;\n}\n.focus\\:bg-blue-100:focus {\n background-color: var(--blue-100) !important;\n}\n.focus\\:bg-blue-200:focus {\n background-color: var(--blue-200) !important;\n}\n.focus\\:bg-blue-300:focus {\n background-color: var(--blue-300) !important;\n}\n.focus\\:bg-blue-400:focus {\n background-color: var(--blue-400) !important;\n}\n.focus\\:bg-blue-500:focus {\n background-color: var(--blue-500) !important;\n}\n.focus\\:bg-blue-600:focus {\n background-color: var(--blue-600) !important;\n}\n.focus\\:bg-blue-700:focus {\n background-color: var(--blue-700) !important;\n}\n.focus\\:bg-blue-800:focus {\n background-color: var(--blue-800) !important;\n}\n.focus\\:bg-blue-900:focus {\n background-color: var(--blue-900) !important;\n}\n\n.hover\\:bg-blue-50:hover {\n background-color: var(--blue-50) !important;\n}\n.hover\\:bg-blue-100:hover {\n background-color: var(--blue-100) !important;\n}\n.hover\\:bg-blue-200:hover {\n background-color: var(--blue-200) !important;\n}\n.hover\\:bg-blue-300:hover {\n background-color: var(--blue-300) !important;\n}\n.hover\\:bg-blue-400:hover {\n background-color: var(--blue-400) !important;\n}\n.hover\\:bg-blue-500:hover {\n background-color: var(--blue-500) !important;\n}\n.hover\\:bg-blue-600:hover {\n background-color: var(--blue-600) !important;\n}\n.hover\\:bg-blue-700:hover {\n background-color: var(--blue-700) !important;\n}\n.hover\\:bg-blue-800:hover {\n background-color: var(--blue-800) !important;\n}\n.hover\\:bg-blue-900:hover {\n background-color: var(--blue-900) !important;\n}\n\n.active\\:bg-blue-50:active {\n background-color: var(--blue-50) !important;\n}\n.active\\:bg-blue-100:active {\n background-color: var(--blue-100) !important;\n}\n.active\\:bg-blue-200:active {\n background-color: var(--blue-200) !important;\n}\n.active\\:bg-blue-300:active {\n background-color: var(--blue-300) !important;\n}\n.active\\:bg-blue-400:active {\n background-color: var(--blue-400) !important;\n}\n.active\\:bg-blue-500:active {\n background-color: var(--blue-500) !important;\n}\n.active\\:bg-blue-600:active {\n background-color: var(--blue-600) !important;\n}\n.active\\:bg-blue-700:active {\n background-color: var(--blue-700) !important;\n}\n.active\\:bg-blue-800:active {\n background-color: var(--blue-800) !important;\n}\n.active\\:bg-blue-900:active {\n background-color: var(--blue-900) !important;\n}\n\n.bg-green-50 {\n background-color: var(--green-50) !important;\n}\n.bg-green-100 {\n background-color: var(--green-100) !important;\n}\n.bg-green-200 {\n background-color: var(--green-200) !important;\n}\n.bg-green-300 {\n background-color: var(--green-300) !important;\n}\n.bg-green-400 {\n background-color: var(--green-400) !important;\n}\n.bg-green-500 {\n background-color: var(--green-500) !important;\n}\n.bg-green-600 {\n background-color: var(--green-600) !important;\n}\n.bg-green-700 {\n background-color: var(--green-700) !important;\n}\n.bg-green-800 {\n background-color: var(--green-800) !important;\n}\n.bg-green-900 {\n background-color: var(--green-900) !important;\n}\n\n.focus\\:bg-green-50:focus {\n background-color: var(--green-50) !important;\n}\n.focus\\:bg-green-100:focus {\n background-color: var(--green-100) !important;\n}\n.focus\\:bg-green-200:focus {\n background-color: var(--green-200) !important;\n}\n.focus\\:bg-green-300:focus {\n background-color: var(--green-300) !important;\n}\n.focus\\:bg-green-400:focus {\n background-color: var(--green-400) !important;\n}\n.focus\\:bg-green-500:focus {\n background-color: var(--green-500) !important;\n}\n.focus\\:bg-green-600:focus {\n background-color: var(--green-600) !important;\n}\n.focus\\:bg-green-700:focus {\n background-color: var(--green-700) !important;\n}\n.focus\\:bg-green-800:focus {\n background-color: var(--green-800) !important;\n}\n.focus\\:bg-green-900:focus {\n background-color: var(--green-900) !important;\n}\n\n.hover\\:bg-green-50:hover {\n background-color: var(--green-50) !important;\n}\n.hover\\:bg-green-100:hover {\n background-color: var(--green-100) !important;\n}\n.hover\\:bg-green-200:hover {\n background-color: var(--green-200) !important;\n}\n.hover\\:bg-green-300:hover {\n background-color: var(--green-300) !important;\n}\n.hover\\:bg-green-400:hover {\n background-color: var(--green-400) !important;\n}\n.hover\\:bg-green-500:hover {\n background-color: var(--green-500) !important;\n}\n.hover\\:bg-green-600:hover {\n background-color: var(--green-600) !important;\n}\n.hover\\:bg-green-700:hover {\n background-color: var(--green-700) !important;\n}\n.hover\\:bg-green-800:hover {\n background-color: var(--green-800) !important;\n}\n.hover\\:bg-green-900:hover {\n background-color: var(--green-900) !important;\n}\n\n.active\\:bg-green-50:active {\n background-color: var(--green-50) !important;\n}\n.active\\:bg-green-100:active {\n background-color: var(--green-100) !important;\n}\n.active\\:bg-green-200:active {\n background-color: var(--green-200) !important;\n}\n.active\\:bg-green-300:active {\n background-color: var(--green-300) !important;\n}\n.active\\:bg-green-400:active {\n background-color: var(--green-400) !important;\n}\n.active\\:bg-green-500:active {\n background-color: var(--green-500) !important;\n}\n.active\\:bg-green-600:active {\n background-color: var(--green-600) !important;\n}\n.active\\:bg-green-700:active {\n background-color: var(--green-700) !important;\n}\n.active\\:bg-green-800:active {\n background-color: var(--green-800) !important;\n}\n.active\\:bg-green-900:active {\n background-color: var(--green-900) !important;\n}\n\n.bg-yellow-50 {\n background-color: var(--yellow-50) !important;\n}\n.bg-yellow-100 {\n background-color: var(--yellow-100) !important;\n}\n.bg-yellow-200 {\n background-color: var(--yellow-200) !important;\n}\n.bg-yellow-300 {\n background-color: var(--yellow-300) !important;\n}\n.bg-yellow-400 {\n background-color: var(--yellow-400) !important;\n}\n.bg-yellow-500 {\n background-color: var(--yellow-500) !important;\n}\n.bg-yellow-600 {\n background-color: var(--yellow-600) !important;\n}\n.bg-yellow-700 {\n background-color: var(--yellow-700) !important;\n}\n.bg-yellow-800 {\n background-color: var(--yellow-800) !important;\n}\n.bg-yellow-900 {\n background-color: var(--yellow-900) !important;\n}\n\n.focus\\:bg-yellow-50:focus {\n background-color: var(--yellow-50) !important;\n}\n.focus\\:bg-yellow-100:focus {\n background-color: var(--yellow-100) !important;\n}\n.focus\\:bg-yellow-200:focus {\n background-color: var(--yellow-200) !important;\n}\n.focus\\:bg-yellow-300:focus {\n background-color: var(--yellow-300) !important;\n}\n.focus\\:bg-yellow-400:focus {\n background-color: var(--yellow-400) !important;\n}\n.focus\\:bg-yellow-500:focus {\n background-color: var(--yellow-500) !important;\n}\n.focus\\:bg-yellow-600:focus {\n background-color: var(--yellow-600) !important;\n}\n.focus\\:bg-yellow-700:focus {\n background-color: var(--yellow-700) !important;\n}\n.focus\\:bg-yellow-800:focus {\n background-color: var(--yellow-800) !important;\n}\n.focus\\:bg-yellow-900:focus {\n background-color: var(--yellow-900) !important;\n}\n\n.hover\\:bg-yellow-50:hover {\n background-color: var(--yellow-50) !important;\n}\n.hover\\:bg-yellow-100:hover {\n background-color: var(--yellow-100) !important;\n}\n.hover\\:bg-yellow-200:hover {\n background-color: var(--yellow-200) !important;\n}\n.hover\\:bg-yellow-300:hover {\n background-color: var(--yellow-300) !important;\n}\n.hover\\:bg-yellow-400:hover {\n background-color: var(--yellow-400) !important;\n}\n.hover\\:bg-yellow-500:hover {\n background-color: var(--yellow-500) !important;\n}\n.hover\\:bg-yellow-600:hover {\n background-color: var(--yellow-600) !important;\n}\n.hover\\:bg-yellow-700:hover {\n background-color: var(--yellow-700) !important;\n}\n.hover\\:bg-yellow-800:hover {\n background-color: var(--yellow-800) !important;\n}\n.hover\\:bg-yellow-900:hover {\n background-color: var(--yellow-900) !important;\n}\n\n.active\\:bg-yellow-50:active {\n background-color: var(--yellow-50) !important;\n}\n.active\\:bg-yellow-100:active {\n background-color: var(--yellow-100) !important;\n}\n.active\\:bg-yellow-200:active {\n background-color: var(--yellow-200) !important;\n}\n.active\\:bg-yellow-300:active {\n background-color: var(--yellow-300) !important;\n}\n.active\\:bg-yellow-400:active {\n background-color: var(--yellow-400) !important;\n}\n.active\\:bg-yellow-500:active {\n background-color: var(--yellow-500) !important;\n}\n.active\\:bg-yellow-600:active {\n background-color: var(--yellow-600) !important;\n}\n.active\\:bg-yellow-700:active {\n background-color: var(--yellow-700) !important;\n}\n.active\\:bg-yellow-800:active {\n background-color: var(--yellow-800) !important;\n}\n.active\\:bg-yellow-900:active {\n background-color: var(--yellow-900) !important;\n}\n\n.bg-cyan-50 {\n background-color: var(--cyan-50) !important;\n}\n.bg-cyan-100 {\n background-color: var(--cyan-100) !important;\n}\n.bg-cyan-200 {\n background-color: var(--cyan-200) !important;\n}\n.bg-cyan-300 {\n background-color: var(--cyan-300) !important;\n}\n.bg-cyan-400 {\n background-color: var(--cyan-400) !important;\n}\n.bg-cyan-500 {\n background-color: var(--cyan-500) !important;\n}\n.bg-cyan-600 {\n background-color: var(--cyan-600) !important;\n}\n.bg-cyan-700 {\n background-color: var(--cyan-700) !important;\n}\n.bg-cyan-800 {\n background-color: var(--cyan-800) !important;\n}\n.bg-cyan-900 {\n background-color: var(--cyan-900) !important;\n}\n\n.focus\\:bg-cyan-50:focus {\n background-color: var(--cyan-50) !important;\n}\n.focus\\:bg-cyan-100:focus {\n background-color: var(--cyan-100) !important;\n}\n.focus\\:bg-cyan-200:focus {\n background-color: var(--cyan-200) !important;\n}\n.focus\\:bg-cyan-300:focus {\n background-color: var(--cyan-300) !important;\n}\n.focus\\:bg-cyan-400:focus {\n background-color: var(--cyan-400) !important;\n}\n.focus\\:bg-cyan-500:focus {\n background-color: var(--cyan-500) !important;\n}\n.focus\\:bg-cyan-600:focus {\n background-color: var(--cyan-600) !important;\n}\n.focus\\:bg-cyan-700:focus {\n background-color: var(--cyan-700) !important;\n}\n.focus\\:bg-cyan-800:focus {\n background-color: var(--cyan-800) !important;\n}\n.focus\\:bg-cyan-900:focus {\n background-color: var(--cyan-900) !important;\n}\n\n.hover\\:bg-cyan-50:hover {\n background-color: var(--cyan-50) !important;\n}\n.hover\\:bg-cyan-100:hover {\n background-color: var(--cyan-100) !important;\n}\n.hover\\:bg-cyan-200:hover {\n background-color: var(--cyan-200) !important;\n}\n.hover\\:bg-cyan-300:hover {\n background-color: var(--cyan-300) !important;\n}\n.hover\\:bg-cyan-400:hover {\n background-color: var(--cyan-400) !important;\n}\n.hover\\:bg-cyan-500:hover {\n background-color: var(--cyan-500) !important;\n}\n.hover\\:bg-cyan-600:hover {\n background-color: var(--cyan-600) !important;\n}\n.hover\\:bg-cyan-700:hover {\n background-color: var(--cyan-700) !important;\n}\n.hover\\:bg-cyan-800:hover {\n background-color: var(--cyan-800) !important;\n}\n.hover\\:bg-cyan-900:hover {\n background-color: var(--cyan-900) !important;\n}\n\n.active\\:bg-cyan-50:active {\n background-color: var(--cyan-50) !important;\n}\n.active\\:bg-cyan-100:active {\n background-color: var(--cyan-100) !important;\n}\n.active\\:bg-cyan-200:active {\n background-color: var(--cyan-200) !important;\n}\n.active\\:bg-cyan-300:active {\n background-color: var(--cyan-300) !important;\n}\n.active\\:bg-cyan-400:active {\n background-color: var(--cyan-400) !important;\n}\n.active\\:bg-cyan-500:active {\n background-color: var(--cyan-500) !important;\n}\n.active\\:bg-cyan-600:active {\n background-color: var(--cyan-600) !important;\n}\n.active\\:bg-cyan-700:active {\n background-color: var(--cyan-700) !important;\n}\n.active\\:bg-cyan-800:active {\n background-color: var(--cyan-800) !important;\n}\n.active\\:bg-cyan-900:active {\n background-color: var(--cyan-900) !important;\n}\n\n.bg-pink-50 {\n background-color: var(--pink-50) !important;\n}\n.bg-pink-100 {\n background-color: var(--pink-100) !important;\n}\n.bg-pink-200 {\n background-color: var(--pink-200) !important;\n}\n.bg-pink-300 {\n background-color: var(--pink-300) !important;\n}\n.bg-pink-400 {\n background-color: var(--pink-400) !important;\n}\n.bg-pink-500 {\n background-color: var(--pink-500) !important;\n}\n.bg-pink-600 {\n background-color: var(--pink-600) !important;\n}\n.bg-pink-700 {\n background-color: var(--pink-700) !important;\n}\n.bg-pink-800 {\n background-color: var(--pink-800) !important;\n}\n.bg-pink-900 {\n background-color: var(--pink-900) !important;\n}\n\n.focus\\:bg-pink-50:focus {\n background-color: var(--pink-50) !important;\n}\n.focus\\:bg-pink-100:focus {\n background-color: var(--pink-100) !important;\n}\n.focus\\:bg-pink-200:focus {\n background-color: var(--pink-200) !important;\n}\n.focus\\:bg-pink-300:focus {\n background-color: var(--pink-300) !important;\n}\n.focus\\:bg-pink-400:focus {\n background-color: var(--pink-400) !important;\n}\n.focus\\:bg-pink-500:focus {\n background-color: var(--pink-500) !important;\n}\n.focus\\:bg-pink-600:focus {\n background-color: var(--pink-600) !important;\n}\n.focus\\:bg-pink-700:focus {\n background-color: var(--pink-700) !important;\n}\n.focus\\:bg-pink-800:focus {\n background-color: var(--pink-800) !important;\n}\n.focus\\:bg-pink-900:focus {\n background-color: var(--pink-900) !important;\n}\n\n.hover\\:bg-pink-50:hover {\n background-color: var(--pink-50) !important;\n}\n.hover\\:bg-pink-100:hover {\n background-color: var(--pink-100) !important;\n}\n.hover\\:bg-pink-200:hover {\n background-color: var(--pink-200) !important;\n}\n.hover\\:bg-pink-300:hover {\n background-color: var(--pink-300) !important;\n}\n.hover\\:bg-pink-400:hover {\n background-color: var(--pink-400) !important;\n}\n.hover\\:bg-pink-500:hover {\n background-color: var(--pink-500) !important;\n}\n.hover\\:bg-pink-600:hover {\n background-color: var(--pink-600) !important;\n}\n.hover\\:bg-pink-700:hover {\n background-color: var(--pink-700) !important;\n}\n.hover\\:bg-pink-800:hover {\n background-color: var(--pink-800) !important;\n}\n.hover\\:bg-pink-900:hover {\n background-color: var(--pink-900) !important;\n}\n\n.active\\:bg-pink-50:active {\n background-color: var(--pink-50) !important;\n}\n.active\\:bg-pink-100:active {\n background-color: var(--pink-100) !important;\n}\n.active\\:bg-pink-200:active {\n background-color: var(--pink-200) !important;\n}\n.active\\:bg-pink-300:active {\n background-color: var(--pink-300) !important;\n}\n.active\\:bg-pink-400:active {\n background-color: var(--pink-400) !important;\n}\n.active\\:bg-pink-500:active {\n background-color: var(--pink-500) !important;\n}\n.active\\:bg-pink-600:active {\n background-color: var(--pink-600) !important;\n}\n.active\\:bg-pink-700:active {\n background-color: var(--pink-700) !important;\n}\n.active\\:bg-pink-800:active {\n background-color: var(--pink-800) !important;\n}\n.active\\:bg-pink-900:active {\n background-color: var(--pink-900) !important;\n}\n\n.bg-indigo-50 {\n background-color: var(--indigo-50) !important;\n}\n.bg-indigo-100 {\n background-color: var(--indigo-100) !important;\n}\n.bg-indigo-200 {\n background-color: var(--indigo-200) !important;\n}\n.bg-indigo-300 {\n background-color: var(--indigo-300) !important;\n}\n.bg-indigo-400 {\n background-color: var(--indigo-400) !important;\n}\n.bg-indigo-500 {\n background-color: var(--indigo-500) !important;\n}\n.bg-indigo-600 {\n background-color: var(--indigo-600) !important;\n}\n.bg-indigo-700 {\n background-color: var(--indigo-700) !important;\n}\n.bg-indigo-800 {\n background-color: var(--indigo-800) !important;\n}\n.bg-indigo-900 {\n background-color: var(--indigo-900) !important;\n}\n\n.focus\\:bg-indigo-50:focus {\n background-color: var(--indigo-50) !important;\n}\n.focus\\:bg-indigo-100:focus {\n background-color: var(--indigo-100) !important;\n}\n.focus\\:bg-indigo-200:focus {\n background-color: var(--indigo-200) !important;\n}\n.focus\\:bg-indigo-300:focus {\n background-color: var(--indigo-300) !important;\n}\n.focus\\:bg-indigo-400:focus {\n background-color: var(--indigo-400) !important;\n}\n.focus\\:bg-indigo-500:focus {\n background-color: var(--indigo-500) !important;\n}\n.focus\\:bg-indigo-600:focus {\n background-color: var(--indigo-600) !important;\n}\n.focus\\:bg-indigo-700:focus {\n background-color: var(--indigo-700) !important;\n}\n.focus\\:bg-indigo-800:focus {\n background-color: var(--indigo-800) !important;\n}\n.focus\\:bg-indigo-900:focus {\n background-color: var(--indigo-900) !important;\n}\n\n.hover\\:bg-indigo-50:hover {\n background-color: var(--indigo-50) !important;\n}\n.hover\\:bg-indigo-100:hover {\n background-color: var(--indigo-100) !important;\n}\n.hover\\:bg-indigo-200:hover {\n background-color: var(--indigo-200) !important;\n}\n.hover\\:bg-indigo-300:hover {\n background-color: var(--indigo-300) !important;\n}\n.hover\\:bg-indigo-400:hover {\n background-color: var(--indigo-400) !important;\n}\n.hover\\:bg-indigo-500:hover {\n background-color: var(--indigo-500) !important;\n}\n.hover\\:bg-indigo-600:hover {\n background-color: var(--indigo-600) !important;\n}\n.hover\\:bg-indigo-700:hover {\n background-color: var(--indigo-700) !important;\n}\n.hover\\:bg-indigo-800:hover {\n background-color: var(--indigo-800) !important;\n}\n.hover\\:bg-indigo-900:hover {\n background-color: var(--indigo-900) !important;\n}\n\n.active\\:bg-indigo-50:active {\n background-color: var(--indigo-50) !important;\n}\n.active\\:bg-indigo-100:active {\n background-color: var(--indigo-100) !important;\n}\n.active\\:bg-indigo-200:active {\n background-color: var(--indigo-200) !important;\n}\n.active\\:bg-indigo-300:active {\n background-color: var(--indigo-300) !important;\n}\n.active\\:bg-indigo-400:active {\n background-color: var(--indigo-400) !important;\n}\n.active\\:bg-indigo-500:active {\n background-color: var(--indigo-500) !important;\n}\n.active\\:bg-indigo-600:active {\n background-color: var(--indigo-600) !important;\n}\n.active\\:bg-indigo-700:active {\n background-color: var(--indigo-700) !important;\n}\n.active\\:bg-indigo-800:active {\n background-color: var(--indigo-800) !important;\n}\n.active\\:bg-indigo-900:active {\n background-color: var(--indigo-900) !important;\n}\n\n.bg-teal-50 {\n background-color: var(--teal-50) !important;\n}\n.bg-teal-100 {\n background-color: var(--teal-100) !important;\n}\n.bg-teal-200 {\n background-color: var(--teal-200) !important;\n}\n.bg-teal-300 {\n background-color: var(--teal-300) !important;\n}\n.bg-teal-400 {\n background-color: var(--teal-400) !important;\n}\n.bg-teal-500 {\n background-color: var(--teal-500) !important;\n}\n.bg-teal-600 {\n background-color: var(--teal-600) !important;\n}\n.bg-teal-700 {\n background-color: var(--teal-700) !important;\n}\n.bg-teal-800 {\n background-color: var(--teal-800) !important;\n}\n.bg-teal-900 {\n background-color: var(--teal-900) !important;\n}\n\n.focus\\:bg-teal-50:focus {\n background-color: var(--teal-50) !important;\n}\n.focus\\:bg-teal-100:focus {\n background-color: var(--teal-100) !important;\n}\n.focus\\:bg-teal-200:focus {\n background-color: var(--teal-200) !important;\n}\n.focus\\:bg-teal-300:focus {\n background-color: var(--teal-300) !important;\n}\n.focus\\:bg-teal-400:focus {\n background-color: var(--teal-400) !important;\n}\n.focus\\:bg-teal-500:focus {\n background-color: var(--teal-500) !important;\n}\n.focus\\:bg-teal-600:focus {\n background-color: var(--teal-600) !important;\n}\n.focus\\:bg-teal-700:focus {\n background-color: var(--teal-700) !important;\n}\n.focus\\:bg-teal-800:focus {\n background-color: var(--teal-800) !important;\n}\n.focus\\:bg-teal-900:focus {\n background-color: var(--teal-900) !important;\n}\n\n.hover\\:bg-teal-50:hover {\n background-color: var(--teal-50) !important;\n}\n.hover\\:bg-teal-100:hover {\n background-color: var(--teal-100) !important;\n}\n.hover\\:bg-teal-200:hover {\n background-color: var(--teal-200) !important;\n}\n.hover\\:bg-teal-300:hover {\n background-color: var(--teal-300) !important;\n}\n.hover\\:bg-teal-400:hover {\n background-color: var(--teal-400) !important;\n}\n.hover\\:bg-teal-500:hover {\n background-color: var(--teal-500) !important;\n}\n.hover\\:bg-teal-600:hover {\n background-color: var(--teal-600) !important;\n}\n.hover\\:bg-teal-700:hover {\n background-color: var(--teal-700) !important;\n}\n.hover\\:bg-teal-800:hover {\n background-color: var(--teal-800) !important;\n}\n.hover\\:bg-teal-900:hover {\n background-color: var(--teal-900) !important;\n}\n\n.active\\:bg-teal-50:active {\n background-color: var(--teal-50) !important;\n}\n.active\\:bg-teal-100:active {\n background-color: var(--teal-100) !important;\n}\n.active\\:bg-teal-200:active {\n background-color: var(--teal-200) !important;\n}\n.active\\:bg-teal-300:active {\n background-color: var(--teal-300) !important;\n}\n.active\\:bg-teal-400:active {\n background-color: var(--teal-400) !important;\n}\n.active\\:bg-teal-500:active {\n background-color: var(--teal-500) !important;\n}\n.active\\:bg-teal-600:active {\n background-color: var(--teal-600) !important;\n}\n.active\\:bg-teal-700:active {\n background-color: var(--teal-700) !important;\n}\n.active\\:bg-teal-800:active {\n background-color: var(--teal-800) !important;\n}\n.active\\:bg-teal-900:active {\n background-color: var(--teal-900) !important;\n}\n\n.bg-orange-50 {\n background-color: var(--orange-50) !important;\n}\n.bg-orange-100 {\n background-color: var(--orange-100) !important;\n}\n.bg-orange-200 {\n background-color: var(--orange-200) !important;\n}\n.bg-orange-300 {\n background-color: var(--orange-300) !important;\n}\n.bg-orange-400 {\n background-color: var(--orange-400) !important;\n}\n.bg-orange-500 {\n background-color: var(--orange-500) !important;\n}\n.bg-orange-600 {\n background-color: var(--orange-600) !important;\n}\n.bg-orange-700 {\n background-color: var(--orange-700) !important;\n}\n.bg-orange-800 {\n background-color: var(--orange-800) !important;\n}\n.bg-orange-900 {\n background-color: var(--orange-900) !important;\n}\n\n.focus\\:bg-orange-50:focus {\n background-color: var(--orange-50) !important;\n}\n.focus\\:bg-orange-100:focus {\n background-color: var(--orange-100) !important;\n}\n.focus\\:bg-orange-200:focus {\n background-color: var(--orange-200) !important;\n}\n.focus\\:bg-orange-300:focus {\n background-color: var(--orange-300) !important;\n}\n.focus\\:bg-orange-400:focus {\n background-color: var(--orange-400) !important;\n}\n.focus\\:bg-orange-500:focus {\n background-color: var(--orange-500) !important;\n}\n.focus\\:bg-orange-600:focus {\n background-color: var(--orange-600) !important;\n}\n.focus\\:bg-orange-700:focus {\n background-color: var(--orange-700) !important;\n}\n.focus\\:bg-orange-800:focus {\n background-color: var(--orange-800) !important;\n}\n.focus\\:bg-orange-900:focus {\n background-color: var(--orange-900) !important;\n}\n\n.hover\\:bg-orange-50:hover {\n background-color: var(--orange-50) !important;\n}\n.hover\\:bg-orange-100:hover {\n background-color: var(--orange-100) !important;\n}\n.hover\\:bg-orange-200:hover {\n background-color: var(--orange-200) !important;\n}\n.hover\\:bg-orange-300:hover {\n background-color: var(--orange-300) !important;\n}\n.hover\\:bg-orange-400:hover {\n background-color: var(--orange-400) !important;\n}\n.hover\\:bg-orange-500:hover {\n background-color: var(--orange-500) !important;\n}\n.hover\\:bg-orange-600:hover {\n background-color: var(--orange-600) !important;\n}\n.hover\\:bg-orange-700:hover {\n background-color: var(--orange-700) !important;\n}\n.hover\\:bg-orange-800:hover {\n background-color: var(--orange-800) !important;\n}\n.hover\\:bg-orange-900:hover {\n background-color: var(--orange-900) !important;\n}\n\n.active\\:bg-orange-50:active {\n background-color: var(--orange-50) !important;\n}\n.active\\:bg-orange-100:active {\n background-color: var(--orange-100) !important;\n}\n.active\\:bg-orange-200:active {\n background-color: var(--orange-200) !important;\n}\n.active\\:bg-orange-300:active {\n background-color: var(--orange-300) !important;\n}\n.active\\:bg-orange-400:active {\n background-color: var(--orange-400) !important;\n}\n.active\\:bg-orange-500:active {\n background-color: var(--orange-500) !important;\n}\n.active\\:bg-orange-600:active {\n background-color: var(--orange-600) !important;\n}\n.active\\:bg-orange-700:active {\n background-color: var(--orange-700) !important;\n}\n.active\\:bg-orange-800:active {\n background-color: var(--orange-800) !important;\n}\n.active\\:bg-orange-900:active {\n background-color: var(--orange-900) !important;\n}\n\n.bg-bluegray-50 {\n background-color: var(--bluegray-50) !important;\n}\n.bg-bluegray-100 {\n background-color: var(--bluegray-100) !important;\n}\n.bg-bluegray-200 {\n background-color: var(--bluegray-200) !important;\n}\n.bg-bluegray-300 {\n background-color: var(--bluegray-300) !important;\n}\n.bg-bluegray-400 {\n background-color: var(--bluegray-400) !important;\n}\n.bg-bluegray-500 {\n background-color: var(--bluegray-500) !important;\n}\n.bg-bluegray-600 {\n background-color: var(--bluegray-600) !important;\n}\n.bg-bluegray-700 {\n background-color: var(--bluegray-700) !important;\n}\n.bg-bluegray-800 {\n background-color: var(--bluegray-800) !important;\n}\n.bg-bluegray-900 {\n background-color: var(--bluegray-900) !important;\n}\n\n.focus\\:bg-bluegray-50:focus {\n background-color: var(--bluegray-50) !important;\n}\n.focus\\:bg-bluegray-100:focus {\n background-color: var(--bluegray-100) !important;\n}\n.focus\\:bg-bluegray-200:focus {\n background-color: var(--bluegray-200) !important;\n}\n.focus\\:bg-bluegray-300:focus {\n background-color: var(--bluegray-300) !important;\n}\n.focus\\:bg-bluegray-400:focus {\n background-color: var(--bluegray-400) !important;\n}\n.focus\\:bg-bluegray-500:focus {\n background-color: var(--bluegray-500) !important;\n}\n.focus\\:bg-bluegray-600:focus {\n background-color: var(--bluegray-600) !important;\n}\n.focus\\:bg-bluegray-700:focus {\n background-color: var(--bluegray-700) !important;\n}\n.focus\\:bg-bluegray-800:focus {\n background-color: var(--bluegray-800) !important;\n}\n.focus\\:bg-bluegray-900:focus {\n background-color: var(--bluegray-900) !important;\n}\n\n.hover\\:bg-bluegray-50:hover {\n background-color: var(--bluegray-50) !important;\n}\n.hover\\:bg-bluegray-100:hover {\n background-color: var(--bluegray-100) !important;\n}\n.hover\\:bg-bluegray-200:hover {\n background-color: var(--bluegray-200) !important;\n}\n.hover\\:bg-bluegray-300:hover {\n background-color: var(--bluegray-300) !important;\n}\n.hover\\:bg-bluegray-400:hover {\n background-color: var(--bluegray-400) !important;\n}\n.hover\\:bg-bluegray-500:hover {\n background-color: var(--bluegray-500) !important;\n}\n.hover\\:bg-bluegray-600:hover {\n background-color: var(--bluegray-600) !important;\n}\n.hover\\:bg-bluegray-700:hover {\n background-color: var(--bluegray-700) !important;\n}\n.hover\\:bg-bluegray-800:hover {\n background-color: var(--bluegray-800) !important;\n}\n.hover\\:bg-bluegray-900:hover {\n background-color: var(--bluegray-900) !important;\n}\n\n.active\\:bg-bluegray-50:active {\n background-color: var(--bluegray-50) !important;\n}\n.active\\:bg-bluegray-100:active {\n background-color: var(--bluegray-100) !important;\n}\n.active\\:bg-bluegray-200:active {\n background-color: var(--bluegray-200) !important;\n}\n.active\\:bg-bluegray-300:active {\n background-color: var(--bluegray-300) !important;\n}\n.active\\:bg-bluegray-400:active {\n background-color: var(--bluegray-400) !important;\n}\n.active\\:bg-bluegray-500:active {\n background-color: var(--bluegray-500) !important;\n}\n.active\\:bg-bluegray-600:active {\n background-color: var(--bluegray-600) !important;\n}\n.active\\:bg-bluegray-700:active {\n background-color: var(--bluegray-700) !important;\n}\n.active\\:bg-bluegray-800:active {\n background-color: var(--bluegray-800) !important;\n}\n.active\\:bg-bluegray-900:active {\n background-color: var(--bluegray-900) !important;\n}\n\n.bg-purple-50 {\n background-color: var(--purple-50) !important;\n}\n.bg-purple-100 {\n background-color: var(--purple-100) !important;\n}\n.bg-purple-200 {\n background-color: var(--purple-200) !important;\n}\n.bg-purple-300 {\n background-color: var(--purple-300) !important;\n}\n.bg-purple-400 {\n background-color: var(--purple-400) !important;\n}\n.bg-purple-500 {\n background-color: var(--purple-500) !important;\n}\n.bg-purple-600 {\n background-color: var(--purple-600) !important;\n}\n.bg-purple-700 {\n background-color: var(--purple-700) !important;\n}\n.bg-purple-800 {\n background-color: var(--purple-800) !important;\n}\n.bg-purple-900 {\n background-color: var(--purple-900) !important;\n}\n\n.focus\\:bg-purple-50:focus {\n background-color: var(--purple-50) !important;\n}\n.focus\\:bg-purple-100:focus {\n background-color: var(--purple-100) !important;\n}\n.focus\\:bg-purple-200:focus {\n background-color: var(--purple-200) !important;\n}\n.focus\\:bg-purple-300:focus {\n background-color: var(--purple-300) !important;\n}\n.focus\\:bg-purple-400:focus {\n background-color: var(--purple-400) !important;\n}\n.focus\\:bg-purple-500:focus {\n background-color: var(--purple-500) !important;\n}\n.focus\\:bg-purple-600:focus {\n background-color: var(--purple-600) !important;\n}\n.focus\\:bg-purple-700:focus {\n background-color: var(--purple-700) !important;\n}\n.focus\\:bg-purple-800:focus {\n background-color: var(--purple-800) !important;\n}\n.focus\\:bg-purple-900:focus {\n background-color: var(--purple-900) !important;\n}\n\n.hover\\:bg-purple-50:hover {\n background-color: var(--purple-50) !important;\n}\n.hover\\:bg-purple-100:hover {\n background-color: var(--purple-100) !important;\n}\n.hover\\:bg-purple-200:hover {\n background-color: var(--purple-200) !important;\n}\n.hover\\:bg-purple-300:hover {\n background-color: var(--purple-300) !important;\n}\n.hover\\:bg-purple-400:hover {\n background-color: var(--purple-400) !important;\n}\n.hover\\:bg-purple-500:hover {\n background-color: var(--purple-500) !important;\n}\n.hover\\:bg-purple-600:hover {\n background-color: var(--purple-600) !important;\n}\n.hover\\:bg-purple-700:hover {\n background-color: var(--purple-700) !important;\n}\n.hover\\:bg-purple-800:hover {\n background-color: var(--purple-800) !important;\n}\n.hover\\:bg-purple-900:hover {\n background-color: var(--purple-900) !important;\n}\n\n.active\\:bg-purple-50:active {\n background-color: var(--purple-50) !important;\n}\n.active\\:bg-purple-100:active {\n background-color: var(--purple-100) !important;\n}\n.active\\:bg-purple-200:active {\n background-color: var(--purple-200) !important;\n}\n.active\\:bg-purple-300:active {\n background-color: var(--purple-300) !important;\n}\n.active\\:bg-purple-400:active {\n background-color: var(--purple-400) !important;\n}\n.active\\:bg-purple-500:active {\n background-color: var(--purple-500) !important;\n}\n.active\\:bg-purple-600:active {\n background-color: var(--purple-600) !important;\n}\n.active\\:bg-purple-700:active {\n background-color: var(--purple-700) !important;\n}\n.active\\:bg-purple-800:active {\n background-color: var(--purple-800) !important;\n}\n.active\\:bg-purple-900:active {\n background-color: var(--purple-900) !important;\n}\n\n.bg-gray-50 {\n background-color: var(--gray-50) !important;\n}\n.bg-gray-100 {\n background-color: var(--gray-100) !important;\n}\n.bg-gray-200 {\n background-color: var(--gray-200) !important;\n}\n.bg-gray-300 {\n background-color: var(--gray-300) !important;\n}\n.bg-gray-400 {\n background-color: var(--gray-400) !important;\n}\n.bg-gray-500 {\n background-color: var(--gray-500) !important;\n}\n.bg-gray-600 {\n background-color: var(--gray-600) !important;\n}\n.bg-gray-700 {\n background-color: var(--gray-700) !important;\n}\n.bg-gray-800 {\n background-color: var(--gray-800) !important;\n}\n.bg-gray-900 {\n background-color: var(--gray-900) !important;\n}\n\n.focus\\:bg-gray-50:focus {\n background-color: var(--gray-50) !important;\n}\n.focus\\:bg-gray-100:focus {\n background-color: var(--gray-100) !important;\n}\n.focus\\:bg-gray-200:focus {\n background-color: var(--gray-200) !important;\n}\n.focus\\:bg-gray-300:focus {\n background-color: var(--gray-300) !important;\n}\n.focus\\:bg-gray-400:focus {\n background-color: var(--gray-400) !important;\n}\n.focus\\:bg-gray-500:focus {\n background-color: var(--gray-500) !important;\n}\n.focus\\:bg-gray-600:focus {\n background-color: var(--gray-600) !important;\n}\n.focus\\:bg-gray-700:focus {\n background-color: var(--gray-700) !important;\n}\n.focus\\:bg-gray-800:focus {\n background-color: var(--gray-800) !important;\n}\n.focus\\:bg-gray-900:focus {\n background-color: var(--gray-900) !important;\n}\n\n.hover\\:bg-gray-50:hover {\n background-color: var(--gray-50) !important;\n}\n.hover\\:bg-gray-100:hover {\n background-color: var(--gray-100) !important;\n}\n.hover\\:bg-gray-200:hover {\n background-color: var(--gray-200) !important;\n}\n.hover\\:bg-gray-300:hover {\n background-color: var(--gray-300) !important;\n}\n.hover\\:bg-gray-400:hover {\n background-color: var(--gray-400) !important;\n}\n.hover\\:bg-gray-500:hover {\n background-color: var(--gray-500) !important;\n}\n.hover\\:bg-gray-600:hover {\n background-color: var(--gray-600) !important;\n}\n.hover\\:bg-gray-700:hover {\n background-color: var(--gray-700) !important;\n}\n.hover\\:bg-gray-800:hover {\n background-color: var(--gray-800) !important;\n}\n.hover\\:bg-gray-900:hover {\n background-color: var(--gray-900) !important;\n}\n\n.active\\:bg-gray-50:active {\n background-color: var(--gray-50) !important;\n}\n.active\\:bg-gray-100:active {\n background-color: var(--gray-100) !important;\n}\n.active\\:bg-gray-200:active {\n background-color: var(--gray-200) !important;\n}\n.active\\:bg-gray-300:active {\n background-color: var(--gray-300) !important;\n}\n.active\\:bg-gray-400:active {\n background-color: var(--gray-400) !important;\n}\n.active\\:bg-gray-500:active {\n background-color: var(--gray-500) !important;\n}\n.active\\:bg-gray-600:active {\n background-color: var(--gray-600) !important;\n}\n.active\\:bg-gray-700:active {\n background-color: var(--gray-700) !important;\n}\n.active\\:bg-gray-800:active {\n background-color: var(--gray-800) !important;\n}\n.active\\:bg-gray-900:active {\n background-color: var(--gray-900) !important;\n}\n\n.border-blue-50 {\n border-color: var(--blue-50) !important;\n}\n.border-blue-100 {\n border-color: var(--blue-100) !important;\n}\n.border-blue-200 {\n border-color: var(--blue-200) !important;\n}\n.border-blue-300 {\n border-color: var(--blue-300) !important;\n}\n.border-blue-400 {\n border-color: var(--blue-400) !important;\n}\n.border-blue-500 {\n border-color: var(--blue-500) !important;\n}\n.border-blue-600 {\n border-color: var(--blue-600) !important;\n}\n.border-blue-700 {\n border-color: var(--blue-700) !important;\n}\n.border-blue-800 {\n border-color: var(--blue-800) !important;\n}\n.border-blue-900 {\n border-color: var(--blue-900) !important;\n}\n\n.focus\\:border-blue-50:focus {\n border-color: var(--blue-50) !important;\n}\n.focus\\:border-blue-100:focus {\n border-color: var(--blue-100) !important;\n}\n.focus\\:border-blue-200:focus {\n border-color: var(--blue-200) !important;\n}\n.focus\\:border-blue-300:focus {\n border-color: var(--blue-300) !important;\n}\n.focus\\:border-blue-400:focus {\n border-color: var(--blue-400) !important;\n}\n.focus\\:border-blue-500:focus {\n border-color: var(--blue-500) !important;\n}\n.focus\\:border-blue-600:focus {\n border-color: var(--blue-600) !important;\n}\n.focus\\:border-blue-700:focus {\n border-color: var(--blue-700) !important;\n}\n.focus\\:border-blue-800:focus {\n border-color: var(--blue-800) !important;\n}\n.focus\\:border-blue-900:focus {\n border-color: var(--blue-900) !important;\n}\n\n.hover\\:border-blue-50:hover {\n border-color: var(--blue-50) !important;\n}\n.hover\\:border-blue-100:hover {\n border-color: var(--blue-100) !important;\n}\n.hover\\:border-blue-200:hover {\n border-color: var(--blue-200) !important;\n}\n.hover\\:border-blue-300:hover {\n border-color: var(--blue-300) !important;\n}\n.hover\\:border-blue-400:hover {\n border-color: var(--blue-400) !important;\n}\n.hover\\:border-blue-500:hover {\n border-color: var(--blue-500) !important;\n}\n.hover\\:border-blue-600:hover {\n border-color: var(--blue-600) !important;\n}\n.hover\\:border-blue-700:hover {\n border-color: var(--blue-700) !important;\n}\n.hover\\:border-blue-800:hover {\n border-color: var(--blue-800) !important;\n}\n.hover\\:border-blue-900:hover {\n border-color: var(--blue-900) !important;\n}\n\n.active\\:border-blue-50:active {\n border-color: var(--blue-50) !important;\n}\n.active\\:border-blue-100:active {\n border-color: var(--blue-100) !important;\n}\n.active\\:border-blue-200:active {\n border-color: var(--blue-200) !important;\n}\n.active\\:border-blue-300:active {\n border-color: var(--blue-300) !important;\n}\n.active\\:border-blue-400:active {\n border-color: var(--blue-400) !important;\n}\n.active\\:border-blue-500:active {\n border-color: var(--blue-500) !important;\n}\n.active\\:border-blue-600:active {\n border-color: var(--blue-600) !important;\n}\n.active\\:border-blue-700:active {\n border-color: var(--blue-700) !important;\n}\n.active\\:border-blue-800:active {\n border-color: var(--blue-800) !important;\n}\n.active\\:border-blue-900:active {\n border-color: var(--blue-900) !important;\n}\n\n.border-green-50 {\n border-color: var(--green-50) !important;\n}\n.border-green-100 {\n border-color: var(--green-100) !important;\n}\n.border-green-200 {\n border-color: var(--green-200) !important;\n}\n.border-green-300 {\n border-color: var(--green-300) !important;\n}\n.border-green-400 {\n border-color: var(--green-400) !important;\n}\n.border-green-500 {\n border-color: var(--green-500) !important;\n}\n.border-green-600 {\n border-color: var(--green-600) !important;\n}\n.border-green-700 {\n border-color: var(--green-700) !important;\n}\n.border-green-800 {\n border-color: var(--green-800) !important;\n}\n.border-green-900 {\n border-color: var(--green-900) !important;\n}\n\n.focus\\:border-green-50:focus {\n border-color: var(--green-50) !important;\n}\n.focus\\:border-green-100:focus {\n border-color: var(--green-100) !important;\n}\n.focus\\:border-green-200:focus {\n border-color: var(--green-200) !important;\n}\n.focus\\:border-green-300:focus {\n border-color: var(--green-300) !important;\n}\n.focus\\:border-green-400:focus {\n border-color: var(--green-400) !important;\n}\n.focus\\:border-green-500:focus {\n border-color: var(--green-500) !important;\n}\n.focus\\:border-green-600:focus {\n border-color: var(--green-600) !important;\n}\n.focus\\:border-green-700:focus {\n border-color: var(--green-700) !important;\n}\n.focus\\:border-green-800:focus {\n border-color: var(--green-800) !important;\n}\n.focus\\:border-green-900:focus {\n border-color: var(--green-900) !important;\n}\n\n.hover\\:border-green-50:hover {\n border-color: var(--green-50) !important;\n}\n.hover\\:border-green-100:hover {\n border-color: var(--green-100) !important;\n}\n.hover\\:border-green-200:hover {\n border-color: var(--green-200) !important;\n}\n.hover\\:border-green-300:hover {\n border-color: var(--green-300) !important;\n}\n.hover\\:border-green-400:hover {\n border-color: var(--green-400) !important;\n}\n.hover\\:border-green-500:hover {\n border-color: var(--green-500) !important;\n}\n.hover\\:border-green-600:hover {\n border-color: var(--green-600) !important;\n}\n.hover\\:border-green-700:hover {\n border-color: var(--green-700) !important;\n}\n.hover\\:border-green-800:hover {\n border-color: var(--green-800) !important;\n}\n.hover\\:border-green-900:hover {\n border-color: var(--green-900) !important;\n}\n\n.active\\:border-green-50:active {\n border-color: var(--green-50) !important;\n}\n.active\\:border-green-100:active {\n border-color: var(--green-100) !important;\n}\n.active\\:border-green-200:active {\n border-color: var(--green-200) !important;\n}\n.active\\:border-green-300:active {\n border-color: var(--green-300) !important;\n}\n.active\\:border-green-400:active {\n border-color: var(--green-400) !important;\n}\n.active\\:border-green-500:active {\n border-color: var(--green-500) !important;\n}\n.active\\:border-green-600:active {\n border-color: var(--green-600) !important;\n}\n.active\\:border-green-700:active {\n border-color: var(--green-700) !important;\n}\n.active\\:border-green-800:active {\n border-color: var(--green-800) !important;\n}\n.active\\:border-green-900:active {\n border-color: var(--green-900) !important;\n}\n\n.border-yellow-50 {\n border-color: var(--yellow-50) !important;\n}\n.border-yellow-100 {\n border-color: var(--yellow-100) !important;\n}\n.border-yellow-200 {\n border-color: var(--yellow-200) !important;\n}\n.border-yellow-300 {\n border-color: var(--yellow-300) !important;\n}\n.border-yellow-400 {\n border-color: var(--yellow-400) !important;\n}\n.border-yellow-500 {\n border-color: var(--yellow-500) !important;\n}\n.border-yellow-600 {\n border-color: var(--yellow-600) !important;\n}\n.border-yellow-700 {\n border-color: var(--yellow-700) !important;\n}\n.border-yellow-800 {\n border-color: var(--yellow-800) !important;\n}\n.border-yellow-900 {\n border-color: var(--yellow-900) !important;\n}\n\n.focus\\:border-yellow-50:focus {\n border-color: var(--yellow-50) !important;\n}\n.focus\\:border-yellow-100:focus {\n border-color: var(--yellow-100) !important;\n}\n.focus\\:border-yellow-200:focus {\n border-color: var(--yellow-200) !important;\n}\n.focus\\:border-yellow-300:focus {\n border-color: var(--yellow-300) !important;\n}\n.focus\\:border-yellow-400:focus {\n border-color: var(--yellow-400) !important;\n}\n.focus\\:border-yellow-500:focus {\n border-color: var(--yellow-500) !important;\n}\n.focus\\:border-yellow-600:focus {\n border-color: var(--yellow-600) !important;\n}\n.focus\\:border-yellow-700:focus {\n border-color: var(--yellow-700) !important;\n}\n.focus\\:border-yellow-800:focus {\n border-color: var(--yellow-800) !important;\n}\n.focus\\:border-yellow-900:focus {\n border-color: var(--yellow-900) !important;\n}\n\n.hover\\:border-yellow-50:hover {\n border-color: var(--yellow-50) !important;\n}\n.hover\\:border-yellow-100:hover {\n border-color: var(--yellow-100) !important;\n}\n.hover\\:border-yellow-200:hover {\n border-color: var(--yellow-200) !important;\n}\n.hover\\:border-yellow-300:hover {\n border-color: var(--yellow-300) !important;\n}\n.hover\\:border-yellow-400:hover {\n border-color: var(--yellow-400) !important;\n}\n.hover\\:border-yellow-500:hover {\n border-color: var(--yellow-500) !important;\n}\n.hover\\:border-yellow-600:hover {\n border-color: var(--yellow-600) !important;\n}\n.hover\\:border-yellow-700:hover {\n border-color: var(--yellow-700) !important;\n}\n.hover\\:border-yellow-800:hover {\n border-color: var(--yellow-800) !important;\n}\n.hover\\:border-yellow-900:hover {\n border-color: var(--yellow-900) !important;\n}\n\n.active\\:border-yellow-50:active {\n border-color: var(--yellow-50) !important;\n}\n.active\\:border-yellow-100:active {\n border-color: var(--yellow-100) !important;\n}\n.active\\:border-yellow-200:active {\n border-color: var(--yellow-200) !important;\n}\n.active\\:border-yellow-300:active {\n border-color: var(--yellow-300) !important;\n}\n.active\\:border-yellow-400:active {\n border-color: var(--yellow-400) !important;\n}\n.active\\:border-yellow-500:active {\n border-color: var(--yellow-500) !important;\n}\n.active\\:border-yellow-600:active {\n border-color: var(--yellow-600) !important;\n}\n.active\\:border-yellow-700:active {\n border-color: var(--yellow-700) !important;\n}\n.active\\:border-yellow-800:active {\n border-color: var(--yellow-800) !important;\n}\n.active\\:border-yellow-900:active {\n border-color: var(--yellow-900) !important;\n}\n\n.border-cyan-50 {\n border-color: var(--cyan-50) !important;\n}\n.border-cyan-100 {\n border-color: var(--cyan-100) !important;\n}\n.border-cyan-200 {\n border-color: var(--cyan-200) !important;\n}\n.border-cyan-300 {\n border-color: var(--cyan-300) !important;\n}\n.border-cyan-400 {\n border-color: var(--cyan-400) !important;\n}\n.border-cyan-500 {\n border-color: var(--cyan-500) !important;\n}\n.border-cyan-600 {\n border-color: var(--cyan-600) !important;\n}\n.border-cyan-700 {\n border-color: var(--cyan-700) !important;\n}\n.border-cyan-800 {\n border-color: var(--cyan-800) !important;\n}\n.border-cyan-900 {\n border-color: var(--cyan-900) !important;\n}\n\n.focus\\:border-cyan-50:focus {\n border-color: var(--cyan-50) !important;\n}\n.focus\\:border-cyan-100:focus {\n border-color: var(--cyan-100) !important;\n}\n.focus\\:border-cyan-200:focus {\n border-color: var(--cyan-200) !important;\n}\n.focus\\:border-cyan-300:focus {\n border-color: var(--cyan-300) !important;\n}\n.focus\\:border-cyan-400:focus {\n border-color: var(--cyan-400) !important;\n}\n.focus\\:border-cyan-500:focus {\n border-color: var(--cyan-500) !important;\n}\n.focus\\:border-cyan-600:focus {\n border-color: var(--cyan-600) !important;\n}\n.focus\\:border-cyan-700:focus {\n border-color: var(--cyan-700) !important;\n}\n.focus\\:border-cyan-800:focus {\n border-color: var(--cyan-800) !important;\n}\n.focus\\:border-cyan-900:focus {\n border-color: var(--cyan-900) !important;\n}\n\n.hover\\:border-cyan-50:hover {\n border-color: var(--cyan-50) !important;\n}\n.hover\\:border-cyan-100:hover {\n border-color: var(--cyan-100) !important;\n}\n.hover\\:border-cyan-200:hover {\n border-color: var(--cyan-200) !important;\n}\n.hover\\:border-cyan-300:hover {\n border-color: var(--cyan-300) !important;\n}\n.hover\\:border-cyan-400:hover {\n border-color: var(--cyan-400) !important;\n}\n.hover\\:border-cyan-500:hover {\n border-color: var(--cyan-500) !important;\n}\n.hover\\:border-cyan-600:hover {\n border-color: var(--cyan-600) !important;\n}\n.hover\\:border-cyan-700:hover {\n border-color: var(--cyan-700) !important;\n}\n.hover\\:border-cyan-800:hover {\n border-color: var(--cyan-800) !important;\n}\n.hover\\:border-cyan-900:hover {\n border-color: var(--cyan-900) !important;\n}\n\n.active\\:border-cyan-50:active {\n border-color: var(--cyan-50) !important;\n}\n.active\\:border-cyan-100:active {\n border-color: var(--cyan-100) !important;\n}\n.active\\:border-cyan-200:active {\n border-color: var(--cyan-200) !important;\n}\n.active\\:border-cyan-300:active {\n border-color: var(--cyan-300) !important;\n}\n.active\\:border-cyan-400:active {\n border-color: var(--cyan-400) !important;\n}\n.active\\:border-cyan-500:active {\n border-color: var(--cyan-500) !important;\n}\n.active\\:border-cyan-600:active {\n border-color: var(--cyan-600) !important;\n}\n.active\\:border-cyan-700:active {\n border-color: var(--cyan-700) !important;\n}\n.active\\:border-cyan-800:active {\n border-color: var(--cyan-800) !important;\n}\n.active\\:border-cyan-900:active {\n border-color: var(--cyan-900) !important;\n}\n\n.border-pink-50 {\n border-color: var(--pink-50) !important;\n}\n.border-pink-100 {\n border-color: var(--pink-100) !important;\n}\n.border-pink-200 {\n border-color: var(--pink-200) !important;\n}\n.border-pink-300 {\n border-color: var(--pink-300) !important;\n}\n.border-pink-400 {\n border-color: var(--pink-400) !important;\n}\n.border-pink-500 {\n border-color: var(--pink-500) !important;\n}\n.border-pink-600 {\n border-color: var(--pink-600) !important;\n}\n.border-pink-700 {\n border-color: var(--pink-700) !important;\n}\n.border-pink-800 {\n border-color: var(--pink-800) !important;\n}\n.border-pink-900 {\n border-color: var(--pink-900) !important;\n}\n\n.focus\\:border-pink-50:focus {\n border-color: var(--pink-50) !important;\n}\n.focus\\:border-pink-100:focus {\n border-color: var(--pink-100) !important;\n}\n.focus\\:border-pink-200:focus {\n border-color: var(--pink-200) !important;\n}\n.focus\\:border-pink-300:focus {\n border-color: var(--pink-300) !important;\n}\n.focus\\:border-pink-400:focus {\n border-color: var(--pink-400) !important;\n}\n.focus\\:border-pink-500:focus {\n border-color: var(--pink-500) !important;\n}\n.focus\\:border-pink-600:focus {\n border-color: var(--pink-600) !important;\n}\n.focus\\:border-pink-700:focus {\n border-color: var(--pink-700) !important;\n}\n.focus\\:border-pink-800:focus {\n border-color: var(--pink-800) !important;\n}\n.focus\\:border-pink-900:focus {\n border-color: var(--pink-900) !important;\n}\n\n.hover\\:border-pink-50:hover {\n border-color: var(--pink-50) !important;\n}\n.hover\\:border-pink-100:hover {\n border-color: var(--pink-100) !important;\n}\n.hover\\:border-pink-200:hover {\n border-color: var(--pink-200) !important;\n}\n.hover\\:border-pink-300:hover {\n border-color: var(--pink-300) !important;\n}\n.hover\\:border-pink-400:hover {\n border-color: var(--pink-400) !important;\n}\n.hover\\:border-pink-500:hover {\n border-color: var(--pink-500) !important;\n}\n.hover\\:border-pink-600:hover {\n border-color: var(--pink-600) !important;\n}\n.hover\\:border-pink-700:hover {\n border-color: var(--pink-700) !important;\n}\n.hover\\:border-pink-800:hover {\n border-color: var(--pink-800) !important;\n}\n.hover\\:border-pink-900:hover {\n border-color: var(--pink-900) !important;\n}\n\n.active\\:border-pink-50:active {\n border-color: var(--pink-50) !important;\n}\n.active\\:border-pink-100:active {\n border-color: var(--pink-100) !important;\n}\n.active\\:border-pink-200:active {\n border-color: var(--pink-200) !important;\n}\n.active\\:border-pink-300:active {\n border-color: var(--pink-300) !important;\n}\n.active\\:border-pink-400:active {\n border-color: var(--pink-400) !important;\n}\n.active\\:border-pink-500:active {\n border-color: var(--pink-500) !important;\n}\n.active\\:border-pink-600:active {\n border-color: var(--pink-600) !important;\n}\n.active\\:border-pink-700:active {\n border-color: var(--pink-700) !important;\n}\n.active\\:border-pink-800:active {\n border-color: var(--pink-800) !important;\n}\n.active\\:border-pink-900:active {\n border-color: var(--pink-900) !important;\n}\n\n.border-indigo-50 {\n border-color: var(--indigo-50) !important;\n}\n.border-indigo-100 {\n border-color: var(--indigo-100) !important;\n}\n.border-indigo-200 {\n border-color: var(--indigo-200) !important;\n}\n.border-indigo-300 {\n border-color: var(--indigo-300) !important;\n}\n.border-indigo-400 {\n border-color: var(--indigo-400) !important;\n}\n.border-indigo-500 {\n border-color: var(--indigo-500) !important;\n}\n.border-indigo-600 {\n border-color: var(--indigo-600) !important;\n}\n.border-indigo-700 {\n border-color: var(--indigo-700) !important;\n}\n.border-indigo-800 {\n border-color: var(--indigo-800) !important;\n}\n.border-indigo-900 {\n border-color: var(--indigo-900) !important;\n}\n\n.focus\\:border-indigo-50:focus {\n border-color: var(--indigo-50) !important;\n}\n.focus\\:border-indigo-100:focus {\n border-color: var(--indigo-100) !important;\n}\n.focus\\:border-indigo-200:focus {\n border-color: var(--indigo-200) !important;\n}\n.focus\\:border-indigo-300:focus {\n border-color: var(--indigo-300) !important;\n}\n.focus\\:border-indigo-400:focus {\n border-color: var(--indigo-400) !important;\n}\n.focus\\:border-indigo-500:focus {\n border-color: var(--indigo-500) !important;\n}\n.focus\\:border-indigo-600:focus {\n border-color: var(--indigo-600) !important;\n}\n.focus\\:border-indigo-700:focus {\n border-color: var(--indigo-700) !important;\n}\n.focus\\:border-indigo-800:focus {\n border-color: var(--indigo-800) !important;\n}\n.focus\\:border-indigo-900:focus {\n border-color: var(--indigo-900) !important;\n}\n\n.hover\\:border-indigo-50:hover {\n border-color: var(--indigo-50) !important;\n}\n.hover\\:border-indigo-100:hover {\n border-color: var(--indigo-100) !important;\n}\n.hover\\:border-indigo-200:hover {\n border-color: var(--indigo-200) !important;\n}\n.hover\\:border-indigo-300:hover {\n border-color: var(--indigo-300) !important;\n}\n.hover\\:border-indigo-400:hover {\n border-color: var(--indigo-400) !important;\n}\n.hover\\:border-indigo-500:hover {\n border-color: var(--indigo-500) !important;\n}\n.hover\\:border-indigo-600:hover {\n border-color: var(--indigo-600) !important;\n}\n.hover\\:border-indigo-700:hover {\n border-color: var(--indigo-700) !important;\n}\n.hover\\:border-indigo-800:hover {\n border-color: var(--indigo-800) !important;\n}\n.hover\\:border-indigo-900:hover {\n border-color: var(--indigo-900) !important;\n}\n\n.active\\:border-indigo-50:active {\n border-color: var(--indigo-50) !important;\n}\n.active\\:border-indigo-100:active {\n border-color: var(--indigo-100) !important;\n}\n.active\\:border-indigo-200:active {\n border-color: var(--indigo-200) !important;\n}\n.active\\:border-indigo-300:active {\n border-color: var(--indigo-300) !important;\n}\n.active\\:border-indigo-400:active {\n border-color: var(--indigo-400) !important;\n}\n.active\\:border-indigo-500:active {\n border-color: var(--indigo-500) !important;\n}\n.active\\:border-indigo-600:active {\n border-color: var(--indigo-600) !important;\n}\n.active\\:border-indigo-700:active {\n border-color: var(--indigo-700) !important;\n}\n.active\\:border-indigo-800:active {\n border-color: var(--indigo-800) !important;\n}\n.active\\:border-indigo-900:active {\n border-color: var(--indigo-900) !important;\n}\n\n.border-teal-50 {\n border-color: var(--teal-50) !important;\n}\n.border-teal-100 {\n border-color: var(--teal-100) !important;\n}\n.border-teal-200 {\n border-color: var(--teal-200) !important;\n}\n.border-teal-300 {\n border-color: var(--teal-300) !important;\n}\n.border-teal-400 {\n border-color: var(--teal-400) !important;\n}\n.border-teal-500 {\n border-color: var(--teal-500) !important;\n}\n.border-teal-600 {\n border-color: var(--teal-600) !important;\n}\n.border-teal-700 {\n border-color: var(--teal-700) !important;\n}\n.border-teal-800 {\n border-color: var(--teal-800) !important;\n}\n.border-teal-900 {\n border-color: var(--teal-900) !important;\n}\n\n.focus\\:border-teal-50:focus {\n border-color: var(--teal-50) !important;\n}\n.focus\\:border-teal-100:focus {\n border-color: var(--teal-100) !important;\n}\n.focus\\:border-teal-200:focus {\n border-color: var(--teal-200) !important;\n}\n.focus\\:border-teal-300:focus {\n border-color: var(--teal-300) !important;\n}\n.focus\\:border-teal-400:focus {\n border-color: var(--teal-400) !important;\n}\n.focus\\:border-teal-500:focus {\n border-color: var(--teal-500) !important;\n}\n.focus\\:border-teal-600:focus {\n border-color: var(--teal-600) !important;\n}\n.focus\\:border-teal-700:focus {\n border-color: var(--teal-700) !important;\n}\n.focus\\:border-teal-800:focus {\n border-color: var(--teal-800) !important;\n}\n.focus\\:border-teal-900:focus {\n border-color: var(--teal-900) !important;\n}\n\n.hover\\:border-teal-50:hover {\n border-color: var(--teal-50) !important;\n}\n.hover\\:border-teal-100:hover {\n border-color: var(--teal-100) !important;\n}\n.hover\\:border-teal-200:hover {\n border-color: var(--teal-200) !important;\n}\n.hover\\:border-teal-300:hover {\n border-color: var(--teal-300) !important;\n}\n.hover\\:border-teal-400:hover {\n border-color: var(--teal-400) !important;\n}\n.hover\\:border-teal-500:hover {\n border-color: var(--teal-500) !important;\n}\n.hover\\:border-teal-600:hover {\n border-color: var(--teal-600) !important;\n}\n.hover\\:border-teal-700:hover {\n border-color: var(--teal-700) !important;\n}\n.hover\\:border-teal-800:hover {\n border-color: var(--teal-800) !important;\n}\n.hover\\:border-teal-900:hover {\n border-color: var(--teal-900) !important;\n}\n\n.active\\:border-teal-50:active {\n border-color: var(--teal-50) !important;\n}\n.active\\:border-teal-100:active {\n border-color: var(--teal-100) !important;\n}\n.active\\:border-teal-200:active {\n border-color: var(--teal-200) !important;\n}\n.active\\:border-teal-300:active {\n border-color: var(--teal-300) !important;\n}\n.active\\:border-teal-400:active {\n border-color: var(--teal-400) !important;\n}\n.active\\:border-teal-500:active {\n border-color: var(--teal-500) !important;\n}\n.active\\:border-teal-600:active {\n border-color: var(--teal-600) !important;\n}\n.active\\:border-teal-700:active {\n border-color: var(--teal-700) !important;\n}\n.active\\:border-teal-800:active {\n border-color: var(--teal-800) !important;\n}\n.active\\:border-teal-900:active {\n border-color: var(--teal-900) !important;\n}\n\n.border-orange-50 {\n border-color: var(--orange-50) !important;\n}\n.border-orange-100 {\n border-color: var(--orange-100) !important;\n}\n.border-orange-200 {\n border-color: var(--orange-200) !important;\n}\n.border-orange-300 {\n border-color: var(--orange-300) !important;\n}\n.border-orange-400 {\n border-color: var(--orange-400) !important;\n}\n.border-orange-500 {\n border-color: var(--orange-500) !important;\n}\n.border-orange-600 {\n border-color: var(--orange-600) !important;\n}\n.border-orange-700 {\n border-color: var(--orange-700) !important;\n}\n.border-orange-800 {\n border-color: var(--orange-800) !important;\n}\n.border-orange-900 {\n border-color: var(--orange-900) !important;\n}\n\n.focus\\:border-orange-50:focus {\n border-color: var(--orange-50) !important;\n}\n.focus\\:border-orange-100:focus {\n border-color: var(--orange-100) !important;\n}\n.focus\\:border-orange-200:focus {\n border-color: var(--orange-200) !important;\n}\n.focus\\:border-orange-300:focus {\n border-color: var(--orange-300) !important;\n}\n.focus\\:border-orange-400:focus {\n border-color: var(--orange-400) !important;\n}\n.focus\\:border-orange-500:focus {\n border-color: var(--orange-500) !important;\n}\n.focus\\:border-orange-600:focus {\n border-color: var(--orange-600) !important;\n}\n.focus\\:border-orange-700:focus {\n border-color: var(--orange-700) !important;\n}\n.focus\\:border-orange-800:focus {\n border-color: var(--orange-800) !important;\n}\n.focus\\:border-orange-900:focus {\n border-color: var(--orange-900) !important;\n}\n\n.hover\\:border-orange-50:hover {\n border-color: var(--orange-50) !important;\n}\n.hover\\:border-orange-100:hover {\n border-color: var(--orange-100) !important;\n}\n.hover\\:border-orange-200:hover {\n border-color: var(--orange-200) !important;\n}\n.hover\\:border-orange-300:hover {\n border-color: var(--orange-300) !important;\n}\n.hover\\:border-orange-400:hover {\n border-color: var(--orange-400) !important;\n}\n.hover\\:border-orange-500:hover {\n border-color: var(--orange-500) !important;\n}\n.hover\\:border-orange-600:hover {\n border-color: var(--orange-600) !important;\n}\n.hover\\:border-orange-700:hover {\n border-color: var(--orange-700) !important;\n}\n.hover\\:border-orange-800:hover {\n border-color: var(--orange-800) !important;\n}\n.hover\\:border-orange-900:hover {\n border-color: var(--orange-900) !important;\n}\n\n.active\\:border-orange-50:active {\n border-color: var(--orange-50) !important;\n}\n.active\\:border-orange-100:active {\n border-color: var(--orange-100) !important;\n}\n.active\\:border-orange-200:active {\n border-color: var(--orange-200) !important;\n}\n.active\\:border-orange-300:active {\n border-color: var(--orange-300) !important;\n}\n.active\\:border-orange-400:active {\n border-color: var(--orange-400) !important;\n}\n.active\\:border-orange-500:active {\n border-color: var(--orange-500) !important;\n}\n.active\\:border-orange-600:active {\n border-color: var(--orange-600) !important;\n}\n.active\\:border-orange-700:active {\n border-color: var(--orange-700) !important;\n}\n.active\\:border-orange-800:active {\n border-color: var(--orange-800) !important;\n}\n.active\\:border-orange-900:active {\n border-color: var(--orange-900) !important;\n}\n\n.border-bluegray-50 {\n border-color: var(--bluegray-50) !important;\n}\n.border-bluegray-100 {\n border-color: var(--bluegray-100) !important;\n}\n.border-bluegray-200 {\n border-color: var(--bluegray-200) !important;\n}\n.border-bluegray-300 {\n border-color: var(--bluegray-300) !important;\n}\n.border-bluegray-400 {\n border-color: var(--bluegray-400) !important;\n}\n.border-bluegray-500 {\n border-color: var(--bluegray-500) !important;\n}\n.border-bluegray-600 {\n border-color: var(--bluegray-600) !important;\n}\n.border-bluegray-700 {\n border-color: var(--bluegray-700) !important;\n}\n.border-bluegray-800 {\n border-color: var(--bluegray-800) !important;\n}\n.border-bluegray-900 {\n border-color: var(--bluegray-900) !important;\n}\n\n.focus\\:border-bluegray-50:focus {\n border-color: var(--bluegray-50) !important;\n}\n.focus\\:border-bluegray-100:focus {\n border-color: var(--bluegray-100) !important;\n}\n.focus\\:border-bluegray-200:focus {\n border-color: var(--bluegray-200) !important;\n}\n.focus\\:border-bluegray-300:focus {\n border-color: var(--bluegray-300) !important;\n}\n.focus\\:border-bluegray-400:focus {\n border-color: var(--bluegray-400) !important;\n}\n.focus\\:border-bluegray-500:focus {\n border-color: var(--bluegray-500) !important;\n}\n.focus\\:border-bluegray-600:focus {\n border-color: var(--bluegray-600) !important;\n}\n.focus\\:border-bluegray-700:focus {\n border-color: var(--bluegray-700) !important;\n}\n.focus\\:border-bluegray-800:focus {\n border-color: var(--bluegray-800) !important;\n}\n.focus\\:border-bluegray-900:focus {\n border-color: var(--bluegray-900) !important;\n}\n\n.hover\\:border-bluegray-50:hover {\n border-color: var(--bluegray-50) !important;\n}\n.hover\\:border-bluegray-100:hover {\n border-color: var(--bluegray-100) !important;\n}\n.hover\\:border-bluegray-200:hover {\n border-color: var(--bluegray-200) !important;\n}\n.hover\\:border-bluegray-300:hover {\n border-color: var(--bluegray-300) !important;\n}\n.hover\\:border-bluegray-400:hover {\n border-color: var(--bluegray-400) !important;\n}\n.hover\\:border-bluegray-500:hover {\n border-color: var(--bluegray-500) !important;\n}\n.hover\\:border-bluegray-600:hover {\n border-color: var(--bluegray-600) !important;\n}\n.hover\\:border-bluegray-700:hover {\n border-color: var(--bluegray-700) !important;\n}\n.hover\\:border-bluegray-800:hover {\n border-color: var(--bluegray-800) !important;\n}\n.hover\\:border-bluegray-900:hover {\n border-color: var(--bluegray-900) !important;\n}\n\n.active\\:border-bluegray-50:active {\n border-color: var(--bluegray-50) !important;\n}\n.active\\:border-bluegray-100:active {\n border-color: var(--bluegray-100) !important;\n}\n.active\\:border-bluegray-200:active {\n border-color: var(--bluegray-200) !important;\n}\n.active\\:border-bluegray-300:active {\n border-color: var(--bluegray-300) !important;\n}\n.active\\:border-bluegray-400:active {\n border-color: var(--bluegray-400) !important;\n}\n.active\\:border-bluegray-500:active {\n border-color: var(--bluegray-500) !important;\n}\n.active\\:border-bluegray-600:active {\n border-color: var(--bluegray-600) !important;\n}\n.active\\:border-bluegray-700:active {\n border-color: var(--bluegray-700) !important;\n}\n.active\\:border-bluegray-800:active {\n border-color: var(--bluegray-800) !important;\n}\n.active\\:border-bluegray-900:active {\n border-color: var(--bluegray-900) !important;\n}\n\n.border-purple-50 {\n border-color: var(--purple-50) !important;\n}\n.border-purple-100 {\n border-color: var(--purple-100) !important;\n}\n.border-purple-200 {\n border-color: var(--purple-200) !important;\n}\n.border-purple-300 {\n border-color: var(--purple-300) !important;\n}\n.border-purple-400 {\n border-color: var(--purple-400) !important;\n}\n.border-purple-500 {\n border-color: var(--purple-500) !important;\n}\n.border-purple-600 {\n border-color: var(--purple-600) !important;\n}\n.border-purple-700 {\n border-color: var(--purple-700) !important;\n}\n.border-purple-800 {\n border-color: var(--purple-800) !important;\n}\n.border-purple-900 {\n border-color: var(--purple-900) !important;\n}\n\n.focus\\:border-purple-50:focus {\n border-color: var(--purple-50) !important;\n}\n.focus\\:border-purple-100:focus {\n border-color: var(--purple-100) !important;\n}\n.focus\\:border-purple-200:focus {\n border-color: var(--purple-200) !important;\n}\n.focus\\:border-purple-300:focus {\n border-color: var(--purple-300) !important;\n}\n.focus\\:border-purple-400:focus {\n border-color: var(--purple-400) !important;\n}\n.focus\\:border-purple-500:focus {\n border-color: var(--purple-500) !important;\n}\n.focus\\:border-purple-600:focus {\n border-color: var(--purple-600) !important;\n}\n.focus\\:border-purple-700:focus {\n border-color: var(--purple-700) !important;\n}\n.focus\\:border-purple-800:focus {\n border-color: var(--purple-800) !important;\n}\n.focus\\:border-purple-900:focus {\n border-color: var(--purple-900) !important;\n}\n\n.hover\\:border-purple-50:hover {\n border-color: var(--purple-50) !important;\n}\n.hover\\:border-purple-100:hover {\n border-color: var(--purple-100) !important;\n}\n.hover\\:border-purple-200:hover {\n border-color: var(--purple-200) !important;\n}\n.hover\\:border-purple-300:hover {\n border-color: var(--purple-300) !important;\n}\n.hover\\:border-purple-400:hover {\n border-color: var(--purple-400) !important;\n}\n.hover\\:border-purple-500:hover {\n border-color: var(--purple-500) !important;\n}\n.hover\\:border-purple-600:hover {\n border-color: var(--purple-600) !important;\n}\n.hover\\:border-purple-700:hover {\n border-color: var(--purple-700) !important;\n}\n.hover\\:border-purple-800:hover {\n border-color: var(--purple-800) !important;\n}\n.hover\\:border-purple-900:hover {\n border-color: var(--purple-900) !important;\n}\n\n.active\\:border-purple-50:active {\n border-color: var(--purple-50) !important;\n}\n.active\\:border-purple-100:active {\n border-color: var(--purple-100) !important;\n}\n.active\\:border-purple-200:active {\n border-color: var(--purple-200) !important;\n}\n.active\\:border-purple-300:active {\n border-color: var(--purple-300) !important;\n}\n.active\\:border-purple-400:active {\n border-color: var(--purple-400) !important;\n}\n.active\\:border-purple-500:active {\n border-color: var(--purple-500) !important;\n}\n.active\\:border-purple-600:active {\n border-color: var(--purple-600) !important;\n}\n.active\\:border-purple-700:active {\n border-color: var(--purple-700) !important;\n}\n.active\\:border-purple-800:active {\n border-color: var(--purple-800) !important;\n}\n.active\\:border-purple-900:active {\n border-color: var(--purple-900) !important;\n}\n\n.border-gray-50 {\n border-color: var(--gray-50) !important;\n}\n.border-gray-100 {\n border-color: var(--gray-100) !important;\n}\n.border-gray-200 {\n border-color: var(--gray-200) !important;\n}\n.border-gray-300 {\n border-color: var(--gray-300) !important;\n}\n.border-gray-400 {\n border-color: var(--gray-400) !important;\n}\n.border-gray-500 {\n border-color: var(--gray-500) !important;\n}\n.border-gray-600 {\n border-color: var(--gray-600) !important;\n}\n.border-gray-700 {\n border-color: var(--gray-700) !important;\n}\n.border-gray-800 {\n border-color: var(--gray-800) !important;\n}\n.border-gray-900 {\n border-color: var(--gray-900) !important;\n}\n\n.focus\\:border-gray-50:focus {\n border-color: var(--gray-50) !important;\n}\n.focus\\:border-gray-100:focus {\n border-color: var(--gray-100) !important;\n}\n.focus\\:border-gray-200:focus {\n border-color: var(--gray-200) !important;\n}\n.focus\\:border-gray-300:focus {\n border-color: var(--gray-300) !important;\n}\n.focus\\:border-gray-400:focus {\n border-color: var(--gray-400) !important;\n}\n.focus\\:border-gray-500:focus {\n border-color: var(--gray-500) !important;\n}\n.focus\\:border-gray-600:focus {\n border-color: var(--gray-600) !important;\n}\n.focus\\:border-gray-700:focus {\n border-color: var(--gray-700) !important;\n}\n.focus\\:border-gray-800:focus {\n border-color: var(--gray-800) !important;\n}\n.focus\\:border-gray-900:focus {\n border-color: var(--gray-900) !important;\n}\n\n.hover\\:border-gray-50:hover {\n border-color: var(--gray-50) !important;\n}\n.hover\\:border-gray-100:hover {\n border-color: var(--gray-100) !important;\n}\n.hover\\:border-gray-200:hover {\n border-color: var(--gray-200) !important;\n}\n.hover\\:border-gray-300:hover {\n border-color: var(--gray-300) !important;\n}\n.hover\\:border-gray-400:hover {\n border-color: var(--gray-400) !important;\n}\n.hover\\:border-gray-500:hover {\n border-color: var(--gray-500) !important;\n}\n.hover\\:border-gray-600:hover {\n border-color: var(--gray-600) !important;\n}\n.hover\\:border-gray-700:hover {\n border-color: var(--gray-700) !important;\n}\n.hover\\:border-gray-800:hover {\n border-color: var(--gray-800) !important;\n}\n.hover\\:border-gray-900:hover {\n border-color: var(--gray-900) !important;\n}\n\n.active\\:border-gray-50:active {\n border-color: var(--gray-50) !important;\n}\n.active\\:border-gray-100:active {\n border-color: var(--gray-100) !important;\n}\n.active\\:border-gray-200:active {\n border-color: var(--gray-200) !important;\n}\n.active\\:border-gray-300:active {\n border-color: var(--gray-300) !important;\n}\n.active\\:border-gray-400:active {\n border-color: var(--gray-400) !important;\n}\n.active\\:border-gray-500:active {\n border-color: var(--gray-500) !important;\n}\n.active\\:border-gray-600:active {\n border-color: var(--gray-600) !important;\n}\n.active\\:border-gray-700:active {\n border-color: var(--gray-700) !important;\n}\n.active\\:border-gray-800:active {\n border-color: var(--gray-800) !important;\n}\n.active\\:border-gray-900:active {\n border-color: var(--gray-900) !important;\n}\n\n.bg-white-alpha-10 {\n background-color: rgba(255,255,255,0.1) !important;\n}\n.bg-white-alpha-20 {\n background-color: rgba(255,255,255,0.2) !important;\n}\n.bg-white-alpha-30 {\n background-color: rgba(255,255,255,0.3) !important;\n}\n.bg-white-alpha-40 {\n background-color: rgba(255,255,255,0.4) !important;\n}\n.bg-white-alpha-50 {\n background-color: rgba(255,255,255,0.5) !important;\n}\n.bg-white-alpha-60 {\n background-color: rgba(255,255,255,0.6) !important;\n}\n.bg-white-alpha-70 {\n background-color: rgba(255,255,255,0.7) !important;\n}\n.bg-white-alpha-80 {\n background-color: rgba(255,255,255,0.8) !important;\n}\n.bg-white-alpha-90 {\n background-color: rgba(255,255,255,0.9) !important;\n}\n\n.hover\\:bg-white-alpha-10:hover {\n background-color: rgba(255,255,255,0.1) !important;\n}\n.hover\\:bg-white-alpha-20:hover {\n background-color: rgba(255,255,255,0.2) !important;\n}\n.hover\\:bg-white-alpha-30:hover {\n background-color: rgba(255,255,255,0.3) !important;\n}\n.hover\\:bg-white-alpha-40:hover {\n background-color: rgba(255,255,255,0.4) !important;\n}\n.hover\\:bg-white-alpha-50:hover {\n background-color: rgba(255,255,255,0.5) !important;\n}\n.hover\\:bg-white-alpha-60:hover {\n background-color: rgba(255,255,255,0.6) !important;\n}\n.hover\\:bg-white-alpha-70:hover {\n background-color: rgba(255,255,255,0.7) !important;\n}\n.hover\\:bg-white-alpha-80:hover {\n background-color: rgba(255,255,255,0.8) !important;\n}\n.hover\\:bg-white-alpha-90:hover {\n background-color: rgba(255,255,255,0.9) !important;\n}\n\n.focus\\:bg-white-alpha-10:focus {\n background-color: rgba(255,255,255,0.1) !important;\n}\n.focus\\:bg-white-alpha-20:focus {\n background-color: rgba(255,255,255,0.2) !important;\n}\n.focus\\:bg-white-alpha-30:focus {\n background-color: rgba(255,255,255,0.3) !important;\n}\n.focus\\:bg-white-alpha-40:focus {\n background-color: rgba(255,255,255,0.4) !important;\n}\n.focus\\:bg-white-alpha-50:focus {\n background-color: rgba(255,255,255,0.5) !important;\n}\n.focus\\:bg-white-alpha-60:focus {\n background-color: rgba(255,255,255,0.6) !important;\n}\n.focus\\:bg-white-alpha-70:focus {\n background-color: rgba(255,255,255,0.7) !important;\n}\n.focus\\:bg-white-alpha-80:focus {\n background-color: rgba(255,255,255,0.8) !important;\n}\n.focus\\:bg-white-alpha-90:focus {\n background-color: rgba(255,255,255,0.9) !important;\n}\n\n.active\\:bg-white-alpha-10:active {\n background-color: rgba(255,255,255,0.1) !important;\n}\n.active\\:bg-white-alpha-20:active {\n background-color: rgba(255,255,255,0.2) !important;\n}\n.active\\:bg-white-alpha-30:active {\n background-color: rgba(255,255,255,0.3) !important;\n}\n.active\\:bg-white-alpha-40:active {\n background-color: rgba(255,255,255,0.4) !important;\n}\n.active\\:bg-white-alpha-50:active {\n background-color: rgba(255,255,255,0.5) !important;\n}\n.active\\:bg-white-alpha-60:active {\n background-color: rgba(255,255,255,0.6) !important;\n}\n.active\\:bg-white-alpha-70:active {\n background-color: rgba(255,255,255,0.7) !important;\n}\n.active\\:bg-white-alpha-80:active {\n background-color: rgba(255,255,255,0.8) !important;\n}\n.active\\:bg-white-alpha-90:active {\n background-color: rgba(255,255,255,0.9) !important;\n}\n\n.bg-black-alpha-10 {\n background-color: rgba(0,0,0,0.1) !important;\n}\n.bg-black-alpha-20 {\n background-color: rgba(0,0,0,0.2) !important;\n}\n.bg-black-alpha-30 {\n background-color: rgba(0,0,0,0.3) !important;\n}\n.bg-black-alpha-40 {\n background-color: rgba(0,0,0,0.4) !important;\n}\n.bg-black-alpha-50 {\n background-color: rgba(0,0,0,0.5) !important;\n}\n.bg-black-alpha-60 {\n background-color: rgba(0,0,0,0.6) !important;\n}\n.bg-black-alpha-70 {\n background-color: rgba(0,0,0,0.7) !important;\n}\n.bg-black-alpha-80 {\n background-color: rgba(0,0,0,0.8) !important;\n}\n.bg-black-alpha-90 {\n background-color: rgba(0,0,0,0.9) !important;\n}\n\n.hover\\:bg-black-alpha-10:hover {\n background-color: rgba(0,0,0,0.1) !important;\n}\n.hover\\:bg-black-alpha-20:hover {\n background-color: rgba(0,0,0,0.2) !important;\n}\n.hover\\:bg-black-alpha-30:hover {\n background-color: rgba(0,0,0,0.3) !important;\n}\n.hover\\:bg-black-alpha-40:hover {\n background-color: rgba(0,0,0,0.4) !important;\n}\n.hover\\:bg-black-alpha-50:hover {\n background-color: rgba(0,0,0,0.5) !important;\n}\n.hover\\:bg-black-alpha-60:hover {\n background-color: rgba(0,0,0,0.6) !important;\n}\n.hover\\:bg-black-alpha-70:hover {\n background-color: rgba(0,0,0,0.7) !important;\n}\n.hover\\:bg-black-alpha-80:hover {\n background-color: rgba(0,0,0,0.8) !important;\n}\n.hover\\:bg-black-alpha-90:hover {\n background-color: rgba(0,0,0,0.9) !important;\n}\n\n.focus\\:bg-black-alpha-10:focus {\n background-color: rgba(0,0,0,0.1) !important;\n}\n.focus\\:bg-black-alpha-20:focus {\n background-color: rgba(0,0,0,0.2) !important;\n}\n.focus\\:bg-black-alpha-30:focus {\n background-color: rgba(0,0,0,0.3) !important;\n}\n.focus\\:bg-black-alpha-40:focus {\n background-color: rgba(0,0,0,0.4) !important;\n}\n.focus\\:bg-black-alpha-50:focus {\n background-color: rgba(0,0,0,0.5) !important;\n}\n.focus\\:bg-black-alpha-60:focus {\n background-color: rgba(0,0,0,0.6) !important;\n}\n.focus\\:bg-black-alpha-70:focus {\n background-color: rgba(0,0,0,0.7) !important;\n}\n.focus\\:bg-black-alpha-80:focus {\n background-color: rgba(0,0,0,0.8) !important;\n}\n.focus\\:bg-black-alpha-90:focus {\n background-color: rgba(0,0,0,0.9) !important;\n}\n\n.active\\:bg-black-alpha-10:active {\n background-color: rgba(0,0,0,0.1) !important;\n}\n.active\\:bg-black-alpha-20:active {\n background-color: rgba(0,0,0,0.2) !important;\n}\n.active\\:bg-black-alpha-30:active {\n background-color: rgba(0,0,0,0.3) !important;\n}\n.active\\:bg-black-alpha-40:active {\n background-color: rgba(0,0,0,0.4) !important;\n}\n.active\\:bg-black-alpha-50:active {\n background-color: rgba(0,0,0,0.5) !important;\n}\n.active\\:bg-black-alpha-60:active {\n background-color: rgba(0,0,0,0.6) !important;\n}\n.active\\:bg-black-alpha-70:active {\n background-color: rgba(0,0,0,0.7) !important;\n}\n.active\\:bg-black-alpha-80:active {\n background-color: rgba(0,0,0,0.8) !important;\n}\n.active\\:bg-black-alpha-90:active {\n background-color: rgba(0,0,0,0.9) !important;\n}\n\n.border-white-alpha-10 {\n border-color: rgba(255,255,255,0.1) !important;\n}\n.border-white-alpha-20 {\n border-color: rgba(255,255,255,0.2) !important;\n}\n.border-white-alpha-30 {\n border-color: rgba(255,255,255,0.3) !important;\n}\n.border-white-alpha-40 {\n border-color: rgba(255,255,255,0.4) !important;\n}\n.border-white-alpha-50 {\n border-color: rgba(255,255,255,0.5) !important;\n}\n.border-white-alpha-60 {\n border-color: rgba(255,255,255,0.6) !important;\n}\n.border-white-alpha-70 {\n border-color: rgba(255,255,255,0.7) !important;\n}\n.border-white-alpha-80 {\n border-color: rgba(255,255,255,0.8) !important;\n}\n.border-white-alpha-90 {\n border-color: rgba(255,255,255,0.9) !important;\n}\n\n.hover\\:border-white-alpha-10:hover {\n border-color: rgba(255,255,255,0.1) !important;\n}\n.hover\\:border-white-alpha-20:hover {\n border-color: rgba(255,255,255,0.2) !important;\n}\n.hover\\:border-white-alpha-30:hover {\n border-color: rgba(255,255,255,0.3) !important;\n}\n.hover\\:border-white-alpha-40:hover {\n border-color: rgba(255,255,255,0.4) !important;\n}\n.hover\\:border-white-alpha-50:hover {\n border-color: rgba(255,255,255,0.5) !important;\n}\n.hover\\:border-white-alpha-60:hover {\n border-color: rgba(255,255,255,0.6) !important;\n}\n.hover\\:border-white-alpha-70:hover {\n border-color: rgba(255,255,255,0.7) !important;\n}\n.hover\\:border-white-alpha-80:hover {\n border-color: rgba(255,255,255,0.8) !important;\n}\n.hover\\:border-white-alpha-90:hover {\n border-color: rgba(255,255,255,0.9) !important;\n}\n\n.focus\\:border-white-alpha-10:focus {\n border-color: rgba(255,255,255,0.1) !important;\n}\n.focus\\:border-white-alpha-20:focus {\n border-color: rgba(255,255,255,0.2) !important;\n}\n.focus\\:border-white-alpha-30:focus {\n border-color: rgba(255,255,255,0.3) !important;\n}\n.focus\\:border-white-alpha-40:focus {\n border-color: rgba(255,255,255,0.4) !important;\n}\n.focus\\:border-white-alpha-50:focus {\n border-color: rgba(255,255,255,0.5) !important;\n}\n.focus\\:border-white-alpha-60:focus {\n border-color: rgba(255,255,255,0.6) !important;\n}\n.focus\\:border-white-alpha-70:focus {\n border-color: rgba(255,255,255,0.7) !important;\n}\n.focus\\:border-white-alpha-80:focus {\n border-color: rgba(255,255,255,0.8) !important;\n}\n.focus\\:border-white-alpha-90:focus {\n border-color: rgba(255,255,255,0.9) !important;\n}\n\n.active\\:border-white-alpha-10:active {\n border-color: rgba(255,255,255,0.1) !important;\n}\n.active\\:border-white-alpha-20:active {\n border-color: rgba(255,255,255,0.2) !important;\n}\n.active\\:border-white-alpha-30:active {\n border-color: rgba(255,255,255,0.3) !important;\n}\n.active\\:border-white-alpha-40:active {\n border-color: rgba(255,255,255,0.4) !important;\n}\n.active\\:border-white-alpha-50:active {\n border-color: rgba(255,255,255,0.5) !important;\n}\n.active\\:border-white-alpha-60:active {\n border-color: rgba(255,255,255,0.6) !important;\n}\n.active\\:border-white-alpha-70:active {\n border-color: rgba(255,255,255,0.7) !important;\n}\n.active\\:border-white-alpha-80:active {\n border-color: rgba(255,255,255,0.8) !important;\n}\n.active\\:border-white-alpha-90:active {\n border-color: rgba(255,255,255,0.9) !important;\n}\n\n.border-black-alpha-10 {\n border-color: rgba(0,0,0,0.1) !important;\n}\n.border-black-alpha-20 {\n border-color: rgba(0,0,0,0.2) !important;\n}\n.border-black-alpha-30 {\n border-color: rgba(0,0,0,0.3) !important;\n}\n.border-black-alpha-40 {\n border-color: rgba(0,0,0,0.4) !important;\n}\n.border-black-alpha-50 {\n border-color: rgba(0,0,0,0.5) !important;\n}\n.border-black-alpha-60 {\n border-color: rgba(0,0,0,0.6) !important;\n}\n.border-black-alpha-70 {\n border-color: rgba(0,0,0,0.7) !important;\n}\n.border-black-alpha-80 {\n border-color: rgba(0,0,0,0.8) !important;\n}\n.border-black-alpha-90 {\n border-color: rgba(0,0,0,0.9) !important;\n}\n\n.hover\\:border-black-alpha-10:hover {\n border-color: rgba(0,0,0,0.1) !important;\n}\n.hover\\:border-black-alpha-20:hover {\n border-color: rgba(0,0,0,0.2) !important;\n}\n.hover\\:border-black-alpha-30:hover {\n border-color: rgba(0,0,0,0.3) !important;\n}\n.hover\\:border-black-alpha-40:hover {\n border-color: rgba(0,0,0,0.4) !important;\n}\n.hover\\:border-black-alpha-50:hover {\n border-color: rgba(0,0,0,0.5) !important;\n}\n.hover\\:border-black-alpha-60:hover {\n border-color: rgba(0,0,0,0.6) !important;\n}\n.hover\\:border-black-alpha-70:hover {\n border-color: rgba(0,0,0,0.7) !important;\n}\n.hover\\:border-black-alpha-80:hover {\n border-color: rgba(0,0,0,0.8) !important;\n}\n.hover\\:border-black-alpha-90:hover {\n border-color: rgba(0,0,0,0.9) !important;\n}\n\n.focus\\:border-black-alpha-10:focus {\n border-color: rgba(0,0,0,0.1) !important;\n}\n.focus\\:border-black-alpha-20:focus {\n border-color: rgba(0,0,0,0.2) !important;\n}\n.focus\\:border-black-alpha-30:focus {\n border-color: rgba(0,0,0,0.3) !important;\n}\n.focus\\:border-black-alpha-40:focus {\n border-color: rgba(0,0,0,0.4) !important;\n}\n.focus\\:border-black-alpha-50:focus {\n border-color: rgba(0,0,0,0.5) !important;\n}\n.focus\\:border-black-alpha-60:focus {\n border-color: rgba(0,0,0,0.6) !important;\n}\n.focus\\:border-black-alpha-70:focus {\n border-color: rgba(0,0,0,0.7) !important;\n}\n.focus\\:border-black-alpha-80:focus {\n border-color: rgba(0,0,0,0.8) !important;\n}\n.focus\\:border-black-alpha-90:focus {\n border-color: rgba(0,0,0,0.9) !important;\n}\n\n.active\\:border-black-alpha-10:active {\n border-color: rgba(0,0,0,0.1) !important;\n}\n.active\\:border-black-alpha-20:active {\n border-color: rgba(0,0,0,0.2) !important;\n}\n.active\\:border-black-alpha-30:active {\n border-color: rgba(0,0,0,0.3) !important;\n}\n.active\\:border-black-alpha-40:active {\n border-color: rgba(0,0,0,0.4) !important;\n}\n.active\\:border-black-alpha-50:active {\n border-color: rgba(0,0,0,0.5) !important;\n}\n.active\\:border-black-alpha-60:active {\n border-color: rgba(0,0,0,0.6) !important;\n}\n.active\\:border-black-alpha-70:active {\n border-color: rgba(0,0,0,0.7) !important;\n}\n.active\\:border-black-alpha-80:active {\n border-color: rgba(0,0,0,0.8) !important;\n}\n.active\\:border-black-alpha-90:active {\n border-color: rgba(0,0,0,0.9) !important;\n}\n\n.text-white-alpha-10 {\n color: rgba(255,255,255,0.1) !important;\n}\n.text-white-alpha-20 {\n color: rgba(255,255,255,0.2) !important;\n}\n.text-white-alpha-30 {\n color: rgba(255,255,255,0.3) !important;\n}\n.text-white-alpha-40 {\n color: rgba(255,255,255,0.4) !important;\n}\n.text-white-alpha-50 {\n color: rgba(255,255,255,0.5) !important;\n}\n.text-white-alpha-60 {\n color: rgba(255,255,255,0.6) !important;\n}\n.text-white-alpha-70 {\n color: rgba(255,255,255,0.7) !important;\n}\n.text-white-alpha-80 {\n color: rgba(255,255,255,0.8) !important;\n}\n.text-white-alpha-90 {\n color: rgba(255,255,255,0.9) !important;\n}\n\n.hover\\:text-white-alpha-10:hover {\n color: rgba(255,255,255,0.1) !important;\n}\n.hover\\:text-white-alpha-20:hover {\n color: rgba(255,255,255,0.2) !important;\n}\n.hover\\:text-white-alpha-30:hover {\n color: rgba(255,255,255,0.3) !important;\n}\n.hover\\:text-white-alpha-40:hover {\n color: rgba(255,255,255,0.4) !important;\n}\n.hover\\:text-white-alpha-50:hover {\n color: rgba(255,255,255,0.5) !important;\n}\n.hover\\:text-white-alpha-60:hover {\n color: rgba(255,255,255,0.6) !important;\n}\n.hover\\:text-white-alpha-70:hover {\n color: rgba(255,255,255,0.7) !important;\n}\n.hover\\:text-white-alpha-80:hover {\n color: rgba(255,255,255,0.8) !important;\n}\n.hover\\:text-white-alpha-90:hover {\n color: rgba(255,255,255,0.9) !important;\n}\n\n.focus\\:text-white-alpha-10:focus {\n color: rgba(255,255,255,0.1) !important;\n}\n.focus\\:text-white-alpha-20:focus {\n color: rgba(255,255,255,0.2) !important;\n}\n.focus\\:text-white-alpha-30:focus {\n color: rgba(255,255,255,0.3) !important;\n}\n.focus\\:text-white-alpha-40:focus {\n color: rgba(255,255,255,0.4) !important;\n}\n.focus\\:text-white-alpha-50:focus {\n color: rgba(255,255,255,0.5) !important;\n}\n.focus\\:text-white-alpha-60:focus {\n color: rgba(255,255,255,0.6) !important;\n}\n.focus\\:text-white-alpha-70:focus {\n color: rgba(255,255,255,0.7) !important;\n}\n.focus\\:text-white-alpha-80:focus {\n color: rgba(255,255,255,0.8) !important;\n}\n.focus\\:text-white-alpha-90:focus {\n color: rgba(255,255,255,0.9) !important;\n}\n\n.active\\:text-white-alpha-10:active {\n color: rgba(255,255,255,0.1) !important;\n}\n.active\\:text-white-alpha-20:active {\n color: rgba(255,255,255,0.2) !important;\n}\n.active\\:text-white-alpha-30:active {\n color: rgba(255,255,255,0.3) !important;\n}\n.active\\:text-white-alpha-40:active {\n color: rgba(255,255,255,0.4) !important;\n}\n.active\\:text-white-alpha-50:active {\n color: rgba(255,255,255,0.5) !important;\n}\n.active\\:text-white-alpha-60:active {\n color: rgba(255,255,255,0.6) !important;\n}\n.active\\:text-white-alpha-70:active {\n color: rgba(255,255,255,0.7) !important;\n}\n.active\\:text-white-alpha-80:active {\n color: rgba(255,255,255,0.8) !important;\n}\n.active\\:text-white-alpha-90:active {\n color: rgba(255,255,255,0.9) !important;\n}\n\n.text-black-alpha-10 {\n color: rgba(0,0,0,0.1) !important;\n}\n.text-black-alpha-20 {\n color: rgba(0,0,0,0.2) !important;\n}\n.text-black-alpha-30 {\n color: rgba(0,0,0,0.3) !important;\n}\n.text-black-alpha-40 {\n color: rgba(0,0,0,0.4) !important;\n}\n.text-black-alpha-50 {\n color: rgba(0,0,0,0.5) !important;\n}\n.text-black-alpha-60 {\n color: rgba(0,0,0,0.6) !important;\n}\n.text-black-alpha-70 {\n color: rgba(0,0,0,0.7) !important;\n}\n.text-black-alpha-80 {\n color: rgba(0,0,0,0.8) !important;\n}\n.text-black-alpha-90 {\n color: rgba(0,0,0,0.9) !important;\n}\n\n.hover\\:text-black-alpha-10:hover {\n color: rgba(0,0,0,0.1) !important;\n}\n.hover\\:text-black-alpha-20:hover {\n color: rgba(0,0,0,0.2) !important;\n}\n.hover\\:text-black-alpha-30:hover {\n color: rgba(0,0,0,0.3) !important;\n}\n.hover\\:text-black-alpha-40:hover {\n color: rgba(0,0,0,0.4) !important;\n}\n.hover\\:text-black-alpha-50:hover {\n color: rgba(0,0,0,0.5) !important;\n}\n.hover\\:text-black-alpha-60:hover {\n color: rgba(0,0,0,0.6) !important;\n}\n.hover\\:text-black-alpha-70:hover {\n color: rgba(0,0,0,0.7) !important;\n}\n.hover\\:text-black-alpha-80:hover {\n color: rgba(0,0,0,0.8) !important;\n}\n.hover\\:text-black-alpha-90:hover {\n color: rgba(0,0,0,0.9) !important;\n}\n\n.focus\\:text-black-alpha-10:focus {\n color: rgba(0,0,0,0.1) !important;\n}\n.focus\\:text-black-alpha-20:focus {\n color: rgba(0,0,0,0.2) !important;\n}\n.focus\\:text-black-alpha-30:focus {\n color: rgba(0,0,0,0.3) !important;\n}\n.focus\\:text-black-alpha-40:focus {\n color: rgba(0,0,0,0.4) !important;\n}\n.focus\\:text-black-alpha-50:focus {\n color: rgba(0,0,0,0.5) !important;\n}\n.focus\\:text-black-alpha-60:focus {\n color: rgba(0,0,0,0.6) !important;\n}\n.focus\\:text-black-alpha-70:focus {\n color: rgba(0,0,0,0.7) !important;\n}\n.focus\\:text-black-alpha-80:focus {\n color: rgba(0,0,0,0.8) !important;\n}\n.focus\\:text-black-alpha-90:focus {\n color: rgba(0,0,0,0.9) !important;\n}\n\n.active\\:text-black-alpha-10:active {\n color: rgba(0,0,0,0.1) !important;\n}\n.active\\:text-black-alpha-20:active {\n color: rgba(0,0,0,0.2) !important;\n}\n.active\\:text-black-alpha-30:active {\n color: rgba(0,0,0,0.3) !important;\n}\n.active\\:text-black-alpha-40:active {\n color: rgba(0,0,0,0.4) !important;\n}\n.active\\:text-black-alpha-50:active {\n color: rgba(0,0,0,0.5) !important;\n}\n.active\\:text-black-alpha-60:active {\n color: rgba(0,0,0,0.6) !important;\n}\n.active\\:text-black-alpha-70:active {\n color: rgba(0,0,0,0.7) !important;\n}\n.active\\:text-black-alpha-80:active {\n color: rgba(0,0,0,0.8) !important;\n}\n.active\\:text-black-alpha-90:active {\n color: rgba(0,0,0,0.9) !important;\n}\n\n.text-primary {\n color: var(--primary-color) !important;\n}\n\n.hover\\:text-primary:hover {\n color: var(--primary-color) !important;\n}\n\n.bg-primary {\n background-color: var(--primary-color) !important;\n color: var(--primary-color-text) !important;\n}\n\n.hover\\:bg-primary:hover {\n background-color: var(--primary-color) !important;\n color: var(--primary-color-text) !important;\n}\n\n.border-primary {\n border-color: var(--primary-color) !important;\n}\n\n.hover\\:border-primary:hover {\n border-color: var(--primary-color) !important;\n}\n\n.bg-primary-reverse {\n background-color: var(--primary-color-text) !important;\n color: var(--primary-color) !important;\n}\n\n.hover\\:bg-primary-reverse:hover {\n background-color: var(--primary-color-text) !important;\n color: var(--primary-color) !important;\n}\n\n.text-white {\n color: #ffffff !important;\n}\n\n.hover\\:text-white:hover {\n color: #ffffff !important;\n}\n\n.bg-white {\n background-color: #ffffff !important;\n}\n\n.hover\\:bg-white:hover {\n background-color: #ffffff !important;\n}\n\n.border-white {\n border-color: #ffffff !important;\n}\n\n.hover\\:border-white:hover {\n border-color: #ffffff !important;\n}\n\n.surface-ground {\n background-color: var(--surface-ground) !important;\n}\n\n.surface-section {\n background-color: var(--surface-section) !important;\n}\n\n.surface-card {\n background-color: var(--surface-card) !important;\n}\n\n.surface-overlay {\n background-color: var(--surface-overlay) !important;\n}\n\n.surface-border {\n border-color: var(--surface-border) !important;\n}\n\n.surface-hover {\n background-color: var(--surface-hover) !important;\n}\n\n.field {\n margin-bottom: 1rem;\n}\n\n.field > label {\n display: inline-block;\n margin-bottom: 0.5rem;\n}\n\n.field.grid > label {\n display: flex;\n align-items: center;\n}\n\n.field > small {\n margin-top: 0.25rem;\n}\n\n.field.grid,\n.formgrid.grid {\n margin-top: 0;\n}\n\n.field.grid .col-fixed,\n.formgrid.grid .col-fixed,\n.field.grid .col,\n.formgrid.grid .col,\n.field.grid .col-1,\n.formgrid.grid .col-1,\n.field.grid .col-2,\n.formgrid.grid .col-2,\n.field.grid .col-3,\n.formgrid.grid .col-3,\n.field.grid .col-4,\n.formgrid.grid .col-4,\n.field.grid .col-5,\n.formgrid.grid .col-5,\n.field.grid .col-6,\n.formgrid.grid .col-6,\n.field.grid .col-7,\n.formgrid.grid .col-7,\n.field.grid .col-8,\n.formgrid.grid .col-8,\n.field.grid .col-9,\n.formgrid.grid .col-9,\n.field.grid .col-10,\n.formgrid.grid .col-10,\n.field.grid .col-11,\n.formgrid.grid .col-11,\n.field.grid .col-12,\n.formgrid.grid .col-12 {\n padding-top: 0;\n padding-bottom: 0;\n}\n\n.formgroup-inline {\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n}\n\n.formgroup-inline .field,\n.formgroup-inline .field-checkbox,\n.formgroup-inline .field-radiobutton {\n margin-right: 1rem;\n}\n\n.formgroup-inline .field > label,\n.formgroup-inline .field-checkbox > label,\n.formgroup-inline .field-radiobutton > label {\n margin-right: 0.5rem;\n margin-bottom: 0;\n}\n\n.field-checkbox,\n.field-radiobutton {\n margin-bottom: 1rem;\n display: flex;\n align-items: center;\n}\n\n.field-checkbox > label,\n.field-radiobutton > label {\n margin-left: 0.5rem;\n line-height: 1;\n}\n\n.hidden {\n display: none !important;\n}\n\n.block {\n display: block !important;\n}\n\n.inline {\n display: inline !important;\n}\n\n.inline-block {\n display: inline-block !important;\n}\n\n.flex {\n display: flex !important;\n}\n\n.inline-flex {\n display: inline-flex !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:hidden {\n display: none !important;\n }\n .sm\\:block {\n display: block !important;\n }\n .sm\\:inline {\n display: inline !important;\n }\n .sm\\:inline-block {\n display: inline-block !important;\n }\n .sm\\:flex {\n display: flex !important;\n }\n .sm\\:inline-flex {\n display: inline-flex !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:hidden {\n display: none !important;\n }\n .md\\:block {\n display: block !important;\n }\n .md\\:inline {\n display: inline !important;\n }\n .md\\:inline-block {\n display: inline-block !important;\n }\n .md\\:flex {\n display: flex !important;\n }\n .md\\:inline-flex {\n display: inline-flex !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:hidden {\n display: none !important;\n }\n .lg\\:block {\n display: block !important;\n }\n .lg\\:inline {\n display: inline !important;\n }\n .lg\\:inline-block {\n display: inline-block !important;\n }\n .lg\\:flex {\n display: flex !important;\n }\n .lg\\:inline-flex {\n display: inline-flex !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:hidden {\n display: none !important;\n }\n .xl\\:block {\n display: block !important;\n }\n .xl\\:inline {\n display: inline !important;\n }\n .xl\\:inline-block {\n display: inline-block !important;\n }\n .xl\\:flex {\n display: flex !important;\n }\n .xl\\:inline-flex {\n display: inline-flex !important;\n }\n}\n.text-center {\n text-align: center !important;\n}\n\n.text-justify {\n text-align: justify !important;\n}\n\n.text-left {\n text-align: left !important;\n}\n\n.text-right {\n text-align: right !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:text-center {\n text-align: center !important;\n }\n .sm\\:text-justify {\n text-align: justify !important;\n }\n .sm\\:text-left {\n text-align: left !important;\n }\n .sm\\:text-right {\n text-align: right !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:text-center {\n text-align: center !important;\n }\n .md\\:text-justify {\n text-align: justify !important;\n }\n .md\\:text-left {\n text-align: left !important;\n }\n .md\\:text-right {\n text-align: right !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:text-center {\n text-align: center !important;\n }\n .lg\\:text-justify {\n text-align: justify !important;\n }\n .lg\\:text-left {\n text-align: left !important;\n }\n .lg\\:text-right {\n text-align: right !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:text-center {\n text-align: center !important;\n }\n .xl\\:text-justify {\n text-align: justify !important;\n }\n .xl\\:text-left {\n text-align: left !important;\n }\n .xl\\:text-right {\n text-align: right !important;\n }\n}\n.underline {\n text-decoration: underline !important;\n}\n\n.line-through {\n text-decoration: line-through !important;\n}\n\n.no-underline {\n text-decoration: none !important;\n}\n\n.lowercase {\n text-transform: lowercase !important;\n}\n\n.uppercase {\n text-transform: uppercase !important;\n}\n\n.capitalize {\n text-transform: capitalize !important;\n}\n\n.text-overflow-clip {\n text-overflow: clip !important;\n}\n\n.text-overflow-ellipsis {\n text-overflow: ellipsis !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:text-overflow-clip {\n text-overflow: clip !important;\n }\n .sm\\:text-overflow-ellipsis {\n text-overflow: ellipsis !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:text-overflow-clip {\n text-overflow: clip !important;\n }\n .md\\:text-overflow-ellipsis {\n text-overflow: ellipsis !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:text-overflow-clip {\n text-overflow: clip !important;\n }\n .lg\\:text-overflow-ellipsis {\n text-overflow: ellipsis !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:text-overflow-clip {\n text-overflow: clip !important;\n }\n .xl\\:text-overflow-ellipsis {\n text-overflow: ellipsis !important;\n }\n}\n.font-light {\n font-weight: 300 !important;\n}\n\n.font-normal {\n font-weight: 400 !important;\n}\n\n.font-medium {\n font-weight: 500 !important;\n}\n\n.font-semibold {\n font-weight: 600 !important;\n}\n\n.font-bold {\n font-weight: 700 !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:font-light {\n font-weight: 300 !important;\n }\n .sm\\:font-normal {\n font-weight: 400 !important;\n }\n .sm\\:font-medium {\n font-weight: 500 !important;\n }\n .sm\\:font-semibold {\n font-weight: 600 !important;\n }\n .sm\\:font-bold {\n font-weight: 700 !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:font-light {\n font-weight: 300 !important;\n }\n .md\\:font-normal {\n font-weight: 400 !important;\n }\n .md\\:font-medium {\n font-weight: 500 !important;\n }\n .md\\:font-semibold {\n font-weight: 600 !important;\n }\n .md\\:font-bold {\n font-weight: 700 !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:font-light {\n font-weight: 300 !important;\n }\n .lg\\:font-normal {\n font-weight: 400 !important;\n }\n .lg\\:font-medium {\n font-weight: 500 !important;\n }\n .lg\\:font-semibold {\n font-weight: 600 !important;\n }\n .lg\\:font-bold {\n font-weight: 700 !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:font-light {\n font-weight: 300 !important;\n }\n .xl\\:font-normal {\n font-weight: 400 !important;\n }\n .xl\\:font-medium {\n font-weight: 500 !important;\n }\n .xl\\:font-semibold {\n font-weight: 600 !important;\n }\n .xl\\:font-bold {\n font-weight: 700 !important;\n }\n}\n.font-italic {\n font-style: italic !important;\n}\n\n.text-xs {\n font-size: 0.75rem !important;\n}\n\n.text-sm {\n font-size: 0.875rem !important;\n}\n\n.text-base {\n font-size: 1rem !important;\n}\n\n.text-lg {\n font-size: 1.125rem !important;\n}\n\n.text-xl {\n font-size: 1.25rem !important;\n}\n\n.text-2xl {\n font-size: 1.5rem !important;\n}\n\n.text-3xl {\n font-size: 1.75rem !important;\n}\n\n.text-4xl {\n font-size: 2rem !important;\n}\n\n.text-5xl {\n font-size: 2.5rem !important;\n}\n\n.text-6xl {\n font-size: 3rem !important;\n}\n\n.text-7xl {\n font-size: 4rem !important;\n}\n\n.text-8xl {\n font-size: 6rem !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:text-xs {\n font-size: 0.75rem !important;\n }\n .sm\\:text-sm {\n font-size: 0.875rem !important;\n }\n .sm\\:text-base {\n font-size: 1rem !important;\n }\n .sm\\:text-lg {\n font-size: 1.125rem !important;\n }\n .sm\\:text-xl {\n font-size: 1.25rem !important;\n }\n .sm\\:text-2xl {\n font-size: 1.5rem !important;\n }\n .sm\\:text-3xl {\n font-size: 1.75rem !important;\n }\n .sm\\:text-4xl {\n font-size: 2rem !important;\n }\n .sm\\:text-5xl {\n font-size: 2.5rem !important;\n }\n .sm\\:text-6xl {\n font-size: 3rem !important;\n }\n .sm\\:text-7xl {\n font-size: 4rem !important;\n }\n .sm\\:text-8xl {\n font-size: 6rem !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:text-xs {\n font-size: 0.75rem !important;\n }\n .md\\:text-sm {\n font-size: 0.875rem !important;\n }\n .md\\:text-base {\n font-size: 1rem !important;\n }\n .md\\:text-lg {\n font-size: 1.125rem !important;\n }\n .md\\:text-xl {\n font-size: 1.25rem !important;\n }\n .md\\:text-2xl {\n font-size: 1.5rem !important;\n }\n .md\\:text-3xl {\n font-size: 1.75rem !important;\n }\n .md\\:text-4xl {\n font-size: 2rem !important;\n }\n .md\\:text-5xl {\n font-size: 2.5rem !important;\n }\n .md\\:text-6xl {\n font-size: 3rem !important;\n }\n .md\\:text-7xl {\n font-size: 4rem !important;\n }\n .md\\:text-8xl {\n font-size: 6rem !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:text-xs {\n font-size: 0.75rem !important;\n }\n .lg\\:text-sm {\n font-size: 0.875rem !important;\n }\n .lg\\:text-base {\n font-size: 1rem !important;\n }\n .lg\\:text-lg {\n font-size: 1.125rem !important;\n }\n .lg\\:text-xl {\n font-size: 1.25rem !important;\n }\n .lg\\:text-2xl {\n font-size: 1.5rem !important;\n }\n .lg\\:text-3xl {\n font-size: 1.75rem !important;\n }\n .lg\\:text-4xl {\n font-size: 2rem !important;\n }\n .lg\\:text-5xl {\n font-size: 2.5rem !important;\n }\n .lg\\:text-6xl {\n font-size: 3rem !important;\n }\n .lg\\:text-7xl {\n font-size: 4rem !important;\n }\n .lg\\:text-8xl {\n font-size: 6rem !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:text-xs {\n font-size: 0.75rem !important;\n }\n .xl\\:text-sm {\n font-size: 0.875rem !important;\n }\n .xl\\:text-base {\n font-size: 1rem !important;\n }\n .xl\\:text-lg {\n font-size: 1.125rem !important;\n }\n .xl\\:text-xl {\n font-size: 1.25rem !important;\n }\n .xl\\:text-2xl {\n font-size: 1.5rem !important;\n }\n .xl\\:text-3xl {\n font-size: 1.75rem !important;\n }\n .xl\\:text-4xl {\n font-size: 2rem !important;\n }\n .xl\\:text-5xl {\n font-size: 2.5rem !important;\n }\n .xl\\:text-6xl {\n font-size: 3rem !important;\n }\n .xl\\:text-7xl {\n font-size: 4rem !important;\n }\n .xl\\:text-8xl {\n font-size: 6rem !important;\n }\n}\n.line-height-1 {\n line-height: 1 !important;\n}\n\n.line-height-2 {\n line-height: 1.25 !important;\n}\n\n.line-height-3 {\n line-height: 1.5 !important;\n}\n\n.line-height-4 {\n line-height: 2 !important;\n}\n\n.white-space-normal {\n white-space: normal !important;\n}\n\n.white-space-nowrap {\n white-space: nowrap !important;\n}\n\n.flex-row {\n flex-direction: row !important;\n}\n\n.flex-row-reverse {\n flex-direction: row-reverse !important;\n}\n\n.flex-column {\n flex-direction: column !important;\n}\n\n.flex-column-reverse {\n flex-direction: column-reverse !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:flex-row {\n flex-direction: row !important;\n }\n .sm\\:flex-row-reverse {\n flex-direction: row-reverse !important;\n }\n .sm\\:flex-column {\n flex-direction: column !important;\n }\n .sm\\:flex-column-reverse {\n flex-direction: column-reverse !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:flex-row {\n flex-direction: row !important;\n }\n .md\\:flex-row-reverse {\n flex-direction: row-reverse !important;\n }\n .md\\:flex-column {\n flex-direction: column !important;\n }\n .md\\:flex-column-reverse {\n flex-direction: column-reverse !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:flex-row {\n flex-direction: row !important;\n }\n .lg\\:flex-row-reverse {\n flex-direction: row-reverse !important;\n }\n .lg\\:flex-column {\n flex-direction: column !important;\n }\n .lg\\:flex-column-reverse {\n flex-direction: column-reverse !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:flex-row {\n flex-direction: row !important;\n }\n .xl\\:flex-row-reverse {\n flex-direction: row-reverse !important;\n }\n .xl\\:flex-column {\n flex-direction: column !important;\n }\n .xl\\:flex-column-reverse {\n flex-direction: column-reverse !important;\n }\n}\n.flex-wrap {\n flex-wrap: wrap !important;\n}\n\n.flex-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n}\n\n.flex-nowrap {\n flex-wrap: nowrap !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:flex-wrap {\n flex-wrap: wrap !important;\n }\n .sm\\:flex-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n }\n .sm\\:flex-nowrap {\n flex-wrap: nowrap !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:flex-wrap {\n flex-wrap: wrap !important;\n }\n .md\\:flex-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n }\n .md\\:flex-nowrap {\n flex-wrap: nowrap !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:flex-wrap {\n flex-wrap: wrap !important;\n }\n .lg\\:flex-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n }\n .lg\\:flex-nowrap {\n flex-wrap: nowrap !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:flex-wrap {\n flex-wrap: wrap !important;\n }\n .xl\\:flex-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n }\n .xl\\:flex-nowrap {\n flex-wrap: nowrap !important;\n }\n}\n.justify-content-start {\n justify-content: flex-start !important;\n}\n\n.justify-content-end {\n justify-content: flex-end !important;\n}\n\n.justify-content-center {\n justify-content: center !important;\n}\n\n.justify-content-between {\n justify-content: space-between !important;\n}\n\n.justify-content-around {\n justify-content: space-around !important;\n}\n\n.justify-content-evenly {\n justify-content: space-evenly !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:justify-content-start {\n justify-content: flex-start !important;\n }\n .sm\\:justify-content-end {\n justify-content: flex-end !important;\n }\n .sm\\:justify-content-center {\n justify-content: center !important;\n }\n .sm\\:justify-content-between {\n justify-content: space-between !important;\n }\n .sm\\:justify-content-around {\n justify-content: space-around !important;\n }\n .sm\\:justify-content-evenly {\n justify-content: space-evenly !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:justify-content-start {\n justify-content: flex-start !important;\n }\n .md\\:justify-content-end {\n justify-content: flex-end !important;\n }\n .md\\:justify-content-center {\n justify-content: center !important;\n }\n .md\\:justify-content-between {\n justify-content: space-between !important;\n }\n .md\\:justify-content-around {\n justify-content: space-around !important;\n }\n .md\\:justify-content-evenly {\n justify-content: space-evenly !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:justify-content-start {\n justify-content: flex-start !important;\n }\n .lg\\:justify-content-end {\n justify-content: flex-end !important;\n }\n .lg\\:justify-content-center {\n justify-content: center !important;\n }\n .lg\\:justify-content-between {\n justify-content: space-between !important;\n }\n .lg\\:justify-content-around {\n justify-content: space-around !important;\n }\n .lg\\:justify-content-evenly {\n justify-content: space-evenly !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:justify-content-start {\n justify-content: flex-start !important;\n }\n .xl\\:justify-content-end {\n justify-content: flex-end !important;\n }\n .xl\\:justify-content-center {\n justify-content: center !important;\n }\n .xl\\:justify-content-between {\n justify-content: space-between !important;\n }\n .xl\\:justify-content-around {\n justify-content: space-around !important;\n }\n .xl\\:justify-content-evenly {\n justify-content: space-evenly !important;\n }\n}\n.align-content-start {\n align-content: flex-start !important;\n}\n\n.align-content-end {\n align-content: flex-end !important;\n}\n\n.align-content-center {\n align-content: center !important;\n}\n\n.align-content-between {\n align-content: space-between !important;\n}\n\n.align-content-around {\n align-content: space-around !important;\n}\n\n.align-content-evenly {\n align-content: space-evenly !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:align-content-start {\n align-content: flex-start !important;\n }\n .sm\\:align-content-end {\n align-content: flex-end !important;\n }\n .sm\\:align-content-center {\n align-content: center !important;\n }\n .sm\\:align-content-between {\n align-content: space-between !important;\n }\n .sm\\:align-content-around {\n align-content: space-around !important;\n }\n .sm\\:align-content-evenly {\n align-content: space-evenly !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:align-content-start {\n align-content: flex-start !important;\n }\n .md\\:align-content-end {\n align-content: flex-end !important;\n }\n .md\\:align-content-center {\n align-content: center !important;\n }\n .md\\:align-content-between {\n align-content: space-between !important;\n }\n .md\\:align-content-around {\n align-content: space-around !important;\n }\n .md\\:align-content-evenly {\n align-content: space-evenly !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:align-content-start {\n align-content: flex-start !important;\n }\n .lg\\:align-content-end {\n align-content: flex-end !important;\n }\n .lg\\:align-content-center {\n align-content: center !important;\n }\n .lg\\:align-content-between {\n align-content: space-between !important;\n }\n .lg\\:align-content-around {\n align-content: space-around !important;\n }\n .lg\\:align-content-evenly {\n align-content: space-evenly !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:align-content-start {\n align-content: flex-start !important;\n }\n .xl\\:align-content-end {\n align-content: flex-end !important;\n }\n .xl\\:align-content-center {\n align-content: center !important;\n }\n .xl\\:align-content-between {\n align-content: space-between !important;\n }\n .xl\\:align-content-around {\n align-content: space-around !important;\n }\n .xl\\:align-content-evenly {\n align-content: space-evenly !important;\n }\n}\n.align-items-stretch {\n align-items: stretch !important;\n}\n\n.align-items-start {\n align-items: flex-start !important;\n}\n\n.align-items-center {\n align-items: center !important;\n}\n\n.align-items-end {\n align-items: flex-end !important;\n}\n\n.align-items-baseline {\n align-items: baseline !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:align-items-stretch {\n align-items: stretch !important;\n }\n .sm\\:align-items-start {\n align-items: flex-start !important;\n }\n .sm\\:align-items-center {\n align-items: center !important;\n }\n .sm\\:align-items-end {\n align-items: flex-end !important;\n }\n .sm\\:align-items-baseline {\n align-items: baseline !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:align-items-stretch {\n align-items: stretch !important;\n }\n .md\\:align-items-start {\n align-items: flex-start !important;\n }\n .md\\:align-items-center {\n align-items: center !important;\n }\n .md\\:align-items-end {\n align-items: flex-end !important;\n }\n .md\\:align-items-baseline {\n align-items: baseline !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:align-items-stretch {\n align-items: stretch !important;\n }\n .lg\\:align-items-start {\n align-items: flex-start !important;\n }\n .lg\\:align-items-center {\n align-items: center !important;\n }\n .lg\\:align-items-end {\n align-items: flex-end !important;\n }\n .lg\\:align-items-baseline {\n align-items: baseline !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:align-items-stretch {\n align-items: stretch !important;\n }\n .xl\\:align-items-start {\n align-items: flex-start !important;\n }\n .xl\\:align-items-center {\n align-items: center !important;\n }\n .xl\\:align-items-end {\n align-items: flex-end !important;\n }\n .xl\\:align-items-baseline {\n align-items: baseline !important;\n }\n}\n.align-self-auto {\n align-self: auto !important;\n}\n\n.align-self-start {\n align-self: flex-start !important;\n}\n\n.align-self-end {\n align-self: flex-end !important;\n}\n\n.align-self-center {\n align-self: center !important;\n}\n\n.align-self-stretch {\n align-self: stretch !important;\n}\n\n.align-self-baseline {\n align-self: baseline !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:align-self-auto {\n align-self: auto !important;\n }\n .sm\\:align-self-start {\n align-self: flex-start !important;\n }\n .sm\\:align-self-end {\n align-self: flex-end !important;\n }\n .sm\\:align-self-center {\n align-self: center !important;\n }\n .sm\\:align-self-stretch {\n align-self: stretch !important;\n }\n .sm\\:align-self-baseline {\n align-self: baseline !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:align-self-auto {\n align-self: auto !important;\n }\n .md\\:align-self-start {\n align-self: flex-start !important;\n }\n .md\\:align-self-end {\n align-self: flex-end !important;\n }\n .md\\:align-self-center {\n align-self: center !important;\n }\n .md\\:align-self-stretch {\n align-self: stretch !important;\n }\n .md\\:align-self-baseline {\n align-self: baseline !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:align-self-auto {\n align-self: auto !important;\n }\n .lg\\:align-self-start {\n align-self: flex-start !important;\n }\n .lg\\:align-self-end {\n align-self: flex-end !important;\n }\n .lg\\:align-self-center {\n align-self: center !important;\n }\n .lg\\:align-self-stretch {\n align-self: stretch !important;\n }\n .lg\\:align-self-baseline {\n align-self: baseline !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:align-self-auto {\n align-self: auto !important;\n }\n .xl\\:align-self-start {\n align-self: flex-start !important;\n }\n .xl\\:align-self-end {\n align-self: flex-end !important;\n }\n .xl\\:align-self-center {\n align-self: center !important;\n }\n .xl\\:align-self-stretch {\n align-self: stretch !important;\n }\n .xl\\:align-self-baseline {\n align-self: baseline !important;\n }\n}\n.flex-order-0 {\n order: 0 !important;\n}\n\n.flex-order-1 {\n order: 1 !important;\n}\n\n.flex-order-2 {\n order: 2 !important;\n}\n\n.flex-order-3 {\n order: 3 !important;\n}\n\n.flex-order-4 {\n order: 4 !important;\n}\n\n.flex-order-5 {\n order: 5 !important;\n}\n\n.flex-order-6 {\n order: 6 !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:flex-order-0 {\n order: 0 !important;\n }\n .sm\\:flex-order-1 {\n order: 1 !important;\n }\n .sm\\:flex-order-2 {\n order: 2 !important;\n }\n .sm\\:flex-order-3 {\n order: 3 !important;\n }\n .sm\\:flex-order-4 {\n order: 4 !important;\n }\n .sm\\:flex-order-5 {\n order: 5 !important;\n }\n .sm\\:flex-order-6 {\n order: 6 !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:flex-order-0 {\n order: 0 !important;\n }\n .md\\:flex-order-1 {\n order: 1 !important;\n }\n .md\\:flex-order-2 {\n order: 2 !important;\n }\n .md\\:flex-order-3 {\n order: 3 !important;\n }\n .md\\:flex-order-4 {\n order: 4 !important;\n }\n .md\\:flex-order-5 {\n order: 5 !important;\n }\n .md\\:flex-order-6 {\n order: 6 !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:flex-order-0 {\n order: 0 !important;\n }\n .lg\\:flex-order-1 {\n order: 1 !important;\n }\n .lg\\:flex-order-2 {\n order: 2 !important;\n }\n .lg\\:flex-order-3 {\n order: 3 !important;\n }\n .lg\\:flex-order-4 {\n order: 4 !important;\n }\n .lg\\:flex-order-5 {\n order: 5 !important;\n }\n .lg\\:flex-order-6 {\n order: 6 !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:flex-order-0 {\n order: 0 !important;\n }\n .xl\\:flex-order-1 {\n order: 1 !important;\n }\n .xl\\:flex-order-2 {\n order: 2 !important;\n }\n .xl\\:flex-order-3 {\n order: 3 !important;\n }\n .xl\\:flex-order-4 {\n order: 4 !important;\n }\n .xl\\:flex-order-5 {\n order: 5 !important;\n }\n .xl\\:flex-order-6 {\n order: 6 !important;\n }\n}\n.flex-1 {\n flex: 1 1 0% !important;\n}\n\n.flex-auto {\n flex: 1 1 auto !important;\n}\n\n.flex-initial {\n flex: 0 1 auto !important;\n}\n\n.flex-none {\n flex: none !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:flex-1 {\n flex: 1 1 0% !important;\n }\n .sm\\:flex-auto {\n flex: 1 1 auto !important;\n }\n .sm\\:flex-initial {\n flex: 0 1 auto !important;\n }\n .sm\\:flex-none {\n flex: none !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:flex-1 {\n flex: 1 1 0% !important;\n }\n .md\\:flex-auto {\n flex: 1 1 auto !important;\n }\n .md\\:flex-initial {\n flex: 0 1 auto !important;\n }\n .md\\:flex-none {\n flex: none !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:flex-1 {\n flex: 1 1 0% !important;\n }\n .lg\\:flex-auto {\n flex: 1 1 auto !important;\n }\n .lg\\:flex-initial {\n flex: 0 1 auto !important;\n }\n .lg\\:flex-none {\n flex: none !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:flex-1 {\n flex: 1 1 0% !important;\n }\n .xl\\:flex-auto {\n flex: 1 1 auto !important;\n }\n .xl\\:flex-initial {\n flex: 0 1 auto !important;\n }\n .xl\\:flex-none {\n flex: none !important;\n }\n}\n.flex-grow-0 {\n flex-grow: 0 !important;\n}\n\n.flex-grow-1 {\n flex-grow: 1 !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:flex-grow-0 {\n flex-grow: 0 !important;\n }\n .sm\\:flex-grow-1 {\n flex-grow: 1 !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:flex-grow-0 {\n flex-grow: 0 !important;\n }\n .md\\:flex-grow-1 {\n flex-grow: 1 !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:flex-grow-0 {\n flex-grow: 0 !important;\n }\n .lg\\:flex-grow-1 {\n flex-grow: 1 !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:flex-grow-0 {\n flex-grow: 0 !important;\n }\n .xl\\:flex-grow-1 {\n flex-grow: 1 !important;\n }\n}\n.flex-shrink-0 {\n flex-shrink: 0 !important;\n}\n\n.flex-shrink-1 {\n flex-shrink: 1 !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:flex-shrink-0 {\n flex-shrink: 0 !important;\n }\n .sm\\:flex-shrink-1 {\n flex-shrink: 1 !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:flex-shrink-0 {\n flex-shrink: 0 !important;\n }\n .md\\:flex-shrink-1 {\n flex-shrink: 1 !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:flex-shrink-0 {\n flex-shrink: 0 !important;\n }\n .lg\\:flex-shrink-1 {\n flex-shrink: 1 !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:flex-shrink-0 {\n flex-shrink: 0 !important;\n }\n .xl\\:flex-shrink-1 {\n flex-shrink: 1 !important;\n }\n}\n.p-0 {\n padding: 0rem !important;\n}\n\n.p-1 {\n padding: 0.25rem !important;\n}\n\n.p-2 {\n padding: 0.5rem !important;\n}\n\n.p-3 {\n padding: 1rem !important;\n}\n\n.p-4 {\n padding: 1.5rem !important;\n}\n\n.p-5 {\n padding: 2rem !important;\n}\n\n.p-6 {\n padding: 3rem !important;\n}\n\n.p-7 {\n padding: 4rem !important;\n}\n\n.p-8 {\n padding: 5rem !important;\n}\n\n.pt-0 {\n padding-top: 0rem !important;\n}\n\n.pt-1 {\n padding-top: 0.25rem !important;\n}\n\n.pt-2 {\n padding-top: 0.5rem !important;\n}\n\n.pt-3 {\n padding-top: 1rem !important;\n}\n\n.pt-4 {\n padding-top: 1.5rem !important;\n}\n\n.pt-5 {\n padding-top: 2rem !important;\n}\n\n.pt-6 {\n padding-top: 3rem !important;\n}\n\n.pt-7 {\n padding-top: 4rem !important;\n}\n\n.pt-8 {\n padding-top: 5rem !important;\n}\n\n.pr-0 {\n padding-right: 0rem !important;\n}\n\n.pr-1 {\n padding-right: 0.25rem !important;\n}\n\n.pr-2 {\n padding-right: 0.5rem !important;\n}\n\n.pr-3 {\n padding-right: 1rem !important;\n}\n\n.pr-4 {\n padding-right: 1.5rem !important;\n}\n\n.pr-5 {\n padding-right: 2rem !important;\n}\n\n.pr-6 {\n padding-right: 3rem !important;\n}\n\n.pr-7 {\n padding-right: 4rem !important;\n}\n\n.pr-8 {\n padding-right: 5rem !important;\n}\n\n.pl-0 {\n padding-left: 0rem !important;\n}\n\n.pl-1 {\n padding-left: 0.25rem !important;\n}\n\n.pl-2 {\n padding-left: 0.5rem !important;\n}\n\n.pl-3 {\n padding-left: 1rem !important;\n}\n\n.pl-4 {\n padding-left: 1.5rem !important;\n}\n\n.pl-5 {\n padding-left: 2rem !important;\n}\n\n.pl-6 {\n padding-left: 3rem !important;\n}\n\n.pl-7 {\n padding-left: 4rem !important;\n}\n\n.pl-8 {\n padding-left: 5rem !important;\n}\n\n.pb-0 {\n padding-bottom: 0rem !important;\n}\n\n.pb-1 {\n padding-bottom: 0.25rem !important;\n}\n\n.pb-2 {\n padding-bottom: 0.5rem !important;\n}\n\n.pb-3 {\n padding-bottom: 1rem !important;\n}\n\n.pb-4 {\n padding-bottom: 1.5rem !important;\n}\n\n.pb-5 {\n padding-bottom: 2rem !important;\n}\n\n.pb-6 {\n padding-bottom: 3rem !important;\n}\n\n.pb-7 {\n padding-bottom: 4rem !important;\n}\n\n.pb-8 {\n padding-bottom: 5rem !important;\n}\n\n.px-0 {\n padding-left: 0rem !important;\n padding-right: 0rem !important;\n}\n\n.px-1 {\n padding-left: 0.25rem !important;\n padding-right: 0.25rem !important;\n}\n\n.px-2 {\n padding-left: 0.5rem !important;\n padding-right: 0.5rem !important;\n}\n\n.px-3 {\n padding-left: 1rem !important;\n padding-right: 1rem !important;\n}\n\n.px-4 {\n padding-left: 1.5rem !important;\n padding-right: 1.5rem !important;\n}\n\n.px-5 {\n padding-left: 2rem !important;\n padding-right: 2rem !important;\n}\n\n.px-6 {\n padding-left: 3rem !important;\n padding-right: 3rem !important;\n}\n\n.px-7 {\n padding-left: 4rem !important;\n padding-right: 4rem !important;\n}\n\n.px-8 {\n padding-left: 5rem !important;\n padding-right: 5rem !important;\n}\n\n.py-0 {\n padding-top: 0rem !important;\n padding-bottom: 0rem !important;\n}\n\n.py-1 {\n padding-top: 0.25rem !important;\n padding-bottom: 0.25rem !important;\n}\n\n.py-2 {\n padding-top: 0.5rem !important;\n padding-bottom: 0.5rem !important;\n}\n\n.py-3 {\n padding-top: 1rem !important;\n padding-bottom: 1rem !important;\n}\n\n.py-4 {\n padding-top: 1.5rem !important;\n padding-bottom: 1.5rem !important;\n}\n\n.py-5 {\n padding-top: 2rem !important;\n padding-bottom: 2rem !important;\n}\n\n.py-6 {\n padding-top: 3rem !important;\n padding-bottom: 3rem !important;\n}\n\n.py-7 {\n padding-top: 4rem !important;\n padding-bottom: 4rem !important;\n}\n\n.py-8 {\n padding-top: 5rem !important;\n padding-bottom: 5rem !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:p-0 {\n padding: 0rem !important;\n }\n\n .sm\\:p-1 {\n padding: 0.25rem !important;\n }\n\n .sm\\:p-2 {\n padding: 0.5rem !important;\n }\n\n .sm\\:p-3 {\n padding: 1rem !important;\n }\n\n .sm\\:p-4 {\n padding: 1.5rem !important;\n }\n\n .sm\\:p-5 {\n padding: 2rem !important;\n }\n\n .sm\\:p-6 {\n padding: 3rem !important;\n }\n\n .sm\\:p-7 {\n padding: 4rem !important;\n }\n\n .sm\\:p-8 {\n padding: 5rem !important;\n }\n\n .sm\\:pt-0 {\n padding-top: 0rem !important;\n }\n\n .sm\\:pt-1 {\n padding-top: 0.25rem !important;\n }\n\n .sm\\:pt-2 {\n padding-top: 0.5rem !important;\n }\n\n .sm\\:pt-3 {\n padding-top: 1rem !important;\n }\n\n .sm\\:pt-4 {\n padding-top: 1.5rem !important;\n }\n\n .sm\\:pt-5 {\n padding-top: 2rem !important;\n }\n\n .sm\\:pt-6 {\n padding-top: 3rem !important;\n }\n\n .sm\\:pt-7 {\n padding-top: 4rem !important;\n }\n\n .sm\\:pt-8 {\n padding-top: 5rem !important;\n }\n\n .sm\\:pr-0 {\n padding-right: 0rem !important;\n }\n\n .sm\\:pr-1 {\n padding-right: 0.25rem !important;\n }\n\n .sm\\:pr-2 {\n padding-right: 0.5rem !important;\n }\n\n .sm\\:pr-3 {\n padding-right: 1rem !important;\n }\n\n .sm\\:pr-4 {\n padding-right: 1.5rem !important;\n }\n\n .sm\\:pr-5 {\n padding-right: 2rem !important;\n }\n\n .sm\\:pr-6 {\n padding-right: 3rem !important;\n }\n\n .sm\\:pr-7 {\n padding-right: 4rem !important;\n }\n\n .sm\\:pr-8 {\n padding-right: 5rem !important;\n }\n\n .sm\\:pl-0 {\n padding-left: 0rem !important;\n }\n\n .sm\\:pl-1 {\n padding-left: 0.25rem !important;\n }\n\n .sm\\:pl-2 {\n padding-left: 0.5rem !important;\n }\n\n .sm\\:pl-3 {\n padding-left: 1rem !important;\n }\n\n .sm\\:pl-4 {\n padding-left: 1.5rem !important;\n }\n\n .sm\\:pl-5 {\n padding-left: 2rem !important;\n }\n\n .sm\\:pl-6 {\n padding-left: 3rem !important;\n }\n\n .sm\\:pl-7 {\n padding-left: 4rem !important;\n }\n\n .sm\\:pl-8 {\n padding-left: 5rem !important;\n }\n\n .sm\\:pb-0 {\n padding-bottom: 0rem !important;\n }\n\n .sm\\:pb-1 {\n padding-bottom: 0.25rem !important;\n }\n\n .sm\\:pb-2 {\n padding-bottom: 0.5rem !important;\n }\n\n .sm\\:pb-3 {\n padding-bottom: 1rem !important;\n }\n\n .sm\\:pb-4 {\n padding-bottom: 1.5rem !important;\n }\n\n .sm\\:pb-5 {\n padding-bottom: 2rem !important;\n }\n\n .sm\\:pb-6 {\n padding-bottom: 3rem !important;\n }\n\n .sm\\:pb-7 {\n padding-bottom: 4rem !important;\n }\n\n .sm\\:pb-8 {\n padding-bottom: 5rem !important;\n }\n\n .sm\\:px-0 {\n padding-left: 0rem !important;\n padding-right: 0rem !important;\n }\n\n .sm\\:px-1 {\n padding-left: 0.25rem !important;\n padding-right: 0.25rem !important;\n }\n\n .sm\\:px-2 {\n padding-left: 0.5rem !important;\n padding-right: 0.5rem !important;\n }\n\n .sm\\:px-3 {\n padding-left: 1rem !important;\n padding-right: 1rem !important;\n }\n\n .sm\\:px-4 {\n padding-left: 1.5rem !important;\n padding-right: 1.5rem !important;\n }\n\n .sm\\:px-5 {\n padding-left: 2rem !important;\n padding-right: 2rem !important;\n }\n\n .sm\\:px-6 {\n padding-left: 3rem !important;\n padding-right: 3rem !important;\n }\n\n .sm\\:px-7 {\n padding-left: 4rem !important;\n padding-right: 4rem !important;\n }\n\n .sm\\:px-8 {\n padding-left: 5rem !important;\n padding-right: 5rem !important;\n }\n\n .sm\\:py-0 {\n padding-top: 0rem !important;\n padding-bottom: 0rem !important;\n }\n\n .sm\\:py-1 {\n padding-top: 0.25rem !important;\n padding-bottom: 0.25rem !important;\n }\n\n .sm\\:py-2 {\n padding-top: 0.5rem !important;\n padding-bottom: 0.5rem !important;\n }\n\n .sm\\:py-3 {\n padding-top: 1rem !important;\n padding-bottom: 1rem !important;\n }\n\n .sm\\:py-4 {\n padding-top: 1.5rem !important;\n padding-bottom: 1.5rem !important;\n }\n\n .sm\\:py-5 {\n padding-top: 2rem !important;\n padding-bottom: 2rem !important;\n }\n\n .sm\\:py-6 {\n padding-top: 3rem !important;\n padding-bottom: 3rem !important;\n }\n\n .sm\\:py-7 {\n padding-top: 4rem !important;\n padding-bottom: 4rem !important;\n }\n\n .sm\\:py-8 {\n padding-top: 5rem !important;\n padding-bottom: 5rem !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:p-0 {\n padding: 0rem !important;\n }\n\n .md\\:p-1 {\n padding: 0.25rem !important;\n }\n\n .md\\:p-2 {\n padding: 0.5rem !important;\n }\n\n .md\\:p-3 {\n padding: 1rem !important;\n }\n\n .md\\:p-4 {\n padding: 1.5rem !important;\n }\n\n .md\\:p-5 {\n padding: 2rem !important;\n }\n\n .md\\:p-6 {\n padding: 3rem !important;\n }\n\n .md\\:p-7 {\n padding: 4rem !important;\n }\n\n .md\\:p-8 {\n padding: 5rem !important;\n }\n\n .md\\:pt-0 {\n padding-top: 0rem !important;\n }\n\n .md\\:pt-1 {\n padding-top: 0.25rem !important;\n }\n\n .md\\:pt-2 {\n padding-top: 0.5rem !important;\n }\n\n .md\\:pt-3 {\n padding-top: 1rem !important;\n }\n\n .md\\:pt-4 {\n padding-top: 1.5rem !important;\n }\n\n .md\\:pt-5 {\n padding-top: 2rem !important;\n }\n\n .md\\:pt-6 {\n padding-top: 3rem !important;\n }\n\n .md\\:pt-7 {\n padding-top: 4rem !important;\n }\n\n .md\\:pt-8 {\n padding-top: 5rem !important;\n }\n\n .md\\:pr-0 {\n padding-right: 0rem !important;\n }\n\n .md\\:pr-1 {\n padding-right: 0.25rem !important;\n }\n\n .md\\:pr-2 {\n padding-right: 0.5rem !important;\n }\n\n .md\\:pr-3 {\n padding-right: 1rem !important;\n }\n\n .md\\:pr-4 {\n padding-right: 1.5rem !important;\n }\n\n .md\\:pr-5 {\n padding-right: 2rem !important;\n }\n\n .md\\:pr-6 {\n padding-right: 3rem !important;\n }\n\n .md\\:pr-7 {\n padding-right: 4rem !important;\n }\n\n .md\\:pr-8 {\n padding-right: 5rem !important;\n }\n\n .md\\:pl-0 {\n padding-left: 0rem !important;\n }\n\n .md\\:pl-1 {\n padding-left: 0.25rem !important;\n }\n\n .md\\:pl-2 {\n padding-left: 0.5rem !important;\n }\n\n .md\\:pl-3 {\n padding-left: 1rem !important;\n }\n\n .md\\:pl-4 {\n padding-left: 1.5rem !important;\n }\n\n .md\\:pl-5 {\n padding-left: 2rem !important;\n }\n\n .md\\:pl-6 {\n padding-left: 3rem !important;\n }\n\n .md\\:pl-7 {\n padding-left: 4rem !important;\n }\n\n .md\\:pl-8 {\n padding-left: 5rem !important;\n }\n\n .md\\:pb-0 {\n padding-bottom: 0rem !important;\n }\n\n .md\\:pb-1 {\n padding-bottom: 0.25rem !important;\n }\n\n .md\\:pb-2 {\n padding-bottom: 0.5rem !important;\n }\n\n .md\\:pb-3 {\n padding-bottom: 1rem !important;\n }\n\n .md\\:pb-4 {\n padding-bottom: 1.5rem !important;\n }\n\n .md\\:pb-5 {\n padding-bottom: 2rem !important;\n }\n\n .md\\:pb-6 {\n padding-bottom: 3rem !important;\n }\n\n .md\\:pb-7 {\n padding-bottom: 4rem !important;\n }\n\n .md\\:pb-8 {\n padding-bottom: 5rem !important;\n }\n\n .md\\:px-0 {\n padding-left: 0rem !important;\n padding-right: 0rem !important;\n }\n\n .md\\:px-1 {\n padding-left: 0.25rem !important;\n padding-right: 0.25rem !important;\n }\n\n .md\\:px-2 {\n padding-left: 0.5rem !important;\n padding-right: 0.5rem !important;\n }\n\n .md\\:px-3 {\n padding-left: 1rem !important;\n padding-right: 1rem !important;\n }\n\n .md\\:px-4 {\n padding-left: 1.5rem !important;\n padding-right: 1.5rem !important;\n }\n\n .md\\:px-5 {\n padding-left: 2rem !important;\n padding-right: 2rem !important;\n }\n\n .md\\:px-6 {\n padding-left: 3rem !important;\n padding-right: 3rem !important;\n }\n\n .md\\:px-7 {\n padding-left: 4rem !important;\n padding-right: 4rem !important;\n }\n\n .md\\:px-8 {\n padding-left: 5rem !important;\n padding-right: 5rem !important;\n }\n\n .md\\:py-0 {\n padding-top: 0rem !important;\n padding-bottom: 0rem !important;\n }\n\n .md\\:py-1 {\n padding-top: 0.25rem !important;\n padding-bottom: 0.25rem !important;\n }\n\n .md\\:py-2 {\n padding-top: 0.5rem !important;\n padding-bottom: 0.5rem !important;\n }\n\n .md\\:py-3 {\n padding-top: 1rem !important;\n padding-bottom: 1rem !important;\n }\n\n .md\\:py-4 {\n padding-top: 1.5rem !important;\n padding-bottom: 1.5rem !important;\n }\n\n .md\\:py-5 {\n padding-top: 2rem !important;\n padding-bottom: 2rem !important;\n }\n\n .md\\:py-6 {\n padding-top: 3rem !important;\n padding-bottom: 3rem !important;\n }\n\n .md\\:py-7 {\n padding-top: 4rem !important;\n padding-bottom: 4rem !important;\n }\n\n .md\\:py-8 {\n padding-top: 5rem !important;\n padding-bottom: 5rem !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:p-0 {\n padding: 0rem !important;\n }\n\n .lg\\:p-1 {\n padding: 0.25rem !important;\n }\n\n .lg\\:p-2 {\n padding: 0.5rem !important;\n }\n\n .lg\\:p-3 {\n padding: 1rem !important;\n }\n\n .lg\\:p-4 {\n padding: 1.5rem !important;\n }\n\n .lg\\:p-5 {\n padding: 2rem !important;\n }\n\n .lg\\:p-6 {\n padding: 3rem !important;\n }\n\n .lg\\:p-7 {\n padding: 4rem !important;\n }\n\n .lg\\:p-8 {\n padding: 5rem !important;\n }\n\n .lg\\:pt-0 {\n padding-top: 0rem !important;\n }\n\n .lg\\:pt-1 {\n padding-top: 0.25rem !important;\n }\n\n .lg\\:pt-2 {\n padding-top: 0.5rem !important;\n }\n\n .lg\\:pt-3 {\n padding-top: 1rem !important;\n }\n\n .lg\\:pt-4 {\n padding-top: 1.5rem !important;\n }\n\n .lg\\:pt-5 {\n padding-top: 2rem !important;\n }\n\n .lg\\:pt-6 {\n padding-top: 3rem !important;\n }\n\n .lg\\:pt-7 {\n padding-top: 4rem !important;\n }\n\n .lg\\:pt-8 {\n padding-top: 5rem !important;\n }\n\n .lg\\:pr-0 {\n padding-right: 0rem !important;\n }\n\n .lg\\:pr-1 {\n padding-right: 0.25rem !important;\n }\n\n .lg\\:pr-2 {\n padding-right: 0.5rem !important;\n }\n\n .lg\\:pr-3 {\n padding-right: 1rem !important;\n }\n\n .lg\\:pr-4 {\n padding-right: 1.5rem !important;\n }\n\n .lg\\:pr-5 {\n padding-right: 2rem !important;\n }\n\n .lg\\:pr-6 {\n padding-right: 3rem !important;\n }\n\n .lg\\:pr-7 {\n padding-right: 4rem !important;\n }\n\n .lg\\:pr-8 {\n padding-right: 5rem !important;\n }\n\n .lg\\:pl-0 {\n padding-left: 0rem !important;\n }\n\n .lg\\:pl-1 {\n padding-left: 0.25rem !important;\n }\n\n .lg\\:pl-2 {\n padding-left: 0.5rem !important;\n }\n\n .lg\\:pl-3 {\n padding-left: 1rem !important;\n }\n\n .lg\\:pl-4 {\n padding-left: 1.5rem !important;\n }\n\n .lg\\:pl-5 {\n padding-left: 2rem !important;\n }\n\n .lg\\:pl-6 {\n padding-left: 3rem !important;\n }\n\n .lg\\:pl-7 {\n padding-left: 4rem !important;\n }\n\n .lg\\:pl-8 {\n padding-left: 5rem !important;\n }\n\n .lg\\:pb-0 {\n padding-bottom: 0rem !important;\n }\n\n .lg\\:pb-1 {\n padding-bottom: 0.25rem !important;\n }\n\n .lg\\:pb-2 {\n padding-bottom: 0.5rem !important;\n }\n\n .lg\\:pb-3 {\n padding-bottom: 1rem !important;\n }\n\n .lg\\:pb-4 {\n padding-bottom: 1.5rem !important;\n }\n\n .lg\\:pb-5 {\n padding-bottom: 2rem !important;\n }\n\n .lg\\:pb-6 {\n padding-bottom: 3rem !important;\n }\n\n .lg\\:pb-7 {\n padding-bottom: 4rem !important;\n }\n\n .lg\\:pb-8 {\n padding-bottom: 5rem !important;\n }\n\n .lg\\:px-0 {\n padding-left: 0rem !important;\n padding-right: 0rem !important;\n }\n\n .lg\\:px-1 {\n padding-left: 0.25rem !important;\n padding-right: 0.25rem !important;\n }\n\n .lg\\:px-2 {\n padding-left: 0.5rem !important;\n padding-right: 0.5rem !important;\n }\n\n .lg\\:px-3 {\n padding-left: 1rem !important;\n padding-right: 1rem !important;\n }\n\n .lg\\:px-4 {\n padding-left: 1.5rem !important;\n padding-right: 1.5rem !important;\n }\n\n .lg\\:px-5 {\n padding-left: 2rem !important;\n padding-right: 2rem !important;\n }\n\n .lg\\:px-6 {\n padding-left: 3rem !important;\n padding-right: 3rem !important;\n }\n\n .lg\\:px-7 {\n padding-left: 4rem !important;\n padding-right: 4rem !important;\n }\n\n .lg\\:px-8 {\n padding-left: 5rem !important;\n padding-right: 5rem !important;\n }\n\n .lg\\:py-0 {\n padding-top: 0rem !important;\n padding-bottom: 0rem !important;\n }\n\n .lg\\:py-1 {\n padding-top: 0.25rem !important;\n padding-bottom: 0.25rem !important;\n }\n\n .lg\\:py-2 {\n padding-top: 0.5rem !important;\n padding-bottom: 0.5rem !important;\n }\n\n .lg\\:py-3 {\n padding-top: 1rem !important;\n padding-bottom: 1rem !important;\n }\n\n .lg\\:py-4 {\n padding-top: 1.5rem !important;\n padding-bottom: 1.5rem !important;\n }\n\n .lg\\:py-5 {\n padding-top: 2rem !important;\n padding-bottom: 2rem !important;\n }\n\n .lg\\:py-6 {\n padding-top: 3rem !important;\n padding-bottom: 3rem !important;\n }\n\n .lg\\:py-7 {\n padding-top: 4rem !important;\n padding-bottom: 4rem !important;\n }\n\n .lg\\:py-8 {\n padding-top: 5rem !important;\n padding-bottom: 5rem !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:p-0 {\n padding: 0rem !important;\n }\n\n .xl\\:p-1 {\n padding: 0.25rem !important;\n }\n\n .xl\\:p-2 {\n padding: 0.5rem !important;\n }\n\n .xl\\:p-3 {\n padding: 1rem !important;\n }\n\n .xl\\:p-4 {\n padding: 1.5rem !important;\n }\n\n .xl\\:p-5 {\n padding: 2rem !important;\n }\n\n .xl\\:p-6 {\n padding: 3rem !important;\n }\n\n .xl\\:p-7 {\n padding: 4rem !important;\n }\n\n .xl\\:p-8 {\n padding: 5rem !important;\n }\n\n .xl\\:pt-0 {\n padding-top: 0rem !important;\n }\n\n .xl\\:pt-1 {\n padding-top: 0.25rem !important;\n }\n\n .xl\\:pt-2 {\n padding-top: 0.5rem !important;\n }\n\n .xl\\:pt-3 {\n padding-top: 1rem !important;\n }\n\n .xl\\:pt-4 {\n padding-top: 1.5rem !important;\n }\n\n .xl\\:pt-5 {\n padding-top: 2rem !important;\n }\n\n .xl\\:pt-6 {\n padding-top: 3rem !important;\n }\n\n .xl\\:pt-7 {\n padding-top: 4rem !important;\n }\n\n .xl\\:pt-8 {\n padding-top: 5rem !important;\n }\n\n .xl\\:pr-0 {\n padding-right: 0rem !important;\n }\n\n .xl\\:pr-1 {\n padding-right: 0.25rem !important;\n }\n\n .xl\\:pr-2 {\n padding-right: 0.5rem !important;\n }\n\n .xl\\:pr-3 {\n padding-right: 1rem !important;\n }\n\n .xl\\:pr-4 {\n padding-right: 1.5rem !important;\n }\n\n .xl\\:pr-5 {\n padding-right: 2rem !important;\n }\n\n .xl\\:pr-6 {\n padding-right: 3rem !important;\n }\n\n .xl\\:pr-7 {\n padding-right: 4rem !important;\n }\n\n .xl\\:pr-8 {\n padding-right: 5rem !important;\n }\n\n .xl\\:pl-0 {\n padding-left: 0rem !important;\n }\n\n .xl\\:pl-1 {\n padding-left: 0.25rem !important;\n }\n\n .xl\\:pl-2 {\n padding-left: 0.5rem !important;\n }\n\n .xl\\:pl-3 {\n padding-left: 1rem !important;\n }\n\n .xl\\:pl-4 {\n padding-left: 1.5rem !important;\n }\n\n .xl\\:pl-5 {\n padding-left: 2rem !important;\n }\n\n .xl\\:pl-6 {\n padding-left: 3rem !important;\n }\n\n .xl\\:pl-7 {\n padding-left: 4rem !important;\n }\n\n .xl\\:pl-8 {\n padding-left: 5rem !important;\n }\n\n .xl\\:pb-0 {\n padding-bottom: 0rem !important;\n }\n\n .xl\\:pb-1 {\n padding-bottom: 0.25rem !important;\n }\n\n .xl\\:pb-2 {\n padding-bottom: 0.5rem !important;\n }\n\n .xl\\:pb-3 {\n padding-bottom: 1rem !important;\n }\n\n .xl\\:pb-4 {\n padding-bottom: 1.5rem !important;\n }\n\n .xl\\:pb-5 {\n padding-bottom: 2rem !important;\n }\n\n .xl\\:pb-6 {\n padding-bottom: 3rem !important;\n }\n\n .xl\\:pb-7 {\n padding-bottom: 4rem !important;\n }\n\n .xl\\:pb-8 {\n padding-bottom: 5rem !important;\n }\n\n .xl\\:px-0 {\n padding-left: 0rem !important;\n padding-right: 0rem !important;\n }\n\n .xl\\:px-1 {\n padding-left: 0.25rem !important;\n padding-right: 0.25rem !important;\n }\n\n .xl\\:px-2 {\n padding-left: 0.5rem !important;\n padding-right: 0.5rem !important;\n }\n\n .xl\\:px-3 {\n padding-left: 1rem !important;\n padding-right: 1rem !important;\n }\n\n .xl\\:px-4 {\n padding-left: 1.5rem !important;\n padding-right: 1.5rem !important;\n }\n\n .xl\\:px-5 {\n padding-left: 2rem !important;\n padding-right: 2rem !important;\n }\n\n .xl\\:px-6 {\n padding-left: 3rem !important;\n padding-right: 3rem !important;\n }\n\n .xl\\:px-7 {\n padding-left: 4rem !important;\n padding-right: 4rem !important;\n }\n\n .xl\\:px-8 {\n padding-left: 5rem !important;\n padding-right: 5rem !important;\n }\n\n .xl\\:py-0 {\n padding-top: 0rem !important;\n padding-bottom: 0rem !important;\n }\n\n .xl\\:py-1 {\n padding-top: 0.25rem !important;\n padding-bottom: 0.25rem !important;\n }\n\n .xl\\:py-2 {\n padding-top: 0.5rem !important;\n padding-bottom: 0.5rem !important;\n }\n\n .xl\\:py-3 {\n padding-top: 1rem !important;\n padding-bottom: 1rem !important;\n }\n\n .xl\\:py-4 {\n padding-top: 1.5rem !important;\n padding-bottom: 1.5rem !important;\n }\n\n .xl\\:py-5 {\n padding-top: 2rem !important;\n padding-bottom: 2rem !important;\n }\n\n .xl\\:py-6 {\n padding-top: 3rem !important;\n padding-bottom: 3rem !important;\n }\n\n .xl\\:py-7 {\n padding-top: 4rem !important;\n padding-bottom: 4rem !important;\n }\n\n .xl\\:py-8 {\n padding-top: 5rem !important;\n padding-bottom: 5rem !important;\n }\n}\n.m-0 {\n margin: 0rem !important;\n}\n\n.m-1 {\n margin: 0.25rem !important;\n}\n\n.m-2 {\n margin: 0.5rem !important;\n}\n\n.m-3 {\n margin: 1rem !important;\n}\n\n.m-4 {\n margin: 1.5rem !important;\n}\n\n.m-5 {\n margin: 2rem !important;\n}\n\n.m-6 {\n margin: 3rem !important;\n}\n\n.m-7 {\n margin: 4rem !important;\n}\n\n.m-8 {\n margin: 5rem !important;\n}\n\n.-m-1 {\n margin: -0.25rem !important;\n}\n\n.-m-2 {\n margin: -0.5rem !important;\n}\n\n.-m-3 {\n margin: -1rem !important;\n}\n\n.-m-4 {\n margin: -1.5rem !important;\n}\n\n.-m-5 {\n margin: -2rem !important;\n}\n\n.-m-6 {\n margin: -3rem !important;\n}\n\n.-m-7 {\n margin: -4rem !important;\n}\n\n.-m-8 {\n margin: -5rem !important;\n}\n\n.m-auto {\n margin: auto !important;\n}\n\n.mt-0 {\n margin-top: 0rem !important;\n}\n\n.mt-1 {\n margin-top: 0.25rem !important;\n}\n\n.mt-2 {\n margin-top: 0.5rem !important;\n}\n\n.mt-3 {\n margin-top: 1rem !important;\n}\n\n.mt-4 {\n margin-top: 1.5rem !important;\n}\n\n.mt-5 {\n margin-top: 2rem !important;\n}\n\n.mt-6 {\n margin-top: 3rem !important;\n}\n\n.mt-7 {\n margin-top: 4rem !important;\n}\n\n.mt-8 {\n margin-top: 5rem !important;\n}\n\n.-mt-1 {\n margin-top: -0.25rem !important;\n}\n\n.-mt-2 {\n margin-top: -0.5rem !important;\n}\n\n.-mt-3 {\n margin-top: -1rem !important;\n}\n\n.-mt-4 {\n margin-top: -1.5rem !important;\n}\n\n.-mt-5 {\n margin-top: -2rem !important;\n}\n\n.-mt-6 {\n margin-top: -3rem !important;\n}\n\n.-mt-7 {\n margin-top: -4rem !important;\n}\n\n.-mt-8 {\n margin-top: -5rem !important;\n}\n\n.mt-auto {\n margin-top: auto !important;\n}\n\n.mr-0 {\n margin-right: 0rem !important;\n}\n\n.mr-1 {\n margin-right: 0.25rem !important;\n}\n\n.mr-2 {\n margin-right: 0.5rem !important;\n}\n\n.mr-3 {\n margin-right: 1rem !important;\n}\n\n.mr-4 {\n margin-right: 1.5rem !important;\n}\n\n.mr-5 {\n margin-right: 2rem !important;\n}\n\n.mr-6 {\n margin-right: 3rem !important;\n}\n\n.mr-7 {\n margin-right: 4rem !important;\n}\n\n.mr-8 {\n margin-right: 5rem !important;\n}\n\n.-mr-1 {\n margin-right: -0.25rem !important;\n}\n\n.-mr-2 {\n margin-right: -0.5rem !important;\n}\n\n.-mr-3 {\n margin-right: -1rem !important;\n}\n\n.-mr-4 {\n margin-right: -1.5rem !important;\n}\n\n.-mr-5 {\n margin-right: -2rem !important;\n}\n\n.-mr-6 {\n margin-right: -3rem !important;\n}\n\n.-mr-7 {\n margin-right: -4rem !important;\n}\n\n.-mr-8 {\n margin-right: -5rem !important;\n}\n\n.mr-auto {\n margin-right: auto !important;\n}\n\n.ml-0 {\n margin-left: 0rem !important;\n}\n\n.ml-1 {\n margin-left: 0.25rem !important;\n}\n\n.ml-2 {\n margin-left: 0.5rem !important;\n}\n\n.ml-3 {\n margin-left: 1rem !important;\n}\n\n.ml-4 {\n margin-left: 1.5rem !important;\n}\n\n.ml-5 {\n margin-left: 2rem !important;\n}\n\n.ml-6 {\n margin-left: 3rem !important;\n}\n\n.ml-7 {\n margin-left: 4rem !important;\n}\n\n.ml-8 {\n margin-left: 5rem !important;\n}\n\n.-ml-1 {\n margin-left: -0.25rem !important;\n}\n\n.-ml-2 {\n margin-left: -0.5rem !important;\n}\n\n.-ml-3 {\n margin-left: -1rem !important;\n}\n\n.-ml-4 {\n margin-left: -1.5rem !important;\n}\n\n.-ml-5 {\n margin-left: -2rem !important;\n}\n\n.-ml-6 {\n margin-left: -3rem !important;\n}\n\n.-ml-7 {\n margin-left: -4rem !important;\n}\n\n.-ml-8 {\n margin-left: -5rem !important;\n}\n\n.ml-auto {\n margin-left: auto !important;\n}\n\n.mb-0 {\n margin-bottom: 0rem !important;\n}\n\n.mb-1 {\n margin-bottom: 0.25rem !important;\n}\n\n.mb-2 {\n margin-bottom: 0.5rem !important;\n}\n\n.mb-3 {\n margin-bottom: 1rem !important;\n}\n\n.mb-4 {\n margin-bottom: 1.5rem !important;\n}\n\n.mb-5 {\n margin-bottom: 2rem !important;\n}\n\n.mb-6 {\n margin-bottom: 3rem !important;\n}\n\n.mb-7 {\n margin-bottom: 4rem !important;\n}\n\n.mb-8 {\n margin-bottom: 5rem !important;\n}\n\n.-mb-1 {\n margin-bottom: -0.25rem !important;\n}\n\n.-mb-2 {\n margin-bottom: -0.5rem !important;\n}\n\n.-mb-3 {\n margin-bottom: -1rem !important;\n}\n\n.-mb-4 {\n margin-bottom: -1.5rem !important;\n}\n\n.-mb-5 {\n margin-bottom: -2rem !important;\n}\n\n.-mb-6 {\n margin-bottom: -3rem !important;\n}\n\n.-mb-7 {\n margin-bottom: -4rem !important;\n}\n\n.-mb-8 {\n margin-bottom: -5rem !important;\n}\n\n.mb-auto {\n margin-bottom: auto !important;\n}\n\n.mx-0 {\n margin-left: 0rem !important;\n margin-right: 0rem !important;\n}\n\n.mx-1 {\n margin-left: 0.25rem !important;\n margin-right: 0.25rem !important;\n}\n\n.mx-2 {\n margin-left: 0.5rem !important;\n margin-right: 0.5rem !important;\n}\n\n.mx-3 {\n margin-left: 1rem !important;\n margin-right: 1rem !important;\n}\n\n.mx-4 {\n margin-left: 1.5rem !important;\n margin-right: 1.5rem !important;\n}\n\n.mx-5 {\n margin-left: 2rem !important;\n margin-right: 2rem !important;\n}\n\n.mx-6 {\n margin-left: 3rem !important;\n margin-right: 3rem !important;\n}\n\n.mx-7 {\n margin-left: 4rem !important;\n margin-right: 4rem !important;\n}\n\n.mx-8 {\n margin-left: 5rem !important;\n margin-right: 5rem !important;\n}\n\n.-mx-1 {\n margin-left: -0.25rem !important;\n margin-right: -0.25rem !important;\n}\n\n.-mx-2 {\n margin-left: -0.5rem !important;\n margin-right: -0.5rem !important;\n}\n\n.-mx-3 {\n margin-left: -1rem !important;\n margin-right: -1rem !important;\n}\n\n.-mx-4 {\n margin-left: -1.5rem !important;\n margin-right: -1.5rem !important;\n}\n\n.-mx-5 {\n margin-left: -2rem !important;\n margin-right: -2rem !important;\n}\n\n.-mx-6 {\n margin-left: -3rem !important;\n margin-right: -3rem !important;\n}\n\n.-mx-7 {\n margin-left: -4rem !important;\n margin-right: -4rem !important;\n}\n\n.-mx-8 {\n margin-left: -5rem !important;\n margin-right: -5rem !important;\n}\n\n.mx-auto {\n margin-left: auto !important;\n margin-right: auto !important;\n}\n\n.my-0 {\n margin-top: 0rem !important;\n margin-bottom: 0rem !important;\n}\n\n.my-1 {\n margin-top: 0.25rem !important;\n margin-bottom: 0.25rem !important;\n}\n\n.my-2 {\n margin-top: 0.5rem !important;\n margin-bottom: 0.5rem !important;\n}\n\n.my-3 {\n margin-top: 1rem !important;\n margin-bottom: 1rem !important;\n}\n\n.my-4 {\n margin-top: 1.5rem !important;\n margin-bottom: 1.5rem !important;\n}\n\n.my-5 {\n margin-top: 2rem !important;\n margin-bottom: 2rem !important;\n}\n\n.my-6 {\n margin-top: 3rem !important;\n margin-bottom: 3rem !important;\n}\n\n.my-7 {\n margin-top: 4rem !important;\n margin-bottom: 4rem !important;\n}\n\n.my-8 {\n margin-top: 5rem !important;\n margin-bottom: 5rem !important;\n}\n\n.-my-1 {\n margin-top: -0.25rem !important;\n margin-bottom: -0.25rem !important;\n}\n\n.-my-2 {\n margin-top: -0.5rem !important;\n margin-bottom: -0.5rem !important;\n}\n\n.-my-3 {\n margin-top: -1rem !important;\n margin-bottom: -1rem !important;\n}\n\n.-my-4 {\n margin-top: -1.5rem !important;\n margin-bottom: -1.5rem !important;\n}\n\n.-my-5 {\n margin-top: -2rem !important;\n margin-bottom: -2rem !important;\n}\n\n.-my-6 {\n margin-top: -3rem !important;\n margin-bottom: -3rem !important;\n}\n\n.-my-7 {\n margin-top: -4rem !important;\n margin-bottom: -4rem !important;\n}\n\n.-my-8 {\n margin-top: -5rem !important;\n margin-bottom: -5rem !important;\n}\n\n.my-auto {\n margin-top: auto !important;\n margin-bottom: auto !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:m-0 {\n margin: 0rem !important;\n }\n\n .sm\\:m-1 {\n margin: 0.25rem !important;\n }\n\n .sm\\:m-2 {\n margin: 0.5rem !important;\n }\n\n .sm\\:m-3 {\n margin: 1rem !important;\n }\n\n .sm\\:m-4 {\n margin: 1.5rem !important;\n }\n\n .sm\\:m-5 {\n margin: 2rem !important;\n }\n\n .sm\\:m-6 {\n margin: 3rem !important;\n }\n\n .sm\\:m-7 {\n margin: 4rem !important;\n }\n\n .sm\\:m-8 {\n margin: 5rem !important;\n }\n\n .sm\\:-m-1 {\n margin: -0.25rem !important;\n }\n\n .sm\\:-m-2 {\n margin: -0.5rem !important;\n }\n\n .sm\\:-m-3 {\n margin: -1rem !important;\n }\n\n .sm\\:-m-4 {\n margin: -1.5rem !important;\n }\n\n .sm\\:-m-5 {\n margin: -2rem !important;\n }\n\n .sm\\:-m-6 {\n margin: -3rem !important;\n }\n\n .sm\\:-m-7 {\n margin: -4rem !important;\n }\n\n .sm\\:-m-8 {\n margin: -5rem !important;\n }\n\n .sm\\:m-auto {\n margin: auto !important;\n }\n\n .sm\\:mt-0 {\n margin-top: 0rem !important;\n }\n\n .sm\\:mt-1 {\n margin-top: 0.25rem !important;\n }\n\n .sm\\:mt-2 {\n margin-top: 0.5rem !important;\n }\n\n .sm\\:mt-3 {\n margin-top: 1rem !important;\n }\n\n .sm\\:mt-4 {\n margin-top: 1.5rem !important;\n }\n\n .sm\\:mt-5 {\n margin-top: 2rem !important;\n }\n\n .sm\\:mt-6 {\n margin-top: 3rem !important;\n }\n\n .sm\\:mt-7 {\n margin-top: 4rem !important;\n }\n\n .sm\\:mt-8 {\n margin-top: 5rem !important;\n }\n\n .sm\\:-mt-1 {\n margin-top: -0.25rem !important;\n }\n\n .sm\\:-mt-2 {\n margin-top: -0.5rem !important;\n }\n\n .sm\\:-mt-3 {\n margin-top: -1rem !important;\n }\n\n .sm\\:-mt-4 {\n margin-top: -1.5rem !important;\n }\n\n .sm\\:-mt-5 {\n margin-top: -2rem !important;\n }\n\n .sm\\:-mt-6 {\n margin-top: -3rem !important;\n }\n\n .sm\\:-mt-7 {\n margin-top: -4rem !important;\n }\n\n .sm\\:-mt-8 {\n margin-top: -5rem !important;\n }\n\n .sm\\:mt-auto {\n margin-top: auto !important;\n }\n\n .sm\\:mr-0 {\n margin-right: 0rem !important;\n }\n\n .sm\\:mr-1 {\n margin-right: 0.25rem !important;\n }\n\n .sm\\:mr-2 {\n margin-right: 0.5rem !important;\n }\n\n .sm\\:mr-3 {\n margin-right: 1rem !important;\n }\n\n .sm\\:mr-4 {\n margin-right: 1.5rem !important;\n }\n\n .sm\\:mr-5 {\n margin-right: 2rem !important;\n }\n\n .sm\\:mr-6 {\n margin-right: 3rem !important;\n }\n\n .sm\\:mr-7 {\n margin-right: 4rem !important;\n }\n\n .sm\\:mr-8 {\n margin-right: 5rem !important;\n }\n\n .sm\\:-mr-1 {\n margin-right: -0.25rem !important;\n }\n\n .sm\\:-mr-2 {\n margin-right: -0.5rem !important;\n }\n\n .sm\\:-mr-3 {\n margin-right: -1rem !important;\n }\n\n .sm\\:-mr-4 {\n margin-right: -1.5rem !important;\n }\n\n .sm\\:-mr-5 {\n margin-right: -2rem !important;\n }\n\n .sm\\:-mr-6 {\n margin-right: -3rem !important;\n }\n\n .sm\\:-mr-7 {\n margin-right: -4rem !important;\n }\n\n .sm\\:-mr-8 {\n margin-right: -5rem !important;\n }\n\n .sm\\:mr-auto {\n margin-right: auto !important;\n }\n\n .sm\\:ml-0 {\n margin-left: 0rem !important;\n }\n\n .sm\\:ml-1 {\n margin-left: 0.25rem !important;\n }\n\n .sm\\:ml-2 {\n margin-left: 0.5rem !important;\n }\n\n .sm\\:ml-3 {\n margin-left: 1rem !important;\n }\n\n .sm\\:ml-4 {\n margin-left: 1.5rem !important;\n }\n\n .sm\\:ml-5 {\n margin-left: 2rem !important;\n }\n\n .sm\\:ml-6 {\n margin-left: 3rem !important;\n }\n\n .sm\\:ml-7 {\n margin-left: 4rem !important;\n }\n\n .sm\\:ml-8 {\n margin-left: 5rem !important;\n }\n\n .sm\\:-ml-1 {\n margin-left: -0.25rem !important;\n }\n\n .sm\\:-ml-2 {\n margin-left: -0.5rem !important;\n }\n\n .sm\\:-ml-3 {\n margin-left: -1rem !important;\n }\n\n .sm\\:-ml-4 {\n margin-left: -1.5rem !important;\n }\n\n .sm\\:-ml-5 {\n margin-left: -2rem !important;\n }\n\n .sm\\:-ml-6 {\n margin-left: -3rem !important;\n }\n\n .sm\\:-ml-7 {\n margin-left: -4rem !important;\n }\n\n .sm\\:-ml-8 {\n margin-left: -5rem !important;\n }\n\n .sm\\:ml-auto {\n margin-left: auto !important;\n }\n\n .sm\\:mb-0 {\n margin-bottom: 0rem !important;\n }\n\n .sm\\:mb-1 {\n margin-bottom: 0.25rem !important;\n }\n\n .sm\\:mb-2 {\n margin-bottom: 0.5rem !important;\n }\n\n .sm\\:mb-3 {\n margin-bottom: 1rem !important;\n }\n\n .sm\\:mb-4 {\n margin-bottom: 1.5rem !important;\n }\n\n .sm\\:mb-5 {\n margin-bottom: 2rem !important;\n }\n\n .sm\\:mb-6 {\n margin-bottom: 3rem !important;\n }\n\n .sm\\:mb-7 {\n margin-bottom: 4rem !important;\n }\n\n .sm\\:mb-8 {\n margin-bottom: 5rem !important;\n }\n\n .sm\\:-mb-1 {\n margin-bottom: -0.25rem !important;\n }\n\n .sm\\:-mb-2 {\n margin-bottom: -0.5rem !important;\n }\n\n .sm\\:-mb-3 {\n margin-bottom: -1rem !important;\n }\n\n .sm\\:-mb-4 {\n margin-bottom: -1.5rem !important;\n }\n\n .sm\\:-mb-5 {\n margin-bottom: -2rem !important;\n }\n\n .sm\\:-mb-6 {\n margin-bottom: -3rem !important;\n }\n\n .sm\\:-mb-7 {\n margin-bottom: -4rem !important;\n }\n\n .sm\\:-mb-8 {\n margin-bottom: -5rem !important;\n }\n\n .sm\\:mb-auto {\n margin-bottom: auto !important;\n }\n\n .sm\\:mx-0 {\n margin-left: 0rem !important;\n margin-right: 0rem !important;\n }\n\n .sm\\:mx-1 {\n margin-left: 0.25rem !important;\n margin-right: 0.25rem !important;\n }\n\n .sm\\:mx-2 {\n margin-left: 0.5rem !important;\n margin-right: 0.5rem !important;\n }\n\n .sm\\:mx-3 {\n margin-left: 1rem !important;\n margin-right: 1rem !important;\n }\n\n .sm\\:mx-4 {\n margin-left: 1.5rem !important;\n margin-right: 1.5rem !important;\n }\n\n .sm\\:mx-5 {\n margin-left: 2rem !important;\n margin-right: 2rem !important;\n }\n\n .sm\\:mx-6 {\n margin-left: 3rem !important;\n margin-right: 3rem !important;\n }\n\n .sm\\:mx-7 {\n margin-left: 4rem !important;\n margin-right: 4rem !important;\n }\n\n .sm\\:mx-8 {\n margin-left: 5rem !important;\n margin-right: 5rem !important;\n }\n\n .sm\\:-mx-1 {\n margin-left: -0.25rem !important;\n margin-right: -0.25rem !important;\n }\n\n .sm\\:-mx-2 {\n margin-left: -0.5rem !important;\n margin-right: -0.5rem !important;\n }\n\n .sm\\:-mx-3 {\n margin-left: -1rem !important;\n margin-right: -1rem !important;\n }\n\n .sm\\:-mx-4 {\n margin-left: -1.5rem !important;\n margin-right: -1.5rem !important;\n }\n\n .sm\\:-mx-5 {\n margin-left: -2rem !important;\n margin-right: -2rem !important;\n }\n\n .sm\\:-mx-6 {\n margin-left: -3rem !important;\n margin-right: -3rem !important;\n }\n\n .sm\\:-mx-7 {\n margin-left: -4rem !important;\n margin-right: -4rem !important;\n }\n\n .sm\\:-mx-8 {\n margin-left: -5rem !important;\n margin-right: -5rem !important;\n }\n\n .sm\\:mx-auto {\n margin-left: auto !important;\n margin-right: auto !important;\n }\n\n .sm\\:my-0 {\n margin-top: 0rem !important;\n margin-bottom: 0rem !important;\n }\n\n .sm\\:my-1 {\n margin-top: 0.25rem !important;\n margin-bottom: 0.25rem !important;\n }\n\n .sm\\:my-2 {\n margin-top: 0.5rem !important;\n margin-bottom: 0.5rem !important;\n }\n\n .sm\\:my-3 {\n margin-top: 1rem !important;\n margin-bottom: 1rem !important;\n }\n\n .sm\\:my-4 {\n margin-top: 1.5rem !important;\n margin-bottom: 1.5rem !important;\n }\n\n .sm\\:my-5 {\n margin-top: 2rem !important;\n margin-bottom: 2rem !important;\n }\n\n .sm\\:my-6 {\n margin-top: 3rem !important;\n margin-bottom: 3rem !important;\n }\n\n .sm\\:my-7 {\n margin-top: 4rem !important;\n margin-bottom: 4rem !important;\n }\n\n .sm\\:my-8 {\n margin-top: 5rem !important;\n margin-bottom: 5rem !important;\n }\n\n .sm\\:-my-1 {\n margin-top: -0.25rem !important;\n margin-bottom: -0.25rem !important;\n }\n\n .sm\\:-my-2 {\n margin-top: -0.5rem !important;\n margin-bottom: -0.5rem !important;\n }\n\n .sm\\:-my-3 {\n margin-top: -1rem !important;\n margin-bottom: -1rem !important;\n }\n\n .sm\\:-my-4 {\n margin-top: -1.5rem !important;\n margin-bottom: -1.5rem !important;\n }\n\n .sm\\:-my-5 {\n margin-top: -2rem !important;\n margin-bottom: -2rem !important;\n }\n\n .sm\\:-my-6 {\n margin-top: -3rem !important;\n margin-bottom: -3rem !important;\n }\n\n .sm\\:-my-7 {\n margin-top: -4rem !important;\n margin-bottom: -4rem !important;\n }\n\n .sm\\:-my-8 {\n margin-top: -5rem !important;\n margin-bottom: -5rem !important;\n }\n\n .sm\\:my-auto {\n margin-top: auto !important;\n margin-bottom: auto !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:m-0 {\n margin: 0rem !important;\n }\n\n .md\\:m-1 {\n margin: 0.25rem !important;\n }\n\n .md\\:m-2 {\n margin: 0.5rem !important;\n }\n\n .md\\:m-3 {\n margin: 1rem !important;\n }\n\n .md\\:m-4 {\n margin: 1.5rem !important;\n }\n\n .md\\:m-5 {\n margin: 2rem !important;\n }\n\n .md\\:m-6 {\n margin: 3rem !important;\n }\n\n .md\\:m-7 {\n margin: 4rem !important;\n }\n\n .md\\:m-8 {\n margin: 5rem !important;\n }\n\n .md\\:-m-1 {\n margin: -0.25rem !important;\n }\n\n .md\\:-m-2 {\n margin: -0.5rem !important;\n }\n\n .md\\:-m-3 {\n margin: -1rem !important;\n }\n\n .md\\:-m-4 {\n margin: -1.5rem !important;\n }\n\n .md\\:-m-5 {\n margin: -2rem !important;\n }\n\n .md\\:-m-6 {\n margin: -3rem !important;\n }\n\n .md\\:-m-7 {\n margin: -4rem !important;\n }\n\n .md\\:-m-8 {\n margin: -5rem !important;\n }\n\n .md\\:m-auto {\n margin: auto !important;\n }\n\n .md\\:mt-0 {\n margin-top: 0rem !important;\n }\n\n .md\\:mt-1 {\n margin-top: 0.25rem !important;\n }\n\n .md\\:mt-2 {\n margin-top: 0.5rem !important;\n }\n\n .md\\:mt-3 {\n margin-top: 1rem !important;\n }\n\n .md\\:mt-4 {\n margin-top: 1.5rem !important;\n }\n\n .md\\:mt-5 {\n margin-top: 2rem !important;\n }\n\n .md\\:mt-6 {\n margin-top: 3rem !important;\n }\n\n .md\\:mt-7 {\n margin-top: 4rem !important;\n }\n\n .md\\:mt-8 {\n margin-top: 5rem !important;\n }\n\n .md\\:-mt-1 {\n margin-top: -0.25rem !important;\n }\n\n .md\\:-mt-2 {\n margin-top: -0.5rem !important;\n }\n\n .md\\:-mt-3 {\n margin-top: -1rem !important;\n }\n\n .md\\:-mt-4 {\n margin-top: -1.5rem !important;\n }\n\n .md\\:-mt-5 {\n margin-top: -2rem !important;\n }\n\n .md\\:-mt-6 {\n margin-top: -3rem !important;\n }\n\n .md\\:-mt-7 {\n margin-top: -4rem !important;\n }\n\n .md\\:-mt-8 {\n margin-top: -5rem !important;\n }\n\n .md\\:mt-auto {\n margin-top: auto !important;\n }\n\n .md\\:mr-0 {\n margin-right: 0rem !important;\n }\n\n .md\\:mr-1 {\n margin-right: 0.25rem !important;\n }\n\n .md\\:mr-2 {\n margin-right: 0.5rem !important;\n }\n\n .md\\:mr-3 {\n margin-right: 1rem !important;\n }\n\n .md\\:mr-4 {\n margin-right: 1.5rem !important;\n }\n\n .md\\:mr-5 {\n margin-right: 2rem !important;\n }\n\n .md\\:mr-6 {\n margin-right: 3rem !important;\n }\n\n .md\\:mr-7 {\n margin-right: 4rem !important;\n }\n\n .md\\:mr-8 {\n margin-right: 5rem !important;\n }\n\n .md\\:-mr-1 {\n margin-right: -0.25rem !important;\n }\n\n .md\\:-mr-2 {\n margin-right: -0.5rem !important;\n }\n\n .md\\:-mr-3 {\n margin-right: -1rem !important;\n }\n\n .md\\:-mr-4 {\n margin-right: -1.5rem !important;\n }\n\n .md\\:-mr-5 {\n margin-right: -2rem !important;\n }\n\n .md\\:-mr-6 {\n margin-right: -3rem !important;\n }\n\n .md\\:-mr-7 {\n margin-right: -4rem !important;\n }\n\n .md\\:-mr-8 {\n margin-right: -5rem !important;\n }\n\n .md\\:mr-auto {\n margin-right: auto !important;\n }\n\n .md\\:ml-0 {\n margin-left: 0rem !important;\n }\n\n .md\\:ml-1 {\n margin-left: 0.25rem !important;\n }\n\n .md\\:ml-2 {\n margin-left: 0.5rem !important;\n }\n\n .md\\:ml-3 {\n margin-left: 1rem !important;\n }\n\n .md\\:ml-4 {\n margin-left: 1.5rem !important;\n }\n\n .md\\:ml-5 {\n margin-left: 2rem !important;\n }\n\n .md\\:ml-6 {\n margin-left: 3rem !important;\n }\n\n .md\\:ml-7 {\n margin-left: 4rem !important;\n }\n\n .md\\:ml-8 {\n margin-left: 5rem !important;\n }\n\n .md\\:-ml-1 {\n margin-left: -0.25rem !important;\n }\n\n .md\\:-ml-2 {\n margin-left: -0.5rem !important;\n }\n\n .md\\:-ml-3 {\n margin-left: -1rem !important;\n }\n\n .md\\:-ml-4 {\n margin-left: -1.5rem !important;\n }\n\n .md\\:-ml-5 {\n margin-left: -2rem !important;\n }\n\n .md\\:-ml-6 {\n margin-left: -3rem !important;\n }\n\n .md\\:-ml-7 {\n margin-left: -4rem !important;\n }\n\n .md\\:-ml-8 {\n margin-left: -5rem !important;\n }\n\n .md\\:ml-auto {\n margin-left: auto !important;\n }\n\n .md\\:mb-0 {\n margin-bottom: 0rem !important;\n }\n\n .md\\:mb-1 {\n margin-bottom: 0.25rem !important;\n }\n\n .md\\:mb-2 {\n margin-bottom: 0.5rem !important;\n }\n\n .md\\:mb-3 {\n margin-bottom: 1rem !important;\n }\n\n .md\\:mb-4 {\n margin-bottom: 1.5rem !important;\n }\n\n .md\\:mb-5 {\n margin-bottom: 2rem !important;\n }\n\n .md\\:mb-6 {\n margin-bottom: 3rem !important;\n }\n\n .md\\:mb-7 {\n margin-bottom: 4rem !important;\n }\n\n .md\\:mb-8 {\n margin-bottom: 5rem !important;\n }\n\n .md\\:-mb-1 {\n margin-bottom: -0.25rem !important;\n }\n\n .md\\:-mb-2 {\n margin-bottom: -0.5rem !important;\n }\n\n .md\\:-mb-3 {\n margin-bottom: -1rem !important;\n }\n\n .md\\:-mb-4 {\n margin-bottom: -1.5rem !important;\n }\n\n .md\\:-mb-5 {\n margin-bottom: -2rem !important;\n }\n\n .md\\:-mb-6 {\n margin-bottom: -3rem !important;\n }\n\n .md\\:-mb-7 {\n margin-bottom: -4rem !important;\n }\n\n .md\\:-mb-8 {\n margin-bottom: -5rem !important;\n }\n\n .md\\:mb-auto {\n margin-bottom: auto !important;\n }\n\n .md\\:mx-0 {\n margin-left: 0rem !important;\n margin-right: 0rem !important;\n }\n\n .md\\:mx-1 {\n margin-left: 0.25rem !important;\n margin-right: 0.25rem !important;\n }\n\n .md\\:mx-2 {\n margin-left: 0.5rem !important;\n margin-right: 0.5rem !important;\n }\n\n .md\\:mx-3 {\n margin-left: 1rem !important;\n margin-right: 1rem !important;\n }\n\n .md\\:mx-4 {\n margin-left: 1.5rem !important;\n margin-right: 1.5rem !important;\n }\n\n .md\\:mx-5 {\n margin-left: 2rem !important;\n margin-right: 2rem !important;\n }\n\n .md\\:mx-6 {\n margin-left: 3rem !important;\n margin-right: 3rem !important;\n }\n\n .md\\:mx-7 {\n margin-left: 4rem !important;\n margin-right: 4rem !important;\n }\n\n .md\\:mx-8 {\n margin-left: 5rem !important;\n margin-right: 5rem !important;\n }\n\n .md\\:-mx-1 {\n margin-left: -0.25rem !important;\n margin-right: -0.25rem !important;\n }\n\n .md\\:-mx-2 {\n margin-left: -0.5rem !important;\n margin-right: -0.5rem !important;\n }\n\n .md\\:-mx-3 {\n margin-left: -1rem !important;\n margin-right: -1rem !important;\n }\n\n .md\\:-mx-4 {\n margin-left: -1.5rem !important;\n margin-right: -1.5rem !important;\n }\n\n .md\\:-mx-5 {\n margin-left: -2rem !important;\n margin-right: -2rem !important;\n }\n\n .md\\:-mx-6 {\n margin-left: -3rem !important;\n margin-right: -3rem !important;\n }\n\n .md\\:-mx-7 {\n margin-left: -4rem !important;\n margin-right: -4rem !important;\n }\n\n .md\\:-mx-8 {\n margin-left: -5rem !important;\n margin-right: -5rem !important;\n }\n\n .md\\:mx-auto {\n margin-left: auto !important;\n margin-right: auto !important;\n }\n\n .md\\:my-0 {\n margin-top: 0rem !important;\n margin-bottom: 0rem !important;\n }\n\n .md\\:my-1 {\n margin-top: 0.25rem !important;\n margin-bottom: 0.25rem !important;\n }\n\n .md\\:my-2 {\n margin-top: 0.5rem !important;\n margin-bottom: 0.5rem !important;\n }\n\n .md\\:my-3 {\n margin-top: 1rem !important;\n margin-bottom: 1rem !important;\n }\n\n .md\\:my-4 {\n margin-top: 1.5rem !important;\n margin-bottom: 1.5rem !important;\n }\n\n .md\\:my-5 {\n margin-top: 2rem !important;\n margin-bottom: 2rem !important;\n }\n\n .md\\:my-6 {\n margin-top: 3rem !important;\n margin-bottom: 3rem !important;\n }\n\n .md\\:my-7 {\n margin-top: 4rem !important;\n margin-bottom: 4rem !important;\n }\n\n .md\\:my-8 {\n margin-top: 5rem !important;\n margin-bottom: 5rem !important;\n }\n\n .md\\:-my-1 {\n margin-top: -0.25rem !important;\n margin-bottom: -0.25rem !important;\n }\n\n .md\\:-my-2 {\n margin-top: -0.5rem !important;\n margin-bottom: -0.5rem !important;\n }\n\n .md\\:-my-3 {\n margin-top: -1rem !important;\n margin-bottom: -1rem !important;\n }\n\n .md\\:-my-4 {\n margin-top: -1.5rem !important;\n margin-bottom: -1.5rem !important;\n }\n\n .md\\:-my-5 {\n margin-top: -2rem !important;\n margin-bottom: -2rem !important;\n }\n\n .md\\:-my-6 {\n margin-top: -3rem !important;\n margin-bottom: -3rem !important;\n }\n\n .md\\:-my-7 {\n margin-top: -4rem !important;\n margin-bottom: -4rem !important;\n }\n\n .md\\:-my-8 {\n margin-top: -5rem !important;\n margin-bottom: -5rem !important;\n }\n\n .md\\:my-auto {\n margin-top: auto !important;\n margin-bottom: auto !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:m-0 {\n margin: 0rem !important;\n }\n\n .lg\\:m-1 {\n margin: 0.25rem !important;\n }\n\n .lg\\:m-2 {\n margin: 0.5rem !important;\n }\n\n .lg\\:m-3 {\n margin: 1rem !important;\n }\n\n .lg\\:m-4 {\n margin: 1.5rem !important;\n }\n\n .lg\\:m-5 {\n margin: 2rem !important;\n }\n\n .lg\\:m-6 {\n margin: 3rem !important;\n }\n\n .lg\\:m-7 {\n margin: 4rem !important;\n }\n\n .lg\\:m-8 {\n margin: 5rem !important;\n }\n\n .lg\\:-m-1 {\n margin: -0.25rem !important;\n }\n\n .lg\\:-m-2 {\n margin: -0.5rem !important;\n }\n\n .lg\\:-m-3 {\n margin: -1rem !important;\n }\n\n .lg\\:-m-4 {\n margin: -1.5rem !important;\n }\n\n .lg\\:-m-5 {\n margin: -2rem !important;\n }\n\n .lg\\:-m-6 {\n margin: -3rem !important;\n }\n\n .lg\\:-m-7 {\n margin: -4rem !important;\n }\n\n .lg\\:-m-8 {\n margin: -5rem !important;\n }\n\n .lg\\:m-auto {\n margin: auto !important;\n }\n\n .lg\\:mt-0 {\n margin-top: 0rem !important;\n }\n\n .lg\\:mt-1 {\n margin-top: 0.25rem !important;\n }\n\n .lg\\:mt-2 {\n margin-top: 0.5rem !important;\n }\n\n .lg\\:mt-3 {\n margin-top: 1rem !important;\n }\n\n .lg\\:mt-4 {\n margin-top: 1.5rem !important;\n }\n\n .lg\\:mt-5 {\n margin-top: 2rem !important;\n }\n\n .lg\\:mt-6 {\n margin-top: 3rem !important;\n }\n\n .lg\\:mt-7 {\n margin-top: 4rem !important;\n }\n\n .lg\\:mt-8 {\n margin-top: 5rem !important;\n }\n\n .lg\\:-mt-1 {\n margin-top: -0.25rem !important;\n }\n\n .lg\\:-mt-2 {\n margin-top: -0.5rem !important;\n }\n\n .lg\\:-mt-3 {\n margin-top: -1rem !important;\n }\n\n .lg\\:-mt-4 {\n margin-top: -1.5rem !important;\n }\n\n .lg\\:-mt-5 {\n margin-top: -2rem !important;\n }\n\n .lg\\:-mt-6 {\n margin-top: -3rem !important;\n }\n\n .lg\\:-mt-7 {\n margin-top: -4rem !important;\n }\n\n .lg\\:-mt-8 {\n margin-top: -5rem !important;\n }\n\n .lg\\:mt-auto {\n margin-top: auto !important;\n }\n\n .lg\\:mr-0 {\n margin-right: 0rem !important;\n }\n\n .lg\\:mr-1 {\n margin-right: 0.25rem !important;\n }\n\n .lg\\:mr-2 {\n margin-right: 0.5rem !important;\n }\n\n .lg\\:mr-3 {\n margin-right: 1rem !important;\n }\n\n .lg\\:mr-4 {\n margin-right: 1.5rem !important;\n }\n\n .lg\\:mr-5 {\n margin-right: 2rem !important;\n }\n\n .lg\\:mr-6 {\n margin-right: 3rem !important;\n }\n\n .lg\\:mr-7 {\n margin-right: 4rem !important;\n }\n\n .lg\\:mr-8 {\n margin-right: 5rem !important;\n }\n\n .lg\\:-mr-1 {\n margin-right: -0.25rem !important;\n }\n\n .lg\\:-mr-2 {\n margin-right: -0.5rem !important;\n }\n\n .lg\\:-mr-3 {\n margin-right: -1rem !important;\n }\n\n .lg\\:-mr-4 {\n margin-right: -1.5rem !important;\n }\n\n .lg\\:-mr-5 {\n margin-right: -2rem !important;\n }\n\n .lg\\:-mr-6 {\n margin-right: -3rem !important;\n }\n\n .lg\\:-mr-7 {\n margin-right: -4rem !important;\n }\n\n .lg\\:-mr-8 {\n margin-right: -5rem !important;\n }\n\n .lg\\:mr-auto {\n margin-right: auto !important;\n }\n\n .lg\\:ml-0 {\n margin-left: 0rem !important;\n }\n\n .lg\\:ml-1 {\n margin-left: 0.25rem !important;\n }\n\n .lg\\:ml-2 {\n margin-left: 0.5rem !important;\n }\n\n .lg\\:ml-3 {\n margin-left: 1rem !important;\n }\n\n .lg\\:ml-4 {\n margin-left: 1.5rem !important;\n }\n\n .lg\\:ml-5 {\n margin-left: 2rem !important;\n }\n\n .lg\\:ml-6 {\n margin-left: 3rem !important;\n }\n\n .lg\\:ml-7 {\n margin-left: 4rem !important;\n }\n\n .lg\\:ml-8 {\n margin-left: 5rem !important;\n }\n\n .lg\\:-ml-1 {\n margin-left: -0.25rem !important;\n }\n\n .lg\\:-ml-2 {\n margin-left: -0.5rem !important;\n }\n\n .lg\\:-ml-3 {\n margin-left: -1rem !important;\n }\n\n .lg\\:-ml-4 {\n margin-left: -1.5rem !important;\n }\n\n .lg\\:-ml-5 {\n margin-left: -2rem !important;\n }\n\n .lg\\:-ml-6 {\n margin-left: -3rem !important;\n }\n\n .lg\\:-ml-7 {\n margin-left: -4rem !important;\n }\n\n .lg\\:-ml-8 {\n margin-left: -5rem !important;\n }\n\n .lg\\:ml-auto {\n margin-left: auto !important;\n }\n\n .lg\\:mb-0 {\n margin-bottom: 0rem !important;\n }\n\n .lg\\:mb-1 {\n margin-bottom: 0.25rem !important;\n }\n\n .lg\\:mb-2 {\n margin-bottom: 0.5rem !important;\n }\n\n .lg\\:mb-3 {\n margin-bottom: 1rem !important;\n }\n\n .lg\\:mb-4 {\n margin-bottom: 1.5rem !important;\n }\n\n .lg\\:mb-5 {\n margin-bottom: 2rem !important;\n }\n\n .lg\\:mb-6 {\n margin-bottom: 3rem !important;\n }\n\n .lg\\:mb-7 {\n margin-bottom: 4rem !important;\n }\n\n .lg\\:mb-8 {\n margin-bottom: 5rem !important;\n }\n\n .lg\\:-mb-1 {\n margin-bottom: -0.25rem !important;\n }\n\n .lg\\:-mb-2 {\n margin-bottom: -0.5rem !important;\n }\n\n .lg\\:-mb-3 {\n margin-bottom: -1rem !important;\n }\n\n .lg\\:-mb-4 {\n margin-bottom: -1.5rem !important;\n }\n\n .lg\\:-mb-5 {\n margin-bottom: -2rem !important;\n }\n\n .lg\\:-mb-6 {\n margin-bottom: -3rem !important;\n }\n\n .lg\\:-mb-7 {\n margin-bottom: -4rem !important;\n }\n\n .lg\\:-mb-8 {\n margin-bottom: -5rem !important;\n }\n\n .lg\\:mb-auto {\n margin-bottom: auto !important;\n }\n\n .lg\\:mx-0 {\n margin-left: 0rem !important;\n margin-right: 0rem !important;\n }\n\n .lg\\:mx-1 {\n margin-left: 0.25rem !important;\n margin-right: 0.25rem !important;\n }\n\n .lg\\:mx-2 {\n margin-left: 0.5rem !important;\n margin-right: 0.5rem !important;\n }\n\n .lg\\:mx-3 {\n margin-left: 1rem !important;\n margin-right: 1rem !important;\n }\n\n .lg\\:mx-4 {\n margin-left: 1.5rem !important;\n margin-right: 1.5rem !important;\n }\n\n .lg\\:mx-5 {\n margin-left: 2rem !important;\n margin-right: 2rem !important;\n }\n\n .lg\\:mx-6 {\n margin-left: 3rem !important;\n margin-right: 3rem !important;\n }\n\n .lg\\:mx-7 {\n margin-left: 4rem !important;\n margin-right: 4rem !important;\n }\n\n .lg\\:mx-8 {\n margin-left: 5rem !important;\n margin-right: 5rem !important;\n }\n\n .lg\\:-mx-1 {\n margin-left: -0.25rem !important;\n margin-right: -0.25rem !important;\n }\n\n .lg\\:-mx-2 {\n margin-left: -0.5rem !important;\n margin-right: -0.5rem !important;\n }\n\n .lg\\:-mx-3 {\n margin-left: -1rem !important;\n margin-right: -1rem !important;\n }\n\n .lg\\:-mx-4 {\n margin-left: -1.5rem !important;\n margin-right: -1.5rem !important;\n }\n\n .lg\\:-mx-5 {\n margin-left: -2rem !important;\n margin-right: -2rem !important;\n }\n\n .lg\\:-mx-6 {\n margin-left: -3rem !important;\n margin-right: -3rem !important;\n }\n\n .lg\\:-mx-7 {\n margin-left: -4rem !important;\n margin-right: -4rem !important;\n }\n\n .lg\\:-mx-8 {\n margin-left: -5rem !important;\n margin-right: -5rem !important;\n }\n\n .lg\\:mx-auto {\n margin-left: auto !important;\n margin-right: auto !important;\n }\n\n .lg\\:my-0 {\n margin-top: 0rem !important;\n margin-bottom: 0rem !important;\n }\n\n .lg\\:my-1 {\n margin-top: 0.25rem !important;\n margin-bottom: 0.25rem !important;\n }\n\n .lg\\:my-2 {\n margin-top: 0.5rem !important;\n margin-bottom: 0.5rem !important;\n }\n\n .lg\\:my-3 {\n margin-top: 1rem !important;\n margin-bottom: 1rem !important;\n }\n\n .lg\\:my-4 {\n margin-top: 1.5rem !important;\n margin-bottom: 1.5rem !important;\n }\n\n .lg\\:my-5 {\n margin-top: 2rem !important;\n margin-bottom: 2rem !important;\n }\n\n .lg\\:my-6 {\n margin-top: 3rem !important;\n margin-bottom: 3rem !important;\n }\n\n .lg\\:my-7 {\n margin-top: 4rem !important;\n margin-bottom: 4rem !important;\n }\n\n .lg\\:my-8 {\n margin-top: 5rem !important;\n margin-bottom: 5rem !important;\n }\n\n .lg\\:-my-1 {\n margin-top: -0.25rem !important;\n margin-bottom: -0.25rem !important;\n }\n\n .lg\\:-my-2 {\n margin-top: -0.5rem !important;\n margin-bottom: -0.5rem !important;\n }\n\n .lg\\:-my-3 {\n margin-top: -1rem !important;\n margin-bottom: -1rem !important;\n }\n\n .lg\\:-my-4 {\n margin-top: -1.5rem !important;\n margin-bottom: -1.5rem !important;\n }\n\n .lg\\:-my-5 {\n margin-top: -2rem !important;\n margin-bottom: -2rem !important;\n }\n\n .lg\\:-my-6 {\n margin-top: -3rem !important;\n margin-bottom: -3rem !important;\n }\n\n .lg\\:-my-7 {\n margin-top: -4rem !important;\n margin-bottom: -4rem !important;\n }\n\n .lg\\:-my-8 {\n margin-top: -5rem !important;\n margin-bottom: -5rem !important;\n }\n\n .lg\\:my-auto {\n margin-top: auto !important;\n margin-bottom: auto !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:m-0 {\n margin: 0rem !important;\n }\n\n .xl\\:m-1 {\n margin: 0.25rem !important;\n }\n\n .xl\\:m-2 {\n margin: 0.5rem !important;\n }\n\n .xl\\:m-3 {\n margin: 1rem !important;\n }\n\n .xl\\:m-4 {\n margin: 1.5rem !important;\n }\n\n .xl\\:m-5 {\n margin: 2rem !important;\n }\n\n .xl\\:m-6 {\n margin: 3rem !important;\n }\n\n .xl\\:m-7 {\n margin: 4rem !important;\n }\n\n .xl\\:m-8 {\n margin: 5rem !important;\n }\n\n .xl\\:-m-1 {\n margin: -0.25rem !important;\n }\n\n .xl\\:-m-2 {\n margin: -0.5rem !important;\n }\n\n .xl\\:-m-3 {\n margin: -1rem !important;\n }\n\n .xl\\:-m-4 {\n margin: -1.5rem !important;\n }\n\n .xl\\:-m-5 {\n margin: -2rem !important;\n }\n\n .xl\\:-m-6 {\n margin: -3rem !important;\n }\n\n .xl\\:-m-7 {\n margin: -4rem !important;\n }\n\n .xl\\:-m-8 {\n margin: -5rem !important;\n }\n\n .xl\\:m-auto {\n margin: auto !important;\n }\n\n .xl\\:mt-0 {\n margin-top: 0rem !important;\n }\n\n .xl\\:mt-1 {\n margin-top: 0.25rem !important;\n }\n\n .xl\\:mt-2 {\n margin-top: 0.5rem !important;\n }\n\n .xl\\:mt-3 {\n margin-top: 1rem !important;\n }\n\n .xl\\:mt-4 {\n margin-top: 1.5rem !important;\n }\n\n .xl\\:mt-5 {\n margin-top: 2rem !important;\n }\n\n .xl\\:mt-6 {\n margin-top: 3rem !important;\n }\n\n .xl\\:mt-7 {\n margin-top: 4rem !important;\n }\n\n .xl\\:mt-8 {\n margin-top: 5rem !important;\n }\n\n .xl\\:-mt-1 {\n margin-top: -0.25rem !important;\n }\n\n .xl\\:-mt-2 {\n margin-top: -0.5rem !important;\n }\n\n .xl\\:-mt-3 {\n margin-top: -1rem !important;\n }\n\n .xl\\:-mt-4 {\n margin-top: -1.5rem !important;\n }\n\n .xl\\:-mt-5 {\n margin-top: -2rem !important;\n }\n\n .xl\\:-mt-6 {\n margin-top: -3rem !important;\n }\n\n .xl\\:-mt-7 {\n margin-top: -4rem !important;\n }\n\n .xl\\:-mt-8 {\n margin-top: -5rem !important;\n }\n\n .xl\\:mt-auto {\n margin-top: auto !important;\n }\n\n .xl\\:mr-0 {\n margin-right: 0rem !important;\n }\n\n .xl\\:mr-1 {\n margin-right: 0.25rem !important;\n }\n\n .xl\\:mr-2 {\n margin-right: 0.5rem !important;\n }\n\n .xl\\:mr-3 {\n margin-right: 1rem !important;\n }\n\n .xl\\:mr-4 {\n margin-right: 1.5rem !important;\n }\n\n .xl\\:mr-5 {\n margin-right: 2rem !important;\n }\n\n .xl\\:mr-6 {\n margin-right: 3rem !important;\n }\n\n .xl\\:mr-7 {\n margin-right: 4rem !important;\n }\n\n .xl\\:mr-8 {\n margin-right: 5rem !important;\n }\n\n .xl\\:-mr-1 {\n margin-right: -0.25rem !important;\n }\n\n .xl\\:-mr-2 {\n margin-right: -0.5rem !important;\n }\n\n .xl\\:-mr-3 {\n margin-right: -1rem !important;\n }\n\n .xl\\:-mr-4 {\n margin-right: -1.5rem !important;\n }\n\n .xl\\:-mr-5 {\n margin-right: -2rem !important;\n }\n\n .xl\\:-mr-6 {\n margin-right: -3rem !important;\n }\n\n .xl\\:-mr-7 {\n margin-right: -4rem !important;\n }\n\n .xl\\:-mr-8 {\n margin-right: -5rem !important;\n }\n\n .xl\\:mr-auto {\n margin-right: auto !important;\n }\n\n .xl\\:ml-0 {\n margin-left: 0rem !important;\n }\n\n .xl\\:ml-1 {\n margin-left: 0.25rem !important;\n }\n\n .xl\\:ml-2 {\n margin-left: 0.5rem !important;\n }\n\n .xl\\:ml-3 {\n margin-left: 1rem !important;\n }\n\n .xl\\:ml-4 {\n margin-left: 1.5rem !important;\n }\n\n .xl\\:ml-5 {\n margin-left: 2rem !important;\n }\n\n .xl\\:ml-6 {\n margin-left: 3rem !important;\n }\n\n .xl\\:ml-7 {\n margin-left: 4rem !important;\n }\n\n .xl\\:ml-8 {\n margin-left: 5rem !important;\n }\n\n .xl\\:-ml-1 {\n margin-left: -0.25rem !important;\n }\n\n .xl\\:-ml-2 {\n margin-left: -0.5rem !important;\n }\n\n .xl\\:-ml-3 {\n margin-left: -1rem !important;\n }\n\n .xl\\:-ml-4 {\n margin-left: -1.5rem !important;\n }\n\n .xl\\:-ml-5 {\n margin-left: -2rem !important;\n }\n\n .xl\\:-ml-6 {\n margin-left: -3rem !important;\n }\n\n .xl\\:-ml-7 {\n margin-left: -4rem !important;\n }\n\n .xl\\:-ml-8 {\n margin-left: -5rem !important;\n }\n\n .xl\\:ml-auto {\n margin-left: auto !important;\n }\n\n .xl\\:mb-0 {\n margin-bottom: 0rem !important;\n }\n\n .xl\\:mb-1 {\n margin-bottom: 0.25rem !important;\n }\n\n .xl\\:mb-2 {\n margin-bottom: 0.5rem !important;\n }\n\n .xl\\:mb-3 {\n margin-bottom: 1rem !important;\n }\n\n .xl\\:mb-4 {\n margin-bottom: 1.5rem !important;\n }\n\n .xl\\:mb-5 {\n margin-bottom: 2rem !important;\n }\n\n .xl\\:mb-6 {\n margin-bottom: 3rem !important;\n }\n\n .xl\\:mb-7 {\n margin-bottom: 4rem !important;\n }\n\n .xl\\:mb-8 {\n margin-bottom: 5rem !important;\n }\n\n .xl\\:-mb-1 {\n margin-bottom: -0.25rem !important;\n }\n\n .xl\\:-mb-2 {\n margin-bottom: -0.5rem !important;\n }\n\n .xl\\:-mb-3 {\n margin-bottom: -1rem !important;\n }\n\n .xl\\:-mb-4 {\n margin-bottom: -1.5rem !important;\n }\n\n .xl\\:-mb-5 {\n margin-bottom: -2rem !important;\n }\n\n .xl\\:-mb-6 {\n margin-bottom: -3rem !important;\n }\n\n .xl\\:-mb-7 {\n margin-bottom: -4rem !important;\n }\n\n .xl\\:-mb-8 {\n margin-bottom: -5rem !important;\n }\n\n .xl\\:mb-auto {\n margin-bottom: auto !important;\n }\n\n .xl\\:mx-0 {\n margin-left: 0rem !important;\n margin-right: 0rem !important;\n }\n\n .xl\\:mx-1 {\n margin-left: 0.25rem !important;\n margin-right: 0.25rem !important;\n }\n\n .xl\\:mx-2 {\n margin-left: 0.5rem !important;\n margin-right: 0.5rem !important;\n }\n\n .xl\\:mx-3 {\n margin-left: 1rem !important;\n margin-right: 1rem !important;\n }\n\n .xl\\:mx-4 {\n margin-left: 1.5rem !important;\n margin-right: 1.5rem !important;\n }\n\n .xl\\:mx-5 {\n margin-left: 2rem !important;\n margin-right: 2rem !important;\n }\n\n .xl\\:mx-6 {\n margin-left: 3rem !important;\n margin-right: 3rem !important;\n }\n\n .xl\\:mx-7 {\n margin-left: 4rem !important;\n margin-right: 4rem !important;\n }\n\n .xl\\:mx-8 {\n margin-left: 5rem !important;\n margin-right: 5rem !important;\n }\n\n .xl\\:-mx-1 {\n margin-left: -0.25rem !important;\n margin-right: -0.25rem !important;\n }\n\n .xl\\:-mx-2 {\n margin-left: -0.5rem !important;\n margin-right: -0.5rem !important;\n }\n\n .xl\\:-mx-3 {\n margin-left: -1rem !important;\n margin-right: -1rem !important;\n }\n\n .xl\\:-mx-4 {\n margin-left: -1.5rem !important;\n margin-right: -1.5rem !important;\n }\n\n .xl\\:-mx-5 {\n margin-left: -2rem !important;\n margin-right: -2rem !important;\n }\n\n .xl\\:-mx-6 {\n margin-left: -3rem !important;\n margin-right: -3rem !important;\n }\n\n .xl\\:-mx-7 {\n margin-left: -4rem !important;\n margin-right: -4rem !important;\n }\n\n .xl\\:-mx-8 {\n margin-left: -5rem !important;\n margin-right: -5rem !important;\n }\n\n .xl\\:mx-auto {\n margin-left: auto !important;\n margin-right: auto !important;\n }\n\n .xl\\:my-0 {\n margin-top: 0rem !important;\n margin-bottom: 0rem !important;\n }\n\n .xl\\:my-1 {\n margin-top: 0.25rem !important;\n margin-bottom: 0.25rem !important;\n }\n\n .xl\\:my-2 {\n margin-top: 0.5rem !important;\n margin-bottom: 0.5rem !important;\n }\n\n .xl\\:my-3 {\n margin-top: 1rem !important;\n margin-bottom: 1rem !important;\n }\n\n .xl\\:my-4 {\n margin-top: 1.5rem !important;\n margin-bottom: 1.5rem !important;\n }\n\n .xl\\:my-5 {\n margin-top: 2rem !important;\n margin-bottom: 2rem !important;\n }\n\n .xl\\:my-6 {\n margin-top: 3rem !important;\n margin-bottom: 3rem !important;\n }\n\n .xl\\:my-7 {\n margin-top: 4rem !important;\n margin-bottom: 4rem !important;\n }\n\n .xl\\:my-8 {\n margin-top: 5rem !important;\n margin-bottom: 5rem !important;\n }\n\n .xl\\:-my-1 {\n margin-top: -0.25rem !important;\n margin-bottom: -0.25rem !important;\n }\n\n .xl\\:-my-2 {\n margin-top: -0.5rem !important;\n margin-bottom: -0.5rem !important;\n }\n\n .xl\\:-my-3 {\n margin-top: -1rem !important;\n margin-bottom: -1rem !important;\n }\n\n .xl\\:-my-4 {\n margin-top: -1.5rem !important;\n margin-bottom: -1.5rem !important;\n }\n\n .xl\\:-my-5 {\n margin-top: -2rem !important;\n margin-bottom: -2rem !important;\n }\n\n .xl\\:-my-6 {\n margin-top: -3rem !important;\n margin-bottom: -3rem !important;\n }\n\n .xl\\:-my-7 {\n margin-top: -4rem !important;\n margin-bottom: -4rem !important;\n }\n\n .xl\\:-my-8 {\n margin-top: -5rem !important;\n margin-bottom: -5rem !important;\n }\n\n .xl\\:my-auto {\n margin-top: auto !important;\n margin-bottom: auto !important;\n }\n}\n.shadow-none {\n box-shadow: none !important;\n}\n\n.shadow-1 {\n box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.02), 0px 0px 2px rgba(0, 0, 0, 0.05), 0px 1px 4px rgba(0, 0, 0, 0.08) !important;\n}\n\n.shadow-2 {\n box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.03), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 2px 6px rgba(0, 0, 0, 0.12) !important;\n}\n\n.shadow-3 {\n box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.08), 0px 3px 4px rgba(0, 0, 0, 0.1), 0px 1px 4px -1px rgba(0, 0, 0, 0.1) !important;\n}\n\n.shadow-4 {\n box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.12), 0px 4px 5px rgba(0, 0, 0, 0.14), 0px 2px 4px -1px rgba(0, 0, 0, 0.2) !important;\n}\n\n.shadow-5 {\n box-shadow: 0px 1px 7px rgba(0, 0, 0, 0.1), 0px 4px 5px -2px rgba(0, 0, 0, 0.12), 0px 10px 15px -5px rgba(0, 0, 0, 0.2) !important;\n}\n\n.shadow-6 {\n box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.06), 0px 7px 9px rgba(0, 0, 0, 0.12), 0px 20px 25px -8px rgba(0, 0, 0, 0.18) !important;\n}\n\n.shadow-7 {\n box-shadow: 0px 7px 30px rgba(0, 0, 0, 0.08), 0px 22px 30px 2px rgba(0, 0, 0, 0.15), 0px 8px 10px rgba(0, 0, 0, 0.15) !important;\n}\n\n.shadow-8 {\n box-shadow: 0px 9px 46px 8px rgba(0, 0, 0, 0.12), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 11px 15px rgba(0, 0, 0, 0.2) !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:shadow-none {\n box-shadow: none !important;\n }\n .sm\\:shadow-1 {\n box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.02), 0px 0px 2px rgba(0, 0, 0, 0.05), 0px 1px 4px rgba(0, 0, 0, 0.08) !important;\n }\n .sm\\:shadow-2 {\n box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.03), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 2px 6px rgba(0, 0, 0, 0.12) !important;\n }\n .sm\\:shadow-3 {\n box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.08), 0px 3px 4px rgba(0, 0, 0, 0.1), 0px 1px 4px -1px rgba(0, 0, 0, 0.1) !important;\n }\n .sm\\:shadow-4 {\n box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.12), 0px 4px 5px rgba(0, 0, 0, 0.14), 0px 2px 4px -1px rgba(0, 0, 0, 0.2) !important;\n }\n .sm\\:shadow-5 {\n box-shadow: 0px 1px 7px rgba(0, 0, 0, 0.1), 0px 4px 5px -2px rgba(0, 0, 0, 0.12), 0px 10px 15px -5px rgba(0, 0, 0, 0.2) !important;\n }\n .sm\\:shadow-6 {\n box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.06), 0px 7px 9px rgba(0, 0, 0, 0.12), 0px 20px 25px -8px rgba(0, 0, 0, 0.18) !important;\n }\n .sm\\:shadow-7 {\n box-shadow: 0px 7px 30px rgba(0, 0, 0, 0.08), 0px 22px 30px 2px rgba(0, 0, 0, 0.15), 0px 8px 10px rgba(0, 0, 0, 0.15) !important;\n }\n .sm\\:shadow-8 {\n box-shadow: 0px 9px 46px 8px rgba(0, 0, 0, 0.12), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 11px 15px rgba(0, 0, 0, 0.2) !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:shadow-none {\n box-shadow: none !important;\n }\n .md\\:shadow-1 {\n box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.02), 0px 0px 2px rgba(0, 0, 0, 0.05), 0px 1px 4px rgba(0, 0, 0, 0.08) !important;\n }\n .md\\:shadow-2 {\n box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.03), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 2px 6px rgba(0, 0, 0, 0.12) !important;\n }\n .md\\:shadow-3 {\n box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.08), 0px 3px 4px rgba(0, 0, 0, 0.1), 0px 1px 4px -1px rgba(0, 0, 0, 0.1) !important;\n }\n .md\\:shadow-4 {\n box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.12), 0px 4px 5px rgba(0, 0, 0, 0.14), 0px 2px 4px -1px rgba(0, 0, 0, 0.2) !important;\n }\n .md\\:shadow-5 {\n box-shadow: 0px 1px 7px rgba(0, 0, 0, 0.1), 0px 4px 5px -2px rgba(0, 0, 0, 0.12), 0px 10px 15px -5px rgba(0, 0, 0, 0.2) !important;\n }\n .md\\:shadow-6 {\n box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.06), 0px 7px 9px rgba(0, 0, 0, 0.12), 0px 20px 25px -8px rgba(0, 0, 0, 0.18) !important;\n }\n .md\\:shadow-7 {\n box-shadow: 0px 7px 30px rgba(0, 0, 0, 0.08), 0px 22px 30px 2px rgba(0, 0, 0, 0.15), 0px 8px 10px rgba(0, 0, 0, 0.15) !important;\n }\n .md\\:shadow-8 {\n box-shadow: 0px 9px 46px 8px rgba(0, 0, 0, 0.12), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 11px 15px rgba(0, 0, 0, 0.2) !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:shadow-none {\n box-shadow: none !important;\n }\n .lg\\:shadow-1 {\n box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.02), 0px 0px 2px rgba(0, 0, 0, 0.05), 0px 1px 4px rgba(0, 0, 0, 0.08) !important;\n }\n .lg\\:shadow-2 {\n box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.03), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 2px 6px rgba(0, 0, 0, 0.12) !important;\n }\n .lg\\:shadow-3 {\n box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.08), 0px 3px 4px rgba(0, 0, 0, 0.1), 0px 1px 4px -1px rgba(0, 0, 0, 0.1) !important;\n }\n .lg\\:shadow-4 {\n box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.12), 0px 4px 5px rgba(0, 0, 0, 0.14), 0px 2px 4px -1px rgba(0, 0, 0, 0.2) !important;\n }\n .lg\\:shadow-5 {\n box-shadow: 0px 1px 7px rgba(0, 0, 0, 0.1), 0px 4px 5px -2px rgba(0, 0, 0, 0.12), 0px 10px 15px -5px rgba(0, 0, 0, 0.2) !important;\n }\n .lg\\:shadow-6 {\n box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.06), 0px 7px 9px rgba(0, 0, 0, 0.12), 0px 20px 25px -8px rgba(0, 0, 0, 0.18) !important;\n }\n .lg\\:shadow-7 {\n box-shadow: 0px 7px 30px rgba(0, 0, 0, 0.08), 0px 22px 30px 2px rgba(0, 0, 0, 0.15), 0px 8px 10px rgba(0, 0, 0, 0.15) !important;\n }\n .lg\\:shadow-8 {\n box-shadow: 0px 9px 46px 8px rgba(0, 0, 0, 0.12), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 11px 15px rgba(0, 0, 0, 0.2) !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:shadow-none {\n box-shadow: none !important;\n }\n .xl\\:shadow-1 {\n box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.02), 0px 0px 2px rgba(0, 0, 0, 0.05), 0px 1px 4px rgba(0, 0, 0, 0.08) !important;\n }\n .xl\\:shadow-2 {\n box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.03), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 2px 6px rgba(0, 0, 0, 0.12) !important;\n }\n .xl\\:shadow-3 {\n box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.08), 0px 3px 4px rgba(0, 0, 0, 0.1), 0px 1px 4px -1px rgba(0, 0, 0, 0.1) !important;\n }\n .xl\\:shadow-4 {\n box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.12), 0px 4px 5px rgba(0, 0, 0, 0.14), 0px 2px 4px -1px rgba(0, 0, 0, 0.2) !important;\n }\n .xl\\:shadow-5 {\n box-shadow: 0px 1px 7px rgba(0, 0, 0, 0.1), 0px 4px 5px -2px rgba(0, 0, 0, 0.12), 0px 10px 15px -5px rgba(0, 0, 0, 0.2) !important;\n }\n .xl\\:shadow-6 {\n box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.06), 0px 7px 9px rgba(0, 0, 0, 0.12), 0px 20px 25px -8px rgba(0, 0, 0, 0.18) !important;\n }\n .xl\\:shadow-7 {\n box-shadow: 0px 7px 30px rgba(0, 0, 0, 0.08), 0px 22px 30px 2px rgba(0, 0, 0, 0.15), 0px 8px 10px rgba(0, 0, 0, 0.15) !important;\n }\n .xl\\:shadow-8 {\n box-shadow: 0px 9px 46px 8px rgba(0, 0, 0, 0.12), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 11px 15px rgba(0, 0, 0, 0.2) !important;\n }\n}\n.border-none {\n border-width: 0px !important;\n border-style: none;\n}\n\n.border-1 {\n border-width: 1px !important;\n border-style: solid;\n}\n\n.border-2 {\n border-width: 2px !important;\n border-style: solid;\n}\n\n.border-3 {\n border-width: 3px !important;\n border-style: solid;\n}\n\n.border-top-none {\n border-top-width: 0px !important;\n border-top-style: none;\n}\n\n.border-top-1 {\n border-top-width: 1px !important;\n border-top-style: solid;\n}\n\n.border-top-2 {\n border-top-width: 2px !important;\n border-top-style: solid;\n}\n\n.border-top-3 {\n border-top-width: 3px !important;\n border-top-style: solid;\n}\n\n.border-right-none {\n border-right-width: 0px !important;\n border-right-style: none;\n}\n\n.border-right-1 {\n border-right-width: 1px !important;\n border-right-style: solid;\n}\n\n.border-right-2 {\n border-right-width: 2px !important;\n border-right-style: solid;\n}\n\n.border-right-3 {\n border-right-width: 3px !important;\n border-right-style: solid;\n}\n\n.border-left-none {\n border-left-width: 0px !important;\n border-left-style: none;\n}\n\n.border-left-1 {\n border-left-width: 1px !important;\n border-left-style: solid;\n}\n\n.border-left-2 {\n border-left-width: 2px !important;\n border-left-style: solid;\n}\n\n.border-left-3 {\n border-left-width: 3px !important;\n border-left-style: solid;\n}\n\n.border-bottom-none {\n border-bottom-width: 0px !important;\n border-bottom-style: none;\n}\n\n.border-bottom-1 {\n border-bottom-width: 1px !important;\n border-bottom-style: solid;\n}\n\n.border-bottom-2 {\n border-bottom-width: 2px !important;\n border-bottom-style: solid;\n}\n\n.border-bottom-3 {\n border-bottom-width: 3px !important;\n border-bottom-style: solid;\n}\n\n.border-x-none {\n border-left-width: 0px !important;\n border-left-style: none;\n border-right-width: 0px !important;\n border-right-style: none;\n}\n\n.border-x-1 {\n border-left-width: 1px !important;\n border-left-style: solid;\n border-right-width: 1px !important;\n border-right-style: solid;\n}\n\n.border-x-2 {\n border-left-width: 2px !important;\n border-left-style: solid;\n border-right-width: 2px !important;\n border-right-style: solid;\n}\n\n.border-x-3 {\n border-left-width: 3px !important;\n border-left-style: solid;\n border-right-width: 3px !important;\n border-right-style: solid;\n}\n\n.border-y-none {\n border-top-width: 0px !important;\n border-top-style: none;\n border-bottom-width: 0px !important;\n border-bottom-style: none;\n}\n\n.border-y-1 {\n border-top-width: 1px !important;\n border-top-style: solid;\n border-bottom-width: 1px !important;\n border-bottom-style: solid;\n}\n\n.border-y-2 {\n border-top-width: 2px !important;\n border-top-style: solid;\n border-bottom-width: 2px !important;\n border-bottom-style: solid;\n}\n\n.border-y-3 {\n border-top-width: 3px !important;\n border-top-style: solid;\n border-bottom-width: 3px !important;\n border-bottom-style: solid;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:border-none {\n border-width: 0px !important;\n border-style: none;\n }\n .sm\\:border-1 {\n border-width: 1px !important;\n border-style: solid;\n }\n .sm\\:border-2 {\n border-width: 2px !important;\n border-style: solid;\n }\n .sm\\:border-3 {\n border-width: 3px !important;\n border-style: solid;\n }\n .sm\\:border-top-none {\n border-top-width: 0px !important;\n border-top-style: none;\n }\n .sm\\:border-top-1 {\n border-top-width: 1px !important;\n border-top-style: solid;\n }\n .sm\\:border-top-2 {\n border-top-width: 2px !important;\n border-top-style: solid;\n }\n .sm\\:border-top-3 {\n border-top-width: 3px !important;\n border-top-style: solid;\n }\n .sm\\:border-right-none {\n border-right-width: 0px !important;\n border-right-style: none;\n }\n .sm\\:border-right-1 {\n border-right-width: 1px !important;\n border-right-style: solid;\n }\n .sm\\:border-right-2 {\n border-right-width: 2px !important;\n border-right-style: solid;\n }\n .sm\\:border-right-3 {\n border-right-width: 3px !important;\n border-right-style: solid;\n }\n .sm\\:border-left-none {\n border-left-width: 0px !important;\n border-left-style: none;\n }\n .sm\\:border-left-1 {\n border-left-width: 1px !important;\n border-left-style: solid;\n }\n .sm\\:border-left-2 {\n border-left-width: 2px !important;\n border-left-style: solid;\n }\n .sm\\:border-left-3 {\n border-left-width: 3px !important;\n border-left-style: solid;\n }\n .sm\\:border-bottom-none {\n border-bottom-width: 0px !important;\n border-bottom-style: none;\n }\n .sm\\:border-bottom-1 {\n border-bottom-width: 1px !important;\n border-bottom-style: solid;\n }\n .sm\\:border-bottom-2 {\n border-bottom-width: 2px !important;\n border-bottom-style: solid;\n }\n .sm\\:border-bottom-3 {\n border-bottom-width: 3px !important;\n border-bottom-style: solid;\n }\n .sm\\:border-x-none {\n border-left-width: 0px !important;\n border-left-style: none;\n border-right-width: 0px !important;\n border-right-style: none;\n }\n .sm\\:border-x-1 {\n border-left-width: 1px !important;\n border-left-style: solid;\n border-right-width: 1px !important;\n border-right-style: solid;\n }\n .sm\\:border-x-2 {\n border-left-width: 2px !important;\n border-left-style: solid;\n border-right-width: 2px !important;\n border-right-style: solid;\n }\n .sm\\:border-x-3 {\n border-left-width: 3px !important;\n border-left-style: solid;\n border-right-width: 3px !important;\n border-right-style: solid;\n }\n .sm\\:border-y-none {\n border-top-width: 0px !important;\n border-top-style: none;\n border-bottom-width: 0px !important;\n border-bottom-style: none;\n }\n .sm\\:border-y-1 {\n border-top-width: 1px !important;\n border-top-style: solid;\n border-bottom-width: 1px !important;\n border-bottom-style: solid;\n }\n .sm\\:border-y-2 {\n border-top-width: 2px !important;\n border-top-style: solid;\n border-bottom-width: 2px !important;\n border-bottom-style: solid;\n }\n .sm\\:border-y-3 {\n border-top-width: 3px !important;\n border-top-style: solid;\n border-bottom-width: 3px !important;\n border-bottom-style: solid;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:border-none {\n border-width: 0px !important;\n border-style: none;\n }\n .md\\:border-1 {\n border-width: 1px !important;\n border-style: solid;\n }\n .md\\:border-2 {\n border-width: 2px !important;\n border-style: solid;\n }\n .md\\:border-3 {\n border-width: 3px !important;\n border-style: solid;\n }\n .md\\:border-top-none {\n border-top-width: 0px !important;\n border-top-style: none;\n }\n .md\\:border-top-1 {\n border-top-width: 1px !important;\n border-top-style: solid;\n }\n .md\\:border-top-2 {\n border-top-width: 2px !important;\n border-top-style: solid;\n }\n .md\\:border-top-3 {\n border-top-width: 3px !important;\n border-top-style: solid;\n }\n .md\\:border-right-none {\n border-right-width: 0px !important;\n border-right-style: none;\n }\n .md\\:border-right-1 {\n border-right-width: 1px !important;\n border-right-style: solid;\n }\n .md\\:border-right-2 {\n border-right-width: 2px !important;\n border-right-style: solid;\n }\n .md\\:border-right-3 {\n border-right-width: 3px !important;\n border-right-style: solid;\n }\n .md\\:border-left-none {\n border-left-width: 0px !important;\n border-left-style: none;\n }\n .md\\:border-left-1 {\n border-left-width: 1px !important;\n border-left-style: solid;\n }\n .md\\:border-left-2 {\n border-left-width: 2px !important;\n border-left-style: solid;\n }\n .md\\:border-left-3 {\n border-left-width: 3px !important;\n border-left-style: solid;\n }\n .md\\:border-bottom-none {\n border-bottom-width: 0px !important;\n border-bottom-style: none;\n }\n .md\\:border-bottom-1 {\n border-bottom-width: 1px !important;\n border-bottom-style: solid;\n }\n .md\\:border-bottom-2 {\n border-bottom-width: 2px !important;\n border-bottom-style: solid;\n }\n .md\\:border-bottom-3 {\n border-bottom-width: 3px !important;\n border-bottom-style: solid;\n }\n .md\\:border-x-none {\n border-left-width: 0px !important;\n border-left-style: none;\n border-right-width: 0px !important;\n border-right-style: none;\n }\n .md\\:border-x-1 {\n border-left-width: 1px !important;\n border-left-style: solid;\n border-right-width: 1px !important;\n border-right-style: solid;\n }\n .md\\:border-x-2 {\n border-left-width: 2px !important;\n border-left-style: solid;\n border-right-width: 2px !important;\n border-right-style: solid;\n }\n .md\\:border-x-3 {\n border-left-width: 3px !important;\n border-left-style: solid;\n border-right-width: 3px !important;\n border-right-style: solid;\n }\n .md\\:border-y-none {\n border-top-width: 0px !important;\n border-top-style: none;\n border-bottom-width: 0px !important;\n border-bottom-style: none;\n }\n .md\\:border-y-1 {\n border-top-width: 1px !important;\n border-top-style: solid;\n border-bottom-width: 1px !important;\n border-bottom-style: solid;\n }\n .md\\:border-y-2 {\n border-top-width: 2px !important;\n border-top-style: solid;\n border-bottom-width: 2px !important;\n border-bottom-style: solid;\n }\n .md\\:border-y-3 {\n border-top-width: 3px !important;\n border-top-style: solid;\n border-bottom-width: 3px !important;\n border-bottom-style: solid;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:border-none {\n border-width: 0px !important;\n border-style: none;\n }\n .lg\\:border-1 {\n border-width: 1px !important;\n border-style: solid;\n }\n .lg\\:border-2 {\n border-width: 2px !important;\n border-style: solid;\n }\n .lg\\:border-3 {\n border-width: 3px !important;\n border-style: solid;\n }\n .lg\\:border-top-none {\n border-top-width: 0px !important;\n border-top-style: none;\n }\n .lg\\:border-top-1 {\n border-top-width: 1px !important;\n border-top-style: solid;\n }\n .lg\\:border-top-2 {\n border-top-width: 2px !important;\n border-top-style: solid;\n }\n .lg\\:border-top-3 {\n border-top-width: 3px !important;\n border-top-style: solid;\n }\n .lg\\:border-right-none {\n border-right-width: 0px !important;\n border-right-style: none;\n }\n .lg\\:border-right-1 {\n border-right-width: 1px !important;\n border-right-style: solid;\n }\n .lg\\:border-right-2 {\n border-right-width: 2px !important;\n border-right-style: solid;\n }\n .lg\\:border-right-3 {\n border-right-width: 3px !important;\n border-right-style: solid;\n }\n .lg\\:border-left-none {\n border-left-width: 0px !important;\n border-left-style: none;\n }\n .lg\\:border-left-1 {\n border-left-width: 1px !important;\n border-left-style: solid;\n }\n .lg\\:border-left-2 {\n border-left-width: 2px !important;\n border-left-style: solid;\n }\n .lg\\:border-left-3 {\n border-left-width: 3px !important;\n border-left-style: solid;\n }\n .lg\\:border-bottom-none {\n border-bottom-width: 0px !important;\n border-bottom-style: none;\n }\n .lg\\:border-bottom-1 {\n border-bottom-width: 1px !important;\n border-bottom-style: solid;\n }\n .lg\\:border-bottom-2 {\n border-bottom-width: 2px !important;\n border-bottom-style: solid;\n }\n .lg\\:border-bottom-3 {\n border-bottom-width: 3px !important;\n border-bottom-style: solid;\n }\n .lg\\:border-x-none {\n border-left-width: 0px !important;\n border-left-style: none;\n border-right-width: 0px !important;\n border-right-style: none;\n }\n .lg\\:border-x-1 {\n border-left-width: 1px !important;\n border-left-style: solid;\n border-right-width: 1px !important;\n border-right-style: solid;\n }\n .lg\\:border-x-2 {\n border-left-width: 2px !important;\n border-left-style: solid;\n border-right-width: 2px !important;\n border-right-style: solid;\n }\n .lg\\:border-x-3 {\n border-left-width: 3px !important;\n border-left-style: solid;\n border-right-width: 3px !important;\n border-right-style: solid;\n }\n .lg\\:border-y-none {\n border-top-width: 0px !important;\n border-top-style: none;\n border-bottom-width: 0px !important;\n border-bottom-style: none;\n }\n .lg\\:border-y-1 {\n border-top-width: 1px !important;\n border-top-style: solid;\n border-bottom-width: 1px !important;\n border-bottom-style: solid;\n }\n .lg\\:border-y-2 {\n border-top-width: 2px !important;\n border-top-style: solid;\n border-bottom-width: 2px !important;\n border-bottom-style: solid;\n }\n .lg\\:border-y-3 {\n border-top-width: 3px !important;\n border-top-style: solid;\n border-bottom-width: 3px !important;\n border-bottom-style: solid;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:border-none {\n border-width: 0px !important;\n border-style: none;\n }\n .xl\\:border-1 {\n border-width: 1px !important;\n border-style: solid;\n }\n .xl\\:border-2 {\n border-width: 2px !important;\n border-style: solid;\n }\n .xl\\:border-3 {\n border-width: 3px !important;\n border-style: solid;\n }\n .xl\\:border-top-none {\n border-top-width: 0px !important;\n border-top-style: none;\n }\n .xl\\:border-top-1 {\n border-top-width: 1px !important;\n border-top-style: solid;\n }\n .xl\\:border-top-2 {\n border-top-width: 2px !important;\n border-top-style: solid;\n }\n .xl\\:border-top-3 {\n border-top-width: 3px !important;\n border-top-style: solid;\n }\n .xl\\:border-right-none {\n border-right-width: 0px !important;\n border-right-style: none;\n }\n .xl\\:border-right-1 {\n border-right-width: 1px !important;\n border-right-style: solid;\n }\n .xl\\:border-right-2 {\n border-right-width: 2px !important;\n border-right-style: solid;\n }\n .xl\\:border-right-3 {\n border-right-width: 3px !important;\n border-right-style: solid;\n }\n .xl\\:border-left-none {\n border-left-width: 0px !important;\n border-left-style: none;\n }\n .xl\\:border-left-1 {\n border-left-width: 1px !important;\n border-left-style: solid;\n }\n .xl\\:border-left-2 {\n border-left-width: 2px !important;\n border-left-style: solid;\n }\n .xl\\:border-left-3 {\n border-left-width: 3px !important;\n border-left-style: solid;\n }\n .xl\\:border-bottom-none {\n border-bottom-width: 0px !important;\n border-bottom-style: none;\n }\n .xl\\:border-bottom-1 {\n border-bottom-width: 1px !important;\n border-bottom-style: solid;\n }\n .xl\\:border-bottom-2 {\n border-bottom-width: 2px !important;\n border-bottom-style: solid;\n }\n .xl\\:border-bottom-3 {\n border-bottom-width: 3px !important;\n border-bottom-style: solid;\n }\n .xl\\:border-x-none {\n border-left-width: 0px !important;\n border-left-style: none;\n border-right-width: 0px !important;\n border-right-style: none;\n }\n .xl\\:border-x-1 {\n border-left-width: 1px !important;\n border-left-style: solid;\n border-right-width: 1px !important;\n border-right-style: solid;\n }\n .xl\\:border-x-2 {\n border-left-width: 2px !important;\n border-left-style: solid;\n border-right-width: 2px !important;\n border-right-style: solid;\n }\n .xl\\:border-x-3 {\n border-left-width: 3px !important;\n border-left-style: solid;\n border-right-width: 3px !important;\n border-right-style: solid;\n }\n .xl\\:border-y-none {\n border-top-width: 0px !important;\n border-top-style: none;\n border-bottom-width: 0px !important;\n border-bottom-style: none;\n }\n .xl\\:border-y-1 {\n border-top-width: 1px !important;\n border-top-style: solid;\n border-bottom-width: 1px !important;\n border-bottom-style: solid;\n }\n .xl\\:border-y-2 {\n border-top-width: 2px !important;\n border-top-style: solid;\n border-bottom-width: 2px !important;\n border-bottom-style: solid;\n }\n .xl\\:border-y-3 {\n border-top-width: 3px !important;\n border-top-style: solid;\n border-bottom-width: 3px !important;\n border-bottom-style: solid;\n }\n}\n.border-solid {\n border-style: solid !important;\n}\n\n.border-dashed {\n border-style: dashed !important;\n}\n\n.border-dotted {\n border-style: dotted !important;\n}\n\n.border-double {\n border-style: double !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:border-solid {\n border-style: solid !important;\n }\n .sm\\:border-dashed {\n border-style: dashed !important;\n }\n .sm\\:border-dotted {\n border-style: dotted !important;\n }\n .sm\\:border-double {\n border-style: double !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:border-solid {\n border-style: solid !important;\n }\n .md\\:border-dashed {\n border-style: dashed !important;\n }\n .md\\:border-dotted {\n border-style: dotted !important;\n }\n .md\\:border-double {\n border-style: double !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:border-solid {\n border-style: solid !important;\n }\n .lg\\:border-dashed {\n border-style: dashed !important;\n }\n .lg\\:border-dotted {\n border-style: dotted !important;\n }\n .lg\\:border-double {\n border-style: double !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:border-solid {\n border-style: solid !important;\n }\n .xl\\:border-dashed {\n border-style: dashed !important;\n }\n .xl\\:border-dotted {\n border-style: dotted !important;\n }\n .xl\\:border-double {\n border-style: double !important;\n }\n}\n.border-round-left {\n border-top-left-radius: var(--border-radius);\n border-bottom-left-radius: var(--border-radius);\n}\n\n.border-round-top {\n border-top-left-radius: var(--border-radius);\n border-top-right-radius: var(--border-radius);\n}\n\n.border-round-right {\n border-top-right-radius: var(--border-radius);\n border-bottom-right-radius: var(--border-radius);\n}\n\n.border-round-bottom {\n border-bottom-left-radius: var(--border-radius);\n border-bottom-right-radius: var(--border-radius);\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:border-round-left {\n border-top-left-radius: var(--border-radius);\n border-bottom-left-radius: var(--border-radius);\n }\n .sm\\:border-round-top {\n border-top-left-radius: var(--border-radius);\n border-top-right-radius: var(--border-radius);\n }\n .sm\\:border-round-right {\n border-top-right-radius: var(--border-radius);\n border-bottom-right-radius: var(--border-radius);\n }\n .sm\\:border-round-bottom {\n border-bottom-left-radius: var(--border-radius);\n border-bottom-right-radius: var(--border-radius);\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:border-round-left {\n border-top-left-radius: var(--border-radius);\n border-bottom-left-radius: var(--border-radius);\n }\n .md\\:border-round-top {\n border-top-left-radius: var(--border-radius);\n border-top-right-radius: var(--border-radius);\n }\n .md\\:border-round-right {\n border-top-right-radius: var(--border-radius);\n border-bottom-right-radius: var(--border-radius);\n }\n .md\\:border-round-bottom {\n border-bottom-left-radius: var(--border-radius);\n border-bottom-right-radius: var(--border-radius);\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:border-round-left {\n border-top-left-radius: var(--border-radius);\n border-bottom-left-radius: var(--border-radius);\n }\n .lg\\:border-round-top {\n border-top-left-radius: var(--border-radius);\n border-top-right-radius: var(--border-radius);\n }\n .lg\\:border-round-right {\n border-top-right-radius: var(--border-radius);\n border-bottom-right-radius: var(--border-radius);\n }\n .lg\\:border-round-bottom {\n border-bottom-left-radius: var(--border-radius);\n border-bottom-right-radius: var(--border-radius);\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:border-round-left {\n border-top-left-radius: var(--border-radius);\n border-bottom-left-radius: var(--border-radius);\n }\n .xl\\:border-round-top {\n border-top-left-radius: var(--border-radius);\n border-top-right-radius: var(--border-radius);\n }\n .xl\\:border-round-right {\n border-top-right-radius: var(--border-radius);\n border-bottom-right-radius: var(--border-radius);\n }\n .xl\\:border-round-bottom {\n border-bottom-left-radius: var(--border-radius);\n border-bottom-right-radius: var(--border-radius);\n }\n}\n.border-noround {\n border-radius: 0 !important;\n}\n\n.border-round {\n border-radius: var(--border-radius) !important;\n}\n\n.border-circle {\n border-radius: 50% !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:border-noround {\n border-radius: 0 !important;\n }\n .sm\\:border-round {\n border-radius: var(--border-radius) !important;\n }\n .sm\\:border-circle {\n border-radius: 50% !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:border-noround {\n border-radius: 0 !important;\n }\n .md\\:border-round {\n border-radius: var(--border-radius) !important;\n }\n .md\\:border-circle {\n border-radius: 50% !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:border-noround {\n border-radius: 0 !important;\n }\n .lg\\:border-round {\n border-radius: var(--border-radius) !important;\n }\n .lg\\:border-circle {\n border-radius: 50% !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:border-noround {\n border-radius: 0 !important;\n }\n .xl\\:border-round {\n border-radius: var(--border-radius) !important;\n }\n .xl\\:border-circle {\n border-radius: 50% !important;\n }\n}\n.w-full {\n width: 100% !important;\n}\n\n.w-screen {\n width: 100vw !important;\n}\n\n.w-auto {\n width: auto !important;\n}\n\n.w-min {\n width: -webkit-min-content !important;\n width: -moz-min-content !important;\n width: min-content !important;\n}\n\n.w-max {\n width: -webkit-max-content !important;\n width: -moz-max-content !important;\n width: max-content !important;\n}\n\n.w-1 {\n width: 8.3333% !important;\n}\n\n.w-2 {\n width: 16.6667% !important;\n}\n\n.w-3 {\n width: 25% !important;\n}\n\n.w-4 {\n width: 33.3333% !important;\n}\n\n.w-5 {\n width: 41.6667% !important;\n}\n\n.w-6 {\n width: 50% !important;\n}\n\n.w-7 {\n width: 58.3333% !important;\n}\n\n.w-8 {\n width: 66.6667% !important;\n}\n\n.w-9 {\n width: 75% !important;\n}\n\n.w-10 {\n width: 83.3333% !important;\n}\n\n.w-11 {\n width: 91.6667% !important;\n}\n\n.w-12 {\n width: 100% !important;\n}\n\n.w-1rem {\n width: 1rem !important;\n}\n\n.w-2rem {\n width: 2rem !important;\n}\n\n.w-3rem {\n width: 3rem !important;\n}\n\n.w-4rem {\n width: 4rem !important;\n}\n\n.w-5rem {\n width: 5rem !important;\n}\n\n.w-6rem {\n width: 6rem !important;\n}\n\n.w-7rem {\n width: 7rem !important;\n}\n\n.w-8rem {\n width: 8rem !important;\n}\n\n.w-9rem {\n width: 9rem !important;\n}\n\n.w-10rem {\n width: 10rem !important;\n}\n\n.w-11rem {\n width: 11rem !important;\n}\n\n.w-12rem {\n width: 12rem !important;\n}\n\n.w-13rem {\n width: 13rem !important;\n}\n\n.w-14rem {\n width: 14rem !important;\n}\n\n.w-15rem {\n width: 15rem !important;\n}\n\n.w-16rem {\n width: 16rem !important;\n}\n\n.w-17rem {\n width: 17rem !important;\n}\n\n.w-18rem {\n width: 18rem !important;\n}\n\n.w-19rem {\n width: 19rem !important;\n}\n\n.w-20rem {\n width: 20rem !important;\n}\n\n.w-21rem {\n width: 21rem !important;\n}\n\n.w-22rem {\n width: 22rem !important;\n}\n\n.w-23rem {\n width: 23rem !important;\n}\n\n.w-24rem {\n width: 24rem !important;\n}\n\n.w-25rem {\n width: 25rem !important;\n}\n\n.w-26rem {\n width: 26rem !important;\n}\n\n.w-27rem {\n width: 27rem !important;\n}\n\n.w-28rem {\n width: 28rem !important;\n}\n\n.w-29rem {\n width: 29rem !important;\n}\n\n.w-30rem {\n width: 30rem !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:w-full {\n width: 100% !important;\n }\n .sm\\:w-screen {\n width: 100vw !important;\n }\n .sm\\:w-auto {\n width: auto !important;\n }\n .sm\\:w-min {\n width: -webkit-min-content !important;\n width: -moz-min-content !important;\n width: min-content !important;\n }\n .sm\\:w-max {\n width: -webkit-max-content !important;\n width: -moz-max-content !important;\n width: max-content !important;\n }\n .sm\\:w-1 {\n width: 8.3333% !important;\n }\n .sm\\:w-2 {\n width: 16.6667% !important;\n }\n .sm\\:w-3 {\n width: 25% !important;\n }\n .sm\\:w-4 {\n width: 33.3333% !important;\n }\n .sm\\:w-5 {\n width: 41.6667% !important;\n }\n .sm\\:w-6 {\n width: 50% !important;\n }\n .sm\\:w-7 {\n width: 58.3333% !important;\n }\n .sm\\:w-8 {\n width: 66.6667% !important;\n }\n .sm\\:w-9 {\n width: 75% !important;\n }\n .sm\\:w-10 {\n width: 83.3333% !important;\n }\n .sm\\:w-11 {\n width: 91.6667% !important;\n }\n .sm\\:w-12 {\n width: 100% !important;\n }\n .sm\\:w-1rem {\n width: 1rem !important;\n }\n .sm\\:w-2rem {\n width: 2rem !important;\n }\n .sm\\:w-3rem {\n width: 3rem !important;\n }\n .sm\\:w-4rem {\n width: 4rem !important;\n }\n .sm\\:w-5rem {\n width: 5rem !important;\n }\n .sm\\:w-6rem {\n width: 6rem !important;\n }\n .sm\\:w-7rem {\n width: 7rem !important;\n }\n .sm\\:w-8rem {\n width: 8rem !important;\n }\n .sm\\:w-9rem {\n width: 9rem !important;\n }\n .sm\\:w-10rem {\n width: 10rem !important;\n }\n .sm\\:w-11rem {\n width: 11rem !important;\n }\n .sm\\:w-12rem {\n width: 12rem !important;\n }\n .sm\\:w-13rem {\n width: 13rem !important;\n }\n .sm\\:w-14rem {\n width: 14rem !important;\n }\n .sm\\:w-15rem {\n width: 15rem !important;\n }\n .sm\\:w-16rem {\n width: 16rem !important;\n }\n .sm\\:w-17rem {\n width: 17rem !important;\n }\n .sm\\:w-18rem {\n width: 18rem !important;\n }\n .sm\\:w-19rem {\n width: 19rem !important;\n }\n .sm\\:w-20rem {\n width: 20rem !important;\n }\n .sm\\:w-21rem {\n width: 21rem !important;\n }\n .sm\\:w-22rem {\n width: 22rem !important;\n }\n .sm\\:w-23rem {\n width: 23rem !important;\n }\n .sm\\:w-24rem {\n width: 24rem !important;\n }\n .sm\\:w-25rem {\n width: 25rem !important;\n }\n .sm\\:w-26rem {\n width: 26rem !important;\n }\n .sm\\:w-27rem {\n width: 27rem !important;\n }\n .sm\\:w-28rem {\n width: 28rem !important;\n }\n .sm\\:w-29rem {\n width: 29rem !important;\n }\n .sm\\:w-30rem {\n width: 30rem !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:w-full {\n width: 100% !important;\n }\n .md\\:w-screen {\n width: 100vw !important;\n }\n .md\\:w-auto {\n width: auto !important;\n }\n .md\\:w-min {\n width: -webkit-min-content !important;\n width: -moz-min-content !important;\n width: min-content !important;\n }\n .md\\:w-max {\n width: -webkit-max-content !important;\n width: -moz-max-content !important;\n width: max-content !important;\n }\n .md\\:w-1 {\n width: 8.3333% !important;\n }\n .md\\:w-2 {\n width: 16.6667% !important;\n }\n .md\\:w-3 {\n width: 25% !important;\n }\n .md\\:w-4 {\n width: 33.3333% !important;\n }\n .md\\:w-5 {\n width: 41.6667% !important;\n }\n .md\\:w-6 {\n width: 50% !important;\n }\n .md\\:w-7 {\n width: 58.3333% !important;\n }\n .md\\:w-8 {\n width: 66.6667% !important;\n }\n .md\\:w-9 {\n width: 75% !important;\n }\n .md\\:w-10 {\n width: 83.3333% !important;\n }\n .md\\:w-11 {\n width: 91.6667% !important;\n }\n .md\\:w-12 {\n width: 100% !important;\n }\n .md\\:w-1rem {\n width: 1rem !important;\n }\n .md\\:w-2rem {\n width: 2rem !important;\n }\n .md\\:w-3rem {\n width: 3rem !important;\n }\n .md\\:w-4rem {\n width: 4rem !important;\n }\n .md\\:w-5rem {\n width: 5rem !important;\n }\n .md\\:w-6rem {\n width: 6rem !important;\n }\n .md\\:w-7rem {\n width: 7rem !important;\n }\n .md\\:w-8rem {\n width: 8rem !important;\n }\n .md\\:w-9rem {\n width: 9rem !important;\n }\n .md\\:w-10rem {\n width: 10rem !important;\n }\n .md\\:w-11rem {\n width: 11rem !important;\n }\n .md\\:w-12rem {\n width: 12rem !important;\n }\n .md\\:w-13rem {\n width: 13rem !important;\n }\n .md\\:w-14rem {\n width: 14rem !important;\n }\n .md\\:w-15rem {\n width: 15rem !important;\n }\n .md\\:w-16rem {\n width: 16rem !important;\n }\n .md\\:w-17rem {\n width: 17rem !important;\n }\n .md\\:w-18rem {\n width: 18rem !important;\n }\n .md\\:w-19rem {\n width: 19rem !important;\n }\n .md\\:w-20rem {\n width: 20rem !important;\n }\n .md\\:w-21rem {\n width: 21rem !important;\n }\n .md\\:w-22rem {\n width: 22rem !important;\n }\n .md\\:w-23rem {\n width: 23rem !important;\n }\n .md\\:w-24rem {\n width: 24rem !important;\n }\n .md\\:w-25rem {\n width: 25rem !important;\n }\n .md\\:w-26rem {\n width: 26rem !important;\n }\n .md\\:w-27rem {\n width: 27rem !important;\n }\n .md\\:w-28rem {\n width: 28rem !important;\n }\n .md\\:w-29rem {\n width: 29rem !important;\n }\n .md\\:w-30rem {\n width: 30rem !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:w-full {\n width: 100% !important;\n }\n .lg\\:w-screen {\n width: 100vw !important;\n }\n .lg\\:w-auto {\n width: auto !important;\n }\n .lg\\:w-min {\n width: -webkit-min-content !important;\n width: -moz-min-content !important;\n width: min-content !important;\n }\n .lg\\:w-max {\n width: -webkit-max-content !important;\n width: -moz-max-content !important;\n width: max-content !important;\n }\n .lg\\:w-1 {\n width: 8.3333% !important;\n }\n .lg\\:w-2 {\n width: 16.6667% !important;\n }\n .lg\\:w-3 {\n width: 25% !important;\n }\n .lg\\:w-4 {\n width: 33.3333% !important;\n }\n .lg\\:w-5 {\n width: 41.6667% !important;\n }\n .lg\\:w-6 {\n width: 50% !important;\n }\n .lg\\:w-7 {\n width: 58.3333% !important;\n }\n .lg\\:w-8 {\n width: 66.6667% !important;\n }\n .lg\\:w-9 {\n width: 75% !important;\n }\n .lg\\:w-10 {\n width: 83.3333% !important;\n }\n .lg\\:w-11 {\n width: 91.6667% !important;\n }\n .lg\\:w-12 {\n width: 100% !important;\n }\n .lg\\:w-1rem {\n width: 1rem !important;\n }\n .lg\\:w-2rem {\n width: 2rem !important;\n }\n .lg\\:w-3rem {\n width: 3rem !important;\n }\n .lg\\:w-4rem {\n width: 4rem !important;\n }\n .lg\\:w-5rem {\n width: 5rem !important;\n }\n .lg\\:w-6rem {\n width: 6rem !important;\n }\n .lg\\:w-7rem {\n width: 7rem !important;\n }\n .lg\\:w-8rem {\n width: 8rem !important;\n }\n .lg\\:w-9rem {\n width: 9rem !important;\n }\n .lg\\:w-10rem {\n width: 10rem !important;\n }\n .lg\\:w-11rem {\n width: 11rem !important;\n }\n .lg\\:w-12rem {\n width: 12rem !important;\n }\n .lg\\:w-13rem {\n width: 13rem !important;\n }\n .lg\\:w-14rem {\n width: 14rem !important;\n }\n .lg\\:w-15rem {\n width: 15rem !important;\n }\n .lg\\:w-16rem {\n width: 16rem !important;\n }\n .lg\\:w-17rem {\n width: 17rem !important;\n }\n .lg\\:w-18rem {\n width: 18rem !important;\n }\n .lg\\:w-19rem {\n width: 19rem !important;\n }\n .lg\\:w-20rem {\n width: 20rem !important;\n }\n .lg\\:w-21rem {\n width: 21rem !important;\n }\n .lg\\:w-22rem {\n width: 22rem !important;\n }\n .lg\\:w-23rem {\n width: 23rem !important;\n }\n .lg\\:w-24rem {\n width: 24rem !important;\n }\n .lg\\:w-25rem {\n width: 25rem !important;\n }\n .lg\\:w-26rem {\n width: 26rem !important;\n }\n .lg\\:w-27rem {\n width: 27rem !important;\n }\n .lg\\:w-28rem {\n width: 28rem !important;\n }\n .lg\\:w-29rem {\n width: 29rem !important;\n }\n .lg\\:w-30rem {\n width: 30rem !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:w-full {\n width: 100% !important;\n }\n .xl\\:w-screen {\n width: 100vw !important;\n }\n .xl\\:w-auto {\n width: auto !important;\n }\n .xl\\:w-min {\n width: -webkit-min-content !important;\n width: -moz-min-content !important;\n width: min-content !important;\n }\n .xl\\:w-max {\n width: -webkit-max-content !important;\n width: -moz-max-content !important;\n width: max-content !important;\n }\n .xl\\:w-1 {\n width: 8.3333% !important;\n }\n .xl\\:w-2 {\n width: 16.6667% !important;\n }\n .xl\\:w-3 {\n width: 25% !important;\n }\n .xl\\:w-4 {\n width: 33.3333% !important;\n }\n .xl\\:w-5 {\n width: 41.6667% !important;\n }\n .xl\\:w-6 {\n width: 50% !important;\n }\n .xl\\:w-7 {\n width: 58.3333% !important;\n }\n .xl\\:w-8 {\n width: 66.6667% !important;\n }\n .xl\\:w-9 {\n width: 75% !important;\n }\n .xl\\:w-10 {\n width: 83.3333% !important;\n }\n .xl\\:w-11 {\n width: 91.6667% !important;\n }\n .xl\\:w-12 {\n width: 100% !important;\n }\n .xl\\:w-1rem {\n width: 1rem !important;\n }\n .xl\\:w-2rem {\n width: 2rem !important;\n }\n .xl\\:w-3rem {\n width: 3rem !important;\n }\n .xl\\:w-4rem {\n width: 4rem !important;\n }\n .xl\\:w-5rem {\n width: 5rem !important;\n }\n .xl\\:w-6rem {\n width: 6rem !important;\n }\n .xl\\:w-7rem {\n width: 7rem !important;\n }\n .xl\\:w-8rem {\n width: 8rem !important;\n }\n .xl\\:w-9rem {\n width: 9rem !important;\n }\n .xl\\:w-10rem {\n width: 10rem !important;\n }\n .xl\\:w-11rem {\n width: 11rem !important;\n }\n .xl\\:w-12rem {\n width: 12rem !important;\n }\n .xl\\:w-13rem {\n width: 13rem !important;\n }\n .xl\\:w-14rem {\n width: 14rem !important;\n }\n .xl\\:w-15rem {\n width: 15rem !important;\n }\n .xl\\:w-16rem {\n width: 16rem !important;\n }\n .xl\\:w-17rem {\n width: 17rem !important;\n }\n .xl\\:w-18rem {\n width: 18rem !important;\n }\n .xl\\:w-19rem {\n width: 19rem !important;\n }\n .xl\\:w-20rem {\n width: 20rem !important;\n }\n .xl\\:w-21rem {\n width: 21rem !important;\n }\n .xl\\:w-22rem {\n width: 22rem !important;\n }\n .xl\\:w-23rem {\n width: 23rem !important;\n }\n .xl\\:w-24rem {\n width: 24rem !important;\n }\n .xl\\:w-25rem {\n width: 25rem !important;\n }\n .xl\\:w-26rem {\n width: 26rem !important;\n }\n .xl\\:w-27rem {\n width: 27rem !important;\n }\n .xl\\:w-28rem {\n width: 28rem !important;\n }\n .xl\\:w-29rem {\n width: 29rem !important;\n }\n .xl\\:w-30rem {\n width: 30rem !important;\n }\n}\n.h-full {\n height: 100% !important;\n}\n\n.h-screen {\n height: 100vh !important;\n}\n\n.h-auto {\n height: auto !important;\n}\n\n.h-1rem {\n height: 1rem !important;\n}\n\n.h-2rem {\n height: 2rem !important;\n}\n\n.h-3rem {\n height: 3rem !important;\n}\n\n.h-4rem {\n height: 4rem !important;\n}\n\n.h-5rem {\n height: 5rem !important;\n}\n\n.h-6rem {\n height: 6rem !important;\n}\n\n.h-7rem {\n height: 7rem !important;\n}\n\n.h-8rem {\n height: 8rem !important;\n}\n\n.h-9rem {\n height: 9rem !important;\n}\n\n.h-10rem {\n height: 10rem !important;\n}\n\n.h-11rem {\n height: 11rem !important;\n}\n\n.h-12rem {\n height: 12rem !important;\n}\n\n.h-13rem {\n height: 13rem !important;\n}\n\n.h-14rem {\n height: 14rem !important;\n}\n\n.h-15rem {\n height: 15rem !important;\n}\n\n.h-16rem {\n height: 16rem !important;\n}\n\n.h-17rem {\n height: 17rem !important;\n}\n\n.h-18rem {\n height: 18rem !important;\n}\n\n.h-19rem {\n height: 19rem !important;\n}\n\n.h-20rem {\n height: 20rem !important;\n}\n\n.h-21rem {\n height: 21rem !important;\n}\n\n.h-22rem {\n height: 22rem !important;\n}\n\n.h-23rem {\n height: 23rem !important;\n}\n\n.h-24rem {\n height: 24rem !important;\n}\n\n.h-25rem {\n height: 25rem !important;\n}\n\n.h-26rem {\n height: 26rem !important;\n}\n\n.h-27rem {\n height: 27rem !important;\n}\n\n.h-28rem {\n height: 28rem !important;\n}\n\n.h-29rem {\n height: 29rem !important;\n}\n\n.h-30rem {\n height: 30rem !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:h-full {\n height: 100% !important;\n }\n .sm\\:h-screen {\n height: 100vh !important;\n }\n .sm\\:h-auto {\n height: auto !important;\n }\n .sm\\:h-1rem {\n height: 1rem !important;\n }\n .sm\\:h-2rem {\n height: 2rem !important;\n }\n .sm\\:h-3rem {\n height: 3rem !important;\n }\n .sm\\:h-4rem {\n height: 4rem !important;\n }\n .sm\\:h-5rem {\n height: 5rem !important;\n }\n .sm\\:h-6rem {\n height: 6rem !important;\n }\n .sm\\:h-7rem {\n height: 7rem !important;\n }\n .sm\\:h-8rem {\n height: 8rem !important;\n }\n .sm\\:h-9rem {\n height: 9rem !important;\n }\n .sm\\:h-10rem {\n height: 10rem !important;\n }\n .sm\\:h-11rem {\n height: 11rem !important;\n }\n .sm\\:h-12rem {\n height: 12rem !important;\n }\n .sm\\:h-13rem {\n height: 13rem !important;\n }\n .sm\\:h-14rem {\n height: 14rem !important;\n }\n .sm\\:h-15rem {\n height: 15rem !important;\n }\n .sm\\:h-16rem {\n height: 16rem !important;\n }\n .sm\\:h-17rem {\n height: 17rem !important;\n }\n .sm\\:h-18rem {\n height: 18rem !important;\n }\n .sm\\:h-19rem {\n height: 19rem !important;\n }\n .sm\\:h-20rem {\n height: 20rem !important;\n }\n .sm\\:h-21rem {\n height: 21rem !important;\n }\n .sm\\:h-22rem {\n height: 22rem !important;\n }\n .sm\\:h-23rem {\n height: 23rem !important;\n }\n .sm\\:h-24rem {\n height: 24rem !important;\n }\n .sm\\:h-25rem {\n height: 25rem !important;\n }\n .sm\\:h-26rem {\n height: 26rem !important;\n }\n .sm\\:h-27rem {\n height: 27rem !important;\n }\n .sm\\:h-28rem {\n height: 28rem !important;\n }\n .sm\\:h-29rem {\n height: 29rem !important;\n }\n .sm\\:h-30rem {\n height: 30rem !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:h-full {\n height: 100% !important;\n }\n .md\\:h-screen {\n height: 100vh !important;\n }\n .md\\:h-auto {\n height: auto !important;\n }\n .md\\:h-1rem {\n height: 1rem !important;\n }\n .md\\:h-2rem {\n height: 2rem !important;\n }\n .md\\:h-3rem {\n height: 3rem !important;\n }\n .md\\:h-4rem {\n height: 4rem !important;\n }\n .md\\:h-5rem {\n height: 5rem !important;\n }\n .md\\:h-6rem {\n height: 6rem !important;\n }\n .md\\:h-7rem {\n height: 7rem !important;\n }\n .md\\:h-8rem {\n height: 8rem !important;\n }\n .md\\:h-9rem {\n height: 9rem !important;\n }\n .md\\:h-10rem {\n height: 10rem !important;\n }\n .md\\:h-11rem {\n height: 11rem !important;\n }\n .md\\:h-12rem {\n height: 12rem !important;\n }\n .md\\:h-13rem {\n height: 13rem !important;\n }\n .md\\:h-14rem {\n height: 14rem !important;\n }\n .md\\:h-15rem {\n height: 15rem !important;\n }\n .md\\:h-16rem {\n height: 16rem !important;\n }\n .md\\:h-17rem {\n height: 17rem !important;\n }\n .md\\:h-18rem {\n height: 18rem !important;\n }\n .md\\:h-19rem {\n height: 19rem !important;\n }\n .md\\:h-20rem {\n height: 20rem !important;\n }\n .md\\:h-21rem {\n height: 21rem !important;\n }\n .md\\:h-22rem {\n height: 22rem !important;\n }\n .md\\:h-23rem {\n height: 23rem !important;\n }\n .md\\:h-24rem {\n height: 24rem !important;\n }\n .md\\:h-25rem {\n height: 25rem !important;\n }\n .md\\:h-26rem {\n height: 26rem !important;\n }\n .md\\:h-27rem {\n height: 27rem !important;\n }\n .md\\:h-28rem {\n height: 28rem !important;\n }\n .md\\:h-29rem {\n height: 29rem !important;\n }\n .md\\:h-30rem {\n height: 30rem !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:h-full {\n height: 100% !important;\n }\n .lg\\:h-screen {\n height: 100vh !important;\n }\n .lg\\:h-auto {\n height: auto !important;\n }\n .lg\\:h-1rem {\n height: 1rem !important;\n }\n .lg\\:h-2rem {\n height: 2rem !important;\n }\n .lg\\:h-3rem {\n height: 3rem !important;\n }\n .lg\\:h-4rem {\n height: 4rem !important;\n }\n .lg\\:h-5rem {\n height: 5rem !important;\n }\n .lg\\:h-6rem {\n height: 6rem !important;\n }\n .lg\\:h-7rem {\n height: 7rem !important;\n }\n .lg\\:h-8rem {\n height: 8rem !important;\n }\n .lg\\:h-9rem {\n height: 9rem !important;\n }\n .lg\\:h-10rem {\n height: 10rem !important;\n }\n .lg\\:h-11rem {\n height: 11rem !important;\n }\n .lg\\:h-12rem {\n height: 12rem !important;\n }\n .lg\\:h-13rem {\n height: 13rem !important;\n }\n .lg\\:h-14rem {\n height: 14rem !important;\n }\n .lg\\:h-15rem {\n height: 15rem !important;\n }\n .lg\\:h-16rem {\n height: 16rem !important;\n }\n .lg\\:h-17rem {\n height: 17rem !important;\n }\n .lg\\:h-18rem {\n height: 18rem !important;\n }\n .lg\\:h-19rem {\n height: 19rem !important;\n }\n .lg\\:h-20rem {\n height: 20rem !important;\n }\n .lg\\:h-21rem {\n height: 21rem !important;\n }\n .lg\\:h-22rem {\n height: 22rem !important;\n }\n .lg\\:h-23rem {\n height: 23rem !important;\n }\n .lg\\:h-24rem {\n height: 24rem !important;\n }\n .lg\\:h-25rem {\n height: 25rem !important;\n }\n .lg\\:h-26rem {\n height: 26rem !important;\n }\n .lg\\:h-27rem {\n height: 27rem !important;\n }\n .lg\\:h-28rem {\n height: 28rem !important;\n }\n .lg\\:h-29rem {\n height: 29rem !important;\n }\n .lg\\:h-30rem {\n height: 30rem !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:h-full {\n height: 100% !important;\n }\n .xl\\:h-screen {\n height: 100vh !important;\n }\n .xl\\:h-auto {\n height: auto !important;\n }\n .xl\\:h-1rem {\n height: 1rem !important;\n }\n .xl\\:h-2rem {\n height: 2rem !important;\n }\n .xl\\:h-3rem {\n height: 3rem !important;\n }\n .xl\\:h-4rem {\n height: 4rem !important;\n }\n .xl\\:h-5rem {\n height: 5rem !important;\n }\n .xl\\:h-6rem {\n height: 6rem !important;\n }\n .xl\\:h-7rem {\n height: 7rem !important;\n }\n .xl\\:h-8rem {\n height: 8rem !important;\n }\n .xl\\:h-9rem {\n height: 9rem !important;\n }\n .xl\\:h-10rem {\n height: 10rem !important;\n }\n .xl\\:h-11rem {\n height: 11rem !important;\n }\n .xl\\:h-12rem {\n height: 12rem !important;\n }\n .xl\\:h-13rem {\n height: 13rem !important;\n }\n .xl\\:h-14rem {\n height: 14rem !important;\n }\n .xl\\:h-15rem {\n height: 15rem !important;\n }\n .xl\\:h-16rem {\n height: 16rem !important;\n }\n .xl\\:h-17rem {\n height: 17rem !important;\n }\n .xl\\:h-18rem {\n height: 18rem !important;\n }\n .xl\\:h-19rem {\n height: 19rem !important;\n }\n .xl\\:h-20rem {\n height: 20rem !important;\n }\n .xl\\:h-21rem {\n height: 21rem !important;\n }\n .xl\\:h-22rem {\n height: 22rem !important;\n }\n .xl\\:h-23rem {\n height: 23rem !important;\n }\n .xl\\:h-24rem {\n height: 24rem !important;\n }\n .xl\\:h-25rem {\n height: 25rem !important;\n }\n .xl\\:h-26rem {\n height: 26rem !important;\n }\n .xl\\:h-27rem {\n height: 27rem !important;\n }\n .xl\\:h-28rem {\n height: 28rem !important;\n }\n .xl\\:h-29rem {\n height: 29rem !important;\n }\n .xl\\:h-30rem {\n height: 30rem !important;\n }\n}\n.min-w-0 {\n min-width: 0px !important;\n}\n\n.min-w-full {\n min-width: 100% !important;\n}\n\n.min-w-screen {\n min-width: 100vw !important;\n}\n\n.min-w-min {\n min-width: -webkit-min-content !important;\n min-width: -moz-min-content !important;\n min-width: min-content !important;\n}\n\n.min-w-max {\n min-width: -webkit-max-content !important;\n min-width: -moz-max-content !important;\n min-width: max-content !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:min-w-0 {\n min-width: 0px !important;\n }\n .sm\\:min-w-full {\n min-width: 100% !important;\n }\n .sm\\:min-w-screen {\n min-width: 100vw !important;\n }\n .sm\\:min-w-min {\n min-width: -webkit-min-content !important;\n min-width: -moz-min-content !important;\n min-width: min-content !important;\n }\n .sm\\:min-w-max {\n min-width: -webkit-max-content !important;\n min-width: -moz-max-content !important;\n min-width: max-content !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:min-w-0 {\n min-width: 0px !important;\n }\n .md\\:min-w-full {\n min-width: 100% !important;\n }\n .md\\:min-w-screen {\n min-width: 100vw !important;\n }\n .md\\:min-w-min {\n min-width: -webkit-min-content !important;\n min-width: -moz-min-content !important;\n min-width: min-content !important;\n }\n .md\\:min-w-max {\n min-width: -webkit-max-content !important;\n min-width: -moz-max-content !important;\n min-width: max-content !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:min-w-0 {\n min-width: 0px !important;\n }\n .lg\\:min-w-full {\n min-width: 100% !important;\n }\n .lg\\:min-w-screen {\n min-width: 100vw !important;\n }\n .lg\\:min-w-min {\n min-width: -webkit-min-content !important;\n min-width: -moz-min-content !important;\n min-width: min-content !important;\n }\n .lg\\:min-w-max {\n min-width: -webkit-max-content !important;\n min-width: -moz-max-content !important;\n min-width: max-content !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:min-w-0 {\n min-width: 0px !important;\n }\n .xl\\:min-w-full {\n min-width: 100% !important;\n }\n .xl\\:min-w-screen {\n min-width: 100vw !important;\n }\n .xl\\:min-w-min {\n min-width: -webkit-min-content !important;\n min-width: -moz-min-content !important;\n min-width: min-content !important;\n }\n .xl\\:min-w-max {\n min-width: -webkit-max-content !important;\n min-width: -moz-max-content !important;\n min-width: max-content !important;\n }\n}\n.max-w-0 {\n max-width: 0px !important;\n}\n\n.max-w-full {\n max-width: 100% !important;\n}\n\n.max-w-screen {\n max-width: 100vw !important;\n}\n\n.max-w-min {\n max-width: -webkit-min-content !important;\n max-width: -moz-min-content !important;\n max-width: min-content !important;\n}\n\n.max-w-max {\n max-width: -webkit-max-content !important;\n max-width: -moz-max-content !important;\n max-width: max-content !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:max-w-0 {\n max-width: 0px !important;\n }\n .sm\\:max-w-full {\n max-width: 100% !important;\n }\n .sm\\:max-w-screen {\n max-width: 100vw !important;\n }\n .sm\\:max-w-min {\n max-width: -webkit-min-content !important;\n max-width: -moz-min-content !important;\n max-width: min-content !important;\n }\n .sm\\:max-w-max {\n max-width: -webkit-max-content !important;\n max-width: -moz-max-content !important;\n max-width: max-content !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:max-w-0 {\n max-width: 0px !important;\n }\n .md\\:max-w-full {\n max-width: 100% !important;\n }\n .md\\:max-w-screen {\n max-width: 100vw !important;\n }\n .md\\:max-w-min {\n max-width: -webkit-min-content !important;\n max-width: -moz-min-content !important;\n max-width: min-content !important;\n }\n .md\\:max-w-max {\n max-width: -webkit-max-content !important;\n max-width: -moz-max-content !important;\n max-width: max-content !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:max-w-0 {\n max-width: 0px !important;\n }\n .lg\\:max-w-full {\n max-width: 100% !important;\n }\n .lg\\:max-w-screen {\n max-width: 100vw !important;\n }\n .lg\\:max-w-min {\n max-width: -webkit-min-content !important;\n max-width: -moz-min-content !important;\n max-width: min-content !important;\n }\n .lg\\:max-w-max {\n max-width: -webkit-max-content !important;\n max-width: -moz-max-content !important;\n max-width: max-content !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:max-w-0 {\n max-width: 0px !important;\n }\n .xl\\:max-w-full {\n max-width: 100% !important;\n }\n .xl\\:max-w-screen {\n max-width: 100vw !important;\n }\n .xl\\:max-w-min {\n max-width: -webkit-min-content !important;\n max-width: -moz-min-content !important;\n max-width: min-content !important;\n }\n .xl\\:max-w-max {\n max-width: -webkit-max-content !important;\n max-width: -moz-max-content !important;\n max-width: max-content !important;\n }\n}\n.min-h-0 {\n min-height: 0px !important;\n}\n\n.min-h-full {\n min-height: 100% !important;\n}\n\n.min-h-screen {\n min-height: 100vh !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:min-h-0 {\n min-height: 0px !important;\n }\n .sm\\:min-h-full {\n min-height: 100% !important;\n }\n .sm\\:min-h-screen {\n min-height: 100vh !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:min-h-0 {\n min-height: 0px !important;\n }\n .md\\:min-h-full {\n min-height: 100% !important;\n }\n .md\\:min-h-screen {\n min-height: 100vh !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:min-h-0 {\n min-height: 0px !important;\n }\n .lg\\:min-h-full {\n min-height: 100% !important;\n }\n .lg\\:min-h-screen {\n min-height: 100vh !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:min-h-0 {\n min-height: 0px !important;\n }\n .xl\\:min-h-full {\n min-height: 100% !important;\n }\n .xl\\:min-h-screen {\n min-height: 100vh !important;\n }\n}\n.max-h-0 {\n max-height: 0px !important;\n}\n\n.max-h-full {\n max-height: 100% !important;\n}\n\n.max-h-screen {\n max-height: 100vh !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:max-h-0 {\n max-height: 0px !important;\n }\n .sm\\:max-h-full {\n max-height: 100% !important;\n }\n .sm\\:max-h-screen {\n max-height: 100vh !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:max-h-0 {\n max-height: 0px !important;\n }\n .md\\:max-h-full {\n max-height: 100% !important;\n }\n .md\\:max-h-screen {\n max-height: 100vh !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:max-h-0 {\n max-height: 0px !important;\n }\n .lg\\:max-h-full {\n max-height: 100% !important;\n }\n .lg\\:max-h-screen {\n max-height: 100vh !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:max-h-0 {\n max-height: 0px !important;\n }\n .xl\\:max-h-full {\n max-height: 100% !important;\n }\n .xl\\:max-h-screen {\n max-height: 100vh !important;\n }\n}\n.static {\n position: static !important;\n}\n\n.fixed {\n position: fixed !important;\n}\n\n.absolute {\n position: absolute !important;\n}\n\n.relative {\n position: relative !important;\n}\n\n.sticky {\n position: -webkit-sticky !important;\n position: sticky !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:static {\n position: static !important;\n }\n .sm\\:fixed {\n position: fixed !important;\n }\n .sm\\:absolute {\n position: absolute !important;\n }\n .sm\\:relative {\n position: relative !important;\n }\n .sm\\:sticky {\n position: -webkit-sticky !important;\n position: sticky !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:static {\n position: static !important;\n }\n .md\\:fixed {\n position: fixed !important;\n }\n .md\\:absolute {\n position: absolute !important;\n }\n .md\\:relative {\n position: relative !important;\n }\n .md\\:sticky {\n position: -webkit-sticky !important;\n position: sticky !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:static {\n position: static !important;\n }\n .lg\\:fixed {\n position: fixed !important;\n }\n .lg\\:absolute {\n position: absolute !important;\n }\n .lg\\:relative {\n position: relative !important;\n }\n .lg\\:sticky {\n position: -webkit-sticky !important;\n position: sticky !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:static {\n position: static !important;\n }\n .xl\\:fixed {\n position: fixed !important;\n }\n .xl\\:absolute {\n position: absolute !important;\n }\n .xl\\:relative {\n position: relative !important;\n }\n .xl\\:sticky {\n position: -webkit-sticky !important;\n position: sticky !important;\n }\n}\n.top-auto {\n top: auto !important;\n}\n\n.top-0 {\n top: 0px !important;\n}\n\n.top-50 {\n top: 50% !important;\n}\n\n.top-100 {\n top: 100% !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:top-auto {\n top: auto !important;\n }\n .sm\\:top-0 {\n top: 0px !important;\n }\n .sm\\:top-50 {\n top: 50% !important;\n }\n .sm\\:top-100 {\n top: 100% !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:top-auto {\n top: auto !important;\n }\n .md\\:top-0 {\n top: 0px !important;\n }\n .md\\:top-50 {\n top: 50% !important;\n }\n .md\\:top-100 {\n top: 100% !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:top-auto {\n top: auto !important;\n }\n .lg\\:top-0 {\n top: 0px !important;\n }\n .lg\\:top-50 {\n top: 50% !important;\n }\n .lg\\:top-100 {\n top: 100% !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:top-auto {\n top: auto !important;\n }\n .xl\\:top-0 {\n top: 0px !important;\n }\n .xl\\:top-50 {\n top: 50% !important;\n }\n .xl\\:top-100 {\n top: 100% !important;\n }\n}\n.left-auto {\n left: auto !important;\n}\n\n.left-0 {\n left: 0px !important;\n}\n\n.left-50 {\n left: 50% !important;\n}\n\n.left-100 {\n left: 100% !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:left-auto {\n left: auto !important;\n }\n .sm\\:left-0 {\n left: 0px !important;\n }\n .sm\\:left-50 {\n left: 50% !important;\n }\n .sm\\:left-100 {\n left: 100% !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:left-auto {\n left: auto !important;\n }\n .md\\:left-0 {\n left: 0px !important;\n }\n .md\\:left-50 {\n left: 50% !important;\n }\n .md\\:left-100 {\n left: 100% !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:left-auto {\n left: auto !important;\n }\n .lg\\:left-0 {\n left: 0px !important;\n }\n .lg\\:left-50 {\n left: 50% !important;\n }\n .lg\\:left-100 {\n left: 100% !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:left-auto {\n left: auto !important;\n }\n .xl\\:left-0 {\n left: 0px !important;\n }\n .xl\\:left-50 {\n left: 50% !important;\n }\n .xl\\:left-100 {\n left: 100% !important;\n }\n}\n.right-auto {\n right: auto !important;\n}\n\n.right-0 {\n right: 0px !important;\n}\n\n.right-50 {\n right: 50% !important;\n}\n\n.right-100 {\n right: 100% !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:right-auto {\n right: auto !important;\n }\n .sm\\:right-0 {\n right: 0px !important;\n }\n .sm\\:right-50 {\n right: 50% !important;\n }\n .sm\\:right-100 {\n right: 100% !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:right-auto {\n right: auto !important;\n }\n .md\\:right-0 {\n right: 0px !important;\n }\n .md\\:right-50 {\n right: 50% !important;\n }\n .md\\:right-100 {\n right: 100% !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:right-auto {\n right: auto !important;\n }\n .lg\\:right-0 {\n right: 0px !important;\n }\n .lg\\:right-50 {\n right: 50% !important;\n }\n .lg\\:right-100 {\n right: 100% !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:right-auto {\n right: auto !important;\n }\n .xl\\:right-0 {\n right: 0px !important;\n }\n .xl\\:right-50 {\n right: 50% !important;\n }\n .xl\\:right-100 {\n right: 100% !important;\n }\n}\n.bottom-auto {\n bottom: auto !important;\n}\n\n.bottom-0 {\n bottom: 0px !important;\n}\n\n.bottom-50 {\n bottom: 50% !important;\n}\n\n.bottom-100 {\n bottom: 100% !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:bottom-auto {\n bottom: auto !important;\n }\n .sm\\:bottom-0 {\n bottom: 0px !important;\n }\n .sm\\:bottom-50 {\n bottom: 50% !important;\n }\n .sm\\:bottom-100 {\n bottom: 100% !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:bottom-auto {\n bottom: auto !important;\n }\n .md\\:bottom-0 {\n bottom: 0px !important;\n }\n .md\\:bottom-50 {\n bottom: 50% !important;\n }\n .md\\:bottom-100 {\n bottom: 100% !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:bottom-auto {\n bottom: auto !important;\n }\n .lg\\:bottom-0 {\n bottom: 0px !important;\n }\n .lg\\:bottom-50 {\n bottom: 50% !important;\n }\n .lg\\:bottom-100 {\n bottom: 100% !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:bottom-auto {\n bottom: auto !important;\n }\n .xl\\:bottom-0 {\n bottom: 0px !important;\n }\n .xl\\:bottom-50 {\n bottom: 50% !important;\n }\n .xl\\:bottom-100 {\n bottom: 100% !important;\n }\n}\n.overflow-auto {\n overflow: auto !important;\n}\n\n.overflow-hidden {\n overflow: hidden !important;\n}\n\n.overflow-visible {\n overflow: visible !important;\n}\n\n.overflow-scroll {\n overflow: scroll !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:overflow-auto {\n overflow: auto !important;\n }\n .sm\\:overflow-hidden {\n overflow: hidden !important;\n }\n .sm\\:overflow-visible {\n overflow: visible !important;\n }\n .sm\\:overflow-scroll {\n overflow: scroll !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:overflow-auto {\n overflow: auto !important;\n }\n .md\\:overflow-hidden {\n overflow: hidden !important;\n }\n .md\\:overflow-visible {\n overflow: visible !important;\n }\n .md\\:overflow-scroll {\n overflow: scroll !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:overflow-auto {\n overflow: auto !important;\n }\n .lg\\:overflow-hidden {\n overflow: hidden !important;\n }\n .lg\\:overflow-visible {\n overflow: visible !important;\n }\n .lg\\:overflow-scroll {\n overflow: scroll !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:overflow-auto {\n overflow: auto !important;\n }\n .xl\\:overflow-hidden {\n overflow: hidden !important;\n }\n .xl\\:overflow-visible {\n overflow: visible !important;\n }\n .xl\\:overflow-scroll {\n overflow: scroll !important;\n }\n}\n.overflow-x-auto {\n overflow-x: auto !important;\n}\n\n.overflow-x-hidden {\n overflow-x: hidden !important;\n}\n\n.overflow-x-visible {\n overflow-x: visible !important;\n}\n\n.overflow-x-scroll {\n overflow-x: scroll !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:overflow-x-auto {\n overflow-x: auto !important;\n }\n .sm\\:overflow-x-hidden {\n overflow-x: hidden !important;\n }\n .sm\\:overflow-x-visible {\n overflow-x: visible !important;\n }\n .sm\\:overflow-x-scroll {\n overflow-x: scroll !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:overflow-x-auto {\n overflow-x: auto !important;\n }\n .md\\:overflow-x-hidden {\n overflow-x: hidden !important;\n }\n .md\\:overflow-x-visible {\n overflow-x: visible !important;\n }\n .md\\:overflow-x-scroll {\n overflow-x: scroll !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:overflow-x-auto {\n overflow-x: auto !important;\n }\n .lg\\:overflow-x-hidden {\n overflow-x: hidden !important;\n }\n .lg\\:overflow-x-visible {\n overflow-x: visible !important;\n }\n .lg\\:overflow-x-scroll {\n overflow-x: scroll !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:overflow-x-auto {\n overflow-x: auto !important;\n }\n .xl\\:overflow-x-hidden {\n overflow-x: hidden !important;\n }\n .xl\\:overflow-x-visible {\n overflow-x: visible !important;\n }\n .xl\\:overflow-x-scroll {\n overflow-x: scroll !important;\n }\n}\n.overflow-y-auto {\n overflow-y: auto !important;\n}\n\n.overflow-y-hidden {\n overflow-y: hidden !important;\n}\n\n.overflow-y-visible {\n overflow-y: visible !important;\n}\n\n.overflow-y-scroll {\n overflow-y: scroll !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:overflow-y-auto {\n overflow-y: auto !important;\n }\n .sm\\:overflow-y-hidden {\n overflow-y: hidden !important;\n }\n .sm\\:overflow-y-visible {\n overflow-y: visible !important;\n }\n .sm\\:overflow-y-scroll {\n overflow-y: scroll !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:overflow-y-auto {\n overflow-y: auto !important;\n }\n .md\\:overflow-y-hidden {\n overflow-y: hidden !important;\n }\n .md\\:overflow-y-visible {\n overflow-y: visible !important;\n }\n .md\\:overflow-y-scroll {\n overflow-y: scroll !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:overflow-y-auto {\n overflow-y: auto !important;\n }\n .lg\\:overflow-y-hidden {\n overflow-y: hidden !important;\n }\n .lg\\:overflow-y-visible {\n overflow-y: visible !important;\n }\n .lg\\:overflow-y-scroll {\n overflow-y: scroll !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:overflow-y-auto {\n overflow-y: auto !important;\n }\n .xl\\:overflow-y-hidden {\n overflow-y: hidden !important;\n }\n .xl\\:overflow-y-visible {\n overflow-y: visible !important;\n }\n .xl\\:overflow-y-scroll {\n overflow-y: scroll !important;\n }\n}\n.z-auto {\n z-index: auto !important;\n}\n\n.z-0 {\n z-index: 0 !important;\n}\n\n.z-1 {\n z-index: 1 !important;\n}\n\n.z-2 {\n z-index: 2 !important;\n}\n\n.z-3 {\n z-index: 3 !important;\n}\n\n.z-4 {\n z-index: 4 !important;\n}\n\n.z-5 {\n z-index: 5 !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:z-auto {\n z-index: auto !important;\n }\n .sm\\:z-0 {\n z-index: 0 !important;\n }\n .sm\\:z-1 {\n z-index: 1 !important;\n }\n .sm\\:z-2 {\n z-index: 2 !important;\n }\n .sm\\:z-3 {\n z-index: 3 !important;\n }\n .sm\\:z-4 {\n z-index: 4 !important;\n }\n .sm\\:z-5 {\n z-index: 5 !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:z-auto {\n z-index: auto !important;\n }\n .md\\:z-0 {\n z-index: 0 !important;\n }\n .md\\:z-1 {\n z-index: 1 !important;\n }\n .md\\:z-2 {\n z-index: 2 !important;\n }\n .md\\:z-3 {\n z-index: 3 !important;\n }\n .md\\:z-4 {\n z-index: 4 !important;\n }\n .md\\:z-5 {\n z-index: 5 !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:z-auto {\n z-index: auto !important;\n }\n .lg\\:z-0 {\n z-index: 0 !important;\n }\n .lg\\:z-1 {\n z-index: 1 !important;\n }\n .lg\\:z-2 {\n z-index: 2 !important;\n }\n .lg\\:z-3 {\n z-index: 3 !important;\n }\n .lg\\:z-4 {\n z-index: 4 !important;\n }\n .lg\\:z-5 {\n z-index: 5 !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:z-auto {\n z-index: auto !important;\n }\n .xl\\:z-0 {\n z-index: 0 !important;\n }\n .xl\\:z-1 {\n z-index: 1 !important;\n }\n .xl\\:z-2 {\n z-index: 2 !important;\n }\n .xl\\:z-3 {\n z-index: 3 !important;\n }\n .xl\\:z-4 {\n z-index: 4 !important;\n }\n .xl\\:z-5 {\n z-index: 5 !important;\n }\n}\n.bg-repeat {\n background-repeat: repeat !important;\n}\n\n.bg-no-repeat {\n background-repeat: no-repeat !important;\n}\n\n.bg-repeat-x {\n background-repeat: repeat-x !important;\n}\n\n.bg-repeat-y {\n background-repeat: repeat-y !important;\n}\n\n.bg-repeat-round {\n background-repeat: round !important;\n}\n\n.bg-repeat-space {\n background-repeat: space !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:bg-repeat {\n background-repeat: repeat !important;\n }\n .sm\\:bg-no-repeat {\n background-repeat: no-repeat !important;\n }\n .sm\\:bg-repeat-x {\n background-repeat: repeat-x !important;\n }\n .sm\\:bg-repeat-y {\n background-repeat: repeat-y !important;\n }\n .sm\\:bg-repeat-round {\n background-repeat: round !important;\n }\n .sm\\:bg-repeat-space {\n background-repeat: space !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:bg-repeat {\n background-repeat: repeat !important;\n }\n .md\\:bg-no-repeat {\n background-repeat: no-repeat !important;\n }\n .md\\:bg-repeat-x {\n background-repeat: repeat-x !important;\n }\n .md\\:bg-repeat-y {\n background-repeat: repeat-y !important;\n }\n .md\\:bg-repeat-round {\n background-repeat: round !important;\n }\n .md\\:bg-repeat-space {\n background-repeat: space !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:bg-repeat {\n background-repeat: repeat !important;\n }\n .lg\\:bg-no-repeat {\n background-repeat: no-repeat !important;\n }\n .lg\\:bg-repeat-x {\n background-repeat: repeat-x !important;\n }\n .lg\\:bg-repeat-y {\n background-repeat: repeat-y !important;\n }\n .lg\\:bg-repeat-round {\n background-repeat: round !important;\n }\n .lg\\:bg-repeat-space {\n background-repeat: space !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:bg-repeat {\n background-repeat: repeat !important;\n }\n .xl\\:bg-no-repeat {\n background-repeat: no-repeat !important;\n }\n .xl\\:bg-repeat-x {\n background-repeat: repeat-x !important;\n }\n .xl\\:bg-repeat-y {\n background-repeat: repeat-y !important;\n }\n .xl\\:bg-repeat-round {\n background-repeat: round !important;\n }\n .xl\\:bg-repeat-space {\n background-repeat: space !important;\n }\n}\n.bg-auto {\n background-size: auto !important;\n}\n\n.bg-cover {\n background-size: cover !important;\n}\n\n.bg-contain {\n background-size: contain !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:bg-auto {\n background-size: auto !important;\n }\n .sm\\:bg-cover {\n background-size: cover !important;\n }\n .sm\\:bg-contain {\n background-size: contain !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:bg-auto {\n background-size: auto !important;\n }\n .md\\:bg-cover {\n background-size: cover !important;\n }\n .md\\:bg-contain {\n background-size: contain !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:bg-auto {\n background-size: auto !important;\n }\n .lg\\:bg-cover {\n background-size: cover !important;\n }\n .lg\\:bg-contain {\n background-size: contain !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:bg-auto {\n background-size: auto !important;\n }\n .xl\\:bg-cover {\n background-size: cover !important;\n }\n .xl\\:bg-contain {\n background-size: contain !important;\n }\n}\n.bg-bottom {\n background-position: bottom !important;\n}\n\n.bg-center {\n background-position: center !important;\n}\n\n.bg-left {\n background-position: left !important;\n}\n\n.bg-left-bottom {\n background-position: left bottom !important;\n}\n\n.bg-left-top {\n background-position: left top !important;\n}\n\n.bg-right {\n background-position: right !important;\n}\n\n.bg-right-bottom {\n background-position: right bottom !important;\n}\n\n.bg-right-top {\n background-position: right top !important;\n}\n\n.bg-top {\n background-position: top !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:bg-bottom {\n background-position: bottom !important;\n }\n .sm\\:bg-center {\n background-position: center !important;\n }\n .sm\\:bg-left {\n background-position: left !important;\n }\n .sm\\:bg-left-bottom {\n background-position: left bottom !important;\n }\n .sm\\:bg-left-top {\n background-position: left top !important;\n }\n .sm\\:bg-right {\n background-position: right !important;\n }\n .sm\\:bg-right-bottom {\n background-position: right bottom !important;\n }\n .sm\\:bg-right-top {\n background-position: right top !important;\n }\n .sm\\:bg-top {\n background-position: top !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:bg-bottom {\n background-position: bottom !important;\n }\n .md\\:bg-center {\n background-position: center !important;\n }\n .md\\:bg-left {\n background-position: left !important;\n }\n .md\\:bg-left-bottom {\n background-position: left bottom !important;\n }\n .md\\:bg-left-top {\n background-position: left top !important;\n }\n .md\\:bg-right {\n background-position: right !important;\n }\n .md\\:bg-right-bottom {\n background-position: right bottom !important;\n }\n .md\\:bg-right-top {\n background-position: right top !important;\n }\n .md\\:bg-top {\n background-position: top !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:bg-bottom {\n background-position: bottom !important;\n }\n .lg\\:bg-center {\n background-position: center !important;\n }\n .lg\\:bg-left {\n background-position: left !important;\n }\n .lg\\:bg-left-bottom {\n background-position: left bottom !important;\n }\n .lg\\:bg-left-top {\n background-position: left top !important;\n }\n .lg\\:bg-right {\n background-position: right !important;\n }\n .lg\\:bg-right-bottom {\n background-position: right bottom !important;\n }\n .lg\\:bg-right-top {\n background-position: right top !important;\n }\n .lg\\:bg-top {\n background-position: top !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:bg-bottom {\n background-position: bottom !important;\n }\n .xl\\:bg-center {\n background-position: center !important;\n }\n .xl\\:bg-left {\n background-position: left !important;\n }\n .xl\\:bg-left-bottom {\n background-position: left bottom !important;\n }\n .xl\\:bg-left-top {\n background-position: left top !important;\n }\n .xl\\:bg-right {\n background-position: right !important;\n }\n .xl\\:bg-right-bottom {\n background-position: right bottom !important;\n }\n .xl\\:bg-right-top {\n background-position: right top !important;\n }\n .xl\\:bg-top {\n background-position: top !important;\n }\n}\n.select-none {\n -webkit-user-select: none !important;\n -moz-user-select: none !important;\n -ms-user-select: none !important;\n user-select: none !important;\n}\n\n.select-text {\n -webkit-user-select: text !important;\n -moz-user-select: text !important;\n -ms-user-select: text !important;\n user-select: text !important;\n}\n\n.select-all {\n -webkit-user-select: all !important;\n -moz-user-select: all !important;\n user-select: all !important;\n}\n\n.select-auto {\n -webkit-user-select: auto !important;\n -moz-user-select: auto !important;\n -ms-user-select: auto !important;\n user-select: auto !important;\n}\n\n.list-none {\n list-style: none !important;\n}\n\n.list-disc {\n list-style: disc !important;\n}\n\n.list-decimal {\n list-style: decimal !important;\n}\n\n.appearance-none {\n -webkit-appearance: none !important;\n -moz-appearance: none !important;\n appearance: none !important;\n}\n\n.outline-none {\n outline: none !important;\n}\n\n.pointer-events-none {\n pointer-events: none !important;\n}\n\n.pointer-events-auto {\n pointer-events: auto !important;\n}\n\n.cursor-auto {\n cursor: auto !important;\n}\n\n.cursor-pointer {\n cursor: pointer !important;\n}\n\n.cursor-wait {\n cursor: wait !important;\n}\n\n.cursor-move {\n cursor: move !important;\n}\n\n.select-none {\n -webkit-user-select: none !important;\n -moz-user-select: none !important;\n -ms-user-select: none !important;\n user-select: none !important;\n}\n\n.select-text {\n -webkit-user-select: text !important;\n -moz-user-select: text !important;\n -ms-user-select: text !important;\n user-select: text !important;\n}\n\n.select-all {\n -webkit-user-select: all !important;\n -moz-user-select: all !important;\n user-select: all !important;\n}\n\n.select-auto {\n -webkit-user-select: auto !important;\n -moz-user-select: auto !important;\n -ms-user-select: auto !important;\n user-select: auto !important;\n}\n\n.opacity-0 {\n opacity: 0 !important;\n}\n\n.opacity-10 {\n opacity: .1 !important;\n}\n\n.opacity-20 {\n opacity: .2 !important;\n}\n\n.opacity-30 {\n opacity: .3 !important;\n}\n\n.opacity-40 {\n opacity: .4 !important;\n}\n\n.opacity-50 {\n opacity: .5 !important;\n}\n\n.opacity-60 {\n opacity: .6 !important;\n}\n\n.opacity-70 {\n opacity: .7 !important;\n}\n\n.opacity-80 {\n opacity: .8 !important;\n}\n\n.opacity-90 {\n opacity: .9 !important;\n}\n\n.opacity-100 {\n opacity: 1 !important;\n}\n\n.transition-none {\n transition-property: none !important;\n}\n\n.transition-all {\n transition-property: all !important;\n}\n\n.transition-colors {\n transition-property: background-color,border-color,color !important;\n}\n\n.transition-transform {\n transition-property: transform !important;\n}\n\n.transition-duration-100 {\n transition-duration: 100ms !important;\n}\n\n.transition-duration-150 {\n transition-duration: 150ms !important;\n}\n\n.transition-duration-200 {\n transition-duration: 200ms !important;\n}\n\n.transition-duration-300 {\n transition-duration: 300ms !important;\n}\n\n.transition-duration-400 {\n transition-duration: 400ms !important;\n}\n\n.transition-duration-500 {\n transition-duration: 500ms !important;\n}\n\n.transition-duration-1000 {\n transition-duration: 1000ms !important;\n}\n\n.transition-duration-2000 {\n transition-duration: 2000ms !important;\n}\n\n.transition-duration-3000 {\n transition-duration: 3000ms !important;\n}\n\n.transition-linear {\n transition-timing-function: linear !important;\n}\n\n.transition-ease-in {\n transition-timing-function: cubic-bezier(0.4, 0, 1, 1) !important;\n}\n\n.transition-ease-out {\n transition-timing-function: cubic-bezier(0, 0, 0.2, 1) !important;\n}\n\n.transition-ease-in-out {\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n}\n\n.transition-delay-100 {\n transition-delay: 100ms !important;\n}\n\n.transition-delay-150 {\n transition-delay: 150ms !important;\n}\n\n.transition-delay-200 {\n transition-delay: 200ms !important;\n}\n\n.transition-delay-300 {\n transition-delay: 300ms !important;\n}\n\n.transition-delay-400 {\n transition-delay: 400ms !important;\n}\n\n.transition-delay-500 {\n transition-delay: 500ms !important;\n}\n\n.transition-delay-1000 {\n transition-delay: 1000ms !important;\n}\n\n.translate-x-0 {\n transform: translateX(0%) !important;\n}\n\n.translate-x-100 {\n transform: translateX(100%) !important;\n}\n\n.-translate-x-100 {\n transform: translateX(-100%) !important;\n}\n\n.translate-y-0 {\n transform: translateY(0%) !important;\n}\n\n.translate-y-100 {\n transform: translateY(100%) !important;\n}\n\n.-translate-y-100 {\n transform: translateY(-100%) !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:translate-x-0 {\n transform: translateX(0%) !important;\n }\n .sm\\:translate-x-100 {\n transform: translateX(100%) !important;\n }\n .sm\\:-translate-x-100 {\n transform: translateX(-100%) !important;\n }\n .sm\\:translate-y-0 {\n transform: translateY(0%) !important;\n }\n .sm\\:translate-y-100 {\n transform: translateY(100%) !important;\n }\n .sm\\:-translate-y-100 {\n transform: translateY(-100%) !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:translate-x-0 {\n transform: translateX(0%) !important;\n }\n .md\\:translate-x-100 {\n transform: translateX(100%) !important;\n }\n .md\\:-translate-x-100 {\n transform: translateX(-100%) !important;\n }\n .md\\:translate-y-0 {\n transform: translateY(0%) !important;\n }\n .md\\:translate-y-100 {\n transform: translateY(100%) !important;\n }\n .md\\:-translate-y-100 {\n transform: translateY(-100%) !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:translate-x-0 {\n transform: translateX(0%) !important;\n }\n .lg\\:translate-x-100 {\n transform: translateX(100%) !important;\n }\n .lg\\:-translate-x-100 {\n transform: translateX(-100%) !important;\n }\n .lg\\:translate-y-0 {\n transform: translateY(0%) !important;\n }\n .lg\\:translate-y-100 {\n transform: translateY(100%) !important;\n }\n .lg\\:-translate-y-100 {\n transform: translateY(-100%) !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:translate-x-0 {\n transform: translateX(0%) !important;\n }\n .xl\\:translate-x-100 {\n transform: translateX(100%) !important;\n }\n .xl\\:-translate-x-100 {\n transform: translateX(-100%) !important;\n }\n .xl\\:translate-y-0 {\n transform: translateY(0%) !important;\n }\n .xl\\:translate-y-100 {\n transform: translateY(100%) !important;\n }\n .xl\\:-translate-y-100 {\n transform: translateY(-100%) !important;\n }\n}\n.rotate-45 {\n transform: rotate(45deg) !important;\n}\n\n.-rotate-45 {\n transform: rotate(-45deg) !important;\n}\n\n.rotate-90 {\n transform: rotate(90deg) !important;\n}\n\n.-rotate-90 {\n transform: rotate(-90deg) !important;\n}\n\n.rotate-180 {\n transform: rotate(180deg) !important;\n}\n\n.-rotate-180 {\n transform: rotate(-180deg) !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:rotate-45 {\n transform: rotate(45deg) !important;\n }\n .sm\\:-rotate-45 {\n transform: rotate(-45deg) !important;\n }\n .sm\\:rotate-90 {\n transform: rotate(90deg) !important;\n }\n .sm\\:-rotate-90 {\n transform: rotate(-90deg) !important;\n }\n .sm\\:rotate-180 {\n transform: rotate(180deg) !important;\n }\n .sm\\:-rotate-180 {\n transform: rotate(-180deg) !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:rotate-45 {\n transform: rotate(45deg) !important;\n }\n .md\\:-rotate-45 {\n transform: rotate(-45deg) !important;\n }\n .md\\:rotate-90 {\n transform: rotate(90deg) !important;\n }\n .md\\:-rotate-90 {\n transform: rotate(-90deg) !important;\n }\n .md\\:rotate-180 {\n transform: rotate(180deg) !important;\n }\n .md\\:-rotate-180 {\n transform: rotate(-180deg) !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:rotate-45 {\n transform: rotate(45deg) !important;\n }\n .lg\\:-rotate-45 {\n transform: rotate(-45deg) !important;\n }\n .lg\\:rotate-90 {\n transform: rotate(90deg) !important;\n }\n .lg\\:-rotate-90 {\n transform: rotate(-90deg) !important;\n }\n .lg\\:rotate-180 {\n transform: rotate(180deg) !important;\n }\n .lg\\:-rotate-180 {\n transform: rotate(-180deg) !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:rotate-45 {\n transform: rotate(45deg) !important;\n }\n .xl\\:-rotate-45 {\n transform: rotate(-45deg) !important;\n }\n .xl\\:rotate-90 {\n transform: rotate(90deg) !important;\n }\n .xl\\:-rotate-90 {\n transform: rotate(-90deg) !important;\n }\n .xl\\:rotate-180 {\n transform: rotate(180deg) !important;\n }\n .xl\\:-rotate-180 {\n transform: rotate(-180deg) !important;\n }\n}\n.origin-center {\n transform-origin: center !important;\n}\n\n.origin-top {\n transform-origin: top !important;\n}\n\n.origin-top-right {\n transform-origin: top right !important;\n}\n\n.origin-right {\n transform-origin: right !important;\n}\n\n.origin-bottom-right {\n transform-origin: bottom right !important;\n}\n\n.origin-bottom {\n transform-origin: bottom !important;\n}\n\n.origin-bottom-left {\n transform-origin: bottom left !important;\n}\n\n.origin-left {\n transform-origin: left !important;\n}\n\n.origin-top-left {\n transform-origin: top-left !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:origin-center {\n transform-origin: center !important;\n }\n .sm\\:origin-top {\n transform-origin: top !important;\n }\n .sm\\:origin-top-right {\n transform-origin: top right !important;\n }\n .sm\\:origin-right {\n transform-origin: right !important;\n }\n .sm\\:origin-bottom-right {\n transform-origin: bottom right !important;\n }\n .sm\\:origin-bottom {\n transform-origin: bottom !important;\n }\n .sm\\:origin-bottom-left {\n transform-origin: bottom left !important;\n }\n .sm\\:origin-left {\n transform-origin: left !important;\n }\n .sm\\:origin-top-left {\n transform-origin: top-left !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:origin-center {\n transform-origin: center !important;\n }\n .md\\:origin-top {\n transform-origin: top !important;\n }\n .md\\:origin-top-right {\n transform-origin: top right !important;\n }\n .md\\:origin-right {\n transform-origin: right !important;\n }\n .md\\:origin-bottom-right {\n transform-origin: bottom right !important;\n }\n .md\\:origin-bottom {\n transform-origin: bottom !important;\n }\n .md\\:origin-bottom-left {\n transform-origin: bottom left !important;\n }\n .md\\:origin-left {\n transform-origin: left !important;\n }\n .md\\:origin-top-left {\n transform-origin: top-left !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:origin-center {\n transform-origin: center !important;\n }\n .lg\\:origin-top {\n transform-origin: top !important;\n }\n .lg\\:origin-top-right {\n transform-origin: top right !important;\n }\n .lg\\:origin-right {\n transform-origin: right !important;\n }\n .lg\\:origin-bottom-right {\n transform-origin: bottom right !important;\n }\n .lg\\:origin-bottom {\n transform-origin: bottom !important;\n }\n .lg\\:origin-bottom-left {\n transform-origin: bottom left !important;\n }\n .lg\\:origin-left {\n transform-origin: left !important;\n }\n .lg\\:origin-top-left {\n transform-origin: top-left !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:origin-center {\n transform-origin: center !important;\n }\n .xl\\:origin-top {\n transform-origin: top !important;\n }\n .xl\\:origin-top-right {\n transform-origin: top right !important;\n }\n .xl\\:origin-right {\n transform-origin: right !important;\n }\n .xl\\:origin-bottom-right {\n transform-origin: bottom right !important;\n }\n .xl\\:origin-bottom {\n transform-origin: bottom !important;\n }\n .xl\\:origin-bottom-left {\n transform-origin: bottom left !important;\n }\n .xl\\:origin-left {\n transform-origin: left !important;\n }\n .xl\\:origin-top-left {\n transform-origin: top-left !important;\n }\n}\n@-webkit-keyframes fadein {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes fadein {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@-webkit-keyframes fadeout {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n}\n@keyframes fadeout {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n}\n@-webkit-keyframes scalein {\n 0% {\n opacity: 0;\n transform: scaleY(0.8);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 1;\n transform: scaleY(1);\n }\n}\n@keyframes scalein {\n 0% {\n opacity: 0;\n transform: scaleY(0.8);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 1;\n transform: scaleY(1);\n }\n}\n@-webkit-keyframes slidedown {\n 0% {\n max-height: 0;\n }\n 100% {\n max-height: auto;\n }\n}\n@keyframes slidedown {\n 0% {\n max-height: 0;\n }\n 100% {\n max-height: auto;\n }\n}\n@-webkit-keyframes slideup {\n 0% {\n max-height: 1000px;\n }\n 100% {\n max-height: 0;\n }\n}\n@keyframes slideup {\n 0% {\n max-height: 1000px;\n }\n 100% {\n max-height: 0;\n }\n}\n@-webkit-keyframes fadeinleft {\n 0% {\n opacity: 0;\n transform: translateX(-100%);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 1;\n transform: translateX(0%);\n }\n}\n@keyframes fadeinleft {\n 0% {\n opacity: 0;\n transform: translateX(-100%);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 1;\n transform: translateX(0%);\n }\n}\n@-webkit-keyframes fadeoutleft {\n 0% {\n opacity: 1;\n transform: translateX(0%);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 0;\n transform: translateX(-100%);\n }\n}\n@keyframes fadeoutleft {\n 0% {\n opacity: 1;\n transform: translateX(0%);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 0;\n transform: translateX(-100%);\n }\n}\n@-webkit-keyframes fadeinright {\n 0% {\n opacity: 0;\n transform: translateX(100%);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 1;\n transform: translateX(0%);\n }\n}\n@keyframes fadeinright {\n 0% {\n opacity: 0;\n transform: translateX(100%);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 1;\n transform: translateX(0%);\n }\n}\n@-webkit-keyframes fadeoutright {\n 0% {\n opacity: 1;\n transform: translateX(0%);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 0;\n transform: translateX(100%);\n }\n}\n@keyframes fadeoutright {\n 0% {\n opacity: 1;\n transform: translateX(0%);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 0;\n transform: translateX(100%);\n }\n}\n@-webkit-keyframes fadeinup {\n 0% {\n opacity: 0;\n transform: translateY(-100%);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 1;\n transform: translateY(0%);\n }\n}\n@keyframes fadeinup {\n 0% {\n opacity: 0;\n transform: translateY(-100%);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 1;\n transform: translateY(0%);\n }\n}\n@-webkit-keyframes fadeoutup {\n 0% {\n opacity: 1;\n transform: translateY(0%);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 0;\n transform: translateY(-100%);\n }\n}\n@keyframes fadeoutup {\n 0% {\n opacity: 1;\n transform: translateY(0%);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 0;\n transform: translateY(-100%);\n }\n}\n@-webkit-keyframes fadeindown {\n 0% {\n opacity: 0;\n transform: translateY(100%);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 1;\n transform: translateY(0%);\n }\n}\n@keyframes fadeindown {\n 0% {\n opacity: 0;\n transform: translateY(100%);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 1;\n transform: translateY(0%);\n }\n}\n@-webkit-keyframes fadeoutdown {\n 0% {\n opacity: 1;\n transform: translateY(0%);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 0;\n transform: translateY(100%);\n }\n}\n@keyframes fadeoutdown {\n 0% {\n opacity: 1;\n transform: translateY(0%);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 0;\n transform: translateY(100%);\n }\n}\n@-webkit-keyframes animate-width {\n 0% {\n width: 0;\n }\n 100% {\n width: 100%;\n }\n}\n@keyframes animate-width {\n 0% {\n width: 0;\n }\n 100% {\n width: 100%;\n }\n}\n.fadein {\n -webkit-animation: fadein 0.15s linear;\n animation: fadein 0.15s linear;\n}\n\n.fadeout {\n -webkit-animation: fadeout 0.15s linear;\n animation: fadeout 0.15s linear;\n}\n\n.slidedown {\n -webkit-animation: slidedown 0.45s ease-in-out;\n animation: slidedown 0.45s ease-in-out;\n}\n\n.slideup {\n -webkit-animation: slideup 0.45s cubic-bezier(0, 1, 0, 1);\n animation: slideup 0.45s cubic-bezier(0, 1, 0, 1);\n}\n\n.scalein {\n -webkit-animation: scalein 0.15s linear;\n animation: scalein 0.15s linear;\n}\n\n.fadeinleft {\n -webkit-animation: fadeinleft 0.15s linear;\n animation: fadeinleft 0.15s linear;\n}\n\n.fadeoutleft {\n -webkit-animation: fadeoutleft 0.15s linear;\n animation: fadeoutleft 0.15s linear;\n}\n\n.fadeinright {\n -webkit-animation: fadeinright 0.15s linear;\n animation: fadeinright 0.15s linear;\n}\n\n.fadeoutright {\n -webkit-animation: fadeoutright 0.15s linear;\n animation: fadeoutright 0.15s linear;\n}\n\n.fadeinup {\n -webkit-animation: fadeinup 0.15s linear;\n animation: fadeinup 0.15s linear;\n}\n\n.fadeoutup {\n -webkit-animation: fadeoutup 0.15s linear;\n animation: fadeoutup 0.15s linear;\n}\n\n.fadeindown {\n -webkit-animation: fadeindown 0.15s linear;\n animation: fadeindown 0.15s linear;\n}\n\n.fadeoutdown {\n -webkit-animation: fadeoutdown 0.15s linear;\n animation: fadeoutdown 0.15s linear;\n}\n\n.animate-width {\n -webkit-animation: animate-width 1000ms linear;\n animation: animate-width 1000ms linear;\n}\n\n.animation-duration-100 {\n -webkit-animation-duration: 100ms !important;\n animation-duration: 100ms !important;\n}\n\n.animation-duration-150 {\n -webkit-animation-duration: 150ms !important;\n animation-duration: 150ms !important;\n}\n\n.animation-duration-200 {\n -webkit-animation-duration: 200ms !important;\n animation-duration: 200ms !important;\n}\n\n.animation-duration-300 {\n -webkit-animation-duration: 300ms !important;\n animation-duration: 300ms !important;\n}\n\n.animation-duration-400 {\n -webkit-animation-duration: 400ms !important;\n animation-duration: 400ms !important;\n}\n\n.animation-duration-500 {\n -webkit-animation-duration: 500ms !important;\n animation-duration: 500ms !important;\n}\n\n.animation-duration-1000 {\n -webkit-animation-duration: 1000ms !important;\n animation-duration: 1000ms !important;\n}\n\n.animation-duration-2000 {\n -webkit-animation-duration: 2000ms !important;\n animation-duration: 2000ms !important;\n}\n\n.animation-duration-3000 {\n -webkit-animation-duration: 3000ms !important;\n animation-duration: 3000ms !important;\n}\n\n.animation-delay-100 {\n -webkit-animation-delay: 100ms !important;\n animation-delay: 100ms !important;\n}\n\n.animation-delay-150 {\n -webkit-animation-delay: 150ms !important;\n animation-delay: 150ms !important;\n}\n\n.animation-delay-200 {\n -webkit-animation-delay: 200ms !important;\n animation-delay: 200ms !important;\n}\n\n.animation-delay-300 {\n -webkit-animation-delay: 300ms !important;\n animation-delay: 300ms !important;\n}\n\n.animation-delay-400 {\n -webkit-animation-delay: 400ms !important;\n animation-delay: 400ms !important;\n}\n\n.animation-delay-500 {\n -webkit-animation-delay: 500ms !important;\n animation-delay: 500ms !important;\n}\n\n.animation-delay-1000 {\n -webkit-animation-delay: 1000ms !important;\n animation-delay: 1000ms !important;\n}\n\n.animation-iteration-1 {\n -webkit-animation-iteration-count: 1 !important;\n animation-iteration-count: 1 !important;\n}\n\n.animation-iteration-2 {\n -webkit-animation-iteration-count: 2 !important;\n animation-iteration-count: 2 !important;\n}\n\n.animation-iteration-infinite {\n -webkit-animation-iteration-count: infinite !important;\n animation-iteration-count: infinite !important;\n}\n\n.animation-linear {\n -webkit-animation-timing-function: linear !important;\n animation-timing-function: linear !important;\n}\n\n.animation-ease-in {\n -webkit-animation-timing-function: cubic-bezier(0.4, 0, 1, 1) !important;\n animation-timing-function: cubic-bezier(0.4, 0, 1, 1) !important;\n}\n\n.animation-ease-out {\n -webkit-animation-timing-function: cubic-bezier(0, 0, 0.2, 1) !important;\n animation-timing-function: cubic-bezier(0, 0, 0.2, 1) !important;\n}\n\n.animation-ease-in-out {\n -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n}\n\n.animation-fill-none {\n -webkit-animation-fill-mode: none !important;\n animation-fill-mode: none !important;\n}\n\n.animation-fill-forwards {\n -webkit-animation-fill-mode: forwards !important;\n animation-fill-mode: forwards !important;\n}\n\n.animation-fill-backwards {\n -webkit-animation-fill-mode: backwards !important;\n animation-fill-mode: backwards !important;\n}\n\n.animation-fill-both {\n -webkit-animation-fill-mode: both !important;\n animation-fill-mode: both !important;\n}\n", ""]);
  19633. // Exports
  19634. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  19635. /***/ }),
  19636. /***/ "./node_modules/css-loader/dist/cjs.js??clonedRuleSet-8.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-8.use[2]!./node_modules/primeicons/primeicons.css":
  19637. /*!********************************************************************************************************************************************************************************!*\
  19638. !*** ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-8.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-8.use[2]!./node_modules/primeicons/primeicons.css ***!
  19639. \********************************************************************************************************************************************************************************/
  19640. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  19641. "use strict";
  19642. __webpack_require__.r(__webpack_exports__);
  19643. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  19644. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  19645. /* harmony export */ });
  19646. /* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js");
  19647. /* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);
  19648. /* harmony import */ var _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../css-loader/dist/runtime/getUrl.js */ "./node_modules/css-loader/dist/runtime/getUrl.js");
  19649. /* harmony import */ var _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1__);
  19650. /* harmony import */ var _fonts_primeicons_eot__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fonts/primeicons.eot */ "./node_modules/primeicons/fonts/primeicons.eot");
  19651. /* harmony import */ var _fonts_primeicons_ttf__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./fonts/primeicons.ttf */ "./node_modules/primeicons/fonts/primeicons.ttf");
  19652. /* harmony import */ var _fonts_primeicons_woff__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./fonts/primeicons.woff */ "./node_modules/primeicons/fonts/primeicons.woff");
  19653. /* harmony import */ var _fonts_primeicons_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./fonts/primeicons.svg */ "./node_modules/primeicons/fonts/primeicons.svg");
  19654. // Imports
  19655. var ___CSS_LOADER_EXPORT___ = _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
  19656. var ___CSS_LOADER_URL_REPLACEMENT_0___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default()(_fonts_primeicons_eot__WEBPACK_IMPORTED_MODULE_2__["default"]);
  19657. var ___CSS_LOADER_URL_REPLACEMENT_1___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default()(_fonts_primeicons_eot__WEBPACK_IMPORTED_MODULE_2__["default"], { hash: "?#iefix" });
  19658. var ___CSS_LOADER_URL_REPLACEMENT_2___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default()(_fonts_primeicons_ttf__WEBPACK_IMPORTED_MODULE_3__["default"]);
  19659. var ___CSS_LOADER_URL_REPLACEMENT_3___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default()(_fonts_primeicons_woff__WEBPACK_IMPORTED_MODULE_4__["default"]);
  19660. var ___CSS_LOADER_URL_REPLACEMENT_4___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default()(_fonts_primeicons_svg__WEBPACK_IMPORTED_MODULE_5__["default"], { hash: "?#primeicons" });
  19661. // Module
  19662. ___CSS_LOADER_EXPORT___.push([module.id, "@font-face {\n font-family: 'primeicons';\n font-display: block;\n src: url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");\n src: url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ") format('embedded-opentype'), url(" + ___CSS_LOADER_URL_REPLACEMENT_2___ + ") format('truetype'), url(" + ___CSS_LOADER_URL_REPLACEMENT_3___ + ") format('woff'), url(" + ___CSS_LOADER_URL_REPLACEMENT_4___ + ") format('svg');\n font-weight: normal;\n font-style: normal;\n}\n\n.pi {\n font-family: 'primeicons';\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n display: inline-block;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.pi:before {\n --webkit-backface-visibility:hidden;\n -webkit-backface-visibility: hidden;\n backface-visibility: hidden;\n}\n\n.pi-fw {\n width: 1.28571429em;\n text-align: center;\n}\n\n.pi-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(359deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(359deg);\n }\n}\n\n.pi-sort-alt-slash:before {\n content: \"\\e9ee\";\n}\n\n.pi-arrows-h:before {\n content: \"\\e9ec\";\n}\n\n.pi-arrows-v:before {\n content: \"\\e9ed\";\n}\n\n.pi-pound:before {\n content: \"\\e9eb\";\n}\n\n.pi-prime:before {\n content: \"\\e9ea\";\n}\n\n.pi-chart-pie:before {\n content: \"\\e9e9\";\n}\n\n.pi-reddit:before {\n content: \"\\e9e8\";\n}\n\n.pi-code:before {\n content: \"\\e9e7\";\n}\n\n.pi-sync:before {\n content: \"\\e9e6\";\n}\n\n.pi-shopping-bag:before {\n content: \"\\e9e5\";\n}\n\n.pi-server:before {\n content: \"\\e9e4\";\n}\n\n.pi-database:before {\n content: \"\\e9e3\";\n}\n\n.pi-hashtag:before {\n content: \"\\e9e2\";\n}\n\n.pi-bookmark-fill:before {\n content: \"\\e9df\";\n}\n\n.pi-filter-fill:before {\n content: \"\\e9e0\";\n}\n\n.pi-heart-fill:before {\n content: \"\\e9e1\";\n}\n\n.pi-flag-fill:before {\n content: \"\\e9de\";\n}\n\n.pi-circle:before {\n content: \"\\e9dc\";\n}\n\n.pi-circle-fill:before {\n content: \"\\e9dd\";\n}\n\n.pi-bolt:before {\n content: \"\\e9db\";\n}\n\n.pi-history:before {\n content: \"\\e9da\";\n}\n\n.pi-box:before {\n content: \"\\e9d9\";\n}\n\n.pi-at:before {\n content: \"\\e9d8\";\n}\n\n.pi-arrow-up-right:before {\n content: \"\\e9d4\";\n}\n\n.pi-arrow-up-left:before {\n content: \"\\e9d5\";\n}\n\n.pi-arrow-down-left:before {\n content: \"\\e9d6\";\n}\n\n.pi-arrow-down-right:before {\n content: \"\\e9d7\";\n}\n\n.pi-telegram:before {\n content: \"\\e9d3\";\n}\n\n.pi-stop-circle:before {\n content: \"\\e9d2\";\n}\n\n.pi-stop:before {\n content: \"\\e9d1\";\n}\n\n.pi-whatsapp:before {\n content: \"\\e9d0\";\n}\n\n.pi-building:before {\n content: \"\\e9cf\";\n}\n\n.pi-qrcode:before {\n content: \"\\e9ce\";\n}\n\n.pi-car:before {\n content: \"\\e9cd\";\n}\n\n.pi-instagram:before {\n content: \"\\e9cc\";\n}\n\n.pi-linkedin:before {\n content: \"\\e9cb\";\n}\n\n.pi-send:before {\n content: \"\\e9ca\";\n}\n\n.pi-slack:before {\n content: \"\\e9c9\";\n}\n\n.pi-sun:before {\n content: \"\\e9c8\";\n}\n\n.pi-moon:before {\n content: \"\\e9c7\";\n}\n\n.pi-vimeo:before {\n content: \"\\e9c6\";\n}\n\n.pi-youtube:before {\n content: \"\\e9c5\";\n}\n\n.pi-flag:before {\n content: \"\\e9c4\";\n}\n\n.pi-wallet:before {\n content: \"\\e9c3\";\n}\n\n.pi-map:before {\n content: \"\\e9c2\";\n}\n\n.pi-link:before {\n content: \"\\e9c1\";\n}\n\n.pi-credit-card:before {\n content: \"\\e9bf\";\n}\n\n.pi-discord:before {\n content: \"\\e9c0\";\n}\n\n.pi-percentage:before {\n content: \"\\e9be\";\n}\n\n.pi-euro:before {\n content: \"\\e9bd\";\n}\n\n.pi-book:before {\n content: \"\\e9ba\";\n}\n\n.pi-shield:before {\n content: \"\\e9b9\";\n}\n\n.pi-paypal:before {\n content: \"\\e9bb\";\n}\n\n.pi-amazon:before {\n content: \"\\e9bc\";\n}\n\n.pi-phone:before {\n content: \"\\e9b8\";\n}\n\n.pi-filter-slash:before {\n content: \"\\e9b7\";\n}\n\n.pi-facebook:before {\n content: \"\\e9b4\";\n}\n\n.pi-github:before {\n content: \"\\e9b5\";\n}\n\n.pi-twitter:before {\n content: \"\\e9b6\";\n}\n\n.pi-step-backward-alt:before {\n content: \"\\e9ac\";\n}\n\n.pi-step-forward-alt:before {\n content: \"\\e9ad\";\n}\n\n.pi-forward:before {\n content: \"\\e9ae\";\n}\n\n.pi-backward:before {\n content: \"\\e9af\";\n}\n\n.pi-fast-backward:before {\n content: \"\\e9b0\";\n}\n\n.pi-fast-forward:before {\n content: \"\\e9b1\";\n}\n\n.pi-pause:before {\n content: \"\\e9b2\";\n}\n\n.pi-play:before {\n content: \"\\e9b3\";\n}\n\n.pi-compass:before {\n content: \"\\e9ab\";\n}\n\n.pi-id-card:before {\n content: \"\\e9aa\";\n}\n\n.pi-ticket:before {\n content: \"\\e9a9\";\n}\n\n.pi-file-o:before {\n content: \"\\e9a8\";\n}\n\n.pi-reply:before {\n content: \"\\e9a7\";\n}\n\n.pi-directions-alt:before {\n content: \"\\e9a5\";\n}\n\n.pi-directions:before {\n content: \"\\e9a6\";\n}\n\n.pi-thumbs-up:before {\n content: \"\\e9a3\";\n}\n\n.pi-thumbs-down:before {\n content: \"\\e9a4\";\n}\n\n.pi-sort-numeric-down-alt:before {\n content: \"\\e996\";\n}\n\n.pi-sort-numeric-up-alt:before {\n content: \"\\e997\";\n}\n\n.pi-sort-alpha-down-alt:before {\n content: \"\\e998\";\n}\n\n.pi-sort-alpha-up-alt:before {\n content: \"\\e999\";\n}\n\n.pi-sort-numeric-down:before {\n content: \"\\e99a\";\n}\n\n.pi-sort-numeric-up:before {\n content: \"\\e99b\";\n}\n\n.pi-sort-alpha-down:before {\n content: \"\\e99c\";\n}\n\n.pi-sort-alpha-up:before {\n content: \"\\e99d\";\n}\n\n.pi-sort-alt:before {\n content: \"\\e99e\";\n}\n\n.pi-sort-amount-up:before {\n content: \"\\e99f\";\n}\n\n.pi-sort-amount-down:before {\n content: \"\\e9a0\";\n}\n\n.pi-sort-amount-down-alt:before {\n content: \"\\e9a1\";\n}\n\n.pi-sort-amount-up-alt:before {\n content: \"\\e9a2\";\n}\n\n.pi-palette:before {\n content: \"\\e995\";\n}\n\n.pi-undo:before {\n content: \"\\e994\";\n}\n\n.pi-desktop:before {\n content: \"\\e993\";\n}\n\n.pi-sliders-v:before {\n content: \"\\e991\";\n}\n\n.pi-sliders-h:before {\n content: \"\\e992\";\n}\n\n.pi-search-plus:before {\n content: \"\\e98f\";\n}\n\n.pi-search-minus:before {\n content: \"\\e990\";\n}\n\n.pi-file-excel:before {\n content: \"\\e98e\";\n}\n\n.pi-file-pdf:before {\n content: \"\\e98d\";\n}\n\n.pi-check-square:before {\n content: \"\\e98c\";\n}\n\n.pi-chart-line:before {\n content: \"\\e98b\";\n}\n\n.pi-user-edit:before {\n content: \"\\e98a\";\n}\n\n.pi-exclamation-circle:before {\n content: \"\\e989\";\n}\n\n.pi-android:before {\n content: \"\\e985\";\n}\n\n.pi-google:before {\n content: \"\\e986\";\n}\n\n.pi-apple:before {\n content: \"\\e987\";\n}\n\n.pi-microsoft:before {\n content: \"\\e988\";\n}\n\n.pi-heart:before {\n content: \"\\e984\";\n}\n\n.pi-mobile:before {\n content: \"\\e982\";\n}\n\n.pi-tablet:before {\n content: \"\\e983\";\n}\n\n.pi-key:before {\n content: \"\\e981\";\n}\n\n.pi-shopping-cart:before {\n content: \"\\e980\";\n}\n\n.pi-comments:before {\n content: \"\\e97e\";\n}\n\n.pi-comment:before {\n content: \"\\e97f\";\n}\n\n.pi-briefcase:before {\n content: \"\\e97d\";\n}\n\n.pi-bell:before {\n content: \"\\e97c\";\n}\n\n.pi-paperclip:before {\n content: \"\\e97b\";\n}\n\n.pi-share-alt:before {\n content: \"\\e97a\";\n}\n\n.pi-envelope:before {\n content: \"\\e979\";\n}\n\n.pi-volume-down:before {\n content: \"\\e976\";\n}\n\n.pi-volume-up:before {\n content: \"\\e977\";\n}\n\n.pi-volume-off:before {\n content: \"\\e978\";\n}\n\n.pi-eject:before {\n content: \"\\e975\";\n}\n\n.pi-money-bill:before {\n content: \"\\e974\";\n}\n\n.pi-images:before {\n content: \"\\e973\";\n}\n\n.pi-image:before {\n content: \"\\e972\";\n}\n\n.pi-sign-in:before {\n content: \"\\e970\";\n}\n\n.pi-sign-out:before {\n content: \"\\e971\";\n}\n\n.pi-wifi:before {\n content: \"\\e96f\";\n}\n\n.pi-sitemap:before {\n content: \"\\e96e\";\n}\n\n.pi-chart-bar:before {\n content: \"\\e96d\";\n}\n\n.pi-camera:before {\n content: \"\\e96c\";\n}\n\n.pi-dollar:before {\n content: \"\\e96b\";\n}\n\n.pi-lock-open:before {\n content: \"\\e96a\";\n}\n\n.pi-table:before {\n content: \"\\e969\";\n}\n\n.pi-map-marker:before {\n content: \"\\e968\";\n}\n\n.pi-list:before {\n content: \"\\e967\";\n}\n\n.pi-eye-slash:before {\n content: \"\\e965\";\n}\n\n.pi-eye:before {\n content: \"\\e966\";\n}\n\n.pi-folder-open:before {\n content: \"\\e964\";\n}\n\n.pi-folder:before {\n content: \"\\e963\";\n}\n\n.pi-video:before {\n content: \"\\e962\";\n}\n\n.pi-inbox:before {\n content: \"\\e961\";\n}\n\n.pi-lock:before {\n content: \"\\e95f\";\n}\n\n.pi-unlock:before {\n content: \"\\e960\";\n}\n\n.pi-tags:before {\n content: \"\\e95d\";\n}\n\n.pi-tag:before {\n content: \"\\e95e\";\n}\n\n.pi-power-off:before {\n content: \"\\e95c\";\n}\n\n.pi-save:before {\n content: \"\\e95b\";\n}\n\n.pi-question-circle:before {\n content: \"\\e959\";\n}\n\n.pi-question:before {\n content: \"\\e95a\";\n}\n\n.pi-copy:before {\n content: \"\\e957\";\n}\n\n.pi-file:before {\n content: \"\\e958\";\n}\n\n.pi-clone:before {\n content: \"\\e955\";\n}\n\n.pi-calendar-times:before {\n content: \"\\e952\";\n}\n\n.pi-calendar-minus:before {\n content: \"\\e953\";\n}\n\n.pi-calendar-plus:before {\n content: \"\\e954\";\n}\n\n.pi-ellipsis-v:before {\n content: \"\\e950\";\n}\n\n.pi-ellipsis-h:before {\n content: \"\\e951\";\n}\n\n.pi-bookmark:before {\n content: \"\\e94e\";\n}\n\n.pi-globe:before {\n content: \"\\e94f\";\n}\n\n.pi-replay:before {\n content: \"\\e94d\";\n}\n\n.pi-filter:before {\n content: \"\\e94c\";\n}\n\n.pi-print:before {\n content: \"\\e94b\";\n}\n\n.pi-align-right:before {\n content: \"\\e946\";\n}\n\n.pi-align-left:before {\n content: \"\\e947\";\n}\n\n.pi-align-center:before {\n content: \"\\e948\";\n}\n\n.pi-align-justify:before {\n content: \"\\e949\";\n}\n\n.pi-cog:before {\n content: \"\\e94a\";\n}\n\n.pi-cloud-download:before {\n content: \"\\e943\";\n}\n\n.pi-cloud-upload:before {\n content: \"\\e944\";\n}\n\n.pi-cloud:before {\n content: \"\\e945\";\n}\n\n.pi-pencil:before {\n content: \"\\e942\";\n}\n\n.pi-users:before {\n content: \"\\e941\";\n}\n\n.pi-clock:before {\n content: \"\\e940\";\n}\n\n.pi-user-minus:before {\n content: \"\\e93e\";\n}\n\n.pi-user-plus:before {\n content: \"\\e93f\";\n}\n\n.pi-trash:before {\n content: \"\\e93d\";\n}\n\n.pi-external-link:before {\n content: \"\\e93c\";\n}\n\n.pi-window-maximize:before {\n content: \"\\e93b\";\n}\n\n.pi-window-minimize:before {\n content: \"\\e93a\";\n}\n\n.pi-refresh:before {\n content: \"\\e938\";\n}\n \n.pi-user:before {\n content: \"\\e939\";\n}\n\n.pi-exclamation-triangle:before {\n content: \"\\e922\";\n}\n\n.pi-calendar:before {\n content: \"\\e927\";\n}\n\n.pi-chevron-circle-left:before {\n content: \"\\e928\";\n}\n\n.pi-chevron-circle-down:before {\n content: \"\\e929\";\n}\n\n.pi-chevron-circle-right:before {\n content: \"\\e92a\";\n}\n\n.pi-chevron-circle-up:before {\n content: \"\\e92b\";\n}\n\n.pi-angle-double-down:before {\n content: \"\\e92c\";\n}\n\n.pi-angle-double-left:before {\n content: \"\\e92d\";\n}\n\n.pi-angle-double-right:before {\n content: \"\\e92e\";\n}\n\n.pi-angle-double-up:before {\n content: \"\\e92f\";\n}\n\n.pi-angle-down:before {\n content: \"\\e930\";\n}\n\n.pi-angle-left:before {\n content: \"\\e931\";\n}\n\n.pi-angle-right:before {\n content: \"\\e932\";\n}\n\n.pi-angle-up:before {\n content: \"\\e933\";\n}\n\n.pi-upload:before {\n content: \"\\e934\";\n}\n\n.pi-download:before {\n content: \"\\e956\";\n}\n\n.pi-ban:before {\n content: \"\\e935\";\n}\n\n.pi-star-fill:before {\n content: \"\\e936\";\n}\n\n.pi-star:before {\n content: \"\\e937\";\n}\n\n.pi-chevron-left:before {\n content: \"\\e900\";\n}\n\n.pi-chevron-right:before {\n content: \"\\e901\";\n}\n\n.pi-chevron-down:before {\n content: \"\\e902\";\n}\n\n.pi-chevron-up:before {\n content: \"\\e903\";\n}\n\n.pi-caret-left:before {\n content: \"\\e904\";\n}\n\n.pi-caret-right:before {\n content: \"\\e905\";\n}\n\n.pi-caret-down:before {\n content: \"\\e906\";\n}\n\n.pi-caret-up:before {\n content: \"\\e907\";\n}\n\n.pi-search:before {\n content: \"\\e908\";\n}\n\n.pi-check:before {\n content: \"\\e909\";\n}\n\n.pi-check-circle:before {\n content: \"\\e90a\";\n}\n\n.pi-times:before {\n content: \"\\e90b\";\n}\n\n.pi-times-circle:before {\n content: \"\\e90c\";\n}\n\n.pi-plus:before {\n content: \"\\e90d\";\n}\n\n.pi-plus-circle:before {\n content: \"\\e90e\";\n}\n\n.pi-minus:before {\n content: \"\\e90f\";\n}\n\n.pi-minus-circle:before {\n content: \"\\e910\";\n}\n\n.pi-circle-on:before {\n content: \"\\e911\";\n}\n\n.pi-circle-off:before {\n content: \"\\e912\";\n}\n\n.pi-sort-down:before {\n content: \"\\e913\";\n}\n\n.pi-sort-up:before {\n content: \"\\e914\";\n}\n\n.pi-sort:before {\n content: \"\\e915\";\n}\n\n.pi-step-backward:before {\n content: \"\\e916\";\n}\n\n.pi-step-forward:before {\n content: \"\\e917\";\n}\n\n.pi-th-large:before {\n content: \"\\e918\";\n}\n\n.pi-arrow-down:before {\n content: \"\\e919\";\n}\n\n.pi-arrow-left:before {\n content: \"\\e91a\";\n}\n\n.pi-arrow-right:before {\n content: \"\\e91b\";\n}\n\n.pi-arrow-up:before {\n content: \"\\e91c\";\n}\n\n.pi-bars:before {\n content: \"\\e91d\";\n}\n\n.pi-arrow-circle-down:before {\n content: \"\\e91e\";\n}\n\n.pi-arrow-circle-left:before {\n content: \"\\e91f\";\n}\n\n.pi-arrow-circle-right:before {\n content: \"\\e920\";\n}\n\n.pi-arrow-circle-up:before {\n content: \"\\e921\";\n}\n\n.pi-info:before {\n content: \"\\e923\";\n}\n\n.pi-info-circle:before {\n content: \"\\e924\";\n}\n\n.pi-home:before {\n content: \"\\e925\";\n}\n\n.pi-spinner:before {\n content: \"\\e926\";\n}\n", ""]);
  19663. // Exports
  19664. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  19665. /***/ }),
  19666. /***/ "./node_modules/css-loader/dist/cjs.js??clonedRuleSet-8.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-8.use[2]!./node_modules/primevue/resources/primevue.min.css":
  19667. /*!******************************************************************************************************************************************************************************************!*\
  19668. !*** ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-8.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-8.use[2]!./node_modules/primevue/resources/primevue.min.css ***!
  19669. \******************************************************************************************************************************************************************************************/
  19670. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  19671. "use strict";
  19672. __webpack_require__.r(__webpack_exports__);
  19673. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  19674. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  19675. /* harmony export */ });
  19676. /* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js");
  19677. /* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);
  19678. /* harmony import */ var _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../css-loader/dist/runtime/getUrl.js */ "./node_modules/css-loader/dist/runtime/getUrl.js");
  19679. /* harmony import */ var _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1__);
  19680. /* harmony import */ var _images_color_png__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./images/color.png */ "./node_modules/primevue/resources/images/color.png");
  19681. /* harmony import */ var _images_hue_png__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./images/hue.png */ "./node_modules/primevue/resources/images/hue.png");
  19682. // Imports
  19683. var ___CSS_LOADER_EXPORT___ = _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
  19684. var ___CSS_LOADER_URL_REPLACEMENT_0___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default()(_images_color_png__WEBPACK_IMPORTED_MODULE_2__["default"]);
  19685. var ___CSS_LOADER_URL_REPLACEMENT_1___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default()(_images_hue_png__WEBPACK_IMPORTED_MODULE_3__["default"]);
  19686. // Module
  19687. ___CSS_LOADER_EXPORT___.push([module.id, ".p-component,.p-component *{box-sizing:border-box}.p-hidden{display:none}.p-hidden-space{visibility:hidden}.p-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.p-hidden-accessible input,.p-hidden-accessible select{transform:scale(0)}.p-reset{margin:0;padding:0;border:0;outline:0;text-decoration:none;font-size:100%;list-style:none}.p-disabled,.p-disabled *{cursor:default !important;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.p-component-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.p-overflow-hidden{overflow:hidden}.p-unselectable-text{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.p-scrollbar-measure{width:100px;height:100px;overflow:scroll;position:absolute;top:-9999px}@-webkit-keyframes p-fadein{0%{opacity:0}100%{opacity:1}}@keyframes p-fadein{0%{opacity:0}100%{opacity:1}}input[type=\"button\"],input[type=\"submit\"],input[type=\"reset\"],input[type=\"file\"]::-webkit-file-upload-button,button{border-radius:0}.p-link{text-align:left;background-color:transparent;margin:0;padding:0;border:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.p-link:disabled{cursor:default}.p-connected-overlay{opacity:0;transform:scaleY(0.8);transition:transform .12s cubic-bezier(0,0,0.2,1),opacity .12s cubic-bezier(0,0,0.2,1)}.p-connected-overlay-visible{opacity:1;transform:scaleY(1)}.p-connected-overlay-hidden{opacity:0;transform:scaleY(1);transition:opacity .1s linear}.p-connected-overlay-enter-from{opacity:0;transform:scaleY(0.8)}.p-connected-overlay-leave-to{opacity:0}.p-connected-overlay-enter-active{transition:transform .12s cubic-bezier(0,0,0.2,1),opacity .12s cubic-bezier(0,0,0.2,1)}.p-connected-overlay-leave-active{transition:opacity .1s linear}.p-toggleable-content-enter-from,.p-toggleable-content-leave-to{max-height:0}.p-toggleable-content-enter-to,.p-toggleable-content-leave-from{max-height:1000px}.p-toggleable-content-leave-active{overflow:hidden;transition:max-height .45s cubic-bezier(0,1,0,1)}.p-toggleable-content-enter-active{overflow:hidden;transition:max-height 1s ease-in-out}.p-sr-only{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal !important}.p-badge{display:inline-block;border-radius:10px;text-align:center;padding:0 .5rem}.p-overlay-badge{position:relative}.p-overlay-badge .p-badge{position:absolute;top:0;right:0;transform:translate(50%,-50%);transform-origin:100% 0;margin:0}.p-badge-dot{width:.5rem;min-width:.5rem;height:.5rem;border-radius:50%;padding:0}.p-badge-no-gutter{padding:0;border-radius:50%}.p-button{margin:0;display:inline-flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;align-items:center;vertical-align:bottom;text-align:center;overflow:hidden;position:relative}.p-button-label{flex:1 1 auto}.p-button-icon-right{order:1}.p-button:disabled{cursor:default}.p-button-icon-only{justify-content:center}.p-button-icon-only .p-button-label{visibility:hidden;width:0;flex:0 0 auto}.p-button-vertical{flex-direction:column}.p-button-icon-bottom{order:2}.p-buttonset .p-button{margin:0}.p-buttonset .p-button:not(:last-child){border-right:0 none}.p-buttonset .p-button:not(:first-of-type):not(:last-of-type){border-radius:0}.p-buttonset .p-button:first-of-type{border-top-right-radius:0;border-bottom-right-radius:0}.p-buttonset .p-button:last-of-type{border-top-left-radius:0;border-bottom-left-radius:0}.p-buttonset .p-button:focus{position:relative;z-index:1}.p-button-label{transition:all .2s}.p-checkbox{display:inline-flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:bottom;position:relative}.p-checkbox-box{display:flex;justify-content:center;align-items:center}.p-colorpicker-panel .p-colorpicker-color{background:transparent url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat left top}.p-colorpicker-panel .p-colorpicker-hue{background:transparent url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ") no-repeat left top}.p-inputtext{margin:0}.p-fluid .p-inputtext{width:100%}.p-inputgroup{display:flex;align-items:stretch;width:100%}.p-inputgroup-addon{display:flex;align-items:center;justify-content:center}.p-inputgroup .p-float-label{display:flex;align-items:stretch;width:100%}.p-inputgroup .p-inputtext,.p-fluid .p-inputgroup .p-inputtext,.p-inputgroup .p-inputwrapper,.p-fluid .p-inputgroup .p-input{flex:1 1 auto;width:1%}.p-float-label{display:block;position:relative}.p-float-label label{position:absolute;pointer-events:none;top:50%;margin-top:-.5rem;transition-property:all;transition-timing-function:ease;line-height:1}.p-float-label textarea ~ label{top:1rem}.p-float-label input:focus ~ label,.p-float-label input.p-filled ~ label,.p-float-label textarea:focus ~ label,.p-float-label textarea.p-filled ~ label,.p-float-label .p-inputwrapper-focus ~ label,.p-float-label .p-inputwrapper-filled ~ label{top:-.75rem;font-size:12px}.p-float-label .input:-webkit-autofill ~ label{top:-20px;font-size:12px}.p-input-icon-left,.p-input-icon-right{position:relative;display:inline-block}.p-input-icon-left>i,.p-input-icon-right>i{position:absolute;top:50%;margin-top:-.5rem}.p-fluid .p-input-icon-left,.p-fluid .p-input-icon-right{display:block;width:100%}.p-radiobutton{display:inline-flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:bottom}.p-radiobutton-box{display:flex;justify-content:center;align-items:center}.p-radiobutton-icon{-webkit-backface-visibility:hidden;backface-visibility:hidden;transform:translateZ(0) scale(.1);border-radius:50%;visibility:hidden}.p-radiobutton-box.p-highlight .p-radiobutton-icon{transform:translateZ(0) scale(1.0,1.0);visibility:visible}.p-ripple{overflow:hidden;position:relative}.p-ink{display:block;position:absolute;background:rgba(255,255,255,0.5);border-radius:100%;transform:scale(0);pointer-events:none}.p-ink-active{-webkit-animation:ripple .4s linear;animation:ripple .4s linear}.p-ripple-disabled .p-ink{display:none !important}@-webkit-keyframes ripple{100%{opacity:0;transform:scale(2.5)}}@keyframes ripple{100%{opacity:0;transform:scale(2.5)}}.p-tooltip{position:absolute;display:none;padding:.25em .5rem;max-width:12.5rem}.p-tooltip.p-tooltip-right,.p-tooltip.p-tooltip-left{padding:0 .25rem}.p-tooltip.p-tooltip-top,.p-tooltip.p-tooltip-bottom{padding:.25em 0}.p-tooltip .p-tooltip-text{white-space:pre-line;word-break:break-word}.p-tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.p-tooltip-right .p-tooltip-arrow{top:50%;left:0;margin-top:-.25rem;border-width:.25em .25em .25em 0}.p-tooltip-left .p-tooltip-arrow{top:50%;right:0;margin-top:-.25rem;border-width:.25em 0 .25em .25rem}.p-tooltip.p-tooltip-top{padding:.25em 0}.p-tooltip-top .p-tooltip-arrow{bottom:0;left:50%;margin-left:-.25rem;border-width:.25em .25em 0}.p-tooltip-bottom .p-tooltip-arrow{top:0;left:50%;margin-left:-.25rem;border-width:0 .25em .25rem}", ""]);
  19688. // Exports
  19689. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  19690. /***/ }),
  19691. /***/ "./node_modules/css-loader/dist/cjs.js??clonedRuleSet-8.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-8.use[2]!./node_modules/primevue/resources/themes/mdc-light-indigo/theme.css":
  19692. /*!***********************************************************************************************************************************************************************************************************!*\
  19693. !*** ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-8.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-8.use[2]!./node_modules/primevue/resources/themes/mdc-light-indigo/theme.css ***!
  19694. \***********************************************************************************************************************************************************************************************************/
  19695. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  19696. "use strict";
  19697. __webpack_require__.r(__webpack_exports__);
  19698. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  19699. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  19700. /* harmony export */ });
  19701. /* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js");
  19702. /* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);
  19703. /* harmony import */ var _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../css-loader/dist/runtime/getUrl.js */ "./node_modules/css-loader/dist/runtime/getUrl.js");
  19704. /* harmony import */ var _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1__);
  19705. /* harmony import */ var _fonts_roboto_v20_latin_ext_latin_regular_woff2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fonts/roboto-v20-latin-ext_latin-regular.woff2 */ "./node_modules/primevue/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff2");
  19706. /* harmony import */ var _fonts_roboto_v20_latin_ext_latin_regular_woff__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./fonts/roboto-v20-latin-ext_latin-regular.woff */ "./node_modules/primevue/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff");
  19707. /* harmony import */ var _fonts_roboto_v20_latin_ext_latin_500_woff2__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./fonts/roboto-v20-latin-ext_latin-500.woff2 */ "./node_modules/primevue/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff2");
  19708. /* harmony import */ var _fonts_roboto_v20_latin_ext_latin_500_woff__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./fonts/roboto-v20-latin-ext_latin-500.woff */ "./node_modules/primevue/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff");
  19709. /* harmony import */ var _fonts_roboto_v20_latin_ext_latin_700_woff2__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./fonts/roboto-v20-latin-ext_latin-700.woff2 */ "./node_modules/primevue/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff2");
  19710. /* harmony import */ var _fonts_roboto_v20_latin_ext_latin_700_woff__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./fonts/roboto-v20-latin-ext_latin-700.woff */ "./node_modules/primevue/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff");
  19711. // Imports
  19712. var ___CSS_LOADER_EXPORT___ = _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
  19713. var ___CSS_LOADER_URL_REPLACEMENT_0___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default()(_fonts_roboto_v20_latin_ext_latin_regular_woff2__WEBPACK_IMPORTED_MODULE_2__["default"]);
  19714. var ___CSS_LOADER_URL_REPLACEMENT_1___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default()(_fonts_roboto_v20_latin_ext_latin_regular_woff__WEBPACK_IMPORTED_MODULE_3__["default"]);
  19715. var ___CSS_LOADER_URL_REPLACEMENT_2___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default()(_fonts_roboto_v20_latin_ext_latin_500_woff2__WEBPACK_IMPORTED_MODULE_4__["default"]);
  19716. var ___CSS_LOADER_URL_REPLACEMENT_3___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default()(_fonts_roboto_v20_latin_ext_latin_500_woff__WEBPACK_IMPORTED_MODULE_5__["default"]);
  19717. var ___CSS_LOADER_URL_REPLACEMENT_4___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default()(_fonts_roboto_v20_latin_ext_latin_700_woff2__WEBPACK_IMPORTED_MODULE_6__["default"]);
  19718. var ___CSS_LOADER_URL_REPLACEMENT_5___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default()(_fonts_roboto_v20_latin_ext_latin_700_woff__WEBPACK_IMPORTED_MODULE_7__["default"]);
  19719. // Module
  19720. ___CSS_LOADER_EXPORT___.push([module.id, ":root {\n --surface-a:#ffffff;\n --surface-b:#fafafa;\n --surface-c:rgba(0,0,0,.04);\n --surface-d:rgba(0,0,0,.12);\n --surface-e:#ffffff;\n --surface-f:#ffffff;\n --text-color:rgba(0, 0, 0, 0.87);\n --text-color-secondary:rgba(0, 0, 0, 0.6);\n --primary-color:#3F51B5;\n --primary-color-text:#ffffff;\n --font-family:Roboto, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;\n --surface-0: #ffffff;\n --surface-50: #FAFAFA;\n --surface-100: #F5F5F5;\n --surface-200: #EEEEEE;\n --surface-300: #E0E0E0;\n --surface-400: #BDBDBD;\n --surface-500: #9E9E9E;\n --surface-600: #757575;\n --surface-700: #616161;\n --surface-800: #424242;\n --surface-900: #212121;\n --gray-50: #FAFAFA;\n --gray-100: #F5F5F5;\n --gray-200: #EEEEEE;\n --gray-300: #E0E0E0;\n --gray-400: #BDBDBD;\n --gray-500: #9E9E9E;\n --gray-600: #757575;\n --gray-700: #616161;\n --gray-800: #424242;\n --gray-900: #212121;\n --content-padding:1rem;\n --inline-spacing:0.5rem;\n --border-radius:4px;\n --surface-ground:#fafafa;\n --surface-section:#ffffff;\n --surface-card:#ffffff;\n --surface-overlay:#ffffff;\n --surface-border:rgba(0,0,0,.12);\n --surface-hover:rgba(0,0,0,.04);\n --focus-ring: none;\n --maskbg: rgba(0, 0, 0, 0.32);\n}\n\n/* roboto-regular - latin-ext_latin */\n@font-face {\n font-family: \"Roboto\";\n font-style: normal;\n font-weight: 400;\n src: local(\"Roboto\"), local(\"Roboto-Regular\"), url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") format(\"woff2\"), url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ") format(\"woff\");\n /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */\n}\n/* roboto-500 - latin-ext_latin */\n@font-face {\n font-family: \"Roboto\";\n font-style: normal;\n font-weight: 500;\n src: local(\"Roboto Medium\"), local(\"Roboto-Medium\"), url(" + ___CSS_LOADER_URL_REPLACEMENT_2___ + ") format(\"woff2\"), url(" + ___CSS_LOADER_URL_REPLACEMENT_3___ + ") format(\"woff\");\n /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */\n}\n/* roboto-700 - latin-ext_latin */\n@font-face {\n font-family: \"Roboto\";\n font-style: normal;\n font-weight: 700;\n src: local(\"Roboto Bold\"), local(\"Roboto-Bold\"), url(" + ___CSS_LOADER_URL_REPLACEMENT_4___ + ") format(\"woff2\"), url(" + ___CSS_LOADER_URL_REPLACEMENT_5___ + ") format(\"woff\");\n /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */\n}\n* {\n box-sizing: border-box;\n}\n\n.p-component {\n font-family: Roboto, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;\n font-size: 1rem;\n font-weight: normal;\n}\n\n.p-component-overlay {\n background-color: rgba(0, 0, 0, 0.32);\n transition-duration: 0.2s;\n}\n\n.p-disabled, .p-component:disabled {\n opacity: 0.38;\n}\n\n.p-error {\n color: #B00020;\n}\n\n.p-text-secondary {\n color: rgba(0, 0, 0, 0.6);\n}\n\n.pi {\n font-size: 1rem;\n}\n\n.p-link {\n font-size: 1rem;\n font-family: Roboto, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;\n border-radius: 4px;\n}\n.p-link:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n\n.p-component-overlay-enter {\n -webkit-animation: p-component-overlay-enter-animation 150ms forwards;\n animation: p-component-overlay-enter-animation 150ms forwards;\n}\n\n.p-component-overlay-leave {\n -webkit-animation: p-component-overlay-leave-animation 150ms forwards;\n animation: p-component-overlay-leave-animation 150ms forwards;\n}\n\n@-webkit-keyframes p-component-overlay-enter-animation {\n from {\n background-color: transparent;\n }\n to {\n background-color: var(--maskbg);\n }\n}\n\n@keyframes p-component-overlay-enter-animation {\n from {\n background-color: transparent;\n }\n to {\n background-color: var(--maskbg);\n }\n}\n@-webkit-keyframes p-component-overlay-leave-animation {\n from {\n background-color: var(--maskbg);\n }\n to {\n background-color: transparent;\n }\n}\n@keyframes p-component-overlay-leave-animation {\n from {\n background-color: var(--maskbg);\n }\n to {\n background-color: transparent;\n }\n}\n\n:root {\n --blue-50:#f4fafe;\n --blue-100:#cae6fc;\n --blue-200:#a0d2fa;\n --blue-300:#75bef8;\n --blue-400:#4baaf5;\n --blue-500:#2196f3;\n --blue-600:#1c80cf;\n --blue-700:#1769aa;\n --blue-800:#125386;\n --blue-900:#0d3c61;\n --green-50:#f7faf5;\n --green-100:#dbe8cf;\n --green-200:#bed6a9;\n --green-300:#a1c384;\n --green-400:#85b15e;\n --green-500:#689f38;\n --green-600:#588730;\n --green-700:#496f27;\n --green-800:#39571f;\n --green-900:#2a4016;\n --yellow-50:#fffcf5;\n --yellow-100:#fef0cd;\n --yellow-200:#fde4a5;\n --yellow-300:#fdd87d;\n --yellow-400:#fccc55;\n --yellow-500:#fbc02d;\n --yellow-600:#d5a326;\n --yellow-700:#b08620;\n --yellow-800:#8a6a19;\n --yellow-900:#644d12;\n --cyan-50:#f2fcfd;\n --cyan-100:#c2eff5;\n --cyan-200:#91e2ed;\n --cyan-300:#61d5e4;\n --cyan-400:#30c9dc;\n --cyan-500:#00bcd4;\n --cyan-600:#00a0b4;\n --cyan-700:#008494;\n --cyan-800:#006775;\n --cyan-900:#004b55;\n --pink-50:#fef4f7;\n --pink-100:#fac9da;\n --pink-200:#f69ebc;\n --pink-300:#f1749e;\n --pink-400:#ed4981;\n --pink-500:#e91e63;\n --pink-600:#c61a54;\n --pink-700:#a31545;\n --pink-800:#801136;\n --pink-900:#5d0c28;\n --indigo-50:#f6f7fc;\n --indigo-100:#d5d9ef;\n --indigo-200:#b3bae2;\n --indigo-300:#919cd5;\n --indigo-400:#707dc8;\n --indigo-500:#4e5fbb;\n --indigo-600:#42519f;\n --indigo-700:#374383;\n --indigo-800:#2b3467;\n --indigo-900:#1f264b;\n --teal-50:#f2faf9;\n --teal-100:#c2e6e2;\n --teal-200:#91d2cc;\n --teal-300:#61beb5;\n --teal-400:#30aa9f;\n --teal-500:#009688;\n --teal-600:#008074;\n --teal-700:#00695f;\n --teal-800:#00534b;\n --teal-900:#003c36;\n --orange-50:#fffaf2;\n --orange-100:#ffe6c2;\n --orange-200:#ffd391;\n --orange-300:#ffbf61;\n --orange-400:#ffac30;\n --orange-500:#ff9800;\n --orange-600:#d98100;\n --orange-700:#b36a00;\n --orange-800:#8c5400;\n --orange-900:#663d00;\n --bluegray-50:#f7f9f9;\n --bluegray-100:#d9e0e3;\n --bluegray-200:#bbc7cd;\n --bluegray-300:#9caeb7;\n --bluegray-400:#7e96a1;\n --bluegray-500:#607d8b;\n --bluegray-600:#526a76;\n --bluegray-700:#435861;\n --bluegray-800:#35454c;\n --bluegray-900:#263238;\n --purple-50:#faf4fb;\n --purple-100:#e7cbec;\n --purple-200:#d4a2dd;\n --purple-300:#c279ce;\n --purple-400:#af50bf;\n --purple-500:#9c27b0;\n --purple-600:#852196;\n --purple-700:#6d1b7b;\n --purple-800:#561561;\n --purple-900:#3e1046;\n --red-50:#fef6f5;\n --red-100:#fcd2cf;\n --red-200:#faaea9;\n --red-300:#f88a82;\n --red-400:#f6675c;\n --red-500:#f44336;\n --red-600:#cf392e;\n --red-700:#ab2f26;\n --red-800:#86251e;\n --red-900:#621b16;\n}\n\n.p-autocomplete .p-autocomplete-loader {\n right: 0.75rem;\n}\n.p-autocomplete.p-autocomplete-dd .p-autocomplete-loader {\n right: 3rem;\n}\n.p-autocomplete .p-autocomplete-multiple-container {\n padding: 0.375rem 0.75rem;\n}\n.p-autocomplete .p-autocomplete-multiple-container:not(.p-disabled):hover {\n border-color: rgba(0, 0, 0, 0.87);\n}\n.p-autocomplete .p-autocomplete-multiple-container:not(.p-disabled).p-focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n border-color: #3F51B5;\n}\n.p-autocomplete .p-autocomplete-multiple-container .p-autocomplete-input-token {\n padding: 0.375rem 0;\n}\n.p-autocomplete .p-autocomplete-multiple-container .p-autocomplete-input-token input {\n font-family: Roboto, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;\n font-size: 1rem;\n color: rgba(0, 0, 0, 0.87);\n padding: 0;\n margin: 0;\n}\n.p-autocomplete .p-autocomplete-multiple-container .p-autocomplete-token {\n padding: 0.375rem 0.75rem;\n margin-right: 0.5rem;\n background: rgba(0, 0, 0, 0.12);\n color: rgba(0, 0, 0, 0.87);\n border-radius: 16px;\n}\n.p-autocomplete .p-autocomplete-multiple-container .p-autocomplete-token .p-autocomplete-token-icon {\n margin-left: 0.5rem;\n}\n.p-autocomplete.p-invalid.p-component > .p-inputtext {\n border-color: #B00020;\n}\n\n.p-autocomplete-panel {\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border: 0 none;\n border-radius: 4px;\n box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);\n}\n.p-autocomplete-panel .p-autocomplete-items {\n padding: 0;\n}\n.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item {\n margin: 0;\n padding: 0.75rem 0.75rem;\n border: 0 none;\n color: rgba(0, 0, 0, 0.87);\n background: transparent;\n transition: none;\n border-radius: 0;\n}\n.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item:hover {\n color: rgba(0, 0, 0, 0.87);\n background: rgba(0, 0, 0, 0.04);\n}\n.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item.p-highlight {\n color: #3F51B5;\n background: rgba(63, 81, 181, 0.12);\n}\n.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group {\n margin: 0;\n padding: 0.75rem;\n color: rgba(0, 0, 0, 0.6);\n background: #ffffff;\n font-weight: 400;\n}\n\n.p-calendar.p-invalid.p-component > .p-inputtext {\n border-color: #B00020;\n}\n\n.p-datepicker {\n padding: 0.5rem;\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border: 1px solid #e5e5e5;\n border-radius: 4px;\n}\n.p-datepicker:not(.p-datepicker-inline) {\n background: #ffffff;\n border: 0 none;\n box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);\n}\n.p-datepicker:not(.p-datepicker-inline) .p-datepicker-header {\n background: #ffffff;\n}\n.p-datepicker .p-datepicker-header {\n padding: 0.5rem;\n color: rgba(0, 0, 0, 0.87);\n background: #ffffff;\n font-weight: 500;\n margin: 0;\n border-bottom: 1px solid rgba(0, 0, 0, 0.12);\n border-top-right-radius: 4px;\n border-top-left-radius: 4px;\n}\n.p-datepicker .p-datepicker-header .p-datepicker-prev,\n.p-datepicker .p-datepicker-header .p-datepicker-next {\n width: 2rem;\n height: 2rem;\n color: rgba(0, 0, 0, 0.6);\n border: 0 none;\n background: transparent;\n border-radius: 50%;\n transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;\n}\n.p-datepicker .p-datepicker-header .p-datepicker-prev:enabled:hover,\n.p-datepicker .p-datepicker-header .p-datepicker-next:enabled:hover {\n color: rgba(0, 0, 0, 0.6);\n border-color: transparent;\n background: rgba(0, 0, 0, 0.04);\n}\n.p-datepicker .p-datepicker-header .p-datepicker-prev:focus,\n.p-datepicker .p-datepicker-header .p-datepicker-next:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-datepicker .p-datepicker-header .p-datepicker-title {\n line-height: 2rem;\n}\n.p-datepicker .p-datepicker-header .p-datepicker-title .p-datepicker-year,\n.p-datepicker .p-datepicker-header .p-datepicker-title .p-datepicker-month {\n color: rgba(0, 0, 0, 0.87);\n transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;\n font-weight: 500;\n padding: 0.5rem;\n}\n.p-datepicker .p-datepicker-header .p-datepicker-title .p-datepicker-year:enabled:hover,\n.p-datepicker .p-datepicker-header .p-datepicker-title .p-datepicker-month:enabled:hover {\n color: #3F51B5;\n}\n.p-datepicker .p-datepicker-header .p-datepicker-title .p-datepicker-month {\n margin-right: 0.5rem;\n}\n.p-datepicker table {\n font-size: 1rem;\n margin: 0.5rem 0;\n}\n.p-datepicker table th {\n padding: 0.5rem;\n}\n.p-datepicker table th > span {\n width: 2.25rem;\n height: 2.25rem;\n}\n.p-datepicker table td {\n padding: 0.5rem;\n}\n.p-datepicker table td > span {\n width: 2.25rem;\n height: 2.25rem;\n border-radius: 50%;\n transition: none;\n border: 1px solid transparent;\n}\n.p-datepicker table td > span.p-highlight {\n color: #3F51B5;\n background: rgba(63, 81, 181, 0.12);\n}\n.p-datepicker table td > span:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-datepicker table td.p-datepicker-today > span {\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border-color: black;\n}\n.p-datepicker table td.p-datepicker-today > span.p-highlight {\n color: #3F51B5;\n background: rgba(63, 81, 181, 0.12);\n}\n.p-datepicker .p-datepicker-buttonbar {\n padding: 0.75rem 0;\n border-top: 1px solid rgba(0, 0, 0, 0.12);\n}\n.p-datepicker .p-datepicker-buttonbar .p-button {\n width: auto;\n}\n.p-datepicker .p-timepicker {\n border-top: 1px solid rgba(0, 0, 0, 0.12);\n padding: 0.5rem;\n}\n.p-datepicker .p-timepicker button {\n width: 2rem;\n height: 2rem;\n color: rgba(0, 0, 0, 0.6);\n border: 0 none;\n background: transparent;\n border-radius: 50%;\n transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;\n}\n.p-datepicker .p-timepicker button:enabled:hover {\n color: rgba(0, 0, 0, 0.6);\n border-color: transparent;\n background: rgba(0, 0, 0, 0.04);\n}\n.p-datepicker .p-timepicker button:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-datepicker .p-timepicker button:last-child {\n margin-top: 0.2em;\n}\n.p-datepicker .p-timepicker span {\n font-size: 1.25rem;\n}\n.p-datepicker .p-timepicker > div {\n padding: 0 0.5rem;\n}\n.p-datepicker.p-datepicker-timeonly .p-timepicker {\n border-top: 0 none;\n}\n.p-datepicker .p-monthpicker {\n margin: 0.5rem 0;\n}\n.p-datepicker .p-monthpicker .p-monthpicker-month {\n padding: 0.5rem;\n transition: none;\n border-radius: 4px;\n}\n.p-datepicker .p-monthpicker .p-monthpicker-month.p-highlight {\n color: #3F51B5;\n background: rgba(63, 81, 181, 0.12);\n}\n.p-datepicker .p-yearpicker {\n margin: 0.5rem 0;\n}\n.p-datepicker .p-yearpicker .p-yearpicker-year {\n padding: 0.5rem;\n transition: none;\n border-radius: 4px;\n}\n.p-datepicker .p-yearpicker .p-yearpicker-year.p-highlight {\n color: #3F51B5;\n background: rgba(63, 81, 181, 0.12);\n}\n.p-datepicker.p-datepicker-multiple-month .p-datepicker-group {\n border-left: 1px solid rgba(0, 0, 0, 0.12);\n padding-right: 0.5rem;\n padding-left: 0.5rem;\n padding-top: 0;\n padding-bottom: 0;\n}\n.p-datepicker.p-datepicker-multiple-month .p-datepicker-group:first-child {\n padding-left: 0;\n border-left: 0 none;\n}\n.p-datepicker.p-datepicker-multiple-month .p-datepicker-group:last-child {\n padding-right: 0;\n}\n.p-datepicker:not(.p-disabled) table td span:not(.p-highlight):not(.p-disabled):hover {\n background: rgba(0, 0, 0, 0.04);\n}\n.p-datepicker:not(.p-disabled) table td span:not(.p-highlight):not(.p-disabled):focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-datepicker:not(.p-disabled) .p-monthpicker .p-monthpicker-month:not(.p-disabled):not(.p-highlight):hover {\n background: rgba(0, 0, 0, 0.04);\n}\n.p-datepicker:not(.p-disabled) .p-monthpicker .p-monthpicker-month:not(.p-disabled):focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-datepicker:not(.p-disabled) .p-yearpicker .p-yearpicker-year:not(.p-disabled):not(.p-highlight):hover {\n background: rgba(0, 0, 0, 0.04);\n}\n.p-datepicker:not(.p-disabled) .p-yearpicker .p-yearpicker-year:not(.p-disabled):focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n\n@media screen and (max-width: 769px) {\n .p-datepicker table th, .p-datepicker table td {\n padding: 0;\n }\n}\n.p-cascadeselect {\n background: #ffffff;\n border: 1px solid rgba(0, 0, 0, 0.38);\n transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);\n border-radius: 4px;\n}\n.p-cascadeselect:not(.p-disabled):hover {\n border-color: rgba(0, 0, 0, 0.87);\n}\n.p-cascadeselect:not(.p-disabled).p-focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n border-color: #3F51B5;\n}\n.p-cascadeselect .p-cascadeselect-label {\n background: transparent;\n border: 0 none;\n padding: 0.75rem 0.75rem;\n}\n.p-cascadeselect .p-cascadeselect-label.p-placeholder {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-cascadeselect .p-cascadeselect-label:enabled:focus {\n outline: 0 none;\n box-shadow: none;\n}\n.p-cascadeselect .p-cascadeselect-trigger {\n background: transparent;\n color: rgba(0, 0, 0, 0.6);\n width: 2.357rem;\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n}\n.p-cascadeselect.p-invalid.p-component {\n border-color: #B00020;\n}\n\n.p-cascadeselect-panel {\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border: 0 none;\n border-radius: 4px;\n box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);\n}\n.p-cascadeselect-panel .p-cascadeselect-items {\n padding: 0;\n}\n.p-cascadeselect-panel .p-cascadeselect-items .p-cascadeselect-item {\n margin: 0;\n border: 0 none;\n color: rgba(0, 0, 0, 0.87);\n background: transparent;\n transition: none;\n border-radius: 0;\n}\n.p-cascadeselect-panel .p-cascadeselect-items .p-cascadeselect-item .p-cascadeselect-item-content {\n padding: 0.75rem 0.75rem;\n}\n.p-cascadeselect-panel .p-cascadeselect-items .p-cascadeselect-item .p-cascadeselect-item-content:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-cascadeselect-panel .p-cascadeselect-items .p-cascadeselect-item.p-highlight {\n color: #3F51B5;\n background: rgba(63, 81, 181, 0.12);\n}\n.p-cascadeselect-panel .p-cascadeselect-items .p-cascadeselect-item:not(.p-highlight):not(.p-disabled):hover {\n color: rgba(0, 0, 0, 0.87);\n background: rgba(0, 0, 0, 0.04);\n}\n.p-cascadeselect-panel .p-cascadeselect-items .p-cascadeselect-item .p-cascadeselect-group-icon {\n font-size: 0.875rem;\n}\n\n.p-input-filled .p-cascadeselect {\n background: #f5f5f5;\n}\n.p-input-filled .p-cascadeselect:not(.p-disabled):hover {\n background-color: #ececec;\n}\n.p-input-filled .p-cascadeselect:not(.p-disabled).p-focus {\n background-color: #dcdcdc;\n}\n\n.p-checkbox {\n width: 18px;\n height: 18px;\n}\n.p-checkbox .p-checkbox-box {\n border: 2px solid #757575;\n background: #ffffff;\n width: 18px;\n height: 18px;\n color: rgba(0, 0, 0, 0.87);\n border-radius: 4px;\n transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);\n}\n.p-checkbox .p-checkbox-box .p-checkbox-icon {\n transition-duration: 0.2s;\n color: #ffffff;\n font-size: 14px;\n}\n.p-checkbox .p-checkbox-box.p-highlight {\n border-color: #3F51B5;\n background: #3F51B5;\n}\n.p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box:hover {\n border-color: rgba(0, 0, 0, 0.87);\n}\n.p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n border-color: #3F51B5;\n}\n.p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-highlight:hover {\n border-color: #3F51B5;\n background: #3F51B5;\n color: #ffffff;\n}\n.p-checkbox.p-invalid > .p-checkbox-box {\n border-color: #B00020;\n}\n\n.p-input-filled .p-checkbox .p-checkbox-box {\n background-color: #f5f5f5;\n}\n.p-input-filled .p-checkbox .p-checkbox-box.p-highlight {\n background: #3F51B5;\n}\n.p-input-filled .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box:hover {\n background-color: #ececec;\n}\n.p-input-filled .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-highlight:hover {\n background: #3F51B5;\n}\n\n.p-chips .p-chips-multiple-container {\n padding: 0.375rem 0.75rem;\n}\n.p-chips .p-chips-multiple-container:not(.p-disabled):hover {\n border-color: rgba(0, 0, 0, 0.87);\n}\n.p-chips .p-chips-multiple-container:not(.p-disabled).p-focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n border-color: #3F51B5;\n}\n.p-chips .p-chips-multiple-container .p-chips-token {\n padding: 0.375rem 0.75rem;\n margin-right: 0.5rem;\n background: rgba(0, 0, 0, 0.12);\n color: rgba(0, 0, 0, 0.87);\n border-radius: 16px;\n}\n.p-chips .p-chips-multiple-container .p-chips-token .p-chips-token-icon {\n margin-left: 0.5rem;\n}\n.p-chips .p-chips-multiple-container .p-chips-input-token {\n padding: 0.375rem 0;\n}\n.p-chips .p-chips-multiple-container .p-chips-input-token input {\n font-family: Roboto, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;\n font-size: 1rem;\n color: rgba(0, 0, 0, 0.87);\n padding: 0;\n margin: 0;\n}\n.p-chips.p-invalid.p-component > .p-inputtext {\n border-color: #B00020;\n}\n\n.p-colorpicker-preview {\n width: 2rem;\n height: 2rem;\n}\n\n.p-colorpicker-panel {\n background: #323232;\n border: 1px solid #191919;\n}\n.p-colorpicker-panel .p-colorpicker-color-handle,\n.p-colorpicker-panel .p-colorpicker-hue-handle {\n border-color: #ffffff;\n}\n\n.p-colorpicker-overlay-panel {\n box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);\n}\n\n.p-dropdown {\n background: #ffffff;\n border: 1px solid rgba(0, 0, 0, 0.38);\n transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);\n border-radius: 4px;\n}\n.p-dropdown:not(.p-disabled):hover {\n border-color: rgba(0, 0, 0, 0.87);\n}\n.p-dropdown:not(.p-disabled).p-focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n border-color: #3F51B5;\n}\n.p-dropdown.p-dropdown-clearable .p-dropdown-label {\n padding-right: 1.75rem;\n}\n.p-dropdown .p-dropdown-label {\n background: transparent;\n border: 0 none;\n}\n.p-dropdown .p-dropdown-label.p-placeholder {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-dropdown .p-dropdown-label:enabled:focus {\n outline: 0 none;\n box-shadow: none;\n}\n.p-dropdown .p-dropdown-trigger {\n background: transparent;\n color: rgba(0, 0, 0, 0.6);\n width: 2.357rem;\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n}\n.p-dropdown .p-dropdown-clear-icon {\n color: rgba(0, 0, 0, 0.6);\n right: 2.357rem;\n}\n.p-dropdown.p-invalid.p-component {\n border-color: #B00020;\n}\n\n.p-dropdown-panel {\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border: 0 none;\n border-radius: 4px;\n box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);\n}\n.p-dropdown-panel .p-dropdown-header {\n padding: 0.75rem;\n border-bottom: 1px solid rgba(0, 0, 0, 0.12);\n color: rgba(0, 0, 0, 0.87);\n background: #ffffff;\n margin: 0;\n border-top-right-radius: 4px;\n border-top-left-radius: 4px;\n}\n.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {\n padding-right: 1.75rem;\n margin-right: -1.75rem;\n}\n.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {\n right: 0.75rem;\n color: rgba(0, 0, 0, 0.6);\n}\n.p-dropdown-panel .p-dropdown-items {\n padding: 0;\n}\n.p-dropdown-panel .p-dropdown-items .p-dropdown-item {\n margin: 0;\n padding: 0.75rem 0.75rem;\n border: 0 none;\n color: rgba(0, 0, 0, 0.87);\n background: transparent;\n transition: none;\n border-radius: 0;\n}\n.p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-highlight {\n color: #3F51B5;\n background: rgba(63, 81, 181, 0.12);\n}\n.p-dropdown-panel .p-dropdown-items .p-dropdown-item:not(.p-highlight):not(.p-disabled):hover {\n color: rgba(0, 0, 0, 0.87);\n background: rgba(0, 0, 0, 0.04);\n}\n.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group {\n margin: 0;\n padding: 0.75rem;\n color: rgba(0, 0, 0, 0.6);\n background: #ffffff;\n font-weight: 400;\n}\n.p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message {\n padding: 0.75rem 0.75rem;\n color: rgba(0, 0, 0, 0.87);\n background: transparent;\n}\n\n.p-input-filled .p-dropdown {\n background: #f5f5f5;\n}\n.p-input-filled .p-dropdown:not(.p-disabled):hover {\n background-color: #ececec;\n}\n.p-input-filled .p-dropdown:not(.p-disabled).p-focus {\n background-color: #dcdcdc;\n}\n.p-input-filled .p-dropdown:not(.p-disabled).p-focus .p-inputtext {\n background-color: transparent;\n}\n\n.p-editor-container .p-editor-toolbar {\n background: #ffffff;\n border-top-right-radius: 4px;\n border-top-left-radius: 4px;\n}\n.p-editor-container .p-editor-toolbar.ql-snow {\n border: 1px solid #e0e0e0;\n}\n.p-editor-container .p-editor-toolbar.ql-snow .ql-stroke {\n stroke: rgba(0, 0, 0, 0.6);\n}\n.p-editor-container .p-editor-toolbar.ql-snow .ql-fill {\n fill: rgba(0, 0, 0, 0.6);\n}\n.p-editor-container .p-editor-toolbar.ql-snow .ql-picker .ql-picker-label {\n border: 0 none;\n color: rgba(0, 0, 0, 0.6);\n}\n.p-editor-container .p-editor-toolbar.ql-snow .ql-picker .ql-picker-label:hover {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-editor-container .p-editor-toolbar.ql-snow .ql-picker .ql-picker-label:hover .ql-stroke {\n stroke: rgba(0, 0, 0, 0.87);\n}\n.p-editor-container .p-editor-toolbar.ql-snow .ql-picker .ql-picker-label:hover .ql-fill {\n fill: rgba(0, 0, 0, 0.87);\n}\n.p-editor-container .p-editor-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-editor-container .p-editor-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke {\n stroke: rgba(0, 0, 0, 0.87);\n}\n.p-editor-container .p-editor-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill {\n fill: rgba(0, 0, 0, 0.87);\n}\n.p-editor-container .p-editor-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options {\n background: #ffffff;\n border: 0 none;\n box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);\n border-radius: 4px;\n padding: 0;\n}\n.p-editor-container .p-editor-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options .ql-picker-item {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-editor-container .p-editor-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options .ql-picker-item:hover {\n color: rgba(0, 0, 0, 0.87);\n background: rgba(0, 0, 0, 0.04);\n}\n.p-editor-container .p-editor-toolbar.ql-snow .ql-picker.ql-expanded:not(.ql-icon-picker) .ql-picker-item {\n padding: 0.75rem 0.75rem;\n}\n.p-editor-container .p-editor-content {\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n.p-editor-container .p-editor-content.ql-snow {\n border: 1px solid #e0e0e0;\n}\n.p-editor-container .p-editor-content .ql-editor {\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n.p-editor-container .ql-snow.ql-toolbar button:hover,\n.p-editor-container .ql-snow.ql-toolbar button:focus {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-editor-container .ql-snow.ql-toolbar button:hover .ql-stroke,\n.p-editor-container .ql-snow.ql-toolbar button:focus .ql-stroke {\n stroke: rgba(0, 0, 0, 0.87);\n}\n.p-editor-container .ql-snow.ql-toolbar button:hover .ql-fill,\n.p-editor-container .ql-snow.ql-toolbar button:focus .ql-fill {\n fill: rgba(0, 0, 0, 0.87);\n}\n.p-editor-container .ql-snow.ql-toolbar button.ql-active,\n.p-editor-container .ql-snow.ql-toolbar .ql-picker-label.ql-active,\n.p-editor-container .ql-snow.ql-toolbar .ql-picker-item.ql-selected {\n color: #3F51B5;\n}\n.p-editor-container .ql-snow.ql-toolbar button.ql-active .ql-stroke,\n.p-editor-container .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,\n.p-editor-container .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke {\n stroke: #3F51B5;\n}\n.p-editor-container .ql-snow.ql-toolbar button.ql-active .ql-fill,\n.p-editor-container .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,\n.p-editor-container .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill {\n fill: #3F51B5;\n}\n.p-editor-container .ql-snow.ql-toolbar button.ql-active .ql-picker-label,\n.p-editor-container .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-picker-label,\n.p-editor-container .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-picker-label {\n color: #3F51B5;\n}\n\n.p-inputgroup-addon {\n background: #ffffff;\n color: rgba(0, 0, 0, 0.6);\n border-top: 1px solid rgba(0, 0, 0, 0.38);\n border-left: 1px solid rgba(0, 0, 0, 0.38);\n border-bottom: 1px solid rgba(0, 0, 0, 0.38);\n padding: 0.75rem 0.75rem;\n min-width: 2.357rem;\n}\n.p-inputgroup-addon:last-child {\n border-right: 1px solid rgba(0, 0, 0, 0.38);\n}\n\n.p-inputgroup > .p-component,\n.p-inputgroup > .p-inputwrapper > .p-inputtext,\n.p-inputgroup > .p-float-label > .p-component {\n border-radius: 0;\n margin: 0;\n}\n.p-inputgroup > .p-component + .p-inputgroup-addon,\n.p-inputgroup > .p-inputwrapper > .p-inputtext + .p-inputgroup-addon,\n.p-inputgroup > .p-float-label > .p-component + .p-inputgroup-addon {\n border-left: 0 none;\n}\n.p-inputgroup > .p-component:focus,\n.p-inputgroup > .p-inputwrapper > .p-inputtext:focus,\n.p-inputgroup > .p-float-label > .p-component:focus {\n z-index: 1;\n}\n.p-inputgroup > .p-component:focus ~ label,\n.p-inputgroup > .p-inputwrapper > .p-inputtext:focus ~ label,\n.p-inputgroup > .p-float-label > .p-component:focus ~ label {\n z-index: 1;\n}\n\n.p-inputgroup-addon:first-child,\n.p-inputgroup button:first-child,\n.p-inputgroup input:first-child,\n.p-inputgroup > .p-inputwrapper:first-child,\n.p-inputgroup > .p-inputwrapper:first-child > .p-inputtext {\n border-top-left-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n\n.p-inputgroup .p-float-label:first-child input {\n border-top-left-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n\n.p-inputgroup-addon:last-child,\n.p-inputgroup button:last-child,\n.p-inputgroup input:last-child,\n.p-inputgroup > .p-inputwrapper:last-child,\n.p-inputgroup > .p-inputwrapper:last-child > .p-inputtext {\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n}\n\n.p-inputgroup .p-float-label:last-child input {\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n}\n\n.p-fluid .p-inputgroup .p-button {\n width: auto;\n}\n.p-fluid .p-inputgroup .p-button.p-button-icon-only {\n width: 2.25rem;\n}\n\n.p-inputnumber.p-invalid.p-component > .p-inputtext {\n border-color: #B00020;\n}\n\n.p-inputswitch {\n width: 2.75rem;\n height: 1rem;\n}\n.p-inputswitch .p-inputswitch-slider {\n background: rgba(0, 0, 0, 0.38);\n transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);\n border-radius: 0.5rem;\n}\n.p-inputswitch .p-inputswitch-slider:before {\n background: #ffffff;\n width: 1.5rem;\n height: 1.5rem;\n left: -1px;\n margin-top: -0.75rem;\n border-radius: 50%;\n transition-duration: 0.2s;\n}\n.p-inputswitch.p-inputswitch-checked .p-inputswitch-slider:before {\n transform: translateX(1.5rem);\n}\n.p-inputswitch.p-focus .p-inputswitch-slider {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-inputswitch:not(.p-disabled):hover .p-inputswitch-slider {\n background: rgba(0, 0, 0, 0.38);\n}\n.p-inputswitch.p-inputswitch-checked .p-inputswitch-slider {\n background: rgba(63, 81, 181, 0.5);\n}\n.p-inputswitch.p-inputswitch-checked .p-inputswitch-slider:before {\n background: #3F51B5;\n}\n.p-inputswitch.p-inputswitch-checked:not(.p-disabled):hover .p-inputswitch-slider {\n background: rgba(63, 81, 181, 0.5);\n}\n.p-inputswitch.p-invalid {\n border-color: #B00020;\n}\n\n.p-inputtext {\n font-family: Roboto, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;\n font-size: 1rem;\n color: rgba(0, 0, 0, 0.87);\n background: #ffffff;\n padding: 0.75rem 0.75rem;\n border: 1px solid rgba(0, 0, 0, 0.38);\n transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n border-radius: 4px;\n}\n.p-inputtext:enabled:hover {\n border-color: rgba(0, 0, 0, 0.87);\n}\n.p-inputtext:enabled:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n border-color: #3F51B5;\n}\n.p-inputtext.p-invalid.p-component {\n border-color: #B00020;\n}\n.p-inputtext.p-inputtext-sm {\n font-size: 0.875rem;\n padding: 0.65625rem 0.65625rem;\n}\n.p-inputtext.p-inputtext-lg {\n font-size: 1.25rem;\n padding: 0.9375rem 0.9375rem;\n}\n\n.p-float-label > label {\n left: 0.75rem;\n color: rgba(0, 0, 0, 0.6);\n transition-duration: 0.2s;\n}\n\n.p-input-icon-left > i:first-of-type {\n left: 0.75rem;\n color: rgba(0, 0, 0, 0.6);\n}\n\n.p-input-icon-left > .p-inputtext {\n padding-left: 2.5rem;\n}\n\n.p-input-icon-left.p-float-label > label {\n left: 2.5rem;\n}\n\n.p-input-icon-right > i:last-of-type {\n right: 0.75rem;\n color: rgba(0, 0, 0, 0.6);\n}\n\n.p-input-icon-right > .p-inputtext {\n padding-right: 2.5rem;\n}\n\n::-webkit-input-placeholder {\n color: rgba(0, 0, 0, 0.6);\n}\n\n:-moz-placeholder {\n color: rgba(0, 0, 0, 0.6);\n}\n\n::-moz-placeholder {\n color: rgba(0, 0, 0, 0.6);\n}\n\n:-ms-input-placeholder {\n color: rgba(0, 0, 0, 0.6);\n}\n\n.p-input-filled .p-inputtext {\n background-color: #f5f5f5;\n}\n.p-input-filled .p-inputtext:enabled:hover {\n background-color: #ececec;\n}\n.p-input-filled .p-inputtext:enabled:focus {\n background-color: #dcdcdc;\n}\n\n.p-inputtext-sm .p-inputtext {\n font-size: 0.875rem;\n padding: 0.65625rem 0.65625rem;\n}\n\n.p-inputtext-lg .p-inputtext {\n font-size: 1.25rem;\n padding: 0.9375rem 0.9375rem;\n}\n\n.p-listbox {\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border: 1px solid #e5e5e5;\n border-radius: 4px;\n}\n.p-listbox .p-listbox-header {\n padding: 0.75rem;\n border-bottom: 1px solid rgba(0, 0, 0, 0.12);\n color: rgba(0, 0, 0, 0.87);\n background: #ffffff;\n margin: 0;\n border-top-right-radius: 4px;\n border-top-left-radius: 4px;\n}\n.p-listbox .p-listbox-header .p-listbox-filter {\n padding-right: 1.75rem;\n}\n.p-listbox .p-listbox-header .p-listbox-filter-icon {\n right: 0.75rem;\n color: rgba(0, 0, 0, 0.6);\n}\n.p-listbox .p-listbox-list {\n padding: 0;\n}\n.p-listbox .p-listbox-list .p-listbox-item {\n margin: 0;\n padding: 0.75rem 0.75rem;\n border: 0 none;\n color: rgba(0, 0, 0, 0.87);\n transition: none;\n border-radius: 0;\n}\n.p-listbox .p-listbox-list .p-listbox-item.p-highlight {\n color: #3F51B5;\n background: rgba(63, 81, 181, 0.12);\n}\n.p-listbox .p-listbox-list .p-listbox-item:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-listbox .p-listbox-list .p-listbox-item-group {\n margin: 0;\n padding: 0.75rem;\n color: rgba(0, 0, 0, 0.6);\n background: #ffffff;\n font-weight: 400;\n}\n.p-listbox .p-listbox-list .p-listbox-empty-message {\n padding: 0.75rem 0.75rem;\n color: rgba(0, 0, 0, 0.87);\n background: transparent;\n}\n.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {\n color: rgba(0, 0, 0, 0.87);\n background: rgba(0, 0, 0, 0.04);\n}\n.p-listbox.p-invalid {\n border-color: #B00020;\n}\n\n.p-multiselect {\n background: #ffffff;\n border: 1px solid rgba(0, 0, 0, 0.38);\n transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);\n border-radius: 4px;\n}\n.p-multiselect:not(.p-disabled):hover {\n border-color: rgba(0, 0, 0, 0.87);\n}\n.p-multiselect:not(.p-disabled).p-focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n border-color: #3F51B5;\n}\n.p-multiselect .p-multiselect-label {\n padding: 0.75rem 0.75rem;\n transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);\n}\n.p-multiselect .p-multiselect-label.p-placeholder {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-multiselect.p-multiselect-chip .p-multiselect-token {\n padding: 0.375rem 0.75rem;\n margin-right: 0.5rem;\n background: rgba(0, 0, 0, 0.12);\n color: rgba(0, 0, 0, 0.87);\n border-radius: 16px;\n}\n.p-multiselect.p-multiselect-chip .p-multiselect-token .p-multiselect-token-icon {\n margin-left: 0.5rem;\n}\n.p-multiselect .p-multiselect-trigger {\n background: transparent;\n color: rgba(0, 0, 0, 0.6);\n width: 2.357rem;\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n}\n.p-multiselect.p-invalid.p-component {\n border-color: #B00020;\n}\n\n.p-inputwrapper-filled.p-multiselect.p-multiselect-chip .p-multiselect-label {\n padding: 0.375rem 0.75rem;\n}\n\n.p-multiselect-panel {\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border: 0 none;\n border-radius: 4px;\n box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);\n}\n.p-multiselect-panel .p-multiselect-header {\n padding: 0.75rem;\n border-bottom: 1px solid rgba(0, 0, 0, 0.12);\n color: rgba(0, 0, 0, 0.87);\n background: #ffffff;\n margin: 0;\n border-top-right-radius: 4px;\n border-top-left-radius: 4px;\n}\n.p-multiselect-panel .p-multiselect-header .p-multiselect-filter-container .p-inputtext {\n padding-right: 1.75rem;\n}\n.p-multiselect-panel .p-multiselect-header .p-multiselect-filter-container .p-multiselect-filter-icon {\n right: 0.75rem;\n color: rgba(0, 0, 0, 0.6);\n}\n.p-multiselect-panel .p-multiselect-header .p-checkbox {\n margin-right: 0.5rem;\n}\n.p-multiselect-panel .p-multiselect-header .p-multiselect-close {\n margin-left: 0.5rem;\n width: 2rem;\n height: 2rem;\n color: rgba(0, 0, 0, 0.6);\n border: 0 none;\n background: transparent;\n border-radius: 50%;\n transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;\n}\n.p-multiselect-panel .p-multiselect-header .p-multiselect-close:enabled:hover {\n color: rgba(0, 0, 0, 0.6);\n border-color: transparent;\n background: rgba(0, 0, 0, 0.04);\n}\n.p-multiselect-panel .p-multiselect-header .p-multiselect-close:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-multiselect-panel .p-multiselect-items {\n padding: 0;\n}\n.p-multiselect-panel .p-multiselect-items .p-multiselect-item {\n margin: 0;\n padding: 0.75rem 0.75rem;\n border: 0 none;\n color: rgba(0, 0, 0, 0.87);\n background: transparent;\n transition: none;\n border-radius: 0;\n}\n.p-multiselect-panel .p-multiselect-items .p-multiselect-item.p-highlight {\n color: #3F51B5;\n background: rgba(63, 81, 181, 0.12);\n}\n.p-multiselect-panel .p-multiselect-items .p-multiselect-item:not(.p-highlight):not(.p-disabled):hover {\n color: rgba(0, 0, 0, 0.87);\n background: rgba(0, 0, 0, 0.04);\n}\n.p-multiselect-panel .p-multiselect-items .p-multiselect-item:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox {\n margin-right: 0.5rem;\n}\n.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group {\n margin: 0;\n padding: 0.75rem;\n color: rgba(0, 0, 0, 0.6);\n background: #ffffff;\n font-weight: 400;\n}\n.p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message {\n padding: 0.75rem 0.75rem;\n color: rgba(0, 0, 0, 0.87);\n background: transparent;\n}\n\n.p-input-filled .p-multiselect {\n background: #f5f5f5;\n}\n.p-input-filled .p-multiselect:not(.p-disabled):hover {\n background-color: #ececec;\n}\n.p-input-filled .p-multiselect:not(.p-disabled).p-focus {\n background-color: #dcdcdc;\n}\n\n.p-password.p-invalid.p-component > .p-inputtext {\n border-color: #B00020;\n}\n\n.p-password-panel {\n padding: 0.75rem;\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border: 0 none;\n box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);\n border-radius: 4px;\n}\n.p-password-panel .p-password-meter {\n margin-bottom: 0.5rem;\n background: rgba(63, 81, 181, 0.32);\n}\n.p-password-panel .p-password-meter .p-password-strength.weak {\n background: #D32F2F;\n}\n.p-password-panel .p-password-meter .p-password-strength.medium {\n background: #FBC02D;\n}\n.p-password-panel .p-password-meter .p-password-strength.strong {\n background: #689F38;\n}\n\n.p-radiobutton {\n width: 20px;\n height: 20px;\n}\n.p-radiobutton .p-radiobutton-box {\n border: 2px solid #757575;\n background: #ffffff;\n width: 20px;\n height: 20px;\n color: rgba(0, 0, 0, 0.87);\n border-radius: 50%;\n transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);\n}\n.p-radiobutton .p-radiobutton-box:not(.p-disabled):not(.p-highlight):hover {\n border-color: rgba(0, 0, 0, 0.87);\n}\n.p-radiobutton .p-radiobutton-box:not(.p-disabled).p-focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n border-color: #3F51B5;\n}\n.p-radiobutton .p-radiobutton-box .p-radiobutton-icon {\n width: 10px;\n height: 10px;\n transition-duration: 0.2s;\n background-color: #3F51B5;\n}\n.p-radiobutton .p-radiobutton-box.p-highlight {\n border-color: #3F51B5;\n background: #ffffff;\n}\n.p-radiobutton .p-radiobutton-box.p-highlight:not(.p-disabled):hover {\n border-color: #3F51B5;\n background: #ffffff;\n color: #3F51B5;\n}\n.p-radiobutton.p-invalid > .p-radiobutton-box {\n border-color: #B00020;\n}\n.p-radiobutton:focus {\n outline: 0 none;\n}\n\n.p-input-filled .p-radiobutton .p-radiobutton-box {\n background-color: #f5f5f5;\n}\n.p-input-filled .p-radiobutton .p-radiobutton-box:not(.p-disabled):hover {\n background-color: #ececec;\n}\n.p-input-filled .p-radiobutton .p-radiobutton-box.p-highlight {\n background: #ffffff;\n}\n.p-input-filled .p-radiobutton .p-radiobutton-box.p-highlight:not(.p-disabled):hover {\n background: #ffffff;\n}\n\n.p-rating .p-rating-icon {\n color: #3F51B5;\n margin-left: 0.5rem;\n transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);\n font-size: 1rem;\n}\n.p-rating .p-rating-icon.p-rating-cancel {\n color: #B00020;\n}\n.p-rating .p-rating-icon:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-rating .p-rating-icon:first-child {\n margin-left: 0;\n}\n.p-rating .p-rating-icon.pi-star-fill {\n color: #3F51B5;\n}\n.p-rating:not(.p-disabled):not(.p-readonly) .p-rating-icon:hover {\n color: #3F51B5;\n}\n.p-rating:not(.p-disabled):not(.p-readonly) .p-rating-icon.p-rating-cancel:hover {\n color: #B00020;\n}\n\n.p-selectbutton .p-button {\n background: #ffffff;\n border: 1px solid rgba(0, 0, 0, 0.12);\n color: rgba(0, 0, 0, 0.87);\n transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);\n}\n.p-selectbutton .p-button .p-button-icon-left,\n.p-selectbutton .p-button .p-button-icon-right {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-selectbutton .p-button:not(.p-disabled):not(.p-highlight):hover {\n background: #f6f6f6;\n border-color: rgba(0, 0, 0, 0.12);\n color: rgba(0, 0, 0, 0.87);\n}\n.p-selectbutton .p-button:not(.p-disabled):not(.p-highlight):hover .p-button-icon-left,\n.p-selectbutton .p-button:not(.p-disabled):not(.p-highlight):hover .p-button-icon-right {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-selectbutton .p-button.p-highlight {\n background: #e0e0e1;\n border-color: #e0e0e1;\n color: rgba(0, 0, 0, 0.87);\n}\n.p-selectbutton .p-button.p-highlight .p-button-icon-left,\n.p-selectbutton .p-button.p-highlight .p-button-icon-right {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-selectbutton .p-button.p-highlight:hover {\n background: #d9d8d9;\n border-color: #d9d8d9;\n color: rgba(0, 0, 0, 0.87);\n}\n.p-selectbutton .p-button.p-highlight:hover .p-button-icon-left,\n.p-selectbutton .p-button.p-highlight:hover .p-button-icon-right {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-selectbutton.p-invalid > .p-button {\n border-color: #B00020;\n}\n\n.p-slider {\n background: #c1c1c1;\n border: 0 none;\n border-radius: 4px;\n}\n.p-slider.p-slider-horizontal {\n height: 2px;\n}\n.p-slider.p-slider-horizontal .p-slider-handle {\n margin-top: -10px;\n margin-left: -10px;\n}\n.p-slider.p-slider-vertical {\n width: 2px;\n}\n.p-slider.p-slider-vertical .p-slider-handle {\n margin-left: -10px;\n margin-bottom: -10px;\n}\n.p-slider .p-slider-handle {\n height: 20px;\n width: 20px;\n background: #3F51B5;\n border: 0 none;\n border-radius: 50%;\n transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);\n}\n.p-slider .p-slider-handle:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-slider .p-slider-range {\n background: #3F51B5;\n}\n.p-slider:not(.p-disabled) .p-slider-handle:hover {\n background: #3F51B5;\n border-color: 0 none;\n}\n\n.p-treeselect {\n background: #ffffff;\n border: 1px solid rgba(0, 0, 0, 0.38);\n transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);\n border-radius: 4px;\n}\n.p-treeselect:not(.p-disabled):hover {\n border-color: rgba(0, 0, 0, 0.87);\n}\n.p-treeselect:not(.p-disabled).p-focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n border-color: #3F51B5;\n}\n.p-treeselect .p-treeselect-label {\n padding: 0.75rem 0.75rem;\n transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);\n}\n.p-treeselect .p-treeselect-label.p-placeholder {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-treeselect.p-treeselect-chip .p-treeselect-token {\n padding: 0.375rem 0.75rem;\n margin-right: 0.5rem;\n background: rgba(0, 0, 0, 0.12);\n color: rgba(0, 0, 0, 0.87);\n border-radius: 16px;\n}\n.p-treeselect .p-treeselect-trigger {\n background: transparent;\n color: rgba(0, 0, 0, 0.6);\n width: 2.357rem;\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n}\n.p-treeselect.p-invalid.p-component {\n border-color: #B00020;\n}\n\n.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label {\n padding: 0.375rem 0.75rem;\n}\n\n.p-treeselect-panel {\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border: 0 none;\n border-radius: 4px;\n box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);\n}\n.p-treeselect-panel .p-treeselect-items-wrapper .p-tree {\n border: 0 none;\n}\n.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message {\n padding: 0.75rem 0.75rem;\n color: rgba(0, 0, 0, 0.87);\n background: transparent;\n}\n\n.p-input-filled .p-treeselect {\n background: #f5f5f5;\n}\n.p-input-filled .p-treeselect:not(.p-disabled):hover {\n background-color: #ececec;\n}\n.p-input-filled .p-treeselect:not(.p-disabled).p-focus {\n background-color: #dcdcdc;\n}\n\n.p-togglebutton.p-button {\n background: #ffffff;\n border: 1px solid rgba(0, 0, 0, 0.12);\n color: rgba(0, 0, 0, 0.87);\n transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);\n}\n.p-togglebutton.p-button .p-button-icon-left,\n.p-togglebutton.p-button .p-button-icon-right {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-togglebutton.p-button:not(.p-disabled):not(.p-highlight):hover {\n background: #f6f6f6;\n border-color: rgba(0, 0, 0, 0.12);\n color: rgba(0, 0, 0, 0.87);\n}\n.p-togglebutton.p-button:not(.p-disabled):not(.p-highlight):hover .p-button-icon-left,\n.p-togglebutton.p-button:not(.p-disabled):not(.p-highlight):hover .p-button-icon-right {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-togglebutton.p-button.p-highlight {\n background: #e0e0e1;\n border-color: #e0e0e1;\n color: rgba(0, 0, 0, 0.87);\n}\n.p-togglebutton.p-button.p-highlight .p-button-icon-left,\n.p-togglebutton.p-button.p-highlight .p-button-icon-right {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-togglebutton.p-button.p-highlight:hover {\n background: #d9d8d9;\n border-color: #d9d8d9;\n color: rgba(0, 0, 0, 0.87);\n}\n.p-togglebutton.p-button.p-highlight:hover .p-button-icon-left,\n.p-togglebutton.p-button.p-highlight:hover .p-button-icon-right {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-togglebutton.p-button.p-invalid > .p-button {\n border-color: #B00020;\n}\n\n.p-button {\n color: #ffffff;\n background: #3F51B5;\n border: 0 none;\n padding: 0.571rem 0.75rem;\n font-size: 1rem;\n transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);\n border-radius: 4px;\n}\n.p-button:enabled:hover {\n background: rgba(63, 81, 181, 0.92);\n color: #ffffff;\n border-color: transparent;\n}\n.p-button:enabled:active {\n background: rgba(63, 81, 181, 0.68);\n color: #ffffff;\n border-color: transparent;\n}\n.p-button.p-button-outlined {\n background-color: transparent;\n color: #3F51B5;\n border: 0 none;\n}\n.p-button.p-button-outlined:enabled:hover {\n background: rgba(63, 81, 181, 0.04);\n color: #3F51B5;\n border: 0 none;\n}\n.p-button.p-button-outlined:enabled:active {\n background: rgba(63, 81, 181, 0.16);\n color: #3F51B5;\n border: 0 none;\n}\n.p-button.p-button-outlined.p-button-plain {\n color: rgba(0, 0, 0, 0.6);\n border-color: rgba(0, 0, 0, 0.6);\n}\n.p-button.p-button-outlined.p-button-plain:enabled:hover {\n background: rgba(0, 0, 0, 0.04);\n color: rgba(0, 0, 0, 0.6);\n}\n.p-button.p-button-outlined.p-button-plain:enabled:active {\n background: rgba(0, 0, 0, 0.16);\n color: rgba(0, 0, 0, 0.6);\n}\n.p-button.p-button-text {\n background-color: transparent;\n color: #3F51B5;\n border-color: transparent;\n}\n.p-button.p-button-text:enabled:hover {\n background: rgba(63, 81, 181, 0.04);\n color: #3F51B5;\n border-color: transparent;\n}\n.p-button.p-button-text:enabled:active {\n background: rgba(63, 81, 181, 0.16);\n color: #3F51B5;\n border-color: transparent;\n}\n.p-button.p-button-text.p-button-plain {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-button.p-button-text.p-button-plain:enabled:hover {\n background: rgba(0, 0, 0, 0.04);\n color: rgba(0, 0, 0, 0.6);\n}\n.p-button.p-button-text.p-button-plain:enabled:active {\n background: rgba(0, 0, 0, 0.16);\n color: rgba(0, 0, 0, 0.6);\n}\n.p-button:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-button .p-button-icon-left {\n margin-right: 0.5rem;\n}\n.p-button .p-button-icon-right {\n margin-left: 0.5rem;\n}\n.p-button .p-button-icon-bottom {\n margin-top: 0.5rem;\n}\n.p-button .p-button-icon-top {\n margin-bottom: 0.5rem;\n}\n.p-button .p-badge {\n margin-left: 0.5rem;\n min-width: 1rem;\n height: 1rem;\n line-height: 1rem;\n color: #3F51B5;\n background-color: #ffffff;\n}\n.p-button.p-button-raised {\n box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);\n}\n.p-button.p-button-rounded {\n border-radius: 2rem;\n}\n.p-button.p-button-icon-only {\n width: 2.25rem;\n padding: 0.571rem;\n}\n.p-button.p-button-icon-only .p-button-icon-left,\n.p-button.p-button-icon-only .p-button-icon-right {\n margin: 0;\n}\n.p-button.p-button-icon-only.p-button-rounded {\n border-radius: 50%;\n height: 2.25rem;\n}\n.p-button.p-button-sm {\n font-size: 0.875rem;\n padding: 0.499625rem 0.65625rem;\n}\n.p-button.p-button-sm .p-button-icon {\n font-size: 0.875rem;\n}\n.p-button.p-button-lg {\n font-size: 1.25rem;\n padding: 0.71375rem 0.9375rem;\n}\n.p-button.p-button-lg .p-button-icon {\n font-size: 1.25rem;\n}\n.p-button.p-button-loading-label-only .p-button-label {\n margin-left: 0.5rem;\n}\n.p-button.p-button-loading-label-only .p-button-loading-icon {\n margin-right: 0;\n}\n\n.p-fluid .p-button {\n width: 100%;\n}\n.p-fluid .p-button-icon-only {\n width: 2.25rem;\n}\n.p-fluid .p-buttonset {\n display: flex;\n}\n.p-fluid .p-buttonset .p-button {\n flex: 1;\n}\n\n.p-button.p-button-secondary, .p-buttonset.p-button-secondary > .p-button, .p-splitbutton.p-button-secondary > .p-button {\n color: #ffffff;\n background: #ff4081;\n border: 0 none;\n}\n.p-button.p-button-secondary:enabled:hover, .p-buttonset.p-button-secondary > .p-button:enabled:hover, .p-splitbutton.p-button-secondary > .p-button:enabled:hover {\n background: rgba(255, 64, 129, 0.92);\n color: #ffffff;\n border-color: transparent;\n}\n.p-button.p-button-secondary:enabled:focus, .p-buttonset.p-button-secondary > .p-button:enabled:focus, .p-splitbutton.p-button-secondary > .p-button:enabled:focus {\n box-shadow: none;\n}\n.p-button.p-button-secondary:enabled:active, .p-buttonset.p-button-secondary > .p-button:enabled:active, .p-splitbutton.p-button-secondary > .p-button:enabled:active {\n background: rgba(255, 64, 129, 0.68);\n color: #ffffff;\n border-color: transparent;\n}\n.p-button.p-button-secondary.p-button-outlined, .p-buttonset.p-button-secondary > .p-button.p-button-outlined, .p-splitbutton.p-button-secondary > .p-button.p-button-outlined {\n background-color: transparent;\n color: #ff4081;\n border: 0 none;\n}\n.p-button.p-button-secondary.p-button-outlined:enabled:hover, .p-buttonset.p-button-secondary > .p-button.p-button-outlined:enabled:hover, .p-splitbutton.p-button-secondary > .p-button.p-button-outlined:enabled:hover {\n background: rgba(255, 64, 129, 0.04);\n color: #ff4081;\n border: 0 none;\n}\n.p-button.p-button-secondary.p-button-outlined:enabled:active, .p-buttonset.p-button-secondary > .p-button.p-button-outlined:enabled:active, .p-splitbutton.p-button-secondary > .p-button.p-button-outlined:enabled:active {\n background: rgba(255, 64, 129, 0.16);\n color: #ff4081;\n border: 0 none;\n}\n.p-button.p-button-secondary.p-button-text, .p-buttonset.p-button-secondary > .p-button.p-button-text, .p-splitbutton.p-button-secondary > .p-button.p-button-text {\n background-color: transparent;\n color: #ff4081;\n border-color: transparent;\n}\n.p-button.p-button-secondary.p-button-text:enabled:hover, .p-buttonset.p-button-secondary > .p-button.p-button-text:enabled:hover, .p-splitbutton.p-button-secondary > .p-button.p-button-text:enabled:hover {\n background: rgba(255, 64, 129, 0.04);\n border-color: transparent;\n color: #ff4081;\n}\n.p-button.p-button-secondary.p-button-text:enabled:active, .p-buttonset.p-button-secondary > .p-button.p-button-text:enabled:active, .p-splitbutton.p-button-secondary > .p-button.p-button-text:enabled:active {\n background: rgba(255, 64, 129, 0.16);\n border-color: transparent;\n color: #ff4081;\n}\n\n.p-button.p-button-info, .p-buttonset.p-button-info > .p-button, .p-splitbutton.p-button-info > .p-button {\n color: #ffffff;\n background: #2196F3;\n border: 0 none;\n}\n.p-button.p-button-info:enabled:hover, .p-buttonset.p-button-info > .p-button:enabled:hover, .p-splitbutton.p-button-info > .p-button:enabled:hover {\n background: rgba(33, 150, 243, 0.92);\n color: #ffffff;\n border-color: transparent;\n}\n.p-button.p-button-info:enabled:focus, .p-buttonset.p-button-info > .p-button:enabled:focus, .p-splitbutton.p-button-info > .p-button:enabled:focus {\n box-shadow: none;\n}\n.p-button.p-button-info:enabled:active, .p-buttonset.p-button-info > .p-button:enabled:active, .p-splitbutton.p-button-info > .p-button:enabled:active {\n background: rgba(33, 150, 243, 0.68);\n color: #ffffff;\n border-color: transparent;\n}\n.p-button.p-button-info.p-button-outlined, .p-buttonset.p-button-info > .p-button.p-button-outlined, .p-splitbutton.p-button-info > .p-button.p-button-outlined {\n background-color: transparent;\n color: #2196F3;\n border: 0 none;\n}\n.p-button.p-button-info.p-button-outlined:enabled:hover, .p-buttonset.p-button-info > .p-button.p-button-outlined:enabled:hover, .p-splitbutton.p-button-info > .p-button.p-button-outlined:enabled:hover {\n background: rgba(33, 150, 243, 0.04);\n color: #2196F3;\n border: 0 none;\n}\n.p-button.p-button-info.p-button-outlined:enabled:active, .p-buttonset.p-button-info > .p-button.p-button-outlined:enabled:active, .p-splitbutton.p-button-info > .p-button.p-button-outlined:enabled:active {\n background: rgba(33, 150, 243, 0.16);\n color: #2196F3;\n border: 0 none;\n}\n.p-button.p-button-info.p-button-text, .p-buttonset.p-button-info > .p-button.p-button-text, .p-splitbutton.p-button-info > .p-button.p-button-text {\n background-color: transparent;\n color: #2196F3;\n border-color: transparent;\n}\n.p-button.p-button-info.p-button-text:enabled:hover, .p-buttonset.p-button-info > .p-button.p-button-text:enabled:hover, .p-splitbutton.p-button-info > .p-button.p-button-text:enabled:hover {\n background: rgba(33, 150, 243, 0.04);\n border-color: transparent;\n color: #2196F3;\n}\n.p-button.p-button-info.p-button-text:enabled:active, .p-buttonset.p-button-info > .p-button.p-button-text:enabled:active, .p-splitbutton.p-button-info > .p-button.p-button-text:enabled:active {\n background: rgba(33, 150, 243, 0.16);\n border-color: transparent;\n color: #2196F3;\n}\n\n.p-button.p-button-success, .p-buttonset.p-button-success > .p-button, .p-splitbutton.p-button-success > .p-button {\n color: #ffffff;\n background: #689F38;\n border: 0 none;\n}\n.p-button.p-button-success:enabled:hover, .p-buttonset.p-button-success > .p-button:enabled:hover, .p-splitbutton.p-button-success > .p-button:enabled:hover {\n background: rgba(104, 159, 56, 0.92);\n color: #ffffff;\n border-color: transparent;\n}\n.p-button.p-button-success:enabled:focus, .p-buttonset.p-button-success > .p-button:enabled:focus, .p-splitbutton.p-button-success > .p-button:enabled:focus {\n box-shadow: none;\n}\n.p-button.p-button-success:enabled:active, .p-buttonset.p-button-success > .p-button:enabled:active, .p-splitbutton.p-button-success > .p-button:enabled:active {\n background: rgba(104, 159, 56, 0.68);\n color: #ffffff;\n border-color: transparent;\n}\n.p-button.p-button-success.p-button-outlined, .p-buttonset.p-button-success > .p-button.p-button-outlined, .p-splitbutton.p-button-success > .p-button.p-button-outlined {\n background-color: transparent;\n color: #689F38;\n border: 0 none;\n}\n.p-button.p-button-success.p-button-outlined:enabled:hover, .p-buttonset.p-button-success > .p-button.p-button-outlined:enabled:hover, .p-splitbutton.p-button-success > .p-button.p-button-outlined:enabled:hover {\n background: rgba(104, 159, 56, 0.04);\n color: #689F38;\n border: 0 none;\n}\n.p-button.p-button-success.p-button-outlined:enabled:active, .p-buttonset.p-button-success > .p-button.p-button-outlined:enabled:active, .p-splitbutton.p-button-success > .p-button.p-button-outlined:enabled:active {\n background: rgba(104, 159, 56, 0.16);\n color: #689F38;\n border: 0 none;\n}\n.p-button.p-button-success.p-button-text, .p-buttonset.p-button-success > .p-button.p-button-text, .p-splitbutton.p-button-success > .p-button.p-button-text {\n background-color: transparent;\n color: #689F38;\n border-color: transparent;\n}\n.p-button.p-button-success.p-button-text:enabled:hover, .p-buttonset.p-button-success > .p-button.p-button-text:enabled:hover, .p-splitbutton.p-button-success > .p-button.p-button-text:enabled:hover {\n background: rgba(104, 159, 56, 0.04);\n border-color: transparent;\n color: #689F38;\n}\n.p-button.p-button-success.p-button-text:enabled:active, .p-buttonset.p-button-success > .p-button.p-button-text:enabled:active, .p-splitbutton.p-button-success > .p-button.p-button-text:enabled:active {\n background: rgba(104, 159, 56, 0.16);\n border-color: transparent;\n color: #689F38;\n}\n\n.p-button.p-button-warning, .p-buttonset.p-button-warning > .p-button, .p-splitbutton.p-button-warning > .p-button {\n color: #212529;\n background: #FBC02D;\n border: 0 none;\n}\n.p-button.p-button-warning:enabled:hover, .p-buttonset.p-button-warning > .p-button:enabled:hover, .p-splitbutton.p-button-warning > .p-button:enabled:hover {\n background: rgba(251, 192, 45, 0.92);\n color: #212529;\n border-color: transparent;\n}\n.p-button.p-button-warning:enabled:focus, .p-buttonset.p-button-warning > .p-button:enabled:focus, .p-splitbutton.p-button-warning > .p-button:enabled:focus {\n box-shadow: none;\n}\n.p-button.p-button-warning:enabled:active, .p-buttonset.p-button-warning > .p-button:enabled:active, .p-splitbutton.p-button-warning > .p-button:enabled:active {\n background: rgba(251, 192, 45, 0.68);\n color: #212529;\n border-color: transparent;\n}\n.p-button.p-button-warning.p-button-outlined, .p-buttonset.p-button-warning > .p-button.p-button-outlined, .p-splitbutton.p-button-warning > .p-button.p-button-outlined {\n background-color: transparent;\n color: #FBC02D;\n border: 0 none;\n}\n.p-button.p-button-warning.p-button-outlined:enabled:hover, .p-buttonset.p-button-warning > .p-button.p-button-outlined:enabled:hover, .p-splitbutton.p-button-warning > .p-button.p-button-outlined:enabled:hover {\n background: rgba(251, 192, 45, 0.04);\n color: #FBC02D;\n border: 0 none;\n}\n.p-button.p-button-warning.p-button-outlined:enabled:active, .p-buttonset.p-button-warning > .p-button.p-button-outlined:enabled:active, .p-splitbutton.p-button-warning > .p-button.p-button-outlined:enabled:active {\n background: rgba(251, 192, 45, 0.16);\n color: #FBC02D;\n border: 0 none;\n}\n.p-button.p-button-warning.p-button-text, .p-buttonset.p-button-warning > .p-button.p-button-text, .p-splitbutton.p-button-warning > .p-button.p-button-text {\n background-color: transparent;\n color: #FBC02D;\n border-color: transparent;\n}\n.p-button.p-button-warning.p-button-text:enabled:hover, .p-buttonset.p-button-warning > .p-button.p-button-text:enabled:hover, .p-splitbutton.p-button-warning > .p-button.p-button-text:enabled:hover {\n background: rgba(251, 192, 45, 0.04);\n border-color: transparent;\n color: #FBC02D;\n}\n.p-button.p-button-warning.p-button-text:enabled:active, .p-buttonset.p-button-warning > .p-button.p-button-text:enabled:active, .p-splitbutton.p-button-warning > .p-button.p-button-text:enabled:active {\n background: rgba(251, 192, 45, 0.16);\n border-color: transparent;\n color: #FBC02D;\n}\n\n.p-button.p-button-help, .p-buttonset.p-button-help > .p-button, .p-splitbutton.p-button-help > .p-button {\n color: #ffffff;\n background: #9C27B0;\n border: 0 none;\n}\n.p-button.p-button-help:enabled:hover, .p-buttonset.p-button-help > .p-button:enabled:hover, .p-splitbutton.p-button-help > .p-button:enabled:hover {\n background: rgba(156, 39, 176, 0.92);\n color: #ffffff;\n border-color: transparent;\n}\n.p-button.p-button-help:enabled:focus, .p-buttonset.p-button-help > .p-button:enabled:focus, .p-splitbutton.p-button-help > .p-button:enabled:focus {\n box-shadow: none;\n}\n.p-button.p-button-help:enabled:active, .p-buttonset.p-button-help > .p-button:enabled:active, .p-splitbutton.p-button-help > .p-button:enabled:active {\n background: rgba(156, 39, 176, 0.68);\n color: #ffffff;\n border-color: transparent;\n}\n.p-button.p-button-help.p-button-outlined, .p-buttonset.p-button-help > .p-button.p-button-outlined, .p-splitbutton.p-button-help > .p-button.p-button-outlined {\n background-color: transparent;\n color: #9C27B0;\n border: 0 none;\n}\n.p-button.p-button-help.p-button-outlined:enabled:hover, .p-buttonset.p-button-help > .p-button.p-button-outlined:enabled:hover, .p-splitbutton.p-button-help > .p-button.p-button-outlined:enabled:hover {\n background: rgba(156, 39, 176, 0.04);\n color: #9C27B0;\n border: 0 none;\n}\n.p-button.p-button-help.p-button-outlined:enabled:active, .p-buttonset.p-button-help > .p-button.p-button-outlined:enabled:active, .p-splitbutton.p-button-help > .p-button.p-button-outlined:enabled:active {\n background: rgba(156, 39, 176, 0.16);\n color: #9C27B0;\n border: 0 none;\n}\n.p-button.p-button-help.p-button-text, .p-buttonset.p-button-help > .p-button.p-button-text, .p-splitbutton.p-button-help > .p-button.p-button-text {\n background-color: transparent;\n color: #9C27B0;\n border-color: transparent;\n}\n.p-button.p-button-help.p-button-text:enabled:hover, .p-buttonset.p-button-help > .p-button.p-button-text:enabled:hover, .p-splitbutton.p-button-help > .p-button.p-button-text:enabled:hover {\n background: rgba(156, 39, 176, 0.04);\n border-color: transparent;\n color: #9C27B0;\n}\n.p-button.p-button-help.p-button-text:enabled:active, .p-buttonset.p-button-help > .p-button.p-button-text:enabled:active, .p-splitbutton.p-button-help > .p-button.p-button-text:enabled:active {\n background: rgba(156, 39, 176, 0.16);\n border-color: transparent;\n color: #9C27B0;\n}\n\n.p-button.p-button-danger, .p-buttonset.p-button-danger > .p-button, .p-splitbutton.p-button-danger > .p-button {\n color: #ffffff;\n background: #D32F2F;\n border: 0 none;\n}\n.p-button.p-button-danger:enabled:hover, .p-buttonset.p-button-danger > .p-button:enabled:hover, .p-splitbutton.p-button-danger > .p-button:enabled:hover {\n background: rgba(211, 47, 47, 0.92);\n color: #ffffff;\n border-color: transparent;\n}\n.p-button.p-button-danger:enabled:focus, .p-buttonset.p-button-danger > .p-button:enabled:focus, .p-splitbutton.p-button-danger > .p-button:enabled:focus {\n box-shadow: none;\n}\n.p-button.p-button-danger:enabled:active, .p-buttonset.p-button-danger > .p-button:enabled:active, .p-splitbutton.p-button-danger > .p-button:enabled:active {\n background: rgba(211, 47, 47, 0.68);\n color: #ffffff;\n border-color: transparent;\n}\n.p-button.p-button-danger.p-button-outlined, .p-buttonset.p-button-danger > .p-button.p-button-outlined, .p-splitbutton.p-button-danger > .p-button.p-button-outlined {\n background-color: transparent;\n color: #D32F2F;\n border: 0 none;\n}\n.p-button.p-button-danger.p-button-outlined:enabled:hover, .p-buttonset.p-button-danger > .p-button.p-button-outlined:enabled:hover, .p-splitbutton.p-button-danger > .p-button.p-button-outlined:enabled:hover {\n background: rgba(211, 47, 47, 0.04);\n color: #D32F2F;\n border: 0 none;\n}\n.p-button.p-button-danger.p-button-outlined:enabled:active, .p-buttonset.p-button-danger > .p-button.p-button-outlined:enabled:active, .p-splitbutton.p-button-danger > .p-button.p-button-outlined:enabled:active {\n background: rgba(211, 47, 47, 0.16);\n color: #D32F2F;\n border: 0 none;\n}\n.p-button.p-button-danger.p-button-text, .p-buttonset.p-button-danger > .p-button.p-button-text, .p-splitbutton.p-button-danger > .p-button.p-button-text {\n background-color: transparent;\n color: #D32F2F;\n border-color: transparent;\n}\n.p-button.p-button-danger.p-button-text:enabled:hover, .p-buttonset.p-button-danger > .p-button.p-button-text:enabled:hover, .p-splitbutton.p-button-danger > .p-button.p-button-text:enabled:hover {\n background: rgba(211, 47, 47, 0.04);\n border-color: transparent;\n color: #D32F2F;\n}\n.p-button.p-button-danger.p-button-text:enabled:active, .p-buttonset.p-button-danger > .p-button.p-button-text:enabled:active, .p-splitbutton.p-button-danger > .p-button.p-button-text:enabled:active {\n background: rgba(211, 47, 47, 0.16);\n border-color: transparent;\n color: #D32F2F;\n}\n\n.p-button.p-button-link {\n color: #3F51B5;\n background: transparent;\n border: transparent;\n}\n.p-button.p-button-link:enabled:hover {\n background: transparent;\n color: #3F51B5;\n border-color: transparent;\n}\n.p-button.p-button-link:enabled:hover .p-button-label {\n text-decoration: underline;\n}\n.p-button.p-button-link:enabled:focus {\n background: transparent;\n box-shadow: none;\n border-color: transparent;\n}\n.p-button.p-button-link:enabled:active {\n background: transparent;\n color: #3F51B5;\n border-color: transparent;\n}\n\n.p-speeddial-button.p-button.p-button-icon-only {\n width: 4rem;\n height: 4rem;\n}\n.p-speeddial-button.p-button.p-button-icon-only .p-button-icon {\n font-size: 2rem;\n}\n\n.p-speeddial-action {\n width: 3rem;\n height: 3rem;\n background: #ff4081;\n color: #fff;\n}\n.p-speeddial-action:hover {\n background: rgba(255, 64, 129, 0.92);\n color: #fff;\n}\n\n.p-speeddial-direction-up .p-speeddial-item {\n margin: 0.25rem 0;\n}\n.p-speeddial-direction-up .p-speeddial-item:first-child {\n margin-bottom: 0.5rem;\n}\n\n.p-speeddial-direction-down .p-speeddial-item {\n margin: 0.25rem 0;\n}\n.p-speeddial-direction-down .p-speeddial-item:first-child {\n margin-top: 0.5rem;\n}\n\n.p-speeddial-direction-left .p-speeddial-item {\n margin: 0 0.25rem;\n}\n.p-speeddial-direction-left .p-speeddial-item:first-child {\n margin-right: 0.5rem;\n}\n\n.p-speeddial-direction-right .p-speeddial-item {\n margin: 0 0.25rem;\n}\n.p-speeddial-direction-right .p-speeddial-item:first-child {\n margin-left: 0.5rem;\n}\n\n.p-speeddial-circle .p-speeddial-item,\n.p-speeddial-semi-circle .p-speeddial-item,\n.p-speeddial-quarter-circle .p-speeddial-item {\n margin: 0;\n}\n.p-speeddial-circle .p-speeddial-item:first-child, .p-speeddial-circle .p-speeddial-item:last-child,\n.p-speeddial-semi-circle .p-speeddial-item:first-child,\n.p-speeddial-semi-circle .p-speeddial-item:last-child,\n.p-speeddial-quarter-circle .p-speeddial-item:first-child,\n.p-speeddial-quarter-circle .p-speeddial-item:last-child {\n margin: 0;\n}\n\n.p-speeddial-mask {\n background-color: rgba(0, 0, 0, 0.32);\n}\n\n.p-splitbutton {\n border-radius: 4px;\n}\n.p-splitbutton.p-button-outlined > .p-button {\n background-color: transparent;\n color: #3F51B5;\n border: 0 none;\n}\n.p-splitbutton.p-button-outlined > .p-button:enabled:hover, .p-splitbutton.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):hover {\n background: rgba(63, 81, 181, 0.04);\n color: #3F51B5;\n}\n.p-splitbutton.p-button-outlined > .p-button:enabled:active, .p-splitbutton.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(63, 81, 181, 0.16);\n color: #3F51B5;\n}\n.p-splitbutton.p-button-outlined.p-button-plain > .p-button {\n color: rgba(0, 0, 0, 0.6);\n border-color: rgba(0, 0, 0, 0.6);\n}\n.p-splitbutton.p-button-outlined.p-button-plain > .p-button:enabled:hover, .p-splitbutton.p-button-outlined.p-button-plain > .p-button:not(button):not(a):not(.p-disabled):hover {\n background: rgba(0, 0, 0, 0.04);\n color: rgba(0, 0, 0, 0.6);\n}\n.p-splitbutton.p-button-outlined.p-button-plain > .p-button:enabled:active, .p-splitbutton.p-button-outlined.p-button-plain > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(0, 0, 0, 0.16);\n color: rgba(0, 0, 0, 0.6);\n}\n.p-splitbutton.p-button-text > .p-button {\n background-color: transparent;\n color: #3F51B5;\n border-color: transparent;\n}\n.p-splitbutton.p-button-text > .p-button:enabled:hover, .p-splitbutton.p-button-text > .p-button:not(button):not(a):not(.p-disabled):hover {\n background: rgba(63, 81, 181, 0.04);\n color: #3F51B5;\n border-color: transparent;\n}\n.p-splitbutton.p-button-text > .p-button:enabled:active, .p-splitbutton.p-button-text > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(63, 81, 181, 0.16);\n color: #3F51B5;\n border-color: transparent;\n}\n.p-splitbutton.p-button-text.p-button-plain > .p-button {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-splitbutton.p-button-text.p-button-plain > .p-button:enabled:hover, .p-splitbutton.p-button-text.p-button-plain > .p-button:not(button):not(a):not(.p-disabled):hover {\n background: rgba(0, 0, 0, 0.04);\n color: rgba(0, 0, 0, 0.6);\n}\n.p-splitbutton.p-button-text.p-button-plain > .p-button:enabled:active, .p-splitbutton.p-button-text.p-button-plain > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(0, 0, 0, 0.16);\n color: rgba(0, 0, 0, 0.6);\n}\n.p-splitbutton.p-button-raised {\n box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);\n}\n.p-splitbutton.p-button-rounded {\n border-radius: 2rem;\n}\n.p-splitbutton.p-button-rounded > .p-button {\n border-radius: 2rem;\n}\n.p-splitbutton.p-button-sm > .p-button {\n font-size: 0.875rem;\n padding: 0.499625rem 0.65625rem;\n}\n.p-splitbutton.p-button-sm > .p-button .p-button-icon {\n font-size: 0.875rem;\n}\n.p-splitbutton.p-button-lg > .p-button {\n font-size: 1.25rem;\n padding: 0.71375rem 0.9375rem;\n}\n.p-splitbutton.p-button-lg > .p-button .p-button-icon {\n font-size: 1.25rem;\n}\n\n.p-splitbutton.p-button-secondary.p-button-outlined > .p-button {\n background-color: transparent;\n color: #ff4081;\n border: 0 none;\n}\n.p-splitbutton.p-button-secondary.p-button-outlined > .p-button:enabled:hover, .p-splitbutton.p-button-secondary.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):hover {\n background: rgba(255, 64, 129, 0.04);\n color: #ff4081;\n}\n.p-splitbutton.p-button-secondary.p-button-outlined > .p-button:enabled:active, .p-splitbutton.p-button-secondary.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(255, 64, 129, 0.16);\n color: #ff4081;\n}\n.p-splitbutton.p-button-secondary.p-button-text > .p-button {\n background-color: transparent;\n color: #ff4081;\n border-color: transparent;\n}\n.p-splitbutton.p-button-secondary.p-button-text > .p-button:enabled:hover, .p-splitbutton.p-button-secondary.p-button-text > .p-button:not(button):not(a):not(.p-disabled):hover {\n background: rgba(255, 64, 129, 0.04);\n border-color: transparent;\n color: #ff4081;\n}\n.p-splitbutton.p-button-secondary.p-button-text > .p-button:enabled:active, .p-splitbutton.p-button-secondary.p-button-text > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(255, 64, 129, 0.16);\n border-color: transparent;\n color: #ff4081;\n}\n\n.p-splitbutton.p-button-info.p-button-outlined > .p-button {\n background-color: transparent;\n color: #2196F3;\n border: 0 none;\n}\n.p-splitbutton.p-button-info.p-button-outlined > .p-button:enabled:hover, .p-splitbutton.p-button-info.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):hover {\n background: rgba(33, 150, 243, 0.04);\n color: #2196F3;\n}\n.p-splitbutton.p-button-info.p-button-outlined > .p-button:enabled:active, .p-splitbutton.p-button-info.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(33, 150, 243, 0.16);\n color: #2196F3;\n}\n.p-splitbutton.p-button-info.p-button-text > .p-button {\n background-color: transparent;\n color: #2196F3;\n border-color: transparent;\n}\n.p-splitbutton.p-button-info.p-button-text > .p-button:enabled:hover, .p-splitbutton.p-button-info.p-button-text > .p-button:not(button):not(a):not(.p-disabled):hover {\n background: rgba(33, 150, 243, 0.04);\n border-color: transparent;\n color: #2196F3;\n}\n.p-splitbutton.p-button-info.p-button-text > .p-button:enabled:active, .p-splitbutton.p-button-info.p-button-text > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(33, 150, 243, 0.16);\n border-color: transparent;\n color: #2196F3;\n}\n\n.p-splitbutton.p-button-success.p-button-outlined > .p-button {\n background-color: transparent;\n color: #689F38;\n border: 0 none;\n}\n.p-splitbutton.p-button-success.p-button-outlined > .p-button:enabled:hover, .p-splitbutton.p-button-success.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):hover {\n background: rgba(104, 159, 56, 0.04);\n color: #689F38;\n}\n.p-splitbutton.p-button-success.p-button-outlined > .p-button:enabled:active, .p-splitbutton.p-button-success.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(104, 159, 56, 0.16);\n color: #689F38;\n}\n.p-splitbutton.p-button-success.p-button-text > .p-button {\n background-color: transparent;\n color: #689F38;\n border-color: transparent;\n}\n.p-splitbutton.p-button-success.p-button-text > .p-button:enabled:hover, .p-splitbutton.p-button-success.p-button-text > .p-button:not(button):not(a):not(.p-disabled):hover {\n background: rgba(104, 159, 56, 0.04);\n border-color: transparent;\n color: #689F38;\n}\n.p-splitbutton.p-button-success.p-button-text > .p-button:enabled:active, .p-splitbutton.p-button-success.p-button-text > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(104, 159, 56, 0.16);\n border-color: transparent;\n color: #689F38;\n}\n\n.p-splitbutton.p-button-warning.p-button-outlined > .p-button {\n background-color: transparent;\n color: #FBC02D;\n border: 0 none;\n}\n.p-splitbutton.p-button-warning.p-button-outlined > .p-button:enabled:hover, .p-splitbutton.p-button-warning.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):hover {\n background: rgba(251, 192, 45, 0.04);\n color: #FBC02D;\n}\n.p-splitbutton.p-button-warning.p-button-outlined > .p-button:enabled:active, .p-splitbutton.p-button-warning.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(251, 192, 45, 0.16);\n color: #FBC02D;\n}\n.p-splitbutton.p-button-warning.p-button-text > .p-button {\n background-color: transparent;\n color: #FBC02D;\n border-color: transparent;\n}\n.p-splitbutton.p-button-warning.p-button-text > .p-button:enabled:hover, .p-splitbutton.p-button-warning.p-button-text > .p-button:not(button):not(a):not(.p-disabled):hover {\n background: rgba(251, 192, 45, 0.04);\n border-color: transparent;\n color: #FBC02D;\n}\n.p-splitbutton.p-button-warning.p-button-text > .p-button:enabled:active, .p-splitbutton.p-button-warning.p-button-text > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(251, 192, 45, 0.16);\n border-color: transparent;\n color: #FBC02D;\n}\n\n.p-splitbutton.p-button-help.p-button-outlined > .p-button {\n background-color: transparent;\n color: #9C27B0;\n border: 0 none;\n}\n.p-splitbutton.p-button-help.p-button-outlined > .p-button:enabled:hover, .p-splitbutton.p-button-help.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):hover {\n background: rgba(156, 39, 176, 0.04);\n color: #9C27B0;\n}\n.p-splitbutton.p-button-help.p-button-outlined > .p-button:enabled:active, .p-splitbutton.p-button-help.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(156, 39, 176, 0.16);\n color: #9C27B0;\n}\n.p-splitbutton.p-button-help.p-button-text > .p-button {\n background-color: transparent;\n color: #9C27B0;\n border-color: transparent;\n}\n.p-splitbutton.p-button-help.p-button-text > .p-button:enabled:hover, .p-splitbutton.p-button-help.p-button-text > .p-button:not(button):not(a):not(.p-disabled):hover {\n background: rgba(156, 39, 176, 0.04);\n border-color: transparent;\n color: #9C27B0;\n}\n.p-splitbutton.p-button-help.p-button-text > .p-button:enabled:active, .p-splitbutton.p-button-help.p-button-text > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(156, 39, 176, 0.16);\n border-color: transparent;\n color: #9C27B0;\n}\n\n.p-splitbutton.p-button-danger.p-button-outlined > .p-button {\n background-color: transparent;\n color: #D32F2F;\n border: 0 none;\n}\n.p-splitbutton.p-button-danger.p-button-outlined > .p-button:enabled:hover, .p-splitbutton.p-button-danger.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):hover {\n background: rgba(211, 47, 47, 0.04);\n color: #D32F2F;\n}\n.p-splitbutton.p-button-danger.p-button-outlined > .p-button:enabled:active, .p-splitbutton.p-button-danger.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(211, 47, 47, 0.16);\n color: #D32F2F;\n}\n.p-splitbutton.p-button-danger.p-button-text > .p-button {\n background-color: transparent;\n color: #D32F2F;\n border-color: transparent;\n}\n.p-splitbutton.p-button-danger.p-button-text > .p-button:enabled:hover, .p-splitbutton.p-button-danger.p-button-text > .p-button:not(button):not(a):not(.p-disabled):hover {\n background: rgba(211, 47, 47, 0.04);\n border-color: transparent;\n color: #D32F2F;\n}\n.p-splitbutton.p-button-danger.p-button-text > .p-button:enabled:active, .p-splitbutton.p-button-danger.p-button-text > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(211, 47, 47, 0.16);\n border-color: transparent;\n color: #D32F2F;\n}\n\n.p-carousel .p-carousel-content .p-carousel-prev,\n.p-carousel .p-carousel-content .p-carousel-next {\n width: 2rem;\n height: 2rem;\n color: rgba(0, 0, 0, 0.6);\n border: 0 none;\n background: transparent;\n border-radius: 50%;\n transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;\n margin: 0.5rem;\n}\n.p-carousel .p-carousel-content .p-carousel-prev:enabled:hover,\n.p-carousel .p-carousel-content .p-carousel-next:enabled:hover {\n color: rgba(0, 0, 0, 0.6);\n border-color: transparent;\n background: rgba(0, 0, 0, 0.04);\n}\n.p-carousel .p-carousel-content .p-carousel-prev:focus,\n.p-carousel .p-carousel-content .p-carousel-next:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-carousel .p-carousel-indicators {\n padding: 1rem;\n}\n.p-carousel .p-carousel-indicators .p-carousel-indicator {\n margin-right: 0.5rem;\n margin-bottom: 0.5rem;\n}\n.p-carousel .p-carousel-indicators .p-carousel-indicator button {\n background-color: #dcdcdc;\n width: 2rem;\n height: 0.5rem;\n transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;\n border-radius: 0;\n}\n.p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {\n background: #ececec;\n}\n.p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {\n background: rgba(63, 81, 181, 0.12);\n color: #3F51B5;\n}\n\n.p-datatable .p-paginator-top {\n border-width: 0 0 1px 0;\n border-radius: 0;\n}\n.p-datatable .p-paginator-bottom {\n border-width: 0 0 1px 0;\n border-radius: 0;\n}\n.p-datatable .p-datatable-header {\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border: 1px solid #e4e4e4;\n border-width: 0 0 1px 0;\n padding: 0.75rem 0.75rem;\n font-weight: 500;\n}\n.p-datatable .p-datatable-footer {\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border: 1px solid #e4e4e4;\n border-width: 0 0 1px 0;\n padding: 0.75rem 0.75rem;\n font-weight: 500;\n}\n.p-datatable .p-datatable-thead > tr > th {\n text-align: left;\n padding: 0.75rem 0.75rem;\n border: 1px solid #e4e4e4;\n border-width: 0 0 1px 0;\n font-weight: 500;\n color: rgba(0, 0, 0, 0.87);\n background: #ffffff;\n transition: none;\n}\n.p-datatable .p-datatable-tfoot > tr > td {\n text-align: left;\n padding: 0.75rem 0.75rem;\n border: 1px solid #e4e4e4;\n border-width: 0 0 1px 0;\n font-weight: 500;\n color: rgba(0, 0, 0, 0.87);\n background: #ffffff;\n}\n.p-datatable .p-sortable-column .p-sortable-column-icon {\n color: rgba(0, 0, 0, 0.6);\n margin-left: 0.5rem;\n}\n.p-datatable .p-sortable-column .p-sortable-column-badge {\n border-radius: 50%;\n height: 1.143rem;\n min-width: 1.143rem;\n line-height: 1.143rem;\n color: #3F51B5;\n background: rgba(63, 81, 181, 0.12);\n margin-left: 0.5rem;\n}\n.p-datatable .p-sortable-column:not(.p-highlight):hover {\n background: rgba(0, 0, 0, 0.04);\n color: rgba(0, 0, 0, 0.87);\n}\n.p-datatable .p-sortable-column:not(.p-highlight):hover .p-sortable-column-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-datatable .p-sortable-column.p-highlight {\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n}\n.p-datatable .p-sortable-column.p-highlight .p-sortable-column-icon {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-datatable .p-sortable-column.p-highlight:hover {\n background: rgba(0, 0, 0, 0.04);\n color: rgba(0, 0, 0, 0.87);\n}\n.p-datatable .p-sortable-column.p-highlight:hover .p-sortable-column-icon {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-datatable .p-sortable-column:focus {\n box-shadow: none;\n outline: 0 none;\n}\n.p-datatable .p-datatable-tbody > tr {\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n transition: none;\n}\n.p-datatable .p-datatable-tbody > tr > td {\n text-align: left;\n border: 1px solid #e4e4e4;\n border-width: 0 0 1px 0;\n padding: 0.75rem 0.75rem;\n}\n.p-datatable .p-datatable-tbody > tr > td .p-row-toggler,\n.p-datatable .p-datatable-tbody > tr > td .p-row-editor-init,\n.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save,\n.p-datatable .p-datatable-tbody > tr > td .p-row-editor-cancel {\n width: 2rem;\n height: 2rem;\n color: rgba(0, 0, 0, 0.6);\n border: 0 none;\n background: transparent;\n border-radius: 50%;\n transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;\n}\n.p-datatable .p-datatable-tbody > tr > td .p-row-toggler:enabled:hover,\n.p-datatable .p-datatable-tbody > tr > td .p-row-editor-init:enabled:hover,\n.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save:enabled:hover,\n.p-datatable .p-datatable-tbody > tr > td .p-row-editor-cancel:enabled:hover {\n color: rgba(0, 0, 0, 0.6);\n border-color: transparent;\n background: rgba(0, 0, 0, 0.04);\n}\n.p-datatable .p-datatable-tbody > tr > td .p-row-toggler:focus,\n.p-datatable .p-datatable-tbody > tr > td .p-row-editor-init:focus,\n.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save:focus,\n.p-datatable .p-datatable-tbody > tr > td .p-row-editor-cancel:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {\n margin-right: 0.5rem;\n}\n.p-datatable .p-datatable-tbody > tr > td > .p-column-title {\n font-weight: 500;\n}\n.p-datatable .p-datatable-tbody > tr:focus {\n outline: 0.15rem solid transparent;\n outline-offset: -0.15rem;\n}\n.p-datatable .p-datatable-tbody > tr.p-highlight {\n background: rgba(63, 81, 181, 0.12);\n color: #3F51B5;\n}\n.p-datatable .p-datatable-tbody > tr.p-datatable-dragpoint-top > td {\n box-shadow: inset 0 2px 0 0 rgba(63, 81, 181, 0.12);\n}\n.p-datatable .p-datatable-tbody > tr.p-datatable-dragpoint-bottom > td {\n box-shadow: inset 0 -2px 0 0 rgba(63, 81, 181, 0.12);\n}\n.p-datatable.p-datatable-hoverable-rows .p-datatable-tbody > tr:not(.p-highlight):hover {\n background: rgba(0, 0, 0, 0.04);\n color: rgba(0, 0, 0, 0.87);\n}\n.p-datatable .p-column-resizer-helper {\n background: #3F51B5;\n}\n.p-datatable .p-datatable-scrollable-header,\n.p-datatable .p-datatable-scrollable-footer {\n background: #ffffff;\n}\n.p-datatable.p-datatable-scrollable > .p-datatable-wrapper > .p-datatable-table > .p-datatable-thead,\n.p-datatable.p-datatable-scrollable > .p-datatable-wrapper > .p-datatable-table > .p-datatable-tfoot {\n background-color: #ffffff;\n}\n.p-datatable .p-datatable-loading-icon {\n font-size: 2rem;\n}\n.p-datatable.p-datatable-gridlines .p-datatable-header {\n border-width: 1px 1px 0 1px;\n}\n.p-datatable.p-datatable-gridlines .p-datatable-footer {\n border-width: 0 1px 1px 1px;\n}\n.p-datatable.p-datatable-gridlines .p-paginator-top {\n border-width: 0 1px 0 1px;\n}\n.p-datatable.p-datatable-gridlines .p-paginator-bottom {\n border-width: 0 1px 1px 1px;\n}\n.p-datatable.p-datatable-gridlines .p-datatable-thead > tr > th {\n border-width: 1px 1px 1px 1px;\n}\n.p-datatable.p-datatable-gridlines .p-datatable-tbody > tr > td {\n border-width: 1px;\n}\n.p-datatable.p-datatable-gridlines .p-datatable-tfoot > tr > td {\n border-width: 1px;\n}\n.p-datatable.p-datatable-gridlines.p-datatable-scrollable .p-datatable-thead > tr > th + th {\n border-left-width: 0;\n}\n.p-datatable.p-datatable-gridlines.p-datatable-scrollable .p-datatable-tbody > tr > td + td {\n border-left-width: 0;\n}\n.p-datatable.p-datatable-gridlines.p-datatable-scrollable .p-datatable-tbody > tr + tr > td, .p-datatable.p-datatable-gridlines.p-datatable-scrollable .p-datatable-tbody > tr:first-child > td {\n border-top-width: 0;\n}\n.p-datatable.p-datatable-gridlines.p-datatable-scrollable .p-datatable-tfoot > tr > td + td {\n border-left-width: 0;\n}\n.p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) {\n background: rgba(0, 0, 0, 0.02);\n}\n.p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight {\n background: rgba(63, 81, 181, 0.12);\n color: #3F51B5;\n}\n.p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler {\n color: #3F51B5;\n}\n.p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover {\n color: #3F51B5;\n}\n.p-datatable.p-datatable-sm .p-datatable-header {\n padding: 0.375rem 0.375rem;\n}\n.p-datatable.p-datatable-sm .p-datatable-thead > tr > th {\n padding: 0.375rem 0.375rem;\n}\n.p-datatable.p-datatable-sm .p-datatable-tbody > tr > td {\n padding: 0.375rem 0.375rem;\n}\n.p-datatable.p-datatable-sm .p-datatable-tfoot > tr > td {\n padding: 0.375rem 0.375rem;\n}\n.p-datatable.p-datatable-sm .p-datatable-footer {\n padding: 0.375rem 0.375rem;\n}\n.p-datatable.p-datatable-lg .p-datatable-header {\n padding: 0.9375rem 0.9375rem;\n}\n.p-datatable.p-datatable-lg .p-datatable-thead > tr > th {\n padding: 0.9375rem 0.9375rem;\n}\n.p-datatable.p-datatable-lg .p-datatable-tbody > tr > td {\n padding: 0.9375rem 0.9375rem;\n}\n.p-datatable.p-datatable-lg .p-datatable-tfoot > tr > td {\n padding: 0.9375rem 0.9375rem;\n}\n.p-datatable.p-datatable-lg .p-datatable-footer {\n padding: 0.9375rem 0.9375rem;\n}\n\n.p-dataview .p-paginator-top {\n border-width: 0 0 1px 0;\n border-radius: 0;\n}\n.p-dataview .p-paginator-bottom {\n border-width: 0 0 1px 0;\n border-radius: 0;\n}\n.p-dataview .p-dataview-header {\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border: 1px solid #e4e4e4;\n border-width: 0 0 1px 0;\n padding: 0.75rem 0.75rem;\n font-weight: 500;\n}\n.p-dataview .p-dataview-content {\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border: 0 none;\n padding: 0.75rem;\n}\n.p-dataview.p-dataview-list .p-dataview-content > .p-grid > div {\n border: solid rgba(0, 0, 0, 0.12);\n border-width: 0 0 1px 0;\n}\n.p-dataview .p-dataview-footer {\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border: 1px solid #e4e4e4;\n border-width: 0 0 1px 0;\n padding: 0.75rem 0.75rem;\n font-weight: 500;\n border-bottom-left-radius: 4px;\n border-bottom-right-radius: 4px;\n}\n\n.p-column-filter-row .p-column-filter-menu-button,\n.p-column-filter-row .p-column-filter-clear-button {\n margin-left: 0.5rem;\n}\n\n.p-column-filter-menu-button {\n width: 2rem;\n height: 2rem;\n color: rgba(0, 0, 0, 0.6);\n border: 0 none;\n background: transparent;\n border-radius: 50%;\n transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;\n}\n.p-column-filter-menu-button:hover {\n color: rgba(0, 0, 0, 0.6);\n border-color: transparent;\n background: rgba(0, 0, 0, 0.04);\n}\n.p-column-filter-menu-button.p-column-filter-menu-button-open, .p-column-filter-menu-button.p-column-filter-menu-button-open:hover {\n background: rgba(0, 0, 0, 0.04);\n color: rgba(0, 0, 0, 0.6);\n}\n.p-column-filter-menu-button.p-column-filter-menu-button-active, .p-column-filter-menu-button.p-column-filter-menu-button-active:hover {\n background: rgba(63, 81, 181, 0.12);\n color: #3F51B5;\n}\n.p-column-filter-menu-button:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n\n.p-column-filter-clear-button {\n width: 2rem;\n height: 2rem;\n color: rgba(0, 0, 0, 0.6);\n border: 0 none;\n background: transparent;\n border-radius: 50%;\n transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;\n}\n.p-column-filter-clear-button:hover {\n color: rgba(0, 0, 0, 0.6);\n border-color: transparent;\n background: rgba(0, 0, 0, 0.04);\n}\n.p-column-filter-clear-button:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n\n.p-column-filter-overlay {\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border: 0 none;\n border-radius: 4px;\n box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);\n min-width: 12.5rem;\n}\n.p-column-filter-overlay .p-column-filter-row-items {\n padding: 0;\n}\n.p-column-filter-overlay .p-column-filter-row-items .p-column-filter-row-item {\n margin: 0;\n padding: 0.75rem 0.75rem;\n border: 0 none;\n color: rgba(0, 0, 0, 0.87);\n background: transparent;\n transition: none;\n border-radius: 0;\n}\n.p-column-filter-overlay .p-column-filter-row-items .p-column-filter-row-item.p-highlight {\n color: #3F51B5;\n background: rgba(63, 81, 181, 0.12);\n}\n.p-column-filter-overlay .p-column-filter-row-items .p-column-filter-row-item:not(.p-highlight):not(.p-disabled):hover {\n color: rgba(0, 0, 0, 0.87);\n background: rgba(0, 0, 0, 0.04);\n}\n.p-column-filter-overlay .p-column-filter-row-items .p-column-filter-row-item:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-column-filter-overlay .p-column-filter-row-items .p-column-filter-separator {\n border-top: 1px solid rgba(0, 0, 0, 0.12);\n margin: 0.5rem 0;\n}\n\n.p-column-filter-overlay-menu .p-column-filter-operator {\n padding: 0.75rem;\n border-bottom: 1px solid rgba(0, 0, 0, 0.12);\n color: rgba(0, 0, 0, 0.87);\n background: #ffffff;\n margin: 0;\n border-top-right-radius: 4px;\n border-top-left-radius: 4px;\n}\n.p-column-filter-overlay-menu .p-column-filter-constraint {\n padding: 0.75rem;\n border-bottom: 1px solid rgba(0, 0, 0, 0.12);\n}\n.p-column-filter-overlay-menu .p-column-filter-constraint .p-column-filter-matchmode-dropdown {\n margin-bottom: 0.5rem;\n}\n.p-column-filter-overlay-menu .p-column-filter-constraint .p-column-filter-remove-button {\n margin-top: 0.5rem;\n}\n.p-column-filter-overlay-menu .p-column-filter-constraint:last-child {\n border-bottom: 0 none;\n}\n.p-column-filter-overlay-menu .p-column-filter-add-rule {\n padding: 0.75rem 0.75rem;\n}\n.p-column-filter-overlay-menu .p-column-filter-buttonbar {\n padding: 0.75rem;\n}\n\n.fc {\n /* FullCalendar 4 */\n /* FullCalendar 5 */\n}\n.fc.fc-unthemed .fc-view-container th {\n background: #ffffff;\n border: 1px solid #e0e0e0;\n color: rgba(0, 0, 0, 0.87);\n}\n.fc.fc-unthemed .fc-view-container td.fc-widget-content {\n border: 1px solid #e0e0e0;\n color: rgba(0, 0, 0, 0.87);\n}\n.fc.fc-unthemed .fc-view-container td.fc-head-container {\n border: 1px solid #e0e0e0;\n}\n.fc.fc-unthemed .fc-view-container .fc-view {\n background: #ffffff;\n}\n.fc.fc-unthemed .fc-view-container .fc-row {\n border-right: 1px solid #e0e0e0;\n}\n.fc.fc-unthemed .fc-view-container .fc-event {\n background: rgba(63, 81, 181, 0.12);\n border: 1px solid rgba(63, 81, 181, 0.12);\n color: #3F51B5;\n}\n.fc.fc-unthemed .fc-view-container .fc-divider {\n background: #ffffff;\n border: 1px solid #e0e0e0;\n}\n.fc.fc-unthemed .fc-toolbar .fc-button {\n color: #ffffff;\n background: #3F51B5;\n border: 0 none;\n font-size: 1rem;\n transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);\n border-radius: 4px;\n display: flex;\n align-items: center;\n}\n.fc.fc-unthemed .fc-toolbar .fc-button:enabled:hover {\n background: rgba(63, 81, 181, 0.92);\n color: #ffffff;\n border-color: transparent;\n}\n.fc.fc-unthemed .fc-toolbar .fc-button:enabled:active {\n background: rgba(63, 81, 181, 0.68);\n color: #ffffff;\n border-color: transparent;\n}\n.fc.fc-unthemed .fc-toolbar .fc-button:enabled:active:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.fc.fc-unthemed .fc-toolbar .fc-button .fc-icon-chevron-left {\n font-family: \"PrimeIcons\" !important;\n text-indent: 0;\n font-size: 1rem;\n}\n.fc.fc-unthemed .fc-toolbar .fc-button .fc-icon-chevron-left:before {\n content: \"\\e900\";\n}\n.fc.fc-unthemed .fc-toolbar .fc-button .fc-icon-chevron-right {\n font-family: \"PrimeIcons\" !important;\n text-indent: 0;\n font-size: 1rem;\n}\n.fc.fc-unthemed .fc-toolbar .fc-button .fc-icon-chevron-right:before {\n content: \"\\e901\";\n}\n.fc.fc-unthemed .fc-toolbar .fc-button:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.fc.fc-unthemed .fc-toolbar .fc-button.fc-dayGridMonth-button, .fc.fc-unthemed .fc-toolbar .fc-button.fc-timeGridWeek-button, .fc.fc-unthemed .fc-toolbar .fc-button.fc-timeGridDay-button {\n background: #ffffff;\n border: 1px solid rgba(0, 0, 0, 0.12);\n color: rgba(0, 0, 0, 0.87);\n transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);\n}\n.fc.fc-unthemed .fc-toolbar .fc-button.fc-dayGridMonth-button:hover, .fc.fc-unthemed .fc-toolbar .fc-button.fc-timeGridWeek-button:hover, .fc.fc-unthemed .fc-toolbar .fc-button.fc-timeGridDay-button:hover {\n background: #f6f6f6;\n border-color: rgba(0, 0, 0, 0.12);\n color: rgba(0, 0, 0, 0.87);\n}\n.fc.fc-unthemed .fc-toolbar .fc-button.fc-dayGridMonth-button.fc-button-active, .fc.fc-unthemed .fc-toolbar .fc-button.fc-timeGridWeek-button.fc-button-active, .fc.fc-unthemed .fc-toolbar .fc-button.fc-timeGridDay-button.fc-button-active {\n background: #e0e0e1;\n border-color: #e0e0e1;\n color: rgba(0, 0, 0, 0.87);\n}\n.fc.fc-unthemed .fc-toolbar .fc-button.fc-dayGridMonth-button.fc-button-active:hover, .fc.fc-unthemed .fc-toolbar .fc-button.fc-timeGridWeek-button.fc-button-active:hover, .fc.fc-unthemed .fc-toolbar .fc-button.fc-timeGridDay-button.fc-button-active:hover {\n background: #d9d8d9;\n border-color: #d9d8d9;\n color: rgba(0, 0, 0, 0.87);\n}\n.fc.fc-unthemed .fc-toolbar .fc-button.fc-dayGridMonth-button:focus, .fc.fc-unthemed .fc-toolbar .fc-button.fc-timeGridWeek-button:focus, .fc.fc-unthemed .fc-toolbar .fc-button.fc-timeGridDay-button:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n z-index: 1;\n}\n.fc.fc-unthemed .fc-toolbar .fc-button-group .fc-button {\n border-radius: 0;\n}\n.fc.fc-unthemed .fc-toolbar .fc-button-group .fc-button:first-child {\n border-top-left-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n.fc.fc-unthemed .fc-toolbar .fc-button-group .fc-button:last-child {\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n}\n.fc.fc-theme-standard .fc-view-harness .fc-scrollgrid {\n border-color: #e0e0e0;\n}\n.fc.fc-theme-standard .fc-view-harness th {\n background: #ffffff;\n border-color: #e0e0e0;\n color: rgba(0, 0, 0, 0.87);\n}\n.fc.fc-theme-standard .fc-view-harness td {\n color: rgba(0, 0, 0, 0.87);\n border-color: #e0e0e0;\n}\n.fc.fc-theme-standard .fc-view-harness .fc-view {\n background: #ffffff;\n}\n.fc.fc-theme-standard .fc-view-harness .fc-popover {\n background: none;\n border: 0 none;\n}\n.fc.fc-theme-standard .fc-view-harness .fc-popover .fc-popover-header {\n border: 1px solid #e0e0e0;\n padding: 0.75rem;\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n}\n.fc.fc-theme-standard .fc-view-harness .fc-popover .fc-popover-header .fc-popover-close {\n opacity: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n font-family: \"PrimeIcons\" !important;\n font-size: 1rem;\n width: 2rem;\n height: 2rem;\n color: rgba(0, 0, 0, 0.6);\n border: 0 none;\n background: transparent;\n border-radius: 50%;\n transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;\n}\n.fc.fc-theme-standard .fc-view-harness .fc-popover .fc-popover-header .fc-popover-close:before {\n content: \"\\e90b\";\n}\n.fc.fc-theme-standard .fc-view-harness .fc-popover .fc-popover-header .fc-popover-close:hover {\n color: rgba(0, 0, 0, 0.6);\n border-color: transparent;\n background: rgba(0, 0, 0, 0.04);\n}\n.fc.fc-theme-standard .fc-view-harness .fc-popover .fc-popover-header .fc-popover-close:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.fc.fc-theme-standard .fc-view-harness .fc-popover .fc-popover-body {\n padding: 0.75rem;\n border: 1px solid #e0e0e0;\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border-top: 0 none;\n}\n.fc.fc-theme-standard .fc-view-harness .fc-event.fc-daygrid-block-event {\n color: #3F51B5;\n background: rgba(63, 81, 181, 0.12);\n border-color: rgba(63, 81, 181, 0.12);\n}\n.fc.fc-theme-standard .fc-view-harness .fc-event.fc-daygrid-block-event .fc-event-main {\n color: #3F51B5;\n}\n.fc.fc-theme-standard .fc-view-harness .fc-event.fc-daygrid-dot-event .fc-daygrid-event-dot {\n background: rgba(63, 81, 181, 0.12);\n border-color: rgba(63, 81, 181, 0.12);\n}\n.fc.fc-theme-standard .fc-view-harness .fc-event.fc-daygrid-dot-event:hover {\n background: rgba(0, 0, 0, 0.04);\n color: rgba(0, 0, 0, 0.87);\n}\n.fc.fc-theme-standard .fc-view-harness .fc-cell-shaded {\n background: #ffffff;\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button {\n color: #ffffff;\n background: #3F51B5;\n border: 0 none;\n font-size: 1rem;\n transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);\n border-radius: 4px;\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button:enabled:hover {\n background: rgba(63, 81, 181, 0.92);\n color: #ffffff;\n border-color: transparent;\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button:enabled:active {\n background: rgba(63, 81, 181, 0.68);\n color: #ffffff;\n border-color: transparent;\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button:enabled:active:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button:disabled {\n opacity: 0.38;\n color: #ffffff;\n background: #3F51B5;\n border: 0 none;\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button .fc-icon-chevron-left {\n font-family: \"PrimeIcons\" !important;\n text-indent: 0;\n font-size: 1rem;\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button .fc-icon-chevron-left:before {\n content: \"\\e900\";\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button .fc-icon-chevron-right {\n font-family: \"PrimeIcons\" !important;\n text-indent: 0;\n font-size: 1rem;\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button .fc-icon-chevron-right:before {\n content: \"\\e901\";\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button.fc-dayGridMonth-button, .fc.fc-theme-standard .fc-toolbar .fc-button.fc-timeGridWeek-button, .fc.fc-theme-standard .fc-toolbar .fc-button.fc-timeGridDay-button {\n background: #ffffff;\n border: 1px solid rgba(0, 0, 0, 0.12);\n color: rgba(0, 0, 0, 0.87);\n transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button.fc-dayGridMonth-button:hover, .fc.fc-theme-standard .fc-toolbar .fc-button.fc-timeGridWeek-button:hover, .fc.fc-theme-standard .fc-toolbar .fc-button.fc-timeGridDay-button:hover {\n background: #f6f6f6;\n border-color: rgba(0, 0, 0, 0.12);\n color: rgba(0, 0, 0, 0.87);\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button.fc-dayGridMonth-button.fc-button-active, .fc.fc-theme-standard .fc-toolbar .fc-button.fc-timeGridWeek-button.fc-button-active, .fc.fc-theme-standard .fc-toolbar .fc-button.fc-timeGridDay-button.fc-button-active {\n background: #e0e0e1;\n border-color: #e0e0e1;\n color: rgba(0, 0, 0, 0.87);\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button.fc-dayGridMonth-button.fc-button-active:hover, .fc.fc-theme-standard .fc-toolbar .fc-button.fc-timeGridWeek-button.fc-button-active:hover, .fc.fc-theme-standard .fc-toolbar .fc-button.fc-timeGridDay-button.fc-button-active:hover {\n background: #d9d8d9;\n border-color: #d9d8d9;\n color: rgba(0, 0, 0, 0.87);\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button.fc-dayGridMonth-button:not(:disabled):focus, .fc.fc-theme-standard .fc-toolbar .fc-button.fc-timeGridWeek-button:not(:disabled):focus, .fc.fc-theme-standard .fc-toolbar .fc-button.fc-timeGridDay-button:not(:disabled):focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n z-index: 1;\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button-group .fc-button {\n border-radius: 0;\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button-group .fc-button:first-child {\n border-top-left-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button-group .fc-button:last-child {\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n}\n.fc.fc-theme-standard .fc-highlight {\n color: #3F51B5;\n background: rgba(63, 81, 181, 0.12);\n}\n\n.p-orderlist .p-orderlist-controls {\n padding: 0.75rem;\n}\n.p-orderlist .p-orderlist-controls .p-button {\n margin-bottom: 0.5rem;\n}\n.p-orderlist .p-orderlist-header {\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border: 1px solid #e0e0e0;\n padding: 0.75rem;\n font-weight: 500;\n border-bottom: 0 none;\n border-top-right-radius: 4px;\n border-top-left-radius: 4px;\n}\n.p-orderlist .p-orderlist-list {\n border: 1px solid #e0e0e0;\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n padding: 0;\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n.p-orderlist .p-orderlist-list .p-orderlist-item {\n padding: 0.75rem 0.75rem;\n margin: 0;\n border: 0 none;\n color: rgba(0, 0, 0, 0.87);\n background: transparent;\n transition: transform 0.2s, none;\n}\n.p-orderlist .p-orderlist-list .p-orderlist-item:not(.p-highlight):hover {\n background: rgba(0, 0, 0, 0.04);\n color: rgba(0, 0, 0, 0.87);\n}\n.p-orderlist .p-orderlist-list .p-orderlist-item:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-orderlist .p-orderlist-list .p-orderlist-item.p-highlight {\n color: #3F51B5;\n background: rgba(63, 81, 181, 0.12);\n}\n.p-orderlist.p-orderlist-striped .p-orderlist-list .p-orderlist-item:nth-child(even) {\n background: rgba(0, 0, 0, 0.02);\n}\n.p-orderlist.p-orderlist-striped .p-orderlist-list .p-orderlist-item:nth-child(even):hover {\n background: rgba(0, 0, 0, 0.04);\n}\n\n.p-organizationchart .p-organizationchart-node-content.p-organizationchart-selectable-node:not(.p-highlight):hover {\n background: rgba(0, 0, 0, 0.04);\n color: rgba(0, 0, 0, 0.87);\n}\n.p-organizationchart .p-organizationchart-node-content.p-highlight {\n background: rgba(63, 81, 181, 0.12);\n color: #3F51B5;\n}\n.p-organizationchart .p-organizationchart-node-content.p-highlight .p-node-toggler i {\n color: rgba(30, 39, 86, 0.12);\n}\n.p-organizationchart .p-organizationchart-line-down {\n background: rgba(0, 0, 0, 0.12);\n}\n.p-organizationchart .p-organizationchart-line-left {\n border-right: 1px solid #e0e0e0;\n border-color: rgba(0, 0, 0, 0.12);\n}\n.p-organizationchart .p-organizationchart-line-top {\n border-top: 1px solid #e0e0e0;\n border-color: rgba(0, 0, 0, 0.12);\n}\n.p-organizationchart .p-organizationchart-node-content {\n border: 1px solid #e0e0e0;\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n padding: 0.75rem;\n}\n.p-organizationchart .p-organizationchart-node-content .p-node-toggler {\n background: inherit;\n color: inherit;\n border-radius: 50%;\n}\n.p-organizationchart .p-organizationchart-node-content .p-node-toggler:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n\n.p-paginator {\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border: solid #e4e4e4;\n border-width: 0;\n padding: 0.375rem 0.75rem;\n border-radius: 4px;\n}\n.p-paginator .p-paginator-first,\n.p-paginator .p-paginator-prev,\n.p-paginator .p-paginator-next,\n.p-paginator .p-paginator-last {\n background-color: transparent;\n border: 0 none;\n color: rgba(0, 0, 0, 0.6);\n min-width: 3rem;\n height: 3rem;\n margin: 0.143rem;\n transition: none;\n border-radius: 50%;\n}\n.p-paginator .p-paginator-first:not(.p-disabled):not(.p-highlight):hover,\n.p-paginator .p-paginator-prev:not(.p-disabled):not(.p-highlight):hover,\n.p-paginator .p-paginator-next:not(.p-disabled):not(.p-highlight):hover,\n.p-paginator .p-paginator-last:not(.p-disabled):not(.p-highlight):hover {\n background: rgba(0, 0, 0, 0.04);\n border-color: transparent;\n color: rgba(0, 0, 0, 0.6);\n}\n.p-paginator .p-paginator-first {\n border-top-left-radius: 50%;\n border-bottom-left-radius: 50%;\n}\n.p-paginator .p-paginator-last {\n border-top-right-radius: 50%;\n border-bottom-right-radius: 50%;\n}\n.p-paginator .p-dropdown {\n margin-left: 0.5rem;\n margin-right: 0.5rem;\n height: 3rem;\n}\n.p-paginator .p-dropdown .p-dropdown-label {\n padding-right: 0;\n}\n.p-paginator .p-paginator-page-input {\n margin-left: 0.5rem;\n margin-right: 0.5rem;\n}\n.p-paginator .p-paginator-page-input .p-inputtext {\n max-width: 3rem;\n}\n.p-paginator .p-paginator-current {\n background-color: transparent;\n border: 0 none;\n color: rgba(0, 0, 0, 0.6);\n min-width: 3rem;\n height: 3rem;\n margin: 0.143rem;\n padding: 0 0.5rem;\n}\n.p-paginator .p-paginator-pages .p-paginator-page {\n background-color: transparent;\n border: 0 none;\n color: rgba(0, 0, 0, 0.6);\n min-width: 3rem;\n height: 3rem;\n margin: 0.143rem;\n transition: none;\n border-radius: 50%;\n}\n.p-paginator .p-paginator-pages .p-paginator-page.p-highlight {\n background: rgba(63, 81, 181, 0.12);\n border-color: rgba(63, 81, 181, 0.12);\n color: #3F51B5;\n}\n.p-paginator .p-paginator-pages .p-paginator-page:not(.p-highlight):hover {\n background: rgba(0, 0, 0, 0.04);\n border-color: transparent;\n color: rgba(0, 0, 0, 0.6);\n}\n\n.p-picklist .p-picklist-buttons {\n padding: 0.75rem;\n}\n.p-picklist .p-picklist-buttons .p-button {\n margin-bottom: 0.5rem;\n}\n.p-picklist .p-picklist-header {\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border: 1px solid #e0e0e0;\n padding: 0.75rem;\n font-weight: 500;\n border-bottom: 0 none;\n border-top-right-radius: 4px;\n border-top-left-radius: 4px;\n}\n.p-picklist .p-picklist-list {\n border: 1px solid #e0e0e0;\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n padding: 0;\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n.p-picklist .p-picklist-list .p-picklist-item {\n padding: 0.75rem 0.75rem;\n margin: 0;\n border: 0 none;\n color: rgba(0, 0, 0, 0.87);\n background: transparent;\n transition: transform 0.2s, none;\n}\n.p-picklist .p-picklist-list .p-picklist-item:not(.p-highlight):hover {\n background: rgba(0, 0, 0, 0.04);\n color: rgba(0, 0, 0, 0.87);\n}\n.p-picklist .p-picklist-list .p-picklist-item:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-picklist .p-picklist-list .p-picklist-item.p-highlight {\n color: #3F51B5;\n background: rgba(63, 81, 181, 0.12);\n}\n.p-picklist.p-picklist-striped .p-picklist-list .p-picklist-item:nth-child(even) {\n background: rgba(0, 0, 0, 0.02);\n}\n.p-picklist.p-picklist-striped .p-picklist-list .p-picklist-item:nth-child(even):hover {\n background: rgba(0, 0, 0, 0.04);\n}\n\n.p-timeline .p-timeline-event-marker {\n border: 0 none;\n border-radius: 50%;\n width: 1rem;\n height: 1rem;\n background-color: #bdbdbd;\n}\n.p-timeline .p-timeline-event-connector {\n background-color: #bdbdbd;\n}\n.p-timeline.p-timeline-vertical .p-timeline-event-opposite,\n.p-timeline.p-timeline-vertical .p-timeline-event-content {\n padding: 0 1rem;\n}\n.p-timeline.p-timeline-vertical .p-timeline-event-connector {\n width: 2px;\n}\n.p-timeline.p-timeline-horizontal .p-timeline-event-opposite,\n.p-timeline.p-timeline-horizontal .p-timeline-event-content {\n padding: 1rem 0;\n}\n.p-timeline.p-timeline-horizontal .p-timeline-event-connector {\n height: 2px;\n}\n\n.p-tree {\n border: 1px solid #e0e0e0;\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n padding: 0.75rem;\n border-radius: 4px;\n}\n.p-tree .p-tree-container .p-treenode {\n padding: 0.25rem;\n}\n.p-tree .p-tree-container .p-treenode .p-treenode-content {\n border-radius: 4px;\n transition: none;\n padding: 0.25rem;\n}\n.p-tree .p-tree-container .p-treenode .p-treenode-content .p-tree-toggler {\n margin-right: 0.5rem;\n width: 2rem;\n height: 2rem;\n color: rgba(0, 0, 0, 0.6);\n border: 0 none;\n background: transparent;\n border-radius: 50%;\n transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;\n}\n.p-tree .p-tree-container .p-treenode .p-treenode-content .p-tree-toggler:enabled:hover {\n color: rgba(0, 0, 0, 0.6);\n border-color: transparent;\n background: rgba(0, 0, 0, 0.04);\n}\n.p-tree .p-tree-container .p-treenode .p-treenode-content .p-tree-toggler:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-tree .p-tree-container .p-treenode .p-treenode-content .p-treenode-icon {\n margin-right: 0.5rem;\n color: rgba(0, 0, 0, 0.6);\n}\n.p-tree .p-tree-container .p-treenode .p-treenode-content .p-checkbox {\n margin-right: 0.5rem;\n}\n.p-tree .p-tree-container .p-treenode .p-treenode-content .p-checkbox .p-indeterminate .p-checkbox-icon {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-tree .p-tree-container .p-treenode .p-treenode-content:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-tree .p-tree-container .p-treenode .p-treenode-content.p-highlight {\n background: rgba(63, 81, 181, 0.12);\n color: #3F51B5;\n}\n.p-tree .p-tree-container .p-treenode .p-treenode-content.p-highlight .p-tree-toggler,\n.p-tree .p-tree-container .p-treenode .p-treenode-content.p-highlight .p-treenode-icon {\n color: #3F51B5;\n}\n.p-tree .p-tree-container .p-treenode .p-treenode-content.p-highlight .p-tree-toggler:hover,\n.p-tree .p-tree-container .p-treenode .p-treenode-content.p-highlight .p-treenode-icon:hover {\n color: #3F51B5;\n}\n.p-tree .p-tree-container .p-treenode .p-treenode-content.p-treenode-selectable:not(.p-highlight):hover {\n background: rgba(0, 0, 0, 0.04);\n color: rgba(0, 0, 0, 0.87);\n}\n.p-tree .p-tree-filter-container {\n margin-bottom: 0.5rem;\n}\n.p-tree .p-tree-filter-container .p-tree-filter {\n width: 100%;\n padding-right: 1.75rem;\n}\n.p-tree .p-tree-filter-container .p-tree-filter-icon {\n right: 0.75rem;\n color: rgba(0, 0, 0, 0.6);\n}\n.p-tree .p-treenode-children {\n padding: 0 0 0 1rem;\n}\n.p-tree .p-tree-loading-icon {\n font-size: 2rem;\n}\n\n.p-treetable .p-paginator-top {\n border-width: 0 0 1px 0;\n border-radius: 0;\n}\n.p-treetable .p-paginator-bottom {\n border-width: 0 0 1px 0;\n border-radius: 0;\n}\n.p-treetable .p-treetable-header {\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border: 1px solid #e4e4e4;\n border-width: 0 0 1px 0;\n padding: 0.75rem 0.75rem;\n font-weight: 500;\n}\n.p-treetable .p-treetable-footer {\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border: 1px solid #e4e4e4;\n border-width: 0 0 1px 0;\n padding: 0.75rem 0.75rem;\n font-weight: 500;\n}\n.p-treetable .p-treetable-thead > tr > th {\n text-align: left;\n padding: 0.75rem 0.75rem;\n border: 1px solid #e4e4e4;\n border-width: 0 0 1px 0;\n font-weight: 500;\n color: rgba(0, 0, 0, 0.87);\n background: #ffffff;\n transition: none;\n}\n.p-treetable .p-treetable-tfoot > tr > td {\n text-align: left;\n padding: 0.75rem 0.75rem;\n border: 1px solid #e4e4e4;\n border-width: 0 0 1px 0;\n font-weight: 500;\n color: rgba(0, 0, 0, 0.87);\n background: #ffffff;\n}\n.p-treetable .p-sortable-column {\n outline-color: transparent;\n}\n.p-treetable .p-sortable-column .p-sortable-column-icon {\n color: rgba(0, 0, 0, 0.6);\n margin-left: 0.5rem;\n}\n.p-treetable .p-sortable-column .p-sortable-column-badge {\n border-radius: 50%;\n height: 1.143rem;\n min-width: 1.143rem;\n line-height: 1.143rem;\n color: #3F51B5;\n background: rgba(63, 81, 181, 0.12);\n margin-left: 0.5rem;\n}\n.p-treetable .p-sortable-column:not(.p-highlight):hover {\n background: rgba(0, 0, 0, 0.04);\n color: rgba(0, 0, 0, 0.87);\n}\n.p-treetable .p-sortable-column:not(.p-highlight):hover .p-sortable-column-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-treetable .p-sortable-column.p-highlight {\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n}\n.p-treetable .p-sortable-column.p-highlight .p-sortable-column-icon {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-treetable .p-treetable-tbody > tr {\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n transition: none;\n}\n.p-treetable .p-treetable-tbody > tr > td {\n text-align: left;\n border: 1px solid #e4e4e4;\n border-width: 0 0 1px 0;\n padding: 0.75rem 0.75rem;\n}\n.p-treetable .p-treetable-tbody > tr > td .p-treetable-toggler {\n width: 2rem;\n height: 2rem;\n color: rgba(0, 0, 0, 0.6);\n border: 0 none;\n background: transparent;\n border-radius: 50%;\n transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;\n margin-right: 0.5rem;\n}\n.p-treetable .p-treetable-tbody > tr > td .p-treetable-toggler:enabled:hover {\n color: rgba(0, 0, 0, 0.6);\n border-color: transparent;\n background: rgba(0, 0, 0, 0.04);\n}\n.p-treetable .p-treetable-tbody > tr > td .p-treetable-toggler:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-treetable .p-treetable-tbody > tr > td .p-treetable-toggler + .p-checkbox {\n margin-right: 0.5rem;\n}\n.p-treetable .p-treetable-tbody > tr > td .p-treetable-toggler + .p-checkbox .p-indeterminate .p-checkbox-icon {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-treetable .p-treetable-tbody > tr:focus {\n outline: 0.15rem solid transparent;\n outline-offset: -0.15rem;\n}\n.p-treetable .p-treetable-tbody > tr.p-highlight {\n background: rgba(63, 81, 181, 0.12);\n color: #3F51B5;\n}\n.p-treetable .p-treetable-tbody > tr.p-highlight .p-treetable-toggler {\n color: #3F51B5;\n}\n.p-treetable .p-treetable-tbody > tr.p-highlight .p-treetable-toggler:hover {\n color: #3F51B5;\n}\n.p-treetable.p-treetable-hoverable-rows .p-treetable-tbody > tr:not(.p-highlight):hover {\n background: rgba(0, 0, 0, 0.04);\n color: rgba(0, 0, 0, 0.87);\n}\n.p-treetable.p-treetable-hoverable-rows .p-treetable-tbody > tr:not(.p-highlight):hover .p-treetable-toggler {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-treetable .p-column-resizer-helper {\n background: #3F51B5;\n}\n.p-treetable .p-treetable-scrollable-header,\n.p-treetable .p-treetable-scrollable-footer {\n background: #ffffff;\n}\n.p-treetable .p-treetable-loading-icon {\n font-size: 2rem;\n}\n.p-treetable.p-treetable-gridlines .p-datatable-header {\n border-width: 1px 1px 0 1px;\n}\n.p-treetable.p-treetable-gridlines .p-treetable-footer {\n border-width: 0 1px 1px 1px;\n}\n.p-treetable.p-treetable-gridlines .p-treetable-top {\n border-width: 0 1px 0 1px;\n}\n.p-treetable.p-treetable-gridlines .p-treetable-bottom {\n border-width: 0 1px 1px 1px;\n}\n.p-treetable.p-treetable-gridlines .p-treetable-thead > tr > th {\n border-width: 1px;\n}\n.p-treetable.p-treetable-gridlines .p-treetable-tbody > tr > td {\n border-width: 1px;\n}\n.p-treetable.p-treetable-gridlines .p-treetable-tfoot > tr > td {\n border-width: 1px;\n}\n.p-treetable.p-treetable-sm .p-treetable-header {\n padding: 0.65625rem 0.65625rem;\n}\n.p-treetable.p-treetable-sm .p-treetable-thead > tr > th {\n padding: 0.375rem 0.375rem;\n}\n.p-treetable.p-treetable-sm .p-treetable-tbody > tr > td {\n padding: 0.375rem 0.375rem;\n}\n.p-treetable.p-treetable-sm .p-treetable-tfoot > tr > td {\n padding: 0.375rem 0.375rem;\n}\n.p-treetable.p-treetable-sm .p-treetable-footer {\n padding: 0.375rem 0.375rem;\n}\n.p-treetable.p-treetable-lg .p-treetable-header {\n padding: 0.9375rem 0.9375rem;\n}\n.p-treetable.p-treetable-lg .p-treetable-thead > tr > th {\n padding: 0.9375rem 0.9375rem;\n}\n.p-treetable.p-treetable-lg .p-treetable-tbody > tr > td {\n padding: 0.9375rem 0.9375rem;\n}\n.p-treetable.p-treetable-lg .p-treetable-tfoot > tr > td {\n padding: 0.9375rem 0.9375rem;\n}\n.p-treetable.p-treetable-lg .p-treetable-footer {\n padding: 0.9375rem 0.9375rem;\n}\n\n.p-accordion .p-accordion-header .p-accordion-header-link {\n padding: 1.25rem;\n border: 0 none;\n color: rgba(0, 0, 0, 0.87);\n background: #ffffff;\n font-weight: 400;\n border-radius: 4px;\n transition: none;\n}\n.p-accordion .p-accordion-header .p-accordion-header-link .p-accordion-toggle-icon {\n margin-right: 0.5rem;\n}\n.p-accordion .p-accordion-header:not(.p-disabled) .p-accordion-header-link:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-accordion .p-accordion-header:not(.p-highlight):not(.p-disabled):hover .p-accordion-header-link {\n background: #f6f6f6;\n border-color: transparent;\n color: rgba(0, 0, 0, 0.87);\n}\n.p-accordion .p-accordion-header:not(.p-disabled).p-highlight .p-accordion-header-link {\n background: #ffffff;\n border-color: transparent;\n color: rgba(0, 0, 0, 0.87);\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.p-accordion .p-accordion-header:not(.p-disabled).p-highlight:hover .p-accordion-header-link {\n border-color: transparent;\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n}\n.p-accordion .p-accordion-content {\n padding: 0.75rem 1.25rem;\n border: 0 none;\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border-top: 0;\n border-top-right-radius: 0;\n border-top-left-radius: 0;\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n.p-accordion .p-accordion-tab {\n margin-bottom: 0;\n}\n.p-accordion .p-accordion-tab .p-accordion-header .p-accordion-header-link {\n border-radius: 0;\n}\n.p-accordion .p-accordion-tab .p-accordion-content {\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.p-accordion .p-accordion-tab:not(:first-child) .p-accordion-header .p-accordion-header-link {\n border-top: 0 none;\n}\n.p-accordion .p-accordion-tab:not(:first-child) .p-accordion-header:not(.p-highlight):not(.p-disabled):hover .p-accordion-header-link, .p-accordion .p-accordion-tab:not(:first-child) .p-accordion-header:not(.p-disabled).p-highlight:hover .p-accordion-header-link {\n border-top: 0 none;\n}\n.p-accordion .p-accordion-tab:first-child .p-accordion-header .p-accordion-header-link {\n border-top-right-radius: 4px;\n border-top-left-radius: 4px;\n}\n.p-accordion .p-accordion-tab:last-child .p-accordion-header:not(.p-highlight) .p-accordion-header-link {\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n.p-accordion .p-accordion-tab:last-child .p-accordion-content {\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n\n.p-card {\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12);\n border-radius: 4px;\n}\n.p-card .p-card-body {\n padding: 0.75rem;\n}\n.p-card .p-card-title {\n font-size: 1.5rem;\n font-weight: 700;\n margin-bottom: 0.5rem;\n}\n.p-card .p-card-subtitle {\n font-weight: 400;\n margin-bottom: 0.5rem;\n color: rgba(0, 0, 0, 0.6);\n}\n.p-card .p-card-content {\n padding: 0.75rem 0;\n}\n.p-card .p-card-footer {\n padding: 0.75rem 0 0 0;\n}\n\n.p-fieldset {\n border: 1px solid #e0e0e0;\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border-radius: 4px;\n}\n.p-fieldset .p-fieldset-legend {\n padding: 0.75rem;\n border: 1px solid #e0e0e0;\n color: rgba(0, 0, 0, 0.87);\n background: #ffffff;\n font-weight: 500;\n border-radius: 4px;\n}\n.p-fieldset.p-fieldset-toggleable .p-fieldset-legend {\n padding: 0;\n transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;\n}\n.p-fieldset.p-fieldset-toggleable .p-fieldset-legend a {\n padding: 0.75rem;\n color: rgba(0, 0, 0, 0.87);\n border-radius: 4px;\n transition: none;\n}\n.p-fieldset.p-fieldset-toggleable .p-fieldset-legend a .p-fieldset-toggler {\n margin-right: 0.5rem;\n}\n.p-fieldset.p-fieldset-toggleable .p-fieldset-legend a:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-fieldset.p-fieldset-toggleable .p-fieldset-legend a:hover {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-fieldset.p-fieldset-toggleable .p-fieldset-legend:hover {\n background: rgba(0, 0, 0, 0.04);\n border-color: #e0e0e0;\n color: rgba(0, 0, 0, 0.87);\n}\n.p-fieldset .p-fieldset-content {\n padding: 0.75rem;\n}\n\n.p-divider .p-divider-content {\n background-color: #ffffff;\n}\n.p-divider.p-divider-horizontal {\n margin: 1rem 0;\n padding: 0 1rem;\n}\n.p-divider.p-divider-horizontal:before {\n border-top: 1px rgba(0, 0, 0, 0.12);\n}\n.p-divider.p-divider-horizontal .p-divider-content {\n padding: 0 0.5rem;\n}\n.p-divider.p-divider-vertical {\n margin: 0 1rem;\n padding: 1rem 0;\n}\n.p-divider.p-divider-vertical:before {\n border-left: 1px rgba(0, 0, 0, 0.12);\n}\n.p-divider.p-divider-vertical .p-divider-content {\n padding: 0.5rem 0;\n}\n\n.p-panel .p-panel-header {\n border: 1px solid #e0e0e0;\n padding: 0.75rem;\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border-top-right-radius: 4px;\n border-top-left-radius: 4px;\n}\n.p-panel .p-panel-header .p-panel-title {\n font-weight: 500;\n}\n.p-panel .p-panel-header .p-panel-header-icon {\n width: 2rem;\n height: 2rem;\n color: rgba(0, 0, 0, 0.6);\n border: 0 none;\n background: transparent;\n border-radius: 50%;\n transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;\n}\n.p-panel .p-panel-header .p-panel-header-icon:enabled:hover {\n color: rgba(0, 0, 0, 0.6);\n border-color: transparent;\n background: rgba(0, 0, 0, 0.04);\n}\n.p-panel .p-panel-header .p-panel-header-icon:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-panel.p-panel-toggleable .p-panel-header {\n padding: 0.5rem 1rem;\n}\n.p-panel .p-panel-content {\n padding: 0.75rem;\n border: 1px solid #e0e0e0;\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n border-top: 0 none;\n}\n.p-panel .p-panel-footer {\n padding: 0.75rem 0.75rem;\n border: 1px solid #e0e0e0;\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border-top: 0 none;\n}\n\n.p-scrollpanel .p-scrollpanel-bar {\n background: rgba(0, 0, 0, 0.12);\n border: 0 none;\n}\n\n.p-splitter {\n border: 1px solid #e0e0e0;\n background: #ffffff;\n border-radius: 4px;\n color: rgba(0, 0, 0, 0.87);\n}\n.p-splitter .p-splitter-gutter {\n transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;\n background: rgba(0, 0, 0, 0.04);\n}\n.p-splitter .p-splitter-gutter .p-splitter-gutter-handle {\n background: rgba(0, 0, 0, 0.12);\n}\n.p-splitter .p-splitter-gutter-resizing {\n background: rgba(0, 0, 0, 0.12);\n}\n\n.p-tabview .p-tabview-nav {\n background: #ffffff;\n border: solid rgba(0, 0, 0, 0.12);\n border-width: 0 0 1px 0;\n}\n.p-tabview .p-tabview-nav li {\n margin-right: 0;\n}\n.p-tabview .p-tabview-nav li .p-tabview-nav-link {\n border: solid rgba(0, 0, 0, 0.12);\n border-width: 0 0 1px 0;\n border-color: transparent transparent rgba(0, 0, 0, 0.12) transparent;\n background: #ffffff;\n color: rgba(0, 0, 0, 0.6);\n padding: 0.75rem 1.25rem;\n font-weight: 500;\n border-top-right-radius: 4px;\n border-top-left-radius: 4px;\n transition: none;\n margin: 0 0 -1px 0;\n}\n.p-tabview .p-tabview-nav li .p-tabview-nav-link:not(.p-disabled):focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: inset none;\n}\n.p-tabview .p-tabview-nav li:not(.p-highlight):not(.p-disabled):hover .p-tabview-nav-link {\n background: rgba(63, 81, 181, 0.04);\n border-color: rgba(0, 0, 0, 0.12);\n color: rgba(0, 0, 0, 0.6);\n}\n.p-tabview .p-tabview-nav li.p-highlight .p-tabview-nav-link {\n background: #ffffff;\n border-color: rgba(0, 0, 0, 0.12);\n color: #3F51B5;\n}\n.p-tabview .p-tabview-nav-btn.p-link {\n background: #ffffff;\n color: #3F51B5;\n width: 2.25rem;\n box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);\n border-radius: 0;\n}\n.p-tabview .p-tabview-nav-btn.p-link:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: inset none;\n}\n.p-tabview .p-tabview-panels {\n background: #ffffff;\n padding: 0.75rem;\n border: 0 none;\n color: rgba(0, 0, 0, 0.87);\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n\n.p-toolbar {\n background: #ffffff;\n border: 1px solid #e0e0e0;\n padding: 0.75rem;\n border-radius: 4px;\n}\n.p-toolbar .p-toolbar-separator {\n margin: 0 0.5rem;\n}\n\n.p-confirm-popup {\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border: 0 none;\n border-radius: 4px;\n box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12);\n}\n.p-confirm-popup .p-confirm-popup-content {\n padding: 1.25rem;\n}\n.p-confirm-popup .p-confirm-popup-footer {\n text-align: right;\n padding: 0 1.25rem 0.75rem 1.25rem;\n}\n.p-confirm-popup .p-confirm-popup-footer button {\n margin: 0 0.5rem 0 0;\n width: auto;\n}\n.p-confirm-popup .p-confirm-popup-footer button:last-child {\n margin: 0;\n}\n.p-confirm-popup:after {\n border: solid transparent;\n border-color: rgba(255, 255, 255, 0);\n border-bottom-color: #ffffff;\n}\n.p-confirm-popup:before {\n border: solid transparent;\n border-color: rgba(255, 255, 255, 0);\n border-bottom-color: #ffffff;\n}\n.p-confirm-popup.p-confirm-popup-flipped:after {\n border-top-color: #ffffff;\n}\n.p-confirm-popup.p-confirm-popup-flipped:before {\n border-top-color: #ffffff;\n}\n.p-confirm-popup .p-confirm-popup-icon {\n font-size: 1.5rem;\n}\n.p-confirm-popup .p-confirm-popup-message {\n margin-left: 1rem;\n}\n\n.p-dialog {\n border-radius: 4px;\n box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12);\n border: 0 none;\n}\n.p-dialog .p-dialog-header {\n border-bottom: 0 none;\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n padding: 1.25rem;\n border-top-right-radius: 4px;\n border-top-left-radius: 4px;\n}\n.p-dialog .p-dialog-header .p-dialog-title {\n font-weight: 500;\n font-size: 1.25rem;\n}\n.p-dialog .p-dialog-header .p-dialog-header-icon {\n width: 2rem;\n height: 2rem;\n color: rgba(0, 0, 0, 0.6);\n border: 0 none;\n background: transparent;\n border-radius: 50%;\n transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;\n margin-right: 0.5rem;\n}\n.p-dialog .p-dialog-header .p-dialog-header-icon:enabled:hover {\n color: rgba(0, 0, 0, 0.6);\n border-color: transparent;\n background: rgba(0, 0, 0, 0.04);\n}\n.p-dialog .p-dialog-header .p-dialog-header-icon:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-dialog .p-dialog-header .p-dialog-header-icon:last-child {\n margin-right: 0;\n}\n.p-dialog .p-dialog-content {\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n padding: 0 1.25rem 1.25rem 1.25rem;\n}\n.p-dialog .p-dialog-footer {\n border-top: 0 none;\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n padding: 0.75rem 1.25rem;\n text-align: right;\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n.p-dialog .p-dialog-footer button {\n margin: 0 0.5rem 0 0;\n width: auto;\n}\n.p-dialog.p-confirm-dialog .p-confirm-dialog-icon {\n font-size: 2rem;\n}\n.p-dialog.p-confirm-dialog .p-confirm-dialog-message {\n margin-left: 1rem;\n}\n\n.p-overlaypanel {\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border: 0 none;\n border-radius: 4px;\n box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12);\n}\n.p-overlaypanel .p-overlaypanel-content {\n padding: 0.75rem;\n}\n.p-overlaypanel .p-overlaypanel-close {\n background: #3F51B5;\n color: #ffffff;\n width: 2rem;\n height: 2rem;\n transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;\n border-radius: 50%;\n position: absolute;\n top: -1rem;\n right: -1rem;\n}\n.p-overlaypanel .p-overlaypanel-close:enabled:hover {\n background: rgba(63, 81, 181, 0.92);\n color: #ffffff;\n}\n.p-overlaypanel:after {\n border: solid transparent;\n border-color: rgba(255, 255, 255, 0);\n border-bottom-color: #ffffff;\n}\n.p-overlaypanel:before {\n border: solid transparent;\n border-color: rgba(255, 255, 255, 0);\n border-bottom-color: #ffffff;\n}\n.p-overlaypanel.p-overlaypanel-flipped:after {\n border-top-color: #ffffff;\n}\n.p-overlaypanel.p-overlaypanel-flipped:before {\n border-top-color: #ffffff;\n}\n\n.p-sidebar {\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border: 0 none;\n box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12);\n}\n.p-sidebar .p-sidebar-header {\n padding: 0.75rem;\n}\n.p-sidebar .p-sidebar-header .p-sidebar-close,\n.p-sidebar .p-sidebar-header .p-sidebar-icon {\n width: 2rem;\n height: 2rem;\n color: rgba(0, 0, 0, 0.6);\n border: 0 none;\n background: transparent;\n border-radius: 50%;\n transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;\n}\n.p-sidebar .p-sidebar-header .p-sidebar-close:enabled:hover,\n.p-sidebar .p-sidebar-header .p-sidebar-icon:enabled:hover {\n color: rgba(0, 0, 0, 0.6);\n border-color: transparent;\n background: rgba(0, 0, 0, 0.04);\n}\n.p-sidebar .p-sidebar-header .p-sidebar-close:focus,\n.p-sidebar .p-sidebar-header .p-sidebar-icon:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-sidebar .p-sidebar-header + .p-sidebar-content {\n padding-top: 0;\n}\n.p-sidebar .p-sidebar-content {\n padding: 0.75rem;\n}\n\n.p-tooltip .p-tooltip-text {\n background: rgba(97, 97, 97, 0.9);\n color: #ffffff;\n padding: 0.5rem;\n box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);\n border-radius: 4px;\n}\n.p-tooltip.p-tooltip-right .p-tooltip-arrow {\n border-right-color: rgba(97, 97, 97, 0.9);\n}\n.p-tooltip.p-tooltip-left .p-tooltip-arrow {\n border-left-color: rgba(97, 97, 97, 0.9);\n}\n.p-tooltip.p-tooltip-top .p-tooltip-arrow {\n border-top-color: rgba(97, 97, 97, 0.9);\n}\n.p-tooltip.p-tooltip-bottom .p-tooltip-arrow {\n border-bottom-color: rgba(97, 97, 97, 0.9);\n}\n\n.p-fileupload .p-fileupload-buttonbar {\n background: #ffffff;\n padding: 0.75rem;\n border: 1px solid #e0e0e0;\n color: rgba(0, 0, 0, 0.87);\n border-bottom: 0 none;\n border-top-right-radius: 4px;\n border-top-left-radius: 4px;\n}\n.p-fileupload .p-fileupload-buttonbar .p-button {\n margin-right: 0.5rem;\n}\n.p-fileupload .p-fileupload-buttonbar .p-button.p-fileupload-choose.p-focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-fileupload .p-fileupload-content {\n background: #ffffff;\n padding: 2rem 1rem;\n border: 1px solid #e0e0e0;\n color: rgba(0, 0, 0, 0.87);\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n.p-fileupload .p-progressbar {\n height: 4px;\n}\n.p-fileupload .p-fileupload-row > div {\n padding: 0.75rem 0.75rem;\n}\n.p-fileupload.p-fileupload-advanced .p-message {\n margin-top: 0;\n}\n\n.p-fileupload-choose:not(.p-disabled):hover {\n background: rgba(63, 81, 181, 0.92);\n color: #ffffff;\n border-color: transparent;\n}\n.p-fileupload-choose:not(.p-disabled):active {\n background: rgba(63, 81, 181, 0.68);\n color: #ffffff;\n border-color: transparent;\n}\n\n.p-breadcrumb {\n background: #ffffff;\n border: 1px solid #e5e5e5;\n border-radius: 4px;\n padding: 0.75rem;\n}\n.p-breadcrumb ul li .p-menuitem-link {\n transition: none;\n border-radius: 4px;\n}\n.p-breadcrumb ul li .p-menuitem-link:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-breadcrumb ul li .p-menuitem-link .p-menuitem-text {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-breadcrumb ul li .p-menuitem-link .p-menuitem-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-breadcrumb ul li.p-breadcrumb-chevron {\n margin: 0 0.5rem 0 0.5rem;\n color: rgba(0, 0, 0, 0.6);\n}\n.p-breadcrumb ul li:last-child .p-menuitem-text {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-breadcrumb ul li:last-child .p-menuitem-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n\n.p-contextmenu {\n padding: 0.5rem 0;\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border: 0 none;\n box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);\n border-radius: 4px;\n width: 12.5rem;\n}\n.p-contextmenu .p-menuitem-link {\n padding: 0.75rem 0.75rem;\n color: rgba(0, 0, 0, 0.87);\n border-radius: 0;\n transition: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.p-contextmenu .p-menuitem-link .p-menuitem-text {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-contextmenu .p-menuitem-link .p-menuitem-icon {\n color: rgba(0, 0, 0, 0.6);\n margin-right: 0.5rem;\n}\n.p-contextmenu .p-menuitem-link .p-submenu-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-contextmenu .p-menuitem-link:not(.p-disabled):hover {\n background: rgba(0, 0, 0, 0.04);\n}\n.p-contextmenu .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-contextmenu .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-contextmenu .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-contextmenu .p-menuitem-link:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-contextmenu .p-submenu-list {\n padding: 0.5rem 0;\n background: #ffffff;\n border: 0 none;\n box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);\n border-radius: 4px;\n}\n.p-contextmenu .p-menuitem.p-menuitem-active > .p-menuitem-link {\n background: rgba(0, 0, 0, 0.04);\n}\n.p-contextmenu .p-menuitem.p-menuitem-active > .p-menuitem-link .p-menuitem-text {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-contextmenu .p-menuitem.p-menuitem-active > .p-menuitem-link .p-menuitem-icon, .p-contextmenu .p-menuitem.p-menuitem-active > .p-menuitem-link .p-submenu-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-contextmenu .p-menu-separator {\n border-top: 1px solid rgba(0, 0, 0, 0.12);\n margin: 0.5rem 0;\n}\n.p-contextmenu .p-submenu-icon {\n font-size: 0.875rem;\n}\n\n.p-dock .p-dock-list-container {\n background: rgba(255, 255, 255, 0.1);\n border: 1px solid rgba(255, 255, 255, 0.2);\n padding: 0.5rem 0.5rem;\n border-radius: 0.5rem;\n}\n.p-dock .p-dock-item {\n padding: 0.5rem;\n}\n.p-dock .p-dock-action {\n width: 4rem;\n height: 4rem;\n}\n.p-dock.p-dock-top .p-dock-item-second-prev,\n.p-dock.p-dock-top .p-dock-item-second-next, .p-dock.p-dock-bottom .p-dock-item-second-prev,\n.p-dock.p-dock-bottom .p-dock-item-second-next {\n margin: 0 0.9rem;\n}\n.p-dock.p-dock-top .p-dock-item-prev,\n.p-dock.p-dock-top .p-dock-item-next, .p-dock.p-dock-bottom .p-dock-item-prev,\n.p-dock.p-dock-bottom .p-dock-item-next {\n margin: 0 1.3rem;\n}\n.p-dock.p-dock-top .p-dock-item-current, .p-dock.p-dock-bottom .p-dock-item-current {\n margin: 0 1.5rem;\n}\n.p-dock.p-dock-left .p-dock-item-second-prev,\n.p-dock.p-dock-left .p-dock-item-second-next, .p-dock.p-dock-right .p-dock-item-second-prev,\n.p-dock.p-dock-right .p-dock-item-second-next {\n margin: 0.9rem 0;\n}\n.p-dock.p-dock-left .p-dock-item-prev,\n.p-dock.p-dock-left .p-dock-item-next, .p-dock.p-dock-right .p-dock-item-prev,\n.p-dock.p-dock-right .p-dock-item-next {\n margin: 1.3rem 0;\n}\n.p-dock.p-dock-left .p-dock-item-current, .p-dock.p-dock-right .p-dock-item-current {\n margin: 1.5rem 0;\n}\n\n@media screen and (max-width: 960px) {\n .p-dock.p-dock-top .p-dock-list-container, .p-dock.p-dock-bottom .p-dock-list-container {\n overflow-x: auto;\n width: 100%;\n }\n .p-dock.p-dock-top .p-dock-list-container .p-dock-list, .p-dock.p-dock-bottom .p-dock-list-container .p-dock-list {\n margin: 0 auto;\n }\n .p-dock.p-dock-left .p-dock-list-container, .p-dock.p-dock-right .p-dock-list-container {\n overflow-y: auto;\n height: 100%;\n }\n .p-dock.p-dock-left .p-dock-list-container .p-dock-list, .p-dock.p-dock-right .p-dock-list-container .p-dock-list {\n margin: auto 0;\n }\n .p-dock .p-dock-list .p-dock-item {\n transform: none;\n margin: 0;\n }\n}\n.p-megamenu {\n padding: 0.75rem;\n background: transparent;\n color: rgba(0, 0, 0, 0.87);\n border: 1px solid #e5e5e5;\n border-radius: 4px;\n}\n.p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link {\n padding: 0.75rem;\n color: rgba(0, 0, 0, 0.87);\n border-radius: 4px;\n transition: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-icon {\n color: rgba(0, 0, 0, 0.6);\n margin-right: 0.5rem;\n}\n.p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link .p-submenu-icon {\n color: rgba(0, 0, 0, 0.6);\n margin-left: 0.5rem;\n}\n.p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover {\n background: rgba(0, 0, 0, 0.04);\n}\n.p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-megamenu .p-megamenu-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link,\n.p-megamenu .p-megamenu-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link:not(.p-disabled):hover {\n background: rgba(0, 0, 0, 0.04);\n}\n.p-megamenu .p-megamenu-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link .p-menuitem-text,\n.p-megamenu .p-megamenu-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-megamenu .p-megamenu-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link .p-menuitem-icon,\n.p-megamenu .p-megamenu-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-megamenu .p-megamenu-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link .p-submenu-icon,\n.p-megamenu .p-megamenu-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-megamenu .p-menuitem-link {\n padding: 0.75rem 0.75rem;\n color: rgba(0, 0, 0, 0.87);\n border-radius: 0;\n transition: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.p-megamenu .p-menuitem-link .p-menuitem-text {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-megamenu .p-menuitem-link .p-menuitem-icon {\n color: rgba(0, 0, 0, 0.6);\n margin-right: 0.5rem;\n}\n.p-megamenu .p-menuitem-link .p-submenu-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-megamenu .p-menuitem-link:not(.p-disabled):hover {\n background: rgba(0, 0, 0, 0.04);\n}\n.p-megamenu .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-megamenu .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-megamenu .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-megamenu .p-menuitem-link:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-megamenu .p-megamenu-panel {\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border: 0 none;\n box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);\n}\n.p-megamenu .p-megamenu-submenu-header {\n margin: 0;\n padding: 0.75rem;\n color: rgba(0, 0, 0, 0.6);\n background: #ffffff;\n font-weight: 400;\n border-top-right-radius: 4px;\n border-top-left-radius: 4px;\n}\n.p-megamenu .p-megamenu-submenu {\n padding: 0.5rem 0;\n width: 12.5rem;\n}\n.p-megamenu .p-megamenu-submenu .p-menu-separator {\n border-top: 1px solid rgba(0, 0, 0, 0.12);\n margin: 0.5rem 0;\n}\n.p-megamenu .p-menuitem.p-menuitem-active > .p-menuitem-link {\n background: rgba(0, 0, 0, 0.04);\n}\n.p-megamenu .p-menuitem.p-menuitem-active > .p-menuitem-link .p-menuitem-text {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-megamenu .p-menuitem.p-menuitem-active > .p-menuitem-link .p-menuitem-icon, .p-megamenu .p-menuitem.p-menuitem-active > .p-menuitem-link .p-submenu-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-megamenu.p-megamenu-vertical {\n width: 12.5rem;\n padding: 0.5rem 0;\n}\n\n.p-menu {\n padding: 0.5rem 0;\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border: 1px solid #e5e5e5;\n border-radius: 4px;\n width: 12.5rem;\n}\n.p-menu .p-menuitem-link {\n padding: 0.75rem 0.75rem;\n color: rgba(0, 0, 0, 0.87);\n border-radius: 0;\n transition: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.p-menu .p-menuitem-link .p-menuitem-text {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-menu .p-menuitem-link .p-menuitem-icon {\n color: rgba(0, 0, 0, 0.6);\n margin-right: 0.5rem;\n}\n.p-menu .p-menuitem-link .p-submenu-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-menu .p-menuitem-link:not(.p-disabled):hover {\n background: rgba(0, 0, 0, 0.04);\n}\n.p-menu .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-menu .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-menu .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-menu .p-menuitem-link:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-menu.p-menu-overlay {\n background: #ffffff;\n border: 0 none;\n box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);\n}\n.p-menu .p-submenu-header {\n margin: 0;\n padding: 0.75rem;\n color: rgba(0, 0, 0, 0.6);\n background: #ffffff;\n font-weight: 400;\n border-top-right-radius: 0;\n border-top-left-radius: 0;\n}\n.p-menu .p-menu-separator {\n border-top: 1px solid rgba(0, 0, 0, 0.12);\n margin: 0.5rem 0;\n}\n\n.p-menubar {\n padding: 0.75rem;\n background: transparent;\n color: rgba(0, 0, 0, 0.87);\n border: 1px solid #e5e5e5;\n border-radius: 4px;\n}\n.p-menubar .p-menuitem-link {\n padding: 0.75rem 0.75rem;\n color: rgba(0, 0, 0, 0.87);\n border-radius: 0;\n transition: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.p-menubar .p-menuitem-link .p-menuitem-text {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-menubar .p-menuitem-link .p-menuitem-icon {\n color: rgba(0, 0, 0, 0.6);\n margin-right: 0.5rem;\n}\n.p-menubar .p-menuitem-link .p-submenu-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-menubar .p-menuitem-link:not(.p-disabled):hover {\n background: rgba(0, 0, 0, 0.04);\n}\n.p-menubar .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-menubar .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-menubar .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-menubar .p-menuitem-link:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link {\n padding: 0.75rem;\n color: rgba(0, 0, 0, 0.87);\n border-radius: 4px;\n transition: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-icon {\n color: rgba(0, 0, 0, 0.6);\n margin-right: 0.5rem;\n}\n.p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-submenu-icon {\n color: rgba(0, 0, 0, 0.6);\n margin-left: 0.5rem;\n}\n.p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover {\n background: rgba(0, 0, 0, 0.04);\n}\n.p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link,\n.p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link:not(.p-disabled):hover {\n background: rgba(0, 0, 0, 0.04);\n}\n.p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link .p-menuitem-text,\n.p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link .p-menuitem-icon,\n.p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link .p-submenu-icon,\n.p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-menubar .p-submenu-list {\n padding: 0.5rem 0;\n background: #ffffff;\n border: 0 none;\n box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);\n width: 12.5rem;\n}\n.p-menubar .p-submenu-list .p-menu-separator {\n border-top: 1px solid rgba(0, 0, 0, 0.12);\n margin: 0.5rem 0;\n}\n.p-menubar .p-submenu-list .p-submenu-icon {\n font-size: 0.875rem;\n}\n.p-menubar .p-menuitem.p-menuitem-active > .p-menuitem-link {\n background: rgba(0, 0, 0, 0.04);\n}\n.p-menubar .p-menuitem.p-menuitem-active > .p-menuitem-link .p-menuitem-text {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-menubar .p-menuitem.p-menuitem-active > .p-menuitem-link .p-menuitem-icon, .p-menubar .p-menuitem.p-menuitem-active > .p-menuitem-link .p-submenu-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n\n@media screen and (max-width: 960px) {\n .p-menubar {\n position: relative;\n }\n .p-menubar .p-menubar-button {\n display: flex;\n width: 2rem;\n height: 2rem;\n color: rgba(0, 0, 0, 0.6);\n border-radius: 50%;\n transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;\n }\n .p-menubar .p-menubar-button:hover {\n color: rgba(0, 0, 0, 0.6);\n background: rgba(0, 0, 0, 0.04);\n }\n .p-menubar .p-menubar-button:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n }\n .p-menubar .p-menubar-root-list {\n position: absolute;\n display: none;\n padding: 0.5rem 0;\n background: #ffffff;\n border: 0 none;\n box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);\n width: 100%;\n }\n .p-menubar .p-menubar-root-list .p-menu-separator {\n border-top: 1px solid rgba(0, 0, 0, 0.12);\n margin: 0.5rem 0;\n }\n .p-menubar .p-menubar-root-list .p-submenu-icon {\n font-size: 0.875rem;\n }\n .p-menubar .p-menubar-root-list > .p-menuitem {\n width: 100%;\n position: static;\n }\n .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link {\n padding: 0.75rem 0.75rem;\n color: rgba(0, 0, 0, 0.87);\n border-radius: 0;\n transition: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n }\n .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text {\n color: rgba(0, 0, 0, 0.87);\n }\n .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-icon {\n color: rgba(0, 0, 0, 0.6);\n margin-right: 0.5rem;\n }\n .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-submenu-icon {\n color: rgba(0, 0, 0, 0.6);\n }\n .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover {\n background: rgba(0, 0, 0, 0.04);\n }\n .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text {\n color: rgba(0, 0, 0, 0.87);\n }\n .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon {\n color: rgba(0, 0, 0, 0.6);\n }\n .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon {\n color: rgba(0, 0, 0, 0.6);\n }\n .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n }\n .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link > .p-submenu-icon {\n margin-left: auto;\n transition: transform 0.2s;\n }\n .p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link > .p-submenu-icon {\n transform: rotate(-180deg);\n }\n .p-menubar .p-menubar-root-list .p-submenu-list {\n width: 100%;\n position: static;\n box-shadow: none;\n border: 0 none;\n }\n .p-menubar .p-menubar-root-list .p-submenu-list .p-submenu-icon {\n transition: transform 0.2s;\n transform: rotate(90deg);\n }\n .p-menubar .p-menubar-root-list .p-submenu-list .p-menuitem-active > .p-menuitem-link > .p-submenu-icon {\n transform: rotate(-90deg);\n }\n .p-menubar .p-menubar-root-list .p-menuitem {\n width: 100%;\n position: static;\n }\n .p-menubar .p-menubar-root-list ul li a {\n padding-left: 2.25rem;\n }\n .p-menubar .p-menubar-root-list ul li ul li a {\n padding-left: 3.75rem;\n }\n .p-menubar .p-menubar-root-list ul li ul li ul li a {\n padding-left: 5.25rem;\n }\n .p-menubar .p-menubar-root-list ul li ul li ul li ul li a {\n padding-left: 6.75rem;\n }\n .p-menubar .p-menubar-root-list ul li ul li ul li ul li ul li a {\n padding-left: 8.25rem;\n }\n .p-menubar.p-menubar-mobile-active .p-menubar-root-list {\n display: flex;\n flex-direction: column;\n top: 100%;\n left: 0;\n z-index: 1;\n }\n}\n.p-panelmenu .p-panelmenu-header > a {\n padding: 1.25rem;\n border: 0 none;\n color: rgba(0, 0, 0, 0.87);\n background: #ffffff;\n font-weight: 400;\n border-radius: 4px;\n transition: none;\n}\n.p-panelmenu .p-panelmenu-header > a .p-panelmenu-icon {\n margin-right: 0.5rem;\n}\n.p-panelmenu .p-panelmenu-header > a .p-menuitem-icon {\n margin-right: 0.5rem;\n}\n.p-panelmenu .p-panelmenu-header > a:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-panelmenu .p-panelmenu-header:not(.p-highlight):not(.p-disabled) > a:hover {\n background: #f6f6f6;\n border-color: transparent;\n color: rgba(0, 0, 0, 0.87);\n}\n.p-panelmenu .p-panelmenu-header.p-highlight {\n margin-bottom: 0;\n}\n.p-panelmenu .p-panelmenu-header.p-highlight > a {\n background: #ffffff;\n border-color: transparent;\n color: rgba(0, 0, 0, 0.87);\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.p-panelmenu .p-panelmenu-header.p-highlight:not(.p-disabled) > a:hover {\n border-color: transparent;\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n}\n.p-panelmenu .p-panelmenu-content {\n padding: 0.5rem 0;\n border: 0 none;\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n margin-bottom: 0;\n border-top: 0;\n border-top-right-radius: 0;\n border-top-left-radius: 0;\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n.p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link {\n padding: 0.75rem 0.75rem;\n color: rgba(0, 0, 0, 0.87);\n border-radius: 0;\n transition: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link .p-menuitem-text {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link .p-menuitem-icon {\n color: rgba(0, 0, 0, 0.6);\n margin-right: 0.5rem;\n}\n.p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link .p-submenu-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link:not(.p-disabled):hover {\n background: rgba(0, 0, 0, 0.04);\n}\n.p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link .p-panelmenu-icon {\n margin-right: 0.5rem;\n}\n.p-panelmenu .p-panelmenu-content .p-submenu-list:not(.p-panelmenu-root-submenu) {\n padding: 0 0 0 1rem;\n}\n.p-panelmenu .p-panelmenu-panel {\n margin-bottom: 0;\n}\n.p-panelmenu .p-panelmenu-panel .p-panelmenu-header > a {\n border-radius: 0;\n}\n.p-panelmenu .p-panelmenu-panel .p-panelmenu-content {\n border-radius: 0;\n}\n.p-panelmenu .p-panelmenu-panel:not(:first-child) .p-panelmenu-header > a {\n border-top: 0 none;\n}\n.p-panelmenu .p-panelmenu-panel:not(:first-child) .p-panelmenu-header:not(.p-highlight):not(.p-disabled):hover > a, .p-panelmenu .p-panelmenu-panel:not(:first-child) .p-panelmenu-header:not(.p-disabled).p-highlight:hover > a {\n border-top: 0 none;\n}\n.p-panelmenu .p-panelmenu-panel:first-child .p-panelmenu-header > a {\n border-top-right-radius: 4px;\n border-top-left-radius: 4px;\n}\n.p-panelmenu .p-panelmenu-panel:last-child .p-panelmenu-header:not(.p-highlight) > a {\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n.p-panelmenu .p-panelmenu-panel:last-child .p-panelmenu-content {\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n\n.p-steps .p-steps-item .p-menuitem-link {\n background: transparent;\n transition: none;\n border-radius: 4px;\n background: transparent;\n}\n.p-steps .p-steps-item .p-menuitem-link .p-steps-number {\n color: rgba(0, 0, 0, 0.87);\n border: 1px solid transparent;\n background: transparent;\n min-width: 2rem;\n height: 2rem;\n line-height: 2rem;\n font-size: 1.143rem;\n z-index: 1;\n border-radius: 50%;\n}\n.p-steps .p-steps-item .p-menuitem-link .p-steps-title {\n margin-top: 0.5rem;\n color: rgba(0, 0, 0, 0.87);\n}\n.p-steps .p-steps-item .p-menuitem-link:not(.p-disabled):focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-steps .p-steps-item.p-highlight .p-steps-number {\n background: rgba(63, 81, 181, 0.12);\n color: #3F51B5;\n}\n.p-steps .p-steps-item.p-highlight .p-steps-title {\n font-weight: 500;\n color: rgba(0, 0, 0, 0.87);\n}\n.p-steps .p-steps-item:before {\n content: \" \";\n border-top: 1px solid rgba(0, 0, 0, 0.12);\n width: 100%;\n top: 50%;\n left: 0;\n display: block;\n position: absolute;\n margin-top: -1rem;\n}\n\n.p-tabmenu .p-tabmenu-nav {\n background: #ffffff;\n border: solid rgba(0, 0, 0, 0.12);\n border-width: 0 0 1px 0;\n}\n.p-tabmenu .p-tabmenu-nav .p-tabmenuitem {\n margin-right: 0;\n}\n.p-tabmenu .p-tabmenu-nav .p-tabmenuitem .p-menuitem-link {\n border: solid rgba(0, 0, 0, 0.12);\n border-width: 0 0 1px 0;\n border-color: transparent transparent rgba(0, 0, 0, 0.12) transparent;\n background: #ffffff;\n color: rgba(0, 0, 0, 0.6);\n padding: 0.75rem 1.25rem;\n font-weight: 500;\n border-top-right-radius: 4px;\n border-top-left-radius: 4px;\n transition: none;\n margin: 0 0 -1px 0;\n}\n.p-tabmenu .p-tabmenu-nav .p-tabmenuitem .p-menuitem-link .p-menuitem-icon {\n margin-right: 0.5rem;\n}\n.p-tabmenu .p-tabmenu-nav .p-tabmenuitem .p-menuitem-link:not(.p-disabled):focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: inset none;\n}\n.p-tabmenu .p-tabmenu-nav .p-tabmenuitem:not(.p-highlight):not(.p-disabled):hover .p-menuitem-link {\n background: rgba(63, 81, 181, 0.04);\n border-color: rgba(0, 0, 0, 0.12);\n color: rgba(0, 0, 0, 0.6);\n}\n.p-tabmenu .p-tabmenu-nav .p-tabmenuitem.p-highlight .p-menuitem-link {\n background: #ffffff;\n border-color: rgba(0, 0, 0, 0.12);\n color: #3F51B5;\n}\n\n.p-tieredmenu {\n padding: 0.5rem 0;\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border: 1px solid #e5e5e5;\n border-radius: 4px;\n width: 12.5rem;\n}\n.p-tieredmenu .p-menuitem-link {\n padding: 0.75rem 0.75rem;\n color: rgba(0, 0, 0, 0.87);\n border-radius: 0;\n transition: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.p-tieredmenu .p-menuitem-link .p-menuitem-text {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-tieredmenu .p-menuitem-link .p-menuitem-icon {\n color: rgba(0, 0, 0, 0.6);\n margin-right: 0.5rem;\n}\n.p-tieredmenu .p-menuitem-link .p-submenu-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-tieredmenu .p-menuitem-link:not(.p-disabled):hover {\n background: rgba(0, 0, 0, 0.04);\n}\n.p-tieredmenu .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-tieredmenu .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-tieredmenu .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-tieredmenu .p-menuitem-link:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-tieredmenu.p-tieredmenu-overlay {\n background: #ffffff;\n border: 0 none;\n box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);\n}\n.p-tieredmenu .p-submenu-list {\n padding: 0.5rem 0;\n background: #ffffff;\n border: 0 none;\n box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);\n}\n.p-tieredmenu .p-menuitem.p-menuitem-active > .p-menuitem-link {\n background: rgba(0, 0, 0, 0.04);\n}\n.p-tieredmenu .p-menuitem.p-menuitem-active > .p-menuitem-link .p-menuitem-text {\n color: rgba(0, 0, 0, 0.87);\n}\n.p-tieredmenu .p-menuitem.p-menuitem-active > .p-menuitem-link .p-menuitem-icon, .p-tieredmenu .p-menuitem.p-menuitem-active > .p-menuitem-link .p-submenu-icon {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-tieredmenu .p-menu-separator {\n border-top: 1px solid rgba(0, 0, 0, 0.12);\n margin: 0.5rem 0;\n}\n.p-tieredmenu .p-submenu-icon {\n font-size: 0.875rem;\n}\n\n.p-inline-message {\n padding: 0.75rem 0.75rem;\n margin: 0;\n border-radius: 4px;\n}\n.p-inline-message.p-inline-message-info {\n background: #B3E5FC;\n border: solid transparent;\n border-width: 1px;\n color: #01579B;\n}\n.p-inline-message.p-inline-message-info .p-inline-message-icon {\n color: #01579B;\n}\n.p-inline-message.p-inline-message-success {\n background: #C8E6C9;\n border: solid transparent;\n border-width: 1px;\n color: #1B5E20;\n}\n.p-inline-message.p-inline-message-success .p-inline-message-icon {\n color: #1B5E20;\n}\n.p-inline-message.p-inline-message-warn {\n background: #FFECB3;\n border: solid transparent;\n border-width: 1px;\n color: #7f6003;\n}\n.p-inline-message.p-inline-message-warn .p-inline-message-icon {\n color: #7f6003;\n}\n.p-inline-message.p-inline-message-error {\n background: #FFCDD2;\n border: solid transparent;\n border-width: 1px;\n color: #B71C1C;\n}\n.p-inline-message.p-inline-message-error .p-inline-message-icon {\n color: #B71C1C;\n}\n.p-inline-message .p-inline-message-icon {\n font-size: 1rem;\n margin-right: 0.5rem;\n}\n.p-inline-message .p-inline-message-text {\n font-size: 1rem;\n}\n.p-inline-message.p-inline-message-icon-only .p-inline-message-icon {\n margin-right: 0;\n}\n\n.p-message {\n margin: 0.75rem 0;\n border-radius: 4px;\n}\n.p-message .p-message-wrapper {\n padding: 1rem 1.25rem;\n}\n.p-message .p-message-close {\n width: 2rem;\n height: 2rem;\n border-radius: 50%;\n background: transparent;\n transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;\n}\n.p-message .p-message-close:hover {\n background: rgba(255, 255, 255, 0.3);\n}\n.p-message .p-message-close:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-message.p-message-info {\n background: #B3E5FC;\n border: solid transparent;\n border-width: 0 0 0 0;\n color: #01579B;\n}\n.p-message.p-message-info .p-message-icon {\n color: #01579B;\n}\n.p-message.p-message-info .p-message-close {\n color: #01579B;\n}\n.p-message.p-message-success {\n background: #C8E6C9;\n border: solid transparent;\n border-width: 0 0 0 0;\n color: #1B5E20;\n}\n.p-message.p-message-success .p-message-icon {\n color: #1B5E20;\n}\n.p-message.p-message-success .p-message-close {\n color: #1B5E20;\n}\n.p-message.p-message-warn {\n background: #FFECB3;\n border: solid transparent;\n border-width: 0 0 0 0;\n color: #7f6003;\n}\n.p-message.p-message-warn .p-message-icon {\n color: #7f6003;\n}\n.p-message.p-message-warn .p-message-close {\n color: #7f6003;\n}\n.p-message.p-message-error {\n background: #FFCDD2;\n border: solid transparent;\n border-width: 0 0 0 0;\n color: #B71C1C;\n}\n.p-message.p-message-error .p-message-icon {\n color: #B71C1C;\n}\n.p-message.p-message-error .p-message-close {\n color: #B71C1C;\n}\n.p-message .p-message-text {\n font-size: 1rem;\n font-weight: 500;\n}\n.p-message .p-message-icon {\n font-size: 1.5rem;\n margin-right: 0.5rem;\n}\n\n.p-toast {\n opacity: 0.9;\n}\n.p-toast .p-toast-message {\n margin: 0 0 1rem 0;\n box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);\n border-radius: 4px;\n}\n.p-toast .p-toast-message .p-toast-message-content {\n padding: 1.25rem;\n border-width: 0 0 0 0;\n}\n.p-toast .p-toast-message .p-toast-message-content .p-toast-message-text {\n margin: 0 0 0 1rem;\n}\n.p-toast .p-toast-message .p-toast-message-content .p-toast-message-icon {\n font-size: 2rem;\n}\n.p-toast .p-toast-message .p-toast-message-content .p-toast-summary {\n font-weight: 700;\n}\n.p-toast .p-toast-message .p-toast-message-content .p-toast-detail {\n margin: 0.5rem 0 0 0;\n}\n.p-toast .p-toast-message .p-toast-icon-close {\n width: 2rem;\n height: 2rem;\n border-radius: 50%;\n background: transparent;\n transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;\n}\n.p-toast .p-toast-message .p-toast-icon-close:hover {\n background: rgba(255, 255, 255, 0.3);\n}\n.p-toast .p-toast-message .p-toast-icon-close:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n.p-toast .p-toast-message.p-toast-message-info {\n background: #B3E5FC;\n border: solid transparent;\n border-width: 0 0 0 0;\n color: #01579B;\n}\n.p-toast .p-toast-message.p-toast-message-info .p-toast-message-icon,\n.p-toast .p-toast-message.p-toast-message-info .p-toast-icon-close {\n color: #01579B;\n}\n.p-toast .p-toast-message.p-toast-message-success {\n background: #C8E6C9;\n border: solid transparent;\n border-width: 0 0 0 0;\n color: #1B5E20;\n}\n.p-toast .p-toast-message.p-toast-message-success .p-toast-message-icon,\n.p-toast .p-toast-message.p-toast-message-success .p-toast-icon-close {\n color: #1B5E20;\n}\n.p-toast .p-toast-message.p-toast-message-warn {\n background: #FFECB3;\n border: solid transparent;\n border-width: 0 0 0 0;\n color: #7f6003;\n}\n.p-toast .p-toast-message.p-toast-message-warn .p-toast-message-icon,\n.p-toast .p-toast-message.p-toast-message-warn .p-toast-icon-close {\n color: #7f6003;\n}\n.p-toast .p-toast-message.p-toast-message-error {\n background: #FFCDD2;\n border: solid transparent;\n border-width: 0 0 0 0;\n color: #B71C1C;\n}\n.p-toast .p-toast-message.p-toast-message-error .p-toast-message-icon,\n.p-toast .p-toast-message.p-toast-message-error .p-toast-icon-close {\n color: #B71C1C;\n}\n\n.p-galleria .p-galleria-close {\n margin: 0.5rem;\n background: transparent;\n color: rgba(255, 255, 255, 0.87);\n width: 4rem;\n height: 4rem;\n transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;\n border-radius: 50%;\n}\n.p-galleria .p-galleria-close .p-galleria-close-icon {\n font-size: 2rem;\n}\n.p-galleria .p-galleria-close:hover {\n background: rgba(255, 255, 255, 0.1);\n color: rgba(255, 255, 255, 0.87);\n}\n.p-galleria .p-galleria-item-nav {\n background: transparent;\n color: #f6f6f6;\n width: 4rem;\n height: 4rem;\n transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;\n border-radius: 50%;\n margin: 0 0.5rem;\n}\n.p-galleria .p-galleria-item-nav .p-galleria-item-prev-icon,\n.p-galleria .p-galleria-item-nav .p-galleria-item-next-icon {\n font-size: 2rem;\n}\n.p-galleria .p-galleria-item-nav:not(.p-disabled):hover {\n background: rgba(255, 255, 255, 0.1);\n color: rgba(255, 255, 255, 0.87);\n}\n.p-galleria .p-galleria-caption {\n background: rgba(0, 0, 0, 0.5);\n color: rgba(255, 255, 255, 0.87);\n padding: 1rem;\n}\n.p-galleria .p-galleria-indicators {\n padding: 1rem;\n}\n.p-galleria .p-galleria-indicators .p-galleria-indicator button {\n background-color: #dcdcdc;\n width: 1.25rem;\n height: 1.25rem;\n transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;\n border-radius: 50%;\n}\n.p-galleria .p-galleria-indicators .p-galleria-indicator button:hover {\n background: #ececec;\n}\n.p-galleria .p-galleria-indicators .p-galleria-indicator.p-highlight button {\n background: rgba(63, 81, 181, 0.12);\n color: #3F51B5;\n}\n.p-galleria.p-galleria-indicators-bottom .p-galleria-indicator, .p-galleria.p-galleria-indicators-top .p-galleria-indicator {\n margin-right: 0.5rem;\n}\n.p-galleria.p-galleria-indicators-left .p-galleria-indicator, .p-galleria.p-galleria-indicators-right .p-galleria-indicator {\n margin-bottom: 0.5rem;\n}\n.p-galleria.p-galleria-indicator-onitem .p-galleria-indicators {\n background: rgba(0, 0, 0, 0.5);\n}\n.p-galleria.p-galleria-indicator-onitem .p-galleria-indicators .p-galleria-indicator button {\n background: rgba(255, 255, 255, 0.4);\n}\n.p-galleria.p-galleria-indicator-onitem .p-galleria-indicators .p-galleria-indicator button:hover {\n background: rgba(255, 255, 255, 0.6);\n}\n.p-galleria.p-galleria-indicator-onitem .p-galleria-indicators .p-galleria-indicator.p-highlight button {\n background: rgba(63, 81, 181, 0.12);\n color: #3F51B5;\n}\n.p-galleria .p-galleria-thumbnail-container {\n background: rgba(0, 0, 0, 0.9);\n padding: 1rem 0.25rem;\n}\n.p-galleria .p-galleria-thumbnail-container .p-galleria-thumbnail-prev,\n.p-galleria .p-galleria-thumbnail-container .p-galleria-thumbnail-next {\n margin: 0.5rem;\n background-color: transparent;\n color: rgba(255, 255, 255, 0.87);\n width: 2rem;\n height: 2rem;\n transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;\n border-radius: 50%;\n}\n.p-galleria .p-galleria-thumbnail-container .p-galleria-thumbnail-prev:hover,\n.p-galleria .p-galleria-thumbnail-container .p-galleria-thumbnail-next:hover {\n background: rgba(255, 255, 255, 0.1);\n color: rgba(255, 255, 255, 0.87);\n}\n.p-galleria .p-galleria-thumbnail-container .p-galleria-thumbnail-item-content:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n\n.p-galleria-mask {\n --maskbg: rgba(0, 0, 0, 0.9);\n}\n\n.p-image-mask {\n --maskbg: rgba(0, 0, 0, 0.9);\n}\n\n.p-image-preview-indicator {\n background-color: transparent;\n color: #f8f9fa;\n transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;\n}\n\n.p-image-preview-container:hover > .p-image-preview-indicator {\n background-color: rgba(0, 0, 0, 0.5);\n}\n\n.p-image-toolbar {\n padding: 1rem;\n}\n\n.p-image-action.p-link {\n color: #f8f9fa;\n background-color: transparent;\n width: 3rem;\n height: 3rem;\n border-radius: 50%;\n transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;\n margin-right: 0.5rem;\n}\n.p-image-action.p-link:last-child {\n margin-right: 0;\n}\n.p-image-action.p-link:hover {\n color: #f8f9fa;\n background-color: rgba(255, 255, 255, 0.1);\n}\n.p-image-action.p-link i {\n font-size: 1.5rem;\n}\n\n.p-avatar {\n background-color: rgba(0, 0, 0, 0.12);\n border-radius: 4px;\n}\n.p-avatar.p-avatar-lg {\n width: 3rem;\n height: 3rem;\n font-size: 1.5rem;\n}\n.p-avatar.p-avatar-lg .p-avatar-icon {\n font-size: 1.5rem;\n}\n.p-avatar.p-avatar-xl {\n width: 4rem;\n height: 4rem;\n font-size: 2rem;\n}\n.p-avatar.p-avatar-xl .p-avatar-icon {\n font-size: 2rem;\n}\n\n.p-avatar-group .p-avatar {\n border: 2px solid #ffffff;\n}\n\n.p-badge {\n background: #3F51B5;\n color: #ffffff;\n font-size: 0.75rem;\n font-weight: 700;\n min-width: 1.5rem;\n height: 1.5rem;\n line-height: 1.5rem;\n}\n.p-badge.p-badge-secondary {\n background-color: #ff4081;\n color: #ffffff;\n}\n.p-badge.p-badge-success {\n background-color: #689F38;\n color: #ffffff;\n}\n.p-badge.p-badge-info {\n background-color: #2196F3;\n color: #ffffff;\n}\n.p-badge.p-badge-warning {\n background-color: #FBC02D;\n color: #212529;\n}\n.p-badge.p-badge-danger {\n background-color: #D32F2F;\n color: #ffffff;\n}\n.p-badge.p-badge-lg {\n font-size: 1.125rem;\n min-width: 2.25rem;\n height: 2.25rem;\n line-height: 2.25rem;\n}\n.p-badge.p-badge-xl {\n font-size: 1.5rem;\n min-width: 3rem;\n height: 3rem;\n line-height: 3rem;\n}\n\n.p-chip {\n background-color: rgba(0, 0, 0, 0.12);\n color: rgba(0, 0, 0, 0.87);\n border-radius: 16px;\n padding: 0 0.75rem;\n}\n.p-chip .p-chip-text {\n line-height: 1.5;\n margin-top: 0.375rem;\n margin-bottom: 0.375rem;\n}\n.p-chip .p-chip-icon {\n margin-right: 0.5rem;\n}\n.p-chip img {\n width: 2.25rem;\n height: 2.25rem;\n margin-left: -0.75rem;\n margin-right: 0.5rem;\n}\n.p-chip .p-chip-remove-icon {\n margin-left: 0.5rem;\n border-radius: 4px;\n transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;\n}\n.p-chip .p-chip-remove-icon:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n\n.p-inplace .p-inplace-display {\n padding: 1rem 1rem;\n border-radius: 4px;\n transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);\n}\n.p-inplace .p-inplace-display:not(.p-disabled):hover {\n background: rgba(0, 0, 0, 0.04);\n color: rgba(0, 0, 0, 0.87);\n}\n.p-inplace .p-inplace-display:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: none;\n}\n\n.p-progressbar {\n border: 0 none;\n height: 4px;\n background: rgba(63, 81, 181, 0.32);\n border-radius: 4px;\n}\n.p-progressbar .p-progressbar-value {\n border: 0 none;\n margin: 0;\n background: #3F51B5;\n}\n.p-progressbar .p-progressbar-label {\n color: #ffffff;\n line-height: 4px;\n}\n\n.p-scrolltop {\n width: 2.75rem;\n height: 2.75rem;\n border-radius: 50%;\n box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);\n transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;\n}\n.p-scrolltop.p-link {\n background: #ff4081;\n}\n.p-scrolltop.p-link:hover {\n background: rgba(255, 64, 129, 0.92);\n}\n.p-scrolltop .p-scrolltop-icon {\n font-size: 1.15rem;\n color: #ffffff;\n}\n\n.p-skeleton {\n background-color: rgba(0, 0, 0, 0.08);\n border-radius: 4px;\n}\n.p-skeleton:after {\n background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));\n}\n\n.p-tag {\n background: #3F51B5;\n color: #ffffff;\n font-size: 0.75rem;\n font-weight: 700;\n padding: 0.25rem 0.4rem;\n border-radius: 4px;\n}\n.p-tag.p-tag-success {\n background-color: #689F38;\n color: #ffffff;\n}\n.p-tag.p-tag-info {\n background-color: #2196F3;\n color: #ffffff;\n}\n.p-tag.p-tag-warning {\n background-color: #FBC02D;\n color: #212529;\n}\n.p-tag.p-tag-danger {\n background-color: #D32F2F;\n color: #ffffff;\n}\n.p-tag .p-tag-icon {\n margin-right: 0.25rem;\n font-size: 0.75rem;\n}\n\n.p-terminal {\n background: #ffffff;\n color: rgba(0, 0, 0, 0.87);\n border: 1px solid #e0e0e0;\n padding: 0.75rem;\n}\n.p-terminal .p-terminal-input {\n font-size: 1rem;\n font-family: Roboto, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;\n}\n\n.p-accordion .p-accordion-tab {\n box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);\n margin-bottom: 0;\n border-radius: 0;\n position: relative;\n transition: margin-bottom 225ms;\n}\n.p-accordion .p-accordion-tab:first-child {\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n}\n.p-accordion .p-accordion-tab:last-child {\n border-bottom-left-radius: 4px;\n border-bottom-right-radius: 4px;\n}\n.p-accordion .p-accordion-tab .p-accordion-toggle-icon {\n order: 1;\n margin-left: auto;\n transition: transform 0.2s;\n}\n.p-accordion .p-accordion-tab:not(.p-accordion-tab-active) .p-accordion-header-link:focus {\n background: #f6f6f6;\n}\n.p-accordion .p-accordion-tab:not(.p-accordion-tab-active) .p-accordion-toggle-icon {\n transform: rotate(-270deg);\n}\n.p-accordion .p-accordion-tab.p-accordion-tab-active {\n margin-bottom: 1rem;\n}\n.p-accordion .p-accordion-tab.p-accordion-tab-active .p-accordion-toggle-icon {\n transform: rotate(-180deg);\n}\n.p-accordion .p-accordion-tab .p-accordion-header.p-disabled {\n opacity: 1;\n}\n.p-accordion .p-accordion-tab .p-accordion-header.p-disabled .p-accordion-header-link > * {\n opacity: 0.38;\n}\n\n.p-autocomplete.p-autocomplete-multiple .p-autocomplete-multiple-container:not(.p-disabled).p-focus {\n box-shadow: inset 0 0 0 1px #3F51B5, inset 0 0 0 1px #3F51B5, inset 0 0 0 1px #3F51B5, inset 0 0 0 1px #3F51B5;\n}\n\n.p-input-filled .p-autocomplete.p-autocomplete-multiple .p-autocomplete-multiple-container {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid transparent;\n background: #f5f5f5 no-repeat;\n background-image: linear-gradient(to bottom, #3F51B5, #3F51B5), linear-gradient(to bottom, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.38));\n background-size: 0 2px, 100% 1px;\n background-position: 50% 100%, 50% 100%;\n background-origin: border-box;\n}\n.p-input-filled .p-autocomplete.p-autocomplete-multiple .p-autocomplete-multiple-container .p-inputtext {\n background-image: none;\n background: transparent;\n}\n.p-input-filled .p-autocomplete.p-autocomplete-multiple .p-autocomplete-multiple-container:not(.p-disabled):hover {\n background-color: #ececec;\n border-color: transparent;\n background-image: linear-gradient(to bottom, #3F51B5, #3F51B5), linear-gradient(to bottom, rgba(0, 0, 0, 0.87), rgba(0, 0, 0, 0.87));\n}\n.p-input-filled .p-autocomplete.p-autocomplete-multiple .p-autocomplete-multiple-container:not(.p-disabled).p-focus, .p-input-filled .p-autocomplete.p-autocomplete-multiple .p-autocomplete-multiple-container:not(.p-disabled).p-inputwrapper-focus {\n box-shadow: none;\n background-color: #dcdcdc;\n border-color: transparent;\n background-size: 100% 2px, 100% 1px;\n}\n.p-input-filled .p-autocomplete.p-autocomplete-multiple .p-autocomplete-multiple-container .p-inputtext:enabled:hover, .p-input-filled .p-autocomplete.p-autocomplete-multiple .p-autocomplete-multiple-container .p-inputtext:enabled:focus {\n background-image: none;\n background: transparent;\n}\n\n.p-float-label .p-autocomplete-multiple-container .p-autocomplete-token {\n padding: 0.25rem 1rem;\n}\n\n.p-input-filled .p-float-label .p-autocomplete .p-autocomplete-multiple-container .p-autocomplete-token {\n padding-top: 0;\n padding-bottom: 0;\n}\n.p-input-filled .p-float-label .p-autocomplete .p-autocomplete-multiple-container .p-autocomplete-token .p-autocomplete-token-icon {\n font-size: 75%;\n}\n.p-input-filled .p-float-label .p-autocomplete .p-autocomplete-multiple-container .p-autocomplete-input-token {\n padding: 0;\n}\n.p-input-filled .p-autocomplete.p-invalid > .p-inputtext {\n border-color: transparent;\n background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);\n}\n.p-input-filled .p-autocomplete.p-invalid > .p-inputtext:enabled:hover {\n border-color: transparent;\n background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);\n}\n.p-input-filled .p-autocomplete.p-invalid > .p-inputtext:enabled:focus {\n box-shadow: none;\n border-color: transparent;\n}\n.p-input-filled .p-autocomplete.p-invalid > .p-autocomplete-multiple-container {\n border-color: transparent;\n background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);\n}\n.p-input-filled .p-autocomplete.p-invalid > .p-autocomplete-multiple-container:not(.p-disabled):hover {\n background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);\n}\n.p-input-filled .p-autocomplete.p-invalid > .p-autocomplete-multiple-container:not(.p-disabled).p-focus, .p-input-filled .p-autocomplete.p-invalid > .p-autocomplete-multiple-container:not(.p-disabled).p-inputwrapper-focus {\n box-shadow: none;\n background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);\n}\n\n.p-autocomplete.p-invalid > .p-inputtext:enabled:focus {\n box-shadow: inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020;\n}\n.p-autocomplete.p-invalid > .p-autocomplete-multiple-container:not(.p-disabled).p-focus {\n box-shadow: inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020;\n}\n\n.p-breadcrumb .p-menuitem-link {\n padding: 0.25rem 0.5rem;\n}\n.p-breadcrumb .p-menuitem-link:focus {\n background: rgba(0, 0, 0, 0.12);\n}\n\n.p-button {\n font-weight: 500;\n min-width: 4rem;\n}\n.p-button.p-button-icon-only {\n min-width: auto;\n}\n.p-button:enabled:focus {\n background: rgba(63, 81, 181, 0.76);\n}\n.p-button:enabled:active {\n background: rgba(63, 81, 181, 0.68);\n}\n.p-button .p-ink {\n background-color: rgba(255, 255, 255, 0.32);\n}\n.p-button.p-button-text:enabled:focus, .p-button.p-button-outlined:enabled:focus {\n background: rgba(63, 81, 181, 0.12);\n}\n.p-button.p-button-text:enabled:active, .p-button.p-button-outlined:enabled:active {\n background: rgba(63, 81, 181, 0.16);\n}\n.p-button.p-button-text .p-ink, .p-button.p-button-outlined .p-ink {\n background-color: rgba(63, 81, 181, 0.16);\n}\n.p-button.p-button-outlined {\n box-shadow: inset 0 0 0 1px;\n}\n.p-button.p-button-outlined:enabled:focus {\n box-shadow: inset 0 0 0 1px;\n}\n.p-button.p-button-outlined:enabled:active {\n box-shadow: inset 0 0 0 1px;\n}\n.p-button:disabled {\n background-color: rgba(0, 0, 0, 0.12) !important;\n color: rgba(0, 0, 0, 0.38) !important;\n opacity: 1;\n}\n.p-button:disabled.p-button-text {\n background-color: transparent !important;\n color: rgba(0, 0, 0, 0.38) !important;\n}\n.p-button:disabled.p-button-outlined {\n background-color: transparent !important;\n color: rgba(0, 0, 0, 0.38) !important;\n border-color: rgba(0, 0, 0, 0.38) !important;\n}\n.p-button.p-button-raised:enabled:focus {\n box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);\n}\n\n.p-button.p-button-secondary:enabled:focus, .p-buttonset.p-button-secondary > .p-button:enabled:focus, .p-splitbutton.p-button-secondary > .p-button:enabled:focus {\n background: rgba(255, 64, 129, 0.76);\n}\n.p-button.p-button-secondary:enabled:active, .p-buttonset.p-button-secondary > .p-button:enabled:active, .p-splitbutton.p-button-secondary > .p-button:enabled:active {\n background: rgba(255, 64, 129, 0.68);\n}\n.p-button.p-button-secondary.p-button-text:enabled:focus, .p-button.p-button-secondary.p-button-outlined:enabled:focus, .p-buttonset.p-button-secondary > .p-button.p-button-text:enabled:focus, .p-buttonset.p-button-secondary > .p-button.p-button-outlined:enabled:focus, .p-splitbutton.p-button-secondary > .p-button.p-button-text:enabled:focus, .p-splitbutton.p-button-secondary > .p-button.p-button-outlined:enabled:focus {\n background: rgba(255, 64, 129, 0.12);\n}\n.p-button.p-button-secondary.p-button-text:enabled:active, .p-button.p-button-secondary.p-button-outlined:enabled:active, .p-buttonset.p-button-secondary > .p-button.p-button-text:enabled:active, .p-buttonset.p-button-secondary > .p-button.p-button-outlined:enabled:active, .p-splitbutton.p-button-secondary > .p-button.p-button-text:enabled:active, .p-splitbutton.p-button-secondary > .p-button.p-button-outlined:enabled:active {\n background: rgba(255, 64, 129, 0.16);\n}\n.p-button.p-button-secondary.p-button-text .p-ink, .p-button.p-button-secondary.p-button-outlined .p-ink, .p-buttonset.p-button-secondary > .p-button.p-button-text .p-ink, .p-buttonset.p-button-secondary > .p-button.p-button-outlined .p-ink, .p-splitbutton.p-button-secondary > .p-button.p-button-text .p-ink, .p-splitbutton.p-button-secondary > .p-button.p-button-outlined .p-ink {\n background-color: rgba(255, 64, 129, 0.16);\n}\n\n.p-button.p-button-info:enabled:focus, .p-buttonset.p-button-info > .p-button:enabled:focus, .p-splitbutton.p-button-info > .p-button:enabled:focus {\n background: rgba(33, 150, 243, 0.76);\n}\n.p-button.p-button-info:enabled:active, .p-buttonset.p-button-info > .p-button:enabled:active, .p-splitbutton.p-button-info > .p-button:enabled:active {\n background: rgba(33, 150, 243, 0.68);\n}\n.p-button.p-button-info.p-button-text:enabled:focus, .p-button.p-button-info.p-button-outlined:enabled:focus, .p-buttonset.p-button-info > .p-button.p-button-text:enabled:focus, .p-buttonset.p-button-info > .p-button.p-button-outlined:enabled:focus, .p-splitbutton.p-button-info > .p-button.p-button-text:enabled:focus, .p-splitbutton.p-button-info > .p-button.p-button-outlined:enabled:focus {\n background: rgba(33, 150, 243, 0.12);\n}\n.p-button.p-button-info.p-button-text:enabled:active, .p-button.p-button-info.p-button-outlined:enabled:active, .p-buttonset.p-button-info > .p-button.p-button-text:enabled:active, .p-buttonset.p-button-info > .p-button.p-button-outlined:enabled:active, .p-splitbutton.p-button-info > .p-button.p-button-text:enabled:active, .p-splitbutton.p-button-info > .p-button.p-button-outlined:enabled:active {\n background: rgba(33, 150, 243, 0.16);\n}\n.p-button.p-button-info.p-button-text .p-ink, .p-button.p-button-info.p-button-outlined .p-ink, .p-buttonset.p-button-info > .p-button.p-button-text .p-ink, .p-buttonset.p-button-info > .p-button.p-button-outlined .p-ink, .p-splitbutton.p-button-info > .p-button.p-button-text .p-ink, .p-splitbutton.p-button-info > .p-button.p-button-outlined .p-ink {\n background-color: rgba(33, 150, 243, 0.16);\n}\n\n.p-button.p-button-success:enabled:focus, .p-buttonset.p-button-success > .p-button:enabled:focus, .p-splitbutton.p-button-success > .p-button:enabled:focus {\n background: rgba(104, 159, 56, 0.76);\n}\n.p-button.p-button-success:enabled:active, .p-buttonset.p-button-success > .p-button:enabled:active, .p-splitbutton.p-button-success > .p-button:enabled:active {\n background: rgba(104, 159, 56, 0.68);\n}\n.p-button.p-button-success.p-button-text:enabled:focus, .p-button.p-button-success.p-button-outlined:enabled:focus, .p-buttonset.p-button-success > .p-button.p-button-text:enabled:focus, .p-buttonset.p-button-success > .p-button.p-button-outlined:enabled:focus, .p-splitbutton.p-button-success > .p-button.p-button-text:enabled:focus, .p-splitbutton.p-button-success > .p-button.p-button-outlined:enabled:focus {\n background: rgba(104, 159, 56, 0.12);\n}\n.p-button.p-button-success.p-button-text:enabled:active, .p-button.p-button-success.p-button-outlined:enabled:active, .p-buttonset.p-button-success > .p-button.p-button-text:enabled:active, .p-buttonset.p-button-success > .p-button.p-button-outlined:enabled:active, .p-splitbutton.p-button-success > .p-button.p-button-text:enabled:active, .p-splitbutton.p-button-success > .p-button.p-button-outlined:enabled:active {\n background: rgba(104, 159, 56, 0.16);\n}\n.p-button.p-button-success.p-button-text .p-ink, .p-button.p-button-success.p-button-outlined .p-ink, .p-buttonset.p-button-success > .p-button.p-button-text .p-ink, .p-buttonset.p-button-success > .p-button.p-button-outlined .p-ink, .p-splitbutton.p-button-success > .p-button.p-button-text .p-ink, .p-splitbutton.p-button-success > .p-button.p-button-outlined .p-ink {\n background-color: rgba(104, 159, 56, 0.16);\n}\n\n.p-button.p-button-warning:enabled:focus, .p-buttonset.p-button-warning > .p-button:enabled:focus, .p-splitbutton.p-button-warning > .p-button:enabled:focus {\n background: rgba(251, 192, 45, 0.76);\n}\n.p-button.p-button-warning:enabled:active, .p-buttonset.p-button-warning > .p-button:enabled:active, .p-splitbutton.p-button-warning > .p-button:enabled:active {\n background: rgba(251, 192, 45, 0.68);\n}\n.p-button.p-button-warning.p-button-text:enabled:focus, .p-button.p-button-warning.p-button-outlined:enabled:focus, .p-buttonset.p-button-warning > .p-button.p-button-text:enabled:focus, .p-buttonset.p-button-warning > .p-button.p-button-outlined:enabled:focus, .p-splitbutton.p-button-warning > .p-button.p-button-text:enabled:focus, .p-splitbutton.p-button-warning > .p-button.p-button-outlined:enabled:focus {\n background: rgba(251, 192, 45, 0.12);\n}\n.p-button.p-button-warning.p-button-text:enabled:active, .p-button.p-button-warning.p-button-outlined:enabled:active, .p-buttonset.p-button-warning > .p-button.p-button-text:enabled:active, .p-buttonset.p-button-warning > .p-button.p-button-outlined:enabled:active, .p-splitbutton.p-button-warning > .p-button.p-button-text:enabled:active, .p-splitbutton.p-button-warning > .p-button.p-button-outlined:enabled:active {\n background: rgba(251, 192, 45, 0.16);\n}\n.p-button.p-button-warning.p-button-text .p-ink, .p-button.p-button-warning.p-button-outlined .p-ink, .p-buttonset.p-button-warning > .p-button.p-button-text .p-ink, .p-buttonset.p-button-warning > .p-button.p-button-outlined .p-ink, .p-splitbutton.p-button-warning > .p-button.p-button-text .p-ink, .p-splitbutton.p-button-warning > .p-button.p-button-outlined .p-ink {\n background-color: rgba(251, 192, 45, 0.16);\n}\n\n.p-button.p-button-help:enabled:focus, .p-buttonset.p-button-help > .p-button:enabled:focus, .p-splitbutton.p-button-help > .p-button:enabled:focus {\n background: rgba(156, 39, 176, 0.76);\n}\n.p-button.p-button-help:enabled:active, .p-buttonset.p-button-help > .p-button:enabled:active, .p-splitbutton.p-button-help > .p-button:enabled:active {\n background: rgba(156, 39, 176, 0.68);\n}\n.p-button.p-button-help.p-button-text:enabled:focus, .p-button.p-button-help.p-button-outlined:enabled:focus, .p-buttonset.p-button-help > .p-button.p-button-text:enabled:focus, .p-buttonset.p-button-help > .p-button.p-button-outlined:enabled:focus, .p-splitbutton.p-button-help > .p-button.p-button-text:enabled:focus, .p-splitbutton.p-button-help > .p-button.p-button-outlined:enabled:focus {\n background: rgba(156, 39, 176, 0.12);\n}\n.p-button.p-button-help.p-button-text:enabled:active, .p-button.p-button-help.p-button-outlined:enabled:active, .p-buttonset.p-button-help > .p-button.p-button-text:enabled:active, .p-buttonset.p-button-help > .p-button.p-button-outlined:enabled:active, .p-splitbutton.p-button-help > .p-button.p-button-text:enabled:active, .p-splitbutton.p-button-help > .p-button.p-button-outlined:enabled:active {\n background: rgba(156, 39, 176, 0.16);\n}\n.p-button.p-button-help.p-button-text .p-ink, .p-button.p-button-help.p-button-outlined .p-ink, .p-buttonset.p-button-help > .p-button.p-button-text .p-ink, .p-buttonset.p-button-help > .p-button.p-button-outlined .p-ink, .p-splitbutton.p-button-help > .p-button.p-button-text .p-ink, .p-splitbutton.p-button-help > .p-button.p-button-outlined .p-ink {\n background-color: rgba(156, 39, 176, 0.16);\n}\n\n.p-button.p-button-danger:enabled:focus, .p-buttonset.p-button-danger > .p-button:enabled:focus, .p-splitbutton.p-button-danger > .p-button:enabled:focus {\n background: rgba(211, 47, 47, 0.76);\n}\n.p-button.p-button-danger:enabled:active, .p-buttonset.p-button-danger > .p-button:enabled:active, .p-splitbutton.p-button-danger > .p-button:enabled:active {\n background: rgba(211, 47, 47, 0.68);\n}\n.p-button.p-button-danger.p-button-text:enabled:focus, .p-button.p-button-danger.p-button-outlined:enabled:focus, .p-buttonset.p-button-danger > .p-button.p-button-text:enabled:focus, .p-buttonset.p-button-danger > .p-button.p-button-outlined:enabled:focus, .p-splitbutton.p-button-danger > .p-button.p-button-text:enabled:focus, .p-splitbutton.p-button-danger > .p-button.p-button-outlined:enabled:focus {\n background: rgba(211, 47, 47, 0.12);\n}\n.p-button.p-button-danger.p-button-text:enabled:active, .p-button.p-button-danger.p-button-outlined:enabled:active, .p-buttonset.p-button-danger > .p-button.p-button-text:enabled:active, .p-buttonset.p-button-danger > .p-button.p-button-outlined:enabled:active, .p-splitbutton.p-button-danger > .p-button.p-button-text:enabled:active, .p-splitbutton.p-button-danger > .p-button.p-button-outlined:enabled:active {\n background: rgba(211, 47, 47, 0.16);\n}\n.p-button.p-button-danger.p-button-text .p-ink, .p-button.p-button-danger.p-button-outlined .p-ink, .p-buttonset.p-button-danger > .p-button.p-button-text .p-ink, .p-buttonset.p-button-danger > .p-button.p-button-outlined .p-ink, .p-splitbutton.p-button-danger > .p-button.p-button-text .p-ink, .p-splitbutton.p-button-danger > .p-button.p-button-outlined .p-ink {\n background-color: rgba(211, 47, 47, 0.16);\n}\n\n.p-calendar-w-btn {\n border: 1px solid rgba(0, 0, 0, 0.38);\n background: #ffffff;\n border-radius: 4px;\n transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);\n}\n.p-calendar-w-btn .p-inputtext {\n background-image: none;\n background-color: transparent;\n border: 0 none;\n}\n.p-calendar-w-btn .p-inputtext:enabled:focus {\n box-shadow: none;\n}\n.p-calendar-w-btn .p-datepicker-trigger.p-button {\n background-color: transparent;\n border: 0 none;\n}\n.p-calendar-w-btn .p-datepicker-trigger.p-button span {\n color: rgba(0, 0, 0, 0.6);\n}\n.p-calendar-w-btn .p-datepicker-trigger.p-button:enabled:hover {\n background: rgba(0, 0, 0, 0.04);\n}\n.p-calendar-w-btn .p-datepicker-trigger.p-button:enabled:active, .p-calendar-w-btn .p-datepicker-trigger.p-button:focus {\n background: rgba(0, 0, 0, 0.12);\n}\n.p-calendar-w-btn .p-datepicker-trigger.p-button:disabled {\n background-color: transparent !important;\n}\n.p-calendar-w-btn:not(.p-calendar-disabled):hover {\n border-color: rgba(0, 0, 0, 0.87);\n}\n.p-calendar-w-btn:not(.p-calendar-disabled).p-inputwrapper-focus {\n border-color: #3F51B5;\n box-shadow: inset 0 0 0 1px #3F51B5, inset 0 0 0 1px #3F51B5, inset 0 0 0 1px #3F51B5, inset 0 0 0 1px #3F51B5;\n}\n.p-calendar-w-btn.p-calendar-disabled {\n opacity: 0.38;\n}\n.p-calendar-w-btn.p-calendar-disabled .p-inputtext {\n opacity: 1;\n}\n\n.p-datepicker .p-datepicker-header {\n border-bottom: 0 none;\n}\n.p-datepicker .p-datepicker-header .p-datepicker-title {\n margin: 0 auto 0 0;\n order: 1;\n}\n.p-datepicker .p-datepicker-header .p-datepicker-prev {\n order: 2;\n}\n.p-datepicker .p-datepicker-header .p-datepicker-next {\n order: 3;\n}\n.p-datepicker table th {\n border-bottom: 1px solid rgba(0, 0, 0, 0.12);\n color: rgba(0, 0, 0, 0.38);\n font-weight: 400;\n font-size: 0.875rem;\n}\n.p-datepicker table td.p-datepicker-today > span {\n box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.38);\n}\n.p-datepicker table td.p-datepicker-today.p-highlight {\n box-shadow: 0 0 0 1px rgba(63, 81, 181, 0.12);\n}\n\n.p-calendar.p-invalid .p-inputtext:enabled:focus {\n box-shadow: inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020;\n}\n.p-calendar.p-invalid.p-calendar-w-btn {\n border-color: #B00020;\n}\n.p-calendar.p-invalid.p-calendar-w-btn .p-inputtext:enabled:focus {\n box-shadow: none;\n}\n.p-calendar.p-invalid.p-calendar-w-btn:not(.p-disabled).p-inputwrapper-focus {\n box-shadow: inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020;\n}\n\n.p-input-filled .p-calendar-w-btn {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid transparent;\n background: #f5f5f5 no-repeat;\n background-image: linear-gradient(to bottom, #3F51B5, #3F51B5), linear-gradient(to bottom, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.38));\n background-size: 0 2px, 100% 1px;\n background-position: 50% 100%, 50% 100%;\n background-origin: border-box;\n}\n.p-input-filled .p-calendar-w-btn .p-inputtext {\n background-image: none;\n background: transparent;\n}\n.p-input-filled .p-calendar-w-btn:not(.p-calendar-disabled):not(.p-disabled):hover {\n background-color: #ececec;\n border-color: transparent;\n background-image: linear-gradient(to bottom, #3F51B5, #3F51B5), linear-gradient(to bottom, rgba(0, 0, 0, 0.87), rgba(0, 0, 0, 0.87));\n}\n.p-input-filled .p-calendar-w-btn:not(.p-calendar-disabled):not(.p-disabled).p-focus, .p-input-filled .p-calendar-w-btn:not(.p-calendar-disabled):not(.p-disabled).p-inputwrapper-focus {\n box-shadow: none;\n background-color: #dcdcdc;\n border-color: transparent;\n background-size: 100% 2px, 100% 1px;\n}\n.p-input-filled .p-calendar-w-btn:not(.p-calendar-disabled) .p-inputtext:enabled:hover, .p-input-filled .p-calendar-w-btn:not(.p-calendar-disabled) .p-inputtext:enabled:focus {\n background-image: none;\n background: transparent;\n}\n.p-input-filled .p-calendar-w-btn .p-inputtext {\n border: 0 none;\n}\n.p-input-filled .p-calendar.p-invalid .p-inputtext {\n border-color: transparent;\n background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);\n}\n.p-input-filled .p-calendar.p-invalid .p-inputtext:enabled:hover {\n border-color: transparent;\n background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);\n}\n.p-input-filled .p-calendar.p-invalid .p-inputtext:enabled:focus {\n box-shadow: none;\n border-color: transparent;\n}\n.p-input-filled .p-calendar.p-invalid.p-calendar-w-btn {\n border-color: transparent;\n background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);\n}\n.p-input-filled .p-calendar.p-invalid.p-calendar-w-btn:not(.p-disabled):hover {\n background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);\n}\n.p-input-filled .p-calendar.p-invalid.p-calendar-w-btn:not(.p-disabled).p-focus, .p-input-filled .p-calendar.p-invalid.p-calendar-w-btn:not(.p-disabled).p-inputwrapper-focus {\n box-shadow: none;\n background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);\n}\n.p-input-filled .p-calendar.p-invalid.p-calendar-w-btn .p-inputtext,\n.p-input-filled .p-calendar.p-invalid.p-calendar-w-btn .p-inputtext:enabled:hover,\n.p-input-filled .p-calendar.p-invalid.p-calendar-w-btn .p-inputtext:enabled:focus {\n border: 0 none;\n background-image: none;\n}\n\n.p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {\n background: #ff4081;\n color: #ffffff;\n}\n\n.p-cascadeselect .p-cascadeselect-label, .p-cascadeselect .p-dropdown-trigger {\n background-image: none;\n background: transparent;\n}\n.p-cascadeselect .p-cascadeselect-label {\n border: 0 none;\n}\n.p-cascadeselect:not(.p-disabled).p-focus {\n box-shadow: inset 0 0 0 1px #3F51B5, inset 0 0 0 1px #3F51B5, inset 0 0 0 1px #3F51B5, inset 0 0 0 1px #3F51B5;\n}\n\n.p-cascadeselect-item-content .p-ink {\n background-color: rgba(63, 81, 181, 0.16);\n}\n\n.p-input-filled .p-cascadeselect {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid transparent;\n background: #f5f5f5 no-repeat;\n background-image: linear-gradient(to bottom, #3F51B5, #3F51B5), linear-gradient(to bottom, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.38));\n background-size: 0 2px, 100% 1px;\n background-position: 50% 100%, 50% 100%;\n background-origin: border-box;\n}\n.p-input-filled .p-cascadeselect .p-inputtext {\n background-image: none;\n background: transparent;\n}\n.p-input-filled .p-cascadeselect:not(.p-disabled):hover {\n background-color: #ececec;\n border-color: transparent;\n background-image: linear-gradient(to bottom, #3F51B5, #3F51B5), linear-gradient(to bottom, rgba(0, 0, 0, 0.87), rgba(0, 0, 0, 0.87));\n}\n.p-input-filled .p-cascadeselect:not(.p-disabled).p-focus, .p-input-filled .p-cascadeselect:not(.p-disabled).p-inputwrapper-focus {\n box-shadow: none;\n background-color: #dcdcdc;\n border-color: transparent;\n background-size: 100% 2px, 100% 1px;\n}\n.p-input-filled .p-cascadeselect .p-inputtext:enabled:hover, .p-input-filled .p-cascadeselect .p-inputtext:enabled:focus {\n background-image: none;\n background: transparent;\n}\n.p-input-filled .p-cascadeselect .p-cascadeselect-label:hover {\n background-image: none;\n background: transparent;\n}\n\n.p-input-filled .p-float-label .p-cascadeselect .p-cascadeselect-label {\n padding-top: 1.25rem;\n padding-bottom: 0.25rem;\n}\n.p-input-filled .p-float-label .p-inputwrapper-filled.p-cascadeselect .p-cascadeselect-label {\n padding-top: 1.25rem;\n padding-bottom: 0.25rem;\n}\n.p-input-filled .p-cascadeselect.p-invalid {\n border-color: transparent;\n background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);\n}\n.p-input-filled .p-cascadeselect.p-invalid:not(.p-disabled):hover {\n background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);\n}\n.p-input-filled .p-cascadeselect.p-invalid:not(.p-disabled).p-focus, .p-input-filled .p-cascadeselect.p-invalid:not(.p-disabled).p-inputwrapper-focus {\n box-shadow: none;\n background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);\n}\n\n.p-cascadeselect.p-invalid:not(.p-disabled).p-focus {\n box-shadow: inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020;\n}\n\n.p-checkbox {\n border-radius: 50%;\n transition: box-shadow 0.2s;\n}\n.p-checkbox .p-checkbox-box {\n border-color: #757575;\n border-radius: 2px;\n position: relative;\n}\n.p-checkbox .p-checkbox-box:not(.p-disabled):hover {\n border-color: #757575;\n}\n.p-checkbox .p-checkbox-box:not(.p-disabled).p-focus {\n border-color: #757575;\n}\n.p-checkbox .p-checkbox-box.p-highlight:not(.p-disabled).p-focus {\n border-color: #3F51B5;\n}\n.p-checkbox .p-checkbox-box.p-highlight .p-checkbox-icon.pi-check:before {\n content: \"\";\n position: absolute;\n top: 6px;\n left: 1px;\n border-right: 2px solid transparent;\n border-bottom: 2px solid transparent;\n transform: rotate(45deg);\n transform-origin: 0% 100%;\n -webkit-animation: checkbox-check 125ms 50ms linear forwards;\n animation: checkbox-check 125ms 50ms linear forwards;\n}\n.p-checkbox:not(.p-checkbox-disabled):hover {\n box-shadow: 0 0 1px 10px rgba(0, 0, 0, 0.04);\n}\n.p-checkbox:not(.p-checkbox-disabled).p-checkbox-focused {\n box-shadow: 0 0 1px 10px rgba(0, 0, 0, 0.12);\n}\n.p-checkbox.p-checkbox-checked:not(.p-checkbox-disabled):hover {\n box-shadow: 0 0 1px 10px rgba(63, 81, 181, 0.04);\n}\n.p-checkbox.p-checkbox-checked:not(.p-checkbox-disabled).p-checkbox-focused {\n box-shadow: 0 0 1px 10px rgba(63, 81, 181, 0.12);\n}\n\n.p-input-filled .p-checkbox .p-checkbox-box {\n background-color: #ffffff;\n}\n.p-input-filled .p-checkbox .p-checkbox-box:not(.p-disabled):hover {\n background-color: #ffffff;\n}\n\n@-webkit-keyframes checkbox-check {\n 0% {\n width: 0;\n height: 0;\n border-color: #ffffff;\n transform: translate3d(0, 0, 0) rotate(45deg);\n }\n 33% {\n width: 4px;\n height: 0;\n transform: translate3d(0, 0, 0) rotate(45deg);\n }\n 100% {\n width: 4px;\n height: 10px;\n border-color: #ffffff;\n transform: translate3d(0, -10px, 0) rotate(45deg);\n }\n}\n\n@keyframes checkbox-check {\n 0% {\n width: 0;\n height: 0;\n border-color: #ffffff;\n transform: translate3d(0, 0, 0) rotate(45deg);\n }\n 33% {\n width: 4px;\n height: 0;\n transform: translate3d(0, 0, 0) rotate(45deg);\n }\n 100% {\n width: 4px;\n height: 10px;\n border-color: #ffffff;\n transform: translate3d(0, -10px, 0) rotate(45deg);\n }\n}\n.p-chips .p-chips-multiple-container:not(.p-disabled).p-focus {\n box-shadow: inset 0 0 0 1px #3F51B5, inset 0 0 0 1px #3F51B5, inset 0 0 0 1px #3F51B5, inset 0 0 0 1px #3F51B5;\n}\n\n.p-input-filled .p-chips-multiple-container {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid transparent;\n background: #f5f5f5 no-repeat;\n background-image: linear-gradient(to bottom, #3F51B5, #3F51B5), linear-gradient(to bottom, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.38));\n background-size: 0 2px, 100% 1px;\n background-position: 50% 100%, 50% 100%;\n background-origin: border-box;\n}\n.p-input-filled .p-chips-multiple-container .p-inputtext {\n background-image: none;\n background: transparent;\n}\n.p-input-filled .p-chips-multiple-container:not(.p-disabled):hover {\n background-color: #ececec;\n border-color: transparent;\n background-image: linear-gradient(to bottom, #3F51B5, #3F51B5), linear-gradient(to bottom, rgba(0, 0, 0, 0.87), rgba(0, 0, 0, 0.87));\n}\n.p-input-filled .p-chips-multiple-container:not(.p-disabled).p-focus, .p-input-filled .p-chips-multiple-container:not(.p-disabled).p-inputwrapper-focus {\n box-shadow: none;\n background-color: #dcdcdc;\n border-color: transparent;\n background-size: 100% 2px, 100% 1px;\n}\n.p-input-filled .p-chips-multiple-container .p-inputtext:enabled:hover, .p-input-filled .p-chips-multiple-container .p-inputtext:enabled:focus {\n background-image: none;\n background: transparent;\n}\n\n.p-float-label .p-chips-multiple-container .p-chips-token {\n padding: 0.25rem 1rem;\n}\n\n.p-input-filled .p-float-label .p-chips .p-chips-multiple-container .p-chips-token {\n padding-top: 0;\n padding-bottom: 0;\n}\n.p-input-filled .p-float-label .p-chips .p-chips-multiple-container .p-chips-token .p-chips-token-icon {\n font-size: 75%;\n}\n.p-input-filled .p-float-label .p-chips .p-chips-multiple-container .p-chips-input-token {\n padding: 0;\n}\n.p-input-filled .p-chips.p-invalid .p-chips-multiple-container {\n border-color: transparent;\n background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);\n}\n.p-input-filled .p-chips.p-invalid .p-chips-multiple-container:not(.p-disabled):hover {\n background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);\n}\n.p-input-filled .p-chips.p-invalid .p-chips-multiple-container:not(.p-disabled).p-focus, .p-input-filled .p-chips.p-invalid .p-chips-multiple-container:not(.p-disabled).p-inputwrapper-focus {\n box-shadow: none;\n background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);\n}\n\n.p-chips.p-invalid .p-chips-multiple-container:not(.p-disabled).p-focus {\n box-shadow: inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020;\n}\n\n.p-datatable .p-sortable-column {\n outline: 0 none;\n}\n.p-datatable .p-sortable-column:focus {\n background-color: rgba(0, 0, 0, 0.03);\n}\n.p-datatable .p-datatable-tbody > tr {\n outline: 0 none;\n}\n.p-datatable .p-datatable-tbody > tr:not(.p-highlight):focus {\n background-color: rgba(0, 0, 0, 0.03);\n}\n\n.p-datatable .p-datatable-tbody > tr.p-datatable-dragpoint-top > td {\n box-shadow: inset 0 2px 0 0 #3F51B5;\n}\n.p-datatable .p-datatable-tbody > tr.p-datatable-dragpoint-bottom > td {\n box-shadow: inset 0 -2px 0 0 #3F51B5;\n}\n\n.p-dropdown .p-inputtext, .p-dropdown .p-dropdown-trigger {\n background-image: none;\n background: transparent;\n}\n.p-dropdown .p-inputtext {\n border: 0 none;\n}\n.p-dropdown:not(.p-disabled).p-focus {\n box-shadow: inset 0 0 0 1px #3F51B5, inset 0 0 0 1px #3F51B5, inset 0 0 0 1px #3F51B5, inset 0 0 0 1px #3F51B5;\n}\n\n.p-dropdown-item .p-ink {\n background-color: rgba(63, 81, 181, 0.16);\n}\n\n.p-input-filled .p-dropdown {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid transparent;\n background: #f5f5f5 no-repeat;\n background-image: linear-gradient(to bottom, #3F51B5, #3F51B5), linear-gradient(to bottom, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.38));\n background-size: 0 2px, 100% 1px;\n background-position: 50% 100%, 50% 100%;\n background-origin: border-box;\n}\n.p-input-filled .p-dropdown .p-inputtext {\n background-image: none;\n background: transparent;\n}\n.p-input-filled .p-dropdown:not(.p-disabled):hover {\n background-color: #ececec;\n border-color: transparent;\n background-image: linear-gradient(to bottom, #3F51B5, #3F51B5), linear-gradient(to bottom, rgba(0, 0, 0, 0.87), rgba(0, 0, 0, 0.87));\n}\n.p-input-filled .p-dropdown:not(.p-disabled).p-focus, .p-input-filled .p-dropdown:not(.p-disabled).p-inputwrapper-focus {\n box-shadow: none;\n background-color: #dcdcdc;\n border-color: transparent;\n background-size: 100% 2px, 100% 1px;\n}\n.p-input-filled .p-dropdown .p-inputtext:enabled:hover, .p-input-filled .p-dropdown .p-inputtext:enabled:focus {\n background-image: none;\n background: transparent;\n}\n.p-input-filled .p-dropdown .p-inputtext {\n border: 0 none;\n}\n.p-input-filled .p-dropdown.p-invalid {\n border-color: transparent;\n background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);\n}\n.p-input-filled .p-dropdown.p-invalid:not(.p-disabled):hover {\n background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);\n}\n.p-input-filled .p-dropdown.p-invalid:not(.p-disabled).p-focus, .p-input-filled .p-dropdown.p-invalid:not(.p-disabled).p-inputwrapper-focus {\n box-shadow: none;\n background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);\n}\n\n.p-dropdown.p-invalid:not(.p-disabled).p-focus {\n box-shadow: inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020;\n}\n\n.fc {\n /* FullCalendar 4 */\n /* FullCalendar 5 */\n}\n.fc.fc-unthemed .fc-toolbar .fc-button:focus {\n background: rgba(63, 81, 181, 0.76);\n}\n.fc.fc-unthemed .fc-toolbar .fc-button:active {\n background: rgba(63, 81, 181, 0.68);\n}\n.fc.fc-unthemed .fc-toolbar .fc-button-group .fc-button:focus {\n background: rgba(63, 81, 181, 0.76);\n}\n.fc.fc-unthemed .fc-toolbar .fc-button-group .fc-button:active {\n background: rgba(63, 81, 181, 0.68);\n}\n.fc.fc-unthemed .fc-toolbar .fc-button-group .fc-button.fc-dayGridMonth-button:focus, .fc.fc-unthemed .fc-toolbar .fc-button-group .fc-button.fc-timeGridWeek-button:focus, .fc.fc-unthemed .fc-toolbar .fc-button-group .fc-button.fc-timeGridDay-button:focus {\n background: #e0e0e1;\n border-color: #e0e0e1;\n}\n.fc.fc-unthemed .fc-toolbar .fc-button-group .fc-button.fc-dayGridMonth-button:focus.p-highlight, .fc.fc-unthemed .fc-toolbar .fc-button-group .fc-button.fc-timeGridWeek-button:focus.p-highlight, .fc.fc-unthemed .fc-toolbar .fc-button-group .fc-button.fc-timeGridDay-button:focus.p-highlight {\n background: #d9d8d9;\n border-color: #d9d8d9;\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button:focus {\n background: rgba(63, 81, 181, 0.76);\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button:active {\n background: rgba(63, 81, 181, 0.68);\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button-group .fc-button:focus {\n background: rgba(63, 81, 181, 0.76);\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button-group .fc-button:active {\n background: rgba(63, 81, 181, 0.68);\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button-group .fc-button.fc-dayGridMonth-button:focus, .fc.fc-theme-standard .fc-toolbar .fc-button-group .fc-button.fc-timeGridWeek-button:focus, .fc.fc-theme-standard .fc-toolbar .fc-button-group .fc-button.fc-timeGridDay-button:focus {\n background: #e0e0e1;\n border-color: #e0e0e1;\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button-group .fc-button.fc-dayGridMonth-button:focus.p-highlight, .fc.fc-theme-standard .fc-toolbar .fc-button-group .fc-button.fc-timeGridWeek-button:focus.p-highlight, .fc.fc-theme-standard .fc-toolbar .fc-button-group .fc-button.fc-timeGridDay-button:focus.p-highlight {\n background: #d9d8d9;\n border-color: #d9d8d9;\n}\n\n.p-galleria .p-galleria-indicators {\n padding: 1rem;\n}\n.p-galleria .p-galleria-indicators .p-galleria-indicator.p-highlight button {\n background: #ff4081;\n color: #ffffff;\n}\n.p-galleria.p-galleria-indicator-onitem .p-galleria-indicators .p-galleria-indicator.p-highlight button {\n background: rgba(255, 64, 129, 0.68);\n color: #ffffff;\n}\n\n.p-inputtext:enabled:focus {\n box-shadow: inset 0 0 0 1px #3F51B5, inset 0 0 0 1px #3F51B5, inset 0 0 0 1px #3F51B5, inset 0 0 0 1px #3F51B5;\n}\n.p-inputtext:enabled:focus.p-invalid {\n box-shadow: inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020;\n}\n\n.p-input-filled .p-inputtext {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid transparent;\n background: #f5f5f5 no-repeat;\n background-image: linear-gradient(to bottom, #3F51B5, #3F51B5), linear-gradient(to bottom, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.38));\n background-size: 0 2px, 100% 1px;\n background-position: 50% 100%, 50% 100%;\n background-origin: border-box;\n}\n.p-input-filled .p-inputtext:enabled:hover {\n background-color: #ececec;\n border-color: transparent;\n background-image: linear-gradient(to bottom, #3F51B5, #3F51B5), linear-gradient(to bottom, rgba(0, 0, 0, 0.87), rgba(0, 0, 0, 0.87));\n}\n.p-input-filled .p-inputtext:enabled:focus {\n box-shadow: none;\n background-color: #dcdcdc;\n border-color: transparent;\n background-size: 100% 2px, 100% 1px;\n}\n.p-input-filled .p-inputtext.p-invalid.p-component {\n border-color: transparent;\n background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);\n}\n.p-input-filled .p-inputtext.p-invalid.p-component:enabled:hover {\n border-color: transparent;\n background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);\n}\n.p-input-filled .p-inputtext.p-invalid.p-component:enabled:focus {\n box-shadow: none;\n border-color: transparent;\n}\n\n.p-input-filled .p-inputgroup .p-inputgroup-addon {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid transparent;\n background: #f5f5f5 no-repeat;\n background-image: linear-gradient(to bottom, #3F51B5, #3F51B5), linear-gradient(to bottom, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.38));\n background-size: 0 2px, 100% 1px;\n background-position: 50% 100%, 50% 100%;\n background-origin: border-box;\n}\n.p-input-filled .p-inputgroup .p-inputgroup-addon:last-child {\n border-right-color: transparent;\n}\n.p-input-filled .p-inputgroup-addon:first-child,\n.p-input-filled .p-inputgroup button:first-child,\n.p-input-filled .p-inputgroup input:first-child {\n border-bottom-left-radius: 0;\n}\n.p-input-filled .p-inputgroup .p-float-label:first-child input {\n border-bottom-left-radius: 0;\n}\n.p-input-filled .p-inputgroup-addon:last-child,\n.p-input-filled .p-inputgroup button:last-child,\n.p-input-filled .p-inputgroup input:last-child {\n border-bottom-right-radius: 0;\n}\n.p-input-filled .p-inputgroup .p-float-label:last-child input {\n border-bottom-right-radius: 0;\n}\n\n.p-inputnumber.p-invalid .p-inputtext:enabled:focus {\n box-shadow: inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020;\n}\n\n.p-input-filled .p-inputnumber.p-invalid .p-inputtext {\n border-color: transparent;\n background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);\n}\n.p-input-filled .p-inputnumber.p-invalid .p-inputtext:enabled:hover {\n border-color: transparent;\n background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);\n}\n.p-input-filled .p-inputnumber.p-invalid .p-inputtext:enabled:focus {\n box-shadow: none;\n border-color: transparent;\n}\n\n.p-inputswitch .p-inputswitch-slider:before {\n transition-property: box-shadow transform;\n box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);\n}\n.p-inputswitch:not(.p-disabled):hover .p-inputswitch-slider:before {\n box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12), 0 0 1px 10px rgba(0, 0, 0, 0.04);\n}\n.p-inputswitch.p-focus .p-inputswitch-slider:before, .p-inputswitch.p-focus:not(.p-disabled):hover .p-inputswitch-slider:before {\n box-shadow: 0 0 1px 10px rgba(0, 0, 0, 0.12), 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);\n}\n.p-inputswitch.p-inputswitch-checked:not(.p-disabled):hover .p-inputswitch-slider:before {\n box-shadow: 0 0 1px 10px rgba(63, 81, 181, 0.04), 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);\n}\n.p-inputswitch.p-inputswitch-checked.p-focus .p-inputswitch-slider:before, .p-inputswitch.p-inputswitch-checked.p-focus:not(.p-disabled):hover .p-inputswitch-slider:before {\n box-shadow: 0 0 1px 10px rgba(63, 81, 181, 0.12), 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);\n}\n\n.p-fieldset .p-fieldset-legend {\n border: 0 none;\n}\n.p-fieldset.p-fieldset-toggleable .p-fieldset-legend a:focus {\n background: rgba(0, 0, 0, 0.12);\n}\n\n.p-float-label input:focus ~ label,\n.p-float-label input.p-filled ~ label,\n.p-float-label textarea:focus ~ label,\n.p-float-label textarea.p-filled ~ label,\n.p-float-label .p-inputwrapper-focus ~ label,\n.p-float-label .p-inputwrapper-filled ~ label {\n top: -0.5rem !important;\n background-color: #ffffff;\n padding: 2px 4px;\n margin-left: -4px;\n margin-top: 0;\n}\n\n.p-float-label textarea ~ label {\n margin-top: 0;\n}\n\n.p-float-label input:focus ~ label,\n.p-float-label .p-inputwrapper-focus ~ label {\n color: #3F51B5;\n}\n\n.p-input-filled .p-float-label .p-inputtext {\n padding-top: 1.25rem;\n padding-bottom: 0.25rem;\n}\n.p-input-filled .p-float-label input:focus ~ label,\n.p-input-filled .p-float-label input.p-filled ~ label,\n.p-input-filled .p-float-label textarea:focus ~ label,\n.p-input-filled .p-float-label textarea.p-filled ~ label,\n.p-input-filled .p-float-label .p-inputwrapper-focus ~ label,\n.p-input-filled .p-float-label .p-inputwrapper-filled ~ label {\n top: 0.25rem !important;\n margin-top: 0;\n background: transparent;\n}\n\n.p-listbox .p-listbox-list .p-listbox-item .p-ink {\n background-color: rgba(63, 81, 181, 0.16);\n}\n.p-listbox .p-listbox-list .p-listbox-item:focus {\n background: rgba(0, 0, 0, 0.12);\n}\n.p-listbox .p-listbox-list .p-listbox-item:focus.p-highlight {\n background: rgba(63, 81, 181, 0.24);\n}\n\n.p-megamenu .p-menuitem .p-menuitem-link:focus {\n background: rgba(0, 0, 0, 0.12);\n}\n\n.p-menu .p-menuitem .p-menuitem-link:focus {\n background: rgba(0, 0, 0, 0.12);\n}\n\n.p-menubar .p-menuitem .p-menuitem-link:focus {\n background: rgba(0, 0, 0, 0.12);\n}\n\n.p-multiselect .p-multiselect-label, .p-multiselect .p-multiselect-trigger {\n background-image: none;\n background: transparent;\n}\n.p-multiselect .p-multiselect-label {\n border: 0 none;\n}\n.p-multiselect:not(.p-disabled).p-focus {\n box-shadow: inset 0 0 0 1px #3F51B5, inset 0 0 0 1px #3F51B5, inset 0 0 0 1px #3F51B5, inset 0 0 0 1px #3F51B5;\n}\n\n.p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-ink {\n background-color: rgba(63, 81, 181, 0.16);\n}\n.p-multiselect-panel .p-multiselect-items .p-multiselect-item:focus {\n background: rgba(0, 0, 0, 0.12);\n}\n.p-multiselect-panel .p-multiselect-items .p-multiselect-item:focus.p-highlight {\n background: rgba(63, 81, 181, 0.24);\n}\n.p-multiselect-panel .p-multiselect-close:focus {\n background: rgba(0, 0, 0, 0.12);\n}\n\n.p-input-filled .p-multiselect {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid transparent;\n background: #f5f5f5 no-repeat;\n background-image: linear-gradient(to bottom, #3F51B5, #3F51B5), linear-gradient(to bottom, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.38));\n background-size: 0 2px, 100% 1px;\n background-position: 50% 100%, 50% 100%;\n background-origin: border-box;\n}\n.p-input-filled .p-multiselect .p-inputtext {\n background-image: none;\n background: transparent;\n}\n.p-input-filled .p-multiselect:not(.p-disabled):hover {\n background-color: #ececec;\n border-color: transparent;\n background-image: linear-gradient(to bottom, #3F51B5, #3F51B5), linear-gradient(to bottom, rgba(0, 0, 0, 0.87), rgba(0, 0, 0, 0.87));\n}\n.p-input-filled .p-multiselect:not(.p-disabled).p-focus, .p-input-filled .p-multiselect:not(.p-disabled).p-inputwrapper-focus {\n box-shadow: none;\n background-color: #dcdcdc;\n border-color: transparent;\n background-size: 100% 2px, 100% 1px;\n}\n.p-input-filled .p-multiselect .p-inputtext:enabled:hover, .p-input-filled .p-multiselect .p-inputtext:enabled:focus {\n background-image: none;\n background: transparent;\n}\n.p-input-filled .p-multiselect .p-multiselect-label:hover {\n background-image: none;\n background: transparent;\n}\n\n.p-float-label .p-multiselect-label .p-multiselect-token {\n padding: 0.25rem 1rem;\n margin-top: 0.25rem;\n margin-bottom: 0.25rem;\n}\n\n.p-input-filled .p-float-label .p-multiselect .p-multiselect-label {\n padding-top: 1.25rem;\n padding-bottom: 0.25rem;\n}\n.p-input-filled .p-float-label .p-inputwrapper-filled.p-multiselect .p-multiselect-label {\n padding-top: 1.25rem;\n padding-bottom: 0.25rem;\n}\n.p-input-filled .p-float-label .p-inputwrapper-filled.p-multiselect.p-multiselect-chip .p-multiselect-token {\n padding-top: 0;\n padding-bottom: 0;\n margin-top: 0;\n margin-bottom: 0;\n}\n.p-input-filled .p-float-label .p-inputwrapper-filled.p-multiselect.p-multiselect-chip .p-multiselect-token .p-multiselect-token-icon {\n font-size: 75%;\n}\n.p-input-filled .p-multiselect.p-invalid {\n border-color: transparent;\n background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);\n}\n.p-input-filled .p-multiselect.p-invalid:not(.p-disabled):hover {\n background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);\n}\n.p-input-filled .p-multiselect.p-invalid:not(.p-disabled).p-focus, .p-input-filled .p-multiselect.p-invalid:not(.p-disabled).p-inputwrapper-focus {\n box-shadow: none;\n background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);\n}\n\n.p-multiselect.p-invalid:not(.p-disabled).p-focus {\n box-shadow: inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020;\n}\n\n.p-orderlist .p-orderlist-list .p-orderlist-item:focus {\n background: rgba(0, 0, 0, 0.12);\n}\n.p-orderlist .p-orderlist-list .p-orderlist-item:focus.p-highlight {\n background: rgba(63, 81, 181, 0.24);\n}\n\n.p-overlaypanel .p-overlaypanel-content {\n padding: 1.5rem;\n}\n\n.p-paginator {\n justify-content: flex-end;\n}\n.p-paginator .p-paginator-element:focus {\n background: rgba(0, 0, 0, 0.12);\n}\n.p-paginator .p-paginator-element:focus.p-highlight {\n background: rgba(63, 81, 181, 0.24);\n}\n\n.p-input-filled .p-password.p-invalid > .p-inputtext {\n border-color: transparent;\n background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);\n}\n.p-input-filled .p-password.p-invalid > .p-inputtext:enabled:hover {\n border-color: transparent;\n background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);\n}\n.p-input-filled .p-password.p-invalid > .p-inputtext:enabled:focus {\n box-shadow: none;\n border-color: transparent;\n}\n\n.p-password.p-invalid > .p-inputtext:enabled:focus {\n box-shadow: inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020;\n}\n\n.p-panel {\n border-radius: 4px;\n box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12);\n}\n.p-panel .p-panel-header,\n.p-panel .p-panel-content,\n.p-panel .p-panel-footer {\n border: 0 none;\n}\n.p-panel .p-panel-content {\n padding-top: 0;\n}\n.p-panel .p-panel-title {\n font-size: 1.25rem;\n}\n.p-panel .p-panel-header-icon:focus {\n background: rgba(0, 0, 0, 0.12);\n}\n\n.p-panelmenu .p-panelmenu-panel {\n box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);\n margin-bottom: 0;\n border-radius: 0;\n position: relative;\n transition: margin-bottom 225ms;\n}\n.p-panelmenu .p-panelmenu-panel:first-child {\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n}\n.p-panelmenu .p-panelmenu-panel:last-child {\n border-bottom-left-radius: 4px;\n border-bottom-right-radius: 4px;\n}\n.p-panelmenu .p-panelmenu-panel .p-panelmenu-header .p-panelmenu-icon {\n order: 1;\n margin-left: auto;\n margin-right: 0;\n}\n.p-panelmenu .p-panelmenu-panel .p-panelmenu-header.p-disabled {\n opacity: 1;\n}\n.p-panelmenu .p-panelmenu-panel .p-panelmenu-header.p-disabled .p-panelmenu-header-link > * {\n opacity: 0.38;\n}\n.p-panelmenu .p-panelmenu-panel .p-panelmenu-header .p-panelmenu-header-link:focus {\n background: #f6f6f6;\n}\n.p-panelmenu .p-panelmenu-panel .p-menuitem .p-menuitem-link:focus {\n background: rgba(0, 0, 0, 0.12);\n}\n\n.p-picklist .p-picklist-list .p-picklist-item:focus {\n background: rgba(0, 0, 0, 0.12);\n}\n.p-picklist .p-picklist-list .p-picklist-item:focus.p-highlight {\n background: rgba(63, 81, 181, 0.24);\n}\n\n.p-progressbar {\n border-radius: 0;\n}\n.p-progressbar.p-progressbar-determinate .p-progressbar-label {\n display: none;\n}\n\n.p-rating .p-rating-icon {\n border-radius: 50%;\n width: 2rem;\n height: 2rem;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n margin-left: 0;\n}\n.p-rating .p-rating-icon:focus {\n background: rgba(63, 81, 181, 0.12);\n}\n.p-rating .p-rating-icon.p-rating-cancel:focus {\n background: rgba(176, 0, 32, 0.12);\n}\n.p-rating:not(.p-disabled):not(.p-readonly) .p-rating-icon:hover {\n background-color: rgba(0, 0, 0, 0.04);\n}\n.p-rating:not(.p-disabled):not(.p-readonly) .p-rating-icon.p-rating-cancel:hover {\n background: rgba(176, 0, 32, 0.04);\n}\n\n.p-radiobutton {\n border-radius: 50%;\n transition: box-shadow 0.2s;\n}\n.p-radiobutton .p-radiobutton-box:not(.p-disabled):not(.p-highlight):hover {\n border: 2px solid #757575;\n}\n.p-radiobutton .p-radiobutton-box:not(.p-disabled).p-focus {\n border: 2px solid #757575;\n}\n.p-radiobutton .p-radiobutton-box.p-highlight:not(.p-disabled).p-focus {\n border-color: #3F51B5;\n}\n.p-radiobutton:not(.p-radiobutton-disabled):hover {\n box-shadow: 0 0 1px 10px rgba(0, 0, 0, 0.04);\n}\n.p-radiobutton:not(.p-radiobutton-disabled).p-radiobutton-focused {\n box-shadow: 0 0 1px 10px rgba(0, 0, 0, 0.12);\n}\n.p-radiobutton.p-radiobutton-checked:not(.p-radiobutton-disabled):hover {\n box-shadow: 0 0 1px 10px rgba(63, 81, 181, 0.04);\n}\n.p-radiobutton.p-radiobutton-checked:not(.p-radiobutton-disabled).p-radiobutton-focused {\n box-shadow: 0 0 1px 10px rgba(63, 81, 181, 0.12);\n}\n\n.p-input-filled .p-radiobutton .p-radiobutton-box {\n background-color: #ffffff;\n}\n.p-input-filled .p-radiobutton .p-radiobutton-box:not(.p-disabled):hover {\n background-color: #ffffff;\n}\n\n.p-selectbutton .p-button:focus {\n background: #e0e0e1;\n border-color: #e0e0e1;\n}\n.p-selectbutton .p-button:focus.p-highlight {\n background: #d9d8d9;\n border-color: #d9d8d9;\n}\n\n.p-slider .p-slider-handle {\n transition: transform 0.2s, box-shadow 0.2s;\n transform: scale(0.7);\n}\n.p-slider .p-slider-handle:focus {\n box-shadow: 0 0 1px 10px rgba(255, 64, 129, 0.2);\n}\n.p-slider.p-slider-sliding .p-slider-handle {\n transform: scale(1);\n}\n\n.p-splitbutton.p-button-text > .p-button:enabled:focus, .p-splitbutton.p-button-text > .p-button:not(button):not(a):not(.p-disabled):focus, .p-splitbutton.p-button-outlined > .p-button:enabled:focus, .p-splitbutton.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):focus {\n background: rgba(63, 81, 181, 0.12);\n}\n.p-splitbutton.p-button-text > .p-button:enabled:active, .p-splitbutton.p-button-text > .p-button:not(button):not(a):not(.p-disabled):active, .p-splitbutton.p-button-outlined > .p-button:enabled:active, .p-splitbutton.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(63, 81, 181, 0.16);\n}\n.p-splitbutton.p-button-outlined > .p-button {\n box-shadow: inset 0 0 0 1px;\n}\n.p-splitbutton.p-button-outlined > .p-button:enabled:focus {\n box-shadow: inset 0 0 0 1px;\n}\n.p-splitbutton.p-button-outlined > .p-button:enabled:active {\n box-shadow: inset 0 0 0 1px;\n}\n.p-splitbutton.p-button-outlined > .p-button.p-splitbutton-menubutton {\n margin-left: -1px;\n width: calc(2.25rem + 1px);\n}\n.p-splitbutton.p-disabled.p-button-text > .p-button {\n background-color: transparent !important;\n color: rgba(0, 0, 0, 0.38) !important;\n}\n.p-splitbutton.p-disabled.p-button-outlined > .p-button {\n background-color: transparent !important;\n color: rgba(0, 0, 0, 0.38) !important;\n border-color: rgba(0, 0, 0, 0.38) !important;\n}\n.p-splitbutton.p-button-raised > .p-button:enabled:focus, .p-splitbutton.p-button-raised > .p-button:not(button):not(a):not(.p-disabled):focus {\n box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);\n}\n\n.p-splitbutton.p-button-secondary.p-button-text > .p-button:enabled:focus, .p-splitbutton.p-button-secondary.p-button-text > .p-button:not(button):not(a):not(.p-disabled):focus, .p-splitbutton.p-button-secondary.p-button-outlined > .p-button:enabled:focus, .p-splitbutton.p-button-secondary.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):focus {\n background: rgba(255, 64, 129, 0.12);\n}\n.p-splitbutton.p-button-secondary.p-button-text > .p-button:enabled:active, .p-splitbutton.p-button-secondary.p-button-text > .p-button:not(button):not(a):not(.p-disabled):active, .p-splitbutton.p-button-secondary.p-button-outlined > .p-button:enabled:active, .p-splitbutton.p-button-secondary.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(255, 64, 129, 0.16);\n}\n\n.p-splitbutton.p-button-info > .p-button.p-button-text > .p-button:enabled:focus, .p-splitbutton.p-button-info > .p-button.p-button-text > .p-button:not(button):not(a):not(.p-disabled):focus, .p-splitbutton.p-button-info > .p-button.p-button-outlined > .p-button:enabled:focus, .p-splitbutton.p-button-info > .p-button.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):focus {\n background: rgba(33, 150, 243, 0.12);\n}\n.p-splitbutton.p-button-info > .p-button.p-button-text > .p-button:enabled:active, .p-splitbutton.p-button-info > .p-button.p-button-text > .p-button:not(button):not(a):not(.p-disabled):active, .p-splitbutton.p-button-info > .p-button.p-button-outlined > .p-button:enabled:active, .p-splitbutton.p-button-info > .p-button.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(33, 150, 243, 0.16);\n}\n\n.p-splitbutton.p-button-success.p-button-text > .p-button:enabled:focus, .p-splitbutton.p-button-success.p-button-text > .p-button:not(button):not(a):not(.p-disabled):focus, .p-splitbutton.p-button-success.p-button-outlined > .p-button:enabled:focus, .p-splitbutton.p-button-success.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):focus {\n background: rgba(104, 159, 56, 0.12);\n}\n.p-splitbutton.p-button-success.p-button-text > .p-button:enabled:active, .p-splitbutton.p-button-success.p-button-text > .p-button:not(button):not(a):not(.p-disabled):active, .p-splitbutton.p-button-success.p-button-outlined > .p-button:enabled:active, .p-splitbutton.p-button-success.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(104, 159, 56, 0.16);\n}\n\n.p-splitbutton.p-button-warning.p-button-text > .p-button:enabled:focus, .p-splitbutton.p-button-warning.p-button-text > .p-button:not(button):not(a):not(.p-disabled):focus, .p-splitbutton.p-button-warning.p-button-outlined > .p-button:enabled:focus, .p-splitbutton.p-button-warning.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):focus {\n background: rgba(251, 192, 45, 0.12);\n}\n.p-splitbutton.p-button-warning.p-button-text > .p-button:enabled:active, .p-splitbutton.p-button-warning.p-button-text > .p-button:not(button):not(a):not(.p-disabled):active, .p-splitbutton.p-button-warning.p-button-outlined > .p-button:enabled:active, .p-splitbutton.p-button-warning.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(251, 192, 45, 0.16);\n}\n\n.p-splitbutton.p-button-help.p-button-text > .p-button:enabled:focus, .p-splitbutton.p-button-help.p-button-text > .p-button:not(button):not(a):not(.p-disabled):focus, .p-splitbutton.p-button-help.p-button-outlined > .p-button:enabled:focus, .p-splitbutton.p-button-help.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):focus {\n background: rgba(156, 39, 176, 0.12);\n}\n.p-splitbutton.p-button-help.p-button-text > .p-button:enabled:active, .p-splitbutton.p-button-help.p-button-text > .p-button:not(button):not(a):not(.p-disabled):active, .p-splitbutton.p-button-help.p-button-outlined > .p-button:enabled:active, .p-splitbutton.p-button-help.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(156, 39, 176, 0.16);\n}\n\n.p-splitbutton.p-button-danger.p-button-text > .p-button:enabled:focus, .p-splitbutton.p-button-danger.p-button-text > .p-button:not(button):not(a):not(.p-disabled):focus, .p-splitbutton.p-button-danger.p-button-outlined > .p-button:enabled:focus, .p-splitbutton.p-button-danger.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):focus {\n background: rgba(211, 47, 47, 0.12);\n}\n.p-splitbutton.p-button-danger.p-button-text > .p-button:enabled:active, .p-splitbutton.p-button-danger.p-button-text > .p-button:not(button):not(a):not(.p-disabled):active, .p-splitbutton.p-button-danger.p-button-outlined > .p-button:enabled:active, .p-splitbutton.p-button-danger.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(211, 47, 47, 0.16);\n}\n\n.p-steps {\n padding: 1rem 0;\n}\n.p-steps .p-steps-item {\n justify-content: flex-start;\n flex-direction: row-reverse;\n align-items: center;\n}\n.p-steps .p-steps-item:before {\n position: static;\n left: auto;\n top: auto;\n margin-top: 0;\n}\n.p-steps .p-steps-item:last-child {\n flex-grow: 0;\n}\n.p-steps .p-steps-item:last-child:before {\n display: none;\n}\n.p-steps .p-steps-item .p-menuitem-link {\n flex-direction: row;\n flex: 1 1 auto;\n overflow: visible;\n padding: 1rem 0.5rem;\n}\n.p-steps .p-steps-item .p-menuitem-link .p-steps-number {\n background-color: #9e9d9e;\n color: #ffffff;\n font-size: 0.857rem;\n min-width: 1.714rem;\n height: 1.714rem;\n line-height: 1.714rem;\n}\n.p-steps .p-steps-item .p-menuitem-link .p-steps-title {\n margin: 0;\n padding-left: 0.5rem;\n}\n.p-steps .p-steps-item .p-menuitem-link:not(.p-disabled):focus {\n background: rgba(0, 0, 0, 0.12);\n}\n.p-steps .p-steps-item.p-highlight .p-steps-number {\n background-color: #3F51B5;\n color: #ffffff;\n}\n.p-steps .p-steps-item.p-highlight .p-steps-title {\n font-weight: 600;\n color: rgba(0, 0, 0, 0.87);\n}\n.p-steps .p-steps-item.p-disabled {\n opacity: 1;\n}\n\n.p-tabview .p-tabview-nav {\n position: relative;\n}\n.p-tabview .p-tabview-nav li .p-tabview-nav-link {\n transition: background-color 0.2s;\n border-radius: 0;\n}\n.p-tabview .p-tabview-nav li .p-tabview-nav-link > .p-ink {\n background-color: rgba(63, 81, 181, 0.16);\n}\n.p-tabview .p-tabview-nav li .p-tabview-nav-link:focus {\n background-color: rgba(63, 81, 181, 0.12);\n}\n.p-tabview .p-tabview-nav .p-tabview-ink-bar {\n z-index: 1;\n display: block;\n position: absolute;\n bottom: 0;\n height: 2px;\n background-color: #3F51B5;\n transition: 500ms cubic-bezier(0.35, 0, 0.25, 1);\n}\n\n.p-tieredmenu .p-menuitem-link:focus {\n background: rgba(0, 0, 0, 0.12);\n}\n\n.p-toolbar {\n border: 0 none;\n}\n\n.p-tooltip .p-tooltip-text {\n box-shadow: none;\n font-size: 0.875rem;\n}\n.p-tooltip .p-tooltip-arrow {\n display: none;\n}\n\n.p-tree .p-tree-container .p-treenode .p-treenode-content:focus {\n background: rgba(0, 0, 0, 0.12);\n}\n.p-tree .p-tree-container .p-treenode .p-treenode-content:focus.p-highlight {\n background: rgba(63, 81, 181, 0.24);\n}\n\n.p-treeselect .p-treeselect-label, .p-treeselect .p-treeselect-trigger {\n background-image: none;\n background: transparent;\n}\n.p-treeselect .p-treeselect-label {\n border: 0 none;\n}\n.p-treeselect:not(.p-disabled).p-focus {\n box-shadow: inset 0 0 0 1px #3F51B5, inset 0 0 0 1px #3F51B5, inset 0 0 0 1px #3F51B5, inset 0 0 0 1px #3F51B5;\n}\n\n.p-treeselect-item .p-ink {\n background-color: rgba(63, 81, 181, 0.16);\n}\n\n.p-input-filled .p-treeselect {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid transparent;\n background: #f5f5f5 no-repeat;\n background-image: linear-gradient(to bottom, #3F51B5, #3F51B5), linear-gradient(to bottom, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.38));\n background-size: 0 2px, 100% 1px;\n background-position: 50% 100%, 50% 100%;\n background-origin: border-box;\n}\n.p-input-filled .p-treeselect .p-inputtext {\n background-image: none;\n background: transparent;\n}\n.p-input-filled .p-treeselect:not(.p-disabled):hover {\n background-color: #ececec;\n border-color: transparent;\n background-image: linear-gradient(to bottom, #3F51B5, #3F51B5), linear-gradient(to bottom, rgba(0, 0, 0, 0.87), rgba(0, 0, 0, 0.87));\n}\n.p-input-filled .p-treeselect:not(.p-disabled).p-focus, .p-input-filled .p-treeselect:not(.p-disabled).p-inputwrapper-focus {\n box-shadow: none;\n background-color: #dcdcdc;\n border-color: transparent;\n background-size: 100% 2px, 100% 1px;\n}\n.p-input-filled .p-treeselect .p-inputtext:enabled:hover, .p-input-filled .p-treeselect .p-inputtext:enabled:focus {\n background-image: none;\n background: transparent;\n}\n.p-input-filled .p-treeselect .p-treeselect-label:hover {\n background-image: none;\n background: transparent;\n}\n\n.p-float-label .p-treeselect-label .p-treeselect-token {\n padding: 0.25rem 1rem;\n margin-top: 0.25rem;\n margin-bottom: 0.25rem;\n}\n\n.p-input-filled .p-float-label .p-treeselect .p-treeselect-label {\n padding-top: 1.25rem;\n padding-bottom: 0.25rem;\n}\n.p-input-filled .p-float-label .p-inputwrapper-filled.p-treeselect .p-treeselect-label {\n padding-top: 1.25rem;\n padding-bottom: 0.25rem;\n}\n.p-input-filled .p-float-label .p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-token {\n padding-top: 0;\n padding-bottom: 0;\n margin-top: 0;\n margin-bottom: 0;\n}\n.p-input-filled .p-float-label .p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-token .p-treeselect-token-icon {\n font-size: 75%;\n}\n.p-input-filled .p-treeselect.p-invalid {\n border-color: transparent;\n background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);\n}\n.p-input-filled .p-treeselect.p-invalid:not(.p-disabled):hover {\n background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);\n}\n.p-input-filled .p-treeselect.p-invalid:not(.p-disabled).p-focus, .p-input-filled .p-treeselect.p-invalid:not(.p-disabled).p-inputwrapper-focus {\n box-shadow: none;\n background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);\n}\n\n.p-treeselect.p-invalid:not(.p-disabled).p-focus {\n box-shadow: inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020;\n}\n\n.p-treetable .p-sortable-column {\n outline: 0 none;\n}\n.p-treetable .p-sortable-column:focus {\n background-color: rgba(0, 0, 0, 0.03);\n}\n.p-treetable .p-treetable-tbody > tr {\n outline: 0 none;\n}\n.p-treetable .p-treetable-tbody > tr:not(.p-highlight):focus {\n background-color: rgba(0, 0, 0, 0.03);\n}\n\n.p-tabmenu .p-tabmenu-nav {\n position: relative;\n}\n.p-tabmenu .p-tabmenu-nav li .p-menuitem-link {\n transition: background-color 0.2s;\n border-radius: 0;\n}\n.p-tabmenu .p-tabmenu-nav li .p-menuitem-link > .p-ink {\n background-color: rgba(63, 81, 181, 0.16);\n}\n.p-tabmenu .p-tabmenu-nav li .p-menuitem-link:focus {\n background-color: rgba(63, 81, 181, 0.12);\n}\n.p-tabmenu .p-tabmenu-nav li.p-highlight .p-menuitem-link:focus {\n background-color: rgba(63, 81, 181, 0.12);\n}\n.p-tabmenu .p-tabmenu-nav .p-tabmenu-ink-bar {\n display: block;\n position: absolute;\n bottom: 0;\n height: 2px;\n background-color: #3F51B5;\n transition: 500ms cubic-bezier(0.35, 0, 0.25, 1);\n}\n\n.p-togglebutton.p-button:focus {\n background: #e0e0e1;\n border-color: #e0e0e1;\n}\n.p-togglebutton.p-button:focus.p-highlight {\n background: #d9d8d9;\n border-color: #d9d8d9;\n}\n\n/* Customizations to the designer theme should be defined here */\n", ""]);
  19721. // Exports
  19722. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  19723. /***/ }),
  19724. /***/ "./node_modules/css-loader/dist/runtime/api.js":
  19725. /*!*****************************************************!*\
  19726. !*** ./node_modules/css-loader/dist/runtime/api.js ***!
  19727. \*****************************************************/
  19728. /***/ ((module) => {
  19729. "use strict";
  19730. /*
  19731. MIT License http://www.opensource.org/licenses/mit-license.php
  19732. Author Tobias Koppers @sokra
  19733. */
  19734. // css base code, injected by the css-loader
  19735. // eslint-disable-next-line func-names
  19736. module.exports = function (cssWithMappingToString) {
  19737. var list = []; // return the list of modules as css string
  19738. list.toString = function toString() {
  19739. return this.map(function (item) {
  19740. var content = cssWithMappingToString(item);
  19741. if (item[2]) {
  19742. return "@media ".concat(item[2], " {").concat(content, "}");
  19743. }
  19744. return content;
  19745. }).join("");
  19746. }; // import a list of modules into the list
  19747. // eslint-disable-next-line func-names
  19748. list.i = function (modules, mediaQuery, dedupe) {
  19749. if (typeof modules === "string") {
  19750. // eslint-disable-next-line no-param-reassign
  19751. modules = [[null, modules, ""]];
  19752. }
  19753. var alreadyImportedModules = {};
  19754. if (dedupe) {
  19755. for (var i = 0; i < this.length; i++) {
  19756. // eslint-disable-next-line prefer-destructuring
  19757. var id = this[i][0];
  19758. if (id != null) {
  19759. alreadyImportedModules[id] = true;
  19760. }
  19761. }
  19762. }
  19763. for (var _i = 0; _i < modules.length; _i++) {
  19764. var item = [].concat(modules[_i]);
  19765. if (dedupe && alreadyImportedModules[item[0]]) {
  19766. // eslint-disable-next-line no-continue
  19767. continue;
  19768. }
  19769. if (mediaQuery) {
  19770. if (!item[2]) {
  19771. item[2] = mediaQuery;
  19772. } else {
  19773. item[2] = "".concat(mediaQuery, " and ").concat(item[2]);
  19774. }
  19775. }
  19776. list.push(item);
  19777. }
  19778. };
  19779. return list;
  19780. };
  19781. /***/ }),
  19782. /***/ "./node_modules/css-loader/dist/runtime/getUrl.js":
  19783. /*!********************************************************!*\
  19784. !*** ./node_modules/css-loader/dist/runtime/getUrl.js ***!
  19785. \********************************************************/
  19786. /***/ ((module) => {
  19787. "use strict";
  19788. module.exports = function (url, options) {
  19789. if (!options) {
  19790. // eslint-disable-next-line no-param-reassign
  19791. options = {};
  19792. } // eslint-disable-next-line no-underscore-dangle, no-param-reassign
  19793. url = url && url.__esModule ? url.default : url;
  19794. if (typeof url !== "string") {
  19795. return url;
  19796. } // If url is already wrapped in quotes, remove them
  19797. if (/^['"].*['"]$/.test(url)) {
  19798. // eslint-disable-next-line no-param-reassign
  19799. url = url.slice(1, -1);
  19800. }
  19801. if (options.hash) {
  19802. // eslint-disable-next-line no-param-reassign
  19803. url += options.hash;
  19804. } // Should url be wrapped?
  19805. // See https://drafts.csswg.org/css-values-3/#urls
  19806. if (/["'() \t\n]/.test(url) || options.needQuotes) {
  19807. return "\"".concat(url.replace(/"/g, '\\"').replace(/\n/g, "\\n"), "\"");
  19808. }
  19809. return url;
  19810. };
  19811. /***/ }),
  19812. /***/ "./node_modules/deepmerge/dist/cjs.js":
  19813. /*!********************************************!*\
  19814. !*** ./node_modules/deepmerge/dist/cjs.js ***!
  19815. \********************************************/
  19816. /***/ ((module) => {
  19817. "use strict";
  19818. var isMergeableObject = function isMergeableObject(value) {
  19819. return isNonNullObject(value)
  19820. && !isSpecial(value)
  19821. };
  19822. function isNonNullObject(value) {
  19823. return !!value && typeof value === 'object'
  19824. }
  19825. function isSpecial(value) {
  19826. var stringValue = Object.prototype.toString.call(value);
  19827. return stringValue === '[object RegExp]'
  19828. || stringValue === '[object Date]'
  19829. || isReactElement(value)
  19830. }
  19831. // see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25
  19832. var canUseSymbol = typeof Symbol === 'function' && Symbol.for;
  19833. var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for('react.element') : 0xeac7;
  19834. function isReactElement(value) {
  19835. return value.$$typeof === REACT_ELEMENT_TYPE
  19836. }
  19837. function emptyTarget(val) {
  19838. return Array.isArray(val) ? [] : {}
  19839. }
  19840. function cloneUnlessOtherwiseSpecified(value, options) {
  19841. return (options.clone !== false && options.isMergeableObject(value))
  19842. ? deepmerge(emptyTarget(value), value, options)
  19843. : value
  19844. }
  19845. function defaultArrayMerge(target, source, options) {
  19846. return target.concat(source).map(function(element) {
  19847. return cloneUnlessOtherwiseSpecified(element, options)
  19848. })
  19849. }
  19850. function getMergeFunction(key, options) {
  19851. if (!options.customMerge) {
  19852. return deepmerge
  19853. }
  19854. var customMerge = options.customMerge(key);
  19855. return typeof customMerge === 'function' ? customMerge : deepmerge
  19856. }
  19857. function getEnumerableOwnPropertySymbols(target) {
  19858. return Object.getOwnPropertySymbols
  19859. ? Object.getOwnPropertySymbols(target).filter(function(symbol) {
  19860. return target.propertyIsEnumerable(symbol)
  19861. })
  19862. : []
  19863. }
  19864. function getKeys(target) {
  19865. return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target))
  19866. }
  19867. function propertyIsOnObject(object, property) {
  19868. try {
  19869. return property in object
  19870. } catch(_) {
  19871. return false
  19872. }
  19873. }
  19874. // Protects from prototype poisoning and unexpected merging up the prototype chain.
  19875. function propertyIsUnsafe(target, key) {
  19876. return propertyIsOnObject(target, key) // Properties are safe to merge if they don't exist in the target yet,
  19877. && !(Object.hasOwnProperty.call(target, key) // unsafe if they exist up the prototype chain,
  19878. && Object.propertyIsEnumerable.call(target, key)) // and also unsafe if they're nonenumerable.
  19879. }
  19880. function mergeObject(target, source, options) {
  19881. var destination = {};
  19882. if (options.isMergeableObject(target)) {
  19883. getKeys(target).forEach(function(key) {
  19884. destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
  19885. });
  19886. }
  19887. getKeys(source).forEach(function(key) {
  19888. if (propertyIsUnsafe(target, key)) {
  19889. return
  19890. }
  19891. if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
  19892. destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
  19893. } else {
  19894. destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
  19895. }
  19896. });
  19897. return destination
  19898. }
  19899. function deepmerge(target, source, options) {
  19900. options = options || {};
  19901. options.arrayMerge = options.arrayMerge || defaultArrayMerge;
  19902. options.isMergeableObject = options.isMergeableObject || isMergeableObject;
  19903. // cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()
  19904. // implementations can use it. The caller may not replace it.
  19905. options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
  19906. var sourceIsArray = Array.isArray(source);
  19907. var targetIsArray = Array.isArray(target);
  19908. var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
  19909. if (!sourceAndTargetTypesMatch) {
  19910. return cloneUnlessOtherwiseSpecified(source, options)
  19911. } else if (sourceIsArray) {
  19912. return options.arrayMerge(target, source, options)
  19913. } else {
  19914. return mergeObject(target, source, options)
  19915. }
  19916. }
  19917. deepmerge.all = function deepmergeAll(array, options) {
  19918. if (!Array.isArray(array)) {
  19919. throw new Error('first argument should be an array')
  19920. }
  19921. return array.reduce(function(prev, next) {
  19922. return deepmerge(prev, next, options)
  19923. }, {})
  19924. };
  19925. var deepmerge_1 = deepmerge;
  19926. module.exports = deepmerge_1;
  19927. /***/ }),
  19928. /***/ "./node_modules/primevue/resources/images/color.png":
  19929. /*!**********************************************************!*\
  19930. !*** ./node_modules/primevue/resources/images/color.png ***!
  19931. \**********************************************************/
  19932. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  19933. "use strict";
  19934. __webpack_require__.r(__webpack_exports__);
  19935. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  19936. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  19937. /* harmony export */ });
  19938. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("/images/vendor/primevue/resources/color.png?6441e63a57ccc5105bad045142bc31eb");
  19939. /***/ }),
  19940. /***/ "./node_modules/primevue/resources/images/hue.png":
  19941. /*!********************************************************!*\
  19942. !*** ./node_modules/primevue/resources/images/hue.png ***!
  19943. \********************************************************/
  19944. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  19945. "use strict";
  19946. __webpack_require__.r(__webpack_exports__);
  19947. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  19948. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  19949. /* harmony export */ });
  19950. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("/images/vendor/primevue/resources/hue.png?f8505bd4d6f3e3aa435b72d1c045d4a7");
  19951. /***/ }),
  19952. /***/ "./node_modules/primeicons/fonts/primeicons.eot":
  19953. /*!******************************************************!*\
  19954. !*** ./node_modules/primeicons/fonts/primeicons.eot ***!
  19955. \******************************************************/
  19956. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  19957. "use strict";
  19958. __webpack_require__.r(__webpack_exports__);
  19959. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  19960. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  19961. /* harmony export */ });
  19962. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("/fonts/vendor/primeicons/primeicons.eot?7fc4d8e224d1ff1b9c6256b15cbe43a7");
  19963. /***/ }),
  19964. /***/ "./node_modules/primeicons/fonts/primeicons.svg":
  19965. /*!******************************************************!*\
  19966. !*** ./node_modules/primeicons/fonts/primeicons.svg ***!
  19967. \******************************************************/
  19968. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  19969. "use strict";
  19970. __webpack_require__.r(__webpack_exports__);
  19971. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  19972. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  19973. /* harmony export */ });
  19974. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("/fonts/vendor/primeicons/primeicons.svg?c6e2053303524e39530c36f094129407");
  19975. /***/ }),
  19976. /***/ "./node_modules/primeicons/fonts/primeicons.ttf":
  19977. /*!******************************************************!*\
  19978. !*** ./node_modules/primeicons/fonts/primeicons.ttf ***!
  19979. \******************************************************/
  19980. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  19981. "use strict";
  19982. __webpack_require__.r(__webpack_exports__);
  19983. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  19984. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  19985. /* harmony export */ });
  19986. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("/fonts/vendor/primeicons/primeicons.ttf?91bacab1f083f2795272499faf7e83dc");
  19987. /***/ }),
  19988. /***/ "./node_modules/primeicons/fonts/primeicons.woff":
  19989. /*!*******************************************************!*\
  19990. !*** ./node_modules/primeicons/fonts/primeicons.woff ***!
  19991. \*******************************************************/
  19992. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  19993. "use strict";
  19994. __webpack_require__.r(__webpack_exports__);
  19995. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  19996. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  19997. /* harmony export */ });
  19998. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("/fonts/vendor/primeicons/primeicons.woff?449aa8c65cdc5c2a868645403b9ea4d3");
  19999. /***/ }),
  20000. /***/ "./node_modules/primevue/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff":
  20001. /*!***********************************************************************************************************!*\
  20002. !*** ./node_modules/primevue/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff ***!
  20003. \***********************************************************************************************************/
  20004. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  20005. "use strict";
  20006. __webpack_require__.r(__webpack_exports__);
  20007. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  20008. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  20009. /* harmony export */ });
  20010. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("/fonts/vendor/primevue/resources/themes/mdc-light-indigo/roboto-v20-latin-ext_latin-500.woff?e492ac63197a57e7f4d3bdb0001386ad");
  20011. /***/ }),
  20012. /***/ "./node_modules/primevue/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff2":
  20013. /*!************************************************************************************************************!*\
  20014. !*** ./node_modules/primevue/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff2 ***!
  20015. \************************************************************************************************************/
  20016. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  20017. "use strict";
  20018. __webpack_require__.r(__webpack_exports__);
  20019. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  20020. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  20021. /* harmony export */ });
  20022. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("/fonts/vendor/primevue/resources/themes/mdc-light-indigo/roboto-v20-latin-ext_latin-500.woff2?0b45721325446d537b545d6224819ad4");
  20023. /***/ }),
  20024. /***/ "./node_modules/primevue/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff":
  20025. /*!***********************************************************************************************************!*\
  20026. !*** ./node_modules/primevue/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff ***!
  20027. \***********************************************************************************************************/
  20028. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  20029. "use strict";
  20030. __webpack_require__.r(__webpack_exports__);
  20031. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  20032. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  20033. /* harmony export */ });
  20034. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("/fonts/vendor/primevue/resources/themes/mdc-light-indigo/roboto-v20-latin-ext_latin-700.woff?8aba6dc5d991e4367d7ad685f85e5fe5");
  20035. /***/ }),
  20036. /***/ "./node_modules/primevue/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff2":
  20037. /*!************************************************************************************************************!*\
  20038. !*** ./node_modules/primevue/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff2 ***!
  20039. \************************************************************************************************************/
  20040. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  20041. "use strict";
  20042. __webpack_require__.r(__webpack_exports__);
  20043. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  20044. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  20045. /* harmony export */ });
  20046. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("/fonts/vendor/primevue/resources/themes/mdc-light-indigo/roboto-v20-latin-ext_latin-700.woff2?1d1ef7788f0ff084b8811576cb59df57");
  20047. /***/ }),
  20048. /***/ "./node_modules/primevue/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff":
  20049. /*!***************************************************************************************************************!*\
  20050. !*** ./node_modules/primevue/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff ***!
  20051. \***************************************************************************************************************/
  20052. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  20053. "use strict";
  20054. __webpack_require__.r(__webpack_exports__);
  20055. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  20056. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  20057. /* harmony export */ });
  20058. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("/fonts/vendor/primevue/resources/themes/mdc-light-indigo/roboto-v20-latin-ext_latin-regular.woff?ae804dc012b1b525547416df4b4524b3");
  20059. /***/ }),
  20060. /***/ "./node_modules/primevue/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff2":
  20061. /*!****************************************************************************************************************!*\
  20062. !*** ./node_modules/primevue/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff2 ***!
  20063. \****************************************************************************************************************/
  20064. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  20065. "use strict";
  20066. __webpack_require__.r(__webpack_exports__);
  20067. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  20068. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  20069. /* harmony export */ });
  20070. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("/fonts/vendor/primevue/resources/themes/mdc-light-indigo/roboto-v20-latin-ext_latin-regular.woff2?5cb5c8f08bb4e6cb64c3b5b6115bf498");
  20071. /***/ }),
  20072. /***/ "./node_modules/function-bind/implementation.js":
  20073. /*!******************************************************!*\
  20074. !*** ./node_modules/function-bind/implementation.js ***!
  20075. \******************************************************/
  20076. /***/ ((module) => {
  20077. "use strict";
  20078. /* eslint no-invalid-this: 1 */
  20079. var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
  20080. var slice = Array.prototype.slice;
  20081. var toStr = Object.prototype.toString;
  20082. var funcType = '[object Function]';
  20083. module.exports = function bind(that) {
  20084. var target = this;
  20085. if (typeof target !== 'function' || toStr.call(target) !== funcType) {
  20086. throw new TypeError(ERROR_MESSAGE + target);
  20087. }
  20088. var args = slice.call(arguments, 1);
  20089. var bound;
  20090. var binder = function () {
  20091. if (this instanceof bound) {
  20092. var result = target.apply(
  20093. this,
  20094. args.concat(slice.call(arguments))
  20095. );
  20096. if (Object(result) === result) {
  20097. return result;
  20098. }
  20099. return this;
  20100. } else {
  20101. return target.apply(
  20102. that,
  20103. args.concat(slice.call(arguments))
  20104. );
  20105. }
  20106. };
  20107. var boundLength = Math.max(0, target.length - args.length);
  20108. var boundArgs = [];
  20109. for (var i = 0; i < boundLength; i++) {
  20110. boundArgs.push('$' + i);
  20111. }
  20112. bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
  20113. if (target.prototype) {
  20114. var Empty = function Empty() {};
  20115. Empty.prototype = target.prototype;
  20116. bound.prototype = new Empty();
  20117. Empty.prototype = null;
  20118. }
  20119. return bound;
  20120. };
  20121. /***/ }),
  20122. /***/ "./node_modules/function-bind/index.js":
  20123. /*!*********************************************!*\
  20124. !*** ./node_modules/function-bind/index.js ***!
  20125. \*********************************************/
  20126. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  20127. "use strict";
  20128. var implementation = __webpack_require__(/*! ./implementation */ "./node_modules/function-bind/implementation.js");
  20129. module.exports = Function.prototype.bind || implementation;
  20130. /***/ }),
  20131. /***/ "./node_modules/get-intrinsic/index.js":
  20132. /*!*********************************************!*\
  20133. !*** ./node_modules/get-intrinsic/index.js ***!
  20134. \*********************************************/
  20135. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  20136. "use strict";
  20137. var undefined;
  20138. var $SyntaxError = SyntaxError;
  20139. var $Function = Function;
  20140. var $TypeError = TypeError;
  20141. // eslint-disable-next-line consistent-return
  20142. var getEvalledConstructor = function (expressionSyntax) {
  20143. try {
  20144. return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
  20145. } catch (e) {}
  20146. };
  20147. var $gOPD = Object.getOwnPropertyDescriptor;
  20148. if ($gOPD) {
  20149. try {
  20150. $gOPD({}, '');
  20151. } catch (e) {
  20152. $gOPD = null; // this is IE 8, which has a broken gOPD
  20153. }
  20154. }
  20155. var throwTypeError = function () {
  20156. throw new $TypeError();
  20157. };
  20158. var ThrowTypeError = $gOPD
  20159. ? (function () {
  20160. try {
  20161. // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
  20162. arguments.callee; // IE 8 does not throw here
  20163. return throwTypeError;
  20164. } catch (calleeThrows) {
  20165. try {
  20166. // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
  20167. return $gOPD(arguments, 'callee').get;
  20168. } catch (gOPDthrows) {
  20169. return throwTypeError;
  20170. }
  20171. }
  20172. }())
  20173. : throwTypeError;
  20174. var hasSymbols = __webpack_require__(/*! has-symbols */ "./node_modules/has-symbols/index.js")();
  20175. var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
  20176. var needsEval = {};
  20177. var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);
  20178. var INTRINSICS = {
  20179. '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
  20180. '%Array%': Array,
  20181. '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
  20182. '%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,
  20183. '%AsyncFromSyncIteratorPrototype%': undefined,
  20184. '%AsyncFunction%': needsEval,
  20185. '%AsyncGenerator%': needsEval,
  20186. '%AsyncGeneratorFunction%': needsEval,
  20187. '%AsyncIteratorPrototype%': needsEval,
  20188. '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
  20189. '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
  20190. '%Boolean%': Boolean,
  20191. '%DataView%': typeof DataView === 'undefined' ? undefined : DataView,
  20192. '%Date%': Date,
  20193. '%decodeURI%': decodeURI,
  20194. '%decodeURIComponent%': decodeURIComponent,
  20195. '%encodeURI%': encodeURI,
  20196. '%encodeURIComponent%': encodeURIComponent,
  20197. '%Error%': Error,
  20198. '%eval%': eval, // eslint-disable-line no-eval
  20199. '%EvalError%': EvalError,
  20200. '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
  20201. '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
  20202. '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
  20203. '%Function%': $Function,
  20204. '%GeneratorFunction%': needsEval,
  20205. '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,
  20206. '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,
  20207. '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
  20208. '%isFinite%': isFinite,
  20209. '%isNaN%': isNaN,
  20210. '%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,
  20211. '%JSON%': typeof JSON === 'object' ? JSON : undefined,
  20212. '%Map%': typeof Map === 'undefined' ? undefined : Map,
  20213. '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),
  20214. '%Math%': Math,
  20215. '%Number%': Number,
  20216. '%Object%': Object,
  20217. '%parseFloat%': parseFloat,
  20218. '%parseInt%': parseInt,
  20219. '%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
  20220. '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
  20221. '%RangeError%': RangeError,
  20222. '%ReferenceError%': ReferenceError,
  20223. '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
  20224. '%RegExp%': RegExp,
  20225. '%Set%': typeof Set === 'undefined' ? undefined : Set,
  20226. '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),
  20227. '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
  20228. '%String%': String,
  20229. '%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,
  20230. '%Symbol%': hasSymbols ? Symbol : undefined,
  20231. '%SyntaxError%': $SyntaxError,
  20232. '%ThrowTypeError%': ThrowTypeError,
  20233. '%TypedArray%': TypedArray,
  20234. '%TypeError%': $TypeError,
  20235. '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,
  20236. '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
  20237. '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
  20238. '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
  20239. '%URIError%': URIError,
  20240. '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
  20241. '%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
  20242. '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
  20243. };
  20244. var doEval = function doEval(name) {
  20245. var value;
  20246. if (name === '%AsyncFunction%') {
  20247. value = getEvalledConstructor('async function () {}');
  20248. } else if (name === '%GeneratorFunction%') {
  20249. value = getEvalledConstructor('function* () {}');
  20250. } else if (name === '%AsyncGeneratorFunction%') {
  20251. value = getEvalledConstructor('async function* () {}');
  20252. } else if (name === '%AsyncGenerator%') {
  20253. var fn = doEval('%AsyncGeneratorFunction%');
  20254. if (fn) {
  20255. value = fn.prototype;
  20256. }
  20257. } else if (name === '%AsyncIteratorPrototype%') {
  20258. var gen = doEval('%AsyncGenerator%');
  20259. if (gen) {
  20260. value = getProto(gen.prototype);
  20261. }
  20262. }
  20263. INTRINSICS[name] = value;
  20264. return value;
  20265. };
  20266. var LEGACY_ALIASES = {
  20267. '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
  20268. '%ArrayPrototype%': ['Array', 'prototype'],
  20269. '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
  20270. '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
  20271. '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
  20272. '%ArrayProto_values%': ['Array', 'prototype', 'values'],
  20273. '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
  20274. '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
  20275. '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
  20276. '%BooleanPrototype%': ['Boolean', 'prototype'],
  20277. '%DataViewPrototype%': ['DataView', 'prototype'],
  20278. '%DatePrototype%': ['Date', 'prototype'],
  20279. '%ErrorPrototype%': ['Error', 'prototype'],
  20280. '%EvalErrorPrototype%': ['EvalError', 'prototype'],
  20281. '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
  20282. '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
  20283. '%FunctionPrototype%': ['Function', 'prototype'],
  20284. '%Generator%': ['GeneratorFunction', 'prototype'],
  20285. '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
  20286. '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
  20287. '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
  20288. '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
  20289. '%JSONParse%': ['JSON', 'parse'],
  20290. '%JSONStringify%': ['JSON', 'stringify'],
  20291. '%MapPrototype%': ['Map', 'prototype'],
  20292. '%NumberPrototype%': ['Number', 'prototype'],
  20293. '%ObjectPrototype%': ['Object', 'prototype'],
  20294. '%ObjProto_toString%': ['Object', 'prototype', 'toString'],
  20295. '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
  20296. '%PromisePrototype%': ['Promise', 'prototype'],
  20297. '%PromiseProto_then%': ['Promise', 'prototype', 'then'],
  20298. '%Promise_all%': ['Promise', 'all'],
  20299. '%Promise_reject%': ['Promise', 'reject'],
  20300. '%Promise_resolve%': ['Promise', 'resolve'],
  20301. '%RangeErrorPrototype%': ['RangeError', 'prototype'],
  20302. '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
  20303. '%RegExpPrototype%': ['RegExp', 'prototype'],
  20304. '%SetPrototype%': ['Set', 'prototype'],
  20305. '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
  20306. '%StringPrototype%': ['String', 'prototype'],
  20307. '%SymbolPrototype%': ['Symbol', 'prototype'],
  20308. '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
  20309. '%TypedArrayPrototype%': ['TypedArray', 'prototype'],
  20310. '%TypeErrorPrototype%': ['TypeError', 'prototype'],
  20311. '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
  20312. '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
  20313. '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
  20314. '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
  20315. '%URIErrorPrototype%': ['URIError', 'prototype'],
  20316. '%WeakMapPrototype%': ['WeakMap', 'prototype'],
  20317. '%WeakSetPrototype%': ['WeakSet', 'prototype']
  20318. };
  20319. var bind = __webpack_require__(/*! function-bind */ "./node_modules/function-bind/index.js");
  20320. var hasOwn = __webpack_require__(/*! has */ "./node_modules/has/src/index.js");
  20321. var $concat = bind.call(Function.call, Array.prototype.concat);
  20322. var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
  20323. var $replace = bind.call(Function.call, String.prototype.replace);
  20324. var $strSlice = bind.call(Function.call, String.prototype.slice);
  20325. /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
  20326. var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
  20327. var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
  20328. var stringToPath = function stringToPath(string) {
  20329. var first = $strSlice(string, 0, 1);
  20330. var last = $strSlice(string, -1);
  20331. if (first === '%' && last !== '%') {
  20332. throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
  20333. } else if (last === '%' && first !== '%') {
  20334. throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
  20335. }
  20336. var result = [];
  20337. $replace(string, rePropName, function (match, number, quote, subString) {
  20338. result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
  20339. });
  20340. return result;
  20341. };
  20342. /* end adaptation */
  20343. var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
  20344. var intrinsicName = name;
  20345. var alias;
  20346. if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
  20347. alias = LEGACY_ALIASES[intrinsicName];
  20348. intrinsicName = '%' + alias[0] + '%';
  20349. }
  20350. if (hasOwn(INTRINSICS, intrinsicName)) {
  20351. var value = INTRINSICS[intrinsicName];
  20352. if (value === needsEval) {
  20353. value = doEval(intrinsicName);
  20354. }
  20355. if (typeof value === 'undefined' && !allowMissing) {
  20356. throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
  20357. }
  20358. return {
  20359. alias: alias,
  20360. name: intrinsicName,
  20361. value: value
  20362. };
  20363. }
  20364. throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
  20365. };
  20366. module.exports = function GetIntrinsic(name, allowMissing) {
  20367. if (typeof name !== 'string' || name.length === 0) {
  20368. throw new $TypeError('intrinsic name must be a non-empty string');
  20369. }
  20370. if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
  20371. throw new $TypeError('"allowMissing" argument must be a boolean');
  20372. }
  20373. var parts = stringToPath(name);
  20374. var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
  20375. var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
  20376. var intrinsicRealName = intrinsic.name;
  20377. var value = intrinsic.value;
  20378. var skipFurtherCaching = false;
  20379. var alias = intrinsic.alias;
  20380. if (alias) {
  20381. intrinsicBaseName = alias[0];
  20382. $spliceApply(parts, $concat([0, 1], alias));
  20383. }
  20384. for (var i = 1, isOwn = true; i < parts.length; i += 1) {
  20385. var part = parts[i];
  20386. var first = $strSlice(part, 0, 1);
  20387. var last = $strSlice(part, -1);
  20388. if (
  20389. (
  20390. (first === '"' || first === "'" || first === '`')
  20391. || (last === '"' || last === "'" || last === '`')
  20392. )
  20393. && first !== last
  20394. ) {
  20395. throw new $SyntaxError('property names with quotes must have matching quotes');
  20396. }
  20397. if (part === 'constructor' || !isOwn) {
  20398. skipFurtherCaching = true;
  20399. }
  20400. intrinsicBaseName += '.' + part;
  20401. intrinsicRealName = '%' + intrinsicBaseName + '%';
  20402. if (hasOwn(INTRINSICS, intrinsicRealName)) {
  20403. value = INTRINSICS[intrinsicRealName];
  20404. } else if (value != null) {
  20405. if (!(part in value)) {
  20406. if (!allowMissing) {
  20407. throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
  20408. }
  20409. return void undefined;
  20410. }
  20411. if ($gOPD && (i + 1) >= parts.length) {
  20412. var desc = $gOPD(value, part);
  20413. isOwn = !!desc;
  20414. // By convention, when a data property is converted to an accessor
  20415. // property to emulate a data property that does not suffer from
  20416. // the override mistake, that accessor's getter is marked with
  20417. // an `originalValue` property. Here, when we detect this, we
  20418. // uphold the illusion by pretending to see that original data
  20419. // property, i.e., returning the value rather than the getter
  20420. // itself.
  20421. if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
  20422. value = desc.get;
  20423. } else {
  20424. value = value[part];
  20425. }
  20426. } else {
  20427. isOwn = hasOwn(value, part);
  20428. value = value[part];
  20429. }
  20430. if (isOwn && !skipFurtherCaching) {
  20431. INTRINSICS[intrinsicRealName] = value;
  20432. }
  20433. }
  20434. }
  20435. return value;
  20436. };
  20437. /***/ }),
  20438. /***/ "./node_modules/has-symbols/index.js":
  20439. /*!*******************************************!*\
  20440. !*** ./node_modules/has-symbols/index.js ***!
  20441. \*******************************************/
  20442. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  20443. "use strict";
  20444. var origSymbol = typeof Symbol !== 'undefined' && Symbol;
  20445. var hasSymbolSham = __webpack_require__(/*! ./shams */ "./node_modules/has-symbols/shams.js");
  20446. module.exports = function hasNativeSymbols() {
  20447. if (typeof origSymbol !== 'function') { return false; }
  20448. if (typeof Symbol !== 'function') { return false; }
  20449. if (typeof origSymbol('foo') !== 'symbol') { return false; }
  20450. if (typeof Symbol('bar') !== 'symbol') { return false; }
  20451. return hasSymbolSham();
  20452. };
  20453. /***/ }),
  20454. /***/ "./node_modules/has-symbols/shams.js":
  20455. /*!*******************************************!*\
  20456. !*** ./node_modules/has-symbols/shams.js ***!
  20457. \*******************************************/
  20458. /***/ ((module) => {
  20459. "use strict";
  20460. /* eslint complexity: [2, 18], max-statements: [2, 33] */
  20461. module.exports = function hasSymbols() {
  20462. if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
  20463. if (typeof Symbol.iterator === 'symbol') { return true; }
  20464. var obj = {};
  20465. var sym = Symbol('test');
  20466. var symObj = Object(sym);
  20467. if (typeof sym === 'string') { return false; }
  20468. if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
  20469. if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
  20470. // temp disabled per https://github.com/ljharb/object.assign/issues/17
  20471. // if (sym instanceof Symbol) { return false; }
  20472. // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
  20473. // if (!(symObj instanceof Symbol)) { return false; }
  20474. // if (typeof Symbol.prototype.toString !== 'function') { return false; }
  20475. // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
  20476. var symVal = 42;
  20477. obj[sym] = symVal;
  20478. for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
  20479. if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
  20480. if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
  20481. var syms = Object.getOwnPropertySymbols(obj);
  20482. if (syms.length !== 1 || syms[0] !== sym) { return false; }
  20483. if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
  20484. if (typeof Object.getOwnPropertyDescriptor === 'function') {
  20485. var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
  20486. if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
  20487. }
  20488. return true;
  20489. };
  20490. /***/ }),
  20491. /***/ "./node_modules/has/src/index.js":
  20492. /*!***************************************!*\
  20493. !*** ./node_modules/has/src/index.js ***!
  20494. \***************************************/
  20495. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  20496. "use strict";
  20497. var bind = __webpack_require__(/*! function-bind */ "./node_modules/function-bind/index.js");
  20498. module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
  20499. /***/ }),
  20500. /***/ "./node_modules/lodash.clonedeep/index.js":
  20501. /*!************************************************!*\
  20502. !*** ./node_modules/lodash.clonedeep/index.js ***!
  20503. \************************************************/
  20504. /***/ ((module, exports, __webpack_require__) => {
  20505. /* module decorator */ module = __webpack_require__.nmd(module);
  20506. /**
  20507. * lodash (Custom Build) <https://lodash.com/>
  20508. * Build: `lodash modularize exports="npm" -o ./`
  20509. * Copyright jQuery Foundation and other contributors <https://jquery.org/>
  20510. * Released under MIT license <https://lodash.com/license>
  20511. * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
  20512. * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
  20513. */
  20514. /** Used as the size to enable large array optimizations. */
  20515. var LARGE_ARRAY_SIZE = 200;
  20516. /** Used to stand-in for `undefined` hash values. */
  20517. var HASH_UNDEFINED = '__lodash_hash_undefined__';
  20518. /** Used as references for various `Number` constants. */
  20519. var MAX_SAFE_INTEGER = 9007199254740991;
  20520. /** `Object#toString` result references. */
  20521. var argsTag = '[object Arguments]',
  20522. arrayTag = '[object Array]',
  20523. boolTag = '[object Boolean]',
  20524. dateTag = '[object Date]',
  20525. errorTag = '[object Error]',
  20526. funcTag = '[object Function]',
  20527. genTag = '[object GeneratorFunction]',
  20528. mapTag = '[object Map]',
  20529. numberTag = '[object Number]',
  20530. objectTag = '[object Object]',
  20531. promiseTag = '[object Promise]',
  20532. regexpTag = '[object RegExp]',
  20533. setTag = '[object Set]',
  20534. stringTag = '[object String]',
  20535. symbolTag = '[object Symbol]',
  20536. weakMapTag = '[object WeakMap]';
  20537. var arrayBufferTag = '[object ArrayBuffer]',
  20538. dataViewTag = '[object DataView]',
  20539. float32Tag = '[object Float32Array]',
  20540. float64Tag = '[object Float64Array]',
  20541. int8Tag = '[object Int8Array]',
  20542. int16Tag = '[object Int16Array]',
  20543. int32Tag = '[object Int32Array]',
  20544. uint8Tag = '[object Uint8Array]',
  20545. uint8ClampedTag = '[object Uint8ClampedArray]',
  20546. uint16Tag = '[object Uint16Array]',
  20547. uint32Tag = '[object Uint32Array]';
  20548. /**
  20549. * Used to match `RegExp`
  20550. * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
  20551. */
  20552. var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
  20553. /** Used to match `RegExp` flags from their coerced string values. */
  20554. var reFlags = /\w*$/;
  20555. /** Used to detect host constructors (Safari). */
  20556. var reIsHostCtor = /^\[object .+?Constructor\]$/;
  20557. /** Used to detect unsigned integer values. */
  20558. var reIsUint = /^(?:0|[1-9]\d*)$/;
  20559. /** Used to identify `toStringTag` values supported by `_.clone`. */
  20560. var cloneableTags = {};
  20561. cloneableTags[argsTag] = cloneableTags[arrayTag] =
  20562. cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =
  20563. cloneableTags[boolTag] = cloneableTags[dateTag] =
  20564. cloneableTags[float32Tag] = cloneableTags[float64Tag] =
  20565. cloneableTags[int8Tag] = cloneableTags[int16Tag] =
  20566. cloneableTags[int32Tag] = cloneableTags[mapTag] =
  20567. cloneableTags[numberTag] = cloneableTags[objectTag] =
  20568. cloneableTags[regexpTag] = cloneableTags[setTag] =
  20569. cloneableTags[stringTag] = cloneableTags[symbolTag] =
  20570. cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =
  20571. cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
  20572. cloneableTags[errorTag] = cloneableTags[funcTag] =
  20573. cloneableTags[weakMapTag] = false;
  20574. /** Detect free variable `global` from Node.js. */
  20575. var freeGlobal = typeof __webpack_require__.g == 'object' && __webpack_require__.g && __webpack_require__.g.Object === Object && __webpack_require__.g;
  20576. /** Detect free variable `self`. */
  20577. var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
  20578. /** Used as a reference to the global object. */
  20579. var root = freeGlobal || freeSelf || Function('return this')();
  20580. /** Detect free variable `exports`. */
  20581. var freeExports = true && exports && !exports.nodeType && exports;
  20582. /** Detect free variable `module`. */
  20583. var freeModule = freeExports && "object" == 'object' && module && !module.nodeType && module;
  20584. /** Detect the popular CommonJS extension `module.exports`. */
  20585. var moduleExports = freeModule && freeModule.exports === freeExports;
  20586. /**
  20587. * Adds the key-value `pair` to `map`.
  20588. *
  20589. * @private
  20590. * @param {Object} map The map to modify.
  20591. * @param {Array} pair The key-value pair to add.
  20592. * @returns {Object} Returns `map`.
  20593. */
  20594. function addMapEntry(map, pair) {
  20595. // Don't return `map.set` because it's not chainable in IE 11.
  20596. map.set(pair[0], pair[1]);
  20597. return map;
  20598. }
  20599. /**
  20600. * Adds `value` to `set`.
  20601. *
  20602. * @private
  20603. * @param {Object} set The set to modify.
  20604. * @param {*} value The value to add.
  20605. * @returns {Object} Returns `set`.
  20606. */
  20607. function addSetEntry(set, value) {
  20608. // Don't return `set.add` because it's not chainable in IE 11.
  20609. set.add(value);
  20610. return set;
  20611. }
  20612. /**
  20613. * A specialized version of `_.forEach` for arrays without support for
  20614. * iteratee shorthands.
  20615. *
  20616. * @private
  20617. * @param {Array} [array] The array to iterate over.
  20618. * @param {Function} iteratee The function invoked per iteration.
  20619. * @returns {Array} Returns `array`.
  20620. */
  20621. function arrayEach(array, iteratee) {
  20622. var index = -1,
  20623. length = array ? array.length : 0;
  20624. while (++index < length) {
  20625. if (iteratee(array[index], index, array) === false) {
  20626. break;
  20627. }
  20628. }
  20629. return array;
  20630. }
  20631. /**
  20632. * Appends the elements of `values` to `array`.
  20633. *
  20634. * @private
  20635. * @param {Array} array The array to modify.
  20636. * @param {Array} values The values to append.
  20637. * @returns {Array} Returns `array`.
  20638. */
  20639. function arrayPush(array, values) {
  20640. var index = -1,
  20641. length = values.length,
  20642. offset = array.length;
  20643. while (++index < length) {
  20644. array[offset + index] = values[index];
  20645. }
  20646. return array;
  20647. }
  20648. /**
  20649. * A specialized version of `_.reduce` for arrays without support for
  20650. * iteratee shorthands.
  20651. *
  20652. * @private
  20653. * @param {Array} [array] The array to iterate over.
  20654. * @param {Function} iteratee The function invoked per iteration.
  20655. * @param {*} [accumulator] The initial value.
  20656. * @param {boolean} [initAccum] Specify using the first element of `array` as
  20657. * the initial value.
  20658. * @returns {*} Returns the accumulated value.
  20659. */
  20660. function arrayReduce(array, iteratee, accumulator, initAccum) {
  20661. var index = -1,
  20662. length = array ? array.length : 0;
  20663. if (initAccum && length) {
  20664. accumulator = array[++index];
  20665. }
  20666. while (++index < length) {
  20667. accumulator = iteratee(accumulator, array[index], index, array);
  20668. }
  20669. return accumulator;
  20670. }
  20671. /**
  20672. * The base implementation of `_.times` without support for iteratee shorthands
  20673. * or max array length checks.
  20674. *
  20675. * @private
  20676. * @param {number} n The number of times to invoke `iteratee`.
  20677. * @param {Function} iteratee The function invoked per iteration.
  20678. * @returns {Array} Returns the array of results.
  20679. */
  20680. function baseTimes(n, iteratee) {
  20681. var index = -1,
  20682. result = Array(n);
  20683. while (++index < n) {
  20684. result[index] = iteratee(index);
  20685. }
  20686. return result;
  20687. }
  20688. /**
  20689. * Gets the value at `key` of `object`.
  20690. *
  20691. * @private
  20692. * @param {Object} [object] The object to query.
  20693. * @param {string} key The key of the property to get.
  20694. * @returns {*} Returns the property value.
  20695. */
  20696. function getValue(object, key) {
  20697. return object == null ? undefined : object[key];
  20698. }
  20699. /**
  20700. * Checks if `value` is a host object in IE < 9.
  20701. *
  20702. * @private
  20703. * @param {*} value The value to check.
  20704. * @returns {boolean} Returns `true` if `value` is a host object, else `false`.
  20705. */
  20706. function isHostObject(value) {
  20707. // Many host objects are `Object` objects that can coerce to strings
  20708. // despite having improperly defined `toString` methods.
  20709. var result = false;
  20710. if (value != null && typeof value.toString != 'function') {
  20711. try {
  20712. result = !!(value + '');
  20713. } catch (e) {}
  20714. }
  20715. return result;
  20716. }
  20717. /**
  20718. * Converts `map` to its key-value pairs.
  20719. *
  20720. * @private
  20721. * @param {Object} map The map to convert.
  20722. * @returns {Array} Returns the key-value pairs.
  20723. */
  20724. function mapToArray(map) {
  20725. var index = -1,
  20726. result = Array(map.size);
  20727. map.forEach(function(value, key) {
  20728. result[++index] = [key, value];
  20729. });
  20730. return result;
  20731. }
  20732. /**
  20733. * Creates a unary function that invokes `func` with its argument transformed.
  20734. *
  20735. * @private
  20736. * @param {Function} func The function to wrap.
  20737. * @param {Function} transform The argument transform.
  20738. * @returns {Function} Returns the new function.
  20739. */
  20740. function overArg(func, transform) {
  20741. return function(arg) {
  20742. return func(transform(arg));
  20743. };
  20744. }
  20745. /**
  20746. * Converts `set` to an array of its values.
  20747. *
  20748. * @private
  20749. * @param {Object} set The set to convert.
  20750. * @returns {Array} Returns the values.
  20751. */
  20752. function setToArray(set) {
  20753. var index = -1,
  20754. result = Array(set.size);
  20755. set.forEach(function(value) {
  20756. result[++index] = value;
  20757. });
  20758. return result;
  20759. }
  20760. /** Used for built-in method references. */
  20761. var arrayProto = Array.prototype,
  20762. funcProto = Function.prototype,
  20763. objectProto = Object.prototype;
  20764. /** Used to detect overreaching core-js shims. */
  20765. var coreJsData = root['__core-js_shared__'];
  20766. /** Used to detect methods masquerading as native. */
  20767. var maskSrcKey = (function() {
  20768. var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
  20769. return uid ? ('Symbol(src)_1.' + uid) : '';
  20770. }());
  20771. /** Used to resolve the decompiled source of functions. */
  20772. var funcToString = funcProto.toString;
  20773. /** Used to check objects for own properties. */
  20774. var hasOwnProperty = objectProto.hasOwnProperty;
  20775. /**
  20776. * Used to resolve the
  20777. * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
  20778. * of values.
  20779. */
  20780. var objectToString = objectProto.toString;
  20781. /** Used to detect if a method is native. */
  20782. var reIsNative = RegExp('^' +
  20783. funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
  20784. .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
  20785. );
  20786. /** Built-in value references. */
  20787. var Buffer = moduleExports ? root.Buffer : undefined,
  20788. Symbol = root.Symbol,
  20789. Uint8Array = root.Uint8Array,
  20790. getPrototype = overArg(Object.getPrototypeOf, Object),
  20791. objectCreate = Object.create,
  20792. propertyIsEnumerable = objectProto.propertyIsEnumerable,
  20793. splice = arrayProto.splice;
  20794. /* Built-in method references for those with the same name as other `lodash` methods. */
  20795. var nativeGetSymbols = Object.getOwnPropertySymbols,
  20796. nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,
  20797. nativeKeys = overArg(Object.keys, Object);
  20798. /* Built-in method references that are verified to be native. */
  20799. var DataView = getNative(root, 'DataView'),
  20800. Map = getNative(root, 'Map'),
  20801. Promise = getNative(root, 'Promise'),
  20802. Set = getNative(root, 'Set'),
  20803. WeakMap = getNative(root, 'WeakMap'),
  20804. nativeCreate = getNative(Object, 'create');
  20805. /** Used to detect maps, sets, and weakmaps. */
  20806. var dataViewCtorString = toSource(DataView),
  20807. mapCtorString = toSource(Map),
  20808. promiseCtorString = toSource(Promise),
  20809. setCtorString = toSource(Set),
  20810. weakMapCtorString = toSource(WeakMap);
  20811. /** Used to convert symbols to primitives and strings. */
  20812. var symbolProto = Symbol ? Symbol.prototype : undefined,
  20813. symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
  20814. /**
  20815. * Creates a hash object.
  20816. *
  20817. * @private
  20818. * @constructor
  20819. * @param {Array} [entries] The key-value pairs to cache.
  20820. */
  20821. function Hash(entries) {
  20822. var index = -1,
  20823. length = entries ? entries.length : 0;
  20824. this.clear();
  20825. while (++index < length) {
  20826. var entry = entries[index];
  20827. this.set(entry[0], entry[1]);
  20828. }
  20829. }
  20830. /**
  20831. * Removes all key-value entries from the hash.
  20832. *
  20833. * @private
  20834. * @name clear
  20835. * @memberOf Hash
  20836. */
  20837. function hashClear() {
  20838. this.__data__ = nativeCreate ? nativeCreate(null) : {};
  20839. }
  20840. /**
  20841. * Removes `key` and its value from the hash.
  20842. *
  20843. * @private
  20844. * @name delete
  20845. * @memberOf Hash
  20846. * @param {Object} hash The hash to modify.
  20847. * @param {string} key The key of the value to remove.
  20848. * @returns {boolean} Returns `true` if the entry was removed, else `false`.
  20849. */
  20850. function hashDelete(key) {
  20851. return this.has(key) && delete this.__data__[key];
  20852. }
  20853. /**
  20854. * Gets the hash value for `key`.
  20855. *
  20856. * @private
  20857. * @name get
  20858. * @memberOf Hash
  20859. * @param {string} key The key of the value to get.
  20860. * @returns {*} Returns the entry value.
  20861. */
  20862. function hashGet(key) {
  20863. var data = this.__data__;
  20864. if (nativeCreate) {
  20865. var result = data[key];
  20866. return result === HASH_UNDEFINED ? undefined : result;
  20867. }
  20868. return hasOwnProperty.call(data, key) ? data[key] : undefined;
  20869. }
  20870. /**
  20871. * Checks if a hash value for `key` exists.
  20872. *
  20873. * @private
  20874. * @name has
  20875. * @memberOf Hash
  20876. * @param {string} key The key of the entry to check.
  20877. * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
  20878. */
  20879. function hashHas(key) {
  20880. var data = this.__data__;
  20881. return nativeCreate ? data[key] !== undefined : hasOwnProperty.call(data, key);
  20882. }
  20883. /**
  20884. * Sets the hash `key` to `value`.
  20885. *
  20886. * @private
  20887. * @name set
  20888. * @memberOf Hash
  20889. * @param {string} key The key of the value to set.
  20890. * @param {*} value The value to set.
  20891. * @returns {Object} Returns the hash instance.
  20892. */
  20893. function hashSet(key, value) {
  20894. var data = this.__data__;
  20895. data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
  20896. return this;
  20897. }
  20898. // Add methods to `Hash`.
  20899. Hash.prototype.clear = hashClear;
  20900. Hash.prototype['delete'] = hashDelete;
  20901. Hash.prototype.get = hashGet;
  20902. Hash.prototype.has = hashHas;
  20903. Hash.prototype.set = hashSet;
  20904. /**
  20905. * Creates an list cache object.
  20906. *
  20907. * @private
  20908. * @constructor
  20909. * @param {Array} [entries] The key-value pairs to cache.
  20910. */
  20911. function ListCache(entries) {
  20912. var index = -1,
  20913. length = entries ? entries.length : 0;
  20914. this.clear();
  20915. while (++index < length) {
  20916. var entry = entries[index];
  20917. this.set(entry[0], entry[1]);
  20918. }
  20919. }
  20920. /**
  20921. * Removes all key-value entries from the list cache.
  20922. *
  20923. * @private
  20924. * @name clear
  20925. * @memberOf ListCache
  20926. */
  20927. function listCacheClear() {
  20928. this.__data__ = [];
  20929. }
  20930. /**
  20931. * Removes `key` and its value from the list cache.
  20932. *
  20933. * @private
  20934. * @name delete
  20935. * @memberOf ListCache
  20936. * @param {string} key The key of the value to remove.
  20937. * @returns {boolean} Returns `true` if the entry was removed, else `false`.
  20938. */
  20939. function listCacheDelete(key) {
  20940. var data = this.__data__,
  20941. index = assocIndexOf(data, key);
  20942. if (index < 0) {
  20943. return false;
  20944. }
  20945. var lastIndex = data.length - 1;
  20946. if (index == lastIndex) {
  20947. data.pop();
  20948. } else {
  20949. splice.call(data, index, 1);
  20950. }
  20951. return true;
  20952. }
  20953. /**
  20954. * Gets the list cache value for `key`.
  20955. *
  20956. * @private
  20957. * @name get
  20958. * @memberOf ListCache
  20959. * @param {string} key The key of the value to get.
  20960. * @returns {*} Returns the entry value.
  20961. */
  20962. function listCacheGet(key) {
  20963. var data = this.__data__,
  20964. index = assocIndexOf(data, key);
  20965. return index < 0 ? undefined : data[index][1];
  20966. }
  20967. /**
  20968. * Checks if a list cache value for `key` exists.
  20969. *
  20970. * @private
  20971. * @name has
  20972. * @memberOf ListCache
  20973. * @param {string} key The key of the entry to check.
  20974. * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
  20975. */
  20976. function listCacheHas(key) {
  20977. return assocIndexOf(this.__data__, key) > -1;
  20978. }
  20979. /**
  20980. * Sets the list cache `key` to `value`.
  20981. *
  20982. * @private
  20983. * @name set
  20984. * @memberOf ListCache
  20985. * @param {string} key The key of the value to set.
  20986. * @param {*} value The value to set.
  20987. * @returns {Object} Returns the list cache instance.
  20988. */
  20989. function listCacheSet(key, value) {
  20990. var data = this.__data__,
  20991. index = assocIndexOf(data, key);
  20992. if (index < 0) {
  20993. data.push([key, value]);
  20994. } else {
  20995. data[index][1] = value;
  20996. }
  20997. return this;
  20998. }
  20999. // Add methods to `ListCache`.
  21000. ListCache.prototype.clear = listCacheClear;
  21001. ListCache.prototype['delete'] = listCacheDelete;
  21002. ListCache.prototype.get = listCacheGet;
  21003. ListCache.prototype.has = listCacheHas;
  21004. ListCache.prototype.set = listCacheSet;
  21005. /**
  21006. * Creates a map cache object to store key-value pairs.
  21007. *
  21008. * @private
  21009. * @constructor
  21010. * @param {Array} [entries] The key-value pairs to cache.
  21011. */
  21012. function MapCache(entries) {
  21013. var index = -1,
  21014. length = entries ? entries.length : 0;
  21015. this.clear();
  21016. while (++index < length) {
  21017. var entry = entries[index];
  21018. this.set(entry[0], entry[1]);
  21019. }
  21020. }
  21021. /**
  21022. * Removes all key-value entries from the map.
  21023. *
  21024. * @private
  21025. * @name clear
  21026. * @memberOf MapCache
  21027. */
  21028. function mapCacheClear() {
  21029. this.__data__ = {
  21030. 'hash': new Hash,
  21031. 'map': new (Map || ListCache),
  21032. 'string': new Hash
  21033. };
  21034. }
  21035. /**
  21036. * Removes `key` and its value from the map.
  21037. *
  21038. * @private
  21039. * @name delete
  21040. * @memberOf MapCache
  21041. * @param {string} key The key of the value to remove.
  21042. * @returns {boolean} Returns `true` if the entry was removed, else `false`.
  21043. */
  21044. function mapCacheDelete(key) {
  21045. return getMapData(this, key)['delete'](key);
  21046. }
  21047. /**
  21048. * Gets the map value for `key`.
  21049. *
  21050. * @private
  21051. * @name get
  21052. * @memberOf MapCache
  21053. * @param {string} key The key of the value to get.
  21054. * @returns {*} Returns the entry value.
  21055. */
  21056. function mapCacheGet(key) {
  21057. return getMapData(this, key).get(key);
  21058. }
  21059. /**
  21060. * Checks if a map value for `key` exists.
  21061. *
  21062. * @private
  21063. * @name has
  21064. * @memberOf MapCache
  21065. * @param {string} key The key of the entry to check.
  21066. * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
  21067. */
  21068. function mapCacheHas(key) {
  21069. return getMapData(this, key).has(key);
  21070. }
  21071. /**
  21072. * Sets the map `key` to `value`.
  21073. *
  21074. * @private
  21075. * @name set
  21076. * @memberOf MapCache
  21077. * @param {string} key The key of the value to set.
  21078. * @param {*} value The value to set.
  21079. * @returns {Object} Returns the map cache instance.
  21080. */
  21081. function mapCacheSet(key, value) {
  21082. getMapData(this, key).set(key, value);
  21083. return this;
  21084. }
  21085. // Add methods to `MapCache`.
  21086. MapCache.prototype.clear = mapCacheClear;
  21087. MapCache.prototype['delete'] = mapCacheDelete;
  21088. MapCache.prototype.get = mapCacheGet;
  21089. MapCache.prototype.has = mapCacheHas;
  21090. MapCache.prototype.set = mapCacheSet;
  21091. /**
  21092. * Creates a stack cache object to store key-value pairs.
  21093. *
  21094. * @private
  21095. * @constructor
  21096. * @param {Array} [entries] The key-value pairs to cache.
  21097. */
  21098. function Stack(entries) {
  21099. this.__data__ = new ListCache(entries);
  21100. }
  21101. /**
  21102. * Removes all key-value entries from the stack.
  21103. *
  21104. * @private
  21105. * @name clear
  21106. * @memberOf Stack
  21107. */
  21108. function stackClear() {
  21109. this.__data__ = new ListCache;
  21110. }
  21111. /**
  21112. * Removes `key` and its value from the stack.
  21113. *
  21114. * @private
  21115. * @name delete
  21116. * @memberOf Stack
  21117. * @param {string} key The key of the value to remove.
  21118. * @returns {boolean} Returns `true` if the entry was removed, else `false`.
  21119. */
  21120. function stackDelete(key) {
  21121. return this.__data__['delete'](key);
  21122. }
  21123. /**
  21124. * Gets the stack value for `key`.
  21125. *
  21126. * @private
  21127. * @name get
  21128. * @memberOf Stack
  21129. * @param {string} key The key of the value to get.
  21130. * @returns {*} Returns the entry value.
  21131. */
  21132. function stackGet(key) {
  21133. return this.__data__.get(key);
  21134. }
  21135. /**
  21136. * Checks if a stack value for `key` exists.
  21137. *
  21138. * @private
  21139. * @name has
  21140. * @memberOf Stack
  21141. * @param {string} key The key of the entry to check.
  21142. * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
  21143. */
  21144. function stackHas(key) {
  21145. return this.__data__.has(key);
  21146. }
  21147. /**
  21148. * Sets the stack `key` to `value`.
  21149. *
  21150. * @private
  21151. * @name set
  21152. * @memberOf Stack
  21153. * @param {string} key The key of the value to set.
  21154. * @param {*} value The value to set.
  21155. * @returns {Object} Returns the stack cache instance.
  21156. */
  21157. function stackSet(key, value) {
  21158. var cache = this.__data__;
  21159. if (cache instanceof ListCache) {
  21160. var pairs = cache.__data__;
  21161. if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
  21162. pairs.push([key, value]);
  21163. return this;
  21164. }
  21165. cache = this.__data__ = new MapCache(pairs);
  21166. }
  21167. cache.set(key, value);
  21168. return this;
  21169. }
  21170. // Add methods to `Stack`.
  21171. Stack.prototype.clear = stackClear;
  21172. Stack.prototype['delete'] = stackDelete;
  21173. Stack.prototype.get = stackGet;
  21174. Stack.prototype.has = stackHas;
  21175. Stack.prototype.set = stackSet;
  21176. /**
  21177. * Creates an array of the enumerable property names of the array-like `value`.
  21178. *
  21179. * @private
  21180. * @param {*} value The value to query.
  21181. * @param {boolean} inherited Specify returning inherited property names.
  21182. * @returns {Array} Returns the array of property names.
  21183. */
  21184. function arrayLikeKeys(value, inherited) {
  21185. // Safari 8.1 makes `arguments.callee` enumerable in strict mode.
  21186. // Safari 9 makes `arguments.length` enumerable in strict mode.
  21187. var result = (isArray(value) || isArguments(value))
  21188. ? baseTimes(value.length, String)
  21189. : [];
  21190. var length = result.length,
  21191. skipIndexes = !!length;
  21192. for (var key in value) {
  21193. if ((inherited || hasOwnProperty.call(value, key)) &&
  21194. !(skipIndexes && (key == 'length' || isIndex(key, length)))) {
  21195. result.push(key);
  21196. }
  21197. }
  21198. return result;
  21199. }
  21200. /**
  21201. * Assigns `value` to `key` of `object` if the existing value is not equivalent
  21202. * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
  21203. * for equality comparisons.
  21204. *
  21205. * @private
  21206. * @param {Object} object The object to modify.
  21207. * @param {string} key The key of the property to assign.
  21208. * @param {*} value The value to assign.
  21209. */
  21210. function assignValue(object, key, value) {
  21211. var objValue = object[key];
  21212. if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||
  21213. (value === undefined && !(key in object))) {
  21214. object[key] = value;
  21215. }
  21216. }
  21217. /**
  21218. * Gets the index at which the `key` is found in `array` of key-value pairs.
  21219. *
  21220. * @private
  21221. * @param {Array} array The array to inspect.
  21222. * @param {*} key The key to search for.
  21223. * @returns {number} Returns the index of the matched value, else `-1`.
  21224. */
  21225. function assocIndexOf(array, key) {
  21226. var length = array.length;
  21227. while (length--) {
  21228. if (eq(array[length][0], key)) {
  21229. return length;
  21230. }
  21231. }
  21232. return -1;
  21233. }
  21234. /**
  21235. * The base implementation of `_.assign` without support for multiple sources
  21236. * or `customizer` functions.
  21237. *
  21238. * @private
  21239. * @param {Object} object The destination object.
  21240. * @param {Object} source The source object.
  21241. * @returns {Object} Returns `object`.
  21242. */
  21243. function baseAssign(object, source) {
  21244. return object && copyObject(source, keys(source), object);
  21245. }
  21246. /**
  21247. * The base implementation of `_.clone` and `_.cloneDeep` which tracks
  21248. * traversed objects.
  21249. *
  21250. * @private
  21251. * @param {*} value The value to clone.
  21252. * @param {boolean} [isDeep] Specify a deep clone.
  21253. * @param {boolean} [isFull] Specify a clone including symbols.
  21254. * @param {Function} [customizer] The function to customize cloning.
  21255. * @param {string} [key] The key of `value`.
  21256. * @param {Object} [object] The parent object of `value`.
  21257. * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
  21258. * @returns {*} Returns the cloned value.
  21259. */
  21260. function baseClone(value, isDeep, isFull, customizer, key, object, stack) {
  21261. var result;
  21262. if (customizer) {
  21263. result = object ? customizer(value, key, object, stack) : customizer(value);
  21264. }
  21265. if (result !== undefined) {
  21266. return result;
  21267. }
  21268. if (!isObject(value)) {
  21269. return value;
  21270. }
  21271. var isArr = isArray(value);
  21272. if (isArr) {
  21273. result = initCloneArray(value);
  21274. if (!isDeep) {
  21275. return copyArray(value, result);
  21276. }
  21277. } else {
  21278. var tag = getTag(value),
  21279. isFunc = tag == funcTag || tag == genTag;
  21280. if (isBuffer(value)) {
  21281. return cloneBuffer(value, isDeep);
  21282. }
  21283. if (tag == objectTag || tag == argsTag || (isFunc && !object)) {
  21284. if (isHostObject(value)) {
  21285. return object ? value : {};
  21286. }
  21287. result = initCloneObject(isFunc ? {} : value);
  21288. if (!isDeep) {
  21289. return copySymbols(value, baseAssign(result, value));
  21290. }
  21291. } else {
  21292. if (!cloneableTags[tag]) {
  21293. return object ? value : {};
  21294. }
  21295. result = initCloneByTag(value, tag, baseClone, isDeep);
  21296. }
  21297. }
  21298. // Check for circular references and return its corresponding clone.
  21299. stack || (stack = new Stack);
  21300. var stacked = stack.get(value);
  21301. if (stacked) {
  21302. return stacked;
  21303. }
  21304. stack.set(value, result);
  21305. if (!isArr) {
  21306. var props = isFull ? getAllKeys(value) : keys(value);
  21307. }
  21308. arrayEach(props || value, function(subValue, key) {
  21309. if (props) {
  21310. key = subValue;
  21311. subValue = value[key];
  21312. }
  21313. // Recursively populate clone (susceptible to call stack limits).
  21314. assignValue(result, key, baseClone(subValue, isDeep, isFull, customizer, key, value, stack));
  21315. });
  21316. return result;
  21317. }
  21318. /**
  21319. * The base implementation of `_.create` without support for assigning
  21320. * properties to the created object.
  21321. *
  21322. * @private
  21323. * @param {Object} prototype The object to inherit from.
  21324. * @returns {Object} Returns the new object.
  21325. */
  21326. function baseCreate(proto) {
  21327. return isObject(proto) ? objectCreate(proto) : {};
  21328. }
  21329. /**
  21330. * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
  21331. * `keysFunc` and `symbolsFunc` to get the enumerable property names and
  21332. * symbols of `object`.
  21333. *
  21334. * @private
  21335. * @param {Object} object The object to query.
  21336. * @param {Function} keysFunc The function to get the keys of `object`.
  21337. * @param {Function} symbolsFunc The function to get the symbols of `object`.
  21338. * @returns {Array} Returns the array of property names and symbols.
  21339. */
  21340. function baseGetAllKeys(object, keysFunc, symbolsFunc) {
  21341. var result = keysFunc(object);
  21342. return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
  21343. }
  21344. /**
  21345. * The base implementation of `getTag`.
  21346. *
  21347. * @private
  21348. * @param {*} value The value to query.
  21349. * @returns {string} Returns the `toStringTag`.
  21350. */
  21351. function baseGetTag(value) {
  21352. return objectToString.call(value);
  21353. }
  21354. /**
  21355. * The base implementation of `_.isNative` without bad shim checks.
  21356. *
  21357. * @private
  21358. * @param {*} value The value to check.
  21359. * @returns {boolean} Returns `true` if `value` is a native function,
  21360. * else `false`.
  21361. */
  21362. function baseIsNative(value) {
  21363. if (!isObject(value) || isMasked(value)) {
  21364. return false;
  21365. }
  21366. var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;
  21367. return pattern.test(toSource(value));
  21368. }
  21369. /**
  21370. * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
  21371. *
  21372. * @private
  21373. * @param {Object} object The object to query.
  21374. * @returns {Array} Returns the array of property names.
  21375. */
  21376. function baseKeys(object) {
  21377. if (!isPrototype(object)) {
  21378. return nativeKeys(object);
  21379. }
  21380. var result = [];
  21381. for (var key in Object(object)) {
  21382. if (hasOwnProperty.call(object, key) && key != 'constructor') {
  21383. result.push(key);
  21384. }
  21385. }
  21386. return result;
  21387. }
  21388. /**
  21389. * Creates a clone of `buffer`.
  21390. *
  21391. * @private
  21392. * @param {Buffer} buffer The buffer to clone.
  21393. * @param {boolean} [isDeep] Specify a deep clone.
  21394. * @returns {Buffer} Returns the cloned buffer.
  21395. */
  21396. function cloneBuffer(buffer, isDeep) {
  21397. if (isDeep) {
  21398. return buffer.slice();
  21399. }
  21400. var result = new buffer.constructor(buffer.length);
  21401. buffer.copy(result);
  21402. return result;
  21403. }
  21404. /**
  21405. * Creates a clone of `arrayBuffer`.
  21406. *
  21407. * @private
  21408. * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
  21409. * @returns {ArrayBuffer} Returns the cloned array buffer.
  21410. */
  21411. function cloneArrayBuffer(arrayBuffer) {
  21412. var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
  21413. new Uint8Array(result).set(new Uint8Array(arrayBuffer));
  21414. return result;
  21415. }
  21416. /**
  21417. * Creates a clone of `dataView`.
  21418. *
  21419. * @private
  21420. * @param {Object} dataView The data view to clone.
  21421. * @param {boolean} [isDeep] Specify a deep clone.
  21422. * @returns {Object} Returns the cloned data view.
  21423. */
  21424. function cloneDataView(dataView, isDeep) {
  21425. var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
  21426. return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
  21427. }
  21428. /**
  21429. * Creates a clone of `map`.
  21430. *
  21431. * @private
  21432. * @param {Object} map The map to clone.
  21433. * @param {Function} cloneFunc The function to clone values.
  21434. * @param {boolean} [isDeep] Specify a deep clone.
  21435. * @returns {Object} Returns the cloned map.
  21436. */
  21437. function cloneMap(map, isDeep, cloneFunc) {
  21438. var array = isDeep ? cloneFunc(mapToArray(map), true) : mapToArray(map);
  21439. return arrayReduce(array, addMapEntry, new map.constructor);
  21440. }
  21441. /**
  21442. * Creates a clone of `regexp`.
  21443. *
  21444. * @private
  21445. * @param {Object} regexp The regexp to clone.
  21446. * @returns {Object} Returns the cloned regexp.
  21447. */
  21448. function cloneRegExp(regexp) {
  21449. var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
  21450. result.lastIndex = regexp.lastIndex;
  21451. return result;
  21452. }
  21453. /**
  21454. * Creates a clone of `set`.
  21455. *
  21456. * @private
  21457. * @param {Object} set The set to clone.
  21458. * @param {Function} cloneFunc The function to clone values.
  21459. * @param {boolean} [isDeep] Specify a deep clone.
  21460. * @returns {Object} Returns the cloned set.
  21461. */
  21462. function cloneSet(set, isDeep, cloneFunc) {
  21463. var array = isDeep ? cloneFunc(setToArray(set), true) : setToArray(set);
  21464. return arrayReduce(array, addSetEntry, new set.constructor);
  21465. }
  21466. /**
  21467. * Creates a clone of the `symbol` object.
  21468. *
  21469. * @private
  21470. * @param {Object} symbol The symbol object to clone.
  21471. * @returns {Object} Returns the cloned symbol object.
  21472. */
  21473. function cloneSymbol(symbol) {
  21474. return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
  21475. }
  21476. /**
  21477. * Creates a clone of `typedArray`.
  21478. *
  21479. * @private
  21480. * @param {Object} typedArray The typed array to clone.
  21481. * @param {boolean} [isDeep] Specify a deep clone.
  21482. * @returns {Object} Returns the cloned typed array.
  21483. */
  21484. function cloneTypedArray(typedArray, isDeep) {
  21485. var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
  21486. return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
  21487. }
  21488. /**
  21489. * Copies the values of `source` to `array`.
  21490. *
  21491. * @private
  21492. * @param {Array} source The array to copy values from.
  21493. * @param {Array} [array=[]] The array to copy values to.
  21494. * @returns {Array} Returns `array`.
  21495. */
  21496. function copyArray(source, array) {
  21497. var index = -1,
  21498. length = source.length;
  21499. array || (array = Array(length));
  21500. while (++index < length) {
  21501. array[index] = source[index];
  21502. }
  21503. return array;
  21504. }
  21505. /**
  21506. * Copies properties of `source` to `object`.
  21507. *
  21508. * @private
  21509. * @param {Object} source The object to copy properties from.
  21510. * @param {Array} props The property identifiers to copy.
  21511. * @param {Object} [object={}] The object to copy properties to.
  21512. * @param {Function} [customizer] The function to customize copied values.
  21513. * @returns {Object} Returns `object`.
  21514. */
  21515. function copyObject(source, props, object, customizer) {
  21516. object || (object = {});
  21517. var index = -1,
  21518. length = props.length;
  21519. while (++index < length) {
  21520. var key = props[index];
  21521. var newValue = customizer
  21522. ? customizer(object[key], source[key], key, object, source)
  21523. : undefined;
  21524. assignValue(object, key, newValue === undefined ? source[key] : newValue);
  21525. }
  21526. return object;
  21527. }
  21528. /**
  21529. * Copies own symbol properties of `source` to `object`.
  21530. *
  21531. * @private
  21532. * @param {Object} source The object to copy symbols from.
  21533. * @param {Object} [object={}] The object to copy symbols to.
  21534. * @returns {Object} Returns `object`.
  21535. */
  21536. function copySymbols(source, object) {
  21537. return copyObject(source, getSymbols(source), object);
  21538. }
  21539. /**
  21540. * Creates an array of own enumerable property names and symbols of `object`.
  21541. *
  21542. * @private
  21543. * @param {Object} object The object to query.
  21544. * @returns {Array} Returns the array of property names and symbols.
  21545. */
  21546. function getAllKeys(object) {
  21547. return baseGetAllKeys(object, keys, getSymbols);
  21548. }
  21549. /**
  21550. * Gets the data for `map`.
  21551. *
  21552. * @private
  21553. * @param {Object} map The map to query.
  21554. * @param {string} key The reference key.
  21555. * @returns {*} Returns the map data.
  21556. */
  21557. function getMapData(map, key) {
  21558. var data = map.__data__;
  21559. return isKeyable(key)
  21560. ? data[typeof key == 'string' ? 'string' : 'hash']
  21561. : data.map;
  21562. }
  21563. /**
  21564. * Gets the native function at `key` of `object`.
  21565. *
  21566. * @private
  21567. * @param {Object} object The object to query.
  21568. * @param {string} key The key of the method to get.
  21569. * @returns {*} Returns the function if it's native, else `undefined`.
  21570. */
  21571. function getNative(object, key) {
  21572. var value = getValue(object, key);
  21573. return baseIsNative(value) ? value : undefined;
  21574. }
  21575. /**
  21576. * Creates an array of the own enumerable symbol properties of `object`.
  21577. *
  21578. * @private
  21579. * @param {Object} object The object to query.
  21580. * @returns {Array} Returns the array of symbols.
  21581. */
  21582. var getSymbols = nativeGetSymbols ? overArg(nativeGetSymbols, Object) : stubArray;
  21583. /**
  21584. * Gets the `toStringTag` of `value`.
  21585. *
  21586. * @private
  21587. * @param {*} value The value to query.
  21588. * @returns {string} Returns the `toStringTag`.
  21589. */
  21590. var getTag = baseGetTag;
  21591. // Fallback for data views, maps, sets, and weak maps in IE 11,
  21592. // for data views in Edge < 14, and promises in Node.js.
  21593. if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
  21594. (Map && getTag(new Map) != mapTag) ||
  21595. (Promise && getTag(Promise.resolve()) != promiseTag) ||
  21596. (Set && getTag(new Set) != setTag) ||
  21597. (WeakMap && getTag(new WeakMap) != weakMapTag)) {
  21598. getTag = function(value) {
  21599. var result = objectToString.call(value),
  21600. Ctor = result == objectTag ? value.constructor : undefined,
  21601. ctorString = Ctor ? toSource(Ctor) : undefined;
  21602. if (ctorString) {
  21603. switch (ctorString) {
  21604. case dataViewCtorString: return dataViewTag;
  21605. case mapCtorString: return mapTag;
  21606. case promiseCtorString: return promiseTag;
  21607. case setCtorString: return setTag;
  21608. case weakMapCtorString: return weakMapTag;
  21609. }
  21610. }
  21611. return result;
  21612. };
  21613. }
  21614. /**
  21615. * Initializes an array clone.
  21616. *
  21617. * @private
  21618. * @param {Array} array The array to clone.
  21619. * @returns {Array} Returns the initialized clone.
  21620. */
  21621. function initCloneArray(array) {
  21622. var length = array.length,
  21623. result = array.constructor(length);
  21624. // Add properties assigned by `RegExp#exec`.
  21625. if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {
  21626. result.index = array.index;
  21627. result.input = array.input;
  21628. }
  21629. return result;
  21630. }
  21631. /**
  21632. * Initializes an object clone.
  21633. *
  21634. * @private
  21635. * @param {Object} object The object to clone.
  21636. * @returns {Object} Returns the initialized clone.
  21637. */
  21638. function initCloneObject(object) {
  21639. return (typeof object.constructor == 'function' && !isPrototype(object))
  21640. ? baseCreate(getPrototype(object))
  21641. : {};
  21642. }
  21643. /**
  21644. * Initializes an object clone based on its `toStringTag`.
  21645. *
  21646. * **Note:** This function only supports cloning values with tags of
  21647. * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
  21648. *
  21649. * @private
  21650. * @param {Object} object The object to clone.
  21651. * @param {string} tag The `toStringTag` of the object to clone.
  21652. * @param {Function} cloneFunc The function to clone values.
  21653. * @param {boolean} [isDeep] Specify a deep clone.
  21654. * @returns {Object} Returns the initialized clone.
  21655. */
  21656. function initCloneByTag(object, tag, cloneFunc, isDeep) {
  21657. var Ctor = object.constructor;
  21658. switch (tag) {
  21659. case arrayBufferTag:
  21660. return cloneArrayBuffer(object);
  21661. case boolTag:
  21662. case dateTag:
  21663. return new Ctor(+object);
  21664. case dataViewTag:
  21665. return cloneDataView(object, isDeep);
  21666. case float32Tag: case float64Tag:
  21667. case int8Tag: case int16Tag: case int32Tag:
  21668. case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:
  21669. return cloneTypedArray(object, isDeep);
  21670. case mapTag:
  21671. return cloneMap(object, isDeep, cloneFunc);
  21672. case numberTag:
  21673. case stringTag:
  21674. return new Ctor(object);
  21675. case regexpTag:
  21676. return cloneRegExp(object);
  21677. case setTag:
  21678. return cloneSet(object, isDeep, cloneFunc);
  21679. case symbolTag:
  21680. return cloneSymbol(object);
  21681. }
  21682. }
  21683. /**
  21684. * Checks if `value` is a valid array-like index.
  21685. *
  21686. * @private
  21687. * @param {*} value The value to check.
  21688. * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
  21689. * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
  21690. */
  21691. function isIndex(value, length) {
  21692. length = length == null ? MAX_SAFE_INTEGER : length;
  21693. return !!length &&
  21694. (typeof value == 'number' || reIsUint.test(value)) &&
  21695. (value > -1 && value % 1 == 0 && value < length);
  21696. }
  21697. /**
  21698. * Checks if `value` is suitable for use as unique object key.
  21699. *
  21700. * @private
  21701. * @param {*} value The value to check.
  21702. * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
  21703. */
  21704. function isKeyable(value) {
  21705. var type = typeof value;
  21706. return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
  21707. ? (value !== '__proto__')
  21708. : (value === null);
  21709. }
  21710. /**
  21711. * Checks if `func` has its source masked.
  21712. *
  21713. * @private
  21714. * @param {Function} func The function to check.
  21715. * @returns {boolean} Returns `true` if `func` is masked, else `false`.
  21716. */
  21717. function isMasked(func) {
  21718. return !!maskSrcKey && (maskSrcKey in func);
  21719. }
  21720. /**
  21721. * Checks if `value` is likely a prototype object.
  21722. *
  21723. * @private
  21724. * @param {*} value The value to check.
  21725. * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
  21726. */
  21727. function isPrototype(value) {
  21728. var Ctor = value && value.constructor,
  21729. proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
  21730. return value === proto;
  21731. }
  21732. /**
  21733. * Converts `func` to its source code.
  21734. *
  21735. * @private
  21736. * @param {Function} func The function to process.
  21737. * @returns {string} Returns the source code.
  21738. */
  21739. function toSource(func) {
  21740. if (func != null) {
  21741. try {
  21742. return funcToString.call(func);
  21743. } catch (e) {}
  21744. try {
  21745. return (func + '');
  21746. } catch (e) {}
  21747. }
  21748. return '';
  21749. }
  21750. /**
  21751. * This method is like `_.clone` except that it recursively clones `value`.
  21752. *
  21753. * @static
  21754. * @memberOf _
  21755. * @since 1.0.0
  21756. * @category Lang
  21757. * @param {*} value The value to recursively clone.
  21758. * @returns {*} Returns the deep cloned value.
  21759. * @see _.clone
  21760. * @example
  21761. *
  21762. * var objects = [{ 'a': 1 }, { 'b': 2 }];
  21763. *
  21764. * var deep = _.cloneDeep(objects);
  21765. * console.log(deep[0] === objects[0]);
  21766. * // => false
  21767. */
  21768. function cloneDeep(value) {
  21769. return baseClone(value, true, true);
  21770. }
  21771. /**
  21772. * Performs a
  21773. * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
  21774. * comparison between two values to determine if they are equivalent.
  21775. *
  21776. * @static
  21777. * @memberOf _
  21778. * @since 4.0.0
  21779. * @category Lang
  21780. * @param {*} value The value to compare.
  21781. * @param {*} other The other value to compare.
  21782. * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
  21783. * @example
  21784. *
  21785. * var object = { 'a': 1 };
  21786. * var other = { 'a': 1 };
  21787. *
  21788. * _.eq(object, object);
  21789. * // => true
  21790. *
  21791. * _.eq(object, other);
  21792. * // => false
  21793. *
  21794. * _.eq('a', 'a');
  21795. * // => true
  21796. *
  21797. * _.eq('a', Object('a'));
  21798. * // => false
  21799. *
  21800. * _.eq(NaN, NaN);
  21801. * // => true
  21802. */
  21803. function eq(value, other) {
  21804. return value === other || (value !== value && other !== other);
  21805. }
  21806. /**
  21807. * Checks if `value` is likely an `arguments` object.
  21808. *
  21809. * @static
  21810. * @memberOf _
  21811. * @since 0.1.0
  21812. * @category Lang
  21813. * @param {*} value The value to check.
  21814. * @returns {boolean} Returns `true` if `value` is an `arguments` object,
  21815. * else `false`.
  21816. * @example
  21817. *
  21818. * _.isArguments(function() { return arguments; }());
  21819. * // => true
  21820. *
  21821. * _.isArguments([1, 2, 3]);
  21822. * // => false
  21823. */
  21824. function isArguments(value) {
  21825. // Safari 8.1 makes `arguments.callee` enumerable in strict mode.
  21826. return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') &&
  21827. (!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag);
  21828. }
  21829. /**
  21830. * Checks if `value` is classified as an `Array` object.
  21831. *
  21832. * @static
  21833. * @memberOf _
  21834. * @since 0.1.0
  21835. * @category Lang
  21836. * @param {*} value The value to check.
  21837. * @returns {boolean} Returns `true` if `value` is an array, else `false`.
  21838. * @example
  21839. *
  21840. * _.isArray([1, 2, 3]);
  21841. * // => true
  21842. *
  21843. * _.isArray(document.body.children);
  21844. * // => false
  21845. *
  21846. * _.isArray('abc');
  21847. * // => false
  21848. *
  21849. * _.isArray(_.noop);
  21850. * // => false
  21851. */
  21852. var isArray = Array.isArray;
  21853. /**
  21854. * Checks if `value` is array-like. A value is considered array-like if it's
  21855. * not a function and has a `value.length` that's an integer greater than or
  21856. * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
  21857. *
  21858. * @static
  21859. * @memberOf _
  21860. * @since 4.0.0
  21861. * @category Lang
  21862. * @param {*} value The value to check.
  21863. * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
  21864. * @example
  21865. *
  21866. * _.isArrayLike([1, 2, 3]);
  21867. * // => true
  21868. *
  21869. * _.isArrayLike(document.body.children);
  21870. * // => true
  21871. *
  21872. * _.isArrayLike('abc');
  21873. * // => true
  21874. *
  21875. * _.isArrayLike(_.noop);
  21876. * // => false
  21877. */
  21878. function isArrayLike(value) {
  21879. return value != null && isLength(value.length) && !isFunction(value);
  21880. }
  21881. /**
  21882. * This method is like `_.isArrayLike` except that it also checks if `value`
  21883. * is an object.
  21884. *
  21885. * @static
  21886. * @memberOf _
  21887. * @since 4.0.0
  21888. * @category Lang
  21889. * @param {*} value The value to check.
  21890. * @returns {boolean} Returns `true` if `value` is an array-like object,
  21891. * else `false`.
  21892. * @example
  21893. *
  21894. * _.isArrayLikeObject([1, 2, 3]);
  21895. * // => true
  21896. *
  21897. * _.isArrayLikeObject(document.body.children);
  21898. * // => true
  21899. *
  21900. * _.isArrayLikeObject('abc');
  21901. * // => false
  21902. *
  21903. * _.isArrayLikeObject(_.noop);
  21904. * // => false
  21905. */
  21906. function isArrayLikeObject(value) {
  21907. return isObjectLike(value) && isArrayLike(value);
  21908. }
  21909. /**
  21910. * Checks if `value` is a buffer.
  21911. *
  21912. * @static
  21913. * @memberOf _
  21914. * @since 4.3.0
  21915. * @category Lang
  21916. * @param {*} value The value to check.
  21917. * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
  21918. * @example
  21919. *
  21920. * _.isBuffer(new Buffer(2));
  21921. * // => true
  21922. *
  21923. * _.isBuffer(new Uint8Array(2));
  21924. * // => false
  21925. */
  21926. var isBuffer = nativeIsBuffer || stubFalse;
  21927. /**
  21928. * Checks if `value` is classified as a `Function` object.
  21929. *
  21930. * @static
  21931. * @memberOf _
  21932. * @since 0.1.0
  21933. * @category Lang
  21934. * @param {*} value The value to check.
  21935. * @returns {boolean} Returns `true` if `value` is a function, else `false`.
  21936. * @example
  21937. *
  21938. * _.isFunction(_);
  21939. * // => true
  21940. *
  21941. * _.isFunction(/abc/);
  21942. * // => false
  21943. */
  21944. function isFunction(value) {
  21945. // The use of `Object#toString` avoids issues with the `typeof` operator
  21946. // in Safari 8-9 which returns 'object' for typed array and other constructors.
  21947. var tag = isObject(value) ? objectToString.call(value) : '';
  21948. return tag == funcTag || tag == genTag;
  21949. }
  21950. /**
  21951. * Checks if `value` is a valid array-like length.
  21952. *
  21953. * **Note:** This method is loosely based on
  21954. * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
  21955. *
  21956. * @static
  21957. * @memberOf _
  21958. * @since 4.0.0
  21959. * @category Lang
  21960. * @param {*} value The value to check.
  21961. * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
  21962. * @example
  21963. *
  21964. * _.isLength(3);
  21965. * // => true
  21966. *
  21967. * _.isLength(Number.MIN_VALUE);
  21968. * // => false
  21969. *
  21970. * _.isLength(Infinity);
  21971. * // => false
  21972. *
  21973. * _.isLength('3');
  21974. * // => false
  21975. */
  21976. function isLength(value) {
  21977. return typeof value == 'number' &&
  21978. value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
  21979. }
  21980. /**
  21981. * Checks if `value` is the
  21982. * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
  21983. * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
  21984. *
  21985. * @static
  21986. * @memberOf _
  21987. * @since 0.1.0
  21988. * @category Lang
  21989. * @param {*} value The value to check.
  21990. * @returns {boolean} Returns `true` if `value` is an object, else `false`.
  21991. * @example
  21992. *
  21993. * _.isObject({});
  21994. * // => true
  21995. *
  21996. * _.isObject([1, 2, 3]);
  21997. * // => true
  21998. *
  21999. * _.isObject(_.noop);
  22000. * // => true
  22001. *
  22002. * _.isObject(null);
  22003. * // => false
  22004. */
  22005. function isObject(value) {
  22006. var type = typeof value;
  22007. return !!value && (type == 'object' || type == 'function');
  22008. }
  22009. /**
  22010. * Checks if `value` is object-like. A value is object-like if it's not `null`
  22011. * and has a `typeof` result of "object".
  22012. *
  22013. * @static
  22014. * @memberOf _
  22015. * @since 4.0.0
  22016. * @category Lang
  22017. * @param {*} value The value to check.
  22018. * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
  22019. * @example
  22020. *
  22021. * _.isObjectLike({});
  22022. * // => true
  22023. *
  22024. * _.isObjectLike([1, 2, 3]);
  22025. * // => true
  22026. *
  22027. * _.isObjectLike(_.noop);
  22028. * // => false
  22029. *
  22030. * _.isObjectLike(null);
  22031. * // => false
  22032. */
  22033. function isObjectLike(value) {
  22034. return !!value && typeof value == 'object';
  22035. }
  22036. /**
  22037. * Creates an array of the own enumerable property names of `object`.
  22038. *
  22039. * **Note:** Non-object values are coerced to objects. See the
  22040. * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
  22041. * for more details.
  22042. *
  22043. * @static
  22044. * @since 0.1.0
  22045. * @memberOf _
  22046. * @category Object
  22047. * @param {Object} object The object to query.
  22048. * @returns {Array} Returns the array of property names.
  22049. * @example
  22050. *
  22051. * function Foo() {
  22052. * this.a = 1;
  22053. * this.b = 2;
  22054. * }
  22055. *
  22056. * Foo.prototype.c = 3;
  22057. *
  22058. * _.keys(new Foo);
  22059. * // => ['a', 'b'] (iteration order is not guaranteed)
  22060. *
  22061. * _.keys('hi');
  22062. * // => ['0', '1']
  22063. */
  22064. function keys(object) {
  22065. return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
  22066. }
  22067. /**
  22068. * This method returns a new empty array.
  22069. *
  22070. * @static
  22071. * @memberOf _
  22072. * @since 4.13.0
  22073. * @category Util
  22074. * @returns {Array} Returns the new empty array.
  22075. * @example
  22076. *
  22077. * var arrays = _.times(2, _.stubArray);
  22078. *
  22079. * console.log(arrays);
  22080. * // => [[], []]
  22081. *
  22082. * console.log(arrays[0] === arrays[1]);
  22083. * // => false
  22084. */
  22085. function stubArray() {
  22086. return [];
  22087. }
  22088. /**
  22089. * This method returns `false`.
  22090. *
  22091. * @static
  22092. * @memberOf _
  22093. * @since 4.13.0
  22094. * @category Util
  22095. * @returns {boolean} Returns `false`.
  22096. * @example
  22097. *
  22098. * _.times(2, _.stubFalse);
  22099. * // => [false, false]
  22100. */
  22101. function stubFalse() {
  22102. return false;
  22103. }
  22104. module.exports = cloneDeep;
  22105. /***/ }),
  22106. /***/ "./node_modules/lodash.isequal/index.js":
  22107. /*!**********************************************!*\
  22108. !*** ./node_modules/lodash.isequal/index.js ***!
  22109. \**********************************************/
  22110. /***/ ((module, exports, __webpack_require__) => {
  22111. /* module decorator */ module = __webpack_require__.nmd(module);
  22112. /**
  22113. * Lodash (Custom Build) <https://lodash.com/>
  22114. * Build: `lodash modularize exports="npm" -o ./`
  22115. * Copyright JS Foundation and other contributors <https://js.foundation/>
  22116. * Released under MIT license <https://lodash.com/license>
  22117. * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
  22118. * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
  22119. */
  22120. /** Used as the size to enable large array optimizations. */
  22121. var LARGE_ARRAY_SIZE = 200;
  22122. /** Used to stand-in for `undefined` hash values. */
  22123. var HASH_UNDEFINED = '__lodash_hash_undefined__';
  22124. /** Used to compose bitmasks for value comparisons. */
  22125. var COMPARE_PARTIAL_FLAG = 1,
  22126. COMPARE_UNORDERED_FLAG = 2;
  22127. /** Used as references for various `Number` constants. */
  22128. var MAX_SAFE_INTEGER = 9007199254740991;
  22129. /** `Object#toString` result references. */
  22130. var argsTag = '[object Arguments]',
  22131. arrayTag = '[object Array]',
  22132. asyncTag = '[object AsyncFunction]',
  22133. boolTag = '[object Boolean]',
  22134. dateTag = '[object Date]',
  22135. errorTag = '[object Error]',
  22136. funcTag = '[object Function]',
  22137. genTag = '[object GeneratorFunction]',
  22138. mapTag = '[object Map]',
  22139. numberTag = '[object Number]',
  22140. nullTag = '[object Null]',
  22141. objectTag = '[object Object]',
  22142. promiseTag = '[object Promise]',
  22143. proxyTag = '[object Proxy]',
  22144. regexpTag = '[object RegExp]',
  22145. setTag = '[object Set]',
  22146. stringTag = '[object String]',
  22147. symbolTag = '[object Symbol]',
  22148. undefinedTag = '[object Undefined]',
  22149. weakMapTag = '[object WeakMap]';
  22150. var arrayBufferTag = '[object ArrayBuffer]',
  22151. dataViewTag = '[object DataView]',
  22152. float32Tag = '[object Float32Array]',
  22153. float64Tag = '[object Float64Array]',
  22154. int8Tag = '[object Int8Array]',
  22155. int16Tag = '[object Int16Array]',
  22156. int32Tag = '[object Int32Array]',
  22157. uint8Tag = '[object Uint8Array]',
  22158. uint8ClampedTag = '[object Uint8ClampedArray]',
  22159. uint16Tag = '[object Uint16Array]',
  22160. uint32Tag = '[object Uint32Array]';
  22161. /**
  22162. * Used to match `RegExp`
  22163. * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
  22164. */
  22165. var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
  22166. /** Used to detect host constructors (Safari). */
  22167. var reIsHostCtor = /^\[object .+?Constructor\]$/;
  22168. /** Used to detect unsigned integer values. */
  22169. var reIsUint = /^(?:0|[1-9]\d*)$/;
  22170. /** Used to identify `toStringTag` values of typed arrays. */
  22171. var typedArrayTags = {};
  22172. typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
  22173. typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
  22174. typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
  22175. typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
  22176. typedArrayTags[uint32Tag] = true;
  22177. typedArrayTags[argsTag] = typedArrayTags[arrayTag] =
  22178. typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
  22179. typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =
  22180. typedArrayTags[errorTag] = typedArrayTags[funcTag] =
  22181. typedArrayTags[mapTag] = typedArrayTags[numberTag] =
  22182. typedArrayTags[objectTag] = typedArrayTags[regexpTag] =
  22183. typedArrayTags[setTag] = typedArrayTags[stringTag] =
  22184. typedArrayTags[weakMapTag] = false;
  22185. /** Detect free variable `global` from Node.js. */
  22186. var freeGlobal = typeof __webpack_require__.g == 'object' && __webpack_require__.g && __webpack_require__.g.Object === Object && __webpack_require__.g;
  22187. /** Detect free variable `self`. */
  22188. var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
  22189. /** Used as a reference to the global object. */
  22190. var root = freeGlobal || freeSelf || Function('return this')();
  22191. /** Detect free variable `exports`. */
  22192. var freeExports = true && exports && !exports.nodeType && exports;
  22193. /** Detect free variable `module`. */
  22194. var freeModule = freeExports && "object" == 'object' && module && !module.nodeType && module;
  22195. /** Detect the popular CommonJS extension `module.exports`. */
  22196. var moduleExports = freeModule && freeModule.exports === freeExports;
  22197. /** Detect free variable `process` from Node.js. */
  22198. var freeProcess = moduleExports && freeGlobal.process;
  22199. /** Used to access faster Node.js helpers. */
  22200. var nodeUtil = (function() {
  22201. try {
  22202. return freeProcess && freeProcess.binding && freeProcess.binding('util');
  22203. } catch (e) {}
  22204. }());
  22205. /* Node.js helper references. */
  22206. var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
  22207. /**
  22208. * A specialized version of `_.filter` for arrays without support for
  22209. * iteratee shorthands.
  22210. *
  22211. * @private
  22212. * @param {Array} [array] The array to iterate over.
  22213. * @param {Function} predicate The function invoked per iteration.
  22214. * @returns {Array} Returns the new filtered array.
  22215. */
  22216. function arrayFilter(array, predicate) {
  22217. var index = -1,
  22218. length = array == null ? 0 : array.length,
  22219. resIndex = 0,
  22220. result = [];
  22221. while (++index < length) {
  22222. var value = array[index];
  22223. if (predicate(value, index, array)) {
  22224. result[resIndex++] = value;
  22225. }
  22226. }
  22227. return result;
  22228. }
  22229. /**
  22230. * Appends the elements of `values` to `array`.
  22231. *
  22232. * @private
  22233. * @param {Array} array The array to modify.
  22234. * @param {Array} values The values to append.
  22235. * @returns {Array} Returns `array`.
  22236. */
  22237. function arrayPush(array, values) {
  22238. var index = -1,
  22239. length = values.length,
  22240. offset = array.length;
  22241. while (++index < length) {
  22242. array[offset + index] = values[index];
  22243. }
  22244. return array;
  22245. }
  22246. /**
  22247. * A specialized version of `_.some` for arrays without support for iteratee
  22248. * shorthands.
  22249. *
  22250. * @private
  22251. * @param {Array} [array] The array to iterate over.
  22252. * @param {Function} predicate The function invoked per iteration.
  22253. * @returns {boolean} Returns `true` if any element passes the predicate check,
  22254. * else `false`.
  22255. */
  22256. function arraySome(array, predicate) {
  22257. var index = -1,
  22258. length = array == null ? 0 : array.length;
  22259. while (++index < length) {
  22260. if (predicate(array[index], index, array)) {
  22261. return true;
  22262. }
  22263. }
  22264. return false;
  22265. }
  22266. /**
  22267. * The base implementation of `_.times` without support for iteratee shorthands
  22268. * or max array length checks.
  22269. *
  22270. * @private
  22271. * @param {number} n The number of times to invoke `iteratee`.
  22272. * @param {Function} iteratee The function invoked per iteration.
  22273. * @returns {Array} Returns the array of results.
  22274. */
  22275. function baseTimes(n, iteratee) {
  22276. var index = -1,
  22277. result = Array(n);
  22278. while (++index < n) {
  22279. result[index] = iteratee(index);
  22280. }
  22281. return result;
  22282. }
  22283. /**
  22284. * The base implementation of `_.unary` without support for storing metadata.
  22285. *
  22286. * @private
  22287. * @param {Function} func The function to cap arguments for.
  22288. * @returns {Function} Returns the new capped function.
  22289. */
  22290. function baseUnary(func) {
  22291. return function(value) {
  22292. return func(value);
  22293. };
  22294. }
  22295. /**
  22296. * Checks if a `cache` value for `key` exists.
  22297. *
  22298. * @private
  22299. * @param {Object} cache The cache to query.
  22300. * @param {string} key The key of the entry to check.
  22301. * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
  22302. */
  22303. function cacheHas(cache, key) {
  22304. return cache.has(key);
  22305. }
  22306. /**
  22307. * Gets the value at `key` of `object`.
  22308. *
  22309. * @private
  22310. * @param {Object} [object] The object to query.
  22311. * @param {string} key The key of the property to get.
  22312. * @returns {*} Returns the property value.
  22313. */
  22314. function getValue(object, key) {
  22315. return object == null ? undefined : object[key];
  22316. }
  22317. /**
  22318. * Converts `map` to its key-value pairs.
  22319. *
  22320. * @private
  22321. * @param {Object} map The map to convert.
  22322. * @returns {Array} Returns the key-value pairs.
  22323. */
  22324. function mapToArray(map) {
  22325. var index = -1,
  22326. result = Array(map.size);
  22327. map.forEach(function(value, key) {
  22328. result[++index] = [key, value];
  22329. });
  22330. return result;
  22331. }
  22332. /**
  22333. * Creates a unary function that invokes `func` with its argument transformed.
  22334. *
  22335. * @private
  22336. * @param {Function} func The function to wrap.
  22337. * @param {Function} transform The argument transform.
  22338. * @returns {Function} Returns the new function.
  22339. */
  22340. function overArg(func, transform) {
  22341. return function(arg) {
  22342. return func(transform(arg));
  22343. };
  22344. }
  22345. /**
  22346. * Converts `set` to an array of its values.
  22347. *
  22348. * @private
  22349. * @param {Object} set The set to convert.
  22350. * @returns {Array} Returns the values.
  22351. */
  22352. function setToArray(set) {
  22353. var index = -1,
  22354. result = Array(set.size);
  22355. set.forEach(function(value) {
  22356. result[++index] = value;
  22357. });
  22358. return result;
  22359. }
  22360. /** Used for built-in method references. */
  22361. var arrayProto = Array.prototype,
  22362. funcProto = Function.prototype,
  22363. objectProto = Object.prototype;
  22364. /** Used to detect overreaching core-js shims. */
  22365. var coreJsData = root['__core-js_shared__'];
  22366. /** Used to resolve the decompiled source of functions. */
  22367. var funcToString = funcProto.toString;
  22368. /** Used to check objects for own properties. */
  22369. var hasOwnProperty = objectProto.hasOwnProperty;
  22370. /** Used to detect methods masquerading as native. */
  22371. var maskSrcKey = (function() {
  22372. var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
  22373. return uid ? ('Symbol(src)_1.' + uid) : '';
  22374. }());
  22375. /**
  22376. * Used to resolve the
  22377. * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
  22378. * of values.
  22379. */
  22380. var nativeObjectToString = objectProto.toString;
  22381. /** Used to detect if a method is native. */
  22382. var reIsNative = RegExp('^' +
  22383. funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
  22384. .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
  22385. );
  22386. /** Built-in value references. */
  22387. var Buffer = moduleExports ? root.Buffer : undefined,
  22388. Symbol = root.Symbol,
  22389. Uint8Array = root.Uint8Array,
  22390. propertyIsEnumerable = objectProto.propertyIsEnumerable,
  22391. splice = arrayProto.splice,
  22392. symToStringTag = Symbol ? Symbol.toStringTag : undefined;
  22393. /* Built-in method references for those with the same name as other `lodash` methods. */
  22394. var nativeGetSymbols = Object.getOwnPropertySymbols,
  22395. nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,
  22396. nativeKeys = overArg(Object.keys, Object);
  22397. /* Built-in method references that are verified to be native. */
  22398. var DataView = getNative(root, 'DataView'),
  22399. Map = getNative(root, 'Map'),
  22400. Promise = getNative(root, 'Promise'),
  22401. Set = getNative(root, 'Set'),
  22402. WeakMap = getNative(root, 'WeakMap'),
  22403. nativeCreate = getNative(Object, 'create');
  22404. /** Used to detect maps, sets, and weakmaps. */
  22405. var dataViewCtorString = toSource(DataView),
  22406. mapCtorString = toSource(Map),
  22407. promiseCtorString = toSource(Promise),
  22408. setCtorString = toSource(Set),
  22409. weakMapCtorString = toSource(WeakMap);
  22410. /** Used to convert symbols to primitives and strings. */
  22411. var symbolProto = Symbol ? Symbol.prototype : undefined,
  22412. symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
  22413. /**
  22414. * Creates a hash object.
  22415. *
  22416. * @private
  22417. * @constructor
  22418. * @param {Array} [entries] The key-value pairs to cache.
  22419. */
  22420. function Hash(entries) {
  22421. var index = -1,
  22422. length = entries == null ? 0 : entries.length;
  22423. this.clear();
  22424. while (++index < length) {
  22425. var entry = entries[index];
  22426. this.set(entry[0], entry[1]);
  22427. }
  22428. }
  22429. /**
  22430. * Removes all key-value entries from the hash.
  22431. *
  22432. * @private
  22433. * @name clear
  22434. * @memberOf Hash
  22435. */
  22436. function hashClear() {
  22437. this.__data__ = nativeCreate ? nativeCreate(null) : {};
  22438. this.size = 0;
  22439. }
  22440. /**
  22441. * Removes `key` and its value from the hash.
  22442. *
  22443. * @private
  22444. * @name delete
  22445. * @memberOf Hash
  22446. * @param {Object} hash The hash to modify.
  22447. * @param {string} key The key of the value to remove.
  22448. * @returns {boolean} Returns `true` if the entry was removed, else `false`.
  22449. */
  22450. function hashDelete(key) {
  22451. var result = this.has(key) && delete this.__data__[key];
  22452. this.size -= result ? 1 : 0;
  22453. return result;
  22454. }
  22455. /**
  22456. * Gets the hash value for `key`.
  22457. *
  22458. * @private
  22459. * @name get
  22460. * @memberOf Hash
  22461. * @param {string} key The key of the value to get.
  22462. * @returns {*} Returns the entry value.
  22463. */
  22464. function hashGet(key) {
  22465. var data = this.__data__;
  22466. if (nativeCreate) {
  22467. var result = data[key];
  22468. return result === HASH_UNDEFINED ? undefined : result;
  22469. }
  22470. return hasOwnProperty.call(data, key) ? data[key] : undefined;
  22471. }
  22472. /**
  22473. * Checks if a hash value for `key` exists.
  22474. *
  22475. * @private
  22476. * @name has
  22477. * @memberOf Hash
  22478. * @param {string} key The key of the entry to check.
  22479. * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
  22480. */
  22481. function hashHas(key) {
  22482. var data = this.__data__;
  22483. return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);
  22484. }
  22485. /**
  22486. * Sets the hash `key` to `value`.
  22487. *
  22488. * @private
  22489. * @name set
  22490. * @memberOf Hash
  22491. * @param {string} key The key of the value to set.
  22492. * @param {*} value The value to set.
  22493. * @returns {Object} Returns the hash instance.
  22494. */
  22495. function hashSet(key, value) {
  22496. var data = this.__data__;
  22497. this.size += this.has(key) ? 0 : 1;
  22498. data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
  22499. return this;
  22500. }
  22501. // Add methods to `Hash`.
  22502. Hash.prototype.clear = hashClear;
  22503. Hash.prototype['delete'] = hashDelete;
  22504. Hash.prototype.get = hashGet;
  22505. Hash.prototype.has = hashHas;
  22506. Hash.prototype.set = hashSet;
  22507. /**
  22508. * Creates an list cache object.
  22509. *
  22510. * @private
  22511. * @constructor
  22512. * @param {Array} [entries] The key-value pairs to cache.
  22513. */
  22514. function ListCache(entries) {
  22515. var index = -1,
  22516. length = entries == null ? 0 : entries.length;
  22517. this.clear();
  22518. while (++index < length) {
  22519. var entry = entries[index];
  22520. this.set(entry[0], entry[1]);
  22521. }
  22522. }
  22523. /**
  22524. * Removes all key-value entries from the list cache.
  22525. *
  22526. * @private
  22527. * @name clear
  22528. * @memberOf ListCache
  22529. */
  22530. function listCacheClear() {
  22531. this.__data__ = [];
  22532. this.size = 0;
  22533. }
  22534. /**
  22535. * Removes `key` and its value from the list cache.
  22536. *
  22537. * @private
  22538. * @name delete
  22539. * @memberOf ListCache
  22540. * @param {string} key The key of the value to remove.
  22541. * @returns {boolean} Returns `true` if the entry was removed, else `false`.
  22542. */
  22543. function listCacheDelete(key) {
  22544. var data = this.__data__,
  22545. index = assocIndexOf(data, key);
  22546. if (index < 0) {
  22547. return false;
  22548. }
  22549. var lastIndex = data.length - 1;
  22550. if (index == lastIndex) {
  22551. data.pop();
  22552. } else {
  22553. splice.call(data, index, 1);
  22554. }
  22555. --this.size;
  22556. return true;
  22557. }
  22558. /**
  22559. * Gets the list cache value for `key`.
  22560. *
  22561. * @private
  22562. * @name get
  22563. * @memberOf ListCache
  22564. * @param {string} key The key of the value to get.
  22565. * @returns {*} Returns the entry value.
  22566. */
  22567. function listCacheGet(key) {
  22568. var data = this.__data__,
  22569. index = assocIndexOf(data, key);
  22570. return index < 0 ? undefined : data[index][1];
  22571. }
  22572. /**
  22573. * Checks if a list cache value for `key` exists.
  22574. *
  22575. * @private
  22576. * @name has
  22577. * @memberOf ListCache
  22578. * @param {string} key The key of the entry to check.
  22579. * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
  22580. */
  22581. function listCacheHas(key) {
  22582. return assocIndexOf(this.__data__, key) > -1;
  22583. }
  22584. /**
  22585. * Sets the list cache `key` to `value`.
  22586. *
  22587. * @private
  22588. * @name set
  22589. * @memberOf ListCache
  22590. * @param {string} key The key of the value to set.
  22591. * @param {*} value The value to set.
  22592. * @returns {Object} Returns the list cache instance.
  22593. */
  22594. function listCacheSet(key, value) {
  22595. var data = this.__data__,
  22596. index = assocIndexOf(data, key);
  22597. if (index < 0) {
  22598. ++this.size;
  22599. data.push([key, value]);
  22600. } else {
  22601. data[index][1] = value;
  22602. }
  22603. return this;
  22604. }
  22605. // Add methods to `ListCache`.
  22606. ListCache.prototype.clear = listCacheClear;
  22607. ListCache.prototype['delete'] = listCacheDelete;
  22608. ListCache.prototype.get = listCacheGet;
  22609. ListCache.prototype.has = listCacheHas;
  22610. ListCache.prototype.set = listCacheSet;
  22611. /**
  22612. * Creates a map cache object to store key-value pairs.
  22613. *
  22614. * @private
  22615. * @constructor
  22616. * @param {Array} [entries] The key-value pairs to cache.
  22617. */
  22618. function MapCache(entries) {
  22619. var index = -1,
  22620. length = entries == null ? 0 : entries.length;
  22621. this.clear();
  22622. while (++index < length) {
  22623. var entry = entries[index];
  22624. this.set(entry[0], entry[1]);
  22625. }
  22626. }
  22627. /**
  22628. * Removes all key-value entries from the map.
  22629. *
  22630. * @private
  22631. * @name clear
  22632. * @memberOf MapCache
  22633. */
  22634. function mapCacheClear() {
  22635. this.size = 0;
  22636. this.__data__ = {
  22637. 'hash': new Hash,
  22638. 'map': new (Map || ListCache),
  22639. 'string': new Hash
  22640. };
  22641. }
  22642. /**
  22643. * Removes `key` and its value from the map.
  22644. *
  22645. * @private
  22646. * @name delete
  22647. * @memberOf MapCache
  22648. * @param {string} key The key of the value to remove.
  22649. * @returns {boolean} Returns `true` if the entry was removed, else `false`.
  22650. */
  22651. function mapCacheDelete(key) {
  22652. var result = getMapData(this, key)['delete'](key);
  22653. this.size -= result ? 1 : 0;
  22654. return result;
  22655. }
  22656. /**
  22657. * Gets the map value for `key`.
  22658. *
  22659. * @private
  22660. * @name get
  22661. * @memberOf MapCache
  22662. * @param {string} key The key of the value to get.
  22663. * @returns {*} Returns the entry value.
  22664. */
  22665. function mapCacheGet(key) {
  22666. return getMapData(this, key).get(key);
  22667. }
  22668. /**
  22669. * Checks if a map value for `key` exists.
  22670. *
  22671. * @private
  22672. * @name has
  22673. * @memberOf MapCache
  22674. * @param {string} key The key of the entry to check.
  22675. * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
  22676. */
  22677. function mapCacheHas(key) {
  22678. return getMapData(this, key).has(key);
  22679. }
  22680. /**
  22681. * Sets the map `key` to `value`.
  22682. *
  22683. * @private
  22684. * @name set
  22685. * @memberOf MapCache
  22686. * @param {string} key The key of the value to set.
  22687. * @param {*} value The value to set.
  22688. * @returns {Object} Returns the map cache instance.
  22689. */
  22690. function mapCacheSet(key, value) {
  22691. var data = getMapData(this, key),
  22692. size = data.size;
  22693. data.set(key, value);
  22694. this.size += data.size == size ? 0 : 1;
  22695. return this;
  22696. }
  22697. // Add methods to `MapCache`.
  22698. MapCache.prototype.clear = mapCacheClear;
  22699. MapCache.prototype['delete'] = mapCacheDelete;
  22700. MapCache.prototype.get = mapCacheGet;
  22701. MapCache.prototype.has = mapCacheHas;
  22702. MapCache.prototype.set = mapCacheSet;
  22703. /**
  22704. *
  22705. * Creates an array cache object to store unique values.
  22706. *
  22707. * @private
  22708. * @constructor
  22709. * @param {Array} [values] The values to cache.
  22710. */
  22711. function SetCache(values) {
  22712. var index = -1,
  22713. length = values == null ? 0 : values.length;
  22714. this.__data__ = new MapCache;
  22715. while (++index < length) {
  22716. this.add(values[index]);
  22717. }
  22718. }
  22719. /**
  22720. * Adds `value` to the array cache.
  22721. *
  22722. * @private
  22723. * @name add
  22724. * @memberOf SetCache
  22725. * @alias push
  22726. * @param {*} value The value to cache.
  22727. * @returns {Object} Returns the cache instance.
  22728. */
  22729. function setCacheAdd(value) {
  22730. this.__data__.set(value, HASH_UNDEFINED);
  22731. return this;
  22732. }
  22733. /**
  22734. * Checks if `value` is in the array cache.
  22735. *
  22736. * @private
  22737. * @name has
  22738. * @memberOf SetCache
  22739. * @param {*} value The value to search for.
  22740. * @returns {number} Returns `true` if `value` is found, else `false`.
  22741. */
  22742. function setCacheHas(value) {
  22743. return this.__data__.has(value);
  22744. }
  22745. // Add methods to `SetCache`.
  22746. SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
  22747. SetCache.prototype.has = setCacheHas;
  22748. /**
  22749. * Creates a stack cache object to store key-value pairs.
  22750. *
  22751. * @private
  22752. * @constructor
  22753. * @param {Array} [entries] The key-value pairs to cache.
  22754. */
  22755. function Stack(entries) {
  22756. var data = this.__data__ = new ListCache(entries);
  22757. this.size = data.size;
  22758. }
  22759. /**
  22760. * Removes all key-value entries from the stack.
  22761. *
  22762. * @private
  22763. * @name clear
  22764. * @memberOf Stack
  22765. */
  22766. function stackClear() {
  22767. this.__data__ = new ListCache;
  22768. this.size = 0;
  22769. }
  22770. /**
  22771. * Removes `key` and its value from the stack.
  22772. *
  22773. * @private
  22774. * @name delete
  22775. * @memberOf Stack
  22776. * @param {string} key The key of the value to remove.
  22777. * @returns {boolean} Returns `true` if the entry was removed, else `false`.
  22778. */
  22779. function stackDelete(key) {
  22780. var data = this.__data__,
  22781. result = data['delete'](key);
  22782. this.size = data.size;
  22783. return result;
  22784. }
  22785. /**
  22786. * Gets the stack value for `key`.
  22787. *
  22788. * @private
  22789. * @name get
  22790. * @memberOf Stack
  22791. * @param {string} key The key of the value to get.
  22792. * @returns {*} Returns the entry value.
  22793. */
  22794. function stackGet(key) {
  22795. return this.__data__.get(key);
  22796. }
  22797. /**
  22798. * Checks if a stack value for `key` exists.
  22799. *
  22800. * @private
  22801. * @name has
  22802. * @memberOf Stack
  22803. * @param {string} key The key of the entry to check.
  22804. * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
  22805. */
  22806. function stackHas(key) {
  22807. return this.__data__.has(key);
  22808. }
  22809. /**
  22810. * Sets the stack `key` to `value`.
  22811. *
  22812. * @private
  22813. * @name set
  22814. * @memberOf Stack
  22815. * @param {string} key The key of the value to set.
  22816. * @param {*} value The value to set.
  22817. * @returns {Object} Returns the stack cache instance.
  22818. */
  22819. function stackSet(key, value) {
  22820. var data = this.__data__;
  22821. if (data instanceof ListCache) {
  22822. var pairs = data.__data__;
  22823. if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
  22824. pairs.push([key, value]);
  22825. this.size = ++data.size;
  22826. return this;
  22827. }
  22828. data = this.__data__ = new MapCache(pairs);
  22829. }
  22830. data.set(key, value);
  22831. this.size = data.size;
  22832. return this;
  22833. }
  22834. // Add methods to `Stack`.
  22835. Stack.prototype.clear = stackClear;
  22836. Stack.prototype['delete'] = stackDelete;
  22837. Stack.prototype.get = stackGet;
  22838. Stack.prototype.has = stackHas;
  22839. Stack.prototype.set = stackSet;
  22840. /**
  22841. * Creates an array of the enumerable property names of the array-like `value`.
  22842. *
  22843. * @private
  22844. * @param {*} value The value to query.
  22845. * @param {boolean} inherited Specify returning inherited property names.
  22846. * @returns {Array} Returns the array of property names.
  22847. */
  22848. function arrayLikeKeys(value, inherited) {
  22849. var isArr = isArray(value),
  22850. isArg = !isArr && isArguments(value),
  22851. isBuff = !isArr && !isArg && isBuffer(value),
  22852. isType = !isArr && !isArg && !isBuff && isTypedArray(value),
  22853. skipIndexes = isArr || isArg || isBuff || isType,
  22854. result = skipIndexes ? baseTimes(value.length, String) : [],
  22855. length = result.length;
  22856. for (var key in value) {
  22857. if ((inherited || hasOwnProperty.call(value, key)) &&
  22858. !(skipIndexes && (
  22859. // Safari 9 has enumerable `arguments.length` in strict mode.
  22860. key == 'length' ||
  22861. // Node.js 0.10 has enumerable non-index properties on buffers.
  22862. (isBuff && (key == 'offset' || key == 'parent')) ||
  22863. // PhantomJS 2 has enumerable non-index properties on typed arrays.
  22864. (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
  22865. // Skip index properties.
  22866. isIndex(key, length)
  22867. ))) {
  22868. result.push(key);
  22869. }
  22870. }
  22871. return result;
  22872. }
  22873. /**
  22874. * Gets the index at which the `key` is found in `array` of key-value pairs.
  22875. *
  22876. * @private
  22877. * @param {Array} array The array to inspect.
  22878. * @param {*} key The key to search for.
  22879. * @returns {number} Returns the index of the matched value, else `-1`.
  22880. */
  22881. function assocIndexOf(array, key) {
  22882. var length = array.length;
  22883. while (length--) {
  22884. if (eq(array[length][0], key)) {
  22885. return length;
  22886. }
  22887. }
  22888. return -1;
  22889. }
  22890. /**
  22891. * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
  22892. * `keysFunc` and `symbolsFunc` to get the enumerable property names and
  22893. * symbols of `object`.
  22894. *
  22895. * @private
  22896. * @param {Object} object The object to query.
  22897. * @param {Function} keysFunc The function to get the keys of `object`.
  22898. * @param {Function} symbolsFunc The function to get the symbols of `object`.
  22899. * @returns {Array} Returns the array of property names and symbols.
  22900. */
  22901. function baseGetAllKeys(object, keysFunc, symbolsFunc) {
  22902. var result = keysFunc(object);
  22903. return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
  22904. }
  22905. /**
  22906. * The base implementation of `getTag` without fallbacks for buggy environments.
  22907. *
  22908. * @private
  22909. * @param {*} value The value to query.
  22910. * @returns {string} Returns the `toStringTag`.
  22911. */
  22912. function baseGetTag(value) {
  22913. if (value == null) {
  22914. return value === undefined ? undefinedTag : nullTag;
  22915. }
  22916. return (symToStringTag && symToStringTag in Object(value))
  22917. ? getRawTag(value)
  22918. : objectToString(value);
  22919. }
  22920. /**
  22921. * The base implementation of `_.isArguments`.
  22922. *
  22923. * @private
  22924. * @param {*} value The value to check.
  22925. * @returns {boolean} Returns `true` if `value` is an `arguments` object,
  22926. */
  22927. function baseIsArguments(value) {
  22928. return isObjectLike(value) && baseGetTag(value) == argsTag;
  22929. }
  22930. /**
  22931. * The base implementation of `_.isEqual` which supports partial comparisons
  22932. * and tracks traversed objects.
  22933. *
  22934. * @private
  22935. * @param {*} value The value to compare.
  22936. * @param {*} other The other value to compare.
  22937. * @param {boolean} bitmask The bitmask flags.
  22938. * 1 - Unordered comparison
  22939. * 2 - Partial comparison
  22940. * @param {Function} [customizer] The function to customize comparisons.
  22941. * @param {Object} [stack] Tracks traversed `value` and `other` objects.
  22942. * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
  22943. */
  22944. function baseIsEqual(value, other, bitmask, customizer, stack) {
  22945. if (value === other) {
  22946. return true;
  22947. }
  22948. if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {
  22949. return value !== value && other !== other;
  22950. }
  22951. return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
  22952. }
  22953. /**
  22954. * A specialized version of `baseIsEqual` for arrays and objects which performs
  22955. * deep comparisons and tracks traversed objects enabling objects with circular
  22956. * references to be compared.
  22957. *
  22958. * @private
  22959. * @param {Object} object The object to compare.
  22960. * @param {Object} other The other object to compare.
  22961. * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
  22962. * @param {Function} customizer The function to customize comparisons.
  22963. * @param {Function} equalFunc The function to determine equivalents of values.
  22964. * @param {Object} [stack] Tracks traversed `object` and `other` objects.
  22965. * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
  22966. */
  22967. function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
  22968. var objIsArr = isArray(object),
  22969. othIsArr = isArray(other),
  22970. objTag = objIsArr ? arrayTag : getTag(object),
  22971. othTag = othIsArr ? arrayTag : getTag(other);
  22972. objTag = objTag == argsTag ? objectTag : objTag;
  22973. othTag = othTag == argsTag ? objectTag : othTag;
  22974. var objIsObj = objTag == objectTag,
  22975. othIsObj = othTag == objectTag,
  22976. isSameTag = objTag == othTag;
  22977. if (isSameTag && isBuffer(object)) {
  22978. if (!isBuffer(other)) {
  22979. return false;
  22980. }
  22981. objIsArr = true;
  22982. objIsObj = false;
  22983. }
  22984. if (isSameTag && !objIsObj) {
  22985. stack || (stack = new Stack);
  22986. return (objIsArr || isTypedArray(object))
  22987. ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)
  22988. : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
  22989. }
  22990. if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
  22991. var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),
  22992. othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');
  22993. if (objIsWrapped || othIsWrapped) {
  22994. var objUnwrapped = objIsWrapped ? object.value() : object,
  22995. othUnwrapped = othIsWrapped ? other.value() : other;
  22996. stack || (stack = new Stack);
  22997. return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
  22998. }
  22999. }
  23000. if (!isSameTag) {
  23001. return false;
  23002. }
  23003. stack || (stack = new Stack);
  23004. return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
  23005. }
  23006. /**
  23007. * The base implementation of `_.isNative` without bad shim checks.
  23008. *
  23009. * @private
  23010. * @param {*} value The value to check.
  23011. * @returns {boolean} Returns `true` if `value` is a native function,
  23012. * else `false`.
  23013. */
  23014. function baseIsNative(value) {
  23015. if (!isObject(value) || isMasked(value)) {
  23016. return false;
  23017. }
  23018. var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
  23019. return pattern.test(toSource(value));
  23020. }
  23021. /**
  23022. * The base implementation of `_.isTypedArray` without Node.js optimizations.
  23023. *
  23024. * @private
  23025. * @param {*} value The value to check.
  23026. * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
  23027. */
  23028. function baseIsTypedArray(value) {
  23029. return isObjectLike(value) &&
  23030. isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
  23031. }
  23032. /**
  23033. * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
  23034. *
  23035. * @private
  23036. * @param {Object} object The object to query.
  23037. * @returns {Array} Returns the array of property names.
  23038. */
  23039. function baseKeys(object) {
  23040. if (!isPrototype(object)) {
  23041. return nativeKeys(object);
  23042. }
  23043. var result = [];
  23044. for (var key in Object(object)) {
  23045. if (hasOwnProperty.call(object, key) && key != 'constructor') {
  23046. result.push(key);
  23047. }
  23048. }
  23049. return result;
  23050. }
  23051. /**
  23052. * A specialized version of `baseIsEqualDeep` for arrays with support for
  23053. * partial deep comparisons.
  23054. *
  23055. * @private
  23056. * @param {Array} array The array to compare.
  23057. * @param {Array} other The other array to compare.
  23058. * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
  23059. * @param {Function} customizer The function to customize comparisons.
  23060. * @param {Function} equalFunc The function to determine equivalents of values.
  23061. * @param {Object} stack Tracks traversed `array` and `other` objects.
  23062. * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
  23063. */
  23064. function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
  23065. var isPartial = bitmask & COMPARE_PARTIAL_FLAG,
  23066. arrLength = array.length,
  23067. othLength = other.length;
  23068. if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
  23069. return false;
  23070. }
  23071. // Assume cyclic values are equal.
  23072. var stacked = stack.get(array);
  23073. if (stacked && stack.get(other)) {
  23074. return stacked == other;
  23075. }
  23076. var index = -1,
  23077. result = true,
  23078. seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;
  23079. stack.set(array, other);
  23080. stack.set(other, array);
  23081. // Ignore non-index properties.
  23082. while (++index < arrLength) {
  23083. var arrValue = array[index],
  23084. othValue = other[index];
  23085. if (customizer) {
  23086. var compared = isPartial
  23087. ? customizer(othValue, arrValue, index, other, array, stack)
  23088. : customizer(arrValue, othValue, index, array, other, stack);
  23089. }
  23090. if (compared !== undefined) {
  23091. if (compared) {
  23092. continue;
  23093. }
  23094. result = false;
  23095. break;
  23096. }
  23097. // Recursively compare arrays (susceptible to call stack limits).
  23098. if (seen) {
  23099. if (!arraySome(other, function(othValue, othIndex) {
  23100. if (!cacheHas(seen, othIndex) &&
  23101. (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
  23102. return seen.push(othIndex);
  23103. }
  23104. })) {
  23105. result = false;
  23106. break;
  23107. }
  23108. } else if (!(
  23109. arrValue === othValue ||
  23110. equalFunc(arrValue, othValue, bitmask, customizer, stack)
  23111. )) {
  23112. result = false;
  23113. break;
  23114. }
  23115. }
  23116. stack['delete'](array);
  23117. stack['delete'](other);
  23118. return result;
  23119. }
  23120. /**
  23121. * A specialized version of `baseIsEqualDeep` for comparing objects of
  23122. * the same `toStringTag`.
  23123. *
  23124. * **Note:** This function only supports comparing values with tags of
  23125. * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
  23126. *
  23127. * @private
  23128. * @param {Object} object The object to compare.
  23129. * @param {Object} other The other object to compare.
  23130. * @param {string} tag The `toStringTag` of the objects to compare.
  23131. * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
  23132. * @param {Function} customizer The function to customize comparisons.
  23133. * @param {Function} equalFunc The function to determine equivalents of values.
  23134. * @param {Object} stack Tracks traversed `object` and `other` objects.
  23135. * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
  23136. */
  23137. function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
  23138. switch (tag) {
  23139. case dataViewTag:
  23140. if ((object.byteLength != other.byteLength) ||
  23141. (object.byteOffset != other.byteOffset)) {
  23142. return false;
  23143. }
  23144. object = object.buffer;
  23145. other = other.buffer;
  23146. case arrayBufferTag:
  23147. if ((object.byteLength != other.byteLength) ||
  23148. !equalFunc(new Uint8Array(object), new Uint8Array(other))) {
  23149. return false;
  23150. }
  23151. return true;
  23152. case boolTag:
  23153. case dateTag:
  23154. case numberTag:
  23155. // Coerce booleans to `1` or `0` and dates to milliseconds.
  23156. // Invalid dates are coerced to `NaN`.
  23157. return eq(+object, +other);
  23158. case errorTag:
  23159. return object.name == other.name && object.message == other.message;
  23160. case regexpTag:
  23161. case stringTag:
  23162. // Coerce regexes to strings and treat strings, primitives and objects,
  23163. // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring
  23164. // for more details.
  23165. return object == (other + '');
  23166. case mapTag:
  23167. var convert = mapToArray;
  23168. case setTag:
  23169. var isPartial = bitmask & COMPARE_PARTIAL_FLAG;
  23170. convert || (convert = setToArray);
  23171. if (object.size != other.size && !isPartial) {
  23172. return false;
  23173. }
  23174. // Assume cyclic values are equal.
  23175. var stacked = stack.get(object);
  23176. if (stacked) {
  23177. return stacked == other;
  23178. }
  23179. bitmask |= COMPARE_UNORDERED_FLAG;
  23180. // Recursively compare objects (susceptible to call stack limits).
  23181. stack.set(object, other);
  23182. var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
  23183. stack['delete'](object);
  23184. return result;
  23185. case symbolTag:
  23186. if (symbolValueOf) {
  23187. return symbolValueOf.call(object) == symbolValueOf.call(other);
  23188. }
  23189. }
  23190. return false;
  23191. }
  23192. /**
  23193. * A specialized version of `baseIsEqualDeep` for objects with support for
  23194. * partial deep comparisons.
  23195. *
  23196. * @private
  23197. * @param {Object} object The object to compare.
  23198. * @param {Object} other The other object to compare.
  23199. * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
  23200. * @param {Function} customizer The function to customize comparisons.
  23201. * @param {Function} equalFunc The function to determine equivalents of values.
  23202. * @param {Object} stack Tracks traversed `object` and `other` objects.
  23203. * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
  23204. */
  23205. function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
  23206. var isPartial = bitmask & COMPARE_PARTIAL_FLAG,
  23207. objProps = getAllKeys(object),
  23208. objLength = objProps.length,
  23209. othProps = getAllKeys(other),
  23210. othLength = othProps.length;
  23211. if (objLength != othLength && !isPartial) {
  23212. return false;
  23213. }
  23214. var index = objLength;
  23215. while (index--) {
  23216. var key = objProps[index];
  23217. if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {
  23218. return false;
  23219. }
  23220. }
  23221. // Assume cyclic values are equal.
  23222. var stacked = stack.get(object);
  23223. if (stacked && stack.get(other)) {
  23224. return stacked == other;
  23225. }
  23226. var result = true;
  23227. stack.set(object, other);
  23228. stack.set(other, object);
  23229. var skipCtor = isPartial;
  23230. while (++index < objLength) {
  23231. key = objProps[index];
  23232. var objValue = object[key],
  23233. othValue = other[key];
  23234. if (customizer) {
  23235. var compared = isPartial
  23236. ? customizer(othValue, objValue, key, other, object, stack)
  23237. : customizer(objValue, othValue, key, object, other, stack);
  23238. }
  23239. // Recursively compare objects (susceptible to call stack limits).
  23240. if (!(compared === undefined
  23241. ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))
  23242. : compared
  23243. )) {
  23244. result = false;
  23245. break;
  23246. }
  23247. skipCtor || (skipCtor = key == 'constructor');
  23248. }
  23249. if (result && !skipCtor) {
  23250. var objCtor = object.constructor,
  23251. othCtor = other.constructor;
  23252. // Non `Object` object instances with different constructors are not equal.
  23253. if (objCtor != othCtor &&
  23254. ('constructor' in object && 'constructor' in other) &&
  23255. !(typeof objCtor == 'function' && objCtor instanceof objCtor &&
  23256. typeof othCtor == 'function' && othCtor instanceof othCtor)) {
  23257. result = false;
  23258. }
  23259. }
  23260. stack['delete'](object);
  23261. stack['delete'](other);
  23262. return result;
  23263. }
  23264. /**
  23265. * Creates an array of own enumerable property names and symbols of `object`.
  23266. *
  23267. * @private
  23268. * @param {Object} object The object to query.
  23269. * @returns {Array} Returns the array of property names and symbols.
  23270. */
  23271. function getAllKeys(object) {
  23272. return baseGetAllKeys(object, keys, getSymbols);
  23273. }
  23274. /**
  23275. * Gets the data for `map`.
  23276. *
  23277. * @private
  23278. * @param {Object} map The map to query.
  23279. * @param {string} key The reference key.
  23280. * @returns {*} Returns the map data.
  23281. */
  23282. function getMapData(map, key) {
  23283. var data = map.__data__;
  23284. return isKeyable(key)
  23285. ? data[typeof key == 'string' ? 'string' : 'hash']
  23286. : data.map;
  23287. }
  23288. /**
  23289. * Gets the native function at `key` of `object`.
  23290. *
  23291. * @private
  23292. * @param {Object} object The object to query.
  23293. * @param {string} key The key of the method to get.
  23294. * @returns {*} Returns the function if it's native, else `undefined`.
  23295. */
  23296. function getNative(object, key) {
  23297. var value = getValue(object, key);
  23298. return baseIsNative(value) ? value : undefined;
  23299. }
  23300. /**
  23301. * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
  23302. *
  23303. * @private
  23304. * @param {*} value The value to query.
  23305. * @returns {string} Returns the raw `toStringTag`.
  23306. */
  23307. function getRawTag(value) {
  23308. var isOwn = hasOwnProperty.call(value, symToStringTag),
  23309. tag = value[symToStringTag];
  23310. try {
  23311. value[symToStringTag] = undefined;
  23312. var unmasked = true;
  23313. } catch (e) {}
  23314. var result = nativeObjectToString.call(value);
  23315. if (unmasked) {
  23316. if (isOwn) {
  23317. value[symToStringTag] = tag;
  23318. } else {
  23319. delete value[symToStringTag];
  23320. }
  23321. }
  23322. return result;
  23323. }
  23324. /**
  23325. * Creates an array of the own enumerable symbols of `object`.
  23326. *
  23327. * @private
  23328. * @param {Object} object The object to query.
  23329. * @returns {Array} Returns the array of symbols.
  23330. */
  23331. var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
  23332. if (object == null) {
  23333. return [];
  23334. }
  23335. object = Object(object);
  23336. return arrayFilter(nativeGetSymbols(object), function(symbol) {
  23337. return propertyIsEnumerable.call(object, symbol);
  23338. });
  23339. };
  23340. /**
  23341. * Gets the `toStringTag` of `value`.
  23342. *
  23343. * @private
  23344. * @param {*} value The value to query.
  23345. * @returns {string} Returns the `toStringTag`.
  23346. */
  23347. var getTag = baseGetTag;
  23348. // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
  23349. if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
  23350. (Map && getTag(new Map) != mapTag) ||
  23351. (Promise && getTag(Promise.resolve()) != promiseTag) ||
  23352. (Set && getTag(new Set) != setTag) ||
  23353. (WeakMap && getTag(new WeakMap) != weakMapTag)) {
  23354. getTag = function(value) {
  23355. var result = baseGetTag(value),
  23356. Ctor = result == objectTag ? value.constructor : undefined,
  23357. ctorString = Ctor ? toSource(Ctor) : '';
  23358. if (ctorString) {
  23359. switch (ctorString) {
  23360. case dataViewCtorString: return dataViewTag;
  23361. case mapCtorString: return mapTag;
  23362. case promiseCtorString: return promiseTag;
  23363. case setCtorString: return setTag;
  23364. case weakMapCtorString: return weakMapTag;
  23365. }
  23366. }
  23367. return result;
  23368. };
  23369. }
  23370. /**
  23371. * Checks if `value` is a valid array-like index.
  23372. *
  23373. * @private
  23374. * @param {*} value The value to check.
  23375. * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
  23376. * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
  23377. */
  23378. function isIndex(value, length) {
  23379. length = length == null ? MAX_SAFE_INTEGER : length;
  23380. return !!length &&
  23381. (typeof value == 'number' || reIsUint.test(value)) &&
  23382. (value > -1 && value % 1 == 0 && value < length);
  23383. }
  23384. /**
  23385. * Checks if `value` is suitable for use as unique object key.
  23386. *
  23387. * @private
  23388. * @param {*} value The value to check.
  23389. * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
  23390. */
  23391. function isKeyable(value) {
  23392. var type = typeof value;
  23393. return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
  23394. ? (value !== '__proto__')
  23395. : (value === null);
  23396. }
  23397. /**
  23398. * Checks if `func` has its source masked.
  23399. *
  23400. * @private
  23401. * @param {Function} func The function to check.
  23402. * @returns {boolean} Returns `true` if `func` is masked, else `false`.
  23403. */
  23404. function isMasked(func) {
  23405. return !!maskSrcKey && (maskSrcKey in func);
  23406. }
  23407. /**
  23408. * Checks if `value` is likely a prototype object.
  23409. *
  23410. * @private
  23411. * @param {*} value The value to check.
  23412. * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
  23413. */
  23414. function isPrototype(value) {
  23415. var Ctor = value && value.constructor,
  23416. proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
  23417. return value === proto;
  23418. }
  23419. /**
  23420. * Converts `value` to a string using `Object.prototype.toString`.
  23421. *
  23422. * @private
  23423. * @param {*} value The value to convert.
  23424. * @returns {string} Returns the converted string.
  23425. */
  23426. function objectToString(value) {
  23427. return nativeObjectToString.call(value);
  23428. }
  23429. /**
  23430. * Converts `func` to its source code.
  23431. *
  23432. * @private
  23433. * @param {Function} func The function to convert.
  23434. * @returns {string} Returns the source code.
  23435. */
  23436. function toSource(func) {
  23437. if (func != null) {
  23438. try {
  23439. return funcToString.call(func);
  23440. } catch (e) {}
  23441. try {
  23442. return (func + '');
  23443. } catch (e) {}
  23444. }
  23445. return '';
  23446. }
  23447. /**
  23448. * Performs a
  23449. * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
  23450. * comparison between two values to determine if they are equivalent.
  23451. *
  23452. * @static
  23453. * @memberOf _
  23454. * @since 4.0.0
  23455. * @category Lang
  23456. * @param {*} value The value to compare.
  23457. * @param {*} other The other value to compare.
  23458. * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
  23459. * @example
  23460. *
  23461. * var object = { 'a': 1 };
  23462. * var other = { 'a': 1 };
  23463. *
  23464. * _.eq(object, object);
  23465. * // => true
  23466. *
  23467. * _.eq(object, other);
  23468. * // => false
  23469. *
  23470. * _.eq('a', 'a');
  23471. * // => true
  23472. *
  23473. * _.eq('a', Object('a'));
  23474. * // => false
  23475. *
  23476. * _.eq(NaN, NaN);
  23477. * // => true
  23478. */
  23479. function eq(value, other) {
  23480. return value === other || (value !== value && other !== other);
  23481. }
  23482. /**
  23483. * Checks if `value` is likely an `arguments` object.
  23484. *
  23485. * @static
  23486. * @memberOf _
  23487. * @since 0.1.0
  23488. * @category Lang
  23489. * @param {*} value The value to check.
  23490. * @returns {boolean} Returns `true` if `value` is an `arguments` object,
  23491. * else `false`.
  23492. * @example
  23493. *
  23494. * _.isArguments(function() { return arguments; }());
  23495. * // => true
  23496. *
  23497. * _.isArguments([1, 2, 3]);
  23498. * // => false
  23499. */
  23500. var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
  23501. return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&
  23502. !propertyIsEnumerable.call(value, 'callee');
  23503. };
  23504. /**
  23505. * Checks if `value` is classified as an `Array` object.
  23506. *
  23507. * @static
  23508. * @memberOf _
  23509. * @since 0.1.0
  23510. * @category Lang
  23511. * @param {*} value The value to check.
  23512. * @returns {boolean} Returns `true` if `value` is an array, else `false`.
  23513. * @example
  23514. *
  23515. * _.isArray([1, 2, 3]);
  23516. * // => true
  23517. *
  23518. * _.isArray(document.body.children);
  23519. * // => false
  23520. *
  23521. * _.isArray('abc');
  23522. * // => false
  23523. *
  23524. * _.isArray(_.noop);
  23525. * // => false
  23526. */
  23527. var isArray = Array.isArray;
  23528. /**
  23529. * Checks if `value` is array-like. A value is considered array-like if it's
  23530. * not a function and has a `value.length` that's an integer greater than or
  23531. * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
  23532. *
  23533. * @static
  23534. * @memberOf _
  23535. * @since 4.0.0
  23536. * @category Lang
  23537. * @param {*} value The value to check.
  23538. * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
  23539. * @example
  23540. *
  23541. * _.isArrayLike([1, 2, 3]);
  23542. * // => true
  23543. *
  23544. * _.isArrayLike(document.body.children);
  23545. * // => true
  23546. *
  23547. * _.isArrayLike('abc');
  23548. * // => true
  23549. *
  23550. * _.isArrayLike(_.noop);
  23551. * // => false
  23552. */
  23553. function isArrayLike(value) {
  23554. return value != null && isLength(value.length) && !isFunction(value);
  23555. }
  23556. /**
  23557. * Checks if `value` is a buffer.
  23558. *
  23559. * @static
  23560. * @memberOf _
  23561. * @since 4.3.0
  23562. * @category Lang
  23563. * @param {*} value The value to check.
  23564. * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
  23565. * @example
  23566. *
  23567. * _.isBuffer(new Buffer(2));
  23568. * // => true
  23569. *
  23570. * _.isBuffer(new Uint8Array(2));
  23571. * // => false
  23572. */
  23573. var isBuffer = nativeIsBuffer || stubFalse;
  23574. /**
  23575. * Performs a deep comparison between two values to determine if they are
  23576. * equivalent.
  23577. *
  23578. * **Note:** This method supports comparing arrays, array buffers, booleans,
  23579. * date objects, error objects, maps, numbers, `Object` objects, regexes,
  23580. * sets, strings, symbols, and typed arrays. `Object` objects are compared
  23581. * by their own, not inherited, enumerable properties. Functions and DOM
  23582. * nodes are compared by strict equality, i.e. `===`.
  23583. *
  23584. * @static
  23585. * @memberOf _
  23586. * @since 0.1.0
  23587. * @category Lang
  23588. * @param {*} value The value to compare.
  23589. * @param {*} other The other value to compare.
  23590. * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
  23591. * @example
  23592. *
  23593. * var object = { 'a': 1 };
  23594. * var other = { 'a': 1 };
  23595. *
  23596. * _.isEqual(object, other);
  23597. * // => true
  23598. *
  23599. * object === other;
  23600. * // => false
  23601. */
  23602. function isEqual(value, other) {
  23603. return baseIsEqual(value, other);
  23604. }
  23605. /**
  23606. * Checks if `value` is classified as a `Function` object.
  23607. *
  23608. * @static
  23609. * @memberOf _
  23610. * @since 0.1.0
  23611. * @category Lang
  23612. * @param {*} value The value to check.
  23613. * @returns {boolean} Returns `true` if `value` is a function, else `false`.
  23614. * @example
  23615. *
  23616. * _.isFunction(_);
  23617. * // => true
  23618. *
  23619. * _.isFunction(/abc/);
  23620. * // => false
  23621. */
  23622. function isFunction(value) {
  23623. if (!isObject(value)) {
  23624. return false;
  23625. }
  23626. // The use of `Object#toString` avoids issues with the `typeof` operator
  23627. // in Safari 9 which returns 'object' for typed arrays and other constructors.
  23628. var tag = baseGetTag(value);
  23629. return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
  23630. }
  23631. /**
  23632. * Checks if `value` is a valid array-like length.
  23633. *
  23634. * **Note:** This method is loosely based on
  23635. * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
  23636. *
  23637. * @static
  23638. * @memberOf _
  23639. * @since 4.0.0
  23640. * @category Lang
  23641. * @param {*} value The value to check.
  23642. * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
  23643. * @example
  23644. *
  23645. * _.isLength(3);
  23646. * // => true
  23647. *
  23648. * _.isLength(Number.MIN_VALUE);
  23649. * // => false
  23650. *
  23651. * _.isLength(Infinity);
  23652. * // => false
  23653. *
  23654. * _.isLength('3');
  23655. * // => false
  23656. */
  23657. function isLength(value) {
  23658. return typeof value == 'number' &&
  23659. value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
  23660. }
  23661. /**
  23662. * Checks if `value` is the
  23663. * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
  23664. * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
  23665. *
  23666. * @static
  23667. * @memberOf _
  23668. * @since 0.1.0
  23669. * @category Lang
  23670. * @param {*} value The value to check.
  23671. * @returns {boolean} Returns `true` if `value` is an object, else `false`.
  23672. * @example
  23673. *
  23674. * _.isObject({});
  23675. * // => true
  23676. *
  23677. * _.isObject([1, 2, 3]);
  23678. * // => true
  23679. *
  23680. * _.isObject(_.noop);
  23681. * // => true
  23682. *
  23683. * _.isObject(null);
  23684. * // => false
  23685. */
  23686. function isObject(value) {
  23687. var type = typeof value;
  23688. return value != null && (type == 'object' || type == 'function');
  23689. }
  23690. /**
  23691. * Checks if `value` is object-like. A value is object-like if it's not `null`
  23692. * and has a `typeof` result of "object".
  23693. *
  23694. * @static
  23695. * @memberOf _
  23696. * @since 4.0.0
  23697. * @category Lang
  23698. * @param {*} value The value to check.
  23699. * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
  23700. * @example
  23701. *
  23702. * _.isObjectLike({});
  23703. * // => true
  23704. *
  23705. * _.isObjectLike([1, 2, 3]);
  23706. * // => true
  23707. *
  23708. * _.isObjectLike(_.noop);
  23709. * // => false
  23710. *
  23711. * _.isObjectLike(null);
  23712. * // => false
  23713. */
  23714. function isObjectLike(value) {
  23715. return value != null && typeof value == 'object';
  23716. }
  23717. /**
  23718. * Checks if `value` is classified as a typed array.
  23719. *
  23720. * @static
  23721. * @memberOf _
  23722. * @since 3.0.0
  23723. * @category Lang
  23724. * @param {*} value The value to check.
  23725. * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
  23726. * @example
  23727. *
  23728. * _.isTypedArray(new Uint8Array);
  23729. * // => true
  23730. *
  23731. * _.isTypedArray([]);
  23732. * // => false
  23733. */
  23734. var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
  23735. /**
  23736. * Creates an array of the own enumerable property names of `object`.
  23737. *
  23738. * **Note:** Non-object values are coerced to objects. See the
  23739. * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
  23740. * for more details.
  23741. *
  23742. * @static
  23743. * @since 0.1.0
  23744. * @memberOf _
  23745. * @category Object
  23746. * @param {Object} object The object to query.
  23747. * @returns {Array} Returns the array of property names.
  23748. * @example
  23749. *
  23750. * function Foo() {
  23751. * this.a = 1;
  23752. * this.b = 2;
  23753. * }
  23754. *
  23755. * Foo.prototype.c = 3;
  23756. *
  23757. * _.keys(new Foo);
  23758. * // => ['a', 'b'] (iteration order is not guaranteed)
  23759. *
  23760. * _.keys('hi');
  23761. * // => ['0', '1']
  23762. */
  23763. function keys(object) {
  23764. return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
  23765. }
  23766. /**
  23767. * This method returns a new empty array.
  23768. *
  23769. * @static
  23770. * @memberOf _
  23771. * @since 4.13.0
  23772. * @category Util
  23773. * @returns {Array} Returns the new empty array.
  23774. * @example
  23775. *
  23776. * var arrays = _.times(2, _.stubArray);
  23777. *
  23778. * console.log(arrays);
  23779. * // => [[], []]
  23780. *
  23781. * console.log(arrays[0] === arrays[1]);
  23782. * // => false
  23783. */
  23784. function stubArray() {
  23785. return [];
  23786. }
  23787. /**
  23788. * This method returns `false`.
  23789. *
  23790. * @static
  23791. * @memberOf _
  23792. * @since 4.13.0
  23793. * @category Util
  23794. * @returns {boolean} Returns `false`.
  23795. * @example
  23796. *
  23797. * _.times(2, _.stubFalse);
  23798. * // => [false, false]
  23799. */
  23800. function stubFalse() {
  23801. return false;
  23802. }
  23803. module.exports = isEqual;
  23804. /***/ }),
  23805. /***/ "./node_modules/nprogress/nprogress.js":
  23806. /*!*********************************************!*\
  23807. !*** ./node_modules/nprogress/nprogress.js ***!
  23808. \*********************************************/
  23809. /***/ (function(module, exports, __webpack_require__) {
  23810. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
  23811. * @license MIT */
  23812. ;(function(root, factory) {
  23813. if (true) {
  23814. !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  23815. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  23816. (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :
  23817. __WEBPACK_AMD_DEFINE_FACTORY__),
  23818. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
  23819. } else {}
  23820. })(this, function() {
  23821. var NProgress = {};
  23822. NProgress.version = '0.2.0';
  23823. var Settings = NProgress.settings = {
  23824. minimum: 0.08,
  23825. easing: 'ease',
  23826. positionUsing: '',
  23827. speed: 200,
  23828. trickle: true,
  23829. trickleRate: 0.02,
  23830. trickleSpeed: 800,
  23831. showSpinner: true,
  23832. barSelector: '[role="bar"]',
  23833. spinnerSelector: '[role="spinner"]',
  23834. parent: 'body',
  23835. template: '<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'
  23836. };
  23837. /**
  23838. * Updates configuration.
  23839. *
  23840. * NProgress.configure({
  23841. * minimum: 0.1
  23842. * });
  23843. */
  23844. NProgress.configure = function(options) {
  23845. var key, value;
  23846. for (key in options) {
  23847. value = options[key];
  23848. if (value !== undefined && options.hasOwnProperty(key)) Settings[key] = value;
  23849. }
  23850. return this;
  23851. };
  23852. /**
  23853. * Last number.
  23854. */
  23855. NProgress.status = null;
  23856. /**
  23857. * Sets the progress bar status, where `n` is a number from `0.0` to `1.0`.
  23858. *
  23859. * NProgress.set(0.4);
  23860. * NProgress.set(1.0);
  23861. */
  23862. NProgress.set = function(n) {
  23863. var started = NProgress.isStarted();
  23864. n = clamp(n, Settings.minimum, 1);
  23865. NProgress.status = (n === 1 ? null : n);
  23866. var progress = NProgress.render(!started),
  23867. bar = progress.querySelector(Settings.barSelector),
  23868. speed = Settings.speed,
  23869. ease = Settings.easing;
  23870. progress.offsetWidth; /* Repaint */
  23871. queue(function(next) {
  23872. // Set positionUsing if it hasn't already been set
  23873. if (Settings.positionUsing === '') Settings.positionUsing = NProgress.getPositioningCSS();
  23874. // Add transition
  23875. css(bar, barPositionCSS(n, speed, ease));
  23876. if (n === 1) {
  23877. // Fade out
  23878. css(progress, {
  23879. transition: 'none',
  23880. opacity: 1
  23881. });
  23882. progress.offsetWidth; /* Repaint */
  23883. setTimeout(function() {
  23884. css(progress, {
  23885. transition: 'all ' + speed + 'ms linear',
  23886. opacity: 0
  23887. });
  23888. setTimeout(function() {
  23889. NProgress.remove();
  23890. next();
  23891. }, speed);
  23892. }, speed);
  23893. } else {
  23894. setTimeout(next, speed);
  23895. }
  23896. });
  23897. return this;
  23898. };
  23899. NProgress.isStarted = function() {
  23900. return typeof NProgress.status === 'number';
  23901. };
  23902. /**
  23903. * Shows the progress bar.
  23904. * This is the same as setting the status to 0%, except that it doesn't go backwards.
  23905. *
  23906. * NProgress.start();
  23907. *
  23908. */
  23909. NProgress.start = function() {
  23910. if (!NProgress.status) NProgress.set(0);
  23911. var work = function() {
  23912. setTimeout(function() {
  23913. if (!NProgress.status) return;
  23914. NProgress.trickle();
  23915. work();
  23916. }, Settings.trickleSpeed);
  23917. };
  23918. if (Settings.trickle) work();
  23919. return this;
  23920. };
  23921. /**
  23922. * Hides the progress bar.
  23923. * This is the *sort of* the same as setting the status to 100%, with the
  23924. * difference being `done()` makes some placebo effect of some realistic motion.
  23925. *
  23926. * NProgress.done();
  23927. *
  23928. * If `true` is passed, it will show the progress bar even if its hidden.
  23929. *
  23930. * NProgress.done(true);
  23931. */
  23932. NProgress.done = function(force) {
  23933. if (!force && !NProgress.status) return this;
  23934. return NProgress.inc(0.3 + 0.5 * Math.random()).set(1);
  23935. };
  23936. /**
  23937. * Increments by a random amount.
  23938. */
  23939. NProgress.inc = function(amount) {
  23940. var n = NProgress.status;
  23941. if (!n) {
  23942. return NProgress.start();
  23943. } else {
  23944. if (typeof amount !== 'number') {
  23945. amount = (1 - n) * clamp(Math.random() * n, 0.1, 0.95);
  23946. }
  23947. n = clamp(n + amount, 0, 0.994);
  23948. return NProgress.set(n);
  23949. }
  23950. };
  23951. NProgress.trickle = function() {
  23952. return NProgress.inc(Math.random() * Settings.trickleRate);
  23953. };
  23954. /**
  23955. * Waits for all supplied jQuery promises and
  23956. * increases the progress as the promises resolve.
  23957. *
  23958. * @param $promise jQUery Promise
  23959. */
  23960. (function() {
  23961. var initial = 0, current = 0;
  23962. NProgress.promise = function($promise) {
  23963. if (!$promise || $promise.state() === "resolved") {
  23964. return this;
  23965. }
  23966. if (current === 0) {
  23967. NProgress.start();
  23968. }
  23969. initial++;
  23970. current++;
  23971. $promise.always(function() {
  23972. current--;
  23973. if (current === 0) {
  23974. initial = 0;
  23975. NProgress.done();
  23976. } else {
  23977. NProgress.set((initial - current) / initial);
  23978. }
  23979. });
  23980. return this;
  23981. };
  23982. })();
  23983. /**
  23984. * (Internal) renders the progress bar markup based on the `template`
  23985. * setting.
  23986. */
  23987. NProgress.render = function(fromStart) {
  23988. if (NProgress.isRendered()) return document.getElementById('nprogress');
  23989. addClass(document.documentElement, 'nprogress-busy');
  23990. var progress = document.createElement('div');
  23991. progress.id = 'nprogress';
  23992. progress.innerHTML = Settings.template;
  23993. var bar = progress.querySelector(Settings.barSelector),
  23994. perc = fromStart ? '-100' : toBarPerc(NProgress.status || 0),
  23995. parent = document.querySelector(Settings.parent),
  23996. spinner;
  23997. css(bar, {
  23998. transition: 'all 0 linear',
  23999. transform: 'translate3d(' + perc + '%,0,0)'
  24000. });
  24001. if (!Settings.showSpinner) {
  24002. spinner = progress.querySelector(Settings.spinnerSelector);
  24003. spinner && removeElement(spinner);
  24004. }
  24005. if (parent != document.body) {
  24006. addClass(parent, 'nprogress-custom-parent');
  24007. }
  24008. parent.appendChild(progress);
  24009. return progress;
  24010. };
  24011. /**
  24012. * Removes the element. Opposite of render().
  24013. */
  24014. NProgress.remove = function() {
  24015. removeClass(document.documentElement, 'nprogress-busy');
  24016. removeClass(document.querySelector(Settings.parent), 'nprogress-custom-parent');
  24017. var progress = document.getElementById('nprogress');
  24018. progress && removeElement(progress);
  24019. };
  24020. /**
  24021. * Checks if the progress bar is rendered.
  24022. */
  24023. NProgress.isRendered = function() {
  24024. return !!document.getElementById('nprogress');
  24025. };
  24026. /**
  24027. * Determine which positioning CSS rule to use.
  24028. */
  24029. NProgress.getPositioningCSS = function() {
  24030. // Sniff on document.body.style
  24031. var bodyStyle = document.body.style;
  24032. // Sniff prefixes
  24033. var vendorPrefix = ('WebkitTransform' in bodyStyle) ? 'Webkit' :
  24034. ('MozTransform' in bodyStyle) ? 'Moz' :
  24035. ('msTransform' in bodyStyle) ? 'ms' :
  24036. ('OTransform' in bodyStyle) ? 'O' : '';
  24037. if (vendorPrefix + 'Perspective' in bodyStyle) {
  24038. // Modern browsers with 3D support, e.g. Webkit, IE10
  24039. return 'translate3d';
  24040. } else if (vendorPrefix + 'Transform' in bodyStyle) {
  24041. // Browsers without 3D support, e.g. IE9
  24042. return 'translate';
  24043. } else {
  24044. // Browsers without translate() support, e.g. IE7-8
  24045. return 'margin';
  24046. }
  24047. };
  24048. /**
  24049. * Helpers
  24050. */
  24051. function clamp(n, min, max) {
  24052. if (n < min) return min;
  24053. if (n > max) return max;
  24054. return n;
  24055. }
  24056. /**
  24057. * (Internal) converts a percentage (`0..1`) to a bar translateX
  24058. * percentage (`-100%..0%`).
  24059. */
  24060. function toBarPerc(n) {
  24061. return (-1 + n) * 100;
  24062. }
  24063. /**
  24064. * (Internal) returns the correct CSS for changing the bar's
  24065. * position given an n percentage, and speed and ease from Settings
  24066. */
  24067. function barPositionCSS(n, speed, ease) {
  24068. var barCSS;
  24069. if (Settings.positionUsing === 'translate3d') {
  24070. barCSS = { transform: 'translate3d('+toBarPerc(n)+'%,0,0)' };
  24071. } else if (Settings.positionUsing === 'translate') {
  24072. barCSS = { transform: 'translate('+toBarPerc(n)+'%,0)' };
  24073. } else {
  24074. barCSS = { 'margin-left': toBarPerc(n)+'%' };
  24075. }
  24076. barCSS.transition = 'all '+speed+'ms '+ease;
  24077. return barCSS;
  24078. }
  24079. /**
  24080. * (Internal) Queues a function to be executed.
  24081. */
  24082. var queue = (function() {
  24083. var pending = [];
  24084. function next() {
  24085. var fn = pending.shift();
  24086. if (fn) {
  24087. fn(next);
  24088. }
  24089. }
  24090. return function(fn) {
  24091. pending.push(fn);
  24092. if (pending.length == 1) next();
  24093. };
  24094. })();
  24095. /**
  24096. * (Internal) Applies css properties to an element, similar to the jQuery
  24097. * css method.
  24098. *
  24099. * While this helper does assist with vendor prefixed property names, it
  24100. * does not perform any manipulation of values prior to setting styles.
  24101. */
  24102. var css = (function() {
  24103. var cssPrefixes = [ 'Webkit', 'O', 'Moz', 'ms' ],
  24104. cssProps = {};
  24105. function camelCase(string) {
  24106. return string.replace(/^-ms-/, 'ms-').replace(/-([\da-z])/gi, function(match, letter) {
  24107. return letter.toUpperCase();
  24108. });
  24109. }
  24110. function getVendorProp(name) {
  24111. var style = document.body.style;
  24112. if (name in style) return name;
  24113. var i = cssPrefixes.length,
  24114. capName = name.charAt(0).toUpperCase() + name.slice(1),
  24115. vendorName;
  24116. while (i--) {
  24117. vendorName = cssPrefixes[i] + capName;
  24118. if (vendorName in style) return vendorName;
  24119. }
  24120. return name;
  24121. }
  24122. function getStyleProp(name) {
  24123. name = camelCase(name);
  24124. return cssProps[name] || (cssProps[name] = getVendorProp(name));
  24125. }
  24126. function applyCss(element, prop, value) {
  24127. prop = getStyleProp(prop);
  24128. element.style[prop] = value;
  24129. }
  24130. return function(element, properties) {
  24131. var args = arguments,
  24132. prop,
  24133. value;
  24134. if (args.length == 2) {
  24135. for (prop in properties) {
  24136. value = properties[prop];
  24137. if (value !== undefined && properties.hasOwnProperty(prop)) applyCss(element, prop, value);
  24138. }
  24139. } else {
  24140. applyCss(element, args[1], args[2]);
  24141. }
  24142. }
  24143. })();
  24144. /**
  24145. * (Internal) Determines if an element or space separated list of class names contains a class name.
  24146. */
  24147. function hasClass(element, name) {
  24148. var list = typeof element == 'string' ? element : classList(element);
  24149. return list.indexOf(' ' + name + ' ') >= 0;
  24150. }
  24151. /**
  24152. * (Internal) Adds a class to an element.
  24153. */
  24154. function addClass(element, name) {
  24155. var oldList = classList(element),
  24156. newList = oldList + name;
  24157. if (hasClass(oldList, name)) return;
  24158. // Trim the opening space.
  24159. element.className = newList.substring(1);
  24160. }
  24161. /**
  24162. * (Internal) Removes a class from an element.
  24163. */
  24164. function removeClass(element, name) {
  24165. var oldList = classList(element),
  24166. newList;
  24167. if (!hasClass(element, name)) return;
  24168. // Replace the class name.
  24169. newList = oldList.replace(' ' + name + ' ', ' ');
  24170. // Trim the opening and closing spaces.
  24171. element.className = newList.substring(1, newList.length - 1);
  24172. }
  24173. /**
  24174. * (Internal) Gets a space separated list of the class names on the element.
  24175. * The list is wrapped with a single space on each end to facilitate finding
  24176. * matches within the list.
  24177. */
  24178. function classList(element) {
  24179. return (' ' + (element.className || '') + ' ').replace(/\s+/gi, ' ');
  24180. }
  24181. /**
  24182. * (Internal) Removes an element from the DOM.
  24183. */
  24184. function removeElement(element) {
  24185. element && element.parentNode && element.parentNode.removeChild(element);
  24186. }
  24187. return NProgress;
  24188. });
  24189. /***/ }),
  24190. /***/ "./node_modules/object-inspect/index.js":
  24191. /*!**********************************************!*\
  24192. !*** ./node_modules/object-inspect/index.js ***!
  24193. \**********************************************/
  24194. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  24195. var hasMap = typeof Map === 'function' && Map.prototype;
  24196. var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
  24197. var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;
  24198. var mapForEach = hasMap && Map.prototype.forEach;
  24199. var hasSet = typeof Set === 'function' && Set.prototype;
  24200. var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;
  24201. var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;
  24202. var setForEach = hasSet && Set.prototype.forEach;
  24203. var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;
  24204. var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;
  24205. var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;
  24206. var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;
  24207. var hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;
  24208. var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;
  24209. var booleanValueOf = Boolean.prototype.valueOf;
  24210. var objectToString = Object.prototype.toString;
  24211. var functionToString = Function.prototype.toString;
  24212. var $match = String.prototype.match;
  24213. var $slice = String.prototype.slice;
  24214. var $replace = String.prototype.replace;
  24215. var $toUpperCase = String.prototype.toUpperCase;
  24216. var $toLowerCase = String.prototype.toLowerCase;
  24217. var $test = RegExp.prototype.test;
  24218. var $concat = Array.prototype.concat;
  24219. var $join = Array.prototype.join;
  24220. var $arrSlice = Array.prototype.slice;
  24221. var $floor = Math.floor;
  24222. var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;
  24223. var gOPS = Object.getOwnPropertySymbols;
  24224. var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;
  24225. var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';
  24226. // ie, `has-tostringtag/shams
  24227. var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')
  24228. ? Symbol.toStringTag
  24229. : null;
  24230. var isEnumerable = Object.prototype.propertyIsEnumerable;
  24231. var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (
  24232. [].__proto__ === Array.prototype // eslint-disable-line no-proto
  24233. ? function (O) {
  24234. return O.__proto__; // eslint-disable-line no-proto
  24235. }
  24236. : null
  24237. );
  24238. function addNumericSeparator(num, str) {
  24239. if (
  24240. num === Infinity
  24241. || num === -Infinity
  24242. || num !== num
  24243. || (num && num > -1000 && num < 1000)
  24244. || $test.call(/e/, str)
  24245. ) {
  24246. return str;
  24247. }
  24248. var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
  24249. if (typeof num === 'number') {
  24250. var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)
  24251. if (int !== num) {
  24252. var intStr = String(int);
  24253. var dec = $slice.call(str, intStr.length + 1);
  24254. return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');
  24255. }
  24256. }
  24257. return $replace.call(str, sepRegex, '$&_');
  24258. }
  24259. var inspectCustom = (__webpack_require__(/*! ./util.inspect */ "?2128").custom);
  24260. var inspectSymbol = inspectCustom && isSymbol(inspectCustom) ? inspectCustom : null;
  24261. module.exports = function inspect_(obj, options, depth, seen) {
  24262. var opts = options || {};
  24263. if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {
  24264. throw new TypeError('option "quoteStyle" must be "single" or "double"');
  24265. }
  24266. if (
  24267. has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'
  24268. ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity
  24269. : opts.maxStringLength !== null
  24270. )
  24271. ) {
  24272. throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
  24273. }
  24274. var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;
  24275. if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {
  24276. throw new TypeError('option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`');
  24277. }
  24278. if (
  24279. has(opts, 'indent')
  24280. && opts.indent !== null
  24281. && opts.indent !== '\t'
  24282. && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)
  24283. ) {
  24284. throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
  24285. }
  24286. if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {
  24287. throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
  24288. }
  24289. var numericSeparator = opts.numericSeparator;
  24290. if (typeof obj === 'undefined') {
  24291. return 'undefined';
  24292. }
  24293. if (obj === null) {
  24294. return 'null';
  24295. }
  24296. if (typeof obj === 'boolean') {
  24297. return obj ? 'true' : 'false';
  24298. }
  24299. if (typeof obj === 'string') {
  24300. return inspectString(obj, opts);
  24301. }
  24302. if (typeof obj === 'number') {
  24303. if (obj === 0) {
  24304. return Infinity / obj > 0 ? '0' : '-0';
  24305. }
  24306. var str = String(obj);
  24307. return numericSeparator ? addNumericSeparator(obj, str) : str;
  24308. }
  24309. if (typeof obj === 'bigint') {
  24310. var bigIntStr = String(obj) + 'n';
  24311. return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;
  24312. }
  24313. var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;
  24314. if (typeof depth === 'undefined') { depth = 0; }
  24315. if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {
  24316. return isArray(obj) ? '[Array]' : '[Object]';
  24317. }
  24318. var indent = getIndent(opts, depth);
  24319. if (typeof seen === 'undefined') {
  24320. seen = [];
  24321. } else if (indexOf(seen, obj) >= 0) {
  24322. return '[Circular]';
  24323. }
  24324. function inspect(value, from, noIndent) {
  24325. if (from) {
  24326. seen = $arrSlice.call(seen);
  24327. seen.push(from);
  24328. }
  24329. if (noIndent) {
  24330. var newOpts = {
  24331. depth: opts.depth
  24332. };
  24333. if (has(opts, 'quoteStyle')) {
  24334. newOpts.quoteStyle = opts.quoteStyle;
  24335. }
  24336. return inspect_(value, newOpts, depth + 1, seen);
  24337. }
  24338. return inspect_(value, opts, depth + 1, seen);
  24339. }
  24340. if (typeof obj === 'function') {
  24341. var name = nameOf(obj);
  24342. var keys = arrObjKeys(obj, inspect);
  24343. return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');
  24344. }
  24345. if (isSymbol(obj)) {
  24346. var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, '$1') : symToString.call(obj);
  24347. return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;
  24348. }
  24349. if (isElement(obj)) {
  24350. var s = '<' + $toLowerCase.call(String(obj.nodeName));
  24351. var attrs = obj.attributes || [];
  24352. for (var i = 0; i < attrs.length; i++) {
  24353. s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);
  24354. }
  24355. s += '>';
  24356. if (obj.childNodes && obj.childNodes.length) { s += '...'; }
  24357. s += '</' + $toLowerCase.call(String(obj.nodeName)) + '>';
  24358. return s;
  24359. }
  24360. if (isArray(obj)) {
  24361. if (obj.length === 0) { return '[]'; }
  24362. var xs = arrObjKeys(obj, inspect);
  24363. if (indent && !singleLineValues(xs)) {
  24364. return '[' + indentedJoin(xs, indent) + ']';
  24365. }
  24366. return '[ ' + $join.call(xs, ', ') + ' ]';
  24367. }
  24368. if (isError(obj)) {
  24369. var parts = arrObjKeys(obj, inspect);
  24370. if ('cause' in obj && !isEnumerable.call(obj, 'cause')) {
  24371. return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';
  24372. }
  24373. if (parts.length === 0) { return '[' + String(obj) + ']'; }
  24374. return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';
  24375. }
  24376. if (typeof obj === 'object' && customInspect) {
  24377. if (inspectSymbol && typeof obj[inspectSymbol] === 'function') {
  24378. return obj[inspectSymbol]();
  24379. } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {
  24380. return obj.inspect();
  24381. }
  24382. }
  24383. if (isMap(obj)) {
  24384. var mapParts = [];
  24385. mapForEach.call(obj, function (value, key) {
  24386. mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));
  24387. });
  24388. return collectionOf('Map', mapSize.call(obj), mapParts, indent);
  24389. }
  24390. if (isSet(obj)) {
  24391. var setParts = [];
  24392. setForEach.call(obj, function (value) {
  24393. setParts.push(inspect(value, obj));
  24394. });
  24395. return collectionOf('Set', setSize.call(obj), setParts, indent);
  24396. }
  24397. if (isWeakMap(obj)) {
  24398. return weakCollectionOf('WeakMap');
  24399. }
  24400. if (isWeakSet(obj)) {
  24401. return weakCollectionOf('WeakSet');
  24402. }
  24403. if (isWeakRef(obj)) {
  24404. return weakCollectionOf('WeakRef');
  24405. }
  24406. if (isNumber(obj)) {
  24407. return markBoxed(inspect(Number(obj)));
  24408. }
  24409. if (isBigInt(obj)) {
  24410. return markBoxed(inspect(bigIntValueOf.call(obj)));
  24411. }
  24412. if (isBoolean(obj)) {
  24413. return markBoxed(booleanValueOf.call(obj));
  24414. }
  24415. if (isString(obj)) {
  24416. return markBoxed(inspect(String(obj)));
  24417. }
  24418. if (!isDate(obj) && !isRegExp(obj)) {
  24419. var ys = arrObjKeys(obj, inspect);
  24420. var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
  24421. var protoTag = obj instanceof Object ? '' : 'null prototype';
  24422. var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : '';
  24423. var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';
  24424. var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');
  24425. if (ys.length === 0) { return tag + '{}'; }
  24426. if (indent) {
  24427. return tag + '{' + indentedJoin(ys, indent) + '}';
  24428. }
  24429. return tag + '{ ' + $join.call(ys, ', ') + ' }';
  24430. }
  24431. return String(obj);
  24432. };
  24433. function wrapQuotes(s, defaultStyle, opts) {
  24434. var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '"' : "'";
  24435. return quoteChar + s + quoteChar;
  24436. }
  24437. function quote(s) {
  24438. return $replace.call(String(s), /"/g, '&quot;');
  24439. }
  24440. function isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
  24441. function isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
  24442. function isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
  24443. function isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
  24444. function isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
  24445. function isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
  24446. function isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
  24447. // Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives
  24448. function isSymbol(obj) {
  24449. if (hasShammedSymbols) {
  24450. return obj && typeof obj === 'object' && obj instanceof Symbol;
  24451. }
  24452. if (typeof obj === 'symbol') {
  24453. return true;
  24454. }
  24455. if (!obj || typeof obj !== 'object' || !symToString) {
  24456. return false;
  24457. }
  24458. try {
  24459. symToString.call(obj);
  24460. return true;
  24461. } catch (e) {}
  24462. return false;
  24463. }
  24464. function isBigInt(obj) {
  24465. if (!obj || typeof obj !== 'object' || !bigIntValueOf) {
  24466. return false;
  24467. }
  24468. try {
  24469. bigIntValueOf.call(obj);
  24470. return true;
  24471. } catch (e) {}
  24472. return false;
  24473. }
  24474. var hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };
  24475. function has(obj, key) {
  24476. return hasOwn.call(obj, key);
  24477. }
  24478. function toStr(obj) {
  24479. return objectToString.call(obj);
  24480. }
  24481. function nameOf(f) {
  24482. if (f.name) { return f.name; }
  24483. var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/);
  24484. if (m) { return m[1]; }
  24485. return null;
  24486. }
  24487. function indexOf(xs, x) {
  24488. if (xs.indexOf) { return xs.indexOf(x); }
  24489. for (var i = 0, l = xs.length; i < l; i++) {
  24490. if (xs[i] === x) { return i; }
  24491. }
  24492. return -1;
  24493. }
  24494. function isMap(x) {
  24495. if (!mapSize || !x || typeof x !== 'object') {
  24496. return false;
  24497. }
  24498. try {
  24499. mapSize.call(x);
  24500. try {
  24501. setSize.call(x);
  24502. } catch (s) {
  24503. return true;
  24504. }
  24505. return x instanceof Map; // core-js workaround, pre-v2.5.0
  24506. } catch (e) {}
  24507. return false;
  24508. }
  24509. function isWeakMap(x) {
  24510. if (!weakMapHas || !x || typeof x !== 'object') {
  24511. return false;
  24512. }
  24513. try {
  24514. weakMapHas.call(x, weakMapHas);
  24515. try {
  24516. weakSetHas.call(x, weakSetHas);
  24517. } catch (s) {
  24518. return true;
  24519. }
  24520. return x instanceof WeakMap; // core-js workaround, pre-v2.5.0
  24521. } catch (e) {}
  24522. return false;
  24523. }
  24524. function isWeakRef(x) {
  24525. if (!weakRefDeref || !x || typeof x !== 'object') {
  24526. return false;
  24527. }
  24528. try {
  24529. weakRefDeref.call(x);
  24530. return true;
  24531. } catch (e) {}
  24532. return false;
  24533. }
  24534. function isSet(x) {
  24535. if (!setSize || !x || typeof x !== 'object') {
  24536. return false;
  24537. }
  24538. try {
  24539. setSize.call(x);
  24540. try {
  24541. mapSize.call(x);
  24542. } catch (m) {
  24543. return true;
  24544. }
  24545. return x instanceof Set; // core-js workaround, pre-v2.5.0
  24546. } catch (e) {}
  24547. return false;
  24548. }
  24549. function isWeakSet(x) {
  24550. if (!weakSetHas || !x || typeof x !== 'object') {
  24551. return false;
  24552. }
  24553. try {
  24554. weakSetHas.call(x, weakSetHas);
  24555. try {
  24556. weakMapHas.call(x, weakMapHas);
  24557. } catch (s) {
  24558. return true;
  24559. }
  24560. return x instanceof WeakSet; // core-js workaround, pre-v2.5.0
  24561. } catch (e) {}
  24562. return false;
  24563. }
  24564. function isElement(x) {
  24565. if (!x || typeof x !== 'object') { return false; }
  24566. if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {
  24567. return true;
  24568. }
  24569. return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';
  24570. }
  24571. function inspectString(str, opts) {
  24572. if (str.length > opts.maxStringLength) {
  24573. var remaining = str.length - opts.maxStringLength;
  24574. var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');
  24575. return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;
  24576. }
  24577. // eslint-disable-next-line no-control-regex
  24578. var s = $replace.call($replace.call(str, /(['\\])/g, '\\$1'), /[\x00-\x1f]/g, lowbyte);
  24579. return wrapQuotes(s, 'single', opts);
  24580. }
  24581. function lowbyte(c) {
  24582. var n = c.charCodeAt(0);
  24583. var x = {
  24584. 8: 'b',
  24585. 9: 't',
  24586. 10: 'n',
  24587. 12: 'f',
  24588. 13: 'r'
  24589. }[n];
  24590. if (x) { return '\\' + x; }
  24591. return '\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));
  24592. }
  24593. function markBoxed(str) {
  24594. return 'Object(' + str + ')';
  24595. }
  24596. function weakCollectionOf(type) {
  24597. return type + ' { ? }';
  24598. }
  24599. function collectionOf(type, size, entries, indent) {
  24600. var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');
  24601. return type + ' (' + size + ') {' + joinedEntries + '}';
  24602. }
  24603. function singleLineValues(xs) {
  24604. for (var i = 0; i < xs.length; i++) {
  24605. if (indexOf(xs[i], '\n') >= 0) {
  24606. return false;
  24607. }
  24608. }
  24609. return true;
  24610. }
  24611. function getIndent(opts, depth) {
  24612. var baseIndent;
  24613. if (opts.indent === '\t') {
  24614. baseIndent = '\t';
  24615. } else if (typeof opts.indent === 'number' && opts.indent > 0) {
  24616. baseIndent = $join.call(Array(opts.indent + 1), ' ');
  24617. } else {
  24618. return null;
  24619. }
  24620. return {
  24621. base: baseIndent,
  24622. prev: $join.call(Array(depth + 1), baseIndent)
  24623. };
  24624. }
  24625. function indentedJoin(xs, indent) {
  24626. if (xs.length === 0) { return ''; }
  24627. var lineJoiner = '\n' + indent.prev + indent.base;
  24628. return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\n' + indent.prev;
  24629. }
  24630. function arrObjKeys(obj, inspect) {
  24631. var isArr = isArray(obj);
  24632. var xs = [];
  24633. if (isArr) {
  24634. xs.length = obj.length;
  24635. for (var i = 0; i < obj.length; i++) {
  24636. xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';
  24637. }
  24638. }
  24639. var syms = typeof gOPS === 'function' ? gOPS(obj) : [];
  24640. var symMap;
  24641. if (hasShammedSymbols) {
  24642. symMap = {};
  24643. for (var k = 0; k < syms.length; k++) {
  24644. symMap['$' + syms[k]] = syms[k];
  24645. }
  24646. }
  24647. for (var key in obj) { // eslint-disable-line no-restricted-syntax
  24648. if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
  24649. if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
  24650. if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {
  24651. // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section
  24652. continue; // eslint-disable-line no-restricted-syntax, no-continue
  24653. } else if ($test.call(/[^\w$]/, key)) {
  24654. xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));
  24655. } else {
  24656. xs.push(key + ': ' + inspect(obj[key], obj));
  24657. }
  24658. }
  24659. if (typeof gOPS === 'function') {
  24660. for (var j = 0; j < syms.length; j++) {
  24661. if (isEnumerable.call(obj, syms[j])) {
  24662. xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));
  24663. }
  24664. }
  24665. }
  24666. return xs;
  24667. }
  24668. /***/ }),
  24669. /***/ "./node_modules/primevue/api/api.esm.js":
  24670. /*!**********************************************!*\
  24671. !*** ./node_modules/primevue/api/api.esm.js ***!
  24672. \**********************************************/
  24673. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  24674. "use strict";
  24675. __webpack_require__.r(__webpack_exports__);
  24676. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  24677. /* harmony export */ "FilterMatchMode": () => (/* binding */ FilterMatchMode),
  24678. /* harmony export */ "FilterOperator": () => (/* binding */ FilterOperator),
  24679. /* harmony export */ "FilterService": () => (/* binding */ FilterService),
  24680. /* harmony export */ "PrimeIcons": () => (/* binding */ PrimeIcons),
  24681. /* harmony export */ "ToastSeverity": () => (/* binding */ ToastSeverities)
  24682. /* harmony export */ });
  24683. /* harmony import */ var primevue_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! primevue/utils */ "./node_modules/primevue/utils/utils.esm.js");
  24684. const FilterMatchMode = {
  24685. STARTS_WITH : 'startsWith',
  24686. CONTAINS : 'contains',
  24687. NOT_CONTAINS : 'notContains',
  24688. ENDS_WITH : 'endsWith',
  24689. EQUALS : 'equals',
  24690. NOT_EQUALS : 'notEquals',
  24691. IN : 'in',
  24692. LESS_THAN : 'lt',
  24693. LESS_THAN_OR_EQUAL_TO : 'lte',
  24694. GREATER_THAN : 'gt',
  24695. GREATER_THAN_OR_EQUAL_TO : 'gte',
  24696. BETWEEN : 'between',
  24697. DATE_IS : 'dateIs',
  24698. DATE_IS_NOT : 'dateIsNot',
  24699. DATE_BEFORE : 'dateBefore',
  24700. DATE_AFTER : 'dateAfter'
  24701. };
  24702. const FilterOperator = {
  24703. AND: 'and',
  24704. OR: 'or'
  24705. };
  24706. const FilterService = {
  24707. filter(value, fields, filterValue, filterMatchMode, filterLocale) {
  24708. let filteredItems = [];
  24709. if (value) {
  24710. for (let item of value) {
  24711. for (let field of fields) {
  24712. let fieldValue = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(item, field);
  24713. if (this.filters[filterMatchMode](fieldValue, filterValue, filterLocale)) {
  24714. filteredItems.push(item);
  24715. break;
  24716. }
  24717. }
  24718. }
  24719. }
  24720. return filteredItems;
  24721. },
  24722. filters: {
  24723. startsWith(value, filter, filterLocale) {
  24724. if (filter === undefined || filter === null || filter.trim() === '') {
  24725. return true;
  24726. }
  24727. if (value === undefined || value === null) {
  24728. return false;
  24729. }
  24730. let filterValue = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);
  24731. let stringValue = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.removeAccents(value.toString()).toLocaleLowerCase(filterLocale);
  24732. return stringValue.slice(0, filterValue.length) === filterValue;
  24733. },
  24734. contains(value, filter, filterLocale) {
  24735. if (filter === undefined || filter === null || (typeof filter === 'string' && filter.trim() === '')) {
  24736. return true;
  24737. }
  24738. if (value === undefined || value === null) {
  24739. return false;
  24740. }
  24741. let filterValue = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);
  24742. let stringValue = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.removeAccents(value.toString()).toLocaleLowerCase(filterLocale);
  24743. return stringValue.indexOf(filterValue) !== -1;
  24744. },
  24745. notContains(value, filter, filterLocale) {
  24746. if (filter === undefined || filter === null || (typeof filter === 'string' && filter.trim() === '')) {
  24747. return true;
  24748. }
  24749. if (value === undefined || value === null) {
  24750. return false;
  24751. }
  24752. let filterValue = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);
  24753. let stringValue = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.removeAccents(value.toString()).toLocaleLowerCase(filterLocale);
  24754. return stringValue.indexOf(filterValue) === -1;
  24755. },
  24756. endsWith(value, filter, filterLocale) {
  24757. if (filter === undefined || filter === null || filter.trim() === '') {
  24758. return true;
  24759. }
  24760. if (value === undefined || value === null) {
  24761. return false;
  24762. }
  24763. let filterValue = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);
  24764. let stringValue = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.removeAccents(value.toString()).toLocaleLowerCase(filterLocale);
  24765. return stringValue.indexOf(filterValue, stringValue.length - filterValue.length) !== -1;
  24766. },
  24767. equals(value, filter, filterLocale) {
  24768. if (filter === undefined || filter === null || (typeof filter === 'string' && filter.trim() === '')) {
  24769. return true;
  24770. }
  24771. if (value === undefined || value === null) {
  24772. return false;
  24773. }
  24774. if (value.getTime && filter.getTime)
  24775. return value.getTime() === filter.getTime();
  24776. else
  24777. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.removeAccents(value.toString()).toLocaleLowerCase(filterLocale) == primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);
  24778. },
  24779. notEquals(value, filter, filterLocale) {
  24780. if (filter === undefined || filter === null || (typeof filter === 'string' && filter.trim() === '')) {
  24781. return false;
  24782. }
  24783. if (value === undefined || value === null) {
  24784. return true;
  24785. }
  24786. if (value.getTime && filter.getTime)
  24787. return value.getTime() !== filter.getTime();
  24788. else
  24789. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.removeAccents(value.toString()).toLocaleLowerCase(filterLocale) != primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);
  24790. },
  24791. in(value, filter) {
  24792. if (filter === undefined || filter === null || filter.length === 0) {
  24793. return true;
  24794. }
  24795. for (let i = 0; i < filter.length; i++) {
  24796. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.equals(value, filter[i])) {
  24797. return true;
  24798. }
  24799. }
  24800. return false;
  24801. },
  24802. between(value, filter) {
  24803. if (filter == null || filter[0] == null || filter[1] == null) {
  24804. return true;
  24805. }
  24806. if (value === undefined || value === null) {
  24807. return false;
  24808. }
  24809. if (value.getTime)
  24810. return filter[0].getTime() <= value.getTime() && value.getTime() <= filter[1].getTime();
  24811. else
  24812. return filter[0] <= value && value <= filter[1];
  24813. },
  24814. lt(value, filter) {
  24815. if (filter === undefined || filter === null) {
  24816. return true;
  24817. }
  24818. if (value === undefined || value === null) {
  24819. return false;
  24820. }
  24821. if (value.getTime && filter.getTime)
  24822. return value.getTime() < filter.getTime();
  24823. else
  24824. return value < filter;
  24825. },
  24826. lte(value, filter) {
  24827. if (filter === undefined || filter === null) {
  24828. return true;
  24829. }
  24830. if (value === undefined || value === null) {
  24831. return false;
  24832. }
  24833. if (value.getTime && filter.getTime)
  24834. return value.getTime() <= filter.getTime();
  24835. else
  24836. return value <= filter;
  24837. },
  24838. gt(value, filter) {
  24839. if (filter === undefined || filter === null) {
  24840. return true;
  24841. }
  24842. if (value === undefined || value === null) {
  24843. return false;
  24844. }
  24845. if (value.getTime && filter.getTime)
  24846. return value.getTime() > filter.getTime();
  24847. else
  24848. return value > filter;
  24849. },
  24850. gte(value, filter) {
  24851. if (filter === undefined || filter === null) {
  24852. return true;
  24853. }
  24854. if (value === undefined || value === null) {
  24855. return false;
  24856. }
  24857. if (value.getTime && filter.getTime)
  24858. return value.getTime() >= filter.getTime();
  24859. else
  24860. return value >= filter;
  24861. },
  24862. dateIs(value, filter) {
  24863. if (filter === undefined || filter === null) {
  24864. return true;
  24865. }
  24866. if (value === undefined || value === null) {
  24867. return false;
  24868. }
  24869. return value.toDateString() === filter.toDateString();
  24870. },
  24871. dateIsNot(value, filter) {
  24872. if (filter === undefined || filter === null) {
  24873. return true;
  24874. }
  24875. if (value === undefined || value === null) {
  24876. return false;
  24877. }
  24878. return value.toDateString() !== filter.toDateString();
  24879. },
  24880. dateBefore(value, filter) {
  24881. if (filter === undefined || filter === null) {
  24882. return true;
  24883. }
  24884. if (value === undefined || value === null) {
  24885. return false;
  24886. }
  24887. return value.getTime() < filter.getTime();
  24888. },
  24889. dateAfter(value, filter) {
  24890. if (filter === undefined || filter === null) {
  24891. return true;
  24892. }
  24893. if (value === undefined || value === null) {
  24894. return false;
  24895. }
  24896. return value.getTime() > filter.getTime();
  24897. }
  24898. },
  24899. register(rule, fn) {
  24900. this.filters[rule] = fn;
  24901. }
  24902. };
  24903. const PrimeIcons = {
  24904. ALIGN_CENTER:'pi pi-align-center',
  24905. ALIGN_JUSTIFY:'pi pi-align-justify',
  24906. ALIGN_LEFT:'pi pi-align-left',
  24907. ALIGN_RIGHT:'pi pi-align-right',
  24908. AMAZON:'pi pi-amazon',
  24909. ANDROID:'pi pi-android',
  24910. ANGLE_DOUBLE_DOWN:'pi pi-angle-double-down',
  24911. ANGLE_DOUBLE_LEFT:'pi pi-angle-double-left',
  24912. ANGLE_DOUBLE_RIGHT:'pi pi-angle-double-right',
  24913. ANGLE_DOUBLE_UP:'pi pi-angle-double-up',
  24914. ANGLE_DOWN:'pi pi-angle-down',
  24915. ANGLE_LEFT:'pi pi-angle-left',
  24916. ANGLE_RIGHT:'pi pi-angle-right',
  24917. ANGLE_UP:'pi pi-angle-up',
  24918. APPLE:'pi pi-apple',
  24919. ARROW_CIRCLE_DOWN:'pi pi-arrow-circle-down',
  24920. ARROW_CIRCLE_LEFT:'pi pi-arrow-circle-left',
  24921. ARROW_CIRCLE_RIGHT:'pi pi-arrow-circle-right',
  24922. ARROW_CIRCLE_UP:'pi pi-arrow-circle-up',
  24923. ARROW_DOWN:'pi pi-arrow-down',
  24924. ARROW_DOWN_LEFT:'pi pi-arrow-down-left',
  24925. ARROW_DOWN_RIGHT:'pi pi-arrow-down-right',
  24926. ARROW_LEFT:'pi pi-arrow-left',
  24927. ARROW_RIGHT:'pi pi-arrow-right',
  24928. ARROW_UP:'pi pi-arrow-up',
  24929. ARROW_UP_LEFT:'pi pi-arrow-up-left',
  24930. ARROW_UP_RIGHT:'pi pi-arrow-up-right',
  24931. ARROW_H:'pi pi-arrow-h',
  24932. ARROW_V:'pi pi-arrow-v',
  24933. AT:'pi pi-at',
  24934. BACKWARD:'pi pi-backward',
  24935. BAN:'pi pi-ban',
  24936. BARS:'pi pi-bars',
  24937. BELL:'pi pi-bell',
  24938. BOLT:'pi pi-bolt',
  24939. BOOK:'pi pi-book',
  24940. BOOKMARK:'pi pi-bookmark',
  24941. BOOKMARK_FILL:'pi pi-bookmark-fill',
  24942. BOX:'pi pi-box',
  24943. BRIEFCASE:'pi pi-briefcase',
  24944. BUILDING:'pi pi-building',
  24945. CALENDAR:'pi pi-calendar',
  24946. CALENDAR_MINUS:'pi pi-calendar-minus',
  24947. CALENDAR_PLUS:'pi pi-calendar-plus',
  24948. CALENDAR_TIMES:'pi pi-calendar-times',
  24949. CAMERA:'pi pi-camera',
  24950. CAR:'pi pi-car',
  24951. CARET_DOWN:'pi pi-caret-down',
  24952. CARET_LEFT:'pi pi-caret-left',
  24953. CARET_RIGHT:'pi pi-caret-right',
  24954. CARET_UP:'pi pi-caret-up',
  24955. CHART_BAR:'pi pi-chart-bar',
  24956. CHART_LINE:'pi pi-chart-line',
  24957. CHART_PIE:'pi pi-chart-pie',
  24958. CHECK:'pi pi-check',
  24959. CHECK_CIRCLE:'pi pi-check-circle',
  24960. CHECK_SQUARE:'pi pi-check-square',
  24961. CHEVRON_CIRCLE_DOWN:'pi pi-chevron-circle-down',
  24962. CHEVRON_CIRCLE_LEFT:'pi pi-chevron-circle-left',
  24963. CHEVRON_CIRCLE_RIGHT:'pi pi-chevron-circle-right',
  24964. CHEVRON_CIRCLE_UP:'pi pi-chevron-circle-up',
  24965. CHEVRON_DOWN:'pi pi-chevron-down',
  24966. CHEVRON_LEFT:'pi pi-chevron-left',
  24967. CHEVRON_RIGHT:'pi pi-chevron-right',
  24968. CHEVRON_UP:'pi pi-chevron-up',
  24969. CIRCLE:'pi pi-circle',
  24970. CIRCLE_FILL:'pi pi-circle-fill',
  24971. CLOCK:'pi pi-clock',
  24972. CLONE:'pi pi-clone',
  24973. CLOUD:'pi pi-cloud',
  24974. CLOUD_DOWNLOAD:'pi pi-cloud-download',
  24975. CLOUD_UPLOAD:'pi pi-cloud-upload',
  24976. CODE:'pi pi-code',
  24977. COG:'pi pi-cog',
  24978. COMMENT:'pi pi-comment',
  24979. COMMENTS:'pi pi-comments',
  24980. COMPASS:'pi pi-compass',
  24981. COPY:'pi pi-copy',
  24982. CREDIT_CARD:'pi pi-credit-card',
  24983. DATABASE:'pi pi-database',
  24984. DESKTOP:'pi pi-desktop',
  24985. DIRECTIONS:'pi pi-directions',
  24986. DIRECTIONS_ALT:'pi pi-directions-alt',
  24987. DISCORD:'pi pi-discord',
  24988. DOLLAR:'pi pi-dollar',
  24989. DOWNLOAD:'pi pi-download',
  24990. EJECT:'pi pi-eject',
  24991. ELLIPSIS_H:'pi pi-ellipsis-h',
  24992. ELLIPSIS_V:'pi pi-ellipsis-v',
  24993. ENVELOPE:'pi pi-envelope',
  24994. EURO:'pi pi-euro',
  24995. EXCLAMATION_CIRCLE:'pi pi-exclamation-circle',
  24996. EXCLAMATION_TRIANGLE :'pi pi-exclamation-triangle',
  24997. EXTERNAL_LINK:'pi pi-external-link',
  24998. EYE:'pi pi-eye',
  24999. EYE_SLASH:'pi pi-eye-slash',
  25000. FACEBOOK:'pi pi-facebook',
  25001. FAST_BACKWARD:'pi pi-fast-backward',
  25002. FAST_FORWARD:'pi pi-fast-forward',
  25003. FILE:'pi pi-file',
  25004. FILE_EXCEL:'pi pi-file-excel',
  25005. FILE_PDF:'pi pi-file-pdf',
  25006. FILTER:'pi pi-filter',
  25007. FILTER_FILL:'pi pi-filter-fill',
  25008. FILTER_SLASH:'pi pi-filter-slash',
  25009. FLAG:'pi pi-flag',
  25010. FLAG_FILL:'pi pi-flag-fill',
  25011. FOLDER:'pi pi-folder',
  25012. FOLDER_OPEN:'pi pi-folder-open',
  25013. FORWARD:'pi pi-forward',
  25014. GITHUB:'pi pi-github',
  25015. GLOBE:'pi pi-globe',
  25016. GOOGLE:'pi pi-google',
  25017. HASHTAG:'pi pi-hashtag',
  25018. HEART:'pi pi-heart',
  25019. HEART_FILL:'pi pi-heart-fill',
  25020. HISTORY:'pi pi-history',
  25021. HOME:'pi pi-home',
  25022. ID_CARD:'pi pi-id-card',
  25023. IMAGE:'pi pi-image',
  25024. IMAGES:'pi pi-images',
  25025. INBOX:'pi pi-inbox',
  25026. INFO:'pi pi-info',
  25027. INFO_CIRCLE:'pi pi-info-circle',
  25028. INSTAGRAM:'pi pi-instagram',
  25029. KEY:'pi pi-key',
  25030. LINK:'pi pi-link',
  25031. LINKEDIN:'pi pi-linkedin',
  25032. LIST:'pi pi-list',
  25033. LOCK:'pi pi-lock',
  25034. LOCK_OPEN:'pi pi-lock-open',
  25035. MAP:'pi pi-map',
  25036. MAP_MARKER:'pi pi-map-marker',
  25037. MICROSOFT:'pi pi-microsoft',
  25038. MINUS:'pi pi-minus',
  25039. MINUS_CIRCLE:'pi pi-minus-circle',
  25040. MOBILE:'pi pi-mobile',
  25041. MONEY_BILL:'pi pi-money-bill',
  25042. MOON:'pi pi-moon',
  25043. PALETTE:'pi pi-palette',
  25044. PAPERCLIP:'pi pi-paperclip',
  25045. PAUSE:'pi pi-pause',
  25046. PAYPAL:'pi pi-paypal',
  25047. PENCIL:'pi pi-pencil',
  25048. PERCENTAGE:'pi pi-percentage',
  25049. PHONE:'pi pi-phone',
  25050. PLAY:'pi pi-play',
  25051. PLUS:'pi pi-plus',
  25052. PLUS_CIRCLE:'pi pi-plus-circle',
  25053. POUND:'pi pi-pound',
  25054. POWER_OFF:'pi pi-power-off',
  25055. PRIME:'pi pi-prime',
  25056. PRINT:'pi pi-print',
  25057. QRCODE:'pi pi-qrcode',
  25058. QUESTION:'pi pi-question',
  25059. QUESTION_CIRCLE:'pi pi-question-circle',
  25060. REDDIT:'pi pi-reddit',
  25061. REFRESH:'pi pi-refresh',
  25062. REPLAY:'pi pi-replay',
  25063. REPLY:'pi pi-reply',
  25064. SAVE:'pi pi-save',
  25065. SEARCH:'pi pi-search',
  25066. SEARCH_MINUS:'pi pi-search-minus',
  25067. SEARCH_PLUS:'pi pi-search-plus',
  25068. SEND:'pi pi-send',
  25069. SERVER:'pi pi-server',
  25070. SHARE_ALT:'pi pi-share-alt',
  25071. SHIELD:'pi pi-shield',
  25072. SHOPPING_BAG:'pi pi-shopping-bag',
  25073. SHOPPING_CART:'pi pi-shopping-cart',
  25074. SIGN_IN:'pi pi-sign-in',
  25075. SIGN_OUT:'pi pi-sign-out',
  25076. SITEMAP:'pi pi-sitemap',
  25077. SLACK:'pi pi-slack',
  25078. SLIDERS_H:'pi pi-sliders-h',
  25079. SLIDERS_V:'pi pi-sliders-v',
  25080. SORT:'pi pi-sort',
  25081. SORT_ALPHA_DOWN:'pi pi-sort-alpha-down',
  25082. SORT_ALPHA_ALT_DOWN:'pi pi-sort-alpha-alt-down',
  25083. SORT_ALPHA_UP:'pi pi-sort-alpha-up',
  25084. SORT_ALPHA_ALT_UP:'pi pi-sort-alpha-alt-up',
  25085. SORT_ALT:'pi pi-sort-alt',
  25086. SORT_ALT_SLASH:'pi pi-sort-slash',
  25087. SORT_AMOUNT_DOWN:'pi pi-sort-amount-down',
  25088. SORT_AMOUNT_DOWN_ALT:'pi pi-sort-amount-down-alt',
  25089. SORT_AMOUNT_UP:'pi pi-sort-amount-up',
  25090. SORT_AMOUNT_UP_ALT:'pi pi-sort-amount-up-alt',
  25091. SORT_DOWN:'pi pi-sort-down',
  25092. SORT_NUMERIC_DOWN:'pi pi-sort-numeric-down',
  25093. SORT_NUMERIC_ALT_DOWN:'pi pi-sort-numeric-alt-down',
  25094. SORT_NUMERIC_UP:'pi pi-sort-numeric-up',
  25095. SORT_NUMERIC_ALT_UP:'pi pi-sort-numeric-alt-up',
  25096. SORT_UP:'pi pi-sort-up',
  25097. SPINNER:'pi pi-spinner',
  25098. STAR:'pi pi-star',
  25099. STAR_FILL:'pi pi-star-fill',
  25100. STEP_BACKWARD:'pi pi-step-backward',
  25101. STEP_BACKWARD_ALT:'pi pi-step-backward-alt',
  25102. STEP_FORWARD:'pi pi-step-forward',
  25103. STEP_FORWARD_ALT:'pi pi-step-forward-alt',
  25104. STOP:'pi pi-stop',
  25105. STOP_CIRCLE:'pi pi-stop-circle',
  25106. SUN:'pi pi-sun',
  25107. SYNC:'pi pi-sync',
  25108. TABLE:'pi pi-table',
  25109. TABLET:'pi pi-tablet',
  25110. TAG:'pi pi-tag',
  25111. TAGS:'pi pi-tags',
  25112. TELEGRAM:'pi pi-telegram',
  25113. TH_LARGE:'pi pi-th-large',
  25114. THUMBS_DOWN:'pi pi-thumbs-down',
  25115. THUMBS_UP:'pi pi-thumbs-up',
  25116. TICKET:'pi pi-ticket',
  25117. TIMES:'pi pi-times',
  25118. TIMES_CIRCLE:'pi pi-times-circle',
  25119. TRASH:'pi pi-trash',
  25120. TWITTER:'pi pi-twitter',
  25121. UNDO:'pi pi-undo',
  25122. UNLOCK:'pi pi-unlock',
  25123. UPLOAD:'pi pi-upload',
  25124. USER:'pi pi-user',
  25125. USER_EDIT:'pi pi-user-edit',
  25126. USER_MINUS:'pi pi-user-minus',
  25127. USER_PLUS:'pi pi-user-plus',
  25128. USERS:'pi pi-users',
  25129. VIDEO:'pi pi-video',
  25130. VIMEO:'pi pi-vimeo',
  25131. VOLUME_DOWN:'pi pi-volume-down',
  25132. VOLUME_OFF:'pi pi-volume-off',
  25133. VOLUME_UP:'pi pi-volume-up',
  25134. WALLET:'pi pi-wallet',
  25135. WHATSAPP:'pi pi-whatsapp',
  25136. WIFI:'pi pi-wifi',
  25137. WINDOW_MAXIMIZE:'pi pi-window-maximize',
  25138. WINDOW_MINIMIZE:'pi pi-window-minimize',
  25139. YOUTUBE:'pi pi-youtube'
  25140. };
  25141. const ToastSeverities = {
  25142. INFO: 'info',
  25143. WARN: 'warn',
  25144. ERROR: 'error',
  25145. SUCCESS: 'success'
  25146. };
  25147. /***/ }),
  25148. /***/ "./node_modules/primevue/autocomplete/autocomplete.esm.js":
  25149. /*!****************************************************************!*\
  25150. !*** ./node_modules/primevue/autocomplete/autocomplete.esm.js ***!
  25151. \****************************************************************/
  25152. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  25153. "use strict";
  25154. __webpack_require__.r(__webpack_exports__);
  25155. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  25156. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  25157. /* harmony export */ });
  25158. /* harmony import */ var primevue_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! primevue/utils */ "./node_modules/primevue/utils/utils.esm.js");
  25159. /* harmony import */ var primevue_overlayeventbus__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! primevue/overlayeventbus */ "./node_modules/primevue/overlayeventbus/overlayeventbus.esm.js");
  25160. /* harmony import */ var primevue_button__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! primevue/button */ "./node_modules/primevue/button/button.esm.js");
  25161. /* harmony import */ var primevue_ripple__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! primevue/ripple */ "./node_modules/primevue/ripple/ripple.esm.js");
  25162. /* harmony import */ var primevue_virtualscroller__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! primevue/virtualscroller */ "./node_modules/primevue/virtualscroller/virtualscroller.esm.js");
  25163. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  25164. var script = {
  25165. name: 'AutoComplete',
  25166. inheritAttrs: false,
  25167. emits: ['update:modelValue', 'item-select', 'item-unselect', 'dropdown-click', 'clear', 'complete'],
  25168. props: {
  25169. modelValue: null,
  25170. suggestions: {
  25171. type: Array,
  25172. default: null
  25173. },
  25174. field: {
  25175. type: [String,Function],
  25176. default: null
  25177. },
  25178. optionGroupLabel: null,
  25179. optionGroupChildren: null,
  25180. scrollHeight: {
  25181. type: String,
  25182. default: '200px'
  25183. },
  25184. dropdown: {
  25185. type: Boolean,
  25186. default: false
  25187. },
  25188. dropdownMode: {
  25189. type: String,
  25190. default: 'blank'
  25191. },
  25192. autoHighlight: {
  25193. type: Boolean,
  25194. default: false
  25195. },
  25196. multiple: {
  25197. type: Boolean,
  25198. default: false
  25199. },
  25200. minLength: {
  25201. type: Number,
  25202. default: 1
  25203. },
  25204. delay: {
  25205. type: Number,
  25206. default: 300
  25207. },
  25208. appendTo: {
  25209. type: String,
  25210. default: 'body'
  25211. },
  25212. forceSelection: {
  25213. type: Boolean,
  25214. default: false
  25215. },
  25216. completeOnFocus: {
  25217. type: Boolean,
  25218. default: false
  25219. },
  25220. inputClass: null,
  25221. inputStyle: null,
  25222. class: null,
  25223. style: null,
  25224. panelClass: null,
  25225. virtualScrollerOptions: {
  25226. type: Object,
  25227. default: null
  25228. }
  25229. },
  25230. timeout: null,
  25231. outsideClickListener: null,
  25232. resizeListener: null,
  25233. scrollHandler: null,
  25234. overlay: null,
  25235. virtualScroller: null,
  25236. data() {
  25237. return {
  25238. searching: false,
  25239. focused: false,
  25240. overlayVisible: false,
  25241. inputTextValue: null,
  25242. highlightItem: null
  25243. };
  25244. },
  25245. watch: {
  25246. suggestions() {
  25247. if (this.searching) {
  25248. if (this.suggestions && this.suggestions.length)
  25249. this.showOverlay();
  25250. else
  25251. this.hideOverlay();
  25252. this.searching = false;
  25253. }
  25254. }
  25255. },
  25256. beforeUnmount() {
  25257. this.unbindOutsideClickListener();
  25258. this.unbindResizeListener();
  25259. if (this.scrollHandler) {
  25260. this.scrollHandler.destroy();
  25261. this.scrollHandler = null;
  25262. }
  25263. if (this.overlay) {
  25264. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.clear(this.overlay);
  25265. this.overlay = null;
  25266. }
  25267. },
  25268. updated() {
  25269. if (this.overlayVisible) {
  25270. this.alignOverlay();
  25271. }
  25272. },
  25273. methods: {
  25274. getOptionIndex(index, fn) {
  25275. return this.virtualScrollerDisabled ? index : (fn && fn(index)['index']);
  25276. },
  25277. getOptionRenderKey(option) {
  25278. return this.getItemContent(option);
  25279. },
  25280. getOptionGroupRenderKey(optionGroup) {
  25281. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(optionGroup, this.optionGroupLabel);
  25282. },
  25283. getOptionGroupLabel(optionGroup) {
  25284. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(optionGroup, this.optionGroupLabel);
  25285. },
  25286. getOptionGroupChildren(optionGroup) {
  25287. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(optionGroup, this.optionGroupChildren);
  25288. },
  25289. onOverlayEnter(el) {
  25290. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.set('overlay', el, this.$primevue.config.zIndex.overlay);
  25291. this.alignOverlay();
  25292. this.bindOutsideClickListener();
  25293. this.bindScrollListener();
  25294. this.bindResizeListener();
  25295. if (this.autoHighlight && this.suggestions && this.suggestions.length) {
  25296. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(this.list.firstElementChild, 'p-highlight');
  25297. }
  25298. },
  25299. onOverlayLeave() {
  25300. this.unbindOutsideClickListener();
  25301. this.unbindScrollListener();
  25302. this.unbindResizeListener();
  25303. this.overlay = null;
  25304. },
  25305. onOverlayAfterLeave(el) {
  25306. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.clear(el);
  25307. },
  25308. alignOverlay() {
  25309. let target = this.multiple ? this.$refs.multiContainer : this.$refs.input;
  25310. if (this.appendDisabled) {
  25311. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.relativePosition(this.overlay, target);
  25312. }
  25313. else {
  25314. this.overlay.style.minWidth = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(target) + 'px';
  25315. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.absolutePosition(this.overlay, target);
  25316. }
  25317. },
  25318. bindOutsideClickListener() {
  25319. if (!this.outsideClickListener) {
  25320. this.outsideClickListener = (event) => {
  25321. if (this.overlayVisible && this.overlay && this.isOutsideClicked(event)) {
  25322. this.hideOverlay();
  25323. }
  25324. };
  25325. document.addEventListener('click', this.outsideClickListener);
  25326. }
  25327. },
  25328. bindScrollListener() {
  25329. if (!this.scrollHandler) {
  25330. this.scrollHandler = new primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ConnectedOverlayScrollHandler(this.$refs.container, () => {
  25331. if (this.overlayVisible) {
  25332. this.hideOverlay();
  25333. }
  25334. });
  25335. }
  25336. this.scrollHandler.bindScrollListener();
  25337. },
  25338. unbindScrollListener() {
  25339. if (this.scrollHandler) {
  25340. this.scrollHandler.unbindScrollListener();
  25341. }
  25342. },
  25343. bindResizeListener() {
  25344. if (!this.resizeListener) {
  25345. this.resizeListener = () => {
  25346. if (this.overlayVisible) {
  25347. this.hideOverlay();
  25348. }
  25349. };
  25350. window.addEventListener('resize', this.resizeListener);
  25351. }
  25352. },
  25353. unbindResizeListener() {
  25354. if (this.resizeListener) {
  25355. window.removeEventListener('resize', this.resizeListener);
  25356. this.resizeListener = null;
  25357. }
  25358. },
  25359. isOutsideClicked(event) {
  25360. return !this.overlay.contains(event.target) && !this.isInputClicked(event) && !this.isDropdownClicked(event);
  25361. },
  25362. isInputClicked(event) {
  25363. if (this.multiple)
  25364. return event.target === this.$refs.multiContainer || this.$refs.multiContainer.contains(event.target);
  25365. else
  25366. return event.target === this.$refs.input;
  25367. },
  25368. isDropdownClicked(event) {
  25369. return this.$refs.dropdownButton ? (event.target === this.$refs.dropdownButton || this.$refs.dropdownButton.$el.contains(event.target)) : false;
  25370. },
  25371. unbindOutsideClickListener() {
  25372. if (this.outsideClickListener) {
  25373. document.removeEventListener('click', this.outsideClickListener);
  25374. this.outsideClickListener = null;
  25375. }
  25376. },
  25377. selectItem(event, item) {
  25378. if (this.multiple) {
  25379. this.$refs.input.value = '';
  25380. this.inputTextValue = '';
  25381. if (!this.isSelected(item)) {
  25382. let newValue = this.modelValue ? [...this.modelValue, item] : [item];
  25383. this.$emit('update:modelValue', newValue);
  25384. }
  25385. }
  25386. else {
  25387. this.$emit('update:modelValue', item);
  25388. }
  25389. this.$emit('item-select', {
  25390. originalEvent: event,
  25391. value: item
  25392. });
  25393. this.focus();
  25394. this.hideOverlay();
  25395. },
  25396. onMultiContainerClick(event) {
  25397. this.focus();
  25398. if(this.completeOnFocus) {
  25399. this.search(event, '', 'click');
  25400. }
  25401. },
  25402. removeItem(event, index) {
  25403. let removedValue = this.modelValue[index];
  25404. let newValue = this.modelValue.filter((val, i) => (index !== i));
  25405. this.$emit('update:modelValue', newValue);
  25406. this.$emit('item-unselect', {
  25407. originalEvent: event,
  25408. value: removedValue
  25409. });
  25410. },
  25411. onDropdownClick(event) {
  25412. this.focus();
  25413. const query = this.$refs.input.value;
  25414. if (this.dropdownMode === 'blank')
  25415. this.search(event, '', 'dropdown');
  25416. else if (this.dropdownMode === 'current')
  25417. this.search(event, query, 'dropdown');
  25418. this.$emit('dropdown-click', {
  25419. originalEvent: event,
  25420. query: query
  25421. });
  25422. },
  25423. getItemContent(item) {
  25424. return this.field ? primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(item, this.field) : item;
  25425. },
  25426. showOverlay() {
  25427. this.overlayVisible = true;
  25428. },
  25429. hideOverlay() {
  25430. this.overlayVisible = false;
  25431. },
  25432. focus() {
  25433. this.$refs.input.focus();
  25434. },
  25435. search(event, query, source) {
  25436. //allow empty string but not undefined or null
  25437. if (query === undefined || query === null) {
  25438. return;
  25439. }
  25440. //do not search blank values on input change
  25441. if (source === 'input' && query.trim().length === 0) {
  25442. return;
  25443. }
  25444. this.searching = true;
  25445. this.$emit('complete', {
  25446. originalEvent: event,
  25447. query: query
  25448. });
  25449. },
  25450. onInputClicked(event) {
  25451. if(this.completeOnFocus) {
  25452. this.search(event, '', 'click');
  25453. }
  25454. },
  25455. onInput(event) {
  25456. this.inputTextValue = event.target.value;
  25457. if (this.timeout) {
  25458. clearTimeout(this.timeout);
  25459. }
  25460. let query = event.target.value;
  25461. if (!this.multiple) {
  25462. this.$emit('update:modelValue', query);
  25463. }
  25464. if (query.length === 0) {
  25465. this.hideOverlay();
  25466. this.$emit('clear');
  25467. }
  25468. else {
  25469. if (query.length >= this.minLength) {
  25470. this.timeout = setTimeout(() => {
  25471. this.search(event, query, 'input');
  25472. }, this.delay);
  25473. }
  25474. else {
  25475. this.hideOverlay();
  25476. }
  25477. }
  25478. },
  25479. onFocus() {
  25480. this.focused = true;
  25481. },
  25482. onBlur() {
  25483. this.focused = false;
  25484. },
  25485. onKeyDown(event) {
  25486. if (this.overlayVisible) {
  25487. let highlightItem = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.findSingle(this.list, 'li.p-highlight');
  25488. switch(event.which) {
  25489. //down
  25490. case 40:
  25491. if (highlightItem) {
  25492. let nextElement = this.findNextItem(highlightItem);
  25493. if (nextElement) {
  25494. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(nextElement, 'p-highlight');
  25495. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(highlightItem, 'p-highlight');
  25496. nextElement.scrollIntoView({ block: 'nearest', inline: 'start' });
  25497. }
  25498. }
  25499. else {
  25500. highlightItem = this.list.firstElementChild;
  25501. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(highlightItem, 'p-autocomplete-item-group')) {
  25502. highlightItem = this.findNextItem(highlightItem);
  25503. }
  25504. if (highlightItem) {
  25505. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(highlightItem, 'p-highlight');
  25506. }
  25507. }
  25508. event.preventDefault();
  25509. break;
  25510. //up
  25511. case 38:
  25512. if (highlightItem) {
  25513. let previousElement = this.findPrevItem(highlightItem);
  25514. if (previousElement) {
  25515. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(previousElement, 'p-highlight');
  25516. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(highlightItem, 'p-highlight');
  25517. previousElement.scrollIntoView({ block: 'nearest', inline: 'start' });
  25518. }
  25519. }
  25520. event.preventDefault();
  25521. break;
  25522. //enter
  25523. case 13:
  25524. if (highlightItem) {
  25525. this.selectHighlightItem(event, highlightItem);
  25526. this.hideOverlay();
  25527. }
  25528. event.preventDefault();
  25529. break;
  25530. //escape
  25531. case 27:
  25532. this.hideOverlay();
  25533. event.preventDefault();
  25534. break;
  25535. //tab
  25536. case 9:
  25537. if (highlightItem) {
  25538. this.selectHighlightItem(event, highlightItem);
  25539. }
  25540. this.hideOverlay();
  25541. break;
  25542. }
  25543. }
  25544. if (this.multiple) {
  25545. switch(event.which) {
  25546. //backspace
  25547. case 8:
  25548. if (this.modelValue && this.modelValue.length && !this.$refs.input.value) {
  25549. let removedValue = this.modelValue[this.modelValue.length - 1];
  25550. let newValue = this.modelValue.slice(0, -1);
  25551. this.$emit('update:modelValue', newValue);
  25552. this.$emit('item-unselect', {
  25553. originalEvent: event,
  25554. value: removedValue
  25555. });
  25556. }
  25557. break;
  25558. }
  25559. }
  25560. },
  25561. selectHighlightItem(event, item) {
  25562. if (this.optionGroupLabel) {
  25563. let optionGroup = this.suggestions[item.dataset.group];
  25564. this.selectItem(event, this.getOptionGroupChildren(optionGroup)[item.dataset.index]);
  25565. }
  25566. else {
  25567. this.selectItem(event, this.suggestions[item.dataset.index]);
  25568. }
  25569. },
  25570. findNextItem(item) {
  25571. let nextItem = item.nextElementSibling;
  25572. if (nextItem)
  25573. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(nextItem, 'p-autocomplete-item-group') ? this.findNextItem(nextItem) : nextItem;
  25574. else
  25575. return null;
  25576. },
  25577. findPrevItem(item) {
  25578. let prevItem = item.previousElementSibling;
  25579. if (prevItem)
  25580. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(prevItem, 'p-autocomplete-item-group') ? this.findPrevItem(prevItem) : prevItem;
  25581. else
  25582. return null;
  25583. },
  25584. onChange(event) {
  25585. if (this.forceSelection) {
  25586. let valid = false;
  25587. let inputValue = event.target.value.trim();
  25588. if (this.suggestions) {
  25589. for (let item of this.suggestions) {
  25590. let itemValue = this.field ? primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(item, this.field) : item;
  25591. if (itemValue && inputValue === itemValue.trim()) {
  25592. valid = true;
  25593. this.selectItem(event, item);
  25594. break;
  25595. }
  25596. }
  25597. }
  25598. if (!valid) {
  25599. this.$refs.input.value = '';
  25600. this.inputTextValue = '';
  25601. this.$emit('clear');
  25602. if (!this.multiple) {
  25603. this.$emit('update:modelValue', null);
  25604. }
  25605. }
  25606. }
  25607. },
  25608. isSelected(val) {
  25609. let selected = false;
  25610. if (this.modelValue && this.modelValue.length) {
  25611. for (let i = 0; i < this.modelValue.length; i++) {
  25612. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.equals(this.modelValue[i], val)) {
  25613. selected = true;
  25614. break;
  25615. }
  25616. }
  25617. }
  25618. return selected;
  25619. },
  25620. overlayRef(el) {
  25621. this.overlay = el;
  25622. },
  25623. listRef(el, contentRef) {
  25624. this.list = el;
  25625. contentRef && contentRef(el); // for virtualScroller
  25626. },
  25627. virtualScrollerRef(el) {
  25628. this.virtualScroller = el;
  25629. },
  25630. onOverlayClick(event) {
  25631. primevue_overlayeventbus__WEBPACK_IMPORTED_MODULE_1__["default"].emit('overlay-click', {
  25632. originalEvent: event,
  25633. target: this.$el
  25634. });
  25635. }
  25636. },
  25637. computed: {
  25638. containerClass() {
  25639. return ['p-autocomplete p-component p-inputwrapper', this.class, {
  25640. 'p-autocomplete-dd': this.dropdown,
  25641. 'p-autocomplete-multiple': this.multiple,
  25642. 'p-inputwrapper-filled': ((this.modelValue) || (this.inputTextValue && this.inputTextValue.length)),
  25643. 'p-inputwrapper-focus': this.focused
  25644. }];
  25645. },
  25646. inputFieldClass() {
  25647. return ['p-autocomplete-input p-inputtext p-component', this.inputClass, {
  25648. 'p-autocomplete-dd-input': this.dropdown,
  25649. 'p-disabled': this.$attrs.disabled
  25650. }];
  25651. },
  25652. multiContainerClass() {
  25653. return ['p-autocomplete-multiple-container p-component p-inputtext', {
  25654. 'p-disabled': this.$attrs.disabled,
  25655. 'p-focus': this.focused
  25656. }];
  25657. },
  25658. panelStyleClass() {
  25659. return [
  25660. 'p-autocomplete-panel p-component', this.panelClass, {
  25661. 'p-input-filled': this.$primevue.config.inputStyle === 'filled',
  25662. 'p-ripple-disabled': this.$primevue.config.ripple === false
  25663. }];
  25664. },
  25665. inputValue() {
  25666. if (this.modelValue) {
  25667. if (this.field && typeof this.modelValue === 'object') {
  25668. const resolvedFieldData = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(this.modelValue, this.field);
  25669. return resolvedFieldData != null ? resolvedFieldData : this.modelValue;
  25670. }
  25671. else
  25672. return this.modelValue;
  25673. }
  25674. else {
  25675. return '';
  25676. }
  25677. },
  25678. listId() {
  25679. return (0,primevue_utils__WEBPACK_IMPORTED_MODULE_0__.UniqueComponentId)() + '_list';
  25680. },
  25681. appendDisabled() {
  25682. return this.appendTo === 'self';
  25683. },
  25684. appendTarget() {
  25685. return this.appendDisabled ? null : this.appendTo;
  25686. },
  25687. virtualScrollerDisabled() {
  25688. return !this.virtualScrollerOptions;
  25689. }
  25690. },
  25691. components: {
  25692. 'Button': primevue_button__WEBPACK_IMPORTED_MODULE_2__["default"],
  25693. 'VirtualScroller': primevue_virtualscroller__WEBPACK_IMPORTED_MODULE_4__["default"]
  25694. },
  25695. directives: {
  25696. 'ripple': primevue_ripple__WEBPACK_IMPORTED_MODULE_3__["default"]
  25697. }
  25698. };
  25699. const _hoisted_1 = { class: "p-autocomplete-token-label" };
  25700. const _hoisted_2 = { class: "p-autocomplete-input-token" };
  25701. const _hoisted_3 = {
  25702. key: 2,
  25703. class: "p-autocomplete-loader pi pi-spinner pi-spin"
  25704. };
  25705. const _hoisted_4 = { class: "p-autocomplete-item-group" };
  25706. function render(_ctx, _cache, $props, $setup, $data, $options) {
  25707. const _component_Button = (0,vue__WEBPACK_IMPORTED_MODULE_5__.resolveComponent)("Button");
  25708. const _component_VirtualScroller = (0,vue__WEBPACK_IMPORTED_MODULE_5__.resolveComponent)("VirtualScroller");
  25709. const _directive_ripple = (0,vue__WEBPACK_IMPORTED_MODULE_5__.resolveDirective)("ripple");
  25710. return ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("span", {
  25711. ref: "container",
  25712. class: $options.containerClass,
  25713. "aria-haspopup": "listbox",
  25714. "aria-owns": $options.listId,
  25715. "aria-expanded": $data.overlayVisible,
  25716. style: $props.style
  25717. }, [
  25718. (!$props.multiple)
  25719. ? ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("input", (0,vue__WEBPACK_IMPORTED_MODULE_5__.mergeProps)({
  25720. key: 0,
  25721. ref: "input",
  25722. class: $options.inputFieldClass,
  25723. style: $props.inputStyle
  25724. }, _ctx.$attrs, {
  25725. value: $options.inputValue,
  25726. onClick: _cache[1] || (_cache[1] = (...args) => ($options.onInputClicked && $options.onInputClicked(...args))),
  25727. onInput: _cache[2] || (_cache[2] = (...args) => ($options.onInput && $options.onInput(...args))),
  25728. onFocus: _cache[3] || (_cache[3] = (...args) => ($options.onFocus && $options.onFocus(...args))),
  25729. onBlur: _cache[4] || (_cache[4] = (...args) => ($options.onBlur && $options.onBlur(...args))),
  25730. onKeydown: _cache[5] || (_cache[5] = (...args) => ($options.onKeyDown && $options.onKeyDown(...args))),
  25731. onChange: _cache[6] || (_cache[6] = (...args) => ($options.onChange && $options.onChange(...args))),
  25732. type: "text",
  25733. autoComplete: "off",
  25734. role: "searchbox",
  25735. "aria-autocomplete": "list",
  25736. "aria-controls": $options.listId
  25737. }), null, 16, ["value", "aria-controls"]))
  25738. : (0,vue__WEBPACK_IMPORTED_MODULE_5__.createCommentVNode)("", true),
  25739. ($props.multiple)
  25740. ? ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("ul", {
  25741. key: 1,
  25742. ref: "multiContainer",
  25743. class: $options.multiContainerClass,
  25744. onClick: _cache[12] || (_cache[12] = (...args) => ($options.onMultiContainerClick && $options.onMultiContainerClick(...args)))
  25745. }, [
  25746. ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_5__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderList)($props.modelValue, (item, i) => {
  25747. return ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("li", {
  25748. key: i,
  25749. class: "p-autocomplete-token"
  25750. }, [
  25751. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "chip", { value: item }, () => [
  25752. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)("span", _hoisted_1, (0,vue__WEBPACK_IMPORTED_MODULE_5__.toDisplayString)($options.getItemContent(item)), 1)
  25753. ]),
  25754. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)("span", {
  25755. class: "p-autocomplete-token-icon pi pi-times-circle",
  25756. onClick: $event => ($options.removeItem($event, i))
  25757. }, null, 8, ["onClick"])
  25758. ]))
  25759. }), 128)),
  25760. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)("li", _hoisted_2, [
  25761. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)("input", (0,vue__WEBPACK_IMPORTED_MODULE_5__.mergeProps)({
  25762. ref: "input",
  25763. type: "text",
  25764. autoComplete: "off"
  25765. }, _ctx.$attrs, {
  25766. onInput: _cache[7] || (_cache[7] = (...args) => ($options.onInput && $options.onInput(...args))),
  25767. onFocus: _cache[8] || (_cache[8] = (...args) => ($options.onFocus && $options.onFocus(...args))),
  25768. onBlur: _cache[9] || (_cache[9] = (...args) => ($options.onBlur && $options.onBlur(...args))),
  25769. onKeydown: _cache[10] || (_cache[10] = (...args) => ($options.onKeyDown && $options.onKeyDown(...args))),
  25770. onChange: _cache[11] || (_cache[11] = (...args) => ($options.onChange && $options.onChange(...args))),
  25771. role: "searchbox",
  25772. "aria-autocomplete": "list",
  25773. "aria-controls": $options.listId
  25774. }), null, 16, ["aria-controls"])
  25775. ])
  25776. ], 2))
  25777. : (0,vue__WEBPACK_IMPORTED_MODULE_5__.createCommentVNode)("", true),
  25778. ($data.searching)
  25779. ? ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("i", _hoisted_3))
  25780. : (0,vue__WEBPACK_IMPORTED_MODULE_5__.createCommentVNode)("", true),
  25781. ($props.dropdown)
  25782. ? ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)(_component_Button, {
  25783. key: 3,
  25784. ref: "dropdownButton",
  25785. type: "button",
  25786. icon: "pi pi-chevron-down",
  25787. class: "p-autocomplete-dropdown",
  25788. disabled: _ctx.$attrs.disabled,
  25789. onClick: $options.onDropdownClick
  25790. }, null, 8, ["disabled", "onClick"]))
  25791. : (0,vue__WEBPACK_IMPORTED_MODULE_5__.createCommentVNode)("", true),
  25792. ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_5__.Teleport, {
  25793. to: $options.appendTarget,
  25794. disabled: $options.appendDisabled
  25795. }, [
  25796. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)(vue__WEBPACK_IMPORTED_MODULE_5__.Transition, {
  25797. name: "p-connected-overlay",
  25798. onEnter: $options.onOverlayEnter,
  25799. onLeave: $options.onOverlayLeave,
  25800. onAfterLeave: $options.onOverlayAfterLeave
  25801. }, {
  25802. default: (0,vue__WEBPACK_IMPORTED_MODULE_5__.withCtx)(() => [
  25803. ($data.overlayVisible)
  25804. ? ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("div", {
  25805. key: 0,
  25806. ref: $options.overlayRef,
  25807. class: $options.panelStyleClass,
  25808. style: {'max-height': $options.virtualScrollerDisabled ? $props.scrollHeight : ''},
  25809. onClick: _cache[13] || (_cache[13] = (...args) => ($options.onOverlayClick && $options.onOverlayClick(...args)))
  25810. }, [
  25811. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "header", {
  25812. value: $props.modelValue,
  25813. suggestions: $props.suggestions
  25814. }),
  25815. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)(_component_VirtualScroller, (0,vue__WEBPACK_IMPORTED_MODULE_5__.mergeProps)({ ref: $options.virtualScrollerRef }, $props.virtualScrollerOptions, {
  25816. style: {'height': $props.scrollHeight},
  25817. items: $props.suggestions,
  25818. disabled: $options.virtualScrollerDisabled
  25819. }), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createSlots)({
  25820. content: (0,vue__WEBPACK_IMPORTED_MODULE_5__.withCtx)(({ styleClass, contentRef, items, getItemOptions, contentStyle }) => [
  25821. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)("ul", {
  25822. id: $options.listId,
  25823. ref: (el) => $options.listRef(el, contentRef),
  25824. class: ['p-autocomplete-items', styleClass],
  25825. style: contentStyle,
  25826. role: "listbox"
  25827. }, [
  25828. (!$props.optionGroupLabel)
  25829. ? ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_5__.Fragment, { key: 0 }, (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderList)(items, (item, i) => {
  25830. return (0,vue__WEBPACK_IMPORTED_MODULE_5__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("li", {
  25831. class: "p-autocomplete-item",
  25832. key: $options.getOptionRenderKey(item),
  25833. onClick: $event => ($options.selectItem($event, item)),
  25834. role: "option",
  25835. "data-index": $options.getOptionIndex(i, getItemOptions)
  25836. }, [
  25837. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "item", {
  25838. item: item,
  25839. index: $options.getOptionIndex(i, getItemOptions)
  25840. }, () => [
  25841. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_5__.toDisplayString)($options.getItemContent(item)), 1)
  25842. ])
  25843. ], 8, ["onClick", "data-index"])), [
  25844. [_directive_ripple]
  25845. ])
  25846. }), 128))
  25847. : ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_5__.Fragment, { key: 1 }, (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderList)(items, (optionGroup, i) => {
  25848. return ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_5__.Fragment, {
  25849. key: $options.getOptionGroupRenderKey(optionGroup)
  25850. }, [
  25851. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)("li", _hoisted_4, [
  25852. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "optiongroup", {
  25853. item: optionGroup,
  25854. index: $options.getOptionIndex(i, getItemOptions)
  25855. }, () => [
  25856. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_5__.toDisplayString)($options.getOptionGroupLabel(optionGroup)), 1)
  25857. ])
  25858. ]),
  25859. ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_5__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderList)($options.getOptionGroupChildren(optionGroup), (item, j) => {
  25860. return (0,vue__WEBPACK_IMPORTED_MODULE_5__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("li", {
  25861. class: "p-autocomplete-item",
  25862. key: j,
  25863. onClick: $event => ($options.selectItem($event, item)),
  25864. role: "option",
  25865. "data-group": i,
  25866. "data-index": $options.getOptionIndex(j, getItemOptions)
  25867. }, [
  25868. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "item", {
  25869. item: item,
  25870. index: $options.getOptionIndex(j, getItemOptions)
  25871. }, () => [
  25872. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_5__.toDisplayString)($options.getItemContent(item)), 1)
  25873. ])
  25874. ], 8, ["onClick", "data-group", "data-index"])), [
  25875. [_directive_ripple]
  25876. ])
  25877. }), 128))
  25878. ], 64))
  25879. }), 128))
  25880. ], 14, ["id"])
  25881. ]),
  25882. _: 2
  25883. }, [
  25884. (_ctx.$slots.loader)
  25885. ? {
  25886. name: "loader",
  25887. fn: (0,vue__WEBPACK_IMPORTED_MODULE_5__.withCtx)(({ options }) => [
  25888. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "loader", { options: options })
  25889. ])
  25890. }
  25891. : undefined
  25892. ]), 1040, ["style", "items", "disabled"]),
  25893. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "footer", {
  25894. value: $props.modelValue,
  25895. suggestions: $props.suggestions
  25896. })
  25897. ], 6))
  25898. : (0,vue__WEBPACK_IMPORTED_MODULE_5__.createCommentVNode)("", true)
  25899. ]),
  25900. _: 3
  25901. }, 8, ["onEnter", "onLeave", "onAfterLeave"])
  25902. ], 8, ["to", "disabled"]))
  25903. ], 14, ["aria-owns", "aria-expanded"]))
  25904. }
  25905. function styleInject(css, ref) {
  25906. if ( ref === void 0 ) ref = {};
  25907. var insertAt = ref.insertAt;
  25908. if (!css || typeof document === 'undefined') { return; }
  25909. var head = document.head || document.getElementsByTagName('head')[0];
  25910. var style = document.createElement('style');
  25911. style.type = 'text/css';
  25912. if (insertAt === 'top') {
  25913. if (head.firstChild) {
  25914. head.insertBefore(style, head.firstChild);
  25915. } else {
  25916. head.appendChild(style);
  25917. }
  25918. } else {
  25919. head.appendChild(style);
  25920. }
  25921. if (style.styleSheet) {
  25922. style.styleSheet.cssText = css;
  25923. } else {
  25924. style.appendChild(document.createTextNode(css));
  25925. }
  25926. }
  25927. var css_248z = "\n.p-autocomplete {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n position: relative;\n}\n.p-autocomplete-loader {\n position: absolute;\n top: 50%;\n margin-top: -.5rem;\n}\n.p-autocomplete-dd .p-autocomplete-input {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n width: 1%;\n}\n.p-autocomplete-dd .p-autocomplete-input,\n.p-autocomplete-dd .p-autocomplete-multiple-container {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.p-autocomplete-dd .p-autocomplete-dropdown {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0px;\n}\n.p-autocomplete .p-autocomplete-panel {\n min-width: 100%;\n}\n.p-autocomplete-panel {\n position: absolute;\n overflow: auto;\n top: 0;\n left: 0;\n}\n.p-autocomplete-items {\n margin: 0;\n padding: 0;\n list-style-type: none;\n}\n.p-autocomplete-item {\n cursor: pointer;\n white-space: nowrap;\n position: relative;\n overflow: hidden;\n}\n.p-autocomplete-multiple-container {\n margin: 0;\n padding: 0;\n list-style-type: none;\n cursor: text;\n overflow: hidden;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n}\n.p-autocomplete-token {\n cursor: default;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-flex: 0;\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n}\n.p-autocomplete-token-icon {\n cursor: pointer;\n}\n.p-autocomplete-input-token {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n}\n.p-autocomplete-input-token input {\n border: 0 none;\n outline: 0 none;\n background-color: transparent;\n margin: 0;\n padding: 0;\n -webkit-box-shadow: none;\n box-shadow: none;\n border-radius: 0;\n width: 100%;\n}\n.p-fluid .p-autocomplete {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n}\n.p-fluid .p-autocomplete-dd .p-autocomplete-input {\n width: 1%;\n}\n";
  25928. styleInject(css_248z);
  25929. script.render = render;
  25930. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  25931. /***/ }),
  25932. /***/ "./node_modules/primevue/badge/badge.esm.js":
  25933. /*!**************************************************!*\
  25934. !*** ./node_modules/primevue/badge/badge.esm.js ***!
  25935. \**************************************************/
  25936. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  25937. "use strict";
  25938. __webpack_require__.r(__webpack_exports__);
  25939. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  25940. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  25941. /* harmony export */ });
  25942. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  25943. var script = {
  25944. name: 'Badge',
  25945. props: {
  25946. value: null,
  25947. severity: null,
  25948. size: null
  25949. },
  25950. computed: {
  25951. containerClass() {
  25952. return this.$slots.default ? 'p-overlay-badge': this.badgeClass;
  25953. },
  25954. badgeClass() {
  25955. return ['p-badge p-component', {
  25956. 'p-badge-no-gutter': this.value && String(this.value).length === 1,
  25957. 'p-badge-dot': !this.value && !this.$slots.default,
  25958. 'p-badge-lg': this.size === 'large',
  25959. 'p-badge-xl': this.size === 'xlarge',
  25960. 'p-badge-info': this.severity === 'info',
  25961. 'p-badge-success': this.severity === 'success',
  25962. 'p-badge-warning': this.severity === 'warning',
  25963. 'p-badge-danger': this.severity === 'danger'
  25964. }];
  25965. }
  25966. }
  25967. };
  25968. function render(_ctx, _cache, $props, $setup, $data, $options) {
  25969. return ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("span", { class: $options.badgeClass }, [
  25970. (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, "default", {}, () => [
  25971. (0,vue__WEBPACK_IMPORTED_MODULE_0__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($props.value), 1)
  25972. ])
  25973. ], 2))
  25974. }
  25975. script.render = render;
  25976. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  25977. /***/ }),
  25978. /***/ "./node_modules/primevue/button/button.esm.js":
  25979. /*!****************************************************!*\
  25980. !*** ./node_modules/primevue/button/button.esm.js ***!
  25981. \****************************************************/
  25982. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  25983. "use strict";
  25984. __webpack_require__.r(__webpack_exports__);
  25985. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  25986. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  25987. /* harmony export */ });
  25988. /* harmony import */ var primevue_ripple__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! primevue/ripple */ "./node_modules/primevue/ripple/ripple.esm.js");
  25989. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  25990. var script = {
  25991. name: 'Button',
  25992. props: {
  25993. label: {
  25994. type: String
  25995. },
  25996. icon: {
  25997. type: String
  25998. },
  25999. iconPos: {
  26000. type: String,
  26001. default: 'left'
  26002. },
  26003. badge: {
  26004. type: String
  26005. },
  26006. badgeClass: {
  26007. type: String,
  26008. default: null
  26009. },
  26010. loading: {
  26011. type: Boolean,
  26012. default: false
  26013. },
  26014. loadingIcon: {
  26015. type: String,
  26016. default: 'pi pi-spinner pi-spin'
  26017. }
  26018. },
  26019. computed: {
  26020. buttonClass() {
  26021. return {
  26022. 'p-button p-component': true,
  26023. 'p-button-icon-only': this.icon && !this.label,
  26024. 'p-button-vertical': (this.iconPos === 'top' || this.iconPos === 'bottom') && this.label,
  26025. 'p-disabled': this.$attrs.disabled || this.loading,
  26026. 'p-button-loading': this.loading,
  26027. 'p-button-loading-label-only': this.loading && !this.icon && this.label
  26028. }
  26029. },
  26030. iconClass() {
  26031. return [
  26032. this.loading ? 'p-button-loading-icon ' + this.loadingIcon : this.icon,
  26033. 'p-button-icon',
  26034. {
  26035. 'p-button-icon-left': this.iconPos === 'left' && this.label,
  26036. 'p-button-icon-right': this.iconPos === 'right' && this.label,
  26037. 'p-button-icon-top': this.iconPos === 'top' && this.label,
  26038. 'p-button-icon-bottom': this.iconPos === 'bottom' && this.label
  26039. }
  26040. ]
  26041. },
  26042. badgeStyleClass() {
  26043. return [
  26044. 'p-badge p-component', this.badgeClass, {
  26045. 'p-badge-no-gutter': this.badge && String(this.badge).length === 1
  26046. }]
  26047. },
  26048. disabled() {
  26049. return this.$attrs.disabled || this.loading;
  26050. }
  26051. },
  26052. directives: {
  26053. 'ripple': primevue_ripple__WEBPACK_IMPORTED_MODULE_0__["default"]
  26054. }
  26055. };
  26056. const _hoisted_1 = { class: "p-button-label" };
  26057. function render(_ctx, _cache, $props, $setup, $data, $options) {
  26058. const _directive_ripple = (0,vue__WEBPACK_IMPORTED_MODULE_1__.resolveDirective)("ripple");
  26059. return (0,vue__WEBPACK_IMPORTED_MODULE_1__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_1__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_1__.createBlock)("button", {
  26060. class: $options.buttonClass,
  26061. type: "button",
  26062. disabled: $options.disabled
  26063. }, [
  26064. (0,vue__WEBPACK_IMPORTED_MODULE_1__.renderSlot)(_ctx.$slots, "default", {}, () => [
  26065. ($props.loading && !$props.icon)
  26066. ? ((0,vue__WEBPACK_IMPORTED_MODULE_1__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_1__.createBlock)("span", {
  26067. key: 0,
  26068. class: $options.iconClass
  26069. }, null, 2))
  26070. : (0,vue__WEBPACK_IMPORTED_MODULE_1__.createCommentVNode)("", true),
  26071. ($props.icon)
  26072. ? ((0,vue__WEBPACK_IMPORTED_MODULE_1__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_1__.createBlock)("span", {
  26073. key: 1,
  26074. class: $options.iconClass
  26075. }, null, 2))
  26076. : (0,vue__WEBPACK_IMPORTED_MODULE_1__.createCommentVNode)("", true),
  26077. (0,vue__WEBPACK_IMPORTED_MODULE_1__.createVNode)("span", _hoisted_1, (0,vue__WEBPACK_IMPORTED_MODULE_1__.toDisplayString)($props.label||' '), 1),
  26078. ($props.badge)
  26079. ? ((0,vue__WEBPACK_IMPORTED_MODULE_1__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_1__.createBlock)("span", {
  26080. key: 2,
  26081. class: $options.badgeStyleClass
  26082. }, (0,vue__WEBPACK_IMPORTED_MODULE_1__.toDisplayString)($props.badge), 3))
  26083. : (0,vue__WEBPACK_IMPORTED_MODULE_1__.createCommentVNode)("", true)
  26084. ])
  26085. ], 10, ["disabled"])), [
  26086. [_directive_ripple]
  26087. ])
  26088. }
  26089. script.render = render;
  26090. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  26091. /***/ }),
  26092. /***/ "./node_modules/primevue/calendar/calendar.esm.js":
  26093. /*!********************************************************!*\
  26094. !*** ./node_modules/primevue/calendar/calendar.esm.js ***!
  26095. \********************************************************/
  26096. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  26097. "use strict";
  26098. __webpack_require__.r(__webpack_exports__);
  26099. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  26100. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  26101. /* harmony export */ });
  26102. /* harmony import */ var primevue_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! primevue/utils */ "./node_modules/primevue/utils/utils.esm.js");
  26103. /* harmony import */ var primevue_overlayeventbus__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! primevue/overlayeventbus */ "./node_modules/primevue/overlayeventbus/overlayeventbus.esm.js");
  26104. /* harmony import */ var primevue_button__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! primevue/button */ "./node_modules/primevue/button/button.esm.js");
  26105. /* harmony import */ var primevue_ripple__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! primevue/ripple */ "./node_modules/primevue/ripple/ripple.esm.js");
  26106. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  26107. var script = {
  26108. name: 'Calendar',
  26109. inheritAttrs: false,
  26110. emits: ['show', 'hide', 'input', 'month-change', 'year-change', 'date-select', 'update:modelValue', 'today-click', 'clear-click', 'focus', 'blur', 'keydown'],
  26111. props: {
  26112. modelValue: null,
  26113. selectionMode: {
  26114. type: String,
  26115. default: 'single'
  26116. },
  26117. dateFormat: {
  26118. type: String,
  26119. default: null
  26120. },
  26121. inline: {
  26122. type: Boolean,
  26123. default: false
  26124. },
  26125. showOtherMonths: {
  26126. type: Boolean,
  26127. default: true
  26128. },
  26129. selectOtherMonths: {
  26130. type: Boolean,
  26131. default: false
  26132. },
  26133. showIcon: {
  26134. type: Boolean,
  26135. default: false
  26136. },
  26137. icon: {
  26138. type: String,
  26139. default: 'pi pi-calendar'
  26140. },
  26141. numberOfMonths: {
  26142. type: Number,
  26143. default: 1
  26144. },
  26145. responsiveOptions: Array,
  26146. view: {
  26147. type: String,
  26148. default: 'date'
  26149. },
  26150. touchUI: {
  26151. type: Boolean,
  26152. default: false
  26153. },
  26154. monthNavigator: {
  26155. type: Boolean,
  26156. default: false
  26157. },
  26158. yearNavigator: {
  26159. type: Boolean,
  26160. default: false
  26161. },
  26162. yearRange: {
  26163. type: String,
  26164. default: null
  26165. },
  26166. panelClass: {
  26167. type: String,
  26168. default: null
  26169. },
  26170. minDate: {
  26171. type: Date,
  26172. value: null
  26173. },
  26174. maxDate: {
  26175. type: Date,
  26176. value: null
  26177. },
  26178. disabledDates: {
  26179. type: Array,
  26180. value: null
  26181. },
  26182. disabledDays: {
  26183. type: Array,
  26184. value: null
  26185. },
  26186. maxDateCount: {
  26187. type: Number,
  26188. value: null
  26189. },
  26190. showOnFocus: {
  26191. type: Boolean,
  26192. default: true
  26193. },
  26194. autoZIndex: {
  26195. type: Boolean,
  26196. default: true
  26197. },
  26198. baseZIndex: {
  26199. type: Number,
  26200. default: 0
  26201. },
  26202. showButtonBar: {
  26203. type: Boolean,
  26204. default: false
  26205. },
  26206. shortYearCutoff: {
  26207. type: String,
  26208. default: '+10'
  26209. },
  26210. showTime: {
  26211. type: Boolean,
  26212. default: false
  26213. },
  26214. timeOnly: {
  26215. type: Boolean,
  26216. default: false
  26217. },
  26218. hourFormat: {
  26219. type: String,
  26220. default: '24'
  26221. },
  26222. stepHour: {
  26223. type: Number,
  26224. default: 1
  26225. },
  26226. stepMinute: {
  26227. type: Number,
  26228. default: 1
  26229. },
  26230. stepSecond: {
  26231. type: Number,
  26232. default: 1
  26233. },
  26234. showSeconds: {
  26235. type: Boolean,
  26236. default: false
  26237. },
  26238. hideOnDateTimeSelect: {
  26239. type: Boolean,
  26240. default: false
  26241. },
  26242. timeSeparator: {
  26243. type: String,
  26244. default: ':'
  26245. },
  26246. showWeek: {
  26247. type: Boolean,
  26248. default: false
  26249. },
  26250. manualInput: {
  26251. type: Boolean,
  26252. default: true
  26253. },
  26254. appendTo: {
  26255. type: String,
  26256. default: 'body'
  26257. },
  26258. inputClass: null,
  26259. inputStyle: null,
  26260. class: null,
  26261. style: null
  26262. },
  26263. navigationState: null,
  26264. timePickerChange: false,
  26265. scrollHandler: null,
  26266. outsideClickListener: null,
  26267. maskClickListener: null,
  26268. resizeListener: null,
  26269. overlay: null,
  26270. input: null,
  26271. mask: null,
  26272. timePickerTimer: null,
  26273. preventFocus: false,
  26274. typeUpdate: false,
  26275. created() {
  26276. this.updateCurrentMetaData();
  26277. },
  26278. mounted() {
  26279. this.createResponsiveStyle();
  26280. if (this.inline) {
  26281. this.overlay && this.overlay.setAttribute(this.attributeSelector, '');
  26282. if (!this.$attrs.disabled) {
  26283. this.preventFocus = true;
  26284. this.initFocusableCell();
  26285. if (this.numberOfMonths === 1) {
  26286. this.overlay.style.width = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(this.$el) + 'px';
  26287. }
  26288. }
  26289. }
  26290. else {
  26291. this.input.value = this.formatValue(this.modelValue);
  26292. }
  26293. },
  26294. updated() {
  26295. if (this.overlay) {
  26296. this.preventFocus = true;
  26297. this.updateFocus();
  26298. }
  26299. if (this.input && this.selectionStart != null && this.selectionEnd != null) {
  26300. this.input.selectionStart = this.selectionStart;
  26301. this.input.selectionEnd = this.selectionEnd;
  26302. this.selectionStart = null;
  26303. this.selectionEnd = null;
  26304. }
  26305. },
  26306. beforeUnmount() {
  26307. if (this.timePickerTimer) {
  26308. clearTimeout(this.timePickerTimer);
  26309. }
  26310. if (this.mask) {
  26311. this.destroyMask();
  26312. }
  26313. this.destroyResponsiveStyleElement();
  26314. this.unbindOutsideClickListener();
  26315. this.unbindResizeListener();
  26316. if (this.scrollHandler) {
  26317. this.scrollHandler.destroy();
  26318. this.scrollHandler = null;
  26319. }
  26320. if (this.overlay && this.autoZIndex) {
  26321. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.clear(this.overlay);
  26322. }
  26323. this.overlay = null;
  26324. },
  26325. data() {
  26326. return {
  26327. currentMonth: null,
  26328. currentYear: null,
  26329. currentHour: null,
  26330. currentMinute: null,
  26331. currentSecond: null,
  26332. pm: null,
  26333. focused: false,
  26334. overlayVisible: false,
  26335. currentView: this.view
  26336. }
  26337. },
  26338. watch: {
  26339. modelValue(newValue) {
  26340. this.updateCurrentMetaData();
  26341. if (!this.typeUpdate && !this.inline && this.input) {
  26342. this.input.value = this.formatValue(newValue);
  26343. }
  26344. this.typeUpdate = false;
  26345. },
  26346. showTime() {
  26347. this.updateCurrentMetaData();
  26348. },
  26349. months() {
  26350. if (this.overlay) {
  26351. if (!this.focused) {
  26352. setTimeout(this.updateFocus, 0);
  26353. }
  26354. }
  26355. },
  26356. numberOfMonths() {
  26357. this.destroyResponsiveStyleElement();
  26358. this.createResponsiveStyle();
  26359. },
  26360. responsiveOptions() {
  26361. this.destroyResponsiveStyleElement();
  26362. this.createResponsiveStyle();
  26363. },
  26364. currentView() {
  26365. Promise.resolve(null).then(() => this.alignOverlay());
  26366. }
  26367. },
  26368. methods: {
  26369. isComparable() {
  26370. return this.modelValue != null && typeof this.modelValue !== 'string';
  26371. },
  26372. isSelected(dateMeta) {
  26373. if (!this.isComparable()) {
  26374. return false;
  26375. }
  26376. if (this.modelValue) {
  26377. if (this.isSingleSelection()) {
  26378. return this.isDateEquals(this.modelValue, dateMeta);
  26379. }
  26380. else if (this.isMultipleSelection()) {
  26381. let selected = false;
  26382. for (let date of this.modelValue) {
  26383. selected = this.isDateEquals(date, dateMeta);
  26384. if (selected) {
  26385. break;
  26386. }
  26387. }
  26388. return selected;
  26389. }
  26390. else if( this.isRangeSelection()) {
  26391. if (this.modelValue[1])
  26392. return this.isDateEquals(this.modelValue[0], dateMeta) || this.isDateEquals(this.modelValue[1], dateMeta) || this.isDateBetween(this.modelValue[0], this.modelValue[1], dateMeta);
  26393. else {
  26394. return this.isDateEquals(this.modelValue[0], dateMeta);
  26395. }
  26396. }
  26397. }
  26398. return false;
  26399. },
  26400. isMonthSelected(month) {
  26401. if (this.isComparable()) {
  26402. let value = this.isRangeSelection() ? this.modelValue[0] : this.modelValue;
  26403. return !this.isMultipleSelection() ? (value.getMonth() === month && value.getFullYear() === this.currentYear) : false;
  26404. }
  26405. return false;
  26406. },
  26407. isYearSelected(year) {
  26408. if (this.isComparable()) {
  26409. let value = this.isRangeSelection() ? this.modelValue[0] : this.modelValue;
  26410. return !this.isMultipleSelection() && this.isComparable() ? (value.getFullYear() === year) : false;
  26411. }
  26412. return false;
  26413. },
  26414. isDateEquals(value, dateMeta) {
  26415. if (value)
  26416. return value.getDate() === dateMeta.day && value.getMonth() === dateMeta.month && value.getFullYear() === dateMeta.year;
  26417. else
  26418. return false;
  26419. },
  26420. isDateBetween(start, end, dateMeta) {
  26421. let between = false;
  26422. if (start && end) {
  26423. let date = new Date(dateMeta.year, dateMeta.month, dateMeta.day);
  26424. return start.getTime() <= date.getTime() && end.getTime() >= date.getTime();
  26425. }
  26426. return between;
  26427. },
  26428. getFirstDayOfMonthIndex(month, year) {
  26429. let day = new Date();
  26430. day.setDate(1);
  26431. day.setMonth(month);
  26432. day.setFullYear(year);
  26433. let dayIndex = day.getDay() + this.sundayIndex;
  26434. return dayIndex >= 7 ? dayIndex - 7 : dayIndex;
  26435. },
  26436. getDaysCountInMonth(month, year) {
  26437. return 32 - this.daylightSavingAdjust(new Date(year, month, 32)).getDate();
  26438. },
  26439. getDaysCountInPrevMonth(month, year) {
  26440. let prev = this.getPreviousMonthAndYear(month, year);
  26441. return this.getDaysCountInMonth(prev.month, prev.year);
  26442. },
  26443. getPreviousMonthAndYear(month, year) {
  26444. let m, y;
  26445. if (month === 0) {
  26446. m = 11;
  26447. y = year - 1;
  26448. }
  26449. else {
  26450. m = month - 1;
  26451. y = year;
  26452. }
  26453. return {'month':m, 'year': y};
  26454. },
  26455. getNextMonthAndYear(month, year) {
  26456. let m, y;
  26457. if (month === 11) {
  26458. m = 0;
  26459. y = year + 1;
  26460. }
  26461. else {
  26462. m = month + 1;
  26463. y = year;
  26464. }
  26465. return {'month':m,'year':y};
  26466. },
  26467. daylightSavingAdjust(date) {
  26468. if (!date) {
  26469. return null;
  26470. }
  26471. date.setHours(date.getHours() > 12 ? date.getHours() + 2 : 0);
  26472. return date;
  26473. },
  26474. isToday(today, day, month, year) {
  26475. return today.getDate() === day && today.getMonth() === month && today.getFullYear() === year;
  26476. },
  26477. isSelectable(day, month, year, otherMonth) {
  26478. let validMin = true;
  26479. let validMax = true;
  26480. let validDate = true;
  26481. let validDay = true;
  26482. if (otherMonth && !this.selectOtherMonths) {
  26483. return false;
  26484. }
  26485. if (this.minDate) {
  26486. if (this.minDate.getFullYear() > year) {
  26487. validMin = false;
  26488. }
  26489. else if (this.minDate.getFullYear() === year) {
  26490. if (this.minDate.getMonth() > month) {
  26491. validMin = false;
  26492. }
  26493. else if (this.minDate.getMonth() === month) {
  26494. if (this.minDate.getDate() > day) {
  26495. validMin = false;
  26496. }
  26497. }
  26498. }
  26499. }
  26500. if (this.maxDate) {
  26501. if (this.maxDate.getFullYear() < year) {
  26502. validMax = false;
  26503. }
  26504. else if (this.maxDate.getFullYear() === year) {
  26505. if (this.maxDate.getMonth() < month) {
  26506. validMax = false;
  26507. }
  26508. else if (this.maxDate.getMonth() === month) {
  26509. if (this.maxDate.getDate() < day) {
  26510. validMax = false;
  26511. }
  26512. }
  26513. }
  26514. }
  26515. if (this.disabledDates) {
  26516. validDate = !this.isDateDisabled(day,month,year);
  26517. }
  26518. if (this.disabledDays) {
  26519. validDay = !this.isDayDisabled(day,month,year);
  26520. }
  26521. return validMin && validMax && validDate && validDay;
  26522. },
  26523. onOverlayEnter(el) {
  26524. el.setAttribute(this.attributeSelector, '');
  26525. if (this.autoZIndex) {
  26526. if (this.touchUI)
  26527. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.set('modal', el, this.baseZIndex || this.$primevue.config.zIndex.modal);
  26528. else
  26529. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.set('overlay', el, this.baseZIndex || this.$primevue.config.zIndex.overlay);
  26530. }
  26531. this.alignOverlay();
  26532. this.$emit('show');
  26533. },
  26534. onOverlayEnterComplete() {
  26535. this.bindOutsideClickListener();
  26536. this.bindScrollListener();
  26537. this.bindResizeListener();
  26538. },
  26539. onOverlayAfterLeave(el) {
  26540. if (this.autoZIndex) {
  26541. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.clear(el);
  26542. }
  26543. },
  26544. onOverlayLeave() {
  26545. this.currentView = this.view;
  26546. this.unbindOutsideClickListener();
  26547. this.unbindScrollListener();
  26548. this.unbindResizeListener();
  26549. this.$emit('hide');
  26550. if (this.mask) {
  26551. this.disableModality();
  26552. }
  26553. this.overlay = null;
  26554. },
  26555. onPrevButtonClick(event) {
  26556. if(this.showOtherMonths) {
  26557. this.navigationState = {backward: true, button: true};
  26558. this.navBackward(event);
  26559. }
  26560. },
  26561. onNextButtonClick(event) {
  26562. if(this.showOtherMonths) {
  26563. this.navigationState = {backward: false, button: true};
  26564. this.navForward(event);
  26565. }
  26566. },
  26567. navBackward(event) {
  26568. event.preventDefault();
  26569. if (!this.isEnabled()) {
  26570. return;
  26571. }
  26572. if (this.currentView === 'month') {
  26573. this.decrementYear();
  26574. }
  26575. else if (this.currentView === 'year') {
  26576. this.decrementDecade();
  26577. }
  26578. else {
  26579. if (this.currentMonth === 0) {
  26580. this.currentMonth = 11;
  26581. this.decrementYear();
  26582. }
  26583. else {
  26584. this.currentMonth--;
  26585. }
  26586. this.$emit('month-change', {month: this.currentMonth, year: this.currentYear});
  26587. }
  26588. },
  26589. navForward(event) {
  26590. event.preventDefault();
  26591. if (!this.isEnabled()) {
  26592. return;
  26593. }
  26594. if (this.currentView === 'month') {
  26595. this.incrementYear();
  26596. }
  26597. else if (this.currentView === 'year') {
  26598. this.incrementDecade();
  26599. }
  26600. else {
  26601. if (this.currentMonth === 11) {
  26602. this.currentMonth = 0;
  26603. this.incrementYear();
  26604. }
  26605. else {
  26606. this.currentMonth++;
  26607. }
  26608. this.$emit('month-change', {month: this.currentMonth , year: this.currentYear});
  26609. }
  26610. },
  26611. decrementYear() {
  26612. this.currentYear--;
  26613. },
  26614. decrementDecade() {
  26615. this.currentYear = this.currentYear - 10;
  26616. },
  26617. incrementYear() {
  26618. this.currentYear++;
  26619. },
  26620. incrementDecade() {
  26621. this.currentYear = this.currentYear + 10;
  26622. },
  26623. switchToMonthView(event) {
  26624. this.currentView = 'month';
  26625. setTimeout(this.updateFocus, 0);
  26626. event.preventDefault();
  26627. },
  26628. switchToYearView(event) {
  26629. this.currentView = 'year';
  26630. setTimeout(this.updateFocus, 0);
  26631. event.preventDefault();
  26632. },
  26633. isEnabled() {
  26634. return !this.$attrs.disabled && !this.$attrs.readonly;
  26635. },
  26636. updateCurrentTimeMeta(date) {
  26637. let currentHour = date.getHours();
  26638. if (this.hourFormat === '12') {
  26639. this.pm = currentHour > 11;
  26640. if (currentHour >= 12)
  26641. currentHour = (currentHour == 12) ? 12 : currentHour - 12;
  26642. else
  26643. currentHour = (currentHour == 0) ? 12 : currentHour;
  26644. }
  26645. this.currentHour = Math.floor(currentHour / this.stepHour) * this.stepHour;
  26646. this.currentMinute = Math.floor(date.getMinutes() / this.stepMinute) * this.stepMinute;
  26647. this.currentSecond = Math.floor(date.getSeconds() / this.stepSecond) * this.stepSecond;
  26648. },
  26649. bindOutsideClickListener() {
  26650. if (!this.outsideClickListener) {
  26651. this.outsideClickListener = (event) => {
  26652. if (this.overlayVisible && this.isOutsideClicked(event)) {
  26653. this.overlayVisible = false;
  26654. }
  26655. };
  26656. document.addEventListener('mousedown', this.outsideClickListener);
  26657. }
  26658. },
  26659. unbindOutsideClickListener() {
  26660. if (this.outsideClickListener) {
  26661. document.removeEventListener('mousedown', this.outsideClickListener);
  26662. this.outsideClickListener = null;
  26663. }
  26664. },
  26665. bindScrollListener() {
  26666. if (!this.scrollHandler) {
  26667. this.scrollHandler = new primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ConnectedOverlayScrollHandler(this.$refs.container, () => {
  26668. if (this.overlayVisible) {
  26669. this.overlayVisible = false;
  26670. }
  26671. });
  26672. }
  26673. this.scrollHandler.bindScrollListener();
  26674. },
  26675. unbindScrollListener() {
  26676. if (this.scrollHandler) {
  26677. this.scrollHandler.unbindScrollListener();
  26678. }
  26679. },
  26680. bindResizeListener() {
  26681. if (!this.resizeListener) {
  26682. this.resizeListener = () => {
  26683. if (this.overlayVisible) {
  26684. this.overlayVisible = false;
  26685. }
  26686. };
  26687. window.addEventListener('resize', this.resizeListener);
  26688. }
  26689. },
  26690. unbindResizeListener() {
  26691. if (this.resizeListener) {
  26692. window.removeEventListener('resize', this.resizeListener);
  26693. this.resizeListener = null;
  26694. }
  26695. },
  26696. isOutsideClicked(event) {
  26697. return !(this.$el.isSameNode(event.target) || this.isNavIconClicked(event) ||
  26698. this.$el.contains(event.target) || (this.overlay && this.overlay.contains(event.target)));
  26699. },
  26700. isNavIconClicked(event) {
  26701. return (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(event.target, 'p-datepicker-prev') || primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(event.target, 'p-datepicker-prev-icon')
  26702. || primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(event.target, 'p-datepicker-next') || primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(event.target, 'p-datepicker-next-icon'));
  26703. },
  26704. alignOverlay() {
  26705. if (this.touchUI) {
  26706. this.enableModality();
  26707. }
  26708. else if (this.overlay) {
  26709. if (this.appendDisabled) {
  26710. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.relativePosition(this.overlay, this.$el);
  26711. }
  26712. else {
  26713. if (this.view === 'date') {
  26714. this.overlay.style.width = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(this.overlay) + 'px';
  26715. this.overlay.style.minWidth = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(this.$el) + 'px';
  26716. }
  26717. else {
  26718. this.overlay.style.width = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(this.$el) + 'px';
  26719. }
  26720. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.absolutePosition(this.overlay, this.$el);
  26721. }
  26722. }
  26723. },
  26724. onButtonClick() {
  26725. if (this.isEnabled()) {
  26726. if (!this.overlayVisible) {
  26727. this.input.focus();
  26728. this.overlayVisible = true;
  26729. }
  26730. else {
  26731. this.overlayVisible = false;
  26732. }
  26733. }
  26734. },
  26735. isDateDisabled(day, month, year) {
  26736. if (this.disabledDates) {
  26737. for (let disabledDate of this.disabledDates) {
  26738. if (disabledDate.getFullYear() === year && disabledDate.getMonth() === month && disabledDate.getDate() === day) {
  26739. return true;
  26740. }
  26741. }
  26742. }
  26743. return false;
  26744. },
  26745. isDayDisabled(day, month, year) {
  26746. if (this.disabledDays) {
  26747. let weekday = new Date(year, month, day);
  26748. let weekdayNumber = weekday.getDay();
  26749. return this.disabledDays.indexOf(weekdayNumber) !== -1;
  26750. }
  26751. return false;
  26752. },
  26753. onMonthDropdownChange(value) {
  26754. this.currentMonth = parseInt(value);
  26755. this.$emit('month-change', {month: this.currentMonth + 1, year: this.currentYear});
  26756. },
  26757. onYearDropdownChange(value) {
  26758. this.currentYear = parseInt(value);
  26759. this.$emit('year-change', {month: this.currentMonth + 1, year: this.currentYear});
  26760. },
  26761. onDateSelect(event, dateMeta) {
  26762. if (this.$attrs.disabled || !dateMeta.selectable) {
  26763. return;
  26764. }
  26765. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.find(this.overlay, '.p-datepicker-calendar td span:not(.p-disabled)').forEach(cell => cell.tabIndex = -1);
  26766. if (event) {
  26767. event.currentTarget.focus();
  26768. }
  26769. if (this.isMultipleSelection() && this.isSelected(dateMeta)) {
  26770. let newValue = this.modelValue.filter(date => !this.isDateEquals(date, dateMeta));
  26771. this.updateModel(newValue);
  26772. }
  26773. else {
  26774. if (this.shouldSelectDate(dateMeta)) {
  26775. if (dateMeta.otherMonth) {
  26776. this.currentMonth = dateMeta.month;
  26777. this.currentYear = dateMeta.year;
  26778. this.selectDate(dateMeta);
  26779. }
  26780. else {
  26781. this.selectDate(dateMeta);
  26782. }
  26783. }
  26784. }
  26785. if (this.isSingleSelection() && (!this.showTime || this.hideOnDateTimeSelect)) {
  26786. setTimeout(() => {
  26787. this.overlayVisible = false;
  26788. }, 150);
  26789. }
  26790. },
  26791. selectDate(dateMeta) {
  26792. let date = new Date(dateMeta.year, dateMeta.month, dateMeta.day);
  26793. if (this.showTime) {
  26794. if (this.hourFormat === '12' && this.pm && this.currentHour != 12)
  26795. date.setHours(this.currentHour + 12);
  26796. else
  26797. date.setHours(this.currentHour);
  26798. date.setMinutes(this.currentMinute);
  26799. date.setSeconds(this.currentSecond);
  26800. }
  26801. if (this.minDate && this.minDate > date) {
  26802. date = this.minDate;
  26803. this.currentHour = date.getHours();
  26804. this.currentMinute = date.getMinutes();
  26805. this.currentSecond = date.getSeconds();
  26806. }
  26807. if (this.maxDate && this.maxDate < date) {
  26808. date = this.maxDate;
  26809. this.currentHour = date.getHours();
  26810. this.currentMinute = date.getMinutes();
  26811. this.currentSecond = date.getSeconds();
  26812. }
  26813. let modelVal = null;
  26814. if (this.isSingleSelection()) {
  26815. modelVal = date;
  26816. }
  26817. else if (this.isMultipleSelection()) {
  26818. modelVal = this.modelValue ? [...this.modelValue, date] : [date];
  26819. }
  26820. else if (this.isRangeSelection()) {
  26821. if (this.modelValue && this.modelValue.length) {
  26822. let startDate = this.modelValue[0];
  26823. let endDate = this.modelValue[1];
  26824. if (!endDate && date.getTime() >= startDate.getTime()) {
  26825. endDate = date;
  26826. }
  26827. else {
  26828. startDate = date;
  26829. endDate = null;
  26830. }
  26831. modelVal = [startDate, endDate];
  26832. }
  26833. else {
  26834. modelVal = [date, null];
  26835. }
  26836. }
  26837. if (modelVal !== null) {
  26838. this.updateModel(modelVal);
  26839. }
  26840. this.$emit('date-select', date);
  26841. },
  26842. updateModel(value) {
  26843. this.$emit('update:modelValue', value);
  26844. },
  26845. shouldSelectDate() {
  26846. if (this.isMultipleSelection())
  26847. return this.maxDateCount != null ? this.maxDateCount > (this.modelValue ? this.modelValue.length : 0) : true;
  26848. else
  26849. return true;
  26850. },
  26851. isSingleSelection() {
  26852. return this.selectionMode === 'single';
  26853. },
  26854. isRangeSelection() {
  26855. return this.selectionMode === 'range';
  26856. },
  26857. isMultipleSelection() {
  26858. return this.selectionMode === 'multiple';
  26859. },
  26860. formatValue(value) {
  26861. if (typeof value === 'string') {
  26862. return value;
  26863. }
  26864. let formattedValue = '';
  26865. if (value) {
  26866. try {
  26867. if (this.isSingleSelection()) {
  26868. formattedValue = this.formatDateTime(value);
  26869. }
  26870. else if (this.isMultipleSelection()) {
  26871. for(let i = 0; i < value.length; i++) {
  26872. let dateAsString = this.formatDateTime(value[i]);
  26873. formattedValue += dateAsString;
  26874. if(i !== (value.length - 1)) {
  26875. formattedValue += ', ';
  26876. }
  26877. }
  26878. }
  26879. else if (this.isRangeSelection()) {
  26880. if (value && value.length) {
  26881. let startDate = value[0];
  26882. let endDate = value[1];
  26883. formattedValue = this.formatDateTime(startDate);
  26884. if (endDate) {
  26885. formattedValue += ' - ' + this.formatDateTime(endDate);
  26886. }
  26887. }
  26888. }
  26889. }
  26890. catch(err) {
  26891. formattedValue = value;
  26892. }
  26893. }
  26894. return formattedValue;
  26895. },
  26896. formatDateTime(date) {
  26897. let formattedValue = null;
  26898. if (date) {
  26899. if(this.timeOnly) {
  26900. formattedValue = this.formatTime(date);
  26901. }
  26902. else {
  26903. formattedValue = this.formatDate(date, this.datePattern);
  26904. if(this.showTime) {
  26905. formattedValue += ' ' + this.formatTime(date);
  26906. }
  26907. }
  26908. }
  26909. return formattedValue;
  26910. },
  26911. formatDate(date, format) {
  26912. if (!date) {
  26913. return '';
  26914. }
  26915. let iFormat;
  26916. const lookAhead = (match) => {
  26917. const matches = (iFormat + 1 < format.length && format.charAt(iFormat + 1) === match);
  26918. if (matches) {
  26919. iFormat++;
  26920. }
  26921. return matches;
  26922. },
  26923. formatNumber = (match, value, len) => {
  26924. let num = '' + value;
  26925. if (lookAhead(match)) {
  26926. while (num.length < len) {
  26927. num = '0' + num;
  26928. }
  26929. }
  26930. return num;
  26931. },
  26932. formatName = (match, value, shortNames, longNames) => {
  26933. return (lookAhead(match) ? longNames[value] : shortNames[value]);
  26934. };
  26935. let output = '';
  26936. let literal = false;
  26937. if (date) {
  26938. for (iFormat = 0; iFormat < format.length; iFormat++) {
  26939. if (literal) {
  26940. if (format.charAt(iFormat) === '\'' && !lookAhead('\'')) {
  26941. literal = false;
  26942. } else {
  26943. output += format.charAt(iFormat);
  26944. }
  26945. } else {
  26946. switch (format.charAt(iFormat)) {
  26947. case 'd':
  26948. output += formatNumber('d', date.getDate(), 2);
  26949. break;
  26950. case 'D':
  26951. output += formatName('D', date.getDay(), this.$primevue.config.locale.dayNamesShort, this.$primevue.config.locale.dayNames);
  26952. break;
  26953. case 'o':
  26954. output += formatNumber('o',
  26955. Math.round((
  26956. new Date(date.getFullYear(), date.getMonth(), date.getDate()).getTime() -
  26957. new Date(date.getFullYear(), 0, 0).getTime()) / 86400000), 3);
  26958. break;
  26959. case 'm':
  26960. output += formatNumber('m', date.getMonth() + 1, 2);
  26961. break;
  26962. case 'M':
  26963. output += formatName('M',date.getMonth(), this.$primevue.config.locale.monthNamesShort, this.$primevue.config.locale.monthNames);
  26964. break;
  26965. case 'y':
  26966. output += lookAhead('y') ? date.getFullYear() : (date.getFullYear() % 100 < 10 ? '0' : '') + (date.getFullYear() % 100);
  26967. break;
  26968. case '@':
  26969. output += date.getTime();
  26970. break;
  26971. case '!':
  26972. output += date.getTime() * 10000 + this.ticksTo1970;
  26973. break;
  26974. case '\'':
  26975. if (lookAhead('\'')) {
  26976. output += '\'';
  26977. } else {
  26978. literal = true;
  26979. }
  26980. break;
  26981. default:
  26982. output += format.charAt(iFormat);
  26983. }
  26984. }
  26985. }
  26986. }
  26987. return output;
  26988. },
  26989. formatTime(date) {
  26990. if (!date) {
  26991. return '';
  26992. }
  26993. let output = '';
  26994. let hours = date.getHours();
  26995. let minutes = date.getMinutes();
  26996. let seconds = date.getSeconds();
  26997. if (this.hourFormat === '12' && hours > 11 && hours !== 12) {
  26998. hours -= 12;
  26999. }
  27000. if (this.hourFormat === '12') {
  27001. output += hours === 0 ? 12 : (hours < 10) ? '0' + hours : hours;
  27002. }
  27003. else {
  27004. output += (hours < 10) ? '0' + hours : hours;
  27005. }
  27006. output += ':';
  27007. output += (minutes < 10) ? '0' + minutes : minutes;
  27008. if (this.showSeconds) {
  27009. output += ':';
  27010. output += (seconds < 10) ? '0' + seconds : seconds;
  27011. }
  27012. if (this.hourFormat === '12') {
  27013. output += date.getHours() > 11 ? ' PM' : ' AM';
  27014. }
  27015. return output;
  27016. },
  27017. onTodayButtonClick(event) {
  27018. let date = new Date();
  27019. let dateMeta = {
  27020. day: date.getDate(),
  27021. month: date.getMonth(),
  27022. year: date.getFullYear(),
  27023. otherMonth: date.getMonth() !== this.currentMonth || date.getFullYear() !== this.currentYear,
  27024. today: true,
  27025. selectable: true
  27026. };
  27027. this.onDateSelect(null, dateMeta);
  27028. this.$emit('today-click', date);
  27029. event.preventDefault();
  27030. },
  27031. onClearButtonClick(event) {
  27032. this.updateModel(null);
  27033. this.overlayVisible = false;
  27034. this.$emit('clear-click', event);
  27035. event.preventDefault();
  27036. },
  27037. onTimePickerElementMouseDown(event, type, direction) {
  27038. if (this.isEnabled()) {
  27039. this.repeat(event, null, type, direction);
  27040. event.preventDefault();
  27041. }
  27042. },
  27043. onTimePickerElementMouseUp(event) {
  27044. if (this.isEnabled()) {
  27045. this.clearTimePickerTimer();
  27046. this.updateModelTime();
  27047. event.preventDefault();
  27048. }
  27049. },
  27050. onTimePickerElementMouseLeave() {
  27051. this.clearTimePickerTimer();
  27052. },
  27053. repeat(event, interval, type, direction) {
  27054. let i = interval||500;
  27055. this.clearTimePickerTimer();
  27056. this.timePickerTimer = setTimeout(() => {
  27057. this.repeat(event, 100, type, direction);
  27058. }, i);
  27059. switch(type) {
  27060. case 0:
  27061. if (direction === 1)
  27062. this.incrementHour(event);
  27063. else
  27064. this.decrementHour(event);
  27065. break;
  27066. case 1:
  27067. if (direction === 1)
  27068. this.incrementMinute(event);
  27069. else
  27070. this.decrementMinute(event);
  27071. break;
  27072. case 2:
  27073. if (direction === 1)
  27074. this.incrementSecond(event);
  27075. else
  27076. this.decrementSecond(event);
  27077. break;
  27078. }
  27079. },
  27080. convertTo24Hour(hours, pm) {
  27081. if (this.hourFormat == '12') {
  27082. if (hours === 12) {
  27083. return (pm ? 12 : 0);
  27084. } else {
  27085. return (pm ? hours + 12 : hours);
  27086. }
  27087. }
  27088. return hours;
  27089. },
  27090. validateTime(hour, minute, second, pm) {
  27091. let value = this.isComparable() ? this.modelValue : this.viewDate;
  27092. const convertedHour = this.convertTo24Hour(hour, pm);
  27093. if (this.isRangeSelection()) {
  27094. value = this.modelValue[1] || this.modelValue[0];
  27095. }
  27096. if (this.isMultipleSelection()) {
  27097. value = this.modelValue[this.modelValue.length - 1];
  27098. }
  27099. const valueDateString = value ? value.toDateString() : null;
  27100. if (this.minDate && valueDateString && this.minDate.toDateString() === valueDateString) {
  27101. if (this.minDate.getHours() > convertedHour) {
  27102. return false;
  27103. }
  27104. if (this.minDate.getHours() === convertedHour) {
  27105. if (this.minDate.getMinutes() > minute) {
  27106. return false;
  27107. }
  27108. if (this.minDate.getMinutes() === minute) {
  27109. if (this.minDate.getSeconds() > second) {
  27110. return false;
  27111. }
  27112. }
  27113. }
  27114. }
  27115. if (this.maxDate && valueDateString && this.maxDate.toDateString() === valueDateString) {
  27116. if (this.maxDate.getHours() < convertedHour) {
  27117. return false;
  27118. }
  27119. if (this.maxDate.getHours() === convertedHour) {
  27120. if (this.maxDate.getMinutes() < minute) {
  27121. return false;
  27122. }
  27123. if (this.maxDate.getMinutes() === minute) {
  27124. if (this.maxDate.getSeconds() < second) {
  27125. return false;
  27126. }
  27127. }
  27128. }
  27129. }
  27130. return true;
  27131. },
  27132. incrementHour(event) {
  27133. let prevHour = this.currentHour;
  27134. let newHour = this.currentHour + this.stepHour;
  27135. let newPM = this.pm;
  27136. if (this.hourFormat == '24')
  27137. newHour = (newHour >= 24) ? (newHour - 24) : newHour;
  27138. else if (this.hourFormat == '12') {
  27139. // Before the AM/PM break, now after
  27140. if (prevHour < 12 && newHour > 11) {
  27141. newPM= !this.pm;
  27142. }
  27143. newHour = (newHour >= 13) ? (newHour - 12) : newHour;
  27144. }
  27145. if (this.validateTime(newHour, this.currentMinute, this.currentSecond, newPM)) {
  27146. this.currentHour = newHour;
  27147. this.pm = newPM;
  27148. }
  27149. event.preventDefault();
  27150. },
  27151. decrementHour(event) {
  27152. let newHour = this.currentHour - this.stepHour;
  27153. let newPM = this.pm;
  27154. if (this.hourFormat == '24')
  27155. newHour = (newHour < 0) ? (24 + newHour) : newHour;
  27156. else if (this.hourFormat == '12') {
  27157. // If we were at noon/midnight, then switch
  27158. if (this.currentHour === 12) {
  27159. newPM = !this.pm;
  27160. }
  27161. newHour = (newHour <= 0) ? (12 + newHour) : newHour;
  27162. }
  27163. if (this.validateTime(newHour, this.currentMinute, this.currentSecond, newPM)) {
  27164. this.currentHour = newHour;
  27165. this.pm = newPM;
  27166. }
  27167. event.preventDefault();
  27168. },
  27169. incrementMinute(event) {
  27170. let newMinute = this.currentMinute + this.stepMinute;
  27171. if (this.validateTime(this.currentHour, newMinute, this.currentSecond, true)) {
  27172. this.currentMinute = (newMinute > 59) ? newMinute - 60 : newMinute;
  27173. }
  27174. event.preventDefault();
  27175. },
  27176. decrementMinute(event) {
  27177. let newMinute = this.currentMinute - this.stepMinute;
  27178. newMinute = (newMinute < 0) ? 60 + newMinute : newMinute;
  27179. if (this.validateTime(this.currentHour, newMinute, this.currentSecond, true)) {
  27180. this.currentMinute = newMinute;
  27181. }
  27182. event.preventDefault();
  27183. },
  27184. incrementSecond(event) {
  27185. let newSecond = this.currentSecond + this.stepSecond;
  27186. if (this.validateTime(this.currentHour, this.currentMinute, newSecond, true)) {
  27187. this.currentSecond = (newSecond > 59) ? newSecond - 60 : newSecond;
  27188. }
  27189. event.preventDefault();
  27190. },
  27191. decrementSecond(event) {
  27192. let newSecond = this.currentSecond - this.stepSecond;
  27193. newSecond = (newSecond < 0) ? 60 + newSecond : newSecond;
  27194. if (this.validateTime(this.currentHour, this.currentMinute, newSecond, true)) {
  27195. this.currentSecond = newSecond;
  27196. }
  27197. event.preventDefault();
  27198. },
  27199. updateModelTime() {
  27200. this.timePickerChange = true;
  27201. let value = this.isComparable() ? this.modelValue : this.viewDate;
  27202. if (this.isRangeSelection()) {
  27203. value = this.modelValue[1] || this.modelValue[0];
  27204. }
  27205. if (this.isMultipleSelection()) {
  27206. value = this.modelValue[this.modelValue.length - 1];
  27207. }
  27208. value = value ? new Date(value.getTime()) : new Date();
  27209. if (this.hourFormat == '12') {
  27210. if (this.currentHour === 12)
  27211. value.setHours(this.pm ? 12 : 0);
  27212. else
  27213. value.setHours(this.pm ? this.currentHour + 12 : this.currentHour);
  27214. }
  27215. else {
  27216. value.setHours(this.currentHour);
  27217. }
  27218. value.setMinutes(this.currentMinute);
  27219. value.setSeconds(this.currentSecond);
  27220. if (this.isRangeSelection()) {
  27221. if (this.modelValue[1])
  27222. value = [this.modelValue[0], value];
  27223. else
  27224. value = [value, null];
  27225. }
  27226. if (this.isMultipleSelection()){
  27227. value = [...this.modelValue.slice(0, -1), value];
  27228. }
  27229. this.updateModel(value);
  27230. this.$emit('date-select', value);
  27231. setTimeout(() => this.timePickerChange = false, 0);
  27232. },
  27233. toggleAMPM(event) {
  27234. this.pm = !this.pm;
  27235. this.updateModelTime();
  27236. event.preventDefault();
  27237. },
  27238. clearTimePickerTimer() {
  27239. if (this.timePickerTimer) {
  27240. clearInterval(this.timePickerTimer);
  27241. }
  27242. },
  27243. onMonthSelect(event, index) {
  27244. if (this.view === 'month') {
  27245. this.onDateSelect(event, {year: this.currentYear, month: index, day: 1, selectable: true});
  27246. }
  27247. else {
  27248. this.currentMonth = index;
  27249. this.currentView = 'date';
  27250. this.$emit('month-change', {month: this.currentMonth + 1, year: this.currentYear});
  27251. }
  27252. setTimeout(this.updateFocus, 0);
  27253. },
  27254. onYearSelect(event, year) {
  27255. if (this.view === 'year') {
  27256. this.onDateSelect(event, {year: year, month: 0, day: 1, selectable: true});
  27257. }
  27258. else {
  27259. this.currentYear = year;
  27260. this.currentView = 'month';
  27261. this.$emit('year-change', {month: this.currentMonth + 1, year: this.currentYear});
  27262. }
  27263. setTimeout(this.updateFocus, 0);
  27264. },
  27265. enableModality() {
  27266. if (!this.mask) {
  27267. this.mask = document.createElement('div');
  27268. this.mask.style.zIndex = String(parseInt(this.overlay.style.zIndex, 10) - 1);
  27269. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addMultipleClasses(this.mask, 'p-datepicker-mask p-datepicker-mask-scrollblocker p-component-overlay p-component-overlay-enter');
  27270. this.maskClickListener = () => {
  27271. this.overlayVisible = false;
  27272. };
  27273. this.mask.addEventListener('click', this.maskClickListener);
  27274. document.body.appendChild(this.mask);
  27275. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(document.body, 'p-overflow-hidden');
  27276. }
  27277. },
  27278. disableModality() {
  27279. if (this.mask) {
  27280. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(this.mask, 'p-component-overlay-leave');
  27281. this.mask.addEventListener('animationend', () => {
  27282. this.destroyMask();
  27283. });
  27284. }
  27285. },
  27286. destroyMask() {
  27287. this.mask.removeEventListener('click', this.maskClickListener);
  27288. this.maskClickListener = null;
  27289. document.body.removeChild(this.mask);
  27290. this.mask = null;
  27291. let bodyChildren = document.body.children;
  27292. let hasBlockerMasks;
  27293. for (let i = 0; i < bodyChildren.length; i++) {
  27294. let bodyChild = bodyChildren[i];
  27295. if(primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(bodyChild, 'p-datepicker-mask-scrollblocker')) {
  27296. hasBlockerMasks = true;
  27297. break;
  27298. }
  27299. }
  27300. if (!hasBlockerMasks) {
  27301. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(document.body, 'p-overflow-hidden');
  27302. }
  27303. },
  27304. updateCurrentMetaData() {
  27305. const viewDate = this.viewDate;
  27306. this.currentMonth = viewDate.getMonth();
  27307. this.currentYear = viewDate.getFullYear();
  27308. if (this.showTime || this.timeOnly) {
  27309. this.updateCurrentTimeMeta(viewDate);
  27310. }
  27311. },
  27312. isValidSelection(value) {
  27313. if (value == null) {
  27314. return true;
  27315. }
  27316. let isValid = true;
  27317. if (this.isSingleSelection()) {
  27318. if (!this.isSelectable(value.getDate(), value.getMonth(), value.getFullYear(), false)) {
  27319. isValid = false;
  27320. }
  27321. } else if (value.every(v => this.isSelectable(v.getDate(), v.getMonth(), v.getFullYear(), false))) {
  27322. if (this.isRangeSelection()) {
  27323. isValid = value.length > 1 && value[1] > value[0] ? true : false;
  27324. }
  27325. }
  27326. return isValid;
  27327. },
  27328. parseValue(text) {
  27329. if (!text || text.trim().length === 0) {
  27330. return null;
  27331. }
  27332. let value;
  27333. if (this.isSingleSelection()) {
  27334. value = this.parseDateTime(text);
  27335. }
  27336. else if (this.isMultipleSelection()) {
  27337. let tokens = text.split(',');
  27338. value = [];
  27339. for (let token of tokens) {
  27340. value.push(this.parseDateTime(token.trim()));
  27341. }
  27342. }
  27343. else if (this.isRangeSelection()) {
  27344. let tokens = text.split(' - ');
  27345. value = [];
  27346. for (let i = 0; i < tokens.length; i++) {
  27347. value[i] = this.parseDateTime(tokens[i].trim());
  27348. }
  27349. }
  27350. return value;
  27351. },
  27352. parseDateTime(text) {
  27353. let date;
  27354. let parts = text.split(' ');
  27355. if (this.timeOnly) {
  27356. date = new Date();
  27357. this.populateTime(date, parts[0], parts[1]);
  27358. }
  27359. else {
  27360. const dateFormat = this.datePattern;
  27361. if (this.showTime) {
  27362. date = this.parseDate(parts[0], dateFormat);
  27363. this.populateTime(date, parts[1], parts[2]);
  27364. }
  27365. else {
  27366. date = this.parseDate(text, dateFormat);
  27367. }
  27368. }
  27369. return date;
  27370. },
  27371. populateTime(value, timeString, ampm) {
  27372. if (this.hourFormat == '12' && !ampm) {
  27373. throw 'Invalid Time';
  27374. }
  27375. this.pm = (ampm === 'PM' || ampm === 'pm');
  27376. let time = this.parseTime(timeString);
  27377. value.setHours(time.hour);
  27378. value.setMinutes(time.minute);
  27379. value.setSeconds(time.second);
  27380. },
  27381. parseTime(value) {
  27382. let tokens = value.split(':');
  27383. let validTokenLength = this.showSeconds ? 3 : 2;
  27384. let regex = (/^[0-9][0-9]$/);
  27385. if (tokens.length !== validTokenLength || !tokens[0].match(regex) || !tokens[1].match(regex) || (this.showSeconds && !tokens[2].match(regex))) {
  27386. throw "Invalid time";
  27387. }
  27388. let h = parseInt(tokens[0]);
  27389. let m = parseInt(tokens[1]);
  27390. let s = this.showSeconds ? parseInt(tokens[2]) : null;
  27391. if (isNaN(h) || isNaN(m) || h > 23 || m > 59 || (this.hourFormat == '12' && h > 12) || (this.showSeconds && (isNaN(s) || s > 59))) {
  27392. throw "Invalid time";
  27393. }
  27394. else {
  27395. if (this.hourFormat == '12' && h !== 12 && this.pm) {
  27396. h+= 12;
  27397. }
  27398. return {hour: h, minute: m, second: s};
  27399. }
  27400. },
  27401. parseDate(value, format) {
  27402. if (format == null || value == null) {
  27403. throw "Invalid arguments";
  27404. }
  27405. value = (typeof value === "object" ? value.toString() : value + "");
  27406. if (value === "") {
  27407. return null;
  27408. }
  27409. let iFormat, dim, extra,
  27410. iValue = 0,
  27411. shortYearCutoff = (typeof this.shortYearCutoff !== "string" ? this.shortYearCutoff : new Date().getFullYear() % 100 + parseInt(this.shortYearCutoff, 10)),
  27412. year = -1,
  27413. month = -1,
  27414. day = -1,
  27415. doy = -1,
  27416. literal = false,
  27417. date,
  27418. lookAhead = (match) => {
  27419. let matches = (iFormat + 1 < format.length && format.charAt(iFormat + 1) === match);
  27420. if (matches) {
  27421. iFormat++;
  27422. }
  27423. return matches;
  27424. },
  27425. getNumber = (match) => {
  27426. let isDoubled = lookAhead(match),
  27427. size = (match === "@" ? 14 : (match === "!" ? 20 :
  27428. (match === "y" && isDoubled ? 4 : (match === "o" ? 3 : 2)))),
  27429. minSize = (match === "y" ? size : 1),
  27430. digits = new RegExp("^\\d{" + minSize + "," + size + "}"),
  27431. num = value.substring(iValue).match(digits);
  27432. if (!num) {
  27433. throw "Missing number at position " + iValue;
  27434. }
  27435. iValue += num[ 0 ].length;
  27436. return parseInt(num[ 0 ], 10);
  27437. },
  27438. getName = (match, shortNames, longNames) => {
  27439. let index = -1;
  27440. let arr = lookAhead(match) ? longNames : shortNames;
  27441. let names = [];
  27442. for (let i = 0; i < arr.length; i++) {
  27443. names.push([i,arr[i]]);
  27444. }
  27445. names.sort((a,b) => {
  27446. return -(a[ 1 ].length - b[ 1 ].length);
  27447. });
  27448. for (let i = 0; i < names.length; i++) {
  27449. let name = names[i][1];
  27450. if (value.substr(iValue, name.length).toLowerCase() === name.toLowerCase()) {
  27451. index = names[i][0];
  27452. iValue += name.length;
  27453. break;
  27454. }
  27455. }
  27456. if (index !== -1) {
  27457. return index + 1;
  27458. } else {
  27459. throw "Unknown name at position " + iValue;
  27460. }
  27461. },
  27462. checkLiteral = () => {
  27463. if (value.charAt(iValue) !== format.charAt(iFormat)) {
  27464. throw "Unexpected literal at position " + iValue;
  27465. }
  27466. iValue++;
  27467. };
  27468. if (this.currentView === 'month') {
  27469. day = 1;
  27470. }
  27471. for (iFormat = 0; iFormat < format.length; iFormat++) {
  27472. if (literal) {
  27473. if (format.charAt(iFormat) === "'" && !lookAhead("'")) {
  27474. literal = false;
  27475. } else {
  27476. checkLiteral();
  27477. }
  27478. } else {
  27479. switch (format.charAt(iFormat)) {
  27480. case "d":
  27481. day = getNumber("d");
  27482. break;
  27483. case "D":
  27484. getName("D", this.$primevue.config.locale.dayNamesShort, this.$primevue.config.locale.dayNames);
  27485. break;
  27486. case "o":
  27487. doy = getNumber("o");
  27488. break;
  27489. case "m":
  27490. month = getNumber("m");
  27491. break;
  27492. case "M":
  27493. month = getName("M", this.$primevue.config.locale.monthNamesShort, this.$primevue.config.locale.monthNames);
  27494. break;
  27495. case "y":
  27496. year = getNumber("y");
  27497. break;
  27498. case "@":
  27499. date = new Date(getNumber("@"));
  27500. year = date.getFullYear();
  27501. month = date.getMonth() + 1;
  27502. day = date.getDate();
  27503. break;
  27504. case "!":
  27505. date = new Date((getNumber("!") - this.ticksTo1970) / 10000);
  27506. year = date.getFullYear();
  27507. month = date.getMonth() + 1;
  27508. day = date.getDate();
  27509. break;
  27510. case "'":
  27511. if (lookAhead("'")) {
  27512. checkLiteral();
  27513. } else {
  27514. literal = true;
  27515. }
  27516. break;
  27517. default:
  27518. checkLiteral();
  27519. }
  27520. }
  27521. }
  27522. if (iValue < value.length) {
  27523. extra = value.substr(iValue);
  27524. if (!/^\s+/.test(extra)) {
  27525. throw "Extra/unparsed characters found in date: " + extra;
  27526. }
  27527. }
  27528. if (year === -1) {
  27529. year = new Date().getFullYear();
  27530. } else if (year < 100) {
  27531. year += new Date().getFullYear() - new Date().getFullYear() % 100 +
  27532. (year <= shortYearCutoff ? 0 : -100);
  27533. }
  27534. if (doy > -1) {
  27535. month = 1;
  27536. day = doy;
  27537. do {
  27538. dim = this.getDaysCountInMonth(year, month - 1);
  27539. if (day <= dim) {
  27540. break;
  27541. }
  27542. month++;
  27543. day -= dim;
  27544. // eslint-disable-next-line
  27545. } while (true);
  27546. }
  27547. date = this.daylightSavingAdjust(new Date(year, month - 1, day));
  27548. if (date.getFullYear() !== year || date.getMonth() + 1 !== month || date.getDate() !== day) {
  27549. throw "Invalid date"; // E.g. 31/02/00
  27550. }
  27551. return date;
  27552. },
  27553. getWeekNumber(date) {
  27554. let checkDate = new Date(date.getTime());
  27555. checkDate.setDate(checkDate.getDate() + 4 - ( checkDate.getDay() || 7 ));
  27556. let time = checkDate.getTime();
  27557. checkDate.setMonth( 0 );
  27558. checkDate.setDate( 1 );
  27559. return Math.floor( Math.round((time - checkDate.getTime()) / 86400000 ) / 7 ) + 1;
  27560. },
  27561. onDateCellKeydown(event, date, groupIndex) {
  27562. const cellContent = event.currentTarget;
  27563. const cell = cellContent.parentElement;
  27564. switch (event.which) {
  27565. //down arrow
  27566. case 40: {
  27567. cellContent.tabIndex = '-1';
  27568. let cellIndex = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.index(cell);
  27569. let nextRow = cell.parentElement.nextElementSibling;
  27570. if (nextRow) {
  27571. let focusCell = nextRow.children[cellIndex].children[0];
  27572. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(focusCell, 'p-disabled')) {
  27573. this.navigationState = {backward: false};
  27574. this.navForward(event);
  27575. }
  27576. else {
  27577. nextRow.children[cellIndex].children[0].tabIndex = '0';
  27578. nextRow.children[cellIndex].children[0].focus();
  27579. }
  27580. }
  27581. else {
  27582. this.navigationState = {backward: false};
  27583. this.navForward(event);
  27584. }
  27585. event.preventDefault();
  27586. break;
  27587. }
  27588. //up arrow
  27589. case 38: {
  27590. cellContent.tabIndex = '-1';
  27591. let cellIndex = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.index(cell);
  27592. let prevRow = cell.parentElement.previousElementSibling;
  27593. if (prevRow) {
  27594. let focusCell = prevRow.children[cellIndex].children[0];
  27595. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(focusCell, 'p-disabled')) {
  27596. this.navigationState = {backward: true};
  27597. this.navBackward(event);
  27598. }
  27599. else {
  27600. focusCell.tabIndex = '0';
  27601. focusCell.focus();
  27602. }
  27603. }
  27604. else {
  27605. this.navigationState = {backward: true};
  27606. this.navBackward(event);
  27607. }
  27608. event.preventDefault();
  27609. break;
  27610. }
  27611. //left arrow
  27612. case 37: {
  27613. cellContent.tabIndex = '-1';
  27614. let prevCell = cell.previousElementSibling;
  27615. if (prevCell) {
  27616. let focusCell = prevCell.children[0];
  27617. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(focusCell, 'p-disabled')) {
  27618. this.navigateToMonth(true, groupIndex);
  27619. }
  27620. else {
  27621. focusCell.tabIndex = '0';
  27622. focusCell.focus();
  27623. }
  27624. }
  27625. else {
  27626. this.navigateToMonth(true, groupIndex);
  27627. }
  27628. event.preventDefault();
  27629. break;
  27630. }
  27631. //right arrow
  27632. case 39: {
  27633. cellContent.tabIndex = '-1';
  27634. let nextCell = cell.nextElementSibling;
  27635. if (nextCell) {
  27636. let focusCell = nextCell.children[0];
  27637. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(focusCell, 'p-disabled')) {
  27638. this.navigateToMonth(false, groupIndex);
  27639. }
  27640. else {
  27641. focusCell.tabIndex = '0';
  27642. focusCell.focus();
  27643. }
  27644. }
  27645. else {
  27646. this.navigateToMonth(false, groupIndex);
  27647. }
  27648. event.preventDefault();
  27649. break;
  27650. }
  27651. //enter
  27652. //space
  27653. case 13:
  27654. case 32: {
  27655. this.onDateSelect(event, date);
  27656. event.preventDefault();
  27657. break;
  27658. }
  27659. //escape
  27660. case 27: {
  27661. this.overlayVisible = false;
  27662. event.preventDefault();
  27663. break;
  27664. }
  27665. //tab
  27666. case 9: {
  27667. if (!this.inline) {
  27668. this.trapFocus(event);
  27669. }
  27670. break;
  27671. }
  27672. }
  27673. },
  27674. navigateToMonth(prev, groupIndex) {
  27675. if (prev) {
  27676. if (this.numberOfMonths === 1 || (groupIndex === 0)) {
  27677. this.navigationState = {backward: true};
  27678. this.navBackward(event);
  27679. }
  27680. else {
  27681. let prevMonthContainer = this.overlay.children[groupIndex - 1];
  27682. let cells = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.find(prevMonthContainer, '.p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)');
  27683. let focusCell = cells[cells.length - 1];
  27684. focusCell.tabIndex = '0';
  27685. focusCell.focus();
  27686. }
  27687. }
  27688. else {
  27689. if (this.numberOfMonths === 1 || (groupIndex === this.numberOfMonths - 1)) {
  27690. this.navigationState = {backward: false};
  27691. this.navForward(event);
  27692. }
  27693. else {
  27694. let nextMonthContainer = this.overlay.children[groupIndex + 1];
  27695. let focusCell = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.findSingle(nextMonthContainer, '.p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)');
  27696. focusCell.tabIndex = '0';
  27697. focusCell.focus();
  27698. }
  27699. }
  27700. },
  27701. onMonthCellKeydown(event, index) {
  27702. const cell = event.currentTarget;
  27703. switch (event.which) {
  27704. //arrows
  27705. case 38:
  27706. case 40: {
  27707. cell.tabIndex = '-1';
  27708. var cells = cell.parentElement.children;
  27709. var cellIndex = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.index(cell);
  27710. let nextCell = cells[event.which === 40 ? cellIndex + 3 : cellIndex -3];
  27711. if (nextCell) {
  27712. nextCell.tabIndex = '0';
  27713. nextCell.focus();
  27714. }
  27715. event.preventDefault();
  27716. break;
  27717. }
  27718. //left arrow
  27719. case 37: {
  27720. cell.tabIndex = '-1';
  27721. let prevCell = cell.previousElementSibling;
  27722. if (prevCell) {
  27723. prevCell.tabIndex = '0';
  27724. prevCell.focus();
  27725. }
  27726. else {
  27727. this.navigationState = {backward: true};
  27728. this.navBackward(event);
  27729. }
  27730. event.preventDefault();
  27731. break;
  27732. }
  27733. //right arrow
  27734. case 39: {
  27735. cell.tabIndex = '-1';
  27736. let nextCell = cell.nextElementSibling;
  27737. if (nextCell) {
  27738. nextCell.tabIndex = '0';
  27739. nextCell.focus();
  27740. }
  27741. else {
  27742. this.navigationState = {backward: false};
  27743. this.navForward(event);
  27744. }
  27745. event.preventDefault();
  27746. break;
  27747. }
  27748. //enter
  27749. //space
  27750. case 13:
  27751. case 32: {
  27752. this.onMonthSelect(event, index);
  27753. event.preventDefault();
  27754. break;
  27755. }
  27756. //escape
  27757. case 27: {
  27758. this.overlayVisible = false;
  27759. event.preventDefault();
  27760. break;
  27761. }
  27762. //tab
  27763. case 9: {
  27764. this.trapFocus(event);
  27765. break;
  27766. }
  27767. }
  27768. },
  27769. onYearCellKeydown(event, index) {
  27770. const cell = event.currentTarget;
  27771. switch (event.which) {
  27772. //arrows
  27773. case 38:
  27774. case 40: {
  27775. cell.tabIndex = '-1';
  27776. var cells = cell.parentElement.children;
  27777. var cellIndex = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.index(cell);
  27778. let nextCell = cells[event.which === 40 ? cellIndex + 2 : cellIndex - 2];
  27779. if (nextCell) {
  27780. nextCell.tabIndex = '0';
  27781. nextCell.focus();
  27782. }
  27783. event.preventDefault();
  27784. break;
  27785. }
  27786. //left arrow
  27787. case 37: {
  27788. cell.tabIndex = '-1';
  27789. let prevCell = cell.previousElementSibling;
  27790. if (prevCell) {
  27791. prevCell.tabIndex = '0';
  27792. prevCell.focus();
  27793. }
  27794. else {
  27795. this.navigationState = {backward: true};
  27796. this.navBackward(event);
  27797. }
  27798. event.preventDefault();
  27799. break;
  27800. }
  27801. //right arrow
  27802. case 39: {
  27803. cell.tabIndex = '-1';
  27804. let nextCell = cell.nextElementSibling;
  27805. if (nextCell) {
  27806. nextCell.tabIndex = '0';
  27807. nextCell.focus();
  27808. }
  27809. else {
  27810. this.navigationState = {backward: false};
  27811. this.navForward(event);
  27812. }
  27813. event.preventDefault();
  27814. break;
  27815. }
  27816. //enter
  27817. //space
  27818. case 13:
  27819. case 32: {
  27820. this.onYearSelect(event, index);
  27821. event.preventDefault();
  27822. break;
  27823. }
  27824. //escape
  27825. case 27: {
  27826. this.overlayVisible = false;
  27827. event.preventDefault();
  27828. break;
  27829. }
  27830. //tab
  27831. case 9: {
  27832. this.trapFocus(event);
  27833. break;
  27834. }
  27835. }
  27836. },
  27837. updateFocus() {
  27838. let cell;
  27839. if (this.navigationState) {
  27840. if (this.navigationState.button) {
  27841. this.initFocusableCell();
  27842. if (this.navigationState.backward)
  27843. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.findSingle(this.overlay, '.p-datepicker-prev').focus();
  27844. else
  27845. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.findSingle(this.overlay, '.p-datepicker-next').focus();
  27846. }
  27847. else {
  27848. if (this.navigationState.backward) {
  27849. let cells;
  27850. if (this.currentView === 'month') {
  27851. cells = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.find(this.overlay, '.p-monthpicker .p-monthpicker-month:not(.p-disabled)');
  27852. }
  27853. else if (this.currentView === 'year') {
  27854. cells = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.find(this.overlay, '.p-yearpicker .p-yearpicker-year:not(.p-disabled)');
  27855. }
  27856. else {
  27857. cells = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.find(this.overlay, '.p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)');
  27858. }
  27859. if (cells && cells.length > 0) {
  27860. cell = cells[cells.length - 1];
  27861. }
  27862. }
  27863. else {
  27864. if (this.currentView === 'month') {
  27865. cell = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.findSingle(this.overlay, '.p-monthpicker .p-monthpicker-month:not(.p-disabled)');
  27866. }
  27867. else if (this.currentView === 'year') {
  27868. cell = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.findSingle(this.overlay, '.p-yearpicker .p-yearpicker-year:not(.p-disabled)');
  27869. }
  27870. else {
  27871. cell = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.findSingle(this.overlay, '.p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)');
  27872. }
  27873. }
  27874. if (cell) {
  27875. cell.tabIndex = '0';
  27876. cell.focus();
  27877. }
  27878. }
  27879. this.navigationState = null;
  27880. }
  27881. else {
  27882. this.initFocusableCell();
  27883. }
  27884. },
  27885. initFocusableCell() {
  27886. let cell;
  27887. if (this.currentView === 'month') {
  27888. let cells = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.find(this.overlay, '.p-monthpicker .p-monthpicker-month');
  27889. let selectedCell= primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.findSingle(this.overlay, '.p-monthpicker .p-monthpicker-month.p-highlight');
  27890. cells.forEach(cell => cell.tabIndex = -1);
  27891. cell = selectedCell || cells[0];
  27892. }
  27893. else if (this.currentView === 'year') {
  27894. let cells = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.find(this.overlay, '.p-yearpicker .p-yearpicker-year');
  27895. let selectedCell= primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.findSingle(this.overlay, '.p-yearpicker .p-yearpicker-year.p-highlight');
  27896. cells.forEach(cell => cell.tabIndex = -1);
  27897. cell = selectedCell || cells[0];
  27898. }
  27899. else {
  27900. cell = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.findSingle(this.overlay, 'span.p-highlight');
  27901. if (!cell) {
  27902. let todayCell = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.findSingle(this.overlay, 'td.p-datepicker-today span:not(.p-disabled):not(.p-ink');
  27903. if (todayCell)
  27904. cell = todayCell;
  27905. else
  27906. cell = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.findSingle(this.overlay, '.p-datepicker-calendar td span:not(.p-disabled):not(.p-ink');
  27907. }
  27908. }
  27909. if (cell) {
  27910. cell.tabIndex = '0';
  27911. if (!this.preventFocus && (!this.navigationState || !this.navigationState.button) && !this.timePickerChange) {
  27912. cell.focus();
  27913. }
  27914. this.preventFocus = false;
  27915. }
  27916. },
  27917. trapFocus(event) {
  27918. event.preventDefault();
  27919. let focusableElements = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getFocusableElements(this.overlay);
  27920. if (focusableElements && focusableElements.length > 0) {
  27921. if (!document.activeElement) {
  27922. focusableElements[0].focus();
  27923. }
  27924. else {
  27925. let focusedIndex = focusableElements.indexOf(document.activeElement);
  27926. if (event.shiftKey) {
  27927. if (focusedIndex == -1 || focusedIndex === 0)
  27928. focusableElements[focusableElements.length - 1].focus();
  27929. else
  27930. focusableElements[focusedIndex - 1].focus();
  27931. }
  27932. else {
  27933. if (focusedIndex == -1 || focusedIndex === (focusableElements.length - 1))
  27934. focusableElements[0].focus();
  27935. else
  27936. focusableElements[focusedIndex + 1].focus();
  27937. }
  27938. }
  27939. }
  27940. },
  27941. onContainerButtonKeydown(event) {
  27942. switch (event.which) {
  27943. //tab
  27944. case 9:
  27945. this.trapFocus(event);
  27946. break;
  27947. //escape
  27948. case 27:
  27949. this.overlayVisible = false;
  27950. event.preventDefault();
  27951. break;
  27952. }
  27953. this.$emit('keydown', event);
  27954. },
  27955. onInput(event) {
  27956. try {
  27957. this.selectionStart = this.input.selectionStart;
  27958. this.selectionEnd = this.input.selectionEnd;
  27959. let value = this.parseValue(event.target.value);
  27960. if (this.isValidSelection(value)) {
  27961. this.typeUpdate = true;
  27962. this.updateModel(value);
  27963. }
  27964. }
  27965. catch(err) {
  27966. /* NoOp */
  27967. }
  27968. this.$emit('input', event);
  27969. },
  27970. onFocus(event) {
  27971. if (this.showOnFocus && this.isEnabled()) {
  27972. this.overlayVisible = true;
  27973. }
  27974. this.focused = true;
  27975. this.$emit('focus', event);
  27976. },
  27977. onBlur(event) {
  27978. this.$emit('blur', {originalEvent: event, value: this.input.value});
  27979. this.focused = false;
  27980. this.input.value = this.formatValue(this.modelValue);
  27981. },
  27982. onKeyDown() {
  27983. if (event.keyCode === 40 && this.overlay) {
  27984. this.trapFocus(event);
  27985. }
  27986. else if (event.keyCode === 27) {
  27987. if (this.overlayVisible) {
  27988. this.overlayVisible = false;
  27989. event.preventDefault();
  27990. }
  27991. }
  27992. else if (event.keyCode === 9) {
  27993. if (this.overlay) {
  27994. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getFocusableElements(this.overlay).forEach(el => el.tabIndex = '-1');
  27995. }
  27996. if (this.overlayVisible) {
  27997. this.overlayVisible = false;
  27998. }
  27999. }
  28000. },
  28001. overlayRef(el) {
  28002. this.overlay = el;
  28003. },
  28004. inputRef(el) {
  28005. this.input = el;
  28006. },
  28007. getMonthName(index) {
  28008. return this.$primevue.config.locale.monthNames[index];
  28009. },
  28010. getYear(month) {
  28011. return this.currentView === 'month' ? this.currentYear : month.year;
  28012. },
  28013. onOverlayClick(event) {
  28014. if (!this.inline) {
  28015. primevue_overlayeventbus__WEBPACK_IMPORTED_MODULE_1__["default"].emit('overlay-click', {
  28016. originalEvent: event,
  28017. target: this.$el
  28018. });
  28019. }
  28020. },
  28021. onOverlayMouseUp(event) {
  28022. this.onOverlayClick(event);
  28023. },
  28024. createResponsiveStyle() {
  28025. if (this.numberOfMonths > 1 && this.responsiveOptions) {
  28026. if (!this.responsiveStyleElement) {
  28027. this.responsiveStyleElement = document.createElement('style');
  28028. this.responsiveStyleElement.type = 'text/css';
  28029. document.body.appendChild(this.responsiveStyleElement);
  28030. }
  28031. let innerHTML = '';
  28032. if (this.responsiveOptions) {
  28033. let responsiveOptions = [...this.responsiveOptions]
  28034. .filter(o => !!(o.breakpoint && o.numMonths))
  28035. .sort((o1, o2) => -1 * o1.breakpoint.localeCompare(o2.breakpoint, undefined, { numeric: true }));
  28036. for (let i = 0; i < responsiveOptions.length; i++) {
  28037. let { breakpoint, numMonths } = responsiveOptions[i];
  28038. let styles = `
  28039. .p-datepicker[${this.attributeSelector}] .p-datepicker-group:nth-child(${numMonths}) .p-datepicker-next {
  28040. display: inline-flex !important;
  28041. }
  28042. `;
  28043. for (let j = numMonths; j < this.numberOfMonths; j++) {
  28044. styles += `
  28045. .p-datepicker[${this.attributeSelector}] .p-datepicker-group:nth-child(${j + 1}) {
  28046. display: none !important;
  28047. }
  28048. `;
  28049. }
  28050. innerHTML += `
  28051. @media screen and (max-width: ${breakpoint}) {
  28052. ${styles}
  28053. }
  28054. `;
  28055. }
  28056. }
  28057. this.responsiveStyleElement.innerHTML = innerHTML;
  28058. }
  28059. },
  28060. destroyResponsiveStyleElement() {
  28061. if (this.responsiveStyleElement) {
  28062. this.responsiveStyleElement.remove();
  28063. this.responsiveStyleElement = null;
  28064. }
  28065. }
  28066. },
  28067. computed: {
  28068. viewDate() {
  28069. let propValue = this.modelValue;
  28070. if (propValue && Array.isArray(propValue)) {
  28071. propValue = propValue[0];
  28072. }
  28073. if (propValue && typeof propValue !== 'string') {
  28074. return propValue;
  28075. }
  28076. else {
  28077. let today = new Date();
  28078. if (this.maxDate && this.maxDate < today) {
  28079. return this.maxDate;
  28080. }
  28081. if (this.minDate && this.minDate > today) {
  28082. return this.minDate;
  28083. }
  28084. return today;
  28085. }
  28086. },
  28087. inputFieldValue() {
  28088. return this.formatValue(this.modelValue);
  28089. },
  28090. containerClass() {
  28091. return [
  28092. 'p-calendar p-component p-inputwrapper', this.class,
  28093. {
  28094. 'p-calendar-w-btn': this.showIcon,
  28095. 'p-calendar-timeonly': this.timeOnly,
  28096. 'p-calendar-disabled': this.$attrs.disabled,
  28097. 'p-inputwrapper-filled': this.modelValue,
  28098. 'p-inputwrapper-focus': this.focused
  28099. }
  28100. ];
  28101. },
  28102. panelStyleClass() {
  28103. return ['p-datepicker p-component', this.panelClass, {
  28104. 'p-datepicker-inline': this.inline,
  28105. 'p-disabled': this.$attrs.disabled,
  28106. 'p-datepicker-timeonly': this.timeOnly,
  28107. 'p-datepicker-multiple-month': this.numberOfMonths > 1,
  28108. 'p-datepicker-monthpicker': (this.currentView === 'month'),
  28109. 'p-datepicker-yearpicker': (this.currentView === 'year'),
  28110. 'p-datepicker-touch-ui': this.touchUI,
  28111. 'p-input-filled': this.$primevue.config.inputStyle === 'filled',
  28112. 'p-ripple-disabled': this.$primevue.config.ripple === false
  28113. }];
  28114. },
  28115. months() {
  28116. let months = [];
  28117. for (let i = 0 ; i < this.numberOfMonths; i++) {
  28118. let month = this.currentMonth + i;
  28119. let year = this.currentYear;
  28120. if (month > 11) {
  28121. month = month % 11 - 1;
  28122. year = year + 1;
  28123. }
  28124. let dates = [];
  28125. let firstDay = this.getFirstDayOfMonthIndex(month, year);
  28126. let daysLength = this.getDaysCountInMonth(month, year);
  28127. let prevMonthDaysLength = this.getDaysCountInPrevMonth(month, year);
  28128. let dayNo = 1;
  28129. let today = new Date();
  28130. let weekNumbers = [];
  28131. let monthRows = Math.ceil((daysLength + firstDay) / 7);
  28132. for (let i = 0; i < monthRows; i++) {
  28133. let week = [];
  28134. if (i == 0) {
  28135. for (let j = (prevMonthDaysLength - firstDay + 1); j <= prevMonthDaysLength; j++) {
  28136. let prev = this.getPreviousMonthAndYear(month, year);
  28137. week.push({day: j, month: prev.month, year: prev.year, otherMonth: true,
  28138. today: this.isToday(today, j, prev.month, prev.year), selectable: this.isSelectable(j, prev.month, prev.year, true)});
  28139. }
  28140. let remainingDaysLength = 7 - week.length;
  28141. for (let j = 0; j < remainingDaysLength; j++) {
  28142. week.push({day: dayNo, month: month, year: year, today: this.isToday(today, dayNo, month, year),
  28143. selectable: this.isSelectable(dayNo, month, year, false)});
  28144. dayNo++;
  28145. }
  28146. }
  28147. else {
  28148. for (let j = 0; j < 7; j++) {
  28149. if (dayNo > daysLength) {
  28150. let next = this.getNextMonthAndYear(month, year);
  28151. week.push({day: dayNo - daysLength, month: next.month, year: next.year, otherMonth: true,
  28152. today: this.isToday(today, dayNo - daysLength, next.month, next.year),
  28153. selectable: this.isSelectable((dayNo - daysLength), next.month, next.year, true)});
  28154. }
  28155. else {
  28156. week.push({day: dayNo, month: month, year: year, today: this.isToday(today, dayNo, month, year),
  28157. selectable: this.isSelectable(dayNo, month, year, false)});
  28158. }
  28159. dayNo++;
  28160. }
  28161. }
  28162. if (this.showWeek) {
  28163. weekNumbers.push(this.getWeekNumber(new Date(week[0].year, week[0].month, week[0].day)));
  28164. }
  28165. dates.push(week);
  28166. }
  28167. months.push({
  28168. month: month,
  28169. year: year,
  28170. dates: dates,
  28171. weekNumbers: weekNumbers
  28172. });
  28173. }
  28174. return months;
  28175. },
  28176. weekDays() {
  28177. let weekDays = [];
  28178. let dayIndex = this.$primevue.config.locale.firstDayOfWeek;
  28179. for (let i = 0; i < 7; i++) {
  28180. weekDays.push(this.$primevue.config.locale.dayNamesMin[dayIndex]);
  28181. dayIndex = (dayIndex == 6) ? 0 : ++dayIndex;
  28182. }
  28183. return weekDays;
  28184. },
  28185. ticksTo1970() {
  28186. return (((1970 - 1) * 365 + Math.floor(1970 / 4) - Math.floor(1970 / 100) + Math.floor(1970 / 400)) * 24 * 60 * 60 * 10000000);
  28187. },
  28188. sundayIndex() {
  28189. return this.$primevue.config.locale.firstDayOfWeek > 0 ? 7 - this.$primevue.config.locale.firstDayOfWeek : 0;
  28190. },
  28191. datePattern() {
  28192. return this.dateFormat || this.$primevue.config.locale.dateFormat;
  28193. },
  28194. yearOptions() {
  28195. if (this.yearRange) {
  28196. let $vm = this;
  28197. const years = this.yearRange.split(':');
  28198. let yearStart = parseInt(years[0]);
  28199. let yearEnd = parseInt(years[1]);
  28200. let yearOptions = [];
  28201. if (this.currentYear < yearStart) {
  28202. $vm.currentYear = yearEnd;
  28203. }
  28204. else if (this.currentYear > yearEnd) {
  28205. $vm.currentYear = yearStart;
  28206. }
  28207. for (let i = yearStart; i <= yearEnd; i++) {
  28208. yearOptions.push(i);
  28209. }
  28210. return yearOptions;
  28211. }
  28212. else {
  28213. return null;
  28214. }
  28215. },
  28216. monthPickerValues() {
  28217. let monthPickerValues = [];
  28218. for (let i = 0; i <= 11; i++) {
  28219. monthPickerValues.push(this.$primevue.config.locale.monthNamesShort[i]);
  28220. }
  28221. return monthPickerValues;
  28222. },
  28223. yearPickerValues() {
  28224. let yearPickerValues = [];
  28225. let base = this.currentYear - (this.currentYear % 10);
  28226. for (let i = 0; i < 10; i++) {
  28227. yearPickerValues.push(base + i);
  28228. }
  28229. return yearPickerValues;
  28230. },
  28231. formattedCurrentHour() {
  28232. return this.currentHour < 10 ? '0' + this.currentHour : this.currentHour;
  28233. },
  28234. formattedCurrentMinute() {
  28235. return this.currentMinute < 10 ? '0' + this.currentMinute : this.currentMinute;
  28236. },
  28237. formattedCurrentSecond() {
  28238. return this.currentSecond < 10 ? '0' + this.currentSecond : this.currentSecond;
  28239. },
  28240. todayLabel() {
  28241. return this.$primevue.config.locale.today;
  28242. },
  28243. clearLabel() {
  28244. return this.$primevue.config.locale.clear;
  28245. },
  28246. weekHeaderLabel() {
  28247. return this.$primevue.config.locale.weekHeader;
  28248. },
  28249. monthNames() {
  28250. return this.$primevue.config.locale.monthNames;
  28251. },
  28252. appendDisabled() {
  28253. return this.appendTo === 'self' || this.inline;
  28254. },
  28255. appendTarget() {
  28256. return this.appendDisabled ? null : this.appendTo;
  28257. },
  28258. attributeSelector() {
  28259. return (0,primevue_utils__WEBPACK_IMPORTED_MODULE_0__.UniqueComponentId)();
  28260. },
  28261. switchViewButtonDisabled() {
  28262. return this.numberOfMonths > 1 || this.$attrs.disabled;
  28263. }
  28264. },
  28265. components: {
  28266. 'CalendarButton': primevue_button__WEBPACK_IMPORTED_MODULE_2__["default"]
  28267. },
  28268. directives: {
  28269. 'ripple': primevue_ripple__WEBPACK_IMPORTED_MODULE_3__["default"]
  28270. }
  28271. };
  28272. const _hoisted_1 = { class: "p-datepicker-group-container" };
  28273. const _hoisted_2 = { class: "p-datepicker-header" };
  28274. const _hoisted_3 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", { class: "p-datepicker-prev-icon pi pi-chevron-left" }, null, -1);
  28275. const _hoisted_4 = { class: "p-datepicker-title" };
  28276. const _hoisted_5 = {
  28277. key: 2,
  28278. class: "p-datepicker-decade"
  28279. };
  28280. const _hoisted_6 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", { class: "p-datepicker-next-icon pi pi-chevron-right" }, null, -1);
  28281. const _hoisted_7 = {
  28282. key: 0,
  28283. class: "p-datepicker-calendar-container"
  28284. };
  28285. const _hoisted_8 = { class: "p-datepicker-calendar" };
  28286. const _hoisted_9 = {
  28287. key: 0,
  28288. scope: "col",
  28289. class: "p-datepicker-weekheader p-disabled"
  28290. };
  28291. const _hoisted_10 = {
  28292. key: 0,
  28293. class: "p-datepicker-weeknumber"
  28294. };
  28295. const _hoisted_11 = { class: "p-disabled" };
  28296. const _hoisted_12 = {
  28297. key: 0,
  28298. style: {"visibility":"hidden"}
  28299. };
  28300. const _hoisted_13 = {
  28301. key: 0,
  28302. class: "p-monthpicker"
  28303. };
  28304. const _hoisted_14 = {
  28305. key: 1,
  28306. class: "p-yearpicker"
  28307. };
  28308. const _hoisted_15 = {
  28309. key: 1,
  28310. class: "p-timepicker"
  28311. };
  28312. const _hoisted_16 = { class: "p-hour-picker" };
  28313. const _hoisted_17 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", { class: "pi pi-chevron-up" }, null, -1);
  28314. const _hoisted_18 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", { class: "pi pi-chevron-down" }, null, -1);
  28315. const _hoisted_19 = { class: "p-separator" };
  28316. const _hoisted_20 = { class: "p-minute-picker" };
  28317. const _hoisted_21 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", { class: "pi pi-chevron-up" }, null, -1);
  28318. const _hoisted_22 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", { class: "pi pi-chevron-down" }, null, -1);
  28319. const _hoisted_23 = {
  28320. key: 0,
  28321. class: "p-separator"
  28322. };
  28323. const _hoisted_24 = {
  28324. key: 1,
  28325. class: "p-second-picker"
  28326. };
  28327. const _hoisted_25 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", { class: "pi pi-chevron-up" }, null, -1);
  28328. const _hoisted_26 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", { class: "pi pi-chevron-down" }, null, -1);
  28329. const _hoisted_27 = {
  28330. key: 2,
  28331. class: "p-separator"
  28332. };
  28333. const _hoisted_28 = {
  28334. key: 3,
  28335. class: "p-ampm-picker"
  28336. };
  28337. const _hoisted_29 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", { class: "pi pi-chevron-up" }, null, -1);
  28338. const _hoisted_30 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", { class: "pi pi-chevron-down" }, null, -1);
  28339. const _hoisted_31 = {
  28340. key: 2,
  28341. class: "p-datepicker-buttonbar"
  28342. };
  28343. function render(_ctx, _cache, $props, $setup, $data, $options) {
  28344. const _component_CalendarButton = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("CalendarButton");
  28345. const _directive_ripple = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDirective)("ripple");
  28346. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("span", {
  28347. ref: "container",
  28348. class: $options.containerClass,
  28349. style: $props.style
  28350. }, [
  28351. (!$props.inline)
  28352. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("input", (0,vue__WEBPACK_IMPORTED_MODULE_4__.mergeProps)({
  28353. key: 0,
  28354. ref: $options.inputRef,
  28355. type: "text",
  28356. class: ['p-inputtext p-component', $props.inputClass],
  28357. style: $props.inputStyle,
  28358. onInput: _cache[1] || (_cache[1] = (...args) => ($options.onInput && $options.onInput(...args)))
  28359. }, _ctx.$attrs, {
  28360. onFocus: _cache[2] || (_cache[2] = (...args) => ($options.onFocus && $options.onFocus(...args))),
  28361. onBlur: _cache[3] || (_cache[3] = (...args) => ($options.onBlur && $options.onBlur(...args))),
  28362. onKeydown: _cache[4] || (_cache[4] = (...args) => ($options.onKeyDown && $options.onKeyDown(...args))),
  28363. readonly: !$props.manualInput,
  28364. inputmode: "none"
  28365. }), null, 16, ["readonly"]))
  28366. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  28367. ($props.showIcon)
  28368. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_CalendarButton, {
  28369. key: 1,
  28370. icon: $props.icon,
  28371. tabindex: "-1",
  28372. class: "p-datepicker-trigger",
  28373. disabled: _ctx.$attrs.disabled,
  28374. onClick: $options.onButtonClick,
  28375. type: "button",
  28376. "aria-label": $options.inputFieldValue
  28377. }, null, 8, ["icon", "disabled", "onClick", "aria-label"]))
  28378. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  28379. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Teleport, {
  28380. to: $options.appendTarget,
  28381. disabled: $options.appendDisabled
  28382. }, [
  28383. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)(vue__WEBPACK_IMPORTED_MODULE_4__.Transition, {
  28384. name: "p-connected-overlay",
  28385. onEnter: _cache[67] || (_cache[67] = $event => ($options.onOverlayEnter($event))),
  28386. onAfterEnter: $options.onOverlayEnterComplete,
  28387. onAfterLeave: $options.onOverlayAfterLeave,
  28388. onLeave: $options.onOverlayLeave
  28389. }, {
  28390. default: (0,vue__WEBPACK_IMPORTED_MODULE_4__.withCtx)(() => [
  28391. ($props.inline ? true : $data.overlayVisible)
  28392. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", {
  28393. key: 0,
  28394. ref: $options.overlayRef,
  28395. class: $options.panelStyleClass,
  28396. role: $props.inline ? null : 'dialog',
  28397. onClick: _cache[65] || (_cache[65] = (...args) => ($options.onOverlayClick && $options.onOverlayClick(...args))),
  28398. onMouseup: _cache[66] || (_cache[66] = (...args) => ($options.onOverlayMouseUp && $options.onOverlayMouseUp(...args)))
  28399. }, [
  28400. (!$props.timeOnly)
  28401. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, { key: 0 }, [
  28402. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("div", _hoisted_1, [
  28403. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)($options.months, (month, groupIndex) => {
  28404. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", {
  28405. class: "p-datepicker-group",
  28406. key: month.month + month.year
  28407. }, [
  28408. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("div", _hoisted_2, [
  28409. (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderSlot)(_ctx.$slots, "header"),
  28410. (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("button", {
  28411. class: "p-datepicker-prev p-link",
  28412. onClick: _cache[5] || (_cache[5] = (...args) => ($options.onPrevButtonClick && $options.onPrevButtonClick(...args))),
  28413. type: "button",
  28414. onKeydown: _cache[6] || (_cache[6] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
  28415. disabled: _ctx.$attrs.disabled
  28416. }, [
  28417. _hoisted_3
  28418. ], 40, ["disabled"]), [
  28419. [vue__WEBPACK_IMPORTED_MODULE_4__.vShow, groupIndex === 0],
  28420. [_directive_ripple]
  28421. ]),
  28422. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("div", _hoisted_4, [
  28423. ($data.currentView === 'date')
  28424. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("button", {
  28425. key: 0,
  28426. type: "button",
  28427. onClick: _cache[7] || (_cache[7] = (...args) => ($options.switchToMonthView && $options.switchToMonthView(...args))),
  28428. onKeydown: _cache[8] || (_cache[8] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
  28429. class: "p-datepicker-month p-link",
  28430. disabled: $options.switchViewButtonDisabled
  28431. }, (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($options.getMonthName(month.month)), 41, ["disabled"]))
  28432. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  28433. ($data.currentView !== 'year')
  28434. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("button", {
  28435. key: 1,
  28436. type: "button",
  28437. onClick: _cache[9] || (_cache[9] = (...args) => ($options.switchToYearView && $options.switchToYearView(...args))),
  28438. onKeydown: _cache[10] || (_cache[10] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
  28439. class: "p-datepicker-year p-link",
  28440. disabled: $options.switchViewButtonDisabled
  28441. }, (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($options.getYear(month)), 41, ["disabled"]))
  28442. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  28443. ($data.currentView === 'year')
  28444. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("span", _hoisted_5, [
  28445. (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderSlot)(_ctx.$slots, "decade", { years: $options.yearPickerValues }, () => [
  28446. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($options.yearPickerValues[0]) + " - " + (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($options.yearPickerValues[$options.yearPickerValues.length - 1]), 1)
  28447. ])
  28448. ]))
  28449. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  28450. ]),
  28451. (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("button", {
  28452. class: "p-datepicker-next p-link",
  28453. onClick: _cache[11] || (_cache[11] = (...args) => ($options.onNextButtonClick && $options.onNextButtonClick(...args))),
  28454. type: "button",
  28455. onKeydown: _cache[12] || (_cache[12] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
  28456. disabled: _ctx.$attrs.disabled
  28457. }, [
  28458. _hoisted_6
  28459. ], 40, ["disabled"]), [
  28460. [vue__WEBPACK_IMPORTED_MODULE_4__.vShow, $props.numberOfMonths === 1 ? true : (groupIndex === $props.numberOfMonths - 1)],
  28461. [_directive_ripple]
  28462. ])
  28463. ]),
  28464. ($data.currentView ==='date')
  28465. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", _hoisted_7, [
  28466. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("table", _hoisted_8, [
  28467. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("thead", null, [
  28468. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("tr", null, [
  28469. ($props.showWeek)
  28470. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("th", _hoisted_9, [
  28471. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($options.weekHeaderLabel), 1)
  28472. ]))
  28473. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  28474. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)($options.weekDays, (weekDay) => {
  28475. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("th", {
  28476. scope: "col",
  28477. key: weekDay
  28478. }, [
  28479. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)(weekDay), 1)
  28480. ]))
  28481. }), 128))
  28482. ])
  28483. ]),
  28484. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("tbody", null, [
  28485. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)(month.dates, (week, i) => {
  28486. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("tr", {
  28487. key: week[0].day + '' + week[0].month
  28488. }, [
  28489. ($props.showWeek)
  28490. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("td", _hoisted_10, [
  28491. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", _hoisted_11, [
  28492. (month.weekNumbers[i] < 10)
  28493. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("span", _hoisted_12, "0"))
  28494. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  28495. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createTextVNode)(" " + (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)(month.weekNumbers[i]), 1)
  28496. ])
  28497. ]))
  28498. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  28499. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)(week, (date) => {
  28500. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("td", {
  28501. key: date.day + '' + date.month,
  28502. class: {'p-datepicker-other-month': date.otherMonth, 'p-datepicker-today': date.today}
  28503. }, [
  28504. (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", {
  28505. class: {'p-highlight': $options.isSelected(date), 'p-disabled': !date.selectable},
  28506. onClick: $event => ($options.onDateSelect($event, date)),
  28507. draggable: "false",
  28508. onKeydown: $event => ($options.onDateCellKeydown($event,date,groupIndex))
  28509. }, [
  28510. (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderSlot)(_ctx.$slots, "date", { date: date }, () => [
  28511. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)(date.day), 1)
  28512. ])
  28513. ], 42, ["onClick", "onKeydown"]), [
  28514. [_directive_ripple]
  28515. ])
  28516. ], 2))
  28517. }), 128))
  28518. ]))
  28519. }), 128))
  28520. ])
  28521. ])
  28522. ]))
  28523. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  28524. ]))
  28525. }), 128))
  28526. ]),
  28527. ($data.currentView === 'month')
  28528. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", _hoisted_13, [
  28529. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)($options.monthPickerValues, (m, i) => {
  28530. return (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("span", {
  28531. key: m,
  28532. onClick: $event => ($options.onMonthSelect($event, i)),
  28533. onKeydown: $event => ($options.onMonthCellKeydown($event,i)),
  28534. class: ["p-monthpicker-month", {'p-highlight': $options.isMonthSelected(i)}]
  28535. }, [
  28536. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)(m), 1)
  28537. ], 42, ["onClick", "onKeydown"])), [
  28538. [_directive_ripple]
  28539. ])
  28540. }), 128))
  28541. ]))
  28542. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  28543. ($data.currentView === 'year')
  28544. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", _hoisted_14, [
  28545. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)($options.yearPickerValues, (y) => {
  28546. return (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("span", {
  28547. key: y,
  28548. onClick: $event => ($options.onYearSelect($event, y)),
  28549. onKeydown: $event => ($options.onYearCellKeydown($event,y)),
  28550. class: ["p-yearpicker-year", {'p-highlight': $options.isYearSelected(y)}]
  28551. }, [
  28552. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)(y), 1)
  28553. ], 42, ["onClick", "onKeydown"])), [
  28554. [_directive_ripple]
  28555. ])
  28556. }), 128))
  28557. ]))
  28558. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  28559. ], 64))
  28560. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  28561. (($props.showTime||$props.timeOnly) && $data.currentView === 'date')
  28562. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", _hoisted_15, [
  28563. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("div", _hoisted_16, [
  28564. (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("button", {
  28565. class: "p-link",
  28566. onMousedown: _cache[13] || (_cache[13] = $event => ($options.onTimePickerElementMouseDown($event, 0, 1))),
  28567. onMouseup: _cache[14] || (_cache[14] = $event => ($options.onTimePickerElementMouseUp($event))),
  28568. onKeydown: [
  28569. _cache[15] || (_cache[15] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
  28570. _cache[17] || (_cache[17] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseDown($event, 0, 1)), ["enter"])),
  28571. _cache[18] || (_cache[18] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseDown($event, 0, 1)), ["space"]))
  28572. ],
  28573. onMouseleave: _cache[16] || (_cache[16] = $event => ($options.onTimePickerElementMouseLeave())),
  28574. onKeyup: [
  28575. _cache[19] || (_cache[19] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseUp($event)), ["enter"])),
  28576. _cache[20] || (_cache[20] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
  28577. ],
  28578. type: "button"
  28579. }, [
  28580. _hoisted_17
  28581. ], 544), [
  28582. [_directive_ripple]
  28583. ]),
  28584. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($options.formattedCurrentHour), 1),
  28585. (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("button", {
  28586. class: "p-link",
  28587. onMousedown: _cache[21] || (_cache[21] = $event => ($options.onTimePickerElementMouseDown($event, 0, -1))),
  28588. onMouseup: _cache[22] || (_cache[22] = $event => ($options.onTimePickerElementMouseUp($event))),
  28589. onKeydown: [
  28590. _cache[23] || (_cache[23] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
  28591. _cache[25] || (_cache[25] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseDown($event, 0, -1)), ["enter"])),
  28592. _cache[26] || (_cache[26] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseDown($event, 0, -1)), ["space"]))
  28593. ],
  28594. onMouseleave: _cache[24] || (_cache[24] = $event => ($options.onTimePickerElementMouseLeave())),
  28595. onKeyup: [
  28596. _cache[27] || (_cache[27] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseUp($event)), ["enter"])),
  28597. _cache[28] || (_cache[28] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
  28598. ],
  28599. type: "button"
  28600. }, [
  28601. _hoisted_18
  28602. ], 544), [
  28603. [_directive_ripple]
  28604. ])
  28605. ]),
  28606. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("div", _hoisted_19, [
  28607. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($props.timeSeparator), 1)
  28608. ]),
  28609. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("div", _hoisted_20, [
  28610. (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("button", {
  28611. class: "p-link",
  28612. onMousedown: _cache[29] || (_cache[29] = $event => ($options.onTimePickerElementMouseDown($event, 1, 1))),
  28613. onMouseup: _cache[30] || (_cache[30] = $event => ($options.onTimePickerElementMouseUp($event))),
  28614. onKeydown: [
  28615. _cache[31] || (_cache[31] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
  28616. _cache[33] || (_cache[33] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseDown($event, 1, 1)), ["enter"])),
  28617. _cache[34] || (_cache[34] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseDown($event, 1, 1)), ["space"]))
  28618. ],
  28619. disabled: _ctx.$attrs.disabled,
  28620. onMouseleave: _cache[32] || (_cache[32] = $event => ($options.onTimePickerElementMouseLeave())),
  28621. onKeyup: [
  28622. _cache[35] || (_cache[35] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseUp($event)), ["enter"])),
  28623. _cache[36] || (_cache[36] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
  28624. ],
  28625. type: "button"
  28626. }, [
  28627. _hoisted_21
  28628. ], 40, ["disabled"]), [
  28629. [_directive_ripple]
  28630. ]),
  28631. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($options.formattedCurrentMinute), 1),
  28632. (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("button", {
  28633. class: "p-link",
  28634. onMousedown: _cache[37] || (_cache[37] = $event => ($options.onTimePickerElementMouseDown($event, 1, -1))),
  28635. onMouseup: _cache[38] || (_cache[38] = $event => ($options.onTimePickerElementMouseUp($event))),
  28636. onKeydown: [
  28637. _cache[39] || (_cache[39] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
  28638. _cache[41] || (_cache[41] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseDown($event, 1, -1)), ["enter"])),
  28639. _cache[42] || (_cache[42] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseDown($event, 1, -1)), ["space"]))
  28640. ],
  28641. disabled: _ctx.$attrs.disabled,
  28642. onMouseleave: _cache[40] || (_cache[40] = $event => ($options.onTimePickerElementMouseLeave())),
  28643. onKeyup: [
  28644. _cache[43] || (_cache[43] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseUp($event)), ["enter"])),
  28645. _cache[44] || (_cache[44] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
  28646. ],
  28647. type: "button"
  28648. }, [
  28649. _hoisted_22
  28650. ], 40, ["disabled"]), [
  28651. [_directive_ripple]
  28652. ])
  28653. ]),
  28654. ($props.showSeconds)
  28655. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", _hoisted_23, [
  28656. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($props.timeSeparator), 1)
  28657. ]))
  28658. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  28659. ($props.showSeconds)
  28660. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", _hoisted_24, [
  28661. (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("button", {
  28662. class: "p-link",
  28663. onMousedown: _cache[45] || (_cache[45] = $event => ($options.onTimePickerElementMouseDown($event, 2, 1))),
  28664. onMouseup: _cache[46] || (_cache[46] = $event => ($options.onTimePickerElementMouseUp($event))),
  28665. onKeydown: [
  28666. _cache[47] || (_cache[47] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
  28667. _cache[49] || (_cache[49] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseDown($event, 2, 1)), ["enter"])),
  28668. _cache[50] || (_cache[50] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseDown($event, 2, 1)), ["space"]))
  28669. ],
  28670. disabled: _ctx.$attrs.disabled,
  28671. onMouseleave: _cache[48] || (_cache[48] = $event => ($options.onTimePickerElementMouseLeave())),
  28672. onKeyup: [
  28673. _cache[51] || (_cache[51] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseUp($event)), ["enter"])),
  28674. _cache[52] || (_cache[52] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
  28675. ],
  28676. type: "button"
  28677. }, [
  28678. _hoisted_25
  28679. ], 40, ["disabled"]), [
  28680. [_directive_ripple]
  28681. ]),
  28682. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($options.formattedCurrentSecond), 1),
  28683. (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("button", {
  28684. class: "p-link",
  28685. onMousedown: _cache[53] || (_cache[53] = $event => ($options.onTimePickerElementMouseDown($event, 2, -1))),
  28686. onMouseup: _cache[54] || (_cache[54] = $event => ($options.onTimePickerElementMouseUp($event))),
  28687. onKeydown: [
  28688. _cache[55] || (_cache[55] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
  28689. _cache[57] || (_cache[57] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseDown($event, 2, -1)), ["enter"])),
  28690. _cache[58] || (_cache[58] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseDown($event, 2, -1)), ["space"]))
  28691. ],
  28692. disabled: _ctx.$attrs.disabled,
  28693. onMouseleave: _cache[56] || (_cache[56] = $event => ($options.onTimePickerElementMouseLeave())),
  28694. onKeyup: [
  28695. _cache[59] || (_cache[59] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseUp($event)), ["enter"])),
  28696. _cache[60] || (_cache[60] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
  28697. ],
  28698. type: "button"
  28699. }, [
  28700. _hoisted_26
  28701. ], 40, ["disabled"]), [
  28702. [_directive_ripple]
  28703. ])
  28704. ]))
  28705. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  28706. ($props.hourFormat=='12')
  28707. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", _hoisted_27, [
  28708. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($props.timeSeparator), 1)
  28709. ]))
  28710. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  28711. ($props.hourFormat=='12')
  28712. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", _hoisted_28, [
  28713. (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("button", {
  28714. class: "p-link",
  28715. onClick: _cache[61] || (_cache[61] = $event => ($options.toggleAMPM($event))),
  28716. type: "button",
  28717. disabled: _ctx.$attrs.disabled
  28718. }, [
  28719. _hoisted_29
  28720. ], 8, ["disabled"]), [
  28721. [_directive_ripple]
  28722. ]),
  28723. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($data.pm ? 'PM' : 'AM'), 1),
  28724. (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("button", {
  28725. class: "p-link",
  28726. onClick: _cache[62] || (_cache[62] = $event => ($options.toggleAMPM($event))),
  28727. type: "button",
  28728. disabled: _ctx.$attrs.disabled
  28729. }, [
  28730. _hoisted_30
  28731. ], 8, ["disabled"]), [
  28732. [_directive_ripple]
  28733. ])
  28734. ]))
  28735. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  28736. ]))
  28737. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  28738. ($props.showButtonBar)
  28739. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", _hoisted_31, [
  28740. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)(_component_CalendarButton, {
  28741. type: "button",
  28742. label: $options.todayLabel,
  28743. onClick: _cache[63] || (_cache[63] = $event => ($options.onTodayButtonClick($event))),
  28744. class: "p-button-text",
  28745. onKeydown: $options.onContainerButtonKeydown
  28746. }, null, 8, ["label", "onKeydown"]),
  28747. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)(_component_CalendarButton, {
  28748. type: "button",
  28749. label: $options.clearLabel,
  28750. onClick: _cache[64] || (_cache[64] = $event => ($options.onClearButtonClick($event))),
  28751. class: "p-button-text",
  28752. onKeydown: $options.onContainerButtonKeydown
  28753. }, null, 8, ["label", "onKeydown"])
  28754. ]))
  28755. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  28756. (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderSlot)(_ctx.$slots, "footer")
  28757. ], 42, ["role"]))
  28758. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  28759. ]),
  28760. _: 3
  28761. }, 8, ["onAfterEnter", "onAfterLeave", "onLeave"])
  28762. ], 8, ["to", "disabled"]))
  28763. ], 6))
  28764. }
  28765. function styleInject(css, ref) {
  28766. if ( ref === void 0 ) ref = {};
  28767. var insertAt = ref.insertAt;
  28768. if (!css || typeof document === 'undefined') { return; }
  28769. var head = document.head || document.getElementsByTagName('head')[0];
  28770. var style = document.createElement('style');
  28771. style.type = 'text/css';
  28772. if (insertAt === 'top') {
  28773. if (head.firstChild) {
  28774. head.insertBefore(style, head.firstChild);
  28775. } else {
  28776. head.appendChild(style);
  28777. }
  28778. } else {
  28779. head.appendChild(style);
  28780. }
  28781. if (style.styleSheet) {
  28782. style.styleSheet.cssText = css;
  28783. } else {
  28784. style.appendChild(document.createTextNode(css));
  28785. }
  28786. }
  28787. var css_248z = "\n.p-calendar {\n position: relative;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n max-width: 100%;\n}\n.p-calendar .p-inputtext {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n width: 1%;\n}\n.p-calendar-w-btn .p-inputtext {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.p-calendar-w-btn .p-datepicker-trigger {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n/* Fluid */\n.p-fluid .p-calendar {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n}\n.p-fluid .p-calendar .p-inputtext {\n width: 1%;\n}\n\n/* Datepicker */\n.p-calendar .p-datepicker {\n min-width: 100%;\n}\n.p-datepicker {\n\twidth: auto;\n position: absolute;\n top: 0;\n left: 0;\n}\n.p-datepicker-inline {\n display: inline-block;\n position: static;\n overflow-x: auto;\n}\n\n/* Header */\n.p-datepicker-header {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n.p-datepicker-header .p-datepicker-title {\n margin: 0 auto;\n}\n.p-datepicker-prev,\n.p-datepicker-next {\n cursor: pointer;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n overflow: hidden;\n position: relative;\n}\n\n/* Multiple Month DatePicker */\n.p-datepicker-multiple-month .p-datepicker-group-container {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n}\n.p-datepicker-multiple-month .p-datepicker-group-container .p-datepicker-group {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n}\n\n/* DatePicker Table */\n.p-datepicker table {\n\twidth: 100%;\n\tborder-collapse: collapse;\n}\n.p-datepicker td > span {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n cursor: pointer;\n margin: 0 auto;\n overflow: hidden;\n position: relative;\n}\n\n/* Month Picker */\n.p-monthpicker-month {\n width: 33.3%;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n cursor: pointer;\n overflow: hidden;\n position: relative;\n}\n\n/* Year Picker */\n.p-yearpicker-year {\n width: 50%;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n cursor: pointer;\n overflow: hidden;\n position: relative;\n}\n\n/* Button Bar */\n.p-datepicker-buttonbar {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n\n/* Time Picker */\n.p-timepicker {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.p-timepicker button {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n cursor: pointer;\n overflow: hidden;\n position: relative;\n}\n.p-timepicker > div {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n\n/* Touch UI */\n.p-datepicker-touch-ui,\n.p-calendar .p-datepicker-touch-ui {\n position: fixed;\n top: 50%;\n left: 50%;\n min-width: 80vw;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n}\n";
  28788. styleInject(css_248z);
  28789. script.render = render;
  28790. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  28791. /***/ }),
  28792. /***/ "./node_modules/primevue/card/card.esm.js":
  28793. /*!************************************************!*\
  28794. !*** ./node_modules/primevue/card/card.esm.js ***!
  28795. \************************************************/
  28796. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  28797. "use strict";
  28798. __webpack_require__.r(__webpack_exports__);
  28799. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  28800. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  28801. /* harmony export */ });
  28802. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  28803. var script = {
  28804. name: 'Card'
  28805. };
  28806. const _hoisted_1 = { class: "p-card p-component" };
  28807. const _hoisted_2 = {
  28808. key: 0,
  28809. class: "p-card-header"
  28810. };
  28811. const _hoisted_3 = { class: "p-card-body" };
  28812. const _hoisted_4 = {
  28813. key: 0,
  28814. class: "p-card-title"
  28815. };
  28816. const _hoisted_5 = {
  28817. key: 1,
  28818. class: "p-card-subtitle"
  28819. };
  28820. const _hoisted_6 = { class: "p-card-content" };
  28821. const _hoisted_7 = {
  28822. key: 2,
  28823. class: "p-card-footer"
  28824. };
  28825. function render(_ctx, _cache, $props, $setup, $data, $options) {
  28826. return ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("div", _hoisted_1, [
  28827. (_ctx.$slots.header)
  28828. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("div", _hoisted_2, [
  28829. (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, "header")
  28830. ]))
  28831. : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)("", true),
  28832. (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)("div", _hoisted_3, [
  28833. (_ctx.$slots.title)
  28834. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("div", _hoisted_4, [
  28835. (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, "title")
  28836. ]))
  28837. : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)("", true),
  28838. (_ctx.$slots.subtitle)
  28839. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("div", _hoisted_5, [
  28840. (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, "subtitle")
  28841. ]))
  28842. : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)("", true),
  28843. (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)("div", _hoisted_6, [
  28844. (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, "content")
  28845. ]),
  28846. (_ctx.$slots.footer)
  28847. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("div", _hoisted_7, [
  28848. (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, "footer")
  28849. ]))
  28850. : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)("", true)
  28851. ])
  28852. ]))
  28853. }
  28854. function styleInject(css, ref) {
  28855. if ( ref === void 0 ) ref = {};
  28856. var insertAt = ref.insertAt;
  28857. if (!css || typeof document === 'undefined') { return; }
  28858. var head = document.head || document.getElementsByTagName('head')[0];
  28859. var style = document.createElement('style');
  28860. style.type = 'text/css';
  28861. if (insertAt === 'top') {
  28862. if (head.firstChild) {
  28863. head.insertBefore(style, head.firstChild);
  28864. } else {
  28865. head.appendChild(style);
  28866. }
  28867. } else {
  28868. head.appendChild(style);
  28869. }
  28870. if (style.styleSheet) {
  28871. style.styleSheet.cssText = css;
  28872. } else {
  28873. style.appendChild(document.createTextNode(css));
  28874. }
  28875. }
  28876. var css_248z = "\n.p-card-header img {\n width: 100%;\n}\n";
  28877. styleInject(css_248z);
  28878. script.render = render;
  28879. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  28880. /***/ }),
  28881. /***/ "./node_modules/primevue/chart/chart.esm.js":
  28882. /*!**************************************************!*\
  28883. !*** ./node_modules/primevue/chart/chart.esm.js ***!
  28884. \**************************************************/
  28885. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  28886. "use strict";
  28887. __webpack_require__.r(__webpack_exports__);
  28888. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  28889. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  28890. /* harmony export */ });
  28891. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  28892. var script = {
  28893. name: 'Chart',
  28894. emits: ['select', 'loaded'],
  28895. props: {
  28896. type: String,
  28897. data: null,
  28898. options: null,
  28899. plugins: null,
  28900. width: {
  28901. type: Number,
  28902. default: 300
  28903. },
  28904. height: {
  28905. type: Number,
  28906. default: 150
  28907. },
  28908. },
  28909. chart: null,
  28910. mounted() {
  28911. this.initChart();
  28912. },
  28913. beforeUnmount() {
  28914. if (this.chart) {
  28915. this.chart.destroy();
  28916. this.chart = null;
  28917. }
  28918. },
  28919. watch: {
  28920. /*
  28921. * Use deep watch to enable triggering watch for changes within structure
  28922. * otherwise the entire data object needs to be replaced to trigger watch
  28923. */
  28924. data: {
  28925. handler() {
  28926. this.reinit();
  28927. },
  28928. deep: true
  28929. },
  28930. type() {
  28931. this.reinit();
  28932. },
  28933. options() {
  28934. this.reinit();
  28935. }
  28936. },
  28937. methods: {
  28938. initChart() {
  28939. __webpack_require__.e(/*! import() */ "node_modules_chart_js_auto_auto_esm_js").then(__webpack_require__.bind(__webpack_require__, /*! chart.js/auto */ "./node_modules/chart.js/auto/auto.esm.js")).then((module) => {
  28940. if (this.chart) {
  28941. this.chart.destroy();
  28942. this.chart = null;
  28943. }
  28944. if (module && module.default) {
  28945. this.chart = new module.default(this.$refs.canvas, {
  28946. type: this.type,
  28947. data: this.data,
  28948. options: this.options,
  28949. plugins: this.plugins
  28950. });
  28951. }
  28952. this.$emit('loaded', this.chart);
  28953. });
  28954. },
  28955. getCanvas() {
  28956. return this.$canvas;
  28957. },
  28958. getChart() {
  28959. return this.chart;
  28960. },
  28961. getBase64Image() {
  28962. return this.chart.toBase64Image();
  28963. },
  28964. refresh() {
  28965. if (this.chart) {
  28966. this.chart.update();
  28967. }
  28968. },
  28969. reinit() {
  28970. this.initChart();
  28971. },
  28972. onCanvasClick(event) {
  28973. if (this.chart) {
  28974. const element = this.chart.getElementsAtEventForMode(event, 'nearest', { intersect: true }, false);
  28975. const dataset = this.chart.getElementsAtEventForMode(event, 'dataset', { intersect: true }, false);
  28976. if (element && element[0] && dataset) {
  28977. this.$emit('select', {originalEvent: event, element: element[0], dataset: dataset});
  28978. }
  28979. }
  28980. },
  28981. generateLegend() {
  28982. if (this.chart) {
  28983. return this.chart.generateLegend();
  28984. }
  28985. }
  28986. }
  28987. };
  28988. const _hoisted_1 = { class: "p-chart" };
  28989. function render(_ctx, _cache, $props, $setup, $data, $options) {
  28990. return ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("div", _hoisted_1, [
  28991. (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)("canvas", {
  28992. ref: "canvas",
  28993. width: $props.width,
  28994. height: $props.height,
  28995. onClick: _cache[1] || (_cache[1] = $event => ($options.onCanvasClick($event)))
  28996. }, null, 8, ["width", "height"])
  28997. ]))
  28998. }
  28999. function styleInject(css, ref) {
  29000. if ( ref === void 0 ) ref = {};
  29001. var insertAt = ref.insertAt;
  29002. if (!css || typeof document === 'undefined') { return; }
  29003. var head = document.head || document.getElementsByTagName('head')[0];
  29004. var style = document.createElement('style');
  29005. style.type = 'text/css';
  29006. if (insertAt === 'top') {
  29007. if (head.firstChild) {
  29008. head.insertBefore(style, head.firstChild);
  29009. } else {
  29010. head.appendChild(style);
  29011. }
  29012. } else {
  29013. head.appendChild(style);
  29014. }
  29015. if (style.styleSheet) {
  29016. style.styleSheet.cssText = css;
  29017. } else {
  29018. style.appendChild(document.createTextNode(css));
  29019. }
  29020. }
  29021. var css_248z = "\n.p-chart {\n position: relative;\n}\n";
  29022. styleInject(css_248z);
  29023. script.render = render;
  29024. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  29025. /***/ }),
  29026. /***/ "./node_modules/primevue/column/column.esm.js":
  29027. /*!****************************************************!*\
  29028. !*** ./node_modules/primevue/column/column.esm.js ***!
  29029. \****************************************************/
  29030. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  29031. "use strict";
  29032. __webpack_require__.r(__webpack_exports__);
  29033. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  29034. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  29035. /* harmony export */ });
  29036. var script = {
  29037. name: 'Column',
  29038. props: {
  29039. columnKey: {
  29040. type: null,
  29041. default: null
  29042. },
  29043. field: {
  29044. type: [String, Function],
  29045. default: null
  29046. },
  29047. sortField: {
  29048. type: [String, Function],
  29049. default: null
  29050. },
  29051. filterField: {
  29052. type: [String, Function],
  29053. default: null
  29054. },
  29055. dataType: {
  29056. type: String,
  29057. default: 'text'
  29058. },
  29059. sortable: {
  29060. type: Boolean,
  29061. default: false
  29062. },
  29063. header: {
  29064. type: null,
  29065. default: null
  29066. },
  29067. footer: {
  29068. type: null,
  29069. default: null
  29070. },
  29071. style: {
  29072. type: null,
  29073. default: null
  29074. },
  29075. class: {
  29076. type: String,
  29077. default: null
  29078. },
  29079. headerStyle: {
  29080. type: null,
  29081. default: null
  29082. },
  29083. headerClass: {
  29084. type: String,
  29085. default: null
  29086. },
  29087. bodyStyle: {
  29088. type: null,
  29089. default: null
  29090. },
  29091. bodyClass: {
  29092. type: String,
  29093. default: null
  29094. },
  29095. footerStyle: {
  29096. type: null,
  29097. default: null
  29098. },
  29099. footerClass: {
  29100. type: String,
  29101. default: null
  29102. },
  29103. showFilterMenu: {
  29104. type: Boolean,
  29105. default: true
  29106. },
  29107. showFilterOperator: {
  29108. type: Boolean,
  29109. default: true
  29110. },
  29111. showClearButton: {
  29112. type: Boolean,
  29113. default: true
  29114. },
  29115. showApplyButton: {
  29116. type: Boolean,
  29117. default: true
  29118. },
  29119. showFilterMatchModes: {
  29120. type: Boolean,
  29121. default: true
  29122. },
  29123. showAddButton: {
  29124. type: Boolean,
  29125. default: true
  29126. },
  29127. filterMatchModeOptions: {
  29128. type: Array,
  29129. default: null
  29130. },
  29131. maxConstraints: {
  29132. type: Number,
  29133. default: 2
  29134. },
  29135. excludeGlobalFilter: {
  29136. type: Boolean,
  29137. default: false
  29138. },
  29139. filterHeaderClass: {
  29140. type: String,
  29141. default: null
  29142. },
  29143. filterHeaderStyle: {
  29144. type: null,
  29145. default: null
  29146. },
  29147. filterMenuClass: {
  29148. type: String,
  29149. default: null
  29150. },
  29151. filterMenuStyle: {
  29152. type: null,
  29153. default: null
  29154. },
  29155. selectionMode: {
  29156. type: String,
  29157. default: null
  29158. },
  29159. expander: {
  29160. type: Boolean,
  29161. default: false
  29162. },
  29163. colspan: {
  29164. type: Number,
  29165. default: null
  29166. },
  29167. rowspan: {
  29168. type: Number,
  29169. default: null
  29170. },
  29171. rowReorder: {
  29172. type: Boolean,
  29173. default: false
  29174. },
  29175. rowReorderIcon: {
  29176. type: String,
  29177. default: 'pi pi-bars'
  29178. },
  29179. reorderableColumn: {
  29180. type: Boolean,
  29181. default: true
  29182. },
  29183. rowEditor: {
  29184. type: Boolean,
  29185. default: false
  29186. },
  29187. frozen: {
  29188. type: Boolean,
  29189. default: false
  29190. },
  29191. alignFrozen: {
  29192. type: String,
  29193. default: 'left'
  29194. },
  29195. exportable: {
  29196. type: Boolean,
  29197. default: true
  29198. },
  29199. exportHeader: {
  29200. type: String,
  29201. default: null
  29202. },
  29203. filterMatchMode: {
  29204. type: String,
  29205. default: null
  29206. },
  29207. hidden: {
  29208. type: Boolean,
  29209. default: false
  29210. }
  29211. },
  29212. render() {
  29213. return null;
  29214. }
  29215. };
  29216. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  29217. /***/ }),
  29218. /***/ "./node_modules/primevue/config/config.esm.js":
  29219. /*!****************************************************!*\
  29220. !*** ./node_modules/primevue/config/config.esm.js ***!
  29221. \****************************************************/
  29222. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  29223. "use strict";
  29224. __webpack_require__.r(__webpack_exports__);
  29225. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  29226. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
  29227. /* harmony export */ "usePrimeVue": () => (/* binding */ usePrimeVue)
  29228. /* harmony export */ });
  29229. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  29230. /* harmony import */ var primevue_api__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! primevue/api */ "./node_modules/primevue/api/api.esm.js");
  29231. const defaultOptions = {
  29232. ripple: false,
  29233. inputStyle: 'outlined',
  29234. locale: {
  29235. startsWith: 'Starts with',
  29236. contains: 'Contains',
  29237. notContains: 'Not contains',
  29238. endsWith: 'Ends with',
  29239. equals: 'Equals',
  29240. notEquals: 'Not equals',
  29241. noFilter: 'No Filter',
  29242. lt: 'Less than',
  29243. lte: 'Less than or equal to',
  29244. gt: 'Greater than',
  29245. gte: 'Greater than or equal to',
  29246. dateIs: 'Date is',
  29247. dateIsNot: 'Date is not',
  29248. dateBefore: 'Date is before',
  29249. dateAfter: 'Date is after',
  29250. clear: 'Clear',
  29251. apply: 'Apply',
  29252. matchAll: 'Match All',
  29253. matchAny: 'Match Any',
  29254. addRule: 'Add Rule',
  29255. removeRule: 'Remove Rule',
  29256. accept: 'Yes',
  29257. reject: 'No',
  29258. choose: 'Choose',
  29259. upload: 'Upload',
  29260. cancel: 'Cancel',
  29261. dayNames: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
  29262. dayNamesShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
  29263. dayNamesMin: ["Su","Mo","Tu","We","Th","Fr","Sa"],
  29264. monthNames: ["January","February","March","April","May","June","July","August","September","October","November","December"],
  29265. monthNamesShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun","Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
  29266. today: 'Today',
  29267. weekHeader: 'Wk',
  29268. firstDayOfWeek: 0,
  29269. dateFormat: 'mm/dd/yy',
  29270. weak: 'Weak',
  29271. medium: 'Medium',
  29272. strong: 'Strong',
  29273. passwordPrompt: 'Enter a password',
  29274. emptyFilterMessage: 'No results found',
  29275. emptyMessage: 'No available options'
  29276. },
  29277. filterMatchModeOptions: {
  29278. text: [
  29279. primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.STARTS_WITH,
  29280. primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.CONTAINS,
  29281. primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.NOT_CONTAINS,
  29282. primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.ENDS_WITH,
  29283. primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.EQUALS,
  29284. primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.NOT_EQUALS
  29285. ],
  29286. numeric: [
  29287. primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.EQUALS,
  29288. primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.NOT_EQUALS,
  29289. primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.LESS_THAN,
  29290. primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.LESS_THAN_OR_EQUAL_TO,
  29291. primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.GREATER_THAN,
  29292. primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.GREATER_THAN_OR_EQUAL_TO
  29293. ],
  29294. date: [
  29295. primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.DATE_IS,
  29296. primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.DATE_IS_NOT,
  29297. primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.DATE_BEFORE,
  29298. primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.DATE_AFTER
  29299. ]
  29300. },
  29301. zIndex: {
  29302. modal: 1100,
  29303. overlay: 1000,
  29304. menu: 1000,
  29305. tooltip: 1100
  29306. }
  29307. };
  29308. const PrimeVueSymbol = Symbol();
  29309. function usePrimeVue() {
  29310. const PrimeVue = (0,vue__WEBPACK_IMPORTED_MODULE_0__.inject)(PrimeVueSymbol);
  29311. if (!PrimeVue) {
  29312. throw new Error('PrimeVue is not installed!');
  29313. }
  29314. return PrimeVue;
  29315. }
  29316. var PrimeVue = {
  29317. install: (app, options) => {
  29318. let configOptions = options ? {...defaultOptions, ...options} : {...defaultOptions};
  29319. const PrimeVue = {
  29320. config: (0,vue__WEBPACK_IMPORTED_MODULE_0__.reactive)(configOptions)
  29321. };
  29322. app.config.globalProperties.$primevue = PrimeVue;
  29323. app.provide(PrimeVueSymbol, PrimeVue);
  29324. }
  29325. };
  29326. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PrimeVue);
  29327. /***/ }),
  29328. /***/ "./node_modules/primevue/datatable/datatable.esm.js":
  29329. /*!**********************************************************!*\
  29330. !*** ./node_modules/primevue/datatable/datatable.esm.js ***!
  29331. \**********************************************************/
  29332. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  29333. "use strict";
  29334. __webpack_require__.r(__webpack_exports__);
  29335. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  29336. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  29337. /* harmony export */ });
  29338. /* harmony import */ var primevue_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! primevue/utils */ "./node_modules/primevue/utils/utils.esm.js");
  29339. /* harmony import */ var primevue_api__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! primevue/api */ "./node_modules/primevue/api/api.esm.js");
  29340. /* harmony import */ var primevue_paginator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! primevue/paginator */ "./node_modules/primevue/paginator/paginator.esm.js");
  29341. /* harmony import */ var primevue_virtualscroller__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! primevue/virtualscroller */ "./node_modules/primevue/virtualscroller/virtualscroller.esm.js");
  29342. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  29343. /* harmony import */ var primevue_overlayeventbus__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! primevue/overlayeventbus */ "./node_modules/primevue/overlayeventbus/overlayeventbus.esm.js");
  29344. /* harmony import */ var primevue_dropdown__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! primevue/dropdown */ "./node_modules/primevue/dropdown/dropdown.esm.js");
  29345. /* harmony import */ var primevue_button__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! primevue/button */ "./node_modules/primevue/button/button.esm.js");
  29346. /* harmony import */ var primevue_ripple__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! primevue/ripple */ "./node_modules/primevue/ripple/ripple.esm.js");
  29347. var script$a = {
  29348. name: 'HeaderCheckbox',
  29349. inheritAttrs: false,
  29350. emits: ['change'],
  29351. props: {
  29352. checked: null
  29353. },
  29354. data() {
  29355. return {
  29356. focused: false
  29357. };
  29358. },
  29359. methods: {
  29360. onClick(event) {
  29361. if (!this.$attrs.disabled) {
  29362. this.focused = true;
  29363. this.$emit('change', {
  29364. originalEvent: event,
  29365. checked: !this.checked
  29366. });
  29367. }
  29368. },
  29369. onFocus() {
  29370. this.focused = true;
  29371. },
  29372. onBlur() {
  29373. this.focused = false;
  29374. }
  29375. }
  29376. };
  29377. function render$a(_ctx, _cache, $props, $setup, $data, $options) {
  29378. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", {
  29379. class: ['p-checkbox p-component', {'p-checkbox-focused': $data.focused}],
  29380. onClick: _cache[3] || (_cache[3] = (...args) => ($options.onClick && $options.onClick(...args))),
  29381. onKeydown: _cache[4] || (_cache[4] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)((0,vue__WEBPACK_IMPORTED_MODULE_4__.withModifiers)((...args) => ($options.onClick && $options.onClick(...args)), ["prevent"]), ["space"]))
  29382. }, [
  29383. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("div", {
  29384. ref: "box",
  29385. class: ['p-checkbox-box p-component', {'p-highlight': $props.checked, 'p-disabled': _ctx.$attrs.disabled, 'p-focus': $data.focused}],
  29386. role: "checkbox",
  29387. "aria-checked": $props.checked,
  29388. tabindex: _ctx.$attrs.disabled ? null : '0',
  29389. onFocus: _cache[1] || (_cache[1] = $event => ($options.onFocus($event))),
  29390. onBlur: _cache[2] || (_cache[2] = $event => ($options.onBlur($event)))
  29391. }, [
  29392. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", {
  29393. class: ['p-checkbox-icon', {'pi pi-check': $props.checked}]
  29394. }, null, 2)
  29395. ], 42, ["aria-checked", "tabindex"])
  29396. ], 34))
  29397. }
  29398. script$a.render = render$a;
  29399. var script$9 = {
  29400. name: 'ColumnFilter',
  29401. emits: ['filter-change','filter-apply','operator-change','matchmode-change','constraint-add','constraint-remove','filter-clear','apply-click'],
  29402. props: {
  29403. field: {
  29404. type: String,
  29405. default: null
  29406. },
  29407. type: {
  29408. type: String,
  29409. default: 'text'
  29410. },
  29411. display: {
  29412. type: String,
  29413. default: null
  29414. },
  29415. showMenu: {
  29416. type: Boolean,
  29417. default: true
  29418. },
  29419. matchMode: {
  29420. type: String,
  29421. default: null
  29422. },
  29423. showOperator: {
  29424. type: Boolean,
  29425. default: true
  29426. },
  29427. showClearButton: {
  29428. type: Boolean,
  29429. default: true
  29430. },
  29431. showApplyButton: {
  29432. type: Boolean,
  29433. default: true
  29434. },
  29435. showMatchModes: {
  29436. type: Boolean,
  29437. default: true
  29438. },
  29439. showAddButton: {
  29440. type: Boolean,
  29441. default: true
  29442. },
  29443. matchModeOptions: {
  29444. type: Array,
  29445. default: null
  29446. },
  29447. maxConstraints: {
  29448. type: Number,
  29449. default: 2
  29450. },
  29451. filterElement: null,
  29452. filterHeaderTemplate: null,
  29453. filterFooterTemplate: null,
  29454. filterClearTemplate: null,
  29455. filterApplyTemplate: null,
  29456. filters: {
  29457. type: Object,
  29458. default: null
  29459. },
  29460. filtersStore: {
  29461. type: Object,
  29462. default: null
  29463. },
  29464. filterMenuClass: {
  29465. type: String,
  29466. default: null
  29467. },
  29468. filterMenuStyle: {
  29469. type: null,
  29470. default: null
  29471. }
  29472. },
  29473. data() {
  29474. return {
  29475. overlayVisible: false,
  29476. defaultMatchMode: null,
  29477. defaultOperator: null
  29478. }
  29479. },
  29480. overlay: null,
  29481. selfClick: false,
  29482. overlayEventListener: null,
  29483. beforeUnmount() {
  29484. if (this.overlayEventListener) {
  29485. primevue_overlayeventbus__WEBPACK_IMPORTED_MODULE_5__["default"].off('overlay-click', this.overlayEventListener);
  29486. this.overlayEventListener = null;
  29487. }
  29488. if (this.overlay) {
  29489. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.clear(this.overlay);
  29490. this.onOverlayHide();
  29491. }
  29492. },
  29493. mounted() {
  29494. if (this.filters && this.filters[this.field]) {
  29495. let fieldFilters = this.filters[this.field];
  29496. if (fieldFilters.operator) {
  29497. this.defaultMatchMode = fieldFilters.constraints[0].matchMode;
  29498. this.defaultOperator = fieldFilters.operator;
  29499. }
  29500. else {
  29501. this.defaultMatchMode = this.filters[this.field].matchMode;
  29502. }
  29503. }
  29504. },
  29505. methods: {
  29506. clearFilter() {
  29507. let _filters = {...this.filters};
  29508. if (_filters[this.field].operator) {
  29509. _filters[this.field].constraints.splice(1);
  29510. _filters[this.field].operator = this.defaultOperator;
  29511. _filters[this.field].constraints[0] = {value: null, matchMode: this.defaultMatchMode};
  29512. }
  29513. else {
  29514. _filters[this.field].value = null;
  29515. _filters[this.field].matchMode = this.defaultMatchMode;
  29516. }
  29517. this.$emit('filter-clear');
  29518. this.$emit('filter-change', _filters);
  29519. this.$emit('filter-apply');
  29520. this.hide();
  29521. },
  29522. applyFilter() {
  29523. this.$emit('apply-click', {field: this.field, constraints: this.filters[this.field]});
  29524. this.$emit('filter-apply');
  29525. this.hide();
  29526. },
  29527. hasFilter() {
  29528. if (this.filtersStore) {
  29529. let fieldFilter = this.filtersStore[this.field];
  29530. if (fieldFilter) {
  29531. if (fieldFilter.operator)
  29532. return !this.isFilterBlank(fieldFilter.constraints[0].value);
  29533. else
  29534. return !this.isFilterBlank(fieldFilter.value);
  29535. }
  29536. }
  29537. return false;
  29538. },
  29539. hasRowFilter() {
  29540. return this.filters[this.field] && !this.isFilterBlank(this.filters[this.field].value);
  29541. },
  29542. isFilterBlank(filter) {
  29543. if (filter !== null && filter !== undefined) {
  29544. if ((typeof filter === 'string' && filter.trim().length == 0) || (filter instanceof Array && filter.length == 0))
  29545. return true;
  29546. else
  29547. return false;
  29548. }
  29549. return true;
  29550. },
  29551. toggleMenu() {
  29552. this.overlayVisible = !this.overlayVisible;
  29553. },
  29554. onToggleButtonKeyDown(event) {
  29555. switch(event.key) {
  29556. case 'Escape':
  29557. case 'Tab':
  29558. this.overlayVisible = false;
  29559. break;
  29560. case 'ArrowDown':
  29561. if (this.overlayVisible) {
  29562. let focusable = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getFocusableElements(this.overlay);
  29563. if (focusable) {
  29564. focusable[0].focus();
  29565. }
  29566. event.preventDefault();
  29567. }
  29568. else if (event.altKey) {
  29569. this.overlayVisible = true;
  29570. event.preventDefault();
  29571. }
  29572. break;
  29573. }
  29574. },
  29575. onEscape() {
  29576. this.overlayVisible = false;
  29577. if (this.$refs.icon) {
  29578. this.$refs.icon.focus();
  29579. }
  29580. },
  29581. onRowMatchModeChange(matchMode) {
  29582. let _filters = {...this.filters};
  29583. _filters[this.field].matchMode = matchMode;
  29584. this.$emit('matchmode-change', {field: this.field, matchMode: matchMode});
  29585. this.$emit('filter-change', _filters);
  29586. this.$emit('filter-apply');
  29587. this.hide();
  29588. },
  29589. onRowMatchModeKeyDown(event) {
  29590. let item = event.target;
  29591. switch(event.key) {
  29592. case 'ArrowDown':
  29593. var nextItem = this.findNextItem(item);
  29594. if (nextItem) {
  29595. item.removeAttribute('tabindex');
  29596. nextItem.tabIndex = '0';
  29597. nextItem.focus();
  29598. }
  29599. event.preventDefault();
  29600. break;
  29601. case 'ArrowUp':
  29602. var prevItem = this.findPrevItem(item);
  29603. if (prevItem) {
  29604. item.removeAttribute('tabindex');
  29605. prevItem.tabIndex = '0';
  29606. prevItem.focus();
  29607. }
  29608. event.preventDefault();
  29609. break;
  29610. }
  29611. },
  29612. isRowMatchModeSelected(matchMode) {
  29613. return (this.filters[this.field]).matchMode === matchMode;
  29614. },
  29615. onOperatorChange(value) {
  29616. let _filters = {...this.filters};
  29617. _filters[this.field].operator = value;
  29618. this.$emit('filter-change', _filters);
  29619. this.$emit('operator-change', {field: this.field, operator: value});
  29620. if (!this.showApplyButton) {
  29621. this.$emit('filter-apply');
  29622. }
  29623. },
  29624. onMenuMatchModeChange(value, index) {
  29625. let _filters = {...this.filters};
  29626. _filters[this.field].constraints[index].matchMode = value;
  29627. this.$emit('matchmode-change', {field: this.field, matchMode: value, index: index});
  29628. if (!this.showApplyButton) {
  29629. this.$emit('filter-apply');
  29630. }
  29631. },
  29632. addConstraint() {
  29633. let _filters = {...this.filters};
  29634. let newConstraint = {value: null, matchMode: this.defaultMatchMode};
  29635. _filters[this.field].constraints.push(newConstraint);
  29636. this.$emit('constraint-add', {field: this.field, constraing: newConstraint});
  29637. this.$emit('filter-change', _filters);
  29638. if (!this.showApplyButton) {
  29639. this.$emit('filter-apply');
  29640. }
  29641. },
  29642. removeConstraint(index) {
  29643. let _filters = {...this.filters};
  29644. let removedConstraint = _filters[this.field].constraints.splice(index, 1);
  29645. this.$emit('constraint-remove', {field: this.field, constraing: removedConstraint});
  29646. this.$emit('filter-change', _filters);
  29647. if (!this.showApplyButton) {
  29648. this.$emit('filter-apply');
  29649. }
  29650. },
  29651. filterCallback() {
  29652. this.$emit('filter-apply');
  29653. },
  29654. findNextItem(item) {
  29655. let nextItem = item.nextElementSibling;
  29656. if (nextItem)
  29657. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(nextItem, 'p-column-filter-separator') ? this.findNextItem(nextItem) : nextItem;
  29658. else
  29659. return item.parentElement.firstElementChild;
  29660. },
  29661. findPrevItem(item) {
  29662. let prevItem = item.previousElementSibling;
  29663. if (prevItem)
  29664. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(prevItem, 'p-column-filter-separator') ? this.findPrevItem(prevItem) : prevItem;
  29665. else
  29666. return item.parentElement.lastElementChild;
  29667. },
  29668. hide() {
  29669. this.overlayVisible = false;
  29670. },
  29671. onContentClick(event) {
  29672. this.selfClick = true;
  29673. primevue_overlayeventbus__WEBPACK_IMPORTED_MODULE_5__["default"].emit('overlay-click', {
  29674. originalEvent: event,
  29675. target: this.overlay
  29676. });
  29677. },
  29678. onContentMouseDown() {
  29679. this.selfClick = true;
  29680. },
  29681. onOverlayEnter(el) {
  29682. if (this.filterMenuStyle) {
  29683. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.applyStyle(this.overlay, this.filterMenuStyle);
  29684. }
  29685. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.set('overlay', el, this.$primevue.config.zIndex.overlay);
  29686. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.absolutePosition(this.overlay, this.$refs.icon);
  29687. this.bindOutsideClickListener();
  29688. this.bindScrollListener();
  29689. this.bindResizeListener();
  29690. this.overlayEventListener = (e) => {
  29691. if (!this.isOutsideClicked(e.target)) {
  29692. this.selfClick = true;
  29693. }
  29694. };
  29695. primevue_overlayeventbus__WEBPACK_IMPORTED_MODULE_5__["default"].on('overlay-click', this.overlayEventListener);
  29696. },
  29697. onOverlayLeave() {
  29698. this.onOverlayHide();
  29699. },
  29700. onOverlayAfterLeave(el) {
  29701. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.clear(el);
  29702. },
  29703. onOverlayHide() {
  29704. this.unbindOutsideClickListener();
  29705. this.unbindResizeListener();
  29706. this.unbindScrollListener();
  29707. this.overlay = null;
  29708. primevue_overlayeventbus__WEBPACK_IMPORTED_MODULE_5__["default"].off('overlay-click', this.overlayEventListener);
  29709. this.overlayEventListener = null;
  29710. },
  29711. overlayRef(el) {
  29712. this.overlay = el;
  29713. },
  29714. isOutsideClicked(target) {
  29715. return !this.isTargetClicked(target) && this.overlay && !(this.overlay.isSameNode(target) || this.overlay.contains(target));
  29716. },
  29717. isTargetClicked(target) {
  29718. return this.$refs.icon && (this.$refs.icon.isSameNode(target) || this.$refs.icon.contains(target));
  29719. },
  29720. bindOutsideClickListener() {
  29721. if (!this.outsideClickListener) {
  29722. this.outsideClickListener = (event) => {
  29723. if (this.overlayVisible && !this.selfClick && this.isOutsideClicked(event.target)) {
  29724. this.overlayVisible = false;
  29725. }
  29726. this.selfClick = false;
  29727. };
  29728. document.addEventListener('click', this.outsideClickListener);
  29729. }
  29730. },
  29731. unbindOutsideClickListener() {
  29732. if (this.outsideClickListener) {
  29733. document.removeEventListener('click', this.outsideClickListener);
  29734. this.outsideClickListener = null;
  29735. this.selfClick = false;
  29736. }
  29737. },
  29738. bindScrollListener() {
  29739. if (!this.scrollHandler) {
  29740. this.scrollHandler = new primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ConnectedOverlayScrollHandler(this.$refs.icon, () => {
  29741. if (this.overlayVisible) {
  29742. this.hide();
  29743. }
  29744. });
  29745. }
  29746. this.scrollHandler.bindScrollListener();
  29747. },
  29748. unbindScrollListener() {
  29749. if (this.scrollHandler) {
  29750. this.scrollHandler.unbindScrollListener();
  29751. }
  29752. },
  29753. bindResizeListener() {
  29754. if (!this.resizeListener) {
  29755. this.resizeListener = () => {
  29756. if (this.overlayVisible) {
  29757. this.hide();
  29758. }
  29759. };
  29760. window.addEventListener('resize', this.resizeListener);
  29761. }
  29762. },
  29763. unbindResizeListener() {
  29764. if (this.resizeListener) {
  29765. window.removeEventListener('resize', this.resizeListener);
  29766. this.resizeListener = null;
  29767. }
  29768. }
  29769. },
  29770. computed: {
  29771. containerClass() {
  29772. return ['p-column-filter p-fluid', {
  29773. 'p-column-filter-row': this.display === 'row',
  29774. 'p-column-filter-menu': this.display === 'menu'
  29775. }];
  29776. },
  29777. overlayClass() {
  29778. return [this.filterMenuClass, {
  29779. 'p-column-filter-overlay p-component p-fluid': true,
  29780. 'p-column-filter-overlay-menu': this.display === 'menu',
  29781. 'p-input-filled': this.$primevue.config.inputStyle === 'filled',
  29782. 'p-ripple-disabled': this.$primevue.config.ripple === false
  29783. }];
  29784. },
  29785. showMenuButton() {
  29786. return this.showMenu && (this.display === 'row' ? this.type !== 'boolean': true);
  29787. },
  29788. matchModes() {
  29789. return this.matchModeOptions ||
  29790. this.$primevue.config.filterMatchModeOptions[this.type].map(key => {
  29791. return {label: this.$primevue.config.locale[key], value: key}
  29792. });
  29793. },
  29794. isShowMatchModes() {
  29795. return this.type !== 'boolean' && this.showMatchModes && this.matchModes;
  29796. },
  29797. operatorOptions() {
  29798. return [
  29799. {label: this.$primevue.config.locale.matchAll, value: primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterOperator.AND},
  29800. {label: this.$primevue.config.locale.matchAny, value: primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterOperator.OR}
  29801. ];
  29802. },
  29803. noFilterLabel() {
  29804. return this.$primevue.config.locale.noFilter;
  29805. },
  29806. isShowOperator() {
  29807. return this.showOperator && this.filters[this.field].operator;
  29808. },
  29809. operator() {
  29810. return this.filters[this.field].operator;
  29811. },
  29812. fieldConstraints() {
  29813. return this.filters[this.field].constraints || [this.filters[this.field]];
  29814. },
  29815. showRemoveIcon() {
  29816. return this.fieldConstraints.length > 1;
  29817. },
  29818. removeRuleButtonLabel() {
  29819. return this.$primevue.config.locale.removeRule;
  29820. },
  29821. addRuleButtonLabel() {
  29822. return this.$primevue.config.locale.addRule;
  29823. },
  29824. isShowAddConstraint() {
  29825. return this.showAddButton && this.filters[this.field].operator && (this.fieldConstraints && this.fieldConstraints.length < this.maxConstraints);
  29826. },
  29827. clearButtonLabel() {
  29828. return this.$primevue.config.locale.clear;
  29829. },
  29830. applyButtonLabel() {
  29831. return this.$primevue.config.locale.apply;
  29832. }
  29833. },
  29834. components: {
  29835. 'CFDropdown': primevue_dropdown__WEBPACK_IMPORTED_MODULE_6__["default"],
  29836. 'CFButton': primevue_button__WEBPACK_IMPORTED_MODULE_7__["default"]
  29837. }
  29838. };
  29839. const _hoisted_1$7 = {
  29840. key: 0,
  29841. class: "p-fluid p-column-filter-element"
  29842. };
  29843. const _hoisted_2$5 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", { class: "pi pi-filter-icon pi-filter" }, null, -1);
  29844. const _hoisted_3$4 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", { class: "pi pi-filter-slash" }, null, -1);
  29845. const _hoisted_4$2 = {
  29846. key: 0,
  29847. class: "p-column-filter-row-items"
  29848. };
  29849. const _hoisted_5$1 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("li", { class: "p-column-filter-separator" }, null, -1);
  29850. const _hoisted_6$1 = {
  29851. key: 0,
  29852. class: "p-column-filter-operator"
  29853. };
  29854. const _hoisted_7 = { class: "p-column-filter-constraints" };
  29855. const _hoisted_8 = {
  29856. key: 1,
  29857. class: "p-column-filter-add-rule"
  29858. };
  29859. const _hoisted_9 = { class: "p-column-filter-buttonbar" };
  29860. function render$9(_ctx, _cache, $props, $setup, $data, $options) {
  29861. const _component_CFDropdown = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("CFDropdown");
  29862. const _component_CFButton = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("CFButton");
  29863. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", { class: $options.containerClass }, [
  29864. ($props.display === 'row')
  29865. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", _hoisted_1$7, [
  29866. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.filterElement), {
  29867. field: $props.field,
  29868. filterModel: $props.filters[$props.field],
  29869. filterCallback: $options.filterCallback
  29870. }, null, 8, ["field", "filterModel", "filterCallback"]))
  29871. ]))
  29872. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  29873. ($options.showMenuButton)
  29874. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("button", {
  29875. key: 1,
  29876. ref: "icon",
  29877. type: "button",
  29878. class: ["p-column-filter-menu-button p-link", {'p-column-filter-menu-button-open': $data.overlayVisible, 'p-column-filter-menu-button-active': $options.hasFilter()}],
  29879. "aria-haspopup": "true",
  29880. "aria-expanded": $data.overlayVisible,
  29881. onClick: _cache[1] || (_cache[1] = $event => ($options.toggleMenu())),
  29882. onKeydown: _cache[2] || (_cache[2] = $event => ($options.onToggleButtonKeyDown($event)))
  29883. }, [
  29884. _hoisted_2$5
  29885. ], 42, ["aria-expanded"]))
  29886. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  29887. ($props.showClearButton && $props.display === 'row')
  29888. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("button", {
  29889. key: 2,
  29890. class: [{'p-hidden-space': !$options.hasRowFilter()}, "p-column-filter-clear-button p-link"],
  29891. type: "button",
  29892. onClick: _cache[3] || (_cache[3] = $event => ($options.clearFilter()))
  29893. }, [
  29894. _hoisted_3$4
  29895. ], 2))
  29896. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  29897. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Teleport, { to: "body" }, [
  29898. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)(vue__WEBPACK_IMPORTED_MODULE_4__.Transition, {
  29899. name: "p-connected-overlay",
  29900. onEnter: $options.onOverlayEnter,
  29901. onLeave: $options.onOverlayLeave,
  29902. onAfterLeave: $options.onOverlayAfterLeave
  29903. }, {
  29904. default: (0,vue__WEBPACK_IMPORTED_MODULE_4__.withCtx)(() => [
  29905. ($data.overlayVisible)
  29906. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", {
  29907. key: 0,
  29908. ref: $options.overlayRef,
  29909. class: $options.overlayClass,
  29910. onKeydown: _cache[12] || (_cache[12] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)((...args) => ($options.onEscape && $options.onEscape(...args)), ["escape"])),
  29911. onClick: _cache[13] || (_cache[13] = (...args) => ($options.onContentClick && $options.onContentClick(...args))),
  29912. onMousedown: _cache[14] || (_cache[14] = (...args) => ($options.onContentMouseDown && $options.onContentMouseDown(...args)))
  29913. }, [
  29914. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.filterHeaderTemplate), {
  29915. field: $props.field,
  29916. filterModel: $props.filters[$props.field],
  29917. filterCallback: $options.filterCallback
  29918. }, null, 8, ["field", "filterModel", "filterCallback"])),
  29919. ($props.display === 'row')
  29920. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("ul", _hoisted_4$2, [
  29921. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)($options.matchModes, (matchMode, i) => {
  29922. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("li", {
  29923. class: ["p-column-filter-row-item", {'p-highlight': $options.isRowMatchModeSelected(matchMode.value)}],
  29924. key: matchMode.label,
  29925. onClick: $event => ($options.onRowMatchModeChange(matchMode.value)),
  29926. onKeydown: [
  29927. _cache[4] || (_cache[4] = $event => ($options.onRowMatchModeKeyDown($event))),
  29928. (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)((0,vue__WEBPACK_IMPORTED_MODULE_4__.withModifiers)($event => ($options.onRowMatchModeChange(matchMode.value)), ["prevent"]), ["enter"])
  29929. ],
  29930. tabindex: i === 0 ? '0' : null
  29931. }, (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)(matchMode.label), 43, ["onClick", "onKeydown", "tabindex"]))
  29932. }), 128)),
  29933. _hoisted_5$1,
  29934. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("li", {
  29935. class: "p-column-filter-row-item",
  29936. onClick: _cache[5] || (_cache[5] = $event => ($options.clearFilter())),
  29937. onKeydown: [
  29938. _cache[6] || (_cache[6] = $event => ($options.onRowMatchModeKeyDown($event))),
  29939. _cache[7] || (_cache[7] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => (_ctx.onRowClearItemClick()), ["enter"]))
  29940. ]
  29941. }, (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($options.noFilterLabel), 33)
  29942. ]))
  29943. : ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, { key: 1 }, [
  29944. ($options.isShowOperator)
  29945. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", _hoisted_6$1, [
  29946. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)(_component_CFDropdown, {
  29947. options: $options.operatorOptions,
  29948. modelValue: $options.operator,
  29949. "onUpdate:modelValue": _cache[8] || (_cache[8] = $event => ($options.onOperatorChange($event))),
  29950. class: "p-column-filter-operator-dropdown",
  29951. optionLabel: "label",
  29952. optionValue: "value"
  29953. }, null, 8, ["options", "modelValue"])
  29954. ]))
  29955. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  29956. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("div", _hoisted_7, [
  29957. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)($options.fieldConstraints, (fieldConstraint, i) => {
  29958. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", {
  29959. key: i,
  29960. class: "p-column-filter-constraint"
  29961. }, [
  29962. ($options.isShowMatchModes)
  29963. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_CFDropdown, {
  29964. key: 0,
  29965. options: $options.matchModes,
  29966. modelValue: fieldConstraint.matchMode,
  29967. optionLabel: "label",
  29968. optionValue: "value",
  29969. "onUpdate:modelValue": $event => ($options.onMenuMatchModeChange($event, i)),
  29970. class: "p-column-filter-matchmode-dropdown"
  29971. }, null, 8, ["options", "modelValue", "onUpdate:modelValue"]))
  29972. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  29973. ($props.display === 'menu')
  29974. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.filterElement), {
  29975. key: 1,
  29976. field: $props.field,
  29977. filterModel: fieldConstraint,
  29978. filterCallback: $options.filterCallback
  29979. }, null, 8, ["field", "filterModel", "filterCallback"]))
  29980. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  29981. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("div", null, [
  29982. ($options.showRemoveIcon)
  29983. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_CFButton, {
  29984. key: 0,
  29985. type: "button",
  29986. icon: "pi pi-trash",
  29987. class: "p-column-filter-remove-button p-button-text p-button-danger p-button-sm",
  29988. onClick: $event => ($options.removeConstraint(i)),
  29989. label: $options.removeRuleButtonLabel
  29990. }, null, 8, ["onClick", "label"]))
  29991. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  29992. ])
  29993. ]))
  29994. }), 128))
  29995. ]),
  29996. ($options.isShowAddConstraint)
  29997. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", _hoisted_8, [
  29998. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)(_component_CFButton, {
  29999. type: "button",
  30000. label: $options.addRuleButtonLabel,
  30001. icon: "pi pi-plus",
  30002. class: "p-column-filter-add-button p-button-text p-button-sm",
  30003. onClick: _cache[9] || (_cache[9] = $event => ($options.addConstraint()))
  30004. }, null, 8, ["label"])
  30005. ]))
  30006. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  30007. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("div", _hoisted_9, [
  30008. (!$props.filterClearTemplate && $props.showClearButton)
  30009. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_CFButton, {
  30010. key: 0,
  30011. type: "button",
  30012. class: "p-button-outlined p-button-sm",
  30013. onClick: _cache[10] || (_cache[10] = $event => ($options.clearFilter())),
  30014. label: $options.clearButtonLabel
  30015. }, null, 8, ["label"]))
  30016. : ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.filterClearTemplate), {
  30017. key: 1,
  30018. field: $props.field,
  30019. filterModel: $props.filters[$props.field],
  30020. filterCallback: $options.clearFilter
  30021. }, null, 8, ["field", "filterModel", "filterCallback"])),
  30022. ($props.showApplyButton)
  30023. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, { key: 2 }, [
  30024. (!$props.filterApplyTemplate)
  30025. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_CFButton, {
  30026. key: 0,
  30027. type: "button",
  30028. class: "p-button-sm",
  30029. onClick: _cache[11] || (_cache[11] = $event => ($options.applyFilter())),
  30030. label: $options.applyButtonLabel
  30031. }, null, 8, ["label"]))
  30032. : ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.filterApplyTemplate), {
  30033. key: 1,
  30034. field: $props.field,
  30035. filterModel: $props.filters[$props.field],
  30036. filterCallback: $options.applyFilter
  30037. }, null, 8, ["field", "filterModel", "filterCallback"]))
  30038. ], 64))
  30039. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  30040. ])
  30041. ], 64)),
  30042. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.filterFooterTemplate), {
  30043. field: $props.field,
  30044. filterModel: $props.filters[$props.field],
  30045. filterCallback: $options.filterCallback
  30046. }, null, 8, ["field", "filterModel", "filterCallback"]))
  30047. ], 34))
  30048. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  30049. ]),
  30050. _: 1
  30051. }, 8, ["onEnter", "onLeave", "onAfterLeave"])
  30052. ]))
  30053. ], 2))
  30054. }
  30055. script$9.render = render$9;
  30056. var script$8 = {
  30057. name: 'HeaderCell',
  30058. emits: ['column-click', 'column-mousedown', 'column-dragstart', 'column-dragover', 'column-dragleave', 'column-drop',
  30059. 'column-resizestart', 'checkbox-change', 'filter-change', 'filter-apply',
  30060. 'operator-change', 'matchmode-change', 'constraint-add', 'constraint-remove', 'filter-clear', 'apply-click'],
  30061. props: {
  30062. column: {
  30063. type: Object,
  30064. default: null
  30065. },
  30066. resizableColumns: {
  30067. type: Boolean,
  30068. default: false
  30069. },
  30070. groupRowsBy: {
  30071. type: [Array,String],
  30072. default: null
  30073. },
  30074. sortMode: {
  30075. type: String,
  30076. default: 'single'
  30077. },
  30078. groupRowSortField: {
  30079. type: [String, Function],
  30080. default: null
  30081. },
  30082. sortField: {
  30083. type: [String, Function],
  30084. default: null
  30085. },
  30086. sortOrder: {
  30087. type: Number,
  30088. default: null
  30089. },
  30090. multiSortMeta: {
  30091. type: Array,
  30092. default: null
  30093. },
  30094. allRowsSelected: {
  30095. type: Boolean,
  30096. default: false
  30097. },
  30098. empty: {
  30099. type: Boolean,
  30100. default: false
  30101. },
  30102. filterDisplay: {
  30103. type: String,
  30104. default: null
  30105. },
  30106. filters: {
  30107. type: Object,
  30108. default: null
  30109. },
  30110. filtersStore: {
  30111. type: Object,
  30112. default: null
  30113. },
  30114. filterColumn: {
  30115. type: Boolean,
  30116. default: false
  30117. }
  30118. },
  30119. data() {
  30120. return {
  30121. styleObject: {}
  30122. }
  30123. },
  30124. mounted() {
  30125. if (this.columnProp('frozen')) {
  30126. this.updateStickyPosition();
  30127. }
  30128. },
  30129. updated() {
  30130. if (this.columnProp('frozen')) {
  30131. this.updateStickyPosition();
  30132. }
  30133. },
  30134. methods: {
  30135. columnProp(prop) {
  30136. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.getVNodeProp(this.column, prop);
  30137. },
  30138. onClick(event) {
  30139. this.$emit('column-click', {originalEvent: event, column: this.column});
  30140. },
  30141. onKeyDown(event) {
  30142. if (event.which === 13 && event.currentTarget.nodeName === 'TH' && primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(event.currentTarget, 'p-sortable-column')) {
  30143. this.$emit('column-click', {originalEvent: event, column: this.column});
  30144. }
  30145. },
  30146. onMouseDown(event) {
  30147. this.$emit('column-mousedown', {originalEvent: event, column: this.column});
  30148. },
  30149. onDragStart(event) {
  30150. this.$emit('column-dragstart', event);
  30151. },
  30152. onDragOver(event) {
  30153. this.$emit('column-dragover', event);
  30154. },
  30155. onDragLeave(event) {
  30156. this.$emit('column-dragleave', event);
  30157. },
  30158. onDrop(event) {
  30159. this.$emit('column-drop', event);
  30160. },
  30161. onResizeStart(event) {
  30162. this.$emit('column-resizestart', event);
  30163. },
  30164. getMultiSortMetaIndex() {
  30165. return this.multiSortMeta.findIndex(meta => (meta.field === this.columnProp('field') || meta.field === this.columnProp('sortField')));
  30166. },
  30167. getBadgeValue() {
  30168. let index = this.getMultiSortMetaIndex();
  30169. return (this.groupRowsBy && this.groupRowsBy === this.groupRowSortField) && index > -1 ? index : index + 1;
  30170. },
  30171. isMultiSorted() {
  30172. return this.sortMode === 'multiple' && this.columnProp('sortable') && this.getMultiSortMetaIndex() > -1
  30173. },
  30174. isColumnSorted() {
  30175. return this.sortMode === 'single' ? (this.sortField && (this.sortField === this.columnProp('field') || this.sortField === this.columnProp('sortField'))) : this.isMultiSorted();
  30176. },
  30177. updateStickyPosition() {
  30178. if (this.columnProp('frozen')) {
  30179. let align = this.columnProp('alignFrozen');
  30180. if (align === 'right') {
  30181. let right = 0;
  30182. let next = this.$el.nextElementSibling;
  30183. if (next) {
  30184. right = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(next) + parseFloat(next.style.right || 0);
  30185. }
  30186. this.styleObject.right = right + 'px';
  30187. }
  30188. else {
  30189. let left = 0;
  30190. let prev = this.$el.previousElementSibling;
  30191. if (prev) {
  30192. left = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(prev) + parseFloat(prev.style.left || 0);
  30193. }
  30194. this.styleObject.left = left + 'px';
  30195. }
  30196. let filterRow = this.$el.parentElement.nextElementSibling;
  30197. if (filterRow) {
  30198. let index = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.index(this.$el);
  30199. filterRow.children[index].style.left = this.styleObject.left;
  30200. filterRow.children[index].style.right = this.styleObject.right;
  30201. }
  30202. }
  30203. },
  30204. onHeaderCheckboxChange(event) {
  30205. this.$emit('checkbox-change', event);
  30206. }
  30207. },
  30208. computed: {
  30209. containerClass() {
  30210. return [this.filterColumn ? this.columnProp('filterHeaderClass') : this.columnProp('headerClass'), this.columnProp('class'), {
  30211. 'p-sortable-column': this.columnProp('sortable'),
  30212. 'p-resizable-column': this.resizableColumns,
  30213. 'p-highlight': this.isColumnSorted(),
  30214. 'p-filter-column': this.filterColumn,
  30215. 'p-frozen-column': this.columnProp('frozen')
  30216. }];
  30217. },
  30218. containerStyle() {
  30219. let headerStyle = this.filterColumn ? this.columnProp('filterHeaderStyle'): this.columnProp('headerStyle');
  30220. let columnStyle = this.columnProp('style');
  30221. return this.columnProp('frozen') ? [columnStyle, headerStyle, this.styleObject]: [columnStyle, headerStyle];
  30222. },
  30223. sortableColumnIcon() {
  30224. let sorted = false;
  30225. let sortOrder = null;
  30226. if (this.sortMode === 'single') {
  30227. sorted = this.sortField && (this.sortField === this.columnProp('field') || this.sortField === this.columnProp('sortField'));
  30228. sortOrder = sorted ? this.sortOrder: 0;
  30229. }
  30230. else if (this.sortMode === 'multiple') {
  30231. let metaIndex = this.getMultiSortMetaIndex();
  30232. if (metaIndex > -1) {
  30233. sorted = true;
  30234. sortOrder = this.multiSortMeta[metaIndex].order;
  30235. }
  30236. }
  30237. return [
  30238. 'p-sortable-column-icon pi pi-fw', {
  30239. 'pi-sort-alt': !sorted,
  30240. 'pi-sort-amount-up-alt': sorted && sortOrder > 0,
  30241. 'pi-sort-amount-down': sorted && sortOrder < 0
  30242. }
  30243. ];
  30244. },
  30245. ariaSort() {
  30246. if (this.columnProp('sortable')) {
  30247. const sortIcon = this.sortableColumnIcon;
  30248. if (sortIcon[1]['pi-sort-amount-down'])
  30249. return 'descending';
  30250. else if (sortIcon[1]['pi-sort-amount-up-alt'])
  30251. return 'ascending';
  30252. else
  30253. return 'none';
  30254. }
  30255. else {
  30256. return null;
  30257. }
  30258. }
  30259. },
  30260. components: {
  30261. 'DTHeaderCheckbox': script$a,
  30262. 'DTColumnFilter': script$9
  30263. }
  30264. };
  30265. const _hoisted_1$6 = { class: "p-column-header-content" };
  30266. const _hoisted_2$4 = {
  30267. key: 1,
  30268. class: "p-column-title"
  30269. };
  30270. const _hoisted_3$3 = {
  30271. key: 3,
  30272. class: "p-sortable-column-badge"
  30273. };
  30274. function render$8(_ctx, _cache, $props, $setup, $data, $options) {
  30275. const _component_DTHeaderCheckbox = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("DTHeaderCheckbox");
  30276. const _component_DTColumnFilter = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("DTColumnFilter");
  30277. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("th", {
  30278. style: $options.containerStyle,
  30279. class: $options.containerClass,
  30280. tabindex: $options.columnProp('sortable') ? '0' : null,
  30281. role: "cell",
  30282. onClick: _cache[9] || (_cache[9] = (...args) => ($options.onClick && $options.onClick(...args))),
  30283. onKeydown: _cache[10] || (_cache[10] = (...args) => ($options.onKeyDown && $options.onKeyDown(...args))),
  30284. onMousedown: _cache[11] || (_cache[11] = (...args) => ($options.onMouseDown && $options.onMouseDown(...args))),
  30285. onDragstart: _cache[12] || (_cache[12] = (...args) => ($options.onDragStart && $options.onDragStart(...args))),
  30286. onDragover: _cache[13] || (_cache[13] = (...args) => ($options.onDragOver && $options.onDragOver(...args))),
  30287. onDragleave: _cache[14] || (_cache[14] = (...args) => ($options.onDragLeave && $options.onDragLeave(...args))),
  30288. onDrop: _cache[15] || (_cache[15] = (...args) => ($options.onDrop && $options.onDrop(...args))),
  30289. colspan: $options.columnProp('colspan'),
  30290. rowspan: $options.columnProp('rowspan'),
  30291. "aria-sort": $options.ariaSort
  30292. }, [
  30293. ($props.resizableColumns && !$options.columnProp('frozen'))
  30294. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("span", {
  30295. key: 0,
  30296. class: "p-column-resizer",
  30297. onMousedown: _cache[1] || (_cache[1] = (...args) => ($options.onResizeStart && $options.onResizeStart(...args)))
  30298. }, null, 32))
  30299. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  30300. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("div", _hoisted_1$6, [
  30301. ($props.column.children && $props.column.children.header)
  30302. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.column.children.header), {
  30303. key: 0,
  30304. column: $props.column
  30305. }, null, 8, ["column"]))
  30306. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  30307. ($options.columnProp('header'))
  30308. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("span", _hoisted_2$4, (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($options.columnProp('header')), 1))
  30309. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  30310. ($options.columnProp('sortable'))
  30311. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("span", {
  30312. key: 2,
  30313. class: $options.sortableColumnIcon
  30314. }, null, 2))
  30315. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  30316. ($options.isMultiSorted())
  30317. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("span", _hoisted_3$3, (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($options.getBadgeValue()), 1))
  30318. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  30319. ($options.columnProp('selectionMode') ==='multiple' && $props.filterDisplay !== 'row')
  30320. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_DTHeaderCheckbox, {
  30321. key: 4,
  30322. checked: $props.allRowsSelected,
  30323. onChange: $options.onHeaderCheckboxChange,
  30324. disabled: $props.empty
  30325. }, null, 8, ["checked", "onChange", "disabled"]))
  30326. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  30327. ($props.filterDisplay === 'menu' && $props.column.children && $props.column.children.filter)
  30328. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_DTColumnFilter, {
  30329. key: 5,
  30330. field: $options.columnProp('filterField')||$options.columnProp('field'),
  30331. type: $options.columnProp('dataType'),
  30332. display: "menu",
  30333. showMenu: $options.columnProp('showFilterMenu'),
  30334. filterElement: $props.column.children && $props.column.children.filter,
  30335. filterHeaderTemplate: $props.column.children && $props.column.children.filterheader,
  30336. filterFooterTemplate: $props.column.children && $props.column.children.filterfooter,
  30337. filterClearTemplate: $props.column.children && $props.column.children.filterclear,
  30338. filterApplyTemplate: $props.column.children && $props.column.children.filterapply,
  30339. filters: $props.filters,
  30340. filtersStore: $props.filtersStore,
  30341. onFilterChange: _cache[2] || (_cache[2] = $event => (_ctx.$emit('filter-change', $event))),
  30342. onFilterApply: _cache[3] || (_cache[3] = $event => (_ctx.$emit('filter-apply'))),
  30343. filterMenuStyle: $options.columnProp('filterMenuStyle'),
  30344. filterMenuClass: $options.columnProp('filterMenuClass'),
  30345. showOperator: $options.columnProp('showFilterOperator'),
  30346. showClearButton: $options.columnProp('showClearButton'),
  30347. showApplyButton: $options.columnProp('showApplyButton'),
  30348. showMatchModes: $options.columnProp('showFilterMatchModes'),
  30349. showAddButton: $options.columnProp('showAddButton'),
  30350. matchModeOptions: $options.columnProp('filterMatchModeOptions'),
  30351. maxConstraints: $options.columnProp('maxConstraints'),
  30352. onOperatorChange: _cache[4] || (_cache[4] = $event => (_ctx.$emit('operator-change',$event))),
  30353. onMatchmodeChange: _cache[5] || (_cache[5] = $event => (_ctx.$emit('matchmode-change', $event))),
  30354. onConstraintAdd: _cache[6] || (_cache[6] = $event => (_ctx.$emit('constraint-add', $event))),
  30355. onConstraintRemove: _cache[7] || (_cache[7] = $event => (_ctx.$emit('constraint-remove', $event))),
  30356. onApplyClick: _cache[8] || (_cache[8] = $event => (_ctx.$emit('apply-click',$event)))
  30357. }, null, 8, ["field", "type", "showMenu", "filterElement", "filterHeaderTemplate", "filterFooterTemplate", "filterClearTemplate", "filterApplyTemplate", "filters", "filtersStore", "filterMenuStyle", "filterMenuClass", "showOperator", "showClearButton", "showApplyButton", "showMatchModes", "showAddButton", "matchModeOptions", "maxConstraints"]))
  30358. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  30359. ])
  30360. ], 46, ["tabindex", "colspan", "rowspan", "aria-sort"]))
  30361. }
  30362. script$8.render = render$8;
  30363. var script$7 = {
  30364. name: 'TableHeader',
  30365. emits: ['column-click', 'column-mousedown', 'column-dragstart', 'column-dragover', 'column-dragleave', 'column-drop',
  30366. 'column-resizestart', 'checkbox-change', 'filter-change', 'filter-apply',
  30367. 'operator-change', 'matchmode-change', 'constraint-add', 'constraint-remove', 'filter-clear', 'apply-click'],
  30368. props: {
  30369. columnGroup: {
  30370. type: null,
  30371. default: null
  30372. },
  30373. columns: {
  30374. type: null,
  30375. default: null
  30376. },
  30377. rowGroupMode: {
  30378. type: String,
  30379. default: null
  30380. },
  30381. groupRowsBy: {
  30382. type: [Array,String],
  30383. default: null
  30384. },
  30385. resizableColumns: {
  30386. type: Boolean,
  30387. default: false
  30388. },
  30389. allRowsSelected: {
  30390. type: Boolean,
  30391. default: false
  30392. },
  30393. empty: {
  30394. type: Boolean,
  30395. default: false
  30396. },
  30397. sortMode: {
  30398. type: String,
  30399. default: 'single'
  30400. },
  30401. groupRowSortField: {
  30402. type: [String, Function],
  30403. default: null
  30404. },
  30405. sortField: {
  30406. type: [String, Function],
  30407. default: null
  30408. },
  30409. sortOrder: {
  30410. type: Number,
  30411. default: null
  30412. },
  30413. multiSortMeta: {
  30414. type: Array,
  30415. default: null
  30416. },
  30417. filterDisplay: {
  30418. type: String,
  30419. default: null
  30420. },
  30421. filters: {
  30422. type: Object,
  30423. default: null
  30424. },
  30425. filtersStore: {
  30426. type: Object,
  30427. default: null
  30428. }
  30429. },
  30430. methods: {
  30431. columnProp(col, prop) {
  30432. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.getVNodeProp(col, prop);
  30433. },
  30434. getFilterColumnHeaderClass(column) {
  30435. return ['p-filter-column', this.columnProp(column, 'filterHeaderClass'), this.columnProp(column, 'class'), {
  30436. 'p-frozen-column': this.columnProp(column, 'frozen')
  30437. }];
  30438. },
  30439. getFilterColumnHeaderStyle(column) {
  30440. return [this.columnProp(column, 'filterHeaderStyle'), this.columnProp(column, 'style')];
  30441. },
  30442. getHeaderRows() {
  30443. let rows = [];
  30444. let columnGroup = this.columnGroup;
  30445. if (columnGroup.children && columnGroup.children.default) {
  30446. for (let child of columnGroup.children.default()) {
  30447. if (child.type.name === 'Row') {
  30448. rows.push(child);
  30449. }
  30450. else if (child.children && child.children instanceof Array) {
  30451. rows = child.children;
  30452. }
  30453. }
  30454. return rows;
  30455. }
  30456. },
  30457. getHeaderColumns(row){
  30458. let cols = [];
  30459. if (row.children && row.children.default) {
  30460. row.children.default().forEach(child => {
  30461. if (child.children && child.children instanceof Array)
  30462. cols = [...cols, ...child.children];
  30463. else if (child.type.name === 'Column')
  30464. cols.push(child);
  30465. });
  30466. return cols;
  30467. }
  30468. }
  30469. },
  30470. components: {
  30471. 'DTHeaderCell': script$8,
  30472. 'DTHeaderCheckbox': script$a,
  30473. 'DTColumnFilter': script$9
  30474. }
  30475. };
  30476. const _hoisted_1$5 = {
  30477. class: "p-datatable-thead",
  30478. role: "rowgroup"
  30479. };
  30480. const _hoisted_2$3 = { role: "row" };
  30481. const _hoisted_3$2 = {
  30482. key: 0,
  30483. role: "row"
  30484. };
  30485. function render$7(_ctx, _cache, $props, $setup, $data, $options) {
  30486. const _component_DTHeaderCell = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("DTHeaderCell");
  30487. const _component_DTHeaderCheckbox = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("DTHeaderCheckbox");
  30488. const _component_DTColumnFilter = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("DTColumnFilter");
  30489. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("thead", _hoisted_1$5, [
  30490. (!$props.columnGroup)
  30491. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, { key: 0 }, [
  30492. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("tr", _hoisted_2$3, [
  30493. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)($props.columns, (col, i) => {
  30494. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, {
  30495. key: $options.columnProp(col, 'columnKey')||$options.columnProp(col, 'field')||i
  30496. }, [
  30497. (!$options.columnProp(col, 'hidden') && ($props.rowGroupMode !== 'subheader' || ($props.groupRowsBy !== $options.columnProp(col, 'field'))))
  30498. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_DTHeaderCell, {
  30499. key: 0,
  30500. column: col,
  30501. onColumnClick: _cache[1] || (_cache[1] = $event => (_ctx.$emit('column-click', $event))),
  30502. onColumnMousedown: _cache[2] || (_cache[2] = $event => (_ctx.$emit('column-mousedown', $event))),
  30503. onColumnDragstart: _cache[3] || (_cache[3] = $event => (_ctx.$emit('column-dragstart', $event))),
  30504. onColumnDragover: _cache[4] || (_cache[4] = $event => (_ctx.$emit('column-dragover', $event))),
  30505. onColumnDragleave: _cache[5] || (_cache[5] = $event => (_ctx.$emit('column-dragleave', $event))),
  30506. onColumnDrop: _cache[6] || (_cache[6] = $event => (_ctx.$emit('column-drop', $event))),
  30507. groupRowsBy: $props.groupRowsBy,
  30508. groupRowSortField: $props.groupRowSortField,
  30509. resizableColumns: $props.resizableColumns,
  30510. onColumnResizestart: _cache[7] || (_cache[7] = $event => (_ctx.$emit('column-resizestart', $event))),
  30511. sortMode: $props.sortMode,
  30512. sortField: $props.sortField,
  30513. sortOrder: $props.sortOrder,
  30514. multiSortMeta: $props.multiSortMeta,
  30515. allRowsSelected: $props.allRowsSelected,
  30516. empty: $props.empty,
  30517. onCheckboxChange: _cache[8] || (_cache[8] = $event => (_ctx.$emit('checkbox-change', $event))),
  30518. filters: $props.filters,
  30519. filterDisplay: $props.filterDisplay,
  30520. filtersStore: $props.filtersStore,
  30521. onFilterChange: _cache[9] || (_cache[9] = $event => (_ctx.$emit('filter-change', $event))),
  30522. onFilterApply: _cache[10] || (_cache[10] = $event => (_ctx.$emit('filter-apply'))),
  30523. onOperatorChange: _cache[11] || (_cache[11] = $event => (_ctx.$emit('operator-change',$event))),
  30524. onMatchmodeChange: _cache[12] || (_cache[12] = $event => (_ctx.$emit('matchmode-change', $event))),
  30525. onConstraintAdd: _cache[13] || (_cache[13] = $event => (_ctx.$emit('constraint-add', $event))),
  30526. onConstraintRemove: _cache[14] || (_cache[14] = $event => (_ctx.$emit('constraint-remove', $event))),
  30527. onApplyClick: _cache[15] || (_cache[15] = $event => (_ctx.$emit('apply-click',$event)))
  30528. }, null, 8, ["column", "groupRowsBy", "groupRowSortField", "resizableColumns", "sortMode", "sortField", "sortOrder", "multiSortMeta", "allRowsSelected", "empty", "filters", "filterDisplay", "filtersStore"]))
  30529. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  30530. ], 64))
  30531. }), 128))
  30532. ]),
  30533. ($props.filterDisplay === 'row')
  30534. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("tr", _hoisted_3$2, [
  30535. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)($props.columns, (col, i) => {
  30536. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, {
  30537. key: $options.columnProp(col, 'columnKey')||$options.columnProp(col, 'field')||i
  30538. }, [
  30539. (!$options.columnProp(col, 'hidden') && ($props.rowGroupMode !== 'subheader' || ($props.groupRowsBy !== $options.columnProp(col, 'field'))))
  30540. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("th", {
  30541. key: 0,
  30542. style: $options.getFilterColumnHeaderStyle(col),
  30543. class: $options.getFilterColumnHeaderClass(col)
  30544. }, [
  30545. ($options.columnProp(col, 'selectionMode') ==='multiple')
  30546. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_DTHeaderCheckbox, {
  30547. key: 0,
  30548. checked: $props.allRowsSelected,
  30549. onChange: _cache[16] || (_cache[16] = $event => (_ctx.$emit('checkbox-change', $event))),
  30550. disabled: $props.empty
  30551. }, null, 8, ["checked", "disabled"]))
  30552. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  30553. (col.children && col.children.filter)
  30554. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_DTColumnFilter, {
  30555. key: 1,
  30556. field: $options.columnProp(col,'filterField')||$options.columnProp(col,'field'),
  30557. type: $options.columnProp(col,'dataType'),
  30558. display: "row",
  30559. showMenu: $options.columnProp(col,'showFilterMenu'),
  30560. filterElement: col.children && col.children.filter,
  30561. filterHeaderTemplate: col.children && col.children.filterheader,
  30562. filterFooterTemplate: col.children && col.children.filterfooter,
  30563. filterClearTemplate: col.children && col.children.filterclear,
  30564. filterApplyTemplate: col.children && col.children.filterapply,
  30565. filters: $props.filters,
  30566. filtersStore: $props.filtersStore,
  30567. onFilterChange: _cache[17] || (_cache[17] = $event => (_ctx.$emit('filter-change', $event))),
  30568. onFilterApply: _cache[18] || (_cache[18] = $event => (_ctx.$emit('filter-apply'))),
  30569. filterMenuStyle: $options.columnProp(col,'filterMenuStyle'),
  30570. filterMenuClass: $options.columnProp(col,'filterMenuClass'),
  30571. showOperator: $options.columnProp(col,'showFilterOperator'),
  30572. showClearButton: $options.columnProp(col,'showClearButton'),
  30573. showApplyButton: $options.columnProp(col,'showApplyButton'),
  30574. showMatchModes: $options.columnProp(col,'showFilterMatchModes'),
  30575. showAddButton: $options.columnProp(col,'showAddButton'),
  30576. matchModeOptions: $options.columnProp(col,'filterMatchModeOptions'),
  30577. maxConstraints: $options.columnProp(col,'maxConstraints'),
  30578. onOperatorChange: _cache[19] || (_cache[19] = $event => (_ctx.$emit('operator-change',$event))),
  30579. onMatchmodeChange: _cache[20] || (_cache[20] = $event => (_ctx.$emit('matchmode-change', $event))),
  30580. onConstraintAdd: _cache[21] || (_cache[21] = $event => (_ctx.$emit('constraint-add', $event))),
  30581. onConstraintRemove: _cache[22] || (_cache[22] = $event => (_ctx.$emit('constraint-remove', $event))),
  30582. onApplyClick: _cache[23] || (_cache[23] = $event => (_ctx.$emit('apply-click',$event)))
  30583. }, null, 8, ["field", "type", "showMenu", "filterElement", "filterHeaderTemplate", "filterFooterTemplate", "filterClearTemplate", "filterApplyTemplate", "filters", "filtersStore", "filterMenuStyle", "filterMenuClass", "showOperator", "showClearButton", "showApplyButton", "showMatchModes", "showAddButton", "matchModeOptions", "maxConstraints"]))
  30584. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  30585. ], 6))
  30586. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  30587. ], 64))
  30588. }), 128))
  30589. ]))
  30590. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  30591. ], 64))
  30592. : ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, { key: 1 }, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)($options.getHeaderRows(), (row, i) => {
  30593. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("tr", {
  30594. key: i,
  30595. role: "row"
  30596. }, [
  30597. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)($options.getHeaderColumns(row), (col, j) => {
  30598. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, {
  30599. key: $options.columnProp(col, 'columnKey')||$options.columnProp(col, 'field')||j
  30600. }, [
  30601. (!$options.columnProp(col, 'hidden') && ($props.rowGroupMode !== 'subheader' || ($props.groupRowsBy !== $options.columnProp(col, 'field'))) && (typeof col.children !== 'string'))
  30602. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_DTHeaderCell, {
  30603. key: 0,
  30604. column: col,
  30605. onColumnClick: _cache[24] || (_cache[24] = $event => (_ctx.$emit('column-click', $event))),
  30606. onColumnMousedown: _cache[25] || (_cache[25] = $event => (_ctx.$emit('column-mousedown', $event))),
  30607. groupRowsBy: $props.groupRowsBy,
  30608. groupRowSortField: $props.groupRowSortField,
  30609. sortMode: $props.sortMode,
  30610. sortField: $props.sortField,
  30611. sortOrder: $props.sortOrder,
  30612. multiSortMeta: $props.multiSortMeta,
  30613. allRowsSelected: $props.allRowsSelected,
  30614. empty: $props.empty,
  30615. onCheckboxChange: _cache[26] || (_cache[26] = $event => (_ctx.$emit('checkbox-change', $event))),
  30616. filters: $props.filters,
  30617. filterDisplay: $props.filterDisplay,
  30618. filtersStore: $props.filtersStore,
  30619. onFilterChange: _cache[27] || (_cache[27] = $event => (_ctx.$emit('filter-change', $event))),
  30620. onFilterApply: _cache[28] || (_cache[28] = $event => (_ctx.$emit('filter-apply'))),
  30621. onOperatorChange: _cache[29] || (_cache[29] = $event => (_ctx.$emit('operator-change',$event))),
  30622. onMatchmodeChange: _cache[30] || (_cache[30] = $event => (_ctx.$emit('matchmode-change', $event))),
  30623. onConstraintAdd: _cache[31] || (_cache[31] = $event => (_ctx.$emit('constraint-add', $event))),
  30624. onConstraintRemove: _cache[32] || (_cache[32] = $event => (_ctx.$emit('constraint-remove', $event))),
  30625. onApplyClick: _cache[33] || (_cache[33] = $event => (_ctx.$emit('apply-click',$event)))
  30626. }, null, 8, ["column", "groupRowsBy", "groupRowSortField", "sortMode", "sortField", "sortOrder", "multiSortMeta", "allRowsSelected", "empty", "filters", "filterDisplay", "filtersStore"]))
  30627. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  30628. ], 64))
  30629. }), 128))
  30630. ]))
  30631. }), 128))
  30632. ]))
  30633. }
  30634. script$7.render = render$7;
  30635. var script$6 = {
  30636. name: 'RowRadioButton',
  30637. inheritAttrs: false,
  30638. emits: ['change'],
  30639. props: {
  30640. value: null,
  30641. checked: null
  30642. },
  30643. data() {
  30644. return {
  30645. focused: false
  30646. };
  30647. },
  30648. methods: {
  30649. onClick(event) {
  30650. if (!this.disabled) {
  30651. if (!this.checked) {
  30652. this.$emit('change', {
  30653. originalEvent: event,
  30654. data: this.value
  30655. });
  30656. }
  30657. }
  30658. },
  30659. onFocus() {
  30660. this.focused = true;
  30661. },
  30662. onBlur() {
  30663. this.focused = false;
  30664. }
  30665. }
  30666. };
  30667. const _hoisted_1$4 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("div", { class: "p-radiobutton-icon" }, null, -1);
  30668. function render$6(_ctx, _cache, $props, $setup, $data, $options) {
  30669. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", {
  30670. class: ['p-radiobutton p-component', {'p-radiobutton-focused': $data.focused}],
  30671. onClick: _cache[1] || (_cache[1] = (...args) => ($options.onClick && $options.onClick(...args))),
  30672. tabindex: "0",
  30673. onFocus: _cache[2] || (_cache[2] = $event => ($options.onFocus($event))),
  30674. onBlur: _cache[3] || (_cache[3] = $event => ($options.onBlur($event))),
  30675. onKeydown: _cache[4] || (_cache[4] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)((0,vue__WEBPACK_IMPORTED_MODULE_4__.withModifiers)((...args) => ($options.onClick && $options.onClick(...args)), ["prevent"]), ["space"]))
  30676. }, [
  30677. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("div", {
  30678. ref: "box",
  30679. class: ['p-radiobutton-box p-component', {'p-highlight': $props.checked, 'p-disabled': _ctx.$attrs.disabled, 'p-focus': $data.focused}],
  30680. role: "radio",
  30681. "aria-checked": $props.checked
  30682. }, [
  30683. _hoisted_1$4
  30684. ], 10, ["aria-checked"])
  30685. ], 34))
  30686. }
  30687. script$6.render = render$6;
  30688. var script$5 = {
  30689. name: 'RowCheckbox',
  30690. inheritAttrs: false,
  30691. emits: ['change'],
  30692. props: {
  30693. value: null,
  30694. checked: null
  30695. },
  30696. data() {
  30697. return {
  30698. focused: false
  30699. };
  30700. },
  30701. methods: {
  30702. onClick(event) {
  30703. if (!this.$attrs.disabled) {
  30704. this.focused = true;
  30705. this.$emit('change', {
  30706. originalEvent: event,
  30707. data: this.value
  30708. });
  30709. }
  30710. },
  30711. onFocus() {
  30712. this.focused = true;
  30713. },
  30714. onBlur() {
  30715. this.focused = false;
  30716. }
  30717. }
  30718. };
  30719. function render$5(_ctx, _cache, $props, $setup, $data, $options) {
  30720. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", {
  30721. class: ['p-checkbox p-component', {'p-checkbox-focused': $data.focused}],
  30722. onClick: _cache[4] || (_cache[4] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withModifiers)((...args) => ($options.onClick && $options.onClick(...args)), ["stop","prevent"]))
  30723. }, [
  30724. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("div", {
  30725. ref: "box",
  30726. class: ['p-checkbox-box p-component', {'p-highlight': $props.checked, 'p-disabled': _ctx.$attrs.disabled, 'p-focus': $data.focused}],
  30727. role: "checkbox",
  30728. "aria-checked": $props.checked,
  30729. tabindex: _ctx.$attrs.disabled ? null : '0',
  30730. onKeydown: _cache[1] || (_cache[1] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)((0,vue__WEBPACK_IMPORTED_MODULE_4__.withModifiers)((...args) => ($options.onClick && $options.onClick(...args)), ["prevent"]), ["space"])),
  30731. onFocus: _cache[2] || (_cache[2] = $event => ($options.onFocus($event))),
  30732. onBlur: _cache[3] || (_cache[3] = $event => ($options.onBlur($event)))
  30733. }, [
  30734. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", {
  30735. class: ['p-checkbox-icon', {'pi pi-check': $props.checked}]
  30736. }, null, 2)
  30737. ], 42, ["aria-checked", "tabindex"])
  30738. ], 2))
  30739. }
  30740. script$5.render = render$5;
  30741. var script$4 = {
  30742. name: 'BodyCell',
  30743. emits: ['cell-edit-init', 'cell-edit-complete', 'cell-edit-cancel', 'row-edit-init', 'row-edit-save', 'row-edit-cancel',
  30744. 'row-toggle', 'radio-change', 'checkbox-change', 'editing-meta-change'],
  30745. props: {
  30746. rowData: {
  30747. type: Object,
  30748. default: null
  30749. },
  30750. column: {
  30751. type: Object,
  30752. default: null
  30753. },
  30754. frozenRow: {
  30755. type: Boolean,
  30756. default: false
  30757. },
  30758. rowIndex: {
  30759. type: Number,
  30760. default: null
  30761. },
  30762. index: {
  30763. type: Number,
  30764. default: null
  30765. },
  30766. rowTogglerIcon: {
  30767. type: Array,
  30768. default: null
  30769. },
  30770. selected: {
  30771. type: Boolean,
  30772. default: false
  30773. },
  30774. editing: {
  30775. type: Boolean,
  30776. default: false
  30777. },
  30778. editingMeta: {
  30779. type: Object,
  30780. default: null
  30781. },
  30782. editMode: {
  30783. type: String,
  30784. default: null
  30785. },
  30786. responsiveLayout: {
  30787. type: String,
  30788. default: 'stack'
  30789. },
  30790. virtualScrollerContentProps: {
  30791. type: Object,
  30792. default: null
  30793. }
  30794. },
  30795. documentEditListener: null,
  30796. selfClick: false,
  30797. overlayEventListener: null,
  30798. data() {
  30799. return {
  30800. d_editing: this.editing,
  30801. styleObject: {}
  30802. }
  30803. },
  30804. watch: {
  30805. editing(newValue) {
  30806. this.d_editing = newValue;
  30807. },
  30808. '$data.d_editing': function(newValue) {
  30809. this.$emit('editing-meta-change', {data: this.rowData, field: (this.field || `field_${this.index}`), index: this.rowIndex, editing: newValue});
  30810. }
  30811. },
  30812. mounted() {
  30813. if (this.columnProp('frozen')) {
  30814. this.updateStickyPosition();
  30815. }
  30816. },
  30817. updated() {
  30818. if (this.columnProp('frozen')) {
  30819. this.updateStickyPosition();
  30820. }
  30821. if (this.d_editing && (this.editMode === 'cell' || (this.editMode === 'row' && this.columnProp('rowEditor')))) {
  30822. const focusableEl = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getFirstFocusableElement(this.$el);
  30823. focusableEl && focusableEl.focus();
  30824. }
  30825. },
  30826. beforeUnmount() {
  30827. if (this.overlayEventListener) {
  30828. primevue_overlayeventbus__WEBPACK_IMPORTED_MODULE_5__["default"].off('overlay-click', this.overlayEventListener);
  30829. this.overlayEventListener = null;
  30830. }
  30831. },
  30832. methods: {
  30833. columnProp(prop) {
  30834. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.getVNodeProp(this.column, prop);
  30835. },
  30836. resolveFieldData() {
  30837. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(this.rowData, this.field);
  30838. },
  30839. toggleRow(event) {
  30840. this.$emit('row-toggle', {
  30841. originalEvent: event,
  30842. data: this.rowData
  30843. });
  30844. },
  30845. toggleRowWithRadio(event, index) {
  30846. this.$emit('radio-change', { originalEvent: event.originalEvent, index: index, data: event.data});
  30847. },
  30848. toggleRowWithCheckbox(event, index) {
  30849. this.$emit('checkbox-change', { originalEvent: event.originalEvent, index: index, data: event.data });
  30850. },
  30851. isEditable() {
  30852. return this.column.children && this.column.children.editor != null;
  30853. },
  30854. bindDocumentEditListener() {
  30855. if (!this.documentEditListener) {
  30856. this.documentEditListener = (event) => {
  30857. if (!this.selfClick) {
  30858. this.completeEdit(event, 'outside');
  30859. }
  30860. this.selfClick = false;
  30861. };
  30862. document.addEventListener('click', this.documentEditListener);
  30863. }
  30864. },
  30865. unbindDocumentEditListener() {
  30866. if (this.documentEditListener) {
  30867. document.removeEventListener('click', this.documentEditListener);
  30868. this.documentEditListener = null;
  30869. this.selfClick = false;
  30870. }
  30871. },
  30872. switchCellToViewMode() {
  30873. this.d_editing = false;
  30874. this.unbindDocumentEditListener();
  30875. primevue_overlayeventbus__WEBPACK_IMPORTED_MODULE_5__["default"].off('overlay-click', this.overlayEventListener);
  30876. this.overlayEventListener = null;
  30877. },
  30878. onClick(event) {
  30879. if (this.editMode === 'cell' && this.isEditable()) {
  30880. this.selfClick = true;
  30881. if (!this.d_editing) {
  30882. this.d_editing = true;
  30883. this.bindDocumentEditListener();
  30884. this.$emit('cell-edit-init', {originalEvent: event, data: this.rowData, field: this.field, index: this.rowIndex});
  30885. this.overlayEventListener = (e) => {
  30886. if (this.$el && this.$el.contains(e.target)) {
  30887. this.selfClick = true;
  30888. }
  30889. };
  30890. primevue_overlayeventbus__WEBPACK_IMPORTED_MODULE_5__["default"].on('overlay-click', this.overlayEventListener);
  30891. }
  30892. }
  30893. },
  30894. completeEdit(event, type) {
  30895. const completeEvent = {
  30896. originalEvent: event,
  30897. data: this.rowData,
  30898. newData: this.editingRowData,
  30899. value: this.rowData[this.field],
  30900. newValue: this.editingRowData[this.field],
  30901. field: this.field,
  30902. index: this.rowIndex,
  30903. type: type,
  30904. defaultPrevented: false,
  30905. preventDefault: function() {
  30906. this.defaultPrevented = true;
  30907. }
  30908. };
  30909. this.$emit('cell-edit-complete', completeEvent);
  30910. if (!completeEvent.defaultPrevented) {
  30911. this.switchCellToViewMode();
  30912. }
  30913. },
  30914. onKeyDown(event) {
  30915. if (this.editMode === 'cell') {
  30916. switch (event.which) {
  30917. case 13:
  30918. this.completeEdit(event, 'enter');
  30919. break;
  30920. case 27:
  30921. this.switchCellToViewMode();
  30922. this.$emit('cell-edit-cancel', {originalEvent: event, data: this.rowData, field: this.field, index: this.rowIndex});
  30923. break;
  30924. case 9:
  30925. this.completeEdit(event, 'tab');
  30926. if (event.shiftKey)
  30927. this.moveToPreviousCell(event);
  30928. else
  30929. this.moveToNextCell(event);
  30930. break;
  30931. }
  30932. }
  30933. },
  30934. moveToPreviousCell(event) {
  30935. let currentCell = this.findCell(event.target);
  30936. let targetCell = this.findPreviousEditableColumn(currentCell);
  30937. if (targetCell) {
  30938. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.invokeElementMethod(targetCell, 'click');
  30939. event.preventDefault();
  30940. }
  30941. },
  30942. moveToNextCell(event) {
  30943. let currentCell = this.findCell(event.target);
  30944. let targetCell = this.findNextEditableColumn(currentCell);
  30945. if (targetCell) {
  30946. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.invokeElementMethod(targetCell, 'click');
  30947. event.preventDefault();
  30948. }
  30949. },
  30950. findCell(element) {
  30951. if (element) {
  30952. let cell = element;
  30953. while (cell && !primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(cell, 'p-cell-editing')) {
  30954. cell = cell.parentElement;
  30955. }
  30956. return cell;
  30957. }
  30958. else {
  30959. return null;
  30960. }
  30961. },
  30962. findPreviousEditableColumn(cell) {
  30963. let prevCell = cell.previousElementSibling;
  30964. if (!prevCell) {
  30965. let previousRow = cell.parentElement.previousElementSibling;
  30966. if (previousRow) {
  30967. prevCell = previousRow.lastElementChild;
  30968. }
  30969. }
  30970. if (prevCell) {
  30971. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(prevCell, 'p-editable-column'))
  30972. return prevCell;
  30973. else
  30974. return this.findPreviousEditableColumn(prevCell);
  30975. }
  30976. else {
  30977. return null;
  30978. }
  30979. },
  30980. findNextEditableColumn(cell) {
  30981. let nextCell = cell.nextElementSibling;
  30982. if (!nextCell) {
  30983. let nextRow = cell.parentElement.nextElementSibling;
  30984. if (nextRow) {
  30985. nextCell = nextRow.firstElementChild;
  30986. }
  30987. }
  30988. if (nextCell) {
  30989. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(nextCell, 'p-editable-column'))
  30990. return nextCell;
  30991. else
  30992. return this.findNextEditableColumn(nextCell);
  30993. }
  30994. else {
  30995. return null;
  30996. }
  30997. },
  30998. isEditingCellValid() {
  30999. return (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.find(this.$el, '.p-invalid').length === 0);
  31000. },
  31001. onRowEditInit(event) {
  31002. this.$emit('row-edit-init', {originalEvent: event, data: this.rowData, newData: this.editingRowData, field: this.field, index: this.rowIndex});
  31003. },
  31004. onRowEditSave(event) {
  31005. this.$emit('row-edit-save', {originalEvent: event, data: this.rowData, newData: this.editingRowData, field: this.field, index: this.rowIndex});
  31006. },
  31007. onRowEditCancel(event) {
  31008. this.$emit('row-edit-cancel', {originalEvent: event, data: this.rowData, newData: this.editingRowData, field: this.field, index: this.rowIndex});
  31009. },
  31010. editorInitCallback(event) {
  31011. this.$emit('row-edit-init', {originalEvent: event, data: this.rowData, newData: this.editingRowData, field: this.field, index: this.rowIndex});
  31012. },
  31013. editorSaveCallback(event) {
  31014. this.$emit('row-edit-save', {originalEvent: event, data: this.rowData, newData: this.editingRowData, field: this.field, index: this.rowIndex});
  31015. },
  31016. editorCancelCallback(event) {
  31017. this.$emit('row-edit-cancel', {originalEvent: event, data: this.rowData, newData: this.editingRowData, field: this.field, index: this.rowIndex});
  31018. },
  31019. updateStickyPosition() {
  31020. if (this.columnProp('frozen')) {
  31021. let align = this.columnProp('alignFrozen');
  31022. if (align === 'right') {
  31023. let right = 0;
  31024. let next = this.$el.nextElementSibling;
  31025. if (next) {
  31026. right = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(next) + parseFloat(next.style.right || 0);
  31027. }
  31028. this.styleObject.right = right + 'px';
  31029. }
  31030. else {
  31031. let left = 0;
  31032. let prev = this.$el.previousElementSibling;
  31033. if (prev) {
  31034. left = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(prev) + parseFloat(prev.style.left || 0);
  31035. }
  31036. this.styleObject.left = left + 'px';
  31037. }
  31038. }
  31039. },
  31040. getVirtualScrollerProp(option) {
  31041. return this.virtualScrollerContentProps ? this.virtualScrollerContentProps[option] : null;
  31042. }
  31043. },
  31044. computed: {
  31045. editingRowData() {
  31046. return this.editingMeta[this.rowIndex] ? this.editingMeta[this.rowIndex].data : this.rowData;
  31047. },
  31048. field() {
  31049. return this.columnProp('field');
  31050. },
  31051. containerClass() {
  31052. return [this.columnProp('bodyClass'), this.columnProp('class'), {
  31053. 'p-selection-column': this.columnProp('selectionMode') != null,
  31054. 'p-editable-column': this.isEditable(),
  31055. 'p-cell-editing': this.d_editing,
  31056. 'p-frozen-column': this.columnProp('frozen')
  31057. }];
  31058. },
  31059. containerStyle() {
  31060. let bodyStyle = this.columnProp('bodyStyle');
  31061. let columnStyle = this.columnProp('style');
  31062. return this.columnProp('frozen') ? [columnStyle, bodyStyle, this.styleObject]: [columnStyle, bodyStyle];
  31063. },
  31064. loading() {
  31065. return this.getVirtualScrollerProp('loading');
  31066. },
  31067. loadingOptions() {
  31068. const getLoaderOptions = this.getVirtualScrollerProp('getLoaderOptions');
  31069. return getLoaderOptions && getLoaderOptions(this.rowIndex, {
  31070. cellIndex: this.index,
  31071. cellFirst: this.index === 0,
  31072. cellLast: this.index === (this.getVirtualScrollerProp('columns').length - 1),
  31073. cellEven: this.index % 2 === 0,
  31074. cellOdd: this.index % 2 !== 0,
  31075. column: this.column,
  31076. field: this.field
  31077. });
  31078. }
  31079. },
  31080. components: {
  31081. 'DTRadioButton': script$6,
  31082. 'DTCheckbox': script$5
  31083. },
  31084. directives: {
  31085. 'ripple': primevue_ripple__WEBPACK_IMPORTED_MODULE_8__["default"]
  31086. }
  31087. };
  31088. const _hoisted_1$3 = {
  31089. key: 0,
  31090. class: "p-column-title"
  31091. };
  31092. const _hoisted_2$2 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", { class: "p-row-editor-init-icon pi pi-fw pi-pencil" }, null, -1);
  31093. const _hoisted_3$1 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", { class: "p-row-editor-save-icon pi pi-fw pi-check" }, null, -1);
  31094. const _hoisted_4$1 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", { class: "p-row-editor-cancel-icon pi pi-fw pi-times" }, null, -1);
  31095. function render$4(_ctx, _cache, $props, $setup, $data, $options) {
  31096. const _component_DTRadioButton = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("DTRadioButton");
  31097. const _component_DTCheckbox = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("DTCheckbox");
  31098. const _directive_ripple = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDirective)("ripple");
  31099. return ($options.loading)
  31100. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("td", {
  31101. key: 0,
  31102. style: $options.containerStyle,
  31103. class: $options.containerClass
  31104. }, [
  31105. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.column.children.loading), {
  31106. data: $props.rowData,
  31107. column: $props.column,
  31108. field: $options.field,
  31109. index: $props.rowIndex,
  31110. frozenRow: $props.frozenRow,
  31111. loadingOptions: $options.loadingOptions
  31112. }, null, 8, ["data", "column", "field", "index", "frozenRow", "loadingOptions"]))
  31113. ], 6))
  31114. : ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("td", {
  31115. key: 1,
  31116. style: $options.containerStyle,
  31117. class: $options.containerClass,
  31118. onClick: _cache[7] || (_cache[7] = (...args) => ($options.onClick && $options.onClick(...args))),
  31119. onKeydown: _cache[8] || (_cache[8] = (...args) => ($options.onKeyDown && $options.onKeyDown(...args))),
  31120. role: "cell"
  31121. }, [
  31122. ($props.responsiveLayout === 'stack')
  31123. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("span", _hoisted_1$3, (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($options.columnProp('header')), 1))
  31124. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  31125. ($props.column.children && $props.column.children.body && !$data.d_editing)
  31126. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.column.children.body), {
  31127. key: 1,
  31128. data: $props.rowData,
  31129. column: $props.column,
  31130. field: $options.field,
  31131. index: $props.rowIndex,
  31132. frozenRow: $props.frozenRow,
  31133. editorInitCallback: $options.editorInitCallback
  31134. }, null, 8, ["data", "column", "field", "index", "frozenRow", "editorInitCallback"]))
  31135. : ($props.column.children && $props.column.children.editor && $data.d_editing)
  31136. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.column.children.editor), {
  31137. key: 2,
  31138. data: $options.editingRowData,
  31139. column: $props.column,
  31140. field: $options.field,
  31141. index: $props.rowIndex,
  31142. frozenRow: $props.frozenRow,
  31143. editorSaveCallback: $options.editorSaveCallback,
  31144. editorCancelCallback: $options.editorCancelCallback
  31145. }, null, 8, ["data", "column", "field", "index", "frozenRow", "editorSaveCallback", "editorCancelCallback"]))
  31146. : ($props.column.children && $props.column.children.body && !$props.column.children.editor && $data.d_editing)
  31147. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.column.children.body), {
  31148. key: 3,
  31149. data: $options.editingRowData,
  31150. column: $props.column,
  31151. field: $options.field,
  31152. index: $props.rowIndex,
  31153. frozenRow: $props.frozenRow
  31154. }, null, 8, ["data", "column", "field", "index", "frozenRow"]))
  31155. : ($options.columnProp('selectionMode'))
  31156. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, { key: 4 }, [
  31157. ($options.columnProp('selectionMode') === 'single')
  31158. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_DTRadioButton, {
  31159. key: 0,
  31160. value: $props.rowData,
  31161. checked: $props.selected,
  31162. onChange: _cache[1] || (_cache[1] = $event => ($options.toggleRowWithRadio($event, $props.rowIndex)))
  31163. }, null, 8, ["value", "checked"]))
  31164. : ($options.columnProp('selectionMode') ==='multiple')
  31165. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_DTCheckbox, {
  31166. key: 1,
  31167. value: $props.rowData,
  31168. checked: $props.selected,
  31169. onChange: _cache[2] || (_cache[2] = $event => ($options.toggleRowWithCheckbox($event, $props.rowIndex)))
  31170. }, null, 8, ["value", "checked"]))
  31171. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  31172. ], 64))
  31173. : ($options.columnProp('rowReorder'))
  31174. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("i", {
  31175. key: 5,
  31176. class: ['p-datatable-reorderablerow-handle', ($options.columnProp('rowReorderIcon') || 'pi pi-bars')]
  31177. }, null, 2))
  31178. : ($options.columnProp('expander'))
  31179. ? (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("button", {
  31180. key: 6,
  31181. class: "p-row-toggler p-link",
  31182. onClick: _cache[3] || (_cache[3] = (...args) => ($options.toggleRow && $options.toggleRow(...args))),
  31183. type: "button"
  31184. }, [
  31185. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", { class: $props.rowTogglerIcon }, null, 2)
  31186. ], 512)), [
  31187. [_directive_ripple]
  31188. ])
  31189. : ($props.editMode === 'row' && $options.columnProp('rowEditor'))
  31190. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, { key: 7 }, [
  31191. (!$data.d_editing)
  31192. ? (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("button", {
  31193. key: 0,
  31194. class: "p-row-editor-init p-link",
  31195. onClick: _cache[4] || (_cache[4] = (...args) => ($options.onRowEditInit && $options.onRowEditInit(...args))),
  31196. type: "button"
  31197. }, [
  31198. _hoisted_2$2
  31199. ], 512)), [
  31200. [_directive_ripple]
  31201. ])
  31202. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  31203. ($data.d_editing)
  31204. ? (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("button", {
  31205. key: 1,
  31206. class: "p-row-editor-save p-link",
  31207. onClick: _cache[5] || (_cache[5] = (...args) => ($options.onRowEditSave && $options.onRowEditSave(...args))),
  31208. type: "button"
  31209. }, [
  31210. _hoisted_3$1
  31211. ], 512)), [
  31212. [_directive_ripple]
  31213. ])
  31214. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  31215. ($data.d_editing)
  31216. ? (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("button", {
  31217. key: 2,
  31218. class: "p-row-editor-cancel p-link",
  31219. onClick: _cache[6] || (_cache[6] = (...args) => ($options.onRowEditCancel && $options.onRowEditCancel(...args))),
  31220. type: "button"
  31221. }, [
  31222. _hoisted_4$1
  31223. ], 512)), [
  31224. [_directive_ripple]
  31225. ])
  31226. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  31227. ], 64))
  31228. : ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, { key: 8 }, [
  31229. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($options.resolveFieldData()), 1)
  31230. ], 64))
  31231. ], 38))
  31232. }
  31233. script$4.render = render$4;
  31234. var script$3 = {
  31235. name: 'TableBody',
  31236. emits: ['rowgroup-toggle', 'row-click', 'row-dblclick', 'row-rightclick', 'row-touchend', 'row-keydown', 'row-mousedown',
  31237. 'row-dragstart', 'row-dragover', 'row-dragleave', 'row-dragend', 'row-drop', 'row-toggle',
  31238. 'radio-change', 'checkbox-change', 'cell-edit-init', 'cell-edit-complete', 'cell-edit-cancel',
  31239. 'row-edit-init', 'row-edit-save', 'row-edit-cancel', 'editing-meta-change'],
  31240. props: {
  31241. value: {
  31242. type: Array,
  31243. default: null
  31244. },
  31245. columns: {
  31246. type: null,
  31247. default: null
  31248. },
  31249. frozenRow: {
  31250. type: Boolean,
  31251. default: false
  31252. },
  31253. empty: {
  31254. type: Boolean,
  31255. default: false
  31256. },
  31257. rowGroupMode: {
  31258. type: String,
  31259. default: null
  31260. },
  31261. groupRowsBy: {
  31262. type: [Array,String],
  31263. default: null
  31264. },
  31265. expandableRowGroups: {
  31266. type: Boolean,
  31267. default: false
  31268. },
  31269. expandedRowGroups: {
  31270. type: Array,
  31271. default: null
  31272. },
  31273. dataKey: {
  31274. type: String,
  31275. default: null
  31276. },
  31277. expandedRowIcon: {
  31278. type: String,
  31279. default: null
  31280. },
  31281. collapsedRowIcon: {
  31282. type: String,
  31283. default: null
  31284. },
  31285. expandedRows: {
  31286. type: Array,
  31287. default: null
  31288. },
  31289. expandedRowKeys: {
  31290. type: null,
  31291. default: null
  31292. },
  31293. selection: {
  31294. type: [Array,Object],
  31295. default: null
  31296. },
  31297. selectionKeys: {
  31298. type: null,
  31299. default: null
  31300. },
  31301. selectionMode: {
  31302. type: String,
  31303. default: null
  31304. },
  31305. contextMenu: {
  31306. type: Boolean,
  31307. default: false
  31308. },
  31309. contextMenuSelection: {
  31310. type: Object,
  31311. default: null
  31312. },
  31313. rowClass: {
  31314. type: null,
  31315. default: null
  31316. },
  31317. rowStyle: {
  31318. type: null,
  31319. default: null
  31320. },
  31321. editMode: {
  31322. type: String,
  31323. default: null
  31324. },
  31325. compareSelectionBy: {
  31326. type: String,
  31327. default: 'deepEquals'
  31328. },
  31329. editingRows: {
  31330. type: Array,
  31331. default: null
  31332. },
  31333. editingRowKeys: {
  31334. type: null,
  31335. default: null
  31336. },
  31337. editingMeta: {
  31338. type: Object,
  31339. default: null
  31340. },
  31341. loading: {
  31342. type: Boolean,
  31343. default: false
  31344. },
  31345. templates: {
  31346. type: null,
  31347. default: null
  31348. },
  31349. scrollable: {
  31350. type: Boolean,
  31351. default: false
  31352. },
  31353. responsiveLayout: {
  31354. type: String,
  31355. default: 'stack'
  31356. },
  31357. virtualScrollerContentProps: {
  31358. type: Object,
  31359. default: null
  31360. },
  31361. isVirtualScrollerDisabled: {
  31362. type: Boolean,
  31363. default: false
  31364. }
  31365. },
  31366. watch: {
  31367. virtualScrollerContentProps(newValue, oldValue) {
  31368. if (!this.isVirtualScrollerDisabled && this.getVirtualScrollerProp('vertical') && this.getVirtualScrollerProp('itemSize', oldValue) !== this.getVirtualScrollerProp('itemSize', newValue)) {
  31369. this.updateVirtualScrollerPosition();
  31370. }
  31371. }
  31372. },
  31373. mounted() {
  31374. if (this.frozenRow) {
  31375. this.updateFrozenRowStickyPosition();
  31376. }
  31377. if (this.scrollable && this.rowGroupMode === 'subheader') {
  31378. this.updateFrozenRowGroupHeaderStickyPosition();
  31379. }
  31380. if (!this.isVirtualScrollerDisabled && this.getVirtualScrollerProp('vertical')) {
  31381. this.updateVirtualScrollerPosition();
  31382. }
  31383. },
  31384. updated() {
  31385. if (this.frozenRow) {
  31386. this.updateFrozenRowStickyPosition();
  31387. }
  31388. if (this.scrollable && this.rowGroupMode === 'subheader') {
  31389. this.updateFrozenRowGroupHeaderStickyPosition();
  31390. }
  31391. },
  31392. data() {
  31393. return {
  31394. rowGroupHeaderStyleObject: {}
  31395. }
  31396. },
  31397. methods: {
  31398. columnProp(col, prop) {
  31399. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.getVNodeProp(col, prop);
  31400. },
  31401. shouldRenderRowGroupHeader(value, rowData, i) {
  31402. let currentRowFieldData = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(rowData, this.groupRowsBy);
  31403. let prevRowData = value[i - 1];
  31404. if (prevRowData) {
  31405. let previousRowFieldData = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(prevRowData, this.groupRowsBy);
  31406. return currentRowFieldData !== previousRowFieldData;
  31407. }
  31408. else {
  31409. return true;
  31410. }
  31411. },
  31412. getRowKey(rowData, index) {
  31413. return this.dataKey ? primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(rowData, this.dataKey): index;
  31414. },
  31415. getRowIndex(index) {
  31416. const getItemOptions = this.getVirtualScrollerProp('getItemOptions');
  31417. return getItemOptions ? getItemOptions(index).index : index;
  31418. },
  31419. getRowClass(rowData) {
  31420. let rowStyleClass = [];
  31421. if (this.selectionMode) {
  31422. rowStyleClass.push('p-selectable-row');
  31423. }
  31424. if (this.selection) {
  31425. rowStyleClass.push({
  31426. 'p-highlight': this.isSelected(rowData)
  31427. });
  31428. }
  31429. if (this.contextMenuSelection) {
  31430. rowStyleClass.push({
  31431. 'p-highlight-contextmenu': this.isSelectedWithContextMenu(rowData)
  31432. });
  31433. }
  31434. if (this.rowClass) {
  31435. let rowClassValue = this.rowClass(rowData);
  31436. if (rowClassValue) {
  31437. rowStyleClass.push(rowClassValue);
  31438. }
  31439. }
  31440. return rowStyleClass;
  31441. },
  31442. shouldRenderRowGroupFooter(value, rowData, i) {
  31443. if (this.expandableRowGroups && !this.isRowGroupExpanded(rowData)) {
  31444. return false;
  31445. }
  31446. else {
  31447. let currentRowFieldData = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(rowData, this.groupRowsBy);
  31448. let nextRowData = value[i + 1];
  31449. if (nextRowData) {
  31450. let nextRowFieldData = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(nextRowData, this.groupRowsBy);
  31451. return currentRowFieldData !== nextRowFieldData;
  31452. }
  31453. else {
  31454. return true;
  31455. }
  31456. }
  31457. },
  31458. shouldRenderBodyCell(value, column, i) {
  31459. if (this.rowGroupMode) {
  31460. if (this.rowGroupMode === 'subheader') {
  31461. return this.groupRowsBy !== this.columnProp(column, 'field');
  31462. }
  31463. else if (this.rowGroupMode === 'rowspan') {
  31464. if (this.isGrouped(column)) {
  31465. let prevRowData = value[i - 1];
  31466. if (prevRowData) {
  31467. let currentRowFieldData = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(value[i], this.columnProp(column, 'field'));
  31468. let previousRowFieldData = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(prevRowData, this.columnProp(column, 'field'));
  31469. return currentRowFieldData !== previousRowFieldData;
  31470. }
  31471. else {
  31472. return true;
  31473. }
  31474. }
  31475. else {
  31476. return true;
  31477. }
  31478. }
  31479. }
  31480. else {
  31481. return !this.columnProp(column, 'hidden');
  31482. }
  31483. },
  31484. calculateRowGroupSize(value, column, index) {
  31485. if (this.isGrouped(column)) {
  31486. let currentRowFieldData = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(value[index], this.columnProp(column, 'field'));
  31487. let nextRowFieldData = currentRowFieldData;
  31488. let groupRowSpan = 0;
  31489. while (currentRowFieldData === nextRowFieldData) {
  31490. groupRowSpan++;
  31491. let nextRowData = value[++index];
  31492. if (nextRowData) {
  31493. nextRowFieldData = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(nextRowData, this.columnProp(column, 'field'));
  31494. }
  31495. else {
  31496. break;
  31497. }
  31498. }
  31499. return groupRowSpan === 1 ? null : groupRowSpan;
  31500. }
  31501. else {
  31502. return null;
  31503. }
  31504. },
  31505. rowTogglerIcon(rowData) {
  31506. const icon = this.isRowExpanded(rowData) ? this.expandedRowIcon : this.collapsedRowIcon;
  31507. return ['p-row-toggler-icon pi', icon];
  31508. },
  31509. rowGroupTogglerIcon(rowData) {
  31510. const icon = this.isRowGroupExpanded(rowData) ? this.expandedRowIcon : this.collapsedRowIcon;
  31511. return ['p-row-toggler-icon pi', icon];
  31512. },
  31513. isGrouped(column) {
  31514. if (this.groupRowsBy && this.columnProp(column, 'field')) {
  31515. if (Array.isArray(this.groupRowsBy))
  31516. return this.groupRowsBy.indexOf(column.props.field) > -1;
  31517. else
  31518. return this.groupRowsBy === column.props.field;
  31519. }
  31520. else {
  31521. return false;
  31522. }
  31523. },
  31524. isRowEditing(rowData) {
  31525. if (rowData && this.editingRows) {
  31526. if (this.dataKey)
  31527. return this.editingRowKeys ? this.editingRowKeys[primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(rowData, this.dataKey)] !== undefined : false;
  31528. else
  31529. return this.findIndex(rowData, this.editingRows) > -1;
  31530. }
  31531. return false;
  31532. },
  31533. isRowExpanded(rowData) {
  31534. if (rowData && this.expandedRows) {
  31535. if (this.dataKey)
  31536. return this.expandedRowKeys ? this.expandedRowKeys[primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(rowData, this.dataKey)] !== undefined : false;
  31537. else
  31538. return this.findIndex(rowData, this.expandedRows) > -1;
  31539. }
  31540. return false;
  31541. },
  31542. isRowGroupExpanded(rowData) {
  31543. if (this.expandableRowGroups && this.expandedRowGroups) {
  31544. let groupFieldValue = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(rowData, this.groupRowsBy);
  31545. return this.expandedRowGroups.indexOf(groupFieldValue) > -1;
  31546. }
  31547. return false;
  31548. },
  31549. isSelected(rowData) {
  31550. if (rowData && this.selection) {
  31551. if (this.dataKey) {
  31552. return this.selectionKeys ? this.selectionKeys[primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(rowData, this.dataKey)] !== undefined : false;
  31553. }
  31554. else {
  31555. if (this.selection instanceof Array)
  31556. return this.findIndexInSelection(rowData) > -1;
  31557. else
  31558. return this.equals(rowData, this.selection);
  31559. }
  31560. }
  31561. return false;
  31562. },
  31563. isSelectedWithContextMenu(rowData) {
  31564. if (rowData && this.contextMenuSelection) {
  31565. return this.equals(rowData, this.contextMenuSelection, this.dataKey);
  31566. }
  31567. return false;
  31568. },
  31569. findIndexInSelection(rowData) {
  31570. return this.findIndex(rowData, this.selection);
  31571. },
  31572. findIndex(rowData, collection) {
  31573. let index = -1;
  31574. if (collection && collection.length) {
  31575. for (let i = 0; i < collection.length; i++) {
  31576. if (this.equals(rowData, collection[i])) {
  31577. index = i;
  31578. break;
  31579. }
  31580. }
  31581. }
  31582. return index;
  31583. },
  31584. equals(data1, data2) {
  31585. return this.compareSelectionBy === 'equals' ? (data1 === data2) : primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.equals(data1, data2, this.dataKey);
  31586. },
  31587. onRowGroupToggle(event, data) {
  31588. this.$emit('rowgroup-toggle', {originalEvent: event, data: data});
  31589. },
  31590. onRowClick(event, rowData, rowIndex) {
  31591. this.$emit('row-click', {originalEvent: event, data: rowData, index: rowIndex});
  31592. },
  31593. onRowDblClick(event, rowData, rowIndex) {
  31594. this.$emit('row-dblclick', {originalEvent: event, data: rowData, index: rowIndex});
  31595. },
  31596. onRowRightClick(event, rowData, rowIndex) {
  31597. this.$emit('row-rightclick', {originalEvent: event, data: rowData, index: rowIndex});
  31598. },
  31599. onRowTouchEnd(event) {
  31600. this.$emit('row-touchend', event);
  31601. },
  31602. onRowKeyDown(event, rowData, rowIndex) {
  31603. this.$emit('row-keydown', {originalEvent: event, data: rowData, index: rowIndex});
  31604. },
  31605. onRowMouseDown(event) {
  31606. this.$emit('row-mousedown', event);
  31607. },
  31608. onRowDragStart(event, rowIndex) {
  31609. this.$emit('row-dragstart', {originalEvent: event, index: rowIndex});
  31610. },
  31611. onRowDragOver(event, rowIndex) {
  31612. this.$emit('row-dragover', {originalEvent: event, index: rowIndex});
  31613. },
  31614. onRowDragLeave(event) {
  31615. this.$emit('row-dragleave', event);
  31616. },
  31617. onRowDragEnd(event) {
  31618. this.$emit('row-dragend', event);
  31619. },
  31620. onRowDrop(event) {
  31621. this.$emit('row-drop', event);
  31622. },
  31623. onRowToggle(event) {
  31624. this.$emit('row-toggle', event);
  31625. },
  31626. onRadioChange(event) {
  31627. this.$emit('radio-change', event);
  31628. },
  31629. onCheckboxChange(event) {
  31630. this.$emit('checkbox-change', event);
  31631. },
  31632. onCellEditInit(event) {
  31633. this.$emit('cell-edit-init', event);
  31634. },
  31635. onCellEditComplete(event) {
  31636. this.$emit('cell-edit-complete', event);
  31637. },
  31638. onCellEditCancel(event) {
  31639. this.$emit('cell-edit-cancel', event);
  31640. },
  31641. onRowEditInit(event) {
  31642. this.$emit('row-edit-init', event);
  31643. },
  31644. onRowEditSave(event) {
  31645. this.$emit('row-edit-save', event);
  31646. },
  31647. onRowEditCancel(event) {
  31648. this.$emit('row-edit-cancel', event);
  31649. },
  31650. onEditingMetaChange(event) {
  31651. this.$emit('editing-meta-change', event);
  31652. },
  31653. updateFrozenRowStickyPosition() {
  31654. this.$el.style.top = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterHeight(this.$el.previousElementSibling) + 'px';
  31655. },
  31656. updateFrozenRowGroupHeaderStickyPosition() {
  31657. let tableHeaderHeight = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterHeight(this.$el.previousElementSibling);
  31658. this.rowGroupHeaderStyleObject.top = tableHeaderHeight + 'px';
  31659. },
  31660. updateVirtualScrollerPosition() {
  31661. const tableHeaderHeight = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterHeight(this.$el.previousElementSibling);
  31662. this.$el.style.top = (this.$el.style.top || 0) + tableHeaderHeight + 'px';
  31663. },
  31664. getVirtualScrollerProp(option, options) {
  31665. options = options || this.virtualScrollerContentProps;
  31666. return options ? options[option] : null;
  31667. },
  31668. bodyRef(el) {
  31669. // For VirtualScroller
  31670. const contentRef = this.getVirtualScrollerProp('contentRef');
  31671. contentRef && contentRef(el);
  31672. }
  31673. },
  31674. computed: {
  31675. columnsLength() {
  31676. let hiddenColLength = 0;
  31677. this.columns.forEach(column => {
  31678. if(this.columnProp(column, 'hidden')) hiddenColLength++;
  31679. });
  31680. return this.columns ? this.columns.length - hiddenColLength : 0;
  31681. },
  31682. rowGroupHeaderStyle() {
  31683. if (this.scrollable) {
  31684. return {top: this.rowGroupHeaderStyleObject.top};
  31685. }
  31686. return null;
  31687. },
  31688. bodyStyle() {
  31689. return this.getVirtualScrollerProp('contentStyle');
  31690. }
  31691. },
  31692. components: {
  31693. 'DTBodyCell': script$4
  31694. }
  31695. };
  31696. const _hoisted_1$2 = {
  31697. key: 1,
  31698. class: "p-datatable-emptymessage",
  31699. role: "row"
  31700. };
  31701. function render$3(_ctx, _cache, $props, $setup, $data, $options) {
  31702. const _component_DTBodyCell = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("DTBodyCell");
  31703. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("tbody", {
  31704. ref: $options.bodyRef,
  31705. class: "p-datatable-tbody",
  31706. role: "rowgroup",
  31707. style: $options.bodyStyle
  31708. }, [
  31709. (!$props.empty)
  31710. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, { key: 0 }, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)($props.value, (rowData, index) => {
  31711. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, {
  31712. key: $options.getRowKey(rowData, $options.getRowIndex(index)) + '_subheader'
  31713. }, [
  31714. ($props.templates['groupheader'] && $props.rowGroupMode === 'subheader' && $options.shouldRenderRowGroupHeader($props.value, rowData, $options.getRowIndex(index)))
  31715. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("tr", {
  31716. key: 0,
  31717. class: "p-rowgroup-header",
  31718. style: $options.rowGroupHeaderStyle,
  31719. role: "row"
  31720. }, [
  31721. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("td", {
  31722. colspan: $options.columnsLength - 1
  31723. }, [
  31724. ($props.expandableRowGroups)
  31725. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("button", {
  31726. key: 0,
  31727. class: "p-row-toggler p-link",
  31728. onClick: $event => ($options.onRowGroupToggle($event, rowData)),
  31729. type: "button"
  31730. }, [
  31731. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", {
  31732. class: $options.rowGroupTogglerIcon(rowData)
  31733. }, null, 2)
  31734. ], 8, ["onClick"]))
  31735. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  31736. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.templates['groupheader']), {
  31737. data: rowData,
  31738. index: $options.getRowIndex(index)
  31739. }, null, 8, ["data", "index"]))
  31740. ], 8, ["colspan"])
  31741. ], 4))
  31742. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  31743. ($props.expandableRowGroups ? $options.isRowGroupExpanded(rowData): true)
  31744. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("tr", {
  31745. class: $options.getRowClass(rowData),
  31746. style: $props.rowStyle,
  31747. key: $options.getRowKey(rowData, $options.getRowIndex(index)),
  31748. onClick: $event => ($options.onRowClick($event, rowData, $options.getRowIndex(index))),
  31749. onDblclick: $event => ($options.onRowDblClick($event, rowData, $options.getRowIndex(index))),
  31750. onContextmenu: $event => ($options.onRowRightClick($event, rowData, $options.getRowIndex(index))),
  31751. onTouchend: _cache[10] || (_cache[10] = $event => ($options.onRowTouchEnd($event))),
  31752. onKeydown: $event => ($options.onRowKeyDown($event, rowData, $options.getRowIndex(index))),
  31753. tabindex: $props.selectionMode || $props.contextMenu ? '0' : null,
  31754. onMousedown: _cache[11] || (_cache[11] = $event => ($options.onRowMouseDown($event))),
  31755. onDragstart: $event => ($options.onRowDragStart($event, $options.getRowIndex(index))),
  31756. onDragover: $event => ($options.onRowDragOver($event, $options.getRowIndex(index))),
  31757. onDragleave: _cache[12] || (_cache[12] = $event => ($options.onRowDragLeave($event))),
  31758. onDragend: _cache[13] || (_cache[13] = $event => ($options.onRowDragEnd($event))),
  31759. onDrop: _cache[14] || (_cache[14] = $event => ($options.onRowDrop($event))),
  31760. role: "row"
  31761. }, [
  31762. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)($props.columns, (col, i) => {
  31763. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, {
  31764. key: $options.columnProp(col,'columnKey')||$options.columnProp(col,'field')||i
  31765. }, [
  31766. ($options.shouldRenderBodyCell($props.value, col, $options.getRowIndex(index)))
  31767. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_DTBodyCell, {
  31768. key: 0,
  31769. rowData: rowData,
  31770. column: col,
  31771. rowIndex: $options.getRowIndex(index),
  31772. index: i,
  31773. selected: $options.isSelected(rowData),
  31774. rowTogglerIcon: $options.columnProp(col,'expander') ? $options.rowTogglerIcon(rowData): null,
  31775. frozenRow: $props.frozenRow,
  31776. rowspan: $props.rowGroupMode === 'rowspan' ? $options.calculateRowGroupSize($props.value, col, $options.getRowIndex(index)) : null,
  31777. editMode: $props.editMode,
  31778. editing: $props.editMode === 'row' && $options.isRowEditing(rowData),
  31779. responsiveLayout: $props.responsiveLayout,
  31780. onRadioChange: _cache[1] || (_cache[1] = $event => ($options.onRadioChange($event))),
  31781. onCheckboxChange: _cache[2] || (_cache[2] = $event => ($options.onCheckboxChange($event))),
  31782. onRowToggle: _cache[3] || (_cache[3] = $event => ($options.onRowToggle($event))),
  31783. onCellEditInit: _cache[4] || (_cache[4] = $event => ($options.onCellEditInit($event))),
  31784. onCellEditComplete: _cache[5] || (_cache[5] = $event => ($options.onCellEditComplete($event))),
  31785. onCellEditCancel: _cache[6] || (_cache[6] = $event => ($options.onCellEditCancel($event))),
  31786. onRowEditInit: _cache[7] || (_cache[7] = $event => ($options.onRowEditInit($event))),
  31787. onRowEditSave: _cache[8] || (_cache[8] = $event => ($options.onRowEditSave($event))),
  31788. onRowEditCancel: _cache[9] || (_cache[9] = $event => ($options.onRowEditCancel($event))),
  31789. editingMeta: $props.editingMeta,
  31790. onEditingMetaChange: $options.onEditingMetaChange,
  31791. virtualScrollerContentProps: $props.virtualScrollerContentProps
  31792. }, null, 8, ["rowData", "column", "rowIndex", "index", "selected", "rowTogglerIcon", "frozenRow", "rowspan", "editMode", "editing", "responsiveLayout", "editingMeta", "onEditingMetaChange", "virtualScrollerContentProps"]))
  31793. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  31794. ], 64))
  31795. }), 128))
  31796. ], 46, ["onClick", "onDblclick", "onContextmenu", "onKeydown", "tabindex", "onDragstart", "onDragover"]))
  31797. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  31798. ($props.templates['expansion'] && $props.expandedRows && $options.isRowExpanded(rowData))
  31799. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("tr", {
  31800. class: "p-datatable-row-expansion",
  31801. key: $options.getRowKey(rowData, $options.getRowIndex(index)) + '_expansion',
  31802. role: "row"
  31803. }, [
  31804. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("td", { colspan: $options.columnsLength }, [
  31805. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.templates['expansion']), {
  31806. data: rowData,
  31807. index: $options.getRowIndex(index)
  31808. }, null, 8, ["data", "index"]))
  31809. ], 8, ["colspan"])
  31810. ]))
  31811. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  31812. ($props.templates['groupfooter'] && $props.rowGroupMode === 'subheader' && $options.shouldRenderRowGroupFooter($props.value, rowData, $options.getRowIndex(index)))
  31813. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("tr", {
  31814. class: "p-rowgroup-footer",
  31815. key: $options.getRowKey(rowData, $options.getRowIndex(index)) + '_subfooter',
  31816. role: "row"
  31817. }, [
  31818. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.templates['groupfooter']), {
  31819. data: rowData,
  31820. index: $options.getRowIndex(index)
  31821. }, null, 8, ["data", "index"]))
  31822. ]))
  31823. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  31824. ], 64))
  31825. }), 128))
  31826. : ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("tr", _hoisted_1$2, [
  31827. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("td", { colspan: $options.columnsLength }, [
  31828. ($props.templates.empty && !$props.loading)
  31829. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.templates.empty), { key: 0 }))
  31830. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  31831. ($props.templates.loading && $props.loading)
  31832. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.templates.loading), { key: 1 }))
  31833. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  31834. ], 8, ["colspan"])
  31835. ]))
  31836. ], 4))
  31837. }
  31838. script$3.render = render$3;
  31839. var script$2 = {
  31840. name: 'FooterCell',
  31841. props: {
  31842. column: {
  31843. type: null,
  31844. default: null
  31845. }
  31846. },
  31847. data() {
  31848. return {
  31849. styleObject: {}
  31850. }
  31851. },
  31852. mounted() {
  31853. if (this.columnProp('frozen')) {
  31854. this.updateStickyPosition();
  31855. }
  31856. },
  31857. updated() {
  31858. if (this.columnProp('frozen')) {
  31859. this.updateStickyPosition();
  31860. }
  31861. },
  31862. methods: {
  31863. columnProp(prop) {
  31864. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.getVNodeProp(this.column, prop);
  31865. },
  31866. updateStickyPosition() {
  31867. if (this.columnProp('frozen')) {
  31868. let align = this.columnProp('alignFrozen');
  31869. if (align === 'right') {
  31870. let right = 0;
  31871. let next = this.$el.nextElementSibling;
  31872. if (next) {
  31873. right = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(next) + parseFloat(next.style.left);
  31874. }
  31875. this.styleObject.right = right + 'px';
  31876. }
  31877. else {
  31878. let left = 0;
  31879. let prev = this.$el.previousElementSibling;
  31880. if (prev) {
  31881. left = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(prev) + parseFloat(prev.style.left);
  31882. }
  31883. this.styleObject.left = left + 'px';
  31884. }
  31885. }
  31886. }
  31887. },
  31888. computed: {
  31889. containerClass() {
  31890. return [this.columnProp('footerClass'), this.columnProp('class'), {
  31891. 'p-frozen-column': this.columnProp('frozen')
  31892. }];
  31893. },
  31894. containerStyle() {
  31895. let bodyStyle = this.columnProp('footerStyle');
  31896. let columnStyle = this.columnProp('style');
  31897. return this.columnProp('frozen') ? [columnStyle, bodyStyle, this.styleObject]: [columnStyle, bodyStyle];
  31898. }
  31899. }
  31900. };
  31901. function render$2(_ctx, _cache, $props, $setup, $data, $options) {
  31902. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("td", {
  31903. style: $options.containerStyle,
  31904. class: $options.containerClass,
  31905. role: "cell",
  31906. colspan: $options.columnProp('colspan'),
  31907. rowspan: $options.columnProp('rowspan')
  31908. }, [
  31909. ($props.column.children && $props.column.children.footer)
  31910. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.column.children.footer), {
  31911. key: 0,
  31912. column: $props.column
  31913. }, null, 8, ["column"]))
  31914. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  31915. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createTextVNode)(" " + (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($options.columnProp('footer')), 1)
  31916. ], 14, ["colspan", "rowspan"]))
  31917. }
  31918. script$2.render = render$2;
  31919. var script$1 = {
  31920. name: 'TableFooter',
  31921. props: {
  31922. columnGroup: {
  31923. type: null,
  31924. default: null
  31925. },
  31926. columns: {
  31927. type: null,
  31928. default: null
  31929. },
  31930. },
  31931. methods: {
  31932. columnProp(col, prop) {
  31933. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.getVNodeProp(col, prop);
  31934. },
  31935. getFooterRows() {
  31936. let rows = [];
  31937. let columnGroup = this.columnGroup;
  31938. if (columnGroup.children && columnGroup.children.default) {
  31939. for (let child of columnGroup.children.default()) {
  31940. if (child.type.name === 'Row') {
  31941. rows.push(child);
  31942. }
  31943. else if (child.children && child.children instanceof Array) {
  31944. rows = child.children;
  31945. }
  31946. }
  31947. return rows;
  31948. }
  31949. },
  31950. getFooterColumns(row){
  31951. let cols = [];
  31952. if (row.children && row.children.default) {
  31953. row.children.default().forEach(child => {
  31954. if (child.children && child.children instanceof Array)
  31955. cols = [...cols, ...child.children];
  31956. else if (child.type.name === 'Column')
  31957. cols.push(child);
  31958. });
  31959. return cols;
  31960. }
  31961. }
  31962. },
  31963. computed: {
  31964. hasFooter() {
  31965. let hasFooter = false;
  31966. if (this.columnGroup) {
  31967. hasFooter = true;
  31968. }
  31969. else if (this.columns) {
  31970. for (let col of this.columns) {
  31971. if (this.columnProp(col, 'footer') || (col.children && col.children.footer)) {
  31972. hasFooter = true;
  31973. break;
  31974. }
  31975. }
  31976. }
  31977. return hasFooter;
  31978. }
  31979. },
  31980. components: {
  31981. 'DTFooterCell': script$2
  31982. }
  31983. };
  31984. const _hoisted_1$1 = {
  31985. key: 0,
  31986. class: "p-datatable-tfoot",
  31987. role: "rowgroup"
  31988. };
  31989. const _hoisted_2$1 = {
  31990. key: 0,
  31991. role: "row"
  31992. };
  31993. function render$1(_ctx, _cache, $props, $setup, $data, $options) {
  31994. const _component_DTFooterCell = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("DTFooterCell");
  31995. return ($options.hasFooter)
  31996. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("tfoot", _hoisted_1$1, [
  31997. (!$props.columnGroup)
  31998. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("tr", _hoisted_2$1, [
  31999. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)($props.columns, (col, i) => {
  32000. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, {
  32001. key: $options.columnProp(col,'columnKey')||$options.columnProp(col,'field')||i
  32002. }, [
  32003. (!$options.columnProp(col,'hidden'))
  32004. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_DTFooterCell, {
  32005. key: 0,
  32006. column: col
  32007. }, null, 8, ["column"]))
  32008. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  32009. ], 64))
  32010. }), 128))
  32011. ]))
  32012. : ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, { key: 1 }, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)($options.getFooterRows(), (row, i) => {
  32013. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("tr", {
  32014. key: i,
  32015. role: "row"
  32016. }, [
  32017. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)($options.getFooterColumns(row), (col, j) => {
  32018. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, {
  32019. key: $options.columnProp(col,'columnKey')||$options.columnProp(col,'field')||j
  32020. }, [
  32021. (!$options.columnProp(col,'hidden'))
  32022. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_DTFooterCell, {
  32023. key: 0,
  32024. column: col
  32025. }, null, 8, ["column"]))
  32026. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  32027. ], 64))
  32028. }), 128))
  32029. ]))
  32030. }), 128))
  32031. ]))
  32032. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  32033. }
  32034. script$1.render = render$1;
  32035. var script = {
  32036. name: 'DataTable',
  32037. emits: ['value-change', 'update:first', 'update:rows', 'page', 'update:sortField', 'update:sortOrder', 'update:multiSortMeta', 'sort', 'filter', 'row-click', 'row-dblclick',
  32038. 'update:selection', 'row-select', 'row-unselect', 'update:contextMenuSelection', 'row-contextmenu', 'row-unselect-all', 'row-select-all', 'select-all-change',
  32039. 'column-resize-end', 'column-reorder', 'row-reorder', 'update:expandedRows', 'row-collapse', 'row-expand',
  32040. 'update:expandedRowGroups', 'rowgroup-collapse', 'rowgroup-expand', 'update:filters', 'state-restore', 'state-save',
  32041. 'cell-edit-init', 'cell-edit-complete', 'cell-edit-cancel', 'update:editingRows', 'row-edit-init', 'row-edit-save', 'row-edit-cancel'],
  32042. props: {
  32043. value: {
  32044. type: Array,
  32045. default: null
  32046. },
  32047. dataKey: {
  32048. type: String,
  32049. default: null
  32050. },
  32051. rows: {
  32052. type: Number,
  32053. default: 0
  32054. },
  32055. first: {
  32056. type: Number,
  32057. default: 0
  32058. },
  32059. totalRecords: {
  32060. type: Number,
  32061. default: 0
  32062. },
  32063. paginator: {
  32064. type: Boolean,
  32065. default: false
  32066. },
  32067. paginatorPosition: {
  32068. type: String,
  32069. default: 'bottom'
  32070. },
  32071. alwaysShowPaginator: {
  32072. type: Boolean,
  32073. default: true
  32074. },
  32075. paginatorTemplate: {
  32076. type: String,
  32077. default: 'FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown'
  32078. },
  32079. pageLinkSize: {
  32080. type: Number,
  32081. default: 5
  32082. },
  32083. rowsPerPageOptions: {
  32084. type: Array,
  32085. default: null
  32086. },
  32087. currentPageReportTemplate: {
  32088. type: String,
  32089. default: '({currentPage} of {totalPages})'
  32090. },
  32091. lazy: {
  32092. type: Boolean,
  32093. default: false
  32094. },
  32095. loading: {
  32096. type: Boolean,
  32097. default: false
  32098. },
  32099. loadingIcon: {
  32100. type: String,
  32101. default: 'pi pi-spinner'
  32102. },
  32103. sortField: {
  32104. type: [String, Function],
  32105. default: null
  32106. },
  32107. sortOrder: {
  32108. type: Number,
  32109. default: null
  32110. },
  32111. defaultSortOrder: {
  32112. type: Number,
  32113. default: 1
  32114. },
  32115. multiSortMeta: {
  32116. type: Array,
  32117. default: null
  32118. },
  32119. sortMode: {
  32120. type: String,
  32121. default: 'single'
  32122. },
  32123. removableSort: {
  32124. type: Boolean,
  32125. default: false
  32126. },
  32127. filters: {
  32128. type: Object,
  32129. default: null
  32130. },
  32131. filterDisplay: {
  32132. type: String,
  32133. default: null
  32134. },
  32135. globalFilterFields: {
  32136. type: Array,
  32137. default: null
  32138. },
  32139. filterLocale: {
  32140. type: String,
  32141. default: undefined
  32142. },
  32143. selection: {
  32144. type: [Array,Object],
  32145. default: null
  32146. },
  32147. selectionMode: {
  32148. type: String,
  32149. default: null
  32150. },
  32151. compareSelectionBy: {
  32152. type: String,
  32153. default: 'deepEquals'
  32154. },
  32155. metaKeySelection: {
  32156. type: Boolean,
  32157. default: true
  32158. },
  32159. contextMenu: {
  32160. type: Boolean,
  32161. default: false
  32162. },
  32163. contextMenuSelection: {
  32164. type: Object,
  32165. default: null
  32166. },
  32167. selectAll: {
  32168. type: Boolean,
  32169. default: null
  32170. },
  32171. rowHover: {
  32172. type: Boolean,
  32173. default: false
  32174. },
  32175. csvSeparator: {
  32176. type: String,
  32177. default: ','
  32178. },
  32179. exportFilename: {
  32180. type: String,
  32181. default: 'download'
  32182. },
  32183. exportFunction: {
  32184. type: Function,
  32185. default: null
  32186. },
  32187. autoLayout: {
  32188. type: Boolean,
  32189. default: false
  32190. },
  32191. resizableColumns: {
  32192. type: Boolean,
  32193. default: false
  32194. },
  32195. columnResizeMode: {
  32196. type: String,
  32197. default: 'fit'
  32198. },
  32199. reorderableColumns: {
  32200. type: Boolean,
  32201. default: false
  32202. },
  32203. expandedRows: {
  32204. type: Array,
  32205. default: null
  32206. },
  32207. expandedRowIcon: {
  32208. type: String,
  32209. default: 'pi-chevron-down'
  32210. },
  32211. collapsedRowIcon: {
  32212. type: String,
  32213. default: 'pi-chevron-right'
  32214. },
  32215. rowGroupMode: {
  32216. type: String,
  32217. default: null
  32218. },
  32219. groupRowsBy: {
  32220. type: [Array,String],
  32221. default: null
  32222. },
  32223. expandableRowGroups: {
  32224. type: Boolean,
  32225. default: false
  32226. },
  32227. expandedRowGroups: {
  32228. type: Array,
  32229. default: null
  32230. },
  32231. stateStorage: {
  32232. type: String,
  32233. default: 'session'
  32234. },
  32235. stateKey: {
  32236. type: String,
  32237. default: null
  32238. },
  32239. editMode: {
  32240. type: String,
  32241. default: null
  32242. },
  32243. editingRows: {
  32244. type: Array,
  32245. default: null
  32246. },
  32247. rowClass: {
  32248. type: null,
  32249. default: null
  32250. },
  32251. rowStyle: {
  32252. type: null,
  32253. default: null
  32254. },
  32255. scrollable: {
  32256. type: Boolean,
  32257. default: false
  32258. },
  32259. scrollDirection: {
  32260. type: String,
  32261. default: "vertical"
  32262. },
  32263. virtualScrollerOptions: {
  32264. type: Object,
  32265. default: null
  32266. },
  32267. scrollHeight: {
  32268. type: String,
  32269. default: null
  32270. },
  32271. frozenValue: {
  32272. type: Array,
  32273. default: null
  32274. },
  32275. responsiveLayout: {
  32276. type: String,
  32277. default: 'stack'
  32278. },
  32279. breakpoint: {
  32280. type: String,
  32281. default: '960px'
  32282. },
  32283. showGridlines: {
  32284. type: Boolean,
  32285. default: false
  32286. },
  32287. stripedRows: {
  32288. type: Boolean,
  32289. default: false
  32290. },
  32291. tableStyle: {
  32292. type: null,
  32293. default: null
  32294. },
  32295. tableClass: {
  32296. type: String,
  32297. default: null
  32298. }
  32299. },
  32300. data() {
  32301. return {
  32302. d_first: this.first,
  32303. d_rows: this.rows,
  32304. d_sortField: this.sortField,
  32305. d_sortOrder: this.sortOrder,
  32306. d_multiSortMeta: this.multiSortMeta ? [...this.multiSortMeta] : [],
  32307. d_groupRowsSortMeta: null,
  32308. d_selectionKeys: null,
  32309. d_expandedRowKeys: null,
  32310. d_columnOrder: null,
  32311. d_editingRowKeys: null,
  32312. d_editingMeta: {},
  32313. d_filters: this.cloneFilters(this.filters)
  32314. };
  32315. },
  32316. rowTouched: false,
  32317. anchorRowIndex: null,
  32318. rangeRowIndex: null,
  32319. documentColumnResizeListener: null,
  32320. documentColumnResizeEndListener: null,
  32321. lastResizeHelperX: null,
  32322. resizeColumnElement: null,
  32323. columnResizing: false,
  32324. colReorderIconWidth: null,
  32325. colReorderIconHeight: null,
  32326. draggedColumn: null,
  32327. draggedRowIndex: null,
  32328. droppedRowIndex: null,
  32329. rowDragging: null,
  32330. columnWidthsState: null,
  32331. tableWidthState: null,
  32332. columnWidthsRestored: false,
  32333. watch: {
  32334. first(newValue) {
  32335. this.d_first = newValue;
  32336. },
  32337. rows(newValue) {
  32338. this.d_rows = newValue;
  32339. },
  32340. sortField(newValue) {
  32341. this.d_sortField = newValue;
  32342. },
  32343. sortOrder(newValue) {
  32344. this.d_sortOrder = newValue;
  32345. },
  32346. multiSortMeta(newValue) {
  32347. this.d_multiSortMeta = newValue;
  32348. },
  32349. selection: {
  32350. immediate: true,
  32351. handler(newValue) {
  32352. if (this.dataKey) {
  32353. this.updateSelectionKeys(newValue);
  32354. }
  32355. }
  32356. },
  32357. expandedRows(newValue) {
  32358. if (this.dataKey) {
  32359. this.updateExpandedRowKeys(newValue);
  32360. }
  32361. },
  32362. editingRows(newValue) {
  32363. if (this.dataKey) {
  32364. this.updateEditingRowKeys(newValue);
  32365. }
  32366. },
  32367. filters: {
  32368. deep: true,
  32369. handler: function(newValue) {
  32370. this.d_filters = this.cloneFilters(newValue);
  32371. }
  32372. }
  32373. },
  32374. beforeMount() {
  32375. if (this.isStateful()) {
  32376. this.restoreState();
  32377. }
  32378. },
  32379. mounted() {
  32380. this.$el.setAttribute(this.attributeSelector, '');
  32381. if (this.responsiveLayout === 'stack' && !this.scrollable) {
  32382. this.createResponsiveStyle();
  32383. }
  32384. if (this.isStateful() && this.resizableColumns) {
  32385. this.restoreColumnWidths();
  32386. }
  32387. if (this.editMode === 'row' && this.dataKey && !this.d_editingRowKeys) {
  32388. this.updateEditingRowKeys(this.editingRows);
  32389. }
  32390. },
  32391. beforeUnmount() {
  32392. this.unbindColumnResizeEvents();
  32393. this.destroyStyleElement();
  32394. this.destroyResponsiveStyle();
  32395. },
  32396. updated() {
  32397. if (this.isStateful()) {
  32398. this.saveState();
  32399. }
  32400. if (this.editMode === 'row' && this.dataKey && !this.d_editingRowKeys) {
  32401. this.updateEditingRowKeys(this.editingRows);
  32402. }
  32403. },
  32404. methods: {
  32405. columnProp(col, prop) {
  32406. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.getVNodeProp(col, prop);
  32407. },
  32408. onPage(event) {
  32409. this.clearEditingMetaData();
  32410. this.d_first = event.first;
  32411. this.d_rows = event.rows;
  32412. let pageEvent = this.createLazyLoadEvent(event);
  32413. pageEvent.pageCount = event.pageCount;
  32414. pageEvent.page = event.page;
  32415. this.$emit('update:first', this.d_first);
  32416. this.$emit('update:rows', this.d_rows);
  32417. this.$emit('page', pageEvent);
  32418. this.$emit('value-change', this.processedData);
  32419. },
  32420. onColumnHeaderClick(e) {
  32421. const event = e.originalEvent;
  32422. const column = e.column;
  32423. if (this.columnProp(column, 'sortable')) {
  32424. const targetNode = event.target;
  32425. const columnField = this.columnProp(column, 'sortField') || this.columnProp(column, 'field');
  32426. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(targetNode, 'p-sortable-column') || primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(targetNode, 'p-column-title') || primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(targetNode, 'p-column-header-content')
  32427. || primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(targetNode, 'p-sortable-column-icon') || primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(targetNode.parentElement, 'p-sortable-column-icon')) {
  32428. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.clearSelection();
  32429. if (this.sortMode === 'single') {
  32430. if (this.d_sortField === columnField) {
  32431. if (this.removableSort && (this.d_sortOrder * -1 === this.defaultSortOrder)) {
  32432. this.d_sortOrder = null;
  32433. this.d_sortField = null;
  32434. }
  32435. else {
  32436. this.d_sortOrder = this.d_sortOrder * -1;
  32437. }
  32438. }
  32439. else {
  32440. this.d_sortOrder = this.defaultSortOrder;
  32441. this.d_sortField = columnField;
  32442. }
  32443. this.$emit('update:sortField', this.d_sortField);
  32444. this.$emit('update:sortOrder', this.d_sortOrder);
  32445. this.resetPage();
  32446. }
  32447. else if (this.sortMode === 'multiple') {
  32448. let metaKey = event.metaKey || event.ctrlKey;
  32449. if (!metaKey) {
  32450. this.d_multiSortMeta = this.d_multiSortMeta.filter(meta => meta.field === columnField);
  32451. }
  32452. this.addMultiSortField(columnField);
  32453. this.$emit('update:multiSortMeta', this.d_multiSortMeta);
  32454. }
  32455. this.$emit('sort', this.createLazyLoadEvent(event));
  32456. this.$emit('value-change', this.processedData);
  32457. }
  32458. }
  32459. },
  32460. sortSingle(value) {
  32461. this.clearEditingMetaData();
  32462. if (this.groupRowsBy && this.groupRowsBy === this.sortField) {
  32463. this.d_multiSortMeta = [
  32464. {field: this.sortField, order: this.sortOrder || this.defaultSortOrder},
  32465. {field: this.d_sortField, order: this.d_sortOrder}
  32466. ];
  32467. return this.sortMultiple(value);
  32468. }
  32469. let data = [...value];
  32470. data.sort((data1, data2) => {
  32471. let value1 = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(data1, this.d_sortField);
  32472. let value2 = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(data2, this.d_sortField);
  32473. let result = null;
  32474. if (value1 == null && value2 != null)
  32475. result = -1;
  32476. else if (value1 != null && value2 == null)
  32477. result = 1;
  32478. else if (value1 == null && value2 == null)
  32479. result = 0;
  32480. else if (typeof value1 === 'string' && typeof value2 === 'string')
  32481. result = value1.localeCompare(value2, undefined, { numeric: true });
  32482. else
  32483. result = (value1 < value2) ? -1 : (value1 > value2) ? 1 : 0;
  32484. return (this.d_sortOrder * result);
  32485. });
  32486. return data;
  32487. },
  32488. sortMultiple(value) {
  32489. this.clearEditingMetaData();
  32490. if (this.groupRowsBy && (this.d_groupRowsSortMeta || (this.d_multiSortMeta.length && this.groupRowsBy === this.d_multiSortMeta[0].field))) {
  32491. const firstSortMeta = this.d_multiSortMeta[0];
  32492. !this.d_groupRowsSortMeta && (this.d_groupRowsSortMeta = firstSortMeta);
  32493. if (firstSortMeta.field !== this.d_groupRowsSortMeta.field) {
  32494. this.d_multiSortMeta = [this.d_groupRowsSortMeta, ...this.d_multiSortMeta];
  32495. }
  32496. }
  32497. let data = [...value];
  32498. data.sort((data1, data2) => {
  32499. return this.multisortField(data1, data2, 0);
  32500. });
  32501. return data;
  32502. },
  32503. multisortField(data1, data2, index) {
  32504. const value1 = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(data1, this.d_multiSortMeta[index].field);
  32505. const value2 = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(data2, this.d_multiSortMeta[index].field);
  32506. let result = null;
  32507. if (typeof value1 === 'string' || value1 instanceof String) {
  32508. if (value1.localeCompare && (value1 !== value2)) {
  32509. return (this.d_multiSortMeta[index].order * value1.localeCompare(value2, undefined, { numeric: true }));
  32510. }
  32511. }
  32512. else {
  32513. result = (value1 < value2) ? -1 : 1;
  32514. }
  32515. if (value1 === value2) {
  32516. return (this.d_multiSortMeta.length - 1) > (index) ? (this.multisortField(data1, data2, index + 1)) : 0;
  32517. }
  32518. return (this.d_multiSortMeta[index].order * result);
  32519. },
  32520. addMultiSortField(field) {
  32521. let index = this.d_multiSortMeta.findIndex(meta => meta.field === field);
  32522. if (index >= 0) {
  32523. if (this.removableSort && (this.d_multiSortMeta[index].order * -1 === this.defaultSortOrder))
  32524. this.d_multiSortMeta.splice(index, 1);
  32525. else
  32526. this.d_multiSortMeta[index] = {field: field, order: this.d_multiSortMeta[index].order * -1};
  32527. }
  32528. else {
  32529. this.d_multiSortMeta.push({field: field, order: this.defaultSortOrder});
  32530. }
  32531. this.d_multiSortMeta = [...this.d_multiSortMeta];
  32532. },
  32533. filter(data) {
  32534. if (!data) {
  32535. return;
  32536. }
  32537. this.clearEditingMetaData();
  32538. let globalFilterFieldsArray;
  32539. if (this.filters['global']) {
  32540. globalFilterFieldsArray = this.globalFilterFields|| this.columns.map(col => this.columnProp(col, 'filterField') || this.columnProp(col, 'field'));
  32541. }
  32542. let filteredValue = [];
  32543. for (let i = 0; i < data.length; i++) {
  32544. let localMatch = true;
  32545. let globalMatch = false;
  32546. let localFiltered = false;
  32547. for (let prop in this.filters) {
  32548. if (Object.prototype.hasOwnProperty.call(this.filters, prop) && prop !== 'global') {
  32549. localFiltered = true;
  32550. let filterField = prop;
  32551. let filterMeta = this.filters[filterField];
  32552. if (filterMeta.operator) {
  32553. for (let filterConstraint of filterMeta.constraints) {
  32554. localMatch = this.executeLocalFilter(filterField, data[i], filterConstraint);
  32555. if ((filterMeta.operator === primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterOperator.OR && localMatch) || (filterMeta.operator === primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterOperator.AND && !localMatch)) {
  32556. break;
  32557. }
  32558. }
  32559. }
  32560. else {
  32561. localMatch = this.executeLocalFilter(filterField, data[i], filterMeta);
  32562. }
  32563. if (!localMatch) {
  32564. break;
  32565. }
  32566. }
  32567. }
  32568. if (this.filters['global'] && !globalMatch && globalFilterFieldsArray) {
  32569. for(let j = 0; j < globalFilterFieldsArray.length; j++) {
  32570. let globalFilterField = globalFilterFieldsArray[j];
  32571. globalMatch = primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterService.filters[this.filters['global'].matchMode || primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.CONTAINS](primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(data[i], globalFilterField), this.filters['global'].value, this.filterLocale);
  32572. if (globalMatch) {
  32573. break;
  32574. }
  32575. }
  32576. }
  32577. let matches;
  32578. if (this.filters['global']) {
  32579. matches = localFiltered ? (localFiltered && localMatch && globalMatch) : globalMatch;
  32580. }
  32581. else {
  32582. matches = localFiltered && localMatch;
  32583. }
  32584. if (matches) {
  32585. filteredValue.push(data[i]);
  32586. }
  32587. }
  32588. if (filteredValue.length === this.value.length) {
  32589. filteredValue = data;
  32590. }
  32591. let filterEvent = this.createLazyLoadEvent();
  32592. filterEvent.filteredValue = filteredValue;
  32593. this.$emit('filter', filterEvent);
  32594. this.$emit('value-change', filteredValue);
  32595. return filteredValue;
  32596. },
  32597. executeLocalFilter(field, rowData, filterMeta) {
  32598. let filterValue = filterMeta.value;
  32599. let filterMatchMode = filterMeta.matchMode || primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.STARTS_WITH;
  32600. let dataFieldValue = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(rowData, field);
  32601. let filterConstraint = primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterService.filters[filterMatchMode];
  32602. return filterConstraint(dataFieldValue, filterValue, this.filterLocale);
  32603. },
  32604. onRowClick(e) {
  32605. const event = e.originalEvent;
  32606. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.isClickable(event.target)) {
  32607. return;
  32608. }
  32609. this.$emit('row-click', e);
  32610. if (this.selectionMode) {
  32611. const rowData = e.data;
  32612. const rowIndex = this.d_first + e.index;
  32613. if (this.isMultipleSelectionMode() && event.shiftKey && this.anchorRowIndex != null) {
  32614. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.clearSelection();
  32615. this.rangeRowIndex = rowIndex;
  32616. this.selectRange(event);
  32617. }
  32618. else {
  32619. const selected = this.isSelected(rowData);
  32620. const metaSelection = this.rowTouched ? false : this.metaKeySelection;
  32621. this.anchorRowIndex = rowIndex;
  32622. this.rangeRowIndex = rowIndex;
  32623. if (metaSelection) {
  32624. let metaKey = event.metaKey || event.ctrlKey;
  32625. if (selected && metaKey) {
  32626. if(this.isSingleSelectionMode()) {
  32627. this.$emit('update:selection', null);
  32628. }
  32629. else {
  32630. const selectionIndex = this.findIndexInSelection(rowData);
  32631. const _selection = this.selection.filter((val,i) => i != selectionIndex);
  32632. this.$emit('update:selection', _selection);
  32633. }
  32634. this.$emit('row-unselect', {originalEvent: event, data: rowData, index: rowIndex, type: 'row'});
  32635. }
  32636. else {
  32637. if(this.isSingleSelectionMode()) {
  32638. this.$emit('update:selection', rowData);
  32639. }
  32640. else if (this.isMultipleSelectionMode()) {
  32641. let _selection = metaKey ? (this.selection || []) : [];
  32642. _selection = [..._selection, rowData];
  32643. this.$emit('update:selection', _selection);
  32644. }
  32645. this.$emit('row-select', {originalEvent: event, data: rowData, index: rowIndex, type: 'row'});
  32646. }
  32647. }
  32648. else {
  32649. if (this.selectionMode === 'single') {
  32650. if (selected) {
  32651. this.$emit('update:selection', null);
  32652. this.$emit('row-unselect', {originalEvent: event, data: rowData, index: rowIndex, type: 'row'});
  32653. }
  32654. else {
  32655. this.$emit('update:selection', rowData);
  32656. this.$emit('row-select', {originalEvent: event, data: rowData, index: rowIndex, type: 'row'});
  32657. }
  32658. }
  32659. else if (this.selectionMode === 'multiple') {
  32660. if (selected) {
  32661. const selectionIndex = this.findIndexInSelection(rowData);
  32662. const _selection = this.selection.filter((val, i) => i != selectionIndex);
  32663. this.$emit('update:selection', _selection);
  32664. this.$emit('row-unselect', {originalEvent: event, data: rowData, index: rowIndex, type: 'row'});
  32665. }
  32666. else {
  32667. const _selection = this.selection ? [...this.selection, rowData] : [rowData];
  32668. this.$emit('update:selection', _selection);
  32669. this.$emit('row-select', {originalEvent: event, data: rowData, index: rowIndex, type: 'row'});
  32670. }
  32671. }
  32672. }
  32673. }
  32674. }
  32675. this.rowTouched = false;
  32676. },
  32677. onRowDblClick(e) {
  32678. const event = e.originalEvent;
  32679. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.isClickable(event.target)) {
  32680. return;
  32681. }
  32682. this.$emit('row-dblclick', e);
  32683. },
  32684. onRowRightClick(event) {
  32685. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.clearSelection();
  32686. event.originalEvent.target.focus();
  32687. this.$emit('update:contextMenuSelection', event.data);
  32688. this.$emit('row-contextmenu', event);
  32689. },
  32690. onRowTouchEnd() {
  32691. this.rowTouched = true;
  32692. },
  32693. onRowKeyDown(e) {
  32694. const event = e.originalEvent;
  32695. const rowData = e.data;
  32696. const rowIndex = e.index;
  32697. if (this.selectionMode) {
  32698. const row = event.target;
  32699. switch (event.which) {
  32700. //down arrow
  32701. case 40:
  32702. var nextRow = this.findNextSelectableRow(row);
  32703. if (nextRow) {
  32704. nextRow.focus();
  32705. }
  32706. event.preventDefault();
  32707. break;
  32708. //up arrow
  32709. case 38:
  32710. var prevRow = this.findPrevSelectableRow(row);
  32711. if (prevRow) {
  32712. prevRow.focus();
  32713. }
  32714. event.preventDefault();
  32715. break;
  32716. //enter
  32717. case 13:
  32718. this.onRowClick({originalEvent: event, data: rowData, index: rowIndex});
  32719. break;
  32720. }
  32721. }
  32722. },
  32723. findNextSelectableRow(row) {
  32724. let nextRow = row.nextElementSibling;
  32725. if (nextRow) {
  32726. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(nextRow, 'p-selectable-row'))
  32727. return nextRow;
  32728. else
  32729. return this.findNextSelectableRow(nextRow);
  32730. }
  32731. else {
  32732. return null;
  32733. }
  32734. },
  32735. findPrevSelectableRow(row) {
  32736. let prevRow = row.previousElementSibling;
  32737. if (prevRow) {
  32738. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(prevRow, 'p-selectable-row'))
  32739. return prevRow;
  32740. else
  32741. return this.findPrevSelectableRow(prevRow);
  32742. }
  32743. else {
  32744. return null;
  32745. }
  32746. },
  32747. toggleRowWithRadio(event) {
  32748. const rowData = event.data;
  32749. if (this.isSelected(rowData)) {
  32750. this.$emit('update:selection', null);
  32751. this.$emit('row-unselect', { originalEvent: event.originalEvent, data: rowData, index: event.index, type: 'radiobutton' });
  32752. }
  32753. else {
  32754. this.$emit('update:selection', rowData);
  32755. this.$emit('row-select', { originalEvent: event.originalEvent, data: rowData, index: event.index, type: 'radiobutton' });
  32756. }
  32757. },
  32758. toggleRowWithCheckbox(event) {
  32759. const rowData = event.data;
  32760. if (this.isSelected(rowData)) {
  32761. const selectionIndex = this.findIndexInSelection(rowData);
  32762. const _selection = this.selection.filter((val, i) => i != selectionIndex);
  32763. this.$emit('update:selection', _selection);
  32764. this.$emit('row-unselect', { originalEvent: event.originalEvent, data: rowData, index: event.index, type: 'checkbox' });
  32765. }
  32766. else {
  32767. let _selection = this.selection ? [...this.selection] : [];
  32768. _selection = [..._selection, rowData];
  32769. this.$emit('update:selection', _selection);
  32770. this.$emit('row-select', { originalEvent: event.originalEvent, data: rowData, index: event.index, type: 'checkbox' });
  32771. }
  32772. },
  32773. toggleRowsWithCheckbox(event) {
  32774. if (this.selectAll !== null) {
  32775. this.$emit('select-all-change', event);
  32776. }
  32777. else {
  32778. const { originalEvent, checked } = event;
  32779. let _selection = [];
  32780. if (checked) {
  32781. _selection = this.frozenValue ? [...this.frozenValue, ...this.processedData] : this.processedData;
  32782. this.$emit('row-select-all', {originalEvent, data: _selection});
  32783. }
  32784. else {
  32785. this.$emit('row-unselect-all', {originalEvent});
  32786. }
  32787. this.$emit('update:selection', _selection);
  32788. }
  32789. },
  32790. isSingleSelectionMode() {
  32791. return this.selectionMode === 'single';
  32792. },
  32793. isMultipleSelectionMode() {
  32794. return this.selectionMode === 'multiple';
  32795. },
  32796. isSelected(rowData) {
  32797. if (rowData && this.selection) {
  32798. if (this.dataKey) {
  32799. return this.d_selectionKeys ? this.d_selectionKeys[primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(rowData, this.dataKey)] !== undefined : false;
  32800. }
  32801. else {
  32802. if (this.selection instanceof Array)
  32803. return this.findIndexInSelection(rowData) > -1;
  32804. else
  32805. return this.equals(rowData, this.selection);
  32806. }
  32807. }
  32808. return false;
  32809. },
  32810. findIndexInSelection(rowData) {
  32811. return this.findIndex(rowData, this.selection);
  32812. },
  32813. findIndex(rowData, collection) {
  32814. let index = -1;
  32815. if (collection && collection.length) {
  32816. for (let i = 0; i < collection.length; i++) {
  32817. if (this.equals(rowData, collection[i])) {
  32818. index = i;
  32819. break;
  32820. }
  32821. }
  32822. }
  32823. return index;
  32824. },
  32825. updateSelectionKeys(selection) {
  32826. this.d_selectionKeys = {};
  32827. if (Array.isArray(selection)) {
  32828. for (let data of selection) {
  32829. this.d_selectionKeys[String(primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(data, this.dataKey))] = 1;
  32830. }
  32831. }
  32832. else {
  32833. this.d_selectionKeys[String(primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(selection, this.dataKey))] = 1;
  32834. }
  32835. },
  32836. updateExpandedRowKeys(expandedRows) {
  32837. if (expandedRows && expandedRows.length) {
  32838. this.d_expandedRowKeys = {};
  32839. for (let data of expandedRows) {
  32840. this.d_expandedRowKeys[String(primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(data, this.dataKey))] = 1;
  32841. }
  32842. }
  32843. else {
  32844. this.d_expandedRowKeys = null;
  32845. }
  32846. },
  32847. updateEditingRowKeys(editingRows) {
  32848. if (editingRows && editingRows.length) {
  32849. this.d_editingRowKeys = {};
  32850. for (let data of editingRows) {
  32851. this.d_editingRowKeys[String(primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(data, this.dataKey))] = 1;
  32852. }
  32853. }
  32854. else {
  32855. this.d_editingRowKeys = null;
  32856. }
  32857. },
  32858. equals(data1, data2) {
  32859. return this.compareSelectionBy === 'equals' ? (data1 === data2) : primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.equals(data1, data2, this.dataKey);
  32860. },
  32861. selectRange(event) {
  32862. let rangeStart, rangeEnd;
  32863. if (this.rangeRowIndex > this.anchorRowIndex) {
  32864. rangeStart = this.anchorRowIndex;
  32865. rangeEnd = this.rangeRowIndex;
  32866. }
  32867. else if(this.rangeRowIndex < this.anchorRowIndex) {
  32868. rangeStart = this.rangeRowIndex;
  32869. rangeEnd = this.anchorRowIndex;
  32870. }
  32871. else {
  32872. rangeStart = this.rangeRowIndex;
  32873. rangeEnd = this.rangeRowIndex;
  32874. }
  32875. if (this.lazy && this.paginator) {
  32876. rangeStart -= this.first;
  32877. rangeEnd -= this.first;
  32878. }
  32879. const value = this.processedData;
  32880. let _selection = [];
  32881. for(let i = rangeStart; i <= rangeEnd; i++) {
  32882. let rangeRowData = value[i];
  32883. _selection.push(rangeRowData);
  32884. this.$emit('row-select', {originalEvent: event, data: rangeRowData, type: 'row'});
  32885. }
  32886. this.$emit('update:selection', _selection);
  32887. },
  32888. exportCSV(options, data) {
  32889. let csv = '\ufeff';
  32890. if (!data) {
  32891. data = this.processedData;
  32892. if (options && options.selectionOnly)
  32893. data = this.selection || [];
  32894. else if (this.frozenValue)
  32895. data = data ? [...this.frozenValue, ...data] : this.frozenValue;
  32896. }
  32897. //headers
  32898. let headerInitiated = false;
  32899. for (let i = 0; i < this.columns.length; i++) {
  32900. let column = this.columns[i];
  32901. if (this.columnProp(column, 'exportable') !== false && this.columnProp(column, 'field')) {
  32902. if (headerInitiated)
  32903. csv += this.csvSeparator;
  32904. else
  32905. headerInitiated = true;
  32906. csv += '"' + (this.columnProp(column, 'exportHeader') || this.columnProp(column, 'header') || this.columnProp(column, 'field')) + '"';
  32907. }
  32908. }
  32909. //body
  32910. if (data) {
  32911. data.forEach(record => {
  32912. csv += '\n';
  32913. let rowInitiated = false;
  32914. for (let i = 0; i < this.columns.length; i++) {
  32915. let column = this.columns[i];
  32916. if (this.columnProp(column, 'exportable') !== false && this.columnProp(column, 'field')) {
  32917. if (rowInitiated)
  32918. csv += this.csvSeparator;
  32919. else
  32920. rowInitiated = true;
  32921. let cellData = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(record, this.columnProp(column, 'field'));
  32922. if (cellData != null) {
  32923. if (this.exportFunction) {
  32924. cellData = this.exportFunction({
  32925. data: cellData,
  32926. field: this.columnProp(column, 'field')
  32927. });
  32928. }
  32929. else
  32930. cellData = String(cellData).replace(/"/g, '""');
  32931. }
  32932. else
  32933. cellData = '';
  32934. csv += '"' + cellData + '"';
  32935. }
  32936. }
  32937. });
  32938. }
  32939. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.exportCSV(csv, this.exportFilename);
  32940. },
  32941. resetPage() {
  32942. this.d_first = 0;
  32943. this.$emit('update:first', this.d_first);
  32944. },
  32945. onColumnResizeStart(event) {
  32946. let containerLeft = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOffset(this.$el).left;
  32947. this.resizeColumnElement = event.target.parentElement;
  32948. this.columnResizing = true;
  32949. this.lastResizeHelperX = (event.pageX - containerLeft + this.$el.scrollLeft);
  32950. this.bindColumnResizeEvents();
  32951. },
  32952. onColumnResize(event) {
  32953. let containerLeft = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOffset(this.$el).left;
  32954. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(this.$el, 'p-unselectable-text');
  32955. this.$refs.resizeHelper.style.height = this.$el.offsetHeight + 'px';
  32956. this.$refs.resizeHelper.style.top = 0 + 'px';
  32957. this.$refs.resizeHelper.style.left = (event.pageX - containerLeft + this.$el.scrollLeft) + 'px';
  32958. this.$refs.resizeHelper.style.display = 'block';
  32959. },
  32960. onColumnResizeEnd() {
  32961. let delta = this.$refs.resizeHelper.offsetLeft - this.lastResizeHelperX;
  32962. let columnWidth = this.resizeColumnElement.offsetWidth;
  32963. let newColumnWidth = columnWidth + delta;
  32964. let minWidth = this.resizeColumnElement.style.minWidth||15;
  32965. if (columnWidth + delta > parseInt(minWidth, 10)) {
  32966. if (this.columnResizeMode === 'fit') {
  32967. let nextColumn = this.resizeColumnElement.nextElementSibling;
  32968. let nextColumnWidth = nextColumn.offsetWidth - delta;
  32969. if (newColumnWidth > 15 && nextColumnWidth > 15) {
  32970. this.resizeTableCells(newColumnWidth, nextColumnWidth);
  32971. }
  32972. }
  32973. else if (this.columnResizeMode === 'expand') {
  32974. const tableWidth = this.$refs.table.offsetWidth + delta + 'px';
  32975. this.$refs.table.style.width = tableWidth;
  32976. this.$refs.table.style.minWidth = tableWidth;
  32977. this.resizeTableCells(newColumnWidth);
  32978. }
  32979. this.$emit('column-resize-end', {
  32980. element: this.resizeColumnElement,
  32981. delta: delta
  32982. });
  32983. }
  32984. this.$refs.resizeHelper.style.display = 'none';
  32985. this.resizeColumn = null;
  32986. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(this.$el, 'p-unselectable-text');
  32987. this.unbindColumnResizeEvents();
  32988. if (this.isStateful()) {
  32989. this.saveState();
  32990. }
  32991. },
  32992. resizeTableCells(newColumnWidth, nextColumnWidth) {
  32993. let colIndex = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.index(this.resizeColumnElement);
  32994. let widths = [];
  32995. let headers = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.find(this.$refs.table, '.p-datatable-thead > tr > th');
  32996. headers.forEach(header => widths.push(primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(header)));
  32997. this.destroyStyleElement();
  32998. this.createStyleElement();
  32999. let innerHTML = '';
  33000. widths.forEach((width, index) => {
  33001. let colWidth = index === colIndex ? newColumnWidth : (nextColumnWidth && index === colIndex + 1) ? nextColumnWidth : width;
  33002. let style = this.scrollable ? `flex: 1 1 ${colWidth}px !important` : `width: ${colWidth}px !important`;
  33003. innerHTML += `
  33004. .p-datatable[${this.attributeSelector}] .p-datatable-thead > tr > th:nth-child(${index + 1}),
  33005. .p-datatable[${this.attributeSelector}] .p-datatable-tbody > tr > td:nth-child(${index + 1}),
  33006. .p-datatable[${this.attributeSelector}] .p-datatable-tfoot > tr > td:nth-child(${index + 1}) {
  33007. ${style}
  33008. }
  33009. `;
  33010. });
  33011. this.styleElement.innerHTML = innerHTML;
  33012. },
  33013. bindColumnResizeEvents() {
  33014. if (!this.documentColumnResizeListener) {
  33015. this.documentColumnResizeListener = document.addEventListener('mousemove', () => {
  33016. if(this.columnResizing) {
  33017. this.onColumnResize(event);
  33018. }
  33019. });
  33020. }
  33021. if (!this.documentColumnResizeEndListener) {
  33022. this.documentColumnResizeEndListener = document.addEventListener('mouseup', () => {
  33023. if(this.columnResizing) {
  33024. this.columnResizing = false;
  33025. this.onColumnResizeEnd();
  33026. }
  33027. });
  33028. }
  33029. },
  33030. unbindColumnResizeEvents() {
  33031. if (this.documentColumnResizeListener) {
  33032. document.removeEventListener('document', this.documentColumnResizeListener);
  33033. this.documentColumnResizeListener = null;
  33034. }
  33035. if (this.documentColumnResizeEndListener) {
  33036. document.removeEventListener('document', this.documentColumnResizeEndListener);
  33037. this.documentColumnResizeEndListener = null;
  33038. }
  33039. },
  33040. onColumnHeaderMouseDown(e) {
  33041. const event = e.originalEvent;
  33042. const column = e.column;
  33043. if (this.reorderableColumns && this.columnProp(column, 'reorderableColumn') !== false) {
  33044. if (event.target.nodeName === 'INPUT' || event.target.nodeName === 'TEXTAREA' || primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(event.target, 'p-column-resizer'))
  33045. event.currentTarget.draggable = false;
  33046. else
  33047. event.currentTarget.draggable = true;
  33048. }
  33049. },
  33050. onColumnHeaderDragStart(event) {
  33051. if (this.columnResizing) {
  33052. event.preventDefault();
  33053. return;
  33054. }
  33055. this.colReorderIconWidth = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getHiddenElementOuterWidth(this.$refs.reorderIndicatorUp);
  33056. this.colReorderIconHeight = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getHiddenElementOuterHeight(this.$refs.reorderIndicatorUp);
  33057. this.draggedColumn = this.findParentHeader(event.target);
  33058. event.dataTransfer.setData('text', 'b'); // Firefox requires this to make dragging possible
  33059. },
  33060. onColumnHeaderDragOver(event) {
  33061. let dropHeader = this.findParentHeader(event.target);
  33062. if(this.reorderableColumns && this.draggedColumn && dropHeader) {
  33063. event.preventDefault();
  33064. let containerOffset = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOffset(this.$el);
  33065. let dropHeaderOffset = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOffset(dropHeader);
  33066. if (this.draggedColumn !== dropHeader) {
  33067. let targetLeft = dropHeaderOffset.left - containerOffset.left;
  33068. let columnCenter = dropHeaderOffset.left + dropHeader.offsetWidth / 2;
  33069. this.$refs.reorderIndicatorUp.style.top = dropHeaderOffset.top - containerOffset.top - (this.colReorderIconHeight - 1) + 'px';
  33070. this.$refs.reorderIndicatorDown.style.top = dropHeaderOffset.top - containerOffset.top + dropHeader.offsetHeight + 'px';
  33071. if(event.pageX > columnCenter) {
  33072. this.$refs.reorderIndicatorUp.style.left = (targetLeft + dropHeader.offsetWidth - Math.ceil(this.colReorderIconWidth / 2)) + 'px';
  33073. this.$refs.reorderIndicatorDown.style.left = (targetLeft + dropHeader.offsetWidth - Math.ceil(this.colReorderIconWidth / 2))+ 'px';
  33074. this.dropPosition = 1;
  33075. }
  33076. else {
  33077. this.$refs.reorderIndicatorUp.style.left = (targetLeft - Math.ceil(this.colReorderIconWidth / 2)) + 'px';
  33078. this.$refs.reorderIndicatorDown.style.left = (targetLeft - Math.ceil(this.colReorderIconWidth / 2))+ 'px';
  33079. this.dropPosition = -1;
  33080. }
  33081. this.$refs.reorderIndicatorUp.style.display = 'block';
  33082. this.$refs.reorderIndicatorDown.style.display = 'block';
  33083. }
  33084. }
  33085. },
  33086. onColumnHeaderDragLeave(event) {
  33087. if(this.reorderableColumns && this.draggedColumn) {
  33088. event.preventDefault();
  33089. this.$refs.reorderIndicatorUp.style.display = 'none';
  33090. this.$refs.reorderIndicatorDown.style.display = 'none';
  33091. }
  33092. },
  33093. onColumnHeaderDrop(event) {
  33094. event.preventDefault();
  33095. if (this.draggedColumn) {
  33096. let dragIndex = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.index(this.draggedColumn);
  33097. let dropIndex = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.index(this.findParentHeader(event.target));
  33098. let allowDrop = (dragIndex !== dropIndex);
  33099. if (allowDrop && ((dropIndex - dragIndex === 1 && this.dropPosition === -1) || (dragIndex - dropIndex === 1 && this.dropPosition === 1))) {
  33100. allowDrop = false;
  33101. }
  33102. if (allowDrop) {
  33103. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.reorderArray(this.columns, dragIndex, dropIndex);
  33104. this.updateReorderableColumns();
  33105. this.$emit('column-reorder', {
  33106. originalEvent: event,
  33107. dragIndex: dragIndex,
  33108. dropIndex: dropIndex
  33109. });
  33110. }
  33111. this.$refs.reorderIndicatorUp.style.display = 'none';
  33112. this.$refs.reorderIndicatorDown.style.display = 'none';
  33113. this.draggedColumn.draggable = false;
  33114. this.draggedColumn = null;
  33115. this.dropPosition = null;
  33116. }
  33117. },
  33118. findParentHeader(element) {
  33119. if(element.nodeName === 'TH') {
  33120. return element;
  33121. }
  33122. else {
  33123. let parent = element.parentElement;
  33124. while(parent.nodeName !== 'TH') {
  33125. parent = parent.parentElement;
  33126. if (!parent) break;
  33127. }
  33128. return parent;
  33129. }
  33130. },
  33131. findColumnByKey(columns, key) {
  33132. if (columns && columns.length) {
  33133. for (let i = 0; i < columns.length; i++) {
  33134. let column = columns[i];
  33135. if (this.columnProp(column, 'columnKey') === key || this.columnProp(column, 'field') === key) {
  33136. return column;
  33137. }
  33138. }
  33139. }
  33140. return null;
  33141. },
  33142. onRowMouseDown(event) {
  33143. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(event.target, 'p-datatable-reorderablerow-handle'))
  33144. event.currentTarget.draggable = true;
  33145. else
  33146. event.currentTarget.draggable = false;
  33147. },
  33148. onRowDragStart(e) {
  33149. const event = e.originalEvent;
  33150. const index = e.index;
  33151. this.rowDragging = true;
  33152. this.draggedRowIndex = index;
  33153. event.dataTransfer.setData('text', 'b'); // For firefox
  33154. },
  33155. onRowDragOver(e) {
  33156. const event = e.originalEvent;
  33157. const index = e.index;
  33158. if (this.rowDragging && this.draggedRowIndex !== index) {
  33159. let rowElement = event.currentTarget;
  33160. let rowY = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOffset(rowElement).top + primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getWindowScrollTop();
  33161. let pageY = event.pageY;
  33162. let rowMidY = rowY + primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterHeight(rowElement) / 2;
  33163. let prevRowElement = rowElement.previousElementSibling;
  33164. if (pageY < rowMidY) {
  33165. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-bottom');
  33166. this.droppedRowIndex = index;
  33167. if (prevRowElement)
  33168. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(prevRowElement, 'p-datatable-dragpoint-bottom');
  33169. else
  33170. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(rowElement, 'p-datatable-dragpoint-top');
  33171. }
  33172. else {
  33173. if (prevRowElement)
  33174. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(prevRowElement, 'p-datatable-dragpoint-bottom');
  33175. else
  33176. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(rowElement, 'p-datatable-dragpoint-top');
  33177. this.droppedRowIndex = index + 1;
  33178. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(rowElement, 'p-datatable-dragpoint-bottom');
  33179. }
  33180. event.preventDefault();
  33181. }
  33182. },
  33183. onRowDragLeave(event) {
  33184. let rowElement = event.currentTarget;
  33185. let prevRowElement = rowElement.previousElementSibling;
  33186. if (prevRowElement) {
  33187. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(prevRowElement, 'p-datatable-dragpoint-bottom');
  33188. }
  33189. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-bottom');
  33190. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-top');
  33191. },
  33192. onRowDragEnd(event) {
  33193. this.rowDragging = false;
  33194. this.draggedRowIndex = null;
  33195. this.droppedRowIndex = null;
  33196. event.currentTarget.draggable = false;
  33197. },
  33198. onRowDrop(event) {
  33199. if (this.droppedRowIndex != null) {
  33200. let dropIndex = (this.draggedRowIndex > this.droppedRowIndex) ? this.droppedRowIndex : (this.droppedRowIndex === 0) ? 0 : this.droppedRowIndex - 1;
  33201. let processedData = [...this.processedData];
  33202. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.reorderArray(processedData, this.draggedRowIndex, dropIndex);
  33203. this.$emit('row-reorder', {
  33204. originalEvent: event,
  33205. dragIndex: this.draggedRowIndex,
  33206. dropIndex: dropIndex,
  33207. value: processedData
  33208. });
  33209. }
  33210. //cleanup
  33211. this.onRowDragLeave(event);
  33212. this.onRowDragEnd(event);
  33213. event.preventDefault();
  33214. },
  33215. toggleRow(event) {
  33216. let rowData = event.data;
  33217. let expanded;
  33218. let expandedRowIndex;
  33219. let _expandedRows = this.expandedRows ? [...this.expandedRows] : [];
  33220. if (this.dataKey) {
  33221. expanded = this.d_expandedRowKeys ? this.d_expandedRowKeys[primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(rowData, this.dataKey)] !== undefined : false;
  33222. }
  33223. else {
  33224. expandedRowIndex = this.findIndex(rowData, this.expandedRows);
  33225. expanded = expandedRowIndex > -1;
  33226. }
  33227. if (expanded) {
  33228. if (expandedRowIndex == null) {
  33229. expandedRowIndex = this.findIndex(rowData, this.expandedRows);
  33230. }
  33231. _expandedRows.splice(expandedRowIndex, 1);
  33232. this.$emit('update:expandedRows', _expandedRows);
  33233. this.$emit('row-collapse', event);
  33234. }
  33235. else {
  33236. _expandedRows.push(rowData);
  33237. this.$emit('update:expandedRows', _expandedRows);
  33238. this.$emit('row-expand', event);
  33239. }
  33240. },
  33241. toggleRowGroup(e) {
  33242. const event = e.originalEvent;
  33243. const data = e.data;
  33244. const groupFieldValue = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(data, this.groupRowsBy);
  33245. let _expandedRowGroups = this.expandedRowGroups ? [...this.expandedRowGroups] : [];
  33246. if (this.isRowGroupExpanded(data)) {
  33247. _expandedRowGroups = _expandedRowGroups.filter(group => group !== groupFieldValue);
  33248. this.$emit('update:expandedRowGroups', _expandedRowGroups);
  33249. this.$emit('rowgroup-collapse', {originalEvent: event, data: groupFieldValue});
  33250. }
  33251. else {
  33252. _expandedRowGroups.push(groupFieldValue);
  33253. this.$emit('update:expandedRowGroups', _expandedRowGroups);
  33254. this.$emit('rowgroup-expand', {originalEvent: event, data: groupFieldValue});
  33255. }
  33256. },
  33257. isRowGroupExpanded(rowData) {
  33258. if (this.expandableRowGroups && this.expandedRowGroups) {
  33259. let groupFieldValue = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(rowData, this.groupRowsBy);
  33260. return this.expandedRowGroups.indexOf(groupFieldValue) > -1;
  33261. }
  33262. return false;
  33263. },
  33264. isStateful() {
  33265. return this.stateKey != null;
  33266. },
  33267. getStorage() {
  33268. switch(this.stateStorage) {
  33269. case 'local':
  33270. return window.localStorage;
  33271. case 'session':
  33272. return window.sessionStorage;
  33273. default:
  33274. throw new Error(this.stateStorage + ' is not a valid value for the state storage, supported values are "local" and "session".');
  33275. }
  33276. },
  33277. saveState() {
  33278. const storage = this.getStorage();
  33279. let state = {};
  33280. if (this.paginator) {
  33281. state.first = this.d_first;
  33282. state.rows = this.d_rows;
  33283. }
  33284. if (this.d_sortField) {
  33285. state.sortField = this.d_sortField;
  33286. state.sortOrder = this.d_sortOrder;
  33287. }
  33288. if (this.d_multiSortMeta) {
  33289. state.multiSortMeta = this.d_multiSortMeta;
  33290. }
  33291. if (this.hasFilters) {
  33292. state.filters = this.filters;
  33293. }
  33294. if (this.resizableColumns) {
  33295. this.saveColumnWidths(state);
  33296. }
  33297. if (this.reorderableColumns) {
  33298. state.columnOrder = this.d_columnOrder;
  33299. }
  33300. if (this.expandedRows) {
  33301. state.expandedRows = this.expandedRows;
  33302. state.expandedRowKeys = this.d_expandedRowKeys;
  33303. }
  33304. if (this.expandedRowGroups) {
  33305. state.expandedRowGroups = this.expandedRowGroups;
  33306. }
  33307. if (this.selection) {
  33308. state.selection = this.selection;
  33309. state.selectionKeys = this.d_selectionKeys;
  33310. }
  33311. if (Object.keys(state).length) {
  33312. storage.setItem(this.stateKey, JSON.stringify(state));
  33313. }
  33314. this.$emit('state-save', state);
  33315. },
  33316. restoreState() {
  33317. const storage = this.getStorage();
  33318. const stateString = storage.getItem(this.stateKey);
  33319. const dateFormat = /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/;
  33320. const reviver = function(key, value) {
  33321. if (typeof value === "string" && dateFormat.test(value)) {
  33322. return new Date(value);
  33323. }
  33324. return value;
  33325. };
  33326. if (stateString) {
  33327. let restoredState = JSON.parse(stateString, reviver);
  33328. if (this.paginator) {
  33329. this.d_first = restoredState.first;
  33330. this.d_rows = restoredState.rows;
  33331. }
  33332. if (restoredState.sortField) {
  33333. this.d_sortField = restoredState.sortField;
  33334. this.d_sortOrder = restoredState.sortOrder;
  33335. }
  33336. if (restoredState.multiSortMeta) {
  33337. this.d_multiSortMeta = restoredState.multiSortMeta;
  33338. }
  33339. if (restoredState.filters) {
  33340. this.$emit('update:filters', restoredState.filters);
  33341. }
  33342. if (this.resizableColumns) {
  33343. this.columnWidthsState = restoredState.columnWidths;
  33344. this.tableWidthState = restoredState.tableWidth;
  33345. }
  33346. if (this.reorderableColumns) {
  33347. this.d_columnOrder = restoredState.columnOrder;
  33348. }
  33349. if (restoredState.expandedRows) {
  33350. this.d_expandedRowKeys = restoredState.expandedRowKeys;
  33351. this.$emit('update:expandedRows', restoredState.expandedRows);
  33352. }
  33353. if (restoredState.expandedRowGroups) {
  33354. this.$emit('update:expandedRowGroups', restoredState.expandedRowGroups);
  33355. }
  33356. if (restoredState.selection) {
  33357. this.d_selectionKeys = restoredState.d_selectionKeys;
  33358. this.$emit('update:selection', restoredState.selection);
  33359. }
  33360. this.$emit('state-restore', restoredState);
  33361. }
  33362. },
  33363. saveColumnWidths(state) {
  33364. let widths = [];
  33365. let headers = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.find(this.$el, '.p-datatable-thead > tr > th');
  33366. headers.forEach(header => widths.push(primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(header)));
  33367. state.columnWidths = widths.join(',');
  33368. if (this.columnResizeMode === 'expand') {
  33369. state.tableWidth = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(this.$refs.table) + 'px';
  33370. }
  33371. },
  33372. restoreColumnWidths() {
  33373. if (this.columnWidthsState) {
  33374. let widths = this.columnWidthsState.split(',');
  33375. if (this.columnResizeMode === 'expand' && this.tableWidthState) {
  33376. this.$refs.table.style.width = this.tableWidthState;
  33377. this.$refs.table.style.minWidth = this.tableWidthState;
  33378. this.$el.style.width = this.tableWidthState;
  33379. }
  33380. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.isNotEmpty(widths)) {
  33381. this.createStyleElement();
  33382. let innerHTML = '';
  33383. widths.forEach((width, index) => {
  33384. let style = this.scrollable ? `flex: 1 1 ${width}px !important` : `width: ${width}px !important`;
  33385. innerHTML += `
  33386. .p-datatable[${this.attributeSelector}] .p-datatable-thead > tr > th:nth-child(${index + 1}),
  33387. .p-datatable[${this.attributeSelector}] .p-datatable-tbody > tr > td:nth-child(${index + 1}),
  33388. .p-datatable[${this.attributeSelector}] .p-datatable-tfoot > tr > td:nth-child(${index + 1}) {
  33389. ${style}
  33390. }
  33391. `;
  33392. });
  33393. this.styleElement.innerHTML = innerHTML;
  33394. }
  33395. }
  33396. },
  33397. onCellEditInit(event) {
  33398. this.$emit('cell-edit-init', event);
  33399. },
  33400. onCellEditComplete(event) {
  33401. this.$emit('cell-edit-complete', event);
  33402. },
  33403. onCellEditCancel(event) {
  33404. this.$emit('cell-edit-cancel', event);
  33405. },
  33406. onRowEditInit(event) {
  33407. let _editingRows = this.editingRows ? [...this.editingRows] : [];
  33408. _editingRows.push(event.data);
  33409. this.$emit('update:editingRows', _editingRows);
  33410. this.$emit('row-edit-init', event);
  33411. },
  33412. onRowEditSave(event) {
  33413. let _editingRows = [...this.editingRows];
  33414. _editingRows.splice(this.findIndex(event.data, _editingRows), 1);
  33415. this.$emit('update:editingRows', _editingRows);
  33416. this.$emit('row-edit-save', event);
  33417. },
  33418. onRowEditCancel(event) {
  33419. let _editingRows = [...this.editingRows];
  33420. _editingRows.splice(this.findIndex(event.data, _editingRows), 1);
  33421. this.$emit('update:editingRows', _editingRows);
  33422. this.$emit('row-edit-cancel', event);
  33423. },
  33424. onEditingMetaChange(event) {
  33425. let { data, field, index, editing } = event;
  33426. let editingMeta = { ...this.d_editingMeta };
  33427. let meta = editingMeta[index];
  33428. if (editing) {
  33429. !meta && (meta = editingMeta[index] = { data: { ...data }, fields: [] });
  33430. meta['fields'].push(field);
  33431. }
  33432. else if (meta) {
  33433. const fields = meta['fields'].filter(f => f !== field);
  33434. !fields.length ? (delete editingMeta[index]) : (meta['fields'] = fields);
  33435. }
  33436. this.d_editingMeta = editingMeta;
  33437. },
  33438. clearEditingMetaData() {
  33439. if (this.editMode) {
  33440. this.d_editingMeta = {};
  33441. }
  33442. },
  33443. createLazyLoadEvent(event) {
  33444. return {
  33445. originalEvent: event,
  33446. first: this.d_first,
  33447. rows: this.d_rows,
  33448. sortField: this.d_sortField,
  33449. sortOrder: this.d_sortOrder,
  33450. multiSortMeta: this.d_multiSortMeta,
  33451. filters: this.d_filters
  33452. };
  33453. },
  33454. hasGlobalFilter() {
  33455. return this.filters && Object.prototype.hasOwnProperty.call(this.filters, 'global');
  33456. },
  33457. getChildren() {
  33458. return this.$slots.default ? this.$slots.default() : null;
  33459. },
  33460. onFilterChange(filters) {
  33461. this.d_filters = filters;
  33462. },
  33463. onFilterApply() {
  33464. this.d_first = 0;
  33465. this.$emit('update:first', this.d_first);
  33466. this.$emit('update:filters', this.d_filters);
  33467. if (this.lazy) {
  33468. this.$emit('filter', this.createLazyLoadEvent());
  33469. }
  33470. },
  33471. cloneFilters() {
  33472. let cloned = {};
  33473. if (this.filters) {
  33474. Object.entries(this.filters).forEach(([prop,value]) => {
  33475. cloned[prop] = value.operator ? {operator: value.operator, constraints: value.constraints.map(constraint => {return {...constraint}})} : {...value};
  33476. });
  33477. }
  33478. return cloned;
  33479. },
  33480. updateReorderableColumns() {
  33481. let columnOrder = [];
  33482. this.columns.forEach(col => columnOrder.push(this.columnProp(col, 'columnKey')||this.columnProp(col, 'field')));
  33483. this.d_columnOrder = columnOrder;
  33484. },
  33485. createStyleElement() {
  33486. this.styleElement = document.createElement('style');
  33487. this.styleElement.type = 'text/css';
  33488. document.head.appendChild(this.styleElement);
  33489. },
  33490. createResponsiveStyle() {
  33491. if (!this.responsiveStyleElement) {
  33492. this.responsiveStyleElement = document.createElement('style');
  33493. this.responsiveStyleElement.type = 'text/css';
  33494. document.head.appendChild(this.responsiveStyleElement);
  33495. let innerHTML = `
  33496. @media screen and (max-width: ${this.breakpoint}) {
  33497. .p-datatable[${this.attributeSelector}] .p-datatable-thead > tr > th,
  33498. .p-datatable[${this.attributeSelector}] .p-datatable-tfoot > tr > td {
  33499. display: none !important;
  33500. }
  33501. .p-datatable[${this.attributeSelector}] .p-datatable-tbody > tr > td {
  33502. display: flex;
  33503. width: 100% !important;
  33504. align-items: center;
  33505. justify-content: space-between;
  33506. }
  33507. .p-datatable[${this.attributeSelector}] .p-datatable-tbody > tr > td:not(:last-child) {
  33508. border: 0 none;
  33509. }
  33510. .p-datatable[${this.attributeSelector}].p-datatable-gridlines .p-datatable-tbody > tr > td:last-child {
  33511. border-top: 0;
  33512. border-right: 0;
  33513. border-left: 0;
  33514. }
  33515. .p-datatable[${this.attributeSelector}] .p-datatable-tbody > tr > td > .p-column-title {
  33516. display: block;
  33517. }
  33518. }
  33519. `;
  33520. this.responsiveStyleElement.innerHTML = innerHTML;
  33521. }
  33522. },
  33523. destroyResponsiveStyle() {
  33524. if (this.responsiveStyleElement) {
  33525. document.head.removeChild(this.responsiveStyleElement);
  33526. this.responsiveStyleElement = null;
  33527. }
  33528. },
  33529. destroyStyleElement() {
  33530. if (this.styleElement) {
  33531. document.head.removeChild(this.styleElement);
  33532. this.styleElement = null;
  33533. }
  33534. },
  33535. recursiveGetChildren(children, results) {
  33536. if (!results) {
  33537. results = [];
  33538. }
  33539. if (children && children.length) {
  33540. children.forEach((child) => {
  33541. if (child.children instanceof Array) {
  33542. results.concat(this.recursiveGetChildren(child.children, results));
  33543. } else if (child.type.name == 'Column') {
  33544. results.push(child);
  33545. }
  33546. });
  33547. }
  33548. return results;
  33549. },
  33550. dataToRender(data) {
  33551. const _data = data || this.processedData;
  33552. if (_data && this.paginator) {
  33553. const first = this.lazy ? 0 : this.d_first;
  33554. return _data.slice(first, first + this.d_rows);
  33555. }
  33556. return _data;
  33557. }
  33558. },
  33559. computed: {
  33560. containerClass() {
  33561. return [
  33562. 'p-datatable p-component', {
  33563. 'p-datatable-hoverable-rows': (this.rowHover || this.selectionMode),
  33564. 'p-datatable-auto-layout': this.autoLayout,
  33565. 'p-datatable-resizable': this.resizableColumns,
  33566. 'p-datatable-resizable-fit': this.resizableColumns && this.columnResizeMode === 'fit',
  33567. 'p-datatable-scrollable': this.scrollable,
  33568. 'p-datatable-scrollable-vertical': this.scrollable && this.scrollDirection === 'vertical',
  33569. 'p-datatable-scrollable-horizontal': this.scrollable && this.scrollDirection === 'horizontal',
  33570. 'p-datatable-scrollable-both': this.scrollable && this.scrollDirection === 'both',
  33571. 'p-datatable-flex-scrollable': (this.scrollable && this.scrollHeight === 'flex'),
  33572. 'p-datatable-responsive-stack': this.responsiveLayout === 'stack',
  33573. 'p-datatable-responsive-scroll': this.responsiveLayout === 'scroll',
  33574. 'p-datatable-striped': this.stripedRows,
  33575. 'p-datatable-gridlines': this.showGridlines,
  33576. 'p-datatable-grouped-header': this.headerColumnGroup != null,
  33577. 'p-datatable-grouped-footer': this.footerColumnGroup != null
  33578. }
  33579. ];
  33580. },
  33581. columns() {
  33582. let children = this.getChildren();
  33583. if (!children) {
  33584. return;
  33585. }
  33586. const cols = this.recursiveGetChildren(children, []);
  33587. if (this.reorderableColumns && this.d_columnOrder) {
  33588. let orderedColumns = [];
  33589. for (let columnKey of this.d_columnOrder) {
  33590. let column = this.findColumnByKey(cols, columnKey);
  33591. if (column) {
  33592. orderedColumns.push(column);
  33593. }
  33594. }
  33595. return [...orderedColumns, ...cols.filter((item) => orderedColumns.indexOf(item) < 0)];
  33596. }
  33597. return cols;
  33598. },
  33599. headerColumnGroup() {
  33600. const children = this.getChildren();
  33601. if (children) {
  33602. for (let child of children) {
  33603. if (child.type.name === 'ColumnGroup' && this.columnProp(child, 'type') === 'header') {
  33604. return child;
  33605. }
  33606. }
  33607. }
  33608. return null;
  33609. },
  33610. footerColumnGroup() {
  33611. const children = this.getChildren();
  33612. if (children) {
  33613. for (let child of children) {
  33614. if (child.type.name === 'ColumnGroup' && this.columnProp(child, 'type') === 'footer') {
  33615. return child;
  33616. }
  33617. }
  33618. }
  33619. return null;
  33620. },
  33621. hasFilters() {
  33622. return this.filters && Object.keys(this.filters).length > 0 && this.filters.constructor === Object;
  33623. },
  33624. processedData() {
  33625. let data = this.value || [];
  33626. if (!this.lazy) {
  33627. if (data && data.length) {
  33628. if (this.hasFilters) {
  33629. data = this.filter(data);
  33630. }
  33631. if (this.sorted) {
  33632. if(this.sortMode === 'single')
  33633. data = this.sortSingle(data);
  33634. else if(this.sortMode === 'multiple')
  33635. data = this.sortMultiple(data);
  33636. }
  33637. }
  33638. }
  33639. return data;
  33640. },
  33641. totalRecordsLength() {
  33642. if (this.lazy) {
  33643. return this.totalRecords;
  33644. }
  33645. else {
  33646. const data = this.processedData;
  33647. return data ? data.length : 0;
  33648. }
  33649. },
  33650. empty() {
  33651. const data = this.processedData;
  33652. return (!data || data.length === 0);
  33653. },
  33654. paginatorTop() {
  33655. return this.paginator && (this.paginatorPosition !== 'bottom' || this.paginatorPosition === 'both');
  33656. },
  33657. paginatorBottom() {
  33658. return this.paginator && (this.paginatorPosition !== 'top' || this.paginatorPosition === 'both');
  33659. },
  33660. sorted() {
  33661. return this.d_sortField || (this.d_multiSortMeta && this.d_multiSortMeta.length > 0);
  33662. },
  33663. loadingIconClass() {
  33664. return ['p-datatable-loading-icon pi-spin', this.loadingIcon];
  33665. },
  33666. allRowsSelected() {
  33667. if (this.selectAll !== null) {
  33668. return this.selectAll;
  33669. }
  33670. else {
  33671. const val = this.frozenValue ? [...this.frozenValue, ...this.processedData] : this.processedData;
  33672. return val && this.selection && Array.isArray(this.selection) && val.every(v => this.selection.some(s => this.equals(s, v)));
  33673. }
  33674. },
  33675. attributeSelector() {
  33676. return (0,primevue_utils__WEBPACK_IMPORTED_MODULE_0__.UniqueComponentId)();
  33677. },
  33678. groupRowSortField() {
  33679. return this.sortMode === 'single' ? this.sortField : (this.d_groupRowsSortMeta ? this.d_groupRowsSortMeta.field : null);
  33680. },
  33681. virtualScrollerDisabled() {
  33682. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.isEmpty(this.virtualScrollerOptions) || !this.scrollable;
  33683. }
  33684. },
  33685. components: {
  33686. 'DTPaginator': primevue_paginator__WEBPACK_IMPORTED_MODULE_2__["default"],
  33687. 'DTTableHeader': script$7,
  33688. 'DTTableBody': script$3,
  33689. 'DTTableFooter': script$1,
  33690. 'DTVirtualScroller': primevue_virtualscroller__WEBPACK_IMPORTED_MODULE_3__["default"]
  33691. }
  33692. };
  33693. const _hoisted_1 = {
  33694. key: 0,
  33695. class: "p-datatable-loading-overlay p-component-overlay"
  33696. };
  33697. const _hoisted_2 = {
  33698. key: 1,
  33699. class: "p-datatable-header"
  33700. };
  33701. const _hoisted_3 = {
  33702. key: 4,
  33703. class: "p-datatable-footer"
  33704. };
  33705. const _hoisted_4 = {
  33706. ref: "resizeHelper",
  33707. class: "p-column-resizer-helper",
  33708. style: {"display":"none"}
  33709. };
  33710. const _hoisted_5 = {
  33711. key: 5,
  33712. ref: "reorderIndicatorUp",
  33713. class: "pi pi-arrow-down p-datatable-reorder-indicator-up",
  33714. style: {"position":"absolute","display":"none"}
  33715. };
  33716. const _hoisted_6 = {
  33717. key: 6,
  33718. ref: "reorderIndicatorDown",
  33719. class: "pi pi-arrow-up p-datatable-reorder-indicator-down",
  33720. style: {"position":"absolute","display":"none"}
  33721. };
  33722. function render(_ctx, _cache, $props, $setup, $data, $options) {
  33723. const _component_DTPaginator = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("DTPaginator");
  33724. const _component_DTTableHeader = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("DTTableHeader");
  33725. const _component_DTTableBody = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("DTTableBody");
  33726. const _component_DTTableFooter = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("DTTableFooter");
  33727. const _component_DTVirtualScroller = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("DTVirtualScroller");
  33728. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", {
  33729. class: $options.containerClass,
  33730. "data-scrollselectors": ".p-datatable-wrapper"
  33731. }, [
  33732. (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderSlot)(_ctx.$slots, "default"),
  33733. ($props.loading)
  33734. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", _hoisted_1, [
  33735. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("i", { class: $options.loadingIconClass }, null, 2)
  33736. ]))
  33737. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  33738. (_ctx.$slots.header)
  33739. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", _hoisted_2, [
  33740. (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderSlot)(_ctx.$slots, "header")
  33741. ]))
  33742. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  33743. ($options.paginatorTop)
  33744. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_DTPaginator, {
  33745. key: 2,
  33746. rows: $data.d_rows,
  33747. first: $data.d_first,
  33748. totalRecords: $options.totalRecordsLength,
  33749. pageLinkSize: $props.pageLinkSize,
  33750. template: $props.paginatorTemplate,
  33751. rowsPerPageOptions: $props.rowsPerPageOptions,
  33752. currentPageReportTemplate: $props.currentPageReportTemplate,
  33753. class: "p-paginator-top",
  33754. onPage: _cache[1] || (_cache[1] = $event => ($options.onPage($event))),
  33755. alwaysShow: $props.alwaysShowPaginator
  33756. }, (0,vue__WEBPACK_IMPORTED_MODULE_4__.createSlots)({ _: 2 }, [
  33757. (_ctx.$slots.paginatorstart)
  33758. ? {
  33759. name: "start",
  33760. fn: (0,vue__WEBPACK_IMPORTED_MODULE_4__.withCtx)(() => [
  33761. (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderSlot)(_ctx.$slots, "paginatorstart")
  33762. ])
  33763. }
  33764. : undefined,
  33765. (_ctx.$slots.paginatorend)
  33766. ? {
  33767. name: "end",
  33768. fn: (0,vue__WEBPACK_IMPORTED_MODULE_4__.withCtx)(() => [
  33769. (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderSlot)(_ctx.$slots, "paginatorend")
  33770. ])
  33771. }
  33772. : undefined
  33773. ]), 1032, ["rows", "first", "totalRecords", "pageLinkSize", "template", "rowsPerPageOptions", "currentPageReportTemplate", "alwaysShow"]))
  33774. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  33775. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("div", {
  33776. class: "p-datatable-wrapper",
  33777. style: { maxHeight: $options.virtualScrollerDisabled ? $props.scrollHeight : '' }
  33778. }, [
  33779. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)(_component_DTVirtualScroller, (0,vue__WEBPACK_IMPORTED_MODULE_4__.mergeProps)($props.virtualScrollerOptions, {
  33780. items: $options.processedData,
  33781. columns: $options.columns,
  33782. style: { height: $props.scrollHeight },
  33783. disabled: $options.virtualScrollerDisabled,
  33784. loaderDisabled: "",
  33785. showSpacer: false
  33786. }), {
  33787. content: (0,vue__WEBPACK_IMPORTED_MODULE_4__.withCtx)((slotProps) => [
  33788. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("table", {
  33789. ref: "table",
  33790. role: "table",
  33791. class: [$props.tableClass, 'p-datatable-table'],
  33792. style: [$props.tableStyle, slotProps.spacerStyle]
  33793. }, [
  33794. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)(_component_DTTableHeader, {
  33795. columnGroup: $options.headerColumnGroup,
  33796. columns: slotProps.columns,
  33797. rowGroupMode: $props.rowGroupMode,
  33798. groupRowsBy: $props.groupRowsBy,
  33799. groupRowSortField: $options.groupRowSortField,
  33800. resizableColumns: $props.resizableColumns,
  33801. allRowsSelected: $options.allRowsSelected,
  33802. empty: $options.empty,
  33803. sortMode: $props.sortMode,
  33804. sortField: $data.d_sortField,
  33805. sortOrder: $data.d_sortOrder,
  33806. multiSortMeta: $data.d_multiSortMeta,
  33807. filters: $data.d_filters,
  33808. filtersStore: $props.filters,
  33809. filterDisplay: $props.filterDisplay,
  33810. onColumnClick: _cache[2] || (_cache[2] = $event => ($options.onColumnHeaderClick($event))),
  33811. onColumnMousedown: _cache[3] || (_cache[3] = $event => ($options.onColumnHeaderMouseDown($event))),
  33812. onFilterChange: $options.onFilterChange,
  33813. onFilterApply: $options.onFilterApply,
  33814. onColumnDragstart: _cache[4] || (_cache[4] = $event => ($options.onColumnHeaderDragStart($event))),
  33815. onColumnDragover: _cache[5] || (_cache[5] = $event => ($options.onColumnHeaderDragOver($event))),
  33816. onColumnDragleave: _cache[6] || (_cache[6] = $event => ($options.onColumnHeaderDragLeave($event))),
  33817. onColumnDrop: _cache[7] || (_cache[7] = $event => ($options.onColumnHeaderDrop($event))),
  33818. onColumnResizestart: _cache[8] || (_cache[8] = $event => ($options.onColumnResizeStart($event))),
  33819. onCheckboxChange: _cache[9] || (_cache[9] = $event => ($options.toggleRowsWithCheckbox($event)))
  33820. }, null, 8, ["columnGroup", "columns", "rowGroupMode", "groupRowsBy", "groupRowSortField", "resizableColumns", "allRowsSelected", "empty", "sortMode", "sortField", "sortOrder", "multiSortMeta", "filters", "filtersStore", "filterDisplay", "onFilterChange", "onFilterApply"]),
  33821. ($props.frozenValue)
  33822. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_DTTableBody, {
  33823. key: 0,
  33824. value: $props.frozenValue,
  33825. frozenRow: true,
  33826. class: "p-datatable-frozen-tbody",
  33827. columns: slotProps.columns,
  33828. dataKey: $props.dataKey,
  33829. selection: $props.selection,
  33830. selectionKeys: $data.d_selectionKeys,
  33831. selectionMode: $props.selectionMode,
  33832. contextMenu: $props.contextMenu,
  33833. contextMenuSelection: $props.contextMenuSelection,
  33834. rowGroupMode: $props.rowGroupMode,
  33835. groupRowsBy: $props.groupRowsBy,
  33836. expandableRowGroups: $props.expandableRowGroups,
  33837. rowClass: $props.rowClass,
  33838. rowStyle: $props.rowStyle,
  33839. editMode: $props.editMode,
  33840. compareSelectionBy: $props.compareSelectionBy,
  33841. scrollable: $props.scrollable,
  33842. expandedRowIcon: $props.expandedRowIcon,
  33843. collapsedRowIcon: $props.collapsedRowIcon,
  33844. expandedRows: $props.expandedRows,
  33845. expandedRowKeys: $data.d_expandedRowKeys,
  33846. expandedRowGroups: $props.expandedRowGroups,
  33847. editingRows: $props.editingRows,
  33848. editingRowKeys: $data.d_editingRowKeys,
  33849. templates: _ctx.$slots,
  33850. loading: $props.loading,
  33851. responsiveLayout: $props.responsiveLayout,
  33852. onRowgroupToggle: $options.toggleRowGroup,
  33853. onRowClick: _cache[10] || (_cache[10] = $event => ($options.onRowClick($event))),
  33854. onRowDblclick: _cache[11] || (_cache[11] = $event => ($options.onRowDblClick($event))),
  33855. onRowRightclick: _cache[12] || (_cache[12] = $event => ($options.onRowRightClick($event))),
  33856. onRowTouchend: $options.onRowTouchEnd,
  33857. onRowKeydown: $options.onRowKeyDown,
  33858. onRowMousedown: $options.onRowMouseDown,
  33859. onRowDragstart: _cache[13] || (_cache[13] = $event => ($options.onRowDragStart($event))),
  33860. onRowDragover: _cache[14] || (_cache[14] = $event => ($options.onRowDragOver($event))),
  33861. onRowDragleave: _cache[15] || (_cache[15] = $event => ($options.onRowDragLeave($event))),
  33862. onRowDragend: _cache[16] || (_cache[16] = $event => ($options.onRowDragEnd($event))),
  33863. onRowDrop: _cache[17] || (_cache[17] = $event => ($options.onRowDrop($event))),
  33864. onRowToggle: _cache[18] || (_cache[18] = $event => ($options.toggleRow($event))),
  33865. onRadioChange: _cache[19] || (_cache[19] = $event => ($options.toggleRowWithRadio($event))),
  33866. onCheckboxChange: _cache[20] || (_cache[20] = $event => ($options.toggleRowWithCheckbox($event))),
  33867. onCellEditInit: _cache[21] || (_cache[21] = $event => ($options.onCellEditInit($event))),
  33868. onCellEditComplete: _cache[22] || (_cache[22] = $event => ($options.onCellEditComplete($event))),
  33869. onCellEditCancel: _cache[23] || (_cache[23] = $event => ($options.onCellEditCancel($event))),
  33870. onRowEditInit: _cache[24] || (_cache[24] = $event => ($options.onRowEditInit($event))),
  33871. onRowEditSave: _cache[25] || (_cache[25] = $event => ($options.onRowEditSave($event))),
  33872. onRowEditCancel: _cache[26] || (_cache[26] = $event => ($options.onRowEditCancel($event))),
  33873. editingMeta: $data.d_editingMeta,
  33874. onEditingMetaChange: $options.onEditingMetaChange,
  33875. isVirtualScrollerDisabled: true
  33876. }, null, 8, ["value", "columns", "dataKey", "selection", "selectionKeys", "selectionMode", "contextMenu", "contextMenuSelection", "rowGroupMode", "groupRowsBy", "expandableRowGroups", "rowClass", "rowStyle", "editMode", "compareSelectionBy", "scrollable", "expandedRowIcon", "collapsedRowIcon", "expandedRows", "expandedRowKeys", "expandedRowGroups", "editingRows", "editingRowKeys", "templates", "loading", "responsiveLayout", "onRowgroupToggle", "onRowTouchend", "onRowKeydown", "onRowMousedown", "editingMeta", "onEditingMetaChange"]))
  33877. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  33878. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)(_component_DTTableBody, {
  33879. value: $options.dataToRender(slotProps.rows),
  33880. class: slotProps.styleClass,
  33881. columns: slotProps.columns,
  33882. empty: $options.empty,
  33883. dataKey: $props.dataKey,
  33884. selection: $props.selection,
  33885. selectionKeys: $data.d_selectionKeys,
  33886. selectionMode: $props.selectionMode,
  33887. contextMenu: $props.contextMenu,
  33888. contextMenuSelection: $props.contextMenuSelection,
  33889. rowGroupMode: $props.rowGroupMode,
  33890. groupRowsBy: $props.groupRowsBy,
  33891. expandableRowGroups: $props.expandableRowGroups,
  33892. rowClass: $props.rowClass,
  33893. rowStyle: $props.rowStyle,
  33894. editMode: $props.editMode,
  33895. compareSelectionBy: $props.compareSelectionBy,
  33896. scrollable: $props.scrollable,
  33897. expandedRowIcon: $props.expandedRowIcon,
  33898. collapsedRowIcon: $props.collapsedRowIcon,
  33899. expandedRows: $props.expandedRows,
  33900. expandedRowKeys: $data.d_expandedRowKeys,
  33901. expandedRowGroups: $props.expandedRowGroups,
  33902. editingRows: $props.editingRows,
  33903. editingRowKeys: $data.d_editingRowKeys,
  33904. templates: _ctx.$slots,
  33905. loading: $props.loading,
  33906. responsiveLayout: $props.responsiveLayout,
  33907. onRowgroupToggle: $options.toggleRowGroup,
  33908. onRowClick: _cache[27] || (_cache[27] = $event => ($options.onRowClick($event))),
  33909. onRowDblclick: _cache[28] || (_cache[28] = $event => ($options.onRowDblClick($event))),
  33910. onRowRightclick: _cache[29] || (_cache[29] = $event => ($options.onRowRightClick($event))),
  33911. onRowTouchend: $options.onRowTouchEnd,
  33912. onRowKeydown: $options.onRowKeyDown,
  33913. onRowMousedown: $options.onRowMouseDown,
  33914. onRowDragstart: _cache[30] || (_cache[30] = $event => ($options.onRowDragStart($event))),
  33915. onRowDragover: _cache[31] || (_cache[31] = $event => ($options.onRowDragOver($event))),
  33916. onRowDragleave: _cache[32] || (_cache[32] = $event => ($options.onRowDragLeave($event))),
  33917. onRowDragend: _cache[33] || (_cache[33] = $event => ($options.onRowDragEnd($event))),
  33918. onRowDrop: _cache[34] || (_cache[34] = $event => ($options.onRowDrop($event))),
  33919. onRowToggle: _cache[35] || (_cache[35] = $event => ($options.toggleRow($event))),
  33920. onRadioChange: _cache[36] || (_cache[36] = $event => ($options.toggleRowWithRadio($event))),
  33921. onCheckboxChange: _cache[37] || (_cache[37] = $event => ($options.toggleRowWithCheckbox($event))),
  33922. onCellEditInit: _cache[38] || (_cache[38] = $event => ($options.onCellEditInit($event))),
  33923. onCellEditComplete: _cache[39] || (_cache[39] = $event => ($options.onCellEditComplete($event))),
  33924. onCellEditCancel: _cache[40] || (_cache[40] = $event => ($options.onCellEditCancel($event))),
  33925. onRowEditInit: _cache[41] || (_cache[41] = $event => ($options.onRowEditInit($event))),
  33926. onRowEditSave: _cache[42] || (_cache[42] = $event => ($options.onRowEditSave($event))),
  33927. onRowEditCancel: _cache[43] || (_cache[43] = $event => ($options.onRowEditCancel($event))),
  33928. editingMeta: $data.d_editingMeta,
  33929. onEditingMetaChange: $options.onEditingMetaChange,
  33930. virtualScrollerContentProps: slotProps,
  33931. isVirtualScrollerDisabled: $options.virtualScrollerDisabled
  33932. }, null, 8, ["value", "class", "columns", "empty", "dataKey", "selection", "selectionKeys", "selectionMode", "contextMenu", "contextMenuSelection", "rowGroupMode", "groupRowsBy", "expandableRowGroups", "rowClass", "rowStyle", "editMode", "compareSelectionBy", "scrollable", "expandedRowIcon", "collapsedRowIcon", "expandedRows", "expandedRowKeys", "expandedRowGroups", "editingRows", "editingRowKeys", "templates", "loading", "responsiveLayout", "onRowgroupToggle", "onRowTouchend", "onRowKeydown", "onRowMousedown", "editingMeta", "onEditingMetaChange", "virtualScrollerContentProps", "isVirtualScrollerDisabled"]),
  33933. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)(_component_DTTableFooter, {
  33934. columnGroup: $options.footerColumnGroup,
  33935. columns: slotProps.columns
  33936. }, null, 8, ["columnGroup", "columns"])
  33937. ], 6)
  33938. ]),
  33939. _: 1
  33940. }, 16, ["items", "columns", "style", "disabled"])
  33941. ], 4),
  33942. ($options.paginatorBottom)
  33943. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_DTPaginator, {
  33944. key: 3,
  33945. rows: $data.d_rows,
  33946. first: $data.d_first,
  33947. totalRecords: $options.totalRecordsLength,
  33948. pageLinkSize: $props.pageLinkSize,
  33949. template: $props.paginatorTemplate,
  33950. rowsPerPageOptions: $props.rowsPerPageOptions,
  33951. currentPageReportTemplate: $props.currentPageReportTemplate,
  33952. class: "p-paginator-bottom",
  33953. onPage: _cache[44] || (_cache[44] = $event => ($options.onPage($event))),
  33954. alwaysShow: $props.alwaysShowPaginator
  33955. }, (0,vue__WEBPACK_IMPORTED_MODULE_4__.createSlots)({ _: 2 }, [
  33956. (_ctx.$slots.paginatorstart)
  33957. ? {
  33958. name: "start",
  33959. fn: (0,vue__WEBPACK_IMPORTED_MODULE_4__.withCtx)(() => [
  33960. (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderSlot)(_ctx.$slots, "paginatorstart")
  33961. ])
  33962. }
  33963. : undefined,
  33964. (_ctx.$slots.paginatorend)
  33965. ? {
  33966. name: "end",
  33967. fn: (0,vue__WEBPACK_IMPORTED_MODULE_4__.withCtx)(() => [
  33968. (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderSlot)(_ctx.$slots, "paginatorend")
  33969. ])
  33970. }
  33971. : undefined
  33972. ]), 1032, ["rows", "first", "totalRecords", "pageLinkSize", "template", "rowsPerPageOptions", "currentPageReportTemplate", "alwaysShow"]))
  33973. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  33974. (_ctx.$slots.footer)
  33975. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", _hoisted_3, [
  33976. (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderSlot)(_ctx.$slots, "footer")
  33977. ]))
  33978. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  33979. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("div", _hoisted_4, null, 512),
  33980. ($props.reorderableColumns)
  33981. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("span", _hoisted_5, null, 512))
  33982. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  33983. ($props.reorderableColumns)
  33984. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("span", _hoisted_6, null, 512))
  33985. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  33986. ], 2))
  33987. }
  33988. function styleInject(css, ref) {
  33989. if ( ref === void 0 ) ref = {};
  33990. var insertAt = ref.insertAt;
  33991. if (!css || typeof document === 'undefined') { return; }
  33992. var head = document.head || document.getElementsByTagName('head')[0];
  33993. var style = document.createElement('style');
  33994. style.type = 'text/css';
  33995. if (insertAt === 'top') {
  33996. if (head.firstChild) {
  33997. head.insertBefore(style, head.firstChild);
  33998. } else {
  33999. head.appendChild(style);
  34000. }
  34001. } else {
  34002. head.appendChild(style);
  34003. }
  34004. if (style.styleSheet) {
  34005. style.styleSheet.cssText = css;
  34006. } else {
  34007. style.appendChild(document.createTextNode(css));
  34008. }
  34009. }
  34010. var css_248z = "\n.p-datatable {\n position: relative;\n}\n.p-datatable table {\n border-collapse: collapse;\n min-width: 100%;\n table-layout: fixed;\n}\n.p-datatable .p-sortable-column {\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.p-datatable .p-sortable-column .p-column-title,\n.p-datatable .p-sortable-column .p-sortable-column-icon,\n.p-datatable .p-sortable-column .p-sortable-column-badge {\n vertical-align: middle;\n}\n.p-datatable .p-sortable-column .p-sortable-column-badge {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.p-datatable-responsive-scroll > .p-datatable-wrapper {\n overflow-x: auto;\n}\n.p-datatable-responsive-scroll > .p-datatable-wrapper > table,\n.p-datatable-auto-layout > .p-datatable-wrapper > table {\n table-layout: auto;\n}\n.p-datatable-hoverable-rows .p-selectable-row {\n cursor: pointer;\n}\n\n/* Scrollable */\n.p-datatable-scrollable .p-datatable-wrapper {\n position: relative;\n overflow: auto;\n}\n.p-datatable-scrollable .p-datatable-thead,\n.p-datatable-scrollable .p-datatable-tbody,\n.p-datatable-scrollable .p-datatable-tfoot {\n display: block;\n}\n.p-datatable-scrollable .p-datatable-thead > tr,\n.p-datatable-scrollable .p-datatable-tbody > tr,\n.p-datatable-scrollable .p-datatable-tfoot > tr {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n width: 100%;\n}\n.p-datatable-scrollable .p-datatable-thead > tr > th,\n.p-datatable-scrollable .p-datatable-tbody > tr > td,\n.p-datatable-scrollable .p-datatable-tfoot > tr > td {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-flex: 1;\n -ms-flex: 1 1 0px;\n flex: 1 1 0;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.p-datatable-scrollable .p-datatable-thead {\n position: sticky;\n top: 0;\n z-index: 1;\n}\n.p-datatable-scrollable .p-datatable-frozen-tbody {\n position: sticky;\n z-index: 1;\n}\n.p-datatable-scrollable .p-datatable-tfoot {\n position: sticky;\n bottom: 0;\n z-index: 1;\n}\n.p-datatable-scrollable .p-frozen-column {\n position: sticky;\n background: inherit;\n}\n.p-datatable-scrollable th.p-frozen-column {\n z-index: 1;\n}\n.p-datatable-scrollable-both .p-datatable-thead > tr > th,\n.p-datatable-scrollable-both .p-datatable-tbody > tr > td,\n.p-datatable-scrollable-both .p-datatable-tfoot > tr > td,\n.p-datatable-scrollable-horizontal .p-datatable-thead > tr > th\n.p-datatable-scrollable-horizontal .p-datatable-tbody > tr > td,\n.p-datatable-scrollable-horizontal .p-datatable-tfoot > tr > td {\n -webkit-box-flex: 0;\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n}\n.p-datatable-flex-scrollable {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n height: 100%;\n}\n.p-datatable-flex-scrollable .p-datatable-wrapper {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n height: 100%;\n}\n.p-datatable-scrollable .p-rowgroup-header {\n position: sticky;\n z-index: 1;\n}\n.p-datatable-scrollable.p-datatable-grouped-header .p-datatable-thead,\n.p-datatable-scrollable.p-datatable-grouped-footer .p-datatable-tfoot {\n display: table;\n border-collapse: collapse;\n width: 100%;\n table-layout: fixed;\n}\n.p-datatable-scrollable.p-datatable-grouped-header .p-datatable-thead > tr,\n.p-datatable-scrollable.p-datatable-grouped-footer .p-datatable-tfoot > tr {\n display: table-row;\n}\n.p-datatable-scrollable.p-datatable-grouped-header .p-datatable-thead > tr > th,\n.p-datatable-scrollable.p-datatable-grouped-footer .p-datatable-tfoot > tr > td {\n display: table-cell;\n}\n\n/* Resizable */\n.p-datatable-resizable > .p-datatable-wrapper {\n overflow-x: auto;\n}\n.p-datatable-resizable .p-datatable-thead > tr > th,\n.p-datatable-resizable .p-datatable-tfoot > tr > td,\n.p-datatable-resizable .p-datatable-tbody > tr > td {\n overflow: hidden;\n white-space: nowrap;\n}\n.p-datatable-resizable .p-resizable-column:not(.p-frozen-column) {\n background-clip: padding-box;\n position: relative;\n}\n.p-datatable-resizable-fit .p-resizable-column:last-child .p-column-resizer {\n display: none;\n}\n.p-datatable .p-column-resizer {\n display: block;\n position: absolute !important;\n top: 0;\n right: 0;\n margin: 0;\n width: .5rem;\n height: 100%;\n padding: 0px;\n cursor:col-resize;\n border: 1px solid transparent;\n}\n.p-datatable .p-column-header-content {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.p-datatable .p-column-resizer-helper {\n width: 1px;\n position: absolute;\n z-index: 10;\n display: none;\n}\n.p-datatable .p-row-editor-init,\n.p-datatable .p-row-editor-save,\n.p-datatable .p-row-editor-cancel {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n overflow: hidden;\n position: relative;\n}\n\n/* Expand */\n.p-datatable .p-row-toggler {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n overflow: hidden;\n position: relative;\n}\n\n/* Reorder */\n.p-datatable-reorder-indicator-up,\n.p-datatable-reorder-indicator-down {\n position: absolute;\n display: none;\n}\n\n/* Loader */\n.p-datatable .p-datatable-loading-overlay {\n position: absolute;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n z-index: 2;\n}\n\n/* Filter */\n.p-column-filter-row {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n width: 100%;\n}\n.p-column-filter-menu {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n margin-left: auto;\n}\n.p-column-filter-row .p-column-filter-element {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n width: 1%;\n}\n.p-column-filter-menu-button,\n.p-column-filter-clear-button {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n cursor: pointer;\n text-decoration: none;\n overflow: hidden;\n position: relative;\n}\n.p-column-filter-overlay {\n position: absolute;\n top: 0;\n left: 0;\n}\n.p-column-filter-row-items {\n margin: 0;\n padding: 0;\n list-style: none;\n}\n.p-column-filter-row-item {\n cursor: pointer;\n}\n.p-column-filter-add-button,\n.p-column-filter-remove-button {\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.p-column-filter-add-button .p-button-label,\n.p-column-filter-remove-button .p-button-label {\n -webkit-box-flex: 0;\n -ms-flex-positive: 0;\n flex-grow: 0;\n}\n.p-column-filter-buttonbar {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n.p-column-filter-buttonbar .p-button:not(.p-button-icon-only) {\n width: auto;\n}\n\n/* Responsive */\n.p-datatable .p-datatable-tbody > tr > td > .p-column-title {\n display: none;\n}\n\n/* VirtualScroller */\n.p-datatable .p-virtualscroller-loading {\n -webkit-transform: none !important;\n transform: none !important;\n min-height: 0;\n position: sticky;\n top: 0;\n left: 0;\n}\n";
  34011. styleInject(css_248z);
  34012. script.render = render;
  34013. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  34014. /***/ }),
  34015. /***/ "./node_modules/primevue/dialog/dialog.esm.js":
  34016. /*!****************************************************!*\
  34017. !*** ./node_modules/primevue/dialog/dialog.esm.js ***!
  34018. \****************************************************/
  34019. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  34020. "use strict";
  34021. __webpack_require__.r(__webpack_exports__);
  34022. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  34023. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  34024. /* harmony export */ });
  34025. /* harmony import */ var primevue_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! primevue/utils */ "./node_modules/primevue/utils/utils.esm.js");
  34026. /* harmony import */ var primevue_ripple__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! primevue/ripple */ "./node_modules/primevue/ripple/ripple.esm.js");
  34027. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  34028. var script = {
  34029. name: 'Dialog',
  34030. inheritAttrs: false,
  34031. emits: ['update:visible','show','hide','maximize','unmaximize','dragend'],
  34032. props: {
  34033. header: null,
  34034. footer: null,
  34035. visible: Boolean,
  34036. modal: Boolean,
  34037. contentStyle: null,
  34038. contentClass: String,
  34039. rtl: Boolean,
  34040. maximizable: Boolean,
  34041. dismissableMask: Boolean,
  34042. closable: {
  34043. type: Boolean,
  34044. default: true
  34045. },
  34046. closeOnEscape: {
  34047. type: Boolean,
  34048. default: true
  34049. },
  34050. showHeader: {
  34051. type: Boolean,
  34052. default: true
  34053. },
  34054. baseZIndex: {
  34055. type: Number,
  34056. default: 0
  34057. },
  34058. autoZIndex: {
  34059. type: Boolean,
  34060. default: true
  34061. },
  34062. ariaCloseLabel: {
  34063. type: String,
  34064. default: 'close'
  34065. },
  34066. position: {
  34067. type: String,
  34068. default: 'center'
  34069. },
  34070. breakpoints: {
  34071. type: Object,
  34072. default: null
  34073. },
  34074. draggable: {
  34075. type: Boolean,
  34076. default: true
  34077. },
  34078. keepInViewport: {
  34079. type: Boolean,
  34080. default: true
  34081. },
  34082. minX: {
  34083. type: Number,
  34084. default: 0
  34085. },
  34086. minY: {
  34087. type: Number,
  34088. default: 0
  34089. },
  34090. appendTo: {
  34091. type: String,
  34092. default: 'body'
  34093. }
  34094. },
  34095. data() {
  34096. return {
  34097. containerVisible: this.visible,
  34098. maximized: false
  34099. }
  34100. },
  34101. documentKeydownListener: null,
  34102. container: null,
  34103. mask: null,
  34104. styleElement: null,
  34105. dragging: null,
  34106. documentDragListener: null,
  34107. documentDragEndListener: null,
  34108. lastPageX: null,
  34109. lastPageY: null,
  34110. updated() {
  34111. if (this.visible) {
  34112. this.containerVisible = this.visible;
  34113. }
  34114. },
  34115. beforeUnmount() {
  34116. this.unbindDocumentState();
  34117. this.unbindGlobalListeners();
  34118. this.destroyStyle();
  34119. this.mask = null;
  34120. if (this.container && this.autoZIndex) {
  34121. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.clear(this.container);
  34122. }
  34123. this.container = null;
  34124. },
  34125. mounted() {
  34126. if (this.breakpoints) {
  34127. this.createStyle();
  34128. }
  34129. },
  34130. methods: {
  34131. close() {
  34132. this.$emit('update:visible', false);
  34133. },
  34134. onBeforeEnter(el) {
  34135. if (this.autoZIndex) {
  34136. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.set('modal', el, this.baseZIndex + this.$primevue.config.zIndex.modal);
  34137. }
  34138. el.setAttribute(this.attributeSelector, '');
  34139. },
  34140. onEnter() {
  34141. this.mask.style.zIndex = String(parseInt(this.container.style.zIndex, 10) - 1);
  34142. this.$emit('show');
  34143. this.focus();
  34144. this.enableDocumentSettings();
  34145. this.bindGlobalListeners();
  34146. },
  34147. onBeforeLeave() {
  34148. if (this.modal) {
  34149. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(this.mask, 'p-component-overlay-leave');
  34150. }
  34151. },
  34152. onLeave() {
  34153. this.$emit('hide');
  34154. },
  34155. onAfterLeave(el) {
  34156. if (this.autoZIndex) {
  34157. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.clear(el);
  34158. }
  34159. this.containerVisible = false;
  34160. this.unbindDocumentState();
  34161. this.unbindGlobalListeners();
  34162. },
  34163. onMaskClick(event) {
  34164. if (this.dismissableMask && this.closable && this.modal && this.mask === event.target) {
  34165. this.close();
  34166. }
  34167. },
  34168. focus() {
  34169. let focusTarget = this.container.querySelector('[autofocus]');
  34170. if (focusTarget) {
  34171. focusTarget.focus();
  34172. }
  34173. },
  34174. maximize(event) {
  34175. if (this.maximized) {
  34176. this.maximized = false;
  34177. this.$emit('unmaximize', event);
  34178. }
  34179. else {
  34180. this.maximized = true;
  34181. this.$emit('maximize', event);
  34182. }
  34183. if (!this.modal) {
  34184. if (this.maximized)
  34185. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(document.body, 'p-overflow-hidden');
  34186. else
  34187. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(document.body, 'p-overflow-hidden');
  34188. }
  34189. },
  34190. enableDocumentSettings() {
  34191. if (this.modal || (this.maximizable && this.maximized)) {
  34192. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(document.body, 'p-overflow-hidden');
  34193. }
  34194. },
  34195. unbindDocumentState() {
  34196. if (this.modal || (this.maximizable && this.maximized)) {
  34197. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(document.body, 'p-overflow-hidden');
  34198. }
  34199. },
  34200. onKeyDown(event) {
  34201. if (event.which === 9) {
  34202. event.preventDefault();
  34203. let focusableElements = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getFocusableElements(this.container);
  34204. if (focusableElements && focusableElements.length > 0) {
  34205. if (!document.activeElement) {
  34206. focusableElements[0].focus();
  34207. }
  34208. else {
  34209. let focusedIndex = focusableElements.indexOf(document.activeElement);
  34210. if (event.shiftKey) {
  34211. if (focusedIndex == -1 || focusedIndex === 0)
  34212. focusableElements[focusableElements.length - 1].focus();
  34213. else
  34214. focusableElements[focusedIndex - 1].focus();
  34215. }
  34216. else {
  34217. if (focusedIndex == -1 || focusedIndex === (focusableElements.length - 1))
  34218. focusableElements[0].focus();
  34219. else
  34220. focusableElements[focusedIndex + 1].focus();
  34221. }
  34222. }
  34223. }
  34224. } else if (event.which === 27 && this.closeOnEscape) {
  34225. this.close();
  34226. }
  34227. },
  34228. bindDocumentKeyDownListener() {
  34229. if (!this.documentKeydownListener) {
  34230. this.documentKeydownListener = this.onKeyDown.bind(this);
  34231. window.document.addEventListener('keydown', this.documentKeydownListener);
  34232. }
  34233. },
  34234. unbindDocumentKeyDownListener() {
  34235. if (this.documentKeydownListener) {
  34236. window.document.removeEventListener('keydown', this.documentKeydownListener);
  34237. this.documentKeydownListener = null;
  34238. }
  34239. },
  34240. getPositionClass() {
  34241. const positions = ['left', 'right', 'top', 'topleft', 'topright', 'bottom', 'bottomleft', 'bottomright'];
  34242. const pos = positions.find(item => item === this.position);
  34243. return pos ? `p-dialog-${pos}` : '';
  34244. },
  34245. containerRef(el) {
  34246. this.container = el;
  34247. },
  34248. maskRef(el) {
  34249. this.mask = el;
  34250. },
  34251. createStyle() {
  34252. if (!this.styleElement) {
  34253. this.styleElement = document.createElement('style');
  34254. this.styleElement.type = 'text/css';
  34255. document.head.appendChild(this.styleElement);
  34256. let innerHTML = '';
  34257. for (let breakpoint in this.breakpoints) {
  34258. innerHTML += `
  34259. @media screen and (max-width: ${breakpoint}) {
  34260. .p-dialog[${this.attributeSelector}] {
  34261. width: ${this.breakpoints[breakpoint]} !important;
  34262. }
  34263. }
  34264. `;
  34265. }
  34266. this.styleElement.innerHTML = innerHTML;
  34267. }
  34268. },
  34269. destroyStyle() {
  34270. if (this.styleElement) {
  34271. document.head.removeChild(this.styleElement);
  34272. this.styleElement = null;
  34273. }
  34274. },
  34275. initDrag(event) {
  34276. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(event.target, 'p-dialog-header-icon') || primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(event.target.parentElement, 'p-dialog-header-icon')) {
  34277. return;
  34278. }
  34279. if (this.draggable) {
  34280. this.dragging = true;
  34281. this.lastPageX = event.pageX;
  34282. this.lastPageY = event.pageY;
  34283. this.container.style.margin = '0';
  34284. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(document.body, 'p-unselectable-text');
  34285. }
  34286. },
  34287. bindGlobalListeners() {
  34288. if (this.draggable) {
  34289. this.bindDocumentDragListener();
  34290. this.bindDocumentDragEndListener();
  34291. }
  34292. if (this.closeOnEscape && this.closable) {
  34293. this.bindDocumentKeyDownListener();
  34294. }
  34295. },
  34296. unbindGlobalListeners() {
  34297. this.unbindDocumentDragListener();
  34298. this.unbindDocumentDragEndListener();
  34299. this.unbindDocumentKeyDownListener();
  34300. },
  34301. bindDocumentDragListener() {
  34302. this.documentDragListener = (event) => {
  34303. if (this.dragging) {
  34304. let width = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(this.container);
  34305. let height = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterHeight(this.container);
  34306. let deltaX = event.pageX - this.lastPageX;
  34307. let deltaY = event.pageY - this.lastPageY;
  34308. let offset = this.container.getBoundingClientRect();
  34309. let leftPos = offset.left + deltaX;
  34310. let topPos = offset.top + deltaY;
  34311. let viewport = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getViewport();
  34312. this.container.style.position = 'fixed';
  34313. if (this.keepInViewport) {
  34314. if (leftPos >= this.minX && (leftPos + width) < viewport.width) {
  34315. this.lastPageX = event.pageX;
  34316. this.container.style.left = leftPos + 'px';
  34317. }
  34318. if (topPos >= this.minY && (topPos + height) < viewport.height) {
  34319. this.lastPageY = event.pageY;
  34320. this.container.style.top = topPos + 'px';
  34321. }
  34322. }
  34323. else {
  34324. this.lastPageX = event.pageX;
  34325. this.container.style.left = leftPos + 'px';
  34326. this.lastPageY = event.pageY;
  34327. this.container.style.top = topPos + 'px';
  34328. }
  34329. }
  34330. };
  34331. window.document.addEventListener('mousemove', this.documentDragListener);
  34332. },
  34333. unbindDocumentDragListener() {
  34334. if (this.documentDragListener) {
  34335. window.document.removeEventListener('mousemove', this.documentDragListener);
  34336. this.documentDragListener = null;
  34337. }
  34338. },
  34339. bindDocumentDragEndListener() {
  34340. this.documentDragEndListener = (event) => {
  34341. if (this.dragging) {
  34342. this.dragging = false;
  34343. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(document.body, 'p-unselectable-text');
  34344. this.$emit('dragend', event);
  34345. }
  34346. };
  34347. window.document.addEventListener('mouseup', this.documentDragEndListener);
  34348. },
  34349. unbindDocumentDragEndListener() {
  34350. if (this.documentDragEndListener) {
  34351. window.document.removeEventListener('mouseup', this.documentDragEndListener);
  34352. this.documentDragEndListener = null;
  34353. }
  34354. }
  34355. },
  34356. computed: {
  34357. maskClass() {
  34358. return ['p-dialog-mask', {'p-component-overlay p-component-overlay-enter': this.modal}, this.getPositionClass()];
  34359. },
  34360. dialogClass() {
  34361. return ['p-dialog p-component', {
  34362. 'p-dialog-rtl': this.rtl,
  34363. 'p-dialog-maximized': this.maximizable && this.maximized,
  34364. 'p-input-filled': this.$primevue.config.inputStyle === 'filled',
  34365. 'p-ripple-disabled': this.$primevue.config.ripple === false
  34366. }];
  34367. },
  34368. maximizeIconClass() {
  34369. return ['p-dialog-header-maximize-icon pi', {
  34370. 'pi-window-maximize': !this.maximized,
  34371. 'pi-window-minimize': this.maximized
  34372. }];
  34373. },
  34374. ariaId() {
  34375. return (0,primevue_utils__WEBPACK_IMPORTED_MODULE_0__.UniqueComponentId)();
  34376. },
  34377. ariaLabelledById() {
  34378. return this.header != null ? this.ariaId + '_header' : null;
  34379. },
  34380. attributeSelector() {
  34381. return (0,primevue_utils__WEBPACK_IMPORTED_MODULE_0__.UniqueComponentId)();
  34382. },
  34383. contentStyleClass() {
  34384. return ['p-dialog-content', this.contentClass];
  34385. },
  34386. appendDisabled() {
  34387. return this.appendTo === 'self';
  34388. },
  34389. appendTarget() {
  34390. return this.appendDisabled ? null : this.appendTo;
  34391. }
  34392. },
  34393. directives: {
  34394. 'ripple': primevue_ripple__WEBPACK_IMPORTED_MODULE_1__["default"]
  34395. }
  34396. };
  34397. const _hoisted_1 = { class: "p-dialog-header-icons" };
  34398. const _hoisted_2 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_2__.createVNode)("span", { class: "p-dialog-header-close-icon pi pi-times" }, null, -1);
  34399. const _hoisted_3 = {
  34400. key: 1,
  34401. class: "p-dialog-footer"
  34402. };
  34403. function render(_ctx, _cache, $props, $setup, $data, $options) {
  34404. const _directive_ripple = (0,vue__WEBPACK_IMPORTED_MODULE_2__.resolveDirective)("ripple");
  34405. return ((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_2__.Teleport, {
  34406. to: $options.appendTarget,
  34407. disabled: $options.appendDisabled
  34408. }, [
  34409. ($data.containerVisible)
  34410. ? ((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)("div", {
  34411. key: 0,
  34412. ref: $options.maskRef,
  34413. class: $options.maskClass,
  34414. onClick: _cache[4] || (_cache[4] = (...args) => ($options.onMaskClick && $options.onMaskClick(...args)))
  34415. }, [
  34416. (0,vue__WEBPACK_IMPORTED_MODULE_2__.createVNode)(vue__WEBPACK_IMPORTED_MODULE_2__.Transition, {
  34417. name: "p-dialog",
  34418. onBeforeEnter: $options.onBeforeEnter,
  34419. onEnter: $options.onEnter,
  34420. onBeforeLeave: $options.onBeforeLeave,
  34421. onLeave: $options.onLeave,
  34422. onAfterLeave: $options.onAfterLeave,
  34423. appear: ""
  34424. }, {
  34425. default: (0,vue__WEBPACK_IMPORTED_MODULE_2__.withCtx)(() => [
  34426. ($props.visible)
  34427. ? ((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)("div", (0,vue__WEBPACK_IMPORTED_MODULE_2__.mergeProps)({
  34428. key: 0,
  34429. ref: $options.containerRef,
  34430. class: $options.dialogClass
  34431. }, _ctx.$attrs, {
  34432. role: "dialog",
  34433. "aria-labelledby": $options.ariaLabelledById,
  34434. "aria-modal": $props.modal
  34435. }), [
  34436. ($props.showHeader)
  34437. ? ((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)("div", {
  34438. key: 0,
  34439. class: "p-dialog-header",
  34440. onMousedown: _cache[3] || (_cache[3] = (...args) => ($options.initDrag && $options.initDrag(...args)))
  34441. }, [
  34442. (0,vue__WEBPACK_IMPORTED_MODULE_2__.renderSlot)(_ctx.$slots, "header", {}, () => [
  34443. ($props.header)
  34444. ? ((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)("span", {
  34445. key: 0,
  34446. id: $options.ariaLabelledById,
  34447. class: "p-dialog-title"
  34448. }, (0,vue__WEBPACK_IMPORTED_MODULE_2__.toDisplayString)($props.header), 9, ["id"]))
  34449. : (0,vue__WEBPACK_IMPORTED_MODULE_2__.createCommentVNode)("", true)
  34450. ]),
  34451. (0,vue__WEBPACK_IMPORTED_MODULE_2__.createVNode)("div", _hoisted_1, [
  34452. ($props.maximizable)
  34453. ? (0,vue__WEBPACK_IMPORTED_MODULE_2__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)("button", {
  34454. key: 0,
  34455. class: "p-dialog-header-icon p-dialog-header-maximize p-link",
  34456. onClick: _cache[1] || (_cache[1] = (...args) => ($options.maximize && $options.maximize(...args))),
  34457. type: "button",
  34458. tabindex: "-1"
  34459. }, [
  34460. (0,vue__WEBPACK_IMPORTED_MODULE_2__.createVNode)("span", { class: $options.maximizeIconClass }, null, 2)
  34461. ], 512)), [
  34462. [_directive_ripple]
  34463. ])
  34464. : (0,vue__WEBPACK_IMPORTED_MODULE_2__.createCommentVNode)("", true),
  34465. ($props.closable)
  34466. ? (0,vue__WEBPACK_IMPORTED_MODULE_2__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)("button", {
  34467. key: 1,
  34468. class: "p-dialog-header-icon p-dialog-header-close p-link",
  34469. onClick: _cache[2] || (_cache[2] = (...args) => ($options.close && $options.close(...args))),
  34470. "aria-label": $props.ariaCloseLabel,
  34471. type: "button"
  34472. }, [
  34473. _hoisted_2
  34474. ], 8, ["aria-label"])), [
  34475. [_directive_ripple]
  34476. ])
  34477. : (0,vue__WEBPACK_IMPORTED_MODULE_2__.createCommentVNode)("", true)
  34478. ])
  34479. ], 32))
  34480. : (0,vue__WEBPACK_IMPORTED_MODULE_2__.createCommentVNode)("", true),
  34481. (0,vue__WEBPACK_IMPORTED_MODULE_2__.createVNode)("div", {
  34482. class: $options.contentStyleClass,
  34483. style: $props.contentStyle
  34484. }, [
  34485. (0,vue__WEBPACK_IMPORTED_MODULE_2__.renderSlot)(_ctx.$slots, "default")
  34486. ], 6),
  34487. ($props.footer || _ctx.$slots.footer)
  34488. ? ((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)("div", _hoisted_3, [
  34489. (0,vue__WEBPACK_IMPORTED_MODULE_2__.renderSlot)(_ctx.$slots, "footer", {}, () => [
  34490. (0,vue__WEBPACK_IMPORTED_MODULE_2__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_2__.toDisplayString)($props.footer), 1)
  34491. ])
  34492. ]))
  34493. : (0,vue__WEBPACK_IMPORTED_MODULE_2__.createCommentVNode)("", true)
  34494. ], 16, ["aria-labelledby", "aria-modal"]))
  34495. : (0,vue__WEBPACK_IMPORTED_MODULE_2__.createCommentVNode)("", true)
  34496. ]),
  34497. _: 3
  34498. }, 8, ["onBeforeEnter", "onEnter", "onBeforeLeave", "onLeave", "onAfterLeave"])
  34499. ], 2))
  34500. : (0,vue__WEBPACK_IMPORTED_MODULE_2__.createCommentVNode)("", true)
  34501. ], 8, ["to", "disabled"]))
  34502. }
  34503. function styleInject(css, ref) {
  34504. if ( ref === void 0 ) ref = {};
  34505. var insertAt = ref.insertAt;
  34506. if (!css || typeof document === 'undefined') { return; }
  34507. var head = document.head || document.getElementsByTagName('head')[0];
  34508. var style = document.createElement('style');
  34509. style.type = 'text/css';
  34510. if (insertAt === 'top') {
  34511. if (head.firstChild) {
  34512. head.insertBefore(style, head.firstChild);
  34513. } else {
  34514. head.appendChild(style);
  34515. }
  34516. } else {
  34517. head.appendChild(style);
  34518. }
  34519. if (style.styleSheet) {
  34520. style.styleSheet.cssText = css;
  34521. } else {
  34522. style.appendChild(document.createTextNode(css));
  34523. }
  34524. }
  34525. var css_248z = "\n.p-dialog-mask {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n pointer-events: none;\n}\n.p-dialog-mask.p-component-overlay {\n pointer-events: auto;\n}\n.p-dialog {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n pointer-events: auto;\n max-height: 90%;\n -webkit-transform: scale(1);\n transform: scale(1);\n}\n.p-dialog-content {\n overflow-y: auto;\n}\n.p-dialog-header {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-negative: 0;\n flex-shrink: 0;\n}\n.p-dialog-footer {\n -ms-flex-negative: 0;\n flex-shrink: 0;\n}\n.p-dialog .p-dialog-header-icons {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.p-dialog .p-dialog-header-icon {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n overflow: hidden;\n position: relative;\n}\n\n/* Fluid */\n.p-fluid .p-dialog-footer .p-button {\n width: auto;\n}\n\n/* Animation */\n/* Center */\n.p-dialog-enter-active {\n -webkit-transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n}\n.p-dialog-leave-active {\n -webkit-transition: all 150ms cubic-bezier(0.4, 0.0, 0.2, 1);\n transition: all 150ms cubic-bezier(0.4, 0.0, 0.2, 1);\n}\n.p-dialog-enter-from,\n.p-dialog-leave-to {\n opacity: 0;\n -webkit-transform: scale(0.7);\n transform: scale(0.7);\n}\n\n/* Top, Bottom, Left, Right, Top* and Bottom* */\n.p-dialog-top .p-dialog,\n.p-dialog-bottom .p-dialog,\n.p-dialog-left .p-dialog,\n.p-dialog-right .p-dialog,\n.p-dialog-topleft .p-dialog,\n.p-dialog-topright .p-dialog,\n.p-dialog-bottomleft .p-dialog,\n.p-dialog-bottomright .p-dialog {\n margin: .75rem;\n -webkit-transform: translate3d(0px, 0px, 0px);\n transform: translate3d(0px, 0px, 0px);\n}\n.p-dialog-top .p-dialog-enter-active,\n.p-dialog-top .p-dialog-leave-active,\n.p-dialog-bottom .p-dialog-enter-active,\n.p-dialog-bottom .p-dialog-leave-active,\n.p-dialog-left .p-dialog-enter-active,\n.p-dialog-left .p-dialog-leave-active,\n.p-dialog-right .p-dialog-enter-active,\n.p-dialog-right .p-dialog-leave-active,\n.p-dialog-topleft .p-dialog-enter-active,\n.p-dialog-topleft .p-dialog-leave-active,\n.p-dialog-topright .p-dialog-enter-active,\n.p-dialog-topright .p-dialog-leave-active,\n.p-dialog-bottomleft .p-dialog-enter-active,\n.p-dialog-bottomleft .p-dialog-leave-active,\n.p-dialog-bottomright .p-dialog-enter-active,\n.p-dialog-bottomright .p-dialog-leave-active {\n -webkit-transition: all .3s ease-out;\n transition: all .3s ease-out;\n}\n.p-dialog-top .p-dialog-enter-from,\n.p-dialog-top .p-dialog-leave-to {\n -webkit-transform: translate3d(0px, -100%, 0px);\n transform: translate3d(0px, -100%, 0px);\n}\n.p-dialog-bottom .p-dialog-enter-from,\n.p-dialog-bottom .p-dialog-leave-to {\n -webkit-transform: translate3d(0px, 100%, 0px);\n transform: translate3d(0px, 100%, 0px);\n}\n.p-dialog-left .p-dialog-enter-from,\n.p-dialog-left .p-dialog-leave-to,\n.p-dialog-topleft .p-dialog-enter-from,\n.p-dialog-topleft .p-dialog-leave-to,\n.p-dialog-bottomleft .p-dialog-enter-from,\n.p-dialog-bottomleft .p-dialog-leave-to {\n -webkit-transform: translate3d(-100%, 0px, 0px);\n transform: translate3d(-100%, 0px, 0px);\n}\n.p-dialog-right .p-dialog-enter-from,\n.p-dialog-right .p-dialog-leave-to,\n.p-dialog-topright .p-dialog-enter-from,\n.p-dialog-topright .p-dialog-leave-to,\n.p-dialog-bottomright .p-dialog-enter-from,\n.p-dialog-bottomright .p-dialog-leave-to {\n -webkit-transform: translate3d(100%, 0px, 0px);\n transform: translate3d(100%, 0px, 0px);\n}\n\n/* Maximize */\n.p-dialog-maximized {\n -webkit-transition: none;\n transition: none;\n -webkit-transform: none;\n transform: none;\n width: 100vw !important;\n height: 100vh !important;\n top: 0px !important;\n left: 0px !important;\n max-height: 100%;\n height: 100%;\n}\n.p-dialog-maximized .p-dialog-content {\n -webkit-box-flex: 1;\n -ms-flex-positive: 1;\n flex-grow: 1;\n}\n\n/* Position */\n.p-dialog-left {\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n justify-content: flex-start;\n}\n.p-dialog-right {\n -webkit-box-pack: end;\n -ms-flex-pack: end;\n justify-content: flex-end;\n}\n.p-dialog-top {\n -webkit-box-align: start;\n -ms-flex-align: start;\n align-items: flex-start;\n}\n.p-dialog-topleft {\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n justify-content: flex-start;\n -webkit-box-align: start;\n -ms-flex-align: start;\n align-items: flex-start;\n}\n.p-dialog-topright {\n -webkit-box-pack: end;\n -ms-flex-pack: end;\n justify-content: flex-end;\n -webkit-box-align: start;\n -ms-flex-align: start;\n align-items: flex-start;\n}\n.p-dialog-bottom {\n -webkit-box-align: end;\n -ms-flex-align: end;\n align-items: flex-end;\n}\n.p-dialog-bottomleft {\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n justify-content: flex-start;\n -webkit-box-align: end;\n -ms-flex-align: end;\n align-items: flex-end;\n}\n.p-dialog-bottomright {\n -webkit-box-pack: end;\n -ms-flex-pack: end;\n justify-content: flex-end;\n -webkit-box-align: end;\n -ms-flex-align: end;\n align-items: flex-end;\n}\n.p-confirm-dialog .p-dialog-content {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n";
  34526. styleInject(css_248z);
  34527. script.render = render;
  34528. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  34529. /***/ }),
  34530. /***/ "./node_modules/primevue/divider/divider.esm.js":
  34531. /*!******************************************************!*\
  34532. !*** ./node_modules/primevue/divider/divider.esm.js ***!
  34533. \******************************************************/
  34534. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  34535. "use strict";
  34536. __webpack_require__.r(__webpack_exports__);
  34537. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  34538. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  34539. /* harmony export */ });
  34540. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  34541. var script = {
  34542. name: 'Divider',
  34543. props: {
  34544. align: {
  34545. type: String,
  34546. default: null
  34547. },
  34548. layout: {
  34549. type: String,
  34550. default: 'horizontal'
  34551. },
  34552. type: {
  34553. type: String,
  34554. default: 'solid'
  34555. }
  34556. },
  34557. computed: {
  34558. containerClass() {
  34559. return ['p-divider p-component', 'p-divider-' + this.layout, 'p-divider-' + this.type,
  34560. {'p-divider-left': this.layout === 'horizontal' && (!this.align || this.align === 'left')},
  34561. {'p-divider-center': this.layout === 'horizontal' && this.align === 'center'},
  34562. {'p-divider-right': this.layout === 'horizontal' && this.align === 'right'},
  34563. {'p-divider-top': this.layout === 'vertical' && (this.align === 'top')},
  34564. {'p-divider-center': this.layout === 'vertical' && (!this.align || this.align === 'center')},
  34565. {'p-divider-bottom': this.layout === 'vertical' && this.align === 'bottom'}
  34566. ];
  34567. }
  34568. }
  34569. };
  34570. const _hoisted_1 = {
  34571. key: 0,
  34572. class: "p-divider-content"
  34573. };
  34574. function render(_ctx, _cache, $props, $setup, $data, $options) {
  34575. return ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("div", {
  34576. class: $options.containerClass,
  34577. role: "separator"
  34578. }, [
  34579. (_ctx.$slots.default)
  34580. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("div", _hoisted_1, [
  34581. (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, "default")
  34582. ]))
  34583. : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)("", true)
  34584. ], 2))
  34585. }
  34586. function styleInject(css, ref) {
  34587. if ( ref === void 0 ) ref = {};
  34588. var insertAt = ref.insertAt;
  34589. if (!css || typeof document === 'undefined') { return; }
  34590. var head = document.head || document.getElementsByTagName('head')[0];
  34591. var style = document.createElement('style');
  34592. style.type = 'text/css';
  34593. if (insertAt === 'top') {
  34594. if (head.firstChild) {
  34595. head.insertBefore(style, head.firstChild);
  34596. } else {
  34597. head.appendChild(style);
  34598. }
  34599. } else {
  34600. head.appendChild(style);
  34601. }
  34602. if (style.styleSheet) {
  34603. style.styleSheet.cssText = css;
  34604. } else {
  34605. style.appendChild(document.createTextNode(css));
  34606. }
  34607. }
  34608. var css_248z = "\n.p-divider-horizontal {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n width: 100%;\n position: relative;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.p-divider-horizontal:before {\n position: absolute;\n display: block;\n top: 50%;\n left: 0;\n width: 100%;\n content: \"\";\n}\n.p-divider-horizontal.p-divider-left {\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n justify-content: flex-start;\n}\n.p-divider-horizontal.p-divider-right {\n -webkit-box-pack: end;\n -ms-flex-pack: end;\n justify-content: flex-end;\n}\n.p-divider-horizontal.p-divider-center {\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.p-divider-content {\n z-index: 1;\n}\n.p-divider-vertical {\n min-height: 100%;\n margin: 0 1rem;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n position: relative;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.p-divider-vertical:before {\n position: absolute;\n display: block;\n top: 0;\n left: 50%;\n height: 100%;\n content: \"\";\n}\n.p-divider-vertical.p-divider-top {\n -webkit-box-align: start;\n -ms-flex-align: start;\n align-items: flex-start;\n}\n.p-divider-vertical.p-divider-center {\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.p-divider-vertical.p-divider-bottom {\n -webkit-box-align: end;\n -ms-flex-align: end;\n align-items: flex-end;\n}\n.p-divider-solid.p-divider-horizontal:before {\n border-top-style: solid;\n}\n.p-divider-solid.p-divider-vertical:before {\n border-left-style: solid;\n}\n.p-divider-dashed.p-divider-horizontal:before {\n border-top-style: dashed;\n}\n.p-divider-dashed.p-divider-vertical:before {\n border-left-style: dashed;\n}\n.p-divider-dotted.p-divider-horizontal:before {\n border-top-style: dotted;\n}\n.p-divider-dotted.p-divider-horizontal:before {\n border-left-style: dotted;\n}\n";
  34609. styleInject(css_248z);
  34610. script.render = render;
  34611. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  34612. /***/ }),
  34613. /***/ "./node_modules/primevue/dropdown/dropdown.esm.js":
  34614. /*!********************************************************!*\
  34615. !*** ./node_modules/primevue/dropdown/dropdown.esm.js ***!
  34616. \********************************************************/
  34617. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  34618. "use strict";
  34619. __webpack_require__.r(__webpack_exports__);
  34620. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  34621. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  34622. /* harmony export */ });
  34623. /* harmony import */ var primevue_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! primevue/utils */ "./node_modules/primevue/utils/utils.esm.js");
  34624. /* harmony import */ var primevue_overlayeventbus__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! primevue/overlayeventbus */ "./node_modules/primevue/overlayeventbus/overlayeventbus.esm.js");
  34625. /* harmony import */ var primevue_api__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! primevue/api */ "./node_modules/primevue/api/api.esm.js");
  34626. /* harmony import */ var primevue_ripple__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! primevue/ripple */ "./node_modules/primevue/ripple/ripple.esm.js");
  34627. /* harmony import */ var primevue_virtualscroller__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! primevue/virtualscroller */ "./node_modules/primevue/virtualscroller/virtualscroller.esm.js");
  34628. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  34629. var script = {
  34630. name: 'Dropdown',
  34631. emits: ['update:modelValue', 'before-show', 'before-hide', 'show', 'hide', 'change', 'filter', 'focus', 'blur'],
  34632. props: {
  34633. modelValue: null,
  34634. options: Array,
  34635. optionLabel: null,
  34636. optionValue: null,
  34637. optionDisabled: null,
  34638. optionGroupLabel: null,
  34639. optionGroupChildren: null,
  34640. scrollHeight: {
  34641. type: String,
  34642. default: '200px'
  34643. },
  34644. filter: Boolean,
  34645. filterPlaceholder: String,
  34646. filterLocale: String,
  34647. filterMatchMode: {
  34648. type: String,
  34649. default: 'contains'
  34650. },
  34651. filterFields: {
  34652. type: Array,
  34653. default: null
  34654. },
  34655. editable: Boolean,
  34656. placeholder: String,
  34657. disabled: Boolean,
  34658. dataKey: null,
  34659. showClear: Boolean,
  34660. inputId: String,
  34661. tabindex: String,
  34662. ariaLabelledBy: null,
  34663. appendTo: {
  34664. type: String,
  34665. default: 'body'
  34666. },
  34667. emptyFilterMessage: {
  34668. type: String,
  34669. default: null
  34670. },
  34671. emptyMessage: {
  34672. type: String,
  34673. default: null
  34674. },
  34675. panelClass: null,
  34676. loading: {
  34677. type: Boolean,
  34678. default: false
  34679. },
  34680. loadingIcon: {
  34681. type: String,
  34682. default: 'pi pi-spinner pi-spin'
  34683. },
  34684. virtualScrollerOptions: {
  34685. type: Object,
  34686. default: null
  34687. }
  34688. },
  34689. data() {
  34690. return {
  34691. focused: false,
  34692. filterValue: null,
  34693. overlayVisible: false
  34694. };
  34695. },
  34696. watch: {
  34697. modelValue() {
  34698. this.isModelValueChanged = true;
  34699. }
  34700. },
  34701. outsideClickListener: null,
  34702. scrollHandler: null,
  34703. resizeListener: null,
  34704. searchTimeout: null,
  34705. currentSearchChar: null,
  34706. previousSearchChar: null,
  34707. searchValue: null,
  34708. overlay: null,
  34709. itemsWrapper: null,
  34710. virtualScroller: null,
  34711. isModelValueChanged: false,
  34712. updated() {
  34713. if (this.overlayVisible && this.isModelValueChanged) {
  34714. this.scrollValueInView();
  34715. }
  34716. this.isModelValueChanged = false;
  34717. },
  34718. beforeUnmount() {
  34719. this.unbindOutsideClickListener();
  34720. this.unbindResizeListener();
  34721. if (this.scrollHandler) {
  34722. this.scrollHandler.destroy();
  34723. this.scrollHandler = null;
  34724. }
  34725. this.itemsWrapper = null;
  34726. if (this.overlay) {
  34727. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.clear(this.overlay);
  34728. this.overlay = null;
  34729. }
  34730. },
  34731. methods: {
  34732. getOptionIndex(index, fn) {
  34733. return this.virtualScrollerDisabled ? index : (fn && fn(index)['index']);
  34734. },
  34735. getOptionLabel(option) {
  34736. return this.optionLabel ? primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(option, this.optionLabel) : option;
  34737. },
  34738. getOptionValue(option) {
  34739. return this.optionValue ? primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(option, this.optionValue) : option;
  34740. },
  34741. getOptionRenderKey(option) {
  34742. return this.dataKey ? primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(option, this.dataKey) : this.getOptionLabel(option);
  34743. },
  34744. isOptionDisabled(option) {
  34745. return this.optionDisabled ? primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(option, this.optionDisabled) : false;
  34746. },
  34747. getOptionGroupRenderKey(optionGroup) {
  34748. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(optionGroup, this.optionGroupLabel);
  34749. },
  34750. getOptionGroupLabel(optionGroup) {
  34751. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(optionGroup, this.optionGroupLabel);
  34752. },
  34753. getOptionGroupChildren(optionGroup) {
  34754. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(optionGroup, this.optionGroupChildren);
  34755. },
  34756. getSelectedOption() {
  34757. let index = this.getSelectedOptionIndex();
  34758. return index !== -1 ? (this.optionGroupLabel ? this.getOptionGroupChildren(this.visibleOptions[index.group])[index.option]: this.visibleOptions[index]) : null;
  34759. },
  34760. getSelectedOptionIndex() {
  34761. if (this.modelValue != null && this.visibleOptions) {
  34762. if (this.optionGroupLabel) {
  34763. for (let i = 0; i < this.visibleOptions.length; i++) {
  34764. let selectedOptionIndex = this.findOptionIndexInList(this.modelValue, this.getOptionGroupChildren(this.visibleOptions[i]));
  34765. if (selectedOptionIndex !== -1) {
  34766. return {group: i, option: selectedOptionIndex};
  34767. }
  34768. }
  34769. }
  34770. else {
  34771. return this.findOptionIndexInList(this.modelValue, this.visibleOptions);
  34772. }
  34773. }
  34774. return -1;
  34775. },
  34776. findOptionIndexInList(value, list) {
  34777. for (let i = 0; i < list.length; i++) {
  34778. if ((primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.equals(value, this.getOptionValue(list[i]), this.equalityKey))) {
  34779. return i;
  34780. }
  34781. }
  34782. return -1;
  34783. },
  34784. isSelected(option) {
  34785. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.equals(this.modelValue, this.getOptionValue(option), this.equalityKey);
  34786. },
  34787. show() {
  34788. this.$emit('before-show');
  34789. this.overlayVisible = true;
  34790. },
  34791. hide() {
  34792. this.$emit('before-hide');
  34793. this.overlayVisible = false;
  34794. },
  34795. onFocus(event) {
  34796. this.focused = true;
  34797. this.$emit('focus', event);
  34798. },
  34799. onBlur(event) {
  34800. this.focused = false;
  34801. this.$emit('blur', event);
  34802. },
  34803. onKeyDown(event) {
  34804. switch(event.which) {
  34805. //down
  34806. case 40:
  34807. this.onDownKey(event);
  34808. break;
  34809. //up
  34810. case 38:
  34811. this.onUpKey(event);
  34812. break;
  34813. //space
  34814. case 32:
  34815. if (!this.overlayVisible) {
  34816. this.show();
  34817. event.preventDefault();
  34818. }
  34819. break;
  34820. //enter and escape
  34821. case 13:
  34822. case 27:
  34823. if (this.overlayVisible) {
  34824. this.hide();
  34825. event.preventDefault();
  34826. }
  34827. break;
  34828. //tab
  34829. case 9:
  34830. this.hide();
  34831. break;
  34832. default:
  34833. this.search(event);
  34834. break;
  34835. }
  34836. },
  34837. onFilterKeyDown(event) {
  34838. switch (event.which) {
  34839. //down
  34840. case 40:
  34841. this.onDownKey(event);
  34842. break;
  34843. //up
  34844. case 38:
  34845. this.onUpKey(event);
  34846. break;
  34847. //enter and escape
  34848. case 13:
  34849. case 27:
  34850. this.overlayVisible = false;
  34851. event.preventDefault();
  34852. break;
  34853. }
  34854. },
  34855. onDownKey(event) {
  34856. if (this.visibleOptions) {
  34857. if (!this.overlayVisible && event.altKey) {
  34858. this.show();
  34859. }
  34860. else {
  34861. let nextOption = this.visibleOptions && this.visibleOptions.length > 0 ? this.findNextOption(this.getSelectedOptionIndex()) : null;
  34862. if (nextOption) {
  34863. this.updateModel(event, this.getOptionValue(nextOption));
  34864. }
  34865. }
  34866. }
  34867. event.preventDefault();
  34868. },
  34869. onUpKey(event) {
  34870. if (this.visibleOptions) {
  34871. let prevOption = this.findPrevOption(this.getSelectedOptionIndex());
  34872. if (prevOption) {
  34873. this.updateModel(event, this.getOptionValue(prevOption));
  34874. }
  34875. }
  34876. event.preventDefault();
  34877. },
  34878. findNextOption(index) {
  34879. if (this.optionGroupLabel) {
  34880. let groupIndex = index === -1 ? 0 : index.group;
  34881. let optionIndex = index === -1 ? -1 : index.option;
  34882. let option = this.findNextOptionInList(this.getOptionGroupChildren(this.visibleOptions[groupIndex]), optionIndex);
  34883. if (option)
  34884. return option;
  34885. else if ((groupIndex + 1) !== this.visibleOptions.length)
  34886. return this.findNextOption({group: (groupIndex + 1), option: -1});
  34887. else
  34888. return null;
  34889. }
  34890. else {
  34891. return this.findNextOptionInList(this.visibleOptions, index);
  34892. }
  34893. },
  34894. findNextOptionInList(list, index) {
  34895. let i = index + 1;
  34896. if (i === list.length) {
  34897. return null;
  34898. }
  34899. let option = list[i];
  34900. if (this.isOptionDisabled(option))
  34901. return this.findNextOptionInList(i);
  34902. else
  34903. return option;
  34904. },
  34905. findPrevOption(index) {
  34906. if (index === -1) {
  34907. return null;
  34908. }
  34909. if (this.optionGroupLabel) {
  34910. let groupIndex = index.group;
  34911. let optionIndex = index.option;
  34912. let option = this.findPrevOptionInList(this.getOptionGroupChildren(this.visibleOptions[groupIndex]), optionIndex);
  34913. if (option)
  34914. return option;
  34915. else if (groupIndex > 0)
  34916. return this.findPrevOption({group: (groupIndex - 1), option: this.getOptionGroupChildren(this.visibleOptions[groupIndex - 1]).length});
  34917. else
  34918. return null;
  34919. }
  34920. else {
  34921. return this.findPrevOptionInList(this.visibleOptions, index);
  34922. }
  34923. },
  34924. findPrevOptionInList(list, index) {
  34925. let i = index - 1;
  34926. if (i < 0) {
  34927. return null;
  34928. }
  34929. let option = list[i];
  34930. if (this.isOptionDisabled(option))
  34931. return this.findPrevOption(i);
  34932. else
  34933. return option;
  34934. },
  34935. onClearClick(event) {
  34936. this.updateModel(event, null);
  34937. },
  34938. onClick(event) {
  34939. if (this.disabled || this.loading) {
  34940. return;
  34941. }
  34942. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(event.target, 'p-dropdown-clear-icon') || event.target.tagName === 'INPUT') {
  34943. return;
  34944. }
  34945. else if (!this.overlay || !this.overlay.contains(event.target)) {
  34946. if (this.overlayVisible)
  34947. this.hide();
  34948. else
  34949. this.show();
  34950. this.$refs.focusInput.focus();
  34951. }
  34952. },
  34953. onOptionSelect(event, option) {
  34954. let value = this.getOptionValue(option);
  34955. this.updateModel(event, value);
  34956. this.$refs.focusInput.focus();
  34957. setTimeout(() => {
  34958. this.hide();
  34959. }, 200);
  34960. },
  34961. onEditableInput(event) {
  34962. this.$emit('update:modelValue', event.target.value);
  34963. },
  34964. onOverlayEnter(el) {
  34965. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.set('overlay', el, this.$primevue.config.zIndex.overlay);
  34966. this.alignOverlay();
  34967. this.scrollValueInView();
  34968. if (!this.virtualScrollerDisabled) {
  34969. const selectedIndex = this.getSelectedOptionIndex();
  34970. if (selectedIndex !== -1) {
  34971. setTimeout(() => {
  34972. this.virtualScroller && this.virtualScroller.scrollToIndex(selectedIndex);
  34973. }, 0);
  34974. }
  34975. }
  34976. },
  34977. onOverlayAfterEnter() {
  34978. if (this.filter) {
  34979. this.$refs.filterInput.focus();
  34980. }
  34981. this.bindOutsideClickListener();
  34982. this.bindScrollListener();
  34983. this.bindResizeListener();
  34984. this.$emit('show');
  34985. },
  34986. onOverlayLeave() {
  34987. this.unbindOutsideClickListener();
  34988. this.unbindScrollListener();
  34989. this.unbindResizeListener();
  34990. this.$emit('hide');
  34991. this.itemsWrapper = null;
  34992. this.overlay = null;
  34993. },
  34994. onOverlayAfterLeave(el) {
  34995. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.clear(el);
  34996. },
  34997. alignOverlay() {
  34998. if (this.appendDisabled) {
  34999. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.relativePosition(this.overlay, this.$el);
  35000. }
  35001. else {
  35002. this.overlay.style.minWidth = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(this.$el) + 'px';
  35003. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.absolutePosition(this.overlay, this.$el);
  35004. }
  35005. },
  35006. updateModel(event, value) {
  35007. this.$emit('update:modelValue', value);
  35008. this.$emit('change', {originalEvent: event, value: value});
  35009. },
  35010. bindOutsideClickListener() {
  35011. if (!this.outsideClickListener) {
  35012. this.outsideClickListener = (event) => {
  35013. if (this.overlayVisible && this.overlay && !this.$el.contains(event.target) && !this.overlay.contains(event.target)) {
  35014. this.hide();
  35015. }
  35016. };
  35017. document.addEventListener('click', this.outsideClickListener);
  35018. }
  35019. },
  35020. unbindOutsideClickListener() {
  35021. if (this.outsideClickListener) {
  35022. document.removeEventListener('click', this.outsideClickListener);
  35023. this.outsideClickListener = null;
  35024. }
  35025. },
  35026. bindScrollListener() {
  35027. if (!this.scrollHandler) {
  35028. this.scrollHandler = new primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ConnectedOverlayScrollHandler(this.$refs.container, () => {
  35029. if (this.overlayVisible) {
  35030. this.hide();
  35031. }
  35032. });
  35033. }
  35034. this.scrollHandler.bindScrollListener();
  35035. },
  35036. unbindScrollListener() {
  35037. if (this.scrollHandler) {
  35038. this.scrollHandler.unbindScrollListener();
  35039. }
  35040. },
  35041. bindResizeListener() {
  35042. if (!this.resizeListener) {
  35043. this.resizeListener = () => {
  35044. if (this.overlayVisible && !primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.isTouchDevice()) {
  35045. this.hide();
  35046. }
  35047. };
  35048. window.addEventListener('resize', this.resizeListener);
  35049. }
  35050. },
  35051. unbindResizeListener() {
  35052. if (this.resizeListener) {
  35053. window.removeEventListener('resize', this.resizeListener);
  35054. this.resizeListener = null;
  35055. }
  35056. },
  35057. search(event) {
  35058. if (!this.visibleOptions) {
  35059. return;
  35060. }
  35061. if (this.searchTimeout) {
  35062. clearTimeout(this.searchTimeout);
  35063. }
  35064. const char = event.key;
  35065. this.previousSearchChar = this.currentSearchChar;
  35066. this.currentSearchChar = char;
  35067. if (this.previousSearchChar === this.currentSearchChar)
  35068. this.searchValue = this.currentSearchChar;
  35069. else
  35070. this.searchValue = this.searchValue ? this.searchValue + char : char;
  35071. if (this.searchValue) {
  35072. let searchIndex = this.getSelectedOptionIndex();
  35073. let newOption = this.optionGroupLabel ? this.searchOptionInGroup(searchIndex) : this.searchOption(++searchIndex);
  35074. if (newOption) {
  35075. this.updateModel(event, this.getOptionValue(newOption));
  35076. }
  35077. }
  35078. this.searchTimeout = setTimeout(() => {
  35079. this.searchValue = null;
  35080. }, 250);
  35081. },
  35082. searchOption(index) {
  35083. let option;
  35084. if (this.searchValue) {
  35085. option = this.searchOptionInRange(index, this.visibleOptions.length);
  35086. if (!option) {
  35087. option = this.searchOptionInRange(0, index);
  35088. }
  35089. }
  35090. return option;
  35091. },
  35092. searchOptionInRange(start, end) {
  35093. for (let i = start; i < end; i++) {
  35094. let opt = this.visibleOptions[i];
  35095. if (this.matchesSearchValue(opt)) {
  35096. return opt;
  35097. }
  35098. }
  35099. return null;
  35100. },
  35101. searchOptionInGroup(index) {
  35102. let searchIndex = index === -1 ? {group: 0, option: -1} : index;
  35103. for (let i = searchIndex.group; i < this.visibleOptions.length; i++) {
  35104. let groupOptions = this.getOptionGroupChildren(this.visibleOptions[i]);
  35105. for (let j = (searchIndex.group === i ? searchIndex.option + 1 : 0); j < groupOptions.length; j++) {
  35106. if (this.matchesSearchValue(groupOptions[j])) {
  35107. return groupOptions[j];
  35108. }
  35109. }
  35110. }
  35111. for (let i = 0; i <= searchIndex.group; i++) {
  35112. let groupOptions = this.getOptionGroupChildren(this.visibleOptions[i]);
  35113. for (let j = 0; j < (searchIndex.group === i ? searchIndex.option: groupOptions.length); j++) {
  35114. if (this.matchesSearchValue(groupOptions[j])) {
  35115. return groupOptions[j];
  35116. }
  35117. }
  35118. }
  35119. return null;
  35120. },
  35121. matchesSearchValue(option) {
  35122. let label = this.getOptionLabel(option).toLocaleLowerCase(this.filterLocale);
  35123. return label.startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale));
  35124. },
  35125. onFilterChange(event) {
  35126. this.filterValue = event.target.value;
  35127. this.$emit('filter', {originalEvent: event, value: event.target.value});
  35128. },
  35129. onFilterUpdated() {
  35130. if (this.overlayVisible) {
  35131. this.alignOverlay();
  35132. }
  35133. },
  35134. overlayRef(el) {
  35135. this.overlay = el;
  35136. },
  35137. itemsWrapperRef(el) {
  35138. this.itemsWrapper = el;
  35139. },
  35140. virtualScrollerRef(el) {
  35141. this.virtualScroller = el;
  35142. },
  35143. scrollValueInView() {
  35144. if (this.overlay) {
  35145. let selectedItem = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.findSingle(this.overlay, 'li.p-highlight');
  35146. if (selectedItem) {
  35147. selectedItem.scrollIntoView({ block: 'nearest', inline: 'start' });
  35148. }
  35149. }
  35150. },
  35151. onOverlayClick(event) {
  35152. primevue_overlayeventbus__WEBPACK_IMPORTED_MODULE_1__["default"].emit('overlay-click', {
  35153. originalEvent: event,
  35154. target: this.$el
  35155. });
  35156. }
  35157. },
  35158. computed: {
  35159. visibleOptions() {
  35160. if (this.filterValue) {
  35161. if (this.optionGroupLabel) {
  35162. let filteredGroups = [];
  35163. for (let optgroup of this.options) {
  35164. let filteredSubOptions = primevue_api__WEBPACK_IMPORTED_MODULE_2__.FilterService.filter(this.getOptionGroupChildren(optgroup), this.searchFields, this.filterValue, this.filterMatchMode, this.filterLocale);
  35165. if (filteredSubOptions && filteredSubOptions.length) {
  35166. let filteredGroup = {...optgroup};
  35167. filteredGroup[this.optionGroupChildren] = filteredSubOptions;
  35168. filteredGroups.push(filteredGroup);
  35169. }
  35170. }
  35171. return filteredGroups
  35172. }
  35173. else {
  35174. return primevue_api__WEBPACK_IMPORTED_MODULE_2__.FilterService.filter(this.options, this.searchFields, this.filterValue, this.filterMatchMode, this.filterLocale);
  35175. }
  35176. }
  35177. else {
  35178. return this.options;
  35179. }
  35180. },
  35181. containerClass() {
  35182. return [
  35183. 'p-dropdown p-component p-inputwrapper',
  35184. {
  35185. 'p-disabled': this.disabled,
  35186. 'p-dropdown-clearable': this.showClear && !this.disabled,
  35187. 'p-focus': this.focused,
  35188. 'p-inputwrapper-filled': this.modelValue,
  35189. 'p-inputwrapper-focus': this.focused || this.overlayVisible
  35190. }
  35191. ];
  35192. },
  35193. labelClass() {
  35194. return [
  35195. 'p-dropdown-label p-inputtext',
  35196. {
  35197. 'p-placeholder': this.label === this.placeholder,
  35198. 'p-dropdown-label-empty': !this.$slots['value'] && (this.label === 'p-emptylabel' || this.label.length === 0)
  35199. }
  35200. ];
  35201. },
  35202. panelStyleClass() {
  35203. return ['p-dropdown-panel p-component', this.panelClass, {
  35204. 'p-input-filled': this.$primevue.config.inputStyle === 'filled',
  35205. 'p-ripple-disabled': this.$primevue.config.ripple === false
  35206. }];
  35207. },
  35208. label() {
  35209. let selectedOption = this.getSelectedOption();
  35210. if (selectedOption !== null)
  35211. return this.getOptionLabel(selectedOption);
  35212. else
  35213. return this.placeholder||'p-emptylabel';
  35214. },
  35215. editableInputValue() {
  35216. let selectedOption = this.getSelectedOption();
  35217. if (selectedOption)
  35218. return this.getOptionLabel(selectedOption);
  35219. else
  35220. return this.modelValue;
  35221. },
  35222. equalityKey() {
  35223. return this.optionValue ? null : this.dataKey;
  35224. },
  35225. searchFields() {
  35226. return this.filterFields || [this.optionLabel];
  35227. },
  35228. emptyFilterMessageText() {
  35229. return this.emptyFilterMessage || this.$primevue.config.locale.emptyFilterMessage;
  35230. },
  35231. emptyMessageText() {
  35232. return this.emptyMessage || this.$primevue.config.locale.emptyMessage;
  35233. },
  35234. appendDisabled() {
  35235. return this.appendTo === 'self';
  35236. },
  35237. virtualScrollerDisabled() {
  35238. return !this.virtualScrollerOptions;
  35239. },
  35240. appendTarget() {
  35241. return this.appendDisabled ? null : this.appendTo;
  35242. },
  35243. dropdownIconClass() {
  35244. return ['p-dropdown-trigger-icon', this.loading ? this.loadingIcon : 'pi pi-chevron-down'];
  35245. }
  35246. },
  35247. directives: {
  35248. 'ripple': primevue_ripple__WEBPACK_IMPORTED_MODULE_3__["default"]
  35249. },
  35250. components: {
  35251. 'VirtualScroller': primevue_virtualscroller__WEBPACK_IMPORTED_MODULE_4__["default"]
  35252. }
  35253. };
  35254. const _hoisted_1 = { class: "p-hidden-accessible" };
  35255. const _hoisted_2 = {
  35256. key: 0,
  35257. class: "p-dropdown-header"
  35258. };
  35259. const _hoisted_3 = { class: "p-dropdown-filter-container" };
  35260. const _hoisted_4 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)("span", { class: "p-dropdown-filter-icon pi pi-search" }, null, -1);
  35261. const _hoisted_5 = { class: "p-dropdown-item-group" };
  35262. const _hoisted_6 = {
  35263. key: 2,
  35264. class: "p-dropdown-empty-message"
  35265. };
  35266. const _hoisted_7 = {
  35267. key: 3,
  35268. class: "p-dropdown-empty-message"
  35269. };
  35270. function render(_ctx, _cache, $props, $setup, $data, $options) {
  35271. const _component_VirtualScroller = (0,vue__WEBPACK_IMPORTED_MODULE_5__.resolveComponent)("VirtualScroller");
  35272. const _directive_ripple = (0,vue__WEBPACK_IMPORTED_MODULE_5__.resolveDirective)("ripple");
  35273. return ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("div", {
  35274. ref: "container",
  35275. class: $options.containerClass,
  35276. onClick: _cache[12] || (_cache[12] = $event => ($options.onClick($event)))
  35277. }, [
  35278. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)("div", _hoisted_1, [
  35279. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)("input", {
  35280. ref: "focusInput",
  35281. type: "text",
  35282. id: $props.inputId,
  35283. readonly: "",
  35284. disabled: $props.disabled,
  35285. onFocus: _cache[1] || (_cache[1] = (...args) => ($options.onFocus && $options.onFocus(...args))),
  35286. onBlur: _cache[2] || (_cache[2] = (...args) => ($options.onBlur && $options.onBlur(...args))),
  35287. onKeydown: _cache[3] || (_cache[3] = (...args) => ($options.onKeyDown && $options.onKeyDown(...args))),
  35288. tabindex: $props.tabindex,
  35289. "aria-haspopup": "true",
  35290. "aria-expanded": $data.overlayVisible,
  35291. "aria-labelledby": $props.ariaLabelledBy
  35292. }, null, 40, ["id", "disabled", "tabindex", "aria-expanded", "aria-labelledby"])
  35293. ]),
  35294. ($props.editable)
  35295. ? ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("input", {
  35296. key: 0,
  35297. type: "text",
  35298. class: "p-dropdown-label p-inputtext",
  35299. disabled: $props.disabled,
  35300. onFocus: _cache[4] || (_cache[4] = (...args) => ($options.onFocus && $options.onFocus(...args))),
  35301. onBlur: _cache[5] || (_cache[5] = (...args) => ($options.onBlur && $options.onBlur(...args))),
  35302. placeholder: $props.placeholder,
  35303. value: $options.editableInputValue,
  35304. onInput: _cache[6] || (_cache[6] = (...args) => ($options.onEditableInput && $options.onEditableInput(...args))),
  35305. "aria-haspopup": "listbox",
  35306. "aria-expanded": $data.overlayVisible
  35307. }, null, 40, ["disabled", "placeholder", "value", "aria-expanded"]))
  35308. : (0,vue__WEBPACK_IMPORTED_MODULE_5__.createCommentVNode)("", true),
  35309. (!$props.editable)
  35310. ? ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("span", {
  35311. key: 1,
  35312. class: $options.labelClass
  35313. }, [
  35314. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "value", {
  35315. value: $props.modelValue,
  35316. placeholder: $props.placeholder
  35317. }, () => [
  35318. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_5__.toDisplayString)($options.label||'empty'), 1)
  35319. ])
  35320. ], 2))
  35321. : (0,vue__WEBPACK_IMPORTED_MODULE_5__.createCommentVNode)("", true),
  35322. ($props.showClear && $props.modelValue != null)
  35323. ? ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("i", {
  35324. key: 2,
  35325. class: "p-dropdown-clear-icon pi pi-times",
  35326. onClick: _cache[7] || (_cache[7] = $event => ($options.onClearClick($event)))
  35327. }))
  35328. : (0,vue__WEBPACK_IMPORTED_MODULE_5__.createCommentVNode)("", true),
  35329. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)("div", {
  35330. class: "p-dropdown-trigger",
  35331. role: "button",
  35332. "aria-haspopup": "listbox",
  35333. "aria-expanded": $data.overlayVisible
  35334. }, [
  35335. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "indicator", {}, () => [
  35336. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)("span", { class: $options.dropdownIconClass }, null, 2)
  35337. ])
  35338. ], 8, ["aria-expanded"]),
  35339. ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_5__.Teleport, {
  35340. to: $options.appendTarget,
  35341. disabled: $options.appendDisabled
  35342. }, [
  35343. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)(vue__WEBPACK_IMPORTED_MODULE_5__.Transition, {
  35344. name: "p-connected-overlay",
  35345. onEnter: $options.onOverlayEnter,
  35346. onAfterEnter: $options.onOverlayAfterEnter,
  35347. onLeave: $options.onOverlayLeave,
  35348. onAfterLeave: $options.onOverlayAfterLeave
  35349. }, {
  35350. default: (0,vue__WEBPACK_IMPORTED_MODULE_5__.withCtx)(() => [
  35351. ($data.overlayVisible)
  35352. ? ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("div", {
  35353. key: 0,
  35354. ref: $options.overlayRef,
  35355. class: $options.panelStyleClass,
  35356. onClick: _cache[11] || (_cache[11] = (...args) => ($options.onOverlayClick && $options.onOverlayClick(...args)))
  35357. }, [
  35358. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "header", {
  35359. value: $props.modelValue,
  35360. options: $options.visibleOptions
  35361. }),
  35362. ($props.filter)
  35363. ? ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("div", _hoisted_2, [
  35364. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)("div", _hoisted_3, [
  35365. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)("input", {
  35366. type: "text",
  35367. ref: "filterInput",
  35368. value: $data.filterValue,
  35369. onVnodeUpdated: _cache[8] || (_cache[8] = (...args) => ($options.onFilterUpdated && $options.onFilterUpdated(...args))),
  35370. autoComplete: "off",
  35371. class: "p-dropdown-filter p-inputtext p-component",
  35372. placeholder: $props.filterPlaceholder,
  35373. onKeydown: _cache[9] || (_cache[9] = (...args) => ($options.onFilterKeyDown && $options.onFilterKeyDown(...args))),
  35374. onInput: _cache[10] || (_cache[10] = (...args) => ($options.onFilterChange && $options.onFilterChange(...args)))
  35375. }, null, 40, ["value", "placeholder"]),
  35376. _hoisted_4
  35377. ])
  35378. ]))
  35379. : (0,vue__WEBPACK_IMPORTED_MODULE_5__.createCommentVNode)("", true),
  35380. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)("div", {
  35381. ref: $options.itemsWrapperRef,
  35382. class: "p-dropdown-items-wrapper",
  35383. style: {'max-height': $options.virtualScrollerDisabled ? $props.scrollHeight : ''}
  35384. }, [
  35385. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)(_component_VirtualScroller, (0,vue__WEBPACK_IMPORTED_MODULE_5__.mergeProps)({ ref: $options.virtualScrollerRef }, $props.virtualScrollerOptions, {
  35386. items: $options.visibleOptions,
  35387. style: {'height': $props.scrollHeight},
  35388. disabled: $options.virtualScrollerDisabled
  35389. }), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createSlots)({
  35390. content: (0,vue__WEBPACK_IMPORTED_MODULE_5__.withCtx)(({ styleClass, contentRef, items, getItemOptions, contentStyle }) => [
  35391. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)("ul", {
  35392. ref: contentRef,
  35393. class: ['p-dropdown-items', styleClass],
  35394. style: contentStyle,
  35395. role: "listbox"
  35396. }, [
  35397. (!$props.optionGroupLabel)
  35398. ? ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_5__.Fragment, { key: 0 }, (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderList)(items, (option, i) => {
  35399. return (0,vue__WEBPACK_IMPORTED_MODULE_5__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("li", {
  35400. class: ['p-dropdown-item', {'p-highlight': $options.isSelected(option), 'p-disabled': $options.isOptionDisabled(option)}],
  35401. key: $options.getOptionRenderKey(option),
  35402. onClick: $event => ($options.onOptionSelect($event, option)),
  35403. role: "option",
  35404. "aria-label": $options.getOptionLabel(option),
  35405. "aria-selected": $options.isSelected(option)
  35406. }, [
  35407. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "option", {
  35408. option: option,
  35409. index: $options.getOptionIndex(i, getItemOptions)
  35410. }, () => [
  35411. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_5__.toDisplayString)($options.getOptionLabel(option)), 1)
  35412. ])
  35413. ], 10, ["onClick", "aria-label", "aria-selected"])), [
  35414. [_directive_ripple]
  35415. ])
  35416. }), 128))
  35417. : ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_5__.Fragment, { key: 1 }, (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderList)(items, (optionGroup, i) => {
  35418. return ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_5__.Fragment, {
  35419. key: $options.getOptionGroupRenderKey(optionGroup)
  35420. }, [
  35421. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)("li", _hoisted_5, [
  35422. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "optiongroup", {
  35423. option: optionGroup,
  35424. index: $options.getOptionIndex(i, getItemOptions)
  35425. }, () => [
  35426. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_5__.toDisplayString)($options.getOptionGroupLabel(optionGroup)), 1)
  35427. ])
  35428. ]),
  35429. ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_5__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderList)($options.getOptionGroupChildren(optionGroup), (option, i) => {
  35430. return (0,vue__WEBPACK_IMPORTED_MODULE_5__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("li", {
  35431. class: ['p-dropdown-item', {'p-highlight': $options.isSelected(option), 'p-disabled': $options.isOptionDisabled(option)}],
  35432. key: $options.getOptionRenderKey(option),
  35433. onClick: $event => ($options.onOptionSelect($event, option)),
  35434. role: "option",
  35435. "aria-label": $options.getOptionLabel(option),
  35436. "aria-selected": $options.isSelected(option)
  35437. }, [
  35438. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "option", {
  35439. option: option,
  35440. index: $options.getOptionIndex(i, getItemOptions)
  35441. }, () => [
  35442. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_5__.toDisplayString)($options.getOptionLabel(option)), 1)
  35443. ])
  35444. ], 10, ["onClick", "aria-label", "aria-selected"])), [
  35445. [_directive_ripple]
  35446. ])
  35447. }), 128))
  35448. ], 64))
  35449. }), 128)),
  35450. ($data.filterValue && (!items || (items && items.length === 0)))
  35451. ? ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("li", _hoisted_6, [
  35452. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "emptyfilter", {}, () => [
  35453. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_5__.toDisplayString)($options.emptyFilterMessageText), 1)
  35454. ])
  35455. ]))
  35456. : ((!$props.options || ($props.options && $props.options.length === 0)))
  35457. ? ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("li", _hoisted_7, [
  35458. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "empty", {}, () => [
  35459. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_5__.toDisplayString)($options.emptyMessageText), 1)
  35460. ])
  35461. ]))
  35462. : (0,vue__WEBPACK_IMPORTED_MODULE_5__.createCommentVNode)("", true)
  35463. ], 6)
  35464. ]),
  35465. _: 2
  35466. }, [
  35467. (_ctx.$slots.loader)
  35468. ? {
  35469. name: "loader",
  35470. fn: (0,vue__WEBPACK_IMPORTED_MODULE_5__.withCtx)(({ options }) => [
  35471. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "loader", { options: options })
  35472. ])
  35473. }
  35474. : undefined
  35475. ]), 1040, ["items", "style", "disabled"])
  35476. ], 4),
  35477. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "footer", {
  35478. value: $props.modelValue,
  35479. options: $options.visibleOptions
  35480. })
  35481. ], 2))
  35482. : (0,vue__WEBPACK_IMPORTED_MODULE_5__.createCommentVNode)("", true)
  35483. ]),
  35484. _: 3
  35485. }, 8, ["onEnter", "onAfterEnter", "onLeave", "onAfterLeave"])
  35486. ], 8, ["to", "disabled"]))
  35487. ], 2))
  35488. }
  35489. function styleInject(css, ref) {
  35490. if ( ref === void 0 ) ref = {};
  35491. var insertAt = ref.insertAt;
  35492. if (!css || typeof document === 'undefined') { return; }
  35493. var head = document.head || document.getElementsByTagName('head')[0];
  35494. var style = document.createElement('style');
  35495. style.type = 'text/css';
  35496. if (insertAt === 'top') {
  35497. if (head.firstChild) {
  35498. head.insertBefore(style, head.firstChild);
  35499. } else {
  35500. head.appendChild(style);
  35501. }
  35502. } else {
  35503. head.appendChild(style);
  35504. }
  35505. if (style.styleSheet) {
  35506. style.styleSheet.cssText = css;
  35507. } else {
  35508. style.appendChild(document.createTextNode(css));
  35509. }
  35510. }
  35511. var css_248z = "\n.p-dropdown {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n cursor: pointer;\n position: relative;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.p-dropdown-clear-icon {\n position: absolute;\n top: 50%;\n margin-top: -.5rem;\n}\n.p-dropdown-trigger {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -ms-flex-negative: 0;\n flex-shrink: 0;\n}\n.p-dropdown-label {\n display: block;\n white-space: nowrap;\n overflow: hidden;\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n width: 1%;\n text-overflow: ellipsis;\n cursor: pointer;\n}\n.p-dropdown-label-empty {\n overflow: hidden;\n visibility: hidden;\n}\ninput.p-dropdown-label {\n cursor: default;\n}\n.p-dropdown .p-dropdown-panel {\n min-width: 100%;\n}\n.p-dropdown-panel {\n position: absolute;\n top: 0;\n left: 0;\n}\n.p-dropdown-items-wrapper {\n overflow: auto;\n}\n.p-dropdown-item {\n cursor: pointer;\n font-weight: normal;\n white-space: nowrap;\n position: relative;\n overflow: hidden;\n}\n.p-dropdown-item-group {\n cursor: auto;\n}\n.p-dropdown-items {\n margin: 0;\n padding: 0;\n list-style-type: none;\n}\n.p-dropdown-filter {\n width: 100%;\n}\n.p-dropdown-filter-container {\n position: relative;\n}\n.p-dropdown-filter-icon {\n position: absolute;\n top: 50%;\n margin-top: -.5rem;\n}\n.p-fluid .p-dropdown {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n}\n.p-fluid .p-dropdown .p-dropdown-label {\n width: 1%;\n}\n";
  35512. styleInject(css_248z);
  35513. script.render = render;
  35514. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  35515. /***/ }),
  35516. /***/ "./node_modules/primevue/inputnumber/inputnumber.esm.js":
  35517. /*!**************************************************************!*\
  35518. !*** ./node_modules/primevue/inputnumber/inputnumber.esm.js ***!
  35519. \**************************************************************/
  35520. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  35521. "use strict";
  35522. __webpack_require__.r(__webpack_exports__);
  35523. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  35524. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  35525. /* harmony export */ });
  35526. /* harmony import */ var primevue_inputtext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! primevue/inputtext */ "./node_modules/primevue/inputtext/inputtext.esm.js");
  35527. /* harmony import */ var primevue_button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! primevue/button */ "./node_modules/primevue/button/button.esm.js");
  35528. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  35529. var script = {
  35530. name: 'InputNumber',
  35531. inheritAttrs: false,
  35532. emits: ['update:modelValue', 'input', 'focus', 'blur'],
  35533. props: {
  35534. modelValue: {
  35535. type: Number,
  35536. default: null
  35537. },
  35538. format: {
  35539. type: Boolean,
  35540. default: true
  35541. },
  35542. showButtons: {
  35543. type: Boolean,
  35544. default: false
  35545. },
  35546. buttonLayout: {
  35547. type: String,
  35548. default: 'stacked'
  35549. },
  35550. incrementButtonClass: {
  35551. type: String,
  35552. default: null,
  35553. },
  35554. decrementButtonClass: {
  35555. type: String,
  35556. default: null,
  35557. },
  35558. incrementButtonIcon: {
  35559. type: String,
  35560. default: 'pi pi-angle-up',
  35561. },
  35562. decrementButtonIcon: {
  35563. type: String,
  35564. default: 'pi pi-angle-down',
  35565. },
  35566. locale: {
  35567. type: String,
  35568. default: undefined
  35569. },
  35570. localeMatcher: {
  35571. type: String,
  35572. default: undefined
  35573. },
  35574. mode: {
  35575. type: String,
  35576. default: 'decimal'
  35577. },
  35578. prefix: {
  35579. type: String,
  35580. default: null
  35581. },
  35582. suffix: {
  35583. type: String,
  35584. default: null
  35585. },
  35586. currency: {
  35587. type: String,
  35588. default: undefined
  35589. },
  35590. currencyDisplay: {
  35591. type: String,
  35592. default: undefined
  35593. },
  35594. useGrouping: {
  35595. type: Boolean,
  35596. default: true
  35597. },
  35598. minFractionDigits: {
  35599. type: Number,
  35600. default: undefined
  35601. },
  35602. maxFractionDigits: {
  35603. type: Number,
  35604. default: undefined
  35605. },
  35606. min: {
  35607. type: Number,
  35608. default: null
  35609. },
  35610. max: {
  35611. type: Number,
  35612. default: null
  35613. },
  35614. step: {
  35615. type: Number,
  35616. default: 1
  35617. },
  35618. allowEmpty: {
  35619. type: Boolean,
  35620. default: true
  35621. },
  35622. style: null,
  35623. class: null,
  35624. inputStyle: null,
  35625. inputClass: null
  35626. },
  35627. numberFormat: null,
  35628. _numeral: null,
  35629. _decimal: null,
  35630. _group: null,
  35631. _minusSign: null,
  35632. _currency: null,
  35633. _suffix: null,
  35634. _prefix: null,
  35635. _index: null,
  35636. groupChar: '',
  35637. isSpecialChar: null,
  35638. prefixChar: null,
  35639. suffixChar: null,
  35640. timer: null,
  35641. data() {
  35642. return {
  35643. d_modelValue: this.modelValue,
  35644. focused: false
  35645. }
  35646. },
  35647. watch: {
  35648. modelValue(newValue) {
  35649. this.d_modelValue = newValue;
  35650. },
  35651. locale(newValue, oldValue) {
  35652. this.updateConstructParser(newValue, oldValue);
  35653. },
  35654. localeMatcher(newValue, oldValue) {
  35655. this.updateConstructParser(newValue, oldValue);
  35656. },
  35657. mode(newValue, oldValue) {
  35658. this.updateConstructParser(newValue, oldValue);
  35659. },
  35660. currency(newValue, oldValue) {
  35661. this.updateConstructParser(newValue, oldValue);
  35662. },
  35663. currencyDisplay(newValue, oldValue) {
  35664. this.updateConstructParser(newValue, oldValue);
  35665. },
  35666. useGrouping(newValue, oldValue) {
  35667. this.updateConstructParser(newValue, oldValue);
  35668. },
  35669. minFractionDigits(newValue, oldValue) {
  35670. this.updateConstructParser(newValue, oldValue);
  35671. },
  35672. maxFractionDigits(newValue, oldValue) {
  35673. this.updateConstructParser(newValue, oldValue);
  35674. },
  35675. suffix(newValue, oldValue) {
  35676. this.updateConstructParser(newValue, oldValue);
  35677. },
  35678. prefix(newValue, oldValue) {
  35679. this.updateConstructParser(newValue, oldValue);
  35680. }
  35681. },
  35682. created() {
  35683. this.constructParser();
  35684. },
  35685. methods: {
  35686. getOptions() {
  35687. return {
  35688. localeMatcher: this.localeMatcher,
  35689. style: this.mode,
  35690. currency: this.currency,
  35691. currencyDisplay: this.currencyDisplay,
  35692. useGrouping: this.useGrouping,
  35693. minimumFractionDigits: this.minFractionDigits,
  35694. maximumFractionDigits: this.maxFractionDigits
  35695. };
  35696. },
  35697. constructParser() {
  35698. this.numberFormat = new Intl.NumberFormat(this.locale, this.getOptions());
  35699. const numerals = [...new Intl.NumberFormat(this.locale, {useGrouping: false}).format(9876543210)].reverse();
  35700. const index = new Map(numerals.map((d, i) => [d, i]));
  35701. this._numeral = new RegExp(`[${numerals.join('')}]`, 'g');
  35702. this._group = this.getGroupingExpression();
  35703. this._minusSign = this.getMinusSignExpression();
  35704. this._currency = this.getCurrencyExpression();
  35705. this._decimal = this.getDecimalExpression();
  35706. this._suffix = this.getSuffixExpression();
  35707. this._prefix = this.getPrefixExpression();
  35708. this._index = d => index.get(d);
  35709. },
  35710. updateConstructParser(newValue, oldValue) {
  35711. if (newValue !== oldValue) {
  35712. this.constructParser();
  35713. }
  35714. },
  35715. escapeRegExp(text) {
  35716. return text.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&');
  35717. },
  35718. getDecimalExpression() {
  35719. const formatter = new Intl.NumberFormat(this.locale, {...this.getOptions(), useGrouping: false});
  35720. return new RegExp(`[${formatter.format(1.1).replace(this._currency, '').trim().replace(this._numeral, '')}]`, 'g');
  35721. },
  35722. getGroupingExpression() {
  35723. const formatter = new Intl.NumberFormat(this.locale, {useGrouping: true});
  35724. this.groupChar = formatter.format(1000000).trim().replace(this._numeral, '').charAt(0);
  35725. return new RegExp(`[${this.groupChar}]`, 'g');
  35726. },
  35727. getMinusSignExpression() {
  35728. const formatter = new Intl.NumberFormat(this.locale, {useGrouping: false});
  35729. return new RegExp(`[${formatter.format(-1).trim().replace(this._numeral, '')}]`, 'g');
  35730. },
  35731. getCurrencyExpression() {
  35732. if (this.currency) {
  35733. const formatter = new Intl.NumberFormat(this.locale, {style: 'currency', currency: this.currency, currencyDisplay: this.currencyDisplay,
  35734. minimumFractionDigits: 0, maximumFractionDigits: 0});
  35735. return new RegExp(`[${formatter.format(1).replace(/\s/g, '').replace(this._numeral, '').replace(this._group, '')}]`, 'g');
  35736. }
  35737. return new RegExp(`[]`,'g');
  35738. },
  35739. getPrefixExpression() {
  35740. if (this.prefix) {
  35741. this.prefixChar = this.prefix;
  35742. }
  35743. else {
  35744. const formatter = new Intl.NumberFormat(this.locale, {style: this.mode, currency: this.currency, currencyDisplay: this.currencyDisplay});
  35745. this.prefixChar = formatter.format(1).split('1')[0];
  35746. }
  35747. return new RegExp(`${this.escapeRegExp(this.prefixChar||'')}`, 'g');
  35748. },
  35749. getSuffixExpression() {
  35750. if (this.suffix) {
  35751. this.suffixChar = this.suffix;
  35752. }
  35753. else {
  35754. const formatter = new Intl.NumberFormat(this.locale, {style: this.mode, currency: this.currency, currencyDisplay: this.currencyDisplay,
  35755. minimumFractionDigits: 0, maximumFractionDigits: 0});
  35756. this.suffixChar = formatter.format(1).split('1')[1];
  35757. }
  35758. return new RegExp(`${this.escapeRegExp(this.suffixChar||'')}`, 'g');
  35759. },
  35760. formatValue(value) {
  35761. if (value != null) {
  35762. if (value === '-') { // Minus sign
  35763. return value;
  35764. }
  35765. if (this.format) {
  35766. let formatter = new Intl.NumberFormat(this.locale, this.getOptions());
  35767. let formattedValue = formatter.format(value);
  35768. if (this.prefix) {
  35769. formattedValue = this.prefix + formattedValue;
  35770. }
  35771. if (this.suffix) {
  35772. formattedValue = formattedValue + this.suffix;
  35773. }
  35774. return formattedValue;
  35775. }
  35776. return value.toString();
  35777. }
  35778. return '';
  35779. },
  35780. parseValue(text) {
  35781. let filteredText = text
  35782. .replace(this._suffix, '')
  35783. .replace(this._prefix, '')
  35784. .trim()
  35785. .replace(/\s/g, '')
  35786. .replace(this._currency, '')
  35787. .replace(this._group, '')
  35788. .replace(this._minusSign, '-')
  35789. .replace(this._decimal, '.')
  35790. .replace(this._numeral, this._index);
  35791. if (filteredText) {
  35792. if (filteredText === '-') // Minus sign
  35793. return filteredText;
  35794. let parsedValue = +filteredText;
  35795. return isNaN(parsedValue) ? null : parsedValue;
  35796. }
  35797. return null;
  35798. },
  35799. repeat(event, interval, dir) {
  35800. let i = interval || 500;
  35801. this.clearTimer();
  35802. this.timer = setTimeout(() => {
  35803. this.repeat(event, 40, dir);
  35804. }, i);
  35805. this.spin(event, dir);
  35806. },
  35807. spin(event, dir) {
  35808. if (this.$refs.input) {
  35809. let step = this.step * dir;
  35810. let currentValue = this.parseValue(this.$refs.input.$el.value) || 0;
  35811. let newValue = this.validateValue(currentValue + step);
  35812. this.updateInput(newValue, null, 'spin');
  35813. this.updateModel(event, newValue);
  35814. this.handleOnInput(event, currentValue, newValue);
  35815. }
  35816. },
  35817. onUpButtonMouseDown(event) {
  35818. if (!this.$attrs.disabled) {
  35819. this.$refs.input.$el.focus();
  35820. this.repeat(event, null, 1);
  35821. event.preventDefault();
  35822. }
  35823. },
  35824. onUpButtonMouseUp() {
  35825. if (!this.$attrs.disabled) {
  35826. this.clearTimer();
  35827. }
  35828. },
  35829. onUpButtonMouseLeave() {
  35830. if (!this.$attrs.disabled) {
  35831. this.clearTimer();
  35832. }
  35833. },
  35834. onUpButtonKeyUp() {
  35835. if (!this.$attrs.disabled) {
  35836. this.clearTimer();
  35837. }
  35838. },
  35839. onUpButtonKeyDown(event) {
  35840. if (event.keyCode === 32 || event.keyCode === 13) {
  35841. this.repeat(event, null, 1);
  35842. }
  35843. },
  35844. onDownButtonMouseDown(event) {
  35845. if (!this.$attrs.disabled) {
  35846. this.$refs.input.$el.focus();
  35847. this.repeat(event, null, -1);
  35848. event.preventDefault();
  35849. }
  35850. },
  35851. onDownButtonMouseUp() {
  35852. if (!this.$attrs.disabled) {
  35853. this.clearTimer();
  35854. }
  35855. },
  35856. onDownButtonMouseLeave() {
  35857. if (!this.$attrs.disabled) {
  35858. this.clearTimer();
  35859. }
  35860. },
  35861. onDownButtonKeyUp() {
  35862. if (!this.$attrs.disabled) {
  35863. this.clearTimer();
  35864. }
  35865. },
  35866. onDownButtonKeyDown(event) {
  35867. if (event.keyCode === 32 || event.keyCode === 13) {
  35868. this.repeat(event, null, -1);
  35869. }
  35870. },
  35871. onUserInput() {
  35872. if (this.isSpecialChar) {
  35873. this.$refs.input.$el.value = this.lastValue;
  35874. }
  35875. this.isSpecialChar = false;
  35876. },
  35877. onInputKeyDown(event) {
  35878. this.lastValue = event.target.value;
  35879. if (event.shiftKey || event.altKey) {
  35880. this.isSpecialChar = true;
  35881. return;
  35882. }
  35883. let selectionStart = event.target.selectionStart;
  35884. let selectionEnd = event.target.selectionEnd;
  35885. let inputValue = event.target.value;
  35886. let newValueStr = null;
  35887. if (event.altKey) {
  35888. event.preventDefault();
  35889. }
  35890. switch (event.which) {
  35891. //up
  35892. case 38:
  35893. this.spin(event, 1);
  35894. event.preventDefault();
  35895. break;
  35896. //down
  35897. case 40:
  35898. this.spin(event, -1);
  35899. event.preventDefault();
  35900. break;
  35901. //left
  35902. case 37:
  35903. if (!this.isNumeralChar(inputValue.charAt(selectionStart - 1))) {
  35904. event.preventDefault();
  35905. }
  35906. break;
  35907. //right
  35908. case 39:
  35909. if (!this.isNumeralChar(inputValue.charAt(selectionStart))) {
  35910. event.preventDefault();
  35911. }
  35912. break;
  35913. //enter
  35914. case 13:
  35915. newValueStr = this.validateValue(this.parseValue(inputValue));
  35916. this.$refs.input.$el.value = this.formatValue(newValueStr);
  35917. this.$refs.input.$el.setAttribute('aria-valuenow', newValueStr);
  35918. this.updateModel(event, newValueStr);
  35919. break;
  35920. //backspace
  35921. case 8: {
  35922. event.preventDefault();
  35923. if (selectionStart === selectionEnd) {
  35924. const deleteChar = inputValue.charAt(selectionStart - 1);
  35925. const { decimalCharIndex, decimalCharIndexWithoutPrefix } = this.getDecimalCharIndexes(inputValue);
  35926. if (this.isNumeralChar(deleteChar)) {
  35927. const decimalLength = this.getDecimalLength(inputValue);
  35928. if (this._group.test(deleteChar)) {
  35929. this._group.lastIndex = 0;
  35930. newValueStr = inputValue.slice(0, selectionStart - 2) + inputValue.slice(selectionStart - 1);
  35931. }
  35932. else if (this._decimal.test(deleteChar)) {
  35933. this._decimal.lastIndex = 0;
  35934. if (decimalLength) {
  35935. this.$refs.input.$el.setSelectionRange(selectionStart - 1, selectionStart - 1);
  35936. }
  35937. else {
  35938. newValueStr = inputValue.slice(0, selectionStart - 1) + inputValue.slice(selectionStart);
  35939. }
  35940. }
  35941. else if (decimalCharIndex > 0 && selectionStart > decimalCharIndex) {
  35942. const insertedText = this.isDecimalMode() && (this.minFractionDigits || 0) < decimalLength ? '' : '0';
  35943. newValueStr = inputValue.slice(0, selectionStart - 1) + insertedText + inputValue.slice(selectionStart);
  35944. }
  35945. else if (decimalCharIndexWithoutPrefix === 1) {
  35946. newValueStr = inputValue.slice(0, selectionStart - 1) + '0' + inputValue.slice(selectionStart);
  35947. newValueStr = this.parseValue(newValueStr) > 0 ? newValueStr : '';
  35948. }
  35949. else {
  35950. newValueStr = inputValue.slice(0, selectionStart - 1) + inputValue.slice(selectionStart);
  35951. }
  35952. }
  35953. this.updateValue(event, newValueStr, null, 'delete-single');
  35954. }
  35955. else {
  35956. newValueStr = this.deleteRange(inputValue, selectionStart, selectionEnd);
  35957. this.updateValue(event, newValueStr, null, 'delete-range');
  35958. }
  35959. break;
  35960. }
  35961. // del
  35962. case 46:
  35963. event.preventDefault();
  35964. if (selectionStart === selectionEnd) {
  35965. const deleteChar = inputValue.charAt(selectionStart);
  35966. const { decimalCharIndex, decimalCharIndexWithoutPrefix } = this.getDecimalCharIndexes(inputValue);
  35967. if (this.isNumeralChar(deleteChar)) {
  35968. const decimalLength = this.getDecimalLength(inputValue);
  35969. if (this._group.test(deleteChar)) {
  35970. this._group.lastIndex = 0;
  35971. newValueStr = inputValue.slice(0, selectionStart) + inputValue.slice(selectionStart + 2);
  35972. }
  35973. else if (this._decimal.test(deleteChar)) {
  35974. this._decimal.lastIndex = 0;
  35975. if (decimalLength) {
  35976. this.$refs.input.$el.setSelectionRange(selectionStart + 1, selectionStart + 1);
  35977. }
  35978. else {
  35979. newValueStr = inputValue.slice(0, selectionStart) + inputValue.slice(selectionStart + 1);
  35980. }
  35981. }
  35982. else if (decimalCharIndex > 0 && selectionStart > decimalCharIndex) {
  35983. const insertedText = this.isDecimalMode() && (this.minFractionDigits || 0) < decimalLength ? '' : '0';
  35984. newValueStr = inputValue.slice(0, selectionStart) + insertedText + inputValue.slice(selectionStart + 1);
  35985. }
  35986. else if (decimalCharIndexWithoutPrefix === 1) {
  35987. newValueStr = inputValue.slice(0, selectionStart) + '0' + inputValue.slice(selectionStart + 1);
  35988. newValueStr = this.parseValue(newValueStr) > 0 ? newValueStr : '';
  35989. }
  35990. else {
  35991. newValueStr = inputValue.slice(0, selectionStart) + inputValue.slice(selectionStart + 1);
  35992. }
  35993. }
  35994. this.updateValue(event, newValueStr, null, 'delete-back-single');
  35995. }
  35996. else {
  35997. newValueStr = this.deleteRange(inputValue, selectionStart, selectionEnd);
  35998. this.updateValue(event, newValueStr, null, 'delete-range');
  35999. }
  36000. break;
  36001. }
  36002. },
  36003. onInputKeyPress(event) {
  36004. event.preventDefault();
  36005. let code = event.which || event.keyCode;
  36006. let char = String.fromCharCode(code);
  36007. const isDecimalSign = this.isDecimalSign(char);
  36008. const isMinusSign = this.isMinusSign(char);
  36009. if ((48 <= code && code <= 57) || isMinusSign || isDecimalSign) {
  36010. this.insert(event, char, { isDecimalSign, isMinusSign });
  36011. }
  36012. },
  36013. onPaste(event) {
  36014. event.preventDefault();
  36015. let data = (event.clipboardData || window['clipboardData']).getData('Text');
  36016. if (data) {
  36017. let filteredData = this.parseValue(data);
  36018. if (filteredData != null) {
  36019. this.insert(event, filteredData.toString());
  36020. }
  36021. }
  36022. },
  36023. allowMinusSign() {
  36024. return this.min === null || this.min < 0;
  36025. },
  36026. isMinusSign(char) {
  36027. if (this._minusSign.test(char) || char === '-') {
  36028. this._minusSign.lastIndex = 0;
  36029. return true;
  36030. }
  36031. return false;
  36032. },
  36033. isDecimalSign(char) {
  36034. if (this._decimal.test(char)) {
  36035. this._decimal.lastIndex = 0;
  36036. return true;
  36037. }
  36038. return false;
  36039. },
  36040. isDecimalMode() {
  36041. return this.mode === 'decimal';
  36042. },
  36043. getDecimalCharIndexes(val) {
  36044. let decimalCharIndex = val.search(this._decimal);
  36045. this._decimal.lastIndex = 0;
  36046. const filteredVal = val.replace(this._prefix, '').trim().replace(/\s/g, '').replace(this._currency, '');
  36047. const decimalCharIndexWithoutPrefix = filteredVal.search(this._decimal);
  36048. this._decimal.lastIndex = 0;
  36049. return { decimalCharIndex, decimalCharIndexWithoutPrefix };
  36050. },
  36051. getCharIndexes(val) {
  36052. const decimalCharIndex = val.search(this._decimal);
  36053. this._decimal.lastIndex = 0;
  36054. const minusCharIndex = val.search(this._minusSign);
  36055. this._minusSign.lastIndex = 0;
  36056. const suffixCharIndex = val.search(this._suffix);
  36057. this._suffix.lastIndex = 0;
  36058. const currencyCharIndex = val.search(this._currency);
  36059. this._currency.lastIndex = 0;
  36060. return { decimalCharIndex, minusCharIndex, suffixCharIndex, currencyCharIndex };
  36061. },
  36062. insert(event, text, sign = { isDecimalSign: false, isMinusSign: false }) {
  36063. const minusCharIndexOnText = text.search(this._minusSign);
  36064. this._minusSign.lastIndex = 0;
  36065. if (!this.allowMinusSign() && minusCharIndexOnText !== -1) {
  36066. return;
  36067. }
  36068. const selectionStart = this.$refs.input.$el.selectionStart;
  36069. const selectionEnd = this.$refs.input.$el.selectionEnd;
  36070. let inputValue = this.$refs.input.$el.value.trim();
  36071. const { decimalCharIndex, minusCharIndex, suffixCharIndex, currencyCharIndex } = this.getCharIndexes(inputValue);
  36072. let newValueStr;
  36073. if (sign.isMinusSign) {
  36074. if (selectionStart === 0) {
  36075. newValueStr = inputValue;
  36076. if (minusCharIndex === -1 || selectionEnd !== 0) {
  36077. newValueStr = this.insertText(inputValue, text, 0, selectionEnd);
  36078. }
  36079. this.updateValue(event, newValueStr, text, 'insert');
  36080. }
  36081. }
  36082. else if (sign.isDecimalSign) {
  36083. if (decimalCharIndex > 0 && selectionStart === decimalCharIndex) {
  36084. this.updateValue(event, inputValue, text, 'insert');
  36085. }
  36086. else if (decimalCharIndex > selectionStart && decimalCharIndex < selectionEnd) {
  36087. newValueStr = this.insertText(inputValue, text, selectionStart, selectionEnd);
  36088. this.updateValue(event, newValueStr, text, 'insert');
  36089. }
  36090. else if (decimalCharIndex === -1 && this.maxFractionDigits) {
  36091. newValueStr = this.insertText(inputValue, text, selectionStart, selectionEnd);
  36092. this.updateValue(event, newValueStr, text, 'insert');
  36093. }
  36094. }
  36095. else {
  36096. const maxFractionDigits = this.numberFormat.resolvedOptions().maximumFractionDigits;
  36097. const operation = selectionStart !== selectionEnd ? 'range-insert' : 'insert';
  36098. if (decimalCharIndex > 0 && selectionStart > decimalCharIndex) {
  36099. if ((selectionStart + text.length - (decimalCharIndex + 1)) <= maxFractionDigits) {
  36100. const charIndex = currencyCharIndex >= selectionStart ? currencyCharIndex - 1 : (suffixCharIndex >= selectionStart ? suffixCharIndex : inputValue.length);
  36101. newValueStr = inputValue.slice(0, selectionStart) + text + inputValue.slice(selectionStart + text.length, charIndex) + inputValue.slice(charIndex);
  36102. this.updateValue(event, newValueStr, text, operation);
  36103. }
  36104. }
  36105. else {
  36106. newValueStr = this.insertText(inputValue, text, selectionStart, selectionEnd);
  36107. this.updateValue(event, newValueStr, text, operation);
  36108. }
  36109. }
  36110. },
  36111. insertText(value, text, start, end) {
  36112. let textSplit = text === '.' ? text : text.split('.');
  36113. if (textSplit.length === 2) {
  36114. const decimalCharIndex = value.slice(start, end).search(this._decimal);
  36115. this._decimal.lastIndex = 0;
  36116. return (decimalCharIndex > 0) ? value.slice(0, start) + this.formatValue(text) + value.slice(end) : (value || this.formatValue(text));
  36117. }
  36118. else if ((end - start) === value.length) {
  36119. return this.formatValue(text);
  36120. }
  36121. else if (start === 0) {
  36122. return text + value.slice(end);
  36123. }
  36124. else if (end === value.length) {
  36125. return value.slice(0, start) + text;
  36126. }
  36127. else {
  36128. return value.slice(0, start) + text + value.slice(end);
  36129. }
  36130. },
  36131. deleteRange(value, start, end) {
  36132. let newValueStr;
  36133. if ((end - start) === value.length)
  36134. newValueStr = '';
  36135. else if (start === 0)
  36136. newValueStr = value.slice(end);
  36137. else if (end === value.length)
  36138. newValueStr = value.slice(0, start);
  36139. else
  36140. newValueStr = value.slice(0, start) + value.slice(end);
  36141. return newValueStr;
  36142. },
  36143. initCursor() {
  36144. let selectionStart = this.$refs.input.$el.selectionStart;
  36145. let inputValue = this.$refs.input.$el.value;
  36146. let valueLength = inputValue.length;
  36147. let index = null;
  36148. // remove prefix
  36149. let prefixLength = (this.prefixChar || '').length;
  36150. inputValue = inputValue.replace(this._prefix, '');
  36151. selectionStart = selectionStart - prefixLength;
  36152. let char = inputValue.charAt(selectionStart);
  36153. if (this.isNumeralChar(char)) {
  36154. return selectionStart + prefixLength;
  36155. }
  36156. //left
  36157. let i = selectionStart - 1;
  36158. while (i >= 0) {
  36159. char = inputValue.charAt(i);
  36160. if (this.isNumeralChar(char)) {
  36161. index = i + prefixLength;
  36162. break;
  36163. }
  36164. else {
  36165. i--;
  36166. }
  36167. }
  36168. if (index !== null) {
  36169. this.$refs.input.$el.setSelectionRange(index + 1, index + 1);
  36170. }
  36171. else {
  36172. i = selectionStart;
  36173. while (i < valueLength) {
  36174. char = inputValue.charAt(i);
  36175. if (this.isNumeralChar(char)) {
  36176. index = i + prefixLength;
  36177. break;
  36178. }
  36179. else {
  36180. i++;
  36181. }
  36182. }
  36183. if (index !== null) {
  36184. this.$refs.input.$el.setSelectionRange(index, index);
  36185. }
  36186. }
  36187. return index || 0;
  36188. },
  36189. onInputClick() {
  36190. this.initCursor();
  36191. },
  36192. isNumeralChar(char) {
  36193. if (char.length === 1 && (this._numeral.test(char) || this._decimal.test(char) || this._group.test(char) || this._minusSign.test(char))) {
  36194. this.resetRegex();
  36195. return true;
  36196. }
  36197. return false;
  36198. },
  36199. resetRegex() {
  36200. this._numeral.lastIndex = 0;
  36201. this._decimal.lastIndex = 0;
  36202. this._group.lastIndex = 0;
  36203. this._minusSign.lastIndex = 0;
  36204. },
  36205. updateValue(event, valueStr, insertedValueStr, operation) {
  36206. let currentValue = this.$refs.input.$el.value;
  36207. let newValue = null;
  36208. if (valueStr != null) {
  36209. newValue = this.parseValue(valueStr);
  36210. newValue = !newValue && !this.allowEmpty ? 0 : newValue;
  36211. this.updateInput(newValue, insertedValueStr, operation, valueStr);
  36212. this.handleOnInput(event, currentValue, newValue);
  36213. }
  36214. },
  36215. handleOnInput(event, currentValue, newValue) {
  36216. if (this.isValueChanged(currentValue, newValue)) {
  36217. this.$emit('input', { originalEvent: event, value: newValue });
  36218. }
  36219. },
  36220. isValueChanged(currentValue, newValue) {
  36221. if (newValue === null && currentValue !== null) {
  36222. return true;
  36223. }
  36224. if (newValue != null) {
  36225. let parsedCurrentValue = (typeof currentValue === 'string') ? this.parseValue(currentValue) : currentValue;
  36226. return newValue !== parsedCurrentValue;
  36227. }
  36228. return false;
  36229. },
  36230. validateValue(value) {
  36231. if (value === '-' || value == null) {
  36232. return null;
  36233. }
  36234. if (this.min != null && value < this.min) {
  36235. return this.min;
  36236. }
  36237. if (this.max != null && value > this.max) {
  36238. return this.max;
  36239. }
  36240. return value;
  36241. },
  36242. updateInput(value, insertedValueStr, operation, valueStr) {
  36243. insertedValueStr = insertedValueStr || '';
  36244. let inputValue = this.$refs.input.$el.value;
  36245. let newValue = this.formatValue(value);
  36246. let currentLength = inputValue.length;
  36247. if (newValue !== valueStr) {
  36248. newValue = this.concatValues(newValue, valueStr);
  36249. }
  36250. if (currentLength === 0) {
  36251. this.$refs.input.$el.value = newValue;
  36252. this.$refs.input.$el.setSelectionRange(0, 0);
  36253. const index = this.initCursor();
  36254. const selectionEnd = index + insertedValueStr.length;
  36255. this.$refs.input.$el.setSelectionRange(selectionEnd, selectionEnd);
  36256. }
  36257. else {
  36258. let selectionStart = this.$refs.input.$el.selectionStart;
  36259. let selectionEnd = this.$refs.input.$el.selectionEnd;
  36260. this.$refs.input.$el.value = newValue;
  36261. let newLength = newValue.length;
  36262. if (operation === 'range-insert') {
  36263. const startValue = this.parseValue((inputValue || '').slice(0, selectionStart));
  36264. const startValueStr = startValue !== null ? startValue.toString() : '';
  36265. const startExpr = startValueStr.split('').join(`(${this.groupChar})?`);
  36266. const sRegex = new RegExp(startExpr, 'g');
  36267. sRegex.test(newValue);
  36268. const tExpr = insertedValueStr.split('').join(`(${this.groupChar})?`);
  36269. const tRegex = new RegExp(tExpr, 'g');
  36270. tRegex.test(newValue.slice(sRegex.lastIndex));
  36271. selectionEnd = sRegex.lastIndex + tRegex.lastIndex;
  36272. this.$refs.input.$el.setSelectionRange(selectionEnd, selectionEnd);
  36273. }
  36274. else if (newLength === currentLength) {
  36275. if (operation === 'insert' || operation === 'delete-back-single')
  36276. this.$refs.input.$el.setSelectionRange(selectionEnd + 1, selectionEnd + 1);
  36277. else if (operation === 'delete-single')
  36278. this.$refs.input.$el.setSelectionRange(selectionEnd - 1, selectionEnd - 1);
  36279. else if (operation === 'delete-range' || operation === 'spin')
  36280. this.$refs.input.$el.setSelectionRange(selectionEnd, selectionEnd);
  36281. }
  36282. else if (operation === 'delete-back-single') {
  36283. let prevChar = inputValue.charAt(selectionEnd - 1);
  36284. let nextChar = inputValue.charAt(selectionEnd);
  36285. let diff = currentLength - newLength;
  36286. let isGroupChar = this._group.test(nextChar);
  36287. if (isGroupChar && diff === 1) {
  36288. selectionEnd += 1;
  36289. }
  36290. else if (!isGroupChar && this.isNumeralChar(prevChar)) {
  36291. selectionEnd += (-1 * diff) + 1;
  36292. }
  36293. this._group.lastIndex = 0;
  36294. this.$refs.input.$el.setSelectionRange(selectionEnd, selectionEnd);
  36295. }
  36296. else if (inputValue === '-' && operation === 'insert') {
  36297. this.$refs.input.$el.setSelectionRange(0, 0);
  36298. const index = this.initCursor();
  36299. const selectionEnd = index + insertedValueStr.length + 1;
  36300. this.$refs.input.$el.setSelectionRange(selectionEnd, selectionEnd);
  36301. }
  36302. else {
  36303. selectionEnd = selectionEnd + (newLength - currentLength);
  36304. this.$refs.input.$el.setSelectionRange(selectionEnd, selectionEnd);
  36305. }
  36306. }
  36307. this.$refs.input.$el.setAttribute('aria-valuenow', value);
  36308. },
  36309. concatValues(val1, val2) {
  36310. if (val1 && val2) {
  36311. let decimalCharIndex = val2.search(this._decimal);
  36312. this._decimal.lastIndex = 0;
  36313. return decimalCharIndex !== -1 ? (val1.split(this._decimal)[0] + val2.slice(decimalCharIndex)) : val1;
  36314. }
  36315. return val1;
  36316. },
  36317. getDecimalLength(value) {
  36318. if (value) {
  36319. const valueSplit = value.split(this._decimal);
  36320. if (valueSplit.length === 2) {
  36321. return valueSplit[1].replace(this._suffix, '')
  36322. .trim()
  36323. .replace(/\s/g, '')
  36324. .replace(this._currency, '').length;
  36325. }
  36326. }
  36327. return 0;
  36328. },
  36329. updateModel(event, value) {
  36330. this.d_modelValue = value;
  36331. this.$emit('update:modelValue', value);
  36332. },
  36333. onInputFocus(event) {
  36334. this.focused = true;
  36335. this.$emit('focus', event);
  36336. },
  36337. onInputBlur(event) {
  36338. this.focused = false;
  36339. let input = event.target;
  36340. let newValue = this.validateValue(this.parseValue(input.value));
  36341. this.$emit('blur', { originalEvent: event, value: input.value});
  36342. input.value = this.formatValue(newValue);
  36343. input.setAttribute('aria-valuenow', newValue);
  36344. this.updateModel(event, newValue);
  36345. },
  36346. clearTimer() {
  36347. if (this.timer) {
  36348. clearInterval(this.timer);
  36349. }
  36350. },
  36351. maxBoundry() {
  36352. return this.d_modelValue >= this.max;
  36353. },
  36354. minBoundry() {
  36355. return this.d_modelValue <= this.min;
  36356. },
  36357. },
  36358. computed: {
  36359. containerClass() {
  36360. return ['p-inputnumber p-component p-inputwrapper', this.class, {
  36361. 'p-inputwrapper-filled': this.filled,
  36362. 'p-inputwrapper-focus': this.focused,
  36363. 'p-inputnumber-buttons-stacked': this.showButtons && this.buttonLayout === 'stacked',
  36364. 'p-inputnumber-buttons-horizontal': this.showButtons && this.buttonLayout === 'horizontal',
  36365. 'p-inputnumber-buttons-vertical': this.showButtons && this.buttonLayout === 'vertical'
  36366. }];
  36367. },
  36368. upButtonClass() {
  36369. return ['p-inputnumber-button p-inputnumber-button-up', this.incrementButtonClass, {
  36370. 'p-disabled': this.showButtons && this.max !== null && this.maxBoundry()
  36371. }];
  36372. },
  36373. downButtonClass() {
  36374. return ['p-inputnumber-button p-inputnumber-button-down', this.decrementButtonClass, {
  36375. 'p-disabled': this.showButtons && this.min !== null && this.minBoundry()
  36376. }];
  36377. },
  36378. filled() {
  36379. return (this.modelValue != null && this.modelValue.toString().length > 0)
  36380. },
  36381. upButtonListeners() {
  36382. return {
  36383. mousedown: event => this.onUpButtonMouseDown(event),
  36384. mouseup: event => this.onUpButtonMouseUp(event),
  36385. mouseleave: event => this.onUpButtonMouseLeave(event),
  36386. keydown: event => this.onUpButtonKeyDown(event),
  36387. keyup: event => this.onUpButtonKeyUp(event)
  36388. }
  36389. },
  36390. downButtonListeners() {
  36391. return {
  36392. mousedown: event => this.onDownButtonMouseDown(event),
  36393. mouseup: event => this.onDownButtonMouseUp(event),
  36394. mouseleave: event => this.onDownButtonMouseLeave(event),
  36395. keydown: event => this.onDownButtonKeyDown(event),
  36396. keyup: event => this.onDownButtonKeyUp(event)
  36397. }
  36398. },
  36399. formattedValue() {
  36400. const val = !this.modelValue && !this.allowEmpty ? 0 : this.modelValue;
  36401. return this.formatValue(val);
  36402. },
  36403. getFormatter() {
  36404. return this.numberFormat;
  36405. }
  36406. },
  36407. components: {
  36408. 'INInputText': primevue_inputtext__WEBPACK_IMPORTED_MODULE_0__["default"],
  36409. 'INButton': primevue_button__WEBPACK_IMPORTED_MODULE_1__["default"]
  36410. }
  36411. };
  36412. const _hoisted_1 = {
  36413. key: 0,
  36414. class: "p-inputnumber-button-group"
  36415. };
  36416. function render(_ctx, _cache, $props, $setup, $data, $options) {
  36417. const _component_INInputText = (0,vue__WEBPACK_IMPORTED_MODULE_2__.resolveComponent)("INInputText");
  36418. const _component_INButton = (0,vue__WEBPACK_IMPORTED_MODULE_2__.resolveComponent)("INButton");
  36419. return ((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)("span", {
  36420. class: $options.containerClass,
  36421. style: $props.style
  36422. }, [
  36423. (0,vue__WEBPACK_IMPORTED_MODULE_2__.createVNode)(_component_INInputText, (0,vue__WEBPACK_IMPORTED_MODULE_2__.mergeProps)({
  36424. ref: "input",
  36425. class: ['p-inputnumber-input', $props.inputClass],
  36426. style: $props.inputStyle,
  36427. value: $options.formattedValue
  36428. }, _ctx.$attrs, {
  36429. "aria-valumin": $props.min,
  36430. "aria-valuemax": $props.max,
  36431. onInput: $options.onUserInput,
  36432. onKeydown: $options.onInputKeyDown,
  36433. onKeypress: $options.onInputKeyPress,
  36434. onPaste: $options.onPaste,
  36435. onClick: $options.onInputClick,
  36436. onFocus: $options.onInputFocus,
  36437. onBlur: $options.onInputBlur
  36438. }), null, 16, ["class", "style", "value", "aria-valumin", "aria-valuemax", "onInput", "onKeydown", "onKeypress", "onPaste", "onClick", "onFocus", "onBlur"]),
  36439. ($props.showButtons && $props.buttonLayout === 'stacked')
  36440. ? ((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)("span", _hoisted_1, [
  36441. (0,vue__WEBPACK_IMPORTED_MODULE_2__.createVNode)(_component_INButton, (0,vue__WEBPACK_IMPORTED_MODULE_2__.mergeProps)({
  36442. class: $options.upButtonClass,
  36443. icon: $props.incrementButtonIcon
  36444. }, (0,vue__WEBPACK_IMPORTED_MODULE_2__.toHandlers)($options.upButtonListeners), {
  36445. disabled: _ctx.$attrs.disabled
  36446. }), null, 16, ["class", "icon", "disabled"]),
  36447. (0,vue__WEBPACK_IMPORTED_MODULE_2__.createVNode)(_component_INButton, (0,vue__WEBPACK_IMPORTED_MODULE_2__.mergeProps)({
  36448. class: $options.downButtonClass,
  36449. icon: $props.decrementButtonIcon
  36450. }, (0,vue__WEBPACK_IMPORTED_MODULE_2__.toHandlers)($options.downButtonListeners), {
  36451. disabled: _ctx.$attrs.disabled
  36452. }), null, 16, ["class", "icon", "disabled"])
  36453. ]))
  36454. : (0,vue__WEBPACK_IMPORTED_MODULE_2__.createCommentVNode)("", true),
  36455. ($props.showButtons && $props.buttonLayout !== 'stacked')
  36456. ? ((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)(_component_INButton, (0,vue__WEBPACK_IMPORTED_MODULE_2__.mergeProps)({
  36457. key: 1,
  36458. class: $options.upButtonClass,
  36459. icon: $props.incrementButtonIcon
  36460. }, (0,vue__WEBPACK_IMPORTED_MODULE_2__.toHandlers)($options.upButtonListeners), {
  36461. disabled: _ctx.$attrs.disabled
  36462. }), null, 16, ["class", "icon", "disabled"]))
  36463. : (0,vue__WEBPACK_IMPORTED_MODULE_2__.createCommentVNode)("", true),
  36464. ($props.showButtons && $props.buttonLayout !== 'stacked')
  36465. ? ((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)(_component_INButton, (0,vue__WEBPACK_IMPORTED_MODULE_2__.mergeProps)({
  36466. key: 2,
  36467. class: $options.downButtonClass,
  36468. icon: $props.decrementButtonIcon
  36469. }, (0,vue__WEBPACK_IMPORTED_MODULE_2__.toHandlers)($options.downButtonListeners), {
  36470. disabled: _ctx.$attrs.disabled
  36471. }), null, 16, ["class", "icon", "disabled"]))
  36472. : (0,vue__WEBPACK_IMPORTED_MODULE_2__.createCommentVNode)("", true)
  36473. ], 6))
  36474. }
  36475. function styleInject(css, ref) {
  36476. if ( ref === void 0 ) ref = {};
  36477. var insertAt = ref.insertAt;
  36478. if (!css || typeof document === 'undefined') { return; }
  36479. var head = document.head || document.getElementsByTagName('head')[0];
  36480. var style = document.createElement('style');
  36481. style.type = 'text/css';
  36482. if (insertAt === 'top') {
  36483. if (head.firstChild) {
  36484. head.insertBefore(style, head.firstChild);
  36485. } else {
  36486. head.appendChild(style);
  36487. }
  36488. } else {
  36489. head.appendChild(style);
  36490. }
  36491. if (style.styleSheet) {
  36492. style.styleSheet.cssText = css;
  36493. } else {
  36494. style.appendChild(document.createTextNode(css));
  36495. }
  36496. }
  36497. var css_248z = "\n.p-inputnumber {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n}\n.p-inputnumber-button {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-flex: 0;\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n}\n.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button .p-button-label,\n.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button .p-button-label {\n display: none;\n}\n.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button-up {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n padding: 0;\n}\n.p-inputnumber-buttons-stacked .p-inputnumber-input {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button-down {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-bottom-left-radius: 0;\n padding: 0;\n}\n.p-inputnumber-buttons-stacked .p-inputnumber-button-group {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n.p-inputnumber-buttons-stacked .p-inputnumber-button-group .p-button.p-inputnumber-button {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n}\n.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-up {\n -webkit-box-ordinal-group: 4;\n -ms-flex-order: 3;\n order: 3;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.p-inputnumber-buttons-horizontal .p-inputnumber-input {\n -webkit-box-ordinal-group: 3;\n -ms-flex-order: 2;\n order: 2;\n border-radius: 0;\n}\n.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-down {\n -webkit-box-ordinal-group: 2;\n -ms-flex-order: 1;\n order: 1;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.p-inputnumber-buttons-vertical {\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n.p-inputnumber-buttons-vertical .p-button.p-inputnumber-button-up {\n -webkit-box-ordinal-group: 2;\n -ms-flex-order: 1;\n order: 1;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n width: 100%;\n}\n.p-inputnumber-buttons-vertical .p-inputnumber-input {\n -webkit-box-ordinal-group: 3;\n -ms-flex-order: 2;\n order: 2;\n border-radius: 0;\n text-align: center;\n}\n.p-inputnumber-buttons-vertical .p-button.p-inputnumber-button-down {\n -webkit-box-ordinal-group: 4;\n -ms-flex-order: 3;\n order: 3;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n width: 100%;\n}\n.p-inputnumber-input {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n}\n.p-fluid .p-inputnumber {\n width: 100%;\n}\n.p-fluid .p-inputnumber .p-inputnumber-input {\n width: 1%;\n}\n.p-fluid .p-inputnumber-buttons-vertical .p-inputnumber-input {\n width: 100%;\n}\n";
  36498. styleInject(css_248z);
  36499. script.render = render;
  36500. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  36501. /***/ }),
  36502. /***/ "./node_modules/primevue/inputtext/inputtext.esm.js":
  36503. /*!**********************************************************!*\
  36504. !*** ./node_modules/primevue/inputtext/inputtext.esm.js ***!
  36505. \**********************************************************/
  36506. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  36507. "use strict";
  36508. __webpack_require__.r(__webpack_exports__);
  36509. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  36510. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  36511. /* harmony export */ });
  36512. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  36513. var script = {
  36514. name: 'InputText',
  36515. emits: ['update:modelValue'],
  36516. props: {
  36517. modelValue: null
  36518. },
  36519. methods: {
  36520. onInput(event) {
  36521. this.$emit('update:modelValue', event.target.value);
  36522. }
  36523. },
  36524. computed: {
  36525. filled() {
  36526. return (this.modelValue != null && this.modelValue.toString().length > 0)
  36527. }
  36528. }
  36529. };
  36530. function render(_ctx, _cache, $props, $setup, $data, $options) {
  36531. return ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("input", (0,vue__WEBPACK_IMPORTED_MODULE_0__.mergeProps)({
  36532. class: ['p-inputtext p-component', {'p-filled': $options.filled}],
  36533. value: $props.modelValue,
  36534. onInput: _cache[1] || (_cache[1] = (...args) => ($options.onInput && $options.onInput(...args)))
  36535. }, _ctx.$attrs), null, 16, ["value"]))
  36536. }
  36537. script.render = render;
  36538. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  36539. /***/ }),
  36540. /***/ "./node_modules/primevue/message/message.esm.js":
  36541. /*!******************************************************!*\
  36542. !*** ./node_modules/primevue/message/message.esm.js ***!
  36543. \******************************************************/
  36544. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  36545. "use strict";
  36546. __webpack_require__.r(__webpack_exports__);
  36547. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  36548. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  36549. /* harmony export */ });
  36550. /* harmony import */ var primevue_ripple__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! primevue/ripple */ "./node_modules/primevue/ripple/ripple.esm.js");
  36551. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  36552. var script = {
  36553. name: 'Message',
  36554. emits: ['close'],
  36555. props: {
  36556. severity: {
  36557. type: String,
  36558. default: 'info'
  36559. },
  36560. closable: {
  36561. type: Boolean,
  36562. default: true
  36563. },
  36564. sticky: {
  36565. type: Boolean,
  36566. default: true
  36567. },
  36568. life: {
  36569. type: Number,
  36570. default: 3000
  36571. },
  36572. icon: {
  36573. type: String,
  36574. default: null
  36575. },
  36576. },
  36577. timeout: null,
  36578. data() {
  36579. return {
  36580. visible: true
  36581. }
  36582. },
  36583. mounted() {
  36584. if (!this.sticky) {
  36585. setTimeout(() => {
  36586. this.visible = false;
  36587. }, this.life);
  36588. }
  36589. },
  36590. methods: {
  36591. close(event) {
  36592. this.visible = false;
  36593. this.$emit('close', event);
  36594. }
  36595. },
  36596. computed: {
  36597. containerClass() {
  36598. return 'p-message p-component p-message-' + this.severity;
  36599. },
  36600. iconClass() {
  36601. return ['p-message-icon pi', this.icon ? this.icon : {
  36602. 'pi-info-circle': this.severity === 'info',
  36603. 'pi-check': this.severity === 'success',
  36604. 'pi-exclamation-triangle': this.severity === 'warn',
  36605. 'pi-times-circle': this.severity === 'error'
  36606. }];
  36607. }
  36608. },
  36609. directives: {
  36610. 'ripple': primevue_ripple__WEBPACK_IMPORTED_MODULE_0__["default"]
  36611. }
  36612. };
  36613. const _hoisted_1 = { class: "p-message-wrapper" };
  36614. const _hoisted_2 = { class: "p-message-text" };
  36615. const _hoisted_3 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_1__.createVNode)("i", { class: "p-message-close-icon pi pi-times" }, null, -1);
  36616. function render(_ctx, _cache, $props, $setup, $data, $options) {
  36617. const _directive_ripple = (0,vue__WEBPACK_IMPORTED_MODULE_1__.resolveDirective)("ripple");
  36618. return ((0,vue__WEBPACK_IMPORTED_MODULE_1__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_1__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_1__.Transition, {
  36619. name: "p-message",
  36620. appear: ""
  36621. }, {
  36622. default: (0,vue__WEBPACK_IMPORTED_MODULE_1__.withCtx)(() => [
  36623. (0,vue__WEBPACK_IMPORTED_MODULE_1__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_1__.createVNode)("div", {
  36624. class: $options.containerClass,
  36625. role: "alert"
  36626. }, [
  36627. (0,vue__WEBPACK_IMPORTED_MODULE_1__.createVNode)("div", _hoisted_1, [
  36628. (0,vue__WEBPACK_IMPORTED_MODULE_1__.createVNode)("span", { class: $options.iconClass }, null, 2),
  36629. (0,vue__WEBPACK_IMPORTED_MODULE_1__.createVNode)("div", _hoisted_2, [
  36630. (0,vue__WEBPACK_IMPORTED_MODULE_1__.renderSlot)(_ctx.$slots, "default")
  36631. ]),
  36632. ($props.closable)
  36633. ? (0,vue__WEBPACK_IMPORTED_MODULE_1__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_1__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_1__.createBlock)("button", {
  36634. key: 0,
  36635. class: "p-message-close p-link",
  36636. onClick: _cache[1] || (_cache[1] = $event => ($options.close($event))),
  36637. type: "button"
  36638. }, [
  36639. _hoisted_3
  36640. ], 512)), [
  36641. [_directive_ripple]
  36642. ])
  36643. : (0,vue__WEBPACK_IMPORTED_MODULE_1__.createCommentVNode)("", true)
  36644. ])
  36645. ], 2), [
  36646. [vue__WEBPACK_IMPORTED_MODULE_1__.vShow, $data.visible]
  36647. ])
  36648. ]),
  36649. _: 3
  36650. }))
  36651. }
  36652. function styleInject(css, ref) {
  36653. if ( ref === void 0 ) ref = {};
  36654. var insertAt = ref.insertAt;
  36655. if (!css || typeof document === 'undefined') { return; }
  36656. var head = document.head || document.getElementsByTagName('head')[0];
  36657. var style = document.createElement('style');
  36658. style.type = 'text/css';
  36659. if (insertAt === 'top') {
  36660. if (head.firstChild) {
  36661. head.insertBefore(style, head.firstChild);
  36662. } else {
  36663. head.appendChild(style);
  36664. }
  36665. } else {
  36666. head.appendChild(style);
  36667. }
  36668. if (style.styleSheet) {
  36669. style.styleSheet.cssText = css;
  36670. } else {
  36671. style.appendChild(document.createTextNode(css));
  36672. }
  36673. }
  36674. var css_248z = "\n.p-message-wrapper {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.p-message-close {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.p-message-close.p-link {\n margin-left: auto;\n overflow: hidden;\n position: relative;\n}\n.p-message-enter-from {\n opacity: 0;\n}\n.p-message-enter-active {\n -webkit-transition: opacity .3s;\n transition: opacity .3s;\n}\n.p-message.p-message-leave-from {\n max-height: 1000px;\n}\n.p-message.p-message-leave-to {\n max-height: 0;\n opacity: 0;\n margin: 0 !important;\n}\n.p-message-leave-active {\n overflow: hidden;\n -webkit-transition: max-height .3s cubic-bezier(0, 1, 0, 1), opacity .3s, margin .15s;\n transition: max-height .3s cubic-bezier(0, 1, 0, 1), opacity .3s, margin .15s;\n}\n.p-message-leave-active .p-message-close {\n display: none;\n}\n";
  36675. styleInject(css_248z);
  36676. script.render = render;
  36677. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  36678. /***/ }),
  36679. /***/ "./node_modules/primevue/overlayeventbus/overlayeventbus.esm.js":
  36680. /*!**********************************************************************!*\
  36681. !*** ./node_modules/primevue/overlayeventbus/overlayeventbus.esm.js ***!
  36682. \**********************************************************************/
  36683. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  36684. "use strict";
  36685. __webpack_require__.r(__webpack_exports__);
  36686. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  36687. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  36688. /* harmony export */ });
  36689. /* harmony import */ var primevue_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! primevue/utils */ "./node_modules/primevue/utils/utils.esm.js");
  36690. var OverlayEventBus = (0,primevue_utils__WEBPACK_IMPORTED_MODULE_0__.EventBus)();
  36691. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OverlayEventBus);
  36692. /***/ }),
  36693. /***/ "./node_modules/primevue/paginator/paginator.esm.js":
  36694. /*!**********************************************************!*\
  36695. !*** ./node_modules/primevue/paginator/paginator.esm.js ***!
  36696. \**********************************************************/
  36697. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  36698. "use strict";
  36699. __webpack_require__.r(__webpack_exports__);
  36700. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  36701. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  36702. /* harmony export */ });
  36703. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  36704. /* harmony import */ var primevue_ripple__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! primevue/ripple */ "./node_modules/primevue/ripple/ripple.esm.js");
  36705. /* harmony import */ var primevue_dropdown__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! primevue/dropdown */ "./node_modules/primevue/dropdown/dropdown.esm.js");
  36706. /* harmony import */ var primevue_inputnumber__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! primevue/inputnumber */ "./node_modules/primevue/inputnumber/inputnumber.esm.js");
  36707. var script$9 = {
  36708. name: 'CurrentPageReport',
  36709. inheritAttrs: false,
  36710. props: {
  36711. pageCount: {
  36712. type: Number,
  36713. default: 0
  36714. },
  36715. currentPage: {
  36716. type: Number,
  36717. default: 0
  36718. },
  36719. page: {
  36720. type: Number,
  36721. default: 0
  36722. },
  36723. first: {
  36724. type: Number,
  36725. default: 0
  36726. },
  36727. rows: {
  36728. type: Number,
  36729. default: 0
  36730. },
  36731. totalRecords: {
  36732. type: Number,
  36733. default: 0
  36734. },
  36735. template: {
  36736. type: String,
  36737. default: '({currentPage} of {totalPages})'
  36738. }
  36739. },
  36740. computed: {
  36741. text() {
  36742. let text = this.template
  36743. .replace("{currentPage}", this.currentPage)
  36744. .replace("{totalPages}", this.pageCount)
  36745. .replace("{first}", this.pageCount > 0 ? this.first + 1 : 0)
  36746. .replace("{last}", Math.min(this.first + this.rows, this.totalRecords))
  36747. .replace("{rows}", this.rows)
  36748. .replace("{totalRecords}", this.totalRecords);
  36749. return text;
  36750. }
  36751. }
  36752. };
  36753. const _hoisted_1$6 = { class: "p-paginator-current" };
  36754. function render$9(_ctx, _cache, $props, $setup, $data, $options) {
  36755. return ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("span", _hoisted_1$6, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($options.text), 1))
  36756. }
  36757. script$9.render = render$9;
  36758. var script$8 = {
  36759. name: 'FirstPageLink',
  36760. computed: {
  36761. containerClass() {
  36762. return ['p-paginator-first p-paginator-element p-link', {
  36763. 'p-disabled': this.$attrs.disabled
  36764. }];
  36765. }
  36766. },
  36767. directives: {
  36768. 'ripple': primevue_ripple__WEBPACK_IMPORTED_MODULE_1__["default"]
  36769. }
  36770. };
  36771. const _hoisted_1$5 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)("span", { class: "p-paginator-icon pi pi-angle-double-left" }, null, -1);
  36772. function render$8(_ctx, _cache, $props, $setup, $data, $options) {
  36773. const _directive_ripple = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveDirective)("ripple");
  36774. return (0,vue__WEBPACK_IMPORTED_MODULE_0__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("button", {
  36775. class: $options.containerClass,
  36776. type: "button"
  36777. }, [
  36778. _hoisted_1$5
  36779. ], 2)), [
  36780. [_directive_ripple]
  36781. ])
  36782. }
  36783. script$8.render = render$8;
  36784. var script$7 = {
  36785. name: 'LastPageLink',
  36786. computed: {
  36787. containerClass() {
  36788. return ['p-paginator-last p-paginator-element p-link', {
  36789. 'p-disabled': this.$attrs.disabled
  36790. }];
  36791. }
  36792. },
  36793. directives: {
  36794. 'ripple': primevue_ripple__WEBPACK_IMPORTED_MODULE_1__["default"]
  36795. }
  36796. };
  36797. const _hoisted_1$4 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)("span", { class: "p-paginator-icon pi pi-angle-double-right" }, null, -1);
  36798. function render$7(_ctx, _cache, $props, $setup, $data, $options) {
  36799. const _directive_ripple = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveDirective)("ripple");
  36800. return (0,vue__WEBPACK_IMPORTED_MODULE_0__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("button", {
  36801. class: $options.containerClass,
  36802. type: "button"
  36803. }, [
  36804. _hoisted_1$4
  36805. ], 2)), [
  36806. [_directive_ripple]
  36807. ])
  36808. }
  36809. script$7.render = render$7;
  36810. var script$6 = {
  36811. name: 'NextPageLink',
  36812. computed: {
  36813. containerClass() {
  36814. return ['p-paginator-next p-paginator-element p-link', {
  36815. 'p-disabled': this.$attrs.disabled
  36816. }];
  36817. }
  36818. },
  36819. directives: {
  36820. 'ripple': primevue_ripple__WEBPACK_IMPORTED_MODULE_1__["default"]
  36821. }
  36822. };
  36823. const _hoisted_1$3 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)("span", { class: "p-paginator-icon pi pi-angle-right" }, null, -1);
  36824. function render$6(_ctx, _cache, $props, $setup, $data, $options) {
  36825. const _directive_ripple = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveDirective)("ripple");
  36826. return (0,vue__WEBPACK_IMPORTED_MODULE_0__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("button", {
  36827. class: $options.containerClass,
  36828. type: "button"
  36829. }, [
  36830. _hoisted_1$3
  36831. ], 2)), [
  36832. [_directive_ripple]
  36833. ])
  36834. }
  36835. script$6.render = render$6;
  36836. var script$5 = {
  36837. name: 'PageLinks',
  36838. inheritAttrs: false,
  36839. emits: ['click'],
  36840. props: {
  36841. value: Array,
  36842. page: Number
  36843. },
  36844. methods: {
  36845. onPageLinkClick(event, pageLink) {
  36846. this.$emit('click', {
  36847. originalEvent: event,
  36848. value: pageLink
  36849. });
  36850. }
  36851. },
  36852. directives: {
  36853. 'ripple': primevue_ripple__WEBPACK_IMPORTED_MODULE_1__["default"]
  36854. }
  36855. };
  36856. const _hoisted_1$2 = { class: "p-paginator-pages" };
  36857. function render$5(_ctx, _cache, $props, $setup, $data, $options) {
  36858. const _directive_ripple = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveDirective)("ripple");
  36859. return ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("span", _hoisted_1$2, [
  36860. ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderList)($props.value, (pageLink) => {
  36861. return (0,vue__WEBPACK_IMPORTED_MODULE_0__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("button", {
  36862. key: pageLink,
  36863. class: ['p-paginator-page p-paginator-element p-link', {'p-highlight': ((pageLink - 1) === $props.page)}],
  36864. type: "button",
  36865. onClick: $event => ($options.onPageLinkClick($event, pageLink))
  36866. }, [
  36867. (0,vue__WEBPACK_IMPORTED_MODULE_0__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)(pageLink), 1)
  36868. ], 10, ["onClick"])), [
  36869. [_directive_ripple]
  36870. ])
  36871. }), 128))
  36872. ]))
  36873. }
  36874. script$5.render = render$5;
  36875. var script$4 = {
  36876. name: 'PrevPageLink',
  36877. computed: {
  36878. containerClass() {
  36879. return ['p-paginator-prev p-paginator-element p-link', {
  36880. 'p-disabled': this.$attrs.disabled
  36881. }];
  36882. }
  36883. },
  36884. directives: {
  36885. 'ripple': primevue_ripple__WEBPACK_IMPORTED_MODULE_1__["default"]
  36886. }
  36887. };
  36888. const _hoisted_1$1 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)("span", { class: "p-paginator-icon pi pi-angle-left" }, null, -1);
  36889. function render$4(_ctx, _cache, $props, $setup, $data, $options) {
  36890. const _directive_ripple = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveDirective)("ripple");
  36891. return (0,vue__WEBPACK_IMPORTED_MODULE_0__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("button", {
  36892. class: $options.containerClass,
  36893. type: "button"
  36894. }, [
  36895. _hoisted_1$1
  36896. ], 2)), [
  36897. [_directive_ripple]
  36898. ])
  36899. }
  36900. script$4.render = render$4;
  36901. var script$3 = {
  36902. name: 'RowsPerPageDropdown',
  36903. inheritAttrs: false,
  36904. emits: ['rows-change'],
  36905. props: {
  36906. options: Array,
  36907. rows: Number,
  36908. disabled: Boolean
  36909. },
  36910. methods: {
  36911. onChange(value) {
  36912. this.$emit('rows-change', value);
  36913. }
  36914. },
  36915. computed: {
  36916. rowsOptions() {
  36917. let opts = [];
  36918. if (this.options) {
  36919. for(let i= 0; i < this.options.length; i++) {
  36920. opts.push({label: String(this.options[i]), value: this.options[i]});
  36921. }
  36922. }
  36923. return opts;
  36924. }
  36925. },
  36926. components: {
  36927. 'RPPDropdown': primevue_dropdown__WEBPACK_IMPORTED_MODULE_2__["default"]
  36928. }
  36929. };
  36930. function render$3(_ctx, _cache, $props, $setup, $data, $options) {
  36931. const _component_RPPDropdown = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)("RPPDropdown");
  36932. return ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(_component_RPPDropdown, {
  36933. modelValue: $props.rows,
  36934. options: $options.rowsOptions,
  36935. optionLabel: "label",
  36936. optionValue: "value",
  36937. "onUpdate:modelValue": _cache[1] || (_cache[1] = $event => ($options.onChange($event))),
  36938. class: "p-paginator-rpp-options",
  36939. disabled: $props.disabled
  36940. }, null, 8, ["modelValue", "options", "disabled"]))
  36941. }
  36942. script$3.render = render$3;
  36943. var script$2 = {
  36944. name: 'JumpToPageDropdown',
  36945. inheritAttrs: false,
  36946. emits: ['page-change'],
  36947. props: {
  36948. page: Number,
  36949. pageCount: Number,
  36950. disabled: Boolean
  36951. },
  36952. methods: {
  36953. onChange(value) {
  36954. this.$emit('page-change', value);
  36955. }
  36956. },
  36957. computed: {
  36958. pageOptions() {
  36959. let opts = [];
  36960. for(let i= 0; i < this.pageCount; i++) {
  36961. opts.push({label: String(i+1), value: i});
  36962. }
  36963. return opts;
  36964. }
  36965. },
  36966. components: {
  36967. 'JTPDropdown': primevue_dropdown__WEBPACK_IMPORTED_MODULE_2__["default"]
  36968. }
  36969. };
  36970. function render$2(_ctx, _cache, $props, $setup, $data, $options) {
  36971. const _component_JTPDropdown = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)("JTPDropdown");
  36972. return ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(_component_JTPDropdown, {
  36973. modelValue: $props.page,
  36974. options: $options.pageOptions,
  36975. optionLabel: "label",
  36976. optionValue: "value",
  36977. "onUpdate:modelValue": _cache[1] || (_cache[1] = $event => ($options.onChange($event))),
  36978. class: "p-paginator-page-options",
  36979. disabled: $props.disabled
  36980. }, null, 8, ["modelValue", "options", "disabled"]))
  36981. }
  36982. script$2.render = render$2;
  36983. var script$1 = {
  36984. name: 'JumpToPageInput',
  36985. inheritAttrs: false,
  36986. emits: ['page-change'],
  36987. props: {
  36988. page: Number,
  36989. pageCount: Number,
  36990. disabled: Boolean
  36991. },
  36992. methods: {
  36993. onChange(value) {
  36994. this.$emit('page-change', value - 1);
  36995. }
  36996. },
  36997. components: {
  36998. 'JTPInput': primevue_inputnumber__WEBPACK_IMPORTED_MODULE_3__["default"]
  36999. }
  37000. };
  37001. function render$1(_ctx, _cache, $props, $setup, $data, $options) {
  37002. const _component_JTPInput = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)("JTPInput");
  37003. return ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(_component_JTPInput, {
  37004. modelValue: $props.page,
  37005. "onUpdate:modelValue": _cache[1] || (_cache[1] = $event => ($options.onChange($event))),
  37006. class: "p-paginator-page-input",
  37007. disabled: $props.disabled
  37008. }, null, 8, ["modelValue", "disabled"]))
  37009. }
  37010. script$1.render = render$1;
  37011. var script = {
  37012. name: 'Paginator',
  37013. emits: ['update:first', 'update:rows', 'page'],
  37014. props: {
  37015. totalRecords: {
  37016. type: Number,
  37017. default: 0
  37018. },
  37019. rows: {
  37020. type: Number,
  37021. default: 0
  37022. },
  37023. first: {
  37024. type: Number,
  37025. default: 0
  37026. },
  37027. pageLinkSize: {
  37028. type: Number,
  37029. default: 5
  37030. },
  37031. rowsPerPageOptions: {
  37032. type: Array,
  37033. default: null
  37034. },
  37035. template: {
  37036. type: String,
  37037. default: 'FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown'
  37038. },
  37039. currentPageReportTemplate: {
  37040. type: null,
  37041. default: '({currentPage} of {totalPages})'
  37042. },
  37043. alwaysShow: {
  37044. type: Boolean,
  37045. default: true
  37046. }
  37047. },
  37048. data() {
  37049. return {
  37050. d_first: this.first,
  37051. d_rows: this.rows
  37052. }
  37053. },
  37054. watch: {
  37055. first(newValue) {
  37056. this.d_first = newValue;
  37057. },
  37058. rows(newValue) {
  37059. this.d_rows = newValue;
  37060. },
  37061. totalRecords(newValue) {
  37062. if (this.page > 0 && newValue && (this.d_first >= newValue)) {
  37063. this.changePage(this.pageCount - 1);
  37064. }
  37065. }
  37066. },
  37067. methods: {
  37068. changePage(p) {
  37069. const pc = this.pageCount;
  37070. if (p >= 0 && p < pc) {
  37071. this.d_first = this.d_rows * p;
  37072. const state = {
  37073. page: p,
  37074. first: this.d_first,
  37075. rows: this.d_rows,
  37076. pageCount: pc
  37077. };
  37078. this.$emit('update:first', this.d_first);
  37079. this.$emit('update:rows', this.d_rows);
  37080. this.$emit('page', state);
  37081. }
  37082. },
  37083. changePageToFirst(event) {
  37084. if(!this.isFirstPage) {
  37085. this.changePage(0);
  37086. }
  37087. event.preventDefault();
  37088. },
  37089. changePageToPrev(event) {
  37090. this.changePage(this.page - 1);
  37091. event.preventDefault();
  37092. },
  37093. changePageLink(event) {
  37094. this.changePage(event.value - 1);
  37095. event.originalEvent.preventDefault();
  37096. },
  37097. changePageToNext(event) {
  37098. this.changePage(this.page + 1);
  37099. event.preventDefault();
  37100. },
  37101. changePageToLast(event) {
  37102. if(!this.isLastPage) {
  37103. this.changePage(this.pageCount - 1);
  37104. }
  37105. event.preventDefault();
  37106. },
  37107. onRowChange(value) {
  37108. this.d_rows = value;
  37109. this.changePage(this.page);
  37110. }
  37111. },
  37112. computed: {
  37113. templateItems() {
  37114. let keys = [];
  37115. this.template.split(' ').map((value) => {
  37116. keys.push(value.trim());
  37117. });
  37118. return keys;
  37119. },
  37120. page() {
  37121. return Math.floor(this.d_first / this.d_rows);
  37122. },
  37123. pageCount() {
  37124. return Math.ceil(this.totalRecords / this.d_rows);
  37125. },
  37126. isFirstPage() {
  37127. return this.page === 0;
  37128. },
  37129. isLastPage() {
  37130. return this.page === this.pageCount - 1;
  37131. },
  37132. calculatePageLinkBoundaries() {
  37133. const numberOfPages = this.pageCount;
  37134. const visiblePages = Math.min(this.pageLinkSize, numberOfPages);
  37135. //calculate range, keep current in middle if necessary
  37136. let start = Math.max(0, Math.ceil(this.page - ((visiblePages) / 2)));
  37137. let end = Math.min(numberOfPages - 1, start + visiblePages - 1);
  37138. //check when approaching to last page
  37139. const delta = this.pageLinkSize - (end - start + 1);
  37140. start = Math.max(0, start - delta);
  37141. return [start, end];
  37142. },
  37143. pageLinks() {
  37144. let pageLinks = [];
  37145. let boundaries = this.calculatePageLinkBoundaries;
  37146. let start = boundaries[0];
  37147. let end = boundaries[1];
  37148. for(var i = start; i <= end; i++) {
  37149. pageLinks.push(i + 1);
  37150. }
  37151. return pageLinks;
  37152. },
  37153. currentState() {
  37154. return {
  37155. page: this.page,
  37156. first: this.d_first,
  37157. rows: this.d_rows
  37158. }
  37159. },
  37160. empty() {
  37161. return this.pageCount === 0;
  37162. },
  37163. currentPage() {
  37164. return this.pageCount > 0 ? this.page + 1 : 0;
  37165. }
  37166. },
  37167. components: {
  37168. 'CurrentPageReport': script$9,
  37169. 'FirstPageLink': script$8,
  37170. 'LastPageLink': script$7,
  37171. 'NextPageLink': script$6,
  37172. 'PageLinks': script$5,
  37173. 'PrevPageLink': script$4,
  37174. 'RowsPerPageDropdown': script$3,
  37175. 'JumpToPageDropdown': script$2,
  37176. 'JumpToPageInput': script$1
  37177. }
  37178. };
  37179. const _hoisted_1 = {
  37180. key: 0,
  37181. class: "p-paginator p-component"
  37182. };
  37183. const _hoisted_2 = {
  37184. key: 0,
  37185. class: "p-paginator-left-content"
  37186. };
  37187. const _hoisted_3 = {
  37188. key: 1,
  37189. class: "p-paginator-right-content"
  37190. };
  37191. function render(_ctx, _cache, $props, $setup, $data, $options) {
  37192. const _component_FirstPageLink = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)("FirstPageLink");
  37193. const _component_PrevPageLink = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)("PrevPageLink");
  37194. const _component_NextPageLink = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)("NextPageLink");
  37195. const _component_LastPageLink = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)("LastPageLink");
  37196. const _component_PageLinks = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)("PageLinks");
  37197. const _component_CurrentPageReport = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)("CurrentPageReport");
  37198. const _component_RowsPerPageDropdown = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)("RowsPerPageDropdown");
  37199. const _component_JumpToPageDropdown = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)("JumpToPageDropdown");
  37200. const _component_JumpToPageInput = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)("JumpToPageInput");
  37201. return ($props.alwaysShow ? true : ($options.pageLinks && $options.pageLinks.length > 1))
  37202. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("div", _hoisted_1, [
  37203. (_ctx.$slots.start)
  37204. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("div", _hoisted_2, [
  37205. (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, "start", { state: $options.currentState })
  37206. ]))
  37207. : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)("", true),
  37208. ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderList)($options.templateItems, (item) => {
  37209. return ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, { key: item }, [
  37210. (item === 'FirstPageLink')
  37211. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(_component_FirstPageLink, {
  37212. key: 0,
  37213. onClick: _cache[1] || (_cache[1] = $event => ($options.changePageToFirst($event))),
  37214. disabled: $options.isFirstPage || $options.empty
  37215. }, null, 8, ["disabled"]))
  37216. : (item === 'PrevPageLink')
  37217. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(_component_PrevPageLink, {
  37218. key: 1,
  37219. onClick: _cache[2] || (_cache[2] = $event => ($options.changePageToPrev($event))),
  37220. disabled: $options.isFirstPage || $options.empty
  37221. }, null, 8, ["disabled"]))
  37222. : (item === 'NextPageLink')
  37223. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(_component_NextPageLink, {
  37224. key: 2,
  37225. onClick: _cache[3] || (_cache[3] = $event => ($options.changePageToNext($event))),
  37226. disabled: $options.isLastPage || $options.empty
  37227. }, null, 8, ["disabled"]))
  37228. : (item === 'LastPageLink')
  37229. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(_component_LastPageLink, {
  37230. key: 3,
  37231. onClick: _cache[4] || (_cache[4] = $event => ($options.changePageToLast($event))),
  37232. disabled: $options.isLastPage || $options.empty
  37233. }, null, 8, ["disabled"]))
  37234. : (item === 'PageLinks')
  37235. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(_component_PageLinks, {
  37236. key: 4,
  37237. value: $options.pageLinks,
  37238. page: $options.page,
  37239. onClick: _cache[5] || (_cache[5] = $event => ($options.changePageLink($event)))
  37240. }, null, 8, ["value", "page"]))
  37241. : (item === 'CurrentPageReport')
  37242. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(_component_CurrentPageReport, {
  37243. key: 5,
  37244. template: $props.currentPageReportTemplate,
  37245. currentPage: $options.currentPage,
  37246. page: $options.page,
  37247. pageCount: $options.pageCount,
  37248. first: $data.d_first,
  37249. rows: $data.d_rows,
  37250. totalRecords: $props.totalRecords
  37251. }, null, 8, ["template", "currentPage", "page", "pageCount", "first", "rows", "totalRecords"]))
  37252. : (item === 'RowsPerPageDropdown' && $props.rowsPerPageOptions)
  37253. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(_component_RowsPerPageDropdown, {
  37254. key: 6,
  37255. rows: $data.d_rows,
  37256. options: $props.rowsPerPageOptions,
  37257. onRowsChange: _cache[6] || (_cache[6] = $event => ($options.onRowChange($event))),
  37258. disabled: $options.empty
  37259. }, null, 8, ["rows", "options", "disabled"]))
  37260. : (item === 'JumpToPageDropdown')
  37261. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(_component_JumpToPageDropdown, {
  37262. key: 7,
  37263. page: $options.page,
  37264. pageCount: $options.pageCount,
  37265. onPageChange: _cache[7] || (_cache[7] = $event => ($options.changePage($event))),
  37266. disabled: $options.empty
  37267. }, null, 8, ["page", "pageCount", "disabled"]))
  37268. : (item === 'JumpToPageInput')
  37269. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(_component_JumpToPageInput, {
  37270. key: 8,
  37271. page: $options.currentPage,
  37272. onPageChange: _cache[8] || (_cache[8] = $event => ($options.changePage($event))),
  37273. disabled: $options.empty
  37274. }, null, 8, ["page", "disabled"]))
  37275. : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)("", true)
  37276. ], 64))
  37277. }), 128)),
  37278. (_ctx.$slots.end)
  37279. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("div", _hoisted_3, [
  37280. (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, "end", { state: $options.currentState })
  37281. ]))
  37282. : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)("", true)
  37283. ]))
  37284. : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)("", true)
  37285. }
  37286. function styleInject(css, ref) {
  37287. if ( ref === void 0 ) ref = {};
  37288. var insertAt = ref.insertAt;
  37289. if (!css || typeof document === 'undefined') { return; }
  37290. var head = document.head || document.getElementsByTagName('head')[0];
  37291. var style = document.createElement('style');
  37292. style.type = 'text/css';
  37293. if (insertAt === 'top') {
  37294. if (head.firstChild) {
  37295. head.insertBefore(style, head.firstChild);
  37296. } else {
  37297. head.appendChild(style);
  37298. }
  37299. } else {
  37300. head.appendChild(style);
  37301. }
  37302. if (style.styleSheet) {
  37303. style.styleSheet.cssText = css;
  37304. } else {
  37305. style.appendChild(document.createTextNode(css));
  37306. }
  37307. }
  37308. var css_248z = "\n.p-paginator {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n}\n.p-paginator-left-content {\n\tmargin-right: auto;\n}\n.p-paginator-right-content {\n\tmargin-left: auto;\n}\n.p-paginator-page,\n.p-paginator-next,\n.p-paginator-last,\n.p-paginator-first,\n.p-paginator-prev,\n.p-paginator-current {\n cursor: pointer;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n line-height: 1;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n overflow: hidden;\n position: relative;\n}\n.p-paginator-element:focus {\n z-index: 1;\n position: relative;\n}\n";
  37309. styleInject(css_248z);
  37310. script.render = render;
  37311. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  37312. /***/ }),
  37313. /***/ "./node_modules/primevue/password/password.esm.js":
  37314. /*!********************************************************!*\
  37315. !*** ./node_modules/primevue/password/password.esm.js ***!
  37316. \********************************************************/
  37317. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  37318. "use strict";
  37319. __webpack_require__.r(__webpack_exports__);
  37320. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  37321. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  37322. /* harmony export */ });
  37323. /* harmony import */ var primevue_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! primevue/utils */ "./node_modules/primevue/utils/utils.esm.js");
  37324. /* harmony import */ var primevue_overlayeventbus__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! primevue/overlayeventbus */ "./node_modules/primevue/overlayeventbus/overlayeventbus.esm.js");
  37325. /* harmony import */ var primevue_inputtext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! primevue/inputtext */ "./node_modules/primevue/inputtext/inputtext.esm.js");
  37326. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  37327. var script = {
  37328. name: 'Password',
  37329. emits: ['update:modelValue'],
  37330. inheritAttrs: false,
  37331. props: {
  37332. modelValue: String,
  37333. promptLabel: {
  37334. type: String,
  37335. default: null
  37336. },
  37337. mediumRegex: {
  37338. type: String,
  37339. default: '^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})' // eslint-disable-line
  37340. },
  37341. strongRegex: {
  37342. type: String,
  37343. default: '^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{8,})' // eslint-disable-line
  37344. },
  37345. weakLabel: {
  37346. type: String,
  37347. default: null
  37348. },
  37349. mediumLabel: {
  37350. type: String,
  37351. default: null
  37352. },
  37353. strongLabel: {
  37354. type: String,
  37355. default: null
  37356. },
  37357. feedback: {
  37358. type: Boolean,
  37359. default: true
  37360. },
  37361. appendTo: {
  37362. type: String,
  37363. default: 'body'
  37364. },
  37365. toggleMask: {
  37366. type: Boolean,
  37367. default: false
  37368. },
  37369. hideIcon: {
  37370. type: String,
  37371. default: 'pi pi-eye-slash'
  37372. },
  37373. showIcon: {
  37374. type: String,
  37375. default: 'pi pi-eye'
  37376. },
  37377. inputClass: String,
  37378. inputStyle: null,
  37379. style: null,
  37380. class: String,
  37381. panelClass: String
  37382. },
  37383. data() {
  37384. return {
  37385. overlayVisible: false,
  37386. meter: null,
  37387. infoText: null,
  37388. focused: false,
  37389. unmasked: false
  37390. };
  37391. },
  37392. mediumCheckRegExp: null,
  37393. strongCheckRegExp: null,
  37394. resizeListener: null,
  37395. scrollHandler: null,
  37396. overlay: null,
  37397. mounted() {
  37398. this.infoText = this.promptText;
  37399. this.mediumCheckRegExp = new RegExp(this.mediumRegex);
  37400. this.strongCheckRegExp = new RegExp(this.strongRegex);
  37401. },
  37402. beforeUnmount() {
  37403. this.unbindResizeListener();
  37404. if (this.scrollHandler) {
  37405. this.scrollHandler.destroy();
  37406. this.scrollHandler = null;
  37407. }
  37408. if (this.overlay) {
  37409. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.clear(this.overlay);
  37410. this.overlay = null;
  37411. }
  37412. },
  37413. methods: {
  37414. onOverlayEnter(el) {
  37415. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.set('overlay', el, this.$primevue.config.zIndex.overlay);
  37416. this.alignOverlay();
  37417. this.bindScrollListener();
  37418. this.bindResizeListener();
  37419. },
  37420. onOverlayLeave() {
  37421. this.unbindScrollListener();
  37422. this.unbindResizeListener();
  37423. this.overlay = null;
  37424. },
  37425. onOverlayAfterLeave(el) {
  37426. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.clear(el);
  37427. },
  37428. alignOverlay() {
  37429. if (this.appendDisabled) {
  37430. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.relativePosition(this.overlay, this.$refs.input.$el);
  37431. }
  37432. else {
  37433. this.overlay.style.minWidth = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(this.$refs.input.$el) + 'px';
  37434. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.absolutePosition(this.overlay, this.$refs.input.$el);
  37435. }
  37436. },
  37437. testStrength(str) {
  37438. let level = 0;
  37439. if (this.strongCheckRegExp.test(str))
  37440. level = 3;
  37441. else if (this.mediumCheckRegExp.test(str))
  37442. level = 2;
  37443. else if (str.length)
  37444. level = 1;
  37445. return level;
  37446. },
  37447. onInput(event) {
  37448. this.$emit('update:modelValue', event.target.value);
  37449. },
  37450. onFocus() {
  37451. this.focused = true;
  37452. if (this.feedback) {
  37453. this.overlayVisible = true;
  37454. }
  37455. },
  37456. onBlur() {
  37457. this.focused = false;
  37458. if (this.feedback) {
  37459. this.overlayVisible = false;
  37460. }
  37461. },
  37462. onKeyUp(event) {
  37463. if (this.feedback) {
  37464. const value = event.target.value;
  37465. let label = null;
  37466. let meter = null;
  37467. switch (this.testStrength(value)) {
  37468. case 1:
  37469. label = this.weakText;
  37470. meter = {
  37471. strength: 'weak',
  37472. width: '33.33%'
  37473. };
  37474. break;
  37475. case 2:
  37476. label = this.mediumText;
  37477. meter = {
  37478. strength: 'medium',
  37479. width: '66.66%'
  37480. };
  37481. break;
  37482. case 3:
  37483. label = this.strongText;
  37484. meter = {
  37485. strength: 'strong',
  37486. width: '100%'
  37487. };
  37488. break;
  37489. default:
  37490. label = this.promptText;
  37491. meter = null;
  37492. break;
  37493. }
  37494. this.meter = meter;
  37495. this.infoText = label;
  37496. if (!this.overlayVisible) {
  37497. this.overlayVisible = true;
  37498. }
  37499. }
  37500. },
  37501. bindScrollListener() {
  37502. if (!this.scrollHandler) {
  37503. this.scrollHandler = new primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ConnectedOverlayScrollHandler(this.$refs.input.$el, () => {
  37504. if (this.overlayVisible) {
  37505. this.overlayVisible = false;
  37506. }
  37507. });
  37508. }
  37509. this.scrollHandler.bindScrollListener();
  37510. },
  37511. unbindScrollListener() {
  37512. if (this.scrollHandler) {
  37513. this.scrollHandler.unbindScrollListener();
  37514. }
  37515. },
  37516. bindResizeListener() {
  37517. if (!this.resizeListener) {
  37518. this.resizeListener = () => {
  37519. if (this.overlayVisible) {
  37520. this.overlayVisible = false;
  37521. }
  37522. };
  37523. window.addEventListener('resize', this.resizeListener);
  37524. }
  37525. },
  37526. unbindResizeListener() {
  37527. if (this.resizeListener) {
  37528. window.removeEventListener('resize', this.resizeListener);
  37529. this.resizeListener = null;
  37530. }
  37531. },
  37532. overlayRef(el) {
  37533. this.overlay = el;
  37534. },
  37535. onMaskToggle() {
  37536. this.unmasked = !this.unmasked;
  37537. },
  37538. onOverlayClick(event) {
  37539. primevue_overlayeventbus__WEBPACK_IMPORTED_MODULE_1__["default"].emit('overlay-click', {
  37540. originalEvent: event,
  37541. target: this.$el
  37542. });
  37543. }
  37544. },
  37545. computed: {
  37546. containerClass() {
  37547. return ['p-password p-component p-inputwrapper', this.class, {
  37548. 'p-inputwrapper-filled': this.filled,
  37549. 'p-inputwrapper-focus': this.focused,
  37550. 'p-input-icon-right': this.toggleMask
  37551. }];
  37552. },
  37553. inputFieldClass() {
  37554. return ['p-password-input', this.inputClass, {
  37555. 'p-disabled': this.$attrs.disabled
  37556. }];
  37557. },
  37558. panelStyleClass() {
  37559. return ['p-password-panel p-component', this.panelClass, {
  37560. 'p-input-filled': this.$primevue.config.inputStyle === 'filled',
  37561. 'p-ripple-disabled': this.$primevue.config.ripple === false
  37562. }];
  37563. },
  37564. toggleIconClass() {
  37565. return this.unmasked ? this.hideIcon : this.showIcon;
  37566. },
  37567. strengthClass() {
  37568. return `p-password-strength ${this.meter ? this.meter.strength : ''}`;
  37569. },
  37570. inputType() {
  37571. return this.unmasked ? 'text' : 'password';
  37572. },
  37573. filled() {
  37574. return (this.modelValue != null && this.modelValue.toString().length > 0)
  37575. },
  37576. weakText() {
  37577. return this.weakLabel || this.$primevue.config.locale.weak;
  37578. },
  37579. mediumText() {
  37580. return this.mediumLabel || this.$primevue.config.locale.medium;
  37581. },
  37582. strongText() {
  37583. return this.strongLabel || this.$primevue.config.locale.strong;
  37584. },
  37585. promptText() {
  37586. return this.promptLabel || this.$primevue.config.locale.passwordPrompt;
  37587. },
  37588. appendDisabled() {
  37589. return this.appendTo === 'self';
  37590. },
  37591. appendTarget() {
  37592. return this.appendDisabled ? null : this.appendTo;
  37593. }
  37594. },
  37595. components: {
  37596. 'PInputText': primevue_inputtext__WEBPACK_IMPORTED_MODULE_2__["default"]
  37597. }
  37598. };
  37599. const _hoisted_1 = { class: "p-password-meter" };
  37600. const _hoisted_2 = { class: "p-password-info" };
  37601. function render(_ctx, _cache, $props, $setup, $data, $options) {
  37602. const _component_PInputText = (0,vue__WEBPACK_IMPORTED_MODULE_3__.resolveComponent)("PInputText");
  37603. return ((0,vue__WEBPACK_IMPORTED_MODULE_3__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_3__.createBlock)("div", {
  37604. class: $options.containerClass,
  37605. style: $props.style
  37606. }, [
  37607. (0,vue__WEBPACK_IMPORTED_MODULE_3__.createVNode)(_component_PInputText, (0,vue__WEBPACK_IMPORTED_MODULE_3__.mergeProps)({
  37608. ref: "input",
  37609. class: $options.inputFieldClass,
  37610. style: $props.inputStyle,
  37611. type: $options.inputType,
  37612. value: $props.modelValue,
  37613. onInput: $options.onInput,
  37614. onFocus: $options.onFocus,
  37615. onBlur: $options.onBlur,
  37616. onKeyup: $options.onKeyUp
  37617. }, _ctx.$attrs), null, 16, ["class", "style", "type", "value", "onInput", "onFocus", "onBlur", "onKeyup"]),
  37618. ($props.toggleMask)
  37619. ? ((0,vue__WEBPACK_IMPORTED_MODULE_3__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_3__.createBlock)("i", {
  37620. key: 0,
  37621. class: $options.toggleIconClass,
  37622. onClick: _cache[1] || (_cache[1] = (...args) => ($options.onMaskToggle && $options.onMaskToggle(...args)))
  37623. }, null, 2))
  37624. : (0,vue__WEBPACK_IMPORTED_MODULE_3__.createCommentVNode)("", true),
  37625. ((0,vue__WEBPACK_IMPORTED_MODULE_3__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_3__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_3__.Teleport, {
  37626. to: $options.appendTarget,
  37627. disabled: $options.appendDisabled
  37628. }, [
  37629. (0,vue__WEBPACK_IMPORTED_MODULE_3__.createVNode)(vue__WEBPACK_IMPORTED_MODULE_3__.Transition, {
  37630. name: "p-connected-overlay",
  37631. onEnter: $options.onOverlayEnter,
  37632. onLeave: $options.onOverlayLeave,
  37633. onAfterLeave: $options.onOverlayAfterLeave
  37634. }, {
  37635. default: (0,vue__WEBPACK_IMPORTED_MODULE_3__.withCtx)(() => [
  37636. ($data.overlayVisible)
  37637. ? ((0,vue__WEBPACK_IMPORTED_MODULE_3__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_3__.createBlock)("div", {
  37638. key: 0,
  37639. ref: $options.overlayRef,
  37640. class: $options.panelStyleClass,
  37641. onClick: _cache[2] || (_cache[2] = (...args) => ($options.onOverlayClick && $options.onOverlayClick(...args)))
  37642. }, [
  37643. (0,vue__WEBPACK_IMPORTED_MODULE_3__.renderSlot)(_ctx.$slots, "header"),
  37644. (0,vue__WEBPACK_IMPORTED_MODULE_3__.renderSlot)(_ctx.$slots, "content", {}, () => [
  37645. (0,vue__WEBPACK_IMPORTED_MODULE_3__.createVNode)("div", _hoisted_1, [
  37646. (0,vue__WEBPACK_IMPORTED_MODULE_3__.createVNode)("div", {
  37647. class: $options.strengthClass,
  37648. style: {'width': $data.meter ? $data.meter.width : ''}
  37649. }, null, 6)
  37650. ]),
  37651. (0,vue__WEBPACK_IMPORTED_MODULE_3__.createVNode)("div", _hoisted_2, (0,vue__WEBPACK_IMPORTED_MODULE_3__.toDisplayString)($data.infoText), 1)
  37652. ]),
  37653. (0,vue__WEBPACK_IMPORTED_MODULE_3__.renderSlot)(_ctx.$slots, "footer")
  37654. ], 2))
  37655. : (0,vue__WEBPACK_IMPORTED_MODULE_3__.createCommentVNode)("", true)
  37656. ]),
  37657. _: 3
  37658. }, 8, ["onEnter", "onLeave", "onAfterLeave"])
  37659. ], 8, ["to", "disabled"]))
  37660. ], 6))
  37661. }
  37662. function styleInject(css, ref) {
  37663. if ( ref === void 0 ) ref = {};
  37664. var insertAt = ref.insertAt;
  37665. if (!css || typeof document === 'undefined') { return; }
  37666. var head = document.head || document.getElementsByTagName('head')[0];
  37667. var style = document.createElement('style');
  37668. style.type = 'text/css';
  37669. if (insertAt === 'top') {
  37670. if (head.firstChild) {
  37671. head.insertBefore(style, head.firstChild);
  37672. } else {
  37673. head.appendChild(style);
  37674. }
  37675. } else {
  37676. head.appendChild(style);
  37677. }
  37678. if (style.styleSheet) {
  37679. style.styleSheet.cssText = css;
  37680. } else {
  37681. style.appendChild(document.createTextNode(css));
  37682. }
  37683. }
  37684. var css_248z = "\n.p-password {\n position: relative;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n}\n.p-password-panel {\n position: absolute;\n top: 0;\n left: 0;\n}\n.p-password .p-password-panel {\n min-width: 100%;\n}\n.p-password-meter {\n height: 10px;\n}\n.p-password-strength {\n height: 100%;\n width: 0;\n -webkit-transition: width 1s ease-in-out;\n transition: width 1s ease-in-out;\n}\n.p-fluid .p-password {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n}\n";
  37685. styleInject(css_248z);
  37686. script.render = render;
  37687. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  37688. /***/ }),
  37689. /***/ "./node_modules/primevue/ripple/ripple.esm.js":
  37690. /*!****************************************************!*\
  37691. !*** ./node_modules/primevue/ripple/ripple.esm.js ***!
  37692. \****************************************************/
  37693. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  37694. "use strict";
  37695. __webpack_require__.r(__webpack_exports__);
  37696. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  37697. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  37698. /* harmony export */ });
  37699. /* harmony import */ var primevue_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! primevue/utils */ "./node_modules/primevue/utils/utils.esm.js");
  37700. function bindEvents(el) {
  37701. el.addEventListener('mousedown', onMouseDown);
  37702. }
  37703. function unbindEvents(el) {
  37704. el.removeEventListener('mousedown', onMouseDown);
  37705. }
  37706. function create(el) {
  37707. let ink = document.createElement('span');
  37708. ink.className = 'p-ink';
  37709. el.appendChild(ink);
  37710. ink.addEventListener('animationend', onAnimationEnd);
  37711. }
  37712. function remove(el) {
  37713. let ink = getInk(el);
  37714. if (ink) {
  37715. unbindEvents(el);
  37716. ink.removeEventListener('animationend', onAnimationEnd);
  37717. ink.remove();
  37718. }
  37719. }
  37720. function onMouseDown(event) {
  37721. let target = event.currentTarget;
  37722. let ink = getInk(target);
  37723. if (!ink || getComputedStyle(ink, null).display === 'none') {
  37724. return;
  37725. }
  37726. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(ink, 'p-ink-active');
  37727. if (!primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getHeight(ink) && !primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getWidth(ink)) {
  37728. let d = Math.max(primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(target), primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterHeight(target));
  37729. ink.style.height = d + 'px';
  37730. ink.style.width = d + 'px';
  37731. }
  37732. let offset = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOffset(target);
  37733. let x = event.pageX - offset.left + document.body.scrollTop - primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getWidth(ink) / 2;
  37734. let y = event.pageY - offset.top + document.body.scrollLeft - primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getHeight(ink) / 2;
  37735. ink.style.top = y + 'px';
  37736. ink.style.left = x + 'px';
  37737. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(ink, 'p-ink-active');
  37738. }
  37739. function onAnimationEnd(event) {
  37740. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(event.currentTarget, 'p-ink-active');
  37741. }
  37742. function getInk(el) {
  37743. for (let i = 0; i < el.children.length; i++) {
  37744. if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
  37745. return el.children[i];
  37746. }
  37747. }
  37748. return null;
  37749. }
  37750. const Ripple = {
  37751. mounted(el, binding) {
  37752. if (binding.instance.$primevue && binding.instance.$primevue.config && binding.instance.$primevue.config.ripple) {
  37753. create(el);
  37754. bindEvents(el);
  37755. }
  37756. },
  37757. unmounted(el) {
  37758. remove(el);
  37759. }
  37760. };
  37761. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Ripple);
  37762. /***/ }),
  37763. /***/ "./node_modules/primevue/styleclass/styleclass.esm.js":
  37764. /*!************************************************************!*\
  37765. !*** ./node_modules/primevue/styleclass/styleclass.esm.js ***!
  37766. \************************************************************/
  37767. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  37768. "use strict";
  37769. __webpack_require__.r(__webpack_exports__);
  37770. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  37771. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  37772. /* harmony export */ });
  37773. /* harmony import */ var primevue_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! primevue/utils */ "./node_modules/primevue/utils/utils.esm.js");
  37774. function bind(el, binding) {
  37775. el.$_pstyleclass_clicklistener = () => {
  37776. const target = resolveTarget(el, binding);
  37777. if (binding.value.toggleClass) {
  37778. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(target, binding.value.toggleClass))
  37779. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(target, binding.value.toggleClass);
  37780. else
  37781. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(target, binding.value.toggleClass);
  37782. }
  37783. else {
  37784. if (target.offsetParent === null)
  37785. enter(target, el, binding);
  37786. else
  37787. leave(target, binding);
  37788. }
  37789. };
  37790. el.addEventListener('click', el.$_pstyleclass_clicklistener);
  37791. }
  37792. function unbind(el) {
  37793. if (el.$_pstyleclass_clicklistener) {
  37794. el.addEventListener('click', el.$_pstyleclass_clicklistener);
  37795. el.$_pstyleclass_clicklistener = null;
  37796. }
  37797. unbindDocumentListener(el);
  37798. }
  37799. function enter(target, el, binding) {
  37800. if (binding.value.enterActiveClass) {
  37801. if (!target.$_pstyleclass_animating) {
  37802. target.$_pstyleclass_animating = true;
  37803. if (binding.value.enterActiveClass === 'slidedown') {
  37804. target.style.height = '0px';
  37805. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(target, 'hidden');
  37806. target.style.maxHeight = target.scrollHeight + 'px';
  37807. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(target, 'hidden');
  37808. target.style.height = '';
  37809. }
  37810. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(target, binding.value.enterActiveClass);
  37811. if (binding.value.enterClass) {
  37812. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(target, binding.value.enterClass);
  37813. }
  37814. target.$p_styleclass_enterlistener = () => {
  37815. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(target, binding.value.enterActiveClass);
  37816. if (binding.value.enterToClass) {
  37817. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(target, binding.value.enterToClass);
  37818. }
  37819. target.removeEventListener('animationend', target.$p_styleclass_enterlistener);
  37820. if (binding.value.enterActiveClass === 'slidedown') {
  37821. target.style.maxHeight = '';
  37822. }
  37823. target.$_pstyleclass_animating = false;
  37824. };
  37825. target.addEventListener('animationend', target.$p_styleclass_enterlistener);
  37826. }
  37827. }
  37828. else {
  37829. if (binding.value.enterClass) {
  37830. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(target, binding.value.enterClass);
  37831. }
  37832. if (binding.value.enterToClass) {
  37833. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(target, binding.value.enterToClass);
  37834. }
  37835. }
  37836. if (binding.value.hideOnOutsideClick) {
  37837. bindDocumentListener(target, el, binding);
  37838. }
  37839. }
  37840. function leave(target, binding) {
  37841. if (binding.value.leaveActiveClass) {
  37842. if (!target.$_pstyleclass_animating) {
  37843. target.$_pstyleclass_animating = true;
  37844. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(target, binding.value.leaveActiveClass);
  37845. if (binding.value.leaveClass) {
  37846. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(target, binding.value.leaveClass);
  37847. }
  37848. target.$p_styleclass_leavelistener = () => {
  37849. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(target, binding.value.leaveActiveClass);
  37850. if (binding.value.leaveToClass) {
  37851. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(target, binding.value.leaveToClass);
  37852. }
  37853. target.removeEventListener('animationend', target.$p_styleclass_leavelistener);
  37854. target.$_pstyleclass_animating = false;
  37855. };
  37856. target.addEventListener('animationend', target.$p_styleclass_leavelistener);
  37857. }
  37858. }
  37859. else {
  37860. if (binding.value.leaveClass) {
  37861. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(target, binding.value.leaveClass);
  37862. }
  37863. if (binding.value.leaveToClass) {
  37864. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(target, binding.value.leaveToClass);
  37865. }
  37866. }
  37867. if (binding.value.hideOnOutsideClick) {
  37868. unbindDocumentListener(target);
  37869. }
  37870. }
  37871. function resolveTarget(el, binding) {
  37872. switch (binding.value.selector) {
  37873. case '@next':
  37874. return el.nextElementSibling;
  37875. case '@prev':
  37876. return el.previousElementSibling;
  37877. case '@parent':
  37878. return el.parentElement;
  37879. case '@grandparent':
  37880. return el.parentElement.parentElement;
  37881. default:
  37882. return document.querySelector(binding.value.selector);
  37883. }
  37884. }
  37885. function bindDocumentListener(target, el, binding) {
  37886. if (!target.$p_styleclass_documentlistener) {
  37887. target.$p_styleclass_documentlistener = (event) => {
  37888. if (!isVisible(target) || getComputedStyle(target).getPropertyValue('position') === 'static') {
  37889. unbindDocumentListener(target);
  37890. }
  37891. else if (isOutsideClick(event, target, el)) {
  37892. leave(target, binding);
  37893. }
  37894. };
  37895. target.ownerDocument.addEventListener('click', target.$p_styleclass_documentlistener);
  37896. }
  37897. }
  37898. function unbindDocumentListener(target) {
  37899. if (target.$p_styleclass_documentlistener) {
  37900. target.ownerDocument.removeEventListener('click', target.$p_styleclass_documentlistener);
  37901. target.$p_styleclass_documentlistener = null;
  37902. }
  37903. }
  37904. function isVisible(target) {
  37905. return target.offsetParent !== null;
  37906. }
  37907. function isOutsideClick(event, target, el) {
  37908. return !el.isSameNode(event.target) && !el.contains(event.target) && !target.contains(event.target);
  37909. }
  37910. const StyleClass = {
  37911. mounted(el, binding) {
  37912. bind(el, binding);
  37913. },
  37914. unmounted(el) {
  37915. unbind(el);
  37916. }
  37917. };
  37918. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (StyleClass);
  37919. /***/ }),
  37920. /***/ "./node_modules/primevue/tabpanel/tabpanel.esm.js":
  37921. /*!********************************************************!*\
  37922. !*** ./node_modules/primevue/tabpanel/tabpanel.esm.js ***!
  37923. \********************************************************/
  37924. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  37925. "use strict";
  37926. __webpack_require__.r(__webpack_exports__);
  37927. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  37928. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  37929. /* harmony export */ });
  37930. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  37931. var script = {
  37932. name: 'TabPanel',
  37933. props: {
  37934. header: null,
  37935. disabled: Boolean
  37936. }
  37937. };
  37938. function render(_ctx, _cache, $props, $setup, $data, $options) {
  37939. return (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, "default")
  37940. }
  37941. script.render = render;
  37942. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  37943. /***/ }),
  37944. /***/ "./node_modules/primevue/tabview/tabview.esm.js":
  37945. /*!******************************************************!*\
  37946. !*** ./node_modules/primevue/tabview/tabview.esm.js ***!
  37947. \******************************************************/
  37948. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  37949. "use strict";
  37950. __webpack_require__.r(__webpack_exports__);
  37951. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  37952. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  37953. /* harmony export */ });
  37954. /* harmony import */ var primevue_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! primevue/utils */ "./node_modules/primevue/utils/utils.esm.js");
  37955. /* harmony import */ var primevue_ripple__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! primevue/ripple */ "./node_modules/primevue/ripple/ripple.esm.js");
  37956. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  37957. var script = {
  37958. name: 'TabView',
  37959. emits: ['update:activeIndex', 'tab-change', 'tab-click'],
  37960. props: {
  37961. activeIndex: {
  37962. type: Number,
  37963. default: 0
  37964. },
  37965. lazy: {
  37966. type: Boolean,
  37967. default: false
  37968. },
  37969. scrollable: {
  37970. type: Boolean,
  37971. default: false
  37972. }
  37973. },
  37974. data() {
  37975. return {
  37976. d_activeIndex: this.activeIndex,
  37977. backwardIsDisabled: true,
  37978. forwardIsDisabled: false
  37979. }
  37980. },
  37981. watch: {
  37982. activeIndex(newValue) {
  37983. this.d_activeIndex = newValue;
  37984. this.updateScrollBar(newValue);
  37985. }
  37986. },
  37987. updated() {
  37988. this.updateInkBar();
  37989. },
  37990. mounted() {
  37991. this.updateInkBar();
  37992. },
  37993. methods: {
  37994. onTabClick(event, i) {
  37995. if (!this.isTabDisabled(this.tabs[i]) && i !== this.d_activeIndex) {
  37996. this.d_activeIndex = i;
  37997. this.$emit('update:activeIndex', this.d_activeIndex);
  37998. this.$emit('tab-change', {
  37999. originalEvent: event,
  38000. index: i
  38001. });
  38002. this.updateScrollBar(i);
  38003. }
  38004. this.$emit('tab-click', {
  38005. originalEvent: event,
  38006. index: i
  38007. });
  38008. },
  38009. onTabKeydown(event, i) {
  38010. if (event.which === 13) {
  38011. this.onTabClick(event, i);
  38012. }
  38013. },
  38014. updateInkBar() {
  38015. let tabHeader = this.$refs.nav.children[this.d_activeIndex];
  38016. this.$refs.inkbar.style.width = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getWidth(tabHeader) + 'px';
  38017. this.$refs.inkbar.style.left = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOffset(tabHeader).left - primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOffset(this.$refs.nav).left + 'px';
  38018. },
  38019. updateScrollBar(index) {
  38020. let tabHeader = this.$refs.nav.children[index];
  38021. tabHeader.scrollIntoView({ block: 'nearest' });
  38022. },
  38023. updateButtonState() {
  38024. const content = this.$refs.content;
  38025. const { scrollLeft, scrollWidth } = content;
  38026. const width = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getWidth(content);
  38027. this.backwardIsDisabled = scrollLeft === 0;
  38028. this.forwardIsDisabled = parseInt(scrollLeft) === scrollWidth - width;
  38029. },
  38030. getKey(tab, i) {
  38031. return (tab.props && tab.props.header) ? tab.props.header : i;
  38032. },
  38033. isTabDisabled(tab) {
  38034. return (tab.props && tab.props.disabled);
  38035. },
  38036. isTabPanel(child) {
  38037. return child.type.name === 'TabPanel'
  38038. },
  38039. onScroll(event) {
  38040. this.scrollable && this.updateButtonState();
  38041. event.preventDefault();
  38042. },
  38043. getVisibleButtonWidths() {
  38044. const { prevBtn, nextBtn } = this.$refs;
  38045. return [prevBtn, nextBtn].reduce((acc, el) => el ? acc + primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getWidth(el) : acc, 0);
  38046. },
  38047. navBackward() {
  38048. const content = this.$refs.content;
  38049. const width = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getWidth(content) - this.getVisibleButtonWidths();
  38050. const pos = content.scrollLeft - width;
  38051. content.scrollLeft = pos <= 0 ? 0 : pos;
  38052. },
  38053. navForward() {
  38054. const content = this.$refs.content;
  38055. const width = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getWidth(content) - this.getVisibleButtonWidths();
  38056. const pos = content.scrollLeft + width;
  38057. const lastPos = content.scrollWidth - width;
  38058. content.scrollLeft = pos >= lastPos ? lastPos : pos;
  38059. }
  38060. },
  38061. computed: {
  38062. contentClasses() {
  38063. return ['p-tabview p-component', {'p-tabview-scrollable': this.scrollable}];
  38064. },
  38065. prevButtonClasses() {
  38066. return ['p-tabview-nav-prev p-tabview-nav-btn p-link']
  38067. },
  38068. nextButtonClasses() {
  38069. return ['p-tabview-nav-next p-tabview-nav-btn p-link']
  38070. },
  38071. tabs() {
  38072. const tabs = [];
  38073. this.$slots.default().forEach(child => {
  38074. if (this.isTabPanel(child)) {
  38075. tabs.push(child);
  38076. }
  38077. else if (child.children && child.children instanceof Array) {
  38078. child.children.forEach(nestedChild => {
  38079. if (this.isTabPanel(nestedChild)) {
  38080. tabs.push(nestedChild);
  38081. }
  38082. });
  38083. }
  38084. }
  38085. );
  38086. return tabs;
  38087. }
  38088. },
  38089. directives: {
  38090. 'ripple': primevue_ripple__WEBPACK_IMPORTED_MODULE_1__["default"]
  38091. }
  38092. };
  38093. const _hoisted_1 = { class: "p-tabview-nav-container" };
  38094. const _hoisted_2 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_2__.createVNode)("span", { class: "pi pi-chevron-left" }, null, -1);
  38095. const _hoisted_3 = {
  38096. ref: "nav",
  38097. class: "p-tabview-nav",
  38098. role: "tablist"
  38099. };
  38100. const _hoisted_4 = {
  38101. key: 0,
  38102. class: "p-tabview-title"
  38103. };
  38104. const _hoisted_5 = {
  38105. ref: "inkbar",
  38106. class: "p-tabview-ink-bar"
  38107. };
  38108. const _hoisted_6 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_2__.createVNode)("span", { class: "pi pi-chevron-right" }, null, -1);
  38109. const _hoisted_7 = { class: "p-tabview-panels" };
  38110. const _hoisted_8 = {
  38111. key: 0,
  38112. class: "p-tabview-panel",
  38113. role: "tabpanel"
  38114. };
  38115. function render(_ctx, _cache, $props, $setup, $data, $options) {
  38116. const _directive_ripple = (0,vue__WEBPACK_IMPORTED_MODULE_2__.resolveDirective)("ripple");
  38117. return ((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)("div", { class: $options.contentClasses }, [
  38118. (0,vue__WEBPACK_IMPORTED_MODULE_2__.createVNode)("div", _hoisted_1, [
  38119. ($props.scrollable && !$data.backwardIsDisabled)
  38120. ? (0,vue__WEBPACK_IMPORTED_MODULE_2__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)("button", {
  38121. key: 0,
  38122. ref: "prevBtn",
  38123. class: $options.prevButtonClasses,
  38124. onClick: _cache[1] || (_cache[1] = (...args) => ($options.navBackward && $options.navBackward(...args))),
  38125. type: "button"
  38126. }, [
  38127. _hoisted_2
  38128. ], 2)), [
  38129. [_directive_ripple]
  38130. ])
  38131. : (0,vue__WEBPACK_IMPORTED_MODULE_2__.createCommentVNode)("", true),
  38132. (0,vue__WEBPACK_IMPORTED_MODULE_2__.createVNode)("div", {
  38133. ref: "content",
  38134. class: "p-tabview-nav-content",
  38135. onScroll: _cache[2] || (_cache[2] = (...args) => ($options.onScroll && $options.onScroll(...args)))
  38136. }, [
  38137. (0,vue__WEBPACK_IMPORTED_MODULE_2__.createVNode)("ul", _hoisted_3, [
  38138. ((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_2__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_2__.renderList)($options.tabs, (tab, i) => {
  38139. return ((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)("li", {
  38140. role: "presentation",
  38141. key: $options.getKey(tab,i),
  38142. class: [{'p-highlight': ($data.d_activeIndex === i), 'p-disabled': $options.isTabDisabled(tab)}]
  38143. }, [
  38144. (0,vue__WEBPACK_IMPORTED_MODULE_2__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_2__.createVNode)("a", {
  38145. role: "tab",
  38146. class: "p-tabview-nav-link",
  38147. onClick: $event => ($options.onTabClick($event, i)),
  38148. onKeydown: $event => ($options.onTabKeydown($event, i)),
  38149. tabindex: $options.isTabDisabled(tab) ? null : '0',
  38150. "aria-selected": $data.d_activeIndex === i
  38151. }, [
  38152. (tab.props && tab.props.header)
  38153. ? ((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)("span", _hoisted_4, (0,vue__WEBPACK_IMPORTED_MODULE_2__.toDisplayString)(tab.props.header), 1))
  38154. : (0,vue__WEBPACK_IMPORTED_MODULE_2__.createCommentVNode)("", true),
  38155. (tab.children && tab.children.header)
  38156. ? ((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_2__.resolveDynamicComponent)(tab.children.header), { key: 1 }))
  38157. : (0,vue__WEBPACK_IMPORTED_MODULE_2__.createCommentVNode)("", true)
  38158. ], 40, ["onClick", "onKeydown", "tabindex", "aria-selected"]), [
  38159. [_directive_ripple]
  38160. ])
  38161. ], 2))
  38162. }), 128)),
  38163. (0,vue__WEBPACK_IMPORTED_MODULE_2__.createVNode)("li", _hoisted_5, null, 512)
  38164. ], 512)
  38165. ], 544),
  38166. ($props.scrollable && !$data.forwardIsDisabled)
  38167. ? (0,vue__WEBPACK_IMPORTED_MODULE_2__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)("button", {
  38168. key: 1,
  38169. ref: "nextBtn",
  38170. class: $options.nextButtonClasses,
  38171. onClick: _cache[3] || (_cache[3] = (...args) => ($options.navForward && $options.navForward(...args))),
  38172. type: "button"
  38173. }, [
  38174. _hoisted_6
  38175. ], 2)), [
  38176. [_directive_ripple]
  38177. ])
  38178. : (0,vue__WEBPACK_IMPORTED_MODULE_2__.createCommentVNode)("", true)
  38179. ]),
  38180. (0,vue__WEBPACK_IMPORTED_MODULE_2__.createVNode)("div", _hoisted_7, [
  38181. ((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_2__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_2__.renderList)($options.tabs, (tab, i) => {
  38182. return ((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_2__.Fragment, {
  38183. key: $options.getKey(tab,i)
  38184. }, [
  38185. ($props.lazy ? ($data.d_activeIndex === i) : true)
  38186. ? (0,vue__WEBPACK_IMPORTED_MODULE_2__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)("div", _hoisted_8, [
  38187. ((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_2__.resolveDynamicComponent)(tab)))
  38188. ], 512)), [
  38189. [vue__WEBPACK_IMPORTED_MODULE_2__.vShow, $props.lazy ? true: ($data.d_activeIndex === i)]
  38190. ])
  38191. : (0,vue__WEBPACK_IMPORTED_MODULE_2__.createCommentVNode)("", true)
  38192. ], 64))
  38193. }), 128))
  38194. ])
  38195. ], 2))
  38196. }
  38197. function styleInject(css, ref) {
  38198. if ( ref === void 0 ) ref = {};
  38199. var insertAt = ref.insertAt;
  38200. if (!css || typeof document === 'undefined') { return; }
  38201. var head = document.head || document.getElementsByTagName('head')[0];
  38202. var style = document.createElement('style');
  38203. style.type = 'text/css';
  38204. if (insertAt === 'top') {
  38205. if (head.firstChild) {
  38206. head.insertBefore(style, head.firstChild);
  38207. } else {
  38208. head.appendChild(style);
  38209. }
  38210. } else {
  38211. head.appendChild(style);
  38212. }
  38213. if (style.styleSheet) {
  38214. style.styleSheet.cssText = css;
  38215. } else {
  38216. style.appendChild(document.createTextNode(css));
  38217. }
  38218. }
  38219. var css_248z = "\n.p-tabview-nav-container {\n position: relative;\n}\n.p-tabview-scrollable .p-tabview-nav-container {\n overflow: hidden;\n}\n.p-tabview-nav-content {\n overflow-x: auto;\n overflow-y: hidden;\n scroll-behavior: smooth;\n scrollbar-width: none;\n -ms-scroll-chaining: contain auto;\n overscroll-behavior: contain auto;\n}\n.p-tabview-nav {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n margin: 0;\n padding: 0;\n list-style-type: none;\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n}\n.p-tabview-nav-link {\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n position: relative;\n text-decoration: none;\n overflow: hidden;\n}\n.p-tabview-ink-bar {\n display: none;\n z-index: 1;\n}\n.p-tabview-nav-link:focus {\n z-index: 1;\n}\n.p-tabview-title {\n line-height: 1;\n white-space: nowrap;\n}\n.p-tabview-nav-btn {\n position: absolute;\n top: 0;\n z-index: 2;\n height: 100%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.p-tabview-nav-prev {\n left: 0;\n}\n.p-tabview-nav-next {\n right: 0;\n}\n.p-tabview-nav-content::-webkit-scrollbar {\n display: none;\n}\n";
  38220. styleInject(css_248z);
  38221. script.render = render;
  38222. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  38223. /***/ }),
  38224. /***/ "./node_modules/primevue/textarea/textarea.esm.js":
  38225. /*!********************************************************!*\
  38226. !*** ./node_modules/primevue/textarea/textarea.esm.js ***!
  38227. \********************************************************/
  38228. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  38229. "use strict";
  38230. __webpack_require__.r(__webpack_exports__);
  38231. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  38232. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  38233. /* harmony export */ });
  38234. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  38235. var script = {
  38236. name: 'Textarea',
  38237. emits: ['update:modelValue'],
  38238. props: {
  38239. modelValue: null,
  38240. autoResize: Boolean
  38241. },
  38242. mounted() {
  38243. if (this.$el.offsetParent && this.autoResize) {
  38244. this.resize();
  38245. }
  38246. },
  38247. updated() {
  38248. if (this.$el.offsetParent && this.autoResize) {
  38249. this.resize();
  38250. }
  38251. },
  38252. methods: {
  38253. resize() {
  38254. const style = window.getComputedStyle(this.$el);
  38255. this.$el.style.height = 'auto';
  38256. this.$el.style.height = `calc(${style.borderTopWidth} + ${style.borderBottomWidth} + ${this.$el.scrollHeight}px)`;
  38257. if (parseFloat(this.$el.style.height) >= parseFloat(this.$el.style.maxHeight)) {
  38258. this.$el.style.overflowY = "scroll";
  38259. this.$el.style.height = this.$el.style.maxHeight;
  38260. }
  38261. else {
  38262. this.$el.style.overflow = "hidden";
  38263. }
  38264. },
  38265. onInput(event) {
  38266. if (this.autoResize) {
  38267. this.resize();
  38268. }
  38269. this.$emit('update:modelValue', event.target.value);
  38270. }
  38271. },
  38272. computed: {
  38273. filled() {
  38274. return (this.modelValue != null && this.modelValue.toString().length > 0)
  38275. }
  38276. }
  38277. };
  38278. function render(_ctx, _cache, $props, $setup, $data, $options) {
  38279. return ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("textarea", (0,vue__WEBPACK_IMPORTED_MODULE_0__.mergeProps)({
  38280. class: ['p-inputtextarea p-inputtext p-component', {'p-filled': $options.filled, 'p-inputtextarea-resizable ': $props.autoResize}]
  38281. }, _ctx.$attrs, {
  38282. value: $props.modelValue,
  38283. onInput: _cache[1] || (_cache[1] = (...args) => ($options.onInput && $options.onInput(...args)))
  38284. }), null, 16, ["value"]))
  38285. }
  38286. function styleInject(css, ref) {
  38287. if ( ref === void 0 ) ref = {};
  38288. var insertAt = ref.insertAt;
  38289. if (!css || typeof document === 'undefined') { return; }
  38290. var head = document.head || document.getElementsByTagName('head')[0];
  38291. var style = document.createElement('style');
  38292. style.type = 'text/css';
  38293. if (insertAt === 'top') {
  38294. if (head.firstChild) {
  38295. head.insertBefore(style, head.firstChild);
  38296. } else {
  38297. head.appendChild(style);
  38298. }
  38299. } else {
  38300. head.appendChild(style);
  38301. }
  38302. if (style.styleSheet) {
  38303. style.styleSheet.cssText = css;
  38304. } else {
  38305. style.appendChild(document.createTextNode(css));
  38306. }
  38307. }
  38308. var css_248z = "\n.p-inputtextarea-resizable {\n overflow: hidden;\n resize: none;\n}\n.p-fluid .p-inputtextarea {\n width: 100%;\n}\n";
  38309. styleInject(css_248z);
  38310. script.render = render;
  38311. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  38312. /***/ }),
  38313. /***/ "./node_modules/primevue/tooltip/tooltip.esm.js":
  38314. /*!******************************************************!*\
  38315. !*** ./node_modules/primevue/tooltip/tooltip.esm.js ***!
  38316. \******************************************************/
  38317. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  38318. "use strict";
  38319. __webpack_require__.r(__webpack_exports__);
  38320. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  38321. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  38322. /* harmony export */ });
  38323. /* harmony import */ var primevue_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! primevue/utils */ "./node_modules/primevue/utils/utils.esm.js");
  38324. function bindEvents(el) {
  38325. const modifiers = el.$_ptooltipModifiers;
  38326. if (modifiers.focus) {
  38327. el.addEventListener('focus', onFocus);
  38328. el.addEventListener('blur', onBlur);
  38329. }
  38330. else {
  38331. el.addEventListener('mouseenter', onMouseEnter);
  38332. el.addEventListener('mouseleave', onMouseLeave);
  38333. el.addEventListener('click', onClick);
  38334. }
  38335. }
  38336. function unbindEvents(el) {
  38337. const modifiers = el.$_ptooltipModifiers;
  38338. if (modifiers.focus) {
  38339. el.removeEventListener('focus', onFocus);
  38340. el.removeEventListener('blur', onBlur);
  38341. }
  38342. else {
  38343. el.removeEventListener('mouseenter', onMouseEnter);
  38344. el.removeEventListener('mouseleave', onMouseLeave);
  38345. el.removeEventListener('click', onClick);
  38346. }
  38347. }
  38348. function bindScrollListener(el) {
  38349. if (!el.$_ptooltipScrollHandler) {
  38350. el.$_ptooltipScrollHandler = new primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ConnectedOverlayScrollHandler(el, function() {
  38351. hide(el);
  38352. });
  38353. }
  38354. el.$_ptooltipScrollHandler.bindScrollListener();
  38355. }
  38356. function unbindScrollListener(el) {
  38357. if (el.$_ptooltipScrollHandler) {
  38358. el.$_ptooltipScrollHandler.unbindScrollListener();
  38359. }
  38360. }
  38361. function onMouseEnter(event) {
  38362. show(event.currentTarget);
  38363. }
  38364. function onMouseLeave(event) {
  38365. hide(event.currentTarget);
  38366. }
  38367. function onFocus(event) {
  38368. show(event.currentTarget);
  38369. }
  38370. function onBlur(event) {
  38371. hide(event.currentTarget);
  38372. }
  38373. function onClick(event) {
  38374. hide(event.currentTarget);
  38375. }
  38376. function show(el) {
  38377. if (el.$_ptooltipDisabled) {
  38378. return;
  38379. }
  38380. let tooltipElement = create(el);
  38381. align(el);
  38382. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.fadeIn(tooltipElement, 250);
  38383. window.addEventListener('resize', function onWindowResize() {
  38384. if (!primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.isAndroid()) {
  38385. hide(el);
  38386. }
  38387. this.removeEventListener('resize', onWindowResize);
  38388. });
  38389. bindScrollListener(el);
  38390. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.set('tooltip', tooltipElement, el.$_ptooltipZIndex);
  38391. }
  38392. function hide(el) {
  38393. remove(el);
  38394. unbindScrollListener(el);
  38395. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.clear(el);
  38396. }
  38397. function getTooltipElement(el) {
  38398. return document.getElementById(el.$_ptooltipId);
  38399. }
  38400. function create(el) {
  38401. const id = (0,primevue_utils__WEBPACK_IMPORTED_MODULE_0__.UniqueComponentId)() + '_tooltip';
  38402. el.$_ptooltipId = id;
  38403. let container = document.createElement('div');
  38404. container.id = id;
  38405. let tooltipArrow = document.createElement('div');
  38406. tooltipArrow.className = 'p-tooltip-arrow';
  38407. container.appendChild(tooltipArrow);
  38408. let tooltipText = document.createElement('div');
  38409. tooltipText.className = 'p-tooltip-text';
  38410. if (el.$_ptooltipEscape) {
  38411. tooltipText.innerHTML = el.$_ptooltipValue;
  38412. }
  38413. else {
  38414. tooltipText.innerHTML = '';
  38415. tooltipText.appendChild(document.createTextNode(el.$_ptooltipValue));
  38416. }
  38417. container.appendChild(tooltipText);
  38418. document.body.appendChild(container);
  38419. container.style.display = 'inline-block';
  38420. return container;
  38421. }
  38422. function remove(el) {
  38423. if (el) {
  38424. let tooltipElement = getTooltipElement(el);
  38425. if (tooltipElement && tooltipElement.parentElement) {
  38426. document.body.removeChild(tooltipElement);
  38427. }
  38428. el.$_ptooltipId = null;
  38429. }
  38430. }
  38431. function align(el) {
  38432. const modifiers = el.$_ptooltipModifiers;
  38433. if (modifiers.top) {
  38434. alignTop(el);
  38435. if (isOutOfBounds(el)) {
  38436. alignBottom(el);
  38437. if (isOutOfBounds(el)) {
  38438. alignTop(el);
  38439. }
  38440. }
  38441. }
  38442. else if (modifiers.left) {
  38443. alignLeft(el);
  38444. if (isOutOfBounds(el)) {
  38445. alignRight(el);
  38446. if (isOutOfBounds(el)) {
  38447. alignTop(el);
  38448. if (isOutOfBounds(el)) {
  38449. alignBottom(el);
  38450. if (isOutOfBounds(el)) {
  38451. alignLeft(el);
  38452. }
  38453. }
  38454. }
  38455. }
  38456. }
  38457. else if (modifiers.bottom) {
  38458. alignBottom(el);
  38459. if (isOutOfBounds(el)) {
  38460. alignTop(el);
  38461. if (isOutOfBounds(el)) {
  38462. alignBottom(el);
  38463. }
  38464. }
  38465. }
  38466. else {
  38467. alignRight(el);
  38468. if (isOutOfBounds(el)) {
  38469. alignLeft(el);
  38470. if (isOutOfBounds(el)) {
  38471. alignTop(el);
  38472. if (isOutOfBounds(el)) {
  38473. alignBottom(el);
  38474. if (isOutOfBounds(el)) {
  38475. alignRight(el);
  38476. }
  38477. }
  38478. }
  38479. }
  38480. }
  38481. }
  38482. function getHostOffset(el) {
  38483. let offset = el.getBoundingClientRect();
  38484. let targetLeft = offset.left + primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getWindowScrollLeft();
  38485. let targetTop = offset.top + primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getWindowScrollTop();
  38486. return {left: targetLeft, top: targetTop};
  38487. }
  38488. function alignRight(el) {
  38489. preAlign(el, 'right');
  38490. let tooltipElement = getTooltipElement(el);
  38491. let hostOffset = getHostOffset(el);
  38492. let left = hostOffset.left + primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(el);
  38493. let top = hostOffset.top + (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterHeight(el) - primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterHeight(tooltipElement)) / 2;
  38494. tooltipElement.style.left = left + 'px';
  38495. tooltipElement.style.top = top + 'px';
  38496. }
  38497. function alignLeft(el) {
  38498. preAlign(el, 'left');
  38499. let tooltipElement = getTooltipElement(el);
  38500. let hostOffset = getHostOffset(el);
  38501. let left = hostOffset.left - primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(tooltipElement);
  38502. let top = hostOffset.top + (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterHeight(el) - primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterHeight(tooltipElement)) / 2;
  38503. tooltipElement.style.left = left + 'px';
  38504. tooltipElement.style.top = top + 'px';
  38505. }
  38506. function alignTop(el) {
  38507. preAlign(el, 'top');
  38508. let tooltipElement = getTooltipElement(el);
  38509. let hostOffset = getHostOffset(el);
  38510. let left = hostOffset.left + (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(el) - primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(tooltipElement)) / 2;
  38511. let top = hostOffset.top - primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterHeight(tooltipElement);
  38512. tooltipElement.style.left = left + 'px';
  38513. tooltipElement.style.top = top + 'px';
  38514. }
  38515. function alignBottom(el) {
  38516. preAlign(el, 'bottom');
  38517. let tooltipElement = getTooltipElement(el);
  38518. let hostOffset = getHostOffset(el);
  38519. let left = hostOffset.left + (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(el) - primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(tooltipElement)) / 2;
  38520. let top = hostOffset.top + primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterHeight(el);
  38521. tooltipElement.style.left = left + 'px';
  38522. tooltipElement.style.top = top + 'px';
  38523. }
  38524. function preAlign(el, position) {
  38525. let tooltipElement = getTooltipElement(el);
  38526. tooltipElement.style.left = -999 + 'px';
  38527. tooltipElement.style.top = -999 + 'px';
  38528. tooltipElement.className = `p-tooltip p-component p-tooltip-${position} ${el.$_ptooltipClass||''}`;
  38529. }
  38530. function isOutOfBounds(el) {
  38531. let tooltipElement = getTooltipElement(el);
  38532. let offset = tooltipElement.getBoundingClientRect();
  38533. let targetTop = offset.top;
  38534. let targetLeft = offset.left;
  38535. let width = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(tooltipElement);
  38536. let height = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterHeight(tooltipElement);
  38537. let viewport = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getViewport();
  38538. return (targetLeft + width > viewport.width) || (targetLeft < 0) || (targetTop < 0) || (targetTop + height > viewport.height);
  38539. }
  38540. function getTarget(el) {
  38541. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(el, 'p-inputwrapper') ? primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.findSingle(el, 'input'): el;
  38542. }
  38543. function getModifiers(options) {
  38544. // modifiers
  38545. if (options.modifiers && Object.keys(options.modifiers).length) {
  38546. return options.modifiers;
  38547. }
  38548. // arg
  38549. if (options.arg && typeof options.arg === 'object') {
  38550. return Object.entries(options.arg).reduce((acc, [key, val]) => {
  38551. if (key === 'event' || key === 'position') acc[val] = true;
  38552. return acc;
  38553. }, {});
  38554. }
  38555. return {};
  38556. }
  38557. const Tooltip = {
  38558. beforeMount(el, options) {
  38559. let target = getTarget(el);
  38560. target.$_ptooltipModifiers = getModifiers(options);
  38561. if (!options.value) return;
  38562. else if (typeof options.value === 'string') {
  38563. target.$_ptooltipValue = options.value;
  38564. target.$_ptooltipDisabled = false;
  38565. target.$_ptooltipEscape = false;
  38566. target.$_ptooltipClass = null;
  38567. }
  38568. else {
  38569. target.$_ptooltipValue = options.value.value;
  38570. target.$_ptooltipDisabled = options.value.disabled || false;
  38571. target.$_ptooltipEscape = options.value.escape || false;
  38572. target.$_ptooltipClass = options.value.class;
  38573. }
  38574. target.$_ptooltipZIndex = options.instance.$primevue && options.instance.$primevue.config && options.instance.$primevue.config.zIndex.tooltip;
  38575. bindEvents(target);
  38576. },
  38577. unmounted(el) {
  38578. let target = getTarget(el);
  38579. remove(target);
  38580. unbindEvents(target);
  38581. if (target.$_ptooltipScrollHandler) {
  38582. target.$_ptooltipScrollHandler.destroy();
  38583. target.$_ptooltipScrollHandler = null;
  38584. }
  38585. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.clear(el);
  38586. },
  38587. updated(el, options) {
  38588. let target = getTarget(el);
  38589. target.$_ptooltipModifiers = getModifiers(options);
  38590. if (!options.value) return;
  38591. if (typeof options.value === 'string') {
  38592. target.$_ptooltipValue = options.value;
  38593. target.$_ptooltipDisabled = false;
  38594. target.$_ptooltipEscape = false;
  38595. target.$_ptooltipClass = null;
  38596. }
  38597. else {
  38598. target.$_ptooltipValue = options.value.value;
  38599. target.$_ptooltipDisabled = options.value.disabled || false;
  38600. target.$_ptooltipEscape = options.value.escape || false;
  38601. target.$_ptooltipClass = options.value.class;
  38602. }
  38603. }
  38604. };
  38605. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Tooltip);
  38606. /***/ }),
  38607. /***/ "./node_modules/primevue/utils/utils.esm.js":
  38608. /*!**************************************************!*\
  38609. !*** ./node_modules/primevue/utils/utils.esm.js ***!
  38610. \**************************************************/
  38611. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  38612. "use strict";
  38613. __webpack_require__.r(__webpack_exports__);
  38614. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  38615. /* harmony export */ "ConnectedOverlayScrollHandler": () => (/* binding */ ConnectedOverlayScrollHandler),
  38616. /* harmony export */ "DomHandler": () => (/* binding */ DomHandler),
  38617. /* harmony export */ "EventBus": () => (/* binding */ primebus),
  38618. /* harmony export */ "ObjectUtils": () => (/* binding */ ObjectUtils),
  38619. /* harmony export */ "UniqueComponentId": () => (/* binding */ UniqueComponentId),
  38620. /* harmony export */ "ZIndexUtils": () => (/* binding */ ZIndexUtils)
  38621. /* harmony export */ });
  38622. var DomHandler = {
  38623. innerWidth(el) {
  38624. let width = el.offsetWidth;
  38625. let style = getComputedStyle(el);
  38626. width += parseFloat(style.paddingLeft) + parseFloat(style.paddingRight);
  38627. return width;
  38628. },
  38629. width(el) {
  38630. let width = el.offsetWidth;
  38631. let style = getComputedStyle(el);
  38632. width -= parseFloat(style.paddingLeft) + parseFloat(style.paddingRight);
  38633. return width;
  38634. },
  38635. getWindowScrollTop() {
  38636. let doc = document.documentElement;
  38637. return (window.pageYOffset || doc.scrollTop) - (doc.clientTop || 0);
  38638. },
  38639. getWindowScrollLeft() {
  38640. let doc = document.documentElement;
  38641. return (window.pageXOffset || doc.scrollLeft) - (doc.clientLeft || 0);
  38642. },
  38643. getOuterWidth(el, margin) {
  38644. if (el) {
  38645. let width = el.offsetWidth;
  38646. if (margin) {
  38647. let style = getComputedStyle(el);
  38648. width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
  38649. }
  38650. return width;
  38651. }
  38652. else {
  38653. return 0;
  38654. }
  38655. },
  38656. getOuterHeight(el, margin) {
  38657. if (el) {
  38658. let height = el.offsetHeight;
  38659. if (margin) {
  38660. let style = getComputedStyle(el);
  38661. height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
  38662. }
  38663. return height;
  38664. }
  38665. else {
  38666. return 0;
  38667. }
  38668. },
  38669. getClientHeight(el, margin) {
  38670. if (el) {
  38671. let height = el.clientHeight;
  38672. if (margin) {
  38673. let style = getComputedStyle(el);
  38674. height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
  38675. }
  38676. return height;
  38677. } else {
  38678. return 0;
  38679. }
  38680. },
  38681. getViewport() {
  38682. let win = window,
  38683. d = document,
  38684. e = d.documentElement,
  38685. g = d.getElementsByTagName('body')[0],
  38686. w = win.innerWidth || e.clientWidth || g.clientWidth,
  38687. h = win.innerHeight || e.clientHeight || g.clientHeight;
  38688. return {width: w, height: h};
  38689. },
  38690. getOffset(el) {
  38691. var rect = el.getBoundingClientRect();
  38692. return {
  38693. top: rect.top + (window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0),
  38694. left: rect.left + (window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft || 0),
  38695. };
  38696. },
  38697. index(element) {
  38698. let children = element.parentNode.childNodes;
  38699. let num = 0;
  38700. for (var i = 0; i < children.length; i++) {
  38701. if (children[i] === element) return num;
  38702. if (children[i].nodeType === 1) num++;
  38703. }
  38704. return -1;
  38705. },
  38706. addMultipleClasses(element, className) {
  38707. if (element.classList) {
  38708. let styles = className.split(' ');
  38709. for (let i = 0; i < styles.length; i++) {
  38710. element.classList.add(styles[i]);
  38711. }
  38712. }
  38713. else {
  38714. let styles = className.split(' ');
  38715. for (let i = 0; i < styles.length; i++) {
  38716. element.className += ' ' + styles[i];
  38717. }
  38718. }
  38719. },
  38720. addClass(element, className) {
  38721. if (element.classList)
  38722. element.classList.add(className);
  38723. else
  38724. element.className += ' ' + className;
  38725. },
  38726. removeClass(element, className) {
  38727. if (element.classList)
  38728. element.classList.remove(className);
  38729. else
  38730. element.className = element.className.replace(new RegExp('(^|\\b)' + className.split(' ').join('|') + '(\\b|$)', 'gi'), ' ');
  38731. },
  38732. hasClass(element, className) {
  38733. if (element) {
  38734. if (element.classList)
  38735. return element.classList.contains(className);
  38736. else
  38737. return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
  38738. }
  38739. return false;
  38740. },
  38741. find(element, selector) {
  38742. return element.querySelectorAll(selector);
  38743. },
  38744. findSingle(element, selector) {
  38745. return element.querySelector(selector);
  38746. },
  38747. getHeight(el) {
  38748. let height = el.offsetHeight;
  38749. let style = getComputedStyle(el);
  38750. height -= parseFloat(style.paddingTop) + parseFloat(style.paddingBottom) + parseFloat(style.borderTopWidth) + parseFloat(style.borderBottomWidth);
  38751. return height;
  38752. },
  38753. getWidth(el) {
  38754. let width = el.offsetWidth;
  38755. let style = getComputedStyle(el);
  38756. width -= parseFloat(style.paddingLeft) + parseFloat(style.paddingRight) + parseFloat(style.borderLeftWidth) + parseFloat(style.borderRightWidth);
  38757. return width;
  38758. },
  38759. absolutePosition(element, target) {
  38760. let elementDimensions = element.offsetParent ? { width: element.offsetWidth, height: element.offsetHeight } : this.getHiddenElementDimensions(element);
  38761. let elementOuterHeight = elementDimensions.height;
  38762. let elementOuterWidth = elementDimensions.width;
  38763. let targetOuterHeight = target.offsetHeight;
  38764. let targetOuterWidth = target.offsetWidth;
  38765. let targetOffset = target.getBoundingClientRect();
  38766. let windowScrollTop = this.getWindowScrollTop();
  38767. let windowScrollLeft = this.getWindowScrollLeft();
  38768. let viewport = this.getViewport();
  38769. let top, left;
  38770. if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
  38771. top = targetOffset.top + windowScrollTop - elementOuterHeight;
  38772. element.style.transformOrigin = 'bottom';
  38773. if (top < 0) {
  38774. top = windowScrollTop;
  38775. }
  38776. }
  38777. else {
  38778. top = targetOuterHeight + targetOffset.top + windowScrollTop;
  38779. element.style.transformOrigin = 'top';
  38780. }
  38781. if (targetOffset.left + elementOuterWidth > viewport.width)
  38782. left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);
  38783. else
  38784. left = targetOffset.left + windowScrollLeft;
  38785. element.style.top = top + 'px';
  38786. element.style.left = left + 'px';
  38787. },
  38788. relativePosition(element, target) {
  38789. let elementDimensions = element.offsetParent ? { width: element.offsetWidth, height: element.offsetHeight } : this.getHiddenElementDimensions(element);
  38790. const targetHeight = target.offsetHeight;
  38791. const targetOffset = target.getBoundingClientRect();
  38792. const viewport = this.getViewport();
  38793. let top, left;
  38794. if ((targetOffset.top + targetHeight + elementDimensions.height) > viewport.height) {
  38795. top = -1 * (elementDimensions.height);
  38796. element.style.transformOrigin = 'bottom';
  38797. if (targetOffset.top + top < 0) {
  38798. top = -1 * targetOffset.top;
  38799. }
  38800. }
  38801. else {
  38802. top = targetHeight;
  38803. element.style.transformOrigin = 'top';
  38804. }
  38805. if (elementDimensions.width > viewport.width) {
  38806. // element wider then viewport and cannot fit on screen (align at left side of viewport)
  38807. left = targetOffset.left * -1;
  38808. }
  38809. else if ((targetOffset.left + elementDimensions.width) > viewport.width) {
  38810. // element wider then viewport but can be fit on screen (align at right side of viewport)
  38811. left = (targetOffset.left + elementDimensions.width - viewport.width) * -1;
  38812. }
  38813. else {
  38814. // element fits on screen (align with target)
  38815. left = 0;
  38816. }
  38817. element.style.top = top + 'px';
  38818. element.style.left = left + 'px';
  38819. },
  38820. getParents(element, parents = []) {
  38821. return element['parentNode'] === null ? parents : this.getParents(element.parentNode, parents.concat([element.parentNode]));
  38822. },
  38823. getScrollableParents(element) {
  38824. let scrollableParents = [];
  38825. if (element) {
  38826. let parents = this.getParents(element);
  38827. const overflowRegex = /(auto|scroll)/;
  38828. const overflowCheck = (node) => {
  38829. let styleDeclaration = window['getComputedStyle'](node, null);
  38830. return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
  38831. };
  38832. for (let parent of parents) {
  38833. let scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
  38834. if (scrollSelectors) {
  38835. let selectors = scrollSelectors.split(',');
  38836. for (let selector of selectors) {
  38837. let el = this.findSingle(parent, selector);
  38838. if (el && overflowCheck(el)) {
  38839. scrollableParents.push(el);
  38840. }
  38841. }
  38842. }
  38843. if (parent.nodeType !== 9 && overflowCheck(parent)) {
  38844. scrollableParents.push(parent);
  38845. }
  38846. }
  38847. }
  38848. return scrollableParents;
  38849. },
  38850. getHiddenElementOuterHeight(element) {
  38851. element.style.visibility = 'hidden';
  38852. element.style.display = 'block';
  38853. let elementHeight = element.offsetHeight;
  38854. element.style.display = 'none';
  38855. element.style.visibility = 'visible';
  38856. return elementHeight;
  38857. },
  38858. getHiddenElementOuterWidth(element) {
  38859. element.style.visibility = 'hidden';
  38860. element.style.display = 'block';
  38861. let elementWidth = element.offsetWidth;
  38862. element.style.display = 'none';
  38863. element.style.visibility = 'visible';
  38864. return elementWidth;
  38865. },
  38866. getHiddenElementDimensions(element) {
  38867. var dimensions = {};
  38868. element.style.visibility = 'hidden';
  38869. element.style.display = 'block';
  38870. dimensions.width = element.offsetWidth;
  38871. dimensions.height = element.offsetHeight;
  38872. element.style.display = 'none';
  38873. element.style.visibility = 'visible';
  38874. return dimensions;
  38875. },
  38876. fadeIn(element, duration) {
  38877. element.style.opacity = 0;
  38878. var last = +new Date();
  38879. var opacity = 0;
  38880. var tick = function () {
  38881. opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
  38882. element.style.opacity = opacity;
  38883. last = +new Date();
  38884. if (+opacity < 1) {
  38885. (window.requestAnimationFrame && requestAnimationFrame(tick)) || setTimeout(tick, 16);
  38886. }
  38887. };
  38888. tick();
  38889. },
  38890. fadeOut(element, ms) {
  38891. var opacity = 1,
  38892. interval = 50,
  38893. duration = ms,
  38894. gap = interval / duration;
  38895. let fading = setInterval(() => {
  38896. opacity -= gap;
  38897. if (opacity <= 0) {
  38898. opacity = 0;
  38899. clearInterval(fading);
  38900. }
  38901. element.style.opacity = opacity;
  38902. }, interval);
  38903. },
  38904. getUserAgent() {
  38905. return navigator.userAgent;
  38906. },
  38907. appendChild(element, target) {
  38908. if(this.isElement(target))
  38909. target.appendChild(element);
  38910. else if(target.el && target.elElement)
  38911. target.elElement.appendChild(element);
  38912. else
  38913. throw new Error('Cannot append ' + target + ' to ' + element);
  38914. },
  38915. scrollInView(container, item) {
  38916. let borderTopValue = getComputedStyle(container).getPropertyValue('borderTopWidth');
  38917. let borderTop = borderTopValue ? parseFloat(borderTopValue) : 0;
  38918. let paddingTopValue = getComputedStyle(container).getPropertyValue('paddingTop');
  38919. let paddingTop = paddingTopValue ? parseFloat(paddingTopValue) : 0;
  38920. let containerRect = container.getBoundingClientRect();
  38921. let itemRect = item.getBoundingClientRect();
  38922. let offset = (itemRect.top + document.body.scrollTop) - (containerRect.top + document.body.scrollTop) - borderTop - paddingTop;
  38923. let scroll = container.scrollTop;
  38924. let elementHeight = container.clientHeight;
  38925. let itemHeight = this.getOuterHeight(item);
  38926. if (offset < 0) {
  38927. container.scrollTop = scroll + offset;
  38928. }
  38929. else if ((offset + itemHeight) > elementHeight) {
  38930. container.scrollTop = scroll + offset - elementHeight + itemHeight;
  38931. }
  38932. },
  38933. clearSelection() {
  38934. if(window.getSelection) {
  38935. if(window.getSelection().empty) {
  38936. window.getSelection().empty();
  38937. } else if(window.getSelection().removeAllRanges && window.getSelection().rangeCount > 0 && window.getSelection().getRangeAt(0).getClientRects().length > 0) {
  38938. window.getSelection().removeAllRanges();
  38939. }
  38940. }
  38941. else if(document['selection'] && document['selection'].empty) {
  38942. try {
  38943. document['selection'].empty();
  38944. } catch(error) {
  38945. //ignore IE bug
  38946. }
  38947. }
  38948. },
  38949. calculateScrollbarWidth() {
  38950. if(this.calculatedScrollbarWidth != null)
  38951. return this.calculatedScrollbarWidth;
  38952. let scrollDiv = document.createElement("div");
  38953. scrollDiv.className = "p-scrollbar-measure";
  38954. document.body.appendChild(scrollDiv);
  38955. let scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth;
  38956. document.body.removeChild(scrollDiv);
  38957. this.calculatedScrollbarWidth = scrollbarWidth;
  38958. return scrollbarWidth;
  38959. },
  38960. getBrowser() {
  38961. if(!this.browser) {
  38962. let matched = this.resolveUserAgent();
  38963. this.browser = {};
  38964. if (matched.browser) {
  38965. this.browser[matched.browser] = true;
  38966. this.browser['version'] = matched.version;
  38967. }
  38968. if (this.browser['chrome']) {
  38969. this.browser['webkit'] = true;
  38970. } else if (this.browser['webkit']) {
  38971. this.browser['safari'] = true;
  38972. }
  38973. }
  38974. return this.browser;
  38975. },
  38976. resolveUserAgent() {
  38977. let ua = navigator.userAgent.toLowerCase();
  38978. let match = /(chrome)[ ]([\w.]+)/.exec(ua) ||
  38979. /(webkit)[ ]([\w.]+)/.exec(ua) ||
  38980. /(opera)(?:.*version|)[ ]([\w.]+)/.exec(ua) ||
  38981. /(msie) ([\w.]+)/.exec(ua) ||
  38982. (ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua)) ||
  38983. [];
  38984. return {
  38985. browser: match[1] || "",
  38986. version: match[2] || "0"
  38987. };
  38988. },
  38989. isVisible(element) {
  38990. return element.offsetParent != null;
  38991. },
  38992. invokeElementMethod(element, methodName, args) {
  38993. (element)[methodName].apply(element, args);
  38994. },
  38995. getFocusableElements(element) {
  38996. let focusableElements = this.find(element, `button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),
  38997. [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),
  38998. input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),
  38999. textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),
  39000. [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])`
  39001. );
  39002. let visibleFocusableElements = [];
  39003. for (let focusableElement of focusableElements) {
  39004. if (getComputedStyle(focusableElement).display != "none" && getComputedStyle(focusableElement).visibility != "hidden")
  39005. visibleFocusableElements.push(focusableElement);
  39006. }
  39007. return visibleFocusableElements;
  39008. },
  39009. getFirstFocusableElement(element) {
  39010. const focusableElements = this.getFocusableElements(element);
  39011. return focusableElements.length > 0 ? focusableElements[0] : null;
  39012. },
  39013. isClickable(element) {
  39014. const targetNode = element.nodeName;
  39015. const parentNode = element.parentElement && element.parentElement.nodeName;
  39016. return (targetNode == 'INPUT' || targetNode == 'BUTTON' || targetNode == 'A' ||
  39017. parentNode == 'INPUT' || parentNode == 'BUTTON' || parentNode == 'A' ||
  39018. this.hasClass(element, 'p-button') || this.hasClass(element.parentElement, 'p-button') ||
  39019. this.hasClass(element.parentElement, 'p-checkbox') || this.hasClass(element.parentElement, 'p-radiobutton')
  39020. );
  39021. },
  39022. applyStyle(element, style) {
  39023. if (typeof style === 'string') {
  39024. element.style.cssText = style;
  39025. }
  39026. else {
  39027. for (let prop in style) {
  39028. element.style[prop] = style[prop];
  39029. }
  39030. }
  39031. },
  39032. isIOS() {
  39033. return /iPad|iPhone|iPod/.test(navigator.userAgent) && !window['MSStream'];
  39034. },
  39035. isAndroid() {
  39036. return /(android)/i.test(navigator.userAgent);
  39037. },
  39038. isTouchDevice() {
  39039. return (('ontouchstart' in window) || (navigator.maxTouchPoints > 0) || (navigator.msMaxTouchPoints > 0));
  39040. },
  39041. exportCSV(csv, filename) {
  39042. let blob = new Blob([csv], {
  39043. type: 'application/csv;charset=utf-8;'
  39044. });
  39045. if (window.navigator.msSaveOrOpenBlob) {
  39046. navigator.msSaveOrOpenBlob(blob, filename + '.csv');
  39047. }
  39048. else {
  39049. let link = document.createElement("a");
  39050. if (link.download !== undefined) {
  39051. link.setAttribute('href', URL.createObjectURL(blob));
  39052. link.setAttribute('download', filename + '.csv');
  39053. link.style.display = 'none';
  39054. document.body.appendChild(link);
  39055. link.click();
  39056. document.body.removeChild(link);
  39057. }
  39058. else {
  39059. csv = 'data:text/csv;charset=utf-8,' + csv;
  39060. window.open(encodeURI(csv));
  39061. }
  39062. }
  39063. }
  39064. };
  39065. class ConnectedOverlayScrollHandler {
  39066. constructor(element, listener = () => {}) {
  39067. this.element = element;
  39068. this.listener = listener;
  39069. }
  39070. bindScrollListener() {
  39071. this.scrollableParents = DomHandler.getScrollableParents(this.element);
  39072. for (let i = 0; i < this.scrollableParents.length; i++) {
  39073. this.scrollableParents[i].addEventListener('scroll', this.listener);
  39074. }
  39075. }
  39076. unbindScrollListener() {
  39077. if (this.scrollableParents) {
  39078. for (let i = 0; i < this.scrollableParents.length; i++) {
  39079. this.scrollableParents[i].removeEventListener('scroll', this.listener);
  39080. }
  39081. }
  39082. }
  39083. destroy() {
  39084. this.unbindScrollListener();
  39085. this.element = null;
  39086. this.listener = null;
  39087. this.scrollableParents = null;
  39088. }
  39089. }
  39090. var ObjectUtils = {
  39091. equals(obj1, obj2, field) {
  39092. if (field)
  39093. return (this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field));
  39094. else
  39095. return this.deepEquals(obj1, obj2);
  39096. },
  39097. deepEquals(a, b) {
  39098. if (a === b) return true;
  39099. if (a && b && typeof a == 'object' && typeof b == 'object') {
  39100. var arrA = Array.isArray(a)
  39101. , arrB = Array.isArray(b)
  39102. , i
  39103. , length
  39104. , key;
  39105. if (arrA && arrB) {
  39106. length = a.length;
  39107. if (length != b.length) return false;
  39108. for (i = length; i-- !== 0;)
  39109. if (!this.deepEquals(a[i], b[i])) return false;
  39110. return true;
  39111. }
  39112. if (arrA != arrB) return false;
  39113. var dateA = a instanceof Date
  39114. , dateB = b instanceof Date;
  39115. if (dateA != dateB) return false;
  39116. if (dateA && dateB) return a.getTime() == b.getTime();
  39117. var regexpA = a instanceof RegExp
  39118. , regexpB = b instanceof RegExp;
  39119. if (regexpA != regexpB) return false;
  39120. if (regexpA && regexpB) return a.toString() == b.toString();
  39121. var keys = Object.keys(a);
  39122. length = keys.length;
  39123. if (length !== Object.keys(b).length)
  39124. return false;
  39125. for (i = length; i-- !== 0;)
  39126. if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
  39127. for (i = length; i-- !== 0;) {
  39128. key = keys[i];
  39129. if (!this.deepEquals(a[key], b[key])) return false;
  39130. }
  39131. return true;
  39132. }
  39133. return a !== a && b !== b;
  39134. },
  39135. resolveFieldData(data, field) {
  39136. if (data && Object.keys(data).length && field) {
  39137. if (this.isFunction(field)) {
  39138. return field(data);
  39139. }
  39140. else if(field.indexOf('.') === -1) {
  39141. return data[field];
  39142. }
  39143. else {
  39144. let fields = field.split('.');
  39145. let value = data;
  39146. for(var i = 0, len = fields.length; i < len; ++i) {
  39147. if (value == null) {
  39148. return null;
  39149. }
  39150. value = value[fields[i]];
  39151. }
  39152. return value;
  39153. }
  39154. }
  39155. else {
  39156. return null;
  39157. }
  39158. },
  39159. isFunction(obj) {
  39160. return !!(obj && obj.constructor && obj.call && obj.apply);
  39161. },
  39162. filter(value, fields, filterValue) {
  39163. var filteredItems = [];
  39164. if (value) {
  39165. for (let item of value) {
  39166. for (let field of fields) {
  39167. if (String(this.resolveFieldData(item, field)).toLowerCase().indexOf(filterValue.toLowerCase()) > -1) {
  39168. filteredItems.push(item);
  39169. break;
  39170. }
  39171. }
  39172. }
  39173. }
  39174. return filteredItems;
  39175. },
  39176. reorderArray(value, from, to) {
  39177. let target;
  39178. if (value && (from !== to)) {
  39179. if (to >= value.length) {
  39180. target = to - value.length;
  39181. while ((target--) + 1) {
  39182. value.push(undefined);
  39183. }
  39184. }
  39185. value.splice(to, 0, value.splice(from, 1)[0]);
  39186. }
  39187. },
  39188. findIndexInList(value, list) {
  39189. let index = -1;
  39190. if (list) {
  39191. for (let i = 0; i < list.length; i++) {
  39192. if (list[i] === value) {
  39193. index = i;
  39194. break;
  39195. }
  39196. }
  39197. }
  39198. return index;
  39199. },
  39200. contains(value, list) {
  39201. if (value != null && list && list.length) {
  39202. for (let val of list) {
  39203. if (this.equals(value, val))
  39204. return true;
  39205. }
  39206. }
  39207. return false;
  39208. },
  39209. insertIntoOrderedArray(item, index, arr, sourceArr) {
  39210. if (arr.length > 0) {
  39211. let injected = false;
  39212. for (let i = 0; i < arr.length; i++) {
  39213. let currentItemIndex = this.findIndexInList(arr[i], sourceArr);
  39214. if (currentItemIndex > index) {
  39215. arr.splice(i, 0, item);
  39216. injected = true;
  39217. break;
  39218. }
  39219. }
  39220. if (!injected) {
  39221. arr.push(item);
  39222. }
  39223. }
  39224. else {
  39225. arr.push(item);
  39226. }
  39227. },
  39228. removeAccents(str) {
  39229. if (str && str.search(/[\xC0-\xFF]/g) > -1) {
  39230. str = str
  39231. .replace(/[\xC0-\xC5]/g, "A")
  39232. .replace(/[\xC6]/g, "AE")
  39233. .replace(/[\xC7]/g, "C")
  39234. .replace(/[\xC8-\xCB]/g, "E")
  39235. .replace(/[\xCC-\xCF]/g, "I")
  39236. .replace(/[\xD0]/g, "D")
  39237. .replace(/[\xD1]/g, "N")
  39238. .replace(/[\xD2-\xD6\xD8]/g, "O")
  39239. .replace(/[\xD9-\xDC]/g, "U")
  39240. .replace(/[\xDD]/g, "Y")
  39241. .replace(/[\xDE]/g, "P")
  39242. .replace(/[\xE0-\xE5]/g, "a")
  39243. .replace(/[\xE6]/g, "ae")
  39244. .replace(/[\xE7]/g, "c")
  39245. .replace(/[\xE8-\xEB]/g, "e")
  39246. .replace(/[\xEC-\xEF]/g, "i")
  39247. .replace(/[\xF1]/g, "n")
  39248. .replace(/[\xF2-\xF6\xF8]/g, "o")
  39249. .replace(/[\xF9-\xFC]/g, "u")
  39250. .replace(/[\xFE]/g, "p")
  39251. .replace(/[\xFD\xFF]/g, "y");
  39252. }
  39253. return str;
  39254. },
  39255. getVNodeProp(vnode, prop) {
  39256. let props = vnode.props;
  39257. if (props) {
  39258. let kebapProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
  39259. let propName = Object.prototype.hasOwnProperty.call(props, kebapProp) ? kebapProp : prop;
  39260. return ((vnode.type.props[prop].type === Boolean && props[propName] === '') ? true : props[propName]);
  39261. }
  39262. return null;
  39263. },
  39264. isEmpty(value) {
  39265. return (
  39266. value === null || value === undefined || value === '' ||
  39267. (Array.isArray(value) && value.length === 0) ||
  39268. (!(value instanceof Date) && typeof value === 'object' && Object.keys(value).length === 0)
  39269. );
  39270. },
  39271. isNotEmpty(value) {
  39272. return !this.isEmpty(value);
  39273. }
  39274. };
  39275. function handler() {
  39276. let zIndexes = [];
  39277. const generateZIndex = (key, baseZIndex) => {
  39278. let lastZIndex = zIndexes.length > 0 ? zIndexes[zIndexes.length - 1] : { key, value: baseZIndex };
  39279. let newZIndex = lastZIndex.value + (lastZIndex.key === key ? 0 : baseZIndex) + 1;
  39280. zIndexes.push({ key, value: newZIndex });
  39281. return newZIndex;
  39282. };
  39283. const revertZIndex = (zIndex) => {
  39284. zIndexes = zIndexes.filter(obj => obj.value !== zIndex);
  39285. };
  39286. const getCurrentZIndex = () => {
  39287. return zIndexes.length > 0 ? zIndexes[zIndexes.length - 1].value : 0;
  39288. };
  39289. const getZIndex = (el) => {
  39290. return el ? parseInt(el.style.zIndex, 10) || 0 : 0
  39291. };
  39292. return {
  39293. get: getZIndex,
  39294. set: (key, el, baseZIndex) => {
  39295. if (el) {
  39296. el.style.zIndex = String(generateZIndex(key, baseZIndex));
  39297. }
  39298. },
  39299. clear: (el) => {
  39300. if (el) {
  39301. revertZIndex(getZIndex(el));
  39302. el.style.zIndex = '';
  39303. }
  39304. },
  39305. getCurrent: () => getCurrentZIndex()
  39306. };
  39307. }
  39308. var ZIndexUtils = handler();
  39309. var lastId = 0;
  39310. function UniqueComponentId (prefix = 'pv_id_') {
  39311. lastId++;
  39312. return `${prefix}${lastId}`;
  39313. }
  39314. function primebus() {
  39315. const allHandlers = new Map();
  39316. return {
  39317. on(type, handler) {
  39318. let handlers = allHandlers.get(type);
  39319. if (!handlers)
  39320. handlers = [handler];
  39321. else
  39322. handlers.push(handler);
  39323. allHandlers.set(type, handlers);
  39324. },
  39325. off(type, handler) {
  39326. let handlers = allHandlers.get(type);
  39327. if (handlers) {
  39328. handlers.splice(handlers.indexOf(handler) >>> 0, 1);
  39329. }
  39330. },
  39331. emit(type, evt) {
  39332. let handlers = allHandlers.get(type);
  39333. if (handlers) {
  39334. handlers.slice().map((handler) => { handler(evt);});
  39335. }
  39336. }
  39337. };
  39338. }
  39339. /***/ }),
  39340. /***/ "./node_modules/primevue/virtualscroller/virtualscroller.esm.js":
  39341. /*!**********************************************************************!*\
  39342. !*** ./node_modules/primevue/virtualscroller/virtualscroller.esm.js ***!
  39343. \**********************************************************************/
  39344. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  39345. "use strict";
  39346. __webpack_require__.r(__webpack_exports__);
  39347. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  39348. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  39349. /* harmony export */ });
  39350. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  39351. var script = {
  39352. name: 'VirtualScroller',
  39353. emits: ['update:numToleratedItems', 'scroll', 'scroll-index-change', 'lazy-load'],
  39354. props: {
  39355. id: {
  39356. type: String,
  39357. default: null
  39358. },
  39359. style: null,
  39360. class: null,
  39361. items: {
  39362. type: Array,
  39363. default: null
  39364. },
  39365. itemSize: {
  39366. type: [Number,Array],
  39367. default: 0
  39368. },
  39369. scrollHeight: null,
  39370. scrollWidth: null,
  39371. orientation: {
  39372. type: String,
  39373. default: 'vertical'
  39374. },
  39375. numToleratedItems: {
  39376. type: Number,
  39377. default: null
  39378. },
  39379. delay: {
  39380. type: Number,
  39381. default: 0
  39382. },
  39383. lazy: {
  39384. type: Boolean,
  39385. default: false
  39386. },
  39387. disabled: {
  39388. type: Boolean,
  39389. default: false
  39390. },
  39391. loaderDisabled: {
  39392. type: Boolean,
  39393. default: false
  39394. },
  39395. columns: {
  39396. type: Array,
  39397. default: null
  39398. },
  39399. loading: {
  39400. type: Boolean,
  39401. default: false
  39402. },
  39403. showSpacer: {
  39404. type: Boolean,
  39405. default: true
  39406. },
  39407. showLoader: {
  39408. type: Boolean,
  39409. default: false
  39410. }
  39411. },
  39412. data() {
  39413. return {
  39414. first: this.isBoth() ? { rows: 0, cols: 0 } : 0,
  39415. last: this.isBoth() ? { rows: 0, cols: 0 } : 0,
  39416. numItemsInViewport: this.isBoth() ? { rows: 0, cols: 0 } : 0,
  39417. lastScrollPos: this.isBoth() ? { top: 0, left: 0 } : 0,
  39418. d_numToleratedItems: this.numToleratedItems,
  39419. d_loading: this.loading,
  39420. loaderArr: [],
  39421. spacerStyle: {},
  39422. contentStyle: {}
  39423. }
  39424. },
  39425. element: null,
  39426. content: null,
  39427. lastScrollPos: null,
  39428. scrollTimeout: null,
  39429. mounted() {
  39430. this.init();
  39431. this.lastScrollPos = this.isBoth() ? { top: 0, left: 0 } : 0;
  39432. },
  39433. watch: {
  39434. numToleratedItems(newValue) {
  39435. this.d_numToleratedItems = newValue;
  39436. },
  39437. loading(newValue) {
  39438. this.d_loading = newValue;
  39439. },
  39440. items(newValue, oldValue) {
  39441. if (!oldValue || oldValue.length !== (newValue || []).length) {
  39442. this.init();
  39443. }
  39444. },
  39445. orientation() {
  39446. this.lastScrollPos = this.isBoth() ? { top: 0, left: 0 } : 0;
  39447. }
  39448. },
  39449. methods: {
  39450. init() {
  39451. this.setSize();
  39452. this.calculateOptions();
  39453. this.setSpacerSize();
  39454. },
  39455. isVertical() {
  39456. return this.orientation === 'vertical';
  39457. },
  39458. isHorizontal() {
  39459. return this.orientation === 'horizontal';
  39460. },
  39461. isBoth() {
  39462. return this.orientation === 'both';
  39463. },
  39464. scrollTo(options) {
  39465. this.element && this.element.scrollTo(options);
  39466. },
  39467. scrollToIndex(index, behavior = 'auto') {
  39468. const both = this.isBoth();
  39469. const horizontal = this.isHorizontal();
  39470. const first = this.first;
  39471. const { numToleratedItems } = this.calculateNumItems();
  39472. const itemSize = this.itemSize;
  39473. const contentPos = this.getContentPosition();
  39474. const calculateFirst = (_index = 0, _numT) => (_index <= _numT ? 0 : _index);
  39475. const calculateCoord = (_first, _size, _cpos) => (_first * _size) + _cpos;
  39476. const scrollTo = (left = 0, top = 0) => this.scrollTo({ left, top, behavior });
  39477. if (both) {
  39478. const newFirst = { rows: calculateFirst(index[0], numToleratedItems[0]), cols: calculateFirst(index[1], numToleratedItems[1]) };
  39479. if (newFirst.rows !== first.rows || newFirst.cols !== first.cols) {
  39480. scrollTo(calculateCoord(newFirst.cols, itemSize[1], contentPos.left), calculateCoord(newFirst.rows, itemSize[0], contentPos.top));
  39481. this.first = newFirst;
  39482. }
  39483. }
  39484. else {
  39485. const newFirst = calculateFirst(index, numToleratedItems);
  39486. if (newFirst !== first) {
  39487. horizontal ? scrollTo(calculateCoord(newFirst, itemSize, contentPos.left), 0) : scrollTo(0, calculateCoord(newFirst, itemSize, contentPos.top));
  39488. this.first = newFirst;
  39489. }
  39490. }
  39491. },
  39492. scrollInView(index, to, behavior = 'auto') {
  39493. if (to) {
  39494. const both = this.isBoth();
  39495. const horizontal = this.isHorizontal();
  39496. const { first, viewport } = this.getRenderedRange();
  39497. const scrollTo = (left = 0, top = 0) => this.scrollTo({ left, top, behavior });
  39498. const isToStart = to === 'to-start';
  39499. const isToEnd = to === 'to-end';
  39500. if (isToStart) {
  39501. if (both) {
  39502. if (viewport.first.rows - first.rows > index[0]) {
  39503. scrollTo(viewport.first.cols * this.itemSize[1], (viewport.first.rows - 1) * this.itemSize[0]);
  39504. }
  39505. else if (viewport.first.cols - first.cols > index[1]) {
  39506. scrollTo((viewport.first.cols - 1) * this.itemSize[1], viewport.first.rows * this.itemSize[0]);
  39507. }
  39508. }
  39509. else {
  39510. if (viewport.first - first > index) {
  39511. const pos = (viewport.first - 1) * this.itemSize;
  39512. horizontal ? scrollTo(pos, 0) : scrollTo(0, pos);
  39513. }
  39514. }
  39515. }
  39516. else if (isToEnd) {
  39517. if (both) {
  39518. if (viewport.last.rows - first.rows <= index[0] + 1) {
  39519. scrollTo(viewport.first.cols * this.itemSize[1], (viewport.first.rows + 1) * this.itemSize[0]);
  39520. }
  39521. else if (viewport.last.cols - first.cols <= index[1] + 1) {
  39522. scrollTo((viewport.first.cols + 1) * this.itemSize[1], viewport.first.rows * this.itemSize[0]);
  39523. }
  39524. }
  39525. else {
  39526. if (viewport.last - first <= index + 1) {
  39527. const pos = (viewport.first + 1) * this.itemSize;
  39528. horizontal ? scrollTo(pos, 0) : scrollTo(0, pos);
  39529. }
  39530. }
  39531. }
  39532. }
  39533. else {
  39534. this.scrollToIndex(index, behavior);
  39535. }
  39536. },
  39537. getRenderedRange() {
  39538. const calculateFirstInViewport = (_pos, _size) => Math.floor(_pos / (_size || _pos));
  39539. let firstInViewport = this.first;
  39540. let lastInViewport = 0;
  39541. if (this.element) {
  39542. const both = this.isBoth();
  39543. const horizontal = this.isHorizontal();
  39544. const scrollTop = this.element.scrollTop;
  39545. const scrollLeft = this.element.scrollLeft;
  39546. if (both) {
  39547. firstInViewport = { rows: calculateFirstInViewport(scrollTop, this.itemSize[0]), cols: calculateFirstInViewport(scrollLeft, this.itemSize[1]) };
  39548. lastInViewport = { rows: firstInViewport.rows + this.numItemsInViewport.rows, cols: firstInViewport.cols + this.numItemsInViewport.cols };
  39549. }
  39550. else {
  39551. const scrollPos = horizontal ? scrollLeft : scrollTop;
  39552. firstInViewport = calculateFirstInViewport(scrollPos, this.itemSize);
  39553. lastInViewport = firstInViewport + this.numItemsInViewport;
  39554. }
  39555. }
  39556. return {
  39557. first: this.first,
  39558. last: this.last,
  39559. viewport: {
  39560. first: firstInViewport,
  39561. last: lastInViewport
  39562. }
  39563. };
  39564. },
  39565. calculateNumItems() {
  39566. const both = this.isBoth();
  39567. const horizontal = this.isHorizontal();
  39568. const itemSize = this.itemSize;
  39569. const contentPos = this.getContentPosition();
  39570. const contentWidth = this.element ? this.element.offsetWidth - contentPos.left : 0;
  39571. const contentHeight = this.element ? this.element.offsetHeight - contentPos.top : 0;
  39572. const calculateNumItemsInViewport = (_contentSize, _itemSize) => Math.ceil(_contentSize / (_itemSize || _contentSize));
  39573. const calculateNumToleratedItems = (_numItems) => Math.ceil(_numItems / 2);
  39574. const numItemsInViewport = both ?
  39575. { rows: calculateNumItemsInViewport(contentHeight, itemSize[0]), cols: calculateNumItemsInViewport(contentWidth, itemSize[1]) } :
  39576. calculateNumItemsInViewport((horizontal ? contentWidth : contentHeight), itemSize);
  39577. const numToleratedItems = this.d_numToleratedItems || (both ?
  39578. [calculateNumToleratedItems(numItemsInViewport.rows), calculateNumToleratedItems(numItemsInViewport.cols)] :
  39579. calculateNumToleratedItems(numItemsInViewport));
  39580. return { numItemsInViewport, numToleratedItems };
  39581. },
  39582. calculateOptions() {
  39583. const both = this.isBoth();
  39584. const first = this.first;
  39585. const { numItemsInViewport, numToleratedItems } = this.calculateNumItems();
  39586. const calculateLast = (_first, _num, _numT, _isCols) => this.getLast(_first + _num + ((_first < _numT ? 2 : 3) * _numT), _isCols);
  39587. const last = both ?
  39588. { rows: calculateLast(first.rows, numItemsInViewport.rows, numToleratedItems[0]), cols: calculateLast(first.cols, numItemsInViewport.cols, numToleratedItems[1], true) } :
  39589. calculateLast(first, numItemsInViewport, numToleratedItems);
  39590. this.last = last;
  39591. this.numItemsInViewport = numItemsInViewport;
  39592. this.d_numToleratedItems = numToleratedItems;
  39593. this.$emit('update:numToleratedItems', this.d_numToleratedItems);
  39594. if (this.showLoader) {
  39595. this.loaderArr = both ?
  39596. Array.from({ length: numItemsInViewport.rows }).map(() => Array.from({ length: numItemsInViewport.cols })) :
  39597. Array.from({ length: numItemsInViewport });
  39598. }
  39599. if (this.lazy) {
  39600. this.$emit('lazy-load', { first, last });
  39601. }
  39602. },
  39603. getLast(last = 0, isCols) {
  39604. if (this.items) {
  39605. return Math.min((isCols ? (this.columns || this.items[0]).length : this.items.length), last);
  39606. }
  39607. return 0;
  39608. },
  39609. getContentPosition() {
  39610. if (this.content) {
  39611. const style = getComputedStyle(this.content);
  39612. const left = parseInt(style.paddingLeft, 10) + Math.max(parseInt(style.left, 10), 0);
  39613. const right = parseInt(style.paddingRight, 10) + Math.max(parseInt(style.right, 10), 0);
  39614. const top = parseInt(style.paddingTop, 10) + Math.max(parseInt(style.top, 10), 0);
  39615. const bottom = parseInt(style.paddingBottom, 10) + Math.max(parseInt(style.bottom, 10), 0);
  39616. return { left, right, top, bottom, x: left + right, y: top + bottom };
  39617. }
  39618. return { left: 0, right: 0, top: 0, bottom: 0, x: 0, y: 0 };
  39619. },
  39620. setSize() {
  39621. if (this.element) {
  39622. const both = this.isBoth();
  39623. const horizontal = this.isHorizontal();
  39624. const parentElement = this.element.parentElement;
  39625. const width = this.scrollWidth || `${(this.element.offsetWidth || parentElement.offsetWidth)}px`;
  39626. const height = this.scrollHeight || `${(this.element.offsetHeight || parentElement.offsetHeight)}px`;
  39627. const setProp = (_name, _value) => this.element.style[_name] = _value;
  39628. if (both || horizontal) {
  39629. setProp('height', height);
  39630. setProp('width', width);
  39631. }
  39632. else {
  39633. setProp('height', height);
  39634. }
  39635. }
  39636. },
  39637. setSpacerSize() {
  39638. const items = this.items;
  39639. if (items) {
  39640. const both = this.isBoth();
  39641. const horizontal = this.isHorizontal();
  39642. const contentPos = this.getContentPosition();
  39643. const setProp = (_name, _value, _size, _cpos = 0) => this.spacerStyle = { ...this.spacerStyle, ...{ [`${_name}`]: (((_value || []).length * _size) + _cpos) + 'px' } };
  39644. if (both) {
  39645. setProp('height', items, this.itemSize[0], contentPos.y);
  39646. setProp('width', (this.columns || items[1]), this.itemSize[1], contentPos.x);
  39647. }
  39648. else {
  39649. horizontal ? setProp('width', (this.columns || items), this.itemSize, contentPos.x) : setProp('height', items, this.itemSize, contentPos.y);
  39650. }
  39651. }
  39652. },
  39653. setContentPosition(pos) {
  39654. if (this.content) {
  39655. const both = this.isBoth();
  39656. const horizontal = this.isHorizontal();
  39657. const first = pos ? pos.first : this.first;
  39658. const calculateTranslateVal = (_first, _size) => (_first * _size);
  39659. const setTransform = (_x = 0, _y = 0) => {
  39660. this.contentStyle = { ...this.contentStyle, ...{ transform: `translate3d(${_x}px, ${_y}px, 0)` } };
  39661. };
  39662. if (both) {
  39663. setTransform(calculateTranslateVal(first.cols, this.itemSize[1]), calculateTranslateVal(first.rows, this.itemSize[0]));
  39664. }
  39665. else {
  39666. const translateVal = calculateTranslateVal(first, this.itemSize);
  39667. horizontal ? setTransform(translateVal, 0) : setTransform(0, translateVal);
  39668. }
  39669. }
  39670. },
  39671. onScrollPositionChange(event) {
  39672. const target = event.target;
  39673. const both = this.isBoth();
  39674. const horizontal = this.isHorizontal();
  39675. const contentPos = this.getContentPosition();
  39676. const calculateScrollPos = (_pos, _cpos) => _pos ? (_pos > _cpos ? _pos - _cpos : _pos) : 0;
  39677. const calculateCurrentIndex = (_pos, _size) => Math.floor(_pos / (_size || _pos));
  39678. const calculateTriggerIndex = (_currentIndex, _first, _last, _num, _numT, _isScrollDownOrRight) => {
  39679. return (_currentIndex <= _numT ? _numT : (_isScrollDownOrRight ? (_last - _num - _numT) : (_first + _numT - 1)))
  39680. };
  39681. const calculateFirst = (_currentIndex, _triggerIndex, _first, _last, _num, _numT, _isScrollDownOrRight) => {
  39682. if (_currentIndex <= _numT)
  39683. return 0;
  39684. else
  39685. return Math.max(0, _isScrollDownOrRight ?
  39686. (_currentIndex < _triggerIndex ? _first : _currentIndex - _numT) :
  39687. (_currentIndex > _triggerIndex ? _first : _currentIndex - (2 * _numT)));
  39688. };
  39689. const calculateLast = (_currentIndex, _first, _last, _num, _numT, _isCols) => {
  39690. let lastValue = _first + _num + (2 * _numT);
  39691. if (_currentIndex >= _numT) {
  39692. lastValue += (_numT + 1);
  39693. }
  39694. return this.getLast(lastValue, _isCols);
  39695. };
  39696. const scrollTop = calculateScrollPos(target.scrollTop, contentPos.top);
  39697. const scrollLeft = calculateScrollPos(target.scrollLeft, contentPos.left);
  39698. let newFirst = 0;
  39699. let newLast = this.last;
  39700. let isRangeChanged = false;
  39701. if (both) {
  39702. const isScrollDown = this.lastScrollPos.top <= scrollTop;
  39703. const isScrollRight = this.lastScrollPos.left <= scrollLeft;
  39704. const currentIndex = { rows: calculateCurrentIndex(scrollTop, this.itemSize[0]), cols: calculateCurrentIndex(scrollLeft, this.itemSize[1]) };
  39705. const triggerIndex = {
  39706. rows: calculateTriggerIndex(currentIndex.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0], isScrollDown),
  39707. cols: calculateTriggerIndex(currentIndex.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], isScrollRight)
  39708. };
  39709. newFirst = {
  39710. rows: calculateFirst(currentIndex.rows, triggerIndex.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0], isScrollDown),
  39711. cols: calculateFirst(currentIndex.cols, triggerIndex.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], isScrollRight)
  39712. };
  39713. newLast = {
  39714. rows: calculateLast(currentIndex.rows, newFirst.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0]),
  39715. cols: calculateLast(currentIndex.cols, newFirst.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], true)
  39716. };
  39717. isRangeChanged = (newFirst.rows !== this.first.rows && newLast.rows !== this.last.rows) || (newFirst.cols !== this.first.cols && newLast.cols !== this.last.cols);
  39718. this.lastScrollPos = { top: scrollTop, left: scrollLeft };
  39719. }
  39720. else {
  39721. const scrollPos = horizontal ? scrollLeft : scrollTop;
  39722. const isScrollDownOrRight = this.lastScrollPos <= scrollPos;
  39723. const currentIndex = calculateCurrentIndex(scrollPos, this.itemSize);
  39724. const triggerIndex = calculateTriggerIndex(currentIndex, this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, isScrollDownOrRight);
  39725. newFirst = calculateFirst(currentIndex, triggerIndex, this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, isScrollDownOrRight);
  39726. newLast = calculateLast(currentIndex, newFirst, this.last, this.numItemsInViewport, this.d_numToleratedItems);
  39727. isRangeChanged = newFirst !== this.first && newLast !== this.last;
  39728. this.lastScrollPos = scrollPos;
  39729. }
  39730. return {
  39731. first: newFirst,
  39732. last: newLast,
  39733. isRangeChanged
  39734. }
  39735. },
  39736. onScrollChange(event) {
  39737. const { first, last, isRangeChanged } = this.onScrollPositionChange(event);
  39738. if (isRangeChanged) {
  39739. const newState = { first, last };
  39740. this.setContentPosition(newState);
  39741. this.first = first;
  39742. this.last = last;
  39743. this.$emit('scroll-index-change', newState);
  39744. if (this.lazy) {
  39745. this.$emit('lazy-load', newState);
  39746. }
  39747. }
  39748. },
  39749. onScroll(event) {
  39750. this.$emit('scroll', event);
  39751. if (this.delay) {
  39752. if (this.scrollTimeout) {
  39753. clearTimeout(this.scrollTimeout);
  39754. }
  39755. if (!this.d_loading && this.showLoader) {
  39756. const { isRangeChanged: changed } = this.onScrollPositionChange(event);
  39757. changed && (this.d_loading = true);
  39758. }
  39759. this.scrollTimeout = setTimeout(() => {
  39760. this.onScrollChange(event);
  39761. if (this.d_loading && this.showLoader && !this.lazy) {
  39762. this.d_loading = false;
  39763. }
  39764. }, this.delay);
  39765. }
  39766. else {
  39767. this.onScrollChange(event);
  39768. }
  39769. },
  39770. getOptions(renderedIndex) {
  39771. const count = (this.items || []).length;
  39772. const index = this.isBoth() ? this.first.rows + renderedIndex : this.first + renderedIndex;
  39773. return {
  39774. index,
  39775. count,
  39776. first: index === 0,
  39777. last: index === (count - 1),
  39778. even: index % 2 === 0,
  39779. odd: index % 2 !== 0
  39780. };
  39781. },
  39782. getLoaderOptions(index, extOptions) {
  39783. let count = this.loaderArr.length;
  39784. return {
  39785. index,
  39786. count,
  39787. first: index === 0,
  39788. last: index === (count - 1),
  39789. even: index % 2 === 0,
  39790. odd: index % 2 !== 0,
  39791. ...extOptions
  39792. }
  39793. },
  39794. elementRef(el) {
  39795. this.element = el;
  39796. },
  39797. contentRef(el) {
  39798. this.content = el;
  39799. }
  39800. },
  39801. computed: {
  39802. containerClass() {
  39803. return ['p-virtualscroller', {
  39804. 'p-both-scroll': this.isBoth(),
  39805. 'p-horizontal-scroll': this.isHorizontal()
  39806. }, this.class];
  39807. },
  39808. contentClass() {
  39809. return ['p-virtualscroller-content', {
  39810. 'p-virtualscroller-loading': this.d_loading
  39811. }];
  39812. },
  39813. loaderClass() {
  39814. return ['p-virtualscroller-loader', {
  39815. 'p-component-overlay': !this.$slots.loader
  39816. }];
  39817. },
  39818. loadedItems() {
  39819. const items = this.items;
  39820. if (items && !this.d_loading) {
  39821. if (this.isBoth()) {
  39822. return items.slice(this.first.rows, this.last.rows).map(item => this.columns ? item : item.slice(this.first.cols, this.last.cols));
  39823. }
  39824. else if (this.isHorizontal() && this.columns)
  39825. return items;
  39826. else
  39827. return items.slice(this.first, this.last);
  39828. }
  39829. return [];
  39830. },
  39831. loadedRows() {
  39832. return this.d_loading ? (this.loaderDisabled ? this.loaderArr : []) : this.loadedItems;
  39833. },
  39834. loadedColumns() {
  39835. if (this.columns) {
  39836. const both = this.isBoth();
  39837. const horizontal = this.isHorizontal();
  39838. if (both || horizontal) {
  39839. return this.d_loading && this.loaderDisabled ?
  39840. (both ? this.loaderArr[0] : this.loaderArr):
  39841. this.columns.slice((both ? this.first.cols : this.first), (both ? this.last.cols : this.last));
  39842. }
  39843. }
  39844. return this.columns;
  39845. }
  39846. }
  39847. };
  39848. const _hoisted_1 = {
  39849. key: 1,
  39850. class: "p-virtualscroller-loading-icon pi pi-spinner pi-spin"
  39851. };
  39852. function render(_ctx, _cache, $props, $setup, $data, $options) {
  39853. return (!$props.disabled)
  39854. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("div", {
  39855. key: 0,
  39856. ref: $options.elementRef,
  39857. class: $options.containerClass,
  39858. tabindex: 0,
  39859. style: $props.style,
  39860. onScroll: _cache[1] || (_cache[1] = (...args) => ($options.onScroll && $options.onScroll(...args)))
  39861. }, [
  39862. (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, "content", {
  39863. styleClass: $options.contentClass,
  39864. items: $options.loadedItems,
  39865. getItemOptions: $options.getOptions,
  39866. loading: $data.d_loading,
  39867. getLoaderOptions: $options.getLoaderOptions,
  39868. itemSize: $props.itemSize,
  39869. rows: $options.loadedRows,
  39870. columns: $options.loadedColumns,
  39871. contentRef: $options.contentRef,
  39872. spacerStyle: $data.spacerStyle,
  39873. contentStyle: $data.contentStyle,
  39874. vertical: $options.isVertical(),
  39875. horizontal: $options.isHorizontal(),
  39876. both: $options.isBoth()
  39877. }, () => [
  39878. (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)("div", {
  39879. ref: $options.contentRef,
  39880. class: $options.contentClass,
  39881. style: $data.contentStyle
  39882. }, [
  39883. ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderList)($options.loadedItems, (item, index) => {
  39884. return (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, "item", {
  39885. key: index,
  39886. item: item,
  39887. options: $options.getOptions(index)
  39888. })
  39889. }), 128))
  39890. ], 6)
  39891. ]),
  39892. ($props.showSpacer)
  39893. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("div", {
  39894. key: 0,
  39895. class: "p-virtualscroller-spacer",
  39896. style: $data.spacerStyle
  39897. }, null, 4))
  39898. : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)("", true),
  39899. (!$props.loaderDisabled && $props.showLoader && $data.d_loading)
  39900. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("div", {
  39901. key: 1,
  39902. class: $options.loaderClass
  39903. }, [
  39904. (_ctx.$slots && _ctx.$slots.loader)
  39905. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, { key: 0 }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderList)($data.loaderArr, (_, index) => {
  39906. return (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, "loader", {
  39907. key: index,
  39908. options: $options.getLoaderOptions(index, $options.isBoth() && { numCols: _ctx.d_numItemsInViewport.cols })
  39909. })
  39910. }), 128))
  39911. : ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("i", _hoisted_1))
  39912. ], 2))
  39913. : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)("", true)
  39914. ], 38))
  39915. : ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, { key: 1 }, [
  39916. (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, "default"),
  39917. (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, "content", {
  39918. items: $props.items,
  39919. rows: $props.items,
  39920. columns: $options.loadedColumns
  39921. })
  39922. ], 64))
  39923. }
  39924. function styleInject(css, ref) {
  39925. if ( ref === void 0 ) ref = {};
  39926. var insertAt = ref.insertAt;
  39927. if (!css || typeof document === 'undefined') { return; }
  39928. var head = document.head || document.getElementsByTagName('head')[0];
  39929. var style = document.createElement('style');
  39930. style.type = 'text/css';
  39931. if (insertAt === 'top') {
  39932. if (head.firstChild) {
  39933. head.insertBefore(style, head.firstChild);
  39934. } else {
  39935. head.appendChild(style);
  39936. }
  39937. } else {
  39938. head.appendChild(style);
  39939. }
  39940. if (style.styleSheet) {
  39941. style.styleSheet.cssText = css;
  39942. } else {
  39943. style.appendChild(document.createTextNode(css));
  39944. }
  39945. }
  39946. var css_248z = "\n.p-virtualscroller {\n position: relative;\n overflow: auto;\n contain: strict;\n -webkit-transform: translateZ(0);\n transform: translateZ(0);\n will-change: scroll-position;\n outline: 0 none;\n}\n.p-virtualscroller-content {\n position: absolute;\n top: 0;\n left: 0;\n contain: content;\n min-height: 100%;\n min-width: 100%;\n will-change: transform;\n}\n.p-virtualscroller-spacer {\n position: absolute;\n top: 0;\n left: 0;\n height: 1px;\n width: 1px;\n -webkit-transform-origin: 0 0;\n transform-origin: 0 0;\n pointer-events: none;\n}\n.p-virtualscroller .p-virtualscroller-loader {\n position: sticky;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n.p-virtualscroller-loader.p-component-overlay {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n";
  39947. styleInject(css_248z);
  39948. script.render = render;
  39949. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  39950. /***/ }),
  39951. /***/ "./node_modules/process/browser.js":
  39952. /*!*****************************************!*\
  39953. !*** ./node_modules/process/browser.js ***!
  39954. \*****************************************/
  39955. /***/ ((module) => {
  39956. // shim for using process in browser
  39957. var process = module.exports = {};
  39958. // cached from whatever global is present so that test runners that stub it
  39959. // don't break things. But we need to wrap it in a try catch in case it is
  39960. // wrapped in strict mode code which doesn't define any globals. It's inside a
  39961. // function because try/catches deoptimize in certain engines.
  39962. var cachedSetTimeout;
  39963. var cachedClearTimeout;
  39964. function defaultSetTimout() {
  39965. throw new Error('setTimeout has not been defined');
  39966. }
  39967. function defaultClearTimeout () {
  39968. throw new Error('clearTimeout has not been defined');
  39969. }
  39970. (function () {
  39971. try {
  39972. if (typeof setTimeout === 'function') {
  39973. cachedSetTimeout = setTimeout;
  39974. } else {
  39975. cachedSetTimeout = defaultSetTimout;
  39976. }
  39977. } catch (e) {
  39978. cachedSetTimeout = defaultSetTimout;
  39979. }
  39980. try {
  39981. if (typeof clearTimeout === 'function') {
  39982. cachedClearTimeout = clearTimeout;
  39983. } else {
  39984. cachedClearTimeout = defaultClearTimeout;
  39985. }
  39986. } catch (e) {
  39987. cachedClearTimeout = defaultClearTimeout;
  39988. }
  39989. } ())
  39990. function runTimeout(fun) {
  39991. if (cachedSetTimeout === setTimeout) {
  39992. //normal enviroments in sane situations
  39993. return setTimeout(fun, 0);
  39994. }
  39995. // if setTimeout wasn't available but was latter defined
  39996. if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
  39997. cachedSetTimeout = setTimeout;
  39998. return setTimeout(fun, 0);
  39999. }
  40000. try {
  40001. // when when somebody has screwed with setTimeout but no I.E. maddness
  40002. return cachedSetTimeout(fun, 0);
  40003. } catch(e){
  40004. try {
  40005. // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
  40006. return cachedSetTimeout.call(null, fun, 0);
  40007. } catch(e){
  40008. // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
  40009. return cachedSetTimeout.call(this, fun, 0);
  40010. }
  40011. }
  40012. }
  40013. function runClearTimeout(marker) {
  40014. if (cachedClearTimeout === clearTimeout) {
  40015. //normal enviroments in sane situations
  40016. return clearTimeout(marker);
  40017. }
  40018. // if clearTimeout wasn't available but was latter defined
  40019. if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
  40020. cachedClearTimeout = clearTimeout;
  40021. return clearTimeout(marker);
  40022. }
  40023. try {
  40024. // when when somebody has screwed with setTimeout but no I.E. maddness
  40025. return cachedClearTimeout(marker);
  40026. } catch (e){
  40027. try {
  40028. // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
  40029. return cachedClearTimeout.call(null, marker);
  40030. } catch (e){
  40031. // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
  40032. // Some versions of I.E. have different rules for clearTimeout vs setTimeout
  40033. return cachedClearTimeout.call(this, marker);
  40034. }
  40035. }
  40036. }
  40037. var queue = [];
  40038. var draining = false;
  40039. var currentQueue;
  40040. var queueIndex = -1;
  40041. function cleanUpNextTick() {
  40042. if (!draining || !currentQueue) {
  40043. return;
  40044. }
  40045. draining = false;
  40046. if (currentQueue.length) {
  40047. queue = currentQueue.concat(queue);
  40048. } else {
  40049. queueIndex = -1;
  40050. }
  40051. if (queue.length) {
  40052. drainQueue();
  40053. }
  40054. }
  40055. function drainQueue() {
  40056. if (draining) {
  40057. return;
  40058. }
  40059. var timeout = runTimeout(cleanUpNextTick);
  40060. draining = true;
  40061. var len = queue.length;
  40062. while(len) {
  40063. currentQueue = queue;
  40064. queue = [];
  40065. while (++queueIndex < len) {
  40066. if (currentQueue) {
  40067. currentQueue[queueIndex].run();
  40068. }
  40069. }
  40070. queueIndex = -1;
  40071. len = queue.length;
  40072. }
  40073. currentQueue = null;
  40074. draining = false;
  40075. runClearTimeout(timeout);
  40076. }
  40077. process.nextTick = function (fun) {
  40078. var args = new Array(arguments.length - 1);
  40079. if (arguments.length > 1) {
  40080. for (var i = 1; i < arguments.length; i++) {
  40081. args[i - 1] = arguments[i];
  40082. }
  40083. }
  40084. queue.push(new Item(fun, args));
  40085. if (queue.length === 1 && !draining) {
  40086. runTimeout(drainQueue);
  40087. }
  40088. };
  40089. // v8 likes predictible objects
  40090. function Item(fun, array) {
  40091. this.fun = fun;
  40092. this.array = array;
  40093. }
  40094. Item.prototype.run = function () {
  40095. this.fun.apply(null, this.array);
  40096. };
  40097. process.title = 'browser';
  40098. process.browser = true;
  40099. process.env = {};
  40100. process.argv = [];
  40101. process.version = ''; // empty string to avoid regexp issues
  40102. process.versions = {};
  40103. function noop() {}
  40104. process.on = noop;
  40105. process.addListener = noop;
  40106. process.once = noop;
  40107. process.off = noop;
  40108. process.removeListener = noop;
  40109. process.removeAllListeners = noop;
  40110. process.emit = noop;
  40111. process.prependListener = noop;
  40112. process.prependOnceListener = noop;
  40113. process.listeners = function (name) { return [] }
  40114. process.binding = function (name) {
  40115. throw new Error('process.binding is not supported');
  40116. };
  40117. process.cwd = function () { return '/' };
  40118. process.chdir = function (dir) {
  40119. throw new Error('process.chdir is not supported');
  40120. };
  40121. process.umask = function() { return 0; };
  40122. /***/ }),
  40123. /***/ "./node_modules/side-channel/index.js":
  40124. /*!********************************************!*\
  40125. !*** ./node_modules/side-channel/index.js ***!
  40126. \********************************************/
  40127. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  40128. "use strict";
  40129. var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "./node_modules/get-intrinsic/index.js");
  40130. var callBound = __webpack_require__(/*! call-bind/callBound */ "./node_modules/call-bind/callBound.js");
  40131. var inspect = __webpack_require__(/*! object-inspect */ "./node_modules/object-inspect/index.js");
  40132. var $TypeError = GetIntrinsic('%TypeError%');
  40133. var $WeakMap = GetIntrinsic('%WeakMap%', true);
  40134. var $Map = GetIntrinsic('%Map%', true);
  40135. var $weakMapGet = callBound('WeakMap.prototype.get', true);
  40136. var $weakMapSet = callBound('WeakMap.prototype.set', true);
  40137. var $weakMapHas = callBound('WeakMap.prototype.has', true);
  40138. var $mapGet = callBound('Map.prototype.get', true);
  40139. var $mapSet = callBound('Map.prototype.set', true);
  40140. var $mapHas = callBound('Map.prototype.has', true);
  40141. /*
  40142. * This function traverses the list returning the node corresponding to the
  40143. * given key.
  40144. *
  40145. * That node is also moved to the head of the list, so that if it's accessed
  40146. * again we don't need to traverse the whole list. By doing so, all the recently
  40147. * used nodes can be accessed relatively quickly.
  40148. */
  40149. var listGetNode = function (list, key) { // eslint-disable-line consistent-return
  40150. for (var prev = list, curr; (curr = prev.next) !== null; prev = curr) {
  40151. if (curr.key === key) {
  40152. prev.next = curr.next;
  40153. curr.next = list.next;
  40154. list.next = curr; // eslint-disable-line no-param-reassign
  40155. return curr;
  40156. }
  40157. }
  40158. };
  40159. var listGet = function (objects, key) {
  40160. var node = listGetNode(objects, key);
  40161. return node && node.value;
  40162. };
  40163. var listSet = function (objects, key, value) {
  40164. var node = listGetNode(objects, key);
  40165. if (node) {
  40166. node.value = value;
  40167. } else {
  40168. // Prepend the new node to the beginning of the list
  40169. objects.next = { // eslint-disable-line no-param-reassign
  40170. key: key,
  40171. next: objects.next,
  40172. value: value
  40173. };
  40174. }
  40175. };
  40176. var listHas = function (objects, key) {
  40177. return !!listGetNode(objects, key);
  40178. };
  40179. module.exports = function getSideChannel() {
  40180. var $wm;
  40181. var $m;
  40182. var $o;
  40183. var channel = {
  40184. assert: function (key) {
  40185. if (!channel.has(key)) {
  40186. throw new $TypeError('Side channel does not contain ' + inspect(key));
  40187. }
  40188. },
  40189. get: function (key) { // eslint-disable-line consistent-return
  40190. if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
  40191. if ($wm) {
  40192. return $weakMapGet($wm, key);
  40193. }
  40194. } else if ($Map) {
  40195. if ($m) {
  40196. return $mapGet($m, key);
  40197. }
  40198. } else {
  40199. if ($o) { // eslint-disable-line no-lonely-if
  40200. return listGet($o, key);
  40201. }
  40202. }
  40203. },
  40204. has: function (key) {
  40205. if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
  40206. if ($wm) {
  40207. return $weakMapHas($wm, key);
  40208. }
  40209. } else if ($Map) {
  40210. if ($m) {
  40211. return $mapHas($m, key);
  40212. }
  40213. } else {
  40214. if ($o) { // eslint-disable-line no-lonely-if
  40215. return listHas($o, key);
  40216. }
  40217. }
  40218. return false;
  40219. },
  40220. set: function (key, value) {
  40221. if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
  40222. if (!$wm) {
  40223. $wm = new $WeakMap();
  40224. }
  40225. $weakMapSet($wm, key, value);
  40226. } else if ($Map) {
  40227. if (!$m) {
  40228. $m = new $Map();
  40229. }
  40230. $mapSet($m, key, value);
  40231. } else {
  40232. if (!$o) {
  40233. /*
  40234. * Initialize the linked list as an empty node, so that we don't have
  40235. * to special-case handling of the first node: we can always refer to
  40236. * it as (previous node).next, instead of something like (list).head
  40237. */
  40238. $o = { key: {}, next: null };
  40239. }
  40240. listSet($o, key, value);
  40241. }
  40242. }
  40243. };
  40244. return channel;
  40245. };
  40246. /***/ }),
  40247. /***/ "./resources/js/assets/styles/layout.scss":
  40248. /*!************************************************!*\
  40249. !*** ./resources/js/assets/styles/layout.scss ***!
  40250. \************************************************/
  40251. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  40252. "use strict";
  40253. __webpack_require__.r(__webpack_exports__);
  40254. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  40255. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  40256. /* harmony export */ });
  40257. /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
  40258. /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
  40259. /* harmony import */ var _node_modules_css_loader_dist_cjs_js_clonedRuleSet_11_use_1_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_11_use_2_node_modules_sass_loader_dist_cjs_js_clonedRuleSet_11_use_3_layout_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !!../../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-11.use[1]!../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-11.use[2]!../../../../node_modules/sass-loader/dist/cjs.js??clonedRuleSet-11.use[3]!./layout.scss */ "./node_modules/css-loader/dist/cjs.js??clonedRuleSet-11.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-11.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-11.use[3]!./resources/js/assets/styles/layout.scss");
  40260. var options = {};
  40261. options.insert = "head";
  40262. options.singleton = false;
  40263. var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_css_loader_dist_cjs_js_clonedRuleSet_11_use_1_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_11_use_2_node_modules_sass_loader_dist_cjs_js_clonedRuleSet_11_use_3_layout_scss__WEBPACK_IMPORTED_MODULE_1__["default"], options);
  40264. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_css_loader_dist_cjs_js_clonedRuleSet_11_use_1_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_11_use_2_node_modules_sass_loader_dist_cjs_js_clonedRuleSet_11_use_3_layout_scss__WEBPACK_IMPORTED_MODULE_1__["default"].locals || {});
  40265. /***/ }),
  40266. /***/ "./node_modules/primeflex/primeflex.css":
  40267. /*!**********************************************!*\
  40268. !*** ./node_modules/primeflex/primeflex.css ***!
  40269. \**********************************************/
  40270. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  40271. "use strict";
  40272. __webpack_require__.r(__webpack_exports__);
  40273. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  40274. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  40275. /* harmony export */ });
  40276. /* harmony import */ var _style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
  40277. /* harmony import */ var _style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
  40278. /* harmony import */ var _css_loader_dist_cjs_js_clonedRuleSet_8_use_1_postcss_loader_dist_cjs_js_clonedRuleSet_8_use_2_primeflex_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !!../css-loader/dist/cjs.js??clonedRuleSet-8.use[1]!../postcss-loader/dist/cjs.js??clonedRuleSet-8.use[2]!./primeflex.css */ "./node_modules/css-loader/dist/cjs.js??clonedRuleSet-8.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-8.use[2]!./node_modules/primeflex/primeflex.css");
  40279. var options = {};
  40280. options.insert = "head";
  40281. options.singleton = false;
  40282. var update = _style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_css_loader_dist_cjs_js_clonedRuleSet_8_use_1_postcss_loader_dist_cjs_js_clonedRuleSet_8_use_2_primeflex_css__WEBPACK_IMPORTED_MODULE_1__["default"], options);
  40283. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_css_loader_dist_cjs_js_clonedRuleSet_8_use_1_postcss_loader_dist_cjs_js_clonedRuleSet_8_use_2_primeflex_css__WEBPACK_IMPORTED_MODULE_1__["default"].locals || {});
  40284. /***/ }),
  40285. /***/ "./node_modules/primeicons/primeicons.css":
  40286. /*!************************************************!*\
  40287. !*** ./node_modules/primeicons/primeicons.css ***!
  40288. \************************************************/
  40289. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  40290. "use strict";
  40291. __webpack_require__.r(__webpack_exports__);
  40292. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  40293. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  40294. /* harmony export */ });
  40295. /* harmony import */ var _style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
  40296. /* harmony import */ var _style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
  40297. /* harmony import */ var _css_loader_dist_cjs_js_clonedRuleSet_8_use_1_postcss_loader_dist_cjs_js_clonedRuleSet_8_use_2_primeicons_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !!../css-loader/dist/cjs.js??clonedRuleSet-8.use[1]!../postcss-loader/dist/cjs.js??clonedRuleSet-8.use[2]!./primeicons.css */ "./node_modules/css-loader/dist/cjs.js??clonedRuleSet-8.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-8.use[2]!./node_modules/primeicons/primeicons.css");
  40298. var options = {};
  40299. options.insert = "head";
  40300. options.singleton = false;
  40301. var update = _style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_css_loader_dist_cjs_js_clonedRuleSet_8_use_1_postcss_loader_dist_cjs_js_clonedRuleSet_8_use_2_primeicons_css__WEBPACK_IMPORTED_MODULE_1__["default"], options);
  40302. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_css_loader_dist_cjs_js_clonedRuleSet_8_use_1_postcss_loader_dist_cjs_js_clonedRuleSet_8_use_2_primeicons_css__WEBPACK_IMPORTED_MODULE_1__["default"].locals || {});
  40303. /***/ }),
  40304. /***/ "./node_modules/primevue/resources/primevue.min.css":
  40305. /*!**********************************************************!*\
  40306. !*** ./node_modules/primevue/resources/primevue.min.css ***!
  40307. \**********************************************************/
  40308. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  40309. "use strict";
  40310. __webpack_require__.r(__webpack_exports__);
  40311. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  40312. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  40313. /* harmony export */ });
  40314. /* harmony import */ var _style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
  40315. /* harmony import */ var _style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
  40316. /* harmony import */ var _css_loader_dist_cjs_js_clonedRuleSet_8_use_1_postcss_loader_dist_cjs_js_clonedRuleSet_8_use_2_primevue_min_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !!../../css-loader/dist/cjs.js??clonedRuleSet-8.use[1]!../../postcss-loader/dist/cjs.js??clonedRuleSet-8.use[2]!./primevue.min.css */ "./node_modules/css-loader/dist/cjs.js??clonedRuleSet-8.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-8.use[2]!./node_modules/primevue/resources/primevue.min.css");
  40317. var options = {};
  40318. options.insert = "head";
  40319. options.singleton = false;
  40320. var update = _style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_css_loader_dist_cjs_js_clonedRuleSet_8_use_1_postcss_loader_dist_cjs_js_clonedRuleSet_8_use_2_primevue_min_css__WEBPACK_IMPORTED_MODULE_1__["default"], options);
  40321. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_css_loader_dist_cjs_js_clonedRuleSet_8_use_1_postcss_loader_dist_cjs_js_clonedRuleSet_8_use_2_primevue_min_css__WEBPACK_IMPORTED_MODULE_1__["default"].locals || {});
  40322. /***/ }),
  40323. /***/ "./node_modules/primevue/resources/themes/mdc-light-indigo/theme.css":
  40324. /*!***************************************************************************!*\
  40325. !*** ./node_modules/primevue/resources/themes/mdc-light-indigo/theme.css ***!
  40326. \***************************************************************************/
  40327. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  40328. "use strict";
  40329. __webpack_require__.r(__webpack_exports__);
  40330. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  40331. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  40332. /* harmony export */ });
  40333. /* harmony import */ var _style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
  40334. /* harmony import */ var _style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
  40335. /* harmony import */ var _css_loader_dist_cjs_js_clonedRuleSet_8_use_1_postcss_loader_dist_cjs_js_clonedRuleSet_8_use_2_theme_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !!../../../../css-loader/dist/cjs.js??clonedRuleSet-8.use[1]!../../../../postcss-loader/dist/cjs.js??clonedRuleSet-8.use[2]!./theme.css */ "./node_modules/css-loader/dist/cjs.js??clonedRuleSet-8.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-8.use[2]!./node_modules/primevue/resources/themes/mdc-light-indigo/theme.css");
  40336. var options = {};
  40337. options.insert = "head";
  40338. options.singleton = false;
  40339. var update = _style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_css_loader_dist_cjs_js_clonedRuleSet_8_use_1_postcss_loader_dist_cjs_js_clonedRuleSet_8_use_2_theme_css__WEBPACK_IMPORTED_MODULE_1__["default"], options);
  40340. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_css_loader_dist_cjs_js_clonedRuleSet_8_use_1_postcss_loader_dist_cjs_js_clonedRuleSet_8_use_2_theme_css__WEBPACK_IMPORTED_MODULE_1__["default"].locals || {});
  40341. /***/ }),
  40342. /***/ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js":
  40343. /*!****************************************************************************!*\
  40344. !*** ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js ***!
  40345. \****************************************************************************/
  40346. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  40347. "use strict";
  40348. var isOldIE = function isOldIE() {
  40349. var memo;
  40350. return function memorize() {
  40351. if (typeof memo === 'undefined') {
  40352. // Test for IE <= 9 as proposed by Browserhacks
  40353. // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805
  40354. // Tests for existence of standard globals is to allow style-loader
  40355. // to operate correctly into non-standard environments
  40356. // @see https://github.com/webpack-contrib/style-loader/issues/177
  40357. memo = Boolean(window && document && document.all && !window.atob);
  40358. }
  40359. return memo;
  40360. };
  40361. }();
  40362. var getTarget = function getTarget() {
  40363. var memo = {};
  40364. return function memorize(target) {
  40365. if (typeof memo[target] === 'undefined') {
  40366. var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself
  40367. if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
  40368. try {
  40369. // This will throw an exception if access to iframe is blocked
  40370. // due to cross-origin restrictions
  40371. styleTarget = styleTarget.contentDocument.head;
  40372. } catch (e) {
  40373. // istanbul ignore next
  40374. styleTarget = null;
  40375. }
  40376. }
  40377. memo[target] = styleTarget;
  40378. }
  40379. return memo[target];
  40380. };
  40381. }();
  40382. var stylesInDom = [];
  40383. function getIndexByIdentifier(identifier) {
  40384. var result = -1;
  40385. for (var i = 0; i < stylesInDom.length; i++) {
  40386. if (stylesInDom[i].identifier === identifier) {
  40387. result = i;
  40388. break;
  40389. }
  40390. }
  40391. return result;
  40392. }
  40393. function modulesToDom(list, options) {
  40394. var idCountMap = {};
  40395. var identifiers = [];
  40396. for (var i = 0; i < list.length; i++) {
  40397. var item = list[i];
  40398. var id = options.base ? item[0] + options.base : item[0];
  40399. var count = idCountMap[id] || 0;
  40400. var identifier = "".concat(id, " ").concat(count);
  40401. idCountMap[id] = count + 1;
  40402. var index = getIndexByIdentifier(identifier);
  40403. var obj = {
  40404. css: item[1],
  40405. media: item[2],
  40406. sourceMap: item[3]
  40407. };
  40408. if (index !== -1) {
  40409. stylesInDom[index].references++;
  40410. stylesInDom[index].updater(obj);
  40411. } else {
  40412. stylesInDom.push({
  40413. identifier: identifier,
  40414. updater: addStyle(obj, options),
  40415. references: 1
  40416. });
  40417. }
  40418. identifiers.push(identifier);
  40419. }
  40420. return identifiers;
  40421. }
  40422. function insertStyleElement(options) {
  40423. var style = document.createElement('style');
  40424. var attributes = options.attributes || {};
  40425. if (typeof attributes.nonce === 'undefined') {
  40426. var nonce = true ? __webpack_require__.nc : 0;
  40427. if (nonce) {
  40428. attributes.nonce = nonce;
  40429. }
  40430. }
  40431. Object.keys(attributes).forEach(function (key) {
  40432. style.setAttribute(key, attributes[key]);
  40433. });
  40434. if (typeof options.insert === 'function') {
  40435. options.insert(style);
  40436. } else {
  40437. var target = getTarget(options.insert || 'head');
  40438. if (!target) {
  40439. throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
  40440. }
  40441. target.appendChild(style);
  40442. }
  40443. return style;
  40444. }
  40445. function removeStyleElement(style) {
  40446. // istanbul ignore if
  40447. if (style.parentNode === null) {
  40448. return false;
  40449. }
  40450. style.parentNode.removeChild(style);
  40451. }
  40452. /* istanbul ignore next */
  40453. var replaceText = function replaceText() {
  40454. var textStore = [];
  40455. return function replace(index, replacement) {
  40456. textStore[index] = replacement;
  40457. return textStore.filter(Boolean).join('\n');
  40458. };
  40459. }();
  40460. function applyToSingletonTag(style, index, remove, obj) {
  40461. var css = remove ? '' : obj.media ? "@media ".concat(obj.media, " {").concat(obj.css, "}") : obj.css; // For old IE
  40462. /* istanbul ignore if */
  40463. if (style.styleSheet) {
  40464. style.styleSheet.cssText = replaceText(index, css);
  40465. } else {
  40466. var cssNode = document.createTextNode(css);
  40467. var childNodes = style.childNodes;
  40468. if (childNodes[index]) {
  40469. style.removeChild(childNodes[index]);
  40470. }
  40471. if (childNodes.length) {
  40472. style.insertBefore(cssNode, childNodes[index]);
  40473. } else {
  40474. style.appendChild(cssNode);
  40475. }
  40476. }
  40477. }
  40478. function applyToTag(style, options, obj) {
  40479. var css = obj.css;
  40480. var media = obj.media;
  40481. var sourceMap = obj.sourceMap;
  40482. if (media) {
  40483. style.setAttribute('media', media);
  40484. } else {
  40485. style.removeAttribute('media');
  40486. }
  40487. if (sourceMap && typeof btoa !== 'undefined') {
  40488. css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
  40489. } // For old IE
  40490. /* istanbul ignore if */
  40491. if (style.styleSheet) {
  40492. style.styleSheet.cssText = css;
  40493. } else {
  40494. while (style.firstChild) {
  40495. style.removeChild(style.firstChild);
  40496. }
  40497. style.appendChild(document.createTextNode(css));
  40498. }
  40499. }
  40500. var singleton = null;
  40501. var singletonCounter = 0;
  40502. function addStyle(obj, options) {
  40503. var style;
  40504. var update;
  40505. var remove;
  40506. if (options.singleton) {
  40507. var styleIndex = singletonCounter++;
  40508. style = singleton || (singleton = insertStyleElement(options));
  40509. update = applyToSingletonTag.bind(null, style, styleIndex, false);
  40510. remove = applyToSingletonTag.bind(null, style, styleIndex, true);
  40511. } else {
  40512. style = insertStyleElement(options);
  40513. update = applyToTag.bind(null, style, options);
  40514. remove = function remove() {
  40515. removeStyleElement(style);
  40516. };
  40517. }
  40518. update(obj);
  40519. return function updateStyle(newObj) {
  40520. if (newObj) {
  40521. if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) {
  40522. return;
  40523. }
  40524. update(obj = newObj);
  40525. } else {
  40526. remove();
  40527. }
  40528. };
  40529. }
  40530. module.exports = function (list, options) {
  40531. options = options || {}; // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
  40532. // tags it will allow on a page
  40533. if (!options.singleton && typeof options.singleton !== 'boolean') {
  40534. options.singleton = isOldIE();
  40535. }
  40536. list = list || [];
  40537. var lastIdentifiers = modulesToDom(list, options);
  40538. return function update(newList) {
  40539. newList = newList || [];
  40540. if (Object.prototype.toString.call(newList) !== '[object Array]') {
  40541. return;
  40542. }
  40543. for (var i = 0; i < lastIdentifiers.length; i++) {
  40544. var identifier = lastIdentifiers[i];
  40545. var index = getIndexByIdentifier(identifier);
  40546. stylesInDom[index].references--;
  40547. }
  40548. var newLastIdentifiers = modulesToDom(newList, options);
  40549. for (var _i = 0; _i < lastIdentifiers.length; _i++) {
  40550. var _identifier = lastIdentifiers[_i];
  40551. var _index = getIndexByIdentifier(_identifier);
  40552. if (stylesInDom[_index].references === 0) {
  40553. stylesInDom[_index].updater();
  40554. stylesInDom.splice(_index, 1);
  40555. }
  40556. }
  40557. lastIdentifiers = newLastIdentifiers;
  40558. };
  40559. };
  40560. /***/ }),
  40561. /***/ "./node_modules/vue/dist/vue.esm-bundler.js":
  40562. /*!**************************************************!*\
  40563. !*** ./node_modules/vue/dist/vue.esm-bundler.js ***!
  40564. \**************************************************/
  40565. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  40566. "use strict";
  40567. __webpack_require__.r(__webpack_exports__);
  40568. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  40569. /* harmony export */ "BaseTransition": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.BaseTransition),
  40570. /* harmony export */ "Comment": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.Comment),
  40571. /* harmony export */ "EffectScope": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.EffectScope),
  40572. /* harmony export */ "Fragment": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.Fragment),
  40573. /* harmony export */ "KeepAlive": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.KeepAlive),
  40574. /* harmony export */ "ReactiveEffect": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.ReactiveEffect),
  40575. /* harmony export */ "Static": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.Static),
  40576. /* harmony export */ "Suspense": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.Suspense),
  40577. /* harmony export */ "Teleport": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.Teleport),
  40578. /* harmony export */ "Text": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.Text),
  40579. /* harmony export */ "Transition": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.Transition),
  40580. /* harmony export */ "TransitionGroup": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.TransitionGroup),
  40581. /* harmony export */ "VueElement": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.VueElement),
  40582. /* harmony export */ "callWithAsyncErrorHandling": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.callWithAsyncErrorHandling),
  40583. /* harmony export */ "callWithErrorHandling": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.callWithErrorHandling),
  40584. /* harmony export */ "camelize": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.camelize),
  40585. /* harmony export */ "capitalize": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.capitalize),
  40586. /* harmony export */ "cloneVNode": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.cloneVNode),
  40587. /* harmony export */ "compatUtils": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.compatUtils),
  40588. /* harmony export */ "compile": () => (/* binding */ compileToFunction),
  40589. /* harmony export */ "computed": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.computed),
  40590. /* harmony export */ "createApp": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createApp),
  40591. /* harmony export */ "createBlock": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createBlock),
  40592. /* harmony export */ "createCommentVNode": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode),
  40593. /* harmony export */ "createElementBlock": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createElementBlock),
  40594. /* harmony export */ "createElementVNode": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createElementVNode),
  40595. /* harmony export */ "createHydrationRenderer": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createHydrationRenderer),
  40596. /* harmony export */ "createPropsRestProxy": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createPropsRestProxy),
  40597. /* harmony export */ "createRenderer": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createRenderer),
  40598. /* harmony export */ "createSSRApp": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createSSRApp),
  40599. /* harmony export */ "createSlots": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createSlots),
  40600. /* harmony export */ "createStaticVNode": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createStaticVNode),
  40601. /* harmony export */ "createTextVNode": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createTextVNode),
  40602. /* harmony export */ "createVNode": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createVNode),
  40603. /* harmony export */ "customRef": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.customRef),
  40604. /* harmony export */ "defineAsyncComponent": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.defineAsyncComponent),
  40605. /* harmony export */ "defineComponent": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.defineComponent),
  40606. /* harmony export */ "defineCustomElement": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.defineCustomElement),
  40607. /* harmony export */ "defineEmits": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.defineEmits),
  40608. /* harmony export */ "defineExpose": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.defineExpose),
  40609. /* harmony export */ "defineProps": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.defineProps),
  40610. /* harmony export */ "defineSSRCustomElement": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.defineSSRCustomElement),
  40611. /* harmony export */ "devtools": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.devtools),
  40612. /* harmony export */ "effect": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.effect),
  40613. /* harmony export */ "effectScope": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.effectScope),
  40614. /* harmony export */ "getCurrentInstance": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.getCurrentInstance),
  40615. /* harmony export */ "getCurrentScope": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.getCurrentScope),
  40616. /* harmony export */ "getTransitionRawChildren": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.getTransitionRawChildren),
  40617. /* harmony export */ "guardReactiveProps": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.guardReactiveProps),
  40618. /* harmony export */ "h": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.h),
  40619. /* harmony export */ "handleError": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.handleError),
  40620. /* harmony export */ "hydrate": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.hydrate),
  40621. /* harmony export */ "initCustomFormatter": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.initCustomFormatter),
  40622. /* harmony export */ "initDirectivesForSSR": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.initDirectivesForSSR),
  40623. /* harmony export */ "inject": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.inject),
  40624. /* harmony export */ "isMemoSame": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.isMemoSame),
  40625. /* harmony export */ "isProxy": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.isProxy),
  40626. /* harmony export */ "isReactive": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.isReactive),
  40627. /* harmony export */ "isReadonly": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.isReadonly),
  40628. /* harmony export */ "isRef": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.isRef),
  40629. /* harmony export */ "isRuntimeOnly": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.isRuntimeOnly),
  40630. /* harmony export */ "isShallow": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.isShallow),
  40631. /* harmony export */ "isVNode": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.isVNode),
  40632. /* harmony export */ "markRaw": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.markRaw),
  40633. /* harmony export */ "mergeDefaults": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.mergeDefaults),
  40634. /* harmony export */ "mergeProps": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.mergeProps),
  40635. /* harmony export */ "nextTick": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.nextTick),
  40636. /* harmony export */ "normalizeClass": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.normalizeClass),
  40637. /* harmony export */ "normalizeProps": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.normalizeProps),
  40638. /* harmony export */ "normalizeStyle": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.normalizeStyle),
  40639. /* harmony export */ "onActivated": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onActivated),
  40640. /* harmony export */ "onBeforeMount": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onBeforeMount),
  40641. /* harmony export */ "onBeforeUnmount": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onBeforeUnmount),
  40642. /* harmony export */ "onBeforeUpdate": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onBeforeUpdate),
  40643. /* harmony export */ "onDeactivated": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onDeactivated),
  40644. /* harmony export */ "onErrorCaptured": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onErrorCaptured),
  40645. /* harmony export */ "onMounted": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onMounted),
  40646. /* harmony export */ "onRenderTracked": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onRenderTracked),
  40647. /* harmony export */ "onRenderTriggered": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onRenderTriggered),
  40648. /* harmony export */ "onScopeDispose": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onScopeDispose),
  40649. /* harmony export */ "onServerPrefetch": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onServerPrefetch),
  40650. /* harmony export */ "onUnmounted": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onUnmounted),
  40651. /* harmony export */ "onUpdated": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onUpdated),
  40652. /* harmony export */ "openBlock": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.openBlock),
  40653. /* harmony export */ "popScopeId": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.popScopeId),
  40654. /* harmony export */ "provide": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.provide),
  40655. /* harmony export */ "proxyRefs": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.proxyRefs),
  40656. /* harmony export */ "pushScopeId": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.pushScopeId),
  40657. /* harmony export */ "queuePostFlushCb": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.queuePostFlushCb),
  40658. /* harmony export */ "reactive": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.reactive),
  40659. /* harmony export */ "readonly": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.readonly),
  40660. /* harmony export */ "ref": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.ref),
  40661. /* harmony export */ "registerRuntimeCompiler": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.registerRuntimeCompiler),
  40662. /* harmony export */ "render": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.render),
  40663. /* harmony export */ "renderList": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.renderList),
  40664. /* harmony export */ "renderSlot": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.renderSlot),
  40665. /* harmony export */ "resolveComponent": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.resolveComponent),
  40666. /* harmony export */ "resolveDirective": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.resolveDirective),
  40667. /* harmony export */ "resolveDynamicComponent": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.resolveDynamicComponent),
  40668. /* harmony export */ "resolveFilter": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.resolveFilter),
  40669. /* harmony export */ "resolveTransitionHooks": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.resolveTransitionHooks),
  40670. /* harmony export */ "setBlockTracking": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.setBlockTracking),
  40671. /* harmony export */ "setDevtoolsHook": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.setDevtoolsHook),
  40672. /* harmony export */ "setTransitionHooks": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.setTransitionHooks),
  40673. /* harmony export */ "shallowReactive": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.shallowReactive),
  40674. /* harmony export */ "shallowReadonly": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.shallowReadonly),
  40675. /* harmony export */ "shallowRef": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.shallowRef),
  40676. /* harmony export */ "ssrContextKey": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.ssrContextKey),
  40677. /* harmony export */ "ssrUtils": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.ssrUtils),
  40678. /* harmony export */ "stop": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.stop),
  40679. /* harmony export */ "toDisplayString": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.toDisplayString),
  40680. /* harmony export */ "toHandlerKey": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.toHandlerKey),
  40681. /* harmony export */ "toHandlers": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.toHandlers),
  40682. /* harmony export */ "toRaw": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.toRaw),
  40683. /* harmony export */ "toRef": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.toRef),
  40684. /* harmony export */ "toRefs": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.toRefs),
  40685. /* harmony export */ "transformVNodeArgs": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.transformVNodeArgs),
  40686. /* harmony export */ "triggerRef": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.triggerRef),
  40687. /* harmony export */ "unref": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.unref),
  40688. /* harmony export */ "useAttrs": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.useAttrs),
  40689. /* harmony export */ "useCssModule": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.useCssModule),
  40690. /* harmony export */ "useCssVars": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.useCssVars),
  40691. /* harmony export */ "useSSRContext": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.useSSRContext),
  40692. /* harmony export */ "useSlots": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.useSlots),
  40693. /* harmony export */ "useTransitionState": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.useTransitionState),
  40694. /* harmony export */ "vModelCheckbox": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.vModelCheckbox),
  40695. /* harmony export */ "vModelDynamic": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.vModelDynamic),
  40696. /* harmony export */ "vModelRadio": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.vModelRadio),
  40697. /* harmony export */ "vModelSelect": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.vModelSelect),
  40698. /* harmony export */ "vModelText": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.vModelText),
  40699. /* harmony export */ "vShow": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.vShow),
  40700. /* harmony export */ "version": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.version),
  40701. /* harmony export */ "warn": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.warn),
  40702. /* harmony export */ "watch": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.watch),
  40703. /* harmony export */ "watchEffect": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.watchEffect),
  40704. /* harmony export */ "watchPostEffect": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.watchPostEffect),
  40705. /* harmony export */ "watchSyncEffect": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.watchSyncEffect),
  40706. /* harmony export */ "withAsyncContext": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.withAsyncContext),
  40707. /* harmony export */ "withCtx": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.withCtx),
  40708. /* harmony export */ "withDefaults": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.withDefaults),
  40709. /* harmony export */ "withDirectives": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.withDirectives),
  40710. /* harmony export */ "withKeys": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.withKeys),
  40711. /* harmony export */ "withMemo": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.withMemo),
  40712. /* harmony export */ "withModifiers": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.withModifiers),
  40713. /* harmony export */ "withScopeId": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.withScopeId)
  40714. /* harmony export */ });
  40715. /* harmony import */ var _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @vue/runtime-dom */ "./node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js");
  40716. /* harmony import */ var _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @vue/runtime-dom */ "./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js");
  40717. /* harmony import */ var _vue_compiler_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @vue/compiler-dom */ "./node_modules/@vue/compiler-dom/dist/compiler-dom.esm-bundler.js");
  40718. /* harmony import */ var _vue_shared__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @vue/shared */ "./node_modules/@vue/shared/dist/shared.esm-bundler.js");
  40719. function initDev() {
  40720. {
  40721. (0,_vue_runtime_dom__WEBPACK_IMPORTED_MODULE_2__.initCustomFormatter)();
  40722. }
  40723. }
  40724. // This entry is the "full-build" that includes both the runtime
  40725. if ((true)) {
  40726. initDev();
  40727. }
  40728. const compileCache = Object.create(null);
  40729. function compileToFunction(template, options) {
  40730. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(template)) {
  40731. if (template.nodeType) {
  40732. template = template.innerHTML;
  40733. }
  40734. else {
  40735. ( true) && (0,_vue_runtime_dom__WEBPACK_IMPORTED_MODULE_2__.warn)(`invalid template option: `, template);
  40736. return _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NOOP;
  40737. }
  40738. }
  40739. const key = template;
  40740. const cached = compileCache[key];
  40741. if (cached) {
  40742. return cached;
  40743. }
  40744. if (template[0] === '#') {
  40745. const el = document.querySelector(template);
  40746. if (( true) && !el) {
  40747. (0,_vue_runtime_dom__WEBPACK_IMPORTED_MODULE_2__.warn)(`Template element not found or is empty: ${template}`);
  40748. }
  40749. // __UNSAFE__
  40750. // Reason: potential execution of JS expressions in in-DOM template.
  40751. // The user must make sure the in-DOM template is trusted. If it's rendered
  40752. // by the server, the template should not contain any user data.
  40753. template = el ? el.innerHTML : ``;
  40754. }
  40755. const { code } = (0,_vue_compiler_dom__WEBPACK_IMPORTED_MODULE_3__.compile)(template, (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)({
  40756. hoistStatic: true,
  40757. onError: ( true) ? onError : 0,
  40758. onWarn: ( true) ? e => onError(e, true) : 0
  40759. }, options));
  40760. function onError(err, asWarning = false) {
  40761. const message = asWarning
  40762. ? err.message
  40763. : `Template compilation error: ${err.message}`;
  40764. const codeFrame = err.loc &&
  40765. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.generateCodeFrame)(template, err.loc.start.offset, err.loc.end.offset);
  40766. (0,_vue_runtime_dom__WEBPACK_IMPORTED_MODULE_2__.warn)(codeFrame ? `${message}\n${codeFrame}` : message);
  40767. }
  40768. // The wildcard import results in a huge object with every export
  40769. // with keys that cannot be mangled, and can be quite heavy size-wise.
  40770. // In the global build we know `Vue` is available globally so we can avoid
  40771. // the wildcard object.
  40772. const render = (new Function('Vue', code)(_vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__));
  40773. render._rc = true;
  40774. return (compileCache[key] = render);
  40775. }
  40776. (0,_vue_runtime_dom__WEBPACK_IMPORTED_MODULE_2__.registerRuntimeCompiler)(compileToFunction);
  40777. /***/ }),
  40778. /***/ "./resources/js/pages lazy recursive ^\\.\\/.*$":
  40779. /*!************************************************************!*\
  40780. !*** ./resources/js/pages/ lazy ^\.\/.*$ namespace object ***!
  40781. \************************************************************/
  40782. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  40783. var map = {
  40784. "./auth/ForgotPassword": [
  40785. "./resources/js/pages/auth/ForgotPassword.vue",
  40786. "resources_js_pages_auth_ForgotPassword_vue"
  40787. ],
  40788. "./auth/ForgotPassword.vue": [
  40789. "./resources/js/pages/auth/ForgotPassword.vue",
  40790. "resources_js_pages_auth_ForgotPassword_vue"
  40791. ],
  40792. "./auth/Login": [
  40793. "./resources/js/pages/auth/Login.vue",
  40794. "resources_js_pages_auth_Login_vue"
  40795. ],
  40796. "./auth/Login.vue": [
  40797. "./resources/js/pages/auth/Login.vue",
  40798. "resources_js_pages_auth_Login_vue"
  40799. ],
  40800. "./auth/ResetPassword": [
  40801. "./resources/js/pages/auth/ResetPassword.vue",
  40802. "resources_js_pages_auth_ResetPassword_vue"
  40803. ],
  40804. "./auth/ResetPassword.vue": [
  40805. "./resources/js/pages/auth/ResetPassword.vue",
  40806. "resources_js_pages_auth_ResetPassword_vue"
  40807. ],
  40808. "./auth/VerifyEmail": [
  40809. "./resources/js/pages/auth/VerifyEmail.vue",
  40810. "resources_js_pages_auth_VerifyEmail_vue"
  40811. ],
  40812. "./auth/VerifyEmail.vue": [
  40813. "./resources/js/pages/auth/VerifyEmail.vue",
  40814. "resources_js_pages_auth_VerifyEmail_vue"
  40815. ],
  40816. "./home/Index": [
  40817. "./resources/js/pages/home/Index.vue",
  40818. "resources_js_pages_home_Index_vue"
  40819. ],
  40820. "./home/Index.vue": [
  40821. "./resources/js/pages/home/Index.vue",
  40822. "resources_js_pages_home_Index_vue"
  40823. ]
  40824. };
  40825. function webpackAsyncContext(req) {
  40826. if(!__webpack_require__.o(map, req)) {
  40827. return Promise.resolve().then(() => {
  40828. var e = new Error("Cannot find module '" + req + "'");
  40829. e.code = 'MODULE_NOT_FOUND';
  40830. throw e;
  40831. });
  40832. }
  40833. var ids = map[req], id = ids[0];
  40834. return __webpack_require__.e(ids[1]).then(() => {
  40835. return __webpack_require__(id);
  40836. });
  40837. }
  40838. webpackAsyncContext.keys = () => (Object.keys(map));
  40839. webpackAsyncContext.id = "./resources/js/pages lazy recursive ^\\.\\/.*$";
  40840. module.exports = webpackAsyncContext;
  40841. /***/ }),
  40842. /***/ "?2128":
  40843. /*!********************************!*\
  40844. !*** ./util.inspect (ignored) ***!
  40845. \********************************/
  40846. /***/ (() => {
  40847. /* (ignored) */
  40848. /***/ }),
  40849. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/package.json":
  40850. /*!*************************************************************************!*\
  40851. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/package.json ***!
  40852. \*************************************************************************/
  40853. /***/ ((module) => {
  40854. "use strict";
  40855. module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}');
  40856. /***/ })
  40857. /******/ });
  40858. /************************************************************************/
  40859. /******/ // The module cache
  40860. /******/ var __webpack_module_cache__ = {};
  40861. /******/
  40862. /******/ // The require function
  40863. /******/ function __webpack_require__(moduleId) {
  40864. /******/ // Check if module is in cache
  40865. /******/ var cachedModule = __webpack_module_cache__[moduleId];
  40866. /******/ if (cachedModule !== undefined) {
  40867. /******/ return cachedModule.exports;
  40868. /******/ }
  40869. /******/ // Create a new module (and put it into the cache)
  40870. /******/ var module = __webpack_module_cache__[moduleId] = {
  40871. /******/ id: moduleId,
  40872. /******/ loaded: false,
  40873. /******/ exports: {}
  40874. /******/ };
  40875. /******/
  40876. /******/ // Execute the module function
  40877. /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
  40878. /******/
  40879. /******/ // Flag the module as loaded
  40880. /******/ module.loaded = true;
  40881. /******/
  40882. /******/ // Return the exports of the module
  40883. /******/ return module.exports;
  40884. /******/ }
  40885. /******/
  40886. /******/ // expose the modules object (__webpack_modules__)
  40887. /******/ __webpack_require__.m = __webpack_modules__;
  40888. /******/
  40889. /************************************************************************/
  40890. /******/ /* webpack/runtime/compat get default export */
  40891. /******/ (() => {
  40892. /******/ // getDefaultExport function for compatibility with non-harmony modules
  40893. /******/ __webpack_require__.n = (module) => {
  40894. /******/ var getter = module && module.__esModule ?
  40895. /******/ () => (module['default']) :
  40896. /******/ () => (module);
  40897. /******/ __webpack_require__.d(getter, { a: getter });
  40898. /******/ return getter;
  40899. /******/ };
  40900. /******/ })();
  40901. /******/
  40902. /******/ /* webpack/runtime/define property getters */
  40903. /******/ (() => {
  40904. /******/ // define getter functions for harmony exports
  40905. /******/ __webpack_require__.d = (exports, definition) => {
  40906. /******/ for(var key in definition) {
  40907. /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
  40908. /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
  40909. /******/ }
  40910. /******/ }
  40911. /******/ };
  40912. /******/ })();
  40913. /******/
  40914. /******/ /* webpack/runtime/ensure chunk */
  40915. /******/ (() => {
  40916. /******/ __webpack_require__.f = {};
  40917. /******/ // This file contains only the entry chunk.
  40918. /******/ // The chunk loading function for additional chunks
  40919. /******/ __webpack_require__.e = (chunkId) => {
  40920. /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
  40921. /******/ __webpack_require__.f[key](chunkId, promises);
  40922. /******/ return promises;
  40923. /******/ }, []));
  40924. /******/ };
  40925. /******/ })();
  40926. /******/
  40927. /******/ /* webpack/runtime/get javascript chunk filename */
  40928. /******/ (() => {
  40929. /******/ // This function allow to reference async chunks
  40930. /******/ __webpack_require__.u = (chunkId) => {
  40931. /******/ // return url for filenames based on template
  40932. /******/ return "js/" + chunkId + ".js?id=" + {"node_modules_chart_js_auto_auto_esm_js":"10c6b388645ceb22","resources_js_pages_auth_ForgotPassword_vue":"5b9f0529bda25a9b","resources_js_pages_auth_Login_vue":"61b9c9ae1ae9da32","resources_js_pages_auth_ResetPassword_vue":"b091193a1e114ce8","resources_js_pages_auth_VerifyEmail_vue":"a7b9a99e5a331088","resources_js_pages_home_Index_vue":"ac979b71a6556fb9"}[chunkId] + "";
  40933. /******/ };
  40934. /******/ })();
  40935. /******/
  40936. /******/ /* webpack/runtime/get mini-css chunk filename */
  40937. /******/ (() => {
  40938. /******/ // This function allow to reference all chunks
  40939. /******/ __webpack_require__.miniCssF = (chunkId) => {
  40940. /******/ // return url for filenames based on template
  40941. /******/ return undefined;
  40942. /******/ };
  40943. /******/ })();
  40944. /******/
  40945. /******/ /* webpack/runtime/global */
  40946. /******/ (() => {
  40947. /******/ __webpack_require__.g = (function() {
  40948. /******/ if (typeof globalThis === 'object') return globalThis;
  40949. /******/ try {
  40950. /******/ return this || new Function('return this')();
  40951. /******/ } catch (e) {
  40952. /******/ if (typeof window === 'object') return window;
  40953. /******/ }
  40954. /******/ })();
  40955. /******/ })();
  40956. /******/
  40957. /******/ /* webpack/runtime/hasOwnProperty shorthand */
  40958. /******/ (() => {
  40959. /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
  40960. /******/ })();
  40961. /******/
  40962. /******/ /* webpack/runtime/load script */
  40963. /******/ (() => {
  40964. /******/ var inProgress = {};
  40965. /******/ // data-webpack is not used as build has no uniqueName
  40966. /******/ // loadScript function to load a script via script tag
  40967. /******/ __webpack_require__.l = (url, done, key, chunkId) => {
  40968. /******/ if(inProgress[url]) { inProgress[url].push(done); return; }
  40969. /******/ var script, needAttach;
  40970. /******/ if(key !== undefined) {
  40971. /******/ var scripts = document.getElementsByTagName("script");
  40972. /******/ for(var i = 0; i < scripts.length; i++) {
  40973. /******/ var s = scripts[i];
  40974. /******/ if(s.getAttribute("src") == url) { script = s; break; }
  40975. /******/ }
  40976. /******/ }
  40977. /******/ if(!script) {
  40978. /******/ needAttach = true;
  40979. /******/ script = document.createElement('script');
  40980. /******/
  40981. /******/ script.charset = 'utf-8';
  40982. /******/ script.timeout = 120;
  40983. /******/ if (__webpack_require__.nc) {
  40984. /******/ script.setAttribute("nonce", __webpack_require__.nc);
  40985. /******/ }
  40986. /******/
  40987. /******/ script.src = url;
  40988. /******/ }
  40989. /******/ inProgress[url] = [done];
  40990. /******/ var onScriptComplete = (prev, event) => {
  40991. /******/ // avoid mem leaks in IE.
  40992. /******/ script.onerror = script.onload = null;
  40993. /******/ clearTimeout(timeout);
  40994. /******/ var doneFns = inProgress[url];
  40995. /******/ delete inProgress[url];
  40996. /******/ script.parentNode && script.parentNode.removeChild(script);
  40997. /******/ doneFns && doneFns.forEach((fn) => (fn(event)));
  40998. /******/ if(prev) return prev(event);
  40999. /******/ }
  41000. /******/ ;
  41001. /******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
  41002. /******/ script.onerror = onScriptComplete.bind(null, script.onerror);
  41003. /******/ script.onload = onScriptComplete.bind(null, script.onload);
  41004. /******/ needAttach && document.head.appendChild(script);
  41005. /******/ };
  41006. /******/ })();
  41007. /******/
  41008. /******/ /* webpack/runtime/make namespace object */
  41009. /******/ (() => {
  41010. /******/ // define __esModule on exports
  41011. /******/ __webpack_require__.r = (exports) => {
  41012. /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
  41013. /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
  41014. /******/ }
  41015. /******/ Object.defineProperty(exports, '__esModule', { value: true });
  41016. /******/ };
  41017. /******/ })();
  41018. /******/
  41019. /******/ /* webpack/runtime/node module decorator */
  41020. /******/ (() => {
  41021. /******/ __webpack_require__.nmd = (module) => {
  41022. /******/ module.paths = [];
  41023. /******/ if (!module.children) module.children = [];
  41024. /******/ return module;
  41025. /******/ };
  41026. /******/ })();
  41027. /******/
  41028. /******/ /* webpack/runtime/publicPath */
  41029. /******/ (() => {
  41030. /******/ __webpack_require__.p = "/";
  41031. /******/ })();
  41032. /******/
  41033. /******/ /* webpack/runtime/jsonp chunk loading */
  41034. /******/ (() => {
  41035. /******/ // no baseURI
  41036. /******/
  41037. /******/ // object to store loaded and loading chunks
  41038. /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
  41039. /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
  41040. /******/ var installedChunks = {
  41041. /******/ "/js/vue": 0
  41042. /******/ };
  41043. /******/
  41044. /******/ __webpack_require__.f.j = (chunkId, promises) => {
  41045. /******/ // JSONP chunk loading for javascript
  41046. /******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
  41047. /******/ if(installedChunkData !== 0) { // 0 means "already installed".
  41048. /******/
  41049. /******/ // a Promise means "currently loading".
  41050. /******/ if(installedChunkData) {
  41051. /******/ promises.push(installedChunkData[2]);
  41052. /******/ } else {
  41053. /******/ if(true) { // all chunks have JS
  41054. /******/ // setup Promise in chunk cache
  41055. /******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));
  41056. /******/ promises.push(installedChunkData[2] = promise);
  41057. /******/
  41058. /******/ // start chunk loading
  41059. /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
  41060. /******/ // create error before stack unwound to get useful stacktrace later
  41061. /******/ var error = new Error();
  41062. /******/ var loadingEnded = (event) => {
  41063. /******/ if(__webpack_require__.o(installedChunks, chunkId)) {
  41064. /******/ installedChunkData = installedChunks[chunkId];
  41065. /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined;
  41066. /******/ if(installedChunkData) {
  41067. /******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
  41068. /******/ var realSrc = event && event.target && event.target.src;
  41069. /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
  41070. /******/ error.name = 'ChunkLoadError';
  41071. /******/ error.type = errorType;
  41072. /******/ error.request = realSrc;
  41073. /******/ installedChunkData[1](error);
  41074. /******/ }
  41075. /******/ }
  41076. /******/ };
  41077. /******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId);
  41078. /******/ } else installedChunks[chunkId] = 0;
  41079. /******/ }
  41080. /******/ }
  41081. /******/ };
  41082. /******/
  41083. /******/ // no prefetching
  41084. /******/
  41085. /******/ // no preloaded
  41086. /******/
  41087. /******/ // no HMR
  41088. /******/
  41089. /******/ // no HMR manifest
  41090. /******/
  41091. /******/ // no on chunks loaded
  41092. /******/
  41093. /******/ // install a JSONP callback for chunk loading
  41094. /******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
  41095. /******/ var [chunkIds, moreModules, runtime] = data;
  41096. /******/ // add "moreModules" to the modules object,
  41097. /******/ // then flag all "chunkIds" as loaded and fire callback
  41098. /******/ var moduleId, chunkId, i = 0;
  41099. /******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
  41100. /******/ for(moduleId in moreModules) {
  41101. /******/ if(__webpack_require__.o(moreModules, moduleId)) {
  41102. /******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
  41103. /******/ }
  41104. /******/ }
  41105. /******/ if(runtime) var result = runtime(__webpack_require__);
  41106. /******/ }
  41107. /******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
  41108. /******/ for(;i < chunkIds.length; i++) {
  41109. /******/ chunkId = chunkIds[i];
  41110. /******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
  41111. /******/ installedChunks[chunkId][0]();
  41112. /******/ }
  41113. /******/ installedChunks[chunkId] = 0;
  41114. /******/ }
  41115. /******/
  41116. /******/ }
  41117. /******/
  41118. /******/ var chunkLoadingGlobal = self["webpackChunk"] = self["webpackChunk"] || [];
  41119. /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
  41120. /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
  41121. /******/ })();
  41122. /******/
  41123. /************************************************************************/
  41124. var __webpack_exports__ = {};
  41125. // This entry need to be wrapped in an IIFE because it need to be in strict mode.
  41126. (() => {
  41127. "use strict";
  41128. /*!*****************************!*\
  41129. !*** ./resources/js/vue.js ***!
  41130. \*****************************/
  41131. __webpack_require__.r(__webpack_exports__);
  41132. /* harmony import */ var primevue_resources_themes_mdc_light_indigo_theme_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! primevue/resources/themes/mdc-light-indigo/theme.css */ "./node_modules/primevue/resources/themes/mdc-light-indigo/theme.css");
  41133. /* harmony import */ var primevue_resources_primevue_min_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! primevue/resources/primevue.min.css */ "./node_modules/primevue/resources/primevue.min.css");
  41134. /* harmony import */ var primeflex_primeflex_css__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! primeflex/primeflex.css */ "./node_modules/primeflex/primeflex.css");
  41135. /* harmony import */ var primeicons_primeicons_css__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! primeicons/primeicons.css */ "./node_modules/primeicons/primeicons.css");
  41136. /* harmony import */ var _assets_styles_layout_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/assets/styles/layout.scss */ "./resources/js/assets/styles/layout.scss");
  41137. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  41138. /* harmony import */ var _inertiajs_inertia_vue3__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @inertiajs/inertia-vue3 */ "./node_modules/@inertiajs/inertia-vue3/dist/index.js");
  41139. /* harmony import */ var _inertiajs_progress__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @inertiajs/progress */ "./node_modules/@inertiajs/progress/dist/index.js");
  41140. /* harmony import */ var primevue_config__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! primevue/config */ "./node_modules/primevue/config/config.esm.js");
  41141. /* harmony import */ var primevue_styleclass__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! primevue/styleclass */ "./node_modules/primevue/styleclass/styleclass.esm.js");
  41142. /* harmony import */ var primevue_autocomplete__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! primevue/autocomplete */ "./node_modules/primevue/autocomplete/autocomplete.esm.js");
  41143. /* harmony import */ var primevue_badge__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! primevue/badge */ "./node_modules/primevue/badge/badge.esm.js");
  41144. /* harmony import */ var primevue_button__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! primevue/button */ "./node_modules/primevue/button/button.esm.js");
  41145. /* harmony import */ var primevue_calendar__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! primevue/calendar */ "./node_modules/primevue/calendar/calendar.esm.js");
  41146. /* harmony import */ var primevue_card__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! primevue/card */ "./node_modules/primevue/card/card.esm.js");
  41147. /* harmony import */ var primevue_chart__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! primevue/chart */ "./node_modules/primevue/chart/chart.esm.js");
  41148. /* harmony import */ var primevue_column__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! primevue/column */ "./node_modules/primevue/column/column.esm.js");
  41149. /* harmony import */ var primevue_datatable__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! primevue/datatable */ "./node_modules/primevue/datatable/datatable.esm.js");
  41150. /* harmony import */ var primevue_dialog__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! primevue/dialog */ "./node_modules/primevue/dialog/dialog.esm.js");
  41151. /* harmony import */ var primevue_divider__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! primevue/divider */ "./node_modules/primevue/divider/divider.esm.js");
  41152. /* harmony import */ var primevue_dropdown__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! primevue/dropdown */ "./node_modules/primevue/dropdown/dropdown.esm.js");
  41153. /* harmony import */ var primevue_inputnumber__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! primevue/inputnumber */ "./node_modules/primevue/inputnumber/inputnumber.esm.js");
  41154. /* harmony import */ var primevue_inputtext__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! primevue/inputtext */ "./node_modules/primevue/inputtext/inputtext.esm.js");
  41155. /* harmony import */ var primevue_message__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! primevue/message */ "./node_modules/primevue/message/message.esm.js");
  41156. /* harmony import */ var primevue_paginator__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! primevue/paginator */ "./node_modules/primevue/paginator/paginator.esm.js");
  41157. /* harmony import */ var primevue_password__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! primevue/password */ "./node_modules/primevue/password/password.esm.js");
  41158. /* harmony import */ var primevue_ripple__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! primevue/ripple */ "./node_modules/primevue/ripple/ripple.esm.js");
  41159. /* harmony import */ var primevue_tabview__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! primevue/tabview */ "./node_modules/primevue/tabview/tabview.esm.js");
  41160. /* harmony import */ var primevue_tabpanel__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! primevue/tabpanel */ "./node_modules/primevue/tabpanel/tabpanel.esm.js");
  41161. /* harmony import */ var primevue_textarea__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! primevue/textarea */ "./node_modules/primevue/textarea/textarea.esm.js");
  41162. /* harmony import */ var primevue_tooltip__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! primevue/tooltip */ "./node_modules/primevue/tooltip/tooltip.esm.js");
  41163. (0,_inertiajs_inertia_vue3__WEBPACK_IMPORTED_MODULE_6__.createInertiaApp)({
  41164. title: function title(_title) {
  41165. return "".concat(_title, " - Parkirin");
  41166. },
  41167. resolve: function resolve(name) {
  41168. return __webpack_require__("./resources/js/pages lazy recursive ^\\.\\/.*$")("./".concat(name));
  41169. },
  41170. setup: function setup(_ref) {
  41171. var el = _ref.el,
  41172. App = _ref.App,
  41173. props = _ref.props,
  41174. plugin = _ref.plugin;
  41175. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createApp)({
  41176. render: function render() {
  41177. return (0,vue__WEBPACK_IMPORTED_MODULE_5__.h)(App, props);
  41178. }
  41179. }).use(plugin).use(primevue_config__WEBPACK_IMPORTED_MODULE_8__["default"], {
  41180. ripple: true
  41181. }).mixin({
  41182. methods: {
  41183. route: route
  41184. }
  41185. }).directive('styleclass', primevue_styleclass__WEBPACK_IMPORTED_MODULE_9__["default"]).directive('ripple', primevue_ripple__WEBPACK_IMPORTED_MODULE_26__["default"]).directive('tooltip', primevue_tooltip__WEBPACK_IMPORTED_MODULE_30__["default"]).component('AutoComplete', primevue_autocomplete__WEBPACK_IMPORTED_MODULE_10__["default"]).component('Button', primevue_button__WEBPACK_IMPORTED_MODULE_12__["default"]).component('Badge', primevue_badge__WEBPACK_IMPORTED_MODULE_11__["default"]).component('Card', primevue_card__WEBPACK_IMPORTED_MODULE_14__["default"]).component('Calendar', primevue_calendar__WEBPACK_IMPORTED_MODULE_13__["default"]).component('Chart', primevue_chart__WEBPACK_IMPORTED_MODULE_15__["default"]).component('Column', primevue_column__WEBPACK_IMPORTED_MODULE_16__["default"]).component('DataTable', primevue_datatable__WEBPACK_IMPORTED_MODULE_17__["default"]).component('Dialog', primevue_dialog__WEBPACK_IMPORTED_MODULE_18__["default"]).component('Divider', primevue_divider__WEBPACK_IMPORTED_MODULE_19__["default"]).component('Dropdown', primevue_dropdown__WEBPACK_IMPORTED_MODULE_20__["default"]).component('InputNumber', primevue_inputnumber__WEBPACK_IMPORTED_MODULE_21__["default"]).component('InputText', primevue_inputtext__WEBPACK_IMPORTED_MODULE_22__["default"]).component('Message', primevue_message__WEBPACK_IMPORTED_MODULE_23__["default"]).component('Paginator', primevue_paginator__WEBPACK_IMPORTED_MODULE_24__["default"]).component('Password', primevue_password__WEBPACK_IMPORTED_MODULE_25__["default"]).component('TabView', primevue_tabview__WEBPACK_IMPORTED_MODULE_27__["default"]).component('TabPanel', primevue_tabpanel__WEBPACK_IMPORTED_MODULE_28__["default"]).component('Textarea', primevue_textarea__WEBPACK_IMPORTED_MODULE_29__["default"]).mount(el);
  41186. }
  41187. });
  41188. _inertiajs_progress__WEBPACK_IMPORTED_MODULE_7__.InertiaProgress.init({
  41189. color: '#4F46E5'
  41190. });
  41191. })();
  41192. /******/ })()
  41193. ;