timepiece/node_modules/date-fns/locale/es/cdn.min.js

4 lines
9.2 KiB
JavaScript
Raw Normal View History

2024-05-14 14:54:12 +00:00
var A=function(E){return A=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(C){return typeof C}:function(C){return C&&typeof Symbol=="function"&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C},A(E)},$=function(E,C){var G=Object.keys(E);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(E);C&&(Z=Z.filter(function(K){return Object.getOwnPropertyDescriptor(E,K).enumerable})),G.push.apply(G,Z)}return G},z=function(E){for(var C=1;C<arguments.length;C++){var G=arguments[C]!=null?arguments[C]:{};C%2?$(Object(G),!0).forEach(function(Z){UH(E,Z,G[Z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(E,Object.getOwnPropertyDescriptors(G)):$(Object(G)).forEach(function(Z){Object.defineProperty(E,Z,Object.getOwnPropertyDescriptor(G,Z))})}return E},UH=function(E,C,G){if(C=XH(C),C in E)Object.defineProperty(E,C,{value:G,enumerable:!0,configurable:!0,writable:!0});else E[C]=G;return E},XH=function(E){var C=BH(E,"string");return A(C)=="symbol"?C:String(C)},BH=function(E,C){if(A(E)!="object"||!E)return E;var G=E[Symbol.toPrimitive];if(G!==void 0){var Z=G.call(E,C||"default");if(A(Z)!="object")return Z;throw new TypeError("@@toPrimitive must return a primitive value.")}return(C==="string"?String:Number)(E)};(function(E){var C=Object.defineProperty,G=function H(X,U){for(var B in U)C(X,B,{get:U[B],enumerable:!0,configurable:!0,set:function J(Y){return U[B]=function(){return Y}}})},Z={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 d\xEDa",other:"{{count}} d\xEDas"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 a\xF1o",other:"alrededor de {{count}} a\xF1os"},xYears:{one:"1 a\xF1o",other:"{{count}} a\xF1os"},overXYears:{one:"m\xE1s de 1 a\xF1o",other:"m\xE1s de {{count}} a\xF1os"},almostXYears:{one:"casi 1 a\xF1o",other:"casi {{count}} a\xF1os"}},K=function H(X,U,B){var J,Y=Z[X];if(typeof Y==="string")J=Y;else if(U===1)J=Y.one;else J=Y.other.replace("{{count}}",U.toString());if(B!==null&&B!==void 0&&B.addSuffix)if(B.comparison&&B.comparison>0)return"en "+J;else return"hace "+J;return J};function N(H){return function(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},U=X.width?String(X.width):H.defaultWidth,B=H.formats[U]||H.formats[H.defaultWidth];return B}}var D={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},M={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},S={full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},R={date:N({formats:D,defaultWidth:"full"}),time:N({formats:M,defaultWidth:"full"}),dateTime:N({formats:S,defaultWidth:"full"})},L={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'ma\xF1ana a la' p",nextWeek:"eeee 'a la' p",other:"P"},V={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'ma\xF1ana a las' p",nextWeek:"eeee 'a las' p",other:"P"},j=function H(X,U,B,J){if(U.getHours()!==1)return V[X];else return L[X]};function Q(H){return function(X,U){var B=U!==null&&U!==void 0&&U.context?String(U.context):"standalone",J;if(B==="formatting"&&H.formattingValues){var Y=H.defaultFormattingWidth||H.defaultWidth,I=U!==null&&U!==void 0&&U.width?String(U.width):Y;J=H.formattingValues[I]||H.formattingValues[Y]}else{var T=H.defaultWidth,x=U!==null&&U!==void 0&&U.width?String(U.width):H.defaultWidth;J=H.values[x]||H.values[T]}var O
//# debugId=4C45288B0B5B3F3564756e2164756e21