PageSourceSearch

https://demarches.dordogne.fr/static/js/gadjo.common.js?20260924.1115

js dordogne.fr collected 2026-09-24 09:22:14 UTC 682 bytes, 21 lines download raw bytes

1import { Foldable } from './modules/foldable.js'
2import { slugify } from './modules/slugify.js'
3import { quickSearch } from './modules/search.js'
4
5console.log('Common libraries: %cloaded', 'color: green; font-weight: bold;')
6
7// Failsafe for gettext() minimal functionality
8if (!('gettext' in window) || (typeof window.gettext === 'undefined')) {
9  console.log('Warning: %cgettext() is not loaded in this app.', 'color: orange; font-weight: bold;')
10  window.gettext = i => i
11}
12
13// eslint-disable-next-line
14window.gadjo_js = window.gadjo_js || {}
15window.gadjo_js.Foldable = Foldable
16window.gadjo_js.slugify = slugify
17window.gadjo_js.quickSearch = quickSearch
18
19export {
20  Foldable,
21}

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.