12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451 |
- /*! For license information please see main.9900086feef29b42e762.bundle.js.LICENSE.txt */
- (self.webpackChunkimage_sequence_scroller =
- self.webpackChunkimage_sequence_scroller || []).push([
- [179],
- {
- 177: (e, t, n) => {
- var r;
- !(function () {
- "use strict";
- var a = !(
- "undefined" == typeof window ||
- !window.document ||
- !window.document.createElement
- ),
- i = {
- canUseDOM: a,
- canUseWorkers: "undefined" != typeof Worker,
- canUseEventListeners:
- a && !(!window.addEventListener && !window.attachEvent),
- canUseViewport: a && !!window.screen,
- };
- void 0 ===
- (r = function () {
- return i;
- }.call(t, n, t, e)) || (e.exports = r);
- })();
- },
- 428: (e) => {
- e.exports = {
- CASE_SENSITIVE_TAG_NAMES: [
- "animateMotion",
- "animateTransform",
- "clipPath",
- "feBlend",
- "feColorMatrix",
- "feComponentTransfer",
- "feComposite",
- "feConvolveMatrix",
- "feDiffuseLighting",
- "feDisplacementMap",
- "feDropShadow",
- "feFlood",
- "feFuncA",
- "feFuncB",
- "feFuncG",
- "feFuncR",
- "feGaussainBlur",
- "feImage",
- "feMerge",
- "feMergeNode",
- "feMorphology",
- "feOffset",
- "fePointLight",
- "feSpecularLighting",
- "feSpotLight",
- "feTile",
- "feTurbulence",
- "foreignObject",
- "linearGradient",
- "radialGradient",
- "textPath",
- ],
- };
- },
- 834: (e, t, n) => {
- var r = "html",
- a = "head",
- i = "body",
- o = /<([a-zA-Z]+[0-9]?)/,
- l = /<head.*>/i,
- s = /<body.*>/i,
- u = function () {
- throw new Error(
- "This browser does not support `document.implementation.createHTMLDocument`"
- );
- },
- c = function () {
- throw new Error(
- "This browser does not support `DOMParser.prototype.parseFromString`"
- );
- };
- if ("function" == typeof window.DOMParser) {
- var d = new window.DOMParser();
- u = c = function (e, t) {
- return (
- t && (e = "<" + t + ">" + e + "</" + t + ">"),
- d.parseFromString(e, "text/html")
- );
- };
- }
- if (document.implementation) {
- var f = n(478).isIE,
- p = document.implementation.createHTMLDocument(
- f() ? "html-dom-parser" : void 0
- );
- u = function (e, t) {
- return t
- ? ((p.documentElement.getElementsByTagName(t)[0].innerHTML = e), p)
- : ((p.documentElement.innerHTML = e), p);
- };
- }
- var h,
- m = document.createElement("template");
- m.content &&
- (h = function (e) {
- return (m.innerHTML = e), m.content.childNodes;
- }),
- (e.exports = function (e) {
- var t,
- n,
- d,
- f,
- p = e.match(o);
- switch ((p && p[1] && (t = p[1].toLowerCase()), t)) {
- case r:
- return (
- (n = c(e)),
- l.test(e) ||
- ((d = n.getElementsByTagName(a)[0]) &&
- d.parentNode.removeChild(d)),
- s.test(e) ||
- ((d = n.getElementsByTagName(i)[0]) &&
- d.parentNode.removeChild(d)),
- n.getElementsByTagName(r)
- );
- case a:
- case i:
- return (
- (f = u(e).getElementsByTagName(t)),
- s.test(e) && l.test(e) ? f[0].parentNode.childNodes : f
- );
- default:
- return h ? h(e) : u(e, i).getElementsByTagName(i)[0].childNodes;
- }
- });
- },
- 674: (e, t, n) => {
- var r = n(834),
- a = n(478).formatDOM,
- i = /<(![a-zA-Z\s]+)>/;
- e.exports = function (e) {
- if ("string" != typeof e)
- throw new TypeError("First argument must be a string");
- if ("" === e) return [];
- var t,
- n = e.match(i);
- return n && n[1] && (t = n[1]), a(r(e), null, t);
- };
- },
- 478: (e, t, n) => {
- for (
- var r,
- a = n(428),
- i = n(194),
- o = a.CASE_SENSITIVE_TAG_NAMES,
- l = i.Comment,
- s = i.Element,
- u = i.ProcessingInstruction,
- c = i.Text,
- d = {},
- f = 0,
- p = o.length;
- f < p;
- f++
- )
- (r = o[f]), (d[r.toLowerCase()] = r);
- function h(e) {
- for (var t, n = {}, r = 0, a = e.length; r < a; r++)
- n[(t = e[r]).name] = t.value;
- return n;
- }
- function m(e) {
- return (
- (function (e) {
- return d[e];
- })((e = e.toLowerCase())) || e
- );
- }
- e.exports = {
- formatAttributes: h,
- formatDOM: function e(t, n, r) {
- n = n || null;
- for (var a = [], i = 0, o = t.length; i < o; i++) {
- var d,
- f = t[i];
- switch (f.nodeType) {
- case 1:
- (d = new s(m(f.nodeName), h(f.attributes))).children = e(
- f.childNodes,
- d
- );
- break;
- case 3:
- d = new c(f.nodeValue);
- break;
- case 8:
- d = new l(f.nodeValue);
- break;
- default:
- continue;
- }
- var p = a[i - 1] || null;
- p && (p.next = d),
- (d.parent = n),
- (d.prev = p),
- (d.next = null),
- a.push(d);
- }
- return (
- r &&
- (((d = new u(
- r.substring(0, r.indexOf(" ")).toLowerCase(),
- r
- )).next = a[0] || null),
- (d.parent = n),
- a.unshift(d),
- a[1] && (a[1].prev = a[0])),
- a
- );
- },
- isIE: function () {
- return /(MSIE |Trident\/|Edge\/)/.test(navigator.userAgent);
- },
- };
- },
- 194: function (e, t) {
- "use strict";
- var n,
- r =
- (this && this.__extends) ||
- ((n = function (e, t) {
- return (n =
- Object.setPrototypeOf ||
- ({
- __proto__: [],
- } instanceof Array &&
- function (e, t) {
- e.__proto__ = t;
- }) ||
- function (e, t) {
- for (var n in t)
- Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
- })(e, t);
- }),
- function (e, t) {
- function r() {
- this.constructor = e;
- }
- n(e, t),
- (e.prototype =
- null === t
- ? Object.create(t)
- : ((r.prototype = t.prototype), new r()));
- }),
- a =
- (this && this.__assign) ||
- function () {
- return (a =
- Object.assign ||
- function (e) {
- for (var t, n = 1, r = arguments.length; n < r; n++)
- for (var a in (t = arguments[n]))
- Object.prototype.hasOwnProperty.call(t, a) && (e[a] = t[a]);
- return e;
- }).apply(this, arguments);
- };
- Object.defineProperty(t, "__esModule", {
- value: !0,
- }),
- (t.cloneNode =
- t.Element =
- t.Document =
- t.NodeWithChildren =
- t.ProcessingInstruction =
- t.Comment =
- t.Text =
- t.DataNode =
- t.Node =
- void 0);
- var i = new Map([
- ["tag", 1],
- ["script", 1],
- ["style", 1],
- ["directive", 1],
- ["text", 3],
- ["cdata", 4],
- ["comment", 8],
- ["root", 9],
- ]),
- o = (function () {
- function e(e) {
- (this.type = e),
- (this.parent = null),
- (this.prev = null),
- (this.next = null),
- (this.startIndex = null),
- (this.endIndex = null);
- }
- return (
- Object.defineProperty(e.prototype, "nodeType", {
- get: function () {
- var e;
- return null !== (e = i.get(this.type)) && void 0 !== e ? e : 1;
- },
- enumerable: !1,
- configurable: !0,
- }),
- Object.defineProperty(e.prototype, "parentNode", {
- get: function () {
- return this.parent;
- },
- set: function (e) {
- this.parent = e;
- },
- enumerable: !1,
- configurable: !0,
- }),
- Object.defineProperty(e.prototype, "previousSibling", {
- get: function () {
- return this.prev;
- },
- set: function (e) {
- this.prev = e;
- },
- enumerable: !1,
- configurable: !0,
- }),
- Object.defineProperty(e.prototype, "nextSibling", {
- get: function () {
- return this.next;
- },
- set: function (e) {
- this.next = e;
- },
- enumerable: !1,
- configurable: !0,
- }),
- (e.prototype.cloneNode = function (e) {
- return void 0 === e && (e = !1), h(this, e);
- }),
- e
- );
- })();
- t.Node = o;
- var l = (function (e) {
- function t(t, n) {
- var r = e.call(this, t) || this;
- return (r.data = n), r;
- }
- return (
- r(t, e),
- Object.defineProperty(t.prototype, "nodeValue", {
- get: function () {
- return this.data;
- },
- set: function (e) {
- this.data = e;
- },
- enumerable: !1,
- configurable: !0,
- }),
- t
- );
- })(o);
- t.DataNode = l;
- var s = (function (e) {
- function t(t) {
- return e.call(this, "text", t) || this;
- }
- return r(t, e), t;
- })(l);
- t.Text = s;
- var u = (function (e) {
- function t(t) {
- return e.call(this, "comment", t) || this;
- }
- return r(t, e), t;
- })(l);
- t.Comment = u;
- var c = (function (e) {
- function t(t, n) {
- var r = e.call(this, "directive", n) || this;
- return (r.name = t), r;
- }
- return r(t, e), t;
- })(l);
- t.ProcessingInstruction = c;
- var d = (function (e) {
- function t(t, n) {
- var r = e.call(this, t) || this;
- return (r.children = n), r;
- }
- return (
- r(t, e),
- Object.defineProperty(t.prototype, "firstChild", {
- get: function () {
- var e;
- return null !== (e = this.children[0]) && void 0 !== e ? e : null;
- },
- enumerable: !1,
- configurable: !0,
- }),
- Object.defineProperty(t.prototype, "lastChild", {
- get: function () {
- return this.children.length > 0
- ? this.children[this.children.length - 1]
- : null;
- },
- enumerable: !1,
- configurable: !0,
- }),
- Object.defineProperty(t.prototype, "childNodes", {
- get: function () {
- return this.children;
- },
- set: function (e) {
- this.children = e;
- },
- enumerable: !1,
- configurable: !0,
- }),
- t
- );
- })(o);
- t.NodeWithChildren = d;
- var f = (function (e) {
- function t(t) {
- return e.call(this, "root", t) || this;
- }
- return r(t, e), t;
- })(d);
- t.Document = f;
- var p = (function (e) {
- function t(t, n, r) {
- void 0 === r && (r = []);
- var a =
- e.call(
- this,
- "script" === t ? "script" : "style" === t ? "style" : "tag",
- r
- ) || this;
- return (a.name = t), (a.attribs = n), (a.attribs = n), a;
- }
- return (
- r(t, e),
- Object.defineProperty(t.prototype, "tagName", {
- get: function () {
- return this.name;
- },
- set: function (e) {
- this.name = e;
- },
- enumerable: !1,
- configurable: !0,
- }),
- Object.defineProperty(t.prototype, "attributes", {
- get: function () {
- var e = this;
- return Object.keys(this.attribs).map(function (t) {
- var n, r;
- return {
- name: t,
- value: e.attribs[t],
- namespace:
- null === (n = e["x-attribsNamespace"]) || void 0 === n
- ? void 0
- : n[t],
- prefix:
- null === (r = e["x-attribsPrefix"]) || void 0 === r
- ? void 0
- : r[t],
- };
- });
- },
- enumerable: !1,
- configurable: !0,
- }),
- t
- );
- })(d);
- function h(e, t) {
- var n;
- switch ((void 0 === t && (t = !1), e.type)) {
- case "text":
- n = new s(e.data);
- break;
- case "directive":
- var r = e;
- (n = new c(r.name, r.data)),
- null != r["x-name"] &&
- ((n["x-name"] = r["x-name"]),
- (n["x-publicId"] = r["x-publicId"]),
- (n["x-systemId"] = r["x-systemId"]));
- break;
- case "comment":
- n = new u(e.data);
- break;
- case "tag":
- case "script":
- case "style":
- var i = e,
- o = t ? m(i.children) : [],
- l = new p(i.name, a({}, i.attribs), o);
- o.forEach(function (e) {
- return (e.parent = l);
- }),
- i["x-attribsNamespace"] &&
- (l["x-attribsNamespace"] = a({}, i["x-attribsNamespace"])),
- i["x-attribsPrefix"] &&
- (l["x-attribsPrefix"] = a({}, i["x-attribsPrefix"])),
- (n = l);
- break;
- case "cdata":
- o = t ? m(e.children) : [];
- var h = new d(e.type, o);
- o.forEach(function (e) {
- return (e.parent = h);
- }),
- (n = h);
- break;
- case "root":
- var g = e,
- v = ((o = t ? m(g.children) : []), new f(o));
- o.forEach(function (e) {
- return (e.parent = v);
- }),
- g["x-mode"] && (v["x-mode"] = g["x-mode"]),
- (n = v);
- break;
- case "doctype":
- throw new Error("Not implemented yet: ElementType.Doctype case");
- }
- return (n.startIndex = e.startIndex), (n.endIndex = e.endIndex), n;
- }
- function m(e) {
- for (
- var t = e.map(function (e) {
- return h(e, !0);
- }),
- n = 1;
- n < t.length;
- n++
- )
- (t[n].prev = t[n - 1]), (t[n - 1].next = t[n]);
- return t;
- }
- (t.Element = p), (t.cloneNode = h);
- },
- 86: (e, t, n) => {
- var r = n(9),
- a = n(583),
- i = n(674),
- o = {
- lowerCaseAttributeNames: !1,
- };
- function l(e, t) {
- if ("string" != typeof e)
- throw new TypeError("First argument must be a string");
- return "" === e ? [] : r(i(e, (t = t || {}).htmlparser2 || o), t);
- }
- (l.domToReact = r),
- (l.htmlToDOM = i),
- (l.attributesToProps = a),
- (e.exports = l),
- (e.exports.default = l);
- },
- 583: (e, t, n) => {
- var r = n(853),
- a = n(490),
- i = a.setStyleProp,
- o = r.html,
- l = r.svg,
- s = r.isCustomAttribute,
- u = Object.prototype.hasOwnProperty;
- e.exports = function (e) {
- var t, n, r, c;
- e = e || {};
- var d = {};
- for (t in e)
- (r = e[t]),
- s(t)
- ? (d[t] = r)
- : ((n = t.toLowerCase()),
- u.call(o, n)
- ? (d[(c = o[n]).propertyName] =
- !!(
- c.hasBooleanValue ||
- (c.hasOverloadedBooleanValue && !r)
- ) || r)
- : u.call(l, t)
- ? (d[(c = l[t]).propertyName] = r)
- : a.PRESERVE_CUSTOM_ATTRIBUTES && (d[t] = r));
- return i(e.style, d), d;
- };
- },
- 9: (e, t, n) => {
- var r = n(466),
- a = n(583),
- i = n(490),
- o = i.setStyleProp;
- function l(e) {
- return (
- i.PRESERVE_CUSTOM_ATTRIBUTES &&
- "tag" === e.type &&
- i.isCustomComponent(e.name, e.attribs)
- );
- }
- e.exports = function e(t, n) {
- for (
- var i,
- s,
- u,
- c,
- d = (n = n || {}).library || r,
- f = d.cloneElement,
- p = d.createElement,
- h = d.isValidElement,
- m = [],
- g = "function" == typeof n.replace,
- v = n.trim,
- y = 0,
- b = t.length;
- y < b;
- y++
- )
- if (((i = t[y]), g && h((s = n.replace(i)))))
- b > 1 &&
- (s = f(s, {
- key: s.key || y,
- })),
- m.push(s);
- else if ("text" !== i.type) {
- switch (
- ((u = i.attribs),
- l(i) ? o(u.style, u) : u && (u = a(u)),
- (c = null),
- i.type)
- ) {
- case "script":
- case "style":
- i.children[0] &&
- (u.dangerouslySetInnerHTML = {
- __html: i.children[0].data,
- });
- break;
- case "tag":
- "textarea" === i.name && i.children[0]
- ? (u.defaultValue = i.children[0].data)
- : i.children && i.children.length && (c = e(i.children, n));
- break;
- default:
- continue;
- }
- b > 1 && (u.key = y), m.push(p(i.name, u, c));
- } else v ? i.data.trim() && m.push(i.data) : m.push(i.data);
- return 1 === m.length ? m[0] : m;
- };
- },
- 490: (e, t, n) => {
- var r = n(466),
- a = n(833).default,
- i = {
- reactCompat: !0,
- },
- o = r.version.split(".")[0] >= 16;
- e.exports = {
- PRESERVE_CUSTOM_ATTRIBUTES: o,
- invertObject: function (e, t) {
- if (!e || "object" != typeof e)
- throw new TypeError("First argument must be an object");
- var n,
- r,
- a = "function" == typeof t,
- i = {},
- o = {};
- for (n in e)
- (r = e[n]),
- a && (i = t(n, r)) && 2 === i.length
- ? (o[i[0]] = i[1])
- : "string" == typeof r && (o[r] = n);
- return o;
- },
- isCustomComponent: function (e, t) {
- if (-1 === e.indexOf("-")) return t && "string" == typeof t.is;
- switch (e) {
- case "annotation-xml":
- case "color-profile":
- case "font-face":
- case "font-face-src":
- case "font-face-uri":
- case "font-face-format":
- case "font-face-name":
- case "missing-glyph":
- return !1;
- default:
- return !0;
- }
- },
- setStyleProp: function (e, t) {
- null != e && (t.style = a(e, i));
- },
- };
- },
- 876: (e) => {
- var t = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,
- n = /\n/g,
- r = /^\s*/,
- a = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,
- i = /^:\s*/,
- o = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,
- l = /^[;\s]*/,
- s = /^\s+|\s+$/g,
- u = "";
- function c(e) {
- return e ? e.replace(s, u) : u;
- }
- e.exports = function (e, s) {
- if ("string" != typeof e)
- throw new TypeError("First argument must be a string");
- if (!e) return [];
- s = s || {};
- var d = 1,
- f = 1;
- function p(e) {
- var t = e.match(n);
- t && (d += t.length);
- var r = e.lastIndexOf("\n");
- f = ~r ? e.length - r : f + e.length;
- }
- function h() {
- var e = {
- line: d,
- column: f,
- };
- return function (t) {
- return (t.position = new m(e)), b(), t;
- };
- }
- function m(e) {
- (this.start = e),
- (this.end = {
- line: d,
- column: f,
- }),
- (this.source = s.source);
- }
- m.prototype.content = e;
- var g = [];
- function v(t) {
- var n = new Error(s.source + ":" + d + ":" + f + ": " + t);
- if (
- ((n.reason = t),
- (n.filename = s.source),
- (n.line = d),
- (n.column = f),
- (n.source = e),
- !s.silent)
- )
- throw n;
- g.push(n);
- }
- function y(t) {
- var n = t.exec(e);
- if (n) {
- var r = n[0];
- return p(r), (e = e.slice(r.length)), n;
- }
- }
- function b() {
- y(r);
- }
- function w(e) {
- var t;
- for (e = e || []; (t = x()); ) !1 !== t && e.push(t);
- return e;
- }
- function x() {
- var t = h();
- if ("/" == e.charAt(0) && "*" == e.charAt(1)) {
- for (
- var n = 2;
- u != e.charAt(n) &&
- ("*" != e.charAt(n) || "/" != e.charAt(n + 1));
-
- )
- ++n;
- if (((n += 2), u === e.charAt(n - 1)))
- return v("End of comment missing");
- var r = e.slice(2, n - 2);
- return (
- (f += 2),
- p(r),
- (e = e.slice(n)),
- (f += 2),
- t({
- type: "comment",
- comment: r,
- })
- );
- }
- }
- function _() {
- var e = h(),
- n = y(a);
- if (n) {
- if ((x(), !y(i))) return v("property missing ':'");
- var r = y(o),
- s = e({
- type: "declaration",
- property: c(n[0].replace(t, u)),
- value: r ? c(r[0].replace(t, u)) : u,
- });
- return y(l), s;
- }
- }
- return (
- b(),
- (function () {
- var e,
- t = [];
- for (w(t); (e = _()); ) !1 !== e && (t.push(e), w(t));
- return t;
- })()
- );
- };
- },
- 347: (e) => {
- "use strict";
- var t = Object.getOwnPropertySymbols,
- n = Object.prototype.hasOwnProperty,
- r = Object.prototype.propertyIsEnumerable;
- function a(e) {
- if (null == e)
- throw new TypeError(
- "Object.assign cannot be called with null or undefined"
- );
- return Object(e);
- }
- e.exports = (function () {
- try {
- if (!Object.assign) return !1;
- var e = new String("abc");
- if (((e[5] = "de"), "5" === Object.getOwnPropertyNames(e)[0]))
- return !1;
- for (var t = {}, n = 0; n < 10; n++)
- t["_" + String.fromCharCode(n)] = n;
- if (
- "0123456789" !==
- Object.getOwnPropertyNames(t)
- .map(function (e) {
- return t[e];
- })
- .join("")
- )
- return !1;
- var r = {};
- return (
- "abcdefghijklmnopqrst".split("").forEach(function (e) {
- r[e] = e;
- }),
- "abcdefghijklmnopqrst" ===
- Object.keys(Object.assign({}, r)).join("")
- );
- } catch (e) {
- return !1;
- }
- })()
- ? Object.assign
- : function (e, i) {
- for (var o, l, s = a(e), u = 1; u < arguments.length; u++) {
- for (var c in (o = Object(arguments[u])))
- n.call(o, c) && (s[c] = o[c]);
- if (t) {
- l = t(o);
- for (var d = 0; d < l.length; d++)
- r.call(o, l[d]) && (s[l[d]] = o[l[d]]);
- }
- }
- return s;
- };
- },
- 433: (e, t, n) => {
- "use strict";
- var r = n(642);
- function a() {}
- function i() {}
- (i.resetWarningCache = a),
- (e.exports = function () {
- function e(e, t, n, a, i, o) {
- if (o !== r) {
- var l = new Error(
- "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
- );
- throw ((l.name = "Invariant Violation"), l);
- }
- }
- function t() {
- return e;
- }
- e.isRequired = e;
- var n = {
- array: e,
- bool: e,
- func: e,
- number: e,
- object: e,
- string: e,
- symbol: e,
- any: e,
- arrayOf: t,
- element: e,
- elementType: e,
- instanceOf: t,
- node: e,
- objectOf: t,
- oneOf: t,
- oneOfType: t,
- shape: t,
- exact: t,
- checkPropTypes: i,
- resetWarningCache: a,
- };
- return (n.PropTypes = n), n;
- });
- },
- 74: (e, t, n) => {
- e.exports = n(433)();
- },
- 642: (e) => {
- "use strict";
- e.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
- },
- 748: (e, t, n) => {
- "use strict";
- var r = n(466),
- a = n(347),
- i = n(767);
- function o(e) {
- for (
- var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e,
- n = 1;
- n < arguments.length;
- n++
- )
- t += "&args[]=" + encodeURIComponent(arguments[n]);
- return (
- "Minified React error #" +
- e +
- "; visit " +
- t +
- " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."
- );
- }
- if (!r) throw Error(o(227));
- var l = new Set(),
- s = {};
- function u(e, t) {
- c(e, t), c(e + "Capture", t);
- }
- function c(e, t) {
- for (s[e] = t, e = 0; e < t.length; e++) l.add(t[e]);
- }
- var d = !(
- "undefined" == typeof window ||
- void 0 === window.document ||
- void 0 === window.document.createElement
- ),
- f =
- /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,
- p = Object.prototype.hasOwnProperty,
- h = {},
- m = {};
- function g(e, t, n, r, a, i, o) {
- (this.acceptsBooleans = 2 === t || 3 === t || 4 === t),
- (this.attributeName = r),
- (this.attributeNamespace = a),
- (this.mustUseProperty = n),
- (this.propertyName = e),
- (this.type = t),
- (this.sanitizeURL = i),
- (this.removeEmptyString = o);
- }
- var v = {};
- "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style"
- .split(" ")
- .forEach(function (e) {
- v[e] = new g(e, 0, !1, e, null, !1, !1);
- }),
- [
- ["acceptCharset", "accept-charset"],
- ["className", "class"],
- ["htmlFor", "for"],
- ["httpEquiv", "http-equiv"],
- ].forEach(function (e) {
- var t = e[0];
- v[t] = new g(t, 1, !1, e[1], null, !1, !1);
- }),
- ["contentEditable", "draggable", "spellCheck", "value"].forEach(
- function (e) {
- v[e] = new g(e, 2, !1, e.toLowerCase(), null, !1, !1);
- }
- ),
- [
- "autoReverse",
- "externalResourcesRequired",
- "focusable",
- "preserveAlpha",
- ].forEach(function (e) {
- v[e] = new g(e, 2, !1, e, null, !1, !1);
- }),
- "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope"
- .split(" ")
- .forEach(function (e) {
- v[e] = new g(e, 3, !1, e.toLowerCase(), null, !1, !1);
- }),
- ["checked", "multiple", "muted", "selected"].forEach(function (e) {
- v[e] = new g(e, 3, !0, e, null, !1, !1);
- }),
- ["capture", "download"].forEach(function (e) {
- v[e] = new g(e, 4, !1, e, null, !1, !1);
- }),
- ["cols", "rows", "size", "span"].forEach(function (e) {
- v[e] = new g(e, 6, !1, e, null, !1, !1);
- }),
- ["rowSpan", "start"].forEach(function (e) {
- v[e] = new g(e, 5, !1, e.toLowerCase(), null, !1, !1);
- });
- var y = /[\-:]([a-z])/g;
- function b(e) {
- return e[1].toUpperCase();
- }
- function w(e, t, n, r) {
- var a = v.hasOwnProperty(t) ? v[t] : null;
- (null !== a
- ? 0 === a.type
- : !r &&
- 2 < t.length &&
- ("o" === t[0] || "O" === t[0]) &&
- ("n" === t[1] || "N" === t[1])) ||
- ((function (e, t, n, r) {
- if (
- null == t ||
- (function (e, t, n, r) {
- if (null !== n && 0 === n.type) return !1;
- switch (typeof t) {
- case "function":
- case "symbol":
- return !0;
- case "boolean":
- return (
- !r &&
- (null !== n
- ? !n.acceptsBooleans
- : "data-" !== (e = e.toLowerCase().slice(0, 5)) &&
- "aria-" !== e)
- );
- default:
- return !1;
- }
- })(e, t, n, r)
- )
- return !0;
- if (r) return !1;
- if (null !== n)
- switch (n.type) {
- case 3:
- return !t;
- case 4:
- return !1 === t;
- case 5:
- return isNaN(t);
- case 6:
- return isNaN(t) || 1 > t;
- }
- return !1;
- })(t, n, a, r) && (n = null),
- r || null === a
- ? (function (e) {
- return (
- !!p.call(m, e) ||
- (!p.call(h, e) &&
- (f.test(e) ? (m[e] = !0) : ((h[e] = !0), !1)))
- );
- })(t) &&
- (null === n ? e.removeAttribute(t) : e.setAttribute(t, "" + n))
- : a.mustUseProperty
- ? (e[a.propertyName] = null === n ? 3 !== a.type && "" : n)
- : ((t = a.attributeName),
- (r = a.attributeNamespace),
- null === n
- ? e.removeAttribute(t)
- : ((n =
- 3 === (a = a.type) || (4 === a && !0 === n) ? "" : "" + n),
- r ? e.setAttributeNS(r, t, n) : e.setAttribute(t, n))));
- }
- "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height"
- .split(" ")
- .forEach(function (e) {
- var t = e.replace(y, b);
- v[t] = new g(t, 1, !1, e, null, !1, !1);
- }),
- "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type"
- .split(" ")
- .forEach(function (e) {
- var t = e.replace(y, b);
- v[t] = new g(t, 1, !1, e, "http://www.w3.org/1999/xlink", !1, !1);
- }),
- ["xml:base", "xml:lang", "xml:space"].forEach(function (e) {
- var t = e.replace(y, b);
- v[t] = new g(
- t,
- 1,
- !1,
- e,
- "http://www.w3.org/XML/1998/namespace",
- !1,
- !1
- );
- }),
- ["tabIndex", "crossOrigin"].forEach(function (e) {
- v[e] = new g(e, 1, !1, e.toLowerCase(), null, !1, !1);
- }),
- (v.xlinkHref = new g(
- "xlinkHref",
- 1,
- !1,
- "xlink:href",
- "http://www.w3.org/1999/xlink",
- !0,
- !1
- )),
- ["src", "href", "action", "formAction"].forEach(function (e) {
- v[e] = new g(e, 1, !1, e.toLowerCase(), null, !0, !0);
- });
- var x = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
- _ = 60103,
- T = 60106,
- S = 60107,
- k = 60108,
- E = 60114,
- P = 60109,
- C = 60110,
- O = 60112,
- R = 60113,
- A = 60120,
- M = 60115,
- N = 60116,
- j = 60121,
- L = 60128,
- D = 60129,
- I = 60130,
- F = 60131;
- if ("function" == typeof Symbol && Symbol.for) {
- var z = Symbol.for;
- (_ = z("react.element")),
- (T = z("react.portal")),
- (S = z("react.fragment")),
- (k = z("react.strict_mode")),
- (E = z("react.profiler")),
- (P = z("react.provider")),
- (C = z("react.context")),
- (O = z("react.forward_ref")),
- (R = z("react.suspense")),
- (A = z("react.suspense_list")),
- (M = z("react.memo")),
- (N = z("react.lazy")),
- (j = z("react.block")),
- z("react.scope"),
- (L = z("react.opaque.id")),
- (D = z("react.debug_trace_mode")),
- (I = z("react.offscreen")),
- (F = z("react.legacy_hidden"));
- }
- var B,
- U = "function" == typeof Symbol && Symbol.iterator;
- function q(e) {
- return null === e || "object" != typeof e
- ? null
- : "function" == typeof (e = (U && e[U]) || e["@@iterator"])
- ? e
- : null;
- }
- function V(e) {
- if (void 0 === B)
- try {
- throw Error();
- } catch (e) {
- var t = e.stack.trim().match(/\n( *(at )?)/);
- B = (t && t[1]) || "";
- }
- return "\n" + B + e;
- }
- var H = !1;
- function W(e, t) {
- if (!e || H) return "";
- H = !0;
- var n = Error.prepareStackTrace;
- Error.prepareStackTrace = void 0;
- try {
- if (t)
- if (
- ((t = function () {
- throw Error();
- }),
- Object.defineProperty(t.prototype, "props", {
- set: function () {
- throw Error();
- },
- }),
- "object" == typeof Reflect && Reflect.construct)
- ) {
- try {
- Reflect.construct(t, []);
- } catch (e) {
- var r = e;
- }
- Reflect.construct(e, [], t);
- } else {
- try {
- t.call();
- } catch (e) {
- r = e;
- }
- e.call(t.prototype);
- }
- else {
- try {
- throw Error();
- } catch (e) {
- r = e;
- }
- e();
- }
- } catch (e) {
- if (e && r && "string" == typeof e.stack) {
- for (
- var a = e.stack.split("\n"),
- i = r.stack.split("\n"),
- o = a.length - 1,
- l = i.length - 1;
- 1 <= o && 0 <= l && a[o] !== i[l];
-
- )
- l--;
- for (; 1 <= o && 0 <= l; o--, l--)
- if (a[o] !== i[l]) {
- if (1 !== o || 1 !== l)
- do {
- if ((o--, 0 > --l || a[o] !== i[l]))
- return "\n" + a[o].replace(" at new ", " at ");
- } while (1 <= o && 0 <= l);
- break;
- }
- }
- } finally {
- (H = !1), (Error.prepareStackTrace = n);
- }
- return (e = e ? e.displayName || e.name : "") ? V(e) : "";
- }
- function G(e) {
- switch (e.tag) {
- case 5:
- return V(e.type);
- case 16:
- return V("Lazy");
- case 13:
- return V("Suspense");
- case 19:
- return V("SuspenseList");
- case 0:
- case 2:
- case 15:
- return W(e.type, !1);
- case 11:
- return W(e.type.render, !1);
- case 22:
- return W(e.type._render, !1);
- case 1:
- return W(e.type, !0);
- default:
- return "";
- }
- }
- function Q(e) {
- if (null == e) return null;
- if ("function" == typeof e) return e.displayName || e.name || null;
- if ("string" == typeof e) return e;
- switch (e) {
- case S:
- return "Fragment";
- case T:
- return "Portal";
- case E:
- return "Profiler";
- case k:
- return "StrictMode";
- case R:
- return "Suspense";
- case A:
- return "SuspenseList";
- }
- if ("object" == typeof e)
- switch (e.$$typeof) {
- case C:
- return (e.displayName || "Context") + ".Consumer";
- case P:
- return (e._context.displayName || "Context") + ".Provider";
- case O:
- var t = e.render;
- return (
- (t = t.displayName || t.name || ""),
- e.displayName ||
- ("" !== t ? "ForwardRef(" + t + ")" : "ForwardRef")
- );
- case M:
- return Q(e.type);
- case j:
- return Q(e._render);
- case N:
- (t = e._payload), (e = e._init);
- try {
- return Q(e(t));
- } catch (e) {}
- }
- return null;
- }
- function Y(e) {
- switch (typeof e) {
- case "boolean":
- case "number":
- case "object":
- case "string":
- case "undefined":
- return e;
- default:
- return "";
- }
- }
- function X(e) {
- var t = e.type;
- return (
- (e = e.nodeName) &&
- "input" === e.toLowerCase() &&
- ("checkbox" === t || "radio" === t)
- );
- }
- function $(e) {
- e._valueTracker ||
- (e._valueTracker = (function (e) {
- var t = X(e) ? "checked" : "value",
- n = Object.getOwnPropertyDescriptor(e.constructor.prototype, t),
- r = "" + e[t];
- if (
- !e.hasOwnProperty(t) &&
- void 0 !== n &&
- "function" == typeof n.get &&
- "function" == typeof n.set
- ) {
- var a = n.get,
- i = n.set;
- return (
- Object.defineProperty(e, t, {
- configurable: !0,
- get: function () {
- return a.call(this);
- },
- set: function (e) {
- (r = "" + e), i.call(this, e);
- },
- }),
- Object.defineProperty(e, t, {
- enumerable: n.enumerable,
- }),
- {
- getValue: function () {
- return r;
- },
- setValue: function (e) {
- r = "" + e;
- },
- stopTracking: function () {
- (e._valueTracker = null), delete e[t];
- },
- }
- );
- }
- })(e));
- }
- function J(e) {
- if (!e) return !1;
- var t = e._valueTracker;
- if (!t) return !0;
- var n = t.getValue(),
- r = "";
- return (
- e && (r = X(e) ? (e.checked ? "true" : "false") : e.value),
- (e = r) !== n && (t.setValue(e), !0)
- );
- }
- function K(e) {
- if (
- void 0 ===
- (e = e || ("undefined" != typeof document ? document : void 0))
- )
- return null;
- try {
- return e.activeElement || e.body;
- } catch (t) {
- return e.body;
- }
- }
- function Z(e, t) {
- var n = t.checked;
- return a({}, t, {
- defaultChecked: void 0,
- defaultValue: void 0,
- value: void 0,
- checked: null != n ? n : e._wrapperState.initialChecked,
- });
- }
- function ee(e, t) {
- var n = null == t.defaultValue ? "" : t.defaultValue,
- r = null != t.checked ? t.checked : t.defaultChecked;
- (n = Y(null != t.value ? t.value : n)),
- (e._wrapperState = {
- initialChecked: r,
- initialValue: n,
- controlled:
- "checkbox" === t.type || "radio" === t.type
- ? null != t.checked
- : null != t.value,
- });
- }
- function te(e, t) {
- null != (t = t.checked) && w(e, "checked", t, !1);
- }
- function ne(e, t) {
- te(e, t);
- var n = Y(t.value),
- r = t.type;
- if (null != n)
- "number" === r
- ? ((0 === n && "" === e.value) || e.value != n) &&
- (e.value = "" + n)
- : e.value !== "" + n && (e.value = "" + n);
- else if ("submit" === r || "reset" === r)
- return void e.removeAttribute("value");
- t.hasOwnProperty("value")
- ? ae(e, t.type, n)
- : t.hasOwnProperty("defaultValue") &&
- ae(e, t.type, Y(t.defaultValue)),
- null == t.checked &&
- null != t.defaultChecked &&
- (e.defaultChecked = !!t.defaultChecked);
- }
- function re(e, t, n) {
- if (t.hasOwnProperty("value") || t.hasOwnProperty("defaultValue")) {
- var r = t.type;
- if (
- !(
- ("submit" !== r && "reset" !== r) ||
- (void 0 !== t.value && null !== t.value)
- )
- )
- return;
- (t = "" + e._wrapperState.initialValue),
- n || t === e.value || (e.value = t),
- (e.defaultValue = t);
- }
- "" !== (n = e.name) && (e.name = ""),
- (e.defaultChecked = !!e._wrapperState.initialChecked),
- "" !== n && (e.name = n);
- }
- function ae(e, t, n) {
- ("number" === t && K(e.ownerDocument) === e) ||
- (null == n
- ? (e.defaultValue = "" + e._wrapperState.initialValue)
- : e.defaultValue !== "" + n && (e.defaultValue = "" + n));
- }
- function ie(e, t) {
- return (
- (e = a(
- {
- children: void 0,
- },
- t
- )),
- (t = (function (e) {
- var t = "";
- return (
- r.Children.forEach(e, function (e) {
- null != e && (t += e);
- }),
- t
- );
- })(t.children)) && (e.children = t),
- e
- );
- }
- function oe(e, t, n, r) {
- if (((e = e.options), t)) {
- t = {};
- for (var a = 0; a < n.length; a++) t["$" + n[a]] = !0;
- for (n = 0; n < e.length; n++)
- (a = t.hasOwnProperty("$" + e[n].value)),
- e[n].selected !== a && (e[n].selected = a),
- a && r && (e[n].defaultSelected = !0);
- } else {
- for (n = "" + Y(n), t = null, a = 0; a < e.length; a++) {
- if (e[a].value === n)
- return (
- (e[a].selected = !0), void (r && (e[a].defaultSelected = !0))
- );
- null !== t || e[a].disabled || (t = e[a]);
- }
- null !== t && (t.selected = !0);
- }
- }
- function le(e, t) {
- if (null != t.dangerouslySetInnerHTML) throw Error(o(91));
- return a({}, t, {
- value: void 0,
- defaultValue: void 0,
- children: "" + e._wrapperState.initialValue,
- });
- }
- function se(e, t) {
- var n = t.value;
- if (null == n) {
- if (((n = t.children), (t = t.defaultValue), null != n)) {
- if (null != t) throw Error(o(92));
- if (Array.isArray(n)) {
- if (!(1 >= n.length)) throw Error(o(93));
- n = n[0];
- }
- t = n;
- }
- null == t && (t = ""), (n = t);
- }
- e._wrapperState = {
- initialValue: Y(n),
- };
- }
- function ue(e, t) {
- var n = Y(t.value),
- r = Y(t.defaultValue);
- null != n &&
- ((n = "" + n) !== e.value && (e.value = n),
- null == t.defaultValue &&
- e.defaultValue !== n &&
- (e.defaultValue = n)),
- null != r && (e.defaultValue = "" + r);
- }
- function ce(e) {
- var t = e.textContent;
- t === e._wrapperState.initialValue &&
- "" !== t &&
- null !== t &&
- (e.value = t);
- }
- var de = "http://www.w3.org/1999/xhtml";
- function fe(e) {
- switch (e) {
- case "svg":
- return "http://www.w3.org/2000/svg";
- case "math":
- return "http://www.w3.org/1998/Math/MathML";
- default:
- return "http://www.w3.org/1999/xhtml";
- }
- }
- function pe(e, t) {
- return null == e || "http://www.w3.org/1999/xhtml" === e
- ? fe(t)
- : "http://www.w3.org/2000/svg" === e && "foreignObject" === t
- ? "http://www.w3.org/1999/xhtml"
- : e;
- }
- var he,
- me,
- ge =
- ((me = function (e, t) {
- if (
- "http://www.w3.org/2000/svg" !== e.namespaceURI ||
- "innerHTML" in e
- )
- e.innerHTML = t;
- else {
- for (
- (he = he || document.createElement("div")).innerHTML =
- "<svg>" + t.valueOf().toString() + "</svg>",
- t = he.firstChild;
- e.firstChild;
-
- )
- e.removeChild(e.firstChild);
- for (; t.firstChild; ) e.appendChild(t.firstChild);
- }
- }),
- "undefined" != typeof MSApp && MSApp.execUnsafeLocalFunction
- ? function (e, t, n, r) {
- MSApp.execUnsafeLocalFunction(function () {
- return me(e, t);
- });
- }
- : me);
- function ve(e, t) {
- if (t) {
- var n = e.firstChild;
- if (n && n === e.lastChild && 3 === n.nodeType)
- return void (n.nodeValue = t);
- }
- e.textContent = t;
- }
- var ye = {
- animationIterationCount: !0,
- borderImageOutset: !0,
- borderImageSlice: !0,
- borderImageWidth: !0,
- boxFlex: !0,
- boxFlexGroup: !0,
- boxOrdinalGroup: !0,
- columnCount: !0,
- columns: !0,
- flex: !0,
- flexGrow: !0,
- flexPositive: !0,
- flexShrink: !0,
- flexNegative: !0,
- flexOrder: !0,
- gridArea: !0,
- gridRow: !0,
- gridRowEnd: !0,
- gridRowSpan: !0,
- gridRowStart: !0,
- gridColumn: !0,
- gridColumnEnd: !0,
- gridColumnSpan: !0,
- gridColumnStart: !0,
- fontWeight: !0,
- lineClamp: !0,
- lineHeight: !0,
- opacity: !0,
- order: !0,
- orphans: !0,
- tabSize: !0,
- widows: !0,
- zIndex: !0,
- zoom: !0,
- fillOpacity: !0,
- floodOpacity: !0,
- stopOpacity: !0,
- strokeDasharray: !0,
- strokeDashoffset: !0,
- strokeMiterlimit: !0,
- strokeOpacity: !0,
- strokeWidth: !0,
- },
- be = ["Webkit", "ms", "Moz", "O"];
- function we(e, t, n) {
- return null == t || "boolean" == typeof t || "" === t
- ? ""
- : n ||
- "number" != typeof t ||
- 0 === t ||
- (ye.hasOwnProperty(e) && ye[e])
- ? ("" + t).trim()
- : t + "px";
- }
- function xe(e, t) {
- for (var n in ((e = e.style), t))
- if (t.hasOwnProperty(n)) {
- var r = 0 === n.indexOf("--"),
- a = we(n, t[n], r);
- "float" === n && (n = "cssFloat"),
- r ? e.setProperty(n, a) : (e[n] = a);
- }
- }
- Object.keys(ye).forEach(function (e) {
- be.forEach(function (t) {
- (t = t + e.charAt(0).toUpperCase() + e.substring(1)), (ye[t] = ye[e]);
- });
- });
- var _e = a(
- {
- menuitem: !0,
- },
- {
- area: !0,
- base: !0,
- br: !0,
- col: !0,
- embed: !0,
- hr: !0,
- img: !0,
- input: !0,
- keygen: !0,
- link: !0,
- meta: !0,
- param: !0,
- source: !0,
- track: !0,
- wbr: !0,
- }
- );
- function Te(e, t) {
- if (t) {
- if (
- _e[e] &&
- (null != t.children || null != t.dangerouslySetInnerHTML)
- )
- throw Error(o(137, e));
- if (null != t.dangerouslySetInnerHTML) {
- if (null != t.children) throw Error(o(60));
- if (
- "object" != typeof t.dangerouslySetInnerHTML ||
- !("__html" in t.dangerouslySetInnerHTML)
- )
- throw Error(o(61));
- }
- if (null != t.style && "object" != typeof t.style) throw Error(o(62));
- }
- }
- function Se(e, t) {
- if (-1 === e.indexOf("-")) return "string" == typeof t.is;
- switch (e) {
- case "annotation-xml":
- case "color-profile":
- case "font-face":
- case "font-face-src":
- case "font-face-uri":
- case "font-face-format":
- case "font-face-name":
- case "missing-glyph":
- return !1;
- default:
- return !0;
- }
- }
- function ke(e) {
- return (
- (e = e.target || e.srcElement || window).correspondingUseElement &&
- (e = e.correspondingUseElement),
- 3 === e.nodeType ? e.parentNode : e
- );
- }
- var Ee = null,
- Pe = null,
- Ce = null;
- function Oe(e) {
- if ((e = Zr(e))) {
- if ("function" != typeof Ee) throw Error(o(280));
- var t = e.stateNode;
- t && ((t = ta(t)), Ee(e.stateNode, e.type, t));
- }
- }
- function Re(e) {
- Pe ? (Ce ? Ce.push(e) : (Ce = [e])) : (Pe = e);
- }
- function Ae() {
- if (Pe) {
- var e = Pe,
- t = Ce;
- if (((Ce = Pe = null), Oe(e), t))
- for (e = 0; e < t.length; e++) Oe(t[e]);
- }
- }
- function Me(e, t) {
- return e(t);
- }
- function Ne(e, t, n, r, a) {
- return e(t, n, r, a);
- }
- function je() {}
- var Le = Me,
- De = !1,
- Ie = !1;
- function Fe() {
- (null === Pe && null === Ce) || (je(), Ae());
- }
- function ze(e, t) {
- var n = e.stateNode;
- if (null === n) return null;
- var r = ta(n);
- if (null === r) return null;
- n = r[t];
- e: switch (t) {
- case "onClick":
- case "onClickCapture":
- case "onDoubleClick":
- case "onDoubleClickCapture":
- case "onMouseDown":
- case "onMouseDownCapture":
- case "onMouseMove":
- case "onMouseMoveCapture":
- case "onMouseUp":
- case "onMouseUpCapture":
- case "onMouseEnter":
- (r = !r.disabled) ||
- (r = !(
- "button" === (e = e.type) ||
- "input" === e ||
- "select" === e ||
- "textarea" === e
- )),
- (e = !r);
- break e;
- default:
- e = !1;
- }
- if (e) return null;
- if (n && "function" != typeof n) throw Error(o(231, t, typeof n));
- return n;
- }
- var Be = !1;
- if (d)
- try {
- var Ue = {};
- Object.defineProperty(Ue, "passive", {
- get: function () {
- Be = !0;
- },
- }),
- window.addEventListener("test", Ue, Ue),
- window.removeEventListener("test", Ue, Ue);
- } catch (me) {
- Be = !1;
- }
- function qe(e, t, n, r, a, i, o, l, s) {
- var u = Array.prototype.slice.call(arguments, 3);
- try {
- t.apply(n, u);
- } catch (e) {
- this.onError(e);
- }
- }
- var Ve = !1,
- He = null,
- We = !1,
- Ge = null,
- Qe = {
- onError: function (e) {
- (Ve = !0), (He = e);
- },
- };
- function Ye(e, t, n, r, a, i, o, l, s) {
- (Ve = !1), (He = null), qe.apply(Qe, arguments);
- }
- function Xe(e) {
- var t = e,
- n = e;
- if (e.alternate) for (; t.return; ) t = t.return;
- else {
- e = t;
- do {
- 0 != (1026 & (t = e).flags) && (n = t.return), (e = t.return);
- } while (e);
- }
- return 3 === t.tag ? n : null;
- }
- function $e(e) {
- if (13 === e.tag) {
- var t = e.memoizedState;
- if (
- (null === t && null !== (e = e.alternate) && (t = e.memoizedState),
- null !== t)
- )
- return t.dehydrated;
- }
- return null;
- }
- function Je(e) {
- if (Xe(e) !== e) throw Error(o(188));
- }
- function Ke(e) {
- if (
- !(e = (function (e) {
- var t = e.alternate;
- if (!t) {
- if (null === (t = Xe(e))) throw Error(o(188));
- return t !== e ? null : e;
- }
- for (var n = e, r = t; ; ) {
- var a = n.return;
- if (null === a) break;
- var i = a.alternate;
- if (null === i) {
- if (null !== (r = a.return)) {
- n = r;
- continue;
- }
- break;
- }
- if (a.child === i.child) {
- for (i = a.child; i; ) {
- if (i === n) return Je(a), e;
- if (i === r) return Je(a), t;
- i = i.sibling;
- }
- throw Error(o(188));
- }
- if (n.return !== r.return) (n = a), (r = i);
- else {
- for (var l = !1, s = a.child; s; ) {
- if (s === n) {
- (l = !0), (n = a), (r = i);
- break;
- }
- if (s === r) {
- (l = !0), (r = a), (n = i);
- break;
- }
- s = s.sibling;
- }
- if (!l) {
- for (s = i.child; s; ) {
- if (s === n) {
- (l = !0), (n = i), (r = a);
- break;
- }
- if (s === r) {
- (l = !0), (r = i), (n = a);
- break;
- }
- s = s.sibling;
- }
- if (!l) throw Error(o(189));
- }
- }
- if (n.alternate !== r) throw Error(o(190));
- }
- if (3 !== n.tag) throw Error(o(188));
- return n.stateNode.current === n ? e : t;
- })(e))
- )
- return null;
- for (var t = e; ; ) {
- if (5 === t.tag || 6 === t.tag) return t;
- if (t.child) (t.child.return = t), (t = t.child);
- else {
- if (t === e) break;
- for (; !t.sibling; ) {
- if (!t.return || t.return === e) return null;
- t = t.return;
- }
- (t.sibling.return = t.return), (t = t.sibling);
- }
- }
- return null;
- }
- function Ze(e, t) {
- for (var n = e.alternate; null !== t; ) {
- if (t === e || t === n) return !0;
- t = t.return;
- }
- return !1;
- }
- var et,
- tt,
- nt,
- rt,
- at = !1,
- it = [],
- ot = null,
- lt = null,
- st = null,
- ut = new Map(),
- ct = new Map(),
- dt = [],
- ft =
- "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(
- " "
- );
- function pt(e, t, n, r, a) {
- return {
- blockedOn: e,
- domEventName: t,
- eventSystemFlags: 16 | n,
- nativeEvent: a,
- targetContainers: [r],
- };
- }
- function ht(e, t) {
- switch (e) {
- case "focusin":
- case "focusout":
- ot = null;
- break;
- case "dragenter":
- case "dragleave":
- lt = null;
- break;
- case "mouseover":
- case "mouseout":
- st = null;
- break;
- case "pointerover":
- case "pointerout":
- ut.delete(t.pointerId);
- break;
- case "gotpointercapture":
- case "lostpointercapture":
- ct.delete(t.pointerId);
- }
- }
- function mt(e, t, n, r, a, i) {
- return null === e || e.nativeEvent !== i
- ? ((e = pt(t, n, r, a, i)),
- null !== t && null !== (t = Zr(t)) && tt(t),
- e)
- : ((e.eventSystemFlags |= r),
- (t = e.targetContainers),
- null !== a && -1 === t.indexOf(a) && t.push(a),
- e);
- }
- function gt(e) {
- var t = Kr(e.target);
- if (null !== t) {
- var n = Xe(t);
- if (null !== n)
- if (13 === (t = n.tag)) {
- if (null !== (t = $e(n)))
- return (
- (e.blockedOn = t),
- void rt(e.lanePriority, function () {
- i.unstable_runWithPriority(e.priority, function () {
- nt(n);
- });
- })
- );
- } else if (3 === t && n.stateNode.hydrate)
- return void (e.blockedOn =
- 3 === n.tag ? n.stateNode.containerInfo : null);
- }
- e.blockedOn = null;
- }
- function vt(e) {
- if (null !== e.blockedOn) return !1;
- for (var t = e.targetContainers; 0 < t.length; ) {
- var n = Kt(e.domEventName, e.eventSystemFlags, t[0], e.nativeEvent);
- if (null !== n)
- return null !== (t = Zr(n)) && tt(t), (e.blockedOn = n), !1;
- t.shift();
- }
- return !0;
- }
- function yt(e, t, n) {
- vt(e) && n.delete(t);
- }
- function bt() {
- for (at = !1; 0 < it.length; ) {
- var e = it[0];
- if (null !== e.blockedOn) {
- null !== (e = Zr(e.blockedOn)) && et(e);
- break;
- }
- for (var t = e.targetContainers; 0 < t.length; ) {
- var n = Kt(e.domEventName, e.eventSystemFlags, t[0], e.nativeEvent);
- if (null !== n) {
- e.blockedOn = n;
- break;
- }
- t.shift();
- }
- null === e.blockedOn && it.shift();
- }
- null !== ot && vt(ot) && (ot = null),
- null !== lt && vt(lt) && (lt = null),
- null !== st && vt(st) && (st = null),
- ut.forEach(yt),
- ct.forEach(yt);
- }
- function wt(e, t) {
- e.blockedOn === t &&
- ((e.blockedOn = null),
- at ||
- ((at = !0),
- i.unstable_scheduleCallback(i.unstable_NormalPriority, bt)));
- }
- function xt(e) {
- function t(t) {
- return wt(t, e);
- }
- if (0 < it.length) {
- wt(it[0], e);
- for (var n = 1; n < it.length; n++) {
- var r = it[n];
- r.blockedOn === e && (r.blockedOn = null);
- }
- }
- for (
- null !== ot && wt(ot, e),
- null !== lt && wt(lt, e),
- null !== st && wt(st, e),
- ut.forEach(t),
- ct.forEach(t),
- n = 0;
- n < dt.length;
- n++
- )
- (r = dt[n]).blockedOn === e && (r.blockedOn = null);
- for (; 0 < dt.length && null === (n = dt[0]).blockedOn; )
- gt(n), null === n.blockedOn && dt.shift();
- }
- function _t(e, t) {
- var n = {};
- return (
- (n[e.toLowerCase()] = t.toLowerCase()),
- (n["Webkit" + e] = "webkit" + t),
- (n["Moz" + e] = "moz" + t),
- n
- );
- }
- var Tt = {
- animationend: _t("Animation", "AnimationEnd"),
- animationiteration: _t("Animation", "AnimationIteration"),
- animationstart: _t("Animation", "AnimationStart"),
- transitionend: _t("Transition", "TransitionEnd"),
- },
- St = {},
- kt = {};
- function Et(e) {
- if (St[e]) return St[e];
- if (!Tt[e]) return e;
- var t,
- n = Tt[e];
- for (t in n) if (n.hasOwnProperty(t) && t in kt) return (St[e] = n[t]);
- return e;
- }
- d &&
- ((kt = document.createElement("div").style),
- "AnimationEvent" in window ||
- (delete Tt.animationend.animation,
- delete Tt.animationiteration.animation,
- delete Tt.animationstart.animation),
- "TransitionEvent" in window || delete Tt.transitionend.transition);
- var Pt = Et("animationend"),
- Ct = Et("animationiteration"),
- Ot = Et("animationstart"),
- Rt = Et("transitionend"),
- At = new Map(),
- Mt = new Map(),
- Nt = [
- "abort",
- "abort",
- Pt,
- "animationEnd",
- Ct,
- "animationIteration",
- Ot,
- "animationStart",
- "canplay",
- "canPlay",
- "canplaythrough",
- "canPlayThrough",
- "durationchange",
- "durationChange",
- "emptied",
- "emptied",
- "encrypted",
- "encrypted",
- "ended",
- "ended",
- "error",
- "error",
- "gotpointercapture",
- "gotPointerCapture",
- "load",
- "load",
- "loadeddata",
- "loadedData",
- "loadedmetadata",
- "loadedMetadata",
- "loadstart",
- "loadStart",
- "lostpointercapture",
- "lostPointerCapture",
- "playing",
- "playing",
- "progress",
- "progress",
- "seeking",
- "seeking",
- "stalled",
- "stalled",
- "suspend",
- "suspend",
- "timeupdate",
- "timeUpdate",
- Rt,
- "transitionEnd",
- "waiting",
- "waiting",
- ];
- function jt(e, t) {
- for (var n = 0; n < e.length; n += 2) {
- var r = e[n],
- a = e[n + 1];
- (a = "on" + (a[0].toUpperCase() + a.slice(1))),
- Mt.set(r, t),
- At.set(r, a),
- u(a, [r]);
- }
- }
- (0, i.unstable_now)();
- var Lt = 8;
- function Dt(e) {
- if (0 != (1 & e)) return (Lt = 15), 1;
- if (0 != (2 & e)) return (Lt = 14), 2;
- if (0 != (4 & e)) return (Lt = 13), 4;
- var t = 24 & e;
- return 0 !== t
- ? ((Lt = 12), t)
- : 0 != (32 & e)
- ? ((Lt = 11), 32)
- : 0 != (t = 192 & e)
- ? ((Lt = 10), t)
- : 0 != (256 & e)
- ? ((Lt = 9), 256)
- : 0 != (t = 3584 & e)
- ? ((Lt = 8), t)
- : 0 != (4096 & e)
- ? ((Lt = 7), 4096)
- : 0 != (t = 4186112 & e)
- ? ((Lt = 6), t)
- : 0 != (t = 62914560 & e)
- ? ((Lt = 5), t)
- : 67108864 & e
- ? ((Lt = 4), 67108864)
- : 0 != (134217728 & e)
- ? ((Lt = 3), 134217728)
- : 0 != (t = 805306368 & e)
- ? ((Lt = 2), t)
- : 0 != (1073741824 & e)
- ? ((Lt = 1), 1073741824)
- : ((Lt = 8), e);
- }
- function It(e, t) {
- var n = e.pendingLanes;
- if (0 === n) return (Lt = 0);
- var r = 0,
- a = 0,
- i = e.expiredLanes,
- o = e.suspendedLanes,
- l = e.pingedLanes;
- if (0 !== i) (r = i), (a = Lt = 15);
- else if (0 != (i = 134217727 & n)) {
- var s = i & ~o;
- 0 !== s
- ? ((r = Dt(s)), (a = Lt))
- : 0 != (l &= i) && ((r = Dt(l)), (a = Lt));
- } else
- 0 != (i = n & ~o)
- ? ((r = Dt(i)), (a = Lt))
- : 0 !== l && ((r = Dt(l)), (a = Lt));
- if (0 === r) return 0;
- if (
- ((r = n & (((0 > (r = 31 - Vt(r)) ? 0 : 1 << r) << 1) - 1)),
- 0 !== t && t !== r && 0 == (t & o))
- ) {
- if ((Dt(t), a <= Lt)) return t;
- Lt = a;
- }
- if (0 !== (t = e.entangledLanes))
- for (e = e.entanglements, t &= r; 0 < t; )
- (a = 1 << (n = 31 - Vt(t))), (r |= e[n]), (t &= ~a);
- return r;
- }
- function Ft(e) {
- return 0 != (e = -1073741825 & e.pendingLanes)
- ? e
- : 1073741824 & e
- ? 1073741824
- : 0;
- }
- function zt(e, t) {
- switch (e) {
- case 15:
- return 1;
- case 14:
- return 2;
- case 12:
- return 0 === (e = Bt(24 & ~t)) ? zt(10, t) : e;
- case 10:
- return 0 === (e = Bt(192 & ~t)) ? zt(8, t) : e;
- case 8:
- return (
- 0 === (e = Bt(3584 & ~t)) &&
- 0 === (e = Bt(4186112 & ~t)) &&
- (e = 512),
- e
- );
- case 2:
- return 0 === (t = Bt(805306368 & ~t)) && (t = 268435456), t;
- }
- throw Error(o(358, e));
- }
- function Bt(e) {
- return e & -e;
- }
- function Ut(e) {
- for (var t = [], n = 0; 31 > n; n++) t.push(e);
- return t;
- }
- function qt(e, t, n) {
- e.pendingLanes |= t;
- var r = t - 1;
- (e.suspendedLanes &= r),
- (e.pingedLanes &= r),
- ((e = e.eventTimes)[(t = 31 - Vt(t))] = n);
- }
- var Vt = Math.clz32
- ? Math.clz32
- : function (e) {
- return 0 === e ? 32 : (31 - ((Ht(e) / Wt) | 0)) | 0;
- },
- Ht = Math.log,
- Wt = Math.LN2,
- Gt = i.unstable_UserBlockingPriority,
- Qt = i.unstable_runWithPriority,
- Yt = !0;
- function Xt(e, t, n, r) {
- De || je();
- var a = Jt,
- i = De;
- De = !0;
- try {
- Ne(a, e, t, n, r);
- } finally {
- (De = i) || Fe();
- }
- }
- function $t(e, t, n, r) {
- Qt(Gt, Jt.bind(null, e, t, n, r));
- }
- function Jt(e, t, n, r) {
- var a;
- if (Yt)
- if ((a = 0 == (4 & t)) && 0 < it.length && -1 < ft.indexOf(e))
- (e = pt(null, e, t, n, r)), it.push(e);
- else {
- var i = Kt(e, t, n, r);
- if (null === i) a && ht(e, r);
- else {
- if (a) {
- if (-1 < ft.indexOf(e))
- return (e = pt(i, e, t, n, r)), void it.push(e);
- if (
- (function (e, t, n, r, a) {
- switch (t) {
- case "focusin":
- return (ot = mt(ot, e, t, n, r, a)), !0;
- case "dragenter":
- return (lt = mt(lt, e, t, n, r, a)), !0;
- case "mouseover":
- return (st = mt(st, e, t, n, r, a)), !0;
- case "pointerover":
- var i = a.pointerId;
- return (
- ut.set(i, mt(ut.get(i) || null, e, t, n, r, a)), !0
- );
- case "gotpointercapture":
- return (
- (i = a.pointerId),
- ct.set(i, mt(ct.get(i) || null, e, t, n, r, a)),
- !0
- );
- }
- return !1;
- })(i, e, t, n, r)
- )
- return;
- ht(e, r);
- }
- Ar(e, t, r, null, n);
- }
- }
- }
- function Kt(e, t, n, r) {
- var a = ke(r);
- if (null !== (a = Kr(a))) {
- var i = Xe(a);
- if (null === i) a = null;
- else {
- var o = i.tag;
- if (13 === o) {
- if (null !== (a = $e(i))) return a;
- a = null;
- } else if (3 === o) {
- if (i.stateNode.hydrate)
- return 3 === i.tag ? i.stateNode.containerInfo : null;
- a = null;
- } else i !== a && (a = null);
- }
- }
- return Ar(e, t, r, a, n), null;
- }
- var Zt = null,
- en = null,
- tn = null;
- function nn() {
- if (tn) return tn;
- var e,
- t,
- n = en,
- r = n.length,
- a = "value" in Zt ? Zt.value : Zt.textContent,
- i = a.length;
- for (e = 0; e < r && n[e] === a[e]; e++);
- var o = r - e;
- for (t = 1; t <= o && n[r - t] === a[i - t]; t++);
- return (tn = a.slice(e, 1 < t ? 1 - t : void 0));
- }
- function rn(e) {
- var t = e.keyCode;
- return (
- "charCode" in e
- ? 0 === (e = e.charCode) && 13 === t && (e = 13)
- : (e = t),
- 10 === e && (e = 13),
- 32 <= e || 13 === e ? e : 0
- );
- }
- function an() {
- return !0;
- }
- function on() {
- return !1;
- }
- function ln(e) {
- function t(t, n, r, a, i) {
- for (var o in ((this._reactName = t),
- (this._targetInst = r),
- (this.type = n),
- (this.nativeEvent = a),
- (this.target = i),
- (this.currentTarget = null),
- e))
- e.hasOwnProperty(o) && ((t = e[o]), (this[o] = t ? t(a) : a[o]));
- return (
- (this.isDefaultPrevented = (
- null != a.defaultPrevented
- ? a.defaultPrevented
- : !1 === a.returnValue
- )
- ? an
- : on),
- (this.isPropagationStopped = on),
- this
- );
- }
- return (
- a(t.prototype, {
- preventDefault: function () {
- this.defaultPrevented = !0;
- var e = this.nativeEvent;
- e &&
- (e.preventDefault
- ? e.preventDefault()
- : "unknown" != typeof e.returnValue && (e.returnValue = !1),
- (this.isDefaultPrevented = an));
- },
- stopPropagation: function () {
- var e = this.nativeEvent;
- e &&
- (e.stopPropagation
- ? e.stopPropagation()
- : "unknown" != typeof e.cancelBubble && (e.cancelBubble = !0),
- (this.isPropagationStopped = an));
- },
- persist: function () {},
- isPersistent: an,
- }),
- t
- );
- }
- var sn,
- un,
- cn,
- dn = {
- eventPhase: 0,
- bubbles: 0,
- cancelable: 0,
- timeStamp: function (e) {
- return e.timeStamp || Date.now();
- },
- defaultPrevented: 0,
- isTrusted: 0,
- },
- fn = ln(dn),
- pn = a({}, dn, {
- view: 0,
- detail: 0,
- }),
- hn = ln(pn),
- mn = a({}, pn, {
- screenX: 0,
- screenY: 0,
- clientX: 0,
- clientY: 0,
- pageX: 0,
- pageY: 0,
- ctrlKey: 0,
- shiftKey: 0,
- altKey: 0,
- metaKey: 0,
- getModifierState: En,
- button: 0,
- buttons: 0,
- relatedTarget: function (e) {
- return void 0 === e.relatedTarget
- ? e.fromElement === e.srcElement
- ? e.toElement
- : e.fromElement
- : e.relatedTarget;
- },
- movementX: function (e) {
- return "movementX" in e
- ? e.movementX
- : (e !== cn &&
- (cn && "mousemove" === e.type
- ? ((sn = e.screenX - cn.screenX),
- (un = e.screenY - cn.screenY))
- : (un = sn = 0),
- (cn = e)),
- sn);
- },
- movementY: function (e) {
- return "movementY" in e ? e.movementY : un;
- },
- }),
- gn = ln(mn),
- vn = ln(
- a({}, mn, {
- dataTransfer: 0,
- })
- ),
- yn = ln(
- a({}, pn, {
- relatedTarget: 0,
- })
- ),
- bn = ln(
- a({}, dn, {
- animationName: 0,
- elapsedTime: 0,
- pseudoElement: 0,
- })
- ),
- wn = ln(
- a({}, dn, {
- clipboardData: function (e) {
- return "clipboardData" in e
- ? e.clipboardData
- : window.clipboardData;
- },
- })
- ),
- xn = ln(
- a({}, dn, {
- data: 0,
- })
- ),
- _n = {
- Esc: "Escape",
- Spacebar: " ",
- Left: "ArrowLeft",
- Up: "ArrowUp",
- Right: "ArrowRight",
- Down: "ArrowDown",
- Del: "Delete",
- Win: "OS",
- Menu: "ContextMenu",
- Apps: "ContextMenu",
- Scroll: "ScrollLock",
- MozPrintableKey: "Unidentified",
- },
- Tn = {
- 8: "Backspace",
- 9: "Tab",
- 12: "Clear",
- 13: "Enter",
- 16: "Shift",
- 17: "Control",
- 18: "Alt",
- 19: "Pause",
- 20: "CapsLock",
- 27: "Escape",
- 32: " ",
- 33: "PageUp",
- 34: "PageDown",
- 35: "End",
- 36: "Home",
- 37: "ArrowLeft",
- 38: "ArrowUp",
- 39: "ArrowRight",
- 40: "ArrowDown",
- 45: "Insert",
- 46: "Delete",
- 112: "F1",
- 113: "F2",
- 114: "F3",
- 115: "F4",
- 116: "F5",
- 117: "F6",
- 118: "F7",
- 119: "F8",
- 120: "F9",
- 121: "F10",
- 122: "F11",
- 123: "F12",
- 144: "NumLock",
- 145: "ScrollLock",
- 224: "Meta",
- },
- Sn = {
- Alt: "altKey",
- Control: "ctrlKey",
- Meta: "metaKey",
- Shift: "shiftKey",
- };
- function kn(e) {
- var t = this.nativeEvent;
- return t.getModifierState
- ? t.getModifierState(e)
- : !!(e = Sn[e]) && !!t[e];
- }
- function En() {
- return kn;
- }
- var Pn = ln(
- a({}, pn, {
- key: function (e) {
- if (e.key) {
- var t = _n[e.key] || e.key;
- if ("Unidentified" !== t) return t;
- }
- return "keypress" === e.type
- ? 13 === (e = rn(e))
- ? "Enter"
- : String.fromCharCode(e)
- : "keydown" === e.type || "keyup" === e.type
- ? Tn[e.keyCode] || "Unidentified"
- : "";
- },
- code: 0,
- location: 0,
- ctrlKey: 0,
- shiftKey: 0,
- altKey: 0,
- metaKey: 0,
- repeat: 0,
- locale: 0,
- getModifierState: En,
- charCode: function (e) {
- return "keypress" === e.type ? rn(e) : 0;
- },
- keyCode: function (e) {
- return "keydown" === e.type || "keyup" === e.type ? e.keyCode : 0;
- },
- which: function (e) {
- return "keypress" === e.type
- ? rn(e)
- : "keydown" === e.type || "keyup" === e.type
- ? e.keyCode
- : 0;
- },
- })
- ),
- Cn = ln(
- a({}, mn, {
- pointerId: 0,
- width: 0,
- height: 0,
- pressure: 0,
- tangentialPressure: 0,
- tiltX: 0,
- tiltY: 0,
- twist: 0,
- pointerType: 0,
- isPrimary: 0,
- })
- ),
- On = ln(
- a({}, pn, {
- touches: 0,
- targetTouches: 0,
- changedTouches: 0,
- altKey: 0,
- metaKey: 0,
- ctrlKey: 0,
- shiftKey: 0,
- getModifierState: En,
- })
- ),
- Rn = ln(
- a({}, dn, {
- propertyName: 0,
- elapsedTime: 0,
- pseudoElement: 0,
- })
- ),
- An = ln(
- a({}, mn, {
- deltaX: function (e) {
- return "deltaX" in e
- ? e.deltaX
- : "wheelDeltaX" in e
- ? -e.wheelDeltaX
- : 0;
- },
- deltaY: function (e) {
- return "deltaY" in e
- ? e.deltaY
- : "wheelDeltaY" in e
- ? -e.wheelDeltaY
- : "wheelDelta" in e
- ? -e.wheelDelta
- : 0;
- },
- deltaZ: 0,
- deltaMode: 0,
- })
- ),
- Mn = [9, 13, 27, 32],
- Nn = d && "CompositionEvent" in window,
- jn = null;
- d && "documentMode" in document && (jn = document.documentMode);
- var Ln = d && "TextEvent" in window && !jn,
- Dn = d && (!Nn || (jn && 8 < jn && 11 >= jn)),
- In = String.fromCharCode(32),
- Fn = !1;
- function zn(e, t) {
- switch (e) {
- case "keyup":
- return -1 !== Mn.indexOf(t.keyCode);
- case "keydown":
- return 229 !== t.keyCode;
- case "keypress":
- case "mousedown":
- case "focusout":
- return !0;
- default:
- return !1;
- }
- }
- function Bn(e) {
- return "object" == typeof (e = e.detail) && "data" in e ? e.data : null;
- }
- var Un = !1,
- qn = {
- color: !0,
- date: !0,
- datetime: !0,
- "datetime-local": !0,
- email: !0,
- month: !0,
- number: !0,
- password: !0,
- range: !0,
- search: !0,
- tel: !0,
- text: !0,
- time: !0,
- url: !0,
- week: !0,
- };
- function Vn(e) {
- var t = e && e.nodeName && e.nodeName.toLowerCase();
- return "input" === t ? !!qn[e.type] : "textarea" === t;
- }
- function Hn(e, t, n, r) {
- Re(r),
- 0 < (t = Nr(t, "onChange")).length &&
- ((n = new fn("onChange", "change", null, n, r)),
- e.push({
- event: n,
- listeners: t,
- }));
- }
- var Wn = null,
- Gn = null;
- function Qn(e) {
- kr(e, 0);
- }
- function Yn(e) {
- if (J(ea(e))) return e;
- }
- function Xn(e, t) {
- if ("change" === e) return t;
- }
- var $n = !1;
- if (d) {
- var Jn;
- if (d) {
- var Kn = "oninput" in document;
- if (!Kn) {
- var Zn = document.createElement("div");
- Zn.setAttribute("oninput", "return;"),
- (Kn = "function" == typeof Zn.oninput);
- }
- Jn = Kn;
- } else Jn = !1;
- $n = Jn && (!document.documentMode || 9 < document.documentMode);
- }
- function er() {
- Wn && (Wn.detachEvent("onpropertychange", tr), (Gn = Wn = null));
- }
- function tr(e) {
- if ("value" === e.propertyName && Yn(Gn)) {
- var t = [];
- if ((Hn(t, Gn, e, ke(e)), (e = Qn), De)) e(t);
- else {
- De = !0;
- try {
- Me(e, t);
- } finally {
- (De = !1), Fe();
- }
- }
- }
- }
- function nr(e, t, n) {
- "focusin" === e
- ? (er(), (Gn = n), (Wn = t).attachEvent("onpropertychange", tr))
- : "focusout" === e && er();
- }
- function rr(e) {
- if ("selectionchange" === e || "keyup" === e || "keydown" === e)
- return Yn(Gn);
- }
- function ar(e, t) {
- if ("click" === e) return Yn(t);
- }
- function ir(e, t) {
- if ("input" === e || "change" === e) return Yn(t);
- }
- var or =
- "function" == typeof Object.is
- ? Object.is
- : function (e, t) {
- return (
- (e === t && (0 !== e || 1 / e == 1 / t)) || (e != e && t != t)
- );
- },
- lr = Object.prototype.hasOwnProperty;
- function sr(e, t) {
- if (or(e, t)) return !0;
- if (
- "object" != typeof e ||
- null === e ||
- "object" != typeof t ||
- null === t
- )
- return !1;
- var n = Object.keys(e),
- r = Object.keys(t);
- if (n.length !== r.length) return !1;
- for (r = 0; r < n.length; r++)
- if (!lr.call(t, n[r]) || !or(e[n[r]], t[n[r]])) return !1;
- return !0;
- }
- function ur(e) {
- for (; e && e.firstChild; ) e = e.firstChild;
- return e;
- }
- function cr(e, t) {
- var n,
- r = ur(e);
- for (e = 0; r; ) {
- if (3 === r.nodeType) {
- if (((n = e + r.textContent.length), e <= t && n >= t))
- return {
- node: r,
- offset: t - e,
- };
- e = n;
- }
- e: {
- for (; r; ) {
- if (r.nextSibling) {
- r = r.nextSibling;
- break e;
- }
- r = r.parentNode;
- }
- r = void 0;
- }
- r = ur(r);
- }
- }
- function dr(e, t) {
- return (
- !(!e || !t) &&
- (e === t ||
- ((!e || 3 !== e.nodeType) &&
- (t && 3 === t.nodeType
- ? dr(e, t.parentNode)
- : "contains" in e
- ? e.contains(t)
- : !!e.compareDocumentPosition &&
- !!(16 & e.compareDocumentPosition(t)))))
- );
- }
- function fr() {
- for (var e = window, t = K(); t instanceof e.HTMLIFrameElement; ) {
- try {
- var n = "string" == typeof t.contentWindow.location.href;
- } catch (e) {
- n = !1;
- }
- if (!n) break;
- t = K((e = t.contentWindow).document);
- }
- return t;
- }
- function pr(e) {
- var t = e && e.nodeName && e.nodeName.toLowerCase();
- return (
- t &&
- (("input" === t &&
- ("text" === e.type ||
- "search" === e.type ||
- "tel" === e.type ||
- "url" === e.type ||
- "password" === e.type)) ||
- "textarea" === t ||
- "true" === e.contentEditable)
- );
- }
- var hr = d && "documentMode" in document && 11 >= document.documentMode,
- mr = null,
- gr = null,
- vr = null,
- yr = !1;
- function br(e, t, n) {
- var r =
- n.window === n ? n.document : 9 === n.nodeType ? n : n.ownerDocument;
- yr ||
- null == mr ||
- mr !== K(r) ||
- ((r =
- "selectionStart" in (r = mr) && pr(r)
- ? {
- start: r.selectionStart,
- end: r.selectionEnd,
- }
- : {
- anchorNode: (r = (
- (r.ownerDocument && r.ownerDocument.defaultView) ||
- window
- ).getSelection()).anchorNode,
- anchorOffset: r.anchorOffset,
- focusNode: r.focusNode,
- focusOffset: r.focusOffset,
- }),
- (vr && sr(vr, r)) ||
- ((vr = r),
- 0 < (r = Nr(gr, "onSelect")).length &&
- ((t = new fn("onSelect", "select", null, t, n)),
- e.push({
- event: t,
- listeners: r,
- }),
- (t.target = mr))));
- }
- jt(
- "cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(
- " "
- ),
- 0
- ),
- jt(
- "drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(
- " "
- ),
- 1
- ),
- jt(Nt, 2);
- for (
- var wr =
- "change selectionchange textInput compositionstart compositionend compositionupdate".split(
- " "
- ),
- xr = 0;
- xr < wr.length;
- xr++
- )
- Mt.set(wr[xr], 0);
- c("onMouseEnter", ["mouseout", "mouseover"]),
- c("onMouseLeave", ["mouseout", "mouseover"]),
- c("onPointerEnter", ["pointerout", "pointerover"]),
- c("onPointerLeave", ["pointerout", "pointerover"]),
- u(
- "onChange",
- "change click focusin focusout input keydown keyup selectionchange".split(
- " "
- )
- ),
- u(
- "onSelect",
- "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(
- " "
- )
- ),
- u("onBeforeInput", [
- "compositionend",
- "keypress",
- "textInput",
- "paste",
- ]),
- u(
- "onCompositionEnd",
- "compositionend focusout keydown keypress keyup mousedown".split(" ")
- ),
- u(
- "onCompositionStart",
- "compositionstart focusout keydown keypress keyup mousedown".split(
- " "
- )
- ),
- u(
- "onCompositionUpdate",
- "compositionupdate focusout keydown keypress keyup mousedown".split(
- " "
- )
- );
- var _r =
- "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(
- " "
- ),
- Tr = new Set(
- "cancel close invalid load scroll toggle".split(" ").concat(_r)
- );
- function Sr(e, t, n) {
- var r = e.type || "unknown-event";
- (e.currentTarget = n),
- (function (e, t, n, r, a, i, l, s, u) {
- if ((Ye.apply(this, arguments), Ve)) {
- if (!Ve) throw Error(o(198));
- var c = He;
- (Ve = !1), (He = null), We || ((We = !0), (Ge = c));
- }
- })(r, t, void 0, e),
- (e.currentTarget = null);
- }
- function kr(e, t) {
- t = 0 != (4 & t);
- for (var n = 0; n < e.length; n++) {
- var r = e[n],
- a = r.event;
- r = r.listeners;
- e: {
- var i = void 0;
- if (t)
- for (var o = r.length - 1; 0 <= o; o--) {
- var l = r[o],
- s = l.instance,
- u = l.currentTarget;
- if (((l = l.listener), s !== i && a.isPropagationStopped()))
- break e;
- Sr(a, l, u), (i = s);
- }
- else
- for (o = 0; o < r.length; o++) {
- if (
- ((s = (l = r[o]).instance),
- (u = l.currentTarget),
- (l = l.listener),
- s !== i && a.isPropagationStopped())
- )
- break e;
- Sr(a, l, u), (i = s);
- }
- }
- }
- if (We) throw ((e = Ge), (We = !1), (Ge = null), e);
- }
- function Er(e, t) {
- var n = na(t),
- r = e + "__bubble";
- n.has(r) || (Rr(t, e, 2, !1), n.add(r));
- }
- var Pr = "_reactListening" + Math.random().toString(36).slice(2);
- function Cr(e) {
- e[Pr] ||
- ((e[Pr] = !0),
- l.forEach(function (t) {
- Tr.has(t) || Or(t, !1, e, null), Or(t, !0, e, null);
- }));
- }
- function Or(e, t, n, r) {
- var a =
- 4 < arguments.length && void 0 !== arguments[4] ? arguments[4] : 0,
- i = n;
- if (
- ("selectionchange" === e && 9 !== n.nodeType && (i = n.ownerDocument),
- null !== r && !t && Tr.has(e))
- ) {
- if ("scroll" !== e) return;
- (a |= 2), (i = r);
- }
- var o = na(i),
- l = e + "__" + (t ? "capture" : "bubble");
- o.has(l) || (t && (a |= 4), Rr(i, e, a, t), o.add(l));
- }
- function Rr(e, t, n, r) {
- var a = Mt.get(t);
- switch (void 0 === a ? 2 : a) {
- case 0:
- a = Xt;
- break;
- case 1:
- a = $t;
- break;
- default:
- a = Jt;
- }
- (n = a.bind(null, t, n, e)),
- (a = void 0),
- !Be ||
- ("touchstart" !== t && "touchmove" !== t && "wheel" !== t) ||
- (a = !0),
- r
- ? void 0 !== a
- ? e.addEventListener(t, n, {
- capture: !0,
- passive: a,
- })
- : e.addEventListener(t, n, !0)
- : void 0 !== a
- ? e.addEventListener(t, n, {
- passive: a,
- })
- : e.addEventListener(t, n, !1);
- }
- function Ar(e, t, n, r, a) {
- var i = r;
- if (0 == (1 & t) && 0 == (2 & t) && null !== r)
- e: for (;;) {
- if (null === r) return;
- var o = r.tag;
- if (3 === o || 4 === o) {
- var l = r.stateNode.containerInfo;
- if (l === a || (8 === l.nodeType && l.parentNode === a)) break;
- if (4 === o)
- for (o = r.return; null !== o; ) {
- var s = o.tag;
- if (
- (3 === s || 4 === s) &&
- ((s = o.stateNode.containerInfo) === a ||
- (8 === s.nodeType && s.parentNode === a))
- )
- return;
- o = o.return;
- }
- for (; null !== l; ) {
- if (null === (o = Kr(l))) return;
- if (5 === (s = o.tag) || 6 === s) {
- r = i = o;
- continue e;
- }
- l = l.parentNode;
- }
- }
- r = r.return;
- }
- !(function (e, t, n) {
- if (Ie) return e();
- Ie = !0;
- try {
- Le(e, t, n);
- } finally {
- (Ie = !1), Fe();
- }
- })(function () {
- var r = i,
- a = ke(n),
- o = [];
- e: {
- var l = At.get(e);
- if (void 0 !== l) {
- var s = fn,
- u = e;
- switch (e) {
- case "keypress":
- if (0 === rn(n)) break e;
- case "keydown":
- case "keyup":
- s = Pn;
- break;
- case "focusin":
- (u = "focus"), (s = yn);
- break;
- case "focusout":
- (u = "blur"), (s = yn);
- break;
- case "beforeblur":
- case "afterblur":
- s = yn;
- break;
- case "click":
- if (2 === n.button) break e;
- case "auxclick":
- case "dblclick":
- case "mousedown":
- case "mousemove":
- case "mouseup":
- case "mouseout":
- case "mouseover":
- case "contextmenu":
- s = gn;
- break;
- case "drag":
- case "dragend":
- case "dragenter":
- case "dragexit":
- case "dragleave":
- case "dragover":
- case "dragstart":
- case "drop":
- s = vn;
- break;
- case "touchcancel":
- case "touchend":
- case "touchmove":
- case "touchstart":
- s = On;
- break;
- case Pt:
- case Ct:
- case Ot:
- s = bn;
- break;
- case Rt:
- s = Rn;
- break;
- case "scroll":
- s = hn;
- break;
- case "wheel":
- s = An;
- break;
- case "copy":
- case "cut":
- case "paste":
- s = wn;
- break;
- case "gotpointercapture":
- case "lostpointercapture":
- case "pointercancel":
- case "pointerdown":
- case "pointermove":
- case "pointerout":
- case "pointerover":
- case "pointerup":
- s = Cn;
- }
- var c = 0 != (4 & t),
- d = !c && "scroll" === e,
- f = c ? (null !== l ? l + "Capture" : null) : l;
- c = [];
- for (var p, h = r; null !== h; ) {
- var m = (p = h).stateNode;
- if (
- (5 === p.tag &&
- null !== m &&
- ((p = m),
- null !== f &&
- null != (m = ze(h, f)) &&
- c.push(Mr(h, m, p))),
- d)
- )
- break;
- h = h.return;
- }
- 0 < c.length &&
- ((l = new s(l, u, null, n, a)),
- o.push({
- event: l,
- listeners: c,
- }));
- }
- }
- if (0 == (7 & t)) {
- if (
- ((s = "mouseout" === e || "pointerout" === e),
- (!(l = "mouseover" === e || "pointerover" === e) ||
- 0 != (16 & t) ||
- !(u = n.relatedTarget || n.fromElement) ||
- (!Kr(u) && !u[$r])) &&
- (s || l) &&
- ((l =
- a.window === a
- ? a
- : (l = a.ownerDocument)
- ? l.defaultView || l.parentWindow
- : window),
- s
- ? ((s = r),
- null !==
- (u = (u = n.relatedTarget || n.toElement)
- ? Kr(u)
- : null) &&
- (u !== (d = Xe(u)) || (5 !== u.tag && 6 !== u.tag)) &&
- (u = null))
- : ((s = null), (u = r)),
- s !== u))
- ) {
- if (
- ((c = gn),
- (m = "onMouseLeave"),
- (f = "onMouseEnter"),
- (h = "mouse"),
- ("pointerout" !== e && "pointerover" !== e) ||
- ((c = Cn),
- (m = "onPointerLeave"),
- (f = "onPointerEnter"),
- (h = "pointer")),
- (d = null == s ? l : ea(s)),
- (p = null == u ? l : ea(u)),
- ((l = new c(m, h + "leave", s, n, a)).target = d),
- (l.relatedTarget = p),
- (m = null),
- Kr(a) === r &&
- (((c = new c(f, h + "enter", u, n, a)).target = p),
- (c.relatedTarget = d),
- (m = c)),
- (d = m),
- s && u)
- )
- e: {
- for (f = u, h = 0, p = c = s; p; p = jr(p)) h++;
- for (p = 0, m = f; m; m = jr(m)) p++;
- for (; 0 < h - p; ) (c = jr(c)), h--;
- for (; 0 < p - h; ) (f = jr(f)), p--;
- for (; h--; ) {
- if (c === f || (null !== f && c === f.alternate)) break e;
- (c = jr(c)), (f = jr(f));
- }
- c = null;
- }
- else c = null;
- null !== s && Lr(o, l, s, c, !1),
- null !== u && null !== d && Lr(o, d, u, c, !0);
- }
- if (
- "select" ===
- (s =
- (l = r ? ea(r) : window).nodeName &&
- l.nodeName.toLowerCase()) ||
- ("input" === s && "file" === l.type)
- )
- var g = Xn;
- else if (Vn(l))
- if ($n) g = ir;
- else {
- g = rr;
- var v = nr;
- }
- else
- (s = l.nodeName) &&
- "input" === s.toLowerCase() &&
- ("checkbox" === l.type || "radio" === l.type) &&
- (g = ar);
- switch (
- (g && (g = g(e, r))
- ? Hn(o, g, n, a)
- : (v && v(e, l, r),
- "focusout" === e &&
- (v = l._wrapperState) &&
- v.controlled &&
- "number" === l.type &&
- ae(l, "number", l.value)),
- (v = r ? ea(r) : window),
- e)
- ) {
- case "focusin":
- (Vn(v) || "true" === v.contentEditable) &&
- ((mr = v), (gr = r), (vr = null));
- break;
- case "focusout":
- vr = gr = mr = null;
- break;
- case "mousedown":
- yr = !0;
- break;
- case "contextmenu":
- case "mouseup":
- case "dragend":
- (yr = !1), br(o, n, a);
- break;
- case "selectionchange":
- if (hr) break;
- case "keydown":
- case "keyup":
- br(o, n, a);
- }
- var y;
- if (Nn)
- e: {
- switch (e) {
- case "compositionstart":
- var b = "onCompositionStart";
- break e;
- case "compositionend":
- b = "onCompositionEnd";
- break e;
- case "compositionupdate":
- b = "onCompositionUpdate";
- break e;
- }
- b = void 0;
- }
- else
- Un
- ? zn(e, n) && (b = "onCompositionEnd")
- : "keydown" === e &&
- 229 === n.keyCode &&
- (b = "onCompositionStart");
- b &&
- (Dn &&
- "ko" !== n.locale &&
- (Un || "onCompositionStart" !== b
- ? "onCompositionEnd" === b && Un && (y = nn())
- : ((en = "value" in (Zt = a) ? Zt.value : Zt.textContent),
- (Un = !0))),
- 0 < (v = Nr(r, b)).length &&
- ((b = new xn(b, e, null, n, a)),
- o.push({
- event: b,
- listeners: v,
- }),
- (y || null !== (y = Bn(n))) && (b.data = y))),
- (y = Ln
- ? (function (e, t) {
- switch (e) {
- case "compositionend":
- return Bn(t);
- case "keypress":
- return 32 !== t.which ? null : ((Fn = !0), In);
- case "textInput":
- return (e = t.data) === In && Fn ? null : e;
- default:
- return null;
- }
- })(e, n)
- : (function (e, t) {
- if (Un)
- return "compositionend" === e || (!Nn && zn(e, t))
- ? ((e = nn()), (tn = en = Zt = null), (Un = !1), e)
- : null;
- switch (e) {
- case "paste":
- return null;
- case "keypress":
- if (
- !(t.ctrlKey || t.altKey || t.metaKey) ||
- (t.ctrlKey && t.altKey)
- ) {
- if (t.char && 1 < t.char.length) return t.char;
- if (t.which) return String.fromCharCode(t.which);
- }
- return null;
- case "compositionend":
- return Dn && "ko" !== t.locale ? null : t.data;
- default:
- return null;
- }
- })(e, n)) &&
- 0 < (r = Nr(r, "onBeforeInput")).length &&
- ((a = new xn("onBeforeInput", "beforeinput", null, n, a)),
- o.push({
- event: a,
- listeners: r,
- }),
- (a.data = y));
- }
- kr(o, t);
- });
- }
- function Mr(e, t, n) {
- return {
- instance: e,
- listener: t,
- currentTarget: n,
- };
- }
- function Nr(e, t) {
- for (var n = t + "Capture", r = []; null !== e; ) {
- var a = e,
- i = a.stateNode;
- 5 === a.tag &&
- null !== i &&
- ((a = i),
- null != (i = ze(e, n)) && r.unshift(Mr(e, i, a)),
- null != (i = ze(e, t)) && r.push(Mr(e, i, a))),
- (e = e.return);
- }
- return r;
- }
- function jr(e) {
- if (null === e) return null;
- do {
- e = e.return;
- } while (e && 5 !== e.tag);
- return e || null;
- }
- function Lr(e, t, n, r, a) {
- for (var i = t._reactName, o = []; null !== n && n !== r; ) {
- var l = n,
- s = l.alternate,
- u = l.stateNode;
- if (null !== s && s === r) break;
- 5 === l.tag &&
- null !== u &&
- ((l = u),
- a
- ? null != (s = ze(n, i)) && o.unshift(Mr(n, s, l))
- : a || (null != (s = ze(n, i)) && o.push(Mr(n, s, l)))),
- (n = n.return);
- }
- 0 !== o.length &&
- e.push({
- event: t,
- listeners: o,
- });
- }
- function Dr() {}
- var Ir = null,
- Fr = null;
- function zr(e, t) {
- switch (e) {
- case "button":
- case "input":
- case "select":
- case "textarea":
- return !!t.autoFocus;
- }
- return !1;
- }
- function Br(e, t) {
- return (
- "textarea" === e ||
- "option" === e ||
- "noscript" === e ||
- "string" == typeof t.children ||
- "number" == typeof t.children ||
- ("object" == typeof t.dangerouslySetInnerHTML &&
- null !== t.dangerouslySetInnerHTML &&
- null != t.dangerouslySetInnerHTML.__html)
- );
- }
- var Ur = "function" == typeof setTimeout ? setTimeout : void 0,
- qr = "function" == typeof clearTimeout ? clearTimeout : void 0;
- function Vr(e) {
- (1 === e.nodeType || (9 === e.nodeType && null != (e = e.body))) &&
- (e.textContent = "");
- }
- function Hr(e) {
- for (; null != e; e = e.nextSibling) {
- var t = e.nodeType;
- if (1 === t || 3 === t) break;
- }
- return e;
- }
- function Wr(e) {
- e = e.previousSibling;
- for (var t = 0; e; ) {
- if (8 === e.nodeType) {
- var n = e.data;
- if ("$" === n || "$!" === n || "$?" === n) {
- if (0 === t) return e;
- t--;
- } else "/$" === n && t++;
- }
- e = e.previousSibling;
- }
- return null;
- }
- var Gr = 0,
- Qr = Math.random().toString(36).slice(2),
- Yr = "__reactFiber$" + Qr,
- Xr = "__reactProps$" + Qr,
- $r = "__reactContainer$" + Qr,
- Jr = "__reactEvents$" + Qr;
- function Kr(e) {
- var t = e[Yr];
- if (t) return t;
- for (var n = e.parentNode; n; ) {
- if ((t = n[$r] || n[Yr])) {
- if (
- ((n = t.alternate),
- null !== t.child || (null !== n && null !== n.child))
- )
- for (e = Wr(e); null !== e; ) {
- if ((n = e[Yr])) return n;
- e = Wr(e);
- }
- return t;
- }
- n = (e = n).parentNode;
- }
- return null;
- }
- function Zr(e) {
- return !(e = e[Yr] || e[$r]) ||
- (5 !== e.tag && 6 !== e.tag && 13 !== e.tag && 3 !== e.tag)
- ? null
- : e;
- }
- function ea(e) {
- if (5 === e.tag || 6 === e.tag) return e.stateNode;
- throw Error(o(33));
- }
- function ta(e) {
- return e[Xr] || null;
- }
- function na(e) {
- var t = e[Jr];
- return void 0 === t && (t = e[Jr] = new Set()), t;
- }
- var ra = [],
- aa = -1;
- function ia(e) {
- return {
- current: e,
- };
- }
- function oa(e) {
- 0 > aa || ((e.current = ra[aa]), (ra[aa] = null), aa--);
- }
- function la(e, t) {
- aa++, (ra[aa] = e.current), (e.current = t);
- }
- var sa = {},
- ua = ia(sa),
- ca = ia(!1),
- da = sa;
- function fa(e, t) {
- var n = e.type.contextTypes;
- if (!n) return sa;
- var r = e.stateNode;
- if (r && r.__reactInternalMemoizedUnmaskedChildContext === t)
- return r.__reactInternalMemoizedMaskedChildContext;
- var a,
- i = {};
- for (a in n) i[a] = t[a];
- return (
- r &&
- (((e = e.stateNode).__reactInternalMemoizedUnmaskedChildContext =
- t),
- (e.__reactInternalMemoizedMaskedChildContext = i)),
- i
- );
- }
- function pa(e) {
- return null != e.childContextTypes;
- }
- function ha() {
- oa(ca), oa(ua);
- }
- function ma(e, t, n) {
- if (ua.current !== sa) throw Error(o(168));
- la(ua, t), la(ca, n);
- }
- function ga(e, t, n) {
- var r = e.stateNode;
- if (((e = t.childContextTypes), "function" != typeof r.getChildContext))
- return n;
- for (var i in (r = r.getChildContext()))
- if (!(i in e)) throw Error(o(108, Q(t) || "Unknown", i));
- return a({}, n, r);
- }
- function va(e) {
- return (
- (e =
- ((e = e.stateNode) &&
- e.__reactInternalMemoizedMergedChildContext) ||
- sa),
- (da = ua.current),
- la(ua, e),
- la(ca, ca.current),
- !0
- );
- }
- function ya(e, t, n) {
- var r = e.stateNode;
- if (!r) throw Error(o(169));
- n
- ? ((e = ga(e, t, da)),
- (r.__reactInternalMemoizedMergedChildContext = e),
- oa(ca),
- oa(ua),
- la(ua, e))
- : oa(ca),
- la(ca, n);
- }
- var ba = null,
- wa = null,
- xa = i.unstable_runWithPriority,
- _a = i.unstable_scheduleCallback,
- Ta = i.unstable_cancelCallback,
- Sa = i.unstable_shouldYield,
- ka = i.unstable_requestPaint,
- Ea = i.unstable_now,
- Pa = i.unstable_getCurrentPriorityLevel,
- Ca = i.unstable_ImmediatePriority,
- Oa = i.unstable_UserBlockingPriority,
- Ra = i.unstable_NormalPriority,
- Aa = i.unstable_LowPriority,
- Ma = i.unstable_IdlePriority,
- Na = {},
- ja = void 0 !== ka ? ka : function () {},
- La = null,
- Da = null,
- Ia = !1,
- Fa = Ea(),
- za =
- 1e4 > Fa
- ? Ea
- : function () {
- return Ea() - Fa;
- };
- function Ba() {
- switch (Pa()) {
- case Ca:
- return 99;
- case Oa:
- return 98;
- case Ra:
- return 97;
- case Aa:
- return 96;
- case Ma:
- return 95;
- default:
- throw Error(o(332));
- }
- }
- function Ua(e) {
- switch (e) {
- case 99:
- return Ca;
- case 98:
- return Oa;
- case 97:
- return Ra;
- case 96:
- return Aa;
- case 95:
- return Ma;
- default:
- throw Error(o(332));
- }
- }
- function qa(e, t) {
- return (e = Ua(e)), xa(e, t);
- }
- function Va(e, t, n) {
- return (e = Ua(e)), _a(e, t, n);
- }
- function Ha() {
- if (null !== Da) {
- var e = Da;
- (Da = null), Ta(e);
- }
- Wa();
- }
- function Wa() {
- if (!Ia && null !== La) {
- Ia = !0;
- var e = 0;
- try {
- var t = La;
- qa(99, function () {
- for (; e < t.length; e++) {
- var n = t[e];
- do {
- n = n(!0);
- } while (null !== n);
- }
- }),
- (La = null);
- } catch (t) {
- throw (null !== La && (La = La.slice(e + 1)), _a(Ca, Ha), t);
- } finally {
- Ia = !1;
- }
- }
- }
- var Ga = x.ReactCurrentBatchConfig;
- function Qa(e, t) {
- if (e && e.defaultProps) {
- for (var n in ((t = a({}, t)), (e = e.defaultProps)))
- void 0 === t[n] && (t[n] = e[n]);
- return t;
- }
- return t;
- }
- var Ya = ia(null),
- Xa = null,
- $a = null,
- Ja = null;
- function Ka() {
- Ja = $a = Xa = null;
- }
- function Za(e) {
- var t = Ya.current;
- oa(Ya), (e.type._context._currentValue = t);
- }
- function ei(e, t) {
- for (; null !== e; ) {
- var n = e.alternate;
- if ((e.childLanes & t) === t) {
- if (null === n || (n.childLanes & t) === t) break;
- n.childLanes |= t;
- } else (e.childLanes |= t), null !== n && (n.childLanes |= t);
- e = e.return;
- }
- }
- function ti(e, t) {
- (Xa = e),
- (Ja = $a = null),
- null !== (e = e.dependencies) &&
- null !== e.firstContext &&
- (0 != (e.lanes & t) && (No = !0), (e.firstContext = null));
- }
- function ni(e, t) {
- if (Ja !== e && !1 !== t && 0 !== t)
- if (
- (("number" == typeof t && 1073741823 !== t) ||
- ((Ja = e), (t = 1073741823)),
- (t = {
- context: e,
- observedBits: t,
- next: null,
- }),
- null === $a)
- ) {
- if (null === Xa) throw Error(o(308));
- ($a = t),
- (Xa.dependencies = {
- lanes: 0,
- firstContext: t,
- responders: null,
- });
- } else $a = $a.next = t;
- return e._currentValue;
- }
- var ri = !1;
- function ai(e) {
- e.updateQueue = {
- baseState: e.memoizedState,
- firstBaseUpdate: null,
- lastBaseUpdate: null,
- shared: {
- pending: null,
- },
- effects: null,
- };
- }
- function ii(e, t) {
- (e = e.updateQueue),
- t.updateQueue === e &&
- (t.updateQueue = {
- baseState: e.baseState,
- firstBaseUpdate: e.firstBaseUpdate,
- lastBaseUpdate: e.lastBaseUpdate,
- shared: e.shared,
- effects: e.effects,
- });
- }
- function oi(e, t) {
- return {
- eventTime: e,
- lane: t,
- tag: 0,
- payload: null,
- callback: null,
- next: null,
- };
- }
- function li(e, t) {
- if (null !== (e = e.updateQueue)) {
- var n = (e = e.shared).pending;
- null === n ? (t.next = t) : ((t.next = n.next), (n.next = t)),
- (e.pending = t);
- }
- }
- function si(e, t) {
- var n = e.updateQueue,
- r = e.alternate;
- if (null !== r && n === (r = r.updateQueue)) {
- var a = null,
- i = null;
- if (null !== (n = n.firstBaseUpdate)) {
- do {
- var o = {
- eventTime: n.eventTime,
- lane: n.lane,
- tag: n.tag,
- payload: n.payload,
- callback: n.callback,
- next: null,
- };
- null === i ? (a = i = o) : (i = i.next = o), (n = n.next);
- } while (null !== n);
- null === i ? (a = i = t) : (i = i.next = t);
- } else a = i = t;
- return (
- (n = {
- baseState: r.baseState,
- firstBaseUpdate: a,
- lastBaseUpdate: i,
- shared: r.shared,
- effects: r.effects,
- }),
- void (e.updateQueue = n)
- );
- }
- null === (e = n.lastBaseUpdate)
- ? (n.firstBaseUpdate = t)
- : (e.next = t),
- (n.lastBaseUpdate = t);
- }
- function ui(e, t, n, r) {
- var i = e.updateQueue;
- ri = !1;
- var o = i.firstBaseUpdate,
- l = i.lastBaseUpdate,
- s = i.shared.pending;
- if (null !== s) {
- i.shared.pending = null;
- var u = s,
- c = u.next;
- (u.next = null), null === l ? (o = c) : (l.next = c), (l = u);
- var d = e.alternate;
- if (null !== d) {
- var f = (d = d.updateQueue).lastBaseUpdate;
- f !== l &&
- (null === f ? (d.firstBaseUpdate = c) : (f.next = c),
- (d.lastBaseUpdate = u));
- }
- }
- if (null !== o) {
- for (f = i.baseState, l = 0, d = c = u = null; ; ) {
- s = o.lane;
- var p = o.eventTime;
- if ((r & s) === s) {
- null !== d &&
- (d = d.next =
- {
- eventTime: p,
- lane: 0,
- tag: o.tag,
- payload: o.payload,
- callback: o.callback,
- next: null,
- });
- e: {
- var h = e,
- m = o;
- switch (((s = t), (p = n), m.tag)) {
- case 1:
- if ("function" == typeof (h = m.payload)) {
- f = h.call(p, f, s);
- break e;
- }
- f = h;
- break e;
- case 3:
- h.flags = (-4097 & h.flags) | 64;
- case 0:
- if (
- null ==
- (s =
- "function" == typeof (h = m.payload)
- ? h.call(p, f, s)
- : h)
- )
- break e;
- f = a({}, f, s);
- break e;
- case 2:
- ri = !0;
- }
- }
- null !== o.callback &&
- ((e.flags |= 32),
- null === (s = i.effects) ? (i.effects = [o]) : s.push(o));
- } else
- (p = {
- eventTime: p,
- lane: s,
- tag: o.tag,
- payload: o.payload,
- callback: o.callback,
- next: null,
- }),
- null === d ? ((c = d = p), (u = f)) : (d = d.next = p),
- (l |= s);
- if (null === (o = o.next)) {
- if (null === (s = i.shared.pending)) break;
- (o = s.next),
- (s.next = null),
- (i.lastBaseUpdate = s),
- (i.shared.pending = null);
- }
- }
- null === d && (u = f),
- (i.baseState = u),
- (i.firstBaseUpdate = c),
- (i.lastBaseUpdate = d),
- (Ll |= l),
- (e.lanes = l),
- (e.memoizedState = f);
- }
- }
- function ci(e, t, n) {
- if (((e = t.effects), (t.effects = null), null !== e))
- for (t = 0; t < e.length; t++) {
- var r = e[t],
- a = r.callback;
- if (null !== a) {
- if (((r.callback = null), (r = n), "function" != typeof a))
- throw Error(o(191, a));
- a.call(r);
- }
- }
- }
- var di = new r.Component().refs;
- function fi(e, t, n, r) {
- (n = null == (n = n(r, (t = e.memoizedState))) ? t : a({}, t, n)),
- (e.memoizedState = n),
- 0 === e.lanes && (e.updateQueue.baseState = n);
- }
- var pi = {
- isMounted: function (e) {
- return !!(e = e._reactInternals) && Xe(e) === e;
- },
- enqueueSetState: function (e, t, n) {
- e = e._reactInternals;
- var r = os(),
- a = ls(e),
- i = oi(r, a);
- (i.payload = t), null != n && (i.callback = n), li(e, i), ss(e, a, r);
- },
- enqueueReplaceState: function (e, t, n) {
- e = e._reactInternals;
- var r = os(),
- a = ls(e),
- i = oi(r, a);
- (i.tag = 1),
- (i.payload = t),
- null != n && (i.callback = n),
- li(e, i),
- ss(e, a, r);
- },
- enqueueForceUpdate: function (e, t) {
- e = e._reactInternals;
- var n = os(),
- r = ls(e),
- a = oi(n, r);
- (a.tag = 2), null != t && (a.callback = t), li(e, a), ss(e, r, n);
- },
- };
- function hi(e, t, n, r, a, i, o) {
- return "function" == typeof (e = e.stateNode).shouldComponentUpdate
- ? e.shouldComponentUpdate(r, i, o)
- : !(
- t.prototype &&
- t.prototype.isPureReactComponent &&
- sr(n, r) &&
- sr(a, i)
- );
- }
- function mi(e, t, n) {
- var r = !1,
- a = sa,
- i = t.contextType;
- return (
- "object" == typeof i && null !== i
- ? (i = ni(i))
- : ((a = pa(t) ? da : ua.current),
- (i = (r = null != (r = t.contextTypes)) ? fa(e, a) : sa)),
- (t = new t(n, i)),
- (e.memoizedState =
- null !== t.state && void 0 !== t.state ? t.state : null),
- (t.updater = pi),
- (e.stateNode = t),
- (t._reactInternals = e),
- r &&
- (((e = e.stateNode).__reactInternalMemoizedUnmaskedChildContext =
- a),
- (e.__reactInternalMemoizedMaskedChildContext = i)),
- t
- );
- }
- function gi(e, t, n, r) {
- (e = t.state),
- "function" == typeof t.componentWillReceiveProps &&
- t.componentWillReceiveProps(n, r),
- "function" == typeof t.UNSAFE_componentWillReceiveProps &&
- t.UNSAFE_componentWillReceiveProps(n, r),
- t.state !== e && pi.enqueueReplaceState(t, t.state, null);
- }
- function vi(e, t, n, r) {
- var a = e.stateNode;
- (a.props = n), (a.state = e.memoizedState), (a.refs = di), ai(e);
- var i = t.contextType;
- "object" == typeof i && null !== i
- ? (a.context = ni(i))
- : ((i = pa(t) ? da : ua.current), (a.context = fa(e, i))),
- ui(e, n, a, r),
- (a.state = e.memoizedState),
- "function" == typeof (i = t.getDerivedStateFromProps) &&
- (fi(e, t, i, n), (a.state = e.memoizedState)),
- "function" == typeof t.getDerivedStateFromProps ||
- "function" == typeof a.getSnapshotBeforeUpdate ||
- ("function" != typeof a.UNSAFE_componentWillMount &&
- "function" != typeof a.componentWillMount) ||
- ((t = a.state),
- "function" == typeof a.componentWillMount && a.componentWillMount(),
- "function" == typeof a.UNSAFE_componentWillMount &&
- a.UNSAFE_componentWillMount(),
- t !== a.state && pi.enqueueReplaceState(a, a.state, null),
- ui(e, n, a, r),
- (a.state = e.memoizedState)),
- "function" == typeof a.componentDidMount && (e.flags |= 4);
- }
- var yi = Array.isArray;
- function bi(e, t, n) {
- if (
- null !== (e = n.ref) &&
- "function" != typeof e &&
- "object" != typeof e
- ) {
- if (n._owner) {
- if ((n = n._owner)) {
- if (1 !== n.tag) throw Error(o(309));
- var r = n.stateNode;
- }
- if (!r) throw Error(o(147, e));
- var a = "" + e;
- return null !== t &&
- null !== t.ref &&
- "function" == typeof t.ref &&
- t.ref._stringRef === a
- ? t.ref
- : (((t = function (e) {
- var t = r.refs;
- t === di && (t = r.refs = {}),
- null === e ? delete t[a] : (t[a] = e);
- })._stringRef = a),
- t);
- }
- if ("string" != typeof e) throw Error(o(284));
- if (!n._owner) throw Error(o(290, e));
- }
- return e;
- }
- function wi(e, t) {
- if ("textarea" !== e.type)
- throw Error(
- o(
- 31,
- "[object Object]" === Object.prototype.toString.call(t)
- ? "object with keys {" + Object.keys(t).join(", ") + "}"
- : t
- )
- );
- }
- function xi(e) {
- function t(t, n) {
- if (e) {
- var r = t.lastEffect;
- null !== r
- ? ((r.nextEffect = n), (t.lastEffect = n))
- : (t.firstEffect = t.lastEffect = n),
- (n.nextEffect = null),
- (n.flags = 8);
- }
- }
- function n(n, r) {
- if (!e) return null;
- for (; null !== r; ) t(n, r), (r = r.sibling);
- return null;
- }
- function r(e, t) {
- for (e = new Map(); null !== t; )
- null !== t.key ? e.set(t.key, t) : e.set(t.index, t),
- (t = t.sibling);
- return e;
- }
- function a(e, t) {
- return ((e = Bs(e, t)).index = 0), (e.sibling = null), e;
- }
- function i(t, n, r) {
- return (
- (t.index = r),
- e
- ? null !== (r = t.alternate)
- ? (r = r.index) < n
- ? ((t.flags = 2), n)
- : r
- : ((t.flags = 2), n)
- : n
- );
- }
- function l(t) {
- return e && null === t.alternate && (t.flags = 2), t;
- }
- function s(e, t, n, r) {
- return null === t || 6 !== t.tag
- ? (((t = Hs(n, e.mode, r)).return = e), t)
- : (((t = a(t, n)).return = e), t);
- }
- function u(e, t, n, r) {
- return null !== t && t.elementType === n.type
- ? (((r = a(t, n.props)).ref = bi(e, t, n)), (r.return = e), r)
- : (((r = Us(n.type, n.key, n.props, null, e.mode, r)).ref = bi(
- e,
- t,
- n
- )),
- (r.return = e),
- r);
- }
- function c(e, t, n, r) {
- return null === t ||
- 4 !== t.tag ||
- t.stateNode.containerInfo !== n.containerInfo ||
- t.stateNode.implementation !== n.implementation
- ? (((t = Ws(n, e.mode, r)).return = e), t)
- : (((t = a(t, n.children || [])).return = e), t);
- }
- function d(e, t, n, r, i) {
- return null === t || 7 !== t.tag
- ? (((t = qs(n, e.mode, r, i)).return = e), t)
- : (((t = a(t, n)).return = e), t);
- }
- function f(e, t, n) {
- if ("string" == typeof t || "number" == typeof t)
- return ((t = Hs("" + t, e.mode, n)).return = e), t;
- if ("object" == typeof t && null !== t) {
- switch (t.$$typeof) {
- case _:
- return (
- ((n = Us(t.type, t.key, t.props, null, e.mode, n)).ref = bi(
- e,
- null,
- t
- )),
- (n.return = e),
- n
- );
- case T:
- return ((t = Ws(t, e.mode, n)).return = e), t;
- }
- if (yi(t) || q(t))
- return ((t = qs(t, e.mode, n, null)).return = e), t;
- wi(e, t);
- }
- return null;
- }
- function p(e, t, n, r) {
- var a = null !== t ? t.key : null;
- if ("string" == typeof n || "number" == typeof n)
- return null !== a ? null : s(e, t, "" + n, r);
- if ("object" == typeof n && null !== n) {
- switch (n.$$typeof) {
- case _:
- return n.key === a
- ? n.type === S
- ? d(e, t, n.props.children, r, a)
- : u(e, t, n, r)
- : null;
- case T:
- return n.key === a ? c(e, t, n, r) : null;
- }
- if (yi(n) || q(n)) return null !== a ? null : d(e, t, n, r, null);
- wi(e, n);
- }
- return null;
- }
- function h(e, t, n, r, a) {
- if ("string" == typeof r || "number" == typeof r)
- return s(t, (e = e.get(n) || null), "" + r, a);
- if ("object" == typeof r && null !== r) {
- switch (r.$$typeof) {
- case _:
- return (
- (e = e.get(null === r.key ? n : r.key) || null),
- r.type === S
- ? d(t, e, r.props.children, a, r.key)
- : u(t, e, r, a)
- );
- case T:
- return c(
- t,
- (e = e.get(null === r.key ? n : r.key) || null),
- r,
- a
- );
- }
- if (yi(r) || q(r)) return d(t, (e = e.get(n) || null), r, a, null);
- wi(t, r);
- }
- return null;
- }
- function m(a, o, l, s) {
- for (
- var u = null, c = null, d = o, m = (o = 0), g = null;
- null !== d && m < l.length;
- m++
- ) {
- d.index > m ? ((g = d), (d = null)) : (g = d.sibling);
- var v = p(a, d, l[m], s);
- if (null === v) {
- null === d && (d = g);
- break;
- }
- e && d && null === v.alternate && t(a, d),
- (o = i(v, o, m)),
- null === c ? (u = v) : (c.sibling = v),
- (c = v),
- (d = g);
- }
- if (m === l.length) return n(a, d), u;
- if (null === d) {
- for (; m < l.length; m++)
- null !== (d = f(a, l[m], s)) &&
- ((o = i(d, o, m)),
- null === c ? (u = d) : (c.sibling = d),
- (c = d));
- return u;
- }
- for (d = r(a, d); m < l.length; m++)
- null !== (g = h(d, a, m, l[m], s)) &&
- (e &&
- null !== g.alternate &&
- d.delete(null === g.key ? m : g.key),
- (o = i(g, o, m)),
- null === c ? (u = g) : (c.sibling = g),
- (c = g));
- return (
- e &&
- d.forEach(function (e) {
- return t(a, e);
- }),
- u
- );
- }
- function g(a, l, s, u) {
- var c = q(s);
- if ("function" != typeof c) throw Error(o(150));
- if (null == (s = c.call(s))) throw Error(o(151));
- for (
- var d = (c = null), m = l, g = (l = 0), v = null, y = s.next();
- null !== m && !y.done;
- g++, y = s.next()
- ) {
- m.index > g ? ((v = m), (m = null)) : (v = m.sibling);
- var b = p(a, m, y.value, u);
- if (null === b) {
- null === m && (m = v);
- break;
- }
- e && m && null === b.alternate && t(a, m),
- (l = i(b, l, g)),
- null === d ? (c = b) : (d.sibling = b),
- (d = b),
- (m = v);
- }
- if (y.done) return n(a, m), c;
- if (null === m) {
- for (; !y.done; g++, y = s.next())
- null !== (y = f(a, y.value, u)) &&
- ((l = i(y, l, g)),
- null === d ? (c = y) : (d.sibling = y),
- (d = y));
- return c;
- }
- for (m = r(a, m); !y.done; g++, y = s.next())
- null !== (y = h(m, a, g, y.value, u)) &&
- (e &&
- null !== y.alternate &&
- m.delete(null === y.key ? g : y.key),
- (l = i(y, l, g)),
- null === d ? (c = y) : (d.sibling = y),
- (d = y));
- return (
- e &&
- m.forEach(function (e) {
- return t(a, e);
- }),
- c
- );
- }
- return function (e, r, i, s) {
- var u =
- "object" == typeof i &&
- null !== i &&
- i.type === S &&
- null === i.key;
- u && (i = i.props.children);
- var c = "object" == typeof i && null !== i;
- if (c)
- switch (i.$$typeof) {
- case _:
- e: {
- for (c = i.key, u = r; null !== u; ) {
- if (u.key === c) {
- switch (u.tag) {
- case 7:
- if (i.type === S) {
- n(e, u.sibling),
- ((r = a(u, i.props.children)).return = e),
- (e = r);
- break e;
- }
- break;
- default:
- if (u.elementType === i.type) {
- n(e, u.sibling),
- ((r = a(u, i.props)).ref = bi(e, u, i)),
- (r.return = e),
- (e = r);
- break e;
- }
- }
- n(e, u);
- break;
- }
- t(e, u), (u = u.sibling);
- }
- i.type === S
- ? (((r = qs(i.props.children, e.mode, s, i.key)).return =
- e),
- (e = r))
- : (((s = Us(i.type, i.key, i.props, null, e.mode, s)).ref =
- bi(e, r, i)),
- (s.return = e),
- (e = s));
- }
- return l(e);
- case T:
- e: {
- for (u = i.key; null !== r; ) {
- if (r.key === u) {
- if (
- 4 === r.tag &&
- r.stateNode.containerInfo === i.containerInfo &&
- r.stateNode.implementation === i.implementation
- ) {
- n(e, r.sibling),
- ((r = a(r, i.children || [])).return = e),
- (e = r);
- break e;
- }
- n(e, r);
- break;
- }
- t(e, r), (r = r.sibling);
- }
- ((r = Ws(i, e.mode, s)).return = e), (e = r);
- }
- return l(e);
- }
- if ("string" == typeof i || "number" == typeof i)
- return (
- (i = "" + i),
- null !== r && 6 === r.tag
- ? (n(e, r.sibling), ((r = a(r, i)).return = e), (e = r))
- : (n(e, r), ((r = Hs(i, e.mode, s)).return = e), (e = r)),
- l(e)
- );
- if (yi(i)) return m(e, r, i, s);
- if (q(i)) return g(e, r, i, s);
- if ((c && wi(e, i), void 0 === i && !u))
- switch (e.tag) {
- case 1:
- case 22:
- case 0:
- case 11:
- case 15:
- throw Error(o(152, Q(e.type) || "Component"));
- }
- return n(e, r);
- };
- }
- var _i = xi(!0),
- Ti = xi(!1),
- Si = {},
- ki = ia(Si),
- Ei = ia(Si),
- Pi = ia(Si);
- function Ci(e) {
- if (e === Si) throw Error(o(174));
- return e;
- }
- function Oi(e, t) {
- switch ((la(Pi, t), la(Ei, e), la(ki, Si), (e = t.nodeType))) {
- case 9:
- case 11:
- t = (t = t.documentElement) ? t.namespaceURI : pe(null, "");
- break;
- default:
- t = pe(
- (t = (e = 8 === e ? t.parentNode : t).namespaceURI || null),
- (e = e.tagName)
- );
- }
- oa(ki), la(ki, t);
- }
- function Ri() {
- oa(ki), oa(Ei), oa(Pi);
- }
- function Ai(e) {
- Ci(Pi.current);
- var t = Ci(ki.current),
- n = pe(t, e.type);
- t !== n && (la(Ei, e), la(ki, n));
- }
- function Mi(e) {
- Ei.current === e && (oa(ki), oa(Ei));
- }
- var Ni = ia(0);
- function ji(e) {
- for (var t = e; null !== t; ) {
- if (13 === t.tag) {
- var n = t.memoizedState;
- if (
- null !== n &&
- (null === (n = n.dehydrated) ||
- "$?" === n.data ||
- "$!" === n.data)
- )
- return t;
- } else if (19 === t.tag && void 0 !== t.memoizedProps.revealOrder) {
- if (0 != (64 & t.flags)) return t;
- } else if (null !== t.child) {
- (t.child.return = t), (t = t.child);
- continue;
- }
- if (t === e) break;
- for (; null === t.sibling; ) {
- if (null === t.return || t.return === e) return null;
- t = t.return;
- }
- (t.sibling.return = t.return), (t = t.sibling);
- }
- return null;
- }
- var Li = null,
- Di = null,
- Ii = !1;
- function Fi(e, t) {
- var n = Fs(5, null, null, 0);
- (n.elementType = "DELETED"),
- (n.type = "DELETED"),
- (n.stateNode = t),
- (n.return = e),
- (n.flags = 8),
- null !== e.lastEffect
- ? ((e.lastEffect.nextEffect = n), (e.lastEffect = n))
- : (e.firstEffect = e.lastEffect = n);
- }
- function zi(e, t) {
- switch (e.tag) {
- case 5:
- var n = e.type;
- return (
- null !==
- (t =
- 1 !== t.nodeType ||
- n.toLowerCase() !== t.nodeName.toLowerCase()
- ? null
- : t) && ((e.stateNode = t), !0)
- );
- case 6:
- return (
- null !==
- (t = "" === e.pendingProps || 3 !== t.nodeType ? null : t) &&
- ((e.stateNode = t), !0)
- );
- case 13:
- default:
- return !1;
- }
- }
- function Bi(e) {
- if (Ii) {
- var t = Di;
- if (t) {
- var n = t;
- if (!zi(e, t)) {
- if (!(t = Hr(n.nextSibling)) || !zi(e, t))
- return (
- (e.flags = (-1025 & e.flags) | 2), (Ii = !1), void (Li = e)
- );
- Fi(Li, n);
- }
- (Li = e), (Di = Hr(t.firstChild));
- } else (e.flags = (-1025 & e.flags) | 2), (Ii = !1), (Li = e);
- }
- }
- function Ui(e) {
- for (
- e = e.return;
- null !== e && 5 !== e.tag && 3 !== e.tag && 13 !== e.tag;
-
- )
- e = e.return;
- Li = e;
- }
- function qi(e) {
- if (e !== Li) return !1;
- if (!Ii) return Ui(e), (Ii = !0), !1;
- var t = e.type;
- if (
- 5 !== e.tag ||
- ("head" !== t && "body" !== t && !Br(t, e.memoizedProps))
- )
- for (t = Di; t; ) Fi(e, t), (t = Hr(t.nextSibling));
- if ((Ui(e), 13 === e.tag)) {
- if (!(e = null !== (e = e.memoizedState) ? e.dehydrated : null))
- throw Error(o(317));
- e: {
- for (e = e.nextSibling, t = 0; e; ) {
- if (8 === e.nodeType) {
- var n = e.data;
- if ("/$" === n) {
- if (0 === t) {
- Di = Hr(e.nextSibling);
- break e;
- }
- t--;
- } else ("$" !== n && "$!" !== n && "$?" !== n) || t++;
- }
- e = e.nextSibling;
- }
- Di = null;
- }
- } else Di = Li ? Hr(e.stateNode.nextSibling) : null;
- return !0;
- }
- function Vi() {
- (Di = Li = null), (Ii = !1);
- }
- var Hi = [];
- function Wi() {
- for (var e = 0; e < Hi.length; e++)
- Hi[e]._workInProgressVersionPrimary = null;
- Hi.length = 0;
- }
- var Gi = x.ReactCurrentDispatcher,
- Qi = x.ReactCurrentBatchConfig,
- Yi = 0,
- Xi = null,
- $i = null,
- Ji = null,
- Ki = !1,
- Zi = !1;
- function eo() {
- throw Error(o(321));
- }
- function to(e, t) {
- if (null === t) return !1;
- for (var n = 0; n < t.length && n < e.length; n++)
- if (!or(e[n], t[n])) return !1;
- return !0;
- }
- function no(e, t, n, r, a, i) {
- if (
- ((Yi = i),
- (Xi = t),
- (t.memoizedState = null),
- (t.updateQueue = null),
- (t.lanes = 0),
- (Gi.current = null === e || null === e.memoizedState ? Oo : Ro),
- (e = n(r, a)),
- Zi)
- ) {
- i = 0;
- do {
- if (((Zi = !1), !(25 > i))) throw Error(o(301));
- (i += 1),
- (Ji = $i = null),
- (t.updateQueue = null),
- (Gi.current = Ao),
- (e = n(r, a));
- } while (Zi);
- }
- if (
- ((Gi.current = Co),
- (t = null !== $i && null !== $i.next),
- (Yi = 0),
- (Ji = $i = Xi = null),
- (Ki = !1),
- t)
- )
- throw Error(o(300));
- return e;
- }
- function ro() {
- var e = {
- memoizedState: null,
- baseState: null,
- baseQueue: null,
- queue: null,
- next: null,
- };
- return (
- null === Ji ? (Xi.memoizedState = Ji = e) : (Ji = Ji.next = e), Ji
- );
- }
- function ao() {
- if (null === $i) {
- var e = Xi.alternate;
- e = null !== e ? e.memoizedState : null;
- } else e = $i.next;
- var t = null === Ji ? Xi.memoizedState : Ji.next;
- if (null !== t) (Ji = t), ($i = e);
- else {
- if (null === e) throw Error(o(310));
- (e = {
- memoizedState: ($i = e).memoizedState,
- baseState: $i.baseState,
- baseQueue: $i.baseQueue,
- queue: $i.queue,
- next: null,
- }),
- null === Ji ? (Xi.memoizedState = Ji = e) : (Ji = Ji.next = e);
- }
- return Ji;
- }
- function io(e, t) {
- return "function" == typeof t ? t(e) : t;
- }
- function oo(e) {
- var t = ao(),
- n = t.queue;
- if (null === n) throw Error(o(311));
- n.lastRenderedReducer = e;
- var r = $i,
- a = r.baseQueue,
- i = n.pending;
- if (null !== i) {
- if (null !== a) {
- var l = a.next;
- (a.next = i.next), (i.next = l);
- }
- (r.baseQueue = a = i), (n.pending = null);
- }
- if (null !== a) {
- (a = a.next), (r = r.baseState);
- var s = (l = i = null),
- u = a;
- do {
- var c = u.lane;
- if ((Yi & c) === c)
- null !== s &&
- (s = s.next =
- {
- lane: 0,
- action: u.action,
- eagerReducer: u.eagerReducer,
- eagerState: u.eagerState,
- next: null,
- }),
- (r = u.eagerReducer === e ? u.eagerState : e(r, u.action));
- else {
- var d = {
- lane: c,
- action: u.action,
- eagerReducer: u.eagerReducer,
- eagerState: u.eagerState,
- next: null,
- };
- null === s ? ((l = s = d), (i = r)) : (s = s.next = d),
- (Xi.lanes |= c),
- (Ll |= c);
- }
- u = u.next;
- } while (null !== u && u !== a);
- null === s ? (i = r) : (s.next = l),
- or(r, t.memoizedState) || (No = !0),
- (t.memoizedState = r),
- (t.baseState = i),
- (t.baseQueue = s),
- (n.lastRenderedState = r);
- }
- return [t.memoizedState, n.dispatch];
- }
- function lo(e) {
- var t = ao(),
- n = t.queue;
- if (null === n) throw Error(o(311));
- n.lastRenderedReducer = e;
- var r = n.dispatch,
- a = n.pending,
- i = t.memoizedState;
- if (null !== a) {
- n.pending = null;
- var l = (a = a.next);
- do {
- (i = e(i, l.action)), (l = l.next);
- } while (l !== a);
- or(i, t.memoizedState) || (No = !0),
- (t.memoizedState = i),
- null === t.baseQueue && (t.baseState = i),
- (n.lastRenderedState = i);
- }
- return [i, r];
- }
- function so(e, t, n) {
- var r = t._getVersion;
- r = r(t._source);
- var a = t._workInProgressVersionPrimary;
- if (
- (null !== a
- ? (e = a === r)
- : ((e = e.mutableReadLanes),
- (e = (Yi & e) === e) &&
- ((t._workInProgressVersionPrimary = r), Hi.push(t))),
- e)
- )
- return n(t._source);
- throw (Hi.push(t), Error(o(350)));
- }
- function uo(e, t, n, r) {
- var a = Pl;
- if (null === a) throw Error(o(349));
- var i = t._getVersion,
- l = i(t._source),
- s = Gi.current,
- u = s.useState(function () {
- return so(a, t, n);
- }),
- c = u[1],
- d = u[0];
- u = Ji;
- var f = e.memoizedState,
- p = f.refs,
- h = p.getSnapshot,
- m = f.source;
- f = f.subscribe;
- var g = Xi;
- return (
- (e.memoizedState = {
- refs: p,
- source: t,
- subscribe: r,
- }),
- s.useEffect(
- function () {
- (p.getSnapshot = n), (p.setSnapshot = c);
- var e = i(t._source);
- if (!or(l, e)) {
- (e = n(t._source)),
- or(d, e) ||
- (c(e),
- (e = ls(g)),
- (a.mutableReadLanes |= e & a.pendingLanes)),
- (e = a.mutableReadLanes),
- (a.entangledLanes |= e);
- for (var r = a.entanglements, o = e; 0 < o; ) {
- var s = 31 - Vt(o),
- u = 1 << s;
- (r[s] |= e), (o &= ~u);
- }
- }
- },
- [n, t, r]
- ),
- s.useEffect(
- function () {
- return r(t._source, function () {
- var e = p.getSnapshot,
- n = p.setSnapshot;
- try {
- n(e(t._source));
- var r = ls(g);
- a.mutableReadLanes |= r & a.pendingLanes;
- } catch (e) {
- n(function () {
- throw e;
- });
- }
- });
- },
- [t, r]
- ),
- (or(h, n) && or(m, t) && or(f, r)) ||
- (((e = {
- pending: null,
- dispatch: null,
- lastRenderedReducer: io,
- lastRenderedState: d,
- }).dispatch = c =
- Po.bind(null, Xi, e)),
- (u.queue = e),
- (u.baseQueue = null),
- (d = so(a, t, n)),
- (u.memoizedState = u.baseState = d)),
- d
- );
- }
- function co(e, t, n) {
- return uo(ao(), e, t, n);
- }
- function fo(e) {
- var t = ro();
- return (
- "function" == typeof e && (e = e()),
- (t.memoizedState = t.baseState = e),
- (e = (e = t.queue =
- {
- pending: null,
- dispatch: null,
- lastRenderedReducer: io,
- lastRenderedState: e,
- }).dispatch =
- Po.bind(null, Xi, e)),
- [t.memoizedState, e]
- );
- }
- function po(e, t, n, r) {
- return (
- (e = {
- tag: e,
- create: t,
- destroy: n,
- deps: r,
- next: null,
- }),
- null === (t = Xi.updateQueue)
- ? ((t = {
- lastEffect: null,
- }),
- (Xi.updateQueue = t),
- (t.lastEffect = e.next = e))
- : null === (n = t.lastEffect)
- ? (t.lastEffect = e.next = e)
- : ((r = n.next), (n.next = e), (e.next = r), (t.lastEffect = e)),
- e
- );
- }
- function ho(e) {
- return (
- (e = {
- current: e,
- }),
- (ro().memoizedState = e)
- );
- }
- function mo() {
- return ao().memoizedState;
- }
- function go(e, t, n, r) {
- var a = ro();
- (Xi.flags |= e),
- (a.memoizedState = po(1 | t, n, void 0, void 0 === r ? null : r));
- }
- function vo(e, t, n, r) {
- var a = ao();
- r = void 0 === r ? null : r;
- var i = void 0;
- if (null !== $i) {
- var o = $i.memoizedState;
- if (((i = o.destroy), null !== r && to(r, o.deps)))
- return void po(t, n, i, r);
- }
- (Xi.flags |= e), (a.memoizedState = po(1 | t, n, i, r));
- }
- function yo(e, t) {
- return go(516, 4, e, t);
- }
- function bo(e, t) {
- return vo(516, 4, e, t);
- }
- function wo(e, t) {
- return vo(4, 2, e, t);
- }
- function xo(e, t) {
- return "function" == typeof t
- ? ((e = e()),
- t(e),
- function () {
- t(null);
- })
- : null != t
- ? ((e = e()),
- (t.current = e),
- function () {
- t.current = null;
- })
- : void 0;
- }
- function _o(e, t, n) {
- return (
- (n = null != n ? n.concat([e]) : null),
- vo(4, 2, xo.bind(null, t, e), n)
- );
- }
- function To() {}
- function So(e, t) {
- var n = ao();
- t = void 0 === t ? null : t;
- var r = n.memoizedState;
- return null !== r && null !== t && to(t, r[1])
- ? r[0]
- : ((n.memoizedState = [e, t]), e);
- }
- function ko(e, t) {
- var n = ao();
- t = void 0 === t ? null : t;
- var r = n.memoizedState;
- return null !== r && null !== t && to(t, r[1])
- ? r[0]
- : ((e = e()), (n.memoizedState = [e, t]), e);
- }
- function Eo(e, t) {
- var n = Ba();
- qa(98 > n ? 98 : n, function () {
- e(!0);
- }),
- qa(97 < n ? 97 : n, function () {
- var n = Qi.transition;
- Qi.transition = 1;
- try {
- e(!1), t();
- } finally {
- Qi.transition = n;
- }
- });
- }
- function Po(e, t, n) {
- var r = os(),
- a = ls(e),
- i = {
- lane: a,
- action: n,
- eagerReducer: null,
- eagerState: null,
- next: null,
- },
- o = t.pending;
- if (
- (null === o ? (i.next = i) : ((i.next = o.next), (o.next = i)),
- (t.pending = i),
- (o = e.alternate),
- e === Xi || (null !== o && o === Xi))
- )
- Zi = Ki = !0;
- else {
- if (
- 0 === e.lanes &&
- (null === o || 0 === o.lanes) &&
- null !== (o = t.lastRenderedReducer)
- )
- try {
- var l = t.lastRenderedState,
- s = o(l, n);
- if (((i.eagerReducer = o), (i.eagerState = s), or(s, l))) return;
- } catch (e) {}
- ss(e, a, r);
- }
- }
- var Co = {
- readContext: ni,
- useCallback: eo,
- useContext: eo,
- useEffect: eo,
- useImperativeHandle: eo,
- useLayoutEffect: eo,
- useMemo: eo,
- useReducer: eo,
- useRef: eo,
- useState: eo,
- useDebugValue: eo,
- useDeferredValue: eo,
- useTransition: eo,
- useMutableSource: eo,
- useOpaqueIdentifier: eo,
- unstable_isNewReconciler: !1,
- },
- Oo = {
- readContext: ni,
- useCallback: function (e, t) {
- return (ro().memoizedState = [e, void 0 === t ? null : t]), e;
- },
- useContext: ni,
- useEffect: yo,
- useImperativeHandle: function (e, t, n) {
- return (
- (n = null != n ? n.concat([e]) : null),
- go(4, 2, xo.bind(null, t, e), n)
- );
- },
- useLayoutEffect: function (e, t) {
- return go(4, 2, e, t);
- },
- useMemo: function (e, t) {
- var n = ro();
- return (
- (t = void 0 === t ? null : t),
- (e = e()),
- (n.memoizedState = [e, t]),
- e
- );
- },
- useReducer: function (e, t, n) {
- var r = ro();
- return (
- (t = void 0 !== n ? n(t) : t),
- (r.memoizedState = r.baseState = t),
- (e = (e = r.queue =
- {
- pending: null,
- dispatch: null,
- lastRenderedReducer: e,
- lastRenderedState: t,
- }).dispatch =
- Po.bind(null, Xi, e)),
- [r.memoizedState, e]
- );
- },
- useRef: ho,
- useState: fo,
- useDebugValue: To,
- useDeferredValue: function (e) {
- var t = fo(e),
- n = t[0],
- r = t[1];
- return (
- yo(
- function () {
- var t = Qi.transition;
- Qi.transition = 1;
- try {
- r(e);
- } finally {
- Qi.transition = t;
- }
- },
- [e]
- ),
- n
- );
- },
- useTransition: function () {
- var e = fo(!1),
- t = e[0];
- return ho((e = Eo.bind(null, e[1]))), [e, t];
- },
- useMutableSource: function (e, t, n) {
- var r = ro();
- return (
- (r.memoizedState = {
- refs: {
- getSnapshot: t,
- setSnapshot: null,
- },
- source: e,
- subscribe: n,
- }),
- uo(r, e, t, n)
- );
- },
- useOpaqueIdentifier: function () {
- if (Ii) {
- var e = !1,
- t = (function (e) {
- return {
- $$typeof: L,
- toString: e,
- valueOf: e,
- };
- })(function () {
- throw (
- (e || ((e = !0), n("r:" + (Gr++).toString(36))),
- Error(o(355)))
- );
- }),
- n = fo(t)[1];
- return (
- 0 == (2 & Xi.mode) &&
- ((Xi.flags |= 516),
- po(
- 5,
- function () {
- n("r:" + (Gr++).toString(36));
- },
- void 0,
- null
- )),
- t
- );
- }
- return fo((t = "r:" + (Gr++).toString(36))), t;
- },
- unstable_isNewReconciler: !1,
- },
- Ro = {
- readContext: ni,
- useCallback: So,
- useContext: ni,
- useEffect: bo,
- useImperativeHandle: _o,
- useLayoutEffect: wo,
- useMemo: ko,
- useReducer: oo,
- useRef: mo,
- useState: function () {
- return oo(io);
- },
- useDebugValue: To,
- useDeferredValue: function (e) {
- var t = oo(io),
- n = t[0],
- r = t[1];
- return (
- bo(
- function () {
- var t = Qi.transition;
- Qi.transition = 1;
- try {
- r(e);
- } finally {
- Qi.transition = t;
- }
- },
- [e]
- ),
- n
- );
- },
- useTransition: function () {
- var e = oo(io)[0];
- return [mo().current, e];
- },
- useMutableSource: co,
- useOpaqueIdentifier: function () {
- return oo(io)[0];
- },
- unstable_isNewReconciler: !1,
- },
- Ao = {
- readContext: ni,
- useCallback: So,
- useContext: ni,
- useEffect: bo,
- useImperativeHandle: _o,
- useLayoutEffect: wo,
- useMemo: ko,
- useReducer: lo,
- useRef: mo,
- useState: function () {
- return lo(io);
- },
- useDebugValue: To,
- useDeferredValue: function (e) {
- var t = lo(io),
- n = t[0],
- r = t[1];
- return (
- bo(
- function () {
- var t = Qi.transition;
- Qi.transition = 1;
- try {
- r(e);
- } finally {
- Qi.transition = t;
- }
- },
- [e]
- ),
- n
- );
- },
- useTransition: function () {
- var e = lo(io)[0];
- return [mo().current, e];
- },
- useMutableSource: co,
- useOpaqueIdentifier: function () {
- return lo(io)[0];
- },
- unstable_isNewReconciler: !1,
- },
- Mo = x.ReactCurrentOwner,
- No = !1;
- function jo(e, t, n, r) {
- t.child = null === e ? Ti(t, null, n, r) : _i(t, e.child, n, r);
- }
- function Lo(e, t, n, r, a) {
- n = n.render;
- var i = t.ref;
- return (
- ti(t, a),
- (r = no(e, t, n, r, i, a)),
- null === e || No
- ? ((t.flags |= 1), jo(e, t, r, a), t.child)
- : ((t.updateQueue = e.updateQueue),
- (t.flags &= -517),
- (e.lanes &= ~a),
- Zo(e, t, a))
- );
- }
- function Do(e, t, n, r, a, i) {
- if (null === e) {
- var o = n.type;
- return "function" != typeof o ||
- zs(o) ||
- void 0 !== o.defaultProps ||
- null !== n.compare ||
- void 0 !== n.defaultProps
- ? (((e = Us(n.type, null, r, t, t.mode, i)).ref = t.ref),
- (e.return = t),
- (t.child = e))
- : ((t.tag = 15), (t.type = o), Io(e, t, o, r, a, i));
- }
- return (
- (o = e.child),
- 0 == (a & i) &&
- ((a = o.memoizedProps),
- (n = null !== (n = n.compare) ? n : sr)(a, r) && e.ref === t.ref)
- ? Zo(e, t, i)
- : ((t.flags |= 1),
- ((e = Bs(o, r)).ref = t.ref),
- (e.return = t),
- (t.child = e))
- );
- }
- function Io(e, t, n, r, a, i) {
- if (null !== e && sr(e.memoizedProps, r) && e.ref === t.ref) {
- if (((No = !1), 0 == (i & a)))
- return (t.lanes = e.lanes), Zo(e, t, i);
- 0 != (16384 & e.flags) && (No = !0);
- }
- return Bo(e, t, n, r, i);
- }
- function Fo(e, t, n) {
- var r = t.pendingProps,
- a = r.children,
- i = null !== e ? e.memoizedState : null;
- if ("hidden" === r.mode || "unstable-defer-without-hiding" === r.mode)
- if (0 == (4 & t.mode))
- (t.memoizedState = {
- baseLanes: 0,
- }),
- gs(0, n);
- else {
- if (0 == (1073741824 & n))
- return (
- (e = null !== i ? i.baseLanes | n : n),
- (t.lanes = t.childLanes = 1073741824),
- (t.memoizedState = {
- baseLanes: e,
- }),
- gs(0, e),
- null
- );
- (t.memoizedState = {
- baseLanes: 0,
- }),
- gs(0, null !== i ? i.baseLanes : n);
- }
- else
- null !== i
- ? ((r = i.baseLanes | n), (t.memoizedState = null))
- : (r = n),
- gs(0, r);
- return jo(e, t, a, n), t.child;
- }
- function zo(e, t) {
- var n = t.ref;
- ((null === e && null !== n) || (null !== e && e.ref !== n)) &&
- (t.flags |= 128);
- }
- function Bo(e, t, n, r, a) {
- var i = pa(n) ? da : ua.current;
- return (
- (i = fa(t, i)),
- ti(t, a),
- (n = no(e, t, n, r, i, a)),
- null === e || No
- ? ((t.flags |= 1), jo(e, t, n, a), t.child)
- : ((t.updateQueue = e.updateQueue),
- (t.flags &= -517),
- (e.lanes &= ~a),
- Zo(e, t, a))
- );
- }
- function Uo(e, t, n, r, a) {
- if (pa(n)) {
- var i = !0;
- va(t);
- } else i = !1;
- if ((ti(t, a), null === t.stateNode))
- null !== e &&
- ((e.alternate = null), (t.alternate = null), (t.flags |= 2)),
- mi(t, n, r),
- vi(t, n, r, a),
- (r = !0);
- else if (null === e) {
- var o = t.stateNode,
- l = t.memoizedProps;
- o.props = l;
- var s = o.context,
- u = n.contextType;
- u =
- "object" == typeof u && null !== u
- ? ni(u)
- : fa(t, (u = pa(n) ? da : ua.current));
- var c = n.getDerivedStateFromProps,
- d =
- "function" == typeof c ||
- "function" == typeof o.getSnapshotBeforeUpdate;
- d ||
- ("function" != typeof o.UNSAFE_componentWillReceiveProps &&
- "function" != typeof o.componentWillReceiveProps) ||
- ((l !== r || s !== u) && gi(t, o, r, u)),
- (ri = !1);
- var f = t.memoizedState;
- (o.state = f),
- ui(t, r, o, a),
- (s = t.memoizedState),
- l !== r || f !== s || ca.current || ri
- ? ("function" == typeof c &&
- (fi(t, n, c, r), (s = t.memoizedState)),
- (l = ri || hi(t, n, l, r, f, s, u))
- ? (d ||
- ("function" != typeof o.UNSAFE_componentWillMount &&
- "function" != typeof o.componentWillMount) ||
- ("function" == typeof o.componentWillMount &&
- o.componentWillMount(),
- "function" == typeof o.UNSAFE_componentWillMount &&
- o.UNSAFE_componentWillMount()),
- "function" == typeof o.componentDidMount && (t.flags |= 4))
- : ("function" == typeof o.componentDidMount && (t.flags |= 4),
- (t.memoizedProps = r),
- (t.memoizedState = s)),
- (o.props = r),
- (o.state = s),
- (o.context = u),
- (r = l))
- : ("function" == typeof o.componentDidMount && (t.flags |= 4),
- (r = !1));
- } else {
- (o = t.stateNode),
- ii(e, t),
- (l = t.memoizedProps),
- (u = t.type === t.elementType ? l : Qa(t.type, l)),
- (o.props = u),
- (d = t.pendingProps),
- (f = o.context),
- (s =
- "object" == typeof (s = n.contextType) && null !== s
- ? ni(s)
- : fa(t, (s = pa(n) ? da : ua.current)));
- var p = n.getDerivedStateFromProps;
- (c =
- "function" == typeof p ||
- "function" == typeof o.getSnapshotBeforeUpdate) ||
- ("function" != typeof o.UNSAFE_componentWillReceiveProps &&
- "function" != typeof o.componentWillReceiveProps) ||
- ((l !== d || f !== s) && gi(t, o, r, s)),
- (ri = !1),
- (f = t.memoizedState),
- (o.state = f),
- ui(t, r, o, a);
- var h = t.memoizedState;
- l !== d || f !== h || ca.current || ri
- ? ("function" == typeof p &&
- (fi(t, n, p, r), (h = t.memoizedState)),
- (u = ri || hi(t, n, u, r, f, h, s))
- ? (c ||
- ("function" != typeof o.UNSAFE_componentWillUpdate &&
- "function" != typeof o.componentWillUpdate) ||
- ("function" == typeof o.componentWillUpdate &&
- o.componentWillUpdate(r, h, s),
- "function" == typeof o.UNSAFE_componentWillUpdate &&
- o.UNSAFE_componentWillUpdate(r, h, s)),
- "function" == typeof o.componentDidUpdate && (t.flags |= 4),
- "function" == typeof o.getSnapshotBeforeUpdate &&
- (t.flags |= 256))
- : ("function" != typeof o.componentDidUpdate ||
- (l === e.memoizedProps && f === e.memoizedState) ||
- (t.flags |= 4),
- "function" != typeof o.getSnapshotBeforeUpdate ||
- (l === e.memoizedProps && f === e.memoizedState) ||
- (t.flags |= 256),
- (t.memoizedProps = r),
- (t.memoizedState = h)),
- (o.props = r),
- (o.state = h),
- (o.context = s),
- (r = u))
- : ("function" != typeof o.componentDidUpdate ||
- (l === e.memoizedProps && f === e.memoizedState) ||
- (t.flags |= 4),
- "function" != typeof o.getSnapshotBeforeUpdate ||
- (l === e.memoizedProps && f === e.memoizedState) ||
- (t.flags |= 256),
- (r = !1));
- }
- return qo(e, t, n, r, i, a);
- }
- function qo(e, t, n, r, a, i) {
- zo(e, t);
- var o = 0 != (64 & t.flags);
- if (!r && !o) return a && ya(t, n, !1), Zo(e, t, i);
- (r = t.stateNode), (Mo.current = t);
- var l =
- o && "function" != typeof n.getDerivedStateFromError
- ? null
- : r.render();
- return (
- (t.flags |= 1),
- null !== e && o
- ? ((t.child = _i(t, e.child, null, i)),
- (t.child = _i(t, null, l, i)))
- : jo(e, t, l, i),
- (t.memoizedState = r.state),
- a && ya(t, n, !0),
- t.child
- );
- }
- function Vo(e) {
- var t = e.stateNode;
- t.pendingContext
- ? ma(0, t.pendingContext, t.pendingContext !== t.context)
- : t.context && ma(0, t.context, !1),
- Oi(e, t.containerInfo);
- }
- var Ho,
- Wo,
- Go,
- Qo = {
- dehydrated: null,
- retryLane: 0,
- };
- function Yo(e, t, n) {
- var r,
- a = t.pendingProps,
- i = Ni.current,
- o = !1;
- return (
- (r = 0 != (64 & t.flags)) ||
- (r = (null === e || null !== e.memoizedState) && 0 != (2 & i)),
- r
- ? ((o = !0), (t.flags &= -65))
- : (null !== e && null === e.memoizedState) ||
- void 0 === a.fallback ||
- !0 === a.unstable_avoidThisFallback ||
- (i |= 1),
- la(Ni, 1 & i),
- null === e
- ? (void 0 !== a.fallback && Bi(t),
- (e = a.children),
- (i = a.fallback),
- o
- ? ((e = Xo(t, e, i, n)),
- (t.child.memoizedState = {
- baseLanes: n,
- }),
- (t.memoizedState = Qo),
- e)
- : "number" == typeof a.unstable_expectedLoadTime
- ? ((e = Xo(t, e, i, n)),
- (t.child.memoizedState = {
- baseLanes: n,
- }),
- (t.memoizedState = Qo),
- (t.lanes = 33554432),
- e)
- : (((n = Vs(
- {
- mode: "visible",
- children: e,
- },
- t.mode,
- n,
- null
- )).return = t),
- (t.child = n)))
- : (e.memoizedState,
- o
- ? ((a = (function (e, t, n, r, a) {
- var i = t.mode,
- o = e.child;
- e = o.sibling;
- var l = {
- mode: "hidden",
- children: n,
- };
- return (
- 0 == (2 & i) && t.child !== o
- ? (((n = t.child).childLanes = 0),
- (n.pendingProps = l),
- null !== (o = n.lastEffect)
- ? ((t.firstEffect = n.firstEffect),
- (t.lastEffect = o),
- (o.nextEffect = null))
- : (t.firstEffect = t.lastEffect = null))
- : (n = Bs(o, l)),
- null !== e
- ? (r = Bs(e, r))
- : ((r = qs(r, i, a, null)).flags |= 2),
- (r.return = t),
- (n.return = t),
- (n.sibling = r),
- (t.child = n),
- r
- );
- })(e, t, a.children, a.fallback, n)),
- (o = t.child),
- (i = e.child.memoizedState),
- (o.memoizedState =
- null === i
- ? {
- baseLanes: n,
- }
- : {
- baseLanes: i.baseLanes | n,
- }),
- (o.childLanes = e.childLanes & ~n),
- (t.memoizedState = Qo),
- a)
- : ((n = (function (e, t, n, r) {
- var a = e.child;
- return (
- (e = a.sibling),
- (n = Bs(a, {
- mode: "visible",
- children: n,
- })),
- 0 == (2 & t.mode) && (n.lanes = r),
- (n.return = t),
- (n.sibling = null),
- null !== e &&
- ((e.nextEffect = null),
- (e.flags = 8),
- (t.firstEffect = t.lastEffect = e)),
- (t.child = n)
- );
- })(e, t, a.children, n)),
- (t.memoizedState = null),
- n))
- );
- }
- function Xo(e, t, n, r) {
- var a = e.mode,
- i = e.child;
- return (
- (t = {
- mode: "hidden",
- children: t,
- }),
- 0 == (2 & a) && null !== i
- ? ((i.childLanes = 0), (i.pendingProps = t))
- : (i = Vs(t, a, 0, null)),
- (n = qs(n, a, r, null)),
- (i.return = e),
- (n.return = e),
- (i.sibling = n),
- (e.child = i),
- n
- );
- }
- function $o(e, t) {
- e.lanes |= t;
- var n = e.alternate;
- null !== n && (n.lanes |= t), ei(e.return, t);
- }
- function Jo(e, t, n, r, a, i) {
- var o = e.memoizedState;
- null === o
- ? (e.memoizedState = {
- isBackwards: t,
- rendering: null,
- renderingStartTime: 0,
- last: r,
- tail: n,
- tailMode: a,
- lastEffect: i,
- })
- : ((o.isBackwards = t),
- (o.rendering = null),
- (o.renderingStartTime = 0),
- (o.last = r),
- (o.tail = n),
- (o.tailMode = a),
- (o.lastEffect = i));
- }
- function Ko(e, t, n) {
- var r = t.pendingProps,
- a = r.revealOrder,
- i = r.tail;
- if ((jo(e, t, r.children, n), 0 != (2 & (r = Ni.current))))
- (r = (1 & r) | 2), (t.flags |= 64);
- else {
- if (null !== e && 0 != (64 & e.flags))
- e: for (e = t.child; null !== e; ) {
- if (13 === e.tag) null !== e.memoizedState && $o(e, n);
- else if (19 === e.tag) $o(e, n);
- else if (null !== e.child) {
- (e.child.return = e), (e = e.child);
- continue;
- }
- if (e === t) break e;
- for (; null === e.sibling; ) {
- if (null === e.return || e.return === t) break e;
- e = e.return;
- }
- (e.sibling.return = e.return), (e = e.sibling);
- }
- r &= 1;
- }
- if ((la(Ni, r), 0 == (2 & t.mode))) t.memoizedState = null;
- else
- switch (a) {
- case "forwards":
- for (n = t.child, a = null; null !== n; )
- null !== (e = n.alternate) && null === ji(e) && (a = n),
- (n = n.sibling);
- null === (n = a)
- ? ((a = t.child), (t.child = null))
- : ((a = n.sibling), (n.sibling = null)),
- Jo(t, !1, a, n, i, t.lastEffect);
- break;
- case "backwards":
- for (n = null, a = t.child, t.child = null; null !== a; ) {
- if (null !== (e = a.alternate) && null === ji(e)) {
- t.child = a;
- break;
- }
- (e = a.sibling), (a.sibling = n), (n = a), (a = e);
- }
- Jo(t, !0, n, null, i, t.lastEffect);
- break;
- case "together":
- Jo(t, !1, null, null, void 0, t.lastEffect);
- break;
- default:
- t.memoizedState = null;
- }
- return t.child;
- }
- function Zo(e, t, n) {
- if (
- (null !== e && (t.dependencies = e.dependencies),
- (Ll |= t.lanes),
- 0 != (n & t.childLanes))
- ) {
- if (null !== e && t.child !== e.child) throw Error(o(153));
- if (null !== t.child) {
- for (
- n = Bs((e = t.child), e.pendingProps), t.child = n, n.return = t;
- null !== e.sibling;
-
- )
- (e = e.sibling),
- ((n = n.sibling = Bs(e, e.pendingProps)).return = t);
- n.sibling = null;
- }
- return t.child;
- }
- return null;
- }
- function el(e, t) {
- if (!Ii)
- switch (e.tailMode) {
- case "hidden":
- t = e.tail;
- for (var n = null; null !== t; )
- null !== t.alternate && (n = t), (t = t.sibling);
- null === n ? (e.tail = null) : (n.sibling = null);
- break;
- case "collapsed":
- n = e.tail;
- for (var r = null; null !== n; )
- null !== n.alternate && (r = n), (n = n.sibling);
- null === r
- ? t || null === e.tail
- ? (e.tail = null)
- : (e.tail.sibling = null)
- : (r.sibling = null);
- }
- }
- function tl(e, t, n) {
- var r = t.pendingProps;
- switch (t.tag) {
- case 2:
- case 16:
- case 15:
- case 0:
- case 11:
- case 7:
- case 8:
- case 12:
- case 9:
- case 14:
- return null;
- case 1:
- return pa(t.type) && ha(), null;
- case 3:
- return (
- Ri(),
- oa(ca),
- oa(ua),
- Wi(),
- (r = t.stateNode).pendingContext &&
- ((r.context = r.pendingContext), (r.pendingContext = null)),
- (null !== e && null !== e.child) ||
- (qi(t) ? (t.flags |= 4) : r.hydrate || (t.flags |= 256)),
- null
- );
- case 5:
- Mi(t);
- var i = Ci(Pi.current);
- if (((n = t.type), null !== e && null != t.stateNode))
- Wo(e, t, n, r), e.ref !== t.ref && (t.flags |= 128);
- else {
- if (!r) {
- if (null === t.stateNode) throw Error(o(166));
- return null;
- }
- if (((e = Ci(ki.current)), qi(t))) {
- (r = t.stateNode), (n = t.type);
- var l = t.memoizedProps;
- switch (((r[Yr] = t), (r[Xr] = l), n)) {
- case "dialog":
- Er("cancel", r), Er("close", r);
- break;
- case "iframe":
- case "object":
- case "embed":
- Er("load", r);
- break;
- case "video":
- case "audio":
- for (e = 0; e < _r.length; e++) Er(_r[e], r);
- break;
- case "source":
- Er("error", r);
- break;
- case "img":
- case "image":
- case "link":
- Er("error", r), Er("load", r);
- break;
- case "details":
- Er("toggle", r);
- break;
- case "input":
- ee(r, l), Er("invalid", r);
- break;
- case "select":
- (r._wrapperState = {
- wasMultiple: !!l.multiple,
- }),
- Er("invalid", r);
- break;
- case "textarea":
- se(r, l), Er("invalid", r);
- }
- for (var u in (Te(n, l), (e = null), l))
- l.hasOwnProperty(u) &&
- ((i = l[u]),
- "children" === u
- ? "string" == typeof i
- ? r.textContent !== i && (e = ["children", i])
- : "number" == typeof i &&
- r.textContent !== "" + i &&
- (e = ["children", "" + i])
- : s.hasOwnProperty(u) &&
- null != i &&
- "onScroll" === u &&
- Er("scroll", r));
- switch (n) {
- case "input":
- $(r), re(r, l, !0);
- break;
- case "textarea":
- $(r), ce(r);
- break;
- case "select":
- case "option":
- break;
- default:
- "function" == typeof l.onClick && (r.onclick = Dr);
- }
- (r = e), (t.updateQueue = r), null !== r && (t.flags |= 4);
- } else {
- switch (
- ((u = 9 === i.nodeType ? i : i.ownerDocument),
- e === de && (e = fe(n)),
- e === de
- ? "script" === n
- ? (((e = u.createElement("div")).innerHTML =
- "<script></script>"),
- (e = e.removeChild(e.firstChild)))
- : "string" == typeof r.is
- ? (e = u.createElement(n, {
- is: r.is,
- }))
- : ((e = u.createElement(n)),
- "select" === n &&
- ((u = e),
- r.multiple
- ? (u.multiple = !0)
- : r.size && (u.size = r.size)))
- : (e = u.createElementNS(e, n)),
- (e[Yr] = t),
- (e[Xr] = r),
- Ho(e, t),
- (t.stateNode = e),
- (u = Se(n, r)),
- n)
- ) {
- case "dialog":
- Er("cancel", e), Er("close", e), (i = r);
- break;
- case "iframe":
- case "object":
- case "embed":
- Er("load", e), (i = r);
- break;
- case "video":
- case "audio":
- for (i = 0; i < _r.length; i++) Er(_r[i], e);
- i = r;
- break;
- case "source":
- Er("error", e), (i = r);
- break;
- case "img":
- case "image":
- case "link":
- Er("error", e), Er("load", e), (i = r);
- break;
- case "details":
- Er("toggle", e), (i = r);
- break;
- case "input":
- ee(e, r), (i = Z(e, r)), Er("invalid", e);
- break;
- case "option":
- i = ie(e, r);
- break;
- case "select":
- (e._wrapperState = {
- wasMultiple: !!r.multiple,
- }),
- (i = a({}, r, {
- value: void 0,
- })),
- Er("invalid", e);
- break;
- case "textarea":
- se(e, r), (i = le(e, r)), Er("invalid", e);
- break;
- default:
- i = r;
- }
- Te(n, i);
- var c = i;
- for (l in c)
- if (c.hasOwnProperty(l)) {
- var d = c[l];
- "style" === l
- ? xe(e, d)
- : "dangerouslySetInnerHTML" === l
- ? null != (d = d ? d.__html : void 0) && ge(e, d)
- : "children" === l
- ? "string" == typeof d
- ? ("textarea" !== n || "" !== d) && ve(e, d)
- : "number" == typeof d && ve(e, "" + d)
- : "suppressContentEditableWarning" !== l &&
- "suppressHydrationWarning" !== l &&
- "autoFocus" !== l &&
- (s.hasOwnProperty(l)
- ? null != d && "onScroll" === l && Er("scroll", e)
- : null != d && w(e, l, d, u));
- }
- switch (n) {
- case "input":
- $(e), re(e, r, !1);
- break;
- case "textarea":
- $(e), ce(e);
- break;
- case "option":
- null != r.value && e.setAttribute("value", "" + Y(r.value));
- break;
- case "select":
- (e.multiple = !!r.multiple),
- null != (l = r.value)
- ? oe(e, !!r.multiple, l, !1)
- : null != r.defaultValue &&
- oe(e, !!r.multiple, r.defaultValue, !0);
- break;
- default:
- "function" == typeof i.onClick && (e.onclick = Dr);
- }
- zr(n, r) && (t.flags |= 4);
- }
- null !== t.ref && (t.flags |= 128);
- }
- return null;
- case 6:
- if (e && null != t.stateNode) Go(0, t, e.memoizedProps, r);
- else {
- if ("string" != typeof r && null === t.stateNode)
- throw Error(o(166));
- (n = Ci(Pi.current)),
- Ci(ki.current),
- qi(t)
- ? ((r = t.stateNode),
- (n = t.memoizedProps),
- (r[Yr] = t),
- r.nodeValue !== n && (t.flags |= 4))
- : (((r = (
- 9 === n.nodeType ? n : n.ownerDocument
- ).createTextNode(r))[Yr] = t),
- (t.stateNode = r));
- }
- return null;
- case 13:
- return (
- oa(Ni),
- (r = t.memoizedState),
- 0 != (64 & t.flags)
- ? ((t.lanes = n), t)
- : ((r = null !== r),
- (n = !1),
- null === e
- ? void 0 !== t.memoizedProps.fallback && qi(t)
- : (n = null !== e.memoizedState),
- r &&
- !n &&
- 0 != (2 & t.mode) &&
- ((null === e &&
- !0 !== t.memoizedProps.unstable_avoidThisFallback) ||
- 0 != (1 & Ni.current)
- ? 0 === Ml && (Ml = 3)
- : ((0 !== Ml && 3 !== Ml) || (Ml = 4),
- null === Pl ||
- (0 == (134217727 & Ll) && 0 == (134217727 & Dl)) ||
- fs(Pl, Ol))),
- (r || n) && (t.flags |= 4),
- null)
- );
- case 4:
- return Ri(), null === e && Cr(t.stateNode.containerInfo), null;
- case 10:
- return Za(t), null;
- case 17:
- return pa(t.type) && ha(), null;
- case 19:
- if ((oa(Ni), null === (r = t.memoizedState))) return null;
- if (((l = 0 != (64 & t.flags)), null === (u = r.rendering)))
- if (l) el(r, !1);
- else {
- if (0 !== Ml || (null !== e && 0 != (64 & e.flags)))
- for (e = t.child; null !== e; ) {
- if (null !== (u = ji(e))) {
- for (
- t.flags |= 64,
- el(r, !1),
- null !== (l = u.updateQueue) &&
- ((t.updateQueue = l), (t.flags |= 4)),
- null === r.lastEffect && (t.firstEffect = null),
- t.lastEffect = r.lastEffect,
- r = n,
- n = t.child;
- null !== n;
-
- )
- (e = r),
- ((l = n).flags &= 2),
- (l.nextEffect = null),
- (l.firstEffect = null),
- (l.lastEffect = null),
- null === (u = l.alternate)
- ? ((l.childLanes = 0),
- (l.lanes = e),
- (l.child = null),
- (l.memoizedProps = null),
- (l.memoizedState = null),
- (l.updateQueue = null),
- (l.dependencies = null),
- (l.stateNode = null))
- : ((l.childLanes = u.childLanes),
- (l.lanes = u.lanes),
- (l.child = u.child),
- (l.memoizedProps = u.memoizedProps),
- (l.memoizedState = u.memoizedState),
- (l.updateQueue = u.updateQueue),
- (l.type = u.type),
- (e = u.dependencies),
- (l.dependencies =
- null === e
- ? null
- : {
- lanes: e.lanes,
- firstContext: e.firstContext,
- })),
- (n = n.sibling);
- return la(Ni, (1 & Ni.current) | 2), t.child;
- }
- e = e.sibling;
- }
- null !== r.tail &&
- za() > Bl &&
- ((t.flags |= 64), (l = !0), el(r, !1), (t.lanes = 33554432));
- }
- else {
- if (!l)
- if (null !== (e = ji(u))) {
- if (
- ((t.flags |= 64),
- (l = !0),
- null !== (n = e.updateQueue) &&
- ((t.updateQueue = n), (t.flags |= 4)),
- el(r, !0),
- null === r.tail &&
- "hidden" === r.tailMode &&
- !u.alternate &&
- !Ii)
- )
- return (
- null !== (t = t.lastEffect = r.lastEffect) &&
- (t.nextEffect = null),
- null
- );
- } else
- 2 * za() - r.renderingStartTime > Bl &&
- 1073741824 !== n &&
- ((t.flags |= 64),
- (l = !0),
- el(r, !1),
- (t.lanes = 33554432));
- r.isBackwards
- ? ((u.sibling = t.child), (t.child = u))
- : (null !== (n = r.last) ? (n.sibling = u) : (t.child = u),
- (r.last = u));
- }
- return null !== r.tail
- ? ((n = r.tail),
- (r.rendering = n),
- (r.tail = n.sibling),
- (r.lastEffect = t.lastEffect),
- (r.renderingStartTime = za()),
- (n.sibling = null),
- (t = Ni.current),
- la(Ni, l ? (1 & t) | 2 : 1 & t),
- n)
- : null;
- case 23:
- case 24:
- return (
- vs(),
- null !== e &&
- (null !== e.memoizedState) != (null !== t.memoizedState) &&
- "unstable-defer-without-hiding" !== r.mode &&
- (t.flags |= 4),
- null
- );
- }
- throw Error(o(156, t.tag));
- }
- function nl(e) {
- switch (e.tag) {
- case 1:
- pa(e.type) && ha();
- var t = e.flags;
- return 4096 & t ? ((e.flags = (-4097 & t) | 64), e) : null;
- case 3:
- if ((Ri(), oa(ca), oa(ua), Wi(), 0 != (64 & (t = e.flags))))
- throw Error(o(285));
- return (e.flags = (-4097 & t) | 64), e;
- case 5:
- return Mi(e), null;
- case 13:
- return (
- oa(Ni),
- 4096 & (t = e.flags) ? ((e.flags = (-4097 & t) | 64), e) : null
- );
- case 19:
- return oa(Ni), null;
- case 4:
- return Ri(), null;
- case 10:
- return Za(e), null;
- case 23:
- case 24:
- return vs(), null;
- default:
- return null;
- }
- }
- function rl(e, t) {
- try {
- var n = "",
- r = t;
- do {
- (n += G(r)), (r = r.return);
- } while (r);
- var a = n;
- } catch (e) {
- a = "\nError generating stack: " + e.message + "\n" + e.stack;
- }
- return {
- value: e,
- source: t,
- stack: a,
- };
- }
- function al(e, t) {
- try {
- console.error(t.value);
- } catch (e) {
- setTimeout(function () {
- throw e;
- });
- }
- }
- (Ho = function (e, t) {
- for (var n = t.child; null !== n; ) {
- if (5 === n.tag || 6 === n.tag) e.appendChild(n.stateNode);
- else if (4 !== n.tag && null !== n.child) {
- (n.child.return = n), (n = n.child);
- continue;
- }
- if (n === t) break;
- for (; null === n.sibling; ) {
- if (null === n.return || n.return === t) return;
- n = n.return;
- }
- (n.sibling.return = n.return), (n = n.sibling);
- }
- }),
- (Wo = function (e, t, n, r) {
- var i = e.memoizedProps;
- if (i !== r) {
- (e = t.stateNode), Ci(ki.current);
- var o,
- l = null;
- switch (n) {
- case "input":
- (i = Z(e, i)), (r = Z(e, r)), (l = []);
- break;
- case "option":
- (i = ie(e, i)), (r = ie(e, r)), (l = []);
- break;
- case "select":
- (i = a({}, i, {
- value: void 0,
- })),
- (r = a({}, r, {
- value: void 0,
- })),
- (l = []);
- break;
- case "textarea":
- (i = le(e, i)), (r = le(e, r)), (l = []);
- break;
- default:
- "function" != typeof i.onClick &&
- "function" == typeof r.onClick &&
- (e.onclick = Dr);
- }
- for (d in (Te(n, r), (n = null), i))
- if (!r.hasOwnProperty(d) && i.hasOwnProperty(d) && null != i[d])
- if ("style" === d) {
- var u = i[d];
- for (o in u)
- u.hasOwnProperty(o) && (n || (n = {}), (n[o] = ""));
- } else
- "dangerouslySetInnerHTML" !== d &&
- "children" !== d &&
- "suppressContentEditableWarning" !== d &&
- "suppressHydrationWarning" !== d &&
- "autoFocus" !== d &&
- (s.hasOwnProperty(d)
- ? l || (l = [])
- : (l = l || []).push(d, null));
- for (d in r) {
- var c = r[d];
- if (
- ((u = null != i ? i[d] : void 0),
- r.hasOwnProperty(d) && c !== u && (null != c || null != u))
- )
- if ("style" === d)
- if (u) {
- for (o in u)
- !u.hasOwnProperty(o) ||
- (c && c.hasOwnProperty(o)) ||
- (n || (n = {}), (n[o] = ""));
- for (o in c)
- c.hasOwnProperty(o) &&
- u[o] !== c[o] &&
- (n || (n = {}), (n[o] = c[o]));
- } else n || (l || (l = []), l.push(d, n)), (n = c);
- else
- "dangerouslySetInnerHTML" === d
- ? ((c = c ? c.__html : void 0),
- (u = u ? u.__html : void 0),
- null != c && u !== c && (l = l || []).push(d, c))
- : "children" === d
- ? ("string" != typeof c && "number" != typeof c) ||
- (l = l || []).push(d, "" + c)
- : "suppressContentEditableWarning" !== d &&
- "suppressHydrationWarning" !== d &&
- (s.hasOwnProperty(d)
- ? (null != c && "onScroll" === d && Er("scroll", e),
- l || u === c || (l = []))
- : "object" == typeof c && null !== c && c.$$typeof === L
- ? c.toString()
- : (l = l || []).push(d, c));
- }
- n && (l = l || []).push("style", n);
- var d = l;
- (t.updateQueue = d) && (t.flags |= 4);
- }
- }),
- (Go = function (e, t, n, r) {
- n !== r && (t.flags |= 4);
- });
- var il = "function" == typeof WeakMap ? WeakMap : Map;
- function ol(e, t, n) {
- ((n = oi(-1, n)).tag = 3),
- (n.payload = {
- element: null,
- });
- var r = t.value;
- return (
- (n.callback = function () {
- Hl || ((Hl = !0), (Wl = r)), al(0, t);
- }),
- n
- );
- }
- function ll(e, t, n) {
- (n = oi(-1, n)).tag = 3;
- var r = e.type.getDerivedStateFromError;
- if ("function" == typeof r) {
- var a = t.value;
- n.payload = function () {
- return al(0, t), r(a);
- };
- }
- var i = e.stateNode;
- return (
- null !== i &&
- "function" == typeof i.componentDidCatch &&
- (n.callback = function () {
- "function" != typeof r &&
- (null === Gl ? (Gl = new Set([this])) : Gl.add(this), al(0, t));
- var e = t.stack;
- this.componentDidCatch(t.value, {
- componentStack: null !== e ? e : "",
- });
- }),
- n
- );
- }
- var sl = "function" == typeof WeakSet ? WeakSet : Set;
- function ul(e) {
- var t = e.ref;
- if (null !== t)
- if ("function" == typeof t)
- try {
- t(null);
- } catch (t) {
- js(e, t);
- }
- else t.current = null;
- }
- function cl(e, t) {
- switch (t.tag) {
- case 0:
- case 11:
- case 15:
- case 22:
- return;
- case 1:
- if (256 & t.flags && null !== e) {
- var n = e.memoizedProps,
- r = e.memoizedState;
- (t = (e = t.stateNode).getSnapshotBeforeUpdate(
- t.elementType === t.type ? n : Qa(t.type, n),
- r
- )),
- (e.__reactInternalSnapshotBeforeUpdate = t);
- }
- return;
- case 3:
- return void (256 & t.flags && Vr(t.stateNode.containerInfo));
- case 5:
- case 6:
- case 4:
- case 17:
- return;
- }
- throw Error(o(163));
- }
- function dl(e, t, n) {
- switch (n.tag) {
- case 0:
- case 11:
- case 15:
- case 22:
- if (
- null !== (t = null !== (t = n.updateQueue) ? t.lastEffect : null)
- ) {
- e = t = t.next;
- do {
- if (3 == (3 & e.tag)) {
- var r = e.create;
- e.destroy = r();
- }
- e = e.next;
- } while (e !== t);
- }
- if (
- null !== (t = null !== (t = n.updateQueue) ? t.lastEffect : null)
- ) {
- e = t = t.next;
- do {
- var a = e;
- (r = a.next),
- 0 != (4 & (a = a.tag)) &&
- 0 != (1 & a) &&
- (As(n, e), Rs(n, e)),
- (e = r);
- } while (e !== t);
- }
- return;
- case 1:
- return (
- (e = n.stateNode),
- 4 & n.flags &&
- (null === t
- ? e.componentDidMount()
- : ((r =
- n.elementType === n.type
- ? t.memoizedProps
- : Qa(n.type, t.memoizedProps)),
- e.componentDidUpdate(
- r,
- t.memoizedState,
- e.__reactInternalSnapshotBeforeUpdate
- ))),
- void (null !== (t = n.updateQueue) && ci(n, t, e))
- );
- case 3:
- if (null !== (t = n.updateQueue)) {
- if (((e = null), null !== n.child))
- switch (n.child.tag) {
- case 5:
- e = n.child.stateNode;
- break;
- case 1:
- e = n.child.stateNode;
- }
- ci(n, t, e);
- }
- return;
- case 5:
- return (
- (e = n.stateNode),
- void (
- null === t &&
- 4 & n.flags &&
- zr(n.type, n.memoizedProps) &&
- e.focus()
- )
- );
- case 6:
- case 4:
- case 12:
- return;
- case 13:
- return void (
- null === n.memoizedState &&
- ((n = n.alternate),
- null !== n &&
- ((n = n.memoizedState),
- null !== n && ((n = n.dehydrated), null !== n && xt(n))))
- );
- case 19:
- case 17:
- case 20:
- case 21:
- case 23:
- case 24:
- return;
- }
- throw Error(o(163));
- }
- function fl(e, t) {
- for (var n = e; ; ) {
- if (5 === n.tag) {
- var r = n.stateNode;
- if (t)
- "function" == typeof (r = r.style).setProperty
- ? r.setProperty("display", "none", "important")
- : (r.display = "none");
- else {
- r = n.stateNode;
- var a = n.memoizedProps.style;
- (a = null != a && a.hasOwnProperty("display") ? a.display : null),
- (r.style.display = we("display", a));
- }
- } else if (6 === n.tag)
- n.stateNode.nodeValue = t ? "" : n.memoizedProps;
- else if (
- ((23 !== n.tag && 24 !== n.tag) ||
- null === n.memoizedState ||
- n === e) &&
- null !== n.child
- ) {
- (n.child.return = n), (n = n.child);
- continue;
- }
- if (n === e) break;
- for (; null === n.sibling; ) {
- if (null === n.return || n.return === e) return;
- n = n.return;
- }
- (n.sibling.return = n.return), (n = n.sibling);
- }
- }
- function pl(e, t) {
- if (wa && "function" == typeof wa.onCommitFiberUnmount)
- try {
- wa.onCommitFiberUnmount(ba, t);
- } catch (e) {}
- switch (t.tag) {
- case 0:
- case 11:
- case 14:
- case 15:
- case 22:
- if (null !== (e = t.updateQueue) && null !== (e = e.lastEffect)) {
- var n = (e = e.next);
- do {
- var r = n,
- a = r.destroy;
- if (((r = r.tag), void 0 !== a))
- if (0 != (4 & r)) As(t, n);
- else {
- r = t;
- try {
- a();
- } catch (e) {
- js(r, e);
- }
- }
- n = n.next;
- } while (n !== e);
- }
- break;
- case 1:
- if (
- (ul(t),
- "function" == typeof (e = t.stateNode).componentWillUnmount)
- )
- try {
- (e.props = t.memoizedProps),
- (e.state = t.memoizedState),
- e.componentWillUnmount();
- } catch (e) {
- js(t, e);
- }
- break;
- case 5:
- ul(t);
- break;
- case 4:
- bl(e, t);
- }
- }
- function hl(e) {
- (e.alternate = null),
- (e.child = null),
- (e.dependencies = null),
- (e.firstEffect = null),
- (e.lastEffect = null),
- (e.memoizedProps = null),
- (e.memoizedState = null),
- (e.pendingProps = null),
- (e.return = null),
- (e.updateQueue = null);
- }
- function ml(e) {
- return 5 === e.tag || 3 === e.tag || 4 === e.tag;
- }
- function gl(e) {
- e: {
- for (var t = e.return; null !== t; ) {
- if (ml(t)) break e;
- t = t.return;
- }
- throw Error(o(160));
- }
- var n = t;
- switch (((t = n.stateNode), n.tag)) {
- case 5:
- var r = !1;
- break;
- case 3:
- case 4:
- (t = t.containerInfo), (r = !0);
- break;
- default:
- throw Error(o(161));
- }
- 16 & n.flags && (ve(t, ""), (n.flags &= -17));
- e: t: for (n = e; ; ) {
- for (; null === n.sibling; ) {
- if (null === n.return || ml(n.return)) {
- n = null;
- break e;
- }
- n = n.return;
- }
- for (
- n.sibling.return = n.return, n = n.sibling;
- 5 !== n.tag && 6 !== n.tag && 18 !== n.tag;
-
- ) {
- if (2 & n.flags) continue t;
- if (null === n.child || 4 === n.tag) continue t;
- (n.child.return = n), (n = n.child);
- }
- if (!(2 & n.flags)) {
- n = n.stateNode;
- break e;
- }
- }
- r ? vl(e, n, t) : yl(e, n, t);
- }
- function vl(e, t, n) {
- var r = e.tag,
- a = 5 === r || 6 === r;
- if (a)
- (e = a ? e.stateNode : e.stateNode.instance),
- t
- ? 8 === n.nodeType
- ? n.parentNode.insertBefore(e, t)
- : n.insertBefore(e, t)
- : (8 === n.nodeType
- ? (t = n.parentNode).insertBefore(e, n)
- : (t = n).appendChild(e),
- null != (n = n._reactRootContainer) ||
- null !== t.onclick ||
- (t.onclick = Dr));
- else if (4 !== r && null !== (e = e.child))
- for (vl(e, t, n), e = e.sibling; null !== e; )
- vl(e, t, n), (e = e.sibling);
- }
- function yl(e, t, n) {
- var r = e.tag,
- a = 5 === r || 6 === r;
- if (a)
- (e = a ? e.stateNode : e.stateNode.instance),
- t ? n.insertBefore(e, t) : n.appendChild(e);
- else if (4 !== r && null !== (e = e.child))
- for (yl(e, t, n), e = e.sibling; null !== e; )
- yl(e, t, n), (e = e.sibling);
- }
- function bl(e, t) {
- for (var n, r, a = t, i = !1; ; ) {
- if (!i) {
- i = a.return;
- e: for (;;) {
- if (null === i) throw Error(o(160));
- switch (((n = i.stateNode), i.tag)) {
- case 5:
- r = !1;
- break e;
- case 3:
- case 4:
- (n = n.containerInfo), (r = !0);
- break e;
- }
- i = i.return;
- }
- i = !0;
- }
- if (5 === a.tag || 6 === a.tag) {
- e: for (var l = e, s = a, u = s; ; )
- if ((pl(l, u), null !== u.child && 4 !== u.tag))
- (u.child.return = u), (u = u.child);
- else {
- if (u === s) break e;
- for (; null === u.sibling; ) {
- if (null === u.return || u.return === s) break e;
- u = u.return;
- }
- (u.sibling.return = u.return), (u = u.sibling);
- }
- r
- ? ((l = n),
- (s = a.stateNode),
- 8 === l.nodeType
- ? l.parentNode.removeChild(s)
- : l.removeChild(s))
- : n.removeChild(a.stateNode);
- } else if (4 === a.tag) {
- if (null !== a.child) {
- (n = a.stateNode.containerInfo),
- (r = !0),
- (a.child.return = a),
- (a = a.child);
- continue;
- }
- } else if ((pl(e, a), null !== a.child)) {
- (a.child.return = a), (a = a.child);
- continue;
- }
- if (a === t) break;
- for (; null === a.sibling; ) {
- if (null === a.return || a.return === t) return;
- 4 === (a = a.return).tag && (i = !1);
- }
- (a.sibling.return = a.return), (a = a.sibling);
- }
- }
- function wl(e, t) {
- switch (t.tag) {
- case 0:
- case 11:
- case 14:
- case 15:
- case 22:
- var n = t.updateQueue;
- if (null !== (n = null !== n ? n.lastEffect : null)) {
- var r = (n = n.next);
- do {
- 3 == (3 & r.tag) &&
- ((e = r.destroy), (r.destroy = void 0), void 0 !== e && e()),
- (r = r.next);
- } while (r !== n);
- }
- return;
- case 1:
- return;
- case 5:
- if (null != (n = t.stateNode)) {
- r = t.memoizedProps;
- var a = null !== e ? e.memoizedProps : r;
- e = t.type;
- var i = t.updateQueue;
- if (((t.updateQueue = null), null !== i)) {
- for (
- n[Xr] = r,
- "input" === e &&
- "radio" === r.type &&
- null != r.name &&
- te(n, r),
- Se(e, a),
- t = Se(e, r),
- a = 0;
- a < i.length;
- a += 2
- ) {
- var l = i[a],
- s = i[a + 1];
- "style" === l
- ? xe(n, s)
- : "dangerouslySetInnerHTML" === l
- ? ge(n, s)
- : "children" === l
- ? ve(n, s)
- : w(n, l, s, t);
- }
- switch (e) {
- case "input":
- ne(n, r);
- break;
- case "textarea":
- ue(n, r);
- break;
- case "select":
- (e = n._wrapperState.wasMultiple),
- (n._wrapperState.wasMultiple = !!r.multiple),
- null != (i = r.value)
- ? oe(n, !!r.multiple, i, !1)
- : e !== !!r.multiple &&
- (null != r.defaultValue
- ? oe(n, !!r.multiple, r.defaultValue, !0)
- : oe(n, !!r.multiple, r.multiple ? [] : "", !1));
- }
- }
- }
- return;
- case 6:
- if (null === t.stateNode) throw Error(o(162));
- return void (t.stateNode.nodeValue = t.memoizedProps);
- case 3:
- return void (
- (n = t.stateNode).hydrate &&
- ((n.hydrate = !1), xt(n.containerInfo))
- );
- case 12:
- return;
- case 13:
- return (
- null !== t.memoizedState && ((zl = za()), fl(t.child, !0)),
- void xl(t)
- );
- case 19:
- return void xl(t);
- case 17:
- return;
- case 23:
- case 24:
- return void fl(t, null !== t.memoizedState);
- }
- throw Error(o(163));
- }
- function xl(e) {
- var t = e.updateQueue;
- if (null !== t) {
- e.updateQueue = null;
- var n = e.stateNode;
- null === n && (n = e.stateNode = new sl()),
- t.forEach(function (t) {
- var r = Ds.bind(null, e, t);
- n.has(t) || (n.add(t), t.then(r, r));
- });
- }
- }
- function _l(e, t) {
- return (
- null !== e &&
- (null === (e = e.memoizedState) || null !== e.dehydrated) &&
- null !== (t = t.memoizedState) &&
- null === t.dehydrated
- );
- }
- var Tl = Math.ceil,
- Sl = x.ReactCurrentDispatcher,
- kl = x.ReactCurrentOwner,
- El = 0,
- Pl = null,
- Cl = null,
- Ol = 0,
- Rl = 0,
- Al = ia(0),
- Ml = 0,
- Nl = null,
- jl = 0,
- Ll = 0,
- Dl = 0,
- Il = 0,
- Fl = null,
- zl = 0,
- Bl = 1 / 0;
- function Ul() {
- Bl = za() + 500;
- }
- var ql,
- Vl = null,
- Hl = !1,
- Wl = null,
- Gl = null,
- Ql = !1,
- Yl = null,
- Xl = 90,
- $l = [],
- Jl = [],
- Kl = null,
- Zl = 0,
- es = null,
- ts = -1,
- ns = 0,
- rs = 0,
- as = null,
- is = !1;
- function os() {
- return 0 != (48 & El) ? za() : -1 !== ts ? ts : (ts = za());
- }
- function ls(e) {
- if (0 == (2 & (e = e.mode))) return 1;
- if (0 == (4 & e)) return 99 === Ba() ? 1 : 2;
- if ((0 === ns && (ns = jl), 0 !== Ga.transition)) {
- 0 !== rs && (rs = null !== Fl ? Fl.pendingLanes : 0), (e = ns);
- var t = 4186112 & ~rs;
- return (
- 0 == (t &= -t) && 0 == (t = (e = 4186112 & ~e) & -e) && (t = 8192),
- t
- );
- }
- return (
- (e = Ba()),
- (e = zt(
- 0 != (4 & El) && 98 === e
- ? 12
- : (e = (function (e) {
- switch (e) {
- case 99:
- return 15;
- case 98:
- return 10;
- case 97:
- case 96:
- return 8;
- case 95:
- return 2;
- default:
- return 0;
- }
- })(e)),
- ns
- ))
- );
- }
- function ss(e, t, n) {
- if (50 < Zl) throw ((Zl = 0), (es = null), Error(o(185)));
- if (null === (e = us(e, t))) return null;
- qt(e, t, n), e === Pl && ((Dl |= t), 4 === Ml && fs(e, Ol));
- var r = Ba();
- 1 === t
- ? 0 != (8 & El) && 0 == (48 & El)
- ? ps(e)
- : (cs(e, n), 0 === El && (Ul(), Ha()))
- : (0 == (4 & El) ||
- (98 !== r && 99 !== r) ||
- (null === Kl ? (Kl = new Set([e])) : Kl.add(e)),
- cs(e, n)),
- (Fl = e);
- }
- function us(e, t) {
- e.lanes |= t;
- var n = e.alternate;
- for (null !== n && (n.lanes |= t), n = e, e = e.return; null !== e; )
- (e.childLanes |= t),
- null !== (n = e.alternate) && (n.childLanes |= t),
- (n = e),
- (e = e.return);
- return 3 === n.tag ? n.stateNode : null;
- }
- function cs(e, t) {
- for (
- var n = e.callbackNode,
- r = e.suspendedLanes,
- a = e.pingedLanes,
- i = e.expirationTimes,
- l = e.pendingLanes;
- 0 < l;
-
- ) {
- var s = 31 - Vt(l),
- u = 1 << s,
- c = i[s];
- if (-1 === c) {
- if (0 == (u & r) || 0 != (u & a)) {
- (c = t), Dt(u);
- var d = Lt;
- i[s] = 10 <= d ? c + 250 : 6 <= d ? c + 5e3 : -1;
- }
- } else c <= t && (e.expiredLanes |= u);
- l &= ~u;
- }
- if (((r = It(e, e === Pl ? Ol : 0)), (t = Lt), 0 === r))
- null !== n &&
- (n !== Na && Ta(n),
- (e.callbackNode = null),
- (e.callbackPriority = 0));
- else {
- if (null !== n) {
- if (e.callbackPriority === t) return;
- n !== Na && Ta(n);
- }
- 15 === t
- ? ((n = ps.bind(null, e)),
- null === La ? ((La = [n]), (Da = _a(Ca, Wa))) : La.push(n),
- (n = Na))
- : (n =
- 14 === t
- ? Va(99, ps.bind(null, e))
- : Va(
- (n = (function (e) {
- switch (e) {
- case 15:
- case 14:
- return 99;
- case 13:
- case 12:
- case 11:
- case 10:
- return 98;
- case 9:
- case 8:
- case 7:
- case 6:
- case 4:
- case 5:
- return 97;
- case 3:
- case 2:
- case 1:
- return 95;
- case 0:
- return 90;
- default:
- throw Error(o(358, e));
- }
- })(t)),
- ds.bind(null, e)
- )),
- (e.callbackPriority = t),
- (e.callbackNode = n);
- }
- }
- function ds(e) {
- if (((ts = -1), (rs = ns = 0), 0 != (48 & El))) throw Error(o(327));
- var t = e.callbackNode;
- if (Os() && e.callbackNode !== t) return null;
- var n = It(e, e === Pl ? Ol : 0);
- if (0 === n) return null;
- var r = n,
- a = El;
- El |= 16;
- var i = ws();
- for ((Pl === e && Ol === r) || (Ul(), ys(e, r)); ; )
- try {
- Ts();
- break;
- } catch (t) {
- bs(e, t);
- }
- if (
- (Ka(),
- (Sl.current = i),
- (El = a),
- null !== Cl ? (r = 0) : ((Pl = null), (Ol = 0), (r = Ml)),
- 0 != (jl & Dl))
- )
- ys(e, 0);
- else if (0 !== r) {
- if (
- (2 === r &&
- ((El |= 64),
- e.hydrate && ((e.hydrate = !1), Vr(e.containerInfo)),
- 0 !== (n = Ft(e)) && (r = xs(e, n))),
- 1 === r)
- )
- throw ((t = Nl), ys(e, 0), fs(e, n), cs(e, za()), t);
- switch (
- ((e.finishedWork = e.current.alternate), (e.finishedLanes = n), r)
- ) {
- case 0:
- case 1:
- throw Error(o(345));
- case 2:
- Es(e);
- break;
- case 3:
- if (
- (fs(e, n), (62914560 & n) === n && 10 < (r = zl + 500 - za()))
- ) {
- if (0 !== It(e, 0)) break;
- if (((a = e.suspendedLanes) & n) !== n) {
- os(), (e.pingedLanes |= e.suspendedLanes & a);
- break;
- }
- e.timeoutHandle = Ur(Es.bind(null, e), r);
- break;
- }
- Es(e);
- break;
- case 4:
- if ((fs(e, n), (4186112 & n) === n)) break;
- for (r = e.eventTimes, a = -1; 0 < n; ) {
- var l = 31 - Vt(n);
- (i = 1 << l), (l = r[l]) > a && (a = l), (n &= ~i);
- }
- if (
- ((n = a),
- 10 <
- (n =
- (120 > (n = za() - n)
- ? 120
- : 480 > n
- ? 480
- : 1080 > n
- ? 1080
- : 1920 > n
- ? 1920
- : 3e3 > n
- ? 3e3
- : 4320 > n
- ? 4320
- : 1960 * Tl(n / 1960)) - n))
- ) {
- e.timeoutHandle = Ur(Es.bind(null, e), n);
- break;
- }
- Es(e);
- break;
- case 5:
- Es(e);
- break;
- default:
- throw Error(o(329));
- }
- }
- return cs(e, za()), e.callbackNode === t ? ds.bind(null, e) : null;
- }
- function fs(e, t) {
- for (
- t &= ~Il,
- t &= ~Dl,
- e.suspendedLanes |= t,
- e.pingedLanes &= ~t,
- e = e.expirationTimes;
- 0 < t;
-
- ) {
- var n = 31 - Vt(t),
- r = 1 << n;
- (e[n] = -1), (t &= ~r);
- }
- }
- function ps(e) {
- if (0 != (48 & El)) throw Error(o(327));
- if ((Os(), e === Pl && 0 != (e.expiredLanes & Ol))) {
- var t = Ol,
- n = xs(e, t);
- 0 != (jl & Dl) && (n = xs(e, (t = It(e, t))));
- } else n = xs(e, (t = It(e, 0)));
- if (
- (0 !== e.tag &&
- 2 === n &&
- ((El |= 64),
- e.hydrate && ((e.hydrate = !1), Vr(e.containerInfo)),
- 0 !== (t = Ft(e)) && (n = xs(e, t))),
- 1 === n)
- )
- throw ((n = Nl), ys(e, 0), fs(e, t), cs(e, za()), n);
- return (
- (e.finishedWork = e.current.alternate),
- (e.finishedLanes = t),
- Es(e),
- cs(e, za()),
- null
- );
- }
- function hs(e, t) {
- var n = El;
- El |= 1;
- try {
- return e(t);
- } finally {
- 0 === (El = n) && (Ul(), Ha());
- }
- }
- function ms(e, t) {
- var n = El;
- (El &= -2), (El |= 8);
- try {
- return e(t);
- } finally {
- 0 === (El = n) && (Ul(), Ha());
- }
- }
- function gs(e, t) {
- la(Al, Rl), (Rl |= t), (jl |= t);
- }
- function vs() {
- (Rl = Al.current), oa(Al);
- }
- function ys(e, t) {
- (e.finishedWork = null), (e.finishedLanes = 0);
- var n = e.timeoutHandle;
- if ((-1 !== n && ((e.timeoutHandle = -1), qr(n)), null !== Cl))
- for (n = Cl.return; null !== n; ) {
- var r = n;
- switch (r.tag) {
- case 1:
- null != (r = r.type.childContextTypes) && ha();
- break;
- case 3:
- Ri(), oa(ca), oa(ua), Wi();
- break;
- case 5:
- Mi(r);
- break;
- case 4:
- Ri();
- break;
- case 13:
- case 19:
- oa(Ni);
- break;
- case 10:
- Za(r);
- break;
- case 23:
- case 24:
- vs();
- }
- n = n.return;
- }
- (Pl = e),
- (Cl = Bs(e.current, null)),
- (Ol = Rl = jl = t),
- (Ml = 0),
- (Nl = null),
- (Il = Dl = Ll = 0);
- }
- function bs(e, t) {
- for (;;) {
- var n = Cl;
- try {
- if ((Ka(), (Gi.current = Co), Ki)) {
- for (var r = Xi.memoizedState; null !== r; ) {
- var a = r.queue;
- null !== a && (a.pending = null), (r = r.next);
- }
- Ki = !1;
- }
- if (
- ((Yi = 0),
- (Ji = $i = Xi = null),
- (Zi = !1),
- (kl.current = null),
- null === n || null === n.return)
- ) {
- (Ml = 1), (Nl = t), (Cl = null);
- break;
- }
- e: {
- var i = e,
- o = n.return,
- l = n,
- s = t;
- if (
- ((t = Ol),
- (l.flags |= 2048),
- (l.firstEffect = l.lastEffect = null),
- null !== s &&
- "object" == typeof s &&
- "function" == typeof s.then)
- ) {
- var u = s;
- if (0 == (2 & l.mode)) {
- var c = l.alternate;
- c
- ? ((l.updateQueue = c.updateQueue),
- (l.memoizedState = c.memoizedState),
- (l.lanes = c.lanes))
- : ((l.updateQueue = null), (l.memoizedState = null));
- }
- var d = 0 != (1 & Ni.current),
- f = o;
- do {
- var p;
- if ((p = 13 === f.tag)) {
- var h = f.memoizedState;
- if (null !== h) p = null !== h.dehydrated;
- else {
- var m = f.memoizedProps;
- p =
- void 0 !== m.fallback &&
- (!0 !== m.unstable_avoidThisFallback || !d);
- }
- }
- if (p) {
- var g = f.updateQueue;
- if (null === g) {
- var v = new Set();
- v.add(u), (f.updateQueue = v);
- } else g.add(u);
- if (0 == (2 & f.mode)) {
- if (
- ((f.flags |= 64),
- (l.flags |= 16384),
- (l.flags &= -2981),
- 1 === l.tag)
- )
- if (null === l.alternate) l.tag = 17;
- else {
- var y = oi(-1, 1);
- (y.tag = 2), li(l, y);
- }
- l.lanes |= 1;
- break e;
- }
- (s = void 0), (l = t);
- var b = i.pingCache;
- if (
- (null === b
- ? ((b = i.pingCache = new il()),
- (s = new Set()),
- b.set(u, s))
- : void 0 === (s = b.get(u)) &&
- ((s = new Set()), b.set(u, s)),
- !s.has(l))
- ) {
- s.add(l);
- var w = Ls.bind(null, i, u, l);
- u.then(w, w);
- }
- (f.flags |= 4096), (f.lanes = t);
- break e;
- }
- f = f.return;
- } while (null !== f);
- s = Error(
- (Q(l.type) || "A React component") +
- " suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."
- );
- }
- 5 !== Ml && (Ml = 2), (s = rl(s, l)), (f = o);
- do {
- switch (f.tag) {
- case 3:
- (i = s),
- (f.flags |= 4096),
- (t &= -t),
- (f.lanes |= t),
- si(f, ol(0, i, t));
- break e;
- case 1:
- i = s;
- var x = f.type,
- _ = f.stateNode;
- if (
- 0 == (64 & f.flags) &&
- ("function" == typeof x.getDerivedStateFromError ||
- (null !== _ &&
- "function" == typeof _.componentDidCatch &&
- (null === Gl || !Gl.has(_))))
- ) {
- (f.flags |= 4096),
- (t &= -t),
- (f.lanes |= t),
- si(f, ll(f, i, t));
- break e;
- }
- }
- f = f.return;
- } while (null !== f);
- }
- ks(n);
- } catch (e) {
- (t = e), Cl === n && null !== n && (Cl = n = n.return);
- continue;
- }
- break;
- }
- }
- function ws() {
- var e = Sl.current;
- return (Sl.current = Co), null === e ? Co : e;
- }
- function xs(e, t) {
- var n = El;
- El |= 16;
- var r = ws();
- for ((Pl === e && Ol === t) || ys(e, t); ; )
- try {
- _s();
- break;
- } catch (t) {
- bs(e, t);
- }
- if ((Ka(), (El = n), (Sl.current = r), null !== Cl))
- throw Error(o(261));
- return (Pl = null), (Ol = 0), Ml;
- }
- function _s() {
- for (; null !== Cl; ) Ss(Cl);
- }
- function Ts() {
- for (; null !== Cl && !Sa(); ) Ss(Cl);
- }
- function Ss(e) {
- var t = ql(e.alternate, e, Rl);
- (e.memoizedProps = e.pendingProps),
- null === t ? ks(e) : (Cl = t),
- (kl.current = null);
- }
- function ks(e) {
- var t = e;
- do {
- var n = t.alternate;
- if (((e = t.return), 0 == (2048 & t.flags))) {
- if (null !== (n = tl(n, t, Rl))) return void (Cl = n);
- if (
- (24 !== (n = t).tag && 23 !== n.tag) ||
- null === n.memoizedState ||
- 0 != (1073741824 & Rl) ||
- 0 == (4 & n.mode)
- ) {
- for (var r = 0, a = n.child; null !== a; )
- (r |= a.lanes | a.childLanes), (a = a.sibling);
- n.childLanes = r;
- }
- null !== e &&
- 0 == (2048 & e.flags) &&
- (null === e.firstEffect && (e.firstEffect = t.firstEffect),
- null !== t.lastEffect &&
- (null !== e.lastEffect &&
- (e.lastEffect.nextEffect = t.firstEffect),
- (e.lastEffect = t.lastEffect)),
- 1 < t.flags &&
- (null !== e.lastEffect
- ? (e.lastEffect.nextEffect = t)
- : (e.firstEffect = t),
- (e.lastEffect = t)));
- } else {
- if (null !== (n = nl(t))) return (n.flags &= 2047), void (Cl = n);
- null !== e &&
- ((e.firstEffect = e.lastEffect = null), (e.flags |= 2048));
- }
- if (null !== (t = t.sibling)) return void (Cl = t);
- Cl = t = e;
- } while (null !== t);
- 0 === Ml && (Ml = 5);
- }
- function Es(e) {
- var t = Ba();
- return qa(99, Ps.bind(null, e, t)), null;
- }
- function Ps(e, t) {
- do {
- Os();
- } while (null !== Yl);
- if (0 != (48 & El)) throw Error(o(327));
- var n = e.finishedWork;
- if (null === n) return null;
- if (((e.finishedWork = null), (e.finishedLanes = 0), n === e.current))
- throw Error(o(177));
- e.callbackNode = null;
- var r = n.lanes | n.childLanes,
- a = r,
- i = e.pendingLanes & ~a;
- (e.pendingLanes = a),
- (e.suspendedLanes = 0),
- (e.pingedLanes = 0),
- (e.expiredLanes &= a),
- (e.mutableReadLanes &= a),
- (e.entangledLanes &= a),
- (a = e.entanglements);
- for (var l = e.eventTimes, s = e.expirationTimes; 0 < i; ) {
- var u = 31 - Vt(i),
- c = 1 << u;
- (a[u] = 0), (l[u] = -1), (s[u] = -1), (i &= ~c);
- }
- if (
- (null !== Kl && 0 == (24 & r) && Kl.has(e) && Kl.delete(e),
- e === Pl && ((Cl = Pl = null), (Ol = 0)),
- 1 < n.flags
- ? null !== n.lastEffect
- ? ((n.lastEffect.nextEffect = n), (r = n.firstEffect))
- : (r = n)
- : (r = n.firstEffect),
- null !== r)
- ) {
- if (
- ((a = El),
- (El |= 32),
- (kl.current = null),
- (Ir = Yt),
- pr((l = fr())))
- ) {
- if ("selectionStart" in l)
- s = {
- start: l.selectionStart,
- end: l.selectionEnd,
- };
- else
- e: if (
- ((s = ((s = l.ownerDocument) && s.defaultView) || window),
- (c = s.getSelection && s.getSelection()) && 0 !== c.rangeCount)
- ) {
- (s = c.anchorNode),
- (i = c.anchorOffset),
- (u = c.focusNode),
- (c = c.focusOffset);
- try {
- s.nodeType, u.nodeType;
- } catch (e) {
- s = null;
- break e;
- }
- var d = 0,
- f = -1,
- p = -1,
- h = 0,
- m = 0,
- g = l,
- v = null;
- t: for (;;) {
- for (
- var y;
- g !== s || (0 !== i && 3 !== g.nodeType) || (f = d + i),
- g !== u || (0 !== c && 3 !== g.nodeType) || (p = d + c),
- 3 === g.nodeType && (d += g.nodeValue.length),
- null !== (y = g.firstChild);
-
- )
- (v = g), (g = y);
- for (;;) {
- if (g === l) break t;
- if (
- (v === s && ++h === i && (f = d),
- v === u && ++m === c && (p = d),
- null !== (y = g.nextSibling))
- )
- break;
- v = (g = v).parentNode;
- }
- g = y;
- }
- s =
- -1 === f || -1 === p
- ? null
- : {
- start: f,
- end: p,
- };
- } else s = null;
- s = s || {
- start: 0,
- end: 0,
- };
- } else s = null;
- (Fr = {
- focusedElem: l,
- selectionRange: s,
- }),
- (Yt = !1),
- (as = null),
- (is = !1),
- (Vl = r);
- do {
- try {
- Cs();
- } catch (e) {
- if (null === Vl) throw Error(o(330));
- js(Vl, e), (Vl = Vl.nextEffect);
- }
- } while (null !== Vl);
- (as = null), (Vl = r);
- do {
- try {
- for (l = e; null !== Vl; ) {
- var b = Vl.flags;
- if ((16 & b && ve(Vl.stateNode, ""), 128 & b)) {
- var w = Vl.alternate;
- if (null !== w) {
- var x = w.ref;
- null !== x &&
- ("function" == typeof x ? x(null) : (x.current = null));
- }
- }
- switch (1038 & b) {
- case 2:
- gl(Vl), (Vl.flags &= -3);
- break;
- case 6:
- gl(Vl), (Vl.flags &= -3), wl(Vl.alternate, Vl);
- break;
- case 1024:
- Vl.flags &= -1025;
- break;
- case 1028:
- (Vl.flags &= -1025), wl(Vl.alternate, Vl);
- break;
- case 4:
- wl(Vl.alternate, Vl);
- break;
- case 8:
- bl(l, (s = Vl));
- var _ = s.alternate;
- hl(s), null !== _ && hl(_);
- }
- Vl = Vl.nextEffect;
- }
- } catch (e) {
- if (null === Vl) throw Error(o(330));
- js(Vl, e), (Vl = Vl.nextEffect);
- }
- } while (null !== Vl);
- if (
- ((x = Fr),
- (w = fr()),
- (b = x.focusedElem),
- (l = x.selectionRange),
- w !== b &&
- b &&
- b.ownerDocument &&
- dr(b.ownerDocument.documentElement, b))
- ) {
- null !== l &&
- pr(b) &&
- ((w = l.start),
- void 0 === (x = l.end) && (x = w),
- "selectionStart" in b
- ? ((b.selectionStart = w),
- (b.selectionEnd = Math.min(x, b.value.length)))
- : (x =
- ((w = b.ownerDocument || document) && w.defaultView) ||
- window).getSelection &&
- ((x = x.getSelection()),
- (s = b.textContent.length),
- (_ = Math.min(l.start, s)),
- (l = void 0 === l.end ? _ : Math.min(l.end, s)),
- !x.extend && _ > l && ((s = l), (l = _), (_ = s)),
- (s = cr(b, _)),
- (i = cr(b, l)),
- s &&
- i &&
- (1 !== x.rangeCount ||
- x.anchorNode !== s.node ||
- x.anchorOffset !== s.offset ||
- x.focusNode !== i.node ||
- x.focusOffset !== i.offset) &&
- ((w = w.createRange()).setStart(s.node, s.offset),
- x.removeAllRanges(),
- _ > l
- ? (x.addRange(w), x.extend(i.node, i.offset))
- : (w.setEnd(i.node, i.offset), x.addRange(w))))),
- (w = []);
- for (x = b; (x = x.parentNode); )
- 1 === x.nodeType &&
- w.push({
- element: x,
- left: x.scrollLeft,
- top: x.scrollTop,
- });
- for (
- "function" == typeof b.focus && b.focus(), b = 0;
- b < w.length;
- b++
- )
- ((x = w[b]).element.scrollLeft = x.left),
- (x.element.scrollTop = x.top);
- }
- (Yt = !!Ir), (Fr = Ir = null), (e.current = n), (Vl = r);
- do {
- try {
- for (b = e; null !== Vl; ) {
- var T = Vl.flags;
- if ((36 & T && dl(b, Vl.alternate, Vl), 128 & T)) {
- w = void 0;
- var S = Vl.ref;
- if (null !== S) {
- var k = Vl.stateNode;
- switch (Vl.tag) {
- case 5:
- w = k;
- break;
- default:
- w = k;
- }
- "function" == typeof S ? S(w) : (S.current = w);
- }
- }
- Vl = Vl.nextEffect;
- }
- } catch (e) {
- if (null === Vl) throw Error(o(330));
- js(Vl, e), (Vl = Vl.nextEffect);
- }
- } while (null !== Vl);
- (Vl = null), ja(), (El = a);
- } else e.current = n;
- if (Ql) (Ql = !1), (Yl = e), (Xl = t);
- else
- for (Vl = r; null !== Vl; )
- (t = Vl.nextEffect),
- (Vl.nextEffect = null),
- 8 & Vl.flags && (((T = Vl).sibling = null), (T.stateNode = null)),
- (Vl = t);
- if (
- (0 === (r = e.pendingLanes) && (Gl = null),
- 1 === r ? (e === es ? Zl++ : ((Zl = 0), (es = e))) : (Zl = 0),
- (n = n.stateNode),
- wa && "function" == typeof wa.onCommitFiberRoot)
- )
- try {
- wa.onCommitFiberRoot(ba, n, void 0, 64 == (64 & n.current.flags));
- } catch (e) {}
- if ((cs(e, za()), Hl)) throw ((Hl = !1), (e = Wl), (Wl = null), e);
- return 0 != (8 & El) || Ha(), null;
- }
- function Cs() {
- for (; null !== Vl; ) {
- var e = Vl.alternate;
- is ||
- null === as ||
- (0 != (8 & Vl.flags)
- ? Ze(Vl, as) && (is = !0)
- : 13 === Vl.tag && _l(e, Vl) && Ze(Vl, as) && (is = !0));
- var t = Vl.flags;
- 0 != (256 & t) && cl(e, Vl),
- 0 == (512 & t) ||
- Ql ||
- ((Ql = !0),
- Va(97, function () {
- return Os(), null;
- })),
- (Vl = Vl.nextEffect);
- }
- }
- function Os() {
- if (90 !== Xl) {
- var e = 97 < Xl ? 97 : Xl;
- return (Xl = 90), qa(e, Ms);
- }
- return !1;
- }
- function Rs(e, t) {
- $l.push(t, e),
- Ql ||
- ((Ql = !0),
- Va(97, function () {
- return Os(), null;
- }));
- }
- function As(e, t) {
- Jl.push(t, e),
- Ql ||
- ((Ql = !0),
- Va(97, function () {
- return Os(), null;
- }));
- }
- function Ms() {
- if (null === Yl) return !1;
- var e = Yl;
- if (((Yl = null), 0 != (48 & El))) throw Error(o(331));
- var t = El;
- El |= 32;
- var n = Jl;
- Jl = [];
- for (var r = 0; r < n.length; r += 2) {
- var a = n[r],
- i = n[r + 1],
- l = a.destroy;
- if (((a.destroy = void 0), "function" == typeof l))
- try {
- l();
- } catch (e) {
- if (null === i) throw Error(o(330));
- js(i, e);
- }
- }
- for (n = $l, $l = [], r = 0; r < n.length; r += 2) {
- (a = n[r]), (i = n[r + 1]);
- try {
- var s = a.create;
- a.destroy = s();
- } catch (e) {
- if (null === i) throw Error(o(330));
- js(i, e);
- }
- }
- for (s = e.current.firstEffect; null !== s; )
- (e = s.nextEffect),
- (s.nextEffect = null),
- 8 & s.flags && ((s.sibling = null), (s.stateNode = null)),
- (s = e);
- return (El = t), Ha(), !0;
- }
- function Ns(e, t, n) {
- li(e, (t = ol(0, (t = rl(n, t)), 1))),
- (t = os()),
- null !== (e = us(e, 1)) && (qt(e, 1, t), cs(e, t));
- }
- function js(e, t) {
- if (3 === e.tag) Ns(e, e, t);
- else
- for (var n = e.return; null !== n; ) {
- if (3 === n.tag) {
- Ns(n, e, t);
- break;
- }
- if (1 === n.tag) {
- var r = n.stateNode;
- if (
- "function" == typeof n.type.getDerivedStateFromError ||
- ("function" == typeof r.componentDidCatch &&
- (null === Gl || !Gl.has(r)))
- ) {
- var a = ll(n, (e = rl(t, e)), 1);
- if ((li(n, a), (a = os()), null !== (n = us(n, 1))))
- qt(n, 1, a), cs(n, a);
- else if (
- "function" == typeof r.componentDidCatch &&
- (null === Gl || !Gl.has(r))
- )
- try {
- r.componentDidCatch(t, e);
- } catch (e) {}
- break;
- }
- }
- n = n.return;
- }
- }
- function Ls(e, t, n) {
- var r = e.pingCache;
- null !== r && r.delete(t),
- (t = os()),
- (e.pingedLanes |= e.suspendedLanes & n),
- Pl === e &&
- (Ol & n) === n &&
- (4 === Ml || (3 === Ml && (62914560 & Ol) === Ol && 500 > za() - zl)
- ? ys(e, 0)
- : (Il |= n)),
- cs(e, t);
- }
- function Ds(e, t) {
- var n = e.stateNode;
- null !== n && n.delete(t),
- 0 == (t = 0) &&
- (0 == (2 & (t = e.mode))
- ? (t = 1)
- : 0 == (4 & t)
- ? (t = 99 === Ba() ? 1 : 2)
- : (0 === ns && (ns = jl),
- 0 === (t = Bt(62914560 & ~ns)) && (t = 4194304))),
- (n = os()),
- null !== (e = us(e, t)) && (qt(e, t, n), cs(e, n));
- }
- function Is(e, t, n, r) {
- (this.tag = e),
- (this.key = n),
- (this.sibling =
- this.child =
- this.return =
- this.stateNode =
- this.type =
- this.elementType =
- null),
- (this.index = 0),
- (this.ref = null),
- (this.pendingProps = t),
- (this.dependencies =
- this.memoizedState =
- this.updateQueue =
- this.memoizedProps =
- null),
- (this.mode = r),
- (this.flags = 0),
- (this.lastEffect = this.firstEffect = this.nextEffect = null),
- (this.childLanes = this.lanes = 0),
- (this.alternate = null);
- }
- function Fs(e, t, n, r) {
- return new Is(e, t, n, r);
- }
- function zs(e) {
- return !(!(e = e.prototype) || !e.isReactComponent);
- }
- function Bs(e, t) {
- var n = e.alternate;
- return (
- null === n
- ? (((n = Fs(e.tag, t, e.key, e.mode)).elementType = e.elementType),
- (n.type = e.type),
- (n.stateNode = e.stateNode),
- (n.alternate = e),
- (e.alternate = n))
- : ((n.pendingProps = t),
- (n.type = e.type),
- (n.flags = 0),
- (n.nextEffect = null),
- (n.firstEffect = null),
- (n.lastEffect = null)),
- (n.childLanes = e.childLanes),
- (n.lanes = e.lanes),
- (n.child = e.child),
- (n.memoizedProps = e.memoizedProps),
- (n.memoizedState = e.memoizedState),
- (n.updateQueue = e.updateQueue),
- (t = e.dependencies),
- (n.dependencies =
- null === t
- ? null
- : {
- lanes: t.lanes,
- firstContext: t.firstContext,
- }),
- (n.sibling = e.sibling),
- (n.index = e.index),
- (n.ref = e.ref),
- n
- );
- }
- function Us(e, t, n, r, a, i) {
- var l = 2;
- if (((r = e), "function" == typeof e)) zs(e) && (l = 1);
- else if ("string" == typeof e) l = 5;
- else
- e: switch (e) {
- case S:
- return qs(n.children, a, i, t);
- case D:
- (l = 8), (a |= 16);
- break;
- case k:
- (l = 8), (a |= 1);
- break;
- case E:
- return (
- ((e = Fs(12, n, t, 8 | a)).elementType = E),
- (e.type = E),
- (e.lanes = i),
- e
- );
- case R:
- return (
- ((e = Fs(13, n, t, a)).type = R),
- (e.elementType = R),
- (e.lanes = i),
- e
- );
- case A:
- return ((e = Fs(19, n, t, a)).elementType = A), (e.lanes = i), e;
- case I:
- return Vs(n, a, i, t);
- case F:
- return ((e = Fs(24, n, t, a)).elementType = F), (e.lanes = i), e;
- default:
- if ("object" == typeof e && null !== e)
- switch (e.$$typeof) {
- case P:
- l = 10;
- break e;
- case C:
- l = 9;
- break e;
- case O:
- l = 11;
- break e;
- case M:
- l = 14;
- break e;
- case N:
- (l = 16), (r = null);
- break e;
- case j:
- l = 22;
- break e;
- }
- throw Error(o(130, null == e ? e : typeof e, ""));
- }
- return (
- ((t = Fs(l, n, t, a)).elementType = e), (t.type = r), (t.lanes = i), t
- );
- }
- function qs(e, t, n, r) {
- return ((e = Fs(7, e, r, t)).lanes = n), e;
- }
- function Vs(e, t, n, r) {
- return ((e = Fs(23, e, r, t)).elementType = I), (e.lanes = n), e;
- }
- function Hs(e, t, n) {
- return ((e = Fs(6, e, null, t)).lanes = n), e;
- }
- function Ws(e, t, n) {
- return (
- ((t = Fs(4, null !== e.children ? e.children : [], e.key, t)).lanes =
- n),
- (t.stateNode = {
- containerInfo: e.containerInfo,
- pendingChildren: null,
- implementation: e.implementation,
- }),
- t
- );
- }
- function Gs(e, t, n) {
- (this.tag = t),
- (this.containerInfo = e),
- (this.finishedWork =
- this.pingCache =
- this.current =
- this.pendingChildren =
- null),
- (this.timeoutHandle = -1),
- (this.pendingContext = this.context = null),
- (this.hydrate = n),
- (this.callbackNode = null),
- (this.callbackPriority = 0),
- (this.eventTimes = Ut(0)),
- (this.expirationTimes = Ut(-1)),
- (this.entangledLanes =
- this.finishedLanes =
- this.mutableReadLanes =
- this.expiredLanes =
- this.pingedLanes =
- this.suspendedLanes =
- this.pendingLanes =
- 0),
- (this.entanglements = Ut(0)),
- (this.mutableSourceEagerHydrationData = null);
- }
- function Qs(e, t, n) {
- var r =
- 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
- return {
- $$typeof: T,
- key: null == r ? null : "" + r,
- children: e,
- containerInfo: t,
- implementation: n,
- };
- }
- function Ys(e, t, n, r) {
- var a = t.current,
- i = os(),
- l = ls(a);
- e: if (n) {
- t: {
- if (Xe((n = n._reactInternals)) !== n || 1 !== n.tag)
- throw Error(o(170));
- var s = n;
- do {
- switch (s.tag) {
- case 3:
- s = s.stateNode.context;
- break t;
- case 1:
- if (pa(s.type)) {
- s = s.stateNode.__reactInternalMemoizedMergedChildContext;
- break t;
- }
- }
- s = s.return;
- } while (null !== s);
- throw Error(o(171));
- }
- if (1 === n.tag) {
- var u = n.type;
- if (pa(u)) {
- n = ga(n, u, s);
- break e;
- }
- }
- n = s;
- } else n = sa;
- return (
- null === t.context ? (t.context = n) : (t.pendingContext = n),
- ((t = oi(i, l)).payload = {
- element: e,
- }),
- null !== (r = void 0 === r ? null : r) && (t.callback = r),
- li(a, t),
- ss(a, l, i),
- l
- );
- }
- function Xs(e) {
- if (!(e = e.current).child) return null;
- switch (e.child.tag) {
- case 5:
- default:
- return e.child.stateNode;
- }
- }
- function $s(e, t) {
- if (null !== (e = e.memoizedState) && null !== e.dehydrated) {
- var n = e.retryLane;
- e.retryLane = 0 !== n && n < t ? n : t;
- }
- }
- function Js(e, t) {
- $s(e, t), (e = e.alternate) && $s(e, t);
- }
- function Ks(e, t, n) {
- var r =
- (null != n &&
- null != n.hydrationOptions &&
- n.hydrationOptions.mutableSources) ||
- null;
- if (
- ((n = new Gs(e, t, null != n && !0 === n.hydrate)),
- (t = Fs(3, null, null, 2 === t ? 7 : 1 === t ? 3 : 0)),
- (n.current = t),
- (t.stateNode = n),
- ai(t),
- (e[$r] = n.current),
- Cr(8 === e.nodeType ? e.parentNode : e),
- r)
- )
- for (e = 0; e < r.length; e++) {
- var a = (t = r[e])._getVersion;
- (a = a(t._source)),
- null == n.mutableSourceEagerHydrationData
- ? (n.mutableSourceEagerHydrationData = [t, a])
- : n.mutableSourceEagerHydrationData.push(t, a);
- }
- this._internalRoot = n;
- }
- function Zs(e) {
- return !(
- !e ||
- (1 !== e.nodeType &&
- 9 !== e.nodeType &&
- 11 !== e.nodeType &&
- (8 !== e.nodeType ||
- " react-mount-point-unstable " !== e.nodeValue))
- );
- }
- function eu(e, t, n, r, a) {
- var i = n._reactRootContainer;
- if (i) {
- var o = i._internalRoot;
- if ("function" == typeof a) {
- var l = a;
- a = function () {
- var e = Xs(o);
- l.call(e);
- };
- }
- Ys(t, o, e, a);
- } else {
- if (
- ((i = n._reactRootContainer =
- (function (e, t) {
- if (
- (t ||
- (t = !(
- !(t = e
- ? 9 === e.nodeType
- ? e.documentElement
- : e.firstChild
- : null) ||
- 1 !== t.nodeType ||
- !t.hasAttribute("data-reactroot")
- )),
- !t)
- )
- for (var n; (n = e.lastChild); ) e.removeChild(n);
- return new Ks(
- e,
- 0,
- t
- ? {
- hydrate: !0,
- }
- : void 0
- );
- })(n, r)),
- (o = i._internalRoot),
- "function" == typeof a)
- ) {
- var s = a;
- a = function () {
- var e = Xs(o);
- s.call(e);
- };
- }
- ms(function () {
- Ys(t, o, e, a);
- });
- }
- return Xs(o);
- }
- function tu(e, t) {
- var n =
- 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;
- if (!Zs(t)) throw Error(o(200));
- return Qs(e, t, null, n);
- }
- (ql = function (e, t, n) {
- var r = t.lanes;
- if (null !== e)
- if (e.memoizedProps !== t.pendingProps || ca.current) No = !0;
- else {
- if (0 == (n & r)) {
- switch (((No = !1), t.tag)) {
- case 3:
- Vo(t), Vi();
- break;
- case 5:
- Ai(t);
- break;
- case 1:
- pa(t.type) && va(t);
- break;
- case 4:
- Oi(t, t.stateNode.containerInfo);
- break;
- case 10:
- r = t.memoizedProps.value;
- var a = t.type._context;
- la(Ya, a._currentValue), (a._currentValue = r);
- break;
- case 13:
- if (null !== t.memoizedState)
- return 0 != (n & t.child.childLanes)
- ? Yo(e, t, n)
- : (la(Ni, 1 & Ni.current),
- null !== (t = Zo(e, t, n)) ? t.sibling : null);
- la(Ni, 1 & Ni.current);
- break;
- case 19:
- if (((r = 0 != (n & t.childLanes)), 0 != (64 & e.flags))) {
- if (r) return Ko(e, t, n);
- t.flags |= 64;
- }
- if (
- (null !== (a = t.memoizedState) &&
- ((a.rendering = null),
- (a.tail = null),
- (a.lastEffect = null)),
- la(Ni, Ni.current),
- r)
- )
- break;
- return null;
- case 23:
- case 24:
- return (t.lanes = 0), Fo(e, t, n);
- }
- return Zo(e, t, n);
- }
- No = 0 != (16384 & e.flags);
- }
- else No = !1;
- switch (((t.lanes = 0), t.tag)) {
- case 2:
- if (
- ((r = t.type),
- null !== e &&
- ((e.alternate = null), (t.alternate = null), (t.flags |= 2)),
- (e = t.pendingProps),
- (a = fa(t, ua.current)),
- ti(t, n),
- (a = no(null, t, r, e, a, n)),
- (t.flags |= 1),
- "object" == typeof a &&
- null !== a &&
- "function" == typeof a.render &&
- void 0 === a.$$typeof)
- ) {
- if (
- ((t.tag = 1),
- (t.memoizedState = null),
- (t.updateQueue = null),
- pa(r))
- ) {
- var i = !0;
- va(t);
- } else i = !1;
- (t.memoizedState =
- null !== a.state && void 0 !== a.state ? a.state : null),
- ai(t);
- var l = r.getDerivedStateFromProps;
- "function" == typeof l && fi(t, r, l, e),
- (a.updater = pi),
- (t.stateNode = a),
- (a._reactInternals = t),
- vi(t, r, e, n),
- (t = qo(null, t, r, !0, i, n));
- } else (t.tag = 0), jo(null, t, a, n), (t = t.child);
- return t;
- case 16:
- a = t.elementType;
- e: {
- switch (
- (null !== e &&
- ((e.alternate = null), (t.alternate = null), (t.flags |= 2)),
- (e = t.pendingProps),
- (a = (i = a._init)(a._payload)),
- (t.type = a),
- (i = t.tag =
- (function (e) {
- if ("function" == typeof e) return zs(e) ? 1 : 0;
- if (null != e) {
- if ((e = e.$$typeof) === O) return 11;
- if (e === M) return 14;
- }
- return 2;
- })(a)),
- (e = Qa(a, e)),
- i)
- ) {
- case 0:
- t = Bo(null, t, a, e, n);
- break e;
- case 1:
- t = Uo(null, t, a, e, n);
- break e;
- case 11:
- t = Lo(null, t, a, e, n);
- break e;
- case 14:
- t = Do(null, t, a, Qa(a.type, e), r, n);
- break e;
- }
- throw Error(o(306, a, ""));
- }
- return t;
- case 0:
- return (
- (r = t.type),
- (a = t.pendingProps),
- Bo(e, t, r, (a = t.elementType === r ? a : Qa(r, a)), n)
- );
- case 1:
- return (
- (r = t.type),
- (a = t.pendingProps),
- Uo(e, t, r, (a = t.elementType === r ? a : Qa(r, a)), n)
- );
- case 3:
- if ((Vo(t), (r = t.updateQueue), null === e || null === r))
- throw Error(o(282));
- if (
- ((r = t.pendingProps),
- (a = null !== (a = t.memoizedState) ? a.element : null),
- ii(e, t),
- ui(t, r, null, n),
- (r = t.memoizedState.element) === a)
- )
- Vi(), (t = Zo(e, t, n));
- else {
- if (
- ((i = (a = t.stateNode).hydrate) &&
- ((Di = Hr(t.stateNode.containerInfo.firstChild)),
- (Li = t),
- (i = Ii = !0)),
- i)
- ) {
- if (null != (e = a.mutableSourceEagerHydrationData))
- for (a = 0; a < e.length; a += 2)
- ((i = e[a])._workInProgressVersionPrimary = e[a + 1]),
- Hi.push(i);
- for (n = Ti(t, null, r, n), t.child = n; n; )
- (n.flags = (-3 & n.flags) | 1024), (n = n.sibling);
- } else jo(e, t, r, n), Vi();
- t = t.child;
- }
- return t;
- case 5:
- return (
- Ai(t),
- null === e && Bi(t),
- (r = t.type),
- (a = t.pendingProps),
- (i = null !== e ? e.memoizedProps : null),
- (l = a.children),
- Br(r, a) ? (l = null) : null !== i && Br(r, i) && (t.flags |= 16),
- zo(e, t),
- jo(e, t, l, n),
- t.child
- );
- case 6:
- return null === e && Bi(t), null;
- case 13:
- return Yo(e, t, n);
- case 4:
- return (
- Oi(t, t.stateNode.containerInfo),
- (r = t.pendingProps),
- null === e ? (t.child = _i(t, null, r, n)) : jo(e, t, r, n),
- t.child
- );
- case 11:
- return (
- (r = t.type),
- (a = t.pendingProps),
- Lo(e, t, r, (a = t.elementType === r ? a : Qa(r, a)), n)
- );
- case 7:
- return jo(e, t, t.pendingProps, n), t.child;
- case 8:
- case 12:
- return jo(e, t, t.pendingProps.children, n), t.child;
- case 10:
- e: {
- (r = t.type._context),
- (a = t.pendingProps),
- (l = t.memoizedProps),
- (i = a.value);
- var s = t.type._context;
- if ((la(Ya, s._currentValue), (s._currentValue = i), null !== l))
- if (
- ((s = l.value),
- 0 ==
- (i = or(s, i)
- ? 0
- : 0 |
- ("function" == typeof r._calculateChangedBits
- ? r._calculateChangedBits(s, i)
- : 1073741823)))
- ) {
- if (l.children === a.children && !ca.current) {
- t = Zo(e, t, n);
- break e;
- }
- } else
- for (null !== (s = t.child) && (s.return = t); null !== s; ) {
- var u = s.dependencies;
- if (null !== u) {
- l = s.child;
- for (var c = u.firstContext; null !== c; ) {
- if (c.context === r && 0 != (c.observedBits & i)) {
- 1 === s.tag &&
- (((c = oi(-1, n & -n)).tag = 2), li(s, c)),
- (s.lanes |= n),
- null !== (c = s.alternate) && (c.lanes |= n),
- ei(s.return, n),
- (u.lanes |= n);
- break;
- }
- c = c.next;
- }
- } else
- l = 10 === s.tag && s.type === t.type ? null : s.child;
- if (null !== l) l.return = s;
- else
- for (l = s; null !== l; ) {
- if (l === t) {
- l = null;
- break;
- }
- if (null !== (s = l.sibling)) {
- (s.return = l.return), (l = s);
- break;
- }
- l = l.return;
- }
- s = l;
- }
- jo(e, t, a.children, n), (t = t.child);
- }
- return t;
- case 9:
- return (
- (a = t.type),
- (r = (i = t.pendingProps).children),
- ti(t, n),
- (r = r((a = ni(a, i.unstable_observedBits)))),
- (t.flags |= 1),
- jo(e, t, r, n),
- t.child
- );
- case 14:
- return (
- (i = Qa((a = t.type), t.pendingProps)),
- Do(e, t, a, (i = Qa(a.type, i)), r, n)
- );
- case 15:
- return Io(e, t, t.type, t.pendingProps, r, n);
- case 17:
- return (
- (r = t.type),
- (a = t.pendingProps),
- (a = t.elementType === r ? a : Qa(r, a)),
- null !== e &&
- ((e.alternate = null), (t.alternate = null), (t.flags |= 2)),
- (t.tag = 1),
- pa(r) ? ((e = !0), va(t)) : (e = !1),
- ti(t, n),
- mi(t, r, a),
- vi(t, r, a, n),
- qo(null, t, r, !0, e, n)
- );
- case 19:
- return Ko(e, t, n);
- case 23:
- case 24:
- return Fo(e, t, n);
- }
- throw Error(o(156, t.tag));
- }),
- (Ks.prototype.render = function (e) {
- Ys(e, this._internalRoot, null, null);
- }),
- (Ks.prototype.unmount = function () {
- var e = this._internalRoot,
- t = e.containerInfo;
- Ys(null, e, null, function () {
- t[$r] = null;
- });
- }),
- (et = function (e) {
- 13 === e.tag && (ss(e, 4, os()), Js(e, 4));
- }),
- (tt = function (e) {
- 13 === e.tag && (ss(e, 67108864, os()), Js(e, 67108864));
- }),
- (nt = function (e) {
- if (13 === e.tag) {
- var t = os(),
- n = ls(e);
- ss(e, n, t), Js(e, n);
- }
- }),
- (rt = function (e, t) {
- return t();
- }),
- (Ee = function (e, t, n) {
- switch (t) {
- case "input":
- if ((ne(e, n), (t = n.name), "radio" === n.type && null != t)) {
- for (n = e; n.parentNode; ) n = n.parentNode;
- for (
- n = n.querySelectorAll(
- "input[name=" + JSON.stringify("" + t) + '][type="radio"]'
- ),
- t = 0;
- t < n.length;
- t++
- ) {
- var r = n[t];
- if (r !== e && r.form === e.form) {
- var a = ta(r);
- if (!a) throw Error(o(90));
- J(r), ne(r, a);
- }
- }
- }
- break;
- case "textarea":
- ue(e, n);
- break;
- case "select":
- null != (t = n.value) && oe(e, !!n.multiple, t, !1);
- }
- }),
- (Me = hs),
- (Ne = function (e, t, n, r, a) {
- var i = El;
- El |= 4;
- try {
- return qa(98, e.bind(null, t, n, r, a));
- } finally {
- 0 === (El = i) && (Ul(), Ha());
- }
- }),
- (je = function () {
- 0 == (49 & El) &&
- ((function () {
- if (null !== Kl) {
- var e = Kl;
- (Kl = null),
- e.forEach(function (e) {
- (e.expiredLanes |= 24 & e.pendingLanes), cs(e, za());
- });
- }
- Ha();
- })(),
- Os());
- }),
- (Le = function (e, t) {
- var n = El;
- El |= 2;
- try {
- return e(t);
- } finally {
- 0 === (El = n) && (Ul(), Ha());
- }
- });
- var nu = {
- Events: [
- Zr,
- ea,
- ta,
- Re,
- Ae,
- Os,
- {
- current: !1,
- },
- ],
- },
- ru = {
- findFiberByHostInstance: Kr,
- bundleType: 0,
- version: "17.0.2",
- rendererPackageName: "react-dom",
- },
- au = {
- bundleType: ru.bundleType,
- version: ru.version,
- rendererPackageName: ru.rendererPackageName,
- rendererConfig: ru.rendererConfig,
- overrideHookState: null,
- overrideHookStateDeletePath: null,
- overrideHookStateRenamePath: null,
- overrideProps: null,
- overridePropsDeletePath: null,
- overridePropsRenamePath: null,
- setSuspenseHandler: null,
- scheduleUpdate: null,
- currentDispatcherRef: x.ReactCurrentDispatcher,
- findHostInstanceByFiber: function (e) {
- return null === (e = Ke(e)) ? null : e.stateNode;
- },
- findFiberByHostInstance:
- ru.findFiberByHostInstance ||
- function () {
- return null;
- },
- findHostInstancesForRefresh: null,
- scheduleRefresh: null,
- scheduleRoot: null,
- setRefreshHandler: null,
- getCurrentFiber: null,
- };
- if ("undefined" != typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
- var iu = __REACT_DEVTOOLS_GLOBAL_HOOK__;
- if (!iu.isDisabled && iu.supportsFiber)
- try {
- (ba = iu.inject(au)), (wa = iu);
- } catch (me) {}
- }
- (t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = nu),
- (t.createPortal = tu),
- (t.findDOMNode = function (e) {
- if (null == e) return null;
- if (1 === e.nodeType) return e;
- var t = e._reactInternals;
- if (void 0 === t) {
- if ("function" == typeof e.render) throw Error(o(188));
- throw Error(o(268, Object.keys(e)));
- }
- return null === (e = Ke(t)) ? null : e.stateNode;
- }),
- (t.flushSync = function (e, t) {
- var n = El;
- if (0 != (48 & n)) return e(t);
- El |= 1;
- try {
- if (e) return qa(99, e.bind(null, t));
- } finally {
- (El = n), Ha();
- }
- }),
- (t.hydrate = function (e, t, n) {
- if (!Zs(t)) throw Error(o(200));
- return eu(null, e, t, !0, n);
- }),
- (t.render = function (e, t, n) {
- if (!Zs(t)) throw Error(o(200));
- return eu(null, e, t, !1, n);
- }),
- (t.unmountComponentAtNode = function (e) {
- if (!Zs(e)) throw Error(o(40));
- return (
- !!e._reactRootContainer &&
- (ms(function () {
- eu(null, null, e, !1, function () {
- (e._reactRootContainer = null), (e[$r] = null);
- });
- }),
- !0)
- );
- }),
- (t.unstable_batchedUpdates = hs),
- (t.unstable_createPortal = function (e, t) {
- return tu(
- e,
- t,
- 2 < arguments.length && void 0 !== arguments[2]
- ? arguments[2]
- : null
- );
- }),
- (t.unstable_renderSubtreeIntoContainer = function (e, t, n, r) {
- if (!Zs(n)) throw Error(o(200));
- if (null == e || void 0 === e._reactInternals) throw Error(o(38));
- return eu(e, t, n, !1, r);
- }),
- (t.version = "17.0.2");
- },
- 116: (e, t, n) => {
- "use strict";
- !(function e() {
- if (
- "undefined" != typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
- "function" == typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE
- )
- try {
- __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e);
- } catch (e) {
- console.error(e);
- }
- })(),
- (e.exports = n(748));
- },
- 295: (e, t, n) => {
- "use strict";
- var r = (function () {
- function e(e, t) {
- for (var n = 0; n < t.length; n++) {
- var r = t[n];
- (r.enumerable = r.enumerable || !1),
- (r.configurable = !0),
- "value" in r && (r.writable = !0),
- Object.defineProperty(e, r.key, r);
- }
- }
- return function (t, n, r) {
- return n && e(t.prototype, n), r && e(t, r), t;
- };
- })(),
- a = n(466),
- i = d(a),
- o = d(n(74)),
- l = n(532),
- s = d(n(717)),
- u = d(n(398)),
- c = d(n(328));
- function d(e) {
- return e && e.__esModule
- ? e
- : {
- default: e,
- };
- }
- var f = "data-lazyload-listened",
- p = [],
- h = [],
- m = !1;
- try {
- var g = Object.defineProperty({}, "passive", {
- get: function () {
- m = !0;
- },
- });
- window.addEventListener("test", null, g);
- } catch (e) {}
- var v = !!m && {
- capture: !1,
- passive: !0,
- },
- y = function (e) {
- var t = e.ref;
- if (t instanceof HTMLElement) {
- var n = (0, s.default)(t);
- (
- e.props.overflow &&
- n !== t.ownerDocument &&
- n !== document &&
- n !== document.documentElement
- ? (function (e, t) {
- var n = e.ref,
- r = void 0,
- a = void 0,
- i = void 0,
- o = void 0;
- try {
- var l = t.getBoundingClientRect();
- (r = l.top), (a = l.left), (i = l.height), (o = l.width);
- } catch (e) {
- (r = 0), (a = 0), (i = 0), (o = 0);
- }
- var s =
- window.innerHeight ||
- document.documentElement.clientHeight,
- u =
- window.innerWidth ||
- document.documentElement.clientWidth,
- c = Math.max(r, 0),
- d = Math.max(a, 0),
- f = Math.min(s, r + i) - c,
- p = Math.min(u, a + o) - d,
- h = void 0,
- m = void 0,
- g = void 0,
- v = void 0;
- try {
- var y = n.getBoundingClientRect();
- (h = y.top), (m = y.left), (g = y.height), (v = y.width);
- } catch (e) {
- (h = 0), (m = 0), (g = 0), (v = 0);
- }
- var b = h - c,
- w = m - d,
- x = Array.isArray(e.props.offset)
- ? e.props.offset
- : [e.props.offset, e.props.offset];
- return (
- b - x[0] <= f &&
- b + g + x[1] >= 0 &&
- w - x[0] <= p &&
- w + v + x[1] >= 0
- );
- })(e, n)
- : (function (e) {
- var t = e.ref;
- if (
- !(
- t.offsetWidth ||
- t.offsetHeight ||
- t.getClientRects().length
- )
- )
- return !1;
- var n = void 0,
- r = void 0;
- try {
- var a = t.getBoundingClientRect();
- (n = a.top), (r = a.height);
- } catch (e) {
- (n = 0), (r = 0);
- }
- var i =
- window.innerHeight ||
- document.documentElement.clientHeight,
- o = Array.isArray(e.props.offset)
- ? e.props.offset
- : [e.props.offset, e.props.offset];
- return n - o[0] <= i && n + r + o[1] >= 0;
- })(e)
- )
- ? e.visible ||
- (e.props.once && h.push(e), (e.visible = !0), e.forceUpdate())
- : (e.props.once && e.visible) ||
- ((e.visible = !1),
- e.props.unmountIfInvisible && e.forceUpdate());
- }
- },
- b = function () {
- for (var e = 0; e < p.length; ++e) {
- var t = p[e];
- y(t);
- }
- h.forEach(function (e) {
- var t = p.indexOf(e);
- -1 !== t && p.splice(t, 1);
- }),
- (h = []);
- },
- w = void 0,
- x = null,
- _ = (function (e) {
- function t(e) {
- !(function (e, t) {
- if (!(e instanceof t))
- throw new TypeError("Cannot call a class as a function");
- })(this, t);
- var n = (function (e, t) {
- if (!e)
- throw new ReferenceError(
- "this hasn't been initialised - super() hasn't been called"
- );
- return !t || ("object" != typeof t && "function" != typeof t)
- ? e
- : t;
- })(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e));
- return (n.visible = !1), (n.setRef = n.setRef.bind(n)), n;
- }
- return (
- (function (e, t) {
- if ("function" != typeof t && null !== t)
- throw new TypeError(
- "Super expression must either be null or a function, not " +
- typeof t
- );
- (e.prototype = Object.create(t && t.prototype, {
- constructor: {
- value: e,
- enumerable: !1,
- writable: !0,
- configurable: !0,
- },
- })),
- t &&
- (Object.setPrototypeOf
- ? Object.setPrototypeOf(e, t)
- : (e.__proto__ = t));
- })(t, e),
- r(t, [
- {
- key: "componentDidMount",
- value: function () {
- var e = window,
- t = this.props.scrollContainer;
- t &&
- "string" == typeof t &&
- (e = e.document.querySelector(t));
- var n =
- (void 0 !== this.props.debounce && "throttle" === w) ||
- ("debounce" === w && void 0 === this.props.debounce);
- if (
- (n &&
- ((0, l.off)(e, "scroll", x, v),
- (0, l.off)(window, "resize", x, v),
- (x = null)),
- x ||
- (void 0 !== this.props.debounce
- ? ((x = (0, u.default)(
- b,
- "number" == typeof this.props.debounce
- ? this.props.debounce
- : 300
- )),
- (w = "debounce"))
- : void 0 !== this.props.throttle
- ? ((x = (0, c.default)(
- b,
- "number" == typeof this.props.throttle
- ? this.props.throttle
- : 300
- )),
- (w = "throttle"))
- : (x = b)),
- this.props.overflow)
- ) {
- var r = (0, s.default)(this.ref);
- if (r && "function" == typeof r.getAttribute) {
- var a = +r.getAttribute(f) + 1;
- 1 === a && r.addEventListener("scroll", x, v),
- r.setAttribute(f, a);
- }
- } else if (0 === p.length || n) {
- var i = this.props,
- o = i.scroll,
- d = i.resize;
- o && (0, l.on)(e, "scroll", x, v),
- d && (0, l.on)(window, "resize", x, v);
- }
- p.push(this), y(this);
- },
- },
- {
- key: "shouldComponentUpdate",
- value: function () {
- return this.visible;
- },
- },
- {
- key: "componentWillUnmount",
- value: function () {
- if (this.props.overflow) {
- var e = (0, s.default)(this.ref);
- if (e && "function" == typeof e.getAttribute) {
- var t = +e.getAttribute(f) - 1;
- 0 === t
- ? (e.removeEventListener("scroll", x, v),
- e.removeAttribute(f))
- : e.setAttribute(f, t);
- }
- }
- var n = p.indexOf(this);
- -1 !== n && p.splice(n, 1),
- 0 === p.length &&
- "undefined" != typeof window &&
- ((0, l.off)(window, "resize", x, v),
- (0, l.off)(window, "scroll", x, v));
- },
- },
- {
- key: "setRef",
- value: function (e) {
- e && (this.ref = e);
- },
- },
- {
- key: "render",
- value: function () {
- var e = this.props,
- t = e.height,
- n = e.children,
- r = e.placeholder,
- a = e.className,
- o = e.classNamePrefix,
- l = e.style;
- return i.default.createElement(
- "div",
- {
- className: o + "-wrapper " + a,
- ref: this.setRef,
- style: l,
- },
- this.visible
- ? n
- : r ||
- i.default.createElement("div", {
- style: {
- height: t,
- },
- className: o + "-placeholder",
- })
- );
- },
- },
- ]),
- t
- );
- })(a.Component);
- (_.propTypes = {
- className: o.default.string,
- classNamePrefix: o.default.string,
- once: o.default.bool,
- height: o.default.oneOfType([o.default.number, o.default.string]),
- offset: o.default.oneOfType([
- o.default.number,
- o.default.arrayOf(o.default.number),
- ]),
- overflow: o.default.bool,
- resize: o.default.bool,
- scroll: o.default.bool,
- children: o.default.node,
- throttle: o.default.oneOfType([o.default.number, o.default.bool]),
- debounce: o.default.oneOfType([o.default.number, o.default.bool]),
- placeholder: o.default.node,
- scrollContainer: o.default.oneOfType([
- o.default.string,
- o.default.object,
- ]),
- unmountIfInvisible: o.default.bool,
- style: o.default.object,
- }),
- (_.defaultProps = {
- className: "",
- classNamePrefix: "lazyload",
- once: !1,
- offset: 0,
- overflow: !1,
- resize: !1,
- scroll: !0,
- unmountIfInvisible: !1,
- });
- t.ZP = _;
- },
- 398: (e, t) => {
- "use strict";
- Object.defineProperty(t, "__esModule", {
- value: !0,
- }),
- (t.default = function (e, t, n) {
- var r = void 0,
- a = void 0,
- i = void 0,
- o = void 0,
- l = void 0,
- s = function s() {
- var u = +new Date() - o;
- u < t && u >= 0
- ? (r = setTimeout(s, t - u))
- : ((r = null),
- n || ((l = e.apply(i, a)), r || ((i = null), (a = null))));
- };
- return function () {
- (i = this), (a = arguments), (o = +new Date());
- var u = n && !r;
- return (
- r || (r = setTimeout(s, t)),
- u && ((l = e.apply(i, a)), (i = null), (a = null)),
- l
- );
- };
- });
- },
- 532: (e, t) => {
- "use strict";
- Object.defineProperty(t, "__esModule", {
- value: !0,
- }),
- (t.on = function (e, t, n, r) {
- (r = r || !1),
- e.addEventListener
- ? e.addEventListener(t, n, r)
- : e.attachEvent &&
- e.attachEvent("on" + t, function (t) {
- n.call(e, t || window.event);
- });
- }),
- (t.off = function (e, t, n, r) {
- (r = r || !1),
- e.removeEventListener
- ? e.removeEventListener(t, n, r)
- : e.detachEvent && e.detachEvent("on" + t, n);
- });
- },
- 717: (e, t) => {
- "use strict";
- Object.defineProperty(t, "__esModule", {
- value: !0,
- }),
- (t.default = function (e) {
- if (!(e instanceof HTMLElement)) return document.documentElement;
- for (
- var t = "absolute" === e.style.position, n = /(scroll|auto)/, r = e;
- r;
-
- ) {
- if (!r.parentNode)
- return e.ownerDocument || document.documentElement;
- var a = window.getComputedStyle(r),
- i = a.position,
- o = a.overflow,
- l = a["overflow-x"],
- s = a["overflow-y"];
- if ("static" === i && t) r = r.parentNode;
- else {
- if (n.test(o) && n.test(l) && n.test(s)) return r;
- r = r.parentNode;
- }
- }
- return (
- e.ownerDocument || e.documentElement || document.documentElement
- );
- });
- },
- 328: (e, t) => {
- "use strict";
- Object.defineProperty(t, "__esModule", {
- value: !0,
- }),
- (t.default = function (e, t, n) {
- var r, a;
- return (
- t || (t = 250),
- function () {
- var i = n || this,
- o = +new Date(),
- l = arguments;
- r && o < r + t
- ? (clearTimeout(a),
- (a = setTimeout(function () {
- (r = o), e.apply(i, l);
- }, t)))
- : ((r = o), e.apply(i, l));
- }
- );
- });
- },
- 600: (e, t, n) => {
- "use strict";
- function r() {
- var e = this.constructor.getDerivedStateFromProps(
- this.props,
- this.state
- );
- null != e && this.setState(e);
- }
- function a(e) {
- this.setState(
- function (t) {
- var n = this.constructor.getDerivedStateFromProps(e, t);
- return null != n ? n : null;
- }.bind(this)
- );
- }
- function i(e, t) {
- try {
- var n = this.props,
- r = this.state;
- (this.props = e),
- (this.state = t),
- (this.__reactInternalSnapshotFlag = !0),
- (this.__reactInternalSnapshot = this.getSnapshotBeforeUpdate(n, r));
- } finally {
- (this.props = n), (this.state = r);
- }
- }
- function o(e) {
- var t = e.prototype;
- if (!t || !t.isReactComponent)
- throw new Error("Can only polyfill class components");
- if (
- "function" != typeof e.getDerivedStateFromProps &&
- "function" != typeof t.getSnapshotBeforeUpdate
- )
- return e;
- var n = null,
- o = null,
- l = null;
- if (
- ("function" == typeof t.componentWillMount
- ? (n = "componentWillMount")
- : "function" == typeof t.UNSAFE_componentWillMount &&
- (n = "UNSAFE_componentWillMount"),
- "function" == typeof t.componentWillReceiveProps
- ? (o = "componentWillReceiveProps")
- : "function" == typeof t.UNSAFE_componentWillReceiveProps &&
- (o = "UNSAFE_componentWillReceiveProps"),
- "function" == typeof t.componentWillUpdate
- ? (l = "componentWillUpdate")
- : "function" == typeof t.UNSAFE_componentWillUpdate &&
- (l = "UNSAFE_componentWillUpdate"),
- null !== n || null !== o || null !== l)
- ) {
- var s = e.displayName || e.name,
- u =
- "function" == typeof e.getDerivedStateFromProps
- ? "getDerivedStateFromProps()"
- : "getSnapshotBeforeUpdate()";
- throw Error(
- "Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n" +
- s +
- " uses " +
- u +
- " but also contains the following legacy lifecycles:" +
- (null !== n ? "\n " + n : "") +
- (null !== o ? "\n " + o : "") +
- (null !== l ? "\n " + l : "") +
- "\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks"
- );
- }
- if (
- ("function" == typeof e.getDerivedStateFromProps &&
- ((t.componentWillMount = r), (t.componentWillReceiveProps = a)),
- "function" == typeof t.getSnapshotBeforeUpdate)
- ) {
- if ("function" != typeof t.componentDidUpdate)
- throw new Error(
- "Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype"
- );
- t.componentWillUpdate = i;
- var c = t.componentDidUpdate;
- t.componentDidUpdate = function (e, t, n) {
- var r = this.__reactInternalSnapshotFlag
- ? this.__reactInternalSnapshot
- : n;
- c.call(this, e, t, r);
- };
- }
- return e;
- }
- n.r(t),
- n.d(t, {
- polyfill: () => o,
- }),
- (r.__suppressDeprecationWarning = !0),
- (a.__suppressDeprecationWarning = !0),
- (i.__suppressDeprecationWarning = !0);
- },
- 225: (e, t, n) => {
- "use strict";
- Object.defineProperty(t, "__esModule", {
- value: !0,
- }),
- (t.bodyOpenClassName = t.portalClassName = void 0);
- var r =
- Object.assign ||
- function (e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = arguments[t];
- for (var r in n)
- Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
- }
- return e;
- },
- a = (function () {
- function e(e, t) {
- for (var n = 0; n < t.length; n++) {
- var r = t[n];
- (r.enumerable = r.enumerable || !1),
- (r.configurable = !0),
- "value" in r && (r.writable = !0),
- Object.defineProperty(e, r.key, r);
- }
- }
- return function (t, n, r) {
- return n && e(t.prototype, n), r && e(t, r), t;
- };
- })(),
- i = n(466),
- o = h(i),
- l = h(n(116)),
- s = h(n(74)),
- u = h(n(688)),
- c = (function (e) {
- if (e && e.__esModule) return e;
- var t = {};
- if (null != e)
- for (var n in e)
- Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]);
- return (t.default = e), t;
- })(n(416)),
- d = n(792),
- f = h(d),
- p = n(600);
- function h(e) {
- return e && e.__esModule
- ? e
- : {
- default: e,
- };
- }
- function m(e, t) {
- if (!(e instanceof t))
- throw new TypeError("Cannot call a class as a function");
- }
- function g(e, t) {
- if (!e)
- throw new ReferenceError(
- "this hasn't been initialised - super() hasn't been called"
- );
- return !t || ("object" != typeof t && "function" != typeof t) ? e : t;
- }
- var v = (t.portalClassName = "ReactModalPortal"),
- y = (t.bodyOpenClassName = "ReactModal__Body--open"),
- b = d.canUseDOM && void 0 !== l.default.createPortal,
- w = function (e) {
- return document.createElement(e);
- },
- x = function () {
- return b
- ? l.default.createPortal
- : l.default.unstable_renderSubtreeIntoContainer;
- };
- function _(e) {
- return e();
- }
- var T = (function (e) {
- function t() {
- var e, n, a;
- m(this, t);
- for (var i = arguments.length, s = Array(i), c = 0; c < i; c++)
- s[c] = arguments[c];
- return (
- (n = a =
- g(
- this,
- (e = t.__proto__ || Object.getPrototypeOf(t)).call.apply(
- e,
- [this].concat(s)
- )
- )),
- (a.removePortal = function () {
- !b && l.default.unmountComponentAtNode(a.node);
- var e = _(a.props.parentSelector);
- e && e.contains(a.node)
- ? e.removeChild(a.node)
- : console.warn(
- 'React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.'
- );
- }),
- (a.portalRef = function (e) {
- a.portal = e;
- }),
- (a.renderPortal = function (e) {
- var n = x()(
- a,
- o.default.createElement(
- u.default,
- r(
- {
- defaultStyles: t.defaultStyles,
- },
- e
- )
- ),
- a.node
- );
- a.portalRef(n);
- }),
- g(a, n)
- );
- }
- return (
- (function (e, t) {
- if ("function" != typeof t && null !== t)
- throw new TypeError(
- "Super expression must either be null or a function, not " +
- typeof t
- );
- (e.prototype = Object.create(t && t.prototype, {
- constructor: {
- value: e,
- enumerable: !1,
- writable: !0,
- configurable: !0,
- },
- })),
- t &&
- (Object.setPrototypeOf
- ? Object.setPrototypeOf(e, t)
- : (e.__proto__ = t));
- })(t, e),
- a(
- t,
- [
- {
- key: "componentDidMount",
- value: function () {
- d.canUseDOM &&
- (b || (this.node = w("div")),
- (this.node.className = this.props.portalClassName),
- _(this.props.parentSelector).appendChild(this.node),
- !b && this.renderPortal(this.props));
- },
- },
- {
- key: "getSnapshotBeforeUpdate",
- value: function (e) {
- return {
- prevParent: _(e.parentSelector),
- nextParent: _(this.props.parentSelector),
- };
- },
- },
- {
- key: "componentDidUpdate",
- value: function (e, t, n) {
- if (d.canUseDOM) {
- var r = this.props,
- a = r.isOpen,
- i = r.portalClassName;
- e.portalClassName !== i && (this.node.className = i);
- var o = n.prevParent,
- l = n.nextParent;
- l !== o &&
- (o.removeChild(this.node), l.appendChild(this.node)),
- (e.isOpen || a) && !b && this.renderPortal(this.props);
- }
- },
- },
- {
- key: "componentWillUnmount",
- value: function () {
- if (d.canUseDOM && this.node && this.portal) {
- var e = this.portal.state,
- t = Date.now(),
- n =
- e.isOpen &&
- this.props.closeTimeoutMS &&
- (e.closesAt || t + this.props.closeTimeoutMS);
- n
- ? (e.beforeClose || this.portal.closeWithTimeout(),
- setTimeout(this.removePortal, n - t))
- : this.removePortal();
- }
- },
- },
- {
- key: "render",
- value: function () {
- return d.canUseDOM && b
- ? (!this.node && b && (this.node = w("div")),
- x()(
- o.default.createElement(
- u.default,
- r(
- {
- ref: this.portalRef,
- defaultStyles: t.defaultStyles,
- },
- this.props
- )
- ),
- this.node
- ))
- : null;
- },
- },
- ],
- [
- {
- key: "setAppElement",
- value: function (e) {
- c.setElement(e);
- },
- },
- ]
- ),
- t
- );
- })(i.Component);
- (T.propTypes = {
- isOpen: s.default.bool.isRequired,
- style: s.default.shape({
- content: s.default.object,
- overlay: s.default.object,
- }),
- portalClassName: s.default.string,
- bodyOpenClassName: s.default.string,
- htmlOpenClassName: s.default.string,
- className: s.default.oneOfType([
- s.default.string,
- s.default.shape({
- base: s.default.string.isRequired,
- afterOpen: s.default.string.isRequired,
- beforeClose: s.default.string.isRequired,
- }),
- ]),
- overlayClassName: s.default.oneOfType([
- s.default.string,
- s.default.shape({
- base: s.default.string.isRequired,
- afterOpen: s.default.string.isRequired,
- beforeClose: s.default.string.isRequired,
- }),
- ]),
- appElement: s.default.oneOfType([
- s.default.instanceOf(f.default),
- s.default.instanceOf(d.SafeHTMLCollection),
- s.default.instanceOf(d.SafeNodeList),
- s.default.arrayOf(s.default.instanceOf(f.default)),
- ]),
- onAfterOpen: s.default.func,
- onRequestClose: s.default.func,
- closeTimeoutMS: s.default.number,
- ariaHideApp: s.default.bool,
- shouldFocusAfterRender: s.default.bool,
- shouldCloseOnOverlayClick: s.default.bool,
- shouldReturnFocusAfterClose: s.default.bool,
- preventScroll: s.default.bool,
- parentSelector: s.default.func,
- aria: s.default.object,
- data: s.default.object,
- role: s.default.string,
- contentLabel: s.default.string,
- shouldCloseOnEsc: s.default.bool,
- overlayRef: s.default.func,
- contentRef: s.default.func,
- id: s.default.string,
- overlayElement: s.default.func,
- contentElement: s.default.func,
- }),
- (T.defaultProps = {
- isOpen: !1,
- portalClassName: v,
- bodyOpenClassName: y,
- role: "dialog",
- ariaHideApp: !0,
- closeTimeoutMS: 0,
- shouldFocusAfterRender: !0,
- shouldCloseOnEsc: !0,
- shouldCloseOnOverlayClick: !0,
- shouldReturnFocusAfterClose: !0,
- preventScroll: !1,
- parentSelector: function () {
- return document.body;
- },
- overlayElement: function (e, t) {
- return o.default.createElement("div", e, t);
- },
- contentElement: function (e, t) {
- return o.default.createElement("div", e, t);
- },
- }),
- (T.defaultStyles = {
- overlay: {
- position: "fixed",
- top: 0,
- left: 0,
- right: 0,
- bottom: 0,
- backgroundColor: "rgba(255, 255, 255, 0.75)",
- },
- content: {
- position: "absolute",
- top: "40px",
- left: "40px",
- right: "40px",
- bottom: "40px",
- border: "1px solid #ccc",
- background: "#fff",
- overflow: "auto",
- WebkitOverflowScrolling: "touch",
- borderRadius: "4px",
- outline: "none",
- padding: "20px",
- },
- }),
- (0, p.polyfill)(T),
- (t.default = T);
- },
- 688: (e, t, n) => {
- "use strict";
- Object.defineProperty(t, "__esModule", {
- value: !0,
- });
- var r =
- Object.assign ||
- function (e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = arguments[t];
- for (var r in n)
- Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
- }
- return e;
- },
- a =
- "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
- ? function (e) {
- return typeof e;
- }
- : function (e) {
- return e &&
- "function" == typeof Symbol &&
- e.constructor === Symbol &&
- e !== Symbol.prototype
- ? "symbol"
- : typeof e;
- },
- i = (function () {
- function e(e, t) {
- for (var n = 0; n < t.length; n++) {
- var r = t[n];
- (r.enumerable = r.enumerable || !1),
- (r.configurable = !0),
- "value" in r && (r.writable = !0),
- Object.defineProperty(e, r.key, r);
- }
- }
- return function (t, n, r) {
- return n && e(t.prototype, n), r && e(t, r), t;
- };
- })(),
- o = n(466),
- l = g(n(74)),
- s = m(n(247)),
- u = g(n(809)),
- c = m(n(416)),
- d = m(n(895)),
- f = n(792),
- p = g(f),
- h = g(n(462));
- function m(e) {
- if (e && e.__esModule) return e;
- var t = {};
- if (null != e)
- for (var n in e)
- Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]);
- return (t.default = e), t;
- }
- function g(e) {
- return e && e.__esModule
- ? e
- : {
- default: e,
- };
- }
- n(16);
- var v = {
- overlay: "ReactModal__Overlay",
- content: "ReactModal__Content",
- },
- y = 0,
- b = (function (e) {
- function t(e) {
- !(function (e, t) {
- if (!(e instanceof t))
- throw new TypeError("Cannot call a class as a function");
- })(this, t);
- var n = (function (e, t) {
- if (!e)
- throw new ReferenceError(
- "this hasn't been initialised - super() hasn't been called"
- );
- return !t || ("object" != typeof t && "function" != typeof t)
- ? e
- : t;
- })(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e));
- return (
- (n.setOverlayRef = function (e) {
- (n.overlay = e), n.props.overlayRef && n.props.overlayRef(e);
- }),
- (n.setContentRef = function (e) {
- (n.content = e), n.props.contentRef && n.props.contentRef(e);
- }),
- (n.afterClose = function () {
- var e = n.props,
- t = e.appElement,
- r = e.ariaHideApp,
- a = e.htmlOpenClassName,
- i = e.bodyOpenClassName;
- i && d.remove(document.body, i),
- a && d.remove(document.getElementsByTagName("html")[0], a),
- r && y > 0 && 0 == (y -= 1) && c.show(t),
- n.props.shouldFocusAfterRender &&
- (n.props.shouldReturnFocusAfterClose
- ? (s.returnFocus(n.props.preventScroll),
- s.teardownScopedFocus())
- : s.popWithoutFocus()),
- n.props.onAfterClose && n.props.onAfterClose(),
- h.default.deregister(n);
- }),
- (n.open = function () {
- n.beforeOpen(),
- n.state.afterOpen && n.state.beforeClose
- ? (clearTimeout(n.closeTimer),
- n.setState({
- beforeClose: !1,
- }))
- : (n.props.shouldFocusAfterRender &&
- (s.setupScopedFocus(n.node), s.markForFocusLater()),
- n.setState(
- {
- isOpen: !0,
- },
- function () {
- requestAnimationFrame(function () {
- n.setState({
- afterOpen: !0,
- }),
- n.props.isOpen &&
- n.props.onAfterOpen &&
- n.props.onAfterOpen({
- overlayEl: n.overlay,
- contentEl: n.content,
- });
- });
- }
- ));
- }),
- (n.close = function () {
- n.props.closeTimeoutMS > 0
- ? n.closeWithTimeout()
- : n.closeWithoutTimeout();
- }),
- (n.focusContent = function () {
- return (
- n.content &&
- !n.contentHasFocus() &&
- n.content.focus({
- preventScroll: !0,
- })
- );
- }),
- (n.closeWithTimeout = function () {
- var e = Date.now() + n.props.closeTimeoutMS;
- n.setState(
- {
- beforeClose: !0,
- closesAt: e,
- },
- function () {
- n.closeTimer = setTimeout(
- n.closeWithoutTimeout,
- n.state.closesAt - Date.now()
- );
- }
- );
- }),
- (n.closeWithoutTimeout = function () {
- n.setState(
- {
- beforeClose: !1,
- isOpen: !1,
- afterOpen: !1,
- closesAt: null,
- },
- n.afterClose
- );
- }),
- (n.handleKeyDown = function (e) {
- 9 === e.keyCode && (0, u.default)(n.content, e),
- n.props.shouldCloseOnEsc &&
- 27 === e.keyCode &&
- (e.stopPropagation(), n.requestClose(e));
- }),
- (n.handleOverlayOnClick = function (e) {
- null === n.shouldClose && (n.shouldClose = !0),
- n.shouldClose &&
- n.props.shouldCloseOnOverlayClick &&
- (n.ownerHandlesClose()
- ? n.requestClose(e)
- : n.focusContent()),
- (n.shouldClose = null);
- }),
- (n.handleContentOnMouseUp = function () {
- n.shouldClose = !1;
- }),
- (n.handleOverlayOnMouseDown = function (e) {
- n.props.shouldCloseOnOverlayClick ||
- e.target != n.overlay ||
- e.preventDefault();
- }),
- (n.handleContentOnClick = function () {
- n.shouldClose = !1;
- }),
- (n.handleContentOnMouseDown = function () {
- n.shouldClose = !1;
- }),
- (n.requestClose = function (e) {
- return n.ownerHandlesClose() && n.props.onRequestClose(e);
- }),
- (n.ownerHandlesClose = function () {
- return n.props.onRequestClose;
- }),
- (n.shouldBeClosed = function () {
- return !n.state.isOpen && !n.state.beforeClose;
- }),
- (n.contentHasFocus = function () {
- return (
- document.activeElement === n.content ||
- n.content.contains(document.activeElement)
- );
- }),
- (n.buildClassName = function (e, t) {
- var r =
- "object" === (void 0 === t ? "undefined" : a(t))
- ? t
- : {
- base: v[e],
- afterOpen: v[e] + "--after-open",
- beforeClose: v[e] + "--before-close",
- },
- i = r.base;
- return (
- n.state.afterOpen && (i = i + " " + r.afterOpen),
- n.state.beforeClose && (i = i + " " + r.beforeClose),
- "string" == typeof t && t ? i + " " + t : i
- );
- }),
- (n.attributesFromObject = function (e, t) {
- return Object.keys(t).reduce(function (n, r) {
- return (n[e + "-" + r] = t[r]), n;
- }, {});
- }),
- (n.state = {
- afterOpen: !1,
- beforeClose: !1,
- }),
- (n.shouldClose = null),
- (n.moveFromContentToOverlay = null),
- n
- );
- }
- return (
- (function (e, t) {
- if ("function" != typeof t && null !== t)
- throw new TypeError(
- "Super expression must either be null or a function, not " +
- typeof t
- );
- (e.prototype = Object.create(t && t.prototype, {
- constructor: {
- value: e,
- enumerable: !1,
- writable: !0,
- configurable: !0,
- },
- })),
- t &&
- (Object.setPrototypeOf
- ? Object.setPrototypeOf(e, t)
- : (e.__proto__ = t));
- })(t, e),
- i(t, [
- {
- key: "componentDidMount",
- value: function () {
- this.props.isOpen && this.open();
- },
- },
- {
- key: "componentDidUpdate",
- value: function (e, t) {
- this.props.isOpen && !e.isOpen
- ? this.open()
- : !this.props.isOpen && e.isOpen && this.close(),
- this.props.shouldFocusAfterRender &&
- this.state.isOpen &&
- !t.isOpen &&
- this.focusContent();
- },
- },
- {
- key: "componentWillUnmount",
- value: function () {
- this.state.isOpen && this.afterClose(),
- clearTimeout(this.closeTimer);
- },
- },
- {
- key: "beforeOpen",
- value: function () {
- var e = this.props,
- t = e.appElement,
- n = e.ariaHideApp,
- r = e.htmlOpenClassName,
- a = e.bodyOpenClassName;
- a && d.add(document.body, a),
- r && d.add(document.getElementsByTagName("html")[0], r),
- n && ((y += 1), c.hide(t)),
- h.default.register(this);
- },
- },
- {
- key: "render",
- value: function () {
- var e = this.props,
- t = e.id,
- n = e.className,
- a = e.overlayClassName,
- i = e.defaultStyles,
- o = e.children,
- l = n ? {} : i.content,
- s = a ? {} : i.overlay;
- if (this.shouldBeClosed()) return null;
- var u = {
- ref: this.setOverlayRef,
- className: this.buildClassName("overlay", a),
- style: r({}, s, this.props.style.overlay),
- onClick: this.handleOverlayOnClick,
- onMouseDown: this.handleOverlayOnMouseDown,
- },
- c = r(
- {
- id: t,
- ref: this.setContentRef,
- style: r({}, l, this.props.style.content),
- className: this.buildClassName("content", n),
- tabIndex: "-1",
- onKeyDown: this.handleKeyDown,
- onMouseDown: this.handleContentOnMouseDown,
- onMouseUp: this.handleContentOnMouseUp,
- onClick: this.handleContentOnClick,
- role: this.props.role,
- "aria-label": this.props.contentLabel,
- },
- this.attributesFromObject(
- "aria",
- r(
- {
- modal: !0,
- },
- this.props.aria
- )
- ),
- this.attributesFromObject("data", this.props.data || {}),
- {
- "data-testid": this.props.testId,
- }
- ),
- d = this.props.contentElement(c, o);
- return this.props.overlayElement(u, d);
- },
- },
- ]),
- t
- );
- })(o.Component);
- (b.defaultProps = {
- style: {
- overlay: {},
- content: {},
- },
- defaultStyles: {},
- }),
- (b.propTypes = {
- isOpen: l.default.bool.isRequired,
- defaultStyles: l.default.shape({
- content: l.default.object,
- overlay: l.default.object,
- }),
- style: l.default.shape({
- content: l.default.object,
- overlay: l.default.object,
- }),
- className: l.default.oneOfType([l.default.string, l.default.object]),
- overlayClassName: l.default.oneOfType([
- l.default.string,
- l.default.object,
- ]),
- bodyOpenClassName: l.default.string,
- htmlOpenClassName: l.default.string,
- ariaHideApp: l.default.bool,
- appElement: l.default.oneOfType([
- l.default.instanceOf(p.default),
- l.default.instanceOf(f.SafeHTMLCollection),
- l.default.instanceOf(f.SafeNodeList),
- l.default.arrayOf(l.default.instanceOf(p.default)),
- ]),
- onAfterOpen: l.default.func,
- onAfterClose: l.default.func,
- onRequestClose: l.default.func,
- closeTimeoutMS: l.default.number,
- shouldFocusAfterRender: l.default.bool,
- shouldCloseOnOverlayClick: l.default.bool,
- shouldReturnFocusAfterClose: l.default.bool,
- preventScroll: l.default.bool,
- role: l.default.string,
- contentLabel: l.default.string,
- aria: l.default.object,
- data: l.default.object,
- children: l.default.node,
- shouldCloseOnEsc: l.default.bool,
- overlayRef: l.default.func,
- contentRef: l.default.func,
- id: l.default.string,
- overlayElement: l.default.func,
- contentElement: l.default.func,
- testId: l.default.string,
- }),
- (t.default = b),
- (e.exports = t.default);
- },
- 416: (e, t, n) => {
- "use strict";
- Object.defineProperty(t, "__esModule", {
- value: !0,
- }),
- (t.resetState = function () {
- o &&
- (o.removeAttribute
- ? o.removeAttribute("aria-hidden")
- : null != o.length
- ? o.forEach(function (e) {
- return e.removeAttribute("aria-hidden");
- })
- : document.querySelectorAll(o).forEach(function (e) {
- return e.removeAttribute("aria-hidden");
- })),
- (o = null);
- }),
- (t.log = function () {}),
- (t.assertNodeList = l),
- (t.setElement = function (e) {
- var t = e;
- if ("string" == typeof t && i.canUseDOM) {
- var n = document.querySelectorAll(t);
- l(n, t), (t = n);
- }
- return (o = t || o);
- }),
- (t.validateElement = s),
- (t.hide = function (e) {
- var t = !0,
- n = !1,
- r = void 0;
- try {
- for (
- var a, i = s(e)[Symbol.iterator]();
- !(t = (a = i.next()).done);
- t = !0
- )
- a.value.setAttribute("aria-hidden", "true");
- } catch (e) {
- (n = !0), (r = e);
- } finally {
- try {
- !t && i.return && i.return();
- } finally {
- if (n) throw r;
- }
- }
- }),
- (t.show = function (e) {
- var t = !0,
- n = !1,
- r = void 0;
- try {
- for (
- var a, i = s(e)[Symbol.iterator]();
- !(t = (a = i.next()).done);
- t = !0
- )
- a.value.removeAttribute("aria-hidden");
- } catch (e) {
- (n = !0), (r = e);
- } finally {
- try {
- !t && i.return && i.return();
- } finally {
- if (n) throw r;
- }
- }
- }),
- (t.documentNotReadyOrSSRTesting = function () {
- o = null;
- });
- var r,
- a =
- (r = n(365)) && r.__esModule
- ? r
- : {
- default: r,
- },
- i = n(792),
- o = null;
- function l(e, t) {
- if (!e || !e.length)
- throw new Error(
- "react-modal: No elements were found for selector " + t + "."
- );
- }
- function s(e) {
- var t = e || o;
- return t
- ? Array.isArray(t) ||
- t instanceof HTMLCollection ||
- t instanceof NodeList
- ? t
- : [t]
- : ((0, a.default)(
- !1,
- [
- "react-modal: App element is not defined.",
- "Please use `Modal.setAppElement(el)` or set `appElement={el}`.",
- "This is needed so screen readers don't see main content",
- "when modal is opened. It is not recommended, but you can opt-out",
- "by setting `ariaHideApp={false}`.",
- ].join(" ")
- ),
- []);
- }
- },
- 16: (e, t, n) => {
- "use strict";
- Object.defineProperty(t, "__esModule", {
- value: !0,
- }),
- (t.resetState = function () {
- for (var e = [i, o], t = 0; t < e.length; t++) {
- var n = e[t];
- n && n.parentNode && n.parentNode.removeChild(n);
- }
- (i = o = null), (l = []);
- }),
- (t.log = function () {
- console.log("bodyTrap ----------"), console.log(l.length);
- for (var e = [i, o], t = 0; t < e.length; t++) {
- var n = e[t] || {};
- console.log(n.nodeName, n.className, n.id);
- }
- console.log("edn bodyTrap ----------");
- });
- var r,
- a =
- (r = n(462)) && r.__esModule
- ? r
- : {
- default: r,
- },
- i = void 0,
- o = void 0,
- l = [];
- function s() {
- 0 !== l.length && l[l.length - 1].focusContent();
- }
- a.default.subscribe(function (e, t) {
- i ||
- o ||
- ((i = document.createElement("div")).setAttribute(
- "data-react-modal-body-trap",
- ""
- ),
- (i.style.position = "absolute"),
- (i.style.opacity = "0"),
- i.setAttribute("tabindex", "0"),
- i.addEventListener("focus", s),
- (o = i.cloneNode()).addEventListener("focus", s)),
- (l = t).length > 0
- ? (document.body.firstChild !== i &&
- document.body.insertBefore(i, document.body.firstChild),
- document.body.lastChild !== o && document.body.appendChild(o))
- : (i.parentElement && i.parentElement.removeChild(i),
- o.parentElement && o.parentElement.removeChild(o));
- });
- },
- 895: (e, t) => {
- "use strict";
- Object.defineProperty(t, "__esModule", {
- value: !0,
- }),
- (t.resetState = function () {
- var e = document.getElementsByTagName("html")[0];
- for (var t in n) a(e, n[t]);
- var i = document.body;
- for (var o in r) a(i, r[o]);
- (n = {}), (r = {});
- }),
- (t.log = function () {});
- var n = {},
- r = {};
- function a(e, t) {
- e.classList.remove(t);
- }
- (t.add = function (e, t) {
- return (
- (a = e.classList),
- (i = "html" == e.nodeName.toLowerCase() ? n : r),
- void t.split(" ").forEach(function (e) {
- !(function (e, t) {
- e[t] || (e[t] = 0), (e[t] += 1);
- })(i, e),
- a.add(e);
- })
- );
- var a, i;
- }),
- (t.remove = function (e, t) {
- return (
- (a = e.classList),
- (i = "html" == e.nodeName.toLowerCase() ? n : r),
- void t.split(" ").forEach(function (e) {
- !(function (e, t) {
- e[t] && (e[t] -= 1);
- })(i, e),
- 0 === i[e] && a.remove(e);
- })
- );
- var a, i;
- });
- },
- 247: (e, t, n) => {
- "use strict";
- Object.defineProperty(t, "__esModule", {
- value: !0,
- }),
- (t.resetState = function () {
- i = [];
- }),
- (t.log = function () {}),
- (t.handleBlur = s),
- (t.handleFocus = u),
- (t.markForFocusLater = function () {
- i.push(document.activeElement);
- }),
- (t.returnFocus = function () {
- var e =
- arguments.length > 0 && void 0 !== arguments[0] && arguments[0],
- t = null;
- try {
- return void (
- 0 !== i.length &&
- (t = i.pop()).focus({
- preventScroll: e,
- })
- );
- } catch (e) {
- console.warn(
- [
- "You tried to return focus to",
- t,
- "but it is not in the DOM anymore",
- ].join(" ")
- );
- }
- }),
- (t.popWithoutFocus = function () {
- i.length > 0 && i.pop();
- }),
- (t.setupScopedFocus = function (e) {
- (o = e),
- window.addEventListener
- ? (window.addEventListener("blur", s, !1),
- document.addEventListener("focus", u, !0))
- : (window.attachEvent("onBlur", s),
- document.attachEvent("onFocus", u));
- }),
- (t.teardownScopedFocus = function () {
- (o = null),
- window.addEventListener
- ? (window.removeEventListener("blur", s),
- document.removeEventListener("focus", u))
- : (window.detachEvent("onBlur", s),
- document.detachEvent("onFocus", u));
- });
- var r,
- a =
- (r = n(199)) && r.__esModule
- ? r
- : {
- default: r,
- },
- i = [],
- o = null,
- l = !1;
- function s() {
- l = !0;
- }
- function u() {
- if (l) {
- if (((l = !1), !o)) return;
- setTimeout(function () {
- o.contains(document.activeElement) ||
- ((0, a.default)(o)[0] || o).focus();
- }, 0);
- }
- }
- },
- 462: (e, t) => {
- "use strict";
- Object.defineProperty(t, "__esModule", {
- value: !0,
- }),
- (t.log = function () {
- console.log("portalOpenInstances ----------"),
- console.log(r.openInstances.length),
- r.openInstances.forEach(function (e) {
- return console.log(e);
- }),
- console.log("end portalOpenInstances ----------");
- }),
- (t.resetState = function () {
- r = new n();
- });
- var n = function e() {
- var t = this;
- !(function (e, t) {
- if (!(e instanceof t))
- throw new TypeError("Cannot call a class as a function");
- })(this, e),
- (this.register = function (e) {
- -1 === t.openInstances.indexOf(e) &&
- (t.openInstances.push(e), t.emit("register"));
- }),
- (this.deregister = function (e) {
- var n = t.openInstances.indexOf(e);
- -1 !== n && (t.openInstances.splice(n, 1), t.emit("deregister"));
- }),
- (this.subscribe = function (e) {
- t.subscribers.push(e);
- }),
- (this.emit = function (e) {
- t.subscribers.forEach(function (n) {
- return n(e, t.openInstances.slice());
- });
- }),
- (this.openInstances = []),
- (this.subscribers = []);
- },
- r = new n();
- t.default = r;
- },
- 792: (e, t, n) => {
- "use strict";
- Object.defineProperty(t, "__esModule", {
- value: !0,
- }),
- (t.canUseDOM = t.SafeNodeList = t.SafeHTMLCollection = void 0);
- var r,
- a = (
- (r = n(177)) && r.__esModule
- ? r
- : {
- default: r,
- }
- ).default,
- i = a.canUseDOM ? window.HTMLElement : {};
- (t.SafeHTMLCollection = a.canUseDOM ? window.HTMLCollection : {}),
- (t.SafeNodeList = a.canUseDOM ? window.NodeList : {}),
- (t.canUseDOM = a.canUseDOM),
- (t.default = i);
- },
- 809: (e, t, n) => {
- "use strict";
- Object.defineProperty(t, "__esModule", {
- value: !0,
- }),
- (t.default = function (e, t) {
- var n = (0, a.default)(e);
- if (n.length) {
- var r = void 0,
- i = t.shiftKey,
- o = n[0],
- l = n[n.length - 1];
- if (e === document.activeElement) {
- if (!i) return;
- r = l;
- }
- if (
- (l !== document.activeElement || i || (r = o),
- o === document.activeElement && i && (r = l),
- r)
- )
- return t.preventDefault(), void r.focus();
- var s = /(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);
- if (
- null != s &&
- "Chrome" != s[1] &&
- null == /\biPod\b|\biPad\b/g.exec(navigator.userAgent)
- ) {
- var u = n.indexOf(document.activeElement);
- if ((u > -1 && (u += i ? -1 : 1), void 0 === (r = n[u])))
- return t.preventDefault(), void (r = i ? l : o).focus();
- t.preventDefault(), r.focus();
- }
- } else t.preventDefault();
- });
- var r,
- a =
- (r = n(199)) && r.__esModule
- ? r
- : {
- default: r,
- };
- e.exports = t.default;
- },
- 199: (e, t) => {
- "use strict";
- Object.defineProperty(t, "__esModule", {
- value: !0,
- }),
- (t.default = function (e) {
- return [].slice.call(e.querySelectorAll("*"), 0).filter(a);
- });
- var n = /input|select|textarea|button|object/;
- function r(e) {
- var t = e.offsetWidth <= 0 && e.offsetHeight <= 0;
- if (t && !e.innerHTML) return !0;
- try {
- var n = window.getComputedStyle(e);
- return t
- ? "visible" !== n.getPropertyValue("overflow") ||
- (e.scrollWidth <= 0 && e.scrollHeight <= 0)
- : "none" == n.getPropertyValue("display");
- } catch (e) {
- return console.warn("Failed to inspect element style"), !1;
- }
- }
- function a(e) {
- var t = e.getAttribute("tabindex");
- null === t && (t = void 0);
- var a = isNaN(t);
- return (
- (a || t >= 0) &&
- (function (e, t) {
- var a = e.nodeName.toLowerCase();
- return (
- ((n.test(a) && !e.disabled) || ("a" === a && e.href) || t) &&
- (function (e) {
- for (var t = e; t && t !== document.body; ) {
- if (r(t)) return !1;
- t = t.parentNode;
- }
- return !0;
- })(e)
- );
- })(e, !a)
- );
- }
- e.exports = t.default;
- },
- 154: (e, t, n) => {
- "use strict";
- Object.defineProperty(t, "__esModule", {
- value: !0,
- });
- var r,
- a =
- (r = n(225)) && r.__esModule
- ? r
- : {
- default: r,
- };
- (t.default = a.default), (e.exports = t.default);
- },
- 853: (e, t, n) => {
- var r = n(325),
- a = n(161),
- i = n(952),
- o = i.MUST_USE_PROPERTY,
- l = i.HAS_BOOLEAN_VALUE,
- s = i.HAS_NUMERIC_VALUE,
- u = i.HAS_POSITIVE_NUMERIC_VALUE,
- c = i.HAS_OVERLOADED_BOOLEAN_VALUE;
- function d(e, t) {
- return (e & t) === t;
- }
- function f(e, t, n) {
- var r,
- a,
- i,
- f = e.Properties,
- p = e.DOMAttributeNames;
- for (a in f)
- (r = p[a] || (n ? a : a.toLowerCase())),
- (i = f[a]),
- (t[r] = {
- attributeName: r,
- propertyName: a,
- mustUseProperty: d(i, o),
- hasBooleanValue: d(i, l),
- hasNumericValue: d(i, s),
- hasPositiveNumericValue: d(i, u),
- hasOverloadedBooleanValue: d(i, c),
- });
- }
- var p = {};
- f(r, p);
- var h = {};
- f(a, h, !0);
- var m = {};
- f(r, m),
- f(a, m, !0),
- (e.exports = {
- html: p,
- svg: h,
- properties: m,
- isCustomAttribute: RegExp.prototype.test.bind(
- new RegExp(
- "^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"
- )
- ),
- });
- },
- 325: (e) => {
- e.exports = {
- Properties: {
- autoFocus: 4,
- accept: 0,
- acceptCharset: 0,
- accessKey: 0,
- action: 0,
- allowFullScreen: 4,
- allowTransparency: 0,
- alt: 0,
- as: 0,
- async: 4,
- autoComplete: 0,
- autoPlay: 4,
- capture: 4,
- cellPadding: 0,
- cellSpacing: 0,
- charSet: 0,
- challenge: 0,
- checked: 5,
- cite: 0,
- classID: 0,
- className: 0,
- cols: 24,
- colSpan: 0,
- content: 0,
- contentEditable: 0,
- contextMenu: 0,
- controls: 4,
- controlsList: 0,
- coords: 0,
- crossOrigin: 0,
- data: 0,
- dateTime: 0,
- default: 4,
- defer: 4,
- dir: 0,
- disabled: 4,
- download: 32,
- draggable: 0,
- encType: 0,
- form: 0,
- formAction: 0,
- formEncType: 0,
- formMethod: 0,
- formNoValidate: 4,
- formTarget: 0,
- frameBorder: 0,
- headers: 0,
- height: 0,
- hidden: 4,
- high: 0,
- href: 0,
- hrefLang: 0,
- htmlFor: 0,
- httpEquiv: 0,
- icon: 0,
- id: 0,
- inputMode: 0,
- integrity: 0,
- is: 0,
- keyParams: 0,
- keyType: 0,
- kind: 0,
- label: 0,
- lang: 0,
- list: 0,
- loop: 4,
- low: 0,
- manifest: 0,
- marginHeight: 0,
- marginWidth: 0,
- max: 0,
- maxLength: 0,
- media: 0,
- mediaGroup: 0,
- method: 0,
- min: 0,
- minLength: 0,
- multiple: 5,
- muted: 5,
- name: 0,
- nonce: 0,
- noValidate: 4,
- open: 4,
- optimum: 0,
- pattern: 0,
- placeholder: 0,
- playsInline: 4,
- poster: 0,
- preload: 0,
- profile: 0,
- radioGroup: 0,
- readOnly: 4,
- referrerPolicy: 0,
- rel: 0,
- required: 4,
- reversed: 4,
- role: 0,
- rows: 24,
- rowSpan: 8,
- sandbox: 0,
- scope: 0,
- scoped: 4,
- scrolling: 0,
- seamless: 4,
- selected: 5,
- shape: 0,
- size: 24,
- sizes: 0,
- span: 24,
- spellCheck: 0,
- src: 0,
- srcDoc: 0,
- srcLang: 0,
- srcSet: 0,
- start: 8,
- step: 0,
- style: 0,
- summary: 0,
- tabIndex: 0,
- target: 0,
- title: 0,
- type: 0,
- useMap: 0,
- value: 0,
- width: 0,
- wmode: 0,
- wrap: 0,
- about: 0,
- datatype: 0,
- inlist: 0,
- prefix: 0,
- property: 0,
- resource: 0,
- typeof: 0,
- vocab: 0,
- autoCapitalize: 0,
- autoCorrect: 0,
- autoSave: 0,
- color: 0,
- itemProp: 0,
- itemScope: 4,
- itemType: 0,
- itemID: 0,
- itemRef: 0,
- results: 0,
- security: 0,
- unselectable: 0,
- },
- DOMAttributeNames: {
- acceptCharset: "accept-charset",
- className: "class",
- htmlFor: "for",
- httpEquiv: "http-equiv",
- },
- };
- },
- 161: (e) => {
- e.exports = {
- Properties: {
- accentHeight: 0,
- accumulate: 0,
- additive: 0,
- alignmentBaseline: 0,
- allowReorder: 0,
- alphabetic: 0,
- amplitude: 0,
- arabicForm: 0,
- ascent: 0,
- attributeName: 0,
- attributeType: 0,
- autoReverse: 0,
- azimuth: 0,
- baseFrequency: 0,
- baseProfile: 0,
- baselineShift: 0,
- bbox: 0,
- begin: 0,
- bias: 0,
- by: 0,
- calcMode: 0,
- capHeight: 0,
- clip: 0,
- clipPath: 0,
- clipRule: 0,
- clipPathUnits: 0,
- colorInterpolation: 0,
- colorInterpolationFilters: 0,
- colorProfile: 0,
- colorRendering: 0,
- contentScriptType: 0,
- contentStyleType: 0,
- cursor: 0,
- cx: 0,
- cy: 0,
- d: 0,
- decelerate: 0,
- descent: 0,
- diffuseConstant: 0,
- direction: 0,
- display: 0,
- divisor: 0,
- dominantBaseline: 0,
- dur: 0,
- dx: 0,
- dy: 0,
- edgeMode: 0,
- elevation: 0,
- enableBackground: 0,
- end: 0,
- exponent: 0,
- externalResourcesRequired: 0,
- fill: 0,
- fillOpacity: 0,
- fillRule: 0,
- filter: 0,
- filterRes: 0,
- filterUnits: 0,
- floodColor: 0,
- floodOpacity: 0,
- focusable: 0,
- fontFamily: 0,
- fontSize: 0,
- fontSizeAdjust: 0,
- fontStretch: 0,
- fontStyle: 0,
- fontVariant: 0,
- fontWeight: 0,
- format: 0,
- from: 0,
- fx: 0,
- fy: 0,
- g1: 0,
- g2: 0,
- glyphName: 0,
- glyphOrientationHorizontal: 0,
- glyphOrientationVertical: 0,
- glyphRef: 0,
- gradientTransform: 0,
- gradientUnits: 0,
- hanging: 0,
- horizAdvX: 0,
- horizOriginX: 0,
- ideographic: 0,
- imageRendering: 0,
- in: 0,
- in2: 0,
- intercept: 0,
- k: 0,
- k1: 0,
- k2: 0,
- k3: 0,
- k4: 0,
- kernelMatrix: 0,
- kernelUnitLength: 0,
- kerning: 0,
- keyPoints: 0,
- keySplines: 0,
- keyTimes: 0,
- lengthAdjust: 0,
- letterSpacing: 0,
- lightingColor: 0,
- limitingConeAngle: 0,
- local: 0,
- markerEnd: 0,
- markerMid: 0,
- markerStart: 0,
- markerHeight: 0,
- markerUnits: 0,
- markerWidth: 0,
- mask: 0,
- maskContentUnits: 0,
- maskUnits: 0,
- mathematical: 0,
- mode: 0,
- numOctaves: 0,
- offset: 0,
- opacity: 0,
- operator: 0,
- order: 0,
- orient: 0,
- orientation: 0,
- origin: 0,
- overflow: 0,
- overlinePosition: 0,
- overlineThickness: 0,
- paintOrder: 0,
- panose1: 0,
- pathLength: 0,
- patternContentUnits: 0,
- patternTransform: 0,
- patternUnits: 0,
- pointerEvents: 0,
- points: 0,
- pointsAtX: 0,
- pointsAtY: 0,
- pointsAtZ: 0,
- preserveAlpha: 0,
- preserveAspectRatio: 0,
- primitiveUnits: 0,
- r: 0,
- radius: 0,
- refX: 0,
- refY: 0,
- renderingIntent: 0,
- repeatCount: 0,
- repeatDur: 0,
- requiredExtensions: 0,
- requiredFeatures: 0,
- restart: 0,
- result: 0,
- rotate: 0,
- rx: 0,
- ry: 0,
- scale: 0,
- seed: 0,
- shapeRendering: 0,
- slope: 0,
- spacing: 0,
- specularConstant: 0,
- specularExponent: 0,
- speed: 0,
- spreadMethod: 0,
- startOffset: 0,
- stdDeviation: 0,
- stemh: 0,
- stemv: 0,
- stitchTiles: 0,
- stopColor: 0,
- stopOpacity: 0,
- strikethroughPosition: 0,
- strikethroughThickness: 0,
- string: 0,
- stroke: 0,
- strokeDasharray: 0,
- strokeDashoffset: 0,
- strokeLinecap: 0,
- strokeLinejoin: 0,
- strokeMiterlimit: 0,
- strokeOpacity: 0,
- strokeWidth: 0,
- surfaceScale: 0,
- systemLanguage: 0,
- tableValues: 0,
- targetX: 0,
- targetY: 0,
- textAnchor: 0,
- textDecoration: 0,
- textRendering: 0,
- textLength: 0,
- to: 0,
- transform: 0,
- u1: 0,
- u2: 0,
- underlinePosition: 0,
- underlineThickness: 0,
- unicode: 0,
- unicodeBidi: 0,
- unicodeRange: 0,
- unitsPerEm: 0,
- vAlphabetic: 0,
- vHanging: 0,
- vIdeographic: 0,
- vMathematical: 0,
- values: 0,
- vectorEffect: 0,
- version: 0,
- vertAdvY: 0,
- vertOriginX: 0,
- vertOriginY: 0,
- viewBox: 0,
- viewTarget: 0,
- visibility: 0,
- widths: 0,
- wordSpacing: 0,
- writingMode: 0,
- x: 0,
- xHeight: 0,
- x1: 0,
- x2: 0,
- xChannelSelector: 0,
- xlinkActuate: 0,
- xlinkArcrole: 0,
- xlinkHref: 0,
- xlinkRole: 0,
- xlinkShow: 0,
- xlinkTitle: 0,
- xlinkType: 0,
- xmlBase: 0,
- xmlns: 0,
- xmlnsXlink: 0,
- xmlLang: 0,
- xmlSpace: 0,
- y: 0,
- y1: 0,
- y2: 0,
- yChannelSelector: 0,
- z: 0,
- zoomAndPan: 0,
- },
- DOMAttributeNames: {
- accentHeight: "accent-height",
- alignmentBaseline: "alignment-baseline",
- arabicForm: "arabic-form",
- baselineShift: "baseline-shift",
- capHeight: "cap-height",
- clipPath: "clip-path",
- clipRule: "clip-rule",
- colorInterpolation: "color-interpolation",
- colorInterpolationFilters: "color-interpolation-filters",
- colorProfile: "color-profile",
- colorRendering: "color-rendering",
- dominantBaseline: "dominant-baseline",
- enableBackground: "enable-background",
- fillOpacity: "fill-opacity",
- fillRule: "fill-rule",
- floodColor: "flood-color",
- floodOpacity: "flood-opacity",
- fontFamily: "font-family",
- fontSize: "font-size",
- fontSizeAdjust: "font-size-adjust",
- fontStretch: "font-stretch",
- fontStyle: "font-style",
- fontVariant: "font-variant",
- fontWeight: "font-weight",
- glyphName: "glyph-name",
- glyphOrientationHorizontal: "glyph-orientation-horizontal",
- glyphOrientationVertical: "glyph-orientation-vertical",
- horizAdvX: "horiz-adv-x",
- horizOriginX: "horiz-origin-x",
- imageRendering: "image-rendering",
- letterSpacing: "letter-spacing",
- lightingColor: "lighting-color",
- markerEnd: "marker-end",
- markerMid: "marker-mid",
- markerStart: "marker-start",
- overlinePosition: "overline-position",
- overlineThickness: "overline-thickness",
- paintOrder: "paint-order",
- panose1: "panose-1",
- pointerEvents: "pointer-events",
- renderingIntent: "rendering-intent",
- shapeRendering: "shape-rendering",
- stopColor: "stop-color",
- stopOpacity: "stop-opacity",
- strikethroughPosition: "strikethrough-position",
- strikethroughThickness: "strikethrough-thickness",
- strokeDasharray: "stroke-dasharray",
- strokeDashoffset: "stroke-dashoffset",
- strokeLinecap: "stroke-linecap",
- strokeLinejoin: "stroke-linejoin",
- strokeMiterlimit: "stroke-miterlimit",
- strokeOpacity: "stroke-opacity",
- strokeWidth: "stroke-width",
- textAnchor: "text-anchor",
- textDecoration: "text-decoration",
- textRendering: "text-rendering",
- underlinePosition: "underline-position",
- underlineThickness: "underline-thickness",
- unicodeBidi: "unicode-bidi",
- unicodeRange: "unicode-range",
- unitsPerEm: "units-per-em",
- vAlphabetic: "v-alphabetic",
- vHanging: "v-hanging",
- vIdeographic: "v-ideographic",
- vMathematical: "v-mathematical",
- vectorEffect: "vector-effect",
- vertAdvY: "vert-adv-y",
- vertOriginX: "vert-origin-x",
- vertOriginY: "vert-origin-y",
- wordSpacing: "word-spacing",
- writingMode: "writing-mode",
- xHeight: "x-height",
- xlinkActuate: "xlink:actuate",
- xlinkArcrole: "xlink:arcrole",
- xlinkHref: "xlink:href",
- xlinkRole: "xlink:role",
- xlinkShow: "xlink:show",
- xlinkTitle: "xlink:title",
- xlinkType: "xlink:type",
- xmlBase: "xml:base",
- xmlnsXlink: "xmlns:xlink",
- xmlLang: "xml:lang",
- xmlSpace: "xml:space",
- },
- };
- },
- 952: (e) => {
- e.exports = {
- MUST_USE_PROPERTY: 1,
- HAS_BOOLEAN_VALUE: 4,
- HAS_NUMERIC_VALUE: 8,
- HAS_POSITIVE_NUMERIC_VALUE: 24,
- HAS_OVERLOADED_BOOLEAN_VALUE: 32,
- };
- },
- 43: (e, t, n) => {
- "use strict";
- n(347);
- var r = n(466),
- a = 60103;
- if (((t.Fragment = 60107), "function" == typeof Symbol && Symbol.for)) {
- var i = Symbol.for;
- (a = i("react.element")), (t.Fragment = i("react.fragment"));
- }
- var o =
- r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED
- .ReactCurrentOwner,
- l = Object.prototype.hasOwnProperty,
- s = {
- key: !0,
- ref: !0,
- __self: !0,
- __source: !0,
- };
- function u(e, t, n) {
- var r,
- i = {},
- u = null,
- c = null;
- for (r in (void 0 !== n && (u = "" + n),
- void 0 !== t.key && (u = "" + t.key),
- void 0 !== t.ref && (c = t.ref),
- t))
- l.call(t, r) && !s.hasOwnProperty(r) && (i[r] = t[r]);
- if (e && e.defaultProps)
- for (r in (t = e.defaultProps)) void 0 === i[r] && (i[r] = t[r]);
- return {
- $$typeof: a,
- type: e,
- key: u,
- ref: c,
- props: i,
- _owner: o.current,
- };
- }
- (t.jsx = u), (t.jsxs = u);
- },
- 751: (e, t, n) => {
- "use strict";
- var r = n(347),
- a = 60103,
- i = 60106;
- (t.Fragment = 60107), (t.StrictMode = 60108), (t.Profiler = 60114);
- var o = 60109,
- l = 60110,
- s = 60112;
- t.Suspense = 60113;
- var u = 60115,
- c = 60116;
- if ("function" == typeof Symbol && Symbol.for) {
- var d = Symbol.for;
- (a = d("react.element")),
- (i = d("react.portal")),
- (t.Fragment = d("react.fragment")),
- (t.StrictMode = d("react.strict_mode")),
- (t.Profiler = d("react.profiler")),
- (o = d("react.provider")),
- (l = d("react.context")),
- (s = d("react.forward_ref")),
- (t.Suspense = d("react.suspense")),
- (u = d("react.memo")),
- (c = d("react.lazy"));
- }
- var f = "function" == typeof Symbol && Symbol.iterator;
- function p(e) {
- for (
- var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e,
- n = 1;
- n < arguments.length;
- n++
- )
- t += "&args[]=" + encodeURIComponent(arguments[n]);
- return (
- "Minified React error #" +
- e +
- "; visit " +
- t +
- " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."
- );
- }
- var h = {
- isMounted: function () {
- return !1;
- },
- enqueueForceUpdate: function () {},
- enqueueReplaceState: function () {},
- enqueueSetState: function () {},
- },
- m = {};
- function g(e, t, n) {
- (this.props = e),
- (this.context = t),
- (this.refs = m),
- (this.updater = n || h);
- }
- function v() {}
- function y(e, t, n) {
- (this.props = e),
- (this.context = t),
- (this.refs = m),
- (this.updater = n || h);
- }
- (g.prototype.isReactComponent = {}),
- (g.prototype.setState = function (e, t) {
- if ("object" != typeof e && "function" != typeof e && null != e)
- throw Error(p(85));
- this.updater.enqueueSetState(this, e, t, "setState");
- }),
- (g.prototype.forceUpdate = function (e) {
- this.updater.enqueueForceUpdate(this, e, "forceUpdate");
- }),
- (v.prototype = g.prototype);
- var b = (y.prototype = new v());
- (b.constructor = y), r(b, g.prototype), (b.isPureReactComponent = !0);
- var w = {
- current: null,
- },
- x = Object.prototype.hasOwnProperty,
- _ = {
- key: !0,
- ref: !0,
- __self: !0,
- __source: !0,
- };
- function T(e, t, n) {
- var r,
- i = {},
- o = null,
- l = null;
- if (null != t)
- for (r in (void 0 !== t.ref && (l = t.ref),
- void 0 !== t.key && (o = "" + t.key),
- t))
- x.call(t, r) && !_.hasOwnProperty(r) && (i[r] = t[r]);
- var s = arguments.length - 2;
- if (1 === s) i.children = n;
- else if (1 < s) {
- for (var u = Array(s), c = 0; c < s; c++) u[c] = arguments[c + 2];
- i.children = u;
- }
- if (e && e.defaultProps)
- for (r in (s = e.defaultProps)) void 0 === i[r] && (i[r] = s[r]);
- return {
- $$typeof: a,
- type: e,
- key: o,
- ref: l,
- props: i,
- _owner: w.current,
- };
- }
- function S(e) {
- return "object" == typeof e && null !== e && e.$$typeof === a;
- }
- var k = /\/+/g;
- function E(e, t) {
- return "object" == typeof e && null !== e && null != e.key
- ? (function (e) {
- var t = {
- "=": "=0",
- ":": "=2",
- };
- return (
- "$" +
- e.replace(/[=:]/g, function (e) {
- return t[e];
- })
- );
- })("" + e.key)
- : t.toString(36);
- }
- function P(e, t, n, r, o) {
- var l = typeof e;
- ("undefined" !== l && "boolean" !== l) || (e = null);
- var s = !1;
- if (null === e) s = !0;
- else
- switch (l) {
- case "string":
- case "number":
- s = !0;
- break;
- case "object":
- switch (e.$$typeof) {
- case a:
- case i:
- s = !0;
- }
- }
- if (s)
- return (
- (o = o((s = e))),
- (e = "" === r ? "." + E(s, 0) : r),
- Array.isArray(o)
- ? ((n = ""),
- null != e && (n = e.replace(k, "$&/") + "/"),
- P(o, t, n, "", function (e) {
- return e;
- }))
- : null != o &&
- (S(o) &&
- (o = (function (e, t) {
- return {
- $$typeof: a,
- type: e.type,
- key: t,
- ref: e.ref,
- props: e.props,
- _owner: e._owner,
- };
- })(
- o,
- n +
- (!o.key || (s && s.key === o.key)
- ? ""
- : ("" + o.key).replace(k, "$&/") + "/") +
- e
- )),
- t.push(o)),
- 1
- );
- if (((s = 0), (r = "" === r ? "." : r + ":"), Array.isArray(e)))
- for (var u = 0; u < e.length; u++) {
- var c = r + E((l = e[u]), u);
- s += P(l, t, n, c, o);
- }
- else if (
- "function" ==
- typeof (c = (function (e) {
- return null === e || "object" != typeof e
- ? null
- : "function" == typeof (e = (f && e[f]) || e["@@iterator"])
- ? e
- : null;
- })(e))
- )
- for (e = c.call(e), u = 0; !(l = e.next()).done; )
- s += P((l = l.value), t, n, (c = r + E(l, u++)), o);
- else if ("object" === l)
- throw (
- ((t = "" + e),
- Error(
- p(
- 31,
- "[object Object]" === t
- ? "object with keys {" + Object.keys(e).join(", ") + "}"
- : t
- )
- ))
- );
- return s;
- }
- function C(e, t, n) {
- if (null == e) return e;
- var r = [],
- a = 0;
- return (
- P(e, r, "", "", function (e) {
- return t.call(n, e, a++);
- }),
- r
- );
- }
- function O(e) {
- if (-1 === e._status) {
- var t = e._result;
- (t = t()),
- (e._status = 0),
- (e._result = t),
- t.then(
- function (t) {
- 0 === e._status &&
- ((t = t.default), (e._status = 1), (e._result = t));
- },
- function (t) {
- 0 === e._status && ((e._status = 2), (e._result = t));
- }
- );
- }
- if (1 === e._status) return e._result;
- throw e._result;
- }
- var R = {
- current: null,
- };
- function A() {
- var e = R.current;
- if (null === e) throw Error(p(321));
- return e;
- }
- var M = {
- ReactCurrentDispatcher: R,
- ReactCurrentBatchConfig: {
- transition: 0,
- },
- ReactCurrentOwner: w,
- IsSomeRendererActing: {
- current: !1,
- },
- assign: r,
- };
- (t.Children = {
- map: C,
- forEach: function (e, t, n) {
- C(
- e,
- function () {
- t.apply(this, arguments);
- },
- n
- );
- },
- count: function (e) {
- var t = 0;
- return (
- C(e, function () {
- t++;
- }),
- t
- );
- },
- toArray: function (e) {
- return (
- C(e, function (e) {
- return e;
- }) || []
- );
- },
- only: function (e) {
- if (!S(e)) throw Error(p(143));
- return e;
- },
- }),
- (t.Component = g),
- (t.PureComponent = y),
- (t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = M),
- (t.cloneElement = function (e, t, n) {
- if (null == e) throw Error(p(267, e));
- var i = r({}, e.props),
- o = e.key,
- l = e.ref,
- s = e._owner;
- if (null != t) {
- if (
- (void 0 !== t.ref && ((l = t.ref), (s = w.current)),
- void 0 !== t.key && (o = "" + t.key),
- e.type && e.type.defaultProps)
- )
- var u = e.type.defaultProps;
- for (c in t)
- x.call(t, c) &&
- !_.hasOwnProperty(c) &&
- (i[c] = void 0 === t[c] && void 0 !== u ? u[c] : t[c]);
- }
- var c = arguments.length - 2;
- if (1 === c) i.children = n;
- else if (1 < c) {
- u = Array(c);
- for (var d = 0; d < c; d++) u[d] = arguments[d + 2];
- i.children = u;
- }
- return {
- $$typeof: a,
- type: e.type,
- key: o,
- ref: l,
- props: i,
- _owner: s,
- };
- }),
- (t.createContext = function (e, t) {
- return (
- void 0 === t && (t = null),
- ((e = {
- $$typeof: l,
- _calculateChangedBits: t,
- _currentValue: e,
- _currentValue2: e,
- _threadCount: 0,
- Provider: null,
- Consumer: null,
- }).Provider = {
- $$typeof: o,
- _context: e,
- }),
- (e.Consumer = e)
- );
- }),
- (t.createElement = T),
- (t.createFactory = function (e) {
- var t = T.bind(null, e);
- return (t.type = e), t;
- }),
- (t.createRef = function () {
- return {
- current: null,
- };
- }),
- (t.forwardRef = function (e) {
- return {
- $$typeof: s,
- render: e,
- };
- }),
- (t.isValidElement = S),
- (t.lazy = function (e) {
- return {
- $$typeof: c,
- _payload: {
- _status: -1,
- _result: e,
- },
- _init: O,
- };
- }),
- (t.memo = function (e, t) {
- return {
- $$typeof: u,
- type: e,
- compare: void 0 === t ? null : t,
- };
- }),
- (t.useCallback = function (e, t) {
- return A().useCallback(e, t);
- }),
- (t.useContext = function (e, t) {
- return A().useContext(e, t);
- }),
- (t.useDebugValue = function () {}),
- (t.useEffect = function (e, t) {
- return A().useEffect(e, t);
- }),
- (t.useImperativeHandle = function (e, t, n) {
- return A().useImperativeHandle(e, t, n);
- }),
- (t.useLayoutEffect = function (e, t) {
- return A().useLayoutEffect(e, t);
- }),
- (t.useMemo = function (e, t) {
- return A().useMemo(e, t);
- }),
- (t.useReducer = function (e, t, n) {
- return A().useReducer(e, t, n);
- }),
- (t.useRef = function (e) {
- return A().useRef(e);
- }),
- (t.useState = function (e) {
- return A().useState(e);
- }),
- (t.version = "17.0.2");
- },
- 466: (e, t, n) => {
- "use strict";
- e.exports = n(751);
- },
- 823: (e, t, n) => {
- "use strict";
- e.exports = n(43);
- },
- 794: (e, t) => {
- "use strict";
- var n, r, a, i;
- if (
- "object" == typeof performance &&
- "function" == typeof performance.now
- ) {
- var o = performance;
- t.unstable_now = function () {
- return o.now();
- };
- } else {
- var l = Date,
- s = l.now();
- t.unstable_now = function () {
- return l.now() - s;
- };
- }
- if ("undefined" == typeof window || "function" != typeof MessageChannel) {
- var u = null,
- c = null,
- d = function () {
- if (null !== u)
- try {
- var e = t.unstable_now();
- u(!0, e), (u = null);
- } catch (e) {
- throw (setTimeout(d, 0), e);
- }
- };
- (n = function (e) {
- null !== u ? setTimeout(n, 0, e) : ((u = e), setTimeout(d, 0));
- }),
- (r = function (e, t) {
- c = setTimeout(e, t);
- }),
- (a = function () {
- clearTimeout(c);
- }),
- (t.unstable_shouldYield = function () {
- return !1;
- }),
- (i = t.unstable_forceFrameRate = function () {});
- } else {
- var f = window.setTimeout,
- p = window.clearTimeout;
- if ("undefined" != typeof console) {
- var h = window.cancelAnimationFrame;
- "function" != typeof window.requestAnimationFrame &&
- console.error(
- "This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"
- ),
- "function" != typeof h &&
- console.error(
- "This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"
- );
- }
- var m = !1,
- g = null,
- v = -1,
- y = 5,
- b = 0;
- (t.unstable_shouldYield = function () {
- return t.unstable_now() >= b;
- }),
- (i = function () {}),
- (t.unstable_forceFrameRate = function (e) {
- 0 > e || 125 < e
- ? console.error(
- "forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"
- )
- : (y = 0 < e ? Math.floor(1e3 / e) : 5);
- });
- var w = new MessageChannel(),
- x = w.port2;
- (w.port1.onmessage = function () {
- if (null !== g) {
- var e = t.unstable_now();
- b = e + y;
- try {
- g(!0, e) ? x.postMessage(null) : ((m = !1), (g = null));
- } catch (e) {
- throw (x.postMessage(null), e);
- }
- } else m = !1;
- }),
- (n = function (e) {
- (g = e), m || ((m = !0), x.postMessage(null));
- }),
- (r = function (e, n) {
- v = f(function () {
- e(t.unstable_now());
- }, n);
- }),
- (a = function () {
- p(v), (v = -1);
- });
- }
- function _(e, t) {
- var n = e.length;
- e.push(t);
- e: for (;;) {
- var r = (n - 1) >>> 1,
- a = e[r];
- if (!(void 0 !== a && 0 < k(a, t))) break e;
- (e[r] = t), (e[n] = a), (n = r);
- }
- }
- function T(e) {
- return void 0 === (e = e[0]) ? null : e;
- }
- function S(e) {
- var t = e[0];
- if (void 0 !== t) {
- var n = e.pop();
- if (n !== t) {
- e[0] = n;
- e: for (var r = 0, a = e.length; r < a; ) {
- var i = 2 * (r + 1) - 1,
- o = e[i],
- l = i + 1,
- s = e[l];
- if (void 0 !== o && 0 > k(o, n))
- void 0 !== s && 0 > k(s, o)
- ? ((e[r] = s), (e[l] = n), (r = l))
- : ((e[r] = o), (e[i] = n), (r = i));
- else {
- if (!(void 0 !== s && 0 > k(s, n))) break e;
- (e[r] = s), (e[l] = n), (r = l);
- }
- }
- }
- return t;
- }
- return null;
- }
- function k(e, t) {
- var n = e.sortIndex - t.sortIndex;
- return 0 !== n ? n : e.id - t.id;
- }
- var E = [],
- P = [],
- C = 1,
- O = null,
- R = 3,
- A = !1,
- M = !1,
- N = !1;
- function j(e) {
- for (var t = T(P); null !== t; ) {
- if (null === t.callback) S(P);
- else {
- if (!(t.startTime <= e)) break;
- S(P), (t.sortIndex = t.expirationTime), _(E, t);
- }
- t = T(P);
- }
- }
- function L(e) {
- if (((N = !1), j(e), !M))
- if (null !== T(E)) (M = !0), n(D);
- else {
- var t = T(P);
- null !== t && r(L, t.startTime - e);
- }
- }
- function D(e, n) {
- (M = !1), N && ((N = !1), a()), (A = !0);
- var i = R;
- try {
- for (
- j(n), O = T(E);
- null !== O &&
- (!(O.expirationTime > n) || (e && !t.unstable_shouldYield()));
-
- ) {
- var o = O.callback;
- if ("function" == typeof o) {
- (O.callback = null), (R = O.priorityLevel);
- var l = o(O.expirationTime <= n);
- (n = t.unstable_now()),
- "function" == typeof l ? (O.callback = l) : O === T(E) && S(E),
- j(n);
- } else S(E);
- O = T(E);
- }
- if (null !== O) var s = !0;
- else {
- var u = T(P);
- null !== u && r(L, u.startTime - n), (s = !1);
- }
- return s;
- } finally {
- (O = null), (R = i), (A = !1);
- }
- }
- var I = i;
- (t.unstable_IdlePriority = 5),
- (t.unstable_ImmediatePriority = 1),
- (t.unstable_LowPriority = 4),
- (t.unstable_NormalPriority = 3),
- (t.unstable_Profiling = null),
- (t.unstable_UserBlockingPriority = 2),
- (t.unstable_cancelCallback = function (e) {
- e.callback = null;
- }),
- (t.unstable_continueExecution = function () {
- M || A || ((M = !0), n(D));
- }),
- (t.unstable_getCurrentPriorityLevel = function () {
- return R;
- }),
- (t.unstable_getFirstCallbackNode = function () {
- return T(E);
- }),
- (t.unstable_next = function (e) {
- switch (R) {
- case 1:
- case 2:
- case 3:
- var t = 3;
- break;
- default:
- t = R;
- }
- var n = R;
- R = t;
- try {
- return e();
- } finally {
- R = n;
- }
- }),
- (t.unstable_pauseExecution = function () {}),
- (t.unstable_requestPaint = I),
- (t.unstable_runWithPriority = function (e, t) {
- switch (e) {
- case 1:
- case 2:
- case 3:
- case 4:
- case 5:
- break;
- default:
- e = 3;
- }
- var n = R;
- R = e;
- try {
- return t();
- } finally {
- R = n;
- }
- }),
- (t.unstable_scheduleCallback = function (e, i, o) {
- var l = t.unstable_now();
- switch (
- ((o =
- "object" == typeof o &&
- null !== o &&
- "number" == typeof (o = o.delay) &&
- 0 < o
- ? l + o
- : l),
- e)
- ) {
- case 1:
- var s = -1;
- break;
- case 2:
- s = 250;
- break;
- case 5:
- s = 1073741823;
- break;
- case 4:
- s = 1e4;
- break;
- default:
- s = 5e3;
- }
- return (
- (e = {
- id: C++,
- callback: i,
- priorityLevel: e,
- startTime: o,
- expirationTime: (s = o + s),
- sortIndex: -1,
- }),
- o > l
- ? ((e.sortIndex = o),
- _(P, e),
- null === T(E) &&
- e === T(P) &&
- (N ? a() : (N = !0), r(L, o - l)))
- : ((e.sortIndex = s), _(E, e), M || A || ((M = !0), n(D))),
- e
- );
- }),
- (t.unstable_wrapCallback = function (e) {
- var t = R;
- return function () {
- var n = R;
- R = t;
- try {
- return e.apply(this, arguments);
- } finally {
- R = n;
- }
- };
- });
- },
- 767: (e, t, n) => {
- "use strict";
- e.exports = n(794);
- },
- 833: function (e, t, n) {
- "use strict";
- var r =
- (this && this.__importDefault) ||
- function (e) {
- return e && e.__esModule
- ? e
- : {
- default: e,
- };
- };
- t.__esModule = !0;
- var a = r(n(487)),
- i = n(381);
- t.default = function (e, t) {
- var n = {};
- return e && "string" == typeof e
- ? (a.default(e, function (e, r) {
- e && r && (n[i.camelCase(e, t)] = r);
- }),
- n)
- : n;
- };
- },
- 381: (e, t) => {
- "use strict";
- (t.__esModule = !0), (t.camelCase = void 0);
- var n = /^--[a-zA-Z0-9-]+$/,
- r = /-([a-z])/g,
- a = /^[^-]+$/,
- i = /^-(webkit|moz|ms|o|khtml)-/,
- o = function (e, t) {
- return t.toUpperCase();
- },
- l = function (e, t) {
- return t + "-";
- };
- t.camelCase = function (e, t) {
- return (
- void 0 === t && (t = {}),
- (function (e) {
- return !e || a.test(e) || n.test(e);
- })(e)
- ? e
- : ((e = e.toLowerCase()),
- t.reactCompat || (e = e.replace(i, l)),
- e.replace(r, o))
- );
- };
- },
- 487: (e, t, n) => {
- var r = n(876);
- e.exports = function (e, t) {
- var n,
- a = null;
- if (!e || "string" != typeof e) return a;
- for (
- var i, o, l = r(e), s = "function" == typeof t, u = 0, c = l.length;
- u < c;
- u++
- )
- (i = (n = l[u]).property),
- (o = n.value),
- s ? t(i, o, n) : o && (a || (a = {}), (a[i] = o));
- return a;
- };
- },
- 365: (e) => {
- "use strict";
- e.exports = function () {};
- },
- 236: (e, t, n) => {
- "use strict";
- var r = n(116);
- const a = function (e) {
- const t = (t, n, r) => {
- !(function (e, t, n) {
- const r =
- /^localhost$|^127(?:\.[0-9]+){0,2}\.[0-9]+$|^(?:0*:)*?:?0*1$/.test(
- location.hostname
- ) || "file:" === location.protocol;
- if (!t.trackLocalhost && r)
- return console.warn(
- "[Plausible] Ignoring event because website is running locally"
- );
- if ("true" === localStorage.getItem("plausible_ignore"))
- return console.warn(
- '[Plausible] Ignoring event because "plausible_ignore" is set to "true" in localStorage'
- );
- const a = {
- n: e,
- u: t.url,
- d: t.domain,
- r: t.referrer,
- w: t.deviceWidth,
- h: t.hashMode ? 1 : 0,
- p: n && n.props ? JSON.stringify(n.props) : void 0,
- },
- i = new XMLHttpRequest();
- i.open("POST", `${t.apiHost}/api/event`, !0),
- i.setRequestHeader("Content-Type", "text/plain"),
- i.send(JSON.stringify(a)),
- (i.onreadystatechange = () => {
- 4 === i.readyState && n && n.callback && n.callback();
- });
- })(
- t,
- {
- ...{
- hashMode: !1,
- trackLocalhost: !1,
- url: location.href,
- domain: location.hostname,
- referrer: document.referrer || null,
- deviceWidth: window.innerWidth,
- apiHost: "https://plausible.io",
- ...e,
- },
- ...r,
- },
- n
- );
- },
- n = (e, n) => {
- t("pageview", n, e);
- };
- return {
- trackEvent: t,
- trackPageview: n,
- enableAutoPageviews: () => {
- const t = () => n(),
- r = history.pushState;
- return (
- r &&
- ((history.pushState = function (e, n, a) {
- r.apply(this, [e, n, a]), t();
- }),
- addEventListener("popstate", t)),
- e && e.hashMode && addEventListener("hashchange", t),
- n(),
- function () {
- r &&
- ((history.pushState = r), removeEventListener("popstate", t)),
- e && e.hashMode && removeEventListener("hashchange", t);
- }
- );
- },
- enableAutoOutboundTracking: (
- e = document,
- n = {
- subtree: !0,
- childList: !0,
- attributes: !0,
- attributeFilter: ["href"],
- }
- ) => {
- function r(e) {
- t("Outbound Link: Click", {
- props: {
- url: this.href,
- },
- }),
- "undefined" != typeof process && process,
- setTimeout(() => {
- location.href = this.href;
- }, 150),
- e.preventDefault();
- }
- const a = new Set();
- function i(e) {
- e instanceof HTMLAnchorElement
- ? e.host !== location.host &&
- (e.addEventListener("click", r), a.add(e))
- : "querySelectorAll" in e && e.querySelectorAll("a").forEach(i);
- }
- function o(e) {
- e instanceof HTMLAnchorElement
- ? (e.removeEventListener("click", r), a.delete(e))
- : "querySelectorAll" in e && e.querySelectorAll("a").forEach(o);
- }
- const l = new MutationObserver((e) => {
- e.forEach((e) => {
- "attributes" === e.type
- ? (o(e.target), i(e.target))
- : "childList" === e.type &&
- (e.addedNodes.forEach(i), e.removedNodes.forEach(o));
- });
- });
- return (
- e.querySelectorAll("a").forEach(i),
- l.observe(e, n),
- function () {
- a.forEach((e) => {
- e.removeEventListener("click", r);
- }),
- a.clear(),
- l.disconnect();
- }
- );
- },
- };
- };
- var i = n(466);
- const o = {
- root: "_3EgF4oDzS6xKlI0IvCWEXx",
- counter: "_2ZbxIsChPuNZ_GoHWTkBtp",
- stats: "_31rKCsb23r17IXvpLEb3ny",
- "full-height": "I0rHnQ8svo02mB1LjCr-S",
- "copy-section": "_36rWFpttvrI8KBKtTvJ4ma",
- "map-section": "_26g2Hvi51IQBGZaVEKkIfu",
- "outro-wrap": "_2uF1ArSUu2zf5Jyb1gxo4v",
- "outro-info-section": "_2QrmzmLIia4igKNAUk-sA5",
- "outro-credits": "_mSc9JtT4emUuM1d_o2-z",
- "outro-links": "_2GW36i2whwRVtShx83BNfv",
- "outro-subtitle": "zbl6wnvSJfIHTuNuaPQwn",
- "title-screen": "_3dzf8fgzQXB_8IONq0Symd",
- "top-title": "_2viIVBPlx60XaqlRbTNt_W",
- "top-left-logo": "_13weoQsB942wJYJHGmEt4O",
- "title-card-top": "_1V4fXxcDykxDXV-EaYgRj2",
- "title-card-mid": "NU_wR4DHq24GQtVunD_y7",
- "title-card-bottom": "_3lvJnuCe1SaReMIUHEA5du",
- "scroll-cta": "_1GionP96R_8QCr2Eqam7Fs",
- "scroll-arrow": "_3K9yTNAjzCQD6FF2bevjgs",
- "poem-modal-overlay": "_3CT3722ni1WJY8KkQah6_7",
- "open-modal": "_1CTh8Vyrh_85fgKYP3VF4T",
- "poem-modal": "_1VdxR48WCk1FgXXkq4ReR6",
- "modal-inner": "_1tE_uXMNXP6fcQibMYMrbY",
- "poem-modal-close": "_14VnQFbBLePJgM3Qa5Hfr3",
- "close-top": "_3H6hCCn0twpJDL2hyEDscP",
- "language-select": "_375nLp8VLoZRrLbhkA1Du5",
- fadeInSelect: "_10Je5-e0abywlBMepWe8OW",
- "select-arrow": "_2f52ZLZSkVa2AMRIw3A0Rn",
- "sequence-placeholder": "_10O6NCz2pO2vBrv7rez8oA",
- "sequence-loading-wrap": "_172rzdMPOhs3us1jRJfDZv",
- "sequence-loading": "f4UOo8r03WSAFNxAqlNnW",
- "playhead-wrap": "mg-uKTlZdBtKeUeUodwr6",
- playhead: "qYAMU__AcOvTOBqrYUvrA",
- "playhead-progress": "_4jEQ2UX3Flcm1WZr5QQgp",
- "load-progress-wrap": "_2cIVyIyR5SyFi3-ViN1Q8o",
- "load-progress": "u2hUiVgi94mv8dTLYGgaY",
- sequence: "_2vFcDRdCPFMY9d0r_7LMWJ",
- "canvas-viewer": "_1LgZ0f1d8tigJTd9RIlLm7",
- "sequence-canvas": "_2nOKZbIMPNNYYe6HCmEtQO",
- "timeline-text-positioner": "_2kFFLMVEt_JxlDM7F7Vflr",
- "timeline-text-container": "_32_nRuNIB84XxNbOFWKpG5",
- "timeline-text-inner": "_9IVRiBzx-X1fpUf0lbtue",
- "timeline-text": "_15DXS-wr1LcUiEQoVy9C7s",
- "wall-text": "_3rqMQdYxdJJXNATEUwUMVa",
- "wall-top": "nBjIOV4n-c16MVrig-aer",
- "wall-bottom": "_25utm655vFftpar1q1hIsa",
- "title-text": "_2WVgDcHqIwRYbhE8g1p1oe",
- "attribution-wrap": "_3MV9b1Stc01d5avvLa5gPm",
- "attribution-button": "ePjri_dj6pdJvqJkUJsZa",
- open: "_2WNYfzIwf3c1E7vkfATk-v",
- attribution: "lNZe-AesvPWFH7UU2xbXl",
- "timeline-text-highlight": "_21IWItkBYPX1c0cEF4pbJ6",
- "outro-thanks": "_2_72SGuhYQtxpfYWGhgzyR",
- "outro-heading": "_2s7NhnrrC7jDImbpsqfeyY",
- };
- var l = n(823);
- function s(e, t, n) {
- return (
- t in e
- ? Object.defineProperty(e, t, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0,
- })
- : (e[t] = n),
- e
- );
- }
- function u(e, t) {
- (null == t || t > e.length) && (t = e.length);
- for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n];
- return r;
- }
- function c(e, t) {
- return (
- (function (e) {
- if (Array.isArray(e)) return e;
- })(e) ||
- (function (e, t) {
- if ("undefined" != typeof Symbol && Symbol.iterator in Object(e)) {
- var n = [],
- r = !0,
- a = !1,
- i = void 0;
- try {
- for (
- var o, l = e[Symbol.iterator]();
- !(r = (o = l.next()).done) &&
- (n.push(o.value), !t || n.length !== t);
- r = !0
- );
- } catch (e) {
- (a = !0), (i = e);
- } finally {
- try {
- r || null == l.return || l.return();
- } finally {
- if (a) throw i;
- }
- }
- return n;
- }
- })(e, t) ||
- (function (e, t) {
- if (e) {
- if ("string" == typeof e) return u(e, t);
- var n = Object.prototype.toString.call(e).slice(8, -1);
- return (
- "Object" === n && e.constructor && (n = e.constructor.name),
- "Map" === n || "Set" === n
- ? Array.from(e)
- : "Arguments" === n ||
- /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
- ? u(e, t)
- : void 0
- );
- }
- })(e, t) ||
- (function () {
- throw new TypeError(
- "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
- );
- })()
- );
- }
- var d = n(86);
- d.domToReact, d.htmlToDOM, d.attributesToProps;
- const f = d;
- var p = n(295);
- function h(e) {
- if (void 0 === e)
- throw new ReferenceError(
- "this hasn't been initialised - super() hasn't been called"
- );
- return e;
- }
- function m(e, t) {
- (e.prototype = Object.create(t.prototype)),
- (e.prototype.constructor = e),
- (e.__proto__ = t);
- }
- var g,
- v,
- y,
- b,
- w,
- x,
- _,
- T,
- S,
- k,
- E,
- P,
- C,
- O = {
- autoSleep: 120,
- force3D: "auto",
- nullTargetWarn: 1,
- units: {
- lineHeight: "",
- },
- },
- R = {
- duration: 0.5,
- overwrite: !1,
- delay: 0,
- },
- A = 1e8,
- M = 1e-8,
- N = 2 * Math.PI,
- j = N / 4,
- L = 0,
- D = Math.sqrt,
- I = Math.cos,
- F = Math.sin,
- z = function (e) {
- return "string" == typeof e;
- },
- B = function (e) {
- return "function" == typeof e;
- },
- U = function (e) {
- return "number" == typeof e;
- },
- q = function (e) {
- return void 0 === e;
- },
- V = function (e) {
- return "object" == typeof e;
- },
- H = function (e) {
- return !1 !== e;
- },
- W = function () {
- return "undefined" != typeof window;
- },
- G = function (e) {
- return B(e) || z(e);
- },
- Q =
- ("function" == typeof ArrayBuffer && ArrayBuffer.isView) ||
- function () {},
- Y = Array.isArray,
- X = /(?:-?\.?\d|\.)+/gi,
- $ = /[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,
- J = /[-+=.]*\d+[.e-]*\d*[a-z%]*/g,
- K = /[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,
- Z = /[+-]=-?[.\d]+/,
- ee = /[#\-+.]*\b[a-z\d-=+%.]+/gi,
- te = /[\d.+\-=]+(?:e[-+]\d*)*/i,
- ne = {},
- re = {},
- ae = function (e) {
- return (re = Re(e, ne)) && mn;
- },
- ie = function (e, t) {
- return console.warn(
- "Invalid property",
- e,
- "set to",
- t,
- "Missing plugin? gsap.registerPlugin()"
- );
- },
- oe = function (e, t) {
- return !t && console.warn(e);
- },
- le = function (e, t) {
- return (e && (ne[e] = t) && re && (re[e] = t)) || ne;
- },
- se = function () {
- return 0;
- },
- ue = {},
- ce = [],
- de = {},
- fe = {},
- pe = {},
- he = 30,
- me = [],
- ge = "",
- ve = function (e) {
- var t,
- n,
- r = e[0];
- if ((V(r) || B(r) || (e = [e]), !(t = (r._gsap || {}).harness))) {
- for (n = me.length; n-- && !me[n].targetTest(r); );
- t = me[n];
- }
- for (n = e.length; n--; )
- (e[n] && (e[n]._gsap || (e[n]._gsap = new zt(e[n], t)))) ||
- e.splice(n, 1);
- return e;
- },
- ye = function (e) {
- return e._gsap || ve(at(e))[0]._gsap;
- },
- be = function (e, t, n) {
- return (n = e[t]) && B(n)
- ? e[t]()
- : (q(n) && e.getAttribute && e.getAttribute(t)) || n;
- },
- we = function (e, t) {
- return (e = e.split(",")).forEach(t) || e;
- },
- xe = function (e) {
- return Math.round(1e5 * e) / 1e5 || 0;
- },
- _e = function (e, t) {
- for (var n = t.length, r = 0; e.indexOf(t[r]) < 0 && ++r < n; );
- return r < n;
- },
- Te = function (e, t, n) {
- var r,
- a = U(e[1]),
- i = (a ? 2 : 1) + (t < 2 ? 0 : 1),
- o = e[i];
- if ((a && (o.duration = e[1]), (o.parent = n), t)) {
- for (r = o; n && !("immediateRender" in r); )
- (r = n.vars.defaults || {}), (n = H(n.vars.inherit) && n.parent);
- (o.immediateRender = H(r.immediateRender)),
- t < 2 ? (o.runBackwards = 1) : (o.startAt = e[i - 1]);
- }
- return o;
- },
- Se = function () {
- var e,
- t,
- n = ce.length,
- r = ce.slice(0);
- for (de = {}, ce.length = 0, e = 0; e < n; e++)
- (t = r[e]) &&
- t._lazy &&
- (t.render(t._lazy[0], t._lazy[1], !0)._lazy = 0);
- },
- ke = function (e, t, n, r) {
- ce.length && Se(), e.render(t, n, r), ce.length && Se();
- },
- Ee = function (e) {
- var t = parseFloat(e);
- return (t || 0 === t) && (e + "").match(ee).length < 2
- ? t
- : z(e)
- ? e.trim()
- : e;
- },
- Pe = function (e) {
- return e;
- },
- Ce = function (e, t) {
- for (var n in t) n in e || (e[n] = t[n]);
- return e;
- },
- Oe = function (e, t) {
- for (var n in t)
- n in e || "duration" === n || "ease" === n || (e[n] = t[n]);
- },
- Re = function (e, t) {
- for (var n in t) e[n] = t[n];
- return e;
- },
- Ae = function e(t, n) {
- for (var r in n)
- "__proto__" !== r &&
- "constructor" !== r &&
- "prototype" !== r &&
- (t[r] = V(n[r]) ? e(t[r] || (t[r] = {}), n[r]) : n[r]);
- return t;
- },
- Me = function (e, t) {
- var n,
- r = {};
- for (n in e) n in t || (r[n] = e[n]);
- return r;
- },
- Ne = function (e) {
- var t = e.parent || v,
- n = e.keyframes ? Oe : Ce;
- if (H(e.inherit))
- for (; t; ) n(e, t.vars.defaults), (t = t.parent || t._dp);
- return e;
- },
- je = function (e, t, n, r) {
- void 0 === n && (n = "_first"), void 0 === r && (r = "_last");
- var a = t._prev,
- i = t._next;
- a ? (a._next = i) : e[n] === t && (e[n] = i),
- i ? (i._prev = a) : e[r] === t && (e[r] = a),
- (t._next = t._prev = t.parent = null);
- },
- Le = function (e, t) {
- e.parent && (!t || e.parent.autoRemoveChildren) && e.parent.remove(e),
- (e._act = 0);
- },
- De = function (e, t) {
- if (e && (!t || t._end > e._dur || t._start < 0))
- for (var n = e; n; ) (n._dirty = 1), (n = n.parent);
- return e;
- },
- Ie = function (e) {
- for (var t = e.parent; t && t.parent; )
- (t._dirty = 1), t.totalDuration(), (t = t.parent);
- return e;
- },
- Fe = function e(t) {
- return !t || (t._ts && e(t.parent));
- },
- ze = function (e) {
- return e._repeat
- ? Be(e._tTime, (e = e.duration() + e._rDelay)) * e
- : 0;
- },
- Be = function (e, t) {
- var n = Math.floor((e /= t));
- return e && n === e ? n - 1 : n;
- },
- Ue = function (e, t) {
- return (
- (e - t._start) * t._ts +
- (t._ts >= 0 ? 0 : t._dirty ? t.totalDuration() : t._tDur)
- );
- },
- qe = function (e) {
- return (e._end = xe(
- e._start + (e._tDur / Math.abs(e._ts || e._rts || M) || 0)
- ));
- },
- Ve = function (e, t) {
- var n = e._dp;
- return (
- n &&
- n.smoothChildTiming &&
- e._ts &&
- ((e._start = xe(
- n._time -
- (e._ts > 0
- ? t / e._ts
- : ((e._dirty ? e.totalDuration() : e._tDur) - t) / -e._ts)
- )),
- qe(e),
- n._dirty || De(n, e)),
- e
- );
- },
- He = function (e, t) {
- var n;
- if (
- ((t._time || (t._initted && !t._dur)) &&
- ((n = Ue(e.rawTime(), t)),
- (!t._dur || et(0, t.totalDuration(), n) - t._tTime > M) &&
- t.render(n, !0)),
- De(e, t)._dp && e._initted && e._time >= e._dur && e._ts)
- ) {
- if (e._dur < e.duration())
- for (n = e; n._dp; )
- n.rawTime() >= 0 && n.totalTime(n._tTime), (n = n._dp);
- e._zTime = -1e-8;
- }
- },
- We = function (e, t, n, r) {
- return (
- t.parent && Le(t),
- (t._start = xe(n + t._delay)),
- (t._end = xe(
- t._start + (t.totalDuration() / Math.abs(t.timeScale()) || 0)
- )),
- (function (e, t, n, r, a) {
- void 0 === n && (n = "_first"), void 0 === r && (r = "_last");
- var i,
- o = e[r];
- if (a) for (i = t[a]; o && o[a] > i; ) o = o._prev;
- o
- ? ((t._next = o._next), (o._next = t))
- : ((t._next = e[n]), (e[n] = t)),
- t._next ? (t._next._prev = t) : (e[r] = t),
- (t._prev = o),
- (t.parent = t._dp = e);
- })(e, t, "_first", "_last", e._sort ? "_start" : 0),
- (e._recent = t),
- r || He(e, t),
- e
- );
- },
- Ge = function (e, t) {
- return (
- (ne.ScrollTrigger || ie("scrollTrigger", t)) &&
- ne.ScrollTrigger.create(t, e)
- );
- },
- Qe = function (e, t, n, r) {
- return (
- Gt(e, t),
- e._initted
- ? !n &&
- e._pt &&
- ((e._dur && !1 !== e.vars.lazy) || (!e._dur && e.vars.lazy)) &&
- _ !== Et.frame
- ? (ce.push(e), (e._lazy = [t, r]), 1)
- : void 0
- : 1
- );
- },
- Ye = function e(t) {
- var n = t.parent;
- return (
- n && n._ts && n._initted && !n._lock && (n.rawTime() < 0 || e(n))
- );
- },
- Xe = function (e, t, n, r) {
- var a = e._repeat,
- i = xe(t) || 0,
- o = e._tTime / e._tDur;
- return (
- o && !r && (e._time *= i / e._dur),
- (e._dur = i),
- (e._tDur = a
- ? a < 0
- ? 1e10
- : xe(i * (a + 1) + e._rDelay * a)
- : i),
- o && !r ? Ve(e, (e._tTime = e._tDur * o)) : e.parent && qe(e),
- n || De(e.parent, e),
- e
- );
- },
- $e = function (e) {
- return e instanceof Ut ? De(e) : Xe(e, e._dur);
- },
- Je = {
- _start: 0,
- endTime: se,
- },
- Ke = function e(t, n) {
- var r,
- a,
- i = t.labels,
- o = t._recent || Je,
- l = t.duration() >= A ? o.endTime(!1) : t._dur;
- return z(n) && (isNaN(n) || n in i)
- ? "<" === (r = n.charAt(0)) || ">" === r
- ? ("<" === r ? o._start : o.endTime(o._repeat >= 0)) +
- (parseFloat(n.substr(1)) || 0)
- : (r = n.indexOf("=")) < 0
- ? (n in i || (i[n] = l), i[n])
- : ((a = +(n.charAt(r - 1) + n.substr(r + 1))),
- r > 1 ? e(t, n.substr(0, r - 1)) + a : l + a)
- : null == n
- ? l
- : +n;
- },
- Ze = function (e, t) {
- return e || 0 === e ? t(e) : t;
- },
- et = function (e, t, n) {
- return n < e ? e : n > t ? t : n;
- },
- tt = function (e) {
- if ("string" != typeof e) return "";
- var t = te.exec(e);
- return t ? e.substr(t.index + t[0].length) : "";
- },
- nt = [].slice,
- rt = function (e, t) {
- return (
- e &&
- V(e) &&
- "length" in e &&
- ((!t && !e.length) || (e.length - 1 in e && V(e[0]))) &&
- !e.nodeType &&
- e !== y
- );
- },
- at = function (e, t) {
- return !z(e) || t || (!b && Pt())
- ? Y(e)
- ? (function (e, t, n) {
- return (
- void 0 === n && (n = []),
- e.forEach(function (e) {
- var r;
- return (z(e) && !t) || rt(e, 1)
- ? (r = n).push.apply(r, at(e))
- : n.push(e);
- }) || n
- );
- })(e, t)
- : rt(e)
- ? nt.call(e, 0)
- : e
- ? [e]
- : []
- : nt.call(w.querySelectorAll(e), 0);
- },
- it = function (e) {
- return e.sort(function () {
- return 0.5 - Math.random();
- });
- },
- ot = function (e) {
- if (B(e)) return e;
- var t = V(e)
- ? e
- : {
- each: e,
- },
- n = jt(t.ease),
- r = t.from || 0,
- a = parseFloat(t.base) || 0,
- i = {},
- o = r > 0 && r < 1,
- l = isNaN(r) || o,
- s = t.axis,
- u = r,
- c = r;
- return (
- z(r)
- ? (u = c =
- {
- center: 0.5,
- edges: 0.5,
- end: 1,
- }[r] || 0)
- : !o && l && ((u = r[0]), (c = r[1])),
- function (e, o, d) {
- var f,
- p,
- h,
- m,
- g,
- v,
- y,
- b,
- w,
- x = (d || t).length,
- _ = i[x];
- if (!_) {
- if (!(w = "auto" === t.grid ? 0 : (t.grid || [1, A])[1])) {
- for (
- y = -A;
- y < (y = d[w++].getBoundingClientRect().left) && w < x;
-
- );
- w--;
- }
- for (
- _ = i[x] = [],
- f = l ? Math.min(w, x) * u - 0.5 : r % w,
- p = l ? (x * c) / w - 0.5 : (r / w) | 0,
- y = 0,
- b = A,
- v = 0;
- v < x;
- v++
- )
- (h = (v % w) - f),
- (m = p - ((v / w) | 0)),
- (_[v] = g =
- s ? Math.abs("y" === s ? m : h) : D(h * h + m * m)),
- g > y && (y = g),
- g < b && (b = g);
- "random" === r && it(_),
- (_.max = y - b),
- (_.min = b),
- (_.v = x =
- (parseFloat(t.amount) ||
- parseFloat(t.each) *
- (w > x
- ? x - 1
- : s
- ? "y" === s
- ? x / w
- : w
- : Math.max(w, x / w)) ||
- 0) * ("edges" === r ? -1 : 1)),
- (_.b = x < 0 ? a - x : a),
- (_.u = tt(t.amount || t.each) || 0),
- (n = n && x < 0 ? Mt(n) : n);
- }
- return (
- (x = (_[e] - _.min) / _.max || 0),
- xe(_.b + (n ? n(x) : x) * _.v) + _.u
- );
- }
- );
- },
- lt = function (e) {
- var t = e < 1 ? Math.pow(10, (e + "").length - 2) : 1;
- return function (n) {
- var r = Math.round(parseFloat(n) / e) * e * t;
- return (r - (r % 1)) / t + (U(n) ? 0 : tt(n));
- };
- },
- st = function (e, t) {
- var n,
- r,
- a = Y(e);
- return (
- !a &&
- V(e) &&
- ((n = a = e.radius || A),
- e.values
- ? ((e = at(e.values)), (r = !U(e[0])) && (n *= n))
- : (e = lt(e.increment))),
- Ze(
- t,
- a
- ? B(e)
- ? function (t) {
- return (r = e(t)), Math.abs(r - t) <= n ? r : t;
- }
- : function (t) {
- for (
- var a,
- i,
- o = parseFloat(r ? t.x : t),
- l = parseFloat(r ? t.y : 0),
- s = A,
- u = 0,
- c = e.length;
- c--;
-
- )
- (a = r
- ? (a = e[c].x - o) * a + (i = e[c].y - l) * i
- : Math.abs(e[c] - o)) < s && ((s = a), (u = c));
- return (
- (u = !n || s <= n ? e[u] : t),
- r || u === t || U(t) ? u : u + tt(t)
- );
- }
- : lt(e)
- )
- );
- },
- ut = function (e, t, n, r) {
- return Ze(Y(e) ? !t : !0 === n ? !!(n = 0) : !r, function () {
- return Y(e)
- ? e[~~(Math.random() * e.length)]
- : (n = n || 1e-5) &&
- (r = n < 1 ? Math.pow(10, (n + "").length - 2) : 1) &&
- Math.floor(
- Math.round(
- (e - n / 2 + Math.random() * (t - e + 0.99 * n)) / n
- ) *
- n *
- r
- ) / r;
- });
- },
- ct = function (e, t, n) {
- return Ze(n, function (n) {
- return e[~~t(n)];
- });
- },
- dt = function (e) {
- for (var t, n, r, a, i = 0, o = ""; ~(t = e.indexOf("random(", i)); )
- (r = e.indexOf(")", t)),
- (a = "[" === e.charAt(t + 7)),
- (n = e.substr(t + 7, r - t - 7).match(a ? ee : X)),
- (o +=
- e.substr(i, t - i) +
- ut(a ? n : +n[0], a ? 0 : +n[1], +n[2] || 1e-5)),
- (i = r + 1);
- return o + e.substr(i, e.length - i);
- },
- ft = function (e, t, n, r, a) {
- var i = t - e,
- o = r - n;
- return Ze(a, function (t) {
- return n + (((t - e) / i) * o || 0);
- });
- },
- pt = function (e, t, n) {
- var r,
- a,
- i,
- o = e.labels,
- l = A;
- for (r in o)
- (a = o[r] - t) < 0 == !!n &&
- a &&
- l > (a = Math.abs(a)) &&
- ((i = r), (l = a));
- return i;
- },
- ht = function (e, t, n) {
- var r,
- a,
- i = e.vars,
- o = i[t];
- if (o)
- return (
- (r = i[t + "Params"]),
- (a = i.callbackScope || e),
- n && ce.length && Se(),
- r ? o.apply(a, r) : o.call(a)
- );
- },
- mt = function (e) {
- return (
- Le(e),
- e.scrollTrigger && e.scrollTrigger.kill(!1),
- e.progress() < 1 && ht(e, "onInterrupt"),
- e
- );
- },
- gt = function (e) {
- var t = (e = (!e.name && e.default) || e).name,
- n = B(e),
- r =
- t && !n && e.init
- ? function () {
- this._props = [];
- }
- : e,
- a = {
- init: se,
- render: on,
- add: Ht,
- kill: sn,
- modifier: ln,
- rawVars: 0,
- },
- i = {
- targetTest: 0,
- get: 0,
- getSetter: tn,
- aliases: {},
- register: 0,
- };
- if ((Pt(), e !== r)) {
- if (fe[t]) return;
- Ce(r, Ce(Me(e, a), i)),
- Re(r.prototype, Re(a, Me(e, i))),
- (fe[(r.prop = t)] = r),
- e.targetTest && (me.push(r), (ue[t] = 1)),
- (t =
- ("css" === t
- ? "CSS"
- : t.charAt(0).toUpperCase() + t.substr(1)) + "Plugin");
- }
- le(t, r), e.register && e.register(mn, r, dn);
- },
- vt = 255,
- yt = {
- aqua: [0, vt, vt],
- lime: [0, vt, 0],
- silver: [192, 192, 192],
- black: [0, 0, 0],
- maroon: [128, 0, 0],
- teal: [0, 128, 128],
- blue: [0, 0, vt],
- navy: [0, 0, 128],
- white: [vt, vt, vt],
- olive: [128, 128, 0],
- yellow: [vt, vt, 0],
- orange: [vt, 165, 0],
- gray: [128, 128, 128],
- purple: [128, 0, 128],
- green: [0, 128, 0],
- red: [vt, 0, 0],
- pink: [vt, 192, 203],
- cyan: [0, vt, vt],
- transparent: [vt, vt, vt, 0],
- },
- bt = function (e, t, n) {
- return (
- ((6 * (e = e < 0 ? e + 1 : e > 1 ? e - 1 : e) < 1
- ? t + (n - t) * e * 6
- : e < 0.5
- ? n
- : 3 * e < 2
- ? t + (n - t) * (2 / 3 - e) * 6
- : t) *
- vt +
- 0.5) |
- 0
- );
- },
- wt = function (e, t, n) {
- var r,
- a,
- i,
- o,
- l,
- s,
- u,
- c,
- d,
- f,
- p = e ? (U(e) ? [e >> 16, (e >> 8) & vt, e & vt] : 0) : yt.black;
- if (!p) {
- if (
- ("," === e.substr(-1) && (e = e.substr(0, e.length - 1)), yt[e])
- )
- p = yt[e];
- else if ("#" === e.charAt(0)) {
- if (
- (e.length < 6 &&
- ((r = e.charAt(1)),
- (a = e.charAt(2)),
- (i = e.charAt(3)),
- (e =
- "#" +
- r +
- r +
- a +
- a +
- i +
- i +
- (5 === e.length ? e.charAt(4) + e.charAt(4) : ""))),
- 9 === e.length)
- )
- return [
- (p = parseInt(e.substr(1, 6), 16)) >> 16,
- (p >> 8) & vt,
- p & vt,
- parseInt(e.substr(7), 16) / 255,
- ];
- p = [
- (e = parseInt(e.substr(1), 16)) >> 16,
- (e >> 8) & vt,
- e & vt,
- ];
- } else if ("hsl" === e.substr(0, 3))
- if (((p = f = e.match(X)), t)) {
- if (~e.indexOf("="))
- return (p = e.match($)), n && p.length < 4 && (p[3] = 1), p;
- } else
- (o = (+p[0] % 360) / 360),
- (l = +p[1] / 100),
- (r =
- 2 * (s = +p[2] / 100) -
- (a = s <= 0.5 ? s * (l + 1) : s + l - s * l)),
- p.length > 3 && (p[3] *= 1),
- (p[0] = bt(o + 1 / 3, r, a)),
- (p[1] = bt(o, r, a)),
- (p[2] = bt(o - 1 / 3, r, a));
- else p = e.match(X) || yt.transparent;
- p = p.map(Number);
- }
- return (
- t &&
- !f &&
- ((r = p[0] / vt),
- (a = p[1] / vt),
- (i = p[2] / vt),
- (s = ((u = Math.max(r, a, i)) + (c = Math.min(r, a, i))) / 2),
- u === c
- ? (o = l = 0)
- : ((d = u - c),
- (l = s > 0.5 ? d / (2 - u - c) : d / (u + c)),
- (o =
- u === r
- ? (a - i) / d + (a < i ? 6 : 0)
- : u === a
- ? (i - r) / d + 2
- : (r - a) / d + 4),
- (o *= 60)),
- (p[0] = ~~(o + 0.5)),
- (p[1] = ~~(100 * l + 0.5)),
- (p[2] = ~~(100 * s + 0.5))),
- n && p.length < 4 && (p[3] = 1),
- p
- );
- },
- xt = function (e) {
- var t = [],
- n = [],
- r = -1;
- return (
- e.split(Tt).forEach(function (e) {
- var a = e.match(J) || [];
- t.push.apply(t, a), n.push((r += a.length + 1));
- }),
- (t.c = n),
- t
- );
- },
- _t = function (e, t, n) {
- var r,
- a,
- i,
- o,
- l = "",
- s = (e + l).match(Tt),
- u = t ? "hsla(" : "rgba(",
- c = 0;
- if (!s) return e;
- if (
- ((s = s.map(function (e) {
- return (
- (e = wt(e, t, 1)) &&
- u +
- (t
- ? e[0] + "," + e[1] + "%," + e[2] + "%," + e[3]
- : e.join(",")) +
- ")"
- );
- })),
- n && ((i = xt(e)), (r = n.c).join(l) !== i.c.join(l)))
- )
- for (o = (a = e.replace(Tt, "1").split(J)).length - 1; c < o; c++)
- l +=
- a[c] +
- (~r.indexOf(c)
- ? s.shift() || u + "0,0,0,0)"
- : (i.length ? i : s.length ? s : n).shift());
- if (!a)
- for (o = (a = e.split(Tt)).length - 1; c < o; c++) l += a[c] + s[c];
- return l + a[o];
- },
- Tt = (function () {
- var e,
- t =
- "(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";
- for (e in yt) t += "|" + e + "\\b";
- return new RegExp(t + ")", "gi");
- })(),
- St = /hsl[a]?\(/,
- kt = function (e) {
- var t,
- n = e.join(" ");
- if (((Tt.lastIndex = 0), Tt.test(n)))
- return (
- (t = St.test(n)),
- (e[1] = _t(e[1], t)),
- (e[0] = _t(e[0], t, xt(e[1]))),
- !0
- );
- },
- Et = (function () {
- var e,
- t,
- n,
- r,
- a,
- i,
- o = Date.now,
- l = 500,
- s = 33,
- u = o(),
- c = u,
- d = 1e3 / 240,
- f = d,
- p = [],
- h = function n(h) {
- var m,
- g,
- v,
- y,
- b = o() - c,
- w = !0 === h;
- if (
- (b > l && (u += b - s),
- ((m = (v = (c += b) - u) - f) > 0 || w) &&
- ((y = ++r.frame),
- (a = v - 1e3 * r.time),
- (r.time = v /= 1e3),
- (f += m + (m >= d ? 4 : d - m)),
- (g = 1)),
- w || (e = t(n)),
- g)
- )
- for (i = 0; i < p.length; i++) p[i](v, a, y, h);
- };
- return (r = {
- time: 0,
- frame: 0,
- tick: function () {
- h(!0);
- },
- deltaRatio: function (e) {
- return a / (1e3 / (e || 60));
- },
- wake: function () {
- x &&
- (!b &&
- W() &&
- ((y = b = window),
- (w = y.document || {}),
- (ne.gsap = mn),
- (y.gsapVersions || (y.gsapVersions = [])).push(mn.version),
- ae(re || y.GreenSockGlobals || (!y.gsap && y) || {}),
- (n = y.requestAnimationFrame)),
- e && r.sleep(),
- (t =
- n ||
- function (e) {
- return setTimeout(e, (f - 1e3 * r.time + 1) | 0);
- }),
- (S = 1),
- h(2));
- },
- sleep: function () {
- (n ? y.cancelAnimationFrame : clearTimeout)(e), (S = 0), (t = se);
- },
- lagSmoothing: function (e, t) {
- (l = e || 1e8), (s = Math.min(t, l, 0));
- },
- fps: function (e) {
- (d = 1e3 / (e || 240)), (f = 1e3 * r.time + d);
- },
- add: function (e) {
- p.indexOf(e) < 0 && p.push(e), Pt();
- },
- remove: function (e) {
- var t;
- ~(t = p.indexOf(e)) && p.splice(t, 1) && i >= t && i--;
- },
- _listeners: p,
- });
- })(),
- Pt = function () {
- return !S && Et.wake();
- },
- Ct = {},
- Ot = /^[\d.\-M][\d.\-,\s]/,
- Rt = /["']/g,
- At = function (e) {
- for (
- var t,
- n,
- r,
- a = {},
- i = e.substr(1, e.length - 3).split(":"),
- o = i[0],
- l = 1,
- s = i.length;
- l < s;
- l++
- )
- (n = i[l]),
- (t = l !== s - 1 ? n.lastIndexOf(",") : n.length),
- (r = n.substr(0, t)),
- (a[o] = isNaN(r) ? r.replace(Rt, "").trim() : +r),
- (o = n.substr(t + 1).trim());
- return a;
- },
- Mt = function (e) {
- return function (t) {
- return 1 - e(1 - t);
- };
- },
- Nt = function e(t, n) {
- for (var r, a = t._first; a; )
- a instanceof Ut
- ? e(a, n)
- : !a.vars.yoyoEase ||
- (a._yoyo && a._repeat) ||
- a._yoyo === n ||
- (a.timeline
- ? e(a.timeline, n)
- : ((r = a._ease),
- (a._ease = a._yEase),
- (a._yEase = r),
- (a._yoyo = n))),
- (a = a._next);
- },
- jt = function (e, t) {
- return (
- (e &&
- (B(e)
- ? e
- : Ct[e] ||
- (function (e) {
- var t,
- n,
- r,
- a,
- i = (e + "").split("("),
- o = Ct[i[0]];
- return o && i.length > 1 && o.config
- ? o.config.apply(
- null,
- ~e.indexOf("{")
- ? [At(i[1])]
- : ((t = e),
- (n = t.indexOf("(") + 1),
- (r = t.indexOf(")")),
- (a = t.indexOf("(", n)),
- t.substring(
- n,
- ~a && a < r ? t.indexOf(")", r + 1) : r
- ))
- .split(",")
- .map(Ee)
- )
- : Ct._CE && Ot.test(e)
- ? Ct._CE("", e)
- : o;
- })(e))) ||
- t
- );
- },
- Lt = function (e, t, n, r) {
- void 0 === n &&
- (n = function (e) {
- return 1 - t(1 - e);
- }),
- void 0 === r &&
- (r = function (e) {
- return e < 0.5 ? t(2 * e) / 2 : 1 - t(2 * (1 - e)) / 2;
- });
- var a,
- i = {
- easeIn: t,
- easeOut: n,
- easeInOut: r,
- };
- return (
- we(e, function (e) {
- for (var t in ((Ct[e] = ne[e] = i),
- (Ct[(a = e.toLowerCase())] = n),
- i))
- Ct[
- a +
- ("easeIn" === t
- ? ".in"
- : "easeOut" === t
- ? ".out"
- : ".inOut")
- ] = Ct[e + "." + t] = i[t];
- }),
- i
- );
- },
- Dt = function (e) {
- return function (t) {
- return t < 0.5
- ? (1 - e(1 - 2 * t)) / 2
- : 0.5 + e(2 * (t - 0.5)) / 2;
- };
- },
- It = function e(t, n, r) {
- var a = n >= 1 ? n : 1,
- i = (r || (t ? 0.3 : 0.45)) / (n < 1 ? n : 1),
- o = (i / N) * (Math.asin(1 / a) || 0),
- l = function (e) {
- return 1 === e
- ? 1
- : a * Math.pow(2, -10 * e) * F((e - o) * i) + 1;
- },
- s =
- "out" === t
- ? l
- : "in" === t
- ? function (e) {
- return 1 - l(1 - e);
- }
- : Dt(l);
- return (
- (i = N / i),
- (s.config = function (n, r) {
- return e(t, n, r);
- }),
- s
- );
- },
- Ft = function e(t, n) {
- void 0 === n && (n = 1.70158);
- var r = function (e) {
- return e ? --e * e * ((n + 1) * e + n) + 1 : 0;
- },
- a =
- "out" === t
- ? r
- : "in" === t
- ? function (e) {
- return 1 - r(1 - e);
- }
- : Dt(r);
- return (
- (a.config = function (n) {
- return e(t, n);
- }),
- a
- );
- };
- we("Linear,Quad,Cubic,Quart,Quint,Strong", function (e, t) {
- var n = t < 5 ? t + 1 : t;
- Lt(
- e + ",Power" + (n - 1),
- t
- ? function (e) {
- return Math.pow(e, n);
- }
- : function (e) {
- return e;
- },
- function (e) {
- return 1 - Math.pow(1 - e, n);
- },
- function (e) {
- return e < 0.5
- ? Math.pow(2 * e, n) / 2
- : 1 - Math.pow(2 * (1 - e), n) / 2;
- }
- );
- }),
- (Ct.Linear.easeNone = Ct.none = Ct.Linear.easeIn),
- Lt("Elastic", It("in"), It("out"), It()),
- (k = 7.5625),
- (P = 1 / (E = 2.75)),
- Lt(
- "Bounce",
- function (e) {
- return 1 - C(1 - e);
- },
- (C = function (e) {
- return e < P
- ? k * e * e
- : e < 0.7272727272727273
- ? k * Math.pow(e - 1.5 / E, 2) + 0.75
- : e < 0.9090909090909092
- ? k * (e -= 2.25 / E) * e + 0.9375
- : k * Math.pow(e - 2.625 / E, 2) + 0.984375;
- })
- ),
- Lt("Expo", function (e) {
- return e ? Math.pow(2, 10 * (e - 1)) : 0;
- }),
- Lt("Circ", function (e) {
- return -(D(1 - e * e) - 1);
- }),
- Lt("Sine", function (e) {
- return 1 === e ? 1 : 1 - I(e * j);
- }),
- Lt("Back", Ft("in"), Ft("out"), Ft()),
- (Ct.SteppedEase =
- Ct.steps =
- ne.SteppedEase =
- {
- config: function (e, t) {
- void 0 === e && (e = 1);
- var n = 1 / e,
- r = e + (t ? 0 : 1),
- a = t ? 1 : 0;
- return function (e) {
- return (((r * et(0, 0.99999999, e)) | 0) + a) * n;
- };
- },
- }),
- (R.ease = Ct["quad.out"]),
- we(
- "onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",
- function (e) {
- return (ge += e + "," + e + "Params,");
- }
- );
- var zt = function (e, t) {
- (this.id = L++),
- (e._gsap = this),
- (this.target = e),
- (this.harness = t),
- (this.get = t ? t.get : be),
- (this.set = t ? t.getSetter : tn);
- },
- Bt = (function () {
- function e(e, t) {
- var n = e.parent || v;
- (this.vars = e),
- (this._delay = +e.delay || 0),
- (this._repeat = e.repeat === 1 / 0 ? -2 : e.repeat || 0) &&
- ((this._rDelay = e.repeatDelay || 0),
- (this._yoyo = !!e.yoyo || !!e.yoyoEase)),
- (this._ts = 1),
- Xe(this, +e.duration, 1, 1),
- (this.data = e.data),
- S || Et.wake(),
- n && We(n, this, t || 0 === t ? t : n._time, 1),
- e.reversed && this.reverse(),
- e.paused && this.paused(!0);
- }
- var t = e.prototype;
- return (
- (t.delay = function (e) {
- return e || 0 === e
- ? (this.parent &&
- this.parent.smoothChildTiming &&
- this.startTime(this._start + e - this._delay),
- (this._delay = e),
- this)
- : this._delay;
- }),
- (t.duration = function (e) {
- return arguments.length
- ? this.totalDuration(
- this._repeat > 0 ? e + (e + this._rDelay) * this._repeat : e
- )
- : this.totalDuration() && this._dur;
- }),
- (t.totalDuration = function (e) {
- return arguments.length
- ? ((this._dirty = 0),
- Xe(
- this,
- this._repeat < 0
- ? e
- : (e - this._repeat * this._rDelay) / (this._repeat + 1)
- ))
- : this._tDur;
- }),
- (t.totalTime = function (e, t) {
- if ((Pt(), !arguments.length)) return this._tTime;
- var n = this._dp;
- if (n && n.smoothChildTiming && this._ts) {
- for (Ve(this, e), !n._dp || n.parent || He(n, this); n.parent; )
- n.parent._time !==
- n._start +
- (n._ts >= 0
- ? n._tTime / n._ts
- : (n.totalDuration() - n._tTime) / -n._ts) &&
- n.totalTime(n._tTime, !0),
- (n = n.parent);
- !this.parent &&
- this._dp.autoRemoveChildren &&
- ((this._ts > 0 && e < this._tDur) ||
- (this._ts < 0 && e > 0) ||
- (!this._tDur && !e)) &&
- We(this._dp, this, this._start - this._delay);
- }
- return (
- (this._tTime !== e ||
- (!this._dur && !t) ||
- (this._initted && Math.abs(this._zTime) === M) ||
- (!e && !this._initted && (this.add || this._ptLookup))) &&
- (this._ts || (this._pTime = e), ke(this, e, t)),
- this
- );
- }),
- (t.time = function (e, t) {
- return arguments.length
- ? this.totalTime(
- Math.min(this.totalDuration(), e + ze(this)) % this._dur ||
- (e ? this._dur : 0),
- t
- )
- : this._time;
- }),
- (t.totalProgress = function (e, t) {
- return arguments.length
- ? this.totalTime(this.totalDuration() * e, t)
- : this.totalDuration()
- ? Math.min(1, this._tTime / this._tDur)
- : this.ratio;
- }),
- (t.progress = function (e, t) {
- return arguments.length
- ? this.totalTime(
- this.duration() *
- (!this._yoyo || 1 & this.iteration() ? e : 1 - e) +
- ze(this),
- t
- )
- : this.duration()
- ? Math.min(1, this._time / this._dur)
- : this.ratio;
- }),
- (t.iteration = function (e, t) {
- var n = this.duration() + this._rDelay;
- return arguments.length
- ? this.totalTime(this._time + (e - 1) * n, t)
- : this._repeat
- ? Be(this._tTime, n) + 1
- : 1;
- }),
- (t.timeScale = function (e) {
- if (!arguments.length) return -1e-8 === this._rts ? 0 : this._rts;
- if (this._rts === e) return this;
- var t =
- this.parent && this._ts
- ? Ue(this.parent._time, this)
- : this._tTime;
- return (
- (this._rts = +e || 0),
- (this._ts = this._ps || -1e-8 === e ? 0 : this._rts),
- Ie(this.totalTime(et(-this._delay, this._tDur, t), !0))
- );
- }),
- (t.paused = function (e) {
- return arguments.length
- ? (this._ps !== e &&
- ((this._ps = e),
- e
- ? ((this._pTime =
- this._tTime ||
- Math.max(-this._delay, this.rawTime())),
- (this._ts = this._act = 0))
- : (Pt(),
- (this._ts = this._rts),
- this.totalTime(
- this.parent && !this.parent.smoothChildTiming
- ? this.rawTime()
- : this._tTime || this._pTime,
- 1 === this.progress() &&
- (this._tTime -= M) &&
- Math.abs(this._zTime) !== M
- ))),
- this)
- : this._ps;
- }),
- (t.startTime = function (e) {
- if (arguments.length) {
- this._start = e;
- var t = this.parent || this._dp;
- return (
- t &&
- (t._sort || !this.parent) &&
- We(t, this, e - this._delay),
- this
- );
- }
- return this._start;
- }),
- (t.endTime = function (e) {
- return (
- this._start +
- (H(e) ? this.totalDuration() : this.duration()) /
- Math.abs(this._ts)
- );
- }),
- (t.rawTime = function (e) {
- var t = this.parent || this._dp;
- return t
- ? e &&
- (!this._ts ||
- (this._repeat && this._time && this.totalProgress() < 1))
- ? this._tTime % (this._dur + this._rDelay)
- : this._ts
- ? Ue(t.rawTime(e), this)
- : this._tTime
- : this._tTime;
- }),
- (t.globalTime = function (e) {
- for (var t = this, n = arguments.length ? e : t.rawTime(); t; )
- (n = t._start + n / (t._ts || 1)), (t = t._dp);
- return n;
- }),
- (t.repeat = function (e) {
- return arguments.length
- ? ((this._repeat = e === 1 / 0 ? -2 : e), $e(this))
- : -2 === this._repeat
- ? 1 / 0
- : this._repeat;
- }),
- (t.repeatDelay = function (e) {
- return arguments.length
- ? ((this._rDelay = e), $e(this))
- : this._rDelay;
- }),
- (t.yoyo = function (e) {
- return arguments.length ? ((this._yoyo = e), this) : this._yoyo;
- }),
- (t.seek = function (e, t) {
- return this.totalTime(Ke(this, e), H(t));
- }),
- (t.restart = function (e, t) {
- return this.play().totalTime(e ? -this._delay : 0, H(t));
- }),
- (t.play = function (e, t) {
- return null != e && this.seek(e, t), this.reversed(!1).paused(!1);
- }),
- (t.reverse = function (e, t) {
- return (
- null != e && this.seek(e || this.totalDuration(), t),
- this.reversed(!0).paused(!1)
- );
- }),
- (t.pause = function (e, t) {
- return null != e && this.seek(e, t), this.paused(!0);
- }),
- (t.resume = function () {
- return this.paused(!1);
- }),
- (t.reversed = function (e) {
- return arguments.length
- ? (!!e !== this.reversed() &&
- this.timeScale(-this._rts || (e ? -1e-8 : 0)),
- this)
- : this._rts < 0;
- }),
- (t.invalidate = function () {
- return (
- (this._initted = this._act = 0), (this._zTime = -1e-8), this
- );
- }),
- (t.isActive = function () {
- var e,
- t = this.parent || this._dp,
- n = this._start;
- return !(
- t &&
- !(
- this._ts &&
- this._initted &&
- t.isActive() &&
- (e = t.rawTime(!0)) >= n &&
- e < this.endTime(!0) - M
- )
- );
- }),
- (t.eventCallback = function (e, t, n) {
- var r = this.vars;
- return arguments.length > 1
- ? (t
- ? ((r[e] = t),
- n && (r[e + "Params"] = n),
- "onUpdate" === e && (this._onUpdate = t))
- : delete r[e],
- this)
- : r[e];
- }),
- (t.then = function (e) {
- var t = this;
- return new Promise(function (n) {
- var r = B(e) ? e : Pe,
- a = function () {
- var e = t.then;
- (t.then = null),
- B(r) && (r = r(t)) && (r.then || r === t) && (t.then = e),
- n(r),
- (t.then = e);
- };
- (t._initted && 1 === t.totalProgress() && t._ts >= 0) ||
- (!t._tTime && t._ts < 0)
- ? a()
- : (t._prom = a);
- });
- }),
- (t.kill = function () {
- mt(this);
- }),
- e
- );
- })();
- Ce(Bt.prototype, {
- _time: 0,
- _start: 0,
- _end: 0,
- _tTime: 0,
- _tDur: 0,
- _dirty: 0,
- _repeat: 0,
- _yoyo: !1,
- parent: null,
- _initted: !1,
- _rDelay: 0,
- _ts: 1,
- _dp: 0,
- ratio: 0,
- _zTime: -1e-8,
- _prom: 0,
- _ps: !1,
- _rts: 1,
- });
- var Ut = (function (e) {
- function t(t, n) {
- var r;
- return (
- void 0 === t && (t = {}),
- ((r = e.call(this, t, n) || this).labels = {}),
- (r.smoothChildTiming = !!t.smoothChildTiming),
- (r.autoRemoveChildren = !!t.autoRemoveChildren),
- (r._sort = H(t.sortChildren)),
- r.parent && He(r.parent, h(r)),
- t.scrollTrigger && Ge(h(r), t.scrollTrigger),
- r
- );
- }
- m(t, e);
- var n = t.prototype;
- return (
- (n.to = function (e, t, n) {
- return (
- new $t(
- e,
- Te(arguments, 0, this),
- Ke(this, U(t) ? arguments[3] : n)
- ),
- this
- );
- }),
- (n.from = function (e, t, n) {
- return (
- new $t(
- e,
- Te(arguments, 1, this),
- Ke(this, U(t) ? arguments[3] : n)
- ),
- this
- );
- }),
- (n.fromTo = function (e, t, n, r) {
- return (
- new $t(
- e,
- Te(arguments, 2, this),
- Ke(this, U(t) ? arguments[4] : r)
- ),
- this
- );
- }),
- (n.set = function (e, t, n) {
- return (
- (t.duration = 0),
- (t.parent = this),
- Ne(t).repeatDelay || (t.repeat = 0),
- (t.immediateRender = !!t.immediateRender),
- new $t(e, t, Ke(this, n), 1),
- this
- );
- }),
- (n.call = function (e, t, n) {
- return We(this, $t.delayedCall(0, e, t), Ke(this, n));
- }),
- (n.staggerTo = function (e, t, n, r, a, i, o) {
- return (
- (n.duration = t),
- (n.stagger = n.stagger || r),
- (n.onComplete = i),
- (n.onCompleteParams = o),
- (n.parent = this),
- new $t(e, n, Ke(this, a)),
- this
- );
- }),
- (n.staggerFrom = function (e, t, n, r, a, i, o) {
- return (
- (n.runBackwards = 1),
- (Ne(n).immediateRender = H(n.immediateRender)),
- this.staggerTo(e, t, n, r, a, i, o)
- );
- }),
- (n.staggerFromTo = function (e, t, n, r, a, i, o, l) {
- return (
- (r.startAt = n),
- (Ne(r).immediateRender = H(r.immediateRender)),
- this.staggerTo(e, t, r, a, i, o, l)
- );
- }),
- (n.render = function (e, t, n) {
- var r,
- a,
- i,
- o,
- l,
- s,
- u,
- c,
- d,
- f,
- p,
- h,
- m = this._time,
- g = this._dirty ? this.totalDuration() : this._tDur,
- y = this._dur,
- b = this !== v && e > g - M && e >= 0 ? g : e < M ? 0 : e,
- w = this._zTime < 0 != e < 0 && (this._initted || !y);
- if (b !== this._tTime || n || w) {
- if (
- (m !== this._time &&
- y &&
- ((b += this._time - m), (e += this._time - m)),
- (r = b),
- (d = this._start),
- (s = !(c = this._ts)),
- w && (y || (m = this._zTime), (e || !t) && (this._zTime = e)),
- this._repeat)
- ) {
- if (
- ((p = this._yoyo),
- (l = y + this._rDelay),
- this._repeat < -1 && e < 0)
- )
- return this.totalTime(100 * l + e, t, n);
- if (
- ((r = xe(b % l)),
- b === g
- ? ((o = this._repeat), (r = y))
- : ((o = ~~(b / l)) && o === b / l && ((r = y), o--),
- r > y && (r = y)),
- (f = Be(this._tTime, l)),
- !m && this._tTime && f !== o && (f = o),
- p && 1 & o && ((r = y - r), (h = 1)),
- o !== f && !this._lock)
- ) {
- var x = p && 1 & f,
- _ = x === (p && 1 & o);
- if (
- (o < f && (x = !x),
- (m = x ? 0 : y),
- (this._lock = 1),
- (this.render(m || (h ? 0 : xe(o * l)), t, !y)._lock = 0),
- !t && this.parent && ht(this, "onRepeat"),
- this.vars.repeatRefresh &&
- !h &&
- (this.invalidate()._lock = 1),
- (m && m !== this._time) ||
- s !== !this._ts ||
- (this.vars.onRepeat && !this.parent && !this._act))
- )
- return this;
- if (
- ((y = this._dur),
- (g = this._tDur),
- _ &&
- ((this._lock = 2),
- (m = x ? y : -1e-4),
- this.render(m, !0)),
- (this._lock = 0),
- !this._ts && !s)
- )
- return this;
- Nt(this, h);
- }
- }
- if (
- (this._hasPause &&
- !this._forcing &&
- this._lock < 2 &&
- (u = (function (e, t, n) {
- var r;
- if (n > t)
- for (r = e._first; r && r._start <= n; ) {
- if (!r._dur && "isPause" === r.data && r._start > t)
- return r;
- r = r._next;
- }
- else
- for (r = e._last; r && r._start >= n; ) {
- if (!r._dur && "isPause" === r.data && r._start < t)
- return r;
- r = r._prev;
- }
- })(this, xe(m), xe(r))) &&
- (b -= r - (r = u._start)),
- (this._tTime = b),
- (this._time = r),
- (this._act = !c),
- this._initted ||
- ((this._onUpdate = this.vars.onUpdate),
- (this._initted = 1),
- (this._zTime = e),
- (m = 0)),
- !m && r && !t && ht(this, "onStart"),
- r >= m && e >= 0)
- )
- for (a = this._first; a; ) {
- if (
- ((i = a._next),
- (a._act || r >= a._start) && a._ts && u !== a)
- ) {
- if (a.parent !== this) return this.render(e, t, n);
- if (
- (a.render(
- a._ts > 0
- ? (r - a._start) * a._ts
- : (a._dirty ? a.totalDuration() : a._tDur) +
- (r - a._start) * a._ts,
- t,
- n
- ),
- r !== this._time || (!this._ts && !s))
- ) {
- (u = 0), i && (b += this._zTime = -1e-8);
- break;
- }
- }
- a = i;
- }
- else {
- a = this._last;
- for (var T = e < 0 ? e : r; a; ) {
- if (
- ((i = a._prev), (a._act || T <= a._end) && a._ts && u !== a)
- ) {
- if (a.parent !== this) return this.render(e, t, n);
- if (
- (a.render(
- a._ts > 0
- ? (T - a._start) * a._ts
- : (a._dirty ? a.totalDuration() : a._tDur) +
- (T - a._start) * a._ts,
- t,
- n
- ),
- r !== this._time || (!this._ts && !s))
- ) {
- (u = 0), i && (b += this._zTime = T ? -1e-8 : M);
- break;
- }
- }
- a = i;
- }
- }
- if (
- u &&
- !t &&
- (this.pause(),
- (u.render(r >= m ? 0 : -1e-8)._zTime = r >= m ? 1 : -1),
- this._ts)
- )
- return (this._start = d), qe(this), this.render(e, t, n);
- this._onUpdate && !t && ht(this, "onUpdate", !0),
- ((b === g && g >= this.totalDuration()) || (!b && m)) &&
- ((d !== this._start && Math.abs(c) === Math.abs(this._ts)) ||
- this._lock ||
- ((e || !y) &&
- ((b === g && this._ts > 0) || (!b && this._ts < 0)) &&
- Le(this, 1),
- t ||
- (e < 0 && !m) ||
- (!b && !m) ||
- (ht(
- this,
- b === g ? "onComplete" : "onReverseComplete",
- !0
- ),
- this._prom &&
- !(b < g && this.timeScale() > 0) &&
- this._prom())));
- }
- return this;
- }),
- (n.add = function (e, t) {
- var n = this;
- if ((U(t) || (t = Ke(this, t)), !(e instanceof Bt))) {
- if (Y(e))
- return (
- e.forEach(function (e) {
- return n.add(e, t);
- }),
- this
- );
- if (z(e)) return this.addLabel(e, t);
- if (!B(e)) return this;
- e = $t.delayedCall(0, e);
- }
- return this !== e ? We(this, e, t) : this;
- }),
- (n.getChildren = function (e, t, n, r) {
- void 0 === e && (e = !0),
- void 0 === t && (t = !0),
- void 0 === n && (n = !0),
- void 0 === r && (r = -A);
- for (var a = [], i = this._first; i; )
- i._start >= r &&
- (i instanceof $t
- ? t && a.push(i)
- : (n && a.push(i),
- e && a.push.apply(a, i.getChildren(!0, t, n)))),
- (i = i._next);
- return a;
- }),
- (n.getById = function (e) {
- for (var t = this.getChildren(1, 1, 1), n = t.length; n--; )
- if (t[n].vars.id === e) return t[n];
- }),
- (n.remove = function (e) {
- return z(e)
- ? this.removeLabel(e)
- : B(e)
- ? this.killTweensOf(e)
- : (je(this, e),
- e === this._recent && (this._recent = this._last),
- De(this));
- }),
- (n.totalTime = function (t, n) {
- return arguments.length
- ? ((this._forcing = 1),
- !this._dp &&
- this._ts &&
- (this._start = xe(
- Et.time -
- (this._ts > 0
- ? t / this._ts
- : (this.totalDuration() - t) / -this._ts)
- )),
- e.prototype.totalTime.call(this, t, n),
- (this._forcing = 0),
- this)
- : this._tTime;
- }),
- (n.addLabel = function (e, t) {
- return (this.labels[e] = Ke(this, t)), this;
- }),
- (n.removeLabel = function (e) {
- return delete this.labels[e], this;
- }),
- (n.addPause = function (e, t, n) {
- var r = $t.delayedCall(0, t || se, n);
- return (
- (r.data = "isPause"),
- (this._hasPause = 1),
- We(this, r, Ke(this, e))
- );
- }),
- (n.removePause = function (e) {
- var t = this._first;
- for (e = Ke(this, e); t; )
- t._start === e && "isPause" === t.data && Le(t), (t = t._next);
- }),
- (n.killTweensOf = function (e, t, n) {
- for (var r = this.getTweensOf(e, n), a = r.length; a--; )
- qt !== r[a] && r[a].kill(e, t);
- return this;
- }),
- (n.getTweensOf = function (e, t) {
- for (var n, r = [], a = at(e), i = this._first, o = U(t); i; )
- i instanceof $t
- ? _e(i._targets, a) &&
- (o
- ? (!qt || (i._initted && i._ts)) &&
- i.globalTime(0) <= t &&
- i.globalTime(i.totalDuration()) > t
- : !t || i.isActive()) &&
- r.push(i)
- : (n = i.getTweensOf(a, t)).length && r.push.apply(r, n),
- (i = i._next);
- return r;
- }),
- (n.tweenTo = function (e, t) {
- t = t || {};
- var n = this,
- r = Ke(n, e),
- a = t,
- i = a.startAt,
- o = a.onStart,
- l = a.onStartParams,
- s = a.immediateRender,
- u = $t.to(
- n,
- Ce(
- {
- ease: t.ease || "none",
- lazy: !1,
- immediateRender: !1,
- time: r,
- overwrite: "auto",
- duration:
- t.duration ||
- Math.abs(
- (r - (i && "time" in i ? i.time : n._time)) /
- n.timeScale()
- ) ||
- M,
- onStart: function () {
- n.pause();
- var e =
- t.duration || Math.abs((r - n._time) / n.timeScale());
- u._dur !== e && Xe(u, e, 0, 1).render(u._time, !0, !0),
- o && o.apply(u, l || []);
- },
- },
- t
- )
- );
- return s ? u.render(0) : u;
- }),
- (n.tweenFromTo = function (e, t, n) {
- return this.tweenTo(
- t,
- Ce(
- {
- startAt: {
- time: Ke(this, e),
- },
- },
- n
- )
- );
- }),
- (n.recent = function () {
- return this._recent;
- }),
- (n.nextLabel = function (e) {
- return void 0 === e && (e = this._time), pt(this, Ke(this, e));
- }),
- (n.previousLabel = function (e) {
- return void 0 === e && (e = this._time), pt(this, Ke(this, e), 1);
- }),
- (n.currentLabel = function (e) {
- return arguments.length
- ? this.seek(e, !0)
- : this.previousLabel(this._time + M);
- }),
- (n.shiftChildren = function (e, t, n) {
- void 0 === n && (n = 0);
- for (var r, a = this._first, i = this.labels; a; )
- a._start >= n && ((a._start += e), (a._end += e)), (a = a._next);
- if (t) for (r in i) i[r] >= n && (i[r] += e);
- return De(this);
- }),
- (n.invalidate = function () {
- var t = this._first;
- for (this._lock = 0; t; ) t.invalidate(), (t = t._next);
- return e.prototype.invalidate.call(this);
- }),
- (n.clear = function (e) {
- void 0 === e && (e = !0);
- for (var t, n = this._first; n; )
- (t = n._next), this.remove(n), (n = t);
- return (
- this._dp && (this._time = this._tTime = this._pTime = 0),
- e && (this.labels = {}),
- De(this)
- );
- }),
- (n.totalDuration = function (e) {
- var t,
- n,
- r,
- a = 0,
- i = this,
- o = i._last,
- l = A;
- if (arguments.length)
- return i.timeScale(
- (i._repeat < 0 ? i.duration() : i.totalDuration()) /
- (i.reversed() ? -e : e)
- );
- if (i._dirty) {
- for (r = i.parent; o; )
- (t = o._prev),
- o._dirty && o.totalDuration(),
- (n = o._start) > l && i._sort && o._ts && !i._lock
- ? ((i._lock = 1), (We(i, o, n - o._delay, 1)._lock = 0))
- : (l = n),
- n < 0 &&
- o._ts &&
- ((a -= n),
- ((!r && !i._dp) || (r && r.smoothChildTiming)) &&
- ((i._start += n / i._ts),
- (i._time -= n),
- (i._tTime -= n)),
- i.shiftChildren(-n, !1, -Infinity),
- (l = 0)),
- o._end > a && o._ts && (a = o._end),
- (o = t);
- Xe(i, i === v && i._time > a ? i._time : a, 1, 1), (i._dirty = 0);
- }
- return i._tDur;
- }),
- (t.updateRoot = function (e) {
- if ((v._ts && (ke(v, Ue(e, v)), (_ = Et.frame)), Et.frame >= he)) {
- he += O.autoSleep || 120;
- var t = v._first;
- if ((!t || !t._ts) && O.autoSleep && Et._listeners.length < 2) {
- for (; t && !t._ts; ) t = t._next;
- t || Et.sleep();
- }
- }
- }),
- t
- );
- })(Bt);
- Ce(Ut.prototype, {
- _lock: 0,
- _hasPause: 0,
- _forcing: 0,
- });
- var qt,
- Vt = function (e, t, n, r, a, i, o) {
- var l,
- s,
- u,
- c,
- d,
- f,
- p,
- h,
- m = new dn(this._pt, e, t, 0, 1, an, null, a),
- g = 0,
- v = 0;
- for (
- m.b = n,
- m.e = r,
- n += "",
- (p = ~(r += "").indexOf("random(")) && (r = dt(r)),
- i && (i((h = [n, r]), e, t), (n = h[0]), (r = h[1])),
- s = n.match(K) || [];
- (l = K.exec(r));
-
- )
- (c = l[0]),
- (d = r.substring(g, l.index)),
- u ? (u = (u + 1) % 5) : "rgba(" === d.substr(-5) && (u = 1),
- c !== s[v++] &&
- ((f = parseFloat(s[v - 1]) || 0),
- (m._pt = {
- _next: m._pt,
- p: d || 1 === v ? d : ",",
- s: f,
- c:
- "=" === c.charAt(1)
- ? parseFloat(c.substr(2)) * ("-" === c.charAt(0) ? -1 : 1)
- : parseFloat(c) - f,
- m: u && u < 4 ? Math.round : 0,
- }),
- (g = K.lastIndex));
- return (
- (m.c = g < r.length ? r.substring(g, r.length) : ""),
- (m.fp = o),
- (Z.test(r) || p) && (m.e = 0),
- (this._pt = m),
- m
- );
- },
- Ht = function (e, t, n, r, a, i, o, l, s) {
- B(r) && (r = r(a || 0, e, i));
- var u,
- c = e[t],
- d =
- "get" !== n
- ? n
- : B(c)
- ? s
- ? e[
- t.indexOf("set") || !B(e["get" + t.substr(3)])
- ? t
- : "get" + t.substr(3)
- ](s)
- : e[t]()
- : c,
- f = B(c) ? (s ? Zt : Kt) : Jt;
- if (
- (z(r) &&
- (~r.indexOf("random(") && (r = dt(r)),
- "=" === r.charAt(1) &&
- (r =
- parseFloat(d) +
- parseFloat(r.substr(2)) * ("-" === r.charAt(0) ? -1 : 1) +
- (tt(d) || 0))),
- d !== r)
- )
- return isNaN(d * r)
- ? (!c && !(t in e) && ie(t, r),
- Vt.call(this, e, t, d, r, f, l || O.stringFilter, s))
- : ((u = new dn(
- this._pt,
- e,
- t,
- +d || 0,
- r - (d || 0),
- "boolean" == typeof c ? rn : nn,
- 0,
- f
- )),
- s && (u.fp = s),
- o && u.modifier(o, this, e),
- (this._pt = u));
- },
- Wt = function (e, t, n, r, a, i) {
- var o, l, s, u;
- if (
- fe[e] &&
- !1 !==
- (o = new fe[e]()).init(
- a,
- o.rawVars
- ? t[e]
- : (function (e, t, n, r, a) {
- if (
- (B(e) && (e = Qt(e, a, t, n, r)),
- !V(e) || (e.style && e.nodeType) || Y(e) || Q(e))
- )
- return z(e) ? Qt(e, a, t, n, r) : e;
- var i,
- o = {};
- for (i in e) o[i] = Qt(e[i], a, t, n, r);
- return o;
- })(t[e], r, a, i, n),
- n,
- r,
- i
- ) &&
- ((n._pt = l =
- new dn(n._pt, a, e, 0, 1, o.render, o, 0, o.priority)),
- n !== T)
- )
- for (
- s = n._ptLookup[n._targets.indexOf(a)], u = o._props.length;
- u--;
-
- )
- s[o._props[u]] = l;
- return o;
- },
- Gt = function e(t, n) {
- var r,
- a,
- i,
- o,
- l,
- s,
- u,
- c,
- d,
- f,
- p,
- h,
- m,
- y = t.vars,
- b = y.ease,
- w = y.startAt,
- x = y.immediateRender,
- _ = y.lazy,
- T = y.onUpdate,
- S = y.onUpdateParams,
- k = y.callbackScope,
- E = y.runBackwards,
- P = y.yoyoEase,
- C = y.keyframes,
- O = y.autoRevert,
- A = t._dur,
- N = t._startAt,
- j = t._targets,
- L = t.parent,
- D = L && "nested" === L.data ? L.parent._targets : j,
- I = "auto" === t._overwrite && !g,
- F = t.timeline;
- if (
- (F && (!C || !b) && (b = "none"),
- (t._ease = jt(b, R.ease)),
- (t._yEase = P ? Mt(jt(!0 === P ? b : P, R.ease)) : 0),
- P &&
- t._yoyo &&
- !t._repeat &&
- ((P = t._yEase), (t._yEase = t._ease), (t._ease = P)),
- !F)
- ) {
- if (
- ((h = (c = j[0] ? ye(j[0]).harness : 0) && y[c.prop]),
- (r = Me(y, ue)),
- N && N.render(-1, !0).kill(),
- w)
- )
- if (
- (Le(
- (t._startAt = $t.set(
- j,
- Ce(
- {
- data: "isStart",
- overwrite: !1,
- parent: L,
- immediateRender: !0,
- lazy: H(_),
- startAt: null,
- delay: 0,
- onUpdate: T,
- onUpdateParams: S,
- callbackScope: k,
- stagger: 0,
- },
- w
- )
- ))
- ),
- x)
- ) {
- if (n > 0) O || (t._startAt = 0);
- else if (A && !(n < 0 && N)) return void (n && (t._zTime = n));
- } else !1 === O && (t._startAt = 0);
- else if (E && A)
- if (N) !O && (t._startAt = 0);
- else if (
- (n && (x = !1),
- (i = Ce(
- {
- overwrite: !1,
- data: "isFromStart",
- lazy: x && H(_),
- immediateRender: x,
- stagger: 0,
- parent: L,
- },
- r
- )),
- h && (i[c.prop] = h),
- Le((t._startAt = $t.set(j, i))),
- x)
- ) {
- if (!n) return;
- } else e(t._startAt, M);
- for (
- t._pt = 0, _ = (A && H(_)) || (_ && !A), a = 0;
- a < j.length;
- a++
- ) {
- if (
- ((u = (l = j[a])._gsap || ve(j)[a]._gsap),
- (t._ptLookup[a] = f = {}),
- de[u.id] && ce.length && Se(),
- (p = D === j ? a : D.indexOf(l)),
- c &&
- !1 !== (d = new c()).init(l, h || r, t, p, D) &&
- ((t._pt = o =
- new dn(t._pt, l, d.name, 0, 1, d.render, d, 0, d.priority)),
- d._props.forEach(function (e) {
- f[e] = o;
- }),
- d.priority && (s = 1)),
- !c || h)
- )
- for (i in r)
- fe[i] && (d = Wt(i, r, t, p, l, D))
- ? d.priority && (s = 1)
- : (f[i] = o =
- Ht.call(t, l, i, "get", r[i], p, D, 0, y.stringFilter));
- t._op && t._op[a] && t.kill(l, t._op[a]),
- I &&
- t._pt &&
- ((qt = t),
- v.killTweensOf(l, f, t.globalTime(0)),
- (m = !t.parent),
- (qt = 0)),
- t._pt && _ && (de[u.id] = 1);
- }
- s && cn(t), t._onInit && t._onInit(t);
- }
- (t._from = !F && !!y.runBackwards),
- (t._onUpdate = T),
- (t._initted = (!t._op || t._pt) && !m);
- },
- Qt = function (e, t, n, r, a) {
- return B(e)
- ? e.call(t, n, r, a)
- : z(e) && ~e.indexOf("random(")
- ? dt(e)
- : e;
- },
- Yt = ge + "repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase",
- Xt = (Yt + ",id,stagger,delay,duration,paused,scrollTrigger").split(
- ","
- ),
- $t = (function (e) {
- function t(t, n, r, a) {
- var i;
- "number" == typeof n && ((r.duration = n), (n = r), (r = null));
- var o,
- l,
- s,
- u,
- c,
- d,
- f,
- p,
- m = (i = e.call(this, a ? n : Ne(n), r) || this).vars,
- y = m.duration,
- b = m.delay,
- w = m.immediateRender,
- x = m.stagger,
- _ = m.overwrite,
- T = m.keyframes,
- S = m.defaults,
- k = m.scrollTrigger,
- E = m.yoyoEase,
- P = i.parent,
- C = (Y(t) || Q(t) ? U(t[0]) : "length" in n) ? [t] : at(t);
- if (
- ((i._targets = C.length
- ? ve(C)
- : oe(
- "GSAP target " + t + " not found. https://greensock.com",
- !O.nullTargetWarn
- ) || []),
- (i._ptLookup = []),
- (i._overwrite = _),
- T || x || G(y) || G(b))
- ) {
- if (
- ((n = i.vars),
- (o = i.timeline =
- new Ut({
- data: "nested",
- defaults: S || {},
- })).kill(),
- (o.parent = o._dp = h(i)),
- (o._start = 0),
- T)
- )
- Ce(o.vars.defaults, {
- ease: "none",
- }),
- T.forEach(function (e) {
- return o.to(C, e, ">");
- });
- else {
- if (((u = C.length), (f = x ? ot(x) : se), V(x)))
- for (c in x) ~Yt.indexOf(c) && (p || (p = {}), (p[c] = x[c]));
- for (l = 0; l < u; l++) {
- for (c in ((s = {}), n)) Xt.indexOf(c) < 0 && (s[c] = n[c]);
- (s.stagger = 0),
- E && (s.yoyoEase = E),
- p && Re(s, p),
- (d = C[l]),
- (s.duration = +Qt(y, h(i), l, d, C)),
- (s.delay = (+Qt(b, h(i), l, d, C) || 0) - i._delay),
- !x &&
- 1 === u &&
- s.delay &&
- ((i._delay = b = s.delay),
- (i._start += b),
- (s.delay = 0)),
- o.to(d, s, f(l, d, C));
- }
- o.duration() ? (y = b = 0) : (i.timeline = 0);
- }
- y || i.duration((y = o.duration()));
- } else i.timeline = 0;
- return (
- !0 !== _ || g || ((qt = h(i)), v.killTweensOf(C), (qt = 0)),
- P && He(P, h(i)),
- (w ||
- (!y &&
- !T &&
- i._start === xe(P._time) &&
- H(w) &&
- Fe(h(i)) &&
- "nested" !== P.data)) &&
- ((i._tTime = -1e-8), i.render(Math.max(0, -b))),
- k && Ge(h(i), k),
- i
- );
- }
- m(t, e);
- var n = t.prototype;
- return (
- (n.render = function (e, t, n) {
- var r,
- a,
- i,
- o,
- l,
- s,
- u,
- c,
- d,
- f = this._time,
- p = this._tDur,
- h = this._dur,
- m = e > p - M && e >= 0 ? p : e < M ? 0 : e;
- if (h) {
- if (
- m !== this._tTime ||
- !e ||
- n ||
- (!this._initted && this._tTime) ||
- (this._startAt && this._zTime < 0 != e < 0)
- ) {
- if (((r = m), (c = this.timeline), this._repeat)) {
- if (((o = h + this._rDelay), this._repeat < -1 && e < 0))
- return this.totalTime(100 * o + e, t, n);
- if (
- ((r = xe(m % o)),
- m === p
- ? ((i = this._repeat), (r = h))
- : ((i = ~~(m / o)) && i === m / o && ((r = h), i--),
- r > h && (r = h)),
- (s = this._yoyo && 1 & i) &&
- ((d = this._yEase), (r = h - r)),
- (l = Be(this._tTime, o)),
- r === f && !n && this._initted)
- )
- return this;
- i !== l &&
- (c && this._yEase && Nt(c, s),
- !this.vars.repeatRefresh ||
- s ||
- this._lock ||
- ((this._lock = n = 1),
- (this.render(xe(o * i), !0).invalidate()._lock = 0)));
- }
- if (!this._initted) {
- if (Qe(this, e < 0 ? e : r, n, t))
- return (this._tTime = 0), this;
- if (h !== this._dur) return this.render(e, t, n);
- }
- for (
- this._tTime = m,
- this._time = r,
- !this._act &&
- this._ts &&
- ((this._act = 1), (this._lazy = 0)),
- this.ratio = u = (d || this._ease)(r / h),
- this._from && (this.ratio = u = 1 - u),
- r && !f && !t && ht(this, "onStart"),
- a = this._pt;
- a;
-
- )
- a.r(u, a.d), (a = a._next);
- (c &&
- c.render(e < 0 ? e : !r && s ? -1e-8 : c._dur * u, t, n)) ||
- (this._startAt && (this._zTime = e)),
- this._onUpdate &&
- !t &&
- (e < 0 && this._startAt && this._startAt.render(e, !0, n),
- ht(this, "onUpdate")),
- this._repeat &&
- i !== l &&
- this.vars.onRepeat &&
- !t &&
- this.parent &&
- ht(this, "onRepeat"),
- (m !== this._tDur && m) ||
- this._tTime !== m ||
- (e < 0 &&
- this._startAt &&
- !this._onUpdate &&
- this._startAt.render(e, !0, !0),
- (e || !h) &&
- ((m === this._tDur && this._ts > 0) ||
- (!m && this._ts < 0)) &&
- Le(this, 1),
- t ||
- (e < 0 && !f) ||
- (!m && !f) ||
- (ht(
- this,
- m === p ? "onComplete" : "onReverseComplete",
- !0
- ),
- this._prom &&
- !(m < p && this.timeScale() > 0) &&
- this._prom()));
- }
- } else
- !(function (e, t, n, r) {
- var a,
- i,
- o,
- l = e.ratio,
- s =
- t < 0 ||
- (!t &&
- ((!e._start && Ye(e)) ||
- ((e._ts < 0 || e._dp._ts < 0) &&
- "isFromStart" !== e.data &&
- "isStart" !== e.data)))
- ? 0
- : 1,
- u = e._rDelay,
- c = 0;
- if (
- (u &&
- e._repeat &&
- ((c = et(0, e._tDur, t)),
- (i = Be(c, u)),
- (o = Be(e._tTime, u)),
- e._yoyo && 1 & i && (s = 1 - s),
- i !== o &&
- ((l = 1 - s),
- e.vars.repeatRefresh && e._initted && e.invalidate())),
- s !== l || r || e._zTime === M || (!t && e._zTime))
- ) {
- if (!e._initted && Qe(e, t, r, n)) return;
- for (
- o = e._zTime,
- e._zTime = t || (n ? M : 0),
- n || (n = t && !o),
- e.ratio = s,
- e._from && (s = 1 - s),
- e._time = 0,
- e._tTime = c,
- a = e._pt;
- a;
-
- )
- a.r(s, a.d), (a = a._next);
- e._startAt && t < 0 && e._startAt.render(t, !0, !0),
- e._onUpdate && !n && ht(e, "onUpdate"),
- c && e._repeat && !n && e.parent && ht(e, "onRepeat"),
- (t >= e._tDur || t < 0) &&
- e.ratio === s &&
- (s && Le(e, 1),
- n ||
- (ht(e, s ? "onComplete" : "onReverseComplete", !0),
- e._prom && e._prom()));
- } else e._zTime || (e._zTime = t);
- })(this, e, t, n);
- return this;
- }),
- (n.targets = function () {
- return this._targets;
- }),
- (n.invalidate = function () {
- return (
- (this._pt =
- this._op =
- this._startAt =
- this._onUpdate =
- this._lazy =
- this.ratio =
- 0),
- (this._ptLookup = []),
- this.timeline && this.timeline.invalidate(),
- e.prototype.invalidate.call(this)
- );
- }),
- (n.kill = function (e, t) {
- if ((void 0 === t && (t = "all"), !(e || (t && "all" !== t))))
- return (
- (this._lazy = this._pt = 0), this.parent ? mt(this) : this
- );
- if (this.timeline) {
- var n = this.timeline.totalDuration();
- return (
- this.timeline.killTweensOf(
- e,
- t,
- qt && !0 !== qt.vars.overwrite
- )._first || mt(this),
- this.parent &&
- n !== this.timeline.totalDuration() &&
- Xe(this, (this._dur * this.timeline._tDur) / n, 0, 1),
- this
- );
- }
- var r,
- a,
- i,
- o,
- l,
- s,
- u,
- c = this._targets,
- d = e ? at(e) : c,
- f = this._ptLookup,
- p = this._pt;
- if (
- (!t || "all" === t) &&
- (function (e, t) {
- for (
- var n = e.length, r = n === t.length;
- r && n-- && e[n] === t[n];
-
- );
- return n < 0;
- })(c, d)
- )
- return "all" === t && (this._pt = 0), mt(this);
- for (
- r = this._op = this._op || [],
- "all" !== t &&
- (z(t) &&
- ((l = {}),
- we(t, function (e) {
- return (l[e] = 1);
- }),
- (t = l)),
- (t = (function (e, t) {
- var n,
- r,
- a,
- i,
- o = e[0] ? ye(e[0]).harness : 0,
- l = o && o.aliases;
- if (!l) return t;
- for (r in ((n = Re({}, t)), l))
- if ((r in n))
- for (a = (i = l[r].split(",")).length; a--; )
- n[i[a]] = n[r];
- return n;
- })(c, t))),
- u = c.length;
- u--;
-
- )
- if (~d.indexOf(c[u]))
- for (l in ((a = f[u]),
- "all" === t
- ? ((r[u] = t), (o = a), (i = {}))
- : ((i = r[u] = r[u] || {}), (o = t)),
- o))
- (s = a && a[l]) &&
- (("kill" in s.d && !0 !== s.d.kill(l)) ||
- je(this, s, "_pt"),
- delete a[l]),
- "all" !== i && (i[l] = 1);
- return this._initted && !this._pt && p && mt(this), this;
- }),
- (t.to = function (e, n) {
- return new t(e, n, arguments[2]);
- }),
- (t.from = function (e, n) {
- return new t(e, Te(arguments, 1));
- }),
- (t.delayedCall = function (e, n, r, a) {
- return new t(n, 0, {
- immediateRender: !1,
- lazy: !1,
- overwrite: !1,
- delay: e,
- onComplete: n,
- onReverseComplete: n,
- onCompleteParams: r,
- onReverseCompleteParams: r,
- callbackScope: a,
- });
- }),
- (t.fromTo = function (e, n, r) {
- return new t(e, Te(arguments, 2));
- }),
- (t.set = function (e, n) {
- return (
- (n.duration = 0), n.repeatDelay || (n.repeat = 0), new t(e, n)
- );
- }),
- (t.killTweensOf = function (e, t, n) {
- return v.killTweensOf(e, t, n);
- }),
- t
- );
- })(Bt);
- Ce($t.prototype, {
- _targets: [],
- _lazy: 0,
- _startAt: 0,
- _op: 0,
- _onInit: 0,
- }),
- we("staggerTo,staggerFrom,staggerFromTo", function (e) {
- $t[e] = function () {
- var t = new Ut(),
- n = nt.call(arguments, 0);
- return (
- n.splice("staggerFromTo" === e ? 5 : 4, 0, 0), t[e].apply(t, n)
- );
- };
- });
- var Jt = function (e, t, n) {
- return (e[t] = n);
- },
- Kt = function (e, t, n) {
- return e[t](n);
- },
- Zt = function (e, t, n, r) {
- return e[t](r.fp, n);
- },
- en = function (e, t, n) {
- return e.setAttribute(t, n);
- },
- tn = function (e, t) {
- return B(e[t]) ? Kt : q(e[t]) && e.setAttribute ? en : Jt;
- },
- nn = function (e, t) {
- return t.set(t.t, t.p, Math.round(1e4 * (t.s + t.c * e)) / 1e4, t);
- },
- rn = function (e, t) {
- return t.set(t.t, t.p, !!(t.s + t.c * e), t);
- },
- an = function (e, t) {
- var n = t._pt,
- r = "";
- if (!e && t.b) r = t.b;
- else if (1 === e && t.e) r = t.e;
- else {
- for (; n; )
- (r =
- n.p +
- (n.m
- ? n.m(n.s + n.c * e)
- : Math.round(1e4 * (n.s + n.c * e)) / 1e4) +
- r),
- (n = n._next);
- r += t.c;
- }
- t.set(t.t, t.p, r, t);
- },
- on = function (e, t) {
- for (var n = t._pt; n; ) n.r(e, n.d), (n = n._next);
- },
- ln = function (e, t, n, r) {
- for (var a, i = this._pt; i; )
- (a = i._next), i.p === r && i.modifier(e, t, n), (i = a);
- },
- sn = function (e) {
- for (var t, n, r = this._pt; r; )
- (n = r._next),
- (r.p === e && !r.op) || r.op === e
- ? je(this, r, "_pt")
- : r.dep || (t = 1),
- (r = n);
- return !t;
- },
- un = function (e, t, n, r) {
- r.mSet(e, t, r.m.call(r.tween, n, r.mt), r);
- },
- cn = function (e) {
- for (var t, n, r, a, i = e._pt; i; ) {
- for (t = i._next, n = r; n && n.pr > i.pr; ) n = n._next;
- (i._prev = n ? n._prev : a) ? (i._prev._next = i) : (r = i),
- (i._next = n) ? (n._prev = i) : (a = i),
- (i = t);
- }
- e._pt = r;
- },
- dn = (function () {
- function e(e, t, n, r, a, i, o, l, s) {
- (this.t = t),
- (this.s = r),
- (this.c = a),
- (this.p = n),
- (this.r = i || nn),
- (this.d = o || this),
- (this.set = l || Jt),
- (this.pr = s || 0),
- (this._next = e),
- e && (e._prev = this);
- }
- return (
- (e.prototype.modifier = function (e, t, n) {
- (this.mSet = this.mSet || this.set),
- (this.set = un),
- (this.m = e),
- (this.mt = n),
- (this.tween = t);
- }),
- e
- );
- })();
- we(
- ge +
- "parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",
- function (e) {
- return (ue[e] = 1);
- }
- ),
- (ne.TweenMax = ne.TweenLite = $t),
- (ne.TimelineLite = ne.TimelineMax = Ut),
- (v = new Ut({
- sortChildren: !1,
- defaults: R,
- autoRemoveChildren: !0,
- id: "root",
- smoothChildTiming: !0,
- })),
- (O.stringFilter = kt);
- var fn = {
- registerPlugin: function () {
- for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
- t[n] = arguments[n];
- t.forEach(function (e) {
- return gt(e);
- });
- },
- timeline: function (e) {
- return new Ut(e);
- },
- getTweensOf: function (e, t) {
- return v.getTweensOf(e, t);
- },
- getProperty: function (e, t, n, r) {
- z(e) && (e = at(e)[0]);
- var a = ye(e || {}).get,
- i = n ? Pe : Ee;
- return (
- "native" === n && (n = ""),
- e
- ? t
- ? i(((fe[t] && fe[t].get) || a)(e, t, n, r))
- : function (t, n, r) {
- return i(((fe[t] && fe[t].get) || a)(e, t, n, r));
- }
- : e
- );
- },
- quickSetter: function (e, t, n) {
- if ((e = at(e)).length > 1) {
- var r = e.map(function (e) {
- return mn.quickSetter(e, t, n);
- }),
- a = r.length;
- return function (e) {
- for (var t = a; t--; ) r[t](e);
- };
- }
- e = e[0] || {};
- var i = fe[t],
- o = ye(e),
- l = (o.harness && (o.harness.aliases || {})[t]) || t,
- s = i
- ? function (t) {
- var r = new i();
- (T._pt = 0),
- r.init(e, n ? t + n : t, T, 0, [e]),
- r.render(1, r),
- T._pt && on(1, T);
- }
- : o.set(e, l);
- return i
- ? s
- : function (t) {
- return s(e, l, n ? t + n : t, o, 1);
- };
- },
- isTweening: function (e) {
- return v.getTweensOf(e, !0).length > 0;
- },
- defaults: function (e) {
- return e && e.ease && (e.ease = jt(e.ease, R.ease)), Ae(R, e || {});
- },
- config: function (e) {
- return Ae(O, e || {});
- },
- registerEffect: function (e) {
- var t = e.name,
- n = e.effect,
- r = e.plugins,
- a = e.defaults,
- i = e.extendTimeline;
- (r || "").split(",").forEach(function (e) {
- return (
- e &&
- !fe[e] &&
- !ne[e] &&
- oe(t + " effect requires " + e + " plugin.")
- );
- }),
- (pe[t] = function (e, t, r) {
- return n(at(e), Ce(t || {}, a), r);
- }),
- i &&
- (Ut.prototype[t] = function (e, n, r) {
- return this.add(pe[t](e, V(n) ? n : (r = n) && {}, this), r);
- });
- },
- registerEase: function (e, t) {
- Ct[e] = jt(t);
- },
- parseEase: function (e, t) {
- return arguments.length ? jt(e, t) : Ct;
- },
- getById: function (e) {
- return v.getById(e);
- },
- exportRoot: function (e, t) {
- void 0 === e && (e = {});
- var n,
- r,
- a = new Ut(e);
- for (
- a.smoothChildTiming = H(e.smoothChildTiming),
- v.remove(a),
- a._dp = 0,
- a._time = a._tTime = v._time,
- n = v._first;
- n;
-
- )
- (r = n._next),
- (!t &&
- !n._dur &&
- n instanceof $t &&
- n.vars.onComplete === n._targets[0]) ||
- We(a, n, n._start - n._delay),
- (n = r);
- return We(v, a, 0), a;
- },
- utils: {
- wrap: function e(t, n, r) {
- var a = n - t;
- return Y(t)
- ? ct(t, e(0, t.length), n)
- : Ze(r, function (e) {
- return ((a + ((e - t) % a)) % a) + t;
- });
- },
- wrapYoyo: function e(t, n, r) {
- var a = n - t,
- i = 2 * a;
- return Y(t)
- ? ct(t, e(0, t.length - 1), n)
- : Ze(r, function (e) {
- return (
- t + ((e = (i + ((e - t) % i)) % i || 0) > a ? i - e : e)
- );
- });
- },
- distribute: ot,
- random: ut,
- snap: st,
- normalize: function (e, t, n) {
- return ft(e, t, 0, 1, n);
- },
- getUnit: tt,
- clamp: function (e, t, n) {
- return Ze(n, function (n) {
- return et(e, t, n);
- });
- },
- splitColor: wt,
- toArray: at,
- mapRange: ft,
- pipe: function () {
- for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
- t[n] = arguments[n];
- return function (e) {
- return t.reduce(function (e, t) {
- return t(e);
- }, e);
- };
- },
- unitize: function (e, t) {
- return function (n) {
- return e(parseFloat(n)) + (t || tt(n));
- };
- },
- interpolate: function e(t, n, r, a) {
- var i = isNaN(t + n)
- ? 0
- : function (e) {
- return (1 - e) * t + e * n;
- };
- if (!i) {
- var o,
- l,
- s,
- u,
- c,
- d = z(t),
- f = {};
- if ((!0 === r && (a = 1) && (r = null), d))
- (t = {
- p: t,
- }),
- (n = {
- p: n,
- });
- else if (Y(t) && !Y(n)) {
- for (s = [], u = t.length, c = u - 2, l = 1; l < u; l++)
- s.push(e(t[l - 1], t[l]));
- u--,
- (i = function (e) {
- e *= u;
- var t = Math.min(c, ~~e);
- return s[t](e - t);
- }),
- (r = n);
- } else a || (t = Re(Y(t) ? [] : {}, t));
- if (!s) {
- for (o in n) Ht.call(f, t, o, "get", n[o]);
- i = function (e) {
- return on(e, f) || (d ? t.p : t);
- };
- }
- }
- return Ze(r, i);
- },
- shuffle: it,
- },
- install: ae,
- effects: pe,
- ticker: Et,
- updateRoot: Ut.updateRoot,
- plugins: fe,
- globalTimeline: v,
- core: {
- PropTween: dn,
- globals: le,
- Tween: $t,
- Timeline: Ut,
- Animation: Bt,
- getCache: ye,
- _removeLinkedListItem: je,
- suppressOverwrites: function (e) {
- return (g = e);
- },
- },
- };
- we("to,from,fromTo,delayedCall,set,killTweensOf", function (e) {
- return (fn[e] = $t[e]);
- }),
- Et.add(Ut.updateRoot),
- (T = fn.to(
- {},
- {
- duration: 0,
- }
- ));
- var pn = function (e, t) {
- for (var n = e._pt; n && n.p !== t && n.op !== t && n.fp !== t; )
- n = n._next;
- return n;
- },
- hn = function (e, t) {
- return {
- name: e,
- rawVars: 1,
- init: function (e, n, r) {
- r._onInit = function (e) {
- var r, a;
- if (
- (z(n) &&
- ((r = {}),
- we(n, function (e) {
- return (r[e] = 1);
- }),
- (n = r)),
- t)
- ) {
- for (a in ((r = {}), n)) r[a] = t(n[a]);
- n = r;
- }
- !(function (e, t) {
- var n,
- r,
- a,
- i = e._targets;
- for (n in t)
- for (r = i.length; r--; )
- (a = e._ptLookup[r][n]) &&
- (a = a.d) &&
- (a._pt && (a = pn(a, n)),
- a && a.modifier && a.modifier(t[n], e, i[r], n));
- })(e, n);
- };
- },
- };
- },
- mn =
- fn.registerPlugin(
- {
- name: "attr",
- init: function (e, t, n, r, a) {
- var i, o;
- for (i in t)
- (o = this.add(
- e,
- "setAttribute",
- (e.getAttribute(i) || 0) + "",
- t[i],
- r,
- a,
- 0,
- 0,
- i
- )) && (o.op = i),
- this._props.push(i);
- },
- },
- {
- name: "endArray",
- init: function (e, t) {
- for (var n = t.length; n--; ) this.add(e, n, e[n] || 0, t[n]);
- },
- },
- hn("roundProps", lt),
- hn("modifiers"),
- hn("snap", st)
- ) || fn;
- ($t.version = Ut.version = mn.version = "3.6.1"),
- (x = 1),
- W() && Pt(),
- Ct.Power0,
- Ct.Power1,
- Ct.Power2,
- Ct.Power3,
- Ct.Power4,
- Ct.Linear,
- Ct.Quad,
- Ct.Cubic,
- Ct.Quart,
- Ct.Quint,
- Ct.Strong,
- Ct.Elastic,
- Ct.Back,
- Ct.SteppedEase,
- Ct.Bounce,
- Ct.Sine,
- Ct.Expo,
- Ct.Circ;
- var gn,
- vn,
- yn,
- bn,
- wn,
- xn,
- _n,
- Tn = {},
- Sn = 180 / Math.PI,
- kn = Math.PI / 180,
- En = Math.atan2,
- Pn = /([A-Z])/g,
- Cn = /(?:left|right|width|margin|padding|x)/i,
- On = /[\s,\(]\S/,
- Rn = {
- autoAlpha: "opacity,visibility",
- scale: "scaleX,scaleY",
- alpha: "opacity",
- },
- An = function (e, t) {
- return t.set(
- t.t,
- t.p,
- Math.round(1e4 * (t.s + t.c * e)) / 1e4 + t.u,
- t
- );
- },
- Mn = function (e, t) {
- return t.set(
- t.t,
- t.p,
- 1 === e ? t.e : Math.round(1e4 * (t.s + t.c * e)) / 1e4 + t.u,
- t
- );
- },
- Nn = function (e, t) {
- return t.set(
- t.t,
- t.p,
- e ? Math.round(1e4 * (t.s + t.c * e)) / 1e4 + t.u : t.b,
- t
- );
- },
- jn = function (e, t) {
- var n = t.s + t.c * e;
- t.set(t.t, t.p, ~~(n + (n < 0 ? -0.5 : 0.5)) + t.u, t);
- },
- Ln = function (e, t) {
- return t.set(t.t, t.p, e ? t.e : t.b, t);
- },
- Dn = function (e, t) {
- return t.set(t.t, t.p, 1 !== e ? t.b : t.e, t);
- },
- In = function (e, t, n) {
- return (e.style[t] = n);
- },
- Fn = function (e, t, n) {
- return e.style.setProperty(t, n);
- },
- zn = function (e, t, n) {
- return (e._gsap[t] = n);
- },
- Bn = function (e, t, n) {
- return (e._gsap.scaleX = e._gsap.scaleY = n);
- },
- Un = function (e, t, n, r, a) {
- var i = e._gsap;
- (i.scaleX = i.scaleY = n), i.renderTransform(a, i);
- },
- qn = function (e, t, n, r, a) {
- var i = e._gsap;
- (i[t] = n), i.renderTransform(a, i);
- },
- Vn = "transform",
- Hn = Vn + "Origin",
- Wn = function (e, t) {
- var n = vn.createElementNS
- ? vn.createElementNS(
- (t || "http://www.w3.org/1999/xhtml").replace(/^https/, "http"),
- e
- )
- : vn.createElement(e);
- return n.style ? n : vn.createElement(e);
- },
- Gn = function e(t, n, r) {
- var a = getComputedStyle(t);
- return (
- a[n] ||
- a.getPropertyValue(n.replace(Pn, "-$1").toLowerCase()) ||
- a.getPropertyValue(n) ||
- (!r && e(t, Yn(n) || n, 1)) ||
- ""
- );
- },
- Qn = "O,Moz,ms,Ms,Webkit".split(","),
- Yn = function (e, t, n) {
- var r = (t || wn).style,
- a = 5;
- if (e in r && !n) return e;
- for (
- e = e.charAt(0).toUpperCase() + e.substr(1);
- a-- && !(Qn[a] + e in r);
-
- );
- return a < 0 ? null : (3 === a ? "ms" : a >= 0 ? Qn[a] : "") + e;
- },
- Xn = function () {
- "undefined" != typeof window &&
- window.document &&
- ((gn = window),
- (vn = gn.document),
- (yn = vn.documentElement),
- (wn = Wn("div") || {
- style: {},
- }),
- Wn("div"),
- (Vn = Yn(Vn)),
- (Hn = Vn + "Origin"),
- (wn.style.cssText =
- "border-width:0;line-height:0;position:absolute;padding:0"),
- (_n = !!Yn("perspective")),
- (bn = 1));
- },
- $n = function e(t) {
- var n,
- r = Wn(
- "svg",
- (this.ownerSVGElement &&
- this.ownerSVGElement.getAttribute("xmlns")) ||
- "http://www.w3.org/2000/svg"
- ),
- a = this.parentNode,
- i = this.nextSibling,
- o = this.style.cssText;
- if (
- (yn.appendChild(r),
- r.appendChild(this),
- (this.style.display = "block"),
- t)
- )
- try {
- (n = this.getBBox()),
- (this._gsapBBox = this.getBBox),
- (this.getBBox = e);
- } catch (e) {}
- else this._gsapBBox && (n = this._gsapBBox());
- return (
- a && (i ? a.insertBefore(this, i) : a.appendChild(this)),
- yn.removeChild(r),
- (this.style.cssText = o),
- n
- );
- },
- Jn = function (e, t) {
- for (var n = t.length; n--; )
- if (e.hasAttribute(t[n])) return e.getAttribute(t[n]);
- },
- Kn = function (e) {
- var t;
- try {
- t = e.getBBox();
- } catch (n) {
- t = $n.call(e, !0);
- }
- return (
- (t && (t.width || t.height)) ||
- e.getBBox === $n ||
- (t = $n.call(e, !0)),
- !t || t.width || t.x || t.y
- ? t
- : {
- x: +Jn(e, ["x", "cx", "x1"]) || 0,
- y: +Jn(e, ["y", "cy", "y1"]) || 0,
- width: 0,
- height: 0,
- }
- );
- },
- Zn = function (e) {
- return !(!e.getCTM || (e.parentNode && !e.ownerSVGElement) || !Kn(e));
- },
- er = function (e, t) {
- if (t) {
- var n = e.style;
- t in Tn && t !== Hn && (t = Vn),
- n.removeProperty
- ? (("ms" !== t.substr(0, 2) && "webkit" !== t.substr(0, 6)) ||
- (t = "-" + t),
- n.removeProperty(t.replace(Pn, "-$1").toLowerCase()))
- : n.removeAttribute(t);
- }
- },
- tr = function (e, t, n, r, a, i) {
- var o = new dn(e._pt, t, n, 0, 1, i ? Dn : Ln);
- return (e._pt = o), (o.b = r), (o.e = a), e._props.push(n), o;
- },
- nr = {
- deg: 1,
- rad: 1,
- turn: 1,
- },
- rr = function e(t, n, r, a) {
- var i,
- o,
- l,
- s,
- u = parseFloat(r) || 0,
- c = (r + "").trim().substr((u + "").length) || "px",
- d = wn.style,
- f = Cn.test(n),
- p = "svg" === t.tagName.toLowerCase(),
- h = (p ? "client" : "offset") + (f ? "Width" : "Height"),
- m = 100,
- g = "px" === a,
- v = "%" === a;
- return a === c || !u || nr[a] || nr[c]
- ? u
- : ("px" !== c && !g && (u = e(t, n, r, "px")),
- (s = t.getCTM && Zn(t)),
- (!v && "%" !== c) || (!Tn[n] && !~n.indexOf("adius"))
- ? ((d[f ? "width" : "height"] = m + (g ? c : a)),
- (o =
- ~n.indexOf("adius") || ("em" === a && t.appendChild && !p)
- ? t
- : t.parentNode),
- s && (o = (t.ownerSVGElement || {}).parentNode),
- (o && o !== vn && o.appendChild) || (o = vn.body),
- (l = o._gsap) && v && l.width && f && l.time === Et.time
- ? xe((u / l.width) * m)
- : ((v || "%" === c) && (d.position = Gn(t, "position")),
- o === t && (d.position = "static"),
- o.appendChild(wn),
- (i = wn[h]),
- o.removeChild(wn),
- (d.position = "absolute"),
- f &&
- v &&
- (((l = ye(o)).time = Et.time), (l.width = o[h])),
- xe(g ? (i * u) / m : i && u ? (m / i) * u : 0)))
- : ((i = s ? t.getBBox()[f ? "width" : "height"] : t[h]),
- xe(v ? (u / i) * m : (u / 100) * i)));
- },
- ar = function (e, t, n, r) {
- var a;
- return (
- bn || Xn(),
- t in Rn &&
- "transform" !== t &&
- ~(t = Rn[t]).indexOf(",") &&
- (t = t.split(",")[0]),
- Tn[t] && "transform" !== t
- ? ((a = mr(e, r)),
- (a =
- "transformOrigin" !== t
- ? a[t]
- : gr(Gn(e, Hn)) + " " + a.zOrigin + "px"))
- : (!(a = e.style[t]) ||
- "auto" === a ||
- r ||
- ~(a + "").indexOf("calc(")) &&
- (a =
- (sr[t] && sr[t](e, t, n)) ||
- Gn(e, t) ||
- be(e, t) ||
- ("opacity" === t ? 1 : 0)),
- n && !~(a + "").trim().indexOf(" ") ? rr(e, t, a, n) + n : a
- );
- },
- ir = function (e, t, n, r) {
- if (!n || "none" === n) {
- var a = Yn(t, e, 1),
- i = a && Gn(e, a, 1);
- i && i !== n
- ? ((t = a), (n = i))
- : "borderColor" === t && (n = Gn(e, "borderTopColor"));
- }
- var o,
- l,
- s,
- u,
- c,
- d,
- f,
- p,
- h,
- m,
- g,
- v,
- y = new dn(this._pt, e.style, t, 0, 1, an),
- b = 0,
- w = 0;
- if (
- ((y.b = n),
- (y.e = r),
- (n += ""),
- "auto" == (r += "") &&
- ((e.style[t] = r), (r = Gn(e, t) || r), (e.style[t] = n)),
- kt((o = [n, r])),
- (r = o[1]),
- (s = (n = o[0]).match(J) || []),
- (r.match(J) || []).length)
- ) {
- for (; (l = J.exec(r)); )
- (f = l[0]),
- (h = r.substring(b, l.index)),
- c
- ? (c = (c + 1) % 5)
- : ("rgba(" !== h.substr(-5) && "hsla(" !== h.substr(-5)) ||
- (c = 1),
- f !== (d = s[w++] || "") &&
- ((u = parseFloat(d) || 0),
- (g = d.substr((u + "").length)),
- (v = "=" === f.charAt(1) ? +(f.charAt(0) + "1") : 0) &&
- (f = f.substr(2)),
- (p = parseFloat(f)),
- (m = f.substr((p + "").length)),
- (b = J.lastIndex - m.length),
- m ||
- ((m = m || O.units[t] || g),
- b === r.length && ((r += m), (y.e += m))),
- g !== m && (u = rr(e, t, d, m) || 0),
- (y._pt = {
- _next: y._pt,
- p: h || 1 === w ? h : ",",
- s: u,
- c: v ? v * p : p - u,
- m: (c && c < 4) || "zIndex" === t ? Math.round : 0,
- }));
- y.c = b < r.length ? r.substring(b, r.length) : "";
- } else y.r = "display" === t && "none" === r ? Dn : Ln;
- return Z.test(r) && (y.e = 0), (this._pt = y), y;
- },
- or = {
- top: "0%",
- bottom: "100%",
- left: "0%",
- right: "100%",
- center: "50%",
- },
- lr = function (e, t) {
- if (t.tween && t.tween._time === t.tween._dur) {
- var n,
- r,
- a,
- i = t.t,
- o = i.style,
- l = t.u,
- s = i._gsap;
- if ("all" === l || !0 === l) (o.cssText = ""), (r = 1);
- else
- for (a = (l = l.split(",")).length; --a > -1; )
- (n = l[a]),
- Tn[n] && ((r = 1), (n = "transformOrigin" === n ? Hn : Vn)),
- er(i, n);
- r &&
- (er(i, Vn),
- s &&
- (s.svg && i.removeAttribute("transform"),
- mr(i, 1),
- (s.uncache = 1)));
- }
- },
- sr = {
- clearProps: function (e, t, n, r, a) {
- if ("isFromStart" !== a.data) {
- var i = (e._pt = new dn(e._pt, t, n, 0, 0, lr));
- return (
- (i.u = r), (i.pr = -10), (i.tween = a), e._props.push(n), 1
- );
- }
- },
- },
- ur = [1, 0, 0, 1, 0, 0],
- cr = {},
- dr = function (e) {
- return "matrix(1, 0, 0, 1, 0, 0)" === e || "none" === e || !e;
- },
- fr = function (e) {
- var t = Gn(e, Vn);
- return dr(t) ? ur : t.substr(7).match($).map(xe);
- },
- pr = function (e, t) {
- var n,
- r,
- a,
- i,
- o = e._gsap || ye(e),
- l = e.style,
- s = fr(e);
- return o.svg && e.getAttribute("transform")
- ? "1,0,0,1,0,0" ===
- (s = [
- (a = e.transform.baseVal.consolidate().matrix).a,
- a.b,
- a.c,
- a.d,
- a.e,
- a.f,
- ]).join(",")
- ? ur
- : s
- : (s !== ur ||
- e.offsetParent ||
- e === yn ||
- o.svg ||
- ((a = l.display),
- (l.display = "block"),
- ((n = e.parentNode) && e.offsetParent) ||
- ((i = 1), (r = e.nextSibling), yn.appendChild(e)),
- (s = fr(e)),
- a ? (l.display = a) : er(e, "display"),
- i &&
- (r
- ? n.insertBefore(e, r)
- : n
- ? n.appendChild(e)
- : yn.removeChild(e))),
- t && s.length > 6 ? [s[0], s[1], s[4], s[5], s[12], s[13]] : s);
- },
- hr = function (e, t, n, r, a, i) {
- var o,
- l,
- s,
- u = e._gsap,
- c = a || pr(e, !0),
- d = u.xOrigin || 0,
- f = u.yOrigin || 0,
- p = u.xOffset || 0,
- h = u.yOffset || 0,
- m = c[0],
- g = c[1],
- v = c[2],
- y = c[3],
- b = c[4],
- w = c[5],
- x = t.split(" "),
- _ = parseFloat(x[0]) || 0,
- T = parseFloat(x[1]) || 0;
- n
- ? c !== ur &&
- (l = m * y - g * v) &&
- ((s = _ * (-g / l) + T * (m / l) - (m * w - g * b) / l),
- (_ = _ * (y / l) + T * (-v / l) + (v * w - y * b) / l),
- (T = s))
- : ((_ =
- (o = Kn(e)).x + (~x[0].indexOf("%") ? (_ / 100) * o.width : _)),
- (T =
- o.y +
- (~(x[1] || x[0]).indexOf("%") ? (T / 100) * o.height : T))),
- r || (!1 !== r && u.smooth)
- ? ((b = _ - d),
- (w = T - f),
- (u.xOffset = p + (b * m + w * v) - b),
- (u.yOffset = h + (b * g + w * y) - w))
- : (u.xOffset = u.yOffset = 0),
- (u.xOrigin = _),
- (u.yOrigin = T),
- (u.smooth = !!r),
- (u.origin = t),
- (u.originIsAbsolute = !!n),
- (e.style[Hn] = "0px 0px"),
- i &&
- (tr(i, u, "xOrigin", d, _),
- tr(i, u, "yOrigin", f, T),
- tr(i, u, "xOffset", p, u.xOffset),
- tr(i, u, "yOffset", h, u.yOffset)),
- e.setAttribute("data-svg-origin", _ + " " + T);
- },
- mr = function (e, t) {
- var n = e._gsap || new zt(e);
- if ("x" in n && !t && !n.uncache) return n;
- var r,
- a,
- i,
- o,
- l,
- s,
- u,
- c,
- d,
- f,
- p,
- h,
- m,
- g,
- v,
- y,
- b,
- w,
- x,
- _,
- T,
- S,
- k,
- E,
- P,
- C,
- R,
- A,
- M,
- N,
- j,
- L,
- D = e.style,
- I = n.scaleX < 0,
- F = "px",
- z = "deg",
- B = Gn(e, Hn) || "0";
- return (
- (r = a = i = s = u = c = d = f = p = 0),
- (o = l = 1),
- (n.svg = !(!e.getCTM || !Zn(e))),
- (g = pr(e, n.svg)),
- n.svg &&
- ((E = !n.uncache && !t && e.getAttribute("data-svg-origin")),
- hr(e, E || B, !!E || n.originIsAbsolute, !1 !== n.smooth, g)),
- (h = n.xOrigin || 0),
- (m = n.yOrigin || 0),
- g !== ur &&
- ((w = g[0]),
- (x = g[1]),
- (_ = g[2]),
- (T = g[3]),
- (r = S = g[4]),
- (a = k = g[5]),
- 6 === g.length
- ? ((o = Math.sqrt(w * w + x * x)),
- (l = Math.sqrt(T * T + _ * _)),
- (s = w || x ? En(x, w) * Sn : 0),
- (d = _ || T ? En(_, T) * Sn + s : 0) &&
- (l *= Math.abs(Math.cos(d * kn))),
- n.svg &&
- ((r -= h - (h * w + m * _)), (a -= m - (h * x + m * T))))
- : ((L = g[6]),
- (N = g[7]),
- (R = g[8]),
- (A = g[9]),
- (M = g[10]),
- (j = g[11]),
- (r = g[12]),
- (a = g[13]),
- (i = g[14]),
- (u = (v = En(L, M)) * Sn),
- v &&
- ((E = S * (y = Math.cos(-v)) + R * (b = Math.sin(-v))),
- (P = k * y + A * b),
- (C = L * y + M * b),
- (R = S * -b + R * y),
- (A = k * -b + A * y),
- (M = L * -b + M * y),
- (j = N * -b + j * y),
- (S = E),
- (k = P),
- (L = C)),
- (c = (v = En(-_, M)) * Sn),
- v &&
- ((y = Math.cos(-v)),
- (j = T * (b = Math.sin(-v)) + j * y),
- (w = E = w * y - R * b),
- (x = P = x * y - A * b),
- (_ = C = _ * y - M * b)),
- (s = (v = En(x, w)) * Sn),
- v &&
- ((E = w * (y = Math.cos(v)) + x * (b = Math.sin(v))),
- (P = S * y + k * b),
- (x = x * y - w * b),
- (k = k * y - S * b),
- (w = E),
- (S = P)),
- u &&
- Math.abs(u) + Math.abs(s) > 359.9 &&
- ((u = s = 0), (c = 180 - c)),
- (o = xe(Math.sqrt(w * w + x * x + _ * _))),
- (l = xe(Math.sqrt(k * k + L * L))),
- (v = En(S, k)),
- (d = Math.abs(v) > 2e-4 ? v * Sn : 0),
- (p = j ? 1 / (j < 0 ? -j : j) : 0)),
- n.svg &&
- ((E = e.getAttribute("transform")),
- (n.forceCSS =
- e.setAttribute("transform", "") || !dr(Gn(e, Vn))),
- E && e.setAttribute("transform", E))),
- Math.abs(d) > 90 &&
- Math.abs(d) < 270 &&
- (I
- ? ((o *= -1),
- (d += s <= 0 ? 180 : -180),
- (s += s <= 0 ? 180 : -180))
- : ((l *= -1), (d += d <= 0 ? 180 : -180))),
- (n.x =
- r -
- ((n.xPercent =
- r &&
- (n.xPercent ||
- (Math.round(e.offsetWidth / 2) === Math.round(-r) ? -50 : 0)))
- ? (e.offsetWidth * n.xPercent) / 100
- : 0) +
- F),
- (n.y =
- a -
- ((n.yPercent =
- a &&
- (n.yPercent ||
- (Math.round(e.offsetHeight / 2) === Math.round(-a)
- ? -50
- : 0)))
- ? (e.offsetHeight * n.yPercent) / 100
- : 0) +
- F),
- (n.z = i + F),
- (n.scaleX = xe(o)),
- (n.scaleY = xe(l)),
- (n.rotation = xe(s) + z),
- (n.rotationX = xe(u) + z),
- (n.rotationY = xe(c) + z),
- (n.skewX = d + z),
- (n.skewY = f + z),
- (n.transformPerspective = p + F),
- (n.zOrigin = parseFloat(B.split(" ")[2]) || 0) && (D[Hn] = gr(B)),
- (n.xOffset = n.yOffset = 0),
- (n.force3D = O.force3D),
- (n.renderTransform = n.svg ? Tr : _n ? _r : yr),
- (n.uncache = 0),
- n
- );
- },
- gr = function (e) {
- return (e = e.split(" "))[0] + " " + e[1];
- },
- vr = function (e, t, n) {
- var r = tt(t);
- return xe(parseFloat(t) + parseFloat(rr(e, "x", n + "px", r))) + r;
- },
- yr = function (e, t) {
- (t.z = "0px"),
- (t.rotationY = t.rotationX = "0deg"),
- (t.force3D = 0),
- _r(e, t);
- },
- br = "0deg",
- wr = "0px",
- xr = ") ",
- _r = function (e, t) {
- var n = t || this,
- r = n.xPercent,
- a = n.yPercent,
- i = n.x,
- o = n.y,
- l = n.z,
- s = n.rotation,
- u = n.rotationY,
- c = n.rotationX,
- d = n.skewX,
- f = n.skewY,
- p = n.scaleX,
- h = n.scaleY,
- m = n.transformPerspective,
- g = n.force3D,
- v = n.target,
- y = n.zOrigin,
- b = "",
- w = ("auto" === g && e && 1 !== e) || !0 === g;
- if (y && (c !== br || u !== br)) {
- var x,
- _ = parseFloat(u) * kn,
- T = Math.sin(_),
- S = Math.cos(_);
- (_ = parseFloat(c) * kn),
- (x = Math.cos(_)),
- (i = vr(v, i, T * x * -y)),
- (o = vr(v, o, -Math.sin(_) * -y)),
- (l = vr(v, l, S * x * -y + y));
- }
- m !== wr && (b += "perspective(" + m + xr),
- (r || a) && (b += "translate(" + r + "%, " + a + "%) "),
- (w || i !== wr || o !== wr || l !== wr) &&
- (b +=
- l !== wr || w
- ? "translate3d(" + i + ", " + o + ", " + l + ") "
- : "translate(" + i + ", " + o + xr),
- s !== br && (b += "rotate(" + s + xr),
- u !== br && (b += "rotateY(" + u + xr),
- c !== br && (b += "rotateX(" + c + xr),
- (d === br && f === br) || (b += "skew(" + d + ", " + f + xr),
- (1 === p && 1 === h) || (b += "scale(" + p + ", " + h + xr),
- (v.style[Vn] = b || "translate(0, 0)");
- },
- Tr = function (e, t) {
- var n,
- r,
- a,
- i,
- o,
- l = t || this,
- s = l.xPercent,
- u = l.yPercent,
- c = l.x,
- d = l.y,
- f = l.rotation,
- p = l.skewX,
- h = l.skewY,
- m = l.scaleX,
- g = l.scaleY,
- v = l.target,
- y = l.xOrigin,
- b = l.yOrigin,
- w = l.xOffset,
- x = l.yOffset,
- _ = l.forceCSS,
- T = parseFloat(c),
- S = parseFloat(d);
- (f = parseFloat(f)),
- (p = parseFloat(p)),
- (h = parseFloat(h)) && ((p += h = parseFloat(h)), (f += h)),
- f || p
- ? ((f *= kn),
- (p *= kn),
- (n = Math.cos(f) * m),
- (r = Math.sin(f) * m),
- (a = Math.sin(f - p) * -g),
- (i = Math.cos(f - p) * g),
- p &&
- ((h *= kn),
- (o = Math.tan(p - h)),
- (a *= o = Math.sqrt(1 + o * o)),
- (i *= o),
- h &&
- ((o = Math.tan(h)),
- (n *= o = Math.sqrt(1 + o * o)),
- (r *= o))),
- (n = xe(n)),
- (r = xe(r)),
- (a = xe(a)),
- (i = xe(i)))
- : ((n = m), (i = g), (r = a = 0)),
- ((T && !~(c + "").indexOf("px")) ||
- (S && !~(d + "").indexOf("px"))) &&
- ((T = rr(v, "x", c, "px")), (S = rr(v, "y", d, "px"))),
- (y || b || w || x) &&
- ((T = xe(T + y - (y * n + b * a) + w)),
- (S = xe(S + b - (y * r + b * i) + x))),
- (s || u) &&
- ((o = v.getBBox()),
- (T = xe(T + (s / 100) * o.width)),
- (S = xe(S + (u / 100) * o.height))),
- (o =
- "matrix(" +
- n +
- "," +
- r +
- "," +
- a +
- "," +
- i +
- "," +
- T +
- "," +
- S +
- ")"),
- v.setAttribute("transform", o),
- _ && (v.style[Vn] = o);
- },
- Sr = function (e, t, n, r, a, i) {
- var o,
- l,
- s = 360,
- u = z(a),
- c = parseFloat(a) * (u && ~a.indexOf("rad") ? Sn : 1),
- d = i ? c * i : c - r,
- f = r + d + "deg";
- return (
- u &&
- ("short" === (o = a.split("_")[1]) &&
- (d %= s) != d % 180 &&
- (d += d < 0 ? s : -360),
- "cw" === o && d < 0
- ? (d = ((d + 36e9) % s) - ~~(d / s) * s)
- : "ccw" === o &&
- d > 0 &&
- (d = ((d - 36e9) % s) - ~~(d / s) * s)),
- (e._pt = l = new dn(e._pt, t, n, r, d, Mn)),
- (l.e = f),
- (l.u = "deg"),
- e._props.push(n),
- l
- );
- },
- kr = function (e, t) {
- for (var n in t) e[n] = t[n];
- return e;
- },
- Er = function (e, t, n) {
- var r,
- a,
- i,
- o,
- l,
- s,
- u,
- c = kr({}, n._gsap),
- d = n.style;
- for (a in (c.svg
- ? ((i = n.getAttribute("transform")),
- n.setAttribute("transform", ""),
- (d[Vn] = t),
- (r = mr(n, 1)),
- er(n, Vn),
- n.setAttribute("transform", i))
- : ((i = getComputedStyle(n)[Vn]),
- (d[Vn] = t),
- (r = mr(n, 1)),
- (d[Vn] = i)),
- Tn))
- (i = c[a]) !== (o = r[a]) &&
- "perspective,force3D,transformOrigin,svgOrigin".indexOf(a) < 0 &&
- ((l = tt(i) !== (u = tt(o)) ? rr(n, a, i, u) : parseFloat(i)),
- (s = parseFloat(o)),
- (e._pt = new dn(e._pt, r, a, l, s - l, An)),
- (e._pt.u = u || 0),
- e._props.push(a));
- kr(r, c);
- };
- we("padding,margin,Width,Radius", function (e, t) {
- var n = "Top",
- r = "Right",
- a = "Bottom",
- i = "Left",
- o = (t < 3 ? [n, r, a, i] : [n + i, n + r, a + r, a + i]).map(
- function (n) {
- return t < 2 ? e + n : "border" + n + e;
- }
- );
- sr[t > 1 ? "border" + e : e] = function (e, t, n, r, a) {
- var i, l;
- if (arguments.length < 4)
- return (
- (i = o.map(function (t) {
- return ar(e, t, n);
- })),
- 5 === (l = i.join(" ")).split(i[0]).length ? i[0] : l
- );
- (i = (r + "").split(" ")),
- (l = {}),
- o.forEach(function (e, t) {
- return (l[e] = i[t] = i[t] || i[((t - 1) / 2) | 0]);
- }),
- e.init(t, l, a);
- };
- });
- var Pr,
- Cr,
- Or = {
- name: "css",
- register: Xn,
- targetTest: function (e) {
- return e.style && e.nodeType;
- },
- init: function (e, t, n, r, a) {
- var i,
- o,
- l,
- s,
- u,
- c,
- d,
- f,
- p,
- h,
- m,
- g,
- v,
- y,
- b,
- w,
- x,
- _,
- T,
- S = this._props,
- k = e.style,
- E = n.vars.startAt;
- for (d in (bn || Xn(), t))
- if (
- "autoRound" !== d &&
- ((o = t[d]), !fe[d] || !Wt(d, t, n, r, e, a))
- )
- if (
- ((u = typeof o),
- (c = sr[d]),
- "function" === u && (u = typeof (o = o.call(n, r, e, a))),
- "string" === u && ~o.indexOf("random(") && (o = dt(o)),
- c)
- )
- c(this, e, d, o, n) && (b = 1);
- else if ("--" === d.substr(0, 2))
- (i = (getComputedStyle(e).getPropertyValue(d) + "").trim()),
- (o += ""),
- (Tt.lastIndex = 0),
- Tt.test(i) || ((f = tt(i)), (p = tt(o))),
- p ? f !== p && (i = rr(e, d, i, p) + p) : f && (o += f),
- this.add(k, "setProperty", i, o, r, a, 0, 0, d);
- else if ("undefined" !== u) {
- if (
- (E && d in E
- ? ((i =
- "function" == typeof E[d]
- ? E[d].call(n, r, e, a)
- : E[d]),
- d in O.units && !tt(i) && (i += O.units[d]),
- "=" === (i + "").charAt(1) && (i = ar(e, d)))
- : (i = ar(e, d)),
- (s = parseFloat(i)),
- (h =
- "string" === u && "=" === o.charAt(1)
- ? +(o.charAt(0) + "1")
- : 0) && (o = o.substr(2)),
- (l = parseFloat(o)),
- d in Rn &&
- ("autoAlpha" === d &&
- (1 === s &&
- "hidden" === ar(e, "visibility") &&
- l &&
- (s = 0),
- tr(
- this,
- k,
- "visibility",
- s ? "inherit" : "hidden",
- l ? "inherit" : "hidden",
- !l
- )),
- "scale" !== d &&
- "transform" !== d &&
- ~(d = Rn[d]).indexOf(",") &&
- (d = d.split(",")[0])),
- (m = d in Tn))
- )
- if (
- (g ||
- (((v = e._gsap).renderTransform && !t.parseTransform) ||
- mr(e, t.parseTransform),
- (y = !1 !== t.smoothOrigin && v.smooth),
- ((g = this._pt =
- new dn(
- this._pt,
- k,
- Vn,
- 0,
- 1,
- v.renderTransform,
- v,
- 0,
- -1
- )).dep = 1)),
- "scale" === d)
- )
- (this._pt = new dn(
- this._pt,
- v,
- "scaleY",
- v.scaleY,
- h ? h * l : l - v.scaleY
- )),
- S.push("scaleY", d),
- (d += "X");
- else {
- if ("transformOrigin" === d) {
- (x = void 0),
- (_ = void 0),
- (T = void 0),
- (_ = (x = (w = o).split(" "))[0]),
- (T = x[1] || "50%"),
- ("top" !== _ &&
- "bottom" !== _ &&
- "left" !== T &&
- "right" !== T) ||
- ((w = _), (_ = T), (T = w)),
- (x[0] = or[_] || _),
- (x[1] = or[T] || T),
- (o = x.join(" ")),
- v.svg
- ? hr(e, o, 0, y, 0, this)
- : ((p = parseFloat(o.split(" ")[2]) || 0) !==
- v.zOrigin &&
- tr(this, v, "zOrigin", v.zOrigin, p),
- tr(this, k, d, gr(i), gr(o)));
- continue;
- }
- if ("svgOrigin" === d) {
- hr(e, o, 1, y, 0, this);
- continue;
- }
- if (d in cr) {
- Sr(this, v, d, s, o, h);
- continue;
- }
- if ("smoothOrigin" === d) {
- tr(this, v, "smooth", v.smooth, o);
- continue;
- }
- if ("force3D" === d) {
- v[d] = o;
- continue;
- }
- if ("transform" === d) {
- Er(this, o, e);
- continue;
- }
- }
- else d in k || (d = Yn(d) || d);
- if (
- m ||
- ((l || 0 === l) && (s || 0 === s) && !On.test(o) && d in k)
- )
- l || (l = 0),
- (f = (i + "").substr((s + "").length)) !==
- (p = tt(o) || (d in O.units ? O.units[d] : f)) &&
- (s = rr(e, d, i, p)),
- (this._pt = new dn(
- this._pt,
- m ? v : k,
- d,
- s,
- h ? h * l : l - s,
- m ||
- ("px" !== p && "zIndex" !== d) ||
- !1 === t.autoRound
- ? An
- : jn
- )),
- (this._pt.u = p || 0),
- f !== p && ((this._pt.b = i), (this._pt.r = Nn));
- else if (d in k) ir.call(this, e, d, i, o);
- else {
- if (!(d in e)) {
- ie(d, o);
- continue;
- }
- this.add(e, d, e[d], o, r, a);
- }
- S.push(d);
- }
- b && cn(this);
- },
- get: ar,
- aliases: Rn,
- getSetter: function (e, t, n) {
- var r = Rn[t];
- return (
- r && r.indexOf(",") < 0 && (t = r),
- t in Tn && t !== Hn && (e._gsap.x || ar(e, "x"))
- ? n && xn === n
- ? "scale" === t
- ? Bn
- : zn
- : (xn = n || {}) && ("scale" === t ? Un : qn)
- : e.style && !q(e.style[t])
- ? In
- : ~t.indexOf("-")
- ? Fn
- : tn(e, t)
- );
- },
- core: {
- _removeProperty: er,
- _getMatrix: pr,
- },
- };
- (mn.utils.checkPrefix = Yn),
- (Cr = we(
- "x,y,z,scale,scaleX,scaleY,xPercent,yPercent" +
- "," +
- (Pr = "rotation,rotationX,rotationY,skewX,skewY") +
- ",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",
- function (e) {
- Tn[e] = 1;
- }
- )),
- we(Pr, function (e) {
- (O.units[e] = "deg"), (cr[e] = 1);
- }),
- (Rn[Cr[13]] = "x,y,z,scale,scaleX,scaleY,xPercent,yPercent," + Pr),
- we(
- "0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",
- function (e) {
- var t = e.split(":");
- Rn[t[1]] = Cr[t[0]];
- }
- ),
- we(
- "x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",
- function (e) {
- O.units[e] = "px";
- }
- ),
- mn.registerPlugin(Or);
- var Rr,
- Ar,
- Mr,
- Nr,
- jr,
- Lr,
- Dr,
- Ir,
- Fr,
- zr,
- Br,
- Ur,
- qr,
- Vr,
- Hr,
- Wr,
- Gr,
- Qr,
- Yr,
- Xr,
- $r,
- Jr,
- Kr,
- Zr,
- ea,
- ta,
- na,
- ra = mn.registerPlugin(Or) || mn,
- aa = (ra.core.Tween, 1),
- ia = [],
- oa = [],
- la = Date.now,
- sa = la(),
- ua = 0,
- ca = 1,
- da = function (e) {
- return e;
- },
- fa = function (e) {
- return Math.round(1e5 * e) / 1e5 || 0;
- },
- pa = function () {
- return "undefined" != typeof window;
- },
- ha = function () {
- return Rr || (pa() && (Rr = window.gsap) && Rr.registerPlugin && Rr);
- },
- ma = function (e) {
- return !!~Dr.indexOf(e);
- },
- ga = function (e, t) {
- return ~ia.indexOf(e) && ia[ia.indexOf(e) + 1][t];
- },
- va = function (e, t) {
- var n = t.s,
- r = t.sc,
- a = oa.indexOf(e),
- i = r === Fa.sc ? 1 : 2;
- return (
- !~a && (a = oa.push(e) - 1),
- oa[a + i] ||
- (oa[a + i] =
- ga(e, n) ||
- (ma(e)
- ? r
- : function (t) {
- return arguments.length ? (e[n] = t) : e[n];
- }))
- );
- },
- ya = function (e) {
- return (
- ga(e, "getBoundingClientRect") ||
- (ma(e)
- ? function () {
- return (
- (Ti.width = Mr.innerWidth), (Ti.height = Mr.innerHeight), Ti
- );
- }
- : function () {
- return Ua(e);
- })
- );
- },
- ba = function (e, t) {
- var n = t.s,
- r = t.d2,
- a = t.d,
- i = t.a;
- return (n = "scroll" + r) && (i = ga(e, n))
- ? i() - ya(e)()[a]
- : ma(e)
- ? Math.max(jr[n], Lr[n]) -
- (Mr["inner" + r] || jr["client" + r] || Lr["client" + r])
- : e[n] - e["offset" + r];
- },
- wa = function (e, t) {
- for (var n = 0; n < $r.length; n += 3)
- (!t || ~t.indexOf($r[n + 1])) && e($r[n], $r[n + 1], $r[n + 2]);
- },
- xa = function (e) {
- return "string" == typeof e;
- },
- _a = function (e) {
- return "function" == typeof e;
- },
- Ta = function (e) {
- return "number" == typeof e;
- },
- Sa = function (e) {
- return "object" == typeof e;
- },
- ka = function (e) {
- return _a(e) && e();
- },
- Ea = function (e, t) {
- return function () {
- var n = ka(e),
- r = ka(t);
- return function () {
- ka(n), ka(r);
- };
- };
- },
- Pa = Math.abs,
- Ca = "left",
- Oa = "right",
- Ra = "bottom",
- Aa = "width",
- Ma = "height",
- Na = "padding",
- ja = "margin",
- La = "Width",
- Da = "px",
- Ia = {
- s: "scrollLeft",
- p: Ca,
- p2: "Left",
- os: Oa,
- os2: "Right",
- d: Aa,
- d2: La,
- a: "x",
- sc: function (e) {
- return arguments.length
- ? Mr.scrollTo(e, Fa.sc())
- : Mr.pageXOffset ||
- Nr.scrollLeft ||
- jr.scrollLeft ||
- Lr.scrollLeft ||
- 0;
- },
- },
- Fa = {
- s: "scrollTop",
- p: "top",
- p2: "Top",
- os: Ra,
- os2: "Bottom",
- d: Ma,
- d2: "Height",
- a: "y",
- op: Ia,
- sc: function (e) {
- return arguments.length
- ? Mr.scrollTo(Ia.sc(), e)
- : Mr.pageYOffset ||
- Nr.scrollTop ||
- jr.scrollTop ||
- Lr.scrollTop ||
- 0;
- },
- },
- za = function (e) {
- return Mr.getComputedStyle(e);
- },
- Ba = function (e, t) {
- for (var n in t) n in e || (e[n] = t[n]);
- return e;
- },
- Ua = function (e, t) {
- var n =
- t &&
- "matrix(1, 0, 0, 1, 0, 0)" !== za(e)[Gr] &&
- Rr.to(e, {
- x: 0,
- y: 0,
- xPercent: 0,
- yPercent: 0,
- rotation: 0,
- rotationX: 0,
- rotationY: 0,
- scale: 1,
- skewX: 0,
- skewY: 0,
- }).progress(1),
- r = e.getBoundingClientRect();
- return n && n.progress(0).kill(), r;
- },
- qa = function (e, t) {
- var n = t.d2;
- return e["offset" + n] || e["client" + n] || 0;
- },
- Va = function (e) {
- var t,
- n = [],
- r = e.labels,
- a = e.duration();
- for (t in r) n.push(r[t] / a);
- return n;
- },
- Ha = function (e, t, n, r) {
- return n.split(",").forEach(function (n) {
- return e(t, n, r);
- });
- },
- Wa = function (e, t, n) {
- return e.addEventListener(t, n, {
- passive: !0,
- });
- },
- Ga = function (e, t, n) {
- return e.removeEventListener(t, n);
- },
- Qa = {
- startColor: "green",
- endColor: "red",
- indent: 0,
- fontSize: "16px",
- fontWeight: "normal",
- },
- Ya = {
- toggleActions: "play",
- anticipatePin: 0,
- },
- Xa = {
- top: 0,
- left: 0,
- center: 0.5,
- bottom: 1,
- right: 1,
- },
- $a = function (e, t) {
- if (xa(e)) {
- var n = e.indexOf("="),
- r = ~n ? +(e.charAt(n - 1) + 1) * parseFloat(e.substr(n + 1)) : 0;
- ~n &&
- (e.indexOf("%") > n && (r *= t / 100), (e = e.substr(0, n - 1))),
- (e =
- r +
- (e in Xa
- ? Xa[e] * t
- : ~e.indexOf("%")
- ? (parseFloat(e) * t) / 100
- : parseFloat(e) || 0));
- }
- return e;
- },
- Ja = function (e, t, n, r, a, i, o) {
- var l = a.startColor,
- s = a.endColor,
- u = a.fontSize,
- c = a.indent,
- d = a.fontWeight,
- f = Nr.createElement("div"),
- p = ma(n) || "fixed" === ga(n, "pinType"),
- h = -1 !== e.indexOf("scroller"),
- m = p ? Lr : n,
- g = -1 !== e.indexOf("start"),
- v = g ? l : s,
- y =
- "border-color:" +
- v +
- ";font-size:" +
- u +
- ";color:" +
- v +
- ";font-weight:" +
- d +
- ";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";
- return (
- (y += "position:" + (h && p ? "fixed;" : "absolute;")),
- (h || !p) &&
- (y += (r === Fa ? Oa : Ra) + ":" + (i + parseFloat(c)) + "px;"),
- o &&
- (y +=
- "box-sizing:border-box;text-align:left;width:" +
- o.offsetWidth +
- "px;"),
- (f._isStart = g),
- f.setAttribute("class", "gsap-marker-" + e),
- (f.style.cssText = y),
- (f.innerText = t || 0 === t ? e + "-" + t : e),
- m.children[0] ? m.insertBefore(f, m.children[0]) : m.appendChild(f),
- (f._offset = f["offset" + r.op.d2]),
- Ka(f, 0, r, g),
- f
- );
- },
- Ka = function (e, t, n, r) {
- var a = {
- display: "block",
- },
- i = n[r ? "os2" : "p2"],
- o = n[r ? "p2" : "os2"];
- (e._isFlipped = r),
- (a[n.a + "Percent"] = r ? -100 : 0),
- (a[n.a] = r ? "1px" : 0),
- (a["border" + i + La] = 1),
- (a["border" + o + La] = 0),
- (a[n.p] = t + "px"),
- Rr.set(e, a);
- },
- Za = [],
- ei = {},
- ti = function () {
- return zr || (zr = Fr(gi));
- },
- ni = function () {
- zr || ((zr = Fr(gi)), ua || ui("scrollStart"), (ua = la()));
- },
- ri = function () {
- return !Hr && !Zr && !Nr.fullscreenElement && Ir.restart(!0);
- },
- ai = {},
- ii = [],
- oi = [],
- li = function (e) {
- var t,
- n = Rr.ticker.frame,
- r = [],
- a = 0;
- if (na !== n || aa) {
- for (fi(); a < oi.length; a += 4)
- (t = Mr.matchMedia(oi[a]).matches) !== oi[a + 3] &&
- ((oi[a + 3] = t),
- t ? r.push(a) : fi(1, oi[a]) || (_a(oi[a + 2]) && oi[a + 2]()));
- for (di(), a = 0; a < r.length; a++)
- (t = r[a]), (ta = oi[t]), (oi[t + 2] = oi[t + 1](e));
- (ta = 0), Ar && pi(0, 1), (na = n), ui("matchMedia");
- }
- },
- si = function e() {
- return Ga(Ci, "scrollEnd", e) || pi(!0);
- },
- ui = function (e) {
- return (
- (ai[e] &&
- ai[e].map(function (e) {
- return e();
- })) ||
- ii
- );
- },
- ci = [],
- di = function (e) {
- for (var t = 0; t < ci.length; t += 4)
- (e && ci[t + 3] !== e) ||
- ((ci[t].style.cssText = ci[t + 1]), (ci[t + 2].uncache = 1));
- },
- fi = function (e, t) {
- var n;
- for (Qr = 0; Qr < Za.length; Qr++)
- (n = Za[Qr]),
- (t && n.media !== t) ||
- (e
- ? n.kill(1)
- : (n.scroll.rec || (n.scroll.rec = n.scroll()), n.revert()));
- di(t), t || ui("revert");
- },
- pi = function (e, t) {
- if (!ua || e) {
- var n = ui("refreshInit");
- for (Jr && Ci.sort(), t || fi(), Qr = 0; Qr < Za.length; Qr++)
- Za[Qr].refresh();
- for (
- n.forEach(function (e) {
- return e && e.render && e.render(-1);
- }),
- Qr = Za.length;
- Qr--;
-
- )
- Za[Qr].scroll.rec = 0;
- Ir.pause(), ui("refresh");
- } else Wa(Ci, "scrollEnd", si);
- },
- hi = 0,
- mi = 1,
- gi = function () {
- var e = Za.length,
- t = la(),
- n = t - sa >= 50,
- r = e && Za[0].scroll();
- if (
- ((mi = hi > r ? -1 : 1),
- (hi = r),
- n &&
- (ua && !Wr && t - ua > 200 && ((ua = 0), ui("scrollEnd")),
- (qr = sa),
- (sa = t)),
- mi < 0)
- ) {
- for (Qr = e; Qr-- > 0; ) Za[Qr] && Za[Qr].update(0, n);
- mi = 1;
- } else for (Qr = 0; Qr < e; Qr++) Za[Qr] && Za[Qr].update(0, n);
- zr = 0;
- },
- vi = [
- Ca,
- "top",
- Ra,
- Oa,
- "marginBottom",
- "marginRight",
- "marginTop",
- "marginLeft",
- "display",
- "flexShrink",
- "float",
- "zIndex",
- ],
- yi = vi.concat([
- Aa,
- Ma,
- "boxSizing",
- "maxWidth",
- "maxHeight",
- "position",
- ja,
- Na,
- "paddingTop",
- "paddingRight",
- "paddingBottom",
- "paddingLeft",
- ]),
- bi = function (e, t, n, r) {
- if (e.parentNode !== t) {
- for (var a, i = vi.length, o = t.style, l = e.style; i--; )
- o[(a = vi[i])] = n[a];
- (o.position = "absolute" === n.position ? "absolute" : "relative"),
- "inline" === n.display && (o.display = "inline-block"),
- (l.bottom = l.right = "auto"),
- (o.overflow = "visible"),
- (o.boxSizing = "border-box"),
- (o.width = qa(e, Ia) + Da),
- (o.height = qa(e, Fa) + Da),
- (o.padding = l.margin = l.top = l.left = "0"),
- xi(r),
- (l.width = l.maxWidth = n.width),
- (l.height = l.maxHeight = n.height),
- (l.padding = n.padding),
- e.parentNode.insertBefore(t, e),
- t.appendChild(e);
- }
- },
- wi = /([A-Z])/g,
- xi = function (e) {
- if (e) {
- var t,
- n,
- r = e.t.style,
- a = e.length,
- i = 0;
- for (
- (e.t._gsap || Rr.core.getCache(e.t)).uncache = 1;
- i < a;
- i += 2
- )
- (n = e[i + 1]),
- (t = e[i]),
- n
- ? (r[t] = n)
- : r[t] &&
- r.removeProperty(t.replace(wi, "-$1").toLowerCase());
- }
- },
- _i = function (e) {
- for (var t = yi.length, n = e.style, r = [], a = 0; a < t; a++)
- r.push(yi[a], n[yi[a]]);
- return (r.t = e), r;
- },
- Ti = {
- left: 0,
- top: 0,
- },
- Si = function (e, t, n, r, a, i, o, l, s, u, c, d) {
- if (
- (_a(e) && (e = e(l)),
- xa(e) &&
- "max" === e.substr(0, 3) &&
- (e = d + ("=" === e.charAt(4) ? $a("0" + e.substr(3), n) : 0)),
- Ta(e))
- )
- o && Ka(o, n, r, !0);
- else {
- _a(t) && (t = t(l));
- var f,
- p,
- h,
- m = Br(t)[0] || Lr,
- g = Ua(m) || {},
- v = e.split(" ");
- (g && (g.left || g.top)) ||
- "none" !== za(m).display ||
- ((h = m.style.display),
- (m.style.display = "block"),
- (g = Ua(m)),
- h ? (m.style.display = h) : m.style.removeProperty("display")),
- (f = $a(v[0], g[r.d])),
- (p = $a(v[1] || "0", n)),
- (e = g[r.p] - s[r.p] - u + f + a - p),
- o && Ka(o, p, r, n - p < 20 || (o._isStart && p > 20)),
- (n -= n - p);
- }
- if (i) {
- var y = e + n,
- b = i._isStart;
- (d = "scroll" + r.d2),
- Ka(
- i,
- y,
- r,
- (b && y > 20) ||
- (!b &&
- (c ? Math.max(Lr[d], jr[d]) : i.parentNode[d]) <= y + 1)
- ),
- c &&
- ((s = Ua(o)),
- c && (i.style[r.op.p] = s[r.op.p] - r.op.m - i._offset + Da));
- }
- return Math.round(e);
- },
- ki = /(?:webkit|moz|length|cssText|inset)/i,
- Ei = function (e, t, n, r) {
- if (e.parentNode !== t) {
- var a,
- i,
- o = e.style;
- if (t === Lr) {
- for (a in ((e._stOrig = o.cssText), (i = za(e))))
- +a ||
- ki.test(a) ||
- !i[a] ||
- "string" != typeof o[a] ||
- "0" === a ||
- (o[a] = i[a]);
- (o.top = n), (o.left = r);
- } else o.cssText = e._stOrig;
- (Rr.core.getCache(e).uncache = 1), t.appendChild(e);
- }
- },
- Pi = function (e, t) {
- var n,
- r,
- a = va(e, t),
- i = "_scroll" + t.p2,
- o = function t(o, l, s, u, c) {
- var d = t.tween,
- f = l.onComplete,
- p = {};
- return (
- d && d.kill(),
- (n = Math.round(s)),
- (l[i] = o),
- (l.modifiers = p),
- (p[i] = function (e) {
- return (
- (e = fa(a())) !== n && e !== r && Math.abs(e - n) > 2
- ? (d.kill(), (t.tween = 0))
- : (e = s + u * d.ratio + c * d.ratio * d.ratio),
- (r = n),
- (n = fa(e))
- );
- }),
- (l.onComplete = function () {
- (t.tween = 0), f && f.call(d);
- }),
- (d = t.tween = Rr.to(e, l))
- );
- };
- return (
- (e[i] = a),
- e.addEventListener("wheel", function () {
- return o.tween && o.tween.kill() && (o.tween = 0);
- }),
- o
- );
- };
- Ia.op = Fa;
- var Ci = (function () {
- function e(t, n) {
- Ar ||
- e.register(Rr) ||
- console.warn("Please gsap.registerPlugin(ScrollTrigger)"),
- this.init(t, n);
- }
- return (
- (e.prototype.init = function (t, n) {
- if (
- ((this.progress = this.start = 0), this.vars && this.kill(1), ca)
- ) {
- var r,
- a,
- i,
- o,
- l,
- s,
- u,
- c,
- d,
- f,
- p,
- h,
- m,
- g,
- v,
- y,
- b,
- w,
- x,
- _,
- T,
- S,
- k,
- E,
- P,
- C,
- O,
- R,
- A,
- M,
- N,
- j,
- L,
- D,
- I,
- F,
- z,
- B,
- U,
- q = (t = Ba(
- xa(t) || Ta(t) || t.nodeType
- ? {
- trigger: t,
- }
- : t,
- Ya
- )).horizontal
- ? Ia
- : Fa,
- V = t,
- H = V.onUpdate,
- W = V.toggleClass,
- G = V.id,
- Q = V.onToggle,
- Y = V.onRefresh,
- X = V.scrub,
- $ = V.trigger,
- J = V.pin,
- K = V.pinSpacing,
- Z = V.invalidateOnRefresh,
- ee = V.anticipatePin,
- te = V.onScrubComplete,
- ne = V.onSnapComplete,
- re = V.once,
- ae = V.snap,
- ie = V.pinReparent,
- oe = !X && 0 !== X,
- le = Br(t.scroller || Mr)[0],
- se = Rr.core.getCache(le),
- ue = ma(le),
- ce =
- "pinType" in t
- ? "fixed" === t.pinType
- : ue || "fixed" === ga(le, "pinType"),
- de = [t.onEnter, t.onLeave, t.onEnterBack, t.onLeaveBack],
- fe = oe && t.toggleActions.split(" "),
- pe = "markers" in t ? t.markers : Ya.markers,
- he = ue ? 0 : parseFloat(za(le)["border" + q.p2 + La]) || 0,
- me = this,
- ge =
- t.onRefreshInit &&
- function () {
- return t.onRefreshInit(me);
- },
- ve = (function (e, t, n) {
- var r = n.d,
- a = n.d2,
- i = n.a;
- return (i = ga(e, "getBoundingClientRect"))
- ? function () {
- return i()[r];
- }
- : function () {
- return (t ? Mr["inner" + a] : e["client" + a]) || 0;
- };
- })(le, ue, q),
- ye = (function (e, t) {
- return !t || ~ia.indexOf(e)
- ? ya(e)
- : function () {
- return Ti;
- };
- })(le, ue);
- (me.media = ta),
- (ee *= 45),
- Za.push(me),
- (me.scroller = le),
- (me.scroll = va(le, q)),
- (l = me.scroll()),
- (me.vars = t),
- (n = n || t.animation),
- "refreshPriority" in t && (Jr = 1),
- (se.tweenScroll = se.tweenScroll || {
- top: Pi(le, Fa),
- left: Pi(le, Ia),
- }),
- (me.tweenTo = r = se.tweenScroll[q.p]),
- n &&
- ((n.vars.lazy = !1),
- n._initted ||
- (!1 !== n.vars.immediateRender &&
- !1 !== t.immediateRender &&
- n.render(0, !0, !0)),
- (me.animation = n.pause()),
- (n.scrollTrigger = me),
- (j = Ta(X) && X) &&
- (N = Rr.to(n, {
- ease: "power3",
- duration: j,
- onComplete: function () {
- return te && te(me);
- },
- })),
- (A = 0),
- G || (G = n.vars.id)),
- ae &&
- (Sa(ae) ||
- (ae = {
- snapTo: ae,
- }),
- "scrollBehavior" in Lr.style &&
- Rr.set(ue ? [Lr, jr] : le, {
- scrollBehavior: "auto",
- }),
- (i = _a(ae.snapTo)
- ? ae.snapTo
- : "labels" === ae.snapTo
- ? (function (e) {
- return function (t) {
- return Rr.utils.snap(Va(e), t);
- };
- })(n)
- : "labelsDirectional" === ae.snapTo
- ? ((B = n),
- function (e, t) {
- var n,
- r = Va(B);
- if (
- (r.sort(function (e, t) {
- return e - t;
- }),
- t.direction > 0)
- ) {
- for (e -= 1e-4, n = 0; n < r.length; n++)
- if (r[n] >= e) return r[n];
- return r.pop();
- }
- for (n = r.length, e += 1e-4; n--; )
- if (r[n] <= e) return r[n];
- return r[0];
- })
- : Rr.utils.snap(ae.snapTo)),
- (L = ae.duration || {
- min: 0.1,
- max: 2,
- }),
- (L = Sa(L) ? Ur(L.min, L.max) : Ur(L, L)),
- (D = Rr.delayedCall(ae.delay || j / 2 || 0.1, function () {
- if (Math.abs(me.getVelocity()) < 10 && !Wr) {
- var e = n && !oe ? n.totalProgress() : me.progress,
- t = ((e - M) / (la() - qr)) * 1e3 || 0,
- a = (Pa(t / 2) * t) / 0.185,
- o = e + (!1 === ae.inertia ? 0 : a),
- l = Ur(0, 1, i(o, me)),
- s = me.scroll(),
- d = Math.round(u + l * g),
- f = ae,
- p = f.onStart,
- h = f.onInterrupt,
- m = f.onComplete,
- v = r.tween;
- if (s <= c && s >= u && d !== s) {
- if (v && !v._initted && v.data <= Math.abs(d - s))
- return;
- r(
- d,
- {
- duration: L(
- Pa(
- (0.185 * Math.max(Pa(o - e), Pa(l - e))) /
- t /
- 0.05 || 0
- )
- ),
- ease: ae.ease || "power3",
- data: Math.abs(d - s),
- onInterrupt: function () {
- return D.restart(!0) && h && h(me);
- },
- onComplete: function () {
- (A = M =
- n && !oe ? n.totalProgress() : me.progress),
- ne && ne(me),
- m && m(me);
- },
- },
- s,
- a * g,
- d - s - a * g
- ),
- p && p(me, r.tween);
- }
- } else me.isActive && D.restart(!0);
- }).pause())),
- G && (ei[G] = me),
- ($ = me.trigger = Br($ || J)[0]),
- (J = !0 === J ? $ : Br(J)[0]),
- xa(W) &&
- (W = {
- targets: $,
- className: W,
- }),
- J &&
- (!1 === K ||
- K === ja ||
- (K = !(!K && "flex" === za(J.parentNode).display) && Na),
- (me.pin = J),
- !1 !== t.force3D &&
- Rr.set(J, {
- force3D: !0,
- }),
- (a = Rr.core.getCache(J)).spacer
- ? (v = a.pinState)
- : ((a.spacer = w = Nr.createElement("div")),
- w.setAttribute(
- "class",
- "pin-spacer" + (G ? " pin-spacer-" + G : "")
- ),
- (a.pinState = v = _i(J))),
- (me.spacer = w = a.spacer),
- (R = za(J)),
- (E = R[K + q.os2]),
- (_ = Rr.getProperty(J)),
- (T = Rr.quickSetter(J, q.a, Da)),
- bi(J, w, R),
- (b = _i(J))),
- pe &&
- ((m = Sa(pe) ? Ba(pe, Qa) : Qa),
- (p = Ja("scroller-start", G, le, q, m, 0)),
- (h = Ja("scroller-end", G, le, q, m, 0, p)),
- (x = p["offset" + q.op.d2]),
- (d = Ja("start", G, le, q, m, x)),
- (f = Ja("end", G, le, q, m, x)),
- ce ||
- (((U = ue ? Lr : le).style.position =
- "absolute" === za(U).position ? "absolute" : "relative"),
- Rr.set([p, h], {
- force3D: !0,
- }),
- (C = Rr.quickSetter(p, q.a, Da)),
- (O = Rr.quickSetter(h, q.a, Da)))),
- (me.revert = function (e) {
- var t = !1 !== e || !me.enabled,
- r = Hr;
- t !== o &&
- (t &&
- ((F = Math.max(me.scroll(), me.scroll.rec || 0)),
- (I = me.progress),
- (z = n && n.progress())),
- d &&
- [d, f, p, h].forEach(function (e) {
- return (e.style.display = t ? "none" : "block");
- }),
- t && (Hr = 1),
- me.update(t),
- (Hr = r),
- J &&
- (t
- ? (function (e, t, n) {
- if ((xi(n), e.parentNode === t)) {
- var r = t.parentNode;
- r && (r.insertBefore(e, t), r.removeChild(t));
- }
- })(J, w, v)
- : (!ie || !me.isActive) && bi(J, w, za(J), P)),
- (o = t));
- }),
- (me.refresh = function (r, a) {
- if ((!Hr && me.enabled) || a)
- if (J && r && ua) Wa(e, "scrollEnd", si);
- else {
- (Hr = 1),
- N && N.pause(),
- Z && n && n.progress(0).invalidate(),
- o || me.revert();
- for (
- var i,
- m,
- x,
- T,
- E,
- C,
- O,
- R,
- A,
- M = ve(),
- j = ye(),
- L = ba(le, q),
- D = 0,
- B = 0,
- U = t.end,
- V = t.endTrigger || $,
- H =
- t.start ||
- (0 !== t.start && $ ? (J ? "0 0" : "0 100%") : 0),
- W = ($ && Math.max(0, Za.indexOf(me))) || 0,
- G = W;
- G--;
-
- )
- (C = Za[G]).end || C.refresh(0, 1) || (Hr = 1),
- (O = C.pin) && (O === $ || O === J) && C.revert();
- for (
- u =
- Si(H, $, M, q, me.scroll(), d, p, me, j, he, ce, L) ||
- (J ? -0.001 : 0),
- _a(U) && (U = U(me)),
- xa(U) &&
- !U.indexOf("+=") &&
- (~U.indexOf(" ")
- ? (U = (xa(H) ? H.split(" ")[0] : "") + U)
- : ((D = $a(U.substr(2), M)),
- (U = xa(H) ? H : u + D),
- (V = $))),
- c =
- Math.max(
- u,
- Si(
- U || (V ? "100% 0" : L),
- V,
- M,
- q,
- me.scroll() + D,
- f,
- h,
- me,
- j,
- he,
- ce,
- L
- )
- ) || -0.001,
- g = c - u || ((u -= 0.01) && 0.001),
- D = 0,
- G = W;
- G--;
-
- )
- (O = (C = Za[G]).pin) &&
- C.start - C._pinPush < u &&
- ((i = C.end - C.start),
- O === $ && (D += i),
- O === J && (B += i));
- if (
- ((u += D),
- (c += D),
- (me._pinPush = B),
- d &&
- D &&
- (((i = {})[q.a] = "+=" + D), Rr.set([d, f], i)),
- J)
- )
- (i = za(J)),
- (T = q === Fa),
- (x = me.scroll()),
- (S = parseFloat(_(q.a)) + B),
- !L &&
- c > 1 &&
- ((ue ? Lr : le).style["overflow-" + q.a] =
- "scroll"),
- bi(J, w, i),
- (b = _i(J)),
- (m = Ua(J, !0)),
- (R = ce && va(le, T ? Ia : Fa)()),
- K &&
- (((P = [K + q.os2, g + B + Da]).t = w),
- (G = K === Na ? qa(J, q) + g + B : 0) &&
- P.push(q.d, G + Da),
- xi(P),
- ce && me.scroll(F)),
- ce &&
- (((E = {
- top: m.top + (T ? x - u : R) + Da,
- left: m.left + (T ? R : x - u) + Da,
- boxSizing: "border-box",
- position: "fixed",
- }).width = E.maxWidth =
- Math.ceil(m.width) + Da),
- (E.height = E.maxHeight = Math.ceil(m.height) + Da),
- (E.margin =
- E.marginTop =
- E.marginRight =
- E.marginBottom =
- E.marginLeft =
- "0"),
- (E.padding = i.padding),
- (E.paddingTop = i.paddingTop),
- (E.paddingRight = i.paddingRight),
- (E.paddingBottom = i.paddingBottom),
- (E.paddingLeft = i.paddingLeft),
- (y = (function (e, t, n) {
- for (
- var r, a = [], i = e.length, o = n ? 8 : 0;
- o < i;
- o += 2
- )
- (r = e[o]), a.push(r, r in t ? t[r] : e[o + 1]);
- return (a.t = e.t), a;
- })(v, E, ie))),
- n
- ? ((A = n._initted),
- Kr(1),
- n.progress(1, !0),
- (k = _(q.a) - S + g + B),
- g !== k && y.splice(y.length - 2, 2),
- n.progress(0, !0),
- A || n.invalidate(),
- Kr(0))
- : (k = g);
- else if ($ && me.scroll())
- for (m = $.parentNode; m && m !== Lr; )
- m._pinOffset &&
- ((u -= m._pinOffset), (c -= m._pinOffset)),
- (m = m.parentNode);
- for (G = 0; G < W; G++)
- (C = Za[G].pin) &&
- (C === $ || C === J) &&
- Za[G].revert(!1);
- (me.start = u),
- (me.end = c),
- (l = s = me.scroll()) < F && me.scroll(F),
- me.revert(!1),
- (Hr = 0),
- n &&
- oe &&
- n._initted &&
- n.progress(z, !0).render(n.time(), !0, !0),
- I !== me.progress &&
- (N && n.totalProgress(I, !0),
- (me.progress = I),
- me.update()),
- J && K && (w._pinOffset = Math.round(me.progress * k)),
- Y && Y(me);
- }
- }),
- (me.getVelocity = function () {
- return ((me.scroll() - s) / (la() - qr)) * 1e3 || 0;
- }),
- (me.update = function (e, t) {
- var a,
- i,
- o,
- d,
- f,
- h = me.scroll(),
- m = e ? 0 : (h - u) / g,
- v = m < 0 ? 0 : m > 1 ? 1 : m || 0,
- x = me.progress;
- if (
- (t &&
- ((s = l),
- (l = h),
- ae && ((M = A), (A = n && !oe ? n.totalProgress() : v))),
- ee &&
- !v &&
- J &&
- !Hr &&
- !aa &&
- ua &&
- u < h + ((h - s) / (la() - qr)) * ee &&
- (v = 1e-4),
- v !== x && me.enabled)
- ) {
- if (
- ((d =
- (f =
- (a = me.isActive = !!v && v < 1) != (!!x && x < 1)) ||
- !!v != !!x),
- (me.direction = v > x ? 1 : -1),
- (me.progress = v),
- oe ||
- (!N || Hr || aa
- ? n && n.totalProgress(v, !!Hr)
- : ((N.vars.totalProgress = v),
- N.invalidate().restart())),
- J)
- )
- if ((e && K && (w.style[K + q.os2] = E), ce)) {
- if (d) {
- if (
- ((o =
- !e && v > x && c + 1 > h && h + 1 >= ba(le, q)),
- ie)
- )
- if (e || (!a && !o)) Ei(J, w);
- else {
- var _ = Ua(J, !0),
- P = h - u;
- Ei(
- J,
- Lr,
- _.top + (q === Fa ? P : 0) + Da,
- _.left + (q === Fa ? 0 : P) + Da
- );
- }
- xi(a || o ? y : b),
- (k !== g && v < 1 && a) ||
- T(S + (1 !== v || o ? 0 : k));
- }
- } else T(S + k * v);
- ae && !r.tween && !Hr && !aa && D.restart(!0),
- W &&
- (f || (re && v && (v < 1 || !ea))) &&
- Br(W.targets).forEach(function (e) {
- return e.classList[a || re ? "add" : "remove"](
- W.className
- );
- }),
- H && !oe && !e && H(me),
- d && !Hr
- ? ((i = v && !x ? 0 : 1 === v ? 1 : 1 === x ? 2 : 3),
- oe &&
- ((o =
- (!f && "none" !== fe[i + 1] && fe[i + 1]) ||
- fe[i]),
- n &&
- ("complete" === o || "reset" === o || o in n) &&
- ("complete" === o
- ? n.pause().totalProgress(1)
- : "reset" === o
- ? n.restart(!0).pause()
- : n[o]()),
- H && H(me)),
- (!f && ea) ||
- (Q && f && Q(me),
- de[i] && de[i](me),
- re && (1 === v ? me.kill(!1, 1) : (de[i] = 0)),
- f || (de[(i = 1 === v ? 1 : 3)] && de[i](me))))
- : oe && H && !Hr && H(me);
- }
- O && (C(h + (p._isFlipped ? 1 : 0)), O(h));
- }),
- (me.enable = function () {
- me.enabled ||
- ((me.enabled = !0),
- Wa(le, "resize", ri),
- Wa(le, "scroll", ni),
- ge && Wa(e, "refreshInit", ge),
- n && n.add
- ? Rr.delayedCall(0.01, function () {
- return u || c || me.refresh();
- }) &&
- (g = 0.01) &&
- (u = c = 0)
- : me.refresh());
- }),
- (me.disable = function (t, n) {
- if (
- me.enabled &&
- (!1 !== t && me.revert(),
- (me.enabled = me.isActive = !1),
- n || (N && N.pause()),
- (F = 0),
- a && (a.uncache = 1),
- ge && Ga(e, "refreshInit", ge),
- D &&
- (D.pause(), r.tween && r.tween.kill() && (r.tween = 0)),
- !ue)
- ) {
- for (var i = Za.length; i--; )
- if (Za[i].scroller === le && Za[i] !== me) return;
- Ga(le, "resize", ri), Ga(le, "scroll", ni);
- }
- }),
- (me.kill = function (e, t) {
- me.disable(e, t), G && delete ei[G];
- var r = Za.indexOf(me);
- Za.splice(r, 1),
- r === Qr && mi > 0 && Qr--,
- n &&
- ((n.scrollTrigger = null),
- e && n.render(-1),
- t || n.kill()),
- d &&
- [d, f, p, h].forEach(function (e) {
- return e.parentNode.removeChild(e);
- }),
- J &&
- (a && (a.uncache = 1),
- (r = 0),
- Za.forEach(function (e) {
- return e.pin === J && r++;
- }),
- r || (a.spacer = 0));
- }),
- me.enable();
- } else this.update = this.refresh = this.kill = da;
- }),
- (e.register = function (t) {
- if (
- !Ar &&
- ((Rr = t || ha()),
- pa() &&
- window.document &&
- ((Mr = window),
- (Nr = document),
- (jr = Nr.documentElement),
- (Lr = Nr.body)),
- Rr &&
- ((Br = Rr.utils.toArray),
- (Ur = Rr.utils.clamp),
- (Kr = Rr.core.suppressOverwrites || da),
- Rr.core.globals("ScrollTrigger", e),
- Lr))
- ) {
- (Fr =
- Mr.requestAnimationFrame ||
- function (e) {
- return setTimeout(e, 16);
- }),
- Wa(Mr, "wheel", ni),
- (Dr = [Mr, Nr, jr, Lr]),
- Wa(Nr, "scroll", ni);
- var n,
- r = Lr.style,
- a = r.borderTop;
- (r.borderTop = "1px solid #000"),
- (n = Ua(Lr)),
- (Fa.m = Math.round(n.top + Fa.sc()) || 0),
- (Ia.m = Math.round(n.left + Ia.sc()) || 0),
- a ? (r.borderTop = a) : r.removeProperty("border-top"),
- (Vr = setInterval(ti, 200)),
- Rr.delayedCall(0.5, function () {
- return (aa = 0);
- }),
- Wa(Nr, "touchcancel", da),
- Wa(Lr, "touchstart", da),
- Ha(Wa, Nr, "pointerdown,touchstart,mousedown", function () {
- return (Wr = 1);
- }),
- Ha(Wa, Nr, "pointerup,touchend,mouseup", function () {
- return (Wr = 0);
- }),
- (Gr = Rr.utils.checkPrefix("transform")),
- yi.push(Gr),
- (Ar = la()),
- (Ir = Rr.delayedCall(0.2, pi).pause()),
- ($r = [
- Nr,
- "visibilitychange",
- function () {
- var e = Mr.innerWidth,
- t = Mr.innerHeight;
- Nr.hidden
- ? ((Yr = e), (Xr = t))
- : (Yr === e && Xr === t) || ri();
- },
- Nr,
- "DOMContentLoaded",
- pi,
- Mr,
- "load",
- function () {
- return ua || pi();
- },
- Mr,
- "resize",
- ri,
- ]),
- wa(Wa);
- }
- return Ar;
- }),
- (e.defaults = function (e) {
- for (var t in e) Ya[t] = e[t];
- }),
- (e.kill = function () {
- (ca = 0),
- Za.slice(0).forEach(function (e) {
- return e.kill(1);
- });
- }),
- (e.config = function (e) {
- "limitCallbacks" in e && (ea = !!e.limitCallbacks);
- var t = e.syncInterval;
- (t && clearInterval(Vr)) || ((Vr = t) && setInterval(ti, t)),
- "autoRefreshEvents" in e &&
- (wa(Ga) || wa(Wa, e.autoRefreshEvents || "none"),
- (Zr = -1 === (e.autoRefreshEvents + "").indexOf("resize")));
- }),
- (e.scrollerProxy = function (e, t) {
- var n = Br(e)[0],
- r = oa.indexOf(n),
- a = ma(n);
- ~r && oa.splice(r, a ? 6 : 2),
- a ? ia.unshift(Mr, t, Lr, t, jr, t) : ia.unshift(n, t);
- }),
- (e.matchMedia = function (e) {
- var t, n, r, a, i;
- for (n in e)
- (r = oi.indexOf(n)),
- (a = e[n]),
- (ta = n),
- "all" === n
- ? a()
- : (t = Mr.matchMedia(n)) &&
- (t.matches && (i = a()),
- ~r
- ? ((oi[r + 1] = Ea(oi[r + 1], a)),
- (oi[r + 2] = Ea(oi[r + 2], i)))
- : ((r = oi.length),
- oi.push(n, a, i),
- t.addListener
- ? t.addListener(li)
- : t.addEventListener("change", li)),
- (oi[r + 3] = t.matches)),
- (ta = 0);
- return oi;
- }),
- (e.clearMatchMedia = function (e) {
- e || (oi.length = 0), (e = oi.indexOf(e)) >= 0 && oi.splice(e, 4);
- }),
- e
- );
- })();
- (Ci.version = "3.6.1"),
- (Ci.saveStyles = function (e) {
- return e
- ? Br(e).forEach(function (e) {
- if (e && e.style) {
- var t = ci.indexOf(e);
- t >= 0 && ci.splice(t, 4),
- ci.push(e, e.style.cssText, Rr.core.getCache(e), ta);
- }
- })
- : ci;
- }),
- (Ci.revert = function (e, t) {
- return fi(!e, t);
- }),
- (Ci.create = function (e, t) {
- return new Ci(e, t);
- }),
- (Ci.refresh = function (e) {
- return e ? ri() : pi(!0);
- }),
- (Ci.update = gi),
- (Ci.maxScroll = function (e, t) {
- return ba(e, t ? Ia : Fa);
- }),
- (Ci.getScrollFunc = function (e, t) {
- return va(Br(e)[0], t ? Ia : Fa);
- }),
- (Ci.getById = function (e) {
- return ei[e];
- }),
- (Ci.getAll = function () {
- return Za.slice(0);
- }),
- (Ci.isScrolling = function () {
- return !!ua;
- }),
- (Ci.addEventListener = function (e, t) {
- var n = ai[e] || (ai[e] = []);
- ~n.indexOf(t) || n.push(t);
- }),
- (Ci.removeEventListener = function (e, t) {
- var n = ai[e],
- r = n && n.indexOf(t);
- r >= 0 && n.splice(r, 1);
- }),
- (Ci.batch = function (e, t) {
- var n,
- r = [],
- a = {},
- i = t.interval || 0.016,
- o = t.batchMax || 1e9,
- l = function (e, t) {
- var n = [],
- r = [],
- a = Rr.delayedCall(i, function () {
- t(n, r), (n = []), (r = []);
- }).pause();
- return function (e) {
- n.length || a.restart(!0),
- n.push(e.trigger),
- r.push(e),
- o <= n.length && a.progress(1);
- };
- };
- for (n in t)
- a[n] =
- "on" === n.substr(0, 2) && _a(t[n]) && "onRefreshInit" !== n
- ? l(0, t[n])
- : t[n];
- return (
- _a(o) &&
- ((o = o()),
- Wa(Ci, "refresh", function () {
- return (o = t.batchMax());
- })),
- Br(e).forEach(function (e) {
- var t = {};
- for (n in a) t[n] = a[n];
- (t.trigger = e), r.push(Ci.create(t));
- }),
- r
- );
- }),
- (Ci.sort = function (e) {
- return Za.sort(
- e ||
- function (e, t) {
- return (
- -1e6 * (e.vars.refreshPriority || 0) +
- e.start -
- (t.start + -1e6 * (t.vars.refreshPriority || 0))
- );
- }
- );
- }),
- ha() && Rr.registerPlugin(Ci);
- var Oi = {
- titleCities: "Cities",
- titleWritings: "Writing",
- titleKings: "Kings",
- titleMesopotamia: "MESOPOTAMIA",
- titleLook: "An intimate look at some extraordinary objects",
- titleVilla: "from an exhibition at The Getty Villa",
- titlePlease: "Please Scroll",
- lion: {},
- };
- (Oi.lion.beat0 =
- "For ancient Mesopotamians, the divine was part of everyday life."),
- (Oi.lion.beat1 =
- "Even the urban architecture of cities had symbolic and religious meaning. The architectural decoration of the ancient city of Babylon is a striking example."),
- (Oi.lion.wallTextTop = "Panel with a Striding Lion"),
- (Oi.lion.wallTextMid = "605-562 BC"),
- (Oi.lion.wallTextBottom = "Glazed ceramic"),
- (Oi.lion.attribution =
- "<i>Panel with a Striding Lion</i>, Neo-Babylonian period, 605–562 BC, glazed ceramic. The Metropolitan Museum of Art, Fletcher Fund, 1931 (31.13.1). © The Metropolitan Museum of Art"),
- (Oi.lion.beat2 =
- "This glazed brick panel of a striding lion was one of more than a hundred that lined each side of Babylon’s most significant street, the Processional Way. This road passed through the Ishtar Gate and linked the palaces and main temples of the city."),
- (Oi.lion.beat3 =
- "Lions were associated with Ishtar, goddess of love and war, and these lions served as sentinels overseeing religious processions and military parades. The blue and gold bricks filled the street with vibrant color. Molded in relief, this lion projects from the panel’s surface and into our space."),
- (Oi.lion.beat4 =
- "This is one of over 130 objects featured at the Getty Villa in 2021 in a major exhibition on ancient Mesopotamia, developed in partnership with the Musée du Louvre. These objects highlight the development of cities, writing, and kingdoms in Mesopotamia over a period of about three thousand years."),
- (Oi.map = {}),
- (Oi.map.image =
- '<img height="600" width="750" src="/assets/images/meso-map-english.jpg" alt="Map of Mesopatamia as the `Fertile Crescent` between the Tigris and Euphrates, spanning from the Mediterranean to the Persian Gulf"></img>'),
- (Oi.map.attribution =
- "Map adapted from an original by and © FNSP. Sciences Po–Atelier de cartographie, 2016, with the guidance of Martin Sauvage (CNRS, USR 3225, Nanterre)"),
- (Oi.map.beat0 =
- "Beginning around 4000 BC in modern-day Iraq, ancient Mesopotamia was home to some of the earliest developments that would come to define urban life. Mesopotamians made advances in math, science, and law; created works of literature, architecture, and art; and invented the world’s first writing system."),
- (Oi.vesselSteadi = {}),
- (Oi.vesselSteadi.beat0 =
- "Mesopotamians believed humans were created to serve the gods."),
- (Oi.vesselSteadi.beat1 =
- "They left the gods daily offerings of food in the most precious containers they could craft. This silver cult vessel is one of the few that survives today."),
- (Oi.vesselSteadi.beat2 =
- "The vessel itself was a gift to the god Ningirsu. It would have been placed in a temple—one of many that served as religious, economic, and administrative centers of the community."),
- (Oi.vesselRender = {}),
- (Oi.vesselRender.wallTextTop = "Cult Vessel"),
- (Oi.vesselRender.wallTextMid = "About 2420 BC"),
- (Oi.vesselRender.wallTextBottom = "Silver and bronze"),
- (Oi.vesselRender.attribution =
- "<i>Cult Vessel (“The Vase of Enmetena”)</i>, Early Dynastic period, about 2420 BC, silver (vase) and bronze (base). Musée du Louvre, Department of Middle Eastern Antiquities, Paris. Sarzec expedition, 1888. Gift of Sultan Abdul Hamid II, 1896"),
- (Oi.vesselRender.beat0 =
- "This lion-headed eagle represents Ningirsu, god of rainstorms, floods, and plowing—all elements that were key to the irrigation agriculture that supported life in the arid region."),
- (Oi.vesselRender.beat1 =
- "The supernatural bird’s grip on lions and ibexes suggests that the divine and natural worlds are connected in a sacred way."),
- (Oi.vesselRender.beat2 =
- "The Sumerian inscription around the neck identifies the donor—a king—and describes how Ningirsu will consume offerings from this vase."),
- (Oi.michauxSteadi = {}),
- (Oi.michauxSteadi.beat0 =
- "The origins of writing in Mesopotamia can be traced to the fourth millennium BC. Over time, a script developed called cuneiform, which consisted of wedge-shaped characters. It was used to write multiple languages, Sumerian and Akkadian being primary in Mesopotamia."),
- (Oi.michauxRender = {}),
- (Oi.michauxRender.wallTextTop = "Stele Recording Land Grant"),
- (Oi.michauxRender.wallTextMid = "1100–1083 BC"),
- (Oi.michauxRender.wallTextBottom = "Serpentine stone"),
- (Oi.michauxRender.attribution =
- "<i>Land Grant Stele (“Caillou Michaux”)</i>, Post-Kassite period, 1100–1083 BC, serpentine. Bibliothèque nationale de France"),
- (Oi.michauxRender.beat0 =
- "When a French botanist and explorer brought this intricately carved, pebble-shaped stele to Europe from Baghdad in 1786, viewers wondered about its iconography and text. But no one could read it."),
- (Oi.michauxRender.beat1 =
- "It would be about 70 years before the Akkadian language was deciphered and scholars could read this stele. It details a gift of land from a father to his daughter on the occasion of her marriage. This stone record would have been displayed in a temple, under the authority of the gods."),
- (Oi.michauxRender.beat2 =
- "For added protection, Babylonian gods are carved along the stone’s top register. One is Nabu, god of writing, who is symbolized here by a stylus atop an altar, attached to his animal emblem, the snake-dragon."),
- (Oi.architectSteadi = {}),
- (Oi.architectSteadi.beat0 =
- "In Mesopotamian belief, kingship was a gift to mankind from the gods, and rulers enjoyed superhuman status. One of a ruler’s primary responsibilities was to tend to the gods’ needs by building temples."),
- (Oi.architectRender = {}),
- (Oi.architectRender.wallTextTop =
- "Statue of Prince Gudea as Architect"),
- (Oi.architectRender.wallTextMid = "About 2120 BC"),
- (Oi.architectRender.wallTextBottom = "Gabbro stone"),
- (Oi.architectRender.attribution =
- "<i>Statue of Prince Gudea as Architect</i>, Neo-Sumerian period, about 2120 BC, gabbro. Musée du Louvre, Department of Middle Eastern Antiquities, Paris, AO 3. Sarzec expedition, 1881"),
- (Oi.architectRender.beat0 =
- "This statue of the Sumerian ruler Gudea represents him as the architect of a temple to the goddess Gatumdu."),
- (Oi.architectRender.beat1 =
- "Here, Gudea represents himself as an educated and pious ruler. His hands are clasped in prayer and a tablet with a ruler and a stylus—tools to draw the building’s ground plan—rest on his lap."),
- (Oi.architectRender.beat2 =
- "The inscription on his garment details the construction of the temple and the wealth with which he endowed it—including furnishings, servants, and livestock."),
- (Oi.dictionarySteadi = {}),
- (Oi.dictionarySteadi.beat0 =
- "Like Gudea, the Assyrian king Ashurbanipal emphasized his learnedness and ability to read and write, amassing a grand library at his palace in Nineveh. This bilingual dictionary is one of thousands of tablets found there."),
- (Oi.dictionaryRender = {}),
- (Oi.dictionaryRender.wallTextTop = "Tablet with Bilingual Dictionary"),
- (Oi.dictionaryRender.wallTextMid = "668–627 BC"),
- (Oi.dictionaryRender.wallTextBottom = "Terracotta"),
- (Oi.dictionaryRender.attribution =
- "<i>Tablet with a Bilingual Dictionary from King Ashurbanipal’s Library</i>, Neo-Assyrian period, 668–627 BC, terracotta. Musée du Louvre, Department of Middle Eastern Antiquities, Paris. Géjou purchase, 1918"),
- (Oi.dictionaryRender.beat0 =
- "The dictionary is written on clay, the most common material used for written documents."),
- (Oi.dictionaryRender.beat1 =
- "It provides a list of Sumerian words on the left, and Akkadian synonyms on the center - right. The rightmost column includes a definition for each word."),
- (Oi.enheduannaSteadi = {}),
- (Oi.enheduannaSteadi.beat0 =
- "While writing began for administrative and record-keeping purposes, its uses expanded over time. Myths, religious hymns, contracts, and scientific and mathematical texts survive on hundreds of thousands of clay tablets. Many have yet to be translated."),
- (Oi.enheduannaSteadi.beat1 =
- "The first named author in history was the priestess Enheduanna, daughter of an Akkadian king. Enheduanna composed at least forty hymns to the gods in her lifetime, in some of which she referred to herself by name."),
- (Oi.enheduannaSteadi.wallTextTop =
- "Tablet with “Exaltation of Inanna”"),
- (Oi.enheduannaSteadi.wallTextMid = "1850–1700 BC"),
- (Oi.enheduannaSteadi.wallTextBottom = "Unfired clay"),
- (Oi.enheduannaSteadi.attribution =
- '<i>Tablet with Princess Enheduanna’s "Exaltation of Inanna,"</i> Old Babylonian period, 1850–1700 BC, unfired clay. Musée du Louvre, Department of Middle Eastern Antiquities, Paris, AO 6713. Géjou purchase, 1914'),
- (Oi.enheduannaSteadi.beat2 =
- 'This tablet, which features a portion of her hymn “Exaltation of Inanna," is a copy made about 500 years after her lifetime.'),
- (Oi.enheduannaSteadi.buttonText =
- "Read an excerpt of the tablet here."),
- (Oi.enheduannaPoem = {}),
- (Oi.enheduannaPoem.title = "Exaltation of Inanna"),
- (Oi.enheduannaPoem.line1 =
- "Great queen [Inanna] among queens, who was born of a pure womb for righteous powers and surpasses her own mother."),
- (Oi.enheduannaPoem.line2 =
- "Very learned and mindful queen of all lands, you who give life to countless humans, I will sing in your honor a song worthy of you."),
- (Oi.enheduannaPoem.line3 =
- "Goddess truly worthy of powers, your solemn word is sublime...."),
- (Oi.enheduannaPoem.line4 =
- "I had entered my pure priestess’s residence,"),
- (Oi.enheduannaPoem.line5 = "I, Enheduanna, the <i>en</i>-priestess."),
- (Oi.enheduannaPoem.line6 =
- "I had carried the ritual basket and burst into celebratory song."),
- (Oi.enheduannaPoem.line7 =
- "But funerary sacrifices were made, and I am no longer there."),
- (Oi.enheduannaPoem.line8 =
- "I approached the light, but the light burned me."),
- (Oi.enheduannaPoem.line9 =
- "I approached the shadow, but the storm hid all."),
- (Oi.enheduannaPoem.line10 =
- "My mellifluous mouth was struck with confusion."),
- (Oi.enheduannaPoem.line11 =
- "Everything that used to delight me turned to dust...."),
- (Oi.enheduannaPoem.line12 =
- "[If] you tell [the god] An about it now, An will undo it for me...."),
- (Oi.enheduannaPoem.line13 =
- "The land, rebellious and wicked because of Nanna, may An deliver it."),
- (Oi.enheduannaPoem.line14 =
- "That city, may An destroy it; may [the god] Enlil curse it; may its mothers no longer appease their crying children."),
- (Oi.enheduannaPoem.line15 =
- "Queen, the grievances that were caused, may your ship that carries grievances abandon them elsewhere."),
- (Oi.enheduannaPoem.line16 =
- "Must I die because of my noble song? My Nanna has paid me no heed."),
- (Oi.enheduannaPoem.attribution =
- "Translation after Antoine Cavigneaux and Anne-Caroline Rendu Loisel, <i>L’histoire commence en Mésopotamie</i>, 2016"),
- (Oi.coneSteadi = {}),
- (Oi.coneSteadi.beat0 =
- "Writing was also used to codify laws—the purview of kings. Rulers were responsible for ensuring justice in society, and the earliest known legal reforms come from Mesopotamia."),
- (Oi.coneRender = {}),
- (Oi.coneRender.wallTextTop = "Cone with Reforms of King Urukagina"),
- (Oi.coneRender.wallTextMid = "About 2350 BC"),
- (Oi.coneRender.wallTextBottom = "Terracotta"),
- (Oi.coneRender.attribution =
- "<i>Cone with Reforms of King Urukagina</i>, Early Dynastic period, about 2350 BC, terracotta. Musée du Louvre, Department of Middle Eastern Antiquities, Paris. Géjou purchase, 1900"),
- (Oi.coneRender.beat0 =
- "Made of baked clay, this cone bears an inscription that wraps around its body. It records social justice reforms instituted by king Urukagina to protect the oppressed."),
- (Oi.coneRender.beat1 =
- "In this text, Urukagina claims to have restored the social order of the city of Lagash against the “abuses of the old days,” especially in the palaces and temples. This is the first known text that declares the importance of treating people with fairness, justice, and equity."),
- (Oi.gudeaSteadi = {}),
- (Oi.gudeaSteadi.beat0 =
- "Mesopotamian rulers commissioned statues of themselves to be spread throughout their kingdoms, conveying their power and divine right to rule."),
- (Oi.gudeaRender = {}),
- (Oi.gudeaRender.wallTextTop =
- "Statue of Gudea with Vase of Flowing Water"),
- (Oi.gudeaRender.wallTextMid = "About 2120 BC"),
- (Oi.gudeaRender.wallTextBottom = "Dolerite stone"),
- (Oi.gudeaRender.attribution =
- "<i>Statue of Prince Gudea with a Vase of Flowing Water</i>, Neo-Sumerian period, about 2120 BC, dolerite. Musée du Louvre, Department of Middle Eastern Antiquities, Paris. Boisgelin gift, 1967 (de Clercq collection)"),
- (Oi.gudeaRender.beat0 =
- "Gudea wears a garment that leaves one shoulder bare. His muscular arm symbolizes the strength and physical perfection of a king. He holds a vase from which two streams of water, teeming with fish, flow out and down the sides of his body."),
- (Oi.gudeaRender.beat1 =
- "In his statues, the ruler Gudea chose to emphasize his role as a devout worshipper. He is shown beardless and with a shaved head, wearing a royal brimmed cap with rows of spiral curls."),
- (Oi.gudeaRender.beat2 =
- "The inscription on the front of Gudea’s garment dedicates this object to Geshtinanna, goddess of life-giving water. A statue like this proclaims that when rulers align themselves with the gods, the world is in balance, and the king’s domain prospers."),
- (Oi.footer = {}),
- (Oi.footer.outro =
- "Mesopotamian civilization and its languages came to an end in the first century AD—but not before they deeply influenced the worldview, science, and literature of other cultures."),
- (Oi.footer.info =
- 'The exhibition <a href="https://www.getty.edu/art/exhibitions/mesopotamia/" target="_blank">Mesopotamia: Civilization Begins</a> was on view April 21–August 16, 2021 at the Getty Villa. It was organized by the Musée du Louvre, Paris, and the J. Paul Getty Museum, Los Angeles, with support by an indemnity from the Federal Council on the Arts and the Humanities.'),
- (Oi.footer.curatedBy = "EXHIBITION CURATED BY"),
- (Oi.footer.curatorCredits =
- "Dr. Ariane Thomas, Director of the Department of Middle Eastern Antiquities and curator-in-chief for the Mesopotamian Collections, Musée du Louvre; Dr. Timothy Potts, Director, J. Paul Getty Museum."),
- (Oi.footer.producedBy = "WEB EXPERIENCE PRODUCED BY"),
- (Oi.footer.producerCredits =
- 'Serena Parr, Todd Swanson, Anne Martens, Mustafa Eck, Isoke Cullins, Laura Hubbard and <a href="https://www.finalform.systems" target="_blank">Final Form Systems</a>.'),
- (Oi.footer.visit = "Visit the Getty Villa"),
- (Oi.footer.backToTop = "Back to top");
- const Ri = Oi;
- var Ai = {
- titleCities: "Ciudades",
- titleWritings: "Escritura",
- titleKings: "Reyes",
- titleMesopotamia: "MESOPOTAMIA",
- titleLook: "Una retrospectiva íntima a algunos objetos extraordinarios",
- titleVilla: "de una exposición en la Villa Getty",
- titlePlease: "Desplácese",
- lion: {},
- };
- (Ai.lion.beat0 =
- "Para los antiguos mesopotámicos, la divinidad formaba parte de la vida cotidiana."),
- (Ai.lion.beat1 =
- "Incluso la arquitectura urbana tenía un significado simbólico y religioso. La decoración arquitectónica de la antigua ciudad de Babilonia es un ejemplo destacado."),
- (Ai.lion.wallTextTop = "PANEL CON UN LEÓN ANDANTE"),
- (Ai.lion.wallTextMid = "605 a 562 a.C."),
- (Ai.lion.wallTextBottom = "Cerámica esmaltada"),
- (Ai.lion.attribution =
- "<i>Panel con un león andante</i>, período neobabilónico, 605 a 562 a.C., cerámica esmaltada. The Metropolitan Museum of Art, Fletcher Fund, 1931 (31.13.1). © The Metropolitan Museum of Art"),
- (Ai.lion.beat2 =
- "Este panel de ladrillos esmaltados de un león andante era uno de los más de cien que recubrían las paredes de la calle más importante de Babilonia, la Avenida de las Procesiones. Esta vía atravesaba la Puerta de Ishtar y conectaba los palacios con los principales templos de la ciudad."),
- (Ai.lion.beat3 =
- "Un símbolo de Ishtar, diosa del amor y de la guerra, estos leones custodiaban las procesiones religiosas y los desfiles militares.Los ladrillos azules y dorados infundían a la calle de un color vibrante.Moldeado en relieve, este león surge de la superficie del panel hasta nuestro punto de observación."),
- (Ai.lion.beat4 =
- "Este es uno de los más de 130 objetos que se exhibirán en la Villa Getty en 2021 en una exposición sobre la antigua Mesopotamia organizada en colaboración con el Museo del Louvre. Estos objetos son un ejemplo del avance de las ciudades, la escritura y los reinos de la Mesopotamia durante un período de unos tres mil años."),
- (Ai.map = {}),
- (Ai.map.image =
- '<img height="600" width="750" src="/assets/images/meso-map-spanish.jpg" alt="Map of Mesopatamia as the `Fertile Crescent` between the Tigris and Euphrates, spanning from the Mediterranean to the Persian Gulf"></img>'),
- (Ai.map.attribution =
- "Mapa adaptado de un original de © FNSP. Sciences Po-Atelier de cartographie, 2016, con la orientación de Martin Sauvage (CNRS, USR 3225, Nanterre)."),
- (Ai.map.beat0 =
- "A partir del 4000 a.C., en la antigua Mesopotamia, en el actual Irak, se produjeron algunos de los primeros avances que definirían la vida urbana. Esta civilización logró avances en las matemáticas, la ciencia y el derecho; creó obras de literatura, arquitectura y arte, e inventó el primer sistema de escritura del mundo."),
- (Ai.vesselSteadi = {}),
- (Ai.vesselSteadi.beat0 =
- "Los mesopotámicos creían que los humanos habían sido creados al servicio de los dioses,"),
- (Ai.vesselSteadi.beat1 =
- "otorgándoles ofrendas diarias de comida en los recipientes más ornamentados que podían producir. Esta vasija de culto producida en plata es una de las pocas que quedan de esta época."),
- (Ai.vesselSteadi.beat2 =
- "La vasija en sí era una ofrenda al dios Ningirsu. Se colocaba en un templo, uno de los varios que funcionaban como centro religioso, económico y administrativo de la comunidad."),
- (Ai.vesselRender = {}),
- (Ai.vesselRender.wallTextTop = "VASIJA DE CULTO"),
- (Ai.vesselRender.wallTextMid = "Alrededor de 2420 a.C."),
- (Ai.vesselRender.wallTextBottom = "Plata y bronce"),
- (Ai.vesselRender.attribution =
- "<i>Vasija de culto (“La vasija de Enmetena”)</i>, período dinástico temprano, alrededor de 2420 a.C., plata (vasija) y bronce (base). Museo del Louvre, Departamento de Antigüedades del Medio Oriente, París. Expedición Sarzec, 1888. Regalo del sultán Abdul Hamid II, 1896"),
- (Ai.vesselRender.beat0 =
- "Esta águila con cabeza de león representa a Ningirsu, dios de la lluvia, las inundaciones y el arado, elementos que eran clave para la agricultura de regadío que sustentaba la vida en la región árida."),
- (Ai.vesselRender.beat1 =
- "En las garras del pájaro sobrenatural aparecen representados leones e íbices, simbolizando la conexión sagrada entre el mundo divino y el natural."),
- (Ai.vesselRender.beat2 =
- "En el cuello de la vasija se observa una inscripción en sumerio que identifica al obsequiante (un rey) y describe cómo Ningirsu consumirá las ofrendas de esta vasija."),
- (Ai.michauxSteadi = {}),
- (Ai.michauxSteadi.beat0 =
- "Los orígenes de la escritura en Mesopotamia se remontan al cuarto milenio antes de Cristo. Con el tiempo, se desarrolló una escritura denominada cuneiforme, que consistía en caracteres en forma de cuña. Se utilizaba para escribir varias lenguas, siendo el sumerio y el acadio las principales en Mesopotamia."),
- (Ai.michauxRender = {}),
- (Ai.michauxRender.wallTextTop =
- "ESTELA QUE REGISTRA LA DONACIÓN DE TIERRAS"),
- (Ai.michauxRender.wallTextMid = "1100 a 1083 a.C."),
- (Ai.michauxRender.wallTextBottom = "Piedra serpentina"),
- (Ai.michauxRender.attribution =
- "<i>Estela de donación de tierras (“Caillou Michaux”)</i>, período posterior a la dominación casita, 1100 a 1083 a.C., serpentina. Biblioteca Nacional de Francia"),
- (Ai.michauxRender.beat0 =
- "En 1786, un botánico y explorador francés llevó a Europa esta estela tallada de manera muy elaborada y con forma de guijarro procedente de Bagdad. Los expertos se maravillaron con su iconografía y su texto, pero nadie sabía leerlo."),
- (Ai.michauxRender.beat1 =
- "Trascurrieron unos 70 años hasta que se descifrase la lengua acadia y los expertos pudiesen leer esta estela. En ella se detalla una donación de tierras de un padre a su hija con motivo de su matrimonio. Este registro de piedra solía depositarse en un templo, bajo la autoridad de los dioses."),
- (Ai.michauxRender.beat2 =
- "Para mayor protección, en la parte superior de la piedra se encuentra un registro donde están representados dioses babilónicos. Uno de ellos es Nabu, dios de la escritura, representado aquí por un estilete colocado sobre un altar y su símbolo animal, la serpiente dragón."),
- (Ai.architectSteadi = {}),
- (Ai.architectSteadi.beat0 =
- "Según la visión mesopotámica, la realeza era un don de los dioses a la humanidad, y los monarcas gozaban de un estatus sobrehumano. Una de las principales responsabilidades de un monarca era atender las necesidades de los dioses construyendo templos en su honor."),
- (Ai.architectRender = {}),
- (Ai.architectRender.wallTextTop =
- "ESTATUA DEL PRÍNCIPE GUDEA COMO ARQUITECTO"),
- (Ai.architectRender.wallTextMid = "Alrededor de 2120 a.C."),
- (Ai.architectRender.wallTextBottom = "Piedra gabro"),
- (Ai.architectRender.attribution =
- "<i>Estatua del príncipe Gudea como arquitecto</i>, período neosumérico, alrededor de 2120 a.C., gabro. Museo del Louvre, Departamento de Antigüedades del Medio Oriente, París, AO 3. Expedición Sarzec, 1881."),
- (Ai.architectRender.beat0 =
- "Esta estatua del gobernante sumerio Gudea lo representa como arquitecto de un templo dedicado a la diosa Gatumdu."),
- (Ai.architectRender.beat1 =
- "Aquí, Gudea se representa como un gobernante culto y devoto. Tiene las manos entrelazadas en oración, y una tabla con una regla y un estilete (herramientas para diseñar el plano del templo) sobre su regazo."),
- (Ai.architectRender.beat2 =
- "La inscripción en su vestimenta detalla la construcción del templo y la riqueza con la que lo dotó, incluidos el mobiliario, los sirvientes y el ganado."),
- (Ai.dictionarySteadi = {}),
- (Ai.dictionarySteadi.beat0 =
- "Al igual que Gudea, el rey asirio Asurbanipal destacó su erudición y su capacidad de leer y escribir, y creó una gran biblioteca en su palacio en Nínive. Este diccionario bilingüe es una de las miles de tablillas que se encontraron allí."),
- (Ai.dictionaryRender = {}),
- (Ai.dictionaryRender.wallTextTop = "TABLILLA CON DICCIONARIO BILINGÜE"),
- (Ai.dictionaryRender.wallTextMid = "668 a 627 a.C."),
- (Ai.dictionaryRender.wallTextBottom = "Terracotta"),
- (Ai.dictionaryRender.attribution =
- "<i>Tablilla con un diccionario bilingüe procedente de la biblioteca del rey Asurbanipal</i>, período neoasirio, 668 a 627 a.C., terracota. Museo del Louvre, Departamento de Antigüedades del Medio Oriente, París. Adquisición de Géjou, 1918"),
- (Ai.dictionaryRender.beat0 =
- "El diccionario está escrito en arcilla, el material que más se utilizaba en la época para los documentos escritos."),
- (Ai.dictionaryRender.beat1 =
- "Presenta una lista de palabras sumerias a la izquierda y sinónimos acadios a su lado en una columna central. La columna de la derecha incluye una definición de cada vocablo."),
- (Ai.enheduannaSteadi = {}),
- (Ai.enheduannaSteadi.beat0 =
- "Aunque la escritura comenzó con fines administrativos y de mantenimiento de registros, sus usos se ampliaron con el tiempo. Mitos, alabanzas religiosas, contratos y textos científicos y matemáticos sobreviven en miles de tablillas de arcilla. Muchos de ellos aún no se han traducido."),
- (Ai.enheduannaSteadi.beat1 =
- "La primera autora mencionada en la historia fue la sacerdotisa Enheduanna, hija de un rey acadio. Enheduanna escribió al menos cuarenta himnos dedicados a los dioses a lo largo de su vida, en algunos de los cuales se refiere a sí misma por su nombre."),
- (Ai.enheduannaSteadi.wallTextTop =
- "TABLILLA CON “EXALTACIÓN DE INANNA”"),
- (Ai.enheduannaSteadi.wallTextMid = "1850 a 1700 a.C."),
- (Ai.enheduannaSteadi.wallTextBottom = "Arcilla sin cocer"),
- (Ai.enheduannaSteadi.attribution =
- "<i>Tablilla con la “Exaltación de Inanna” de la princesa Enheduanna</i>, período babilónico antiguo, 1850 a 1700 a.C., arcilla sin cocer. Museo del Louvre, Departamento de Antigüedades del Medio Oriente, París, AO 6713. Adquisición de Géjou, 1914"),
- (Ai.enheduannaSteadi.beat2 =
- "Esta tablilla, que contiene una parte de su himno “Exaltación de Inanna”, es una copia realizada unos 500 años después de su muerte."),
- (Ai.enheduannaSteadi.buttonText =
- "Lea un extracto de la tablilla aquí."),
- (Ai.enheduannaPoem = {}),
- (Ai.enheduannaPoem.title = "Exaltación de Inanna"),
- (Ai.enheduannaPoem.line1 =
- "Gran reina [Inanna] de reinas, producto de la matriz sagrada de los poderes divinos, suprema sobre su propia madre."),
- (Ai.enheduannaPoem.line2 =
- "Muy sabia y atenta señora de todas las tierras, fuerza vital de multitudes, yo recitaré una canción en tu honor."),
- (Ai.enheduannaPoem.line3 =
- "Diosa verdaderamente digna de poderes divinos, tu palabra solemne es sublime…"),
- (Ai.enheduannaPoem.line4 =
- "Fue en tu servicio que entré por primera vez en el templo sagrado,"),
- (Ai.enheduannaPoem.line5 = "yo, Enheduanna, la más alta princesa."),
- (Ai.enheduannaPoem.line6 =
- "Portaba la cesta ritual, cantaba tu alabanza."),
- (Ai.enheduannaPoem.line7 =
- "Pero se hicieron sacrificios funerarios, y yo ya no estoy allí."),
- (Ai.enheduannaPoem.line8 =
- "Me acerqué a la luz, pero era de un calor abrazador."),
- (Ai.enheduannaPoem.line9 =
- "Me acerqué a la sombra, pero estaba cubierta de tormenta."),
- (Ai.enheduannaPoem.line10 = "Mi bella boca sólo conoce la confusión."),
- (Ai.enheduannaPoem.line11 =
- "Todo lo que solía encantarme se convirtió en ceniza…"),
- (Ai.enheduannaPoem.line12 =
- "[Si] se lo dices a [el dios] An ahora, An podrá deshacerlo para mí…"),
- (Ai.enheduannaPoem.line13 =
- "La tierra, rebelde y malvada por culpa de Nanna, puede que An la libere."),
- (Ai.enheduannaPoem.line14 =
- "Que An destruya esa ciudad; que [el dios] Enlil la maldiga; que sus madres ya no apacigüen el llanto de sus hijos."),
- (Ai.enheduannaPoem.line15 =
- "Señora, los agravios que se causaron, que tu barco que acarrea estos agravios los abandone en otras tierras."),
- (Ai.enheduannaPoem.line16 =
- "¿Debo morir por mi noble canción? Mi Nanna no me ha hablado todavía."),
- (Ai.enheduannaPoem.attribution =
- "Traducción basada en la obra de Antoine Cavigneaux y Anne-Caroline Rendu Loisel, <i>L’histoire commence en Mésopotamie</i>, 2016"),
- (Ai.coneSteadi = {}),
- (Ai.coneSteadi.beat0 =
- "La escritura también se utilizó para codificar las leyes, que eran competencia de los reyes. Los gobernantes eran responsables de garantizar la justicia en la sociedad, y las primeras reformas legales conocidas surgieron en Mesopotamia."),
- (Ai.coneRender = {}),
- (Ai.coneRender.wallTextTop = "CONO CON LAS REFORMAS DEL REY URUKAGINA"),
- (Ai.coneRender.wallTextMid = "Alrededor de 2350 a.C."),
- (Ai.coneRender.wallTextBottom = "Terracotta"),
- (Ai.coneRender.attribution =
- "<i>Cono con reformas del rey Urukagina</i>, período dinástico temprano, alrededor de 2350 a.C., terracota. Museo del Louvre, Departamento de Antigüedades del Medio Oriente, París. Adquisición de Géjou, 1900"),
- (Ai.coneRender.beat0 =
- "Hecho de arcilla cocida, este cono tiene una inscripción a su alrededor. En ella se recogen las reformas de justicia social instituidas por el rey Urukagina para proteger a los oprimidos."),
- (Ai.coneRender.beat1 =
- "En este texto, Urukagina afirma haber restablecido el orden social de la ciudad de Lagash frente a los “abusos de antaño”, especialmente en los palacios y templos. Este es el primer texto conocido que declara la importancia de tratar al pueblo con imparcialidad, justicia y equidad."),
- (Ai.gudeaSteadi = {}),
- (Ai.gudeaSteadi.beat0 =
- "Los monarcas mesopotámicos encargaban estatuas con su imagen que distribuían por sus tierras para reafirmar su poder y su derecho divino a gobernar."),
- (Ai.gudeaRender = {}),
- (Ai.gudeaRender.wallTextTop = "ESTATUA DE GUDEA CON VASIJA QUE MANA"),
- (Ai.gudeaRender.wallTextMid = "Alrededor de 2120 a.C."),
- (Ai.gudeaRender.wallTextBottom = "Dolerita"),
- (Ai.gudeaRender.attribution =
- "<i>Estatua del príncipe Gudea con una vasija que mana</i>, período neosumeriano, alrededor de 2120 a.C., dolerita. Museo del Louvre, Departamento de Antigüedades del Medio Oriente, París. Donación de Boisgelin, 1967 (colección de Clercq)"),
- (Ai.gudeaRender.beat0 =
- "Gudea está ataviado con una prenda que deja un hombro al descubierto. Su brazo musculoso simboliza la fuerza y la perfección física de un rey. Sostiene una vasija de la que brotan dos chorros de agua con peces, que se derraman por su cuerpo."),
- (Ai.gudeaRender.beat1 =
- "En sus estatuas, el gobernante Gudea optó por destacar su papel de devoto. Se le muestra sin barba y con la cabeza rapada, con un gorro de ala con hileras de rizos, símbolo de la realeza."),
- (Ai.gudeaRender.beat2 =
- "La inscripción que se observa en la parte delantera de su vestimenta es una dedicación a Geshtinanna, diosa del agua que da vida. Una estatua como esta proclama que cuando los monarcas se alinean con los dioses, el mundo está en equilibrio y el dominio del rey prospera."),
- (Ai.footer = {}),
- (Ai.footer.outro =
- "La civilización mesopotámica y sus lenguas vieron su ocaso en el siglo I d.C., después de influir profundamente en la cosmovisión, la ciencia y la literatura de otras culturas."),
- (Ai.footer.info =
- 'La exposición <a href="https://www.getty.edu/art/exhibitions/mesopotamia/" target="_blank">“Mesopotamia: el alba de la civilización”</a> se presentó del 21 de abril al 16 de agosto de 2021 en la Villa Getty. Fue organizada por el Museo del Louvre de París y el Museo J. Paul Getty de Los Ángeles, con el apoyo económico del Consejo Federal de Artes y Humanidades.'),
- (Ai.footer.curatedBy = "EXPOSICIÓN COMISARIADA POR"),
- (Ai.footer.curatorCredits =
- "Dra. Ariane Thomas, directora del Departamento de Antigüedades del Medio Oriente y conservadora responsable de las Colecciones de la Mesopotamia del Museo del Louvre; Dr. Timothy Potts, director del Museo J. Paul Getty."),
- (Ai.footer.producedBy = "EXPERIENCIA WEB PRODUCIDA POR"),
- (Ai.footer.producerCredits =
- 'Serena Parr, Todd Swanson, Anne Martens, Mustafa Eck, Isoke Cullins, Laura Hubbard y <a href="https://www.finalform.systems" target="_blank">Final Form Systems</a>.'),
- (Ai.footer.visit = "Visite la Villa Getty"),
- (Ai.footer.backToTop = "Volver al principio");
- const Mi = Ai;
- var Ni = {
- titleCities: "Cités",
- titleWritings: "Écriture",
- titleKings: "Rois",
- titleMesopotamia: "MÉSOPOTAMIE",
- titleLook:
- "Un regard intime sur quelques-uns des objets extraordinaires ",
- titleVilla: "d’une exposition à la Villa Getty",
- titlePlease: "Veuillez faire défiler",
- lion: {},
- };
- (Ni.lion.beat0 =
- "Pour les anciens Mésopotamiens, le divin faisait partie de la vie quotidienne."),
- (Ni.lion.beat1 =
- "Même l’architecture urbaine avait une signification symbolique et religieuse. La décoration architecturale de la ville antique de Babylone en est un exemple frappant."),
- (Ni.lion.wallTextTop = "PANNEAU AVEC LION EN MARCHE"),
- (Ni.lion.wallTextMid = "605-562 av. J.-C."),
- (Ni.lion.wallTextBottom = "Céramique vernissée"),
- (Ni.lion.attribution =
- "<i>Panneau avec lion en marche</i>, période néo-babylonienne, 605-562 av. J.-C., céramique vernissée. The Metropolitan Museum of Art, Fonds Fletcher, 1931 (31.13.1). © The Metropolitan Museum of Art"),
- (Ni.lion.beat2 =
- "Ce panneau de briques vernissées. représentant un lion en marche, était parmi plus d’une centaine qui bordaient des deux côtés la rue la plus importante de Babylone, la voie processionnelle. Cette rue passait par la porte d’Ishtar, reliant les palais et les principaux temples de la cité."),
- (Ni.lion.beat3 =
- "Les lions étaient associés à Ishtar, déesse de l’amour et de la guerre, et ces lions servaient de sentinelles pour surveiller les processions religieuses et les défilés militaires. Les briques bleues et or remplissaient la rue de couleurs vives. Moulé en relief, ce lion déborde le plan du panneau et pénètre notre espace."),
- (Ni.lion.beat4 =
- "Il s’agit de l’un des quelque 130 objets présentés en 2021 à la Villa Getty, dans le cadre d’une grande exposition sur la Mésopotamie antique réalisée en partenariat avec le Musée du Louvre. Ces objets mettent en lumière le développement des cités, de l’écriture et des royaumes de Mésopotamie au cours d’environ trois mille ans."),
- (Ni.map = {}),
- (Ni.map.image =
- '<img height="600" width="750" src="/assets/images/meso-map-french.jpg" alt="Map of Mesopatamia as the `Fertile Crescent` between the Tigris and Euphrates, spanning from the Mediterranean to the Persian Gulf"></img>'),
- (Ni.map.attribution =
- "Carte adaptée d’après un original créé et © par FNSP. Sciences Po-Atelier de cartographie, 2016, avec les conseils de Martin Sauvage (CNRS, USR 3225, Nanterre)"),
- (Ni.map.beat0 =
- "À partir de l’an 4000 av. J.-C., dans l’Irak d’aujourd’hui, l’ancienne Mésopotamie a connu certaines des premières évolutions qui allaient caractériser la vie urbaine. Les Mésopotamiens ont fait des progrès en mathématiques, en sciences et en droit, créé des œuvres littéraires, architecturales et artistiques, et inventé le premier système d’écriture au monde."),
- (Ni.vesselSteadi = {}),
- (Ni.vesselSteadi.beat0 =
- "Les Mésopotamiens croyaient que les humains étaient créés pour servir les dieux."),
- (Ni.vesselSteadi.beat1 =
- "Ils sacrifiaient quotidiennement aux dieux de la nourriture dans les récipients les plus précieux qu’ils puissent fabriquer. Ce vaisseau rituel en argent est l’une des rares pièces qui subsistent aujourd’hui."),
- (Ni.vesselSteadi.beat2 =
- "Le récipient lui-même était un don au dieu Ningirsu. Il aurait été placé dans un temple, l’un des nombreux temples qui faisaient fonction de centres religieux, économiques et administratifs de la communauté."),
- (Ni.vesselRender = {}),
- (Ni.vesselRender.wallTextTop = "VAISSEAU RITUEL"),
- (Ni.vesselRender.wallTextMid = "Environ 2420 av. J.-C."),
- (Ni.vesselRender.wallTextBottom = "Argent et bronze"),
- (Ni.vesselRender.attribution =
- "<i>Vaisseau rituel (« le vase d’Enméténa »)</i>, période dynastique archaïque, environ 2420 av. J.-C., argent (vase) et bronze (socle). Musée du Louvre, département des antiquités orientales, Paris. Expédition Sarzec, 1888. Don du sultan Abdul Hamid II, 1896."),
- (Ni.vesselRender.beat0 =
- "Cet aigle léontocéphale représente Ningirsu, dieu des pluies torrentielles, des inondations et des labours, autant d’éléments essentiels à l’agriculture par irrigation qui permettait la survie dans cette région aride."),
- (Ni.vesselRender.beat1 =
- "L’emprise de l’oiseau surnaturel sur les lions et les bouquetins suggère un lien sacré entre les mondes divin et naturel."),
- (Ni.vesselRender.beat2 =
- "L’inscription sumérienne autour du col du vase identifie le donateur—un roi—et décrit comment Ningirsu consommera les offrandes contenues dans ce vase."),
- (Ni.michauxSteadi = {}),
- (Ni.michauxSteadi.beat0 =
- "Les origines de l’écriture en Mésopotamie peuvent être suivies jusqu’au quatrième millénaire av. J.-C. Une écriture évolue au fil du temps, appelée cunéiforme, formée de caractères en forme de coin. Celle-ci était utilisée pour écrire plusieurs langues, le sumérien et l’akkadien en étant les principales en Mésopotamie."),
- (Ni.michauxRender = {}),
- (Ni.michauxRender.wallTextTop =
- "STÈLE ENREGISTRANT LA CONCESSION DE TERRES"),
- (Ni.michauxRender.wallTextMid = "1100-1083 av. J.-C."),
- (Ni.michauxRender.wallTextBottom = "Pierre serpentine"),
- (Ni.michauxRender.attribution =
- "<i>Stèle de concession de terrain (« caillou Michaux »)</i>, période post-cassite, 1100-1083 av. J.-C., serpentine. Bibliothèque nationale de France"),
- (Ni.michauxRender.beat0 =
- "En 1786, lorsqu’un botaniste et explorateur français rapporta en Europe de Bagdad cette stèle en forme de galet, finement sculptée, les observateurs s’interrogèrent sur son iconographie et son texte, sans que personne puisse décoder ce dernier."),
- (Ni.michauxRender.beat1 =
- "Il faudra attendre environ 70 ans pour que la langue akkadienne soit déchiffrée et que les spécialistes puissent lire cette stèle. Elle entérine dans le détail un don de terres par un père à sa fille, à l’occasion du mariage de celle-ci. Ce document en pierre aurait probablement été exposé dans un temple, sous la surveillance des dieux."),
- (Ni.michauxRender.beat2 =
- "Pour une protection supplémentaire, des dieux babyloniens sont sculptés le long du registre supérieur de la pierre. L’un d’eux est Nabû, dieu de l’écriture, symbolisé ici par un stylet reposant sur un autel et attaché à son symbole animal, le serpent-dragon."),
- (Ni.architectSteadi = {}),
- (Ni.architectSteadi.beat0 =
- "Dans la croyance mésopotamienne, la royauté était un don des dieux à l’humanité, et les princes jouissaient d’un statut surhumain. L’une des principales responsabilités d’un prince était de répondre aux exigences divines en construisant des temples."),
- (Ni.architectRender = {}),
- (Ni.architectRender.wallTextTop =
- "STATUE DU PRINCE GUDÉA EN ARCHITECTE"),
- (Ni.architectRender.wallTextMid = "Vers 2120 av. J.-C."),
- (Ni.architectRender.wallTextBottom = "Pierre gabbro"),
- (Ni.architectRender.attribution =
- "<i>Statue du prince Gudéa repésenté en architecte</i>, période néo-sumérienne, environ 2120 av. J.-C., gabbro. Musée du Louvre, département des antiquités orientales, Paris, AO 3. Expédition Sarzec, 1881"),
- (Ni.architectRender.beat0 =
- "Cette statue du prince sumérien Gudéa le représente comme architecte d’un temple dédié à la déesse Gatumdu."),
- (Ni.architectRender.beat1 =
- "Ici, Gudéa se représente comme un souverain instruit et pieux. Ses mains sont jointes en prière et une tablette, une règle et un stylet—outils pour dessiner le plan du bâtiment—reposent sur ses genoux."),
- (Ni.architectRender.beat2 =
- "Les inscriptions sur son vêtement détaillent la construction du temple et les richesses dont il l’a doté—dont le mobilier, les serviteurs et le bétail."),
- (Ni.dictionarySteadi = {}),
- (Ni.dictionarySteadi.beat0 =
- "Tout comme Gudéa, le roi assyrien Assurbanipal mettait l’accent sur son érudition et sa compétence à lire et à écrire, amassant une grande bibliothèque dans son palais de Ninive. Ce dictionnaire bilingue est l’une des milliers de tablettes qui y ont été trouvées."),
- (Ni.dictionaryRender = {}),
- (Ni.dictionaryRender.wallTextTop =
- "TABLETTE AVEC DICTIONNAIRE BILINGUE"),
- (Ni.dictionaryRender.wallTextMid = "668-627 av. J.-C."),
- (Ni.dictionaryRender.wallTextBottom = "Terre cuite"),
- (Ni.dictionaryRender.attribution =
- "<i>Tablette inscrite d’un dictionnaire bilingue, de la bibliothèque du roi Assurbanipal</i>, période néo-assyrienne, 668-627 av. J.-C., terre cuite. Musée du Louvre, département des Antiquités orientales, Paris. Achat de Géjou, 1918"),
- (Ni.dictionaryRender.beat0 =
- "Le dictionnaire est écrit sur de l’argile, matériau le plus usuel pour les documents écrits."),
- (Ni.dictionaryRender.beat1 =
- "Il présente une liste de mots sumériens, à gauche, et des synonymes akkadiens au centre-droit. La colonne la plus à droite contient une définition pour chaque mot."),
- (Ni.enheduannaSteadi = {}),
- (Ni.enheduannaSteadi.beat0 =
- "Bien que l’écriture doive ses débuts à des fins administratives et de tenue de registres, ses usages se sont étendus au fil du temps. Des mythes, des hymnes religieux, des contrats et des textes scientifiques et mathématiques survivent sur des centaines de milliers de tablettes d’argile. Beaucoup attendent encore d’être traduites."),
- (Ni.enheduannaSteadi.beat1 =
- "Le premier auteur nommé dans l’histoire est la prêtresse Enheduanna, fille d’un roi akkadien. Au cours de sa vie, Enheduanna composa au moins quarante hymnes aux dieux, dans certains desquels elle cite son propre nom."),
- (Ni.enheduannaSteadi.wallTextTop =
- "TABLETTE CONTENANT « L’EXALTATION D’INANNA »."),
- (Ni.enheduannaSteadi.wallTextMid = "1850-1700 av. J.-C."),
- (Ni.enheduannaSteadi.wallTextBottom = "Argile non cuite"),
- (Ni.enheduannaSteadi.attribution =
- "<i>Tablette contenant « l’exaltation d’Inanna » de la princesse Enheduanna</i>, période paléo-babylonienne, 1850-1700 av. J.-C., argile non cuite. Musée du Louvre, département des Antiquités orientales, Paris, AO 6713. Achat de Géjou, 1914"),
- (Ni.enheduannaSteadi.beat2 =
- "Cette tablette, qui contient une partie de son hymne « l’exaltation d’Inanna », est une copie réalisée 500 ans environ après son décès."),
- (Ni.enheduannaSteadi.buttonText =
- "Lisez un extrait de la tablette ici."),
- (Ni.enheduannaPoem = {}),
- (Ni.enheduannaPoem.title = "Exaltation d’Inanna"),
- (Ni.enheduannaPoem.line1 =
- "Grande reine [Inanna] parmi les reines, qui est née d’un ventre pur pour des pouvoirs justes, qui dépasse sa propre mère."),
- (Ni.enheduannaPoem.line2 =
- "Très savante et consciente reine de toutes les terres, toi qui donnes la vie à d’innombrables humains, je chanterai en ton honneur une chanson digne de toi."),
- (Ni.enheduannaPoem.line3 =
- "Déesse véritablement digne de ses pouvoirs, ta parole solennelle est sublime...."),
- (Ni.enheduannaPoem.line4 = "J’étais entrée chez ma prêtresse pure,"),
- (Ni.enheduannaPoem.line5 = "moi, Enheduanna, la prêtresse « En »."),
- (Ni.enheduannaPoem.line6 =
- "J’avais porté le panier rituel et entamé un chant festif."),
- (Ni.enheduannaPoem.line7 =
- "Mais des sacrifices funéraires ont été faits, et je ne suis plus là."),
- (Ni.enheduannaPoem.line8 =
- "Je m’approchai de la lumière, mais la lumière me brûla."),
- (Ni.enheduannaPoem.line9 =
- "Je m’approchai de l’ombre, mais la tempête cacha tout."),
- (Ni.enheduannaPoem.line10 =
- "Ma bouche melliflue fut frappée de confusion."),
- (Ni.enheduannaPoem.line11 =
- "Tout ce qui me ravissait est devenu poussière..."),
- (Ni.enheduannaPoem.line12 =
- "[Si] tu le dis maintenant [au dieu] An, An le défera pour moi..."),
- (Ni.enheduannaPoem.line13 =
- "Puisse An délivrer la terre, terre rebelle et malveillante à cause de Nanna."),
- (Ni.enheduannaPoem.line14 =
- "Puisse An détruire cette cité, puisse [le dieu] Enlil la maudire, puissent ses mères ne plus apaiser les pleurs de leurs enfants."),
- (Ni.enheduannaPoem.line15 =
- "Que les griefs qui ont été causés, Reine, soient abandonnés ailleurs par votre navire qui emporte les plaintes."),
- (Ni.enheduannaPoem.line16 =
- "Dois-je mourir à cause de ma noble chanson? Ma Nanna ne m’a pas prêté attention."),
- (Ni.enheduannaPoem.attribution =
- "Traduction d’après Antoine Cavigneaux et Anne-Caroline Rendu Loisel, <i>L’histoire commence en Mésopotamie</i>, 2016"),
- (Ni.coneSteadi = {}),
- (Ni.coneSteadi.beat0 =
- "L’écriture était également utilisée pour codifier les lois, qui étaient du ressort des rois. Les princes étaient chargés de garantir la justice dans la société, et les premières réformes juridiques connues proviennent de Mésopotamie."),
- (Ni.coneRender = {}),
- (Ni.coneRender.wallTextTop = "CÔNE DES RÉFORMES DU ROI URUKAGINA"),
- (Ni.coneRender.wallTextMid = "Vers 2350 av. J.-C."),
- (Ni.coneRender.wallTextBottom = "Terre cuite"),
- (Ni.coneRender.attribution =
- "<i>Cône relatant les réformes du roi Urukagina</i>, période dynastique archaïque, environ 2350 av. J.-C., terre cuite. Musée du Louvre, département des Antiquités orientales, Paris. Achat de Géjou, 1900"),
- (Ni.coneRender.beat0 =
- "Une inscription s’enroule autour de ce cône, fabriqué en argile cuite. Le texte enregistre les réformes de justice sociale instituées par le roi Urukagina afin de protéger les opprimés."),
- (Ni.coneRender.beat1 =
- "Dans ce texte, Urukagina affirme avoir restauré l’ordre social de la cité de Lagash contre les « abus d’autrefois », notamment dans les palais et les temples. Il s’agit du premier texte connu qui affirme l’importance de traiter les gens avec équité, justice et impartialité."),
- (Ni.gudeaSteadi = {}),
- (Ni.gudeaSteadi.beat0 =
- "Les princes mésopotamiens ont commandé des statues à leur effigie pour les disséminer dans leurs royaumes, exprimant leur pouvoir et leur règne de droit divin."),
- (Ni.gudeaRender = {}),
- (Ni.gudeaRender.wallTextTop = "STATUE DE GUDÉA AU VASE JAILLISSANT"),
- (Ni.gudeaRender.wallTextMid = "Vers 2120 av. J.-C."),
- (Ni.gudeaRender.wallTextBottom = "Pierre dolérite"),
- (Ni.gudeaRender.attribution =
- "<i>Statue du prince Gudéa portant un vase d’eau jaillissante</i>, période néo-sumérienne, environ 2120 av. J.-C., dolérite. Musée du Louvre, département des Antiquités orientales, Paris. Don Boisgelin, 1967 (collection de Clercq)"),
- (Ni.gudeaRender.beat0 =
- "Gudea porte un vêtement qui laisse une épaule nue. Son bras musclé symbolise la force et la perfection physique d’un roi. Il tient un vase d’où jaillissent deux courants d’eau, regorgeant de poissons, descendant le long de son corps."),
- (Ni.gudeaRender.beat1 =
- "Dans ses statues, le prince Gudéa a choisi de mettre en relief son rôle de pieux adorateur. Il est représenté imberbe et le crâne rasé, coiffé d’un bonnet royal bordé de boucles de cheveux en spirale."),
- (Ni.gudeaRender.beat2 =
- "L’inscription sur le devant du vêtement de Gudéa dédie cet objet à Geshtinanna, déesse de l’eau vivifiante. Une telle statue proclame que le monde est en équilibre et le domaine royal prospère lorsque les princes s’accordent avec les dieux."),
- (Ni.footer = {}),
- (Ni.footer.outro =
- "La civilisation mésopotamienne et ses langues ont disparu au premier siècle de notre ère mais pas sans avoir profondément marqué la vision du monde, la science et la littérature d’autres cultures."),
- (Ni.footer.info =
- 'L’exposition <a href="https://www.getty.edu/art/exhibitions/mesopotamia/" target="_blank">« Mesopotamia : Civilization Begins »</a> a été présentée du 21 avril au 16 août 2021 à la villa Getty. Elle était organisée par le Musée du Louvre, Paris, et le J. Paul Getty Museum, Los Angeles, avec le soutien d’une indemnisation de la part du Federal Council on the Arts and the Humanities.'),
- (Ni.footer.curatedBy = "CURATEURS DE L’EXPOSITION"),
- (Ni.footer.curatorCredits =
- "Dre Ariane Thomas, directrice du département des Antiquités orientales et conservatrice en chef des collections de Mésopotamie, Musée du Louvre ; Timothy Potts, directeur du J. Paul Getty Museum."),
- (Ni.footer.producedBy = "EXPÉRIENCE WEB PRODUITE PAR"),
- (Ni.footer.producerCredits =
- 'Serena Parr, Todd Swanson, Anne Martens, Mustafa Eck, Isoke Cullins, Laura Hubbard et <a href="https://www.finalform.systems" target="_blank">Final Form Systems</a>.'),
- (Ni.footer.visit = "Visitez la Villa Getty"),
- (Ni.footer.backToTop = "Retour au début");
- const ji = Ni;
- var Li = {
- titleCities: "城邦",
- titleWritings: "文字",
- titleKings: "国王",
- titleMesopotamia: "美索不达米亚",
- titleLook: "近距离观看盖蒂别墅博物馆展览",
- titleVilla: "的一些优秀展品",
- titlePlease: "请滚动",
- lion: {},
- };
- (Li.lion.beat0 = "对古代美索不达米亚人来说,礼拜是日常生活的一部分。"),
- (Li.lion.beat1 =
- "各城邦的城市建筑甚至被赋予象征及宗教意义。巴比伦古城的建筑装饰即是一个鲜明例子。"),
- (Li.lion.wallTextTop = "迈步狮纹镶板"),
- (Li.lion.wallTextMid = "公元前605-562年"),
- (Li.lion.wallTextBottom = "涂釉陶瓷"),
- (Li.lion.attribution =
- "<i>迈步狮纹镶板</i>,新巴比伦时期,公元前605-562年,涂釉陶瓷。大都会艺术博物馆,Fletcher Fund,1931 (31.13.1)。©大都会艺术博物馆版权所有"),
- (Li.lion.beat2 =
- "在巴比伦最重要的街道Processional Way两侧,排列着一百多块狮子釉砖,迈步狮纹镶板便是其中之一。这条路穿过伊什塔尔城门(Ishtar Gate),连接这座城市的宫殿及主要神庙。"),
- (Li.lion.beat3 =
- "狮子让人联想到爱情及战争女神伊什塔尔(Ishtar),这些狮子充当哨兵,监督宗教游行及阅兵。蓝色和金色砖块为街道增添生气勃勃的色彩。这只狮子采用浮雕造型,从镶板表面投射到我们的空间。"),
- (Li.lion.beat4 =
- "这是盖蒂别墅博物馆在2021年与卢浮宫博物馆合作举办的关于古美索不达米亚的大型展览中展出的130多件展品之一。这些展品囊括了美索不达米亚城邦、文字及王国于约三千年的发展。"),
- (Li.map = {}),
- (Li.map.image =
- '<img height="600" width="750" src="/assets/images/meso-map-chinese-simplified.jpg" alt="Map of Mesopatamia as the `Fertile Crescent` between the Tigris and Euphrates, spanning from the Mediterranean to the Persian Gulf"></img>'),
- (Li.map.attribution =
- "地图由FNSP根据原作改编,© FNSP版权所有。Sciences Po–Atelier de cartographie,2016年,由Martin Sauvage指导(法国国家科学研究中心,USR 3225,Nanterre)"),
- (Li.map.beat0 =
- "约公元前4000年,古美索不达米亚(即如今的伊拉克)是城市生活最早形成的发源地。美索不达米亚人在数学、科学及法律方面取得了进步;创作文学、建筑及艺术作品;以及发明了世界上第一个文字系统。"),
- (Li.vesselSteadi = {}),
- (Li.vesselSteadi.beat0 = "美索不达米亚人认为,人乃为服务于神而造。"),
- (Li.vesselSteadi.beat1 =
- "他们用自己亲手制作的最珍贵容器,每日供奉众神。该银制祭祀器皿是为数不多的现存器皿之一。"),
- (Li.vesselSteadi.beat2 =
- "该器皿也是赠送给尼努尔塔(Ningirsu)神的礼物,一直放置于一间充当社区宗教、经济及行政中心的神庙中。"),
- (Li.vesselRender = {}),
- (Li.vesselRender.wallTextTop = "祭祀器皿"),
- (Li.vesselRender.wallTextMid = "约公元前2420年"),
- (Li.vesselRender.wallTextBottom = "银铜制"),
- (Li.vesselRender.attribution =
- "<i>祭祀器皿(“Enmetena花瓶”)</i>,早王朝时期,约公元前2420年,银制(花瓶)及铜制(底座)。卢浮宫,中东文物部,巴黎。Sarzec考察队,1888年。阿卜杜勒-哈米德二世的馈赠,1896年"),
- (Li.vesselRender.beat0 =
- "这只狮头鹰代表尼努尔塔(Ningirsu)神,其掌管暴雨、洪水及耕作—这些都是支撑干旱地区人民生活的灌溉农业的关键元素。"),
- (Li.vesselRender.beat1 =
- "这只超自然的鹰抓住狮子和野山羊,表示神与自然世界以一种神圣的方式联系在一起。"),
- (Li.vesselRender.beat2 =
- "瓶颈上的苏美尔铭文列明捐赠者(即一位国王),并描述了尼努尔塔将如何从这个花瓶中享用祭品。"),
- (Li.michauxSteadi = {}),
- (Li.michauxSteadi.beat0 =
- "美索不达米亚文字的起源可追溯到公元前4000年。随着时间的推移,人类发明了楔形文字,由楔形字符组成。它被用来书写多种语言,而苏美尔语及阿卡德语是美索不达米亚的主要语言。"),
- (Li.michauxRender = {}),
- (Li.michauxRender.wallTextTop = "记录赠地的石碑"),
- (Li.michauxRender.wallTextMid = "公元前1100–1083年"),
- (Li.michauxRender.wallTextBottom = "蛇纹石"),
- (Li.michauxRender.attribution =
- "<i>赠地石碑(“Caillou Michaux”)</i>,后加喜特王朝时期,公元前1100–1083年,蛇纹石。法国国家图书馆"),
- (Li.michauxRender.beat0 =
- "1786年,一名法国植物学家及探险家将这座雕刻复杂的卵石形石碑从巴格达带到欧洲,观众对它的插图和文字感到好奇,但没有人能看懂。"),
- (Li.michauxRender.beat1 =
- "约70年后,阿卡德语被破译,学者们才能读懂这块石碑。它详细描述了一位父亲在女儿结婚时赠送她土地的故事。这块石志一直于神庙中展示,享有众神的权威。"),
- (Li.michauxRender.beat2 =
- "为增强保护,巴比伦众神被雕刻在石头顶部。一个是写作之神纳布(Nabu),由祭坛顶端的一只笔象征,与他的动物标志蛇龙相连。"),
- (Li.architectSteadi = {}),
- (Li.architectSteadi.beat0 =
- "美索不达米亚人认为,王权是神赐予人类的礼物,统治者享有超人的地位。统治者的主要职责之一是建造神庙来满足神的需要。"),
- (Li.architectRender = {}),
- (Li.architectRender.wallTextTop = "神庙建筑师古地亚雕像"),
- (Li.architectRender.wallTextMid = "约公元前2120年"),
- (Li.architectRender.wallTextBottom = "辉长岩"),
- (Li.architectRender.attribution =
- "<i>神庙建筑师古地亚雕像</i>,新苏美尔时期,约公元前2120年,辉长岩。卢浮宫,中东文物部,巴黎,AO 3。Sarzec考察队,1881年"),
- (Li.architectRender.beat0 =
- "这座苏美尔统治者古地亚的雕像描述他为女神Gatumdu建造了一座神庙。"),
- (Li.architectRender.beat1 =
- "在这座雕像中,古地亚将自己描绘成一位受过教育的虔诚统治者。他双手合十祈祷,并在膝盖上放置一块带尺子和笔的泥板—这些都是绘画建筑物平面图的工具。"),
- (Li.architectRender.beat2 =
- "衣服上的铭文详细描述了神庙的建造及他赋予神庙的财富,包括家具、仆人及牲畜。"),
- (Li.dictionarySteadi = {}),
- (Li.dictionarySteadi.beat0 =
- "和古地亚一样,亚述国王亚述巴尼拔(Ashurbanipal)也强调自己的学识和读写能力,他在尼尼微的宫殿中建造了一座大图书馆。该双语词典便是在该图书馆找到的数千个泥板中的一个。"),
- (Li.dictionaryRender = {}),
- (Li.dictionaryRender.wallTextTop = "双语词典泥板"),
- (Li.dictionaryRender.wallTextMid = "公元前668–627年"),
- (Li.dictionaryRender.wallTextBottom = "陶瓦"),
- (Li.dictionaryRender.attribution =
- "<i>来自亚述巴尼拔图书馆的双语词典泥板</i>,新亚述时期,公元前668–627年,陶瓦。卢浮宫,中东文物部,巴黎。Géjou购买,1918年"),
- (Li.dictionaryRender.beat0 =
- "该词典在粘土上编著,粘土是用做书写文件最常用的材料。"),
- (Li.dictionaryRender.beat1 =
- "词典左列是苏美尔语词语,中间至右列是阿卡德语同义词。最右侧一列载有每个单词的定义。"),
- (Li.enheduannaSteadi = {}),
- (Li.enheduannaSteadi.beat0 =
- "当文字开始用于行政管理及记录目的时,它的用途随着时间的推移而扩大。神话、宗教赞美诗、契约、科学及数学文本保存在成百上千个泥板上。许多作品尚有待翻译。"),
- (Li.enheduannaSteadi.beat1 =
- "历史上第一个署名作者是女祭司Enheduanna,她是阿卡德国王的女儿。Enheduanna一生为众神至少创作了四十首赞美诗,她在其中一些赞美诗中提到了自己的名字。"),
- (Li.enheduannaSteadi.wallTextTop =
- "印有“伊南娜的晋升”(Exaltation of Inanna)的泥板"),
- (Li.enheduannaSteadi.wallTextMid = "公元前1850-1700年"),
- (Li.enheduannaSteadi.wallTextBottom = "未经烧制的粘土"),
- (Li.enheduannaSteadi.attribution =
- "<i>印有恩赫杜安娜公主“伊南娜的晋升”的泥板</i>,古巴比伦时期,公元前1850-1700年,未经烧制的粘土。卢浮宫,中东文物部,巴黎,AO 6713。Géjou于1914年购买"),
- (Li.enheduannaSteadi.beat2 =
- "该泥板刻有其赞美诗“伊南娜的晋升”的一部分,为其身后约500年制作的复刻本。"),
- (Li.enheduannaSteadi.buttonText = "于此处阅读该泥板的摘录"),
- (Li.enheduannaPoem = {}),
- (Li.enheduannaPoem.title = "伊南娜的晋升"),
- (Li.enheduannaPoem.line1 =
- "女王中的伟大女王[伊南娜],因正义的力量诞生于纯洁的子宫,并超越了其母亲。"),
- (Li.enheduannaPoem.line2 =
- "所有土地上的极具博学与智慧的女王,您给予无数人生命,我将以您之名为您唱颂。"),
- (Li.enheduannaPoem.line3 =
- "真正与权力相称的女神,您的庄严话语令人崇敬……"),
- (Li.enheduannaPoem.line4 = "我来到了纯洁女神的所在之处,"),
- (Li.enheduannaPoem.line5 = "我,女祭司恩赫杜安娜。"),
- (Li.enheduannaPoem.line6 = "我已携上祭祀的礼篮,高唱祝歌。"),
- (Li.enheduannaPoem.line7 = "供奉的葬礼开始了,我不复存在。"),
- (Li.enheduannaPoem.line8 = "我靠近光,光点燃了我。"),
- (Li.enheduannaPoem.line9 = "我靠近阴影,风暴遮掩所有。"),
- (Li.enheduannaPoem.line10 = "我如蜜般的嘴唇,缄默于困惑。"),
- (Li.enheduannaPoem.line11 = "曾令我欢愉的一切,皆归于尘土……"),
- (Li.enheduannaPoem.line12 = "[如果]您此时告诉[真神]安,安将为我消弭……"),
- (Li.enheduannaPoem.line13 =
- "这片土地,因南纳而反叛及邪恶,愿安解救它。"),
- (Li.enheduannaPoem.line14 =
- "那座城邦,愿安将其摧毁;愿[真神]恩利尔赐其诅咒;愿它的母亲们不再安抚她们哭泣的孩子。"),
- (Li.enheduannaPoem.line15 =
- "女王,愿你那艘承载罪业的船只将已经造成的冤屈抛往别处。"),
- (Li.enheduannaPoem.line16 =
- "我必须死于我高尚的歌声吗?南纳予我以漠视。"),
- (Li.enheduannaPoem.attribution =
- "译自Antoine Cavigneaux及Anne-Caroline Rendu Loisel,《美索不达米亚:历史开始的地方》,2016年"),
- (Li.coneSteadi = {}),
- (Li.coneSteadi.beat0 =
- "文字也被用来编纂法律—这是国王的职权。统治者负责确保社会的公正,已知最早的法律改革便来自美索不达米亚。"),
- (Li.coneRender = {}),
- (Li.coneRender.wallTextTop = "国王乌鲁卡基那改革铭文"),
- (Li.coneRender.wallTextMid = "约公元前2350年"),
- (Li.coneRender.wallTextBottom = "陶瓦"),
- (Li.coneRender.attribution =
- "<i>国王乌鲁卡基那改革铭文</i>,早王朝时期,约公元前2350年,陶瓦。卢浮宫,中东文物部,巴黎。Géjou于1900年购买"),
- (Li.coneRender.beat0 =
- "由黏土烘烤而成,该铭文上有环绕周身的刻印。记载了乌鲁卡基那国王为保护受压迫者而进行的社会公正改革。"),
- (Li.coneRender.beat1 =
- "在该铭文中,乌鲁卡基那声称已恢复拉格什城邦的社会秩序,反对“以往的滥用”,尤其是在宫殿及寺庙。这是首个已知的宣称公平、公正及平等对待人民重要性的文本。"),
- (Li.gudeaSteadi = {}),
- (Li.gudeaSteadi.beat0 =
- "美索不达米亚的统治者命人将他们自身的雕像遍布王国,传达其权威及神圣的统治权。"),
- (Li.gudeaRender = {}),
- (Li.gudeaRender.wallTextTop = "古地亚雕像:流水的花瓶"),
- (Li.gudeaRender.wallTextMid = "约公元前2120年"),
- (Li.gudeaRender.wallTextBottom = "辉绿岩"),
- (Li.gudeaRender.attribution =
- "<i>古地亚雕像:流水的花瓶</i>,新苏美尔时期,约公元前2120年,辉绿岩。卢浮宫,中东文物部,巴黎。Boisgelin于1967年赠予(Clercq藏品)"),
- (Li.gudeaRender.beat0 =
- "古地亚穿着一件裸露出单肩膀的衣服。他肌肉发达的手臂象征着一个国王的强壮及完美的躯体。他举着一个花瓶,花瓶中有两股水流载满鱼儿缓缓而出,沿着他的身体两侧流下。"),
- (Li.gudeaRender.beat1 =
- "在他的雕像中,统治者古地亚选择强调自己作为虔诚的礼拜者的角色。他的形象没有胡子,光头,戴着一顶有一排螺旋形卷发的皇家帽檐。"),
- (Li.gudeaRender.beat2 =
- "古地亚衣服前面的题字记载此物献给了生命之水的女神盖什提南娜。这种雕像意味着,当统治者遵循神意时,世界就处于平衡,国王的领地就会繁荣昌盛。"),
- (Li.footer = {}),
- (Li.footer.outro =
- "美索不达米亚文明及其语言在公元1世纪就已终结—但在此之前,它们深深影响了其他文化的世界观、科学及文学。"),
- (Li.footer.info =
- '<a href="https://www.getty.edu/art/exhibitions/mesopotamia/" target="_blank">美索不达米亚</a>展:于2021年4月21日至8月16日在盖蒂别墅展出。该展览由巴黎卢浮宫博物馆及洛杉矶J·保罗·盖蒂博物馆组织,并受到联邦艺术及人文学科审议会的保障与支持。'),
- (Li.footer.curatedBy = "展览策划人"),
- (Li.footer.curatorCredits =
- "Ariane Thomas博士,卢浮宫中东文物部主任及美索不达米亚藏品的主策划人;Timothy Potts博士,J·保罗·盖蒂博物馆主任。"),
- (Li.footer.producedBy = "网络体验制作人"),
- (Li.footer.producerCredits =
- 'Serena Parr,Todd Swanson,Anne Martens,Mustafa Eck,Isoke Cullins,Laura Hubbard及<a href="https://www.finalform.systems" target="_blank">Final Form Systems</a>。'),
- (Li.footer.visit = "访问盖蒂别墅"),
- (Li.footer.backToTop = "回到顶部");
- const Di = Li;
- var Ii = {
- styles: {
- letterSpace: "0px",
- alignment: "left",
- direction: "ltr",
- wallMarginLeft: "0px",
- wallMarginRight: "auto",
- openModalWeight: "400",
- },
- titleCities: "शहर",
- titleWritings: "लिखित सामग्रियाँ",
- titleKings: "लिखित सामग्रियाँ",
- titleMesopotamia: "मेसोपोटामिया",
- titleLook: "कुछ अनोखी व अभूतपूर्व वस्तुओं पर क़रीब से एक नज़र डालें",
- titleVilla: "गेट्टी विला की एक प्रदर्शनी में मौजूद",
- titlePlease: "कृपया नीचे स्क्रॉल करें",
- lion: {},
- };
- (Ii.lion.beat0 =
- "देवी-देवता प्राचीन मेसोपोटामिया के लोगों के दैनिक जीवन अभिन्न हिस्सा थे।"),
- (Ii.lion.beat1 =
- "यहाँ तक कि शहरों की वास्तुकला भी देवी-देवताओं के संकेतों पर आधारित थी और इनका धार्मिक महत्त्व था। प्राचीन बेबीलोन शहर की शानदार वास्तुकला इसका एक बेजोड़ उदाहरण है।"),
- (Ii.lion.wallTextTop = "लंबे डग भरते शेर वाला पैनल"),
- (Ii.lion.wallTextMid = "605-562 ईसा पूर्व"),
- (Ii.lion.wallTextBottom = "चमकदार सरैमिक (चीनी मिट्टी)।"),
- (Ii.lion.attribution =
- "<i>लंबे डग भरते शेर वाला पैनल</i>, नव-बेबीलोनियन काल, 605-562 ईसा पूर्व, चमकदार सरैमिक (चीनी मिट्टी)। द मेट्रोपॉलिटन म्यूज़ियम ऑफ़ आर्ट, फ्लेचर फंड, 1931 (31.13.1)। © द मेट्रोपॉलिटन म्यूज़ियम ऑफ़ आर्ट"),
- (Ii.lion.beat2 =
- "बेहद चमकदार ईंटों पर निर्मित लंबे डग भरते शेर वाला यह पैनल, बेबीलोन की सबसे महत्त्वपूर्ण सड़क, यानी शोभायात्रा-मार्ग (द प्रोसेशनल वे) के दोनों किनारों पर पंक्तिबद्ध रूप से मौजूद सौ से अधिक शेरों की कलाकृतियों में से एक था। ईशर गेट से गुज़रने वाली यह सड़क शहर के महलों और मुख्य मंदिरों को जोड़ती थी।"),
- (Ii.lion.beat3 =
- "ये सभी शेर प्रेम और युद्ध की देवी, ईशर से संबंधित थे, तथा इन शेरों ने धार्मिक शोभायात्रा और सैन्य परेडों की निगरानी करने वाले पहरेदार की भूमिका निभाई। नीली और सुनहरी ईंटों ने मानो सड़क की रंगत को जीवंत कर दिया हो। उभरी हुई नक्काशी के साथ तैयार किया गया यह शेर, पैनल की सतह से हमारी दुनिया में आता हुआ प्रतीत होता है।"),
- (Ii.lion.beat4 =
- "यह वर्ष 2021 में गेट्टी विला में प्राचीन मेसोपोटामिया पर आयोजित एक बड़ी प्रदर्शनी में मौजूद 130 से अधिक वस्तुओं में से एक है, जिसे म्यूज़ी डू लूव्र (लूव्र म्यूज़ियम) के साथ मिलकर विकसित किया गया था। ये वस्तुएँ लगभग तीन हजार वर्षों के दौरान मेसोपोटामिया में शहरों, लिखित सामग्रियों तथा साम्राज्यों के विकास को उजागर करती हैं।"),
- (Ii.map = {}),
- (Ii.map.image =
- '<img height="600" width="750" src="/assets/images/meso-map-hindi.jpg" alt="Map of Mesopatamia as the `Fertile Crescent` between the Tigris and Euphrates, spanning from the Mediterranean to the Persian Gulf"></img>'),
- (Ii.map.attribution =
- "मूल मानचित्र के आधार पर © FNSP द्वारा तैयार किया गया मानचित्र। साइंसेज पो-एटेलियर डी कार्टोग्राफी, 2016, मार्टिन सॉवेज (CNRS, USR 3225, नैनटेरे) के मार्गदर्शन में"),
- (Ii.map.beat0 =
- "लगभग 4000 ईसा पूर्व में आधुनिक इराक में प्राचीन मेसोपोटामिया का आरंभ हुआ, जहां से कुछ मानव सभ्यताओं के विकास की शुरुआत हुई, जिन्होंने शहरी जीवन को एक नया स्वरूप दिया। मेसोपोटामिया के लोगों ने गणित, विज्ञान और क़ानून के क्षेत्र में काफी प्रगति की; साहित्य, वास्तुकला और कला के क्षेत्र में कई रचनाओं का निर्माण किया; तथा दुनिया की पहली लेखन प्रणाली का आविष्कार किया।"),
- (Ii.vesselSteadi = {}),
- (Ii.vesselSteadi.beat0 =
- "मेसोपोटामिया के लोग मानते थे कि इंसानों को देवताओं की सेवा के लिए बनाया गया है।"),
- (Ii.vesselSteadi.beat1 =
- "वे प्रतिदिन देवताओं को सबसे कीमती एवं बेहद नक्काशीदार बर्तनों में प्रसाद अर्पित किया करते थे। चांदी का यह पात्र, धार्मिक कार्यों में इस्तेमाल होने वाले उन बर्तनों में से एक है, जो आज भी मौजूद है।"),
- (Ii.vesselSteadi.beat2 =
- "यह बर्तन अपने आप में ही भगवान निंगिरसु को समर्पित एक उपहार था। इसे वहाँ मौजूद अनेक मंदिरों में से किसी एक में रखा गया होगा — जो समुदाय के धार्मिक, आर्थिक और प्रशासनिक केंद्रों के रूप में काम करते थे।"),
- (Ii.vesselRender = {}),
- (Ii.vesselRender.wallTextTop =
- "धार्मिक कार्यों में इस्तेमाल होने वाला पात्र"),
- (Ii.vesselRender.wallTextMid = "लगभग 2420 ईसा पूर्व"),
- (Ii.vesselRender.wallTextBottom = "चांदी और काँसा"),
- (Ii.vesselRender.attribution =
- '<i>धार्मिक कार्यों में इस्तेमाल होने वाला पात्र ("द वेस ऑफ एन्मेटेना")</i>, प्रारंभिक राजवंशीय काल, लगभग 2420 ईसा पूर्व, चांदी (पात्र) और काँसा (पात्र)। म्यूज़ी डू लूव्र (लूव्र म्यूज़ियम), मध्य-पूर्वी पुरावशेष विभाग, पेरिस। सरज़ेक अभियान, 1888. सुल्तान अब्दुल हामिद II का उपहार, 1896'),
- (Ii.vesselRender.beat0 =
- "शेर के सिर वाला यह चील, बारिश एवं तूफ़ान, बाढ़ और जुताई के देवता निंगिरसु का प्रतीक है — खेती और सिंचाई के लिए ये सभी घटक बेहद महत्त्वपूर्ण थे, जिनकी वजह से इस सूखे और बंजर इलाके में जीवन संभव हो पाया।"),
- (Ii.vesselRender.beat1 =
- "इस अलौकिक पक्षी की शेरों और आइबेक्स पर पकड़ से पता चलता है कि, देवताओं की दुनिया और हमारी प्राकृतिक दुनिया बेहद पवित्र तरीके से एक-दूसरे से जुड़े हुए हैं।"),
- (Ii.vesselRender.beat2 =
- "बर्तन के गले के चारों ओर सुमेरियन भाषा में लिखे गए लेख से दान देने वाले की पहचान होती है — जो एक राजा है — और इसमें बताया गया है कि देवता निंगिरसु किस तरह इस पात्र में अर्पित प्रसाद का उपभोग करेंगे।"),
- (Ii.michauxSteadi = {}),
- (Ii.michauxSteadi.beat0 =
- "चौथी सहस्राब्दी ईसा पूर्व में मेसोपोटामिया में लेखन कला की उत्पत्ति हुई थी। समय के साथ, कीलाकार लिपि (क्यूनिफॉर्म नामक एक लिपि) विकसित हुई, जिसमें वर्णों का आकार कील की तरह होता था। मेसोपोटामिया में कई भाषाओं को लिखने के लिए इसका उपयोग किया जाता था, जिसमें सुमेरियन और अक्काडियन (अक्कादियन) सबसे प्रमुख थे।"),
- (Ii.michauxRender = {}),
- (Ii.michauxRender.wallTextTop =
- "भूमि अनुदान अभिलेख (खम्भे पर भूमि अनुदान का विवरण)"),
- (Ii.michauxRender.wallTextMid = "1100-1083 ईसा पूर्व"),
- (Ii.michauxRender.wallTextBottom =
- "घुमावदार पत्थर (सर्पिल आकार का पत्थर)"),
- (Ii.michauxRender.attribution =
- '<i>भूमि अनुदान अभिलेख ("काइलौ मिचौक्स")</i>, कासाइट काल के बाद, 1100-1083 ईसा पूर्व, सर्पिल आकार का पत्थर। बिब्लियोथेक नेशनेले डी फ्रांस (फ्रांस का राष्ट्रीय पुस्तकालय)'),
- (Ii.michauxRender.beat0 =
- "सन् 1786 में जब फ्रांस के एक वनस्पति-वैज्ञानिक एवं खोजकर्ता पत्थर के टुकड़े पर बने इस जटिल नक्काशीदार अभिलेख को बगदाद से यूरोप लेकर आए, तब देखने वालों को बेहद आश्चर्य हुआ और उन्होंने इस पर अंकित चित्रों एवं शब्दों को पढ़ने की कोशिश की। परंतु उसे कोई पढ़ नहीं पाया।"),
- (Ii.michauxRender.beat1 =
- "लगभग 70 साल पहले अक्काडियन (अक्कादियन) भाषा को समझने में कामयाबी मिली और विद्वानों ने इस अभिलेख को पढ़ा। इसमें एक पिता की ओर से अपनी बेटी को उसकी शादी के अवसर पर तोहफ़े के रूप जमीन देने का विवरण मौजूद है। पत्थर पर लिखे गए इस लेख को शायद देवताओं के अधिकार में किसी मंदिर में प्रदर्शित किया गया होगा।"),
- (Ii.michauxRender.beat2 =
- "अभिलेख की अतिरिक्त सुरक्षा के लिए, पत्थर के ऊपरी हिस्से पर बेबीलोन के देवताओं का चित्र उकेरा गया है। इनमें लेखन के देवता नबू भी शामिल हैं, जिन्हें यहां एक वेदी के ऊपर एक लेखनी के साथ दर्शाया गया है, जिनके साथ पशु के रूप में उनका वाहन, सांप-ड्रैगन भी मौजूद है।"),
- (Ii.architectSteadi = {}),
- (Ii.architectSteadi.beat0 =
- "मेसोपोटामिया की मान्यताओं के अनुसार, राजा का पद देवताओं की ओर से मानव जाति को दिया गया एक उपहार था, और शासकों को आम इंसानों से ऊपर का दर्जा दिया जाता था। मंदिरों का निर्माण करके देवताओं की जरूरतों को पूरा करना एक राजा की सबसे बड़ी जिम्मेदारियों में से एक थी।"),
- (Ii.architectRender = {}),
- (Ii.architectRender.wallTextTop =
- "वास्तुकार के रूप में प्रिंस ग्यूडेआ (गुडेया) की मूर्ति"),
- (Ii.architectRender.wallTextMid = "लगभग 2120 ईसा पूर्व"),
- (Ii.architectRender.wallTextBottom = "गैब्रो पत्थर (काला पत्थर)"),
- (Ii.architectRender.attribution =
- "<i>वास्तुकार के रूप में प्रिंस ग्यूडेआ (गुडेया) की मूर्ति</i>, नव-सुमेरियन काल, लगभग 2120 ईसा पूर्व, गैब्रो। म्यूज़ी डू लूव्र, मध्य-पूर्वी पुरावशेष विभाग, पेरिस, AO 3। सरज़ेक अभियान, 1881"),
- (Ii.architectRender.beat0 =
- "सुमेरियन शासक ग्यूडेआ (गुडेया) की यह मूर्ति उन्हें देवी गतुमडु के मंदिर के वास्तुकार के रूप में दर्शाती है।"),
- (Ii.architectRender.beat1 =
- "इसमें ग्यूडेआ (गुडेया) ने खुद को एक शिक्षित और बेहद धार्मिक राजा के रूप में प्रस्तुत किया है। वह दोनों हाथों को जोड़कर प्रार्थना कर रहा है, जबकि उसकी गोद में भवन की भूमि-योजना तैयार करने के उपकरण — यानी कि रेखाएं खींचने के लिए पैमाने और एक लेखनी के साथ एक पट्टी मौजूद है।"),
- (Ii.architectRender.beat2 =
- "उनके वस्त्र पर उत्कीर्ण लेख में मंदिर के निर्माण और उनके द्वारा प्रदान किए गए धन का विवरण दिया गया है — जिसमें साज-सज्जा के सामान, नौकर और पशुधन शामिल हैं।"),
- (Ii.dictionarySteadi = {}),
- (Ii.dictionarySteadi.beat0 =
- "ग्यूडेआ (गुडेया) की तरह, असीरिया के राजा अशुरबनिपाल ने निनेवह के अपने महल में एक विशाल पुस्तकालय का निर्माण करके अपनी विद्वता तथा पढ़ने एवं लिखने की क्षमता पर जोर दिया। दो भाषाओं में उपलब्ध यह शब्दकोश, वहाँ पाए जाने वाले हजारों टैबलेट (लेखन पट्टिका) में से एक है।"),
- (Ii.dictionaryRender = {}),
- (Ii.dictionaryRender.wallTextTop =
- "द्विभाषी शब्दकोश वाला टैबलेट (लेखन पट्टिका)"),
- (Ii.dictionaryRender.wallTextMid = "668–627 ईसा पूर्व"),
- (Ii.dictionaryRender.wallTextBottom = "टेरकोटा"),
- (Ii.dictionaryRender.attribution =
- "<i>सम्राट अशुरबनिपाल के पुस्तकालय से प्राप्त द्विभाषी शब्दकोश वाला टैबलेट (लेखन पट्टिका)</i>, नव-असीरियन काल, 668-627 ईसा पूर्व, टेराकोटा। म्यूज़ी डू लूव्र (लूव्र म्यूज़ियम), मध्य-पूर्वी पुरावशेष विभाग, पेरिस। गेइज़ो परचेज़, 1918"),
- (Ii.dictionaryRender.beat0 =
- "यह शब्दकोश मिट्टी पर लिखा गया है, जो लिखित दस्तावेजों के लिए उपयोग की जाने वाली सबसे आम सामग्री है।"),
- (Ii.dictionaryRender.beat1 =
- "इसमें बाईं ओर सुमेरियन शब्दों की एक सूची दी गई है, जबकि बीच में तथा दाईं ओर अक्काडियन (अक्कादियन) समानार्थक शब्द मौजूद हैं। सबसे दाहिने कॉलम में हर शब्द की परिभाषा दी गई है।"),
- (Ii.enheduannaSteadi = {}),
- (Ii.enheduannaSteadi.beat0 =
- "जब प्रशासनिक कार्यों तथा रिकॉर्ड रखने के लिए लेखन की शुरुआत हुई, तब समय के साथ इसके उपयोग का दायरा भी बढ़ा। मिट्टी की इन पट्टियों पर हजारों की संख्या में पौराणिक कथाएँ, धार्मिक स्तोत्र, करारनामे, तथा विज्ञान एवं गणित के विषयों पर लिखे गए ग्रंथ आज भी उपलब्ध हैं। इनमें से कई लेखों का अनुवाद होना बाकी है।"),
- (Ii.enheduannaSteadi.beat1 =
- "इतिहास में पहले लेखक के रूप में अक्काडियन राजा की बेटी, पुजारिन एन्हेदुआन्ना का नाम दर्ज है। एन्हेदुआन्ना ने अपने पूरे जीवनकाल में देवताओं की स्तुति में कम से कम चालीस स्तोत्र या भजन लिखे हैं, जिनमें से कुछ में उन्होंने अपने नाम का वर्णन भी किया है।"),
- (Ii.enheduannaSteadi.wallTextTop =
- '"इनान्ना की स्तुति" वाली पट्टिका (टैबलेट)'),
- (Ii.enheduannaSteadi.wallTextMid = "1850-1700 ईसा पूर्व"),
- (Ii.enheduannaSteadi.wallTextBottom = "कच्ची मिट्टी"),
- (Ii.enheduannaSteadi.attribution =
- '<i>राजकुमारी एन्हेदुआन्ना द्वारा "इनान्ना की स्तुति" में लिखी गई पट्टिका</i>, प्राचीन बेबीलोन काल, 1850-1700 ईसा पूर्व, कच्ची मिट्टी। म्यूज़ी डू लूव्र (लूव्र म्यूज़ियम), मध्य-पूर्वी पुरावशेष विभाग, पेरिस, AO 6713। गेइज़ो परचेज़, 1914'),
- (Ii.enheduannaSteadi.beat2 =
- 'मिट्टी की यह पट्टिका (टैबलेट), उनके द्वारा "इनान्ना की स्तुति" में लिखे गए स्त्रोत्र का अंश है, जिसकी प्रति उनके जीवनकाल के लगभग 500 साल बाद तैयार की गई है।'),
- (Ii.enheduannaSteadi.buttonText =
- "इस पट्टिका (टैबलेट) के एक अंश को यहाँ पढ़ें।"),
- (Ii.enheduannaPoem = {}),
- (Ii.enheduannaPoem.title = "इनान्ना की स्तुति"),
- (Ii.enheduannaPoem.line1 =
- "रानियों में सबसे महान रानी [इनान्ना], जो धार्मिक शक्तियों के लिए पवित्र गर्भ से उत्पन्न हुई थी और अपनी माँ से आगे निकल गई थी।"),
- (Ii.enheduannaPoem.line2 =
- "असंख्य मनुष्यों को जीवन देने वाली, तथा पूरी धरती पर सबसे अधिक विद्वान एवं विचारशील रानी, मैं आपके सम्मान में आपके योग्य गीत गाऊंगी।"),
- (Ii.enheduannaPoem.line3 =
- "हे देवी, आप सभी शक्तियों को धारण करने वाली हैं और आपकी पवित्र वाणी हमारे लिए पूजनीय है ...."),
- (Ii.enheduannaPoem.line4 =
- "मैं शुद्ध अंतःकरण से आपकी आराधना करती हूँ,"),
- (Ii.enheduannaPoem.line5 = "मैं एन्हेदुआन्ना, एन-प्रीस्टेस"),
- (Ii.enheduannaPoem.line6 =
- "मैंने अनुष्ठान की सभी प्रक्रियाओं का पालन किया और इस उत्सव पर मेरे दिल से गीत निकल रहे हैं। "),
- (Ii.enheduannaPoem.line7 =
- "लेकिन अंतिम संस्कार की रस्म पूरी हुई, और मैं अब वहाँ नहीं हूँ।"),
- (Ii.enheduannaPoem.line8 =
- "मैं प्रकाश के पास पहुँची, लेकिन प्रकाश ने मुझे जला दिया।"),
- (Ii.enheduannaPoem.line9 =
- "मैं छाया के पास पहुँची, लेकिन तूफान ने सब कुछ छिपा दिया।"),
- (Ii.enheduannaPoem.line10 =
- "भ्रम की स्थिति के कारण मेरी मीठी वाणी पर लगाम लग गया।"),
- (Ii.enheduannaPoem.line11 =
- "मुझे प्रसन्न करने वाली हर चीज धूमिल हो गई ...."),
- (Ii.enheduannaPoem.line12 =
- "[अगर] आप इसके बारे में अभी [ईश्वर] को बताते हैं, तो वह मुझे पहले की तरह बना देंगे ...."),
- (Ii.enheduannaPoem.line13 =
- "नन्ना के कारण देश, विद्रोही और दुष्ट जनों का ईश्वर उद्धार कर सकते हैं।"),
- (Ii.enheduannaPoem.line14 =
- "वह उस शहर को नष्ट कर सकते हैं; हो सकता है [ईश्वर] एनलिल इसे शाप दें; हो सकता है कि माताएँ अपने रोते हुए बच्चों को फिर से खुश न पाएँ।"),
- (Ii.enheduannaPoem.line15 =
- "हे रानी, जो शिकायतें की गईं, उनको ले जाने वाला आपका जहाज कहीं और छोड़ दे।"),
- (Ii.enheduannaPoem.line16 =
- "क्या मुझे अपने नेक गीत की वजह से मर जाना चाहिए? मेरे नन्ना ने मेरी बिल्कुल परवाह नहीं की।"),
- (Ii.enheduannaPoem.attribution =
- "एंटोनी कैविग्नेक्स और ऐनी-कैरोलिन रेंडु लोइसेल के अनुसार किया गया अनुवाद, <i>मेसोपोटामिया में इतिहास की शुरुआत</i>, 2016"),
- (Ii.coneSteadi = {}),
- (Ii.coneSteadi.beat0 =
- "कानूनों — राजा द्वारा बनाए गए नियमों को संहिताबद्ध करने के लिए लेखन का भी प्रयोग किया जाता था। समाज में न्याय सुनिश्चित करने की जिम्मेदारी शासकों की होती थी, और सबसे पहले कानूनी सुधारों का विवरण मेसोपोटामिया से ही प्राप्त होता है।"),
- (Ii.coneRender = {}),
- (Ii.coneRender.wallTextTop =
- "राजा उरुकागिन के कानूनी सुधारों वाला शंकु (कोन)"),
- (Ii.coneRender.wallTextMid = "लगभग 2350 ईसा पूर्व"),
- (Ii.coneRender.wallTextBottom = "टेराकोटा"),
- (Ii.coneRender.attribution =
- "<i>राजा उरुकागिन के कानूनी सुधारों वाला शंकु (कोन)</i>, प्रारंभिक राजवंश काल, लगभग 2350 ईसा पूर्व, टेराकोटा। म्यूज़ी डू लूव्र (लूव्र म्यूज़ियम), मध्य-पूर्वी पुरावशेष विभाग, पेरिस। गेइज़ो परचेज़, 1900"),
- (Ii.coneRender.beat0 =
- "पकी हुई मिट्टी से बने इस शंकु (कोन) पर एक लेख उत्कीर्ण है, जो उसके शरीर के चारों ओर लिपटा हुआ है। इसमें पीड़ित लोगों की रक्षा के लिए राजा उरुकागिन द्वारा सामाजिक न्याय सुधारों को दर्ज किया गया है।"),
- (Ii.coneRender.beat1 =
- 'इस लेख में, उरुकागिन ने विशेष रूप से महलों और मंदिरों में "पुराने दिनों के दुर्व्यवहार" के खिलाफ लागाश शहर की सामाजिक व्यवस्था को बहाल करने का दावा किया है। यह पहला ज्ञात लेख है, जो लोगों के साथ निष्पक्षता, न्याय और समानता के साथ व्यवहार करने की अहमियत की घोषणा करता है।'),
- (Ii.gudeaSteadi = {}),
- (Ii.gudeaSteadi.beat0 =
- "मेसोपोटामिया के राजाओं ने अपनी शक्ति और शासन करने के दैवीय अधिकार का संदेश देने के लिए, पूरे साम्राज्य में अपनी प्रतिमाओं को स्थापित किया।"),
- (Ii.gudeaRender = {}),
- (Ii.gudeaRender.wallTextTop =
- "बहते पानी के कलश के साथ ग्यूडेआ (गुडेया) की मूर्ति "),
- (Ii.gudeaRender.wallTextMid = "लगभग 2120 ईसा पूर्व"),
- (Ii.gudeaRender.wallTextBottom = "डोलेराइट पत्थर"),
- (Ii.gudeaRender.attribution =
- "<i>बहते पानी के कलश के साथ ग्यूडेआ (गुडेया) की मूर्ति</i>, नव-सुमेरियन काल, लगभग 2120 ईसा पूर्व, डोलेराइट। म्यूज़ी डू लूव्र (लूव्र म्यूज़ियम), मध्य-पूर्वी पुरावशेष विभाग, पेरिस। बोइसगेलिन उपहार, 1967 (डी क्लर्क कलेक्शन)"),
- (Ii.gudeaRender.beat0 =
- "ग्यूडेआ (गुडेया) ने ऐसे वस्त्र धारण किए हैं, जिससे उनका एक कंधा खाली रह जाता है। उसकी हृष्ट-पुष्ट भुजाएँ एक राजा की शक्ति और शारीरिक पूर्णता का प्रतीक है। उनके पास मछलियों से भरा एक कलश है, जिसमें से पानी की दो धाराएँ बाहर निकल रही हैं और उनके शरीर के दोनों तरफ बह रही हैं।"),
- (Ii.gudeaRender.beat1 =
- "सम्राट ग्यूडेआ (गुडेया) ने अपनी मूर्तियों में खुद को एक भक्त एवं उपासक के रूप में प्रदर्शित करने पर काफी बल दिया। उनके चेहरे पर दाढ़ी नहीं है और सिर पर बाल नहीं हैं, तथा इन मूर्तियों में उन्हें सर्पिल आकार की रेखाओं के साथ शाही किनारों वाली टोपी पहने हुए दिखाया गया है।"),
- (Ii.gudeaRender.beat2 =
- "ग्यूडेआ (गुडेया) के वस्त्र के सामने वाले हिस्से पर उत्कीर्ण लेख, इस वस्तु को जीवनदायिनी जल की देवी, गेश्तिनन्ना को समर्पित करता है। इस प्रकार की मूर्ति यह दर्शाती है कि, जब कोई शासक देवताओं के साथ जुड़ने में सक्षम होता है, तो दुनिया में संतुलन की स्थिति कायम होती है, और उस शासक का साम्राज्य समृद्ध होता है।"),
- (Ii.footer = {}),
- (Ii.footer.outro =
- "पहली शताब्दी ईस्वी में मेसोपोटामिया की सभ्यता और उसकी भाषाओं का अंत हो गया — लेकिन उन्होंने अन्य संस्कृतियों के दुनिया के प्रति दृष्टिकोण, विज्ञान और साहित्य को गहराई से प्रभावित किया।"),
- (Ii.footer.info =
- 'गेट्टी विला में 21 अप्रैल से 16 अगस्त, 2021 के द्वारा <a href="https://www.getty.edu/art/exhibitions/mesopotamia/" target="_blank">मेसोपोटामिया: सभ्यता की शुरुआत</a> पर प्रदर्शनी का आयोजन किया गया। म्यूज़ी डू लूव्र (लूव्र म्यूज़ियम), पेरिस तथा जे. पॉल गेट्टी म्यूज़ियम, लॉस एंजिल्स द्वारा कला एवं मानविकी के संघीय परिषद के सहयोग से इस प्रदर्शनी का आयोजन किया गया था।'),
- (Ii.footer.curatedBy =
- "प्रदर्शनी की रूपरेखा तैयार करने वालों में शामिल हैं"),
- (Ii.footer.curatorCredits =
- "डॉ. एरियन थॉमस, मध्य-पूर्वी पुरावशेष विभाग के निदेशक तथा मेसोपोटामिया कलेक्शंस के क्यूरेटर-इन-चीफ, म्यूज़ी डू लूव्र (लूव्र म्यूज़ियम); डॉ. टिमोथी पॉट्स, निदेशक, जे. पॉल गेट्टी म्यूज़ियम।"),
- (Ii.footer.producedBy =
- "वेबसाइट पर इस अनुभव को प्रस्तुत करने वालों में शामिल हैं:"),
- (Ii.footer.producerCredits =
- 'सेरेना पारे, टॉड स्वानसन, ऐनी मार्टेन्स, मुस्तफा एक्क, इसोके कुलिन्स, लॉरा हबर्ड और <a href="https://www.finalform.systems" target="_blank">फाइनल फॉर्म सिस्टम्स</a>।'),
- (Ii.footer.visit = "गेट्टी विला पर जाएँ"),
- (Ii.footer.backToTop = "शीर्ष पर वापस जाएँ");
- const Fi = Ii;
- var zi = {
- styles: {
- alignment: "right",
- direction: "rtl",
- letterSpace: "0px",
- wallMarginLeft: "auto",
- wallMarginRight: "0px",
- openModalWeight: "1000",
- },
- titleCities: "ملوك",
- titleWritings: "كتابة",
- titleKings: "مدن",
- titleMesopotamia: "بلاد الرافدين",
- titleLook: "نظرة مقربة على بعض الأشياء الاستثنائية",
- titleVilla: "من معرض في ذا جيتي فيلا (The Getty Villa)",
- titlePlease: "برجاء التمرير",
- lion: {},
- };
- (zi.lion.beat0 =
- "بالنسبة لبلاد الرافدين القديمة، كان الإله جزءاً من الحياة اليومية."),
- (zi.lion.beat1 =
- "حتى العمارة الحضرية للمدن كان لها معنى رمزي وديني. وتعد الزخرفة المعمارية لمدينة بابل القديمة مثال مذهل."),
- (zi.lion.wallTextTop = "لوحة تشتمل على أسد يخطو خطوات واسعة"),
- (zi.lion.wallTextMid = "من سنة 605 إلى سنة 562 قبل الميلاد"),
- (zi.lion.wallTextBottom = "خزف مصقول"),
- (zi.lion.attribution =
- "لوحة تشتمل على أسد يخطو خطوات واسعة، الفترة البابلية الحديثة، من 605 سنة إلى سنة 562 قبل الميلاد، خزف مصقول. متحف متروبوليتان للفنون، فليتشر فاند، 1931 (31.13.1). © متحف متروبوليتان للفنون"),
- (zi.lion.beat2 =
- "كانت هذه اللوحة القرميدية المصقولة لأسد يخطو خطوة واسعة واحدة من أكثر من مائة لوحة تزين جانبي أهم شوارع بابل، ألا وهو طريق المواكب؛ إذ يمر هذا الطريق عبر بوابة عشتار ويربط بين القصور والمعابد الرئيسية في المدينة."),
- (zi.lion.beat3 =
- "وكانت هناك ثمة علاقة تربط بين الأسود وعشتار، إلهة الحب والحرب، وكانت هذه الأسود بمثابة حراس يشرفون على المواكب الدينية والاستعراضات العسكرية. ملأ الطوب الأزرق والذهبي الشارع بألوان نابضة بالحياة. يأتي هذا الأسد المصبوب بشكل بارز من سطح اللوحة إلى فضائنا."),
- (zi.lion.beat4 =
- "هذه واحدة من أكثر من 130 قطعة تم عرضها في ذا جيتي فيلا (The Getty Villa) في عام 2021 في معرض كبير عن بلاد الرافدين القديمة، تم تطويره بالشراكة مع متحف اللوفر. تسلط هذه الأشياء الضوء على تطور المدن، والكتابة، والممالك في بلاد الرافدين على مدار حوالي ثلاثة آلاف سنة."),
- (zi.map = {}),
- (zi.map.image =
- '<img height="600" width="750" src="/assets/images/meso-map-arabic.jpg" alt="Map of Mesopatamia as the `Fertile Crescent` between the Tigris and Euphrates, spanning from the Mediterranean to the Persian Gulf"></img>'),
- (zi.map.attribution =
- "خريطة مقتبسة من نسخة أصلية بواسطة و © FNSP.Science Po – Atelier de cartographie ، 2016، بتوجيه من مارتن سوفاج (CNRS, USR 3225, Nanterre)"),
- (zi.map.beat0 =
- "كانت بلاد الرافدين القديمة -التي بدأت منذ حوالي 4000 قبل الميلاد في العراق الحديث- موطناً لبعض التطورات المبكرة التي من شأنها تعريف الحياة الحضرية. وحقق سكان بلاد الرافدين تقدماً في الرياضيات، والعلوم، والقانون؛ حيث قاموا بابتكار أعمال في الأدب، والعمارة، والفن؛ واخترعوا أول نظام كتابة في العالم."),
- (zi.vesselSteadi = {}),
- (zi.vesselSteadi.beat0 =
- "اعتقد سكان بلاد الرافدين أن البشر خُلقوا لخدمة الآلهة."),
- (zi.vesselSteadi.beat1 =
- "لقد تركوا للآلهة القرابين اليومية من الطعام في أغلى الحاويات التي يمكنهم صنعها. ويعد إناء الطقوس الفضي هذا واحدًا من الأواني القليلة المتبقية حتى اليوم."),
- (zi.vesselSteadi.beat2 =
- "كان الإناء نفسه هدية للإله نينجيرسو، وكان من الممكن أن يكون معروضاً في أحد المعابد - وهو واحدًا من عدة مراكز كانت بمثابة مراكز دينية واقتصادية وإدارية للمجتمع."),
- (zi.vesselRender = {}),
- (zi.vesselRender.wallTextTop = "إناء الطقوس"),
- (zi.vesselRender.wallTextMid = "حوالي سنة 2420 قبل الميلاد"),
- (zi.vesselRender.wallTextBottom = "فضة وبرونز"),
- (zi.vesselRender.attribution =
- 'إناء الطقوس ("مزهرية إنميتينا") عصر الأسرات الأولى، حوالي سنة 2420 قبل الميلاد، (مزهرية) مصنوعة من الفضة و(قاعدة) مصنوعة من البرونز . متحف اللوفر، قسم آثار الشرق الأوسط، باريس. بعثة سارزك، 1888. هدية السلطان عبد الحميد الثاني، سنة 1896'),
- (zi.vesselRender.beat0 =
- "يمثل هذا النسر برأس أسد الإله نينجيرسو، إله العواصف المطيرة، والفيضانات، والحرث - وكلها عناصر كانت أساسية للزراعة والري التي دعمت الحياة في المنطقة القاحلة."),
- (zi.vesselRender.beat1 =
- "تشير قبضة الطيور الخارقة للطبيعة على الأسود والوعول إلى أن العالمين الإلهي والطبيعي مرتبطان برباط مقدس."),
- (zi.vesselRender.beat2 =
- "النقش السومري حول العنق يحدد المتبرع - وهو ملك - ويصف كيف سيستهلك نينجيرسو القرابين من هذه المزهرية."),
- (zi.michauxSteadi = {}),
- (zi.michauxSteadi.beat0 =
- "يمكن إرجاع أصول الكتابة في بلاد الرافدين إلى الألفية الرابعة قبل الميلاد. وبمرور الوقت، تم تطوير نص يسمى الكتابة المسمارية، والذي يتكون من أحرف وتدية الشكل. وكانت تستخدم لكتابة لغات متعددة، منها السومرية والأكادية والتي كانت لغات أساسية في بلاد الرافدين."),
- (zi.michauxRender = {}),
- (zi.michauxRender.wallTextTop = "عمود يسجل منحة الأرض"),
- (zi.michauxRender.wallTextMid = "من سنة 1100 إلى سنة 1083 قبل الميلاد"),
- (zi.michauxRender.wallTextBottom = "حجر ملتوي"),
- (zi.michauxRender.attribution =
- 'عمود منحة الأرض ("كايلو ميشو")، فترة ما بعد الكاسيت، من سنة 1100 إلى سنة 1083 قبل الميلاد، ملتوي. المكتبة الوطنية الفرنسية'),
- (zi.michauxRender.beat0 =
- "عندما أحضر عالم نبات ومستكشف فرنسي هذا العمود المنحوت بشكل معقد، على شكل حصاة إلى أوروبا من بغداد في عام 1786، تساءل المشاهدون عن أيقوناته ونصه. لكن لم يستطع أحد قراءته."),
- (zi.michauxRender.beat1 =
- "استغرق الأمر حوالي 70 عاماً قبل أن يتم فك رموز اللغة الأكادية ويتمكن العلماء من قراءة هذا العمود. ويشرح بالتفصيل هبة الأرض من أب لابنته بمناسبة زواجها. وكان من الممكن أن يكون هذا السجل الحجري معروضاً في معبد، يخضع لسلطة الآلهة."),
- (zi.michauxRender.beat2 =
- "لمزيد من الحماية، تم نحت الآلهة البابلية على طول السجل العلوي للحجر. أحدهم نابو، إله الكتابة، الذي يُرمز إليه هنا بقلم على قمة مذبح، مرتبط بشعار حيوانه، ثعبان التنين."),
- (zi.architectSteadi = {}),
- (zi.architectSteadi.beat0 =
- "في معتقد بلاد الرافدين، كانت المَلَكِية هدية للبشرية من الآلهة، وكان الحكام يتمتعون بمكانة البشر الخارقين. وكانت إحدى المسؤوليات الأساسية للحاكم هي الاهتمام باحتياجات الآلهة من خلال بناء المعابد."),
- (zi.architectRender = {}),
- (zi.architectRender.wallTextTop = "تمثال الأمير جوديا كمهندس معماري"),
- (zi.architectRender.wallTextMid = "حوالي سنة 2120 قبل الميلاد"),
- (zi.architectRender.wallTextBottom = "حجر جابرو"),
- (zi.architectRender.attribution =
- "تمثال للأمير جوديا كمهندس معماري، العصر السومري الجديد، حوالي سنة 2120 قبل الميلاد، جابرو. متحف اللوفر، قسم آثار الشرق الأوسط، باريس، AO 3. بعثة سارزيك، 1881"),
- (zi.architectRender.beat0 =
- "هذا التمثال للحاكم السومري جوديا يمثله على أنه مهندس معبد خاص بالإلهة جاتومدو."),
- (zi.architectRender.beat1 =
- "هنا، يمثل جوديا نفسه كحاكم متعلم وتقي. يديه مشبوكتان في الصلاة ويستقر على حِجره لوح به مسطرة وقلم - أدوات لرسم المخطط الأرضي للمبنى."),
- (zi.architectRender.beat2 =
- "يُفصِّل النقش على ثوبه بناء المعبد والثروة التي وهبها له - بما في ذلك المفروشات، والخدم، والماشية."),
- (zi.dictionarySteadi = {}),
- (zi.dictionarySteadi.beat0 =
- "وعلى غرار جوديا، أكد الملك الآشوري آشور بانيبال على تعلمه وقدرته على القراءة والكتابة، وحشد مكتبة كبيرة في قصره في نينوى. وهذا القاموس ثنائي اللغة هو واحد من آلاف الألواح الموجودة هناك."),
- (zi.dictionaryRender = {}),
- (zi.dictionaryRender.wallTextTop = "لوح به قاموس ثنائي اللغة"),
- (zi.dictionaryRender.wallTextMid =
- "من سنة 668 إلى سنة 627 قبل الميلاد"),
- (zi.dictionaryRender.wallTextBottom = "طين"),
- (zi.dictionaryRender.attribution =
- "لوح به قاموس ثنائي اللغة من مكتبة الملك آشور بانيبال، العصر الآشوري الجديد، من سنة 668 إلى سنة 627 قبل الميلاد، مصنوع من الطين. متحف اللوفر، قسم آثار الشرق الأوسط، باريس. شراء جيجو، 1918"),
- (zi.dictionaryRender.beat0 =
- "القاموس مكتوب على الطين، وهي المادة الأكثر شيوعاً في الاستخدام في الوثائق المكتوبة."),
- (zi.dictionaryRender.beat1 =
- "يقدم قائمة بالكلمات السومرية على اليسار، والمرادفات الأكادية في المنتصف - جهة اليمين. ويتضمن العمود الموجود في أقصى اليمين تعريفاً لكل كلمة."),
- (zi.enheduannaSteadi = {}),
- (zi.enheduannaSteadi.beat0 =
- "في الوقت الذي بدأت فيه الكتابة لأغراض الإدارة وحفظ السجلات، توسعت استخداماتها بمرور الوقت. ولا تزال الأساطير، والترانيم الدينية، والعقود، والنصوص العلمية والرياضية صامدة على مئات الآلاف من الألواح الطينية. بينما مازال الكثير منها يحتاج إلى أن يتم ترجمته."),
- (zi.enheduannaSteadi.beat1 =
- "كانت الكاهنة إنهدوانا -ابنة أحد الملوك الأكديين- أول مؤلفة تمت تسميتها في التاريخ. وقامت إنهدوانا بتأليف ما لا يقل عن أربعين ترنيمة للآلهة في حياتها، أشارت في بعضها إلى نفسها بالاسم."),
- (zi.enheduannaSteadi.wallTextTop = 'لوح به "تمجيد إنانا"'),
- (zi.enheduannaSteadi.wallTextMid =
- "من سنة 1850 إلى سنة 1700 قبل الميلاد"),
- (zi.enheduannaSteadi.wallTextBottom = "الطين غير المحروق"),
- (zi.enheduannaSteadi.attribution =
- 'لوح به "تمجيد إنانا" للأميرة إنهدوانا، الفترة البابلية القديمة، من سنة 1850 إلى سنة 1700 قبل الميلاد، مصنوع من الطين غير المحروق. متحف اللوفر، قسم آثار الشرق الأوسط، باريس، AO 6713. شراء جيجو، 1914'),
- (zi.enheduannaSteadi.beat2 =
- 'هذا اللوح، الذي يحتوي على جزء من ترنيمة "تمجيد إنانا"، هو نسخة تم صنعها بعد حوالي 500 عام من حياتها.'),
- (zi.enheduannaSteadi.buttonText = "اقرأ مقتطفاً من اللوح هنا."),
- (zi.enheduannaPoem = {}),
- (zi.enheduannaPoem.title = "تمجيد إنانا"),
- (zi.enheduannaPoem.line1 =
- "الملكة العظيمة [إنانا] بين الملكات، التي ولدت من رحم نقي من أجل قوى صالحة وتتفوق على أمها."),
- (zi.enheduannaPoem.line2 =
- "أنتِ ملكة جميع الأراضي المتعلمة والواعية للغاية، أنتِ التي تمنحين الحياة لعدد لا يحصى من البشر، سأغني على شرفك أغنية تليق بك."),
- (zi.enheduannaPoem.line3 =
- "إلهة جديرة بالقوى حقاً، كلمتك الجليلة سامية...."),
- (zi.enheduannaPoem.line4 = "أنا قد دخلت منزل كاهنتي النقي،"),
- (zi.enheduannaPoem.line5 = "أنا إنهدوانا، الكاهنة."),
- (zi.enheduannaPoem.line6 =
- "كنت قد حملت سلة الطقوس واندفعت بقوة في أغنية الاحتفال."),
- (zi.enheduannaPoem.line7 =
- "ولكن تم تقديم الذبائح الجنائزية، ولم أعد هناك."),
- (zi.enheduannaPoem.line8 = "اقتربت من الضوء، لكن الضوء أحرقني."),
- (zi.enheduannaPoem.line9 = "اقتربت من الظل، لكن العاصفة أخفت كل شيء."),
- (zi.enheduannaPoem.line10 = "ضرب الارتباك فمي الرقيق."),
- (zi.enheduannaPoem.line11 = "كل ما كان يسعدني تحول إلى غبار...."),
- (zi.enheduannaPoem.line12 =
- "[إذا] أخبرتي [الإله] آن عن ذلك الآن، فسوف يلغي آن ذلك لي...."),
- (zi.enheduannaPoem.line13 =
- "الأرض، متمردة وشريرة بسبب نانا، ليقم آن بتسليمها."),
- (zi.enheduannaPoem.line14 =
- "هذه المدينة، ليقم آن بتدميرها. ليقم [الإله] إنليل بلعنها؛ لتكف أمهاتها عن تهدئة أطفالهن من البكاء."),
- (zi.enheduannaPoem.line15 =
- "يا ملكة، المظالم التي أُحدثت، لتقم سفينتك التي تحمل المظالم بالتخلي عنها في مكان آخر."),
- (zi.enheduannaPoem.line16 =
- "هل يجب أن أموت بسبب أغنيتي النبيلة؟ لم تعطنِ نانا أي اهتمام."),
- (zi.enheduannaPoem.attribution =
- "الترجمة على إثر أنطوان كافينيو وآن كارولين ريندو لوسيل، L’histoire commence en Mésopotamie، 2016"),
- (zi.coneSteadi = {}),
- (zi.coneSteadi.beat0 =
- "تم أيضاً استخدام الكتابة لتدوين القوانين - من اختصاص الملوك. كان الحكام مسؤولين عن ضمان العدالة في المجتمع، وجاءت أولى الإصلاحات القانونية المعروفة من بلاد الرافدين."),
- (zi.coneRender = {}),
- (zi.coneRender.wallTextTop = "مخروط به إصلاحات الملك أوروكاجينا"),
- (zi.coneRender.wallTextMid = "حوالي سنة 2350 قبل الميلاد"),
- (zi.coneRender.wallTextBottom = "طين"),
- (zi.coneRender.attribution =
- "مخروط به إصلاحات الملك أوروكاجينا، عصر الأسرات الأولى، حوالي سنة 2350 قبل الميلاد، مصنوع من الطين. متحف اللوفر، قسم آثار الشرق الأوسط، باريس. شراء جيجو، 1900"),
- (zi.coneRender.beat0 =
- "يحمل هذا المخروط المصنوع من الفخار نقشاً يلتف حول بدنه. ويسجل إصلاحات العدالة الاجتماعية التي وضعها الملك أوروكاجينا لحماية المظلومين."),
- (zi.coneRender.beat1 =
- 'في هذا النص، يدعي أوروكاجينا أنه أعاد النظام الاجتماعي لمدينة لجش ضد "انتهاكات الأيام السابقة"، خاصة في القصور والمعابد. وهذا هو أول نص معروف يعلن أهمية معاملة الناس بالإنصاف، والعدالة، والمساواة.'),
- (zi.gudeaSteadi = {}),
- (zi.gudeaSteadi.beat0 =
- "أمر حكام بلاد الرافدين بنشر تماثيل لأنفسهم في جميع أنحاء ممالكهم، معبرين عن قوتهم وحقهم الإلهي في الحكم."),
- (zi.gudeaRender = {}),
- (zi.gudeaRender.wallTextTop =
- "تمثال جوديا مع مزهرية من المياه المتدفقة"),
- (zi.gudeaRender.wallTextMid = "حوالي سنة 2120 قبل الميلاد"),
- (zi.gudeaRender.wallTextBottom = "حجر دوليريت"),
- (zi.gudeaRender.attribution =
- "تمثال للأمير جوديا مع مزهرية من المياه المتدفقة، العصر السومري الجديد، حوالي سنة 2120 قبل الميلاد، دوليريت. متحف اللوفر، قسم آثار الشرق الأوسط، باريس. هدية Boisgelin، 1967 (مجموعة de Clercq)"),
- (zi.gudeaRender.beat0 =
- "يرتدي جوديا ثوباً يترك كتفاً واحداً عارياً، وذراعه ذات العضلات ترمز إلى القوة والكمال الجسدي للملك، ويحمل مزهرية يتدفق منها تياران من الماء، زاخرين بالأسماك، إلى الخارج وإلى الأسفل على جانبي جسده."),
- (zi.gudeaRender.beat1 =
- "اختار الحاكم جوديا في تماثيله التأكيد على دوره كعابد ورع. ويتم إظهاره بلا لحية وحليق الرأس، ويرتدي قبعة ملكية ذات حواف مع صفوف من الضفائر الحلزونية."),
- (zi.gudeaRender.beat2 =
- "النقش الموجود على الجزء الأمامي من ثوب جوديا يخصص هذا الشيء لجشتينانا، إلهة المياه الواهبة للحياة. ويعلن تمثال كهذا أنه عندما يصطف الحكام مع الآلهة، يكون العالم في حالة توازن، ويزدهر مُلك الملك."),
- (zi.footer = {}),
- (zi.footer.outro =
- "انتهت حضارة بلاد الرافدين ولغاتها في القرن الأول الميلادي - ولكن ليس قبل أن تؤثر بعمق في النظرة للعالم، والعلم، والأدب في الثقافات الأخرى."),
- (zi.footer.info =
- '<a href="https://www.getty.edu/art/exhibitions/mesopotamia/" target="_blank">معرض بلاد الرافدين: الحضارة تبدء</a>، تم عرضه في الفترة من 21 أبريل إلى 16 أغسطس 2021 في ذا جيتي فيلا (The Getty Villa). تم تنظيمه من قِبل متحف اللوفر، باريس، ومتحف جيه بول جيتي، لوس أنجلوس، بضمان من المجلس الفيدرالي للفنون والعلوم الإنسانية.'),
- (zi.footer.curatedBy = "المعرض تم جمعه بواسطة"),
- (zi.footer.curatorCredits =
- "أريان توماس، مدير قسم آثار الشرق الأوسط والمنسق العام لمجموعات بلاد الرافدين، متحف اللوفر؛ دكتور تيموثي بوتس، مدير متحف جيه بول جيتي."),
- (zi.footer.producedBy = "تجربة الإنترنت من إنتاج"),
- (zi.footer.producerCredits =
- 'سيرينا بار، تود سوانسون، آن مارتينز، مصطفى إيك، إيزوك كولينز، لورا هوبارد وفا <a href="https://www.finalform.systems" target="_blank">ينل فورم سيستمز</a>'),
- (zi.footer.visit = "قم بزيارة ذا جيتي فيلا The Getty Villa"),
- (zi.footer.backToTop = "العودة إلى الأعلى");
- const Bi = zi;
- function Ui(e, t) {
- var n = Object.keys(e);
- if (Object.getOwnPropertySymbols) {
- var r = Object.getOwnPropertySymbols(e);
- t &&
- (r = r.filter(function (t) {
- return Object.getOwnPropertyDescriptor(e, t).enumerable;
- })),
- n.push.apply(n, r);
- }
- return n;
- }
- function qi(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? arguments[t] : {};
- t % 2
- ? Ui(Object(n), !0).forEach(function (t) {
- s(e, t, n[t]);
- })
- : Object.getOwnPropertyDescriptors
- ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))
- : Ui(Object(n)).forEach(function (t) {
- Object.defineProperty(
- e,
- t,
- Object.getOwnPropertyDescriptor(n, t)
- );
- });
- }
- return e;
- }
- var Vi = {
- defaultStyles: {
- alignment: "left",
- direction: "ltr",
- wallMarginLeft: "0px",
- wallMarginRight: "auto",
- letterSpace: "",
- openModalWeight: "400",
- },
- };
- (Vi.en = qi({}, Ri)),
- (Vi.es = qi({}, Mi)),
- (Vi.fr = qi({}, ji)),
- (Vi.zh = qi({}, Di)),
- (Vi.hi = qi({}, Fi)),
- (Vi.ar = qi({}, Bi));
- const Hi = Vi;
- ra.registerPlugin(Ci);
- const Wi = function (e) {
- var t = (0, i.useRef)(null),
- n = (0, i.useRef)(null),
- r = (0, i.useRef)(null),
- a = (0, i.useRef)(null),
- s = (0, i.useRef)(null),
- u = (0, i.useRef)(null),
- d = e.languageSelectRef[0],
- f = c((0, i.useState)("en"), 2),
- p = f[0],
- h = f[1];
- return (
- (0, i.useEffect)(function () {
- ra.set(n.current.children, {
- autoAlpha: 0,
- }),
- ra.set(r.current.children, {
- autoAlpha: 0,
- }),
- ra.set(a.current.children, {
- autoAlpha: 0,
- }),
- ra.set(s.current.children, {
- autoAlpha: 0,
- }),
- ra.to(n.current.children, {
- autoAlpha: 1,
- delay: 0.77,
- }),
- ra.to(r.current.children, {
- autoAlpha: 1,
- delay: 0.66,
- }),
- ra.to(a.current.children, {
- autoAlpha: 1,
- delay: 0.88,
- }),
- ra.to(Array.prototype.slice.call(s.current.children).reverse(), {
- autoAlpha: 1,
- delay: 1.11,
- }),
- ra.to(u.current, {
- opacity: 0.5,
- repeat: -1,
- yoyo: !0,
- duration: 1.5,
- delay: 1.66,
- }),
- ra.to(t.current.children, {
- autoAlpha: 0,
- y: -125,
- stagger: 0.08,
- scrollTrigger: {
- scrub: !0,
- pin: !0,
- pinSpacing: !1,
- ease: "none",
- trigger: t.current,
- start: "top top",
- end: "center top",
- },
- });
- }),
- (0, i.useEffect)(
- function () {
- d.current.addEventListener("change", function (e) {
- var t = e.target.value.toLowerCase();
- h(t);
- });
- },
- [d]
- ),
- (0, l.jsxs)("div", {
- ref: t,
- className: o["full-height"] + " " + o["title-screen"],
- children: [
- (0, l.jsx)("div", {
- className: o["top-left-logo"],
- children: (0, l.jsx)("a", {
- href: "https://www.getty.edu",
- target: "_blank",
- rel: "noreferrer",
- children: (0, l.jsx)("img", {
- width: "200",
- height: "81",
- src: "assets/images/logo-getty.png",
- }),
- }),
- }),
- (0, l.jsxs)("div", {
- ref: n,
- className: o["title-card-top"],
- children: [
- (0, l.jsx)("div", {
- className: o["card-top-left"],
- children: Hi[p].titleCities,
- }),
- (0, l.jsx)("div", {
- className: o["card-top-center"],
- children: Hi[p].titleWritings,
- }),
- (0, l.jsx)("div", {
- className: o["card-top-right"],
- children: Hi[p].titleKings,
- }),
- ],
- }),
- (0, l.jsx)("div", {
- ref: r,
- className: o["title-card-mid"],
- children: (0, l.jsx)("span", {
- children: Hi[p].titleMesopotamia,
- }),
- }),
- (0, l.jsxs)("div", {
- ref: a,
- className: o["title-card-bottom"],
- children: [
- (0, l.jsx)("span", {
- children: Hi[p].titleLook,
- }),
- (0, l.jsx)("br", {}),
- (0, l.jsx)("span", {
- children: Hi[p].titleVilla,
- }),
- ],
- }),
- (0, l.jsxs)("div", {
- ref: s,
- className: o["scroll-cta"],
- children: [
- (0, l.jsx)("span", {
- children: Hi[p].titlePlease,
- }),
- (0, l.jsx)("br", {}),
- (0, l.jsx)("img", {
- ref: u,
- className: o["scroll-arrow"],
- src: "/assets/images/scroll-arrow.png",
- alt: "scroll down arrow",
- }),
- ],
- }),
- ],
- })
- );
- };
- function Gi(e, t) {
- if (!(e instanceof t))
- throw new TypeError("Cannot call a class as a function");
- }
- function Qi(e, t) {
- for (var n = 0; n < t.length; n++) {
- var r = t[n];
- (r.enumerable = r.enumerable || !1),
- (r.configurable = !0),
- "value" in r && (r.writable = !0),
- Object.defineProperty(e, r.key, r);
- }
- }
- function Yi(e, t, n) {
- return t && Qi(e.prototype, t), n && Qi(e, n), e;
- }
- function Xi(e, t) {
- return (Xi =
- Object.setPrototypeOf ||
- function (e, t) {
- return (e.__proto__ = t), e;
- })(e, t);
- }
- function $i(e, t) {
- if ("function" != typeof t && null !== t)
- throw new TypeError(
- "Super expression must either be null or a function"
- );
- (e.prototype = Object.create(t && t.prototype, {
- constructor: {
- value: e,
- writable: !0,
- configurable: !0,
- },
- })),
- t && Xi(e, t);
- }
- function Ji(e) {
- return (Ji =
- "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
- ? function (e) {
- return typeof e;
- }
- : function (e) {
- return e &&
- "function" == typeof Symbol &&
- e.constructor === Symbol &&
- e !== Symbol.prototype
- ? "symbol"
- : typeof e;
- })(e);
- }
- function Ki(e, t) {
- return !t || ("object" !== Ji(t) && "function" != typeof t)
- ? (function (e) {
- if (void 0 === e)
- throw new ReferenceError(
- "this hasn't been initialised - super() hasn't been called"
- );
- return e;
- })(e)
- : t;
- }
- function Zi(e) {
- return (Zi = Object.setPrototypeOf
- ? Object.getPrototypeOf
- : function (e) {
- return e.__proto__ || Object.getPrototypeOf(e);
- })(e);
- }
- function eo(e, t) {
- var n = Object.keys(e);
- if (Object.getOwnPropertySymbols) {
- var r = Object.getOwnPropertySymbols(e);
- t &&
- (r = r.filter(function (t) {
- return Object.getOwnPropertyDescriptor(e, t).enumerable;
- })),
- n.push.apply(n, r);
- }
- return n;
- }
- function to(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? arguments[t] : {};
- t % 2
- ? eo(Object(n), !0).forEach(function (t) {
- s(e, t, n[t]);
- })
- : Object.getOwnPropertyDescriptors
- ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))
- : eo(Object(n)).forEach(function (t) {
- Object.defineProperty(
- e,
- t,
- Object.getOwnPropertyDescriptor(n, t)
- );
- });
- }
- return e;
- }
- ra.registerPlugin(Ci);
- const no = (function (e) {
- $i(a, e);
- var t,
- n,
- r =
- ((t = a),
- (n = (function () {
- if ("undefined" == typeof Reflect || !Reflect.construct)
- return !1;
- if (Reflect.construct.sham) return !1;
- if ("function" == typeof Proxy) return !0;
- try {
- return (
- Boolean.prototype.valueOf.call(
- Reflect.construct(Boolean, [], function () {})
- ),
- !0
- );
- } catch (e) {
- return !1;
- }
- })()),
- function () {
- var e,
- r = Zi(t);
- if (n) {
- var a = Zi(this).constructor;
- e = Reflect.construct(r, arguments, a);
- } else e = r.apply(this, arguments);
- return Ki(this, e);
- });
- function a(e) {
- var t;
- if (
- (Gi(this, a),
- ((t = r.call(this, e)).format = ".jpg"),
- document.body.classList.contains("webp-supported") &&
- (t.format = ".webp"),
- document.body.classList.contains("avif-supported") &&
- (t.format = ".avif"),
- (t.containerRef = (0, i.createRef)(null)),
- (t.viewerRef = (0, i.createRef)(null)),
- (t.viewerOffsetRef = (0, i.createRef)(null)),
- (t.canvasRef = (0, i.createRef)(null)),
- (t.loadingWrap = (0, i.createRef)(null)),
- (t.loadingProgress = (0, i.createRef)(null)),
- (t.playHead = (0, i.createRef)(null)),
- (t.playHeadProgress = (0, i.createRef)(null)),
- (t.context = !1),
- (t.width = 1552),
- (t.height = 873),
- t.props.canvasSize)
- ) {
- var n = c(t.props.canvasSize, 2);
- (t.width = n[0]), (t.height = n[1]);
- }
- return (
- (t.lastFrame = -1),
- (t.floatFrame = 0),
- (t.frame = t.props.startFrame || 0),
- (t.fullFrameCount = t.props.frameCount),
- (t.loadedCount = 0),
- (t.loadComplete = !1),
- (t.sequence = []),
- (t.loadedRenderPool = []),
- (t.loadedRenderTimeout = null),
- (t.poolAnimateDelay = 40),
- (t.timeline = !1),
- (t.progress = 0),
- t.props.pause &&
- Object.keys(t.props.pause).forEach(function (e) {
- t.fullFrameCount += t.props.pause[e];
- }),
- (t.enterTimeline = !1),
- (t.exitTimeline = !1),
- (t.notLoadedTween = {
- isActive: !1,
- }),
- (t.isAbove = !1),
- (t.isBelow = !0),
- (t.lastProgress = !1),
- (t.justScrolled = !1),
- t
- );
- }
- return (
- Yi(a, [
- {
- key: "componentDidMount",
- value: function () {
- this.loadAssets(),
- this.canvasRef.current && this.initializeContext(),
- !this.enterTimeline &&
- this.props.enterTween &&
- this.initializeEnterTween(),
- this.timeline ||
- (this.initializeTimeline(), this.setTimeline()),
- !this.exitTimeline &&
- this.props.exitTween &&
- this.initializeExitTween(),
- Ci.refresh();
- },
- },
- {
- key: "getImagePath",
- value: function (e) {
- return (
- "https://static.getty.edu/mesopotamia/" +
- this.props.path +
- "/" +
- "".concat(e.toString().padStart(4, "0")) +
- this.format
- );
- },
- },
- {
- key: "loadAssets",
- value: function () {
- var e = this;
- this.loadImage(1),
- setTimeout(function () {
- for (var t = 2; t <= e.props.frameCount; t += 1)
- e.loadImage(t);
- }, 60);
- },
- },
- {
- key: "loadImage",
- value: function (e) {
- var t = this,
- n = new Image();
- if (
- ((n.retried = 0),
- (n.src = this.getImagePath(e)),
- (n.ogSrc = n.src),
- this.props.pause && e + "" in this.props.pause)
- )
- for (var r = this.props.pause[e]; r--; )
- this.sequence.push(n);
- this.sequence.push(n),
- (n.onerror = function () {
- var e = Math.floor(Date.now() * Math.random())
- .toString()
- .substring(0, 8);
- n.retried < 2
- ? setTimeout(function () {
- n.src = n.ogSrc + "?" + e;
- }, 80)
- : n.retried < 3 &&
- setTimeout(function () {
- n.src = n.ogSrc.slice(0, -4) + ".jpg?" + e;
- }, 80),
- n.retried++;
- }),
- (n.onload = function () {
- 1 === e && t.renderImageToCanvas(0),
- t.frame > e &&
- t.timeline.scrollTrigger.isActive &&
- t.poolNewFrames(e - 1),
- (t.loadedCount += 1),
- (t.loadingProgress.current.style.width =
- (t.loadedCount /
- (parseFloat(t.props.frameCount) - 1)) *
- 100 +
- "%"),
- t.loadedCount === parseFloat(t.props.frameCount) - 1 &&
- t.loadingComplete();
- });
- },
- },
- {
- key: "loadingComplete",
- value: function () {
- console.log(this.props.path, "loading complete"),
- (this.loadComplete = !0),
- this.isAbove &&
- this.renderImageToCanvas(this.loadedCount - 1);
- },
- },
- {
- key: "poolNewFrames",
- value: function (e) {
- this.loadedRenderPool.unshift(e),
- this.loadedRenderPool.sort(function (e, t) {
- return t - e;
- }),
- this.animatePool();
- },
- },
- {
- key: "animatePool",
- value: function () {
- var e = this;
- !this.loadedRenderTimeout &&
- this.loadedRenderPool.length &&
- (this.loadedRenderTimeout = setTimeout(function () {
- e.loadedRenderTimeout = !1;
- var t = e.loadedRenderPool[e.loadedRenderPool.length - 1];
- if (t <= e.frame) {
- var n = e.loadedRenderPool.pop();
- e.renderImageToCanvas(n), e.animatePool();
- }
- e.frame < t && (e.loadedRenderPool = []);
- }, this.poolAnimateDelay));
- },
- },
- {
- key: "componentWillUnmount",
- value: function () {
- this.timeline && this.timeline.kill(!0);
- },
- },
- {
- key: "initializeContext",
- value: function () {
- (this.context = this.canvasRef.current.getContext("2d", {
- alpha: !1,
- desynchronized: !0,
- powerPreference: "high-performance",
- })),
- (this.context.imageSmoothingEnabled = !0),
- (this.context.imageSmoothingQuality = "high");
- },
- },
- {
- key: "initializeTimeline",
- value: function () {
- var e = this,
- t = null,
- n = function () {
- ra.to(e.loadingWrap.current, {
- autoAlpha: 1,
- });
- },
- r = function () {
- ra.to(e.loadingWrap.current, {
- autoAlpha: 0,
- });
- };
- r(),
- (this.timeline = ra.timeline({
- scrollTrigger: {
- trigger: this.containerRef.current,
- pin: this.viewerRef.current,
- scrub: 0.66,
- start: "top top",
- end: "bottom bottom",
- ease: "none",
- markers: this.props.debug && false,
- onUpdate: function (n) {
- e.props.debug,
- !1 === e.lastProgress &&
- (e.lastProgress = n.progress),
- e.lastProgress !== n.progress &&
- ((e.justScrolled = !0),
- clearTimeout(t),
- (t = setTimeout(function () {
- e.frame > e.loadedCount &&
- !e.notLoadedTween.isActive &&
- (e.notLoadedTween = ra.to(
- e.loadingWrap.current,
- {
- backgroundColor: "#8888a0",
- duration: 0.33,
- repeat: 1,
- yoyo: !0,
- }
- ));
- }, 100)),
- (e.lastProgress = n.progress));
- },
- onScrubComplete: function () {
- e.justScrolled = !1;
- },
- onEnter: function () {
- n(), (e.isAbove = !1);
- },
- onEnterBack: function () {
- n(), (e.isBelow = !1);
- },
- onLeave: function () {
- r(), (e.isAbove = !0);
- },
- onLeaveBack: function () {
- r(), (e.isBelow = !0);
- },
- },
- }));
- },
- },
- {
- key: "setTimeline",
- value: function () {
- var e = this;
- this.timeline.to(this, {
- floatFrame: this.fullFrameCount - 1,
- ease: "none",
- onUpdate: function () {
- (e.frame = Math.floor(e.floatFrame)),
- e.lastFrame === e.frame ||
- e.loadedRenderPool.length ||
- e.renderImageToCanvas(e.frame);
- },
- });
- },
- },
- {
- key: "initializeEnterTween",
- value: function () {
- var e = this.props.enterTween.duration || 1;
- ra.set(this.viewerRef.current, {
- yPercent: -100 * e,
- });
- var t = !0;
- if (
- (void 0 !== this.props.enterTween.pin &&
- (t = this.props.enterTween.pin),
- (this.enterTimeline = ra.timeline({
- scrollTrigger: {
- trigger: this.viewerRef.current,
- scrub: !0,
- pin: t,
- start: function () {
- return "top top";
- },
- end: function () {
- return "top top-=" + window.innerHeight * e;
- },
- },
- })),
- this.props.enterTween.to &&
- this.enterTimeline.to(
- this.viewerRef.current,
- to(
- {
- ease: "none",
- },
- this.props.enterTween.to
- )
- ),
- this.props.enterTween.from &&
- this.enterTimeline.from(
- this.viewerRef.current,
- to(
- {
- ease: "none",
- },
- this.props.enterTween.from
- )
- ),
- this.props.enterTween.fromTo)
- ) {
- var n = this.props.enterTween.fromTo[0],
- r = this.props.enterTween.fromTo[1];
- this.enterTimeline.fromTo(
- this.viewerRef.current,
- n,
- to(
- {
- ease: "none",
- },
- r
- )
- );
- }
- },
- },
- {
- key: "initializeExitTween",
- value: function () {
- if (
- (console.log(this.props.path, "initializing exit tween "),
- (this.exitTimeline = ra.timeline({
- scrollTrigger: {
- scrub: !0,
- trigger: this.containerRef.current,
- pin: this.viewerRef.current,
- onLeave: this.props.exitTween.onLeave,
- onLeaveBack: this.props.exitTween.onLeaveBack,
- onEnterBack: this.props.exitTween.onEnterBack,
- start: function () {
- return "bottom bottom";
- },
- end: function () {
- return "bottom top";
- },
- },
- })),
- this.props.exitTween.to &&
- this.exitTimeline.to(
- this.viewerRef.current,
- to(
- {
- ease: "none",
- },
- this.props.exitTween.to
- )
- ),
- this.props.exitTween.from &&
- this.exitTimeline.from(
- this.viewerRef.current,
- to(
- {
- ease: "none",
- },
- this.props.exitTween.from
- )
- ),
- this.props.exitTween.fromTo)
- ) {
- var e = this.props.exitTween.fromTo[0],
- t = this.props.exitTween.fromTo[1];
- this.exitTimeline.fromTo(
- this.viewerRef.current,
- e,
- to(
- to({}, t),
- {},
- {
- ease: "none",
- }
- )
- );
- }
- },
- },
- {
- key: "renderImageToCanvas",
- value: function (e) {
- if (this.sequence[e])
- if (this.context.drawImage) {
- this.props.debug,
- this.context.drawImage(this.sequence[e], 0, 0),
- (this.lastFrame = e);
- var t =
- 100 - (this.frame / this.fullFrameCount) * 100 + "%",
- n = 100 - (e / this.fullFrameCount) * 100 + "%";
- (this.playHeadTween = ra.to(this.playHead.current, {
- duration: 0.05,
- right: n,
- ease: "none",
- })),
- (this.playHeadProgressTween = ra.to(
- this.playHeadProgress.current,
- {
- duration: 0.05,
- right: t,
- ease: "none",
- }
- ));
- } else this.initializeContext();
- },
- },
- {
- key: "render",
- value: function () {
- var e = {
- height: this.props.height || "500vh",
- };
- return (0, l.jsxs)(l.Fragment, {
- children: [
- (0, l.jsxs)("div", {
- ref: this.loadingWrap,
- className: o["load-progress-wrap"],
- children: [
- (0, l.jsxs)("div", {
- className: o["playhead-wrap"],
- children: [
- (0, l.jsx)("div", {
- ref: this.playHead,
- className: o.playhead,
- }),
- (0, l.jsx)("div", {
- ref: this.playHeadProgress,
- className: o["playhead-progress"],
- }),
- ],
- }),
- (0, l.jsx)("div", {
- ref: this.loadingProgress,
- className: o["load-progress"],
- style: {
- width: "0%",
- },
- }),
- ],
- }),
- (0, l.jsxs)("div", {
- ref: this.containerRef,
- className: o.sequence,
- style: e,
- children: [
- (0, l.jsx)("div", {
- ref: this.viewerRef,
- className: o["canvas-viewer"],
- children: (0, l.jsx)("div", {
- style: {
- overflow: "hidden",
- },
- children: (0, l.jsx)("canvas", {
- ref: this.canvasRef,
- className: o["sequence-canvas"],
- width: this.width,
- height: this.height,
- }),
- }),
- }),
- this.props.children,
- ],
- }),
- ],
- });
- },
- },
- ]),
- a
- );
- })(i.Component),
- ro = function (e) {
- var t = i.Children.map(e.children, function (t) {
- return i.isValidElement(t)
- ? i.cloneElement(t, {
- parentHeight: e.height,
- })
- : t;
- }),
- n = 0.01 * parseFloat(e.height) * window.innerHeight;
- return (0, l.jsx)(p.ZP, {
- height: n,
- offset: 1e4,
- children: (0, l.jsx)(no, {
- name: e.name,
- path: e.path,
- frameCount: e.frameCount,
- height: e.height,
- debug: e.debug,
- enterTween: e.enterTween,
- exitTween: e.exitTween,
- canvasSize: e.canvasSize,
- pause: e.pause,
- children: t,
- }),
- });
- };
- function ao(e, t) {
- var n = Object.keys(e);
- if (Object.getOwnPropertySymbols) {
- var r = Object.getOwnPropertySymbols(e);
- t &&
- (r = r.filter(function (t) {
- return Object.getOwnPropertyDescriptor(e, t).enumerable;
- })),
- n.push.apply(n, r);
- }
- return n;
- }
- function io(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? arguments[t] : {};
- t % 2
- ? ao(Object(n), !0).forEach(function (t) {
- s(e, t, n[t]);
- })
- : Object.getOwnPropertyDescriptors
- ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))
- : ao(Object(n)).forEach(function (t) {
- Object.defineProperty(
- e,
- t,
- Object.getOwnPropertyDescriptor(n, t)
- );
- });
- }
- return e;
- }
- ra.registerPlugin(Ci);
- var oo = (function (e) {
- $i(a, e);
- var t,
- n,
- r =
- ((t = a),
- (n = (function () {
- if ("undefined" == typeof Reflect || !Reflect.construct)
- return !1;
- if (Reflect.construct.sham) return !1;
- if ("function" == typeof Proxy) return !0;
- try {
- return (
- Boolean.prototype.valueOf.call(
- Reflect.construct(Boolean, [], function () {})
- ),
- !0
- );
- } catch (e) {
- return !1;
- }
- })()),
- function () {
- var e,
- r = Zi(t);
- if (n) {
- var a = Zi(this).constructor;
- e = Reflect.construct(r, arguments, a);
- } else e = r.apply(this, arguments);
- return Ki(this, e);
- });
- function a(e) {
- var t;
- if (
- (Gi(this, a),
- ((t = r.call(this, e)).container = (0, i.createRef)(null)),
- (t.timeline = null),
- (t.progress = 0),
- (t.top = 0),
- t.props.keyframes && t.props.trigger)
- ) {
- var n = t.props.keyframes[0].start;
- t.setTop(n);
- } else t.props.progressPosition && t.setTop(t.props.progressPosition);
- return t;
- }
- return (
- Yi(a, [
- {
- key: "setTop",
- value: function (e) {
- var t = parseFloat(this.props.parentHeight),
- n =
- ((e * window.innerHeight * ((t - 100) / 100)) /
- ((window.innerHeight * t) / 100)) *
- 100;
- this.top = n + "%";
- },
- },
- {
- key: "componentDidMount",
- value: function () {
- this.props.keyframes &&
- this.props.trigger &&
- this.createTimeline();
- },
- },
- {
- key: "createTimeline",
- value: function () {
- var e = this;
- if (!this.timeline) {
- var t = this.props.keyframes[0].start,
- n = this.props.keyframes[0].end,
- r = n - t,
- a =
- this.props.keyframes[this.props.keyframes.length - 1]
- .start,
- i =
- this.props.keyframes[this.props.keyframes.length - 1].end,
- o = i - a,
- l = a - n,
- s = (i - t) * (parseFloat(this.props.parentHeight) - 100),
- u = this.props.debug && !1;
- this.timeline = ra.timeline({
- scrollTrigger: io(
- {
- markers: this.props.debug,
- trigger: this.container.current,
- start: "top top",
- end: "+=" + s + "%",
- onEnter:
- u &&
- function () {
- console.log("enter", e.timeline);
- },
- onEnterBack:
- u &&
- function () {
- console.log("enterback", e.timeline);
- },
- onLeave:
- u &&
- function () {
- console.log("leave", e.timeline);
- },
- onLeaveBack:
- u &&
- function () {
- console.log("leaveback", e.timeline);
- },
- onUpdate:
- u &&
- function (e) {
- console.log("element progress:", e.progress);
- },
- },
- this.props.trigger
- ),
- });
- for (var c = 0; c < this.props.keyframes.length; c += 1) {
- var d = this.props.keyframes[c];
- 1 === c &&
- l > 0.001 &&
- this.timeline.to(this.container.current, {
- duration: l,
- }),
- "set" === d.type
- ? this.timeline.set(
- this.container.current,
- io({}, d.animation)
- )
- : "from" === d.type
- ? this.timeline.from(
- this.container.current,
- io(
- io({}, d.animation),
- {},
- {
- duration: r,
- }
- )
- )
- : this.timeline.to(
- this.container.current,
- io(
- io({}, d.animation),
- {},
- {
- duration: o,
- }
- )
- );
- }
- }
- },
- },
- {
- key: "render",
- value: function () {
- var e = this.props.className || o["timeline-text"],
- t =
- "calc(var(--vh, 1vh) *" +
- parseFloat(this.props.verticalOffset) +
- ")";
- return (0, l.jsx)("div", {
- ref: this.container,
- className: o["timeline-text-positioner"],
- style: {
- top: this.top,
- },
- children: (0, l.jsx)("div", {
- className: o["timeline-text-container"],
- children: (0, l.jsx)("div", {
- className: o["timeline-text-inner"],
- children: (0, l.jsx)("div", {
- className: e,
- style: io(
- {
- marginTop: t,
- },
- this.props.style
- ),
- children: this.props.children,
- }),
- }),
- }),
- });
- },
- },
- ]),
- a
- );
- })(i.Component);
- oo.defaultProps = {
- verticalOffset: "100vh",
- };
- const lo = oo;
- function so(e, t) {
- var n = Object.keys(e);
- if (Object.getOwnPropertySymbols) {
- var r = Object.getOwnPropertySymbols(e);
- t &&
- (r = r.filter(function (t) {
- return Object.getOwnPropertyDescriptor(e, t).enumerable;
- })),
- n.push.apply(n, r);
- }
- return n;
- }
- function uo(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? arguments[t] : {};
- t % 2
- ? so(Object(n), !0).forEach(function (t) {
- s(e, t, n[t]);
- })
- : Object.getOwnPropertyDescriptors
- ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))
- : so(Object(n)).forEach(function (t) {
- Object.defineProperty(
- e,
- t,
- Object.getOwnPropertyDescriptor(n, t)
- );
- });
- }
- return e;
- }
- ra.registerPlugin(Ci);
- const co = function (e) {
- var t = (0, i.useRef)(null),
- n = e.from || {
- autoAlpha: 0,
- y: 100,
- },
- r = e.start || "top bottom",
- a = e.end || "top center+=10%";
- return (
- (0, i.useEffect)(
- function () {
- ra.from(
- t.current,
- uo(
- uo({}, n),
- {},
- {
- scrollTrigger: {
- scrub: 0.2,
- trigger: t.current,
- start: r,
- end: a,
- },
- }
- )
- );
- },
- [t]
- ),
- (0, l.jsx)("div", {
- ref: t,
- children: e.children,
- })
- );
- };
- var fo = n(154),
- po = n.n(fo),
- ho = (0, i.forwardRef)(function (e, t) {
- var n = t;
- po().setAppElement("#root");
- var r = function () {
- console.log(n.current),
- (n.current.node.children[0].style.overflow = "hidden"),
- ra.to(n.current.node, {
- autoAlpha: 0,
- duration: 0.3,
- onComplete: function () {
- n.current.node.style.display = "none";
- },
- }),
- (document.documentElement.style.overflow = "auto");
- };
- return (
- (0, i.useEffect)(function () {
- n.current && (n.current.node.style.display = "none");
- }),
- (0, l.jsxs)(po(), {
- className: e.className || "modal",
- overlayClassName: e.overlayClassName || "modal-overlay",
- onRequestClose: r,
- shouldCloseOnOverlayClick: !0,
- ref: t,
- isOpen: !0,
- children: [
- (0, l.jsx)("div", {
- className: o["modal-inner"],
- children: e.children,
- }),
- (0, l.jsx)("button", {
- type: "button",
- className: o["poem-modal-close"] + " " + o["close-top"],
- onClick: r,
- children: "×",
- }),
- ],
- })
- );
- });
- ho.displayName = "Modal";
- const mo = ho;
- var go = {
- scrubPin: {
- pin: !0,
- scrub: !0,
- },
- crossFadeIn: {
- duration: 0.5,
- from: {
- autoAlpha: 0,
- },
- },
- };
- (go.pinForExit = {
- onLeave: function (e) {
- mn.set(e.trigger, {
- autoAlpha: 0,
- });
- },
- onEnterBack: function (e) {
- mn.set(e.trigger, {
- autoAlpha: 1,
- });
- },
- }),
- (go.visible = {
- type: "set",
- animation: {
- autoAlpha: 1,
- },
- }),
- (go.fadeIn = {
- type: "from",
- animation: {
- autoAlpha: 0,
- },
- }),
- (go.fadeOut = {
- type: "to",
- animation: {
- autoAlpha: 0,
- },
- }),
- (go.fadeUp = {
- type: "from",
- animation: {
- y: 75,
- autoAlpha: 0,
- },
- }),
- (go.fadeDown = {
- type: "to",
- animation: {
- y: -75,
- autoAlpha: 0,
- },
- });
- const vo = go;
- function yo(e, t) {
- var n = Object.keys(e);
- if (Object.getOwnPropertySymbols) {
- var r = Object.getOwnPropertySymbols(e);
- t &&
- (r = r.filter(function (t) {
- return Object.getOwnPropertyDescriptor(e, t).enumerable;
- })),
- n.push.apply(n, r);
- }
- return n;
- }
- function bo(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? arguments[t] : {};
- t % 2
- ? yo(Object(n), !0).forEach(function (t) {
- s(e, t, n[t]);
- })
- : Object.getOwnPropertyDescriptors
- ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))
- : yo(Object(n)).forEach(function (t) {
- Object.defineProperty(
- e,
- t,
- Object.getOwnPropertyDescriptor(n, t)
- );
- });
- }
- return e;
- }
- const wo = function (e) {
- var t = void 0 !== e.progressPosition ? e.progressPosition : 0.5,
- n = e.fade || 0.04,
- r = e.duration || 0.1,
- a = e.verticalOffset || "50vh";
- return (0, l.jsx)(lo, {
- trigger: vo.scrubPin,
- keyframes: [
- bo(
- bo({}, vo.fadeUp),
- {},
- {
- start: t,
- end: t + n,
- }
- ),
- bo(
- bo({}, vo.fadeDown),
- {},
- {
- start: t + r + n,
- end: t + r + n + n,
- }
- ),
- ],
- style: e.style,
- parentHeight: e.parentHeight,
- verticalOffset: a,
- className: e.className,
- children: e.children,
- });
- };
- function xo(e, t) {
- var n = Object.keys(e);
- if (Object.getOwnPropertySymbols) {
- var r = Object.getOwnPropertySymbols(e);
- t &&
- (r = r.filter(function (t) {
- return Object.getOwnPropertyDescriptor(e, t).enumerable;
- })),
- n.push.apply(n, r);
- }
- return n;
- }
- function _o(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? arguments[t] : {};
- t % 2
- ? xo(Object(n), !0).forEach(function (t) {
- s(e, t, n[t]);
- })
- : Object.getOwnPropertyDescriptors
- ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))
- : xo(Object(n)).forEach(function (t) {
- Object.defineProperty(
- e,
- t,
- Object.getOwnPropertyDescriptor(n, t)
- );
- });
- }
- return e;
- }
- const To = function (e) {
- var t = void 0 !== e.progressPosition ? e.progressPosition : 0.5,
- n = e.fade || 0.025,
- r = e.duration || 0.05,
- a = e.verticalOffset || "46.5vh";
- return (0, l.jsx)(lo, {
- trigger: vo.scrubPin,
- keyframes: [
- _o(
- _o({}, vo.fadeIn),
- {},
- {
- start: t,
- end: t + n,
- }
- ),
- _o(
- _o({}, vo.fadeOut),
- {},
- {
- start: t + r + n,
- end: t + r + n + n,
- }
- ),
- ],
- style: e.style,
- verticalOffset: a,
- className: e.className,
- parentHeight: e.parentHeight,
- children: e.children,
- });
- },
- So = function (e) {
- var t = (0, i.useRef)(null),
- n = (0, i.useRef)(null),
- r = !1;
- return (
- (0, i.useEffect)(function () {
- ra.set(t.current, {
- autoAlpha: 0,
- });
- }),
- (0, l.jsxs)("div", {
- className: o["attribution-wrap"],
- children: [
- (0, l.jsx)("button", {
- ref: n,
- onClick: function () {
- r
- ? (ra.to(t.current, {
- autoAlpha: 0,
- }),
- n.current.classList.remove(o.open),
- (n.current.innerText = "+"),
- (r = !1))
- : (ra.to(t.current, {
- autoAlpha: 1,
- }),
- n.current.classList.add(o.open),
- (n.current.innerText = "x"),
- (r = !0));
- },
- className: o["attribution-button"],
- children: "+",
- }),
- (0, l.jsx)("div", {
- ref: t,
- className: o.attribution,
- children: e.children,
- }),
- ],
- })
- );
- },
- ko = function (e) {
- for (var t = e.languages, n = [], r = 0; r < t.length; r++)
- n.push(
- (0, l.jsx)(
- "option",
- {
- style: t[r].style,
- value: t[r].abbreviation,
- children: t[r].full,
- },
- r
- )
- );
- return (0, l.jsx)(l.Fragment, {
- children: (0, l.jsxs)("div", {
- className: o["language-select"],
- children: [
- (0, l.jsx)("select", {
- ref: e.passRef[0],
- children: n,
- }),
- (0, l.jsx)("div", {
- className: o["select-arrow"],
- }),
- ],
- }),
- });
- };
- function Eo(e, t) {
- var n = Object.keys(e);
- if (Object.getOwnPropertySymbols) {
- var r = Object.getOwnPropertySymbols(e);
- t &&
- (r = r.filter(function (t) {
- return Object.getOwnPropertyDescriptor(e, t).enumerable;
- })),
- n.push.apply(n, r);
- }
- return n;
- }
- function Po(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = null != arguments[t] ? arguments[t] : {};
- t % 2
- ? Eo(Object(n), !0).forEach(function (t) {
- s(e, t, n[t]);
- })
- : Object.getOwnPropertyDescriptors
- ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))
- : Eo(Object(n)).forEach(function (t) {
- Object.defineProperty(
- e,
- t,
- Object.getOwnPropertyDescriptor(n, t)
- );
- });
- }
- return e;
- }
- var Co = a({
- domain: "mesopotamia.getty.edu",
- trackLocalhost: !0,
- }).trackEvent,
- Oo = {
- count: 0,
- };
- const Ro = function () {
- var e = c((0, i.useState)("en"), 2),
- t = e[0],
- n = e[1],
- r = (0, i.useRef)(null),
- a = (0, i.useRef)(null);
- return (
- (0, i.useEffect)(
- function () {
- a.current.addEventListener("change", function (e) {
- var t = e.target.value.toLowerCase();
- n(t),
- Oo.count > 0 &&
- Co("Language: Dropdown", {
- callback: function () {},
- props: {
- language: t,
- },
- }),
- Oo.count++,
- Hi[t].styles
- ? (document.documentElement.style.setProperty(
- "--alignment",
- Hi[t].styles.alignment
- ),
- document.documentElement.style.setProperty(
- "--text-direction",
- Hi[t].styles.direction
- ),
- document.documentElement.style.setProperty(
- "--wall-margin-left",
- Hi[t].styles.wallMarginLeft ||
- Hi.defaultStyles.wallMarginLeft
- ),
- document.documentElement.style.setProperty(
- "--wall-margin-right",
- Hi[t].styles.wallMarginRight ||
- Hi.defaultStyles.wallMarginRight
- ),
- document.documentElement.style.setProperty(
- "--letter-space",
- Hi[t].styles.letterSpace || Hi.defaultStyles.letterSpace
- ),
- document.documentElement.style.setProperty(
- "--open-modal-weight",
- Hi[t].styles.openModalWeight ||
- Hi.defaultStyles.openModalWeight
- ))
- : (document.documentElement.style.setProperty(
- "--alignment",
- Hi.defaultStyles.alignment
- ),
- document.documentElement.style.setProperty(
- "--text-direction",
- Hi.defaultStyles.direction
- ),
- document.documentElement.style.setProperty(
- "--wall-margin-left",
- Hi.defaultStyles.wallMarginLeft
- ),
- document.documentElement.style.setProperty(
- "--wall-margin-right",
- Hi.defaultStyles.wallMarginRight
- ),
- document.documentElement.style.setProperty(
- "--letter-space",
- Hi.defaultStyles.letterSpace
- ),
- document.documentElement.style.setProperty(
- "--open-modal-weight",
- Hi.defaultStyles.openModalWeight
- ));
- });
- },
- [a]
- ),
- (0, i.useEffect)(
- function () {
- var e = window.navigator.language;
- e.includes("es")
- ? (a.current.value = "Es")
- : e.includes("ar")
- ? (a.current.value = "Ar")
- : e.includes("fr")
- ? (a.current.value = "Fr")
- : e.includes("zh")
- ? (a.current.value = "Zh")
- : e.includes("hi")
- ? (a.current.value = "Hi")
- : (a.current.value = "En"),
- Co("Language: Loaded", {
- callback: function () {},
- props: {
- language: e,
- },
- }),
- a.current.dispatchEvent(new Event("change"));
- },
- [a]
- ),
- (0, l.jsxs)(l.Fragment, {
- children: [
- (0, l.jsx)(ko, {
- passRef: [a],
- languages: [
- {
- abbreviation: "En",
- full: "ENGLISH",
- },
- {
- abbreviation: "Es",
- full: "ESPAÑOL",
- },
- {
- abbreviation: "Fr",
- full: "FRANÇAIS",
- },
- {
- abbreviation: "Zh",
- full: "中国人",
- },
- {
- abbreviation: "Hi",
- full: "हिन्दी",
- },
- {
- abbreviation: "Ar",
- full: "عربى",
- style: {
- textAlign: "right",
- textDirection: "rtl",
- },
- },
- ],
- }),
- (0, l.jsxs)(mo, {
- className: o["poem-modal"],
- overlayClassName: o["poem-modal-overlay"],
- shouldCloseOnOverlayClick: !0,
- ref: r,
- children: [
- (0, l.jsx)("h2", {
- children: f(Hi[t].enheduannaPoem.title),
- }),
- (0, l.jsx)("p", {
- children: f(Hi[t].enheduannaPoem.line1),
- }),
- (0, l.jsx)("p", {
- children: f(Hi[t].enheduannaPoem.line2),
- }),
- (0, l.jsx)("p", {
- children: f(Hi[t].enheduannaPoem.line3),
- }),
- (0, l.jsx)("p", {
- children: f(Hi[t].enheduannaPoem.line4),
- }),
- (0, l.jsx)("p", {
- children: f(Hi[t].enheduannaPoem.line5),
- }),
- (0, l.jsx)("p", {
- children: f(Hi[t].enheduannaPoem.line6),
- }),
- (0, l.jsx)("p", {
- children: f(Hi[t].enheduannaPoem.line7),
- }),
- (0, l.jsx)("p", {
- children: f(Hi[t].enheduannaPoem.line8),
- }),
- (0, l.jsx)("p", {
- children: f(Hi[t].enheduannaPoem.line9),
- }),
- (0, l.jsx)("p", {
- children: f(Hi[t].enheduannaPoem.line10),
- }),
- (0, l.jsx)("p", {
- children: f(Hi[t].enheduannaPoem.line11),
- }),
- (0, l.jsx)("p", {
- children: f(Hi[t].enheduannaPoem.line12),
- }),
- (0, l.jsx)("p", {
- children: f(Hi[t].enheduannaPoem.line13),
- }),
- (0, l.jsx)("p", {
- children: f(Hi[t].enheduannaPoem.line14),
- }),
- (0, l.jsx)("p", {
- children: f(Hi[t].enheduannaPoem.line15),
- }),
- (0, l.jsx)("p", {
- children: f(Hi[t].enheduannaPoem.line16),
- }),
- (0, l.jsx)("div", {
- style: {
- marginTop: "20px",
- fontSize: "12px",
- },
- children: f(Hi[t].enheduannaPoem.attribution),
- }),
- ],
- }),
- (0, l.jsxs)("div", {
- children: [
- (0, l.jsx)("a", {
- name: "top",
- }),
- (0, l.jsx)(Wi, {
- languageSelectRef: [a],
- }),
- (0, l.jsxs)(ro, {
- height: "1300vh",
- name: "Lion Render",
- path: "lion-render-10fps-873-rev1",
- frameCount: 300,
- pause: {
- 298: 40,
- },
- children: [
- (0, l.jsx)(lo, {
- trigger: vo.scrubPin,
- keyframes: [
- Po(
- Po({}, vo.visible),
- {},
- {
- start: 0,
- end: 0,
- }
- ),
- Po(
- Po({}, vo.fadeDown),
- {},
- {
- start: 0.02,
- end: 0.03,
- }
- ),
- ],
- className: o["top-title"],
- verticalOffset: "33vh",
- children: Hi[t].lion.beat0,
- }),
- (0, l.jsx)(wo, {
- duration: 0.0325,
- fade: 0.01,
- progressPosition: 0.03,
- children: Hi[t].lion.beat1,
- }),
- (0, l.jsxs)(To, {
- className: o["wall-text"],
- progressPosition: 0.125,
- children: [
- (0, l.jsx)("div", {
- className: o["wall-top"],
- children: Hi[t].lion.wallTextTop,
- }),
- (0, l.jsx)("div", {
- className: o["wall-bottom"],
- children: Hi[t].lion.wallTextMid,
- }),
- (0, l.jsx)("div", {
- className: o["wall-bottom"],
- children: Hi[t].lion.wallTextBottom,
- }),
- (0, l.jsx)(So, {
- children: f(Hi[t].lion.attribution),
- }),
- ],
- }),
- (0, l.jsx)(wo, {
- fade: 0.01,
- progressPosition: 0.25,
- verticalOffset: "63vh",
- children: Hi[t].lion.beat2,
- }),
- (0, l.jsx)(wo, {
- fade: 0.01,
- progressPosition: 0.56,
- verticalOffset: "63vh",
- children: Hi[t].lion.beat3,
- }),
- (0, l.jsx)(lo, {
- trigger: vo.scrubPin,
- keyframes: [
- Po(
- Po({}, vo.fadeUp),
- {},
- {
- start: 0.72,
- end: 0.77,
- }
- ),
- Po(
- Po({}, vo.visible),
- {},
- {
- start: 0.9,
- end: 1,
- }
- ),
- ],
- className: o["copy-section"],
- verticalOffset: "0vh",
- children: (0, l.jsx)("div", {
- children: Hi[t].lion.beat4,
- }),
- }),
- ],
- }),
- (0, l.jsx)(p.ZP, {
- height: 1276,
- offset: 1e4,
- children: (0, l.jsxs)("div", {
- className: o["copy-section"] + " " + o["map-section"],
- children: [
- (0, l.jsx)(co, {
- children: (0, l.jsxs)("div", {
- children: [
- f(Hi[t].map.image),
- (0, l.jsx)("br", {}),
- (0, l.jsx)(So, {
- children: f(Hi[t].map.attribution),
- }),
- ],
- }),
- }),
- (0, l.jsx)(co, {
- children: (0, l.jsx)("div", {
- children: Hi[t].map.beat0,
- }),
- }),
- ],
- }),
- }),
- (0, l.jsxs)(ro, {
- height: "400vh",
- name: "Vessel Steadicam",
- path: "vessel-steadi-10fps-873-rev1",
- frameCount: 64,
- enterTween: {
- from: {
- autoAlpha: 0,
- y: 0,
- },
- },
- exitTween: vo.pinForExit,
- children: [
- (0, l.jsx)(wo, {
- verticalOffset: "70vh",
- duration: 0.15,
- fade: 0.1,
- progressPosition: 0,
- children: Hi[t].vesselSteadi.beat0,
- }),
- (0, l.jsx)(wo, {
- verticalOffset: "70vh",
- duration: 0.15,
- fade: 0.1,
- progressPosition: 0.33,
- children: (0, l.jsx)("span", {
- children: Hi[t].vesselSteadi.beat1,
- }),
- }),
- (0, l.jsx)(wo, {
- verticalOffset: "70vh",
- duration: 0.2,
- fade: 0.1,
- progressPosition: 0.66,
- children: (0, l.jsx)("span", {
- children: Hi[t].vesselSteadi.beat2,
- }),
- }),
- ],
- }),
- (0, l.jsxs)(ro, {
- height: "800vh",
- name: "Vessel Render",
- path: "vessel-render-10fps-873-rev1",
- frameCount: 125,
- enterTween: vo.crossFadeIn,
- exitTween: vo.pinForExit,
- children: [
- (0, l.jsxs)(To, {
- className: o["wall-text"],
- progressPosition: 0,
- children: [
- (0, l.jsx)("div", {
- className: o["wall-top"],
- children: Hi[t].vesselRender.wallTextTop,
- }),
- (0, l.jsx)("div", {
- className: o["wall-bottom"],
- children: Hi[t].vesselRender.wallTextMid,
- }),
- (0, l.jsx)("div", {
- className: o["wall-bottom"],
- children: Hi[t].vesselRender.wallTextBottom,
- }),
- (0, l.jsx)(So, {
- children: f(Hi[t].vesselRender.attribution),
- }),
- ],
- }),
- (0, l.jsx)(wo, {
- verticalOffset: "70vh",
- duration: 0.15,
- fade: 0.05,
- progressPosition: 0.1,
- children: Hi[t].vesselRender.beat0,
- }),
- (0, l.jsx)(wo, {
- verticalOffset: "70vh",
- duration: 0.2,
- fade: 0.05,
- progressPosition: 0.4,
- children: Hi[t].vesselRender.beat1,
- }),
- (0, l.jsx)(wo, {
- verticalOffset: "70vh",
- duration: 0.2,
- fade: 0.05,
- progressPosition: 0.75,
- children: Hi[t].vesselRender.beat2,
- }),
- ],
- }),
- (0, l.jsx)(ro, {
- height: "400vh",
- name: "Michaux Steadicam",
- path: "michaux-steadi-10fps-873-rev1",
- frameCount: 98,
- enterTween: vo.crossFadeIn,
- exitTween: vo.pinForExit,
- children: (0, l.jsx)(wo, {
- verticalOffset: "63vh",
- duration: 0.4,
- progressPosition: 0,
- children: Hi[t].michauxSteadi.beat0,
- }),
- }),
- (0, l.jsxs)(ro, {
- height: "800vh",
- name: "Michaux Render",
- path: "michaux-render-10fps-873-rev1",
- frameCount: 158,
- enterTween: vo.crossFadeIn,
- exitTween: vo.pinForExit,
- children: [
- (0, l.jsxs)(To, {
- className: o["wall-text"],
- progressPosition: 0.01,
- duration: 0.1,
- children: [
- (0, l.jsx)("div", {
- className: o["wall-top"],
- children: Hi[t].michauxRender.wallTextTop,
- }),
- (0, l.jsx)("div", {
- className: o["wall-bottom"],
- children: Hi[t].michauxRender.wallTextMid,
- }),
- (0, l.jsx)("div", {
- className: o["wall-bottom"],
- children: Hi[t].michauxRender.wallTextBottom,
- }),
- (0, l.jsx)(So, {
- children: f(Hi[t].michauxRender.attribution),
- }),
- ],
- }),
- (0, l.jsx)(wo, {
- duration: 0.1,
- progressPosition: 0.15,
- verticalOffset: "63vh",
- children: Hi[t].michauxRender.beat0,
- }),
- (0, l.jsx)(wo, {
- duration: 0.15,
- progressPosition: 0.4,
- verticalOffset: "63vh",
- children: Hi[t].michauxRender.beat1,
- }),
- (0, l.jsx)(wo, {
- duration: 0.15,
- progressPosition: 0.65,
- verticalOffset: "63vh",
- children: Hi[t].michauxRender.beat2,
- }),
- ],
- }),
- (0, l.jsx)(ro, {
- height: "400vh",
- name: "Gudea Architect Steadi",
- path: "gudea-architect-steadi-10fps-873-rev1",
- frameCount: 84,
- enterTween: vo.crossFadeIn,
- exitTween: vo.pinForExit,
- children: (0, l.jsx)(wo, {
- duration: 0.5,
- progressPosition: 0.25,
- verticalOffset: "63vh",
- children: Hi[t].architectSteadi.beat0,
- }),
- }),
- (0, l.jsxs)(ro, {
- height: "800vh",
- name: "Gudea Architect Render",
- path: "gudea-architect-render-10fps-873-rev1",
- frameCount: 201,
- enterTween: vo.crossFadeIn,
- exitTween: vo.pinForExit,
- children: [
- (0, l.jsxs)(To, {
- className: o["wall-text"],
- progressPosition: 0,
- children: [
- (0, l.jsx)("div", {
- className: o["wall-top"],
- children: Hi[t].architectRender.wallTextTop,
- }),
- (0, l.jsx)("div", {
- className: o["wall-bottom"],
- children: Hi[t].architectRender.wallTextMid,
- }),
- (0, l.jsx)("div", {
- className: o["wall-bottom"],
- children: Hi[t].architectRender.wallTextBottom,
- }),
- (0, l.jsx)(So, {
- children: f(Hi[t].architectRender.attribution),
- }),
- ],
- }),
- (0, l.jsx)(wo, {
- fade: 0.02,
- progressPosition: 0.1,
- verticalOffset: "63vh",
- children: Hi[t].architectRender.beat0,
- }),
- (0, l.jsx)(wo, {
- verticalOffset: "65vh",
- duration: 0.1,
- fade: 0.02,
- progressPosition: 0.3,
- children: Hi[t].architectRender.beat1,
- }),
- (0, l.jsx)(wo, {
- verticalOffset: "63vh",
- fade: 0.02,
- duration: 0.12,
- progressPosition: 0.5,
- children: Hi[t].architectRender.beat2,
- }),
- ],
- }),
- (0, l.jsx)(ro, {
- height: "800vh",
- name: "Dictionary Steadi",
- path: "dictionary-steadi-10fps-873-rev1",
- frameCount: 258,
- enterTween: vo.crossFadeIn,
- exitTween: vo.pinForExit,
- children: (0, l.jsx)(wo, {
- duration: 0.5,
- progressPosition: 0.25,
- children: Hi[t].dictionarySteadi.beat0,
- }),
- }),
- (0, l.jsxs)(ro, {
- height: "300vh",
- name: "Dictionary Render",
- path: "dictionary-render-10fps-873-rev1",
- frameCount: 45,
- pause: {
- 45: 20,
- },
- enterTween: vo.crossFadeIn,
- children: [
- (0, l.jsxs)(To, {
- className: o["wall-text"],
- duration: 0.2,
- fade: 0.1,
- progressPosition: 0,
- children: [
- (0, l.jsx)("div", {
- className: o["wall-top"],
- children: Hi[t].dictionaryRender.wallTextTop,
- }),
- (0, l.jsx)("div", {
- className: o["wall-bottom"],
- children: Hi[t].dictionaryRender.wallTextMid,
- }),
- (0, l.jsx)("div", {
- className: o["wall-bottom"],
- children: Hi[t].dictionaryRender.wallTextBottom,
- }),
- (0, l.jsx)(So, {
- children: f(Hi[t].dictionaryRender.attribution),
- }),
- ],
- }),
- (0, l.jsxs)(wo, {
- progressPosition: 0.3,
- fade: 0.075,
- duration: 0.5,
- children: [
- Hi[t].dictionaryRender.beat0,
- (0, l.jsx)("br", {}),
- (0, l.jsx)("br", {}),
- Hi[t].dictionaryRender.beat1,
- ],
- }),
- ],
- }),
- (0, l.jsxs)("div", {
- className: o["copy-section"],
- children: [
- (0, l.jsx)(co, {
- children: (0, l.jsx)("p", {
- children: Hi[t].enheduannaSteadi.beat0,
- }),
- }),
- (0, l.jsx)(co, {
- children: (0, l.jsx)("p", {
- children: Hi[t].enheduannaSteadi.beat1,
- }),
- }),
- ],
- }),
- (0, l.jsxs)(ro, {
- height: "200vh",
- name: "Enheduanna Steadi",
- path: "enheduanna-steadi-10fps-873-rev1",
- frameCount: 40,
- pause: {
- 1: 80,
- },
- enterTween: {
- from: {
- autoAlpha: 0,
- y: 500,
- },
- },
- exitTween: vo.pinForExit,
- children: [
- (0, l.jsxs)(To, {
- className: o["wall-text"],
- duration: 0.35,
- fade: 0.1,
- progressPosition: 0,
- children: [
- (0, l.jsx)("div", {
- className: o["wall-top"],
- children: Hi[t].enheduannaSteadi.wallTextTop,
- }),
- (0, l.jsx)("div", {
- className: o["wall-bottom"],
- children: Hi[t].enheduannaSteadi.wallTextMid,
- }),
- (0, l.jsx)("div", {
- className: o["wall-bottom"],
- children: Hi[t].enheduannaSteadi.wallTextBottom,
- }),
- (0, l.jsx)(So, {
- children: f(Hi[t].enheduannaSteadi.attribution),
- }),
- ],
- }),
- (0, l.jsxs)(wo, {
- verticalOffset: "63vh",
- duration: 0.6,
- fade: 0.2,
- progressPosition: 0.475,
- children: [
- Hi[t].enheduannaSteadi.beat2,
- (0, l.jsx)("br", {}),
- (0, l.jsx)("button", {
- type: "button",
- className: o["open-modal"],
- onClick: function () {
- return (
- (e = r),
- ra.set(e.current.node, {
- autoAlpha: 1,
- }),
- ra.from(e.current.node, {
- autoAlpha: 0,
- duration: 0.3,
- }),
- (e.current.node.children[0].style.overflow =
- "auto"),
- (e.current.node.style.display = "block"),
- void (document.documentElement.style.overflow =
- "hidden")
- );
- var e;
- },
- children: Hi[t].enheduannaSteadi.buttonText,
- }),
- ],
- }),
- ],
- }),
- (0, l.jsx)(ro, {
- height: "800vh",
- name: "Cone Steadi",
- path: "cone-steadi-10fps-873-rev1",
- frameCount: 256,
- enterTween: vo.crossFadeIn,
- exitTween: vo.pinForExit,
- children: (0, l.jsx)(wo, {
- duration: 0.5,
- progressPosition: 0.23,
- verticalOffset: "63vh",
- children: Hi[t].coneSteadi.beat0,
- }),
- }),
- (0, l.jsxs)(ro, {
- height: "600vh",
- name: "Cone Render",
- path: "cone-render-10fps-873-rev1",
- frameCount: 101,
- enterTween: vo.crossFadeIn,
- exitTween: vo.pinForExit,
- children: [
- (0, l.jsxs)(To, {
- className: o["wall-text"],
- duration: 0.2,
- progressPosition: 0,
- children: [
- (0, l.jsx)("div", {
- className: o["wall-top"],
- children: Hi[t].coneRender.wallTextTop,
- }),
- (0, l.jsx)("div", {
- className: o["wall-bottom"],
- children: Hi[t].coneRender.wallTextMid,
- }),
- (0, l.jsx)("div", {
- className: o["wall-bottom"],
- children: Hi[t].coneRender.wallTextBottom,
- }),
- (0, l.jsx)(So, {
- children: f(Hi[t].coneRender.attribution),
- }),
- ],
- }),
- (0, l.jsx)(wo, {
- verticalOffset: "63vh",
- duration: 0.25,
- progressPosition: 0.225,
- children: Hi[t].coneRender.beat0,
- }),
- (0, l.jsx)(wo, {
- verticalOffset: "63vh",
- duration: 0.25,
- progressPosition: 0.6,
- children: Hi[t].coneRender.beat1,
- }),
- ],
- }),
- (0, l.jsx)(ro, {
- height: "280vh",
- name: "Gudea Steadi",
- path: "gudea-steadi-10fps-873-rev1",
- frameCount: 50,
- enterTween: vo.crossFadeIn,
- exitTween: vo.pinForExit,
- children: (0, l.jsx)(wo, {
- verticalOffset: "63vh",
- duration: 0.5,
- fade: 0.25,
- progressPosition: 0,
- children: Hi[t].gudeaSteadi.beat0,
- }),
- }),
- (0, l.jsxs)(ro, {
- height: "900vh",
- name: "Gudea Render",
- path: "gudea-render-10fps-873-rev1",
- frameCount: 184,
- enterTween: vo.crossFadeIn,
- children: [
- (0, l.jsxs)(To, {
- className: o["wall-text"],
- progressPosition: 0,
- children: [
- (0, l.jsx)("div", {
- className: o["wall-top"],
- children: Hi[t].gudeaRender.wallTextTop,
- }),
- (0, l.jsx)("div", {
- className: o["wall-bottom"],
- children: Hi[t].gudeaRender.wallTextMid,
- }),
- (0, l.jsx)("div", {
- className: o["wall-bottom"],
- children: Hi[t].gudeaRender.wallTextBottom,
- }),
- (0, l.jsx)(So, {
- children: f(Hi[t].gudeaRender.attribution),
- }),
- ],
- }),
- (0, l.jsx)(wo, {
- verticalOffset: "63vh",
- progressPosition: 0.1,
- children: Hi[t].gudeaRender.beat1,
- }),
- (0, l.jsx)(wo, {
- verticalOffset: "63vh",
- progressPosition: 0.4,
- children: Hi[t].gudeaRender.beat0,
- }),
- (0, l.jsx)(wo, {
- verticalOffset: "63vh",
- progressPosition: 0.6,
- children: Hi[t].gudeaRender.beat2,
- }),
- ],
- }),
- (0, l.jsx)(p.ZP, {
- height: 909,
- offset: 1e4,
- children: (0, l.jsxs)("div", {
- className: o["copy-section"] + " " + o["outro-wrap"],
- children: [
- (0, l.jsx)(co, {
- children: (0, l.jsx)("p", {
- children: f(Hi[t].footer.outro),
- }),
- }),
- (0, l.jsx)(co, {
- end: "top center+=25%",
- children: (0, l.jsx)("p", {
- children: (0, l.jsx)("img", {
- width: "750",
- height: "136",
- src: "/assets/images/the-getty-louvre-lockup.png",
- alt: "The Getty x The Louvre logo lock-up",
- }),
- }),
- }),
- (0, l.jsxs)(co, {
- end: "top center+=45%",
- children: [
- (0, l.jsx)("hr", {}),
- (0, l.jsx)("p", {
- className: o["outro-info-section"],
- children: f(Hi[t].footer.info),
- }),
- (0, l.jsxs)("div", {
- className: o["outro-credits"],
- children: [
- (0, l.jsx)("span", {
- className: o["outro-subtitle"],
- children: Hi[t].footer.curatedBy,
- }),
- (0, l.jsx)("br", {}),
- Hi[t].footer.curatorCredits,
- (0, l.jsx)("br", {}),
- (0, l.jsx)("br", {}),
- (0, l.jsx)("span", {
- className: o["outro-subtitle"],
- children: Hi[t].footer.producedBy,
- }),
- (0, l.jsx)("br", {}),
- f(Hi[t].footer.producerCredits),
- (0, l.jsx)("br", {}),
- (0, l.jsx)("br", {}),
- (0, l.jsx)("br", {}),
- ],
- }),
- (0, l.jsxs)("ul", {
- className: o["outro-links"],
- children: [
- (0, l.jsx)("li", {
- children: (0, l.jsx)("a", {
- href: "https://www.getty.edu/visit/villa/",
- children: Hi[t].footer.visit,
- }),
- }),
- (0, l.jsx)("li", {
- children: (0, l.jsx)("a", {
- href: "#top",
- children: (0, l.jsx)("button", {
- children: Hi[t].footer.backToTop,
- }),
- }),
- }),
- ],
- }),
- ],
- }),
- ],
- }),
- }),
- ],
- }),
- ],
- })
- );
- };
- var Ao;
- Ci.config({
- autoRefreshEvents: "visibilitychange,DOMContentLoaded,load",
- });
- const Mo = function () {
- clearTimeout(Ao),
- (Ao = setTimeout(function () {
- var e = 0.01 * window.innerHeight,
- t = ((16 * window.innerHeight) / 9) * 0.01,
- n = 0;
- 100 * t < window.innerWidth &&
- (n = 0.5 * (window.innerWidth - 100 * t)),
- document.documentElement.style.setProperty(
- "--vh",
- "".concat(e, "px")
- ),
- document.documentElement.style.setProperty(
- "--cw",
- "".concat(t, "px")
- ),
- document.documentElement.style.setProperty(
- "--cl",
- "".concat(n, "px")
- ),
- Ci.refresh();
- }, 100));
- };
- var No = a({
- domain: "mesopotamia.getty.edu",
- trackLocalhost: !0,
- }).trackEvent,
- jo = {
- 10: !1,
- 20: !1,
- 30: !1,
- 40: !1,
- 50: !1,
- 60: !1,
- 70: !1,
- 80: !1,
- 90: !1,
- 100: !1,
- };
- var Lo = a({
- domain: "mesopotamia.getty.edu",
- trackLocalhost: !0,
- });
- Lo.trackPageview(),
- Lo.enableAutoOutboundTracking(),
- window.addEventListener("resize", Mo, !1),
- Mo(),
- window.addEventListener(
- "scroll",
- function () {
- var e =
- ((window.scrollY || window.pageYOffset) /
- (document.body.offsetHeight - window.innerHeight)) *
- 100;
- e > 10 &&
- !jo[10] &&
- ((jo[10] = !0),
- No("Scroll: Position", {
- props: {
- percent: "10%",
- },
- })),
- e > 20 &&
- !jo[20] &&
- ((jo[20] = !0),
- No("Scroll: Position", {
- props: {
- percent: "20%",
- },
- })),
- e > 30 &&
- !jo[30] &&
- ((jo[30] = !0),
- No("Scroll: Position", {
- props: {
- percent: "30%",
- },
- })),
- e > 40 &&
- !jo[40] &&
- ((jo[40] = !0),
- No("Scroll: Position", {
- props: {
- percent: "40%",
- },
- })),
- e > 50 &&
- !jo[50] &&
- ((jo[50] = !0),
- No("Scroll: Position", {
- props: {
- percent: "50%",
- },
- })),
- e > 60 &&
- !jo[60] &&
- ((jo[60] = !0),
- No("Scroll: Position", {
- props: {
- percent: "60%",
- },
- })),
- e > 70 &&
- !jo[70] &&
- ((jo[70] = !0),
- No("Scroll: Position", {
- props: {
- percent: "70%",
- },
- })),
- e > 80 &&
- !jo[80] &&
- ((jo[80] = !0),
- No("Scroll: Position", {
- props: {
- percent: "80%",
- },
- })),
- e > 90 &&
- !jo[90] &&
- ((jo[90] = !0),
- No("Scroll: Position", {
- props: {
- percent: "90%",
- },
- })),
- e > 95 &&
- !jo[100] &&
- ((jo[100] = !0),
- No("Scroll: Position", {
- props: {
- percent: "100%",
- },
- }));
- },
- !1
- );
- const Do = function () {
- return (0, l.jsx)(l.Fragment, {
- children: (0, l.jsxs)("div", {
- children: [!1, (0, l.jsx)(Ro, {})],
- }),
- });
- };
- var Io,
- Fo,
- zo = document.querySelector("#page-loader");
- (Io = function () {
- (zo.innerHTML = "100%"),
- (document.body.style.overflow = "auto"),
- (0, r.render)((0, l.jsx)(Do, {}), document.getElementById("root"));
- }),
- ((Fo = new Image()).src =
- "data:image/avif;base64,AAAAFGZ0eXBhdmlmAAAAAG1pZjEAAACgbWV0YQAAAAAAAAAOcGl0bQAAAAAAAQAAAB5pbG9jAAAAAEQAAAEAAQAAAAEAAAC8AAAAGwAAACNpaW5mAAAAAAABAAAAFWluZmUCAAAAAAEAAGF2MDEAAAAARWlwcnAAAAAoaXBjbwAAABRpc3BlAAAAAAAAAAQAAAAEAAAADGF2MUOBAAAAAAAAFWlwbWEAAAAAAAAAAQABAgECAAAAI21kYXQSAAoIP8R8hAQ0BUAyDWeeUy0JG+QAACANEkA="),
- (Fo.onload = function () {
- document.body.classList.add("avif-supported"), Io();
- }),
- (Fo.onerror = function () {
- var e = new Image();
- (e.src =
- "data:image/webp;base64,UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQERGIiP4HAA=="),
- (e.onload = function () {
- document.body.classList.add("webp-supported"), Io();
- }),
- (e.onerror = function () {
- Io();
- });
- });
- },
- },
- (e) => {
- "use strict";
- e((e.s = 236));
- },
- ]);
-
|