timepiece/node_modules/date-fns/locale/zh-HK/cdn.min.js

4 lines
9.9 KiB
JavaScript
Raw Normal View History

2024-05-14 14:54:12 +00:00
var q=function(J){return q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(G){return typeof G}:function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G},q(J)},W=function(J,G){var X=Object.keys(J);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(J);G&&(H=H.filter(function(D){return Object.getOwnPropertyDescriptor(J,D).enumerable})),X.push.apply(X,H)}return X},x=function(J){for(var G=1;G<arguments.length;G++){var X=arguments[G]!=null?arguments[G]:{};G%2?W(Object(X),!0).forEach(function(H){CC(J,H,X[H])}):Object.getOwnPropertyDescriptors?Object.defineProperties(J,Object.getOwnPropertyDescriptors(X)):W(Object(X)).forEach(function(H){Object.defineProperty(J,H,Object.getOwnPropertyDescriptor(X,H))})}return J},CC=function(J,G,X){if(G=BC(G),G in J)Object.defineProperty(J,G,{value:X,enumerable:!0,configurable:!0,writable:!0});else J[G]=X;return J},BC=function(J){var G=EC(J,"string");return q(G)=="symbol"?G:String(G)},EC=function(J,G){if(q(J)!="object"||!J)return J;var X=J[Symbol.toPrimitive];if(X!==void 0){var H=X.call(J,G||"default");if(q(H)!="object")return H;throw new TypeError("@@toPrimitive must return a primitive value.")}return(G==="string"?String:Number)(J)};(function(J){var G=Object.defineProperty,X=function C(U,B){for(var E in B)G(U,E,{get:B[E],enumerable:!0,configurable:!0,set:function Y(Z){return B[E]=function(){return Z}}})},H={lessThanXSeconds:{one:"\u5C11\u65BC 1 \u79D2",other:"\u5C11\u65BC {{count}} \u79D2"},xSeconds:{one:"1 \u79D2",other:"{{count}} \u79D2"},halfAMinute:"\u534A\u5206\u9418",lessThanXMinutes:{one:"\u5C11\u65BC 1 \u5206\u9418",other:"\u5C11\u65BC {{count}} \u5206\u9418"},xMinutes:{one:"1 \u5206\u9418",other:"{{count}} \u5206\u9418"},xHours:{one:"1 \u5C0F\u6642",other:"{{count}} \u5C0F\u6642"},aboutXHours:{one:"\u5927\u7D04 1 \u5C0F\u6642",other:"\u5927\u7D04 {{count}} \u5C0F\u6642"},xDays:{one:"1 \u5929",other:"{{count}} \u5929"},aboutXWeeks:{one:"\u5927\u7D04 1 \u500B\u661F\u671F",other:"\u5927\u7D04 {{count}} \u500B\u661F\u671F"},xWeeks:{one:"1 \u500B\u661F\u671F",other:"{{count}} \u500B\u661F\u671F"},aboutXMonths:{one:"\u5927\u7D04 1 \u500B\u6708",other:"\u5927\u7D04 {{count}} \u500B\u6708"},xMonths:{one:"1 \u500B\u6708",other:"{{count}} \u500B\u6708"},aboutXYears:{one:"\u5927\u7D04 1 \u5E74",other:"\u5927\u7D04 {{count}} \u5E74"},xYears:{one:"1 \u5E74",other:"{{count}} \u5E74"},overXYears:{one:"\u8D85\u904E 1 \u5E74",other:"\u8D85\u904E {{count}} \u5E74"},almostXYears:{one:"\u5C07\u8FD1 1 \u5E74",other:"\u5C07\u8FD1 {{count}} \u5E74"}},D=function C(U,B,E){var Y,Z=H[U];if(typeof Z==="string")Y=Z;else if(B===1)Y=Z.one;else Y=Z.other.replace("{{count}}",String(B));if(E!==null&&E!==void 0&&E.addSuffix)if(E.comparison&&E.comparison>0)return Y+"\u5167";else return Y+"\u524D";return Y};function N(C){return function(){var U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},B=U.width?String(U.width):C.defaultWidth,E=C.formats[B]||C.formats[C.defaultWidth];return E}}var $={full:"y'\u5E74'M'\u6708'd'\u65E5' EEEE",long:"y'\u5E74'M'\u6708'd'\u65E5'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},z={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},M={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},R={date:N({formats:$,defaultWidth:"full"}),time:N({formats:z,defaultWidth:"full"}),dateTime:N({formats:M,defaultWidth:"full"})},L={lastWeek:"'\u4E0A\u500B'eeee p",yesterday:"'\u6628\u5929' p",today:"'\u4ECA\u5929' p",tomorrow:"'\u660E\u5929' p",nextWeek:"'\u4E0B\u500B'eeee p",other:"P"},V=function C(U,B,E,Y){return L[U]};function O(C){return function(U,B){var E=B!==null&&B!==void 0&&B.context?String(B.context):"standalone",Y;if(E==="formatting"&&C.formattingValues){var Z=C.defaultFormattingWidth||C.defaultWidth,I=B!==null&&B!==void 0&&B.width?String(B.width):Z;Y=C.formattingValues[I]||C.formattingValues[Z]}else{var T=C.defaultWidth,K=B!==null&&B!==void 0&&B.width?String(B.width):C.defaultWidth;Y=C.values[K]||C.values[T]}var A=C.argumentCallba
//# debugId=9164AC736F39F97964756e2164756e21