PageSourceSearch

https://cdn.arolsen-school.org/providers/snackbar/snackbar.js?stc_5171f8640b7b311533cb38903b5c8ec666e11227

js arolsen-school.org collected 2026-10-05 03:48:09 UTC 808 bytes, 29 lines download raw bytes

1document.addEventListener("DOMContentLoaded", function () {
2	Vue.component('snackbar', {
3
4		computed: {
5			importantSnacks() {
6				return this.$store.getters['snackbar/snacks'].filter(item => item.vanish == false);
7			},
8			newestImportantSnack() {
9				return this.importantSnacks.length ? this.importantSnacks[this.importantSnacks.length-1] : null;
10			},
11			autoVanishSnacks() {
12				return this.$store.getters['snackbar/snacks'].filter(item => item.vanish == true);
13			},
14			brick_offer() {
15				return this.$store.getters['hub/brick_offer'];
16			},
17		},
18		methods: {
19			remove: function (snack) {
20				this.$store.dispatch({type: 'snackbar/remove', snack: snack});
21			},
22			goto: function (url, snack) {
23				if (url) location.href = url;
24				else this.remove(snack);
25			}
26		},
27		template: '#snackbar'
28	});
29});

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.