PageSourceSearch

https://www.lesserknowntimberspecies.com/lib/vendor/angular12-i18n/angular-locale_da-dk.js

js lesserknowntimberspecies.com collected 2026-10-06 09:04:31 UTC 2,527 bytes, 128 lines download raw bytes

1'use strict';
2angular.module("ngLocale", [], ["$provide", function($provide) {
3var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
4function getDecimals(n) {
5  n = n + '';
6  var i = n.indexOf('.');
7  return (i == -1) ? 0 : n.length - i - 1;
8}
9
10function getVF(n, opt_precision) {
11  var v = opt_precision;
12
13  if (undefined === v) {
14    v = Math.min(getDecimals(n), 3);
15  }
16
17  var base = Math.pow(10, v);
18  var f = ((n * base) | 0) % base;
19  return {v: v, f: f};
20}
21
22function getWT(v, f) {
23  if (f === 0) {
24    return {w: 0, t: 0};
25  }
26
27  while ((f % 10) === 0) {
28    f /= 10;
29    v--;
30  }
31
32  return {w: v, t: f};
33}
34
35$provide.value("$locale", {
36  "DATETIME_FORMATS": {
37    "AMPMS": [
38      "AM",
39      "PM"
40    ],
41    "DAY": [
42      "s\u00f8ndag",
43      "mandag",
44      "tirsdag",
45      "onsdag",
46      "torsdag",
47      "fredag",
48      "l\u00f8rdag"
49    ],
50    "MONTH": [
51      "januar",
52      "februar",
53      "marts",
54      "april",
55      "maj",
56      "juni",
57      "juli",
58      "august",
59      "september",
60      "oktober",
61      "november",
62      "december"
63    ],
64    "SHORTDAY": [
65      "s\u00f8n.",
66      "man.",
67      "tir.",
68      "ons.",
69      "tor.",
70      "fre.",
71      "l\u00f8r."
72    ],
73    "SHORTMONTH": [
74      "jan.",
75      "feb.",
76      "mar.",
77      "apr.",
78      "maj",
79      "jun.",
80      "jul.",
81      "aug.",
82      "sep.",
83      "okt.",
84      "nov.",
85      "dec."
86    ],
87    "fullDate": "EEEE 'den' d. MMMM y",
88    "longDate": "d. MMM y",
89    "medium": "dd/MM/y HH.mm.ss",
90    "mediumDate": "dd/MM/y",
91    "mediumTime": "HH.mm.ss",
92    "short": "dd/MM/yy HH.mm",
93    "shortDate": "dd/MM/yy",
94    "shortTime": "HH.mm"
95  },
96  "NUMBER_FORMATS": {
97    "CURRENCY_SYM": "kr",
98    "DECIMAL_SEP": ",",
99    "GROUP_SEP": ".",
100    "PATTERNS": [
101      {
102        "gSize": 3,
103        "lgSize": 3,
104        "maxFrac": 3,
105        "minFrac": 0,
106        "minInt": 1,
107        "negPre": "-",
108        "negSuf": "",
109        "posPre": "",
110        "posSuf": ""
111      },
112      {
113        "gSize": 3,
114        "lgSize": 3,
115        "maxFrac": 2,
116        "minFrac": 2,
117        "minInt": 1,
118        "negPre": "-",
119        "negSuf": "\u00a0\u00a4",
120        "posPre": "",
121        "posSuf": "\u00a0\u00a4"
122      }
123    ]
124  },
125  "id": "da-dk",
126  "pluralCat": function (n, opt_precision) {  var i = n | 0;  var vf = getVF(n, opt_precision);  var wt = getWT(vf.v, vf.f);  if (n == 1 || wt.t != 0 && (i == 0 || i == 1)) {    return PLURAL_CATEGORY.ONE;  }  return PLURAL_CATEGORY.OTHER;}
127});
128}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.