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

4 lines
9.8 KiB
JavaScript
Raw Normal View History

2024-05-14 14:54:12 +00:00
var q=function(G){return q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(D){return typeof D}:function(D){return D&&typeof Symbol=="function"&&D.constructor===Symbol&&D!==Symbol.prototype?"symbol":typeof D},q(G)},M=function(G,D){var X=Object.keys(G);if(Object.getOwnPropertySymbols){var Y=Object.getOwnPropertySymbols(G);D&&(Y=Y.filter(function(K){return Object.getOwnPropertyDescriptor(G,K).enumerable})),X.push.apply(X,Y)}return X},x=function(G){for(var D=1;D<arguments.length;D++){var X=arguments[D]!=null?arguments[D]:{};D%2?M(Object(X),!0).forEach(function(Y){C6(G,Y,X[Y])}):Object.getOwnPropertyDescriptors?Object.defineProperties(G,Object.getOwnPropertyDescriptors(X)):M(Object(X)).forEach(function(Y){Object.defineProperty(G,Y,Object.getOwnPropertyDescriptor(X,Y))})}return G},C6=function(G,D,X){if(D=H6(D),D in G)Object.defineProperty(G,D,{value:X,enumerable:!0,configurable:!0,writable:!0});else G[D]=X;return G},H6=function(G){var D=U6(G,"string");return q(D)=="symbol"?D:String(D)},U6=function(G,D){if(q(G)!="object"||!G)return G;var X=G[Symbol.toPrimitive];if(X!==void 0){var Y=X.call(G,D||"default");if(q(Y)!="object")return Y;throw new TypeError("@@toPrimitive must return a primitive value.")}return(D==="string"?String:Number)(G)};(function(G){var D=Object.defineProperty,X=function H(B,U){for(var C in U)D(B,C,{get:U[C],enumerable:!0,configurable:!0,set:function I(J){return U[C]=function(){return J}}})},Y={lessThanXSeconds:{one:"1\u79D2\u672A\u6E80",other:"{{count}}\u79D2\u672A\u6E80",oneWithSuffix:"\u7D041\u79D2",otherWithSuffix:"\u7D04{{count}}\u79D2"},xSeconds:{one:"1\u79D2",other:"{{count}}\u79D2"},halfAMinute:"30\u79D2",lessThanXMinutes:{one:"1\u5206\u672A\u6E80",other:"{{count}}\u5206\u672A\u6E80",oneWithSuffix:"\u7D041\u5206",otherWithSuffix:"\u7D04{{count}}\u5206"},xMinutes:{one:"1\u5206",other:"{{count}}\u5206"},aboutXHours:{one:"\u7D041\u6642\u9593",other:"\u7D04{{count}}\u6642\u9593"},xHours:{one:"1\u6642\u9593",other:"{{count}}\u6642\u9593"},xDays:{one:"1\u65E5",other:"{{count}}\u65E5"},aboutXWeeks:{one:"\u7D041\u9031\u9593",other:"\u7D04{{count}}\u9031\u9593"},xWeeks:{one:"1\u9031\u9593",other:"{{count}}\u9031\u9593"},aboutXMonths:{one:"\u7D041\u304B\u6708",other:"\u7D04{{count}}\u304B\u6708"},xMonths:{one:"1\u304B\u6708",other:"{{count}}\u304B\u6708"},aboutXYears:{one:"\u7D041\u5E74",other:"\u7D04{{count}}\u5E74"},xYears:{one:"1\u5E74",other:"{{count}}\u5E74"},overXYears:{one:"1\u5E74\u4EE5\u4E0A",other:"{{count}}\u5E74\u4EE5\u4E0A"},almostXYears:{one:"1\u5E74\u8FD1\u304F",other:"{{count}}\u5E74\u8FD1\u304F"}},K=function H(B,U,C){C=C||{};var I,J=Y[B];if(typeof J==="string")I=J;else if(U===1)if(C.addSuffix&&J.oneWithSuffix)I=J.oneWithSuffix;else I=J.one;else if(C.addSuffix&&J.otherWithSuffix)I=J.otherWithSuffix.replace("{{count}}",String(U));else I=J.other.replace("{{count}}",String(U));if(C.addSuffix)if(C.comparison&&C.comparison>0)return I+"\u5F8C";else return I+"\u524D";return I};function N(H){return function(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},U=B.width?String(B.width):H.defaultWidth,C=H.formats[U]||H.formats[H.defaultWidth];return C}}var W={full:"y\u5E74M\u6708d\u65E5EEEE",long:"y\u5E74M\u6708d\u65E5",medium:"y/MM/dd",short:"y/MM/dd"},$={full:"H\u6642mm\u5206ss\u79D2 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},S={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},R={date:N({formats:W,defaultWidth:"full"}),time:N({formats:$,defaultWidth:"full"}),dateTime:N({formats:S,defaultWidth:"full"})},L={lastWeek:"\u5148\u9031\u306Eeeee\u306Ep",yesterday:"\u6628\u65E5\u306Ep",today:"\u4ECA\u65E5\u306Ep",tomorrow:"\u660E\u65E5\u306Ep",nextWeek:"\u7FCC\u9031\u306Eeeee\u306Ep",other:"P"},f=function H(B,U,C,I){return L[B]};function E(H){return function(B,U){var C=U!==null&&U!==void 0&&U.context?String(U.context):"standalone",I;if(C==="formatting"&&H.formattingValues){var J=H.defaultFormattingWidth||H.defaultWidth,Z=U!==null&&U!==void 0&&U.width?String(U.width):J;I=H.formattingValues[Z]||H.formattingValues[J]}e
//# debugId=7B28AFF91CB81A7264756e2164756e21