| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262 |
- "use strict";
- (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["vendors-node_modules_taro_weapp_prebundle_chunk-2Y2U3MWF_js"],{
- /***/ "./node_modules/.taro/weapp/prebundle/chunk-2Y2U3MWF.js":
- /*!**************************************************************!*\
- !*** ./node_modules/.taro/weapp/prebundle/chunk-2Y2U3MWF.js ***!
- \**************************************************************/
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ createPortal: function() { return /* binding */ createPortal; },
- /* harmony export */ createRoot: function() { return /* binding */ createRoot; },
- /* harmony export */ findDOMNode: function() { return /* binding */ findDOMNode; },
- /* harmony export */ index: function() { return /* binding */ index; },
- /* harmony export */ render: function() { return /* binding */ render; },
- /* harmony export */ unmountComponentAtNode: function() { return /* binding */ unmountComponentAtNode; },
- /* harmony export */ unstable_batchedUpdates: function() { return /* binding */ unstable_batchedUpdates; }
- /* harmony export */ });
- /* harmony import */ var _chunk_3EXGJ5BE_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-3EXGJ5BE.js */ "./node_modules/.taro/weapp/prebundle/chunk-3EXGJ5BE.js");
- /* harmony import */ var _chunk_77KB62LY_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chunk-77KB62LY.js */ "./node_modules/.taro/weapp/prebundle/chunk-77KB62LY.js");
- /* harmony import */ var _chunk_LNJCN3VW_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./chunk-LNJCN3VW.js */ "./node_modules/.taro/weapp/prebundle/chunk-LNJCN3VW.js");
- /* harmony import */ var _chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./chunk-P7VEE7PG.js */ "./node_modules/.taro/weapp/prebundle/chunk-P7VEE7PG.js");
- /* provided dependency */ var navigator = __webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/chunk-3EXGJ5BE.js */ "./node_modules/.taro/weapp/prebundle/chunk-3EXGJ5BE.js")["nav"];
- // node_modules/react-reconciler/node_modules/scheduler/cjs/scheduler.development.js
- var require_scheduler_development = (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_3__.__commonJS)({
- "node_modules/react-reconciler/node_modules/scheduler/cjs/scheduler.development.js" (exports) {
- "use strict";
- if (true) {
- (function() {
- "use strict";
- if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") {
- __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
- }
- var enableSchedulerDebugging = false;
- var enableProfiling = false;
- var frameYieldMs = 5;
- function push(heap, node) {
- var index2 = heap.length;
- heap.push(node);
- siftUp(heap, node, index2);
- }
- function peek(heap) {
- return heap.length === 0 ? null : heap[0];
- }
- function pop(heap) {
- if (heap.length === 0) {
- return null;
- }
- var first = heap[0];
- var last = heap.pop();
- if (last !== first) {
- heap[0] = last;
- siftDown(heap, last, 0);
- }
- return first;
- }
- function siftUp(heap, node, i) {
- var index2 = i;
- while(index2 > 0){
- var parentIndex = index2 - 1 >>> 1;
- var parent = heap[parentIndex];
- if (compare(parent, node) > 0) {
- heap[parentIndex] = node;
- heap[index2] = parent;
- index2 = parentIndex;
- } else {
- return;
- }
- }
- }
- function siftDown(heap, node, i) {
- var index2 = i;
- var length = heap.length;
- var halfLength = length >>> 1;
- while(index2 < halfLength){
- var leftIndex = (index2 + 1) * 2 - 1;
- var left = heap[leftIndex];
- var rightIndex = leftIndex + 1;
- var right = heap[rightIndex];
- if (compare(left, node) < 0) {
- if (rightIndex < length && compare(right, left) < 0) {
- heap[index2] = right;
- heap[rightIndex] = node;
- index2 = rightIndex;
- } else {
- heap[index2] = left;
- heap[leftIndex] = node;
- index2 = leftIndex;
- }
- } else if (rightIndex < length && compare(right, node) < 0) {
- heap[index2] = right;
- heap[rightIndex] = node;
- index2 = rightIndex;
- } else {
- return;
- }
- }
- }
- function compare(a, b) {
- var diff = a.sortIndex - b.sortIndex;
- return diff !== 0 ? diff : a.id - b.id;
- }
- var ImmediatePriority = 1;
- var UserBlockingPriority = 2;
- var NormalPriority = 3;
- var LowPriority = 4;
- var IdlePriority = 5;
- function markTaskErrored(task, ms) {}
- var hasPerformanceNow = typeof performance === "object" && typeof performance.now === "function";
- if (hasPerformanceNow) {
- var localPerformance = performance;
- exports.unstable_now = function() {
- return localPerformance.now();
- };
- } else {
- var localDate = Date;
- var initialTime = localDate.now();
- exports.unstable_now = function() {
- return localDate.now() - initialTime;
- };
- }
- var maxSigned31BitInt = 1073741823;
- var IMMEDIATE_PRIORITY_TIMEOUT = -1;
- var USER_BLOCKING_PRIORITY_TIMEOUT = 250;
- var NORMAL_PRIORITY_TIMEOUT = 5e3;
- var LOW_PRIORITY_TIMEOUT = 1e4;
- var IDLE_PRIORITY_TIMEOUT = maxSigned31BitInt;
- var taskQueue = [];
- var timerQueue = [];
- var taskIdCounter = 1;
- var currentTask = null;
- var currentPriorityLevel = NormalPriority;
- var isPerformingWork = false;
- var isHostCallbackScheduled = false;
- var isHostTimeoutScheduled = false;
- var localSetTimeout = typeof setTimeout === "function" ? setTimeout : null;
- var localClearTimeout = typeof clearTimeout === "function" ? clearTimeout : null;
- var localSetImmediate = typeof setImmediate !== "undefined" ? setImmediate : null;
- var isInputPending = typeof navigator !== "undefined" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 ? navigator.scheduling.isInputPending.bind(navigator.scheduling) : null;
- function advanceTimers(currentTime) {
- var timer = peek(timerQueue);
- while(timer !== null){
- if (timer.callback === null) {
- pop(timerQueue);
- } else if (timer.startTime <= currentTime) {
- pop(timerQueue);
- timer.sortIndex = timer.expirationTime;
- push(taskQueue, timer);
- } else {
- return;
- }
- timer = peek(timerQueue);
- }
- }
- function handleTimeout(currentTime) {
- isHostTimeoutScheduled = false;
- advanceTimers(currentTime);
- if (!isHostCallbackScheduled) {
- if (peek(taskQueue) !== null) {
- isHostCallbackScheduled = true;
- requestHostCallback(flushWork);
- } else {
- var firstTimer = peek(timerQueue);
- if (firstTimer !== null) {
- requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
- }
- }
- }
- }
- function flushWork(hasTimeRemaining, initialTime2) {
- isHostCallbackScheduled = false;
- if (isHostTimeoutScheduled) {
- isHostTimeoutScheduled = false;
- cancelHostTimeout();
- }
- isPerformingWork = true;
- var previousPriorityLevel = currentPriorityLevel;
- try {
- if (enableProfiling) {
- try {
- return workLoop(hasTimeRemaining, initialTime2);
- } catch (error) {
- if (currentTask !== null) {
- var currentTime = exports.unstable_now();
- markTaskErrored(currentTask, currentTime);
- currentTask.isQueued = false;
- }
- throw error;
- }
- } else {
- return workLoop(hasTimeRemaining, initialTime2);
- }
- } finally{
- currentTask = null;
- currentPriorityLevel = previousPriorityLevel;
- isPerformingWork = false;
- }
- }
- function workLoop(hasTimeRemaining, initialTime2) {
- var currentTime = initialTime2;
- advanceTimers(currentTime);
- currentTask = peek(taskQueue);
- while(currentTask !== null && !enableSchedulerDebugging){
- if (currentTask.expirationTime > currentTime && (!hasTimeRemaining || shouldYieldToHost())) {
- break;
- }
- var callback = currentTask.callback;
- if (typeof callback === "function") {
- currentTask.callback = null;
- currentPriorityLevel = currentTask.priorityLevel;
- var didUserCallbackTimeout = currentTask.expirationTime <= currentTime;
- var continuationCallback = callback(didUserCallbackTimeout);
- currentTime = exports.unstable_now();
- if (typeof continuationCallback === "function") {
- currentTask.callback = continuationCallback;
- } else {
- if (currentTask === peek(taskQueue)) {
- pop(taskQueue);
- }
- }
- advanceTimers(currentTime);
- } else {
- pop(taskQueue);
- }
- currentTask = peek(taskQueue);
- }
- if (currentTask !== null) {
- return true;
- } else {
- var firstTimer = peek(timerQueue);
- if (firstTimer !== null) {
- requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
- }
- return false;
- }
- }
- function unstable_runWithPriority(priorityLevel, eventHandler) {
- switch(priorityLevel){
- case ImmediatePriority:
- case UserBlockingPriority:
- case NormalPriority:
- case LowPriority:
- case IdlePriority:
- break;
- default:
- priorityLevel = NormalPriority;
- }
- var previousPriorityLevel = currentPriorityLevel;
- currentPriorityLevel = priorityLevel;
- try {
- return eventHandler();
- } finally{
- currentPriorityLevel = previousPriorityLevel;
- }
- }
- function unstable_next(eventHandler) {
- var priorityLevel;
- switch(currentPriorityLevel){
- case ImmediatePriority:
- case UserBlockingPriority:
- case NormalPriority:
- priorityLevel = NormalPriority;
- break;
- default:
- priorityLevel = currentPriorityLevel;
- break;
- }
- var previousPriorityLevel = currentPriorityLevel;
- currentPriorityLevel = priorityLevel;
- try {
- return eventHandler();
- } finally{
- currentPriorityLevel = previousPriorityLevel;
- }
- }
- function unstable_wrapCallback(callback) {
- var parentPriorityLevel = currentPriorityLevel;
- return function() {
- var previousPriorityLevel = currentPriorityLevel;
- currentPriorityLevel = parentPriorityLevel;
- try {
- return callback.apply(this, arguments);
- } finally{
- currentPriorityLevel = previousPriorityLevel;
- }
- };
- }
- function unstable_scheduleCallback(priorityLevel, callback, options) {
- var currentTime = exports.unstable_now();
- var startTime2;
- if (typeof options === "object" && options !== null) {
- var delay = options.delay;
- if (typeof delay === "number" && delay > 0) {
- startTime2 = currentTime + delay;
- } else {
- startTime2 = currentTime;
- }
- } else {
- startTime2 = currentTime;
- }
- var timeout;
- switch(priorityLevel){
- case ImmediatePriority:
- timeout = IMMEDIATE_PRIORITY_TIMEOUT;
- break;
- case UserBlockingPriority:
- timeout = USER_BLOCKING_PRIORITY_TIMEOUT;
- break;
- case IdlePriority:
- timeout = IDLE_PRIORITY_TIMEOUT;
- break;
- case LowPriority:
- timeout = LOW_PRIORITY_TIMEOUT;
- break;
- case NormalPriority:
- default:
- timeout = NORMAL_PRIORITY_TIMEOUT;
- break;
- }
- var expirationTime = startTime2 + timeout;
- var newTask = {
- id: taskIdCounter++,
- callback,
- priorityLevel,
- startTime: startTime2,
- expirationTime,
- sortIndex: -1
- };
- if (startTime2 > currentTime) {
- newTask.sortIndex = startTime2;
- push(timerQueue, newTask);
- if (peek(taskQueue) === null && newTask === peek(timerQueue)) {
- if (isHostTimeoutScheduled) {
- cancelHostTimeout();
- } else {
- isHostTimeoutScheduled = true;
- }
- requestHostTimeout(handleTimeout, startTime2 - currentTime);
- }
- } else {
- newTask.sortIndex = expirationTime;
- push(taskQueue, newTask);
- if (!isHostCallbackScheduled && !isPerformingWork) {
- isHostCallbackScheduled = true;
- requestHostCallback(flushWork);
- }
- }
- return newTask;
- }
- function unstable_pauseExecution() {}
- function unstable_continueExecution() {
- if (!isHostCallbackScheduled && !isPerformingWork) {
- isHostCallbackScheduled = true;
- requestHostCallback(flushWork);
- }
- }
- function unstable_getFirstCallbackNode() {
- return peek(taskQueue);
- }
- function unstable_cancelCallback(task) {
- task.callback = null;
- }
- function unstable_getCurrentPriorityLevel() {
- return currentPriorityLevel;
- }
- var isMessageLoopRunning = false;
- var scheduledHostCallback = null;
- var taskTimeoutID = -1;
- var frameInterval = frameYieldMs;
- var startTime = -1;
- function shouldYieldToHost() {
- var timeElapsed = exports.unstable_now() - startTime;
- if (timeElapsed < frameInterval) {
- return false;
- }
- return true;
- }
- function requestPaint() {}
- function forceFrameRate(fps) {
- if (fps < 0 || fps > 125) {
- console["error"]("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");
- return;
- }
- if (fps > 0) {
- frameInterval = Math.floor(1e3 / fps);
- } else {
- frameInterval = frameYieldMs;
- }
- }
- var performWorkUntilDeadline = function() {
- if (scheduledHostCallback !== null) {
- var currentTime = exports.unstable_now();
- startTime = currentTime;
- var hasTimeRemaining = true;
- var hasMoreWork = true;
- try {
- hasMoreWork = scheduledHostCallback(hasTimeRemaining, currentTime);
- } finally{
- if (hasMoreWork) {
- schedulePerformWorkUntilDeadline();
- } else {
- isMessageLoopRunning = false;
- scheduledHostCallback = null;
- }
- }
- } else {
- isMessageLoopRunning = false;
- }
- };
- var schedulePerformWorkUntilDeadline;
- if (typeof localSetImmediate === "function") {
- schedulePerformWorkUntilDeadline = function() {
- localSetImmediate(performWorkUntilDeadline);
- };
- } else if (typeof MessageChannel !== "undefined") {
- var channel = new MessageChannel();
- var port = channel.port2;
- channel.port1.onmessage = performWorkUntilDeadline;
- schedulePerformWorkUntilDeadline = function() {
- port.postMessage(null);
- };
- } else {
- schedulePerformWorkUntilDeadline = function() {
- localSetTimeout(performWorkUntilDeadline, 0);
- };
- }
- function requestHostCallback(callback) {
- scheduledHostCallback = callback;
- if (!isMessageLoopRunning) {
- isMessageLoopRunning = true;
- schedulePerformWorkUntilDeadline();
- }
- }
- function requestHostTimeout(callback, ms) {
- taskTimeoutID = localSetTimeout(function() {
- callback(exports.unstable_now());
- }, ms);
- }
- function cancelHostTimeout() {
- localClearTimeout(taskTimeoutID);
- taskTimeoutID = -1;
- }
- var unstable_requestPaint = requestPaint;
- var unstable_Profiling = null;
- exports.unstable_IdlePriority = IdlePriority;
- exports.unstable_ImmediatePriority = ImmediatePriority;
- exports.unstable_LowPriority = LowPriority;
- exports.unstable_NormalPriority = NormalPriority;
- exports.unstable_Profiling = unstable_Profiling;
- exports.unstable_UserBlockingPriority = UserBlockingPriority;
- exports.unstable_cancelCallback = unstable_cancelCallback;
- exports.unstable_continueExecution = unstable_continueExecution;
- exports.unstable_forceFrameRate = forceFrameRate;
- exports.unstable_getCurrentPriorityLevel = unstable_getCurrentPriorityLevel;
- exports.unstable_getFirstCallbackNode = unstable_getFirstCallbackNode;
- exports.unstable_next = unstable_next;
- exports.unstable_pauseExecution = unstable_pauseExecution;
- exports.unstable_requestPaint = unstable_requestPaint;
- exports.unstable_runWithPriority = unstable_runWithPriority;
- exports.unstable_scheduleCallback = unstable_scheduleCallback;
- exports.unstable_shouldYield = shouldYieldToHost;
- exports.unstable_wrapCallback = unstable_wrapCallback;
- if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function") {
- __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
- }
- })();
- }
- }
- });
- // node_modules/react-reconciler/node_modules/scheduler/index.js
- var require_scheduler = (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_3__.__commonJS)({
- "node_modules/react-reconciler/node_modules/scheduler/index.js" (exports, module) {
- "use strict";
- if (false) {} else {
- module.exports = require_scheduler_development();
- }
- }
- });
- // node_modules/react-reconciler/cjs/react-reconciler.production.min.js
- var require_react_reconciler_production_min = (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_3__.__commonJS)({
- "node_modules/react-reconciler/cjs/react-reconciler.production.min.js" (exports, module) {
- module.exports = function $$$reconciler($$$hostConfig) {
- var exports2 = {};
- "use strict";
- var aa = (0,_chunk_LNJCN3VW_js__WEBPACK_IMPORTED_MODULE_2__.require_react_production_min)(), ba = require_scheduler(), ca = Object.assign;
- function n(a) {
- for(var b = "https://reactjs.org/docs/error-decoder.html?invariant=" + a, c = 1; c < arguments.length; c++)b += "&args[]=" + encodeURIComponent(arguments[c]);
- return "Minified React error #" + a + "; visit " + b + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
- }
- var ea = aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, fa = Symbol.for("react.element"), ha = Symbol.for("react.portal"), ia = Symbol.for("react.fragment"), ja = Symbol.for("react.strict_mode"), ka = Symbol.for("react.profiler"), la = Symbol.for("react.provider"), ma = Symbol.for("react.context"), na = Symbol.for("react.forward_ref"), oa = Symbol.for("react.suspense"), pa = Symbol.for("react.suspense_list"), qa = Symbol.for("react.memo"), ra = Symbol.for("react.lazy");
- Symbol.for("react.scope");
- Symbol.for("react.debug_trace_mode");
- var sa = Symbol.for("react.offscreen");
- Symbol.for("react.legacy_hidden");
- Symbol.for("react.cache");
- Symbol.for("react.tracing_marker");
- var ta = Symbol.iterator;
- function ua(a) {
- if (null === a || "object" !== typeof a) return null;
- a = ta && a[ta] || a["@@iterator"];
- return "function" === typeof a ? a : null;
- }
- function va(a) {
- if (null == a) return null;
- if ("function" === typeof a) return a.displayName || a.name || null;
- if ("string" === typeof a) return a;
- switch(a){
- case ia:
- return "Fragment";
- case ha:
- return "Portal";
- case ka:
- return "Profiler";
- case ja:
- return "StrictMode";
- case oa:
- return "Suspense";
- case pa:
- return "SuspenseList";
- }
- if ("object" === typeof a) switch(a.$$typeof){
- case ma:
- return (a.displayName || "Context") + ".Consumer";
- case la:
- return (a._context.displayName || "Context") + ".Provider";
- case na:
- var b = a.render;
- a = a.displayName;
- a || (a = b.displayName || b.name || "", a = "" !== a ? "ForwardRef(" + a + ")" : "ForwardRef");
- return a;
- case qa:
- return b = a.displayName || null, null !== b ? b : va(a.type) || "Memo";
- case ra:
- b = a._payload;
- a = a._init;
- try {
- return va(a(b));
- } catch (c) {}
- }
- return null;
- }
- function xa(a) {
- var b = a.type;
- switch(a.tag){
- case 24:
- return "Cache";
- case 9:
- return (b.displayName || "Context") + ".Consumer";
- case 10:
- return (b._context.displayName || "Context") + ".Provider";
- case 18:
- return "DehydratedFragment";
- case 11:
- return a = b.render, a = a.displayName || a.name || "", b.displayName || ("" !== a ? "ForwardRef(" + a + ")" : "ForwardRef");
- case 7:
- return "Fragment";
- case 5:
- return b;
- case 4:
- return "Portal";
- case 3:
- return "Root";
- case 6:
- return "Text";
- case 16:
- return va(b);
- case 8:
- return b === ja ? "StrictMode" : "Mode";
- case 22:
- return "Offscreen";
- case 12:
- return "Profiler";
- case 21:
- return "Scope";
- case 13:
- return "Suspense";
- case 19:
- return "SuspenseList";
- case 25:
- return "TracingMarker";
- case 1:
- case 0:
- case 17:
- case 2:
- case 14:
- case 15:
- if ("function" === typeof b) return b.displayName || b.name || null;
- if ("string" === typeof b) return b;
- }
- return null;
- }
- function ya(a) {
- var b = a, c = a;
- if (a.alternate) for(; b.return;)b = b.return;
- else {
- a = b;
- do b = a, 0 !== (b.flags & 4098) && (c = b.return), a = b.return;
- while (a)
- }
- return 3 === b.tag ? c : null;
- }
- function za(a) {
- if (ya(a) !== a) throw Error(n(188));
- }
- function Aa(a) {
- var b = a.alternate;
- if (!b) {
- b = ya(a);
- if (null === b) throw Error(n(188));
- return b !== a ? null : a;
- }
- for(var c = a, d = b;;){
- var e = c.return;
- if (null === e) break;
- var f = e.alternate;
- if (null === f) {
- d = e.return;
- if (null !== d) {
- c = d;
- continue;
- }
- break;
- }
- if (e.child === f.child) {
- for(f = e.child; f;){
- if (f === c) return za(e), a;
- if (f === d) return za(e), b;
- f = f.sibling;
- }
- throw Error(n(188));
- }
- if (c.return !== d.return) c = e, d = f;
- else {
- for(var g = false, h = e.child; h;){
- if (h === c) {
- g = true;
- c = e;
- d = f;
- break;
- }
- if (h === d) {
- g = true;
- d = e;
- c = f;
- break;
- }
- h = h.sibling;
- }
- if (!g) {
- for(h = f.child; h;){
- if (h === c) {
- g = true;
- c = f;
- d = e;
- break;
- }
- if (h === d) {
- g = true;
- d = f;
- c = e;
- break;
- }
- h = h.sibling;
- }
- if (!g) throw Error(n(189));
- }
- }
- if (c.alternate !== d) throw Error(n(190));
- }
- if (3 !== c.tag) throw Error(n(188));
- return c.stateNode.current === c ? a : b;
- }
- function Ba(a) {
- a = Aa(a);
- return null !== a ? Ca(a) : null;
- }
- function Ca(a) {
- if (5 === a.tag || 6 === a.tag) return a;
- for(a = a.child; null !== a;){
- var b = Ca(a);
- if (null !== b) return b;
- a = a.sibling;
- }
- return null;
- }
- function Da(a) {
- if (5 === a.tag || 6 === a.tag) return a;
- for(a = a.child; null !== a;){
- if (4 !== a.tag) {
- var b = Da(a);
- if (null !== b) return b;
- }
- a = a.sibling;
- }
- return null;
- }
- var Ea = Array.isArray, Fa = $$$hostConfig.getPublicInstance, Ga = $$$hostConfig.getRootHostContext, Ha = $$$hostConfig.getChildHostContext, Ia = $$$hostConfig.prepareForCommit, Ja = $$$hostConfig.resetAfterCommit, Ka = $$$hostConfig.createInstance, La = $$$hostConfig.appendInitialChild, Ma = $$$hostConfig.finalizeInitialChildren, Na = $$$hostConfig.prepareUpdate, Oa = $$$hostConfig.shouldSetTextContent, Pa = $$$hostConfig.createTextInstance, Qa = $$$hostConfig.scheduleTimeout, Ra = $$$hostConfig.cancelTimeout, Sa = $$$hostConfig.noTimeout, Ta = $$$hostConfig.isPrimaryRenderer, Ua = $$$hostConfig.supportsMutation, Va = $$$hostConfig.supportsPersistence, p = $$$hostConfig.supportsHydration, Wa = $$$hostConfig.getInstanceFromNode, Xa = $$$hostConfig.preparePortalMount, Ya = $$$hostConfig.getCurrentEventPriority, Za = $$$hostConfig.detachDeletedInstance, $a = $$$hostConfig.supportsMicrotasks, ab = $$$hostConfig.scheduleMicrotask, bb = $$$hostConfig.supportsTestSelectors, cb = $$$hostConfig.findFiberRoot, db = $$$hostConfig.getBoundingRect, eb = $$$hostConfig.getTextContent, fb = $$$hostConfig.isHiddenSubtree, gb = $$$hostConfig.matchAccessibilityRole, hb = $$$hostConfig.setFocusIfFocusable, ib = $$$hostConfig.setupIntersectionObserver, jb = $$$hostConfig.appendChild, kb = $$$hostConfig.appendChildToContainer, lb = $$$hostConfig.commitTextUpdate, mb = $$$hostConfig.commitMount, nb = $$$hostConfig.commitUpdate, ob = $$$hostConfig.insertBefore, pb = $$$hostConfig.insertInContainerBefore, qb = $$$hostConfig.removeChild, rb = $$$hostConfig.removeChildFromContainer, sb = $$$hostConfig.resetTextContent, tb = $$$hostConfig.hideInstance, ub = $$$hostConfig.hideTextInstance, vb = $$$hostConfig.unhideInstance, wb = $$$hostConfig.unhideTextInstance, xb = $$$hostConfig.clearContainer, yb = $$$hostConfig.cloneInstance, zb = $$$hostConfig.createContainerChildSet, Ab = $$$hostConfig.appendChildToContainerChildSet, Bb = $$$hostConfig.finalizeContainerChildren, Cb = $$$hostConfig.replaceContainerChildren, Db = $$$hostConfig.cloneHiddenInstance, Eb = $$$hostConfig.cloneHiddenTextInstance, Fb = $$$hostConfig.canHydrateInstance, Gb = $$$hostConfig.canHydrateTextInstance, Hb = $$$hostConfig.canHydrateSuspenseInstance, Ib = $$$hostConfig.isSuspenseInstancePending, Jb = $$$hostConfig.isSuspenseInstanceFallback, Kb = $$$hostConfig.registerSuspenseInstanceRetry, Lb = $$$hostConfig.getNextHydratableSibling, Mb = $$$hostConfig.getFirstHydratableChild, Nb = $$$hostConfig.getFirstHydratableChildWithinContainer, Ob = $$$hostConfig.getFirstHydratableChildWithinSuspenseInstance, Pb = $$$hostConfig.hydrateInstance, Qb = $$$hostConfig.hydrateTextInstance, Rb = $$$hostConfig.hydrateSuspenseInstance, Sb = $$$hostConfig.getNextHydratableInstanceAfterSuspenseInstance, Tb = $$$hostConfig.commitHydratedContainer, Ub = $$$hostConfig.commitHydratedSuspenseInstance, Vb = $$$hostConfig.clearSuspenseBoundary, Wb = $$$hostConfig.clearSuspenseBoundaryFromContainer, Xb = $$$hostConfig.shouldDeleteUnhydratedTailInstances, Yb = $$$hostConfig.didNotMatchHydratedContainerTextInstance, Zb = $$$hostConfig.didNotMatchHydratedTextInstance, $b;
- function ac(a) {
- if (void 0 === $b) try {
- throw Error();
- } catch (c) {
- var b = c.stack.trim().match(/\n( *(at )?)/);
- $b = b && b[1] || "";
- }
- return "\n" + $b + a;
- }
- var bc = false;
- function cc(a, b) {
- if (!a || bc) return "";
- bc = true;
- var c = Error.prepareStackTrace;
- Error.prepareStackTrace = void 0;
- try {
- if (b) if (b = function() {
- throw Error();
- }, Object.defineProperty(b.prototype, "props", {
- set: function() {
- throw Error();
- }
- }), "object" === typeof Reflect && Reflect.construct) {
- try {
- Reflect.construct(b, []);
- } catch (l) {
- var d = l;
- }
- Reflect.construct(a, [], b);
- } else {
- try {
- b.call();
- } catch (l1) {
- d = l1;
- }
- a.call(b.prototype);
- }
- else {
- try {
- throw Error();
- } catch (l2) {
- d = l2;
- }
- a();
- }
- } catch (l3) {
- if (l3 && d && "string" === typeof l3.stack) {
- for(var e = l3.stack.split("\n"), f = d.stack.split("\n"), g = e.length - 1, h = f.length - 1; 1 <= g && 0 <= h && e[g] !== f[h];)h--;
- for(; 1 <= g && 0 <= h; g--, h--)if (e[g] !== f[h]) {
- if (1 !== g || 1 !== h) {
- do if (g--, h--, 0 > h || e[g] !== f[h]) {
- var k = "\n" + e[g].replace(" at new ", " at ");
- a.displayName && k.includes("<anonymous>") && (k = k.replace("<anonymous>", a.displayName));
- return k;
- }
- while (1 <= g && 0 <= h)
- }
- break;
- }
- }
- } finally{
- bc = false, Error.prepareStackTrace = c;
- }
- return (a = a ? a.displayName || a.name : "") ? ac(a) : "";
- }
- var dc = Object.prototype.hasOwnProperty, ec = [], fc = -1;
- function gc(a) {
- return {
- current: a
- };
- }
- function x(a) {
- 0 > fc || (a.current = ec[fc], ec[fc] = null, fc--);
- }
- function y(a, b) {
- fc++;
- ec[fc] = a.current;
- a.current = b;
- }
- var hc = {}, A = gc(hc), B = gc(false), ic = hc;
- function jc(a, b) {
- var c = a.type.contextTypes;
- if (!c) return hc;
- var d = a.stateNode;
- if (d && d.__reactInternalMemoizedUnmaskedChildContext === b) return d.__reactInternalMemoizedMaskedChildContext;
- var e = {}, f;
- for(f in c)e[f] = b[f];
- d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = b, a.__reactInternalMemoizedMaskedChildContext = e);
- return e;
- }
- function C(a) {
- a = a.childContextTypes;
- return null !== a && void 0 !== a;
- }
- function kc() {
- x(B);
- x(A);
- }
- function lc(a, b, c) {
- if (A.current !== hc) throw Error(n(168));
- y(A, b);
- y(B, c);
- }
- function mc(a, b, c) {
- var d = a.stateNode;
- b = b.childContextTypes;
- if ("function" !== typeof d.getChildContext) return c;
- d = d.getChildContext();
- for(var e in d)if (!(e in b)) throw Error(n(108, xa(a) || "Unknown", e));
- return ca({}, c, d);
- }
- function nc(a) {
- a = (a = a.stateNode) && a.__reactInternalMemoizedMergedChildContext || hc;
- ic = A.current;
- y(A, a);
- y(B, B.current);
- return true;
- }
- function oc(a, b, c) {
- var d = a.stateNode;
- if (!d) throw Error(n(169));
- c ? (a = mc(a, b, ic), d.__reactInternalMemoizedMergedChildContext = a, x(B), x(A), y(A, a)) : x(B);
- y(B, c);
- }
- var qc = Math.clz32 ? Math.clz32 : pc, rc = Math.log, sc = Math.LN2;
- function pc(a) {
- a >>>= 0;
- return 0 === a ? 32 : 31 - (rc(a) / sc | 0) | 0;
- }
- var tc = 64, uc = 4194304;
- function vc(a) {
- switch(a & -a){
- case 1:
- return 1;
- case 2:
- return 2;
- case 4:
- return 4;
- case 8:
- return 8;
- case 16:
- return 16;
- case 32:
- return 32;
- case 64:
- case 128:
- case 256:
- case 512:
- case 1024:
- case 2048:
- case 4096:
- case 8192:
- case 16384:
- case 32768:
- case 65536:
- case 131072:
- case 262144:
- case 524288:
- case 1048576:
- case 2097152:
- return a & 4194240;
- case 4194304:
- case 8388608:
- case 16777216:
- case 33554432:
- case 67108864:
- return a & 130023424;
- case 134217728:
- return 134217728;
- case 268435456:
- return 268435456;
- case 536870912:
- return 536870912;
- case 1073741824:
- return 1073741824;
- default:
- return a;
- }
- }
- function wc(a, b) {
- var c = a.pendingLanes;
- if (0 === c) return 0;
- var d = 0, e = a.suspendedLanes, f = a.pingedLanes, g = c & 268435455;
- if (0 !== g) {
- var h = g & ~e;
- 0 !== h ? d = vc(h) : (f &= g, 0 !== f && (d = vc(f)));
- } else g = c & ~e, 0 !== g ? d = vc(g) : 0 !== f && (d = vc(f));
- if (0 === d) return 0;
- if (0 !== b && b !== d && 0 === (b & e) && (e = d & -d, f = b & -b, e >= f || 16 === e && 0 !== (f & 4194240))) return b;
- 0 !== (d & 4) && (d |= c & 16);
- b = a.entangledLanes;
- if (0 !== b) for(a = a.entanglements, b &= d; 0 < b;)c = 31 - qc(b), e = 1 << c, d |= a[c], b &= ~e;
- return d;
- }
- function xc(a, b) {
- switch(a){
- case 1:
- case 2:
- case 4:
- return b + 250;
- case 8:
- case 16:
- case 32:
- case 64:
- case 128:
- case 256:
- case 512:
- case 1024:
- case 2048:
- case 4096:
- case 8192:
- case 16384:
- case 32768:
- case 65536:
- case 131072:
- case 262144:
- case 524288:
- case 1048576:
- case 2097152:
- return b + 5e3;
- case 4194304:
- case 8388608:
- case 16777216:
- case 33554432:
- case 67108864:
- return -1;
- case 134217728:
- case 268435456:
- case 536870912:
- case 1073741824:
- return -1;
- default:
- return -1;
- }
- }
- function yc(a, b) {
- for(var c = a.suspendedLanes, d = a.pingedLanes, e = a.expirationTimes, f = a.pendingLanes; 0 < f;){
- var g = 31 - qc(f), h = 1 << g, k = e[g];
- if (-1 === k) {
- if (0 === (h & c) || 0 !== (h & d)) e[g] = xc(h, b);
- } else k <= b && (a.expiredLanes |= h);
- f &= ~h;
- }
- }
- function zc(a) {
- a = a.pendingLanes & -1073741825;
- return 0 !== a ? a : a & 1073741824 ? 1073741824 : 0;
- }
- function Ac(a) {
- for(var b = [], c = 0; 31 > c; c++)b.push(a);
- return b;
- }
- function Bc(a, b, c) {
- a.pendingLanes |= b;
- 536870912 !== b && (a.suspendedLanes = 0, a.pingedLanes = 0);
- a = a.eventTimes;
- b = 31 - qc(b);
- a[b] = c;
- }
- function Cc(a, b) {
- var c = a.pendingLanes & ~b;
- a.pendingLanes = b;
- a.suspendedLanes = 0;
- a.pingedLanes = 0;
- a.expiredLanes &= b;
- a.mutableReadLanes &= b;
- a.entangledLanes &= b;
- b = a.entanglements;
- var d = a.eventTimes;
- for(a = a.expirationTimes; 0 < c;){
- var e = 31 - qc(c), f = 1 << e;
- b[e] = 0;
- d[e] = -1;
- a[e] = -1;
- c &= ~f;
- }
- }
- function Dc(a, b) {
- var c = a.entangledLanes |= b;
- for(a = a.entanglements; c;){
- var d = 31 - qc(c), e = 1 << d;
- e & b | a[d] & b && (a[d] |= b);
- c &= ~e;
- }
- }
- var D = 0;
- function Ec(a) {
- a &= -a;
- return 1 < a ? 4 < a ? 0 !== (a & 268435455) ? 16 : 536870912 : 4 : 1;
- }
- var Fc = ba.unstable_scheduleCallback, Gc = ba.unstable_cancelCallback, Hc = ba.unstable_shouldYield, Ic = ba.unstable_requestPaint, E = ba.unstable_now, Jc = ba.unstable_ImmediatePriority, Kc = ba.unstable_UserBlockingPriority, Lc = ba.unstable_NormalPriority, Mc = ba.unstable_IdlePriority, Nc = null, Oc = null;
- function Pc(a) {
- if (Oc && "function" === typeof Oc.onCommitFiberRoot) try {
- Oc.onCommitFiberRoot(Nc, a, void 0, 128 === (a.current.flags & 128));
- } catch (b) {}
- }
- function Qc(a, b) {
- return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b;
- }
- var Rc = "function" === typeof Object.is ? Object.is : Qc, Sc = null, Tc = false, Uc = false;
- function Vc(a) {
- null === Sc ? Sc = [
- a
- ] : Sc.push(a);
- }
- function Wc(a) {
- Tc = true;
- Vc(a);
- }
- function Xc() {
- if (!Uc && null !== Sc) {
- Uc = true;
- var a = 0, b = D;
- try {
- var c = Sc;
- for(D = 1; a < c.length; a++){
- var d = c[a];
- do d = d(true);
- while (null !== d)
- }
- Sc = null;
- Tc = false;
- } catch (e) {
- throw null !== Sc && (Sc = Sc.slice(a + 1)), Fc(Jc, Xc), e;
- } finally{
- D = b, Uc = false;
- }
- }
- return null;
- }
- var Yc = ea.ReactCurrentBatchConfig;
- function Zc(a, b) {
- if (Rc(a, b)) return true;
- if ("object" !== typeof a || null === a || "object" !== typeof b || null === b) return false;
- var c = Object.keys(a), d = Object.keys(b);
- if (c.length !== d.length) return false;
- for(d = 0; d < c.length; d++){
- var e = c[d];
- if (!dc.call(b, e) || !Rc(a[e], b[e])) return false;
- }
- return true;
- }
- function $c(a) {
- switch(a.tag){
- case 5:
- return ac(a.type);
- case 16:
- return ac("Lazy");
- case 13:
- return ac("Suspense");
- case 19:
- return ac("SuspenseList");
- case 0:
- case 2:
- case 15:
- return a = cc(a.type, false), a;
- case 11:
- return a = cc(a.type.render, false), a;
- case 1:
- return a = cc(a.type, true), a;
- default:
- return "";
- }
- }
- function ad(a, b) {
- if (a && a.defaultProps) {
- b = ca({}, b);
- a = a.defaultProps;
- for(var c in a)void 0 === b[c] && (b[c] = a[c]);
- return b;
- }
- return b;
- }
- var bd = gc(null), cd = null, dd = null, ed = null;
- function fd() {
- ed = dd = cd = null;
- }
- function gd(a, b, c) {
- Ta ? (y(bd, b._currentValue), b._currentValue = c) : (y(bd, b._currentValue2), b._currentValue2 = c);
- }
- function hd(a) {
- var b = bd.current;
- x(bd);
- Ta ? a._currentValue = b : a._currentValue2 = b;
- }
- function id(a, b, c) {
- for(; null !== a;){
- var d = a.alternate;
- (a.childLanes & b) !== b ? (a.childLanes |= b, null !== d && (d.childLanes |= b)) : null !== d && (d.childLanes & b) !== b && (d.childLanes |= b);
- if (a === c) break;
- a = a.return;
- }
- }
- function jd(a, b) {
- cd = a;
- ed = dd = null;
- a = a.dependencies;
- null !== a && null !== a.firstContext && (0 !== (a.lanes & b) && (kd = true), a.firstContext = null);
- }
- function ld(a) {
- var b = Ta ? a._currentValue : a._currentValue2;
- if (ed !== a) if (a = {
- context: a,
- memoizedValue: b,
- next: null
- }, null === dd) {
- if (null === cd) throw Error(n(308));
- dd = a;
- cd.dependencies = {
- lanes: 0,
- firstContext: a
- };
- } else dd = dd.next = a;
- return b;
- }
- var md = null, nd = false;
- function od(a) {
- a.updateQueue = {
- baseState: a.memoizedState,
- firstBaseUpdate: null,
- lastBaseUpdate: null,
- shared: {
- pending: null,
- interleaved: null,
- lanes: 0
- },
- effects: null
- };
- }
- function pd(a, b) {
- a = a.updateQueue;
- b.updateQueue === a && (b.updateQueue = {
- baseState: a.baseState,
- firstBaseUpdate: a.firstBaseUpdate,
- lastBaseUpdate: a.lastBaseUpdate,
- shared: a.shared,
- effects: a.effects
- });
- }
- function qd(a, b) {
- return {
- eventTime: a,
- lane: b,
- tag: 0,
- payload: null,
- callback: null,
- next: null
- };
- }
- function rd(a, b) {
- var c = a.updateQueue;
- null !== c && (c = c.shared, null !== F && 0 !== (a.mode & 1) && 0 === (G & 2) ? (a = c.interleaved, null === a ? (b.next = b, null === md ? md = [
- c
- ] : md.push(c)) : (b.next = a.next, a.next = b), c.interleaved = b) : (a = c.pending, null === a ? b.next = b : (b.next = a.next, a.next = b), c.pending = b));
- }
- function sd(a, b, c) {
- b = b.updateQueue;
- if (null !== b && (b = b.shared, 0 !== (c & 4194240))) {
- var d = b.lanes;
- d &= a.pendingLanes;
- c |= d;
- b.lanes = c;
- Dc(a, c);
- }
- }
- function td(a, b) {
- var c = a.updateQueue, d = a.alternate;
- if (null !== d && (d = d.updateQueue, c === d)) {
- var e = null, f = null;
- c = c.firstBaseUpdate;
- if (null !== c) {
- do {
- var g = {
- eventTime: c.eventTime,
- lane: c.lane,
- tag: c.tag,
- payload: c.payload,
- callback: c.callback,
- next: null
- };
- null === f ? e = f = g : f = f.next = g;
- c = c.next;
- }while (null !== c)
- null === f ? e = f = b : f = f.next = b;
- } else e = f = b;
- c = {
- baseState: d.baseState,
- firstBaseUpdate: e,
- lastBaseUpdate: f,
- shared: d.shared,
- effects: d.effects
- };
- a.updateQueue = c;
- return;
- }
- a = c.lastBaseUpdate;
- null === a ? c.firstBaseUpdate = b : a.next = b;
- c.lastBaseUpdate = b;
- }
- function ud(a, b, c, d) {
- var e = a.updateQueue;
- nd = false;
- var f = e.firstBaseUpdate, g = e.lastBaseUpdate, h = e.shared.pending;
- if (null !== h) {
- e.shared.pending = null;
- var k = h, l = k.next;
- k.next = null;
- null === g ? f = l : g.next = l;
- g = k;
- var m = a.alternate;
- null !== m && (m = m.updateQueue, h = m.lastBaseUpdate, h !== g && (null === h ? m.firstBaseUpdate = l : h.next = l, m.lastBaseUpdate = k));
- }
- if (null !== f) {
- var v = e.baseState;
- g = 0;
- m = l = k = null;
- h = f;
- do {
- var r = h.lane, z = h.eventTime;
- if ((d & r) === r) {
- null !== m && (m = m.next = {
- eventTime: z,
- lane: 0,
- tag: h.tag,
- payload: h.payload,
- callback: h.callback,
- next: null
- });
- a: {
- var q = a, N = h;
- r = b;
- z = c;
- switch(N.tag){
- case 1:
- q = N.payload;
- if ("function" === typeof q) {
- v = q.call(z, v, r);
- break a;
- }
- v = q;
- break a;
- case 3:
- q.flags = q.flags & -65537 | 128;
- case 0:
- q = N.payload;
- r = "function" === typeof q ? q.call(z, v, r) : q;
- if (null === r || void 0 === r) break a;
- v = ca({}, v, r);
- break a;
- case 2:
- nd = true;
- }
- }
- null !== h.callback && 0 !== h.lane && (a.flags |= 64, r = e.effects, null === r ? e.effects = [
- h
- ] : r.push(h));
- } else z = {
- eventTime: z,
- lane: r,
- tag: h.tag,
- payload: h.payload,
- callback: h.callback,
- next: null
- }, null === m ? (l = m = z, k = v) : m = m.next = z, g |= r;
- h = h.next;
- if (null === h) if (h = e.shared.pending, null === h) break;
- else r = h, h = r.next, r.next = null, e.lastBaseUpdate = r, e.shared.pending = null;
- }while (1)
- null === m && (k = v);
- e.baseState = k;
- e.firstBaseUpdate = l;
- e.lastBaseUpdate = m;
- b = e.shared.interleaved;
- if (null !== b) {
- e = b;
- do g |= e.lane, e = e.next;
- while (e !== b)
- } else null === f && (e.shared.lanes = 0);
- vd |= g;
- a.lanes = g;
- a.memoizedState = v;
- }
- }
- function wd(a, b, c) {
- a = b.effects;
- b.effects = null;
- if (null !== a) for(b = 0; b < a.length; b++){
- var d = a[b], e = d.callback;
- if (null !== e) {
- d.callback = null;
- d = c;
- if ("function" !== typeof e) throw Error(n(191, e));
- e.call(d);
- }
- }
- }
- var xd = new aa.Component().refs;
- function yd(a, b, c, d) {
- b = a.memoizedState;
- c = c(d, b);
- c = null === c || void 0 === c ? b : ca({}, b, c);
- a.memoizedState = c;
- 0 === a.lanes && (a.updateQueue.baseState = c);
- }
- var Bd = {
- isMounted: function(a) {
- return (a = a._reactInternals) ? ya(a) === a : false;
- },
- enqueueSetState: function(a, b, c) {
- a = a._reactInternals;
- var d = H(), e = zd(a), f = qd(d, e);
- f.payload = b;
- void 0 !== c && null !== c && (f.callback = c);
- rd(a, f);
- b = Ad(a, e, d);
- null !== b && sd(b, a, e);
- },
- enqueueReplaceState: function(a, b, c) {
- a = a._reactInternals;
- var d = H(), e = zd(a), f = qd(d, e);
- f.tag = 1;
- f.payload = b;
- void 0 !== c && null !== c && (f.callback = c);
- rd(a, f);
- b = Ad(a, e, d);
- null !== b && sd(b, a, e);
- },
- enqueueForceUpdate: function(a, b) {
- a = a._reactInternals;
- var c = H(), d = zd(a), e = qd(c, d);
- e.tag = 2;
- void 0 !== b && null !== b && (e.callback = b);
- rd(a, e);
- b = Ad(a, d, c);
- null !== b && sd(b, a, d);
- }
- };
- function Cd(a, b, c, d, e, f, g) {
- a = a.stateNode;
- return "function" === typeof a.shouldComponentUpdate ? a.shouldComponentUpdate(d, f, g) : b.prototype && b.prototype.isPureReactComponent ? !Zc(c, d) || !Zc(e, f) : true;
- }
- function Dd(a, b, c) {
- var d = false, e = hc;
- var f = b.contextType;
- "object" === typeof f && null !== f ? f = ld(f) : (e = C(b) ? ic : A.current, d = b.contextTypes, f = (d = null !== d && void 0 !== d) ? jc(a, e) : hc);
- b = new b(c, f);
- a.memoizedState = null !== b.state && void 0 !== b.state ? b.state : null;
- b.updater = Bd;
- a.stateNode = b;
- b._reactInternals = a;
- d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = e, a.__reactInternalMemoizedMaskedChildContext = f);
- return b;
- }
- function Ed(a, b, c, d) {
- a = b.state;
- "function" === typeof b.componentWillReceiveProps && b.componentWillReceiveProps(c, d);
- "function" === typeof b.UNSAFE_componentWillReceiveProps && b.UNSAFE_componentWillReceiveProps(c, d);
- b.state !== a && Bd.enqueueReplaceState(b, b.state, null);
- }
- function Fd(a, b, c, d) {
- var e = a.stateNode;
- e.props = c;
- e.state = a.memoizedState;
- e.refs = xd;
- od(a);
- var f = b.contextType;
- "object" === typeof f && null !== f ? e.context = ld(f) : (f = C(b) ? ic : A.current, e.context = jc(a, f));
- e.state = a.memoizedState;
- f = b.getDerivedStateFromProps;
- "function" === typeof f && (yd(a, b, f, c), e.state = a.memoizedState);
- "function" === typeof b.getDerivedStateFromProps || "function" === typeof e.getSnapshotBeforeUpdate || "function" !== typeof e.UNSAFE_componentWillMount && "function" !== typeof e.componentWillMount || (b = e.state, "function" === typeof e.componentWillMount && e.componentWillMount(), "function" === typeof e.UNSAFE_componentWillMount && e.UNSAFE_componentWillMount(), b !== e.state && Bd.enqueueReplaceState(e, e.state, null), ud(a, c, e, d), e.state = a.memoizedState);
- "function" === typeof e.componentDidMount && (a.flags |= 4194308);
- }
- var Gd = [], Hd = 0, Id = null, Jd = 0, Kd = [], Ld = 0, Md = null, Nd = 1, Od = "";
- function Pd(a, b) {
- Gd[Hd++] = Jd;
- Gd[Hd++] = Id;
- Id = a;
- Jd = b;
- }
- function Qd(a, b, c) {
- Kd[Ld++] = Nd;
- Kd[Ld++] = Od;
- Kd[Ld++] = Md;
- Md = a;
- var d = Nd;
- a = Od;
- var e = 32 - qc(d) - 1;
- d &= ~(1 << e);
- c += 1;
- var f = 32 - qc(b) + e;
- if (30 < f) {
- var g = e - e % 5;
- f = (d & (1 << g) - 1).toString(32);
- d >>= g;
- e -= g;
- Nd = 1 << 32 - qc(b) + e | c << e | d;
- Od = f + a;
- } else Nd = 1 << f | c << e | d, Od = a;
- }
- function Rd(a) {
- null !== a.return && (Pd(a, 1), Qd(a, 1, 0));
- }
- function Sd(a) {
- for(; a === Id;)Id = Gd[--Hd], Gd[Hd] = null, Jd = Gd[--Hd], Gd[Hd] = null;
- for(; a === Md;)Md = Kd[--Ld], Kd[Ld] = null, Od = Kd[--Ld], Kd[Ld] = null, Nd = Kd[--Ld], Kd[Ld] = null;
- }
- var Td = null, Ud = null, I = false, Vd = false, Wd = null;
- function Xd(a, b) {
- var c = Yd(5, null, null, 0);
- c.elementType = "DELETED";
- c.stateNode = b;
- c.return = a;
- b = a.deletions;
- null === b ? (a.deletions = [
- c
- ], a.flags |= 16) : b.push(c);
- }
- function Zd(a, b) {
- switch(a.tag){
- case 5:
- return b = Fb(b, a.type, a.pendingProps), null !== b ? (a.stateNode = b, Td = a, Ud = Mb(b), true) : false;
- case 6:
- return b = Gb(b, a.pendingProps), null !== b ? (a.stateNode = b, Td = a, Ud = null, true) : false;
- case 13:
- b = Hb(b);
- if (null !== b) {
- var c = null !== Md ? {
- id: Nd,
- overflow: Od
- } : null;
- a.memoizedState = {
- dehydrated: b,
- treeContext: c,
- retryLane: 1073741824
- };
- c = Yd(18, null, null, 0);
- c.stateNode = b;
- c.return = a;
- a.child = c;
- Td = a;
- Ud = null;
- return true;
- }
- return false;
- default:
- return false;
- }
- }
- function $d(a) {
- return 0 !== (a.mode & 1) && 0 === (a.flags & 128);
- }
- function ae(a) {
- if (I) {
- var b = Ud;
- if (b) {
- var c = b;
- if (!Zd(a, b)) {
- if ($d(a)) throw Error(n(418));
- b = Lb(c);
- var d = Td;
- b && Zd(a, b) ? Xd(d, c) : (a.flags = a.flags & -4097 | 2, I = false, Td = a);
- }
- } else {
- if ($d(a)) throw Error(n(418));
- a.flags = a.flags & -4097 | 2;
- I = false;
- Td = a;
- }
- }
- }
- function be(a) {
- for(a = a.return; null !== a && 5 !== a.tag && 3 !== a.tag && 13 !== a.tag;)a = a.return;
- Td = a;
- }
- function ce(a) {
- if (!p || a !== Td) return false;
- if (!I) return be(a), I = true, false;
- if (3 !== a.tag && (5 !== a.tag || Xb(a.type) && !Oa(a.type, a.memoizedProps))) {
- var b = Ud;
- if (b) {
- if ($d(a)) {
- for(a = Ud; a;)a = Lb(a);
- throw Error(n(418));
- }
- for(; b;)Xd(a, b), b = Lb(b);
- }
- }
- be(a);
- if (13 === a.tag) {
- if (!p) throw Error(n(316));
- a = a.memoizedState;
- a = null !== a ? a.dehydrated : null;
- if (!a) throw Error(n(317));
- Ud = Sb(a);
- } else Ud = Td ? Lb(a.stateNode) : null;
- return true;
- }
- function de() {
- p && (Ud = Td = null, Vd = I = false);
- }
- function ee(a) {
- null === Wd ? Wd = [
- a
- ] : Wd.push(a);
- }
- function fe(a, b, c) {
- a = c.ref;
- if (null !== a && "function" !== typeof a && "object" !== typeof a) {
- if (c._owner) {
- c = c._owner;
- if (c) {
- if (1 !== c.tag) throw Error(n(309));
- var d = c.stateNode;
- }
- if (!d) throw Error(n(147, a));
- var e = d, f = "" + a;
- if (null !== b && null !== b.ref && "function" === typeof b.ref && b.ref._stringRef === f) return b.ref;
- b = function(a2) {
- var b2 = e.refs;
- b2 === xd && (b2 = e.refs = {});
- null === a2 ? delete b2[f] : b2[f] = a2;
- };
- b._stringRef = f;
- return b;
- }
- if ("string" !== typeof a) throw Error(n(284));
- if (!c._owner) throw Error(n(290, a));
- }
- return a;
- }
- function ge(a, b) {
- a = Object.prototype.toString.call(b);
- throw Error(n(31, "[object Object]" === a ? "object with keys {" + Object.keys(b).join(", ") + "}" : a));
- }
- function he(a) {
- var b = a._init;
- return b(a._payload);
- }
- function ie(a) {
- function b(b2, c2) {
- if (a) {
- var d2 = b2.deletions;
- null === d2 ? (b2.deletions = [
- c2
- ], b2.flags |= 16) : d2.push(c2);
- }
- }
- function c(c2, d2) {
- if (!a) return null;
- for(; null !== d2;)b(c2, d2), d2 = d2.sibling;
- return null;
- }
- function d(a2, b2) {
- for(a2 = /* @__PURE__ */ new Map(); null !== b2;)null !== b2.key ? a2.set(b2.key, b2) : a2.set(b2.index, b2), b2 = b2.sibling;
- return a2;
- }
- function e(a2, b2) {
- a2 = je(a2, b2);
- a2.index = 0;
- a2.sibling = null;
- return a2;
- }
- function f(b2, c2, d2) {
- b2.index = d2;
- if (!a) return b2.flags |= 1048576, c2;
- d2 = b2.alternate;
- if (null !== d2) return d2 = d2.index, d2 < c2 ? (b2.flags |= 2, c2) : d2;
- b2.flags |= 2;
- return c2;
- }
- function g(b2) {
- a && null === b2.alternate && (b2.flags |= 2);
- return b2;
- }
- function h(a2, b2, c2, d2) {
- if (null === b2 || 6 !== b2.tag) return b2 = ke(c2, a2.mode, d2), b2.return = a2, b2;
- b2 = e(b2, c2);
- b2.return = a2;
- return b2;
- }
- function k(a2, b2, c2, d2) {
- var f2 = c2.type;
- if (f2 === ia) return m(a2, b2, c2.props.children, d2, c2.key);
- if (null !== b2 && (b2.elementType === f2 || "object" === typeof f2 && null !== f2 && f2.$$typeof === ra && he(f2) === b2.type)) return d2 = e(b2, c2.props), d2.ref = fe(a2, b2, c2), d2.return = a2, d2;
- d2 = le(c2.type, c2.key, c2.props, null, a2.mode, d2);
- d2.ref = fe(a2, b2, c2);
- d2.return = a2;
- return d2;
- }
- function l(a2, b2, c2, d2) {
- if (null === b2 || 4 !== b2.tag || b2.stateNode.containerInfo !== c2.containerInfo || b2.stateNode.implementation !== c2.implementation) return b2 = me(c2, a2.mode, d2), b2.return = a2, b2;
- b2 = e(b2, c2.children || []);
- b2.return = a2;
- return b2;
- }
- function m(a2, b2, c2, d2, f2) {
- if (null === b2 || 7 !== b2.tag) return b2 = ne(c2, a2.mode, d2, f2), b2.return = a2, b2;
- b2 = e(b2, c2);
- b2.return = a2;
- return b2;
- }
- function v(a2, b2, c2) {
- if ("string" === typeof b2 && "" !== b2 || "number" === typeof b2) return b2 = ke("" + b2, a2.mode, c2), b2.return = a2, b2;
- if ("object" === typeof b2 && null !== b2) {
- switch(b2.$$typeof){
- case fa:
- return c2 = le(b2.type, b2.key, b2.props, null, a2.mode, c2), c2.ref = fe(a2, null, b2), c2.return = a2, c2;
- case ha:
- return b2 = me(b2, a2.mode, c2), b2.return = a2, b2;
- case ra:
- var d2 = b2._init;
- return v(a2, d2(b2._payload), c2);
- }
- if (Ea(b2) || ua(b2)) return b2 = ne(b2, a2.mode, c2, null), b2.return = a2, b2;
- ge(a2, b2);
- }
- return null;
- }
- function r(a2, b2, c2, d2) {
- var e2 = null !== b2 ? b2.key : null;
- if ("string" === typeof c2 && "" !== c2 || "number" === typeof c2) return null !== e2 ? null : h(a2, b2, "" + c2, d2);
- if ("object" === typeof c2 && null !== c2) {
- switch(c2.$$typeof){
- case fa:
- return c2.key === e2 ? k(a2, b2, c2, d2) : null;
- case ha:
- return c2.key === e2 ? l(a2, b2, c2, d2) : null;
- case ra:
- return e2 = c2._init, r(a2, b2, e2(c2._payload), d2);
- }
- if (Ea(c2) || ua(c2)) return null !== e2 ? null : m(a2, b2, c2, d2, null);
- ge(a2, c2);
- }
- return null;
- }
- function z(a2, b2, c2, d2, e2) {
- if ("string" === typeof d2 && "" !== d2 || "number" === typeof d2) return a2 = a2.get(c2) || null, h(b2, a2, "" + d2, e2);
- if ("object" === typeof d2 && null !== d2) {
- switch(d2.$$typeof){
- case fa:
- return a2 = a2.get(null === d2.key ? c2 : d2.key) || null, k(b2, a2, d2, e2);
- case ha:
- return a2 = a2.get(null === d2.key ? c2 : d2.key) || null, l(b2, a2, d2, e2);
- case ra:
- var f2 = d2._init;
- return z(a2, b2, c2, f2(d2._payload), e2);
- }
- if (Ea(d2) || ua(d2)) return a2 = a2.get(c2) || null, m(b2, a2, d2, e2, null);
- ge(b2, d2);
- }
- return null;
- }
- function q(e2, g2, h2, k2) {
- for(var l2 = null, m2 = null, w = g2, u = g2 = 0, t = null; null !== w && u < h2.length; u++){
- w.index > u ? (t = w, w = null) : t = w.sibling;
- var q2 = r(e2, w, h2[u], k2);
- if (null === q2) {
- null === w && (w = t);
- break;
- }
- a && w && null === q2.alternate && b(e2, w);
- g2 = f(q2, g2, u);
- null === m2 ? l2 = q2 : m2.sibling = q2;
- m2 = q2;
- w = t;
- }
- if (u === h2.length) return c(e2, w), I && Pd(e2, u), l2;
- if (null === w) {
- for(; u < h2.length; u++)w = v(e2, h2[u], k2), null !== w && (g2 = f(w, g2, u), null === m2 ? l2 = w : m2.sibling = w, m2 = w);
- I && Pd(e2, u);
- return l2;
- }
- for(w = d(e2, w); u < h2.length; u++)t = z(w, e2, u, h2[u], k2), null !== t && (a && null !== t.alternate && w.delete(null === t.key ? u : t.key), g2 = f(t, g2, u), null === m2 ? l2 = t : m2.sibling = t, m2 = t);
- a && w.forEach(function(a2) {
- return b(e2, a2);
- });
- I && Pd(e2, u);
- return l2;
- }
- function N(e2, g2, h2, k2) {
- var l2 = ua(h2);
- if ("function" !== typeof l2) throw Error(n(150));
- h2 = l2.call(h2);
- if (null == h2) throw Error(n(151));
- for(var w = l2 = null, m2 = g2, u = g2 = 0, q2 = null, t = h2.next(); null !== m2 && !t.done; u++, t = h2.next()){
- m2.index > u ? (q2 = m2, m2 = null) : q2 = m2.sibling;
- var V = r(e2, m2, t.value, k2);
- if (null === V) {
- null === m2 && (m2 = q2);
- break;
- }
- a && m2 && null === V.alternate && b(e2, m2);
- g2 = f(V, g2, u);
- null === w ? l2 = V : w.sibling = V;
- w = V;
- m2 = q2;
- }
- if (t.done) return c(e2, m2), I && Pd(e2, u), l2;
- if (null === m2) {
- for(; !t.done; u++, t = h2.next())t = v(e2, t.value, k2), null !== t && (g2 = f(t, g2, u), null === w ? l2 = t : w.sibling = t, w = t);
- I && Pd(e2, u);
- return l2;
- }
- for(m2 = d(e2, m2); !t.done; u++, t = h2.next())t = z(m2, e2, u, t.value, k2), null !== t && (a && null !== t.alternate && m2.delete(null === t.key ? u : t.key), g2 = f(t, g2, u), null === w ? l2 = t : w.sibling = t, w = t);
- a && m2.forEach(function(a2) {
- return b(e2, a2);
- });
- I && Pd(e2, u);
- return l2;
- }
- function da(a2, d2, f2, h2) {
- "object" === typeof f2 && null !== f2 && f2.type === ia && null === f2.key && (f2 = f2.props.children);
- if ("object" === typeof f2 && null !== f2) {
- switch(f2.$$typeof){
- case fa:
- a: {
- for(var k2 = f2.key, l2 = d2; null !== l2;){
- if (l2.key === k2) {
- k2 = f2.type;
- if (k2 === ia) {
- if (7 === l2.tag) {
- c(a2, l2.sibling);
- d2 = e(l2, f2.props.children);
- d2.return = a2;
- a2 = d2;
- break a;
- }
- } else if (l2.elementType === k2 || "object" === typeof k2 && null !== k2 && k2.$$typeof === ra && he(k2) === l2.type) {
- c(a2, l2.sibling);
- d2 = e(l2, f2.props);
- d2.ref = fe(a2, l2, f2);
- d2.return = a2;
- a2 = d2;
- break a;
- }
- c(a2, l2);
- break;
- } else b(a2, l2);
- l2 = l2.sibling;
- }
- f2.type === ia ? (d2 = ne(f2.props.children, a2.mode, h2, f2.key), d2.return = a2, a2 = d2) : (h2 = le(f2.type, f2.key, f2.props, null, a2.mode, h2), h2.ref = fe(a2, d2, f2), h2.return = a2, a2 = h2);
- }
- return g(a2);
- case ha:
- a: {
- for(l2 = f2.key; null !== d2;){
- if (d2.key === l2) if (4 === d2.tag && d2.stateNode.containerInfo === f2.containerInfo && d2.stateNode.implementation === f2.implementation) {
- c(a2, d2.sibling);
- d2 = e(d2, f2.children || []);
- d2.return = a2;
- a2 = d2;
- break a;
- } else {
- c(a2, d2);
- break;
- }
- else b(a2, d2);
- d2 = d2.sibling;
- }
- d2 = me(f2, a2.mode, h2);
- d2.return = a2;
- a2 = d2;
- }
- return g(a2);
- case ra:
- return l2 = f2._init, da(a2, d2, l2(f2._payload), h2);
- }
- if (Ea(f2)) return q(a2, d2, f2, h2);
- if (ua(f2)) return N(a2, d2, f2, h2);
- ge(a2, f2);
- }
- return "string" === typeof f2 && "" !== f2 || "number" === typeof f2 ? (f2 = "" + f2, null !== d2 && 6 === d2.tag ? (c(a2, d2.sibling), d2 = e(d2, f2), d2.return = a2, a2 = d2) : (c(a2, d2), d2 = ke(f2, a2.mode, h2), d2.return = a2, a2 = d2), g(a2)) : c(a2, d2);
- }
- return da;
- }
- var oe = ie(true), pe = ie(false), qe = {}, re = gc(qe), se = gc(qe), te = gc(qe);
- function ue(a) {
- if (a === qe) throw Error(n(174));
- return a;
- }
- function ve(a, b) {
- y(te, b);
- y(se, a);
- y(re, qe);
- a = Ga(b);
- x(re);
- y(re, a);
- }
- function we() {
- x(re);
- x(se);
- x(te);
- }
- function xe(a) {
- var b = ue(te.current), c = ue(re.current);
- b = Ha(c, a.type, b);
- c !== b && (y(se, a), y(re, b));
- }
- function ye(a) {
- se.current === a && (x(re), x(se));
- }
- var J = gc(0);
- function ze(a) {
- for(var b = a; null !== b;){
- if (13 === b.tag) {
- var c = b.memoizedState;
- if (null !== c && (c = c.dehydrated, null === c || Ib(c) || Jb(c))) return b;
- } else if (19 === b.tag && void 0 !== b.memoizedProps.revealOrder) {
- if (0 !== (b.flags & 128)) return b;
- } else if (null !== b.child) {
- b.child.return = b;
- b = b.child;
- continue;
- }
- if (b === a) break;
- for(; null === b.sibling;){
- if (null === b.return || b.return === a) return null;
- b = b.return;
- }
- b.sibling.return = b.return;
- b = b.sibling;
- }
- return null;
- }
- var Ae = [];
- function Be() {
- for(var a = 0; a < Ae.length; a++){
- var b = Ae[a];
- Ta ? b._workInProgressVersionPrimary = null : b._workInProgressVersionSecondary = null;
- }
- Ae.length = 0;
- }
- var Ce = ea.ReactCurrentDispatcher, De = ea.ReactCurrentBatchConfig, Ee = 0, K = null, L = null, M = null, Fe = false, Ge = false, He = 0, Ie = 0;
- function O() {
- throw Error(n(321));
- }
- function Je(a, b) {
- if (null === b) return false;
- for(var c = 0; c < b.length && c < a.length; c++)if (!Rc(a[c], b[c])) return false;
- return true;
- }
- function Ke(a, b, c, d, e, f) {
- Ee = f;
- K = b;
- b.memoizedState = null;
- b.updateQueue = null;
- b.lanes = 0;
- Ce.current = null === a || null === a.memoizedState ? Le : Me;
- a = c(d, e);
- if (Ge) {
- f = 0;
- do {
- Ge = false;
- He = 0;
- if (25 <= f) throw Error(n(301));
- f += 1;
- M = L = null;
- b.updateQueue = null;
- Ce.current = Ne;
- a = c(d, e);
- }while (Ge)
- }
- Ce.current = Oe;
- b = null !== L && null !== L.next;
- Ee = 0;
- M = L = K = null;
- Fe = false;
- if (b) throw Error(n(300));
- return a;
- }
- function Pe() {
- var a = 0 !== He;
- He = 0;
- return a;
- }
- function Qe() {
- var a = {
- memoizedState: null,
- baseState: null,
- baseQueue: null,
- queue: null,
- next: null
- };
- null === M ? K.memoizedState = M = a : M = M.next = a;
- return M;
- }
- function Re() {
- if (null === L) {
- var a = K.alternate;
- a = null !== a ? a.memoizedState : null;
- } else a = L.next;
- var b = null === M ? K.memoizedState : M.next;
- if (null !== b) M = b, L = a;
- else {
- if (null === a) throw Error(n(310));
- L = a;
- a = {
- memoizedState: L.memoizedState,
- baseState: L.baseState,
- baseQueue: L.baseQueue,
- queue: L.queue,
- next: null
- };
- null === M ? K.memoizedState = M = a : M = M.next = a;
- }
- return M;
- }
- function Se(a, b) {
- return "function" === typeof b ? b(a) : b;
- }
- function Te(a) {
- var b = Re(), c = b.queue;
- if (null === c) throw Error(n(311));
- c.lastRenderedReducer = a;
- var d = L, e = d.baseQueue, f = c.pending;
- if (null !== f) {
- if (null !== e) {
- var g = e.next;
- e.next = f.next;
- f.next = g;
- }
- d.baseQueue = e = f;
- c.pending = null;
- }
- if (null !== e) {
- f = e.next;
- d = d.baseState;
- var h = g = null, k = null, l = f;
- do {
- var m = l.lane;
- if ((Ee & m) === m) null !== k && (k = k.next = {
- lane: 0,
- action: l.action,
- hasEagerState: l.hasEagerState,
- eagerState: l.eagerState,
- next: null
- }), d = l.hasEagerState ? l.eagerState : a(d, l.action);
- else {
- var v = {
- lane: m,
- action: l.action,
- hasEagerState: l.hasEagerState,
- eagerState: l.eagerState,
- next: null
- };
- null === k ? (h = k = v, g = d) : k = k.next = v;
- K.lanes |= m;
- vd |= m;
- }
- l = l.next;
- }while (null !== l && l !== f)
- null === k ? g = d : k.next = h;
- Rc(d, b.memoizedState) || (kd = true);
- b.memoizedState = d;
- b.baseState = g;
- b.baseQueue = k;
- c.lastRenderedState = d;
- }
- a = c.interleaved;
- if (null !== a) {
- e = a;
- do f = e.lane, K.lanes |= f, vd |= f, e = e.next;
- while (e !== a)
- } else null === e && (c.lanes = 0);
- return [
- b.memoizedState,
- c.dispatch
- ];
- }
- function Ue(a) {
- var b = Re(), c = b.queue;
- if (null === c) throw Error(n(311));
- c.lastRenderedReducer = a;
- var d = c.dispatch, e = c.pending, f = b.memoizedState;
- if (null !== e) {
- c.pending = null;
- var g = e = e.next;
- do f = a(f, g.action), g = g.next;
- while (g !== e)
- Rc(f, b.memoizedState) || (kd = true);
- b.memoizedState = f;
- null === b.baseQueue && (b.baseState = f);
- c.lastRenderedState = f;
- }
- return [
- f,
- d
- ];
- }
- function Ve() {}
- function We(a, b) {
- var c = K, d = Re(), e = b(), f = !Rc(d.memoizedState, e);
- f && (d.memoizedState = e, kd = true);
- d = d.queue;
- Xe(Ye.bind(null, c, d, a), [
- a
- ]);
- if (d.getSnapshot !== b || f || null !== M && M.memoizedState.tag & 1) {
- c.flags |= 2048;
- Ze(9, $e.bind(null, c, d, e, b), void 0, null);
- if (null === F) throw Error(n(349));
- 0 !== (Ee & 30) || af(c, b, e);
- }
- return e;
- }
- function af(a, b, c) {
- a.flags |= 16384;
- a = {
- getSnapshot: b,
- value: c
- };
- b = K.updateQueue;
- null === b ? (b = {
- lastEffect: null,
- stores: null
- }, K.updateQueue = b, b.stores = [
- a
- ]) : (c = b.stores, null === c ? b.stores = [
- a
- ] : c.push(a));
- }
- function $e(a, b, c, d) {
- b.value = c;
- b.getSnapshot = d;
- bf(b) && Ad(a, 1, -1);
- }
- function Ye(a, b, c) {
- return c(function() {
- bf(b) && Ad(a, 1, -1);
- });
- }
- function bf(a) {
- var b = a.getSnapshot;
- a = a.value;
- try {
- var c = b();
- return !Rc(a, c);
- } catch (d) {
- return true;
- }
- }
- function cf(a) {
- var b = Qe();
- "function" === typeof a && (a = a());
- b.memoizedState = b.baseState = a;
- a = {
- pending: null,
- interleaved: null,
- lanes: 0,
- dispatch: null,
- lastRenderedReducer: Se,
- lastRenderedState: a
- };
- b.queue = a;
- a = a.dispatch = df.bind(null, K, a);
- return [
- b.memoizedState,
- a
- ];
- }
- function Ze(a, b, c, d) {
- a = {
- tag: a,
- create: b,
- destroy: c,
- deps: d,
- next: null
- };
- b = K.updateQueue;
- null === b ? (b = {
- lastEffect: null,
- stores: null
- }, K.updateQueue = b, b.lastEffect = a.next = a) : (c = b.lastEffect, null === c ? b.lastEffect = a.next = a : (d = c.next, c.next = a, a.next = d, b.lastEffect = a));
- return a;
- }
- function ef() {
- return Re().memoizedState;
- }
- function ff(a, b, c, d) {
- var e = Qe();
- K.flags |= a;
- e.memoizedState = Ze(1 | b, c, void 0, void 0 === d ? null : d);
- }
- function gf(a, b, c, d) {
- var e = Re();
- d = void 0 === d ? null : d;
- var f = void 0;
- if (null !== L) {
- var g = L.memoizedState;
- f = g.destroy;
- if (null !== d && Je(d, g.deps)) {
- e.memoizedState = Ze(b, c, f, d);
- return;
- }
- }
- K.flags |= a;
- e.memoizedState = Ze(1 | b, c, f, d);
- }
- function hf(a, b) {
- return ff(8390656, 8, a, b);
- }
- function Xe(a, b) {
- return gf(2048, 8, a, b);
- }
- function jf(a, b) {
- return gf(4, 2, a, b);
- }
- function kf(a, b) {
- return gf(4, 4, a, b);
- }
- function lf(a, b) {
- if ("function" === typeof b) return a = a(), b(a), function() {
- b(null);
- };
- if (null !== b && void 0 !== b) return a = a(), b.current = a, function() {
- b.current = null;
- };
- }
- function mf(a, b, c) {
- c = null !== c && void 0 !== c ? c.concat([
- a
- ]) : null;
- return gf(4, 4, lf.bind(null, b, a), c);
- }
- function nf() {}
- function of(a, b) {
- var c = Re();
- b = void 0 === b ? null : b;
- var d = c.memoizedState;
- if (null !== d && null !== b && Je(b, d[1])) return d[0];
- c.memoizedState = [
- a,
- b
- ];
- return a;
- }
- function pf(a, b) {
- var c = Re();
- b = void 0 === b ? null : b;
- var d = c.memoizedState;
- if (null !== d && null !== b && Je(b, d[1])) return d[0];
- a = a();
- c.memoizedState = [
- a,
- b
- ];
- return a;
- }
- function qf(a, b) {
- var c = D;
- D = 0 !== c && 4 > c ? c : 4;
- a(true);
- var d = De.transition;
- De.transition = {};
- try {
- a(false), b();
- } finally{
- D = c, De.transition = d;
- }
- }
- function rf() {
- return Re().memoizedState;
- }
- function sf(a, b, c) {
- var d = zd(a);
- c = {
- lane: d,
- action: c,
- hasEagerState: false,
- eagerState: null,
- next: null
- };
- tf(a) ? uf(b, c) : (vf(a, b, c), c = H(), a = Ad(a, d, c), null !== a && wf(a, b, d));
- }
- function df(a, b, c) {
- var d = zd(a), e = {
- lane: d,
- action: c,
- hasEagerState: false,
- eagerState: null,
- next: null
- };
- if (tf(a)) uf(b, e);
- else {
- vf(a, b, e);
- var f = a.alternate;
- if (0 === a.lanes && (null === f || 0 === f.lanes) && (f = b.lastRenderedReducer, null !== f)) try {
- var g = b.lastRenderedState, h = f(g, c);
- e.hasEagerState = true;
- e.eagerState = h;
- if (Rc(h, g)) return;
- } catch (k) {} finally{}
- c = H();
- a = Ad(a, d, c);
- null !== a && wf(a, b, d);
- }
- }
- function tf(a) {
- var b = a.alternate;
- return a === K || null !== b && b === K;
- }
- function uf(a, b) {
- Ge = Fe = true;
- var c = a.pending;
- null === c ? b.next = b : (b.next = c.next, c.next = b);
- a.pending = b;
- }
- function vf(a, b, c) {
- null !== F && 0 !== (a.mode & 1) && 0 === (G & 2) ? (a = b.interleaved, null === a ? (c.next = c, null === md ? md = [
- b
- ] : md.push(b)) : (c.next = a.next, a.next = c), b.interleaved = c) : (a = b.pending, null === a ? c.next = c : (c.next = a.next, a.next = c), b.pending = c);
- }
- function wf(a, b, c) {
- if (0 !== (c & 4194240)) {
- var d = b.lanes;
- d &= a.pendingLanes;
- c |= d;
- b.lanes = c;
- Dc(a, c);
- }
- }
- var Oe = {
- readContext: ld,
- useCallback: O,
- useContext: O,
- useEffect: O,
- useImperativeHandle: O,
- useInsertionEffect: O,
- useLayoutEffect: O,
- useMemo: O,
- useReducer: O,
- useRef: O,
- useState: O,
- useDebugValue: O,
- useDeferredValue: O,
- useTransition: O,
- useMutableSource: O,
- useSyncExternalStore: O,
- useId: O,
- unstable_isNewReconciler: false
- }, Le = {
- readContext: ld,
- useCallback: function(a, b) {
- Qe().memoizedState = [
- a,
- void 0 === b ? null : b
- ];
- return a;
- },
- useContext: ld,
- useEffect: hf,
- useImperativeHandle: function(a, b, c) {
- c = null !== c && void 0 !== c ? c.concat([
- a
- ]) : null;
- return ff(4194308, 4, lf.bind(null, b, a), c);
- },
- useLayoutEffect: function(a, b) {
- return ff(4194308, 4, a, b);
- },
- useInsertionEffect: function(a, b) {
- return ff(4, 2, a, b);
- },
- useMemo: function(a, b) {
- var c = Qe();
- b = void 0 === b ? null : b;
- a = a();
- c.memoizedState = [
- a,
- b
- ];
- return a;
- },
- useReducer: function(a, b, c) {
- var d = Qe();
- b = void 0 !== c ? c(b) : b;
- d.memoizedState = d.baseState = b;
- a = {
- pending: null,
- interleaved: null,
- lanes: 0,
- dispatch: null,
- lastRenderedReducer: a,
- lastRenderedState: b
- };
- d.queue = a;
- a = a.dispatch = sf.bind(null, K, a);
- return [
- d.memoizedState,
- a
- ];
- },
- useRef: function(a) {
- var b = Qe();
- a = {
- current: a
- };
- return b.memoizedState = a;
- },
- useState: cf,
- useDebugValue: nf,
- useDeferredValue: function(a) {
- var b = cf(a), c = b[0], d = b[1];
- hf(function() {
- var b2 = De.transition;
- De.transition = {};
- try {
- d(a);
- } finally{
- De.transition = b2;
- }
- }, [
- a
- ]);
- return c;
- },
- useTransition: function() {
- var a = cf(false), b = a[0];
- a = qf.bind(null, a[1]);
- Qe().memoizedState = a;
- return [
- b,
- a
- ];
- },
- useMutableSource: function() {},
- useSyncExternalStore: function(a, b, c) {
- var d = K, e = Qe();
- if (I) {
- if (void 0 === c) throw Error(n(407));
- c = c();
- } else {
- c = b();
- if (null === F) throw Error(n(349));
- 0 !== (Ee & 30) || af(d, b, c);
- }
- e.memoizedState = c;
- var f = {
- value: c,
- getSnapshot: b
- };
- e.queue = f;
- hf(Ye.bind(null, d, f, a), [
- a
- ]);
- d.flags |= 2048;
- Ze(9, $e.bind(null, d, f, c, b), void 0, null);
- return c;
- },
- useId: function() {
- var a = Qe(), b = F.identifierPrefix;
- if (I) {
- var c = Od;
- var d = Nd;
- c = (d & ~(1 << 32 - qc(d) - 1)).toString(32) + c;
- b = ":" + b + "R" + c;
- c = He++;
- 0 < c && (b += "H" + c.toString(32));
- b += ":";
- } else c = Ie++, b = ":" + b + "r" + c.toString(32) + ":";
- return a.memoizedState = b;
- },
- unstable_isNewReconciler: false
- }, Me = {
- readContext: ld,
- useCallback: of,
- useContext: ld,
- useEffect: Xe,
- useImperativeHandle: mf,
- useInsertionEffect: jf,
- useLayoutEffect: kf,
- useMemo: pf,
- useReducer: Te,
- useRef: ef,
- useState: function() {
- return Te(Se);
- },
- useDebugValue: nf,
- useDeferredValue: function(a) {
- var b = Te(Se), c = b[0], d = b[1];
- Xe(function() {
- var b2 = De.transition;
- De.transition = {};
- try {
- d(a);
- } finally{
- De.transition = b2;
- }
- }, [
- a
- ]);
- return c;
- },
- useTransition: function() {
- var a = Te(Se)[0], b = Re().memoizedState;
- return [
- a,
- b
- ];
- },
- useMutableSource: Ve,
- useSyncExternalStore: We,
- useId: rf,
- unstable_isNewReconciler: false
- }, Ne = {
- readContext: ld,
- useCallback: of,
- useContext: ld,
- useEffect: Xe,
- useImperativeHandle: mf,
- useInsertionEffect: jf,
- useLayoutEffect: kf,
- useMemo: pf,
- useReducer: Ue,
- useRef: ef,
- useState: function() {
- return Ue(Se);
- },
- useDebugValue: nf,
- useDeferredValue: function(a) {
- var b = Ue(Se), c = b[0], d = b[1];
- Xe(function() {
- var b2 = De.transition;
- De.transition = {};
- try {
- d(a);
- } finally{
- De.transition = b2;
- }
- }, [
- a
- ]);
- return c;
- },
- useTransition: function() {
- var a = Ue(Se)[0], b = Re().memoizedState;
- return [
- a,
- b
- ];
- },
- useMutableSource: Ve,
- useSyncExternalStore: We,
- useId: rf,
- unstable_isNewReconciler: false
- };
- function xf(a, b) {
- try {
- var c = "", d = b;
- do c += $c(d), d = d.return;
- while (d)
- var e = c;
- } catch (f) {
- e = "\nError generating stack: " + f.message + "\n" + f.stack;
- }
- return {
- value: a,
- source: b,
- stack: e
- };
- }
- function yf(a, b) {
- try {
- console.error(b.value);
- } catch (c) {
- setTimeout(function() {
- throw c;
- });
- }
- }
- var zf = "function" === typeof WeakMap ? WeakMap : Map;
- function Af(a, b, c) {
- c = qd(-1, c);
- c.tag = 3;
- c.payload = {
- element: null
- };
- var d = b.value;
- c.callback = function() {
- Bf || (Bf = true, Cf = d);
- yf(a, b);
- };
- return c;
- }
- function Df(a, b, c) {
- c = qd(-1, c);
- c.tag = 3;
- var d = a.type.getDerivedStateFromError;
- if ("function" === typeof d) {
- var e = b.value;
- c.payload = function() {
- return d(e);
- };
- c.callback = function() {
- yf(a, b);
- };
- }
- var f = a.stateNode;
- null !== f && "function" === typeof f.componentDidCatch && (c.callback = function() {
- yf(a, b);
- "function" !== typeof d && (null === Ef ? Ef = /* @__PURE__ */ new Set([
- this
- ]) : Ef.add(this));
- var c2 = b.stack;
- this.componentDidCatch(b.value, {
- componentStack: null !== c2 ? c2 : ""
- });
- });
- return c;
- }
- function Ff(a, b, c) {
- var d = a.pingCache;
- if (null === d) {
- d = a.pingCache = new zf();
- var e = /* @__PURE__ */ new Set();
- d.set(b, e);
- } else e = d.get(b), void 0 === e && (e = /* @__PURE__ */ new Set(), d.set(b, e));
- e.has(c) || (e.add(c), a = Gf.bind(null, a, b, c), b.then(a, a));
- }
- function Hf(a) {
- do {
- var b;
- if (b = 13 === a.tag) b = a.memoizedState, b = null !== b ? null !== b.dehydrated ? true : false : true;
- if (b) return a;
- a = a.return;
- }while (null !== a)
- return null;
- }
- function If(a, b, c, d, e) {
- if (0 === (a.mode & 1)) return a === b ? a.flags |= 65536 : (a.flags |= 128, c.flags |= 131072, c.flags &= -52805, 1 === c.tag && (null === c.alternate ? c.tag = 17 : (b = qd(-1, 1), b.tag = 2, rd(c, b))), c.lanes |= 1), a;
- a.flags |= 65536;
- a.lanes = e;
- return a;
- }
- function Jf(a) {
- a.flags |= 4;
- }
- function Kf(a, b) {
- if (null !== a && a.child === b.child) return true;
- if (0 !== (b.flags & 16)) return false;
- for(a = b.child; null !== a;){
- if (0 !== (a.flags & 12854) || 0 !== (a.subtreeFlags & 12854)) return false;
- a = a.sibling;
- }
- return true;
- }
- var Lf, Mf, Nf, Of;
- if (Ua) Lf = function(a, b) {
- for(var c = b.child; null !== c;){
- if (5 === c.tag || 6 === c.tag) La(a, c.stateNode);
- else if (4 !== c.tag && null !== c.child) {
- c.child.return = c;
- c = c.child;
- continue;
- }
- if (c === b) break;
- for(; null === c.sibling;){
- if (null === c.return || c.return === b) return;
- c = c.return;
- }
- c.sibling.return = c.return;
- c = c.sibling;
- }
- }, Mf = function() {}, Nf = function(a, b, c, d, e) {
- a = a.memoizedProps;
- if (a !== d) {
- var f = b.stateNode, g = ue(re.current);
- c = Na(f, c, a, d, e, g);
- (b.updateQueue = c) && Jf(b);
- }
- }, Of = function(a, b, c, d) {
- c !== d && Jf(b);
- };
- else if (Va) {
- Lf = function(a, b, c, d) {
- for(var e = b.child; null !== e;){
- if (5 === e.tag) {
- var f = e.stateNode;
- c && d && (f = Db(f, e.type, e.memoizedProps, e));
- La(a, f);
- } else if (6 === e.tag) f = e.stateNode, c && d && (f = Eb(f, e.memoizedProps, e)), La(a, f);
- else if (4 !== e.tag) {
- if (22 === e.tag && null !== e.memoizedState) f = e.child, null !== f && (f.return = e), Lf(a, e, true, true);
- else if (null !== e.child) {
- e.child.return = e;
- e = e.child;
- continue;
- }
- }
- if (e === b) break;
- for(; null === e.sibling;){
- if (null === e.return || e.return === b) return;
- e = e.return;
- }
- e.sibling.return = e.return;
- e = e.sibling;
- }
- };
- var Pf = function(a, b, c, d) {
- for(var e = b.child; null !== e;){
- if (5 === e.tag) {
- var f = e.stateNode;
- c && d && (f = Db(f, e.type, e.memoizedProps, e));
- Ab(a, f);
- } else if (6 === e.tag) f = e.stateNode, c && d && (f = Eb(f, e.memoizedProps, e)), Ab(a, f);
- else if (4 !== e.tag) {
- if (22 === e.tag && null !== e.memoizedState) f = e.child, null !== f && (f.return = e), Pf(a, e, true, true);
- else if (null !== e.child) {
- e.child.return = e;
- e = e.child;
- continue;
- }
- }
- if (e === b) break;
- for(; null === e.sibling;){
- if (null === e.return || e.return === b) return;
- e = e.return;
- }
- e.sibling.return = e.return;
- e = e.sibling;
- }
- };
- Mf = function(a, b) {
- var c = b.stateNode;
- if (!Kf(a, b)) {
- a = c.containerInfo;
- var d = zb(a);
- Pf(d, b, false, false);
- c.pendingChildren = d;
- Jf(b);
- Bb(a, d);
- }
- };
- Nf = function(a, b, c, d, e) {
- var f = a.stateNode, g = a.memoizedProps;
- if ((a = Kf(a, b)) && g === d) b.stateNode = f;
- else {
- var h = b.stateNode, k = ue(re.current), l = null;
- g !== d && (l = Na(h, c, g, d, e, k));
- a && null === l ? b.stateNode = f : (f = yb(f, l, c, g, d, b, a, h), Ma(f, c, d, e, k) && Jf(b), b.stateNode = f, a ? Jf(b) : Lf(f, b, false, false));
- }
- };
- Of = function(a, b, c, d) {
- c !== d ? (a = ue(te.current), c = ue(re.current), b.stateNode = Pa(d, a, c, b), Jf(b)) : b.stateNode = a.stateNode;
- };
- } else Mf = function() {}, Nf = function() {}, Of = function() {};
- function Qf(a, b) {
- if (!I) switch(a.tailMode){
- case "hidden":
- b = a.tail;
- for(var c = null; null !== b;)null !== b.alternate && (c = b), b = b.sibling;
- null === c ? a.tail = null : c.sibling = null;
- break;
- case "collapsed":
- c = a.tail;
- for(var d = null; null !== c;)null !== c.alternate && (d = c), c = c.sibling;
- null === d ? b || null === a.tail ? a.tail = null : a.tail.sibling = null : d.sibling = null;
- }
- }
- function P(a) {
- var b = null !== a.alternate && a.alternate.child === a.child, c = 0, d = 0;
- if (b) for(var e = a.child; null !== e;)c |= e.lanes | e.childLanes, d |= e.subtreeFlags & 14680064, d |= e.flags & 14680064, e.return = a, e = e.sibling;
- else for(e = a.child; null !== e;)c |= e.lanes | e.childLanes, d |= e.subtreeFlags, d |= e.flags, e.return = a, e = e.sibling;
- a.subtreeFlags |= d;
- a.childLanes = c;
- return b;
- }
- function Rf(a, b, c) {
- var d = b.pendingProps;
- Sd(b);
- switch(b.tag){
- case 2:
- case 16:
- case 15:
- case 0:
- case 11:
- case 7:
- case 8:
- case 12:
- case 9:
- case 14:
- return P(b), null;
- case 1:
- return C(b.type) && kc(), P(b), null;
- case 3:
- d = b.stateNode;
- we();
- x(B);
- x(A);
- Be();
- d.pendingContext && (d.context = d.pendingContext, d.pendingContext = null);
- if (null === a || null === a.child) ce(b) ? Jf(b) : null === a || a.memoizedState.isDehydrated && 0 === (b.flags & 256) || (b.flags |= 1024, null !== Wd && (Sf(Wd), Wd = null));
- Mf(a, b);
- P(b);
- return null;
- case 5:
- ye(b);
- c = ue(te.current);
- var e = b.type;
- if (null !== a && null != b.stateNode) Nf(a, b, e, d, c), a.ref !== b.ref && (b.flags |= 512, b.flags |= 2097152);
- else {
- if (!d) {
- if (null === b.stateNode) throw Error(n(166));
- P(b);
- return null;
- }
- a = ue(re.current);
- if (ce(b)) {
- if (!p) throw Error(n(175));
- a = Pb(b.stateNode, b.type, b.memoizedProps, c, a, b, !Vd);
- b.updateQueue = a;
- null !== a && Jf(b);
- } else {
- var f = Ka(e, d, c, a, b);
- Lf(f, b, false, false);
- b.stateNode = f;
- Ma(f, e, d, c, a) && Jf(b);
- }
- null !== b.ref && (b.flags |= 512, b.flags |= 2097152);
- }
- P(b);
- return null;
- case 6:
- if (a && null != b.stateNode) Of(a, b, a.memoizedProps, d);
- else {
- if ("string" !== typeof d && null === b.stateNode) throw Error(n(166));
- a = ue(te.current);
- c = ue(re.current);
- if (ce(b)) {
- if (!p) throw Error(n(176));
- a = b.stateNode;
- d = b.memoizedProps;
- if (c = Qb(a, d, b, !Vd)) {
- if (e = Td, null !== e) switch(f = 0 !== (e.mode & 1), e.tag){
- case 3:
- Yb(e.stateNode.containerInfo, a, d, f);
- break;
- case 5:
- Zb(e.type, e.memoizedProps, e.stateNode, a, d, f);
- }
- }
- c && Jf(b);
- } else b.stateNode = Pa(d, a, c, b);
- }
- P(b);
- return null;
- case 13:
- x(J);
- d = b.memoizedState;
- if (I && null !== Ud && 0 !== (b.mode & 1) && 0 === (b.flags & 128)) {
- for(a = Ud; a;)a = Lb(a);
- de();
- b.flags |= 98560;
- return b;
- }
- if (null !== d && null !== d.dehydrated) {
- d = ce(b);
- if (null === a) {
- if (!d) throw Error(n(318));
- if (!p) throw Error(n(344));
- a = b.memoizedState;
- a = null !== a ? a.dehydrated : null;
- if (!a) throw Error(n(317));
- Rb(a, b);
- } else de(), 0 === (b.flags & 128) && (b.memoizedState = null), b.flags |= 4;
- P(b);
- return null;
- }
- null !== Wd && (Sf(Wd), Wd = null);
- if (0 !== (b.flags & 128)) return b.lanes = c, b;
- d = null !== d;
- c = false;
- null === a ? ce(b) : c = null !== a.memoizedState;
- d && !c && (b.child.flags |= 8192, 0 !== (b.mode & 1) && (null === a || 0 !== (J.current & 1) ? 0 === Q && (Q = 3) : Tf()));
- null !== b.updateQueue && (b.flags |= 4);
- P(b);
- return null;
- case 4:
- return we(), Mf(a, b), null === a && Xa(b.stateNode.containerInfo), P(b), null;
- case 10:
- return hd(b.type._context), P(b), null;
- case 17:
- return C(b.type) && kc(), P(b), null;
- case 19:
- x(J);
- e = b.memoizedState;
- if (null === e) return P(b), null;
- d = 0 !== (b.flags & 128);
- f = e.rendering;
- if (null === f) if (d) Qf(e, false);
- else {
- if (0 !== Q || null !== a && 0 !== (a.flags & 128)) for(a = b.child; null !== a;){
- f = ze(a);
- if (null !== f) {
- b.flags |= 128;
- Qf(e, false);
- a = f.updateQueue;
- null !== a && (b.updateQueue = a, b.flags |= 4);
- b.subtreeFlags = 0;
- a = c;
- for(d = b.child; null !== d;)c = d, e = a, c.flags &= 14680066, f = c.alternate, null === f ? (c.childLanes = 0, c.lanes = e, c.child = null, c.subtreeFlags = 0, c.memoizedProps = null, c.memoizedState = null, c.updateQueue = null, c.dependencies = null, c.stateNode = null) : (c.childLanes = f.childLanes, c.lanes = f.lanes, c.child = f.child, c.subtreeFlags = 0, c.deletions = null, c.memoizedProps = f.memoizedProps, c.memoizedState = f.memoizedState, c.updateQueue = f.updateQueue, c.type = f.type, e = f.dependencies, c.dependencies = null === e ? null : {
- lanes: e.lanes,
- firstContext: e.firstContext
- }), d = d.sibling;
- y(J, J.current & 1 | 2);
- return b.child;
- }
- a = a.sibling;
- }
- null !== e.tail && E() > Uf && (b.flags |= 128, d = true, Qf(e, false), b.lanes = 4194304);
- }
- else {
- if (!d) if (a = ze(f), null !== a) {
- if (b.flags |= 128, d = true, a = a.updateQueue, null !== a && (b.updateQueue = a, b.flags |= 4), Qf(e, true), null === e.tail && "hidden" === e.tailMode && !f.alternate && !I) return P(b), null;
- } else 2 * E() - e.renderingStartTime > Uf && 1073741824 !== c && (b.flags |= 128, d = true, Qf(e, false), b.lanes = 4194304);
- e.isBackwards ? (f.sibling = b.child, b.child = f) : (a = e.last, null !== a ? a.sibling = f : b.child = f, e.last = f);
- }
- if (null !== e.tail) return b = e.tail, e.rendering = b, e.tail = b.sibling, e.renderingStartTime = E(), b.sibling = null, a = J.current, y(J, d ? a & 1 | 2 : a & 1), b;
- P(b);
- return null;
- case 22:
- case 23:
- return Vf(), d = null !== b.memoizedState, null !== a && null !== a.memoizedState !== d && (b.flags |= 8192), d && 0 !== (b.mode & 1) ? 0 !== (Wf & 1073741824) && (P(b), Ua && b.subtreeFlags & 6 && (b.flags |= 8192)) : P(b), null;
- case 24:
- return null;
- case 25:
- return null;
- }
- throw Error(n(156, b.tag));
- }
- var Xf = ea.ReactCurrentOwner, kd = false;
- function R(a, b, c, d) {
- b.child = null === a ? pe(b, null, c, d) : oe(b, a.child, c, d);
- }
- function Yf(a, b, c, d, e) {
- c = c.render;
- var f = b.ref;
- jd(b, e);
- d = Ke(a, b, c, d, f, e);
- c = Pe();
- if (null !== a && !kd) return b.updateQueue = a.updateQueue, b.flags &= -2053, a.lanes &= ~e, Zf(a, b, e);
- I && c && Rd(b);
- b.flags |= 1;
- R(a, b, d, e);
- return b.child;
- }
- function $f(a, b, c, d, e) {
- if (null === a) {
- var f = c.type;
- if ("function" === typeof f && !ag(f) && void 0 === f.defaultProps && null === c.compare && void 0 === c.defaultProps) return b.tag = 15, b.type = f, bg(a, b, f, d, e);
- a = le(c.type, null, d, b, b.mode, e);
- a.ref = b.ref;
- a.return = b;
- return b.child = a;
- }
- f = a.child;
- if (0 === (a.lanes & e)) {
- var g = f.memoizedProps;
- c = c.compare;
- c = null !== c ? c : Zc;
- if (c(g, d) && a.ref === b.ref) return Zf(a, b, e);
- }
- b.flags |= 1;
- a = je(f, d);
- a.ref = b.ref;
- a.return = b;
- return b.child = a;
- }
- function bg(a, b, c, d, e) {
- if (null !== a && Zc(a.memoizedProps, d) && a.ref === b.ref) if (kd = false, 0 !== (a.lanes & e)) 0 !== (a.flags & 131072) && (kd = true);
- else return b.lanes = a.lanes, Zf(a, b, e);
- return cg(a, b, c, d, e);
- }
- function dg(a, b, c) {
- var d = b.pendingProps, e = d.children, f = null !== a ? a.memoizedState : null;
- if ("hidden" === d.mode) if (0 === (b.mode & 1)) b.memoizedState = {
- baseLanes: 0,
- cachePool: null
- }, y(eg, Wf), Wf |= c;
- else if (0 !== (c & 1073741824)) b.memoizedState = {
- baseLanes: 0,
- cachePool: null
- }, d = null !== f ? f.baseLanes : c, y(eg, Wf), Wf |= d;
- else return a = null !== f ? f.baseLanes | c : c, b.lanes = b.childLanes = 1073741824, b.memoizedState = {
- baseLanes: a,
- cachePool: null
- }, b.updateQueue = null, y(eg, Wf), Wf |= a, null;
- else null !== f ? (d = f.baseLanes | c, b.memoizedState = null) : d = c, y(eg, Wf), Wf |= d;
- R(a, b, e, c);
- return b.child;
- }
- function fg(a, b) {
- var c = b.ref;
- if (null === a && null !== c || null !== a && a.ref !== c) b.flags |= 512, b.flags |= 2097152;
- }
- function cg(a, b, c, d, e) {
- var f = C(c) ? ic : A.current;
- f = jc(b, f);
- jd(b, e);
- c = Ke(a, b, c, d, f, e);
- d = Pe();
- if (null !== a && !kd) return b.updateQueue = a.updateQueue, b.flags &= -2053, a.lanes &= ~e, Zf(a, b, e);
- I && d && Rd(b);
- b.flags |= 1;
- R(a, b, c, e);
- return b.child;
- }
- function gg(a, b, c, d, e) {
- if (C(c)) {
- var f = true;
- nc(b);
- } else f = false;
- jd(b, e);
- if (null === b.stateNode) null !== a && (a.alternate = null, b.alternate = null, b.flags |= 2), Dd(b, c, d), Fd(b, c, d, e), d = true;
- else if (null === a) {
- var g = b.stateNode, h = b.memoizedProps;
- g.props = h;
- var k = g.context, l = c.contextType;
- "object" === typeof l && null !== l ? l = ld(l) : (l = C(c) ? ic : A.current, l = jc(b, l));
- var m = c.getDerivedStateFromProps, v = "function" === typeof m || "function" === typeof g.getSnapshotBeforeUpdate;
- v || "function" !== typeof g.UNSAFE_componentWillReceiveProps && "function" !== typeof g.componentWillReceiveProps || (h !== d || k !== l) && Ed(b, g, d, l);
- nd = false;
- var r = b.memoizedState;
- g.state = r;
- ud(b, d, g, e);
- k = b.memoizedState;
- h !== d || r !== k || B.current || nd ? ("function" === typeof m && (yd(b, c, m, d), k = b.memoizedState), (h = nd || Cd(b, c, h, d, r, k, l)) ? (v || "function" !== typeof g.UNSAFE_componentWillMount && "function" !== typeof g.componentWillMount || ("function" === typeof g.componentWillMount && g.componentWillMount(), "function" === typeof g.UNSAFE_componentWillMount && g.UNSAFE_componentWillMount()), "function" === typeof g.componentDidMount && (b.flags |= 4194308)) : ("function" === typeof g.componentDidMount && (b.flags |= 4194308), b.memoizedProps = d, b.memoizedState = k), g.props = d, g.state = k, g.context = l, d = h) : ("function" === typeof g.componentDidMount && (b.flags |= 4194308), d = false);
- } else {
- g = b.stateNode;
- pd(a, b);
- h = b.memoizedProps;
- l = b.type === b.elementType ? h : ad(b.type, h);
- g.props = l;
- v = b.pendingProps;
- r = g.context;
- k = c.contextType;
- "object" === typeof k && null !== k ? k = ld(k) : (k = C(c) ? ic : A.current, k = jc(b, k));
- var z = c.getDerivedStateFromProps;
- (m = "function" === typeof z || "function" === typeof g.getSnapshotBeforeUpdate) || "function" !== typeof g.UNSAFE_componentWillReceiveProps && "function" !== typeof g.componentWillReceiveProps || (h !== v || r !== k) && Ed(b, g, d, k);
- nd = false;
- r = b.memoizedState;
- g.state = r;
- ud(b, d, g, e);
- var q = b.memoizedState;
- h !== v || r !== q || B.current || nd ? ("function" === typeof z && (yd(b, c, z, d), q = b.memoizedState), (l = nd || Cd(b, c, l, d, r, q, k) || false) ? (m || "function" !== typeof g.UNSAFE_componentWillUpdate && "function" !== typeof g.componentWillUpdate || ("function" === typeof g.componentWillUpdate && g.componentWillUpdate(d, q, k), "function" === typeof g.UNSAFE_componentWillUpdate && g.UNSAFE_componentWillUpdate(d, q, k)), "function" === typeof g.componentDidUpdate && (b.flags |= 4), "function" === typeof g.getSnapshotBeforeUpdate && (b.flags |= 1024)) : ("function" !== typeof g.componentDidUpdate || h === a.memoizedProps && r === a.memoizedState || (b.flags |= 4), "function" !== typeof g.getSnapshotBeforeUpdate || h === a.memoizedProps && r === a.memoizedState || (b.flags |= 1024), b.memoizedProps = d, b.memoizedState = q), g.props = d, g.state = q, g.context = k, d = l) : ("function" !== typeof g.componentDidUpdate || h === a.memoizedProps && r === a.memoizedState || (b.flags |= 4), "function" !== typeof g.getSnapshotBeforeUpdate || h === a.memoizedProps && r === a.memoizedState || (b.flags |= 1024), d = false);
- }
- return hg(a, b, c, d, f, e);
- }
- function hg(a, b, c, d, e, f) {
- fg(a, b);
- var g = 0 !== (b.flags & 128);
- if (!d && !g) return e && oc(b, c, false), Zf(a, b, f);
- d = b.stateNode;
- Xf.current = b;
- var h = g && "function" !== typeof c.getDerivedStateFromError ? null : d.render();
- b.flags |= 1;
- null !== a && g ? (b.child = oe(b, a.child, null, f), b.child = oe(b, null, h, f)) : R(a, b, h, f);
- b.memoizedState = d.state;
- e && oc(b, c, true);
- return b.child;
- }
- function ig(a) {
- var b = a.stateNode;
- b.pendingContext ? lc(a, b.pendingContext, b.pendingContext !== b.context) : b.context && lc(a, b.context, false);
- ve(a, b.containerInfo);
- }
- function jg(a, b, c, d, e) {
- de();
- ee(e);
- b.flags |= 256;
- R(a, b, c, d);
- return b.child;
- }
- var kg = {
- dehydrated: null,
- treeContext: null,
- retryLane: 0
- };
- function lg(a) {
- return {
- baseLanes: a,
- cachePool: null
- };
- }
- function mg(a, b, c) {
- var d = b.pendingProps, e = J.current, f = false, g = 0 !== (b.flags & 128), h;
- (h = g) || (h = null !== a && null === a.memoizedState ? false : 0 !== (e & 2));
- if (h) f = true, b.flags &= -129;
- else if (null === a || null !== a.memoizedState) e |= 1;
- y(J, e & 1);
- if (null === a) {
- ae(b);
- a = b.memoizedState;
- if (null !== a && (a = a.dehydrated, null !== a)) return 0 === (b.mode & 1) ? b.lanes = 1 : Jb(a) ? b.lanes = 8 : b.lanes = 1073741824, null;
- e = d.children;
- a = d.fallback;
- return f ? (d = b.mode, f = b.child, e = {
- mode: "hidden",
- children: e
- }, 0 === (d & 1) && null !== f ? (f.childLanes = 0, f.pendingProps = e) : f = ng(e, d, 0, null), a = ne(a, d, c, null), f.return = b, a.return = b, f.sibling = a, b.child = f, b.child.memoizedState = lg(c), b.memoizedState = kg, a) : og(b, e);
- }
- e = a.memoizedState;
- if (null !== e) {
- h = e.dehydrated;
- if (null !== h) {
- if (g) {
- if (b.flags & 256) return b.flags &= -257, pg(a, b, c, Error(n(422)));
- if (null !== b.memoizedState) return b.child = a.child, b.flags |= 128, null;
- f = d.fallback;
- e = b.mode;
- d = ng({
- mode: "visible",
- children: d.children
- }, e, 0, null);
- f = ne(f, e, c, null);
- f.flags |= 2;
- d.return = b;
- f.return = b;
- d.sibling = f;
- b.child = d;
- 0 !== (b.mode & 1) && oe(b, a.child, null, c);
- b.child.memoizedState = lg(c);
- b.memoizedState = kg;
- return f;
- }
- if (0 === (b.mode & 1)) b = pg(a, b, c, null);
- else if (Jb(h)) b = pg(a, b, c, Error(n(419)));
- else if (d = 0 !== (c & a.childLanes), kd || d) {
- d = F;
- if (null !== d) {
- switch(c & -c){
- case 4:
- f = 2;
- break;
- case 16:
- f = 8;
- break;
- case 64:
- case 128:
- case 256:
- case 512:
- case 1024:
- case 2048:
- case 4096:
- case 8192:
- case 16384:
- case 32768:
- case 65536:
- case 131072:
- case 262144:
- case 524288:
- case 1048576:
- case 2097152:
- case 4194304:
- case 8388608:
- case 16777216:
- case 33554432:
- case 67108864:
- f = 32;
- break;
- case 536870912:
- f = 268435456;
- break;
- default:
- f = 0;
- }
- d = 0 !== (f & (d.suspendedLanes | c)) ? 0 : f;
- 0 !== d && d !== e.retryLane && (e.retryLane = d, Ad(a, d, -1));
- }
- Tf();
- b = pg(a, b, c, Error(n(421)));
- } else Ib(h) ? (b.flags |= 128, b.child = a.child, b = qg.bind(null, a), Kb(h, b), b = null) : (c = e.treeContext, p && (Ud = Ob(h), Td = b, I = true, Wd = null, Vd = false, null !== c && (Kd[Ld++] = Nd, Kd[Ld++] = Od, Kd[Ld++] = Md, Nd = c.id, Od = c.overflow, Md = b)), b = og(b, b.pendingProps.children), b.flags |= 4096);
- return b;
- }
- if (f) return d = rg(a, b, d.children, d.fallback, c), f = b.child, e = a.child.memoizedState, f.memoizedState = null === e ? lg(c) : {
- baseLanes: e.baseLanes | c,
- cachePool: null
- }, f.childLanes = a.childLanes & ~c, b.memoizedState = kg, d;
- c = sg(a, b, d.children, c);
- b.memoizedState = null;
- return c;
- }
- if (f) return d = rg(a, b, d.children, d.fallback, c), f = b.child, e = a.child.memoizedState, f.memoizedState = null === e ? lg(c) : {
- baseLanes: e.baseLanes | c,
- cachePool: null
- }, f.childLanes = a.childLanes & ~c, b.memoizedState = kg, d;
- c = sg(a, b, d.children, c);
- b.memoizedState = null;
- return c;
- }
- function og(a, b) {
- b = ng({
- mode: "visible",
- children: b
- }, a.mode, 0, null);
- b.return = a;
- return a.child = b;
- }
- function sg(a, b, c, d) {
- var e = a.child;
- a = e.sibling;
- c = je(e, {
- mode: "visible",
- children: c
- });
- 0 === (b.mode & 1) && (c.lanes = d);
- c.return = b;
- c.sibling = null;
- null !== a && (d = b.deletions, null === d ? (b.deletions = [
- a
- ], b.flags |= 16) : d.push(a));
- return b.child = c;
- }
- function rg(a, b, c, d, e) {
- var f = b.mode;
- a = a.child;
- var g = a.sibling, h = {
- mode: "hidden",
- children: c
- };
- 0 === (f & 1) && b.child !== a ? (c = b.child, c.childLanes = 0, c.pendingProps = h, b.deletions = null) : (c = je(a, h), c.subtreeFlags = a.subtreeFlags & 14680064);
- null !== g ? d = je(g, d) : (d = ne(d, f, e, null), d.flags |= 2);
- d.return = b;
- c.return = b;
- c.sibling = d;
- b.child = c;
- return d;
- }
- function pg(a, b, c, d) {
- null !== d && ee(d);
- oe(b, a.child, null, c);
- a = og(b, b.pendingProps.children);
- a.flags |= 2;
- b.memoizedState = null;
- return a;
- }
- function tg(a, b, c) {
- a.lanes |= b;
- var d = a.alternate;
- null !== d && (d.lanes |= b);
- id(a.return, b, c);
- }
- function ug(a, b, c, d, e) {
- var f = a.memoizedState;
- null === f ? a.memoizedState = {
- isBackwards: b,
- rendering: null,
- renderingStartTime: 0,
- last: d,
- tail: c,
- tailMode: e
- } : (f.isBackwards = b, f.rendering = null, f.renderingStartTime = 0, f.last = d, f.tail = c, f.tailMode = e);
- }
- function vg(a, b, c) {
- var d = b.pendingProps, e = d.revealOrder, f = d.tail;
- R(a, b, d.children, c);
- d = J.current;
- if (0 !== (d & 2)) d = d & 1 | 2, b.flags |= 128;
- else {
- if (null !== a && 0 !== (a.flags & 128)) a: for(a = b.child; null !== a;){
- if (13 === a.tag) null !== a.memoizedState && tg(a, c, b);
- else if (19 === a.tag) tg(a, c, b);
- else if (null !== a.child) {
- a.child.return = a;
- a = a.child;
- continue;
- }
- if (a === b) break a;
- for(; null === a.sibling;){
- if (null === a.return || a.return === b) break a;
- a = a.return;
- }
- a.sibling.return = a.return;
- a = a.sibling;
- }
- d &= 1;
- }
- y(J, d);
- if (0 === (b.mode & 1)) b.memoizedState = null;
- else switch(e){
- case "forwards":
- c = b.child;
- for(e = null; null !== c;)a = c.alternate, null !== a && null === ze(a) && (e = c), c = c.sibling;
- c = e;
- null === c ? (e = b.child, b.child = null) : (e = c.sibling, c.sibling = null);
- ug(b, false, e, c, f);
- break;
- case "backwards":
- c = null;
- e = b.child;
- for(b.child = null; null !== e;){
- a = e.alternate;
- if (null !== a && null === ze(a)) {
- b.child = e;
- break;
- }
- a = e.sibling;
- e.sibling = c;
- c = e;
- e = a;
- }
- ug(b, true, c, null, f);
- break;
- case "together":
- ug(b, false, null, null, void 0);
- break;
- default:
- b.memoizedState = null;
- }
- return b.child;
- }
- function Zf(a, b, c) {
- null !== a && (b.dependencies = a.dependencies);
- vd |= b.lanes;
- if (0 === (c & b.childLanes)) return null;
- if (null !== a && b.child !== a.child) throw Error(n(153));
- if (null !== b.child) {
- a = b.child;
- c = je(a, a.pendingProps);
- b.child = c;
- for(c.return = b; null !== a.sibling;)a = a.sibling, c = c.sibling = je(a, a.pendingProps), c.return = b;
- c.sibling = null;
- }
- return b.child;
- }
- function wg(a, b, c) {
- switch(b.tag){
- case 3:
- ig(b);
- de();
- break;
- case 5:
- xe(b);
- break;
- case 1:
- C(b.type) && nc(b);
- break;
- case 4:
- ve(b, b.stateNode.containerInfo);
- break;
- case 10:
- gd(b, b.type._context, b.memoizedProps.value);
- break;
- case 13:
- var d = b.memoizedState;
- if (null !== d) {
- if (null !== d.dehydrated) return y(J, J.current & 1), b.flags |= 128, null;
- if (0 !== (c & b.child.childLanes)) return mg(a, b, c);
- y(J, J.current & 1);
- a = Zf(a, b, c);
- return null !== a ? a.sibling : null;
- }
- y(J, J.current & 1);
- break;
- case 19:
- d = 0 !== (c & b.childLanes);
- if (0 !== (a.flags & 128)) {
- if (d) return vg(a, b, c);
- b.flags |= 128;
- }
- var e = b.memoizedState;
- null !== e && (e.rendering = null, e.tail = null, e.lastEffect = null);
- y(J, J.current);
- if (d) break;
- else return null;
- case 22:
- case 23:
- return b.lanes = 0, dg(a, b, c);
- }
- return Zf(a, b, c);
- }
- function xg(a, b) {
- Sd(b);
- switch(b.tag){
- case 1:
- return C(b.type) && kc(), a = b.flags, a & 65536 ? (b.flags = a & -65537 | 128, b) : null;
- case 3:
- return we(), x(B), x(A), Be(), a = b.flags, 0 !== (a & 65536) && 0 === (a & 128) ? (b.flags = a & -65537 | 128, b) : null;
- case 5:
- return ye(b), null;
- case 13:
- x(J);
- a = b.memoizedState;
- if (null !== a && null !== a.dehydrated) {
- if (null === b.alternate) throw Error(n(340));
- de();
- }
- a = b.flags;
- return a & 65536 ? (b.flags = a & -65537 | 128, b) : null;
- case 19:
- return x(J), null;
- case 4:
- return we(), null;
- case 10:
- return hd(b.type._context), null;
- case 22:
- case 23:
- return Vf(), null;
- case 24:
- return null;
- default:
- return null;
- }
- }
- var yg = false, zg = false, Ag = "function" === typeof WeakSet ? WeakSet : Set, S = null;
- function Bg(a, b) {
- var c = a.ref;
- if (null !== c) if ("function" === typeof c) try {
- c(null);
- } catch (d) {
- T(a, b, d);
- }
- else c.current = null;
- }
- function Cg(a, b, c) {
- try {
- c();
- } catch (d) {
- T(a, b, d);
- }
- }
- var Dg = false;
- function Eg(a, b) {
- Ia(a.containerInfo);
- for(S = b; null !== S;)if (a = S, b = a.child, 0 !== (a.subtreeFlags & 1028) && null !== b) b.return = a, S = b;
- else for(; null !== S;){
- a = S;
- try {
- var c = a.alternate;
- if (0 !== (a.flags & 1024)) switch(a.tag){
- case 0:
- case 11:
- case 15:
- break;
- case 1:
- if (null !== c) {
- var d = c.memoizedProps, e = c.memoizedState, f = a.stateNode, g = f.getSnapshotBeforeUpdate(a.elementType === a.type ? d : ad(a.type, d), e);
- f.__reactInternalSnapshotBeforeUpdate = g;
- }
- break;
- case 3:
- Ua && xb(a.stateNode.containerInfo);
- break;
- case 5:
- case 6:
- case 4:
- case 17:
- break;
- default:
- throw Error(n(163));
- }
- } catch (h) {
- T(a, a.return, h);
- }
- b = a.sibling;
- if (null !== b) {
- b.return = a.return;
- S = b;
- break;
- }
- S = a.return;
- }
- c = Dg;
- Dg = false;
- return c;
- }
- function Fg(a, b, c) {
- var d = b.updateQueue;
- d = null !== d ? d.lastEffect : null;
- if (null !== d) {
- var e = d = d.next;
- do {
- if ((e.tag & a) === a) {
- var f = e.destroy;
- e.destroy = void 0;
- void 0 !== f && Cg(b, c, f);
- }
- e = e.next;
- }while (e !== d)
- }
- }
- function Gg(a, b) {
- b = b.updateQueue;
- b = null !== b ? b.lastEffect : null;
- if (null !== b) {
- var c = b = b.next;
- do {
- if ((c.tag & a) === a) {
- var d = c.create;
- c.destroy = d();
- }
- c = c.next;
- }while (c !== b)
- }
- }
- function Hg(a) {
- var b = a.ref;
- if (null !== b) {
- var c = a.stateNode;
- switch(a.tag){
- case 5:
- a = Fa(c);
- break;
- default:
- a = c;
- }
- "function" === typeof b ? b(a) : b.current = a;
- }
- }
- function Ig(a, b, c) {
- if (Oc && "function" === typeof Oc.onCommitFiberUnmount) try {
- Oc.onCommitFiberUnmount(Nc, b);
- } catch (g) {}
- switch(b.tag){
- case 0:
- case 11:
- case 14:
- case 15:
- a = b.updateQueue;
- if (null !== a && (a = a.lastEffect, null !== a)) {
- var d = a = a.next;
- do {
- var e = d, f = e.destroy;
- e = e.tag;
- void 0 !== f && (0 !== (e & 2) ? Cg(b, c, f) : 0 !== (e & 4) && Cg(b, c, f));
- d = d.next;
- }while (d !== a)
- }
- break;
- case 1:
- Bg(b, c);
- a = b.stateNode;
- if ("function" === typeof a.componentWillUnmount) try {
- a.props = b.memoizedProps, a.state = b.memoizedState, a.componentWillUnmount();
- } catch (g1) {
- T(b, c, g1);
- }
- break;
- case 5:
- Bg(b, c);
- break;
- case 4:
- Ua ? Jg(a, b, c) : Va && Va && (b = b.stateNode.containerInfo, c = zb(b), Cb(b, c));
- }
- }
- function Kg(a, b, c) {
- for(var d = b;;)if (Ig(a, d, c), null === d.child || Ua && 4 === d.tag) {
- if (d === b) break;
- for(; null === d.sibling;){
- if (null === d.return || d.return === b) return;
- d = d.return;
- }
- d.sibling.return = d.return;
- d = d.sibling;
- } else d.child.return = d, d = d.child;
- }
- function Lg(a) {
- var b = a.alternate;
- null !== b && (a.alternate = null, Lg(b));
- a.child = null;
- a.deletions = null;
- a.sibling = null;
- 5 === a.tag && (b = a.stateNode, null !== b && Za(b));
- a.stateNode = null;
- a.return = null;
- a.dependencies = null;
- a.memoizedProps = null;
- a.memoizedState = null;
- a.pendingProps = null;
- a.stateNode = null;
- a.updateQueue = null;
- }
- function Mg(a) {
- return 5 === a.tag || 3 === a.tag || 4 === a.tag;
- }
- function Ng(a) {
- a: for(;;){
- for(; null === a.sibling;){
- if (null === a.return || Mg(a.return)) return null;
- a = a.return;
- }
- a.sibling.return = a.return;
- for(a = a.sibling; 5 !== a.tag && 6 !== a.tag && 18 !== a.tag;){
- if (a.flags & 2) continue a;
- if (null === a.child || 4 === a.tag) continue a;
- else a.child.return = a, a = a.child;
- }
- if (!(a.flags & 2)) return a.stateNode;
- }
- }
- function Og(a) {
- if (Ua) {
- a: {
- for(var b = a.return; null !== b;){
- if (Mg(b)) break a;
- b = b.return;
- }
- throw Error(n(160));
- }
- var c = b;
- switch(c.tag){
- case 5:
- b = c.stateNode;
- c.flags & 32 && (sb(b), c.flags &= -33);
- c = Ng(a);
- Pg(a, c, b);
- break;
- case 3:
- case 4:
- b = c.stateNode.containerInfo;
- c = Ng(a);
- Qg(a, c, b);
- break;
- default:
- throw Error(n(161));
- }
- }
- }
- function Qg(a, b, c) {
- var d = a.tag;
- if (5 === d || 6 === d) a = a.stateNode, b ? pb(c, a, b) : kb(c, a);
- else if (4 !== d && (a = a.child, null !== a)) for(Qg(a, b, c), a = a.sibling; null !== a;)Qg(a, b, c), a = a.sibling;
- }
- function Pg(a, b, c) {
- var d = a.tag;
- if (5 === d || 6 === d) a = a.stateNode, b ? ob(c, a, b) : jb(c, a);
- else if (4 !== d && (a = a.child, null !== a)) for(Pg(a, b, c), a = a.sibling; null !== a;)Pg(a, b, c), a = a.sibling;
- }
- function Jg(a, b, c) {
- for(var d = b, e = false, f, g;;){
- if (!e) {
- e = d.return;
- a: for(;;){
- if (null === e) throw Error(n(160));
- f = e.stateNode;
- switch(e.tag){
- case 5:
- g = false;
- break a;
- case 3:
- f = f.containerInfo;
- g = true;
- break a;
- case 4:
- f = f.containerInfo;
- g = true;
- break a;
- }
- e = e.return;
- }
- e = true;
- }
- if (5 === d.tag || 6 === d.tag) Kg(a, d, c), g ? rb(f, d.stateNode) : qb(f, d.stateNode);
- else if (18 === d.tag) g ? Wb(f, d.stateNode) : Vb(f, d.stateNode);
- else if (4 === d.tag) {
- if (null !== d.child) {
- f = d.stateNode.containerInfo;
- g = true;
- d.child.return = d;
- d = d.child;
- continue;
- }
- } else if (Ig(a, d, c), null !== d.child) {
- d.child.return = d;
- d = d.child;
- continue;
- }
- if (d === b) break;
- for(; null === d.sibling;){
- if (null === d.return || d.return === b) return;
- d = d.return;
- 4 === d.tag && (e = false);
- }
- d.sibling.return = d.return;
- d = d.sibling;
- }
- }
- function Rg(a, b) {
- if (Ua) {
- switch(b.tag){
- case 0:
- case 11:
- case 14:
- case 15:
- Fg(3, b, b.return);
- Gg(3, b);
- Fg(5, b, b.return);
- return;
- case 1:
- return;
- case 5:
- var c = b.stateNode;
- if (null != c) {
- var d = b.memoizedProps;
- a = null !== a ? a.memoizedProps : d;
- var e = b.type, f = b.updateQueue;
- b.updateQueue = null;
- null !== f && nb(c, f, e, a, d, b);
- }
- return;
- case 6:
- if (null === b.stateNode) throw Error(n(162));
- c = b.memoizedProps;
- lb(b.stateNode, null !== a ? a.memoizedProps : c, c);
- return;
- case 3:
- p && null !== a && a.memoizedState.isDehydrated && Tb(b.stateNode.containerInfo);
- return;
- case 12:
- return;
- case 13:
- Sg(b);
- return;
- case 19:
- Sg(b);
- return;
- case 17:
- return;
- }
- throw Error(n(163));
- }
- switch(b.tag){
- case 0:
- case 11:
- case 14:
- case 15:
- Fg(3, b, b.return);
- Gg(3, b);
- Fg(5, b, b.return);
- return;
- case 12:
- return;
- case 13:
- Sg(b);
- return;
- case 19:
- Sg(b);
- return;
- case 3:
- p && null !== a && a.memoizedState.isDehydrated && Tb(b.stateNode.containerInfo);
- break;
- case 22:
- case 23:
- return;
- }
- a: if (Va) {
- switch(b.tag){
- case 1:
- case 5:
- case 6:
- break a;
- case 3:
- case 4:
- b = b.stateNode;
- Cb(b.containerInfo, b.pendingChildren);
- break a;
- }
- throw Error(n(163));
- }
- }
- function Sg(a) {
- var b = a.updateQueue;
- if (null !== b) {
- a.updateQueue = null;
- var c = a.stateNode;
- null === c && (c = a.stateNode = new Ag());
- b.forEach(function(b2) {
- var d = Tg.bind(null, a, b2);
- c.has(b2) || (c.add(b2), b2.then(d, d));
- });
- }
- }
- function Ug(a, b) {
- for(S = b; null !== S;){
- b = S;
- var c = b.deletions;
- if (null !== c) for(var d = 0; d < c.length; d++){
- var e = c[d];
- try {
- var f = a;
- Ua ? Jg(f, e, b) : Kg(f, e, b);
- var g = e.alternate;
- null !== g && (g.return = null);
- e.return = null;
- } catch (wa) {
- T(e, b, wa);
- }
- }
- c = b.child;
- if (0 !== (b.subtreeFlags & 12854) && null !== c) c.return = b, S = c;
- else for(; null !== S;){
- b = S;
- try {
- var h = b.flags;
- h & 32 && Ua && sb(b.stateNode);
- if (h & 512) {
- var k = b.alternate;
- if (null !== k) {
- var l = k.ref;
- null !== l && ("function" === typeof l ? l(null) : l.current = null);
- }
- }
- if (h & 8192) switch(b.tag){
- case 13:
- if (null !== b.memoizedState) {
- var m = b.alternate;
- if (null === m || null === m.memoizedState) Vg = E();
- }
- break;
- case 22:
- var v = null !== b.memoizedState, r = b.alternate, z = null !== r && null !== r.memoizedState;
- c = b;
- if (Ua) {
- a: if (d = c, e = v, f = null, Ua) for(var q = d;;){
- if (5 === q.tag) {
- if (null === f) {
- f = q;
- var N = q.stateNode;
- e ? tb(N) : vb(q.stateNode, q.memoizedProps);
- }
- } else if (6 === q.tag) {
- if (null === f) {
- var da = q.stateNode;
- e ? ub(da) : wb(da, q.memoizedProps);
- }
- } else if ((22 !== q.tag && 23 !== q.tag || null === q.memoizedState || q === d) && null !== q.child) {
- q.child.return = q;
- q = q.child;
- continue;
- }
- if (q === d) break;
- for(; null === q.sibling;){
- if (null === q.return || q.return === d) break a;
- f === q && (f = null);
- q = q.return;
- }
- f === q && (f = null);
- q.sibling.return = q.return;
- q = q.sibling;
- }
- }
- if (v && !z && 0 !== (c.mode & 1)) {
- S = c;
- for(var t = c.child; null !== t;){
- for(c = S = t; null !== S;){
- d = S;
- var w = d.child;
- switch(d.tag){
- case 0:
- case 11:
- case 14:
- case 15:
- Fg(4, d, d.return);
- break;
- case 1:
- Bg(d, d.return);
- var u = d.stateNode;
- if ("function" === typeof u.componentWillUnmount) {
- var V = d.return;
- try {
- u.props = d.memoizedProps, u.state = d.memoizedState, u.componentWillUnmount();
- } catch (wa1) {
- T(d, V, wa1);
- }
- }
- break;
- case 5:
- Bg(d, d.return);
- break;
- case 22:
- if (null !== d.memoizedState) {
- Wg(c);
- continue;
- }
- }
- null !== w ? (w.return = d, S = w) : Wg(c);
- }
- t = t.sibling;
- }
- }
- }
- switch(h & 4102){
- case 2:
- Og(b);
- b.flags &= -3;
- break;
- case 6:
- Og(b);
- b.flags &= -3;
- Rg(b.alternate, b);
- break;
- case 4096:
- b.flags &= -4097;
- break;
- case 4100:
- b.flags &= -4097;
- Rg(b.alternate, b);
- break;
- case 4:
- Rg(b.alternate, b);
- }
- } catch (wa2) {
- T(b, b.return, wa2);
- }
- c = b.sibling;
- if (null !== c) {
- c.return = b.return;
- S = c;
- break;
- }
- S = b.return;
- }
- }
- }
- function Xg(a, b, c) {
- S = a;
- Yg(a, b, c);
- }
- function Yg(a, b, c) {
- for(var d = 0 !== (a.mode & 1); null !== S;){
- var e = S, f = e.child;
- if (22 === e.tag && d) {
- var g = null !== e.memoizedState || yg;
- if (!g) {
- var h = e.alternate, k = null !== h && null !== h.memoizedState || zg;
- h = yg;
- var l = zg;
- yg = g;
- if ((zg = k) && !l) for(S = e; null !== S;)g = S, k = g.child, 22 === g.tag && null !== g.memoizedState ? Zg(e) : null !== k ? (k.return = g, S = k) : Zg(e);
- for(; null !== f;)S = f, Yg(f, b, c), f = f.sibling;
- S = e;
- yg = h;
- zg = l;
- }
- $g(a, b, c);
- } else 0 !== (e.subtreeFlags & 8772) && null !== f ? (f.return = e, S = f) : $g(a, b, c);
- }
- }
- function $g(a) {
- for(; null !== S;){
- var b = S;
- if (0 !== (b.flags & 8772)) {
- var c = b.alternate;
- try {
- if (0 !== (b.flags & 8772)) switch(b.tag){
- case 0:
- case 11:
- case 15:
- zg || Gg(5, b);
- break;
- case 1:
- var d = b.stateNode;
- if (b.flags & 4 && !zg) if (null === c) d.componentDidMount();
- else {
- var e = b.elementType === b.type ? c.memoizedProps : ad(b.type, c.memoizedProps);
- d.componentDidUpdate(e, c.memoizedState, d.__reactInternalSnapshotBeforeUpdate);
- }
- var f = b.updateQueue;
- null !== f && wd(b, f, d);
- break;
- case 3:
- var g = b.updateQueue;
- if (null !== g) {
- c = null;
- if (null !== b.child) switch(b.child.tag){
- case 5:
- c = Fa(b.child.stateNode);
- break;
- case 1:
- c = b.child.stateNode;
- }
- wd(b, g, c);
- }
- break;
- case 5:
- var h = b.stateNode;
- null === c && b.flags & 4 && mb(h, b.type, b.memoizedProps, b);
- break;
- case 6:
- break;
- case 4:
- break;
- case 12:
- break;
- case 13:
- if (p && null === b.memoizedState) {
- var k = b.alternate;
- if (null !== k) {
- var l = k.memoizedState;
- if (null !== l) {
- var m = l.dehydrated;
- null !== m && Ub(m);
- }
- }
- }
- break;
- case 19:
- case 17:
- case 21:
- case 22:
- case 23:
- break;
- default:
- throw Error(n(163));
- }
- zg || b.flags & 512 && Hg(b);
- } catch (v) {
- T(b, b.return, v);
- }
- }
- if (b === a) {
- S = null;
- break;
- }
- c = b.sibling;
- if (null !== c) {
- c.return = b.return;
- S = c;
- break;
- }
- S = b.return;
- }
- }
- function Wg(a) {
- for(; null !== S;){
- var b = S;
- if (b === a) {
- S = null;
- break;
- }
- var c = b.sibling;
- if (null !== c) {
- c.return = b.return;
- S = c;
- break;
- }
- S = b.return;
- }
- }
- function Zg(a) {
- for(; null !== S;){
- var b = S;
- try {
- switch(b.tag){
- case 0:
- case 11:
- case 15:
- var c = b.return;
- try {
- Gg(4, b);
- } catch (k) {
- T(b, c, k);
- }
- break;
- case 1:
- var d = b.stateNode;
- if ("function" === typeof d.componentDidMount) {
- var e = b.return;
- try {
- d.componentDidMount();
- } catch (k1) {
- T(b, e, k1);
- }
- }
- var f = b.return;
- try {
- Hg(b);
- } catch (k2) {
- T(b, f, k2);
- }
- break;
- case 5:
- var g = b.return;
- try {
- Hg(b);
- } catch (k3) {
- T(b, g, k3);
- }
- }
- } catch (k4) {
- T(b, b.return, k4);
- }
- if (b === a) {
- S = null;
- break;
- }
- var h = b.sibling;
- if (null !== h) {
- h.return = b.return;
- S = h;
- break;
- }
- S = b.return;
- }
- }
- var ah = 0, bh = 1, ch = 2, dh = 3, eh = 4;
- if ("function" === typeof Symbol && Symbol.for) {
- var fh = Symbol.for;
- ah = fh("selector.component");
- bh = fh("selector.has_pseudo_class");
- ch = fh("selector.role");
- dh = fh("selector.test_id");
- eh = fh("selector.text");
- }
- function gh(a) {
- var b = Wa(a);
- if (null != b) {
- if ("string" !== typeof b.memoizedProps["data-testname"]) throw Error(n(364));
- return b;
- }
- a = cb(a);
- if (null === a) throw Error(n(362));
- return a.stateNode.current;
- }
- function hh(a, b) {
- switch(b.$$typeof){
- case ah:
- if (a.type === b.value) return true;
- break;
- case bh:
- a: {
- b = b.value;
- a = [
- a,
- 0
- ];
- for(var c = 0; c < a.length;){
- var d = a[c++], e = a[c++], f = b[e];
- if (5 !== d.tag || !fb(d)) {
- for(; null != f && hh(d, f);)e++, f = b[e];
- if (e === b.length) {
- b = true;
- break a;
- } else for(d = d.child; null !== d;)a.push(d, e), d = d.sibling;
- }
- }
- b = false;
- }
- return b;
- case ch:
- if (5 === a.tag && gb(a.stateNode, b.value)) return true;
- break;
- case eh:
- if (5 === a.tag || 6 === a.tag) {
- if (a = eb(a), null !== a && 0 <= a.indexOf(b.value)) return true;
- }
- break;
- case dh:
- if (5 === a.tag && (a = a.memoizedProps["data-testname"], "string" === typeof a && a.toLowerCase() === b.value.toLowerCase())) return true;
- break;
- default:
- throw Error(n(365));
- }
- return false;
- }
- function ih(a) {
- switch(a.$$typeof){
- case ah:
- return "<" + (va(a.value) || "Unknown") + ">";
- case bh:
- return ":has(" + (ih(a) || "") + ")";
- case ch:
- return '[role="' + a.value + '"]';
- case eh:
- return '"' + a.value + '"';
- case dh:
- return '[data-testname="' + a.value + '"]';
- default:
- throw Error(n(365));
- }
- }
- function jh(a, b) {
- var c = [];
- a = [
- a,
- 0
- ];
- for(var d = 0; d < a.length;){
- var e = a[d++], f = a[d++], g = b[f];
- if (5 !== e.tag || !fb(e)) {
- for(; null != g && hh(e, g);)f++, g = b[f];
- if (f === b.length) c.push(e);
- else for(e = e.child; null !== e;)a.push(e, f), e = e.sibling;
- }
- }
- return c;
- }
- function kh(a, b) {
- if (!bb) throw Error(n(363));
- a = gh(a);
- a = jh(a, b);
- b = [];
- a = Array.from(a);
- for(var c = 0; c < a.length;){
- var d = a[c++];
- if (5 === d.tag) fb(d) || b.push(d.stateNode);
- else for(d = d.child; null !== d;)a.push(d), d = d.sibling;
- }
- return b;
- }
- var lh = Math.ceil, mh = ea.ReactCurrentDispatcher, nh = ea.ReactCurrentOwner, U = ea.ReactCurrentBatchConfig, G = 0, F = null, W = null, X = 0, Wf = 0, eg = gc(0), Q = 0, oh = null, vd = 0, ph = 0, qh = 0, rh = null, Y = null, Vg = 0, Uf = Infinity;
- function sh() {
- Uf = E() + 500;
- }
- var Bf = false, Cf = null, Ef = null, th = false, uh = null, vh = 0, wh = 0, xh = null, yh = -1, zh = 0;
- function H() {
- return 0 !== (G & 6) ? E() : -1 !== yh ? yh : yh = E();
- }
- function zd(a) {
- if (0 === (a.mode & 1)) return 1;
- if (0 !== (G & 2) && 0 !== X) return X & -X;
- if (null !== Yc.transition) return 0 === zh && (a = tc, tc <<= 1, 0 === (tc & 4194240) && (tc = 64), zh = a), zh;
- a = D;
- return 0 !== a ? a : Ya();
- }
- function Ad(a, b, c) {
- if (50 < wh) throw wh = 0, xh = null, Error(n(185));
- var d = Ah(a, b);
- if (null === d) return null;
- Bc(d, b, c);
- if (0 === (G & 2) || d !== F) d === F && (0 === (G & 2) && (ph |= b), 4 === Q && Bh(d, X)), Z(d, c), 1 === b && 0 === G && 0 === (a.mode & 1) && (sh(), Tc && Xc());
- return d;
- }
- function Ah(a, b) {
- a.lanes |= b;
- var c = a.alternate;
- null !== c && (c.lanes |= b);
- c = a;
- for(a = a.return; null !== a;)a.childLanes |= b, c = a.alternate, null !== c && (c.childLanes |= b), c = a, a = a.return;
- return 3 === c.tag ? c.stateNode : null;
- }
- function Z(a, b) {
- var c = a.callbackNode;
- yc(a, b);
- var d = wc(a, a === F ? X : 0);
- if (0 === d) null !== c && Gc(c), a.callbackNode = null, a.callbackPriority = 0;
- else if (b = d & -d, a.callbackPriority !== b) {
- null != c && Gc(c);
- if (1 === b) 0 === a.tag ? Wc(Ch.bind(null, a)) : Vc(Ch.bind(null, a)), $a ? ab(function() {
- 0 === G && Xc();
- }) : Fc(Jc, Xc), c = null;
- else {
- switch(Ec(d)){
- case 1:
- c = Jc;
- break;
- case 4:
- c = Kc;
- break;
- case 16:
- c = Lc;
- break;
- case 536870912:
- c = Mc;
- break;
- default:
- c = Lc;
- }
- c = Dh(c, Eh.bind(null, a));
- }
- a.callbackPriority = b;
- a.callbackNode = c;
- }
- }
- function Eh(a, b) {
- yh = -1;
- zh = 0;
- if (0 !== (G & 6)) throw Error(n(327));
- var c = a.callbackNode;
- if (Fh() && a.callbackNode !== c) return null;
- var d = wc(a, a === F ? X : 0);
- if (0 === d) return null;
- if (0 !== (d & 30) || 0 !== (d & a.expiredLanes) || b) b = Gh(a, d);
- else {
- b = d;
- var e = G;
- G |= 2;
- var f = Hh();
- if (F !== a || X !== b) sh(), Ih(a, b);
- do try {
- Jh();
- break;
- } catch (h) {
- Kh(a, h);
- }
- while (1)
- fd();
- mh.current = f;
- G = e;
- null !== W ? b = 0 : (F = null, X = 0, b = Q);
- }
- if (0 !== b) {
- 2 === b && (e = zc(a), 0 !== e && (d = e, b = Lh(a, e)));
- if (1 === b) throw c = oh, Ih(a, 0), Bh(a, d), Z(a, E()), c;
- if (6 === b) Bh(a, d);
- else {
- e = a.current.alternate;
- if (0 === (d & 30) && !Mh(e) && (b = Gh(a, d), 2 === b && (f = zc(a), 0 !== f && (d = f, b = Lh(a, f))), 1 === b)) throw c = oh, Ih(a, 0), Bh(a, d), Z(a, E()), c;
- a.finishedWork = e;
- a.finishedLanes = d;
- switch(b){
- case 0:
- case 1:
- throw Error(n(345));
- case 2:
- Nh(a, Y);
- break;
- case 3:
- Bh(a, d);
- if ((d & 130023424) === d && (b = Vg + 500 - E(), 10 < b)) {
- if (0 !== wc(a, 0)) break;
- e = a.suspendedLanes;
- if ((e & d) !== d) {
- H();
- a.pingedLanes |= a.suspendedLanes & e;
- break;
- }
- a.timeoutHandle = Qa(Nh.bind(null, a, Y), b);
- break;
- }
- Nh(a, Y);
- break;
- case 4:
- Bh(a, d);
- if ((d & 4194240) === d) break;
- b = a.eventTimes;
- for(e = -1; 0 < d;){
- var g = 31 - qc(d);
- f = 1 << g;
- g = b[g];
- g > e && (e = g);
- d &= ~f;
- }
- d = e;
- d = E() - d;
- d = (120 > d ? 120 : 480 > d ? 480 : 1080 > d ? 1080 : 1920 > d ? 1920 : 3e3 > d ? 3e3 : 4320 > d ? 4320 : 1960 * lh(d / 1960)) - d;
- if (10 < d) {
- a.timeoutHandle = Qa(Nh.bind(null, a, Y), d);
- break;
- }
- Nh(a, Y);
- break;
- case 5:
- Nh(a, Y);
- break;
- default:
- throw Error(n(329));
- }
- }
- }
- Z(a, E());
- return a.callbackNode === c ? Eh.bind(null, a) : null;
- }
- function Lh(a, b) {
- var c = rh;
- a.current.memoizedState.isDehydrated && (Ih(a, b).flags |= 256);
- a = Gh(a, b);
- 2 !== a && (b = Y, Y = c, null !== b && Sf(b));
- return a;
- }
- function Sf(a) {
- null === Y ? Y = a : Y.push.apply(Y, a);
- }
- function Mh(a) {
- for(var b = a;;){
- if (b.flags & 16384) {
- var c = b.updateQueue;
- if (null !== c && (c = c.stores, null !== c)) for(var d = 0; d < c.length; d++){
- var e = c[d], f = e.getSnapshot;
- e = e.value;
- try {
- if (!Rc(f(), e)) return false;
- } catch (g) {
- return false;
- }
- }
- }
- c = b.child;
- if (b.subtreeFlags & 16384 && null !== c) c.return = b, b = c;
- else {
- if (b === a) break;
- for(; null === b.sibling;){
- if (null === b.return || b.return === a) return true;
- b = b.return;
- }
- b.sibling.return = b.return;
- b = b.sibling;
- }
- }
- return true;
- }
- function Bh(a, b) {
- b &= ~qh;
- b &= ~ph;
- a.suspendedLanes |= b;
- a.pingedLanes &= ~b;
- for(a = a.expirationTimes; 0 < b;){
- var c = 31 - qc(b), d = 1 << c;
- a[c] = -1;
- b &= ~d;
- }
- }
- function Ch(a) {
- if (0 !== (G & 6)) throw Error(n(327));
- Fh();
- var b = wc(a, 0);
- if (0 === (b & 1)) return Z(a, E()), null;
- var c = Gh(a, b);
- if (0 !== a.tag && 2 === c) {
- var d = zc(a);
- 0 !== d && (b = d, c = Lh(a, d));
- }
- if (1 === c) throw c = oh, Ih(a, 0), Bh(a, b), Z(a, E()), c;
- if (6 === c) throw Error(n(345));
- a.finishedWork = a.current.alternate;
- a.finishedLanes = b;
- Nh(a, Y);
- Z(a, E());
- return null;
- }
- function Oh(a) {
- null !== uh && 0 === uh.tag && 0 === (G & 6) && Fh();
- var b = G;
- G |= 1;
- var c = U.transition, d = D;
- try {
- if (U.transition = null, D = 1, a) return a();
- } finally{
- D = d, U.transition = c, G = b, 0 === (G & 6) && Xc();
- }
- }
- function Vf() {
- Wf = eg.current;
- x(eg);
- }
- function Ih(a, b) {
- a.finishedWork = null;
- a.finishedLanes = 0;
- var c = a.timeoutHandle;
- c !== Sa && (a.timeoutHandle = Sa, Ra(c));
- if (null !== W) for(c = W.return; null !== c;){
- var d = c;
- Sd(d);
- switch(d.tag){
- case 1:
- d = d.type.childContextTypes;
- null !== d && void 0 !== d && kc();
- break;
- case 3:
- we();
- x(B);
- x(A);
- Be();
- break;
- case 5:
- ye(d);
- break;
- case 4:
- we();
- break;
- case 13:
- x(J);
- break;
- case 19:
- x(J);
- break;
- case 10:
- hd(d.type._context);
- break;
- case 22:
- case 23:
- Vf();
- }
- c = c.return;
- }
- F = a;
- W = a = je(a.current, null);
- X = Wf = b;
- Q = 0;
- oh = null;
- qh = ph = vd = 0;
- Y = rh = null;
- if (null !== md) {
- for(b = 0; b < md.length; b++)if (c = md[b], d = c.interleaved, null !== d) {
- c.interleaved = null;
- var e = d.next, f = c.pending;
- if (null !== f) {
- var g = f.next;
- f.next = e;
- d.next = g;
- }
- c.pending = d;
- }
- md = null;
- }
- return a;
- }
- function Kh(a, b) {
- do {
- var c = W;
- try {
- fd();
- Ce.current = Oe;
- if (Fe) {
- for(var d = K.memoizedState; null !== d;){
- var e = d.queue;
- null !== e && (e.pending = null);
- d = d.next;
- }
- Fe = false;
- }
- Ee = 0;
- M = L = K = null;
- Ge = false;
- He = 0;
- nh.current = null;
- if (null === c || null === c.return) {
- Q = 1;
- oh = b;
- W = null;
- break;
- }
- a: {
- var f = a, g = c.return, h = c, k = b;
- b = X;
- h.flags |= 32768;
- if (null !== k && "object" === typeof k && "function" === typeof k.then) {
- var l = k, m = h, v = m.tag;
- if (0 === (m.mode & 1) && (0 === v || 11 === v || 15 === v)) {
- var r = m.alternate;
- r ? (m.updateQueue = r.updateQueue, m.memoizedState = r.memoizedState, m.lanes = r.lanes) : (m.updateQueue = null, m.memoizedState = null);
- }
- var z = Hf(g);
- if (null !== z) {
- z.flags &= -257;
- If(z, g, h, f, b);
- z.mode & 1 && Ff(f, l, b);
- b = z;
- k = l;
- var q = b.updateQueue;
- if (null === q) {
- var N = /* @__PURE__ */ new Set();
- N.add(k);
- b.updateQueue = N;
- } else q.add(k);
- break a;
- } else {
- if (0 === (b & 1)) {
- Ff(f, l, b);
- Tf();
- break a;
- }
- k = Error(n(426));
- }
- } else if (I && h.mode & 1) {
- var da = Hf(g);
- if (null !== da) {
- 0 === (da.flags & 65536) && (da.flags |= 256);
- If(da, g, h, f, b);
- ee(k);
- break a;
- }
- }
- f = k;
- 4 !== Q && (Q = 2);
- null === rh ? rh = [
- f
- ] : rh.push(f);
- k = xf(k, h);
- h = g;
- do {
- switch(h.tag){
- case 3:
- h.flags |= 65536;
- b &= -b;
- h.lanes |= b;
- var t = Af(h, k, b);
- td(h, t);
- break a;
- case 1:
- f = k;
- var w = h.type, u = h.stateNode;
- if (0 === (h.flags & 128) && ("function" === typeof w.getDerivedStateFromError || null !== u && "function" === typeof u.componentDidCatch && (null === Ef || !Ef.has(u)))) {
- h.flags |= 65536;
- b &= -b;
- h.lanes |= b;
- var V = Df(h, f, b);
- td(h, V);
- break a;
- }
- }
- h = h.return;
- }while (null !== h)
- }
- Ph(c);
- } catch (wa) {
- b = wa;
- W === c && null !== c && (W = c = c.return);
- continue;
- }
- break;
- }while (1)
- }
- function Hh() {
- var a = mh.current;
- mh.current = Oe;
- return null === a ? Oe : a;
- }
- function Tf() {
- if (0 === Q || 3 === Q || 2 === Q) Q = 4;
- null === F || 0 === (vd & 268435455) && 0 === (ph & 268435455) || Bh(F, X);
- }
- function Gh(a, b) {
- var c = G;
- G |= 2;
- var d = Hh();
- F === a && X === b || Ih(a, b);
- do try {
- Qh();
- break;
- } catch (e) {
- Kh(a, e);
- }
- while (1)
- fd();
- G = c;
- mh.current = d;
- if (null !== W) throw Error(n(261));
- F = null;
- X = 0;
- return Q;
- }
- function Qh() {
- for(; null !== W;)Rh(W);
- }
- function Jh() {
- for(; null !== W && !Hc();)Rh(W);
- }
- function Rh(a) {
- var b = Sh(a.alternate, a, Wf);
- a.memoizedProps = a.pendingProps;
- null === b ? Ph(a) : W = b;
- nh.current = null;
- }
- function Ph(a) {
- var b = a;
- do {
- var c = b.alternate;
- a = b.return;
- if (0 === (b.flags & 32768)) {
- if (c = Rf(c, b, Wf), null !== c) {
- W = c;
- return;
- }
- } else {
- c = xg(c, b);
- if (null !== c) {
- c.flags &= 32767;
- W = c;
- return;
- }
- if (null !== a) a.flags |= 32768, a.subtreeFlags = 0, a.deletions = null;
- else {
- Q = 6;
- W = null;
- return;
- }
- }
- b = b.sibling;
- if (null !== b) {
- W = b;
- return;
- }
- W = b = a;
- }while (null !== b)
- 0 === Q && (Q = 5);
- }
- function Nh(a, b) {
- var c = D, d = U.transition;
- try {
- U.transition = null, D = 1, Th(a, b, c);
- } finally{
- U.transition = d, D = c;
- }
- return null;
- }
- function Th(a, b, c) {
- do Fh();
- while (null !== uh)
- if (0 !== (G & 6)) throw Error(n(327));
- var d = a.finishedWork, e = a.finishedLanes;
- if (null === d) return null;
- a.finishedWork = null;
- a.finishedLanes = 0;
- if (d === a.current) throw Error(n(177));
- a.callbackNode = null;
- a.callbackPriority = 0;
- var f = d.lanes | d.childLanes;
- Cc(a, f);
- a === F && (W = F = null, X = 0);
- 0 === (d.subtreeFlags & 2064) && 0 === (d.flags & 2064) || th || (th = true, Dh(Lc, function() {
- Fh();
- return null;
- }));
- f = 0 !== (d.flags & 15990);
- if (0 !== (d.subtreeFlags & 15990) || f) {
- f = U.transition;
- U.transition = null;
- var g = D;
- D = 1;
- var h = G;
- G |= 4;
- nh.current = null;
- Eg(a, d);
- Ug(a, d, e);
- Ja(a.containerInfo);
- a.current = d;
- Xg(d, a, e);
- Ic();
- G = h;
- D = g;
- U.transition = f;
- } else a.current = d;
- th && (th = false, uh = a, vh = e);
- f = a.pendingLanes;
- 0 === f && (Ef = null);
- Pc(d.stateNode, c);
- Z(a, E());
- if (null !== b) for(c = a.onRecoverableError, d = 0; d < b.length; d++)c(b[d]);
- if (Bf) throw Bf = false, a = Cf, Cf = null, a;
- 0 !== (vh & 1) && 0 !== a.tag && Fh();
- f = a.pendingLanes;
- 0 !== (f & 1) ? a === xh ? wh++ : (wh = 0, xh = a) : wh = 0;
- Xc();
- return null;
- }
- function Fh() {
- if (null !== uh) {
- var a = Ec(vh), b = U.transition, c = D;
- try {
- U.transition = null;
- D = 16 > a ? 16 : a;
- if (null === uh) var d = false;
- else {
- a = uh;
- uh = null;
- vh = 0;
- if (0 !== (G & 6)) throw Error(n(331));
- var e = G;
- G |= 4;
- for(S = a.current; null !== S;){
- var f = S, g = f.child;
- if (0 !== (S.flags & 16)) {
- var h = f.deletions;
- if (null !== h) {
- for(var k = 0; k < h.length; k++){
- var l = h[k];
- for(S = l; null !== S;){
- var m = S;
- switch(m.tag){
- case 0:
- case 11:
- case 15:
- Fg(8, m, f);
- }
- var v = m.child;
- if (null !== v) v.return = m, S = v;
- else for(; null !== S;){
- m = S;
- var r = m.sibling, z = m.return;
- Lg(m);
- if (m === l) {
- S = null;
- break;
- }
- if (null !== r) {
- r.return = z;
- S = r;
- break;
- }
- S = z;
- }
- }
- }
- var q = f.alternate;
- if (null !== q) {
- var N = q.child;
- if (null !== N) {
- q.child = null;
- do {
- var da = N.sibling;
- N.sibling = null;
- N = da;
- }while (null !== N)
- }
- }
- S = f;
- }
- }
- if (0 !== (f.subtreeFlags & 2064) && null !== g) g.return = f, S = g;
- else b: for(; null !== S;){
- f = S;
- if (0 !== (f.flags & 2048)) switch(f.tag){
- case 0:
- case 11:
- case 15:
- Fg(9, f, f.return);
- }
- var t = f.sibling;
- if (null !== t) {
- t.return = f.return;
- S = t;
- break b;
- }
- S = f.return;
- }
- }
- var w = a.current;
- for(S = w; null !== S;){
- g = S;
- var u = g.child;
- if (0 !== (g.subtreeFlags & 2064) && null !== u) u.return = g, S = u;
- else b: for(g = w; null !== S;){
- h = S;
- if (0 !== (h.flags & 2048)) try {
- switch(h.tag){
- case 0:
- case 11:
- case 15:
- Gg(9, h);
- }
- } catch (wa) {
- T(h, h.return, wa);
- }
- if (h === g) {
- S = null;
- break b;
- }
- var V = h.sibling;
- if (null !== V) {
- V.return = h.return;
- S = V;
- break b;
- }
- S = h.return;
- }
- }
- G = e;
- Xc();
- if (Oc && "function" === typeof Oc.onPostCommitFiberRoot) try {
- Oc.onPostCommitFiberRoot(Nc, a);
- } catch (wa1) {}
- d = true;
- }
- return d;
- } finally{
- D = c, U.transition = b;
- }
- }
- return false;
- }
- function Uh(a, b, c) {
- b = xf(c, b);
- b = Af(a, b, 1);
- rd(a, b);
- b = H();
- a = Ah(a, 1);
- null !== a && (Bc(a, 1, b), Z(a, b));
- }
- function T(a, b, c) {
- if (3 === a.tag) Uh(a, a, c);
- else for(; null !== b;){
- if (3 === b.tag) {
- Uh(b, a, c);
- break;
- } else if (1 === b.tag) {
- var d = b.stateNode;
- if ("function" === typeof b.type.getDerivedStateFromError || "function" === typeof d.componentDidCatch && (null === Ef || !Ef.has(d))) {
- a = xf(c, a);
- a = Df(b, a, 1);
- rd(b, a);
- a = H();
- b = Ah(b, 1);
- null !== b && (Bc(b, 1, a), Z(b, a));
- break;
- }
- }
- b = b.return;
- }
- }
- function Gf(a, b, c) {
- var d = a.pingCache;
- null !== d && d.delete(b);
- b = H();
- a.pingedLanes |= a.suspendedLanes & c;
- F === a && (X & c) === c && (4 === Q || 3 === Q && (X & 130023424) === X && 500 > E() - Vg ? Ih(a, 0) : qh |= c);
- Z(a, b);
- }
- function Vh(a, b) {
- 0 === b && (0 === (a.mode & 1) ? b = 1 : (b = uc, uc <<= 1, 0 === (uc & 130023424) && (uc = 4194304)));
- var c = H();
- a = Ah(a, b);
- null !== a && (Bc(a, b, c), Z(a, c));
- }
- function qg(a) {
- var b = a.memoizedState, c = 0;
- null !== b && (c = b.retryLane);
- Vh(a, c);
- }
- function Tg(a, b) {
- var c = 0;
- switch(a.tag){
- case 13:
- var d = a.stateNode;
- var e = a.memoizedState;
- null !== e && (c = e.retryLane);
- break;
- case 19:
- d = a.stateNode;
- break;
- default:
- throw Error(n(314));
- }
- null !== d && d.delete(b);
- Vh(a, c);
- }
- var Sh;
- Sh = function(a, b, c) {
- if (null !== a) if (a.memoizedProps !== b.pendingProps || B.current) kd = true;
- else {
- if (0 === (a.lanes & c) && 0 === (b.flags & 128)) return kd = false, wg(a, b, c);
- kd = 0 !== (a.flags & 131072) ? true : false;
- }
- else kd = false, I && 0 !== (b.flags & 1048576) && Qd(b, Jd, b.index);
- b.lanes = 0;
- switch(b.tag){
- case 2:
- var d = b.type;
- null !== a && (a.alternate = null, b.alternate = null, b.flags |= 2);
- a = b.pendingProps;
- var e = jc(b, A.current);
- jd(b, c);
- e = Ke(null, b, d, a, e, c);
- var f = Pe();
- b.flags |= 1;
- "object" === typeof e && null !== e && "function" === typeof e.render && void 0 === e.$$typeof ? (b.tag = 1, b.memoizedState = null, b.updateQueue = null, C(d) ? (f = true, nc(b)) : f = false, b.memoizedState = null !== e.state && void 0 !== e.state ? e.state : null, od(b), e.updater = Bd, b.stateNode = e, e._reactInternals = b, Fd(b, d, a, c), b = hg(null, b, d, true, f, c)) : (b.tag = 0, I && f && Rd(b), R(null, b, e, c), b = b.child);
- return b;
- case 16:
- d = b.elementType;
- a: {
- null !== a && (a.alternate = null, b.alternate = null, b.flags |= 2);
- a = b.pendingProps;
- e = d._init;
- d = e(d._payload);
- b.type = d;
- e = b.tag = Wh(d);
- a = ad(d, a);
- switch(e){
- case 0:
- b = cg(null, b, d, a, c);
- break a;
- case 1:
- b = gg(null, b, d, a, c);
- break a;
- case 11:
- b = Yf(null, b, d, a, c);
- break a;
- case 14:
- b = $f(null, b, d, ad(d.type, a), c);
- break a;
- }
- throw Error(n(306, d, ""));
- }
- return b;
- case 0:
- return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : ad(d, e), cg(a, b, d, e, c);
- case 1:
- return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : ad(d, e), gg(a, b, d, e, c);
- case 3:
- a: {
- ig(b);
- if (null === a) throw Error(n(387));
- d = b.pendingProps;
- f = b.memoizedState;
- e = f.element;
- pd(a, b);
- ud(b, d, null, c);
- var g = b.memoizedState;
- d = g.element;
- if (p && f.isDehydrated) if (f = {
- element: d,
- isDehydrated: false,
- cache: g.cache,
- transitions: g.transitions
- }, b.updateQueue.baseState = f, b.memoizedState = f, b.flags & 256) {
- e = Error(n(423));
- b = jg(a, b, d, c, e);
- break a;
- } else if (d !== e) {
- e = Error(n(424));
- b = jg(a, b, d, c, e);
- break a;
- } else for(p && (Ud = Nb(b.stateNode.containerInfo), Td = b, I = true, Wd = null, Vd = false), c = pe(b, null, d, c), b.child = c; c;)c.flags = c.flags & -3 | 4096, c = c.sibling;
- else {
- de();
- if (d === e) {
- b = Zf(a, b, c);
- break a;
- }
- R(a, b, d, c);
- }
- b = b.child;
- }
- return b;
- case 5:
- return xe(b), null === a && ae(b), d = b.type, e = b.pendingProps, f = null !== a ? a.memoizedProps : null, g = e.children, Oa(d, e) ? g = null : null !== f && Oa(d, f) && (b.flags |= 32), fg(a, b), R(a, b, g, c), b.child;
- case 6:
- return null === a && ae(b), null;
- case 13:
- return mg(a, b, c);
- case 4:
- return ve(b, b.stateNode.containerInfo), d = b.pendingProps, null === a ? b.child = oe(b, null, d, c) : R(a, b, d, c), b.child;
- case 11:
- return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : ad(d, e), Yf(a, b, d, e, c);
- case 7:
- return R(a, b, b.pendingProps, c), b.child;
- case 8:
- return R(a, b, b.pendingProps.children, c), b.child;
- case 12:
- return R(a, b, b.pendingProps.children, c), b.child;
- case 10:
- a: {
- d = b.type._context;
- e = b.pendingProps;
- f = b.memoizedProps;
- g = e.value;
- gd(b, d, g);
- if (null !== f) if (Rc(f.value, g)) {
- if (f.children === e.children && !B.current) {
- b = Zf(a, b, c);
- break a;
- }
- } else for(f = b.child, null !== f && (f.return = b); null !== f;){
- var h = f.dependencies;
- if (null !== h) {
- g = f.child;
- for(var k = h.firstContext; null !== k;){
- if (k.context === d) {
- if (1 === f.tag) {
- k = qd(-1, c & -c);
- k.tag = 2;
- var l = f.updateQueue;
- if (null !== l) {
- l = l.shared;
- var m = l.pending;
- null === m ? k.next = k : (k.next = m.next, m.next = k);
- l.pending = k;
- }
- }
- f.lanes |= c;
- k = f.alternate;
- null !== k && (k.lanes |= c);
- id(f.return, c, b);
- h.lanes |= c;
- break;
- }
- k = k.next;
- }
- } else if (10 === f.tag) g = f.type === b.type ? null : f.child;
- else if (18 === f.tag) {
- g = f.return;
- if (null === g) throw Error(n(341));
- g.lanes |= c;
- h = g.alternate;
- null !== h && (h.lanes |= c);
- id(g, c, b);
- g = f.sibling;
- } else g = f.child;
- if (null !== g) g.return = f;
- else for(g = f; null !== g;){
- if (g === b) {
- g = null;
- break;
- }
- f = g.sibling;
- if (null !== f) {
- f.return = g.return;
- g = f;
- break;
- }
- g = g.return;
- }
- f = g;
- }
- R(a, b, e.children, c);
- b = b.child;
- }
- return b;
- case 9:
- return e = b.type, d = b.pendingProps.children, jd(b, c), e = ld(e), d = d(e), b.flags |= 1, R(a, b, d, c), b.child;
- case 14:
- return d = b.type, e = ad(d, b.pendingProps), e = ad(d.type, e), $f(a, b, d, e, c);
- case 15:
- return bg(a, b, b.type, b.pendingProps, c);
- case 17:
- return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : ad(d, e), null !== a && (a.alternate = null, b.alternate = null, b.flags |= 2), b.tag = 1, C(d) ? (a = true, nc(b)) : a = false, jd(b, c), Dd(b, d, e), Fd(b, d, e, c), hg(null, b, d, true, a, c);
- case 19:
- return vg(a, b, c);
- case 22:
- return dg(a, b, c);
- }
- throw Error(n(156, b.tag));
- };
- function Dh(a, b) {
- return Fc(a, b);
- }
- function Xh(a, b, c, d) {
- this.tag = a;
- this.key = c;
- this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null;
- this.index = 0;
- this.ref = null;
- this.pendingProps = b;
- this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null;
- this.mode = d;
- this.subtreeFlags = this.flags = 0;
- this.deletions = null;
- this.childLanes = this.lanes = 0;
- this.alternate = null;
- }
- function Yd(a, b, c, d) {
- return new Xh(a, b, c, d);
- }
- function ag(a) {
- a = a.prototype;
- return !(!a || !a.isReactComponent);
- }
- function Wh(a) {
- if ("function" === typeof a) return ag(a) ? 1 : 0;
- if (void 0 !== a && null !== a) {
- a = a.$$typeof;
- if (a === na) return 11;
- if (a === qa) return 14;
- }
- return 2;
- }
- function je(a, b) {
- var c = a.alternate;
- null === c ? (c = Yd(a.tag, b, a.key, a.mode), c.elementType = a.elementType, c.type = a.type, c.stateNode = a.stateNode, c.alternate = a, a.alternate = c) : (c.pendingProps = b, c.type = a.type, c.flags = 0, c.subtreeFlags = 0, c.deletions = null);
- c.flags = a.flags & 14680064;
- c.childLanes = a.childLanes;
- c.lanes = a.lanes;
- c.child = a.child;
- c.memoizedProps = a.memoizedProps;
- c.memoizedState = a.memoizedState;
- c.updateQueue = a.updateQueue;
- b = a.dependencies;
- c.dependencies = null === b ? null : {
- lanes: b.lanes,
- firstContext: b.firstContext
- };
- c.sibling = a.sibling;
- c.index = a.index;
- c.ref = a.ref;
- return c;
- }
- function le(a, b, c, d, e, f) {
- var g = 2;
- d = a;
- if ("function" === typeof a) ag(a) && (g = 1);
- else if ("string" === typeof a) g = 5;
- else a: switch(a){
- case ia:
- return ne(c.children, e, f, b);
- case ja:
- g = 8;
- e |= 8;
- break;
- case ka:
- return a = Yd(12, c, b, e | 2), a.elementType = ka, a.lanes = f, a;
- case oa:
- return a = Yd(13, c, b, e), a.elementType = oa, a.lanes = f, a;
- case pa:
- return a = Yd(19, c, b, e), a.elementType = pa, a.lanes = f, a;
- case sa:
- return ng(c, e, f, b);
- default:
- if ("object" === typeof a && null !== a) switch(a.$$typeof){
- case la:
- g = 10;
- break a;
- case ma:
- g = 9;
- break a;
- case na:
- g = 11;
- break a;
- case qa:
- g = 14;
- break a;
- case ra:
- g = 16;
- d = null;
- break a;
- }
- throw Error(n(130, null == a ? a : typeof a, ""));
- }
- b = Yd(g, c, b, e);
- b.elementType = a;
- b.type = d;
- b.lanes = f;
- return b;
- }
- function ne(a, b, c, d) {
- a = Yd(7, a, d, b);
- a.lanes = c;
- return a;
- }
- function ng(a, b, c, d) {
- a = Yd(22, a, d, b);
- a.elementType = sa;
- a.lanes = c;
- a.stateNode = {};
- return a;
- }
- function ke(a, b, c) {
- a = Yd(6, a, null, b);
- a.lanes = c;
- return a;
- }
- function me(a, b, c) {
- b = Yd(4, null !== a.children ? a.children : [], a.key, b);
- b.lanes = c;
- b.stateNode = {
- containerInfo: a.containerInfo,
- pendingChildren: null,
- implementation: a.implementation
- };
- return b;
- }
- function Yh(a, b, c, d, e) {
- this.tag = b;
- this.containerInfo = a;
- this.finishedWork = this.pingCache = this.current = this.pendingChildren = null;
- this.timeoutHandle = Sa;
- this.callbackNode = this.pendingContext = this.context = null;
- this.callbackPriority = 0;
- this.eventTimes = Ac(0);
- this.expirationTimes = Ac(-1);
- this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0;
- this.entanglements = Ac(0);
- this.identifierPrefix = d;
- this.onRecoverableError = e;
- p && (this.mutableSourceEagerHydrationData = null);
- }
- function Zh(a, b, c, d, e, f, g, h, k) {
- a = new Yh(a, b, c, h, k);
- 1 === b ? (b = 1, true === f && (b |= 8)) : b = 0;
- f = Yd(3, null, null, b);
- a.current = f;
- f.stateNode = a;
- f.memoizedState = {
- element: d,
- isDehydrated: c,
- cache: null,
- transitions: null
- };
- od(f);
- return a;
- }
- function $h(a) {
- if (!a) return hc;
- a = a._reactInternals;
- a: {
- if (ya(a) !== a || 1 !== a.tag) throw Error(n(170));
- var b = a;
- do {
- switch(b.tag){
- case 3:
- b = b.stateNode.context;
- break a;
- case 1:
- if (C(b.type)) {
- b = b.stateNode.__reactInternalMemoizedMergedChildContext;
- break a;
- }
- }
- b = b.return;
- }while (null !== b)
- throw Error(n(171));
- }
- if (1 === a.tag) {
- var c = a.type;
- if (C(c)) return mc(a, c, b);
- }
- return b;
- }
- function ai(a) {
- var b = a._reactInternals;
- if (void 0 === b) {
- if ("function" === typeof a.render) throw Error(n(188));
- a = Object.keys(a).join(",");
- throw Error(n(268, a));
- }
- a = Ba(b);
- return null === a ? null : a.stateNode;
- }
- function bi(a, b) {
- a = a.memoizedState;
- if (null !== a && null !== a.dehydrated) {
- var c = a.retryLane;
- a.retryLane = 0 !== c && c < b ? c : b;
- }
- }
- function ci(a, b) {
- bi(a, b);
- (a = a.alternate) && bi(a, b);
- }
- function di(a) {
- a = Ba(a);
- return null === a ? null : a.stateNode;
- }
- function ei() {
- return null;
- }
- exports2.attemptContinuousHydration = function(a) {
- if (13 === a.tag) {
- var b = H();
- Ad(a, 134217728, b);
- ci(a, 134217728);
- }
- };
- exports2.attemptHydrationAtCurrentPriority = function(a) {
- if (13 === a.tag) {
- var b = H(), c = zd(a);
- Ad(a, c, b);
- ci(a, c);
- }
- };
- exports2.attemptSynchronousHydration = function(a) {
- switch(a.tag){
- case 3:
- var b = a.stateNode;
- if (b.current.memoizedState.isDehydrated) {
- var c = vc(b.pendingLanes);
- 0 !== c && (Dc(b, c | 1), Z(b, E()), 0 === (G & 6) && (sh(), Xc()));
- }
- break;
- case 13:
- var d = H();
- Oh(function() {
- return Ad(a, 1, d);
- });
- ci(a, 1);
- }
- };
- exports2.batchedUpdates = function(a, b) {
- var c = G;
- G |= 1;
- try {
- return a(b);
- } finally{
- G = c, 0 === G && (sh(), Tc && Xc());
- }
- };
- exports2.createComponentSelector = function(a) {
- return {
- $$typeof: ah,
- value: a
- };
- };
- exports2.createContainer = function(a, b, c, d, e, f, g) {
- return Zh(a, b, false, null, c, d, e, f, g);
- };
- exports2.createHasPseudoClassSelector = function(a) {
- return {
- $$typeof: bh,
- value: a
- };
- };
- exports2.createHydrationContainer = function(a, b, c, d, e, f, g, h, k) {
- a = Zh(c, d, true, a, e, f, g, h, k);
- a.context = $h(null);
- c = a.current;
- d = H();
- e = zd(c);
- f = qd(d, e);
- f.callback = void 0 !== b && null !== b ? b : null;
- rd(c, f);
- a.current.lanes = e;
- Bc(a, e, d);
- Z(a, d);
- return a;
- };
- exports2.createPortal = function(a, b, c) {
- var d = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
- return {
- $$typeof: ha,
- key: null == d ? null : "" + d,
- children: a,
- containerInfo: b,
- implementation: c
- };
- };
- exports2.createRoleSelector = function(a) {
- return {
- $$typeof: ch,
- value: a
- };
- };
- exports2.createTestNameSelector = function(a) {
- return {
- $$typeof: dh,
- value: a
- };
- };
- exports2.createTextSelector = function(a) {
- return {
- $$typeof: eh,
- value: a
- };
- };
- exports2.deferredUpdates = function(a) {
- var b = D, c = U.transition;
- try {
- return U.transition = null, D = 16, a();
- } finally{
- D = b, U.transition = c;
- }
- };
- exports2.discreteUpdates = function(a, b, c, d, e) {
- var f = D, g = U.transition;
- try {
- return U.transition = null, D = 1, a(b, c, d, e);
- } finally{
- D = f, U.transition = g, 0 === G && sh();
- }
- };
- exports2.findAllNodes = kh;
- exports2.findBoundingRects = function(a, b) {
- if (!bb) throw Error(n(363));
- b = kh(a, b);
- a = [];
- for(var c = 0; c < b.length; c++)a.push(db(b[c]));
- for(b = a.length - 1; 0 < b; b--){
- c = a[b];
- for(var d = c.x, e = d + c.width, f = c.y, g = f + c.height, h = b - 1; 0 <= h; h--)if (b !== h) {
- var k = a[h], l = k.x, m = l + k.width, v = k.y, r = v + k.height;
- if (d >= l && f >= v && e <= m && g <= r) {
- a.splice(b, 1);
- break;
- } else if (!(d !== l || c.width !== k.width || r < f || v > g)) {
- v > f && (k.height += v - f, k.y = f);
- r < g && (k.height = g - v);
- a.splice(b, 1);
- break;
- } else if (!(f !== v || c.height !== k.height || m < d || l > e)) {
- l > d && (k.width += l - d, k.x = d);
- m < e && (k.width = e - l);
- a.splice(b, 1);
- break;
- }
- }
- }
- return a;
- };
- exports2.findHostInstance = ai;
- exports2.findHostInstanceWithNoPortals = function(a) {
- a = Aa(a);
- a = null !== a ? Da(a) : null;
- return null === a ? null : a.stateNode;
- };
- exports2.findHostInstanceWithWarning = function(a) {
- return ai(a);
- };
- exports2.flushControlled = function(a) {
- var b = G;
- G |= 1;
- var c = U.transition, d = D;
- try {
- U.transition = null, D = 1, a();
- } finally{
- D = d, U.transition = c, G = b, 0 === G && (sh(), Xc());
- }
- };
- exports2.flushPassiveEffects = Fh;
- exports2.flushSync = Oh;
- exports2.focusWithin = function(a, b) {
- if (!bb) throw Error(n(363));
- a = gh(a);
- b = jh(a, b);
- b = Array.from(b);
- for(a = 0; a < b.length;){
- var c = b[a++];
- if (!fb(c)) {
- if (5 === c.tag && hb(c.stateNode)) return true;
- for(c = c.child; null !== c;)b.push(c), c = c.sibling;
- }
- }
- return false;
- };
- exports2.getCurrentUpdatePriority = function() {
- return D;
- };
- exports2.getFindAllNodesFailureDescription = function(a, b) {
- if (!bb) throw Error(n(363));
- var c = 0, d = [];
- a = [
- gh(a),
- 0
- ];
- for(var e = 0; e < a.length;){
- var f = a[e++], g = a[e++], h = b[g];
- if (5 !== f.tag || !fb(f)) {
- if (hh(f, h) && (d.push(ih(h)), g++, g > c && (c = g)), g < b.length) for(f = f.child; null !== f;)a.push(f, g), f = f.sibling;
- }
- }
- if (c < b.length) {
- for(a = []; c < b.length; c++)a.push(ih(b[c]));
- return "findAllNodes was able to match part of the selector:\n " + (d.join(" > ") + "\n\nNo matching component was found for:\n ") + a.join(" > ");
- }
- return null;
- };
- exports2.getPublicRootInstance = function(a) {
- a = a.current;
- if (!a.child) return null;
- switch(a.child.tag){
- case 5:
- return Fa(a.child.stateNode);
- default:
- return a.child.stateNode;
- }
- };
- exports2.injectIntoDevTools = function(a) {
- a = {
- bundleType: a.bundleType,
- version: a.version,
- rendererPackageName: a.rendererPackageName,
- rendererConfig: a.rendererConfig,
- overrideHookState: null,
- overrideHookStateDeletePath: null,
- overrideHookStateRenamePath: null,
- overrideProps: null,
- overridePropsDeletePath: null,
- overridePropsRenamePath: null,
- setErrorHandler: null,
- setSuspenseHandler: null,
- scheduleUpdate: null,
- currentDispatcherRef: ea.ReactCurrentDispatcher,
- findHostInstanceByFiber: di,
- findFiberByHostInstance: a.findFiberByHostInstance || ei,
- findHostInstancesForRefresh: null,
- scheduleRefresh: null,
- scheduleRoot: null,
- setRefreshHandler: null,
- getCurrentFiber: null,
- reconcilerVersion: "18.0.0-fc46dba67-20220329"
- };
- if ("undefined" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) a = false;
- else {
- var b = __REACT_DEVTOOLS_GLOBAL_HOOK__;
- if (b.isDisabled || !b.supportsFiber) a = true;
- else {
- try {
- Nc = b.inject(a), Oc = b;
- } catch (c) {}
- a = b.checkDCE ? true : false;
- }
- }
- return a;
- };
- exports2.isAlreadyRendering = function() {
- return false;
- };
- exports2.observeVisibleRects = function(a, b, c, d) {
- if (!bb) throw Error(n(363));
- a = kh(a, b);
- var e = ib(a, c, d).disconnect;
- return {
- disconnect: function() {
- e();
- }
- };
- };
- exports2.registerMutableSourceForHydration = function(a, b) {
- var c = b._getVersion;
- c = c(b._source);
- null == a.mutableSourceEagerHydrationData ? a.mutableSourceEagerHydrationData = [
- b,
- c
- ] : a.mutableSourceEagerHydrationData.push(b, c);
- };
- exports2.runWithPriority = function(a, b) {
- var c = D;
- try {
- return D = a, b();
- } finally{
- D = c;
- }
- };
- exports2.shouldError = function() {
- return null;
- };
- exports2.shouldSuspend = function() {
- return false;
- };
- exports2.updateContainer = function(a, b, c, d) {
- var e = b.current, f = H(), g = zd(e);
- c = $h(c);
- null === b.context ? b.context = c : b.pendingContext = c;
- b = qd(f, g);
- b.payload = {
- element: a
- };
- d = void 0 === d ? null : d;
- null !== d && (b.callback = d);
- rd(e, b);
- a = Ad(e, g, f);
- null !== a && sd(a, e, g);
- return g;
- };
- return exports2;
- };
- }
- });
- // node_modules/react-reconciler/cjs/react-reconciler-constants.development.js
- var require_react_reconciler_constants_development = (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_3__.__commonJS)({
- "node_modules/react-reconciler/cjs/react-reconciler-constants.development.js" (exports) {
- "use strict";
- if (true) {
- (function() {
- "use strict";
- var SyncLane2 = 1;
- var InputContinuousLane2 = 4;
- var DefaultLane2 = 16;
- var IdleLane = 536870912;
- var DiscreteEventPriority2 = SyncLane2;
- var ContinuousEventPriority2 = InputContinuousLane2;
- var DefaultEventPriority2 = DefaultLane2;
- var IdleEventPriority = IdleLane;
- var LegacyRoot = 0;
- var ConcurrentRoot = 1;
- exports.ConcurrentRoot = ConcurrentRoot;
- exports.ContinuousEventPriority = ContinuousEventPriority2;
- exports.DefaultEventPriority = DefaultEventPriority2;
- exports.DiscreteEventPriority = DiscreteEventPriority2;
- exports.IdleEventPriority = IdleEventPriority;
- exports.LegacyRoot = LegacyRoot;
- })();
- }
- }
- });
- // node_modules/react-reconciler/constants.js
- var require_constants = (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_3__.__commonJS)({
- "node_modules/react-reconciler/constants.js" (exports, module) {
- "use strict";
- if (false) {} else {
- module.exports = require_react_reconciler_constants_development();
- }
- }
- });
- // node_modules/@tarojs/react/dist/react.esm.js
- (0,_chunk_77KB62LY_js__WEBPACK_IMPORTED_MODULE_1__.init_shared_esm)();
- (0,_chunk_3EXGJ5BE_js__WEBPACK_IMPORTED_MODULE_0__.init_runtime_esm)();
- var import_react_reconciler = (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_3__.__toESM)(require_react_reconciler_production_min());
- var import_constants = (0,_chunk_P7VEE7PG_js__WEBPACK_IMPORTED_MODULE_3__.__toESM)(require_constants());
- var supportedInputTypes = {
- color: true,
- date: true,
- datetime: true,
- "datetime-local": true,
- email: true,
- month: true,
- number: true,
- password: true,
- range: true,
- search: true,
- tel: true,
- text: true,
- time: true,
- url: true,
- week: true
- };
- var SyncLane = 1;
- var InputContinuousLane = 4;
- var DefaultLane = 16;
- var DiscreteEventPriority = SyncLane;
- var ContinuousEventPriority = InputContinuousLane;
- var DefaultEventPriority = DefaultLane;
- function getEventPriority(domEventName) {
- switch(domEventName){
- case "cancel":
- case "click":
- case "close":
- case "contextmenu":
- case "copy":
- case "cut":
- case "dragend":
- case "dragstart":
- case "drop":
- case "input":
- case "paste":
- case "pause":
- case "play":
- case "pointercancel":
- case "pointerdown":
- case "pointerup":
- case "reset":
- case "resize":
- case "submit":
- case "touchcancel":
- case "touchend":
- case "touchstart":
- case "change":
- case "blur":
- case "focus":
- case "select":
- case "selectstart":
- return DiscreteEventPriority;
- case "drag":
- case "dragenter":
- case "dragexit":
- case "dragleave":
- case "dragover":
- case "pointermove":
- case "pointerout":
- case "pointerover":
- case "scroll":
- case "toggle":
- case "touchmove":
- case "pointerenter":
- case "pointerleave":
- return ContinuousEventPriority;
- default:
- return DefaultEventPriority;
- }
- }
- var randomKey = Math.random().toString(36).slice(2);
- var internalPropsKey = "__reactProps$" + randomKey;
- var internalInstanceKey = "__reactFiber$" + randomKey;
- var internalContainerInstanceKey = "__reactContainer$" + randomKey;
- var HostRoot = 3;
- var HostComponent = 5;
- var HostText = 6;
- var SuspenseComponent = 13;
- function precacheFiberNode(hostInst, node) {
- node[internalInstanceKey] = hostInst;
- }
- function markContainerAsRoot(hostRoot, node) {
- node[internalContainerInstanceKey] = hostRoot;
- }
- function getInstanceFromNode(node) {
- const inst = node[internalInstanceKey] || node[internalContainerInstanceKey];
- if (inst) {
- if (inst.tag === HostComponent || inst.tag === HostText || inst.tag === SuspenseComponent || inst.tag === HostRoot) {
- return inst;
- } else {
- return null;
- }
- }
- return null;
- }
- function getNodeFromInstance(inst) {
- if (inst.tag === HostComponent || inst.tag === HostText) {
- return inst.stateNode;
- }
- }
- function getFiberCurrentPropsFromNode(node) {
- return node[internalPropsKey] || null;
- }
- function updateFiberProps(node, props) {
- node[internalPropsKey] = props;
- }
- function updateInputWrapper(element, oldValue, props) {
- const node = element;
- const checked = props.checked;
- if (checked != null) {
- console.warn("updateCheck \u672A\u5B9E\u73B0", node);
- return;
- }
- updateWrapper(element, oldValue, props);
- updateNamedCousins(element, props);
- }
- function updateNamedCousins(rootNode, props) {
- const name = props.name;
- if (props.type === "radio" && name != null) {
- console.warn("radio updateNamedCousins \u672A\u5B9E\u73B0", rootNode, props);
- }
- }
- function getToStringValue(value) {
- const isEmptyType = typeof value === "function" || typeof value === "symbol";
- return isEmptyType ? "" : value;
- }
- function toString(value) {
- return "" + value;
- }
- function updateWrapper(element, oldValue, props) {
- const node = element;
- const value = getToStringValue(props.value);
- const type = props.type;
- setNodeValue(node, oldValue, value, type);
- }
- function setNodeValue(node, oldValue, value, type = "string") {
- if (value != null) {
- if (type === "number") {
- if (value === 0 && node.value === "" || oldValue != value) {
- node.value = toString(value);
- }
- } else if (oldValue !== toString(value)) {
- node.value = toString(value);
- }
- } else if (type === "submit" || type === "reset") {
- node.removeAttribute("value");
- }
- }
- function isTextInputElement(elem) {
- const nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();
- if (nodeName === "input") {
- const type = elem.type;
- return !type || !!supportedInputTypes[type];
- }
- if (nodeName === "textarea") {
- return true;
- }
- return false;
- }
- var ReactDOMTextareaRestoreControlledState = updateWrapper;
- var ReactDOMInputRestoreControlledState = updateInputWrapper;
- function isCheckable(elem) {
- const type = elem.type;
- const nodeName = elem.nodeName;
- return nodeName && nodeName.toLowerCase() === "input" && (type === "checkbox" || type === "radio");
- }
- function getTracker(node) {
- return node._valueTracker;
- }
- function detachTracker(node) {
- node._valueTracker = null;
- }
- function trackValueOnNode(node) {
- const valueField = isCheckable(node) ? "checked" : "value";
- const descriptor = Object.getOwnPropertyDescriptor(node.constructor.prototype, valueField);
- let currentValue = "" + node[valueField];
- if (node.hasOwnProperty(valueField) || typeof descriptor === "undefined" || typeof descriptor.get !== "function" || typeof descriptor.set !== "function") {
- return;
- }
- const { get , set } = descriptor;
- Object.defineProperty(node, valueField, {
- configurable: true,
- enumerable: descriptor.enumerable,
- get: function() {
- return get.call(this);
- },
- set: function(value) {
- currentValue = "" + value;
- set.call(this, value);
- }
- });
- const tracker = {
- getValue () {
- return currentValue;
- },
- setValue (value) {
- currentValue = "" + value;
- },
- stopTracking () {
- detachTracker(node);
- delete node[valueField];
- }
- };
- return tracker;
- }
- function track(node) {
- if (getTracker(node)) {
- return;
- }
- node._valueTracker = trackValueOnNode(node);
- }
- function updateValueIfChanged(node, nextValue) {
- if (!node) {
- return false;
- }
- const tracker = getTracker(node);
- if (!tracker) {
- return true;
- }
- const lastValue = tracker.getValue();
- if (nextValue !== lastValue) {
- tracker.setValue(nextValue);
- return true;
- }
- return false;
- }
- function isEventName(s) {
- return s[0] === "o" && s[1] === "n";
- }
- var IS_NON_DIMENSIONAL = /aspect|acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;
- function updateProps(dom, oldProps, newProps) {
- const updatePayload = getUpdatePayload(dom, oldProps, newProps);
- if (updatePayload) {
- updatePropsByPayload(dom, oldProps, updatePayload);
- }
- }
- function updatePropsByPayload(dom, oldProps, updatePayload) {
- for(let i = 0; i < updatePayload.length; i += 2){
- const key = updatePayload[i];
- const newProp = updatePayload[i + 1];
- const oldProp = oldProps[key];
- setProperty(dom, key, newProp, oldProp);
- }
- }
- function getUpdatePayload(dom, oldProps, newProps) {
- let i;
- let updatePayload = null;
- for(i in oldProps){
- if (!(i in newProps)) {
- (updatePayload = updatePayload || []).push(i, null);
- }
- }
- const isFormElement = dom instanceof _chunk_3EXGJ5BE_js__WEBPACK_IMPORTED_MODULE_0__.FormElement;
- for(i in newProps){
- if (oldProps[i] !== newProps[i] || isFormElement && i === "value") {
- (updatePayload = updatePayload || []).push(i, newProps[i]);
- }
- }
- return updatePayload;
- }
- function setEvent(dom, name, value, oldValue) {
- const isCapture = name.endsWith("Capture");
- let eventName = name.toLowerCase().slice(2);
- if (isCapture) {
- eventName = eventName.slice(0, -7);
- }
- const compName = (0,_chunk_77KB62LY_js__WEBPACK_IMPORTED_MODULE_1__.capitalize)((0,_chunk_77KB62LY_js__WEBPACK_IMPORTED_MODULE_1__.toCamelCase)(dom.tagName.toLowerCase()));
- if (eventName === "click" && compName in _chunk_77KB62LY_js__WEBPACK_IMPORTED_MODULE_1__.internalComponents) {
- eventName = "tap";
- }
- if ((0,_chunk_77KB62LY_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(value)) {
- if (oldValue) {
- dom.removeEventListener(eventName, oldValue, false);
- dom.addEventListener(eventName, value, {
- isCapture,
- sideEffect: false
- });
- } else {
- dom.addEventListener(eventName, value, isCapture);
- }
- } else {
- dom.removeEventListener(eventName, oldValue);
- }
- }
- function setStyle(style, key, value) {
- if (key[0] === "-") {
- style.setProperty(key, value.toString());
- return;
- }
- style[key] = (0,_chunk_77KB62LY_js__WEBPACK_IMPORTED_MODULE_1__.isNumber)(value) && IS_NON_DIMENSIONAL.test(key) === false ? value + "px" : value == null ? "" : value;
- }
- function setProperty(dom, name, value, oldValue) {
- var _a, _b;
- name = name === "className" ? "class" : name;
- if (name === "key" || name === "children" || name === "ref") ;
- else if (name === "style") {
- const style = dom.style;
- if ((0,_chunk_77KB62LY_js__WEBPACK_IMPORTED_MODULE_1__.isString)(value)) {
- style.cssText = value;
- } else {
- if ((0,_chunk_77KB62LY_js__WEBPACK_IMPORTED_MODULE_1__.isString)(oldValue)) {
- style.cssText = "";
- oldValue = null;
- }
- if ((0,_chunk_77KB62LY_js__WEBPACK_IMPORTED_MODULE_1__.isObject)(oldValue)) {
- for(const i in oldValue){
- if (!(value && i in value)) {
- setStyle(style, i, "");
- }
- }
- }
- if ((0,_chunk_77KB62LY_js__WEBPACK_IMPORTED_MODULE_1__.isObject)(value)) {
- for(const i1 in value){
- if (!oldValue || value[i1] !== oldValue[i1]) {
- setStyle(style, i1, value[i1]);
- }
- }
- }
- }
- } else if (isEventName(name)) {
- setEvent(dom, name, value, oldValue);
- } else if (name === "dangerouslySetInnerHTML") {
- const newHtml = (_a = value === null || value === void 0 ? void 0 : value.__html) !== null && _a !== void 0 ? _a : "";
- const oldHtml = (_b = oldValue === null || oldValue === void 0 ? void 0 : oldValue.__html) !== null && _b !== void 0 ? _b : "";
- if (newHtml || oldHtml) {
- if (oldHtml !== newHtml) {
- dom.innerHTML = newHtml;
- }
- }
- } else if (!(0,_chunk_77KB62LY_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(value)) {
- if (value == null) {
- dom.removeAttribute(name);
- } else {
- dom.setAttribute(name, value);
- }
- }
- }
- var hostConfig = {
- getPublicInstance (inst) {
- return inst;
- },
- getRootHostContext () {
- return {};
- },
- getChildHostContext (parentHostContext) {
- return parentHostContext;
- },
- prepareForCommit (..._) {
- return null;
- },
- resetAfterCommit: _chunk_77KB62LY_js__WEBPACK_IMPORTED_MODULE_1__.noop,
- createInstance (type, props, _rootContainerInstance, _hostContext, internalInstanceHandle) {
- const element = _chunk_3EXGJ5BE_js__WEBPACK_IMPORTED_MODULE_0__.document$1.createElement(type);
- precacheFiberNode(internalInstanceHandle, element);
- updateFiberProps(element, props);
- return element;
- },
- appendInitialChild (parent, child) {
- parent.appendChild(child);
- },
- finalizeInitialChildren (dom, type, props) {
- updateProps(dom, {}, props);
- if (type === "input" || type === "textarea") {
- track(dom);
- }
- return false;
- },
- prepareUpdate (instance, _, oldProps, newProps) {
- return getUpdatePayload(instance, oldProps, newProps);
- },
- shouldSetTextContent () {
- return false;
- },
- createTextInstance (text, _rootContainerInstance, _hostContext, internalInstanceHandle) {
- const textNode = _chunk_3EXGJ5BE_js__WEBPACK_IMPORTED_MODULE_0__.document$1.createTextNode(text);
- precacheFiberNode(internalInstanceHandle, textNode);
- return textNode;
- },
- scheduleTimeout: setTimeout,
- cancelTimeout: clearTimeout,
- noTimeout: -1,
- isPrimaryRenderer: true,
- warnsIfNotActing: true,
- supportsMutation: true,
- supportsPersistence: false,
- supportsHydration: false,
- getInstanceFromNode: ()=>null,
- beforeActiveInstanceBlur: _chunk_77KB62LY_js__WEBPACK_IMPORTED_MODULE_1__.noop,
- afterActiveInstanceBlur: _chunk_77KB62LY_js__WEBPACK_IMPORTED_MODULE_1__.noop,
- preparePortalMount: _chunk_77KB62LY_js__WEBPACK_IMPORTED_MODULE_1__.noop,
- prepareScopeUpdate: _chunk_77KB62LY_js__WEBPACK_IMPORTED_MODULE_1__.noop,
- getInstanceFromScope: ()=>null,
- getCurrentEventPriority () {
- return import_constants.DefaultEventPriority;
- },
- detachDeletedInstance: _chunk_77KB62LY_js__WEBPACK_IMPORTED_MODULE_1__.noop,
- supportsMicrotasks: true,
- scheduleMicrotask: (0,_chunk_77KB62LY_js__WEBPACK_IMPORTED_MODULE_1__.isUndefined)(Promise) ? setTimeout : (callback)=>Promise.resolve(null).then(callback).catch(function(error) {
- setTimeout(()=>{
- throw error;
- });
- }),
- appendChild (parent, child) {
- parent.appendChild(child);
- },
- appendChildToContainer (parent, child) {
- parent.appendChild(child);
- },
- commitTextUpdate (textInst, _, newText) {
- textInst.nodeValue = newText;
- },
- commitMount: _chunk_77KB62LY_js__WEBPACK_IMPORTED_MODULE_1__.noop,
- commitUpdate (dom, updatePayload, _, oldProps, newProps) {
- updatePropsByPayload(dom, oldProps, updatePayload);
- updateFiberProps(dom, newProps);
- },
- insertBefore (parent, child, refChild) {
- parent.insertBefore(child, refChild);
- },
- insertInContainerBefore (parent, child, refChild) {
- parent.insertBefore(child, refChild);
- },
- removeChild (parent, child) {
- parent.removeChild(child);
- },
- removeChildFromContainer (parent, child) {
- parent.removeChild(child);
- },
- resetTextContent: _chunk_77KB62LY_js__WEBPACK_IMPORTED_MODULE_1__.noop,
- hideInstance (instance) {
- const style = instance.style;
- style.setProperty("display", "none");
- },
- hideTextInstance (textInstance) {
- textInstance.nodeValue = "";
- },
- unhideInstance (instance, props) {
- const styleProp = props.style;
- let display = (styleProp === null || styleProp === void 0 ? void 0 : styleProp.hasOwnProperty("display")) ? styleProp.display : null;
- display = display == null || (0,_chunk_77KB62LY_js__WEBPACK_IMPORTED_MODULE_1__.isBoolean)(display) || display === "" ? "" : ("" + display).trim();
- instance.style["display"] = display;
- },
- unhideTextInstance (textInstance, text) {
- textInstance.nodeValue = text;
- },
- clearContainer (element) {
- if (element.childNodes.length > 0) {
- element.textContent = "";
- }
- }
- };
- var TaroReconciler = (0, import_react_reconciler.default)(hostConfig);
- if (true) {
- const foundDevTools = TaroReconciler.injectIntoDevTools({
- bundleType: 1,
- version: "18.0.0",
- rendererPackageName: "taro-react"
- });
- if (!foundDevTools) {
- console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools", "font-weight:bold");
- }
- }
- var restoreQueue = null;
- function getTargetInstForInputOrChangeEvent(e, node) {
- var _a, _b;
- const targetInst = getInstanceFromNode(node);
- const domEventName = e.type;
- if (!targetInst || !isTextInputElement(node)) return;
- if (domEventName === "input" || domEventName === "change") {
- const nextValue = toString((_b = (_a = e.mpEvent) === null || _a === void 0 ? void 0 : _a.detail) === null || _b === void 0 ? void 0 : _b.value);
- return getInstIfValueChanged(targetInst, nextValue);
- }
- }
- function getInstIfValueChanged(targetInst, nextValue) {
- const targetNode = getNodeFromInstance(targetInst);
- if (!targetNode) return false;
- if (updateValueIfChanged(targetNode, nextValue)) {
- return targetInst;
- }
- }
- function enqueueStateRestore(target) {
- if (restoreQueue) {
- restoreQueue.push(target);
- } else {
- restoreQueue = [
- target
- ];
- }
- }
- function needsStateRestore() {
- return restoreQueue !== null;
- }
- function finishEventHandler() {
- const controlledComponentsHavePendingUpdates = needsStateRestore();
- if (controlledComponentsHavePendingUpdates) {
- TaroReconciler.flushSync();
- restoreStateIfNeeded();
- }
- }
- function restoreStateIfNeeded() {
- if (!restoreQueue) {
- return;
- }
- const queuedTargets = restoreQueue;
- restoreQueue = null;
- for(let i = 0; i < queuedTargets.length; i++){
- restoreStateOfTarget(queuedTargets[i]);
- }
- }
- function restoreImpl(domElement, tag, oldValue, props) {
- switch(tag){
- case "input":
- ReactDOMInputRestoreControlledState(domElement, oldValue, props);
- break;
- case "textarea":
- ReactDOMTextareaRestoreControlledState(domElement, oldValue, props);
- break;
- }
- }
- function restoreStateOfTarget(item) {
- const internalInstance = getInstanceFromNode(item.target);
- if (!internalInstance) return;
- const { stateNode , type } = internalInstance;
- if (stateNode) {
- const props = getFiberCurrentPropsFromNode(stateNode);
- restoreImpl(stateNode, type, item.value, props);
- }
- }
- var ContainerMap = /* @__PURE__ */ new WeakMap();
- var Root = class {
- initInternalRoot(renderer, domContainer, options) {
- const containerInfo = domContainer;
- if (options) {
- const tag = 1;
- const concurrentUpdatesByDefaultOverride = false;
- let isStrictMode = false;
- let identifierPrefix = "";
- let onRecoverableError = (error)=>console.error(error);
- let transitionCallbacks = null;
- if (options.unstable_strictMode === true) {
- isStrictMode = true;
- }
- if (options.identifierPrefix !== void 0) {
- identifierPrefix = options.identifierPrefix;
- }
- if (options.onRecoverableError !== void 0) {
- onRecoverableError = options.onRecoverableError;
- }
- if (options.unstable_transitionCallbacks !== void 0) {
- transitionCallbacks = options.unstable_transitionCallbacks;
- }
- this.internalRoot = renderer.createContainer(containerInfo, tag, null, isStrictMode, concurrentUpdatesByDefaultOverride, identifierPrefix, onRecoverableError, transitionCallbacks);
- } else {
- const tag1 = 0;
- this.internalRoot = renderer.createContainer(containerInfo, tag1, null, false, false, "", ()=>{}, null);
- }
- }
- render(children, cb) {
- const { renderer , internalRoot } = this;
- renderer.updateContainer(children, internalRoot, null, cb);
- return renderer.getPublicRootInstance(internalRoot);
- }
- unmount(cb) {
- this.renderer.updateContainer(null, this.internalRoot, null, cb);
- }
- constructor(renderer, domContainer, options){
- this.renderer = renderer;
- this.initInternalRoot(renderer, domContainer, options);
- }
- };
- function render(element, domContainer, cb) {
- const oldRoot = ContainerMap.get(domContainer);
- if (oldRoot != null) {
- return oldRoot.render(element, cb);
- }
- const root = new Root(TaroReconciler, domContainer);
- ContainerMap.set(domContainer, root);
- return root.render(element, cb);
- }
- function createRoot(domContainer, options = {}) {
- var _a;
- const oldRoot = ContainerMap.get(domContainer);
- if (oldRoot != null) {
- return oldRoot;
- }
- const root = new Root(TaroReconciler, domContainer, options);
- ContainerMap.set(domContainer, root);
- markContainerAsRoot((_a = root === null || root === void 0 ? void 0 : root.internalRoot) === null || _a === void 0 ? void 0 : _a.current, domContainer);
- _chunk_77KB62LY_js__WEBPACK_IMPORTED_MODULE_1__.hooks.tap("dispatchTaroEvent", (e, node)=>{
- const eventPriority = getEventPriority(e.type);
- TaroReconciler.runWithPriority(eventPriority, ()=>{
- node.dispatchEvent(e);
- });
- });
- _chunk_77KB62LY_js__WEBPACK_IMPORTED_MODULE_1__.hooks.tap("modifyTaroEvent", (e, node)=>{
- var _a2, _b;
- const inst = getTargetInstForInputOrChangeEvent(e, node);
- if (!inst) return;
- const nextValue = (_b = (_a2 = e.mpEvent) === null || _a2 === void 0 ? void 0 : _a2.detail) === null || _b === void 0 ? void 0 : _b.value;
- enqueueStateRestore({
- target: node,
- value: nextValue
- });
- });
- return root;
- }
- var isInsideEventHandler = false;
- var unstable_batchedUpdates = (fn, a)=>{
- if (isInsideEventHandler) {
- return fn(a);
- }
- isInsideEventHandler = true;
- try {
- return TaroReconciler.batchedUpdates(fn, a);
- } finally{
- isInsideEventHandler = false;
- finishEventHandler();
- }
- };
- function unmountComponentAtNode(dom) {
- (0,_chunk_77KB62LY_js__WEBPACK_IMPORTED_MODULE_1__.ensure)(dom && [
- 1,
- 8,
- 9,
- 11
- ].includes(dom.nodeType), "unmountComponentAtNode(...): Target container is not a DOM element.");
- const root = ContainerMap.get(dom);
- if (!root) return false;
- unstable_batchedUpdates(()=>{
- root.unmount(()=>{
- ContainerMap.delete(dom);
- });
- }, null);
- return true;
- }
- function findDOMNode(comp) {
- if (comp == null) {
- return null;
- }
- const nodeType = comp.nodeType;
- if (nodeType === 1 || nodeType === 3) {
- return comp;
- }
- return TaroReconciler.findHostInstance(comp);
- }
- var portalType = (0,_chunk_77KB62LY_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(Symbol) && Symbol.for ? Symbol.for("react.portal") : 60106;
- function createPortal(children, containerInfo, key) {
- return {
- $$typeof: portalType,
- key: key == null ? null : String(key),
- children,
- containerInfo,
- implementation: null
- };
- }
- var index = {
- render,
- createRoot,
- unstable_batchedUpdates,
- unmountComponentAtNode,
- findDOMNode,
- createPortal
- };
- /**
- * @license React
- * react-reconciler-constants.development.js
- *
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */ /**
- * @license React
- * react-reconciler.production.min.js
- *
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */ /**
- * @license React
- * scheduler.development.js
- *
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */
- /***/ })
- }]);
|