PageSourceSearch

https://udforsksindet.dk/scripts/loader.umd.js?v=2.0.6-serverless&cmp=false

js udforsksindet.dk collected 2026-10-02 22:07:41 UTC 9,927 bytes, 370 lines download raw bytes

1!(function () {
2  'use strict'
3  function n(n) {
4    return (
5      (function (n) {
6        if (Array.isArray(n)) return e(n)
7      })(n) ||
8      (function (n) {
9        if ('undefined' != typeof Symbol && Symbol.iterator in Object(n))
10          return Array.from(n)
11      })(n) ||
12      (function (n, t) {
13        if (!n) return
14        if ('string' == typeof n) return e(n, t)
15        var r = Object.prototype.toString.call(n).slice(8, -1)
16        'Object' === r && n.constructor && (r = n.constructor.name)
17        if ('Map' === r || 'Set' === r) return Array.from(n)
18        if (
19          'Arguments' === r ||
20          /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)
21        )
22          return e(n, t)
23      })(n) ||
24      (function () {
25        throw new TypeError(
26          'Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.'
27        )
28      })()
29    )
30  }
31  function e(n, e) {
32    ;(null == e || e > n.length) && (e = n.length)
33    for (var t = 0, r = new Array(e); t < e; t++) r[t] = n[t]
34    return r
35  }
36  var t =
37      '\n    color: #FFF;\n    background: #005EE3;\n    border-radius: 2px;\n    padding: 2px 4px;\n  ',
38    r =
39      '\n    color: #444;\n    background: yellow;\n    border-radius: 2px;\n    padding: 2px 4px;\n  ',
40    o =
41      '\n    color: #FFF;\n    background: red;\n    border-radius: 2px;\n    padding: 2px 4px;\n  ',
42    a = (function () {
43      var n = !1
44      if ('undefined' != typeof window) {
45        var e = 'undefined' != typeof sessionStorage
46        if (e) {
47          var t = sessionStorage.getItem('atomik_debug')
48          null !== t && (n = JSON.parse(t))
49        }
50        window.location.search.includes('atomik_debug=true') &&
51          ((n = !0),
52          e && sessionStorage.setItem('atomik_debug', JSON.stringify(!0))),
53          window.location.search.includes('atomik_debug=false') &&
54            ((n = !1),
55            e && sessionStorage.setItem('atomik_debug', JSON.stringify(!1)))
56      }
57      return n
58    })(),
59    c = function (n) {
60      var e
61      if (a) {
62        for (
63          var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), o = 1;
64          o < t;
65          o++
66        )
67          r[o - 1] = arguments[o]
68        ;(e = console).log.apply(e, ['%cAtomik', n].concat(r))
69      }
70    },
71    i = function (e, t) {
72      return function (r) {
73        var o
74        if (a) {
75          for (
76            var c = arguments.length, i = new Array(c > 1 ? c - 1 : 0), u = 1;
77            u < c;
78            u++
79          )
80            i[u - 1] = arguments[u]
81          ;(o = console).log.apply(
82            o,
83            ['%cAtomik%c '.concat(e.join('')), r, ''].concat(n(t), i)
84          )
85        }
86      }
87    },
88    u = function (n, e, t) {
89      var r = [],
90        o = []
91      return (
92        e || (r.push('%c '), o.push('')),
93        n.forEach(function (n, e, a) {
94          var c = '%c'.concat(n)
95          t && 0 === e
96            ? o.push(
97                '\n    color: #444;\n    background: #dcedc8;\n    border-radius: 2px;\n    padding: 2px 4px;\n  '
98              )
99            : o.push(
100                '\n    color: #444;\n    background: #eceff1;\n    border-radius: 2px;\n    padding: 2px 4px;\n  '
101              ),
102            e !== a.length - 1 && ((c += '%c '), o.push('')),
103            r.push(c)
104        }),
105        { tags: r, tagStyles: o }
106      )
107    },
108    d = (function () {
109      for (
110        var e = [],
111          a = [],
112          d = c,
113          s = arguments.length,
114          f = new Array(s),
115          l = 0;
116        l < s;
117        l++
118      )
119        f[l] = arguments[l]
120      if (f.length >= 1) {
121        var g = u(f, !0, !0)
122        ;(e = g.tags), (a = g.tagStyles), (d = i(e, a))
123      }
124      return {
125        debug: function () {
126          for (var n = arguments.length, e = new Array(n), r = 0; r < n; r++)
127            e[r] = arguments[r]
128          d.apply(void 0, [t].concat(e))
129        },
130        debugWithTags: function () {
131          for (var r = arguments.length, o = new Array(r), c = 0; c < r; c++)
132            o[c] = arguments[c]
133          return function () {
134            for (
135              var r = u(o, e.length <= 0, !1),
136                c = arguments.length,
137                d = new Array(c),
138                s = 0;
139              s < c;
140              s++
141            )
142              d[s] = arguments[s]
143            i(
144              [].concat(n(e), n(r.tags)),
145              [].concat(n(a), n(r.tagStyles))
146            ).apply(void 0, [t].concat(d))
147          }
148        },
149        warn: function () {
150          for (var n = arguments.length, e = new Array(n), t = 0; t < n; t++)
151            e[t] = arguments[t]
152          d.apply(void 0, [r].concat(e))
153        },
154        warnWithTags: function () {
155          for (var t = arguments.length, o = new Array(t), c = 0; c < t; c++)
156            o[c] = arguments[c]
157          return function () {
158            for (
159              var t = u(o, e.length <= 0, !1),
160                c = arguments.length,
161                d = new Array(c),
162                s = 0;
163              s < c;
164              s++
165            )
166              d[s] = arguments[s]
167            i(
168              [].concat(n(e), n(t.tags)),
169              [].concat(n(a), n(t.tagStyles))
170            ).apply(void 0, [r].concat(d))
171          }
172        },
173        error: function () {
174          for (var n = arguments.length, e = new Array(n), t = 0; t < n; t++)
175            e[t] = arguments[t]
176          d.apply(void 0, [o].concat(e))
177        },
178        errorWithTags: function () {
179          for (var t = arguments.length, r = new Array(t), c = 0; c < t; c++)
180            r[c] = arguments[c]
181          return function () {
182            for (
183              var t = u(r, e.length <= 0, !1),
184                c = arguments.length,
185                d = new Array(c),
186                s = 0;
187              s < c;
188              s++
189            )
190              d[s] = arguments[s]
191            i(
192              [].concat(n(e), n(t.tags)),
193              [].concat(n(a), n(t.tagStyles))
194            ).apply(void 0, [o].concat(d))
195          }
196        }
197      }
198    })('LOADER SCRIPTS'),
199    s = function (n) {
200      if (void 0 === n.id) return !1
201      for (
202        var e = document.getElementsByTagName('script'), t = 0;
203        t < e.length;
204        ++t
205      )
206        if (
207          'mc-loader-data' !== e[t].id &&
208          ((n.src && -1 !== e[t].src.indexOf(n.src)) ||
209            (n.text && -1 !== e[t].text.indexOf(n.text)))
210        )
211          return !1
212      var r = document.getElementById(n.id)
213      r && r.remove(),
214        (r = document.createElement('script')),
215        Object.keys(n).map(function (e) {
216          r[e] = n[e]
217        }),
218        n.type || (r.type = 'text/javascript'),
219        n.async || (r.async = !1),
220        n.defer || (r.defer = !1),
221        setTimeout(function () {
222          document.head.appendChild(r),
223            (null == n ? void 0 : n.debugMessage) &&
224              d.debug(null == n ? void 0 : n.debugMessage)
225        }, 1)
226    },
227    f = JSON.parse(document.getElementById('mc-loader-data').text),
228    l = f.configuration,
229    g = l.delayTime,
230    m = l.disableLazy,
231    p = f.scripts,
232    y = p.filter(function (n) {
233      return m || !n.lazy
234    }),
235    v = p.filter(function (n) {
236      return n.lazy && ('time' === n.lazyType || 'both' === n.lazyType)
237    }),
238    h = p.filter(function (n) {
239      return n.lazy && ('action' === n.lazyType || 'both' === n.lazyType)
240    }),
241    b = [],
242    w = function (n) {
243      n &&
244        Array.isArray(n) &&
245        n.forEach(function (n) {
246          b.includes(n.id) ||
247            (b.push(n.id),
248            (function (n) {
249              s(n)
250            })(n))
251        })
252    }
253  w(y),
254    m ||
255      (setTimeout(function () {
256        return w(v)
257      }, g),
258      document.addEventListener(
259        'click',
260        function () {
261          return w(h)
262        },
263        !1
264      ),
265      document.removeEventListener(
266        'click',
267        function () {
268          return w(h)
269        },
270        !1
271      ),
272      document.addEventListener(
273        'touchmove',
274        function () {
275          return w(h)
276        },
277        !1
278      ),
279      document.removeEventListener(
280        'touchmove',
281        function () {
282          return w(h)
283        },
284        !1
285      ),
286      document.addEventListener(
287        'scroll',
288        function () {
289          return w(h)
290        },
291        !1
292      ),
293      document.removeEventListener(
294        'scroll',
295        function () {
296          return w(h)
297        },
298        !1
299      ),
300      document.addEventListener(
301        'resize',
302        function () {
303          return w(h)
304        },
305        !1
306      ),
307      document.removeEventListener(
308        'resize',
309        function () {
310          return w(h)
311        },
312        !1
313      ),
314      document.addEventListener(
315        'keydown',
316        function () {
317          return w(h)
318        },
319        !1
320      ),
321      document.removeEventListener(
322        'keydown',
323        function () {
324          return w(h)
325        },
326        !1
327      ),
328      document.addEventListener(
329        'auxclick',
330        function () {
331          return w(h)
332        },
333        !1
334      ),
335      document.removeEventListener(
336        'auxclick',
337        function () {
338          return w(h)
339        },
340        !1
341      ),
342      document.addEventListener(
343        'mousemove',
344        function () {
345          return w(h)
346        },
347        !1
348      ),
349      document.removeEventListener(
350        'mousemove',
351        function () {
352          return w(h)
353        },
354        !1
355      ),
356      document.addEventListener(
357        'wheel',
358        function () {
359          return w(h)
360        },
361        !1
362      ),
363      document.removeEventListener(
364        'wheel',
365        function () {
366          return w(h)
367        },
368        !1
369      ))
370})()

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.