4 lines
8.8 KiB
JavaScript
4 lines
8.8 KiB
JavaScript
var q=function(J){return q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(H){return typeof H}:function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},q(J)},D=function(J,H){var Y=Object.keys(J);if(Object.getOwnPropertySymbols){var I=Object.getOwnPropertySymbols(J);H&&(I=I.filter(function(N){return Object.getOwnPropertyDescriptor(J,N).enumerable})),Y.push.apply(Y,I)}return Y},x=function(J){for(var H=1;H<arguments.length;H++){var Y=arguments[H]!=null?arguments[H]:{};H%2?D(Object(Y),!0).forEach(function(I){C0(J,I,Y[I])}):Object.getOwnPropertyDescriptors?Object.defineProperties(J,Object.getOwnPropertyDescriptors(Y)):D(Object(Y)).forEach(function(I){Object.defineProperty(J,I,Object.getOwnPropertyDescriptor(Y,I))})}return J},C0=function(J,H,Y){if(H=U0(H),H in J)Object.defineProperty(J,H,{value:Y,enumerable:!0,configurable:!0,writable:!0});else J[H]=Y;return J},U0=function(J){var H=B0(J,"string");return q(H)=="symbol"?H:String(H)},B0=function(J,H){if(q(J)!="object"||!J)return J;var Y=J[Symbol.toPrimitive];if(Y!==void 0){var I=Y.call(J,H||"default");if(q(I)!="object")return I;throw new TypeError("@@toPrimitive must return a primitive value.")}return(H==="string"?String:Number)(J)};(function(J){var H=Object.defineProperty,Y=function C(G,B){for(var U in B)H(G,U,{get:B[U],enumerable:!0,configurable:!0,set:function X(Z){return B[U]=function(){return Z}}})},I={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},N=function C(G,B,U){var X,Z=I[G];if(typeof Z==="string")X=Z;else if(B===1)X=Z.one;else X=Z.other.replace("{{count}}",B.toString());if(U!==null&&U!==void 0&&U.addSuffix)if(U.comparison&&U.comparison>0)return"in "+X;else return X+" ago";return X},S={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},$=function C(G,B,U,X){return S[G]};function E(C){return function(G,B){var U=B!==null&&B!==void 0&&B.context?String(B.context):"standalone",X;if(U==="formatting"&&C.formattingValues){var Z=C.defaultFormattingWidth||C.defaultWidth,O=B!==null&&B!==void 0&&B.width?String(B.width):Z;X=C.formattingValues[O]||C.formattingValues[Z]}else{var T=C.defaultWidth,K=B!==null&&B!==void 0&&B.width?String(B.width):C.defaultWidth;X=C.values[K]||C.values[T]}var A=C.argumentCallback?C.argumentCallback(G):G;return X[A]}}var M={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},R={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},L={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},V={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},f={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},j={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},_=function C(G,B){var U=Number(G),X=U%100;if(X>20||X<10)switch(X%10){case 1:return U+"st";case 2:return U+"nd";case 3:return U+"rd"}return U+"th"},v={ordinalNumber:_,era:E({values:M,defaultWidth:"wide"}),quarter:E({values:R,defaultWidth:"wide",argumentCallback:function C(G){return G-1}}),month:E({values:L,defaultWidth:"wide"}),day:E({values:V,defaultWidth:"wide"}),dayPeriod:E({values:f,defaultWidth:"wide",formattingValues:j,defaultFormattingWidth:"wide"})};function Q(C){return function(G){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U=B.width,X=U&&C.matchPatterns[U]||C.matchPatterns[C.defaultMatchWidth],Z=G.match(X);if(!Z)return null;var O=Z[0],T=U&&C.parsePatterns[U]||C.parsePatterns[C.defaultParseWidth],K=Array.isArray(T)?w(T,function(z){return z.test(O)}):P(T,function(z){return z.test(O)}),A;A=C.valueCallback?C.valueCallback(K):K,A=B.valueCallback?B.valueCallback(A):A;var t=G.slice(O.length);return{value:A,rest:t}}}var P=function C(G,B){for(var U in G)if(Object.prototype.hasOwnProperty.call(G,U)&&B(G[U]))return U;return},w=function C(G,B){for(var U=0;U<G.length;U++)if(B(G[U]))return U;return};function F(C){return function(G){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U=G.match(C.matchPattern);if(!U)return null;var X=U[0],Z=G.match(C.parsePattern);if(!Z)return null;var O=C.valueCallback?C.valueCallback(Z[0]):Z[0];O=B.valueCallback?B.valueCallback(O):O;var T=G.slice(X.length);return{value:O,rest:T}}}var k=/^(\d+)(th|st|nd|rd)?/i,h=/\d+/i,b={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},m={any:[/^b/i,/^(a|c)/i]},c={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},y={any:[/1/i,/2/i,/3/i,/4/i]},p={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},d={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},g={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},u={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},l={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},i={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},n={ordinalNumber:F({matchPattern:k,parsePattern:h,valueCallback:function C(G){return parseInt(G,10)}}),era:Q({matchPatterns:b,defaultMatchWidth:"wide",parsePatterns:m,defaultParseWidth:"any"}),quarter:Q({matchPatterns:c,defaultMatchWidth:"wide",parsePatterns:y,defaultParseWidth:"any",valueCallback:function C(G){return G+1}}),month:Q({matchPatterns:p,defaultMatchWidth:"wide",parsePatterns:d,defaultParseWidth:"any"}),day:Q({matchPatterns:g,defaultMatchWidth:"wide",parsePatterns:u,defaultParseWidth:"any"}),dayPeriod:Q({matchPatterns:l,defaultMatchWidth:"any",parsePatterns:i,defaultParseWidth:"any"})};function W(C){return function(){var G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},B=G.width?String(G.width):C.defaultWidth,U=C.formats[B]||C.formats[C.defaultWidth];return U}}var s={full:"EEEE, d MMMM yyyy",long:"d MMMM, yyyy",medium:"d MMM, yyyy",short:"dd/MM/yyyy"},o={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},r={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},a={date:W({formats:s,defaultWidth:"full"}),time:W({formats:o,defaultWidth:"full"}),dateTime:W({formats:r,defaultWidth:"full"})},e={code:"en-IN",formatDistance:N,formatLong:a,formatRelative:$,localize:v,match:n,options:{weekStartsOn:1,firstWeekContainsDate:4}};window.dateFns=x(x({},window.dateFns),{},{locale:x(x({},(J=window.dateFns)===null||J===void 0?void 0:J.locale),{},{enIN:e})})})();
|
|
|
|
//# debugId=EAFFD94264FDBAA864756e2164756e21
|