4 lines
9.5 KiB
JavaScript
4 lines
9.5 KiB
JavaScript
|
var A=function(I){return A=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},A(I)},M=function(I,H){var Y=Object.keys(I);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(I);H&&(Z=Z.filter(function(x){return Object.getOwnPropertyDescriptor(I,x).enumerable})),Y.push.apply(Y,Z)}return Y},N=function(I){for(var H=1;H<arguments.length;H++){var Y=arguments[H]!=null?arguments[H]:{};H%2?M(Object(Y),!0).forEach(function(Z){CC(I,Z,Y[Z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(I,Object.getOwnPropertyDescriptors(Y)):M(Object(Y)).forEach(function(Z){Object.defineProperty(I,Z,Object.getOwnPropertyDescriptor(Y,Z))})}return I},CC=function(I,H,Y){if(H=GC(H),H in I)Object.defineProperty(I,H,{value:Y,enumerable:!0,configurable:!0,writable:!0});else I[H]=Y;return I},GC=function(I){var H=XC(I,"string");return A(H)=="symbol"?H:String(H)},XC=function(I,H){if(A(I)!="object"||!I)return I;var Y=I[Symbol.toPrimitive];if(Y!==void 0){var Z=Y.call(I,H||"default");if(A(Z)!="object")return Z;throw new TypeError("@@toPrimitive must return a primitive value.")}return(H==="string"?String:Number)(I)};(function(I){var H=Object.defineProperty,Y=function G(B,X){for(var C in X)H(B,C,{get:X[C],enumerable:!0,configurable:!0,set:function U(J){return X[C]=function(){return J}}})},Z={lessThanXSeconds:{one:"llai na eiliad",other:"llai na {{count}} eiliad"},xSeconds:{one:"1 eiliad",other:"{{count}} eiliad"},halfAMinute:"hanner munud",lessThanXMinutes:{one:"llai na munud",two:"llai na 2 funud",other:"llai na {{count}} munud"},xMinutes:{one:"1 munud",two:"2 funud",other:"{{count}} munud"},aboutXHours:{one:"tua 1 awr",other:"tua {{count}} awr"},xHours:{one:"1 awr",other:"{{count}} awr"},xDays:{one:"1 diwrnod",two:"2 ddiwrnod",other:"{{count}} diwrnod"},aboutXWeeks:{one:"tua 1 wythnos",two:"tua pythefnos",other:"tua {{count}} wythnos"},xWeeks:{one:"1 wythnos",two:"pythefnos",other:"{{count}} wythnos"},aboutXMonths:{one:"tua 1 mis",two:"tua 2 fis",other:"tua {{count}} mis"},xMonths:{one:"1 mis",two:"2 fis",other:"{{count}} mis"},aboutXYears:{one:"tua 1 flwyddyn",two:"tua 2 flynedd",other:"tua {{count}} mlynedd"},xYears:{one:"1 flwyddyn",two:"2 flynedd",other:"{{count}} mlynedd"},overXYears:{one:"dros 1 flwyddyn",two:"dros 2 flynedd",other:"dros {{count}} mlynedd"},almostXYears:{one:"bron 1 flwyddyn",two:"bron 2 flynedd",other:"bron {{count}} mlynedd"}},x=function G(B,X,C){var U,J=Z[B];if(typeof J==="string")U=J;else if(X===1)U=J.one;else if(X===2&&!!J.two)U=J.two;else U=J.other.replace("{{count}}",String(X));if(C!==null&&C!==void 0&&C.addSuffix)if(C.comparison&&C.comparison>0)return"mewn "+U;else return U+" yn \xF4l";return U};function z(G){return function(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},X=B.width?String(B.width):G.defaultWidth,C=G.formats[X]||G.formats[G.defaultWidth];return C}}var W={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},$={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},S={full:"{{date}} 'am' {{time}}",long:"{{date}} 'am' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},L={date:z({formats:W,defaultWidth:"full"}),time:z({formats:$,defaultWidth:"full"}),dateTime:z({formats:S,defaultWidth:"full"})},R={lastWeek:"eeee 'diwethaf am' p",yesterday:"'ddoe am' p",today:"'heddiw am' p",tomorrow:"'yfory am' p",nextWeek:"eeee 'am' p",other:"P"},f=function G(B,X,C,U){return R[B]};function Q(G){return function(B,X){var C=X!==null&&X!==void 0&&X.context?String(X.context):"standalone",U;if(C==="formatting"&&G.formattingValues){var J=G.defaultFormattingWidth||G.defaultWidth,T=X!==null&&X!==void 0&&X.width?String(X.width):J;U=G.formattingValues[T]||G.formattingValues[J]}else{var E=G.defaultWidth,K=X!==null&&X!==void 0&&X.width?String(X.width):G.defaultWidth;U=G.values[K]||G.values[E]}var O=G.argumentCallback?G.argumentCallback(B):B;return U[O]}}var V={narrow:["C","O"],abbreviated
|
||
|
|
||
|
//# debugId=352FF4826F2BAA0664756e2164756e21
|