1(() => { 2 // Initialize charts 3 const $charts = document.querySelectorAll('.chart') 4 for (const $chart of $charts) { 5 const defaultOptions = { 6 chart: { 7 height: 360, 8 animations: { 9 enabled: false, 10 }, 11 toolbar: { 12 show: false, 13 }, 14 zoom: { 15 enabled: false, 16 }, 17 }, 18 fill: { 19 opacity: 0.95, 20 }, 21 } 22 const customOptions = JSON.parse($chart.dataset.options) 23 const options = deepmerge(defaultOptions, customOptions) 24 const chart = new ApexCharts($chart, options) 25 chart.render() 26 } 27 28 // Initialize tables 29 const $tables = document.querySelectorAll('.table') 30 for (const $table of $tables) { 31 $($table).DataTable({ 32 scrollX: true, 33 language: { 34 paginate: { 35 first: '«', 36 previous: 'â¹', 37 next: 'âº', 38 last: '»', 39 }, 40 url: 'https://cdn.jsdelivr.net/npm/[email protected]/i18n/es-ES.json', 41 }, 42 }) 43 } 44})()
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.