timepiece/node_modules/date-fns/locale/it-CH/cdn.min.js

4 lines
10 KiB
JavaScript
Raw Normal View History

2024-05-14 14:54:12 +00:00
var S=function(Y,J){var I=Object.keys(Y);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(Y);J&&(T=T.filter(function(V){return Object.getOwnPropertyDescriptor(Y,V).enumerable})),I.push.apply(I,T)}return I},M=function(Y){for(var J=1;J<arguments.length;J++){var I=arguments[J]!=null?arguments[J]:{};J%2?S(Object(I),!0).forEach(function(T){T0(Y,T,I[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Y,Object.getOwnPropertyDescriptors(I)):S(Object(I)).forEach(function(T){Object.defineProperty(Y,T,Object.getOwnPropertyDescriptor(I,T))})}return Y},T0=function(Y,J,I){if(J=A0(J),J in Y)Object.defineProperty(Y,J,{value:I,enumerable:!0,configurable:!0,writable:!0});else Y[J]=I;return Y},A0=function(Y){var J=E0(Y,"string");return K(J)=="symbol"?J:String(J)},E0=function(Y,J){if(K(Y)!="object"||!Y)return Y;var I=Y[Symbol.toPrimitive];if(I!==void 0){var T=I.call(Y,J||"default");if(K(T)!="object")return T;throw new TypeError("@@toPrimitive must return a primitive value.")}return(J==="string"?String:Number)(Y)},K=function(Y){return K=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},K(Y)};(function(Y){var J=Object.defineProperty,I=function B(U,G){for(var H in G)J(U,H,{get:G[H],enumerable:!0,configurable:!0,set:function X(Z){return G[H]=function(){return Z}}})},T={lessThanXSeconds:{one:"meno di un secondo",other:"meno di {{count}} secondi"},xSeconds:{one:"un secondo",other:"{{count}} secondi"},halfAMinute:"alcuni secondi",lessThanXMinutes:{one:"meno di un minuto",other:"meno di {{count}} minuti"},xMinutes:{one:"un minuto",other:"{{count}} minuti"},aboutXHours:{one:"circa un'ora",other:"circa {{count}} ore"},xHours:{one:"un'ora",other:"{{count}} ore"},xDays:{one:"un giorno",other:"{{count}} giorni"},aboutXWeeks:{one:"circa una settimana",other:"circa {{count}} settimane"},xWeeks:{one:"una settimana",other:"{{count}} settimane"},aboutXMonths:{one:"circa un mese",other:"circa {{count}} mesi"},xMonths:{one:"un mese",other:"{{count}} mesi"},aboutXYears:{one:"circa un anno",other:"circa {{count}} anni"},xYears:{one:"un anno",other:"{{count}} anni"},overXYears:{one:"pi\xF9 di un anno",other:"pi\xF9 di {{count}} anni"},almostXYears:{one:"quasi un anno",other:"quasi {{count}} anni"}},V=function B(U,G,H){var X,Z=T[U];if(typeof Z==="string")X=Z;else if(G===1)X=Z.one;else X=Z.other.replace("{{count}}",G.toString());if(H!==null&&H!==void 0&&H.addSuffix)if(H.comparison&&H.comparison>0)return"tra "+X;else return X+" fa";return X};function $(B){var U=Object.prototype.toString.call(B);if(B instanceof Date||K(B)==="object"&&U==="[object Date]")return new B.constructor(+B);else if(typeof B==="number"||U==="[object Number]"||typeof B==="string"||U==="[object String]")return new Date(B);else return new Date(NaN)}function P(){return D}function Q0(B){D=B}var D={};function j(B,U){var G,H,X,Z,C,A,Q=P(),E=(G=(H=(X=(Z=U===null||U===void 0?void 0:U.weekStartsOn)!==null&&Z!==void 0?Z:U===null||U===void 0||(C=U.locale)===null||C===void 0||(C=C.options)===null||C===void 0?void 0:C.weekStartsOn)!==null&&X!==void 0?X:Q.weekStartsOn)!==null&&H!==void 0?H:(A=Q.locale)===null||A===void 0||(A=A.options)===null||A===void 0?void 0:A.weekStartsOn)!==null&&G!==void 0?G:0,q=$(B),z=q.getDay(),I0=(z<E?7:0)+z-E;return q.setDate(q.getDate()-I0),q.setHours(0,0,0,0),q}function W(B,U,G){var H=j(B,G),X=j(U,G);return+H===+X}var O=function B(U){switch(U){case 0:return"'domenica scorsa alle' p";default:return"'"+L[U]+" scorso alle' p"}},v=function B(U){return"'"+L[U]+" alle' p"},F=function B(U){switch(U){case 0:return"'domenica prossima alle' p";default:return"'"+L[U]+" prossimo alle' p"}},L=["domenica","luned\xEC","marted\xEC","mercoled\xEC","gioved\xEC","venerd\xEC","sabato"],w={lastWeek:function B(U,G,H){var X=U.getDay();if(W(U,G,H))return v(X);else return O(X)},yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:function B(U,G,H){var X=U.getDay();if(W(U,G,H))return v(X);else r
//# debugId=7BEC2123BFFCD80964756e2164756e21