4 lines
8.5 KiB
JavaScript
4 lines
8.5 KiB
JavaScript
|
var A=function(U){return A=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},A(U)},N=function(U,J){var X=Object.keys(U);if(Object.getOwnPropertySymbols){var I=Object.getOwnPropertySymbols(U);J&&(I=I.filter(function(K){return Object.getOwnPropertyDescriptor(U,K).enumerable})),X.push.apply(X,I)}return X},z=function(U){for(var J=1;J<arguments.length;J++){var X=arguments[J]!=null?arguments[J]:{};J%2?N(Object(X),!0).forEach(function(I){B5(U,I,X[I])}):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors(X)):N(Object(X)).forEach(function(I){Object.defineProperty(U,I,Object.getOwnPropertyDescriptor(X,I))})}return U},B5=function(U,J,X){if(J=C5(J),J in U)Object.defineProperty(U,J,{value:X,enumerable:!0,configurable:!0,writable:!0});else U[J]=X;return U},C5=function(U){var J=G5(U,"string");return A(J)=="symbol"?J:String(J)},G5=function(U,J){if(A(U)!="object"||!U)return U;var X=U[Symbol.toPrimitive];if(X!==void 0){var I=X.call(U,J||"default");if(A(I)!="object")return I;throw new TypeError("@@toPrimitive must return a primitive value.")}return(J==="string"?String:Number)(U)};(function(U){var J=Object.defineProperty,X=function B(G,C){for(var H in C)J(G,H,{get:C[H],enumerable:!0,configurable:!0,set:function Y(Z){return C[H]=function(){return Z}}})},I={lessThanXSeconds:{one:"mindre enn eitt sekund",other:"mindre enn {{count}} sekund"},xSeconds:{one:"eitt sekund",other:"{{count}} sekund"},halfAMinute:"eit halvt minutt",lessThanXMinutes:{one:"mindre enn eitt minutt",other:"mindre enn {{count}} minutt"},xMinutes:{one:"eitt minutt",other:"{{count}} minutt"},aboutXHours:{one:"omtrent ein time",other:"omtrent {{count}} timar"},xHours:{one:"ein time",other:"{{count}} timar"},xDays:{one:"ein dag",other:"{{count}} dagar"},aboutXWeeks:{one:"omtrent ei veke",other:"omtrent {{count}} veker"},xWeeks:{one:"ei veke",other:"{{count}} veker"},aboutXMonths:{one:"omtrent ein m\xE5nad",other:"omtrent {{count}} m\xE5nader"},xMonths:{one:"ein m\xE5nad",other:"{{count}} m\xE5nader"},aboutXYears:{one:"omtrent eitt \xE5r",other:"omtrent {{count}} \xE5r"},xYears:{one:"eitt \xE5r",other:"{{count}} \xE5r"},overXYears:{one:"over eitt \xE5r",other:"over {{count}} \xE5r"},almostXYears:{one:"nesten eitt \xE5r",other:"nesten {{count}} \xE5r"}},K=["null","ein","to","tre","fire","fem","seks","sju","\xE5tte","ni","ti","elleve","tolv"],S=function B(G,C,H){var Y,Z=I[G];if(typeof Z==="string")Y=Z;else if(C===1)Y=Z.one;else Y=Z.other.replace("{{count}}",C<13?K[C]:String(C));if(H!==null&&H!==void 0&&H.addSuffix)if(H.comparison&&H.comparison>0)return"om "+Y;else return Y+" sidan";return Y};function x(B){return function(){var G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},C=G.width?String(G.width):B.defaultWidth,H=B.formats[C]||B.formats[B.defaultWidth];return H}}var $={full:"EEEE d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd.MM.y"},M={full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},R={full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},V={date:x({formats:$,defaultWidth:"full"}),time:x({formats:M,defaultWidth:"full"}),dateTime:x({formats:R,defaultWidth:"full"})},L={lastWeek:"'f\xF8rre' eeee 'kl.' p",yesterday:"'i g\xE5r kl.' p",today:"'i dag kl.' p",tomorrow:"'i morgon kl.' p",nextWeek:"EEEE 'kl.' p",other:"P"},f=function B(G,C,H,Y){return L[G]};function Q(B){return function(G,C){var H=C!==null&&C!==void 0&&C.context?String(C.context):"standalone",Y;if(H==="formatting"&&B.formattingValues){var Z=B.defaultFormattingWidth||B.defaultWidth,O=C!==null&&C!==void 0&&C.width?String(C.width):Z;Y=B.formattingValues[O]||B.formattingValues[Z]}else{var T=B.defaultWidth,W=C!==null&&C!==void 0&&C.width?String(C.width):B.defaultWidth;Y=B.values[W]||B.values[T]}var E=B.argumentCallback?B.argumentCallback(G):G;return Y[E]}}var j={narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["f\
|
||
|
|
||
|
//# debugId=71E718FAC9CCF73264756e2164756e21
|