PageSourceSearch

https://e-campus.uth.hn/assets/js/theme.js

js uth.hn collected 2026-09-24 10:23:29 UTC 48,012 bytes, 1,294 lines download raw bytes

1function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
2
3function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
4
5function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
6
7function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
8
9function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
10
11function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
12
13function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
14
15function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
16
17function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
18
19function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
20
21function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
22
23function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
24
25/* -------------------------------------------------------------------------- */
26
27/*                                    Utils                                   */
28
29/* -------------------------------------------------------------------------- */
30var docReady = function docReady(fn) {
31  document.addEventListener('DOMContentLoaded', fn);
32};
33
34var resize = function resize(fn) {
35  return window.addEventListener('resize', fn);
36};
37
38var isIterableArray = function isIterableArray(array) {
39  return Array.isArray(array) && !!array.length;
40};
41
42var camelize = function camelize(str) {
43  var text = str.replace(/[-_\s.]+(.)?/g, function (_, c) {
44    return c ? c.toUpperCase() : '';
45  });
46  return "".concat(text.substr(0, 1).toLowerCase()).concat(text.substr(1));
47};
48
49var getData = function getData(el, data) {
50  try {
51    return JSON.parse(el.dataset[camelize(data)]);
52  } catch (e) {
53    return el.dataset[camelize(data)];
54  }
55};
56/* ----------------------------- Colors function ---------------------------- */
57
58
59var hexToRgb = function hexToRgb(hexValue) {
60  var hex;
61  hexValue.indexOf('#') === 0 ? hex = hexValue.substring(1) : hex = hexValue; // Expand shorthand form (e.g. "03F") to full form (e.g. "0033FF")
62
63  var shorthandRegex = /^#?([a-f\d])([a-f\d])([a-f\d])$/i;
64  var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex.replace(shorthandRegex, function (m, r, g, b) {
65    return r + r + g + g + b + b;
66  }));
67  return result ? [parseInt(result[1], 16), parseInt(result[2], 16), parseInt(result[3], 16)] : null;
68};
69
70var rgbaColor = function rgbaColor() {
71  var color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '#fff';
72  var alpha = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0.5;
73  return "rgba(".concat(hexToRgb(color), ", ").concat(alpha, ")");
74};
75/* --------------------------------- Colors --------------------------------- */
76
77
78var getColor = function getColor(name) {
79  var dom = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : document.documentElement;
80  return getComputedStyle(dom).getPropertyValue("--falcon-".concat(name)).trim();
81};
82
83var getColors = function getColors(dom) {
84  return {
85    primary: getColor('primary', dom),
86    secondary: getColor('secondary', dom),
87    success: getColor('success', dom),
88    info: getColor('info', dom),
89    warning: getColor('warning', dom),
90    danger: getColor('danger', dom),
91    light: getColor('light', dom),
92    dark: getColor('dark', dom)
93  };
94};
95
96var getSoftColors = function getSoftColors(dom) {
97  return {
98    primary: getColor('soft-primary', dom),
99    secondary: getColor('soft-secondary', dom),
100    success: getColor('soft-success', dom),
101    info: getColor('soft-info', dom),
102    warning: getColor('soft-warning', dom),
103    danger: getColor('soft-danger', dom),
104    light: getColor('soft-light', dom),
105    dark: getColor('soft-dark', dom)
106  };
107};
108
109var getGrays = function getGrays(dom) {
110  return {
111    white: getColor('white', dom),
112    100: getColor('100', dom),
113    200: getColor('200', dom),
114    300: getColor('300', dom),
115    400: getColor('400', dom),
116    500: getColor('500', dom),
117    600: getColor('600', dom),
118    700: getColor('700', dom),
119    800: getColor('800', dom),
120    900: getColor('900', dom),
121    1000: getColor('1000', dom),
122    1100: getColor('1100', dom),
123    black: getColor('black', dom)
124  };
125};
126
127var hasClass = function hasClass(el, className) {
128  return !el ? false : el.classList.value.includes(className);
129};
130
131var addClass = function addClass(el, className) {
132  el.classList.add(className);
133};
134
135var getOffset = function getOffset(el) {
136  var rect = el.getBoundingClientRect();
137  var scrollLeft = window.pageXOffset || document.documentElement.scrollLeft;
138  var scrollTop = window.pageYOffset || document.documentElement.scrollTop;
139  return {
140    top: rect.top + scrollTop,
141    left: rect.left + scrollLeft
142  };
143};
144
145var isScrolledIntoView = function isScrolledIntoView(el) {
146  var top = el.offsetTop;
147  var left = el.offsetLeft;
148  var width = el.offsetWidth;
149  var height = el.offsetHeight;
150
151  while (el.offsetParent) {
152    // eslint-disable-next-line no-param-reassign
153    el = el.offsetParent;
154    top += el.offsetTop;
155    left += el.offsetLeft;
156  }
157
158  return {
159    all: top >= window.pageYOffset && left >= window.pageXOffset && top + height <= window.pageYOffset + window.innerHeight && left + width <= window.pageXOffset + window.innerWidth,
160    partial: top < window.pageYOffset + window.innerHeight && left < window.pageXOffset + window.innerWidth && top + height > window.pageYOffset && left + width > window.pageXOffset
161  };
162};
163
164var breakpoints = {
165  xs: 0,
166  sm: 576,
167  md: 768,
168  lg: 992,
169  xl: 1200,
170  xxl: 1540
171};
172
173var getBreakpoint = function getBreakpoint(el) {
174  var classes = el && el.classList.value;
175  var breakpoint;
176
177  if (classes) {
178    breakpoint = breakpoints[classes.split(' ').filter(function (cls) {
179      return cls.includes('navbar-expand-');
180    }).pop().split('-').pop()];
181  }
182
183  return breakpoint;
184};
185/* --------------------------------- Cookie --------------------------------- */
186
187
188var setCookie = function setCookie(name, value, expire) {
189  var expires = new Date();
190  expires.setTime(expires.getTime() + expire);
191  document.cookie = "".concat(name, "=").concat(value, ";expires=").concat(expires.toUTCString());
192};
193
194var getCookie = function getCookie(name) {
195  var keyValue = document.cookie.match("(^|;) ?".concat(name, "=([^;]*)(;|$)"));
196  return keyValue ? keyValue[2] : keyValue;
197};
198
199var settings = {
200  tinymce: {
201    theme: 'oxide'
202  },
203  chart: {
204    borderColor: 'rgba(255, 255, 255, 0.8)'
205  }
206};
207/* -------------------------- Chart Initialization -------------------------- */
208
209var newChart = function newChart(chart, config) {
210  var ctx = chart.getContext('2d');
211  return new window.Chart(ctx, config);
212};
213/* ---------------------------------- Store --------------------------------- */
214
215
216var getItemFromStore = function getItemFromStore(key, defaultValue) {
217  var store = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : localStorage;
218
219  try {
220    return JSON.parse(store.getItem(key)) || defaultValue;
221  } catch (_unused) {
222    return store.getItem(key) || defaultValue;
223  }
224};
225
226var setItemToStore = function setItemToStore(key, payload) {
227  var store = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : localStorage;
228  return store.setItem(key, payload);
229};
230
231var getStoreSpace = function getStoreSpace() {
232  var store = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : localStorage;
233  return parseFloat((escape(encodeURIComponent(JSON.stringify(store))).length / (1024 * 1024)).toFixed(2));
234};
235/* get Dates between */
236
237
238var getDates = function getDates(startDate, endDate) {
239  var interval = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1000 * 60 * 60 * 24;
240  var duration = endDate - startDate;
241  var steps = duration / interval;
242  return Array.from({
243    length: steps + 1
244  }, function (v, i) {
245    return new Date(startDate.valueOf() + interval * i);
246  });
247};
248
249var getPastDates = function getPastDates(duration) {
250  var days;
251
252  switch (duration) {
253    case 'week':
254      days = 7;
255      break;
256
257    case 'month':
258      days = 30;
259      break;
260
261    case 'year':
262      days = 365;
263      break;
264
265    default:
266      days = duration;
267  }
268
269  var date = new Date();
270  var endDate = date;
271  var startDate = new Date(new Date().setDate(date.getDate() - (days - 1)));
272  return getDates(startDate, endDate);
273};
274/* Get Random Number */
275
276
277var getRandomNumber = function getRandomNumber(min, max) {
278  return Math.floor(Math.random() * (max - min) + min);
279};
280
281var utils = {
282  docReady: docReady,
283  resize: resize,
284  isIterableArray: isIterableArray,
285  camelize: camelize,
286  getData: getData,
287  hasClass: hasClass,
288  addClass: addClass,
289  hexToRgb: hexToRgb,
290  rgbaColor: rgbaColor,
291  getColor: getColor,
292  getColors: getColors,
293  getSoftColors: getSoftColors,
294  getGrays: getGrays,
295  getOffset: getOffset,
296  isScrolledIntoView: isScrolledIntoView,
297  getBreakpoint: getBreakpoint,
298  setCookie: setCookie,
299  getCookie: getCookie,
300  newChart: newChart,
301  settings: settings,
302  getItemFromStore: getItemFromStore,
303  setItemToStore: setItemToStore,
304  getStoreSpace: getStoreSpace,
305  getDates: getDates,
306  getPastDates: getPastDates,
307  getRandomNumber: getRandomNumber
308};
309
310/*-----------------------------------------------
311|   DomNode
312-----------------------------------------------*/
313
314
315var DomNode = /*#__PURE__*/function () {
316  function DomNode(node) {
317    _classCallCheck(this, DomNode);
318
319    this.node = node;
320  }
321
322  _createClass(DomNode, [{
323    key: "addClass",
324    value: function addClass(className) {
325      this.isValidNode() && this.node.classList.add(className);
326    }
327  }, {
328    key: "removeClass",
329    value: function removeClass(className) {
330      this.isValidNode() && this.node.classList.remove(className);
331    }
332  }, {
333    key: "toggleClass",
334    value: function toggleClass(className) {
335      this.isValidNode() && this.node.classList.toggle(className);
336    }
337  }, {
338    key: "hasClass",
339    value: function hasClass(className) {
340      this.isValidNode() && this.node.classList.contains(className);
341    }
342  }, {
343    key: "data",
344    value: function data(key) {
345      if (this.isValidNode()) {
346        try {
347          return JSON.parse(this.node.dataset[this.camelize(key)]);
348        } catch (e) {
349          return this.node.dataset[this.camelize(key)];
350        }
351      }
352
353      return null;
354    }
355  }, {
356    key: "attr",
357    value: function attr(name) {
358      return this.isValidNode() && this.node[name];
359    }
360  }, {
361    key: "setAttribute",
362    value: function setAttribute(name, value) {
363      this.isValidNode() && this.node.setAttribute(name, value);
364    }
365  }, {
366    key: "removeAttribute",
367    value: function removeAttribute(name) {
368      this.isValidNode() && this.node.removeAttribute(name);
369    }
370  }, {
371    key: "setProp",
372    value: function setProp(name, value) {
373      this.isValidNode() && (this.node[name] = value);
374    }
375  }, {
376    key: "on",
377    value: function on(event, cb) {
378      this.isValidNode() && this.node.addEventListener(event, cb);
379    }
380  }, {
381    key: "isValidNode",
382    value: function isValidNode() {
383      return !!this.node;
384    } // eslint-disable-next-line class-methods-use-this
385
386  }, {
387    key: "camelize",
388    value: function camelize(str) {
389      var text = str.replace(/[-_\s.]+(.)?/g, function (_, c) {
390        return c ? c.toUpperCase() : '';
391      });
392      return "".concat(text.substr(0, 1).toLowerCase()).concat(text.substr(1));
393    }
394  }]);
395
396  return DomNode;
397}();
398
399/*-----------------------------------------------
400|   Bulk Select
401-----------------------------------------------*/
402
403var BulkSelect = /*#__PURE__*/function () {
404  function BulkSelect(element, option) {
405    _classCallCheck(this, BulkSelect);
406
407    this.element = new DomNode(element);
408    this.option = _objectSpread({
409      displayNoneClassName: 'd-none'
410    }, option);
411  }
412
413  _createClass(BulkSelect, [{
414    key: "init",
415    value: function init() {
416      this.attachNodes();
417      this.clickBulkCheckbox();
418      this.clickRowCheckbox();
419    }
420  }, {
421    key: "attachNodes",
422    value: function attachNodes() {
423      var _this$element$data = this.element.data('bulk-select'),
424        body = _this$element$data.body,
425        actions = _this$element$data.actions,
426        replacedElement = _this$element$data.replacedElement;
427
428      this.actions = new DomNode(document.getElementById(actions));
429      this.replacedElement = new DomNode(document.getElementById(replacedElement));
430      this.bulkSelectRows = document.getElementById(body).querySelectorAll('[data-bulk-select-row]');
431    }
432  }, {
433    key: "clickBulkCheckbox",
434    value: function clickBulkCheckbox() {
435      var _this = this;
436
437      // Handle click event in bulk checkbox
438      this.element.on('click', function () {
439        if (_this.element.attr('indeterminate') === 'indeterminate') {
440          _this.actions.addClass(_this.option.displayNoneClassName);
441
442          _this.replacedElement.removeClass(_this.option.displayNoneClassName);
443
444          _this.removeBulkCheck();
445
446          _this.bulkSelectRows.forEach(function (el) {
447            var rowCheck = new DomNode(el);
448            rowCheck.setProp('checked', false);
449            rowCheck.setAttribute('checked', false);
450          });
451
452          return;
453        }
454
455        _this.toggleDisplay();
456
457        _this.bulkSelectRows.forEach(function (el) {
458          var rowCheck = new DomNode(el);
459          rowCheck.setProp('checked', _this.element.attr('checked'));
460          rowCheck.setAttribute('checked', _this.element.attr('checked'));
461        });
462      });
463    }
464  }, {
465    key: "clickRowCheckbox",
466    value: function clickRowCheckbox() {
467      var _this2 = this;
468
469      // Handle click event in checkbox of each row
470      this.bulkSelectRows.forEach(function (el) {
471        var rowCheck = new DomNode(el);
472        rowCheck.on('click', function () {
473          if (_this2.element.attr('indeterminate') !== 'indeterminate') {
474            _this2.element.setProp('indeterminate', true);
475
476            _this2.element.setAttribute('indeterminate', 'indeterminate');
477
478            _this2.element.setProp('checked', true);
479
480            _this2.element.setAttribute('checked', true);
481
482            _this2.actions.removeClass(_this2.option.displayNoneClassName);
483
484            _this2.replacedElement.addClass(_this2.option.displayNoneClassName);
485          }
486
487          if (_toConsumableArray(_this2.bulkSelectRows).every(function (element) {
488            return element.checked;
489          })) {
490            _this2.element.setProp('indeterminate', false);
491
492            _this2.element.setAttribute('indeterminate', false);
493          }
494
495          if (_toConsumableArray(_this2.bulkSelectRows).every(function (element) {
496            return !element.checked;
497          })) {
498            _this2.removeBulkCheck();
499
500            _this2.toggleDisplay();
501          }
502        });
503      });
504    }
505  }, {
506    key: "removeBulkCheck",
507    value: function removeBulkCheck() {
508      this.element.setProp('indeterminate', false);
509      this.element.removeAttribute('indeterminate');
510      this.element.setProp('checked', false);
511      this.element.setAttribute('checked', false);
512    }
513  }, {
514    key: "toggleDisplay",
515    value: function toggleDisplay() {
516      this.actions.toggleClass(this.option.displayNoneClassName);
517      this.replacedElement.toggleClass(this.option.displayNoneClassName);
518    }
519  }]);
520
521  return BulkSelect;
522}();
523
524function bulkSelectInit() {
525  var bulkSelects = document.querySelectorAll('[data-bulk-select');
526
527  if (bulkSelects.length) {
528    bulkSelects.forEach(function (el) {
529      var bulkSelect = new BulkSelect(el);
530      bulkSelect.init();
531    });
532  }
533}
534/* -------------------------------------------------------------------------- */
535
536/*                                  Copy LinK                                 */
537
538/* -------------------------------------------------------------------------- */
539
540
541var copyLink = function copyLink() {
542  var copyLinkModal = document.getElementById('copyLinkModal');
543  copyLinkModal && copyLinkModal.addEventListener('shown.bs.modal', function () {
544    var invitationLink = document.querySelector('.invitation-link');
545    invitationLink.select();
546  });
547  var copyButtons = document.querySelectorAll('[data-copy]');
548  copyButtons && copyButtons.forEach(function (button) {
549    var tooltip = new window.bootstrap.Tooltip(button);
550    button.addEventListener('mouseover', function () {
551      return tooltip.show();
552    });
553    button.addEventListener('mouseleave', function () {
554      return tooltip.hide();
555    });
556    button.addEventListener('click', function (e) {
557      e.stopPropagation();
558      var el = e.target;
559      el.setAttribute('data-original-title', 'Copied');
560      tooltip.show();
561      el.setAttribute('data-original-title', 'Copy to clipboard');
562      tooltip.update();
563      var inputID = utils.getData(el, 'copy');
564      var input = document.querySelector(inputID);
565      input.select();
566      document.execCommand('copy');
567    });
568  });
569};
570/* -------------------------------------------------------------------------- */
571
572/*                           Open dropdown on hover                           */
573
574/* -------------------------------------------------------------------------- */
575
576
577var dropdownOnHover = function dropdownOnHover() {
578  var navbarArea = document.querySelector('[data-top-nav-dropdowns]');
579
580  if (navbarArea) {
581    navbarArea.addEventListener('mouseover', function (e) {
582      if (e.target.className.includes('dropdown-toggle') && window.innerWidth > 992) {
583        var dropdownInstance = new window.bootstrap.Dropdown(e.target);
584        /* eslint-disable no-underscore-dangle */
585
586        dropdownInstance._element.classList.add('show');
587
588        dropdownInstance._menu.classList.add('show');
589
590        dropdownInstance._menu.setAttribute('data-bs-popper', 'none');
591
592        e.target.parentNode.addEventListener('mouseleave', function () {
593          dropdownInstance.hide();
594        });
595      }
596    });
597  }
598};
599/* -------------------------------------------------------------------------- */
600
601/*                             Navbar Combo Layout                            */
602
603/* -------------------------------------------------------------------------- */
604
605
606var navbarComboInit = function navbarComboInit() {
607  var Selector = {
608    NAVBAR_VERTICAL: '.navbar-vertical',
609    NAVBAR_TOP_COMBO: '[data-navbar-top="combo"]',
610    COLLAPSE: '.collapse',
611    DATA_MOVE_CONTAINER: '[data-move-container]',
612    NAVBAR_NAV: '.navbar-nav',
613    NAVBAR_VERTICAL_DIVIDER: '.navbar-vertical-divider'
614  };
615  var ClassName = {
616    FLEX_COLUMN: 'flex-column'
617  };
618  var navbarVertical = document.querySelector(Selector.NAVBAR_VERTICAL);
619  var navbarTopCombo = document.querySelector(Selector.NAVBAR_TOP_COMBO);
620
621  var moveNavContent = function moveNavContent(windowWidth) {
622    var navbarVerticalBreakpoint = utils.getBreakpoint(navbarVertical);
623    var navbarTopBreakpoint = utils.getBreakpoint(navbarTopCombo);
624
625    if (windowWidth < navbarTopBreakpoint) {
626      var navbarCollapse = navbarTopCombo.querySelector(Selector.COLLAPSE);
627      var navbarTopContent = navbarCollapse.innerHTML;
628
629      if (navbarTopContent) {
630        var targetID = utils.getData(navbarTopCombo, 'move-target');
631        var targetElement = document.querySelector(targetID);
632        navbarCollapse.innerHTML = '';
633        targetElement.insertAdjacentHTML('afterend', "\n            <div data-move-container>\n              <div class='navbar-vertical-divider'>\n                <hr class='navbar-vertical-hr' />\n              </div>\n              ".concat(navbarTopContent, "\n            </div>\n          "));
634
635        if (navbarVerticalBreakpoint < navbarTopBreakpoint) {
636          var navbarNav = document.querySelector(Selector.DATA_MOVE_CONTAINER).querySelector(Selector.NAVBAR_NAV);
637          utils.addClass(navbarNav, ClassName.FLEX_COLUMN);
638        }
639      }
640    } else {
641      var moveableContainer = document.querySelector(Selector.DATA_MOVE_CONTAINER);
642
643      if (moveableContainer) {
644        var _navbarNav = moveableContainer.querySelector(Selector.NAVBAR_NAV);
645
646        utils.hasClass(_navbarNav, ClassName.FLEX_COLUMN) && _navbarNav.classList.remove(ClassName.FLEX_COLUMN);
647        moveableContainer.querySelector(Selector.NAVBAR_VERTICAL_DIVIDER).remove();
648        navbarTopCombo.querySelector(Selector.COLLAPSE).innerHTML = moveableContainer.innerHTML;
649        moveableContainer.remove();
650      }
651    }
652  };
653
654  moveNavContent(window.innerWidth);
655  utils.resize(function () {
656    return moveNavContent(window.innerWidth);
657  });
658};
659/* -------------------------------------------------------------------------- */
660
661/*                         Navbar Darken on scroll                        */
662
663/* -------------------------------------------------------------------------- */
664
665
666var navbarDarkenOnScroll = function navbarDarkenOnScroll() {
667  var Selector = {
668    NAVBAR: '[data-navbar-darken-on-scroll]',
669    NAVBAR_COLLAPSE: '.navbar-collapse',
670    NAVBAR_TOGGLER: '.navbar-toggler'
671  };
672  var ClassNames = {
673    COLLAPSED: 'collapsed'
674  };
675  var Events = {
676    SCROLL: 'scroll',
677    SHOW_BS_COLLAPSE: 'show.bs.collapse',
678    HIDE_BS_COLLAPSE: 'hide.bs.collapse',
679    HIDDEN_BS_COLLAPSE: 'hidden.bs.collapse'
680  };
681  var DataKey = {
682    NAVBAR_DARKEN_ON_SCROLL: 'navbar-darken-on-scroll'
683  };
684  var navbar = document.querySelector(Selector.NAVBAR);
685
686  function removeNavbarBgClass() {
687    navbar.classList.remove('bg-dark');
688    navbar.classList.remove('bg-100');
689  }
690
691  var toggleThemeClass = function toggleThemeClass(theme) {
692    if (theme === 'dark') {
693      navbar.classList.remove('navbar-dark');
694      navbar.classList.add('navbar-light');
695    } else {
696      navbar.classList.remove('navbar-light');
697      navbar.classList.add('navbar-dark');
698    }
699  };
700
701  function getBgClassName(name, defaultColorName) {
702    var parent = document.documentElement;
703
704    var allColors = _objectSpread(_objectSpread({}, utils.getColors(parent)), utils.getGrays(parent));
705
706    var colorName = Object.keys(allColors).includes(name) ? name : defaultColorName;
707    var color = allColors[colorName];
708    var bgClassName = "bg-".concat(colorName);
709    return {
710      color: color,
711      bgClassName: bgClassName
712    };
713  }
714
715  if (navbar) {
716    var theme = localStorage.getItem('theme');
717    var defaultColorName = theme === 'dark' ? '100' : 'dark';
718    var name = utils.getData(navbar, DataKey.NAVBAR_DARKEN_ON_SCROLL);
719    toggleThemeClass(theme);
720    var themeController = document.body;
721    themeController.addEventListener('clickControl', function (_ref10) {
722      var _ref10$detail = _ref10.detail,
723        control = _ref10$detail.control,
724        value = _ref10$detail.value;
725
726      if (control === 'theme') {
727        toggleThemeClass(value);
728        defaultColorName = value === 'dark' ? '100' : 'dark';
729
730        if (navbar.classList.contains('bg-dark') || navbar.classList.contains('bg-100')) {
731          removeNavbarBgClass();
732          navbar.classList.add(getBgClassName(name, defaultColorName).bgClassName);
733        }
734      }
735    });
736    var windowHeight = window.innerHeight;
737    var html = document.documentElement;
738    var navbarCollapse = navbar.querySelector(Selector.NAVBAR_COLLAPSE);
739    var colorRgb = utils.hexToRgb(getBgClassName(name, defaultColorName).color);
740
741    var _window$getComputedSt = window.getComputedStyle(navbar),
742      backgroundImage = _window$getComputedSt.backgroundImage;
743
744    var transition = 'background-color 0.35s ease';
745    navbar.style.backgroundImage = 'none'; // Change navbar background color on scroll
746
747    window.addEventListener(Events.SCROLL, function () {
748      var scrollTop = html.scrollTop;
749      var alpha = scrollTop / windowHeight * 2;
750      alpha >= 1 && (alpha = 1);
751      navbar.style.backgroundColor = "rgba(".concat(colorRgb[0], ", ").concat(colorRgb[1], ", ").concat(colorRgb[2], ", ").concat(alpha, ")");
752      navbar.style.backgroundImage = alpha > 0 || utils.hasClass(navbarCollapse, 'show') ? backgroundImage : 'none';
753    }); // Toggle bg class on window resize
754
755    utils.resize(function () {
756      var breakPoint = utils.getBreakpoint(navbar);
757
758      if (window.innerWidth > breakPoint) {
759        removeNavbarBgClass();
760        navbar.style.backgroundImage = html.scrollTop ? backgroundImage : 'none';
761        navbar.style.transition = 'none';
762      } else if (!utils.hasClass(navbar.querySelector(Selector.NAVBAR_TOGGLER), ClassNames.COLLAPSED)) {
763        removeNavbarBgClass();
764        navbar.style.backgroundImage = backgroundImage;
765      }
766
767      if (window.innerWidth <= breakPoint) {
768        navbar.style.transition = utils.hasClass(navbarCollapse, 'show') ? transition : 'none';
769      }
770    });
771    navbarCollapse.addEventListener(Events.SHOW_BS_COLLAPSE, function () {
772      navbar.classList.add(getBgClassName(name, defaultColorName).bgClassName);
773      navbar.style.backgroundImage = backgroundImage;
774      navbar.style.transition = transition;
775    });
776    navbarCollapse.addEventListener(Events.HIDE_BS_COLLAPSE, function () {
777      removeNavbarBgClass();
778      !html.scrollTop && (navbar.style.backgroundImage = 'none');
779    });
780    navbarCollapse.addEventListener(Events.HIDDEN_BS_COLLAPSE, function () {
781      navbar.style.transition = 'none';
782    });
783  }
784};
785/* -------------------------------------------------------------------------- */
786
787/*                                 Navbar Top                                 */
788
789/* -------------------------------------------------------------------------- */
790
791
792var navbarTopDropShadow = function navbarTopDropShadow() {
793  var Selector = {
794    NAVBAR: '.navbar:not(.navbar-vertical)',
795    NAVBAR_VERTICAL: '.navbar-vertical',
796    NAVBAR_VERTICAL_CONTENT: '.navbar-vertical-content',
797    NAVBAR_VERTICAL_COLLAPSE: 'navbarVerticalCollapse'
798  };
799  var ClassNames = {
800    NAVBAR_GLASS_SHADOW: 'navbar-glass-shadow',
801    SHOW: 'show'
802  };
803  var Events = {
804    SCROLL: 'scroll',
805    SHOW_BS_COLLAPSE: 'show.bs.collapse',
806    HIDDEN_BS_COLLAPSE: 'hidden.bs.collapse'
807  };
808  var navDropShadowFlag = true;
809  var $navbar = document.querySelector(Selector.NAVBAR);
810  var $navbarVertical = document.querySelector(Selector.NAVBAR_VERTICAL);
811  var $navbarVerticalContent = document.querySelector(Selector.NAVBAR_VERTICAL_CONTENT);
812  var $navbarVerticalCollapse = document.getElementById(Selector.NAVBAR_VERTICAL_COLLAPSE);
813  var html = document.documentElement;
814  var breakPoint = utils.getBreakpoint($navbarVertical);
815
816  var setDropShadow = function setDropShadow($elem) {
817    if ($elem.scrollTop > 0 && navDropShadowFlag) {
818      $navbar && $navbar.classList.add(ClassNames.NAVBAR_GLASS_SHADOW);
819    } else {
820      $navbar && $navbar.classList.remove(ClassNames.NAVBAR_GLASS_SHADOW);
821    }
822  };
823
824  window.addEventListener(Events.SCROLL, function () {
825    setDropShadow(html);
826  });
827
828  if ($navbarVerticalContent) {
829    $navbarVerticalContent.addEventListener(Events.SCROLL, function () {
830      if (window.outerWidth < breakPoint) {
831        navDropShadowFlag = true;
832        setDropShadow($navbarVerticalContent);
833      }
834    });
835  }
836
837  if ($navbarVerticalCollapse) {
838    $navbarVerticalCollapse.addEventListener(Events.SHOW_BS_COLLAPSE, function () {
839      if (window.outerWidth < breakPoint) {
840        navDropShadowFlag = false;
841        setDropShadow(html);
842      }
843    });
844  }
845
846  if ($navbarVerticalCollapse) {
847    $navbarVerticalCollapse.addEventListener(Events.HIDDEN_BS_COLLAPSE, function () {
848      if (utils.hasClass($navbarVerticalCollapse, ClassNames.SHOW) && window.outerWidth < breakPoint) {
849        navDropShadowFlag = false;
850      } else {
851        navDropShadowFlag = true;
852      }
853
854      setDropShadow(html);
855    });
856  }
857};
858/* -------------------------------------------------------------------------- */
859
860/*                               Navbar Vertical                              */
861
862/* -------------------------------------------------------------------------- */
863
864
865var handleNavbarVerticalCollapsed = function handleNavbarVerticalCollapsed() {
866  var Selector = {
867    HTML: 'html',
868    NAVBAR_VERTICAL_TOGGLE: '.navbar-vertical-toggle',
869    NAVBAR_VERTICAL_COLLAPSE: '.navbar-vertical .navbar-collapse',
870    ECHART_RESPONSIVE: '[data-echart-responsive]'
871  };
872  var Events = {
873    CLICK: 'click',
874    MOUSE_OVER: 'mouseover',
875    MOUSE_LEAVE: 'mouseleave',
876    NAVBAR_VERTICAL_TOGGLE: 'navbar.vertical.toggle'
877  };
878  var ClassNames = {
879    NAVBAR_VERTICAL_COLLAPSED: 'navbar-vertical-collapsed',
880    NAVBAR_VERTICAL_COLLAPSED_HOVER: 'navbar-vertical-collapsed-hover'
881  };
882  var navbarVerticalToggle = document.querySelector(Selector.NAVBAR_VERTICAL_TOGGLE);
883  var html = document.querySelector(Selector.HTML);
884  var navbarVerticalCollapse = document.querySelector(Selector.NAVBAR_VERTICAL_COLLAPSE);
885
886  if (navbarVerticalToggle) {
887    navbarVerticalToggle.addEventListener(Events.CLICK, function (e) {
888      navbarVerticalToggle.blur();
889      html.classList.toggle(ClassNames.NAVBAR_VERTICAL_COLLAPSED); // Set collapse state on localStorage
890
891      var isNavbarVerticalCollapsed = utils.getItemFromStore('isNavbarVerticalCollapsed');
892      utils.setItemToStore('isNavbarVerticalCollapsed', !isNavbarVerticalCollapsed);
893      var event = new CustomEvent(Events.NAVBAR_VERTICAL_TOGGLE);
894      e.currentTarget.dispatchEvent(event);
895    });
896  }
897
898  if (navbarVerticalCollapse) {
899    navbarVerticalCollapse.addEventListener(Events.MOUSE_OVER, function () {
900      if (utils.hasClass(html, ClassNames.NAVBAR_VERTICAL_COLLAPSED)) {
901        html.classList.add(ClassNames.NAVBAR_VERTICAL_COLLAPSED_HOVER);
902      }
903    });
904    navbarVerticalCollapse.addEventListener(Events.MOUSE_LEAVE, function () {
905      if (utils.hasClass(html, ClassNames.NAVBAR_VERTICAL_COLLAPSED_HOVER)) {
906        html.classList.remove(ClassNames.NAVBAR_VERTICAL_COLLAPSED_HOVER);
907      }
908    });
909  }
910};
911
912/* -------------------------------------------------------------------------- */
913
914/*                                   Popover                                  */
915
916/* -------------------------------------------------------------------------- */
917
918
919var popoverInit = function popoverInit() {
920  var popoverTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]'));
921  popoverTriggerList.map(function (popoverTriggerEl) {
922    return new window.bootstrap.Popover(popoverTriggerEl);
923  });
924};
925/* -------------------------------------------------------------------------- */
926
927/*                         Bootstrap Animated Progress                        */
928
929/* -------------------------------------------------------------------------- */
930
931
932var progressAnimationToggle = function progressAnimationToggle() {
933  var animatedProgress = document.querySelectorAll('[data-progress-animation]');
934  animatedProgress.forEach(function (progress) {
935    progress.addEventListener('click', function (e) {
936      var progressID = utils.getData(e.currentTarget, 'progressAnimation');
937      var $progress = document.getElementById(progressID);
938      $progress.classList.toggle('progress-bar-animated');
939    });
940  });
941};
942/* -------------------------------------------------------------------------- */
943
944/*                                Scroll To Top                               */
945
946/* -------------------------------------------------------------------------- */
947
948
949var scrollToTop = function scrollToTop() {
950  document.querySelectorAll('[data-anchor] > a, [data-scroll-to]').forEach(function (anchor) {
951    anchor.addEventListener('click', function (e) {
952      var _utils$getData2;
953
954      e.preventDefault();
955      var el = e.target;
956      var id = utils.getData(el, 'scroll-to') || el.getAttribute('href');
957      window.scroll({
958        top: (_utils$getData2 = utils.getData(el, 'offset-top')) !== null && _utils$getData2 !== void 0 ? _utils$getData2 : utils.getOffset(document.querySelector(id)).top - 100,
959        left: 0,
960        behavior: 'smooth'
961      });
962      window.location.hash = id;
963    });
964  });
965};
966/* -------------------------------------------------------------------------- */
967
968/*                                 Scrollbars                                 */
969
970/* -------------------------------------------------------------------------- */
971
972
973var scrollbarInit = function scrollbarInit() {
974  Array.prototype.forEach.call(document.querySelectorAll('.scrollbar-overlay'), function (el) {
975    return new window.OverlayScrollbars(el, {
976      scrollbars: {
977        autoHide: 'leave',
978        autoHideDelay: 200
979      }
980    });
981  });
982};
983
984var searchInit = function searchInit() {
985  var Selectors = {
986    SEARCH_DISMISS: '[data-bs-dismiss="search"]',
987    DROPDOWN_TOGGLE: '[data-bs-toggle="dropdown"]',
988    DROPDOWN_MENU: '.dropdown-menu',
989    SEARCH_BOX: '.search-box',
990    SEARCH_INPUT: '.search-input',
991    SEARCH_TOGGLE: '[data-bs-toggle="search"]'
992  };
993  var ClassName = {
994    SHOW: 'show'
995  };
996  var Attribute = {
997    ARIA_EXPANDED: 'aria-expanded'
998  };
999  var Events = {
1000    CLICK: 'click',
1001    FOCUS: 'focus',
1002    SHOW_BS_DROPDOWN: 'show.bs.dropdown',
1003    SEARCH_CLOSE: 'search.close'
1004  };
1005
1006  var hideSearchSuggestion = function hideSearchSuggestion(searchArea) {
1007    var el = searchArea.querySelector(Selectors.SEARCH_TOGGLE);
1008    var dropdownMenu = searchArea.querySelector(Selectors.DROPDOWN_MENU);
1009    el.setAttribute(Attribute.ARIA_EXPANDED, 'false');
1010    el.classList.remove(ClassName.SHOW);
1011    dropdownMenu.classList.remove(ClassName.SHOW);
1012  };
1013
1014  var searchAreas = document.querySelectorAll(Selectors.SEARCH_BOX);
1015
1016  var hideAllSearchAreas = function hideAllSearchAreas() {
1017    searchAreas.forEach(hideSearchSuggestion);
1018  };
1019
1020  searchAreas.forEach(function (searchArea) {
1021    var input = searchArea.querySelector(Selectors.SEARCH_INPUT);
1022    var btnDropdownClose = searchArea.querySelector(Selectors.SEARCH_DISMISS);
1023    var dropdownMenu = searchArea.querySelector(Selectors.DROPDOWN_MENU);
1024
1025    if (input) {
1026      input.addEventListener(Events.FOCUS, function () {
1027        hideAllSearchAreas();
1028        var el = searchArea.querySelector(Selectors.SEARCH_TOGGLE);
1029        el.setAttribute(Attribute.ARIA_EXPANDED, 'true');
1030        el.classList.add(ClassName.SHOW);
1031        dropdownMenu.classList.add(ClassName.SHOW);
1032      });
1033    }
1034
1035    document.addEventListener(Events.CLICK, function (_ref12) {
1036      var target = _ref12.target;
1037      !searchArea.contains(target) && hideSearchSuggestion(searchArea);
1038    });
1039    btnDropdownClose && btnDropdownClose.addEventListener(Events.CLICK, function (e) {
1040      hideSearchSuggestion(searchArea);
1041      input.value = '';
1042      var event = new CustomEvent(Events.SEARCH_CLOSE);
1043      e.currentTarget.dispatchEvent(event);
1044    });
1045  });
1046  document.querySelectorAll(Selectors.DROPDOWN_TOGGLE).forEach(function (dropdown) {
1047    dropdown.addEventListener(Events.SHOW_BS_DROPDOWN, function () {
1048      hideAllSearchAreas();
1049    });
1050  });
1051};
1052
1053/* -------------------------------------------------------------------------- */
1054
1055/*                                    Toast                                   */
1056
1057/* -------------------------------------------------------------------------- */
1058
1059
1060var toastInit = function toastInit() {
1061  var toastElList = [].slice.call(document.querySelectorAll('.toast'));
1062  toastElList.map(function (toastEl) {
1063    return new window.bootstrap.Toast(toastEl);
1064  });
1065  var liveToastBtn = document.getElementById('liveToastBtn');
1066
1067  if (liveToastBtn) {
1068    var liveToast = new window.bootstrap.Toast(document.getElementById('liveToast'));
1069    liveToastBtn.addEventListener('click', function () {
1070      liveToast && liveToast.show();
1071    });
1072  }
1073};
1074/* -------------------------------------------------------------------------- */
1075
1076/*                                   Tooltip                                  */
1077
1078/* -------------------------------------------------------------------------- */
1079
1080
1081var tooltipInit = function tooltipInit() {
1082  var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'));
1083  tooltipTriggerList.map(function (tooltipTriggerEl) {
1084    return new window.bootstrap.Tooltip(tooltipTriggerEl, {
1085      trigger: 'hover'
1086    });
1087  });
1088};
1089/* -------------------------------------------------------------------------- */
1090
1091/*                                 step wizard                                */
1092
1093/* -------------------------------------------------------------------------- */
1094
1095
1096var wizardInit = function wizardInit() {
1097  var wizards = document.querySelectorAll('.theme-wizard');
1098  var tabPillEl = document.querySelectorAll('#pill-tab2 [data-bs-toggle="pill"]');
1099  var tabProgressBar = document.querySelector('.theme-wizard .progress');
1100  wizards.forEach(function (wizard) {
1101    var tabToggleButtonEl = wizard.querySelectorAll('[data-wizard-step]');
1102    var inputEmail = wizard.querySelector('[data-wizard-validate-email]');
1103    var emailPattern = inputEmail.getAttribute('pattern');
1104    var inputPassword = wizard.querySelector('[data-wizard-validate-password]');
1105    var inputConfirmPassword = wizard.querySelector('[data-wizard-validate-confirm-password]');
1106    var form = wizard.querySelector('[novalidate]');
1107    var nextButton = wizard.querySelector('.next button');
1108    var prevButton = wizard.querySelector('.previous button');
1109    var cardFooter = wizard.querySelector('.theme-wizard .card-footer');
1110    var count = 0;
1111
1112    var validatePattern = function validatePattern(pattern, value) {
1113      var regexPattern = new RegExp(pattern);
1114      return regexPattern.test(String(value).toLowerCase());
1115    };
1116
1117    prevButton.classList.add('d-none'); // on button click tab change
1118
1119    nextButton.addEventListener('click', function () {
1120      if ((!(inputEmail.value && validatePattern(emailPattern, inputEmail.value)) || !inputPassword.value || !inputConfirmPassword.value) && form.className.includes('needs-validation')) {
1121        form.classList.add('was-validated');
1122      } else {
1123        count += 1;
1124        var tab = new window.bootstrap.Tab(tabToggleButtonEl[count]);
1125        tab.show();
1126      }
1127    });
1128    prevButton.addEventListener('click', function () {
1129      count -= 1;
1130      var tab = new window.bootstrap.Tab(tabToggleButtonEl[count]);
1131      tab.show();
1132    });
1133
1134    if (tabToggleButtonEl.length) {
1135      tabToggleButtonEl.forEach(function (item, index) {
1136        /* eslint-disable */
1137        item.addEventListener('show.bs.tab', function (e) {
1138          if ((!(inputEmail.value && validatePattern(emailPattern, inputEmail.value)) || !inputPassword.value || !inputConfirmPassword.value) && form.className.includes('needs-validation')) {
1139            e.preventDefault();
1140            form.classList.add('was-validated');
1141            return null;
1142            /* eslint-enable */
1143          }
1144
1145          count = index; // can't go back tab
1146
1147          if (count === tabToggleButtonEl.length - 1) {
1148            tabToggleButtonEl.forEach(function (tab) {
1149              tab.setAttribute('data-bs-toggle', 'modal');
1150              tab.setAttribute('data-bs-target', '#error-modal');
1151            });
1152          } //add done class
1153
1154
1155          for (var i = 0; i < count; i += 1) {
1156            tabToggleButtonEl[i].classList.add('done');
1157          } //remove done class
1158
1159
1160          for (var j = count; j < tabToggleButtonEl.length; j += 1) {
1161            tabToggleButtonEl[j].classList.remove('done');
1162          } // card footer remove at last step
1163
1164
1165          if (count > tabToggleButtonEl.length - 2) {
1166            item.classList.add('done');
1167            cardFooter.classList.add('d-none');
1168          } else {
1169            cardFooter.classList.remove('d-none');
1170          } // prev-button removing
1171
1172
1173          if (count > 0) {
1174            prevButton.classList.remove('d-none');
1175          } else {
1176            prevButton.classList.add('d-none');
1177          }
1178        });
1179      });
1180    }
1181  }); // control wizard progressbar
1182
1183  if (tabPillEl.length) {
1184    var dividedProgressbar = 100 / tabPillEl.length;
1185    tabProgressBar.querySelector('.progress-bar').style.width = "".concat(dividedProgressbar, "%");
1186    tabPillEl.forEach(function (item, index) {
1187      item.addEventListener('show.bs.tab', function () {
1188        tabProgressBar.querySelector('.progress-bar').style.width = "".concat(dividedProgressbar * (index + 1), "%");
1189      });
1190    });
1191  }
1192};
1193
1194var _window3 = window,
1195  dayjs = _window3.dayjs;
1196var currentDay = dayjs && dayjs().format('DD');
1197var currentMonth = dayjs && dayjs().format('MM');
1198var prevMonth = dayjs && dayjs().subtract(1, 'month').format('MM');
1199var nextMonth = dayjs && dayjs().add(1, 'month').format('MM');
1200var currentYear = dayjs && dayjs().format('YYYY');
1201var events = [{
1202  title: 'Boot Camp',
1203  start: "".concat(currentYear, "-").concat(currentMonth, "-01 10:00:00"),
1204  end: "".concat(currentYear, "-").concat(currentMonth, "-03 16:00:00"),
1205  description: "Boston Harbor Now in partnership with the Friends of Christopher Columbus Park, the Wharf District Council and the City of Boston is proud to announce the New Year's Eve Midnight Harbor Fireworks! This beloved nearly 40-year old tradition is made possible by the generous support of local waterfront organizations and businesses and the support of the City of Boston and the Office of Mayor Marty Walsh.",
1206  className: 'bg-soft-success',
1207  location: 'Boston Harborwalk, Christopher Columbus Park, </br> Boston, MA 02109, United States',
1208  organizer: 'Boston Harbor Now'
1209}, {
1210  title: 'Crain\'s New York Business ',
1211  start: "".concat(currentYear, "-").concat(currentMonth, "-11"),
1212  description: "Crain's 2020 Hall of Fame. Sponsored Content By Crain's Content Studio. Crain's Content Studio Presents: New Jersey: Perfect for Business. Crain's Business Forum: Letitia James, New York State Attorney General. Crain's NYC Summit: Examining racial disparities during the pandemic",
1213  className: 'bg-soft-primary'
1214}, {
1215  title: 'Conference',
1216  start: "".concat(currentYear, "-").concat(currentMonth, "-").concat(currentDay),
1217  description: 'The Milken Institute Global Conference gathered the best minds in the world to tackle some of its most stubborn challenges. It was a unique experience in which individuals with the power to enact change connected with experts who are reinventing health, technology, philanthropy, industry, and media.',
1218  className: 'bg-soft-success',
1219  allDay: true,
1220  schedules: [{
1221    title: 'Reporting',
1222    start: "".concat(currentYear, "-").concat(currentMonth, "-").concat(currentDay, " 11:00:00"),
1223    description: 'Time to start the conference and will briefly describe all information about the event.  ',
1224    className: 'event-bg-soft-success'
1225  }, {
1226    title: 'Lunch',
1227    start: "".concat(currentYear, "-").concat(currentMonth, "-").concat(currentDay, " 14:00:00"),
1228    description: 'Lunch facility for all the attendance in the conference.',
1229    className: 'event-bg-soft-success'
1230  }, {
1231    title: 'Contest',
1232    start: "".concat(currentYear, "-").concat(currentMonth, "-").concat(currentDay, " 16:00:00"),
1233    description: 'The starting of the programming contest',
1234    className: 'event-bg-soft-success'
1235  }, {
1236    title: 'Dinner',
1237    start: "".concat(currentYear, "-").concat(currentMonth, "-").concat(currentDay, " 22:00:00"),
1238    description: 'Dinner facility for all the attendance in the conference',
1239    className: 'event-bg-soft-success'
1240  }]
1241}, {
1242  title: "ICT Expo ".concat(currentYear, " - Product Release"),
1243  start: "".concat(currentYear, "-").concat(currentMonth, "-16 10:00:00"),
1244  description: "ICT Expo ".concat(currentYear, " is the largest private-sector exposition aimed at showcasing IT and ITES products and services in Switzerland."),
1245  end: "".concat(currentYear, "-").concat(currentMonth, "-18 16:00:00"),
1246  className: 'bg-soft-warning'
1247}, {
1248  title: 'Meeting',
1249  start: "".concat(currentYear, "-").concat(currentMonth, "-07 10:00:00"),
1250  description: 'Discuss about the upcoming projects in current year and assign all tasks to the individuals'
1251}, {
1252  title: 'Contest',
1253  start: "".concat(currentYear, "-").concat(currentMonth, "-14 10:00:00"),
1254  description: 'PeaceX is an international peace and amity organisation that aims at casting a pall at the striking issues surmounting the development of peoples and is committed to impacting the lives of young people all over the world.'
1255}, {
1256  title: 'Event With Url',
1257  start: "".concat(currentYear, "-").concat(currentMonth, "-23"),
1258  description: 'Sample example of a event with url. Click the event, will redirect to the given link.',
1259  className: 'bg-soft-success',
1260  url: 'http://google.com'
1261}, {
1262  title: 'Competition',
1263  start: "".concat(currentYear, "-").concat(currentMonth, "-26"),
1264  description: 'The Future of Zambia – Top 30 Under 30 is an annual award, ranking scheme, and recognition platform for young Zambian achievers under the age of 30, who are building brands, creating jobs, changing the game, and transforming the country.',
1265  className: 'bg-soft-danger'
1266}, {
1267  title: 'Birthday Party',
1268  start: "".concat(currentYear, "-").concat(nextMonth, "-05"),
1269  description: 'Will celebrate birthday party with my friends and family',
1270  className: 'bg-soft-primary'
1271}, {
1272  title: 'Click for Google',
1273  url: 'http://google.com/',
1274  start: "".concat(currentYear, "-").concat(prevMonth, "-10"),
1275  description: 'Applications are open for the New Media Writing Prize 2020. The New Media Writing Prize (NMWP) showcases exciting and inventive stories and poetry that integrate a variety of formats, platforms, and digital media.',
1276  className: 'bg-soft-primary'
1277}];
1278
1279docReady(handleNavbarVerticalCollapsed);
1280docReady(navbarTopDropShadow);
1281docReady(tooltipInit);
1282docReady(popoverInit);
1283docReady(toastInit);
1284docReady(progressAnimationToggle);
1285docReady(copyLink);
1286docReady(navbarDarkenOnScroll);
1287docReady(scrollToTop);
1288docReady(bulkSelectInit);
1289docReady(navbarComboInit);
1290docReady(wizardInit);
1291docReady(searchInit);
1292docReady(dropdownOnHover);
1293docReady(scrollbarInit);
1294//# sourceMappingURL=theme.js.map

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.