text: /******/ (function(modules) { // webpackBootstrap
  /******/ 	// The module cache
  /******/ 	var installedModules = {};
  /******/
  /******/ 	// The require function
  /******/ 	function __webpack_require__(moduleId) {
  /******/
  /******/ 		// Check if module is in cache
  /******/ 		if(installedModules[moduleId]) {
  /******/ 			return installedModules[moduleId].exports;
  /******/ 		}
  /******/ 		// Create a new module (and put it into the cache)
  /******/ 		var module = installedModules[moduleId] = {
  /******/ 			i: moduleId,
  /******/ 			l: false,
  /******/ 			exports: {}
  /******/ 		};
  /******/
  /******/ 		// Execute the module function
  /******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
  /******/
  /******/ 		// Flag the module as loaded
  /******/ 		module.l = true;
  /******/
  /******/ 		// Return the exports of the module
  /******/ 		return module.exports;
  /******/ 	}
  /******/
  /******/
  /******/ 	// expose the modules object (__webpack_modules__)
  /******/ 	__webpack_require__.m = modules;
  /******/
  /******/ 	// expose the module cache
  /******/ 	__webpack_require__.c = installedModules;
  /******/
  /******/ 	// define getter function for harmony exports
  /******/ 	__webpack_require__.d = function(exports, name, getter) {
  /******/ 		if(!__webpack_require__.o(exports, name)) {
  /******/ 			Object.defineProperty(exports, name, {
  /******/ 				configurable: false,
  /******/ 				enumerable: true,
  /******/ 				get: getter
  /******/ 			});
  /******/ 		}
  /******/ 	};
  /******/
  /******/ 	// getDefaultExport function for compatibility with non-harmony modules
  /******/ 	__webpack_require__.n = function(module) {
  /******/ 		var getter = module && module.__esModule ?
  /******/ 			function getDefault() { return module['default']; } :
  /******/ 			function getModuleExports() { return module; };
  /******/ 		__webpack_require__.d(getter, 'a', getter);
  /******/ 		return getter;
  /******/ 	};
  /******/
  /******/ 	// Object.prototype.hasOwnProperty.call
  /******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
  /******/
  /******/ 	// __webpack_public_path__
  /******/ 	__webpack_require__.p = "";
  /******/
  /******/ 	// Load entry module and return exports
  /******/ 	return __webpack_require__(__webpack_require__.s = 0);
  /******/ })
  /************************************************************************/
  /******/ ([
  /* 0 */
  /***/ (function(module, exports) {
  
  ﻿$(document).ready(function () {
      'use strict';
  
      kendo.culture('en-GB');
  
      if (getCookie('cookies-notification') !== 'ok') {
          $('#cookies-notification').show();
      }
  
      $('#cookies-notification-button').click(function () {
          $('#cookies-notification').hide();
          setCookie('cookies-notification', 'ok', 3650);
          return false;
      });
  
      initializeLanguageSwitchButtons();
  });
  
  /* exported initializeLanguageSwitchButtons */
  function initializeLanguageSwitchButtons() {
      var languageSwithContainer = $('.language-switch');
      var languageSwitchButtons = languageSwithContainer.find('.language-btn');
      var languageCookieName = languageSwithContainer.data('cookie');
      var languageCookieExpirationDays = 1825;
      var cookiePath = '/';
  
      languageSwitchButtons.click(function (ev) {
          setCookie(languageCookieName, ev.target.id, languageCookieExpirationDays, cookiePath);
          window.location.reload();
      });
  
      var selectedLanguage = getCookie(languageCookieName);
  
      if (selectedLanguage === '') {
          var defaultLanguageCookieValue = languageSwithContainer.find('[data-default]').attr('id');
  
          setCookie(languageCookieName, defaultLanguageCookieValue, languageCookieExpirationDays, cookiePath);
          selectedLanguage = defaultLanguageCookieValue;
      }
  
      var selectedLanguageButton = languageSwithContainer.find('#' + selectedLanguage);
  
      if (selectedLanguageButton.length) {
          selectedLanguageButton.addClass('selected-language-btn');
      }
  }
  
  /* exported CreateExportToExcelButton */
  function CreateExportToExcelButton(elementId) {
      'use strict';
  
      elementId = typeof elementId === 'undefined' ? 'DataGrid' : elementId;
      CreateKendoSubmitParamsButton('export', elementId);
  }
  
  /* eslint new-cap: 0 */
  // TODO: Convert to lower-case
  function CreateKendoSubmitParamsButton(buttonId, elementId) {
      'use strict';
  
      elementId = typeof elementId === 'undefined' ? 'DataGrid' : elementId;
      var grid = $('#' + elementId).data('kendoGrid');
  
      // ask the parameterMap to create the request object for you
      var requestObject = (new kendo.data.transports['aspnetmvc-server']({ prefix: '' }))
          .options.parameterMap({
              page: grid.dataSource.page(),
              sort: grid.dataSource.sort(),
              filter: grid.dataSource.filter()
          });
  
      // Get the export link as jQuery object
      var $exportLink = $('#' + buttonId);
  
      // Get its 'href' attribute - the URL where it would navigate to
      var href = $exportLink.attr('href');
  
      // Update the 'page' parameter with the grid's current page
      href = href.replace(/page=([^&]*)/, 'page=' + requestObject.page || '~');
  
      // Update the 'sort' parameter with the grid's current sort descriptor
      href = href.replace(/sort=([^&]*)/, 'sort=' + requestObject.sort || '~');
  
      // Update the 'pageSize' parameter with the grid's current pageSize
      /* eslint no-underscore-dangle: 0 */
      href = href.replace(/pageSize=([^&]*)/, 'pageSize=' + grid.dataSource._pageSize);
  
      //update filter descriptor with the filters applied
  
      href = href.replace(/filter=([^&]*)/, 'filter=' + (requestObject.filter || '~'));
  
      // Update the 'href' attribute
      $exportLink.attr('href', href);
  }
  
  function setCookie(cname, cvalue, exdays, path) {
      'use strict';
  
      var d = new Date();
      d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
      var expires = '; expires=' + d.toGMTString();
      var props = expires;
  
      if (typeof path != typeof undefined) {
          props += '; path=' + path;
      }
  
      document.cookie = cname + '=' + cvalue + props;
  }
  
  function getCookie(cname) {
      'use strict';
  
      var name = cname + '=';
      var ca = document.cookie.split(';');
      for (var i = 0; i < ca.length; i++) {
          var c = ca[i].trim();
          if (c.indexOf(name) === 0) {
              return c.substring(name.length, c.length);
          }
      }
      return '';
  }
  
  /* exported calculateRemainingTimeOnClient */
  function calculateRemainingTimeOnClient(condownTimerContainerId, remainingTimeFormat, remainingTimeOnServerInMilliseconds) {
      'use strict';
  
      $('#' + condownTimerContainerId).prepend(remainingTimeFormat);
      var remainingTimeOnServer = parseInt(remainingTimeOnServerInMilliseconds);
      var currentTimeOnClient = new Date();
      var remainingTimeOnClient = currentTimeOnClient;
      remainingTimeOnClient.setTime(currentTimeOnClient.getTime() + remainingTimeOnServer);
      var timer = new countdownTimer({
          year: remainingTimeOnClient.getFullYear(),
          month: remainingTimeOnClient.getMonth(),
          day: remainingTimeOnClient.getDate(),
          hour: remainingTimeOnClient.getHours(),
          minute: remainingTimeOnClient.getMinutes(),
          second: remainingTimeOnClient.getSeconds()
      });
  
      timer.start();
  }
  
  var Ojs = Ojs || {};
  Ojs.KendoControls = Ojs.KendoControls || {};
  
  Ojs.KendoControls.DropDownList = (function () {
      'use strict';
  
      function alignDropDownToInput(ev) {
          setTimeout(function () {
              var position = $(ev.sender.element).parent().offset();
              var height = $(ev.sender.element).parent().height();
  
              $('div.k-animation-container').css('top', position.top + height);
              $('div.k-animation-container').css('left', position.left);
          }, 100);
      }
  
      return {
          alignDropDownToInput: alignDropDownToInput
      };
  })();
  
  
  /***/ })
  /******/ ]);