From 1d2dfeac5552ec7fb11ccad21028397fc6301167 Mon Sep 17 00:00:00 2001 From: BuildTools Date: Wed, 7 Dec 2016 18:45:53 +0100 Subject: switched to production bundle --- public/javascripts/bundle.js | 881 +------------------------------------------ 1 file changed, 1 insertion(+), 880 deletions(-) (limited to 'public') diff --git a/public/javascripts/bundle.js b/public/javascripts/bundle.js index 117733d..31da4ae 100644 --- a/public/javascripts/bundle.js +++ b/public/javascripts/bundle.js @@ -1,880 +1 @@ -(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o1&&"flex-start"===e.style.alignContent)for(t=0;l=e.lines[++n];)l.crossStart=t,t+=l.cross;else if(e.lines.length>1&&"flex-end"===e.style.alignContent)for(t=e.flexStyle.crossSpace;l=e.lines[++n];)l.crossStart=t,t+=l.cross;else if(e.lines.length>1&&"center"===e.style.alignContent)for(t=e.flexStyle.crossSpace/2;l=e.lines[++n];)l.crossStart=t,t+=l.cross;else if(e.lines.length>1&&"space-between"===e.style.alignContent)for(r=e.flexStyle.crossSpace/(e.lines.length-1),t=0;l=e.lines[++n];)l.crossStart=t,t+=l.cross+r;else if(e.lines.length>1&&"space-around"===e.style.alignContent)for(r=2*e.flexStyle.crossSpace/(2*e.lines.length),t=r/2;l=e.lines[++n];)l.crossStart=t,t+=l.cross+r;else for(r=e.flexStyle.crossSpace/e.lines.length,t=e.flexStyle.crossInnerBefore;l=e.lines[++n];)l.crossStart=t,l.cross+=r,t+=l.cross}},{}],2:[function(e,t,r){t.exports=function(e){for(var t,r=-1;line=e.lines[++r];)for(t=-1;child=line.children[++t];){var l=child.style.alignSelf;"auto"===l&&(l=e.style.alignItems),"flex-start"===l?child.flexStyle.crossStart=line.crossStart:"flex-end"===l?child.flexStyle.crossStart=line.crossStart+line.cross-child.flexStyle.crossOuter:"center"===l?child.flexStyle.crossStart=line.crossStart+(line.cross-child.flexStyle.crossOuter)/2:(child.flexStyle.crossStart=line.crossStart,child.flexStyle.crossOuter=line.cross,child.flexStyle.cross=child.flexStyle.crossOuter-child.flexStyle.crossBefore-child.flexStyle.crossAfter)}}},{}],3:[function(e,t,r){t.exports=function l(e,l){var t="row"===l||"row-reverse"===l,r=e.mainAxis;if(r){var n=t&&"inline"===r||!t&&"block"===r;n||(e.flexStyle={main:e.flexStyle.cross,cross:e.flexStyle.main,mainOffset:e.flexStyle.crossOffset,crossOffset:e.flexStyle.mainOffset,mainBefore:e.flexStyle.crossBefore,mainAfter:e.flexStyle.crossAfter,crossBefore:e.flexStyle.mainBefore,crossAfter:e.flexStyle.mainAfter,mainInnerBefore:e.flexStyle.crossInnerBefore,mainInnerAfter:e.flexStyle.crossInnerAfter,crossInnerBefore:e.flexStyle.mainInnerBefore,crossInnerAfter:e.flexStyle.mainInnerAfter,mainBorderBefore:e.flexStyle.crossBorderBefore,mainBorderAfter:e.flexStyle.crossBorderAfter,crossBorderBefore:e.flexStyle.mainBorderBefore,crossBorderAfter:e.flexStyle.mainBorderAfter})}else t?e.flexStyle={main:e.style.width,cross:e.style.height,mainOffset:e.style.offsetWidth,crossOffset:e.style.offsetHeight,mainBefore:e.style.marginLeft,mainAfter:e.style.marginRight,crossBefore:e.style.marginTop,crossAfter:e.style.marginBottom,mainInnerBefore:e.style.paddingLeft,mainInnerAfter:e.style.paddingRight,crossInnerBefore:e.style.paddingTop,crossInnerAfter:e.style.paddingBottom,mainBorderBefore:e.style.borderLeftWidth,mainBorderAfter:e.style.borderRightWidth,crossBorderBefore:e.style.borderTopWidth,crossBorderAfter:e.style.borderBottomWidth}:e.flexStyle={main:e.style.height,cross:e.style.width,mainOffset:e.style.offsetHeight,crossOffset:e.style.offsetWidth,mainBefore:e.style.marginTop,mainAfter:e.style.marginBottom,crossBefore:e.style.marginLeft,crossAfter:e.style.marginRight,mainInnerBefore:e.style.paddingTop,mainInnerAfter:e.style.paddingBottom,crossInnerBefore:e.style.paddingLeft,crossInnerAfter:e.style.paddingRight,mainBorderBefore:e.style.borderTopWidth,mainBorderAfter:e.style.borderBottomWidth,crossBorderBefore:e.style.borderLeftWidth,crossBorderAfter:e.style.borderRightWidth},"content-box"===e.style.boxSizing&&("number"==typeof e.flexStyle.main&&(e.flexStyle.main+=e.flexStyle.mainInnerBefore+e.flexStyle.mainInnerAfter+e.flexStyle.mainBorderBefore+e.flexStyle.mainBorderAfter),"number"==typeof e.flexStyle.cross&&(e.flexStyle.cross+=e.flexStyle.crossInnerBefore+e.flexStyle.crossInnerAfter+e.flexStyle.crossBorderBefore+e.flexStyle.crossBorderAfter));e.mainAxis=t?"inline":"block",e.crossAxis=t?"block":"inline","number"==typeof e.style.flexBasis&&(e.flexStyle.main=e.style.flexBasis+e.flexStyle.mainInnerBefore+e.flexStyle.mainInnerAfter+e.flexStyle.mainBorderBefore+e.flexStyle.mainBorderAfter),e.flexStyle.mainOuter=e.flexStyle.main,e.flexStyle.crossOuter=e.flexStyle.cross,"auto"===e.flexStyle.mainOuter&&(e.flexStyle.mainOuter=e.flexStyle.mainOffset),"auto"===e.flexStyle.crossOuter&&(e.flexStyle.crossOuter=e.flexStyle.crossOffset),"number"==typeof e.flexStyle.mainBefore&&(e.flexStyle.mainOuter+=e.flexStyle.mainBefore),"number"==typeof e.flexStyle.mainAfter&&(e.flexStyle.mainOuter+=e.flexStyle.mainAfter),"number"==typeof e.flexStyle.crossBefore&&(e.flexStyle.crossOuter+=e.flexStyle.crossBefore),"number"==typeof e.flexStyle.crossAfter&&(e.flexStyle.crossOuter+=e.flexStyle.crossAfter)}},{}],4:[function(e,t,r){var l=e("../reduce");t.exports=function(e){if(e.mainSpace>0){var t=l(e.children,function(e,t){return e+parseFloat(t.style.flexGrow)},0);t>0&&(e.main=l(e.children,function(r,l){return"auto"===l.flexStyle.main?l.flexStyle.main=l.flexStyle.mainOffset+parseFloat(l.style.flexGrow)/t*e.mainSpace:l.flexStyle.main+=parseFloat(l.style.flexGrow)/t*e.mainSpace,l.flexStyle.mainOuter=l.flexStyle.main+l.flexStyle.mainBefore+l.flexStyle.mainAfter,r+l.flexStyle.mainOuter},0),e.mainSpace=0)}}},{"../reduce":12}],5:[function(e,t,r){var l=e("../reduce");t.exports=function(e){if(e.mainSpace<0){var t=l(e.children,function(e,t){return e+parseFloat(t.style.flexShrink)},0);t>0&&(e.main=l(e.children,function(r,l){return l.flexStyle.main+=parseFloat(l.style.flexShrink)/t*e.mainSpace,l.flexStyle.mainOuter=l.flexStyle.main+l.flexStyle.mainBefore+l.flexStyle.mainAfter,r+l.flexStyle.mainOuter},0),e.mainSpace=0)}}},{"../reduce":12}],6:[function(e,t,r){var l=e("../reduce");t.exports=function(e){var t;e.lines=[t={main:0,cross:0,children:[]}];for(var r,n=-1;r=e.children[++n];)"nowrap"===e.style.flexWrap||0===t.children.length||"auto"===e.flexStyle.main||e.flexStyle.main-e.flexStyle.mainInnerBefore-e.flexStyle.mainInnerAfter-e.flexStyle.mainBorderBefore-e.flexStyle.mainBorderAfter>=t.main+r.flexStyle.mainOuter?(t.main+=r.flexStyle.mainOuter,t.cross=Math.max(t.cross,r.flexStyle.crossOuter)):e.lines.push(t={main:r.flexStyle.mainOuter,cross:r.flexStyle.crossOuter,children:[]}),t.children.push(r);e.flexStyle.mainLines=l(e.lines,function(e,t){return Math.max(e,t.main)},0),e.flexStyle.crossLines=l(e.lines,function(e,t){return e+t.cross},0),"auto"===e.flexStyle.main&&(e.flexStyle.main=Math.max(e.flexStyle.mainOffset,e.flexStyle.mainLines+e.flexStyle.mainInnerBefore+e.flexStyle.mainInnerAfter+e.flexStyle.mainBorderBefore+e.flexStyle.mainBorderAfter)),"auto"===e.flexStyle.cross&&(e.flexStyle.cross=Math.max(e.flexStyle.crossOffset,e.flexStyle.crossLines+e.flexStyle.crossInnerBefore+e.flexStyle.crossInnerAfter+e.flexStyle.crossBorderBefore+e.flexStyle.crossBorderAfter)),e.flexStyle.crossSpace=e.flexStyle.cross-e.flexStyle.crossInnerBefore-e.flexStyle.crossInnerAfter-e.flexStyle.crossBorderBefore-e.flexStyle.crossBorderAfter-e.flexStyle.crossLines,e.flexStyle.mainOuter=e.flexStyle.main+e.flexStyle.mainBefore+e.flexStyle.mainAfter,e.flexStyle.crossOuter=e.flexStyle.cross+e.flexStyle.crossBefore+e.flexStyle.crossAfter}},{"../reduce":12}],7:[function(e,t,r){function l(t){for(var r,l=-1;r=t.children[++l];)e("./flex-direction")(r,t.style.flexDirection);e("./flex-direction")(t,t.style.flexDirection),e("./order")(t),e("./flexbox-lines")(t),e("./align-content")(t),l=-1;for(var n;n=t.lines[++l];)n.mainSpace=t.flexStyle.main-t.flexStyle.mainInnerBefore-t.flexStyle.mainInnerAfter-t.flexStyle.mainBorderBefore-t.flexStyle.mainBorderAfter-n.main,e("./flex-grow")(n),e("./flex-shrink")(n),e("./margin-main")(n),e("./margin-cross")(n),e("./justify-content")(n,t.style.justifyContent,t);e("./align-items")(t)}t.exports=l},{"./align-content":1,"./align-items":2,"./flex-direction":3,"./flex-grow":4,"./flex-shrink":5,"./flexbox-lines":6,"./justify-content":8,"./margin-cross":9,"./margin-main":10,"./order":11}],8:[function(e,t,r){t.exports=function(e,t,r){var l,n,o,f=r.flexStyle.mainInnerBefore,i=-1;if("flex-end"===t)for(l=e.mainSpace,l+=f;o=e.children[++i];)o.flexStyle.mainStart=l,l+=o.flexStyle.mainOuter;else if("center"===t)for(l=e.mainSpace/2,l+=f;o=e.children[++i];)o.flexStyle.mainStart=l,l+=o.flexStyle.mainOuter;else if("space-between"===t)for(n=e.mainSpace/(e.children.length-1),l=0,l+=f;o=e.children[++i];)o.flexStyle.mainStart=l,l+=o.flexStyle.mainOuter+n;else if("space-around"===t)for(n=2*e.mainSpace/(2*e.children.length),l=n/2,l+=f;o=e.children[++i];)o.flexStyle.mainStart=l,l+=o.flexStyle.mainOuter+n;else for(l=0,l+=f;o=e.children[++i];)o.flexStyle.mainStart=l,l+=o.flexStyle.mainOuter}},{}],9:[function(e,t,r){t.exports=function(e){for(var t,r=-1;t=e.children[++r];){var l=0;"auto"===t.flexStyle.crossBefore&&++l,"auto"===t.flexStyle.crossAfter&&++l;var n=e.cross-t.flexStyle.crossOuter;"auto"===t.flexStyle.crossBefore&&(t.flexStyle.crossBefore=n/l),"auto"===t.flexStyle.crossAfter&&(t.flexStyle.crossAfter=n/l),"auto"===t.flexStyle.cross?t.flexStyle.crossOuter=t.flexStyle.crossOffset+t.flexStyle.crossBefore+t.flexStyle.crossAfter:t.flexStyle.crossOuter=t.flexStyle.cross+t.flexStyle.crossBefore+t.flexStyle.crossAfter}}},{}],10:[function(e,t,r){t.exports=function(e){for(var t,r=0,l=-1;t=e.children[++l];)"auto"===t.flexStyle.mainBefore&&++r,"auto"===t.flexStyle.mainAfter&&++r;if(r>0){for(l=-1;t=e.children[++l];)"auto"===t.flexStyle.mainBefore&&(t.flexStyle.mainBefore=e.mainSpace/r),"auto"===t.flexStyle.mainAfter&&(t.flexStyle.mainAfter=e.mainSpace/r),"auto"===t.flexStyle.main?t.flexStyle.mainOuter=t.flexStyle.mainOffset+t.flexStyle.mainBefore+t.flexStyle.mainAfter:t.flexStyle.mainOuter=t.flexStyle.main+t.flexStyle.mainBefore+t.flexStyle.mainAfter;e.mainSpace=0}}},{}],11:[function(e,t,r){var l=/^(column|row)-reverse$/;t.exports=function(e){e.children.sort(function(e,t){return e.style.order-t.style.order||e.index-t.index}),l.test(e.style.flexDirection)&&e.children.reverse()}},{}],12:[function(e,t,r){function l(e,t,r){for(var l=e.length,n=-1;++nlah' // The rendered string -// , index: 2 // The index of the element in `arr` -// , original: 'blah' // The original element in `arr` -// }] -// -// `opts` is an optional argument bag. Details: -// -// opts = { -// // string to put before a matching character -// pre: '' -// -// // string to put after matching character -// , post: '' -// -// // Optional function. Input is an entry in the given arr`, -// // output should be the string to test `pattern` against. -// // In this example, if `arr = [{crying: 'koala'}]` we would return -// // 'koala'. -// , extract: function(arg) { return arg.crying; } -// } -fuzzy.filter = function(pattern, arr, opts) { - if(!arr || arr.length === 0) { - return []; - } - if (typeof pattern !== 'string') { - return arr; - } - opts = opts || {}; - return arr - .reduce(function(prev, element, idx, arr) { - var str = element; - if(opts.extract) { - str = opts.extract(element); - } - var rendered = fuzzy.match(pattern, str, opts); - if(rendered != null) { - prev[prev.length] = { - string: rendered.rendered - , score: rendered.score - , index: idx - , original: element - }; - } - return prev; - }, []) - - // Sort by score. Browsers are inconsistent wrt stable/unstable - // sorting, so force stable by using the index in the case of tie. - // See http://ofb.net/~sethml/is-sort-stable.html - .sort(function(a,b) { - var compare = b.score - a.score; - if(compare) return compare; - return a.index - b.index; - }); -}; - - -}()); - - -},{}],4:[function(require,module,exports){ -/* This program is free software. It comes without any warranty, to - * the extent permitted by applicable law. You can redistribute it - * and/or modify it under the terms of the Do What The Fuck You Want - * To Public License, Version 2, as published by Sam Hocevar. See - * http://www.wtfpl.net/ for more details. */ -'use strict'; -module.exports = leftPad; - -var cache = [ - '', - ' ', - ' ', - ' ', - ' ', - ' ', - ' ', - ' ', - ' ', - ' ' -]; - -function leftPad (str, len, ch) { - // convert `str` to `string` - str = str + ''; - // `len` is the `pad`'s length now - len = len - str.length; - // doesn't need to pad - if (len <= 0) return str; - // `ch` defaults to `' '` - if (!ch && ch !== 0) ch = ' '; - // convert `ch` to `string` - ch = ch + ''; - // cache common use cases - if (ch === ' ' && len < 10) return cache[len] + str; - // `pad` starts with an empty string - var pad = ''; - // loop - while (true) { - // add `ch` to `pad` if `len` is odd - if (len & 1) pad += ch; - // divide `len` by 2, ditch the remainder - len >>= 1; - // "double" the `ch` so this operation count grows logarithmically on `len` - // each time `ch` is "doubled", the `len` would need to be "doubled" too - // similar to finding a value in binary search tree, hence O(log(n)) - if (len) ch += ch; - // `len` is 0, exit the loop - else break; - } - // pad `str`! - return pad + str; -} - -},{}],5:[function(require,module,exports){ -'use strict'; - -var sinterklaas = function sinterklaas() { - console.log('sinterklaas easter egg activated'); - var searchNode = document.querySelector('#search'); - var inputNode = searchNode.querySelector('input[type="search"]'); - var autocompleteNode = document.querySelector('.autocomplete'); - var autocomplete = false; - var lyrics = [[{ woord: 'Hoor ', time: 0 }, { woord: 'wie ', time: 0.3 }, { woord: 'klopt ', time: 0.6 }, { woord: 'daar ', time: 0.9 }, { woord: 'kind', time: 1.2 }, { woord: '\'ren', time: 1.5 }], [{ woord: 'Hoor ', time: 1.8 }, { woord: 'wie ', time: 2.1 }, { woord: 'klopt ', time: 2.5 }, { woord: 'daar ', time: 2.8 }, { woord: 'kind', time: 3.1 }, { woord: '\'ren', time: 3.4 }], [{ woord: 'Hoor ', time: 3.7 }, { woord: 'wie ', time: 4 }, { woord: 'tikt ', time: 4.3 }, { woord: 'daar ', time: 4.6 }, { woord: 'zacht', time: 4.8 }, { woord: 'jes ', time: 5.3 }, { woord: 'tegen ', time: 5.5 }, { woord: '\'t ', time: 6.1 }, { woord: 'raam ', time: 6.2 }]]; - - var originalValue = inputNode.value; - - inputNode.value = ''; - inputNode.placeholder = ''; - - lyrics.forEach(function (row, rowIndex) { - row.forEach(function (word, wordIndex) { - setTimeout(function () { - if (wordIndex === 0) inputNode.placeholder = ''; - inputNode.placeholder += word.woord; - }, word.time * 1000); - if (lyrics.length === rowIndex + 1 && lyrics[rowIndex].length === wordIndex + 1) { - setTimeout(function () { - if (inputNode.value === '') { - inputNode.value = originalValue; - } - inputNode.placeholder = 'Zoeken'; - autocomplete = true; - }, word.time * 1000 + 1000); - } - }); - }); - - inputNode.addEventListener('focus', function () { - if (!autocomplete) return; - - autocompleteNode.innerHTML = ''; - - var autocompleteLyrics = ['\'t Is een vreemd\'ling zeker,', 'die verdwaalt is zeker.', '\'k Zal eens even vragen naar zijn naam:']; - - autocompleteLyrics.forEach(function (row) { - var resultNode = document.createElement('li'); - resultNode.innerHTML = row; - autocompleteNode.appendChild(resultNode); - }); - }); - - inputNode.addEventListener('input', function () { - if (!autocomplete) return; - if (inputNode.value.toLowerCase() === 'sint nicolaas' || inputNode.value.toLowerCase() === 'sintnicolaas' || inputNode.value.toLowerCase() === 'sint nikolaas' || inputNode.value.toLowerCase() === 'sintnikolaas') { - inputNode.value = ''; - window.location.href = 'https://www.youtube-nocookie.com/embed/jsOiKJ3kKXM?start=30'; - } - }); -}; - -module.exports = { sinterklaas: sinterklaas }; - -},{}],6:[function(require,module,exports){ -'use strict'; - -var leftPad = require('left-pad'); -var getWeek = require('./getWeek'); - -function getURLOfUsers(weekOffset, type, id) { - return '//' + window.location.host + '/meetingpointProxy/Roosters-AL%2Fdoc%2Fdagroosters%2F' + (getWeek() + weekOffset + '%2F' + type + '%2F' + type + leftPad(id, 5, '0') + '.htm'); -} - -module.exports = getURLOfUsers; - -},{"./getWeek":7,"left-pad":4}],7:[function(require,module,exports){ -"use strict"; - -// copied from http://www.meetingpointmco.nl/Roosters-AL/doc/dagroosters/untisscripts.js, -// were using the same code as they do to be sure that we always get the same -// week number. -function getWeek() { - // Create a copy of this date object - var target = new Date(); - - // ISO week date weeks start on monday - // so correct the day number - var dayNr = (target.getDay() + 6) % 7; - - // ISO 8601 states that week 1 is the week - // with the first thursday of that year. - // Set the target date to the thursday in the target week - target.setDate(target.getDate() - dayNr + 3); - - // Store the millisecond value of the target date - var firstThursday = target.valueOf(); - - // Set the target to the first thursday of the year - // First set the target to january first - target.setMonth(0, 1); - // Not a thursday? Correct the date to the next thursday - if (target.getDay() !== 4) { - target.setMonth(0, 1 + (4 - target.getDay() + 7) % 7); - } - - // The weeknumber is the number of weeks between the - // first thursday of the year and the thursday in the target week - return 1 + Math.ceil((firstThursday - target) / 604800000); // 604800000 = 7 * 24 * 3600 * 1000 -} - -module.exports = getWeek; - -},{}],8:[function(require,module,exports){ -'use strict'; - -/* global ga FLAGS USERS */ - -require('flexibility'); - -var fuzzy = require('fuzzy'); -// const getUsers = require('./getUsers') -var getURLOfUser = require('./getURLOfUser'); -var removeDiacritics = require('diacritics').remove; -var getWeek = require('./getWeek'); -var easterEggs = require('./easterEggs'); - -var searchNode = document.querySelector('#search'); -var inputNode = searchNode.querySelector('input[type="search"]'); -var autocompleteNode = document.querySelector('.autocomplete'); -var scheduleIframe = document.querySelector('#schedule'); -var prevButton = document.querySelectorAll('#week-selector button')[0]; -var nextButton = document.querySelectorAll('#week-selector button')[1]; -var currentWeekNode = document.querySelector('.current'); -var favNode = document.querySelector('.fav'); - -if (FLAGS.indexOf('NO_FEATURE_DETECT') === -1) { - if (document.querySelector('#schedule').getClientRects()[0].bottom !== document.body.getClientRects()[0].bottom) { - window.location = 'http://www.meetingpointmco.nl/Roosters-AL/doc/'; - } else { - window.onerror = function () { - window.location = 'http://www.meetingpointmco.nl/Roosters-AL/doc/'; - }; - } -} else { - console.log('feature detection is OFF'); -} - -var selectedResult = -1; -var selectedUser = void 0; -var results = []; -var offset = 0; - -function getCurrentFav() { - if (!window.localStorage.getItem('fav')) return; - var favCode = window.localStorage.getItem('fav').split(':'); - var fav = USERS.filter(function (user) { - return user.type === favCode[0] && user.index === Number(favCode[1]); - }); - return fav[0]; -} - -function changeFav(isFav) { - if (!selectedUser) return; - if (isFav) { - window.localStorage.setItem('fav', selectedUser.type + ':' + selectedUser.index); - } else { - window.localStorage.removeItem('fav'); - } - updateFavNode(); -} - -function usersEqual(user1, user2) { - if (user1 == null || user2 == null) return false; - return user1.type === user2.type && user1.index === user2.index; -} - -function updateFavNode() { - if (usersEqual(getCurrentFav(), selectedUser)) { - favNode.innerHTML = ''; - } else { - favNode.innerHTML = ''; - } -} - -function updateWeekText() { - if (offset === 0) currentWeekNode.innerHTML = 'Week ' + (getWeek() + offset);else currentWeekNode.innerHTML = 'Week ' + (getWeek() + offset) + ''; -} - -updateWeekText(); - -searchNode.addEventListener('keydown', function (e) { - if (results.length !== 0 && (e.key === 'ArrowDown' || e.key === 'ArrowUp')) { - e.preventDefault(); - - if (document.querySelector('.selected')) document.querySelector('.selected').classList.remove('selected'); - - var change = e.key === 'ArrowDown' ? 1 : -1; - selectedResult += change; - if (selectedResult < -1) selectedResult = results.length - 1;else if (selectedResult > results.length - 1) selectedResult = -1; - - if (selectedResult !== -1) autocompleteNode.children[selectedResult].classList.add('selected'); - } -}); - -var inputEventStr = void 0; -if (navigator.userAgent.indexOf('MSIE') !== -1 || navigator.appVersion.indexOf('Trident/') > 0) { - inputEventStr = 'textinput'; // IE 6-11 -} else { - inputEventStr = 'input'; // normal browsers -} - -searchNode.addEventListener(inputEventStr, function (e) { - document.body.classList.remove('no-input'); - autocompleteNode.innerHTML = ''; - if (inputNode.value.trim() === '') return; - - selectedResult = -1; - results = fuzzy.filter(removeDiacritics(inputNode.value), USERS, { - extract: function extract(el) { - return removeDiacritics(el.value); - } - }).slice(0, 7); - - results.forEach(function (result) { - var resultNode = document.createElement('li'); - resultNode.innerHTML = '' + result.original.value; - autocompleteNode.appendChild(resultNode); - }); -}); - -searchNode.addEventListener('submit', submitForm); - -function submitForm(e) { - if (e) e.preventDefault(); - if (results.length !== 0) { - var indexInResult = selectedResult === -1 ? 0 : selectedResult; - selectedUser = USERS[results[indexInResult].index]; - } - if (selectedUser == null) return; - - document.body.classList.add('searched'); - - updateFavNode(); - - inputNode.value = selectedUser.value; - autocompleteNode.innerHTML = ''; - - inputNode.blur(); - - scheduleIframe.src = getURLOfUser(offset, selectedUser.type, selectedUser.index + 1); - - var eventAction = void 0; - switch (selectedUser.type) { - case 'c': - eventAction = 'Class'; - break; - case 't': - eventAction = 'Teacher'; - break; - case 'r': - eventAction = 'Room'; - break; - case 's': - eventAction = 'Student'; - break; - } - var eventLabel = selectedUser.value; - - ga(function () { - ga('send', { hitType: 'event', eventCategory: 'search', eventAction: eventAction, eventLabel: eventLabel }); - }); -} - -autocompleteNode.addEventListener('click', function (e) { - if (autocompleteNode.contains(e.target)) { - selectedResult = Array.prototype.indexOf.call(e.target.parentElement.childNodes, e.target); - submitForm(); - } -}); - -prevButton.addEventListener('click', function () { - offset--; - updateWeekText(); - submitForm(); -}); - -nextButton.addEventListener('click', function () { - offset++; - updateWeekText(); - submitForm(); -}); - -inputNode.addEventListener('click', function () { - inputNode.select(); -}); - -window.addEventListener('blur', function () { - // this will removed the selection without drawing focus on it (safari) - // this will removed selection even when focusing an iframe (chrome) - var oldValue = inputNode.value; - inputNode.value = ''; - inputNode.value = oldValue; - - // this will hide the keyboard (iOS safari) - document.activeElement.blur(); -}); - -searchNode.addEventListener('blur', function (e) { - autocompleteNode.innerHTML = ''; -}); - -favNode.addEventListener('click', function () { - if (usersEqual(getCurrentFav(), selectedUser)) { - changeFav(false); - } else { - changeFav(true); - } -}); - -var currentFav = getCurrentFav(); - -if (currentFav) { - (function () { - selectedUser = currentFav; - inputNode.value = selectedUser.value; - scheduleIframe.src = getURLOfUser(offset, selectedUser.type, selectedUser.index + 1); - updateFavNode(); - - var eventAction = void 0; - switch (selectedUser.type) { - case 'c': - eventAction = 'Class'; - break; - case 't': - eventAction = 'Teacher'; - break; - case 'r': - eventAction = 'Room'; - break; - case 's': - eventAction = 'Student'; - break; - } - var eventLabel = selectedUser.value; - - ga(function () { - ga('send', { hitType: 'event', eventCategory: 'search fav', eventAction: eventAction, eventLabel: eventLabel }); - }); - })(); -} else if (inputNode.value === '') { - document.body.classList.add('no-input'); - inputNode.focus(); -} - -if (scheduleIframe.src !== '') { - document.body.classList.add('searched'); -} - -document.body.style.opacity = '1'; - -window.easterEggs = easterEggs; - -},{"./easterEggs":5,"./getURLOfUser":6,"./getWeek":7,"diacritics":1,"flexibility":2,"fuzzy":3}]},{},[8]) -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5vZGVfbW9kdWxlcy9icm93c2VyLXBhY2svX3ByZWx1ZGUuanMiLCJub2RlX21vZHVsZXMvZGlhY3JpdGljcy9pbmRleC5qcyIsIm5vZGVfbW9kdWxlcy9mbGV4aWJ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cmNoIGZhdicsIGV2ZW50QWN0aW9uLCBldmVudExhYmVsIH0pXG4gIH0pXG59IGVsc2UgaWYgKGlucHV0Tm9kZS52YWx1ZSA9PT0gJycpIHtcbiAgZG9jdW1lbnQuYm9keS5jbGFzc0xpc3QuYWRkKCduby1pbnB1dCcpXG4gIGlucHV0Tm9kZS5mb2N1cygpXG59XG5cbmlmIChzY2hlZHVsZUlmcmFtZS5zcmMgIT09ICcnKSB7XG4gIGRvY3VtZW50LmJvZHkuY2xhc3NMaXN0LmFkZCgnc2VhcmNoZWQnKVxufVxuXG5kb2N1bWVudC5ib2R5LnN0eWxlLm9wYWNpdHkgPSAnMSdcblxud2luZG93LmVhc3RlckVnZ3MgPSBlYXN0ZXJFZ2dzXG4iXX0= +!function e(t,r,n){function o(s,a){if(!r[s]){if(!t[s]){var i="function"==typeof require&&require;if(!a&&i)return i(s,!0);if(l)return l(s,!0);var f=new Error("Cannot find module '"+s+"'");throw f.code="MODULE_NOT_FOUND",f}var c=r[s]={exports:{}};t[s][0].call(c.exports,function(e){var r=t[s][1][e];return o(r?r:e)},c,c.exports,e,t,r,n)}return r[s].exports}for(var l="function"==typeof require&&require,s=0;s1&&"flex-start"===e.style.alignContent)for(t=0;n=e.lines[++o];)n.crossStart=t,t+=n.cross;else if(e.lines.length>1&&"flex-end"===e.style.alignContent)for(t=e.flexStyle.crossSpace;n=e.lines[++o];)n.crossStart=t,t+=n.cross;else if(e.lines.length>1&&"center"===e.style.alignContent)for(t=e.flexStyle.crossSpace/2;n=e.lines[++o];)n.crossStart=t,t+=n.cross;else if(e.lines.length>1&&"space-between"===e.style.alignContent)for(r=e.flexStyle.crossSpace/(e.lines.length-1),t=0;n=e.lines[++o];)n.crossStart=t,t+=n.cross+r;else if(e.lines.length>1&&"space-around"===e.style.alignContent)for(r=2*e.flexStyle.crossSpace/(2*e.lines.length),t=r/2;n=e.lines[++o];)n.crossStart=t,t+=n.cross+r;else for(r=e.flexStyle.crossSpace/e.lines.length,t=e.flexStyle.crossInnerBefore;n=e.lines[++o];)n.crossStart=t,n.cross+=r,t+=n.cross}},{}],2:[function(e,t,r){t.exports=function(e){for(var t,r=-1;line=e.lines[++r];)for(t=-1;child=line.children[++t];){var n=child.style.alignSelf;"auto"===n&&(n=e.style.alignItems),"flex-start"===n?child.flexStyle.crossStart=line.crossStart:"flex-end"===n?child.flexStyle.crossStart=line.crossStart+line.cross-child.flexStyle.crossOuter:"center"===n?child.flexStyle.crossStart=line.crossStart+(line.cross-child.flexStyle.crossOuter)/2:(child.flexStyle.crossStart=line.crossStart,child.flexStyle.crossOuter=line.cross,child.flexStyle.cross=child.flexStyle.crossOuter-child.flexStyle.crossBefore-child.flexStyle.crossAfter)}}},{}],3:[function(e,t,r){t.exports=function e(t,e){var r="row"===e||"row-reverse"===e,n=t.mainAxis;if(n){var o=r&&"inline"===n||!r&&"block"===n;o||(t.flexStyle={main:t.flexStyle.cross,cross:t.flexStyle.main,mainOffset:t.flexStyle.crossOffset,crossOffset:t.flexStyle.mainOffset,mainBefore:t.flexStyle.crossBefore,mainAfter:t.flexStyle.crossAfter,crossBefore:t.flexStyle.mainBefore,crossAfter:t.flexStyle.mainAfter,mainInnerBefore:t.flexStyle.crossInnerBefore,mainInnerAfter:t.flexStyle.crossInnerAfter,crossInnerBefore:t.flexStyle.mainInnerBefore,crossInnerAfter:t.flexStyle.mainInnerAfter,mainBorderBefore:t.flexStyle.crossBorderBefore,mainBorderAfter:t.flexStyle.crossBorderAfter,crossBorderBefore:t.flexStyle.mainBorderBefore,crossBorderAfter:t.flexStyle.mainBorderAfter})}else r?t.flexStyle={main:t.style.width,cross:t.style.height,mainOffset:t.style.offsetWidth,crossOffset:t.style.offsetHeight,mainBefore:t.style.marginLeft,mainAfter:t.style.marginRight,crossBefore:t.style.marginTop,crossAfter:t.style.marginBottom,mainInnerBefore:t.style.paddingLeft,mainInnerAfter:t.style.paddingRight,crossInnerBefore:t.style.paddingTop,crossInnerAfter:t.style.paddingBottom,mainBorderBefore:t.style.borderLeftWidth,mainBorderAfter:t.style.borderRightWidth,crossBorderBefore:t.style.borderTopWidth,crossBorderAfter:t.style.borderBottomWidth}:t.flexStyle={main:t.style.height,cross:t.style.width,mainOffset:t.style.offsetHeight,crossOffset:t.style.offsetWidth,mainBefore:t.style.marginTop,mainAfter:t.style.marginBottom,crossBefore:t.style.marginLeft,crossAfter:t.style.marginRight,mainInnerBefore:t.style.paddingTop,mainInnerAfter:t.style.paddingBottom,crossInnerBefore:t.style.paddingLeft,crossInnerAfter:t.style.paddingRight,mainBorderBefore:t.style.borderTopWidth,mainBorderAfter:t.style.borderBottomWidth,crossBorderBefore:t.style.borderLeftWidth,crossBorderAfter:t.style.borderRightWidth},"content-box"===t.style.boxSizing&&("number"==typeof t.flexStyle.main&&(t.flexStyle.main+=t.flexStyle.mainInnerBefore+t.flexStyle.mainInnerAfter+t.flexStyle.mainBorderBefore+t.flexStyle.mainBorderAfter),"number"==typeof t.flexStyle.cross&&(t.flexStyle.cross+=t.flexStyle.crossInnerBefore+t.flexStyle.crossInnerAfter+t.flexStyle.crossBorderBefore+t.flexStyle.crossBorderAfter));t.mainAxis=r?"inline":"block",t.crossAxis=r?"block":"inline","number"==typeof t.style.flexBasis&&(t.flexStyle.main=t.style.flexBasis+t.flexStyle.mainInnerBefore+t.flexStyle.mainInnerAfter+t.flexStyle.mainBorderBefore+t.flexStyle.mainBorderAfter),t.flexStyle.mainOuter=t.flexStyle.main,t.flexStyle.crossOuter=t.flexStyle.cross,"auto"===t.flexStyle.mainOuter&&(t.flexStyle.mainOuter=t.flexStyle.mainOffset),"auto"===t.flexStyle.crossOuter&&(t.flexStyle.crossOuter=t.flexStyle.crossOffset),"number"==typeof t.flexStyle.mainBefore&&(t.flexStyle.mainOuter+=t.flexStyle.mainBefore),"number"==typeof t.flexStyle.mainAfter&&(t.flexStyle.mainOuter+=t.flexStyle.mainAfter),"number"==typeof t.flexStyle.crossBefore&&(t.flexStyle.crossOuter+=t.flexStyle.crossBefore),"number"==typeof t.flexStyle.crossAfter&&(t.flexStyle.crossOuter+=t.flexStyle.crossAfter)}},{}],4:[function(e,t,r){var n=e("../reduce");t.exports=function(e){if(e.mainSpace>0){var t=n(e.children,function(e,t){return e+parseFloat(t.style.flexGrow)},0);t>0&&(e.main=n(e.children,function(r,n){return"auto"===n.flexStyle.main?n.flexStyle.main=n.flexStyle.mainOffset+parseFloat(n.style.flexGrow)/t*e.mainSpace:n.flexStyle.main+=parseFloat(n.style.flexGrow)/t*e.mainSpace,n.flexStyle.mainOuter=n.flexStyle.main+n.flexStyle.mainBefore+n.flexStyle.mainAfter,r+n.flexStyle.mainOuter},0),e.mainSpace=0)}}},{"../reduce":12}],5:[function(e,t,r){var n=e("../reduce");t.exports=function(e){if(e.mainSpace<0){var t=n(e.children,function(e,t){return e+parseFloat(t.style.flexShrink)},0);t>0&&(e.main=n(e.children,function(r,n){return n.flexStyle.main+=parseFloat(n.style.flexShrink)/t*e.mainSpace,n.flexStyle.mainOuter=n.flexStyle.main+n.flexStyle.mainBefore+n.flexStyle.mainAfter,r+n.flexStyle.mainOuter},0),e.mainSpace=0)}}},{"../reduce":12}],6:[function(e,t,r){var n=e("../reduce");t.exports=function(e){var t;e.lines=[t={main:0,cross:0,children:[]}];for(var r,o=-1;r=e.children[++o];)"nowrap"===e.style.flexWrap||0===t.children.length||"auto"===e.flexStyle.main||e.flexStyle.main-e.flexStyle.mainInnerBefore-e.flexStyle.mainInnerAfter-e.flexStyle.mainBorderBefore-e.flexStyle.mainBorderAfter>=t.main+r.flexStyle.mainOuter?(t.main+=r.flexStyle.mainOuter,t.cross=Math.max(t.cross,r.flexStyle.crossOuter)):e.lines.push(t={main:r.flexStyle.mainOuter,cross:r.flexStyle.crossOuter,children:[]}),t.children.push(r);e.flexStyle.mainLines=n(e.lines,function(e,t){return Math.max(e,t.main)},0),e.flexStyle.crossLines=n(e.lines,function(e,t){return e+t.cross},0),"auto"===e.flexStyle.main&&(e.flexStyle.main=Math.max(e.flexStyle.mainOffset,e.flexStyle.mainLines+e.flexStyle.mainInnerBefore+e.flexStyle.mainInnerAfter+e.flexStyle.mainBorderBefore+e.flexStyle.mainBorderAfter)),"auto"===e.flexStyle.cross&&(e.flexStyle.cross=Math.max(e.flexStyle.crossOffset,e.flexStyle.crossLines+e.flexStyle.crossInnerBefore+e.flexStyle.crossInnerAfter+e.flexStyle.crossBorderBefore+e.flexStyle.crossBorderAfter)),e.flexStyle.crossSpace=e.flexStyle.cross-e.flexStyle.crossInnerBefore-e.flexStyle.crossInnerAfter-e.flexStyle.crossBorderBefore-e.flexStyle.crossBorderAfter-e.flexStyle.crossLines,e.flexStyle.mainOuter=e.flexStyle.main+e.flexStyle.mainBefore+e.flexStyle.mainAfter,e.flexStyle.crossOuter=e.flexStyle.cross+e.flexStyle.crossBefore+e.flexStyle.crossAfter}},{"../reduce":12}],7:[function(e,t,r){function n(t){for(var r,n=-1;r=t.children[++n];)e("./flex-direction")(r,t.style.flexDirection);e("./flex-direction")(t,t.style.flexDirection),e("./order")(t),e("./flexbox-lines")(t),e("./align-content")(t),n=-1;for(var o;o=t.lines[++n];)o.mainSpace=t.flexStyle.main-t.flexStyle.mainInnerBefore-t.flexStyle.mainInnerAfter-t.flexStyle.mainBorderBefore-t.flexStyle.mainBorderAfter-o.main,e("./flex-grow")(o),e("./flex-shrink")(o),e("./margin-main")(o),e("./margin-cross")(o),e("./justify-content")(o,t.style.justifyContent,t);e("./align-items")(t)}t.exports=n},{"./align-content":1,"./align-items":2,"./flex-direction":3,"./flex-grow":4,"./flex-shrink":5,"./flexbox-lines":6,"./justify-content":8,"./margin-cross":9,"./margin-main":10,"./order":11}],8:[function(e,t,r){t.exports=function(e,t,r){var n,o,l,s=r.flexStyle.mainInnerBefore,a=-1;if("flex-end"===t)for(n=e.mainSpace,n+=s;l=e.children[++a];)l.flexStyle.mainStart=n,n+=l.flexStyle.mainOuter;else if("center"===t)for(n=e.mainSpace/2,n+=s;l=e.children[++a];)l.flexStyle.mainStart=n,n+=l.flexStyle.mainOuter;else if("space-between"===t)for(o=e.mainSpace/(e.children.length-1),n=0,n+=s;l=e.children[++a];)l.flexStyle.mainStart=n,n+=l.flexStyle.mainOuter+o;else if("space-around"===t)for(o=2*e.mainSpace/(2*e.children.length),n=o/2,n+=s;l=e.children[++a];)l.flexStyle.mainStart=n,n+=l.flexStyle.mainOuter+o;else for(n=0,n+=s;l=e.children[++a];)l.flexStyle.mainStart=n,n+=l.flexStyle.mainOuter}},{}],9:[function(e,t,r){t.exports=function(e){for(var t,r=-1;t=e.children[++r];){var n=0;"auto"===t.flexStyle.crossBefore&&++n,"auto"===t.flexStyle.crossAfter&&++n;var o=e.cross-t.flexStyle.crossOuter;"auto"===t.flexStyle.crossBefore&&(t.flexStyle.crossBefore=o/n),"auto"===t.flexStyle.crossAfter&&(t.flexStyle.crossAfter=o/n),"auto"===t.flexStyle.cross?t.flexStyle.crossOuter=t.flexStyle.crossOffset+t.flexStyle.crossBefore+t.flexStyle.crossAfter:t.flexStyle.crossOuter=t.flexStyle.cross+t.flexStyle.crossBefore+t.flexStyle.crossAfter}}},{}],10:[function(e,t,r){t.exports=function(e){for(var t,r=0,n=-1;t=e.children[++n];)"auto"===t.flexStyle.mainBefore&&++r,"auto"===t.flexStyle.mainAfter&&++r;if(r>0){for(n=-1;t=e.children[++n];)"auto"===t.flexStyle.mainBefore&&(t.flexStyle.mainBefore=e.mainSpace/r),"auto"===t.flexStyle.mainAfter&&(t.flexStyle.mainAfter=e.mainSpace/r),"auto"===t.flexStyle.main?t.flexStyle.mainOuter=t.flexStyle.mainOffset+t.flexStyle.mainBefore+t.flexStyle.mainAfter:t.flexStyle.mainOuter=t.flexStyle.main+t.flexStyle.mainBefore+t.flexStyle.mainAfter;e.mainSpace=0}}},{}],11:[function(e,t,r){var n=/^(column|row)-reverse$/;t.exports=function(e){e.children.sort(function(e,t){return e.style.order-t.style.order||e.index-t.index}),n.test(e.style.flexDirection)&&e.children.reverse()}},{}],12:[function(e,t,r){function n(e,t,r){for(var n=e.length,o=-1;++o>=1,!t)break;r+=r}return n+e}t.exports=n;var o=[""," "," "," "," "," "," "," "," "," "]},{}],5:[function(e,t,r){"use strict";var n=function(){console.log("sinterklaas easter egg activated");var e=document.querySelector("#search"),t=e.querySelector('input[type="search"]'),r=document.querySelector(".autocomplete"),n=!1,o=[[{woord:"Hoor ",time:0},{woord:"wie ",time:.3},{woord:"klopt ",time:.6},{woord:"daar ",time:.9},{woord:"kind",time:1.2},{woord:"'ren",time:1.5}],[{woord:"Hoor ",time:1.8},{woord:"wie ",time:2.1},{woord:"klopt ",time:2.5},{woord:"daar ",time:2.8},{woord:"kind",time:3.1},{woord:"'ren",time:3.4}],[{woord:"Hoor ",time:3.7},{woord:"wie ",time:4},{woord:"tikt ",time:4.3},{woord:"daar ",time:4.6},{woord:"zacht",time:4.8},{woord:"jes ",time:5.3},{woord:"tegen ",time:5.5},{woord:"'t ",time:6.1},{woord:"raam ",time:6.2}]],l=t.value;t.value="",t.placeholder="",o.forEach(function(e,r){e.forEach(function(e,s){setTimeout(function(){0===s&&(t.placeholder=""),t.placeholder+=e.woord},1e3*e.time),o.length===r+1&&o[r].length===s+1&&setTimeout(function(){""===t.value&&(t.value=l),t.placeholder="Zoeken",n=!0},1e3*e.time+1e3)})}),t.addEventListener("focus",function(){if(n){r.innerHTML="";var e=["'t Is een vreemd'ling zeker,","die verdwaalt is zeker.","'k Zal eens even vragen naar zijn naam:"];e.forEach(function(e){var t=document.createElement("li");t.innerHTML=e,r.appendChild(t)})}}),t.addEventListener("input",function(){n&&("sint nicolaas"!==t.value.toLowerCase()&&"sintnicolaas"!==t.value.toLowerCase()&&"sint nikolaas"!==t.value.toLowerCase()&&"sintnikolaas"!==t.value.toLowerCase()||(t.value="",window.location.href="https://www.youtube-nocookie.com/embed/jsOiKJ3kKXM?start=30"))})};t.exports={sinterklaas:n}},{}],6:[function(e,t,r){"use strict";function n(e,t,r){return"//"+window.location.host+"/meetingpointProxy/Roosters-AL%2Fdoc%2Fdagroosters%2F"+(l()+e+"%2F"+t+"%2F"+t+o(r,5,"0")+".htm")}var o=e("left-pad"),l=e("./getWeek");t.exports=n},{"./getWeek":7,"left-pad":4}],7:[function(e,t,r){"use strict";function n(){var e=new Date,t=(e.getDay()+6)%7;e.setDate(e.getDate()-t+3);var r=e.valueOf();return e.setMonth(0,1),4!==e.getDay()&&e.setMonth(0,1+(4-e.getDay()+7)%7),1+Math.ceil((r-e)/6048e5)}t.exports=n},{}],8:[function(e,t,r){"use strict";function n(){if(window.localStorage.getItem("fav")){var e=window.localStorage.getItem("fav").split(":"),t=USERS.filter(function(t){return t.type===e[0]&&t.index===Number(e[1])});return t[0]}}function o(e){w&&(e?window.localStorage.setItem("fav",w.type+":"+w.index):window.localStorage.removeItem("fav"),s())}function l(e,t){return null!=e&&null!=t&&(e.type===t.type&&e.index===t.index)}function s(){l(n(),w)?v.innerHTML="":v.innerHTML=""}function a(){0===O?g.innerHTML="Week "+(u()+O):g.innerHTML="Week "+(u()+O)+""}function i(e){if(e&&e.preventDefault(),0!==A.length){var t=B===-1?0:B;w=USERS[A[t].index]}if(null!=w){document.body.classList.add("searched"),s(),m.value=w.value,h.innerHTML="",m.blur(),S.src=c(O,w.type,w.index+1);var r=void 0;switch(w.type){case"c":r="Class";break;case"t":r="Teacher";break;case"r":r="Room";break;case"s":r="Student"}var n=w.value;ga(function(){ga("send",{hitType:"event",eventCategory:"search",eventAction:r,eventLabel:n})})}}e("flexibility");var f=e("fuzzy"),c=e("./getURLOfUser"),d=e("diacritics").remove,u=e("./getWeek"),y=e("./easterEggs"),x=document.querySelector("#search"),m=x.querySelector('input[type="search"]'),h=document.querySelector(".autocomplete"),S=document.querySelector("#schedule"),p=document.querySelectorAll("#week-selector button")[0],b=document.querySelectorAll("#week-selector button")[1],g=document.querySelector(".current"),v=document.querySelector(".fav");FLAGS.indexOf("NO_FEATURE_DETECT")===-1?document.querySelector("#schedule").getClientRects()[0].bottom!==document.body.getClientRects()[0].bottom?window.location="http://www.meetingpointmco.nl/Roosters-AL/doc/":window.onerror=function(){window.location="http://www.meetingpointmco.nl/Roosters-AL/doc/"}:console.log("feature detection is OFF");var B=-1,w=void 0,A=[],O=0;a(),x.addEventListener("keydown",function(e){if(0!==A.length&&("ArrowDown"===e.key||"ArrowUp"===e.key)){e.preventDefault(),document.querySelector(".selected")&&document.querySelector(".selected").classList.remove("selected");var t="ArrowDown"===e.key?1:-1;B+=t,B<-1?B=A.length-1:B>A.length-1&&(B=-1),B!==-1&&h.children[B].classList.add("selected")}});var L=void 0;L=navigator.userAgent.indexOf("MSIE")!==-1||navigator.appVersion.indexOf("Trident/")>0?"textinput":"input",x.addEventListener(L,function(e){document.body.classList.remove("no-input"),h.innerHTML="",""!==m.value.trim()&&(B=-1,A=f.filter(d(m.value),USERS,{extract:function(e){return d(e.value)}}).slice(0,7),A.forEach(function(e){var t=document.createElement("li");t.innerHTML=""+e.original.value,h.appendChild(t)}))}),x.addEventListener("submit",i),h.addEventListener("click",function(e){h.contains(e.target)&&(B=Array.prototype.indexOf.call(e.target.parentElement.childNodes,e.target),i())}),p.addEventListener("click",function(){O--,a(),i()}),b.addEventListener("click",function(){O++,a(),i()}),m.addEventListener("click",function(){m.select()}),window.addEventListener("blur",function(){var e=m.value;m.value="",m.value=e,document.activeElement.blur()}),x.addEventListener("blur",function(e){h.innerHTML=""}),v.addEventListener("click",function(){o(l(n(),w)?!1:!0)});var k=n();k?!function(){w=k,m.value=w.value,S.src=c(O,w.type,w.index+1),s();var e=void 0;switch(w.type){case"c":e="Class";break;case"t":e="Teacher";break;case"r":e="Room";break;case"s":e="Student"}var t=w.value;ga(function(){ga("send",{hitType:"event",eventCategory:"search fav",eventAction:e,eventLabel:t})})}():""===m.value&&(document.body.classList.add("no-input"),m.focus()),""!==S.src&&document.body.classList.add("searched"),document.body.style.opacity="1",window.easterEggs=y},{"./easterEggs":5,"./getURLOfUser":6,"./getWeek":7,diacritics:1,flexibility:2,fuzzy:3}]},{},[8]); -- cgit v1.1