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

4 lines
9.6 KiB
JavaScript
Raw Normal View History

2024-05-14 14:54:12 +00:00
var K=function(E){return K=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},K(E)},x=function(E,C){var G=Object.keys(E);if(Object.getOwnPropertySymbols){var J=Object.getOwnPropertySymbols(E);C&&(J=J.filter(function(Y){return Object.getOwnPropertyDescriptor(E,Y).enumerable})),G.push.apply(G,J)}return G},W=function(E){for(var C=1;C<arguments.length;C++){var G=arguments[C]!=null?arguments[C]:{};C%2?x(Object(G),!0).forEach(function(J){XH(E,J,G[J])}):Object.getOwnPropertyDescriptors?Object.defineProperties(E,Object.getOwnPropertyDescriptors(G)):x(Object(G)).forEach(function(J){Object.defineProperty(E,J,Object.getOwnPropertyDescriptor(G,J))})}return E},XH=function(E,C,G){if(C=ZH(C),C in E)Object.defineProperty(E,C,{value:G,enumerable:!0,configurable:!0,writable:!0});else E[C]=G;return E},ZH=function(E){var C=IH(E,"string");return K(C)=="symbol"?C:String(C)},IH=function(E,C){if(K(E)!="object"||!E)return E;var G=E[Symbol.toPrimitive];if(G!==void 0){var J=G.call(E,C||"default");if(K(J)!="object")return J;throw new TypeError("@@toPrimitive must return a primitive value.")}return(C==="string"?String:Number)(E)};(function(E){var C=Object.defineProperty,G=function T(H,U){for(var B in U)C(H,B,{get:U[B],enumerable:!0,configurable:!0,set:function Z(X){return U[B]=function(){return X}}})},J=function T(H){return H.replace(/sekuntia?/,"sekunnin")},Y=function T(H){return H.replace(/minuuttia?/,"minuutin")},L=function T(H){return H.replace(/tuntia?/,"tunnin")},V=function T(H){return H.replace(/päivää?/,"p\xE4iv\xE4n")},M=function T(H){return H.replace(/(viikko|viikkoa)/,"viikon")},j=function T(H){return H.replace(/(kuukausi|kuukautta)/,"kuukauden")},N=function T(H){return H.replace(/(vuosi|vuotta)/,"vuoden")},v={lessThanXSeconds:{one:"alle sekunti",other:"alle {{count}} sekuntia",futureTense:J},xSeconds:{one:"sekunti",other:"{{count}} sekuntia",futureTense:J},halfAMinute:{one:"puoli minuuttia",other:"puoli minuuttia",futureTense:function T(H){return"puolen minuutin"}},lessThanXMinutes:{one:"alle minuutti",other:"alle {{count}} minuuttia",futureTense:Y},xMinutes:{one:"minuutti",other:"{{count}} minuuttia",futureTense:Y},aboutXHours:{one:"noin tunti",other:"noin {{count}} tuntia",futureTense:L},xHours:{one:"tunti",other:"{{count}} tuntia",futureTense:L},xDays:{one:"p\xE4iv\xE4",other:"{{count}} p\xE4iv\xE4\xE4",futureTense:V},aboutXWeeks:{one:"noin viikko",other:"noin {{count}} viikkoa",futureTense:M},xWeeks:{one:"viikko",other:"{{count}} viikkoa",futureTense:M},aboutXMonths:{one:"noin kuukausi",other:"noin {{count}} kuukautta",futureTense:j},xMonths:{one:"kuukausi",other:"{{count}} kuukautta",futureTense:j},aboutXYears:{one:"noin vuosi",other:"noin {{count}} vuotta",futureTense:N},xYears:{one:"vuosi",other:"{{count}} vuotta",futureTense:N},overXYears:{one:"yli vuosi",other:"yli {{count}} vuotta",futureTense:N},almostXYears:{one:"l\xE4hes vuosi",other:"l\xE4hes {{count}} vuotta",futureTense:N}},w=function T(H,U,B){var Z=v[H],X=U===1?Z.one:Z.other.replace("{{count}}",String(U));if(B!==null&&B!==void 0&&B.addSuffix)if(B.comparison&&B.comparison>0)return Z.futureTense(X)+" kuluttua";else return X+" sitten";return X};function $(T){return function(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},U=H.width?String(H.width):T.defaultWidth,B=T.formats[U]||T.formats[T.defaultWidth];return B}}var P={full:"eeee d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"d.M.y"},_={full:"HH.mm.ss zzzz",long:"HH.mm.ss z",medium:"HH.mm.ss",short:"HH.mm"},F={full:"{{date}} 'klo' {{time}}",long:"{{date}} 'klo' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},k={date:$({formats:P,defaultWidth:"full"}),time:$({formats:_,defaultWidth:"full"}),dateTime:$({formats:F,defaultWidth:"full"})},f={lastWeek:"'viime' eeee 'klo' p",yesterday:"'eilen klo' p",today:"'t\xE4n\xE4\xE4n klo' p",tomorrow:"'huomenna klo' p",nextWeek:"'ensi' eeee 'klo' p",other:"P"},b=function T(H,U,B,Z){return f[H]};func
//# debugId=D62A789500DD20BC64756e2164756e21