1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517 |
- import {
- BO,
- Bm,
- GO,
- Gf,
- In,
- JO,
- KO,
- Na,
- UO,
- Um,
- XO,
- Xw,
- YO,
- ZO,
- _O,
- d_,
- jO,
- qO,
- qm,
- require_react_dom,
- rg,
- v_,
- y_
- } from "./chunk-GBYP4PB2.js";
- import {
- Yx,
- mS,
- s7
- } from "./chunk-2MK3Q52E.js";
- import {
- Af,
- B0,
- BehaviorSubject,
- Bt,
- CR,
- Ct,
- DC,
- Fe,
- Ht,
- Mt,
- NE,
- Nn,
- Nt,
- OC,
- OR,
- Observable,
- Ot,
- Pt,
- Ra,
- ReplaySubject,
- SE,
- Subject,
- Tn,
- Ve,
- Vr,
- W0,
- Xe,
- Ze,
- _n,
- aE,
- animationFrameScheduler,
- ar,
- cl,
- cn,
- combineLatest,
- cs,
- debounceTime,
- distinctUntilChanged,
- filter,
- first,
- fromEvent,
- fs,
- isObservable,
- jt,
- kE,
- ku,
- map,
- merge,
- ml,
- nf,
- nt,
- nu,
- oE,
- of,
- ot,
- re,
- startWith,
- switchMap,
- take,
- throttleTime,
- ts,
- xR,
- z0,
- zd
- } from "./chunk-23V3HWTR.js";
- import {
- require_react
- } from "./chunk-GNR2UJZM.js";
- import {
- __toESM
- } from "./chunk-2LSFTFF7.js";
- // node_modules/.pnpm/@univerjs+ui@0.5.5_@grpc+grpc-js@1.13.4_react-dom@18.3.1_react@18.3.1_rxjs@7.8.1_typescript@5.4.5/node_modules/@univerjs/ui/lib/es/index.js
- var Q = __toESM(require_react());
- var import_react = __toESM(require_react());
- var import_react_dom = __toESM(require_react_dom());
- var Yo = Object.defineProperty;
- var qo = (e) => {
- throw TypeError(e);
- };
- var Xo = (e, t, n) => t in e ? Yo(e, t, { enumerable: true, configurable: true, writable: true, value: n }) : e[t] = n;
- var K = (e, t, n) => Xo(e, typeof t != "symbol" ? t + "" : t, n);
- var en = (e, t, n) => t.has(e) ? qo("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n);
- var Ye = function() {
- return Ye = Object.assign || function(e) {
- for (var t, n = 1, r = arguments.length; n < r; n++) {
- t = arguments[n];
- for (var i in t)
- Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
- }
- return e;
- }, Ye.apply(this, arguments);
- };
- var V2 = function(e, t) {
- var n = {};
- for (var r in e)
- Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
- for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
- t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
- return n;
- };
- var T = (0, import_react.forwardRef)(function(e, t) {
- var n = e.icon, r = e.id, i = e.className, o = e.extend, a = V2(e, ["icon", "id", "className", "extend"]), s = "univerjs-icon univerjs-icon-".concat(r, " ").concat(i || "").trim(), c = (0, import_react.useRef)("_".concat(P2()));
- return o6(n, "".concat(r), { defIds: n.defIds, idSuffix: c.current }, Ye({ ref: t, className: s }, a), o);
- });
- function o6(e, t, n, r, i) {
- return (0, import_react.createElement)(e.tag, Ye(Ye({ key: t }, D2(e, n, i)), r), (A2(e, n).children || []).map(function(o, a) {
- return o6(o, "".concat(t, "-").concat(e.tag, "-").concat(a), n, void 0, i);
- }));
- }
- function D2(e, t, n) {
- var r = Ye({}, e.attrs);
- n != null && n.colorChannel1 && r.fill === "colorChannel1" && (r.fill = n.colorChannel1);
- var i = t.defIds;
- return !i || i.length === 0 || (e.tag === "use" && r["xlink:href"] && (r["xlink:href"] = r["xlink:href"] + t.idSuffix), Object.entries(r).forEach(function(o) {
- var a = o[0], s = o[1];
- typeof s == "string" && (r[a] = s.replace(/url\(#(.*)\)/, "url(#$1".concat(t.idSuffix, ")")));
- })), r;
- }
- function A2(e, t) {
- var n, r = t.defIds;
- return !r || r.length === 0 ? e : e.tag === "defs" && (!((n = e.children) === null || n === void 0) && n.length) ? Ye(Ye({}, e), { children: e.children.map(function(i) {
- return typeof i.attrs.id == "string" && r && r.indexOf(i.attrs.id) > -1 ? Ye(Ye({}, i), { attrs: Ye(Ye({}, i.attrs), { id: i.attrs.id + t.idSuffix }) }) : i;
- }) }) : e;
- }
- function P2() {
- return Math.random().toString(36).substring(2, 8);
- }
- T.displayName = "UniverIcon";
- var j2 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M4.06641 3.49366C4.06641 2.27555 5.14145 1.3916 6.33307 1.3916 7.52469 1.3916 8.59974 2.27555 8.59974 3.49366V6.49777C8.59974 7.71586 7.52469 8.59982 6.33307 8.59982 5.14145 8.59982 4.06641 7.71586 4.06641 6.49777V3.49366zM6.33307 2.5916C5.68376 2.5916 5.26641 3.05264 5.26641 3.49366V6.49777C5.26641 6.93878 5.68376 7.39982 6.33307 7.39982 6.98239 7.39982 7.39974 6.93878 7.39974 6.49777V3.49366C7.39974 3.05264 6.98239 2.5916 6.33307 2.5916zM10.0664 3.49366C10.0664 2.27555 11.1415 1.3916 12.3331 1.3916 13.5247 1.3916 14.5997 2.27555 14.5997 3.49366V6.49777C14.5997 7.71586 13.5247 8.59982 12.3331 8.59982 11.1415 8.59982 10.0664 7.71586 10.0664 6.49777V3.49366zM12.3331 2.5916C11.6838 2.5916 11.2664 3.05264 11.2664 3.49366V6.49777C11.2664 6.93878 11.6838 7.39982 12.3331 7.39982 12.9824 7.39982 13.3997 6.93878 13.3997 6.49777V3.49366C13.3997 3.05264 12.9824 2.5916 12.3331 2.5916z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M12.4242 9.5417C12.1899 9.30739 11.81 9.30739 11.5756 9.5417 11.3413 9.77602 11.3413 10.1559 11.5756 10.3902L12.5514 11.366H6.3334C6.00203 11.366 5.7334 11.6346 5.7334 11.966 5.7334 12.2973 6.00203 12.566 6.3334 12.566H12.5514L11.5756 13.5417C11.3413 13.776 11.3413 14.1559 11.5756 14.3902 11.81 14.6245 12.1899 14.6245 12.4242 14.3902L14.4159 12.3985C14.5294 12.2893 14.6001 12.1359 14.6001 11.966 14.6001 11.796 14.5294 11.6426 14.4159 11.5334L12.4242 9.5417zM1.3999 8.3002C1.3999 7.96882 1.66853 7.7002 1.9999 7.7002H2.33324C2.66461 7.7002 2.93324 7.96882 2.93324 8.3002 2.93324 8.63157 2.66461 8.9002 2.33324 8.9002H1.9999C1.66853 8.9002 1.3999 8.63157 1.3999 8.3002z" } }] };
- var a6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "add-digits-single",
- ref: t,
- icon: j2
- }));
- });
- a6.displayName = "AddDigitsSingle";
- var $2 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_107_1312", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#D9D9D9", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_107_1312)" }, children: [{ tag: "path", attrs: { fill: "colorChannel1", d: "M8.60231 5.77597L9.38125 6.55432C9.61658 6.78947 9.99797 6.78932 10.2331 6.554C10.4683 6.31867 10.4681 5.93728 10.2328 5.70214L8.44939 3.92009C8.33908 3.79657 8.1786 3.7188 7.99995 3.7188C7.84562 3.71861 7.6906 3.77736 7.57281 3.89506L5.76712 5.69933C5.5318 5.93447 5.53165 6.31587 5.76679 6.55119C6.00193 6.78652 6.38332 6.78667 6.61865 6.55153L7.3976 5.77319L7.3976 10.2246L6.61865 9.44621C6.38333 9.21107 6.00194 9.21121 5.76679 9.44654C5.53165 9.68186 5.53179 10.0633 5.76712 10.2984L7.55051 12.0804C7.66082 12.204 7.82131 12.2817 7.99995 12.2817L8.00089 12.2817C8.15512 12.2819 8.30939 12.2231 8.4271 12.1055L10.2328 10.3012C10.4681 10.0661 10.4683 9.68467 10.2331 9.44934C9.99798 9.21402 9.61659 9.21387 9.38126 9.44901L8.60231 10.2274L8.60231 5.77597Z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M13.7039 3.24701C14.0539 3.24701 14.3377 2.96327 14.3377 2.61325 14.3377 2.26324 14.0539 1.97949 13.7039 1.97949L2.29627 1.97949C1.94625 1.97949 1.66251 2.26324 1.66251 2.61325 1.66251 2.96327 1.94625 3.24701 2.29627 3.24701L13.7039 3.24701zM13.7039 14.0209C14.0539 14.0209 14.3377 13.7372 14.3377 13.3872 14.3377 13.0371 14.0539 12.7534 13.7039 12.7534L2.29627 12.7534C1.94625 12.7534 1.66251 13.0371 1.66251 13.3872 1.66251 13.7372 1.94625 14.0209 2.29627 14.0209L13.7039 14.0209z" } }] }] };
- var s6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "adjust-height",
- ref: t,
- icon: $2
- }));
- });
- s6.displayName = "AdjustHeight";
- var k2 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_102_1166", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#D9D9D9", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_102_1166)" }, children: [{ tag: "path", attrs: { fill: "colorChannel1", d: "M5.77574 7.3974L6.5541 6.61846C6.78924 6.38313 6.78909 6.00174 6.55377 5.7666C6.31844 5.53145 5.93705 5.5316 5.70191 5.76692L3.91987 7.55032C3.79634 7.66063 3.71857 7.82111 3.71857 7.99976C3.71838 8.15409 3.77713 8.30912 3.89483 8.42691L5.6991 10.2326C5.93425 10.4679 6.31564 10.4681 6.55096 10.2329C6.78629 9.99778 6.78644 9.61639 6.5513 9.38106L5.77296 8.60211L10.2243 8.60211L9.44598 9.38106C9.21084 9.61638 9.21099 9.99777 9.44631 10.2329C9.68164 10.4681 10.063 10.4679 10.2982 10.2326L12.0802 8.4492C12.2037 8.33889 12.2815 8.1784 12.2815 7.99976L12.2815 7.99882C12.2816 7.84459 12.2229 7.69032 12.1052 7.57261L10.301 5.76693C10.0658 5.5316 9.68444 5.53145 9.44911 5.76659C9.21379 6.00173 9.21364 6.38312 9.44878 6.61845L10.2271 7.3974L5.77574 7.3974Z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M3.24683 2.29598C3.24683 1.94596 2.96308 1.66222 2.61307 1.66222 2.26305 1.66222 1.97931 1.94596 1.97931 2.29598L1.97931 13.7036C1.97931 14.0537 2.26305 14.3374 2.61307 14.3374 2.96308 14.3374 3.24683 14.0537 3.24683 13.7036L3.24683 2.29598zM14.0207 2.29598C14.0207 1.94596 13.737 1.66222 13.387 1.66222 13.037 1.66222 12.7532 1.94596 12.7532 2.29598L12.7532 13.7036C12.7532 14.0537 13.037 14.3374 13.387 14.3374 13.737 14.3374 14.0207 14.0537 14.0207 13.7036L14.0207 2.29598z" } }] }] };
- var l6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "adjust-width",
- ref: t,
- icon: k2
- }));
- });
- l6.displayName = "AdjustWidth";
- var B2 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M1.3999 13.6999C1.3999 13.3685 1.66853 13.0999 1.9999 13.0999H13.9999C14.3313 13.0999 14.5999 13.3685 14.5999 13.6999 14.5999 14.0312 14.3313 14.2999 13.9999 14.2999H1.9999C1.66853 14.2999 1.3999 14.0312 1.3999 13.6999zM7.57564 10.3914C7.80995 10.6257 8.18985 10.6257 8.42417 10.3914L10.4242 8.3914C10.6585 8.15709 10.6585 7.77719 10.4242 7.54287 10.1899 7.30856 9.80995 7.30856 9.57564 7.54287L7.9999 9.11861 6.42417 7.54287C6.18985 7.30856 5.80995 7.30856 5.57564 7.54287 5.34132 7.77719 5.34132 8.15709 5.57564 8.3914L7.57564 10.3914z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M7.9999 10.5671C8.33127 10.5671 8.5999 10.2985 8.5999 9.96714V2.30047C8.5999 1.9691 8.33127 1.70047 7.9999 1.70047C7.66853 1.70047 7.3999 1.9691 7.3999 2.30047V9.96714C7.3999 10.2985 7.66853 10.5671 7.9999 10.5671Z", fillRule: "evenodd", clipRule: "evenodd" } }] };
- var c6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "align-bottom-single",
- ref: t,
- icon: B2
- }));
- });
- c6.displayName = "AlignBottomSingle";
- var F2 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M1.9999 1.89941C1.66853 1.89941 1.3999 2.16804 1.3999 2.49941 1.3999 2.83078 1.66853 3.09941 1.9999 3.09941H13.9999C14.3313 3.09941 14.5999 2.83078 14.5999 2.49941 14.5999 2.16804 14.3313 1.89941 13.9999 1.89941H1.9999zM1.9999 5.56641C1.66853 5.56641 1.3999 5.83504 1.3999 6.16641 1.3999 6.49778 1.66853 6.76641 1.9999 6.76641H13.9999C14.3313 6.76641 14.5999 6.49778 14.5999 6.16641 14.5999 5.83504 14.3313 5.56641 13.9999 5.56641H1.9999zM1.3999 9.8334C1.3999 9.50203 1.66853 9.2334 1.9999 9.2334H13.9999C14.3313 9.2334 14.5999 9.50203 14.5999 9.8334 14.5999 10.1648 14.3313 10.4334 13.9999 10.4334H1.9999C1.66853 10.4334 1.3999 10.1648 1.3999 9.8334zM1.9999 12.9004C1.66853 12.9004 1.3999 13.169 1.3999 13.5004 1.3999 13.8318 1.66853 14.1004 1.9999 14.1004H13.9999C14.3313 14.1004 14.5999 13.8318 14.5999 13.5004 14.5999 13.169 14.3313 12.9004 13.9999 12.9004H1.9999z" } }] };
- var u6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "align-text-both-single",
- ref: t,
- icon: F2
- }));
- });
- u6.displayName = "AlignTextBothSingle";
- var U2 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M1.3999 2.3002C1.3999 2.63157 1.66853 2.9002 1.9999 2.9002H13.9999C14.3313 2.9002 14.5999 2.63157 14.5999 2.3002 14.5999 1.96882 14.3313 1.7002 13.9999 1.7002H1.9999C1.66853 1.7002 1.3999 1.96882 1.3999 2.3002zM8.22957 5.47839C8.30034 5.50767 8.36664 5.55107 8.42417 5.6086L10.4242 7.6086C10.6585 7.84291 10.6585 8.22281 10.4242 8.45713 10.1899 8.69144 9.80995 8.69144 9.57564 8.45713L8.5999 7.48139V13.6995C8.5999 14.0309 8.33127 14.2995 7.9999 14.2995 7.66853 14.2995 7.3999 14.0309 7.3999 13.6995V7.48139L6.42417 8.45713C6.18985 8.69144 5.80995 8.69144 5.57564 8.45713 5.34132 8.22281 5.34132 7.84291 5.57564 7.6086L7.57541 5.60882C7.7522 5.43203 8.01209 5.38841 8.22957 5.47839z" } }] };
- var f6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "align-top-single",
- ref: t,
- icon: U2
- }));
- });
- f6.displayName = "AlignTopSingle";
- var z2 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M7.9999 1.12915C8.03875 1.12915 8.07673 1.13284 8.11352 1.13989H12.2599C13.6958 1.13989 14.8599 2.30395 14.8599 3.73989V7.88619C14.867 7.92301 14.8707 7.96102 14.8707 7.9999C14.8707 8.03878 14.867 8.0768 14.8599 8.11362V12.2599C14.8599 13.6958 13.6958 14.8599 12.2599 14.8599H8.11362C8.0768 14.867 8.03878 14.8707 7.9999 14.8707C7.96102 14.8707 7.92301 14.867 7.88619 14.8599H3.73989C2.30396 14.8599 1.13989 13.6958 1.13989 12.2599V8.11352C1.13284 8.07673 1.12915 8.03875 1.12915 7.9999C1.12915 7.96106 1.13284 7.92308 1.13989 7.88629V3.73989C1.13989 2.30396 2.30395 1.13989 3.73989 1.13989H7.88629C7.92308 1.13284 7.96106 1.12915 7.9999 1.12915ZM2.33989 8.5999V12.2599C2.33989 13.0331 2.9667 13.6599 3.73989 13.6599H7.3999V8.5999H2.33989ZM7.3999 7.3999H2.33989V3.73989C2.33989 2.9667 2.96669 2.33989 3.73989 2.33989H7.3999V7.3999ZM8.5999 8.5999V13.6599H12.2599C13.0331 13.6599 13.6599 13.0331 13.6599 12.2599V8.5999H8.5999ZM13.6599 7.3999H8.5999V2.33989H12.2599C13.0331 2.33989 13.6599 2.96669 13.6599 3.73989V7.3999Z", fillRule: "evenodd", clipRule: "evenodd" } }] };
- var d6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "all-border-single",
- ref: t,
- icon: z2
- }));
- });
- d6.displayName = "AllBorderSingle";
- var Z2 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M8.5999 5.9999C8.5999 5.66853 8.33127 5.3999 7.9999 5.3999C7.66853 5.3999 7.3999 5.66853 7.3999 5.9999V7.40329L6.004 7.4051C5.67263 7.40553 5.40435 7.67451 5.40479 8.00588C5.40522 8.33725 5.6742 8.60553 6.00557 8.6051L7.3999 8.60329V9.9999C7.3999 10.3313 7.66853 10.5999 7.9999 10.5999C8.33127 10.5999 8.5999 10.3313 8.5999 9.9999V8.60172L10.0004 8.5999C10.3317 8.59947 10.6 8.33049 10.5996 7.99912C10.5992 7.66775 10.3302 7.39947 9.9988 7.3999L8.5999 7.40172V5.9999Z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M7.99958 1.73315C4.53861 1.73315 1.73291 4.53885 1.73291 7.99982C1.73291 11.4608 4.53861 14.2665 7.99958 14.2665C9.51395 14.2665 10.9029 13.7293 11.9862 12.8351L13.2422 14.0908C13.4765 14.3251 13.8564 14.3251 14.0907 14.0907C14.325 13.8564 14.325 13.4765 14.0906 13.2422L12.8347 11.9866C13.729 10.9033 14.2662 9.51428 14.2662 7.99982C14.2662 4.53885 11.4605 1.73315 7.99958 1.73315ZM2.93291 7.99982C2.93291 5.20159 5.20135 2.93315 7.99958 2.93315C10.7978 2.93315 13.0662 5.20159 13.0662 7.99982C13.0662 10.7981 10.7978 13.0665 7.99958 13.0665C5.20135 13.0665 2.93291 10.7981 2.93291 7.99982Z", fillRule: "evenodd", clipRule: "evenodd" } }] };
- var h6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "amplify-single",
- ref: t,
- icon: Z2
- }));
- });
- h6.displayName = "AmplifySingle";
- var W2 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_107_1317", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#D9D9D9", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_107_1317)" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M2.29713 1.98047C1.94717 1.98047 1.66348 2.26416 1.66348 2.61412 1.66348 2.96408 1.94717 3.24777 2.29713 3.24777H13.7028C14.0528 3.24777 14.3365 2.96408 14.3365 2.61412 14.3365 2.26416 14.0528 1.98047 13.7028 1.98047H2.29713zM2.29713 12.7525C1.94717 12.7525 1.66348 13.0362 1.66348 13.3862 1.66348 13.7361 1.94717 14.0198 2.29713 14.0198H13.7028C14.0528 14.0198 14.3365 13.7361 14.3365 13.3862 14.3365 13.0362 14.0528 12.7525 13.7028 12.7525H2.29713z" } }, { tag: "path", attrs: { fill: "colorChannel1", d: "M7.42163 4.25588L4.25471 11.2231C4.10989 11.5417 4.25077 11.9174 4.56935 12.0622C4.88794 12.207 5.2636 12.0661 5.40841 11.7475L6.24766 9.90119H9.75197L10.5912 11.7475C10.736 12.0661 11.1117 12.207 11.4303 12.0622C11.7489 11.9174 11.8897 11.5417 11.7449 11.2231L8.578 4.25589C8.5675 4.23244 8.55557 4.20961 8.54227 4.18755C8.49012 4.10102 8.41688 4.0262 8.32579 3.97171C8.301 3.95688 8.27527 3.94377 8.24878 3.93246C8.16764 3.89775 8.08309 3.8813 7.99981 3.88135C7.88457 3.88142 7.77177 3.91309 7.67384 3.97171C7.58714 4.02361 7.5121 4.09664 7.45735 4.18755C7.44406 4.20961 7.43213 4.23244 7.42163 4.25588ZM9.17592 8.63388L7.99981 6.04644L6.8237 8.63388H9.17592Z", fillRule: "evenodd", clipRule: "evenodd" } }] }] };
- var p6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "auto-height",
- ref: t,
- icon: W2
- }));
- });
- p6.displayName = "AutoHeight";
- var G2 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_102_1171", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#D9D9D9", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_102_1171)" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M1.98032 13.7028C1.98032 14.0527 2.26401 14.3364 2.61397 14.3364 2.96392 14.3364 3.24762 14.0527 3.24762 13.7028L3.24762 2.29706C3.24762 1.9471 2.96392 1.66341 2.61397 1.66341 2.26401 1.66341 1.98032 1.9471 1.98032 2.29706L1.98032 13.7028zM12.7524 13.7028C12.7524 14.0527 13.0361 14.3364 13.386 14.3364 13.736 14.3364 14.0197 14.0527 14.0197 13.7028L14.0197 2.29706C14.0197 1.9471 13.736 1.66341 13.386 1.66341 13.0361 1.66341 12.7524 1.9471 12.7524 2.29706L12.7524 13.7028z" } }, { tag: "path", attrs: { fill: "colorChannel1", d: "M7.42187 4.25588L4.25495 11.2231C4.11014 11.5417 4.25101 11.9174 4.5696 12.0622C4.88819 12.207 5.26385 12.0661 5.40866 11.7475L6.2479 9.90119H9.75222L10.5915 11.7475C10.7363 12.0661 11.1119 12.207 11.4305 12.0622C11.7491 11.9174 11.89 11.5417 11.7452 11.2231L8.57825 4.25589C8.56775 4.23244 8.55582 4.20961 8.54252 4.18755C8.49037 4.10102 8.41713 4.0262 8.32603 3.97171C8.30125 3.95688 8.27551 3.94377 8.24902 3.93246C8.16788 3.89775 8.08333 3.8813 8.00006 3.88135C7.88481 3.88142 7.77201 3.91309 7.67409 3.97171C7.58739 4.02361 7.51235 4.09664 7.4576 4.18755C7.4443 4.20961 7.43237 4.23244 7.42187 4.25588ZM9.17617 8.63388L8.00006 6.04644L6.82395 8.63388H9.17617Z", fillRule: "evenodd", clipRule: "evenodd" } }] }] };
- var v6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "auto-width",
- ref: t,
- icon: G2
- }));
- });
- v6.displayName = "AutoWidth";
- var Y2 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M2.5999 2.2001C2.5999 1.86873 2.33127 1.6001 1.9999 1.6001 1.66853 1.6001 1.3999 1.86873 1.3999 2.2001V13.8001C1.3999 14.1315 1.66853 14.4001 1.9999 14.4001 2.33127 14.4001 2.5999 14.1315 2.5999 13.8001V2.2001zM14.5999 2.2001C14.5999 1.86873 14.3313 1.6001 13.9999 1.6001 13.6685 1.6001 13.3999 1.86873 13.3999 2.2001V13.8001C13.3999 14.1315 13.6685 14.4001 13.9999 14.4001 14.3313 14.4001 14.5999 14.1315 14.5999 13.8001V2.2001zM6.424 8.24239C6.65832 8.4767 6.65832 8.8566 6.424 9.09091L6.11502 9.3999H9.33307C10.1063 9.3999 10.7331 8.7731 10.7331 7.9999 10.7331 7.22671 10.1063 6.5999 9.33307 6.5999H4.6666L4.66645 5.3999H9.33307C10.769 5.3999 11.9331 6.56396 11.9331 7.9999 11.9331 9.43584 10.769 10.5999 9.33307 10.5999H6.11485L6.424 10.9091C6.65832 11.1434 6.65832 11.5233 6.424 11.7576 6.18969 11.9919 5.80979 11.9919 5.57548 11.7576L4.24214 10.4242C4.00783 10.1899 4.00783 9.81003 4.24214 9.57572L5.57548 8.24239C5.80979 8.00807 6.18969 8.00807 6.424 8.24239z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M4.6666 6.5999C4.33523 6.5999 4.06641 6.33127 4.06641 5.9999C4.06641 5.66853 4.33508 5.3999 4.66645 5.3999L4.6666 6.5999Z" } }] };
- var m6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "autowrap-single",
- ref: t,
- icon: Y2
- }));
- });
- m6.displayName = "AutowrapSingle";
- var q2 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M2.36977 4.66364C2.67525 3.75535 3.95995 3.75535 4.26543 4.66364L6.0261 9.89866C6.13173 10.2127 5.96275 10.553 5.64867 10.6586C5.33459 10.7643 4.99434 10.5953 4.8887 10.2812L3.3176 5.60982L1.7465 10.2812C1.64086 10.5953 1.30062 10.7643 0.986532 10.6586C0.672449 10.553 0.503468 10.2127 0.609102 9.89866L2.36977 4.66364Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M1.6333 7.87051C1.6333 7.53914 1.90193 7.27051 2.2333 7.27051H4.52594C4.85732 7.27051 5.12594 7.53914 5.12594 7.87051 5.12594 8.20188 4.85732 8.47051 4.52594 8.47051H2.2333C1.90193 8.47051 1.6333 8.20188 1.6333 7.87051zM9.26385 10.0162C8.9281 10.853 7.74343 10.853 7.40768 10.0162L6.02978 6.58181C5.90639 6.27427 6.05568 5.92493 6.36322 5.80154 6.67076 5.67815 7.0201 5.82744 7.14349 6.13498L8.33577 9.10668 9.52805 6.13498C9.65143 5.82744 10.0008 5.67815 10.3083 5.80154 10.6159 5.92493 10.7651 6.27427 10.6418 6.58181L9.26385 10.0162zM14.8178 5.68628C15.1491 5.68628 15.4178 5.95491 15.4178 6.28628L15.4178 10.845C15.4178 11.9648 14.51 12.8726 13.3901 12.8726H12.8888C11.8122 12.8726 10.9395 11.9999 10.9395 10.9233 10.9395 10.5919 11.2081 10.3233 11.5395 10.3233 11.8708 10.3233 12.1395 10.5919 12.1395 10.9233 12.1395 11.3371 12.4749 11.6726 12.8888 11.6726H13.3901C13.8472 11.6726 14.2178 11.3021 14.2178 10.845L14.2178 6.28628C14.2178 5.95491 14.4864 5.68628 14.8178 5.68628z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M10.9395 7.82632C10.9395 6.58966 11.942 5.58716 13.1786 5.58716C14.4153 5.58716 15.4178 6.58966 15.4178 7.82632C15.4178 9.06297 14.4153 10.0655 13.1786 10.0655C11.942 10.0655 10.9395 9.06297 10.9395 7.82632ZM13.1786 6.78716C12.6047 6.78716 12.1395 7.2524 12.1395 7.82632C12.1395 8.40023 12.6047 8.86547 13.1786 8.86547C13.7525 8.86547 14.2178 8.40023 14.2178 7.82632C14.2178 7.2524 13.7525 6.78716 13.1786 6.78716Z", fillRule: "evenodd", clipRule: "evenodd" } }] };
- var g6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "avg-single",
- ref: t,
- icon: q2
- }));
- });
- g6.displayName = "AvgSingle";
- var X2 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 17 17", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_436_28", style: { maskType: "alpha" }, width: 17, height: 17, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#D9D9D9", d: "M0.35 0.72H16.35V16.72H0.35z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_436_28)", fillRule: "evenodd", clipRule: "evenodd" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M13.5853 14.7987L2.27159 3.485L3.12012 2.63647L14.4338 13.9502L13.5853 14.7987Z" } }, { tag: "path", attrs: { fill: "#E5E5E5", d: "M1.69629 12.8102L1.69629 14.1743C1.69629 14.8371 2.23355 15.3743 2.89629 15.3743L4.26042 15.3743L4.26042 14.0443L3.02629 14.0443L3.02629 12.8102L1.69629 12.8102ZM4.26042 2.06128L2.89629 2.06128C2.23355 2.06128 1.69629 2.59854 1.69629 3.26128L1.69629 4.62541L3.02629 4.62541L3.02629 3.39128L4.26042 3.39128L4.26042 2.06128ZM1.69629 10.0819L3.02629 10.0819L3.02629 7.35367L1.69629 7.35367L1.69629 10.0819ZM6.98868 2.06128L6.98868 3.39128L9.71693 3.39128L9.71693 2.06128L6.98868 2.06128ZM12.4452 2.06128L12.4452 3.39128L13.6793 3.39128L13.6793 4.62541L15.0093 4.62541L15.0093 3.26128C15.0093 2.59854 14.4721 2.06128 13.8093 2.06128L12.4452 2.06128ZM15.0093 7.35367L13.6793 7.35367L13.6793 10.0819L15.0093 10.0819L15.0093 7.35367ZM15.0093 12.8102L13.6793 12.8102L13.6793 14.0443L12.4452 14.0443L12.4452 15.3743L13.8093 15.3743C14.4721 15.3743 15.0093 14.8371 15.0093 14.1743L15.0093 12.8102ZM9.71693 15.3743L9.71693 14.0443L6.98868 14.0443L6.98868 15.3743L9.71693 15.3743Z" } }] }] };
- var C6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "back-slash-single",
- ref: t,
- icon: X2
- }));
- });
- C6.displayName = "BackSlashSingle";
- var Q2 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M4.65791 1.30005C3.77355 1.30005 3.05664 2.01696 3.05664 2.90132V12.8588C3.05664 13.8755 3.88086 14.6998 4.89759 14.6998H9.1016C11.2233 14.6998 12.9433 12.9798 12.9433 10.8581C12.9433 9.13925 11.8145 7.68407 10.2578 7.1934C10.8806 6.56856 11.2655 5.70659 11.2655 4.75472C11.2655 2.84676 9.71883 1.30005 7.81087 1.30005H4.65791ZM4.25664 2.90132C4.25664 2.6797 4.4363 2.50005 4.65791 2.50005H7.81087C9.05609 2.50005 10.0655 3.5095 10.0655 4.75472C10.0655 5.99993 9.05609 7.00938 7.81087 7.00938H4.25664V2.90132ZM4.25664 12.8588V8.21636H9.1016C10.5606 8.21636 11.7433 9.39909 11.7433 10.8581C11.7433 12.317 10.5606 13.4998 9.1016 13.4998H4.89759C4.5436 13.4998 4.25664 13.2128 4.25664 12.8588Z", fillRule: "evenodd", clipRule: "evenodd" } }] };
- var b6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "bold-single",
- ref: t,
- icon: Q2
- }));
- });
- b6.displayName = "BoldSingle";
- var J2 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M2.59219 1.3667C1.70853 1.3667 0.992188 2.08304 0.992188 2.9667V4.9667C0.992188 5.85036 1.70853 6.5667 2.59219 6.5667H11.2694C12.1531 6.5667 12.8694 5.85036 12.8694 4.9667V4.79985H13.8075V8.18642C13.8075 8.38777 13.6579 8.55773 13.4581 8.58321L7.10511 9.39341C6.30618 9.4953 5.70752 10.1752 5.70752 10.9806V14.0332C5.70752 14.3646 5.97615 14.6332 6.30752 14.6332C6.63889 14.6332 6.90752 14.3646 6.90752 14.0332V10.9806C6.90752 10.7792 7.05718 10.6092 7.25692 10.5838L13.6099 9.77356C14.4089 9.67168 15.0075 8.99182 15.0075 8.18642V4.19985C15.0075 3.86848 14.7389 3.59985 14.4075 3.59985H12.8694V2.9667C12.8694 2.08304 12.1531 1.3667 11.2694 1.3667H2.59219ZM2.19219 2.9667C2.19219 2.74579 2.37127 2.5667 2.59219 2.5667H11.2694C11.4903 2.5667 11.6694 2.74579 11.6694 2.9667V4.9667C11.6694 5.18761 11.4903 5.3667 11.2694 5.3667H2.59219C2.37127 5.3667 2.19219 5.18761 2.19219 4.9667V2.9667Z", fillRule: "evenodd", clipRule: "evenodd" } }] };
- var y6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "brush-single",
- ref: t,
- icon: J2
- }));
- });
- y6.displayName = "BrushSingle";
- var K2 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M1.14014 3.73989C1.14014 2.30396 2.3042 1.13989 3.74014 1.13989H12.2601C13.6961 1.13989 14.8601 2.30395 14.8601 3.73989V4.86989C14.8601 5.20126 14.5915 5.46989 14.2601 5.46989C13.9288 5.46989 13.6601 5.20126 13.6601 4.86989V3.73989C13.6601 2.96669 13.0333 2.33989 12.2601 2.33989H8.34014V3.20284C8.34014 3.20446 8.34014 3.20608 8.34014 3.2077V6.73989C8.34014 7.62355 7.62379 8.33989 6.74014 8.33989H2.70277C2.70112 8.3399 2.69947 8.3399 2.69781 8.33989H2.34014V12.2599C2.34014 13.0331 2.96694 13.6599 3.74014 13.6599H12.2601C13.0333 13.6599 13.6601 13.0331 13.6601 12.2599V11.7299C13.6601 11.3985 13.9288 11.1299 14.2601 11.1299C14.5915 11.1299 14.8601 11.3985 14.8601 11.7299V12.2599C14.8601 13.6958 13.6961 14.8599 12.2601 14.8599H3.74014C2.3042 14.8599 1.14014 13.6958 1.14014 12.2599V3.73989ZM4.26409 7.13989H6.74014C6.96105 7.13989 7.14014 6.96081 7.14014 6.73989V4.55237L4.26409 7.13989ZM7.14014 2.93819V2.33989H6.28159L2.34044 5.614L2.34056 7.13989H2.46992L7.14014 2.93819ZM2.34032 4.05403L4.40368 2.33989H3.74029C2.96705 2.33989 2.34023 2.96676 2.34029 3.74L2.34032 4.05403Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M8.73877 9.00298C8.73877 9.55526 9.18649 10.003 9.73877 10.003H11.7792C12.1106 10.003 12.3792 9.73435 12.3792 9.40298C12.3792 9.07161 12.1106 8.80298 11.7792 8.80298H10.7874L12.2304 7.36157C12.7051 6.88734 13.4743 6.88754 13.9488 7.36202C14.4234 7.83667 14.4234 8.60624 13.9488 9.0809L13.2095 9.82016C12.9752 10.0545 12.9752 10.4344 13.2095 10.6687C13.4439 10.903 13.8238 10.903 14.0581 10.6687L14.7973 9.92943C15.7406 8.98614 15.7406 7.45678 14.7973 6.51349C13.8544 5.57056 12.3257 5.57015 11.3823 6.51259L9.93877 7.95459V6.96255C9.93877 6.63118 9.67014 6.36255 9.33877 6.36255C9.0074 6.36255 8.73877 6.63118 8.73877 6.96255V9.00298Z" } }] };
- var L6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "cancel-freeze-single",
- ref: t,
- icon: K2
- }));
- });
- L6.displayName = "CancelFreezeSingle";
- var e4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M12.5939 1.13916L10.6607 1.1392C9.55628 1.13922 8.66093 2.03448 8.66077 3.13893L8.66063 4.19191C8.66059 4.52328 8.92918 4.79194 9.26055 4.79199 9.59192 4.79204 9.86059 4.52344 9.86063 4.19207L9.86077 3.13909C9.86084 2.69731 10.219 2.33921 10.6608 2.3392L12.594 2.33916C13.0358 2.33915 13.394 2.69732 13.394 3.13916L13.394 12.8612C13.394 13.303 13.0358 13.6612 12.594 13.6612H10.6606C10.2188 13.6612 9.86063 13.303 9.86063 12.8612V11.8084C9.86063 11.4771 9.592 11.2084 9.26063 11.2084 8.92926 11.2084 8.66063 11.4771 8.66063 11.8084V12.8612C8.66063 13.9658 9.55606 14.8612 10.6606 14.8612H12.594C13.6986 14.8612 14.594 13.9658 14.594 12.8612L14.594 3.13915C14.594 2.03457 13.6985 1.13914 12.5939 1.13916zM5.33888 1.13919L3.40568 1.13926C2.30114 1.13931 1.40575 2.03474 1.40576 3.13928L1.40586 12.8612C1.40587 13.9658 2.3013 14.8612 3.40586 14.8612H5.33896C6.44353 14.8612 7.33896 13.9658 7.33896 12.8612V11.8084C7.33896 11.4771 7.07033 11.2084 6.73896 11.2084 6.40759 11.2084 6.13896 11.4771 6.13896 11.8084V12.8612C6.13896 13.303 5.78079 13.6612 5.33896 13.6612H3.40586C2.96403 13.6612 2.60586 13.303 2.60586 12.8612L2.60576 3.13927C2.60576 2.69745 2.96391 2.33928 3.40573 2.33926L5.33893 2.33919C5.78077 2.33917 6.13896 2.69735 6.13896 3.13919V4.192C6.13896 4.52337 6.40759 4.792 6.73896 4.792 7.07033 4.792 7.33896 4.52337 7.33896 4.192V3.13919C7.33896 2.03459 6.44348 1.13914 5.33888 1.13919z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M9.20731 5.99993C8.973 6.23424 8.973 6.61414 9.20731 6.84845L10.0912 7.73235C10.2474 7.88856 10.2474 8.14182 10.0912 8.29803L9.20731 9.18192C8.973 9.41624 8.973 9.79614 9.20731 10.0305 9.44163 10.2648 9.82153 10.2648 10.0558 10.0305L10.9397 9.14654C11.5646 8.52171 11.5646 7.50867 10.9397 6.88384L10.0558 5.99993C9.82153 5.76561 9.44163 5.76561 9.20731 5.99993zM5.94379 5.99993C6.1781 5.76561 6.558 5.76561 6.79232 5.99993 7.02663 6.23424 7.02663 6.61414 6.79232 6.84845L5.90842 7.73235C5.75221 7.88856 5.75221 8.14182 5.90842 8.29803L6.79232 9.18193C7.02663 9.41624 7.02663 9.79614 6.79232 10.0305 6.558 10.2648 6.1781 10.2648 5.94379 10.0305L5.0599 9.14656C4.43506 8.52172 4.43506 7.50866 5.0599 6.88382L5.94379 5.99993z" } }] };
- var _6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "cancel-merge-single",
- ref: t,
- icon: e4
- }));
- });
- _6.displayName = "CancelMergeSingle";
- var t4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M14.1544 3.75557C14.3887 3.98988 14.3887 4.36978 14.1544 4.6041L6.51409 12.2444C6.40157 12.3569 6.24896 12.4201 6.08983 12.4201C5.9307 12.4201 5.77808 12.3569 5.66556 12.2444L1.84541 8.42425C1.6111 8.18993 1.6111 7.81003 1.84541 7.57572C2.07973 7.34141 2.45963 7.34141 2.69394 7.57572L6.08983 10.9716L13.3059 3.75557C13.5402 3.52126 13.9201 3.52126 14.1544 3.75557Z", fillRule: "evenodd", clipRule: "evenodd" } }] };
- var S6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "check-mark-single",
- ref: t,
- icon: t4
- }));
- });
- S6.displayName = "CheckMarkSingle";
- var n4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_102_1161", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#D9D9D9", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_102_1161)" }, children: [{ tag: "path", attrs: { fill: "colorChannel1", d: "M5.36831 3.22148C5.36831 1.94497 6.40313 0.910156 7.67964 0.910156C8.95615 0.910156 9.99097 1.94497 9.99097 3.22149V6.74754H8.72649V3.22149C8.72649 2.64333 8.2578 2.17464 7.67964 2.17464C7.10148 2.17464 6.63279 2.64333 6.63279 3.22148V6.74754H5.36831V3.22148Z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M5.00091 5.47314C3.33644 5.47314 1.9499 6.74914 1.81192 8.40788L1.54428 11.6254C1.38911 13.4909 2.86133 15.0906 4.73327 15.0906H13.6667C14.175 15.0906 14.5544 14.6228 14.4495 14.1255L13.0262 7.37781C12.792 6.26766 11.8125 5.47314 10.6779 5.47314H5.00091ZM10.6779 6.75314H5.00091C4.00223 6.75314 3.1703 7.51874 3.08751 8.51399L2.81988 11.7315C2.72677 12.8508 3.61011 13.8106 4.73327 13.8106H5.7695C5.26362 13.0554 5.05585 12.0527 5.31224 11.047C5.40861 10.6689 5.76242 10.4493 6.10249 10.5564C6.44256 10.6636 6.64012 11.0569 6.54374 11.4349C6.27517 12.4885 6.92898 13.6738 7.87916 13.8106H9.01412C8.50824 13.0554 8.30047 12.0527 8.55686 11.047C8.65324 10.6689 9.00704 10.4493 9.34711 10.5564C9.68719 10.6636 9.88474 11.0569 9.78837 11.4349C9.51979 12.4885 10.1736 13.6738 11.1238 13.8106H13.0749L11.7738 7.64199C11.6645 7.12392 11.2073 6.75314 10.6779 6.75314Z", fillRule: "evenodd", clipRule: "evenodd" } }] }] };
- var M6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "clear-format",
- ref: t,
- icon: n4
- }));
- });
- M6.displayName = "ClearFormat";
- var r4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M3.71274 2.86421C3.47843 2.6299 3.09853 2.6299 2.86421 2.86421C2.6299 3.09853 2.6299 3.47843 2.86421 3.71274L7.15154 8.00007L2.86421 12.2874C2.6299 12.5217 2.6299 12.9016 2.86421 13.1359C3.09853 13.3702 3.47843 13.3702 3.71274 13.1359L8.00007 8.84859L12.2874 13.1359C12.5217 13.3702 12.9016 13.3702 13.1359 13.1359C13.3702 12.9016 13.3702 12.5217 13.1359 12.2874L8.84859 8.00007L13.1359 3.71274C13.3702 3.47843 13.3702 3.09853 13.1359 2.86421C12.9016 2.6299 12.5217 2.6299 12.2874 2.86421L8.00007 7.15154L3.71274 2.86421Z" } }] };
- var zt = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "close-single",
- ref: t,
- icon: r4
- }));
- });
- zt.displayName = "CloseSingle";
- var i4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M.361328 7.79626C.361328 6.0459 1.78028 4.62695 3.53064 4.62695 4.18424 4.62695 4.80612 4.90867 5.23714 5.40001L5.30149 5.47337C5.52001 5.72247 5.49522 6.10156 5.24612 6.32009 4.99701 6.53861 4.61792 6.51382 4.3994 6.26471L4.33504 6.19135C4.13187 5.95975 3.83873 5.82695 3.53064 5.82695 2.44302 5.82695 1.56133 6.70864 1.56133 7.79626V8.21416C1.56133 9.29594 2.43828 10.1729 3.52006 10.1729 3.83123 10.1729 4.12678 10.0366 4.32877 9.79988L4.39405 9.72339C4.60916 9.47133 4.98788 9.44138 5.23994 9.65649 5.492 9.8716 5.52195 10.2503 5.30684 10.5024L5.24156 10.5789C4.81157 11.0827 4.18244 11.3729 3.52006 11.3729 1.77554 11.3729.361328 9.95868.361328 8.21416V7.79626zM13.2084 4.92822C13.5398 4.92822 13.8084 5.19685 13.8084 5.52822V9.97297C13.8084 10.0834 13.8979 10.173 14.0084 10.173H15.0384C15.3698 10.173 15.6384 10.4416 15.6384 10.773 15.6384 11.1043 15.3698 11.373 15.0384 11.373H14.0084C13.2352 11.373 12.6084 10.7462 12.6084 9.97297V5.52822C12.6084 5.19685 12.877 4.92822 13.2084 4.92822z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M10.9893 7.42715C10.9893 7.09578 11.2579 6.82715 11.5893 6.82715H14.9428C15.2742 6.82715 15.5428 7.09578 15.5428 7.42715 15.5428 7.75852 15.2742 8.02715 14.9428 8.02715H11.5893C11.2579 8.02715 10.9893 7.75852 10.9893 7.42715zM9.46366 8.71622C9.46366 8.18879 8.9622 7.80569 8.45332 7.94436L8.12019 8.03514C7.68503 8.15373 7.38311 8.54894 7.38311 8.99996V10.7731C7.38311 11.1044 7.11448 11.3731 6.78311 11.3731 6.45173 11.3731 6.18311 11.1044 6.18311 10.7731V8.99996C6.18311 8.0077 6.84733 7.13825 7.80469 6.87736L8.13782 6.78658C9.41001 6.43991 10.6637 7.39764 10.6637 8.71622V10.7731C10.6637 11.1044 10.395 11.3731 10.0637 11.3731 9.73229 11.3731 9.46366 11.1044 9.46366 10.7731V8.71622z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M6.79079 6.75531C7.12216 6.75528 7.39081 7.02389 7.39084 7.35526L7.39109 10.773C7.39112 11.1043 7.12251 11.373 6.79114 11.373C6.45977 11.373 6.19112 11.1044 6.19109 10.7731L6.19084 7.35535C6.19081 7.02398 6.45942 6.75533 6.79079 6.75531Z", fillRule: "evenodd", clipRule: "evenodd" } }] };
- var w6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "cnt-single",
- ref: t,
- icon: i4
- }));
- });
- w6.displayName = "CntSingle";
- var o4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M4.6662 11.3337C4.4894 11.3337 4.31986 11.2634 4.19487 11.1384L1.5282 8.47175C1.40322 8.34673 1.33301 8.17719 1.33301 8.00042 1.33301 7.82364 1.40322 7.6541 1.5282 7.52908L4.19487 4.86242C4.25636 4.79874 4.32993 4.74795 4.41126 4.71302 4.4926 4.67808 4.58008 4.65969 4.6686 4.65892 4.75712 4.65815 4.8449 4.67501 4.92683 4.70853 5.00877 4.74206 5.0832 4.79156 5.1458 4.85415 5.20839 4.91675 5.25789 4.99118 5.29141 5.07311 5.32493 5.15504 5.3418 5.24283 5.34103 5.33135 5.34026 5.41987 5.32187 5.50735 5.28693 5.58869 5.25199 5.67002 5.20121 5.74358 5.13753 5.80508L2.9422 8.00042 5.13753 10.1957C5.23074 10.289 5.29421 10.4078 5.31992 10.5371 5.34563 10.6664 5.33243 10.8004 5.28198 10.9222 5.23154 11.044 5.14611 11.1481 5.0365 11.2214 4.9269 11.2946 4.79803 11.3337 4.6662 11.3337zM11.3329 11.3337C11.201 11.3337 11.0722 11.2946 10.9626 11.2214 10.853 11.1481 10.7675 11.044 10.7171 10.9222 10.6666 10.8004 10.6534 10.6664 10.6791 10.5371 10.7049 10.4078 10.7683 10.289 10.8615 10.1957L13.0569 8.00042 10.8615 5.80508C10.7979 5.74358 10.7471 5.67002 10.7121 5.58869 10.6772 5.50735 10.6588 5.41987 10.658 5.33135 10.6573 5.24283 10.6741 5.15504 10.7077 5.07311 10.7412 4.99118 10.7907 4.91675 10.8533 4.85415 10.9159 4.79156 10.9903 4.74206 11.0722 4.70853 11.1542 4.67501 11.2419 4.65815 11.3305 4.65892 11.419 4.65969 11.5065 4.67808 11.5878 4.71302 11.6691 4.74795 11.7427 4.79874 11.8042 4.86242L14.4709 7.52908C14.5958 7.6541 14.6661 7.82364 14.6661 8.00042 14.6661 8.17719 14.5958 8.34673 14.4709 8.47175L11.8042 11.1384C11.6792 11.2634 11.5097 11.3337 11.3329 11.3337zM7.33287 13.3337C7.23725 13.3339 7.14274 13.3134 7.05573 13.2738 6.96872 13.2341 6.89126 13.1762 6.82859 13.104 6.76593 13.0318 6.71953 12.947 6.69255 12.8552 6.66556 12.7635 6.65862 12.6671 6.6722 12.5724L8.00553 3.23908C8.03064 3.06404 8.12425 2.90614 8.26578 2.80012 8.40731 2.6941 8.58516 2.64864 8.7602 2.67375 8.93524 2.69886 9.09314 2.79247 9.19916 2.934 9.30518 3.07553 9.35064 3.25337 9.32553 3.42842L7.9922 12.7617C7.96944 12.9204 7.89025 13.0656 7.76916 13.1707 7.64807 13.2757 7.49318 13.3336 7.33287 13.3337z" } }] };
- var x6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "code-single",
- ref: t,
- icon: o4
- }));
- });
- x6.displayName = "CodeSingle";
- var a4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 17 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "colorChannel1", d: "M5.59 1.51H10.46V14.459999999999999H5.59z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M1.34863 2.53325C1.34863 1.87051 1.88589 1.33325 2.54863 1.33325H13.482C14.1447 1.33325 14.682 1.87051 14.682 2.53325V13.4666C14.682 14.1294 14.1447 14.6666 13.482 14.6666H2.54863C1.88589 14.6666 1.34863 14.1294 1.34863 13.4666V2.53325ZM13.082 2.63325C13.2477 2.63325 13.382 2.76757 13.382 2.93325V5.09946C13.382 5.26515 13.2477 5.39946 13.082 5.39946H10.9708C10.8052 5.39946 10.6708 5.26515 10.6708 5.09946V2.93325C10.6708 2.76757 10.8052 2.63325 10.9708 2.63325H13.082ZM9.37085 2.93325C9.37085 2.76757 9.23653 2.63325 9.07085 2.63325H6.95974C6.79406 2.63325 6.65974 2.76757 6.65974 2.93325V5.09946C6.65974 5.26515 6.79406 5.39946 6.95974 5.39946L9.07085 5.39946C9.23654 5.39946 9.37085 5.26515 9.37085 5.09946V2.93325ZM5.35974 2.93325C5.35974 2.76757 5.22543 2.63325 5.05974 2.63325H2.94863C2.78295 2.63325 2.64863 2.76757 2.64863 2.93325V5.09946C2.64863 5.26515 2.78295 5.39946 2.94863 5.39946H5.05974C5.22543 5.39946 5.35974 5.26515 5.35974 5.09946V2.93325ZM2.94863 6.69946C2.78295 6.69946 2.64863 6.83378 2.64863 6.99946V9.11045C2.64863 9.27613 2.78295 9.41045 2.94863 9.41045H5.05974C5.22543 9.41045 5.35974 9.27613 5.35974 9.11045V6.99946C5.35974 6.83378 5.22543 6.69946 5.05974 6.69946H2.94863ZM2.94863 10.7104C2.78295 10.7104 2.64863 10.8448 2.64863 11.0104V13.0666C2.64863 13.2323 2.78295 13.3666 2.94863 13.3666H5.05974C5.22543 13.3666 5.35974 13.2323 5.35974 13.0666V11.0104C5.35974 10.8448 5.22543 10.7104 5.05974 10.7104H2.94863ZM6.65974 13.0666C6.65974 13.2323 6.79406 13.3666 6.95974 13.3666H9.07085C9.23653 13.3666 9.37085 13.2323 9.37085 13.0666V11.0104C9.37085 10.8448 9.23653 10.7104 9.07085 10.7104L6.95974 10.7104C6.79406 10.7104 6.65974 10.8448 6.65974 11.0104V13.0666ZM10.6708 13.0666C10.6708 13.2323 10.8052 13.3666 10.9708 13.3666H13.082C13.2477 13.3666 13.382 13.2323 13.382 13.0666V11.0104C13.382 10.8448 13.2477 10.7104 13.082 10.7104H10.9708C10.8052 10.7104 10.6708 10.8448 10.6708 11.0104V13.0666ZM13.082 9.41045C13.2477 9.41045 13.382 9.27613 13.382 9.11045V6.99946C13.382 6.83378 13.2477 6.69946 13.082 6.69946H10.9708C10.8052 6.69946 10.6708 6.83378 10.6708 6.99946V9.11045C10.6708 9.27613 10.8052 9.41045 10.9708 9.41045H13.082ZM6.95974 9.41045C6.79406 9.41045 6.65974 9.27613 6.65974 9.11045V6.99946C6.65974 6.83378 6.79406 6.69946 6.95974 6.69946L9.07085 6.69946C9.23653 6.69946 9.37085 6.83378 9.37085 6.99946V9.11045C9.37085 9.27613 9.23653 9.41045 9.07085 9.41045H6.95974Z", fillRule: "evenodd", clipRule: "evenodd" } }] };
- var E6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "conditions",
- ref: t,
- icon: a4
- }));
- });
- E6.displayName = "Conditions";
- var s4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 17 17", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_273_6444", style: { maskType: "alpha" }, width: 17, height: 17, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#D9D9D9", d: "M0.54 0.84H16.54V16.84H0.54z" } }] }, { tag: "g", attrs: { fill: "currentColor", mask: "url(#mask0_273_6444)" }, children: [{ tag: "path", attrs: { d: "M6.67742 7.37473V5.64139H9.74408V7.37473H6.67742Z" } }, { tag: "path", attrs: { d: "M2.41101 2.84136C2.41101 2.03134 3.06766 1.37469 3.87768 1.37469H13.211C14.021 1.37469 14.6777 2.03135 14.6777 2.84136V14.8414C14.6777 15.6514 14.021 16.308 13.211 16.308H3.87768C3.06767 16.308 2.41101 15.6514 2.41101 14.8414V2.84136ZM5.87742 10.0414C5.43559 10.0414 5.07742 10.3996 5.07742 10.8414C5.07742 11.2832 5.43559 11.6414 5.87742 11.6414H10.5441C10.9859 11.6414 11.3441 11.2832 11.3441 10.8414C11.3441 10.3996 10.9859 10.0414 10.5441 10.0414H5.87742ZM5.07742 12.8414C5.07742 12.3996 5.43559 12.0414 5.87742 12.0414H8.21075C8.65258 12.0414 9.01075 12.3996 9.01075 12.8414C9.01075 13.2832 8.65258 13.6414 8.21075 13.6414H5.87742C5.43559 13.6414 5.07742 13.2832 5.07742 12.8414ZM5.87742 4.04139C5.43559 4.04139 5.07742 4.39957 5.07742 4.84139V8.17473C5.07742 8.61655 5.43559 8.97473 5.87742 8.97473H10.5441C10.9859 8.97473 11.3441 8.61655 11.3441 8.17473V4.84139C11.3441 4.39957 10.9859 4.04139 10.5441 4.04139H5.87742Z", fillRule: "evenodd", clipRule: "evenodd" } }] }] };
- var H6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "content-single-16",
- ref: t,
- icon: s4
- }));
- });
- H6.displayName = "ContentSingle16";
- var l4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_102_1141", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_102_1141)", fillRule: "evenodd", clipRule: "evenodd" }, children: [{ tag: "path", attrs: { fill: "colorChannel1", d: "M5.4004 2.60213C5.25792 2.60213 5.14241 2.71763 5.14241 2.86011V4.32679C5.14241 4.67752 4.85809 4.96184 4.50736 4.96184C4.15663 4.96184 3.87231 4.67752 3.87231 4.32679V2.86011C3.87231 2.01618 4.55646 1.33203 5.4004 1.33203H13.14C13.984 1.33203 14.6681 2.01618 14.6681 2.86011V10.5998C14.6681 11.4437 13.984 12.1278 13.14 12.1278H11.6568C11.3061 12.1278 11.0218 11.8435 11.0218 11.4928C11.0218 11.1421 11.3061 10.8577 11.6568 10.8577H13.14C13.2825 10.8577 13.398 10.7422 13.398 10.5998V2.86011C13.398 2.71763 13.2825 2.60213 13.14 2.60213H5.4004Z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M1.33203 5.40015C1.33203 4.55622 2.01618 3.87207 2.86011 3.87207H10.5998C11.4437 3.87207 12.1278 4.55622 12.1278 5.40015V13.1398C12.1278 13.9837 11.4437 14.6679 10.5998 14.6679H2.86011C2.01618 14.6679 1.33203 13.9837 1.33203 13.1398V5.40015ZM2.86011 5.14217C2.71763 5.14217 2.60213 5.25767 2.60213 5.40015V13.1398C2.60213 13.2823 2.71763 13.3978 2.86011 13.3978H10.5998C10.7422 13.3978 10.8577 13.2823 10.8577 13.1398V5.40015C10.8577 5.25767 10.7422 5.14217 10.5998 5.14217H2.86011Z" } }] }] };
- var O6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "copy",
- ref: t,
- icon: l4
- }));
- });
- O6.displayName = "Copy";
- var c4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_102_1093", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_102_1093)", fillRule: "evenodd", clipRule: "evenodd" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M7.69148 5.44796C7.69148 5.07977 7.393 4.7813 7.02481 4.7813H3.25445C2.88626 4.7813 2.58779 5.07977 2.58779 5.44796V10.5516C2.58779 10.9198 2.88626 11.2183 3.25445 11.2183H7.02481C7.393 11.2183 7.69148 10.9198 7.69148 10.5516V5.44796ZM2.58779 3.50537C1.88311 3.50537 1.31186 4.07662 1.31186 4.7813V11.2183C1.31186 11.923 1.88311 12.4942 2.58779 12.4942H7.69148C8.39613 12.4942 8.96739 11.923 8.96739 11.2183V4.7813C8.96739 4.07662 8.39613 3.50537 7.69148 3.50537H2.58779Z" } }, { tag: "path", attrs: { fill: "colorChannel1", d: "M11.8919 10.4557C11.9671 10.4869 12.0496 10.5041 12.1361 10.5041C12.2226 10.5041 12.3051 10.4869 12.3803 10.4557C12.4555 10.4246 12.526 10.3784 12.5872 10.3172L14.5011 8.40335C14.7502 8.15421 14.7502 7.75028 14.5011 7.50114C14.2519 7.252 13.848 7.252 13.5989 7.50114L12.774 8.32595V6.13406C12.774 5.78172 12.4884 5.49609 12.1361 5.49609C11.7837 5.49609 11.4981 5.78172 11.4981 6.13406V8.32595L10.6733 7.50114C10.4241 7.252 10.0202 7.252 9.77106 7.50114C9.52192 7.75028 9.52192 8.15421 9.77106 8.40335L11.6847 10.3169M6.97288 9.84189C6.69858 10.1235 6.25386 10.1235 5.97956 9.84189L5.17866 9.01974L4.37769 9.84195C4.1034 10.1235 3.65867 10.1235 3.38437 9.84195C3.11008 9.56038 3.11008 9.10385 3.38437 8.82228L4.18534 8.00007L3.38439 7.17787C3.11009 6.8963 3.11009 6.43977 3.38439 6.1582C3.65869 5.87663 4.10341 5.87663 4.37771 6.1582L5.17866 6.9804L5.97954 6.15826C6.25384 5.87669 6.69857 5.87669 6.97287 6.15826C7.24716 6.43984 7.24716 6.89636 6.97286 7.17793L6.17198 8.00007L6.97288 8.82222C7.24718 9.10379 7.24718 9.56031 6.97288 9.84189Z" } }] }] };
- var R6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "delete-cell-move-down",
- ref: t,
- icon: c4
- }));
- });
- R6.displayName = "DeleteCellMoveDown";
- var u4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_252_31", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M16 16H32V32H16z", transform: "rotate(180 16 16)" } }] }, { tag: "g", attrs: { mask: "url(#mask0_252_31)", fillRule: "evenodd", clipRule: "evenodd" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M8.29012 10.552C8.29012 10.9202 8.5886 11.2187 8.95679 11.2187L12.7271 11.2187C13.0953 11.2187 13.3938 10.9202 13.3938 10.552L13.3938 5.44836C13.3938 5.08016 13.0953 4.7817 12.7271 4.7817L8.95678 4.7817C8.5886 4.7817 8.29012 5.08016 8.29012 5.44836L8.29012 10.552ZM13.3938 12.4946C14.0985 12.4946 14.6697 11.9234 14.6697 11.2187L14.6697 4.7817C14.6697 4.07703 14.0985 3.50576 13.3938 3.50576L8.29012 3.50576C7.58547 3.50576 7.0142 4.07703 7.0142 4.7817L7.0142 11.2187C7.0142 11.9234 7.58547 12.4946 8.29012 12.4946L13.3938 12.4946Z" } }, { tag: "path", attrs: { fill: "colorChannel1", d: "M1.37899 7.7562C1.34779 7.83142 1.33053 7.9139 1.33053 8.0004C1.33053 8.0869 1.34779 8.16938 1.37899 8.2446C1.41013 8.31985 1.45626 8.39034 1.51739 8.45151L3.43133 10.3654C3.68046 10.6145 4.08439 10.6145 4.33353 10.3654C4.58266 10.1163 4.58266 9.71232 4.33353 9.46318L3.50873 8.63836L5.70059 8.63836C6.05293 8.63836 6.33855 8.35273 6.33855 8.0004C6.33855 7.64806 6.05293 7.36244 5.70059 7.36244L3.50873 7.36244L4.33353 6.53762C4.58266 6.28848 4.58266 5.88455 4.33353 5.63541C4.08439 5.38627 3.68046 5.38627 3.43133 5.63541L1.51773 7.54899M9.00896 6.15858C9.28326 5.87701 9.72798 5.87701 10.0023 6.15858L10.8032 6.98073L11.6042 6.15852C11.8784 5.87695 12.3232 5.87695 12.5975 6.15852C12.8718 6.44009 12.8718 6.89661 12.5975 7.17819L11.7965 8.00041L12.5975 8.8226C12.8718 9.10417 12.8718 9.56069 12.5975 9.84227C12.3232 10.1238 11.8784 10.1238 11.6041 9.84227L10.8032 9.02007L10.0023 9.84221C9.728 10.1238 9.28327 10.1238 9.00897 9.84221C8.73468 9.56063 8.73468 9.10411 9.00898 8.82254L9.80987 8.00041L9.00896 7.17825C8.73466 6.89668 8.73466 6.44016 9.00896 6.15858Z" } }] }] };
- var T6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "delete-cell-shift-left",
- ref: t,
- icon: u4
- }));
- });
- T6.displayName = "DeleteCellShiftLeft";
- var f4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_102_1088", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_102_1088)", fillRule: "evenodd", clipRule: "evenodd" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M7.70985 5.44796C7.70985 5.07977 7.41137 4.7813 7.04318 4.7813H3.27282C2.90463 4.7813 2.60616 5.07977 2.60616 5.44796V10.5516C2.60616 10.9198 2.90463 11.2183 3.27282 11.2183H7.04318C7.41137 11.2183 7.70985 10.9198 7.70985 10.5516V5.44796ZM2.60616 3.50537C1.90148 3.50537 1.33023 4.07662 1.33023 4.7813V11.2183C1.33023 11.923 1.90148 12.4942 2.60616 12.4942H7.70985C8.4145 12.4942 8.98576 11.923 8.98576 11.2183V4.7813C8.98576 4.07662 8.4145 3.50537 7.70985 3.50537H2.60616Z" } }, { tag: "path", attrs: { fill: "colorChannel1", d: "M14.621 8.2438C14.6522 8.16858 14.6695 8.0861 14.6695 7.9996C14.6695 7.9131 14.6522 7.83062 14.621 7.7554C14.5899 7.68015 14.5438 7.60966 14.4826 7.54849L12.5687 5.63461C12.3196 5.38547 11.9156 5.38547 11.6665 5.63461C11.4174 5.88375 11.4174 6.28768 11.6665 6.53682L12.4913 7.36164H10.2994C9.94711 7.36164 9.66148 7.64727 9.66148 7.9996C9.66148 8.35194 9.94711 8.63756 10.2994 8.63756H12.4913L11.6665 9.46238C11.4174 9.71152 11.4174 10.1155 11.6665 10.3646C11.9156 10.6137 12.3196 10.6137 12.5687 10.3646L14.4823 8.45101M6.99107 9.84142C6.71677 10.123 6.27205 10.123 5.99775 9.84142L5.19685 9.01927L4.39588 9.84148C4.12159 10.1231 3.67686 10.1231 3.40256 9.84148C3.12826 9.55991 3.12826 9.10339 3.40256 8.82181L4.20353 7.99959L3.40258 7.1774C3.12828 6.89583 3.12828 6.43931 3.40258 6.15773C3.67688 5.87616 4.1216 5.87616 4.3959 6.15773L5.19685 6.97993L5.99773 6.15779C6.27203 5.87622 6.71676 5.87622 6.99106 6.15779C7.26535 6.43937 7.26535 6.89589 6.99105 7.17746L6.19017 7.99959L6.99107 8.82175C7.26537 9.10332 7.26537 9.55984 6.99107 9.84142Z" } }] }] };
- var N6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "delete-cell-shift-right",
- ref: t,
- icon: f4
- }));
- });
- N6.displayName = "DeleteCellShiftRight";
- var d4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_252_36", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M0 0H16V16H0z", transform: "matrix(1 0 0 -1 0 16)" } }] }, { tag: "g", attrs: { mask: "url(#mask0_252_36)", fillRule: "evenodd", clipRule: "evenodd" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M7.69172 10.552C7.69172 10.9202 7.39324 11.2187 7.02506 11.2187H3.2547C2.8865 11.2187 2.58803 10.9202 2.58803 10.552V5.44836C2.58803 5.08016 2.8865 4.7817 3.2547 4.7817H7.02506C7.39324 4.7817 7.69172 5.08016 7.69172 5.44836V10.552ZM2.58803 12.4946C1.88335 12.4946 1.3121 11.9234 1.3121 11.2187V4.7817C1.3121 4.07703 1.88335 3.50576 2.58803 3.50576H7.69172C8.39637 3.50576 8.96764 4.07703 8.96764 4.7817V11.2187C8.96764 11.9234 8.39637 12.4946 7.69172 12.4946H2.58803Z" } }, { tag: "path", attrs: { fill: "colorChannel1", d: "M11.892 5.54431C11.9672 5.51312 12.0497 5.49591 12.1362 5.49591C12.2227 5.49591 12.3052 5.51312 12.3804 5.54431C12.4557 5.57545 12.5261 5.62159 12.5873 5.68276L14.5012 7.59665C14.7503 7.84579 14.7503 8.24972 14.5012 8.49886C14.2521 8.748 13.8481 8.748 13.599 8.49886L12.7741 7.67405V9.86594C12.7741 10.2183 12.4885 10.5039 12.1362 10.5039C11.7839 10.5039 11.4983 10.2183 11.4983 9.86594V7.67405L10.6734 8.49886C10.4243 8.748 10.0203 8.748 9.77121 8.49886C9.52207 8.24972 9.52207 7.84579 9.77121 7.59665L11.6848 5.68305M6.97304 6.15811C6.69874 5.87653 6.25401 5.87654 5.97972 6.15811L5.17881 6.98026L4.37784 6.15805C4.10355 5.87647 3.65882 5.87647 3.38453 6.15805C3.11023 6.43962 3.11023 6.89615 3.38453 7.17772L4.18549 7.99993L3.38454 8.82213C3.11024 9.1037 3.11024 9.56023 3.38454 9.8418C3.65884 10.1234 4.10356 10.1234 4.37786 9.8418L5.17881 9.0196L5.9797 9.84174C6.254 10.1233 6.69872 10.1233 6.97302 9.84174C7.24732 9.56016 7.24732 9.10364 6.97302 8.82207L6.17213 7.99993L6.97304 7.17778C7.24734 6.89621 7.24734 6.43969 6.97304 6.15811Z" } }] }] };
- var I6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "delete-cell-shift-up",
- ref: t,
- icon: d4
- }));
- });
- I6.displayName = "DeleteCellShiftUp";
- var h4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_102_1098", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_102_1098)", fillRule: "evenodd", clipRule: "evenodd" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M11.9503 1.33317C12.6866 1.33317 13.2836 1.9301 13.2836 2.6665V13.3332C13.2836 14.0695 12.6866 14.6665 11.9503 14.6665H9.28359C8.54721 14.6665 7.95026 14.0696 7.95026 13.3332L7.95026 2.6665C7.95026 1.9301 8.54721 1.33317 9.28359 1.33317H11.9503ZM11.9503 2.6665V13.3332H9.28359V2.6665H11.9503Z" } }, { tag: "path", attrs: { fill: "colorChannel1", d: "M3.8542 6.29716C3.59385 6.03681 3.17174 6.03681 2.91139 6.29716C2.65104 6.55751 2.65104 6.97962 2.91139 7.23997L3.67157 8.00014L2.9114 8.76031C2.65105 9.02066 2.65105 9.44277 2.9114 9.70312C3.17175 9.96347 3.59387 9.96347 3.85421 9.70312L4.61437 8.94296L5.37459 9.70318C5.63494 9.96352 6.05705 9.96353 6.31741 9.70318C6.57775 9.44283 6.57775 9.02072 6.31741 8.76036L5.55718 8.00014L6.31742 7.23991C6.57777 6.97956 6.57777 6.55745 6.31742 6.2971C6.05707 6.03675 5.63496 6.03675 5.37461 6.2971L4.61437 7.05734L3.8542 6.29716Z" } }] }] };
- var V6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "delete-column",
- ref: t,
- icon: h4
- }));
- });
- V6.displayName = "DeleteColumn";
- var p4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_102_1103", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_102_1103)", fillRule: "evenodd", clipRule: "evenodd" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M14.6666 11.9502C14.6666 12.6866 14.0697 13.2835 13.3333 13.2835H2.66665C1.93027 13.2835 1.33331 12.6866 1.33331 11.9502V9.28353C1.33331 8.54715 1.93027 7.9502 2.66665 7.9502L13.3333 7.9502C14.0697 7.9502 14.6666 8.54715 14.6666 9.28353V11.9502ZM13.3333 11.9502H2.66665V9.28353H13.3333V11.9502Z" } }, { tag: "path", attrs: { fill: "colorChannel1", d: "M9.60134 3.85438C9.86169 3.59403 9.86169 3.17192 9.60134 2.91157C9.34099 2.65122 8.91888 2.65122 8.65853 2.91157L7.89835 3.67175L7.13819 2.91159C6.87784 2.65124 6.45573 2.65124 6.19538 2.91159C5.93503 3.17194 5.93503 3.59405 6.19538 3.8544L6.95554 4.61456L6.19532 5.37478C5.93497 5.63513 5.93497 6.05724 6.19532 6.31759C6.45567 6.57794 6.87778 6.57794 7.13813 6.31759L7.89835 5.55737L8.65859 6.3176C8.91893 6.57796 9.34105 6.57796 9.60139 6.3176C9.86175 6.05726 9.86175 5.63514 9.60139 5.3748L8.84116 4.61456L9.60134 3.85438Z" } }] }] };
- var D6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "delete-row",
- ref: t,
- icon: p4
- }));
- });
- D6.displayName = "DeleteRow";
- var v4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_102_345", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { fill: "currentColor", mask: "url(#mask0_102_345)" }, children: [{ tag: "path", attrs: { d: "M3.00004 1.3335C2.07957 1.3335 1.33337 2.07969 1.33337 3.00016V13.0002C1.33337 13.9143 2.06935 14.6566 2.98108 14.6667C2.99252 14.6671 3.00399 14.6671 3.01547 14.6668H13C13.9205 14.6668 14.6667 13.9207 14.6667 13.0002V11.8335C14.6667 11.4653 14.3682 11.1668 14 11.1668C13.6319 11.1668 13.3334 11.4653 13.3334 11.8335V13.0002C13.3334 13.1843 13.1842 13.3335 13 13.3335H5.25636C5.61522 13.016 5.95119 12.6637 6.25105 12.2868C7.06748 11.2609 7.66671 9.98799 7.66671 8.66683V2.66683H13C13.1841 2.66683 13.3334 2.81606 13.3334 3.00016V4.66683C13.3334 5.03502 13.6319 5.3335 14 5.3335C14.3682 5.3335 14.6667 5.03502 14.6667 4.66683V3.00016C14.6667 2.0797 13.9205 1.3335 13 1.3335H3.00004ZM6.33337 2.66683H3.00004C2.81595 2.66683 2.66671 2.81607 2.66671 3.00016V13.0002C2.66671 13.1484 2.76345 13.274 2.89725 13.3173C3.70845 12.9437 4.55406 12.2781 5.20773 11.4566C5.90507 10.5803 6.33337 9.59203 6.33337 8.66683V2.66683Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { d: "M12.4714 5.86209C12.2111 5.60174 11.789 5.60174 11.5286 5.86209 11.2683 6.12244 11.2683 6.54455 11.5286 6.8049L12.3906 7.66683H10C9.63185 7.66683 9.33337 7.96531 9.33337 8.3335 9.33337 8.70169 9.63185 9.00016 10 9.00016H12.3906L11.5286 9.86209C11.2683 10.1224 11.2683 10.5446 11.5286 10.8049 11.789 11.0653 12.2111 11.0653 12.4714 10.8049L14.4714 8.8049C14.5935 8.68286 14.6583 8.52528 14.6659 8.36548 14.6665 8.35482 14.6667 8.34416 14.6667 8.3335L12.4714 5.86209zM12.4714 5.86209L14.4714 7.86209C14.6001 7.9907 14.6651 8.15878 14.6667 8.32734L12.4714 5.86209z" } }] }] };
- var A6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "direct-export-single",
- ref: t,
- icon: v4
- }));
- });
- A6.displayName = "DirectExportSingle";
- var m4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M7.3999 2.8999V1.6C7.3999 1.26863 7.66853 1 7.9999 1C8.33127 1 8.5999 1.26863 8.5999 1.6V2.8999H10.2044C11.6655 2.8999 12.8499 4.08431 12.8499 5.54536C12.8499 5.87673 12.5813 6.14536 12.2499 6.14536C11.9185 6.14536 11.6499 5.87673 11.6499 5.54536C11.6499 4.74705 11.0028 4.0999 10.2044 4.0999H5.7384C4.97155 4.0999 4.3499 4.72155 4.3499 5.4884C4.3499 6.14439 4.80899 6.71087 5.45074 6.84677L10.7977 7.97906C11.994 8.23242 12.8499 9.28849 12.8499 10.5114C12.8499 11.941 11.691 13.0999 10.2614 13.0999H8.5999V14.4C8.5999 14.7314 8.33127 15 7.9999 15C7.66853 15 7.3999 14.7314 7.3999 14.4V13.0999H5.79536C4.33431 13.0999 3.1499 11.9155 3.1499 10.4544C3.1499 10.1231 3.41853 9.85445 3.7499 9.85445C4.08127 9.85445 4.3499 10.1231 4.3499 10.4544C4.3499 11.2527 4.99705 11.8999 5.79536 11.8999H10.2614C11.0283 11.8999 11.6499 11.2782 11.6499 10.5114C11.6499 9.85542 11.1908 9.28893 10.5491 9.15303L5.20214 8.02074C4.00575 7.76739 3.1499 6.71132 3.1499 5.4884C3.1499 4.05881 4.30881 2.8999 5.7384 2.8999H7.3999Z" } }] };
- var P6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "dollar-single",
- ref: t,
- icon: m4
- }));
- });
- P6.displayName = "DollarSingle";
- var g4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_107_1287", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_107_1287)" }, children: [{ tag: "path", attrs: { fill: "colorChannel1", d: "M3.99992 1.33301H2.66659C1.93021 1.33301 1.33325 1.92996 1.33325 2.66634V3.99967H2.66659V2.66634L3.99992 2.66634V1.33301zM1.33325 9.33301H2.66659V6.66634H1.33325V9.33301zM6.66659 1.33301V2.66634H7.33325V5.33301H8.66659V2.66634H9.33325V1.33301H6.66659zM11.9999 1.33301V2.66634H13.3333V3.99967H14.6666V2.66634C14.6666 1.92996 14.0696 1.33301 13.3333 1.33301H11.9999zM14.6666 6.66634H13.3333V7.33301H10.6666V8.66634H13.3333V9.33301H14.6666V6.66634zM7.33325 13.333V10.6663H8.66659V13.333H7.33325zM5.33325 7.33301H2.66659V8.66634H5.33325V7.33301z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M1.33325 13.3333V12H2.66659L2.66659 13.3333H13.3333V12H14.6666V13.3333C14.6666 14.0697 14.0696 14.6667 13.3333 14.6667H2.66659C1.93021 14.6667 1.33325 14.0697 1.33325 13.3333Z" } }] }] };
- var j6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "down-border",
- ref: t,
- icon: g4
- }));
- });
- j6.displayName = "DownBorder";
- var C4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M15 8C15 11.866 11.866 15 8 15C4.13401 15 1 11.866 1 8C1 4.13401 4.13401 1 8 1C11.866 1 15 4.13401 15 8ZM10.3097 5.69014C10.544 5.92445 10.544 6.30435 10.3097 6.53867L8.84843 7.9999L10.3099 9.46137C10.5442 9.69569 10.5442 10.0756 10.3099 10.3099C10.0756 10.5442 9.69569 10.5442 9.46137 10.3099L7.9999 8.84843L6.53842 10.3099C6.30411 10.5442 5.92421 10.5442 5.6899 10.3099C5.45558 10.0756 5.45558 9.69569 5.6899 9.46137L7.15137 7.9999L5.69014 6.53867C5.45583 6.30435 5.45583 5.92445 5.69014 5.69014C5.92445 5.45583 6.30435 5.45583 6.53867 5.69014L7.9999 7.15137L9.46113 5.69014C9.69544 5.45583 10.0753 5.45583 10.3097 5.69014Z", fillRule: "evenodd", clipRule: "evenodd" } }] };
- var $6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "error-single",
- ref: t,
- icon: C4
- }));
- });
- $6.displayName = "ErrorSingle";
- var b4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M5.84964 5.80918C6.71946 3.63548 8.84516 2.2 11.3295 2.2C11.8324 2.2 12.3198 2.26279 12.7846 2.38065C13.1058 2.46209 13.4322 2.26773 13.5137 1.94652C13.5951 1.62532 13.4008 1.2989 13.0795 1.21746C12.5191 1.07535 11.9327 1 11.3295 1C8.17278 1 5.49724 2.96009 4.57394 5.80918H3.06582C2.73445 5.80918 2.46582 6.07781 2.46582 6.40918C2.46582 6.74055 2.73445 7.00918 3.06582 7.00918H4.29808C4.25287 7.33297 4.22949 7.66376 4.22949 8C4.22949 8.33608 4.25284 8.6667 4.29801 8.99033H3.06582C2.73445 8.99033 2.46582 9.25896 2.46582 9.59033C2.46582 9.9217 2.73445 10.1903 3.06582 10.1903H4.57378C5.49693 13.0397 8.1726 15 11.3295 15C11.9336 15 12.5209 14.9244 13.0821 14.7819C13.4033 14.7003 13.5975 14.3738 13.5159 14.0527C13.4344 13.7315 13.1079 13.5373 12.7867 13.6188C12.3213 13.737 11.8332 13.8 11.3295 13.8C8.84497 13.8 6.71914 12.3643 5.84944 10.1903H11.4291C11.7605 10.1903 12.0291 9.9217 12.0291 9.59033C12.0291 9.25896 11.7605 8.99033 11.4291 8.99033H5.51225C5.45783 8.66834 5.42949 8.33748 5.42949 8C5.42949 7.66235 5.45786 7.33133 5.51233 7.00918H11.4291C11.7605 7.00918 12.0291 6.74055 12.0291 6.40918C12.0291 6.07781 11.7605 5.80918 11.4291 5.80918H5.84964Z" } }] };
- var k6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "euro-single",
- ref: t,
- icon: b4
- }));
- });
- k6.displayName = "EuroSingle";
- var y4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M3.65005 1.05005C2.21411 1.05005 1.05005 2.21411 1.05005 3.65005V12.35C1.05005 13.7859 2.21411 14.95 3.65005 14.95H14.35C14.6813 14.95 14.95 14.6813 14.95 14.35C14.95 14.0186 14.6813 13.75 14.35 13.75H3.65005C2.87685 13.75 2.25005 13.1232 2.25005 12.35V3.65005C2.25005 2.87685 2.87685 2.25005 3.65005 2.25005H14.35C14.6813 2.25005 14.95 1.98142 14.95 1.65005C14.95 1.31868 14.6813 1.05005 14.35 1.05005H3.65005Z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M11.6167 5.26668C11.851 5.03236 12.2309 5.03236 12.4652 5.26668L14.7743 7.57575C15.0086 7.81007 15.0086 8.18997 14.7743 8.42428L12.4652 10.7334C12.2309 10.9677 11.851 10.9677 11.6167 10.7334C11.3823 10.499 11.3823 10.1191 11.6167 9.88483L12.9015 8.60002H6.63784C6.30647 8.60002 6.03784 8.3314 6.03784 8.00002C6.03784 7.66865 6.30647 7.40002 6.63784 7.40002H12.9015L11.6167 6.11521C11.3823 5.88089 11.3823 5.50099 11.6167 5.26668Z" } }] };
- var B6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "export-single",
- ref: t,
- icon: y4
- }));
- });
- B6.displayName = "ExportSingle";
- var L4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M0.571533 12.0016V4.69797C0.571533 3.37249 1.64605 2.29797 2.97153 2.29797H5.00397C5.90947 2.29797 6.77882 2.65328 7.42511 3.2875C7.84704 3.70155 8.4146 3.93351 9.00576 3.93351H11.6938C12.8536 3.93351 13.7938 4.87372 13.7938 6.03351V6.83533H13.8982C15.064 6.83533 15.8384 8.04207 15.3527 9.10188L13.6724 12.7686C13.4118 13.3374 12.8435 13.702 12.2179 13.702H2.17045C1.20587 13.702 0.515561 12.8793 0.571533 12.0016ZM1.77153 4.69797C1.77153 4.03523 2.30879 3.49797 2.97153 3.49797H5.00397C5.59513 3.49797 6.16269 3.72993 6.58462 4.14399C7.23091 4.77821 8.10026 5.13351 9.00576 5.13351H11.6938C12.1909 5.13351 12.5938 5.53646 12.5938 6.03351V6.83533H4.64069C3.6604 6.83533 2.76344 7.38669 2.32081 8.26136L1.77153 9.34679V4.69797ZM1.77153 12.1373V12.0664C1.77594 12.0179 1.78952 11.9689 1.81355 11.9214L3.39152 8.80319C3.62986 8.33222 4.11284 8.03533 4.64069 8.03533H13.8982C14.1896 8.03533 14.3832 8.33701 14.2618 8.60197L12.5815 12.2687C12.5164 12.4109 12.3743 12.502 12.2179 12.502H2.17045C1.95161 12.502 1.78924 12.3326 1.77153 12.1373Z", fillRule: "evenodd", clipRule: "evenodd" } }] };
- var F6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "folder-single",
- ref: t,
- icon: L4
- }));
- });
- F6.displayName = "FolderSingle";
- var _4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_102_1198", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_102_1198)" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M5.68731 9.98425C5.73282 9.87144 5.77827 9.75442 5.82366 9.63323L6.3312 8.27586H9.65859L10.3523 10.1159C10.405 10.284 10.4868 10.4276 10.6023 10.5378C10.74 10.669 10.9119 10.7236 11.1014 10.714C11.3544 10.7131 11.5919 10.6379 11.6996 10.4032L11.7013 10.3992C11.7901 10.1937 11.7749 9.9634 11.6929 9.7289L8.85351 1.86337C8.79546 1.68828 8.6901 1.54881 8.54213 1.45002C8.38836 1.33863 8.1989 1.29112 7.98798 1.29112C7.78272 1.29112 7.59752 1.34014 7.4446 1.45198C7.30481 1.55223 7.20617 1.69184 7.14935 1.86343L4.324 9.70145L4.32281 9.70495C4.27002 9.86052 4.23828 10.0056 4.23828 10.1346C4.23828 10.2646 4.27116 10.3937 4.36281 10.4909C4.50256 10.6468 4.6921 10.714 4.90604 10.714C5.0369 10.714 5.15805 10.6745 5.26156 10.5916C5.3633 10.5247 5.44621 10.4332 5.51101 10.3217C5.57988 10.2177 5.63858 10.1051 5.68731 9.98425ZM6.72105 7.00152L8.00144 3.32827L9.28183 7.00152H6.72105Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "rect", attrs: { width: 11.58, height: 2.56, x: 2.21, y: 12.2, fill: "colorChannel1", rx: 1.28 } }] }] };
- var U6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "font-color",
- ref: t,
- icon: _4
- }));
- });
- U6.displayName = "FontColor";
- var S4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M4.92494 2.4224C5.37364 1.19807 7.10523 1.19807 7.55394 2.4224L11.7284 13.8128C11.8425 14.124 11.6827 14.4686 11.3716 14.5827C11.0604 14.6967 10.7158 14.5369 10.6017 14.2258L9.02773 9.93099C9.02555 9.93101 9.02338 9.93102 9.0212 9.93102H3.74372C3.6469 9.93102 3.55544 9.90809 3.47447 9.86736L1.87714 14.2258C1.76312 14.5369 1.41845 14.6967 1.10732 14.5827C0.796186 14.4686 0.636401 14.124 0.750429 13.8128L4.92494 2.4224ZM3.89093 8.73102H8.58795L6.42722 2.83533C6.36312 2.66043 6.11576 2.66042 6.05165 2.83533L3.89093 8.73102Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M13.0504 2.47954C13.0504 2.14817 12.7818 1.87954 12.4504 1.87954C12.1191 1.87954 11.8504 2.14817 11.8504 2.47954V4.11554H10.2144C9.88305 4.11554 9.61442 4.38417 9.61442 4.71554C9.61442 5.04691 9.88305 5.31554 10.2144 5.31554H11.8504V6.95155C11.8504 7.28292 12.1191 7.55155 12.4504 7.55155C12.7818 7.55155 13.0504 7.28292 13.0504 6.95155V5.31554H14.6864C15.0178 5.31554 15.2864 5.04691 15.2864 4.71554C15.2864 4.38417 15.0178 4.11554 14.6864 4.11554H13.0504V2.47954Z" } }] };
- var z6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "font-size-increase-single",
- ref: t,
- icon: S4
- }));
- });
- z6.displayName = "FontSizeIncreaseSingle";
- var M4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_102_683", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { fill: "currentColor", mask: "url(#mask0_102_683)" }, children: [{ tag: "path", attrs: { d: "M3.38645 13.2745L4.16166 11.1001H9.17214L10.2121 13.993C10.2751 14.2073 10.3696 14.3774 10.4957 14.5035C10.6343 14.6421 10.8108 14.7052 11.0251 14.6926C11.3528 14.6926 11.5608 14.5917 11.649 14.39C11.7373 14.1758 11.731 13.9174 11.6301 13.6148L7.64064 2.02456C7.57761 1.82288 7.46417 1.66531 7.3003 1.55187C7.13644 1.42582 6.92215 1.36279 6.65745 1.36279C6.40535 1.36279 6.19737 1.42582 6.0335 1.55187C5.88224 1.66531 5.7751 1.82288 5.71207 2.02456L1.7415 13.577C1.60285 14.0056 1.60285 14.2955 1.7415 14.4468C1.88016 14.6106 2.07554 14.6926 2.32764 14.6926C2.46629 14.6926 2.58604 14.6484 2.68688 14.5602C2.80032 14.4846 2.89486 14.3774 2.97049 14.2388C3.05872 14.1001 3.13435 13.9489 3.19738 13.785C3.2604 13.6211 3.32343 13.451 3.38645 13.2745ZM6.67636 3.29136L8.83181 9.77662H4.5209L6.67636 3.29136Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { d: "M13.8056 3.96584C14.1806 3.96584 14.3681 3.7379 14.3681 3.28202C14.3681 3.06143 14.3203 2.89232 14.2248 2.77467C14.1292 2.64967 13.9931 2.58717 13.8167 2.58717H10.177C9.94168 2.58717 9.76889 2.646 9.6586 2.76364C9.55566 2.88129 9.50418 3.05408 9.50418 3.28202C9.50418 3.50996 9.55566 3.68276 9.6586 3.8004C9.76154 3.9107 9.93065 3.96584 10.1659 3.96584H13.8056Z" } }] }] };
- var Z6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "font-size-reduce-single-single",
- ref: t,
- icon: M4
- }));
- });
- Z6.displayName = "FontSizeReduceSingleSingle";
- var w4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M1.14014 12.2599C1.14014 13.6958 2.3042 14.8599 3.74014 14.8599H12.2601C13.6961 14.8599 14.8601 13.6958 14.8601 12.2599V3.73989C14.8601 2.30395 13.6961 1.13989 12.2601 1.13989H3.74014C2.3042 1.13989 1.14014 2.30396 1.14014 3.73989V12.2599ZM2.68766 13.1831C2.47131 12.9367 2.34014 12.6136 2.34014 12.2599V11.9756L5.68213 8.21656V9.69237L2.68766 13.1831ZM3.85969 13.6599H5.68213V11.5354L3.85969 13.6599ZM6.88213 13.6599H12.2601C13.0333 13.6599 13.6601 13.0331 13.6601 12.2599V3.73989C13.6601 2.96669 13.0333 2.33989 12.2601 2.33989H6.88213V13.6599ZM5.68213 2.33989H5.10563L2.34014 5.5448V6.99379L5.68213 3.23472V2.33989ZM2.34014 8.79985V10.1696L5.68213 6.4105V5.04078L2.34014 8.79985ZM2.3405 3.70754L3.50344 2.35982C2.85328 2.47053 2.35588 3.02952 2.3405 3.70754Z", fillRule: "evenodd", clipRule: "evenodd" } }] };
- var W6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "freeze-column-single",
- ref: t,
- icon: w4
- }));
- });
- W6.displayName = "FreezeColumnSingle";
- var x4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M3.74015 1.13989C2.30421 1.13989 1.14015 2.30396 1.14015 3.73989V5.32866C1.14013 5.33155 1.14013 5.33444 1.14015 5.33732V12.2599C1.14015 13.6958 2.30421 14.8599 3.74015 14.8599H12.2602C13.6961 14.8599 14.8602 13.6958 14.8602 12.2599V3.73989C14.8602 2.46491 13.9424 1.40427 12.7315 1.18251C12.6397 1.14703 12.5407 1.13477 12.4436 1.14626C12.383 1.14204 12.3218 1.13989 12.2602 1.13989H3.74015ZM10.9392 2.33989H9.5695L5.81042 5.68188H7.18015L10.9392 2.33989ZM7.76344 2.33989H6.2816L2.34015 5.61425V5.68188H4.00437L7.76344 2.33989ZM2.34015 6.88188V12.2599C2.34015 13.0331 2.96695 13.6599 3.74015 13.6599H12.2602C13.0334 13.6599 13.6602 13.0331 13.6602 12.2599V6.88188H2.34015ZM13.6602 5.68188V4.48357L12.2714 5.68188H13.6602ZM13.4806 3.05349C13.3067 2.745 13.0193 2.50905 12.675 2.40238L8.98621 5.68188H10.4346L13.4806 3.05349ZM2.34015 4.05418L4.4037 2.33989H3.74015C2.96695 2.33989 2.34015 2.9667 2.34015 3.73989V4.05418Z", fillRule: "evenodd", clipRule: "evenodd" } }] };
- var G6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "freeze-row-single",
- ref: t,
- icon: x4
- }));
- });
- G6.displayName = "FreezeRowSingle";
- var E4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M1.14014 3.73989C1.14014 2.30396 2.3042 1.13989 3.74014 1.13989H12.2601C12.3218 1.13989 12.383 1.14204 12.4436 1.14627C12.5406 1.13479 12.6397 1.14699 12.7315 1.18252C13.9424 1.4043 14.8601 2.46492 14.8601 3.73989V12.2599C14.8601 13.6905 13.7047 14.8513 12.2761 14.8598L12.2572 14.8599L3.74014 14.8599C2.3042 14.8599 1.14014 13.6958 1.14014 12.2599V3.73989ZM12.2677 13.6599L12.2601 13.6599H7.99297L7.99256 8.10687C7.99254 7.88594 8.17163 7.70684 8.39256 7.70684H13.6572V12.2599C13.6572 13.0296 13.0361 13.6542 12.2677 13.6599ZM8.39256 6.50684H9.82177L13.4929 3.07581C13.3217 2.75868 13.0317 2.51513 12.6826 2.40475L8.25499 6.51267C8.30033 6.50881 8.34621 6.50684 8.39256 6.50684ZM13.6601 4.56202L11.5792 6.50684H13.6601V4.56202ZM6.81297 7.85057C6.79953 7.93405 6.79255 8.01969 6.79256 8.10696L6.79265 9.36615L2.72441 13.2234C2.48625 12.9724 2.34014 12.6332 2.34014 12.2599V12.0005L6.81297 7.85057ZM4.00811 13.6599H6.79297L6.79277 11.0197L4.00811 13.6599ZM9.57168 2.33989H10.9882L2.34014 10.3635V8.8534L9.57168 2.33989ZM7.77864 2.33989L2.34014 7.2384V5.61425L6.28159 2.33989H7.77864ZM4.40368 2.33989L2.34014 4.05418V3.73989C2.34014 2.9667 2.96694 2.33989 3.74014 2.33989H4.40368Z", fillRule: "evenodd", clipRule: "evenodd" } }] };
- var Y6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "freeze-to-selected-single",
- ref: t,
- icon: E4
- }));
- });
- Y6.displayName = "FreezeToSelectedSingle";
- var H4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M3.09318 3.78608C2.21639 2.9026 2.84219 1.3999 4.08689 1.3999H11.2079C11.7676 1.3999 12.3041 1.62335 12.6984 2.02063L13.2584 2.58488C13.4918 2.82009 13.4904 3.19998 13.2552 3.4334C13.02 3.66683 12.6401 3.66538 12.4066 3.43018L11.8467 2.86593C11.6777 2.69566 11.4477 2.5999 11.2079 2.5999H4.08689C3.90907 2.5999 3.81967 2.81458 3.94493 2.94079L8.24218 7.27082C8.66782 7.69971 8.66782 8.39164 8.24218 8.82053L3.94493 13.1506C3.81967 13.2768 3.90907 13.4915 4.08689 13.4915H11.2079C11.4477 13.4915 11.6777 13.3957 11.8467 13.2254L12.4066 12.6612C12.6401 12.426 13.02 12.4245 13.2552 12.658C13.4904 12.8914 13.4918 13.2713 13.2584 13.5065L12.6984 14.0707C12.3041 14.468 11.7676 14.6915 11.2079 14.6915H4.08689C2.84218 14.6915 2.2164 13.1888 3.09318 12.3053L7.32053 8.04568L3.09318 3.78608Z", fillRule: "evenodd", clipRule: "evenodd" } }] };
- var q6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "function-single",
- ref: t,
- icon: H4
- }));
- });
- q6.displayName = "FunctionSingle";
- var O4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_102_784", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_102_784)" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M1.33325 2.60309C1.33325 1.90178 1.90178 1.33325 2.60309 1.33325H13.3967C14.0981 1.33325 14.6666 1.90178 14.6666 2.60309V13.3967C14.6666 14.0981 14.0981 14.6666 13.3967 14.6666H2.60309C1.90178 14.6666 1.33325 14.0981 1.33325 13.3967V2.60309ZM10.5396 13.3967H13.3967V10.5396H10.5396V13.3967ZM9.26976 10.5396V13.3967H6.41262V10.5396H9.26976ZM10.5396 9.26976H13.3967V6.73008H10.5396V9.26976ZM9.26976 6.73008V9.26976H6.41262V6.73008H9.26976ZM10.5396 5.46024H13.3967V2.60309H10.5396V5.46024ZM9.26976 2.60309V5.46024H6.41262V2.60309H9.26976ZM2.60309 2.60309H5.14278V5.46024H2.60309V2.60309ZM2.60309 6.73008H5.14278V9.26976H2.60309V6.73008ZM2.60309 10.5396H5.14278V13.3967H2.60309V10.5396Z", fillRule: "evenodd", clipRule: "evenodd" } }] }] };
- var X6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "grid-single",
- ref: t,
- icon: O4
- }));
- });
- X6.displayName = "GridSingle";
- var R4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M4.9999 3.90137C4.66853 3.90137 4.3999 4.17 4.3999 4.50137 4.3999 4.83274 4.66853 5.10137 4.9999 5.10137H10.9999C11.3313 5.10137 11.5999 4.83274 11.5999 4.50137 11.5999 4.17 11.3313 3.90137 10.9999 3.90137H4.9999zM4.9999 10.8987C4.66853 10.8987 4.3999 11.1673 4.3999 11.4987 4.3999 11.8301 4.66853 12.0987 4.9999 12.0987H10.9999C11.3313 12.0987 11.5999 11.8301 11.5999 11.4987 11.5999 11.1673 11.3313 10.8987 10.9999 10.8987H4.9999z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M12.7 2.0999H3.30005C2.85822 2.0999 2.50005 2.45807 2.50005 2.8999V13.0999C2.50005 13.5417 2.85822 13.8999 3.30005 13.8999H12.7C13.1419 13.8999 13.5 13.5417 13.5 13.0999V2.8999C13.5 2.45808 13.1419 2.0999 12.7 2.0999ZM3.30005 0.899902C2.19548 0.899902 1.30005 1.79533 1.30005 2.8999V13.0999C1.30005 14.2045 2.19548 15.0999 3.30005 15.0999H12.7C13.8046 15.0999 14.7 14.2045 14.7 13.0999V2.8999C14.7 1.79533 13.8046 0.899902 12.7 0.899902H3.30005Z", fillRule: "evenodd", clipRule: "evenodd" } }] };
- var Q6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "header-footer-single",
- ref: t,
- icon: R4
- }));
- });
- Q6.displayName = "HeaderFooterSingle";
- var T4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_102_1151", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#D9D9D9", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_102_1151)", fillRule: "evenodd", clipRule: "evenodd" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M8.01519 4.9156C7.65059 4.9156 7.29055 4.96431 6.93757 5.05194C6.6062 5.1342 6.2709 4.93226 6.18864 4.60089C6.10638 4.26953 6.30831 3.93422 6.63968 3.85196C7.0796 3.74275 7.53991 3.6792 8.01519 3.6792C9.93752 3.6792 11.6225 4.71575 12.781 5.67605C13.3691 6.16346 13.8434 6.64946 14.171 7.01358C14.3351 7.19604 14.4633 7.34895 14.5515 7.45755C14.5956 7.51187 14.6298 7.5552 14.6535 7.58568C14.6653 7.60092 14.6745 7.61296 14.6811 7.62157L14.6889 7.63188L14.6913 7.63506L14.6921 7.63614C14.6921 7.63614 14.6927 7.63689 14.1972 8.0066C14.6927 8.37631 14.6925 8.37646 14.6925 8.37646L14.6921 8.37705L14.6913 8.37814L14.6889 8.38131L14.6811 8.39163C14.6745 8.40023 14.6653 8.41227 14.6535 8.42752C14.6298 8.458 14.5956 8.50132 14.5515 8.55565C14.4633 8.66425 14.3351 8.81715 14.171 8.99961C13.8434 9.36373 13.3691 9.84973 12.781 10.3371C12.5182 10.555 12.1284 10.5186 11.9106 10.2557C11.6927 9.99285 11.7291 9.60313 11.992 9.38524C12.5227 8.94536 12.9537 8.50406 13.2518 8.1727C13.3051 8.11347 13.354 8.05788 13.3984 8.0066C13.354 7.95531 13.3051 7.89972 13.2518 7.84049C12.9537 7.50913 12.5227 7.06783 11.992 6.62795C10.9131 5.73365 9.50709 4.9156 8.01519 4.9156ZM14.1972 8.0066L14.6925 8.37646C14.8562 8.15715 14.8563 7.8562 14.6927 7.63689L14.1972 8.0066ZM4.11981 5.75748C4.3377 6.02035 4.30123 6.41007 4.03837 6.62795C3.50769 7.06783 3.07669 7.50913 2.7786 7.84049C2.72531 7.89972 2.67639 7.95531 2.63203 8.0066C2.67639 8.05788 2.72531 8.11347 2.7786 8.17271C3.07669 8.50406 3.50769 8.94536 4.03837 9.38524C5.11729 10.2795 6.5233 11.0976 8.01519 11.0976C8.38283 11.0976 8.74582 11.0481 9.10157 10.9591C9.43279 10.8762 9.76846 11.0776 9.85131 11.4088C9.93417 11.74 9.73283 12.0757 9.40162 12.1585C8.95841 12.2694 8.49443 12.334 8.01519 12.334C6.09287 12.334 4.40788 11.2974 3.24935 10.3371C2.66132 9.84973 2.18698 9.36373 1.85941 8.99961C1.69527 8.81715 1.56704 8.66425 1.47887 8.55565C1.43476 8.50132 1.4006 8.458 1.37692 8.42752C1.36508 8.41227 1.35585 8.40023 1.3493 8.39162L1.34149 8.38131L1.3391 8.37813L1.33829 8.37705C1.33829 8.37705 1.33773 8.37631 1.8332 8.0066C1.33773 7.63689 1.33785 7.63673 1.33785 7.63673L1.3391 7.63506L1.34149 7.63188L1.3493 7.62157C1.35585 7.61296 1.36508 7.60092 1.37692 7.58568C1.4006 7.5552 1.43476 7.51187 1.47887 7.45755C1.56704 7.34895 1.69527 7.19604 1.85941 7.01358C2.18698 6.64946 2.66132 6.16346 3.24935 5.67605C3.51221 5.45816 3.90193 5.49462 4.11981 5.75748ZM1.8332 8.0066L1.33785 7.63673C1.1742 7.85604 1.17464 8.15774 1.33829 8.37705L1.8332 8.0066Z" } }, { tag: "path", attrs: { fill: "colorChannel1", d: "M3.8775 2.99454C3.63608 2.75312 3.24466 2.75312 3.00323 2.99454C2.76181 3.23596 2.76181 3.62739 3.00323 3.86881L6.11167 6.97725C5.94588 7.28339 5.85153 7.63423 5.85153 8.00647C5.85153 9.20144 6.82025 10.1702 8.01523 10.1702C8.38756 10.1702 8.73834 10.0758 9.04444 9.91001L12.1095 12.9751C12.3509 13.2165 12.7424 13.2165 12.9838 12.9751C13.2252 12.7337 13.2252 12.3422 12.9838 12.1008L3.8775 2.99454ZM8.0668 8.93237L7.08932 7.9549C7.0884 7.97197 7.08793 7.98916 7.08793 8.00647C7.08793 8.5186 7.5031 8.93377 8.01523 8.93377C8.03254 8.93377 8.04973 8.9333 8.0668 8.93237Z" } }] }] };
- var J6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "hide",
- ref: t,
- icon: T4
- }));
- });
- J6.displayName = "Hide";
- var N4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_248_114", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_248_114)" }, children: [{ tag: "path", attrs: { fill: "colorChannel1", d: "M1.33325 13.333V11.9997H2.66659L2.66659 13.333H3.99992V14.6663H2.66659C1.93021 14.6663 1.33325 14.0694 1.33325 13.333zM2.66659 1.33301H3.99992V2.66634L2.66659 2.66634V3.99967H1.33325V2.66634C1.33325 1.92996 1.93021 1.33301 2.66659 1.33301zM2.66659 9.33301H1.33325V6.66634H2.66659V9.33301zM6.66659 2.66634V1.33301H9.33325V2.66634H8.66496V3.9855H7.33496V2.66634H6.66659zM11.9999 2.66634V1.33301H13.3333C14.0696 1.33301 14.6666 1.92996 14.6666 2.66634V3.99967H13.3333V2.66634H11.9999zM13.3333 6.66634H14.6666V9.33301H13.3333V6.66634zM13.3333 11.9997H14.6666V13.333C14.6666 14.0694 14.0696 14.6663 13.3333 14.6663H11.9999V13.333H13.3333V11.9997zM9.33325 13.333V14.6663H6.66659V13.333H7.33496V12.0138H8.66496V13.333H9.33325zM7.33496 6.66159L7.33496 9.33768H8.66496V6.66159H7.33496z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M8.66687 7.33423H7.33354L2.66687 7.33431V8.66764H7.33354L8.66687 8.66756L13.3335 8.66764V7.33431L8.66687 7.33423Z" } }] }] };
- var K6 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "horizontal-border",
- ref: t,
- icon: N4
- }));
- });
- K6.displayName = "HorizontalBorder";
- var I4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M5.91296 6.82256L5.89774 6.82237 2.83868 6.8223C1.89982 6.82228 1.13874 6.06119 1.13872 5.12234L1.13867 3.32265C1.13865 2.38375 1.89977 1.62261 2.83866 1.62261L5.90639 1.62259 5.91296 1.62256 5.91953 1.62259 10.0821 1.62258 10.0868 1.62256 10.0914 1.62258 13.1607 1.62256C14.0996 1.62256 14.8607 2.38368 14.8607 3.32256V5.12253C14.8607 6.06143 14.0996 6.82256 13.1607 6.82253L10.0975 6.82246 10.0868 6.82256 10.076 6.82246 5.92815 6.82237 5.91296 6.82256zM10.6868 5.62248L13.1607 5.62253C13.4368 5.62254 13.6607 5.39868 13.6607 5.12253V3.32256C13.6607 3.04642 13.4368 2.82256 13.1607 2.82256L10.6868 2.82257V5.62248zM9.48679 2.82258V5.62245L6.51296 5.62238V2.82259L9.48679 2.82258zM5.31296 2.8226V5.62236L2.8387 5.6223C2.56257 5.62229 2.33872 5.39845 2.33872 5.12231L2.33867 3.32262C2.33867 3.04647 2.56252 2.82261 2.83867 2.82261L5.31296 2.8226zM1.1387 10.8773L1.13878 12.6773C1.13883 13.6162 1.89994 14.3772 2.8388 14.3772L5.90638 14.3772 5.91296 14.3772 5.91955 14.3772 10.0775 14.3772C10.0806 14.3772 10.0837 14.3772 10.0868 14.3772 10.0899 14.3772 10.093 14.3772 10.0961 14.3772L13.1607 14.3772C14.0996 14.3771 14.8607 13.616 14.8607 12.6772V10.8772C14.8607 9.93836 14.0996 9.17725 13.1607 9.17725H2.8387C1.89978 9.17725 1.13865 9.93841 1.1387 10.8773zM9.48679 10.3772H6.51296V13.1772L9.48679 13.1772V10.3772zM10.6868 13.1772V10.3772H13.1607C13.4369 10.3772 13.6607 10.6011 13.6607 10.8772V12.6772C13.6607 12.9533 13.4369 13.1771 13.1607 13.1772L10.6868 13.1772zM5.31296 13.1772V10.3772H2.8387C2.56254 10.3772 2.33868 10.6011 2.3387 10.8773L2.33878 12.6773C2.33879 12.9534 2.56265 13.1772 2.83879 13.1772L5.31296 13.1772z", fillRule: "evenodd", clipRule: "evenodd" } }] };
- var e9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "horizontal-merge-single",
- ref: t,
- icon: I4
- }));
- });
- e9.displayName = "HorizontalMergeSingle";
- var V4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M1.9999 1.89941C1.66853 1.89941 1.3999 2.16804 1.3999 2.49941 1.3999 2.83078 1.66853 3.09941 1.9999 3.09941H13.9999C14.3313 3.09941 14.5999 2.83078 14.5999 2.49941 14.5999 2.16804 14.3313 1.89941 13.9999 1.89941H1.9999zM3.33315 5.56641C3.00178 5.56641 2.73315 5.83504 2.73315 6.16641 2.73315 6.49778 3.00178 6.76641 3.33315 6.76641H12.6665C12.9979 6.76641 13.2665 6.49778 13.2665 6.16641 13.2665 5.83504 12.9979 5.56641 12.6665 5.56641H3.33315zM1.3999 9.8334C1.3999 9.50203 1.66853 9.2334 1.9999 9.2334H13.9999C14.3313 9.2334 14.5999 9.50203 14.5999 9.8334 14.5999 10.1648 14.3313 10.4334 13.9999 10.4334H1.9999C1.66853 10.4334 1.3999 10.1648 1.3999 9.8334zM3.33315 12.9004C3.00178 12.9004 2.73315 13.169 2.73315 13.5004 2.73315 13.8318 3.00178 14.1004 3.33315 14.1004H12.6665C12.9979 14.1004 13.2665 13.8318 13.2665 13.5004 13.2665 13.169 12.9979 12.9004 12.6665 12.9004H3.33315z" } }] };
- var t9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "horizontally-single",
- ref: t,
- icon: V4
- }));
- });
- t9.displayName = "HorizontallySingle";
- var D4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_107_1307", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_107_1307)" }, children: [{ tag: "path", attrs: { fill: "colorChannel1", d: "M1.33325 11.9997V13.333C1.33325 14.0694 1.93021 14.6663 2.66659 14.6663H3.99992V13.333H2.66659L2.66659 11.9997H1.33325ZM3.99992 1.33301H2.66659C1.93021 1.33301 1.33325 1.92996 1.33325 2.66634V3.99967H2.66659V2.66634L3.99992 2.66634V1.33301ZM1.33325 9.33301H2.66659V6.66634H1.33325V9.33301ZM6.66659 1.33301V2.66634H9.33325V1.33301H6.66659ZM11.9999 1.33301V2.66634H13.3333V3.99967H14.6666V2.66634C14.6666 1.92996 14.0696 1.33301 13.3333 1.33301H11.9999ZM14.6666 6.66634H13.3333V9.33301H14.6666V6.66634ZM14.6666 11.9997H13.3333V13.333H11.9999V14.6663H13.3333C14.0696 14.6663 14.6666 14.0694 14.6666 13.333V11.9997ZM9.33325 14.6663V13.333H6.66659V14.6663H9.33325Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M8.66693 7.33415V2.66748H7.3336V7.33415H2.66693V8.66748H7.3336V13.3341H8.66693V8.66748H13.3336V7.33415H8.66693Z" } }] }] };
- var n9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "inner-border",
- ref: t,
- icon: D4
- }));
- });
- n9.displayName = "InnerBorder";
- var A4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_102_1113", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_102_1113)", fillRule: "evenodd", clipRule: "evenodd" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M7.66105 5.44796C7.66105 5.07977 7.36257 4.7813 6.99439 4.7813H3.22403C2.85583 4.7813 2.55736 5.07977 2.55736 5.44796V10.5516C2.55736 10.9198 2.85583 11.2183 3.22403 11.2183H6.99439C7.36257 11.2183 7.66105 10.9198 7.66105 10.5516V5.44796ZM2.55736 3.50537C1.85268 3.50537 1.28143 4.07662 1.28143 4.7813V11.2183C1.28143 11.923 1.85268 12.4942 2.55736 12.4942H7.66105C8.3657 12.4942 8.93697 11.923 8.93697 11.2183V4.7813C8.93697 4.07662 8.3657 3.50537 7.66105 3.50537H2.55736Z" } }, { tag: "path", attrs: { fill: "colorChannel1", d: "M11.9225 10.465C11.9977 10.4962 12.0802 10.5134 12.1667 10.5134C12.2532 10.5134 12.3357 10.4962 12.4109 10.465C12.4862 10.4338 12.5567 10.3877 12.6178 10.3265L14.5317 8.41263C14.7808 8.16349 14.7808 7.75956 14.5317 7.51042C14.2826 7.26128 13.8786 7.26128 13.6295 7.51042L12.8047 8.33523V6.14333C12.8047 5.791 12.5191 5.50537 12.1667 5.50537C11.8144 5.50537 11.5288 5.791 11.5288 6.14333V8.33523L10.7039 7.51042C10.4548 7.26128 10.0509 7.26128 9.80172 7.51042C9.55258 7.75956 9.55258 8.16349 9.80172 8.41263L11.7153 10.3262" } }] }] };
- var r9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "insert-cell-down",
- ref: t,
- icon: A4
- }));
- });
- r9.displayName = "InsertCellDown";
- var P4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_102_1108", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_102_1108)", fillRule: "evenodd", clipRule: "evenodd" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M7.56614 5.44796C7.56614 5.07977 7.26766 4.7813 6.89948 4.7813H3.12912C2.76092 4.7813 2.46245 5.07977 2.46245 5.44796V10.5516C2.46245 10.9198 2.76092 11.2183 3.12912 11.2183H6.89948C7.26766 11.2183 7.56614 10.9198 7.56614 10.5516V5.44796ZM2.46245 3.50537C1.75777 3.50537 1.18652 4.07662 1.18652 4.7813V11.2183C1.18652 11.923 1.75777 12.4942 2.46245 12.4942H7.56614C8.27079 12.4942 8.84206 11.923 8.84206 11.2183V4.7813C8.84206 4.07662 8.27079 3.50537 7.56614 3.50537H2.46245Z" } }, { tag: "path", attrs: { fill: "colorChannel1", d: "M14.7651 8.2438C14.7963 8.16858 14.8135 8.0861 14.8135 7.9996C14.8135 7.9131 14.7963 7.83062 14.7651 7.7554C14.7339 7.68015 14.6878 7.60966 14.6266 7.54849L12.7127 5.63461C12.4636 5.38547 12.0597 5.38547 11.8105 5.63461C11.5614 5.88375 11.5614 6.28768 11.8105 6.53682L12.6353 7.36164H10.4434C10.0911 7.36164 9.80548 7.64727 9.80548 7.9996C9.80548 8.35194 10.0911 8.63756 10.4434 8.63756H12.6353L11.8105 9.46238C11.5614 9.71152 11.5614 10.1155 11.8105 10.3646C12.0597 10.6137 12.4636 10.6137 12.7127 10.3646L14.6263 8.45101" } }] }] };
- var i9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "insert-cell-shift-right",
- ref: t,
- icon: P4
- }));
- });
- i9.displayName = "InsertCellShiftRight";
- var j4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_102_1128", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_102_1128)", fillRule: "evenodd", clipRule: "evenodd" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M13.3333 13.4087C14.0697 13.4087 14.6666 12.8117 14.6666 12.0754L14.6666 9.40869C14.6666 8.67231 14.0697 8.07536 13.3333 8.07536L2.66663 8.07536C1.93023 8.07536 1.33329 8.67231 1.33329 9.40869L1.33329 12.0754C1.33329 12.8117 1.93023 13.4087 2.66663 13.4087L13.3333 13.4087ZM2.66663 12.0754L13.3333 12.0754L13.3333 9.40869L2.66663 9.40869L2.66663 12.0754Z" } }, { tag: "path", attrs: { fill: "colorChannel1", d: "M7.74168 2.59137C8.10987 2.59137 8.40835 2.88984 8.40835 3.25804L8.40835 4.33309L9.48348 4.33309C9.85167 4.33309 10.1501 4.63156 10.1501 4.99976C10.1501 5.36794 9.85167 5.66642 9.48348 5.66642L8.40835 5.66642L8.40835 6.74154C8.40835 7.10973 8.10987 7.4082 7.74168 7.4082C7.37349 7.4082 7.07501 7.10973 7.07501 6.74154L7.07501 5.66642L5.99998 5.66642C5.63179 5.66642 5.33331 5.36794 5.33331 4.99976C5.33331 4.63156 5.63179 4.33309 5.99998 4.33309L7.07501 4.33309L7.07501 3.25804C7.07501 2.88984 7.37349 2.59137 7.74168 2.59137Z" } }] }] };
- var o9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "insert-row-above",
- ref: t,
- icon: j4
- }));
- });
- o9.displayName = "InsertRowAbove";
- var $4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_102_1133", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M16 16H32V32H16z", transform: "rotate(180 16 16)" } }] }, { tag: "g", attrs: { mask: "url(#mask0_102_1133)", fillRule: "evenodd", clipRule: "evenodd" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M2.66671 2.59131C1.93033 2.59131 1.33337 3.18826 1.33337 3.92464L1.33337 6.59131C1.33337 7.32769 1.93033 7.92464 2.66671 7.92464L13.3334 7.92464C14.0698 7.92464 14.6667 7.32769 14.6667 6.59131L14.6667 3.92464C14.6667 3.18826 14.0698 2.59131 13.3334 2.59131L2.66671 2.59131ZM13.3334 3.92464L2.66671 3.92464L2.66671 6.59131L13.3334 6.59131L13.3334 3.92464Z" } }, { tag: "path", attrs: { fill: "colorChannel1", d: "M8.25838 13.4086C7.8902 13.4086 7.59172 13.1102 7.59172 12.742L7.59172 11.6669L6.51658 11.6669C6.14839 11.6669 5.84992 11.3684 5.84991 11.0002C5.84991 10.6321 6.14839 10.3336 6.51658 10.3336L7.59172 10.3336L7.59171 9.25846C7.59171 8.89027 7.89019 8.5918 8.25838 8.5918C8.62657 8.5918 8.92505 8.89027 8.92505 9.25846L8.92505 10.3336L10.0001 10.3336C10.3683 10.3336 10.6667 10.6321 10.6667 11.0002C10.6667 11.3684 10.3683 11.6669 10.0001 11.6669L8.92505 11.6669L8.92505 12.742C8.92505 13.1102 8.62658 13.4086 8.25838 13.4086Z" } }] }] };
- var a9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "insert-row-below",
- ref: t,
- icon: $4
- }));
- });
- a9.displayName = "InsertRowBelow";
- var k4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_233_16", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#D9D9D9", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_233_16)" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M2.53337 14C2.35658 14 2.18704 13.9297 2.06203 13.8047C1.93703 13.6797 1.86681 13.5101 1.86681 13.3333C1.86681 13.1565 1.93703 12.987 2.06203 12.862C2.18704 12.7369 2.35658 12.6667 2.53337 12.6667L13.4667 12.6667C13.6435 12.6667 13.813 12.7369 13.938 12.862C14.063 12.987 14.1333 13.1565 14.1333 13.3333C14.1333 13.5101 14.063 13.6797 13.938 13.8047C13.813 13.9297 13.6435 14 13.4667 14L2.53337 14ZM2.53337 3.33333C2.35658 3.33331 2.18703 3.26306 2.06203 3.13804C1.93703 3.01301 1.86681 2.84346 1.86681 2.66667C1.86681 2.48987 1.93703 2.32032 2.06203 2.1953C2.18703 2.07028 2.35658 2.00003 2.53337 2L13.4667 2C13.6435 2.00003 13.813 2.07028 13.938 2.1953C14.063 2.32032 14.1333 2.48987 14.1333 2.66667C14.1333 2.84346 14.063 3.01301 13.938 3.13803C13.813 3.26306 13.6435 3.33331 13.4667 3.33333L2.53337 3.33333Z" } }, { tag: "path", attrs: { fill: "colorChannel1", d: "M11.0573 7.33327L10.1953 6.47127C10.0703 6.34627 10.0001 6.17672 10.0001 5.99994C10.0001 5.82315 10.0703 5.65361 10.1953 5.52861C10.3203 5.4036 10.4899 5.33337 10.6667 5.33337C10.8434 5.33337 11.013 5.4036 11.138 5.52861L13.138 7.5286C13.2 7.59046 13.2491 7.66393 13.2827 7.74481C13.3162 7.82569 13.3335 7.91238 13.3335 7.99994C13.3335 8.08749 13.3162 8.17419 13.2827 8.25507C13.2491 8.33594 13.2 8.40941 13.138 8.47127L11.138 10.4713C11.0761 10.5332 11.0026 10.5823 10.9217 10.6158C10.8409 10.6493 10.7542 10.6665 10.6667 10.6665C10.5791 10.6665 10.4925 10.6493 10.4116 10.6158C10.3307 10.5823 10.2572 10.5332 10.1953 10.4713C10.1334 10.4094 10.0843 10.3359 10.0508 10.255C10.0173 10.1742 10.0001 10.0875 10.0001 9.99994C10.0001 9.9124 10.0173 9.82573 10.0508 9.74486C10.0843 9.66398 10.1334 9.5905 10.1953 9.52861L11.0573 8.6666L3.33333 8.66661C3.15652 8.66661 2.98695 8.59637 2.86193 8.47134C2.7369 8.34632 2.66666 8.17675 2.66666 7.99994C2.66666 7.82313 2.7369 7.65356 2.86193 7.52853C2.98695 7.40351 3.15652 7.33327 3.33333 7.33327L11.0573 7.33327Z" } }] }] };
- var s9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "insert",
- ref: t,
- icon: k4
- }));
- });
- s9.displayName = "Insert";
- var B4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M9.80385 1.40005H11.9997C12.3311 1.40005 12.5997 1.66868 12.5997 2.00005C12.5997 2.33143 12.3311 2.60005 11.9997 2.60005H10.1185L7.12251 13.4001H9.33324C9.66461 13.4001 9.93324 13.6687 9.93324 14.0001C9.93324 14.3314 9.66461 14.6001 9.33324 14.6001H6.34785C6.33847 14.6003 6.32905 14.6003 6.31962 14.6001H3.9999C3.66853 14.6001 3.3999 14.3314 3.3999 14.0001C3.3999 13.6687 3.66853 13.4001 3.9999 13.4001H5.87719L8.87322 2.60005H6.66641C6.33504 2.60005 6.06641 2.33143 6.06641 2.00005C6.06641 1.66868 6.33504 1.40005 6.66641 1.40005H9.52916C9.61698 1.37929 9.71064 1.3781 9.80385 1.40005Z" } }] };
- var l9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "italic-single",
- ref: t,
- icon: B4
- }));
- });
- l9.displayName = "ItalicSingle";
- var F4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M3.39986 6.33339C3.39986 6.00202 3.66849 5.73339 3.99986 5.73339H4.66652C4.99789 5.73339 5.26652 6.00202 5.26652 6.33339 5.26652 6.66476 4.99789 6.93339 4.66652 6.93339H3.99986C3.66849 6.93339 3.39986 6.66476 3.39986 6.33339zM6.99986 5.73339C6.66849 5.73339 6.39986 6.00202 6.39986 6.33339 6.39986 6.66476 6.66849 6.93339 6.99986 6.93339H7.66652C7.99789 6.93339 8.26652 6.66476 8.26652 6.33339 8.26652 6.00202 7.99789 5.73339 7.66652 5.73339H6.99986zM9.06636 6.33339C9.06636 6.00202 9.33499 5.73339 9.66636 5.73339H11.9997C12.3311 5.73339 12.5997 6.00202 12.5997 6.33339 12.5997 6.66476 12.3311 6.93339 11.9997 6.93339H9.66636C9.33499 6.93339 9.06636 6.66476 9.06636 6.33339zM3.99986 8.73339C3.66849 8.73339 3.39986 9.00202 3.39986 9.33339 3.39986 9.66476 3.66849 9.93339 3.99986 9.93339H11.9999C12.3312 9.93339 12.5999 9.66476 12.5999 9.33339 12.5999 9.00202 12.3312 8.73339 11.9999 8.73339H3.99986z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M3.33338 1.73345L12.6667 1.7334C14.1026 1.73339 15.2667 2.89745 15.2667 4.3334V11C15.2667 12.4359 14.1027 13.6 12.6667 13.6H3.33355C1.89763 13.6 0.733583 12.4359 0.73355 11L0.733398 4.33351C0.733366 2.89755 1.89742 1.73346 3.33338 1.73345ZM12.6667 2.9334L3.33339 2.93345C2.56018 2.93346 1.93338 3.56028 1.9334 4.33348L1.93355 11C1.93357 11.7732 2.56036 12.4 3.33355 12.4H12.6667C13.4399 12.4 14.0667 11.7732 14.0667 11V4.3334C14.0667 3.5602 13.4399 2.93339 12.6667 2.9334Z", fillRule: "evenodd", clipRule: "evenodd" } }] };
- var c9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "keyboard-single",
- ref: t,
- icon: F4
- }));
- });
- c9.displayName = "KeyboardSingle";
- var U4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_107_1292", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_107_1292)" }, children: [{ tag: "path", attrs: { fill: "colorChannel1", d: "M14.6664 3.99967L14.6664 2.66634C14.6664 1.92996 14.0694 1.33301 13.333 1.33301L11.9997 1.33301 11.9997 2.66634 13.333 2.66634 13.333 3.99967 14.6664 3.99967zM6.66638 1.33301L6.66638 2.66634 9.33305 2.66634 9.33305 1.33301 6.66638 1.33301zM14.6664 6.66634L13.333 6.66634 13.333 7.33301 10.6664 7.33301 10.6664 8.66634 13.333 8.66634 13.333 9.33301 14.6664 9.33301 14.6664 6.66634zM14.6664 11.9997L13.333 11.9997 13.333 13.333 11.9997 13.333 11.9997 14.6663 13.333 14.6663C14.0694 14.6663 14.6664 14.0694 14.6664 13.333L14.6664 11.9997zM9.33305 14.6663L9.33305 13.333 8.66638 13.333 8.66638 10.6663 7.33305 10.6663 7.33305 13.333 6.66638 13.333 6.66638 14.6663 9.33305 14.6663zM2.66638 7.33301L5.33305 7.33301 5.33305 8.66634 2.66638 8.66634 2.66638 7.33301zM8.66638 5.33301L8.66638 2.66634 7.33305 2.66634 7.33305 5.33301 8.66638 5.33301z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M2.66667 1.33301L4 1.33301L4 2.66634L2.66667 2.66634L2.66667 13.333L4 13.333L4 14.6663L2.66667 14.6663C1.93029 14.6663 1.33333 14.0694 1.33333 13.333L1.33333 2.66634C1.33333 1.92996 1.93029 1.33301 2.66667 1.33301Z" } }] }] };
- var u9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "left-border",
- ref: t,
- icon: U4
- }));
- });
- u9.displayName = "LeftBorder";
- var z4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 17 17", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_436_29", style: { maskType: "alpha" }, width: 17, height: 17, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#D9D9D9", d: "M0.46 0.72H16.46V16.72H0.46z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_436_29)" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M3.75537 3.11333L14.8806 8.21036L14.3808 9.30132L4.52076 4.78394L9.03813 14.644L7.94718 15.1438L2.85015 4.01855L2.5419 3.87733L2.66368 3.61154L2.52319 3.30491L2.8788 3.14199L3.04172 2.78638L3.34836 2.92686L3.61415 2.80509L3.75537 3.11333Z" } }, { tag: "path", attrs: { fill: "#E5E5E5", d: "M1.80017 12.8102L1.80017 14.1743C1.80017 14.8371 2.33743 15.3743 3.00017 15.3743L4.3643 15.3743L4.3643 14.0443L3.13017 14.0443L3.13017 12.8102L1.80017 12.8102ZM4.3643 2.06128L3.00017 2.06128C2.33743 2.06128 1.80017 2.59854 1.80017 3.26128L1.80017 4.62541L3.13017 4.62541L3.13017 3.39128L4.3643 3.39128L4.3643 2.06128ZM1.80017 10.0819L3.13017 10.0819L3.13017 7.35367L1.80017 7.35367L1.80017 10.0819ZM7.09256 2.06128L7.09256 3.39128L9.82081 3.39128L9.82081 2.06128L7.09256 2.06128ZM12.5491 2.06128L12.5491 3.39128L13.7832 3.39128L13.7832 4.62541L15.1132 4.62541L15.1132 3.26128C15.1132 2.59854 14.5759 2.06128 13.9132 2.06128L12.5491 2.06128ZM15.1132 7.35367L13.7832 7.35367L13.7832 10.0819L15.1132 10.0819L15.1132 7.35367ZM15.1132 12.8102L13.7832 12.8102L13.7832 14.0443L12.5491 14.0443L12.5491 15.3743L13.9132 15.3743C14.5759 15.3743 15.1132 14.8371 15.1132 14.1743L15.1132 12.8102ZM9.82082 15.3743L9.82082 14.0443L7.09256 14.0443L7.09256 15.3743L9.82082 15.3743Z", fillRule: "evenodd", clipRule: "evenodd" } }] }] };
- var f9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "left-double-diagonal-single",
- ref: t,
- icon: z4
- }));
- });
- f9.displayName = "LeftDoubleDiagonalSingle";
- var Z4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_102_1118", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_102_1118)", fillRule: "evenodd", clipRule: "evenodd" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M13.4322 2.66683C13.4322 1.93045 12.8352 1.3335 12.0989 1.3335H9.43219C8.69581 1.3335 8.09886 1.93045 8.09886 2.66683V13.3335C8.09886 14.0699 8.69581 14.6668 9.43219 14.6668H12.0989C12.8352 14.6668 13.4322 14.0699 13.4322 13.3335V2.66683ZM12.0989 13.3335V2.66683H9.43219V13.3335H12.0989Z" } }, { tag: "path", attrs: { fill: "colorChannel1", d: "M2.56769 7.99978C2.56769 7.63159 2.86616 7.33311 3.23435 7.33311H4.30941V6.25798C4.30941 5.88979 4.60788 5.59131 4.97607 5.59131C5.34426 5.59131 5.64274 5.88979 5.64274 6.25798V7.33311H6.71785C7.08604 7.33311 7.38452 7.63159 7.38452 7.99978C7.38452 8.36797 7.08604 8.66644 6.71785 8.66644H5.64274V9.74148C5.64274 10.1097 5.34426 10.4081 4.97607 10.4081C4.60788 10.4081 4.30941 10.1097 4.30941 9.74148V8.66644H3.23435C2.86616 8.66644 2.56769 8.36797 2.56769 7.99978Z" } }] }] };
- var d9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "left-insert-column",
- ref: t,
- icon: Z4
- }));
- });
- d9.displayName = "LeftInsertColumn";
- var W4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M1.9999 1.89941C1.66853 1.89941 1.3999 2.16804 1.3999 2.49941 1.3999 2.83078 1.66853 3.09941 1.9999 3.09941H13.9999C14.3313 3.09941 14.5999 2.83078 14.5999 2.49941 14.5999 2.16804 14.3313 1.89941 13.9999 1.89941H1.9999zM1.9999 5.56641C1.66853 5.56641 1.3999 5.83504 1.3999 6.16641 1.3999 6.49778 1.66853 6.76641 1.9999 6.76641H11.3332C11.6646 6.76641 11.9332 6.49778 11.9332 6.16641 11.9332 5.83504 11.6646 5.56641 11.3332 5.56641H1.9999zM1.3999 9.8334C1.3999 9.50203 1.66853 9.2334 1.9999 9.2334H13.9999C14.3313 9.2334 14.5999 9.50203 14.5999 9.8334 14.5999 10.1648 14.3313 10.4334 13.9999 10.4334H1.9999C1.66853 10.4334 1.3999 10.1648 1.3999 9.8334zM1.9999 12.9004C1.66853 12.9004 1.3999 13.169 1.3999 13.5004 1.3999 13.8318 1.66853 14.1004 1.9999 14.1004H11.3332C11.6646 14.1004 11.9332 13.8318 11.9332 13.5004 11.9332 13.169 11.6646 12.9004 11.3332 12.9004H1.9999z" } }] };
- var h9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "left-justifying-single",
- ref: t,
- icon: W4
- }));
- });
- h9.displayName = "LeftJustifyingSingle";
- var G4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M1.3732 3.94019C0.82475 2.75718 2.04917 1.53276 3.23218 2.0812L10.0657 5.24921C10.3663 5.38859 10.497 5.74529 10.3576 6.04592C10.2183 6.34656 9.86157 6.47728 9.56094 6.33791L6.86664 5.08883L4.42613 7.52934C4.41111 7.54436 4.3955 7.55841 4.37936 7.5715L5.6299 10.2689C5.76928 10.5696 5.63855 10.9263 5.33791 11.0656C5.03728 11.205 4.68058 11.0743 4.54121 10.7737L1.3732 3.94019ZM2.72746 3.1699L5.70713 4.55128L3.84327 6.41514L2.46189 3.43547C2.38354 3.26647 2.55846 3.09155 2.72746 3.1699Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M4.56311 13.7359C4.32879 13.9702 4.32879 14.3501 4.56311 14.5844C4.79742 14.8188 5.17732 14.8188 5.41163 14.5844L13.3083 6.68776L13.3842 8.21165C13.4006 8.54261 13.6823 8.79755 14.0133 8.78108C14.3442 8.76461 14.5992 8.48295 14.5827 8.15199L14.4844 6.17786C14.4413 5.3118 13.3917 4.90732 12.7786 5.52046L4.56311 13.7359Z" } }] };
- var p9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "left-rotation-forty-five-degrees-single",
- ref: t,
- icon: G4
- }));
- });
- p9.displayName = "LeftRotationFortyFiveDegreesSingle";
- var Y4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M11.4046 13.9395C11.4046 14.2708 11.6732 14.5395 12.0046 14.5395C12.336 14.5395 12.6046 14.2708 12.6046 13.9395V2.77186L13.7358 3.79578C13.9815 4.01815 14.3609 3.99927 14.5833 3.75359C14.8057 3.50792 14.7868 3.12849 14.5411 2.90612L13.0757 1.57967C12.4328 0.997761 11.4046 1.45394 11.4046 2.32106V13.9395Z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M2.22244 9.26836C0.998116 8.81966 0.998119 7.08807 2.22245 6.63936L9.29456 4.04749C9.60569 3.93346 9.95036 4.09325 10.0644 4.40438C10.1784 4.71551 10.0186 5.06018 9.70749 5.1742L6.91911 6.19613V9.64753C6.91911 9.66877 6.918 9.68974 6.91585 9.71041L9.70749 10.7335C10.0186 10.8476 10.1784 11.1922 10.0644 11.5033C9.95036 11.8145 9.60569 11.9743 9.29456 11.8602L2.22244 9.26836ZM2.63538 7.76608L5.71911 6.63592V9.27181L2.63538 8.14165C2.46047 8.07755 2.46047 7.83018 2.63538 7.76608Z", fillRule: "evenodd", clipRule: "evenodd" } }] };
- var v9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "left-rotation-ninety-degrees-single",
- ref: t,
- icon: Y4
- }));
- });
- v9.displayName = "LeftRotationNinetyDegreesSingle";
- var q4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 17 17", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_436_43", style: { maskType: "alpha" }, width: 17, height: 17, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#D9D9D9", d: "M0.33 0.72H16.33V16.72H0.33z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_436_43)" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M2.33875 3.57255L2.23657 3.79614L2.72883 4.0211L7.58275 14.6428L8.67419 14.144L5.10931 6.34311L13.5649 14.7987L14.4134 13.9502L5.96172 5.49847L13.7573 9.0609L14.2561 7.96947L3.63438 3.11555L3.40942 2.62329L3.18782 2.72456L3.09973 2.63647L2.93861 2.7976L2.73534 2.70471L2.60444 2.99116L2.31799 3.12206L2.41088 3.32533L2.2512 3.485L2.33875 3.57255Z" } }, { tag: "path", attrs: { fill: "#E5E5E5", d: "M1.6759 12.8102L1.6759 14.1743C1.6759 14.8371 2.21316 15.3743 2.8759 15.3743L4.24003 15.3743L4.24003 14.0443L3.0059 14.0443L3.0059 12.8102L1.6759 12.8102ZM4.24003 2.06128L2.8759 2.06128C2.21316 2.06128 1.6759 2.59854 1.6759 3.26128L1.6759 4.62541L3.0059 4.62541L3.0059 3.39128L4.24003 3.39128L4.24003 2.06128ZM1.6759 10.0819L3.0059 10.0819L3.0059 7.35367L1.6759 7.35367L1.6759 10.0819ZM6.96829 2.06128L6.96829 3.39128L9.69655 3.39128L9.69655 2.06128L6.96829 2.06128ZM12.4248 2.06128L12.4248 3.39128L13.6589 3.39128L13.6589 4.62541L14.9889 4.62541L14.9889 3.26128C14.9889 2.59854 14.4517 2.06128 13.7889 2.06128L12.4248 2.06128ZM14.9889 7.35367L13.6589 7.35367L13.6589 10.0819L14.9889 10.0819L14.9889 7.35367ZM14.9889 12.8102L13.6589 12.8102L13.6589 14.0443L12.4248 14.0443L12.4248 15.3743L13.7889 15.3743C14.4517 15.3743 14.9889 14.8371 14.9889 14.1743L14.9889 12.8102ZM9.69655 15.3743L9.69655 14.0443L6.96829 14.0443L6.96829 15.3743L9.69655 15.3743Z", fillRule: "evenodd", clipRule: "evenodd" } }] }] };
- var m9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "left-tridiagonal-single",
- ref: t,
- icon: q4
- }));
- });
- m9.displayName = "LeftTridiagonalSingle";
- var X4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M4.96708 8.23432V11.6842C4.96708 12.0156 5.2357 12.2842 5.56708 12.2842 5.89845 12.2842 6.16708 12.0156 6.16708 11.6842V5.62199C6.16708 4.70621 4.87775 4.5088 4.60373 5.38261L3.2564 9.67905 1.90905 5.3826C1.64268 4.53318.345703 4.6789.345703 5.62021V11.6842C.345703 12.0156.614332 12.2842.945703 12.2842 1.27707 12.2842 1.5457 12.0156 1.5457 11.6842V8.23428L2.49305 11.2552C2.72747 12.0027 3.78534 12.0027 4.01975 11.2552L4.96708 8.23432zM9.59409 8.3393C9.59409 7.86618 9.18572 7.49641 8.71492 7.54323L7.64429 7.64971C7.31454 7.6825 7.02065 7.44178 6.98785 7.11203 6.95506 6.78229 7.19578 6.48839 7.52553 6.4556L8.59616 6.34912C9.77317 6.23206 10.7941 7.15649 10.7941 8.3393V11.684C10.7941 12.0154 10.5255 12.284 10.1941 12.284 9.86272 12.284 9.59409 12.0154 9.59409 11.684V8.3393z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M6.79541 10.2064C6.79541 9.10233 7.69047 8.20728 8.79458 8.20728 9.89869 8.20728 10.7938 9.10233 10.7938 10.2064 10.7938 11.3106 9.89869 12.2056 8.79458 12.2056 7.69047 12.2056 6.79541 11.3106 6.79541 10.2064zM8.79458 9.40728C8.35321 9.40728 7.99541 9.76508 7.99541 10.2064 7.99541 10.6478 8.35321 11.0056 8.79458 11.0056 9.23595 11.0056 9.59375 10.6478 9.59375 10.2064 9.59375 9.76508 9.23595 9.40728 8.79458 9.40728zM15.386 6.62139C15.6666 6.79764 15.7454 7.16426 15.562 7.44024L12.5296 12.0032C12.3462 12.2791 11.9701 12.36 11.6894 12.1837 11.4088 12.0075 11.33 11.6409 11.5135 11.3649L14.5458 6.80196C14.7292 6.52598 15.1054 6.44513 15.386 6.62139z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M11.6892 6.62139C11.4086 6.79764 11.3298 7.16426 11.5132 7.44024L14.5456 12.0032C14.729 12.2791 15.1051 12.36 15.3857 12.1837C15.6664 12.0075 15.7451 11.6409 15.5617 11.3649L12.5294 6.80196C12.3459 6.52598 11.9698 6.44513 11.6892 6.62139Z", fillRule: "evenodd", clipRule: "evenodd" } }] };
- var g9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "max-single",
- ref: t,
- icon: X4
- }));
- });
- g9.displayName = "MaxSingle";
- var Q4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 24 24", width: "1em", height: "1em" }, children: [{ tag: "rect", attrs: { width: 20, height: 1.5, x: 2, y: 3.75, fill: "currentColor", rx: 0.75 } }, { tag: "rect", attrs: { width: 20, height: 1.5, x: 2, y: 11.25, fill: "currentColor", rx: 0.75 } }, { tag: "rect", attrs: { width: 20, height: 1.5, x: 2, y: 18.75, fill: "currentColor", rx: 0.75 } }] };
- var C9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "menu-single-24",
- ref: t,
- icon: Q4
- }));
- });
- C9.displayName = "MenuSingle24";
- var J4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M12.5939 1.13916L10.6607 1.1392C9.5563 1.13922 8.66094 2.03448 8.66079 3.13893L8.66064 4.19191C8.6606 4.52328 8.92919 4.79194 9.26056 4.79199 9.59193 4.79204 9.8606 4.52344 9.86064 4.19207L9.86079 3.13909C9.86085 2.69731 10.219 2.33921 10.6608 2.3392L12.594 2.33916C13.0358 2.33915 13.394 2.69732 13.394 3.13916L13.394 7.40012H10.4947L11.0464 6.84845C11.2807 6.61414 11.2807 6.23424 11.0464 5.99993 10.8121 5.76561 10.4322 5.76561 10.1979 5.99993L9.31395 6.88384C8.68914 7.50867 8.68914 8.52171 9.31396 9.14654L10.1979 10.0305C10.4322 10.2648 10.8121 10.2648 11.0464 10.0305 11.2807 9.79614 11.2807 9.41624 11.0464 9.18192L10.4646 8.60012H13.394L13.394 12.8612C13.394 13.303 13.0359 13.6612 12.594 13.6612H10.6606C10.2188 13.6612 9.86064 13.303 9.86064 12.8612V11.8084C9.86064 11.4771 9.59202 11.2084 9.26064 11.2084 8.92927 11.2084 8.66064 11.4771 8.66064 11.8084V12.8612C8.66064 13.9658 9.55607 14.8612 10.6606 14.8612H12.594C13.6986 14.8612 14.594 13.9658 14.594 12.8612L14.594 8.0066 14.594 8.00012 14.594 7.99363 14.594 3.13915C14.594 2.03457 13.6985 1.13914 12.5939 1.13916zM5.33889 1.13919L3.4057 1.13926C2.30115 1.13931 1.40576 2.03474 1.40578 3.13928L1.40582 7.99139 1.40576 8.00012 1.40582 8.00886 1.40587 12.8612C1.40588 13.9658 2.30131 14.8612 3.40587 14.8612H5.33897C6.44354 14.8612 7.33897 13.9658 7.33897 12.8612V11.8084C7.33897 11.4771 7.07034 11.2084 6.73897 11.2084 6.4076 11.2084 6.13897 11.4771 6.13897 11.8084V12.8612C6.13897 13.303 5.7808 13.6612 5.33897 13.6612H3.40587C2.96405 13.6612 2.60588 13.303 2.60587 12.8612L2.60583 8.60012H5.53538L4.95357 9.18193C4.71925 9.41624 4.71925 9.79614 4.95357 10.0305 5.18788 10.2648 5.56778 10.2648 5.8021 10.0305L6.68599 9.14656C7.31083 8.52172 7.31083 7.50866 6.68599 6.88382L5.8021 5.99993C5.56778 5.76561 5.18788 5.76561 4.95357 5.99993 4.71925 6.23424 4.71925 6.61414 4.95357 6.84845L5.50523 7.40012H2.60582L2.60578 3.13927C2.60577 2.69745 2.96393 2.33928 3.40574 2.33926L5.33894 2.33919C5.78078 2.33917 6.13897 2.69735 6.13897 3.13919V4.192C6.13897 4.52337 6.4076 4.792 6.73897 4.792 7.07034 4.792 7.33897 4.52337 7.33897 4.192V3.13919C7.33897 2.03459 6.44349 1.13914 5.33889 1.13919z" } }] };
- var b9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "merge-all-single",
- ref: t,
- icon: J4
- }));
- });
- b9.displayName = "MergeAllSingle";
- var K4 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M8.6707 7.03525C9.0573 7.03525 9.3707 6.72185 9.3707 6.33525 9.3707 5.94866 9.0573 5.63525 8.6707 5.63525 8.28411 5.63525 7.9707 5.94866 7.9707 6.33525 7.9707 6.72185 8.28411 7.03525 8.6707 7.03525zM8.671 12.2842C8.33963 12.2842 8.071 12.0156 8.071 11.6842L8.071 8.20615C8.071 7.87478 8.33962 7.60615 8.671 7.60615 9.00237 7.60615 9.271 7.87478 9.271 8.20615L9.271 11.6842C9.271 12.0156 9.00237 12.2842 8.671 12.2842zM13.5105 9.62735C13.5105 9.09992 13.0091 8.71683 12.5002 8.8555L12.1671 8.94628C11.7319 9.06486 11.43 9.46007 11.43 9.9111V11.6842C11.43 12.0156 11.1614 12.2842 10.83 12.2842 10.4986 12.2842 10.23 12.0156 10.23 11.6842V9.9111C10.23 8.91884 10.8942 8.04938 11.8516 7.7885L12.1847 7.69771C13.4569 7.35104 14.7105 8.30878 14.7105 9.62735V11.6842C14.7105 12.0156 14.4419 12.2842 14.1105 12.2842 13.7792 12.2842 13.5105 12.0156 13.5105 11.6842V9.62735z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M10.8377 7.66644C11.169 7.66642 11.4377 7.93503 11.4377 8.2664L11.438 11.6841C11.438 12.0155 11.1694 12.2841 10.838 12.2842 10.5066 12.2842 10.238 12.0156 10.238 11.6842L10.2377 8.26649C10.2377 7.93512 10.5063 7.66647 10.8377 7.66644zM5.91043 8.23408V11.684C5.91043 12.0154 6.17906 12.284 6.51043 12.284 6.84181 12.284 7.11043 12.0154 7.11043 11.684V5.62174C7.11043 4.70597 5.82111 4.50856 5.54709 5.38237L4.19976 9.67881 2.85241 5.38235C2.58604 4.53293 1.28906 4.67865 1.28906 5.61997V11.684C1.28906 12.0154 1.55769 12.284 1.88906 12.284 2.22043 12.284 2.48906 12.0154 2.48906 11.684V8.23404L3.43641 11.255C3.67082 12.0025 4.7287 12.0025 4.9631 11.255L5.91043 8.23408z", fillRule: "evenodd", clipRule: "evenodd" } }] };
- var y9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "min-single",
- ref: t,
- icon: K4
- }));
- });
- y9.displayName = "MinSingle";
- var ea = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M11.3536 6.14645C11.5488 6.34171 11.5488 6.65829 11.3536 6.85355L8.35355 9.85355C8.15829 10.0488 7.84171 10.0488 7.64645 9.85355L4.64645 6.85355C4.45118 6.65829 4.45118 6.34171 4.64645 6.14645C4.84171 5.95118 5.15829 5.95118 5.35355 6.14645L8 8.79289L10.6464 6.14645C10.8417 5.95118 11.1583 5.95118 11.3536 6.14645Z", fillRule: "evenodd", clipRule: "evenodd" } }] };
- var _t = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "more-down-single",
- ref: t,
- icon: ea
- }));
- });
- _t.displayName = "MoreDownSingle";
- var ta = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M8 3.30078C8.55228 3.30078 9 2.85307 9 2.30078 9 1.7485 8.55228 1.30078 8 1.30078 7.44772 1.30078 7 1.7485 7 2.30078 7 2.85307 7.44772 3.30078 8 3.30078zM8 9.00012C8.55228 9.00012 9 8.55241 9 8.00012 9 7.44784 8.55228 7.00012 8 7.00012 7.44772 7.00012 7 7.44784 7 8.00012 7 8.55241 7.44772 9.00012 8 9.00012zM9 13.6995C9 14.2517 8.55228 14.6995 8 14.6995 7.44772 14.6995 7 14.2517 7 13.6995 7 13.1472 7.44772 12.6995 8 12.6995 8.55228 12.6995 9 13.1472 9 13.6995z" } }] };
- var L9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "more-function-single",
- ref: t,
- icon: ta
- }));
- });
- L9.displayName = "MoreFunctionSingle";
- var na = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M5.90913 3.57564C6.14345 3.34132 6.52335 3.34132 6.75766 3.57564L10.7577 7.57564C10.992 7.80995 10.992 8.18985 10.7577 8.42417L6.75766 12.4242C6.52335 12.6585 6.14345 12.6585 5.90913 12.4242C5.67482 12.1899 5.67482 11.81 5.90913 11.5756L9.48487 7.9999L5.90913 4.42417C5.67482 4.18985 5.67482 3.80995 5.90913 3.57564Z", fillRule: "evenodd", clipRule: "evenodd" } }] };
- var On = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "more-single",
- ref: t,
- icon: na
- }));
- });
- On.displayName = "MoreSingle";
- var ra = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M7.1349 1.3999C6.80353 1.3999 6.5349 1.66853 6.5349 1.9999 6.5349 2.33127 6.80353 2.5999 7.1349 2.5999H7.67993V4.55065C7.67993 4.88203 7.94856 5.15065 8.27993 5.15065 8.6113 5.15065 8.87993 4.88203 8.87993 4.55065V2.5999H9.4049C9.73627 2.5999 10.0049 2.33127 10.0049 1.9999 10.0049 1.66853 9.73627 1.3999 9.4049 1.3999H7.1349zM2.5999 7.1349C2.5999 6.80353 2.33127 6.5349 1.9999 6.5349 1.66853 6.5349 1.3999 6.80353 1.3999 7.1349V9.4049C1.3999 9.73627 1.66853 10.0049 1.9999 10.0049 2.33127 10.0049 2.5999 9.73627 2.5999 9.4049V8.86968H4.54992C4.88129 8.86968 5.14992 8.60105 5.14992 8.26968 5.14992 7.93831 4.88129 7.66968 4.54992 7.66968H2.5999V7.1349zM15.1399 7.1349C15.1399 6.80353 14.8713 6.5349 14.5399 6.5349 14.2085 6.5349 13.9399 6.80353 13.9399 7.1349V7.66968H12.0099C11.6786 7.66968 11.4099 7.93831 11.4099 8.26968 11.4099 8.60105 11.6786 8.86968 12.0099 8.86968H13.9399V9.4049C13.9399 9.73627 14.2085 10.0049 14.5399 10.0049 14.8713 10.0049 15.1399 9.73627 15.1399 9.4049V8.27463L15.1399 8.26968 15.1399 8.26472V7.1349zM7.1349 13.9399C6.80353 13.9399 6.5349 14.2085 6.5349 14.5399 6.5349 14.8713 6.80353 15.1399 7.1349 15.1399H8.24962C8.25966 15.1404 8.26977 15.1407 8.27993 15.1407 8.2901 15.1407 8.3002 15.1404 8.31024 15.1399H9.4049C9.73627 15.1399 10.0049 14.8713 10.0049 14.5399 10.0049 14.2085 9.73627 13.9399 9.4049 13.9399H8.87993V12.0107C8.87993 11.6793 8.6113 11.4107 8.27993 11.4107 7.94856 11.4107 7.67993 11.6793 7.67993 12.0107V13.9399H7.1349zM2.60991 4.00967C2.60991 3.23647 3.23671 2.60967 4.00991 2.60967H4.33991C4.67128 2.60967 4.93991 2.34104 4.93991 2.00967 4.93991 1.6783 4.67128 1.40967 4.33991 1.40967H4.00991C2.57397 1.40967 1.40991 2.57373 1.40991 4.00967V4.33967C1.40991 4.67104 1.67854 4.93967 2.00991 4.93967 2.34128 4.93967 2.60991 4.67104 2.60991 4.33967V4.00967zM12.1999 1.40967C11.8685 1.40967 11.5999 1.6783 11.5999 2.00967 11.5999 2.34104 11.8685 2.60967 12.1999 2.60967H12.5299C13.3031 2.60967 13.9299 3.23647 13.9299 4.00967V4.33967C13.9299 4.67104 14.1985 4.93967 14.5299 4.93967 14.8613 4.93967 15.1299 4.67104 15.1299 4.33967V4.00967C15.1299 2.57373 13.9659 1.40967 12.5299 1.40967H12.1999zM2.60991 12.1997C2.60991 11.8683 2.34128 11.5997 2.00991 11.5997 1.67854 11.5997 1.40991 11.8683 1.40991 12.1997V12.5297C1.40991 13.9656 2.57397 15.1297 4.00991 15.1297H4.33991C4.67128 15.1297 4.93991 14.861 4.93991 14.5297 4.93991 14.1983 4.67128 13.9297 4.33991 13.9297H4.00991C3.23671 13.9297 2.60991 13.3029 2.60991 12.5297V12.1997zM15.1299 12.1997C15.1299 11.8683 14.8613 11.5997 14.5299 11.5997 14.1985 11.5997 13.9299 11.8683 13.9299 12.1997V12.5297C13.9299 13.3029 13.3031 13.9297 12.5299 13.9297H12.1999C11.8685 13.9297 11.5999 14.1983 11.5999 14.5297 11.5999 14.861 11.8685 15.1297 12.1999 15.1297H12.5299C13.9659 15.1297 15.1299 13.9656 15.1299 12.5297V12.1997z" } }] };
- var _9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "no-border-single",
- ref: t,
- icon: ra
- }));
- });
- _9.displayName = "NoBorderSingle";
- var ia = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M12.665 2.66496H3.33496C2.96493 2.66496 2.66496 2.96493 2.66496 3.33496V12.665C2.66496 13.035 2.96493 13.335 3.33496 13.335H12.665C13.035 13.335 13.335 13.035 13.335 12.665V3.33496C13.335 2.96493 13.035 2.66496 12.665 2.66496ZM3.33496 1.33496C2.23039 1.33496 1.33496 2.23039 1.33496 3.33496V12.665C1.33496 13.7695 2.23039 14.665 3.33496 14.665H12.665C13.7695 14.665 14.665 13.7695 14.665 12.665V3.33496C14.665 2.23039 13.7695 1.33496 12.665 1.33496H3.33496Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "colorChannel1", d: "M13.2559 14.1963L1.64941 2.58984L2.58987 1.64939L14.1963 13.2558L13.2559 14.1963Z", fillRule: "evenodd", clipRule: "evenodd" } }] };
- var S9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "no-color",
- ref: t,
- icon: ia
- }));
- });
- S9.displayName = "NoColor";
- var oa = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M6.671 2.24246C7.1197 1.01814 8.85129 1.01814 9.3 2.24246L11.8919 9.31458C12.0059 9.62571 11.8461 9.97038 11.535 10.0844C11.2238 10.1984 10.8792 10.0386 10.7652 9.72751L9.74324 6.93913H6.29183C6.2706 6.93913 6.24962 6.93802 6.22895 6.93587L5.20584 9.72751C5.09181 10.0386 4.74715 10.1984 4.43601 10.0844C4.12488 9.97038 3.96509 9.62571 4.07912 9.31458L6.671 2.24246ZM8.17328 2.6554L9.30345 5.73913H6.66755L7.79771 2.6554C7.86181 2.48049 8.10918 2.48049 8.17328 2.6554Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M1.9999 11.4246C1.66853 11.4246 1.3999 11.6933 1.3999 12.0246C1.3999 12.356 1.66853 12.6246 1.9999 12.6246H13.1675L12.1436 13.7558C11.9212 14.0015 11.9401 14.3809 12.1858 14.6033C12.4314 14.8257 12.8109 14.8068 13.0332 14.5611L14.3597 13.0957C14.9416 12.4528 14.4854 11.4246 13.6183 11.4246H1.9999Z" } }] };
- var M9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "no-rotation-single",
- ref: t,
- icon: oa
- }));
- });
- M9.displayName = "NoRotationSingle";
- var aa = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 17 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M1.65465 3.96697V2.9942C1.65465 2.9188 1.64353 2.86563 1.62465 2.83387 1.61052 2.81011 1.58943 2.79243 1.53852 2.79243H1.44483C1.23836 2.79243 1.07099 2.62506 1.07099 2.41859 1.07099 2.23956 1.19714 2.09152 1.36369 2.04728 1.4425 2.02634 1.51336 2.00423 1.57642 1.98104 1.65529 1.94986 1.73286 1.91381 1.80913 1.87285 1.8974 1.82544 1.99768 1.79517 2.10303 1.79517 2.41692 1.79517 2.67137 2.04962 2.67137 2.36351V4.02047C2.67137 4.12385 2.75517 4.20765 2.85855 4.20765 3.0614 4.20765 3.22585 4.3721 3.22585 4.57495V4.63332C3.22585 4.86842 3.03527 5.059 2.80018 5.059H1.41884C1.1829 5.059.993164 4.86511.993164 4.63087.993164 4.39932 1.18072 4.20765 1.41398 4.20765 1.5469 4.20765 1.65465 4.09989 1.65465 3.96697zM.949709 9.2145C1.14957 9.02907 1.33226 8.85497 1.49677 8.69321 1.6914 8.50496 1.84244 8.33306 1.95136 8.17747 2.05826 8.02476 2.10492 7.89219 2.10492 7.77781 2.10492 7.65255 2.07293 7.57986 2.02759 7.53865L2.0245 7.5357C1.97641 7.48761 1.9103 7.46013 1.81635 7.46013 1.71986 7.46013 1.6383 7.47348 1.5822 7.51611L1.58034 7.51749C1.42279 7.63092 1.19425 7.67086 1.03149 7.50811L1.02187 7.49849C.868433 7.34505.852261 7.07998 1.03819 6.93364 1.12802 6.86293 1.21897 6.8051 1.31109 6.76081 1.48788 6.67257 1.69616 6.63037 1.93278 6.63037 2.15191 6.63037 2.34929 6.67491 2.52246 6.76665 2.69563 6.85514 2.83257 6.98323 2.93172 7.14966 3.03175 7.31758 3.08022 7.51184 3.08022 7.72929 3.08022 7.91104 3.03028 8.09333 2.93429 8.27521 2.84374 8.45283 2.72797 8.62691 2.58859 8.79616 2.51109 8.88842 2.43304 8.97759 2.35442 9.06369 2.34919 9.06941 2.34388 9.07573 2.33892 9.08228 2.34542 9.08201 2.35268 9.08151 2.36075 9.08073 2.46266 9.07087 2.54985 9.06576 2.62168 9.06576H2.78662C3.02915 9.06576 3.22576 9.26237 3.22576 9.5049 3.22576 9.74742 3.02915 9.94403 2.78662 9.94403H1.23472C1.00261 9.94403.814453 9.75587.814453 9.52376.814453 9.40615.86379 9.29421.949709 9.2145zM1.2579 14.674C1.45109 14.7553 1.67487 14.7946 1.92711 14.7946 2.1451 14.7946 2.34841 14.7599 2.53619 14.6895L2.53746 14.689C2.7264 14.6148 2.88145 14.5071 2.99952 14.3647L3.00018 14.3639C3.12167 14.2138 3.18089 14.0326 3.18089 13.8252 3.18089 13.6181 3.12169 13.4411 2.99737 13.3022 2.91596 13.2112 2.81864 13.1388 2.70642 13.0846 2.80611 13.023 2.88805 12.9505 2.95017 12.8661 3.04138 12.7422 3.08609 12.5977 3.08609 12.4365 3.08609 12.1403 2.97594 11.9041 2.7521 11.7404 2.53645 11.5772 2.25212 11.5002 1.90815 11.5002 1.7136 11.5002 1.52963 11.5372 1.35712 11.6115 1.28512 11.6418 1.21426 11.6776 1.14456 11.7188.938688 11.8404.928034 12.1099 1.06649 12.2774 1.21291 12.4544 1.46028 12.4561 1.63989 12.363 1.70891 12.3286 1.78521 12.3109 1.87023 12.3109 1.96356 12.3109 2.01717 12.3317 2.04691 12.3578 2.07449 12.3821 2.09529 12.4231 2.09529 12.4981 2.09529 12.5709 2.0658 12.6284 1.99667 12.6764 1.96042 12.6999 1.8978 12.7216 1.80025 12.7355 1.61051 12.7625 1.44118 12.9145 1.44118 13.1237 1.44118 13.3319 1.60937 13.4885 1.80489 13.5068 1.87785 13.5136 1.93575 13.5234 1.97985 13.5355 2.07997 13.562 2.12905 13.596 2.14927 13.6246 2.17519 13.6614 2.19008 13.7078 2.19008 13.7684 2.19008 13.8334 2.16583 13.8754 2.1142 13.9064 2.05357 13.9428 1.96521 13.965 1.84179 13.965 1.749 13.965 1.6547 13.9433 1.55817 13.8981 1.363 13.7983 1.08846 13.8083.942801 14.01L.936366 14.0189C.827321 14.1699.821861 14.401.994678 14.5262 1.07406 14.5836 1.16225 14.633 1.2579 14.674zM5.13037 2.827C4.799 2.827 4.53037 3.09563 4.53037 3.427 4.53037 3.75837 4.799 4.027 5.13037 4.027H15.1489C15.4803 4.027 15.7489 3.75837 15.7489 3.427 15.7489 3.09563 15.4803 2.827 15.1489 2.827H5.13037zM4.53037 8.28711C4.53037 7.95574 4.799 7.68711 5.13037 7.68711H15.1489C15.4803 7.68711 15.7489 7.95574 15.7489 8.28711 15.7489 8.61848 15.4803 8.88711 15.1489 8.88711H5.13037C4.799 8.88711 4.53037 8.61848 4.53037 8.28711zM5.13037 12.5475C4.799 12.5475 4.53037 12.8161 4.53037 13.1475 4.53037 13.4788 4.799 13.7475 5.13037 13.7475H15.1489C15.4803 13.7475 15.7489 13.4788 15.7489 13.1475 15.7489 12.8161 15.4803 12.5475 15.1489 12.5475H5.13037z" } }] };
- var w9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "order-single",
- ref: t,
- icon: aa
- }));
- });
- w9.displayName = "OrderSingle";
- var sa = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_107_1302", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_107_1302)" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M13.3333 2.66634H2.66659V13.333H13.3333V2.66634ZM2.66659 1.33301C1.93021 1.33301 1.33325 1.92996 1.33325 2.66634V13.333C1.33325 14.0694 1.93021 14.6663 2.66659 14.6663H13.3333C14.0696 14.6663 14.6666 14.0694 14.6666 13.333V2.66634C14.6666 1.92996 14.0696 1.33301 13.3333 1.33301H2.66659Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "colorChannel1", d: "M7.33311 2.66748V5.33415H8.66644V2.66748H7.33311zM7.33311 10.6675V13.3341H8.66644V10.6675H7.33311zM13.3331 7.33415H10.6664V8.66748H13.3331V7.33415zM5.33311 7.33415H2.66644V8.66748H5.33311V7.33415z" } }] }] };
- var x9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "outer-border",
- ref: t,
- icon: sa
- }));
- });
- x9.displayName = "OuterBorder";
- var la = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M7.9999.733154C8.33127.733154 8.5999 1.00178 8.5999 1.33315V5.33315C8.5999 5.66453 8.33127 5.93315 7.9999 5.93315 7.66853 5.93315 7.3999 5.66453 7.3999 5.33315V1.33315C7.3999 1.00178 7.66853.733154 7.9999.733154zM2.46621 2.73315C2.79758 2.73315 3.06621 3.00178 3.06621 3.33315V12.6665C3.06621 12.9979 2.79758 13.2665 2.46621 13.2665 2.13484 13.2665 1.86621 12.9979 1.86621 12.6665V3.33315C1.86621 3.00178 2.13484 2.73315 2.46621 2.73315zM5.3334 7.3999C5.00203 7.3999 4.7334 7.66853 4.7334 7.9999 4.7334 8.33127 5.00203 8.5999 5.3334 8.5999H12.603L11.9252 9.28591C11.6922 9.52163 11.6945 9.90152 11.9302 10.1344 12.166 10.3673 12.5458 10.3651 12.7788 10.1293L14.4577 8.43018C14.69 8.19509 14.6884 7.81641 14.4542 7.58324L12.7753 5.91184C12.5404 5.67806 12.1605 5.67891 11.9267 5.91375 11.6929 6.14859 11.6938 6.52849 11.9286 6.76228L12.5691 7.3999H5.3334zM8.5999 10.6667C8.5999 10.3353 8.33127 10.0667 7.9999 10.0667 7.66853 10.0667 7.3999 10.3353 7.3999 10.6667V14.6667C7.3999 14.998 7.66853 15.2667 7.9999 15.2667 8.33127 15.2667 8.5999 14.998 8.5999 14.6667V10.6667z" } }] };
- var E9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "overflow-single",
- ref: t,
- icon: la
- }));
- });
- E9.displayName = "OverflowSingle";
- var ca = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_102_1204", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_102_1204)" }, children: [{ tag: "rect", attrs: { width: 12.62, height: 2.79, x: 1.69, y: 12.25, fill: "colorChannel1", rx: 1.4 } }, { tag: "path", attrs: { fill: "currentColor", d: "M7.74646 2.1642C7.34284 1.65121 6.85947 1.28205 6.38447 1.09593C5.86863 0.893787 5.15166 0.852126 4.70047 1.42917C4.29842 1.94344 4.33082 2.70249 4.57691 3.50395C4.68808 3.8661 4.86846 4.22254 5.12522 4.56617C5.13695 4.58185 5.14927 4.5968 5.16211 4.61102C5.17152 4.6214 5.18122 4.63139 5.19115 4.64096C5.20459 4.65393 5.21855 4.66618 5.23296 4.6777L3.5064 6.40422C3.26756 6.64306 3.26756 7.03033 3.5064 7.26919L7.23756 11.0004C7.47648 11.2392 7.86375 11.2392 8.1026 11.0004L12.8329 6.27001C13.0717 6.03117 13.0717 5.6439 12.8329 5.40505L9.10172 1.67387C8.86288 1.43503 8.47561 1.43503 8.23676 1.67387L7.74646 2.1642ZM7.46162 4.50638C7.47252 4.57574 7.48163 4.64652 7.4888 4.71868C7.52232 5.05481 7.82194 5.30013 8.15807 5.26661C8.4942 5.23311 8.73954 4.93345 8.70601 4.59732C8.65786 4.11463 8.54251 3.6666 8.37892 3.26169L8.66928 2.97135L11.5354 5.83753L10.6106 6.76237H4.87824L7.40802 4.2326C7.42885 4.32128 7.44684 4.41255 7.46162 4.50638ZM6.87284 3.03784C6.57441 2.62008 6.22261 2.34634 5.93815 2.23487C5.80233 2.18165 5.71528 2.17827 5.67638 2.18335C5.6725 2.18387 5.66929 2.18443 5.6666 2.18497L5.6619 2.18607C5.64166 2.21954 5.53594 2.45979 5.74626 3.1449C5.81241 3.36036 5.92262 3.58602 6.09307 3.81761L6.87284 3.03784Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M12.1932 11.5463C12.6454 11.5463 13.012 11.1797 13.012 10.7275C13.012 10.4475 12.6981 9.92821 12.459 9.5733C12.3299 9.38173 12.0564 9.38174 11.9274 9.57331C11.6883 9.92822 11.3744 10.4475 11.3744 10.7275C11.3744 11.1797 11.741 11.5463 12.1932 11.5463Z" } }] }] };
- var H9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "paint-bucket",
- ref: t,
- icon: ca
- }));
- });
- H9.displayName = "PaintBucket";
- var ua = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_102_1138", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_102_1138)" }, children: [{ tag: "path", attrs: { fill: "colorChannel1", d: "M7.74692 9.12463C7.74692 9.46018 8.01893 9.73219 8.35448 9.73219H11.4933C11.8288 9.73219 12.1009 9.46018 12.1009 9.12463 12.1009 8.78909 11.8288 8.51707 11.4933 8.51707H8.35448C8.01893 8.51707 7.74692 8.78909 7.74692 9.12463zM10.8636 10.8523C10.8636 11.1879 10.5915 11.4599 10.256 11.4599H8.35448C8.01893 11.4599 7.74692 11.1879 7.74692 10.8523 7.74692 10.5168 8.01893 10.2447 8.35448 10.2447H10.256C10.5915 10.2447 10.8636 10.5168 10.8636 10.8523z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M5.4791 1.98268C5.47913 1.71529 5.87912 1.49854 6.37252 1.49854C6.86593 1.49854 7.26592 1.71529 7.26595 1.98268H7.62187C8.22277 1.98268 8.72459 2.39534 8.84412 2.9452H9.39563C10.0856 2.9452 10.6449 3.48923 10.6449 4.16032V6.00569H12.1261C13.161 6.00569 14 6.82174 14 7.82838V11.334C14 11.8174 13.8025 12.281 13.4511 12.6228L12.0693 13.9647C11.7179 14.3065 11.2412 14.4985 10.7442 14.4985H7.91116C7.05024 14.4985 6.32492 14.0431 6.10535 13.2737H3.34925C2.6593 13.2737 2.09998 12.7297 2.09998 12.0586V4.16032C2.09998 3.48923 2.6593 2.9452 3.34925 2.9452H3.90107C4.0206 2.39534 4.52241 1.98268 5.12332 1.98268H5.4791ZM3.97249 4.16032H3.24925L3.24925 12.0586H6.03725V7.82838C6.03725 6.82174 6.87623 6.00569 7.91116 6.00569H9.49563V4.16032H8.7727C8.58289 4.59611 8.13909 4.90183 7.62187 4.90183H5.12332C4.6061 4.90183 4.1623 4.59611 3.97249 4.16032ZM5.12332 2.89403H7.62187C7.79436 2.89403 7.93419 3.03003 7.93419 3.19781V3.68671C7.93419 3.85448 7.79436 3.99049 7.62187 3.99049H5.12332C4.95083 3.99049 4.811 3.85448 4.811 3.68671V3.19781C4.811 3.03003 4.95083 2.89403 5.12332 2.89403ZM7.91116 7.11157C7.56618 7.11157 7.28652 7.38359 7.28652 7.71913V12.7851C7.28652 13.1206 7.56618 13.3927 7.91116 13.3927H10.7442C10.8401 13.3927 10.9337 13.3712 11.0182 13.3311C11.1373 13.2746 11.1859 13.1423 11.1859 13.0134V12.0066C11.1859 11.8724 11.2978 11.7636 11.4358 11.7636H12.4709C12.6034 11.7636 12.7394 11.7163 12.7975 11.6004C12.8388 11.5182 12.8608 11.4272 12.8608 11.334V7.71913C12.8608 7.38359 12.5811 7.11157 12.2362 7.11157H7.91116Z", fillRule: "evenodd", clipRule: "evenodd" } }] }] };
- var O9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "paste-special",
- ref: t,
- icon: ua
- }));
- });
- O9.displayName = "PasteSpecial";
- var fa = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_561_2", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#D9D9D9", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { fill: "currentColor", mask: "url(#mask0_561_2)", fillRule: "evenodd", clipRule: "evenodd" }, children: [{ tag: "path", attrs: { d: "M4.91876 2.65039C3.66601 2.65039 2.65045 3.66595 2.65045 4.9187 2.65045 6.17146 3.66601 7.18702 4.91876 7.18702 6.17152 7.18702 7.18708 6.17146 7.18708 4.9187 7.18708 3.66595 6.17152 2.65039 4.91876 2.65039zM3.94663 4.9187C3.94663 4.38181 4.38187 3.94657 4.91876 3.94657 5.45566 3.94657 5.8909 4.38181 5.8909 4.9187 5.8909 5.4556 5.45566 5.89084 4.91876 5.89084 4.38187 5.89084 3.94663 5.4556 3.94663 4.9187zM11.0812 8.81299C9.82842 8.81299 8.81286 9.82855 8.81286 11.0813 8.81286 12.3341 9.82842 13.3496 11.0812 13.3496 12.3339 13.3496 13.3495 12.3341 13.3495 11.0813 13.3495 9.82855 12.3339 8.81299 11.0812 8.81299zM10.109 11.0813C10.109 10.5444 10.5443 10.1092 11.0812 10.1092 11.6181 10.1092 12.0533 10.5444 12.0533 11.0813 12.0533 11.6182 11.6181 12.0534 11.0812 12.0534 10.5443 12.0534 10.109 11.6182 10.109 11.0813zM13.1597 2.84021C13.4128 3.09331 13.4128 3.50365 13.1597 3.75675L3.7568 13.1596C3.5037 13.4127 3.09336 13.4127 2.84026 13.1596 2.58717 12.9065 2.58717 12.4962 2.84026 12.2431L12.2431 2.84021C12.4962 2.58712 12.9066 2.58712 13.1597 2.84021z" } }] }] };
- var R9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "percent-single",
- ref: t,
- icon: fa
- }));
- });
- R9.displayName = "PercentSingle";
- var da = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M3.35928 2.57764C3.61338 1.77872 4.36128 1.19995 5.24437 1.19995C6.12746 1.19995 6.87537 1.77872 7.12947 2.57764H11.7885C13.4928 2.57764 14.7999 3.8461 14.7997 5.5888C14.7995 7.33129 13.4929 8.59984 11.7885 8.59984H6.63121L6.6224 8.5999H4.21143C3.16019 8.5999 2.4001 9.34071 2.4002 10.4109C2.40029 11.4814 3.16029 12.2221 4.21143 12.2221H8.87045C9.12449 11.4231 9.87245 10.8442 10.7556 10.8442C11.6388 10.8442 12.3868 11.4231 12.6408 12.2222H14.1999C14.5312 12.2222 14.7999 12.4908 14.7999 12.8222C14.7999 13.1535 14.5312 13.4222 14.1999 13.4222H12.6407C12.3866 14.221 11.6387 14.7998 10.7556 14.7998C9.87252 14.7998 9.12461 14.221 8.87051 13.4221H4.21143C2.50701 13.4221 1.20035 12.1536 1.2002 10.4111C1.20004 8.66836 2.50712 7.3999 4.21143 7.3999H6.61326L6.62208 7.39984H11.7885C12.8396 7.39984 13.5996 6.65912 13.5997 5.58868C13.5998 4.51844 12.8397 3.77764 11.7885 3.77764H7.12952C6.87548 4.57664 6.12753 5.1555 5.24437 5.1555C4.36122 5.1555 3.61327 4.57664 3.35922 3.77764H1.8002C1.46882 3.77764 1.2002 3.50901 1.2002 3.17764C1.2002 2.84627 1.46882 2.57764 1.8002 2.57764H3.35928ZM4.46671 3.16449C4.47377 2.74105 4.81924 2.39995 5.24437 2.39995C5.67026 2.39995 6.0162 2.74226 6.02207 3.16675L6.02197 3.17764L6.02207 3.1886C6.01625 3.61314 5.67029 3.95549 5.24437 3.95549C4.81921 3.95549 4.47372 3.61435 4.46671 3.19085L4.46685 3.17764L4.46671 3.16449ZM9.97788 12.8307C9.98254 13.2562 10.329 13.5998 10.7556 13.5998C11.1815 13.5998 11.5274 13.2575 11.5333 12.8331C11.5332 12.8294 11.5332 12.8258 11.5332 12.8222C11.5332 12.8185 11.5332 12.8148 11.5333 12.8111C11.5275 12.3866 11.1815 12.0442 10.7556 12.0442C10.3289 12.0442 9.98248 12.3878 9.97788 12.8134C9.97792 12.8163 9.97794 12.8192 9.97794 12.8221C9.97794 12.825 9.97792 12.8278 9.97788 12.8307Z", fillRule: "evenodd", clipRule: "evenodd" } }] };
- var T9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "piping-single",
- ref: t,
- icon: da
- }));
- });
- T9.displayName = "PipingSingle";
- var ha = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M11.273 2.72206C11.0214 2.50641 10.9922 2.12763 11.2079 1.87603C11.4235 1.62444 11.8023 1.59531 12.0539 1.81097L14.3833 3.80761C14.5134 3.91733 14.5962 4.08137 14.5967 4.26477L14.5967 4.2665C14.5967 4.41745 14.541 4.55538 14.4489 4.66083C14.44 4.67109 14.4307 4.68108 14.421 4.69077L12.0877 7.02411C11.8534 7.25842 11.4735 7.25843 11.2392 7.02412C11.0049 6.78981 11.0049 6.40991 11.2392 6.17559L12.5482 4.8665H6.63324C4.40569 4.8665 2.5999 6.67229 2.5999 8.89984C2.5999 11.1274 4.40569 12.9332 6.63324 12.9332H11.9972C12.3286 12.9332 12.5972 13.2018 12.5972 13.5332C12.5972 13.8645 12.3286 14.1332 11.9972 14.1332H6.63324C3.74295 14.1332 1.3999 11.7901 1.3999 8.89984C1.3999 6.00955 3.74295 3.6665 6.63324 3.6665H12.3748L11.273 2.72206Z" } }] };
- var N9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "redo-single",
- ref: t,
- icon: ha
- }));
- });
- N9.displayName = "RedoSingle";
- var pa = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M6.33307 1.3916C5.14145 1.3916 4.06641 2.27555 4.06641 3.49366V6.49777C4.06641 7.71586 5.14145 8.59982 6.33307 8.59982C7.52469 8.59982 8.59974 7.71586 8.59974 6.49777V3.49366C8.59974 2.27555 7.52469 1.3916 6.33307 1.3916ZM5.26641 3.49366C5.26641 3.05264 5.68376 2.5916 6.33307 2.5916C6.98239 2.5916 7.39974 3.05264 7.39974 3.49366V6.49777C7.39974 6.93878 6.98239 7.39982 6.33307 7.39982C5.68376 7.39982 5.26641 6.93878 5.26641 6.49777V3.49366Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M7.90913 9.5417C8.14345 9.30739 8.52335 9.30739 8.75766 9.5417 8.99198 9.77602 8.99198 10.1559 8.75766 10.3902L7.78193 11.366H13.9999C14.3313 11.366 14.5999 11.6346 14.5999 11.966 14.5999 12.2973 14.3313 12.566 13.9999 12.566H7.78193L8.75766 13.5417C8.99198 13.776 8.99198 14.1559 8.75766 14.3902 8.52335 14.6245 8.14345 14.6245 7.90913 14.3902L5.91739 12.3985C5.80388 12.2893 5.73324 12.1359 5.73324 11.966 5.73324 11.796 5.80388 11.6426 5.91739 11.5334L7.90913 9.5417zM1.3999 8.3002C1.3999 7.96882 1.66853 7.7002 1.9999 7.7002H2.33324C2.66461 7.7002 2.93324 7.96882 2.93324 8.3002 2.93324 8.63157 2.66461 8.9002 2.33324 8.9002H1.9999C1.66853 8.9002 1.3999 8.63157 1.3999 8.3002z" } }] };
- var I9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "reduce-digits-single",
- ref: t,
- icon: pa
- }));
- });
- I9.displayName = "ReduceDigitsSingle";
- var va = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_233_11", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#D9D9D9", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_233_11)" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M2.53331 14C2.35652 14 2.18697 13.9297 2.06197 13.8047C1.93697 13.6797 1.86675 13.5101 1.86675 13.3333C1.86675 13.1565 1.93697 12.987 2.06197 12.862C2.18697 12.7369 2.35652 12.6667 2.53331 12.6667L13.4666 12.6667C13.6434 12.6667 13.813 12.7369 13.938 12.862C14.063 12.987 14.1332 13.1565 14.1332 13.3333C14.1332 13.5101 14.063 13.6797 13.938 13.8047C13.813 13.9297 13.6434 14 13.4666 14L2.53331 14ZM2.53331 3.33333C2.35652 3.33331 2.18697 3.26306 2.06197 3.13804C1.93697 3.01301 1.86675 2.84346 1.86675 2.66667C1.86675 2.48987 1.93697 2.32032 2.06197 2.1953C2.18697 2.07028 2.35652 2.00003 2.53331 2L13.4666 2C13.6434 2.00003 13.813 2.07028 13.938 2.1953C14.063 2.32032 14.1332 2.48987 14.1332 2.66667C14.1332 2.84346 14.063 3.01301 13.938 3.13803C13.813 3.26306 13.6434 3.33331 13.4666 3.33333L2.53331 3.33333Z" } }, { tag: "path", attrs: { fill: "colorChannel1", d: "M10.8142 10.8141C10.5588 11.0695 10.1447 11.0695 9.88929 10.8141L7.97868 8.90354L6.14021 10.742C5.89652 10.9857 5.50142 10.9857 5.25774 10.742C5.01405 10.4983 5.01405 10.1032 5.25774 9.85955L7.09621 8.02107L5.18561 6.11047C4.93021 5.85507 4.93021 5.44098 5.18561 5.18557C5.44101 4.93017 5.8551 4.93017 6.11051 5.18557L8.02111 7.09618L9.85959 5.2577C10.1033 5.01401 10.4984 5.01401 10.7421 5.2577C10.9857 5.50139 10.9857 5.89648 10.7421 6.14017L8.90358 7.97865L10.8142 9.88925C11.0696 10.1447 11.0696 10.5587 10.8142 10.8141Z" } }] }] };
- var V9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "reduce",
- ref: t,
- icon: va
- }));
- });
- V9.displayName = "Reduce";
- var ma = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_107_1297", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_107_1297)" }, children: [{ tag: "path", attrs: { fill: "colorChannel1", d: "M1.33325 3.99992L1.33325 2.66659C1.33325 1.93021 1.93021 1.33325 2.66659 1.33325L3.99992 1.33325 3.99992 2.66659 2.66659 2.66659 2.66659 3.99992 1.33325 3.99992zM9.33325 1.33325L9.33325 2.66658 6.66659 2.66659 6.66659 1.33325 9.33325 1.33325zM1.33325 6.66659L2.66659 6.66659 2.66659 7.33325 5.33325 7.33325 5.33325 8.66659 2.66659 8.66659 2.66659 9.33325 1.33325 9.33325 1.33325 6.66659zM1.33325 11.9999L2.66659 11.9999 2.66659 13.3333 3.99992 13.3333 3.99992 14.6666 2.66659 14.6666C1.93021 14.6666 1.33325 14.0696 1.33325 13.3333L1.33325 11.9999zM6.66659 14.6666L6.66659 13.3333 7.33325 13.3333 7.33325 10.6666 8.66659 10.6666 8.66659 13.3333 9.33325 13.3333 9.33325 14.6666 6.66659 14.6666zM13.3333 7.33325L10.6666 7.33325 10.6666 8.66659 13.3333 8.66658 13.3333 7.33325zM7.33325 5.33325L7.33325 2.66659 8.66659 2.66659 8.66659 5.33325 7.33325 5.33325z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M13.3333 1.33325L12 1.33325L12 2.66659L13.3333 2.66659L13.3333 13.3333L12 13.3333L12 14.6666L13.3333 14.6666C14.0697 14.6666 14.6667 14.0696 14.6667 13.3333L14.6667 2.66659C14.6667 1.93021 14.0697 1.33325 13.3333 1.33325Z" } }] }] };
- var D9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "right-border",
- ref: t,
- icon: ma
- }));
- });
- D9.displayName = "RightBorder";
- var ga = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 17 17", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_436_42", style: { maskType: "alpha" }, width: 17, height: 17, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#D9D9D9", d: "M0.54 0.48H16.54V16.48H0.54z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_436_42)" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M13.2368 2.87507L2.11162 7.97208L2.61144 9.06304L12.4714 4.54568L7.95409 14.4057L9.04505 14.9055L14.1421 3.78029L14.4503 3.63905L14.3286 3.37322L14.469 3.0666L14.1134 2.90369L13.9505 2.5481L13.6439 2.68857L13.3781 2.56678L13.2368 2.87507Z" } }, { tag: "path", attrs: { fill: "#E5E5E5", d: "M4.44524 1.82495L3.08111 1.82495C2.41837 1.82495 1.88111 2.36221 1.88111 3.02495L1.88111 4.38908L3.21111 4.38908L3.21111 3.15495L4.44524 3.15495L4.44524 1.82495ZM15.1941 4.38908L15.1941 3.02495C15.1941 2.36221 14.6569 1.82495 13.9941 1.82495L12.63 1.82495L12.63 3.15495L13.8641 3.15495L13.8641 4.38908L15.1941 4.38908ZM7.17349 1.82495L7.17349 3.15495L9.90175 3.15495L9.90175 1.82495L7.17349 1.82495ZM15.1941 7.11734L13.8641 7.11734L13.8641 9.84559L15.1941 9.84559L15.1941 7.11734ZM15.1941 12.5739L13.8641 12.5739L13.8641 13.808L12.63 13.808L12.63 15.138L13.9941 15.138C14.6569 15.138 15.1941 14.6007 15.1941 13.938L15.1941 12.5739ZM9.90175 15.138L9.90175 13.808L7.17349 13.808L7.17349 15.138L9.90175 15.138ZM4.44524 15.138L4.44524 13.808L3.21111 13.808L3.21111 12.5739L1.88111 12.5739L1.88111 13.938C1.88111 14.6007 2.41837 15.138 3.08111 15.138L4.44524 15.138ZM1.88111 9.8456L3.21111 9.8456L3.21111 7.11734L1.88111 7.11734L1.88111 9.8456Z", fillRule: "evenodd", clipRule: "evenodd" } }] }] };
- var A9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "right-double-diagonal-single",
- ref: t,
- icon: ga
- }));
- });
- A9.displayName = "RightDoubleDiagonalSingle";
- var Ca = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_102_1123", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M16 16H32V32H16z", transform: "rotate(180 16 16)" } }] }, { tag: "g", attrs: { mask: "url(#mask0_102_1123)", fillRule: "evenodd", clipRule: "evenodd" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M2.56781 13.3332C2.56781 14.0695 3.16476 14.6665 3.90114 14.6665L6.56781 14.6665C7.30419 14.6665 7.90114 14.0695 7.90114 13.3332L7.90114 2.6665C7.90114 1.9301 7.30419 1.33317 6.56781 1.33317L3.90114 1.33317C3.16476 1.33317 2.56781 1.9301 2.56781 2.6665L2.56781 13.3332ZM3.90114 2.6665L3.90114 13.3332L6.56781 13.3332L6.56781 2.6665L3.90114 2.6665Z" } }, { tag: "path", attrs: { fill: "colorChannel1", d: "M13.4323 8.00022C13.4323 8.36841 13.1338 8.66689 12.7656 8.66689L11.6906 8.66689L11.6906 9.74202C11.6906 10.1102 11.3921 10.4087 11.0239 10.4087C10.6557 10.4087 10.3573 10.1102 10.3573 9.74202L10.3573 8.66689L9.28215 8.66689C8.91396 8.66689 8.61548 8.36841 8.61548 8.00022C8.61548 7.63203 8.91396 7.33356 9.28214 7.33356L10.3573 7.33356L10.3573 6.25852C10.3573 5.89033 10.6557 5.59186 11.0239 5.59186C11.3921 5.59186 11.6906 5.89033 11.6906 6.25852L11.6906 7.33356L12.7656 7.33356C13.1338 7.33356 13.4323 7.63203 13.4323 8.00022Z" } }] }] };
- var P9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "right-insert-column",
- ref: t,
- icon: Ca
- }));
- });
- P9.displayName = "RightInsertColumn";
- var ba = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M1.9999 1.89941C1.66853 1.89941 1.3999 2.16804 1.3999 2.49941 1.3999 2.83078 1.66853 3.09941 1.9999 3.09941H13.9999C14.3313 3.09941 14.5999 2.83078 14.5999 2.49941 14.5999 2.16804 14.3313 1.89941 13.9999 1.89941H1.9999zM4.66665 5.56641C4.33528 5.56641 4.06665 5.83504 4.06665 6.16641 4.06665 6.49778 4.33528 6.76641 4.66665 6.76641H14C14.3314 6.76641 14.6 6.49778 14.6 6.16641 14.6 5.83504 14.3314 5.56641 14 5.56641H4.66665zM1.3999 9.8334C1.3999 9.50203 1.66853 9.2334 1.9999 9.2334H13.9999C14.3313 9.2334 14.5999 9.50203 14.5999 9.8334 14.5999 10.1648 14.3313 10.4334 13.9999 10.4334H1.9999C1.66853 10.4334 1.3999 10.1648 1.3999 9.8334zM4.66665 12.9004C4.33528 12.9004 4.06665 13.169 4.06665 13.5004 4.06665 13.8318 4.33528 14.1004 4.66665 14.1004H14C14.3314 14.1004 14.6 13.8318 14.6 13.5004 14.6 13.169 14.3314 12.9004 14 12.9004H4.66665z" } }] };
- var j9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "right-justifying-single",
- ref: t,
- icon: ba
- }));
- });
- j9.displayName = "RightJustifyingSingle";
- var ya = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M12.1994 1.49307C13.3824 0.944623 14.6068 2.16904 14.0584 3.35206L10.8904 10.1855C10.751 10.4862 10.3943 10.6169 10.0937 10.4775C9.79302 10.3381 9.66229 9.98144 9.80166 9.68081L11.0507 6.98651L8.61023 4.546C8.59522 4.53098 8.58116 4.51537 8.56807 4.49924L5.87063 5.74977C5.57 5.88915 5.2133 5.75842 5.07392 5.45779C4.93455 5.15715 5.06528 4.80045 5.36591 4.66108L12.1994 1.49307ZM12.9697 2.84734L11.5883 5.82701L9.72443 3.96315L12.7041 2.58177C12.8731 2.50342 13.048 2.67833 12.9697 2.84734Z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M2.40366 4.68273C2.16934 4.44842 1.78945 4.44842 1.55513 4.68273C1.32082 4.91705 1.32082 5.29695 1.55513 5.53126L9.45182 13.4279L7.92792 13.5038C7.59696 13.5203 7.34202 13.8019 7.35849 14.1329C7.37497 14.4639 7.65662 14.7188 7.98758 14.7023L9.96172 14.6041C10.8278 14.5609 11.2323 13.5113 10.6191 12.8982L2.40366 4.68273Z" } }] };
- var $9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "right-rotation-forty-five-degrees-single",
- ref: t,
- icon: ya
- }));
- });
- $9.displayName = "RightRotationFortyFiveDegreesSingle";
- var La = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "g", attrs: { fill: "currentColor", clipPath: "url(#right-rotation-ninety-degrees-single_clip0_927_166)" }, children: [{ tag: "path", attrs: { d: "M3.11339 1.41934C3.11339 1.08797 2.84476 0.819336 2.51339 0.819336C2.18201 0.819336 1.91338 1.08797 1.91338 1.41934V12.5869L0.782193 11.563C0.53652 11.3406 0.157091 11.3595 -0.0652855 11.6052C-0.287662 11.8509 -0.268776 12.2303 -0.0231021 12.4527L1.44231 13.7791C2.08518 14.361 3.11338 13.9049 3.11338 13.0377L3.11339 1.41934Z" } }, { tag: "path", attrs: { d: "M12.2955 9.26826C13.5199 8.81955 13.5199 7.08797 12.2955 6.63926L5.22343 4.04738C4.9123 3.93336 4.56763 4.09314 4.45361 4.40428C4.33958 4.71541 4.49936 5.06007 4.8105 5.1741L7.59888 6.19602V9.64743C7.59888 9.66866 7.59999 9.68964 7.60214 9.71031L4.8105 10.7334C4.49936 10.8474 4.33958 11.1921 4.45361 11.5032C4.56763 11.8144 4.9123 11.9742 5.22343 11.8601L12.2955 9.26826ZM11.8826 7.76597L8.79888 6.63581V9.27171L11.8826 8.14155C12.0575 8.07745 12.0575 7.83008 11.8826 7.76597Z", fillRule: "evenodd", clipRule: "evenodd" } }] }, { tag: "defs", attrs: {}, children: [{ tag: "clipPath", attrs: { id: "right-rotation-ninety-degrees-single_clip0_927_166" }, children: [{ tag: "path", attrs: { fill: "#fff", d: "M0 0H16V16H0z" } }] }] }], defIds: ["right-rotation-ninety-degrees-single_clip0_927_166"] };
- var k9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "right-rotation-ninety-degrees-single",
- ref: t,
- icon: La
- }));
- });
- k9.displayName = "RightRotationNinetyDegreesSingle";
- var _a = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M11.9445 1.55649C12.2184 1.744 12.2895 2.11755 12.1033 2.39085L9.24342 6.58659H12.8001C13.1315 6.58659 13.4001 6.85522 13.4001 7.18659C13.4001 7.51796 13.1315 7.78659 12.8001 7.78659H8.5999V9.91276H13.2221C13.5534 9.91276 13.8221 10.1814 13.8221 10.5128C13.8221 10.8441 13.5534 11.1128 13.2221 11.1128H8.5999V14.0877C8.5999 14.4191 8.33127 14.6877 7.9999 14.6877C7.66853 14.6877 7.3999 14.4191 7.3999 14.0877V11.1128H2.77773C2.44636 11.1128 2.17773 10.8441 2.17773 10.5128C2.17773 10.1814 2.44636 9.91276 2.77773 9.91276H7.3999V7.78659H3.2001C2.86873 7.78659 2.6001 7.51796 2.6001 7.18659C2.6001 6.85522 2.86873 6.58659 3.2001 6.58659H6.75736L3.89753 2.39085C3.71125 2.11755 3.78234 1.744 4.05631 1.55649C4.33029 1.36899 4.7034 1.43854 4.88968 1.71184L7.94595 6.19577C7.96752 6.22741 7.98564 6.2604 8.00039 6.29429C8.01514 6.2604 8.03326 6.22741 8.05483 6.19577L11.1111 1.71184C11.2974 1.43854 11.6705 1.36899 11.9445 1.55649Z" } }] };
- var B9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "rmb-single",
- ref: t,
- icon: _a
- }));
- });
- B9.displayName = "RmbSingle";
- var Sa = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M9.72502 1.02051H6.07803C4.97346 1.02051 4.07803 1.91594 4.07803 3.02051V7.57046H3.00039C2.66902 7.57046 2.40039 7.83909 2.40039 8.17046C2.40039 8.50183 2.66902 8.77046 3.00039 8.77046H4.07803V10.4854H3.00039C2.66902 10.4854 2.40039 10.754 2.40039 11.0854C2.40039 11.4167 2.66902 11.6854 3.00039 11.6854H4.07803V14.3795C4.07803 14.7108 4.34666 14.9795 4.67803 14.9795C5.0094 14.9795 5.27803 14.7108 5.27803 14.3795V11.6854H10.3637C10.695 11.6854 10.9637 11.4167 10.9637 11.0854C10.9637 10.754 10.695 10.4854 10.3637 10.4854H5.27803V8.77046H9.72503C11.8651 8.77046 13.6 7.03557 13.6 4.89548C13.6 2.75539 11.8651 1.02051 9.72502 1.02051ZM9.72503 7.57046H5.27803V3.12051C5.27803 2.62345 5.68097 2.22051 6.17803 2.22051H9.72502C11.2024 2.22051 12.4 3.41814 12.4 4.89548C12.4 6.37283 11.2024 7.57046 9.72503 7.57046Z", fillRule: "evenodd", clipRule: "evenodd" } }] };
- var F9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "rouble-single",
- ref: t,
- icon: Sa
- }));
- });
- F9.displayName = "RoubleSingle";
- var Ma = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 17 17", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_436_41", style: { maskType: "alpha" }, width: 17, height: 17, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#D9D9D9", d: "M0.35 0.48H16.35V16.48H0.35z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_436_41)", fillRule: "evenodd", clipRule: "evenodd" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M2.27177 13.714L13.5855 2.40025L14.434 3.24878L3.1203 14.5625L2.27177 13.714Z" } }, { tag: "path", attrs: { fill: "#E5E5E5", d: "M4.2603 1.82495L2.89617 1.82495C2.23343 1.82495 1.69617 2.36221 1.69617 3.02495L1.69617 4.38908L3.02617 4.38908L3.02617 3.15495L4.2603 3.15495L4.2603 1.82495ZM15.0092 4.38908L15.0092 3.02495C15.0092 2.36221 14.4719 1.82495 13.8092 1.82495L12.4451 1.82495L12.4451 3.15495L13.6792 3.15495L13.6792 4.38908L15.0092 4.38908ZM6.98856 1.82495L6.98856 3.15495L9.71681 3.15495L9.71681 1.82495L6.98856 1.82495ZM15.0092 7.11734L13.6792 7.11734L13.6792 9.84559L15.0092 9.84559L15.0092 7.11734ZM15.0092 12.5739L13.6792 12.5739L13.6792 13.808L12.4451 13.808L12.4451 15.138L13.8092 15.138C14.4719 15.138 15.0092 14.6007 15.0092 13.938L15.0092 12.5739ZM9.71681 15.138L9.71681 13.808L6.98856 13.808L6.98856 15.138L9.71681 15.138ZM4.2603 15.138L4.2603 13.808L3.02617 13.808L3.02617 12.5739L1.69617 12.5739L1.69617 13.938C1.69617 14.6007 2.23343 15.138 2.89617 15.138L4.2603 15.138ZM1.69617 9.8456L3.02617 9.8456L3.02617 7.11734L1.69617 7.11734L1.69617 9.8456Z" } }] }] };
- var U9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "slash-single",
- ref: t,
- icon: Ma
- }));
- });
- U9.displayName = "SlashSingle";
- var wa = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M8.00033 1.20996C6.43345 1.20996 5.23596 1.88077 4.64804 2.94304 4.06338 3.99943 4.15123 5.32084 4.90099 6.47062 5.08199 6.7482 5.45374 6.82648 5.73131 6.64548 6.00888 6.46448 6.08716 6.09273 5.90616 5.81516 5.36418 4.98402 5.35768 4.13897 5.69797 3.52412 6.035 2.91515 6.78176 2.40996 8.00033 2.40996 9.19423 2.40996 10.0017 2.93409 10.5236 3.46755 10.7871 3.73682 10.9756 4.00712 11.0974 4.20903 11.158 4.30951 11.2013 4.39164 11.2284 4.44625 11.2419 4.47351 11.2514 4.49377 11.2568 4.50588L11.2621 4.51771C11.3901 4.82216 11.7407 4.96686 12.046 4.83992 12.3519 4.71267 12.4968 4.36149 12.3695 4.05552L11.8231 4.28278C12.3695 4.05552 12.3697 4.0558 12.3695 4.05552L12.3691 4.05437 12.3685 4.05298 12.367 4.04953 12.3629 4.03993 12.3498 4.01036C12.3388 3.98619 12.3234 3.95326 12.3033 3.91282 12.2632 3.83203 12.2043 3.72072 12.1249 3.58908 11.9666 3.32674 11.7235 2.97805 11.3814 2.62834 10.6921 1.92381 9.59192 1.20996 8.00033 1.20996zM2.11953 8.5999H7.88935C10.1109 9.46549 10.5895 10.7649 10.4268 11.6869 10.2475 12.703 9.26939 13.5898 8.00009 13.5898 6.63323 13.5898 5.77631 13.0502 5.25534 12.528 4.99021 12.2623 4.80823 11.9965 4.69365 11.7993 4.63659 11.7011 4.59698 11.6211 4.5727 11.5686 4.56059 11.5424 4.55236 11.5231 4.54774 11.512L4.54352 11.5016C4.4267 11.193 4.0823 11.0363 3.77279 11.1516 3.46228 11.2673 3.30438 11.6129 3.4201 11.9234L3.9649 11.7203C3.4201 11.9234 3.41998 11.9231 3.4201 11.9234L3.4206 11.9247 3.42118 11.9263 3.42262 11.9301 3.42661 11.9403C3.42977 11.9484 3.43394 11.9588 3.43914 11.9713 3.44956 11.9965 3.46418 12.0304 3.48334 12.0719 3.52161 12.1547 3.57828 12.2682 3.65608 12.4021 3.81124 12.6692 4.0534 13.0223 4.40584 13.3756 5.12 14.0914 6.27196 14.7898 8.00009 14.7898 9.82574 14.7898 11.3236 13.5101 11.6085 11.8955 11.812 10.7422 11.3901 9.55402 10.2665 8.5999H13.8804C14.2117 8.5999 14.4803 8.33127 14.4803 7.9999 14.4803 7.66853 14.2117 7.3999 13.8804 7.3999H8.01411C8.0048 7.39968 7.99551 7.39969 7.98625 7.3999H2.11953C1.78816 7.3999 1.51953 7.66853 1.51953 7.9999 1.51953 8.33127 1.78816 8.5999 2.11953 8.5999z" } }] };
- var z9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "strikethrough-single",
- ref: t,
- icon: wa
- }));
- });
- z9.displayName = "StrikethroughSingle";
- var xa = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 17 17", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { stroke: "currentColor", d: "M2.08596 14.1387L10.3379 2.66873M10.3379 14.1387L2.08596 2.66873M12.8098 10.0174C13.4565 9.45285 14.781 9.44507 15.0272 10.5759 15.2798 11.736 13.8101 13.2515 12.7376 14.1033 12.7227 14.1151 12.7315 14.1389 12.7505 14.1388L15.2251 14.1388", strokeLinecap: "round", strokeWidth: 1.2 } }] };
- var Z9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "subscript-single",
- ref: t,
- icon: xa
- }));
- });
- Z9.displayName = "SubscriptSingle";
- var Ea = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15ZM11.7245 6.42417C11.9588 6.18985 11.9588 5.80995 11.7245 5.57564C11.4901 5.34132 11.1102 5.34132 10.8759 5.57564L7.3002 9.15137L5.72446 7.57564C5.49014 7.34132 5.11025 7.34132 4.87593 7.57564C4.64162 7.80995 4.64162 8.18985 4.87593 8.42417L6.87593 10.4242C7.11025 10.6585 7.49014 10.6585 7.72446 10.4242L11.7245 6.42417Z", fillRule: "evenodd", clipRule: "evenodd" } }] };
- var W9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "success-single",
- ref: t,
- icon: Ea
- }));
- });
- W9.displayName = "SuccessSingle";
- var Ha = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M.394135 6.52121C.394135 5.4474 1.26463 4.5769 2.33844 4.5769H3.90929C4.24066 4.5769 4.50929 4.84553 4.50929 5.1769 4.50929 5.50828 4.24066 5.7769 3.90929 5.7769H2.33844C1.92737 5.7769 1.59414 6.11014 1.59414 6.52121 1.59414 6.93228 1.92737 7.26552 2.33844 7.26552H2.45171C3.59368 7.26552 4.50929 8.20288 4.50929 9.33362 4.50929 10.4761 3.58419 11.4231 2.43051 11.4231H.893457C.562086 11.4231.293457 11.1544.293457 10.8231.293457 10.4917.562086 10.2231.893457 10.2231H2.43051C2.91024 10.2231 3.30929 9.82458 3.30929 9.33362 3.30929 8.85437 2.91974 8.46552 2.45171 8.46552H2.33844C1.26463 8.46552.394135 7.59502.394135 6.52121zM15.1061 11.4231C14.7747 11.4231 14.5061 11.1545 14.5061 10.8231L14.5061 8.31006C14.5061 7.97762 14.2366 7.70812 13.9041 7.70812 13.5717 7.70812 13.3022 7.97762 13.3022 8.31006L13.3022 10.8231C13.3022 11.1545 13.0335 11.4231 12.7022 11.4231 12.3708 11.4231 12.1022 11.1545 12.1022 10.8231L12.1022 8.31006C12.1022 7.31488 12.9089 6.50812 13.9041 6.50812 14.8993 6.50812 15.7061 7.31488 15.7061 8.31006L15.7061 10.8231C15.7061 11.1545 15.4374 11.4231 15.1061 11.4231z", fillRule: "evenodd", clipRule: "evenodd" } }, { tag: "path", attrs: { fill: "currentColor", d: "M12.7022 11.4231C12.3709 11.4231 12.1022 11.1545 12.1022 10.8231L12.1022 8.31006C12.1022 7.97762 11.8327 7.70812 11.5003 7.70812 11.1679 7.70812 10.8984 7.97762 10.8984 8.31006L10.8984 10.8231C10.8984 11.1545 10.6297 11.4231 10.2984 11.4231 9.967 11.4231 9.69837 11.1545 9.69837 10.8231L9.69837 8.31006C9.69837 7.31488 10.5051 6.50812 11.5003 6.50812 12.4955 6.50812 13.3022 7.31488 13.3022 8.31006L13.3022 10.8231C13.3022 11.1545 13.0336 11.4231 12.7022 11.4231zM5.58193 6.69556C5.9133 6.69556 6.18193 6.96419 6.18193 7.29556L6.18193 9.43683C6.18193 9.87101 6.53391 10.223 6.96809 10.223 7.40228 10.223 7.75425 9.87101 7.75425 9.43683L7.75425 7.29556C7.75425 6.96419 8.02288 6.69556 8.35425 6.69556 8.68563 6.69556 8.95425 6.96419 8.95425 7.29556L8.95425 9.43683C8.95425 10.5338 8.06502 11.423 6.96809 11.423 5.87117 11.423 4.98193 10.5338 4.98193 9.43683L4.98193 7.29556C4.98193 6.96419 5.25056 6.69556 5.58193 6.69556z", fillRule: "evenodd", clipRule: "evenodd" } }] };
- var G9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "sum-single",
- ref: t,
- icon: Ha
- }));
- });
- G9.displayName = "SumSingle";
- var Oa = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 17 17", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { stroke: "currentColor", d: "M2.10904 14.4537L10.299 3.06987M10.2989 14.4537L2.10899 3.06987M12.7525 3.35933C13.3943 2.79901 14.7089 2.79129 14.9533 3.91363 15.204 5.06487 13.7456 6.56876 12.6812 7.41429 12.6663 7.4261 12.6751 7.44982 12.6941 7.44982L15.1497 7.44977", strokeLinecap: "round", strokeWidth: 1.2 } }] };
- var Y9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "superscript-single",
- ref: t,
- icon: Oa
- }));
- });
- Y9.displayName = "SuperscriptSingle";
- var Ra2 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M2.21572 1.80029C2.54709 1.80029 2.81572 2.06892 2.81572 2.40029V14.0003C2.81572 14.3317 2.54709 14.6003 2.21572 14.6003 1.88435 14.6003 1.61572 14.3317 1.61572 14.0003V2.40029C1.61572 2.06892 1.88435 1.80029 2.21572 1.80029zM13.7841 1.80029C14.1155 1.80029 14.3841 2.06892 14.3841 2.40029V14.0003C14.3841 14.3317 14.1155 14.6003 13.7841 14.6003 13.4527 14.6003 13.1841 14.3317 13.1841 14.0003V8.60259H7.13467C6.8033 8.60259 6.53467 8.33396 6.53467 8.00259 6.53467 7.67122 6.8033 7.40259 7.13467 7.40259H13.1841V2.40029C13.1841 2.06892 13.4527 1.80029 13.7841 1.80029z" } }] };
- var q9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "truncation-single",
- ref: t,
- icon: Ra2
- }));
- });
- q9.displayName = "TruncationSingle";
- var Ta = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M4.46416 2.03237C4.46416 1.701 4.19553 1.43237 3.86416 1.43237 3.53279 1.43237 3.26416 1.701 3.26416 2.03237V7.33338C3.26416 10.0313 5.35834 12.2667 7.9999 12.2667 10.6415 12.2667 12.7356 10.0313 12.7356 7.33338V2.03237C12.7356 1.701 12.467 1.43237 12.1356 1.43237 11.8043 1.43237 11.5356 1.701 11.5356 2.03237V7.33338C11.5356 9.42194 9.92656 11.0667 7.9999 11.0667 6.07325 11.0667 4.46416 9.42194 4.46416 7.33338V2.03237zM2.66641 13.4663C2.33504 13.4663 2.06641 13.7349 2.06641 14.0663 2.06641 14.3977 2.33504 14.6663 2.66641 14.6663H13.3331C13.6644 14.6663 13.9331 14.3977 13.9331 14.0663 13.9331 13.7349 13.6644 13.4663 13.3331 13.4663H2.66641z" } }] };
- var X9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "underline-single",
- ref: t,
- icon: Ta
- }));
- });
- X9.displayName = "UnderlineSingle";
- var Na2 = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M4.72365 2.72206C4.97524 2.50641 5.00437 2.12763 4.78872 1.87603C4.57306 1.62444 4.19428 1.59531 3.94269 1.81097L1.61333 3.80761C1.48281 3.91768 1.3999 4.08241 1.3999 4.2665C1.3999 4.41745 1.45564 4.55538 1.54766 4.66083C1.55661 4.67109 1.56594 4.68108 1.57563 4.69077L3.9089 7.02411C4.14321 7.25842 4.52311 7.25843 4.75743 7.02412C4.99175 6.78981 4.99175 6.40991 4.75744 6.17559L3.44839 4.8665H9.36337C11.5909 4.8665 13.3967 6.67229 13.3967 8.89984C13.3967 11.1274 11.5909 12.9332 9.36337 12.9332H3.99937C3.668 12.9332 3.39937 13.2018 3.39937 13.5332C3.39937 13.8645 3.668 14.1332 3.99937 14.1332H9.36337C12.2537 14.1332 14.5967 11.7901 14.5967 8.89984C14.5967 6.00955 12.2537 3.6665 9.36337 3.6665H3.62183L4.72365 2.72206Z" } }] };
- var Q9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "undo-single",
- ref: t,
- icon: Na2
- }));
- });
- Q9.displayName = "UndoSingle";
- var Ia = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 17 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M3.03012 3.14006C3.03012 3.59845 2.65851 3.97006 2.20012 3.97006 1.74172 3.97006 1.37012 3.59845 1.37012 3.14006 1.37012 2.68166 1.74172 2.31006 2.20012 2.31006 2.65851 2.31006 3.03012 2.68166 3.03012 3.14006zM4.53027 2.54014C4.1989 2.54014 3.93027 2.80877 3.93027 3.14014 3.93027 3.47151 4.1989 3.74014 4.53027 3.74014H14.5488C14.8802 3.74014 15.1488 3.47151 15.1488 3.14014 15.1488 2.80877 14.8802 2.54014 14.5488 2.54014H4.53027zM2.20012 8.82992C2.65851 8.82992 3.03012 8.45832 3.03012 7.99992 3.03012 7.54153 2.65851 7.16992 2.20012 7.16992 1.74172 7.16992 1.37012 7.54153 1.37012 7.99992 1.37012 8.45832 1.74172 8.82992 2.20012 8.82992zM4.53027 7.4C4.1989 7.4 3.93027 7.66863 3.93027 8 3.93027 8.33137 4.1989 8.6 4.53027 8.6H14.5488C14.8802 8.6 15.1488 8.33137 15.1488 8 15.1488 7.66863 14.8802 7.4 14.5488 7.4H4.53027zM2.20012 13.6905C2.65851 13.6905 3.03012 13.3189 3.03012 12.8605 3.03012 12.4021 2.65851 12.0305 2.20012 12.0305 1.74172 12.0305 1.37012 12.4021 1.37012 12.8605 1.37012 13.3189 1.74172 13.6905 2.20012 13.6905zM4.53027 12.2604C4.1989 12.2604 3.93027 12.529 3.93027 12.8604 3.93027 13.1917 4.1989 13.4604 4.53027 13.4604H14.5488C14.8802 13.4604 15.1488 13.1917 15.1488 12.8604 15.1488 12.529 14.8802 12.2604 14.5488 12.2604H4.53027z" } }] };
- var J9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "unorder-single",
- ref: t,
- icon: Ia
- }));
- });
- J9.displayName = "UnorderSingle";
- var Va = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_107_1282", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M0 0H16V16H0z" } }] }, { tag: "g", attrs: { mask: "url(#mask0_107_1282)" }, children: [{ tag: "path", attrs: { fill: "colorChannel1", d: "M4.0001 14.667H2.66677C1.93039 14.667 1.33344 14.07 1.33344 13.3337V12.0003H2.66677V13.3337L4.0001 13.3337V14.667zM1.33344 6.66699H2.66677V9.33366H1.33344V6.66699zM6.66677 14.667V13.3337H7.33344V10.667H8.66677V13.3337H9.33344V14.667H6.66677zM12.0001 14.667V13.3337H13.3334V12.0003H14.6668V13.3337C14.6668 14.07 14.0698 14.667 13.3334 14.667H12.0001zM14.6668 9.33366H13.3334V8.66699H10.6668V7.33366H13.3334V6.66699H14.6668V9.33366zM7.33344 2.66699V5.33366H8.66677V2.66699H7.33344zM5.33344 8.66699H2.66677V7.33366H5.33344V8.66699z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M1.33344 2.66789V4.00122H2.66677L2.66677 2.66789H13.3334V4.00122H14.6668V2.66789C14.6668 1.93151 14.0698 1.33455 13.3334 1.33455H2.66677C1.93039 1.33455 1.33344 1.93151 1.33344 2.66789Z" } }] }] };
- var K9 = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "up-border",
- ref: t,
- icon: Va
- }));
- });
- K9.displayName = "UpBorder";
- var Da = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_248_119", style: { maskType: "alpha" }, width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M16 0H32V16H16z", transform: "rotate(90 16 0)" } }] }, { tag: "g", attrs: { mask: "url(#mask0_248_119)" }, children: [{ tag: "path", attrs: { fill: "colorChannel1", d: "M2.66699 1.33325L4.00033 1.33325 4.00033 2.66658 2.66699 2.66659 2.66699 3.99992 1.33366 3.99992 1.33366 2.66659C1.33366 1.93021 1.93061 1.33325 2.66699 1.33325zM14.667 2.66659L14.667 3.99992 13.3337 3.99992 13.3337 2.66659 12.0003 2.66659 12.0003 1.33325 13.3337 1.33325C14.07 1.33325 14.667 1.93021 14.667 2.66659zM6.66699 2.66658L6.66699 1.33325 9.33366 1.33325 9.33366 2.66659 6.66699 2.66658zM13.3337 6.66659L14.667 6.66659 14.667 9.33325 13.3337 9.33325 13.3337 8.66496 12.0145 8.66496 12.0145 7.33496 13.3337 7.33496 13.3337 6.66659zM13.3337 11.9999L14.667 11.9999 14.667 13.3333C14.667 14.0696 14.07 14.6666 13.3337 14.6666L12.0003 14.6666 12.0003 13.3333 13.3337 13.3333 13.3337 11.9999zM9.33366 13.3333L9.33366 14.6666 6.66699 14.6666 6.66699 13.3333 9.33366 13.3333zM4.00032 13.3333L4.00032 14.6666 2.66699 14.6666C1.93061 14.6666 1.33366 14.0696 1.33366 13.3333L1.33366 11.9999 2.66699 11.9999 2.66699 13.3333 4.00032 13.3333zM2.66699 9.33325L1.33366 9.33325 1.33366 6.66658 2.66699 6.66658 2.66699 7.33496 3.98624 7.33496 3.98624 8.66496 2.66699 8.66496 2.66699 9.33325zM9.33841 7.33496L6.66232 7.33496 6.66232 8.66496 9.33841 8.66496 9.33841 7.33496z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M8.66577 8.66675L8.66577 7.33342L8.66569 2.66675L7.33236 2.66675L7.33236 7.33341L7.33244 8.66675L7.33236 13.3334L8.66569 13.3334L8.66577 8.66675Z" } }] }] };
- var ei = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "vertical-border",
- ref: t,
- icon: Da
- }));
- });
- ei.displayName = "VerticalBorder";
- var Aa = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M7.9999.733398C8.33127.733398 8.5999 1.00203 8.5999 1.3334V4.55137L9.57564 3.57564C9.80995 3.34132 10.1899 3.34132 10.4242 3.57564 10.6585 3.80995 10.6585 4.18985 10.4242 4.42417L8.42417 6.42417C8.18985 6.65848 7.80995 6.65848 7.57564 6.42417L5.57564 4.42417C5.34132 4.18985 5.34132 3.80995 5.57564 3.57564 5.80995 3.34132 6.18985 3.34132 6.42417 3.57564L7.3999 4.55137V1.3334C7.3999 1.00203 7.66853.733398 7.9999.733398zM5.57564 11.5756L7.57564 9.57564C7.80995 9.34132 8.18985 9.34132 8.42417 9.57564L10.4242 11.5756C10.6585 11.81 10.6585 12.1899 10.4242 12.4242 10.1899 12.6585 9.80995 12.6585 9.57564 12.4242L8.5999 11.4484V14.6665C8.5999 14.9979 8.33127 15.2665 7.9999 15.2665 7.66853 15.2665 7.3999 14.9979 7.3999 14.6665V11.4484L6.42417 12.4242C6.18985 12.6585 5.80995 12.6585 5.57564 12.4242 5.34132 12.1899 5.34132 11.81 5.57564 11.5756zM1.9999 7.40015C1.66853 7.40015 1.3999 7.66878 1.3999 8.00015 1.3999 8.33152 1.66853 8.60015 1.9999 8.60015H13.9999C14.3313 8.60015 14.5999 8.33152 14.5999 8.00015 14.5999 7.66878 14.3313 7.40015 13.9999 7.40015H1.9999z" } }] };
- var ti = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "vertical-center-single",
- ref: t,
- icon: Aa
- }));
- });
- ti.displayName = "VerticalCenterSingle";
- var Pa = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 17 17", width: "1em", height: "1em" }, children: [{ tag: "mask", attrs: { id: "mask0_102_709", style: { maskType: "alpha" }, width: 17, height: 17, x: 0, y: 0, maskUnits: "userSpaceOnUse" }, children: [{ tag: "path", attrs: { fill: "#DCDCDC", d: "M0.88 0.24H16.88V16.24H0.88z" } }] }, { tag: "g", attrs: { fill: "currentColor", mask: "url(#mask0_102_709)", fillRule: "evenodd", clipRule: "evenodd" }, children: [{ tag: "path", attrs: { d: "M2.2157 2.90265C2.2157 2.16628 2.81264 1.56934 3.54901 1.56934H6.21565C6.95202 1.56934 7.54896 2.16628 7.54896 2.90265V13.5692C7.54896 14.3056 6.95202 14.9025 6.21565 14.9025H3.54901C2.81264 14.9025 2.2157 14.3056 2.2157 13.5692V2.90265zM3.54901 2.90265H6.21565V5.5622H3.54901V2.90265zM3.54901 6.89552V9.57631H6.21565V6.89552H3.54901zM3.54901 13.5692V10.9096H6.21565V13.5692H3.54901zM10.2156 2.90265C10.2156 2.16628 10.8125 1.56934 11.5489 1.56934H14.2155C14.9519 1.56934 15.5489 2.16628 15.5489 2.90265V13.5692C15.5489 14.3056 14.9519 14.9025 14.2155 14.9025H11.5489C10.8125 14.9025 10.2156 14.3056 10.2156 13.5692V2.90265zM11.5489 2.90265H14.2155V5.5622H11.5489V2.90265zM11.5489 6.89552V9.57631H14.2155V6.89552H11.5489zM11.5489 13.5692V10.9096H14.2155V13.5692H11.5489z" } }] }] };
- var ni = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "vertical-integration-single",
- ref: t,
- icon: Pa
- }));
- });
- ni.displayName = "VerticalIntegrationSingle";
- var ja = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M4.55504 2.73208C4.55504 2.40071 4.28641 2.13208 3.95504 2.13208C3.62367 2.13208 3.35504 2.40071 3.35504 2.73208V12.5172L2.21439 11.5276C1.96409 11.3104 1.58515 11.3373 1.36799 11.5876C1.15084 11.8379 1.17771 12.2169 1.42801 12.434L2.89972 13.7108C3.54718 14.2726 4.55504 13.8127 4.55504 12.9555L4.55504 2.73208Z" } }, { tag: "path", attrs: { fill: "currentColor", d: "M9.00725 4.01095C9.45595 2.78663 11.1875 2.78662 11.6362 4.01095L14.743 12.488C14.8571 12.7992 14.6973 13.1438 14.3861 13.2578C14.075 13.3719 13.7303 13.2121 13.6163 12.9009L12.4148 9.62242H8.36729C8.32154 9.62242 8.27699 9.6173 8.23417 9.6076L7.02719 12.9009C6.91316 13.2121 6.5685 13.3719 6.25736 13.2578C5.94623 13.1438 5.78644 12.7992 5.90047 12.488L9.00725 4.01095ZM10.5095 4.42388L11.975 8.42242H8.66853L10.134 4.42389C10.1981 4.24898 10.4454 4.24898 10.5095 4.42388Z", fillRule: "evenodd", clipRule: "evenodd" } }] };
- var ri = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "vertical-text-single",
- ref: t,
- icon: ja
- }));
- });
- ri.displayName = "VerticalTextSingle";
- var $a = { tag: "svg", attrs: { fill: "none", viewBox: "0 0 16 16", width: "1em", height: "1em" }, children: [{ tag: "path", attrs: { fill: "currentColor", d: "M15 8C15 11.866 11.866 15 8 15C4.13401 15 1 11.866 1 8C1 4.13401 4.13401 1 8 1C11.866 1 15 4.13401 15 8ZM8.00008 12.3671C8.46031 12.3671 8.83342 11.994 8.83342 11.5338C8.83342 11.0735 8.46031 10.7004 8.00008 10.7004C7.53985 10.7004 7.16675 11.0735 7.16675 11.5338C7.16675 11.994 7.53985 12.3671 8.00008 12.3671ZM8.5999 4.4335C8.5999 4.10213 8.33127 3.8335 7.9999 3.8335C7.66853 3.8335 7.3999 4.10213 7.3999 4.4335V9.36683C7.3999 9.6982 7.66853 9.96683 7.9999 9.96683C8.33127 9.96683 8.5999 9.6982 8.5999 9.36683V4.4335Z", fillRule: "evenodd", clipRule: "evenodd" } }] };
- var Rn = (0, import_react.forwardRef)(function(e, t) {
- return (0, import_react.createElement)(T, Object.assign({}, e, {
- id: "warning-single",
- ref: t,
- icon: $a
- }));
- });
- Rn.displayName = "WarningSingle";
- var n1 = class {
- // eslint-disable-next-line max-lines-per-function
- constructor() {
- K(this, "_components", /* @__PURE__ */ new Map());
- K(this, "_componentsReverse", /* @__PURE__ */ new Map());
- const t = {
- AlignBottomSingle: c6,
- AlignTopSingle: f6,
- AllBorderSingle: d6,
- AmplifySingle: h6,
- AutowrapSingle: m6,
- BoldSingle: b6,
- BrushSingle: y6,
- Copy: O6,
- ClearFormat: M6,
- DownBorder: j6,
- FontColor: U6,
- FunctionSingle: q6,
- HorizontallySingle: t9,
- InnerBorder: n9,
- ItalicSingle: l9,
- KeyboardSingle: c9,
- ContentSingle16: H6,
- LeftBorder: u9,
- LeftJustifyingSingle: h9,
- LeftRotationFortyFiveDegreesSingle: p9,
- LeftRotationNinetyDegreesSingle: v9,
- MergeAllSingle: b9,
- HorizontalMergeSingle: e9,
- VerticalIntegrationSingle: ni,
- PipingSingle: T9,
- CancelMergeSingle: _6,
- NoBorderSingle: _9,
- NoColor: S9,
- NoRotationSingle: M9,
- OuterBorder: x9,
- OverflowSingle: E9,
- PaintBucket: H9,
- PasteSpecial: O9,
- MenuSingle24: C9,
- RedoSingle: N9,
- RightBorder: D9,
- RightJustifyingSingle: j9,
- AlignTextBothSingle: u6,
- RightRotationFortyFiveDegreesSingle: $9,
- RightRotationNinetyDegreesSingle: k9,
- StrikethroughSingle: z9,
- OrderSingle: w9,
- UnorderSingle: J9,
- SuperscriptSingle: Y9,
- SubscriptSingle: Z9,
- TruncationSingle: q9,
- UnderlineSingle: X9,
- UndoSingle: Q9,
- UpBorder: K9,
- VerticalBorder: ei,
- VerticalCenterSingle: ti,
- VerticalTextSingle: ri,
- Insert: s9,
- InsertCellDown: r9,
- InsertCellShiftRight: i9,
- InsertRowAbove: o9,
- InsertRowBelow: a9,
- LeftInsertColumn: d9,
- RightInsertColumn: P9,
- DeleteColumn: V6,
- DeleteRow: D6,
- DeleteCellShiftUp: I6,
- DeleteCellShiftRight: N6,
- DeleteCellShiftLeft: T6,
- DeleteCellMoveDown: R6,
- Reduce: V9,
- Hide: J6,
- HorizontalBorder: K6,
- AutoHeight: p6,
- AutoWidth: v6,
- AdjustHeight: s6,
- AdjustWidth: l6,
- AvgSingle: g6,
- CntSingle: w6,
- MaxSingle: g9,
- MinSingle: y9,
- SumSingle: G9,
- CancelFreezeSingle: L6,
- FreezeColumnSingle: W6,
- FreezeRowSingle: G6,
- GridSingle: X6,
- HeaderFooterSingle: Q6,
- FreezeToSelectedSingle: Y6,
- CodeSingle: x6,
- FontSizeIncreaseSingle: z6,
- FontSizeReduceSingleSingle: Z6,
- BackSlashSingle: C6,
- LeftDoubleDiagonalSingle: f9,
- LeftTridiagonalSingle: m9,
- SlashSingle: U9,
- RightDoubleDiagonalSingle: A9,
- DirectExportSingle: A6,
- FolderSingle: F6,
- ExportSingle: B6,
- Conditions: E6,
- RmbSingle: B9,
- MoreDownSingle: _t,
- AddDigitsSingle: a6,
- ReduceDigitsSingle: I9,
- PercentSingle: R9,
- EuroSingle: k6,
- RoubleSingle: F9,
- DollarSingle: P6
- };
- for (const n in t)
- this.register(n, t[n]);
- }
- register(t, n, r) {
- const { framework: i = "react" } = r || {};
- return this._components.has(t) && console.warn(`Component ${t} already exists.`), this._components.set(t, {
- framework: i,
- component: n
- }), this._componentsReverse.set(n, t), Ze(() => {
- this._components.delete(t), this._componentsReverse.delete(n);
- });
- }
- getKey(t) {
- return this._componentsReverse.get(t);
- }
- get(t) {
- if (!t)
- return;
- const n = this._components.get(t);
- if ((n == null ? void 0 : n.framework) === "react")
- return n.component;
- if ((n == null ? void 0 : n.framework) === "vue3")
- return (r) => (0, import_react.cloneElement)(
- (0, import_react.createElement)(Ba, {
- component: n.component,
- props: {
- ...r
- }
- })
- );
- }
- delete(t) {
- this._components.delete(t);
- }
- };
- async function ka(e, t, n) {
- try {
- const { h: r, render: i } = await import("./vue.js"), o = r(e, n), a = document.createElement("div");
- return document.body.appendChild(a), i(o, t), () => {
- document.body.removeChild(a);
- };
- } catch {
- }
- }
- function Ba(e) {
- const t = (0, import_react.useRef)(null), { component: n, props: r } = e;
- return (0, import_react.useEffect)(() => {
- if (!t.current)
- return;
- const i = ka(n, t.current, r);
- return () => {
- i.then((o) => o == null ? void 0 : o());
- };
- }, [r]), (0, import_react.createElement)("div", { ref: t });
- }
- var Wn;
- var Gn;
- var St = class {
- constructor() {
- K(this, "_list", /* @__PURE__ */ new Map());
- }
- setIndex(t, n) {
- this._list.set(t, n);
- }
- getIndex(t) {
- return this._list.get(t);
- }
- removeIndex(t) {
- this._list.delete(t);
- }
- getMaxIndex() {
- let t = -9999999;
- return this._list.forEach((n) => {
- +n > t && (t = +n);
- }), t;
- }
- };
- Wn = /* @__PURE__ */ new WeakMap(), Gn = /* @__PURE__ */ new WeakMap(), en(St, Wn, 2147483647), en(St, Gn, -2147483647);
- function Fa(e, t, n, r) {
- const i = e.get(_n);
- return new Observable((o) => {
- const a = i.focused$.subscribe((h) => {
- if (h == null || n && n !== h || r && (Array.isArray(r) ? r.includes(h) : r === h))
- return o.next(true);
- const d = i.getUnitType(h);
- o.next(d !== t);
- }), s = i.getFocusedUnit();
- if (s == null)
- return o.next(true);
- const c = i.getUnitType(s.getUnitId());
- return o.next(c !== t), () => a.unsubscribe();
- });
- }
- function Vl(e) {
- const t = e.get(_n);
- return new Observable((n) => {
- const r = t.focused$.subscribe((a) => {
- if (a == null)
- return n.next(true);
- const s = t.getUniverDocInstance(a), c = s == null ? void 0 : s.getSnapshot().documentStyle.documentFlavor;
- n.next(c !== ku.TRADITIONAL);
- }), i = t.getCurrentUniverDocInstance();
- if (i == null)
- return n.next(true);
- const o = i == null ? void 0 : i.getSnapshot().documentStyle.documentFlavor;
- return n.next(o !== ku.TRADITIONAL), () => r.unsubscribe();
- });
- }
- function Ua(e, t) {
- return !t || !e || (["type", "icon", "title", "tooltip"].forEach((i) => {
- t[i] !== void 0 && (e[i] = t[i]);
- }), ["hidden", "disabled", "activated"].forEach((i) => {
- za(e, `${i}$`, t[i]);
- })), e;
- }
- function za(e, t, n) {
- if (n !== void 0)
- if (e[t]) {
- const r = e[t].pipe(
- switchMap(() => new BehaviorSubject(n))
- );
- e[t] = r;
- } else
- e[t] = new Observable((r) => {
- r.next(n);
- });
- }
- var lt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
- function t3(e) {
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
- }
- var on = { exports: {} };
- var W1 = {};
- var D3;
- function Za() {
- if (D3)
- return W1;
- D3 = 1;
- var e = import_react.default, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: true, ref: true, __self: true, __source: true };
- function a(s, c, h) {
- var d, u = {}, p = null, C = null;
- h !== void 0 && (p = "" + h), c.key !== void 0 && (p = "" + c.key), c.ref !== void 0 && (C = c.ref);
- for (d in c)
- r.call(c, d) && !o.hasOwnProperty(d) && (u[d] = c[d]);
- if (s && s.defaultProps)
- for (d in c = s.defaultProps, c)
- u[d] === void 0 && (u[d] = c[d]);
- return { $$typeof: t, type: s, key: p, ref: C, props: u, _owner: i.current };
- }
- return W1.Fragment = n, W1.jsx = a, W1.jsxs = a, W1;
- }
- var A3;
- function Wa() {
- return A3 || (A3 = 1, on.exports = Za()), on.exports;
- }
- var g = Wa();
- function ke(e) {
- const { title: t, icon: n, label: r, value: i, value$: o } = e, a = W0(Vr), s = W0(n1), [c, h] = (0, import_react.useState)(i), [d, u] = (0, import_react.useState)(""), p = [];
- let C = 0;
- (0, import_react.useEffect)(() => {
- if (o) {
- const m = o.subscribe((w) => {
- h(w);
- });
- return () => {
- m.unsubscribe();
- };
- }
- }, [o]);
- const S = (0, import_react.useMemo)(() => i != null ? i : c, [c, i]);
- (0, import_react.useEffect)(() => {
- let m = null;
- return isObservable(n) ? m = n.subscribe((w) => {
- u(w);
- }) : u(n != null ? n : ""), () => {
- m == null || m.unsubscribe();
- };
- }, [n]);
- const _ = (0, import_react.useMemo)(() => S && typeof S == "string" ? new Nt(S).isValid : false, [S]);
- if (n) {
- const m = s.get(d != null ? d : "");
- m && p.push(
- g.jsx(
- m,
- {
- extend: { colorChannel1: _ ? S : "rgb(var(--primary-color))" }
- },
- C++
- )
- );
- }
- if (r) {
- const m = typeof r == "string", w = m ? { ...e } : { ...r == null ? void 0 : r.props, ...e }, I = m ? r : r == null ? void 0 : r.name, R = s.get(I);
- R ? p.push(g.jsx(R, { ...w, value: S }, C++)) : p.push(g.jsx("span", { children: a.t(I) }, C++));
- }
- return t && p.push(g.jsx("span", { children: typeof t == "string" ? a.t(t) : t }, C++)), g.jsx(g.Fragment, { children: p });
- }
- var Ga = "univer-ui-plugin-sheets-font-family";
- var Ya = "univer-ui-plugin-sheets-font-family-item";
- var ii = {
- uiPluginSheetsFontFamily: Ga,
- uiPluginSheetsFontFamilyItem: Ya
- };
- var Dl = (e) => {
- const { value: t } = e, n = W0(Vr), r = (0, import_react.useMemo)(() => {
- if (t == null)
- return "";
- let i = n.t(`fontFamily.${`${t != null ? t : ""}`.replace(/\s/g, "")}`);
- return i.startsWith("fontFamily.") && typeof t == "string" && (i = t.split(",")[0]), i;
- }, [t]);
- return g.jsx("div", { className: ii.uiPluginSheetsFontFamily, style: { fontFamily: t }, children: r });
- };
- var Al = (e) => {
- const { value: t } = e, n = W0(Vr);
- return g.jsx("span", { className: ii.uiPluginSheetsFontFamilyItem, style: { fontFamily: t }, children: n.t(`fontFamily.${`${t != null ? t : ""}`.replace(/\s/g, "")}`) });
- };
- var Pl = [
- {
- value: "Arial"
- },
- {
- value: "Times New Roman"
- },
- {
- value: "Tahoma"
- },
- {
- value: "Verdana"
- },
- {
- value: "Microsoft YaHei"
- },
- {
- value: "SimSun"
- },
- {
- value: "SimHei"
- },
- {
- value: "Kaiti"
- },
- {
- value: "FangSong"
- },
- {
- value: "NSimSun"
- },
- {
- value: "STXinwei"
- },
- {
- value: "STXingkai"
- },
- {
- value: "STLiti"
- }
- // The following 3 fonts do not work, temporarily delete
- // {
- // label: 'fontFamily.HanaleiFill',
- // style: { 'font-family': 'HanaleiFill' },
- // value: 'HanaleiFill',
- // },
- // {
- // label: 'fontFamily.Anton',
- // style: { 'font-family': 'Anton' },
- // value: 'Anton',
- // },
- // {
- // label: 'fontFamily.Pacifico',
- // style: { 'font-family': 'Pacifico' },
- // value: 'Pacifico',
- // },
- ];
- function qa(e) {
- return typeof e == "function" ? e() : e;
- }
- function Xa(e, t) {
- const n = (0, import_react.useRef)(t);
- return (0, import_react.useEffect)(() => {
- if (e) {
- const r = qa(e).subscribe((i) => {
- n.current = i;
- });
- return () => r.unsubscribe();
- }
- }, [e]), n;
- }
- var Qa = "univer-ui-plugin-sheets-font-size";
- var Ja = "univer-ui-plugin-sheets-font-size-input";
- var P3 = {
- uiPluginSheetsFontSize: Qa,
- uiPluginSheetsFontSizeInput: Ja
- };
- var jl = (e) => {
- const { value: t, min: n, max: r, onChange: i, disabled$: o } = e, a = z0(o), [s, c] = (0, import_react.useState)(Number(t != null ? t : 0)), h = (0, import_react.useMemo)(() => Number(t != null ? t : s), [t]);
- function d(p) {
- p !== null && c(p);
- }
- function u(p) {
- p.stopPropagation(), p.code === "Enter" && i(s.toString());
- }
- return g.jsx("div", { className: P3.uiPluginSheetsFontSize, children: g.jsx(
- BO,
- {
- className: P3.uiPluginSheetsFontSizeInput,
- value: h,
- controls: false,
- min: n,
- max: r,
- onKeyDown: u,
- onChange: d,
- disabled: a
- }
- ) });
- };
- var $l = [
- {
- label: "9",
- value: 9
- },
- {
- label: "10",
- value: 10
- },
- {
- label: "11",
- value: 11
- },
- {
- label: "12",
- value: 12
- },
- {
- label: "14",
- value: 14
- },
- {
- label: "16",
- value: 16
- },
- {
- label: "18",
- value: 18
- },
- {
- label: "20",
- value: 20
- },
- {
- label: "22",
- value: 22
- },
- {
- label: "24",
- value: 24
- },
- {
- label: "26",
- value: 26
- },
- {
- label: "28",
- value: 28
- },
- {
- label: "36",
- value: 36
- },
- {
- label: "48",
- value: 48
- },
- {
- label: "72",
- value: 72
- }
- ];
- var ct = {};
- var j3;
- function Ka() {
- if (j3)
- return ct;
- j3 = 1, Object.defineProperty(ct, "__esModule", {
- value: true
- }), ct.default = e;
- function e() {
- return !!(typeof window < "u" && window.document && window.document.createElement);
- }
- return ct;
- }
- var e0 = Ka();
- var t0 = t3(e0);
- function n3(e) {
- const t = (0, import_react.useRef)(e);
- return t.current = e, (0, import_react.useCallback)(
- (...n) => {
- var r;
- return (r = t.current) == null ? void 0 : r.call(t, ...n);
- },
- []
- );
- }
- function n0(e, t) {
- const n = n3(() => {
- if (!e || !t)
- return;
- const r = e.style, i = e.getBoundingClientRect(), { y: o } = i, a = t.getBoundingClientRect(), s = e.scrollHeight > i.height, c = o < 0 || o + i.height > a.height;
- if (!c && !s) {
- r.overflowY = "", r.maxHeight = "";
- return;
- }
- c && (r.overflowY = "scroll", r.maxHeight = o < 0 ? `${e.scrollHeight + o}px` : `${a.height - o}px`);
- });
- (0, import_react.useEffect)(() => {
- if (!t0() || !e || !t)
- return;
- n();
- const r = y_(n);
- return r.observe(e), () => {
- r.unobserve(e);
- };
- }, [e, t]);
- }
- function kl(e, t, ...n) {
- return e.t(t);
- }
- var Bl = (e, t) => {
- const n = import_react.default.useRef(false);
- (0, import_react.useEffect)(() => {
- if (n.current)
- return e();
- n.current = true;
- }, t);
- };
- function Fl(e, t) {
- const n = n3(t.handler);
- (0, import_react.useEffect)(() => {
- const r = (i) => {
- e.current && i.target && !e.current.contains(i.target) && n();
- };
- return document.addEventListener("mousedown", r), () => {
- document.removeEventListener("mousedown", r);
- };
- }, [n, e]);
- }
- var $3 = (e) => typeof e == "number";
- function r0(e) {
- const t = (0, import_react.useRef)(e);
- return t.current = e, t;
- }
- var Ul = (e, t) => {
- const { containerTarget: n, itemHeight: r, overscan: i = 5 } = t, o = r0(r), [a, s] = (0, import_react.useState)(null), c = (0, import_react.useRef)(false), [h, d] = (0, import_react.useState)([]), [u, p] = (0, import_react.useState)({ height: void 0, marginTop: void 0 }), C = (R, P) => {
- if (typeof o.current == "number")
- return Math.ceil(R / o.current);
- let M = 0, x = 0;
- for (let N = P; N < e.length; N++) {
- const A = o.current(N, e[N]);
- if (M += A, x = N, M >= R)
- break;
- }
- return x - P;
- }, S = (R) => {
- if ($3(o.current))
- return Math.floor(R / o.current);
- let P = 0, M = 0;
- for (let x = 0; x < e.length; x++) {
- const N = o.current(x, e[x]);
- if (P += N, P >= R) {
- M = x;
- break;
- }
- }
- return M + 1;
- }, _ = (R) => typeof o.current == "number" ? R * o.current : e.slice(0, R).reduce((M, x, N) => M + o.current(N, e[N]), 0), m = (0, import_react.useMemo)(() => $3(o.current) ? e.length * o.current : e.reduce(
- (R, P, M) => R + o.current(M, e[M]),
- 0
- ), [e]), w = () => {
- const R = n.current;
- if (R) {
- const { scrollTop: P, clientHeight: M } = R, x = S(P), N = C(M, x), A = Math.max(0, x - i), j = Math.min(e.length, x + N + i), B = _(A);
- p({
- height: `${m - B}px`,
- marginTop: `${B}px`
- }), d(
- e.slice(A, j).map((Z, G) => ({
- data: Z,
- index: G + A
- }))
- );
- }
- };
- return (0, import_react.useEffect)(() => {
- if (n.current) {
- const R = () => {
- const M = n.current.clientWidth, x = n.current.clientHeight;
- (M !== (a == null ? void 0 : a.width) || x !== (a == null ? void 0 : a.height)) && s({ width: M, height: x });
- };
- R();
- const P = new ResizeObserver(R);
- return P.observe(n.current), () => {
- P.disconnect();
- };
- }
- }, []), (0, import_react.useEffect)(() => {
- !(a != null && a.width) || !(a != null && a.height) || w();
- }, [a == null ? void 0 : a.width, a == null ? void 0 : a.height, e]), [
- h,
- {
- wrapperStyle: u,
- scrollTo: n3((R) => {
- const P = n.current;
- P && (c.current = true, P.scrollTop = _(R), w());
- }),
- containerProps: {
- onScroll: (R) => {
- if (c.current) {
- c.current = false;
- return;
- }
- R.preventDefault(), w();
- }
- }
- }
- ];
- };
- function et(e) {
- var t = Q.useRef();
- t.current = e;
- var n = Q.useCallback(function() {
- for (var r, i = arguments.length, o = new Array(i), a = 0; a < i; a++)
- o[a] = arguments[a];
- return (r = t.current) === null || r === void 0 ? void 0 : r.call.apply(r, [t].concat(o));
- }, []);
- return n;
- }
- function i0(e) {
- if (Array.isArray(e))
- return e;
- }
- function o0(e, t) {
- var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
- if (n != null) {
- var r, i, o, a, s = [], c = true, h = false;
- try {
- if (o = (n = n.call(e)).next, t !== 0)
- for (; !(c = (r = o.call(n)).done) && (s.push(r.value), s.length !== t); c = true)
- ;
- } catch (d) {
- h = true, i = d;
- } finally {
- try {
- if (!c && n.return != null && (a = n.return(), Object(a) !== a))
- return;
- } finally {
- if (h)
- throw i;
- }
- }
- return s;
- }
- }
- function k3(e, t) {
- (t == null || t > e.length) && (t = e.length);
- for (var n = 0, r = Array(t); n < t; n++)
- r[n] = e[n];
- return r;
- }
- function a0(e, t) {
- if (e) {
- if (typeof e == "string")
- return k3(e, t);
- var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? k3(e, t) : void 0;
- }
- }
- function s0() {
- throw new TypeError(`Invalid attempt to destructure non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
- }
- function oi(e, t) {
- return i0(e) || o0(e, t) || a0(e, t) || s0();
- }
- function r3() {
- return !!(typeof window < "u" && window.document && window.document.createElement);
- }
- function Tn2(e) {
- var t = Q.useRef(false), n = Q.useState(e), r = oi(n, 2), i = r[0], o = r[1];
- Q.useEffect(function() {
- return t.current = false, function() {
- t.current = true;
- };
- }, []);
- function a(s, c) {
- c && t.current || o(s);
- }
- return [i, a];
- }
- function R1(e) {
- "@babel/helpers - typeof";
- return R1 = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
- return typeof t;
- } : function(t) {
- return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
- }, R1(e);
- }
- var an = { exports: {} };
- var fe = {};
- var B3;
- function l0() {
- if (B3)
- return fe;
- B3 = 1;
- var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), a = Symbol.for("react.context"), s = Symbol.for("react.server_context"), c = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), u = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), S;
- S = Symbol.for("react.module.reference");
- function _(m) {
- if (typeof m == "object" && m !== null) {
- var w = m.$$typeof;
- switch (w) {
- case e:
- switch (m = m.type, m) {
- case n:
- case i:
- case r:
- case h:
- case d:
- return m;
- default:
- switch (m = m && m.$$typeof, m) {
- case s:
- case a:
- case c:
- case p:
- case u:
- case o:
- return m;
- default:
- return w;
- }
- }
- case t:
- return w;
- }
- }
- }
- return fe.ContextConsumer = a, fe.ContextProvider = o, fe.Element = e, fe.ForwardRef = c, fe.Fragment = n, fe.Lazy = p, fe.Memo = u, fe.Portal = t, fe.Profiler = i, fe.StrictMode = r, fe.Suspense = h, fe.SuspenseList = d, fe.isAsyncMode = function() {
- return false;
- }, fe.isConcurrentMode = function() {
- return false;
- }, fe.isContextConsumer = function(m) {
- return _(m) === a;
- }, fe.isContextProvider = function(m) {
- return _(m) === o;
- }, fe.isElement = function(m) {
- return typeof m == "object" && m !== null && m.$$typeof === e;
- }, fe.isForwardRef = function(m) {
- return _(m) === c;
- }, fe.isFragment = function(m) {
- return _(m) === n;
- }, fe.isLazy = function(m) {
- return _(m) === p;
- }, fe.isMemo = function(m) {
- return _(m) === u;
- }, fe.isPortal = function(m) {
- return _(m) === t;
- }, fe.isProfiler = function(m) {
- return _(m) === i;
- }, fe.isStrictMode = function(m) {
- return _(m) === r;
- }, fe.isSuspense = function(m) {
- return _(m) === h;
- }, fe.isSuspenseList = function(m) {
- return _(m) === d;
- }, fe.isValidElementType = function(m) {
- return typeof m == "string" || typeof m == "function" || m === n || m === i || m === r || m === h || m === d || m === C || typeof m == "object" && m !== null && (m.$$typeof === p || m.$$typeof === u || m.$$typeof === o || m.$$typeof === a || m.$$typeof === c || m.$$typeof === S || m.getModuleId !== void 0);
- }, fe.typeOf = _, fe;
- }
- var F3;
- function c0() {
- return F3 || (F3 = 1, an.exports = l0()), an.exports;
- }
- var gt = c0();
- var u0 = function(t, n) {
- typeof t == "function" ? t(n) : R1(t) === "object" && t && "current" in t && (t.current = n);
- };
- var f0 = function(t) {
- var n, r, i = gt.isMemo(t) ? t.type.type : t.type;
- return !(typeof i == "function" && !((n = i.prototype) !== null && n !== void 0 && n.render) && i.$$typeof !== gt.ForwardRef || typeof t == "function" && !((r = t.prototype) !== null && r !== void 0 && r.render) && t.$$typeof !== gt.ForwardRef);
- };
- Number(import_react.version.split(".")[0]) >= 19;
- function d0(e, t) {
- if (R1(e) != "object" || !e)
- return e;
- var n = e[Symbol.toPrimitive];
- if (n !== void 0) {
- var r = n.call(e, t || "default");
- if (R1(r) != "object")
- return r;
- throw new TypeError("@@toPrimitive must return a primitive value.");
- }
- return (t === "string" ? String : Number)(e);
- }
- function h0(e) {
- var t = d0(e, "string");
- return R1(t) == "symbol" ? t : t + "";
- }
- function p0(e, t, n) {
- return (t = h0(t)) in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: true,
- configurable: true,
- writable: true
- }) : e[t] = n, e;
- }
- function z3(e, t) {
- var n = Object.keys(e);
- if (Object.getOwnPropertySymbols) {
- var r = Object.getOwnPropertySymbols(e);
- t && (r = r.filter(function(i) {
- return Object.getOwnPropertyDescriptor(e, i).enumerable;
- })), n.push.apply(n, r);
- }
- return n;
- }
- function v0(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = arguments[t] != null ? arguments[t] : {};
- t % 2 ? z3(Object(n), true).forEach(function(r) {
- p0(e, r, n[r]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : z3(Object(n)).forEach(function(r) {
- Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
- });
- }
- return e;
- }
- var m0 = "univer-popup-fixed";
- var g0 = {
- popupFixed: m0
- };
- var ai = (0, import_react.createContext)({ current: void 0 });
- var h1 = 8;
- function si(e) {
- const { position: t, width: n, height: r, containerHeight: i, containerWidth: o, direction: a = "vertical" } = e;
- if (a === "vertical" || a.includes("top") || a.includes("bottom")) {
- const { left: C, top: S, right: _, bottom: m } = t, w = a === "vertical" && m > i - r - h1 || a.indexOf("top") > -1 ? { top: Math.max(S - r, h1) } : { top: Math.min(m, i - r - h1) };
- let I;
- if (a.includes("center")) {
- const P = (_ - C - n) / 2;
- I = {
- left: C + P
- };
- } else
- I = C + n > o ? { left: Math.max(_ - n, h1) } : { left: Math.min(C, o - n - h1) };
- return { ...w, ...I };
- }
- const { left: s, top: c, right: h, bottom: d } = t, u = a === "left" ? { left: Math.max(s - n, h1) } : { left: Math.min(h, o - n - h1) };
- return { ...c + r > i ? { top: Math.max(d - r, h1) } : { top: Math.min(c, i - r - h1) }, ...u };
- }
- function i3(e) {
- const { portal: t, children: n, anchorRect$: r, direction: i = "vertical", onClickOutside: o, excludeOutside: a, excludeRects: s, onPointerEnter: c, onPointerLeave: h, onClick: d, hidden: u, onContextMenu: p } = e, C = (0, import_react.useRef)(null), S = et(o != null ? o : () => {
- }), _ = et(p != null ? p : () => {
- }), m = (0, import_react.useRef)({
- top: -9999,
- left: -9999
- }), w = s, I = (0, import_react.useRef)();
- (0, import_react.useEffect)(
- () => {
- const P = r.subscribe((M) => {
- I.current = M, requestAnimationFrame(() => {
- if (!C.current)
- return;
- const { clientWidth: x, clientHeight: N } = C.current, A = window.innerWidth, j = window.innerHeight;
- m.current = si(
- {
- position: M,
- width: x,
- height: N,
- containerWidth: A,
- containerHeight: j,
- direction: i
- }
- ), C.current.style.top = `${m.current.top}px`, C.current.style.left = `${m.current.left}px`;
- });
- });
- return () => P.unsubscribe();
- },
- [r, i]
- ), (0, import_react.useEffect)(() => {
- const P = (M) => {
- var j;
- if (a && (a.indexOf(M.target) > -1 || a.some(
- (B) => B.contains(M.target)
- )))
- return;
- const x = M.clientX, N = M.clientY, A = [...(j = w == null ? void 0 : w.current) != null ? j : []];
- I.current && A.push(I.current);
- for (const B of A)
- if (x <= B.right && x >= B.left && N <= B.bottom && N >= B.top)
- return;
- S(M);
- };
- return window.addEventListener("pointerdown", P), () => {
- window.removeEventListener("pointerdown", P);
- };
- }, [S, a, w]), (0, import_react.useEffect)(() => {
- const P = (M) => {
- M.ctrlKey && M.button === 0 || _();
- };
- return window.addEventListener("contextmenu", P), () => {
- window.removeEventListener("contextmenu", P);
- };
- }, [_]);
- const R = g.jsx(
- "section",
- {
- onPointerEnter: c,
- onPointerLeave: h,
- ref: C,
- style: { ...m.current, ...u ? { display: "none" } : null },
- className: g0.popupFixed,
- onPointerDown: (P) => P.stopPropagation(),
- onClick: d,
- children: g.jsx(ai.Provider, { value: I, children: n })
- }
- );
- return t ? (0, import_react_dom.createPortal)(R, document.getElementById("univer-popup-portal")) : R;
- }
- i3.calcPopupPosition = si;
- i3.useContext = () => (0, import_react.useContext)(ai);
- function li(e) {
- var t, n, r = "";
- if (typeof e == "string" || typeof e == "number")
- r += e;
- else if (typeof e == "object")
- if (Array.isArray(e)) {
- var i = e.length;
- for (t = 0; t < i; t++)
- e[t] && (n = li(e[t])) && (r && (r += " "), r += n);
- } else
- for (n in e)
- e[n] && (r && (r += " "), r += n);
- return r;
- }
- function je() {
- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++)
- (e = arguments[n]) && (t = li(e)) && (r && (r += " "), r += t);
- return r;
- }
- var C0 = Object.defineProperty;
- var b0 = Object.getOwnPropertyDescriptor;
- var y0 = (e, t, n, r) => {
- for (var i = r > 1 ? void 0 : r ? b0(t, n) : t, o = e.length - 1, a; o >= 0; o--)
- (a = e[o]) && (i = (r ? a(t, n, i) : a(i)) || i);
- return r && i && C0(t, n, i), i;
- };
- var Z3 = (e, t) => (n, r) => t(n, r, e);
- var L0 = "FOCUSING_UNIVER";
- var _0 = [
- "univer-app-layout",
- "univer-toolbar-btn",
- "univer-menu-item",
- "univer-button",
- "univer-sheet-bar-btn",
- "univer-render-canvas",
- "univer-workbench-layout"
- ];
- var _1 = Ct("ui.layout-service");
- var Mt2 = class extends nt {
- constructor(t, n) {
- super();
- K(this, "_rootContainerElement", null);
- K(this, "_isFocused", false);
- K(this, "_focusHandlers", /* @__PURE__ */ new Map());
- K(this, "_contentElements", []);
- K(this, "_allContainers", []);
- this._contextService = t, this._univerInstanceService = n, this._initUniverFocusListener(), this._initEditorStatus();
- }
- get isFocused() {
- return this._isFocused;
- }
- get rootContainerElement() {
- return this._rootContainerElement;
- }
- focus() {
- const t = this._univerInstanceService.getFocusedUnit();
- if (!t)
- return;
- let n;
- t instanceof ts ? n = this._focusHandlers.get(Fe.UNIVER_SHEET) : t instanceof jt ? n = this._focusHandlers.get(Fe.UNIVER_DOC) : t instanceof cl && (n = this._focusHandlers.get(Fe.UNIVER_SLIDE)), n && n(t.getUnitId());
- }
- registerFocusHandler(t, n) {
- if (this._focusHandlers.has(t))
- throw new Error(`[DesktopLayoutService]: handler of type ${t} bas been registered!`);
- return this._focusHandlers.set(t, n), Ze(() => this._focusHandlers.delete(t));
- }
- registerContentElement(t) {
- if (this._contentElements.indexOf(t) === -1)
- return this._contentElements.push(t), Ze(() => cs(this._contentElements, t));
- throw new Error("[DesktopLayoutService]: content container already registered!");
- }
- getContentElement() {
- return this._contentElements[0];
- }
- registerRootContainerElement(t) {
- if (this._rootContainerElement)
- throw new Error("[DesktopLayoutService]: root container already registered!");
- this._rootContainerElement = t;
- const n = this.registerContainerElement(t);
- return Ze(() => {
- this._rootContainerElement = null, n.dispose();
- });
- }
- registerContainerElement(t) {
- if (this._allContainers.indexOf(t) === -1)
- return this._allContainers.push(t), Ze(() => cs(this._allContainers, t));
- throw new Error("[LayoutService]: container already registered!");
- }
- checkElementInCurrentContainers(t) {
- return this._allContainers.some((n) => n.contains(t));
- }
- checkContentIsFocused() {
- return this._contentElements.some((t) => t === document.activeElement || t.contains(document.activeElement));
- }
- _initUniverFocusListener() {
- this.disposeWithMe(
- fromEvent(window, "focusin").subscribe((t) => {
- const n = t.target;
- if (_0.some((r) => n.classList.contains(r))) {
- queueMicrotask(() => this.focus());
- return;
- }
- n && this.checkElementInCurrentContainers(n) ? this._isFocused = true : this._isFocused = false, this._contextService.setContextValue(L0, this._isFocused), this._contextService.setContextValue(CR, W3());
- })
- );
- }
- _initEditorStatus() {
- this._contextService.setContextValue(CR, W3());
- }
- };
- Mt2 = y0([
- Z3(0, fs),
- Z3(1, _n)
- ], Mt2);
- function W3() {
- var e;
- return !!((e = document.activeElement) != null && e.classList.contains("univer-editor"));
- }
- var $e = ((e) => (e[e.BUTTON = 0] = "BUTTON", e[e.SELECTOR = 1] = "SELECTOR", e[e.BUTTON_SELECTOR = 2] = "BUTTON_SELECTOR", e[e.SUBITEMS = 3] = "SUBITEMS", e))($e || {});
- var wt = ((e) => (e.RIBBON = "ribbon", e.CONTEXT_MENU = "contextMenu", e))(wt || {});
- var L1 = ((e) => (e.START = "ribbon.start", e.INSERT = "ribbon.insert", e.FORMULAS = "ribbon.formulas", e.DATA = "ribbon.data", e.VIEW = "ribbon.view", e.OTHERS = "ribbon.others", e))(L1 || {});
- var l1 = ((e) => (e.HISTORY = "ribbon.start.history", e.FORMAT = "ribbon.start.format", e.LAYOUT = "ribbon.start.layout", e.FORMULAS_INSERT = "ribbon.start.insert", e.FORMULAS_VIEW = "ribbon.start.view", e.FILE = "ribbon.start.file", e.OTHERS = "ribbon.start.others", e))(l1 || {});
- var ci = ((e) => (e.OTHERS = "ribbon.insert.others", e))(ci || {});
- var ui = ((e) => (e.OTHERS = "ribbon.formulas.others", e))(ui || {});
- var fi = ((e) => (e.OTHERS = "ribbon.data.others", e))(fi || {});
- var di = ((e) => (e.OTHERS = "ribbon.view.others", e))(di || {});
- var hi = ((e) => (e.OTHERS = "ribbon.others.others", e))(hi || {});
- var P1 = ((e) => (e.MAIN_AREA = "contextMenu.mainArea", e.COL_HEADER = "contextMenu.colHeader", e.ROW_HEADER = "contextMenu.rowHeader", e.FOOTER_TABS = "contextMenu.footerTabs", e.FOOTER_MENU = "contextMenu.footerMenu", e))(P1 || {});
- var He = ((e) => (e.FORMAT = "contextMenu.format", e.LAYOUT = "contextMenu.layout", e.DATA = "contextMenu.data", e.OTHERS = "contextMenu.others", e))(He || {});
- var S0 = Object.defineProperty;
- var M0 = Object.getOwnPropertyDescriptor;
- var w0 = (e, t, n, r) => {
- for (var i = r > 1 ? void 0 : r ? M0(t, n) : t, o = e.length - 1, a; o >= 0; o--)
- (a = e[o]) && (i = (r ? a(t, n, i) : a(i)) || i);
- return r && i && S0(t, n, i), i;
- };
- var G3 = (e, t) => (n, r) => t(n, r, e);
- var m1 = Ct("univer.menu-manager-service");
- var xt = class extends nt {
- constructor(t, n) {
- super();
- K(this, "menuChanged$", new Subject());
- K(this, "_menu", {
- [wt.RIBBON]: {
- [L1.START]: {
- order: 0,
- [l1.HISTORY]: {
- order: 0
- },
- [l1.FORMAT]: {
- order: 1
- },
- [l1.LAYOUT]: {
- order: 2
- },
- [l1.FORMULAS_INSERT]: {
- order: 3
- },
- [l1.FORMULAS_VIEW]: {
- order: 4
- },
- [l1.FILE]: {
- order: 5
- },
- [l1.OTHERS]: {
- order: 6
- }
- },
- [L1.INSERT]: {
- order: 1,
- [ci.OTHERS]: {
- order: 0
- }
- },
- [L1.FORMULAS]: {
- order: 2,
- [ui.OTHERS]: {
- order: 0
- }
- },
- [L1.DATA]: {
- order: 3,
- [fi.OTHERS]: {
- order: 0
- }
- },
- [L1.VIEW]: {
- order: 4,
- [di.OTHERS]: {
- order: 0
- }
- },
- [L1.OTHERS]: {
- order: 5,
- [hi.OTHERS]: {
- order: 0
- }
- }
- },
- [wt.CONTEXT_MENU]: {
- [P1.MAIN_AREA]: {
- order: 0,
- [He.FORMAT]: {
- order: 0
- },
- [He.LAYOUT]: {
- order: 1
- },
- [He.DATA]: {
- order: 2
- },
- [He.OTHERS]: {
- order: 3
- }
- },
- [P1.COL_HEADER]: {
- order: 1,
- [He.FORMAT]: {
- order: 0
- },
- [He.LAYOUT]: {
- order: 1
- },
- [He.DATA]: {
- order: 2
- },
- [He.OTHERS]: {
- order: 3
- }
- },
- [P1.ROW_HEADER]: {
- order: 2,
- [He.FORMAT]: {
- order: 0
- },
- [He.LAYOUT]: {
- order: 1
- },
- [He.DATA]: {
- order: 2
- },
- [He.OTHERS]: {
- order: 3
- }
- },
- [P1.FOOTER_TABS]: {
- order: 3,
- [He.FORMAT]: {
- order: 0
- },
- [He.LAYOUT]: {
- order: 1
- },
- [He.DATA]: {
- order: 2
- },
- [He.OTHERS]: {
- order: 3
- }
- },
- [P1.FOOTER_MENU]: {
- order: 4,
- [He.OTHERS]: {
- order: 3
- }
- }
- }
- });
- this._injector = t, this._configService = n;
- }
- dispose() {
- this.menuChanged$.complete();
- }
- /**
- * Merge source menu to target menu recursively
- * @param source
- * @param target default is root menu
- */
- mergeMenu(t, n) {
- const r = n != null ? n : this._menu;
- for (const [i, o] of Object.entries(r))
- if (i in t) {
- const a = i;
- r[a] = nu({}, r[a], t[a]), this.menuChanged$.next();
- } else
- this.mergeMenu(t, o);
- }
- appendRootMenu(t) {
- this._menu = nu({}, this._menu, t), this.menuChanged$.next();
- }
- _buildMenuSchema(t) {
- const n = [];
- for (const [r, i] of Object.entries(t)) {
- const o = {
- key: r,
- order: i.order
- };
- if (i.menuItemFactory) {
- const s = this._injector.invoke(i.menuItemFactory);
- if (s) {
- const c = this._configService.getConfig("menu");
- if (c && s.id in c) {
- const h = s.id;
- o.item = Ua(s, c[h]);
- } else
- o.item = s;
- }
- }
- const a = this._buildMenuSchema(i);
- a.length > 0 && (o.children = a.sort((s, c) => s.order - c.order)), (o.item || o.children) && n.push(o);
- }
- return n;
- }
- /**
- * Get menu schema by position key
- * @param key
- * @returns Menu schema array or empty array if not found
- */
- getMenuByPositionKey(t) {
- const n = (r) => {
- if (t in r)
- return this._buildMenuSchema(r[t]);
- for (const i in r) {
- if (i === t)
- return this._buildMenuSchema(r[i]);
- if (typeof r[i] == "object") {
- const o = n(r[i]);
- if (o)
- return o;
- }
- }
- };
- return n(this._menu);
- }
- };
- xt = w0([
- G3(0, ot(Ot)),
- G3(1, SE)
- ], xt);
- var x0 = "univer-menu-item-no-hover";
- var E0 = "univer-menu-item-active";
- var H0 = "univer-menu-item-activated";
- var O0 = "univer-menu-item-content";
- var R0 = "univer-menu-item-selectable";
- var T0 = "univer-menu-item-selectable-icon";
- var N0 = "univer-menu-item-more-icon";
- var Je = {
- menuItemNoHover: x0,
- menuItemActive: E0,
- menuItemActivated: H0,
- menuItemContent: O0,
- menuItemSelectable: R0,
- menuItemSelectableIcon: T0,
- menuItemMoreIcon: N0
- };
- function pi(e) {
- const { menuType: t, onOptionSelect: n } = e, r = W0(m1), i = (0, import_react.useMemo)(() => t ? r.getMenuByPositionKey(t) : [], [t, r]), [o, a] = (0, import_react.useState)({}), s = (0, import_react.useMemo)(() => i.filter((c) => {
- var d;
- if (!c.children)
- return c;
- const h = ((d = c.key) == null ? void 0 : d.toString()) || "";
- return !o[h];
- }), [i, o]);
- return (0, import_react.useEffect)(() => {
- const c = i.map((h) => {
- if (!h.children)
- return null;
- const d = h.children.map((u) => {
- var p, C;
- return (C = (p = u.item) == null ? void 0 : p.hidden$) != null ? C : of(false);
- });
- return combineLatest(d).subscribe((u) => {
- const p = u.every((C) => C === true);
- a((C) => ({
- ...C,
- [h.key]: p
- }));
- });
- });
- return () => {
- c.forEach((h) => h == null ? void 0 : h.unsubscribe()), a({});
- };
- }, [i]), t ? s && s.map((c) => {
- var h;
- return c.item ? g.jsx(
- Y3,
- {
- menuItem: c.item,
- onClick: (d) => {
- n == null || n({ value: "", label: c.key, ...d });
- }
- },
- c.key
- ) : (h = c.children) != null && h.length ? g.jsx(YO, { eventKey: c.key, children: c.children.map((d) => d.item && g.jsx(
- Y3,
- {
- menuItem: d.item,
- onClick: (u) => {
- n == null || n({ value: "", label: d.key, ...u });
- }
- },
- d.key
- )) }, c.key) : null;
- }) : null;
- }
- function vi(e) {
- var o;
- const { options: t, value: n, onOptionSelect: r, parentKey: i } = e;
- return (o = t == null ? void 0 : t.map((a, s) => {
- var p, C, S;
- const c = `${i}-${(p = a.label) != null ? p : a.id}-${s}`, h = (_) => {
- r == null || r({ value: _, label: a == null ? void 0 : a.label, commandId: a == null ? void 0 : a.commandId });
- }, d = () => {
- typeof a.value > "u" || r == null || r({
- ...a
- });
- }, u = je({
- [Je.menuItemNoHover]: typeof a.label != "string" && !((C = a.label) != null && C.hoverable)
- });
- return g.jsx(qO, { disabled: a.disabled, eventKey: c, className: u, onClick: d, children: g.jsxs(
- "span",
- {
- className: je(Je.menuItemContent, {
- [Je.menuItemSelectable]: !(typeof a.label != "string" && !((S = a.label) != null && S.hoverable))
- }),
- children: [
- typeof n < "u" && String(n) === String(a.value) && g.jsx("span", { className: Je.menuItemSelectableIcon, children: g.jsx(S6, { style: { color: "rgb(var(--success-color))" } }) }),
- g.jsx(
- ke,
- {
- value$: a.value$,
- value: a.value,
- label: a.label,
- icon: a.icon,
- onChange: h
- }
- )
- ]
- }
- ) }, c);
- })) != null ? o : null;
- }
- var Nn2 = (e) => {
- const { overViewport: t, ...n } = e, [r, i] = (0, import_react.useState)(), o = W0(_1);
- return n0(t === "scroll" ? r : null, o.rootContainerElement), g.jsxs(
- UO,
- {
- ref: (a) => (a == null ? void 0 : a.list) && i(a.list),
- selectable: false,
- children: [
- g.jsx(vi, { ...n }),
- g.jsx(pi, { ...n })
- ]
- }
- );
- };
- function Y3({ menuItem: e, onClick: t }) {
- const n = W0(m1), r = z0(e.disabled$, false), i = z0(e.activated$, false), o = z0(e.hidden$, false), a = z0(e.value$), s = e, c = z0(isObservable(s.selections) ? s.selections : void 0), [h, d] = (0, import_react.useState)(a);
- if (o)
- return null;
- const u = (m) => {
- const w = DC(m) && typeof m == "string" ? Number.parseInt(m) : m;
- d(w);
- }, p = () => {
- const m = e, { title: w, label: I } = m;
- return g.jsx(
- qO,
- {
- eventKey: m.id,
- disabled: r,
- className: je({
- [Je.menuItemActivated]: i
- }),
- onClick: () => {
- t({ commandId: m.commandId, value: h, id: m.id });
- },
- children: g.jsx("span", { className: Je.menuItemContent, children: g.jsx(
- ke,
- {
- value: a,
- title: w,
- label: I,
- icon: m.icon,
- onChange: u
- }
- ) })
- },
- m.id
- );
- }, C = () => {
- var w;
- const m = (w = c != null ? c : s.selections) != null ? w : [];
- return m.length > 0 ? g.jsx(
- KO,
- {
- eventKey: s.id,
- popupOffset: [18, 0],
- title: g.jsxs("span", { className: Je.menuItemContent, children: [
- g.jsx(
- ke,
- {
- title: s.title,
- value: h,
- onChange: u,
- icon: s.icon,
- label: s.label
- }
- ),
- s.shortcut && ` (${s.shortcut})`
- ] }),
- expandIcon: g.jsx(On, { className: Je.menuItemMoreIcon }),
- children: m.length > 0 && g.jsx(
- vi,
- {
- parentKey: s.id,
- menuType: s.id,
- options: m,
- onOptionSelect: (I) => {
- t({ value: I.value, id: s.id, commandId: I.commandId });
- }
- }
- )
- },
- s.id
- ) : g.jsx(qO, { eventKey: s.id, children: g.jsxs("span", { className: Je.menuItemContent, children: [
- g.jsx(
- ke,
- {
- title: s.title,
- value: h,
- icon: s.icon,
- label: s.label,
- onChange: u
- }
- ),
- s.shortcut && ` (${s.shortcut})`
- ] }) }, s.id);
- }, S = e.id ? n.getMenuByPositionKey(e.id) : [], _ = () => {
- const m = e;
- return g.jsx(
- KO,
- {
- eventKey: m.id,
- popupOffset: [18, 0],
- title: g.jsx("span", { className: Je.menuItemContent, children: g.jsx(ke, { title: m.title, icon: m.icon, label: m.label, onChange: u }) }),
- expandIcon: g.jsx(On, { className: Je.menuItemMoreIcon }),
- children: S.length && g.jsx(pi, { menuType: m.id, parentKey: m.id, onOptionSelect: t })
- },
- m.id
- );
- };
- return g.jsxs(g.Fragment, { children: [
- e.type === $e.SELECTOR && C(),
- e.type === $e.SUBITEMS && _(),
- e.type === $e.BUTTON && p()
- ] });
- }
- var I0 = "univer-progress-bar";
- var V0 = "univer-progress-bar-container";
- var D0 = "univer-progress-bar-label";
- var A0 = "univer-progress-bar-inner";
- var P0 = "univer-progress-bar-close-button";
- var G1 = {
- progressBar: I0,
- progressBarContainer: V0,
- progressBarLabel: D0,
- progressBarInner: A0,
- progressBarCloseButton: P0
- };
- function zl(e) {
- const { barColor: t, progress: n, onTerminate: r, onClearProgress: i } = e, { count: o, done: a, label: s = "" } = n, c = W0(ml), h = t != null ? t : c.getCurrentTheme().primaryColor, d = (0, import_react.useRef)(null), u = (0, import_react.useRef)(null);
- return (0, import_react.useEffect)(() => {
- const p = d.current, C = u.current;
- if (!p || !C)
- return;
- if (o === 0 && a === 0) {
- C.style.display = "none", p.style.width = "0%";
- return;
- } else if (o > 0) {
- C.style.display = "flex";
- const _ = Math.floor(a / o * 100);
- a === o ? requestAnimationFrame(() => {
- p.style.width = `${_ - 1}%`, requestAnimationFrame(() => {
- p.style.width = `${_}%`;
- });
- }) : p.style.width = `${_}%`;
- }
- const S = () => {
- a === o && (C.style.display = "none", p.style.width = "0%", i && i());
- };
- return p.addEventListener("transitionend", S), () => {
- p.removeEventListener("transitionend", S);
- };
- }, [o, a]), g.jsxs("div", { ref: u, className: G1.progressBarContainer, style: { display: "none" }, children: [
- g.jsx(Gf, { showIfEllipsis: true, title: s, children: g.jsx("span", { className: G1.progressBarLabel, children: s }) }),
- g.jsx("div", { className: G1.progressBar, children: g.jsx(
- "div",
- {
- ref: d,
- className: G1.progressBarInner,
- style: {
- backgroundColor: h
- }
- }
- ) }),
- g.jsxs("div", { className: G1.progressBarCloseButton, onClick: r, children: [
- " ",
- g.jsx(zt, {})
- ] })
- ] });
- }
- var Zl = "UNI_DISABLE_CHANGING_FOCUS";
- var j0 = "ui.config";
- var q3 = {};
- var o3 = Ct("ui.message.service");
- var $0 = Object.defineProperty;
- var k0 = Object.getOwnPropertyDescriptor;
- var B02 = (e, t, n, r) => {
- for (var i = r > 1 ? void 0 : r ? k0(t, n) : t, o = e.length - 1, a; o >= 0; o--)
- (a = e[o]) && (i = (r ? a(t, n, i) : a(i)) || i);
- return r && i && $0(t, n, i), i;
- };
- var X3 = (e, t) => (n, r) => t(n, r, e);
- var F1 = class extends nt {
- constructor(e, t) {
- super(), this._errorService = e, this._messageService = t, this.disposeWithMe(this._errorService.error$.subscribe((n) => {
- this._messageService.show({
- content: n.errorKey,
- type: Xw.Error
- });
- }));
- }
- };
- F1 = B02([
- X3(0, ot(NE)),
- X3(1, o3)
- ], F1);
- var a3 = class extends nt {
- constructor() {
- super(...arguments);
- K(this, "_open$", new BehaviorSubject(false));
- K(this, "open$", this._open$.pipe(distinctUntilChanged()));
- }
- get isOpen() {
- return this._open$.getValue();
- }
- dispose() {
- super.dispose(), this._open$.next(false), this._open$.complete();
- }
- open() {
- this._open$.next(true);
- }
- close() {
- this._open$.next(false);
- }
- };
- var Wl = Ct("ui.left-sidebar.service");
- var rt = Ct("ui.sidebar.service");
- var mi = "ShortcutPanel";
- var Zt = {
- id: "base-ui.operation.toggle-shortcut-panel",
- type: ar.OPERATION,
- handler: (e) => {
- const t = e.get(a3), n = e.get(rt);
- return t.isOpen ? (t.close(), n.close()) : (t.open(), n.open({
- header: { title: "shortcut-panel.title" },
- children: { label: mi }
- })), true;
- }
- };
- function F0(e) {
- return {
- id: Zt.id,
- title: "toggle-shortcut-panel",
- tooltip: "toggle-shortcut-panel",
- icon: "KeyboardSingle",
- type: $e.BUTTON,
- hidden$: Fa(e, Fe.UNIVER_SHEET)
- // disabled$: getCurrentSheetDisabled$(accessor),
- };
- }
- var gi = (e) => {
- const t = e.get(cn), n = e.get(fs);
- return combineLatest([
- t.undoRedoStatus$.pipe(map((r) => r.undos <= 0)),
- merge([of({}), n.contextChanged$])
- ]).pipe(map(([r]) => r || n.getContextValue(oE) || n.getContextValue(aE)));
- };
- function U0(e) {
- return {
- id: Nn.id,
- type: $e.BUTTON,
- icon: "UndoSingle",
- title: "Undo",
- tooltip: "toolbar.undo",
- disabled$: gi(e)
- };
- }
- function z02(e) {
- return {
- id: Tn.id,
- type: $e.BUTTON,
- icon: "RedoSingle",
- title: "Redo",
- tooltip: "toolbar.redo",
- disabled$: gi(e)
- };
- }
- var Ci = {
- [l1.HISTORY]: {
- [Nn.id]: {
- order: 0,
- menuItemFactory: U0
- },
- [Tn.id]: {
- order: 1,
- menuItemFactory: z02
- }
- },
- [l1.OTHERS]: {
- [Zt.id]: {
- order: 99,
- menuItemFactory: F0
- }
- }
- };
- var Q3 = "univer.command.copy";
- var bi = {
- id: Q3,
- name: Q3,
- multi: true,
- priority: 0,
- type: ar.COMMAND,
- preconditions: () => false,
- handler: () => true
- };
- var J3 = "univer.command.cut";
- var yi = {
- id: J3,
- name: J3,
- multi: true,
- priority: 0,
- type: ar.COMMAND,
- preconditions: () => false,
- handler: async () => true
- };
- var K3 = "univer.command.paste";
- var Li = {
- id: K3,
- name: K3,
- multi: true,
- priority: 0,
- type: ar.COMMAND,
- preconditions: () => false,
- handler: () => true
- };
- var Gl = "sheet.command.paste-by-short-key";
- var I1 = ((e) => (e[e.UNKNOWN = 0] = "UNKNOWN", e[e.BACKSPACE = 8] = "BACKSPACE", e[e.TAB = 9] = "TAB", e[e.ENTER = 13] = "ENTER", e[e.SHIFT = 16] = "SHIFT", e[e.CTRL = 17] = "CTRL", e[e.ESC = 27] = "ESC", e[e.SPACE = 32] = "SPACE", e[e.ARROW_LEFT = 37] = "ARROW_LEFT", e[e.ARROW_UP = 38] = "ARROW_UP", e[e.ARROW_RIGHT = 39] = "ARROW_RIGHT", e[e.ARROW_DOWN = 40] = "ARROW_DOWN", e[e.INSERT = 45] = "INSERT", e[e.DELETE = 46] = "DELETE", e[e.Digit0 = 48] = "Digit0", e[e.Digit1 = 49] = "Digit1", e[e.Digit2 = 50] = "Digit2", e[e.Digit3 = 51] = "Digit3", e[e.Digit4 = 52] = "Digit4", e[e.Digit5 = 53] = "Digit5", e[e.Digit6 = 54] = "Digit6", e[e.Digit7 = 55] = "Digit7", e[e.Digit8 = 56] = "Digit8", e[e.Digit9 = 57] = "Digit9", e[e.A = 65] = "A", e[e.B = 66] = "B", e[e.C = 67] = "C", e[e.D = 68] = "D", e[e.E = 69] = "E", e[e.F = 70] = "F", e[e.G = 71] = "G", e[e.H = 72] = "H", e[e.I = 73] = "I", e[e.J = 74] = "J", e[e.K = 75] = "K", e[e.L = 76] = "L", e[e.M = 77] = "M", e[e.N = 78] = "N", e[e.O = 79] = "O", e[e.P = 80] = "P", e[e.Q = 81] = "Q", e[e.R = 82] = "R", e[e.S = 83] = "S", e[e.T = 84] = "T", e[e.U = 85] = "U", e[e.V = 86] = "V", e[e.W = 87] = "W", e[e.X = 88] = "X", e[e.Y = 89] = "Y", e[e.Z = 90] = "Z", e[e.F1 = 112] = "F1", e[e.F2 = 113] = "F2", e[e.F3 = 114] = "F3", e[e.F4 = 115] = "F4", e[e.F5 = 116] = "F5", e[e.F6 = 117] = "F6", e[e.F7 = 118] = "F7", e[e.F8 = 119] = "F8", e[e.F9 = 120] = "F9", e[e.F10 = 121] = "F10", e[e.F11 = 122] = "F11", e[e.F12 = 123] = "F12", e[e.NUM_LOCK = 144] = "NUM_LOCK", e[e.SCROLL_LOCK = 145] = "SCROLL_LOCK", e[e.EQUAL = 187] = "EQUAL", e[e.COMMA = 188] = "COMMA", e[e.MINUS = 189] = "MINUS", e[e.PERIOD = 190] = "PERIOD", e[e.BACK_SLASH = 220] = "BACK_SLASH", e))(I1 || {});
- var Z0 = {
- 8: "Backspace",
- 9: "Tab",
- 13: "Enter",
- 46: "Del",
- 27: "Esc",
- 32: "Space",
- 37: "←",
- 39: "→",
- 38: "↑",
- 40: "↓",
- 48: "0",
- 49: "1",
- 50: "2",
- 51: "3",
- 52: "4",
- 53: "5",
- 54: "6",
- 55: "7",
- 56: "8",
- 57: "9",
- 65: "A",
- 66: "B",
- 67: "C",
- 68: "D",
- 69: "E",
- 70: "F",
- 71: "G",
- 72: "H",
- 73: "I",
- 74: "J",
- 75: "K",
- 76: "L",
- 77: "M",
- 78: "N",
- 79: "O",
- 80: "P",
- 81: "Q",
- 82: "R",
- 83: "S",
- 84: "T",
- 85: "U",
- 86: "V",
- 87: "W",
- 88: "X",
- 89: "Y",
- 90: "Z",
- 112: "F1",
- 113: "F2",
- 114: "F3",
- 115: "F4",
- 116: "F5",
- 117: "F6",
- 118: "F7",
- 119: "F8",
- 120: "F9",
- 121: "F10",
- 122: "F11",
- 123: "F12",
- 189: "-",
- 187: "=",
- 190: ".",
- 188: ",",
- 220: "\\"
- };
- var Ae = ((e) => (e[e.SHIFT = 1024] = "SHIFT", e[e.ALT = 2048] = "ALT", e[e.CTRL_COMMAND = 4096] = "CTRL_COMMAND", e[e.MAC_CTRL = 8192] = "MAC_CTRL", e))(Ae || {});
- function W02(e, t, n) {
- return window.addEventListener(e, t, n), Ze(() => window.removeEventListener(e, t, n));
- }
- var s3 = Ct("ui.platform.service");
- var _i = class {
- get isMac() {
- return /Mac/.test(navigator.appVersion);
- }
- get isWindows() {
- return /Windows/.test(navigator.appVersion);
- }
- get isLinux() {
- return /Linux/.test(navigator.appVersion);
- }
- };
- var G0 = Object.defineProperty;
- var Y0 = Object.getOwnPropertyDescriptor;
- var q0 = (e, t, n, r) => {
- for (var i = r > 1 ? void 0 : r ? Y0(t, n) : t, o = e.length - 1, a; o >= 0; o--)
- (a = e[o]) && (i = (r ? a(t, n, i) : a(i)) || i);
- return r && i && G0(t, n, i), i;
- };
- var ut = (e, t) => (n, r) => t(n, r, e);
- var it = Ct("ui.shortcut.service");
- var Et = class extends nt {
- constructor(t, n, r, i) {
- super();
- K(this, "_shortCutMapping", /* @__PURE__ */ new Map());
- K(this, "_commandIDMapping", /* @__PURE__ */ new Map());
- K(this, "_shortcutChanged$", new Subject());
- K(this, "shortcutChanged$", this._shortcutChanged$.asObservable());
- K(this, "_forceEscaped", false);
- this._commandService = t, this._platformService = n, this._contextService = r, this._layoutService = i, this.disposeWithMe(
- W02("keydown", (o) => {
- this._resolveKeyboardEvent(o);
- }, {
- capture: true
- })
- );
- }
- getAllShortcuts() {
- return Array.from(this._shortCutMapping.values()).map((t) => Array.from(t.values())).flat();
- }
- registerShortcut(t) {
- const n = this._getBindingFromItem(t), r = this._shortCutMapping.get(n);
- r ? r.add(t) : this._shortCutMapping.set(n, /* @__PURE__ */ new Set([t]));
- const i = t.id, o = this._commandIDMapping.get(i);
- return o ? o.add(t) : this._commandIDMapping.set(i, /* @__PURE__ */ new Set([t])), this._emitShortcutChanged(), Ze(() => {
- var a, s, c, h;
- (a = this._shortCutMapping.get(n)) == null || a.delete(t), ((s = this._shortCutMapping.get(n)) == null ? void 0 : s.size) === 0 && this._shortCutMapping.delete(n), (c = this._commandIDMapping.get(i)) == null || c.delete(t), ((h = this._commandIDMapping.get(i)) == null ? void 0 : h.size) === 0 && this._commandIDMapping.delete(i), this._emitShortcutChanged();
- });
- }
- getShortcutDisplayOfCommand(t) {
- const n = this._commandIDMapping.get(t);
- if (!n)
- return null;
- const r = n.values().next().value;
- return r ? this.getShortcutDisplay(r) : null;
- }
- getShortcutDisplay(t) {
- var c;
- const n = this._getBindingFromItem(t), r = n & Ae.CTRL_COMMAND, i = n & Ae.SHIFT, o = n & Ae.ALT, a = n & Ae.MAC_CTRL, s = (c = Z0[n & 255]) != null ? c : "<->";
- return this._platformService.isMac ? `${r ? "⌘" : ""}${i ? "⇧" : ""}${o ? "⌥" : ""}${a ? "⌃" : ""}${s}` : `${r ? "Ctrl+" : ""}${i ? "Shift+" : ""}${o ? "Alt+" : ""}${s}`;
- }
- _emitShortcutChanged() {
- this._shortcutChanged$.next();
- }
- forceEscape() {
- return this._forceEscaped = true, Ze(() => this._forceEscaped = false);
- }
- _resolveKeyboardEvent(t) {
- const n = this.dispatch(t);
- n && (this._commandService.executeCommand(n.id, n.staticParameters), t.preventDefault());
- }
- dispatch(t) {
- if (this._forceEscaped || this._layoutService && !this._layoutService.checkElementInCurrentContainers(t.target))
- return;
- const n = this._deriveBindingFromEvent(t);
- if (n === null)
- return;
- const r = this._shortCutMapping.get(n);
- return r === void 0 ? void 0 : Array.from(r).sort((o, a) => {
- var s, c;
- return ((s = a.priority) != null ? s : 0) - ((c = o.priority) != null ? c : 0);
- }).find((o) => {
- var a, s;
- return (s = (a = o.preconditions) == null ? void 0 : a.call(o, this._contextService)) != null ? s : true;
- });
- }
- _getBindingFromItem(t) {
- return this._platformService.isMac && t.mac ? t.mac : this._platformService.isWindows && t.win ? t.win : this._platformService.isLinux && t.linux ? t.linux : t.binding;
- }
- _deriveBindingFromEvent(t) {
- const { shiftKey: n, metaKey: r, altKey: i, keyCode: o } = t;
- let a = o;
- return n && (a |= Ae.SHIFT), i && (a |= Ae.ALT), (this._platformService.isMac ? r : t.ctrlKey) && (a |= Ae.CTRL_COMMAND), this._platformService.isMac && t.ctrlKey && (a |= Ae.MAC_CTRL), a;
- }
- };
- Et = q0([
- ut(0, Pt),
- ut(1, s3),
- ut(2, fs),
- ut(3, nf(_1))
- ], Et);
- var X0 = Object.defineProperty;
- var Q0 = Object.getOwnPropertyDescriptor;
- var J0 = (e, t, n, r) => {
- for (var i = r > 1 ? void 0 : r ? Q0(t, n) : t, o = e.length - 1, a; o >= 0; o--)
- (a = e[o]) && (i = (r ? a(t, n, i) : a(i)) || i);
- return r && i && X0(t, n, i), i;
- };
- var er = (e, t) => (n, r) => t(n, r, e);
- function Si(e) {
- return e.getContextValue(CR);
- }
- function Mi(e) {
- return e.getContextValue(CR) && !(e.getContextValue(oE) || e.getContextValue(aE));
- }
- var K0 = {
- id: bi.id,
- description: "shortcut.copy",
- group: "1_common-edit",
- binding: I1.C | Ae.CTRL_COMMAND,
- preconditions: Si
- };
- var e5 = {
- id: yi.id,
- description: "shortcut.cut",
- group: "1_common-edit",
- binding: I1.X | Ae.CTRL_COMMAND,
- preconditions: Si
- };
- var t5 = {
- id: Li.id,
- description: "shortcut.paste",
- group: "1_common-edit",
- binding: I1.V | Ae.CTRL_COMMAND,
- preconditions: () => false
- };
- var n5 = {
- id: Nn.id,
- description: "shortcut.undo",
- group: "1_common-edit",
- binding: I1.Z | Ae.CTRL_COMMAND,
- preconditions: Mi
- };
- var r5 = {
- id: Tn.id,
- description: "shortcut.redo",
- group: "1_common-edit",
- binding: I1.Y | Ae.CTRL_COMMAND,
- preconditions: Mi
- };
- var tt = class extends nt {
- constructor(e, t) {
- super(), this._shortcutService = e, this._commandService = t, this.initialize();
- }
- initialize() {
- this._registerCommands(), this._registerShortcuts();
- }
- _registerCommands() {
- [yi, bi, Li].forEach(
- (e) => this.disposeWithMe(this._commandService.registerMultipleCommand(e))
- );
- }
- _registerShortcuts() {
- const e = [n5, r5];
- e.push(e5, K0, t5), e.forEach((t) => this.disposeWithMe(this._shortcutService.registerShortcut(t)));
- }
- };
- tt = J0([
- er(0, it),
- er(1, Pt)
- ], tt);
- var i5 = "univer-shortcut-panel-group-title";
- var o5 = "univer-shortcut-panel-item";
- var a5 = "univer-shortcut-panel-item-title";
- var s5 = "univer-shortcut-panel-item-shortcut";
- var A1 = {
- shortcutPanelGroupTitle: i5,
- shortcutPanelItem: o5,
- shortcutPanelItemTitle: a5,
- shortcutPanelItemShortcut: s5
- };
- function l5() {
- const e = W0(it), t = W0(Vr), n = z0(t.currentLocale$), [r, i] = import_react.default.useState([]), o = (0, import_react.useCallback)(() => {
- var h;
- const a = /* @__PURE__ */ new Map(), s = e.getAllShortcuts().filter((d) => !!d.group);
- for (const d of s) {
- const u = d.group, p = {
- title: t.t((h = d.description) != null ? h : d.id),
- shortcut: e.getShortcutDisplay(d)
- };
- if (!/\d+_[a-zA-Z0-9]/.test(u))
- throw new Error(`[ShortcutPanel]: Invalid shortcut group: ${u}!`);
- a.has(u) || a.set(u, []), a.get(u).push(p);
- }
- const c = Array.from(a.entries()).map(([d, u]) => {
- const p = d.split("_")[0], C = d.slice(p.length + 1);
- return {
- sequence: +p,
- name: t.t(C),
- items: u
- };
- }).sort((d, u) => d.sequence - u.sequence);
- i(c);
- }, [e, t, n]);
- return (0, import_react.useEffect)(() => {
- o();
- const a = e.shortcutChanged$.subscribe(() => o());
- return () => a.unsubscribe();
- }, [e, o]), g.jsx("div", { className: A1.shortcutPanel, children: r.map((a) => g.jsxs("div", { className: A1.shortcutPanelGroup, children: [
- g.jsx("div", { className: A1.shortcutPanelGroupTitle, children: a.name }),
- a.items.map((s, c) => g.jsxs("div", { className: A1.shortcutPanelItem, children: [
- g.jsx("span", { className: A1.shortcutPanelItemTitle, children: s.title }),
- g.jsx("span", { className: A1.shortcutPanelItemShortcut, children: s.shortcut })
- ] }, `${s.title}-${s.shortcut}`))
- ] }, a.name)) });
- }
- var c5 = Object.defineProperty;
- var u5 = Object.getOwnPropertyDescriptor;
- var f5 = (e, t, n, r) => {
- for (var i = r > 1 ? void 0 : r ? u5(t, n) : t, o = e.length - 1, a; o >= 0; o--)
- (a = e[o]) && (i = (r ? a(t, n, i) : a(i)) || i);
- return r && i && c5(t, n, i), i;
- };
- var Y1 = (e, t) => (n, r) => t(n, r, e);
- var d5 = {
- id: Zt.id,
- binding: Ae.CTRL_COMMAND | I1.BACK_SLASH,
- description: "shortcut.shortcut-panel",
- group: "10_global-shortcut"
- };
- var Ht2 = class extends nt {
- constructor(e, t, n, r, i) {
- super(), this._menuManagerService = r, this.disposeWithMe(t.register(mi, l5)), this.disposeWithMe(i.registerCommand(Zt)), this.disposeWithMe(n.registerShortcut(d5));
- }
- };
- Ht2 = f5([
- Y1(0, ot(Ot)),
- Y1(1, ot(n1)),
- Y1(2, it),
- Y1(3, m1),
- Y1(4, Pt)
- ], Ht2);
- var Ot2 = Ct("univer.ui.ui-controller");
- var S1 = {};
- var sn = { exports: {} };
- var ln = { exports: {} };
- var tr;
- function ot2() {
- return tr || (tr = 1, function(e) {
- function t(n) {
- "@babel/helpers - typeof";
- return e.exports = t = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(r) {
- return typeof r;
- } : function(r) {
- return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r;
- }, e.exports.__esModule = true, e.exports.default = e.exports, t(n);
- }
- e.exports = t, e.exports.__esModule = true, e.exports.default = e.exports;
- }(ln)), ln.exports;
- }
- var nr;
- function h5() {
- return nr || (nr = 1, function(e) {
- var t = ot2().default;
- function n(i) {
- if (typeof WeakMap != "function")
- return null;
- var o = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap();
- return (n = function(c) {
- return c ? a : o;
- })(i);
- }
- function r(i, o) {
- if (!o && i && i.__esModule)
- return i;
- if (i === null || t(i) != "object" && typeof i != "function")
- return {
- default: i
- };
- var a = n(o);
- if (a && a.has(i))
- return a.get(i);
- var s = {
- __proto__: null
- }, c = Object.defineProperty && Object.getOwnPropertyDescriptor;
- for (var h in i)
- if (h !== "default" && {}.hasOwnProperty.call(i, h)) {
- var d = c ? Object.getOwnPropertyDescriptor(i, h) : null;
- d && (d.get || d.set) ? Object.defineProperty(s, h, d) : s[h] = i[h];
- }
- return s.default = i, a && a.set(i, s), s;
- }
- e.exports = r, e.exports.__esModule = true, e.exports.default = e.exports;
- }(sn)), sn.exports;
- }
- var cn2 = { exports: {} };
- var rr;
- function p5() {
- return rr || (rr = 1, function(e) {
- function t(n) {
- return n && n.__esModule ? n : {
- default: n
- };
- }
- e.exports = t, e.exports.__esModule = true, e.exports.default = e.exports;
- }(cn2)), cn2.exports;
- }
- var un = { exports: {} };
- var ir;
- function v5() {
- return ir || (ir = 1, function(e) {
- var t = ot2().default;
- function n() {
- e.exports = n = function() {
- return i;
- }, e.exports.__esModule = true, e.exports.default = e.exports;
- var r, i = {}, o = Object.prototype, a = o.hasOwnProperty, s = Object.defineProperty || function(k, V, D) {
- k[V] = D.value;
- }, c = typeof Symbol == "function" ? Symbol : {}, h = c.iterator || "@@iterator", d = c.asyncIterator || "@@asyncIterator", u = c.toStringTag || "@@toStringTag";
- function p(k, V, D) {
- return Object.defineProperty(k, V, {
- value: D,
- enumerable: true,
- configurable: true,
- writable: true
- }), k[V];
- }
- try {
- p({}, "");
- } catch {
- p = function(D, Y, X) {
- return D[Y] = X;
- };
- }
- function C(k, V, D, Y) {
- var X = V && V.prototype instanceof P ? V : P, W = Object.create(X.prototype), J = new pe(Y || []);
- return s(W, "_invoke", {
- value: ee(k, D, J)
- }), W;
- }
- function S(k, V, D) {
- try {
- return {
- type: "normal",
- arg: k.call(V, D)
- };
- } catch (Y) {
- return {
- type: "throw",
- arg: Y
- };
- }
- }
- i.wrap = C;
- var _ = "suspendedStart", m = "suspendedYield", w = "executing", I = "completed", R = {};
- function P() {
- }
- function M() {
- }
- function x() {
- }
- var N = {};
- p(N, h, function() {
- return this;
- });
- var A = Object.getPrototypeOf, j = A && A(A(Ce([])));
- j && j !== o && a.call(j, h) && (N = j);
- var B = x.prototype = P.prototype = Object.create(N);
- function Z(k) {
- ["next", "throw", "return"].forEach(function(V) {
- p(k, V, function(D) {
- return this._invoke(V, D);
- });
- });
- }
- function G(k, V) {
- function D(X, W, J, se) {
- var be = S(k[X], k, W);
- if (be.type !== "throw") {
- var Ve2 = be.arg, we = Ve2.value;
- return we && t(we) == "object" && a.call(we, "__await") ? V.resolve(we.__await).then(function(xe) {
- D("next", xe, J, se);
- }, function(xe) {
- D("throw", xe, J, se);
- }) : V.resolve(we).then(function(xe) {
- Ve2.value = xe, J(Ve2);
- }, function(xe) {
- return D("throw", xe, J, se);
- });
- }
- se(be.arg);
- }
- var Y;
- s(this, "_invoke", {
- value: function(W, J) {
- function se() {
- return new V(function(be, Ve2) {
- D(W, J, be, Ve2);
- });
- }
- return Y = Y ? Y.then(se, se) : se();
- }
- });
- }
- function ee(k, V, D) {
- var Y = _;
- return function(X, W) {
- if (Y === w)
- throw Error("Generator is already running");
- if (Y === I) {
- if (X === "throw")
- throw W;
- return {
- value: r,
- done: true
- };
- }
- for (D.method = X, D.arg = W; ; ) {
- var J = D.delegate;
- if (J) {
- var se = ae(J, D);
- if (se) {
- if (se === R)
- continue;
- return se;
- }
- }
- if (D.method === "next")
- D.sent = D._sent = D.arg;
- else if (D.method === "throw") {
- if (Y === _)
- throw Y = I, D.arg;
- D.dispatchException(D.arg);
- } else
- D.method === "return" && D.abrupt("return", D.arg);
- Y = w;
- var be = S(k, V, D);
- if (be.type === "normal") {
- if (Y = D.done ? I : m, be.arg === R)
- continue;
- return {
- value: be.arg,
- done: D.done
- };
- }
- be.type === "throw" && (Y = I, D.method = "throw", D.arg = be.arg);
- }
- };
- }
- function ae(k, V) {
- var D = V.method, Y = k.iterator[D];
- if (Y === r)
- return V.delegate = null, D === "throw" && k.iterator.return && (V.method = "return", V.arg = r, ae(k, V), V.method === "throw") || D !== "return" && (V.method = "throw", V.arg = new TypeError("The iterator does not provide a '" + D + "' method")), R;
- var X = S(Y, k.iterator, V.arg);
- if (X.type === "throw")
- return V.method = "throw", V.arg = X.arg, V.delegate = null, R;
- var W = X.arg;
- return W ? W.done ? (V[k.resultName] = W.value, V.next = k.nextLoc, V.method !== "return" && (V.method = "next", V.arg = r), V.delegate = null, R) : W : (V.method = "throw", V.arg = new TypeError("iterator result is not an object"), V.delegate = null, R);
- }
- function me(k) {
- var V = {
- tryLoc: k[0]
- };
- 1 in k && (V.catchLoc = k[1]), 2 in k && (V.finallyLoc = k[2], V.afterLoc = k[3]), this.tryEntries.push(V);
- }
- function ie(k) {
- var V = k.completion || {};
- V.type = "normal", delete V.arg, k.completion = V;
- }
- function pe(k) {
- this.tryEntries = [{
- tryLoc: "root"
- }], k.forEach(me, this), this.reset(true);
- }
- function Ce(k) {
- if (k || k === "") {
- var V = k[h];
- if (V)
- return V.call(k);
- if (typeof k.next == "function")
- return k;
- if (!isNaN(k.length)) {
- var D = -1, Y = function X() {
- for (; ++D < k.length; )
- if (a.call(k, D))
- return X.value = k[D], X.done = false, X;
- return X.value = r, X.done = true, X;
- };
- return Y.next = Y;
- }
- }
- throw new TypeError(t(k) + " is not iterable");
- }
- return M.prototype = x, s(B, "constructor", {
- value: x,
- configurable: true
- }), s(x, "constructor", {
- value: M,
- configurable: true
- }), M.displayName = p(x, u, "GeneratorFunction"), i.isGeneratorFunction = function(k) {
- var V = typeof k == "function" && k.constructor;
- return !!V && (V === M || (V.displayName || V.name) === "GeneratorFunction");
- }, i.mark = function(k) {
- return Object.setPrototypeOf ? Object.setPrototypeOf(k, x) : (k.__proto__ = x, p(k, u, "GeneratorFunction")), k.prototype = Object.create(B), k;
- }, i.awrap = function(k) {
- return {
- __await: k
- };
- }, Z(G.prototype), p(G.prototype, d, function() {
- return this;
- }), i.AsyncIterator = G, i.async = function(k, V, D, Y, X) {
- X === void 0 && (X = Promise);
- var W = new G(C(k, V, D, Y), X);
- return i.isGeneratorFunction(V) ? W : W.next().then(function(J) {
- return J.done ? J.value : W.next();
- });
- }, Z(B), p(B, u, "Generator"), p(B, h, function() {
- return this;
- }), p(B, "toString", function() {
- return "[object Generator]";
- }), i.keys = function(k) {
- var V = Object(k), D = [];
- for (var Y in V)
- D.push(Y);
- return D.reverse(), function X() {
- for (; D.length; ) {
- var W = D.pop();
- if (W in V)
- return X.value = W, X.done = false, X;
- }
- return X.done = true, X;
- };
- }, i.values = Ce, pe.prototype = {
- constructor: pe,
- reset: function(V) {
- if (this.prev = 0, this.next = 0, this.sent = this._sent = r, this.done = false, this.delegate = null, this.method = "next", this.arg = r, this.tryEntries.forEach(ie), !V)
- for (var D in this)
- D.charAt(0) === "t" && a.call(this, D) && !isNaN(+D.slice(1)) && (this[D] = r);
- },
- stop: function() {
- this.done = true;
- var V = this.tryEntries[0].completion;
- if (V.type === "throw")
- throw V.arg;
- return this.rval;
- },
- dispatchException: function(V) {
- if (this.done)
- throw V;
- var D = this;
- function Y(Ve2, we) {
- return J.type = "throw", J.arg = V, D.next = Ve2, we && (D.method = "next", D.arg = r), !!we;
- }
- for (var X = this.tryEntries.length - 1; X >= 0; --X) {
- var W = this.tryEntries[X], J = W.completion;
- if (W.tryLoc === "root")
- return Y("end");
- if (W.tryLoc <= this.prev) {
- var se = a.call(W, "catchLoc"), be = a.call(W, "finallyLoc");
- if (se && be) {
- if (this.prev < W.catchLoc)
- return Y(W.catchLoc, true);
- if (this.prev < W.finallyLoc)
- return Y(W.finallyLoc);
- } else if (se) {
- if (this.prev < W.catchLoc)
- return Y(W.catchLoc, true);
- } else {
- if (!be)
- throw Error("try statement without catch or finally");
- if (this.prev < W.finallyLoc)
- return Y(W.finallyLoc);
- }
- }
- }
- },
- abrupt: function(V, D) {
- for (var Y = this.tryEntries.length - 1; Y >= 0; --Y) {
- var X = this.tryEntries[Y];
- if (X.tryLoc <= this.prev && a.call(X, "finallyLoc") && this.prev < X.finallyLoc) {
- var W = X;
- break;
- }
- }
- W && (V === "break" || V === "continue") && W.tryLoc <= D && D <= W.finallyLoc && (W = null);
- var J = W ? W.completion : {};
- return J.type = V, J.arg = D, W ? (this.method = "next", this.next = W.finallyLoc, R) : this.complete(J);
- },
- complete: function(V, D) {
- if (V.type === "throw")
- throw V.arg;
- return V.type === "break" || V.type === "continue" ? this.next = V.arg : V.type === "return" ? (this.rval = this.arg = V.arg, this.method = "return", this.next = "end") : V.type === "normal" && D && (this.next = D), R;
- },
- finish: function(V) {
- for (var D = this.tryEntries.length - 1; D >= 0; --D) {
- var Y = this.tryEntries[D];
- if (Y.finallyLoc === V)
- return this.complete(Y.completion, Y.afterLoc), ie(Y), R;
- }
- },
- catch: function(V) {
- for (var D = this.tryEntries.length - 1; D >= 0; --D) {
- var Y = this.tryEntries[D];
- if (Y.tryLoc === V) {
- var X = Y.completion;
- if (X.type === "throw") {
- var W = X.arg;
- ie(Y);
- }
- return W;
- }
- }
- throw Error("illegal catch attempt");
- },
- delegateYield: function(V, D, Y) {
- return this.delegate = {
- iterator: Ce(V),
- resultName: D,
- nextLoc: Y
- }, this.method === "next" && (this.arg = r), R;
- }
- }, i;
- }
- e.exports = n, e.exports.__esModule = true, e.exports.default = e.exports;
- }(un)), un.exports;
- }
- var fn = { exports: {} };
- var or;
- function m5() {
- return or || (or = 1, function(e) {
- function t(r, i, o, a, s, c, h) {
- try {
- var d = r[c](h), u = d.value;
- } catch (p) {
- return void o(p);
- }
- d.done ? i(u) : Promise.resolve(u).then(a, s);
- }
- function n(r) {
- return function() {
- var i = this, o = arguments;
- return new Promise(function(a, s) {
- var c = r.apply(i, o);
- function h(u) {
- t(c, a, s, h, d, "next", u);
- }
- function d(u) {
- t(c, a, s, h, d, "throw", u);
- }
- h(void 0);
- });
- };
- }
- e.exports = n, e.exports.__esModule = true, e.exports.default = e.exports;
- }(fn)), fn.exports;
- }
- var dn = { exports: {} };
- var hn = { exports: {} };
- var pn = { exports: {} };
- var vn = { exports: {} };
- var ar2;
- function g5() {
- return ar2 || (ar2 = 1, function(e) {
- var t = ot2().default;
- function n(r, i) {
- if (t(r) != "object" || !r)
- return r;
- var o = r[Symbol.toPrimitive];
- if (o !== void 0) {
- var a = o.call(r, i || "default");
- if (t(a) != "object")
- return a;
- throw new TypeError("@@toPrimitive must return a primitive value.");
- }
- return (i === "string" ? String : Number)(r);
- }
- e.exports = n, e.exports.__esModule = true, e.exports.default = e.exports;
- }(vn)), vn.exports;
- }
- var sr;
- function C5() {
- return sr || (sr = 1, function(e) {
- var t = ot2().default, n = g5();
- function r(i) {
- var o = n(i, "string");
- return t(o) == "symbol" ? o : o + "";
- }
- e.exports = r, e.exports.__esModule = true, e.exports.default = e.exports;
- }(pn)), pn.exports;
- }
- var lr;
- function b5() {
- return lr || (lr = 1, function(e) {
- var t = C5();
- function n(r, i, o) {
- return (i = t(i)) in r ? Object.defineProperty(r, i, {
- value: o,
- enumerable: true,
- configurable: true,
- writable: true
- }) : r[i] = o, r;
- }
- e.exports = n, e.exports.__esModule = true, e.exports.default = e.exports;
- }(hn)), hn.exports;
- }
- var cr;
- function y5() {
- return cr || (cr = 1, function(e) {
- var t = b5();
- function n(i, o) {
- var a = Object.keys(i);
- if (Object.getOwnPropertySymbols) {
- var s = Object.getOwnPropertySymbols(i);
- o && (s = s.filter(function(c) {
- return Object.getOwnPropertyDescriptor(i, c).enumerable;
- })), a.push.apply(a, s);
- }
- return a;
- }
- function r(i) {
- for (var o = 1; o < arguments.length; o++) {
- var a = arguments[o] != null ? arguments[o] : {};
- o % 2 ? n(Object(a), true).forEach(function(s) {
- t(i, s, a[s]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(a)) : n(Object(a)).forEach(function(s) {
- Object.defineProperty(i, s, Object.getOwnPropertyDescriptor(a, s));
- });
- }
- return i;
- }
- e.exports = r, e.exports.__esModule = true, e.exports.default = e.exports;
- }(dn)), dn.exports;
- }
- var ur;
- function L5() {
- if (ur)
- return S1;
- ur = 1;
- var e = h5().default, t = p5().default;
- Object.defineProperty(S1, "__esModule", {
- value: true
- }), S1._r = w, S1._u = x, S1.render = I, S1.unmount = N;
- var n = t(v5()), r = t(m5()), i = t(ot2()), o = t(y5()), a = e(import_react_dom.default), s = (0, o.default)({}, a), c = s.version, h = s.render, d = s.unmountComponentAtNode, u;
- try {
- var p = Number((c || "").split(".")[0]);
- p >= 18 && (u = s.createRoot);
- } catch {
- }
- function C(j) {
- var B = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
- B && (0, i.default)(B) === "object" && (B.usingClientEntryPoint = j);
- }
- var S = "__rc_react_root__";
- function _(j, B) {
- C(true);
- var Z = B[S] || u(B);
- C(false), Z.render(j), B[S] = Z;
- }
- function m(j, B) {
- h(j, B);
- }
- function w(j, B) {
- }
- function I(j, B) {
- if (u) {
- _(j, B);
- return;
- }
- m(j, B);
- }
- function R(j) {
- return P.apply(this, arguments);
- }
- function P() {
- return P = (0, r.default)((0, n.default)().mark(function j(B) {
- return (0, n.default)().wrap(function(G) {
- for (; ; )
- switch (G.prev = G.next) {
- case 0:
- return G.abrupt("return", Promise.resolve().then(function() {
- var ee;
- (ee = B[S]) === null || ee === void 0 || ee.unmount(), delete B[S];
- }));
- case 1:
- case "end":
- return G.stop();
- }
- }, j);
- })), P.apply(this, arguments);
- }
- function M(j) {
- d(j);
- }
- function x(j) {
- }
- function N(j) {
- return A.apply(this, arguments);
- }
- function A() {
- return A = (0, r.default)((0, n.default)().mark(function j(B) {
- return (0, n.default)().wrap(function(G) {
- for (; ; )
- switch (G.prev = G.next) {
- case 0:
- if (u === void 0) {
- G.next = 2;
- break;
- }
- return G.abrupt("return", R(B));
- case 2:
- M(B);
- case 3:
- case "end":
- return G.stop();
- }
- }, j);
- })), A.apply(this, arguments);
- }
- return S1;
- }
- var j1 = L5();
- var Le = ((e) => (e.GLOBAL = "global", e.HEADER = "header", e.HEADER_MENU = "header-menu", e.CONTENT = "content", e.FOOTER = "footer", e.LEFT_SIDEBAR = "left-sidebar", e.FLOATING = "floating", e.UNIT = "unit", e.CUSTOM_HEADER = "custom-header", e.CUSTOM_LEFT = "custom-left", e.CUSTOM_RIGHT = "custom-right", e.CUSTOM_FOOTER = "custom-footer", e))(Le || {});
- var f1 = Ct("ui.parts.service");
- var wi = class extends nt {
- constructor() {
- super(...arguments);
- K(this, "_componentsByPart", /* @__PURE__ */ new Map());
- K(this, "_componentRegistered$", new Subject());
- K(this, "componentRegistered$", this._componentRegistered$.asObservable());
- K(this, "_uiVisible", /* @__PURE__ */ new Map());
- K(this, "_uiVisibleChange$", new Subject());
- K(this, "uiVisibleChange$", this._uiVisibleChange$.asObservable());
- }
- dispose() {
- super.dispose(), this._componentRegistered$.complete();
- }
- setUIVisible(n, r) {
- this._uiVisible.set(n, r), this._uiVisibleChange$.next({ ui: n, visible: r });
- }
- isUIVisible(n) {
- var r;
- return (r = this._uiVisible.get(n)) != null ? r : true;
- }
- registerComponent(n, r) {
- const i = r(), o = (this._componentsByPart.get(n) || this._componentsByPart.set(n, /* @__PURE__ */ new Set()).get(n)).add(i);
- return this._componentRegistered$.next(n), Ze(() => {
- o.delete(i), o.size === 0 && this._componentsByPart.delete(n), this._componentRegistered$.next(n);
- });
- }
- getComponents(n) {
- return /* @__PURE__ */ new Set([...this._componentsByPart.get(n) || /* @__PURE__ */ new Set()]);
- }
- };
- var l3 = class {
- constructor() {
- K(this, "_domLayerMap", /* @__PURE__ */ new Map());
- K(this, "_domLayers$", new BehaviorSubject([]));
- K(this, "domLayers$", this._domLayers$.asObservable());
- }
- get domLayers() {
- return Array.from(this._domLayerMap.entries());
- }
- _notice() {
- this._domLayers$.next(Array.from(this._domLayerMap.entries()));
- }
- addFloatDom(t) {
- this._domLayerMap.set(t.id, t), this._notice();
- }
- removeFloatDom(t) {
- this._domLayerMap.delete(t) && this._notice();
- }
- removeAll() {
- this._domLayerMap.clear(), this._notice();
- }
- };
- var _5 = "univer-float-dom-wrapper";
- var S5 = "univer-float-dom";
- var fr = {
- floatDomWrapper: _5,
- floatDom: S5
- };
- var M5 = (0, import_react.memo)((e) => {
- var _, m;
- const { layer: t, id: n } = e, r = W0(n1), i = (0, import_react.useMemo)(() => t.position$.pipe(
- distinctUntilChanged(
- (w, I) => w.absolute.left === I.absolute.left && w.absolute.top === I.absolute.top && w.endX - w.startX === I.endX - I.startX && w.endY - w.startY === I.endY - I.startY
- )
- ), [t.position$]), o = z0((0, import_react.useMemo)(() => t.position$.pipe(first()), [t.position$])), a = (0, import_react.useRef)(null), s = (0, import_react.useRef)(null), c = (0, import_react.useRef)(`transform: rotate(${o == null ? void 0 : o.rotate}deg) translate(${o == null ? void 0 : o.startX}px, ${o == null ? void 0 : o.startY}px)`), h = (0, import_react.useRef)((_ = o == null ? void 0 : o.startY) != null ? _ : 0), d = (0, import_react.useRef)((m = o == null ? void 0 : o.startX) != null ? m : 0), u = (0, import_react.useRef)({}), p = typeof t.componentKey == "string" ? r.get(t.componentKey) : t.componentKey, C = (0, import_react.useMemo)(() => ({
- data: t.data,
- ...t.props
- }), [t.data, t.props]);
- (0, import_react.useEffect)(() => {
- const w = t.position$.subscribe((R) => {
- c.current = `rotate(${R.rotate}deg)`, h.current = R.startY, d.current = R.startX, a.current && (a.current.style.transform = c.current, a.current.style.top = `${h.current}px`, a.current.style.left = `${d.current}px`);
- }), I = i.subscribe((R) => {
- if (a.current && (a.current.style.width = `${Math.max(R.endX - R.startX - 2, 0)}px`, a.current.style.height = `${Math.max(R.endY - R.startY - 2, 0)}px`), s.current) {
- const P = {
- width: `${R.width - 4}px`,
- height: `${R.height - 4}px`,
- left: `${R.absolute.left ? 0 : "auto"}`,
- top: `${R.absolute.top ? 0 : "auto"}`,
- right: `${R.absolute.left ? "auto" : 0}`,
- bottom: `${R.absolute.top ? "auto" : 0}`
- };
- s.current.style.width = P.width, s.current.style.height = P.height, s.current.style.left = P.left, s.current.style.top = P.top, s.current.style.right = P.right, s.current.style.bottom = P.bottom, u.current = P;
- }
- });
- return () => {
- w.unsubscribe(), I.unsubscribe();
- };
- }, [t.position$, i]);
- const S = (0, import_react.useMemo)(() => p ? g.jsx(p, { ...C }) : null, [p, C]);
- return o ? g.jsx(
- "div",
- {
- ref: a,
- className: fr.floatDomWrapper,
- style: {
- position: "absolute",
- top: h.current,
- left: d.current,
- width: Math.max(o.endX - o.startX - 2, 0),
- height: Math.max(o.endY - o.startY - 2, 0),
- transform: c.current,
- overflow: "hidden",
- transformOrigin: "center center"
- },
- onPointerMove: (w) => {
- t.onPointerMove(w.nativeEvent);
- },
- onPointerDown: (w) => {
- t.onPointerDown(w.nativeEvent);
- },
- onPointerUp: (w) => {
- t.onPointerUp(w.nativeEvent);
- },
- onWheel: (w) => {
- t.onWheel(w.nativeEvent);
- },
- children: g.jsx(
- "div",
- {
- id: n,
- ref: s,
- className: fr.floatDom,
- style: { position: "absolute", ...u.current },
- children: S
- }
- )
- }
- ) : null;
- });
- var xi = ({ unitId: e }) => {
- var o, a;
- const t = W0(_n), n = W0(l3), r = z0(n.domLayers$), i = e || ((o = t.getCurrentUnitForType(Fe.UNIVER_SHEET)) == null ? void 0 : o.getUnitId());
- return (a = r == null ? void 0 : r.filter((s) => s[1].unitId === i)) == null ? void 0 : a.map((s) => g.jsx(
- M5,
- {
- id: s[0],
- layer: s[1]
- },
- s[0]
- ));
- };
- var c3 = Ct("ui.popup.service");
- var Ei = class extends nt {
- constructor() {
- super(...arguments);
- K(this, "_popupMap", /* @__PURE__ */ new Map());
- K(this, "_popups$", new BehaviorSubject([]));
- K(this, "popups$", this._popups$.asObservable());
- K(this, "_activePopupId", null);
- }
- get popups() {
- return Array.from(this._popupMap.entries());
- }
- get activePopupId() {
- return this._activePopupId;
- }
- _update() {
- this._popups$.next(Array.from(this._popupMap.entries()));
- }
- dispose() {
- super.dispose(), this._popups$.next([]), this._popups$.complete(), this._popupMap.clear();
- }
- addPopup(n) {
- const r = re.generateRandomId();
- return this._popupMap.set(r, {
- ...n,
- onPointerEnter: () => {
- this._activePopupId = r;
- },
- onPointerLeave: () => {
- this._activePopupId === r && (this._activePopupId = null);
- }
- }), this._update(), r;
- }
- removePopup(n) {
- this._popupMap.delete(n) && this._update();
- }
- removeAll() {
- this._popupMap.clear(), this._update();
- }
- };
- var w5 = ({ popup: e, children: t }) => {
- const [n, r] = (0, import_react.useState)(false), i = (0, import_react.useMemo)(() => e.anchorRect$.pipe(
- throttleTime(0, animationFrameScheduler),
- map((u) => {
- var I;
- const { bottom: p, left: C, right: S, top: _ } = u, [m = 0, w = 0] = (I = e.offset) != null ? I : [];
- return {
- left: C - m,
- right: S + m,
- top: _ - w,
- bottom: p + w
- };
- })
- ), [e.anchorRect$, e.offset]), o = (0, import_react.useMemo)(() => {
- var u, p;
- return (p = (u = e.hiddenRects$) == null ? void 0 : u.pipe(throttleTime(0, animationFrameScheduler))) != null ? p : of([]);
- }, [e.hiddenRects$]), a = (0, import_react.useMemo)(() => {
- var u;
- return (u = e.excludeRects$) == null ? void 0 : u.pipe(throttleTime(0, animationFrameScheduler));
- }, [e.excludeRects$]), s = Xa(a, e.excludeRects), { canvasElement: c, hideOnInvisible: h = true, hiddenType: d = "destroy" } = e;
- return (0, import_react.useEffect)(() => {
- if (!h)
- return;
- const u = combineLatest([i, o]).subscribe(([p, C]) => {
- const S = c.getBoundingClientRect(), { top: _, left: m, bottom: w, right: I } = S, R = p.bottom - p.top, P = p.right - p.left, M = C.some((x) => p.top >= x.top - 0.5 * R && p.bottom <= x.bottom + 0.5 * R && p.left >= x.left - 0.5 * P && p.right <= x.right + 0.5 * P);
- p.bottom < _ || p.top > w || p.right < m || p.left > I || M ? r(true) : r(false);
- });
- return () => u.unsubscribe();
- }, [c, h, i, o]), n && d === "destroy" ? null : g.jsx(
- i3,
- {
- hidden: n,
- anchorRect$: i,
- direction: e.direction,
- onClickOutside: e.onClickOutside,
- excludeOutside: e.excludeOutside,
- excludeRects: s,
- onPointerEnter: e.onPointerEnter,
- onPointerLeave: e.onPointerLeave,
- onClick: e.onClick,
- onContextMenu: e.onContextMenu,
- children: t
- }
- );
- };
- function Hi() {
- const e = W0(c3), t = W0(n1);
- return z0(e.popups$, void 0, true).map((r) => {
- const [i, o] = r, a = t.get(o.componentKey);
- return g.jsx(
- w5,
- {
- popup: o,
- children: a ? g.jsx(a, { popup: o }) : null
- },
- i
- );
- });
- }
- function Pe(e) {
- const { components: t, fallback: n, sharedProps: r } = e;
- return !t || t.size === 0 ? n != null ? n : null : Array.from(t.values()).map((i, o) => {
- var a;
- return import_react.default.createElement(i, { key: `${(a = i.displayName) != null ? a : o}`, ...r });
- });
- }
- function ze(e, t) {
- var a;
- const n = (a = t == null ? void 0 : t.get(f1)) != null ? a : W0(f1), r = (0, import_react.useMemo)(() => n.uiVisibleChange$.pipe(filter((s) => s.ui === e)), [e, n]);
- z0(r);
- const i = (0, import_react.useRef)(0), o = z0(
- () => n.componentRegistered$.pipe(
- filter((s) => s === e),
- debounceTime(200),
- map(() => i.current += 1),
- startWith(i.current += 1)
- // trigger update when subscribe
- ),
- void 0,
- void 0,
- [n, e]
- );
- return (0, import_react.useMemo)(() => n.isUIVisible(e) ? n.getComponents(e) : /* @__PURE__ */ new Set(), [o]);
- }
- var Wt = Ct("ui.contextmenu.service");
- var Oi = class extends nt {
- constructor() {
- super(...arguments);
- K(this, "_currentHandler", null);
- K(this, "disabled", false);
- }
- get visible() {
- var n, r;
- return (r = (n = this._currentHandler) == null ? void 0 : n.visible) != null ? r : false;
- }
- disable() {
- this.disabled = true;
- }
- enable() {
- this.disabled = false;
- }
- triggerContextMenu(n, r) {
- var i;
- n.stopPropagation(), !this.disabled && ((i = this._currentHandler) == null || i.handleContextMenu(n, r));
- }
- hideContextMenu() {
- var n;
- (n = this._currentHandler) == null || n.hideContextMenu();
- }
- registerContextMenuHandler(n) {
- if (this._currentHandler)
- throw new Error("There is already a context menu handler!");
- return this._currentHandler = n, Ze(() => this._currentHandler = null);
- }
- };
- function x5() {
- const e = (0, import_react.useRef)(null), [t, n] = (0, import_react.useState)(false), [r, i] = (0, import_react.useState)(""), [o, a] = (0, import_react.useState)([0, 0]), s = (0, import_react.useRef)(t), c = W0(Wt), h = W0(Pt), d = Af();
- s.current = t, (0, import_react.useEffect)(() => {
- const C = c.registerContextMenuHandler({
- handleContextMenu: u,
- hideContextMenu() {
- n(false);
- },
- get visible() {
- return s.current;
- }
- });
- function S(_) {
- e.current && !e.current.contains(_.target) && p();
- }
- return document.addEventListener("pointerdown", S), document.addEventListener("wheel", p), () => {
- document.removeEventListener("pointerdown", S), document.removeEventListener("wheel", p), C.dispose();
- };
- }, [c]);
- function u(C, S) {
- n(false), requestAnimationFrame(() => {
- i(S), a([C.clientX, C.clientY]), n(true);
- });
- }
- function p() {
- n(false);
- }
- return g.jsx(JO, { visible: t, offset: o, children: g.jsx("section", { ref: e, children: r && g.jsx(
- Nn2,
- {
- menuType: r,
- onOptionSelect: (C) => {
- const { label: S, commandId: _, value: m } = C;
- h && h.executeCommand(_ != null ? _ : S, { value: m }), d.get(_1).focus(), n(false);
- }
- }
- ) }) });
- }
- var E5 = "univer-toolbar-btn";
- var H5 = "univer-toolbar-btn-no-icon";
- var O5 = "univer-toolbar-btn-active";
- var mn = {
- toolbarBtn: E5,
- toolbarBtnNoIcon: H5,
- toolbarBtnActive: O5
- };
- function Ri(e) {
- const {
- children: t,
- className: n,
- style: r,
- disabled: i = false,
- active: o = false,
- noIcon: a,
- onClick: s,
- onDoubleClick: c,
- ...h
- } = e, d = (C) => {
- if (i) {
- C.preventDefault();
- return;
- }
- s && s(C);
- }, u = (C) => {
- if (i) {
- C.preventDefault();
- return;
- }
- c && c(C);
- }, p = je(
- mn.toolbarBtn,
- {
- [`
- ${mn.toolbarBtnActive}
- `]: o,
- [`
- ${mn.toolbarBtnNoIcon}
- `]: a
- },
- n
- );
- return g.jsx(
- "button",
- {
- type: "button",
- className: p,
- style: r,
- disabled: i,
- onClick: d,
- onDoubleClick: u,
- ...h,
- children: t
- }
- );
- }
- var R5 = "univer-toolbar";
- var T5 = "univer-toolbar-container";
- var N5 = "univer-toolbar-more";
- var I5 = "univer-toolbar-more-container";
- var V5 = "univer-toolbar-group";
- var D5 = "univer-toolbar-item-select-button";
- var A5 = "univer-toolbar-item-select-button-disabled";
- var P5 = "univer-toolbar-item-select-button-activated";
- var j5 = "univer-toolbar-item-select-button-label";
- var $5 = "univer-toolbar-item-select-button-arrow";
- var k5 = "univer-toolbar-item-select";
- var B5 = "univer-toolbar-item-select-disabled";
- var F5 = "univer-toolbar-item-select-arrow";
- var U5 = "univer-toolbar-item-select-arrow-disabled";
- var z5 = "univer-toolbar-item-select-arrow-activated";
- var Ue = {
- toolbar: R5,
- toolbarContainer: T5,
- toolbarMore: N5,
- toolbarMoreContainer: I5,
- toolbarGroup: V5,
- toolbarItemSelectButton: D5,
- toolbarItemSelectButtonDisabled: A5,
- toolbarItemSelectButtonActivated: P5,
- toolbarItemSelectButtonLabel: j5,
- toolbarItemSelectButtonArrow: $5,
- toolbarItemSelect: k5,
- toolbarItemSelectDisabled: B5,
- toolbarItemSelectArrow: F5,
- toolbarItemSelectArrowDisabled: U5,
- toolbarItemSelectArrowActivated: z5
- };
- function Z5(e) {
- const { disabled$: t, hidden$: n, activated$: r, value$: i } = e, [o, a] = (0, import_react.useState)(), [s, c] = (0, import_react.useState)(false), [h, d] = (0, import_react.useState)(false), [u, p] = (0, import_react.useState)(false);
- return (0, import_react.useEffect)(() => {
- const C = [];
- return t && C.push(t.subscribe((S) => c(S))), n && C.push(n.subscribe((S) => p(S))), r && C.push(r.subscribe((S) => d(S))), i && C.push(i.subscribe((S) => a(S))), () => C.forEach((S) => S.unsubscribe());
- }, [r, t, n, i]), { disabled: s, value: o, activated: h, hidden: u };
- }
- var Ti = (0, import_react.createContext)({
- dropdownVisible: false,
- setDropdownVisible: (e) => {
- }
- });
- var Ni = (0, import_react.forwardRef)((e, t) => {
- const { children: n, ...r } = e, i = (0, import_react.useRef)(null), [o, a] = (0, import_react.useState)(false), [s, c] = (0, import_react.useState)(false);
- function h(p) {
- a(s ? false : p);
- }
- function d(p) {
- c(p), a(false);
- }
- const u = (0, import_react.useMemo)(() => ({
- dropdownVisible: s,
- setDropdownVisible: d
- }), [s]);
- return (0, import_react.useImperativeHandle)(t, () => ({
- el: i.current
- })), g.jsx(
- Gf,
- {
- ...r,
- visible: o,
- onVisibleChange: h,
- children: g.jsx("span", { ref: i, children: g.jsx(Ti.Provider, { value: u, children: n }) })
- }
- );
- });
- function In2({ children: e, overlay: t, disabled: n, offset: r }) {
- const { setDropdownVisible: i } = (0, import_react.useContext)(Ti);
- function o(a) {
- i(a);
- }
- return g.jsxs(Um, { disabled: n, onVisibleChange: o, children: [
- g.jsx(qm, { children: g.jsx("div", { className: "univer-h-full", onClick: (a) => a.stopPropagation(), children: e }) }),
- g.jsx(Bm, { offset: r, children: g.jsx("div", { className: "univer-grid univer-gap-2 univer-theme", children: t }) })
- ] });
- }
- var q1 = (0, import_react.forwardRef)((e, t) => {
- const n = W0(Vr), r = W0(Pt), i = W0(_1), o = W0(n1), { value: a, hidden: s, disabled: c, activated: h } = Z5(e), d = (Z, G) => {
- i.focus(), r.executeCommand(Z, G);
- }, { tooltip: u, shortcut: p, icon: C, title: S, label: _, id: m, commandId: w } = e, I = n.t(u != null ? u : "") + (p ? ` (${p})` : ""), { selections: R } = e, P = (0, import_react.useMemo)(() => isObservable(R) ? R : new Observable((Z) => {
- Z.next(R);
- }), [R]), M = z0(P), x = (0, import_react.useMemo)(() => isObservable(C) ? C : new Observable((Z) => {
- var ee, ae;
- const G = (ae = (ee = M == null ? void 0 : M.find((me) => me.value === a)) == null ? void 0 : ee.icon) != null ? ae : C;
- Z.next(G);
- }), [C, M, a]), N = z0(x, void 0, true);
- function A(Z) {
- var Ce;
- const G = e.selectionsCommandId, ee = w != null ? w : m, ae = (Ce = G != null ? G : w) != null ? Ce : m;
- function me(k) {
- if (c)
- return;
- let V = ae;
- k.id && (V = k.id), d(V, { value: k.value });
- }
- function ie(k) {
- c || d(ae, { value: k });
- }
- function pe() {
- c || Z === $e.BUTTON_SELECTOR && d(ee, { value: a });
- }
- return Z === $e.BUTTON_SELECTOR ? g.jsxs(
- "div",
- {
- className: je(Ue.toolbarItemSelectButton, `
- univer-group univer-h-6 univer-pr-5 univer-transition-colors
- hover:univer-bg-gray-100
- `, {
- "univer-pointer-events-none univer-cursor-not-allowed univer-text-gray-200": c
- }),
- "data-disabled": c,
- children: [
- g.jsx(
- "div",
- {
- className: je(Ue.toolbarItemSelectButtonLabel, `
- univer-transition-colors
- hover:univer-bg-gray-200
- `, {
- "univer-bg-gray-200": h,
- "univer-bg-gray-50": h && c
- }),
- onClick: pe,
- children: g.jsx(
- ke,
- {
- icon: N,
- title: S,
- value: a,
- label: _,
- onChange: ie
- }
- )
- }
- ),
- g.jsx(
- In2,
- {
- disabled: c,
- offset: { x: -24 },
- overlay: g.jsx(
- Nn2,
- {
- overViewport: "scroll",
- menuType: m,
- options: M,
- onOptionSelect: me,
- value: a
- }
- ),
- children: g.jsx(
- "div",
- {
- className: je(`
- univer-absolute univer-right-0 univer-top-0 univer-box-border text-gray-400 univer-flex
- univer-h-6 univer-w-5 univer-items-center univer-justify-center univer-transition-colors
- hover:univer-bg-gray-200
- `, {
- "univer-pointer-events-none univer-cursor-not-allowed univer-text-gray-400": c,
- "univer-bg-gray-200": h,
- "univer-bg-gray-50": h && c
- }),
- "data-disabled": c,
- children: g.jsx(_t, { className: "univer-text-gray-400" })
- }
- )
- }
- )
- ]
- }
- ) : g.jsx(
- In2,
- {
- disabled: c,
- overlay: g.jsx(
- Nn2,
- {
- overViewport: "scroll",
- menuType: m,
- options: M,
- onOptionSelect: me,
- value: a
- }
- ),
- children: g.jsxs(
- "div",
- {
- className: je(Ue.toolbarItemSelect, {
- "univer-pointer-events-none univer-cursor-not-allowed univer-text-gray-200": c,
- [Ue.toolbarItemSelectActivated]: h
- }),
- children: [
- g.jsx(
- ke,
- {
- icon: N,
- title: S,
- value: a,
- label: _,
- onChange: ie
- }
- ),
- g.jsx(
- "div",
- {
- className: je(Ue.toolbarItemSelectArrow, {
- "univer-pointer-events-none univer-cursor-not-allowed univer-text-gray-200": c
- }),
- children: g.jsx(_t, { className: "univer-text-gray-400" })
- }
- )
- ]
- }
- )
- }
- );
- }
- function j() {
- var G;
- const Z = o.get(typeof _ == "string" ? _ : (G = _ == null ? void 0 : _.name) != null ? G : "");
- return g.jsx("span", { children: g.jsx(
- Ri,
- {
- noIcon: !C,
- active: h,
- disabled: c,
- onClick: () => {
- var ee;
- return d((ee = e.commandId) != null ? ee : e.id);
- },
- onDoubleClick: () => e.subId && d(e.subId),
- children: Z ? g.jsx(ke, { title: S, value: a, label: _ }) : C ? g.jsx(ke, { icon: C }) : g.jsx(ke, { title: S })
- }
- ) });
- }
- function B() {
- switch (e.type) {
- case $e.BUTTON_SELECTOR:
- case $e.SELECTOR:
- case $e.SUBITEMS:
- return A(e.type);
- case $e.BUTTON:
- default:
- return j();
- }
- }
- return !s && g.jsx(
- Ni,
- {
- ref: t,
- title: I,
- placement: "bottom",
- children: B()
- }
- );
- });
- function W5(e) {
- const { headerMenuComponents: t } = e, n = W0(m1), r = W0(Vr), i = (0, import_react.useRef)(null), o = (0, import_react.useRef)({}), [a, s] = (0, import_react.useState)([]), [c, h] = (0, import_react.useState)(L1.START), [d, u] = (0, import_react.useState)([]), p = (0, import_react.useCallback)((_) => {
- o.current = {}, h(_.key);
- }, []);
- (0, import_react.useEffect)(() => {
- function _() {
- const w = n.getMenuByPositionKey(wt.RIBBON);
- s(w);
- }
- _();
- const m = n.menuChanged$.subscribe(_);
- return () => {
- m.unsubscribe();
- };
- }, [n]), (0, import_react.useEffect)(() => {
- const _ = new ResizeObserver((m) => {
- requestAnimationFrame(() => {
- var N, A;
- const I = m[0].target.clientWidth, R = Object.values(o.current), P = [];
- let M = 0;
- const x = (A = (N = a.find((j) => j.key === c)) == null ? void 0 : N.children) != null ? A : [];
- for (const { el: j, key: B } of R)
- j && (M += j.getBoundingClientRect().width + 8, M > I - 32 - 8 * (x.length - 1) && P.push(B));
- u(P);
- });
- });
- return i.current && _.observe(i.current), () => {
- _.disconnect();
- };
- }, [a, c]);
- const C = (0, import_react.useMemo)(() => {
- var I, R;
- const _ = (R = (I = a.find((P) => P.key === c)) == null ? void 0 : I.children) != null ? R : [], m = [], w = [];
- for (const P of _)
- if (P.children) {
- const M = P.children.filter((x) => !d.includes(x.key));
- m.push({ ...P, children: M }), M.length < P.children.length && w.push({ ...P, children: P.children.filter((x) => d.includes(x.key)) });
- }
- return {
- allGroups: _,
- visibleGroups: m,
- hiddenGroups: w
- };
- }, [a, c, d]), S = (0, import_react.useMemo)(() => C.allGroups.map((_) => {
- var m;
- return g.jsx("div", { className: Ue.toolbarGroup, children: (m = _.children) == null ? void 0 : m.map((w) => w.item && g.jsx(
- q1,
- {
- ...w.item,
- ref: (I) => {
- I != null && I.el && (o.current[w.key] = {
- el: I.el,
- key: w.key
- });
- }
- },
- w.key
- )) }, _.key);
- }), [C.allGroups]);
- return g.jsxs(g.Fragment, { children: [
- g.jsxs("header", { className: "univer-relative univer-select-none", children: [
- g.jsx(
- "div",
- {
- className: Na(`
- univer-animate-in univer-flex univer-h-0 univer-items-center univer-justify-center univer-gap-2
- univer-overflow-hidden univer-transition-all
- `, {
- "univer-h-8 univer-slide-in-from-top-full": a.length > 1 || t && t.size > 0
- }),
- children: a.length > 1 && a.map((_) => g.jsx(
- "a",
- {
- className: Na(`
- univer-box-border univer-cursor-pointer univer-rounded univer-px-2 univer-py-0.5
- univer-text-sm univer-text-gray-700 univer-transition-colors
- hover:univer-bg-gray-300
- `, {
- "univer-bg-primary-500 univer-text-white hover:!univer-bg-primary-500": _.key === c
- }),
- onClick: () => p(_),
- children: r.t(_.key)
- },
- _.key
- ))
- }
- ),
- t && t.size > 0 && g.jsx(
- "div",
- {
- className: `
- univer-absolute univer-right-2 univer-top-0 univer-flex univer-h-full univer-items-center
- univer-gap-2
- [&>*]:univer-inline-flex [&>*]:univer-h-6 [&>*]:univer-items-center [&>*]:univer-rounded
- [&>*]:univer-px-1 [&>*]:univer-transition-colors
- hover:[&>*]:univer-bg-gray-300
- `,
- children: g.jsx(Pe, { components: t })
- }
- )
- ] }),
- g.jsx("section", { role: "toolbar", className: Ue.toolbar, children: g.jsxs("div", { className: Ue.toolbarContainer, children: [
- C.visibleGroups.map((_) => {
- var m, w;
- return (((m = _.children) == null ? void 0 : m.length) || _.item) && g.jsx("div", { className: Ue.toolbarGroup, children: _.children ? (w = _.children) == null ? void 0 : w.map((I) => I.item && g.jsx(q1, { ...I.item }, I.key)) : _.item && g.jsx(q1, { ..._.item }, _.key) }, _.key);
- }),
- d.length > 0 && g.jsx(Ni, { title: r.t("ribbon.more"), placement: "bottom", children: g.jsx(
- In2,
- {
- overlay: g.jsx("div", { className: Ue.toolbarMoreContainer, children: C.hiddenGroups.map((_) => {
- var m;
- return g.jsx("div", { className: Ue.toolbarGroup, children: _.children ? (m = _.children) == null ? void 0 : m.map((w) => w.item && g.jsx(q1, { ...w.item }, w.key)) : _.item && g.jsx(q1, { ..._.item }, _.key) }, _.key);
- }) }),
- children: g.jsx(Ri, { className: Ue.toolbarItemTextButton, children: g.jsx(L9, {}) })
- }
- ) })
- ] }) }),
- g.jsx(
- "div",
- {
- "aria-hidden": true,
- ref: i,
- className: Ue.toolbarContainer,
- style: {
- position: "absolute",
- top: -9999,
- left: 0,
- right: 0
- },
- children: S
- }
- )
- ] });
- }
- var G5 = "univer-sidebar";
- var Y5 = "univer-sidebar-open";
- var q5 = "univer-sidebar-container";
- var X5 = "univer-sidebar-header";
- var Q5 = "univer-sidebar-header-close";
- var J5 = "univer-sidebar-body";
- var K5 = "univer-sidebar-footer";
- var M1 = {
- sidebar: G5,
- sidebarOpen: Y5,
- sidebarContainer: q5,
- sidebarHeader: X5,
- sidebarHeaderClose: Q5,
- sidebarBody: J5,
- sidebarFooter: K5
- };
- function Ii() {
- const e = W0(rt), t = z0(e.sidebarOptions$), n = (0, import_react.useRef)(null), r = (0, import_react.useMemo)(() => {
- if (!t)
- return null;
- const s = { ...t };
- for (const c of ["children", "header", "footer"]) {
- const h = c;
- if (t[h]) {
- const d = t[h];
- d && (s[h] = g.jsx(ke, { ...d }));
- }
- }
- return s;
- }, [t]);
- (0, import_react.useEffect)(() => (n.current && e.setContainer(n.current), () => {
- e.setContainer(void 0);
- }), [e]), (0, import_react.useEffect)(() => {
- const s = (h) => {
- e.scrollEvent$.next(h);
- }, c = n.current;
- return c && c.addEventListener("scroll", s), () => {
- c == null || c.removeEventListener("scroll", s);
- };
- }, [e]);
- const i = je(M1.sidebar, {
- [M1.sidebarOpen]: r == null ? void 0 : r.visible
- }), o = (0, import_react.useMemo)(() => r != null && r.visible ? typeof r.width == "number" ? `${r.width}px` : r.width : 0, [r]);
- function a() {
- var c;
- const s = {
- ...t,
- visible: false
- };
- e.options.visible = false, e.sidebarOptions$.next(s), (c = s == null ? void 0 : s.onClose) == null || c.call(s);
- }
- return g.jsx("section", { className: i, style: { width: o }, children: g.jsxs("section", { className: M1.sidebarContainer, ref: n, children: [
- g.jsxs("header", { className: M1.sidebarHeader, children: [
- r == null ? void 0 : r.header,
- g.jsx("a", { className: M1.sidebarHeaderClose, onClick: a, children: g.jsx(zt, {}) })
- ] }),
- g.jsx("section", { className: M1.sidebarBody, style: r == null ? void 0 : r.bodyStyle, children: r == null ? void 0 : r.children }),
- (r == null ? void 0 : r.footer) && g.jsx("footer", { className: M1.sidebarFooter, children: r.footer })
- ] }) });
- }
- var u3 = Ct("univer.zen-zone-service");
- var es = "univer-zen-zone";
- var ts2 = "univer-zen-zone-open";
- var ns = "univer-zen-zone-close";
- var rs = "univer-zen-zone-editor-container";
- var ft = {
- zenZone: es,
- zenZoneOpen: ts2,
- zenZoneClose: ns,
- zenZoneEditorContainer: rs
- };
- function Vi() {
- const e = W0(u3), [t, n] = (0, import_react.useState)(false), [r, i] = (0, import_react.useState)(), o = z0(e.temporaryHidden$), a = W0(n1);
- (0, import_react.useEffect)(() => {
- const h = [
- e.visible$.subscribe((d) => {
- n(d);
- }),
- e.componentKey$.subscribe((d) => {
- i(d);
- })
- ];
- return () => {
- h.forEach((d) => {
- d.unsubscribe();
- });
- };
- }, []);
- const s = je(ft.zenZone, t ? ft.zenZoneOpen : ft.zenZoneClose), c = (0, import_react.useMemo)(() => {
- const h = a.get(r != null ? r : "");
- if (h)
- return h;
- }, [r]);
- return g.jsx("section", { style: o ? { opacity: 0, zIndex: -1 } : void 0, className: s, children: g.jsx("div", { className: ft.zenZoneEditorContainer, children: c && g.jsx(c, {}) }) });
- }
- var f3 = Ct("univer.global-zone-service");
- var is = "univer-global-zone";
- var os = "univer-global-zone-open";
- var as = "univer-global-zone-close";
- var dr = {
- globalZone: is,
- globalZoneOpen: os,
- globalZoneClose: as
- };
- function ss() {
- const e = W0(f3), [t, n] = (0, import_react.useState)(false), r = z0(e.componentKey$, e.componentKey), i = W0(n1), o = je(dr.globalZone, dr.globalZoneOpen), a = (0, import_react.useMemo)(() => {
- const s = i.get(r != null ? r : "");
- if (s)
- return s;
- }, [r, i]);
- return (0, import_react.useEffect)(() => {
- const s = e.visible$.subscribe((c) => {
- n(c);
- });
- return () => {
- s.unsubscribe();
- };
- }, [e.visible$]), t ? g.jsx("section", { className: o, children: a && g.jsx(a, {}) }) : null;
- }
- var Di = /* @__PURE__ */ new Set([ss]);
- var ls = "univer-workbench-layout";
- var cs2 = "univer-workbench-custom-header";
- var us = "univer-workbench-container";
- var fs2 = "univer-workbench-container-header";
- var ds = "univer-workbench-container-wrapper";
- var hs = "univer-workbench-container-content";
- var ps = "univer-workbench-container-doc-content";
- var vs = "univer-workbench-container-canvas";
- var ms = "univer-workbench-container-left-sidebar";
- var gs = "univer-workbench-container-sidebar";
- var Qe = {
- workbenchLayout: ls,
- workbenchCustomHeader: cs2,
- workbenchContainer: us,
- workbenchContainerHeader: fs2,
- workbenchContainerWrapper: ds,
- workbenchContainerContent: hs,
- workbenchContainerDocContent: ps,
- workbenchContainerCanvas: vs,
- workbenchContainerLeftSidebar: ms,
- workbenchContainerSidebar: gs
- };
- function Cs(e) {
- const {
- header: t = true,
- toolbar: n = true,
- footer: r = true,
- contextMenu: i = true,
- mountContainer: o,
- onRendered: a
- } = e, s = W0(Vr), c = W0(ml), h = W0(_n), d = (0, import_react.useRef)(null), u = ze(Le.CUSTOM_HEADER), p = ze(Le.FOOTER), C = ze(Le.HEADER), S = ze(Le.HEADER_MENU), _ = ze(Le.CONTENT), m = ze(Le.LEFT_SIDEBAR), w = ze(Le.GLOBAL), [I, R] = (0, import_react.useState)(null);
- (0, import_react.useEffect)(() => {
- const N = h.focused$.subscribe((A) => {
- if (A == null)
- return;
- const j = h.getUnitType(A), B = h.getUnit(A);
- j === Fe.UNIVER_DOC && B && R(B.getSnapshot());
- });
- return () => {
- N.unsubscribe();
- };
- }, []), (0, import_react.useEffect)(() => {
- c.getCurrentTheme() || c.setTheme(d_);
- }, []), (0, import_react.useEffect)(() => {
- d.current && (a == null || a(d.current));
- }, [a]);
- const [P, M] = (0, import_react.useState)(s.getLocales()), x = (0, import_react.useMemo)(() => document.createElement("div"), []);
- return (0, import_react.useEffect)(() => {
- document.body.appendChild(x);
- const N = [
- s.localeChanged$.subscribe(() => {
- M(s.getLocales());
- }),
- c.currentTheme$.subscribe((A) => {
- v_.setTheme(o, A), x && v_.setTheme(x, A);
- })
- ];
- return () => {
- N.forEach((A) => A.unsubscribe()), document.body.removeChild(x);
- };
- }, [s, o, x, c.currentTheme$]), g.jsxs(_O, { locale: P == null ? void 0 : P.design, mountContainer: x, children: [
- g.jsxs("div", { className: Qe.workbenchLayout, tabIndex: -1, onBlur: (N) => N.stopPropagation(), children: [
- g.jsx("div", { className: Qe.workbenchCustomHeader, children: g.jsx(Pe, { components: u }, "custom-header") }),
- t && n && g.jsx("header", { className: Qe.workbenchContainerHeader, children: g.jsx(W5, { headerMenuComponents: S }) }),
- g.jsxs("section", { className: Qe.workbenchContainer, children: [
- g.jsxs("div", { className: Qe.workbenchContainerWrapper, children: [
- g.jsx("aside", { className: Qe.workbenchContainerLeftSidebar, children: g.jsx(Pe, { components: m }, "left-sidebar") }),
- g.jsxs(
- "section",
- {
- className: je(
- Qe.workbenchContainerContent,
- {
- [Qe.workbenchContainerDocContent]: (I == null ? void 0 : I.documentStyle.documentFlavor) === ku.TRADITIONAL
- }
- ),
- children: [
- g.jsx("header", { children: t && g.jsx(Pe, { components: C }, "header") }),
- g.jsx(
- "section",
- {
- className: Qe.workbenchContainerCanvas,
- ref: d,
- "data-range-selector": true,
- onContextMenu: (N) => N.preventDefault(),
- children: g.jsx(Pe, { components: _ }, "content")
- }
- )
- ]
- }
- ),
- g.jsx("aside", { className: Qe.workbenchContainerSidebar, children: g.jsx(Ii, {}) })
- ] }),
- r && g.jsx("footer", { className: Qe.workbenchFooter, children: g.jsx(Pe, { components: p, sharedProps: { contextMenu: i } }, "footer") }),
- g.jsx(Vi, {})
- ] })
- ] }),
- g.jsx(Pe, { components: w }, "global"),
- g.jsx(Pe, { components: Di }, "built-in-global"),
- i && g.jsx(x5, {}),
- g.jsx(bs, {}),
- g.jsx("div", { id: "univer-popup-portal" })
- ] });
- }
- function bs() {
- const { mountContainer: e } = (0, import_react.useContext)(In), t = ze(Le.FLOATING);
- return (0, import_react_dom.createPortal)(g.jsx(Pe, { components: t }, "floating"), e);
- }
- var ys = Object.defineProperty;
- var Ls = Object.getOwnPropertyDescriptor;
- var _s = (e, t, n, r) => {
- for (var i = r > 1 ? void 0 : r ? Ls(t, n) : t, o = e.length - 1, a; o >= 0; o--)
- (a = e[o]) && (i = (r ? a(t, n, i) : a(i)) || i);
- return r && i && ys(t, n, i), i;
- };
- var w1 = (e, t) => (n, r) => t(n, r, e);
- var Ss = 3e3;
- var Vn = class extends nt {
- constructor(t, n, r, i, o, a, s, c) {
- super();
- K(this, "_steadyTimeout");
- K(this, "_renderTimeout");
- this._config = t, this._renderManagerService = n, this._instanceSrv = r, this._injector = i, this._lifecycleService = o, this._uiPartsService = a, this._menuManagerService = s, this._layoutService = c, this._initBuiltinComponents(), this._initMenus(), this._bootstrapWorkbench();
- }
- _initMenus() {
- this._menuManagerService.mergeMenu(Ci);
- }
- _bootstrapWorkbench() {
- this.disposeWithMe(this._instanceSrv.unitDisposed$.subscribe((t) => {
- clearTimeout(this._steadyTimeout);
- })), this.disposeWithMe(
- Ms(this._injector, this._config, (t, n) => {
- this._layoutService && (this.disposeWithMe(this._layoutService.registerRootContainerElement(n)), this.disposeWithMe(this._layoutService.registerContentElement(t))), this._renderManagerService.currentRender$.subscribe((r) => {
- if (r) {
- const i = this._renderManagerService.getRenderById(r);
- if (!i.unitId || zd(i.unitId))
- return;
- i.engine.setContainer(t);
- }
- }), this.disposeWithMe(this._lifecycleService.lifecycle$.pipe(filter((r) => r === Ve.Ready), take(1)).subscribe(() => {
- this._renderTimeout = setTimeout(() => {
- const r = this._renderManagerService.getRenderAll();
- for (const [i, o] of r)
- zd(i) || !o.isRenderUnit || o.engine.setContainer(t);
- this._lifecycleService.stage = Ve.Rendered, this._steadyTimeout = setTimeout(() => {
- this._lifecycleService.stage = Ve.Steady;
- }, Ss);
- }, 300);
- }));
- })
- );
- }
- _initBuiltinComponents() {
- this.disposeWithMe(this._uiPartsService.registerComponent(Le.FLOATING, () => B0(Hi, this._injector))), this.disposeWithMe(this._uiPartsService.registerComponent(Le.CONTENT, () => B0(xi, this._injector)));
- }
- };
- Vn = _s([
- w1(1, Yx),
- w1(2, _n),
- w1(3, ot(Ot)),
- w1(4, ot(Ht)),
- w1(5, f1),
- w1(6, m1),
- w1(7, nf(_1))
- ], Vn);
- function Ms(e, t, n) {
- let r;
- const i = t.container;
- if (typeof i == "string") {
- const c = document.getElementById(i);
- c ? r = c : r = hr(i);
- } else
- i instanceof HTMLElement ? r = i : r = hr("univer");
- const o = B0(Cs, e), a = (c) => n(c, r);
- function s() {
- j1.render(
- g.jsx(
- o,
- {
- ...t,
- mountContainer: r,
- onRendered: a
- }
- ),
- r
- );
- }
- return s(), Ze(() => {
- j1.render(g.jsx("div", {}), r), setTimeout(() => j1.render(g.jsx("div", {}), r), 200), setTimeout(() => j1.unmount(r), 500);
- });
- }
- function hr(e) {
- const t = document.createElement("div");
- return t.id = e, t;
- }
- var ws = "univer-mobile-menu-container";
- var xs = "univer-mobile-menu-item";
- var Ct2 = {
- mobileMenuContainer: ws,
- mobileMenuItem: xs
- };
- function Es(e) {
- const { menuType: t, onOptionSelect: n } = e, r = W0(m1);
- if (!t)
- return null;
- const i = (0, import_react.useMemo)(() => {
- const o = r.getMenuByPositionKey(t);
- function a(s) {
- return s.reduce((c, h) => h.children ? [...c, ...a(h.children)] : [...c, h], []);
- }
- return a(o);
- }, [t]);
- return g.jsx(
- "div",
- {
- className: Ct2.mobileMenuContainer,
- style: {
- gridTemplateColumns: `repeat(${Math.min(2, i.length)}, 48px)`
- },
- children: i.map((o) => o.item && g.jsx(
- Hs,
- {
- menuItem: o.item,
- onClick: (a) => n == null ? void 0 : n({ value: "", label: o.key, ...a })
- },
- o.key
- ))
- }
- );
- }
- function Hs(e) {
- const { menuItem: t, onClick: n } = e, { id: r, type: i, title: o, label: a, icon: s } = t;
- if (i !== $e.BUTTON)
- throw new Error(`[MobileMenuItem]: on mobile devices only "BUTTON" type menu items are supported. Please check "${r}".`);
- const c = z0(t.disabled$, false), h = z0(t.activated$, false), d = z0(t.hidden$, false), u = z0(t.value$), p = je(Ct2.mobileMenuItem, {
- [Ct2.mobileMenuItemActivated]: h,
- [Ct2.mobileMenuItemHidden]: d
- });
- return g.jsx(
- "button",
- {
- type: "button",
- className: p,
- disabled: c,
- onClick: () => n({ id: r }),
- children: g.jsx(ke, { value: u, title: o, label: a, icon: s })
- },
- r
- );
- }
- function Os() {
- const [e, t] = (0, import_react.useState)(false), [n, r] = (0, import_react.useState)(""), [i, o] = (0, import_react.useState)([0, 0]), a = (0, import_react.useRef)(e), s = W0(Wt), c = W0(Pt);
- a.current = e, (0, import_react.useEffect)(() => {
- const u = s.registerContextMenuHandler({
- handleContextMenu: h,
- hideContextMenu() {
- t(false);
- },
- get visible() {
- return a.current;
- }
- });
- return document.addEventListener("pointerdown", d), document.addEventListener("wheel", d), () => {
- document.removeEventListener("pointerdown", d), document.removeEventListener("wheel", d), u.dispose();
- };
- }, [s]);
- function h(u, p) {
- r(p), o([u.clientX, u.clientY]), t(true);
- }
- function d() {
- t(false);
- }
- return g.jsx(JO, { visible: e, offset: i, children: g.jsx("section", { onPointerDown: (u) => u.stopPropagation(), children: n && // TODO@wzhudev: change to mobile menu
- g.jsx(
- Es,
- {
- menuType: n,
- onOptionSelect: (u) => {
- const { label: p, value: C, commandId: S } = u;
- c && c.executeCommand(S != null ? S : p, { value: C }), t(false);
- }
- }
- ) }) });
- }
- var Rs = "univer-app-layout";
- var Ts = "univer-app-custom-header";
- var Ns = "univer-app-header";
- var Is = "univer-app-container";
- var Vs = "univer-app-container-header";
- var Ds = "univer-app-container-wrapper";
- var As = "univer-app-container-content";
- var Ps = "univer-app-container-canvas";
- var js = "univer-app-container-left-sidebar";
- var $s = "univer-app-container-sidebar";
- var s1 = {
- appLayout: Rs,
- appCustomHeader: Ts,
- appHeader: Ns,
- appContainer: Is,
- appContainerHeader: Vs,
- appContainerWrapper: Ds,
- appContainerContent: As,
- appContainerCanvas: Ps,
- appContainerLeftSidebar: js,
- appContainerSidebar: $s
- };
- function ks(e) {
- const {
- header: t = true,
- footer: n = true,
- contextMenu: r = true,
- mountContainer: i,
- onRendered: o
- } = e, a = W0(Vr), s = W0(ml), c = (0, import_react.useRef)(null), h = ze(Le.FOOTER), d = ze(Le.HEADER), u = ze(Le.CONTENT), p = ze(Le.LEFT_SIDEBAR), C = ze(Le.GLOBAL);
- (0, import_react.useEffect)(() => {
- s.getCurrentTheme() || s.setTheme(d_);
- }, []), (0, import_react.useEffect)(() => {
- c.current && (o == null || o(c.current));
- }, [o]);
- const [S, _] = (0, import_react.useState)(a.getLocales()), m = (0, import_react.useMemo)(() => document.createElement("div"), []);
- return (0, import_react.useEffect)(() => {
- document.body.appendChild(m);
- const w = [
- a.localeChanged$.subscribe(() => {
- _(a.getLocales());
- }),
- s.currentTheme$.subscribe((I) => {
- v_.setTheme(i, I), m && v_.setTheme(m, I);
- })
- ];
- return () => {
- w.forEach((I) => I.unsubscribe()), document.body.removeChild(m);
- };
- }, [a, i, m, s.currentTheme$]), g.jsxs(_O, { locale: S == null ? void 0 : S.design, mountContainer: m, children: [
- g.jsxs("div", { className: s1.appLayout, tabIndex: -1, onBlur: (w) => w.stopPropagation(), children: [
- t && g.jsx("header", { className: s1.appContainerHeader }),
- g.jsxs("section", { className: s1.appContainer, children: [
- g.jsxs("div", { className: s1.appContainerWrapper, children: [
- g.jsx("aside", { className: s1.appContainerLeftSidebar, children: g.jsx(Pe, { components: p }, "left-sidebar") }),
- g.jsxs("section", { className: s1.appContainerContent, children: [
- g.jsx("header", { className: s1.appHeader, children: t && g.jsx(Pe, { components: d }, "header") }),
- g.jsx(
- "section",
- {
- className: s1.appContainerCanvas,
- ref: c,
- "data-range-selector": true,
- onContextMenu: (w) => w.preventDefault(),
- children: g.jsx(Pe, { components: u }, "content")
- }
- )
- ] }),
- g.jsx("aside", { className: s1.appContainerSidebar, children: g.jsx(Ii, {}) })
- ] }),
- n && g.jsx("footer", { className: s1.appFooter, children: g.jsx(Pe, { components: h }, "footer") }),
- g.jsx(Vi, {})
- ] })
- ] }),
- g.jsx(Pe, { components: C }, "global"),
- g.jsx(Pe, { components: Di }, "built-in-global"),
- r && g.jsx(Os, {})
- ] });
- }
- var Bs = Object.defineProperty;
- var Fs = Object.getOwnPropertyDescriptor;
- var Us = (e, t, n, r) => {
- for (var i = r > 1 ? void 0 : r ? Fs(t, n) : t, o = e.length - 1, a; o >= 0; o--)
- (a = e[o]) && (i = (r ? a(t, n, i) : a(i)) || i);
- return r && i && Bs(t, n, i), i;
- };
- var x1 = (e, t) => (n, r) => t(n, r, e);
- var zs = 3e3;
- var Dn = class extends nt {
- constructor(e, t, n, r, i, o, a, s) {
- super(), this._config = e, this._instanceService = t, this._renderManagerService = n, this._injector = r, this._lifecycleService = i, this._uiPartsService = o, this._menuManagerService = a, this._layoutService = s, this._initBuiltinComponents(), Promise.resolve().then(() => this._bootstrapWorkbench());
- }
- _initMenus() {
- this._menuManagerService.mergeMenu(Ci);
- }
- _bootstrapWorkbench() {
- this.disposeWithMe(
- Zs(this._injector, this._config, (e, t) => {
- this._layoutService && (this.disposeWithMe(this._layoutService.registerRootContainerElement(t)), this.disposeWithMe(this._layoutService.registerContentElement(e))), this._renderManagerService.currentRender$.subscribe((n) => {
- if (n) {
- const r = this._renderManagerService.getRenderById(n);
- if (!r.unitId || this._instanceService.getUnitType(r.unitId) !== Fe.UNIVER_SHEET)
- return;
- r.engine.setContainer(e);
- }
- }), setTimeout(() => {
- var r;
- const n = (r = this._renderManagerService.getFirst()) == null ? void 0 : r.engine;
- n == null || n.setContainer(e), this._lifecycleService.stage = Ve.Rendered, setTimeout(() => this._lifecycleService.stage = Ve.Steady, zs);
- }, 300);
- })
- );
- }
- _initBuiltinComponents() {
- this.disposeWithMe(this._uiPartsService.registerComponent(Le.CONTENT, () => B0(Hi, this._injector))), this.disposeWithMe(this._uiPartsService.registerComponent(Le.CONTENT, () => B0(xi, this._injector)));
- }
- };
- Dn = Us([
- x1(1, _n),
- x1(2, Yx),
- x1(3, ot(Ot)),
- x1(4, ot(Ht)),
- x1(5, f1),
- x1(6, m1),
- x1(7, nf(_1))
- ], Dn);
- function Zs(e, t, n) {
- let r;
- const i = t.container;
- if (typeof i == "string") {
- const c = document.getElementById(i);
- c ? r = c : r = pr(i);
- } else
- i instanceof HTMLElement ? r = i : r = pr("univer");
- const o = B0(ks, e), a = (c) => n(c, r);
- function s() {
- j1.render(
- g.jsx(
- o,
- {
- ...t,
- mountContainer: r,
- onRendered: a
- }
- ),
- r
- );
- }
- return s(), Ze(() => {
- j1.unmount(r);
- });
- }
- function pr(e) {
- const t = document.createElement("div");
- return t.id = e, t;
- }
- var Gt = Ct("ui.notification.service");
- var Ws = Object.defineProperty;
- var Gs = Object.getOwnPropertyDescriptor;
- var Ys = (e, t, n, r) => {
- for (var i = r > 1 ? void 0 : r ? Gs(t, n) : t, o = e.length - 1, a; o >= 0; o--)
- (a = e[o]) && (i = (r ? a(t, n, i) : a(i)) || i);
- return r && i && Ws(t, n, i), i;
- };
- var qs = (e, t) => (n, r) => t(n, r, e);
- var Ai = Ct("univer.ui.before-close-service");
- var Rt = class {
- constructor(e) {
- K(this, "_beforeUnloadCallbacks", []);
- K(this, "_onCloseCallbacks", []);
- this._notificationService = e, this._init();
- }
- registerBeforeClose(e) {
- return this._beforeUnloadCallbacks.push(e), {
- dispose: () => {
- this._beforeUnloadCallbacks = this._beforeUnloadCallbacks.filter((t) => t !== e);
- }
- };
- }
- registerOnClose(e) {
- return this._onCloseCallbacks.push(e), {
- dispose: () => {
- this._onCloseCallbacks = this._onCloseCallbacks.filter((t) => t !== e);
- }
- };
- }
- _init() {
- window.addEventListener("beforeunload", (e) => {
- let t = e;
- const n = this._beforeUnloadCallbacks.map((r) => r()).filter((r) => !!r).join(`
- `);
- if (n)
- return this._notificationService.show({
- type: "error",
- title: "Some changes are not saved",
- content: n
- }), typeof t > "u" && (t = window.event), t.returnValue = n, n;
- }), window.addEventListener("unload", () => {
- this._onCloseCallbacks.forEach((e) => e());
- });
- }
- };
- Rt = Ys([
- qs(0, Gt)
- ], Rt);
- function Xs() {
- return typeof navigator.clipboard < "u" && typeof navigator.clipboard.readText < "u";
- }
- var Qs = Object.defineProperty;
- var Js = Object.getOwnPropertyDescriptor;
- var Ks = (e, t, n, r) => {
- for (var i = r > 1 ? void 0 : r ? Js(t, n) : t, o = e.length - 1, a; o >= 0; o--)
- (a = e[o]) && (i = (r ? a(t, n, i) : a(i)) || i);
- return r && i && Qs(t, n, i), i;
- };
- var gn = (e, t) => (n, r) => t(n, r, e);
- var vr = "text/plain";
- var mr = "text/html";
- var Yl = "image/png";
- var ql = "image/jpeg";
- var Xl = "image/bmp";
- var Ql = "image/webp";
- var Jl = "image/svg+xml";
- var Pi = Ct(
- "univer.clipboard-interface-service"
- );
- var Tt = class extends nt {
- constructor(e, t, n) {
- super(), this._localeService = e, this._logService = t, this._notificationService = n;
- }
- get supportClipboard() {
- return Xs();
- }
- async write(e, t) {
- if (!this.supportClipboard)
- return this._legacyCopyHtml(t);
- try {
- return await navigator.clipboard.write([
- new ClipboardItem({
- [vr]: new Blob([e], { type: vr }),
- [mr]: new Blob([t], { type: mr })
- })
- ]);
- } catch (n) {
- this._logService.error("[BrowserClipboardService]", n), this._showClipboardAuthenticationNotification();
- }
- }
- async writeText(e) {
- if (!this.supportClipboard)
- return this._legacyCopyText(e);
- try {
- return await navigator.clipboard.writeText(e);
- } catch (t) {
- this._logService.error("[BrowserClipboardService]", t), this._showClipboardAuthenticationNotification();
- }
- }
- async read() {
- if (!this.supportClipboard)
- throw new Error("[BrowserClipboardService] read() is not supported on this platform.");
- try {
- return navigator.clipboard.read();
- } catch (e) {
- return this._logService.error("[BrowserClipboardService]", e), this._showClipboardAuthenticationNotification(), [];
- }
- }
- async readText() {
- if (!this.supportClipboard)
- throw new Error("[BrowserClipboardService] read() is not supported on this platform.");
- try {
- return await navigator.clipboard.readText();
- } catch (e) {
- return this._logService.error("[BrowserClipboardService]", e), this._showClipboardAuthenticationNotification(), "";
- }
- }
- _legacyCopyHtml(e) {
- const t = document.activeElement, n = t7();
- document.body.appendChild(n), n.innerHTML = e;
- try {
- gr(n), document.execCommand("copy");
- } finally {
- t instanceof HTMLElement && t.focus(), document.body.removeChild(n);
- }
- }
- _legacyCopyText(e) {
- const t = document.activeElement, n = e7();
- document.body.appendChild(n), n.value = e;
- try {
- gr(n), document.execCommand("copy");
- } finally {
- t instanceof HTMLElement && t.focus(), document.body.removeChild(n);
- }
- }
- _showClipboardAuthenticationNotification() {
- var e;
- (e = this._notificationService) == null || e.show({
- type: "warning",
- title: this._localeService.t("clipboard.authentication.title"),
- content: this._localeService.t("clipboard.authentication.content")
- });
- }
- };
- Tt = Ks([
- gn(0, ot(Vr)),
- gn(1, Mt),
- gn(2, nf(Gt))
- ], Tt);
- function e7() {
- const e = document.createElement("textarea");
- return e.style.position = "absolute", e.style.height = "1px", e.style.width = "1px", e.style.opacity = "0", e.readOnly = true, e;
- }
- function t7() {
- const e = document.createElement("div");
- return e.contentEditable = "true", e.style.position = "absolute", e.style.opacity = "0", e.style.height = "1px", e.style.width = "1px", e;
- }
- function gr(e) {
- if (e instanceof HTMLTextAreaElement) {
- const r = e.hasAttribute("readonly");
- return r || e.setAttribute("readonly", ""), e.select(), e.setSelectionRange(0, e.value.length), r || e.removeAttribute("readonly"), e.value;
- }
- e.hasAttribute("contenteditable") && e.focus();
- const t = document.createRange();
- t.selectNodeContents(e);
- const n = window.getSelection();
- if (!n)
- throw new Error();
- return n.removeAllRanges(), n.addRange(t), n.toString();
- }
- var d3 = Ct("univer.confirm-service");
- function n7() {
- const e = W0(d3), [t, n] = (0, import_react.useState)([]);
- (0, import_react.useEffect)(() => {
- const i = e.confirmOptions$.subscribe((o) => {
- n(o);
- });
- return () => {
- i.unsubscribe();
- };
- }, []);
- const r = t.map((i) => {
- const { children: o, title: a, ...s } = i, c = s;
- for (const h of ["children", "title"]) {
- const d = h, u = i[d];
- u && (c[d] = g.jsx(ke, { ...u }));
- }
- return c;
- });
- return r == null ? void 0 : r.map((i, o) => g.jsx(jO, { ...i }, o));
- }
- var r7 = Object.defineProperty;
- var i7 = Object.getOwnPropertyDescriptor;
- var o7 = (e, t, n, r) => {
- for (var i = r > 1 ? void 0 : r ? i7(t, n) : t, o = e.length - 1, a; o >= 0; o--)
- (a = e[o]) && (i = (r ? a(t, n, i) : a(i)) || i);
- return r && i && r7(t, n, i), i;
- };
- var Cr = (e, t) => (n, r) => t(n, r, e);
- var Nt2 = class extends nt {
- constructor(t, n) {
- super();
- K(this, "_confirmOptions", []);
- K(this, "confirmOptions$", new BehaviorSubject([]));
- this._injector = t, this._uiPartsService = n, this._initUIPart();
- }
- open(t) {
- return this._confirmOptions.find((n) => n.id === t.id) ? this._confirmOptions = this._confirmOptions.map((n) => ({
- ...n.id === t.id ? t : n,
- visible: n.id === t.id ? true : n.visible
- })) : this._confirmOptions.push({
- ...t,
- visible: true
- }), this.confirmOptions$.next(this._confirmOptions), Ze(() => {
- this._confirmOptions = [], this.confirmOptions$.next([]);
- });
- }
- confirm(t) {
- return new Promise((n) => {
- const r = this.open({
- ...t,
- onConfirm: () => {
- r.dispose(), n(true);
- },
- onClose: () => {
- r.dispose(), n(false);
- }
- });
- });
- }
- close(t) {
- this._confirmOptions = this._confirmOptions.map((n) => ({
- ...n,
- visible: n.id === t ? false : n.visible
- })), this.confirmOptions$.next([...this._confirmOptions]);
- }
- _initUIPart() {
- this.disposeWithMe(
- this._uiPartsService.registerComponent(Le.GLOBAL, () => B0(n7, this._injector))
- );
- }
- };
- Nt2 = o7([
- Cr(0, ot(Ot)),
- Cr(1, f1)
- ], Nt2);
- var h3 = Ct("univer.ui.dialog-service");
- function a7() {
- const e = W0(h3), [t, n] = (0, import_react.useState)([]);
- (0, import_react.useEffect)(() => {
- const o = e.getDialogs$().subscribe((a) => {
- n(a);
- });
- return () => o.unsubscribe();
- }, [e]);
- const r = t.map((i) => {
- const { children: o, title: a, closeIcon: s, footer: c, ...h } = i, d = h;
- for (const u of ["children", "title", "closeIcon", "footer"]) {
- const p = u, C = i[p];
- C && (d[p] = g.jsx(ke, { ...C }));
- }
- return d;
- });
- return g.jsx(g.Fragment, { children: r == null ? void 0 : r.map((i) => g.jsx(rg, { ...i }, i.id)) });
- }
- var s72 = Object.defineProperty;
- var l7 = Object.getOwnPropertyDescriptor;
- var c7 = (e, t, n, r) => {
- for (var i = r > 1 ? void 0 : r ? l7(t, n) : t, o = e.length - 1, a; o >= 0; o--)
- (a = e[o]) && (i = (r ? a(t, n, i) : a(i)) || i);
- return r && i && s72(t, n, i), i;
- };
- var br = (e, t) => (n, r) => t(n, r, e);
- var It = class extends nt {
- constructor(t, n) {
- super();
- K(this, "_dialogOptions", []);
- K(this, "_dialogOptions$", new Subject());
- this._injector = t, this._uiPartsService = n, this._initUIPart();
- }
- dispose() {
- super.dispose(), this._dialogOptions$.complete();
- }
- open(t) {
- return this._dialogOptions.find((n) => n.id === t.id) ? this._dialogOptions = this._dialogOptions.map((n) => ({
- ...n.id === t.id ? t : n,
- visible: n.id === t.id ? true : n.visible
- })) : this._dialogOptions.push({
- ...t,
- visible: true
- }), this._dialogOptions$.next(this._dialogOptions), Ze(() => {
- this._dialogOptions = [], this._dialogOptions$.next([]);
- });
- }
- close(t) {
- this._dialogOptions = this._dialogOptions.map((n) => ({
- ...n,
- visible: n.id === t ? false : n.visible
- })), this._dialogOptions$.next([...this._dialogOptions]);
- }
- closeAll(t) {
- const n = new Set(t);
- this._dialogOptions = this._dialogOptions.map((r) => ({
- ...r,
- visible: n.has(r.id) ? r.visible : false
- })), this._dialogOptions$.next([...this._dialogOptions]);
- }
- getDialogs$() {
- return this._dialogOptions$.asObservable();
- }
- _initUIPart() {
- this.disposeWithMe(
- this._uiPartsService.registerComponent(Le.GLOBAL, () => B0(a7, this._injector))
- );
- }
- };
- It = c7([
- br(0, ot(Ot)),
- br(1, f1)
- ], It);
- var u7 = Object.defineProperty;
- var f7 = Object.getOwnPropertyDescriptor;
- var d7 = (e, t, n, r) => {
- for (var i = r > 1 ? void 0 : r ? f7(t, n) : t, o = e.length - 1, a; o >= 0; o--)
- (a = e[o]) && (i = (r ? a(t, n, i) : a(i)) || i);
- return r && i && u7(t, n, i), i;
- };
- var h7 = (e, t) => (n, r) => t(n, r, e);
- var Vt = class {
- constructor(e) {
- K(this, "visible$", new Subject());
- K(this, "componentKey$", new Subject());
- K(this, "_componentKey", "");
- this._componentManager = e;
- }
- get componentKey() {
- return this._componentKey;
- }
- set(e, t) {
- return this._componentManager.register(e, t), this.componentKey$.next(e), this._componentKey = e, Ze(() => {
- this._componentManager.delete(e), this.visible$.complete(), this.componentKey$.complete();
- });
- }
- open() {
- this.visible$.next(true);
- }
- close() {
- this.visible$.next(false);
- }
- };
- Vt = d7([
- h7(0, ot(n1))
- ], Vt);
- function dt(e) {
- throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
- }
- var Cn = { exports: {} };
- var yr;
- function p7() {
- return yr || (yr = 1, function(e, t) {
- (function(n) {
- e.exports = n();
- })(function() {
- return function n(r, i, o) {
- function a(h, d) {
- if (!i[h]) {
- if (!r[h]) {
- var u = typeof dt == "function" && dt;
- if (!d && u)
- return u(h, true);
- if (s)
- return s(h, true);
- var p = new Error("Cannot find module '" + h + "'");
- throw p.code = "MODULE_NOT_FOUND", p;
- }
- var C = i[h] = { exports: {} };
- r[h][0].call(C.exports, function(S) {
- var _ = r[h][1][S];
- return a(_ || S);
- }, C, C.exports, n, r, i, o);
- }
- return i[h].exports;
- }
- for (var s = typeof dt == "function" && dt, c = 0; c < o.length; c++)
- a(o[c]);
- return a;
- }({ 1: [function(n, r, i) {
- (function(o) {
- var a = o.MutationObserver || o.WebKitMutationObserver, s;
- if (a) {
- var c = 0, h = new a(S), d = o.document.createTextNode("");
- h.observe(d, {
- characterData: true
- }), s = function() {
- d.data = c = ++c % 2;
- };
- } else if (!o.setImmediate && typeof o.MessageChannel < "u") {
- var u = new o.MessageChannel();
- u.port1.onmessage = S, s = function() {
- u.port2.postMessage(0);
- };
- } else
- "document" in o && "onreadystatechange" in o.document.createElement("script") ? s = function() {
- var m = o.document.createElement("script");
- m.onreadystatechange = function() {
- S(), m.onreadystatechange = null, m.parentNode.removeChild(m), m = null;
- }, o.document.documentElement.appendChild(m);
- } : s = function() {
- setTimeout(S, 0);
- };
- var p, C = [];
- function S() {
- p = true;
- for (var m, w, I = C.length; I; ) {
- for (w = C, C = [], m = -1; ++m < I; )
- w[m]();
- I = C.length;
- }
- p = false;
- }
- r.exports = _;
- function _(m) {
- C.push(m) === 1 && !p && s();
- }
- }).call(this, typeof lt < "u" ? lt : typeof self < "u" ? self : typeof window < "u" ? window : {});
- }, {}], 2: [function(n, r, i) {
- var o = n(1);
- function a() {
- }
- var s = {}, c = ["REJECTED"], h = ["FULFILLED"], d = ["PENDING"];
- r.exports = u;
- function u(M) {
- if (typeof M != "function")
- throw new TypeError("resolver must be a function");
- this.state = d, this.queue = [], this.outcome = void 0, M !== a && _(this, M);
- }
- u.prototype.catch = function(M) {
- return this.then(null, M);
- }, u.prototype.then = function(M, x) {
- if (typeof M != "function" && this.state === h || typeof x != "function" && this.state === c)
- return this;
- var N = new this.constructor(a);
- if (this.state !== d) {
- var A = this.state === h ? M : x;
- C(N, A, this.outcome);
- } else
- this.queue.push(new p(N, M, x));
- return N;
- };
- function p(M, x, N) {
- this.promise = M, typeof x == "function" && (this.onFulfilled = x, this.callFulfilled = this.otherCallFulfilled), typeof N == "function" && (this.onRejected = N, this.callRejected = this.otherCallRejected);
- }
- p.prototype.callFulfilled = function(M) {
- s.resolve(this.promise, M);
- }, p.prototype.otherCallFulfilled = function(M) {
- C(this.promise, this.onFulfilled, M);
- }, p.prototype.callRejected = function(M) {
- s.reject(this.promise, M);
- }, p.prototype.otherCallRejected = function(M) {
- C(this.promise, this.onRejected, M);
- };
- function C(M, x, N) {
- o(function() {
- var A;
- try {
- A = x(N);
- } catch (j) {
- return s.reject(M, j);
- }
- A === M ? s.reject(M, new TypeError("Cannot resolve promise with itself")) : s.resolve(M, A);
- });
- }
- s.resolve = function(M, x) {
- var N = m(S, x);
- if (N.status === "error")
- return s.reject(M, N.value);
- var A = N.value;
- if (A)
- _(M, A);
- else {
- M.state = h, M.outcome = x;
- for (var j = -1, B = M.queue.length; ++j < B; )
- M.queue[j].callFulfilled(x);
- }
- return M;
- }, s.reject = function(M, x) {
- M.state = c, M.outcome = x;
- for (var N = -1, A = M.queue.length; ++N < A; )
- M.queue[N].callRejected(x);
- return M;
- };
- function S(M) {
- var x = M && M.then;
- if (M && (typeof M == "object" || typeof M == "function") && typeof x == "function")
- return function() {
- x.apply(M, arguments);
- };
- }
- function _(M, x) {
- var N = false;
- function A(G) {
- N || (N = true, s.reject(M, G));
- }
- function j(G) {
- N || (N = true, s.resolve(M, G));
- }
- function B() {
- x(j, A);
- }
- var Z = m(B);
- Z.status === "error" && A(Z.value);
- }
- function m(M, x) {
- var N = {};
- try {
- N.value = M(x), N.status = "success";
- } catch (A) {
- N.status = "error", N.value = A;
- }
- return N;
- }
- u.resolve = w;
- function w(M) {
- return M instanceof this ? M : s.resolve(new this(a), M);
- }
- u.reject = I;
- function I(M) {
- var x = new this(a);
- return s.reject(x, M);
- }
- u.all = R;
- function R(M) {
- var x = this;
- if (Object.prototype.toString.call(M) !== "[object Array]")
- return this.reject(new TypeError("must be an array"));
- var N = M.length, A = false;
- if (!N)
- return this.resolve([]);
- for (var j = new Array(N), B = 0, Z = -1, G = new this(a); ++Z < N; )
- ee(M[Z], Z);
- return G;
- function ee(ae, me) {
- x.resolve(ae).then(ie, function(pe) {
- A || (A = true, s.reject(G, pe));
- });
- function ie(pe) {
- j[me] = pe, ++B === N && !A && (A = true, s.resolve(G, j));
- }
- }
- }
- u.race = P;
- function P(M) {
- var x = this;
- if (Object.prototype.toString.call(M) !== "[object Array]")
- return this.reject(new TypeError("must be an array"));
- var N = M.length, A = false;
- if (!N)
- return this.resolve([]);
- for (var j = -1, B = new this(a); ++j < N; )
- Z(M[j]);
- return B;
- function Z(G) {
- x.resolve(G).then(function(ee) {
- A || (A = true, s.resolve(B, ee));
- }, function(ee) {
- A || (A = true, s.reject(B, ee));
- });
- }
- }
- }, { 1: 1 }], 3: [function(n, r, i) {
- (function(o) {
- typeof o.Promise != "function" && (o.Promise = n(2));
- }).call(this, typeof lt < "u" ? lt : typeof self < "u" ? self : typeof window < "u" ? window : {});
- }, { 2: 2 }], 4: [function(n, r, i) {
- var o = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(l) {
- return typeof l;
- } : function(l) {
- return l && typeof Symbol == "function" && l.constructor === Symbol && l !== Symbol.prototype ? "symbol" : typeof l;
- };
- function a(l, v) {
- if (!(l instanceof v))
- throw new TypeError("Cannot call a class as a function");
- }
- function s() {
- try {
- if (typeof indexedDB < "u")
- return indexedDB;
- if (typeof webkitIndexedDB < "u")
- return webkitIndexedDB;
- if (typeof mozIndexedDB < "u")
- return mozIndexedDB;
- if (typeof OIndexedDB < "u")
- return OIndexedDB;
- if (typeof msIndexedDB < "u")
- return msIndexedDB;
- } catch {
- return;
- }
- }
- var c = s();
- function h() {
- try {
- if (!c || !c.open)
- return false;
- var l = typeof openDatabase < "u" && /(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent) && !/BlackBerry/.test(navigator.platform), v = typeof fetch == "function" && fetch.toString().indexOf("[native code") !== -1;
- return (!l || v) && typeof indexedDB < "u" && // some outdated implementations of IDB that appear on Samsung
- // and HTC Android devices <4.4 are missing IDBKeyRange
- // See: https://github.com/mozilla/localForage/issues/128
- // See: https://github.com/mozilla/localForage/issues/272
- typeof IDBKeyRange < "u";
- } catch {
- return false;
- }
- }
- function d(l, v) {
- l = l || [], v = v || {};
- try {
- return new Blob(l, v);
- } catch (b) {
- if (b.name !== "TypeError")
- throw b;
- for (var f = typeof BlobBuilder < "u" ? BlobBuilder : typeof MSBlobBuilder < "u" ? MSBlobBuilder : typeof MozBlobBuilder < "u" ? MozBlobBuilder : WebKitBlobBuilder, y = new f(), L = 0; L < l.length; L += 1)
- y.append(l[L]);
- return y.getBlob(v.type);
- }
- }
- typeof Promise > "u" && n(3);
- var u = Promise;
- function p(l, v) {
- v && l.then(function(f) {
- v(null, f);
- }, function(f) {
- v(f);
- });
- }
- function C(l, v, f) {
- typeof v == "function" && l.then(v), typeof f == "function" && l.catch(f);
- }
- function S(l) {
- return typeof l != "string" && (console.warn(l + " used as a key, but it is not a string."), l = String(l)), l;
- }
- function _() {
- if (arguments.length && typeof arguments[arguments.length - 1] == "function")
- return arguments[arguments.length - 1];
- }
- var m = "local-forage-detect-blob-support", w = void 0, I = {}, R = Object.prototype.toString, P = "readonly", M = "readwrite";
- function x(l) {
- for (var v = l.length, f = new ArrayBuffer(v), y = new Uint8Array(f), L = 0; L < v; L++)
- y[L] = l.charCodeAt(L);
- return f;
- }
- function N(l) {
- return new u(function(v) {
- var f = l.transaction(m, M), y = d([""]);
- f.objectStore(m).put(y, "key"), f.onabort = function(L) {
- L.preventDefault(), L.stopPropagation(), v(false);
- }, f.oncomplete = function() {
- var L = navigator.userAgent.match(/Chrome\/(\d+)/), b = navigator.userAgent.match(/Edge\//);
- v(b || !L || parseInt(L[1], 10) >= 43);
- };
- }).catch(function() {
- return false;
- });
- }
- function A(l) {
- return typeof w == "boolean" ? u.resolve(w) : N(l).then(function(v) {
- return w = v, w;
- });
- }
- function j(l) {
- var v = I[l.name], f = {};
- f.promise = new u(function(y, L) {
- f.resolve = y, f.reject = L;
- }), v.deferredOperations.push(f), v.dbReady ? v.dbReady = v.dbReady.then(function() {
- return f.promise;
- }) : v.dbReady = f.promise;
- }
- function B(l) {
- var v = I[l.name], f = v.deferredOperations.pop();
- if (f)
- return f.resolve(), f.promise;
- }
- function Z(l, v) {
- var f = I[l.name], y = f.deferredOperations.pop();
- if (y)
- return y.reject(v), y.promise;
- }
- function G(l, v) {
- return new u(function(f, y) {
- if (I[l.name] = I[l.name] || Y(), l.db)
- if (v)
- j(l), l.db.close();
- else
- return f(l.db);
- var L = [l.name];
- v && L.push(l.version);
- var b = c.open.apply(c, L);
- v && (b.onupgradeneeded = function(E) {
- var $ = b.result;
- try {
- $.createObjectStore(l.storeName), E.oldVersion <= 1 && $.createObjectStore(m);
- } catch (F) {
- if (F.name === "ConstraintError")
- console.warn('The database "' + l.name + '" has been upgraded from version ' + E.oldVersion + " to version " + E.newVersion + ', but the storage "' + l.storeName + '" already exists.');
- else
- throw F;
- }
- }), b.onerror = function(E) {
- E.preventDefault(), y(b.error);
- }, b.onsuccess = function() {
- var E = b.result;
- E.onversionchange = function($) {
- $.target.close();
- }, f(E), B(l);
- };
- });
- }
- function ee(l) {
- return G(l, false);
- }
- function ae(l) {
- return G(l, true);
- }
- function me(l, v) {
- if (!l.db)
- return true;
- var f = !l.db.objectStoreNames.contains(l.storeName), y = l.version < l.db.version, L = l.version > l.db.version;
- if (y && (l.version !== v && console.warn('The database "' + l.name + `" can't be downgraded from version ` + l.db.version + " to version " + l.version + "."), l.version = l.db.version), L || f) {
- if (f) {
- var b = l.db.version + 1;
- b > l.version && (l.version = b);
- }
- return true;
- }
- return false;
- }
- function ie(l) {
- return new u(function(v, f) {
- var y = new FileReader();
- y.onerror = f, y.onloadend = function(L) {
- var b = btoa(L.target.result || "");
- v({
- __local_forage_encoded_blob: true,
- data: b,
- type: l.type
- });
- }, y.readAsBinaryString(l);
- });
- }
- function pe(l) {
- var v = x(atob(l.data));
- return d([v], { type: l.type });
- }
- function Ce(l) {
- return l && l.__local_forage_encoded_blob;
- }
- function k(l) {
- var v = this, f = v._initReady().then(function() {
- var y = I[v._dbInfo.name];
- if (y && y.dbReady)
- return y.dbReady;
- });
- return C(f, l, l), f;
- }
- function V(l) {
- j(l);
- for (var v = I[l.name], f = v.forages, y = 0; y < f.length; y++) {
- var L = f[y];
- L._dbInfo.db && (L._dbInfo.db.close(), L._dbInfo.db = null);
- }
- return l.db = null, ee(l).then(function(b) {
- return l.db = b, me(l) ? ae(l) : b;
- }).then(function(b) {
- l.db = v.db = b;
- for (var E = 0; E < f.length; E++)
- f[E]._dbInfo.db = b;
- }).catch(function(b) {
- throw Z(l, b), b;
- });
- }
- function D(l, v, f, y) {
- y === void 0 && (y = 1);
- try {
- var L = l.db.transaction(l.storeName, v);
- f(null, L);
- } catch (b) {
- if (y > 0 && (!l.db || b.name === "InvalidStateError" || b.name === "NotFoundError"))
- return u.resolve().then(function() {
- if (!l.db || b.name === "NotFoundError" && !l.db.objectStoreNames.contains(l.storeName) && l.version <= l.db.version)
- return l.db && (l.version = l.db.version + 1), ae(l);
- }).then(function() {
- return V(l).then(function() {
- D(l, v, f, y - 1);
- });
- }).catch(f);
- f(b);
- }
- }
- function Y() {
- return {
- // Running localForages sharing a database.
- forages: [],
- // Shared database.
- db: null,
- // Database readiness (promise).
- dbReady: null,
- // Deferred operations on the database.
- deferredOperations: []
- };
- }
- function X(l) {
- var v = this, f = {
- db: null
- };
- if (l)
- for (var y in l)
- f[y] = l[y];
- var L = I[f.name];
- L || (L = Y(), I[f.name] = L), L.forages.push(v), v._initReady || (v._initReady = v.ready, v.ready = k);
- var b = [];
- function E() {
- return u.resolve();
- }
- for (var $ = 0; $ < L.forages.length; $++) {
- var F = L.forages[$];
- F !== v && b.push(F._initReady().catch(E));
- }
- var U = L.forages.slice(0);
- return u.all(b).then(function() {
- return f.db = L.db, ee(f);
- }).then(function(z) {
- return f.db = z, me(f, v._defaultConfig.version) ? ae(f) : z;
- }).then(function(z) {
- f.db = L.db = z, v._dbInfo = f;
- for (var q = 0; q < U.length; q++) {
- var oe = U[q];
- oe !== v && (oe._dbInfo.db = f.db, oe._dbInfo.version = f.version);
- }
- });
- }
- function W(l, v) {
- var f = this;
- l = S(l);
- var y = new u(function(L, b) {
- f.ready().then(function() {
- D(f._dbInfo, P, function(E, $) {
- if (E)
- return b(E);
- try {
- var F = $.objectStore(f._dbInfo.storeName), U = F.get(l);
- U.onsuccess = function() {
- var z = U.result;
- z === void 0 && (z = null), Ce(z) && (z = pe(z)), L(z);
- }, U.onerror = function() {
- b(U.error);
- };
- } catch (z) {
- b(z);
- }
- });
- }).catch(b);
- });
- return p(y, v), y;
- }
- function J(l, v) {
- var f = this, y = new u(function(L, b) {
- f.ready().then(function() {
- D(f._dbInfo, P, function(E, $) {
- if (E)
- return b(E);
- try {
- var F = $.objectStore(f._dbInfo.storeName), U = F.openCursor(), z = 1;
- U.onsuccess = function() {
- var q = U.result;
- if (q) {
- var oe = q.value;
- Ce(oe) && (oe = pe(oe));
- var ue = l(oe, q.key, z++);
- ue !== void 0 ? L(ue) : q.continue();
- } else
- L();
- }, U.onerror = function() {
- b(U.error);
- };
- } catch (q) {
- b(q);
- }
- });
- }).catch(b);
- });
- return p(y, v), y;
- }
- function se(l, v, f) {
- var y = this;
- l = S(l);
- var L = new u(function(b, E) {
- var $;
- y.ready().then(function() {
- return $ = y._dbInfo, R.call(v) === "[object Blob]" ? A($.db).then(function(F) {
- return F ? v : ie(v);
- }) : v;
- }).then(function(F) {
- D(y._dbInfo, M, function(U, z) {
- if (U)
- return E(U);
- try {
- var q = z.objectStore(y._dbInfo.storeName);
- F === null && (F = void 0);
- var oe = q.put(F, l);
- z.oncomplete = function() {
- F === void 0 && (F = null), b(F);
- }, z.onabort = z.onerror = function() {
- var ue = oe.error ? oe.error : oe.transaction.error;
- E(ue);
- };
- } catch (ue) {
- E(ue);
- }
- });
- }).catch(E);
- });
- return p(L, f), L;
- }
- function be(l, v) {
- var f = this;
- l = S(l);
- var y = new u(function(L, b) {
- f.ready().then(function() {
- D(f._dbInfo, M, function(E, $) {
- if (E)
- return b(E);
- try {
- var F = $.objectStore(f._dbInfo.storeName), U = F.delete(l);
- $.oncomplete = function() {
- L();
- }, $.onerror = function() {
- b(U.error);
- }, $.onabort = function() {
- var z = U.error ? U.error : U.transaction.error;
- b(z);
- };
- } catch (z) {
- b(z);
- }
- });
- }).catch(b);
- });
- return p(y, v), y;
- }
- function Ve2(l) {
- var v = this, f = new u(function(y, L) {
- v.ready().then(function() {
- D(v._dbInfo, M, function(b, E) {
- if (b)
- return L(b);
- try {
- var $ = E.objectStore(v._dbInfo.storeName), F = $.clear();
- E.oncomplete = function() {
- y();
- }, E.onabort = E.onerror = function() {
- var U = F.error ? F.error : F.transaction.error;
- L(U);
- };
- } catch (U) {
- L(U);
- }
- });
- }).catch(L);
- });
- return p(f, l), f;
- }
- function we(l) {
- var v = this, f = new u(function(y, L) {
- v.ready().then(function() {
- D(v._dbInfo, P, function(b, E) {
- if (b)
- return L(b);
- try {
- var $ = E.objectStore(v._dbInfo.storeName), F = $.count();
- F.onsuccess = function() {
- y(F.result);
- }, F.onerror = function() {
- L(F.error);
- };
- } catch (U) {
- L(U);
- }
- });
- }).catch(L);
- });
- return p(f, l), f;
- }
- function xe(l, v) {
- var f = this, y = new u(function(L, b) {
- if (l < 0) {
- L(null);
- return;
- }
- f.ready().then(function() {
- D(f._dbInfo, P, function(E, $) {
- if (E)
- return b(E);
- try {
- var F = $.objectStore(f._dbInfo.storeName), U = false, z = F.openKeyCursor();
- z.onsuccess = function() {
- var q = z.result;
- if (!q) {
- L(null);
- return;
- }
- l === 0 || U ? L(q.key) : (U = true, q.advance(l));
- }, z.onerror = function() {
- b(z.error);
- };
- } catch (q) {
- b(q);
- }
- });
- }).catch(b);
- });
- return p(y, v), y;
- }
- function V1(l) {
- var v = this, f = new u(function(y, L) {
- v.ready().then(function() {
- D(v._dbInfo, P, function(b, E) {
- if (b)
- return L(b);
- try {
- var $ = E.objectStore(v._dbInfo.storeName), F = $.openKeyCursor(), U = [];
- F.onsuccess = function() {
- var z = F.result;
- if (!z) {
- y(U);
- return;
- }
- U.push(z.key), z.continue();
- }, F.onerror = function() {
- L(F.error);
- };
- } catch (z) {
- L(z);
- }
- });
- }).catch(L);
- });
- return p(f, l), f;
- }
- function Xe2(l, v) {
- v = _.apply(this, arguments);
- var f = this.config();
- l = typeof l != "function" && l || {}, l.name || (l.name = l.name || f.name, l.storeName = l.storeName || f.storeName);
- var y = this, L;
- if (!l.name)
- L = u.reject("Invalid arguments");
- else {
- var b = l.name === f.name && y._dbInfo.db, E = b ? u.resolve(y._dbInfo.db) : ee(l).then(function($) {
- var F = I[l.name], U = F.forages;
- F.db = $;
- for (var z = 0; z < U.length; z++)
- U[z]._dbInfo.db = $;
- return $;
- });
- l.storeName ? L = E.then(function($) {
- if ($.objectStoreNames.contains(l.storeName)) {
- var F = $.version + 1;
- j(l);
- var U = I[l.name], z = U.forages;
- $.close();
- for (var q = 0; q < z.length; q++) {
- var oe = z[q];
- oe._dbInfo.db = null, oe._dbInfo.version = F;
- }
- var ue = new u(function(de, Me) {
- var _e = c.open(l.name, F);
- _e.onerror = function(Ge) {
- var Z1 = _e.result;
- Z1.close(), Me(Ge);
- }, _e.onupgradeneeded = function() {
- var Ge = _e.result;
- Ge.deleteObjectStore(l.storeName);
- }, _e.onsuccess = function() {
- var Ge = _e.result;
- Ge.close(), de(Ge);
- };
- });
- return ue.then(function(de) {
- U.db = de;
- for (var Me = 0; Me < z.length; Me++) {
- var _e = z[Me];
- _e._dbInfo.db = de, B(_e._dbInfo);
- }
- }).catch(function(de) {
- throw (Z(l, de) || u.resolve()).catch(function() {
- }), de;
- });
- }
- }) : L = E.then(function($) {
- j(l);
- var F = I[l.name], U = F.forages;
- $.close();
- for (var z = 0; z < U.length; z++) {
- var q = U[z];
- q._dbInfo.db = null;
- }
- var oe = new u(function(ue, de) {
- var Me = c.deleteDatabase(l.name);
- Me.onerror = function() {
- var _e = Me.result;
- _e && _e.close(), de(Me.error);
- }, Me.onblocked = function() {
- console.warn('dropInstance blocked for database "' + l.name + '" until all open connections are closed');
- }, Me.onsuccess = function() {
- var _e = Me.result;
- _e && _e.close(), ue(_e);
- };
- });
- return oe.then(function(ue) {
- F.db = ue;
- for (var de = 0; de < U.length; de++) {
- var Me = U[de];
- B(Me._dbInfo);
- }
- }).catch(function(ue) {
- throw (Z(l, ue) || u.resolve()).catch(function() {
- }), ue;
- });
- });
- }
- return p(L, v), L;
- }
- var g1 = {
- _driver: "asyncStorage",
- _initStorage: X,
- _support: h(),
- iterate: J,
- getItem: W,
- setItem: se,
- removeItem: be,
- clear: Ve2,
- length: we,
- key: xe,
- keys: V1,
- dropInstance: Xe2
- };
- function r1() {
- return typeof openDatabase == "function";
- }
- var Be = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Fe2 = "~~local_forage_type~", C1 = /^~~local_forage_type~([^~]+)~/, Ze2 = "__lfsc__:", i1 = Ze2.length, ye = "arbf", ge = "blob", De = "si08", d1 = "ui08", We = "uic8", o1 = "si16", at = "si32", g3 = "ur16", C3 = "ui32", b3 = "fl32", y3 = "fl64", L3 = i1 + ye.length, _3 = Object.prototype.toString;
- function S3(l) {
- var v = l.length * 0.75, f = l.length, y, L = 0, b, E, $, F;
- l[l.length - 1] === "=" && (v--, l[l.length - 2] === "=" && v--);
- var U = new ArrayBuffer(v), z = new Uint8Array(U);
- for (y = 0; y < f; y += 4)
- b = Be.indexOf(l[y]), E = Be.indexOf(l[y + 1]), $ = Be.indexOf(l[y + 2]), F = Be.indexOf(l[y + 3]), z[L++] = b << 2 | E >> 4, z[L++] = (E & 15) << 4 | $ >> 2, z[L++] = ($ & 3) << 6 | F & 63;
- return U;
- }
- function Yt(l) {
- var v = new Uint8Array(l), f = "", y;
- for (y = 0; y < v.length; y += 3)
- f += Be[v[y] >> 2], f += Be[(v[y] & 3) << 4 | v[y + 1] >> 4], f += Be[(v[y + 1] & 15) << 2 | v[y + 2] >> 6], f += Be[v[y + 2] & 63];
- return v.length % 3 === 2 ? f = f.substring(0, f.length - 1) + "=" : v.length % 3 === 1 && (f = f.substring(0, f.length - 2) + "=="), f;
- }
- function co(l, v) {
- var f = "";
- if (l && (f = _3.call(l)), l && (f === "[object ArrayBuffer]" || l.buffer && _3.call(l.buffer) === "[object ArrayBuffer]")) {
- var y, L = Ze2;
- l instanceof ArrayBuffer ? (y = l, L += ye) : (y = l.buffer, f === "[object Int8Array]" ? L += De : f === "[object Uint8Array]" ? L += d1 : f === "[object Uint8ClampedArray]" ? L += We : f === "[object Int16Array]" ? L += o1 : f === "[object Uint16Array]" ? L += g3 : f === "[object Int32Array]" ? L += at : f === "[object Uint32Array]" ? L += C3 : f === "[object Float32Array]" ? L += b3 : f === "[object Float64Array]" ? L += y3 : v(new Error("Failed to get type for BinaryArray"))), v(L + Yt(y));
- } else if (f === "[object Blob]") {
- var b = new FileReader();
- b.onload = function() {
- var E = Fe2 + l.type + "~" + Yt(this.result);
- v(Ze2 + ge + E);
- }, b.readAsArrayBuffer(l);
- } else
- try {
- v(JSON.stringify(l));
- } catch (E) {
- console.error("Couldn't convert value into a JSON string: ", l), v(null, E);
- }
- }
- function uo(l) {
- if (l.substring(0, i1) !== Ze2)
- return JSON.parse(l);
- var v = l.substring(L3), f = l.substring(i1, L3), y;
- if (f === ge && C1.test(v)) {
- var L = v.match(C1);
- y = L[1], v = v.substring(L[0].length);
- }
- var b = S3(v);
- switch (f) {
- case ye:
- return b;
- case ge:
- return d([b], { type: y });
- case De:
- return new Int8Array(b);
- case d1:
- return new Uint8Array(b);
- case We:
- return new Uint8ClampedArray(b);
- case o1:
- return new Int16Array(b);
- case g3:
- return new Uint16Array(b);
- case at:
- return new Int32Array(b);
- case C3:
- return new Uint32Array(b);
- case b3:
- return new Float32Array(b);
- case y3:
- return new Float64Array(b);
- default:
- throw new Error("Unkown type: " + f);
- }
- }
- var qt = {
- serialize: co,
- deserialize: uo,
- stringToBuffer: S3,
- bufferToString: Yt
- };
- function M3(l, v, f, y) {
- l.executeSql("CREATE TABLE IF NOT EXISTS " + v.storeName + " (id INTEGER PRIMARY KEY, key unique, value)", [], f, y);
- }
- function fo(l) {
- var v = this, f = {
- db: null
- };
- if (l)
- for (var y in l)
- f[y] = typeof l[y] != "string" ? l[y].toString() : l[y];
- var L = new u(function(b, E) {
- try {
- f.db = openDatabase(f.name, String(f.version), f.description, f.size);
- } catch ($) {
- return E($);
- }
- f.db.transaction(function($) {
- M3($, f, function() {
- v._dbInfo = f, b();
- }, function(F, U) {
- E(U);
- });
- }, E);
- });
- return f.serializer = qt, L;
- }
- function b1(l, v, f, y, L, b) {
- l.executeSql(f, y, L, function(E, $) {
- $.code === $.SYNTAX_ERR ? E.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?", [v.storeName], function(F, U) {
- U.rows.length ? b(F, $) : M3(F, v, function() {
- F.executeSql(f, y, L, b);
- }, b);
- }, b) : b(E, $);
- }, b);
- }
- function ho(l, v) {
- var f = this;
- l = S(l);
- var y = new u(function(L, b) {
- f.ready().then(function() {
- var E = f._dbInfo;
- E.db.transaction(function($) {
- b1($, E, "SELECT * FROM " + E.storeName + " WHERE key = ? LIMIT 1", [l], function(F, U) {
- var z = U.rows.length ? U.rows.item(0).value : null;
- z && (z = E.serializer.deserialize(z)), L(z);
- }, function(F, U) {
- b(U);
- });
- });
- }).catch(b);
- });
- return p(y, v), y;
- }
- function po(l, v) {
- var f = this, y = new u(function(L, b) {
- f.ready().then(function() {
- var E = f._dbInfo;
- E.db.transaction(function($) {
- b1($, E, "SELECT * FROM " + E.storeName, [], function(F, U) {
- for (var z = U.rows, q = z.length, oe = 0; oe < q; oe++) {
- var ue = z.item(oe), de = ue.value;
- if (de && (de = E.serializer.deserialize(de)), de = l(de, ue.key, oe + 1), de !== void 0) {
- L(de);
- return;
- }
- }
- L();
- }, function(F, U) {
- b(U);
- });
- });
- }).catch(b);
- });
- return p(y, v), y;
- }
- function w3(l, v, f, y) {
- var L = this;
- l = S(l);
- var b = new u(function(E, $) {
- L.ready().then(function() {
- v === void 0 && (v = null);
- var F = v, U = L._dbInfo;
- U.serializer.serialize(v, function(z, q) {
- q ? $(q) : U.db.transaction(function(oe) {
- b1(oe, U, "INSERT OR REPLACE INTO " + U.storeName + " (key, value) VALUES (?, ?)", [l, z], function() {
- E(F);
- }, function(ue, de) {
- $(de);
- });
- }, function(oe) {
- if (oe.code === oe.QUOTA_ERR) {
- if (y > 0) {
- E(w3.apply(L, [l, F, f, y - 1]));
- return;
- }
- $(oe);
- }
- });
- });
- }).catch($);
- });
- return p(b, f), b;
- }
- function vo(l, v, f) {
- return w3.apply(this, [l, v, f, 1]);
- }
- function mo(l, v) {
- var f = this;
- l = S(l);
- var y = new u(function(L, b) {
- f.ready().then(function() {
- var E = f._dbInfo;
- E.db.transaction(function($) {
- b1($, E, "DELETE FROM " + E.storeName + " WHERE key = ?", [l], function() {
- L();
- }, function(F, U) {
- b(U);
- });
- });
- }).catch(b);
- });
- return p(y, v), y;
- }
- function go(l) {
- var v = this, f = new u(function(y, L) {
- v.ready().then(function() {
- var b = v._dbInfo;
- b.db.transaction(function(E) {
- b1(E, b, "DELETE FROM " + b.storeName, [], function() {
- y();
- }, function($, F) {
- L(F);
- });
- });
- }).catch(L);
- });
- return p(f, l), f;
- }
- function Co(l) {
- var v = this, f = new u(function(y, L) {
- v.ready().then(function() {
- var b = v._dbInfo;
- b.db.transaction(function(E) {
- b1(E, b, "SELECT COUNT(key) as c FROM " + b.storeName, [], function($, F) {
- var U = F.rows.item(0).c;
- y(U);
- }, function($, F) {
- L(F);
- });
- });
- }).catch(L);
- });
- return p(f, l), f;
- }
- function bo(l, v) {
- var f = this, y = new u(function(L, b) {
- f.ready().then(function() {
- var E = f._dbInfo;
- E.db.transaction(function($) {
- b1($, E, "SELECT key FROM " + E.storeName + " WHERE id = ? LIMIT 1", [l + 1], function(F, U) {
- var z = U.rows.length ? U.rows.item(0).key : null;
- L(z);
- }, function(F, U) {
- b(U);
- });
- });
- }).catch(b);
- });
- return p(y, v), y;
- }
- function yo(l) {
- var v = this, f = new u(function(y, L) {
- v.ready().then(function() {
- var b = v._dbInfo;
- b.db.transaction(function(E) {
- b1(E, b, "SELECT key FROM " + b.storeName, [], function($, F) {
- for (var U = [], z = 0; z < F.rows.length; z++)
- U.push(F.rows.item(z).key);
- y(U);
- }, function($, F) {
- L(F);
- });
- });
- }).catch(L);
- });
- return p(f, l), f;
- }
- function Lo(l) {
- return new u(function(v, f) {
- l.transaction(function(y) {
- y.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'", [], function(L, b) {
- for (var E = [], $ = 0; $ < b.rows.length; $++)
- E.push(b.rows.item($).name);
- v({
- db: l,
- storeNames: E
- });
- }, function(L, b) {
- f(b);
- });
- }, function(y) {
- f(y);
- });
- });
- }
- function _o(l, v) {
- v = _.apply(this, arguments);
- var f = this.config();
- l = typeof l != "function" && l || {}, l.name || (l.name = l.name || f.name, l.storeName = l.storeName || f.storeName);
- var y = this, L;
- return l.name ? L = new u(function(b) {
- var E;
- l.name === f.name ? E = y._dbInfo.db : E = openDatabase(l.name, "", "", 0), l.storeName ? b({
- db: E,
- storeNames: [l.storeName]
- }) : b(Lo(E));
- }).then(function(b) {
- return new u(function(E, $) {
- b.db.transaction(function(F) {
- function U(ue) {
- return new u(function(de, Me) {
- F.executeSql("DROP TABLE IF EXISTS " + ue, [], function() {
- de();
- }, function(_e, Ge) {
- Me(Ge);
- });
- });
- }
- for (var z = [], q = 0, oe = b.storeNames.length; q < oe; q++)
- z.push(U(b.storeNames[q]));
- u.all(z).then(function() {
- E();
- }).catch(function(ue) {
- $(ue);
- });
- }, function(F) {
- $(F);
- });
- });
- }) : L = u.reject("Invalid arguments"), p(L, v), L;
- }
- var So = {
- _driver: "webSQLStorage",
- _initStorage: fo,
- _support: r1(),
- iterate: po,
- getItem: ho,
- setItem: vo,
- removeItem: mo,
- clear: go,
- length: Co,
- key: bo,
- keys: yo,
- dropInstance: _o
- };
- function Mo() {
- try {
- return typeof localStorage < "u" && "setItem" in localStorage && // in IE8 typeof localStorage.setItem === 'object'
- !!localStorage.setItem;
- } catch {
- return false;
- }
- }
- function x3(l, v) {
- var f = l.name + "/";
- return l.storeName !== v.storeName && (f += l.storeName + "/"), f;
- }
- function wo() {
- var l = "_localforage_support_test";
- try {
- return localStorage.setItem(l, true), localStorage.removeItem(l), false;
- } catch {
- return true;
- }
- }
- function xo() {
- return !wo() || localStorage.length > 0;
- }
- function Eo(l) {
- var v = this, f = {};
- if (l)
- for (var y in l)
- f[y] = l[y];
- return f.keyPrefix = x3(l, v._defaultConfig), xo() ? (v._dbInfo = f, f.serializer = qt, u.resolve()) : u.reject();
- }
- function Ho(l) {
- var v = this, f = v.ready().then(function() {
- for (var y = v._dbInfo.keyPrefix, L = localStorage.length - 1; L >= 0; L--) {
- var b = localStorage.key(L);
- b.indexOf(y) === 0 && localStorage.removeItem(b);
- }
- });
- return p(f, l), f;
- }
- function Oo(l, v) {
- var f = this;
- l = S(l);
- var y = f.ready().then(function() {
- var L = f._dbInfo, b = localStorage.getItem(L.keyPrefix + l);
- return b && (b = L.serializer.deserialize(b)), b;
- });
- return p(y, v), y;
- }
- function Ro(l, v) {
- var f = this, y = f.ready().then(function() {
- for (var L = f._dbInfo, b = L.keyPrefix, E = b.length, $ = localStorage.length, F = 1, U = 0; U < $; U++) {
- var z = localStorage.key(U);
- if (z.indexOf(b) === 0) {
- var q = localStorage.getItem(z);
- if (q && (q = L.serializer.deserialize(q)), q = l(q, z.substring(E), F++), q !== void 0)
- return q;
- }
- }
- });
- return p(y, v), y;
- }
- function To(l, v) {
- var f = this, y = f.ready().then(function() {
- var L = f._dbInfo, b;
- try {
- b = localStorage.key(l);
- } catch {
- b = null;
- }
- return b && (b = b.substring(L.keyPrefix.length)), b;
- });
- return p(y, v), y;
- }
- function No(l) {
- var v = this, f = v.ready().then(function() {
- for (var y = v._dbInfo, L = localStorage.length, b = [], E = 0; E < L; E++) {
- var $ = localStorage.key(E);
- $.indexOf(y.keyPrefix) === 0 && b.push($.substring(y.keyPrefix.length));
- }
- return b;
- });
- return p(f, l), f;
- }
- function Io(l) {
- var v = this, f = v.keys().then(function(y) {
- return y.length;
- });
- return p(f, l), f;
- }
- function Vo(l, v) {
- var f = this;
- l = S(l);
- var y = f.ready().then(function() {
- var L = f._dbInfo;
- localStorage.removeItem(L.keyPrefix + l);
- });
- return p(y, v), y;
- }
- function Do(l, v, f) {
- var y = this;
- l = S(l);
- var L = y.ready().then(function() {
- v === void 0 && (v = null);
- var b = v;
- return new u(function(E, $) {
- var F = y._dbInfo;
- F.serializer.serialize(v, function(U, z) {
- if (z)
- $(z);
- else
- try {
- localStorage.setItem(F.keyPrefix + l, U), E(b);
- } catch (q) {
- (q.name === "QuotaExceededError" || q.name === "NS_ERROR_DOM_QUOTA_REACHED") && $(q), $(q);
- }
- });
- });
- });
- return p(L, f), L;
- }
- function Ao(l, v) {
- if (v = _.apply(this, arguments), l = typeof l != "function" && l || {}, !l.name) {
- var f = this.config();
- l.name = l.name || f.name, l.storeName = l.storeName || f.storeName;
- }
- var y = this, L;
- return l.name ? L = new u(function(b) {
- l.storeName ? b(x3(l, y._defaultConfig)) : b(l.name + "/");
- }).then(function(b) {
- for (var E = localStorage.length - 1; E >= 0; E--) {
- var $ = localStorage.key(E);
- $.indexOf(b) === 0 && localStorage.removeItem($);
- }
- }) : L = u.reject("Invalid arguments"), p(L, v), L;
- }
- var Po = {
- _driver: "localStorageWrapper",
- _initStorage: Eo,
- _support: Mo(),
- iterate: Ro,
- getItem: Oo,
- setItem: Do,
- removeItem: Vo,
- clear: Ho,
- length: Io,
- key: To,
- keys: No,
- dropInstance: Ao
- }, jo = function(v, f) {
- return v === f || typeof v == "number" && typeof f == "number" && isNaN(v) && isNaN(f);
- }, $o = function(v, f) {
- for (var y = v.length, L = 0; L < y; ) {
- if (jo(v[L], f))
- return true;
- L++;
- }
- return false;
- }, E3 = Array.isArray || function(l) {
- return Object.prototype.toString.call(l) === "[object Array]";
- }, z1 = {}, H3 = {}, D1 = {
- INDEXEDDB: g1,
- WEBSQL: So,
- LOCALSTORAGE: Po
- }, ko = [D1.INDEXEDDB._driver, D1.WEBSQL._driver, D1.LOCALSTORAGE._driver], st = ["dropInstance"], Xt = ["clear", "getItem", "iterate", "key", "keys", "length", "removeItem", "setItem"].concat(st), Bo = {
- description: "",
- driver: ko.slice(),
- name: "localforage",
- // Default DB size is _JUST UNDER_ 5MB, as it's the highest size
- // we can use without a prompt.
- size: 4980736,
- storeName: "keyvaluepairs",
- version: 1
- };
- function Fo(l, v) {
- l[v] = function() {
- var f = arguments;
- return l.ready().then(function() {
- return l[v].apply(l, f);
- });
- };
- }
- function Qt() {
- for (var l = 1; l < arguments.length; l++) {
- var v = arguments[l];
- if (v)
- for (var f in v)
- v.hasOwnProperty(f) && (E3(v[f]) ? arguments[0][f] = v[f].slice() : arguments[0][f] = v[f]);
- }
- return arguments[0];
- }
- var Uo = function() {
- function l(v) {
- a(this, l);
- for (var f in D1)
- if (D1.hasOwnProperty(f)) {
- var y = D1[f], L = y._driver;
- this[f] = L, z1[L] || this.defineDriver(y);
- }
- this._defaultConfig = Qt({}, Bo), this._config = Qt({}, this._defaultConfig, v), this._driverSet = null, this._initDriver = null, this._ready = false, this._dbInfo = null, this._wrapLibraryMethodsWithReady(), this.setDriver(this._config.driver).catch(function() {
- });
- }
- return l.prototype.config = function(f) {
- if ((typeof f > "u" ? "undefined" : o(f)) === "object") {
- if (this._ready)
- return new Error("Can't call config() after localforage has been used.");
- for (var y in f) {
- if (y === "storeName" && (f[y] = f[y].replace(/\W/g, "_")), y === "version" && typeof f[y] != "number")
- return new Error("Database version must be a number.");
- this._config[y] = f[y];
- }
- return "driver" in f && f.driver ? this.setDriver(this._config.driver) : true;
- } else
- return typeof f == "string" ? this._config[f] : this._config;
- }, l.prototype.defineDriver = function(f, y, L) {
- var b = new u(function(E, $) {
- try {
- var F = f._driver, U = new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");
- if (!f._driver) {
- $(U);
- return;
- }
- for (var z = Xt.concat("_initStorage"), q = 0, oe = z.length; q < oe; q++) {
- var ue = z[q], de = !$o(st, ue);
- if ((de || f[ue]) && typeof f[ue] != "function") {
- $(U);
- return;
- }
- }
- var Me = function() {
- for (var Z1 = function(Wo) {
- return function() {
- var Go = new Error("Method " + Wo + " is not implemented by the current driver"), O3 = u.reject(Go);
- return p(O3, arguments[arguments.length - 1]), O3;
- };
- }, Jt = 0, Zo = st.length; Jt < Zo; Jt++) {
- var Kt = st[Jt];
- f[Kt] || (f[Kt] = Z1(Kt));
- }
- };
- Me();
- var _e = function(Z1) {
- z1[F] && console.info("Redefining LocalForage driver: " + F), z1[F] = f, H3[F] = Z1, E();
- };
- "_support" in f ? f._support && typeof f._support == "function" ? f._support().then(_e, $) : _e(!!f._support) : _e(true);
- } catch (Ge) {
- $(Ge);
- }
- });
- return C(b, y, L), b;
- }, l.prototype.driver = function() {
- return this._driver || null;
- }, l.prototype.getDriver = function(f, y, L) {
- var b = z1[f] ? u.resolve(z1[f]) : u.reject(new Error("Driver not found."));
- return C(b, y, L), b;
- }, l.prototype.getSerializer = function(f) {
- var y = u.resolve(qt);
- return C(y, f), y;
- }, l.prototype.ready = function(f) {
- var y = this, L = y._driverSet.then(function() {
- return y._ready === null && (y._ready = y._initDriver()), y._ready;
- });
- return C(L, f, f), L;
- }, l.prototype.setDriver = function(f, y, L) {
- var b = this;
- E3(f) || (f = [f]);
- var E = this._getSupportedDrivers(f);
- function $() {
- b._config.driver = b.driver();
- }
- function F(q) {
- return b._extend(q), $(), b._ready = b._initStorage(b._config), b._ready;
- }
- function U(q) {
- return function() {
- var oe = 0;
- function ue() {
- for (; oe < q.length; ) {
- var de = q[oe];
- return oe++, b._dbInfo = null, b._ready = null, b.getDriver(de).then(F).catch(ue);
- }
- $();
- var Me = new Error("No available storage method found.");
- return b._driverSet = u.reject(Me), b._driverSet;
- }
- return ue();
- };
- }
- var z = this._driverSet !== null ? this._driverSet.catch(function() {
- return u.resolve();
- }) : u.resolve();
- return this._driverSet = z.then(function() {
- var q = E[0];
- return b._dbInfo = null, b._ready = null, b.getDriver(q).then(function(oe) {
- b._driver = oe._driver, $(), b._wrapLibraryMethodsWithReady(), b._initDriver = U(E);
- });
- }).catch(function() {
- $();
- var q = new Error("No available storage method found.");
- return b._driverSet = u.reject(q), b._driverSet;
- }), C(this._driverSet, y, L), this._driverSet;
- }, l.prototype.supports = function(f) {
- return !!H3[f];
- }, l.prototype._extend = function(f) {
- Qt(this, f);
- }, l.prototype._getSupportedDrivers = function(f) {
- for (var y = [], L = 0, b = f.length; L < b; L++) {
- var E = f[L];
- this.supports(E) && y.push(E);
- }
- return y;
- }, l.prototype._wrapLibraryMethodsWithReady = function() {
- for (var f = 0, y = Xt.length; f < y; f++)
- Fo(this, Xt[f]);
- }, l.prototype.createInstance = function(f) {
- return new l(f);
- }, l;
- }(), zo = new Uo();
- r.exports = zo;
- }, { 3: 3 }] }, {}, [4])(4);
- });
- }(Cn)), Cn.exports;
- }
- var v7 = p7();
- var E1 = t3(v7);
- var ji = class {
- getItem(t) {
- return E1.getItem(t);
- }
- setItem(t, n) {
- return E1.setItem(t, n);
- }
- removeItem(t) {
- return E1.removeItem(t);
- }
- clear() {
- return E1.clear();
- }
- key(t) {
- return E1.key(t);
- }
- keys() {
- return E1.keys();
- }
- iterate(t) {
- return E1.iterate(t);
- }
- };
- var m7 = Object.defineProperty;
- var g7 = Object.getOwnPropertyDescriptor;
- var C7 = (e, t, n, r) => {
- for (var i = r > 1 ? void 0 : r ? g7(t, n) : t, o = e.length - 1, a; o >= 0; o--)
- (a = e[o]) && (i = (r ? a(t, n, i) : a(i)) || i);
- return r && i && m7(t, n, i), i;
- };
- var Lr = (e, t) => (n, r) => t(n, r, e);
- var Dt = class extends nt {
- constructor(e, t) {
- super(), this._injector = e, this._uiPartsService = t, this._initUIPart();
- }
- _initUIPart() {
- this.disposeWithMe(
- this._uiPartsService.registerComponent(Le.GLOBAL, () => B0(GO, this._injector))
- );
- }
- dispose() {
- ZO();
- }
- show(e) {
- XO(e);
- }
- };
- Dt = C7([
- Lr(0, ot(Ot)),
- Lr(1, f1)
- ], Dt);
- function An(e, t) {
- (t == null || t > e.length) && (t = e.length);
- for (var n = 0, r = Array(t); n < t; n++)
- r[n] = e[n];
- return r;
- }
- function b7(e) {
- if (Array.isArray(e))
- return An(e);
- }
- function y7(e) {
- if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null)
- return Array.from(e);
- }
- function $i(e, t) {
- if (e) {
- if (typeof e == "string")
- return An(e, t);
- var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? An(e, t) : void 0;
- }
- }
- function L7() {
- throw new TypeError(`Invalid attempt to spread non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
- }
- function Q1(e) {
- return b7(e) || y7(e) || $i(e) || L7();
- }
- function _7(e) {
- if (Array.isArray(e))
- return e;
- }
- function S7(e, t) {
- var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
- if (n != null) {
- var r, i, o, a, s = [], c = true, h = false;
- try {
- if (o = (n = n.call(e)).next, t === 0) {
- if (Object(n) !== n)
- return;
- c = false;
- } else
- for (; !(c = (r = o.call(n)).done) && (s.push(r.value), s.length !== t); c = true)
- ;
- } catch (d) {
- h = true, i = d;
- } finally {
- try {
- if (!c && n.return != null && (a = n.return(), Object(a) !== a))
- return;
- } finally {
- if (h)
- throw i;
- }
- }
- return s;
- }
- }
- function M7() {
- throw new TypeError(`Invalid attempt to destructure non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
- }
- function Re(e, t) {
- return _7(e) || S7(e, t) || $i(e, t) || M7();
- }
- function w7(e, t) {
- if (e == null)
- return {};
- var n = {};
- for (var r in e)
- if ({}.hasOwnProperty.call(e, r)) {
- if (t.includes(r))
- continue;
- n[r] = e[r];
- }
- return n;
- }
- function At(e, t) {
- if (e == null)
- return {};
- var n, r, i = w7(e, t);
- if (Object.getOwnPropertySymbols) {
- var o = Object.getOwnPropertySymbols(e);
- for (r = 0; r < o.length; r++)
- n = o[r], t.includes(n) || {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
- }
- return i;
- }
- function t1(e) {
- "@babel/helpers - typeof";
- return t1 = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
- return typeof t;
- } : function(t) {
- return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
- }, t1(e);
- }
- function x7(e, t) {
- if (t1(e) != "object" || !e)
- return e;
- var n = e[Symbol.toPrimitive];
- if (n !== void 0) {
- var r = n.call(e, t || "default");
- if (t1(r) != "object")
- return r;
- throw new TypeError("@@toPrimitive must return a primitive value.");
- }
- return (t === "string" ? String : Number)(e);
- }
- function ki(e) {
- var t = x7(e, "string");
- return t1(t) == "symbol" ? t : t + "";
- }
- function Oe(e, t, n) {
- return (t = ki(t)) in e ? Object.defineProperty(e, t, {
- value: n,
- enumerable: true,
- configurable: true,
- writable: true
- }) : e[t] = n, e;
- }
- function _r(e, t) {
- var n = Object.keys(e);
- if (Object.getOwnPropertySymbols) {
- var r = Object.getOwnPropertySymbols(e);
- t && (r = r.filter(function(i) {
- return Object.getOwnPropertyDescriptor(e, i).enumerable;
- })), n.push.apply(n, r);
- }
- return n;
- }
- function he(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = arguments[t] != null ? arguments[t] : {};
- t % 2 ? _r(Object(n), true).forEach(function(r) {
- Oe(e, r, n[r]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _r(Object(n)).forEach(function(r) {
- Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
- });
- }
- return e;
- }
- function T1() {
- return T1 = Object.assign ? Object.assign.bind() : function(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = arguments[t];
- for (var r in n)
- ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
- }
- return e;
- }, T1.apply(null, arguments);
- }
- var bn = { exports: {} };
- var Sr;
- function E7() {
- return Sr || (Sr = 1, function(e) {
- (function() {
- var t = {}.hasOwnProperty;
- function n() {
- for (var o = "", a = 0; a < arguments.length; a++) {
- var s = arguments[a];
- s && (o = i(o, r(s)));
- }
- return o;
- }
- function r(o) {
- if (typeof o == "string" || typeof o == "number")
- return o;
- if (typeof o != "object")
- return "";
- if (Array.isArray(o))
- return n.apply(null, o);
- if (o.toString !== Object.prototype.toString && !o.toString.toString().includes("[native code]"))
- return o.toString();
- var a = "";
- for (var s in o)
- t.call(o, s) && o[s] && (a = i(a, s));
- return a;
- }
- function i(o, a) {
- return a ? o ? o + " " + a : o + a : o;
- }
- e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
- })();
- }(bn)), bn.exports;
- }
- var H7 = E7();
- var J1 = t3(H7);
- function Mr(e) {
- return e instanceof HTMLElement || e instanceof SVGElement;
- }
- function O7(e) {
- return e && R1(e) === "object" && Mr(e.nativeElement) ? e.nativeElement : Mr(e) ? e : null;
- }
- function R7(e) {
- var t = O7(e);
- if (t)
- return t;
- if (e instanceof import_react.default.Component) {
- var n;
- return (n = import_react_dom.default.findDOMNode) === null || n === void 0 ? void 0 : n.call(import_react_dom.default, e);
- }
- return null;
- }
- var T7 = Q.createContext({});
- function Bi(e, t) {
- if (!(e instanceof t))
- throw new TypeError("Cannot call a class as a function");
- }
- function wr(e, t) {
- for (var n = 0; n < t.length; n++) {
- var r = t[n];
- r.enumerable = r.enumerable || false, r.configurable = true, "value" in r && (r.writable = true), Object.defineProperty(e, ki(r.key), r);
- }
- }
- function Fi(e, t, n) {
- return t && wr(e.prototype, t), n && wr(e, n), Object.defineProperty(e, "prototype", {
- writable: false
- }), e;
- }
- function Pn(e, t) {
- return Pn = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, r) {
- return n.__proto__ = r, n;
- }, Pn(e, t);
- }
- function Ui(e, t) {
- if (typeof t != "function" && t !== null)
- throw new TypeError("Super expression must either be null or a function");
- e.prototype = Object.create(t && t.prototype, {
- constructor: {
- value: e,
- writable: true,
- configurable: true
- }
- }), Object.defineProperty(e, "prototype", {
- writable: false
- }), t && Pn(e, t);
- }
- function Pt2(e) {
- return Pt2 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
- return t.__proto__ || Object.getPrototypeOf(t);
- }, Pt2(e);
- }
- function zi() {
- try {
- var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
- }));
- } catch {
- }
- return (zi = function() {
- return !!e;
- })();
- }
- function jn(e) {
- if (e === void 0)
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
- return e;
- }
- function N7(e, t) {
- if (t && (t1(t) == "object" || typeof t == "function"))
- return t;
- if (t !== void 0)
- throw new TypeError("Derived constructors may only return object or undefined");
- return jn(e);
- }
- function Zi(e) {
- var t = zi();
- return function() {
- var n, r = Pt2(e);
- if (t) {
- var i = Pt2(this).constructor;
- n = Reflect.construct(r, arguments, i);
- } else
- n = r.apply(this, arguments);
- return N7(this, n);
- };
- }
- var I7 = function(e) {
- Ui(n, e);
- var t = Zi(n);
- function n() {
- return Bi(this, n), t.apply(this, arguments);
- }
- return Fi(n, [{
- key: "render",
- value: function() {
- return this.props.children;
- }
- }]), n;
- }(Q.Component);
- function V7(e) {
- var t = Q.useReducer(function(s) {
- return s + 1;
- }, 0), n = oi(t, 2), r = n[1], i = Q.useRef(e), o = et(function() {
- return i.current;
- }), a = et(function(s) {
- i.current = typeof s == "function" ? s(i.current) : s, r();
- });
- return [o, a];
- }
- var y1 = "none";
- var ht = "appear";
- var pt = "enter";
- var vt = "leave";
- var xr = "none";
- var Ke = "prepare";
- var $1 = "start";
- var k1 = "active";
- var p3 = "end";
- var Wi = "prepared";
- function Er(e, t) {
- var n = {};
- return n[e.toLowerCase()] = t.toLowerCase(), n["Webkit".concat(e)] = "webkit".concat(t), n["Moz".concat(e)] = "moz".concat(t), n["ms".concat(e)] = "MS".concat(t), n["O".concat(e)] = "o".concat(t.toLowerCase()), n;
- }
- function D7(e, t) {
- var n = {
- animationend: Er("Animation", "AnimationEnd"),
- transitionend: Er("Transition", "TransitionEnd")
- };
- return e && ("AnimationEvent" in t || delete n.animationend.animation, "TransitionEvent" in t || delete n.transitionend.transition), n;
- }
- var A7 = D7(r3(), typeof window < "u" ? window : {});
- var Gi = {};
- if (r3()) {
- P7 = document.createElement("div");
- Gi = P7.style;
- }
- var P7;
- var mt = {};
- function Yi(e) {
- if (mt[e])
- return mt[e];
- var t = A7[e];
- if (t)
- for (var n = Object.keys(t), r = n.length, i = 0; i < r; i += 1) {
- var o = n[i];
- if (Object.prototype.hasOwnProperty.call(t, o) && o in Gi)
- return mt[e] = t[o], mt[e];
- }
- return "";
- }
- var qi = Yi("animationend");
- var Xi = Yi("transitionend");
- var Qi = !!(qi && Xi);
- var Hr = qi || "animationend";
- var Or = Xi || "transitionend";
- function Rr(e, t) {
- if (!e)
- return null;
- if (t1(e) === "object") {
- var n = t.replace(/-\w/g, function(r) {
- return r[1].toUpperCase();
- });
- return e[n];
- }
- return "".concat(e, "-").concat(t);
- }
- var j7 = function(e) {
- var t = (0, import_react.useRef)();
- function n(i) {
- i && (i.removeEventListener(Or, e), i.removeEventListener(Hr, e));
- }
- function r(i) {
- t.current && t.current !== i && n(t.current), i && i !== t.current && (i.addEventListener(Or, e), i.addEventListener(Hr, e), t.current = i);
- }
- return Q.useEffect(function() {
- return function() {
- n(t.current);
- };
- }, []), [r, n];
- };
- var Ji = r3() ? import_react.useLayoutEffect : import_react.useEffect;
- var Ki = function(t) {
- return +setTimeout(t, 16);
- };
- var eo = function(t) {
- return clearTimeout(t);
- };
- typeof window < "u" && "requestAnimationFrame" in window && (Ki = function(t) {
- return window.requestAnimationFrame(t);
- }, eo = function(t) {
- return window.cancelAnimationFrame(t);
- });
- var Tr = 0;
- var v3 = /* @__PURE__ */ new Map();
- function to(e) {
- v3.delete(e);
- }
- var $n = function(t) {
- var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
- Tr += 1;
- var r = Tr;
- function i(o) {
- if (o === 0)
- to(r), t();
- else {
- var a = Ki(function() {
- i(o - 1);
- });
- v3.set(r, a);
- }
- }
- return i(n), r;
- };
- $n.cancel = function(e) {
- var t = v3.get(e);
- return to(e), eo(t);
- };
- var $7 = function() {
- var e = Q.useRef(null);
- function t() {
- $n.cancel(e.current);
- }
- function n(r) {
- var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 2;
- t();
- var o = $n(function() {
- i <= 1 ? r({
- isCanceled: function() {
- return o !== e.current;
- }
- }) : n(r, i - 1);
- });
- e.current = o;
- }
- return Q.useEffect(function() {
- return function() {
- t();
- };
- }, []), [n, t];
- };
- var k7 = [Ke, $1, k1, p3];
- var B7 = [Ke, Wi];
- var no = false;
- var F7 = true;
- function ro(e) {
- return e === k1 || e === p3;
- }
- var U7 = function(e, t, n) {
- var r = Tn2(xr), i = Re(r, 2), o = i[0], a = i[1], s = $7(), c = Re(s, 2), h = c[0], d = c[1];
- function u() {
- a(Ke, true);
- }
- var p = t ? B7 : k7;
- return Ji(function() {
- if (o !== xr && o !== p3) {
- var C = p.indexOf(o), S = p[C + 1], _ = n(o);
- _ === no ? a(S, true) : S && h(function(m) {
- function w() {
- m.isCanceled() || a(S, true);
- }
- _ === true ? w() : Promise.resolve(_).then(w);
- });
- }
- }, [e, o]), Q.useEffect(function() {
- return function() {
- d();
- };
- }, []), [u, o];
- };
- function z7(e, t, n, r) {
- var i = r.motionEnter, o = i === void 0 ? true : i, a = r.motionAppear, s = a === void 0 ? true : a, c = r.motionLeave, h = c === void 0 ? true : c, d = r.motionDeadline, u = r.motionLeaveImmediately, p = r.onAppearPrepare, C = r.onEnterPrepare, S = r.onLeavePrepare, _ = r.onAppearStart, m = r.onEnterStart, w = r.onLeaveStart, I = r.onAppearActive, R = r.onEnterActive, P = r.onLeaveActive, M = r.onAppearEnd, x = r.onEnterEnd, N = r.onLeaveEnd, A = r.onVisibleChanged, j = Tn2(), B = Re(j, 2), Z = B[0], G = B[1], ee = V7(y1), ae = Re(ee, 2), me = ae[0], ie = ae[1], pe = Tn2(null), Ce = Re(pe, 2), k = Ce[0], V = Ce[1], D = me(), Y = (0, import_react.useRef)(false), X = (0, import_react.useRef)(null);
- function W() {
- return n();
- }
- var J = (0, import_react.useRef)(false);
- function se() {
- ie(y1), V(null, true);
- }
- var be = et(function(ye) {
- var ge = me();
- if (ge !== y1) {
- var De = W();
- if (!(ye && !ye.deadline && ye.target !== De)) {
- var d1 = J.current, We;
- ge === ht && d1 ? We = M == null ? void 0 : M(De, ye) : ge === pt && d1 ? We = x == null ? void 0 : x(De, ye) : ge === vt && d1 && (We = N == null ? void 0 : N(De, ye)), d1 && We !== false && se();
- }
- }
- }), Ve2 = j7(be), we = Re(Ve2, 1), xe = we[0], V1 = function(ge) {
- switch (ge) {
- case ht:
- return Oe(Oe(Oe({}, Ke, p), $1, _), k1, I);
- case pt:
- return Oe(Oe(Oe({}, Ke, C), $1, m), k1, R);
- case vt:
- return Oe(Oe(Oe({}, Ke, S), $1, w), k1, P);
- default:
- return {};
- }
- }, Xe2 = Q.useMemo(function() {
- return V1(D);
- }, [D]), g1 = U7(D, !e, function(ye) {
- if (ye === Ke) {
- var ge = Xe2[Ke];
- return ge ? ge(W()) : no;
- }
- if (Fe2 in Xe2) {
- var De;
- V(((De = Xe2[Fe2]) === null || De === void 0 ? void 0 : De.call(Xe2, W(), null)) || null);
- }
- return Fe2 === k1 && D !== y1 && (xe(W()), d > 0 && (clearTimeout(X.current), X.current = setTimeout(function() {
- be({
- deadline: true
- });
- }, d))), Fe2 === Wi && se(), F7;
- }), r1 = Re(g1, 2), Be = r1[0], Fe2 = r1[1], C1 = ro(Fe2);
- J.current = C1, Ji(function() {
- G(t);
- var ye = Y.current;
- Y.current = true;
- var ge;
- !ye && t && s && (ge = ht), ye && t && o && (ge = pt), (ye && !t && h || !ye && u && !t && h) && (ge = vt);
- var De = V1(ge);
- ge && (e || De[Ke]) ? (ie(ge), Be()) : ie(y1);
- }, [t]), (0, import_react.useEffect)(function() {
- (D === ht && !s || // Cancel enter
- D === pt && !o || // Cancel leave
- D === vt && !h) && ie(y1);
- }, [s, o, h]), (0, import_react.useEffect)(function() {
- return function() {
- Y.current = false, clearTimeout(X.current);
- };
- }, []);
- var Ze2 = Q.useRef(false);
- (0, import_react.useEffect)(function() {
- Z && (Ze2.current = true), Z !== void 0 && D === y1 && ((Ze2.current || Z) && (A == null || A(Z)), Ze2.current = true);
- }, [Z, D]);
- var i1 = k;
- return Xe2[Ke] && Fe2 === $1 && (i1 = he({
- transition: "none"
- }, i1)), [D, Fe2, i1, Z != null ? Z : t];
- }
- function Z7(e) {
- var t = e;
- t1(e) === "object" && (t = e.transitionSupport);
- function n(i, o) {
- return !!(i.motionName && t && o !== false);
- }
- var r = Q.forwardRef(function(i, o) {
- var a = i.visible, s = a === void 0 ? true : a, c = i.removeOnLeave, h = c === void 0 ? true : c, d = i.forceRender, u = i.children, p = i.motionName, C = i.leavedClassName, S = i.eventProps, _ = Q.useContext(T7), m = _.motion, w = n(i, m), I = (0, import_react.useRef)(), R = (0, import_react.useRef)();
- function P() {
- try {
- return I.current instanceof HTMLElement ? I.current : R7(R.current);
- } catch {
- return null;
- }
- }
- var M = z7(w, s, P, i), x = Re(M, 4), N = x[0], A = x[1], j = x[2], B = x[3], Z = Q.useRef(B);
- B && (Z.current = true);
- var G = Q.useCallback(function(k) {
- I.current = k, u0(o, k);
- }, [o]), ee, ae = he(he({}, S), {}, {
- visible: s
- });
- if (!u)
- ee = null;
- else if (N === y1)
- B ? ee = u(he({}, ae), G) : !h && Z.current && C ? ee = u(he(he({}, ae), {}, {
- className: C
- }), G) : d || !h && !C ? ee = u(he(he({}, ae), {}, {
- style: {
- display: "none"
- }
- }), G) : ee = null;
- else {
- var me;
- A === Ke ? me = "prepare" : ro(A) ? me = "active" : A === $1 && (me = "start");
- var ie = Rr(p, "".concat(N, "-").concat(me));
- ee = u(he(he({}, ae), {}, {
- className: J1(Rr(p, N), Oe(Oe({}, ie, ie && me), p, typeof p == "string")),
- style: j
- }), G);
- }
- if (Q.isValidElement(ee) && f0(ee)) {
- var pe = ee, Ce = pe.ref;
- Ce || (ee = Q.cloneElement(ee, {
- ref: G
- }));
- }
- return Q.createElement(I7, {
- ref: R
- }, ee);
- });
- return r.displayName = "CSSMotion", r;
- }
- var W7 = Z7(Qi);
- var kn = "add";
- var Bn = "keep";
- var Fn = "remove";
- var yn = "removed";
- function G7(e) {
- var t;
- return e && t1(e) === "object" && "key" in e ? t = e : t = {
- key: e
- }, he(he({}, t), {}, {
- key: String(t.key)
- });
- }
- function Un() {
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
- return e.map(G7);
- }
- function Y7() {
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], n = [], r = 0, i = t.length, o = Un(e), a = Un(t);
- o.forEach(function(h) {
- for (var d = false, u = r; u < i; u += 1) {
- var p = a[u];
- if (p.key === h.key) {
- r < u && (n = n.concat(a.slice(r, u).map(function(C) {
- return he(he({}, C), {}, {
- status: kn
- });
- })), r = u), n.push(he(he({}, p), {}, {
- status: Bn
- })), r += 1, d = true;
- break;
- }
- }
- d || n.push(he(he({}, h), {}, {
- status: Fn
- }));
- }), r < i && (n = n.concat(a.slice(r).map(function(h) {
- return he(he({}, h), {}, {
- status: kn
- });
- })));
- var s = {};
- n.forEach(function(h) {
- var d = h.key;
- s[d] = (s[d] || 0) + 1;
- });
- var c = Object.keys(s).filter(function(h) {
- return s[h] > 1;
- });
- return c.forEach(function(h) {
- n = n.filter(function(d) {
- var u = d.key, p = d.status;
- return u !== h || p !== Fn;
- }), n.forEach(function(d) {
- d.key === h && (d.status = Bn);
- });
- }), n;
- }
- var q7 = ["component", "children", "onVisibleChanged", "onAllRemoved"];
- var X7 = ["status"];
- var Q7 = ["eventProps", "visible", "children", "motionName", "motionAppear", "motionEnter", "motionLeave", "motionLeaveImmediately", "motionDeadline", "removeOnLeave", "leavedClassName", "onAppearPrepare", "onAppearStart", "onAppearActive", "onAppearEnd", "onEnterStart", "onEnterActive", "onEnterEnd", "onLeaveStart", "onLeaveActive", "onLeaveEnd"];
- function J7(e) {
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : W7, n = function(r) {
- Ui(o, r);
- var i = Zi(o);
- function o() {
- var a;
- Bi(this, o);
- for (var s = arguments.length, c = new Array(s), h = 0; h < s; h++)
- c[h] = arguments[h];
- return a = i.call.apply(i, [this].concat(c)), Oe(jn(a), "state", {
- keyEntities: []
- }), Oe(jn(a), "removeKey", function(d) {
- var u = a.state.keyEntities, p = u.map(function(C) {
- return C.key !== d ? C : he(he({}, C), {}, {
- status: yn
- });
- });
- return a.setState({
- keyEntities: p
- }), p.filter(function(C) {
- var S = C.status;
- return S !== yn;
- }).length;
- }), a;
- }
- return Fi(o, [{
- key: "render",
- value: function() {
- var s = this, c = this.state.keyEntities, h = this.props, d = h.component, u = h.children, p = h.onVisibleChanged, C = h.onAllRemoved, S = At(h, q7), _ = d || Q.Fragment, m = {};
- return Q7.forEach(function(w) {
- m[w] = S[w], delete S[w];
- }), delete S.keys, Q.createElement(_, S, c.map(function(w, I) {
- var R = w.status, P = At(w, X7), M = R === kn || R === Bn;
- return Q.createElement(t, T1({}, m, {
- key: P.key,
- visible: M,
- eventProps: P,
- onVisibleChanged: function(N) {
- if (p == null || p(N, {
- key: P.key
- }), !N) {
- var A = s.removeKey(P.key);
- A === 0 && C && C();
- }
- }
- }), function(x, N) {
- return u(he(he({}, x), {}, {
- index: I
- }), N);
- });
- }));
- }
- }], [{
- key: "getDerivedStateFromProps",
- value: function(s, c) {
- var h = s.keys, d = c.keyEntities, u = Un(h), p = Y7(d, u);
- return {
- keyEntities: p.filter(function(C) {
- var S = d.find(function(_) {
- var m = _.key;
- return C.key === m;
- });
- return !(S && S.status === yn && C.status === Fn);
- })
- };
- }
- }]), o;
- }(Q.Component);
- return Oe(n, "defaultProps", {
- component: "div"
- }), n;
- }
- var K7 = J7(Qi);
- var te = {
- /**
- * MAC_ENTER
- */
- MAC_ENTER: 3,
- /**
- * BACKSPACE
- */
- BACKSPACE: 8,
- /**
- * TAB
- */
- TAB: 9,
- /**
- * NUMLOCK on FF/Safari Mac
- */
- NUM_CENTER: 12,
- // NUMLOCK on FF/Safari Mac
- /**
- * ENTER
- */
- ENTER: 13,
- /**
- * SHIFT
- */
- SHIFT: 16,
- /**
- * CTRL
- */
- CTRL: 17,
- /**
- * ALT
- */
- ALT: 18,
- /**
- * PAUSE
- */
- PAUSE: 19,
- /**
- * CAPS_LOCK
- */
- CAPS_LOCK: 20,
- /**
- * ESC
- */
- ESC: 27,
- /**
- * SPACE
- */
- SPACE: 32,
- /**
- * PAGE_UP
- */
- PAGE_UP: 33,
- // also NUM_NORTH_EAST
- /**
- * PAGE_DOWN
- */
- PAGE_DOWN: 34,
- // also NUM_SOUTH_EAST
- /**
- * END
- */
- END: 35,
- // also NUM_SOUTH_WEST
- /**
- * HOME
- */
- HOME: 36,
- // also NUM_NORTH_WEST
- /**
- * LEFT
- */
- LEFT: 37,
- // also NUM_WEST
- /**
- * UP
- */
- UP: 38,
- // also NUM_NORTH
- /**
- * RIGHT
- */
- RIGHT: 39,
- // also NUM_EAST
- /**
- * DOWN
- */
- DOWN: 40,
- // also NUM_SOUTH
- /**
- * PRINT_SCREEN
- */
- PRINT_SCREEN: 44,
- /**
- * INSERT
- */
- INSERT: 45,
- // also NUM_INSERT
- /**
- * DELETE
- */
- DELETE: 46,
- // also NUM_DELETE
- /**
- * ZERO
- */
- ZERO: 48,
- /**
- * ONE
- */
- ONE: 49,
- /**
- * TWO
- */
- TWO: 50,
- /**
- * THREE
- */
- THREE: 51,
- /**
- * FOUR
- */
- FOUR: 52,
- /**
- * FIVE
- */
- FIVE: 53,
- /**
- * SIX
- */
- SIX: 54,
- /**
- * SEVEN
- */
- SEVEN: 55,
- /**
- * EIGHT
- */
- EIGHT: 56,
- /**
- * NINE
- */
- NINE: 57,
- /**
- * QUESTION_MARK
- */
- QUESTION_MARK: 63,
- // needs localization
- /**
- * A
- */
- A: 65,
- /**
- * B
- */
- B: 66,
- /**
- * C
- */
- C: 67,
- /**
- * D
- */
- D: 68,
- /**
- * E
- */
- E: 69,
- /**
- * F
- */
- F: 70,
- /**
- * G
- */
- G: 71,
- /**
- * H
- */
- H: 72,
- /**
- * I
- */
- I: 73,
- /**
- * J
- */
- J: 74,
- /**
- * K
- */
- K: 75,
- /**
- * L
- */
- L: 76,
- /**
- * M
- */
- M: 77,
- /**
- * N
- */
- N: 78,
- /**
- * O
- */
- O: 79,
- /**
- * P
- */
- P: 80,
- /**
- * Q
- */
- Q: 81,
- /**
- * R
- */
- R: 82,
- /**
- * S
- */
- S: 83,
- /**
- * T
- */
- T: 84,
- /**
- * U
- */
- U: 85,
- /**
- * V
- */
- V: 86,
- /**
- * W
- */
- W: 87,
- /**
- * X
- */
- X: 88,
- /**
- * Y
- */
- Y: 89,
- /**
- * Z
- */
- Z: 90,
- /**
- * META
- */
- META: 91,
- // WIN_KEY_LEFT
- /**
- * WIN_KEY_RIGHT
- */
- WIN_KEY_RIGHT: 92,
- /**
- * CONTEXT_MENU
- */
- CONTEXT_MENU: 93,
- /**
- * NUM_ZERO
- */
- NUM_ZERO: 96,
- /**
- * NUM_ONE
- */
- NUM_ONE: 97,
- /**
- * NUM_TWO
- */
- NUM_TWO: 98,
- /**
- * NUM_THREE
- */
- NUM_THREE: 99,
- /**
- * NUM_FOUR
- */
- NUM_FOUR: 100,
- /**
- * NUM_FIVE
- */
- NUM_FIVE: 101,
- /**
- * NUM_SIX
- */
- NUM_SIX: 102,
- /**
- * NUM_SEVEN
- */
- NUM_SEVEN: 103,
- /**
- * NUM_EIGHT
- */
- NUM_EIGHT: 104,
- /**
- * NUM_NINE
- */
- NUM_NINE: 105,
- /**
- * NUM_MULTIPLY
- */
- NUM_MULTIPLY: 106,
- /**
- * NUM_PLUS
- */
- NUM_PLUS: 107,
- /**
- * NUM_MINUS
- */
- NUM_MINUS: 109,
- /**
- * NUM_PERIOD
- */
- NUM_PERIOD: 110,
- /**
- * NUM_DIVISION
- */
- NUM_DIVISION: 111,
- /**
- * F1
- */
- F1: 112,
- /**
- * F2
- */
- F2: 113,
- /**
- * F3
- */
- F3: 114,
- /**
- * F4
- */
- F4: 115,
- /**
- * F5
- */
- F5: 116,
- /**
- * F6
- */
- F6: 117,
- /**
- * F7
- */
- F7: 118,
- /**
- * F8
- */
- F8: 119,
- /**
- * F9
- */
- F9: 120,
- /**
- * F10
- */
- F10: 121,
- /**
- * F11
- */
- F11: 122,
- /**
- * F12
- */
- F12: 123,
- /**
- * NUMLOCK
- */
- NUMLOCK: 144,
- /**
- * SEMICOLON
- */
- SEMICOLON: 186,
- // needs localization
- /**
- * DASH
- */
- DASH: 189,
- // needs localization
- /**
- * EQUALS
- */
- EQUALS: 187,
- // needs localization
- /**
- * COMMA
- */
- COMMA: 188,
- // needs localization
- /**
- * PERIOD
- */
- PERIOD: 190,
- // needs localization
- /**
- * SLASH
- */
- SLASH: 191,
- // needs localization
- /**
- * APOSTROPHE
- */
- APOSTROPHE: 192,
- // needs localization
- /**
- * SINGLE_QUOTE
- */
- SINGLE_QUOTE: 222,
- // needs localization
- /**
- * OPEN_SQUARE_BRACKET
- */
- OPEN_SQUARE_BRACKET: 219,
- // needs localization
- /**
- * BACKSLASH
- */
- BACKSLASH: 220,
- // needs localization
- /**
- * CLOSE_SQUARE_BRACKET
- */
- CLOSE_SQUARE_BRACKET: 221,
- // needs localization
- /**
- * WIN_KEY
- */
- WIN_KEY: 224,
- /**
- * MAC_FF_META
- */
- MAC_FF_META: 224,
- // Firefox (Gecko) fires this for the meta key instead of 91
- /**
- * WIN_IME
- */
- WIN_IME: 229,
- // ======================== Function ========================
- /**
- * whether text and modified key is entered at the same time.
- */
- isTextModifyingKeyEvent: function(t) {
- var n = t.keyCode;
- if (t.altKey && !t.ctrlKey || t.metaKey || // Function keys don't generate text
- n >= te.F1 && n <= te.F12)
- return false;
- switch (n) {
- case te.ALT:
- case te.CAPS_LOCK:
- case te.CONTEXT_MENU:
- case te.CTRL:
- case te.DOWN:
- case te.END:
- case te.ESC:
- case te.HOME:
- case te.INSERT:
- case te.LEFT:
- case te.MAC_FF_META:
- case te.META:
- case te.NUMLOCK:
- case te.NUM_CENTER:
- case te.PAGE_DOWN:
- case te.PAGE_UP:
- case te.PAUSE:
- case te.PRINT_SCREEN:
- case te.RIGHT:
- case te.SHIFT:
- case te.UP:
- case te.WIN_KEY:
- case te.WIN_KEY_RIGHT:
- return false;
- default:
- return true;
- }
- },
- /**
- * whether character is entered.
- */
- isCharacterKey: function(t) {
- if (t >= te.ZERO && t <= te.NINE || t >= te.NUM_ZERO && t <= te.NUM_MULTIPLY || t >= te.A && t <= te.Z || window.navigator.userAgent.indexOf("WebKit") !== -1 && t === 0)
- return true;
- switch (t) {
- case te.SPACE:
- case te.QUESTION_MARK:
- case te.NUM_PLUS:
- case te.NUM_MINUS:
- case te.NUM_PERIOD:
- case te.NUM_DIVISION:
- case te.SEMICOLON:
- case te.DASH:
- case te.EQUALS:
- case te.COMMA:
- case te.PERIOD:
- case te.SLASH:
- case te.APOSTROPHE:
- case te.SINGLE_QUOTE:
- case te.OPEN_SQUARE_BRACKET:
- case te.BACKSLASH:
- case te.CLOSE_SQUARE_BRACKET:
- return true;
- default:
- return false;
- }
- }
- };
- var e8 = `accept acceptCharset accessKey action allowFullScreen allowTransparency
- alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
- charSet checked classID className colSpan cols content contentEditable contextMenu
- controls coords crossOrigin data dateTime default defer dir disabled download draggable
- encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
- headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
- is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
- mediaGroup method min minLength multiple muted name noValidate nonce open
- optimum pattern placeholder poster preload radioGroup readOnly rel required
- reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
- shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
- summary tabIndex target title type useMap value width wmode wrap`;
- var t8 = `onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
- onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
- onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
- onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
- onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
- onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
- onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`;
- var n8 = "".concat(e8, " ").concat(t8).split(/[\s\n]+/);
- var r8 = "aria-";
- var i8 = "data-";
- function Nr(e, t) {
- return e.indexOf(t) === 0;
- }
- function o8(e) {
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false, n;
- t === false ? n = {
- aria: true,
- data: true,
- attr: true
- } : t === true ? n = {
- aria: true
- } : n = v0({}, t);
- var r = {};
- return Object.keys(e).forEach(function(i) {
- (n.aria && (i === "role" || Nr(i, r8)) || // Data
- n.data && Nr(i, i8) || // Attr
- n.attr && n8.includes(i)) && (r[i] = e[i]);
- }), r;
- }
- var a8 = Q.forwardRef(function(e, t) {
- var n = e.prefixCls, r = e.style, i = e.className, o = e.duration, a = o === void 0 ? 4.5 : o, s = e.showProgress, c = e.pauseOnHover, h = c === void 0 ? true : c, d = e.eventKey, u = e.content, p = e.closable, C = e.closeIcon, S = C === void 0 ? "x" : C, _ = e.props, m = e.onClick, w = e.onNoticeClose, I = e.times, R = e.hovering, P = Q.useState(false), M = Re(P, 2), x = M[0], N = M[1], A = Q.useState(0), j = Re(A, 2), B = j[0], Z = j[1], G = Q.useState(0), ee = Re(G, 2), ae = ee[0], me = ee[1], ie = R || x, pe = a > 0 && s, Ce = function() {
- w(d);
- }, k = function(J) {
- (J.key === "Enter" || J.code === "Enter" || J.keyCode === te.ENTER) && Ce();
- };
- Q.useEffect(function() {
- if (!ie && a > 0) {
- var W = Date.now() - ae, J = setTimeout(function() {
- Ce();
- }, a * 1e3 - ae);
- return function() {
- h && clearTimeout(J), me(Date.now() - W);
- };
- }
- }, [a, ie, I]), Q.useEffect(function() {
- if (!ie && pe && (h || ae === 0)) {
- var W = performance.now(), J, se = function be() {
- cancelAnimationFrame(J), J = requestAnimationFrame(function(Ve2) {
- var we = Ve2 + ae - W, xe = Math.min(we / (a * 1e3), 1);
- Z(xe * 100), xe < 1 && be();
- });
- };
- return se(), function() {
- h && cancelAnimationFrame(J);
- };
- }
- }, [a, ae, ie, pe, I]);
- var V = Q.useMemo(function() {
- return t1(p) === "object" && p !== null ? p : p ? {
- closeIcon: S
- } : {};
- }, [p, S]), D = o8(V, true), Y = 100 - (!B || B < 0 ? 0 : B > 100 ? 100 : B), X = "".concat(n, "-notice");
- return Q.createElement("div", T1({}, _, {
- ref: t,
- className: J1(X, i, Oe({}, "".concat(X, "-closable"), p)),
- style: r,
- onMouseEnter: function(J) {
- var se;
- N(true), _ == null || (se = _.onMouseEnter) === null || se === void 0 || se.call(_, J);
- },
- onMouseLeave: function(J) {
- var se;
- N(false), _ == null || (se = _.onMouseLeave) === null || se === void 0 || se.call(_, J);
- },
- onClick: m
- }), Q.createElement("div", {
- className: "".concat(X, "-content")
- }, u), p && Q.createElement("a", T1({
- tabIndex: 0,
- className: "".concat(X, "-close"),
- onKeyDown: k,
- "aria-label": "Close"
- }, D, {
- onClick: function(J) {
- J.preventDefault(), J.stopPropagation(), Ce();
- }
- }), V.closeIcon), pe && Q.createElement("progress", {
- className: "".concat(X, "-progress"),
- max: "100",
- value: Y
- }, Y + "%"));
- });
- var s8 = import_react.default.createContext({});
- var Ir = 8;
- var Vr2 = 3;
- var Dr = 16;
- var l8 = function(t) {
- var n = {
- offset: Ir,
- threshold: Vr2,
- gap: Dr
- };
- if (t && t1(t) === "object") {
- var r, i, o;
- n.offset = (r = t.offset) !== null && r !== void 0 ? r : Ir, n.threshold = (i = t.threshold) !== null && i !== void 0 ? i : Vr2, n.gap = (o = t.gap) !== null && o !== void 0 ? o : Dr;
- }
- return [!!t, n];
- };
- var c8 = ["className", "style", "classNames", "styles"];
- var u8 = function(t) {
- var n = t.configList, r = t.placement, i = t.prefixCls, o = t.className, a = t.style, s = t.motion, c = t.onAllNoticeRemoved, h = t.onNoticeClose, d = t.stack, u = (0, import_react.useContext)(s8), p = u.classNames, C = (0, import_react.useRef)({}), S = (0, import_react.useState)(null), _ = Re(S, 2), m = _[0], w = _[1], I = (0, import_react.useState)([]), R = Re(I, 2), P = R[0], M = R[1], x = n.map(function(ie) {
- return {
- config: ie,
- key: String(ie.key)
- };
- }), N = l8(d), A = Re(N, 2), j = A[0], B = A[1], Z = B.offset, G = B.threshold, ee = B.gap, ae = j && (P.length > 0 || x.length <= G), me = typeof s == "function" ? s(r) : s;
- return (0, import_react.useEffect)(function() {
- j && P.length > 1 && M(function(ie) {
- return ie.filter(function(pe) {
- return x.some(function(Ce) {
- var k = Ce.key;
- return pe === k;
- });
- });
- });
- }, [P, x, j]), (0, import_react.useEffect)(function() {
- var ie;
- if (j && C.current[(ie = x[x.length - 1]) === null || ie === void 0 ? void 0 : ie.key]) {
- var pe;
- w(C.current[(pe = x[x.length - 1]) === null || pe === void 0 ? void 0 : pe.key]);
- }
- }, [x, j]), import_react.default.createElement(K7, T1({
- key: r,
- className: J1(i, "".concat(i, "-").concat(r), p == null ? void 0 : p.list, o, Oe(Oe({}, "".concat(i, "-stack"), !!j), "".concat(i, "-stack-expanded"), ae)),
- style: a,
- keys: x,
- motionAppear: true
- }, me, {
- onAllRemoved: function() {
- c(r);
- }
- }), function(ie, pe) {
- var Ce = ie.config, k = ie.className, V = ie.style, D = ie.index, Y = Ce, X = Y.key, W = Y.times, J = String(X), se = Ce, be = se.className, Ve2 = se.style, we = se.classNames, xe = se.styles, V1 = At(se, c8), Xe2 = x.findIndex(function(We) {
- return We.key === J;
- }), g1 = {};
- if (j) {
- var r1 = x.length - 1 - (Xe2 > -1 ? Xe2 : D - 1), Be = r === "top" || r === "bottom" ? "-50%" : "0";
- if (r1 > 0) {
- var Fe2, C1, Ze2;
- g1.height = ae ? (Fe2 = C.current[J]) === null || Fe2 === void 0 ? void 0 : Fe2.offsetHeight : m == null ? void 0 : m.offsetHeight;
- for (var i1 = 0, ye = 0; ye < r1; ye++) {
- var ge;
- i1 += ((ge = C.current[x[x.length - 1 - ye].key]) === null || ge === void 0 ? void 0 : ge.offsetHeight) + ee;
- }
- var De = (ae ? i1 : r1 * Z) * (r.startsWith("top") ? 1 : -1), d1 = !ae && m !== null && m !== void 0 && m.offsetWidth && (C1 = C.current[J]) !== null && C1 !== void 0 && C1.offsetWidth ? ((m == null ? void 0 : m.offsetWidth) - Z * 2 * (r1 < 3 ? r1 : 3)) / ((Ze2 = C.current[J]) === null || Ze2 === void 0 ? void 0 : Ze2.offsetWidth) : 1;
- g1.transform = "translate3d(".concat(Be, ", ").concat(De, "px, 0) scaleX(").concat(d1, ")");
- } else
- g1.transform = "translate3d(".concat(Be, ", 0, 0)");
- }
- return import_react.default.createElement("div", {
- ref: pe,
- className: J1("".concat(i, "-notice-wrapper"), k, we == null ? void 0 : we.wrapper),
- style: he(he(he({}, V), g1), xe == null ? void 0 : xe.wrapper),
- onMouseEnter: function() {
- return M(function(o1) {
- return o1.includes(J) ? o1 : [].concat(Q1(o1), [J]);
- });
- },
- onMouseLeave: function() {
- return M(function(o1) {
- return o1.filter(function(at) {
- return at !== J;
- });
- });
- }
- }, import_react.default.createElement(a8, T1({}, V1, {
- ref: function(o1) {
- Xe2 > -1 ? C.current[J] = o1 : delete C.current[J];
- },
- prefixCls: i,
- classNames: we,
- styles: xe,
- className: J1(be, p == null ? void 0 : p.notice),
- style: Ve2,
- times: W,
- key: X,
- eventKey: X,
- onNoticeClose: h,
- hovering: j && P.length > 0
- })));
- });
- };
- var f8 = Q.forwardRef(function(e, t) {
- var n = e.prefixCls, r = n === void 0 ? "rc-notification" : n, i = e.container, o = e.motion, a = e.maxCount, s = e.className, c = e.style, h = e.onAllRemoved, d = e.stack, u = e.renderNotifications, p = Q.useState([]), C = Re(p, 2), S = C[0], _ = C[1], m = function(j) {
- var B, Z = S.find(function(G) {
- return G.key === j;
- });
- Z == null || (B = Z.onClose) === null || B === void 0 || B.call(Z), _(function(G) {
- return G.filter(function(ee) {
- return ee.key !== j;
- });
- });
- };
- Q.useImperativeHandle(t, function() {
- return {
- open: function(j) {
- _(function(B) {
- var Z = Q1(B), G = Z.findIndex(function(me) {
- return me.key === j.key;
- }), ee = he({}, j);
- if (G >= 0) {
- var ae;
- ee.times = (((ae = B[G]) === null || ae === void 0 ? void 0 : ae.times) || 0) + 1, Z[G] = ee;
- } else
- ee.times = 0, Z.push(ee);
- return a > 0 && Z.length > a && (Z = Z.slice(-a)), Z;
- });
- },
- close: function(j) {
- m(j);
- },
- destroy: function() {
- _([]);
- }
- };
- });
- var w = Q.useState({}), I = Re(w, 2), R = I[0], P = I[1];
- Q.useEffect(function() {
- var A = {};
- S.forEach(function(j) {
- var B = j.placement, Z = B === void 0 ? "topRight" : B;
- Z && (A[Z] = A[Z] || [], A[Z].push(j));
- }), Object.keys(R).forEach(function(j) {
- A[j] = A[j] || [];
- }), P(A);
- }, [S]);
- var M = function(j) {
- P(function(B) {
- var Z = he({}, B), G = Z[j] || [];
- return G.length || delete Z[j], Z;
- });
- }, x = Q.useRef(false);
- if (Q.useEffect(function() {
- Object.keys(R).length > 0 ? x.current = true : x.current && (h == null || h(), x.current = false);
- }, [R]), !i)
- return null;
- var N = Object.keys(R);
- return (0, import_react_dom.createPortal)(Q.createElement(Q.Fragment, null, N.map(function(A) {
- var j = R[A], B = Q.createElement(u8, {
- key: A,
- configList: j,
- placement: A,
- prefixCls: r,
- className: s == null ? void 0 : s(A),
- style: c == null ? void 0 : c(A),
- motion: o,
- onNoticeClose: m,
- onAllNoticeRemoved: M,
- stack: d
- });
- return u ? u(B, {
- prefixCls: r,
- key: A
- }) : B;
- })), i);
- });
- var d8 = ["getContainer", "motion", "prefixCls", "maxCount", "className", "style", "onAllRemoved", "stack", "renderNotifications"];
- var h8 = function() {
- return document.body;
- };
- var Ar = 0;
- function p8() {
- for (var e = {}, t = arguments.length, n = new Array(t), r = 0; r < t; r++)
- n[r] = arguments[r];
- return n.forEach(function(i) {
- i && Object.keys(i).forEach(function(o) {
- var a = i[o];
- a !== void 0 && (e[o] = a);
- });
- }), e;
- }
- function v8() {
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.getContainer, n = t === void 0 ? h8 : t, r = e.motion, i = e.prefixCls, o = e.maxCount, a = e.className, s = e.style, c = e.onAllRemoved, h = e.stack, d = e.renderNotifications, u = At(e, d8), p = Q.useState(), C = Re(p, 2), S = C[0], _ = C[1], m = Q.useRef(), w = Q.createElement(f8, {
- container: S,
- ref: m,
- prefixCls: i,
- motion: r,
- maxCount: o,
- className: a,
- style: s,
- onAllRemoved: c,
- stack: h,
- renderNotifications: d
- }), I = Q.useState([]), R = Re(I, 2), P = R[0], M = R[1], x = Q.useMemo(function() {
- return {
- open: function(A) {
- var j = p8(u, A);
- (j.key === null || j.key === void 0) && (j.key = "rc-notification-".concat(Ar), Ar += 1), M(function(B) {
- return [].concat(Q1(B), [{
- type: "open",
- config: j
- }]);
- });
- },
- close: function(A) {
- M(function(j) {
- return [].concat(Q1(j), [{
- type: "close",
- key: A
- }]);
- });
- },
- destroy: function() {
- M(function(A) {
- return [].concat(Q1(A), [{
- type: "destroy"
- }]);
- });
- }
- };
- }, []);
- return Q.useEffect(function() {
- _(n());
- }), Q.useEffect(function() {
- m.current && P.length && (P.forEach(function(N) {
- switch (N.type) {
- case "open":
- m.current.open(N.config);
- break;
- case "close":
- m.current.close(N.key);
- break;
- case "destroy":
- m.current.destroy();
- break;
- }
- }), M(function(N) {
- return N.filter(function(A) {
- return !P.includes(A);
- });
- }));
- }, [P]), [x, w];
- }
- var m8 = "univer-notification";
- var g8 = "univer-notification-notice";
- var C8 = "univer-notification-notice-wrapper";
- var b8 = "univer-notification-notice-content";
- var y8 = "univer-notification-notice-close";
- var L8 = "univer-notification-icon";
- var _8 = "univer-notification-icon-success";
- var S8 = "univer-notification-icon-info";
- var M8 = "univer-notification-icon-warning";
- var w8 = "univer-notification-icon-error";
- var x8 = "univer-notification-content-container";
- var E8 = "univer-notification-title";
- var H8 = "univer-notification-content";
- var O8 = "univer-notification-content-ellipsis";
- var R8 = "univer-notification-top";
- var T8 = "univer-notification-topLeft";
- var N8 = "univer-notification-topRight";
- var I8 = "univer-notification-bottom";
- var V8 = "univer-notification-bottomRight";
- var D8 = "univer-notification-bottomLeft";
- var A8 = "univer-notification-fade";
- var P8 = "univer-notification-fade-appear-prepare";
- var j8 = "univer-notification-fade-appear-start";
- var $8 = "univer-notification-fade-appear-active";
- var k8 = "univer-notification-fade-appear";
- var B8 = "univer-notification-fade-enter";
- var F8 = "univer-notification-fade-leave";
- var U8 = "univer-notification-fade-enter-active";
- var z8 = "univer-notification-fade-in";
- var Z8 = "univer-notification-fade-leave-active";
- var W8 = "univer-notification-fade-out";
- var e1 = {
- notification: m8,
- notificationNotice: g8,
- notificationNoticeWrapper: C8,
- notificationNoticeContent: b8,
- notificationNoticeClose: y8,
- notificationIcon: L8,
- notificationIconSuccess: _8,
- notificationIconInfo: S8,
- notificationIconWarning: M8,
- notificationIconError: w8,
- notificationContentContainer: x8,
- notificationTitle: E8,
- notificationContent: H8,
- notificationContentEllipsis: O8,
- notificationTop: R8,
- notificationTopLeft: T8,
- notificationTopRight: N8,
- notificationBottom: I8,
- notificationBottomRight: V8,
- notificationBottomLeft: D8,
- notificationFade: A8,
- notificationFadeAppearPrepare: P8,
- notificationFadeAppearStart: j8,
- notificationFadeAppearActive: $8,
- notificationFadeAppear: k8,
- notificationFadeEnter: B8,
- notificationFadeLeave: F8,
- notificationFadeEnterActive: U8,
- notificationFadeIn: z8,
- notificationFadeLeaveActive: Z8,
- notificationFadeOut: W8
- };
- var G8 = {
- success: g.jsx(W9, { className: e1.notificationIconSuccess }),
- info: g.jsx(Rn, { className: e1.notificationIconInfo }),
- warning: g.jsx(Rn, { className: e1.notificationIconWarning }),
- error: g.jsx($6, { className: e1.notificationIconError })
- };
- var io = new Subject();
- var Y8 = (e) => {
- const { type: t, content: n, title: r, lines: i = 0 } = e, o = je(e1.notificationContent, {
- [e1.notificationContentEllipsis]: i !== 0
- });
- return g.jsxs(g.Fragment, { children: [
- g.jsx("span", { className: e1.notificationIcon, children: G8[t] }),
- g.jsxs("div", { className: e1.notificationContentContainer, children: [
- g.jsx("span", { className: e1.notificationTitle, children: r }),
- g.jsx("span", { className: o, style: { WebkitLineClamp: i }, children: n })
- ] })
- ] });
- };
- function q8() {
- const { mountContainer: e } = (0, import_react.useContext)(In);
- if (!e)
- return null;
- const [t, n] = v8({
- prefixCls: e1.notification,
- maxCount: 3,
- closeIcon: g.jsx(zt, {}),
- getContainer: () => e,
- motion: {
- motionName: e1.notificationFade,
- motionAppear: true,
- motionEnter: true,
- motionLeave: true
- }
- }), r = (0, import_react.useRef)(io);
- return (0, import_react.useEffect)(() => {
- const i = r.current.subscribe((o) => {
- var a, s, c;
- t.open({
- content: g.jsx(
- Y8,
- {
- content: o.content,
- type: o.type,
- title: o.title,
- lines: o.lines
- }
- ),
- key: o.key,
- placement: (a = o.placement) != null ? a : "topRight",
- duration: (s = o.duration) != null ? s : 4.5,
- closable: (c = o.closable) != null ? c : true
- });
- });
- return () => {
- i.unsubscribe();
- };
- }, [t]), g.jsx(g.Fragment, { children: n });
- }
- var X8 = {
- show: (e) => {
- io.next(e);
- }
- };
- var Q8 = Object.defineProperty;
- var J8 = Object.getOwnPropertyDescriptor;
- var K8 = (e, t, n, r) => {
- for (var i = r > 1 ? void 0 : r ? J8(t, n) : t, o = e.length - 1, a; o >= 0; o--)
- (a = e[o]) && (i = (r ? a(t, n, i) : a(i)) || i);
- return r && i && Q8(t, n, i), i;
- };
- var Pr = (e, t) => (n, r) => t(n, r, e);
- var jt2 = class extends nt {
- constructor(e, t) {
- super(), this._injector = e, this._uiPartsService = t, this._initUIPart();
- }
- show(e) {
- return X8.show(e), Ze(() => {
- });
- }
- _initUIPart() {
- this.disposeWithMe(this._uiPartsService.registerComponent(Le.GLOBAL, () => B0(q8, this._injector)));
- }
- };
- jt2 = K8([
- Pr(0, ot(Ot)),
- Pr(1, f1)
- ], jt2);
- var oo = class {
- constructor() {
- K(this, "_sidebarOptions", {});
- K(this, "sidebarOptions$", new Subject());
- K(this, "scrollEvent$", new Subject());
- K(this, "container");
- }
- get visible() {
- return this._sidebarOptions.visible || false;
- }
- get options() {
- return this._sidebarOptions;
- }
- open(t) {
- return this._sidebarOptions = {
- ...t,
- id: t.id,
- visible: true
- }, this.sidebarOptions$.next(this._sidebarOptions), Ze(() => {
- this.close();
- });
- }
- close(t) {
- t && this._sidebarOptions.id !== t || (this._sidebarOptions = {
- ...this._sidebarOptions,
- visible: false
- }, this.sidebarOptions$.next(this._sidebarOptions), this._sidebarOptions.onClose && this._sidebarOptions.onClose());
- }
- getContainer() {
- return this.container;
- }
- setContainer(t) {
- this.container = t;
- }
- };
- var el = Object.defineProperty;
- var tl = Object.getOwnPropertyDescriptor;
- var nl = (e, t, n, r) => {
- for (var i = r > 1 ? void 0 : r ? tl(t, n) : t, o = e.length - 1, a; o >= 0; o--)
- (a = e[o]) && (i = (r ? a(t, n, i) : a(i)) || i);
- return r && i && el(t, n, i), i;
- };
- var rl = (e, t) => (n, r) => t(n, r, e);
- var $t = class {
- constructor(e) {
- K(this, "visible$", new BehaviorSubject(false));
- K(this, "componentKey$", new ReplaySubject());
- K(this, "_temporaryHidden$", new BehaviorSubject(false));
- K(this, "temporaryHidden$", this._temporaryHidden$.asObservable());
- K(this, "_visible", false);
- this._componentManager = e;
- }
- get visible() {
- return this._visible;
- }
- get temporaryHidden() {
- return this._temporaryHidden$.getValue();
- }
- dispose() {
- this.visible$.next(false), this.visible$.complete(), this.componentKey$.complete();
- }
- hide() {
- this._temporaryHidden$.next(true);
- }
- show() {
- this._temporaryHidden$.next(false);
- }
- set(e, t) {
- return this._componentManager.register(e, t), this.componentKey$.next(e), Ze(() => {
- this._componentManager.delete(e), this.visible$.complete(), this.componentKey$.complete();
- });
- }
- open() {
- this._visible = true, this.visible$.next(true);
- }
- close() {
- this._visible = false, this.visible$.next(false);
- }
- };
- $t = nl([
- rl(0, ot(n1))
- ], $t);
- var ao = Object.defineProperty;
- var il = Object.getOwnPropertyDescriptor;
- var ol = (e, t, n) => t in e ? ao(e, t, { enumerable: true, configurable: true, writable: true, value: n }) : e[t] = n;
- var al = (e, t, n, r) => {
- for (var i = r > 1 ? void 0 : r ? il(t, n) : t, o = e.length - 1, a; o >= 0; o--)
- (a = e[o]) && (i = (r ? a(t, n, i) : a(i)) || i);
- return r && i && ao(t, n, i), i;
- };
- var sl = (e, t) => (n, r) => t(n, r, e);
- var ll = (e, t, n) => ol(e, t + "", n);
- var cl2 = "UNIVER_MOBILE_UI_PLUGIN";
- var zn = class extends Ra {
- constructor(e, t) {
- super(), this._config = e, this._injector = t;
- }
- onStarting() {
- kE([
- [n1],
- [St],
- // services
- [a3],
- [f1, { useClass: wi }],
- [_1, { useClass: Mt2 }],
- [it, { useClass: Et }],
- [s3, { useClass: _i }],
- [m1, { useClass: xt }],
- [Wt, { useClass: Oi }],
- [Pi, { useClass: Tt, lazy: true }],
- [Gt, { useClass: jt2, lazy: true }],
- [h3, { useClass: It, lazy: true }],
- [d3, { useClass: Nt2, lazy: true }],
- [rt, { useClass: oo, lazy: true }],
- [u3, { useClass: $t, lazy: true }],
- [f3, { useClass: Vt, lazy: true }],
- [o3, { useClass: Dt, lazy: true }],
- [xR, { useClass: ji, lazy: true }],
- [Ai, { useClass: Rt }],
- [c3, { useClass: Ei }],
- [l3],
- // controllers
- [
- Ot2,
- {
- useFactory: (t) => t.createInstance(Dn, this._config),
- deps: [Ot]
- }
- ],
- [tt],
- [F1]
- ], this._config.override).forEach((t) => this._injector.add(t)), this._injector.get(Ot2), this._injector.get(F1);
- }
- };
- ll(zn, "pluginName", cl2);
- zn = al([
- OR(s7),
- sl(1, ot(Ot))
- ], zn);
- var ul = class extends nt {
- openFile(t) {
- return new Promise((n) => {
- var i, o;
- const r = document.createElement("input");
- r.type = "file", r.accept = (i = t == null ? void 0 : t.accept) != null ? i : "", r.multiple = (o = t == null ? void 0 : t.multiple) != null ? o : false, r.onchange = (a) => {
- const s = a.target.files;
- s && n(Array.from(s));
- }, r.click();
- });
- }
- downloadFile(t, n) {
- const r = document.createElement("a");
- r.download = n, r.href = window.URL.createObjectURL(t), r.click();
- }
- };
- var fl = Ct("univer-ui.local-file.service");
- var Kl = (e) => {
- const n = W0(rt).getContainer();
- (0, import_react.useEffect)(() => {
- if (n)
- return n.addEventListener("mousedown", e), () => {
- n.removeEventListener("mousedown", e);
- };
- }, [e, n]);
- };
- var so = Object.defineProperty;
- var dl = Object.getOwnPropertyDescriptor;
- var hl = (e, t, n) => t in e ? so(e, t, { enumerable: true, configurable: true, writable: true, value: n }) : e[t] = n;
- var pl = (e, t, n, r) => {
- for (var i = r > 1 ? void 0 : r ? dl(t, n) : t, o = e.length - 1, a; o >= 0; o--)
- (a = e[o]) && (i = (r ? a(t, n, i) : a(i)) || i);
- return r && i && so(t, n, i), i;
- };
- var Ln = (e, t) => (n, r) => t(n, r, e);
- var vl = (e, t, n) => hl(e, t + "", n);
- var ml2 = "UNIVER_UI_PLUGIN";
- var gl = "DISABLE_AUTO_FOCUS";
- var Zn = class extends Ra {
- constructor(e = q3, t, n, r) {
- super(), this._config = e, this._contextService = t, this._injector = n, this._configService = r;
- const { menu: i, ...o } = nu(
- {},
- q3,
- this._config
- );
- o.disableAutoFocus && this._contextService.setContextValue(gl, true), i && this._configService.setConfig("menu", i, { merge: true }), this._configService.setConfig(j0, o);
- }
- onStarting() {
- kE([
- [n1],
- [St],
- [a3],
- [f1, { useClass: wi }],
- [_1, { useClass: Mt2 }],
- [it, { useClass: Et }],
- [s3, { useClass: _i }],
- [m1, { useClass: xt }],
- [Wt, { useClass: Oi }],
- [Pi, { useClass: Tt, lazy: true }],
- [Gt, { useClass: jt2, lazy: true }],
- [h3, { useClass: It, lazy: true }],
- [d3, { useClass: Nt2, lazy: true }],
- [rt, { useClass: oo, lazy: true }],
- [u3, { useClass: $t, lazy: true }],
- [f3, { useClass: Vt, lazy: true }],
- [o3, { useClass: Dt, lazy: true }],
- [xR, { useClass: ji, lazy: true }],
- [Ai, { useClass: Rt }],
- [fl, { useClass: ul }],
- [c3, { useClass: Ei }],
- [l3],
- [Ot2, {
- useFactory: (t) => t.createInstance(Vn, this._config),
- deps: [Ot]
- }],
- [tt],
- [F1],
- [Ht2]
- ], this._config.override).forEach((t) => this._injector.add(t)), this._injector.get(Ot2), this._injector.get(F1);
- }
- onReady() {
- this._injector.get(tt);
- }
- onSteady() {
- this._injector.get(Ht2);
- }
- };
- vl(Zn, "pluginName", ml2);
- Zn = pl([
- OR(s7),
- Ln(1, fs),
- Ln(2, ot(Ot)),
- Ln(3, SE)
- ], Zn);
- function _n2(e) {
- return e.length === 0 ? e : e.replace(/^\s+|\s+$/gm, "");
- }
- var Cl = 0.75;
- var jr = 78;
- var $r = 9;
- var bl = "rgba(0,0,0,0)";
- var yl = "rgb(0,0,0)";
- function lo(e) {
- var s;
- let t = e.childNodes;
- if (t.length === 0)
- return e.textContent;
- if (t[0].nodeName === "DIV" && (t = t[0].childNodes), t.length === 1 && t[0].nodeName === "#text")
- return t[0].textContent;
- const n = [];
- let r = 0, i = 0, o = e.textContent || "";
- o += `\r
- `;
- for (let c = 0; c < t.length; c++) {
- let h = t[`${c}`], d;
- h.nodeName === "#text" ? (d = (s = h.textContent) != null ? s : "", h = h.parentElement) : d = h.innerText;
- const u = m3(h);
- Ll(d).forEach((C) => {
- const S = C.length;
- i += S, r = i - S;
- const _ = re.generateRandomId(6);
- n.push({
- sId: _,
- st: r,
- ed: i - 1,
- ts: u
- });
- });
- }
- return re.generateRandomId(6), {
- id: re.generateRandomId(6),
- body: {
- dataStream: o,
- textRuns: n
- },
- documentStyle: {}
- };
- }
- function m3(e, t = "") {
- var a, s;
- let n = (s = (a = e == null ? void 0 : e.style) == null ? void 0 : a.cssText) != null ? s : "";
- if (n += t, n = n.replace(/[\r\n]+/g, ""), n.length === 0)
- return {};
- const r = n.split(";"), i = {}, o = {
- t: "",
- r: "",
- b: "",
- l: ""
- };
- return r.forEach((c) => {
- var p;
- const h = c.toLowerCase(), d = _n2(h.substr(0, h.indexOf(":"))), u = _n2(h.substr(h.indexOf(":") + 1));
- if (d === "font-weight")
- u === "bold" || u === "700" ? i.bl = 1 : i.bl = 0;
- else if (d === "font-style")
- u === "italic" ? i.it = 1 : i.it = 0;
- else if (d === "font-family") {
- const C = _n2(c), S = Ml(C);
- i.ff = S;
- } else if (d === "font-size") {
- let C = Number.parseInt(u);
- n.indexOf("vertical-align") > -1 && (n.indexOf("sub") > -1 || n.indexOf("sup") > -1) && (C *= 2), u.indexOf("px") !== -1 && (C = Sl(Number.parseInt(u, 10))), i.fs = C;
- } else if (d === "color") {
- const C = new Nt(u);
- i.cl = {
- rgb: C.isValid ? C.toRgbString() : "rgb(0,0,0)"
- };
- } else if (d === "background" || d === "background-color") {
- const C = new Nt(u);
- if (C) {
- const S = C.toRgbString();
- S !== bl && S !== yl && (i.bg = {
- rgb: C.toRgbString()
- });
- }
- } else if (d === "text-decoration-line")
- u === "underline" ? (i.ul || (i.ul = { s: 1 }), i.ul.s = 1) : u === "line-through" ? (i.st || (i.st = { s: 1 }), i.st.s = 1) : u === "overline" && (i.ol || (i.ol = { s: 1 }), i.ol.s = 1);
- else if (d === "text-decoration-color")
- i.hasOwnProperty("ul") && (i.ul || (i.ul = { s: 1, cl: { rgb: u } }), i.ul.cl = {
- rgb: u
- }), i.hasOwnProperty("st") && (i.st || (i.st = { s: 1, cl: { rgb: u } }), i.st.cl = {
- rgb: u
- }), i.hasOwnProperty("ol") && (i.ol || (i.ol = { s: 1, cl: { rgb: u } }), i.ol.cl = {
- rgb: u
- });
- else if (d === "text-decoration-style")
- i.hasOwnProperty("ul") && (i.ul || (i.ul = { s: 1, t: Number(u) }), i.ul.t = Number(u)), i.hasOwnProperty("st") && (i.st || (i.st = { s: 1, t: Number(u) }), i.st.t = Number(u)), i.hasOwnProperty("ol") && (i.ol || (i.ol = { s: 1, t: Number(u) }), i.ol.t = Number(u));
- else if (d === "text-decoration" || d === "univer-strike") {
- const C = (p = u.split(" ")) == null ? void 0 : p[0];
- C === "underline" ? (i.ul || (i.ul = { s: 1 }), i.ul.s = 1) : C === "line-through" ? (i.st || (i.st = { s: 1 }), i.st.s = 1) : C === "overline" && (i.ol || (i.ol = { s: 1 }), i.ol.s = 1);
- }
- if (d === "univer-underline" && (i.ul = {
- s: 1
- }), d === "vertical-align" && (u === "sub" ? i.va = Bt.SUBSCRIPT : u === "super" ? i.va = Bt.SUPERSCRIPT : u === "top" ? i.vt = 1 : u === "middle" ? i.vt = 2 : u === "bottom" ? i.vt = 3 : i.va = Bt.NORMAL), d === "transform") {
- const C = u.split(")"), S = C.findIndex((_) => _.includes("rotate"));
- if (S > -1) {
- const _ = C[S].match(/\d+/g);
- let m = 0, w = 0;
- _ != null && _.length && (m = +_[0]), e != null && e.dataset.vertical && (w = +e.dataset.vertical), i.tr = {
- a: m,
- v: w
- };
- }
- }
- if (d === "text-align" && (u === "left" ? i.ht = 1 : u === "center" ? i.ht = 2 : u === "right" ? i.ht = 3 : u === "justify" ? i.ht = 4 : i.ht = 0), i.tb !== 1 && (d === "overflow-wrap" || d === "word-wrap" ? u === "break-word" && (i.tb = 3) : d === "text-overflow" ? u === "clip" && (i.tb = 2) : d === "text-break" && u === "overflow" && (i.tb = 1)), d === "white-space" && (u === "nowrap" ? i.tb = 1 : u === "normal" ? i.tb = 3 : u === "clip" && (i.tb = 2)), d === "border-color") {
- const C = kr(u, ")");
- if (i.bd)
- for (const S in C)
- i.bd[S].cl.rgb = C[S];
- else {
- i.bd = {
- b: {
- cl: {
- rgb: "#000"
- },
- s: 0
- },
- t: {
- cl: {
- rgb: "#000"
- },
- s: 0
- },
- l: {
- cl: {
- rgb: "#000"
- },
- s: 0
- },
- r: {
- cl: {
- rgb: "#000"
- },
- s: 0
- }
- };
- for (const S in C)
- i.bd[S].cl.rgb = C[S];
- }
- }
- if (d === "border-width" || d === "border-style") {
- const C = kr(u, " ");
- for (const S in C)
- o[S] += ` ${C[S]}`;
- i.bd ? (i.bd.b.s = OC(o.b), i.bd.t.s = OC(o.t), i.bd.l.s = OC(o.l), i.bd.r.s = OC(o.r)) : i.bd = {
- b: {
- cl: {
- rgb: "#000"
- },
- s: OC(o.b)
- },
- t: {
- cl: {
- rgb: "#000"
- },
- s: OC(o.t)
- },
- l: {
- cl: {
- rgb: "#000"
- },
- s: OC(o.l)
- },
- r: {
- cl: {
- rgb: "#000"
- },
- s: OC(o.r)
- }
- };
- }
- if (d === "border-bottom" || d === "border-top" || d === "border-left" || d === "border-right" || d === "border") {
- i.bd || (i.bd = {});
- const C = u.split(" "), S = `${C[0]} ${C[1]}`;
- C.splice(0, 2);
- const _ = C.join("");
- if (OC(S) !== Xe.NONE && _) {
- const w = {
- cl: {
- rgb: _
- },
- s: OC(S)
- };
- d === "border-bottom" ? i.bd.b = u === "none" ? null : w : d === "border-top" ? i.bd.t = u === "none" ? null : w : d === "border-left" ? i.bd.l = u === "none" ? null : w : d === "border-right" ? i.bd.r = u === "none" ? null : w : d === "border" && (i.bd = {
- r: u === "none" ? null : w,
- t: u === "none" ? null : w,
- b: u === "none" ? null : w,
- l: u === "none" ? null : w
- });
- }
- } else if (d === "--data-rotate") {
- const C = /[+-]?\d+/, S = u.match(C);
- u === "(0deg ,1)" ? i.tr = { a: 0, v: 1 } : S && (i.tr = { a: Number(S[0]) });
- }
- }), Object.keys(i).forEach((c) => {
- typeof i[c] == "object" && !Object.keys(i[c]).length && delete i[c];
- }), i;
- }
- function kr(e, t) {
- let n;
- t === " " ? n = e.trim().split(t) : n = e.trim().split(t).slice(0, -1), n.forEach((i) => `${i.trim()})`);
- let r = {};
- return n.length === 1 ? r = {
- t: n[0],
- r: n[0],
- b: n[0],
- l: n[0]
- } : n.length === 2 ? r = {
- t: n[0],
- r: n[1],
- b: n[0],
- l: n[1]
- } : n.length === 3 ? r = {
- t: n[0],
- r: n[1],
- b: n[2],
- l: n[1]
- } : n.length === 4 && (r = {
- t: n[0],
- r: n[1],
- b: n[2],
- l: n[3]
- }), r;
- }
- function Ll(e) {
- if (e === "")
- return [e];
- const t = /(?:(\n+.+)|(.+))/g;
- return e.match(t).map((i) => i.replace(/\n/g, `\r
- `));
- }
- function ec(e) {
- const t = document.createElement("DIV"), n = [];
- t.innerHTML = e;
- const r = t.querySelectorAll("table col");
- if (!r.length)
- return [];
- for (let i = 0; i < r.length; i++) {
- const o = r[i], a = o.getAttribute("span");
- if (a && +a > 1)
- for (let s = 0; s < +a; s++) {
- const c = kt(o.getAttribute("width"), 72);
- n.push(c);
- }
- else {
- const s = kt(o.getAttribute("width"), 72);
- n.push(s);
- }
- }
- return n;
- }
- function kt(e, t) {
- if (!e)
- return t;
- let n;
- return e.includes("pt") ? n = mS(Number.parseFloat(e)) : e.includes("px") ? n = Number.parseFloat(e) : n = Number.parseFloat(e) * 72 / 96, n;
- }
- function tc(e) {
- const t = document.createElement("DIV"), n = [];
- t.innerHTML = e;
- const r = t.querySelectorAll("table tr");
- if (!r.length)
- return [];
- for (let i = 0; i < r.length; i++) {
- const a = r[i].querySelectorAll("td");
- let s = kt(a[0].style.height, 19);
- for (let c = 0; c < a.length; c++) {
- const h = a[c].getAttribute("rowSpan");
- if (!(h && +h > 1)) {
- s = kt(a[c].style.height, 19);
- break;
- }
- }
- n.push(s);
- }
- return n;
- }
- function nc(e) {
- let t = [];
- const n = document.createElement("DIV");
- if (n.innerHTML = e, t = new Array(n.querySelectorAll("table tr").length), !t.length)
- return [];
- let r = 0;
- const i = n.querySelectorAll("table tr");
- i[0].querySelectorAll("td").forEach((s) => {
- let c = 0;
- const h = s.getAttribute("colSpan");
- h !== null ? c = +h : c = 1, r += c;
- });
- for (let s = 0; s < t.length; s++)
- t[s] = new Array(r);
- let a = 0;
- return i.forEach((s) => {
- let c = 0;
- s.querySelectorAll("td").forEach((h) => {
- var C, S;
- const d = {};
- if (h.querySelectorAll("span").length || h.querySelectorAll("font").length) {
- const _ = lo(h);
- typeof _ != "string" && (d.p = _);
- }
- const u = h.innerText;
- u.trim().length === 0 ? d.v = "" : d.v = u;
- const p = m3(h);
- for (re.isPlainObject(p) && (d.s = p); c < r && t[a][c] != null; )
- c++;
- if (c !== r) {
- if (t[a][c] == null) {
- t[a][c] = d;
- const _ = (C = Number(h.getAttribute("rowSpan"))) != null ? C : 1, m = (S = Number(h.getAttribute("colSpan"))) != null ? S : 1;
- if (_ > 1 || m > 1) {
- const w = { rs: +_ - 1, cs: +m - 1, r: a, c };
- t[a][c].mc = w;
- for (let I = 0; I < _; I++)
- for (let R = 0; R < m; R++)
- I === 0 && R === 0 || (t[a + I][c + R] = { mc: null });
- }
- }
- c++;
- }
- }), a++;
- }), t;
- }
- function rc(e) {
- const t = [], n = document.createElement("DIV");
- n.innerHTML = e;
- const i = e.replace(/\r/g, "").split(`
- `), o = i[0].split(" ").length;
- for (let a = 0; a < i.length; a++)
- i[a].split(" ").length < o || t.push(i[a].split(" "));
- for (let a = 0; a < t.length; a++)
- for (let s = 0; s < t[a].length; s++)
- t[a][s].length ? t[a][s] = {
- v: t[a][s] || "",
- m: t[a][s] || ""
- } : t[a][s] = null;
- return t;
- }
- function ic(e, t) {
- e.length, e[0].length;
- let n = 0, r = 0;
- t && (n = t.startRow, r = t.startColumn);
- const i = [];
- for (let o = 0; o < e.length; o++)
- for (let a = 0; a < e[o].length; a++)
- if (e[o][a] && typeof e[o][a] == "object" && "mc" in e[o][a])
- if (e[o][a].mc) {
- const s = e[o][a].mc, c = s.r + n, h = c + s.rs, d = s.c + r, u = d + s.cs;
- i.push({ startRow: c, endRow: h, startColumn: d, endColumn: u }), delete e[o][a].mc;
- } else
- e[o][a] = null;
- return {
- data: e,
- mergeData: i
- };
- }
- function oc(e) {
- var h;
- let t = [];
- const n = document.createElement("html");
- n.innerHTML = e;
- const r = (h = n.querySelector("style")) == null ? void 0 : h.innerText;
- if (!r)
- return;
- const i = _l(r);
- if (t = new Array(n.querySelectorAll("table tr").length), !t.length)
- return [];
- let o = 0;
- const a = n.querySelectorAll("table tr");
- a[0].querySelectorAll("td").forEach((d) => {
- let u = 0;
- const p = d.getAttribute("colSpan");
- p !== null ? u = +p : u = 1, o += u;
- });
- for (let d = 0; d < t.length; d++)
- t[d] = new Array(o);
- let c = 0;
- return a.forEach((d) => {
- let u = 0;
- d.querySelectorAll("td").forEach((p) => {
- var w, I;
- const C = {};
- if (p.querySelectorAll("span").length || p.querySelectorAll("font").length) {
- const R = lo(p);
- typeof R != "string" && (C.p = R);
- }
- const S = p.innerText;
- S.trim().length === 0 ? C.v = "" : C.v = S;
- let _ = "";
- for (const R in i)
- p.classList.contains(R) && (_ += i[R]);
- const m = m3(p, _);
- for (re.isPlainObject(m) && (C.s = m); u < o && t[c][u] != null; )
- u++;
- if (u !== o) {
- if (t[c][u] == null) {
- t[c][u] = C;
- const R = (w = Number(p.getAttribute("rowSpan"))) != null ? w : 1, P = (I = Number(p.getAttribute("colSpan"))) != null ? I : 1;
- if (R > 1 || P > 1) {
- const M = { rs: +R - 1, cs: +P - 1, r: c, c: u };
- t[c][u].mc = M;
- for (let x = 0; x < R; x++)
- for (let N = 0; N < P; N++)
- x === 0 && N === 0 || (t[c + x][u + N] = { mc: null });
- }
- }
- u++;
- }
- }), c++;
- }), t;
- }
- function _l(e) {
- const t = {}, n = e.replaceAll("<!--", "").replaceAll("-->", "").trim(), r = n == null ? void 0 : n.replaceAll(" ", "").replaceAll(`
- `, "").split("}");
- for (let i = 0; i < r.length; i++) {
- if (!r[i])
- continue;
- let o = r[i].split("{")[0].trim();
- o.includes(".") && (o = o.slice(1));
- const a = r[i].split("{")[1].trim();
- t[o] = a;
- }
- return t;
- }
- function Sl(e) {
- const t = Math.round(e * Cl);
- return t < $r ? $r : t > jr ? jr : t;
- }
- function Ml(e) {
- const t = /font-family:\s*(?:"([^"]+)"|'([^']+)'|([^;]+))/i, n = e.match(t);
- return n ? (n[1] || n[2] || n[3]).trim() : null;
- }
- export {
- n1,
- Ba,
- St,
- Fa,
- Vl,
- Ua,
- ke,
- Dl,
- Al,
- Pl,
- Xa,
- jl,
- $l,
- n3,
- n0,
- kl,
- Bl,
- Fl,
- Ul,
- i3,
- _1,
- Mt2 as Mt,
- $e,
- wt,
- L1,
- l1,
- ci,
- ui,
- fi,
- di,
- hi,
- P1,
- He,
- m1,
- xt,
- Nn2 as Nn,
- zl,
- Zl,
- j0,
- o3,
- F1,
- a3,
- Wl,
- rt,
- Zt,
- Ci,
- bi,
- yi,
- Li,
- Gl,
- I1,
- Ae,
- s3,
- _i,
- it,
- Et,
- K0,
- e5,
- n5,
- r5,
- tt,
- Ht2 as Ht,
- Ot2 as Ot,
- Le,
- f1,
- wi,
- l3,
- xi,
- c3,
- Ei,
- Hi,
- Pe,
- ze,
- Wt,
- Oi,
- x5,
- Ri,
- Z5,
- q1,
- W5,
- Ii,
- u3,
- Vi,
- f3,
- ss,
- Di,
- Vn,
- Os,
- Gt,
- Ai,
- Rt,
- Xs,
- vr,
- mr,
- Yl,
- ql,
- Xl,
- Ql,
- Jl,
- Pi,
- Tt,
- d3,
- Nt2 as Nt,
- h3,
- It,
- Vt,
- ji,
- Dt,
- jt2 as jt,
- oo,
- $t,
- zn,
- ul,
- fl,
- Kl,
- ml2 as ml,
- gl,
- Zn,
- _n2 as _n,
- bl,
- yl,
- lo,
- m3,
- Ll,
- ec,
- tc,
- nc,
- rc,
- ic,
- oc
- };
- /*! Bundled license information:
- @univerjs/ui/lib/es/index.js:
- (**
- * @license React
- * react-jsx-runtime.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
- * react-is.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.
- *)
- @univerjs/ui/lib/es/index.js:
- (*!
- localForage -- Offline Storage, Improved
- Version 1.10.0
- https://localforage.github.io/localForage
- (c) 2013-2017 Mozilla, Apache License 2.0
- *)
- (*!
- Copyright (c) 2018 Jed Watson.
- Licensed under the MIT License (MIT), see
- http://jedwatson.github.io/classnames
- *)
- */
- //# sourceMappingURL=chunk-POAJ2YNP.js.map
|