4 lines
9.8 KiB
JavaScript
4 lines
9.8 KiB
JavaScript
|
(()=>{var $;function C(G){return C=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(J){return typeof J}:function(J){return J&&typeof Symbol=="function"&&J.constructor===Symbol&&J!==Symbol.prototype?"symbol":typeof J},C(G)}function x(G,J){var H=Object.keys(G);if(Object.getOwnPropertySymbols){var X=Object.getOwnPropertySymbols(G);J&&(X=X.filter(function(Y){return Object.getOwnPropertyDescriptor(G,Y).enumerable})),H.push.apply(H,X)}return H}function Q(G){for(var J=1;J<arguments.length;J++){var H=arguments[J]!=null?arguments[J]:{};J%2?x(Object(H),!0).forEach(function(X){N(G,X,H[X])}):Object.getOwnPropertyDescriptors?Object.defineProperties(G,Object.getOwnPropertyDescriptors(H)):x(Object(H)).forEach(function(X){Object.defineProperty(G,X,Object.getOwnPropertyDescriptor(H,X))})}return G}function N(G,J,H){if(J=z(J),J in G)Object.defineProperty(G,J,{value:H,enumerable:!0,configurable:!0,writable:!0});else G[J]=H;return G}function z(G){var J=W(G,"string");return C(J)=="symbol"?J:String(J)}function W(G,J){if(C(G)!="object"||!G)return G;var H=G[Symbol.toPrimitive];if(H!==void 0){var X=H.call(G,J||"default");if(C(X)!="object")return X;throw new TypeError("@@toPrimitive must return a primitive value.")}return(J==="string"?String:Number)(G)}var D=Object.defineProperty,JG=function G(J,H){for(var X in H)D(J,X,{get:H[X],enumerable:!0,configurable:!0,set:function Y(Z){return H[X]=function(){return Z}}})},E={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"}},S=function G(J,H,X){X=X||{};var Y,Z=E[J];if(typeof Z==="string")Y=Z;else if(H===1)if(X.addSuffix&&Z.oneWithSuffix)Y=Z.oneWithSuffix;else Y=Z.one;else if(X.addSuffix&&Z.otherWithSuffix)Y=Z.otherWithSuffix.replace("{{count}}",String(H));else Y=Z.other.replace("{{count}}",String(H));if(X.addSuffix)if(X.comparison&&X.comparison>0)return Y+"\u5F8C";else return Y+"\u524D";return Y};function A(G){return function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},H=J.width?String(J.width):G.defaultWidth,X=G.formats[H]||G.formats[G.defaultWidth];return X}}var M={full:"y\u5E74M\u6708d\u65E5EEEE",long:"y\u5E74M\u6708d\u65E5",medium:"y/MM/dd",short:"y/MM/dd"},R={full:"H\u6642mm\u5206ss\u79D2 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},L={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},V={date:A({formats:M,defaultWidth:"full"}),time:A({formats:R,defaultWidth:"full"}),dateTime:A({formats:L,defaultWidth:"full"})},w={lastWeek:"\u5148\u9031\u306Eeeee\u306Ep",yesterday:"\u6628\u65E5\u306Ep",today:"\u4ECA\u65E5\u306Ep",tomorrow:"\u660E\u65E5\u306Ep",nextWeek:"\u7FCC\u9031\u306Eeeee\u306Ep",other:"P"},j=function G(J,H,X,Y){return w[J]};function I(G){return function(J,H){var X=H!==null&&H!==void 0&&H.context?String(H.context):"standalone",Y;if(X==="formatting"&&G.formattingValues){var Z=G.defaultFormattingWidth||G.defaultWidth,B=H!==null&&H!==void 0&&H.width?String(H.width):Z;Y=G.formattingValues[B]||G.formattingValues[Z]}else{var T=G.defa
|
||
|
|
||
|
//# debugId=6015A11700A6C96564756E2164756E21
|