Node-Red configuration
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

locales.js 438KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570
  1. ;(function (global, factory) {
  2. typeof exports === 'object' && typeof module !== 'undefined'
  3. && typeof require === 'function' ? factory(require('../moment')) :
  4. typeof define === 'function' && define.amd ? define(['../moment'], factory) :
  5. factory(global.moment)
  6. }(this, (function (moment) { 'use strict';
  7. //! moment.js locale configuration
  8. moment.defineLocale('af', {
  9. months: 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split(
  10. '_'
  11. ),
  12. monthsShort: 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'),
  13. weekdays: 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split(
  14. '_'
  15. ),
  16. weekdaysShort: 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'),
  17. weekdaysMin: 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'),
  18. meridiemParse: /vm|nm/i,
  19. isPM: function (input) {
  20. return /^nm$/i.test(input);
  21. },
  22. meridiem: function (hours, minutes, isLower) {
  23. if (hours < 12) {
  24. return isLower ? 'vm' : 'VM';
  25. } else {
  26. return isLower ? 'nm' : 'NM';
  27. }
  28. },
  29. longDateFormat: {
  30. LT: 'HH:mm',
  31. LTS: 'HH:mm:ss',
  32. L: 'DD/MM/YYYY',
  33. LL: 'D MMMM YYYY',
  34. LLL: 'D MMMM YYYY HH:mm',
  35. LLLL: 'dddd, D MMMM YYYY HH:mm',
  36. },
  37. calendar: {
  38. sameDay: '[Vandag om] LT',
  39. nextDay: '[Môre om] LT',
  40. nextWeek: 'dddd [om] LT',
  41. lastDay: '[Gister om] LT',
  42. lastWeek: '[Laas] dddd [om] LT',
  43. sameElse: 'L',
  44. },
  45. relativeTime: {
  46. future: 'oor %s',
  47. past: '%s gelede',
  48. s: "'n paar sekondes",
  49. ss: '%d sekondes',
  50. m: "'n minuut",
  51. mm: '%d minute',
  52. h: "'n uur",
  53. hh: '%d ure',
  54. d: "'n dag",
  55. dd: '%d dae',
  56. M: "'n maand",
  57. MM: '%d maande',
  58. y: "'n jaar",
  59. yy: '%d jaar',
  60. },
  61. dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
  62. ordinal: function (number) {
  63. return (
  64. number +
  65. (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')
  66. ); // Thanks to Joris Röling : https://github.com/jjupiter
  67. },
  68. week: {
  69. dow: 1, // Maandag is die eerste dag van die week.
  70. doy: 4, // Die week wat die 4de Januarie bevat is die eerste week van die jaar.
  71. },
  72. });
  73. //! moment.js locale configuration
  74. var pluralForm = function (n) {
  75. return n === 0
  76. ? 0
  77. : n === 1
  78. ? 1
  79. : n === 2
  80. ? 2
  81. : n % 100 >= 3 && n % 100 <= 10
  82. ? 3
  83. : n % 100 >= 11
  84. ? 4
  85. : 5;
  86. },
  87. plurals = {
  88. s: [
  89. 'أقل من ثانية',
  90. 'ثانية واحدة',
  91. ['ثانيتان', 'ثانيتين'],
  92. '%d ثوان',
  93. '%d ثانية',
  94. '%d ثانية',
  95. ],
  96. m: [
  97. 'أقل من دقيقة',
  98. 'دقيقة واحدة',
  99. ['دقيقتان', 'دقيقتين'],
  100. '%d دقائق',
  101. '%d دقيقة',
  102. '%d دقيقة',
  103. ],
  104. h: [
  105. 'أقل من ساعة',
  106. 'ساعة واحدة',
  107. ['ساعتان', 'ساعتين'],
  108. '%d ساعات',
  109. '%d ساعة',
  110. '%d ساعة',
  111. ],
  112. d: [
  113. 'أقل من يوم',
  114. 'يوم واحد',
  115. ['يومان', 'يومين'],
  116. '%d أيام',
  117. '%d يومًا',
  118. '%d يوم',
  119. ],
  120. M: [
  121. 'أقل من شهر',
  122. 'شهر واحد',
  123. ['شهران', 'شهرين'],
  124. '%d أشهر',
  125. '%d شهرا',
  126. '%d شهر',
  127. ],
  128. y: [
  129. 'أقل من عام',
  130. 'عام واحد',
  131. ['عامان', 'عامين'],
  132. '%d أعوام',
  133. '%d عامًا',
  134. '%d عام',
  135. ],
  136. },
  137. pluralize = function (u) {
  138. return function (number, withoutSuffix, string, isFuture) {
  139. var f = pluralForm(number),
  140. str = plurals[u][pluralForm(number)];
  141. if (f === 2) {
  142. str = str[withoutSuffix ? 0 : 1];
  143. }
  144. return str.replace(/%d/i, number);
  145. };
  146. },
  147. months = [
  148. 'جانفي',
  149. 'فيفري',
  150. 'مارس',
  151. 'أفريل',
  152. 'ماي',
  153. 'جوان',
  154. 'جويلية',
  155. 'أوت',
  156. 'سبتمبر',
  157. 'أكتوبر',
  158. 'نوفمبر',
  159. 'ديسمبر',
  160. ];
  161. moment.defineLocale('ar-dz', {
  162. months: months,
  163. monthsShort: months,
  164. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  165. weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  166. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  167. weekdaysParseExact: true,
  168. longDateFormat: {
  169. LT: 'HH:mm',
  170. LTS: 'HH:mm:ss',
  171. L: 'D/\u200FM/\u200FYYYY',
  172. LL: 'D MMMM YYYY',
  173. LLL: 'D MMMM YYYY HH:mm',
  174. LLLL: 'dddd D MMMM YYYY HH:mm',
  175. },
  176. meridiemParse: /ص|م/,
  177. isPM: function (input) {
  178. return 'م' === input;
  179. },
  180. meridiem: function (hour, minute, isLower) {
  181. if (hour < 12) {
  182. return 'ص';
  183. } else {
  184. return 'م';
  185. }
  186. },
  187. calendar: {
  188. sameDay: '[اليوم عند الساعة] LT',
  189. nextDay: '[غدًا عند الساعة] LT',
  190. nextWeek: 'dddd [عند الساعة] LT',
  191. lastDay: '[أمس عند الساعة] LT',
  192. lastWeek: 'dddd [عند الساعة] LT',
  193. sameElse: 'L',
  194. },
  195. relativeTime: {
  196. future: 'بعد %s',
  197. past: 'منذ %s',
  198. s: pluralize('s'),
  199. ss: pluralize('s'),
  200. m: pluralize('m'),
  201. mm: pluralize('m'),
  202. h: pluralize('h'),
  203. hh: pluralize('h'),
  204. d: pluralize('d'),
  205. dd: pluralize('d'),
  206. M: pluralize('M'),
  207. MM: pluralize('M'),
  208. y: pluralize('y'),
  209. yy: pluralize('y'),
  210. },
  211. postformat: function (string) {
  212. return string.replace(/,/g, '،');
  213. },
  214. week: {
  215. dow: 0, // Sunday is the first day of the week.
  216. doy: 4, // The week that contains Jan 4th is the first week of the year.
  217. },
  218. });
  219. //! moment.js locale configuration
  220. moment.defineLocale('ar-kw', {
  221. months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
  222. '_'
  223. ),
  224. monthsShort:
  225. 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
  226. '_'
  227. ),
  228. weekdays: 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  229. weekdaysShort: 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
  230. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  231. weekdaysParseExact: true,
  232. longDateFormat: {
  233. LT: 'HH:mm',
  234. LTS: 'HH:mm:ss',
  235. L: 'DD/MM/YYYY',
  236. LL: 'D MMMM YYYY',
  237. LLL: 'D MMMM YYYY HH:mm',
  238. LLLL: 'dddd D MMMM YYYY HH:mm',
  239. },
  240. calendar: {
  241. sameDay: '[اليوم على الساعة] LT',
  242. nextDay: '[غدا على الساعة] LT',
  243. nextWeek: 'dddd [على الساعة] LT',
  244. lastDay: '[أمس على الساعة] LT',
  245. lastWeek: 'dddd [على الساعة] LT',
  246. sameElse: 'L',
  247. },
  248. relativeTime: {
  249. future: 'في %s',
  250. past: 'منذ %s',
  251. s: 'ثوان',
  252. ss: '%d ثانية',
  253. m: 'دقيقة',
  254. mm: '%d دقائق',
  255. h: 'ساعة',
  256. hh: '%d ساعات',
  257. d: 'يوم',
  258. dd: '%d أيام',
  259. M: 'شهر',
  260. MM: '%d أشهر',
  261. y: 'سنة',
  262. yy: '%d سنوات',
  263. },
  264. week: {
  265. dow: 0, // Sunday is the first day of the week.
  266. doy: 12, // The week that contains Jan 12th is the first week of the year.
  267. },
  268. });
  269. //! moment.js locale configuration
  270. var symbolMap = {
  271. 1: '1',
  272. 2: '2',
  273. 3: '3',
  274. 4: '4',
  275. 5: '5',
  276. 6: '6',
  277. 7: '7',
  278. 8: '8',
  279. 9: '9',
  280. 0: '0',
  281. },
  282. pluralForm$1 = function (n) {
  283. return n === 0
  284. ? 0
  285. : n === 1
  286. ? 1
  287. : n === 2
  288. ? 2
  289. : n % 100 >= 3 && n % 100 <= 10
  290. ? 3
  291. : n % 100 >= 11
  292. ? 4
  293. : 5;
  294. },
  295. plurals$1 = {
  296. s: [
  297. 'أقل من ثانية',
  298. 'ثانية واحدة',
  299. ['ثانيتان', 'ثانيتين'],
  300. '%d ثوان',
  301. '%d ثانية',
  302. '%d ثانية',
  303. ],
  304. m: [
  305. 'أقل من دقيقة',
  306. 'دقيقة واحدة',
  307. ['دقيقتان', 'دقيقتين'],
  308. '%d دقائق',
  309. '%d دقيقة',
  310. '%d دقيقة',
  311. ],
  312. h: [
  313. 'أقل من ساعة',
  314. 'ساعة واحدة',
  315. ['ساعتان', 'ساعتين'],
  316. '%d ساعات',
  317. '%d ساعة',
  318. '%d ساعة',
  319. ],
  320. d: [
  321. 'أقل من يوم',
  322. 'يوم واحد',
  323. ['يومان', 'يومين'],
  324. '%d أيام',
  325. '%d يومًا',
  326. '%d يوم',
  327. ],
  328. M: [
  329. 'أقل من شهر',
  330. 'شهر واحد',
  331. ['شهران', 'شهرين'],
  332. '%d أشهر',
  333. '%d شهرا',
  334. '%d شهر',
  335. ],
  336. y: [
  337. 'أقل من عام',
  338. 'عام واحد',
  339. ['عامان', 'عامين'],
  340. '%d أعوام',
  341. '%d عامًا',
  342. '%d عام',
  343. ],
  344. },
  345. pluralize$1 = function (u) {
  346. return function (number, withoutSuffix, string, isFuture) {
  347. var f = pluralForm$1(number),
  348. str = plurals$1[u][pluralForm$1(number)];
  349. if (f === 2) {
  350. str = str[withoutSuffix ? 0 : 1];
  351. }
  352. return str.replace(/%d/i, number);
  353. };
  354. },
  355. months$1 = [
  356. 'يناير',
  357. 'فبراير',
  358. 'مارس',
  359. 'أبريل',
  360. 'مايو',
  361. 'يونيو',
  362. 'يوليو',
  363. 'أغسطس',
  364. 'سبتمبر',
  365. 'أكتوبر',
  366. 'نوفمبر',
  367. 'ديسمبر',
  368. ];
  369. moment.defineLocale('ar-ly', {
  370. months: months$1,
  371. monthsShort: months$1,
  372. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  373. weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  374. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  375. weekdaysParseExact: true,
  376. longDateFormat: {
  377. LT: 'HH:mm',
  378. LTS: 'HH:mm:ss',
  379. L: 'D/\u200FM/\u200FYYYY',
  380. LL: 'D MMMM YYYY',
  381. LLL: 'D MMMM YYYY HH:mm',
  382. LLLL: 'dddd D MMMM YYYY HH:mm',
  383. },
  384. meridiemParse: /ص|م/,
  385. isPM: function (input) {
  386. return 'م' === input;
  387. },
  388. meridiem: function (hour, minute, isLower) {
  389. if (hour < 12) {
  390. return 'ص';
  391. } else {
  392. return 'م';
  393. }
  394. },
  395. calendar: {
  396. sameDay: '[اليوم عند الساعة] LT',
  397. nextDay: '[غدًا عند الساعة] LT',
  398. nextWeek: 'dddd [عند الساعة] LT',
  399. lastDay: '[أمس عند الساعة] LT',
  400. lastWeek: 'dddd [عند الساعة] LT',
  401. sameElse: 'L',
  402. },
  403. relativeTime: {
  404. future: 'بعد %s',
  405. past: 'منذ %s',
  406. s: pluralize$1('s'),
  407. ss: pluralize$1('s'),
  408. m: pluralize$1('m'),
  409. mm: pluralize$1('m'),
  410. h: pluralize$1('h'),
  411. hh: pluralize$1('h'),
  412. d: pluralize$1('d'),
  413. dd: pluralize$1('d'),
  414. M: pluralize$1('M'),
  415. MM: pluralize$1('M'),
  416. y: pluralize$1('y'),
  417. yy: pluralize$1('y'),
  418. },
  419. preparse: function (string) {
  420. return string.replace(/،/g, ',');
  421. },
  422. postformat: function (string) {
  423. return string
  424. .replace(/\d/g, function (match) {
  425. return symbolMap[match];
  426. })
  427. .replace(/,/g, '،');
  428. },
  429. week: {
  430. dow: 6, // Saturday is the first day of the week.
  431. doy: 12, // The week that contains Jan 12th is the first week of the year.
  432. },
  433. });
  434. //! moment.js locale configuration
  435. moment.defineLocale('ar-ma', {
  436. months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
  437. '_'
  438. ),
  439. monthsShort:
  440. 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
  441. '_'
  442. ),
  443. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  444. weekdaysShort: 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
  445. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  446. weekdaysParseExact: true,
  447. longDateFormat: {
  448. LT: 'HH:mm',
  449. LTS: 'HH:mm:ss',
  450. L: 'DD/MM/YYYY',
  451. LL: 'D MMMM YYYY',
  452. LLL: 'D MMMM YYYY HH:mm',
  453. LLLL: 'dddd D MMMM YYYY HH:mm',
  454. },
  455. calendar: {
  456. sameDay: '[اليوم على الساعة] LT',
  457. nextDay: '[غدا على الساعة] LT',
  458. nextWeek: 'dddd [على الساعة] LT',
  459. lastDay: '[أمس على الساعة] LT',
  460. lastWeek: 'dddd [على الساعة] LT',
  461. sameElse: 'L',
  462. },
  463. relativeTime: {
  464. future: 'في %s',
  465. past: 'منذ %s',
  466. s: 'ثوان',
  467. ss: '%d ثانية',
  468. m: 'دقيقة',
  469. mm: '%d دقائق',
  470. h: 'ساعة',
  471. hh: '%d ساعات',
  472. d: 'يوم',
  473. dd: '%d أيام',
  474. M: 'شهر',
  475. MM: '%d أشهر',
  476. y: 'سنة',
  477. yy: '%d سنوات',
  478. },
  479. week: {
  480. dow: 1, // Monday is the first day of the week.
  481. doy: 4, // The week that contains Jan 4th is the first week of the year.
  482. },
  483. });
  484. //! moment.js locale configuration
  485. var symbolMap$1 = {
  486. 1: '١',
  487. 2: '٢',
  488. 3: '٣',
  489. 4: '٤',
  490. 5: '٥',
  491. 6: '٦',
  492. 7: '٧',
  493. 8: '٨',
  494. 9: '٩',
  495. 0: '٠',
  496. },
  497. numberMap = {
  498. '١': '1',
  499. '٢': '2',
  500. '٣': '3',
  501. '٤': '4',
  502. '٥': '5',
  503. '٦': '6',
  504. '٧': '7',
  505. '٨': '8',
  506. '٩': '9',
  507. '٠': '0',
  508. };
  509. moment.defineLocale('ar-sa', {
  510. months: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
  511. '_'
  512. ),
  513. monthsShort:
  514. 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
  515. '_'
  516. ),
  517. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  518. weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  519. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  520. weekdaysParseExact: true,
  521. longDateFormat: {
  522. LT: 'HH:mm',
  523. LTS: 'HH:mm:ss',
  524. L: 'DD/MM/YYYY',
  525. LL: 'D MMMM YYYY',
  526. LLL: 'D MMMM YYYY HH:mm',
  527. LLLL: 'dddd D MMMM YYYY HH:mm',
  528. },
  529. meridiemParse: /ص|م/,
  530. isPM: function (input) {
  531. return 'م' === input;
  532. },
  533. meridiem: function (hour, minute, isLower) {
  534. if (hour < 12) {
  535. return 'ص';
  536. } else {
  537. return 'م';
  538. }
  539. },
  540. calendar: {
  541. sameDay: '[اليوم على الساعة] LT',
  542. nextDay: '[غدا على الساعة] LT',
  543. nextWeek: 'dddd [على الساعة] LT',
  544. lastDay: '[أمس على الساعة] LT',
  545. lastWeek: 'dddd [على الساعة] LT',
  546. sameElse: 'L',
  547. },
  548. relativeTime: {
  549. future: 'في %s',
  550. past: 'منذ %s',
  551. s: 'ثوان',
  552. ss: '%d ثانية',
  553. m: 'دقيقة',
  554. mm: '%d دقائق',
  555. h: 'ساعة',
  556. hh: '%d ساعات',
  557. d: 'يوم',
  558. dd: '%d أيام',
  559. M: 'شهر',
  560. MM: '%d أشهر',
  561. y: 'سنة',
  562. yy: '%d سنوات',
  563. },
  564. preparse: function (string) {
  565. return string
  566. .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
  567. return numberMap[match];
  568. })
  569. .replace(/،/g, ',');
  570. },
  571. postformat: function (string) {
  572. return string
  573. .replace(/\d/g, function (match) {
  574. return symbolMap$1[match];
  575. })
  576. .replace(/,/g, '،');
  577. },
  578. week: {
  579. dow: 0, // Sunday is the first day of the week.
  580. doy: 6, // The week that contains Jan 6th is the first week of the year.
  581. },
  582. });
  583. //! moment.js locale configuration
  584. moment.defineLocale('ar-tn', {
  585. months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
  586. '_'
  587. ),
  588. monthsShort:
  589. 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
  590. '_'
  591. ),
  592. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  593. weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  594. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  595. weekdaysParseExact: true,
  596. longDateFormat: {
  597. LT: 'HH:mm',
  598. LTS: 'HH:mm:ss',
  599. L: 'DD/MM/YYYY',
  600. LL: 'D MMMM YYYY',
  601. LLL: 'D MMMM YYYY HH:mm',
  602. LLLL: 'dddd D MMMM YYYY HH:mm',
  603. },
  604. calendar: {
  605. sameDay: '[اليوم على الساعة] LT',
  606. nextDay: '[غدا على الساعة] LT',
  607. nextWeek: 'dddd [على الساعة] LT',
  608. lastDay: '[أمس على الساعة] LT',
  609. lastWeek: 'dddd [على الساعة] LT',
  610. sameElse: 'L',
  611. },
  612. relativeTime: {
  613. future: 'في %s',
  614. past: 'منذ %s',
  615. s: 'ثوان',
  616. ss: '%d ثانية',
  617. m: 'دقيقة',
  618. mm: '%d دقائق',
  619. h: 'ساعة',
  620. hh: '%d ساعات',
  621. d: 'يوم',
  622. dd: '%d أيام',
  623. M: 'شهر',
  624. MM: '%d أشهر',
  625. y: 'سنة',
  626. yy: '%d سنوات',
  627. },
  628. week: {
  629. dow: 1, // Monday is the first day of the week.
  630. doy: 4, // The week that contains Jan 4th is the first week of the year.
  631. },
  632. });
  633. //! moment.js locale configuration
  634. var symbolMap$2 = {
  635. 1: '١',
  636. 2: '٢',
  637. 3: '٣',
  638. 4: '٤',
  639. 5: '٥',
  640. 6: '٦',
  641. 7: '٧',
  642. 8: '٨',
  643. 9: '٩',
  644. 0: '٠',
  645. },
  646. numberMap$1 = {
  647. '١': '1',
  648. '٢': '2',
  649. '٣': '3',
  650. '٤': '4',
  651. '٥': '5',
  652. '٦': '6',
  653. '٧': '7',
  654. '٨': '8',
  655. '٩': '9',
  656. '٠': '0',
  657. },
  658. pluralForm$2 = function (n) {
  659. return n === 0
  660. ? 0
  661. : n === 1
  662. ? 1
  663. : n === 2
  664. ? 2
  665. : n % 100 >= 3 && n % 100 <= 10
  666. ? 3
  667. : n % 100 >= 11
  668. ? 4
  669. : 5;
  670. },
  671. plurals$2 = {
  672. s: [
  673. 'أقل من ثانية',
  674. 'ثانية واحدة',
  675. ['ثانيتان', 'ثانيتين'],
  676. '%d ثوان',
  677. '%d ثانية',
  678. '%d ثانية',
  679. ],
  680. m: [
  681. 'أقل من دقيقة',
  682. 'دقيقة واحدة',
  683. ['دقيقتان', 'دقيقتين'],
  684. '%d دقائق',
  685. '%d دقيقة',
  686. '%d دقيقة',
  687. ],
  688. h: [
  689. 'أقل من ساعة',
  690. 'ساعة واحدة',
  691. ['ساعتان', 'ساعتين'],
  692. '%d ساعات',
  693. '%d ساعة',
  694. '%d ساعة',
  695. ],
  696. d: [
  697. 'أقل من يوم',
  698. 'يوم واحد',
  699. ['يومان', 'يومين'],
  700. '%d أيام',
  701. '%d يومًا',
  702. '%d يوم',
  703. ],
  704. M: [
  705. 'أقل من شهر',
  706. 'شهر واحد',
  707. ['شهران', 'شهرين'],
  708. '%d أشهر',
  709. '%d شهرا',
  710. '%d شهر',
  711. ],
  712. y: [
  713. 'أقل من عام',
  714. 'عام واحد',
  715. ['عامان', 'عامين'],
  716. '%d أعوام',
  717. '%d عامًا',
  718. '%d عام',
  719. ],
  720. },
  721. pluralize$2 = function (u) {
  722. return function (number, withoutSuffix, string, isFuture) {
  723. var f = pluralForm$2(number),
  724. str = plurals$2[u][pluralForm$2(number)];
  725. if (f === 2) {
  726. str = str[withoutSuffix ? 0 : 1];
  727. }
  728. return str.replace(/%d/i, number);
  729. };
  730. },
  731. months$2 = [
  732. 'يناير',
  733. 'فبراير',
  734. 'مارس',
  735. 'أبريل',
  736. 'مايو',
  737. 'يونيو',
  738. 'يوليو',
  739. 'أغسطس',
  740. 'سبتمبر',
  741. 'أكتوبر',
  742. 'نوفمبر',
  743. 'ديسمبر',
  744. ];
  745. moment.defineLocale('ar', {
  746. months: months$2,
  747. monthsShort: months$2,
  748. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  749. weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  750. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  751. weekdaysParseExact: true,
  752. longDateFormat: {
  753. LT: 'HH:mm',
  754. LTS: 'HH:mm:ss',
  755. L: 'D/\u200FM/\u200FYYYY',
  756. LL: 'D MMMM YYYY',
  757. LLL: 'D MMMM YYYY HH:mm',
  758. LLLL: 'dddd D MMMM YYYY HH:mm',
  759. },
  760. meridiemParse: /ص|م/,
  761. isPM: function (input) {
  762. return 'م' === input;
  763. },
  764. meridiem: function (hour, minute, isLower) {
  765. if (hour < 12) {
  766. return 'ص';
  767. } else {
  768. return 'م';
  769. }
  770. },
  771. calendar: {
  772. sameDay: '[اليوم عند الساعة] LT',
  773. nextDay: '[غدًا عند الساعة] LT',
  774. nextWeek: 'dddd [عند الساعة] LT',
  775. lastDay: '[أمس عند الساعة] LT',
  776. lastWeek: 'dddd [عند الساعة] LT',
  777. sameElse: 'L',
  778. },
  779. relativeTime: {
  780. future: 'بعد %s',
  781. past: 'منذ %s',
  782. s: pluralize$2('s'),
  783. ss: pluralize$2('s'),
  784. m: pluralize$2('m'),
  785. mm: pluralize$2('m'),
  786. h: pluralize$2('h'),
  787. hh: pluralize$2('h'),
  788. d: pluralize$2('d'),
  789. dd: pluralize$2('d'),
  790. M: pluralize$2('M'),
  791. MM: pluralize$2('M'),
  792. y: pluralize$2('y'),
  793. yy: pluralize$2('y'),
  794. },
  795. preparse: function (string) {
  796. return string
  797. .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
  798. return numberMap$1[match];
  799. })
  800. .replace(/،/g, ',');
  801. },
  802. postformat: function (string) {
  803. return string
  804. .replace(/\d/g, function (match) {
  805. return symbolMap$2[match];
  806. })
  807. .replace(/,/g, '،');
  808. },
  809. week: {
  810. dow: 6, // Saturday is the first day of the week.
  811. doy: 12, // The week that contains Jan 12th is the first week of the year.
  812. },
  813. });
  814. //! moment.js locale configuration
  815. var suffixes = {
  816. 1: '-inci',
  817. 5: '-inci',
  818. 8: '-inci',
  819. 70: '-inci',
  820. 80: '-inci',
  821. 2: '-nci',
  822. 7: '-nci',
  823. 20: '-nci',
  824. 50: '-nci',
  825. 3: '-üncü',
  826. 4: '-üncü',
  827. 100: '-üncü',
  828. 6: '-ncı',
  829. 9: '-uncu',
  830. 10: '-uncu',
  831. 30: '-uncu',
  832. 60: '-ıncı',
  833. 90: '-ıncı',
  834. };
  835. moment.defineLocale('az', {
  836. months: 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split(
  837. '_'
  838. ),
  839. monthsShort: 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'),
  840. weekdays:
  841. 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split(
  842. '_'
  843. ),
  844. weekdaysShort: 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'),
  845. weekdaysMin: 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'),
  846. weekdaysParseExact: true,
  847. longDateFormat: {
  848. LT: 'HH:mm',
  849. LTS: 'HH:mm:ss',
  850. L: 'DD.MM.YYYY',
  851. LL: 'D MMMM YYYY',
  852. LLL: 'D MMMM YYYY HH:mm',
  853. LLLL: 'dddd, D MMMM YYYY HH:mm',
  854. },
  855. calendar: {
  856. sameDay: '[bugün saat] LT',
  857. nextDay: '[sabah saat] LT',
  858. nextWeek: '[gələn həftə] dddd [saat] LT',
  859. lastDay: '[dünən] LT',
  860. lastWeek: '[keçən həftə] dddd [saat] LT',
  861. sameElse: 'L',
  862. },
  863. relativeTime: {
  864. future: '%s sonra',
  865. past: '%s əvvəl',
  866. s: 'bir neçə saniyə',
  867. ss: '%d saniyə',
  868. m: 'bir dəqiqə',
  869. mm: '%d dəqiqə',
  870. h: 'bir saat',
  871. hh: '%d saat',
  872. d: 'bir gün',
  873. dd: '%d gün',
  874. M: 'bir ay',
  875. MM: '%d ay',
  876. y: 'bir il',
  877. yy: '%d il',
  878. },
  879. meridiemParse: /gecə|səhər|gündüz|axşam/,
  880. isPM: function (input) {
  881. return /^(gündüz|axşam)$/.test(input);
  882. },
  883. meridiem: function (hour, minute, isLower) {
  884. if (hour < 4) {
  885. return 'gecə';
  886. } else if (hour < 12) {
  887. return 'səhər';
  888. } else if (hour < 17) {
  889. return 'gündüz';
  890. } else {
  891. return 'axşam';
  892. }
  893. },
  894. dayOfMonthOrdinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,
  895. ordinal: function (number) {
  896. if (number === 0) {
  897. // special case for zero
  898. return number + '-ıncı';
  899. }
  900. var a = number % 10,
  901. b = (number % 100) - a,
  902. c = number >= 100 ? 100 : null;
  903. return number + (suffixes[a] || suffixes[b] || suffixes[c]);
  904. },
  905. week: {
  906. dow: 1, // Monday is the first day of the week.
  907. doy: 7, // The week that contains Jan 7th is the first week of the year.
  908. },
  909. });
  910. //! moment.js locale configuration
  911. function plural(word, num) {
  912. var forms = word.split('_');
  913. return num % 10 === 1 && num % 100 !== 11
  914. ? forms[0]
  915. : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)
  916. ? forms[1]
  917. : forms[2];
  918. }
  919. function relativeTimeWithPlural(number, withoutSuffix, key) {
  920. var format = {
  921. ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',
  922. mm: withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін',
  923. hh: withoutSuffix ? 'гадзіна_гадзіны_гадзін' : 'гадзіну_гадзіны_гадзін',
  924. dd: 'дзень_дні_дзён',
  925. MM: 'месяц_месяцы_месяцаў',
  926. yy: 'год_гады_гадоў',
  927. };
  928. if (key === 'm') {
  929. return withoutSuffix ? 'хвіліна' : 'хвіліну';
  930. } else if (key === 'h') {
  931. return withoutSuffix ? 'гадзіна' : 'гадзіну';
  932. } else {
  933. return number + ' ' + plural(format[key], +number);
  934. }
  935. }
  936. moment.defineLocale('be', {
  937. months: {
  938. format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split(
  939. '_'
  940. ),
  941. standalone:
  942. 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split(
  943. '_'
  944. ),
  945. },
  946. monthsShort:
  947. 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split('_'),
  948. weekdays: {
  949. format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split(
  950. '_'
  951. ),
  952. standalone:
  953. 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split(
  954. '_'
  955. ),
  956. isFormat: /\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/,
  957. },
  958. weekdaysShort: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
  959. weekdaysMin: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
  960. longDateFormat: {
  961. LT: 'HH:mm',
  962. LTS: 'HH:mm:ss',
  963. L: 'DD.MM.YYYY',
  964. LL: 'D MMMM YYYY г.',
  965. LLL: 'D MMMM YYYY г., HH:mm',
  966. LLLL: 'dddd, D MMMM YYYY г., HH:mm',
  967. },
  968. calendar: {
  969. sameDay: '[Сёння ў] LT',
  970. nextDay: '[Заўтра ў] LT',
  971. lastDay: '[Учора ў] LT',
  972. nextWeek: function () {
  973. return '[У] dddd [ў] LT';
  974. },
  975. lastWeek: function () {
  976. switch (this.day()) {
  977. case 0:
  978. case 3:
  979. case 5:
  980. case 6:
  981. return '[У мінулую] dddd [ў] LT';
  982. case 1:
  983. case 2:
  984. case 4:
  985. return '[У мінулы] dddd [ў] LT';
  986. }
  987. },
  988. sameElse: 'L',
  989. },
  990. relativeTime: {
  991. future: 'праз %s',
  992. past: '%s таму',
  993. s: 'некалькі секунд',
  994. m: relativeTimeWithPlural,
  995. mm: relativeTimeWithPlural,
  996. h: relativeTimeWithPlural,
  997. hh: relativeTimeWithPlural,
  998. d: 'дзень',
  999. dd: relativeTimeWithPlural,
  1000. M: 'месяц',
  1001. MM: relativeTimeWithPlural,
  1002. y: 'год',
  1003. yy: relativeTimeWithPlural,
  1004. },
  1005. meridiemParse: /ночы|раніцы|дня|вечара/,
  1006. isPM: function (input) {
  1007. return /^(дня|вечара)$/.test(input);
  1008. },
  1009. meridiem: function (hour, minute, isLower) {
  1010. if (hour < 4) {
  1011. return 'ночы';
  1012. } else if (hour < 12) {
  1013. return 'раніцы';
  1014. } else if (hour < 17) {
  1015. return 'дня';
  1016. } else {
  1017. return 'вечара';
  1018. }
  1019. },
  1020. dayOfMonthOrdinalParse: /\d{1,2}-(і|ы|га)/,
  1021. ordinal: function (number, period) {
  1022. switch (period) {
  1023. case 'M':
  1024. case 'd':
  1025. case 'DDD':
  1026. case 'w':
  1027. case 'W':
  1028. return (number % 10 === 2 || number % 10 === 3) &&
  1029. number % 100 !== 12 &&
  1030. number % 100 !== 13
  1031. ? number + '-і'
  1032. : number + '-ы';
  1033. case 'D':
  1034. return number + '-га';
  1035. default:
  1036. return number;
  1037. }
  1038. },
  1039. week: {
  1040. dow: 1, // Monday is the first day of the week.
  1041. doy: 7, // The week that contains Jan 7th is the first week of the year.
  1042. },
  1043. });
  1044. //! moment.js locale configuration
  1045. moment.defineLocale('bg', {
  1046. months: 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split(
  1047. '_'
  1048. ),
  1049. monthsShort: 'яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'),
  1050. weekdays: 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split(
  1051. '_'
  1052. ),
  1053. weekdaysShort: 'нед_пон_вто_сря_чет_пет_съб'.split('_'),
  1054. weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
  1055. longDateFormat: {
  1056. LT: 'H:mm',
  1057. LTS: 'H:mm:ss',
  1058. L: 'D.MM.YYYY',
  1059. LL: 'D MMMM YYYY',
  1060. LLL: 'D MMMM YYYY H:mm',
  1061. LLLL: 'dddd, D MMMM YYYY H:mm',
  1062. },
  1063. calendar: {
  1064. sameDay: '[Днес в] LT',
  1065. nextDay: '[Утре в] LT',
  1066. nextWeek: 'dddd [в] LT',
  1067. lastDay: '[Вчера в] LT',
  1068. lastWeek: function () {
  1069. switch (this.day()) {
  1070. case 0:
  1071. case 3:
  1072. case 6:
  1073. return '[Миналата] dddd [в] LT';
  1074. case 1:
  1075. case 2:
  1076. case 4:
  1077. case 5:
  1078. return '[Миналия] dddd [в] LT';
  1079. }
  1080. },
  1081. sameElse: 'L',
  1082. },
  1083. relativeTime: {
  1084. future: 'след %s',
  1085. past: 'преди %s',
  1086. s: 'няколко секунди',
  1087. ss: '%d секунди',
  1088. m: 'минута',
  1089. mm: '%d минути',
  1090. h: 'час',
  1091. hh: '%d часа',
  1092. d: 'ден',
  1093. dd: '%d дена',
  1094. w: 'седмица',
  1095. ww: '%d седмици',
  1096. M: 'месец',
  1097. MM: '%d месеца',
  1098. y: 'година',
  1099. yy: '%d години',
  1100. },
  1101. dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
  1102. ordinal: function (number) {
  1103. var lastDigit = number % 10,
  1104. last2Digits = number % 100;
  1105. if (number === 0) {
  1106. return number + '-ев';
  1107. } else if (last2Digits === 0) {
  1108. return number + '-ен';
  1109. } else if (last2Digits > 10 && last2Digits < 20) {
  1110. return number + '-ти';
  1111. } else if (lastDigit === 1) {
  1112. return number + '-ви';
  1113. } else if (lastDigit === 2) {
  1114. return number + '-ри';
  1115. } else if (lastDigit === 7 || lastDigit === 8) {
  1116. return number + '-ми';
  1117. } else {
  1118. return number + '-ти';
  1119. }
  1120. },
  1121. week: {
  1122. dow: 1, // Monday is the first day of the week.
  1123. doy: 7, // The week that contains Jan 7th is the first week of the year.
  1124. },
  1125. });
  1126. //! moment.js locale configuration
  1127. moment.defineLocale('bm', {
  1128. months: 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo'.split(
  1129. '_'
  1130. ),
  1131. monthsShort: 'Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des'.split('_'),
  1132. weekdays: 'Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri'.split('_'),
  1133. weekdaysShort: 'Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib'.split('_'),
  1134. weekdaysMin: 'Ka_Nt_Ta_Ar_Al_Ju_Si'.split('_'),
  1135. longDateFormat: {
  1136. LT: 'HH:mm',
  1137. LTS: 'HH:mm:ss',
  1138. L: 'DD/MM/YYYY',
  1139. LL: 'MMMM [tile] D [san] YYYY',
  1140. LLL: 'MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',
  1141. LLLL: 'dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',
  1142. },
  1143. calendar: {
  1144. sameDay: '[Bi lɛrɛ] LT',
  1145. nextDay: '[Sini lɛrɛ] LT',
  1146. nextWeek: 'dddd [don lɛrɛ] LT',
  1147. lastDay: '[Kunu lɛrɛ] LT',
  1148. lastWeek: 'dddd [tɛmɛnen lɛrɛ] LT',
  1149. sameElse: 'L',
  1150. },
  1151. relativeTime: {
  1152. future: '%s kɔnɔ',
  1153. past: 'a bɛ %s bɔ',
  1154. s: 'sanga dama dama',
  1155. ss: 'sekondi %d',
  1156. m: 'miniti kelen',
  1157. mm: 'miniti %d',
  1158. h: 'lɛrɛ kelen',
  1159. hh: 'lɛrɛ %d',
  1160. d: 'tile kelen',
  1161. dd: 'tile %d',
  1162. M: 'kalo kelen',
  1163. MM: 'kalo %d',
  1164. y: 'san kelen',
  1165. yy: 'san %d',
  1166. },
  1167. week: {
  1168. dow: 1, // Monday is the first day of the week.
  1169. doy: 4, // The week that contains Jan 4th is the first week of the year.
  1170. },
  1171. });
  1172. //! moment.js locale configuration
  1173. var symbolMap$3 = {
  1174. 1: '১',
  1175. 2: '২',
  1176. 3: '৩',
  1177. 4: '৪',
  1178. 5: '৫',
  1179. 6: '৬',
  1180. 7: '৭',
  1181. 8: '৮',
  1182. 9: '৯',
  1183. 0: '০',
  1184. },
  1185. numberMap$2 = {
  1186. '১': '1',
  1187. '২': '2',
  1188. '৩': '3',
  1189. '৪': '4',
  1190. '৫': '5',
  1191. '৬': '6',
  1192. '৭': '7',
  1193. '৮': '8',
  1194. '৯': '9',
  1195. '০': '0',
  1196. };
  1197. moment.defineLocale('bn-bd', {
  1198. months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split(
  1199. '_'
  1200. ),
  1201. monthsShort:
  1202. 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split(
  1203. '_'
  1204. ),
  1205. weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split(
  1206. '_'
  1207. ),
  1208. weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'),
  1209. weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'),
  1210. longDateFormat: {
  1211. LT: 'A h:mm সময়',
  1212. LTS: 'A h:mm:ss সময়',
  1213. L: 'DD/MM/YYYY',
  1214. LL: 'D MMMM YYYY',
  1215. LLL: 'D MMMM YYYY, A h:mm সময়',
  1216. LLLL: 'dddd, D MMMM YYYY, A h:mm সময়',
  1217. },
  1218. calendar: {
  1219. sameDay: '[আজ] LT',
  1220. nextDay: '[আগামীকাল] LT',
  1221. nextWeek: 'dddd, LT',
  1222. lastDay: '[গতকাল] LT',
  1223. lastWeek: '[গত] dddd, LT',
  1224. sameElse: 'L',
  1225. },
  1226. relativeTime: {
  1227. future: '%s পরে',
  1228. past: '%s আগে',
  1229. s: 'কয়েক সেকেন্ড',
  1230. ss: '%d সেকেন্ড',
  1231. m: 'এক মিনিট',
  1232. mm: '%d মিনিট',
  1233. h: 'এক ঘন্টা',
  1234. hh: '%d ঘন্টা',
  1235. d: 'এক দিন',
  1236. dd: '%d দিন',
  1237. M: 'এক মাস',
  1238. MM: '%d মাস',
  1239. y: 'এক বছর',
  1240. yy: '%d বছর',
  1241. },
  1242. preparse: function (string) {
  1243. return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {
  1244. return numberMap$2[match];
  1245. });
  1246. },
  1247. postformat: function (string) {
  1248. return string.replace(/\d/g, function (match) {
  1249. return symbolMap$3[match];
  1250. });
  1251. },
  1252. meridiemParse: /রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,
  1253. meridiemHour: function (hour, meridiem) {
  1254. if (hour === 12) {
  1255. hour = 0;
  1256. }
  1257. if (meridiem === 'রাত') {
  1258. return hour < 4 ? hour : hour + 12;
  1259. } else if (meridiem === 'ভোর') {
  1260. return hour;
  1261. } else if (meridiem === 'সকাল') {
  1262. return hour;
  1263. } else if (meridiem === 'দুপুর') {
  1264. return hour >= 3 ? hour : hour + 12;
  1265. } else if (meridiem === 'বিকাল') {
  1266. return hour + 12;
  1267. } else if (meridiem === 'সন্ধ্যা') {
  1268. return hour + 12;
  1269. }
  1270. },
  1271. meridiem: function (hour, minute, isLower) {
  1272. if (hour < 4) {
  1273. return 'রাত';
  1274. } else if (hour < 6) {
  1275. return 'ভোর';
  1276. } else if (hour < 12) {
  1277. return 'সকাল';
  1278. } else if (hour < 15) {
  1279. return 'দুপুর';
  1280. } else if (hour < 18) {
  1281. return 'বিকাল';
  1282. } else if (hour < 20) {
  1283. return 'সন্ধ্যা';
  1284. } else {
  1285. return 'রাত';
  1286. }
  1287. },
  1288. week: {
  1289. dow: 0, // Sunday is the first day of the week.
  1290. doy: 6, // The week that contains Jan 6th is the first week of the year.
  1291. },
  1292. });
  1293. //! moment.js locale configuration
  1294. var symbolMap$4 = {
  1295. 1: '১',
  1296. 2: '২',
  1297. 3: '৩',
  1298. 4: '৪',
  1299. 5: '৫',
  1300. 6: '৬',
  1301. 7: '৭',
  1302. 8: '৮',
  1303. 9: '৯',
  1304. 0: '০',
  1305. },
  1306. numberMap$3 = {
  1307. '১': '1',
  1308. '২': '2',
  1309. '৩': '3',
  1310. '৪': '4',
  1311. '৫': '5',
  1312. '৬': '6',
  1313. '৭': '7',
  1314. '৮': '8',
  1315. '৯': '9',
  1316. '০': '0',
  1317. };
  1318. moment.defineLocale('bn', {
  1319. months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split(
  1320. '_'
  1321. ),
  1322. monthsShort:
  1323. 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split(
  1324. '_'
  1325. ),
  1326. weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split(
  1327. '_'
  1328. ),
  1329. weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'),
  1330. weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'),
  1331. longDateFormat: {
  1332. LT: 'A h:mm সময়',
  1333. LTS: 'A h:mm:ss সময়',
  1334. L: 'DD/MM/YYYY',
  1335. LL: 'D MMMM YYYY',
  1336. LLL: 'D MMMM YYYY, A h:mm সময়',
  1337. LLLL: 'dddd, D MMMM YYYY, A h:mm সময়',
  1338. },
  1339. calendar: {
  1340. sameDay: '[আজ] LT',
  1341. nextDay: '[আগামীকাল] LT',
  1342. nextWeek: 'dddd, LT',
  1343. lastDay: '[গতকাল] LT',
  1344. lastWeek: '[গত] dddd, LT',
  1345. sameElse: 'L',
  1346. },
  1347. relativeTime: {
  1348. future: '%s পরে',
  1349. past: '%s আগে',
  1350. s: 'কয়েক সেকেন্ড',
  1351. ss: '%d সেকেন্ড',
  1352. m: 'এক মিনিট',
  1353. mm: '%d মিনিট',
  1354. h: 'এক ঘন্টা',
  1355. hh: '%d ঘন্টা',
  1356. d: 'এক দিন',
  1357. dd: '%d দিন',
  1358. M: 'এক মাস',
  1359. MM: '%d মাস',
  1360. y: 'এক বছর',
  1361. yy: '%d বছর',
  1362. },
  1363. preparse: function (string) {
  1364. return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {
  1365. return numberMap$3[match];
  1366. });
  1367. },
  1368. postformat: function (string) {
  1369. return string.replace(/\d/g, function (match) {
  1370. return symbolMap$4[match];
  1371. });
  1372. },
  1373. meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/,
  1374. meridiemHour: function (hour, meridiem) {
  1375. if (hour === 12) {
  1376. hour = 0;
  1377. }
  1378. if (
  1379. (meridiem === 'রাত' && hour >= 4) ||
  1380. (meridiem === 'দুপুর' && hour < 5) ||
  1381. meridiem === 'বিকাল'
  1382. ) {
  1383. return hour + 12;
  1384. } else {
  1385. return hour;
  1386. }
  1387. },
  1388. meridiem: function (hour, minute, isLower) {
  1389. if (hour < 4) {
  1390. return 'রাত';
  1391. } else if (hour < 10) {
  1392. return 'সকাল';
  1393. } else if (hour < 17) {
  1394. return 'দুপুর';
  1395. } else if (hour < 20) {
  1396. return 'বিকাল';
  1397. } else {
  1398. return 'রাত';
  1399. }
  1400. },
  1401. week: {
  1402. dow: 0, // Sunday is the first day of the week.
  1403. doy: 6, // The week that contains Jan 6th is the first week of the year.
  1404. },
  1405. });
  1406. //! moment.js locale configuration
  1407. var symbolMap$5 = {
  1408. 1: '༡',
  1409. 2: '༢',
  1410. 3: '༣',
  1411. 4: '༤',
  1412. 5: '༥',
  1413. 6: '༦',
  1414. 7: '༧',
  1415. 8: '༨',
  1416. 9: '༩',
  1417. 0: '༠',
  1418. },
  1419. numberMap$4 = {
  1420. '༡': '1',
  1421. '༢': '2',
  1422. '༣': '3',
  1423. '༤': '4',
  1424. '༥': '5',
  1425. '༦': '6',
  1426. '༧': '7',
  1427. '༨': '8',
  1428. '༩': '9',
  1429. '༠': '0',
  1430. };
  1431. moment.defineLocale('bo', {
  1432. months: 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split(
  1433. '_'
  1434. ),
  1435. monthsShort:
  1436. 'ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12'.split(
  1437. '_'
  1438. ),
  1439. monthsShortRegex: /^(ཟླ་\d{1,2})/,
  1440. monthsParseExact: true,
  1441. weekdays:
  1442. 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split(
  1443. '_'
  1444. ),
  1445. weekdaysShort: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split(
  1446. '_'
  1447. ),
  1448. weekdaysMin: 'ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན'.split('_'),
  1449. longDateFormat: {
  1450. LT: 'A h:mm',
  1451. LTS: 'A h:mm:ss',
  1452. L: 'DD/MM/YYYY',
  1453. LL: 'D MMMM YYYY',
  1454. LLL: 'D MMMM YYYY, A h:mm',
  1455. LLLL: 'dddd, D MMMM YYYY, A h:mm',
  1456. },
  1457. calendar: {
  1458. sameDay: '[དི་རིང] LT',
  1459. nextDay: '[སང་ཉིན] LT',
  1460. nextWeek: '[བདུན་ཕྲག་རྗེས་མ], LT',
  1461. lastDay: '[ཁ་སང] LT',
  1462. lastWeek: '[བདུན་ཕྲག་མཐའ་མ] dddd, LT',
  1463. sameElse: 'L',
  1464. },
  1465. relativeTime: {
  1466. future: '%s ལ་',
  1467. past: '%s སྔན་ལ',
  1468. s: 'ལམ་སང',
  1469. ss: '%d སྐར་ཆ།',
  1470. m: 'སྐར་མ་གཅིག',
  1471. mm: '%d སྐར་མ',
  1472. h: 'ཆུ་ཚོད་གཅིག',
  1473. hh: '%d ཆུ་ཚོད',
  1474. d: 'ཉིན་གཅིག',
  1475. dd: '%d ཉིན་',
  1476. M: 'ཟླ་བ་གཅིག',
  1477. MM: '%d ཟླ་བ',
  1478. y: 'ལོ་གཅིག',
  1479. yy: '%d ལོ',
  1480. },
  1481. preparse: function (string) {
  1482. return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (match) {
  1483. return numberMap$4[match];
  1484. });
  1485. },
  1486. postformat: function (string) {
  1487. return string.replace(/\d/g, function (match) {
  1488. return symbolMap$5[match];
  1489. });
  1490. },
  1491. meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,
  1492. meridiemHour: function (hour, meridiem) {
  1493. if (hour === 12) {
  1494. hour = 0;
  1495. }
  1496. if (
  1497. (meridiem === 'མཚན་མོ' && hour >= 4) ||
  1498. (meridiem === 'ཉིན་གུང' && hour < 5) ||
  1499. meridiem === 'དགོང་དག'
  1500. ) {
  1501. return hour + 12;
  1502. } else {
  1503. return hour;
  1504. }
  1505. },
  1506. meridiem: function (hour, minute, isLower) {
  1507. if (hour < 4) {
  1508. return 'མཚན་མོ';
  1509. } else if (hour < 10) {
  1510. return 'ཞོགས་ཀས';
  1511. } else if (hour < 17) {
  1512. return 'ཉིན་གུང';
  1513. } else if (hour < 20) {
  1514. return 'དགོང་དག';
  1515. } else {
  1516. return 'མཚན་མོ';
  1517. }
  1518. },
  1519. week: {
  1520. dow: 0, // Sunday is the first day of the week.
  1521. doy: 6, // The week that contains Jan 6th is the first week of the year.
  1522. },
  1523. });
  1524. //! moment.js locale configuration
  1525. function relativeTimeWithMutation(number, withoutSuffix, key) {
  1526. var format = {
  1527. mm: 'munutenn',
  1528. MM: 'miz',
  1529. dd: 'devezh',
  1530. };
  1531. return number + ' ' + mutation(format[key], number);
  1532. }
  1533. function specialMutationForYears(number) {
  1534. switch (lastNumber(number)) {
  1535. case 1:
  1536. case 3:
  1537. case 4:
  1538. case 5:
  1539. case 9:
  1540. return number + ' bloaz';
  1541. default:
  1542. return number + ' vloaz';
  1543. }
  1544. }
  1545. function lastNumber(number) {
  1546. if (number > 9) {
  1547. return lastNumber(number % 10);
  1548. }
  1549. return number;
  1550. }
  1551. function mutation(text, number) {
  1552. if (number === 2) {
  1553. return softMutation(text);
  1554. }
  1555. return text;
  1556. }
  1557. function softMutation(text) {
  1558. var mutationTable = {
  1559. m: 'v',
  1560. b: 'v',
  1561. d: 'z',
  1562. };
  1563. if (mutationTable[text.charAt(0)] === undefined) {
  1564. return text;
  1565. }
  1566. return mutationTable[text.charAt(0)] + text.substring(1);
  1567. }
  1568. var monthsParse = [
  1569. /^gen/i,
  1570. /^c[ʼ\']hwe/i,
  1571. /^meu/i,
  1572. /^ebr/i,
  1573. /^mae/i,
  1574. /^(mez|eve)/i,
  1575. /^gou/i,
  1576. /^eos/i,
  1577. /^gwe/i,
  1578. /^her/i,
  1579. /^du/i,
  1580. /^ker/i,
  1581. ],
  1582. monthsRegex =
  1583. /^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,
  1584. monthsStrictRegex =
  1585. /^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,
  1586. monthsShortStrictRegex =
  1587. /^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,
  1588. fullWeekdaysParse = [
  1589. /^sul/i,
  1590. /^lun/i,
  1591. /^meurzh/i,
  1592. /^merc[ʼ\']her/i,
  1593. /^yaou/i,
  1594. /^gwener/i,
  1595. /^sadorn/i,
  1596. ],
  1597. shortWeekdaysParse = [
  1598. /^Sul/i,
  1599. /^Lun/i,
  1600. /^Meu/i,
  1601. /^Mer/i,
  1602. /^Yao/i,
  1603. /^Gwe/i,
  1604. /^Sad/i,
  1605. ],
  1606. minWeekdaysParse = [
  1607. /^Su/i,
  1608. /^Lu/i,
  1609. /^Me([^r]|$)/i,
  1610. /^Mer/i,
  1611. /^Ya/i,
  1612. /^Gw/i,
  1613. /^Sa/i,
  1614. ];
  1615. moment.defineLocale('br', {
  1616. months: 'Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu'.split(
  1617. '_'
  1618. ),
  1619. monthsShort: 'Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker'.split('_'),
  1620. weekdays: 'Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn'.split('_'),
  1621. weekdaysShort: 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'),
  1622. weekdaysMin: 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'),
  1623. weekdaysParse: minWeekdaysParse,
  1624. fullWeekdaysParse: fullWeekdaysParse,
  1625. shortWeekdaysParse: shortWeekdaysParse,
  1626. minWeekdaysParse: minWeekdaysParse,
  1627. monthsRegex: monthsRegex,
  1628. monthsShortRegex: monthsRegex,
  1629. monthsStrictRegex: monthsStrictRegex,
  1630. monthsShortStrictRegex: monthsShortStrictRegex,
  1631. monthsParse: monthsParse,
  1632. longMonthsParse: monthsParse,
  1633. shortMonthsParse: monthsParse,
  1634. longDateFormat: {
  1635. LT: 'HH:mm',
  1636. LTS: 'HH:mm:ss',
  1637. L: 'DD/MM/YYYY',
  1638. LL: 'D [a viz] MMMM YYYY',
  1639. LLL: 'D [a viz] MMMM YYYY HH:mm',
  1640. LLLL: 'dddd, D [a viz] MMMM YYYY HH:mm',
  1641. },
  1642. calendar: {
  1643. sameDay: '[Hiziv da] LT',
  1644. nextDay: '[Warcʼhoazh da] LT',
  1645. nextWeek: 'dddd [da] LT',
  1646. lastDay: '[Decʼh da] LT',
  1647. lastWeek: 'dddd [paset da] LT',
  1648. sameElse: 'L',
  1649. },
  1650. relativeTime: {
  1651. future: 'a-benn %s',
  1652. past: '%s ʼzo',
  1653. s: 'un nebeud segondennoù',
  1654. ss: '%d eilenn',
  1655. m: 'ur vunutenn',
  1656. mm: relativeTimeWithMutation,
  1657. h: 'un eur',
  1658. hh: '%d eur',
  1659. d: 'un devezh',
  1660. dd: relativeTimeWithMutation,
  1661. M: 'ur miz',
  1662. MM: relativeTimeWithMutation,
  1663. y: 'ur bloaz',
  1664. yy: specialMutationForYears,
  1665. },
  1666. dayOfMonthOrdinalParse: /\d{1,2}(añ|vet)/,
  1667. ordinal: function (number) {
  1668. var output = number === 1 ? 'añ' : 'vet';
  1669. return number + output;
  1670. },
  1671. week: {
  1672. dow: 1, // Monday is the first day of the week.
  1673. doy: 4, // The week that contains Jan 4th is the first week of the year.
  1674. },
  1675. meridiemParse: /a.m.|g.m./, // goude merenn | a-raok merenn
  1676. isPM: function (token) {
  1677. return token === 'g.m.';
  1678. },
  1679. meridiem: function (hour, minute, isLower) {
  1680. return hour < 12 ? 'a.m.' : 'g.m.';
  1681. },
  1682. });
  1683. //! moment.js locale configuration
  1684. function translate(number, withoutSuffix, key) {
  1685. var result = number + ' ';
  1686. switch (key) {
  1687. case 'ss':
  1688. if (number === 1) {
  1689. result += 'sekunda';
  1690. } else if (number === 2 || number === 3 || number === 4) {
  1691. result += 'sekunde';
  1692. } else {
  1693. result += 'sekundi';
  1694. }
  1695. return result;
  1696. case 'm':
  1697. return withoutSuffix ? 'jedna minuta' : 'jedne minute';
  1698. case 'mm':
  1699. if (number === 1) {
  1700. result += 'minuta';
  1701. } else if (number === 2 || number === 3 || number === 4) {
  1702. result += 'minute';
  1703. } else {
  1704. result += 'minuta';
  1705. }
  1706. return result;
  1707. case 'h':
  1708. return withoutSuffix ? 'jedan sat' : 'jednog sata';
  1709. case 'hh':
  1710. if (number === 1) {
  1711. result += 'sat';
  1712. } else if (number === 2 || number === 3 || number === 4) {
  1713. result += 'sata';
  1714. } else {
  1715. result += 'sati';
  1716. }
  1717. return result;
  1718. case 'dd':
  1719. if (number === 1) {
  1720. result += 'dan';
  1721. } else {
  1722. result += 'dana';
  1723. }
  1724. return result;
  1725. case 'MM':
  1726. if (number === 1) {
  1727. result += 'mjesec';
  1728. } else if (number === 2 || number === 3 || number === 4) {
  1729. result += 'mjeseca';
  1730. } else {
  1731. result += 'mjeseci';
  1732. }
  1733. return result;
  1734. case 'yy':
  1735. if (number === 1) {
  1736. result += 'godina';
  1737. } else if (number === 2 || number === 3 || number === 4) {
  1738. result += 'godine';
  1739. } else {
  1740. result += 'godina';
  1741. }
  1742. return result;
  1743. }
  1744. }
  1745. moment.defineLocale('bs', {
  1746. months: 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split(
  1747. '_'
  1748. ),
  1749. monthsShort:
  1750. 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split(
  1751. '_'
  1752. ),
  1753. monthsParseExact: true,
  1754. weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(
  1755. '_'
  1756. ),
  1757. weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
  1758. weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
  1759. weekdaysParseExact: true,
  1760. longDateFormat: {
  1761. LT: 'H:mm',
  1762. LTS: 'H:mm:ss',
  1763. L: 'DD.MM.YYYY',
  1764. LL: 'D. MMMM YYYY',
  1765. LLL: 'D. MMMM YYYY H:mm',
  1766. LLLL: 'dddd, D. MMMM YYYY H:mm',
  1767. },
  1768. calendar: {
  1769. sameDay: '[danas u] LT',
  1770. nextDay: '[sutra u] LT',
  1771. nextWeek: function () {
  1772. switch (this.day()) {
  1773. case 0:
  1774. return '[u] [nedjelju] [u] LT';
  1775. case 3:
  1776. return '[u] [srijedu] [u] LT';
  1777. case 6:
  1778. return '[u] [subotu] [u] LT';
  1779. case 1:
  1780. case 2:
  1781. case 4:
  1782. case 5:
  1783. return '[u] dddd [u] LT';
  1784. }
  1785. },
  1786. lastDay: '[jučer u] LT',
  1787. lastWeek: function () {
  1788. switch (this.day()) {
  1789. case 0:
  1790. case 3:
  1791. return '[prošlu] dddd [u] LT';
  1792. case 6:
  1793. return '[prošle] [subote] [u] LT';
  1794. case 1:
  1795. case 2:
  1796. case 4:
  1797. case 5:
  1798. return '[prošli] dddd [u] LT';
  1799. }
  1800. },
  1801. sameElse: 'L',
  1802. },
  1803. relativeTime: {
  1804. future: 'za %s',
  1805. past: 'prije %s',
  1806. s: 'par sekundi',
  1807. ss: translate,
  1808. m: translate,
  1809. mm: translate,
  1810. h: translate,
  1811. hh: translate,
  1812. d: 'dan',
  1813. dd: translate,
  1814. M: 'mjesec',
  1815. MM: translate,
  1816. y: 'godinu',
  1817. yy: translate,
  1818. },
  1819. dayOfMonthOrdinalParse: /\d{1,2}\./,
  1820. ordinal: '%d.',
  1821. week: {
  1822. dow: 1, // Monday is the first day of the week.
  1823. doy: 7, // The week that contains Jan 7th is the first week of the year.
  1824. },
  1825. });
  1826. //! moment.js locale configuration
  1827. moment.defineLocale('ca', {
  1828. months: {
  1829. standalone:
  1830. 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split(
  1831. '_'
  1832. ),
  1833. format: "de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split(
  1834. '_'
  1835. ),
  1836. isFormat: /D[oD]?(\s)+MMMM/,
  1837. },
  1838. monthsShort:
  1839. 'gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.'.split(
  1840. '_'
  1841. ),
  1842. monthsParseExact: true,
  1843. weekdays:
  1844. 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split(
  1845. '_'
  1846. ),
  1847. weekdaysShort: 'dg._dl._dt._dc._dj._dv._ds.'.split('_'),
  1848. weekdaysMin: 'dg_dl_dt_dc_dj_dv_ds'.split('_'),
  1849. weekdaysParseExact: true,
  1850. longDateFormat: {
  1851. LT: 'H:mm',
  1852. LTS: 'H:mm:ss',
  1853. L: 'DD/MM/YYYY',
  1854. LL: 'D MMMM [de] YYYY',
  1855. ll: 'D MMM YYYY',
  1856. LLL: 'D MMMM [de] YYYY [a les] H:mm',
  1857. lll: 'D MMM YYYY, H:mm',
  1858. LLLL: 'dddd D MMMM [de] YYYY [a les] H:mm',
  1859. llll: 'ddd D MMM YYYY, H:mm',
  1860. },
  1861. calendar: {
  1862. sameDay: function () {
  1863. return '[avui a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
  1864. },
  1865. nextDay: function () {
  1866. return '[demà a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
  1867. },
  1868. nextWeek: function () {
  1869. return 'dddd [a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
  1870. },
  1871. lastDay: function () {
  1872. return '[ahir a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
  1873. },
  1874. lastWeek: function () {
  1875. return (
  1876. '[el] dddd [passat a ' +
  1877. (this.hours() !== 1 ? 'les' : 'la') +
  1878. '] LT'
  1879. );
  1880. },
  1881. sameElse: 'L',
  1882. },
  1883. relativeTime: {
  1884. future: "d'aquí %s",
  1885. past: 'fa %s',
  1886. s: 'uns segons',
  1887. ss: '%d segons',
  1888. m: 'un minut',
  1889. mm: '%d minuts',
  1890. h: 'una hora',
  1891. hh: '%d hores',
  1892. d: 'un dia',
  1893. dd: '%d dies',
  1894. M: 'un mes',
  1895. MM: '%d mesos',
  1896. y: 'un any',
  1897. yy: '%d anys',
  1898. },
  1899. dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/,
  1900. ordinal: function (number, period) {
  1901. var output =
  1902. number === 1
  1903. ? 'r'
  1904. : number === 2
  1905. ? 'n'
  1906. : number === 3
  1907. ? 'r'
  1908. : number === 4
  1909. ? 't'
  1910. : 'è';
  1911. if (period === 'w' || period === 'W') {
  1912. output = 'a';
  1913. }
  1914. return number + output;
  1915. },
  1916. week: {
  1917. dow: 1, // Monday is the first day of the week.
  1918. doy: 4, // The week that contains Jan 4th is the first week of the year.
  1919. },
  1920. });
  1921. //! moment.js locale configuration
  1922. var months$3 = {
  1923. format: 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split(
  1924. '_'
  1925. ),
  1926. standalone:
  1927. 'ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince'.split(
  1928. '_'
  1929. ),
  1930. },
  1931. monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'),
  1932. monthsParse$1 = [
  1933. /^led/i,
  1934. /^úno/i,
  1935. /^bře/i,
  1936. /^dub/i,
  1937. /^kvě/i,
  1938. /^(čvn|červen$|června)/i,
  1939. /^(čvc|červenec|července)/i,
  1940. /^srp/i,
  1941. /^zář/i,
  1942. /^říj/i,
  1943. /^lis/i,
  1944. /^pro/i,
  1945. ],
  1946. // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.
  1947. // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.
  1948. monthsRegex$1 =
  1949. /^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;
  1950. function plural$1(n) {
  1951. return n > 1 && n < 5 && ~~(n / 10) !== 1;
  1952. }
  1953. function translate$1(number, withoutSuffix, key, isFuture) {
  1954. var result = number + ' ';
  1955. switch (key) {
  1956. case 's': // a few seconds / in a few seconds / a few seconds ago
  1957. return withoutSuffix || isFuture ? 'pár sekund' : 'pár sekundami';
  1958. case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago
  1959. if (withoutSuffix || isFuture) {
  1960. return result + (plural$1(number) ? 'sekundy' : 'sekund');
  1961. } else {
  1962. return result + 'sekundami';
  1963. }
  1964. case 'm': // a minute / in a minute / a minute ago
  1965. return withoutSuffix ? 'minuta' : isFuture ? 'minutu' : 'minutou';
  1966. case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago
  1967. if (withoutSuffix || isFuture) {
  1968. return result + (plural$1(number) ? 'minuty' : 'minut');
  1969. } else {
  1970. return result + 'minutami';
  1971. }
  1972. case 'h': // an hour / in an hour / an hour ago
  1973. return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';
  1974. case 'hh': // 9 hours / in 9 hours / 9 hours ago
  1975. if (withoutSuffix || isFuture) {
  1976. return result + (plural$1(number) ? 'hodiny' : 'hodin');
  1977. } else {
  1978. return result + 'hodinami';
  1979. }
  1980. case 'd': // a day / in a day / a day ago
  1981. return withoutSuffix || isFuture ? 'den' : 'dnem';
  1982. case 'dd': // 9 days / in 9 days / 9 days ago
  1983. if (withoutSuffix || isFuture) {
  1984. return result + (plural$1(number) ? 'dny' : 'dní');
  1985. } else {
  1986. return result + 'dny';
  1987. }
  1988. case 'M': // a month / in a month / a month ago
  1989. return withoutSuffix || isFuture ? 'měsíc' : 'měsícem';
  1990. case 'MM': // 9 months / in 9 months / 9 months ago
  1991. if (withoutSuffix || isFuture) {
  1992. return result + (plural$1(number) ? 'měsíce' : 'měsíců');
  1993. } else {
  1994. return result + 'měsíci';
  1995. }
  1996. case 'y': // a year / in a year / a year ago
  1997. return withoutSuffix || isFuture ? 'rok' : 'rokem';
  1998. case 'yy': // 9 years / in 9 years / 9 years ago
  1999. if (withoutSuffix || isFuture) {
  2000. return result + (plural$1(number) ? 'roky' : 'let');
  2001. } else {
  2002. return result + 'lety';
  2003. }
  2004. }
  2005. }
  2006. moment.defineLocale('cs', {
  2007. months: months$3,
  2008. monthsShort: monthsShort,
  2009. monthsRegex: monthsRegex$1,
  2010. monthsShortRegex: monthsRegex$1,
  2011. // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.
  2012. // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.
  2013. monthsStrictRegex:
  2014. /^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,
  2015. monthsShortStrictRegex:
  2016. /^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,
  2017. monthsParse: monthsParse$1,
  2018. longMonthsParse: monthsParse$1,
  2019. shortMonthsParse: monthsParse$1,
  2020. weekdays: 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'),
  2021. weekdaysShort: 'ne_po_út_st_čt_pá_so'.split('_'),
  2022. weekdaysMin: 'ne_po_út_st_čt_pá_so'.split('_'),
  2023. longDateFormat: {
  2024. LT: 'H:mm',
  2025. LTS: 'H:mm:ss',
  2026. L: 'DD.MM.YYYY',
  2027. LL: 'D. MMMM YYYY',
  2028. LLL: 'D. MMMM YYYY H:mm',
  2029. LLLL: 'dddd D. MMMM YYYY H:mm',
  2030. l: 'D. M. YYYY',
  2031. },
  2032. calendar: {
  2033. sameDay: '[dnes v] LT',
  2034. nextDay: '[zítra v] LT',
  2035. nextWeek: function () {
  2036. switch (this.day()) {
  2037. case 0:
  2038. return '[v neděli v] LT';
  2039. case 1:
  2040. case 2:
  2041. return '[v] dddd [v] LT';
  2042. case 3:
  2043. return '[ve středu v] LT';
  2044. case 4:
  2045. return '[ve čtvrtek v] LT';
  2046. case 5:
  2047. return '[v pátek v] LT';
  2048. case 6:
  2049. return '[v sobotu v] LT';
  2050. }
  2051. },
  2052. lastDay: '[včera v] LT',
  2053. lastWeek: function () {
  2054. switch (this.day()) {
  2055. case 0:
  2056. return '[minulou neděli v] LT';
  2057. case 1:
  2058. case 2:
  2059. return '[minulé] dddd [v] LT';
  2060. case 3:
  2061. return '[minulou středu v] LT';
  2062. case 4:
  2063. case 5:
  2064. return '[minulý] dddd [v] LT';
  2065. case 6:
  2066. return '[minulou sobotu v] LT';
  2067. }
  2068. },
  2069. sameElse: 'L',
  2070. },
  2071. relativeTime: {
  2072. future: 'za %s',
  2073. past: 'před %s',
  2074. s: translate$1,
  2075. ss: translate$1,
  2076. m: translate$1,
  2077. mm: translate$1,
  2078. h: translate$1,
  2079. hh: translate$1,
  2080. d: translate$1,
  2081. dd: translate$1,
  2082. M: translate$1,
  2083. MM: translate$1,
  2084. y: translate$1,
  2085. yy: translate$1,
  2086. },
  2087. dayOfMonthOrdinalParse: /\d{1,2}\./,
  2088. ordinal: '%d.',
  2089. week: {
  2090. dow: 1, // Monday is the first day of the week.
  2091. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2092. },
  2093. });
  2094. //! moment.js locale configuration
  2095. moment.defineLocale('cv', {
  2096. months: 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split(
  2097. '_'
  2098. ),
  2099. monthsShort: 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'),
  2100. weekdays:
  2101. 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split(
  2102. '_'
  2103. ),
  2104. weekdaysShort: 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'),
  2105. weekdaysMin: 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'),
  2106. longDateFormat: {
  2107. LT: 'HH:mm',
  2108. LTS: 'HH:mm:ss',
  2109. L: 'DD-MM-YYYY',
  2110. LL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]',
  2111. LLL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
  2112. LLLL: 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
  2113. },
  2114. calendar: {
  2115. sameDay: '[Паян] LT [сехетре]',
  2116. nextDay: '[Ыран] LT [сехетре]',
  2117. lastDay: '[Ӗнер] LT [сехетре]',
  2118. nextWeek: '[Ҫитес] dddd LT [сехетре]',
  2119. lastWeek: '[Иртнӗ] dddd LT [сехетре]',
  2120. sameElse: 'L',
  2121. },
  2122. relativeTime: {
  2123. future: function (output) {
  2124. var affix = /сехет$/i.exec(output)
  2125. ? 'рен'
  2126. : /ҫул$/i.exec(output)
  2127. ? 'тан'
  2128. : 'ран';
  2129. return output + affix;
  2130. },
  2131. past: '%s каялла',
  2132. s: 'пӗр-ик ҫеккунт',
  2133. ss: '%d ҫеккунт',
  2134. m: 'пӗр минут',
  2135. mm: '%d минут',
  2136. h: 'пӗр сехет',
  2137. hh: '%d сехет',
  2138. d: 'пӗр кун',
  2139. dd: '%d кун',
  2140. M: 'пӗр уйӑх',
  2141. MM: '%d уйӑх',
  2142. y: 'пӗр ҫул',
  2143. yy: '%d ҫул',
  2144. },
  2145. dayOfMonthOrdinalParse: /\d{1,2}-мӗш/,
  2146. ordinal: '%d-мӗш',
  2147. week: {
  2148. dow: 1, // Monday is the first day of the week.
  2149. doy: 7, // The week that contains Jan 7th is the first week of the year.
  2150. },
  2151. });
  2152. //! moment.js locale configuration
  2153. moment.defineLocale('cy', {
  2154. months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split(
  2155. '_'
  2156. ),
  2157. monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split(
  2158. '_'
  2159. ),
  2160. weekdays:
  2161. 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split(
  2162. '_'
  2163. ),
  2164. weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'),
  2165. weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'),
  2166. weekdaysParseExact: true,
  2167. // time formats are the same as en-gb
  2168. longDateFormat: {
  2169. LT: 'HH:mm',
  2170. LTS: 'HH:mm:ss',
  2171. L: 'DD/MM/YYYY',
  2172. LL: 'D MMMM YYYY',
  2173. LLL: 'D MMMM YYYY HH:mm',
  2174. LLLL: 'dddd, D MMMM YYYY HH:mm',
  2175. },
  2176. calendar: {
  2177. sameDay: '[Heddiw am] LT',
  2178. nextDay: '[Yfory am] LT',
  2179. nextWeek: 'dddd [am] LT',
  2180. lastDay: '[Ddoe am] LT',
  2181. lastWeek: 'dddd [diwethaf am] LT',
  2182. sameElse: 'L',
  2183. },
  2184. relativeTime: {
  2185. future: 'mewn %s',
  2186. past: '%s yn ôl',
  2187. s: 'ychydig eiliadau',
  2188. ss: '%d eiliad',
  2189. m: 'munud',
  2190. mm: '%d munud',
  2191. h: 'awr',
  2192. hh: '%d awr',
  2193. d: 'diwrnod',
  2194. dd: '%d diwrnod',
  2195. M: 'mis',
  2196. MM: '%d mis',
  2197. y: 'blwyddyn',
  2198. yy: '%d flynedd',
  2199. },
  2200. dayOfMonthOrdinalParse: /\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,
  2201. // traditional ordinal numbers above 31 are not commonly used in colloquial Welsh
  2202. ordinal: function (number) {
  2203. var b = number,
  2204. output = '',
  2205. lookup = [
  2206. '',
  2207. 'af',
  2208. 'il',
  2209. 'ydd',
  2210. 'ydd',
  2211. 'ed',
  2212. 'ed',
  2213. 'ed',
  2214. 'fed',
  2215. 'fed',
  2216. 'fed', // 1af to 10fed
  2217. 'eg',
  2218. 'fed',
  2219. 'eg',
  2220. 'eg',
  2221. 'fed',
  2222. 'eg',
  2223. 'eg',
  2224. 'fed',
  2225. 'eg',
  2226. 'fed', // 11eg to 20fed
  2227. ];
  2228. if (b > 20) {
  2229. if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) {
  2230. output = 'fed'; // not 30ain, 70ain or 90ain
  2231. } else {
  2232. output = 'ain';
  2233. }
  2234. } else if (b > 0) {
  2235. output = lookup[b];
  2236. }
  2237. return number + output;
  2238. },
  2239. week: {
  2240. dow: 1, // Monday is the first day of the week.
  2241. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2242. },
  2243. });
  2244. //! moment.js locale configuration
  2245. moment.defineLocale('da', {
  2246. months: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split(
  2247. '_'
  2248. ),
  2249. monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
  2250. weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
  2251. weekdaysShort: 'søn_man_tir_ons_tor_fre_lør'.split('_'),
  2252. weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),
  2253. longDateFormat: {
  2254. LT: 'HH:mm',
  2255. LTS: 'HH:mm:ss',
  2256. L: 'DD.MM.YYYY',
  2257. LL: 'D. MMMM YYYY',
  2258. LLL: 'D. MMMM YYYY HH:mm',
  2259. LLLL: 'dddd [d.] D. MMMM YYYY [kl.] HH:mm',
  2260. },
  2261. calendar: {
  2262. sameDay: '[i dag kl.] LT',
  2263. nextDay: '[i morgen kl.] LT',
  2264. nextWeek: 'på dddd [kl.] LT',
  2265. lastDay: '[i går kl.] LT',
  2266. lastWeek: '[i] dddd[s kl.] LT',
  2267. sameElse: 'L',
  2268. },
  2269. relativeTime: {
  2270. future: 'om %s',
  2271. past: '%s siden',
  2272. s: 'få sekunder',
  2273. ss: '%d sekunder',
  2274. m: 'et minut',
  2275. mm: '%d minutter',
  2276. h: 'en time',
  2277. hh: '%d timer',
  2278. d: 'en dag',
  2279. dd: '%d dage',
  2280. M: 'en måned',
  2281. MM: '%d måneder',
  2282. y: 'et år',
  2283. yy: '%d år',
  2284. },
  2285. dayOfMonthOrdinalParse: /\d{1,2}\./,
  2286. ordinal: '%d.',
  2287. week: {
  2288. dow: 1, // Monday is the first day of the week.
  2289. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2290. },
  2291. });
  2292. //! moment.js locale configuration
  2293. function processRelativeTime(number, withoutSuffix, key, isFuture) {
  2294. var format = {
  2295. m: ['eine Minute', 'einer Minute'],
  2296. h: ['eine Stunde', 'einer Stunde'],
  2297. d: ['ein Tag', 'einem Tag'],
  2298. dd: [number + ' Tage', number + ' Tagen'],
  2299. w: ['eine Woche', 'einer Woche'],
  2300. M: ['ein Monat', 'einem Monat'],
  2301. MM: [number + ' Monate', number + ' Monaten'],
  2302. y: ['ein Jahr', 'einem Jahr'],
  2303. yy: [number + ' Jahre', number + ' Jahren'],
  2304. };
  2305. return withoutSuffix ? format[key][0] : format[key][1];
  2306. }
  2307. moment.defineLocale('de-at', {
  2308. months: 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(
  2309. '_'
  2310. ),
  2311. monthsShort:
  2312. 'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),
  2313. monthsParseExact: true,
  2314. weekdays:
  2315. 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
  2316. '_'
  2317. ),
  2318. weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
  2319. weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
  2320. weekdaysParseExact: true,
  2321. longDateFormat: {
  2322. LT: 'HH:mm',
  2323. LTS: 'HH:mm:ss',
  2324. L: 'DD.MM.YYYY',
  2325. LL: 'D. MMMM YYYY',
  2326. LLL: 'D. MMMM YYYY HH:mm',
  2327. LLLL: 'dddd, D. MMMM YYYY HH:mm',
  2328. },
  2329. calendar: {
  2330. sameDay: '[heute um] LT [Uhr]',
  2331. sameElse: 'L',
  2332. nextDay: '[morgen um] LT [Uhr]',
  2333. nextWeek: 'dddd [um] LT [Uhr]',
  2334. lastDay: '[gestern um] LT [Uhr]',
  2335. lastWeek: '[letzten] dddd [um] LT [Uhr]',
  2336. },
  2337. relativeTime: {
  2338. future: 'in %s',
  2339. past: 'vor %s',
  2340. s: 'ein paar Sekunden',
  2341. ss: '%d Sekunden',
  2342. m: processRelativeTime,
  2343. mm: '%d Minuten',
  2344. h: processRelativeTime,
  2345. hh: '%d Stunden',
  2346. d: processRelativeTime,
  2347. dd: processRelativeTime,
  2348. w: processRelativeTime,
  2349. ww: '%d Wochen',
  2350. M: processRelativeTime,
  2351. MM: processRelativeTime,
  2352. y: processRelativeTime,
  2353. yy: processRelativeTime,
  2354. },
  2355. dayOfMonthOrdinalParse: /\d{1,2}\./,
  2356. ordinal: '%d.',
  2357. week: {
  2358. dow: 1, // Monday is the first day of the week.
  2359. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2360. },
  2361. });
  2362. //! moment.js locale configuration
  2363. function processRelativeTime$1(number, withoutSuffix, key, isFuture) {
  2364. var format = {
  2365. m: ['eine Minute', 'einer Minute'],
  2366. h: ['eine Stunde', 'einer Stunde'],
  2367. d: ['ein Tag', 'einem Tag'],
  2368. dd: [number + ' Tage', number + ' Tagen'],
  2369. w: ['eine Woche', 'einer Woche'],
  2370. M: ['ein Monat', 'einem Monat'],
  2371. MM: [number + ' Monate', number + ' Monaten'],
  2372. y: ['ein Jahr', 'einem Jahr'],
  2373. yy: [number + ' Jahre', number + ' Jahren'],
  2374. };
  2375. return withoutSuffix ? format[key][0] : format[key][1];
  2376. }
  2377. moment.defineLocale('de-ch', {
  2378. months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(
  2379. '_'
  2380. ),
  2381. monthsShort:
  2382. 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),
  2383. monthsParseExact: true,
  2384. weekdays:
  2385. 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
  2386. '_'
  2387. ),
  2388. weekdaysShort: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
  2389. weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
  2390. weekdaysParseExact: true,
  2391. longDateFormat: {
  2392. LT: 'HH:mm',
  2393. LTS: 'HH:mm:ss',
  2394. L: 'DD.MM.YYYY',
  2395. LL: 'D. MMMM YYYY',
  2396. LLL: 'D. MMMM YYYY HH:mm',
  2397. LLLL: 'dddd, D. MMMM YYYY HH:mm',
  2398. },
  2399. calendar: {
  2400. sameDay: '[heute um] LT [Uhr]',
  2401. sameElse: 'L',
  2402. nextDay: '[morgen um] LT [Uhr]',
  2403. nextWeek: 'dddd [um] LT [Uhr]',
  2404. lastDay: '[gestern um] LT [Uhr]',
  2405. lastWeek: '[letzten] dddd [um] LT [Uhr]',
  2406. },
  2407. relativeTime: {
  2408. future: 'in %s',
  2409. past: 'vor %s',
  2410. s: 'ein paar Sekunden',
  2411. ss: '%d Sekunden',
  2412. m: processRelativeTime$1,
  2413. mm: '%d Minuten',
  2414. h: processRelativeTime$1,
  2415. hh: '%d Stunden',
  2416. d: processRelativeTime$1,
  2417. dd: processRelativeTime$1,
  2418. w: processRelativeTime$1,
  2419. ww: '%d Wochen',
  2420. M: processRelativeTime$1,
  2421. MM: processRelativeTime$1,
  2422. y: processRelativeTime$1,
  2423. yy: processRelativeTime$1,
  2424. },
  2425. dayOfMonthOrdinalParse: /\d{1,2}\./,
  2426. ordinal: '%d.',
  2427. week: {
  2428. dow: 1, // Monday is the first day of the week.
  2429. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2430. },
  2431. });
  2432. //! moment.js locale configuration
  2433. function processRelativeTime$2(number, withoutSuffix, key, isFuture) {
  2434. var format = {
  2435. m: ['eine Minute', 'einer Minute'],
  2436. h: ['eine Stunde', 'einer Stunde'],
  2437. d: ['ein Tag', 'einem Tag'],
  2438. dd: [number + ' Tage', number + ' Tagen'],
  2439. w: ['eine Woche', 'einer Woche'],
  2440. M: ['ein Monat', 'einem Monat'],
  2441. MM: [number + ' Monate', number + ' Monaten'],
  2442. y: ['ein Jahr', 'einem Jahr'],
  2443. yy: [number + ' Jahre', number + ' Jahren'],
  2444. };
  2445. return withoutSuffix ? format[key][0] : format[key][1];
  2446. }
  2447. moment.defineLocale('de', {
  2448. months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(
  2449. '_'
  2450. ),
  2451. monthsShort:
  2452. 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),
  2453. monthsParseExact: true,
  2454. weekdays:
  2455. 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
  2456. '_'
  2457. ),
  2458. weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
  2459. weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
  2460. weekdaysParseExact: true,
  2461. longDateFormat: {
  2462. LT: 'HH:mm',
  2463. LTS: 'HH:mm:ss',
  2464. L: 'DD.MM.YYYY',
  2465. LL: 'D. MMMM YYYY',
  2466. LLL: 'D. MMMM YYYY HH:mm',
  2467. LLLL: 'dddd, D. MMMM YYYY HH:mm',
  2468. },
  2469. calendar: {
  2470. sameDay: '[heute um] LT [Uhr]',
  2471. sameElse: 'L',
  2472. nextDay: '[morgen um] LT [Uhr]',
  2473. nextWeek: 'dddd [um] LT [Uhr]',
  2474. lastDay: '[gestern um] LT [Uhr]',
  2475. lastWeek: '[letzten] dddd [um] LT [Uhr]',
  2476. },
  2477. relativeTime: {
  2478. future: 'in %s',
  2479. past: 'vor %s',
  2480. s: 'ein paar Sekunden',
  2481. ss: '%d Sekunden',
  2482. m: processRelativeTime$2,
  2483. mm: '%d Minuten',
  2484. h: processRelativeTime$2,
  2485. hh: '%d Stunden',
  2486. d: processRelativeTime$2,
  2487. dd: processRelativeTime$2,
  2488. w: processRelativeTime$2,
  2489. ww: '%d Wochen',
  2490. M: processRelativeTime$2,
  2491. MM: processRelativeTime$2,
  2492. y: processRelativeTime$2,
  2493. yy: processRelativeTime$2,
  2494. },
  2495. dayOfMonthOrdinalParse: /\d{1,2}\./,
  2496. ordinal: '%d.',
  2497. week: {
  2498. dow: 1, // Monday is the first day of the week.
  2499. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2500. },
  2501. });
  2502. //! moment.js locale configuration
  2503. var months$4 = [
  2504. 'ޖެނުއަރީ',
  2505. 'ފެބްރުއަރީ',
  2506. 'މާރިޗު',
  2507. 'އޭޕްރީލު',
  2508. 'މޭ',
  2509. 'ޖޫން',
  2510. 'ޖުލައި',
  2511. 'އޯގަސްޓު',
  2512. 'ސެޕްޓެމްބަރު',
  2513. 'އޮކްޓޯބަރު',
  2514. 'ނޮވެމްބަރު',
  2515. 'ޑިސެމްބަރު',
  2516. ],
  2517. weekdays = [
  2518. 'އާދިއްތަ',
  2519. 'ހޯމަ',
  2520. 'އަންގާރަ',
  2521. 'ބުދަ',
  2522. 'ބުރާސްފަތި',
  2523. 'ހުކުރު',
  2524. 'ހޮނިހިރު',
  2525. ];
  2526. moment.defineLocale('dv', {
  2527. months: months$4,
  2528. monthsShort: months$4,
  2529. weekdays: weekdays,
  2530. weekdaysShort: weekdays,
  2531. weekdaysMin: 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'),
  2532. longDateFormat: {
  2533. LT: 'HH:mm',
  2534. LTS: 'HH:mm:ss',
  2535. L: 'D/M/YYYY',
  2536. LL: 'D MMMM YYYY',
  2537. LLL: 'D MMMM YYYY HH:mm',
  2538. LLLL: 'dddd D MMMM YYYY HH:mm',
  2539. },
  2540. meridiemParse: /މކ|މފ/,
  2541. isPM: function (input) {
  2542. return 'މފ' === input;
  2543. },
  2544. meridiem: function (hour, minute, isLower) {
  2545. if (hour < 12) {
  2546. return 'މކ';
  2547. } else {
  2548. return 'މފ';
  2549. }
  2550. },
  2551. calendar: {
  2552. sameDay: '[މިއަދު] LT',
  2553. nextDay: '[މާދަމާ] LT',
  2554. nextWeek: 'dddd LT',
  2555. lastDay: '[އިއްޔެ] LT',
  2556. lastWeek: '[ފާއިތުވި] dddd LT',
  2557. sameElse: 'L',
  2558. },
  2559. relativeTime: {
  2560. future: 'ތެރޭގައި %s',
  2561. past: 'ކުރިން %s',
  2562. s: 'ސިކުންތުކޮޅެއް',
  2563. ss: 'd% ސިކުންތު',
  2564. m: 'މިނިޓެއް',
  2565. mm: 'މިނިޓު %d',
  2566. h: 'ގަޑިއިރެއް',
  2567. hh: 'ގަޑިއިރު %d',
  2568. d: 'ދުވަހެއް',
  2569. dd: 'ދުވަސް %d',
  2570. M: 'މަހެއް',
  2571. MM: 'މަސް %d',
  2572. y: 'އަހަރެއް',
  2573. yy: 'އަހަރު %d',
  2574. },
  2575. preparse: function (string) {
  2576. return string.replace(/،/g, ',');
  2577. },
  2578. postformat: function (string) {
  2579. return string.replace(/,/g, '،');
  2580. },
  2581. week: {
  2582. dow: 7, // Sunday is the first day of the week.
  2583. doy: 12, // The week that contains Jan 12th is the first week of the year.
  2584. },
  2585. });
  2586. //! moment.js locale configuration
  2587. function isFunction(input) {
  2588. return (
  2589. (typeof Function !== 'undefined' && input instanceof Function) ||
  2590. Object.prototype.toString.call(input) === '[object Function]'
  2591. );
  2592. }
  2593. moment.defineLocale('el', {
  2594. monthsNominativeEl:
  2595. 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split(
  2596. '_'
  2597. ),
  2598. monthsGenitiveEl:
  2599. 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split(
  2600. '_'
  2601. ),
  2602. months: function (momentToFormat, format) {
  2603. if (!momentToFormat) {
  2604. return this._monthsNominativeEl;
  2605. } else if (
  2606. typeof format === 'string' &&
  2607. /D/.test(format.substring(0, format.indexOf('MMMM')))
  2608. ) {
  2609. // if there is a day number before 'MMMM'
  2610. return this._monthsGenitiveEl[momentToFormat.month()];
  2611. } else {
  2612. return this._monthsNominativeEl[momentToFormat.month()];
  2613. }
  2614. },
  2615. monthsShort: 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_'),
  2616. weekdays: 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split(
  2617. '_'
  2618. ),
  2619. weekdaysShort: 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'),
  2620. weekdaysMin: 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'),
  2621. meridiem: function (hours, minutes, isLower) {
  2622. if (hours > 11) {
  2623. return isLower ? 'μμ' : 'ΜΜ';
  2624. } else {
  2625. return isLower ? 'πμ' : 'ΠΜ';
  2626. }
  2627. },
  2628. isPM: function (input) {
  2629. return (input + '').toLowerCase()[0] === 'μ';
  2630. },
  2631. meridiemParse: /[ΠΜ]\.?Μ?\.?/i,
  2632. longDateFormat: {
  2633. LT: 'h:mm A',
  2634. LTS: 'h:mm:ss A',
  2635. L: 'DD/MM/YYYY',
  2636. LL: 'D MMMM YYYY',
  2637. LLL: 'D MMMM YYYY h:mm A',
  2638. LLLL: 'dddd, D MMMM YYYY h:mm A',
  2639. },
  2640. calendarEl: {
  2641. sameDay: '[Σήμερα {}] LT',
  2642. nextDay: '[Αύριο {}] LT',
  2643. nextWeek: 'dddd [{}] LT',
  2644. lastDay: '[Χθες {}] LT',
  2645. lastWeek: function () {
  2646. switch (this.day()) {
  2647. case 6:
  2648. return '[το προηγούμενο] dddd [{}] LT';
  2649. default:
  2650. return '[την προηγούμενη] dddd [{}] LT';
  2651. }
  2652. },
  2653. sameElse: 'L',
  2654. },
  2655. calendar: function (key, mom) {
  2656. var output = this._calendarEl[key],
  2657. hours = mom && mom.hours();
  2658. if (isFunction(output)) {
  2659. output = output.apply(mom);
  2660. }
  2661. return output.replace('{}', hours % 12 === 1 ? 'στη' : 'στις');
  2662. },
  2663. relativeTime: {
  2664. future: 'σε %s',
  2665. past: '%s πριν',
  2666. s: 'λίγα δευτερόλεπτα',
  2667. ss: '%d δευτερόλεπτα',
  2668. m: 'ένα λεπτό',
  2669. mm: '%d λεπτά',
  2670. h: 'μία ώρα',
  2671. hh: '%d ώρες',
  2672. d: 'μία μέρα',
  2673. dd: '%d μέρες',
  2674. M: 'ένας μήνας',
  2675. MM: '%d μήνες',
  2676. y: 'ένας χρόνος',
  2677. yy: '%d χρόνια',
  2678. },
  2679. dayOfMonthOrdinalParse: /\d{1,2}η/,
  2680. ordinal: '%dη',
  2681. week: {
  2682. dow: 1, // Monday is the first day of the week.
  2683. doy: 4, // The week that contains Jan 4st is the first week of the year.
  2684. },
  2685. });
  2686. //! moment.js locale configuration
  2687. moment.defineLocale('en-au', {
  2688. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  2689. '_'
  2690. ),
  2691. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  2692. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
  2693. '_'
  2694. ),
  2695. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  2696. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  2697. longDateFormat: {
  2698. LT: 'h:mm A',
  2699. LTS: 'h:mm:ss A',
  2700. L: 'DD/MM/YYYY',
  2701. LL: 'D MMMM YYYY',
  2702. LLL: 'D MMMM YYYY h:mm A',
  2703. LLLL: 'dddd, D MMMM YYYY h:mm A',
  2704. },
  2705. calendar: {
  2706. sameDay: '[Today at] LT',
  2707. nextDay: '[Tomorrow at] LT',
  2708. nextWeek: 'dddd [at] LT',
  2709. lastDay: '[Yesterday at] LT',
  2710. lastWeek: '[Last] dddd [at] LT',
  2711. sameElse: 'L',
  2712. },
  2713. relativeTime: {
  2714. future: 'in %s',
  2715. past: '%s ago',
  2716. s: 'a few seconds',
  2717. ss: '%d seconds',
  2718. m: 'a minute',
  2719. mm: '%d minutes',
  2720. h: 'an hour',
  2721. hh: '%d hours',
  2722. d: 'a day',
  2723. dd: '%d days',
  2724. M: 'a month',
  2725. MM: '%d months',
  2726. y: 'a year',
  2727. yy: '%d years',
  2728. },
  2729. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  2730. ordinal: function (number) {
  2731. var b = number % 10,
  2732. output =
  2733. ~~((number % 100) / 10) === 1
  2734. ? 'th'
  2735. : b === 1
  2736. ? 'st'
  2737. : b === 2
  2738. ? 'nd'
  2739. : b === 3
  2740. ? 'rd'
  2741. : 'th';
  2742. return number + output;
  2743. },
  2744. week: {
  2745. dow: 0, // Sunday is the first day of the week.
  2746. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2747. },
  2748. });
  2749. //! moment.js locale configuration
  2750. moment.defineLocale('en-ca', {
  2751. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  2752. '_'
  2753. ),
  2754. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  2755. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
  2756. '_'
  2757. ),
  2758. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  2759. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  2760. longDateFormat: {
  2761. LT: 'h:mm A',
  2762. LTS: 'h:mm:ss A',
  2763. L: 'YYYY-MM-DD',
  2764. LL: 'MMMM D, YYYY',
  2765. LLL: 'MMMM D, YYYY h:mm A',
  2766. LLLL: 'dddd, MMMM D, YYYY h:mm A',
  2767. },
  2768. calendar: {
  2769. sameDay: '[Today at] LT',
  2770. nextDay: '[Tomorrow at] LT',
  2771. nextWeek: 'dddd [at] LT',
  2772. lastDay: '[Yesterday at] LT',
  2773. lastWeek: '[Last] dddd [at] LT',
  2774. sameElse: 'L',
  2775. },
  2776. relativeTime: {
  2777. future: 'in %s',
  2778. past: '%s ago',
  2779. s: 'a few seconds',
  2780. ss: '%d seconds',
  2781. m: 'a minute',
  2782. mm: '%d minutes',
  2783. h: 'an hour',
  2784. hh: '%d hours',
  2785. d: 'a day',
  2786. dd: '%d days',
  2787. M: 'a month',
  2788. MM: '%d months',
  2789. y: 'a year',
  2790. yy: '%d years',
  2791. },
  2792. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  2793. ordinal: function (number) {
  2794. var b = number % 10,
  2795. output =
  2796. ~~((number % 100) / 10) === 1
  2797. ? 'th'
  2798. : b === 1
  2799. ? 'st'
  2800. : b === 2
  2801. ? 'nd'
  2802. : b === 3
  2803. ? 'rd'
  2804. : 'th';
  2805. return number + output;
  2806. },
  2807. });
  2808. //! moment.js locale configuration
  2809. moment.defineLocale('en-gb', {
  2810. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  2811. '_'
  2812. ),
  2813. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  2814. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
  2815. '_'
  2816. ),
  2817. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  2818. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  2819. longDateFormat: {
  2820. LT: 'HH:mm',
  2821. LTS: 'HH:mm:ss',
  2822. L: 'DD/MM/YYYY',
  2823. LL: 'D MMMM YYYY',
  2824. LLL: 'D MMMM YYYY HH:mm',
  2825. LLLL: 'dddd, D MMMM YYYY HH:mm',
  2826. },
  2827. calendar: {
  2828. sameDay: '[Today at] LT',
  2829. nextDay: '[Tomorrow at] LT',
  2830. nextWeek: 'dddd [at] LT',
  2831. lastDay: '[Yesterday at] LT',
  2832. lastWeek: '[Last] dddd [at] LT',
  2833. sameElse: 'L',
  2834. },
  2835. relativeTime: {
  2836. future: 'in %s',
  2837. past: '%s ago',
  2838. s: 'a few seconds',
  2839. ss: '%d seconds',
  2840. m: 'a minute',
  2841. mm: '%d minutes',
  2842. h: 'an hour',
  2843. hh: '%d hours',
  2844. d: 'a day',
  2845. dd: '%d days',
  2846. M: 'a month',
  2847. MM: '%d months',
  2848. y: 'a year',
  2849. yy: '%d years',
  2850. },
  2851. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  2852. ordinal: function (number) {
  2853. var b = number % 10,
  2854. output =
  2855. ~~((number % 100) / 10) === 1
  2856. ? 'th'
  2857. : b === 1
  2858. ? 'st'
  2859. : b === 2
  2860. ? 'nd'
  2861. : b === 3
  2862. ? 'rd'
  2863. : 'th';
  2864. return number + output;
  2865. },
  2866. week: {
  2867. dow: 1, // Monday is the first day of the week.
  2868. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2869. },
  2870. });
  2871. //! moment.js locale configuration
  2872. moment.defineLocale('en-ie', {
  2873. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  2874. '_'
  2875. ),
  2876. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  2877. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
  2878. '_'
  2879. ),
  2880. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  2881. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  2882. longDateFormat: {
  2883. LT: 'HH:mm',
  2884. LTS: 'HH:mm:ss',
  2885. L: 'DD/MM/YYYY',
  2886. LL: 'D MMMM YYYY',
  2887. LLL: 'D MMMM YYYY HH:mm',
  2888. LLLL: 'dddd D MMMM YYYY HH:mm',
  2889. },
  2890. calendar: {
  2891. sameDay: '[Today at] LT',
  2892. nextDay: '[Tomorrow at] LT',
  2893. nextWeek: 'dddd [at] LT',
  2894. lastDay: '[Yesterday at] LT',
  2895. lastWeek: '[Last] dddd [at] LT',
  2896. sameElse: 'L',
  2897. },
  2898. relativeTime: {
  2899. future: 'in %s',
  2900. past: '%s ago',
  2901. s: 'a few seconds',
  2902. ss: '%d seconds',
  2903. m: 'a minute',
  2904. mm: '%d minutes',
  2905. h: 'an hour',
  2906. hh: '%d hours',
  2907. d: 'a day',
  2908. dd: '%d days',
  2909. M: 'a month',
  2910. MM: '%d months',
  2911. y: 'a year',
  2912. yy: '%d years',
  2913. },
  2914. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  2915. ordinal: function (number) {
  2916. var b = number % 10,
  2917. output =
  2918. ~~((number % 100) / 10) === 1
  2919. ? 'th'
  2920. : b === 1
  2921. ? 'st'
  2922. : b === 2
  2923. ? 'nd'
  2924. : b === 3
  2925. ? 'rd'
  2926. : 'th';
  2927. return number + output;
  2928. },
  2929. week: {
  2930. dow: 1, // Monday is the first day of the week.
  2931. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2932. },
  2933. });
  2934. //! moment.js locale configuration
  2935. moment.defineLocale('en-il', {
  2936. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  2937. '_'
  2938. ),
  2939. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  2940. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
  2941. '_'
  2942. ),
  2943. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  2944. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  2945. longDateFormat: {
  2946. LT: 'HH:mm',
  2947. LTS: 'HH:mm:ss',
  2948. L: 'DD/MM/YYYY',
  2949. LL: 'D MMMM YYYY',
  2950. LLL: 'D MMMM YYYY HH:mm',
  2951. LLLL: 'dddd, D MMMM YYYY HH:mm',
  2952. },
  2953. calendar: {
  2954. sameDay: '[Today at] LT',
  2955. nextDay: '[Tomorrow at] LT',
  2956. nextWeek: 'dddd [at] LT',
  2957. lastDay: '[Yesterday at] LT',
  2958. lastWeek: '[Last] dddd [at] LT',
  2959. sameElse: 'L',
  2960. },
  2961. relativeTime: {
  2962. future: 'in %s',
  2963. past: '%s ago',
  2964. s: 'a few seconds',
  2965. ss: '%d seconds',
  2966. m: 'a minute',
  2967. mm: '%d minutes',
  2968. h: 'an hour',
  2969. hh: '%d hours',
  2970. d: 'a day',
  2971. dd: '%d days',
  2972. M: 'a month',
  2973. MM: '%d months',
  2974. y: 'a year',
  2975. yy: '%d years',
  2976. },
  2977. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  2978. ordinal: function (number) {
  2979. var b = number % 10,
  2980. output =
  2981. ~~((number % 100) / 10) === 1
  2982. ? 'th'
  2983. : b === 1
  2984. ? 'st'
  2985. : b === 2
  2986. ? 'nd'
  2987. : b === 3
  2988. ? 'rd'
  2989. : 'th';
  2990. return number + output;
  2991. },
  2992. });
  2993. //! moment.js locale configuration
  2994. moment.defineLocale('en-in', {
  2995. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  2996. '_'
  2997. ),
  2998. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  2999. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
  3000. '_'
  3001. ),
  3002. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  3003. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  3004. longDateFormat: {
  3005. LT: 'h:mm A',
  3006. LTS: 'h:mm:ss A',
  3007. L: 'DD/MM/YYYY',
  3008. LL: 'D MMMM YYYY',
  3009. LLL: 'D MMMM YYYY h:mm A',
  3010. LLLL: 'dddd, D MMMM YYYY h:mm A',
  3011. },
  3012. calendar: {
  3013. sameDay: '[Today at] LT',
  3014. nextDay: '[Tomorrow at] LT',
  3015. nextWeek: 'dddd [at] LT',
  3016. lastDay: '[Yesterday at] LT',
  3017. lastWeek: '[Last] dddd [at] LT',
  3018. sameElse: 'L',
  3019. },
  3020. relativeTime: {
  3021. future: 'in %s',
  3022. past: '%s ago',
  3023. s: 'a few seconds',
  3024. ss: '%d seconds',
  3025. m: 'a minute',
  3026. mm: '%d minutes',
  3027. h: 'an hour',
  3028. hh: '%d hours',
  3029. d: 'a day',
  3030. dd: '%d days',
  3031. M: 'a month',
  3032. MM: '%d months',
  3033. y: 'a year',
  3034. yy: '%d years',
  3035. },
  3036. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  3037. ordinal: function (number) {
  3038. var b = number % 10,
  3039. output =
  3040. ~~((number % 100) / 10) === 1
  3041. ? 'th'
  3042. : b === 1
  3043. ? 'st'
  3044. : b === 2
  3045. ? 'nd'
  3046. : b === 3
  3047. ? 'rd'
  3048. : 'th';
  3049. return number + output;
  3050. },
  3051. week: {
  3052. dow: 0, // Sunday is the first day of the week.
  3053. doy: 6, // The week that contains Jan 1st is the first week of the year.
  3054. },
  3055. });
  3056. //! moment.js locale configuration
  3057. moment.defineLocale('en-nz', {
  3058. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  3059. '_'
  3060. ),
  3061. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  3062. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
  3063. '_'
  3064. ),
  3065. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  3066. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  3067. longDateFormat: {
  3068. LT: 'h:mm A',
  3069. LTS: 'h:mm:ss A',
  3070. L: 'DD/MM/YYYY',
  3071. LL: 'D MMMM YYYY',
  3072. LLL: 'D MMMM YYYY h:mm A',
  3073. LLLL: 'dddd, D MMMM YYYY h:mm A',
  3074. },
  3075. calendar: {
  3076. sameDay: '[Today at] LT',
  3077. nextDay: '[Tomorrow at] LT',
  3078. nextWeek: 'dddd [at] LT',
  3079. lastDay: '[Yesterday at] LT',
  3080. lastWeek: '[Last] dddd [at] LT',
  3081. sameElse: 'L',
  3082. },
  3083. relativeTime: {
  3084. future: 'in %s',
  3085. past: '%s ago',
  3086. s: 'a few seconds',
  3087. ss: '%d seconds',
  3088. m: 'a minute',
  3089. mm: '%d minutes',
  3090. h: 'an hour',
  3091. hh: '%d hours',
  3092. d: 'a day',
  3093. dd: '%d days',
  3094. M: 'a month',
  3095. MM: '%d months',
  3096. y: 'a year',
  3097. yy: '%d years',
  3098. },
  3099. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  3100. ordinal: function (number) {
  3101. var b = number % 10,
  3102. output =
  3103. ~~((number % 100) / 10) === 1
  3104. ? 'th'
  3105. : b === 1
  3106. ? 'st'
  3107. : b === 2
  3108. ? 'nd'
  3109. : b === 3
  3110. ? 'rd'
  3111. : 'th';
  3112. return number + output;
  3113. },
  3114. week: {
  3115. dow: 1, // Monday is the first day of the week.
  3116. doy: 4, // The week that contains Jan 4th is the first week of the year.
  3117. },
  3118. });
  3119. //! moment.js locale configuration
  3120. moment.defineLocale('en-sg', {
  3121. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  3122. '_'
  3123. ),
  3124. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  3125. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
  3126. '_'
  3127. ),
  3128. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  3129. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  3130. longDateFormat: {
  3131. LT: 'HH:mm',
  3132. LTS: 'HH:mm:ss',
  3133. L: 'DD/MM/YYYY',
  3134. LL: 'D MMMM YYYY',
  3135. LLL: 'D MMMM YYYY HH:mm',
  3136. LLLL: 'dddd, D MMMM YYYY HH:mm',
  3137. },
  3138. calendar: {
  3139. sameDay: '[Today at] LT',
  3140. nextDay: '[Tomorrow at] LT',
  3141. nextWeek: 'dddd [at] LT',
  3142. lastDay: '[Yesterday at] LT',
  3143. lastWeek: '[Last] dddd [at] LT',
  3144. sameElse: 'L',
  3145. },
  3146. relativeTime: {
  3147. future: 'in %s',
  3148. past: '%s ago',
  3149. s: 'a few seconds',
  3150. ss: '%d seconds',
  3151. m: 'a minute',
  3152. mm: '%d minutes',
  3153. h: 'an hour',
  3154. hh: '%d hours',
  3155. d: 'a day',
  3156. dd: '%d days',
  3157. M: 'a month',
  3158. MM: '%d months',
  3159. y: 'a year',
  3160. yy: '%d years',
  3161. },
  3162. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  3163. ordinal: function (number) {
  3164. var b = number % 10,
  3165. output =
  3166. ~~((number % 100) / 10) === 1
  3167. ? 'th'
  3168. : b === 1
  3169. ? 'st'
  3170. : b === 2
  3171. ? 'nd'
  3172. : b === 3
  3173. ? 'rd'
  3174. : 'th';
  3175. return number + output;
  3176. },
  3177. week: {
  3178. dow: 1, // Monday is the first day of the week.
  3179. doy: 4, // The week that contains Jan 4th is the first week of the year.
  3180. },
  3181. });
  3182. //! moment.js locale configuration
  3183. moment.defineLocale('eo', {
  3184. months: 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split(
  3185. '_'
  3186. ),
  3187. monthsShort: 'jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec'.split('_'),
  3188. weekdays: 'dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato'.split('_'),
  3189. weekdaysShort: 'dim_lun_mard_merk_ĵaŭ_ven_sab'.split('_'),
  3190. weekdaysMin: 'di_lu_ma_me_ĵa_ve_sa'.split('_'),
  3191. longDateFormat: {
  3192. LT: 'HH:mm',
  3193. LTS: 'HH:mm:ss',
  3194. L: 'YYYY-MM-DD',
  3195. LL: '[la] D[-an de] MMMM, YYYY',
  3196. LLL: '[la] D[-an de] MMMM, YYYY HH:mm',
  3197. LLLL: 'dddd[n], [la] D[-an de] MMMM, YYYY HH:mm',
  3198. llll: 'ddd, [la] D[-an de] MMM, YYYY HH:mm',
  3199. },
  3200. meridiemParse: /[ap]\.t\.m/i,
  3201. isPM: function (input) {
  3202. return input.charAt(0).toLowerCase() === 'p';
  3203. },
  3204. meridiem: function (hours, minutes, isLower) {
  3205. if (hours > 11) {
  3206. return isLower ? 'p.t.m.' : 'P.T.M.';
  3207. } else {
  3208. return isLower ? 'a.t.m.' : 'A.T.M.';
  3209. }
  3210. },
  3211. calendar: {
  3212. sameDay: '[Hodiaŭ je] LT',
  3213. nextDay: '[Morgaŭ je] LT',
  3214. nextWeek: 'dddd[n je] LT',
  3215. lastDay: '[Hieraŭ je] LT',
  3216. lastWeek: '[pasintan] dddd[n je] LT',
  3217. sameElse: 'L',
  3218. },
  3219. relativeTime: {
  3220. future: 'post %s',
  3221. past: 'antaŭ %s',
  3222. s: 'kelkaj sekundoj',
  3223. ss: '%d sekundoj',
  3224. m: 'unu minuto',
  3225. mm: '%d minutoj',
  3226. h: 'unu horo',
  3227. hh: '%d horoj',
  3228. d: 'unu tago', //ne 'diurno', ĉar estas uzita por proksimumo
  3229. dd: '%d tagoj',
  3230. M: 'unu monato',
  3231. MM: '%d monatoj',
  3232. y: 'unu jaro',
  3233. yy: '%d jaroj',
  3234. },
  3235. dayOfMonthOrdinalParse: /\d{1,2}a/,
  3236. ordinal: '%da',
  3237. week: {
  3238. dow: 1, // Monday is the first day of the week.
  3239. doy: 7, // The week that contains Jan 7th is the first week of the year.
  3240. },
  3241. });
  3242. //! moment.js locale configuration
  3243. var monthsShortDot =
  3244. 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
  3245. '_'
  3246. ),
  3247. monthsShort$1 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
  3248. monthsParse$2 = [
  3249. /^ene/i,
  3250. /^feb/i,
  3251. /^mar/i,
  3252. /^abr/i,
  3253. /^may/i,
  3254. /^jun/i,
  3255. /^jul/i,
  3256. /^ago/i,
  3257. /^sep/i,
  3258. /^oct/i,
  3259. /^nov/i,
  3260. /^dic/i,
  3261. ],
  3262. monthsRegex$2 =
  3263. /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
  3264. moment.defineLocale('es-do', {
  3265. months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
  3266. '_'
  3267. ),
  3268. monthsShort: function (m, format) {
  3269. if (!m) {
  3270. return monthsShortDot;
  3271. } else if (/-MMM-/.test(format)) {
  3272. return monthsShort$1[m.month()];
  3273. } else {
  3274. return monthsShortDot[m.month()];
  3275. }
  3276. },
  3277. monthsRegex: monthsRegex$2,
  3278. monthsShortRegex: monthsRegex$2,
  3279. monthsStrictRegex:
  3280. /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
  3281. monthsShortStrictRegex:
  3282. /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
  3283. monthsParse: monthsParse$2,
  3284. longMonthsParse: monthsParse$2,
  3285. shortMonthsParse: monthsParse$2,
  3286. weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
  3287. weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
  3288. weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
  3289. weekdaysParseExact: true,
  3290. longDateFormat: {
  3291. LT: 'h:mm A',
  3292. LTS: 'h:mm:ss A',
  3293. L: 'DD/MM/YYYY',
  3294. LL: 'D [de] MMMM [de] YYYY',
  3295. LLL: 'D [de] MMMM [de] YYYY h:mm A',
  3296. LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A',
  3297. },
  3298. calendar: {
  3299. sameDay: function () {
  3300. return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3301. },
  3302. nextDay: function () {
  3303. return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3304. },
  3305. nextWeek: function () {
  3306. return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3307. },
  3308. lastDay: function () {
  3309. return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3310. },
  3311. lastWeek: function () {
  3312. return (
  3313. '[el] dddd [pasado a la' +
  3314. (this.hours() !== 1 ? 's' : '') +
  3315. '] LT'
  3316. );
  3317. },
  3318. sameElse: 'L',
  3319. },
  3320. relativeTime: {
  3321. future: 'en %s',
  3322. past: 'hace %s',
  3323. s: 'unos segundos',
  3324. ss: '%d segundos',
  3325. m: 'un minuto',
  3326. mm: '%d minutos',
  3327. h: 'una hora',
  3328. hh: '%d horas',
  3329. d: 'un día',
  3330. dd: '%d días',
  3331. w: 'una semana',
  3332. ww: '%d semanas',
  3333. M: 'un mes',
  3334. MM: '%d meses',
  3335. y: 'un año',
  3336. yy: '%d años',
  3337. },
  3338. dayOfMonthOrdinalParse: /\d{1,2}º/,
  3339. ordinal: '%dº',
  3340. week: {
  3341. dow: 1, // Monday is the first day of the week.
  3342. doy: 4, // The week that contains Jan 4th is the first week of the year.
  3343. },
  3344. });
  3345. //! moment.js locale configuration
  3346. var monthsShortDot$1 =
  3347. 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
  3348. '_'
  3349. ),
  3350. monthsShort$2 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
  3351. monthsParse$3 = [
  3352. /^ene/i,
  3353. /^feb/i,
  3354. /^mar/i,
  3355. /^abr/i,
  3356. /^may/i,
  3357. /^jun/i,
  3358. /^jul/i,
  3359. /^ago/i,
  3360. /^sep/i,
  3361. /^oct/i,
  3362. /^nov/i,
  3363. /^dic/i,
  3364. ],
  3365. monthsRegex$3 =
  3366. /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
  3367. moment.defineLocale('es-mx', {
  3368. months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
  3369. '_'
  3370. ),
  3371. monthsShort: function (m, format) {
  3372. if (!m) {
  3373. return monthsShortDot$1;
  3374. } else if (/-MMM-/.test(format)) {
  3375. return monthsShort$2[m.month()];
  3376. } else {
  3377. return monthsShortDot$1[m.month()];
  3378. }
  3379. },
  3380. monthsRegex: monthsRegex$3,
  3381. monthsShortRegex: monthsRegex$3,
  3382. monthsStrictRegex:
  3383. /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
  3384. monthsShortStrictRegex:
  3385. /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
  3386. monthsParse: monthsParse$3,
  3387. longMonthsParse: monthsParse$3,
  3388. shortMonthsParse: monthsParse$3,
  3389. weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
  3390. weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
  3391. weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
  3392. weekdaysParseExact: true,
  3393. longDateFormat: {
  3394. LT: 'H:mm',
  3395. LTS: 'H:mm:ss',
  3396. L: 'DD/MM/YYYY',
  3397. LL: 'D [de] MMMM [de] YYYY',
  3398. LLL: 'D [de] MMMM [de] YYYY H:mm',
  3399. LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',
  3400. },
  3401. calendar: {
  3402. sameDay: function () {
  3403. return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3404. },
  3405. nextDay: function () {
  3406. return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3407. },
  3408. nextWeek: function () {
  3409. return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3410. },
  3411. lastDay: function () {
  3412. return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3413. },
  3414. lastWeek: function () {
  3415. return (
  3416. '[el] dddd [pasado a la' +
  3417. (this.hours() !== 1 ? 's' : '') +
  3418. '] LT'
  3419. );
  3420. },
  3421. sameElse: 'L',
  3422. },
  3423. relativeTime: {
  3424. future: 'en %s',
  3425. past: 'hace %s',
  3426. s: 'unos segundos',
  3427. ss: '%d segundos',
  3428. m: 'un minuto',
  3429. mm: '%d minutos',
  3430. h: 'una hora',
  3431. hh: '%d horas',
  3432. d: 'un día',
  3433. dd: '%d días',
  3434. w: 'una semana',
  3435. ww: '%d semanas',
  3436. M: 'un mes',
  3437. MM: '%d meses',
  3438. y: 'un año',
  3439. yy: '%d años',
  3440. },
  3441. dayOfMonthOrdinalParse: /\d{1,2}º/,
  3442. ordinal: '%dº',
  3443. week: {
  3444. dow: 0, // Sunday is the first day of the week.
  3445. doy: 4, // The week that contains Jan 4th is the first week of the year.
  3446. },
  3447. invalidDate: 'Fecha inválida',
  3448. });
  3449. //! moment.js locale configuration
  3450. var monthsShortDot$2 =
  3451. 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
  3452. '_'
  3453. ),
  3454. monthsShort$3 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
  3455. monthsParse$4 = [
  3456. /^ene/i,
  3457. /^feb/i,
  3458. /^mar/i,
  3459. /^abr/i,
  3460. /^may/i,
  3461. /^jun/i,
  3462. /^jul/i,
  3463. /^ago/i,
  3464. /^sep/i,
  3465. /^oct/i,
  3466. /^nov/i,
  3467. /^dic/i,
  3468. ],
  3469. monthsRegex$4 =
  3470. /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
  3471. moment.defineLocale('es-us', {
  3472. months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
  3473. '_'
  3474. ),
  3475. monthsShort: function (m, format) {
  3476. if (!m) {
  3477. return monthsShortDot$2;
  3478. } else if (/-MMM-/.test(format)) {
  3479. return monthsShort$3[m.month()];
  3480. } else {
  3481. return monthsShortDot$2[m.month()];
  3482. }
  3483. },
  3484. monthsRegex: monthsRegex$4,
  3485. monthsShortRegex: monthsRegex$4,
  3486. monthsStrictRegex:
  3487. /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
  3488. monthsShortStrictRegex:
  3489. /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
  3490. monthsParse: monthsParse$4,
  3491. longMonthsParse: monthsParse$4,
  3492. shortMonthsParse: monthsParse$4,
  3493. weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
  3494. weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
  3495. weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
  3496. weekdaysParseExact: true,
  3497. longDateFormat: {
  3498. LT: 'h:mm A',
  3499. LTS: 'h:mm:ss A',
  3500. L: 'MM/DD/YYYY',
  3501. LL: 'D [de] MMMM [de] YYYY',
  3502. LLL: 'D [de] MMMM [de] YYYY h:mm A',
  3503. LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A',
  3504. },
  3505. calendar: {
  3506. sameDay: function () {
  3507. return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3508. },
  3509. nextDay: function () {
  3510. return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3511. },
  3512. nextWeek: function () {
  3513. return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3514. },
  3515. lastDay: function () {
  3516. return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3517. },
  3518. lastWeek: function () {
  3519. return (
  3520. '[el] dddd [pasado a la' +
  3521. (this.hours() !== 1 ? 's' : '') +
  3522. '] LT'
  3523. );
  3524. },
  3525. sameElse: 'L',
  3526. },
  3527. relativeTime: {
  3528. future: 'en %s',
  3529. past: 'hace %s',
  3530. s: 'unos segundos',
  3531. ss: '%d segundos',
  3532. m: 'un minuto',
  3533. mm: '%d minutos',
  3534. h: 'una hora',
  3535. hh: '%d horas',
  3536. d: 'un día',
  3537. dd: '%d días',
  3538. w: 'una semana',
  3539. ww: '%d semanas',
  3540. M: 'un mes',
  3541. MM: '%d meses',
  3542. y: 'un año',
  3543. yy: '%d años',
  3544. },
  3545. dayOfMonthOrdinalParse: /\d{1,2}º/,
  3546. ordinal: '%dº',
  3547. week: {
  3548. dow: 0, // Sunday is the first day of the week.
  3549. doy: 6, // The week that contains Jan 6th is the first week of the year.
  3550. },
  3551. });
  3552. //! moment.js locale configuration
  3553. var monthsShortDot$3 =
  3554. 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
  3555. '_'
  3556. ),
  3557. monthsShort$4 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
  3558. monthsParse$5 = [
  3559. /^ene/i,
  3560. /^feb/i,
  3561. /^mar/i,
  3562. /^abr/i,
  3563. /^may/i,
  3564. /^jun/i,
  3565. /^jul/i,
  3566. /^ago/i,
  3567. /^sep/i,
  3568. /^oct/i,
  3569. /^nov/i,
  3570. /^dic/i,
  3571. ],
  3572. monthsRegex$5 =
  3573. /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
  3574. moment.defineLocale('es', {
  3575. months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
  3576. '_'
  3577. ),
  3578. monthsShort: function (m, format) {
  3579. if (!m) {
  3580. return monthsShortDot$3;
  3581. } else if (/-MMM-/.test(format)) {
  3582. return monthsShort$4[m.month()];
  3583. } else {
  3584. return monthsShortDot$3[m.month()];
  3585. }
  3586. },
  3587. monthsRegex: monthsRegex$5,
  3588. monthsShortRegex: monthsRegex$5,
  3589. monthsStrictRegex:
  3590. /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
  3591. monthsShortStrictRegex:
  3592. /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
  3593. monthsParse: monthsParse$5,
  3594. longMonthsParse: monthsParse$5,
  3595. shortMonthsParse: monthsParse$5,
  3596. weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
  3597. weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
  3598. weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
  3599. weekdaysParseExact: true,
  3600. longDateFormat: {
  3601. LT: 'H:mm',
  3602. LTS: 'H:mm:ss',
  3603. L: 'DD/MM/YYYY',
  3604. LL: 'D [de] MMMM [de] YYYY',
  3605. LLL: 'D [de] MMMM [de] YYYY H:mm',
  3606. LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',
  3607. },
  3608. calendar: {
  3609. sameDay: function () {
  3610. return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3611. },
  3612. nextDay: function () {
  3613. return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3614. },
  3615. nextWeek: function () {
  3616. return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3617. },
  3618. lastDay: function () {
  3619. return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3620. },
  3621. lastWeek: function () {
  3622. return (
  3623. '[el] dddd [pasado a la' +
  3624. (this.hours() !== 1 ? 's' : '') +
  3625. '] LT'
  3626. );
  3627. },
  3628. sameElse: 'L',
  3629. },
  3630. relativeTime: {
  3631. future: 'en %s',
  3632. past: 'hace %s',
  3633. s: 'unos segundos',
  3634. ss: '%d segundos',
  3635. m: 'un minuto',
  3636. mm: '%d minutos',
  3637. h: 'una hora',
  3638. hh: '%d horas',
  3639. d: 'un día',
  3640. dd: '%d días',
  3641. w: 'una semana',
  3642. ww: '%d semanas',
  3643. M: 'un mes',
  3644. MM: '%d meses',
  3645. y: 'un año',
  3646. yy: '%d años',
  3647. },
  3648. dayOfMonthOrdinalParse: /\d{1,2}º/,
  3649. ordinal: '%dº',
  3650. week: {
  3651. dow: 1, // Monday is the first day of the week.
  3652. doy: 4, // The week that contains Jan 4th is the first week of the year.
  3653. },
  3654. invalidDate: 'Fecha inválida',
  3655. });
  3656. //! moment.js locale configuration
  3657. function processRelativeTime$3(number, withoutSuffix, key, isFuture) {
  3658. var format = {
  3659. s: ['mõne sekundi', 'mõni sekund', 'paar sekundit'],
  3660. ss: [number + 'sekundi', number + 'sekundit'],
  3661. m: ['ühe minuti', 'üks minut'],
  3662. mm: [number + ' minuti', number + ' minutit'],
  3663. h: ['ühe tunni', 'tund aega', 'üks tund'],
  3664. hh: [number + ' tunni', number + ' tundi'],
  3665. d: ['ühe päeva', 'üks päev'],
  3666. M: ['kuu aja', 'kuu aega', 'üks kuu'],
  3667. MM: [number + ' kuu', number + ' kuud'],
  3668. y: ['ühe aasta', 'aasta', 'üks aasta'],
  3669. yy: [number + ' aasta', number + ' aastat'],
  3670. };
  3671. if (withoutSuffix) {
  3672. return format[key][2] ? format[key][2] : format[key][1];
  3673. }
  3674. return isFuture ? format[key][0] : format[key][1];
  3675. }
  3676. moment.defineLocale('et', {
  3677. months: 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split(
  3678. '_'
  3679. ),
  3680. monthsShort:
  3681. 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split('_'),
  3682. weekdays:
  3683. 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split(
  3684. '_'
  3685. ),
  3686. weekdaysShort: 'P_E_T_K_N_R_L'.split('_'),
  3687. weekdaysMin: 'P_E_T_K_N_R_L'.split('_'),
  3688. longDateFormat: {
  3689. LT: 'H:mm',
  3690. LTS: 'H:mm:ss',
  3691. L: 'DD.MM.YYYY',
  3692. LL: 'D. MMMM YYYY',
  3693. LLL: 'D. MMMM YYYY H:mm',
  3694. LLLL: 'dddd, D. MMMM YYYY H:mm',
  3695. },
  3696. calendar: {
  3697. sameDay: '[Täna,] LT',
  3698. nextDay: '[Homme,] LT',
  3699. nextWeek: '[Järgmine] dddd LT',
  3700. lastDay: '[Eile,] LT',
  3701. lastWeek: '[Eelmine] dddd LT',
  3702. sameElse: 'L',
  3703. },
  3704. relativeTime: {
  3705. future: '%s pärast',
  3706. past: '%s tagasi',
  3707. s: processRelativeTime$3,
  3708. ss: processRelativeTime$3,
  3709. m: processRelativeTime$3,
  3710. mm: processRelativeTime$3,
  3711. h: processRelativeTime$3,
  3712. hh: processRelativeTime$3,
  3713. d: processRelativeTime$3,
  3714. dd: '%d päeva',
  3715. M: processRelativeTime$3,
  3716. MM: processRelativeTime$3,
  3717. y: processRelativeTime$3,
  3718. yy: processRelativeTime$3,
  3719. },
  3720. dayOfMonthOrdinalParse: /\d{1,2}\./,
  3721. ordinal: '%d.',
  3722. week: {
  3723. dow: 1, // Monday is the first day of the week.
  3724. doy: 4, // The week that contains Jan 4th is the first week of the year.
  3725. },
  3726. });
  3727. //! moment.js locale configuration
  3728. moment.defineLocale('eu', {
  3729. months: 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split(
  3730. '_'
  3731. ),
  3732. monthsShort:
  3733. 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split(
  3734. '_'
  3735. ),
  3736. monthsParseExact: true,
  3737. weekdays:
  3738. 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split(
  3739. '_'
  3740. ),
  3741. weekdaysShort: 'ig._al._ar._az._og._ol._lr.'.split('_'),
  3742. weekdaysMin: 'ig_al_ar_az_og_ol_lr'.split('_'),
  3743. weekdaysParseExact: true,
  3744. longDateFormat: {
  3745. LT: 'HH:mm',
  3746. LTS: 'HH:mm:ss',
  3747. L: 'YYYY-MM-DD',
  3748. LL: 'YYYY[ko] MMMM[ren] D[a]',
  3749. LLL: 'YYYY[ko] MMMM[ren] D[a] HH:mm',
  3750. LLLL: 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm',
  3751. l: 'YYYY-M-D',
  3752. ll: 'YYYY[ko] MMM D[a]',
  3753. lll: 'YYYY[ko] MMM D[a] HH:mm',
  3754. llll: 'ddd, YYYY[ko] MMM D[a] HH:mm',
  3755. },
  3756. calendar: {
  3757. sameDay: '[gaur] LT[etan]',
  3758. nextDay: '[bihar] LT[etan]',
  3759. nextWeek: 'dddd LT[etan]',
  3760. lastDay: '[atzo] LT[etan]',
  3761. lastWeek: '[aurreko] dddd LT[etan]',
  3762. sameElse: 'L',
  3763. },
  3764. relativeTime: {
  3765. future: '%s barru',
  3766. past: 'duela %s',
  3767. s: 'segundo batzuk',
  3768. ss: '%d segundo',
  3769. m: 'minutu bat',
  3770. mm: '%d minutu',
  3771. h: 'ordu bat',
  3772. hh: '%d ordu',
  3773. d: 'egun bat',
  3774. dd: '%d egun',
  3775. M: 'hilabete bat',
  3776. MM: '%d hilabete',
  3777. y: 'urte bat',
  3778. yy: '%d urte',
  3779. },
  3780. dayOfMonthOrdinalParse: /\d{1,2}\./,
  3781. ordinal: '%d.',
  3782. week: {
  3783. dow: 1, // Monday is the first day of the week.
  3784. doy: 7, // The week that contains Jan 7th is the first week of the year.
  3785. },
  3786. });
  3787. //! moment.js locale configuration
  3788. var symbolMap$6 = {
  3789. 1: '۱',
  3790. 2: '۲',
  3791. 3: '۳',
  3792. 4: '۴',
  3793. 5: '۵',
  3794. 6: '۶',
  3795. 7: '۷',
  3796. 8: '۸',
  3797. 9: '۹',
  3798. 0: '۰',
  3799. },
  3800. numberMap$5 = {
  3801. '۱': '1',
  3802. '۲': '2',
  3803. '۳': '3',
  3804. '۴': '4',
  3805. '۵': '5',
  3806. '۶': '6',
  3807. '۷': '7',
  3808. '۸': '8',
  3809. '۹': '9',
  3810. '۰': '0',
  3811. };
  3812. moment.defineLocale('fa', {
  3813. months: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split(
  3814. '_'
  3815. ),
  3816. monthsShort:
  3817. 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split(
  3818. '_'
  3819. ),
  3820. weekdays:
  3821. 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split(
  3822. '_'
  3823. ),
  3824. weekdaysShort:
  3825. 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split(
  3826. '_'
  3827. ),
  3828. weekdaysMin: 'ی_د_س_چ_پ_ج_ش'.split('_'),
  3829. weekdaysParseExact: true,
  3830. longDateFormat: {
  3831. LT: 'HH:mm',
  3832. LTS: 'HH:mm:ss',
  3833. L: 'DD/MM/YYYY',
  3834. LL: 'D MMMM YYYY',
  3835. LLL: 'D MMMM YYYY HH:mm',
  3836. LLLL: 'dddd, D MMMM YYYY HH:mm',
  3837. },
  3838. meridiemParse: /قبل از ظهر|بعد از ظهر/,
  3839. isPM: function (input) {
  3840. return /بعد از ظهر/.test(input);
  3841. },
  3842. meridiem: function (hour, minute, isLower) {
  3843. if (hour < 12) {
  3844. return 'قبل از ظهر';
  3845. } else {
  3846. return 'بعد از ظهر';
  3847. }
  3848. },
  3849. calendar: {
  3850. sameDay: '[امروز ساعت] LT',
  3851. nextDay: '[فردا ساعت] LT',
  3852. nextWeek: 'dddd [ساعت] LT',
  3853. lastDay: '[دیروز ساعت] LT',
  3854. lastWeek: 'dddd [پیش] [ساعت] LT',
  3855. sameElse: 'L',
  3856. },
  3857. relativeTime: {
  3858. future: 'در %s',
  3859. past: '%s پیش',
  3860. s: 'چند ثانیه',
  3861. ss: '%d ثانیه',
  3862. m: 'یک دقیقه',
  3863. mm: '%d دقیقه',
  3864. h: 'یک ساعت',
  3865. hh: '%d ساعت',
  3866. d: 'یک روز',
  3867. dd: '%d روز',
  3868. M: 'یک ماه',
  3869. MM: '%d ماه',
  3870. y: 'یک سال',
  3871. yy: '%d سال',
  3872. },
  3873. preparse: function (string) {
  3874. return string
  3875. .replace(/[۰-۹]/g, function (match) {
  3876. return numberMap$5[match];
  3877. })
  3878. .replace(/،/g, ',');
  3879. },
  3880. postformat: function (string) {
  3881. return string
  3882. .replace(/\d/g, function (match) {
  3883. return symbolMap$6[match];
  3884. })
  3885. .replace(/,/g, '،');
  3886. },
  3887. dayOfMonthOrdinalParse: /\d{1,2}م/,
  3888. ordinal: '%dم',
  3889. week: {
  3890. dow: 6, // Saturday is the first day of the week.
  3891. doy: 12, // The week that contains Jan 12th is the first week of the year.
  3892. },
  3893. });
  3894. //! moment.js locale configuration
  3895. var numbersPast =
  3896. 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(
  3897. ' '
  3898. ),
  3899. numbersFuture = [
  3900. 'nolla',
  3901. 'yhden',
  3902. 'kahden',
  3903. 'kolmen',
  3904. 'neljän',
  3905. 'viiden',
  3906. 'kuuden',
  3907. numbersPast[7],
  3908. numbersPast[8],
  3909. numbersPast[9],
  3910. ];
  3911. function translate$2(number, withoutSuffix, key, isFuture) {
  3912. var result = '';
  3913. switch (key) {
  3914. case 's':
  3915. return isFuture ? 'muutaman sekunnin' : 'muutama sekunti';
  3916. case 'ss':
  3917. result = isFuture ? 'sekunnin' : 'sekuntia';
  3918. break;
  3919. case 'm':
  3920. return isFuture ? 'minuutin' : 'minuutti';
  3921. case 'mm':
  3922. result = isFuture ? 'minuutin' : 'minuuttia';
  3923. break;
  3924. case 'h':
  3925. return isFuture ? 'tunnin' : 'tunti';
  3926. case 'hh':
  3927. result = isFuture ? 'tunnin' : 'tuntia';
  3928. break;
  3929. case 'd':
  3930. return isFuture ? 'päivän' : 'päivä';
  3931. case 'dd':
  3932. result = isFuture ? 'päivän' : 'päivää';
  3933. break;
  3934. case 'M':
  3935. return isFuture ? 'kuukauden' : 'kuukausi';
  3936. case 'MM':
  3937. result = isFuture ? 'kuukauden' : 'kuukautta';
  3938. break;
  3939. case 'y':
  3940. return isFuture ? 'vuoden' : 'vuosi';
  3941. case 'yy':
  3942. result = isFuture ? 'vuoden' : 'vuotta';
  3943. break;
  3944. }
  3945. result = verbalNumber(number, isFuture) + ' ' + result;
  3946. return result;
  3947. }
  3948. function verbalNumber(number, isFuture) {
  3949. return number < 10
  3950. ? isFuture
  3951. ? numbersFuture[number]
  3952. : numbersPast[number]
  3953. : number;
  3954. }
  3955. moment.defineLocale('fi', {
  3956. months: 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split(
  3957. '_'
  3958. ),
  3959. monthsShort:
  3960. 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split(
  3961. '_'
  3962. ),
  3963. weekdays:
  3964. 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split(
  3965. '_'
  3966. ),
  3967. weekdaysShort: 'su_ma_ti_ke_to_pe_la'.split('_'),
  3968. weekdaysMin: 'su_ma_ti_ke_to_pe_la'.split('_'),
  3969. longDateFormat: {
  3970. LT: 'HH.mm',
  3971. LTS: 'HH.mm.ss',
  3972. L: 'DD.MM.YYYY',
  3973. LL: 'Do MMMM[ta] YYYY',
  3974. LLL: 'Do MMMM[ta] YYYY, [klo] HH.mm',
  3975. LLLL: 'dddd, Do MMMM[ta] YYYY, [klo] HH.mm',
  3976. l: 'D.M.YYYY',
  3977. ll: 'Do MMM YYYY',
  3978. lll: 'Do MMM YYYY, [klo] HH.mm',
  3979. llll: 'ddd, Do MMM YYYY, [klo] HH.mm',
  3980. },
  3981. calendar: {
  3982. sameDay: '[tänään] [klo] LT',
  3983. nextDay: '[huomenna] [klo] LT',
  3984. nextWeek: 'dddd [klo] LT',
  3985. lastDay: '[eilen] [klo] LT',
  3986. lastWeek: '[viime] dddd[na] [klo] LT',
  3987. sameElse: 'L',
  3988. },
  3989. relativeTime: {
  3990. future: '%s päästä',
  3991. past: '%s sitten',
  3992. s: translate$2,
  3993. ss: translate$2,
  3994. m: translate$2,
  3995. mm: translate$2,
  3996. h: translate$2,
  3997. hh: translate$2,
  3998. d: translate$2,
  3999. dd: translate$2,
  4000. M: translate$2,
  4001. MM: translate$2,
  4002. y: translate$2,
  4003. yy: translate$2,
  4004. },
  4005. dayOfMonthOrdinalParse: /\d{1,2}\./,
  4006. ordinal: '%d.',
  4007. week: {
  4008. dow: 1, // Monday is the first day of the week.
  4009. doy: 4, // The week that contains Jan 4th is the first week of the year.
  4010. },
  4011. });
  4012. //! moment.js locale configuration
  4013. moment.defineLocale('fil', {
  4014. months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split(
  4015. '_'
  4016. ),
  4017. monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
  4018. weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split(
  4019. '_'
  4020. ),
  4021. weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
  4022. weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
  4023. longDateFormat: {
  4024. LT: 'HH:mm',
  4025. LTS: 'HH:mm:ss',
  4026. L: 'MM/D/YYYY',
  4027. LL: 'MMMM D, YYYY',
  4028. LLL: 'MMMM D, YYYY HH:mm',
  4029. LLLL: 'dddd, MMMM DD, YYYY HH:mm',
  4030. },
  4031. calendar: {
  4032. sameDay: 'LT [ngayong araw]',
  4033. nextDay: '[Bukas ng] LT',
  4034. nextWeek: 'LT [sa susunod na] dddd',
  4035. lastDay: 'LT [kahapon]',
  4036. lastWeek: 'LT [noong nakaraang] dddd',
  4037. sameElse: 'L',
  4038. },
  4039. relativeTime: {
  4040. future: 'sa loob ng %s',
  4041. past: '%s ang nakalipas',
  4042. s: 'ilang segundo',
  4043. ss: '%d segundo',
  4044. m: 'isang minuto',
  4045. mm: '%d minuto',
  4046. h: 'isang oras',
  4047. hh: '%d oras',
  4048. d: 'isang araw',
  4049. dd: '%d araw',
  4050. M: 'isang buwan',
  4051. MM: '%d buwan',
  4052. y: 'isang taon',
  4053. yy: '%d taon',
  4054. },
  4055. dayOfMonthOrdinalParse: /\d{1,2}/,
  4056. ordinal: function (number) {
  4057. return number;
  4058. },
  4059. week: {
  4060. dow: 1, // Monday is the first day of the week.
  4061. doy: 4, // The week that contains Jan 4th is the first week of the year.
  4062. },
  4063. });
  4064. //! moment.js locale configuration
  4065. moment.defineLocale('fo', {
  4066. months: 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split(
  4067. '_'
  4068. ),
  4069. monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
  4070. weekdays:
  4071. 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split(
  4072. '_'
  4073. ),
  4074. weekdaysShort: 'sun_mán_týs_mik_hós_frí_ley'.split('_'),
  4075. weekdaysMin: 'su_má_tý_mi_hó_fr_le'.split('_'),
  4076. longDateFormat: {
  4077. LT: 'HH:mm',
  4078. LTS: 'HH:mm:ss',
  4079. L: 'DD/MM/YYYY',
  4080. LL: 'D MMMM YYYY',
  4081. LLL: 'D MMMM YYYY HH:mm',
  4082. LLLL: 'dddd D. MMMM, YYYY HH:mm',
  4083. },
  4084. calendar: {
  4085. sameDay: '[Í dag kl.] LT',
  4086. nextDay: '[Í morgin kl.] LT',
  4087. nextWeek: 'dddd [kl.] LT',
  4088. lastDay: '[Í gjár kl.] LT',
  4089. lastWeek: '[síðstu] dddd [kl] LT',
  4090. sameElse: 'L',
  4091. },
  4092. relativeTime: {
  4093. future: 'um %s',
  4094. past: '%s síðani',
  4095. s: 'fá sekund',
  4096. ss: '%d sekundir',
  4097. m: 'ein minuttur',
  4098. mm: '%d minuttir',
  4099. h: 'ein tími',
  4100. hh: '%d tímar',
  4101. d: 'ein dagur',
  4102. dd: '%d dagar',
  4103. M: 'ein mánaður',
  4104. MM: '%d mánaðir',
  4105. y: 'eitt ár',
  4106. yy: '%d ár',
  4107. },
  4108. dayOfMonthOrdinalParse: /\d{1,2}\./,
  4109. ordinal: '%d.',
  4110. week: {
  4111. dow: 1, // Monday is the first day of the week.
  4112. doy: 4, // The week that contains Jan 4th is the first week of the year.
  4113. },
  4114. });
  4115. //! moment.js locale configuration
  4116. moment.defineLocale('fr-ca', {
  4117. months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
  4118. '_'
  4119. ),
  4120. monthsShort:
  4121. 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
  4122. '_'
  4123. ),
  4124. monthsParseExact: true,
  4125. weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
  4126. weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
  4127. weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
  4128. weekdaysParseExact: true,
  4129. longDateFormat: {
  4130. LT: 'HH:mm',
  4131. LTS: 'HH:mm:ss',
  4132. L: 'YYYY-MM-DD',
  4133. LL: 'D MMMM YYYY',
  4134. LLL: 'D MMMM YYYY HH:mm',
  4135. LLLL: 'dddd D MMMM YYYY HH:mm',
  4136. },
  4137. calendar: {
  4138. sameDay: '[Aujourd’hui à] LT',
  4139. nextDay: '[Demain à] LT',
  4140. nextWeek: 'dddd [à] LT',
  4141. lastDay: '[Hier à] LT',
  4142. lastWeek: 'dddd [dernier à] LT',
  4143. sameElse: 'L',
  4144. },
  4145. relativeTime: {
  4146. future: 'dans %s',
  4147. past: 'il y a %s',
  4148. s: 'quelques secondes',
  4149. ss: '%d secondes',
  4150. m: 'une minute',
  4151. mm: '%d minutes',
  4152. h: 'une heure',
  4153. hh: '%d heures',
  4154. d: 'un jour',
  4155. dd: '%d jours',
  4156. M: 'un mois',
  4157. MM: '%d mois',
  4158. y: 'un an',
  4159. yy: '%d ans',
  4160. },
  4161. dayOfMonthOrdinalParse: /\d{1,2}(er|e)/,
  4162. ordinal: function (number, period) {
  4163. switch (period) {
  4164. // Words with masculine grammatical gender: mois, trimestre, jour
  4165. default:
  4166. case 'M':
  4167. case 'Q':
  4168. case 'D':
  4169. case 'DDD':
  4170. case 'd':
  4171. return number + (number === 1 ? 'er' : 'e');
  4172. // Words with feminine grammatical gender: semaine
  4173. case 'w':
  4174. case 'W':
  4175. return number + (number === 1 ? 're' : 'e');
  4176. }
  4177. },
  4178. });
  4179. //! moment.js locale configuration
  4180. moment.defineLocale('fr-ch', {
  4181. months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
  4182. '_'
  4183. ),
  4184. monthsShort:
  4185. 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
  4186. '_'
  4187. ),
  4188. monthsParseExact: true,
  4189. weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
  4190. weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
  4191. weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
  4192. weekdaysParseExact: true,
  4193. longDateFormat: {
  4194. LT: 'HH:mm',
  4195. LTS: 'HH:mm:ss',
  4196. L: 'DD.MM.YYYY',
  4197. LL: 'D MMMM YYYY',
  4198. LLL: 'D MMMM YYYY HH:mm',
  4199. LLLL: 'dddd D MMMM YYYY HH:mm',
  4200. },
  4201. calendar: {
  4202. sameDay: '[Aujourd’hui à] LT',
  4203. nextDay: '[Demain à] LT',
  4204. nextWeek: 'dddd [à] LT',
  4205. lastDay: '[Hier à] LT',
  4206. lastWeek: 'dddd [dernier à] LT',
  4207. sameElse: 'L',
  4208. },
  4209. relativeTime: {
  4210. future: 'dans %s',
  4211. past: 'il y a %s',
  4212. s: 'quelques secondes',
  4213. ss: '%d secondes',
  4214. m: 'une minute',
  4215. mm: '%d minutes',
  4216. h: 'une heure',
  4217. hh: '%d heures',
  4218. d: 'un jour',
  4219. dd: '%d jours',
  4220. M: 'un mois',
  4221. MM: '%d mois',
  4222. y: 'un an',
  4223. yy: '%d ans',
  4224. },
  4225. dayOfMonthOrdinalParse: /\d{1,2}(er|e)/,
  4226. ordinal: function (number, period) {
  4227. switch (period) {
  4228. // Words with masculine grammatical gender: mois, trimestre, jour
  4229. default:
  4230. case 'M':
  4231. case 'Q':
  4232. case 'D':
  4233. case 'DDD':
  4234. case 'd':
  4235. return number + (number === 1 ? 'er' : 'e');
  4236. // Words with feminine grammatical gender: semaine
  4237. case 'w':
  4238. case 'W':
  4239. return number + (number === 1 ? 're' : 'e');
  4240. }
  4241. },
  4242. week: {
  4243. dow: 1, // Monday is the first day of the week.
  4244. doy: 4, // The week that contains Jan 4th is the first week of the year.
  4245. },
  4246. });
  4247. //! moment.js locale configuration
  4248. var monthsStrictRegex$1 =
  4249. /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
  4250. monthsShortStrictRegex$1 =
  4251. /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,
  4252. monthsRegex$6 =
  4253. /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
  4254. monthsParse$6 = [
  4255. /^janv/i,
  4256. /^févr/i,
  4257. /^mars/i,
  4258. /^avr/i,
  4259. /^mai/i,
  4260. /^juin/i,
  4261. /^juil/i,
  4262. /^août/i,
  4263. /^sept/i,
  4264. /^oct/i,
  4265. /^nov/i,
  4266. /^déc/i,
  4267. ];
  4268. moment.defineLocale('fr', {
  4269. months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
  4270. '_'
  4271. ),
  4272. monthsShort:
  4273. 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
  4274. '_'
  4275. ),
  4276. monthsRegex: monthsRegex$6,
  4277. monthsShortRegex: monthsRegex$6,
  4278. monthsStrictRegex: monthsStrictRegex$1,
  4279. monthsShortStrictRegex: monthsShortStrictRegex$1,
  4280. monthsParse: monthsParse$6,
  4281. longMonthsParse: monthsParse$6,
  4282. shortMonthsParse: monthsParse$6,
  4283. weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
  4284. weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
  4285. weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
  4286. weekdaysParseExact: true,
  4287. longDateFormat: {
  4288. LT: 'HH:mm',
  4289. LTS: 'HH:mm:ss',
  4290. L: 'DD/MM/YYYY',
  4291. LL: 'D MMMM YYYY',
  4292. LLL: 'D MMMM YYYY HH:mm',
  4293. LLLL: 'dddd D MMMM YYYY HH:mm',
  4294. },
  4295. calendar: {
  4296. sameDay: '[Aujourd’hui à] LT',
  4297. nextDay: '[Demain à] LT',
  4298. nextWeek: 'dddd [à] LT',
  4299. lastDay: '[Hier à] LT',
  4300. lastWeek: 'dddd [dernier à] LT',
  4301. sameElse: 'L',
  4302. },
  4303. relativeTime: {
  4304. future: 'dans %s',
  4305. past: 'il y a %s',
  4306. s: 'quelques secondes',
  4307. ss: '%d secondes',
  4308. m: 'une minute',
  4309. mm: '%d minutes',
  4310. h: 'une heure',
  4311. hh: '%d heures',
  4312. d: 'un jour',
  4313. dd: '%d jours',
  4314. w: 'une semaine',
  4315. ww: '%d semaines',
  4316. M: 'un mois',
  4317. MM: '%d mois',
  4318. y: 'un an',
  4319. yy: '%d ans',
  4320. },
  4321. dayOfMonthOrdinalParse: /\d{1,2}(er|)/,
  4322. ordinal: function (number, period) {
  4323. switch (period) {
  4324. // TODO: Return 'e' when day of month > 1. Move this case inside
  4325. // block for masculine words below.
  4326. // See https://github.com/moment/moment/issues/3375
  4327. case 'D':
  4328. return number + (number === 1 ? 'er' : '');
  4329. // Words with masculine grammatical gender: mois, trimestre, jour
  4330. default:
  4331. case 'M':
  4332. case 'Q':
  4333. case 'DDD':
  4334. case 'd':
  4335. return number + (number === 1 ? 'er' : 'e');
  4336. // Words with feminine grammatical gender: semaine
  4337. case 'w':
  4338. case 'W':
  4339. return number + (number === 1 ? 're' : 'e');
  4340. }
  4341. },
  4342. week: {
  4343. dow: 1, // Monday is the first day of the week.
  4344. doy: 4, // The week that contains Jan 4th is the first week of the year.
  4345. },
  4346. });
  4347. //! moment.js locale configuration
  4348. var monthsShortWithDots =
  4349. 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'),
  4350. monthsShortWithoutDots =
  4351. 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_');
  4352. moment.defineLocale('fy', {
  4353. months: 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split(
  4354. '_'
  4355. ),
  4356. monthsShort: function (m, format) {
  4357. if (!m) {
  4358. return monthsShortWithDots;
  4359. } else if (/-MMM-/.test(format)) {
  4360. return monthsShortWithoutDots[m.month()];
  4361. } else {
  4362. return monthsShortWithDots[m.month()];
  4363. }
  4364. },
  4365. monthsParseExact: true,
  4366. weekdays: 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split(
  4367. '_'
  4368. ),
  4369. weekdaysShort: 'si._mo._ti._wo._to._fr._so.'.split('_'),
  4370. weekdaysMin: 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'),
  4371. weekdaysParseExact: true,
  4372. longDateFormat: {
  4373. LT: 'HH:mm',
  4374. LTS: 'HH:mm:ss',
  4375. L: 'DD-MM-YYYY',
  4376. LL: 'D MMMM YYYY',
  4377. LLL: 'D MMMM YYYY HH:mm',
  4378. LLLL: 'dddd D MMMM YYYY HH:mm',
  4379. },
  4380. calendar: {
  4381. sameDay: '[hjoed om] LT',
  4382. nextDay: '[moarn om] LT',
  4383. nextWeek: 'dddd [om] LT',
  4384. lastDay: '[juster om] LT',
  4385. lastWeek: '[ôfrûne] dddd [om] LT',
  4386. sameElse: 'L',
  4387. },
  4388. relativeTime: {
  4389. future: 'oer %s',
  4390. past: '%s lyn',
  4391. s: 'in pear sekonden',
  4392. ss: '%d sekonden',
  4393. m: 'ien minút',
  4394. mm: '%d minuten',
  4395. h: 'ien oere',
  4396. hh: '%d oeren',
  4397. d: 'ien dei',
  4398. dd: '%d dagen',
  4399. M: 'ien moanne',
  4400. MM: '%d moannen',
  4401. y: 'ien jier',
  4402. yy: '%d jierren',
  4403. },
  4404. dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
  4405. ordinal: function (number) {
  4406. return (
  4407. number +
  4408. (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')
  4409. );
  4410. },
  4411. week: {
  4412. dow: 1, // Monday is the first day of the week.
  4413. doy: 4, // The week that contains Jan 4th is the first week of the year.
  4414. },
  4415. });
  4416. //! moment.js locale configuration
  4417. var months$5 = [
  4418. 'Eanáir',
  4419. 'Feabhra',
  4420. 'Márta',
  4421. 'Aibreán',
  4422. 'Bealtaine',
  4423. 'Meitheamh',
  4424. 'Iúil',
  4425. 'Lúnasa',
  4426. 'Meán Fómhair',
  4427. 'Deireadh Fómhair',
  4428. 'Samhain',
  4429. 'Nollaig',
  4430. ],
  4431. monthsShort$5 = [
  4432. 'Ean',
  4433. 'Feabh',
  4434. 'Márt',
  4435. 'Aib',
  4436. 'Beal',
  4437. 'Meith',
  4438. 'Iúil',
  4439. 'Lún',
  4440. 'M.F.',
  4441. 'D.F.',
  4442. 'Samh',
  4443. 'Noll',
  4444. ],
  4445. weekdays$1 = [
  4446. 'Dé Domhnaigh',
  4447. 'Dé Luain',
  4448. 'Dé Máirt',
  4449. 'Dé Céadaoin',
  4450. 'Déardaoin',
  4451. 'Dé hAoine',
  4452. 'Dé Sathairn',
  4453. ],
  4454. weekdaysShort = ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'],
  4455. weekdaysMin = ['Do', 'Lu', 'Má', 'Cé', 'Dé', 'A', 'Sa'];
  4456. moment.defineLocale('ga', {
  4457. months: months$5,
  4458. monthsShort: monthsShort$5,
  4459. monthsParseExact: true,
  4460. weekdays: weekdays$1,
  4461. weekdaysShort: weekdaysShort,
  4462. weekdaysMin: weekdaysMin,
  4463. longDateFormat: {
  4464. LT: 'HH:mm',
  4465. LTS: 'HH:mm:ss',
  4466. L: 'DD/MM/YYYY',
  4467. LL: 'D MMMM YYYY',
  4468. LLL: 'D MMMM YYYY HH:mm',
  4469. LLLL: 'dddd, D MMMM YYYY HH:mm',
  4470. },
  4471. calendar: {
  4472. sameDay: '[Inniu ag] LT',
  4473. nextDay: '[Amárach ag] LT',
  4474. nextWeek: 'dddd [ag] LT',
  4475. lastDay: '[Inné ag] LT',
  4476. lastWeek: 'dddd [seo caite] [ag] LT',
  4477. sameElse: 'L',
  4478. },
  4479. relativeTime: {
  4480. future: 'i %s',
  4481. past: '%s ó shin',
  4482. s: 'cúpla soicind',
  4483. ss: '%d soicind',
  4484. m: 'nóiméad',
  4485. mm: '%d nóiméad',
  4486. h: 'uair an chloig',
  4487. hh: '%d uair an chloig',
  4488. d: 'lá',
  4489. dd: '%d lá',
  4490. M: 'mí',
  4491. MM: '%d míonna',
  4492. y: 'bliain',
  4493. yy: '%d bliain',
  4494. },
  4495. dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/,
  4496. ordinal: function (number) {
  4497. var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
  4498. return number + output;
  4499. },
  4500. week: {
  4501. dow: 1, // Monday is the first day of the week.
  4502. doy: 4, // The week that contains Jan 4th is the first week of the year.
  4503. },
  4504. });
  4505. //! moment.js locale configuration
  4506. var months$6 = [
  4507. 'Am Faoilleach',
  4508. 'An Gearran',
  4509. 'Am Màrt',
  4510. 'An Giblean',
  4511. 'An Cèitean',
  4512. 'An t-Ògmhios',
  4513. 'An t-Iuchar',
  4514. 'An Lùnastal',
  4515. 'An t-Sultain',
  4516. 'An Dàmhair',
  4517. 'An t-Samhain',
  4518. 'An Dùbhlachd',
  4519. ],
  4520. monthsShort$6 = [
  4521. 'Faoi',
  4522. 'Gear',
  4523. 'Màrt',
  4524. 'Gibl',
  4525. 'Cèit',
  4526. 'Ògmh',
  4527. 'Iuch',
  4528. 'Lùn',
  4529. 'Sult',
  4530. 'Dàmh',
  4531. 'Samh',
  4532. 'Dùbh',
  4533. ],
  4534. weekdays$2 = [
  4535. 'Didòmhnaich',
  4536. 'Diluain',
  4537. 'Dimàirt',
  4538. 'Diciadain',
  4539. 'Diardaoin',
  4540. 'Dihaoine',
  4541. 'Disathairne',
  4542. ],
  4543. weekdaysShort$1 = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'],
  4544. weekdaysMin$1 = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa'];
  4545. moment.defineLocale('gd', {
  4546. months: months$6,
  4547. monthsShort: monthsShort$6,
  4548. monthsParseExact: true,
  4549. weekdays: weekdays$2,
  4550. weekdaysShort: weekdaysShort$1,
  4551. weekdaysMin: weekdaysMin$1,
  4552. longDateFormat: {
  4553. LT: 'HH:mm',
  4554. LTS: 'HH:mm:ss',
  4555. L: 'DD/MM/YYYY',
  4556. LL: 'D MMMM YYYY',
  4557. LLL: 'D MMMM YYYY HH:mm',
  4558. LLLL: 'dddd, D MMMM YYYY HH:mm',
  4559. },
  4560. calendar: {
  4561. sameDay: '[An-diugh aig] LT',
  4562. nextDay: '[A-màireach aig] LT',
  4563. nextWeek: 'dddd [aig] LT',
  4564. lastDay: '[An-dè aig] LT',
  4565. lastWeek: 'dddd [seo chaidh] [aig] LT',
  4566. sameElse: 'L',
  4567. },
  4568. relativeTime: {
  4569. future: 'ann an %s',
  4570. past: 'bho chionn %s',
  4571. s: 'beagan diogan',
  4572. ss: '%d diogan',
  4573. m: 'mionaid',
  4574. mm: '%d mionaidean',
  4575. h: 'uair',
  4576. hh: '%d uairean',
  4577. d: 'latha',
  4578. dd: '%d latha',
  4579. M: 'mìos',
  4580. MM: '%d mìosan',
  4581. y: 'bliadhna',
  4582. yy: '%d bliadhna',
  4583. },
  4584. dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/,
  4585. ordinal: function (number) {
  4586. var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
  4587. return number + output;
  4588. },
  4589. week: {
  4590. dow: 1, // Monday is the first day of the week.
  4591. doy: 4, // The week that contains Jan 4th is the first week of the year.
  4592. },
  4593. });
  4594. //! moment.js locale configuration
  4595. moment.defineLocale('gl', {
  4596. months: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split(
  4597. '_'
  4598. ),
  4599. monthsShort:
  4600. 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split(
  4601. '_'
  4602. ),
  4603. monthsParseExact: true,
  4604. weekdays: 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'),
  4605. weekdaysShort: 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'),
  4606. weekdaysMin: 'do_lu_ma_mé_xo_ve_sá'.split('_'),
  4607. weekdaysParseExact: true,
  4608. longDateFormat: {
  4609. LT: 'H:mm',
  4610. LTS: 'H:mm:ss',
  4611. L: 'DD/MM/YYYY',
  4612. LL: 'D [de] MMMM [de] YYYY',
  4613. LLL: 'D [de] MMMM [de] YYYY H:mm',
  4614. LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',
  4615. },
  4616. calendar: {
  4617. sameDay: function () {
  4618. return '[hoxe ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT';
  4619. },
  4620. nextDay: function () {
  4621. return '[mañá ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT';
  4622. },
  4623. nextWeek: function () {
  4624. return 'dddd [' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT';
  4625. },
  4626. lastDay: function () {
  4627. return '[onte ' + (this.hours() !== 1 ? 'á' : 'a') + '] LT';
  4628. },
  4629. lastWeek: function () {
  4630. return (
  4631. '[o] dddd [pasado ' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT'
  4632. );
  4633. },
  4634. sameElse: 'L',
  4635. },
  4636. relativeTime: {
  4637. future: function (str) {
  4638. if (str.indexOf('un') === 0) {
  4639. return 'n' + str;
  4640. }
  4641. return 'en ' + str;
  4642. },
  4643. past: 'hai %s',
  4644. s: 'uns segundos',
  4645. ss: '%d segundos',
  4646. m: 'un minuto',
  4647. mm: '%d minutos',
  4648. h: 'unha hora',
  4649. hh: '%d horas',
  4650. d: 'un día',
  4651. dd: '%d días',
  4652. M: 'un mes',
  4653. MM: '%d meses',
  4654. y: 'un ano',
  4655. yy: '%d anos',
  4656. },
  4657. dayOfMonthOrdinalParse: /\d{1,2}º/,
  4658. ordinal: '%dº',
  4659. week: {
  4660. dow: 1, // Monday is the first day of the week.
  4661. doy: 4, // The week that contains Jan 4th is the first week of the year.
  4662. },
  4663. });
  4664. //! moment.js locale configuration
  4665. function processRelativeTime$4(number, withoutSuffix, key, isFuture) {
  4666. var format = {
  4667. s: ['थोडया सॅकंडांनी', 'थोडे सॅकंड'],
  4668. ss: [number + ' सॅकंडांनी', number + ' सॅकंड'],
  4669. m: ['एका मिणटान', 'एक मिनूट'],
  4670. mm: [number + ' मिणटांनी', number + ' मिणटां'],
  4671. h: ['एका वरान', 'एक वर'],
  4672. hh: [number + ' वरांनी', number + ' वरां'],
  4673. d: ['एका दिसान', 'एक दीस'],
  4674. dd: [number + ' दिसांनी', number + ' दीस'],
  4675. M: ['एका म्हयन्यान', 'एक म्हयनो'],
  4676. MM: [number + ' म्हयन्यानी', number + ' म्हयने'],
  4677. y: ['एका वर्सान', 'एक वर्स'],
  4678. yy: [number + ' वर्सांनी', number + ' वर्सां'],
  4679. };
  4680. return isFuture ? format[key][0] : format[key][1];
  4681. }
  4682. moment.defineLocale('gom-deva', {
  4683. months: {
  4684. standalone:
  4685. 'जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split(
  4686. '_'
  4687. ),
  4688. format: 'जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या'.split(
  4689. '_'
  4690. ),
  4691. isFormat: /MMMM(\s)+D[oD]?/,
  4692. },
  4693. monthsShort:
  4694. 'जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split(
  4695. '_'
  4696. ),
  4697. monthsParseExact: true,
  4698. weekdays: 'आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार'.split('_'),
  4699. weekdaysShort: 'आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.'.split('_'),
  4700. weekdaysMin: 'आ_सो_मं_बु_ब्रे_सु_शे'.split('_'),
  4701. weekdaysParseExact: true,
  4702. longDateFormat: {
  4703. LT: 'A h:mm [वाजतां]',
  4704. LTS: 'A h:mm:ss [वाजतां]',
  4705. L: 'DD-MM-YYYY',
  4706. LL: 'D MMMM YYYY',
  4707. LLL: 'D MMMM YYYY A h:mm [वाजतां]',
  4708. LLLL: 'dddd, MMMM Do, YYYY, A h:mm [वाजतां]',
  4709. llll: 'ddd, D MMM YYYY, A h:mm [वाजतां]',
  4710. },
  4711. calendar: {
  4712. sameDay: '[आयज] LT',
  4713. nextDay: '[फाल्यां] LT',
  4714. nextWeek: '[फुडलो] dddd[,] LT',
  4715. lastDay: '[काल] LT',
  4716. lastWeek: '[फाटलो] dddd[,] LT',
  4717. sameElse: 'L',
  4718. },
  4719. relativeTime: {
  4720. future: '%s',
  4721. past: '%s आदीं',
  4722. s: processRelativeTime$4,
  4723. ss: processRelativeTime$4,
  4724. m: processRelativeTime$4,
  4725. mm: processRelativeTime$4,
  4726. h: processRelativeTime$4,
  4727. hh: processRelativeTime$4,
  4728. d: processRelativeTime$4,
  4729. dd: processRelativeTime$4,
  4730. M: processRelativeTime$4,
  4731. MM: processRelativeTime$4,
  4732. y: processRelativeTime$4,
  4733. yy: processRelativeTime$4,
  4734. },
  4735. dayOfMonthOrdinalParse: /\d{1,2}(वेर)/,
  4736. ordinal: function (number, period) {
  4737. switch (period) {
  4738. // the ordinal 'वेर' only applies to day of the month
  4739. case 'D':
  4740. return number + 'वेर';
  4741. default:
  4742. case 'M':
  4743. case 'Q':
  4744. case 'DDD':
  4745. case 'd':
  4746. case 'w':
  4747. case 'W':
  4748. return number;
  4749. }
  4750. },
  4751. week: {
  4752. dow: 0, // Sunday is the first day of the week
  4753. doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4)
  4754. },
  4755. meridiemParse: /राती|सकाळीं|दनपारां|सांजे/,
  4756. meridiemHour: function (hour, meridiem) {
  4757. if (hour === 12) {
  4758. hour = 0;
  4759. }
  4760. if (meridiem === 'राती') {
  4761. return hour < 4 ? hour : hour + 12;
  4762. } else if (meridiem === 'सकाळीं') {
  4763. return hour;
  4764. } else if (meridiem === 'दनपारां') {
  4765. return hour > 12 ? hour : hour + 12;
  4766. } else if (meridiem === 'सांजे') {
  4767. return hour + 12;
  4768. }
  4769. },
  4770. meridiem: function (hour, minute, isLower) {
  4771. if (hour < 4) {
  4772. return 'राती';
  4773. } else if (hour < 12) {
  4774. return 'सकाळीं';
  4775. } else if (hour < 16) {
  4776. return 'दनपारां';
  4777. } else if (hour < 20) {
  4778. return 'सांजे';
  4779. } else {
  4780. return 'राती';
  4781. }
  4782. },
  4783. });
  4784. //! moment.js locale configuration
  4785. function processRelativeTime$5(number, withoutSuffix, key, isFuture) {
  4786. var format = {
  4787. s: ['thoddea sekondamni', 'thodde sekond'],
  4788. ss: [number + ' sekondamni', number + ' sekond'],
  4789. m: ['eka mintan', 'ek minut'],
  4790. mm: [number + ' mintamni', number + ' mintam'],
  4791. h: ['eka voran', 'ek vor'],
  4792. hh: [number + ' voramni', number + ' voram'],
  4793. d: ['eka disan', 'ek dis'],
  4794. dd: [number + ' disamni', number + ' dis'],
  4795. M: ['eka mhoinean', 'ek mhoino'],
  4796. MM: [number + ' mhoineamni', number + ' mhoine'],
  4797. y: ['eka vorsan', 'ek voros'],
  4798. yy: [number + ' vorsamni', number + ' vorsam'],
  4799. };
  4800. return isFuture ? format[key][0] : format[key][1];
  4801. }
  4802. moment.defineLocale('gom-latn', {
  4803. months: {
  4804. standalone:
  4805. 'Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr'.split(
  4806. '_'
  4807. ),
  4808. format: 'Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea'.split(
  4809. '_'
  4810. ),
  4811. isFormat: /MMMM(\s)+D[oD]?/,
  4812. },
  4813. monthsShort:
  4814. 'Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.'.split('_'),
  4815. monthsParseExact: true,
  4816. weekdays: "Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split('_'),
  4817. weekdaysShort: 'Ait._Som._Mon._Bud._Bre._Suk._Son.'.split('_'),
  4818. weekdaysMin: 'Ai_Sm_Mo_Bu_Br_Su_Sn'.split('_'),
  4819. weekdaysParseExact: true,
  4820. longDateFormat: {
  4821. LT: 'A h:mm [vazta]',
  4822. LTS: 'A h:mm:ss [vazta]',
  4823. L: 'DD-MM-YYYY',
  4824. LL: 'D MMMM YYYY',
  4825. LLL: 'D MMMM YYYY A h:mm [vazta]',
  4826. LLLL: 'dddd, MMMM Do, YYYY, A h:mm [vazta]',
  4827. llll: 'ddd, D MMM YYYY, A h:mm [vazta]',
  4828. },
  4829. calendar: {
  4830. sameDay: '[Aiz] LT',
  4831. nextDay: '[Faleam] LT',
  4832. nextWeek: '[Fuddlo] dddd[,] LT',
  4833. lastDay: '[Kal] LT',
  4834. lastWeek: '[Fattlo] dddd[,] LT',
  4835. sameElse: 'L',
  4836. },
  4837. relativeTime: {
  4838. future: '%s',
  4839. past: '%s adim',
  4840. s: processRelativeTime$5,
  4841. ss: processRelativeTime$5,
  4842. m: processRelativeTime$5,
  4843. mm: processRelativeTime$5,
  4844. h: processRelativeTime$5,
  4845. hh: processRelativeTime$5,
  4846. d: processRelativeTime$5,
  4847. dd: processRelativeTime$5,
  4848. M: processRelativeTime$5,
  4849. MM: processRelativeTime$5,
  4850. y: processRelativeTime$5,
  4851. yy: processRelativeTime$5,
  4852. },
  4853. dayOfMonthOrdinalParse: /\d{1,2}(er)/,
  4854. ordinal: function (number, period) {
  4855. switch (period) {
  4856. // the ordinal 'er' only applies to day of the month
  4857. case 'D':
  4858. return number + 'er';
  4859. default:
  4860. case 'M':
  4861. case 'Q':
  4862. case 'DDD':
  4863. case 'd':
  4864. case 'w':
  4865. case 'W':
  4866. return number;
  4867. }
  4868. },
  4869. week: {
  4870. dow: 0, // Sunday is the first day of the week
  4871. doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4)
  4872. },
  4873. meridiemParse: /rati|sokallim|donparam|sanje/,
  4874. meridiemHour: function (hour, meridiem) {
  4875. if (hour === 12) {
  4876. hour = 0;
  4877. }
  4878. if (meridiem === 'rati') {
  4879. return hour < 4 ? hour : hour + 12;
  4880. } else if (meridiem === 'sokallim') {
  4881. return hour;
  4882. } else if (meridiem === 'donparam') {
  4883. return hour > 12 ? hour : hour + 12;
  4884. } else if (meridiem === 'sanje') {
  4885. return hour + 12;
  4886. }
  4887. },
  4888. meridiem: function (hour, minute, isLower) {
  4889. if (hour < 4) {
  4890. return 'rati';
  4891. } else if (hour < 12) {
  4892. return 'sokallim';
  4893. } else if (hour < 16) {
  4894. return 'donparam';
  4895. } else if (hour < 20) {
  4896. return 'sanje';
  4897. } else {
  4898. return 'rati';
  4899. }
  4900. },
  4901. });
  4902. //! moment.js locale configuration
  4903. var symbolMap$7 = {
  4904. 1: '૧',
  4905. 2: '૨',
  4906. 3: '૩',
  4907. 4: '૪',
  4908. 5: '૫',
  4909. 6: '૬',
  4910. 7: '૭',
  4911. 8: '૮',
  4912. 9: '૯',
  4913. 0: '૦',
  4914. },
  4915. numberMap$6 = {
  4916. '૧': '1',
  4917. '૨': '2',
  4918. '૩': '3',
  4919. '૪': '4',
  4920. '૫': '5',
  4921. '૬': '6',
  4922. '૭': '7',
  4923. '૮': '8',
  4924. '૯': '9',
  4925. '૦': '0',
  4926. };
  4927. moment.defineLocale('gu', {
  4928. months: 'જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર'.split(
  4929. '_'
  4930. ),
  4931. monthsShort:
  4932. 'જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.'.split(
  4933. '_'
  4934. ),
  4935. monthsParseExact: true,
  4936. weekdays: 'રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર'.split(
  4937. '_'
  4938. ),
  4939. weekdaysShort: 'રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ'.split('_'),
  4940. weekdaysMin: 'ર_સો_મં_બુ_ગુ_શુ_શ'.split('_'),
  4941. longDateFormat: {
  4942. LT: 'A h:mm વાગ્યે',
  4943. LTS: 'A h:mm:ss વાગ્યે',
  4944. L: 'DD/MM/YYYY',
  4945. LL: 'D MMMM YYYY',
  4946. LLL: 'D MMMM YYYY, A h:mm વાગ્યે',
  4947. LLLL: 'dddd, D MMMM YYYY, A h:mm વાગ્યે',
  4948. },
  4949. calendar: {
  4950. sameDay: '[આજ] LT',
  4951. nextDay: '[કાલે] LT',
  4952. nextWeek: 'dddd, LT',
  4953. lastDay: '[ગઇકાલે] LT',
  4954. lastWeek: '[પાછલા] dddd, LT',
  4955. sameElse: 'L',
  4956. },
  4957. relativeTime: {
  4958. future: '%s મા',
  4959. past: '%s પહેલા',
  4960. s: 'અમુક પળો',
  4961. ss: '%d સેકંડ',
  4962. m: 'એક મિનિટ',
  4963. mm: '%d મિનિટ',
  4964. h: 'એક કલાક',
  4965. hh: '%d કલાક',
  4966. d: 'એક દિવસ',
  4967. dd: '%d દિવસ',
  4968. M: 'એક મહિનો',
  4969. MM: '%d મહિનો',
  4970. y: 'એક વર્ષ',
  4971. yy: '%d વર્ષ',
  4972. },
  4973. preparse: function (string) {
  4974. return string.replace(/[૧૨૩૪૫૬૭૮૯૦]/g, function (match) {
  4975. return numberMap$6[match];
  4976. });
  4977. },
  4978. postformat: function (string) {
  4979. return string.replace(/\d/g, function (match) {
  4980. return symbolMap$7[match];
  4981. });
  4982. },
  4983. // Gujarati notation for meridiems are quite fuzzy in practice. While there exists
  4984. // a rigid notion of a 'Pahar' it is not used as rigidly in modern Gujarati.
  4985. meridiemParse: /રાત|બપોર|સવાર|સાંજ/,
  4986. meridiemHour: function (hour, meridiem) {
  4987. if (hour === 12) {
  4988. hour = 0;
  4989. }
  4990. if (meridiem === 'રાત') {
  4991. return hour < 4 ? hour : hour + 12;
  4992. } else if (meridiem === 'સવાર') {
  4993. return hour;
  4994. } else if (meridiem === 'બપોર') {
  4995. return hour >= 10 ? hour : hour + 12;
  4996. } else if (meridiem === 'સાંજ') {
  4997. return hour + 12;
  4998. }
  4999. },
  5000. meridiem: function (hour, minute, isLower) {
  5001. if (hour < 4) {
  5002. return 'રાત';
  5003. } else if (hour < 10) {
  5004. return 'સવાર';
  5005. } else if (hour < 17) {
  5006. return 'બપોર';
  5007. } else if (hour < 20) {
  5008. return 'સાંજ';
  5009. } else {
  5010. return 'રાત';
  5011. }
  5012. },
  5013. week: {
  5014. dow: 0, // Sunday is the first day of the week.
  5015. doy: 6, // The week that contains Jan 6th is the first week of the year.
  5016. },
  5017. });
  5018. //! moment.js locale configuration
  5019. moment.defineLocale('he', {
  5020. months: 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split(
  5021. '_'
  5022. ),
  5023. monthsShort:
  5024. 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split('_'),
  5025. weekdays: 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'),
  5026. weekdaysShort: 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'),
  5027. weekdaysMin: 'א_ב_ג_ד_ה_ו_ש'.split('_'),
  5028. longDateFormat: {
  5029. LT: 'HH:mm',
  5030. LTS: 'HH:mm:ss',
  5031. L: 'DD/MM/YYYY',
  5032. LL: 'D [ב]MMMM YYYY',
  5033. LLL: 'D [ב]MMMM YYYY HH:mm',
  5034. LLLL: 'dddd, D [ב]MMMM YYYY HH:mm',
  5035. l: 'D/M/YYYY',
  5036. ll: 'D MMM YYYY',
  5037. lll: 'D MMM YYYY HH:mm',
  5038. llll: 'ddd, D MMM YYYY HH:mm',
  5039. },
  5040. calendar: {
  5041. sameDay: '[היום ב־]LT',
  5042. nextDay: '[מחר ב־]LT',
  5043. nextWeek: 'dddd [בשעה] LT',
  5044. lastDay: '[אתמול ב־]LT',
  5045. lastWeek: '[ביום] dddd [האחרון בשעה] LT',
  5046. sameElse: 'L',
  5047. },
  5048. relativeTime: {
  5049. future: 'בעוד %s',
  5050. past: 'לפני %s',
  5051. s: 'מספר שניות',
  5052. ss: '%d שניות',
  5053. m: 'דקה',
  5054. mm: '%d דקות',
  5055. h: 'שעה',
  5056. hh: function (number) {
  5057. if (number === 2) {
  5058. return 'שעתיים';
  5059. }
  5060. return number + ' שעות';
  5061. },
  5062. d: 'יום',
  5063. dd: function (number) {
  5064. if (number === 2) {
  5065. return 'יומיים';
  5066. }
  5067. return number + ' ימים';
  5068. },
  5069. M: 'חודש',
  5070. MM: function (number) {
  5071. if (number === 2) {
  5072. return 'חודשיים';
  5073. }
  5074. return number + ' חודשים';
  5075. },
  5076. y: 'שנה',
  5077. yy: function (number) {
  5078. if (number === 2) {
  5079. return 'שנתיים';
  5080. } else if (number % 10 === 0 && number !== 10) {
  5081. return number + ' שנה';
  5082. }
  5083. return number + ' שנים';
  5084. },
  5085. },
  5086. meridiemParse:
  5087. /אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,
  5088. isPM: function (input) {
  5089. return /^(אחה"צ|אחרי הצהריים|בערב)$/.test(input);
  5090. },
  5091. meridiem: function (hour, minute, isLower) {
  5092. if (hour < 5) {
  5093. return 'לפנות בוקר';
  5094. } else if (hour < 10) {
  5095. return 'בבוקר';
  5096. } else if (hour < 12) {
  5097. return isLower ? 'לפנה"צ' : 'לפני הצהריים';
  5098. } else if (hour < 18) {
  5099. return isLower ? 'אחה"צ' : 'אחרי הצהריים';
  5100. } else {
  5101. return 'בערב';
  5102. }
  5103. },
  5104. });
  5105. //! moment.js locale configuration
  5106. var symbolMap$8 = {
  5107. 1: '१',
  5108. 2: '२',
  5109. 3: '३',
  5110. 4: '४',
  5111. 5: '५',
  5112. 6: '६',
  5113. 7: '७',
  5114. 8: '८',
  5115. 9: '९',
  5116. 0: '०',
  5117. },
  5118. numberMap$7 = {
  5119. '१': '1',
  5120. '२': '2',
  5121. '३': '3',
  5122. '४': '4',
  5123. '५': '5',
  5124. '६': '6',
  5125. '७': '7',
  5126. '८': '8',
  5127. '९': '9',
  5128. '०': '0',
  5129. },
  5130. monthsParse$7 = [
  5131. /^जन/i,
  5132. /^फ़र|फर/i,
  5133. /^मार्च/i,
  5134. /^अप्रै/i,
  5135. /^मई/i,
  5136. /^जून/i,
  5137. /^जुल/i,
  5138. /^अग/i,
  5139. /^सितं|सित/i,
  5140. /^अक्टू/i,
  5141. /^नव|नवं/i,
  5142. /^दिसं|दिस/i,
  5143. ],
  5144. shortMonthsParse = [
  5145. /^जन/i,
  5146. /^फ़र/i,
  5147. /^मार्च/i,
  5148. /^अप्रै/i,
  5149. /^मई/i,
  5150. /^जून/i,
  5151. /^जुल/i,
  5152. /^अग/i,
  5153. /^सित/i,
  5154. /^अक्टू/i,
  5155. /^नव/i,
  5156. /^दिस/i,
  5157. ];
  5158. moment.defineLocale('hi', {
  5159. months: {
  5160. format: 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split(
  5161. '_'
  5162. ),
  5163. standalone:
  5164. 'जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर'.split(
  5165. '_'
  5166. ),
  5167. },
  5168. monthsShort:
  5169. 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split('_'),
  5170. weekdays: 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),
  5171. weekdaysShort: 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'),
  5172. weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'),
  5173. longDateFormat: {
  5174. LT: 'A h:mm बजे',
  5175. LTS: 'A h:mm:ss बजे',
  5176. L: 'DD/MM/YYYY',
  5177. LL: 'D MMMM YYYY',
  5178. LLL: 'D MMMM YYYY, A h:mm बजे',
  5179. LLLL: 'dddd, D MMMM YYYY, A h:mm बजे',
  5180. },
  5181. monthsParse: monthsParse$7,
  5182. longMonthsParse: monthsParse$7,
  5183. shortMonthsParse: shortMonthsParse,
  5184. monthsRegex:
  5185. /^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,
  5186. monthsShortRegex:
  5187. /^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,
  5188. monthsStrictRegex:
  5189. /^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,
  5190. monthsShortStrictRegex:
  5191. /^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,
  5192. calendar: {
  5193. sameDay: '[आज] LT',
  5194. nextDay: '[कल] LT',
  5195. nextWeek: 'dddd, LT',
  5196. lastDay: '[कल] LT',
  5197. lastWeek: '[पिछले] dddd, LT',
  5198. sameElse: 'L',
  5199. },
  5200. relativeTime: {
  5201. future: '%s में',
  5202. past: '%s पहले',
  5203. s: 'कुछ ही क्षण',
  5204. ss: '%d सेकंड',
  5205. m: 'एक मिनट',
  5206. mm: '%d मिनट',
  5207. h: 'एक घंटा',
  5208. hh: '%d घंटे',
  5209. d: 'एक दिन',
  5210. dd: '%d दिन',
  5211. M: 'एक महीने',
  5212. MM: '%d महीने',
  5213. y: 'एक वर्ष',
  5214. yy: '%d वर्ष',
  5215. },
  5216. preparse: function (string) {
  5217. return string.replace(/[१२३४५६७८९०]/g, function (match) {
  5218. return numberMap$7[match];
  5219. });
  5220. },
  5221. postformat: function (string) {
  5222. return string.replace(/\d/g, function (match) {
  5223. return symbolMap$8[match];
  5224. });
  5225. },
  5226. // Hindi notation for meridiems are quite fuzzy in practice. While there exists
  5227. // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi.
  5228. meridiemParse: /रात|सुबह|दोपहर|शाम/,
  5229. meridiemHour: function (hour, meridiem) {
  5230. if (hour === 12) {
  5231. hour = 0;
  5232. }
  5233. if (meridiem === 'रात') {
  5234. return hour < 4 ? hour : hour + 12;
  5235. } else if (meridiem === 'सुबह') {
  5236. return hour;
  5237. } else if (meridiem === 'दोपहर') {
  5238. return hour >= 10 ? hour : hour + 12;
  5239. } else if (meridiem === 'शाम') {
  5240. return hour + 12;
  5241. }
  5242. },
  5243. meridiem: function (hour, minute, isLower) {
  5244. if (hour < 4) {
  5245. return 'रात';
  5246. } else if (hour < 10) {
  5247. return 'सुबह';
  5248. } else if (hour < 17) {
  5249. return 'दोपहर';
  5250. } else if (hour < 20) {
  5251. return 'शाम';
  5252. } else {
  5253. return 'रात';
  5254. }
  5255. },
  5256. week: {
  5257. dow: 0, // Sunday is the first day of the week.
  5258. doy: 6, // The week that contains Jan 6th is the first week of the year.
  5259. },
  5260. });
  5261. //! moment.js locale configuration
  5262. function translate$3(number, withoutSuffix, key) {
  5263. var result = number + ' ';
  5264. switch (key) {
  5265. case 'ss':
  5266. if (number === 1) {
  5267. result += 'sekunda';
  5268. } else if (number === 2 || number === 3 || number === 4) {
  5269. result += 'sekunde';
  5270. } else {
  5271. result += 'sekundi';
  5272. }
  5273. return result;
  5274. case 'm':
  5275. return withoutSuffix ? 'jedna minuta' : 'jedne minute';
  5276. case 'mm':
  5277. if (number === 1) {
  5278. result += 'minuta';
  5279. } else if (number === 2 || number === 3 || number === 4) {
  5280. result += 'minute';
  5281. } else {
  5282. result += 'minuta';
  5283. }
  5284. return result;
  5285. case 'h':
  5286. return withoutSuffix ? 'jedan sat' : 'jednog sata';
  5287. case 'hh':
  5288. if (number === 1) {
  5289. result += 'sat';
  5290. } else if (number === 2 || number === 3 || number === 4) {
  5291. result += 'sata';
  5292. } else {
  5293. result += 'sati';
  5294. }
  5295. return result;
  5296. case 'dd':
  5297. if (number === 1) {
  5298. result += 'dan';
  5299. } else {
  5300. result += 'dana';
  5301. }
  5302. return result;
  5303. case 'MM':
  5304. if (number === 1) {
  5305. result += 'mjesec';
  5306. } else if (number === 2 || number === 3 || number === 4) {
  5307. result += 'mjeseca';
  5308. } else {
  5309. result += 'mjeseci';
  5310. }
  5311. return result;
  5312. case 'yy':
  5313. if (number === 1) {
  5314. result += 'godina';
  5315. } else if (number === 2 || number === 3 || number === 4) {
  5316. result += 'godine';
  5317. } else {
  5318. result += 'godina';
  5319. }
  5320. return result;
  5321. }
  5322. }
  5323. moment.defineLocale('hr', {
  5324. months: {
  5325. format: 'siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split(
  5326. '_'
  5327. ),
  5328. standalone:
  5329. 'siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split(
  5330. '_'
  5331. ),
  5332. },
  5333. monthsShort:
  5334. 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split(
  5335. '_'
  5336. ),
  5337. monthsParseExact: true,
  5338. weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(
  5339. '_'
  5340. ),
  5341. weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
  5342. weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
  5343. weekdaysParseExact: true,
  5344. longDateFormat: {
  5345. LT: 'H:mm',
  5346. LTS: 'H:mm:ss',
  5347. L: 'DD.MM.YYYY',
  5348. LL: 'Do MMMM YYYY',
  5349. LLL: 'Do MMMM YYYY H:mm',
  5350. LLLL: 'dddd, Do MMMM YYYY H:mm',
  5351. },
  5352. calendar: {
  5353. sameDay: '[danas u] LT',
  5354. nextDay: '[sutra u] LT',
  5355. nextWeek: function () {
  5356. switch (this.day()) {
  5357. case 0:
  5358. return '[u] [nedjelju] [u] LT';
  5359. case 3:
  5360. return '[u] [srijedu] [u] LT';
  5361. case 6:
  5362. return '[u] [subotu] [u] LT';
  5363. case 1:
  5364. case 2:
  5365. case 4:
  5366. case 5:
  5367. return '[u] dddd [u] LT';
  5368. }
  5369. },
  5370. lastDay: '[jučer u] LT',
  5371. lastWeek: function () {
  5372. switch (this.day()) {
  5373. case 0:
  5374. return '[prošlu] [nedjelju] [u] LT';
  5375. case 3:
  5376. return '[prošlu] [srijedu] [u] LT';
  5377. case 6:
  5378. return '[prošle] [subote] [u] LT';
  5379. case 1:
  5380. case 2:
  5381. case 4:
  5382. case 5:
  5383. return '[prošli] dddd [u] LT';
  5384. }
  5385. },
  5386. sameElse: 'L',
  5387. },
  5388. relativeTime: {
  5389. future: 'za %s',
  5390. past: 'prije %s',
  5391. s: 'par sekundi',
  5392. ss: translate$3,
  5393. m: translate$3,
  5394. mm: translate$3,
  5395. h: translate$3,
  5396. hh: translate$3,
  5397. d: 'dan',
  5398. dd: translate$3,
  5399. M: 'mjesec',
  5400. MM: translate$3,
  5401. y: 'godinu',
  5402. yy: translate$3,
  5403. },
  5404. dayOfMonthOrdinalParse: /\d{1,2}\./,
  5405. ordinal: '%d.',
  5406. week: {
  5407. dow: 1, // Monday is the first day of the week.
  5408. doy: 7, // The week that contains Jan 7th is the first week of the year.
  5409. },
  5410. });
  5411. //! moment.js locale configuration
  5412. var weekEndings =
  5413. 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(' ');
  5414. function translate$4(number, withoutSuffix, key, isFuture) {
  5415. var num = number;
  5416. switch (key) {
  5417. case 's':
  5418. return isFuture || withoutSuffix
  5419. ? 'néhány másodperc'
  5420. : 'néhány másodperce';
  5421. case 'ss':
  5422. return num + (isFuture || withoutSuffix)
  5423. ? ' másodperc'
  5424. : ' másodperce';
  5425. case 'm':
  5426. return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce');
  5427. case 'mm':
  5428. return num + (isFuture || withoutSuffix ? ' perc' : ' perce');
  5429. case 'h':
  5430. return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája');
  5431. case 'hh':
  5432. return num + (isFuture || withoutSuffix ? ' óra' : ' órája');
  5433. case 'd':
  5434. return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja');
  5435. case 'dd':
  5436. return num + (isFuture || withoutSuffix ? ' nap' : ' napja');
  5437. case 'M':
  5438. return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
  5439. case 'MM':
  5440. return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
  5441. case 'y':
  5442. return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve');
  5443. case 'yy':
  5444. return num + (isFuture || withoutSuffix ? ' év' : ' éve');
  5445. }
  5446. return '';
  5447. }
  5448. function week(isFuture) {
  5449. return (
  5450. (isFuture ? '' : '[múlt] ') +
  5451. '[' +
  5452. weekEndings[this.day()] +
  5453. '] LT[-kor]'
  5454. );
  5455. }
  5456. moment.defineLocale('hu', {
  5457. months: 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split(
  5458. '_'
  5459. ),
  5460. monthsShort:
  5461. 'jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.'.split(
  5462. '_'
  5463. ),
  5464. monthsParseExact: true,
  5465. weekdays: 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split('_'),
  5466. weekdaysShort: 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'),
  5467. weekdaysMin: 'v_h_k_sze_cs_p_szo'.split('_'),
  5468. longDateFormat: {
  5469. LT: 'H:mm',
  5470. LTS: 'H:mm:ss',
  5471. L: 'YYYY.MM.DD.',
  5472. LL: 'YYYY. MMMM D.',
  5473. LLL: 'YYYY. MMMM D. H:mm',
  5474. LLLL: 'YYYY. MMMM D., dddd H:mm',
  5475. },
  5476. meridiemParse: /de|du/i,
  5477. isPM: function (input) {
  5478. return input.charAt(1).toLowerCase() === 'u';
  5479. },
  5480. meridiem: function (hours, minutes, isLower) {
  5481. if (hours < 12) {
  5482. return isLower === true ? 'de' : 'DE';
  5483. } else {
  5484. return isLower === true ? 'du' : 'DU';
  5485. }
  5486. },
  5487. calendar: {
  5488. sameDay: '[ma] LT[-kor]',
  5489. nextDay: '[holnap] LT[-kor]',
  5490. nextWeek: function () {
  5491. return week.call(this, true);
  5492. },
  5493. lastDay: '[tegnap] LT[-kor]',
  5494. lastWeek: function () {
  5495. return week.call(this, false);
  5496. },
  5497. sameElse: 'L',
  5498. },
  5499. relativeTime: {
  5500. future: '%s múlva',
  5501. past: '%s',
  5502. s: translate$4,
  5503. ss: translate$4,
  5504. m: translate$4,
  5505. mm: translate$4,
  5506. h: translate$4,
  5507. hh: translate$4,
  5508. d: translate$4,
  5509. dd: translate$4,
  5510. M: translate$4,
  5511. MM: translate$4,
  5512. y: translate$4,
  5513. yy: translate$4,
  5514. },
  5515. dayOfMonthOrdinalParse: /\d{1,2}\./,
  5516. ordinal: '%d.',
  5517. week: {
  5518. dow: 1, // Monday is the first day of the week.
  5519. doy: 4, // The week that contains Jan 4th is the first week of the year.
  5520. },
  5521. });
  5522. //! moment.js locale configuration
  5523. moment.defineLocale('hy-am', {
  5524. months: {
  5525. format: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split(
  5526. '_'
  5527. ),
  5528. standalone:
  5529. 'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split(
  5530. '_'
  5531. ),
  5532. },
  5533. monthsShort: 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'),
  5534. weekdays:
  5535. 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split(
  5536. '_'
  5537. ),
  5538. weekdaysShort: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
  5539. weekdaysMin: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
  5540. longDateFormat: {
  5541. LT: 'HH:mm',
  5542. LTS: 'HH:mm:ss',
  5543. L: 'DD.MM.YYYY',
  5544. LL: 'D MMMM YYYY թ.',
  5545. LLL: 'D MMMM YYYY թ., HH:mm',
  5546. LLLL: 'dddd, D MMMM YYYY թ., HH:mm',
  5547. },
  5548. calendar: {
  5549. sameDay: '[այսօր] LT',
  5550. nextDay: '[վաղը] LT',
  5551. lastDay: '[երեկ] LT',
  5552. nextWeek: function () {
  5553. return 'dddd [օրը ժամը] LT';
  5554. },
  5555. lastWeek: function () {
  5556. return '[անցած] dddd [օրը ժամը] LT';
  5557. },
  5558. sameElse: 'L',
  5559. },
  5560. relativeTime: {
  5561. future: '%s հետո',
  5562. past: '%s առաջ',
  5563. s: 'մի քանի վայրկյան',
  5564. ss: '%d վայրկյան',
  5565. m: 'րոպե',
  5566. mm: '%d րոպե',
  5567. h: 'ժամ',
  5568. hh: '%d ժամ',
  5569. d: 'օր',
  5570. dd: '%d օր',
  5571. M: 'ամիս',
  5572. MM: '%d ամիս',
  5573. y: 'տարի',
  5574. yy: '%d տարի',
  5575. },
  5576. meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,
  5577. isPM: function (input) {
  5578. return /^(ցերեկվա|երեկոյան)$/.test(input);
  5579. },
  5580. meridiem: function (hour) {
  5581. if (hour < 4) {
  5582. return 'գիշերվա';
  5583. } else if (hour < 12) {
  5584. return 'առավոտվա';
  5585. } else if (hour < 17) {
  5586. return 'ցերեկվա';
  5587. } else {
  5588. return 'երեկոյան';
  5589. }
  5590. },
  5591. dayOfMonthOrdinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/,
  5592. ordinal: function (number, period) {
  5593. switch (period) {
  5594. case 'DDD':
  5595. case 'w':
  5596. case 'W':
  5597. case 'DDDo':
  5598. if (number === 1) {
  5599. return number + '-ին';
  5600. }
  5601. return number + '-րդ';
  5602. default:
  5603. return number;
  5604. }
  5605. },
  5606. week: {
  5607. dow: 1, // Monday is the first day of the week.
  5608. doy: 7, // The week that contains Jan 7th is the first week of the year.
  5609. },
  5610. });
  5611. //! moment.js locale configuration
  5612. moment.defineLocale('id', {
  5613. months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split(
  5614. '_'
  5615. ),
  5616. monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des'.split('_'),
  5617. weekdays: 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'),
  5618. weekdaysShort: 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'),
  5619. weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'),
  5620. longDateFormat: {
  5621. LT: 'HH.mm',
  5622. LTS: 'HH.mm.ss',
  5623. L: 'DD/MM/YYYY',
  5624. LL: 'D MMMM YYYY',
  5625. LLL: 'D MMMM YYYY [pukul] HH.mm',
  5626. LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',
  5627. },
  5628. meridiemParse: /pagi|siang|sore|malam/,
  5629. meridiemHour: function (hour, meridiem) {
  5630. if (hour === 12) {
  5631. hour = 0;
  5632. }
  5633. if (meridiem === 'pagi') {
  5634. return hour;
  5635. } else if (meridiem === 'siang') {
  5636. return hour >= 11 ? hour : hour + 12;
  5637. } else if (meridiem === 'sore' || meridiem === 'malam') {
  5638. return hour + 12;
  5639. }
  5640. },
  5641. meridiem: function (hours, minutes, isLower) {
  5642. if (hours < 11) {
  5643. return 'pagi';
  5644. } else if (hours < 15) {
  5645. return 'siang';
  5646. } else if (hours < 19) {
  5647. return 'sore';
  5648. } else {
  5649. return 'malam';
  5650. }
  5651. },
  5652. calendar: {
  5653. sameDay: '[Hari ini pukul] LT',
  5654. nextDay: '[Besok pukul] LT',
  5655. nextWeek: 'dddd [pukul] LT',
  5656. lastDay: '[Kemarin pukul] LT',
  5657. lastWeek: 'dddd [lalu pukul] LT',
  5658. sameElse: 'L',
  5659. },
  5660. relativeTime: {
  5661. future: 'dalam %s',
  5662. past: '%s yang lalu',
  5663. s: 'beberapa detik',
  5664. ss: '%d detik',
  5665. m: 'semenit',
  5666. mm: '%d menit',
  5667. h: 'sejam',
  5668. hh: '%d jam',
  5669. d: 'sehari',
  5670. dd: '%d hari',
  5671. M: 'sebulan',
  5672. MM: '%d bulan',
  5673. y: 'setahun',
  5674. yy: '%d tahun',
  5675. },
  5676. week: {
  5677. dow: 0, // Sunday is the first day of the week.
  5678. doy: 6, // The week that contains Jan 6th is the first week of the year.
  5679. },
  5680. });
  5681. //! moment.js locale configuration
  5682. function plural$2(n) {
  5683. if (n % 100 === 11) {
  5684. return true;
  5685. } else if (n % 10 === 1) {
  5686. return false;
  5687. }
  5688. return true;
  5689. }
  5690. function translate$5(number, withoutSuffix, key, isFuture) {
  5691. var result = number + ' ';
  5692. switch (key) {
  5693. case 's':
  5694. return withoutSuffix || isFuture
  5695. ? 'nokkrar sekúndur'
  5696. : 'nokkrum sekúndum';
  5697. case 'ss':
  5698. if (plural$2(number)) {
  5699. return (
  5700. result +
  5701. (withoutSuffix || isFuture ? 'sekúndur' : 'sekúndum')
  5702. );
  5703. }
  5704. return result + 'sekúnda';
  5705. case 'm':
  5706. return withoutSuffix ? 'mínúta' : 'mínútu';
  5707. case 'mm':
  5708. if (plural$2(number)) {
  5709. return (
  5710. result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum')
  5711. );
  5712. } else if (withoutSuffix) {
  5713. return result + 'mínúta';
  5714. }
  5715. return result + 'mínútu';
  5716. case 'hh':
  5717. if (plural$2(number)) {
  5718. return (
  5719. result +
  5720. (withoutSuffix || isFuture
  5721. ? 'klukkustundir'
  5722. : 'klukkustundum')
  5723. );
  5724. }
  5725. return result + 'klukkustund';
  5726. case 'd':
  5727. if (withoutSuffix) {
  5728. return 'dagur';
  5729. }
  5730. return isFuture ? 'dag' : 'degi';
  5731. case 'dd':
  5732. if (plural$2(number)) {
  5733. if (withoutSuffix) {
  5734. return result + 'dagar';
  5735. }
  5736. return result + (isFuture ? 'daga' : 'dögum');
  5737. } else if (withoutSuffix) {
  5738. return result + 'dagur';
  5739. }
  5740. return result + (isFuture ? 'dag' : 'degi');
  5741. case 'M':
  5742. if (withoutSuffix) {
  5743. return 'mánuður';
  5744. }
  5745. return isFuture ? 'mánuð' : 'mánuði';
  5746. case 'MM':
  5747. if (plural$2(number)) {
  5748. if (withoutSuffix) {
  5749. return result + 'mánuðir';
  5750. }
  5751. return result + (isFuture ? 'mánuði' : 'mánuðum');
  5752. } else if (withoutSuffix) {
  5753. return result + 'mánuður';
  5754. }
  5755. return result + (isFuture ? 'mánuð' : 'mánuði');
  5756. case 'y':
  5757. return withoutSuffix || isFuture ? 'ár' : 'ári';
  5758. case 'yy':
  5759. if (plural$2(number)) {
  5760. return result + (withoutSuffix || isFuture ? 'ár' : 'árum');
  5761. }
  5762. return result + (withoutSuffix || isFuture ? 'ár' : 'ári');
  5763. }
  5764. }
  5765. moment.defineLocale('is', {
  5766. months: 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split(
  5767. '_'
  5768. ),
  5769. monthsShort: 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'),
  5770. weekdays:
  5771. 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split(
  5772. '_'
  5773. ),
  5774. weekdaysShort: 'sun_mán_þri_mið_fim_fös_lau'.split('_'),
  5775. weekdaysMin: 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'),
  5776. longDateFormat: {
  5777. LT: 'H:mm',
  5778. LTS: 'H:mm:ss',
  5779. L: 'DD.MM.YYYY',
  5780. LL: 'D. MMMM YYYY',
  5781. LLL: 'D. MMMM YYYY [kl.] H:mm',
  5782. LLLL: 'dddd, D. MMMM YYYY [kl.] H:mm',
  5783. },
  5784. calendar: {
  5785. sameDay: '[í dag kl.] LT',
  5786. nextDay: '[á morgun kl.] LT',
  5787. nextWeek: 'dddd [kl.] LT',
  5788. lastDay: '[í gær kl.] LT',
  5789. lastWeek: '[síðasta] dddd [kl.] LT',
  5790. sameElse: 'L',
  5791. },
  5792. relativeTime: {
  5793. future: 'eftir %s',
  5794. past: 'fyrir %s síðan',
  5795. s: translate$5,
  5796. ss: translate$5,
  5797. m: translate$5,
  5798. mm: translate$5,
  5799. h: 'klukkustund',
  5800. hh: translate$5,
  5801. d: translate$5,
  5802. dd: translate$5,
  5803. M: translate$5,
  5804. MM: translate$5,
  5805. y: translate$5,
  5806. yy: translate$5,
  5807. },
  5808. dayOfMonthOrdinalParse: /\d{1,2}\./,
  5809. ordinal: '%d.',
  5810. week: {
  5811. dow: 1, // Monday is the first day of the week.
  5812. doy: 4, // The week that contains Jan 4th is the first week of the year.
  5813. },
  5814. });
  5815. //! moment.js locale configuration
  5816. moment.defineLocale('it-ch', {
  5817. months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split(
  5818. '_'
  5819. ),
  5820. monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
  5821. weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split(
  5822. '_'
  5823. ),
  5824. weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),
  5825. weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),
  5826. longDateFormat: {
  5827. LT: 'HH:mm',
  5828. LTS: 'HH:mm:ss',
  5829. L: 'DD.MM.YYYY',
  5830. LL: 'D MMMM YYYY',
  5831. LLL: 'D MMMM YYYY HH:mm',
  5832. LLLL: 'dddd D MMMM YYYY HH:mm',
  5833. },
  5834. calendar: {
  5835. sameDay: '[Oggi alle] LT',
  5836. nextDay: '[Domani alle] LT',
  5837. nextWeek: 'dddd [alle] LT',
  5838. lastDay: '[Ieri alle] LT',
  5839. lastWeek: function () {
  5840. switch (this.day()) {
  5841. case 0:
  5842. return '[la scorsa] dddd [alle] LT';
  5843. default:
  5844. return '[lo scorso] dddd [alle] LT';
  5845. }
  5846. },
  5847. sameElse: 'L',
  5848. },
  5849. relativeTime: {
  5850. future: function (s) {
  5851. return (/^[0-9].+$/.test(s) ? 'tra' : 'in') + ' ' + s;
  5852. },
  5853. past: '%s fa',
  5854. s: 'alcuni secondi',
  5855. ss: '%d secondi',
  5856. m: 'un minuto',
  5857. mm: '%d minuti',
  5858. h: "un'ora",
  5859. hh: '%d ore',
  5860. d: 'un giorno',
  5861. dd: '%d giorni',
  5862. M: 'un mese',
  5863. MM: '%d mesi',
  5864. y: 'un anno',
  5865. yy: '%d anni',
  5866. },
  5867. dayOfMonthOrdinalParse: /\d{1,2}º/,
  5868. ordinal: '%dº',
  5869. week: {
  5870. dow: 1, // Monday is the first day of the week.
  5871. doy: 4, // The week that contains Jan 4th is the first week of the year.
  5872. },
  5873. });
  5874. //! moment.js locale configuration
  5875. moment.defineLocale('it', {
  5876. months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split(
  5877. '_'
  5878. ),
  5879. monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
  5880. weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split(
  5881. '_'
  5882. ),
  5883. weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),
  5884. weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),
  5885. longDateFormat: {
  5886. LT: 'HH:mm',
  5887. LTS: 'HH:mm:ss',
  5888. L: 'DD/MM/YYYY',
  5889. LL: 'D MMMM YYYY',
  5890. LLL: 'D MMMM YYYY HH:mm',
  5891. LLLL: 'dddd D MMMM YYYY HH:mm',
  5892. },
  5893. calendar: {
  5894. sameDay: function () {
  5895. return (
  5896. '[Oggi a' +
  5897. (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
  5898. ']LT'
  5899. );
  5900. },
  5901. nextDay: function () {
  5902. return (
  5903. '[Domani a' +
  5904. (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
  5905. ']LT'
  5906. );
  5907. },
  5908. nextWeek: function () {
  5909. return (
  5910. 'dddd [a' +
  5911. (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
  5912. ']LT'
  5913. );
  5914. },
  5915. lastDay: function () {
  5916. return (
  5917. '[Ieri a' +
  5918. (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
  5919. ']LT'
  5920. );
  5921. },
  5922. lastWeek: function () {
  5923. switch (this.day()) {
  5924. case 0:
  5925. return (
  5926. '[La scorsa] dddd [a' +
  5927. (this.hours() > 1
  5928. ? 'lle '
  5929. : this.hours() === 0
  5930. ? ' '
  5931. : "ll'") +
  5932. ']LT'
  5933. );
  5934. default:
  5935. return (
  5936. '[Lo scorso] dddd [a' +
  5937. (this.hours() > 1
  5938. ? 'lle '
  5939. : this.hours() === 0
  5940. ? ' '
  5941. : "ll'") +
  5942. ']LT'
  5943. );
  5944. }
  5945. },
  5946. sameElse: 'L',
  5947. },
  5948. relativeTime: {
  5949. future: 'tra %s',
  5950. past: '%s fa',
  5951. s: 'alcuni secondi',
  5952. ss: '%d secondi',
  5953. m: 'un minuto',
  5954. mm: '%d minuti',
  5955. h: "un'ora",
  5956. hh: '%d ore',
  5957. d: 'un giorno',
  5958. dd: '%d giorni',
  5959. w: 'una settimana',
  5960. ww: '%d settimane',
  5961. M: 'un mese',
  5962. MM: '%d mesi',
  5963. y: 'un anno',
  5964. yy: '%d anni',
  5965. },
  5966. dayOfMonthOrdinalParse: /\d{1,2}º/,
  5967. ordinal: '%dº',
  5968. week: {
  5969. dow: 1, // Monday is the first day of the week.
  5970. doy: 4, // The week that contains Jan 4th is the first week of the year.
  5971. },
  5972. });
  5973. //! moment.js locale configuration
  5974. moment.defineLocale('ja', {
  5975. eras: [
  5976. {
  5977. since: '2019-05-01',
  5978. offset: 1,
  5979. name: '令和',
  5980. narrow: '㋿',
  5981. abbr: 'R',
  5982. },
  5983. {
  5984. since: '1989-01-08',
  5985. until: '2019-04-30',
  5986. offset: 1,
  5987. name: '平成',
  5988. narrow: '㍻',
  5989. abbr: 'H',
  5990. },
  5991. {
  5992. since: '1926-12-25',
  5993. until: '1989-01-07',
  5994. offset: 1,
  5995. name: '昭和',
  5996. narrow: '㍼',
  5997. abbr: 'S',
  5998. },
  5999. {
  6000. since: '1912-07-30',
  6001. until: '1926-12-24',
  6002. offset: 1,
  6003. name: '大正',
  6004. narrow: '㍽',
  6005. abbr: 'T',
  6006. },
  6007. {
  6008. since: '1873-01-01',
  6009. until: '1912-07-29',
  6010. offset: 6,
  6011. name: '明治',
  6012. narrow: '㍾',
  6013. abbr: 'M',
  6014. },
  6015. {
  6016. since: '0001-01-01',
  6017. until: '1873-12-31',
  6018. offset: 1,
  6019. name: '西暦',
  6020. narrow: 'AD',
  6021. abbr: 'AD',
  6022. },
  6023. {
  6024. since: '0000-12-31',
  6025. until: -Infinity,
  6026. offset: 1,
  6027. name: '紀元前',
  6028. narrow: 'BC',
  6029. abbr: 'BC',
  6030. },
  6031. ],
  6032. eraYearOrdinalRegex: /(元|\d+)年/,
  6033. eraYearOrdinalParse: function (input, match) {
  6034. return match[1] === '元' ? 1 : parseInt(match[1] || input, 10);
  6035. },
  6036. months: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
  6037. monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
  6038. '_'
  6039. ),
  6040. weekdays: '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'),
  6041. weekdaysShort: '日_月_火_水_木_金_土'.split('_'),
  6042. weekdaysMin: '日_月_火_水_木_金_土'.split('_'),
  6043. longDateFormat: {
  6044. LT: 'HH:mm',
  6045. LTS: 'HH:mm:ss',
  6046. L: 'YYYY/MM/DD',
  6047. LL: 'YYYY年M月D日',
  6048. LLL: 'YYYY年M月D日 HH:mm',
  6049. LLLL: 'YYYY年M月D日 dddd HH:mm',
  6050. l: 'YYYY/MM/DD',
  6051. ll: 'YYYY年M月D日',
  6052. lll: 'YYYY年M月D日 HH:mm',
  6053. llll: 'YYYY年M月D日(ddd) HH:mm',
  6054. },
  6055. meridiemParse: /午前|午後/i,
  6056. isPM: function (input) {
  6057. return input === '午後';
  6058. },
  6059. meridiem: function (hour, minute, isLower) {
  6060. if (hour < 12) {
  6061. return '午前';
  6062. } else {
  6063. return '午後';
  6064. }
  6065. },
  6066. calendar: {
  6067. sameDay: '[今日] LT',
  6068. nextDay: '[明日] LT',
  6069. nextWeek: function (now) {
  6070. if (now.week() !== this.week()) {
  6071. return '[来週]dddd LT';
  6072. } else {
  6073. return 'dddd LT';
  6074. }
  6075. },
  6076. lastDay: '[昨日] LT',
  6077. lastWeek: function (now) {
  6078. if (this.week() !== now.week()) {
  6079. return '[先週]dddd LT';
  6080. } else {
  6081. return 'dddd LT';
  6082. }
  6083. },
  6084. sameElse: 'L',
  6085. },
  6086. dayOfMonthOrdinalParse: /\d{1,2}日/,
  6087. ordinal: function (number, period) {
  6088. switch (period) {
  6089. case 'y':
  6090. return number === 1 ? '元年' : number + '年';
  6091. case 'd':
  6092. case 'D':
  6093. case 'DDD':
  6094. return number + '日';
  6095. default:
  6096. return number;
  6097. }
  6098. },
  6099. relativeTime: {
  6100. future: '%s後',
  6101. past: '%s前',
  6102. s: '数秒',
  6103. ss: '%d秒',
  6104. m: '1分',
  6105. mm: '%d分',
  6106. h: '1時間',
  6107. hh: '%d時間',
  6108. d: '1日',
  6109. dd: '%d日',
  6110. M: '1ヶ月',
  6111. MM: '%dヶ月',
  6112. y: '1年',
  6113. yy: '%d年',
  6114. },
  6115. });
  6116. //! moment.js locale configuration
  6117. moment.defineLocale('jv', {
  6118. months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split(
  6119. '_'
  6120. ),
  6121. monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'),
  6122. weekdays: 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'),
  6123. weekdaysShort: 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'),
  6124. weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'),
  6125. longDateFormat: {
  6126. LT: 'HH.mm',
  6127. LTS: 'HH.mm.ss',
  6128. L: 'DD/MM/YYYY',
  6129. LL: 'D MMMM YYYY',
  6130. LLL: 'D MMMM YYYY [pukul] HH.mm',
  6131. LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',
  6132. },
  6133. meridiemParse: /enjing|siyang|sonten|ndalu/,
  6134. meridiemHour: function (hour, meridiem) {
  6135. if (hour === 12) {
  6136. hour = 0;
  6137. }
  6138. if (meridiem === 'enjing') {
  6139. return hour;
  6140. } else if (meridiem === 'siyang') {
  6141. return hour >= 11 ? hour : hour + 12;
  6142. } else if (meridiem === 'sonten' || meridiem === 'ndalu') {
  6143. return hour + 12;
  6144. }
  6145. },
  6146. meridiem: function (hours, minutes, isLower) {
  6147. if (hours < 11) {
  6148. return 'enjing';
  6149. } else if (hours < 15) {
  6150. return 'siyang';
  6151. } else if (hours < 19) {
  6152. return 'sonten';
  6153. } else {
  6154. return 'ndalu';
  6155. }
  6156. },
  6157. calendar: {
  6158. sameDay: '[Dinten puniko pukul] LT',
  6159. nextDay: '[Mbenjang pukul] LT',
  6160. nextWeek: 'dddd [pukul] LT',
  6161. lastDay: '[Kala wingi pukul] LT',
  6162. lastWeek: 'dddd [kepengker pukul] LT',
  6163. sameElse: 'L',
  6164. },
  6165. relativeTime: {
  6166. future: 'wonten ing %s',
  6167. past: '%s ingkang kepengker',
  6168. s: 'sawetawis detik',
  6169. ss: '%d detik',
  6170. m: 'setunggal menit',
  6171. mm: '%d menit',
  6172. h: 'setunggal jam',
  6173. hh: '%d jam',
  6174. d: 'sedinten',
  6175. dd: '%d dinten',
  6176. M: 'sewulan',
  6177. MM: '%d wulan',
  6178. y: 'setaun',
  6179. yy: '%d taun',
  6180. },
  6181. week: {
  6182. dow: 1, // Monday is the first day of the week.
  6183. doy: 7, // The week that contains Jan 7th is the first week of the year.
  6184. },
  6185. });
  6186. //! moment.js locale configuration
  6187. moment.defineLocale('ka', {
  6188. months: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split(
  6189. '_'
  6190. ),
  6191. monthsShort: 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'),
  6192. weekdays: {
  6193. standalone:
  6194. 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split(
  6195. '_'
  6196. ),
  6197. format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split(
  6198. '_'
  6199. ),
  6200. isFormat: /(წინა|შემდეგ)/,
  6201. },
  6202. weekdaysShort: 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'),
  6203. weekdaysMin: 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'),
  6204. longDateFormat: {
  6205. LT: 'HH:mm',
  6206. LTS: 'HH:mm:ss',
  6207. L: 'DD/MM/YYYY',
  6208. LL: 'D MMMM YYYY',
  6209. LLL: 'D MMMM YYYY HH:mm',
  6210. LLLL: 'dddd, D MMMM YYYY HH:mm',
  6211. },
  6212. calendar: {
  6213. sameDay: '[დღეს] LT[-ზე]',
  6214. nextDay: '[ხვალ] LT[-ზე]',
  6215. lastDay: '[გუშინ] LT[-ზე]',
  6216. nextWeek: '[შემდეგ] dddd LT[-ზე]',
  6217. lastWeek: '[წინა] dddd LT-ზე',
  6218. sameElse: 'L',
  6219. },
  6220. relativeTime: {
  6221. future: function (s) {
  6222. return s.replace(
  6223. /(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,
  6224. function ($0, $1, $2) {
  6225. return $2 === 'ი' ? $1 + 'ში' : $1 + $2 + 'ში';
  6226. }
  6227. );
  6228. },
  6229. past: function (s) {
  6230. if (/(წამი|წუთი|საათი|დღე|თვე)/.test(s)) {
  6231. return s.replace(/(ი|ე)$/, 'ის წინ');
  6232. }
  6233. if (/წელი/.test(s)) {
  6234. return s.replace(/წელი$/, 'წლის წინ');
  6235. }
  6236. return s;
  6237. },
  6238. s: 'რამდენიმე წამი',
  6239. ss: '%d წამი',
  6240. m: 'წუთი',
  6241. mm: '%d წუთი',
  6242. h: 'საათი',
  6243. hh: '%d საათი',
  6244. d: 'დღე',
  6245. dd: '%d დღე',
  6246. M: 'თვე',
  6247. MM: '%d თვე',
  6248. y: 'წელი',
  6249. yy: '%d წელი',
  6250. },
  6251. dayOfMonthOrdinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,
  6252. ordinal: function (number) {
  6253. if (number === 0) {
  6254. return number;
  6255. }
  6256. if (number === 1) {
  6257. return number + '-ლი';
  6258. }
  6259. if (
  6260. number < 20 ||
  6261. (number <= 100 && number % 20 === 0) ||
  6262. number % 100 === 0
  6263. ) {
  6264. return 'მე-' + number;
  6265. }
  6266. return number + '-ე';
  6267. },
  6268. week: {
  6269. dow: 1,
  6270. doy: 7,
  6271. },
  6272. });
  6273. //! moment.js locale configuration
  6274. var suffixes$1 = {
  6275. 0: '-ші',
  6276. 1: '-ші',
  6277. 2: '-ші',
  6278. 3: '-ші',
  6279. 4: '-ші',
  6280. 5: '-ші',
  6281. 6: '-шы',
  6282. 7: '-ші',
  6283. 8: '-ші',
  6284. 9: '-шы',
  6285. 10: '-шы',
  6286. 20: '-шы',
  6287. 30: '-шы',
  6288. 40: '-шы',
  6289. 50: '-ші',
  6290. 60: '-шы',
  6291. 70: '-ші',
  6292. 80: '-ші',
  6293. 90: '-шы',
  6294. 100: '-ші',
  6295. };
  6296. moment.defineLocale('kk', {
  6297. months: 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split(
  6298. '_'
  6299. ),
  6300. monthsShort: 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'),
  6301. weekdays: 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split(
  6302. '_'
  6303. ),
  6304. weekdaysShort: 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'),
  6305. weekdaysMin: 'жк_дй_сй_ср_бй_жм_сн'.split('_'),
  6306. longDateFormat: {
  6307. LT: 'HH:mm',
  6308. LTS: 'HH:mm:ss',
  6309. L: 'DD.MM.YYYY',
  6310. LL: 'D MMMM YYYY',
  6311. LLL: 'D MMMM YYYY HH:mm',
  6312. LLLL: 'dddd, D MMMM YYYY HH:mm',
  6313. },
  6314. calendar: {
  6315. sameDay: '[Бүгін сағат] LT',
  6316. nextDay: '[Ертең сағат] LT',
  6317. nextWeek: 'dddd [сағат] LT',
  6318. lastDay: '[Кеше сағат] LT',
  6319. lastWeek: '[Өткен аптаның] dddd [сағат] LT',
  6320. sameElse: 'L',
  6321. },
  6322. relativeTime: {
  6323. future: '%s ішінде',
  6324. past: '%s бұрын',
  6325. s: 'бірнеше секунд',
  6326. ss: '%d секунд',
  6327. m: 'бір минут',
  6328. mm: '%d минут',
  6329. h: 'бір сағат',
  6330. hh: '%d сағат',
  6331. d: 'бір күн',
  6332. dd: '%d күн',
  6333. M: 'бір ай',
  6334. MM: '%d ай',
  6335. y: 'бір жыл',
  6336. yy: '%d жыл',
  6337. },
  6338. dayOfMonthOrdinalParse: /\d{1,2}-(ші|шы)/,
  6339. ordinal: function (number) {
  6340. var a = number % 10,
  6341. b = number >= 100 ? 100 : null;
  6342. return number + (suffixes$1[number] || suffixes$1[a] || suffixes$1[b]);
  6343. },
  6344. week: {
  6345. dow: 1, // Monday is the first day of the week.
  6346. doy: 7, // The week that contains Jan 7th is the first week of the year.
  6347. },
  6348. });
  6349. //! moment.js locale configuration
  6350. var symbolMap$9 = {
  6351. 1: '១',
  6352. 2: '២',
  6353. 3: '៣',
  6354. 4: '៤',
  6355. 5: '៥',
  6356. 6: '៦',
  6357. 7: '៧',
  6358. 8: '៨',
  6359. 9: '៩',
  6360. 0: '០',
  6361. },
  6362. numberMap$8 = {
  6363. '១': '1',
  6364. '២': '2',
  6365. '៣': '3',
  6366. '៤': '4',
  6367. '៥': '5',
  6368. '៦': '6',
  6369. '៧': '7',
  6370. '៨': '8',
  6371. '៩': '9',
  6372. '០': '0',
  6373. };
  6374. moment.defineLocale('km', {
  6375. months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split(
  6376. '_'
  6377. ),
  6378. monthsShort:
  6379. 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split(
  6380. '_'
  6381. ),
  6382. weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
  6383. weekdaysShort: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),
  6384. weekdaysMin: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),
  6385. weekdaysParseExact: true,
  6386. longDateFormat: {
  6387. LT: 'HH:mm',
  6388. LTS: 'HH:mm:ss',
  6389. L: 'DD/MM/YYYY',
  6390. LL: 'D MMMM YYYY',
  6391. LLL: 'D MMMM YYYY HH:mm',
  6392. LLLL: 'dddd, D MMMM YYYY HH:mm',
  6393. },
  6394. meridiemParse: /ព្រឹក|ល្ងាច/,
  6395. isPM: function (input) {
  6396. return input === 'ល្ងាច';
  6397. },
  6398. meridiem: function (hour, minute, isLower) {
  6399. if (hour < 12) {
  6400. return 'ព្រឹក';
  6401. } else {
  6402. return 'ល្ងាច';
  6403. }
  6404. },
  6405. calendar: {
  6406. sameDay: '[ថ្ងៃនេះ ម៉ោង] LT',
  6407. nextDay: '[ស្អែក ម៉ោង] LT',
  6408. nextWeek: 'dddd [ម៉ោង] LT',
  6409. lastDay: '[ម្សិលមិញ ម៉ោង] LT',
  6410. lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT',
  6411. sameElse: 'L',
  6412. },
  6413. relativeTime: {
  6414. future: '%sទៀត',
  6415. past: '%sមុន',
  6416. s: 'ប៉ុន្មានវិនាទី',
  6417. ss: '%d វិនាទី',
  6418. m: 'មួយនាទី',
  6419. mm: '%d នាទី',
  6420. h: 'មួយម៉ោង',
  6421. hh: '%d ម៉ោង',
  6422. d: 'មួយថ្ងៃ',
  6423. dd: '%d ថ្ងៃ',
  6424. M: 'មួយខែ',
  6425. MM: '%d ខែ',
  6426. y: 'មួយឆ្នាំ',
  6427. yy: '%d ឆ្នាំ',
  6428. },
  6429. dayOfMonthOrdinalParse: /ទី\d{1,2}/,
  6430. ordinal: 'ទី%d',
  6431. preparse: function (string) {
  6432. return string.replace(/[១២៣៤៥៦៧៨៩០]/g, function (match) {
  6433. return numberMap$8[match];
  6434. });
  6435. },
  6436. postformat: function (string) {
  6437. return string.replace(/\d/g, function (match) {
  6438. return symbolMap$9[match];
  6439. });
  6440. },
  6441. week: {
  6442. dow: 1, // Monday is the first day of the week.
  6443. doy: 4, // The week that contains Jan 4th is the first week of the year.
  6444. },
  6445. });
  6446. //! moment.js locale configuration
  6447. var symbolMap$a = {
  6448. 1: '೧',
  6449. 2: '೨',
  6450. 3: '೩',
  6451. 4: '೪',
  6452. 5: '೫',
  6453. 6: '೬',
  6454. 7: '೭',
  6455. 8: '೮',
  6456. 9: '೯',
  6457. 0: '೦',
  6458. },
  6459. numberMap$9 = {
  6460. '೧': '1',
  6461. '೨': '2',
  6462. '೩': '3',
  6463. '೪': '4',
  6464. '೫': '5',
  6465. '೬': '6',
  6466. '೭': '7',
  6467. '೮': '8',
  6468. '೯': '9',
  6469. '೦': '0',
  6470. };
  6471. moment.defineLocale('kn', {
  6472. months: 'ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್'.split(
  6473. '_'
  6474. ),
  6475. monthsShort:
  6476. 'ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ'.split(
  6477. '_'
  6478. ),
  6479. monthsParseExact: true,
  6480. weekdays: 'ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ'.split(
  6481. '_'
  6482. ),
  6483. weekdaysShort: 'ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ'.split('_'),
  6484. weekdaysMin: 'ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ'.split('_'),
  6485. longDateFormat: {
  6486. LT: 'A h:mm',
  6487. LTS: 'A h:mm:ss',
  6488. L: 'DD/MM/YYYY',
  6489. LL: 'D MMMM YYYY',
  6490. LLL: 'D MMMM YYYY, A h:mm',
  6491. LLLL: 'dddd, D MMMM YYYY, A h:mm',
  6492. },
  6493. calendar: {
  6494. sameDay: '[ಇಂದು] LT',
  6495. nextDay: '[ನಾಳೆ] LT',
  6496. nextWeek: 'dddd, LT',
  6497. lastDay: '[ನಿನ್ನೆ] LT',
  6498. lastWeek: '[ಕೊನೆಯ] dddd, LT',
  6499. sameElse: 'L',
  6500. },
  6501. relativeTime: {
  6502. future: '%s ನಂತರ',
  6503. past: '%s ಹಿಂದೆ',
  6504. s: 'ಕೆಲವು ಕ್ಷಣಗಳು',
  6505. ss: '%d ಸೆಕೆಂಡುಗಳು',
  6506. m: 'ಒಂದು ನಿಮಿಷ',
  6507. mm: '%d ನಿಮಿಷ',
  6508. h: 'ಒಂದು ಗಂಟೆ',
  6509. hh: '%d ಗಂಟೆ',
  6510. d: 'ಒಂದು ದಿನ',
  6511. dd: '%d ದಿನ',
  6512. M: 'ಒಂದು ತಿಂಗಳು',
  6513. MM: '%d ತಿಂಗಳು',
  6514. y: 'ಒಂದು ವರ್ಷ',
  6515. yy: '%d ವರ್ಷ',
  6516. },
  6517. preparse: function (string) {
  6518. return string.replace(/[೧೨೩೪೫೬೭೮೯೦]/g, function (match) {
  6519. return numberMap$9[match];
  6520. });
  6521. },
  6522. postformat: function (string) {
  6523. return string.replace(/\d/g, function (match) {
  6524. return symbolMap$a[match];
  6525. });
  6526. },
  6527. meridiemParse: /ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,
  6528. meridiemHour: function (hour, meridiem) {
  6529. if (hour === 12) {
  6530. hour = 0;
  6531. }
  6532. if (meridiem === 'ರಾತ್ರಿ') {
  6533. return hour < 4 ? hour : hour + 12;
  6534. } else if (meridiem === 'ಬೆಳಿಗ್ಗೆ') {
  6535. return hour;
  6536. } else if (meridiem === 'ಮಧ್ಯಾಹ್ನ') {
  6537. return hour >= 10 ? hour : hour + 12;
  6538. } else if (meridiem === 'ಸಂಜೆ') {
  6539. return hour + 12;
  6540. }
  6541. },
  6542. meridiem: function (hour, minute, isLower) {
  6543. if (hour < 4) {
  6544. return 'ರಾತ್ರಿ';
  6545. } else if (hour < 10) {
  6546. return 'ಬೆಳಿಗ್ಗೆ';
  6547. } else if (hour < 17) {
  6548. return 'ಮಧ್ಯಾಹ್ನ';
  6549. } else if (hour < 20) {
  6550. return 'ಸಂಜೆ';
  6551. } else {
  6552. return 'ರಾತ್ರಿ';
  6553. }
  6554. },
  6555. dayOfMonthOrdinalParse: /\d{1,2}(ನೇ)/,
  6556. ordinal: function (number) {
  6557. return number + 'ನೇ';
  6558. },
  6559. week: {
  6560. dow: 0, // Sunday is the first day of the week.
  6561. doy: 6, // The week that contains Jan 6th is the first week of the year.
  6562. },
  6563. });
  6564. //! moment.js locale configuration
  6565. moment.defineLocale('ko', {
  6566. months: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
  6567. monthsShort: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split(
  6568. '_'
  6569. ),
  6570. weekdays: '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'),
  6571. weekdaysShort: '일_월_화_수_목_금_토'.split('_'),
  6572. weekdaysMin: '일_월_화_수_목_금_토'.split('_'),
  6573. longDateFormat: {
  6574. LT: 'A h:mm',
  6575. LTS: 'A h:mm:ss',
  6576. L: 'YYYY.MM.DD.',
  6577. LL: 'YYYY년 MMMM D일',
  6578. LLL: 'YYYY년 MMMM D일 A h:mm',
  6579. LLLL: 'YYYY년 MMMM D일 dddd A h:mm',
  6580. l: 'YYYY.MM.DD.',
  6581. ll: 'YYYY년 MMMM D일',
  6582. lll: 'YYYY년 MMMM D일 A h:mm',
  6583. llll: 'YYYY년 MMMM D일 dddd A h:mm',
  6584. },
  6585. calendar: {
  6586. sameDay: '오늘 LT',
  6587. nextDay: '내일 LT',
  6588. nextWeek: 'dddd LT',
  6589. lastDay: '어제 LT',
  6590. lastWeek: '지난주 dddd LT',
  6591. sameElse: 'L',
  6592. },
  6593. relativeTime: {
  6594. future: '%s 후',
  6595. past: '%s 전',
  6596. s: '몇 초',
  6597. ss: '%d초',
  6598. m: '1분',
  6599. mm: '%d분',
  6600. h: '한 시간',
  6601. hh: '%d시간',
  6602. d: '하루',
  6603. dd: '%d일',
  6604. M: '한 달',
  6605. MM: '%d달',
  6606. y: '일 년',
  6607. yy: '%d년',
  6608. },
  6609. dayOfMonthOrdinalParse: /\d{1,2}(일|월|주)/,
  6610. ordinal: function (number, period) {
  6611. switch (period) {
  6612. case 'd':
  6613. case 'D':
  6614. case 'DDD':
  6615. return number + '일';
  6616. case 'M':
  6617. return number + '월';
  6618. case 'w':
  6619. case 'W':
  6620. return number + '주';
  6621. default:
  6622. return number;
  6623. }
  6624. },
  6625. meridiemParse: /오전|오후/,
  6626. isPM: function (token) {
  6627. return token === '오후';
  6628. },
  6629. meridiem: function (hour, minute, isUpper) {
  6630. return hour < 12 ? '오전' : '오후';
  6631. },
  6632. });
  6633. //! moment.js locale configuration
  6634. var symbolMap$b = {
  6635. 1: '١',
  6636. 2: '٢',
  6637. 3: '٣',
  6638. 4: '٤',
  6639. 5: '٥',
  6640. 6: '٦',
  6641. 7: '٧',
  6642. 8: '٨',
  6643. 9: '٩',
  6644. 0: '٠',
  6645. },
  6646. numberMap$a = {
  6647. '١': '1',
  6648. '٢': '2',
  6649. '٣': '3',
  6650. '٤': '4',
  6651. '٥': '5',
  6652. '٦': '6',
  6653. '٧': '7',
  6654. '٨': '8',
  6655. '٩': '9',
  6656. '٠': '0',
  6657. },
  6658. months$7 = [
  6659. 'کانونی دووەم',
  6660. 'شوبات',
  6661. 'ئازار',
  6662. 'نیسان',
  6663. 'ئایار',
  6664. 'حوزەیران',
  6665. 'تەمموز',
  6666. 'ئاب',
  6667. 'ئەیلوول',
  6668. 'تشرینی یەكەم',
  6669. 'تشرینی دووەم',
  6670. 'كانونی یەکەم',
  6671. ];
  6672. moment.defineLocale('ku', {
  6673. months: months$7,
  6674. monthsShort: months$7,
  6675. weekdays:
  6676. 'یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌'.split(
  6677. '_'
  6678. ),
  6679. weekdaysShort:
  6680. 'یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌'.split('_'),
  6681. weekdaysMin: 'ی_د_س_چ_پ_ه_ش'.split('_'),
  6682. weekdaysParseExact: true,
  6683. longDateFormat: {
  6684. LT: 'HH:mm',
  6685. LTS: 'HH:mm:ss',
  6686. L: 'DD/MM/YYYY',
  6687. LL: 'D MMMM YYYY',
  6688. LLL: 'D MMMM YYYY HH:mm',
  6689. LLLL: 'dddd, D MMMM YYYY HH:mm',
  6690. },
  6691. meridiemParse: /ئێواره‌|به‌یانی/,
  6692. isPM: function (input) {
  6693. return /ئێواره‌/.test(input);
  6694. },
  6695. meridiem: function (hour, minute, isLower) {
  6696. if (hour < 12) {
  6697. return 'به‌یانی';
  6698. } else {
  6699. return 'ئێواره‌';
  6700. }
  6701. },
  6702. calendar: {
  6703. sameDay: '[ئه‌مرۆ كاتژمێر] LT',
  6704. nextDay: '[به‌یانی كاتژمێر] LT',
  6705. nextWeek: 'dddd [كاتژمێر] LT',
  6706. lastDay: '[دوێنێ كاتژمێر] LT',
  6707. lastWeek: 'dddd [كاتژمێر] LT',
  6708. sameElse: 'L',
  6709. },
  6710. relativeTime: {
  6711. future: 'له‌ %s',
  6712. past: '%s',
  6713. s: 'چه‌ند چركه‌یه‌ك',
  6714. ss: 'چركه‌ %d',
  6715. m: 'یه‌ك خوله‌ك',
  6716. mm: '%d خوله‌ك',
  6717. h: 'یه‌ك كاتژمێر',
  6718. hh: '%d كاتژمێر',
  6719. d: 'یه‌ك ڕۆژ',
  6720. dd: '%d ڕۆژ',
  6721. M: 'یه‌ك مانگ',
  6722. MM: '%d مانگ',
  6723. y: 'یه‌ك ساڵ',
  6724. yy: '%d ساڵ',
  6725. },
  6726. preparse: function (string) {
  6727. return string
  6728. .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
  6729. return numberMap$a[match];
  6730. })
  6731. .replace(/،/g, ',');
  6732. },
  6733. postformat: function (string) {
  6734. return string
  6735. .replace(/\d/g, function (match) {
  6736. return symbolMap$b[match];
  6737. })
  6738. .replace(/,/g, '،');
  6739. },
  6740. week: {
  6741. dow: 6, // Saturday is the first day of the week.
  6742. doy: 12, // The week that contains Jan 12th is the first week of the year.
  6743. },
  6744. });
  6745. //! moment.js locale configuration
  6746. var suffixes$2 = {
  6747. 0: '-чү',
  6748. 1: '-чи',
  6749. 2: '-чи',
  6750. 3: '-чү',
  6751. 4: '-чү',
  6752. 5: '-чи',
  6753. 6: '-чы',
  6754. 7: '-чи',
  6755. 8: '-чи',
  6756. 9: '-чу',
  6757. 10: '-чу',
  6758. 20: '-чы',
  6759. 30: '-чу',
  6760. 40: '-чы',
  6761. 50: '-чү',
  6762. 60: '-чы',
  6763. 70: '-чи',
  6764. 80: '-чи',
  6765. 90: '-чу',
  6766. 100: '-чү',
  6767. };
  6768. moment.defineLocale('ky', {
  6769. months: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split(
  6770. '_'
  6771. ),
  6772. monthsShort: 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split(
  6773. '_'
  6774. ),
  6775. weekdays: 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split(
  6776. '_'
  6777. ),
  6778. weekdaysShort: 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'.split('_'),
  6779. weekdaysMin: 'Жк_Дй_Шй_Шр_Бй_Жм_Иш'.split('_'),
  6780. longDateFormat: {
  6781. LT: 'HH:mm',
  6782. LTS: 'HH:mm:ss',
  6783. L: 'DD.MM.YYYY',
  6784. LL: 'D MMMM YYYY',
  6785. LLL: 'D MMMM YYYY HH:mm',
  6786. LLLL: 'dddd, D MMMM YYYY HH:mm',
  6787. },
  6788. calendar: {
  6789. sameDay: '[Бүгүн саат] LT',
  6790. nextDay: '[Эртең саат] LT',
  6791. nextWeek: 'dddd [саат] LT',
  6792. lastDay: '[Кечээ саат] LT',
  6793. lastWeek: '[Өткөн аптанын] dddd [күнү] [саат] LT',
  6794. sameElse: 'L',
  6795. },
  6796. relativeTime: {
  6797. future: '%s ичинде',
  6798. past: '%s мурун',
  6799. s: 'бирнече секунд',
  6800. ss: '%d секунд',
  6801. m: 'бир мүнөт',
  6802. mm: '%d мүнөт',
  6803. h: 'бир саат',
  6804. hh: '%d саат',
  6805. d: 'бир күн',
  6806. dd: '%d күн',
  6807. M: 'бир ай',
  6808. MM: '%d ай',
  6809. y: 'бир жыл',
  6810. yy: '%d жыл',
  6811. },
  6812. dayOfMonthOrdinalParse: /\d{1,2}-(чи|чы|чү|чу)/,
  6813. ordinal: function (number) {
  6814. var a = number % 10,
  6815. b = number >= 100 ? 100 : null;
  6816. return number + (suffixes$2[number] || suffixes$2[a] || suffixes$2[b]);
  6817. },
  6818. week: {
  6819. dow: 1, // Monday is the first day of the week.
  6820. doy: 7, // The week that contains Jan 7th is the first week of the year.
  6821. },
  6822. });
  6823. //! moment.js locale configuration
  6824. function processRelativeTime$6(number, withoutSuffix, key, isFuture) {
  6825. var format = {
  6826. m: ['eng Minutt', 'enger Minutt'],
  6827. h: ['eng Stonn', 'enger Stonn'],
  6828. d: ['een Dag', 'engem Dag'],
  6829. M: ['ee Mount', 'engem Mount'],
  6830. y: ['ee Joer', 'engem Joer'],
  6831. };
  6832. return withoutSuffix ? format[key][0] : format[key][1];
  6833. }
  6834. function processFutureTime(string) {
  6835. var number = string.substr(0, string.indexOf(' '));
  6836. if (eifelerRegelAppliesToNumber(number)) {
  6837. return 'a ' + string;
  6838. }
  6839. return 'an ' + string;
  6840. }
  6841. function processPastTime(string) {
  6842. var number = string.substr(0, string.indexOf(' '));
  6843. if (eifelerRegelAppliesToNumber(number)) {
  6844. return 'viru ' + string;
  6845. }
  6846. return 'virun ' + string;
  6847. }
  6848. /**
  6849. * Returns true if the word before the given number loses the '-n' ending.
  6850. * e.g. 'an 10 Deeg' but 'a 5 Deeg'
  6851. *
  6852. * @param number {integer}
  6853. * @returns {boolean}
  6854. */
  6855. function eifelerRegelAppliesToNumber(number) {
  6856. number = parseInt(number, 10);
  6857. if (isNaN(number)) {
  6858. return false;
  6859. }
  6860. if (number < 0) {
  6861. // Negative Number --> always true
  6862. return true;
  6863. } else if (number < 10) {
  6864. // Only 1 digit
  6865. if (4 <= number && number <= 7) {
  6866. return true;
  6867. }
  6868. return false;
  6869. } else if (number < 100) {
  6870. // 2 digits
  6871. var lastDigit = number % 10,
  6872. firstDigit = number / 10;
  6873. if (lastDigit === 0) {
  6874. return eifelerRegelAppliesToNumber(firstDigit);
  6875. }
  6876. return eifelerRegelAppliesToNumber(lastDigit);
  6877. } else if (number < 10000) {
  6878. // 3 or 4 digits --> recursively check first digit
  6879. while (number >= 10) {
  6880. number = number / 10;
  6881. }
  6882. return eifelerRegelAppliesToNumber(number);
  6883. } else {
  6884. // Anything larger than 4 digits: recursively check first n-3 digits
  6885. number = number / 1000;
  6886. return eifelerRegelAppliesToNumber(number);
  6887. }
  6888. }
  6889. moment.defineLocale('lb', {
  6890. months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split(
  6891. '_'
  6892. ),
  6893. monthsShort:
  6894. 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split(
  6895. '_'
  6896. ),
  6897. monthsParseExact: true,
  6898. weekdays:
  6899. 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split(
  6900. '_'
  6901. ),
  6902. weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'),
  6903. weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'),
  6904. weekdaysParseExact: true,
  6905. longDateFormat: {
  6906. LT: 'H:mm [Auer]',
  6907. LTS: 'H:mm:ss [Auer]',
  6908. L: 'DD.MM.YYYY',
  6909. LL: 'D. MMMM YYYY',
  6910. LLL: 'D. MMMM YYYY H:mm [Auer]',
  6911. LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]',
  6912. },
  6913. calendar: {
  6914. sameDay: '[Haut um] LT',
  6915. sameElse: 'L',
  6916. nextDay: '[Muer um] LT',
  6917. nextWeek: 'dddd [um] LT',
  6918. lastDay: '[Gëschter um] LT',
  6919. lastWeek: function () {
  6920. // Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule
  6921. switch (this.day()) {
  6922. case 2:
  6923. case 4:
  6924. return '[Leschten] dddd [um] LT';
  6925. default:
  6926. return '[Leschte] dddd [um] LT';
  6927. }
  6928. },
  6929. },
  6930. relativeTime: {
  6931. future: processFutureTime,
  6932. past: processPastTime,
  6933. s: 'e puer Sekonnen',
  6934. ss: '%d Sekonnen',
  6935. m: processRelativeTime$6,
  6936. mm: '%d Minutten',
  6937. h: processRelativeTime$6,
  6938. hh: '%d Stonnen',
  6939. d: processRelativeTime$6,
  6940. dd: '%d Deeg',
  6941. M: processRelativeTime$6,
  6942. MM: '%d Méint',
  6943. y: processRelativeTime$6,
  6944. yy: '%d Joer',
  6945. },
  6946. dayOfMonthOrdinalParse: /\d{1,2}\./,
  6947. ordinal: '%d.',
  6948. week: {
  6949. dow: 1, // Monday is the first day of the week.
  6950. doy: 4, // The week that contains Jan 4th is the first week of the year.
  6951. },
  6952. });
  6953. //! moment.js locale configuration
  6954. moment.defineLocale('lo', {
  6955. months: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split(
  6956. '_'
  6957. ),
  6958. monthsShort:
  6959. 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split(
  6960. '_'
  6961. ),
  6962. weekdays: 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),
  6963. weekdaysShort: 'ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),
  6964. weekdaysMin: 'ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ'.split('_'),
  6965. weekdaysParseExact: true,
  6966. longDateFormat: {
  6967. LT: 'HH:mm',
  6968. LTS: 'HH:mm:ss',
  6969. L: 'DD/MM/YYYY',
  6970. LL: 'D MMMM YYYY',
  6971. LLL: 'D MMMM YYYY HH:mm',
  6972. LLLL: 'ວັນdddd D MMMM YYYY HH:mm',
  6973. },
  6974. meridiemParse: /ຕອນເຊົ້າ|ຕອນແລງ/,
  6975. isPM: function (input) {
  6976. return input === 'ຕອນແລງ';
  6977. },
  6978. meridiem: function (hour, minute, isLower) {
  6979. if (hour < 12) {
  6980. return 'ຕອນເຊົ້າ';
  6981. } else {
  6982. return 'ຕອນແລງ';
  6983. }
  6984. },
  6985. calendar: {
  6986. sameDay: '[ມື້ນີ້ເວລາ] LT',
  6987. nextDay: '[ມື້ອື່ນເວລາ] LT',
  6988. nextWeek: '[ວັນ]dddd[ໜ້າເວລາ] LT',
  6989. lastDay: '[ມື້ວານນີ້ເວລາ] LT',
  6990. lastWeek: '[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT',
  6991. sameElse: 'L',
  6992. },
  6993. relativeTime: {
  6994. future: 'ອີກ %s',
  6995. past: '%sຜ່ານມາ',
  6996. s: 'ບໍ່ເທົ່າໃດວິນາທີ',
  6997. ss: '%d ວິນາທີ',
  6998. m: '1 ນາທີ',
  6999. mm: '%d ນາທີ',
  7000. h: '1 ຊົ່ວໂມງ',
  7001. hh: '%d ຊົ່ວໂມງ',
  7002. d: '1 ມື້',
  7003. dd: '%d ມື້',
  7004. M: '1 ເດືອນ',
  7005. MM: '%d ເດືອນ',
  7006. y: '1 ປີ',
  7007. yy: '%d ປີ',
  7008. },
  7009. dayOfMonthOrdinalParse: /(ທີ່)\d{1,2}/,
  7010. ordinal: function (number) {
  7011. return 'ທີ່' + number;
  7012. },
  7013. });
  7014. //! moment.js locale configuration
  7015. var units = {
  7016. ss: 'sekundė_sekundžių_sekundes',
  7017. m: 'minutė_minutės_minutę',
  7018. mm: 'minutės_minučių_minutes',
  7019. h: 'valanda_valandos_valandą',
  7020. hh: 'valandos_valandų_valandas',
  7021. d: 'diena_dienos_dieną',
  7022. dd: 'dienos_dienų_dienas',
  7023. M: 'mėnuo_mėnesio_mėnesį',
  7024. MM: 'mėnesiai_mėnesių_mėnesius',
  7025. y: 'metai_metų_metus',
  7026. yy: 'metai_metų_metus',
  7027. };
  7028. function translateSeconds(number, withoutSuffix, key, isFuture) {
  7029. if (withoutSuffix) {
  7030. return 'kelios sekundės';
  7031. } else {
  7032. return isFuture ? 'kelių sekundžių' : 'kelias sekundes';
  7033. }
  7034. }
  7035. function translateSingular(number, withoutSuffix, key, isFuture) {
  7036. return withoutSuffix
  7037. ? forms(key)[0]
  7038. : isFuture
  7039. ? forms(key)[1]
  7040. : forms(key)[2];
  7041. }
  7042. function special(number) {
  7043. return number % 10 === 0 || (number > 10 && number < 20);
  7044. }
  7045. function forms(key) {
  7046. return units[key].split('_');
  7047. }
  7048. function translate$6(number, withoutSuffix, key, isFuture) {
  7049. var result = number + ' ';
  7050. if (number === 1) {
  7051. return (
  7052. result + translateSingular(number, withoutSuffix, key[0], isFuture)
  7053. );
  7054. } else if (withoutSuffix) {
  7055. return result + (special(number) ? forms(key)[1] : forms(key)[0]);
  7056. } else {
  7057. if (isFuture) {
  7058. return result + forms(key)[1];
  7059. } else {
  7060. return result + (special(number) ? forms(key)[1] : forms(key)[2]);
  7061. }
  7062. }
  7063. }
  7064. moment.defineLocale('lt', {
  7065. months: {
  7066. format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split(
  7067. '_'
  7068. ),
  7069. standalone:
  7070. 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split(
  7071. '_'
  7072. ),
  7073. isFormat: /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/,
  7074. },
  7075. monthsShort: 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'),
  7076. weekdays: {
  7077. format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split(
  7078. '_'
  7079. ),
  7080. standalone:
  7081. 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split(
  7082. '_'
  7083. ),
  7084. isFormat: /dddd HH:mm/,
  7085. },
  7086. weekdaysShort: 'Sek_Pir_Ant_Tre_Ket_Pen_Šeš'.split('_'),
  7087. weekdaysMin: 'S_P_A_T_K_Pn_Š'.split('_'),
  7088. weekdaysParseExact: true,
  7089. longDateFormat: {
  7090. LT: 'HH:mm',
  7091. LTS: 'HH:mm:ss',
  7092. L: 'YYYY-MM-DD',
  7093. LL: 'YYYY [m.] MMMM D [d.]',
  7094. LLL: 'YYYY [m.] MMMM D [d.], HH:mm [val.]',
  7095. LLLL: 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]',
  7096. l: 'YYYY-MM-DD',
  7097. ll: 'YYYY [m.] MMMM D [d.]',
  7098. lll: 'YYYY [m.] MMMM D [d.], HH:mm [val.]',
  7099. llll: 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]',
  7100. },
  7101. calendar: {
  7102. sameDay: '[Šiandien] LT',
  7103. nextDay: '[Rytoj] LT',
  7104. nextWeek: 'dddd LT',
  7105. lastDay: '[Vakar] LT',
  7106. lastWeek: '[Praėjusį] dddd LT',
  7107. sameElse: 'L',
  7108. },
  7109. relativeTime: {
  7110. future: 'po %s',
  7111. past: 'prieš %s',
  7112. s: translateSeconds,
  7113. ss: translate$6,
  7114. m: translateSingular,
  7115. mm: translate$6,
  7116. h: translateSingular,
  7117. hh: translate$6,
  7118. d: translateSingular,
  7119. dd: translate$6,
  7120. M: translateSingular,
  7121. MM: translate$6,
  7122. y: translateSingular,
  7123. yy: translate$6,
  7124. },
  7125. dayOfMonthOrdinalParse: /\d{1,2}-oji/,
  7126. ordinal: function (number) {
  7127. return number + '-oji';
  7128. },
  7129. week: {
  7130. dow: 1, // Monday is the first day of the week.
  7131. doy: 4, // The week that contains Jan 4th is the first week of the year.
  7132. },
  7133. });
  7134. //! moment.js locale configuration
  7135. var units$1 = {
  7136. ss: 'sekundes_sekundēm_sekunde_sekundes'.split('_'),
  7137. m: 'minūtes_minūtēm_minūte_minūtes'.split('_'),
  7138. mm: 'minūtes_minūtēm_minūte_minūtes'.split('_'),
  7139. h: 'stundas_stundām_stunda_stundas'.split('_'),
  7140. hh: 'stundas_stundām_stunda_stundas'.split('_'),
  7141. d: 'dienas_dienām_diena_dienas'.split('_'),
  7142. dd: 'dienas_dienām_diena_dienas'.split('_'),
  7143. M: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),
  7144. MM: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),
  7145. y: 'gada_gadiem_gads_gadi'.split('_'),
  7146. yy: 'gada_gadiem_gads_gadi'.split('_'),
  7147. };
  7148. /**
  7149. * @param withoutSuffix boolean true = a length of time; false = before/after a period of time.
  7150. */
  7151. function format(forms, number, withoutSuffix) {
  7152. if (withoutSuffix) {
  7153. // E.g. "21 minūte", "3 minūtes".
  7154. return number % 10 === 1 && number % 100 !== 11 ? forms[2] : forms[3];
  7155. } else {
  7156. // E.g. "21 minūtes" as in "pēc 21 minūtes".
  7157. // E.g. "3 minūtēm" as in "pēc 3 minūtēm".
  7158. return number % 10 === 1 && number % 100 !== 11 ? forms[0] : forms[1];
  7159. }
  7160. }
  7161. function relativeTimeWithPlural$1(number, withoutSuffix, key) {
  7162. return number + ' ' + format(units$1[key], number, withoutSuffix);
  7163. }
  7164. function relativeTimeWithSingular(number, withoutSuffix, key) {
  7165. return format(units$1[key], number, withoutSuffix);
  7166. }
  7167. function relativeSeconds(number, withoutSuffix) {
  7168. return withoutSuffix ? 'dažas sekundes' : 'dažām sekundēm';
  7169. }
  7170. moment.defineLocale('lv', {
  7171. months: 'janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris'.split(
  7172. '_'
  7173. ),
  7174. monthsShort: 'jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec'.split('_'),
  7175. weekdays:
  7176. 'svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena'.split(
  7177. '_'
  7178. ),
  7179. weekdaysShort: 'Sv_P_O_T_C_Pk_S'.split('_'),
  7180. weekdaysMin: 'Sv_P_O_T_C_Pk_S'.split('_'),
  7181. weekdaysParseExact: true,
  7182. longDateFormat: {
  7183. LT: 'HH:mm',
  7184. LTS: 'HH:mm:ss',
  7185. L: 'DD.MM.YYYY.',
  7186. LL: 'YYYY. [gada] D. MMMM',
  7187. LLL: 'YYYY. [gada] D. MMMM, HH:mm',
  7188. LLLL: 'YYYY. [gada] D. MMMM, dddd, HH:mm',
  7189. },
  7190. calendar: {
  7191. sameDay: '[Šodien pulksten] LT',
  7192. nextDay: '[Rīt pulksten] LT',
  7193. nextWeek: 'dddd [pulksten] LT',
  7194. lastDay: '[Vakar pulksten] LT',
  7195. lastWeek: '[Pagājušā] dddd [pulksten] LT',
  7196. sameElse: 'L',
  7197. },
  7198. relativeTime: {
  7199. future: 'pēc %s',
  7200. past: 'pirms %s',
  7201. s: relativeSeconds,
  7202. ss: relativeTimeWithPlural$1,
  7203. m: relativeTimeWithSingular,
  7204. mm: relativeTimeWithPlural$1,
  7205. h: relativeTimeWithSingular,
  7206. hh: relativeTimeWithPlural$1,
  7207. d: relativeTimeWithSingular,
  7208. dd: relativeTimeWithPlural$1,
  7209. M: relativeTimeWithSingular,
  7210. MM: relativeTimeWithPlural$1,
  7211. y: relativeTimeWithSingular,
  7212. yy: relativeTimeWithPlural$1,
  7213. },
  7214. dayOfMonthOrdinalParse: /\d{1,2}\./,
  7215. ordinal: '%d.',
  7216. week: {
  7217. dow: 1, // Monday is the first day of the week.
  7218. doy: 4, // The week that contains Jan 4th is the first week of the year.
  7219. },
  7220. });
  7221. //! moment.js locale configuration
  7222. var translator = {
  7223. words: {
  7224. //Different grammatical cases
  7225. ss: ['sekund', 'sekunda', 'sekundi'],
  7226. m: ['jedan minut', 'jednog minuta'],
  7227. mm: ['minut', 'minuta', 'minuta'],
  7228. h: ['jedan sat', 'jednog sata'],
  7229. hh: ['sat', 'sata', 'sati'],
  7230. dd: ['dan', 'dana', 'dana'],
  7231. MM: ['mjesec', 'mjeseca', 'mjeseci'],
  7232. yy: ['godina', 'godine', 'godina'],
  7233. },
  7234. correctGrammaticalCase: function (number, wordKey) {
  7235. return number === 1
  7236. ? wordKey[0]
  7237. : number >= 2 && number <= 4
  7238. ? wordKey[1]
  7239. : wordKey[2];
  7240. },
  7241. translate: function (number, withoutSuffix, key) {
  7242. var wordKey = translator.words[key];
  7243. if (key.length === 1) {
  7244. return withoutSuffix ? wordKey[0] : wordKey[1];
  7245. } else {
  7246. return (
  7247. number +
  7248. ' ' +
  7249. translator.correctGrammaticalCase(number, wordKey)
  7250. );
  7251. }
  7252. },
  7253. };
  7254. moment.defineLocale('me', {
  7255. months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split(
  7256. '_'
  7257. ),
  7258. monthsShort:
  7259. 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'),
  7260. monthsParseExact: true,
  7261. weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(
  7262. '_'
  7263. ),
  7264. weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
  7265. weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
  7266. weekdaysParseExact: true,
  7267. longDateFormat: {
  7268. LT: 'H:mm',
  7269. LTS: 'H:mm:ss',
  7270. L: 'DD.MM.YYYY',
  7271. LL: 'D. MMMM YYYY',
  7272. LLL: 'D. MMMM YYYY H:mm',
  7273. LLLL: 'dddd, D. MMMM YYYY H:mm',
  7274. },
  7275. calendar: {
  7276. sameDay: '[danas u] LT',
  7277. nextDay: '[sjutra u] LT',
  7278. nextWeek: function () {
  7279. switch (this.day()) {
  7280. case 0:
  7281. return '[u] [nedjelju] [u] LT';
  7282. case 3:
  7283. return '[u] [srijedu] [u] LT';
  7284. case 6:
  7285. return '[u] [subotu] [u] LT';
  7286. case 1:
  7287. case 2:
  7288. case 4:
  7289. case 5:
  7290. return '[u] dddd [u] LT';
  7291. }
  7292. },
  7293. lastDay: '[juče u] LT',
  7294. lastWeek: function () {
  7295. var lastWeekDays = [
  7296. '[prošle] [nedjelje] [u] LT',
  7297. '[prošlog] [ponedjeljka] [u] LT',
  7298. '[prošlog] [utorka] [u] LT',
  7299. '[prošle] [srijede] [u] LT',
  7300. '[prošlog] [četvrtka] [u] LT',
  7301. '[prošlog] [petka] [u] LT',
  7302. '[prošle] [subote] [u] LT',
  7303. ];
  7304. return lastWeekDays[this.day()];
  7305. },
  7306. sameElse: 'L',
  7307. },
  7308. relativeTime: {
  7309. future: 'za %s',
  7310. past: 'prije %s',
  7311. s: 'nekoliko sekundi',
  7312. ss: translator.translate,
  7313. m: translator.translate,
  7314. mm: translator.translate,
  7315. h: translator.translate,
  7316. hh: translator.translate,
  7317. d: 'dan',
  7318. dd: translator.translate,
  7319. M: 'mjesec',
  7320. MM: translator.translate,
  7321. y: 'godinu',
  7322. yy: translator.translate,
  7323. },
  7324. dayOfMonthOrdinalParse: /\d{1,2}\./,
  7325. ordinal: '%d.',
  7326. week: {
  7327. dow: 1, // Monday is the first day of the week.
  7328. doy: 7, // The week that contains Jan 7th is the first week of the year.
  7329. },
  7330. });
  7331. //! moment.js locale configuration
  7332. moment.defineLocale('mi', {
  7333. months: 'Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea'.split(
  7334. '_'
  7335. ),
  7336. monthsShort:
  7337. 'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split(
  7338. '_'
  7339. ),
  7340. monthsRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
  7341. monthsStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
  7342. monthsShortRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
  7343. monthsShortStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,
  7344. weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'),
  7345. weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),
  7346. weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),
  7347. longDateFormat: {
  7348. LT: 'HH:mm',
  7349. LTS: 'HH:mm:ss',
  7350. L: 'DD/MM/YYYY',
  7351. LL: 'D MMMM YYYY',
  7352. LLL: 'D MMMM YYYY [i] HH:mm',
  7353. LLLL: 'dddd, D MMMM YYYY [i] HH:mm',
  7354. },
  7355. calendar: {
  7356. sameDay: '[i teie mahana, i] LT',
  7357. nextDay: '[apopo i] LT',
  7358. nextWeek: 'dddd [i] LT',
  7359. lastDay: '[inanahi i] LT',
  7360. lastWeek: 'dddd [whakamutunga i] LT',
  7361. sameElse: 'L',
  7362. },
  7363. relativeTime: {
  7364. future: 'i roto i %s',
  7365. past: '%s i mua',
  7366. s: 'te hēkona ruarua',
  7367. ss: '%d hēkona',
  7368. m: 'he meneti',
  7369. mm: '%d meneti',
  7370. h: 'te haora',
  7371. hh: '%d haora',
  7372. d: 'he ra',
  7373. dd: '%d ra',
  7374. M: 'he marama',
  7375. MM: '%d marama',
  7376. y: 'he tau',
  7377. yy: '%d tau',
  7378. },
  7379. dayOfMonthOrdinalParse: /\d{1,2}º/,
  7380. ordinal: '%dº',
  7381. week: {
  7382. dow: 1, // Monday is the first day of the week.
  7383. doy: 4, // The week that contains Jan 4th is the first week of the year.
  7384. },
  7385. });
  7386. //! moment.js locale configuration
  7387. moment.defineLocale('mk', {
  7388. months: 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split(
  7389. '_'
  7390. ),
  7391. monthsShort: 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split('_'),
  7392. weekdays: 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split(
  7393. '_'
  7394. ),
  7395. weekdaysShort: 'нед_пон_вто_сре_чет_пет_саб'.split('_'),
  7396. weekdaysMin: 'нe_пo_вт_ср_че_пе_сa'.split('_'),
  7397. longDateFormat: {
  7398. LT: 'H:mm',
  7399. LTS: 'H:mm:ss',
  7400. L: 'D.MM.YYYY',
  7401. LL: 'D MMMM YYYY',
  7402. LLL: 'D MMMM YYYY H:mm',
  7403. LLLL: 'dddd, D MMMM YYYY H:mm',
  7404. },
  7405. calendar: {
  7406. sameDay: '[Денес во] LT',
  7407. nextDay: '[Утре во] LT',
  7408. nextWeek: '[Во] dddd [во] LT',
  7409. lastDay: '[Вчера во] LT',
  7410. lastWeek: function () {
  7411. switch (this.day()) {
  7412. case 0:
  7413. case 3:
  7414. case 6:
  7415. return '[Изминатата] dddd [во] LT';
  7416. case 1:
  7417. case 2:
  7418. case 4:
  7419. case 5:
  7420. return '[Изминатиот] dddd [во] LT';
  7421. }
  7422. },
  7423. sameElse: 'L',
  7424. },
  7425. relativeTime: {
  7426. future: 'за %s',
  7427. past: 'пред %s',
  7428. s: 'неколку секунди',
  7429. ss: '%d секунди',
  7430. m: 'една минута',
  7431. mm: '%d минути',
  7432. h: 'еден час',
  7433. hh: '%d часа',
  7434. d: 'еден ден',
  7435. dd: '%d дена',
  7436. M: 'еден месец',
  7437. MM: '%d месеци',
  7438. y: 'една година',
  7439. yy: '%d години',
  7440. },
  7441. dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
  7442. ordinal: function (number) {
  7443. var lastDigit = number % 10,
  7444. last2Digits = number % 100;
  7445. if (number === 0) {
  7446. return number + '-ев';
  7447. } else if (last2Digits === 0) {
  7448. return number + '-ен';
  7449. } else if (last2Digits > 10 && last2Digits < 20) {
  7450. return number + '-ти';
  7451. } else if (lastDigit === 1) {
  7452. return number + '-ви';
  7453. } else if (lastDigit === 2) {
  7454. return number + '-ри';
  7455. } else if (lastDigit === 7 || lastDigit === 8) {
  7456. return number + '-ми';
  7457. } else {
  7458. return number + '-ти';
  7459. }
  7460. },
  7461. week: {
  7462. dow: 1, // Monday is the first day of the week.
  7463. doy: 7, // The week that contains Jan 7th is the first week of the year.
  7464. },
  7465. });
  7466. //! moment.js locale configuration
  7467. moment.defineLocale('ml', {
  7468. months: 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split(
  7469. '_'
  7470. ),
  7471. monthsShort:
  7472. 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split(
  7473. '_'
  7474. ),
  7475. monthsParseExact: true,
  7476. weekdays:
  7477. 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split(
  7478. '_'
  7479. ),
  7480. weekdaysShort: 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'),
  7481. weekdaysMin: 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'),
  7482. longDateFormat: {
  7483. LT: 'A h:mm -നു',
  7484. LTS: 'A h:mm:ss -നു',
  7485. L: 'DD/MM/YYYY',
  7486. LL: 'D MMMM YYYY',
  7487. LLL: 'D MMMM YYYY, A h:mm -നു',
  7488. LLLL: 'dddd, D MMMM YYYY, A h:mm -നു',
  7489. },
  7490. calendar: {
  7491. sameDay: '[ഇന്ന്] LT',
  7492. nextDay: '[നാളെ] LT',
  7493. nextWeek: 'dddd, LT',
  7494. lastDay: '[ഇന്നലെ] LT',
  7495. lastWeek: '[കഴിഞ്ഞ] dddd, LT',
  7496. sameElse: 'L',
  7497. },
  7498. relativeTime: {
  7499. future: '%s കഴിഞ്ഞ്',
  7500. past: '%s മുൻപ്',
  7501. s: 'അൽപ നിമിഷങ്ങൾ',
  7502. ss: '%d സെക്കൻഡ്',
  7503. m: 'ഒരു മിനിറ്റ്',
  7504. mm: '%d മിനിറ്റ്',
  7505. h: 'ഒരു മണിക്കൂർ',
  7506. hh: '%d മണിക്കൂർ',
  7507. d: 'ഒരു ദിവസം',
  7508. dd: '%d ദിവസം',
  7509. M: 'ഒരു മാസം',
  7510. MM: '%d മാസം',
  7511. y: 'ഒരു വർഷം',
  7512. yy: '%d വർഷം',
  7513. },
  7514. meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,
  7515. meridiemHour: function (hour, meridiem) {
  7516. if (hour === 12) {
  7517. hour = 0;
  7518. }
  7519. if (
  7520. (meridiem === 'രാത്രി' && hour >= 4) ||
  7521. meridiem === 'ഉച്ച കഴിഞ്ഞ്' ||
  7522. meridiem === 'വൈകുന്നേരം'
  7523. ) {
  7524. return hour + 12;
  7525. } else {
  7526. return hour;
  7527. }
  7528. },
  7529. meridiem: function (hour, minute, isLower) {
  7530. if (hour < 4) {
  7531. return 'രാത്രി';
  7532. } else if (hour < 12) {
  7533. return 'രാവിലെ';
  7534. } else if (hour < 17) {
  7535. return 'ഉച്ച കഴിഞ്ഞ്';
  7536. } else if (hour < 20) {
  7537. return 'വൈകുന്നേരം';
  7538. } else {
  7539. return 'രാത്രി';
  7540. }
  7541. },
  7542. });
  7543. //! moment.js locale configuration
  7544. function translate$7(number, withoutSuffix, key, isFuture) {
  7545. switch (key) {
  7546. case 's':
  7547. return withoutSuffix ? 'хэдхэн секунд' : 'хэдхэн секундын';
  7548. case 'ss':
  7549. return number + (withoutSuffix ? ' секунд' : ' секундын');
  7550. case 'm':
  7551. case 'mm':
  7552. return number + (withoutSuffix ? ' минут' : ' минутын');
  7553. case 'h':
  7554. case 'hh':
  7555. return number + (withoutSuffix ? ' цаг' : ' цагийн');
  7556. case 'd':
  7557. case 'dd':
  7558. return number + (withoutSuffix ? ' өдөр' : ' өдрийн');
  7559. case 'M':
  7560. case 'MM':
  7561. return number + (withoutSuffix ? ' сар' : ' сарын');
  7562. case 'y':
  7563. case 'yy':
  7564. return number + (withoutSuffix ? ' жил' : ' жилийн');
  7565. default:
  7566. return number;
  7567. }
  7568. }
  7569. moment.defineLocale('mn', {
  7570. months: 'Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар'.split(
  7571. '_'
  7572. ),
  7573. monthsShort:
  7574. '1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар'.split(
  7575. '_'
  7576. ),
  7577. monthsParseExact: true,
  7578. weekdays: 'Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба'.split('_'),
  7579. weekdaysShort: 'Ням_Дав_Мяг_Лха_Пүр_Баа_Бям'.split('_'),
  7580. weekdaysMin: 'Ня_Да_Мя_Лх_Пү_Ба_Бя'.split('_'),
  7581. weekdaysParseExact: true,
  7582. longDateFormat: {
  7583. LT: 'HH:mm',
  7584. LTS: 'HH:mm:ss',
  7585. L: 'YYYY-MM-DD',
  7586. LL: 'YYYY оны MMMMын D',
  7587. LLL: 'YYYY оны MMMMын D HH:mm',
  7588. LLLL: 'dddd, YYYY оны MMMMын D HH:mm',
  7589. },
  7590. meridiemParse: /ҮӨ|ҮХ/i,
  7591. isPM: function (input) {
  7592. return input === 'ҮХ';
  7593. },
  7594. meridiem: function (hour, minute, isLower) {
  7595. if (hour < 12) {
  7596. return 'ҮӨ';
  7597. } else {
  7598. return 'ҮХ';
  7599. }
  7600. },
  7601. calendar: {
  7602. sameDay: '[Өнөөдөр] LT',
  7603. nextDay: '[Маргааш] LT',
  7604. nextWeek: '[Ирэх] dddd LT',
  7605. lastDay: '[Өчигдөр] LT',
  7606. lastWeek: '[Өнгөрсөн] dddd LT',
  7607. sameElse: 'L',
  7608. },
  7609. relativeTime: {
  7610. future: '%s дараа',
  7611. past: '%s өмнө',
  7612. s: translate$7,
  7613. ss: translate$7,
  7614. m: translate$7,
  7615. mm: translate$7,
  7616. h: translate$7,
  7617. hh: translate$7,
  7618. d: translate$7,
  7619. dd: translate$7,
  7620. M: translate$7,
  7621. MM: translate$7,
  7622. y: translate$7,
  7623. yy: translate$7,
  7624. },
  7625. dayOfMonthOrdinalParse: /\d{1,2} өдөр/,
  7626. ordinal: function (number, period) {
  7627. switch (period) {
  7628. case 'd':
  7629. case 'D':
  7630. case 'DDD':
  7631. return number + ' өдөр';
  7632. default:
  7633. return number;
  7634. }
  7635. },
  7636. });
  7637. //! moment.js locale configuration
  7638. var symbolMap$c = {
  7639. 1: '१',
  7640. 2: '२',
  7641. 3: '३',
  7642. 4: '४',
  7643. 5: '५',
  7644. 6: '६',
  7645. 7: '७',
  7646. 8: '८',
  7647. 9: '९',
  7648. 0: '०',
  7649. },
  7650. numberMap$b = {
  7651. '१': '1',
  7652. '२': '2',
  7653. '३': '3',
  7654. '४': '4',
  7655. '५': '5',
  7656. '६': '6',
  7657. '७': '7',
  7658. '८': '8',
  7659. '९': '9',
  7660. '०': '0',
  7661. };
  7662. function relativeTimeMr(number, withoutSuffix, string, isFuture) {
  7663. var output = '';
  7664. if (withoutSuffix) {
  7665. switch (string) {
  7666. case 's':
  7667. output = 'काही सेकंद';
  7668. break;
  7669. case 'ss':
  7670. output = '%d सेकंद';
  7671. break;
  7672. case 'm':
  7673. output = 'एक मिनिट';
  7674. break;
  7675. case 'mm':
  7676. output = '%d मिनिटे';
  7677. break;
  7678. case 'h':
  7679. output = 'एक तास';
  7680. break;
  7681. case 'hh':
  7682. output = '%d तास';
  7683. break;
  7684. case 'd':
  7685. output = 'एक दिवस';
  7686. break;
  7687. case 'dd':
  7688. output = '%d दिवस';
  7689. break;
  7690. case 'M':
  7691. output = 'एक महिना';
  7692. break;
  7693. case 'MM':
  7694. output = '%d महिने';
  7695. break;
  7696. case 'y':
  7697. output = 'एक वर्ष';
  7698. break;
  7699. case 'yy':
  7700. output = '%d वर्षे';
  7701. break;
  7702. }
  7703. } else {
  7704. switch (string) {
  7705. case 's':
  7706. output = 'काही सेकंदां';
  7707. break;
  7708. case 'ss':
  7709. output = '%d सेकंदां';
  7710. break;
  7711. case 'm':
  7712. output = 'एका मिनिटा';
  7713. break;
  7714. case 'mm':
  7715. output = '%d मिनिटां';
  7716. break;
  7717. case 'h':
  7718. output = 'एका तासा';
  7719. break;
  7720. case 'hh':
  7721. output = '%d तासां';
  7722. break;
  7723. case 'd':
  7724. output = 'एका दिवसा';
  7725. break;
  7726. case 'dd':
  7727. output = '%d दिवसां';
  7728. break;
  7729. case 'M':
  7730. output = 'एका महिन्या';
  7731. break;
  7732. case 'MM':
  7733. output = '%d महिन्यां';
  7734. break;
  7735. case 'y':
  7736. output = 'एका वर्षा';
  7737. break;
  7738. case 'yy':
  7739. output = '%d वर्षां';
  7740. break;
  7741. }
  7742. }
  7743. return output.replace(/%d/i, number);
  7744. }
  7745. moment.defineLocale('mr', {
  7746. months: 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split(
  7747. '_'
  7748. ),
  7749. monthsShort:
  7750. 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split(
  7751. '_'
  7752. ),
  7753. monthsParseExact: true,
  7754. weekdays: 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),
  7755. weekdaysShort: 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'),
  7756. weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'),
  7757. longDateFormat: {
  7758. LT: 'A h:mm वाजता',
  7759. LTS: 'A h:mm:ss वाजता',
  7760. L: 'DD/MM/YYYY',
  7761. LL: 'D MMMM YYYY',
  7762. LLL: 'D MMMM YYYY, A h:mm वाजता',
  7763. LLLL: 'dddd, D MMMM YYYY, A h:mm वाजता',
  7764. },
  7765. calendar: {
  7766. sameDay: '[आज] LT',
  7767. nextDay: '[उद्या] LT',
  7768. nextWeek: 'dddd, LT',
  7769. lastDay: '[काल] LT',
  7770. lastWeek: '[मागील] dddd, LT',
  7771. sameElse: 'L',
  7772. },
  7773. relativeTime: {
  7774. future: '%sमध्ये',
  7775. past: '%sपूर्वी',
  7776. s: relativeTimeMr,
  7777. ss: relativeTimeMr,
  7778. m: relativeTimeMr,
  7779. mm: relativeTimeMr,
  7780. h: relativeTimeMr,
  7781. hh: relativeTimeMr,
  7782. d: relativeTimeMr,
  7783. dd: relativeTimeMr,
  7784. M: relativeTimeMr,
  7785. MM: relativeTimeMr,
  7786. y: relativeTimeMr,
  7787. yy: relativeTimeMr,
  7788. },
  7789. preparse: function (string) {
  7790. return string.replace(/[१२३४५६७८९०]/g, function (match) {
  7791. return numberMap$b[match];
  7792. });
  7793. },
  7794. postformat: function (string) {
  7795. return string.replace(/\d/g, function (match) {
  7796. return symbolMap$c[match];
  7797. });
  7798. },
  7799. meridiemParse: /पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,
  7800. meridiemHour: function (hour, meridiem) {
  7801. if (hour === 12) {
  7802. hour = 0;
  7803. }
  7804. if (meridiem === 'पहाटे' || meridiem === 'सकाळी') {
  7805. return hour;
  7806. } else if (
  7807. meridiem === 'दुपारी' ||
  7808. meridiem === 'सायंकाळी' ||
  7809. meridiem === 'रात्री'
  7810. ) {
  7811. return hour >= 12 ? hour : hour + 12;
  7812. }
  7813. },
  7814. meridiem: function (hour, minute, isLower) {
  7815. if (hour >= 0 && hour < 6) {
  7816. return 'पहाटे';
  7817. } else if (hour < 12) {
  7818. return 'सकाळी';
  7819. } else if (hour < 17) {
  7820. return 'दुपारी';
  7821. } else if (hour < 20) {
  7822. return 'सायंकाळी';
  7823. } else {
  7824. return 'रात्री';
  7825. }
  7826. },
  7827. week: {
  7828. dow: 0, // Sunday is the first day of the week.
  7829. doy: 6, // The week that contains Jan 6th is the first week of the year.
  7830. },
  7831. });
  7832. //! moment.js locale configuration
  7833. moment.defineLocale('ms-my', {
  7834. months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split(
  7835. '_'
  7836. ),
  7837. monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
  7838. weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
  7839. weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
  7840. weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
  7841. longDateFormat: {
  7842. LT: 'HH.mm',
  7843. LTS: 'HH.mm.ss',
  7844. L: 'DD/MM/YYYY',
  7845. LL: 'D MMMM YYYY',
  7846. LLL: 'D MMMM YYYY [pukul] HH.mm',
  7847. LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',
  7848. },
  7849. meridiemParse: /pagi|tengahari|petang|malam/,
  7850. meridiemHour: function (hour, meridiem) {
  7851. if (hour === 12) {
  7852. hour = 0;
  7853. }
  7854. if (meridiem === 'pagi') {
  7855. return hour;
  7856. } else if (meridiem === 'tengahari') {
  7857. return hour >= 11 ? hour : hour + 12;
  7858. } else if (meridiem === 'petang' || meridiem === 'malam') {
  7859. return hour + 12;
  7860. }
  7861. },
  7862. meridiem: function (hours, minutes, isLower) {
  7863. if (hours < 11) {
  7864. return 'pagi';
  7865. } else if (hours < 15) {
  7866. return 'tengahari';
  7867. } else if (hours < 19) {
  7868. return 'petang';
  7869. } else {
  7870. return 'malam';
  7871. }
  7872. },
  7873. calendar: {
  7874. sameDay: '[Hari ini pukul] LT',
  7875. nextDay: '[Esok pukul] LT',
  7876. nextWeek: 'dddd [pukul] LT',
  7877. lastDay: '[Kelmarin pukul] LT',
  7878. lastWeek: 'dddd [lepas pukul] LT',
  7879. sameElse: 'L',
  7880. },
  7881. relativeTime: {
  7882. future: 'dalam %s',
  7883. past: '%s yang lepas',
  7884. s: 'beberapa saat',
  7885. ss: '%d saat',
  7886. m: 'seminit',
  7887. mm: '%d minit',
  7888. h: 'sejam',
  7889. hh: '%d jam',
  7890. d: 'sehari',
  7891. dd: '%d hari',
  7892. M: 'sebulan',
  7893. MM: '%d bulan',
  7894. y: 'setahun',
  7895. yy: '%d tahun',
  7896. },
  7897. week: {
  7898. dow: 1, // Monday is the first day of the week.
  7899. doy: 7, // The week that contains Jan 7th is the first week of the year.
  7900. },
  7901. });
  7902. //! moment.js locale configuration
  7903. moment.defineLocale('ms', {
  7904. months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split(
  7905. '_'
  7906. ),
  7907. monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
  7908. weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
  7909. weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
  7910. weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
  7911. longDateFormat: {
  7912. LT: 'HH.mm',
  7913. LTS: 'HH.mm.ss',
  7914. L: 'DD/MM/YYYY',
  7915. LL: 'D MMMM YYYY',
  7916. LLL: 'D MMMM YYYY [pukul] HH.mm',
  7917. LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',
  7918. },
  7919. meridiemParse: /pagi|tengahari|petang|malam/,
  7920. meridiemHour: function (hour, meridiem) {
  7921. if (hour === 12) {
  7922. hour = 0;
  7923. }
  7924. if (meridiem === 'pagi') {
  7925. return hour;
  7926. } else if (meridiem === 'tengahari') {
  7927. return hour >= 11 ? hour : hour + 12;
  7928. } else if (meridiem === 'petang' || meridiem === 'malam') {
  7929. return hour + 12;
  7930. }
  7931. },
  7932. meridiem: function (hours, minutes, isLower) {
  7933. if (hours < 11) {
  7934. return 'pagi';
  7935. } else if (hours < 15) {
  7936. return 'tengahari';
  7937. } else if (hours < 19) {
  7938. return 'petang';
  7939. } else {
  7940. return 'malam';
  7941. }
  7942. },
  7943. calendar: {
  7944. sameDay: '[Hari ini pukul] LT',
  7945. nextDay: '[Esok pukul] LT',
  7946. nextWeek: 'dddd [pukul] LT',
  7947. lastDay: '[Kelmarin pukul] LT',
  7948. lastWeek: 'dddd [lepas pukul] LT',
  7949. sameElse: 'L',
  7950. },
  7951. relativeTime: {
  7952. future: 'dalam %s',
  7953. past: '%s yang lepas',
  7954. s: 'beberapa saat',
  7955. ss: '%d saat',
  7956. m: 'seminit',
  7957. mm: '%d minit',
  7958. h: 'sejam',
  7959. hh: '%d jam',
  7960. d: 'sehari',
  7961. dd: '%d hari',
  7962. M: 'sebulan',
  7963. MM: '%d bulan',
  7964. y: 'setahun',
  7965. yy: '%d tahun',
  7966. },
  7967. week: {
  7968. dow: 1, // Monday is the first day of the week.
  7969. doy: 7, // The week that contains Jan 7th is the first week of the year.
  7970. },
  7971. });
  7972. //! moment.js locale configuration
  7973. moment.defineLocale('mt', {
  7974. months: 'Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru'.split(
  7975. '_'
  7976. ),
  7977. monthsShort: 'Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ'.split('_'),
  7978. weekdays:
  7979. 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split(
  7980. '_'
  7981. ),
  7982. weekdaysShort: 'Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib'.split('_'),
  7983. weekdaysMin: 'Ħa_Tn_Tl_Er_Ħa_Ġi_Si'.split('_'),
  7984. longDateFormat: {
  7985. LT: 'HH:mm',
  7986. LTS: 'HH:mm:ss',
  7987. L: 'DD/MM/YYYY',
  7988. LL: 'D MMMM YYYY',
  7989. LLL: 'D MMMM YYYY HH:mm',
  7990. LLLL: 'dddd, D MMMM YYYY HH:mm',
  7991. },
  7992. calendar: {
  7993. sameDay: '[Illum fil-]LT',
  7994. nextDay: '[Għada fil-]LT',
  7995. nextWeek: 'dddd [fil-]LT',
  7996. lastDay: '[Il-bieraħ fil-]LT',
  7997. lastWeek: 'dddd [li għadda] [fil-]LT',
  7998. sameElse: 'L',
  7999. },
  8000. relativeTime: {
  8001. future: 'f’ %s',
  8002. past: '%s ilu',
  8003. s: 'ftit sekondi',
  8004. ss: '%d sekondi',
  8005. m: 'minuta',
  8006. mm: '%d minuti',
  8007. h: 'siegħa',
  8008. hh: '%d siegħat',
  8009. d: 'ġurnata',
  8010. dd: '%d ġranet',
  8011. M: 'xahar',
  8012. MM: '%d xhur',
  8013. y: 'sena',
  8014. yy: '%d sni',
  8015. },
  8016. dayOfMonthOrdinalParse: /\d{1,2}º/,
  8017. ordinal: '%dº',
  8018. week: {
  8019. dow: 1, // Monday is the first day of the week.
  8020. doy: 4, // The week that contains Jan 4th is the first week of the year.
  8021. },
  8022. });
  8023. //! moment.js locale configuration
  8024. var symbolMap$d = {
  8025. 1: '၁',
  8026. 2: '၂',
  8027. 3: '၃',
  8028. 4: '၄',
  8029. 5: '၅',
  8030. 6: '၆',
  8031. 7: '၇',
  8032. 8: '၈',
  8033. 9: '၉',
  8034. 0: '၀',
  8035. },
  8036. numberMap$c = {
  8037. '၁': '1',
  8038. '၂': '2',
  8039. '၃': '3',
  8040. '၄': '4',
  8041. '၅': '5',
  8042. '၆': '6',
  8043. '၇': '7',
  8044. '၈': '8',
  8045. '၉': '9',
  8046. '၀': '0',
  8047. };
  8048. moment.defineLocale('my', {
  8049. months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split(
  8050. '_'
  8051. ),
  8052. monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'),
  8053. weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split(
  8054. '_'
  8055. ),
  8056. weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
  8057. weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
  8058. longDateFormat: {
  8059. LT: 'HH:mm',
  8060. LTS: 'HH:mm:ss',
  8061. L: 'DD/MM/YYYY',
  8062. LL: 'D MMMM YYYY',
  8063. LLL: 'D MMMM YYYY HH:mm',
  8064. LLLL: 'dddd D MMMM YYYY HH:mm',
  8065. },
  8066. calendar: {
  8067. sameDay: '[ယနေ.] LT [မှာ]',
  8068. nextDay: '[မနက်ဖြန်] LT [မှာ]',
  8069. nextWeek: 'dddd LT [မှာ]',
  8070. lastDay: '[မနေ.က] LT [မှာ]',
  8071. lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]',
  8072. sameElse: 'L',
  8073. },
  8074. relativeTime: {
  8075. future: 'လာမည့် %s မှာ',
  8076. past: 'လွန်ခဲ့သော %s က',
  8077. s: 'စက္ကန်.အနည်းငယ်',
  8078. ss: '%d စက္ကန့်',
  8079. m: 'တစ်မိနစ်',
  8080. mm: '%d မိနစ်',
  8081. h: 'တစ်နာရီ',
  8082. hh: '%d နာရီ',
  8083. d: 'တစ်ရက်',
  8084. dd: '%d ရက်',
  8085. M: 'တစ်လ',
  8086. MM: '%d လ',
  8087. y: 'တစ်နှစ်',
  8088. yy: '%d နှစ်',
  8089. },
  8090. preparse: function (string) {
  8091. return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) {
  8092. return numberMap$c[match];
  8093. });
  8094. },
  8095. postformat: function (string) {
  8096. return string.replace(/\d/g, function (match) {
  8097. return symbolMap$d[match];
  8098. });
  8099. },
  8100. week: {
  8101. dow: 1, // Monday is the first day of the week.
  8102. doy: 4, // The week that contains Jan 4th is the first week of the year.
  8103. },
  8104. });
  8105. //! moment.js locale configuration
  8106. moment.defineLocale('nb', {
  8107. months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split(
  8108. '_'
  8109. ),
  8110. monthsShort:
  8111. 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),
  8112. monthsParseExact: true,
  8113. weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
  8114. weekdaysShort: 'sø._ma._ti._on._to._fr._lø.'.split('_'),
  8115. weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),
  8116. weekdaysParseExact: true,
  8117. longDateFormat: {
  8118. LT: 'HH:mm',
  8119. LTS: 'HH:mm:ss',
  8120. L: 'DD.MM.YYYY',
  8121. LL: 'D. MMMM YYYY',
  8122. LLL: 'D. MMMM YYYY [kl.] HH:mm',
  8123. LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm',
  8124. },
  8125. calendar: {
  8126. sameDay: '[i dag kl.] LT',
  8127. nextDay: '[i morgen kl.] LT',
  8128. nextWeek: 'dddd [kl.] LT',
  8129. lastDay: '[i går kl.] LT',
  8130. lastWeek: '[forrige] dddd [kl.] LT',
  8131. sameElse: 'L',
  8132. },
  8133. relativeTime: {
  8134. future: 'om %s',
  8135. past: '%s siden',
  8136. s: 'noen sekunder',
  8137. ss: '%d sekunder',
  8138. m: 'ett minutt',
  8139. mm: '%d minutter',
  8140. h: 'en time',
  8141. hh: '%d timer',
  8142. d: 'en dag',
  8143. dd: '%d dager',
  8144. w: 'en uke',
  8145. ww: '%d uker',
  8146. M: 'en måned',
  8147. MM: '%d måneder',
  8148. y: 'ett år',
  8149. yy: '%d år',
  8150. },
  8151. dayOfMonthOrdinalParse: /\d{1,2}\./,
  8152. ordinal: '%d.',
  8153. week: {
  8154. dow: 1, // Monday is the first day of the week.
  8155. doy: 4, // The week that contains Jan 4th is the first week of the year.
  8156. },
  8157. });
  8158. //! moment.js locale configuration
  8159. var symbolMap$e = {
  8160. 1: '१',
  8161. 2: '२',
  8162. 3: '३',
  8163. 4: '४',
  8164. 5: '५',
  8165. 6: '६',
  8166. 7: '७',
  8167. 8: '८',
  8168. 9: '९',
  8169. 0: '०',
  8170. },
  8171. numberMap$d = {
  8172. '१': '1',
  8173. '२': '2',
  8174. '३': '3',
  8175. '४': '4',
  8176. '५': '5',
  8177. '६': '6',
  8178. '७': '7',
  8179. '८': '8',
  8180. '९': '9',
  8181. '०': '0',
  8182. };
  8183. moment.defineLocale('ne', {
  8184. months: 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split(
  8185. '_'
  8186. ),
  8187. monthsShort:
  8188. 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split(
  8189. '_'
  8190. ),
  8191. monthsParseExact: true,
  8192. weekdays: 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split(
  8193. '_'
  8194. ),
  8195. weekdaysShort: 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'),
  8196. weekdaysMin: 'आ._सो._मं._बु._बि._शु._श.'.split('_'),
  8197. weekdaysParseExact: true,
  8198. longDateFormat: {
  8199. LT: 'Aको h:mm बजे',
  8200. LTS: 'Aको h:mm:ss बजे',
  8201. L: 'DD/MM/YYYY',
  8202. LL: 'D MMMM YYYY',
  8203. LLL: 'D MMMM YYYY, Aको h:mm बजे',
  8204. LLLL: 'dddd, D MMMM YYYY, Aको h:mm बजे',
  8205. },
  8206. preparse: function (string) {
  8207. return string.replace(/[१२३४५६७८९०]/g, function (match) {
  8208. return numberMap$d[match];
  8209. });
  8210. },
  8211. postformat: function (string) {
  8212. return string.replace(/\d/g, function (match) {
  8213. return symbolMap$e[match];
  8214. });
  8215. },
  8216. meridiemParse: /राति|बिहान|दिउँसो|साँझ/,
  8217. meridiemHour: function (hour, meridiem) {
  8218. if (hour === 12) {
  8219. hour = 0;
  8220. }
  8221. if (meridiem === 'राति') {
  8222. return hour < 4 ? hour : hour + 12;
  8223. } else if (meridiem === 'बिहान') {
  8224. return hour;
  8225. } else if (meridiem === 'दिउँसो') {
  8226. return hour >= 10 ? hour : hour + 12;
  8227. } else if (meridiem === 'साँझ') {
  8228. return hour + 12;
  8229. }
  8230. },
  8231. meridiem: function (hour, minute, isLower) {
  8232. if (hour < 3) {
  8233. return 'राति';
  8234. } else if (hour < 12) {
  8235. return 'बिहान';
  8236. } else if (hour < 16) {
  8237. return 'दिउँसो';
  8238. } else if (hour < 20) {
  8239. return 'साँझ';
  8240. } else {
  8241. return 'राति';
  8242. }
  8243. },
  8244. calendar: {
  8245. sameDay: '[आज] LT',
  8246. nextDay: '[भोलि] LT',
  8247. nextWeek: '[आउँदो] dddd[,] LT',
  8248. lastDay: '[हिजो] LT',
  8249. lastWeek: '[गएको] dddd[,] LT',
  8250. sameElse: 'L',
  8251. },
  8252. relativeTime: {
  8253. future: '%sमा',
  8254. past: '%s अगाडि',
  8255. s: 'केही क्षण',
  8256. ss: '%d सेकेण्ड',
  8257. m: 'एक मिनेट',
  8258. mm: '%d मिनेट',
  8259. h: 'एक घण्टा',
  8260. hh: '%d घण्टा',
  8261. d: 'एक दिन',
  8262. dd: '%d दिन',
  8263. M: 'एक महिना',
  8264. MM: '%d महिना',
  8265. y: 'एक बर्ष',
  8266. yy: '%d बर्ष',
  8267. },
  8268. week: {
  8269. dow: 0, // Sunday is the first day of the week.
  8270. doy: 6, // The week that contains Jan 6th is the first week of the year.
  8271. },
  8272. });
  8273. //! moment.js locale configuration
  8274. var monthsShortWithDots$1 =
  8275. 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),
  8276. monthsShortWithoutDots$1 =
  8277. 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'),
  8278. monthsParse$8 = [
  8279. /^jan/i,
  8280. /^feb/i,
  8281. /^maart|mrt.?$/i,
  8282. /^apr/i,
  8283. /^mei$/i,
  8284. /^jun[i.]?$/i,
  8285. /^jul[i.]?$/i,
  8286. /^aug/i,
  8287. /^sep/i,
  8288. /^okt/i,
  8289. /^nov/i,
  8290. /^dec/i,
  8291. ],
  8292. monthsRegex$7 =
  8293. /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;
  8294. moment.defineLocale('nl-be', {
  8295. months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split(
  8296. '_'
  8297. ),
  8298. monthsShort: function (m, format) {
  8299. if (!m) {
  8300. return monthsShortWithDots$1;
  8301. } else if (/-MMM-/.test(format)) {
  8302. return monthsShortWithoutDots$1[m.month()];
  8303. } else {
  8304. return monthsShortWithDots$1[m.month()];
  8305. }
  8306. },
  8307. monthsRegex: monthsRegex$7,
  8308. monthsShortRegex: monthsRegex$7,
  8309. monthsStrictRegex:
  8310. /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,
  8311. monthsShortStrictRegex:
  8312. /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
  8313. monthsParse: monthsParse$8,
  8314. longMonthsParse: monthsParse$8,
  8315. shortMonthsParse: monthsParse$8,
  8316. weekdays:
  8317. 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
  8318. weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),
  8319. weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),
  8320. weekdaysParseExact: true,
  8321. longDateFormat: {
  8322. LT: 'HH:mm',
  8323. LTS: 'HH:mm:ss',
  8324. L: 'DD/MM/YYYY',
  8325. LL: 'D MMMM YYYY',
  8326. LLL: 'D MMMM YYYY HH:mm',
  8327. LLLL: 'dddd D MMMM YYYY HH:mm',
  8328. },
  8329. calendar: {
  8330. sameDay: '[vandaag om] LT',
  8331. nextDay: '[morgen om] LT',
  8332. nextWeek: 'dddd [om] LT',
  8333. lastDay: '[gisteren om] LT',
  8334. lastWeek: '[afgelopen] dddd [om] LT',
  8335. sameElse: 'L',
  8336. },
  8337. relativeTime: {
  8338. future: 'over %s',
  8339. past: '%s geleden',
  8340. s: 'een paar seconden',
  8341. ss: '%d seconden',
  8342. m: 'één minuut',
  8343. mm: '%d minuten',
  8344. h: 'één uur',
  8345. hh: '%d uur',
  8346. d: 'één dag',
  8347. dd: '%d dagen',
  8348. M: 'één maand',
  8349. MM: '%d maanden',
  8350. y: 'één jaar',
  8351. yy: '%d jaar',
  8352. },
  8353. dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
  8354. ordinal: function (number) {
  8355. return (
  8356. number +
  8357. (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')
  8358. );
  8359. },
  8360. week: {
  8361. dow: 1, // Monday is the first day of the week.
  8362. doy: 4, // The week that contains Jan 4th is the first week of the year.
  8363. },
  8364. });
  8365. //! moment.js locale configuration
  8366. var monthsShortWithDots$2 =
  8367. 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),
  8368. monthsShortWithoutDots$2 =
  8369. 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'),
  8370. monthsParse$9 = [
  8371. /^jan/i,
  8372. /^feb/i,
  8373. /^maart|mrt.?$/i,
  8374. /^apr/i,
  8375. /^mei$/i,
  8376. /^jun[i.]?$/i,
  8377. /^jul[i.]?$/i,
  8378. /^aug/i,
  8379. /^sep/i,
  8380. /^okt/i,
  8381. /^nov/i,
  8382. /^dec/i,
  8383. ],
  8384. monthsRegex$8 =
  8385. /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;
  8386. moment.defineLocale('nl', {
  8387. months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split(
  8388. '_'
  8389. ),
  8390. monthsShort: function (m, format) {
  8391. if (!m) {
  8392. return monthsShortWithDots$2;
  8393. } else if (/-MMM-/.test(format)) {
  8394. return monthsShortWithoutDots$2[m.month()];
  8395. } else {
  8396. return monthsShortWithDots$2[m.month()];
  8397. }
  8398. },
  8399. monthsRegex: monthsRegex$8,
  8400. monthsShortRegex: monthsRegex$8,
  8401. monthsStrictRegex:
  8402. /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,
  8403. monthsShortStrictRegex:
  8404. /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
  8405. monthsParse: monthsParse$9,
  8406. longMonthsParse: monthsParse$9,
  8407. shortMonthsParse: monthsParse$9,
  8408. weekdays:
  8409. 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
  8410. weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),
  8411. weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),
  8412. weekdaysParseExact: true,
  8413. longDateFormat: {
  8414. LT: 'HH:mm',
  8415. LTS: 'HH:mm:ss',
  8416. L: 'DD-MM-YYYY',
  8417. LL: 'D MMMM YYYY',
  8418. LLL: 'D MMMM YYYY HH:mm',
  8419. LLLL: 'dddd D MMMM YYYY HH:mm',
  8420. },
  8421. calendar: {
  8422. sameDay: '[vandaag om] LT',
  8423. nextDay: '[morgen om] LT',
  8424. nextWeek: 'dddd [om] LT',
  8425. lastDay: '[gisteren om] LT',
  8426. lastWeek: '[afgelopen] dddd [om] LT',
  8427. sameElse: 'L',
  8428. },
  8429. relativeTime: {
  8430. future: 'over %s',
  8431. past: '%s geleden',
  8432. s: 'een paar seconden',
  8433. ss: '%d seconden',
  8434. m: 'één minuut',
  8435. mm: '%d minuten',
  8436. h: 'één uur',
  8437. hh: '%d uur',
  8438. d: 'één dag',
  8439. dd: '%d dagen',
  8440. w: 'één week',
  8441. ww: '%d weken',
  8442. M: 'één maand',
  8443. MM: '%d maanden',
  8444. y: 'één jaar',
  8445. yy: '%d jaar',
  8446. },
  8447. dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
  8448. ordinal: function (number) {
  8449. return (
  8450. number +
  8451. (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')
  8452. );
  8453. },
  8454. week: {
  8455. dow: 1, // Monday is the first day of the week.
  8456. doy: 4, // The week that contains Jan 4th is the first week of the year.
  8457. },
  8458. });
  8459. //! moment.js locale configuration
  8460. moment.defineLocale('nn', {
  8461. months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split(
  8462. '_'
  8463. ),
  8464. monthsShort:
  8465. 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),
  8466. monthsParseExact: true,
  8467. weekdays: 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'),
  8468. weekdaysShort: 'su._må._ty._on._to._fr._lau.'.split('_'),
  8469. weekdaysMin: 'su_må_ty_on_to_fr_la'.split('_'),
  8470. weekdaysParseExact: true,
  8471. longDateFormat: {
  8472. LT: 'HH:mm',
  8473. LTS: 'HH:mm:ss',
  8474. L: 'DD.MM.YYYY',
  8475. LL: 'D. MMMM YYYY',
  8476. LLL: 'D. MMMM YYYY [kl.] H:mm',
  8477. LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm',
  8478. },
  8479. calendar: {
  8480. sameDay: '[I dag klokka] LT',
  8481. nextDay: '[I morgon klokka] LT',
  8482. nextWeek: 'dddd [klokka] LT',
  8483. lastDay: '[I går klokka] LT',
  8484. lastWeek: '[Føregåande] dddd [klokka] LT',
  8485. sameElse: 'L',
  8486. },
  8487. relativeTime: {
  8488. future: 'om %s',
  8489. past: '%s sidan',
  8490. s: 'nokre sekund',
  8491. ss: '%d sekund',
  8492. m: 'eit minutt',
  8493. mm: '%d minutt',
  8494. h: 'ein time',
  8495. hh: '%d timar',
  8496. d: 'ein dag',
  8497. dd: '%d dagar',
  8498. w: 'ei veke',
  8499. ww: '%d veker',
  8500. M: 'ein månad',
  8501. MM: '%d månader',
  8502. y: 'eit år',
  8503. yy: '%d år',
  8504. },
  8505. dayOfMonthOrdinalParse: /\d{1,2}\./,
  8506. ordinal: '%d.',
  8507. week: {
  8508. dow: 1, // Monday is the first day of the week.
  8509. doy: 4, // The week that contains Jan 4th is the first week of the year.
  8510. },
  8511. });
  8512. //! moment.js locale configuration
  8513. moment.defineLocale('oc-lnc', {
  8514. months: {
  8515. standalone:
  8516. 'genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre'.split(
  8517. '_'
  8518. ),
  8519. format: "de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split(
  8520. '_'
  8521. ),
  8522. isFormat: /D[oD]?(\s)+MMMM/,
  8523. },
  8524. monthsShort:
  8525. 'gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.'.split(
  8526. '_'
  8527. ),
  8528. monthsParseExact: true,
  8529. weekdays: 'dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte'.split(
  8530. '_'
  8531. ),
  8532. weekdaysShort: 'dg._dl._dm._dc._dj._dv._ds.'.split('_'),
  8533. weekdaysMin: 'dg_dl_dm_dc_dj_dv_ds'.split('_'),
  8534. weekdaysParseExact: true,
  8535. longDateFormat: {
  8536. LT: 'H:mm',
  8537. LTS: 'H:mm:ss',
  8538. L: 'DD/MM/YYYY',
  8539. LL: 'D MMMM [de] YYYY',
  8540. ll: 'D MMM YYYY',
  8541. LLL: 'D MMMM [de] YYYY [a] H:mm',
  8542. lll: 'D MMM YYYY, H:mm',
  8543. LLLL: 'dddd D MMMM [de] YYYY [a] H:mm',
  8544. llll: 'ddd D MMM YYYY, H:mm',
  8545. },
  8546. calendar: {
  8547. sameDay: '[uèi a] LT',
  8548. nextDay: '[deman a] LT',
  8549. nextWeek: 'dddd [a] LT',
  8550. lastDay: '[ièr a] LT',
  8551. lastWeek: 'dddd [passat a] LT',
  8552. sameElse: 'L',
  8553. },
  8554. relativeTime: {
  8555. future: "d'aquí %s",
  8556. past: 'fa %s',
  8557. s: 'unas segondas',
  8558. ss: '%d segondas',
  8559. m: 'una minuta',
  8560. mm: '%d minutas',
  8561. h: 'una ora',
  8562. hh: '%d oras',
  8563. d: 'un jorn',
  8564. dd: '%d jorns',
  8565. M: 'un mes',
  8566. MM: '%d meses',
  8567. y: 'un an',
  8568. yy: '%d ans',
  8569. },
  8570. dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/,
  8571. ordinal: function (number, period) {
  8572. var output =
  8573. number === 1
  8574. ? 'r'
  8575. : number === 2
  8576. ? 'n'
  8577. : number === 3
  8578. ? 'r'
  8579. : number === 4
  8580. ? 't'
  8581. : 'è';
  8582. if (period === 'w' || period === 'W') {
  8583. output = 'a';
  8584. }
  8585. return number + output;
  8586. },
  8587. week: {
  8588. dow: 1, // Monday is the first day of the week.
  8589. doy: 4,
  8590. },
  8591. });
  8592. //! moment.js locale configuration
  8593. var symbolMap$f = {
  8594. 1: '੧',
  8595. 2: '੨',
  8596. 3: '੩',
  8597. 4: '੪',
  8598. 5: '੫',
  8599. 6: '੬',
  8600. 7: '੭',
  8601. 8: '੮',
  8602. 9: '੯',
  8603. 0: '੦',
  8604. },
  8605. numberMap$e = {
  8606. '੧': '1',
  8607. '੨': '2',
  8608. '੩': '3',
  8609. '੪': '4',
  8610. '੫': '5',
  8611. '੬': '6',
  8612. '੭': '7',
  8613. '੮': '8',
  8614. '੯': '9',
  8615. '੦': '0',
  8616. };
  8617. moment.defineLocale('pa-in', {
  8618. // There are months name as per Nanakshahi Calendar but they are not used as rigidly in modern Punjabi.
  8619. months: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split(
  8620. '_'
  8621. ),
  8622. monthsShort:
  8623. 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split(
  8624. '_'
  8625. ),
  8626. weekdays: 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split(
  8627. '_'
  8628. ),
  8629. weekdaysShort: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),
  8630. weekdaysMin: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),
  8631. longDateFormat: {
  8632. LT: 'A h:mm ਵਜੇ',
  8633. LTS: 'A h:mm:ss ਵਜੇ',
  8634. L: 'DD/MM/YYYY',
  8635. LL: 'D MMMM YYYY',
  8636. LLL: 'D MMMM YYYY, A h:mm ਵਜੇ',
  8637. LLLL: 'dddd, D MMMM YYYY, A h:mm ਵਜੇ',
  8638. },
  8639. calendar: {
  8640. sameDay: '[ਅਜ] LT',
  8641. nextDay: '[ਕਲ] LT',
  8642. nextWeek: '[ਅਗਲਾ] dddd, LT',
  8643. lastDay: '[ਕਲ] LT',
  8644. lastWeek: '[ਪਿਛਲੇ] dddd, LT',
  8645. sameElse: 'L',
  8646. },
  8647. relativeTime: {
  8648. future: '%s ਵਿੱਚ',
  8649. past: '%s ਪਿਛਲੇ',
  8650. s: 'ਕੁਝ ਸਕਿੰਟ',
  8651. ss: '%d ਸਕਿੰਟ',
  8652. m: 'ਇਕ ਮਿੰਟ',
  8653. mm: '%d ਮਿੰਟ',
  8654. h: 'ਇੱਕ ਘੰਟਾ',
  8655. hh: '%d ਘੰਟੇ',
  8656. d: 'ਇੱਕ ਦਿਨ',
  8657. dd: '%d ਦਿਨ',
  8658. M: 'ਇੱਕ ਮਹੀਨਾ',
  8659. MM: '%d ਮਹੀਨੇ',
  8660. y: 'ਇੱਕ ਸਾਲ',
  8661. yy: '%d ਸਾਲ',
  8662. },
  8663. preparse: function (string) {
  8664. return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (match) {
  8665. return numberMap$e[match];
  8666. });
  8667. },
  8668. postformat: function (string) {
  8669. return string.replace(/\d/g, function (match) {
  8670. return symbolMap$f[match];
  8671. });
  8672. },
  8673. // Punjabi notation for meridiems are quite fuzzy in practice. While there exists
  8674. // a rigid notion of a 'Pahar' it is not used as rigidly in modern Punjabi.
  8675. meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,
  8676. meridiemHour: function (hour, meridiem) {
  8677. if (hour === 12) {
  8678. hour = 0;
  8679. }
  8680. if (meridiem === 'ਰਾਤ') {
  8681. return hour < 4 ? hour : hour + 12;
  8682. } else if (meridiem === 'ਸਵੇਰ') {
  8683. return hour;
  8684. } else if (meridiem === 'ਦੁਪਹਿਰ') {
  8685. return hour >= 10 ? hour : hour + 12;
  8686. } else if (meridiem === 'ਸ਼ਾਮ') {
  8687. return hour + 12;
  8688. }
  8689. },
  8690. meridiem: function (hour, minute, isLower) {
  8691. if (hour < 4) {
  8692. return 'ਰਾਤ';
  8693. } else if (hour < 10) {
  8694. return 'ਸਵੇਰ';
  8695. } else if (hour < 17) {
  8696. return 'ਦੁਪਹਿਰ';
  8697. } else if (hour < 20) {
  8698. return 'ਸ਼ਾਮ';
  8699. } else {
  8700. return 'ਰਾਤ';
  8701. }
  8702. },
  8703. week: {
  8704. dow: 0, // Sunday is the first day of the week.
  8705. doy: 6, // The week that contains Jan 6th is the first week of the year.
  8706. },
  8707. });
  8708. //! moment.js locale configuration
  8709. var monthsNominative =
  8710. 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split(
  8711. '_'
  8712. ),
  8713. monthsSubjective =
  8714. 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split(
  8715. '_'
  8716. ),
  8717. monthsParse$a = [
  8718. /^sty/i,
  8719. /^lut/i,
  8720. /^mar/i,
  8721. /^kwi/i,
  8722. /^maj/i,
  8723. /^cze/i,
  8724. /^lip/i,
  8725. /^sie/i,
  8726. /^wrz/i,
  8727. /^paź/i,
  8728. /^lis/i,
  8729. /^gru/i,
  8730. ];
  8731. function plural$3(n) {
  8732. return n % 10 < 5 && n % 10 > 1 && ~~(n / 10) % 10 !== 1;
  8733. }
  8734. function translate$8(number, withoutSuffix, key) {
  8735. var result = number + ' ';
  8736. switch (key) {
  8737. case 'ss':
  8738. return result + (plural$3(number) ? 'sekundy' : 'sekund');
  8739. case 'm':
  8740. return withoutSuffix ? 'minuta' : 'minutę';
  8741. case 'mm':
  8742. return result + (plural$3(number) ? 'minuty' : 'minut');
  8743. case 'h':
  8744. return withoutSuffix ? 'godzina' : 'godzinę';
  8745. case 'hh':
  8746. return result + (plural$3(number) ? 'godziny' : 'godzin');
  8747. case 'ww':
  8748. return result + (plural$3(number) ? 'tygodnie' : 'tygodni');
  8749. case 'MM':
  8750. return result + (plural$3(number) ? 'miesiące' : 'miesięcy');
  8751. case 'yy':
  8752. return result + (plural$3(number) ? 'lata' : 'lat');
  8753. }
  8754. }
  8755. moment.defineLocale('pl', {
  8756. months: function (momentToFormat, format) {
  8757. if (!momentToFormat) {
  8758. return monthsNominative;
  8759. } else if (/D MMMM/.test(format)) {
  8760. return monthsSubjective[momentToFormat.month()];
  8761. } else {
  8762. return monthsNominative[momentToFormat.month()];
  8763. }
  8764. },
  8765. monthsShort: 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'),
  8766. monthsParse: monthsParse$a,
  8767. longMonthsParse: monthsParse$a,
  8768. shortMonthsParse: monthsParse$a,
  8769. weekdays:
  8770. 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split('_'),
  8771. weekdaysShort: 'ndz_pon_wt_śr_czw_pt_sob'.split('_'),
  8772. weekdaysMin: 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'),
  8773. longDateFormat: {
  8774. LT: 'HH:mm',
  8775. LTS: 'HH:mm:ss',
  8776. L: 'DD.MM.YYYY',
  8777. LL: 'D MMMM YYYY',
  8778. LLL: 'D MMMM YYYY HH:mm',
  8779. LLLL: 'dddd, D MMMM YYYY HH:mm',
  8780. },
  8781. calendar: {
  8782. sameDay: '[Dziś o] LT',
  8783. nextDay: '[Jutro o] LT',
  8784. nextWeek: function () {
  8785. switch (this.day()) {
  8786. case 0:
  8787. return '[W niedzielę o] LT';
  8788. case 2:
  8789. return '[We wtorek o] LT';
  8790. case 3:
  8791. return '[W środę o] LT';
  8792. case 6:
  8793. return '[W sobotę o] LT';
  8794. default:
  8795. return '[W] dddd [o] LT';
  8796. }
  8797. },
  8798. lastDay: '[Wczoraj o] LT',
  8799. lastWeek: function () {
  8800. switch (this.day()) {
  8801. case 0:
  8802. return '[W zeszłą niedzielę o] LT';
  8803. case 3:
  8804. return '[W zeszłą środę o] LT';
  8805. case 6:
  8806. return '[W zeszłą sobotę o] LT';
  8807. default:
  8808. return '[W zeszły] dddd [o] LT';
  8809. }
  8810. },
  8811. sameElse: 'L',
  8812. },
  8813. relativeTime: {
  8814. future: 'za %s',
  8815. past: '%s temu',
  8816. s: 'kilka sekund',
  8817. ss: translate$8,
  8818. m: translate$8,
  8819. mm: translate$8,
  8820. h: translate$8,
  8821. hh: translate$8,
  8822. d: '1 dzień',
  8823. dd: '%d dni',
  8824. w: 'tydzień',
  8825. ww: translate$8,
  8826. M: 'miesiąc',
  8827. MM: translate$8,
  8828. y: 'rok',
  8829. yy: translate$8,
  8830. },
  8831. dayOfMonthOrdinalParse: /\d{1,2}\./,
  8832. ordinal: '%d.',
  8833. week: {
  8834. dow: 1, // Monday is the first day of the week.
  8835. doy: 4, // The week that contains Jan 4th is the first week of the year.
  8836. },
  8837. });
  8838. //! moment.js locale configuration
  8839. moment.defineLocale('pt-br', {
  8840. months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split(
  8841. '_'
  8842. ),
  8843. monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),
  8844. weekdays:
  8845. 'domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado'.split(
  8846. '_'
  8847. ),
  8848. weekdaysShort: 'dom_seg_ter_qua_qui_sex_sáb'.split('_'),
  8849. weekdaysMin: 'do_2ª_3ª_4ª_5ª_6ª_sá'.split('_'),
  8850. weekdaysParseExact: true,
  8851. longDateFormat: {
  8852. LT: 'HH:mm',
  8853. LTS: 'HH:mm:ss',
  8854. L: 'DD/MM/YYYY',
  8855. LL: 'D [de] MMMM [de] YYYY',
  8856. LLL: 'D [de] MMMM [de] YYYY [às] HH:mm',
  8857. LLLL: 'dddd, D [de] MMMM [de] YYYY [às] HH:mm',
  8858. },
  8859. calendar: {
  8860. sameDay: '[Hoje às] LT',
  8861. nextDay: '[Amanhã às] LT',
  8862. nextWeek: 'dddd [às] LT',
  8863. lastDay: '[Ontem às] LT',
  8864. lastWeek: function () {
  8865. return this.day() === 0 || this.day() === 6
  8866. ? '[Último] dddd [às] LT' // Saturday + Sunday
  8867. : '[Última] dddd [às] LT'; // Monday - Friday
  8868. },
  8869. sameElse: 'L',
  8870. },
  8871. relativeTime: {
  8872. future: 'em %s',
  8873. past: 'há %s',
  8874. s: 'poucos segundos',
  8875. ss: '%d segundos',
  8876. m: 'um minuto',
  8877. mm: '%d minutos',
  8878. h: 'uma hora',
  8879. hh: '%d horas',
  8880. d: 'um dia',
  8881. dd: '%d dias',
  8882. M: 'um mês',
  8883. MM: '%d meses',
  8884. y: 'um ano',
  8885. yy: '%d anos',
  8886. },
  8887. dayOfMonthOrdinalParse: /\d{1,2}º/,
  8888. ordinal: '%dº',
  8889. invalidDate: 'Data inválida',
  8890. });
  8891. //! moment.js locale configuration
  8892. moment.defineLocale('pt', {
  8893. months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split(
  8894. '_'
  8895. ),
  8896. monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),
  8897. weekdays:
  8898. 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split(
  8899. '_'
  8900. ),
  8901. weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),
  8902. weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),
  8903. weekdaysParseExact: true,
  8904. longDateFormat: {
  8905. LT: 'HH:mm',
  8906. LTS: 'HH:mm:ss',
  8907. L: 'DD/MM/YYYY',
  8908. LL: 'D [de] MMMM [de] YYYY',
  8909. LLL: 'D [de] MMMM [de] YYYY HH:mm',
  8910. LLLL: 'dddd, D [de] MMMM [de] YYYY HH:mm',
  8911. },
  8912. calendar: {
  8913. sameDay: '[Hoje às] LT',
  8914. nextDay: '[Amanhã às] LT',
  8915. nextWeek: 'dddd [às] LT',
  8916. lastDay: '[Ontem às] LT',
  8917. lastWeek: function () {
  8918. return this.day() === 0 || this.day() === 6
  8919. ? '[Último] dddd [às] LT' // Saturday + Sunday
  8920. : '[Última] dddd [às] LT'; // Monday - Friday
  8921. },
  8922. sameElse: 'L',
  8923. },
  8924. relativeTime: {
  8925. future: 'em %s',
  8926. past: 'há %s',
  8927. s: 'segundos',
  8928. ss: '%d segundos',
  8929. m: 'um minuto',
  8930. mm: '%d minutos',
  8931. h: 'uma hora',
  8932. hh: '%d horas',
  8933. d: 'um dia',
  8934. dd: '%d dias',
  8935. w: 'uma semana',
  8936. ww: '%d semanas',
  8937. M: 'um mês',
  8938. MM: '%d meses',
  8939. y: 'um ano',
  8940. yy: '%d anos',
  8941. },
  8942. dayOfMonthOrdinalParse: /\d{1,2}º/,
  8943. ordinal: '%dº',
  8944. week: {
  8945. dow: 1, // Monday is the first day of the week.
  8946. doy: 4, // The week that contains Jan 4th is the first week of the year.
  8947. },
  8948. });
  8949. //! moment.js locale configuration
  8950. function relativeTimeWithPlural$2(number, withoutSuffix, key) {
  8951. var format = {
  8952. ss: 'secunde',
  8953. mm: 'minute',
  8954. hh: 'ore',
  8955. dd: 'zile',
  8956. ww: 'săptămâni',
  8957. MM: 'luni',
  8958. yy: 'ani',
  8959. },
  8960. separator = ' ';
  8961. if (number % 100 >= 20 || (number >= 100 && number % 100 === 0)) {
  8962. separator = ' de ';
  8963. }
  8964. return number + separator + format[key];
  8965. }
  8966. moment.defineLocale('ro', {
  8967. months: 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split(
  8968. '_'
  8969. ),
  8970. monthsShort:
  8971. 'ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split(
  8972. '_'
  8973. ),
  8974. monthsParseExact: true,
  8975. weekdays: 'duminică_luni_marți_miercuri_joi_vineri_sâmbătă'.split('_'),
  8976. weekdaysShort: 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'),
  8977. weekdaysMin: 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'),
  8978. longDateFormat: {
  8979. LT: 'H:mm',
  8980. LTS: 'H:mm:ss',
  8981. L: 'DD.MM.YYYY',
  8982. LL: 'D MMMM YYYY',
  8983. LLL: 'D MMMM YYYY H:mm',
  8984. LLLL: 'dddd, D MMMM YYYY H:mm',
  8985. },
  8986. calendar: {
  8987. sameDay: '[azi la] LT',
  8988. nextDay: '[mâine la] LT',
  8989. nextWeek: 'dddd [la] LT',
  8990. lastDay: '[ieri la] LT',
  8991. lastWeek: '[fosta] dddd [la] LT',
  8992. sameElse: 'L',
  8993. },
  8994. relativeTime: {
  8995. future: 'peste %s',
  8996. past: '%s în urmă',
  8997. s: 'câteva secunde',
  8998. ss: relativeTimeWithPlural$2,
  8999. m: 'un minut',
  9000. mm: relativeTimeWithPlural$2,
  9001. h: 'o oră',
  9002. hh: relativeTimeWithPlural$2,
  9003. d: 'o zi',
  9004. dd: relativeTimeWithPlural$2,
  9005. w: 'o săptămână',
  9006. ww: relativeTimeWithPlural$2,
  9007. M: 'o lună',
  9008. MM: relativeTimeWithPlural$2,
  9009. y: 'un an',
  9010. yy: relativeTimeWithPlural$2,
  9011. },
  9012. week: {
  9013. dow: 1, // Monday is the first day of the week.
  9014. doy: 7, // The week that contains Jan 7th is the first week of the year.
  9015. },
  9016. });
  9017. //! moment.js locale configuration
  9018. function plural$4(word, num) {
  9019. var forms = word.split('_');
  9020. return num % 10 === 1 && num % 100 !== 11
  9021. ? forms[0]
  9022. : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)
  9023. ? forms[1]
  9024. : forms[2];
  9025. }
  9026. function relativeTimeWithPlural$3(number, withoutSuffix, key) {
  9027. var format = {
  9028. ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',
  9029. mm: withoutSuffix ? 'минута_минуты_минут' : 'минуту_минуты_минут',
  9030. hh: 'час_часа_часов',
  9031. dd: 'день_дня_дней',
  9032. ww: 'неделя_недели_недель',
  9033. MM: 'месяц_месяца_месяцев',
  9034. yy: 'год_года_лет',
  9035. };
  9036. if (key === 'm') {
  9037. return withoutSuffix ? 'минута' : 'минуту';
  9038. } else {
  9039. return number + ' ' + plural$4(format[key], +number);
  9040. }
  9041. }
  9042. var monthsParse$b = [
  9043. /^янв/i,
  9044. /^фев/i,
  9045. /^мар/i,
  9046. /^апр/i,
  9047. /^ма[йя]/i,
  9048. /^июн/i,
  9049. /^июл/i,
  9050. /^авг/i,
  9051. /^сен/i,
  9052. /^окт/i,
  9053. /^ноя/i,
  9054. /^дек/i,
  9055. ];
  9056. // http://new.gramota.ru/spravka/rules/139-prop : § 103
  9057. // Сокращения месяцев: http://new.gramota.ru/spravka/buro/search-answer?s=242637
  9058. // CLDR data: http://www.unicode.org/cldr/charts/28/summary/ru.html#1753
  9059. moment.defineLocale('ru', {
  9060. months: {
  9061. format: 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split(
  9062. '_'
  9063. ),
  9064. standalone:
  9065. 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split(
  9066. '_'
  9067. ),
  9068. },
  9069. monthsShort: {
  9070. // по CLDR именно "июл." и "июн.", но какой смысл менять букву на точку?
  9071. format: 'янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.'.split(
  9072. '_'
  9073. ),
  9074. standalone:
  9075. 'янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.'.split(
  9076. '_'
  9077. ),
  9078. },
  9079. weekdays: {
  9080. standalone:
  9081. 'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split(
  9082. '_'
  9083. ),
  9084. format: 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split(
  9085. '_'
  9086. ),
  9087. isFormat: /\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/,
  9088. },
  9089. weekdaysShort: 'вс_пн_вт_ср_чт_пт_сб'.split('_'),
  9090. weekdaysMin: 'вс_пн_вт_ср_чт_пт_сб'.split('_'),
  9091. monthsParse: monthsParse$b,
  9092. longMonthsParse: monthsParse$b,
  9093. shortMonthsParse: monthsParse$b,
  9094. // полные названия с падежами, по три буквы, для некоторых, по 4 буквы, сокращения с точкой и без точки
  9095. monthsRegex:
  9096. /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,
  9097. // копия предыдущего
  9098. monthsShortRegex:
  9099. /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,
  9100. // полные названия с падежами
  9101. monthsStrictRegex:
  9102. /^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,
  9103. // Выражение, которое соответствует только сокращённым формам
  9104. monthsShortStrictRegex:
  9105. /^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,
  9106. longDateFormat: {
  9107. LT: 'H:mm',
  9108. LTS: 'H:mm:ss',
  9109. L: 'DD.MM.YYYY',
  9110. LL: 'D MMMM YYYY г.',
  9111. LLL: 'D MMMM YYYY г., H:mm',
  9112. LLLL: 'dddd, D MMMM YYYY г., H:mm',
  9113. },
  9114. calendar: {
  9115. sameDay: '[Сегодня, в] LT',
  9116. nextDay: '[Завтра, в] LT',
  9117. lastDay: '[Вчера, в] LT',
  9118. nextWeek: function (now) {
  9119. if (now.week() !== this.week()) {
  9120. switch (this.day()) {
  9121. case 0:
  9122. return '[В следующее] dddd, [в] LT';
  9123. case 1:
  9124. case 2:
  9125. case 4:
  9126. return '[В следующий] dddd, [в] LT';
  9127. case 3:
  9128. case 5:
  9129. case 6:
  9130. return '[В следующую] dddd, [в] LT';
  9131. }
  9132. } else {
  9133. if (this.day() === 2) {
  9134. return '[Во] dddd, [в] LT';
  9135. } else {
  9136. return '[В] dddd, [в] LT';
  9137. }
  9138. }
  9139. },
  9140. lastWeek: function (now) {
  9141. if (now.week() !== this.week()) {
  9142. switch (this.day()) {
  9143. case 0:
  9144. return '[В прошлое] dddd, [в] LT';
  9145. case 1:
  9146. case 2:
  9147. case 4:
  9148. return '[В прошлый] dddd, [в] LT';
  9149. case 3:
  9150. case 5:
  9151. case 6:
  9152. return '[В прошлую] dddd, [в] LT';
  9153. }
  9154. } else {
  9155. if (this.day() === 2) {
  9156. return '[Во] dddd, [в] LT';
  9157. } else {
  9158. return '[В] dddd, [в] LT';
  9159. }
  9160. }
  9161. },
  9162. sameElse: 'L',
  9163. },
  9164. relativeTime: {
  9165. future: 'через %s',
  9166. past: '%s назад',
  9167. s: 'несколько секунд',
  9168. ss: relativeTimeWithPlural$3,
  9169. m: relativeTimeWithPlural$3,
  9170. mm: relativeTimeWithPlural$3,
  9171. h: 'час',
  9172. hh: relativeTimeWithPlural$3,
  9173. d: 'день',
  9174. dd: relativeTimeWithPlural$3,
  9175. w: 'неделя',
  9176. ww: relativeTimeWithPlural$3,
  9177. M: 'месяц',
  9178. MM: relativeTimeWithPlural$3,
  9179. y: 'год',
  9180. yy: relativeTimeWithPlural$3,
  9181. },
  9182. meridiemParse: /ночи|утра|дня|вечера/i,
  9183. isPM: function (input) {
  9184. return /^(дня|вечера)$/.test(input);
  9185. },
  9186. meridiem: function (hour, minute, isLower) {
  9187. if (hour < 4) {
  9188. return 'ночи';
  9189. } else if (hour < 12) {
  9190. return 'утра';
  9191. } else if (hour < 17) {
  9192. return 'дня';
  9193. } else {
  9194. return 'вечера';
  9195. }
  9196. },
  9197. dayOfMonthOrdinalParse: /\d{1,2}-(й|го|я)/,
  9198. ordinal: function (number, period) {
  9199. switch (period) {
  9200. case 'M':
  9201. case 'd':
  9202. case 'DDD':
  9203. return number + '-й';
  9204. case 'D':
  9205. return number + '-го';
  9206. case 'w':
  9207. case 'W':
  9208. return number + '-я';
  9209. default:
  9210. return number;
  9211. }
  9212. },
  9213. week: {
  9214. dow: 1, // Monday is the first day of the week.
  9215. doy: 4, // The week that contains Jan 4th is the first week of the year.
  9216. },
  9217. });
  9218. //! moment.js locale configuration
  9219. var months$8 = [
  9220. 'جنوري',
  9221. 'فيبروري',
  9222. 'مارچ',
  9223. 'اپريل',
  9224. 'مئي',
  9225. 'جون',
  9226. 'جولاءِ',
  9227. 'آگسٽ',
  9228. 'سيپٽمبر',
  9229. 'آڪٽوبر',
  9230. 'نومبر',
  9231. 'ڊسمبر',
  9232. ],
  9233. days = ['آچر', 'سومر', 'اڱارو', 'اربع', 'خميس', 'جمع', 'ڇنڇر'];
  9234. moment.defineLocale('sd', {
  9235. months: months$8,
  9236. monthsShort: months$8,
  9237. weekdays: days,
  9238. weekdaysShort: days,
  9239. weekdaysMin: days,
  9240. longDateFormat: {
  9241. LT: 'HH:mm',
  9242. LTS: 'HH:mm:ss',
  9243. L: 'DD/MM/YYYY',
  9244. LL: 'D MMMM YYYY',
  9245. LLL: 'D MMMM YYYY HH:mm',
  9246. LLLL: 'dddd، D MMMM YYYY HH:mm',
  9247. },
  9248. meridiemParse: /صبح|شام/,
  9249. isPM: function (input) {
  9250. return 'شام' === input;
  9251. },
  9252. meridiem: function (hour, minute, isLower) {
  9253. if (hour < 12) {
  9254. return 'صبح';
  9255. }
  9256. return 'شام';
  9257. },
  9258. calendar: {
  9259. sameDay: '[اڄ] LT',
  9260. nextDay: '[سڀاڻي] LT',
  9261. nextWeek: 'dddd [اڳين هفتي تي] LT',
  9262. lastDay: '[ڪالهه] LT',
  9263. lastWeek: '[گزريل هفتي] dddd [تي] LT',
  9264. sameElse: 'L',
  9265. },
  9266. relativeTime: {
  9267. future: '%s پوء',
  9268. past: '%s اڳ',
  9269. s: 'چند سيڪنڊ',
  9270. ss: '%d سيڪنڊ',
  9271. m: 'هڪ منٽ',
  9272. mm: '%d منٽ',
  9273. h: 'هڪ ڪلاڪ',
  9274. hh: '%d ڪلاڪ',
  9275. d: 'هڪ ڏينهن',
  9276. dd: '%d ڏينهن',
  9277. M: 'هڪ مهينو',
  9278. MM: '%d مهينا',
  9279. y: 'هڪ سال',
  9280. yy: '%d سال',
  9281. },
  9282. preparse: function (string) {
  9283. return string.replace(/،/g, ',');
  9284. },
  9285. postformat: function (string) {
  9286. return string.replace(/,/g, '،');
  9287. },
  9288. week: {
  9289. dow: 1, // Monday is the first day of the week.
  9290. doy: 4, // The week that contains Jan 4th is the first week of the year.
  9291. },
  9292. });
  9293. //! moment.js locale configuration
  9294. moment.defineLocale('se', {
  9295. months: 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split(
  9296. '_'
  9297. ),
  9298. monthsShort:
  9299. 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split('_'),
  9300. weekdays:
  9301. 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split(
  9302. '_'
  9303. ),
  9304. weekdaysShort: 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'),
  9305. weekdaysMin: 's_v_m_g_d_b_L'.split('_'),
  9306. longDateFormat: {
  9307. LT: 'HH:mm',
  9308. LTS: 'HH:mm:ss',
  9309. L: 'DD.MM.YYYY',
  9310. LL: 'MMMM D. [b.] YYYY',
  9311. LLL: 'MMMM D. [b.] YYYY [ti.] HH:mm',
  9312. LLLL: 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm',
  9313. },
  9314. calendar: {
  9315. sameDay: '[otne ti] LT',
  9316. nextDay: '[ihttin ti] LT',
  9317. nextWeek: 'dddd [ti] LT',
  9318. lastDay: '[ikte ti] LT',
  9319. lastWeek: '[ovddit] dddd [ti] LT',
  9320. sameElse: 'L',
  9321. },
  9322. relativeTime: {
  9323. future: '%s geažes',
  9324. past: 'maŋit %s',
  9325. s: 'moadde sekunddat',
  9326. ss: '%d sekunddat',
  9327. m: 'okta minuhta',
  9328. mm: '%d minuhtat',
  9329. h: 'okta diimmu',
  9330. hh: '%d diimmut',
  9331. d: 'okta beaivi',
  9332. dd: '%d beaivvit',
  9333. M: 'okta mánnu',
  9334. MM: '%d mánut',
  9335. y: 'okta jahki',
  9336. yy: '%d jagit',
  9337. },
  9338. dayOfMonthOrdinalParse: /\d{1,2}\./,
  9339. ordinal: '%d.',
  9340. week: {
  9341. dow: 1, // Monday is the first day of the week.
  9342. doy: 4, // The week that contains Jan 4th is the first week of the year.
  9343. },
  9344. });
  9345. //! moment.js locale configuration
  9346. /*jshint -W100*/
  9347. moment.defineLocale('si', {
  9348. months: 'ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්'.split(
  9349. '_'
  9350. ),
  9351. monthsShort: 'ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ'.split(
  9352. '_'
  9353. ),
  9354. weekdays:
  9355. 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split(
  9356. '_'
  9357. ),
  9358. weekdaysShort: 'ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන'.split('_'),
  9359. weekdaysMin: 'ඉ_ස_අ_බ_බ්‍ර_සි_සෙ'.split('_'),
  9360. weekdaysParseExact: true,
  9361. longDateFormat: {
  9362. LT: 'a h:mm',
  9363. LTS: 'a h:mm:ss',
  9364. L: 'YYYY/MM/DD',
  9365. LL: 'YYYY MMMM D',
  9366. LLL: 'YYYY MMMM D, a h:mm',
  9367. LLLL: 'YYYY MMMM D [වැනි] dddd, a h:mm:ss',
  9368. },
  9369. calendar: {
  9370. sameDay: '[අද] LT[ට]',
  9371. nextDay: '[හෙට] LT[ට]',
  9372. nextWeek: 'dddd LT[ට]',
  9373. lastDay: '[ඊයේ] LT[ට]',
  9374. lastWeek: '[පසුගිය] dddd LT[ට]',
  9375. sameElse: 'L',
  9376. },
  9377. relativeTime: {
  9378. future: '%sකින්',
  9379. past: '%sකට පෙර',
  9380. s: 'තත්පර කිහිපය',
  9381. ss: 'තත්පර %d',
  9382. m: 'මිනිත්තුව',
  9383. mm: 'මිනිත්තු %d',
  9384. h: 'පැය',
  9385. hh: 'පැය %d',
  9386. d: 'දිනය',
  9387. dd: 'දින %d',
  9388. M: 'මාසය',
  9389. MM: 'මාස %d',
  9390. y: 'වසර',
  9391. yy: 'වසර %d',
  9392. },
  9393. dayOfMonthOrdinalParse: /\d{1,2} වැනි/,
  9394. ordinal: function (number) {
  9395. return number + ' වැනි';
  9396. },
  9397. meridiemParse: /පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,
  9398. isPM: function (input) {
  9399. return input === 'ප.ව.' || input === 'පස් වරු';
  9400. },
  9401. meridiem: function (hours, minutes, isLower) {
  9402. if (hours > 11) {
  9403. return isLower ? 'ප.ව.' : 'පස් වරු';
  9404. } else {
  9405. return isLower ? 'පෙ.ව.' : 'පෙර වරු';
  9406. }
  9407. },
  9408. });
  9409. //! moment.js locale configuration
  9410. var months$9 =
  9411. 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split(
  9412. '_'
  9413. ),
  9414. monthsShort$7 = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_');
  9415. function plural$5(n) {
  9416. return n > 1 && n < 5;
  9417. }
  9418. function translate$9(number, withoutSuffix, key, isFuture) {
  9419. var result = number + ' ';
  9420. switch (key) {
  9421. case 's': // a few seconds / in a few seconds / a few seconds ago
  9422. return withoutSuffix || isFuture ? 'pár sekúnd' : 'pár sekundami';
  9423. case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago
  9424. if (withoutSuffix || isFuture) {
  9425. return result + (plural$5(number) ? 'sekundy' : 'sekúnd');
  9426. } else {
  9427. return result + 'sekundami';
  9428. }
  9429. case 'm': // a minute / in a minute / a minute ago
  9430. return withoutSuffix ? 'minúta' : isFuture ? 'minútu' : 'minútou';
  9431. case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago
  9432. if (withoutSuffix || isFuture) {
  9433. return result + (plural$5(number) ? 'minúty' : 'minút');
  9434. } else {
  9435. return result + 'minútami';
  9436. }
  9437. case 'h': // an hour / in an hour / an hour ago
  9438. return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';
  9439. case 'hh': // 9 hours / in 9 hours / 9 hours ago
  9440. if (withoutSuffix || isFuture) {
  9441. return result + (plural$5(number) ? 'hodiny' : 'hodín');
  9442. } else {
  9443. return result + 'hodinami';
  9444. }
  9445. case 'd': // a day / in a day / a day ago
  9446. return withoutSuffix || isFuture ? 'deň' : 'dňom';
  9447. case 'dd': // 9 days / in 9 days / 9 days ago
  9448. if (withoutSuffix || isFuture) {
  9449. return result + (plural$5(number) ? 'dni' : 'dní');
  9450. } else {
  9451. return result + 'dňami';
  9452. }
  9453. case 'M': // a month / in a month / a month ago
  9454. return withoutSuffix || isFuture ? 'mesiac' : 'mesiacom';
  9455. case 'MM': // 9 months / in 9 months / 9 months ago
  9456. if (withoutSuffix || isFuture) {
  9457. return result + (plural$5(number) ? 'mesiace' : 'mesiacov');
  9458. } else {
  9459. return result + 'mesiacmi';
  9460. }
  9461. case 'y': // a year / in a year / a year ago
  9462. return withoutSuffix || isFuture ? 'rok' : 'rokom';
  9463. case 'yy': // 9 years / in 9 years / 9 years ago
  9464. if (withoutSuffix || isFuture) {
  9465. return result + (plural$5(number) ? 'roky' : 'rokov');
  9466. } else {
  9467. return result + 'rokmi';
  9468. }
  9469. }
  9470. }
  9471. moment.defineLocale('sk', {
  9472. months: months$9,
  9473. monthsShort: monthsShort$7,
  9474. weekdays: 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'),
  9475. weekdaysShort: 'ne_po_ut_st_št_pi_so'.split('_'),
  9476. weekdaysMin: 'ne_po_ut_st_št_pi_so'.split('_'),
  9477. longDateFormat: {
  9478. LT: 'H:mm',
  9479. LTS: 'H:mm:ss',
  9480. L: 'DD.MM.YYYY',
  9481. LL: 'D. MMMM YYYY',
  9482. LLL: 'D. MMMM YYYY H:mm',
  9483. LLLL: 'dddd D. MMMM YYYY H:mm',
  9484. },
  9485. calendar: {
  9486. sameDay: '[dnes o] LT',
  9487. nextDay: '[zajtra o] LT',
  9488. nextWeek: function () {
  9489. switch (this.day()) {
  9490. case 0:
  9491. return '[v nedeľu o] LT';
  9492. case 1:
  9493. case 2:
  9494. return '[v] dddd [o] LT';
  9495. case 3:
  9496. return '[v stredu o] LT';
  9497. case 4:
  9498. return '[vo štvrtok o] LT';
  9499. case 5:
  9500. return '[v piatok o] LT';
  9501. case 6:
  9502. return '[v sobotu o] LT';
  9503. }
  9504. },
  9505. lastDay: '[včera o] LT',
  9506. lastWeek: function () {
  9507. switch (this.day()) {
  9508. case 0:
  9509. return '[minulú nedeľu o] LT';
  9510. case 1:
  9511. case 2:
  9512. return '[minulý] dddd [o] LT';
  9513. case 3:
  9514. return '[minulú stredu o] LT';
  9515. case 4:
  9516. case 5:
  9517. return '[minulý] dddd [o] LT';
  9518. case 6:
  9519. return '[minulú sobotu o] LT';
  9520. }
  9521. },
  9522. sameElse: 'L',
  9523. },
  9524. relativeTime: {
  9525. future: 'za %s',
  9526. past: 'pred %s',
  9527. s: translate$9,
  9528. ss: translate$9,
  9529. m: translate$9,
  9530. mm: translate$9,
  9531. h: translate$9,
  9532. hh: translate$9,
  9533. d: translate$9,
  9534. dd: translate$9,
  9535. M: translate$9,
  9536. MM: translate$9,
  9537. y: translate$9,
  9538. yy: translate$9,
  9539. },
  9540. dayOfMonthOrdinalParse: /\d{1,2}\./,
  9541. ordinal: '%d.',
  9542. week: {
  9543. dow: 1, // Monday is the first day of the week.
  9544. doy: 4, // The week that contains Jan 4th is the first week of the year.
  9545. },
  9546. });
  9547. //! moment.js locale configuration
  9548. function processRelativeTime$7(number, withoutSuffix, key, isFuture) {
  9549. var result = number + ' ';
  9550. switch (key) {
  9551. case 's':
  9552. return withoutSuffix || isFuture
  9553. ? 'nekaj sekund'
  9554. : 'nekaj sekundami';
  9555. case 'ss':
  9556. if (number === 1) {
  9557. result += withoutSuffix ? 'sekundo' : 'sekundi';
  9558. } else if (number === 2) {
  9559. result += withoutSuffix || isFuture ? 'sekundi' : 'sekundah';
  9560. } else if (number < 5) {
  9561. result += withoutSuffix || isFuture ? 'sekunde' : 'sekundah';
  9562. } else {
  9563. result += 'sekund';
  9564. }
  9565. return result;
  9566. case 'm':
  9567. return withoutSuffix ? 'ena minuta' : 'eno minuto';
  9568. case 'mm':
  9569. if (number === 1) {
  9570. result += withoutSuffix ? 'minuta' : 'minuto';
  9571. } else if (number === 2) {
  9572. result += withoutSuffix || isFuture ? 'minuti' : 'minutama';
  9573. } else if (number < 5) {
  9574. result += withoutSuffix || isFuture ? 'minute' : 'minutami';
  9575. } else {
  9576. result += withoutSuffix || isFuture ? 'minut' : 'minutami';
  9577. }
  9578. return result;
  9579. case 'h':
  9580. return withoutSuffix ? 'ena ura' : 'eno uro';
  9581. case 'hh':
  9582. if (number === 1) {
  9583. result += withoutSuffix ? 'ura' : 'uro';
  9584. } else if (number === 2) {
  9585. result += withoutSuffix || isFuture ? 'uri' : 'urama';
  9586. } else if (number < 5) {
  9587. result += withoutSuffix || isFuture ? 'ure' : 'urami';
  9588. } else {
  9589. result += withoutSuffix || isFuture ? 'ur' : 'urami';
  9590. }
  9591. return result;
  9592. case 'd':
  9593. return withoutSuffix || isFuture ? 'en dan' : 'enim dnem';
  9594. case 'dd':
  9595. if (number === 1) {
  9596. result += withoutSuffix || isFuture ? 'dan' : 'dnem';
  9597. } else if (number === 2) {
  9598. result += withoutSuffix || isFuture ? 'dni' : 'dnevoma';
  9599. } else {
  9600. result += withoutSuffix || isFuture ? 'dni' : 'dnevi';
  9601. }
  9602. return result;
  9603. case 'M':
  9604. return withoutSuffix || isFuture ? 'en mesec' : 'enim mesecem';
  9605. case 'MM':
  9606. if (number === 1) {
  9607. result += withoutSuffix || isFuture ? 'mesec' : 'mesecem';
  9608. } else if (number === 2) {
  9609. result += withoutSuffix || isFuture ? 'meseca' : 'mesecema';
  9610. } else if (number < 5) {
  9611. result += withoutSuffix || isFuture ? 'mesece' : 'meseci';
  9612. } else {
  9613. result += withoutSuffix || isFuture ? 'mesecev' : 'meseci';
  9614. }
  9615. return result;
  9616. case 'y':
  9617. return withoutSuffix || isFuture ? 'eno leto' : 'enim letom';
  9618. case 'yy':
  9619. if (number === 1) {
  9620. result += withoutSuffix || isFuture ? 'leto' : 'letom';
  9621. } else if (number === 2) {
  9622. result += withoutSuffix || isFuture ? 'leti' : 'letoma';
  9623. } else if (number < 5) {
  9624. result += withoutSuffix || isFuture ? 'leta' : 'leti';
  9625. } else {
  9626. result += withoutSuffix || isFuture ? 'let' : 'leti';
  9627. }
  9628. return result;
  9629. }
  9630. }
  9631. moment.defineLocale('sl', {
  9632. months: 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split(
  9633. '_'
  9634. ),
  9635. monthsShort:
  9636. 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split(
  9637. '_'
  9638. ),
  9639. monthsParseExact: true,
  9640. weekdays: 'nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota'.split('_'),
  9641. weekdaysShort: 'ned._pon._tor._sre._čet._pet._sob.'.split('_'),
  9642. weekdaysMin: 'ne_po_to_sr_če_pe_so'.split('_'),
  9643. weekdaysParseExact: true,
  9644. longDateFormat: {
  9645. LT: 'H:mm',
  9646. LTS: 'H:mm:ss',
  9647. L: 'DD. MM. YYYY',
  9648. LL: 'D. MMMM YYYY',
  9649. LLL: 'D. MMMM YYYY H:mm',
  9650. LLLL: 'dddd, D. MMMM YYYY H:mm',
  9651. },
  9652. calendar: {
  9653. sameDay: '[danes ob] LT',
  9654. nextDay: '[jutri ob] LT',
  9655. nextWeek: function () {
  9656. switch (this.day()) {
  9657. case 0:
  9658. return '[v] [nedeljo] [ob] LT';
  9659. case 3:
  9660. return '[v] [sredo] [ob] LT';
  9661. case 6:
  9662. return '[v] [soboto] [ob] LT';
  9663. case 1:
  9664. case 2:
  9665. case 4:
  9666. case 5:
  9667. return '[v] dddd [ob] LT';
  9668. }
  9669. },
  9670. lastDay: '[včeraj ob] LT',
  9671. lastWeek: function () {
  9672. switch (this.day()) {
  9673. case 0:
  9674. return '[prejšnjo] [nedeljo] [ob] LT';
  9675. case 3:
  9676. return '[prejšnjo] [sredo] [ob] LT';
  9677. case 6:
  9678. return '[prejšnjo] [soboto] [ob] LT';
  9679. case 1:
  9680. case 2:
  9681. case 4:
  9682. case 5:
  9683. return '[prejšnji] dddd [ob] LT';
  9684. }
  9685. },
  9686. sameElse: 'L',
  9687. },
  9688. relativeTime: {
  9689. future: 'čez %s',
  9690. past: 'pred %s',
  9691. s: processRelativeTime$7,
  9692. ss: processRelativeTime$7,
  9693. m: processRelativeTime$7,
  9694. mm: processRelativeTime$7,
  9695. h: processRelativeTime$7,
  9696. hh: processRelativeTime$7,
  9697. d: processRelativeTime$7,
  9698. dd: processRelativeTime$7,
  9699. M: processRelativeTime$7,
  9700. MM: processRelativeTime$7,
  9701. y: processRelativeTime$7,
  9702. yy: processRelativeTime$7,
  9703. },
  9704. dayOfMonthOrdinalParse: /\d{1,2}\./,
  9705. ordinal: '%d.',
  9706. week: {
  9707. dow: 1, // Monday is the first day of the week.
  9708. doy: 7, // The week that contains Jan 7th is the first week of the year.
  9709. },
  9710. });
  9711. //! moment.js locale configuration
  9712. moment.defineLocale('sq', {
  9713. months: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split(
  9714. '_'
  9715. ),
  9716. monthsShort: 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'),
  9717. weekdays: 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split(
  9718. '_'
  9719. ),
  9720. weekdaysShort: 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'),
  9721. weekdaysMin: 'D_H_Ma_Më_E_P_Sh'.split('_'),
  9722. weekdaysParseExact: true,
  9723. meridiemParse: /PD|MD/,
  9724. isPM: function (input) {
  9725. return input.charAt(0) === 'M';
  9726. },
  9727. meridiem: function (hours, minutes, isLower) {
  9728. return hours < 12 ? 'PD' : 'MD';
  9729. },
  9730. longDateFormat: {
  9731. LT: 'HH:mm',
  9732. LTS: 'HH:mm:ss',
  9733. L: 'DD/MM/YYYY',
  9734. LL: 'D MMMM YYYY',
  9735. LLL: 'D MMMM YYYY HH:mm',
  9736. LLLL: 'dddd, D MMMM YYYY HH:mm',
  9737. },
  9738. calendar: {
  9739. sameDay: '[Sot në] LT',
  9740. nextDay: '[Nesër në] LT',
  9741. nextWeek: 'dddd [në] LT',
  9742. lastDay: '[Dje në] LT',
  9743. lastWeek: 'dddd [e kaluar në] LT',
  9744. sameElse: 'L',
  9745. },
  9746. relativeTime: {
  9747. future: 'në %s',
  9748. past: '%s më parë',
  9749. s: 'disa sekonda',
  9750. ss: '%d sekonda',
  9751. m: 'një minutë',
  9752. mm: '%d minuta',
  9753. h: 'një orë',
  9754. hh: '%d orë',
  9755. d: 'një ditë',
  9756. dd: '%d ditë',
  9757. M: 'një muaj',
  9758. MM: '%d muaj',
  9759. y: 'një vit',
  9760. yy: '%d vite',
  9761. },
  9762. dayOfMonthOrdinalParse: /\d{1,2}\./,
  9763. ordinal: '%d.',
  9764. week: {
  9765. dow: 1, // Monday is the first day of the week.
  9766. doy: 4, // The week that contains Jan 4th is the first week of the year.
  9767. },
  9768. });
  9769. //! moment.js locale configuration
  9770. var translator$1 = {
  9771. words: {
  9772. //Different grammatical cases
  9773. ss: ['секунда', 'секунде', 'секунди'],
  9774. m: ['један минут', 'једног минута'],
  9775. mm: ['минут', 'минута', 'минута'],
  9776. h: ['један сат', 'једног сата'],
  9777. hh: ['сат', 'сата', 'сати'],
  9778. d: ['један дан', 'једног дана'],
  9779. dd: ['дан', 'дана', 'дана'],
  9780. M: ['један месец', 'једног месеца'],
  9781. MM: ['месец', 'месеца', 'месеци'],
  9782. y: ['једну годину', 'једне године'],
  9783. yy: ['годину', 'године', 'година'],
  9784. },
  9785. correctGrammaticalCase: function (number, wordKey) {
  9786. if (
  9787. number % 10 >= 1 &&
  9788. number % 10 <= 4 &&
  9789. (number % 100 < 10 || number % 100 >= 20)
  9790. ) {
  9791. return number % 10 === 1 ? wordKey[0] : wordKey[1];
  9792. }
  9793. return wordKey[2];
  9794. },
  9795. translate: function (number, withoutSuffix, key, isFuture) {
  9796. var wordKey = translator$1.words[key],
  9797. word;
  9798. if (key.length === 1) {
  9799. // Nominativ
  9800. if (key === 'y' && withoutSuffix) return 'једна година';
  9801. return isFuture || withoutSuffix ? wordKey[0] : wordKey[1];
  9802. }
  9803. word = translator$1.correctGrammaticalCase(number, wordKey);
  9804. // Nominativ
  9805. if (key === 'yy' && withoutSuffix && word === 'годину') {
  9806. return number + ' година';
  9807. }
  9808. return number + ' ' + word;
  9809. },
  9810. };
  9811. moment.defineLocale('sr-cyrl', {
  9812. months: 'јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар'.split(
  9813. '_'
  9814. ),
  9815. monthsShort:
  9816. 'јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.'.split('_'),
  9817. monthsParseExact: true,
  9818. weekdays: 'недеља_понедељак_уторак_среда_четвртак_петак_субота'.split('_'),
  9819. weekdaysShort: 'нед._пон._уто._сре._чет._пет._суб.'.split('_'),
  9820. weekdaysMin: 'не_по_ут_ср_че_пе_су'.split('_'),
  9821. weekdaysParseExact: true,
  9822. longDateFormat: {
  9823. LT: 'H:mm',
  9824. LTS: 'H:mm:ss',
  9825. L: 'D. M. YYYY.',
  9826. LL: 'D. MMMM YYYY.',
  9827. LLL: 'D. MMMM YYYY. H:mm',
  9828. LLLL: 'dddd, D. MMMM YYYY. H:mm',
  9829. },
  9830. calendar: {
  9831. sameDay: '[данас у] LT',
  9832. nextDay: '[сутра у] LT',
  9833. nextWeek: function () {
  9834. switch (this.day()) {
  9835. case 0:
  9836. return '[у] [недељу] [у] LT';
  9837. case 3:
  9838. return '[у] [среду] [у] LT';
  9839. case 6:
  9840. return '[у] [суботу] [у] LT';
  9841. case 1:
  9842. case 2:
  9843. case 4:
  9844. case 5:
  9845. return '[у] dddd [у] LT';
  9846. }
  9847. },
  9848. lastDay: '[јуче у] LT',
  9849. lastWeek: function () {
  9850. var lastWeekDays = [
  9851. '[прошле] [недеље] [у] LT',
  9852. '[прошлог] [понедељка] [у] LT',
  9853. '[прошлог] [уторка] [у] LT',
  9854. '[прошле] [среде] [у] LT',
  9855. '[прошлог] [четвртка] [у] LT',
  9856. '[прошлог] [петка] [у] LT',
  9857. '[прошле] [суботе] [у] LT',
  9858. ];
  9859. return lastWeekDays[this.day()];
  9860. },
  9861. sameElse: 'L',
  9862. },
  9863. relativeTime: {
  9864. future: 'за %s',
  9865. past: 'пре %s',
  9866. s: 'неколико секунди',
  9867. ss: translator$1.translate,
  9868. m: translator$1.translate,
  9869. mm: translator$1.translate,
  9870. h: translator$1.translate,
  9871. hh: translator$1.translate,
  9872. d: translator$1.translate,
  9873. dd: translator$1.translate,
  9874. M: translator$1.translate,
  9875. MM: translator$1.translate,
  9876. y: translator$1.translate,
  9877. yy: translator$1.translate,
  9878. },
  9879. dayOfMonthOrdinalParse: /\d{1,2}\./,
  9880. ordinal: '%d.',
  9881. week: {
  9882. dow: 1, // Monday is the first day of the week.
  9883. doy: 7, // The week that contains Jan 1st is the first week of the year.
  9884. },
  9885. });
  9886. //! moment.js locale configuration
  9887. var translator$2 = {
  9888. words: {
  9889. //Different grammatical cases
  9890. ss: ['sekunda', 'sekunde', 'sekundi'],
  9891. m: ['jedan minut', 'jednog minuta'],
  9892. mm: ['minut', 'minuta', 'minuta'],
  9893. h: ['jedan sat', 'jednog sata'],
  9894. hh: ['sat', 'sata', 'sati'],
  9895. d: ['jedan dan', 'jednog dana'],
  9896. dd: ['dan', 'dana', 'dana'],
  9897. M: ['jedan mesec', 'jednog meseca'],
  9898. MM: ['mesec', 'meseca', 'meseci'],
  9899. y: ['jednu godinu', 'jedne godine'],
  9900. yy: ['godinu', 'godine', 'godina'],
  9901. },
  9902. correctGrammaticalCase: function (number, wordKey) {
  9903. if (
  9904. number % 10 >= 1 &&
  9905. number % 10 <= 4 &&
  9906. (number % 100 < 10 || number % 100 >= 20)
  9907. ) {
  9908. return number % 10 === 1 ? wordKey[0] : wordKey[1];
  9909. }
  9910. return wordKey[2];
  9911. },
  9912. translate: function (number, withoutSuffix, key, isFuture) {
  9913. var wordKey = translator$2.words[key],
  9914. word;
  9915. if (key.length === 1) {
  9916. // Nominativ
  9917. if (key === 'y' && withoutSuffix) return 'jedna godina';
  9918. return isFuture || withoutSuffix ? wordKey[0] : wordKey[1];
  9919. }
  9920. word = translator$2.correctGrammaticalCase(number, wordKey);
  9921. // Nominativ
  9922. if (key === 'yy' && withoutSuffix && word === 'godinu') {
  9923. return number + ' godina';
  9924. }
  9925. return number + ' ' + word;
  9926. },
  9927. };
  9928. moment.defineLocale('sr', {
  9929. months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split(
  9930. '_'
  9931. ),
  9932. monthsShort:
  9933. 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'),
  9934. monthsParseExact: true,
  9935. weekdays: 'nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota'.split(
  9936. '_'
  9937. ),
  9938. weekdaysShort: 'ned._pon._uto._sre._čet._pet._sub.'.split('_'),
  9939. weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
  9940. weekdaysParseExact: true,
  9941. longDateFormat: {
  9942. LT: 'H:mm',
  9943. LTS: 'H:mm:ss',
  9944. L: 'D. M. YYYY.',
  9945. LL: 'D. MMMM YYYY.',
  9946. LLL: 'D. MMMM YYYY. H:mm',
  9947. LLLL: 'dddd, D. MMMM YYYY. H:mm',
  9948. },
  9949. calendar: {
  9950. sameDay: '[danas u] LT',
  9951. nextDay: '[sutra u] LT',
  9952. nextWeek: function () {
  9953. switch (this.day()) {
  9954. case 0:
  9955. return '[u] [nedelju] [u] LT';
  9956. case 3:
  9957. return '[u] [sredu] [u] LT';
  9958. case 6:
  9959. return '[u] [subotu] [u] LT';
  9960. case 1:
  9961. case 2:
  9962. case 4:
  9963. case 5:
  9964. return '[u] dddd [u] LT';
  9965. }
  9966. },
  9967. lastDay: '[juče u] LT',
  9968. lastWeek: function () {
  9969. var lastWeekDays = [
  9970. '[prošle] [nedelje] [u] LT',
  9971. '[prošlog] [ponedeljka] [u] LT',
  9972. '[prošlog] [utorka] [u] LT',
  9973. '[prošle] [srede] [u] LT',
  9974. '[prošlog] [četvrtka] [u] LT',
  9975. '[prošlog] [petka] [u] LT',
  9976. '[prošle] [subote] [u] LT',
  9977. ];
  9978. return lastWeekDays[this.day()];
  9979. },
  9980. sameElse: 'L',
  9981. },
  9982. relativeTime: {
  9983. future: 'za %s',
  9984. past: 'pre %s',
  9985. s: 'nekoliko sekundi',
  9986. ss: translator$2.translate,
  9987. m: translator$2.translate,
  9988. mm: translator$2.translate,
  9989. h: translator$2.translate,
  9990. hh: translator$2.translate,
  9991. d: translator$2.translate,
  9992. dd: translator$2.translate,
  9993. M: translator$2.translate,
  9994. MM: translator$2.translate,
  9995. y: translator$2.translate,
  9996. yy: translator$2.translate,
  9997. },
  9998. dayOfMonthOrdinalParse: /\d{1,2}\./,
  9999. ordinal: '%d.',
  10000. week: {
  10001. dow: 1, // Monday is the first day of the week.
  10002. doy: 7, // The week that contains Jan 7th is the first week of the year.
  10003. },
  10004. });
  10005. //! moment.js locale configuration
  10006. moment.defineLocale('ss', {
  10007. months: "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split(
  10008. '_'
  10009. ),
  10010. monthsShort: 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'),
  10011. weekdays:
  10012. 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split(
  10013. '_'
  10014. ),
  10015. weekdaysShort: 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'),
  10016. weekdaysMin: 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'),
  10017. weekdaysParseExact: true,
  10018. longDateFormat: {
  10019. LT: 'h:mm A',
  10020. LTS: 'h:mm:ss A',
  10021. L: 'DD/MM/YYYY',
  10022. LL: 'D MMMM YYYY',
  10023. LLL: 'D MMMM YYYY h:mm A',
  10024. LLLL: 'dddd, D MMMM YYYY h:mm A',
  10025. },
  10026. calendar: {
  10027. sameDay: '[Namuhla nga] LT',
  10028. nextDay: '[Kusasa nga] LT',
  10029. nextWeek: 'dddd [nga] LT',
  10030. lastDay: '[Itolo nga] LT',
  10031. lastWeek: 'dddd [leliphelile] [nga] LT',
  10032. sameElse: 'L',
  10033. },
  10034. relativeTime: {
  10035. future: 'nga %s',
  10036. past: 'wenteka nga %s',
  10037. s: 'emizuzwana lomcane',
  10038. ss: '%d mzuzwana',
  10039. m: 'umzuzu',
  10040. mm: '%d emizuzu',
  10041. h: 'lihora',
  10042. hh: '%d emahora',
  10043. d: 'lilanga',
  10044. dd: '%d emalanga',
  10045. M: 'inyanga',
  10046. MM: '%d tinyanga',
  10047. y: 'umnyaka',
  10048. yy: '%d iminyaka',
  10049. },
  10050. meridiemParse: /ekuseni|emini|entsambama|ebusuku/,
  10051. meridiem: function (hours, minutes, isLower) {
  10052. if (hours < 11) {
  10053. return 'ekuseni';
  10054. } else if (hours < 15) {
  10055. return 'emini';
  10056. } else if (hours < 19) {
  10057. return 'entsambama';
  10058. } else {
  10059. return 'ebusuku';
  10060. }
  10061. },
  10062. meridiemHour: function (hour, meridiem) {
  10063. if (hour === 12) {
  10064. hour = 0;
  10065. }
  10066. if (meridiem === 'ekuseni') {
  10067. return hour;
  10068. } else if (meridiem === 'emini') {
  10069. return hour >= 11 ? hour : hour + 12;
  10070. } else if (meridiem === 'entsambama' || meridiem === 'ebusuku') {
  10071. if (hour === 0) {
  10072. return 0;
  10073. }
  10074. return hour + 12;
  10075. }
  10076. },
  10077. dayOfMonthOrdinalParse: /\d{1,2}/,
  10078. ordinal: '%d',
  10079. week: {
  10080. dow: 1, // Monday is the first day of the week.
  10081. doy: 4, // The week that contains Jan 4th is the first week of the year.
  10082. },
  10083. });
  10084. //! moment.js locale configuration
  10085. moment.defineLocale('sv', {
  10086. months: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split(
  10087. '_'
  10088. ),
  10089. monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
  10090. weekdays: 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'),
  10091. weekdaysShort: 'sön_mån_tis_ons_tor_fre_lör'.split('_'),
  10092. weekdaysMin: 'sö_må_ti_on_to_fr_lö'.split('_'),
  10093. longDateFormat: {
  10094. LT: 'HH:mm',
  10095. LTS: 'HH:mm:ss',
  10096. L: 'YYYY-MM-DD',
  10097. LL: 'D MMMM YYYY',
  10098. LLL: 'D MMMM YYYY [kl.] HH:mm',
  10099. LLLL: 'dddd D MMMM YYYY [kl.] HH:mm',
  10100. lll: 'D MMM YYYY HH:mm',
  10101. llll: 'ddd D MMM YYYY HH:mm',
  10102. },
  10103. calendar: {
  10104. sameDay: '[Idag] LT',
  10105. nextDay: '[Imorgon] LT',
  10106. lastDay: '[Igår] LT',
  10107. nextWeek: '[På] dddd LT',
  10108. lastWeek: '[I] dddd[s] LT',
  10109. sameElse: 'L',
  10110. },
  10111. relativeTime: {
  10112. future: 'om %s',
  10113. past: 'för %s sedan',
  10114. s: 'några sekunder',
  10115. ss: '%d sekunder',
  10116. m: 'en minut',
  10117. mm: '%d minuter',
  10118. h: 'en timme',
  10119. hh: '%d timmar',
  10120. d: 'en dag',
  10121. dd: '%d dagar',
  10122. M: 'en månad',
  10123. MM: '%d månader',
  10124. y: 'ett år',
  10125. yy: '%d år',
  10126. },
  10127. dayOfMonthOrdinalParse: /\d{1,2}(\:e|\:a)/,
  10128. ordinal: function (number) {
  10129. var b = number % 10,
  10130. output =
  10131. ~~((number % 100) / 10) === 1
  10132. ? ':e'
  10133. : b === 1
  10134. ? ':a'
  10135. : b === 2
  10136. ? ':a'
  10137. : b === 3
  10138. ? ':e'
  10139. : ':e';
  10140. return number + output;
  10141. },
  10142. week: {
  10143. dow: 1, // Monday is the first day of the week.
  10144. doy: 4, // The week that contains Jan 4th is the first week of the year.
  10145. },
  10146. });
  10147. //! moment.js locale configuration
  10148. moment.defineLocale('sw', {
  10149. months: 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split(
  10150. '_'
  10151. ),
  10152. monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'),
  10153. weekdays:
  10154. 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split(
  10155. '_'
  10156. ),
  10157. weekdaysShort: 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'),
  10158. weekdaysMin: 'J2_J3_J4_J5_Al_Ij_J1'.split('_'),
  10159. weekdaysParseExact: true,
  10160. longDateFormat: {
  10161. LT: 'hh:mm A',
  10162. LTS: 'HH:mm:ss',
  10163. L: 'DD.MM.YYYY',
  10164. LL: 'D MMMM YYYY',
  10165. LLL: 'D MMMM YYYY HH:mm',
  10166. LLLL: 'dddd, D MMMM YYYY HH:mm',
  10167. },
  10168. calendar: {
  10169. sameDay: '[leo saa] LT',
  10170. nextDay: '[kesho saa] LT',
  10171. nextWeek: '[wiki ijayo] dddd [saat] LT',
  10172. lastDay: '[jana] LT',
  10173. lastWeek: '[wiki iliyopita] dddd [saat] LT',
  10174. sameElse: 'L',
  10175. },
  10176. relativeTime: {
  10177. future: '%s baadaye',
  10178. past: 'tokea %s',
  10179. s: 'hivi punde',
  10180. ss: 'sekunde %d',
  10181. m: 'dakika moja',
  10182. mm: 'dakika %d',
  10183. h: 'saa limoja',
  10184. hh: 'masaa %d',
  10185. d: 'siku moja',
  10186. dd: 'siku %d',
  10187. M: 'mwezi mmoja',
  10188. MM: 'miezi %d',
  10189. y: 'mwaka mmoja',
  10190. yy: 'miaka %d',
  10191. },
  10192. week: {
  10193. dow: 1, // Monday is the first day of the week.
  10194. doy: 7, // The week that contains Jan 7th is the first week of the year.
  10195. },
  10196. });
  10197. //! moment.js locale configuration
  10198. var symbolMap$g = {
  10199. 1: '௧',
  10200. 2: '௨',
  10201. 3: '௩',
  10202. 4: '௪',
  10203. 5: '௫',
  10204. 6: '௬',
  10205. 7: '௭',
  10206. 8: '௮',
  10207. 9: '௯',
  10208. 0: '௦',
  10209. },
  10210. numberMap$f = {
  10211. '௧': '1',
  10212. '௨': '2',
  10213. '௩': '3',
  10214. '௪': '4',
  10215. '௫': '5',
  10216. '௬': '6',
  10217. '௭': '7',
  10218. '௮': '8',
  10219. '௯': '9',
  10220. '௦': '0',
  10221. };
  10222. moment.defineLocale('ta', {
  10223. months: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split(
  10224. '_'
  10225. ),
  10226. monthsShort:
  10227. 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split(
  10228. '_'
  10229. ),
  10230. weekdays:
  10231. 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split(
  10232. '_'
  10233. ),
  10234. weekdaysShort: 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split(
  10235. '_'
  10236. ),
  10237. weekdaysMin: 'ஞா_தி_செ_பு_வி_வெ_ச'.split('_'),
  10238. longDateFormat: {
  10239. LT: 'HH:mm',
  10240. LTS: 'HH:mm:ss',
  10241. L: 'DD/MM/YYYY',
  10242. LL: 'D MMMM YYYY',
  10243. LLL: 'D MMMM YYYY, HH:mm',
  10244. LLLL: 'dddd, D MMMM YYYY, HH:mm',
  10245. },
  10246. calendar: {
  10247. sameDay: '[இன்று] LT',
  10248. nextDay: '[நாளை] LT',
  10249. nextWeek: 'dddd, LT',
  10250. lastDay: '[நேற்று] LT',
  10251. lastWeek: '[கடந்த வாரம்] dddd, LT',
  10252. sameElse: 'L',
  10253. },
  10254. relativeTime: {
  10255. future: '%s இல்',
  10256. past: '%s முன்',
  10257. s: 'ஒரு சில விநாடிகள்',
  10258. ss: '%d விநாடிகள்',
  10259. m: 'ஒரு நிமிடம்',
  10260. mm: '%d நிமிடங்கள்',
  10261. h: 'ஒரு மணி நேரம்',
  10262. hh: '%d மணி நேரம்',
  10263. d: 'ஒரு நாள்',
  10264. dd: '%d நாட்கள்',
  10265. M: 'ஒரு மாதம்',
  10266. MM: '%d மாதங்கள்',
  10267. y: 'ஒரு வருடம்',
  10268. yy: '%d ஆண்டுகள்',
  10269. },
  10270. dayOfMonthOrdinalParse: /\d{1,2}வது/,
  10271. ordinal: function (number) {
  10272. return number + 'வது';
  10273. },
  10274. preparse: function (string) {
  10275. return string.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, function (match) {
  10276. return numberMap$f[match];
  10277. });
  10278. },
  10279. postformat: function (string) {
  10280. return string.replace(/\d/g, function (match) {
  10281. return symbolMap$g[match];
  10282. });
  10283. },
  10284. // refer http://ta.wikipedia.org/s/1er1
  10285. meridiemParse: /யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,
  10286. meridiem: function (hour, minute, isLower) {
  10287. if (hour < 2) {
  10288. return ' யாமம்';
  10289. } else if (hour < 6) {
  10290. return ' வைகறை'; // வைகறை
  10291. } else if (hour < 10) {
  10292. return ' காலை'; // காலை
  10293. } else if (hour < 14) {
  10294. return ' நண்பகல்'; // நண்பகல்
  10295. } else if (hour < 18) {
  10296. return ' எற்பாடு'; // எற்பாடு
  10297. } else if (hour < 22) {
  10298. return ' மாலை'; // மாலை
  10299. } else {
  10300. return ' யாமம்';
  10301. }
  10302. },
  10303. meridiemHour: function (hour, meridiem) {
  10304. if (hour === 12) {
  10305. hour = 0;
  10306. }
  10307. if (meridiem === 'யாமம்') {
  10308. return hour < 2 ? hour : hour + 12;
  10309. } else if (meridiem === 'வைகறை' || meridiem === 'காலை') {
  10310. return hour;
  10311. } else if (meridiem === 'நண்பகல்') {
  10312. return hour >= 10 ? hour : hour + 12;
  10313. } else {
  10314. return hour + 12;
  10315. }
  10316. },
  10317. week: {
  10318. dow: 0, // Sunday is the first day of the week.
  10319. doy: 6, // The week that contains Jan 6th is the first week of the year.
  10320. },
  10321. });
  10322. //! moment.js locale configuration
  10323. moment.defineLocale('te', {
  10324. months: 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split(
  10325. '_'
  10326. ),
  10327. monthsShort:
  10328. 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split(
  10329. '_'
  10330. ),
  10331. monthsParseExact: true,
  10332. weekdays:
  10333. 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split(
  10334. '_'
  10335. ),
  10336. weekdaysShort: 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'),
  10337. weekdaysMin: 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'),
  10338. longDateFormat: {
  10339. LT: 'A h:mm',
  10340. LTS: 'A h:mm:ss',
  10341. L: 'DD/MM/YYYY',
  10342. LL: 'D MMMM YYYY',
  10343. LLL: 'D MMMM YYYY, A h:mm',
  10344. LLLL: 'dddd, D MMMM YYYY, A h:mm',
  10345. },
  10346. calendar: {
  10347. sameDay: '[నేడు] LT',
  10348. nextDay: '[రేపు] LT',
  10349. nextWeek: 'dddd, LT',
  10350. lastDay: '[నిన్న] LT',
  10351. lastWeek: '[గత] dddd, LT',
  10352. sameElse: 'L',
  10353. },
  10354. relativeTime: {
  10355. future: '%s లో',
  10356. past: '%s క్రితం',
  10357. s: 'కొన్ని క్షణాలు',
  10358. ss: '%d సెకన్లు',
  10359. m: 'ఒక నిమిషం',
  10360. mm: '%d నిమిషాలు',
  10361. h: 'ఒక గంట',
  10362. hh: '%d గంటలు',
  10363. d: 'ఒక రోజు',
  10364. dd: '%d రోజులు',
  10365. M: 'ఒక నెల',
  10366. MM: '%d నెలలు',
  10367. y: 'ఒక సంవత్సరం',
  10368. yy: '%d సంవత్సరాలు',
  10369. },
  10370. dayOfMonthOrdinalParse: /\d{1,2}వ/,
  10371. ordinal: '%dవ',
  10372. meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,
  10373. meridiemHour: function (hour, meridiem) {
  10374. if (hour === 12) {
  10375. hour = 0;
  10376. }
  10377. if (meridiem === 'రాత్రి') {
  10378. return hour < 4 ? hour : hour + 12;
  10379. } else if (meridiem === 'ఉదయం') {
  10380. return hour;
  10381. } else if (meridiem === 'మధ్యాహ్నం') {
  10382. return hour >= 10 ? hour : hour + 12;
  10383. } else if (meridiem === 'సాయంత్రం') {
  10384. return hour + 12;
  10385. }
  10386. },
  10387. meridiem: function (hour, minute, isLower) {
  10388. if (hour < 4) {
  10389. return 'రాత్రి';
  10390. } else if (hour < 10) {
  10391. return 'ఉదయం';
  10392. } else if (hour < 17) {
  10393. return 'మధ్యాహ్నం';
  10394. } else if (hour < 20) {
  10395. return 'సాయంత్రం';
  10396. } else {
  10397. return 'రాత్రి';
  10398. }
  10399. },
  10400. week: {
  10401. dow: 0, // Sunday is the first day of the week.
  10402. doy: 6, // The week that contains Jan 6th is the first week of the year.
  10403. },
  10404. });
  10405. //! moment.js locale configuration
  10406. moment.defineLocale('tet', {
  10407. months: 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split(
  10408. '_'
  10409. ),
  10410. monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
  10411. weekdays: 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'),
  10412. weekdaysShort: 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'),
  10413. weekdaysMin: 'Do_Seg_Te_Ku_Ki_Ses_Sa'.split('_'),
  10414. longDateFormat: {
  10415. LT: 'HH:mm',
  10416. LTS: 'HH:mm:ss',
  10417. L: 'DD/MM/YYYY',
  10418. LL: 'D MMMM YYYY',
  10419. LLL: 'D MMMM YYYY HH:mm',
  10420. LLLL: 'dddd, D MMMM YYYY HH:mm',
  10421. },
  10422. calendar: {
  10423. sameDay: '[Ohin iha] LT',
  10424. nextDay: '[Aban iha] LT',
  10425. nextWeek: 'dddd [iha] LT',
  10426. lastDay: '[Horiseik iha] LT',
  10427. lastWeek: 'dddd [semana kotuk] [iha] LT',
  10428. sameElse: 'L',
  10429. },
  10430. relativeTime: {
  10431. future: 'iha %s',
  10432. past: '%s liuba',
  10433. s: 'segundu balun',
  10434. ss: 'segundu %d',
  10435. m: 'minutu ida',
  10436. mm: 'minutu %d',
  10437. h: 'oras ida',
  10438. hh: 'oras %d',
  10439. d: 'loron ida',
  10440. dd: 'loron %d',
  10441. M: 'fulan ida',
  10442. MM: 'fulan %d',
  10443. y: 'tinan ida',
  10444. yy: 'tinan %d',
  10445. },
  10446. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  10447. ordinal: function (number) {
  10448. var b = number % 10,
  10449. output =
  10450. ~~((number % 100) / 10) === 1
  10451. ? 'th'
  10452. : b === 1
  10453. ? 'st'
  10454. : b === 2
  10455. ? 'nd'
  10456. : b === 3
  10457. ? 'rd'
  10458. : 'th';
  10459. return number + output;
  10460. },
  10461. week: {
  10462. dow: 1, // Monday is the first day of the week.
  10463. doy: 4, // The week that contains Jan 4th is the first week of the year.
  10464. },
  10465. });
  10466. //! moment.js locale configuration
  10467. var suffixes$3 = {
  10468. 0: '-ум',
  10469. 1: '-ум',
  10470. 2: '-юм',
  10471. 3: '-юм',
  10472. 4: '-ум',
  10473. 5: '-ум',
  10474. 6: '-ум',
  10475. 7: '-ум',
  10476. 8: '-ум',
  10477. 9: '-ум',
  10478. 10: '-ум',
  10479. 12: '-ум',
  10480. 13: '-ум',
  10481. 20: '-ум',
  10482. 30: '-юм',
  10483. 40: '-ум',
  10484. 50: '-ум',
  10485. 60: '-ум',
  10486. 70: '-ум',
  10487. 80: '-ум',
  10488. 90: '-ум',
  10489. 100: '-ум',
  10490. };
  10491. moment.defineLocale('tg', {
  10492. months: {
  10493. format: 'январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри'.split(
  10494. '_'
  10495. ),
  10496. standalone:
  10497. 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split(
  10498. '_'
  10499. ),
  10500. },
  10501. monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),
  10502. weekdays: 'якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе'.split(
  10503. '_'
  10504. ),
  10505. weekdaysShort: 'яшб_дшб_сшб_чшб_пшб_ҷум_шнб'.split('_'),
  10506. weekdaysMin: 'яш_дш_сш_чш_пш_ҷм_шб'.split('_'),
  10507. longDateFormat: {
  10508. LT: 'HH:mm',
  10509. LTS: 'HH:mm:ss',
  10510. L: 'DD.MM.YYYY',
  10511. LL: 'D MMMM YYYY',
  10512. LLL: 'D MMMM YYYY HH:mm',
  10513. LLLL: 'dddd, D MMMM YYYY HH:mm',
  10514. },
  10515. calendar: {
  10516. sameDay: '[Имрӯз соати] LT',
  10517. nextDay: '[Фардо соати] LT',
  10518. lastDay: '[Дирӯз соати] LT',
  10519. nextWeek: 'dddd[и] [ҳафтаи оянда соати] LT',
  10520. lastWeek: 'dddd[и] [ҳафтаи гузашта соати] LT',
  10521. sameElse: 'L',
  10522. },
  10523. relativeTime: {
  10524. future: 'баъди %s',
  10525. past: '%s пеш',
  10526. s: 'якчанд сония',
  10527. m: 'як дақиқа',
  10528. mm: '%d дақиқа',
  10529. h: 'як соат',
  10530. hh: '%d соат',
  10531. d: 'як рӯз',
  10532. dd: '%d рӯз',
  10533. M: 'як моҳ',
  10534. MM: '%d моҳ',
  10535. y: 'як сол',
  10536. yy: '%d сол',
  10537. },
  10538. meridiemParse: /шаб|субҳ|рӯз|бегоҳ/,
  10539. meridiemHour: function (hour, meridiem) {
  10540. if (hour === 12) {
  10541. hour = 0;
  10542. }
  10543. if (meridiem === 'шаб') {
  10544. return hour < 4 ? hour : hour + 12;
  10545. } else if (meridiem === 'субҳ') {
  10546. return hour;
  10547. } else if (meridiem === 'рӯз') {
  10548. return hour >= 11 ? hour : hour + 12;
  10549. } else if (meridiem === 'бегоҳ') {
  10550. return hour + 12;
  10551. }
  10552. },
  10553. meridiem: function (hour, minute, isLower) {
  10554. if (hour < 4) {
  10555. return 'шаб';
  10556. } else if (hour < 11) {
  10557. return 'субҳ';
  10558. } else if (hour < 16) {
  10559. return 'рӯз';
  10560. } else if (hour < 19) {
  10561. return 'бегоҳ';
  10562. } else {
  10563. return 'шаб';
  10564. }
  10565. },
  10566. dayOfMonthOrdinalParse: /\d{1,2}-(ум|юм)/,
  10567. ordinal: function (number) {
  10568. var a = number % 10,
  10569. b = number >= 100 ? 100 : null;
  10570. return number + (suffixes$3[number] || suffixes$3[a] || suffixes$3[b]);
  10571. },
  10572. week: {
  10573. dow: 1, // Monday is the first day of the week.
  10574. doy: 7, // The week that contains Jan 1th is the first week of the year.
  10575. },
  10576. });
  10577. //! moment.js locale configuration
  10578. moment.defineLocale('th', {
  10579. months: 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split(
  10580. '_'
  10581. ),
  10582. monthsShort:
  10583. 'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split(
  10584. '_'
  10585. ),
  10586. monthsParseExact: true,
  10587. weekdays: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'),
  10588. weekdaysShort: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'), // yes, three characters difference
  10589. weekdaysMin: 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'),
  10590. weekdaysParseExact: true,
  10591. longDateFormat: {
  10592. LT: 'H:mm',
  10593. LTS: 'H:mm:ss',
  10594. L: 'DD/MM/YYYY',
  10595. LL: 'D MMMM YYYY',
  10596. LLL: 'D MMMM YYYY เวลา H:mm',
  10597. LLLL: 'วันddddที่ D MMMM YYYY เวลา H:mm',
  10598. },
  10599. meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/,
  10600. isPM: function (input) {
  10601. return input === 'หลังเที่ยง';
  10602. },
  10603. meridiem: function (hour, minute, isLower) {
  10604. if (hour < 12) {
  10605. return 'ก่อนเที่ยง';
  10606. } else {
  10607. return 'หลังเที่ยง';
  10608. }
  10609. },
  10610. calendar: {
  10611. sameDay: '[วันนี้ เวลา] LT',
  10612. nextDay: '[พรุ่งนี้ เวลา] LT',
  10613. nextWeek: 'dddd[หน้า เวลา] LT',
  10614. lastDay: '[เมื่อวานนี้ เวลา] LT',
  10615. lastWeek: '[วัน]dddd[ที่แล้ว เวลา] LT',
  10616. sameElse: 'L',
  10617. },
  10618. relativeTime: {
  10619. future: 'อีก %s',
  10620. past: '%sที่แล้ว',
  10621. s: 'ไม่กี่วินาที',
  10622. ss: '%d วินาที',
  10623. m: '1 นาที',
  10624. mm: '%d นาที',
  10625. h: '1 ชั่วโมง',
  10626. hh: '%d ชั่วโมง',
  10627. d: '1 วัน',
  10628. dd: '%d วัน',
  10629. w: '1 สัปดาห์',
  10630. ww: '%d สัปดาห์',
  10631. M: '1 เดือน',
  10632. MM: '%d เดือน',
  10633. y: '1 ปี',
  10634. yy: '%d ปี',
  10635. },
  10636. });
  10637. //! moment.js locale configuration
  10638. var suffixes$4 = {
  10639. 1: "'inji",
  10640. 5: "'inji",
  10641. 8: "'inji",
  10642. 70: "'inji",
  10643. 80: "'inji",
  10644. 2: "'nji",
  10645. 7: "'nji",
  10646. 20: "'nji",
  10647. 50: "'nji",
  10648. 3: "'ünji",
  10649. 4: "'ünji",
  10650. 100: "'ünji",
  10651. 6: "'njy",
  10652. 9: "'unjy",
  10653. 10: "'unjy",
  10654. 30: "'unjy",
  10655. 60: "'ynjy",
  10656. 90: "'ynjy",
  10657. };
  10658. moment.defineLocale('tk', {
  10659. months: 'Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr'.split(
  10660. '_'
  10661. ),
  10662. monthsShort: 'Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek'.split('_'),
  10663. weekdays: 'Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe'.split(
  10664. '_'
  10665. ),
  10666. weekdaysShort: 'Ýek_Duş_Siş_Çar_Pen_Ann_Şen'.split('_'),
  10667. weekdaysMin: 'Ýk_Dş_Sş_Çr_Pn_An_Şn'.split('_'),
  10668. longDateFormat: {
  10669. LT: 'HH:mm',
  10670. LTS: 'HH:mm:ss',
  10671. L: 'DD.MM.YYYY',
  10672. LL: 'D MMMM YYYY',
  10673. LLL: 'D MMMM YYYY HH:mm',
  10674. LLLL: 'dddd, D MMMM YYYY HH:mm',
  10675. },
  10676. calendar: {
  10677. sameDay: '[bugün sagat] LT',
  10678. nextDay: '[ertir sagat] LT',
  10679. nextWeek: '[indiki] dddd [sagat] LT',
  10680. lastDay: '[düýn] LT',
  10681. lastWeek: '[geçen] dddd [sagat] LT',
  10682. sameElse: 'L',
  10683. },
  10684. relativeTime: {
  10685. future: '%s soň',
  10686. past: '%s öň',
  10687. s: 'birnäçe sekunt',
  10688. m: 'bir minut',
  10689. mm: '%d minut',
  10690. h: 'bir sagat',
  10691. hh: '%d sagat',
  10692. d: 'bir gün',
  10693. dd: '%d gün',
  10694. M: 'bir aý',
  10695. MM: '%d aý',
  10696. y: 'bir ýyl',
  10697. yy: '%d ýyl',
  10698. },
  10699. ordinal: function (number, period) {
  10700. switch (period) {
  10701. case 'd':
  10702. case 'D':
  10703. case 'Do':
  10704. case 'DD':
  10705. return number;
  10706. default:
  10707. if (number === 0) {
  10708. // special case for zero
  10709. return number + "'unjy";
  10710. }
  10711. var a = number % 10,
  10712. b = (number % 100) - a,
  10713. c = number >= 100 ? 100 : null;
  10714. return number + (suffixes$4[a] || suffixes$4[b] || suffixes$4[c]);
  10715. }
  10716. },
  10717. week: {
  10718. dow: 1, // Monday is the first day of the week.
  10719. doy: 7, // The week that contains Jan 7th is the first week of the year.
  10720. },
  10721. });
  10722. //! moment.js locale configuration
  10723. moment.defineLocale('tl-ph', {
  10724. months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split(
  10725. '_'
  10726. ),
  10727. monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
  10728. weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split(
  10729. '_'
  10730. ),
  10731. weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
  10732. weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
  10733. longDateFormat: {
  10734. LT: 'HH:mm',
  10735. LTS: 'HH:mm:ss',
  10736. L: 'MM/D/YYYY',
  10737. LL: 'MMMM D, YYYY',
  10738. LLL: 'MMMM D, YYYY HH:mm',
  10739. LLLL: 'dddd, MMMM DD, YYYY HH:mm',
  10740. },
  10741. calendar: {
  10742. sameDay: 'LT [ngayong araw]',
  10743. nextDay: '[Bukas ng] LT',
  10744. nextWeek: 'LT [sa susunod na] dddd',
  10745. lastDay: 'LT [kahapon]',
  10746. lastWeek: 'LT [noong nakaraang] dddd',
  10747. sameElse: 'L',
  10748. },
  10749. relativeTime: {
  10750. future: 'sa loob ng %s',
  10751. past: '%s ang nakalipas',
  10752. s: 'ilang segundo',
  10753. ss: '%d segundo',
  10754. m: 'isang minuto',
  10755. mm: '%d minuto',
  10756. h: 'isang oras',
  10757. hh: '%d oras',
  10758. d: 'isang araw',
  10759. dd: '%d araw',
  10760. M: 'isang buwan',
  10761. MM: '%d buwan',
  10762. y: 'isang taon',
  10763. yy: '%d taon',
  10764. },
  10765. dayOfMonthOrdinalParse: /\d{1,2}/,
  10766. ordinal: function (number) {
  10767. return number;
  10768. },
  10769. week: {
  10770. dow: 1, // Monday is the first day of the week.
  10771. doy: 4, // The week that contains Jan 4th is the first week of the year.
  10772. },
  10773. });
  10774. //! moment.js locale configuration
  10775. var numbersNouns = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_');
  10776. function translateFuture(output) {
  10777. var time = output;
  10778. time =
  10779. output.indexOf('jaj') !== -1
  10780. ? time.slice(0, -3) + 'leS'
  10781. : output.indexOf('jar') !== -1
  10782. ? time.slice(0, -3) + 'waQ'
  10783. : output.indexOf('DIS') !== -1
  10784. ? time.slice(0, -3) + 'nem'
  10785. : time + ' pIq';
  10786. return time;
  10787. }
  10788. function translatePast(output) {
  10789. var time = output;
  10790. time =
  10791. output.indexOf('jaj') !== -1
  10792. ? time.slice(0, -3) + 'Hu’'
  10793. : output.indexOf('jar') !== -1
  10794. ? time.slice(0, -3) + 'wen'
  10795. : output.indexOf('DIS') !== -1
  10796. ? time.slice(0, -3) + 'ben'
  10797. : time + ' ret';
  10798. return time;
  10799. }
  10800. function translate$a(number, withoutSuffix, string, isFuture) {
  10801. var numberNoun = numberAsNoun(number);
  10802. switch (string) {
  10803. case 'ss':
  10804. return numberNoun + ' lup';
  10805. case 'mm':
  10806. return numberNoun + ' tup';
  10807. case 'hh':
  10808. return numberNoun + ' rep';
  10809. case 'dd':
  10810. return numberNoun + ' jaj';
  10811. case 'MM':
  10812. return numberNoun + ' jar';
  10813. case 'yy':
  10814. return numberNoun + ' DIS';
  10815. }
  10816. }
  10817. function numberAsNoun(number) {
  10818. var hundred = Math.floor((number % 1000) / 100),
  10819. ten = Math.floor((number % 100) / 10),
  10820. one = number % 10,
  10821. word = '';
  10822. if (hundred > 0) {
  10823. word += numbersNouns[hundred] + 'vatlh';
  10824. }
  10825. if (ten > 0) {
  10826. word += (word !== '' ? ' ' : '') + numbersNouns[ten] + 'maH';
  10827. }
  10828. if (one > 0) {
  10829. word += (word !== '' ? ' ' : '') + numbersNouns[one];
  10830. }
  10831. return word === '' ? 'pagh' : word;
  10832. }
  10833. moment.defineLocale('tlh', {
  10834. months: 'tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’'.split(
  10835. '_'
  10836. ),
  10837. monthsShort:
  10838. 'jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’'.split(
  10839. '_'
  10840. ),
  10841. monthsParseExact: true,
  10842. weekdays: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split(
  10843. '_'
  10844. ),
  10845. weekdaysShort:
  10846. 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
  10847. weekdaysMin:
  10848. 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
  10849. longDateFormat: {
  10850. LT: 'HH:mm',
  10851. LTS: 'HH:mm:ss',
  10852. L: 'DD.MM.YYYY',
  10853. LL: 'D MMMM YYYY',
  10854. LLL: 'D MMMM YYYY HH:mm',
  10855. LLLL: 'dddd, D MMMM YYYY HH:mm',
  10856. },
  10857. calendar: {
  10858. sameDay: '[DaHjaj] LT',
  10859. nextDay: '[wa’leS] LT',
  10860. nextWeek: 'LLL',
  10861. lastDay: '[wa’Hu’] LT',
  10862. lastWeek: 'LLL',
  10863. sameElse: 'L',
  10864. },
  10865. relativeTime: {
  10866. future: translateFuture,
  10867. past: translatePast,
  10868. s: 'puS lup',
  10869. ss: translate$a,
  10870. m: 'wa’ tup',
  10871. mm: translate$a,
  10872. h: 'wa’ rep',
  10873. hh: translate$a,
  10874. d: 'wa’ jaj',
  10875. dd: translate$a,
  10876. M: 'wa’ jar',
  10877. MM: translate$a,
  10878. y: 'wa’ DIS',
  10879. yy: translate$a,
  10880. },
  10881. dayOfMonthOrdinalParse: /\d{1,2}\./,
  10882. ordinal: '%d.',
  10883. week: {
  10884. dow: 1, // Monday is the first day of the week.
  10885. doy: 4, // The week that contains Jan 4th is the first week of the year.
  10886. },
  10887. });
  10888. //! moment.js locale configuration
  10889. var suffixes$5 = {
  10890. 1: "'inci",
  10891. 5: "'inci",
  10892. 8: "'inci",
  10893. 70: "'inci",
  10894. 80: "'inci",
  10895. 2: "'nci",
  10896. 7: "'nci",
  10897. 20: "'nci",
  10898. 50: "'nci",
  10899. 3: "'üncü",
  10900. 4: "'üncü",
  10901. 100: "'üncü",
  10902. 6: "'ncı",
  10903. 9: "'uncu",
  10904. 10: "'uncu",
  10905. 30: "'uncu",
  10906. 60: "'ıncı",
  10907. 90: "'ıncı",
  10908. };
  10909. moment.defineLocale('tr', {
  10910. months: 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split(
  10911. '_'
  10912. ),
  10913. monthsShort: 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'),
  10914. weekdays: 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split(
  10915. '_'
  10916. ),
  10917. weekdaysShort: 'Paz_Pzt_Sal_Çar_Per_Cum_Cmt'.split('_'),
  10918. weekdaysMin: 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'),
  10919. meridiem: function (hours, minutes, isLower) {
  10920. if (hours < 12) {
  10921. return isLower ? 'öö' : 'ÖÖ';
  10922. } else {
  10923. return isLower ? 'ös' : 'ÖS';
  10924. }
  10925. },
  10926. meridiemParse: /öö|ÖÖ|ös|ÖS/,
  10927. isPM: function (input) {
  10928. return input === 'ös' || input === 'ÖS';
  10929. },
  10930. longDateFormat: {
  10931. LT: 'HH:mm',
  10932. LTS: 'HH:mm:ss',
  10933. L: 'DD.MM.YYYY',
  10934. LL: 'D MMMM YYYY',
  10935. LLL: 'D MMMM YYYY HH:mm',
  10936. LLLL: 'dddd, D MMMM YYYY HH:mm',
  10937. },
  10938. calendar: {
  10939. sameDay: '[bugün saat] LT',
  10940. nextDay: '[yarın saat] LT',
  10941. nextWeek: '[gelecek] dddd [saat] LT',
  10942. lastDay: '[dün] LT',
  10943. lastWeek: '[geçen] dddd [saat] LT',
  10944. sameElse: 'L',
  10945. },
  10946. relativeTime: {
  10947. future: '%s sonra',
  10948. past: '%s önce',
  10949. s: 'birkaç saniye',
  10950. ss: '%d saniye',
  10951. m: 'bir dakika',
  10952. mm: '%d dakika',
  10953. h: 'bir saat',
  10954. hh: '%d saat',
  10955. d: 'bir gün',
  10956. dd: '%d gün',
  10957. w: 'bir hafta',
  10958. ww: '%d hafta',
  10959. M: 'bir ay',
  10960. MM: '%d ay',
  10961. y: 'bir yıl',
  10962. yy: '%d yıl',
  10963. },
  10964. ordinal: function (number, period) {
  10965. switch (period) {
  10966. case 'd':
  10967. case 'D':
  10968. case 'Do':
  10969. case 'DD':
  10970. return number;
  10971. default:
  10972. if (number === 0) {
  10973. // special case for zero
  10974. return number + "'ıncı";
  10975. }
  10976. var a = number % 10,
  10977. b = (number % 100) - a,
  10978. c = number >= 100 ? 100 : null;
  10979. return number + (suffixes$5[a] || suffixes$5[b] || suffixes$5[c]);
  10980. }
  10981. },
  10982. week: {
  10983. dow: 1, // Monday is the first day of the week.
  10984. doy: 7, // The week that contains Jan 7th is the first week of the year.
  10985. },
  10986. });
  10987. //! moment.js locale configuration
  10988. // After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals.
  10989. // This is currently too difficult (maybe even impossible) to add.
  10990. moment.defineLocale('tzl', {
  10991. months: 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split(
  10992. '_'
  10993. ),
  10994. monthsShort: 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'),
  10995. weekdays: 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'),
  10996. weekdaysShort: 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'),
  10997. weekdaysMin: 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'),
  10998. longDateFormat: {
  10999. LT: 'HH.mm',
  11000. LTS: 'HH.mm.ss',
  11001. L: 'DD.MM.YYYY',
  11002. LL: 'D. MMMM [dallas] YYYY',
  11003. LLL: 'D. MMMM [dallas] YYYY HH.mm',
  11004. LLLL: 'dddd, [li] D. MMMM [dallas] YYYY HH.mm',
  11005. },
  11006. meridiemParse: /d\'o|d\'a/i,
  11007. isPM: function (input) {
  11008. return "d'o" === input.toLowerCase();
  11009. },
  11010. meridiem: function (hours, minutes, isLower) {
  11011. if (hours > 11) {
  11012. return isLower ? "d'o" : "D'O";
  11013. } else {
  11014. return isLower ? "d'a" : "D'A";
  11015. }
  11016. },
  11017. calendar: {
  11018. sameDay: '[oxhi à] LT',
  11019. nextDay: '[demà à] LT',
  11020. nextWeek: 'dddd [à] LT',
  11021. lastDay: '[ieiri à] LT',
  11022. lastWeek: '[sür el] dddd [lasteu à] LT',
  11023. sameElse: 'L',
  11024. },
  11025. relativeTime: {
  11026. future: 'osprei %s',
  11027. past: 'ja%s',
  11028. s: processRelativeTime$8,
  11029. ss: processRelativeTime$8,
  11030. m: processRelativeTime$8,
  11031. mm: processRelativeTime$8,
  11032. h: processRelativeTime$8,
  11033. hh: processRelativeTime$8,
  11034. d: processRelativeTime$8,
  11035. dd: processRelativeTime$8,
  11036. M: processRelativeTime$8,
  11037. MM: processRelativeTime$8,
  11038. y: processRelativeTime$8,
  11039. yy: processRelativeTime$8,
  11040. },
  11041. dayOfMonthOrdinalParse: /\d{1,2}\./,
  11042. ordinal: '%d.',
  11043. week: {
  11044. dow: 1, // Monday is the first day of the week.
  11045. doy: 4, // The week that contains Jan 4th is the first week of the year.
  11046. },
  11047. });
  11048. function processRelativeTime$8(number, withoutSuffix, key, isFuture) {
  11049. var format = {
  11050. s: ['viensas secunds', "'iensas secunds"],
  11051. ss: [number + ' secunds', '' + number + ' secunds'],
  11052. m: ["'n míut", "'iens míut"],
  11053. mm: [number + ' míuts', '' + number + ' míuts'],
  11054. h: ["'n þora", "'iensa þora"],
  11055. hh: [number + ' þoras', '' + number + ' þoras'],
  11056. d: ["'n ziua", "'iensa ziua"],
  11057. dd: [number + ' ziuas', '' + number + ' ziuas'],
  11058. M: ["'n mes", "'iens mes"],
  11059. MM: [number + ' mesen', '' + number + ' mesen'],
  11060. y: ["'n ar", "'iens ar"],
  11061. yy: [number + ' ars', '' + number + ' ars'],
  11062. };
  11063. return isFuture
  11064. ? format[key][0]
  11065. : withoutSuffix
  11066. ? format[key][0]
  11067. : format[key][1];
  11068. }
  11069. //! moment.js locale configuration
  11070. moment.defineLocale('tzm-latn', {
  11071. months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(
  11072. '_'
  11073. ),
  11074. monthsShort:
  11075. 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(
  11076. '_'
  11077. ),
  11078. weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
  11079. weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
  11080. weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
  11081. longDateFormat: {
  11082. LT: 'HH:mm',
  11083. LTS: 'HH:mm:ss',
  11084. L: 'DD/MM/YYYY',
  11085. LL: 'D MMMM YYYY',
  11086. LLL: 'D MMMM YYYY HH:mm',
  11087. LLLL: 'dddd D MMMM YYYY HH:mm',
  11088. },
  11089. calendar: {
  11090. sameDay: '[asdkh g] LT',
  11091. nextDay: '[aska g] LT',
  11092. nextWeek: 'dddd [g] LT',
  11093. lastDay: '[assant g] LT',
  11094. lastWeek: 'dddd [g] LT',
  11095. sameElse: 'L',
  11096. },
  11097. relativeTime: {
  11098. future: 'dadkh s yan %s',
  11099. past: 'yan %s',
  11100. s: 'imik',
  11101. ss: '%d imik',
  11102. m: 'minuḍ',
  11103. mm: '%d minuḍ',
  11104. h: 'saɛa',
  11105. hh: '%d tassaɛin',
  11106. d: 'ass',
  11107. dd: '%d ossan',
  11108. M: 'ayowr',
  11109. MM: '%d iyyirn',
  11110. y: 'asgas',
  11111. yy: '%d isgasn',
  11112. },
  11113. week: {
  11114. dow: 6, // Saturday is the first day of the week.
  11115. doy: 12, // The week that contains Jan 12th is the first week of the year.
  11116. },
  11117. });
  11118. //! moment.js locale configuration
  11119. moment.defineLocale('tzm', {
  11120. months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(
  11121. '_'
  11122. ),
  11123. monthsShort:
  11124. 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(
  11125. '_'
  11126. ),
  11127. weekdays: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  11128. weekdaysShort: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  11129. weekdaysMin: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  11130. longDateFormat: {
  11131. LT: 'HH:mm',
  11132. LTS: 'HH:mm:ss',
  11133. L: 'DD/MM/YYYY',
  11134. LL: 'D MMMM YYYY',
  11135. LLL: 'D MMMM YYYY HH:mm',
  11136. LLLL: 'dddd D MMMM YYYY HH:mm',
  11137. },
  11138. calendar: {
  11139. sameDay: '[ⴰⵙⴷⵅ ⴴ] LT',
  11140. nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',
  11141. nextWeek: 'dddd [ⴴ] LT',
  11142. lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',
  11143. lastWeek: 'dddd [ⴴ] LT',
  11144. sameElse: 'L',
  11145. },
  11146. relativeTime: {
  11147. future: 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s',
  11148. past: 'ⵢⴰⵏ %s',
  11149. s: 'ⵉⵎⵉⴽ',
  11150. ss: '%d ⵉⵎⵉⴽ',
  11151. m: 'ⵎⵉⵏⵓⴺ',
  11152. mm: '%d ⵎⵉⵏⵓⴺ',
  11153. h: 'ⵙⴰⵄⴰ',
  11154. hh: '%d ⵜⴰⵙⵙⴰⵄⵉⵏ',
  11155. d: 'ⴰⵙⵙ',
  11156. dd: '%d oⵙⵙⴰⵏ',
  11157. M: 'ⴰⵢoⵓⵔ',
  11158. MM: '%d ⵉⵢⵢⵉⵔⵏ',
  11159. y: 'ⴰⵙⴳⴰⵙ',
  11160. yy: '%d ⵉⵙⴳⴰⵙⵏ',
  11161. },
  11162. week: {
  11163. dow: 6, // Saturday is the first day of the week.
  11164. doy: 12, // The week that contains Jan 12th is the first week of the year.
  11165. },
  11166. });
  11167. //! moment.js locale configuration
  11168. moment.defineLocale('ug-cn', {
  11169. months: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split(
  11170. '_'
  11171. ),
  11172. monthsShort:
  11173. 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split(
  11174. '_'
  11175. ),
  11176. weekdays: 'يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە'.split(
  11177. '_'
  11178. ),
  11179. weekdaysShort: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'),
  11180. weekdaysMin: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'),
  11181. longDateFormat: {
  11182. LT: 'HH:mm',
  11183. LTS: 'HH:mm:ss',
  11184. L: 'YYYY-MM-DD',
  11185. LL: 'YYYY-يىلىM-ئاينىڭD-كۈنى',
  11186. LLL: 'YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm',
  11187. LLLL: 'dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm',
  11188. },
  11189. meridiemParse: /يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,
  11190. meridiemHour: function (hour, meridiem) {
  11191. if (hour === 12) {
  11192. hour = 0;
  11193. }
  11194. if (
  11195. meridiem === 'يېرىم كېچە' ||
  11196. meridiem === 'سەھەر' ||
  11197. meridiem === 'چۈشتىن بۇرۇن'
  11198. ) {
  11199. return hour;
  11200. } else if (meridiem === 'چۈشتىن كېيىن' || meridiem === 'كەچ') {
  11201. return hour + 12;
  11202. } else {
  11203. return hour >= 11 ? hour : hour + 12;
  11204. }
  11205. },
  11206. meridiem: function (hour, minute, isLower) {
  11207. var hm = hour * 100 + minute;
  11208. if (hm < 600) {
  11209. return 'يېرىم كېچە';
  11210. } else if (hm < 900) {
  11211. return 'سەھەر';
  11212. } else if (hm < 1130) {
  11213. return 'چۈشتىن بۇرۇن';
  11214. } else if (hm < 1230) {
  11215. return 'چۈش';
  11216. } else if (hm < 1800) {
  11217. return 'چۈشتىن كېيىن';
  11218. } else {
  11219. return 'كەچ';
  11220. }
  11221. },
  11222. calendar: {
  11223. sameDay: '[بۈگۈن سائەت] LT',
  11224. nextDay: '[ئەتە سائەت] LT',
  11225. nextWeek: '[كېلەركى] dddd [سائەت] LT',
  11226. lastDay: '[تۆنۈگۈن] LT',
  11227. lastWeek: '[ئالدىنقى] dddd [سائەت] LT',
  11228. sameElse: 'L',
  11229. },
  11230. relativeTime: {
  11231. future: '%s كېيىن',
  11232. past: '%s بۇرۇن',
  11233. s: 'نەچچە سېكونت',
  11234. ss: '%d سېكونت',
  11235. m: 'بىر مىنۇت',
  11236. mm: '%d مىنۇت',
  11237. h: 'بىر سائەت',
  11238. hh: '%d سائەت',
  11239. d: 'بىر كۈن',
  11240. dd: '%d كۈن',
  11241. M: 'بىر ئاي',
  11242. MM: '%d ئاي',
  11243. y: 'بىر يىل',
  11244. yy: '%d يىل',
  11245. },
  11246. dayOfMonthOrdinalParse: /\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,
  11247. ordinal: function (number, period) {
  11248. switch (period) {
  11249. case 'd':
  11250. case 'D':
  11251. case 'DDD':
  11252. return number + '-كۈنى';
  11253. case 'w':
  11254. case 'W':
  11255. return number + '-ھەپتە';
  11256. default:
  11257. return number;
  11258. }
  11259. },
  11260. preparse: function (string) {
  11261. return string.replace(/،/g, ',');
  11262. },
  11263. postformat: function (string) {
  11264. return string.replace(/,/g, '،');
  11265. },
  11266. week: {
  11267. // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
  11268. dow: 1, // Monday is the first day of the week.
  11269. doy: 7, // The week that contains Jan 1st is the first week of the year.
  11270. },
  11271. });
  11272. //! moment.js locale configuration
  11273. function plural$6(word, num) {
  11274. var forms = word.split('_');
  11275. return num % 10 === 1 && num % 100 !== 11
  11276. ? forms[0]
  11277. : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)
  11278. ? forms[1]
  11279. : forms[2];
  11280. }
  11281. function relativeTimeWithPlural$4(number, withoutSuffix, key) {
  11282. var format = {
  11283. ss: withoutSuffix ? 'секунда_секунди_секунд' : 'секунду_секунди_секунд',
  11284. mm: withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин',
  11285. hh: withoutSuffix ? 'година_години_годин' : 'годину_години_годин',
  11286. dd: 'день_дні_днів',
  11287. MM: 'місяць_місяці_місяців',
  11288. yy: 'рік_роки_років',
  11289. };
  11290. if (key === 'm') {
  11291. return withoutSuffix ? 'хвилина' : 'хвилину';
  11292. } else if (key === 'h') {
  11293. return withoutSuffix ? 'година' : 'годину';
  11294. } else {
  11295. return number + ' ' + plural$6(format[key], +number);
  11296. }
  11297. }
  11298. function weekdaysCaseReplace(m, format) {
  11299. var weekdays = {
  11300. nominative:
  11301. 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split(
  11302. '_'
  11303. ),
  11304. accusative:
  11305. 'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split(
  11306. '_'
  11307. ),
  11308. genitive:
  11309. 'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split(
  11310. '_'
  11311. ),
  11312. },
  11313. nounCase;
  11314. if (m === true) {
  11315. return weekdays['nominative']
  11316. .slice(1, 7)
  11317. .concat(weekdays['nominative'].slice(0, 1));
  11318. }
  11319. if (!m) {
  11320. return weekdays['nominative'];
  11321. }
  11322. nounCase = /(\[[ВвУу]\]) ?dddd/.test(format)
  11323. ? 'accusative'
  11324. : /\[?(?:минулої|наступної)? ?\] ?dddd/.test(format)
  11325. ? 'genitive'
  11326. : 'nominative';
  11327. return weekdays[nounCase][m.day()];
  11328. }
  11329. function processHoursFunction(str) {
  11330. return function () {
  11331. return str + 'о' + (this.hours() === 11 ? 'б' : '') + '] LT';
  11332. };
  11333. }
  11334. moment.defineLocale('uk', {
  11335. months: {
  11336. format: 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split(
  11337. '_'
  11338. ),
  11339. standalone:
  11340. 'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split(
  11341. '_'
  11342. ),
  11343. },
  11344. monthsShort: 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split(
  11345. '_'
  11346. ),
  11347. weekdays: weekdaysCaseReplace,
  11348. weekdaysShort: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
  11349. weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
  11350. longDateFormat: {
  11351. LT: 'HH:mm',
  11352. LTS: 'HH:mm:ss',
  11353. L: 'DD.MM.YYYY',
  11354. LL: 'D MMMM YYYY р.',
  11355. LLL: 'D MMMM YYYY р., HH:mm',
  11356. LLLL: 'dddd, D MMMM YYYY р., HH:mm',
  11357. },
  11358. calendar: {
  11359. sameDay: processHoursFunction('[Сьогодні '),
  11360. nextDay: processHoursFunction('[Завтра '),
  11361. lastDay: processHoursFunction('[Вчора '),
  11362. nextWeek: processHoursFunction('[У] dddd ['),
  11363. lastWeek: function () {
  11364. switch (this.day()) {
  11365. case 0:
  11366. case 3:
  11367. case 5:
  11368. case 6:
  11369. return processHoursFunction('[Минулої] dddd [').call(this);
  11370. case 1:
  11371. case 2:
  11372. case 4:
  11373. return processHoursFunction('[Минулого] dddd [').call(this);
  11374. }
  11375. },
  11376. sameElse: 'L',
  11377. },
  11378. relativeTime: {
  11379. future: 'за %s',
  11380. past: '%s тому',
  11381. s: 'декілька секунд',
  11382. ss: relativeTimeWithPlural$4,
  11383. m: relativeTimeWithPlural$4,
  11384. mm: relativeTimeWithPlural$4,
  11385. h: 'годину',
  11386. hh: relativeTimeWithPlural$4,
  11387. d: 'день',
  11388. dd: relativeTimeWithPlural$4,
  11389. M: 'місяць',
  11390. MM: relativeTimeWithPlural$4,
  11391. y: 'рік',
  11392. yy: relativeTimeWithPlural$4,
  11393. },
  11394. // M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason
  11395. meridiemParse: /ночі|ранку|дня|вечора/,
  11396. isPM: function (input) {
  11397. return /^(дня|вечора)$/.test(input);
  11398. },
  11399. meridiem: function (hour, minute, isLower) {
  11400. if (hour < 4) {
  11401. return 'ночі';
  11402. } else if (hour < 12) {
  11403. return 'ранку';
  11404. } else if (hour < 17) {
  11405. return 'дня';
  11406. } else {
  11407. return 'вечора';
  11408. }
  11409. },
  11410. dayOfMonthOrdinalParse: /\d{1,2}-(й|го)/,
  11411. ordinal: function (number, period) {
  11412. switch (period) {
  11413. case 'M':
  11414. case 'd':
  11415. case 'DDD':
  11416. case 'w':
  11417. case 'W':
  11418. return number + '-й';
  11419. case 'D':
  11420. return number + '-го';
  11421. default:
  11422. return number;
  11423. }
  11424. },
  11425. week: {
  11426. dow: 1, // Monday is the first day of the week.
  11427. doy: 7, // The week that contains Jan 7th is the first week of the year.
  11428. },
  11429. });
  11430. //! moment.js locale configuration
  11431. var months$a = [
  11432. 'جنوری',
  11433. 'فروری',
  11434. 'مارچ',
  11435. 'اپریل',
  11436. 'مئی',
  11437. 'جون',
  11438. 'جولائی',
  11439. 'اگست',
  11440. 'ستمبر',
  11441. 'اکتوبر',
  11442. 'نومبر',
  11443. 'دسمبر',
  11444. ],
  11445. days$1 = ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'];
  11446. moment.defineLocale('ur', {
  11447. months: months$a,
  11448. monthsShort: months$a,
  11449. weekdays: days$1,
  11450. weekdaysShort: days$1,
  11451. weekdaysMin: days$1,
  11452. longDateFormat: {
  11453. LT: 'HH:mm',
  11454. LTS: 'HH:mm:ss',
  11455. L: 'DD/MM/YYYY',
  11456. LL: 'D MMMM YYYY',
  11457. LLL: 'D MMMM YYYY HH:mm',
  11458. LLLL: 'dddd، D MMMM YYYY HH:mm',
  11459. },
  11460. meridiemParse: /صبح|شام/,
  11461. isPM: function (input) {
  11462. return 'شام' === input;
  11463. },
  11464. meridiem: function (hour, minute, isLower) {
  11465. if (hour < 12) {
  11466. return 'صبح';
  11467. }
  11468. return 'شام';
  11469. },
  11470. calendar: {
  11471. sameDay: '[آج بوقت] LT',
  11472. nextDay: '[کل بوقت] LT',
  11473. nextWeek: 'dddd [بوقت] LT',
  11474. lastDay: '[گذشتہ روز بوقت] LT',
  11475. lastWeek: '[گذشتہ] dddd [بوقت] LT',
  11476. sameElse: 'L',
  11477. },
  11478. relativeTime: {
  11479. future: '%s بعد',
  11480. past: '%s قبل',
  11481. s: 'چند سیکنڈ',
  11482. ss: '%d سیکنڈ',
  11483. m: 'ایک منٹ',
  11484. mm: '%d منٹ',
  11485. h: 'ایک گھنٹہ',
  11486. hh: '%d گھنٹے',
  11487. d: 'ایک دن',
  11488. dd: '%d دن',
  11489. M: 'ایک ماہ',
  11490. MM: '%d ماہ',
  11491. y: 'ایک سال',
  11492. yy: '%d سال',
  11493. },
  11494. preparse: function (string) {
  11495. return string.replace(/،/g, ',');
  11496. },
  11497. postformat: function (string) {
  11498. return string.replace(/,/g, '،');
  11499. },
  11500. week: {
  11501. dow: 1, // Monday is the first day of the week.
  11502. doy: 4, // The week that contains Jan 4th is the first week of the year.
  11503. },
  11504. });
  11505. //! moment.js locale configuration
  11506. moment.defineLocale('uz-latn', {
  11507. months: 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split(
  11508. '_'
  11509. ),
  11510. monthsShort: 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'),
  11511. weekdays:
  11512. 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split(
  11513. '_'
  11514. ),
  11515. weekdaysShort: 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'),
  11516. weekdaysMin: 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'),
  11517. longDateFormat: {
  11518. LT: 'HH:mm',
  11519. LTS: 'HH:mm:ss',
  11520. L: 'DD/MM/YYYY',
  11521. LL: 'D MMMM YYYY',
  11522. LLL: 'D MMMM YYYY HH:mm',
  11523. LLLL: 'D MMMM YYYY, dddd HH:mm',
  11524. },
  11525. calendar: {
  11526. sameDay: '[Bugun soat] LT [da]',
  11527. nextDay: '[Ertaga] LT [da]',
  11528. nextWeek: 'dddd [kuni soat] LT [da]',
  11529. lastDay: '[Kecha soat] LT [da]',
  11530. lastWeek: "[O'tgan] dddd [kuni soat] LT [da]",
  11531. sameElse: 'L',
  11532. },
  11533. relativeTime: {
  11534. future: 'Yaqin %s ichida',
  11535. past: 'Bir necha %s oldin',
  11536. s: 'soniya',
  11537. ss: '%d soniya',
  11538. m: 'bir daqiqa',
  11539. mm: '%d daqiqa',
  11540. h: 'bir soat',
  11541. hh: '%d soat',
  11542. d: 'bir kun',
  11543. dd: '%d kun',
  11544. M: 'bir oy',
  11545. MM: '%d oy',
  11546. y: 'bir yil',
  11547. yy: '%d yil',
  11548. },
  11549. week: {
  11550. dow: 1, // Monday is the first day of the week.
  11551. doy: 7, // The week that contains Jan 7th is the first week of the year.
  11552. },
  11553. });
  11554. //! moment.js locale configuration
  11555. moment.defineLocale('uz', {
  11556. months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split(
  11557. '_'
  11558. ),
  11559. monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),
  11560. weekdays: 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'),
  11561. weekdaysShort: 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'),
  11562. weekdaysMin: 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'),
  11563. longDateFormat: {
  11564. LT: 'HH:mm',
  11565. LTS: 'HH:mm:ss',
  11566. L: 'DD/MM/YYYY',
  11567. LL: 'D MMMM YYYY',
  11568. LLL: 'D MMMM YYYY HH:mm',
  11569. LLLL: 'D MMMM YYYY, dddd HH:mm',
  11570. },
  11571. calendar: {
  11572. sameDay: '[Бугун соат] LT [да]',
  11573. nextDay: '[Эртага] LT [да]',
  11574. nextWeek: 'dddd [куни соат] LT [да]',
  11575. lastDay: '[Кеча соат] LT [да]',
  11576. lastWeek: '[Утган] dddd [куни соат] LT [да]',
  11577. sameElse: 'L',
  11578. },
  11579. relativeTime: {
  11580. future: 'Якин %s ичида',
  11581. past: 'Бир неча %s олдин',
  11582. s: 'фурсат',
  11583. ss: '%d фурсат',
  11584. m: 'бир дакика',
  11585. mm: '%d дакика',
  11586. h: 'бир соат',
  11587. hh: '%d соат',
  11588. d: 'бир кун',
  11589. dd: '%d кун',
  11590. M: 'бир ой',
  11591. MM: '%d ой',
  11592. y: 'бир йил',
  11593. yy: '%d йил',
  11594. },
  11595. week: {
  11596. dow: 1, // Monday is the first day of the week.
  11597. doy: 7, // The week that contains Jan 4th is the first week of the year.
  11598. },
  11599. });
  11600. //! moment.js locale configuration
  11601. moment.defineLocale('vi', {
  11602. months: 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split(
  11603. '_'
  11604. ),
  11605. monthsShort:
  11606. 'Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12'.split(
  11607. '_'
  11608. ),
  11609. monthsParseExact: true,
  11610. weekdays: 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split(
  11611. '_'
  11612. ),
  11613. weekdaysShort: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
  11614. weekdaysMin: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
  11615. weekdaysParseExact: true,
  11616. meridiemParse: /sa|ch/i,
  11617. isPM: function (input) {
  11618. return /^ch$/i.test(input);
  11619. },
  11620. meridiem: function (hours, minutes, isLower) {
  11621. if (hours < 12) {
  11622. return isLower ? 'sa' : 'SA';
  11623. } else {
  11624. return isLower ? 'ch' : 'CH';
  11625. }
  11626. },
  11627. longDateFormat: {
  11628. LT: 'HH:mm',
  11629. LTS: 'HH:mm:ss',
  11630. L: 'DD/MM/YYYY',
  11631. LL: 'D MMMM [năm] YYYY',
  11632. LLL: 'D MMMM [năm] YYYY HH:mm',
  11633. LLLL: 'dddd, D MMMM [năm] YYYY HH:mm',
  11634. l: 'DD/M/YYYY',
  11635. ll: 'D MMM YYYY',
  11636. lll: 'D MMM YYYY HH:mm',
  11637. llll: 'ddd, D MMM YYYY HH:mm',
  11638. },
  11639. calendar: {
  11640. sameDay: '[Hôm nay lúc] LT',
  11641. nextDay: '[Ngày mai lúc] LT',
  11642. nextWeek: 'dddd [tuần tới lúc] LT',
  11643. lastDay: '[Hôm qua lúc] LT',
  11644. lastWeek: 'dddd [tuần trước lúc] LT',
  11645. sameElse: 'L',
  11646. },
  11647. relativeTime: {
  11648. future: '%s tới',
  11649. past: '%s trước',
  11650. s: 'vài giây',
  11651. ss: '%d giây',
  11652. m: 'một phút',
  11653. mm: '%d phút',
  11654. h: 'một giờ',
  11655. hh: '%d giờ',
  11656. d: 'một ngày',
  11657. dd: '%d ngày',
  11658. w: 'một tuần',
  11659. ww: '%d tuần',
  11660. M: 'một tháng',
  11661. MM: '%d tháng',
  11662. y: 'một năm',
  11663. yy: '%d năm',
  11664. },
  11665. dayOfMonthOrdinalParse: /\d{1,2}/,
  11666. ordinal: function (number) {
  11667. return number;
  11668. },
  11669. week: {
  11670. dow: 1, // Monday is the first day of the week.
  11671. doy: 4, // The week that contains Jan 4th is the first week of the year.
  11672. },
  11673. });
  11674. //! moment.js locale configuration
  11675. moment.defineLocale('x-pseudo', {
  11676. months: 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split(
  11677. '_'
  11678. ),
  11679. monthsShort:
  11680. 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split(
  11681. '_'
  11682. ),
  11683. monthsParseExact: true,
  11684. weekdays:
  11685. 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split(
  11686. '_'
  11687. ),
  11688. weekdaysShort: 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'),
  11689. weekdaysMin: 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'),
  11690. weekdaysParseExact: true,
  11691. longDateFormat: {
  11692. LT: 'HH:mm',
  11693. L: 'DD/MM/YYYY',
  11694. LL: 'D MMMM YYYY',
  11695. LLL: 'D MMMM YYYY HH:mm',
  11696. LLLL: 'dddd, D MMMM YYYY HH:mm',
  11697. },
  11698. calendar: {
  11699. sameDay: '[T~ódá~ý át] LT',
  11700. nextDay: '[T~ómó~rró~w át] LT',
  11701. nextWeek: 'dddd [át] LT',
  11702. lastDay: '[Ý~ést~érdá~ý át] LT',
  11703. lastWeek: '[L~ást] dddd [át] LT',
  11704. sameElse: 'L',
  11705. },
  11706. relativeTime: {
  11707. future: 'í~ñ %s',
  11708. past: '%s á~gó',
  11709. s: 'á ~féw ~sécó~ñds',
  11710. ss: '%d s~écóñ~ds',
  11711. m: 'á ~míñ~úté',
  11712. mm: '%d m~íñú~tés',
  11713. h: 'á~ñ hó~úr',
  11714. hh: '%d h~óúrs',
  11715. d: 'á ~dáý',
  11716. dd: '%d d~áýs',
  11717. M: 'á ~móñ~th',
  11718. MM: '%d m~óñt~hs',
  11719. y: 'á ~ýéár',
  11720. yy: '%d ý~éárs',
  11721. },
  11722. dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
  11723. ordinal: function (number) {
  11724. var b = number % 10,
  11725. output =
  11726. ~~((number % 100) / 10) === 1
  11727. ? 'th'
  11728. : b === 1
  11729. ? 'st'
  11730. : b === 2
  11731. ? 'nd'
  11732. : b === 3
  11733. ? 'rd'
  11734. : 'th';
  11735. return number + output;
  11736. },
  11737. week: {
  11738. dow: 1, // Monday is the first day of the week.
  11739. doy: 4, // The week that contains Jan 4th is the first week of the year.
  11740. },
  11741. });
  11742. //! moment.js locale configuration
  11743. moment.defineLocale('yo', {
  11744. months: 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split(
  11745. '_'
  11746. ),
  11747. monthsShort: 'Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀'.split('_'),
  11748. weekdays: 'Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta'.split('_'),
  11749. weekdaysShort: 'Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá'.split('_'),
  11750. weekdaysMin: 'Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb'.split('_'),
  11751. longDateFormat: {
  11752. LT: 'h:mm A',
  11753. LTS: 'h:mm:ss A',
  11754. L: 'DD/MM/YYYY',
  11755. LL: 'D MMMM YYYY',
  11756. LLL: 'D MMMM YYYY h:mm A',
  11757. LLLL: 'dddd, D MMMM YYYY h:mm A',
  11758. },
  11759. calendar: {
  11760. sameDay: '[Ònì ni] LT',
  11761. nextDay: '[Ọ̀la ni] LT',
  11762. nextWeek: "dddd [Ọsẹ̀ tón'bọ] [ni] LT",
  11763. lastDay: '[Àna ni] LT',
  11764. lastWeek: 'dddd [Ọsẹ̀ tólọ́] [ni] LT',
  11765. sameElse: 'L',
  11766. },
  11767. relativeTime: {
  11768. future: 'ní %s',
  11769. past: '%s kọjá',
  11770. s: 'ìsẹjú aayá die',
  11771. ss: 'aayá %d',
  11772. m: 'ìsẹjú kan',
  11773. mm: 'ìsẹjú %d',
  11774. h: 'wákati kan',
  11775. hh: 'wákati %d',
  11776. d: 'ọjọ́ kan',
  11777. dd: 'ọjọ́ %d',
  11778. M: 'osù kan',
  11779. MM: 'osù %d',
  11780. y: 'ọdún kan',
  11781. yy: 'ọdún %d',
  11782. },
  11783. dayOfMonthOrdinalParse: /ọjọ́\s\d{1,2}/,
  11784. ordinal: 'ọjọ́ %d',
  11785. week: {
  11786. dow: 1, // Monday is the first day of the week.
  11787. doy: 4, // The week that contains Jan 4th is the first week of the year.
  11788. },
  11789. });
  11790. //! moment.js locale configuration
  11791. moment.defineLocale('zh-cn', {
  11792. months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
  11793. '_'
  11794. ),
  11795. monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
  11796. '_'
  11797. ),
  11798. weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
  11799. weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'),
  11800. weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
  11801. longDateFormat: {
  11802. LT: 'HH:mm',
  11803. LTS: 'HH:mm:ss',
  11804. L: 'YYYY/MM/DD',
  11805. LL: 'YYYY年M月D日',
  11806. LLL: 'YYYY年M月D日Ah点mm分',
  11807. LLLL: 'YYYY年M月D日ddddAh点mm分',
  11808. l: 'YYYY/M/D',
  11809. ll: 'YYYY年M月D日',
  11810. lll: 'YYYY年M月D日 HH:mm',
  11811. llll: 'YYYY年M月D日dddd HH:mm',
  11812. },
  11813. meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
  11814. meridiemHour: function (hour, meridiem) {
  11815. if (hour === 12) {
  11816. hour = 0;
  11817. }
  11818. if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
  11819. return hour;
  11820. } else if (meridiem === '下午' || meridiem === '晚上') {
  11821. return hour + 12;
  11822. } else {
  11823. // '中午'
  11824. return hour >= 11 ? hour : hour + 12;
  11825. }
  11826. },
  11827. meridiem: function (hour, minute, isLower) {
  11828. var hm = hour * 100 + minute;
  11829. if (hm < 600) {
  11830. return '凌晨';
  11831. } else if (hm < 900) {
  11832. return '早上';
  11833. } else if (hm < 1130) {
  11834. return '上午';
  11835. } else if (hm < 1230) {
  11836. return '中午';
  11837. } else if (hm < 1800) {
  11838. return '下午';
  11839. } else {
  11840. return '晚上';
  11841. }
  11842. },
  11843. calendar: {
  11844. sameDay: '[今天]LT',
  11845. nextDay: '[明天]LT',
  11846. nextWeek: function (now) {
  11847. if (now.week() !== this.week()) {
  11848. return '[下]dddLT';
  11849. } else {
  11850. return '[本]dddLT';
  11851. }
  11852. },
  11853. lastDay: '[昨天]LT',
  11854. lastWeek: function (now) {
  11855. if (this.week() !== now.week()) {
  11856. return '[上]dddLT';
  11857. } else {
  11858. return '[本]dddLT';
  11859. }
  11860. },
  11861. sameElse: 'L',
  11862. },
  11863. dayOfMonthOrdinalParse: /\d{1,2}(日|月|周)/,
  11864. ordinal: function (number, period) {
  11865. switch (period) {
  11866. case 'd':
  11867. case 'D':
  11868. case 'DDD':
  11869. return number + '日';
  11870. case 'M':
  11871. return number + '月';
  11872. case 'w':
  11873. case 'W':
  11874. return number + '周';
  11875. default:
  11876. return number;
  11877. }
  11878. },
  11879. relativeTime: {
  11880. future: '%s后',
  11881. past: '%s前',
  11882. s: '几秒',
  11883. ss: '%d 秒',
  11884. m: '1 分钟',
  11885. mm: '%d 分钟',
  11886. h: '1 小时',
  11887. hh: '%d 小时',
  11888. d: '1 天',
  11889. dd: '%d 天',
  11890. w: '1 周',
  11891. ww: '%d 周',
  11892. M: '1 个月',
  11893. MM: '%d 个月',
  11894. y: '1 年',
  11895. yy: '%d 年',
  11896. },
  11897. week: {
  11898. // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
  11899. dow: 1, // Monday is the first day of the week.
  11900. doy: 4, // The week that contains Jan 4th is the first week of the year.
  11901. },
  11902. });
  11903. //! moment.js locale configuration
  11904. moment.defineLocale('zh-hk', {
  11905. months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
  11906. '_'
  11907. ),
  11908. monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
  11909. '_'
  11910. ),
  11911. weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
  11912. weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),
  11913. weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
  11914. longDateFormat: {
  11915. LT: 'HH:mm',
  11916. LTS: 'HH:mm:ss',
  11917. L: 'YYYY/MM/DD',
  11918. LL: 'YYYY年M月D日',
  11919. LLL: 'YYYY年M月D日 HH:mm',
  11920. LLLL: 'YYYY年M月D日dddd HH:mm',
  11921. l: 'YYYY/M/D',
  11922. ll: 'YYYY年M月D日',
  11923. lll: 'YYYY年M月D日 HH:mm',
  11924. llll: 'YYYY年M月D日dddd HH:mm',
  11925. },
  11926. meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
  11927. meridiemHour: function (hour, meridiem) {
  11928. if (hour === 12) {
  11929. hour = 0;
  11930. }
  11931. if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
  11932. return hour;
  11933. } else if (meridiem === '中午') {
  11934. return hour >= 11 ? hour : hour + 12;
  11935. } else if (meridiem === '下午' || meridiem === '晚上') {
  11936. return hour + 12;
  11937. }
  11938. },
  11939. meridiem: function (hour, minute, isLower) {
  11940. var hm = hour * 100 + minute;
  11941. if (hm < 600) {
  11942. return '凌晨';
  11943. } else if (hm < 900) {
  11944. return '早上';
  11945. } else if (hm < 1200) {
  11946. return '上午';
  11947. } else if (hm === 1200) {
  11948. return '中午';
  11949. } else if (hm < 1800) {
  11950. return '下午';
  11951. } else {
  11952. return '晚上';
  11953. }
  11954. },
  11955. calendar: {
  11956. sameDay: '[今天]LT',
  11957. nextDay: '[明天]LT',
  11958. nextWeek: '[下]ddddLT',
  11959. lastDay: '[昨天]LT',
  11960. lastWeek: '[上]ddddLT',
  11961. sameElse: 'L',
  11962. },
  11963. dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
  11964. ordinal: function (number, period) {
  11965. switch (period) {
  11966. case 'd':
  11967. case 'D':
  11968. case 'DDD':
  11969. return number + '日';
  11970. case 'M':
  11971. return number + '月';
  11972. case 'w':
  11973. case 'W':
  11974. return number + '週';
  11975. default:
  11976. return number;
  11977. }
  11978. },
  11979. relativeTime: {
  11980. future: '%s後',
  11981. past: '%s前',
  11982. s: '幾秒',
  11983. ss: '%d 秒',
  11984. m: '1 分鐘',
  11985. mm: '%d 分鐘',
  11986. h: '1 小時',
  11987. hh: '%d 小時',
  11988. d: '1 天',
  11989. dd: '%d 天',
  11990. M: '1 個月',
  11991. MM: '%d 個月',
  11992. y: '1 年',
  11993. yy: '%d 年',
  11994. },
  11995. });
  11996. //! moment.js locale configuration
  11997. moment.defineLocale('zh-mo', {
  11998. months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
  11999. '_'
  12000. ),
  12001. monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
  12002. '_'
  12003. ),
  12004. weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
  12005. weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),
  12006. weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
  12007. longDateFormat: {
  12008. LT: 'HH:mm',
  12009. LTS: 'HH:mm:ss',
  12010. L: 'DD/MM/YYYY',
  12011. LL: 'YYYY年M月D日',
  12012. LLL: 'YYYY年M月D日 HH:mm',
  12013. LLLL: 'YYYY年M月D日dddd HH:mm',
  12014. l: 'D/M/YYYY',
  12015. ll: 'YYYY年M月D日',
  12016. lll: 'YYYY年M月D日 HH:mm',
  12017. llll: 'YYYY年M月D日dddd HH:mm',
  12018. },
  12019. meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
  12020. meridiemHour: function (hour, meridiem) {
  12021. if (hour === 12) {
  12022. hour = 0;
  12023. }
  12024. if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
  12025. return hour;
  12026. } else if (meridiem === '中午') {
  12027. return hour >= 11 ? hour : hour + 12;
  12028. } else if (meridiem === '下午' || meridiem === '晚上') {
  12029. return hour + 12;
  12030. }
  12031. },
  12032. meridiem: function (hour, minute, isLower) {
  12033. var hm = hour * 100 + minute;
  12034. if (hm < 600) {
  12035. return '凌晨';
  12036. } else if (hm < 900) {
  12037. return '早上';
  12038. } else if (hm < 1130) {
  12039. return '上午';
  12040. } else if (hm < 1230) {
  12041. return '中午';
  12042. } else if (hm < 1800) {
  12043. return '下午';
  12044. } else {
  12045. return '晚上';
  12046. }
  12047. },
  12048. calendar: {
  12049. sameDay: '[今天] LT',
  12050. nextDay: '[明天] LT',
  12051. nextWeek: '[下]dddd LT',
  12052. lastDay: '[昨天] LT',
  12053. lastWeek: '[上]dddd LT',
  12054. sameElse: 'L',
  12055. },
  12056. dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
  12057. ordinal: function (number, period) {
  12058. switch (period) {
  12059. case 'd':
  12060. case 'D':
  12061. case 'DDD':
  12062. return number + '日';
  12063. case 'M':
  12064. return number + '月';
  12065. case 'w':
  12066. case 'W':
  12067. return number + '週';
  12068. default:
  12069. return number;
  12070. }
  12071. },
  12072. relativeTime: {
  12073. future: '%s內',
  12074. past: '%s前',
  12075. s: '幾秒',
  12076. ss: '%d 秒',
  12077. m: '1 分鐘',
  12078. mm: '%d 分鐘',
  12079. h: '1 小時',
  12080. hh: '%d 小時',
  12081. d: '1 天',
  12082. dd: '%d 天',
  12083. M: '1 個月',
  12084. MM: '%d 個月',
  12085. y: '1 年',
  12086. yy: '%d 年',
  12087. },
  12088. });
  12089. //! moment.js locale configuration
  12090. moment.defineLocale('zh-tw', {
  12091. months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
  12092. '_'
  12093. ),
  12094. monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
  12095. '_'
  12096. ),
  12097. weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
  12098. weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),
  12099. weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
  12100. longDateFormat: {
  12101. LT: 'HH:mm',
  12102. LTS: 'HH:mm:ss',
  12103. L: 'YYYY/MM/DD',
  12104. LL: 'YYYY年M月D日',
  12105. LLL: 'YYYY年M月D日 HH:mm',
  12106. LLLL: 'YYYY年M月D日dddd HH:mm',
  12107. l: 'YYYY/M/D',
  12108. ll: 'YYYY年M月D日',
  12109. lll: 'YYYY年M月D日 HH:mm',
  12110. llll: 'YYYY年M月D日dddd HH:mm',
  12111. },
  12112. meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
  12113. meridiemHour: function (hour, meridiem) {
  12114. if (hour === 12) {
  12115. hour = 0;
  12116. }
  12117. if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
  12118. return hour;
  12119. } else if (meridiem === '中午') {
  12120. return hour >= 11 ? hour : hour + 12;
  12121. } else if (meridiem === '下午' || meridiem === '晚上') {
  12122. return hour + 12;
  12123. }
  12124. },
  12125. meridiem: function (hour, minute, isLower) {
  12126. var hm = hour * 100 + minute;
  12127. if (hm < 600) {
  12128. return '凌晨';
  12129. } else if (hm < 900) {
  12130. return '早上';
  12131. } else if (hm < 1130) {
  12132. return '上午';
  12133. } else if (hm < 1230) {
  12134. return '中午';
  12135. } else if (hm < 1800) {
  12136. return '下午';
  12137. } else {
  12138. return '晚上';
  12139. }
  12140. },
  12141. calendar: {
  12142. sameDay: '[今天] LT',
  12143. nextDay: '[明天] LT',
  12144. nextWeek: '[下]dddd LT',
  12145. lastDay: '[昨天] LT',
  12146. lastWeek: '[上]dddd LT',
  12147. sameElse: 'L',
  12148. },
  12149. dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
  12150. ordinal: function (number, period) {
  12151. switch (period) {
  12152. case 'd':
  12153. case 'D':
  12154. case 'DDD':
  12155. return number + '日';
  12156. case 'M':
  12157. return number + '月';
  12158. case 'w':
  12159. case 'W':
  12160. return number + '週';
  12161. default:
  12162. return number;
  12163. }
  12164. },
  12165. relativeTime: {
  12166. future: '%s後',
  12167. past: '%s前',
  12168. s: '幾秒',
  12169. ss: '%d 秒',
  12170. m: '1 分鐘',
  12171. mm: '%d 分鐘',
  12172. h: '1 小時',
  12173. hh: '%d 小時',
  12174. d: '1 天',
  12175. dd: '%d 天',
  12176. M: '1 個月',
  12177. MM: '%d 個月',
  12178. y: '1 年',
  12179. yy: '%d 年',
  12180. },
  12181. });
  12182. moment.locale('en');
  12183. return moment;
  12184. })));