From e716a5569dfa64bee3dda2853b95e37fae573a5e Mon Sep 17 00:00:00 2001 From: djibe Date: Mon, 8 Feb 2021 15:25:28 +0100 Subject: [PATCH] Update Util.js --- .eslintignore | 1 + CHANGELOG.md | 1 + assets/js/src/util.js | 266 +++++++++++++++++++++++++---------------- js/material.js | 245 ++++++++++++++++++++++--------------- js/material.js.map | 2 +- js/material.min.js | 6 +- js/material.min.js.map | 2 +- 7 files changed, 322 insertions(+), 201 deletions(-) diff --git a/.eslintignore b/.eslintignore index 71c3258a8..f0a7883af 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,3 +1,4 @@ **/*.min.js **/addons/* js/* +assets/js/src/util.js diff --git a/CHANGELOG.md b/CHANGELOG.md index 21fc592b2..a1f1fb010 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ - **New** Upgraded to Bootstrap 4.6. https://blog.getbootstrap.com/2021/01/19/bootstrap-4.6.0/ - **Updated** docs for BS 4.6. +- **Updated** JS dependencies from BS 4.6. - **Fixed** Removed link:hover underline. - **Fixed** `card-actions` ripple on buttons. - **Fixed** `list-group` background-color. diff --git a/assets/js/src/util.js b/assets/js/src/util.js index c3bb7f18c..c8fa61f77 100644 --- a/assets/js/src/util.js +++ b/assets/js/src/util.js @@ -2,133 +2,195 @@ import $ from 'jquery' /* * Global util js - * Based on Bootstrap's (v4.1.X) `util.js` + * Based on Bootstrap's (v4.6.0) `util.js` */ -const Util = (($) => { - const MAX_UID = 1000000 - const MILLISECONDS_MULTIPLIER = 1000 - const TRANSITION_END = 'transitionend' - - function getSpecialTransitionEndEvent() { - return { - bindType : TRANSITION_END, - delegateType : TRANSITION_END, - handle(event) { - if ($(event.target).is(this)) { - return event.handleObj.handler.apply(this, arguments) // eslint-disable-line prefer-rest-params - } - return undefined // eslint-disable-line no-undefined +/** + * ------------------------------------------------------------------------ + * Private TransitionEnd Helpers + * ------------------------------------------------------------------------ + */ + +const TRANSITION_END = 'transitionend' +const MAX_UID = 1000000 +const MILLISECONDS_MULTIPLIER = 1000 + +// Shoutout AngusCroll (https://goo.gl/pxwQGp) +function toType(obj) { + if (obj === null || typeof obj === 'undefined') { + return `${obj}` + } + + return {}.toString.call(obj).match(/\s([a-z]+)/i)[1].toLowerCase() +} + +function getSpecialTransitionEndEvent() { + return { + bindType: TRANSITION_END, + delegateType: TRANSITION_END, + handle(event) { + if ($(event.target).is(this)) { + return event.handleObj.handler.apply(this, arguments) // eslint-disable-line prefer-rest-params } + + return undefined } } +} - function setTransitionEndSupport() { - $.fn.emulateTransitionEnd = transitionEndEmulator - $.event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent() - } +function transitionEndEmulator(duration) { + let called = false - function toType(obj) { - return {}.toString.call(obj).match(/\s([a-z]+)/i)[1].toLowerCase() - } + $(this).one(Util.TRANSITION_END, () => { + called = true + }) - function transitionEndEmulator(duration) { - let called = false + setTimeout(() => { + if (!called) { + Util.triggerTransitionEnd(this) + } + }, duration) - $(this).one(Util.TRANSITION_END, () => { - called = true - }) + return this +} - setTimeout(() => { - if (!called) { - Util.triggerTransitionEnd(this) - } - }, duration) +function setTransitionEndSupport() { + $.fn.emulateTransitionEnd = transitionEndEmulator + $.event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent() +} - return this - } +/** + * -------------------------------------------------------------------------- + * Public Util Api + * -------------------------------------------------------------------------- + */ - const Util = { +const Util = { + TRANSITION_END: 'bsTransitionEnd', - TRANSITION_END: 'mdTransitionEnd', + getUID(prefix) { + do { + prefix += ~~(Math.random() * MAX_UID) // "~~" acts like a faster Math.floor() here + } while (document.getElementById(prefix)) - getSelectorFromElement(element) { - let selector = element.getAttribute('data-target') + return prefix + }, - if (!selector || selector === '#') { - selector = element.getAttribute('href') || '' - } + getSelectorFromElement(element) { + let selector = element.getAttribute('data-target') - try { - const $selector = $(document).find(selector) + if (!selector || selector === '#') { + const hrefAttr = element.getAttribute('href') + selector = hrefAttr && hrefAttr !== '#' ? hrefAttr.trim() : '' + } - return $selector.length > 0 ? selector : null - } catch (err) { - return null - } - }, + try { + return document.querySelector(selector) ? selector : null + } catch (_) { + return null + } + }, - getTransitionDurationFromElement(element) { - if (!element) { - return 0 - } + getTransitionDurationFromElement(element) { + if (!element) { + return 0 + } - let transitionDuration = $(element).css('transition-duration') + // Get transition-duration of the element + let transitionDuration = $(element).css('transition-duration') + let transitionDelay = $(element).css('transition-delay') - if (!transitionDuration) { - return 0 - } + const floatTransitionDuration = parseFloat(transitionDuration) + const floatTransitionDelay = parseFloat(transitionDelay) - transitionDuration = transitionDuration.split(',')[0] - - return parseFloat(transitionDuration) * MILLISECONDS_MULTIPLIER - }, - - getUID(prefix) { - do { - // eslint-disable-next-line no-bitwise - prefix += ~~(Math.random() * MAX_UID) - } while (document.getElementById(prefix)) - return prefix - }, - - isElement(obj) { - return (obj[0] || obj).nodeType - }, - - reflow(element) { - return element.offsetHeight - }, - - supportsTransitionEnd() { - return Boolean(TRANSITION_END) - }, - - triggerTransitionEnd(element) { - $(element).trigger(TRANSITION_END) - }, - - typeCheckConfig(componentName, config, configTypes) { - for (const property in configTypes) { - if (Object.prototype.hasOwnProperty.call(configTypes, property)) { - const expectedTypes = configTypes[property] - const value = config[property] - const valueType = value && Util.isElement(value) ? 'element' : toType(value) - - if (!new RegExp(expectedTypes).test(valueType)) { - throw new Error( - `${componentName.toUpperCase()}: ` + - `Option "${property}" provided type "${valueType}" ` + - `but expected type "${expectedTypes}".`) - } + // Return 0 if element or transition duration is not found + if (!floatTransitionDuration && !floatTransitionDelay) { + return 0 + } + + // If multiple durations are defined, take the first + transitionDuration = transitionDuration.split(',')[0] + transitionDelay = transitionDelay.split(',')[0] + + return (parseFloat(transitionDuration) + parseFloat(transitionDelay)) * MILLISECONDS_MULTIPLIER + }, + + reflow(element) { + return element.offsetHeight + }, + + triggerTransitionEnd(element) { + $(element).trigger(TRANSITION_END) + }, + + supportsTransitionEnd() { + return Boolean(TRANSITION_END) + }, + + isElement(obj) { + return (obj[0] || obj).nodeType + }, + + typeCheckConfig(componentName, config, configTypes) { + for (const property in configTypes) { + if (Object.prototype.hasOwnProperty.call(configTypes, property)) { + const expectedTypes = configTypes[property] + const value = config[property] + const valueType = value && Util.isElement(value) ? + 'element' : toType(value) + + if (!new RegExp(expectedTypes).test(valueType)) { + throw new Error( + `${componentName.toUpperCase()}: ` + + `Option "${property}" provided type "${valueType}" ` + + `but expected type "${expectedTypes}".`) } } } - } + }, - setTransitionEndSupport() + findShadowRoot(element) { + if (!document.documentElement.attachShadow) { + return null + } + + // Can find the shadow root otherwise it'll return the document + if (typeof element.getRootNode === 'function') { + const root = element.getRootNode() + return root instanceof ShadowRoot ? root : null + } + + if (element instanceof ShadowRoot) { + return element + } + + // when we don't find a shadow root + if (!element.parentNode) { + return null + } + + return Util.findShadowRoot(element.parentNode) + }, + + jQueryDetection() { + if (typeof $ === 'undefined') { + throw new TypeError('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.') + } + + const version = $.fn.jquery.split(' ')[0].split('.') + const minMajor = 1 + const ltMajor = 2 + const minMinor = 9 + const minPatch = 1 + const maxMajor = 4 + + if (version[0] < ltMajor && version[1] < minMinor || version[0] === minMajor && version[1] === minMinor && version[2] < minPatch || version[0] >= maxMajor) { + throw new Error('Bootstrap\'s JavaScript requires at least jQuery v1.9.1 but less than v4.0.0') + } + } +} - return Util -})($) +Util.jQueryDetection() +setTransitionEndSupport() export default Util diff --git a/js/material.js b/js/material.js index 97a536931..5e1001b66 100644 --- a/js/material.js +++ b/js/material.js @@ -208,119 +208,176 @@ /* * Global util js - * Based on Bootstrap's (v4.1.X) `util.js` + * Based on Bootstrap's (v4.6.0) `util.js` */ - var Util = function ($) { - var MAX_UID = 1000000; - var MILLISECONDS_MULTIPLIER = 1000; - var TRANSITION_END = 'transitionend'; + /** + * ------------------------------------------------------------------------ + * Private TransitionEnd Helpers + * ------------------------------------------------------------------------ + */ - function getSpecialTransitionEndEvent() { - return { - bindType: TRANSITION_END, - delegateType: TRANSITION_END, - handle: function handle(event) { - if ($(event.target).is(this)) { - return event.handleObj.handler.apply(this, arguments); // eslint-disable-line prefer-rest-params - } + var TRANSITION_END = 'transitionend'; + var MAX_UID = 1000000; + var MILLISECONDS_MULTIPLIER = 1000; // Shoutout AngusCroll (https://goo.gl/pxwQGp) - return undefined; // eslint-disable-line no-undefined - } - }; + function toType(obj) { + if (obj === null || typeof obj === 'undefined') { + return "" + obj; } - function setTransitionEndSupport() { - $.fn.emulateTransitionEnd = transitionEndEmulator; - $.event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent(); - } + return {}.toString.call(obj).match(/\s([a-z]+)/i)[1].toLowerCase(); + } - function toType(obj) { - return {}.toString.call(obj).match(/\s([a-z]+)/i)[1].toLowerCase(); - } + function getSpecialTransitionEndEvent() { + return { + bindType: TRANSITION_END, + delegateType: TRANSITION_END, + handle: function handle(event) { + if ($__default['default'](event.target).is(this)) { + return event.handleObj.handler.apply(this, arguments); // eslint-disable-line prefer-rest-params + } - function transitionEndEmulator(duration) { - var _this = this; + return undefined; + } + }; + } - var called = false; - $(this).one(Util.TRANSITION_END, function () { - called = true; - }); - setTimeout(function () { - if (!called) { - Util.triggerTransitionEnd(_this); - } - }, duration); - return this; - } + function transitionEndEmulator(duration) { + var _this = this; - var Util = { - TRANSITION_END: 'mdTransitionEnd', - getSelectorFromElement: function getSelectorFromElement(element) { - var selector = element.getAttribute('data-target'); + var called = false; + $__default['default'](this).one(Util.TRANSITION_END, function () { + called = true; + }); + setTimeout(function () { + if (!called) { + Util.triggerTransitionEnd(_this); + } + }, duration); + return this; + } - if (!selector || selector === '#') { - selector = element.getAttribute('href') || ''; - } + function setTransitionEndSupport() { + $__default['default'].fn.emulateTransitionEnd = transitionEndEmulator; + $__default['default'].event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent(); + } + /** + * -------------------------------------------------------------------------- + * Public Util Api + * -------------------------------------------------------------------------- + */ - try { - var $selector = $(document).find(selector); - return $selector.length > 0 ? selector : null; - } catch (err) { - return null; - } - }, - getTransitionDurationFromElement: function getTransitionDurationFromElement(element) { - if (!element) { - return 0; - } - var transitionDuration = $(element).css('transition-duration'); + var Util = { + TRANSITION_END: 'bsTransitionEnd', + getUID: function getUID(prefix) { + do { + prefix += ~~(Math.random() * MAX_UID); // "~~" acts like a faster Math.floor() here + } while (document.getElementById(prefix)); - if (!transitionDuration) { - return 0; - } + return prefix; + }, + getSelectorFromElement: function getSelectorFromElement(element) { + var selector = element.getAttribute('data-target'); - transitionDuration = transitionDuration.split(',')[0]; - return parseFloat(transitionDuration) * MILLISECONDS_MULTIPLIER; - }, - getUID: function getUID(prefix) { - do { - // eslint-disable-next-line no-bitwise - prefix += ~~(Math.random() * MAX_UID); - } while (document.getElementById(prefix)); + if (!selector || selector === '#') { + var hrefAttr = element.getAttribute('href'); + selector = hrefAttr && hrefAttr !== '#' ? hrefAttr.trim() : ''; + } - return prefix; - }, - isElement: function isElement(obj) { - return (obj[0] || obj).nodeType; - }, - reflow: function reflow(element) { - return element.offsetHeight; - }, - supportsTransitionEnd: function supportsTransitionEnd() { - return Boolean(TRANSITION_END); - }, - triggerTransitionEnd: function triggerTransitionEnd(element) { - $(element).trigger(TRANSITION_END); - }, - typeCheckConfig: function typeCheckConfig(componentName, config, configTypes) { - for (var property in configTypes) { - if (Object.prototype.hasOwnProperty.call(configTypes, property)) { - var expectedTypes = configTypes[property]; - var value = config[property]; - var valueType = value && Util.isElement(value) ? 'element' : toType(value); - - if (!new RegExp(expectedTypes).test(valueType)) { - throw new Error(componentName.toUpperCase() + ": " + ("Option \"" + property + "\" provided type \"" + valueType + "\" ") + ("but expected type \"" + expectedTypes + "\".")); - } + try { + return document.querySelector(selector) ? selector : null; + } catch (_) { + return null; + } + }, + getTransitionDurationFromElement: function getTransitionDurationFromElement(element) { + if (!element) { + return 0; + } // Get transition-duration of the element + + + var transitionDuration = $__default['default'](element).css('transition-duration'); + var transitionDelay = $__default['default'](element).css('transition-delay'); + var floatTransitionDuration = parseFloat(transitionDuration); + var floatTransitionDelay = parseFloat(transitionDelay); // Return 0 if element or transition duration is not found + + if (!floatTransitionDuration && !floatTransitionDelay) { + return 0; + } // If multiple durations are defined, take the first + + + transitionDuration = transitionDuration.split(',')[0]; + transitionDelay = transitionDelay.split(',')[0]; + return (parseFloat(transitionDuration) + parseFloat(transitionDelay)) * MILLISECONDS_MULTIPLIER; + }, + reflow: function reflow(element) { + return element.offsetHeight; + }, + triggerTransitionEnd: function triggerTransitionEnd(element) { + $__default['default'](element).trigger(TRANSITION_END); + }, + supportsTransitionEnd: function supportsTransitionEnd() { + return Boolean(TRANSITION_END); + }, + isElement: function isElement(obj) { + return (obj[0] || obj).nodeType; + }, + typeCheckConfig: function typeCheckConfig(componentName, config, configTypes) { + for (var property in configTypes) { + if (Object.prototype.hasOwnProperty.call(configTypes, property)) { + var expectedTypes = configTypes[property]; + var value = config[property]; + var valueType = value && Util.isElement(value) ? 'element' : toType(value); + + if (!new RegExp(expectedTypes).test(valueType)) { + throw new Error(componentName.toUpperCase() + ": " + ("Option \"" + property + "\" provided type \"" + valueType + "\" ") + ("but expected type \"" + expectedTypes + "\".")); } } } - }; - setTransitionEndSupport(); - return Util; - }($__default['default']); + }, + findShadowRoot: function findShadowRoot(element) { + if (!document.documentElement.attachShadow) { + return null; + } // Can find the shadow root otherwise it'll return the document + + + if (typeof element.getRootNode === 'function') { + var root = element.getRootNode(); + return root instanceof ShadowRoot ? root : null; + } + + if (element instanceof ShadowRoot) { + return element; + } // when we don't find a shadow root + + + if (!element.parentNode) { + return null; + } + + return Util.findShadowRoot(element.parentNode); + }, + jQueryDetection: function jQueryDetection() { + if (typeof $__default['default'] === 'undefined') { + throw new TypeError('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.'); + } + + var version = $__default['default'].fn.jquery.split(' ')[0].split('.'); + var minMajor = 1; + var ltMajor = 2; + var minMinor = 9; + var minPatch = 1; + var maxMajor = 4; + + if (version[0] < ltMajor && version[1] < minMinor || version[0] === minMajor && version[1] === minMinor && version[2] < minPatch || version[0] >= maxMajor) { + throw new Error('Bootstrap\'s JavaScript requires at least jQuery v1.9.1 but less than v4.0.0'); + } + } + }; + Util.jQueryDetection(); + setTransitionEndSupport(); /* * Navigation drawer plguin diff --git a/js/material.js.map b/js/material.js.map index 68cf3b833..2e956a919 100644 --- a/js/material.js.map +++ b/js/material.js.map @@ -1 +1 @@ -{"version":3,"file":"material.js","sources":["../assets/js/src/expansion-panel.js","../assets/js/src/floating-label.js","../assets/js/src/util.js","../assets/js/src/nav-drawer.js","../node_modules/pickadate/lib/picker.js","../node_modules/pickadate/lib/picker.date.js","../assets/js/src/pickdate.js","../node_modules/ripplet.js/es/ripplet.js","../assets/js/src/ripplet.js","../assets/js/src/tab-switch.js"],"sourcesContent":["import $ from 'jquery'\n\n/*\n * Expansion panel plugins expands a collapsed panel in full upon selecting\n */\n\nconst ExpansionPanel = (($) => {\n // constants >>>\n const DATA_KEY = 'bs.collapse'\n const EVENT_KEY = `.${DATA_KEY}`\n\n const ClassName = {\n SHOW : 'show',\n SHOW_PREDECESSOR : 'show-predecessor'\n }\n\n const Event = {\n HIDE : `hide${EVENT_KEY}`,\n SHOW : `show${EVENT_KEY}`\n }\n\n const Selector = {\n PANEL : '.expansion-panel',\n PANEL_BODY : '.expansion-panel .collapse'\n }\n // <<< constants\n\n $(document).on(`${Event.HIDE}`, Selector.PANEL_BODY, function () {\n const target = $(this).closest(Selector.PANEL)\n\n target.removeClass(ClassName.SHOW)\n\n const predecessor = target.prev(Selector.PANEL)\n\n if (predecessor.length) {\n predecessor.removeClass(ClassName.SHOW_PREDECESSOR)\n }\n }).on(`${Event.SHOW}`, Selector.PANEL_BODY, function () {\n const target = $(this).closest(Selector.PANEL)\n\n target.addClass(ClassName.SHOW)\n\n const predecessor = target.prev(Selector.PANEL)\n\n if (predecessor.length) {\n predecessor.addClass(ClassName.SHOW_PREDECESSOR)\n }\n })\n})($)\n\nexport default ExpansionPanel\n","import $ from 'jquery'\n\n/*\n * Floating label plugin moves inline label to float above the field\n * when a user engages with the assosciated text input field\n */\n\nconst FloatingLabel = (($) => {\n // constants >>>\n const DATA_KEY = 'md.floatinglabel'\n const EVENT_KEY = `.${DATA_KEY}`\n const NAME = 'floatinglabel'\n const NO_CONFLICT = $.fn[NAME]\n\n const ClassName = {\n IS_FOCUSED : 'is-focused',\n HAS_VALUE : 'has-value'\n }\n\n const Event = {\n CHANGE : `change${EVENT_KEY}`,\n FOCUSIN : `focusin${EVENT_KEY}`,\n FOCUSOUT : `focusout${EVENT_KEY}`\n }\n\n const Selector = {\n DATA_PARENT : '.floating-label',\n DATA_TOGGLE : '.floating-label .custom-select, .floating-label .form-control'\n }\n // <<< constants\n\n class FloatingLabel {\n constructor(element) {\n this._element = element\n this._parent = $(element).closest(Selector.DATA_PARENT)[0]\n }\n\n change() {\n if ($(this._element).val() ||\n $(this._element).is('select') &&\n $('option:first-child', $(this._element)).html().replace(' ', '') !== '') {\n $(this._parent).addClass(ClassName.HAS_VALUE)\n } else {\n $(this._parent).removeClass(ClassName.HAS_VALUE)\n }\n }\n\n focusin() {\n $(this._parent).addClass(ClassName.IS_FOCUSED)\n }\n\n focusout() {\n $(this._parent).removeClass(ClassName.IS_FOCUSED)\n }\n\n static _jQueryInterface(event) {\n return this.each(function () {\n const _event = event ? event : 'change'\n\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = new FloatingLabel(this)\n\n $(this).data(DATA_KEY, data)\n }\n\n if (typeof _event === 'string') {\n if (typeof data[_event] === 'undefined') {\n throw new Error(`No method named \"${_event}\"`)\n }\n\n data[_event]()\n }\n })\n }\n }\n\n $(document).on(`${Event.CHANGE} ${Event.FOCUSIN} ${Event.FOCUSOUT}`, Selector.DATA_TOGGLE, function (event) {\n FloatingLabel._jQueryInterface.call($(this), event.type)\n })\n\n $.fn[NAME] = FloatingLabel._jQueryInterface\n $.fn[NAME].Constructor = FloatingLabel\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = NO_CONFLICT\n\n return FloatingLabel._jQueryInterface\n }\n\n return FloatingLabel\n})($)\n\nexport default FloatingLabel\n","import $ from 'jquery'\n\n/*\n * Global util js\n * Based on Bootstrap's (v4.1.X) `util.js`\n */\n\nconst Util = (($) => {\n const MAX_UID = 1000000\n const MILLISECONDS_MULTIPLIER = 1000\n const TRANSITION_END = 'transitionend'\n\n function getSpecialTransitionEndEvent() {\n return {\n bindType : TRANSITION_END,\n delegateType : TRANSITION_END,\n handle(event) {\n if ($(event.target).is(this)) {\n return event.handleObj.handler.apply(this, arguments) // eslint-disable-line prefer-rest-params\n }\n return undefined // eslint-disable-line no-undefined\n }\n }\n }\n\n function setTransitionEndSupport() {\n $.fn.emulateTransitionEnd = transitionEndEmulator\n $.event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent()\n }\n\n function toType(obj) {\n return {}.toString.call(obj).match(/\\s([a-z]+)/i)[1].toLowerCase()\n }\n\n function transitionEndEmulator(duration) {\n let called = false\n\n $(this).one(Util.TRANSITION_END, () => {\n called = true\n })\n\n setTimeout(() => {\n if (!called) {\n Util.triggerTransitionEnd(this)\n }\n }, duration)\n\n return this\n }\n\n const Util = {\n\n TRANSITION_END: 'mdTransitionEnd',\n\n getSelectorFromElement(element) {\n let selector = element.getAttribute('data-target')\n\n if (!selector || selector === '#') {\n selector = element.getAttribute('href') || ''\n }\n\n try {\n const $selector = $(document).find(selector)\n\n return $selector.length > 0 ? selector : null\n } catch (err) {\n return null\n }\n },\n\n getTransitionDurationFromElement(element) {\n if (!element) {\n return 0\n }\n\n let transitionDuration = $(element).css('transition-duration')\n\n if (!transitionDuration) {\n return 0\n }\n\n transitionDuration = transitionDuration.split(',')[0]\n\n return parseFloat(transitionDuration) * MILLISECONDS_MULTIPLIER\n },\n\n getUID(prefix) {\n do {\n // eslint-disable-next-line no-bitwise\n prefix += ~~(Math.random() * MAX_UID)\n } while (document.getElementById(prefix))\n return prefix\n },\n\n isElement(obj) {\n return (obj[0] || obj).nodeType\n },\n\n reflow(element) {\n return element.offsetHeight\n },\n\n supportsTransitionEnd() {\n return Boolean(TRANSITION_END)\n },\n\n triggerTransitionEnd(element) {\n $(element).trigger(TRANSITION_END)\n },\n\n typeCheckConfig(componentName, config, configTypes) {\n for (const property in configTypes) {\n if (Object.prototype.hasOwnProperty.call(configTypes, property)) {\n const expectedTypes = configTypes[property]\n const value = config[property]\n const valueType = value && Util.isElement(value) ? 'element' : toType(value)\n\n if (!new RegExp(expectedTypes).test(valueType)) {\n throw new Error(\n `${componentName.toUpperCase()}: ` +\n `Option \"${property}\" provided type \"${valueType}\" ` +\n `but expected type \"${expectedTypes}\".`)\n }\n }\n }\n }\n }\n\n setTransitionEndSupport()\n\n return Util\n})($)\n\nexport default Util\n","import $ from 'jquery'\nimport Util from './util'\n\n/*\n * Navigation drawer plguin\n * Based on Bootstrap's (v4.1.X) `modal.js`\n */\n\nconst NavDrawer = (($) => {\n // constants >>>\n const DATA_API_KEY = '.data-api'\n const DATA_KEY = 'md.navdrawer'\n const ESCAPE_KEYCODE = 27\n const EVENT_KEY = `.${DATA_KEY}`\n const NAME = 'navdrawer'\n const NO_CONFLICT = $.fn[NAME]\n\n const ClassName = {\n BACKDROP : 'navdrawer-backdrop',\n OPEN : 'navdrawer-open',\n SHOW : 'show'\n }\n\n const Default = {\n breakpoint : '',\n keyboard : true,\n show : true,\n type : 'default'\n }\n\n const DefaultType = {\n keyboard : 'boolean',\n show : 'boolean',\n type : 'string'\n }\n\n const Event = {\n CLICK_DATA_API : `click${EVENT_KEY}${DATA_API_KEY}`,\n CLICK_DISMISS : `click.dismiss${EVENT_KEY}`,\n FOCUSIN : `focusin${EVENT_KEY}`,\n HIDDEN : `hidden${EVENT_KEY}`,\n HIDE : `hide${EVENT_KEY}`,\n KEYDOWN_DISMISS : `keydown.dismiss${EVENT_KEY}`,\n MOUSEDOWN_DISMISS : `mousedown.dismiss${EVENT_KEY}`,\n MOUSEUP_DISMISS : `mouseup.dismiss${EVENT_KEY}`,\n SHOW : `show${EVENT_KEY}`,\n SHOWN : `shown${EVENT_KEY}`\n }\n\n const Selector = {\n CONTENT : '.navdrawer-content',\n DATA_DISMISS : '[data-dismiss=\"navdrawer\"]',\n DATA_TOGGLE : '[data-toggle=\"navdrawer\"]'\n }\n // <<< constants\n\n class NavDrawer {\n constructor(element, config) {\n this._backdrop = null\n this._config = this._getConfig(config)\n this._content = $(element).find(Selector.CONTENT)[0]\n this._element = element\n this._ignoreBackdropClick = false\n this._isShown = false\n this._typeBreakpoint = this._config.breakpoint === '' ? '' : `-${this._config.breakpoint}`\n }\n\n hide(event) {\n if (event) {\n event.preventDefault()\n }\n\n if (this._isTransitioning || !this._isShown) {\n return\n }\n\n const hideEvent = $.Event(Event.HIDE)\n\n $(this._element).trigger(hideEvent)\n\n if (!this._isShown || hideEvent.isDefaultPrevented()) {\n return\n }\n\n this._isShown = false\n\n this._isTransitioning = true\n\n this._setEscapeEvent()\n\n $(document).off(Event.FOCUSIN)\n\n $(document.body).removeClass(`${ClassName.OPEN}-${this._config.type}${this._typeBreakpoint}`)\n\n $(this._element).removeClass(ClassName.SHOW)\n\n $(this._element).off(Event.CLICK_DISMISS)\n\n $(this._content).off(Event.MOUSEDOWN_DISMISS)\n\n const transitionDuration = Util.getTransitionDurationFromElement(this._content)\n\n $(this._content)\n .one(Util.TRANSITION_END, (event) => this._hideNavdrawer(event))\n .emulateTransitionEnd(transitionDuration)\n\n this._showBackdrop()\n }\n\n show(relatedTarget) {\n if (this._isTransitioning || this._isShown) {\n return\n }\n\n this._isTransitioning = true\n\n const showEvent = $.Event(Event.SHOW, {\n relatedTarget\n })\n\n $(this._element).trigger(showEvent)\n\n if (this._isShown || showEvent.isDefaultPrevented()) {\n return\n }\n\n this._isShown = true\n\n this._setEscapeEvent()\n\n $(this._element).addClass(`${NAME}-${this._config.type}${this._typeBreakpoint}`)\n\n $(this._element).on(Event.CLICK_DISMISS, Selector.DATA_DISMISS, (event) => this.hide(event))\n\n $(this._content).on(Event.MOUSEDOWN_DISMISS, () => {\n $(this._element).one(Event.MOUSEUP_DISMISS, (event) => {\n if ($(event.target).is(this._element)) {\n this._ignoreBackdropClick = true\n }\n })\n })\n\n this._showBackdrop()\n this._showElement(relatedTarget)\n }\n\n toggle(relatedTarget) {\n return this._isShown ? this.hide() : this.show(relatedTarget)\n }\n\n _enforceFocus() {\n $(document)\n .off(Event.FOCUSIN)\n .on(Event.FOCUSIN, (event) => {\n if (document !== event.target &&\n this._element !== event.target &&\n $(this._element).has(event.target).length === 0) {\n this._element.focus()\n }\n })\n }\n\n _getConfig(config) {\n config = {\n ...Default,\n ...config\n }\n\n Util.typeCheckConfig(NAME, config, DefaultType)\n\n return config\n }\n\n _hideNavdrawer() {\n this._element.style.display = 'none'\n\n this._element.setAttribute('aria-hidden', true)\n\n this._isTransitioning = false\n\n $(this._element).trigger(Event.HIDDEN)\n }\n\n _removeBackdrop() {\n if (this._backdrop) {\n $(this._backdrop).remove()\n this._backdrop = null\n }\n }\n\n _setEscapeEvent() {\n if (this._isShown && this._config.keyboard) {\n $(this._element).on(Event.KEYDOWN_DISMISS, (event) => {\n if (event.which === ESCAPE_KEYCODE) {\n event.preventDefault()\n\n this.hide()\n }\n })\n } else if (!this._isShown) {\n $(this._element).off(Event.KEYDOWN_DISMISS)\n }\n }\n\n _showBackdrop() {\n if (this._isShown) {\n this._backdrop = document.createElement('div')\n\n $(this._backdrop)\n .addClass(ClassName.BACKDROP)\n .addClass(`${ClassName.BACKDROP}-${this._config.type}${this._typeBreakpoint}`)\n .appendTo(document.body)\n\n $(this._element).on(Event.CLICK_DISMISS, (event) => {\n if (this._ignoreBackdropClick) {\n this._ignoreBackdropClick = false\n\n return\n }\n\n if (event.target !== event.currentTarget) {\n return\n }\n\n this.hide()\n })\n\n Util.reflow(this._backdrop)\n\n $(this._backdrop).addClass(ClassName.SHOW)\n } else if (!this._isShown && this._backdrop) {\n $(this._backdrop).removeClass(ClassName.SHOW)\n\n this._removeBackdrop()\n }\n }\n\n _showElement(relatedTarget) {\n if (!this._element.parentNode ||\n this._element.parentNode.nodeType !== Node.ELEMENT_NODE) {\n document.body.appendChild(this._element)\n }\n\n this._element.style.display = 'block'\n\n this._element.removeAttribute('aria-hidden')\n\n Util.reflow(this._element)\n\n $(document.body).addClass(`${ClassName.OPEN}-${this._config.type}${this._typeBreakpoint}`)\n\n $(this._element).addClass(ClassName.SHOW)\n\n this._enforceFocus()\n\n const shownEvent = $.Event(Event.SHOWN, {\n relatedTarget\n })\n\n const transitionComplete = () => {\n this._element.focus()\n\n this._isTransitioning = false\n\n $(this._element).trigger(shownEvent)\n }\n\n const transitionDuration = Util.getTransitionDurationFromElement(this._content)\n\n $(this._content)\n .one(Util.TRANSITION_END, transitionComplete)\n .emulateTransitionEnd(transitionDuration)\n }\n\n static get Default() {\n return Default\n }\n\n static _jQueryInterface(config, relatedTarget) {\n return this.each(function () {\n const _config = {\n ...Default,\n ...$(this).data(),\n ...typeof config === 'object' && config ? config : {}\n }\n\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = new NavDrawer(this, _config)\n\n $(this).data(DATA_KEY, data)\n }\n\n if (typeof config === 'string') {\n if (typeof data[config] === 'undefined') {\n throw new TypeError(`No method named \"${config}\"`)\n }\n\n data[config](relatedTarget)\n } else if (_config.show) {\n data.show(relatedTarget)\n }\n })\n }\n }\n\n $(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {\n const selector = Util.getSelectorFromElement(this)\n\n let target\n\n if (selector) {\n target = $(selector)[0]\n }\n\n const config = $(target).data(DATA_KEY) ? 'toggle' : {\n ...$(target).data(),\n ...$(this).data()\n }\n\n if (this.tagName === 'A' || this.tagName === 'AREA') {\n event.preventDefault()\n }\n\n const $target = $(target).one(Event.SHOW, (showEvent) => {\n if (showEvent.isDefaultPrevented()) {\n return\n }\n\n $target.one(Event.HIDDEN, () => {\n if ($(this).is(':visible')) {\n this.focus()\n }\n })\n })\n\n NavDrawer._jQueryInterface.call($(target), config, this)\n })\n\n $.fn[NAME] = NavDrawer._jQueryInterface\n $.fn[NAME].Constructor = NavDrawer\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = NO_CONFLICT\n\n return NavDrawer._jQueryInterface\n }\n\n return NavDrawer\n})($)\n\nexport default NavDrawer\n","/*!\n * pickadate.js v3.6.4, 2019/05/25\n * By Amsul, http://amsul.ca\n * Hosted on http://amsul.github.io/pickadate.js\n * Licensed under MIT\n */\n\n(function ( factory ) {\n\n // AMD.\n if ( typeof define == 'function' && define.amd )\n define( 'picker', ['jquery'], factory )\n\n // Node.js/browserify.\n else if ( typeof exports == 'object' )\n module.exports = factory( require('jquery') )\n\n // Browser globals.\n else if ( typeof window == 'object' )\n window.Picker = factory( jQuery )\n \n else this.Picker = factory( jQuery )\n\n}(function( $ ) {\n\nvar $window = $( window )\nvar $document = $( document )\nvar $html = $( document.documentElement )\nvar supportsTransitions = document.documentElement.style.transition != null\n\n\n/**\n * The picker constructor that creates a blank picker.\n */\nfunction PickerConstructor( ELEMENT, NAME, COMPONENT, OPTIONS ) {\n\n // If there’s no element, return the picker constructor.\n if ( !ELEMENT ) return PickerConstructor\n\n\n var\n IS_DEFAULT_THEME = false,\n\n\n // The state of the picker.\n STATE = {\n id: ELEMENT.id || 'P' + Math.abs( ~~(Math.random() * new Date()) ),\n handlingOpen: false,\n },\n\n\n // Merge the defaults and options passed.\n SETTINGS = COMPONENT ? $.extend( true, {}, COMPONENT.defaults, OPTIONS ) : OPTIONS || {},\n\n\n // Merge the default classes with the settings classes.\n CLASSES = $.extend( {}, PickerConstructor.klasses(), SETTINGS.klass ),\n\n\n // The element node wrapper into a jQuery object.\n $ELEMENT = $( ELEMENT ),\n\n\n // Pseudo picker constructor.\n PickerInstance = function() {\n return this.start()\n },\n\n\n // The picker prototype.\n P = PickerInstance.prototype = {\n\n constructor: PickerInstance,\n\n $node: $ELEMENT,\n\n\n /**\n * Initialize everything\n */\n start: function() {\n\n // If it’s already started, do nothing.\n if ( STATE && STATE.start ) return P\n\n\n // Update the picker states.\n STATE.methods = {}\n STATE.start = true\n STATE.open = false\n STATE.type = ELEMENT.type\n\n\n // Confirm focus state, convert into text input to remove UA stylings,\n // and set as readonly to prevent keyboard popup.\n ELEMENT.autofocus = ELEMENT == getActiveElement()\n ELEMENT.readOnly = !SETTINGS.editable\n ELEMENT.id = ELEMENT.id || STATE.id\n if ( ELEMENT.type != 'text' ) {\n ELEMENT.type = 'text'\n }\n\n\n // Create a new picker component with the settings.\n P.component = new COMPONENT(P, SETTINGS)\n\n\n // Create the picker root and then prepare it.\n P.$root = $( '
' )\n prepareElementRoot()\n\n\n // Create the picker holder and then prepare it.\n P.$holder = $( createWrappedComponent() ).appendTo( P.$root )\n prepareElementHolder()\n\n\n // If there’s a format for the hidden input element, create the element.\n if ( SETTINGS.formatSubmit ) {\n prepareElementHidden()\n }\n\n\n // Prepare the input element.\n prepareElement()\n\n\n // Insert the hidden input as specified in the settings.\n if ( SETTINGS.containerHidden ) $( SETTINGS.containerHidden ).append( P._hidden )\n else $ELEMENT.after( P._hidden )\n\n\n // Insert the root as specified in the settings.\n if ( SETTINGS.container ) $( SETTINGS.container ).append( P.$root )\n else $ELEMENT.after( P.$root )\n\n\n // Bind the default component and settings events.\n P.on({\n start: P.component.onStart,\n render: P.component.onRender,\n stop: P.component.onStop,\n open: P.component.onOpen,\n close: P.component.onClose,\n set: P.component.onSet\n }).on({\n start: SETTINGS.onStart,\n render: SETTINGS.onRender,\n stop: SETTINGS.onStop,\n open: SETTINGS.onOpen,\n close: SETTINGS.onClose,\n set: SETTINGS.onSet\n })\n\n\n // Once we’re all set, check the theme in use.\n IS_DEFAULT_THEME = isUsingDefaultTheme( P.$holder[0] )\n\n\n // If the element has autofocus, open the picker.\n if ( ELEMENT.autofocus ) {\n P.open()\n }\n\n\n // Trigger queued the “start” and “render” events.\n return P.trigger( 'start' ).trigger( 'render' )\n }, //start\n\n\n /**\n * Render a new picker\n */\n render: function( entireComponent ) {\n\n // Insert a new component holder in the root or box.\n if ( entireComponent ) {\n P.$holder = $( createWrappedComponent() )\n prepareElementHolder()\n P.$root.html( P.$holder )\n }\n else P.$root.find( '.' + CLASSES.box ).html( P.component.nodes( STATE.open ) )\n\n // Trigger the queued “render” events.\n return P.trigger( 'render' )\n }, //render\n\n\n /**\n * Destroy everything\n */\n stop: function() {\n\n // If it’s already stopped, do nothing.\n if ( !STATE.start ) return P\n\n // Then close the picker.\n P.close()\n\n // Remove the hidden field.\n if ( P._hidden ) {\n P._hidden.parentNode.removeChild( P._hidden )\n }\n\n // Remove the root.\n P.$root.remove()\n\n // Remove the input class, remove the stored data, and unbind\n // the events (after a tick for IE - see `P.close`).\n $ELEMENT.removeClass( CLASSES.input ).removeData( NAME )\n setTimeout( function() {\n $ELEMENT.off( '.' + STATE.id )\n }, 0)\n\n // Restore the element state\n ELEMENT.type = STATE.type\n ELEMENT.readOnly = false\n\n // Trigger the queued “stop” events.\n P.trigger( 'stop' )\n\n // Reset the picker states.\n STATE.methods = {}\n STATE.start = false\n\n return P\n }, //stop\n\n\n /**\n * Open up the picker\n */\n open: function( dontGiveFocus ) {\n\n // If it’s already open, do nothing.\n if ( STATE.open ) return P\n\n // Add the “active” class.\n $ELEMENT.addClass( CLASSES.active )\n aria( ELEMENT, 'expanded', true )\n\n // * A Firefox bug, when `html` has `overflow:hidden`, results in\n // killing transitions :(. So add the “opened” state on the next tick.\n // Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=625289\n setTimeout( function() {\n\n // Add the “opened” class to the picker root.\n P.$root.addClass( CLASSES.opened )\n aria( P.$root[0], 'hidden', false )\n\n }, 0 )\n\n // If we have to give focus, bind the element and doc events.\n if ( dontGiveFocus !== false ) {\n\n // Set it as open.\n STATE.open = true\n\n // Prevent the page from scrolling.\n if ( IS_DEFAULT_THEME ) {\n $('body').\n css( 'overflow', 'hidden' ).\n css( 'padding-right', '+=' + getScrollbarWidth() )\n }\n\n // Pass focus to the root element’s jQuery object.\n focusPickerOnceOpened()\n\n // Bind the document events.\n $document.on( 'click.' + STATE.id + ' focusin.' + STATE.id, function( event ) {\n // If the picker is currently midway through processing\n // the opening sequence of events then don't handle clicks\n // on any part of the DOM. This is caused by a bug in Chrome 73\n // where a click event is being generated with the incorrect\n // path in it.\n // In short, if someone does a click that finishes after the\n // new element is created then the path contains only the\n // parent element and not the input element itself.\n if (STATE.handlingOpen) {\n return;\n }\n\n var target = getRealEventTarget( event, ELEMENT )\n\n // If the target of the event is not the element, close the picker picker.\n // * Don’t worry about clicks or focusins on the root because those don’t bubble up.\n // Also, for Firefox, a click on an `option` element bubbles up directly\n // to the doc. So make sure the target wasn't the doc.\n // * In Firefox stopPropagation() doesn’t prevent right-click events from bubbling,\n // which causes the picker to unexpectedly close when right-clicking it. So make\n // sure the event wasn’t a right-click.\n // * In Chrome 62 and up, password autofill causes a simulated focusin event which\n // closes the picker.\n if ( ! event.isSimulated && target != ELEMENT && target != document && event.which != 3 ) {\n\n // If the target was the holder that covers the screen,\n // keep the element focused to maintain tabindex.\n P.close( target === P.$holder[0] )\n }\n\n }).on( 'keydown.' + STATE.id, function( event ) {\n\n var\n // Get the keycode.\n keycode = event.keyCode,\n\n // Translate that to a selection change.\n keycodeToMove = P.component.key[ keycode ],\n\n // Grab the target.\n target = getRealEventTarget( event, ELEMENT )\n\n\n // On escape, close the picker and give focus.\n if ( keycode == 27 ) {\n P.close( true )\n }\n\n\n // Check if there is a key movement or “enter” keypress on the element.\n else if ( target == P.$holder[0] && ( keycodeToMove || keycode == 13 ) ) {\n\n // Prevent the default action to stop page movement.\n event.preventDefault()\n\n // Trigger the key movement action.\n if ( keycodeToMove ) {\n PickerConstructor._.trigger( P.component.key.go, P, [ PickerConstructor._.trigger( keycodeToMove ) ] )\n }\n\n // On “enter”, if the highlighted item isn’t disabled, set the value and close.\n else if ( !P.$root.find( '.' + CLASSES.highlighted ).hasClass( CLASSES.disabled ) ) {\n P.set( 'select', P.component.item.highlight )\n if ( SETTINGS.closeOnSelect ) {\n P.close( true )\n }\n }\n }\n\n\n // If the target is within the root and “enter” is pressed,\n // prevent the default action and trigger a click on the target instead.\n else if ( $.contains( P.$root[0], target ) && keycode == 13 ) {\n event.preventDefault()\n target.click()\n }\n })\n }\n\n // Trigger the queued “open” events.\n return P.trigger( 'open' )\n }, //open\n\n\n /**\n * Close the picker\n */\n close: function( giveFocus ) {\n\n // If we need to give focus, do it before changing states.\n if ( giveFocus ) {\n if ( SETTINGS.editable ) {\n ELEMENT.focus()\n }\n else {\n // ....ah yes! It would’ve been incomplete without a crazy workaround for IE :|\n // The focus is triggered *after* the close has completed - causing it\n // to open again. So unbind and rebind the event at the next tick.\n P.$holder.off( 'focus.toOpen' ).focus()\n setTimeout( function() {\n P.$holder.on( 'focus.toOpen', handleFocusToOpenEvent )\n }, 0 )\n }\n }\n\n // Remove the “active” class.\n $ELEMENT.removeClass( CLASSES.active )\n aria( ELEMENT, 'expanded', false )\n\n // * A Firefox bug, when `html` has `overflow:hidden`, results in\n // killing transitions :(. So remove the “opened” state on the next tick.\n // Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=625289\n setTimeout( function() {\n\n // Remove the “opened” and “focused” class from the picker root.\n P.$root.removeClass( CLASSES.opened + ' ' + CLASSES.focused )\n aria( P.$root[0], 'hidden', true )\n\n }, 0 )\n\n // If it’s already closed, do nothing more.\n if ( !STATE.open ) return P\n\n // Set it as closed.\n STATE.open = false\n\n // Allow the page to scroll.\n if ( IS_DEFAULT_THEME ) {\n $('body').\n css( 'overflow', '' ).\n css( 'padding-right', '-=' + getScrollbarWidth() )\n }\n\n // Unbind the document events.\n $document.off( '.' + STATE.id )\n\n // Trigger the queued “close” events.\n return P.trigger( 'close' )\n }, //close\n\n\n /**\n * Clear the values\n */\n clear: function( options ) {\n return P.set( 'clear', null, options )\n }, //clear\n\n\n /**\n * Set something\n */\n set: function( thing, value, options ) {\n\n var thingItem, thingValue,\n thingIsObject = $.isPlainObject( thing ),\n thingObject = thingIsObject ? thing : {}\n\n // Make sure we have usable options.\n options = thingIsObject && $.isPlainObject( value ) ? value : options || {}\n\n if ( thing ) {\n\n // If the thing isn’t an object, make it one.\n if ( !thingIsObject ) {\n thingObject[ thing ] = value\n }\n\n // Go through the things of items to set.\n for ( thingItem in thingObject ) {\n\n // Grab the value of the thing.\n thingValue = thingObject[ thingItem ]\n\n // First, if the item exists and there’s a value, set it.\n if ( thingItem in P.component.item ) {\n if ( thingValue === undefined ) thingValue = null\n P.component.set( thingItem, thingValue, options )\n }\n\n // Then, check to update the element value and broadcast a change.\n if ( ( thingItem == 'select' || thingItem == 'clear' ) && SETTINGS.updateInput ) {\n $ELEMENT.\n val( thingItem == 'clear' ? '' : P.get( thingItem, SETTINGS.format ) ).\n trigger( 'change' )\n }\n }\n\n // Render a new picker.\n P.render()\n }\n\n // When the method isn’t muted, trigger queued “set” events and pass the `thingObject`.\n return options.muted ? P : P.trigger( 'set', thingObject )\n }, //set\n\n\n /**\n * Get something\n */\n get: function( thing, format ) {\n\n // Make sure there’s something to get.\n thing = thing || 'value'\n\n // If a picker state exists, return that.\n if ( STATE[ thing ] != null ) {\n return STATE[ thing ]\n }\n\n // Return the submission value, if that.\n if ( thing == 'valueSubmit' ) {\n if ( P._hidden ) {\n return P._hidden.value\n }\n thing = 'value'\n }\n\n // Return the value, if that.\n if ( thing == 'value' ) {\n return ELEMENT.value\n }\n\n // Check if a component item exists, return that.\n if ( thing in P.component.item ) {\n if ( typeof format == 'string' ) {\n var thingValue = P.component.get( thing )\n return thingValue ?\n PickerConstructor._.trigger(\n P.component.formats.toString,\n P.component,\n [ format, thingValue ]\n ) : ''\n }\n return P.component.get( thing )\n }\n }, //get\n\n\n\n /**\n * Bind events on the things.\n */\n on: function( thing, method, internal ) {\n\n var thingName, thingMethod,\n thingIsObject = $.isPlainObject( thing ),\n thingObject = thingIsObject ? thing : {}\n\n if ( thing ) {\n\n // If the thing isn’t an object, make it one.\n if ( !thingIsObject ) {\n thingObject[ thing ] = method\n }\n\n // Go through the things to bind to.\n for ( thingName in thingObject ) {\n\n // Grab the method of the thing.\n thingMethod = thingObject[ thingName ]\n\n // If it was an internal binding, prefix it.\n if ( internal ) {\n thingName = '_' + thingName\n }\n\n // Make sure the thing methods collection exists.\n STATE.methods[ thingName ] = STATE.methods[ thingName ] || []\n\n // Add the method to the relative method collection.\n STATE.methods[ thingName ].push( thingMethod )\n }\n }\n\n return P\n }, //on\n\n\n\n /**\n * Unbind events on the things.\n */\n off: function() {\n var i, thingName,\n names = arguments;\n for ( i = 0, namesCount = names.length; i < namesCount; i += 1 ) {\n thingName = names[i]\n if ( thingName in STATE.methods ) {\n delete STATE.methods[thingName]\n }\n }\n return P\n },\n\n\n /**\n * Fire off method events.\n */\n trigger: function( name, data ) {\n var _trigger = function( name ) {\n var methodList = STATE.methods[ name ]\n if ( methodList ) {\n methodList.map( function( method ) {\n PickerConstructor._.trigger( method, P, [ data ] )\n })\n }\n }\n _trigger( '_' + name )\n _trigger( name )\n return P\n } //trigger\n } //PickerInstance.prototype\n\n\n /**\n * Wrap the picker holder components together.\n */\n function createWrappedComponent() {\n\n // Create a picker wrapper holder\n return PickerConstructor._.node( 'div',\n\n // Create a picker wrapper node\n PickerConstructor._.node( 'div',\n\n // Create a picker frame\n PickerConstructor._.node( 'div',\n\n // Create a picker box node\n PickerConstructor._.node( 'div',\n\n // Create the components nodes.\n P.component.nodes( STATE.open ),\n\n // The picker box class\n CLASSES.box\n ),\n\n // Picker wrap class\n CLASSES.wrap\n ),\n\n // Picker frame class\n CLASSES.frame\n ),\n\n // Picker holder class\n CLASSES.holder,\n\n 'tabindex=\"-1\"'\n ) //endreturn\n } //createWrappedComponent\n\n /**\n * Prepare the input element with all bindings.\n */\n function prepareElement() {\n\n $ELEMENT.\n\n // Store the picker data by component name.\n data(NAME, P).\n\n // Add the “input” class name.\n addClass(CLASSES.input).\n\n // If there’s a `data-value`, update the value of the element.\n val( $ELEMENT.data('value') ?\n P.get('select', SETTINGS.format) :\n ELEMENT.value\n ).\n\n // On focus/click, open the picker.\n on( 'focus.' + STATE.id + ' click.' + STATE.id,\n function(event) {\n event.preventDefault()\n P.open()\n }\n )\n\n // Mousedown handler to capture when the user starts interacting\n // with the picker. This is used in working around a bug in Chrome 73.\n .on('mousedown', function() {\n STATE.handlingOpen = true;\n var handler = function() {\n // By default mouseup events are fired before a click event.\n // By using a timeout we can force the mouseup to be handled\n // after the corresponding click event is handled.\n setTimeout(function() {\n $(document).off('mouseup', handler);\n STATE.handlingOpen = false;\n }, 0);\n };\n $(document).on('mouseup', handler);\n });\n\n\n // Only bind keydown events if the element isn’t editable.\n if ( !SETTINGS.editable ) {\n\n $ELEMENT.\n\n // Handle keyboard event based on the picker being opened or not.\n on( 'keydown.' + STATE.id, handleKeydownEvent )\n }\n\n\n // Update the aria attributes.\n aria(ELEMENT, {\n haspopup: true,\n expanded: false,\n readonly: false,\n owns: ELEMENT.id + '_root'\n })\n }\n\n\n /**\n * Prepare the root picker element with all bindings.\n */\n function prepareElementRoot() {\n aria( P.$root[0], 'hidden', true )\n }\n\n\n /**\n * Prepare the holder picker element with all bindings.\n */\n function prepareElementHolder() {\n\n P.$holder.\n\n on({\n\n // For iOS8.\n keydown: handleKeydownEvent,\n\n 'focus.toOpen': handleFocusToOpenEvent,\n\n blur: function() {\n // Remove the “target” class.\n $ELEMENT.removeClass( CLASSES.target )\n },\n\n // When something within the holder is focused, stop from bubbling\n // to the doc and remove the “focused” state from the root.\n focusin: function( event ) {\n P.$root.removeClass( CLASSES.focused )\n event.stopPropagation()\n },\n\n // When something within the holder is clicked, stop it\n // from bubbling to the doc.\n 'mousedown click': function( event ) {\n\n var target = getRealEventTarget( event, ELEMENT )\n\n // Make sure the target isn’t the root holder so it can bubble up.\n if ( target != P.$holder[0] ) {\n\n event.stopPropagation()\n\n // * For mousedown events, cancel the default action in order to\n // prevent cases where focus is shifted onto external elements\n // when using things like jQuery mobile or MagnificPopup (ref: #249 & #120).\n // Also, for Firefox, don’t prevent action on the `option` element.\n if ( event.type == 'mousedown' && !$( target ).is( 'input, select, textarea, button, option' )) {\n\n event.preventDefault()\n\n // Re-focus onto the holder so that users can click away\n // from elements focused within the picker.\n P.$holder.eq(0).focus()\n }\n }\n }\n\n }).\n\n // If there’s a click on an actionable element, carry out the actions.\n on( 'click', '[data-pick], [data-nav], [data-clear], [data-close]', function() {\n\n var $target = $( this ),\n targetData = $target.data(),\n targetDisabled = $target.hasClass( CLASSES.navDisabled ) || $target.hasClass( CLASSES.disabled ),\n\n // * For IE, non-focusable elements can be active elements as well\n // (http://stackoverflow.com/a/2684561).\n activeElement = getActiveElement()\n activeElement = activeElement && ( (activeElement.type || activeElement.href ) ? activeElement : null);\n\n // If it’s disabled or nothing inside is actively focused, re-focus the element.\n if ( targetDisabled || activeElement && !$.contains( P.$root[0], activeElement ) ) {\n P.$holder.eq(0).focus()\n }\n\n // If something is superficially changed, update the `highlight` based on the `nav`.\n if ( !targetDisabled && targetData.nav ) {\n P.set( 'highlight', P.component.item.highlight, { nav: targetData.nav } )\n }\n\n // If something is picked, set `select` then close with focus.\n else if ( !targetDisabled && 'pick' in targetData ) {\n P.set( 'select', targetData.pick )\n if ( SETTINGS.closeOnSelect ) {\n P.close( true )\n }\n }\n\n // If a “clear” button is pressed, empty the values and close with focus.\n else if ( targetData.clear ) {\n P.clear()\n if ( SETTINGS.closeOnClear ) {\n P.close( true )\n }\n }\n\n else if ( targetData.close ) {\n P.close( true )\n }\n\n }) //P.$holder\n\n }\n\n\n /**\n * Prepare the hidden input element along with all bindings.\n */\n function prepareElementHidden() {\n\n var name\n\n if ( SETTINGS.hiddenName === true ) {\n name = ELEMENT.name\n ELEMENT.name = ''\n }\n else {\n name = [\n typeof SETTINGS.hiddenPrefix == 'string' ? SETTINGS.hiddenPrefix : '',\n typeof SETTINGS.hiddenSuffix == 'string' ? SETTINGS.hiddenSuffix : '_submit'\n ]\n name = name[0] + ELEMENT.name + name[1]\n }\n\n P._hidden = $(\n ''\n )[0]\n\n $ELEMENT.\n\n // If the value changes, update the hidden input with the correct format.\n on('change.' + STATE.id, function() {\n P._hidden.value = ELEMENT.value ?\n P.get('select', SETTINGS.formatSubmit) :\n ''\n })\n }\n\n\n // Wait for transitions to end before focusing the holder. Otherwise, while\n // using the `container` option, the view jumps to the container.\n function focusPickerOnceOpened() {\n\n if (IS_DEFAULT_THEME && supportsTransitions) {\n P.$holder.find('.' + CLASSES.frame).one('transitionend', function() {\n P.$holder.eq(0).focus()\n })\n }\n else {\n setTimeout(function() {\n P.$holder.eq(0).focus()\n }, 0)\n }\n }\n\n\n function handleFocusToOpenEvent(event) {\n\n // Stop the event from propagating to the doc.\n event.stopPropagation()\n\n // Add the “target” class.\n $ELEMENT.addClass( CLASSES.target )\n\n // Add the “focused” class to the root.\n P.$root.addClass( CLASSES.focused )\n\n // And then finally open the picker.\n P.open()\n }\n\n\n // For iOS8.\n function handleKeydownEvent( event ) {\n\n var keycode = event.keyCode,\n\n // Check if one of the delete keys was pressed.\n isKeycodeDelete = /^(8|46)$/.test(keycode)\n\n // For some reason IE clears the input value on “escape”.\n if ( keycode == 27 ) {\n P.close( true )\n return false\n }\n\n // Check if `space` or `delete` was pressed or the picker is closed with a key movement.\n if ( keycode == 32 || isKeycodeDelete || !STATE.open && P.component.key[keycode] ) {\n\n // Prevent it from moving the page and bubbling to doc.\n event.preventDefault()\n event.stopPropagation()\n\n // If `delete` was pressed, clear the values and close the picker.\n // Otherwise open the picker.\n if ( isKeycodeDelete ) { P.clear().close() }\n else { P.open() }\n }\n }\n\n\n // Return a new picker instance.\n return new PickerInstance()\n} //PickerConstructor\n\n\n\n/**\n * The default classes and prefix to use for the HTML classes.\n */\nPickerConstructor.klasses = function( prefix ) {\n prefix = prefix || 'picker'\n return {\n\n picker: prefix,\n opened: prefix + '--opened',\n focused: prefix + '--focused',\n\n input: prefix + '__input',\n active: prefix + '__input--active',\n target: prefix + '__input--target',\n\n holder: prefix + '__holder',\n\n frame: prefix + '__frame',\n wrap: prefix + '__wrap',\n\n box: prefix + '__box'\n }\n} //PickerConstructor.klasses\n\n\n\n/**\n * Check if the default theme is being used.\n */\nfunction isUsingDefaultTheme( element ) {\n\n var theme,\n prop = 'position'\n\n // For IE.\n if ( element.currentStyle ) {\n theme = element.currentStyle[prop]\n }\n\n // For normal browsers.\n else if ( window.getComputedStyle ) {\n theme = getComputedStyle( element )[prop]\n }\n\n return theme == 'fixed'\n}\n\n\n\n/**\n * Get the width of the browser’s scrollbar.\n * Taken from: https://github.com/VodkaBears/Remodal/blob/master/src/jquery.remodal.js\n */\nfunction getScrollbarWidth() {\n\n if ( $html.height() <= $window.height() ) {\n return 0\n }\n\n var $outer = $( '
' ).\n appendTo( 'body' )\n\n // Get the width without scrollbars.\n var widthWithoutScroll = $outer[0].offsetWidth\n\n // Force adding scrollbars.\n $outer.css( 'overflow', 'scroll' )\n\n // Add the inner div.\n var $inner = $( '
' ).appendTo( $outer )\n\n // Get the width with scrollbars.\n var widthWithScroll = $inner[0].offsetWidth\n\n // Remove the divs.\n $outer.remove()\n\n // Return the difference between the widths.\n return widthWithoutScroll - widthWithScroll\n}\n\n\n\n/**\n * Get the target element from the event.\n * If ELEMENT is supplied and present in the event path (ELEMENT is ancestor of the target),\n * returns ELEMENT instead\n */\nfunction getRealEventTarget( event, ELEMENT ) {\n\n var path = []\n\n if ( event.path ) {\n path = event.path\n }\n\n if ( event.originalEvent && event.originalEvent.path ) {\n path = event.originalEvent.path\n }\n\n if ( path && path.length > 0 ) {\n if ( ELEMENT && path.indexOf( ELEMENT ) >= 0 ) {\n return ELEMENT\n } else {\n return path[0]\n }\n }\n\n return event.target\n}\n\n/**\n * PickerConstructor helper methods.\n */\nPickerConstructor._ = {\n\n /**\n * Create a group of nodes. Expects:\n * `\n {\n min: {Integer},\n max: {Integer},\n i: {Integer},\n node: {String},\n item: {Function}\n }\n * `\n */\n group: function( groupObject ) {\n\n var\n // Scope for the looped object\n loopObjectScope,\n\n // Create the nodes list\n nodesList = '',\n\n // The counter starts from the `min`\n counter = PickerConstructor._.trigger( groupObject.min, groupObject )\n\n\n // Loop from the `min` to `max`, incrementing by `i`\n for ( ; counter <= PickerConstructor._.trigger( groupObject.max, groupObject, [ counter ] ); counter += groupObject.i ) {\n\n // Trigger the `item` function within scope of the object\n loopObjectScope = PickerConstructor._.trigger( groupObject.item, groupObject, [ counter ] )\n\n // Splice the subgroup and create nodes out of the sub nodes\n nodesList += PickerConstructor._.node(\n groupObject.node,\n loopObjectScope[ 0 ], // the node\n loopObjectScope[ 1 ], // the classes\n loopObjectScope[ 2 ] // the attributes\n )\n }\n\n // Return the list of nodes\n return nodesList\n }, //group\n\n\n /**\n * Create a dom node string\n */\n node: function( wrapper, item, klass, attribute ) {\n\n // If the item is false-y, just return an empty string\n if ( !item ) return ''\n\n // If the item is an array, do a join\n item = $.isArray( item ) ? item.join( '' ) : item\n\n // Check for the class\n klass = klass ? ' class=\"' + klass + '\"' : ''\n\n // Check for any attributes\n attribute = attribute ? ' ' + attribute : ''\n\n // Return the wrapped item\n return '<' + wrapper + klass + attribute + '>' + item + ''\n }, //node\n\n\n /**\n * Lead numbers below 10 with a zero.\n */\n lead: function( number ) {\n return ( number < 10 ? '0': '' ) + number\n },\n\n\n /**\n * Trigger a function otherwise return the value.\n */\n trigger: function( callback, scope, args ) {\n return typeof callback == 'function' ? callback.apply( scope, args || [] ) : callback\n },\n\n\n /**\n * If the second character is a digit, length is 2 otherwise 1.\n */\n digits: function( string ) {\n return ( /\\d/ ).test( string[ 1 ] ) ? 2 : 1\n },\n\n\n /**\n * Tell if something is a date object.\n */\n isDate: function( value ) {\n return {}.toString.call( value ).indexOf( 'Date' ) > -1 && this.isInteger( value.getDate() )\n },\n\n\n /**\n * Tell if something is an integer.\n */\n isInteger: function( value ) {\n return {}.toString.call( value ).indexOf( 'Number' ) > -1 && value % 1 === 0\n },\n\n\n /**\n * Create ARIA attribute strings.\n */\n ariaAttr: ariaAttr\n} //PickerConstructor._\n\n\n\n/**\n * Extend the picker with a component and defaults.\n */\nPickerConstructor.extend = function( name, Component ) {\n\n // Extend jQuery.\n $.fn[ name ] = function( options, action ) {\n\n // Grab the component data.\n var componentData = this.data( name )\n\n // If the picker is requested, return the data object.\n if ( options == 'picker' ) {\n return componentData\n }\n\n // If the component data exists and `options` is a string, carry out the action.\n if ( componentData && typeof options == 'string' ) {\n return PickerConstructor._.trigger( componentData[ options ], componentData, [ action ] )\n }\n\n // Otherwise go through each matched element and if the component\n // doesn’t exist, create a new picker using `this` element\n // and merging the defaults and options with a deep copy.\n return this.each( function() {\n var $this = $( this )\n if ( !$this.data( name ) ) {\n new PickerConstructor( this, name, Component, options )\n }\n })\n }\n\n // Set the defaults.\n $.fn[ name ].defaults = Component.defaults\n} //PickerConstructor.extend\n\n\n\nfunction aria(element, attribute, value) {\n if ( $.isPlainObject(attribute) ) {\n for ( var key in attribute ) {\n ariaSet(element, key, attribute[key])\n }\n }\n else {\n ariaSet(element, attribute, value)\n }\n}\nfunction ariaSet(element, attribute, value) {\n element.setAttribute(\n (attribute == 'role' ? '' : 'aria-') + attribute,\n value\n )\n}\nfunction ariaAttr(attribute, data) {\n if ( !$.isPlainObject(attribute) ) {\n attribute = { attribute: data }\n }\n data = ''\n for ( var key in attribute ) {\n var attr = (key == 'role' ? '' : 'aria-') + key,\n attrVal = attribute[key]\n data += attrVal == null ? '' : attr + '=\"' + attribute[key] + '\"'\n }\n return data\n}\n\n// IE8 bug throws an error for activeElements within iframes.\nfunction getActiveElement() {\n try {\n return document.activeElement\n } catch ( err ) { }\n}\n\n\n\n// Expose the picker constructor.\nreturn PickerConstructor\n\n\n}));\n","/*!\n * Date picker for pickadate.js v3.6.4\n * http://amsul.github.io/pickadate.js/date.htm\n */\n\n(function ( factory ) {\n\n // AMD.\n if ( typeof define == 'function' && define.amd )\n define( ['./picker', 'jquery'], factory )\n\n // Node.js/browserify.\n else if ( typeof exports == 'object' )\n module.exports = factory( require('./picker.js'), require('jquery') )\n\n // Browser globals.\n else factory( Picker, jQuery )\n\n}(function( Picker, $ ) {\n\n\n/**\n * Globals and constants\n */\nvar DAYS_IN_WEEK = 7,\n WEEKS_IN_CALENDAR = 6,\n _ = Picker._\n\n\n\n/**\n * The date picker constructor\n */\nfunction DatePicker( picker, settings ) {\n\n var calendar = this,\n element = picker.$node[ 0 ],\n elementValue = element.value,\n elementDataValue = picker.$node.data( 'value' ),\n valueString = elementDataValue || elementValue,\n formatString = elementDataValue ? settings.formatSubmit : settings.format,\n isRTL = function() {\n\n return element.currentStyle ?\n\n // For IE.\n element.currentStyle.direction == 'rtl' :\n\n // For normal browsers.\n getComputedStyle( picker.$root[0] ).direction == 'rtl'\n }\n\n calendar.settings = settings\n calendar.$node = picker.$node\n\n // The queue of methods that will be used to build item objects.\n calendar.queue = {\n min: 'measure create',\n max: 'measure create',\n now: 'now create',\n select: 'parse create validate',\n highlight: 'parse navigate create validate',\n view: 'parse create validate viewset',\n disable: 'deactivate',\n enable: 'activate'\n }\n\n // The component's item object.\n calendar.item = {}\n\n calendar.item.clear = null\n calendar.item.disable = ( settings.disable || [] ).slice( 0 )\n calendar.item.enable = -(function( collectionDisabled ) {\n return collectionDisabled[ 0 ] === true ? collectionDisabled.shift() : -1\n })( calendar.item.disable )\n\n calendar.\n set( 'min', settings.min ).\n set( 'max', settings.max ).\n set( 'now' )\n\n // When there’s a value, set the `select`, which in turn\n // also sets the `highlight` and `view`.\n if ( valueString ) {\n calendar.set( 'select', valueString, {\n format: formatString,\n defaultValue: true\n })\n }\n\n // If there’s no value, default to highlighting “today”.\n else {\n calendar.\n set( 'select', null ).\n set( 'highlight', calendar.item.now )\n }\n\n\n // The keycode to movement mapping.\n calendar.key = {\n 40: 7, // Down\n 38: -7, // Up\n 39: function() { return isRTL() ? -1 : 1 }, // Right\n 37: function() { return isRTL() ? 1 : -1 }, // Left\n go: function( timeChange ) {\n var highlightedObject = calendar.item.highlight,\n targetDate = new Date( highlightedObject.year, highlightedObject.month, highlightedObject.date + timeChange )\n calendar.set(\n 'highlight',\n targetDate,\n { interval: timeChange }\n )\n this.render()\n }\n }\n\n\n // Bind some picker events.\n picker.\n on( 'render', function() {\n picker.$root.find( '.' + settings.klass.selectMonth ).on( 'change', function() {\n var value = this.value\n if ( value ) {\n picker.set( 'highlight', [ picker.get( 'view' ).year, value, picker.get( 'highlight' ).date ] )\n picker.$root.find( '.' + settings.klass.selectMonth ).trigger( 'focus' )\n }\n })\n picker.$root.find( '.' + settings.klass.selectYear ).on( 'change', function() {\n var value = this.value\n if ( value ) {\n picker.set( 'highlight', [ value, picker.get( 'view' ).month, picker.get( 'highlight' ).date ] )\n picker.$root.find( '.' + settings.klass.selectYear ).trigger( 'focus' )\n }\n })\n }, 1 ).\n on( 'open', function() {\n var includeToday = ''\n if ( calendar.disabled( calendar.get('now') ) ) {\n includeToday = ':not(.' + settings.klass.buttonToday + ')'\n }\n picker.$root.find( 'button' + includeToday + ', select' ).attr( 'disabled', false )\n }, 1 ).\n on( 'close', function() {\n picker.$root.find( 'button, select' ).attr( 'disabled', true )\n }, 1 )\n\n} //DatePicker\n\n\n/**\n * Set a datepicker item object.\n */\nDatePicker.prototype.set = function( type, value, options ) {\n\n var calendar = this,\n calendarItem = calendar.item\n\n // If the value is `null` just set it immediately.\n if ( value === null ) {\n if ( type == 'clear' ) type = 'select'\n calendarItem[ type ] = value\n return calendar\n }\n\n // Otherwise go through the queue of methods, and invoke the functions.\n // Update this as the time unit, and set the final value as this item.\n // * In the case of `enable`, keep the queue but set `disable` instead.\n // And in the case of `flip`, keep the queue but set `enable` instead.\n calendarItem[ ( type == 'enable' ? 'disable' : type == 'flip' ? 'enable' : type ) ] = calendar.queue[ type ].split( ' ' ).map( function( method ) {\n value = calendar[ method ]( type, value, options )\n return value\n }).pop()\n\n // Check if we need to cascade through more updates.\n if ( type == 'select' ) {\n calendar.set( 'highlight', calendarItem.select, options )\n }\n else if ( type == 'highlight' ) {\n calendar.set( 'view', calendarItem.highlight, options )\n }\n else if ( type.match( /^(flip|min|max|disable|enable)$/ ) ) {\n if ( calendarItem.select && calendar.disabled( calendarItem.select ) ) {\n calendar.set( 'select', calendarItem.select, options )\n }\n if ( calendarItem.highlight && calendar.disabled( calendarItem.highlight ) ) {\n calendar.set( 'highlight', calendarItem.highlight, options )\n }\n }\n\n return calendar\n} //DatePicker.prototype.set\n\n\n/**\n * Get a datepicker item object.\n */\nDatePicker.prototype.get = function( type ) {\n return this.item[ type ]\n} //DatePicker.prototype.get\n\n\n/**\n * Create a picker date object.\n */\nDatePicker.prototype.create = function( type, value, options ) {\n\n var isInfiniteValue,\n calendar = this\n\n // If there’s no value, use the type as the value.\n value = value === undefined ? type : value\n\n\n // If it’s infinity, update the value.\n if ( value == -Infinity || value == Infinity ) {\n isInfiniteValue = value\n }\n\n // If it’s an object, use the native date object.\n else if ( $.isPlainObject( value ) && _.isInteger( value.pick ) ) {\n value = value.obj\n }\n\n // If it’s an array, convert it into a date and make sure\n // that it’s a valid date – otherwise default to today.\n else if ( $.isArray( value ) ) {\n value = new Date( value[ 0 ], value[ 1 ], value[ 2 ] )\n value = _.isDate( value ) ? value : calendar.create().obj\n }\n\n // If it’s a number or date object, make a normalized date.\n else if ( _.isInteger( value ) || _.isDate( value ) ) {\n value = calendar.normalize( new Date( value ), options )\n }\n\n // If it’s a literal true or any other case, set it to now.\n else /*if ( value === true )*/ {\n value = calendar.now( type, value, options )\n }\n\n // Return the compiled object.\n return {\n year: isInfiniteValue || value.getFullYear(),\n month: isInfiniteValue || value.getMonth(),\n date: isInfiniteValue || value.getDate(),\n day: isInfiniteValue || value.getDay(),\n obj: isInfiniteValue || value,\n pick: isInfiniteValue || value.getTime()\n }\n} //DatePicker.prototype.create\n\n\n/**\n * Create a range limit object using an array, date object,\n * literal “true”, or integer relative to another time.\n */\nDatePicker.prototype.createRange = function( from, to ) {\n\n var calendar = this,\n createDate = function( date ) {\n if ( date === true || $.isArray( date ) || _.isDate( date ) ) {\n return calendar.create( date )\n }\n return date\n }\n\n // Create objects if possible.\n if ( !_.isInteger( from ) ) {\n from = createDate( from )\n }\n if ( !_.isInteger( to ) ) {\n to = createDate( to )\n }\n\n // Create relative dates.\n if ( _.isInteger( from ) && $.isPlainObject( to ) ) {\n from = [ to.year, to.month, to.date + from ];\n }\n else if ( _.isInteger( to ) && $.isPlainObject( from ) ) {\n to = [ from.year, from.month, from.date + to ];\n }\n\n return {\n from: createDate( from ),\n to: createDate( to )\n }\n} //DatePicker.prototype.createRange\n\n\n/**\n * Check if a date unit falls within a date range object.\n */\nDatePicker.prototype.withinRange = function( range, dateUnit ) {\n range = this.createRange(range.from, range.to)\n return dateUnit.pick >= range.from.pick && dateUnit.pick <= range.to.pick\n}\n\n\n/**\n * Check if two date range objects overlap.\n */\nDatePicker.prototype.overlapRanges = function( one, two ) {\n\n var calendar = this\n\n // Convert the ranges into comparable dates.\n one = calendar.createRange( one.from, one.to )\n two = calendar.createRange( two.from, two.to )\n\n return calendar.withinRange( one, two.from ) || calendar.withinRange( one, two.to ) ||\n calendar.withinRange( two, one.from ) || calendar.withinRange( two, one.to )\n}\n\n\n/**\n * Get the date today.\n */\nDatePicker.prototype.now = function( type, value, options ) {\n value = new Date()\n if ( options && options.rel ) {\n value.setDate( value.getDate() + options.rel )\n }\n return this.normalize( value, options )\n}\n\n\n/**\n * Navigate to next/prev month.\n */\nDatePicker.prototype.navigate = function( type, value, options ) {\n\n var targetDateObject,\n targetYear,\n targetMonth,\n targetDate,\n isTargetArray = $.isArray( value ),\n isTargetObject = $.isPlainObject( value ),\n viewsetObject = this.item.view/*,\n safety = 100*/\n\n\n if ( isTargetArray || isTargetObject ) {\n\n if ( isTargetObject ) {\n targetYear = value.year\n targetMonth = value.month\n targetDate = value.date\n }\n else {\n targetYear = +value[0]\n targetMonth = +value[1]\n targetDate = +value[2]\n }\n\n // If we’re navigating months but the view is in a different\n // month, navigate to the view’s year and month.\n if ( options && options.nav && viewsetObject && viewsetObject.month !== targetMonth ) {\n targetYear = viewsetObject.year\n targetMonth = viewsetObject.month\n }\n\n // Figure out the expected target year and month.\n targetDateObject = new Date( targetYear, targetMonth + ( options && options.nav ? options.nav : 0 ), 1 )\n targetYear = targetDateObject.getFullYear()\n targetMonth = targetDateObject.getMonth()\n\n // If the month we’re going to doesn’t have enough days,\n // keep decreasing the date until we reach the month’s last date.\n while ( /*safety &&*/ new Date( targetYear, targetMonth, targetDate ).getMonth() !== targetMonth ) {\n targetDate -= 1\n /*safety -= 1\n if ( !safety ) {\n throw 'Fell into an infinite loop while navigating to ' + new Date( targetYear, targetMonth, targetDate ) + '.'\n }*/\n }\n\n value = [ targetYear, targetMonth, targetDate ]\n }\n\n return value\n} //DatePicker.prototype.navigate\n\n\n/**\n * Normalize a date by setting the hours to midnight.\n */\nDatePicker.prototype.normalize = function( value/*, options*/ ) {\n value.setHours( 0, 0, 0, 0 )\n return value\n}\n\n\n/**\n * Measure the range of dates.\n */\nDatePicker.prototype.measure = function( type, value/*, options*/ ) {\n\n var calendar = this\n \n // If it's an integer, get a date relative to today.\n if ( _.isInteger( value ) ) {\n value = calendar.now( type, value, { rel: value } )\n }\n\n // If it’s anything false-y, remove the limits.\n else if ( !value ) {\n value = type == 'min' ? -Infinity : Infinity\n }\n\n // If it’s a string, parse it.\n else if ( typeof value == 'string' ) {\n value = calendar.parse( type, value )\n }\n\n return value\n} ///DatePicker.prototype.measure\n\n\n/**\n * Create a viewset object based on navigation.\n */\nDatePicker.prototype.viewset = function( type, dateObject/*, options*/ ) {\n return this.create([ dateObject.year, dateObject.month, 1 ])\n}\n\n\n/**\n * Validate a date as enabled and shift if needed.\n */\nDatePicker.prototype.validate = function( type, dateObject, options ) {\n\n var calendar = this,\n\n // Keep a reference to the original date.\n originalDateObject = dateObject,\n\n // Make sure we have an interval.\n interval = options && options.interval ? options.interval : 1,\n\n // Check if the calendar enabled dates are inverted.\n isFlippedBase = calendar.item.enable === -1,\n\n // Check if we have any enabled dates after/before now.\n hasEnabledBeforeTarget, hasEnabledAfterTarget,\n\n // The min & max limits.\n minLimitObject = calendar.item.min,\n maxLimitObject = calendar.item.max,\n\n // Check if we’ve reached the limit during shifting.\n reachedMin, reachedMax,\n\n // Check if the calendar is inverted and at least one weekday is enabled.\n hasEnabledWeekdays = isFlippedBase && calendar.item.disable.filter( function( value ) {\n\n // If there’s a date, check where it is relative to the target.\n if ( $.isArray( value ) ) {\n var dateTime = calendar.create( value ).pick\n if ( dateTime < dateObject.pick ) hasEnabledBeforeTarget = true\n else if ( dateTime > dateObject.pick ) hasEnabledAfterTarget = true\n }\n\n // Return only integers for enabled weekdays.\n return _.isInteger( value )\n }).length/*,\n\n safety = 100*/\n\n\n\n // Cases to validate for:\n // [1] Not inverted and date disabled.\n // [2] Inverted and some dates enabled.\n // [3] Not inverted and out of range.\n //\n // Cases to **not** validate for:\n // • Navigating months.\n // • Not inverted and date enabled.\n // • Inverted and all dates disabled.\n // • ..and anything else.\n if ( !options || (!options.nav && !options.defaultValue) ) if (\n /* 1 */ ( !isFlippedBase && calendar.disabled( dateObject ) ) ||\n /* 2 */ ( isFlippedBase && calendar.disabled( dateObject ) && ( hasEnabledWeekdays || hasEnabledBeforeTarget || hasEnabledAfterTarget ) ) ||\n /* 3 */ ( !isFlippedBase && (dateObject.pick <= minLimitObject.pick || dateObject.pick >= maxLimitObject.pick) )\n ) {\n\n\n // When inverted, flip the direction if there aren’t any enabled weekdays\n // and there are no enabled dates in the direction of the interval.\n if ( isFlippedBase && !hasEnabledWeekdays && ( ( !hasEnabledAfterTarget && interval > 0 ) || ( !hasEnabledBeforeTarget && interval < 0 ) ) ) {\n interval *= -1\n }\n\n\n // Keep looping until we reach an enabled date.\n while ( /*safety &&*/ calendar.disabled( dateObject ) ) {\n\n /*safety -= 1\n if ( !safety ) {\n throw 'Fell into an infinite loop while validating ' + dateObject.obj + '.'\n }*/\n\n\n // If we’ve looped into the next/prev month with a large interval, return to the original date and flatten the interval.\n if ( Math.abs( interval ) > 1 && ( dateObject.month < originalDateObject.month || dateObject.month > originalDateObject.month ) ) {\n dateObject = originalDateObject\n interval = interval > 0 ? 1 : -1\n }\n\n\n // If we’ve reached the min/max limit, reverse the direction, flatten the interval and set it to the limit.\n if ( dateObject.pick <= minLimitObject.pick ) {\n reachedMin = true\n interval = 1\n dateObject = calendar.create([\n minLimitObject.year,\n minLimitObject.month,\n minLimitObject.date + (dateObject.pick === minLimitObject.pick ? 0 : -1)\n ])\n }\n else if ( dateObject.pick >= maxLimitObject.pick ) {\n reachedMax = true\n interval = -1\n dateObject = calendar.create([\n maxLimitObject.year,\n maxLimitObject.month,\n maxLimitObject.date + (dateObject.pick === maxLimitObject.pick ? 0 : 1)\n ])\n }\n\n\n // If we’ve reached both limits, just break out of the loop.\n if ( reachedMin && reachedMax ) {\n break\n }\n\n\n // Finally, create the shifted date using the interval and keep looping.\n dateObject = calendar.create([ dateObject.year, dateObject.month, dateObject.date + interval ])\n }\n\n } //endif\n\n\n // Return the date object settled on.\n return dateObject\n} //DatePicker.prototype.validate\n\n\n/**\n * Check if a date is disabled.\n */\nDatePicker.prototype.disabled = function( dateToVerify ) {\n\n var\n calendar = this,\n\n // Filter through the disabled dates to check if this is one.\n isDisabledMatch = calendar.item.disable.filter( function( dateToDisable ) {\n\n // If the date is a number, match the weekday with 0index and `firstDay` check.\n if ( _.isInteger( dateToDisable ) ) {\n return dateToVerify.day === ( calendar.settings.firstDay ? dateToDisable : dateToDisable - 1 ) % 7\n }\n\n // If it’s an array or a native JS date, create and match the exact date.\n if ( $.isArray( dateToDisable ) || _.isDate( dateToDisable ) ) {\n return dateToVerify.pick === calendar.create( dateToDisable ).pick\n }\n\n // If it’s an object, match a date within the “from” and “to” range.\n if ( $.isPlainObject( dateToDisable ) ) {\n return calendar.withinRange( dateToDisable, dateToVerify )\n }\n })\n\n // If this date matches a disabled date, confirm it’s not inverted.\n isDisabledMatch = isDisabledMatch.length && !isDisabledMatch.filter(function( dateToDisable ) {\n return $.isArray( dateToDisable ) && dateToDisable[3] == 'inverted' ||\n $.isPlainObject( dateToDisable ) && dateToDisable.inverted\n }).length\n\n // Check the calendar “enabled” flag and respectively flip the\n // disabled state. Then also check if it’s beyond the min/max limits.\n return calendar.item.enable === -1 ? !isDisabledMatch : isDisabledMatch ||\n dateToVerify.pick < calendar.item.min.pick ||\n dateToVerify.pick > calendar.item.max.pick\n\n} //DatePicker.prototype.disabled\n\n\n/**\n * Parse a string into a usable type.\n */\nDatePicker.prototype.parse = function( type, value, options ) {\n\n var calendar = this,\n parsingObject = {}\n\n // If it’s already parsed, we’re good.\n if ( !value || typeof value != 'string' ) {\n return value\n }\n\n // We need a `.format` to parse the value with.\n if ( !( options && options.format ) ) {\n options = options || {}\n options.format = calendar.settings.format\n }\n\n // Convert the format into an array and then map through it.\n calendar.formats.toArray( options.format ).map( function( label ) {\n\n var\n // Grab the formatting label.\n formattingLabel = calendar.formats[ label ],\n\n // The format length is from the formatting label function or the\n // label length without the escaping exclamation (!) mark.\n formatLength = formattingLabel ? _.trigger( formattingLabel, calendar, [ value, parsingObject ] ) : label.replace( /^!/, '' ).length\n\n // If there's a format label, split the value up to the format length.\n // Then add it to the parsing object with appropriate label.\n if ( formattingLabel ) {\n parsingObject[ label ] = value.substr( 0, formatLength )\n }\n\n // Update the value as the substring from format length to end.\n value = value.substr( formatLength )\n })\n\n // Compensate for month 0index.\n return [\n parsingObject.yyyy || parsingObject.yy,\n +( parsingObject.mm || parsingObject.m ) - 1,\n parsingObject.dd || parsingObject.d\n ]\n} //DatePicker.prototype.parse\n\n\n/**\n * Various formats to display the object in.\n */\nDatePicker.prototype.formats = (function() {\n\n // Return the length of the first word in a collection.\n function getWordLengthFromCollection( string, collection, dateObject ) {\n\n // Grab the first word from the string.\n // Regex pattern from http://stackoverflow.com/q/150033\n var word = string.match( /[^\\x00-\\x7F]+|\\w+/ )[ 0 ]\n\n // If there's no month index, add it to the date object\n if ( !dateObject.mm && !dateObject.m ) {\n dateObject.m = collection.indexOf( word ) + 1\n }\n\n // Return the length of the word.\n return word.length\n }\n\n // Get the length of the first word in a string.\n function getFirstWordLength( string ) {\n return string.match( /\\w+/ )[ 0 ].length\n }\n\n return {\n\n d: function( string, dateObject ) {\n\n // If there's string, then get the digits length.\n // Otherwise return the selected date.\n return string ? _.digits( string ) : dateObject.date\n },\n dd: function( string, dateObject ) {\n\n // If there's a string, then the length is always 2.\n // Otherwise return the selected date with a leading zero.\n return string ? 2 : _.lead( dateObject.date )\n },\n ddd: function( string, dateObject ) {\n\n // If there's a string, then get the length of the first word.\n // Otherwise return the short selected weekday.\n return string ? getFirstWordLength( string ) : this.settings.weekdaysShort[ dateObject.day ]\n },\n dddd: function( string, dateObject ) {\n\n // If there's a string, then get the length of the first word.\n // Otherwise return the full selected weekday.\n return string ? getFirstWordLength( string ) : this.settings.weekdaysFull[ dateObject.day ]\n },\n m: function( string, dateObject ) {\n\n // If there's a string, then get the length of the digits\n // Otherwise return the selected month with 0index compensation.\n return string ? _.digits( string ) : dateObject.month + 1\n },\n mm: function( string, dateObject ) {\n\n // If there's a string, then the length is always 2.\n // Otherwise return the selected month with 0index and leading zero.\n return string ? 2 : _.lead( dateObject.month + 1 )\n },\n mmm: function( string, dateObject ) {\n\n var collection = this.settings.monthsShort\n\n // If there's a string, get length of the relevant month from the short\n // months collection. Otherwise return the selected month from that collection.\n return string ? getWordLengthFromCollection( string, collection, dateObject ) : collection[ dateObject.month ]\n },\n mmmm: function( string, dateObject ) {\n\n var collection = this.settings.monthsFull\n\n // If there's a string, get length of the relevant month from the full\n // months collection. Otherwise return the selected month from that collection.\n return string ? getWordLengthFromCollection( string, collection, dateObject ) : collection[ dateObject.month ]\n },\n yy: function( string, dateObject ) {\n\n // If there's a string, then the length is always 2.\n // Otherwise return the selected year by slicing out the first 2 digits.\n return string ? 2 : ( '' + dateObject.year ).slice( 2 )\n },\n yyyy: function( string, dateObject ) {\n\n // If there's a string, then the length is always 4.\n // Otherwise return the selected year.\n return string ? 4 : dateObject.year\n },\n\n // Create an array by splitting the formatting string passed.\n toArray: function( formatString ) { return formatString.split( /(d{1,4}|m{1,4}|y{4}|yy|!.)/g ) },\n\n // Format an object into a string using the formatting options.\n toString: function ( formatString, itemObject ) {\n var calendar = this\n return calendar.formats.toArray( formatString ).map( function( label ) {\n return _.trigger( calendar.formats[ label ], calendar, [ 0, itemObject ] ) || label.replace( /^!/, '' )\n }).join( '' )\n }\n }\n})() //DatePicker.prototype.formats\n\n\n\n\n/**\n * Check if two date units are the exact.\n */\nDatePicker.prototype.isDateExact = function( one, two ) {\n\n var calendar = this\n\n // When we’re working with weekdays, do a direct comparison.\n if (\n ( _.isInteger( one ) && _.isInteger( two ) ) ||\n ( typeof one == 'boolean' && typeof two == 'boolean' )\n ) {\n return one === two\n }\n\n // When we’re working with date representations, compare the “pick” value.\n if (\n ( _.isDate( one ) || $.isArray( one ) ) &&\n ( _.isDate( two ) || $.isArray( two ) )\n ) {\n return calendar.create( one ).pick === calendar.create( two ).pick\n }\n\n // When we’re working with range objects, compare the “from” and “to”.\n if ( $.isPlainObject( one ) && $.isPlainObject( two ) ) {\n return calendar.isDateExact( one.from, two.from ) && calendar.isDateExact( one.to, two.to )\n }\n\n return false\n}\n\n\n/**\n * Check if two date units overlap.\n */\nDatePicker.prototype.isDateOverlap = function( one, two ) {\n\n var calendar = this,\n firstDay = calendar.settings.firstDay ? 1 : 0\n\n // When we’re working with a weekday index, compare the days.\n if ( _.isInteger( one ) && ( _.isDate( two ) || $.isArray( two ) ) ) {\n one = one % 7 + firstDay\n return one === calendar.create( two ).day + 1\n }\n if ( _.isInteger( two ) && ( _.isDate( one ) || $.isArray( one ) ) ) {\n two = two % 7 + firstDay\n return two === calendar.create( one ).day + 1\n }\n\n // When we’re working with range objects, check if the ranges overlap.\n if ( $.isPlainObject( one ) && $.isPlainObject( two ) ) {\n return calendar.overlapRanges( one, two )\n }\n\n return false\n}\n\n\n/**\n * Flip the “enabled” state.\n */\nDatePicker.prototype.flipEnable = function(val) {\n var itemObject = this.item\n itemObject.enable = val || (itemObject.enable == -1 ? 1 : -1)\n}\n\n\n/**\n * Mark a collection of dates as “disabled”.\n */\nDatePicker.prototype.deactivate = function( type, datesToDisable ) {\n\n var calendar = this,\n disabledItems = calendar.item.disable.slice(0)\n\n\n // If we’re flipping, that’s all we need to do.\n if ( datesToDisable == 'flip' ) {\n calendar.flipEnable()\n }\n\n else if ( datesToDisable === false ) {\n calendar.flipEnable(1)\n disabledItems = []\n }\n\n else if ( datesToDisable === true ) {\n calendar.flipEnable(-1)\n disabledItems = []\n }\n\n // Otherwise go through the dates to disable.\n else {\n\n datesToDisable.map(function( unitToDisable ) {\n\n var matchFound\n\n // When we have disabled items, check for matches.\n // If something is matched, immediately break out.\n for ( var index = 0; index < disabledItems.length; index += 1 ) {\n if ( calendar.isDateExact( unitToDisable, disabledItems[index] ) ) {\n matchFound = true\n break\n }\n }\n\n // If nothing was found, add the validated unit to the collection.\n if ( !matchFound ) {\n if (\n _.isInteger( unitToDisable ) ||\n _.isDate( unitToDisable ) ||\n $.isArray( unitToDisable ) ||\n ( $.isPlainObject( unitToDisable ) && unitToDisable.from && unitToDisable.to )\n ) {\n disabledItems.push( unitToDisable )\n }\n }\n })\n }\n\n // Return the updated collection.\n return disabledItems\n} //DatePicker.prototype.deactivate\n\n\n/**\n * Mark a collection of dates as “enabled”.\n */\nDatePicker.prototype.activate = function( type, datesToEnable ) {\n\n var calendar = this,\n disabledItems = calendar.item.disable,\n disabledItemsCount = disabledItems.length\n\n // If we’re flipping, that’s all we need to do.\n if ( datesToEnable == 'flip' ) {\n calendar.flipEnable()\n }\n\n else if ( datesToEnable === true ) {\n calendar.flipEnable(1)\n disabledItems = []\n }\n\n else if ( datesToEnable === false ) {\n calendar.flipEnable(-1)\n disabledItems = []\n }\n\n // Otherwise go through the disabled dates.\n else {\n\n datesToEnable.map(function( unitToEnable ) {\n\n var matchFound,\n disabledUnit,\n index,\n isExactRange\n\n // Go through the disabled items and try to find a match.\n for ( index = 0; index < disabledItemsCount; index += 1 ) {\n\n disabledUnit = disabledItems[index]\n\n // When an exact match is found, remove it from the collection.\n if ( calendar.isDateExact( disabledUnit, unitToEnable ) ) {\n matchFound = disabledItems[index] = null\n isExactRange = true\n break\n }\n\n // When an overlapped match is found, add the “inverted” state to it.\n else if ( calendar.isDateOverlap( disabledUnit, unitToEnable ) ) {\n if ( $.isPlainObject( unitToEnable ) ) {\n unitToEnable.inverted = true\n matchFound = unitToEnable\n }\n else if ( $.isArray( unitToEnable ) ) {\n matchFound = unitToEnable\n if ( !matchFound[3] ) matchFound.push( 'inverted' )\n }\n else if ( _.isDate( unitToEnable ) ) {\n matchFound = [ unitToEnable.getFullYear(), unitToEnable.getMonth(), unitToEnable.getDate(), 'inverted' ]\n }\n break\n }\n }\n\n // If a match was found, remove a previous duplicate entry.\n if ( matchFound ) for ( index = 0; index < disabledItemsCount; index += 1 ) {\n if ( calendar.isDateExact( disabledItems[index], unitToEnable ) ) {\n disabledItems[index] = null\n break\n }\n }\n\n // In the event that we’re dealing with an exact range of dates,\n // make sure there are no “inverted” dates because of it.\n if ( isExactRange ) for ( index = 0; index < disabledItemsCount; index += 1 ) {\n if ( calendar.isDateOverlap( disabledItems[index], unitToEnable ) ) {\n disabledItems[index] = null\n break\n }\n }\n\n // If something is still matched, add it into the collection.\n if ( matchFound ) {\n disabledItems.push( matchFound )\n }\n })\n }\n\n // Return the updated collection.\n return disabledItems.filter(function( val ) { return val != null })\n} //DatePicker.prototype.activate\n\n\n/**\n * Create a string for the nodes in the picker.\n */\nDatePicker.prototype.nodes = function( isOpen ) {\n\n var\n calendar = this,\n settings = calendar.settings,\n calendarItem = calendar.item,\n nowObject = calendarItem.now,\n selectedObject = calendarItem.select,\n highlightedObject = calendarItem.highlight,\n viewsetObject = calendarItem.view,\n disabledCollection = calendarItem.disable,\n minLimitObject = calendarItem.min,\n maxLimitObject = calendarItem.max,\n\n\n // Create the calendar table head using a copy of weekday labels collection.\n // * We do a copy so we don't mutate the original array.\n tableHead = (function( collection, fullCollection ) {\n\n // If the first day should be Monday, move Sunday to the end.\n if ( settings.firstDay ) {\n collection.push( collection.shift() )\n fullCollection.push( fullCollection.shift() )\n }\n\n // Create and return the table head group.\n return _.node(\n 'thead',\n _.node(\n 'tr',\n _.group({\n min: 0,\n max: DAYS_IN_WEEK - 1,\n i: 1,\n node: 'th',\n item: function( counter ) {\n return [\n collection[ counter ],\n settings.klass.weekdays,\n 'scope=col title=\"' + fullCollection[ counter ] + '\"'\n ]\n }\n })\n )\n ) //endreturn\n })( ( settings.showWeekdaysFull ? settings.weekdaysFull : settings.weekdaysShort ).slice( 0 ), settings.weekdaysFull.slice( 0 ) ), //tableHead\n\n\n // Create the nav for next/prev month.\n createMonthNav = function( next ) {\n\n // Otherwise, return the created month tag.\n return _.node(\n 'div',\n ' ',\n settings.klass[ 'nav' + ( next ? 'Next' : 'Prev' ) ] + (\n\n // If the focused month is outside the range, disabled the button.\n ( next && viewsetObject.year >= maxLimitObject.year && viewsetObject.month >= maxLimitObject.month ) ||\n ( !next && viewsetObject.year <= minLimitObject.year && viewsetObject.month <= minLimitObject.month ) ?\n ' ' + settings.klass.navDisabled : ''\n ),\n 'data-nav=' + ( next || -1 ) + ' ' +\n _.ariaAttr({\n role: 'button',\n controls: calendar.$node[0].id + '_table'\n }) + ' ' +\n 'title=\"' + (next ? settings.labelMonthNext : settings.labelMonthPrev ) + '\"'\n ) //endreturn\n }, //createMonthNav\n\n\n // Create the month label.\n createMonthLabel = function() {\n\n var monthsCollection = settings.showMonthsShort ? settings.monthsShort : settings.monthsFull\n\n // If there are months to select, add a dropdown menu.\n if ( settings.selectMonths ) {\n\n return _.node( 'select',\n _.group({\n min: 0,\n max: 11,\n i: 1,\n node: 'option',\n item: function( loopedMonth ) {\n\n return [\n\n // The looped month and no classes.\n monthsCollection[ loopedMonth ], 0,\n\n // Set the value and selected index.\n 'value=' + loopedMonth +\n ( viewsetObject.month == loopedMonth ? ' selected' : '' ) +\n (\n (\n ( viewsetObject.year == minLimitObject.year && loopedMonth < minLimitObject.month ) ||\n ( viewsetObject.year == maxLimitObject.year && loopedMonth > maxLimitObject.month )\n ) ?\n ' disabled' : ''\n )\n ]\n }\n }),\n settings.klass.selectMonth,\n ( isOpen ? '' : 'disabled' ) + ' ' +\n _.ariaAttr({ controls: calendar.$node[0].id + '_table' }) + ' ' +\n 'title=\"' + settings.labelMonthSelect + '\"'\n )\n }\n\n // If there's a need for a month selector\n return _.node( 'div', monthsCollection[ viewsetObject.month ], settings.klass.month )\n }, //createMonthLabel\n\n\n // Create the year label.\n createYearLabel = function() {\n\n var focusedYear = viewsetObject.year,\n\n // If years selector is set to a literal \"true\", set it to 5. Otherwise\n // divide in half to get half before and half after focused year.\n numberYears = settings.selectYears === true ? 5 : ~~( settings.selectYears / 2 )\n\n // If there are years to select, add a dropdown menu.\n if ( numberYears ) {\n\n var\n minYear = minLimitObject.year,\n maxYear = maxLimitObject.year,\n lowestYear = focusedYear - numberYears,\n highestYear = focusedYear + numberYears\n\n // If the min year is greater than the lowest year, increase the highest year\n // by the difference and set the lowest year to the min year.\n if ( minYear > lowestYear ) {\n highestYear += minYear - lowestYear\n lowestYear = minYear\n }\n\n // If the max year is less than the highest year, decrease the lowest year\n // by the lower of the two: available and needed years. Then set the\n // highest year to the max year.\n if ( maxYear < highestYear ) {\n\n var availableYears = lowestYear - minYear,\n neededYears = highestYear - maxYear\n\n lowestYear -= availableYears > neededYears ? neededYears : availableYears\n highestYear = maxYear\n }\n\n return _.node( 'select',\n _.group({\n min: lowestYear,\n max: highestYear,\n i: 1,\n node: 'option',\n item: function( loopedYear ) {\n return [\n\n // The looped year and no classes.\n loopedYear, 0,\n\n // Set the value and selected index.\n 'value=' + loopedYear + ( focusedYear == loopedYear ? ' selected' : '' )\n ]\n }\n }),\n settings.klass.selectYear,\n ( isOpen ? '' : 'disabled' ) + ' ' + _.ariaAttr({ controls: calendar.$node[0].id + '_table' }) + ' ' +\n 'title=\"' + settings.labelYearSelect + '\"'\n )\n }\n\n // Otherwise just return the year focused\n return _.node( 'div', focusedYear, settings.klass.year )\n } //createYearLabel\n\n\n // Create and return the entire calendar.\n return _.node(\n 'div',\n ( settings.selectYears ? createYearLabel() + createMonthLabel() : createMonthLabel() + createYearLabel() ) +\n createMonthNav() + createMonthNav( 1 ),\n settings.klass.header\n ) + _.node(\n 'table',\n tableHead +\n _.node(\n 'tbody',\n _.group({\n min: 0,\n max: WEEKS_IN_CALENDAR - 1,\n i: 1,\n node: 'tr',\n item: function( rowCounter ) {\n\n // If Monday is the first day and the month starts on Sunday, shift the date back a week.\n var shiftDateBy = settings.firstDay && calendar.create([ viewsetObject.year, viewsetObject.month, 1 ]).day === 0 ? -7 : 0\n\n return [\n _.group({\n min: DAYS_IN_WEEK * rowCounter - viewsetObject.day + shiftDateBy + 1, // Add 1 for weekday 0index\n max: function() {\n return this.min + DAYS_IN_WEEK - 1\n },\n i: 1,\n node: 'td',\n item: function( targetDate ) {\n\n // Convert the time date from a relative date to a target date.\n targetDate = calendar.create([ viewsetObject.year, viewsetObject.month, targetDate + ( settings.firstDay ? 1 : 0 ) ])\n\n var isSelected = selectedObject && selectedObject.pick == targetDate.pick,\n isHighlighted = highlightedObject && highlightedObject.pick == targetDate.pick,\n isDisabled = disabledCollection && calendar.disabled( targetDate ) || targetDate.pick < minLimitObject.pick || targetDate.pick > maxLimitObject.pick,\n formattedDate = _.trigger( calendar.formats.toString, calendar, [ settings.format, targetDate ] )\n\n return [\n _.node(\n 'div',\n targetDate.date,\n (function( klasses ) {\n\n // Add the `infocus` or `outfocus` classes based on month in view.\n klasses.push( viewsetObject.month == targetDate.month ? settings.klass.infocus : settings.klass.outfocus )\n\n // Add the `today` class if needed.\n if ( nowObject.pick == targetDate.pick ) {\n klasses.push( settings.klass.now )\n }\n\n // Add the `selected` class if something's selected and the time matches.\n if ( isSelected ) {\n klasses.push( settings.klass.selected )\n }\n\n // Add the `highlighted` class if something's highlighted and the time matches.\n if ( isHighlighted ) {\n klasses.push( settings.klass.highlighted )\n }\n\n // Add the `disabled` class if something's disabled and the object matches.\n if ( isDisabled ) {\n klasses.push( settings.klass.disabled )\n }\n\n return klasses.join( ' ' )\n })([ settings.klass.day ]),\n 'data-pick=' + targetDate.pick + ' ' + _.ariaAttr({\n role: 'gridcell',\n label: formattedDate,\n selected: isSelected && calendar.$node.val() === formattedDate ? true : null,\n activedescendant: isHighlighted ? true : null,\n disabled: isDisabled ? true : null\n })\n ),\n '',\n _.ariaAttr({ role: 'presentation' })\n ] //endreturn\n }\n })\n ] //endreturn\n }\n })\n ),\n settings.klass.table,\n 'id=\"' + calendar.$node[0].id + '_table' + '\" ' + _.ariaAttr({\n role: 'grid',\n controls: calendar.$node[0].id,\n readonly: true\n })\n ) +\n\n // * For Firefox forms to submit, make sure to set the buttons’ `type` attributes as “button”.\n _.node(\n 'div',\n _.node( 'button', settings.today, settings.klass.buttonToday,\n 'type=button data-pick=' + nowObject.pick +\n ( isOpen && !calendar.disabled(nowObject) ? '' : ' disabled' ) + ' ' +\n _.ariaAttr({ controls: calendar.$node[0].id }) ) +\n _.node( 'button', settings.clear, settings.klass.buttonClear,\n 'type=button data-clear=1' +\n ( isOpen ? '' : ' disabled' ) + ' ' +\n _.ariaAttr({ controls: calendar.$node[0].id }) ) +\n _.node('button', settings.close, settings.klass.buttonClose,\n 'type=button data-close=true ' +\n ( isOpen ? '' : ' disabled' ) + ' ' +\n _.ariaAttr({ controls: calendar.$node[0].id }) ),\n settings.klass.footer\n ) //endreturn\n} //DatePicker.prototype.nodes\n\n\n\n\n/**\n * The date picker defaults.\n */\nDatePicker.defaults = (function( prefix ) {\n\n return {\n\n // The title label to use for the month nav buttons\n labelMonthNext: 'Next month',\n labelMonthPrev: 'Previous month',\n\n // The title label to use for the dropdown selectors\n labelMonthSelect: 'Select a month',\n labelYearSelect: 'Select a year',\n\n // Months and weekdays\n monthsFull: [ 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December' ],\n monthsShort: [ 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec' ],\n weekdaysFull: [ 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday' ],\n weekdaysShort: [ 'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat' ],\n\n // Today and clear\n today: 'Today',\n clear: 'Clear',\n close: 'Close',\n\n // Picker close behavior\n closeOnSelect: true,\n closeOnClear: true,\n\n // Update input value on select/clear\n updateInput: true,\n\n // The format to show on the `input` element\n format: 'd mmmm, yyyy',\n\n // Classes\n klass: {\n\n table: prefix + 'table',\n\n header: prefix + 'header',\n\n navPrev: prefix + 'nav--prev',\n navNext: prefix + 'nav--next',\n navDisabled: prefix + 'nav--disabled',\n\n month: prefix + 'month',\n year: prefix + 'year',\n\n selectMonth: prefix + 'select--month',\n selectYear: prefix + 'select--year',\n\n weekdays: prefix + 'weekday',\n\n day: prefix + 'day',\n disabled: prefix + 'day--disabled',\n selected: prefix + 'day--selected',\n highlighted: prefix + 'day--highlighted',\n now: prefix + 'day--today',\n infocus: prefix + 'day--infocus',\n outfocus: prefix + 'day--outfocus',\n\n footer: prefix + 'footer',\n\n buttonClear: prefix + 'button--clear',\n buttonToday: prefix + 'button--today',\n buttonClose: prefix + 'button--close'\n }\n }\n})( Picker.klasses().picker + '__' )\n\n\n\n\n\n/**\n * Extend the picker to add the date picker.\n */\nPicker.extend( 'pickadate', DatePicker )\n\n\n}));\n\n\n\n","import '../../../node_modules/pickadate/lib/picker.date.js'\nimport $ from 'jquery'\nimport Util from './util'\n\n/*\n * Date picker plugin extends `pickadate.js` by Amsul\n */\n\nconst PickDate = (($) => {\n // constants >>>\n const DATA_KEY = 'md.pickdate'\n const NAME = 'pickdate'\n const NO_CONFLICT = $.fn[NAME]\n\n const Default = {\n cancel : 'Cancel',\n closeOnCancel : true,\n closeOnSelect : false,\n container : '',\n containerHidden : '',\n disable : [],\n firstDay : 0,\n format : 'd/m/yyyy',\n formatSubmit : '',\n hiddenName : false,\n hiddenPrefix : '',\n hiddenSuffix : '',\n klass : {\n // button\n buttonClear : 'btn btn-flat-primary picker-button-clear',\n buttonClose : 'btn btn-flat-primary picker-button-close',\n buttonToday : 'btn btn-flat-primary picker-button-today',\n\n // day\n day : 'picker-day',\n disabled : 'picker-day-disabled',\n highlighted : 'picker-day-highlighted',\n infocus : 'picker-day-infocus',\n now : 'picker-day-today',\n outfocus : 'picker-day-outfocus',\n selected : 'picker-day-selected',\n weekdays : 'picker-weekday',\n\n // element\n box : 'picker-box',\n footer : 'picker-footer',\n frame : 'picker-frame',\n header : 'picker-header',\n holder : 'picker-holder',\n table : 'picker-table',\n wrap : 'picker-wrap',\n\n // input element\n active : 'picker-input-active',\n input : 'picker-input',\n\n // month and year nav\n month : 'picker-month',\n navDisabled : 'picker-nav-disabled',\n navNext : 'material-icons picker-nav-next',\n navPrev : 'material-icons picker-nav-prev',\n selectMonth : 'picker-select-month',\n selectYear : 'picker-select-year',\n year : 'picker-year',\n\n // root picker\n focused : 'picker-focused',\n opened : 'picker-opened',\n picker : 'picker'\n },\n labelMonthNext : 'Next month',\n labelMonthPrev : 'Previous month',\n labelMonthSelect : 'Choose a month',\n labelYearSelect : 'Choose a year',\n max : false,\n min : false,\n monthsFull : ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],\n monthsShort : ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\n ok : 'OK',\n onClose : () => {\n // Do nothing\n },\n onOpen : () => {\n // Do nothing\n },\n onRender : () => {\n // Do nothing\n },\n onSet : () => {\n // Do nothing\n },\n onStart : () => {\n // Do nothing\n },\n onStop : () => {\n // Do nothing\n },\n selectMonths : false,\n selectYears : false,\n today : '',\n weekdaysFull : ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n weekdaysShort : ['S', 'M', 'T', 'W', 'T', 'F', 'S']\n }\n\n const DefaultType = {\n cancel : 'string',\n closeOnCancel : 'boolean',\n closeOnSelect : 'boolean',\n container : 'string',\n containerHidden : 'string',\n disable : 'array',\n firstDay : 'number',\n format : 'string',\n formatSubmit : 'string',\n hiddenName : 'boolean',\n hiddenPrefix : 'string',\n hiddenSuffix : 'string',\n klass : 'object',\n labelMonthNext : 'string',\n labelMonthPrev : 'string',\n labelMonthSelect : 'string',\n labelYearSelect : 'string',\n max : 'boolean || date',\n min : 'boolean || date',\n monthsFull : 'array',\n monthsShort : 'array',\n ok : 'string',\n onClose : 'function',\n onOpen : 'function',\n onRender : 'function',\n onSet : 'function',\n onStart : 'function',\n onStop : 'function',\n selectMonths : 'boolean',\n selectYears : 'boolean || number',\n today : 'string',\n weekdaysFull : 'array',\n weekdaysShort : 'array'\n }\n\n class PickDate {\n constructor(element, config) {\n this._config = this._getConfig(config)\n this._element = element\n }\n\n display(datepickerApi, datepickerRoot, datepickerValue) {\n $('.picker-date-display', datepickerRoot).remove()\n\n $('.picker-wrap', datepickerRoot).prepend(`
${datepickerApi.get(datepickerValue, 'yyyy')}
${datepickerApi.get(datepickerValue, 'dddd')}${datepickerApi.get(datepickerValue, 'mmm')}${datepickerApi.get(datepickerValue, 'd')}
`)\n }\n\n show() {\n $(this._element).pickadate({\n clear : this._config.cancel,\n close : this._config.ok,\n closeOnClear : this._config.closeOnCancel,\n closeOnSelect : this._config.closeOnSelect,\n container : this._config.container,\n containerHidden : this._config.containerHidden,\n disable : this._config.disable,\n firstDay : this._config.firstDay,\n format : this._config.format,\n formatSubmit : this._config.formatSubmit,\n klass : this._config.klass,\n hiddenName : this._config.hiddenName,\n hiddenPrefix : this._config.hiddenPrefix,\n hiddenSuffix : this._config.hiddenSuffix,\n labelMonthNext : this._config.labelMonthNext,\n labelMonthPrev : this._config.labelMonthPrev,\n labelMonthSelect : this._config.labelMonthSelect,\n labelYearSelect : this._config.labelYearSelect,\n max : this._config.max,\n min : this._config.min,\n monthsFull : this._config.monthsFull,\n monthsShort : this._config.monthsShort,\n onClose : this._config.onClose,\n onOpen : this._config.onOpen,\n onRender : this._config.onRender,\n onSet : this._config.onSet,\n onStart : this._config.onStart,\n onStop : this._config.onStop,\n selectMonths : this._config.selectMonths,\n selectYears : this._config.selectYears,\n today : this._config.today,\n weekdaysFull : this._config.weekdaysFull,\n weekdaysShort : this._config.weekdaysShort\n })\n\n const datepickerApi = $(this._element).pickadate('picker')\n const datepickerRoot = datepickerApi.$root\n\n datepickerApi.on({\n close: () => {\n $(document.activeElement).blur()\n },\n open: () => {\n if (!$('.picker__date-display', datepickerRoot).length) {\n this.display(datepickerApi, datepickerRoot, 'highlight')\n }\n },\n set: () => {\n if (datepickerApi.get('select') !== null) {\n this.display(datepickerApi, datepickerRoot, 'select')\n }\n }\n })\n }\n\n _getConfig(config) {\n config = {\n ...Default,\n ...config\n }\n\n Util.typeCheckConfig(NAME, config, DefaultType)\n\n return config\n }\n\n static _jQueryInterface(config) {\n return this.each(function () {\n const _config = {\n ...Default,\n ...$(this).data(),\n ...typeof config === 'object' && config ? config : {}\n }\n\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = new PickDate(this, _config)\n\n $(this).data(DATA_KEY, data)\n }\n\n data.show()\n })\n }\n }\n\n $.fn[NAME] = PickDate._jQueryInterface\n $.fn[NAME].Constructor = PickDate\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = NO_CONFLICT\n\n return PickDate._jQueryInterface\n }\n})($)\n\nexport default PickDate\n","export var defaultOptions = {\n className: '',\n color: 'currentcolor',\n opacity: .1,\n spreadingDuration: '.4s',\n spreadingDelay: '0s',\n spreadingTimingFunction: 'linear',\n clearing: true,\n clearingDuration: '1s',\n clearingDelay: '0s',\n clearingTimingFunction: 'ease-in-out',\n centered: false,\n appendTo: 'body',\n};\nvar target2container2ripplet = new Map();\nvar copyStyles = function (destination, source, properties) {\n for (var _i = 0, properties_1 = properties; _i < properties_1.length; _i++) {\n var property = properties_1[_i];\n destination[property] = source[property];\n }\n};\nfunction ripplet(_a, _options) {\n var currentTarget = _a.currentTarget, clientX = _a.clientX, clientY = _a.clientY;\n if (!(currentTarget instanceof Element)) {\n return;\n }\n var options = _options\n ? Object.keys(defaultOptions).reduce(function (merged, field) { return (merged[field] = _options.hasOwnProperty(field) ? _options[field] : defaultOptions[field], merged); }, {})\n : defaultOptions;\n var targetRect = currentTarget.getBoundingClientRect();\n if (options.centered && options.centered !== 'false') {\n clientX = targetRect.left + targetRect.width * .5;\n clientY = targetRect.top + targetRect.height * .5;\n }\n else if (typeof clientX !== 'number' || typeof clientY !== 'number') {\n return;\n }\n var targetStyle = getComputedStyle(currentTarget);\n var documentElement = document.documentElement, body = document.body;\n var containerElement = document.createElement('div');\n var appendToParent = options.appendTo === 'parent';\n var removingElement = containerElement;\n {\n var containerStyle = containerElement.style;\n if (targetStyle.position === 'fixed' || (targetStyle.position === 'absolute' && appendToParent)) {\n if (appendToParent) {\n currentTarget.parentElement.insertBefore(containerElement, currentTarget);\n }\n else {\n body.appendChild(containerElement);\n }\n copyStyles(containerStyle, targetStyle, ['position', 'left', 'top', 'right', 'bottom', 'marginLeft', 'marginTop', 'marginRight', 'marginBottom']);\n }\n else if (appendToParent) {\n var parentStyle = getComputedStyle(currentTarget.parentElement);\n if (parentStyle.display === 'flex' || parentStyle.display === 'inline-flex') {\n currentTarget.parentElement.insertBefore(containerElement, currentTarget);\n containerStyle.position = 'absolute';\n containerStyle.left = currentTarget.offsetLeft + \"px\";\n containerStyle.top = currentTarget.offsetTop + \"px\";\n }\n else {\n var containerContainer = removingElement\n = currentTarget.parentElement.insertBefore(document.createElement('div'), currentTarget);\n var containerContainerStyle = containerContainer.style;\n containerContainerStyle.display = 'inline-block';\n containerContainerStyle.position = 'relative';\n containerContainerStyle.width = containerContainerStyle.height\n = '0';\n containerContainerStyle.cssFloat = targetStyle.cssFloat;\n var containerContainerRect = containerContainer.getBoundingClientRect(); // this may be a slow operation...\n containerContainer.appendChild(containerElement);\n containerStyle.position = 'absolute';\n containerStyle.top = targetRect.top - containerContainerRect.top + \"px\";\n containerStyle.left = targetRect.left - containerContainerRect.left + \"px\";\n }\n }\n else {\n body.appendChild(containerElement);\n containerStyle.position = 'absolute';\n containerStyle.left = targetRect.left + documentElement.scrollLeft + body.scrollLeft + \"px\";\n containerStyle.top = targetRect.top + documentElement.scrollTop + body.scrollTop + \"px\";\n }\n containerStyle.overflow = 'hidden';\n containerStyle.pointerEvents = 'none';\n containerStyle.width = targetRect.width + \"px\";\n containerStyle.height = targetRect.height + \"px\";\n containerStyle.zIndex = (+targetStyle.zIndex || 0) + 1;\n containerStyle.opacity = options.opacity;\n copyStyles(containerStyle, targetStyle, ['borderTopLeftRadius', 'borderTopRightRadius', 'borderBottomLeftRadius', 'borderBottomRightRadius', 'webkitClipPath', 'clipPath']);\n }\n {\n var distanceX = Math.max(clientX - targetRect.left, targetRect.right - clientX);\n var distanceY = Math.max(clientY - targetRect.top, targetRect.bottom - clientY);\n var radius = Math.sqrt(distanceX * distanceX + distanceY * distanceY);\n var rippletElement = containerElement.appendChild(document.createElement('div'));\n var rippletStyle = rippletElement.style;\n rippletElement.className = options.className;\n rippletStyle.backgroundColor = /^currentcolor$/i.test(options.color) ? targetStyle.color : options.color;\n rippletStyle.width = rippletStyle.height\n = radius * 2 + \"px\";\n if (getComputedStyle(appendToParent ? currentTarget.parentElement : body).direction === 'rtl') {\n rippletStyle.marginRight = targetRect.right - clientX - radius + \"px\";\n }\n else {\n rippletStyle.marginLeft = clientX - targetRect.left - radius + \"px\";\n }\n rippletStyle.marginTop = clientY - targetRect.top - radius + \"px\";\n rippletStyle.borderRadius = '50%';\n rippletStyle.transition =\n \"transform \" + options.spreadingDuration + \" \" + options.spreadingTimingFunction + \" \" + options.spreadingDelay + \",opacity \" + options.clearingDuration + \" \" + options.clearingTimingFunction + \" \" + options.clearingDelay;\n rippletStyle.transform = 'scale(0)';\n // reflect styles by force layout\n // tslint:disable-next-line:no-unused-expression\n rippletElement.offsetTop;\n rippletStyle.transform = '';\n rippletElement.addEventListener('transitionend', function (event) {\n if (event.propertyName === 'opacity' && removingElement.parentElement) {\n removingElement.parentElement.removeChild(removingElement);\n }\n });\n if (options.clearing && options.clearing !== 'false') {\n rippletStyle.opacity = '0';\n }\n else {\n var container2ripplet = target2container2ripplet.get(currentTarget);\n if (!container2ripplet) {\n target2container2ripplet.set(currentTarget, container2ripplet = new Map());\n }\n container2ripplet.set(containerElement, rippletElement);\n }\n }\n return containerElement;\n}\nripplet.clear = function (targetElement, rippletContainerElement) {\n if (targetElement) {\n var container2ripplet = target2container2ripplet.get(targetElement);\n if (container2ripplet) {\n if (rippletContainerElement) {\n var rippletElement = container2ripplet.get(rippletContainerElement);\n rippletElement && (rippletElement.style.opacity = '0');\n container2ripplet.delete(rippletContainerElement);\n container2ripplet.size === 0 && target2container2ripplet.delete(targetElement);\n }\n else {\n container2ripplet.forEach(function (r) { return r.style.opacity = '0'; });\n target2container2ripplet.delete(targetElement);\n }\n }\n }\n else {\n target2container2ripplet.forEach(function (container2ripplet) { return container2ripplet.forEach(function (r) { return r.style.opacity = '0'; }); });\n target2container2ripplet.clear();\n }\n};\nripplet.defaultOptions = defaultOptions;\nripplet._ripplets = target2container2ripplet;\nexport default ripplet;\n","import ripplet,\n{\n defaultOptions\n} from 'ripplet.js'\n\n/*\n * Config for ripplet.js by luncheon\n */\n\n// Values from https://github.com/material-components/material-components-web/blob/master/packages/mdc-ripple/_variables.scss\n\nconst Ripplet = (() => {\n /* eslint complexity: [\"error\", 40] */\n addEventListener('pointerdown', (event) => {\n defaultOptions.color = 'rgba(0,0,0,0.12)'\n defaultOptions.opacity = 1\n defaultOptions.spreadingDelay = '15ms'\n defaultOptions.spreadingDuration = '175ms'\n defaultOptions.clearingDelay = '300ms'\n defaultOptions.clearingDuration = '150ms'\n defaultOptions.clearingTimingFunction = 'linear'\n\n if (event.button !== 0) {\n return\n }\n const currentTarget = event.target.closest('.btn, .card-link, .card-primary-action, .list-group-item-action, [data-ripplet]')\n if (!currentTarget || currentTarget.disabled) {\n return\n }\n\n const rippleTarget = {\n currentTarget,\n clientX: event.clientX,\n clientY: event.clientY\n }\n\n currentTarget.setAttribute('data-ripplet', '')\n const cls = currentTarget.classList\n\n if (\n cls.contains('btn-outline-primary') ||\n cls.contains('btn-outline-secondary') ||\n cls.contains('btn-outline-danger') ||\n cls.contains('btn-outline-info') ||\n cls.contains('btn-outline-success') ||\n cls.contains('btn-outline-warning') ||\n cls.contains('btn-outline-dark') ||\n cls.contains('btn-outline-light') ||\n cls.contains('btn-link') ||\n cls.contains('card-link') ||\n cls.contains('btn-flat-primary') ||\n cls.contains('btn-flat-secondary') ||\n cls.contains('btn-flat-danger') ||\n cls.contains('btn-flat-info') ||\n cls.contains('btn-flat-success') ||\n cls.contains('btn-flat-warning') ||\n cls.contains('btn-flat-dark') ||\n cls.contains('btn-flat-light')\n ) {\n ripplet(rippleTarget, {\n color: getComputedStyle(currentTarget).color,\n opacity: 0.12\n })\n } else if (\n cls.contains('btn-primary') ||\n cls.contains('btn-secondary') ||\n cls.contains('btn-success') ||\n cls.contains('btn-danger') ||\n cls.contains('btn-warning') ||\n cls.contains('btn-info') ||\n cls.contains('btn-dark')\n ) {\n ripplet(rippleTarget, {\n color: 'rgba(255,255,255,0.24)'\n })\n } else if (\n cls.contains('nav-link')\n ) {\n ripplet(rippleTarget, {\n color: getComputedStyle(currentTarget, ':active').color,\n opacity: 0.12\n })\n } else {\n ripplet(rippleTarget)\n }\n })\n})()\n\nexport default Ripplet\n","import $ from 'jquery'\nimport Util from './util'\n\n/*\n * Tab indicator animation\n * Requires Bootstrap's (v4.4.X) `tab.js`\n */\n\nconst TabSwitch = (($) => {\n // constants >>>\n const DATA_KEY = 'md.tabswitch'\n const NAME = 'tabswitch'\n const NO_CONFLICT = $.fn[NAME]\n\n const ClassName = {\n ANIMATE : 'animate',\n DROPDOWN_ITEM : 'dropdown-item',\n INDICATOR : 'nav-tabs-indicator',\n MATERIAL : 'nav-tabs-material',\n SCROLLABLE : 'nav-tabs-scrollable',\n SHOW : 'show'\n }\n\n const Event = {\n SHOW_BS_TAB : 'show.bs.tab'\n }\n\n const Selector = {\n DATA_TOGGLE : '.nav-tabs [data-toggle=\"tab\"]',\n DROPDOWN : '.dropdown',\n NAV : '.nav-tabs'\n }\n // <<< constants\n\n class TabSwitch {\n constructor(nav) {\n this._nav = nav\n this._navindicator = null\n }\n\n switch(element, relatedTarget) {\n const navLeft = $(this._nav).offset().left\n const navScrollLeft = $(this._nav).scrollLeft()\n const navWidth = $(this._nav).outerWidth()\n\n if (!this._navindicator) {\n this._createIndicator(navLeft, navScrollLeft, navWidth, relatedTarget)\n }\n\n if ($(element).hasClass(ClassName.DROPDOWN_ITEM)) {\n element = $(element).closest(Selector.DROPDOWN)\n }\n\n const elLeft = $(element).offset().left\n const elWidth = $(element).outerWidth()\n\n $(this._navindicator).addClass(ClassName.SHOW)\n\n Util.reflow(this._navindicator)\n\n $(this._nav).addClass(ClassName.ANIMATE)\n\n $(this._navindicator).css({\n left : elLeft + navScrollLeft - navLeft,\n right : navWidth - (elLeft + navScrollLeft - navLeft + elWidth)\n })\n\n const complete = () => {\n $(this._nav).removeClass(ClassName.ANIMATE)\n\n $(this._navindicator).removeClass(ClassName.SHOW)\n }\n\n const transitionDuration = Util.getTransitionDurationFromElement(this._navindicator)\n\n $(this._navindicator)\n .one(Util.TRANSITION_END, complete)\n .emulateTransitionEnd(transitionDuration)\n }\n\n _createIndicator(navLeft, navScrollLeft, navWidth, relatedTarget) {\n this._navindicator = document.createElement('div')\n\n $(this._navindicator)\n .addClass(ClassName.INDICATOR)\n .appendTo(this._nav)\n\n if (typeof relatedTarget !== 'undefined') {\n if ($(relatedTarget).hasClass(ClassName.DROPDOWN_ITEM)) {\n relatedTarget = $(relatedTarget).closest(Selector.DROPDOWN)\n }\n\n const relatedLeft = $(relatedTarget).offset().left\n const relatedWidth = $(relatedTarget).outerWidth()\n\n $(this._navindicator).css({\n left : relatedLeft + navScrollLeft - navLeft,\n right : navWidth - (relatedLeft + navScrollLeft - navLeft + relatedWidth)\n })\n }\n\n $(this._nav).addClass(ClassName.MATERIAL)\n }\n\n static _jQueryInterface(relatedTarget) {\n return this.each(function () {\n const nav = $(this).closest(Selector.NAV)[0]\n\n if (!nav) {\n return\n }\n\n let data = $(nav).data(DATA_KEY)\n\n if (!data) {\n data = new TabSwitch(nav)\n\n $(nav).data(DATA_KEY, data)\n }\n\n data.switch(this, relatedTarget)\n })\n }\n }\n\n $(document).on(Event.SHOW_BS_TAB, Selector.DATA_TOGGLE, function (event) {\n TabSwitch._jQueryInterface.call($(this), event.relatedTarget)\n })\n\n $.fn[NAME] = TabSwitch._jQueryInterface\n $.fn[NAME].Constructor = TabSwitch\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = NO_CONFLICT\n\n return TabSwitch._jQueryInterface\n }\n\n return TabSwitch\n})($)\n\nexport default TabSwitch\n"],"names":["ExpansionPanel","$","DATA_KEY","EVENT_KEY","ClassName","SHOW","SHOW_PREDECESSOR","Event","HIDE","Selector","PANEL","PANEL_BODY","document","on","target","closest","removeClass","predecessor","prev","length","addClass","FloatingLabel","NAME","NO_CONFLICT","fn","IS_FOCUSED","HAS_VALUE","CHANGE","FOCUSIN","FOCUSOUT","DATA_PARENT","DATA_TOGGLE","element","_element","_parent","change","val","is","html","replace","focusin","focusout","_jQueryInterface","event","each","_event","data","Error","call","type","Constructor","noConflict","Util","MAX_UID","MILLISECONDS_MULTIPLIER","TRANSITION_END","getSpecialTransitionEndEvent","bindType","delegateType","handle","handleObj","handler","apply","arguments","undefined","setTransitionEndSupport","emulateTransitionEnd","transitionEndEmulator","special","toType","obj","toString","match","toLowerCase","duration","called","one","setTimeout","triggerTransitionEnd","getSelectorFromElement","selector","getAttribute","$selector","find","err","getTransitionDurationFromElement","transitionDuration","css","split","parseFloat","getUID","prefix","Math","random","getElementById","isElement","nodeType","reflow","offsetHeight","supportsTransitionEnd","Boolean","trigger","typeCheckConfig","componentName","config","configTypes","property","Object","prototype","hasOwnProperty","expectedTypes","value","valueType","RegExp","test","toUpperCase","NavDrawer","DATA_API_KEY","ESCAPE_KEYCODE","BACKDROP","OPEN","Default","breakpoint","keyboard","show","DefaultType","CLICK_DATA_API","CLICK_DISMISS","HIDDEN","KEYDOWN_DISMISS","MOUSEDOWN_DISMISS","MOUSEUP_DISMISS","SHOWN","CONTENT","DATA_DISMISS","_backdrop","_config","_getConfig","_content","_ignoreBackdropClick","_isShown","_typeBreakpoint","hide","preventDefault","_isTransitioning","hideEvent","isDefaultPrevented","_setEscapeEvent","off","body","_hideNavdrawer","_showBackdrop","relatedTarget","showEvent","_showElement","toggle","_enforceFocus","has","focus","style","display","setAttribute","_removeBackdrop","remove","which","createElement","appendTo","currentTarget","parentNode","Node","ELEMENT_NODE","appendChild","removeAttribute","shownEvent","transitionComplete","TypeError","tagName","$target","commonjsHelpers.createCommonjsModule","require$$0","require$$1","PickDate","cancel","closeOnCancel","closeOnSelect","container","containerHidden","disable","firstDay","format","formatSubmit","hiddenName","hiddenPrefix","hiddenSuffix","klass","buttonClear","buttonClose","buttonToday","day","disabled","highlighted","infocus","now","outfocus","selected","weekdays","box","footer","frame","header","holder","table","wrap","active","input","month","navDisabled","navNext","navPrev","selectMonth","selectYear","year","focused","opened","picker","labelMonthNext","labelMonthPrev","labelMonthSelect","labelYearSelect","max","min","monthsFull","monthsShort","ok","onClose","onOpen","onRender","onSet","onStart","onStop","selectMonths","selectYears","today","weekdaysFull","weekdaysShort","datepickerApi","datepickerRoot","datepickerValue","prepend","get","pickadate","clear","close","closeOnClear","$root","activeElement","blur","open","set","Ripplet","addEventListener","defaultOptions","color","opacity","spreadingDelay","spreadingDuration","clearingDelay","clearingDuration","clearingTimingFunction","button","rippleTarget","clientX","clientY","cls","classList","contains","ripplet","getComputedStyle","TabSwitch","ANIMATE","DROPDOWN_ITEM","INDICATOR","MATERIAL","SCROLLABLE","SHOW_BS_TAB","DROPDOWN","NAV","nav","_nav","_navindicator","switch","navLeft","offset","left","navScrollLeft","scrollLeft","navWidth","outerW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AAKF,IAAL,IAAaC,WAAb;EAEA,WAAO+P,SAAS,CAAC5O,gBAAjB;EACD,GAJD;;EAMA,SAAO4O,SAAP;EACD,CAlIiB,CAkIfrR,qBAlIe;;;;;;;;;;;;;;;;"} \ No newline at end of file +{"version":3,"file":"material.js","sources":["../assets/js/src/expansion-panel.js","../assets/js/src/floating-label.js","../assets/js/src/util.js","../assets/js/src/nav-drawer.js","../node_modules/pickadate/lib/picker.js","../node_modules/pickadate/lib/picker.date.js","../assets/js/src/pickdate.js","../node_modules/ripplet.js/es/ripplet.js","../assets/js/src/ripplet.js","../assets/js/src/tab-switch.js"],"sourcesContent":["import $ from 'jquery'\n\n/*\n * Expansion panel plugins expands a collapsed panel in full upon selecting\n */\n\nconst ExpansionPanel = (($) => {\n // constants >>>\n const DATA_KEY = 'bs.collapse'\n const EVENT_KEY = `.${DATA_KEY}`\n\n const ClassName = {\n SHOW : 'show',\n SHOW_PREDECESSOR : 'show-predecessor'\n }\n\n const Event = {\n HIDE : `hide${EVENT_KEY}`,\n SHOW : `show${EVENT_KEY}`\n }\n\n const Selector = {\n PANEL : '.expansion-panel',\n PANEL_BODY : '.expansion-panel .collapse'\n }\n // <<< constants\n\n $(document).on(`${Event.HIDE}`, Selector.PANEL_BODY, function () {\n const target = $(this).closest(Selector.PANEL)\n\n target.removeClass(ClassName.SHOW)\n\n const predecessor = target.prev(Selector.PANEL)\n\n if (predecessor.length) {\n predecessor.removeClass(ClassName.SHOW_PREDECESSOR)\n }\n }).on(`${Event.SHOW}`, Selector.PANEL_BODY, function () {\n const target = $(this).closest(Selector.PANEL)\n\n target.addClass(ClassName.SHOW)\n\n const predecessor = target.prev(Selector.PANEL)\n\n if (predecessor.length) {\n predecessor.addClass(ClassName.SHOW_PREDECESSOR)\n }\n })\n})($)\n\nexport default ExpansionPanel\n","import $ from 'jquery'\n\n/*\n * Floating label plugin moves inline label to float above the field\n * when a user engages with the assosciated text input field\n */\n\nconst FloatingLabel = (($) => {\n // constants >>>\n const DATA_KEY = 'md.floatinglabel'\n const EVENT_KEY = `.${DATA_KEY}`\n const NAME = 'floatinglabel'\n const NO_CONFLICT = $.fn[NAME]\n\n const ClassName = {\n IS_FOCUSED : 'is-focused',\n HAS_VALUE : 'has-value'\n }\n\n const Event = {\n CHANGE : `change${EVENT_KEY}`,\n FOCUSIN : `focusin${EVENT_KEY}`,\n FOCUSOUT : `focusout${EVENT_KEY}`\n }\n\n const Selector = {\n DATA_PARENT : '.floating-label',\n DATA_TOGGLE : '.floating-label .custom-select, .floating-label .form-control'\n }\n // <<< constants\n\n class FloatingLabel {\n constructor(element) {\n this._element = element\n this._parent = $(element).closest(Selector.DATA_PARENT)[0]\n }\n\n change() {\n if ($(this._element).val() ||\n $(this._element).is('select') &&\n $('option:first-child', $(this._element)).html().replace(' ', '') !== '') {\n $(this._parent).addClass(ClassName.HAS_VALUE)\n } else {\n $(this._parent).removeClass(ClassName.HAS_VALUE)\n }\n }\n\n focusin() {\n $(this._parent).addClass(ClassName.IS_FOCUSED)\n }\n\n focusout() {\n $(this._parent).removeClass(ClassName.IS_FOCUSED)\n }\n\n static _jQueryInterface(event) {\n return this.each(function () {\n const _event = event ? event : 'change'\n\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = new FloatingLabel(this)\n\n $(this).data(DATA_KEY, data)\n }\n\n if (typeof _event === 'string') {\n if (typeof data[_event] === 'undefined') {\n throw new Error(`No method named \"${_event}\"`)\n }\n\n data[_event]()\n }\n })\n }\n }\n\n $(document).on(`${Event.CHANGE} ${Event.FOCUSIN} ${Event.FOCUSOUT}`, Selector.DATA_TOGGLE, function (event) {\n FloatingLabel._jQueryInterface.call($(this), event.type)\n })\n\n $.fn[NAME] = FloatingLabel._jQueryInterface\n $.fn[NAME].Constructor = FloatingLabel\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = NO_CONFLICT\n\n return FloatingLabel._jQueryInterface\n }\n\n return FloatingLabel\n})($)\n\nexport default FloatingLabel\n","import $ from 'jquery'\n\n/*\n * Global util js\n * Based on Bootstrap's (v4.6.0) `util.js`\n */\n\n/**\n * ------------------------------------------------------------------------\n * Private TransitionEnd Helpers\n * ------------------------------------------------------------------------\n */\n\nconst TRANSITION_END = 'transitionend'\nconst MAX_UID = 1000000\nconst MILLISECONDS_MULTIPLIER = 1000\n\n// Shoutout AngusCroll (https://goo.gl/pxwQGp)\nfunction toType(obj) {\n if (obj === null || typeof obj === 'undefined') {\n return `${obj}`\n }\n\n return {}.toString.call(obj).match(/\\s([a-z]+)/i)[1].toLowerCase()\n}\n\nfunction getSpecialTransitionEndEvent() {\n return {\n bindType: TRANSITION_END,\n delegateType: TRANSITION_END,\n handle(event) {\n if ($(event.target).is(this)) {\n return event.handleObj.handler.apply(this, arguments) // eslint-disable-line prefer-rest-params\n }\n\n return undefined\n }\n }\n}\n\nfunction transitionEndEmulator(duration) {\n let called = false\n\n $(this).one(Util.TRANSITION_END, () => {\n called = true\n })\n\n setTimeout(() => {\n if (!called) {\n Util.triggerTransitionEnd(this)\n }\n }, duration)\n\n return this\n}\n\nfunction setTransitionEndSupport() {\n $.fn.emulateTransitionEnd = transitionEndEmulator\n $.event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent()\n}\n\n/**\n * --------------------------------------------------------------------------\n * Public Util Api\n * --------------------------------------------------------------------------\n */\n\nconst Util = {\n TRANSITION_END: 'bsTransitionEnd',\n\n getUID(prefix) {\n do {\n prefix += ~~(Math.random() * MAX_UID) // \"~~\" acts like a faster Math.floor() here\n } while (document.getElementById(prefix))\n\n return prefix\n },\n\n getSelectorFromElement(element) {\n let selector = element.getAttribute('data-target')\n\n if (!selector || selector === '#') {\n const hrefAttr = element.getAttribute('href')\n selector = hrefAttr && hrefAttr !== '#' ? hrefAttr.trim() : ''\n }\n\n try {\n return document.querySelector(selector) ? selector : null\n } catch (_) {\n return null\n }\n },\n\n getTransitionDurationFromElement(element) {\n if (!element) {\n return 0\n }\n\n // Get transition-duration of the element\n let transitionDuration = $(element).css('transition-duration')\n let transitionDelay = $(element).css('transition-delay')\n\n const floatTransitionDuration = parseFloat(transitionDuration)\n const floatTransitionDelay = parseFloat(transitionDelay)\n\n // Return 0 if element or transition duration is not found\n if (!floatTransitionDuration && !floatTransitionDelay) {\n return 0\n }\n\n // If multiple durations are defined, take the first\n transitionDuration = transitionDuration.split(',')[0]\n transitionDelay = transitionDelay.split(',')[0]\n\n return (parseFloat(transitionDuration) + parseFloat(transitionDelay)) * MILLISECONDS_MULTIPLIER\n },\n\n reflow(element) {\n return element.offsetHeight\n },\n\n triggerTransitionEnd(element) {\n $(element).trigger(TRANSITION_END)\n },\n\n supportsTransitionEnd() {\n return Boolean(TRANSITION_END)\n },\n\n isElement(obj) {\n return (obj[0] || obj).nodeType\n },\n\n typeCheckConfig(componentName, config, configTypes) {\n for (const property in configTypes) {\n if (Object.prototype.hasOwnProperty.call(configTypes, property)) {\n const expectedTypes = configTypes[property]\n const value = config[property]\n const valueType = value && Util.isElement(value) ?\n 'element' : toType(value)\n\n if (!new RegExp(expectedTypes).test(valueType)) {\n throw new Error(\n `${componentName.toUpperCase()}: ` +\n `Option \"${property}\" provided type \"${valueType}\" ` +\n `but expected type \"${expectedTypes}\".`)\n }\n }\n }\n },\n\n findShadowRoot(element) {\n if (!document.documentElement.attachShadow) {\n return null\n }\n\n // Can find the shadow root otherwise it'll return the document\n if (typeof element.getRootNode === 'function') {\n const root = element.getRootNode()\n return root instanceof ShadowRoot ? root : null\n }\n\n if (element instanceof ShadowRoot) {\n return element\n }\n\n // when we don't find a shadow root\n if (!element.parentNode) {\n return null\n }\n\n return Util.findShadowRoot(element.parentNode)\n },\n\n jQueryDetection() {\n if (typeof $ === 'undefined') {\n throw new TypeError('Bootstrap\\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\\'s JavaScript.')\n }\n\n const version = $.fn.jquery.split(' ')[0].split('.')\n const minMajor = 1\n const ltMajor = 2\n const minMinor = 9\n const minPatch = 1\n const maxMajor = 4\n\n if (version[0] < ltMajor && version[1] < minMinor || version[0] === minMajor && version[1] === minMinor && version[2] < minPatch || version[0] >= maxMajor) {\n throw new Error('Bootstrap\\'s JavaScript requires at least jQuery v1.9.1 but less than v4.0.0')\n }\n }\n}\n\nUtil.jQueryDetection()\nsetTransitionEndSupport()\n\nexport default Util\n","import $ from 'jquery'\nimport Util from './util'\n\n/*\n * Navigation drawer plguin\n * Based on Bootstrap's (v4.1.X) `modal.js`\n */\n\nconst NavDrawer = (($) => {\n // constants >>>\n const DATA_API_KEY = '.data-api'\n const DATA_KEY = 'md.navdrawer'\n const ESCAPE_KEYCODE = 27\n const EVENT_KEY = `.${DATA_KEY}`\n const NAME = 'navdrawer'\n const NO_CONFLICT = $.fn[NAME]\n\n const ClassName = {\n BACKDROP : 'navdrawer-backdrop',\n OPEN : 'navdrawer-open',\n SHOW : 'show'\n }\n\n const Default = {\n breakpoint : '',\n keyboard : true,\n show : true,\n type : 'default'\n }\n\n const DefaultType = {\n keyboard : 'boolean',\n show : 'boolean',\n type : 'string'\n }\n\n const Event = {\n CLICK_DATA_API : `click${EVENT_KEY}${DATA_API_KEY}`,\n CLICK_DISMISS : `click.dismiss${EVENT_KEY}`,\n FOCUSIN : `focusin${EVENT_KEY}`,\n HIDDEN : `hidden${EVENT_KEY}`,\n HIDE : `hide${EVENT_KEY}`,\n KEYDOWN_DISMISS : `keydown.dismiss${EVENT_KEY}`,\n MOUSEDOWN_DISMISS : `mousedown.dismiss${EVENT_KEY}`,\n MOUSEUP_DISMISS : `mouseup.dismiss${EVENT_KEY}`,\n SHOW : `show${EVENT_KEY}`,\n SHOWN : `shown${EVENT_KEY}`\n }\n\n const Selector = {\n CONTENT : '.navdrawer-content',\n DATA_DISMISS : '[data-dismiss=\"navdrawer\"]',\n DATA_TOGGLE : '[data-toggle=\"navdrawer\"]'\n }\n // <<< constants\n\n class NavDrawer {\n constructor(element, config) {\n this._backdrop = null\n this._config = this._getConfig(config)\n this._content = $(element).find(Selector.CONTENT)[0]\n this._element = element\n this._ignoreBackdropClick = false\n this._isShown = false\n this._typeBreakpoint = this._config.breakpoint === '' ? '' : `-${this._config.breakpoint}`\n }\n\n hide(event) {\n if (event) {\n event.preventDefault()\n }\n\n if (this._isTransitioning || !this._isShown) {\n return\n }\n\n const hideEvent = $.Event(Event.HIDE)\n\n $(this._element).trigger(hideEvent)\n\n if (!this._isShown || hideEvent.isDefaultPrevented()) {\n return\n }\n\n this._isShown = false\n\n this._isTransitioning = true\n\n this._setEscapeEvent()\n\n $(document).off(Event.FOCUSIN)\n\n $(document.body).removeClass(`${ClassName.OPEN}-${this._config.type}${this._typeBreakpoint}`)\n\n $(this._element).removeClass(ClassName.SHOW)\n\n $(this._element).off(Event.CLICK_DISMISS)\n\n $(this._content).off(Event.MOUSEDOWN_DISMISS)\n\n const transitionDuration = Util.getTransitionDurationFromElement(this._content)\n\n $(this._content)\n .one(Util.TRANSITION_END, (event) => this._hideNavdrawer(event))\n .emulateTransitionEnd(transitionDuration)\n\n this._showBackdrop()\n }\n\n show(relatedTarget) {\n if (this._isTransitioning || this._isShown) {\n return\n }\n\n this._isTransitioning = true\n\n const showEvent = $.Event(Event.SHOW, {\n relatedTarget\n })\n\n $(this._element).trigger(showEvent)\n\n if (this._isShown || showEvent.isDefaultPrevented()) {\n return\n }\n\n this._isShown = true\n\n this._setEscapeEvent()\n\n $(this._element).addClass(`${NAME}-${this._config.type}${this._typeBreakpoint}`)\n\n $(this._element).on(Event.CLICK_DISMISS, Selector.DATA_DISMISS, (event) => this.hide(event))\n\n $(this._content).on(Event.MOUSEDOWN_DISMISS, () => {\n $(this._element).one(Event.MOUSEUP_DISMISS, (event) => {\n if ($(event.target).is(this._element)) {\n this._ignoreBackdropClick = true\n }\n })\n })\n\n this._showBackdrop()\n this._showElement(relatedTarget)\n }\n\n toggle(relatedTarget) {\n return this._isShown ? this.hide() : this.show(relatedTarget)\n }\n\n _enforceFocus() {\n $(document)\n .off(Event.FOCUSIN)\n .on(Event.FOCUSIN, (event) => {\n if (document !== event.target &&\n this._element !== event.target &&\n $(this._element).has(event.target).length === 0) {\n this._element.focus()\n }\n })\n }\n\n _getConfig(config) {\n config = {\n ...Default,\n ...config\n }\n\n Util.typeCheckConfig(NAME, config, DefaultType)\n\n return config\n }\n\n _hideNavdrawer() {\n this._element.style.display = 'none'\n\n this._element.setAttribute('aria-hidden', true)\n\n this._isTransitioning = false\n\n $(this._element).trigger(Event.HIDDEN)\n }\n\n _removeBackdrop() {\n if (this._backdrop) {\n $(this._backdrop).remove()\n this._backdrop = null\n }\n }\n\n _setEscapeEvent() {\n if (this._isShown && this._config.keyboard) {\n $(this._element).on(Event.KEYDOWN_DISMISS, (event) => {\n if (event.which === ESCAPE_KEYCODE) {\n event.preventDefault()\n\n this.hide()\n }\n })\n } else if (!this._isShown) {\n $(this._element).off(Event.KEYDOWN_DISMISS)\n }\n }\n\n _showBackdrop() {\n if (this._isShown) {\n this._backdrop = document.createElement('div')\n\n $(this._backdrop)\n .addClass(ClassName.BACKDROP)\n .addClass(`${ClassName.BACKDROP}-${this._config.type}${this._typeBreakpoint}`)\n .appendTo(document.body)\n\n $(this._element).on(Event.CLICK_DISMISS, (event) => {\n if (this._ignoreBackdropClick) {\n this._ignoreBackdropClick = false\n\n return\n }\n\n if (event.target !== event.currentTarget) {\n return\n }\n\n this.hide()\n })\n\n Util.reflow(this._backdrop)\n\n $(this._backdrop).addClass(ClassName.SHOW)\n } else if (!this._isShown && this._backdrop) {\n $(this._backdrop).removeClass(ClassName.SHOW)\n\n this._removeBackdrop()\n }\n }\n\n _showElement(relatedTarget) {\n if (!this._element.parentNode ||\n this._element.parentNode.nodeType !== Node.ELEMENT_NODE) {\n document.body.appendChild(this._element)\n }\n\n this._element.style.display = 'block'\n\n this._element.removeAttribute('aria-hidden')\n\n Util.reflow(this._element)\n\n $(document.body).addClass(`${ClassName.OPEN}-${this._config.type}${this._typeBreakpoint}`)\n\n $(this._element).addClass(ClassName.SHOW)\n\n this._enforceFocus()\n\n const shownEvent = $.Event(Event.SHOWN, {\n relatedTarget\n })\n\n const transitionComplete = () => {\n this._element.focus()\n\n this._isTransitioning = false\n\n $(this._element).trigger(shownEvent)\n }\n\n const transitionDuration = Util.getTransitionDurationFromElement(this._content)\n\n $(this._content)\n .one(Util.TRANSITION_END, transitionComplete)\n .emulateTransitionEnd(transitionDuration)\n }\n\n static get Default() {\n return Default\n }\n\n static _jQueryInterface(config, relatedTarget) {\n return this.each(function () {\n const _config = {\n ...Default,\n ...$(this).data(),\n ...typeof config === 'object' && config ? config : {}\n }\n\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = new NavDrawer(this, _config)\n\n $(this).data(DATA_KEY, data)\n }\n\n if (typeof config === 'string') {\n if (typeof data[config] === 'undefined') {\n throw new TypeError(`No method named \"${config}\"`)\n }\n\n data[config](relatedTarget)\n } else if (_config.show) {\n data.show(relatedTarget)\n }\n })\n }\n }\n\n $(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {\n const selector = Util.getSelectorFromElement(this)\n\n let target\n\n if (selector) {\n target = $(selector)[0]\n }\n\n const config = $(target).data(DATA_KEY) ? 'toggle' : {\n ...$(target).data(),\n ...$(this).data()\n }\n\n if (this.tagName === 'A' || this.tagName === 'AREA') {\n event.preventDefault()\n }\n\n const $target = $(target).one(Event.SHOW, (showEvent) => {\n if (showEvent.isDefaultPrevented()) {\n return\n }\n\n $target.one(Event.HIDDEN, () => {\n if ($(this).is(':visible')) {\n this.focus()\n }\n })\n })\n\n NavDrawer._jQueryInterface.call($(target), config, this)\n })\n\n $.fn[NAME] = NavDrawer._jQueryInterface\n $.fn[NAME].Constructor = NavDrawer\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = NO_CONFLICT\n\n return NavDrawer._jQueryInterface\n }\n\n return NavDrawer\n})($)\n\nexport default NavDrawer\n","/*!\n * pickadate.js v3.6.4, 2019/05/25\n * By Amsul, http://amsul.ca\n * Hosted on http://amsul.github.io/pickadate.js\n * Licensed under MIT\n */\n\n(function ( factory ) {\n\n // AMD.\n if ( typeof define == 'function' && define.amd )\n define( 'picker', ['jquery'], factory )\n\n // Node.js/browserify.\n else if ( typeof exports == 'object' )\n module.exports = factory( require('jquery') )\n\n // Browser globals.\n else if ( typeof window == 'object' )\n window.Picker = factory( jQuery )\n \n else this.Picker = factory( jQuery )\n\n}(function( $ ) {\n\nvar $window = $( window )\nvar $document = $( document )\nvar $html = $( document.documentElement )\nvar supportsTransitions = document.documentElement.style.transition != null\n\n\n/**\n * The picker constructor that creates a blank picker.\n */\nfunction PickerConstructor( ELEMENT, NAME, COMPONENT, OPTIONS ) {\n\n // If there’s no element, return the picker constructor.\n if ( !ELEMENT ) return PickerConstructor\n\n\n var\n IS_DEFAULT_THEME = false,\n\n\n // The state of the picker.\n STATE = {\n id: ELEMENT.id || 'P' + Math.abs( ~~(Math.random() * new Date()) ),\n handlingOpen: false,\n },\n\n\n // Merge the defaults and options passed.\n SETTINGS = COMPONENT ? $.extend( true, {}, COMPONENT.defaults, OPTIONS ) : OPTIONS || {},\n\n\n // Merge the default classes with the settings classes.\n CLASSES = $.extend( {}, PickerConstructor.klasses(), SETTINGS.klass ),\n\n\n // The element node wrapper into a jQuery object.\n $ELEMENT = $( ELEMENT ),\n\n\n // Pseudo picker constructor.\n PickerInstance = function() {\n return this.start()\n },\n\n\n // The picker prototype.\n P = PickerInstance.prototype = {\n\n constructor: PickerInstance,\n\n $node: $ELEMENT,\n\n\n /**\n * Initialize everything\n */\n start: function() {\n\n // If it’s already started, do nothing.\n if ( STATE && STATE.start ) return P\n\n\n // Update the picker states.\n STATE.methods = {}\n STATE.start = true\n STATE.open = false\n STATE.type = ELEMENT.type\n\n\n // Confirm focus state, convert into text input to remove UA stylings,\n // and set as readonly to prevent keyboard popup.\n ELEMENT.autofocus = ELEMENT == getActiveElement()\n ELEMENT.readOnly = !SETTINGS.editable\n ELEMENT.id = ELEMENT.id || STATE.id\n if ( ELEMENT.type != 'text' ) {\n ELEMENT.type = 'text'\n }\n\n\n // Create a new picker component with the settings.\n P.component = new COMPONENT(P, SETTINGS)\n\n\n // Create the picker root and then prepare it.\n P.$root = $( '
' )\n prepareElementRoot()\n\n\n // Create the picker holder and then prepare it.\n P.$holder = $( createWrappedComponent() ).appendTo( P.$root )\n prepareElementHolder()\n\n\n // If there’s a format for the hidden input element, create the element.\n if ( SETTINGS.formatSubmit ) {\n prepareElementHidden()\n }\n\n\n // Prepare the input element.\n prepareElement()\n\n\n // Insert the hidden input as specified in the settings.\n if ( SETTINGS.containerHidden ) $( SETTINGS.containerHidden ).append( P._hidden )\n else $ELEMENT.after( P._hidden )\n\n\n // Insert the root as specified in the settings.\n if ( SETTINGS.container ) $( SETTINGS.container ).append( P.$root )\n else $ELEMENT.after( P.$root )\n\n\n // Bind the default component and settings events.\n P.on({\n start: P.component.onStart,\n render: P.component.onRender,\n stop: P.component.onStop,\n open: P.component.onOpen,\n close: P.component.onClose,\n set: P.component.onSet\n }).on({\n start: SETTINGS.onStart,\n render: SETTINGS.onRender,\n stop: SETTINGS.onStop,\n open: SETTINGS.onOpen,\n close: SETTINGS.onClose,\n set: SETTINGS.onSet\n })\n\n\n // Once we’re all set, check the theme in use.\n IS_DEFAULT_THEME = isUsingDefaultTheme( P.$holder[0] )\n\n\n // If the element has autofocus, open the picker.\n if ( ELEMENT.autofocus ) {\n P.open()\n }\n\n\n // Trigger queued the “start” and “render” events.\n return P.trigger( 'start' ).trigger( 'render' )\n }, //start\n\n\n /**\n * Render a new picker\n */\n render: function( entireComponent ) {\n\n // Insert a new component holder in the root or box.\n if ( entireComponent ) {\n P.$holder = $( createWrappedComponent() )\n prepareElementHolder()\n P.$root.html( P.$holder )\n }\n else P.$root.find( '.' + CLASSES.box ).html( P.component.nodes( STATE.open ) )\n\n // Trigger the queued “render” events.\n return P.trigger( 'render' )\n }, //render\n\n\n /**\n * Destroy everything\n */\n stop: function() {\n\n // If it’s already stopped, do nothing.\n if ( !STATE.start ) return P\n\n // Then close the picker.\n P.close()\n\n // Remove the hidden field.\n if ( P._hidden ) {\n P._hidden.parentNode.removeChild( P._hidden )\n }\n\n // Remove the root.\n P.$root.remove()\n\n // Remove the input class, remove the stored data, and unbind\n // the events (after a tick for IE - see `P.close`).\n $ELEMENT.removeClass( CLASSES.input ).removeData( NAME )\n setTimeout( function() {\n $ELEMENT.off( '.' + STATE.id )\n }, 0)\n\n // Restore the element state\n ELEMENT.type = STATE.type\n ELEMENT.readOnly = false\n\n // Trigger the queued “stop” events.\n P.trigger( 'stop' )\n\n // Reset the picker states.\n STATE.methods = {}\n STATE.start = false\n\n return P\n }, //stop\n\n\n /**\n * Open up the picker\n */\n open: function( dontGiveFocus ) {\n\n // If it’s already open, do nothing.\n if ( STATE.open ) return P\n\n // Add the “active” class.\n $ELEMENT.addClass( CLASSES.active )\n aria( ELEMENT, 'expanded', true )\n\n // * A Firefox bug, when `html` has `overflow:hidden`, results in\n // killing transitions :(. So add the “opened” state on the next tick.\n // Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=625289\n setTimeout( function() {\n\n // Add the “opened” class to the picker root.\n P.$root.addClass( CLASSES.opened )\n aria( P.$root[0], 'hidden', false )\n\n }, 0 )\n\n // If we have to give focus, bind the element and doc events.\n if ( dontGiveFocus !== false ) {\n\n // Set it as open.\n STATE.open = true\n\n // Prevent the page from scrolling.\n if ( IS_DEFAULT_THEME ) {\n $('body').\n css( 'overflow', 'hidden' ).\n css( 'padding-right', '+=' + getScrollbarWidth() )\n }\n\n // Pass focus to the root element’s jQuery object.\n focusPickerOnceOpened()\n\n // Bind the document events.\n $document.on( 'click.' + STATE.id + ' focusin.' + STATE.id, function( event ) {\n // If the picker is currently midway through processing\n // the opening sequence of events then don't handle clicks\n // on any part of the DOM. This is caused by a bug in Chrome 73\n // where a click event is being generated with the incorrect\n // path in it.\n // In short, if someone does a click that finishes after the\n // new element is created then the path contains only the\n // parent element and not the input element itself.\n if (STATE.handlingOpen) {\n return;\n }\n\n var target = getRealEventTarget( event, ELEMENT )\n\n // If the target of the event is not the element, close the picker picker.\n // * Don’t worry about clicks or focusins on the root because those don’t bubble up.\n // Also, for Firefox, a click on an `option` element bubbles up directly\n // to the doc. So make sure the target wasn't the doc.\n // * In Firefox stopPropagation() doesn’t prevent right-click events from bubbling,\n // which causes the picker to unexpectedly close when right-clicking it. So make\n // sure the event wasn’t a right-click.\n // * In Chrome 62 and up, password autofill causes a simulated focusin event which\n // closes the picker.\n if ( ! event.isSimulated && target != ELEMENT && target != document && event.which != 3 ) {\n\n // If the target was the holder that covers the screen,\n // keep the element focused to maintain tabindex.\n P.close( target === P.$holder[0] )\n }\n\n }).on( 'keydown.' + STATE.id, function( event ) {\n\n var\n // Get the keycode.\n keycode = event.keyCode,\n\n // Translate that to a selection change.\n keycodeToMove = P.component.key[ keycode ],\n\n // Grab the target.\n target = getRealEventTarget( event, ELEMENT )\n\n\n // On escape, close the picker and give focus.\n if ( keycode == 27 ) {\n P.close( true )\n }\n\n\n // Check if there is a key movement or “enter” keypress on the element.\n else if ( target == P.$holder[0] && ( keycodeToMove || keycode == 13 ) ) {\n\n // Prevent the default action to stop page movement.\n event.preventDefault()\n\n // Trigger the key movement action.\n if ( keycodeToMove ) {\n PickerConstructor._.trigger( P.component.key.go, P, [ PickerConstructor._.trigger( keycodeToMove ) ] )\n }\n\n // On “enter”, if the highlighted item isn’t disabled, set the value and close.\n else if ( !P.$root.find( '.' + CLASSES.highlighted ).hasClass( CLASSES.disabled ) ) {\n P.set( 'select', P.component.item.highlight )\n if ( SETTINGS.closeOnSelect ) {\n P.close( true )\n }\n }\n }\n\n\n // If the target is within the root and “enter” is pressed,\n // prevent the default action and trigger a click on the target instead.\n else if ( $.contains( P.$root[0], target ) && keycode == 13 ) {\n event.preventDefault()\n target.click()\n }\n })\n }\n\n // Trigger the queued “open” events.\n return P.trigger( 'open' )\n }, //open\n\n\n /**\n * Close the picker\n */\n close: function( giveFocus ) {\n\n // If we need to give focus, do it before changing states.\n if ( giveFocus ) {\n if ( SETTINGS.editable ) {\n ELEMENT.focus()\n }\n else {\n // ....ah yes! It would’ve been incomplete without a crazy workaround for IE :|\n // The focus is triggered *after* the close has completed - causing it\n // to open again. So unbind and rebind the event at the next tick.\n P.$holder.off( 'focus.toOpen' ).focus()\n setTimeout( function() {\n P.$holder.on( 'focus.toOpen', handleFocusToOpenEvent )\n }, 0 )\n }\n }\n\n // Remove the “active” class.\n $ELEMENT.removeClass( CLASSES.active )\n aria( ELEMENT, 'expanded', false )\n\n // * A Firefox bug, when `html` has `overflow:hidden`, results in\n // killing transitions :(. So remove the “opened” state on the next tick.\n // Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=625289\n setTimeout( function() {\n\n // Remove the “opened” and “focused” class from the picker root.\n P.$root.removeClass( CLASSES.opened + ' ' + CLASSES.focused )\n aria( P.$root[0], 'hidden', true )\n\n }, 0 )\n\n // If it’s already closed, do nothing more.\n if ( !STATE.open ) return P\n\n // Set it as closed.\n STATE.open = false\n\n // Allow the page to scroll.\n if ( IS_DEFAULT_THEME ) {\n $('body').\n css( 'overflow', '' ).\n css( 'padding-right', '-=' + getScrollbarWidth() )\n }\n\n // Unbind the document events.\n $document.off( '.' + STATE.id )\n\n // Trigger the queued “close” events.\n return P.trigger( 'close' )\n }, //close\n\n\n /**\n * Clear the values\n */\n clear: function( options ) {\n return P.set( 'clear', null, options )\n }, //clear\n\n\n /**\n * Set something\n */\n set: function( thing, value, options ) {\n\n var thingItem, thingValue,\n thingIsObject = $.isPlainObject( thing ),\n thingObject = thingIsObject ? thing : {}\n\n // Make sure we have usable options.\n options = thingIsObject && $.isPlainObject( value ) ? value : options || {}\n\n if ( thing ) {\n\n // If the thing isn’t an object, make it one.\n if ( !thingIsObject ) {\n thingObject[ thing ] = value\n }\n\n // Go through the things of items to set.\n for ( thingItem in thingObject ) {\n\n // Grab the value of the thing.\n thingValue = thingObject[ thingItem ]\n\n // First, if the item exists and there’s a value, set it.\n if ( thingItem in P.component.item ) {\n if ( thingValue === undefined ) thingValue = null\n P.component.set( thingItem, thingValue, options )\n }\n\n // Then, check to update the element value and broadcast a change.\n if ( ( thingItem == 'select' || thingItem == 'clear' ) && SETTINGS.updateInput ) {\n $ELEMENT.\n val( thingItem == 'clear' ? '' : P.get( thingItem, SETTINGS.format ) ).\n trigger( 'change' )\n }\n }\n\n // Render a new picker.\n P.render()\n }\n\n // When the method isn’t muted, trigger queued “set” events and pass the `thingObject`.\n return options.muted ? P : P.trigger( 'set', thingObject )\n }, //set\n\n\n /**\n * Get something\n */\n get: function( thing, format ) {\n\n // Make sure there’s something to get.\n thing = thing || 'value'\n\n // If a picker state exists, return that.\n if ( STATE[ thing ] != null ) {\n return STATE[ thing ]\n }\n\n // Return the submission value, if that.\n if ( thing == 'valueSubmit' ) {\n if ( P._hidden ) {\n return P._hidden.value\n }\n thing = 'value'\n }\n\n // Return the value, if that.\n if ( thing == 'value' ) {\n return ELEMENT.value\n }\n\n // Check if a component item exists, return that.\n if ( thing in P.component.item ) {\n if ( typeof format == 'string' ) {\n var thingValue = P.component.get( thing )\n return thingValue ?\n PickerConstructor._.trigger(\n P.component.formats.toString,\n P.component,\n [ format, thingValue ]\n ) : ''\n }\n return P.component.get( thing )\n }\n }, //get\n\n\n\n /**\n * Bind events on the things.\n */\n on: function( thing, method, internal ) {\n\n var thingName, thingMethod,\n thingIsObject = $.isPlainObject( thing ),\n thingObject = thingIsObject ? thing : {}\n\n if ( thing ) {\n\n // If the thing isn’t an object, make it one.\n if ( !thingIsObject ) {\n thingObject[ thing ] = method\n }\n\n // Go through the things to bind to.\n for ( thingName in thingObject ) {\n\n // Grab the method of the thing.\n thingMethod = thingObject[ thingName ]\n\n // If it was an internal binding, prefix it.\n if ( internal ) {\n thingName = '_' + thingName\n }\n\n // Make sure the thing methods collection exists.\n STATE.methods[ thingName ] = STATE.methods[ thingName ] || []\n\n // Add the method to the relative method collection.\n STATE.methods[ thingName ].push( thingMethod )\n }\n }\n\n return P\n }, //on\n\n\n\n /**\n * Unbind events on the things.\n */\n off: function() {\n var i, thingName,\n names = arguments;\n for ( i = 0, namesCount = names.length; i < namesCount; i += 1 ) {\n thingName = names[i]\n if ( thingName in STATE.methods ) {\n delete STATE.methods[thingName]\n }\n }\n return P\n },\n\n\n /**\n * Fire off method events.\n */\n trigger: function( name, data ) {\n var _trigger = function( name ) {\n var methodList = STATE.methods[ name ]\n if ( methodList ) {\n methodList.map( function( method ) {\n PickerConstructor._.trigger( method, P, [ data ] )\n })\n }\n }\n _trigger( '_' + name )\n _trigger( name )\n return P\n } //trigger\n } //PickerInstance.prototype\n\n\n /**\n * Wrap the picker holder components together.\n */\n function createWrappedComponent() {\n\n // Create a picker wrapper holder\n return PickerConstructor._.node( 'div',\n\n // Create a picker wrapper node\n PickerConstructor._.node( 'div',\n\n // Create a picker frame\n PickerConstructor._.node( 'div',\n\n // Create a picker box node\n PickerConstructor._.node( 'div',\n\n // Create the components nodes.\n P.component.nodes( STATE.open ),\n\n // The picker box class\n CLASSES.box\n ),\n\n // Picker wrap class\n CLASSES.wrap\n ),\n\n // Picker frame class\n CLASSES.frame\n ),\n\n // Picker holder class\n CLASSES.holder,\n\n 'tabindex=\"-1\"'\n ) //endreturn\n } //createWrappedComponent\n\n /**\n * Prepare the input element with all bindings.\n */\n function prepareElement() {\n\n $ELEMENT.\n\n // Store the picker data by component name.\n data(NAME, P).\n\n // Add the “input” class name.\n addClass(CLASSES.input).\n\n // If there’s a `data-value`, update the value of the element.\n val( $ELEMENT.data('value') ?\n P.get('select', SETTINGS.format) :\n ELEMENT.value\n ).\n\n // On focus/click, open the picker.\n on( 'focus.' + STATE.id + ' click.' + STATE.id,\n function(event) {\n event.preventDefault()\n P.open()\n }\n )\n\n // Mousedown handler to capture when the user starts interacting\n // with the picker. This is used in working around a bug in Chrome 73.\n .on('mousedown', function() {\n STATE.handlingOpen = true;\n var handler = function() {\n // By default mouseup events are fired before a click event.\n // By using a timeout we can force the mouseup to be handled\n // after the corresponding click event is handled.\n setTimeout(function() {\n $(document).off('mouseup', handler);\n STATE.handlingOpen = false;\n }, 0);\n };\n $(document).on('mouseup', handler);\n });\n\n\n // Only bind keydown events if the element isn’t editable.\n if ( !SETTINGS.editable ) {\n\n $ELEMENT.\n\n // Handle keyboard event based on the picker being opened or not.\n on( 'keydown.' + STATE.id, handleKeydownEvent )\n }\n\n\n // Update the aria attributes.\n aria(ELEMENT, {\n haspopup: true,\n expanded: false,\n readonly: false,\n owns: ELEMENT.id + '_root'\n })\n }\n\n\n /**\n * Prepare the root picker element with all bindings.\n */\n function prepareElementRoot() {\n aria( P.$root[0], 'hidden', true )\n }\n\n\n /**\n * Prepare the holder picker element with all bindings.\n */\n function prepareElementHolder() {\n\n P.$holder.\n\n on({\n\n // For iOS8.\n keydown: handleKeydownEvent,\n\n 'focus.toOpen': handleFocusToOpenEvent,\n\n blur: function() {\n // Remove the “target” class.\n $ELEMENT.removeClass( CLASSES.target )\n },\n\n // When something within the holder is focused, stop from bubbling\n // to the doc and remove the “focused” state from the root.\n focusin: function( event ) {\n P.$root.removeClass( CLASSES.focused )\n event.stopPropagation()\n },\n\n // When something within the holder is clicked, stop it\n // from bubbling to the doc.\n 'mousedown click': function( event ) {\n\n var target = getRealEventTarget( event, ELEMENT )\n\n // Make sure the target isn’t the root holder so it can bubble up.\n if ( target != P.$holder[0] ) {\n\n event.stopPropagation()\n\n // * For mousedown events, cancel the default action in order to\n // prevent cases where focus is shifted onto external elements\n // when using things like jQuery mobile or MagnificPopup (ref: #249 & #120).\n // Also, for Firefox, don’t prevent action on the `option` element.\n if ( event.type == 'mousedown' && !$( target ).is( 'input, select, textarea, button, option' )) {\n\n event.preventDefault()\n\n // Re-focus onto the holder so that users can click away\n // from elements focused within the picker.\n P.$holder.eq(0).focus()\n }\n }\n }\n\n }).\n\n // If there’s a click on an actionable element, carry out the actions.\n on( 'click', '[data-pick], [data-nav], [data-clear], [data-close]', function() {\n\n var $target = $( this ),\n targetData = $target.data(),\n targetDisabled = $target.hasClass( CLASSES.navDisabled ) || $target.hasClass( CLASSES.disabled ),\n\n // * For IE, non-focusable elements can be active elements as well\n // (http://stackoverflow.com/a/2684561).\n activeElement = getActiveElement()\n activeElement = activeElement && ( (activeElement.type || activeElement.href ) ? activeElement : null);\n\n // If it’s disabled or nothing inside is actively focused, re-focus the element.\n if ( targetDisabled || activeElement && !$.contains( P.$root[0], activeElement ) ) {\n P.$holder.eq(0).focus()\n }\n\n // If something is superficially changed, update the `highlight` based on the `nav`.\n if ( !targetDisabled && targetData.nav ) {\n P.set( 'highlight', P.component.item.highlight, { nav: targetData.nav } )\n }\n\n // If something is picked, set `select` then close with focus.\n else if ( !targetDisabled && 'pick' in targetData ) {\n P.set( 'select', targetData.pick )\n if ( SETTINGS.closeOnSelect ) {\n P.close( true )\n }\n }\n\n // If a “clear” button is pressed, empty the values and close with focus.\n else if ( targetData.clear ) {\n P.clear()\n if ( SETTINGS.closeOnClear ) {\n P.close( true )\n }\n }\n\n else if ( targetData.close ) {\n P.close( true )\n }\n\n }) //P.$holder\n\n }\n\n\n /**\n * Prepare the hidden input element along with all bindings.\n */\n function prepareElementHidden() {\n\n var name\n\n if ( SETTINGS.hiddenName === true ) {\n name = ELEMENT.name\n ELEMENT.name = ''\n }\n else {\n name = [\n typeof SETTINGS.hiddenPrefix == 'string' ? SETTINGS.hiddenPrefix : '',\n typeof SETTINGS.hiddenSuffix == 'string' ? SETTINGS.hiddenSuffix : '_submit'\n ]\n name = name[0] + ELEMENT.name + name[1]\n }\n\n P._hidden = $(\n ''\n )[0]\n\n $ELEMENT.\n\n // If the value changes, update the hidden input with the correct format.\n on('change.' + STATE.id, function() {\n P._hidden.value = ELEMENT.value ?\n P.get('select', SETTINGS.formatSubmit) :\n ''\n })\n }\n\n\n // Wait for transitions to end before focusing the holder. Otherwise, while\n // using the `container` option, the view jumps to the container.\n function focusPickerOnceOpened() {\n\n if (IS_DEFAULT_THEME && supportsTransitions) {\n P.$holder.find('.' + CLASSES.frame).one('transitionend', function() {\n P.$holder.eq(0).focus()\n })\n }\n else {\n setTimeout(function() {\n P.$holder.eq(0).focus()\n }, 0)\n }\n }\n\n\n function handleFocusToOpenEvent(event) {\n\n // Stop the event from propagating to the doc.\n event.stopPropagation()\n\n // Add the “target” class.\n $ELEMENT.addClass( CLASSES.target )\n\n // Add the “focused” class to the root.\n P.$root.addClass( CLASSES.focused )\n\n // And then finally open the picker.\n P.open()\n }\n\n\n // For iOS8.\n function handleKeydownEvent( event ) {\n\n var keycode = event.keyCode,\n\n // Check if one of the delete keys was pressed.\n isKeycodeDelete = /^(8|46)$/.test(keycode)\n\n // For some reason IE clears the input value on “escape”.\n if ( keycode == 27 ) {\n P.close( true )\n return false\n }\n\n // Check if `space` or `delete` was pressed or the picker is closed with a key movement.\n if ( keycode == 32 || isKeycodeDelete || !STATE.open && P.component.key[keycode] ) {\n\n // Prevent it from moving the page and bubbling to doc.\n event.preventDefault()\n event.stopPropagation()\n\n // If `delete` was pressed, clear the values and close the picker.\n // Otherwise open the picker.\n if ( isKeycodeDelete ) { P.clear().close() }\n else { P.open() }\n }\n }\n\n\n // Return a new picker instance.\n return new PickerInstance()\n} //PickerConstructor\n\n\n\n/**\n * The default classes and prefix to use for the HTML classes.\n */\nPickerConstructor.klasses = function( prefix ) {\n prefix = prefix || 'picker'\n return {\n\n picker: prefix,\n opened: prefix + '--opened',\n focused: prefix + '--focused',\n\n input: prefix + '__input',\n active: prefix + '__input--active',\n target: prefix + '__input--target',\n\n holder: prefix + '__holder',\n\n frame: prefix + '__frame',\n wrap: prefix + '__wrap',\n\n box: prefix + '__box'\n }\n} //PickerConstructor.klasses\n\n\n\n/**\n * Check if the default theme is being used.\n */\nfunction isUsingDefaultTheme( element ) {\n\n var theme,\n prop = 'position'\n\n // For IE.\n if ( element.currentStyle ) {\n theme = element.currentStyle[prop]\n }\n\n // For normal browsers.\n else if ( window.getComputedStyle ) {\n theme = getComputedStyle( element )[prop]\n }\n\n return theme == 'fixed'\n}\n\n\n\n/**\n * Get the width of the browser’s scrollbar.\n * Taken from: https://github.com/VodkaBears/Remodal/blob/master/src/jquery.remodal.js\n */\nfunction getScrollbarWidth() {\n\n if ( $html.height() <= $window.height() ) {\n return 0\n }\n\n var $outer = $( '
' ).\n appendTo( 'body' )\n\n // Get the width without scrollbars.\n var widthWithoutScroll = $outer[0].offsetWidth\n\n // Force adding scrollbars.\n $outer.css( 'overflow', 'scroll' )\n\n // Add the inner div.\n var $inner = $( '
' ).appendTo( $outer )\n\n // Get the width with scrollbars.\n var widthWithScroll = $inner[0].offsetWidth\n\n // Remove the divs.\n $outer.remove()\n\n // Return the difference between the widths.\n return widthWithoutScroll - widthWithScroll\n}\n\n\n\n/**\n * Get the target element from the event.\n * If ELEMENT is supplied and present in the event path (ELEMENT is ancestor of the target),\n * returns ELEMENT instead\n */\nfunction getRealEventTarget( event, ELEMENT ) {\n\n var path = []\n\n if ( event.path ) {\n path = event.path\n }\n\n if ( event.originalEvent && event.originalEvent.path ) {\n path = event.originalEvent.path\n }\n\n if ( path && path.length > 0 ) {\n if ( ELEMENT && path.indexOf( ELEMENT ) >= 0 ) {\n return ELEMENT\n } else {\n return path[0]\n }\n }\n\n return event.target\n}\n\n/**\n * PickerConstructor helper methods.\n */\nPickerConstructor._ = {\n\n /**\n * Create a group of nodes. Expects:\n * `\n {\n min: {Integer},\n max: {Integer},\n i: {Integer},\n node: {String},\n item: {Function}\n }\n * `\n */\n group: function( groupObject ) {\n\n var\n // Scope for the looped object\n loopObjectScope,\n\n // Create the nodes list\n nodesList = '',\n\n // The counter starts from the `min`\n counter = PickerConstructor._.trigger( groupObject.min, groupObject )\n\n\n // Loop from the `min` to `max`, incrementing by `i`\n for ( ; counter <= PickerConstructor._.trigger( groupObject.max, groupObject, [ counter ] ); counter += groupObject.i ) {\n\n // Trigger the `item` function within scope of the object\n loopObjectScope = PickerConstructor._.trigger( groupObject.item, groupObject, [ counter ] )\n\n // Splice the subgroup and create nodes out of the sub nodes\n nodesList += PickerConstructor._.node(\n groupObject.node,\n loopObjectScope[ 0 ], // the node\n loopObjectScope[ 1 ], // the classes\n loopObjectScope[ 2 ] // the attributes\n )\n }\n\n // Return the list of nodes\n return nodesList\n }, //group\n\n\n /**\n * Create a dom node string\n */\n node: function( wrapper, item, klass, attribute ) {\n\n // If the item is false-y, just return an empty string\n if ( !item ) return ''\n\n // If the item is an array, do a join\n item = $.isArray( item ) ? item.join( '' ) : item\n\n // Check for the class\n klass = klass ? ' class=\"' + klass + '\"' : ''\n\n // Check for any attributes\n attribute = attribute ? ' ' + attribute : ''\n\n // Return the wrapped item\n return '<' + wrapper + klass + attribute + '>' + item + ''\n }, //node\n\n\n /**\n * Lead numbers below 10 with a zero.\n */\n lead: function( number ) {\n return ( number < 10 ? '0': '' ) + number\n },\n\n\n /**\n * Trigger a function otherwise return the value.\n */\n trigger: function( callback, scope, args ) {\n return typeof callback == 'function' ? callback.apply( scope, args || [] ) : callback\n },\n\n\n /**\n * If the second character is a digit, length is 2 otherwise 1.\n */\n digits: function( string ) {\n return ( /\\d/ ).test( string[ 1 ] ) ? 2 : 1\n },\n\n\n /**\n * Tell if something is a date object.\n */\n isDate: function( value ) {\n return {}.toString.call( value ).indexOf( 'Date' ) > -1 && this.isInteger( value.getDate() )\n },\n\n\n /**\n * Tell if something is an integer.\n */\n isInteger: function( value ) {\n return {}.toString.call( value ).indexOf( 'Number' ) > -1 && value % 1 === 0\n },\n\n\n /**\n * Create ARIA attribute strings.\n */\n ariaAttr: ariaAttr\n} //PickerConstructor._\n\n\n\n/**\n * Extend the picker with a component and defaults.\n */\nPickerConstructor.extend = function( name, Component ) {\n\n // Extend jQuery.\n $.fn[ name ] = function( options, action ) {\n\n // Grab the component data.\n var componentData = this.data( name )\n\n // If the picker is requested, return the data object.\n if ( options == 'picker' ) {\n return componentData\n }\n\n // If the component data exists and `options` is a string, carry out the action.\n if ( componentData && typeof options == 'string' ) {\n return PickerConstructor._.trigger( componentData[ options ], componentData, [ action ] )\n }\n\n // Otherwise go through each matched element and if the component\n // doesn’t exist, create a new picker using `this` element\n // and merging the defaults and options with a deep copy.\n return this.each( function() {\n var $this = $( this )\n if ( !$this.data( name ) ) {\n new PickerConstructor( this, name, Component, options )\n }\n })\n }\n\n // Set the defaults.\n $.fn[ name ].defaults = Component.defaults\n} //PickerConstructor.extend\n\n\n\nfunction aria(element, attribute, value) {\n if ( $.isPlainObject(attribute) ) {\n for ( var key in attribute ) {\n ariaSet(element, key, attribute[key])\n }\n }\n else {\n ariaSet(element, attribute, value)\n }\n}\nfunction ariaSet(element, attribute, value) {\n element.setAttribute(\n (attribute == 'role' ? '' : 'aria-') + attribute,\n value\n )\n}\nfunction ariaAttr(attribute, data) {\n if ( !$.isPlainObject(attribute) ) {\n attribute = { attribute: data }\n }\n data = ''\n for ( var key in attribute ) {\n var attr = (key == 'role' ? '' : 'aria-') + key,\n attrVal = attribute[key]\n data += attrVal == null ? '' : attr + '=\"' + attribute[key] + '\"'\n }\n return data\n}\n\n// IE8 bug throws an error for activeElements within iframes.\nfunction getActiveElement() {\n try {\n return document.activeElement\n } catch ( err ) { }\n}\n\n\n\n// Expose the picker constructor.\nreturn PickerConstructor\n\n\n}));\n","/*!\n * Date picker for pickadate.js v3.6.4\n * http://amsul.github.io/pickadate.js/date.htm\n */\n\n(function ( factory ) {\n\n // AMD.\n if ( typeof define == 'function' && define.amd )\n define( ['./picker', 'jquery'], factory )\n\n // Node.js/browserify.\n else if ( typeof exports == 'object' )\n module.exports = factory( require('./picker.js'), require('jquery') )\n\n // Browser globals.\n else factory( Picker, jQuery )\n\n}(function( Picker, $ ) {\n\n\n/**\n * Globals and constants\n */\nvar DAYS_IN_WEEK = 7,\n WEEKS_IN_CALENDAR = 6,\n _ = Picker._\n\n\n\n/**\n * The date picker constructor\n */\nfunction DatePicker( picker, settings ) {\n\n var calendar = this,\n element = picker.$node[ 0 ],\n elementValue = element.value,\n elementDataValue = picker.$node.data( 'value' ),\n valueString = elementDataValue || elementValue,\n formatString = elementDataValue ? settings.formatSubmit : settings.format,\n isRTL = function() {\n\n return element.currentStyle ?\n\n // For IE.\n element.currentStyle.direction == 'rtl' :\n\n // For normal browsers.\n getComputedStyle( picker.$root[0] ).direction == 'rtl'\n }\n\n calendar.settings = settings\n calendar.$node = picker.$node\n\n // The queue of methods that will be used to build item objects.\n calendar.queue = {\n min: 'measure create',\n max: 'measure create',\n now: 'now create',\n select: 'parse create validate',\n highlight: 'parse navigate create validate',\n view: 'parse create validate viewset',\n disable: 'deactivate',\n enable: 'activate'\n }\n\n // The component's item object.\n calendar.item = {}\n\n calendar.item.clear = null\n calendar.item.disable = ( settings.disable || [] ).slice( 0 )\n calendar.item.enable = -(function( collectionDisabled ) {\n return collectionDisabled[ 0 ] === true ? collectionDisabled.shift() : -1\n })( calendar.item.disable )\n\n calendar.\n set( 'min', settings.min ).\n set( 'max', settings.max ).\n set( 'now' )\n\n // When there’s a value, set the `select`, which in turn\n // also sets the `highlight` and `view`.\n if ( valueString ) {\n calendar.set( 'select', valueString, {\n format: formatString,\n defaultValue: true\n })\n }\n\n // If there’s no value, default to highlighting “today”.\n else {\n calendar.\n set( 'select', null ).\n set( 'highlight', calendar.item.now )\n }\n\n\n // The keycode to movement mapping.\n calendar.key = {\n 40: 7, // Down\n 38: -7, // Up\n 39: function() { return isRTL() ? -1 : 1 }, // Right\n 37: function() { return isRTL() ? 1 : -1 }, // Left\n go: function( timeChange ) {\n var highlightedObject = calendar.item.highlight,\n targetDate = new Date( highlightedObject.year, highlightedObject.month, highlightedObject.date + timeChange )\n calendar.set(\n 'highlight',\n targetDate,\n { interval: timeChange }\n )\n this.render()\n }\n }\n\n\n // Bind some picker events.\n picker.\n on( 'render', function() {\n picker.$root.find( '.' + settings.klass.selectMonth ).on( 'change', function() {\n var value = this.value\n if ( value ) {\n picker.set( 'highlight', [ picker.get( 'view' ).year, value, picker.get( 'highlight' ).date ] )\n picker.$root.find( '.' + settings.klass.selectMonth ).trigger( 'focus' )\n }\n })\n picker.$root.find( '.' + settings.klass.selectYear ).on( 'change', function() {\n var value = this.value\n if ( value ) {\n picker.set( 'highlight', [ value, picker.get( 'view' ).month, picker.get( 'highlight' ).date ] )\n picker.$root.find( '.' + settings.klass.selectYear ).trigger( 'focus' )\n }\n })\n }, 1 ).\n on( 'open', function() {\n var includeToday = ''\n if ( calendar.disabled( calendar.get('now') ) ) {\n includeToday = ':not(.' + settings.klass.buttonToday + ')'\n }\n picker.$root.find( 'button' + includeToday + ', select' ).attr( 'disabled', false )\n }, 1 ).\n on( 'close', function() {\n picker.$root.find( 'button, select' ).attr( 'disabled', true )\n }, 1 )\n\n} //DatePicker\n\n\n/**\n * Set a datepicker item object.\n */\nDatePicker.prototype.set = function( type, value, options ) {\n\n var calendar = this,\n calendarItem = calendar.item\n\n // If the value is `null` just set it immediately.\n if ( value === null ) {\n if ( type == 'clear' ) type = 'select'\n calendarItem[ type ] = value\n return calendar\n }\n\n // Otherwise go through the queue of methods, and invoke the functions.\n // Update this as the time unit, and set the final value as this item.\n // * In the case of `enable`, keep the queue but set `disable` instead.\n // And in the case of `flip`, keep the queue but set `enable` instead.\n calendarItem[ ( type == 'enable' ? 'disable' : type == 'flip' ? 'enable' : type ) ] = calendar.queue[ type ].split( ' ' ).map( function( method ) {\n value = calendar[ method ]( type, value, options )\n return value\n }).pop()\n\n // Check if we need to cascade through more updates.\n if ( type == 'select' ) {\n calendar.set( 'highlight', calendarItem.select, options )\n }\n else if ( type == 'highlight' ) {\n calendar.set( 'view', calendarItem.highlight, options )\n }\n else if ( type.match( /^(flip|min|max|disable|enable)$/ ) ) {\n if ( calendarItem.select && calendar.disabled( calendarItem.select ) ) {\n calendar.set( 'select', calendarItem.select, options )\n }\n if ( calendarItem.highlight && calendar.disabled( calendarItem.highlight ) ) {\n calendar.set( 'highlight', calendarItem.highlight, options )\n }\n }\n\n return calendar\n} //DatePicker.prototype.set\n\n\n/**\n * Get a datepicker item object.\n */\nDatePicker.prototype.get = function( type ) {\n return this.item[ type ]\n} //DatePicker.prototype.get\n\n\n/**\n * Create a picker date object.\n */\nDatePicker.prototype.create = function( type, value, options ) {\n\n var isInfiniteValue,\n calendar = this\n\n // If there’s no value, use the type as the value.\n value = value === undefined ? type : value\n\n\n // If it’s infinity, update the value.\n if ( value == -Infinity || value == Infinity ) {\n isInfiniteValue = value\n }\n\n // If it’s an object, use the native date object.\n else if ( $.isPlainObject( value ) && _.isInteger( value.pick ) ) {\n value = value.obj\n }\n\n // If it’s an array, convert it into a date and make sure\n // that it’s a valid date – otherwise default to today.\n else if ( $.isArray( value ) ) {\n value = new Date( value[ 0 ], value[ 1 ], value[ 2 ] )\n value = _.isDate( value ) ? value : calendar.create().obj\n }\n\n // If it’s a number or date object, make a normalized date.\n else if ( _.isInteger( value ) || _.isDate( value ) ) {\n value = calendar.normalize( new Date( value ), options )\n }\n\n // If it’s a literal true or any other case, set it to now.\n else /*if ( value === true )*/ {\n value = calendar.now( type, value, options )\n }\n\n // Return the compiled object.\n return {\n year: isInfiniteValue || value.getFullYear(),\n month: isInfiniteValue || value.getMonth(),\n date: isInfiniteValue || value.getDate(),\n day: isInfiniteValue || value.getDay(),\n obj: isInfiniteValue || value,\n pick: isInfiniteValue || value.getTime()\n }\n} //DatePicker.prototype.create\n\n\n/**\n * Create a range limit object using an array, date object,\n * literal “true”, or integer relative to another time.\n */\nDatePicker.prototype.createRange = function( from, to ) {\n\n var calendar = this,\n createDate = function( date ) {\n if ( date === true || $.isArray( date ) || _.isDate( date ) ) {\n return calendar.create( date )\n }\n return date\n }\n\n // Create objects if possible.\n if ( !_.isInteger( from ) ) {\n from = createDate( from )\n }\n if ( !_.isInteger( to ) ) {\n to = createDate( to )\n }\n\n // Create relative dates.\n if ( _.isInteger( from ) && $.isPlainObject( to ) ) {\n from = [ to.year, to.month, to.date + from ];\n }\n else if ( _.isInteger( to ) && $.isPlainObject( from ) ) {\n to = [ from.year, from.month, from.date + to ];\n }\n\n return {\n from: createDate( from ),\n to: createDate( to )\n }\n} //DatePicker.prototype.createRange\n\n\n/**\n * Check if a date unit falls within a date range object.\n */\nDatePicker.prototype.withinRange = function( range, dateUnit ) {\n range = this.createRange(range.from, range.to)\n return dateUnit.pick >= range.from.pick && dateUnit.pick <= range.to.pick\n}\n\n\n/**\n * Check if two date range objects overlap.\n */\nDatePicker.prototype.overlapRanges = function( one, two ) {\n\n var calendar = this\n\n // Convert the ranges into comparable dates.\n one = calendar.createRange( one.from, one.to )\n two = calendar.createRange( two.from, two.to )\n\n return calendar.withinRange( one, two.from ) || calendar.withinRange( one, two.to ) ||\n calendar.withinRange( two, one.from ) || calendar.withinRange( two, one.to )\n}\n\n\n/**\n * Get the date today.\n */\nDatePicker.prototype.now = function( type, value, options ) {\n value = new Date()\n if ( options && options.rel ) {\n value.setDate( value.getDate() + options.rel )\n }\n return this.normalize( value, options )\n}\n\n\n/**\n * Navigate to next/prev month.\n */\nDatePicker.prototype.navigate = function( type, value, options ) {\n\n var targetDateObject,\n targetYear,\n targetMonth,\n targetDate,\n isTargetArray = $.isArray( value ),\n isTargetObject = $.isPlainObject( value ),\n viewsetObject = this.item.view/*,\n safety = 100*/\n\n\n if ( isTargetArray || isTargetObject ) {\n\n if ( isTargetObject ) {\n targetYear = value.year\n targetMonth = value.month\n targetDate = value.date\n }\n else {\n targetYear = +value[0]\n targetMonth = +value[1]\n targetDate = +value[2]\n }\n\n // If we’re navigating months but the view is in a different\n // month, navigate to the view’s year and month.\n if ( options && options.nav && viewsetObject && viewsetObject.month !== targetMonth ) {\n targetYear = viewsetObject.year\n targetMonth = viewsetObject.month\n }\n\n // Figure out the expected target year and month.\n targetDateObject = new Date( targetYear, targetMonth + ( options && options.nav ? options.nav : 0 ), 1 )\n targetYear = targetDateObject.getFullYear()\n targetMonth = targetDateObject.getMonth()\n\n // If the month we’re going to doesn’t have enough days,\n // keep decreasing the date until we reach the month’s last date.\n while ( /*safety &&*/ new Date( targetYear, targetMonth, targetDate ).getMonth() !== targetMonth ) {\n targetDate -= 1\n /*safety -= 1\n if ( !safety ) {\n throw 'Fell into an infinite loop while navigating to ' + new Date( targetYear, targetMonth, targetDate ) + '.'\n }*/\n }\n\n value = [ targetYear, targetMonth, targetDate ]\n }\n\n return value\n} //DatePicker.prototype.navigate\n\n\n/**\n * Normalize a date by setting the hours to midnight.\n */\nDatePicker.prototype.normalize = function( value/*, options*/ ) {\n value.setHours( 0, 0, 0, 0 )\n return value\n}\n\n\n/**\n * Measure the range of dates.\n */\nDatePicker.prototype.measure = function( type, value/*, options*/ ) {\n\n var calendar = this\n \n // If it's an integer, get a date relative to today.\n if ( _.isInteger( value ) ) {\n value = calendar.now( type, value, { rel: value } )\n }\n\n // If it’s anything false-y, remove the limits.\n else if ( !value ) {\n value = type == 'min' ? -Infinity : Infinity\n }\n\n // If it’s a string, parse it.\n else if ( typeof value == 'string' ) {\n value = calendar.parse( type, value )\n }\n\n return value\n} ///DatePicker.prototype.measure\n\n\n/**\n * Create a viewset object based on navigation.\n */\nDatePicker.prototype.viewset = function( type, dateObject/*, options*/ ) {\n return this.create([ dateObject.year, dateObject.month, 1 ])\n}\n\n\n/**\n * Validate a date as enabled and shift if needed.\n */\nDatePicker.prototype.validate = function( type, dateObject, options ) {\n\n var calendar = this,\n\n // Keep a reference to the original date.\n originalDateObject = dateObject,\n\n // Make sure we have an interval.\n interval = options && options.interval ? options.interval : 1,\n\n // Check if the calendar enabled dates are inverted.\n isFlippedBase = calendar.item.enable === -1,\n\n // Check if we have any enabled dates after/before now.\n hasEnabledBeforeTarget, hasEnabledAfterTarget,\n\n // The min & max limits.\n minLimitObject = calendar.item.min,\n maxLimitObject = calendar.item.max,\n\n // Check if we’ve reached the limit during shifting.\n reachedMin, reachedMax,\n\n // Check if the calendar is inverted and at least one weekday is enabled.\n hasEnabledWeekdays = isFlippedBase && calendar.item.disable.filter( function( value ) {\n\n // If there’s a date, check where it is relative to the target.\n if ( $.isArray( value ) ) {\n var dateTime = calendar.create( value ).pick\n if ( dateTime < dateObject.pick ) hasEnabledBeforeTarget = true\n else if ( dateTime > dateObject.pick ) hasEnabledAfterTarget = true\n }\n\n // Return only integers for enabled weekdays.\n return _.isInteger( value )\n }).length/*,\n\n safety = 100*/\n\n\n\n // Cases to validate for:\n // [1] Not inverted and date disabled.\n // [2] Inverted and some dates enabled.\n // [3] Not inverted and out of range.\n //\n // Cases to **not** validate for:\n // • Navigating months.\n // • Not inverted and date enabled.\n // • Inverted and all dates disabled.\n // • ..and anything else.\n if ( !options || (!options.nav && !options.defaultValue) ) if (\n /* 1 */ ( !isFlippedBase && calendar.disabled( dateObject ) ) ||\n /* 2 */ ( isFlippedBase && calendar.disabled( dateObject ) && ( hasEnabledWeekdays || hasEnabledBeforeTarget || hasEnabledAfterTarget ) ) ||\n /* 3 */ ( !isFlippedBase && (dateObject.pick <= minLimitObject.pick || dateObject.pick >= maxLimitObject.pick) )\n ) {\n\n\n // When inverted, flip the direction if there aren’t any enabled weekdays\n // and there are no enabled dates in the direction of the interval.\n if ( isFlippedBase && !hasEnabledWeekdays && ( ( !hasEnabledAfterTarget && interval > 0 ) || ( !hasEnabledBeforeTarget && interval < 0 ) ) ) {\n interval *= -1\n }\n\n\n // Keep looping until we reach an enabled date.\n while ( /*safety &&*/ calendar.disabled( dateObject ) ) {\n\n /*safety -= 1\n if ( !safety ) {\n throw 'Fell into an infinite loop while validating ' + dateObject.obj + '.'\n }*/\n\n\n // If we’ve looped into the next/prev month with a large interval, return to the original date and flatten the interval.\n if ( Math.abs( interval ) > 1 && ( dateObject.month < originalDateObject.month || dateObject.month > originalDateObject.month ) ) {\n dateObject = originalDateObject\n interval = interval > 0 ? 1 : -1\n }\n\n\n // If we’ve reached the min/max limit, reverse the direction, flatten the interval and set it to the limit.\n if ( dateObject.pick <= minLimitObject.pick ) {\n reachedMin = true\n interval = 1\n dateObject = calendar.create([\n minLimitObject.year,\n minLimitObject.month,\n minLimitObject.date + (dateObject.pick === minLimitObject.pick ? 0 : -1)\n ])\n }\n else if ( dateObject.pick >= maxLimitObject.pick ) {\n reachedMax = true\n interval = -1\n dateObject = calendar.create([\n maxLimitObject.year,\n maxLimitObject.month,\n maxLimitObject.date + (dateObject.pick === maxLimitObject.pick ? 0 : 1)\n ])\n }\n\n\n // If we’ve reached both limits, just break out of the loop.\n if ( reachedMin && reachedMax ) {\n break\n }\n\n\n // Finally, create the shifted date using the interval and keep looping.\n dateObject = calendar.create([ dateObject.year, dateObject.month, dateObject.date + interval ])\n }\n\n } //endif\n\n\n // Return the date object settled on.\n return dateObject\n} //DatePicker.prototype.validate\n\n\n/**\n * Check if a date is disabled.\n */\nDatePicker.prototype.disabled = function( dateToVerify ) {\n\n var\n calendar = this,\n\n // Filter through the disabled dates to check if this is one.\n isDisabledMatch = calendar.item.disable.filter( function( dateToDisable ) {\n\n // If the date is a number, match the weekday with 0index and `firstDay` check.\n if ( _.isInteger( dateToDisable ) ) {\n return dateToVerify.day === ( calendar.settings.firstDay ? dateToDisable : dateToDisable - 1 ) % 7\n }\n\n // If it’s an array or a native JS date, create and match the exact date.\n if ( $.isArray( dateToDisable ) || _.isDate( dateToDisable ) ) {\n return dateToVerify.pick === calendar.create( dateToDisable ).pick\n }\n\n // If it’s an object, match a date within the “from” and “to” range.\n if ( $.isPlainObject( dateToDisable ) ) {\n return calendar.withinRange( dateToDisable, dateToVerify )\n }\n })\n\n // If this date matches a disabled date, confirm it’s not inverted.\n isDisabledMatch = isDisabledMatch.length && !isDisabledMatch.filter(function( dateToDisable ) {\n return $.isArray( dateToDisable ) && dateToDisable[3] == 'inverted' ||\n $.isPlainObject( dateToDisable ) && dateToDisable.inverted\n }).length\n\n // Check the calendar “enabled” flag and respectively flip the\n // disabled state. Then also check if it’s beyond the min/max limits.\n return calendar.item.enable === -1 ? !isDisabledMatch : isDisabledMatch ||\n dateToVerify.pick < calendar.item.min.pick ||\n dateToVerify.pick > calendar.item.max.pick\n\n} //DatePicker.prototype.disabled\n\n\n/**\n * Parse a string into a usable type.\n */\nDatePicker.prototype.parse = function( type, value, options ) {\n\n var calendar = this,\n parsingObject = {}\n\n // If it’s already parsed, we’re good.\n if ( !value || typeof value != 'string' ) {\n return value\n }\n\n // We need a `.format` to parse the value with.\n if ( !( options && options.format ) ) {\n options = options || {}\n options.format = calendar.settings.format\n }\n\n // Convert the format into an array and then map through it.\n calendar.formats.toArray( options.format ).map( function( label ) {\n\n var\n // Grab the formatting label.\n formattingLabel = calendar.formats[ label ],\n\n // The format length is from the formatting label function or the\n // label length without the escaping exclamation (!) mark.\n formatLength = formattingLabel ? _.trigger( formattingLabel, calendar, [ value, parsingObject ] ) : label.replace( /^!/, '' ).length\n\n // If there's a format label, split the value up to the format length.\n // Then add it to the parsing object with appropriate label.\n if ( formattingLabel ) {\n parsingObject[ label ] = value.substr( 0, formatLength )\n }\n\n // Update the value as the substring from format length to end.\n value = value.substr( formatLength )\n })\n\n // Compensate for month 0index.\n return [\n parsingObject.yyyy || parsingObject.yy,\n +( parsingObject.mm || parsingObject.m ) - 1,\n parsingObject.dd || parsingObject.d\n ]\n} //DatePicker.prototype.parse\n\n\n/**\n * Various formats to display the object in.\n */\nDatePicker.prototype.formats = (function() {\n\n // Return the length of the first word in a collection.\n function getWordLengthFromCollection( string, collection, dateObject ) {\n\n // Grab the first word from the string.\n // Regex pattern from http://stackoverflow.com/q/150033\n var word = string.match( /[^\\x00-\\x7F]+|\\w+/ )[ 0 ]\n\n // If there's no month index, add it to the date object\n if ( !dateObject.mm && !dateObject.m ) {\n dateObject.m = collection.indexOf( word ) + 1\n }\n\n // Return the length of the word.\n return word.length\n }\n\n // Get the length of the first word in a string.\n function getFirstWordLength( string ) {\n return string.match( /\\w+/ )[ 0 ].length\n }\n\n return {\n\n d: function( string, dateObject ) {\n\n // If there's string, then get the digits length.\n // Otherwise return the selected date.\n return string ? _.digits( string ) : dateObject.date\n },\n dd: function( string, dateObject ) {\n\n // If there's a string, then the length is always 2.\n // Otherwise return the selected date with a leading zero.\n return string ? 2 : _.lead( dateObject.date )\n },\n ddd: function( string, dateObject ) {\n\n // If there's a string, then get the length of the first word.\n // Otherwise return the short selected weekday.\n return string ? getFirstWordLength( string ) : this.settings.weekdaysShort[ dateObject.day ]\n },\n dddd: function( string, dateObject ) {\n\n // If there's a string, then get the length of the first word.\n // Otherwise return the full selected weekday.\n return string ? getFirstWordLength( string ) : this.settings.weekdaysFull[ dateObject.day ]\n },\n m: function( string, dateObject ) {\n\n // If there's a string, then get the length of the digits\n // Otherwise return the selected month with 0index compensation.\n return string ? _.digits( string ) : dateObject.month + 1\n },\n mm: function( string, dateObject ) {\n\n // If there's a string, then the length is always 2.\n // Otherwise return the selected month with 0index and leading zero.\n return string ? 2 : _.lead( dateObject.month + 1 )\n },\n mmm: function( string, dateObject ) {\n\n var collection = this.settings.monthsShort\n\n // If there's a string, get length of the relevant month from the short\n // months collection. Otherwise return the selected month from that collection.\n return string ? getWordLengthFromCollection( string, collection, dateObject ) : collection[ dateObject.month ]\n },\n mmmm: function( string, dateObject ) {\n\n var collection = this.settings.monthsFull\n\n // If there's a string, get length of the relevant month from the full\n // months collection. Otherwise return the selected month from that collection.\n return string ? getWordLengthFromCollection( string, collection, dateObject ) : collection[ dateObject.month ]\n },\n yy: function( string, dateObject ) {\n\n // If there's a string, then the length is always 2.\n // Otherwise return the selected year by slicing out the first 2 digits.\n return string ? 2 : ( '' + dateObject.year ).slice( 2 )\n },\n yyyy: function( string, dateObject ) {\n\n // If there's a string, then the length is always 4.\n // Otherwise return the selected year.\n return string ? 4 : dateObject.year\n },\n\n // Create an array by splitting the formatting string passed.\n toArray: function( formatString ) { return formatString.split( /(d{1,4}|m{1,4}|y{4}|yy|!.)/g ) },\n\n // Format an object into a string using the formatting options.\n toString: function ( formatString, itemObject ) {\n var calendar = this\n return calendar.formats.toArray( formatString ).map( function( label ) {\n return _.trigger( calendar.formats[ label ], calendar, [ 0, itemObject ] ) || label.replace( /^!/, '' )\n }).join( '' )\n }\n }\n})() //DatePicker.prototype.formats\n\n\n\n\n/**\n * Check if two date units are the exact.\n */\nDatePicker.prototype.isDateExact = function( one, two ) {\n\n var calendar = this\n\n // When we’re working with weekdays, do a direct comparison.\n if (\n ( _.isInteger( one ) && _.isInteger( two ) ) ||\n ( typeof one == 'boolean' && typeof two == 'boolean' )\n ) {\n return one === two\n }\n\n // When we’re working with date representations, compare the “pick” value.\n if (\n ( _.isDate( one ) || $.isArray( one ) ) &&\n ( _.isDate( two ) || $.isArray( two ) )\n ) {\n return calendar.create( one ).pick === calendar.create( two ).pick\n }\n\n // When we’re working with range objects, compare the “from” and “to”.\n if ( $.isPlainObject( one ) && $.isPlainObject( two ) ) {\n return calendar.isDateExact( one.from, two.from ) && calendar.isDateExact( one.to, two.to )\n }\n\n return false\n}\n\n\n/**\n * Check if two date units overlap.\n */\nDatePicker.prototype.isDateOverlap = function( one, two ) {\n\n var calendar = this,\n firstDay = calendar.settings.firstDay ? 1 : 0\n\n // When we’re working with a weekday index, compare the days.\n if ( _.isInteger( one ) && ( _.isDate( two ) || $.isArray( two ) ) ) {\n one = one % 7 + firstDay\n return one === calendar.create( two ).day + 1\n }\n if ( _.isInteger( two ) && ( _.isDate( one ) || $.isArray( one ) ) ) {\n two = two % 7 + firstDay\n return two === calendar.create( one ).day + 1\n }\n\n // When we’re working with range objects, check if the ranges overlap.\n if ( $.isPlainObject( one ) && $.isPlainObject( two ) ) {\n return calendar.overlapRanges( one, two )\n }\n\n return false\n}\n\n\n/**\n * Flip the “enabled” state.\n */\nDatePicker.prototype.flipEnable = function(val) {\n var itemObject = this.item\n itemObject.enable = val || (itemObject.enable == -1 ? 1 : -1)\n}\n\n\n/**\n * Mark a collection of dates as “disabled”.\n */\nDatePicker.prototype.deactivate = function( type, datesToDisable ) {\n\n var calendar = this,\n disabledItems = calendar.item.disable.slice(0)\n\n\n // If we’re flipping, that’s all we need to do.\n if ( datesToDisable == 'flip' ) {\n calendar.flipEnable()\n }\n\n else if ( datesToDisable === false ) {\n calendar.flipEnable(1)\n disabledItems = []\n }\n\n else if ( datesToDisable === true ) {\n calendar.flipEnable(-1)\n disabledItems = []\n }\n\n // Otherwise go through the dates to disable.\n else {\n\n datesToDisable.map(function( unitToDisable ) {\n\n var matchFound\n\n // When we have disabled items, check for matches.\n // If something is matched, immediately break out.\n for ( var index = 0; index < disabledItems.length; index += 1 ) {\n if ( calendar.isDateExact( unitToDisable, disabledItems[index] ) ) {\n matchFound = true\n break\n }\n }\n\n // If nothing was found, add the validated unit to the collection.\n if ( !matchFound ) {\n if (\n _.isInteger( unitToDisable ) ||\n _.isDate( unitToDisable ) ||\n $.isArray( unitToDisable ) ||\n ( $.isPlainObject( unitToDisable ) && unitToDisable.from && unitToDisable.to )\n ) {\n disabledItems.push( unitToDisable )\n }\n }\n })\n }\n\n // Return the updated collection.\n return disabledItems\n} //DatePicker.prototype.deactivate\n\n\n/**\n * Mark a collection of dates as “enabled”.\n */\nDatePicker.prototype.activate = function( type, datesToEnable ) {\n\n var calendar = this,\n disabledItems = calendar.item.disable,\n disabledItemsCount = disabledItems.length\n\n // If we’re flipping, that’s all we need to do.\n if ( datesToEnable == 'flip' ) {\n calendar.flipEnable()\n }\n\n else if ( datesToEnable === true ) {\n calendar.flipEnable(1)\n disabledItems = []\n }\n\n else if ( datesToEnable === false ) {\n calendar.flipEnable(-1)\n disabledItems = []\n }\n\n // Otherwise go through the disabled dates.\n else {\n\n datesToEnable.map(function( unitToEnable ) {\n\n var matchFound,\n disabledUnit,\n index,\n isExactRange\n\n // Go through the disabled items and try to find a match.\n for ( index = 0; index < disabledItemsCount; index += 1 ) {\n\n disabledUnit = disabledItems[index]\n\n // When an exact match is found, remove it from the collection.\n if ( calendar.isDateExact( disabledUnit, unitToEnable ) ) {\n matchFound = disabledItems[index] = null\n isExactRange = true\n break\n }\n\n // When an overlapped match is found, add the “inverted” state to it.\n else if ( calendar.isDateOverlap( disabledUnit, unitToEnable ) ) {\n if ( $.isPlainObject( unitToEnable ) ) {\n unitToEnable.inverted = true\n matchFound = unitToEnable\n }\n else if ( $.isArray( unitToEnable ) ) {\n matchFound = unitToEnable\n if ( !matchFound[3] ) matchFound.push( 'inverted' )\n }\n else if ( _.isDate( unitToEnable ) ) {\n matchFound = [ unitToEnable.getFullYear(), unitToEnable.getMonth(), unitToEnable.getDate(), 'inverted' ]\n }\n break\n }\n }\n\n // If a match was found, remove a previous duplicate entry.\n if ( matchFound ) for ( index = 0; index < disabledItemsCount; index += 1 ) {\n if ( calendar.isDateExact( disabledItems[index], unitToEnable ) ) {\n disabledItems[index] = null\n break\n }\n }\n\n // In the event that we’re dealing with an exact range of dates,\n // make sure there are no “inverted” dates because of it.\n if ( isExactRange ) for ( index = 0; index < disabledItemsCount; index += 1 ) {\n if ( calendar.isDateOverlap( disabledItems[index], unitToEnable ) ) {\n disabledItems[index] = null\n break\n }\n }\n\n // If something is still matched, add it into the collection.\n if ( matchFound ) {\n disabledItems.push( matchFound )\n }\n })\n }\n\n // Return the updated collection.\n return disabledItems.filter(function( val ) { return val != null })\n} //DatePicker.prototype.activate\n\n\n/**\n * Create a string for the nodes in the picker.\n */\nDatePicker.prototype.nodes = function( isOpen ) {\n\n var\n calendar = this,\n settings = calendar.settings,\n calendarItem = calendar.item,\n nowObject = calendarItem.now,\n selectedObject = calendarItem.select,\n highlightedObject = calendarItem.highlight,\n viewsetObject = calendarItem.view,\n disabledCollection = calendarItem.disable,\n minLimitObject = calendarItem.min,\n maxLimitObject = calendarItem.max,\n\n\n // Create the calendar table head using a copy of weekday labels collection.\n // * We do a copy so we don't mutate the original array.\n tableHead = (function( collection, fullCollection ) {\n\n // If the first day should be Monday, move Sunday to the end.\n if ( settings.firstDay ) {\n collection.push( collection.shift() )\n fullCollection.push( fullCollection.shift() )\n }\n\n // Create and return the table head group.\n return _.node(\n 'thead',\n _.node(\n 'tr',\n _.group({\n min: 0,\n max: DAYS_IN_WEEK - 1,\n i: 1,\n node: 'th',\n item: function( counter ) {\n return [\n collection[ counter ],\n settings.klass.weekdays,\n 'scope=col title=\"' + fullCollection[ counter ] + '\"'\n ]\n }\n })\n )\n ) //endreturn\n })( ( settings.showWeekdaysFull ? settings.weekdaysFull : settings.weekdaysShort ).slice( 0 ), settings.weekdaysFull.slice( 0 ) ), //tableHead\n\n\n // Create the nav for next/prev month.\n createMonthNav = function( next ) {\n\n // Otherwise, return the created month tag.\n return _.node(\n 'div',\n ' ',\n settings.klass[ 'nav' + ( next ? 'Next' : 'Prev' ) ] + (\n\n // If the focused month is outside the range, disabled the button.\n ( next && viewsetObject.year >= maxLimitObject.year && viewsetObject.month >= maxLimitObject.month ) ||\n ( !next && viewsetObject.year <= minLimitObject.year && viewsetObject.month <= minLimitObject.month ) ?\n ' ' + settings.klass.navDisabled : ''\n ),\n 'data-nav=' + ( next || -1 ) + ' ' +\n _.ariaAttr({\n role: 'button',\n controls: calendar.$node[0].id + '_table'\n }) + ' ' +\n 'title=\"' + (next ? settings.labelMonthNext : settings.labelMonthPrev ) + '\"'\n ) //endreturn\n }, //createMonthNav\n\n\n // Create the month label.\n createMonthLabel = function() {\n\n var monthsCollection = settings.showMonthsShort ? settings.monthsShort : settings.monthsFull\n\n // If there are months to select, add a dropdown menu.\n if ( settings.selectMonths ) {\n\n return _.node( 'select',\n _.group({\n min: 0,\n max: 11,\n i: 1,\n node: 'option',\n item: function( loopedMonth ) {\n\n return [\n\n // The looped month and no classes.\n monthsCollection[ loopedMonth ], 0,\n\n // Set the value and selected index.\n 'value=' + loopedMonth +\n ( viewsetObject.month == loopedMonth ? ' selected' : '' ) +\n (\n (\n ( viewsetObject.year == minLimitObject.year && loopedMonth < minLimitObject.month ) ||\n ( viewsetObject.year == maxLimitObject.year && loopedMonth > maxLimitObject.month )\n ) ?\n ' disabled' : ''\n )\n ]\n }\n }),\n settings.klass.selectMonth,\n ( isOpen ? '' : 'disabled' ) + ' ' +\n _.ariaAttr({ controls: calendar.$node[0].id + '_table' }) + ' ' +\n 'title=\"' + settings.labelMonthSelect + '\"'\n )\n }\n\n // If there's a need for a month selector\n return _.node( 'div', monthsCollection[ viewsetObject.month ], settings.klass.month )\n }, //createMonthLabel\n\n\n // Create the year label.\n createYearLabel = function() {\n\n var focusedYear = viewsetObject.year,\n\n // If years selector is set to a literal \"true\", set it to 5. Otherwise\n // divide in half to get half before and half after focused year.\n numberYears = settings.selectYears === true ? 5 : ~~( settings.selectYears / 2 )\n\n // If there are years to select, add a dropdown menu.\n if ( numberYears ) {\n\n var\n minYear = minLimitObject.year,\n maxYear = maxLimitObject.year,\n lowestYear = focusedYear - numberYears,\n highestYear = focusedYear + numberYears\n\n // If the min year is greater than the lowest year, increase the highest year\n // by the difference and set the lowest year to the min year.\n if ( minYear > lowestYear ) {\n highestYear += minYear - lowestYear\n lowestYear = minYear\n }\n\n // If the max year is less than the highest year, decrease the lowest year\n // by the lower of the two: available and needed years. Then set the\n // highest year to the max year.\n if ( maxYear < highestYear ) {\n\n var availableYears = lowestYear - minYear,\n neededYears = highestYear - maxYear\n\n lowestYear -= availableYears > neededYears ? neededYears : availableYears\n highestYear = maxYear\n }\n\n return _.node( 'select',\n _.group({\n min: lowestYear,\n max: highestYear,\n i: 1,\n node: 'option',\n item: function( loopedYear ) {\n return [\n\n // The looped year and no classes.\n loopedYear, 0,\n\n // Set the value and selected index.\n 'value=' + loopedYear + ( focusedYear == loopedYear ? ' selected' : '' )\n ]\n }\n }),\n settings.klass.selectYear,\n ( isOpen ? '' : 'disabled' ) + ' ' + _.ariaAttr({ controls: calendar.$node[0].id + '_table' }) + ' ' +\n 'title=\"' + settings.labelYearSelect + '\"'\n )\n }\n\n // Otherwise just return the year focused\n return _.node( 'div', focusedYear, settings.klass.year )\n } //createYearLabel\n\n\n // Create and return the entire calendar.\n return _.node(\n 'div',\n ( settings.selectYears ? createYearLabel() + createMonthLabel() : createMonthLabel() + createYearLabel() ) +\n createMonthNav() + createMonthNav( 1 ),\n settings.klass.header\n ) + _.node(\n 'table',\n tableHead +\n _.node(\n 'tbody',\n _.group({\n min: 0,\n max: WEEKS_IN_CALENDAR - 1,\n i: 1,\n node: 'tr',\n item: function( rowCounter ) {\n\n // If Monday is the first day and the month starts on Sunday, shift the date back a week.\n var shiftDateBy = settings.firstDay && calendar.create([ viewsetObject.year, viewsetObject.month, 1 ]).day === 0 ? -7 : 0\n\n return [\n _.group({\n min: DAYS_IN_WEEK * rowCounter - viewsetObject.day + shiftDateBy + 1, // Add 1 for weekday 0index\n max: function() {\n return this.min + DAYS_IN_WEEK - 1\n },\n i: 1,\n node: 'td',\n item: function( targetDate ) {\n\n // Convert the time date from a relative date to a target date.\n targetDate = calendar.create([ viewsetObject.year, viewsetObject.month, targetDate + ( settings.firstDay ? 1 : 0 ) ])\n\n var isSelected = selectedObject && selectedObject.pick == targetDate.pick,\n isHighlighted = highlightedObject && highlightedObject.pick == targetDate.pick,\n isDisabled = disabledCollection && calendar.disabled( targetDate ) || targetDate.pick < minLimitObject.pick || targetDate.pick > maxLimitObject.pick,\n formattedDate = _.trigger( calendar.formats.toString, calendar, [ settings.format, targetDate ] )\n\n return [\n _.node(\n 'div',\n targetDate.date,\n (function( klasses ) {\n\n // Add the `infocus` or `outfocus` classes based on month in view.\n klasses.push( viewsetObject.month == targetDate.month ? settings.klass.infocus : settings.klass.outfocus )\n\n // Add the `today` class if needed.\n if ( nowObject.pick == targetDate.pick ) {\n klasses.push( settings.klass.now )\n }\n\n // Add the `selected` class if something's selected and the time matches.\n if ( isSelected ) {\n klasses.push( settings.klass.selected )\n }\n\n // Add the `highlighted` class if something's highlighted and the time matches.\n if ( isHighlighted ) {\n klasses.push( settings.klass.highlighted )\n }\n\n // Add the `disabled` class if something's disabled and the object matches.\n if ( isDisabled ) {\n klasses.push( settings.klass.disabled )\n }\n\n return klasses.join( ' ' )\n })([ settings.klass.day ]),\n 'data-pick=' + targetDate.pick + ' ' + _.ariaAttr({\n role: 'gridcell',\n label: formattedDate,\n selected: isSelected && calendar.$node.val() === formattedDate ? true : null,\n activedescendant: isHighlighted ? true : null,\n disabled: isDisabled ? true : null\n })\n ),\n '',\n _.ariaAttr({ role: 'presentation' })\n ] //endreturn\n }\n })\n ] //endreturn\n }\n })\n ),\n settings.klass.table,\n 'id=\"' + calendar.$node[0].id + '_table' + '\" ' + _.ariaAttr({\n role: 'grid',\n controls: calendar.$node[0].id,\n readonly: true\n })\n ) +\n\n // * For Firefox forms to submit, make sure to set the buttons’ `type` attributes as “button”.\n _.node(\n 'div',\n _.node( 'button', settings.today, settings.klass.buttonToday,\n 'type=button data-pick=' + nowObject.pick +\n ( isOpen && !calendar.disabled(nowObject) ? '' : ' disabled' ) + ' ' +\n _.ariaAttr({ controls: calendar.$node[0].id }) ) +\n _.node( 'button', settings.clear, settings.klass.buttonClear,\n 'type=button data-clear=1' +\n ( isOpen ? '' : ' disabled' ) + ' ' +\n _.ariaAttr({ controls: calendar.$node[0].id }) ) +\n _.node('button', settings.close, settings.klass.buttonClose,\n 'type=button data-close=true ' +\n ( isOpen ? '' : ' disabled' ) + ' ' +\n _.ariaAttr({ controls: calendar.$node[0].id }) ),\n settings.klass.footer\n ) //endreturn\n} //DatePicker.prototype.nodes\n\n\n\n\n/**\n * The date picker defaults.\n */\nDatePicker.defaults = (function( prefix ) {\n\n return {\n\n // The title label to use for the month nav buttons\n labelMonthNext: 'Next month',\n labelMonthPrev: 'Previous month',\n\n // The title label to use for the dropdown selectors\n labelMonthSelect: 'Select a month',\n labelYearSelect: 'Select a year',\n\n // Months and weekdays\n monthsFull: [ 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December' ],\n monthsShort: [ 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec' ],\n weekdaysFull: [ 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday' ],\n weekdaysShort: [ 'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat' ],\n\n // Today and clear\n today: 'Today',\n clear: 'Clear',\n close: 'Close',\n\n // Picker close behavior\n closeOnSelect: true,\n closeOnClear: true,\n\n // Update input value on select/clear\n updateInput: true,\n\n // The format to show on the `input` element\n format: 'd mmmm, yyyy',\n\n // Classes\n klass: {\n\n table: prefix + 'table',\n\n header: prefix + 'header',\n\n navPrev: prefix + 'nav--prev',\n navNext: prefix + 'nav--next',\n navDisabled: prefix + 'nav--disabled',\n\n month: prefix + 'month',\n year: prefix + 'year',\n\n selectMonth: prefix + 'select--month',\n selectYear: prefix + 'select--year',\n\n weekdays: prefix + 'weekday',\n\n day: prefix + 'day',\n disabled: prefix + 'day--disabled',\n selected: prefix + 'day--selected',\n highlighted: prefix + 'day--highlighted',\n now: prefix + 'day--today',\n infocus: prefix + 'day--infocus',\n outfocus: prefix + 'day--outfocus',\n\n footer: prefix + 'footer',\n\n buttonClear: prefix + 'button--clear',\n buttonToday: prefix + 'button--today',\n buttonClose: prefix + 'button--close'\n }\n }\n})( Picker.klasses().picker + '__' )\n\n\n\n\n\n/**\n * Extend the picker to add the date picker.\n */\nPicker.extend( 'pickadate', DatePicker )\n\n\n}));\n\n\n\n","import '../../../node_modules/pickadate/lib/picker.date.js'\nimport $ from 'jquery'\nimport Util from './util'\n\n/*\n * Date picker plugin extends `pickadate.js` by Amsul\n */\n\nconst PickDate = (($) => {\n // constants >>>\n const DATA_KEY = 'md.pickdate'\n const NAME = 'pickdate'\n const NO_CONFLICT = $.fn[NAME]\n\n const Default = {\n cancel : 'Cancel',\n closeOnCancel : true,\n closeOnSelect : false,\n container : '',\n containerHidden : '',\n disable : [],\n firstDay : 0,\n format : 'd/m/yyyy',\n formatSubmit : '',\n hiddenName : false,\n hiddenPrefix : '',\n hiddenSuffix : '',\n klass : {\n // button\n buttonClear : 'btn btn-flat-primary picker-button-clear',\n buttonClose : 'btn btn-flat-primary picker-button-close',\n buttonToday : 'btn btn-flat-primary picker-button-today',\n\n // day\n day : 'picker-day',\n disabled : 'picker-day-disabled',\n highlighted : 'picker-day-highlighted',\n infocus : 'picker-day-infocus',\n now : 'picker-day-today',\n outfocus : 'picker-day-outfocus',\n selected : 'picker-day-selected',\n weekdays : 'picker-weekday',\n\n // element\n box : 'picker-box',\n footer : 'picker-footer',\n frame : 'picker-frame',\n header : 'picker-header',\n holder : 'picker-holder',\n table : 'picker-table',\n wrap : 'picker-wrap',\n\n // input element\n active : 'picker-input-active',\n input : 'picker-input',\n\n // month and year nav\n month : 'picker-month',\n navDisabled : 'picker-nav-disabled',\n navNext : 'material-icons picker-nav-next',\n navPrev : 'material-icons picker-nav-prev',\n selectMonth : 'picker-select-month',\n selectYear : 'picker-select-year',\n year : 'picker-year',\n\n // root picker\n focused : 'picker-focused',\n opened : 'picker-opened',\n picker : 'picker'\n },\n labelMonthNext : 'Next month',\n labelMonthPrev : 'Previous month',\n labelMonthSelect : 'Choose a month',\n labelYearSelect : 'Choose a year',\n max : false,\n min : false,\n monthsFull : ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],\n monthsShort : ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\n ok : 'OK',\n onClose : () => {\n // Do nothing\n },\n onOpen : () => {\n // Do nothing\n },\n onRender : () => {\n // Do nothing\n },\n onSet : () => {\n // Do nothing\n },\n onStart : () => {\n // Do nothing\n },\n onStop : () => {\n // Do nothing\n },\n selectMonths : false,\n selectYears : false,\n today : '',\n weekdaysFull : ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n weekdaysShort : ['S', 'M', 'T', 'W', 'T', 'F', 'S']\n }\n\n const DefaultType = {\n cancel : 'string',\n closeOnCancel : 'boolean',\n closeOnSelect : 'boolean',\n container : 'string',\n containerHidden : 'string',\n disable : 'array',\n firstDay : 'number',\n format : 'string',\n formatSubmit : 'string',\n hiddenName : 'boolean',\n hiddenPrefix : 'string',\n hiddenSuffix : 'string',\n klass : 'object',\n labelMonthNext : 'string',\n labelMonthPrev : 'string',\n labelMonthSelect : 'string',\n labelYearSelect : 'string',\n max : 'boolean || date',\n min : 'boolean || date',\n monthsFull : 'array',\n monthsShort : 'array',\n ok : 'string',\n onClose : 'function',\n onOpen : 'function',\n onRender : 'function',\n onSet : 'function',\n onStart : 'function',\n onStop : 'function',\n selectMonths : 'boolean',\n selectYears : 'boolean || number',\n today : 'string',\n weekdaysFull : 'array',\n weekdaysShort : 'array'\n }\n\n class PickDate {\n constructor(element, config) {\n this._config = this._getConfig(config)\n this._element = element\n }\n\n display(datepickerApi, datepickerRoot, datepickerValue) {\n $('.picker-date-display', datepickerRoot).remove()\n\n $('.picker-wrap', datepickerRoot).prepend(`
${datepickerApi.get(datepickerValue, 'yyyy')}
${datepickerApi.get(datepickerValue, 'dddd')}${datepickerApi.get(datepickerValue, 'mmm')}${datepickerApi.get(datepickerValue, 'd')}
`)\n }\n\n show() {\n $(this._element).pickadate({\n clear : this._config.cancel,\n close : this._config.ok,\n closeOnClear : this._config.closeOnCancel,\n closeOnSelect : this._config.closeOnSelect,\n container : this._config.container,\n containerHidden : this._config.containerHidden,\n disable : this._config.disable,\n firstDay : this._config.firstDay,\n format : this._config.format,\n formatSubmit : this._config.formatSubmit,\n klass : this._config.klass,\n hiddenName : this._config.hiddenName,\n hiddenPrefix : this._config.hiddenPrefix,\n hiddenSuffix : this._config.hiddenSuffix,\n labelMonthNext : this._config.labelMonthNext,\n labelMonthPrev : this._config.labelMonthPrev,\n labelMonthSelect : this._config.labelMonthSelect,\n labelYearSelect : this._config.labelYearSelect,\n max : this._config.max,\n min : this._config.min,\n monthsFull : this._config.monthsFull,\n monthsShort : this._config.monthsShort,\n onClose : this._config.onClose,\n onOpen : this._config.onOpen,\n onRender : this._config.onRender,\n onSet : this._config.onSet,\n onStart : this._config.onStart,\n onStop : this._config.onStop,\n selectMonths : this._config.selectMonths,\n selectYears : this._config.selectYears,\n today : this._config.today,\n weekdaysFull : this._config.weekdaysFull,\n weekdaysShort : this._config.weekdaysShort\n })\n\n const datepickerApi = $(this._element).pickadate('picker')\n const datepickerRoot = datepickerApi.$root\n\n datepickerApi.on({\n close: () => {\n $(document.activeElement).blur()\n },\n open: () => {\n if (!$('.picker__date-display', datepickerRoot).length) {\n this.display(datepickerApi, datepickerRoot, 'highlight')\n }\n },\n set: () => {\n if (datepickerApi.get('select') !== null) {\n this.display(datepickerApi, datepickerRoot, 'select')\n }\n }\n })\n }\n\n _getConfig(config) {\n config = {\n ...Default,\n ...config\n }\n\n Util.typeCheckConfig(NAME, config, DefaultType)\n\n return config\n }\n\n static _jQueryInterface(config) {\n return this.each(function () {\n const _config = {\n ...Default,\n ...$(this).data(),\n ...typeof config === 'object' && config ? config : {}\n }\n\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = new PickDate(this, _config)\n\n $(this).data(DATA_KEY, data)\n }\n\n data.show()\n })\n }\n }\n\n $.fn[NAME] = PickDate._jQueryInterface\n $.fn[NAME].Constructor = PickDate\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = NO_CONFLICT\n\n return PickDate._jQueryInterface\n }\n})($)\n\nexport default PickDate\n","export var defaultOptions = {\n className: '',\n color: 'currentcolor',\n opacity: .1,\n spreadingDuration: '.4s',\n spreadingDelay: '0s',\n spreadingTimingFunction: 'linear',\n clearing: true,\n clearingDuration: '1s',\n clearingDelay: '0s',\n clearingTimingFunction: 'ease-in-out',\n centered: false,\n appendTo: 'body',\n};\nvar target2container2ripplet = new Map();\nvar copyStyles = function (destination, source, properties) {\n for (var _i = 0, properties_1 = properties; _i < properties_1.length; _i++) {\n var property = properties_1[_i];\n destination[property] = source[property];\n }\n};\nfunction ripplet(_a, _options) {\n var currentTarget = _a.currentTarget, clientX = _a.clientX, clientY = _a.clientY;\n if (!(currentTarget instanceof Element)) {\n return;\n }\n var options = _options\n ? Object.keys(defaultOptions).reduce(function (merged, field) { return (merged[field] = _options.hasOwnProperty(field) ? _options[field] : defaultOptions[field], merged); }, {})\n : defaultOptions;\n var targetRect = currentTarget.getBoundingClientRect();\n if (options.centered && options.centered !== 'false') {\n clientX = targetRect.left + targetRect.width * .5;\n clientY = targetRect.top + targetRect.height * .5;\n }\n else if (typeof clientX !== 'number' || typeof clientY !== 'number') {\n return;\n }\n var targetStyle = getComputedStyle(currentTarget);\n var documentElement = document.documentElement, body = document.body;\n var containerElement = document.createElement('div');\n var appendToParent = options.appendTo === 'parent';\n var removingElement = containerElement;\n {\n var containerStyle = containerElement.style;\n if (targetStyle.position === 'fixed' || (targetStyle.position === 'absolute' && appendToParent)) {\n if (appendToParent) {\n currentTarget.parentElement.insertBefore(containerElement, currentTarget);\n }\n else {\n body.appendChild(containerElement);\n }\n copyStyles(containerStyle, targetStyle, ['position', 'left', 'top', 'right', 'bottom', 'marginLeft', 'marginTop', 'marginRight', 'marginBottom']);\n }\n else if (appendToParent) {\n var parentStyle = getComputedStyle(currentTarget.parentElement);\n if (parentStyle.display === 'flex' || parentStyle.display === 'inline-flex') {\n currentTarget.parentElement.insertBefore(containerElement, currentTarget);\n containerStyle.position = 'absolute';\n containerStyle.left = currentTarget.offsetLeft + \"px\";\n containerStyle.top = currentTarget.offsetTop + \"px\";\n }\n else {\n var containerContainer = removingElement\n = currentTarget.parentElement.insertBefore(document.createElement('div'), currentTarget);\n var containerContainerStyle = containerContainer.style;\n containerContainerStyle.display = 'inline-block';\n containerContainerStyle.position = 'relative';\n containerContainerStyle.width = containerContainerStyle.height\n = '0';\n containerContainerStyle.cssFloat = targetStyle.cssFloat;\n var containerContainerRect = containerContainer.getBoundingClientRect(); // this may be a slow operation...\n containerContainer.appendChild(containerElement);\n containerStyle.position = 'absolute';\n containerStyle.top = targetRect.top - containerContainerRect.top + \"px\";\n containerStyle.left = targetRect.left - containerContainerRect.left + \"px\";\n }\n }\n else {\n body.appendChild(containerElement);\n containerStyle.position = 'absolute';\n containerStyle.left = targetRect.left + documentElement.scrollLeft + body.scrollLeft + \"px\";\n containerStyle.top = targetRect.top + documentElement.scrollTop + body.scrollTop + \"px\";\n }\n containerStyle.overflow = 'hidden';\n containerStyle.pointerEvents = 'none';\n containerStyle.width = targetRect.width + \"px\";\n containerStyle.height = targetRect.height + \"px\";\n containerStyle.zIndex = (+targetStyle.zIndex || 0) + 1;\n containerStyle.opacity = options.opacity;\n copyStyles(containerStyle, targetStyle, ['borderTopLeftRadius', 'borderTopRightRadius', 'borderBottomLeftRadius', 'borderBottomRightRadius', 'webkitClipPath', 'clipPath']);\n }\n {\n var distanceX = Math.max(clientX - targetRect.left, targetRect.right - clientX);\n var distanceY = Math.max(clientY - targetRect.top, targetRect.bottom - clientY);\n var radius = Math.sqrt(distanceX * distanceX + distanceY * distanceY);\n var rippletElement = containerElement.appendChild(document.createElement('div'));\n var rippletStyle = rippletElement.style;\n rippletElement.className = options.className;\n rippletStyle.backgroundColor = /^currentcolor$/i.test(options.color) ? targetStyle.color : options.color;\n rippletStyle.width = rippletStyle.height\n = radius * 2 + \"px\";\n if (getComputedStyle(appendToParent ? currentTarget.parentElement : body).direction === 'rtl') {\n rippletStyle.marginRight = targetRect.right - clientX - radius + \"px\";\n }\n else {\n rippletStyle.marginLeft = clientX - targetRect.left - radius + \"px\";\n }\n rippletStyle.marginTop = clientY - targetRect.top - radius + \"px\";\n rippletStyle.borderRadius = '50%';\n rippletStyle.transition =\n \"transform \" + options.spreadingDuration + \" \" + options.spreadingTimingFunction + \" \" + options.spreadingDelay + \",opacity \" + options.clearingDuration + \" \" + options.clearingTimingFunction + \" \" + options.clearingDelay;\n rippletStyle.transform = 'scale(0)';\n // reflect styles by force layout\n // tslint:disable-next-line:no-unused-expression\n rippletElement.offsetTop;\n rippletStyle.transform = '';\n rippletElement.addEventListener('transitionend', function (event) {\n if (event.propertyName === 'opacity' && removingElement.parentElement) {\n removingElement.parentElement.removeChild(removingElement);\n }\n });\n if (options.clearing && options.clearing !== 'false') {\n rippletStyle.opacity = '0';\n }\n else {\n var container2ripplet = target2container2ripplet.get(currentTarget);\n if (!container2ripplet) {\n target2container2ripplet.set(currentTarget, container2ripplet = new Map());\n }\n container2ripplet.set(containerElement, rippletElement);\n }\n }\n return containerElement;\n}\nripplet.clear = function (targetElement, rippletContainerElement) {\n if (targetElement) {\n var container2ripplet = target2container2ripplet.get(targetElement);\n if (container2ripplet) {\n if (rippletContainerElement) {\n var rippletElement = container2ripplet.get(rippletContainerElement);\n rippletElement && (rippletElement.style.opacity = '0');\n container2ripplet.delete(rippletContainerElement);\n container2ripplet.size === 0 && target2container2ripplet.delete(targetElement);\n }\n else {\n container2ripplet.forEach(function (r) { return r.style.opacity = '0'; });\n target2container2ripplet.delete(targetElement);\n }\n }\n }\n else {\n target2container2ripplet.forEach(function (container2ripplet) { return container2ripplet.forEach(function (r) { return r.style.opacity = '0'; }); });\n target2container2ripplet.clear();\n }\n};\nripplet.defaultOptions = defaultOptions;\nripplet._ripplets = target2container2ripplet;\nexport default ripplet;\n","import ripplet,\n{\n defaultOptions\n} from 'ripplet.js'\n\n/*\n * Config for ripplet.js by luncheon\n */\n\n// Values from https://github.com/material-components/material-components-web/blob/master/packages/mdc-ripple/_variables.scss\n\nconst Ripplet = (() => {\n /* eslint complexity: [\"error\", 40] */\n addEventListener('pointerdown', (event) => {\n defaultOptions.color = 'rgba(0,0,0,0.12)'\n defaultOptions.opacity = 1\n defaultOptions.spreadingDelay = '15ms'\n defaultOptions.spreadingDuration = '175ms'\n defaultOptions.clearingDelay = '300ms'\n defaultOptions.clearingDuration = '150ms'\n defaultOptions.clearingTimingFunction = 'linear'\n\n if (event.button !== 0) {\n return\n }\n const currentTarget = event.target.closest('.btn, .card-link, .card-primary-action, .list-group-item-action, [data-ripplet]')\n if (!currentTarget || currentTarget.disabled) {\n return\n }\n\n const rippleTarget = {\n currentTarget,\n clientX: event.clientX,\n clientY: event.clientY\n }\n\n currentTarget.setAttribute('data-ripplet', '')\n const cls = currentTarget.classList\n\n if (\n cls.contains('btn-outline-primary') ||\n cls.contains('btn-outline-secondary') ||\n cls.contains('btn-outline-danger') ||\n cls.contains('btn-outline-info') ||\n cls.contains('btn-outline-success') ||\n cls.contains('btn-outline-warning') ||\n cls.contains('btn-outline-dark') ||\n cls.contains('btn-outline-light') ||\n cls.contains('btn-link') ||\n cls.contains('card-link') ||\n cls.contains('btn-flat-primary') ||\n cls.contains('btn-flat-secondary') ||\n cls.contains('btn-flat-danger') ||\n cls.contains('btn-flat-info') ||\n cls.contains('btn-flat-success') ||\n cls.contains('btn-flat-warning') ||\n cls.contains('btn-flat-dark') ||\n cls.contains('btn-flat-light')\n ) {\n ripplet(rippleTarget, {\n color: getComputedStyle(currentTarget).color,\n opacity: 0.12\n })\n } else if (\n cls.contains('btn-primary') ||\n cls.contains('btn-secondary') ||\n cls.contains('btn-success') ||\n cls.contains('btn-danger') ||\n cls.contains('btn-warning') ||\n cls.contains('btn-info') ||\n cls.contains('btn-dark')\n ) {\n ripplet(rippleTarget, {\n color: 'rgba(255,255,255,0.24)'\n })\n } else if (\n cls.contains('nav-link')\n ) {\n ripplet(rippleTarget, {\n color: getComputedStyle(currentTarget, ':active').color,\n opacity: 0.12\n })\n } else {\n ripplet(rippleTarget)\n }\n })\n})()\n\nexport default Ripplet\n","import $ from 'jquery'\nimport Util from './util'\n\n/*\n * Tab indicator animation\n * Requires Bootstrap's (v4.4.X) `tab.js`\n */\n\nconst TabSwitch = (($) => {\n // constants >>>\n const DATA_KEY = 'md.tabswitch'\n const NAME = 'tabswitch'\n const NO_CONFLICT = $.fn[NAME]\n\n const ClassName = {\n ANIMATE : 'animate',\n DROPDOWN_ITEM : 'dropdown-item',\n INDICATOR : 'nav-tabs-indicator',\n MATERIAL : 'nav-tabs-material',\n SCROLLABLE : 'nav-tabs-scrollable',\n SHOW : 'show'\n }\n\n const Event = {\n SHOW_BS_TAB : 'show.bs.tab'\n }\n\n const Selector = {\n DATA_TOGGLE : '.nav-tabs [data-toggle=\"tab\"]',\n DROPDOWN : '.dropdown',\n NAV : '.nav-tabs'\n }\n // <<< constants\n\n class TabSwitch {\n constructor(nav) {\n this._nav = nav\n this._navindicator = null\n }\n\n switch(element, relatedTarget) {\n const navLeft = $(this._nav).offset().left\n const navScrollLeft = $(this._nav).scrollLeft()\n const navWidth = $(this._nav).outerWidth()\n\n if (!this._navindicator) {\n this._createIndicator(navLeft, navScrollLeft, navWidth, relatedTarget)\n }\n\n if ($(element).hasClass(ClassName.DROPDOWN_ITEM)) {\n element = $(element).closest(Selector.DROPDOWN)\n }\n\n const elLeft = $(element).offset().left\n const elWidth = $(element).outerWidth()\n\n $(this._navindicator).addClass(ClassName.SHOW)\n\n Util.reflow(this._navindicator)\n\n $(this._nav).addClass(ClassName.ANIMATE)\n\n $(this._navindicator).css({\n left : elLeft + navScrollLeft - navLeft,\n right : navWidth - (elLeft + navScrollLeft - navLeft + elWidth)\n })\n\n const complete = () => {\n $(this._nav).removeClass(ClassName.ANIMATE)\n\n $(this._navindicator).removeClass(ClassName.SHOW)\n }\n\n const transitionDuration = Util.getTransitionDurationFromElement(this._navindicator)\n\n $(this._navindicator)\n .one(Util.TRANSITION_END, complete)\n .emulateTransitionEnd(transitionDuration)\n }\n\n _createIndicator(navLeft, navScrollLeft, navWidth, relatedTarget) {\n this._navindicator = document.createElement('div')\n\n $(this._navindicator)\n .addClass(ClassName.INDICATOR)\n .appendTo(this._nav)\n\n if (typeof relatedTarget !== 'undefined') {\n if ($(relatedTarget).hasClass(ClassName.DROPDOWN_ITEM)) {\n relatedTarget = $(relatedTarget).closest(Selector.DROPDOWN)\n }\n\n const relatedLeft = $(relatedTarget).offset().left\n const relatedWidth = $(relatedTarget).outerWidth()\n\n $(this._navindicator).css({\n left : relatedLeft + navScrollLeft - navLeft,\n right : navWidth - (relatedLeft + navScrollLeft - navLeft + relatedWidth)\n })\n }\n\n $(this._nav).addClass(ClassName.MATERIAL)\n }\n\n static _jQueryInterface(relatedTarget) {\n return this.each(function () {\n const nav = $(this).closest(Selector.NAV)[0]\n\n if (!nav) {\n return\n }\n\n let data = $(nav).data(DATA_KEY)\n\n if (!data) {\n data = new TabSwitch(nav)\n\n $(nav).data(DATA_KEY, data)\n }\n\n data.switch(this, relatedTarget)\n })\n }\n }\n\n $(document).on(Event.SHOW_BS_TAB, Selector.DATA_TOGGLE, function (event) {\n TabSwitch._jQueryInterface.call($(this), event.relatedTarget)\n })\n\n $.fn[NAME] = TabSwitch._jQueryInterface\n $.fn[NAME].Constructor = TabSwitch\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = NO_CONFLICT\n\n return TabSwitch._jQueryInterface\n }\n\n return TabSwitch\n})($)\n\nexport default TabSwitch\n"],"names":["ExpansionPanel","$","DATA_KEY","EVENT_KEY","ClassName","SHOW","SHOW_PREDECESSOR","Event","HIDE","Selector","PANEL","PANEL_BODY","document","on","target","closest","removeClass","predecessor","prev","length","addClass","FloatingLabel","NAME","NO_CONFLICT","fn","IS_FOCUSED","HAS_VALUE","CHANGE","FOCUSIN","FOCUSOUT","DATA_PARENT","DATA_TOGGLE","element","_element","_parent","change","val","is","html","replace","focusin","focusout","_jQueryInterface","event","each","_event","data","Error","call","type","Constructor","noConflict","TRANSITION_END","MAX_UID","MILLISECONDS_MULTIPLIER","toType","obj","toString","match","toLowerCase","getSpecialTransitionEndEvent","bindType","delegateType","handle","handleObj","handler","apply","arguments","undefined","transitionEndEmulator","duration","called","one","Util","setTimeout","triggerTransitionEnd","setTransitionEndSupport","emulateTransitionEnd","special","getUID","prefix","Math","random","getElementById","getSelectorFromElement","selector","getAttribute","hrefAttr","trim","querySelector","_","getTransitionDurationFromElement","transitionDuration","css","transitionDelay","floatTransitionDuration","parseFloat","floatTransitionDelay","split","reflow","offsetHeight","trigger","supportsTransitionEnd","Boolean","isElement","nodeType","typeCheckConfig","componentName","config","configTypes","property","Object","prototype","hasOwnProperty","expectedTypes","value","valueType","RegExp","test","toUpperCase","findShadowRoot","documentElement","attachShadow","getRootNode","root","ShadowRoot","parentNode","jQueryDetection","TypeError","version","jquery","minMajor","ltMajor","minMinor","minPatch","maxMajor","NavDrawer","DATA_API_KEY","ESCAPE_KEYCODE","BACKDROP","OPEN","Default","breakpoint","keyboard","show","DefaultType","CLICK_DATA_API","CLICK_DISMISS","HIDDEN","KEYDOWN_DISMISS","MOUSEDOWN_DISMISS","MOUSEUP_DISMISS","SHOWN","CONTENT","DATA_DISMISS","_backdrop","_config","_getConfig","_content","find","_ignoreBackdropClick","_isShown","_typeBreakpoint","hide","preventDefault","_isTransitioning","hideEvent","isDefaultPrevented","_setEscapeEvent","off","body","_hideNavdrawer","_showBackdrop","relatedTarget","showEvent","_showElement","toggle","_enforceFocus","has","focus","style","display","setAttribute","_removeBackdrop","remove","which","createElement","appendTo","currentTarget","Node","ELEMENT_NODE","appendChild","removeAttribute","shownEvent","transitionComplete","tagName","$target","commonjsHelpers.createCommonjsModule","require$$0","require$$1","PickDate","cancel","closeOnCancel","closeOnSelect","container","containerHidden","disable","firstDay","format","formatSubmit","hiddenName","hiddenPrefix","hiddenSuffix","klass","buttonClear","buttonClose","buttonToday","day","disabled","highlighted","infocus","now","outfocus","selected","weekdays","box","footer","frame","header","holder","table","wrap","active","input","month","navDisabled","navNext","navPrev","selectMonth","selectYear","year","focused","opened","picker","labelMonthNext","labelMonthPrev","labelMonthSelect","labelYearSelect","max","min","monthsFull","monthsShort","ok","onClose","onOpen","onRender","onSet","onStart","onStop","selectMonths","selectYears","today","weekdaysFull","weekdaysShort","datepickerApi","datepickerRoot","datepickerValue","prepend","get","pickadate","clear","close","closeOnClear","$root","activeElement","blur","open","set","Ripplet","addEventListener","defaultOptions","color","opacity","spreadingDelay","spreadingDuration","clearingDelay","clearingDuration","clearingTimingFunction","button","rippleTarget","clientX","clientY","cls","classList","contains","ripplet","getComputedStyle","TabSwitch","ANIMATE","DROPDOWN_ITEM","INDICATOR","MATERIAL","SCROLLABLE","SHOW_BS_TAB","DROPDOWN","NAV","nav","_nav","_navindicator","switch","navLeft","offset","left","navScrollLeft","scrollLeft","navWidth","outerWidth","_createIndicator","hasClass","elLeft","elWidth","right","complete","relatedLeft","relatedWidth"],"mappings":";;;;;;;;;;;;;;;;EAEA;EACA;EACA;;MAEMA,cAAc,GAAI,UAACC,CAAD,EAAO;EAC7B;EACA,MAAMC,QAAQ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AA3C,EAAwD,UAAUY,KAAV,EAAiB;EACvE8P,IAAAA,SAAS,CAAC/P,gBAAV,CAA2BM,IAA3B,CAAgC/C,CAAC,CAAC,IAAD,CAAjC,EAAyC0C,KAAK,CAACkI,aAA/C;EACD,GAFD;EAIA5K,EAAAA,CAAC,CAACuB,EAAF,CAAKF,IAAL,IAAyBmR,SAAS,CAAC/P,gBAAnC;EACAzC,EAAAA,CAAC,CAACuB,EAAF,CAAKF,IAAL,EAAW4B,WAAX,GAAyBuP,SAAzB;;EACAxS,EAAAA,CAAC,CAACuB,EAAF,CAAKF,IAAL,EAAW6B,UAAX,GAAyB,YAAY;EACnClD,IAAAA,CAAC,CAACuB,EAAF,CAAKF,IAAL,IAAaC,WAAb;EAEA,WAAOkR,SAAS,CAAC/P,gBAAjB;EACD,GAJD;;EAMA,SAAO+P,SAAP;EACD,CAlIiB,CAkIfxS,qBAlIe;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/js/material.min.js b/js/material.min.js index 3e01576ff..46c7c9829 100644 --- a/js/material.min.js +++ b/js/material.min.js @@ -3,15 +3,15 @@ * Copyright 2011-2021 Daemon Pty Ltd + djibe * Licensed under MIT (https://github.com/djibe/material/blob/master/LICENSE) */ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).material={},e.jQuery)}(this,function(e,t){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=n(t),i=(function(t){var e=".bs.collapse",n="show",i="show-predecessor",o="hide"+e,r="show"+e,a=".expansion-panel",e=".expansion-panel .collapse";t(document).on(""+o,e,function(){var e=t(this).closest(a);e.removeClass(n);e=e.prev(a);e.length&&e.removeClass(i)}).on(""+r,e,function(){var e=t(this).closest(a);e.addClass(n);e=e.prev(a);e.length&&e.addClass(i)})}(a.default),function(o){var r="md.floatinglabel",e="."+r,t="floatinglabel",n=o.fn[t],a="is-focused",s="has-value",i="change"+e,l="focusin"+e,c="focusout"+e,d=".floating-label",e=".floating-label .custom-select, .floating-label .form-control",u=function(){function i(e){this._element=e,this._parent=o(e).closest(d)[0]}var e=i.prototype;return e.change=function(){o(this._element).val()||o(this._element).is("select")&&""!==o("option:first-child",o(this._element)).html().replace(" ","")?o(this._parent).addClass(s):o(this._parent).removeClass(s)},e.focusin=function(){o(this._parent).addClass(a)},e.focusout=function(){o(this._parent).removeClass(a)},i._jQueryInterface=function(n){return this.each(function(){var e=n||"change",t=o(this).data(r);if(t||(t=new i(this),o(this).data(r,t)),"string"==typeof e){if("undefined"==typeof t[e])throw new Error('No method named "'+e+'"');t[e]()}})},i}();return o(document).on(i+" "+l+" "+c,e,function(e){u._jQueryInterface.call(o(this),e.type)}),o.fn[t]=u._jQueryInterface,o.fn[t].Constructor=u,o.fn[t].noConflict=function(){return o.fn[t]=n,u._jQueryInterface},u}(a.default));function g(e,t){for(var n=0;n'),y(d.$root[0],"hidden",!0),d.$holder=v(a()).appendTo(d.$root),u(),l.formatSubmit&&(!0===l.hiddenName?(e=o.name,o.name=""):e=(e=["string"==typeof l.hiddenPrefix?l.hiddenPrefix:"","string"==typeof l.hiddenSuffix?l.hiddenSuffix:"_submit"])[0]+o.name+e[1],d._hidden=v('")[0],c.on("change."+s.id,function(){d._hidden.value=o.value?d.get("select",l.formatSubmit):""})),c.data(t,d).addClass(r.input).val(c.data("value")?d.get("select",l.format):o.value).on("focus."+s.id+" click."+s.id,function(e){e.preventDefault(),d.open()}).on("mousedown",function(){s.handlingOpen=!0;var e=function(){setTimeout(function(){v(document).off("mouseup",e),s.handlingOpen=!1},0)};v(document).on("mouseup",e)}),l.editable||c.on("keydown."+s.id,h),y(o,{haspopup:!0,expanded:!1,readonly:!1,owns:o.id+"_root"}),l.containerHidden?v(l.containerHidden).append(d._hidden):c.after(d._hidden),l.container?v(l.container).append(d.$root):c.after(d.$root),d.on({start:d.component.onStart,render:d.component.onRender,stop:d.component.onStop,open:d.component.onOpen,close:d.component.onClose,set:d.component.onSet}).on({start:l.onStart,render:l.onRender,stop:l.onStop,open:l.onOpen,close:l.onClose,set:l.onSet}),i=function(e){var t,n="position";e.currentStyle?t=e.currentStyle[n]:window.getComputedStyle&&(t=getComputedStyle(e)[n]);return"fixed"==t}(d.$holder[0]),o.autofocus&&d.open(),d.trigger("start").trigger("render"));var e},render:function(e){return e?(d.$holder=v(a()),u(),d.$root.html(d.$holder)):d.$root.find("."+r.box).html(d.component.nodes(s.open)),d.trigger("render")},stop:function(){return s.start&&(d.close(),d._hidden&&d._hidden.parentNode.removeChild(d._hidden),d.$root.remove(),c.removeClass(r.input).removeData(t),setTimeout(function(){c.off("."+s.id)},0),o.type=s.type,o.readOnly=!1,d.trigger("stop"),s.methods={},s.start=!1),d},open:function(e){return s.open?d:(c.addClass(r.active),y(o,"expanded",!0),setTimeout(function(){d.$root.addClass(r.opened),y(d.$root[0],"hidden",!1)},0),!1!==e&&(s.open=!0,i&&v("body").css("overflow","hidden").css("padding-right","+="+m()),i&&k?d.$holder.find("."+r.frame).one("transitionend",function(){d.$holder.eq(0).focus()}):setTimeout(function(){d.$holder.eq(0).focus()},0),_.on("click."+s.id+" focusin."+s.id,function(e){var t;s.handlingOpen||(t=g(e,o),e.isSimulated||t==o||t==document||3==e.which||d.close(t===d.$holder[0]))}).on("keydown."+s.id,function(e){var t=e.keyCode,n=d.component.key[t],i=g(e,o);27==t?d.close(!0):i!=d.$holder[0]||!n&&13!=t?v.contains(d.$root[0],i)&&13==t&&(e.preventDefault(),i.click()):(e.preventDefault(),n?p._.trigger(d.component.key.go,d,[p._.trigger(n)]):d.$root.find("."+r.highlighted).hasClass(r.disabled)||(d.set("select",d.component.item.highlight),l.closeOnSelect&&d.close(!0)))})),d.trigger("open"))},close:function(e){return e&&(l.editable?o.focus():(d.$holder.off("focus.toOpen").focus(),setTimeout(function(){d.$holder.on("focus.toOpen",f)},0))),c.removeClass(r.active),y(o,"expanded",!1),setTimeout(function(){d.$root.removeClass(r.opened+" "+r.focused),y(d.$root[0],"hidden",!0)},0),s.open?(s.open=!1,i&&v("body").css("overflow","").css("padding-right","-="+m()),_.off("."+s.id),d.trigger("close")):d},clear:function(e){return d.set("clear",null,e)},set:function(e,t,n){var i,o,r=v.isPlainObject(e),a=r?e:{};if(n=r&&v.isPlainObject(t)?t:n||{},e){for(i in r||(a[e]=t),a)o=a[i],i in d.component.item&&(void 0===o&&(o=null),d.component.set(i,o,n)),"select"!=i&&"clear"!=i||!l.updateInput||c.val("clear"==i?"":d.get(i,l.format)).trigger("change");d.render()}return n.muted?d:d.trigger("set",a)},get:function(e,t){if(null!=s[e=e||"value"])return s[e];if("valueSubmit"==e){if(d._hidden)return d._hidden.value;e="value"}if("value"==e)return o.value;if(e in d.component.item){if("string"!=typeof t)return d.component.get(e);e=d.component.get(e);return e?p._.trigger(d.component.formats.toString,d.component,[t,e]):""}},on:function(e,t,n){var i,o,r=v.isPlainObject(e),a=r?e:{};if(e)for(i in r||(a[e]=t),a)o=a[i],n&&(i="_"+i),s.methods[i]=s.methods[i]||[],s.methods[i].push(o);return d},off:function(){var e,t=arguments,n=0;for(namesCount=t.length;n').appendTo("body"),t=e[0].offsetWidth;e.css("overflow","scroll");var n=v('
').appendTo(e)[0].offsetWidth;return e.remove(),t-n}function g(e,t){var n=[];return e.path&&(n=e.path),(n=e.originalEvent&&e.originalEvent.path?e.originalEvent.path:n)&&0'),y(d.$root[0],"hidden",!0),d.$holder=v(a()).appendTo(d.$root),u(),l.formatSubmit&&(!0===l.hiddenName?(e=o.name,o.name=""):e=(e=["string"==typeof l.hiddenPrefix?l.hiddenPrefix:"","string"==typeof l.hiddenSuffix?l.hiddenSuffix:"_submit"])[0]+o.name+e[1],d._hidden=v('")[0],c.on("change."+s.id,function(){d._hidden.value=o.value?d.get("select",l.formatSubmit):""})),c.data(t,d).addClass(r.input).val(c.data("value")?d.get("select",l.format):o.value).on("focus."+s.id+" click."+s.id,function(e){e.preventDefault(),d.open()}).on("mousedown",function(){s.handlingOpen=!0;var e=function(){setTimeout(function(){v(document).off("mouseup",e),s.handlingOpen=!1},0)};v(document).on("mouseup",e)}),l.editable||c.on("keydown."+s.id,h),y(o,{haspopup:!0,expanded:!1,readonly:!1,owns:o.id+"_root"}),l.containerHidden?v(l.containerHidden).append(d._hidden):c.after(d._hidden),l.container?v(l.container).append(d.$root):c.after(d.$root),d.on({start:d.component.onStart,render:d.component.onRender,stop:d.component.onStop,open:d.component.onOpen,close:d.component.onClose,set:d.component.onSet}).on({start:l.onStart,render:l.onRender,stop:l.onStop,open:l.onOpen,close:l.onClose,set:l.onSet}),i=function(e){var t,n="position";e.currentStyle?t=e.currentStyle[n]:window.getComputedStyle&&(t=getComputedStyle(e)[n]);return"fixed"==t}(d.$holder[0]),o.autofocus&&d.open(),d.trigger("start").trigger("render"));var e},render:function(e){return e?(d.$holder=v(a()),u(),d.$root.html(d.$holder)):d.$root.find("."+r.box).html(d.component.nodes(s.open)),d.trigger("render")},stop:function(){return s.start&&(d.close(),d._hidden&&d._hidden.parentNode.removeChild(d._hidden),d.$root.remove(),c.removeClass(r.input).removeData(t),setTimeout(function(){c.off("."+s.id)},0),o.type=s.type,o.readOnly=!1,d.trigger("stop"),s.methods={},s.start=!1),d},open:function(e){return s.open?d:(c.addClass(r.active),y(o,"expanded",!0),setTimeout(function(){d.$root.addClass(r.opened),y(d.$root[0],"hidden",!1)},0),!1!==e&&(s.open=!0,i&&v("body").css("overflow","hidden").css("padding-right","+="+m()),i&&k?d.$holder.find("."+r.frame).one("transitionend",function(){d.$holder.eq(0).focus()}):setTimeout(function(){d.$holder.eq(0).focus()},0),_.on("click."+s.id+" focusin."+s.id,function(e){var t;s.handlingOpen||(t=g(e,o),e.isSimulated||t==o||t==document||3==e.which||d.close(t===d.$holder[0]))}).on("keydown."+s.id,function(e){var t=e.keyCode,n=d.component.key[t],i=g(e,o);27==t?d.close(!0):i!=d.$holder[0]||!n&&13!=t?v.contains(d.$root[0],i)&&13==t&&(e.preventDefault(),i.click()):(e.preventDefault(),n?p._.trigger(d.component.key.go,d,[p._.trigger(n)]):d.$root.find("."+r.highlighted).hasClass(r.disabled)||(d.set("select",d.component.item.highlight),l.closeOnSelect&&d.close(!0)))})),d.trigger("open"))},close:function(e){return e&&(l.editable?o.focus():(d.$holder.off("focus.toOpen").focus(),setTimeout(function(){d.$holder.on("focus.toOpen",f)},0))),c.removeClass(r.active),y(o,"expanded",!1),setTimeout(function(){d.$root.removeClass(r.opened+" "+r.focused),y(d.$root[0],"hidden",!0)},0),s.open?(s.open=!1,i&&v("body").css("overflow","").css("padding-right","-="+m()),_.off("."+s.id),d.trigger("close")):d},clear:function(e){return d.set("clear",null,e)},set:function(e,t,n){var i,o,r=v.isPlainObject(e),a=r?e:{};if(n=r&&v.isPlainObject(t)?t:n||{},e){for(i in r||(a[e]=t),a)o=a[i],i in d.component.item&&(void 0===o&&(o=null),d.component.set(i,o,n)),"select"!=i&&"clear"!=i||!l.updateInput||c.val("clear"==i?"":d.get(i,l.format)).trigger("change");d.render()}return n.muted?d:d.trigger("set",a)},get:function(e,t){if(null!=s[e=e||"value"])return s[e];if("valueSubmit"==e){if(d._hidden)return d._hidden.value;e="value"}if("value"==e)return o.value;if(e in d.component.item){if("string"!=typeof t)return d.component.get(e);e=d.component.get(e);return e?p._.trigger(d.component.formats.toString,d.component,[t,e]):""}},on:function(e,t,n){var i,o,r=v.isPlainObject(e),a=r?e:{};if(e)for(i in r||(a[e]=t),a)o=a[i],n&&(i="_"+i),s.methods[i]=s.methods[i]||[],s.methods[i].push(o);return d},off:function(){var e,t=arguments,n=0;for(namesCount=t.length;n').appendTo("body"),t=e[0].offsetWidth;e.css("overflow","scroll");var n=v('
').appendTo(e)[0].offsetWidth;return e.remove(),t-n}function g(e,t){var n=[];return e.path&&(n=e.path),(n=e.originalEvent&&e.originalEvent.path?e.originalEvent.path:n)&&0"+(t=v.isArray(t)?t.join(""):t)+"":""},lead:function(e){return(e<10?"0":"")+e},trigger:function(e,t,n){return"function"==typeof e?e.apply(t,n||[]):e},digits:function(e){return/\d/.test(e[1])?2:1},isDate:function(e){return-1<{}.toString.call(e).indexOf("Date")&&this.isInteger(e.getDate())},isInteger:function(e){return-1<{}.toString.call(e).indexOf("Number")&&e%1==0},ariaAttr:function(e,t){v.isPlainObject(e)||(e={attribute:t});for(var n in t="",e){var i=("role"==n?"":"aria-")+n,o=e[n];t+=null==o?"":i+'="'+e[n]+'"'}return t}},p.extend=function(i,o){v.fn[i]=function(e,t){var n=this.data(i);return"picker"==e?n:n&&"string"==typeof e?p._.trigger(n[e],n,[t]):this.each(function(){v(this).data(i)||new p(this,i,o,e)})},v.fn[i].defaults=o.defaults},p)});u(function(e,t){function n(t,n){function e(){return o.currentStyle?"rtl"==o.currentStyle.direction:"rtl"==getComputedStyle(t.$root[0]).direction}var i=this,o=t.$node[0],r=o.value,a=t.$node.data("value"),s=a||r,r=a?n.formatSubmit:n.format;i.settings=n,i.$node=t.$node,i.queue={min:"measure create",max:"measure create",now:"now create",select:"parse create validate",highlight:"parse navigate create validate",view:"parse create validate viewset",disable:"deactivate",enable:"activate"},i.item={},i.item.clear=null,i.item.disable=(n.disable||[]).slice(0),i.item.enable=-(!0===(a=i.item.disable)[0]?a.shift():-1),i.set("min",n.min).set("max",n.max).set("now"),s?i.set("select",s,{format:r,defaultValue:!0}):i.set("select",null).set("highlight",i.item.now),i.key={40:7,38:-7,39:function(){return e()?-1:1},37:function(){return e()?1:-1},go:function(e){var t=i.item.highlight,t=new Date(t.year,t.month,t.date+e);i.set("highlight",t,{interval:e}),this.render()}},t.on("render",function(){t.$root.find("."+n.klass.selectMonth).on("change",function(){var e=this.value;e&&(t.set("highlight",[t.get("view").year,e,t.get("highlight").date]),t.$root.find("."+n.klass.selectMonth).trigger("focus"))}),t.$root.find("."+n.klass.selectYear).on("change",function(){var e=this.value;e&&(t.set("highlight",[e,t.get("view").month,t.get("highlight").date]),t.$root.find("."+n.klass.selectYear).trigger("focus"))})},1).on("open",function(){var e="";i.disabled(i.get("now"))&&(e=":not(."+n.klass.buttonToday+")"),t.$root.find("button"+e+", select").attr("disabled",!1)},1).on("close",function(){t.$root.find("button, select").attr("disabled",!0)},1)} + */var v,i,_,r,k;e.exports=(v=a.default,i=v(window),_=v(document),r=v(document.documentElement),k=null!=document.documentElement.style.transition,p.klasses=function(e){return{picker:e=e||"picker",opened:e+"--opened",focused:e+"--focused",input:e+"__input",active:e+"__input--active",target:e+"__input--target",holder:e+"__holder",frame:e+"__frame",wrap:e+"__wrap",box:e+"__box"}},p._={group:function(e){for(var t,n="",i=p._.trigger(e.min,e);i<=p._.trigger(e.max,e,[i]);i+=e.i)t=p._.trigger(e.item,e,[i]),n+=p._.node(e.node,t[0],t[1],t[2]);return n},node:function(e,t,n,i){return t?"<"+e+(n=n?' class="'+n+'"':"")+(i=i?" "+i:"")+">"+(t=v.isArray(t)?t.join(""):t)+"":""},lead:function(e){return(e<10?"0":"")+e},trigger:function(e,t,n){return"function"==typeof e?e.apply(t,n||[]):e},digits:function(e){return/\d/.test(e[1])?2:1},isDate:function(e){return-1<{}.toString.call(e).indexOf("Date")&&this.isInteger(e.getDate())},isInteger:function(e){return-1<{}.toString.call(e).indexOf("Number")&&e%1==0},ariaAttr:function(e,t){v.isPlainObject(e)||(e={attribute:t});for(var n in t="",e){var i=("role"==n?"":"aria-")+n,o=e[n];t+=null==o?"":i+'="'+e[n]+'"'}return t}},p.extend=function(i,o){v.fn[i]=function(e,t){var n=this.data(i);return"picker"==e?n:n&&"string"==typeof e?p._.trigger(n[e],n,[t]):this.each(function(){v(this).data(i)||new p(this,i,o,e)})},v.fn[i].defaults=o.defaults},p)});c(function(e,t){function n(t,n){function e(){return o.currentStyle?"rtl"==o.currentStyle.direction:"rtl"==getComputedStyle(t.$root[0]).direction}var i=this,o=t.$node[0],r=o.value,a=t.$node.data("value"),s=a||r,r=a?n.formatSubmit:n.format;i.settings=n,i.$node=t.$node,i.queue={min:"measure create",max:"measure create",now:"now create",select:"parse create validate",highlight:"parse navigate create validate",view:"parse create validate viewset",disable:"deactivate",enable:"activate"},i.item={},i.item.clear=null,i.item.disable=(n.disable||[]).slice(0),i.item.enable=-(!0===(a=i.item.disable)[0]?a.shift():-1),i.set("min",n.min).set("max",n.max).set("now"),s?i.set("select",s,{format:r,defaultValue:!0}):i.set("select",null).set("highlight",i.item.now),i.key={40:7,38:-7,39:function(){return e()?-1:1},37:function(){return e()?1:-1},go:function(e){var t=i.item.highlight,t=new Date(t.year,t.month,t.date+e);i.set("highlight",t,{interval:e}),this.render()}},t.on("render",function(){t.$root.find("."+n.klass.selectMonth).on("change",function(){var e=this.value;e&&(t.set("highlight",[t.get("view").year,e,t.get("highlight").date]),t.$root.find("."+n.klass.selectMonth).trigger("focus"))}),t.$root.find("."+n.klass.selectYear).on("change",function(){var e=this.value;e&&(t.set("highlight",[e,t.get("view").month,t.get("highlight").date]),t.$root.find("."+n.klass.selectYear).trigger("focus"))})},1).on("open",function(){var e="";i.disabled(i.get("now"))&&(e=":not(."+n.klass.buttonToday+")"),t.$root.find("button"+e+", select").attr("disabled",!1)},1).on("close",function(){t.$root.find("button, select").attr("disabled",!0)},1)} /*! * Date picker for pickadate.js v3.6.4 * http://amsul.github.io/pickadate.js/date.htm - */var p,g;e.exports=(e=f,p=a.default,g=e._,n.prototype.set=function(t,n,i){var o=this,e=o.item;return null===n?e[t="clear"==t?"select":t]=n:(e["enable"==t?"disable":"flip"==t?"enable":t]=o.queue[t].split(" ").map(function(e){return n=o[e](t,n,i)}).pop(),"select"==t?o.set("highlight",e.select,i):"highlight"==t?o.set("view",e.highlight,i):t.match(/^(flip|min|max|disable|enable)$/)&&(e.select&&o.disabled(e.select)&&o.set("select",e.select,i),e.highlight&&o.disabled(e.highlight)&&o.set("highlight",e.highlight,i))),o},n.prototype.get=function(e){return this.item[e]},n.prototype.create=function(e,t,n){var i;return(t=void 0===t?e:t)==-1/0||t==1/0?i=t:t=p.isPlainObject(t)&&g.isInteger(t.pick)?t.obj:p.isArray(t)?(t=new Date(t[0],t[1],t[2]),g.isDate(t)?t:this.create().obj):g.isInteger(t)||g.isDate(t)?this.normalize(new Date(t),n):this.now(e,t,n),{year:i||t.getFullYear(),month:i||t.getMonth(),date:i||t.getDate(),day:i||t.getDay(),obj:i||t,pick:i||t.getTime()}},n.prototype.createRange=function(e,t){function n(e){return!0===e||p.isArray(e)||g.isDate(e)?i.create(e):e}var i=this;return g.isInteger(e)||(e=n(e)),g.isInteger(t)||(t=n(t)),g.isInteger(e)&&p.isPlainObject(t)?e=[t.year,t.month,t.date+e]:g.isInteger(t)&&p.isPlainObject(e)&&(t=[e.year,e.month,e.date+t]),{from:n(e),to:n(t)}},n.prototype.withinRange=function(e,t){return e=this.createRange(e.from,e.to),t.pick>=e.from.pick&&t.pick<=e.to.pick},n.prototype.overlapRanges=function(e,t){var n=this;return e=n.createRange(e.from,e.to),t=n.createRange(t.from,t.to),n.withinRange(e,t.from)||n.withinRange(e,t.to)||n.withinRange(t,e.from)||n.withinRange(t,e.to)},n.prototype.now=function(e,t,n){return t=new Date,n&&n.rel&&t.setDate(t.getDate()+n.rel),this.normalize(t,n)},n.prototype.navigate=function(e,t,n){var i,o,r,a=p.isArray(t),s=p.isPlainObject(t),l=this.item.view;if(a||s){for(r=s?(i=t.year,o=t.month,t.date):(i=+t[0],o=+t[1],+t[2]),n&&n.nav&&l&&l.month!==o&&(i=l.year,o=l.month),i=(n=new Date(i,o+(n&&n.nav?n.nav:0),1)).getFullYear(),o=n.getMonth();new Date(i,o,r).getMonth()!==o;)--r;t=[i,o,r]}return t},n.prototype.normalize=function(e){return e.setHours(0,0,0,0),e},n.prototype.measure=function(e,t){return g.isInteger(t)?t=this.now(e,t,{rel:t}):t?"string"==typeof t&&(t=this.parse(e,t)):t="min"==e?-1/0:1/0,t},n.prototype.viewset=function(e,t){return this.create([t.year,t.month,1])},n.prototype.validate=function(e,n,t){var i,o,r,a,s=this,l=n,c=t&&t.interval?t.interval:1,d=-1===s.item.enable,u=s.item.min,f=s.item.max,h=d&&s.item.disable.filter(function(e){var t;return p.isArray(e)&&((t=s.create(e).pick)n.pick&&(o=!0)),g.isInteger(e)}).length;if((!t||!t.nav&&!t.defaultValue)&&(!d&&s.disabled(n)||d&&s.disabled(n)&&(h||i||o)||!d&&(n.pick<=u.pick||n.pick>=f.pick)))for(d&&!h&&(!o&&0l.month)&&(n=l,c=0=f.pick&&(a=!0,c=-1,n=s.create([f.year,f.month,f.date+(n.pick===f.pick?0:1)])),!r||!a);)n=s.create([n.year,n.month,n.date+c]);return n},n.prototype.disabled=function(t){var n=this,e=(e=n.item.disable.filter(function(e){return g.isInteger(e)?t.day===(n.settings.firstDay?e:e-1)%7:p.isArray(e)||g.isDate(e)?t.pick===n.create(e).pick:p.isPlainObject(e)?n.withinRange(e,t):void 0})).length&&!e.filter(function(e){return p.isArray(e)&&"inverted"==e[3]||p.isPlainObject(e)&&e.inverted}).length;return-1===n.item.enable?!e:e||t.pickn.item.max.pick},n.prototype.parse=function(e,i,t){var o=this,r={};return i&&"string"==typeof i?(t&&t.format||((t=t||{}).format=o.settings.format),o.formats.toArray(t.format).map(function(e){var t=o.formats[e],n=t?g.trigger(t,o,[i,r]):e.replace(/^!/,"").length;t&&(r[e]=i.substr(0,n)),i=i.substr(n)}),[r.yyyy||r.yy,+(r.mm||r.m)-1,r.dd||r.d]):i},n.prototype.formats=function(){function i(e,t,n){e=e.match(/[^\x00-\x7F]+|\w+/)[0];return n.mm||n.m||(n.m=t.indexOf(e)+1),e.length}function n(e){return e.match(/\w+/)[0].length}return{d:function(e,t){return e?g.digits(e):t.date},dd:function(e,t){return e?2:g.lead(t.date)},ddd:function(e,t){return e?n(e):this.settings.weekdaysShort[t.day]},dddd:function(e,t){return e?n(e):this.settings.weekdaysFull[t.day]},m:function(e,t){return e?g.digits(e):t.month+1},mm:function(e,t){return e?2:g.lead(t.month+1)},mmm:function(e,t){var n=this.settings.monthsShort;return e?i(e,n,t):n[t.month]},mmmm:function(e,t){var n=this.settings.monthsFull;return e?i(e,n,t):n[t.month]},yy:function(e,t){return e?2:(""+t.year).slice(2)},yyyy:function(e,t){return e?4:t.year},toArray:function(e){return e.split(/(d{1,4}|m{1,4}|y{4}|yy|!.)/g)},toString:function(e,t){var n=this;return n.formats.toArray(e).map(function(e){return g.trigger(n.formats[e],n,[0,t])||e.replace(/^!/,"")}).join("")}}}(),n.prototype.isDateExact=function(e,t){return g.isInteger(e)&&g.isInteger(t)||"boolean"==typeof e&&"boolean"==typeof t?e===t:(g.isDate(e)||p.isArray(e))&&(g.isDate(t)||p.isArray(t))?this.create(e).pick===this.create(t).pick:!(!p.isPlainObject(e)||!p.isPlainObject(t))&&(this.isDateExact(e.from,t.from)&&this.isDateExact(e.to,t.to))},n.prototype.isDateOverlap=function(e,t){var n=this.settings.firstDay?1:0;return g.isInteger(e)&&(g.isDate(t)||p.isArray(t))?(e=e%7+n)===this.create(t).day+1:g.isInteger(t)&&(g.isDate(e)||p.isArray(e))?(t=t%7+n)===this.create(e).day+1:!(!p.isPlainObject(e)||!p.isPlainObject(t))&&this.overlapRanges(e,t)},n.prototype.flipEnable=function(e){var t=this.item;t.enable=e||(-1==t.enable?1:-1)},n.prototype.deactivate=function(e,t){var i=this,o=i.item.disable.slice(0);return"flip"==t?i.flipEnable():!1===t?(i.flipEnable(1),o=[]):!0===t?(i.flipEnable(-1),o=[]):t.map(function(e){for(var t,n=0;n=m.year&&f.month>=m.month||!e&&f.year<=p.year&&f.month<=p.month?" "+l.klass.navDisabled:""),"data-nav="+(e||-1)+" "+g.ariaAttr({role:"button",controls:s.$node[0].id+"_table"})+' title="'+(e?l.labelMonthNext:l.labelMonthPrev)+'"')}function t(){var t=l.showMonthsShort?l.monthsShort:l.monthsFull;return l.selectMonths?g.node("select",g.group({min:0,max:11,i:1,node:"option",item:function(e){return[t[e],0,"value="+e+(f.month==e?" selected":"")+(f.year==p.year&&em.month?" disabled":"")]}}),l.klass.selectMonth,(a?"":"disabled")+" "+g.ariaAttr({controls:s.$node[0].id+"_table"})+' title="'+l.labelMonthSelect+'"'):g.node("div",t[f.month],l.klass.month)}var n,i,s=this,l=s.settings,o=s.item,c=o.now,d=o.select,u=o.highlight,f=o.view,h=o.disable,p=o.min,m=o.max,r=(n=(l.showWeekdaysFull?l.weekdaysFull:l.weekdaysShort).slice(0),i=l.weekdaysFull.slice(0),l.firstDay&&(n.push(n.shift()),i.push(i.shift())),g.node("thead",g.node("tr",g.group({min:0,max:6,i:1,node:"th",item:function(e){return[n[e],l.klass.weekdays,'scope=col title="'+i[e]+'"']}})))),o=function(){var t=f.year,e=!0===l.selectYears?5:~~(l.selectYears/2);if(e){var n=p.year,i=m.year,o=t-e,r=t+e;return om.pick,r=g.trigger(s.formats.toString,s,[l.format,e]);return[g.node("div",e.date,((t=[l.klass.day]).push(f.month==e.month?l.klass.infocus:l.klass.outfocus),c.pick==e.pick&&t.push(l.klass.now),n&&t.push(l.klass.selected),i&&t.push(l.klass.highlighted),o&&t.push(l.klass.disabled),t.join(" ")),"data-pick="+e.pick+" "+g.ariaAttr({role:"gridcell",label:r,selected:!(!n||s.$node.val()!==r)||null,activedescendant:!!i||null,disabled:!!o||null})),"",g.ariaAttr({role:"presentation"})]}})]}})),l.klass.table,'id="'+s.$node[0].id+'_table" '+g.ariaAttr({role:"grid",controls:s.$node[0].id,readonly:!0}))+g.node("div",g.node("button",l.today,l.klass.buttonToday,"type=button data-pick="+c.pick+(a&&!s.disabled(c)?"":" disabled")+" "+g.ariaAttr({controls:s.$node[0].id}))+g.node("button",l.clear,l.klass.buttonClear,"type=button data-clear=1"+(a?"":" disabled")+" "+g.ariaAttr({controls:s.$node[0].id}))+g.node("button",l.close,l.klass.buttonClose,"type=button data-close=true "+(a?"":" disabled")+" "+g.ariaAttr({controls:s.$node[0].id})),l.klass.footer)},n.defaults=function(e){return{labelMonthNext:"Next month",labelMonthPrev:"Previous month",labelMonthSelect:"Select a month",labelYearSelect:"Select a year",monthsFull:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdaysFull:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],today:"Today",clear:"Clear",close:"Close",closeOnSelect:!0,closeOnClear:!0,updateInput:!0,format:"d mmmm, yyyy",klass:{table:e+"table",header:e+"header",navPrev:e+"nav--prev",navNext:e+"nav--next",navDisabled:e+"nav--disabled",month:e+"month",year:e+"year",selectMonth:e+"select--month",selectYear:e+"select--year",weekdays:e+"weekday",day:e+"day",disabled:e+"day--disabled",selected:e+"day--selected",highlighted:e+"day--highlighted",now:e+"day--today",infocus:e+"day--infocus",outfocus:e+"day--outfocus",footer:e+"footer",buttonClear:e+"button--clear",buttonToday:e+"button--today",buttonClose:e+"button--close"}}}(e.klasses().picker+"__"),void e.extend("pickadate",n))});h=a.default,p="md.pickdate",v="pickdate",_=h.fn[v],k={cancel:"Cancel",closeOnCancel:!0,closeOnSelect:!1,container:"",containerHidden:"",disable:[],firstDay:0,format:"d/m/yyyy",formatSubmit:"",hiddenName:!1,hiddenPrefix:"",hiddenSuffix:"",klass:{buttonClear:"btn btn-flat-primary picker-button-clear",buttonClose:"btn btn-flat-primary picker-button-close",buttonToday:"btn btn-flat-primary picker-button-today",day:"picker-day",disabled:"picker-day-disabled",highlighted:"picker-day-highlighted",infocus:"picker-day-infocus",now:"picker-day-today",outfocus:"picker-day-outfocus",selected:"picker-day-selected",weekdays:"picker-weekday",box:"picker-box",footer:"picker-footer",frame:"picker-frame",header:"picker-header",holder:"picker-holder",table:"picker-table",wrap:"picker-wrap",active:"picker-input-active",input:"picker-input",month:"picker-month",navDisabled:"picker-nav-disabled",navNext:"material-icons picker-nav-next",navPrev:"material-icons picker-nav-prev",selectMonth:"picker-select-month",selectYear:"picker-select-year",year:"picker-year",focused:"picker-focused",opened:"picker-opened",picker:"picker"},labelMonthNext:"Next month",labelMonthPrev:"Previous month",labelMonthSelect:"Choose a month",labelYearSelect:"Choose a year",max:!1,min:!1,monthsFull:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ok:"OK",onClose:function(){},onOpen:function(){},onRender:function(){},onSet:function(){},onStart:function(){},onStop:function(){},selectMonths:!1,selectYears:!1,today:"",weekdaysFull:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysShort:["S","M","T","W","T","F","S"]},w={cancel:"string",closeOnCancel:"boolean",closeOnSelect:"boolean",container:"string",containerHidden:"string",disable:"array",firstDay:"number",format:"string",formatSubmit:"string",hiddenName:"boolean",hiddenPrefix:"string",hiddenSuffix:"string",klass:"object",labelMonthNext:"string",labelMonthPrev:"string",labelMonthSelect:"string",labelYearSelect:"string",max:"boolean || date",min:"boolean || date",monthsFull:"array",monthsShort:"array",ok:"string",onClose:"function",onOpen:"function",onRender:"function",onSet:"function",onStart:"function",onStop:"function",selectMonths:"boolean",selectYears:"boolean || number",today:"string",weekdaysFull:"array",weekdaysShort:"array"},S=function(){function i(e,t){this._config=this._getConfig(t),this._element=e}var e=i.prototype;return e.display=function(e,t,n){h(".picker-date-display",t).remove(),h(".picker-wrap",t).prepend('
'+e.get(n,"yyyy")+'
'+e.get(n,"dddd")+''+e.get(n,"mmm")+''+e.get(n,"d")+"
")},e.show=function(){var e=this;h(this._element).pickadate({clear:this._config.cancel,close:this._config.ok,closeOnClear:this._config.closeOnCancel,closeOnSelect:this._config.closeOnSelect,container:this._config.container,containerHidden:this._config.containerHidden,disable:this._config.disable,firstDay:this._config.firstDay,format:this._config.format,formatSubmit:this._config.formatSubmit,klass:this._config.klass,hiddenName:this._config.hiddenName,hiddenPrefix:this._config.hiddenPrefix,hiddenSuffix:this._config.hiddenSuffix,labelMonthNext:this._config.labelMonthNext,labelMonthPrev:this._config.labelMonthPrev,labelMonthSelect:this._config.labelMonthSelect,labelYearSelect:this._config.labelYearSelect,max:this._config.max,min:this._config.min,monthsFull:this._config.monthsFull,monthsShort:this._config.monthsShort,onClose:this._config.onClose,onOpen:this._config.onOpen,onRender:this._config.onRender,onSet:this._config.onSet,onStart:this._config.onStart,onStop:this._config.onStop,selectMonths:this._config.selectMonths,selectYears:this._config.selectYears,today:this._config.today,weekdaysFull:this._config.weekdaysFull,weekdaysShort:this._config.weekdaysShort});var t=h(this._element).pickadate("picker"),n=t.$root;t.on({close:function(){h(document.activeElement).blur()},open:function(){h(".picker__date-display",n).length||e.display(t,n,"highlight")},set:function(){null!==t.get("select")&&e.display(t,n,"select")}})},e._getConfig=function(e){return e=y(y({},k),e),b.typeCheckConfig(v,e,w),e},i._jQueryInterface=function(n){return this.each(function(){var e=y(y(y({},k),h(this).data()),"object"==typeof n&&n?n:{}),t=h(this).data(p);t||(t=new i(this,e),h(this).data(p,t)),t.show()})},i}(),h.fn[v]=S._jQueryInterface,h.fn[v].Constructor=S,h.fn[v].noConflict=function(){return h.fn[v]=_,S._jQueryInterface};function m(e,t,n){for(var i=0,o=n;i=e.from.pick&&t.pick<=e.to.pick},n.prototype.overlapRanges=function(e,t){var n=this;return e=n.createRange(e.from,e.to),t=n.createRange(t.from,t.to),n.withinRange(e,t.from)||n.withinRange(e,t.to)||n.withinRange(t,e.from)||n.withinRange(t,e.to)},n.prototype.now=function(e,t,n){return t=new Date,n&&n.rel&&t.setDate(t.getDate()+n.rel),this.normalize(t,n)},n.prototype.navigate=function(e,t,n){var i,o,r,a=p.isArray(t),s=p.isPlainObject(t),l=this.item.view;if(a||s){for(r=s?(i=t.year,o=t.month,t.date):(i=+t[0],o=+t[1],+t[2]),n&&n.nav&&l&&l.month!==o&&(i=l.year,o=l.month),i=(n=new Date(i,o+(n&&n.nav?n.nav:0),1)).getFullYear(),o=n.getMonth();new Date(i,o,r).getMonth()!==o;)--r;t=[i,o,r]}return t},n.prototype.normalize=function(e){return e.setHours(0,0,0,0),e},n.prototype.measure=function(e,t){return g.isInteger(t)?t=this.now(e,t,{rel:t}):t?"string"==typeof t&&(t=this.parse(e,t)):t="min"==e?-1/0:1/0,t},n.prototype.viewset=function(e,t){return this.create([t.year,t.month,1])},n.prototype.validate=function(e,n,t){var i,o,r,a,s=this,l=n,c=t&&t.interval?t.interval:1,d=-1===s.item.enable,u=s.item.min,f=s.item.max,h=d&&s.item.disable.filter(function(e){var t;return p.isArray(e)&&((t=s.create(e).pick)n.pick&&(o=!0)),g.isInteger(e)}).length;if((!t||!t.nav&&!t.defaultValue)&&(!d&&s.disabled(n)||d&&s.disabled(n)&&(h||i||o)||!d&&(n.pick<=u.pick||n.pick>=f.pick)))for(d&&!h&&(!o&&0l.month)&&(n=l,c=0=f.pick&&(a=!0,c=-1,n=s.create([f.year,f.month,f.date+(n.pick===f.pick?0:1)])),!r||!a);)n=s.create([n.year,n.month,n.date+c]);return n},n.prototype.disabled=function(t){var n=this,e=(e=n.item.disable.filter(function(e){return g.isInteger(e)?t.day===(n.settings.firstDay?e:e-1)%7:p.isArray(e)||g.isDate(e)?t.pick===n.create(e).pick:p.isPlainObject(e)?n.withinRange(e,t):void 0})).length&&!e.filter(function(e){return p.isArray(e)&&"inverted"==e[3]||p.isPlainObject(e)&&e.inverted}).length;return-1===n.item.enable?!e:e||t.pickn.item.max.pick},n.prototype.parse=function(e,i,t){var o=this,r={};return i&&"string"==typeof i?(t&&t.format||((t=t||{}).format=o.settings.format),o.formats.toArray(t.format).map(function(e){var t=o.formats[e],n=t?g.trigger(t,o,[i,r]):e.replace(/^!/,"").length;t&&(r[e]=i.substr(0,n)),i=i.substr(n)}),[r.yyyy||r.yy,+(r.mm||r.m)-1,r.dd||r.d]):i},n.prototype.formats=function(){function i(e,t,n){e=e.match(/[^\x00-\x7F]+|\w+/)[0];return n.mm||n.m||(n.m=t.indexOf(e)+1),e.length}function n(e){return e.match(/\w+/)[0].length}return{d:function(e,t){return e?g.digits(e):t.date},dd:function(e,t){return e?2:g.lead(t.date)},ddd:function(e,t){return e?n(e):this.settings.weekdaysShort[t.day]},dddd:function(e,t){return e?n(e):this.settings.weekdaysFull[t.day]},m:function(e,t){return e?g.digits(e):t.month+1},mm:function(e,t){return e?2:g.lead(t.month+1)},mmm:function(e,t){var n=this.settings.monthsShort;return e?i(e,n,t):n[t.month]},mmmm:function(e,t){var n=this.settings.monthsFull;return e?i(e,n,t):n[t.month]},yy:function(e,t){return e?2:(""+t.year).slice(2)},yyyy:function(e,t){return e?4:t.year},toArray:function(e){return e.split(/(d{1,4}|m{1,4}|y{4}|yy|!.)/g)},toString:function(e,t){var n=this;return n.formats.toArray(e).map(function(e){return g.trigger(n.formats[e],n,[0,t])||e.replace(/^!/,"")}).join("")}}}(),n.prototype.isDateExact=function(e,t){return g.isInteger(e)&&g.isInteger(t)||"boolean"==typeof e&&"boolean"==typeof t?e===t:(g.isDate(e)||p.isArray(e))&&(g.isDate(t)||p.isArray(t))?this.create(e).pick===this.create(t).pick:!(!p.isPlainObject(e)||!p.isPlainObject(t))&&(this.isDateExact(e.from,t.from)&&this.isDateExact(e.to,t.to))},n.prototype.isDateOverlap=function(e,t){var n=this.settings.firstDay?1:0;return g.isInteger(e)&&(g.isDate(t)||p.isArray(t))?(e=e%7+n)===this.create(t).day+1:g.isInteger(t)&&(g.isDate(e)||p.isArray(e))?(t=t%7+n)===this.create(e).day+1:!(!p.isPlainObject(e)||!p.isPlainObject(t))&&this.overlapRanges(e,t)},n.prototype.flipEnable=function(e){var t=this.item;t.enable=e||(-1==t.enable?1:-1)},n.prototype.deactivate=function(e,t){var i=this,o=i.item.disable.slice(0);return"flip"==t?i.flipEnable():!1===t?(i.flipEnable(1),o=[]):!0===t?(i.flipEnable(-1),o=[]):t.map(function(e){for(var t,n=0;n=m.year&&f.month>=m.month||!e&&f.year<=p.year&&f.month<=p.month?" "+l.klass.navDisabled:""),"data-nav="+(e||-1)+" "+g.ariaAttr({role:"button",controls:s.$node[0].id+"_table"})+' title="'+(e?l.labelMonthNext:l.labelMonthPrev)+'"')}function t(){var t=l.showMonthsShort?l.monthsShort:l.monthsFull;return l.selectMonths?g.node("select",g.group({min:0,max:11,i:1,node:"option",item:function(e){return[t[e],0,"value="+e+(f.month==e?" selected":"")+(f.year==p.year&&em.month?" disabled":"")]}}),l.klass.selectMonth,(a?"":"disabled")+" "+g.ariaAttr({controls:s.$node[0].id+"_table"})+' title="'+l.labelMonthSelect+'"'):g.node("div",t[f.month],l.klass.month)}var n,i,s=this,l=s.settings,o=s.item,c=o.now,d=o.select,u=o.highlight,f=o.view,h=o.disable,p=o.min,m=o.max,r=(n=(l.showWeekdaysFull?l.weekdaysFull:l.weekdaysShort).slice(0),i=l.weekdaysFull.slice(0),l.firstDay&&(n.push(n.shift()),i.push(i.shift())),g.node("thead",g.node("tr",g.group({min:0,max:6,i:1,node:"th",item:function(e){return[n[e],l.klass.weekdays,'scope=col title="'+i[e]+'"']}})))),o=function(){var t=f.year,e=!0===l.selectYears?5:~~(l.selectYears/2);if(e){var n=p.year,i=m.year,o=t-e,r=t+e;return om.pick,r=g.trigger(s.formats.toString,s,[l.format,e]);return[g.node("div",e.date,((t=[l.klass.day]).push(f.month==e.month?l.klass.infocus:l.klass.outfocus),c.pick==e.pick&&t.push(l.klass.now),n&&t.push(l.klass.selected),i&&t.push(l.klass.highlighted),o&&t.push(l.klass.disabled),t.join(" ")),"data-pick="+e.pick+" "+g.ariaAttr({role:"gridcell",label:r,selected:!(!n||s.$node.val()!==r)||null,activedescendant:!!i||null,disabled:!!o||null})),"",g.ariaAttr({role:"presentation"})]}})]}})),l.klass.table,'id="'+s.$node[0].id+'_table" '+g.ariaAttr({role:"grid",controls:s.$node[0].id,readonly:!0}))+g.node("div",g.node("button",l.today,l.klass.buttonToday,"type=button data-pick="+c.pick+(a&&!s.disabled(c)?"":" disabled")+" "+g.ariaAttr({controls:s.$node[0].id}))+g.node("button",l.clear,l.klass.buttonClear,"type=button data-clear=1"+(a?"":" disabled")+" "+g.ariaAttr({controls:s.$node[0].id}))+g.node("button",l.close,l.klass.buttonClose,"type=button data-close=true "+(a?"":" disabled")+" "+g.ariaAttr({controls:s.$node[0].id})),l.klass.footer)},n.defaults=function(e){return{labelMonthNext:"Next month",labelMonthPrev:"Previous month",labelMonthSelect:"Select a month",labelYearSelect:"Select a year",monthsFull:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdaysFull:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],today:"Today",clear:"Clear",close:"Close",closeOnSelect:!0,closeOnClear:!0,updateInput:!0,format:"d mmmm, yyyy",klass:{table:e+"table",header:e+"header",navPrev:e+"nav--prev",navNext:e+"nav--next",navDisabled:e+"nav--disabled",month:e+"month",year:e+"year",selectMonth:e+"select--month",selectYear:e+"select--year",weekdays:e+"weekday",day:e+"day",disabled:e+"day--disabled",selected:e+"day--selected",highlighted:e+"day--highlighted",now:e+"day--today",infocus:e+"day--infocus",outfocus:e+"day--outfocus",footer:e+"footer",buttonClear:e+"button--clear",buttonToday:e+"button--today",buttonClose:e+"button--close"}}}(e.klasses().picker+"__"),void e.extend("pickadate",n))});u=a.default,f="md.pickdate",h="pickdate",p=u.fn[h],v={cancel:"Cancel",closeOnCancel:!0,closeOnSelect:!1,container:"",containerHidden:"",disable:[],firstDay:0,format:"d/m/yyyy",formatSubmit:"",hiddenName:!1,hiddenPrefix:"",hiddenSuffix:"",klass:{buttonClear:"btn btn-flat-primary picker-button-clear",buttonClose:"btn btn-flat-primary picker-button-close",buttonToday:"btn btn-flat-primary picker-button-today",day:"picker-day",disabled:"picker-day-disabled",highlighted:"picker-day-highlighted",infocus:"picker-day-infocus",now:"picker-day-today",outfocus:"picker-day-outfocus",selected:"picker-day-selected",weekdays:"picker-weekday",box:"picker-box",footer:"picker-footer",frame:"picker-frame",header:"picker-header",holder:"picker-holder",table:"picker-table",wrap:"picker-wrap",active:"picker-input-active",input:"picker-input",month:"picker-month",navDisabled:"picker-nav-disabled",navNext:"material-icons picker-nav-next",navPrev:"material-icons picker-nav-prev",selectMonth:"picker-select-month",selectYear:"picker-select-year",year:"picker-year",focused:"picker-focused",opened:"picker-opened",picker:"picker"},labelMonthNext:"Next month",labelMonthPrev:"Previous month",labelMonthSelect:"Choose a month",labelYearSelect:"Choose a year",max:!1,min:!1,monthsFull:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ok:"OK",onClose:function(){},onOpen:function(){},onRender:function(){},onSet:function(){},onStart:function(){},onStop:function(){},selectMonths:!1,selectYears:!1,today:"",weekdaysFull:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysShort:["S","M","T","W","T","F","S"]},_={cancel:"string",closeOnCancel:"boolean",closeOnSelect:"boolean",container:"string",containerHidden:"string",disable:"array",firstDay:"number",format:"string",formatSubmit:"string",hiddenName:"boolean",hiddenPrefix:"string",hiddenSuffix:"string",klass:"object",labelMonthNext:"string",labelMonthPrev:"string",labelMonthSelect:"string",labelYearSelect:"string",max:"boolean || date",min:"boolean || date",monthsFull:"array",monthsShort:"array",ok:"string",onClose:"function",onOpen:"function",onRender:"function",onSet:"function",onStart:"function",onStop:"function",selectMonths:"boolean",selectYears:"boolean || number",today:"string",weekdaysFull:"array",weekdaysShort:"array"},k=function(){function i(e,t){this._config=this._getConfig(t),this._element=e}var e=i.prototype;return e.display=function(e,t,n){u(".picker-date-display",t).remove(),u(".picker-wrap",t).prepend('
'+e.get(n,"yyyy")+'
'+e.get(n,"dddd")+''+e.get(n,"mmm")+''+e.get(n,"d")+"
")},e.show=function(){var e=this;u(this._element).pickadate({clear:this._config.cancel,close:this._config.ok,closeOnClear:this._config.closeOnCancel,closeOnSelect:this._config.closeOnSelect,container:this._config.container,containerHidden:this._config.containerHidden,disable:this._config.disable,firstDay:this._config.firstDay,format:this._config.format,formatSubmit:this._config.formatSubmit,klass:this._config.klass,hiddenName:this._config.hiddenName,hiddenPrefix:this._config.hiddenPrefix,hiddenSuffix:this._config.hiddenSuffix,labelMonthNext:this._config.labelMonthNext,labelMonthPrev:this._config.labelMonthPrev,labelMonthSelect:this._config.labelMonthSelect,labelYearSelect:this._config.labelYearSelect,max:this._config.max,min:this._config.min,monthsFull:this._config.monthsFull,monthsShort:this._config.monthsShort,onClose:this._config.onClose,onOpen:this._config.onOpen,onRender:this._config.onRender,onSet:this._config.onSet,onStart:this._config.onStart,onStop:this._config.onStop,selectMonths:this._config.selectMonths,selectYears:this._config.selectYears,today:this._config.today,weekdaysFull:this._config.weekdaysFull,weekdaysShort:this._config.weekdaysShort});var t=u(this._element).pickadate("picker"),n=t.$root;t.on({close:function(){u(document.activeElement).blur()},open:function(){u(".picker__date-display",n).length||e.display(t,n,"highlight")},set:function(){null!==t.get("select")&&e.display(t,n,"select")}})},e._getConfig=function(e){return e=y(y({},v),e),b.typeCheckConfig(h,e,_),e},i._jQueryInterface=function(n){return this.each(function(){var e=y(y(y({},v),u(this).data()),"object"==typeof n&&n?n:{}),t=u(this).data(f);t||(t=new i(this,e),u(this).data(f,t)),t.show()})},i}(),u.fn[h]=k._jQueryInterface,u.fn[h].Constructor=k,u.fn[h].noConflict=function(){return u.fn[h]=p,k._jQueryInterface};function m(e,t,n){for(var i=0,o=n;i {\n // constants >>>\n const DATA_KEY = 'md.floatinglabel'\n const EVENT_KEY = `.${DATA_KEY}`\n const NAME = 'floatinglabel'\n const NO_CONFLICT = $.fn[NAME]\n\n const ClassName = {\n IS_FOCUSED : 'is-focused',\n HAS_VALUE : 'has-value'\n }\n\n const Event = {\n CHANGE : `change${EVENT_KEY}`,\n FOCUSIN : `focusin${EVENT_KEY}`,\n FOCUSOUT : `focusout${EVENT_KEY}`\n }\n\n const Selector = {\n DATA_PARENT : '.floating-label',\n DATA_TOGGLE : '.floating-label .custom-select, .floating-label .form-control'\n }\n // <<< constants\n\n class FloatingLabel {\n constructor(element) {\n this._element = element\n this._parent = $(element).closest(Selector.DATA_PARENT)[0]\n }\n\n change() {\n if ($(this._element).val() ||\n $(this._element).is('select') &&\n $('option:first-child', $(this._element)).html().replace(' ', '') !== '') {\n $(this._parent).addClass(ClassName.HAS_VALUE)\n } else {\n $(this._parent).removeClass(ClassName.HAS_VALUE)\n }\n }\n\n focusin() {\n $(this._parent).addClass(ClassName.IS_FOCUSED)\n }\n\n focusout() {\n $(this._parent).removeClass(ClassName.IS_FOCUSED)\n }\n\n static _jQueryInterface(event) {\n return this.each(function () {\n const _event = event ? event : 'change'\n\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = new FloatingLabel(this)\n\n $(this).data(DATA_KEY, data)\n }\n\n if (typeof _event === 'string') {\n if (typeof data[_event] === 'undefined') {\n throw new Error(`No method named \"${_event}\"`)\n }\n\n data[_event]()\n }\n })\n }\n }\n\n $(document).on(`${Event.CHANGE} ${Event.FOCUSIN} ${Event.FOCUSOUT}`, Selector.DATA_TOGGLE, function (event) {\n FloatingLabel._jQueryInterface.call($(this), event.type)\n })\n\n $.fn[NAME] = FloatingLabel._jQueryInterface\n $.fn[NAME].Constructor = FloatingLabel\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = NO_CONFLICT\n\n return FloatingLabel._jQueryInterface\n }\n\n return FloatingLabel\n})($)\n\nexport default FloatingLabel\n","import $ from 'jquery'\n\n/*\n * Expansion panel plugins expands a collapsed panel in full upon selecting\n */\n\nconst ExpansionPanel = (($) => {\n // constants >>>\n const DATA_KEY = 'bs.collapse'\n const EVENT_KEY = `.${DATA_KEY}`\n\n const ClassName = {\n SHOW : 'show',\n SHOW_PREDECESSOR : 'show-predecessor'\n }\n\n const Event = {\n HIDE : `hide${EVENT_KEY}`,\n SHOW : `show${EVENT_KEY}`\n }\n\n const Selector = {\n PANEL : '.expansion-panel',\n PANEL_BODY : '.expansion-panel .collapse'\n }\n // <<< constants\n\n $(document).on(`${Event.HIDE}`, Selector.PANEL_BODY, function () {\n const target = $(this).closest(Selector.PANEL)\n\n target.removeClass(ClassName.SHOW)\n\n const predecessor = target.prev(Selector.PANEL)\n\n if (predecessor.length) {\n predecessor.removeClass(ClassName.SHOW_PREDECESSOR)\n }\n }).on(`${Event.SHOW}`, Selector.PANEL_BODY, function () {\n const target = $(this).closest(Selector.PANEL)\n\n target.addClass(ClassName.SHOW)\n\n const predecessor = target.prev(Selector.PANEL)\n\n if (predecessor.length) {\n predecessor.addClass(ClassName.SHOW_PREDECESSOR)\n }\n })\n})($)\n\nexport default ExpansionPanel\n","import $ from 'jquery'\n\n/*\n * Global util js\n * Based on Bootstrap's (v4.1.X) `util.js`\n */\n\nconst Util = (($) => {\n const MAX_UID = 1000000\n const MILLISECONDS_MULTIPLIER = 1000\n const TRANSITION_END = 'transitionend'\n\n function getSpecialTransitionEndEvent() {\n return {\n bindType : TRANSITION_END,\n delegateType : TRANSITION_END,\n handle(event) {\n if ($(event.target).is(this)) {\n return event.handleObj.handler.apply(this, arguments) // eslint-disable-line prefer-rest-params\n }\n return undefined // eslint-disable-line no-undefined\n }\n }\n }\n\n function setTransitionEndSupport() {\n $.fn.emulateTransitionEnd = transitionEndEmulator\n $.event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent()\n }\n\n function toType(obj) {\n return {}.toString.call(obj).match(/\\s([a-z]+)/i)[1].toLowerCase()\n }\n\n function transitionEndEmulator(duration) {\n let called = false\n\n $(this).one(Util.TRANSITION_END, () => {\n called = true\n })\n\n setTimeout(() => {\n if (!called) {\n Util.triggerTransitionEnd(this)\n }\n }, duration)\n\n return this\n }\n\n const Util = {\n\n TRANSITION_END: 'mdTransitionEnd',\n\n getSelectorFromElement(element) {\n let selector = element.getAttribute('data-target')\n\n if (!selector || selector === '#') {\n selector = element.getAttribute('href') || ''\n }\n\n try {\n const $selector = $(document).find(selector)\n\n return $selector.length > 0 ? selector : null\n } catch (err) {\n return null\n }\n },\n\n getTransitionDurationFromElement(element) {\n if (!element) {\n return 0\n }\n\n let transitionDuration = $(element).css('transition-duration')\n\n if (!transitionDuration) {\n return 0\n }\n\n transitionDuration = transitionDuration.split(',')[0]\n\n return parseFloat(transitionDuration) * MILLISECONDS_MULTIPLIER\n },\n\n getUID(prefix) {\n do {\n // eslint-disable-next-line no-bitwise\n prefix += ~~(Math.random() * MAX_UID)\n } while (document.getElementById(prefix))\n return prefix\n },\n\n isElement(obj) {\n return (obj[0] || obj).nodeType\n },\n\n reflow(element) {\n return element.offsetHeight\n },\n\n supportsTransitionEnd() {\n return Boolean(TRANSITION_END)\n },\n\n triggerTransitionEnd(element) {\n $(element).trigger(TRANSITION_END)\n },\n\n typeCheckConfig(componentName, config, configTypes) {\n for (const property in configTypes) {\n if (Object.prototype.hasOwnProperty.call(configTypes, property)) {\n const expectedTypes = configTypes[property]\n const value = config[property]\n const valueType = value && Util.isElement(value) ? 'element' : toType(value)\n\n if (!new RegExp(expectedTypes).test(valueType)) {\n throw new Error(\n `${componentName.toUpperCase()}: ` +\n `Option \"${property}\" provided type \"${valueType}\" ` +\n `but expected type \"${expectedTypes}\".`)\n }\n }\n }\n }\n }\n\n setTransitionEndSupport()\n\n return Util\n})($)\n\nexport default Util\n","import $ from 'jquery'\nimport Util from './util'\n\n/*\n * Navigation drawer plguin\n * Based on Bootstrap's (v4.1.X) `modal.js`\n */\n\nconst NavDrawer = (($) => {\n // constants >>>\n const DATA_API_KEY = '.data-api'\n const DATA_KEY = 'md.navdrawer'\n const ESCAPE_KEYCODE = 27\n const EVENT_KEY = `.${DATA_KEY}`\n const NAME = 'navdrawer'\n const NO_CONFLICT = $.fn[NAME]\n\n const ClassName = {\n BACKDROP : 'navdrawer-backdrop',\n OPEN : 'navdrawer-open',\n SHOW : 'show'\n }\n\n const Default = {\n breakpoint : '',\n keyboard : true,\n show : true,\n type : 'default'\n }\n\n const DefaultType = {\n keyboard : 'boolean',\n show : 'boolean',\n type : 'string'\n }\n\n const Event = {\n CLICK_DATA_API : `click${EVENT_KEY}${DATA_API_KEY}`,\n CLICK_DISMISS : `click.dismiss${EVENT_KEY}`,\n FOCUSIN : `focusin${EVENT_KEY}`,\n HIDDEN : `hidden${EVENT_KEY}`,\n HIDE : `hide${EVENT_KEY}`,\n KEYDOWN_DISMISS : `keydown.dismiss${EVENT_KEY}`,\n MOUSEDOWN_DISMISS : `mousedown.dismiss${EVENT_KEY}`,\n MOUSEUP_DISMISS : `mouseup.dismiss${EVENT_KEY}`,\n SHOW : `show${EVENT_KEY}`,\n SHOWN : `shown${EVENT_KEY}`\n }\n\n const Selector = {\n CONTENT : '.navdrawer-content',\n DATA_DISMISS : '[data-dismiss=\"navdrawer\"]',\n DATA_TOGGLE : '[data-toggle=\"navdrawer\"]'\n }\n // <<< constants\n\n class NavDrawer {\n constructor(element, config) {\n this._backdrop = null\n this._config = this._getConfig(config)\n this._content = $(element).find(Selector.CONTENT)[0]\n this._element = element\n this._ignoreBackdropClick = false\n this._isShown = false\n this._typeBreakpoint = this._config.breakpoint === '' ? '' : `-${this._config.breakpoint}`\n }\n\n hide(event) {\n if (event) {\n event.preventDefault()\n }\n\n if (this._isTransitioning || !this._isShown) {\n return\n }\n\n const hideEvent = $.Event(Event.HIDE)\n\n $(this._element).trigger(hideEvent)\n\n if (!this._isShown || hideEvent.isDefaultPrevented()) {\n return\n }\n\n this._isShown = false\n\n this._isTransitioning = true\n\n this._setEscapeEvent()\n\n $(document).off(Event.FOCUSIN)\n\n $(document.body).removeClass(`${ClassName.OPEN}-${this._config.type}${this._typeBreakpoint}`)\n\n $(this._element).removeClass(ClassName.SHOW)\n\n $(this._element).off(Event.CLICK_DISMISS)\n\n $(this._content).off(Event.MOUSEDOWN_DISMISS)\n\n const transitionDuration = Util.getTransitionDurationFromElement(this._content)\n\n $(this._content)\n .one(Util.TRANSITION_END, (event) => this._hideNavdrawer(event))\n .emulateTransitionEnd(transitionDuration)\n\n this._showBackdrop()\n }\n\n show(relatedTarget) {\n if (this._isTransitioning || this._isShown) {\n return\n }\n\n this._isTransitioning = true\n\n const showEvent = $.Event(Event.SHOW, {\n relatedTarget\n })\n\n $(this._element).trigger(showEvent)\n\n if (this._isShown || showEvent.isDefaultPrevented()) {\n return\n }\n\n this._isShown = true\n\n this._setEscapeEvent()\n\n $(this._element).addClass(`${NAME}-${this._config.type}${this._typeBreakpoint}`)\n\n $(this._element).on(Event.CLICK_DISMISS, Selector.DATA_DISMISS, (event) => this.hide(event))\n\n $(this._content).on(Event.MOUSEDOWN_DISMISS, () => {\n $(this._element).one(Event.MOUSEUP_DISMISS, (event) => {\n if ($(event.target).is(this._element)) {\n this._ignoreBackdropClick = true\n }\n })\n })\n\n this._showBackdrop()\n this._showElement(relatedTarget)\n }\n\n toggle(relatedTarget) {\n return this._isShown ? this.hide() : this.show(relatedTarget)\n }\n\n _enforceFocus() {\n $(document)\n .off(Event.FOCUSIN)\n .on(Event.FOCUSIN, (event) => {\n if (document !== event.target &&\n this._element !== event.target &&\n $(this._element).has(event.target).length === 0) {\n this._element.focus()\n }\n })\n }\n\n _getConfig(config) {\n config = {\n ...Default,\n ...config\n }\n\n Util.typeCheckConfig(NAME, config, DefaultType)\n\n return config\n }\n\n _hideNavdrawer() {\n this._element.style.display = 'none'\n\n this._element.setAttribute('aria-hidden', true)\n\n this._isTransitioning = false\n\n $(this._element).trigger(Event.HIDDEN)\n }\n\n _removeBackdrop() {\n if (this._backdrop) {\n $(this._backdrop).remove()\n this._backdrop = null\n }\n }\n\n _setEscapeEvent() {\n if (this._isShown && this._config.keyboard) {\n $(this._element).on(Event.KEYDOWN_DISMISS, (event) => {\n if (event.which === ESCAPE_KEYCODE) {\n event.preventDefault()\n\n this.hide()\n }\n })\n } else if (!this._isShown) {\n $(this._element).off(Event.KEYDOWN_DISMISS)\n }\n }\n\n _showBackdrop() {\n if (this._isShown) {\n this._backdrop = document.createElement('div')\n\n $(this._backdrop)\n .addClass(ClassName.BACKDROP)\n .addClass(`${ClassName.BACKDROP}-${this._config.type}${this._typeBreakpoint}`)\n .appendTo(document.body)\n\n $(this._element).on(Event.CLICK_DISMISS, (event) => {\n if (this._ignoreBackdropClick) {\n this._ignoreBackdropClick = false\n\n return\n }\n\n if (event.target !== event.currentTarget) {\n return\n }\n\n this.hide()\n })\n\n Util.reflow(this._backdrop)\n\n $(this._backdrop).addClass(ClassName.SHOW)\n } else if (!this._isShown && this._backdrop) {\n $(this._backdrop).removeClass(ClassName.SHOW)\n\n this._removeBackdrop()\n }\n }\n\n _showElement(relatedTarget) {\n if (!this._element.parentNode ||\n this._element.parentNode.nodeType !== Node.ELEMENT_NODE) {\n document.body.appendChild(this._element)\n }\n\n this._element.style.display = 'block'\n\n this._element.removeAttribute('aria-hidden')\n\n Util.reflow(this._element)\n\n $(document.body).addClass(`${ClassName.OPEN}-${this._config.type}${this._typeBreakpoint}`)\n\n $(this._element).addClass(ClassName.SHOW)\n\n this._enforceFocus()\n\n const shownEvent = $.Event(Event.SHOWN, {\n relatedTarget\n })\n\n const transitionComplete = () => {\n this._element.focus()\n\n this._isTransitioning = false\n\n $(this._element).trigger(shownEvent)\n }\n\n const transitionDuration = Util.getTransitionDurationFromElement(this._content)\n\n $(this._content)\n .one(Util.TRANSITION_END, transitionComplete)\n .emulateTransitionEnd(transitionDuration)\n }\n\n static get Default() {\n return Default\n }\n\n static _jQueryInterface(config, relatedTarget) {\n return this.each(function () {\n const _config = {\n ...Default,\n ...$(this).data(),\n ...typeof config === 'object' && config ? config : {}\n }\n\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = new NavDrawer(this, _config)\n\n $(this).data(DATA_KEY, data)\n }\n\n if (typeof config === 'string') {\n if (typeof data[config] === 'undefined') {\n throw new TypeError(`No method named \"${config}\"`)\n }\n\n data[config](relatedTarget)\n } else if (_config.show) {\n data.show(relatedTarget)\n }\n })\n }\n }\n\n $(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {\n const selector = Util.getSelectorFromElement(this)\n\n let target\n\n if (selector) {\n target = $(selector)[0]\n }\n\n const config = $(target).data(DATA_KEY) ? 'toggle' : {\n ...$(target).data(),\n ...$(this).data()\n }\n\n if (this.tagName === 'A' || this.tagName === 'AREA') {\n event.preventDefault()\n }\n\n const $target = $(target).one(Event.SHOW, (showEvent) => {\n if (showEvent.isDefaultPrevented()) {\n return\n }\n\n $target.one(Event.HIDDEN, () => {\n if ($(this).is(':visible')) {\n this.focus()\n }\n })\n })\n\n NavDrawer._jQueryInterface.call($(target), config, this)\n })\n\n $.fn[NAME] = NavDrawer._jQueryInterface\n $.fn[NAME].Constructor = NavDrawer\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = NO_CONFLICT\n\n return NavDrawer._jQueryInterface\n }\n\n return NavDrawer\n})($)\n\nexport default NavDrawer\n","/*!\n * pickadate.js v3.6.4, 2019/05/25\n * By Amsul, http://amsul.ca\n * Hosted on http://amsul.github.io/pickadate.js\n * Licensed under MIT\n */\n\n(function ( factory ) {\n\n // AMD.\n if ( typeof define == 'function' && define.amd )\n define( 'picker', ['jquery'], factory )\n\n // Node.js/browserify.\n else if ( typeof exports == 'object' )\n module.exports = factory( require('jquery') )\n\n // Browser globals.\n else if ( typeof window == 'object' )\n window.Picker = factory( jQuery )\n \n else this.Picker = factory( jQuery )\n\n}(function( $ ) {\n\nvar $window = $( window )\nvar $document = $( document )\nvar $html = $( document.documentElement )\nvar supportsTransitions = document.documentElement.style.transition != null\n\n\n/**\n * The picker constructor that creates a blank picker.\n */\nfunction PickerConstructor( ELEMENT, NAME, COMPONENT, OPTIONS ) {\n\n // If there’s no element, return the picker constructor.\n if ( !ELEMENT ) return PickerConstructor\n\n\n var\n IS_DEFAULT_THEME = false,\n\n\n // The state of the picker.\n STATE = {\n id: ELEMENT.id || 'P' + Math.abs( ~~(Math.random() * new Date()) ),\n handlingOpen: false,\n },\n\n\n // Merge the defaults and options passed.\n SETTINGS = COMPONENT ? $.extend( true, {}, COMPONENT.defaults, OPTIONS ) : OPTIONS || {},\n\n\n // Merge the default classes with the settings classes.\n CLASSES = $.extend( {}, PickerConstructor.klasses(), SETTINGS.klass ),\n\n\n // The element node wrapper into a jQuery object.\n $ELEMENT = $( ELEMENT ),\n\n\n // Pseudo picker constructor.\n PickerInstance = function() {\n return this.start()\n },\n\n\n // The picker prototype.\n P = PickerInstance.prototype = {\n\n constructor: PickerInstance,\n\n $node: $ELEMENT,\n\n\n /**\n * Initialize everything\n */\n start: function() {\n\n // If it’s already started, do nothing.\n if ( STATE && STATE.start ) return P\n\n\n // Update the picker states.\n STATE.methods = {}\n STATE.start = true\n STATE.open = false\n STATE.type = ELEMENT.type\n\n\n // Confirm focus state, convert into text input to remove UA stylings,\n // and set as readonly to prevent keyboard popup.\n ELEMENT.autofocus = ELEMENT == getActiveElement()\n ELEMENT.readOnly = !SETTINGS.editable\n ELEMENT.id = ELEMENT.id || STATE.id\n if ( ELEMENT.type != 'text' ) {\n ELEMENT.type = 'text'\n }\n\n\n // Create a new picker component with the settings.\n P.component = new COMPONENT(P, SETTINGS)\n\n\n // Create the picker root and then prepare it.\n P.$root = $( '
' )\n prepareElementRoot()\n\n\n // Create the picker holder and then prepare it.\n P.$holder = $( createWrappedComponent() ).appendTo( P.$root )\n prepareElementHolder()\n\n\n // If there’s a format for the hidden input element, create the element.\n if ( SETTINGS.formatSubmit ) {\n prepareElementHidden()\n }\n\n\n // Prepare the input element.\n prepareElement()\n\n\n // Insert the hidden input as specified in the settings.\n if ( SETTINGS.containerHidden ) $( SETTINGS.containerHidden ).append( P._hidden )\n else $ELEMENT.after( P._hidden )\n\n\n // Insert the root as specified in the settings.\n if ( SETTINGS.container ) $( SETTINGS.container ).append( P.$root )\n else $ELEMENT.after( P.$root )\n\n\n // Bind the default component and settings events.\n P.on({\n start: P.component.onStart,\n render: P.component.onRender,\n stop: P.component.onStop,\n open: P.component.onOpen,\n close: P.component.onClose,\n set: P.component.onSet\n }).on({\n start: SETTINGS.onStart,\n render: SETTINGS.onRender,\n stop: SETTINGS.onStop,\n open: SETTINGS.onOpen,\n close: SETTINGS.onClose,\n set: SETTINGS.onSet\n })\n\n\n // Once we’re all set, check the theme in use.\n IS_DEFAULT_THEME = isUsingDefaultTheme( P.$holder[0] )\n\n\n // If the element has autofocus, open the picker.\n if ( ELEMENT.autofocus ) {\n P.open()\n }\n\n\n // Trigger queued the “start” and “render” events.\n return P.trigger( 'start' ).trigger( 'render' )\n }, //start\n\n\n /**\n * Render a new picker\n */\n render: function( entireComponent ) {\n\n // Insert a new component holder in the root or box.\n if ( entireComponent ) {\n P.$holder = $( createWrappedComponent() )\n prepareElementHolder()\n P.$root.html( P.$holder )\n }\n else P.$root.find( '.' + CLASSES.box ).html( P.component.nodes( STATE.open ) )\n\n // Trigger the queued “render” events.\n return P.trigger( 'render' )\n }, //render\n\n\n /**\n * Destroy everything\n */\n stop: function() {\n\n // If it’s already stopped, do nothing.\n if ( !STATE.start ) return P\n\n // Then close the picker.\n P.close()\n\n // Remove the hidden field.\n if ( P._hidden ) {\n P._hidden.parentNode.removeChild( P._hidden )\n }\n\n // Remove the root.\n P.$root.remove()\n\n // Remove the input class, remove the stored data, and unbind\n // the events (after a tick for IE - see `P.close`).\n $ELEMENT.removeClass( CLASSES.input ).removeData( NAME )\n setTimeout( function() {\n $ELEMENT.off( '.' + STATE.id )\n }, 0)\n\n // Restore the element state\n ELEMENT.type = STATE.type\n ELEMENT.readOnly = false\n\n // Trigger the queued “stop” events.\n P.trigger( 'stop' )\n\n // Reset the picker states.\n STATE.methods = {}\n STATE.start = false\n\n return P\n }, //stop\n\n\n /**\n * Open up the picker\n */\n open: function( dontGiveFocus ) {\n\n // If it’s already open, do nothing.\n if ( STATE.open ) return P\n\n // Add the “active” class.\n $ELEMENT.addClass( CLASSES.active )\n aria( ELEMENT, 'expanded', true )\n\n // * A Firefox bug, when `html` has `overflow:hidden`, results in\n // killing transitions :(. So add the “opened” state on the next tick.\n // Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=625289\n setTimeout( function() {\n\n // Add the “opened” class to the picker root.\n P.$root.addClass( CLASSES.opened )\n aria( P.$root[0], 'hidden', false )\n\n }, 0 )\n\n // If we have to give focus, bind the element and doc events.\n if ( dontGiveFocus !== false ) {\n\n // Set it as open.\n STATE.open = true\n\n // Prevent the page from scrolling.\n if ( IS_DEFAULT_THEME ) {\n $('body').\n css( 'overflow', 'hidden' ).\n css( 'padding-right', '+=' + getScrollbarWidth() )\n }\n\n // Pass focus to the root element’s jQuery object.\n focusPickerOnceOpened()\n\n // Bind the document events.\n $document.on( 'click.' + STATE.id + ' focusin.' + STATE.id, function( event ) {\n // If the picker is currently midway through processing\n // the opening sequence of events then don't handle clicks\n // on any part of the DOM. This is caused by a bug in Chrome 73\n // where a click event is being generated with the incorrect\n // path in it.\n // In short, if someone does a click that finishes after the\n // new element is created then the path contains only the\n // parent element and not the input element itself.\n if (STATE.handlingOpen) {\n return;\n }\n\n var target = getRealEventTarget( event, ELEMENT )\n\n // If the target of the event is not the element, close the picker picker.\n // * Don’t worry about clicks or focusins on the root because those don’t bubble up.\n // Also, for Firefox, a click on an `option` element bubbles up directly\n // to the doc. So make sure the target wasn't the doc.\n // * In Firefox stopPropagation() doesn’t prevent right-click events from bubbling,\n // which causes the picker to unexpectedly close when right-clicking it. So make\n // sure the event wasn’t a right-click.\n // * In Chrome 62 and up, password autofill causes a simulated focusin event which\n // closes the picker.\n if ( ! event.isSimulated && target != ELEMENT && target != document && event.which != 3 ) {\n\n // If the target was the holder that covers the screen,\n // keep the element focused to maintain tabindex.\n P.close( target === P.$holder[0] )\n }\n\n }).on( 'keydown.' + STATE.id, function( event ) {\n\n var\n // Get the keycode.\n keycode = event.keyCode,\n\n // Translate that to a selection change.\n keycodeToMove = P.component.key[ keycode ],\n\n // Grab the target.\n target = getRealEventTarget( event, ELEMENT )\n\n\n // On escape, close the picker and give focus.\n if ( keycode == 27 ) {\n P.close( true )\n }\n\n\n // Check if there is a key movement or “enter” keypress on the element.\n else if ( target == P.$holder[0] && ( keycodeToMove || keycode == 13 ) ) {\n\n // Prevent the default action to stop page movement.\n event.preventDefault()\n\n // Trigger the key movement action.\n if ( keycodeToMove ) {\n PickerConstructor._.trigger( P.component.key.go, P, [ PickerConstructor._.trigger( keycodeToMove ) ] )\n }\n\n // On “enter”, if the highlighted item isn’t disabled, set the value and close.\n else if ( !P.$root.find( '.' + CLASSES.highlighted ).hasClass( CLASSES.disabled ) ) {\n P.set( 'select', P.component.item.highlight )\n if ( SETTINGS.closeOnSelect ) {\n P.close( true )\n }\n }\n }\n\n\n // If the target is within the root and “enter” is pressed,\n // prevent the default action and trigger a click on the target instead.\n else if ( $.contains( P.$root[0], target ) && keycode == 13 ) {\n event.preventDefault()\n target.click()\n }\n })\n }\n\n // Trigger the queued “open” events.\n return P.trigger( 'open' )\n }, //open\n\n\n /**\n * Close the picker\n */\n close: function( giveFocus ) {\n\n // If we need to give focus, do it before changing states.\n if ( giveFocus ) {\n if ( SETTINGS.editable ) {\n ELEMENT.focus()\n }\n else {\n // ....ah yes! It would’ve been incomplete without a crazy workaround for IE :|\n // The focus is triggered *after* the close has completed - causing it\n // to open again. So unbind and rebind the event at the next tick.\n P.$holder.off( 'focus.toOpen' ).focus()\n setTimeout( function() {\n P.$holder.on( 'focus.toOpen', handleFocusToOpenEvent )\n }, 0 )\n }\n }\n\n // Remove the “active” class.\n $ELEMENT.removeClass( CLASSES.active )\n aria( ELEMENT, 'expanded', false )\n\n // * A Firefox bug, when `html` has `overflow:hidden`, results in\n // killing transitions :(. So remove the “opened” state on the next tick.\n // Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=625289\n setTimeout( function() {\n\n // Remove the “opened” and “focused” class from the picker root.\n P.$root.removeClass( CLASSES.opened + ' ' + CLASSES.focused )\n aria( P.$root[0], 'hidden', true )\n\n }, 0 )\n\n // If it’s already closed, do nothing more.\n if ( !STATE.open ) return P\n\n // Set it as closed.\n STATE.open = false\n\n // Allow the page to scroll.\n if ( IS_DEFAULT_THEME ) {\n $('body').\n css( 'overflow', '' ).\n css( 'padding-right', '-=' + getScrollbarWidth() )\n }\n\n // Unbind the document events.\n $document.off( '.' + STATE.id )\n\n // Trigger the queued “close” events.\n return P.trigger( 'close' )\n }, //close\n\n\n /**\n * Clear the values\n */\n clear: function( options ) {\n return P.set( 'clear', null, options )\n }, //clear\n\n\n /**\n * Set something\n */\n set: function( thing, value, options ) {\n\n var thingItem, thingValue,\n thingIsObject = $.isPlainObject( thing ),\n thingObject = thingIsObject ? thing : {}\n\n // Make sure we have usable options.\n options = thingIsObject && $.isPlainObject( value ) ? value : options || {}\n\n if ( thing ) {\n\n // If the thing isn’t an object, make it one.\n if ( !thingIsObject ) {\n thingObject[ thing ] = value\n }\n\n // Go through the things of items to set.\n for ( thingItem in thingObject ) {\n\n // Grab the value of the thing.\n thingValue = thingObject[ thingItem ]\n\n // First, if the item exists and there’s a value, set it.\n if ( thingItem in P.component.item ) {\n if ( thingValue === undefined ) thingValue = null\n P.component.set( thingItem, thingValue, options )\n }\n\n // Then, check to update the element value and broadcast a change.\n if ( ( thingItem == 'select' || thingItem == 'clear' ) && SETTINGS.updateInput ) {\n $ELEMENT.\n val( thingItem == 'clear' ? '' : P.get( thingItem, SETTINGS.format ) ).\n trigger( 'change' )\n }\n }\n\n // Render a new picker.\n P.render()\n }\n\n // When the method isn’t muted, trigger queued “set” events and pass the `thingObject`.\n return options.muted ? P : P.trigger( 'set', thingObject )\n }, //set\n\n\n /**\n * Get something\n */\n get: function( thing, format ) {\n\n // Make sure there’s something to get.\n thing = thing || 'value'\n\n // If a picker state exists, return that.\n if ( STATE[ thing ] != null ) {\n return STATE[ thing ]\n }\n\n // Return the submission value, if that.\n if ( thing == 'valueSubmit' ) {\n if ( P._hidden ) {\n return P._hidden.value\n }\n thing = 'value'\n }\n\n // Return the value, if that.\n if ( thing == 'value' ) {\n return ELEMENT.value\n }\n\n // Check if a component item exists, return that.\n if ( thing in P.component.item ) {\n if ( typeof format == 'string' ) {\n var thingValue = P.component.get( thing )\n return thingValue ?\n PickerConstructor._.trigger(\n P.component.formats.toString,\n P.component,\n [ format, thingValue ]\n ) : ''\n }\n return P.component.get( thing )\n }\n }, //get\n\n\n\n /**\n * Bind events on the things.\n */\n on: function( thing, method, internal ) {\n\n var thingName, thingMethod,\n thingIsObject = $.isPlainObject( thing ),\n thingObject = thingIsObject ? thing : {}\n\n if ( thing ) {\n\n // If the thing isn’t an object, make it one.\n if ( !thingIsObject ) {\n thingObject[ thing ] = method\n }\n\n // Go through the things to bind to.\n for ( thingName in thingObject ) {\n\n // Grab the method of the thing.\n thingMethod = thingObject[ thingName ]\n\n // If it was an internal binding, prefix it.\n if ( internal ) {\n thingName = '_' + thingName\n }\n\n // Make sure the thing methods collection exists.\n STATE.methods[ thingName ] = STATE.methods[ thingName ] || []\n\n // Add the method to the relative method collection.\n STATE.methods[ thingName ].push( thingMethod )\n }\n }\n\n return P\n }, //on\n\n\n\n /**\n * Unbind events on the things.\n */\n off: function() {\n var i, thingName,\n names = arguments;\n for ( i = 0, namesCount = names.length; i < namesCount; i += 1 ) {\n thingName = names[i]\n if ( thingName in STATE.methods ) {\n delete STATE.methods[thingName]\n }\n }\n return P\n },\n\n\n /**\n * Fire off method events.\n */\n trigger: function( name, data ) {\n var _trigger = function( name ) {\n var methodList = STATE.methods[ name ]\n if ( methodList ) {\n methodList.map( function( method ) {\n PickerConstructor._.trigger( method, P, [ data ] )\n })\n }\n }\n _trigger( '_' + name )\n _trigger( name )\n return P\n } //trigger\n } //PickerInstance.prototype\n\n\n /**\n * Wrap the picker holder components together.\n */\n function createWrappedComponent() {\n\n // Create a picker wrapper holder\n return PickerConstructor._.node( 'div',\n\n // Create a picker wrapper node\n PickerConstructor._.node( 'div',\n\n // Create a picker frame\n PickerConstructor._.node( 'div',\n\n // Create a picker box node\n PickerConstructor._.node( 'div',\n\n // Create the components nodes.\n P.component.nodes( STATE.open ),\n\n // The picker box class\n CLASSES.box\n ),\n\n // Picker wrap class\n CLASSES.wrap\n ),\n\n // Picker frame class\n CLASSES.frame\n ),\n\n // Picker holder class\n CLASSES.holder,\n\n 'tabindex=\"-1\"'\n ) //endreturn\n } //createWrappedComponent\n\n /**\n * Prepare the input element with all bindings.\n */\n function prepareElement() {\n\n $ELEMENT.\n\n // Store the picker data by component name.\n data(NAME, P).\n\n // Add the “input” class name.\n addClass(CLASSES.input).\n\n // If there’s a `data-value`, update the value of the element.\n val( $ELEMENT.data('value') ?\n P.get('select', SETTINGS.format) :\n ELEMENT.value\n ).\n\n // On focus/click, open the picker.\n on( 'focus.' + STATE.id + ' click.' + STATE.id,\n function(event) {\n event.preventDefault()\n P.open()\n }\n )\n\n // Mousedown handler to capture when the user starts interacting\n // with the picker. This is used in working around a bug in Chrome 73.\n .on('mousedown', function() {\n STATE.handlingOpen = true;\n var handler = function() {\n // By default mouseup events are fired before a click event.\n // By using a timeout we can force the mouseup to be handled\n // after the corresponding click event is handled.\n setTimeout(function() {\n $(document).off('mouseup', handler);\n STATE.handlingOpen = false;\n }, 0);\n };\n $(document).on('mouseup', handler);\n });\n\n\n // Only bind keydown events if the element isn’t editable.\n if ( !SETTINGS.editable ) {\n\n $ELEMENT.\n\n // Handle keyboard event based on the picker being opened or not.\n on( 'keydown.' + STATE.id, handleKeydownEvent )\n }\n\n\n // Update the aria attributes.\n aria(ELEMENT, {\n haspopup: true,\n expanded: false,\n readonly: false,\n owns: ELEMENT.id + '_root'\n })\n }\n\n\n /**\n * Prepare the root picker element with all bindings.\n */\n function prepareElementRoot() {\n aria( P.$root[0], 'hidden', true )\n }\n\n\n /**\n * Prepare the holder picker element with all bindings.\n */\n function prepareElementHolder() {\n\n P.$holder.\n\n on({\n\n // For iOS8.\n keydown: handleKeydownEvent,\n\n 'focus.toOpen': handleFocusToOpenEvent,\n\n blur: function() {\n // Remove the “target” class.\n $ELEMENT.removeClass( CLASSES.target )\n },\n\n // When something within the holder is focused, stop from bubbling\n // to the doc and remove the “focused” state from the root.\n focusin: function( event ) {\n P.$root.removeClass( CLASSES.focused )\n event.stopPropagation()\n },\n\n // When something within the holder is clicked, stop it\n // from bubbling to the doc.\n 'mousedown click': function( event ) {\n\n var target = getRealEventTarget( event, ELEMENT )\n\n // Make sure the target isn’t the root holder so it can bubble up.\n if ( target != P.$holder[0] ) {\n\n event.stopPropagation()\n\n // * For mousedown events, cancel the default action in order to\n // prevent cases where focus is shifted onto external elements\n // when using things like jQuery mobile or MagnificPopup (ref: #249 & #120).\n // Also, for Firefox, don’t prevent action on the `option` element.\n if ( event.type == 'mousedown' && !$( target ).is( 'input, select, textarea, button, option' )) {\n\n event.preventDefault()\n\n // Re-focus onto the holder so that users can click away\n // from elements focused within the picker.\n P.$holder.eq(0).focus()\n }\n }\n }\n\n }).\n\n // If there’s a click on an actionable element, carry out the actions.\n on( 'click', '[data-pick], [data-nav], [data-clear], [data-close]', function() {\n\n var $target = $( this ),\n targetData = $target.data(),\n targetDisabled = $target.hasClass( CLASSES.navDisabled ) || $target.hasClass( CLASSES.disabled ),\n\n // * For IE, non-focusable elements can be active elements as well\n // (http://stackoverflow.com/a/2684561).\n activeElement = getActiveElement()\n activeElement = activeElement && ( (activeElement.type || activeElement.href ) ? activeElement : null);\n\n // If it’s disabled or nothing inside is actively focused, re-focus the element.\n if ( targetDisabled || activeElement && !$.contains( P.$root[0], activeElement ) ) {\n P.$holder.eq(0).focus()\n }\n\n // If something is superficially changed, update the `highlight` based on the `nav`.\n if ( !targetDisabled && targetData.nav ) {\n P.set( 'highlight', P.component.item.highlight, { nav: targetData.nav } )\n }\n\n // If something is picked, set `select` then close with focus.\n else if ( !targetDisabled && 'pick' in targetData ) {\n P.set( 'select', targetData.pick )\n if ( SETTINGS.closeOnSelect ) {\n P.close( true )\n }\n }\n\n // If a “clear” button is pressed, empty the values and close with focus.\n else if ( targetData.clear ) {\n P.clear()\n if ( SETTINGS.closeOnClear ) {\n P.close( true )\n }\n }\n\n else if ( targetData.close ) {\n P.close( true )\n }\n\n }) //P.$holder\n\n }\n\n\n /**\n * Prepare the hidden input element along with all bindings.\n */\n function prepareElementHidden() {\n\n var name\n\n if ( SETTINGS.hiddenName === true ) {\n name = ELEMENT.name\n ELEMENT.name = ''\n }\n else {\n name = [\n typeof SETTINGS.hiddenPrefix == 'string' ? SETTINGS.hiddenPrefix : '',\n typeof SETTINGS.hiddenSuffix == 'string' ? SETTINGS.hiddenSuffix : '_submit'\n ]\n name = name[0] + ELEMENT.name + name[1]\n }\n\n P._hidden = $(\n ''\n )[0]\n\n $ELEMENT.\n\n // If the value changes, update the hidden input with the correct format.\n on('change.' + STATE.id, function() {\n P._hidden.value = ELEMENT.value ?\n P.get('select', SETTINGS.formatSubmit) :\n ''\n })\n }\n\n\n // Wait for transitions to end before focusing the holder. Otherwise, while\n // using the `container` option, the view jumps to the container.\n function focusPickerOnceOpened() {\n\n if (IS_DEFAULT_THEME && supportsTransitions) {\n P.$holder.find('.' + CLASSES.frame).one('transitionend', function() {\n P.$holder.eq(0).focus()\n })\n }\n else {\n setTimeout(function() {\n P.$holder.eq(0).focus()\n }, 0)\n }\n }\n\n\n function handleFocusToOpenEvent(event) {\n\n // Stop the event from propagating to the doc.\n event.stopPropagation()\n\n // Add the “target” class.\n $ELEMENT.addClass( CLASSES.target )\n\n // Add the “focused” class to the root.\n P.$root.addClass( CLASSES.focused )\n\n // And then finally open the picker.\n P.open()\n }\n\n\n // For iOS8.\n function handleKeydownEvent( event ) {\n\n var keycode = event.keyCode,\n\n // Check if one of the delete keys was pressed.\n isKeycodeDelete = /^(8|46)$/.test(keycode)\n\n // For some reason IE clears the input value on “escape”.\n if ( keycode == 27 ) {\n P.close( true )\n return false\n }\n\n // Check if `space` or `delete` was pressed or the picker is closed with a key movement.\n if ( keycode == 32 || isKeycodeDelete || !STATE.open && P.component.key[keycode] ) {\n\n // Prevent it from moving the page and bubbling to doc.\n event.preventDefault()\n event.stopPropagation()\n\n // If `delete` was pressed, clear the values and close the picker.\n // Otherwise open the picker.\n if ( isKeycodeDelete ) { P.clear().close() }\n else { P.open() }\n }\n }\n\n\n // Return a new picker instance.\n return new PickerInstance()\n} //PickerConstructor\n\n\n\n/**\n * The default classes and prefix to use for the HTML classes.\n */\nPickerConstructor.klasses = function( prefix ) {\n prefix = prefix || 'picker'\n return {\n\n picker: prefix,\n opened: prefix + '--opened',\n focused: prefix + '--focused',\n\n input: prefix + '__input',\n active: prefix + '__input--active',\n target: prefix + '__input--target',\n\n holder: prefix + '__holder',\n\n frame: prefix + '__frame',\n wrap: prefix + '__wrap',\n\n box: prefix + '__box'\n }\n} //PickerConstructor.klasses\n\n\n\n/**\n * Check if the default theme is being used.\n */\nfunction isUsingDefaultTheme( element ) {\n\n var theme,\n prop = 'position'\n\n // For IE.\n if ( element.currentStyle ) {\n theme = element.currentStyle[prop]\n }\n\n // For normal browsers.\n else if ( window.getComputedStyle ) {\n theme = getComputedStyle( element )[prop]\n }\n\n return theme == 'fixed'\n}\n\n\n\n/**\n * Get the width of the browser’s scrollbar.\n * Taken from: https://github.com/VodkaBears/Remodal/blob/master/src/jquery.remodal.js\n */\nfunction getScrollbarWidth() {\n\n if ( $html.height() <= $window.height() ) {\n return 0\n }\n\n var $outer = $( '
' ).\n appendTo( 'body' )\n\n // Get the width without scrollbars.\n var widthWithoutScroll = $outer[0].offsetWidth\n\n // Force adding scrollbars.\n $outer.css( 'overflow', 'scroll' )\n\n // Add the inner div.\n var $inner = $( '
' ).appendTo( $outer )\n\n // Get the width with scrollbars.\n var widthWithScroll = $inner[0].offsetWidth\n\n // Remove the divs.\n $outer.remove()\n\n // Return the difference between the widths.\n return widthWithoutScroll - widthWithScroll\n}\n\n\n\n/**\n * Get the target element from the event.\n * If ELEMENT is supplied and present in the event path (ELEMENT is ancestor of the target),\n * returns ELEMENT instead\n */\nfunction getRealEventTarget( event, ELEMENT ) {\n\n var path = []\n\n if ( event.path ) {\n path = event.path\n }\n\n if ( event.originalEvent && event.originalEvent.path ) {\n path = event.originalEvent.path\n }\n\n if ( path && path.length > 0 ) {\n if ( ELEMENT && path.indexOf( ELEMENT ) >= 0 ) {\n return ELEMENT\n } else {\n return path[0]\n }\n }\n\n return event.target\n}\n\n/**\n * PickerConstructor helper methods.\n */\nPickerConstructor._ = {\n\n /**\n * Create a group of nodes. Expects:\n * `\n {\n min: {Integer},\n max: {Integer},\n i: {Integer},\n node: {String},\n item: {Function}\n }\n * `\n */\n group: function( groupObject ) {\n\n var\n // Scope for the looped object\n loopObjectScope,\n\n // Create the nodes list\n nodesList = '',\n\n // The counter starts from the `min`\n counter = PickerConstructor._.trigger( groupObject.min, groupObject )\n\n\n // Loop from the `min` to `max`, incrementing by `i`\n for ( ; counter <= PickerConstructor._.trigger( groupObject.max, groupObject, [ counter ] ); counter += groupObject.i ) {\n\n // Trigger the `item` function within scope of the object\n loopObjectScope = PickerConstructor._.trigger( groupObject.item, groupObject, [ counter ] )\n\n // Splice the subgroup and create nodes out of the sub nodes\n nodesList += PickerConstructor._.node(\n groupObject.node,\n loopObjectScope[ 0 ], // the node\n loopObjectScope[ 1 ], // the classes\n loopObjectScope[ 2 ] // the attributes\n )\n }\n\n // Return the list of nodes\n return nodesList\n }, //group\n\n\n /**\n * Create a dom node string\n */\n node: function( wrapper, item, klass, attribute ) {\n\n // If the item is false-y, just return an empty string\n if ( !item ) return ''\n\n // If the item is an array, do a join\n item = $.isArray( item ) ? item.join( '' ) : item\n\n // Check for the class\n klass = klass ? ' class=\"' + klass + '\"' : ''\n\n // Check for any attributes\n attribute = attribute ? ' ' + attribute : ''\n\n // Return the wrapped item\n return '<' + wrapper + klass + attribute + '>' + item + ''\n }, //node\n\n\n /**\n * Lead numbers below 10 with a zero.\n */\n lead: function( number ) {\n return ( number < 10 ? '0': '' ) + number\n },\n\n\n /**\n * Trigger a function otherwise return the value.\n */\n trigger: function( callback, scope, args ) {\n return typeof callback == 'function' ? callback.apply( scope, args || [] ) : callback\n },\n\n\n /**\n * If the second character is a digit, length is 2 otherwise 1.\n */\n digits: function( string ) {\n return ( /\\d/ ).test( string[ 1 ] ) ? 2 : 1\n },\n\n\n /**\n * Tell if something is a date object.\n */\n isDate: function( value ) {\n return {}.toString.call( value ).indexOf( 'Date' ) > -1 && this.isInteger( value.getDate() )\n },\n\n\n /**\n * Tell if something is an integer.\n */\n isInteger: function( value ) {\n return {}.toString.call( value ).indexOf( 'Number' ) > -1 && value % 1 === 0\n },\n\n\n /**\n * Create ARIA attribute strings.\n */\n ariaAttr: ariaAttr\n} //PickerConstructor._\n\n\n\n/**\n * Extend the picker with a component and defaults.\n */\nPickerConstructor.extend = function( name, Component ) {\n\n // Extend jQuery.\n $.fn[ name ] = function( options, action ) {\n\n // Grab the component data.\n var componentData = this.data( name )\n\n // If the picker is requested, return the data object.\n if ( options == 'picker' ) {\n return componentData\n }\n\n // If the component data exists and `options` is a string, carry out the action.\n if ( componentData && typeof options == 'string' ) {\n return PickerConstructor._.trigger( componentData[ options ], componentData, [ action ] )\n }\n\n // Otherwise go through each matched element and if the component\n // doesn’t exist, create a new picker using `this` element\n // and merging the defaults and options with a deep copy.\n return this.each( function() {\n var $this = $( this )\n if ( !$this.data( name ) ) {\n new PickerConstructor( this, name, Component, options )\n }\n })\n }\n\n // Set the defaults.\n $.fn[ name ].defaults = Component.defaults\n} //PickerConstructor.extend\n\n\n\nfunction aria(element, attribute, value) {\n if ( $.isPlainObject(attribute) ) {\n for ( var key in attribute ) {\n ariaSet(element, key, attribute[key])\n }\n }\n else {\n ariaSet(element, attribute, value)\n }\n}\nfunction ariaSet(element, attribute, value) {\n element.setAttribute(\n (attribute == 'role' ? '' : 'aria-') + attribute,\n value\n )\n}\nfunction ariaAttr(attribute, data) {\n if ( !$.isPlainObject(attribute) ) {\n attribute = { attribute: data }\n }\n data = ''\n for ( var key in attribute ) {\n var attr = (key == 'role' ? '' : 'aria-') + key,\n attrVal = attribute[key]\n data += attrVal == null ? '' : attr + '=\"' + attribute[key] + '\"'\n }\n return data\n}\n\n// IE8 bug throws an error for activeElements within iframes.\nfunction getActiveElement() {\n try {\n return document.activeElement\n } catch ( err ) { }\n}\n\n\n\n// Expose the picker constructor.\nreturn PickerConstructor\n\n\n}));\n","/*!\n * Date picker for pickadate.js v3.6.4\n * http://amsul.github.io/pickadate.js/date.htm\n */\n\n(function ( factory ) {\n\n // AMD.\n if ( typeof define == 'function' && define.amd )\n define( ['./picker', 'jquery'], factory )\n\n // Node.js/browserify.\n else if ( typeof exports == 'object' )\n module.exports = factory( require('./picker.js'), require('jquery') )\n\n // Browser globals.\n else factory( Picker, jQuery )\n\n}(function( Picker, $ ) {\n\n\n/**\n * Globals and constants\n */\nvar DAYS_IN_WEEK = 7,\n WEEKS_IN_CALENDAR = 6,\n _ = Picker._\n\n\n\n/**\n * The date picker constructor\n */\nfunction DatePicker( picker, settings ) {\n\n var calendar = this,\n element = picker.$node[ 0 ],\n elementValue = element.value,\n elementDataValue = picker.$node.data( 'value' ),\n valueString = elementDataValue || elementValue,\n formatString = elementDataValue ? settings.formatSubmit : settings.format,\n isRTL = function() {\n\n return element.currentStyle ?\n\n // For IE.\n element.currentStyle.direction == 'rtl' :\n\n // For normal browsers.\n getComputedStyle( picker.$root[0] ).direction == 'rtl'\n }\n\n calendar.settings = settings\n calendar.$node = picker.$node\n\n // The queue of methods that will be used to build item objects.\n calendar.queue = {\n min: 'measure create',\n max: 'measure create',\n now: 'now create',\n select: 'parse create validate',\n highlight: 'parse navigate create validate',\n view: 'parse create validate viewset',\n disable: 'deactivate',\n enable: 'activate'\n }\n\n // The component's item object.\n calendar.item = {}\n\n calendar.item.clear = null\n calendar.item.disable = ( settings.disable || [] ).slice( 0 )\n calendar.item.enable = -(function( collectionDisabled ) {\n return collectionDisabled[ 0 ] === true ? collectionDisabled.shift() : -1\n })( calendar.item.disable )\n\n calendar.\n set( 'min', settings.min ).\n set( 'max', settings.max ).\n set( 'now' )\n\n // When there’s a value, set the `select`, which in turn\n // also sets the `highlight` and `view`.\n if ( valueString ) {\n calendar.set( 'select', valueString, {\n format: formatString,\n defaultValue: true\n })\n }\n\n // If there’s no value, default to highlighting “today”.\n else {\n calendar.\n set( 'select', null ).\n set( 'highlight', calendar.item.now )\n }\n\n\n // The keycode to movement mapping.\n calendar.key = {\n 40: 7, // Down\n 38: -7, // Up\n 39: function() { return isRTL() ? -1 : 1 }, // Right\n 37: function() { return isRTL() ? 1 : -1 }, // Left\n go: function( timeChange ) {\n var highlightedObject = calendar.item.highlight,\n targetDate = new Date( highlightedObject.year, highlightedObject.month, highlightedObject.date + timeChange )\n calendar.set(\n 'highlight',\n targetDate,\n { interval: timeChange }\n )\n this.render()\n }\n }\n\n\n // Bind some picker events.\n picker.\n on( 'render', function() {\n picker.$root.find( '.' + settings.klass.selectMonth ).on( 'change', function() {\n var value = this.value\n if ( value ) {\n picker.set( 'highlight', [ picker.get( 'view' ).year, value, picker.get( 'highlight' ).date ] )\n picker.$root.find( '.' + settings.klass.selectMonth ).trigger( 'focus' )\n }\n })\n picker.$root.find( '.' + settings.klass.selectYear ).on( 'change', function() {\n var value = this.value\n if ( value ) {\n picker.set( 'highlight', [ value, picker.get( 'view' ).month, picker.get( 'highlight' ).date ] )\n picker.$root.find( '.' + settings.klass.selectYear ).trigger( 'focus' )\n }\n })\n }, 1 ).\n on( 'open', function() {\n var includeToday = ''\n if ( calendar.disabled( calendar.get('now') ) ) {\n includeToday = ':not(.' + settings.klass.buttonToday + ')'\n }\n picker.$root.find( 'button' + includeToday + ', select' ).attr( 'disabled', false )\n }, 1 ).\n on( 'close', function() {\n picker.$root.find( 'button, select' ).attr( 'disabled', true )\n }, 1 )\n\n} //DatePicker\n\n\n/**\n * Set a datepicker item object.\n */\nDatePicker.prototype.set = function( type, value, options ) {\n\n var calendar = this,\n calendarItem = calendar.item\n\n // If the value is `null` just set it immediately.\n if ( value === null ) {\n if ( type == 'clear' ) type = 'select'\n calendarItem[ type ] = value\n return calendar\n }\n\n // Otherwise go through the queue of methods, and invoke the functions.\n // Update this as the time unit, and set the final value as this item.\n // * In the case of `enable`, keep the queue but set `disable` instead.\n // And in the case of `flip`, keep the queue but set `enable` instead.\n calendarItem[ ( type == 'enable' ? 'disable' : type == 'flip' ? 'enable' : type ) ] = calendar.queue[ type ].split( ' ' ).map( function( method ) {\n value = calendar[ method ]( type, value, options )\n return value\n }).pop()\n\n // Check if we need to cascade through more updates.\n if ( type == 'select' ) {\n calendar.set( 'highlight', calendarItem.select, options )\n }\n else if ( type == 'highlight' ) {\n calendar.set( 'view', calendarItem.highlight, options )\n }\n else if ( type.match( /^(flip|min|max|disable|enable)$/ ) ) {\n if ( calendarItem.select && calendar.disabled( calendarItem.select ) ) {\n calendar.set( 'select', calendarItem.select, options )\n }\n if ( calendarItem.highlight && calendar.disabled( calendarItem.highlight ) ) {\n calendar.set( 'highlight', calendarItem.highlight, options )\n }\n }\n\n return calendar\n} //DatePicker.prototype.set\n\n\n/**\n * Get a datepicker item object.\n */\nDatePicker.prototype.get = function( type ) {\n return this.item[ type ]\n} //DatePicker.prototype.get\n\n\n/**\n * Create a picker date object.\n */\nDatePicker.prototype.create = function( type, value, options ) {\n\n var isInfiniteValue,\n calendar = this\n\n // If there’s no value, use the type as the value.\n value = value === undefined ? type : value\n\n\n // If it’s infinity, update the value.\n if ( value == -Infinity || value == Infinity ) {\n isInfiniteValue = value\n }\n\n // If it’s an object, use the native date object.\n else if ( $.isPlainObject( value ) && _.isInteger( value.pick ) ) {\n value = value.obj\n }\n\n // If it’s an array, convert it into a date and make sure\n // that it’s a valid date – otherwise default to today.\n else if ( $.isArray( value ) ) {\n value = new Date( value[ 0 ], value[ 1 ], value[ 2 ] )\n value = _.isDate( value ) ? value : calendar.create().obj\n }\n\n // If it’s a number or date object, make a normalized date.\n else if ( _.isInteger( value ) || _.isDate( value ) ) {\n value = calendar.normalize( new Date( value ), options )\n }\n\n // If it’s a literal true or any other case, set it to now.\n else /*if ( value === true )*/ {\n value = calendar.now( type, value, options )\n }\n\n // Return the compiled object.\n return {\n year: isInfiniteValue || value.getFullYear(),\n month: isInfiniteValue || value.getMonth(),\n date: isInfiniteValue || value.getDate(),\n day: isInfiniteValue || value.getDay(),\n obj: isInfiniteValue || value,\n pick: isInfiniteValue || value.getTime()\n }\n} //DatePicker.prototype.create\n\n\n/**\n * Create a range limit object using an array, date object,\n * literal “true”, or integer relative to another time.\n */\nDatePicker.prototype.createRange = function( from, to ) {\n\n var calendar = this,\n createDate = function( date ) {\n if ( date === true || $.isArray( date ) || _.isDate( date ) ) {\n return calendar.create( date )\n }\n return date\n }\n\n // Create objects if possible.\n if ( !_.isInteger( from ) ) {\n from = createDate( from )\n }\n if ( !_.isInteger( to ) ) {\n to = createDate( to )\n }\n\n // Create relative dates.\n if ( _.isInteger( from ) && $.isPlainObject( to ) ) {\n from = [ to.year, to.month, to.date + from ];\n }\n else if ( _.isInteger( to ) && $.isPlainObject( from ) ) {\n to = [ from.year, from.month, from.date + to ];\n }\n\n return {\n from: createDate( from ),\n to: createDate( to )\n }\n} //DatePicker.prototype.createRange\n\n\n/**\n * Check if a date unit falls within a date range object.\n */\nDatePicker.prototype.withinRange = function( range, dateUnit ) {\n range = this.createRange(range.from, range.to)\n return dateUnit.pick >= range.from.pick && dateUnit.pick <= range.to.pick\n}\n\n\n/**\n * Check if two date range objects overlap.\n */\nDatePicker.prototype.overlapRanges = function( one, two ) {\n\n var calendar = this\n\n // Convert the ranges into comparable dates.\n one = calendar.createRange( one.from, one.to )\n two = calendar.createRange( two.from, two.to )\n\n return calendar.withinRange( one, two.from ) || calendar.withinRange( one, two.to ) ||\n calendar.withinRange( two, one.from ) || calendar.withinRange( two, one.to )\n}\n\n\n/**\n * Get the date today.\n */\nDatePicker.prototype.now = function( type, value, options ) {\n value = new Date()\n if ( options && options.rel ) {\n value.setDate( value.getDate() + options.rel )\n }\n return this.normalize( value, options )\n}\n\n\n/**\n * Navigate to next/prev month.\n */\nDatePicker.prototype.navigate = function( type, value, options ) {\n\n var targetDateObject,\n targetYear,\n targetMonth,\n targetDate,\n isTargetArray = $.isArray( value ),\n isTargetObject = $.isPlainObject( value ),\n viewsetObject = this.item.view/*,\n safety = 100*/\n\n\n if ( isTargetArray || isTargetObject ) {\n\n if ( isTargetObject ) {\n targetYear = value.year\n targetMonth = value.month\n targetDate = value.date\n }\n else {\n targetYear = +value[0]\n targetMonth = +value[1]\n targetDate = +value[2]\n }\n\n // If we’re navigating months but the view is in a different\n // month, navigate to the view’s year and month.\n if ( options && options.nav && viewsetObject && viewsetObject.month !== targetMonth ) {\n targetYear = viewsetObject.year\n targetMonth = viewsetObject.month\n }\n\n // Figure out the expected target year and month.\n targetDateObject = new Date( targetYear, targetMonth + ( options && options.nav ? options.nav : 0 ), 1 )\n targetYear = targetDateObject.getFullYear()\n targetMonth = targetDateObject.getMonth()\n\n // If the month we’re going to doesn’t have enough days,\n // keep decreasing the date until we reach the month’s last date.\n while ( /*safety &&*/ new Date( targetYear, targetMonth, targetDate ).getMonth() !== targetMonth ) {\n targetDate -= 1\n /*safety -= 1\n if ( !safety ) {\n throw 'Fell into an infinite loop while navigating to ' + new Date( targetYear, targetMonth, targetDate ) + '.'\n }*/\n }\n\n value = [ targetYear, targetMonth, targetDate ]\n }\n\n return value\n} //DatePicker.prototype.navigate\n\n\n/**\n * Normalize a date by setting the hours to midnight.\n */\nDatePicker.prototype.normalize = function( value/*, options*/ ) {\n value.setHours( 0, 0, 0, 0 )\n return value\n}\n\n\n/**\n * Measure the range of dates.\n */\nDatePicker.prototype.measure = function( type, value/*, options*/ ) {\n\n var calendar = this\n \n // If it's an integer, get a date relative to today.\n if ( _.isInteger( value ) ) {\n value = calendar.now( type, value, { rel: value } )\n }\n\n // If it’s anything false-y, remove the limits.\n else if ( !value ) {\n value = type == 'min' ? -Infinity : Infinity\n }\n\n // If it’s a string, parse it.\n else if ( typeof value == 'string' ) {\n value = calendar.parse( type, value )\n }\n\n return value\n} ///DatePicker.prototype.measure\n\n\n/**\n * Create a viewset object based on navigation.\n */\nDatePicker.prototype.viewset = function( type, dateObject/*, options*/ ) {\n return this.create([ dateObject.year, dateObject.month, 1 ])\n}\n\n\n/**\n * Validate a date as enabled and shift if needed.\n */\nDatePicker.prototype.validate = function( type, dateObject, options ) {\n\n var calendar = this,\n\n // Keep a reference to the original date.\n originalDateObject = dateObject,\n\n // Make sure we have an interval.\n interval = options && options.interval ? options.interval : 1,\n\n // Check if the calendar enabled dates are inverted.\n isFlippedBase = calendar.item.enable === -1,\n\n // Check if we have any enabled dates after/before now.\n hasEnabledBeforeTarget, hasEnabledAfterTarget,\n\n // The min & max limits.\n minLimitObject = calendar.item.min,\n maxLimitObject = calendar.item.max,\n\n // Check if we’ve reached the limit during shifting.\n reachedMin, reachedMax,\n\n // Check if the calendar is inverted and at least one weekday is enabled.\n hasEnabledWeekdays = isFlippedBase && calendar.item.disable.filter( function( value ) {\n\n // If there’s a date, check where it is relative to the target.\n if ( $.isArray( value ) ) {\n var dateTime = calendar.create( value ).pick\n if ( dateTime < dateObject.pick ) hasEnabledBeforeTarget = true\n else if ( dateTime > dateObject.pick ) hasEnabledAfterTarget = true\n }\n\n // Return only integers for enabled weekdays.\n return _.isInteger( value )\n }).length/*,\n\n safety = 100*/\n\n\n\n // Cases to validate for:\n // [1] Not inverted and date disabled.\n // [2] Inverted and some dates enabled.\n // [3] Not inverted and out of range.\n //\n // Cases to **not** validate for:\n // • Navigating months.\n // • Not inverted and date enabled.\n // • Inverted and all dates disabled.\n // • ..and anything else.\n if ( !options || (!options.nav && !options.defaultValue) ) if (\n /* 1 */ ( !isFlippedBase && calendar.disabled( dateObject ) ) ||\n /* 2 */ ( isFlippedBase && calendar.disabled( dateObject ) && ( hasEnabledWeekdays || hasEnabledBeforeTarget || hasEnabledAfterTarget ) ) ||\n /* 3 */ ( !isFlippedBase && (dateObject.pick <= minLimitObject.pick || dateObject.pick >= maxLimitObject.pick) )\n ) {\n\n\n // When inverted, flip the direction if there aren’t any enabled weekdays\n // and there are no enabled dates in the direction of the interval.\n if ( isFlippedBase && !hasEnabledWeekdays && ( ( !hasEnabledAfterTarget && interval > 0 ) || ( !hasEnabledBeforeTarget && interval < 0 ) ) ) {\n interval *= -1\n }\n\n\n // Keep looping until we reach an enabled date.\n while ( /*safety &&*/ calendar.disabled( dateObject ) ) {\n\n /*safety -= 1\n if ( !safety ) {\n throw 'Fell into an infinite loop while validating ' + dateObject.obj + '.'\n }*/\n\n\n // If we’ve looped into the next/prev month with a large interval, return to the original date and flatten the interval.\n if ( Math.abs( interval ) > 1 && ( dateObject.month < originalDateObject.month || dateObject.month > originalDateObject.month ) ) {\n dateObject = originalDateObject\n interval = interval > 0 ? 1 : -1\n }\n\n\n // If we’ve reached the min/max limit, reverse the direction, flatten the interval and set it to the limit.\n if ( dateObject.pick <= minLimitObject.pick ) {\n reachedMin = true\n interval = 1\n dateObject = calendar.create([\n minLimitObject.year,\n minLimitObject.month,\n minLimitObject.date + (dateObject.pick === minLimitObject.pick ? 0 : -1)\n ])\n }\n else if ( dateObject.pick >= maxLimitObject.pick ) {\n reachedMax = true\n interval = -1\n dateObject = calendar.create([\n maxLimitObject.year,\n maxLimitObject.month,\n maxLimitObject.date + (dateObject.pick === maxLimitObject.pick ? 0 : 1)\n ])\n }\n\n\n // If we’ve reached both limits, just break out of the loop.\n if ( reachedMin && reachedMax ) {\n break\n }\n\n\n // Finally, create the shifted date using the interval and keep looping.\n dateObject = calendar.create([ dateObject.year, dateObject.month, dateObject.date + interval ])\n }\n\n } //endif\n\n\n // Return the date object settled on.\n return dateObject\n} //DatePicker.prototype.validate\n\n\n/**\n * Check if a date is disabled.\n */\nDatePicker.prototype.disabled = function( dateToVerify ) {\n\n var\n calendar = this,\n\n // Filter through the disabled dates to check if this is one.\n isDisabledMatch = calendar.item.disable.filter( function( dateToDisable ) {\n\n // If the date is a number, match the weekday with 0index and `firstDay` check.\n if ( _.isInteger( dateToDisable ) ) {\n return dateToVerify.day === ( calendar.settings.firstDay ? dateToDisable : dateToDisable - 1 ) % 7\n }\n\n // If it’s an array or a native JS date, create and match the exact date.\n if ( $.isArray( dateToDisable ) || _.isDate( dateToDisable ) ) {\n return dateToVerify.pick === calendar.create( dateToDisable ).pick\n }\n\n // If it’s an object, match a date within the “from” and “to” range.\n if ( $.isPlainObject( dateToDisable ) ) {\n return calendar.withinRange( dateToDisable, dateToVerify )\n }\n })\n\n // If this date matches a disabled date, confirm it’s not inverted.\n isDisabledMatch = isDisabledMatch.length && !isDisabledMatch.filter(function( dateToDisable ) {\n return $.isArray( dateToDisable ) && dateToDisable[3] == 'inverted' ||\n $.isPlainObject( dateToDisable ) && dateToDisable.inverted\n }).length\n\n // Check the calendar “enabled” flag and respectively flip the\n // disabled state. Then also check if it’s beyond the min/max limits.\n return calendar.item.enable === -1 ? !isDisabledMatch : isDisabledMatch ||\n dateToVerify.pick < calendar.item.min.pick ||\n dateToVerify.pick > calendar.item.max.pick\n\n} //DatePicker.prototype.disabled\n\n\n/**\n * Parse a string into a usable type.\n */\nDatePicker.prototype.parse = function( type, value, options ) {\n\n var calendar = this,\n parsingObject = {}\n\n // If it’s already parsed, we’re good.\n if ( !value || typeof value != 'string' ) {\n return value\n }\n\n // We need a `.format` to parse the value with.\n if ( !( options && options.format ) ) {\n options = options || {}\n options.format = calendar.settings.format\n }\n\n // Convert the format into an array and then map through it.\n calendar.formats.toArray( options.format ).map( function( label ) {\n\n var\n // Grab the formatting label.\n formattingLabel = calendar.formats[ label ],\n\n // The format length is from the formatting label function or the\n // label length without the escaping exclamation (!) mark.\n formatLength = formattingLabel ? _.trigger( formattingLabel, calendar, [ value, parsingObject ] ) : label.replace( /^!/, '' ).length\n\n // If there's a format label, split the value up to the format length.\n // Then add it to the parsing object with appropriate label.\n if ( formattingLabel ) {\n parsingObject[ label ] = value.substr( 0, formatLength )\n }\n\n // Update the value as the substring from format length to end.\n value = value.substr( formatLength )\n })\n\n // Compensate for month 0index.\n return [\n parsingObject.yyyy || parsingObject.yy,\n +( parsingObject.mm || parsingObject.m ) - 1,\n parsingObject.dd || parsingObject.d\n ]\n} //DatePicker.prototype.parse\n\n\n/**\n * Various formats to display the object in.\n */\nDatePicker.prototype.formats = (function() {\n\n // Return the length of the first word in a collection.\n function getWordLengthFromCollection( string, collection, dateObject ) {\n\n // Grab the first word from the string.\n // Regex pattern from http://stackoverflow.com/q/150033\n var word = string.match( /[^\\x00-\\x7F]+|\\w+/ )[ 0 ]\n\n // If there's no month index, add it to the date object\n if ( !dateObject.mm && !dateObject.m ) {\n dateObject.m = collection.indexOf( word ) + 1\n }\n\n // Return the length of the word.\n return word.length\n }\n\n // Get the length of the first word in a string.\n function getFirstWordLength( string ) {\n return string.match( /\\w+/ )[ 0 ].length\n }\n\n return {\n\n d: function( string, dateObject ) {\n\n // If there's string, then get the digits length.\n // Otherwise return the selected date.\n return string ? _.digits( string ) : dateObject.date\n },\n dd: function( string, dateObject ) {\n\n // If there's a string, then the length is always 2.\n // Otherwise return the selected date with a leading zero.\n return string ? 2 : _.lead( dateObject.date )\n },\n ddd: function( string, dateObject ) {\n\n // If there's a string, then get the length of the first word.\n // Otherwise return the short selected weekday.\n return string ? getFirstWordLength( string ) : this.settings.weekdaysShort[ dateObject.day ]\n },\n dddd: function( string, dateObject ) {\n\n // If there's a string, then get the length of the first word.\n // Otherwise return the full selected weekday.\n return string ? getFirstWordLength( string ) : this.settings.weekdaysFull[ dateObject.day ]\n },\n m: function( string, dateObject ) {\n\n // If there's a string, then get the length of the digits\n // Otherwise return the selected month with 0index compensation.\n return string ? _.digits( string ) : dateObject.month + 1\n },\n mm: function( string, dateObject ) {\n\n // If there's a string, then the length is always 2.\n // Otherwise return the selected month with 0index and leading zero.\n return string ? 2 : _.lead( dateObject.month + 1 )\n },\n mmm: function( string, dateObject ) {\n\n var collection = this.settings.monthsShort\n\n // If there's a string, get length of the relevant month from the short\n // months collection. Otherwise return the selected month from that collection.\n return string ? getWordLengthFromCollection( string, collection, dateObject ) : collection[ dateObject.month ]\n },\n mmmm: function( string, dateObject ) {\n\n var collection = this.settings.monthsFull\n\n // If there's a string, get length of the relevant month from the full\n // months collection. Otherwise return the selected month from that collection.\n return string ? getWordLengthFromCollection( string, collection, dateObject ) : collection[ dateObject.month ]\n },\n yy: function( string, dateObject ) {\n\n // If there's a string, then the length is always 2.\n // Otherwise return the selected year by slicing out the first 2 digits.\n return string ? 2 : ( '' + dateObject.year ).slice( 2 )\n },\n yyyy: function( string, dateObject ) {\n\n // If there's a string, then the length is always 4.\n // Otherwise return the selected year.\n return string ? 4 : dateObject.year\n },\n\n // Create an array by splitting the formatting string passed.\n toArray: function( formatString ) { return formatString.split( /(d{1,4}|m{1,4}|y{4}|yy|!.)/g ) },\n\n // Format an object into a string using the formatting options.\n toString: function ( formatString, itemObject ) {\n var calendar = this\n return calendar.formats.toArray( formatString ).map( function( label ) {\n return _.trigger( calendar.formats[ label ], calendar, [ 0, itemObject ] ) || label.replace( /^!/, '' )\n }).join( '' )\n }\n }\n})() //DatePicker.prototype.formats\n\n\n\n\n/**\n * Check if two date units are the exact.\n */\nDatePicker.prototype.isDateExact = function( one, two ) {\n\n var calendar = this\n\n // When we’re working with weekdays, do a direct comparison.\n if (\n ( _.isInteger( one ) && _.isInteger( two ) ) ||\n ( typeof one == 'boolean' && typeof two == 'boolean' )\n ) {\n return one === two\n }\n\n // When we’re working with date representations, compare the “pick” value.\n if (\n ( _.isDate( one ) || $.isArray( one ) ) &&\n ( _.isDate( two ) || $.isArray( two ) )\n ) {\n return calendar.create( one ).pick === calendar.create( two ).pick\n }\n\n // When we’re working with range objects, compare the “from” and “to”.\n if ( $.isPlainObject( one ) && $.isPlainObject( two ) ) {\n return calendar.isDateExact( one.from, two.from ) && calendar.isDateExact( one.to, two.to )\n }\n\n return false\n}\n\n\n/**\n * Check if two date units overlap.\n */\nDatePicker.prototype.isDateOverlap = function( one, two ) {\n\n var calendar = this,\n firstDay = calendar.settings.firstDay ? 1 : 0\n\n // When we’re working with a weekday index, compare the days.\n if ( _.isInteger( one ) && ( _.isDate( two ) || $.isArray( two ) ) ) {\n one = one % 7 + firstDay\n return one === calendar.create( two ).day + 1\n }\n if ( _.isInteger( two ) && ( _.isDate( one ) || $.isArray( one ) ) ) {\n two = two % 7 + firstDay\n return two === calendar.create( one ).day + 1\n }\n\n // When we’re working with range objects, check if the ranges overlap.\n if ( $.isPlainObject( one ) && $.isPlainObject( two ) ) {\n return calendar.overlapRanges( one, two )\n }\n\n return false\n}\n\n\n/**\n * Flip the “enabled” state.\n */\nDatePicker.prototype.flipEnable = function(val) {\n var itemObject = this.item\n itemObject.enable = val || (itemObject.enable == -1 ? 1 : -1)\n}\n\n\n/**\n * Mark a collection of dates as “disabled”.\n */\nDatePicker.prototype.deactivate = function( type, datesToDisable ) {\n\n var calendar = this,\n disabledItems = calendar.item.disable.slice(0)\n\n\n // If we’re flipping, that’s all we need to do.\n if ( datesToDisable == 'flip' ) {\n calendar.flipEnable()\n }\n\n else if ( datesToDisable === false ) {\n calendar.flipEnable(1)\n disabledItems = []\n }\n\n else if ( datesToDisable === true ) {\n calendar.flipEnable(-1)\n disabledItems = []\n }\n\n // Otherwise go through the dates to disable.\n else {\n\n datesToDisable.map(function( unitToDisable ) {\n\n var matchFound\n\n // When we have disabled items, check for matches.\n // If something is matched, immediately break out.\n for ( var index = 0; index < disabledItems.length; index += 1 ) {\n if ( calendar.isDateExact( unitToDisable, disabledItems[index] ) ) {\n matchFound = true\n break\n }\n }\n\n // If nothing was found, add the validated unit to the collection.\n if ( !matchFound ) {\n if (\n _.isInteger( unitToDisable ) ||\n _.isDate( unitToDisable ) ||\n $.isArray( unitToDisable ) ||\n ( $.isPlainObject( unitToDisable ) && unitToDisable.from && unitToDisable.to )\n ) {\n disabledItems.push( unitToDisable )\n }\n }\n })\n }\n\n // Return the updated collection.\n return disabledItems\n} //DatePicker.prototype.deactivate\n\n\n/**\n * Mark a collection of dates as “enabled”.\n */\nDatePicker.prototype.activate = function( type, datesToEnable ) {\n\n var calendar = this,\n disabledItems = calendar.item.disable,\n disabledItemsCount = disabledItems.length\n\n // If we’re flipping, that’s all we need to do.\n if ( datesToEnable == 'flip' ) {\n calendar.flipEnable()\n }\n\n else if ( datesToEnable === true ) {\n calendar.flipEnable(1)\n disabledItems = []\n }\n\n else if ( datesToEnable === false ) {\n calendar.flipEnable(-1)\n disabledItems = []\n }\n\n // Otherwise go through the disabled dates.\n else {\n\n datesToEnable.map(function( unitToEnable ) {\n\n var matchFound,\n disabledUnit,\n index,\n isExactRange\n\n // Go through the disabled items and try to find a match.\n for ( index = 0; index < disabledItemsCount; index += 1 ) {\n\n disabledUnit = disabledItems[index]\n\n // When an exact match is found, remove it from the collection.\n if ( calendar.isDateExact( disabledUnit, unitToEnable ) ) {\n matchFound = disabledItems[index] = null\n isExactRange = true\n break\n }\n\n // When an overlapped match is found, add the “inverted” state to it.\n else if ( calendar.isDateOverlap( disabledUnit, unitToEnable ) ) {\n if ( $.isPlainObject( unitToEnable ) ) {\n unitToEnable.inverted = true\n matchFound = unitToEnable\n }\n else if ( $.isArray( unitToEnable ) ) {\n matchFound = unitToEnable\n if ( !matchFound[3] ) matchFound.push( 'inverted' )\n }\n else if ( _.isDate( unitToEnable ) ) {\n matchFound = [ unitToEnable.getFullYear(), unitToEnable.getMonth(), unitToEnable.getDate(), 'inverted' ]\n }\n break\n }\n }\n\n // If a match was found, remove a previous duplicate entry.\n if ( matchFound ) for ( index = 0; index < disabledItemsCount; index += 1 ) {\n if ( calendar.isDateExact( disabledItems[index], unitToEnable ) ) {\n disabledItems[index] = null\n break\n }\n }\n\n // In the event that we’re dealing with an exact range of dates,\n // make sure there are no “inverted” dates because of it.\n if ( isExactRange ) for ( index = 0; index < disabledItemsCount; index += 1 ) {\n if ( calendar.isDateOverlap( disabledItems[index], unitToEnable ) ) {\n disabledItems[index] = null\n break\n }\n }\n\n // If something is still matched, add it into the collection.\n if ( matchFound ) {\n disabledItems.push( matchFound )\n }\n })\n }\n\n // Return the updated collection.\n return disabledItems.filter(function( val ) { return val != null })\n} //DatePicker.prototype.activate\n\n\n/**\n * Create a string for the nodes in the picker.\n */\nDatePicker.prototype.nodes = function( isOpen ) {\n\n var\n calendar = this,\n settings = calendar.settings,\n calendarItem = calendar.item,\n nowObject = calendarItem.now,\n selectedObject = calendarItem.select,\n highlightedObject = calendarItem.highlight,\n viewsetObject = calendarItem.view,\n disabledCollection = calendarItem.disable,\n minLimitObject = calendarItem.min,\n maxLimitObject = calendarItem.max,\n\n\n // Create the calendar table head using a copy of weekday labels collection.\n // * We do a copy so we don't mutate the original array.\n tableHead = (function( collection, fullCollection ) {\n\n // If the first day should be Monday, move Sunday to the end.\n if ( settings.firstDay ) {\n collection.push( collection.shift() )\n fullCollection.push( fullCollection.shift() )\n }\n\n // Create and return the table head group.\n return _.node(\n 'thead',\n _.node(\n 'tr',\n _.group({\n min: 0,\n max: DAYS_IN_WEEK - 1,\n i: 1,\n node: 'th',\n item: function( counter ) {\n return [\n collection[ counter ],\n settings.klass.weekdays,\n 'scope=col title=\"' + fullCollection[ counter ] + '\"'\n ]\n }\n })\n )\n ) //endreturn\n })( ( settings.showWeekdaysFull ? settings.weekdaysFull : settings.weekdaysShort ).slice( 0 ), settings.weekdaysFull.slice( 0 ) ), //tableHead\n\n\n // Create the nav for next/prev month.\n createMonthNav = function( next ) {\n\n // Otherwise, return the created month tag.\n return _.node(\n 'div',\n ' ',\n settings.klass[ 'nav' + ( next ? 'Next' : 'Prev' ) ] + (\n\n // If the focused month is outside the range, disabled the button.\n ( next && viewsetObject.year >= maxLimitObject.year && viewsetObject.month >= maxLimitObject.month ) ||\n ( !next && viewsetObject.year <= minLimitObject.year && viewsetObject.month <= minLimitObject.month ) ?\n ' ' + settings.klass.navDisabled : ''\n ),\n 'data-nav=' + ( next || -1 ) + ' ' +\n _.ariaAttr({\n role: 'button',\n controls: calendar.$node[0].id + '_table'\n }) + ' ' +\n 'title=\"' + (next ? settings.labelMonthNext : settings.labelMonthPrev ) + '\"'\n ) //endreturn\n }, //createMonthNav\n\n\n // Create the month label.\n createMonthLabel = function() {\n\n var monthsCollection = settings.showMonthsShort ? settings.monthsShort : settings.monthsFull\n\n // If there are months to select, add a dropdown menu.\n if ( settings.selectMonths ) {\n\n return _.node( 'select',\n _.group({\n min: 0,\n max: 11,\n i: 1,\n node: 'option',\n item: function( loopedMonth ) {\n\n return [\n\n // The looped month and no classes.\n monthsCollection[ loopedMonth ], 0,\n\n // Set the value and selected index.\n 'value=' + loopedMonth +\n ( viewsetObject.month == loopedMonth ? ' selected' : '' ) +\n (\n (\n ( viewsetObject.year == minLimitObject.year && loopedMonth < minLimitObject.month ) ||\n ( viewsetObject.year == maxLimitObject.year && loopedMonth > maxLimitObject.month )\n ) ?\n ' disabled' : ''\n )\n ]\n }\n }),\n settings.klass.selectMonth,\n ( isOpen ? '' : 'disabled' ) + ' ' +\n _.ariaAttr({ controls: calendar.$node[0].id + '_table' }) + ' ' +\n 'title=\"' + settings.labelMonthSelect + '\"'\n )\n }\n\n // If there's a need for a month selector\n return _.node( 'div', monthsCollection[ viewsetObject.month ], settings.klass.month )\n }, //createMonthLabel\n\n\n // Create the year label.\n createYearLabel = function() {\n\n var focusedYear = viewsetObject.year,\n\n // If years selector is set to a literal \"true\", set it to 5. Otherwise\n // divide in half to get half before and half after focused year.\n numberYears = settings.selectYears === true ? 5 : ~~( settings.selectYears / 2 )\n\n // If there are years to select, add a dropdown menu.\n if ( numberYears ) {\n\n var\n minYear = minLimitObject.year,\n maxYear = maxLimitObject.year,\n lowestYear = focusedYear - numberYears,\n highestYear = focusedYear + numberYears\n\n // If the min year is greater than the lowest year, increase the highest year\n // by the difference and set the lowest year to the min year.\n if ( minYear > lowestYear ) {\n highestYear += minYear - lowestYear\n lowestYear = minYear\n }\n\n // If the max year is less than the highest year, decrease the lowest year\n // by the lower of the two: available and needed years. Then set the\n // highest year to the max year.\n if ( maxYear < highestYear ) {\n\n var availableYears = lowestYear - minYear,\n neededYears = highestYear - maxYear\n\n lowestYear -= availableYears > neededYears ? neededYears : availableYears\n highestYear = maxYear\n }\n\n return _.node( 'select',\n _.group({\n min: lowestYear,\n max: highestYear,\n i: 1,\n node: 'option',\n item: function( loopedYear ) {\n return [\n\n // The looped year and no classes.\n loopedYear, 0,\n\n // Set the value and selected index.\n 'value=' + loopedYear + ( focusedYear == loopedYear ? ' selected' : '' )\n ]\n }\n }),\n settings.klass.selectYear,\n ( isOpen ? '' : 'disabled' ) + ' ' + _.ariaAttr({ controls: calendar.$node[0].id + '_table' }) + ' ' +\n 'title=\"' + settings.labelYearSelect + '\"'\n )\n }\n\n // Otherwise just return the year focused\n return _.node( 'div', focusedYear, settings.klass.year )\n } //createYearLabel\n\n\n // Create and return the entire calendar.\n return _.node(\n 'div',\n ( settings.selectYears ? createYearLabel() + createMonthLabel() : createMonthLabel() + createYearLabel() ) +\n createMonthNav() + createMonthNav( 1 ),\n settings.klass.header\n ) + _.node(\n 'table',\n tableHead +\n _.node(\n 'tbody',\n _.group({\n min: 0,\n max: WEEKS_IN_CALENDAR - 1,\n i: 1,\n node: 'tr',\n item: function( rowCounter ) {\n\n // If Monday is the first day and the month starts on Sunday, shift the date back a week.\n var shiftDateBy = settings.firstDay && calendar.create([ viewsetObject.year, viewsetObject.month, 1 ]).day === 0 ? -7 : 0\n\n return [\n _.group({\n min: DAYS_IN_WEEK * rowCounter - viewsetObject.day + shiftDateBy + 1, // Add 1 for weekday 0index\n max: function() {\n return this.min + DAYS_IN_WEEK - 1\n },\n i: 1,\n node: 'td',\n item: function( targetDate ) {\n\n // Convert the time date from a relative date to a target date.\n targetDate = calendar.create([ viewsetObject.year, viewsetObject.month, targetDate + ( settings.firstDay ? 1 : 0 ) ])\n\n var isSelected = selectedObject && selectedObject.pick == targetDate.pick,\n isHighlighted = highlightedObject && highlightedObject.pick == targetDate.pick,\n isDisabled = disabledCollection && calendar.disabled( targetDate ) || targetDate.pick < minLimitObject.pick || targetDate.pick > maxLimitObject.pick,\n formattedDate = _.trigger( calendar.formats.toString, calendar, [ settings.format, targetDate ] )\n\n return [\n _.node(\n 'div',\n targetDate.date,\n (function( klasses ) {\n\n // Add the `infocus` or `outfocus` classes based on month in view.\n klasses.push( viewsetObject.month == targetDate.month ? settings.klass.infocus : settings.klass.outfocus )\n\n // Add the `today` class if needed.\n if ( nowObject.pick == targetDate.pick ) {\n klasses.push( settings.klass.now )\n }\n\n // Add the `selected` class if something's selected and the time matches.\n if ( isSelected ) {\n klasses.push( settings.klass.selected )\n }\n\n // Add the `highlighted` class if something's highlighted and the time matches.\n if ( isHighlighted ) {\n klasses.push( settings.klass.highlighted )\n }\n\n // Add the `disabled` class if something's disabled and the object matches.\n if ( isDisabled ) {\n klasses.push( settings.klass.disabled )\n }\n\n return klasses.join( ' ' )\n })([ settings.klass.day ]),\n 'data-pick=' + targetDate.pick + ' ' + _.ariaAttr({\n role: 'gridcell',\n label: formattedDate,\n selected: isSelected && calendar.$node.val() === formattedDate ? true : null,\n activedescendant: isHighlighted ? true : null,\n disabled: isDisabled ? true : null\n })\n ),\n '',\n _.ariaAttr({ role: 'presentation' })\n ] //endreturn\n }\n })\n ] //endreturn\n }\n })\n ),\n settings.klass.table,\n 'id=\"' + calendar.$node[0].id + '_table' + '\" ' + _.ariaAttr({\n role: 'grid',\n controls: calendar.$node[0].id,\n readonly: true\n })\n ) +\n\n // * For Firefox forms to submit, make sure to set the buttons’ `type` attributes as “button”.\n _.node(\n 'div',\n _.node( 'button', settings.today, settings.klass.buttonToday,\n 'type=button data-pick=' + nowObject.pick +\n ( isOpen && !calendar.disabled(nowObject) ? '' : ' disabled' ) + ' ' +\n _.ariaAttr({ controls: calendar.$node[0].id }) ) +\n _.node( 'button', settings.clear, settings.klass.buttonClear,\n 'type=button data-clear=1' +\n ( isOpen ? '' : ' disabled' ) + ' ' +\n _.ariaAttr({ controls: calendar.$node[0].id }) ) +\n _.node('button', settings.close, settings.klass.buttonClose,\n 'type=button data-close=true ' +\n ( isOpen ? '' : ' disabled' ) + ' ' +\n _.ariaAttr({ controls: calendar.$node[0].id }) ),\n settings.klass.footer\n ) //endreturn\n} //DatePicker.prototype.nodes\n\n\n\n\n/**\n * The date picker defaults.\n */\nDatePicker.defaults = (function( prefix ) {\n\n return {\n\n // The title label to use for the month nav buttons\n labelMonthNext: 'Next month',\n labelMonthPrev: 'Previous month',\n\n // The title label to use for the dropdown selectors\n labelMonthSelect: 'Select a month',\n labelYearSelect: 'Select a year',\n\n // Months and weekdays\n monthsFull: [ 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December' ],\n monthsShort: [ 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec' ],\n weekdaysFull: [ 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday' ],\n weekdaysShort: [ 'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat' ],\n\n // Today and clear\n today: 'Today',\n clear: 'Clear',\n close: 'Close',\n\n // Picker close behavior\n closeOnSelect: true,\n closeOnClear: true,\n\n // Update input value on select/clear\n updateInput: true,\n\n // The format to show on the `input` element\n format: 'd mmmm, yyyy',\n\n // Classes\n klass: {\n\n table: prefix + 'table',\n\n header: prefix + 'header',\n\n navPrev: prefix + 'nav--prev',\n navNext: prefix + 'nav--next',\n navDisabled: prefix + 'nav--disabled',\n\n month: prefix + 'month',\n year: prefix + 'year',\n\n selectMonth: prefix + 'select--month',\n selectYear: prefix + 'select--year',\n\n weekdays: prefix + 'weekday',\n\n day: prefix + 'day',\n disabled: prefix + 'day--disabled',\n selected: prefix + 'day--selected',\n highlighted: prefix + 'day--highlighted',\n now: prefix + 'day--today',\n infocus: prefix + 'day--infocus',\n outfocus: prefix + 'day--outfocus',\n\n footer: prefix + 'footer',\n\n buttonClear: prefix + 'button--clear',\n buttonToday: prefix + 'button--today',\n buttonClose: prefix + 'button--close'\n }\n }\n})( Picker.klasses().picker + '__' )\n\n\n\n\n\n/**\n * Extend the picker to add the date picker.\n */\nPicker.extend( 'pickadate', DatePicker )\n\n\n}));\n\n\n\n","import '../../../node_modules/pickadate/lib/picker.date.js'\nimport $ from 'jquery'\nimport Util from './util'\n\n/*\n * Date picker plugin extends `pickadate.js` by Amsul\n */\n\nconst PickDate = (($) => {\n // constants >>>\n const DATA_KEY = 'md.pickdate'\n const NAME = 'pickdate'\n const NO_CONFLICT = $.fn[NAME]\n\n const Default = {\n cancel : 'Cancel',\n closeOnCancel : true,\n closeOnSelect : false,\n container : '',\n containerHidden : '',\n disable : [],\n firstDay : 0,\n format : 'd/m/yyyy',\n formatSubmit : '',\n hiddenName : false,\n hiddenPrefix : '',\n hiddenSuffix : '',\n klass : {\n // button\n buttonClear : 'btn btn-flat-primary picker-button-clear',\n buttonClose : 'btn btn-flat-primary picker-button-close',\n buttonToday : 'btn btn-flat-primary picker-button-today',\n\n // day\n day : 'picker-day',\n disabled : 'picker-day-disabled',\n highlighted : 'picker-day-highlighted',\n infocus : 'picker-day-infocus',\n now : 'picker-day-today',\n outfocus : 'picker-day-outfocus',\n selected : 'picker-day-selected',\n weekdays : 'picker-weekday',\n\n // element\n box : 'picker-box',\n footer : 'picker-footer',\n frame : 'picker-frame',\n header : 'picker-header',\n holder : 'picker-holder',\n table : 'picker-table',\n wrap : 'picker-wrap',\n\n // input element\n active : 'picker-input-active',\n input : 'picker-input',\n\n // month and year nav\n month : 'picker-month',\n navDisabled : 'picker-nav-disabled',\n navNext : 'material-icons picker-nav-next',\n navPrev : 'material-icons picker-nav-prev',\n selectMonth : 'picker-select-month',\n selectYear : 'picker-select-year',\n year : 'picker-year',\n\n // root picker\n focused : 'picker-focused',\n opened : 'picker-opened',\n picker : 'picker'\n },\n labelMonthNext : 'Next month',\n labelMonthPrev : 'Previous month',\n labelMonthSelect : 'Choose a month',\n labelYearSelect : 'Choose a year',\n max : false,\n min : false,\n monthsFull : ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],\n monthsShort : ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\n ok : 'OK',\n onClose : () => {\n // Do nothing\n },\n onOpen : () => {\n // Do nothing\n },\n onRender : () => {\n // Do nothing\n },\n onSet : () => {\n // Do nothing\n },\n onStart : () => {\n // Do nothing\n },\n onStop : () => {\n // Do nothing\n },\n selectMonths : false,\n selectYears : false,\n today : '',\n weekdaysFull : ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n weekdaysShort : ['S', 'M', 'T', 'W', 'T', 'F', 'S']\n }\n\n const DefaultType = {\n cancel : 'string',\n closeOnCancel : 'boolean',\n closeOnSelect : 'boolean',\n container : 'string',\n containerHidden : 'string',\n disable : 'array',\n firstDay : 'number',\n format : 'string',\n formatSubmit : 'string',\n hiddenName : 'boolean',\n hiddenPrefix : 'string',\n hiddenSuffix : 'string',\n klass : 'object',\n labelMonthNext : 'string',\n labelMonthPrev : 'string',\n labelMonthSelect : 'string',\n labelYearSelect : 'string',\n max : 'boolean || date',\n min : 'boolean || date',\n monthsFull : 'array',\n monthsShort : 'array',\n ok : 'string',\n onClose : 'function',\n onOpen : 'function',\n onRender : 'function',\n onSet : 'function',\n onStart : 'function',\n onStop : 'function',\n selectMonths : 'boolean',\n selectYears : 'boolean || number',\n today : 'string',\n weekdaysFull : 'array',\n weekdaysShort : 'array'\n }\n\n class PickDate {\n constructor(element, config) {\n this._config = this._getConfig(config)\n this._element = element\n }\n\n display(datepickerApi, datepickerRoot, datepickerValue) {\n $('.picker-date-display', datepickerRoot).remove()\n\n $('.picker-wrap', datepickerRoot).prepend(`
${datepickerApi.get(datepickerValue, 'yyyy')}
${datepickerApi.get(datepickerValue, 'dddd')}${datepickerApi.get(datepickerValue, 'mmm')}${datepickerApi.get(datepickerValue, 'd')}
`)\n }\n\n show() {\n $(this._element).pickadate({\n clear : this._config.cancel,\n close : this._config.ok,\n closeOnClear : this._config.closeOnCancel,\n closeOnSelect : this._config.closeOnSelect,\n container : this._config.container,\n containerHidden : this._config.containerHidden,\n disable : this._config.disable,\n firstDay : this._config.firstDay,\n format : this._config.format,\n formatSubmit : this._config.formatSubmit,\n klass : this._config.klass,\n hiddenName : this._config.hiddenName,\n hiddenPrefix : this._config.hiddenPrefix,\n hiddenSuffix : this._config.hiddenSuffix,\n labelMonthNext : this._config.labelMonthNext,\n labelMonthPrev : this._config.labelMonthPrev,\n labelMonthSelect : this._config.labelMonthSelect,\n labelYearSelect : this._config.labelYearSelect,\n max : this._config.max,\n min : this._config.min,\n monthsFull : this._config.monthsFull,\n monthsShort : this._config.monthsShort,\n onClose : this._config.onClose,\n onOpen : this._config.onOpen,\n onRender : this._config.onRender,\n onSet : this._config.onSet,\n onStart : this._config.onStart,\n onStop : this._config.onStop,\n selectMonths : this._config.selectMonths,\n selectYears : this._config.selectYears,\n today : this._config.today,\n weekdaysFull : this._config.weekdaysFull,\n weekdaysShort : this._config.weekdaysShort\n })\n\n const datepickerApi = $(this._element).pickadate('picker')\n const datepickerRoot = datepickerApi.$root\n\n datepickerApi.on({\n close: () => {\n $(document.activeElement).blur()\n },\n open: () => {\n if (!$('.picker__date-display', datepickerRoot).length) {\n this.display(datepickerApi, datepickerRoot, 'highlight')\n }\n },\n set: () => {\n if (datepickerApi.get('select') !== null) {\n this.display(datepickerApi, datepickerRoot, 'select')\n }\n }\n })\n }\n\n _getConfig(config) {\n config = {\n ...Default,\n ...config\n }\n\n Util.typeCheckConfig(NAME, config, DefaultType)\n\n return config\n }\n\n static _jQueryInterface(config) {\n return this.each(function () {\n const _config = {\n ...Default,\n ...$(this).data(),\n ...typeof config === 'object' && config ? config : {}\n }\n\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = new PickDate(this, _config)\n\n $(this).data(DATA_KEY, data)\n }\n\n data.show()\n })\n }\n }\n\n $.fn[NAME] = PickDate._jQueryInterface\n $.fn[NAME].Constructor = PickDate\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = NO_CONFLICT\n\n return PickDate._jQueryInterface\n }\n})($)\n\nexport default PickDate\n","export var defaultOptions = {\n className: '',\n color: 'currentcolor',\n opacity: .1,\n spreadingDuration: '.4s',\n spreadingDelay: '0s',\n spreadingTimingFunction: 'linear',\n clearing: true,\n clearingDuration: '1s',\n clearingDelay: '0s',\n clearingTimingFunction: 'ease-in-out',\n centered: false,\n appendTo: 'body',\n};\nvar target2container2ripplet = new Map();\nvar copyStyles = function (destination, source, properties) {\n for (var _i = 0, properties_1 = properties; _i < properties_1.length; _i++) {\n var property = properties_1[_i];\n destination[property] = source[property];\n }\n};\nfunction ripplet(_a, _options) {\n var currentTarget = _a.currentTarget, clientX = _a.clientX, clientY = _a.clientY;\n if (!(currentTarget instanceof Element)) {\n return;\n }\n var options = _options\n ? Object.keys(defaultOptions).reduce(function (merged, field) { return (merged[field] = _options.hasOwnProperty(field) ? _options[field] : defaultOptions[field], merged); }, {})\n : defaultOptions;\n var targetRect = currentTarget.getBoundingClientRect();\n if (options.centered && options.centered !== 'false') {\n clientX = targetRect.left + targetRect.width * .5;\n clientY = targetRect.top + targetRect.height * .5;\n }\n else if (typeof clientX !== 'number' || typeof clientY !== 'number') {\n return;\n }\n var targetStyle = getComputedStyle(currentTarget);\n var documentElement = document.documentElement, body = document.body;\n var containerElement = document.createElement('div');\n var appendToParent = options.appendTo === 'parent';\n var removingElement = containerElement;\n {\n var containerStyle = containerElement.style;\n if (targetStyle.position === 'fixed' || (targetStyle.position === 'absolute' && appendToParent)) {\n if (appendToParent) {\n currentTarget.parentElement.insertBefore(containerElement, currentTarget);\n }\n else {\n body.appendChild(containerElement);\n }\n copyStyles(containerStyle, targetStyle, ['position', 'left', 'top', 'right', 'bottom', 'marginLeft', 'marginTop', 'marginRight', 'marginBottom']);\n }\n else if (appendToParent) {\n var parentStyle = getComputedStyle(currentTarget.parentElement);\n if (parentStyle.display === 'flex' || parentStyle.display === 'inline-flex') {\n currentTarget.parentElement.insertBefore(containerElement, currentTarget);\n containerStyle.position = 'absolute';\n containerStyle.left = currentTarget.offsetLeft + \"px\";\n containerStyle.top = currentTarget.offsetTop + \"px\";\n }\n else {\n var containerContainer = removingElement\n = currentTarget.parentElement.insertBefore(document.createElement('div'), currentTarget);\n var containerContainerStyle = containerContainer.style;\n containerContainerStyle.display = 'inline-block';\n containerContainerStyle.position = 'relative';\n containerContainerStyle.width = containerContainerStyle.height\n = '0';\n containerContainerStyle.cssFloat = targetStyle.cssFloat;\n var containerContainerRect = containerContainer.getBoundingClientRect(); // this may be a slow operation...\n containerContainer.appendChild(containerElement);\n containerStyle.position = 'absolute';\n containerStyle.top = targetRect.top - containerContainerRect.top + \"px\";\n containerStyle.left = targetRect.left - containerContainerRect.left + \"px\";\n }\n }\n else {\n body.appendChild(containerElement);\n containerStyle.position = 'absolute';\n containerStyle.left = targetRect.left + documentElement.scrollLeft + body.scrollLeft + \"px\";\n containerStyle.top = targetRect.top + documentElement.scrollTop + body.scrollTop + \"px\";\n }\n containerStyle.overflow = 'hidden';\n containerStyle.pointerEvents = 'none';\n containerStyle.width = targetRect.width + \"px\";\n containerStyle.height = targetRect.height + \"px\";\n containerStyle.zIndex = (+targetStyle.zIndex || 0) + 1;\n containerStyle.opacity = options.opacity;\n copyStyles(containerStyle, targetStyle, ['borderTopLeftRadius', 'borderTopRightRadius', 'borderBottomLeftRadius', 'borderBottomRightRadius', 'webkitClipPath', 'clipPath']);\n }\n {\n var distanceX = Math.max(clientX - targetRect.left, targetRect.right - clientX);\n var distanceY = Math.max(clientY - targetRect.top, targetRect.bottom - clientY);\n var radius = Math.sqrt(distanceX * distanceX + distanceY * distanceY);\n var rippletElement = containerElement.appendChild(document.createElement('div'));\n var rippletStyle = rippletElement.style;\n rippletElement.className = options.className;\n rippletStyle.backgroundColor = /^currentcolor$/i.test(options.color) ? targetStyle.color : options.color;\n rippletStyle.width = rippletStyle.height\n = radius * 2 + \"px\";\n if (getComputedStyle(appendToParent ? currentTarget.parentElement : body).direction === 'rtl') {\n rippletStyle.marginRight = targetRect.right - clientX - radius + \"px\";\n }\n else {\n rippletStyle.marginLeft = clientX - targetRect.left - radius + \"px\";\n }\n rippletStyle.marginTop = clientY - targetRect.top - radius + \"px\";\n rippletStyle.borderRadius = '50%';\n rippletStyle.transition =\n \"transform \" + options.spreadingDuration + \" \" + options.spreadingTimingFunction + \" \" + options.spreadingDelay + \",opacity \" + options.clearingDuration + \" \" + options.clearingTimingFunction + \" \" + options.clearingDelay;\n rippletStyle.transform = 'scale(0)';\n // reflect styles by force layout\n // tslint:disable-next-line:no-unused-expression\n rippletElement.offsetTop;\n rippletStyle.transform = '';\n rippletElement.addEventListener('transitionend', function (event) {\n if (event.propertyName === 'opacity' && removingElement.parentElement) {\n removingElement.parentElement.removeChild(removingElement);\n }\n });\n if (options.clearing && options.clearing !== 'false') {\n rippletStyle.opacity = '0';\n }\n else {\n var container2ripplet = target2container2ripplet.get(currentTarget);\n if (!container2ripplet) {\n target2container2ripplet.set(currentTarget, container2ripplet = new Map());\n }\n container2ripplet.set(containerElement, rippletElement);\n }\n }\n return containerElement;\n}\nripplet.clear = function (targetElement, rippletContainerElement) {\n if (targetElement) {\n var container2ripplet = target2container2ripplet.get(targetElement);\n if (container2ripplet) {\n if (rippletContainerElement) {\n var rippletElement = container2ripplet.get(rippletContainerElement);\n rippletElement && (rippletElement.style.opacity = '0');\n container2ripplet.delete(rippletContainerElement);\n container2ripplet.size === 0 && target2container2ripplet.delete(targetElement);\n }\n else {\n container2ripplet.forEach(function (r) { return r.style.opacity = '0'; });\n target2container2ripplet.delete(targetElement);\n }\n }\n }\n else {\n target2container2ripplet.forEach(function (container2ripplet) { return container2ripplet.forEach(function (r) { return r.style.opacity = '0'; }); });\n target2container2ripplet.clear();\n }\n};\nripplet.defaultOptions = defaultOptions;\nripplet._ripplets = target2container2ripplet;\nexport default ripplet;\n","import ripplet,\n{\n defaultOptions\n} from 'ripplet.js'\n\n/*\n * Config for ripplet.js by luncheon\n */\n\n// Values from https://github.com/material-components/material-components-web/blob/master/packages/mdc-ripple/_variables.scss\n\nconst Ripplet = (() => {\n /* eslint complexity: [\"error\", 40] */\n addEventListener('pointerdown', (event) => {\n defaultOptions.color = 'rgba(0,0,0,0.12)'\n defaultOptions.opacity = 1\n defaultOptions.spreadingDelay = '15ms'\n defaultOptions.spreadingDuration = '175ms'\n defaultOptions.clearingDelay = '300ms'\n defaultOptions.clearingDuration = '150ms'\n defaultOptions.clearingTimingFunction = 'linear'\n\n if (event.button !== 0) {\n return\n }\n const currentTarget = event.target.closest('.btn, .card-link, .card-primary-action, .list-group-item-action, [data-ripplet]')\n if (!currentTarget || currentTarget.disabled) {\n return\n }\n\n const rippleTarget = {\n currentTarget,\n clientX: event.clientX,\n clientY: event.clientY\n }\n\n currentTarget.setAttribute('data-ripplet', '')\n const cls = currentTarget.classList\n\n if (\n cls.contains('btn-outline-primary') ||\n cls.contains('btn-outline-secondary') ||\n cls.contains('btn-outline-danger') ||\n cls.contains('btn-outline-info') ||\n cls.contains('btn-outline-success') ||\n cls.contains('btn-outline-warning') ||\n cls.contains('btn-outline-dark') ||\n cls.contains('btn-outline-light') ||\n cls.contains('btn-link') ||\n cls.contains('card-link') ||\n cls.contains('btn-flat-primary') ||\n cls.contains('btn-flat-secondary') ||\n cls.contains('btn-flat-danger') ||\n cls.contains('btn-flat-info') ||\n cls.contains('btn-flat-success') ||\n cls.contains('btn-flat-warning') ||\n cls.contains('btn-flat-dark') ||\n cls.contains('btn-flat-light')\n ) {\n ripplet(rippleTarget, {\n color: getComputedStyle(currentTarget).color,\n opacity: 0.12\n })\n } else if (\n cls.contains('btn-primary') ||\n cls.contains('btn-secondary') ||\n cls.contains('btn-success') ||\n cls.contains('btn-danger') ||\n cls.contains('btn-warning') ||\n cls.contains('btn-info') ||\n cls.contains('btn-dark')\n ) {\n ripplet(rippleTarget, {\n color: 'rgba(255,255,255,0.24)'\n })\n } else if (\n cls.contains('nav-link')\n ) {\n ripplet(rippleTarget, {\n color: getComputedStyle(currentTarget, ':active').color,\n opacity: 0.12\n })\n } else {\n ripplet(rippleTarget)\n }\n })\n})()\n\nexport default Ripplet\n","import $ from 'jquery'\nimport Util from './util'\n\n/*\n * Tab indicator animation\n * Requires Bootstrap's (v4.4.X) `tab.js`\n */\n\nconst TabSwitch = (($) => {\n // constants >>>\n const DATA_KEY = 'md.tabswitch'\n const NAME = 'tabswitch'\n const NO_CONFLICT = $.fn[NAME]\n\n const ClassName = {\n ANIMATE : 'animate',\n DROPDOWN_ITEM : 'dropdown-item',\n INDICATOR : 'nav-tabs-indicator',\n MATERIAL : 'nav-tabs-material',\n SCROLLABLE : 'nav-tabs-scrollable',\n SHOW : 'show'\n }\n\n const Event = {\n SHOW_BS_TAB : 'show.bs.tab'\n }\n\n const Selector = {\n DATA_TOGGLE : '.nav-tabs [data-toggle=\"tab\"]',\n DROPDOWN : '.dropdown',\n NAV : '.nav-tabs'\n }\n // <<< constants\n\n class TabSwitch {\n constructor(nav) {\n this._nav = nav\n this._navindicator = null\n }\n\n switch(element, relatedTarget) {\n const navLeft = $(this._nav).offset().left\n const navScrollLeft = $(this._nav).scrollLeft()\n const navWidth = $(this._nav).outerWidth()\n\n if (!this._navindicator) {\n this._createIndicator(navLeft, navScrollLeft, navWidth, relatedTarget)\n }\n\n if ($(element).hasClass(ClassName.DROPDOWN_ITEM)) {\n element = $(element).closest(Selector.DROPDOWN)\n }\n\n const elLeft = $(element).offset().left\n const elWidth = $(element).outerWidth()\n\n $(this._navindicator).addClass(ClassName.SHOW)\n\n Util.reflow(this._navindicator)\n\n $(this._nav).addClass(ClassName.ANIMATE)\n\n $(this._navindicator).css({\n left : elLeft + navScrollLeft - navLeft,\n right : navWidth - (elLeft + navScrollLeft - navLeft + elWidth)\n })\n\n const complete = () => {\n $(this._nav).removeClass(ClassName.ANIMATE)\n\n $(this._navindicator).removeClass(ClassName.SHOW)\n }\n\n const transitionDuration = Util.getTransitionDurationFromElement(this._navindicator)\n\n $(this._navindicator)\n .one(Util.TRANSITION_END, complete)\n .emulateTransitionEnd(transitionDuration)\n }\n\n _createIndicator(navLeft, navScrollLeft, navWidth, relatedTarget) {\n this._navindicator = document.createElement('div')\n\n $(this._navindicator)\n .addClass(ClassName.INDICATOR)\n .appendTo(this._nav)\n\n if (typeof relatedTarget !== 'undefined') {\n if ($(relatedTarget).hasClass(ClassName.DROPDOWN_ITEM)) {\n relatedTarget = $(relatedTarget).closest(Selector.DROPDOWN)\n }\n\n const relatedLeft = $(relatedTarget).offset().left\n const relatedWidth = $(relatedTarget).outerWidth()\n\n $(this._navindicator).css({\n left : relatedLeft + navScrollLeft - navLeft,\n right : navWidth - (relatedLeft + navScrollLeft - navLeft + relatedWidth)\n })\n }\n\n $(this._nav).addClass(ClassName.MATERIAL)\n }\n\n static _jQueryInterface(relatedTarget) {\n return this.each(function () {\n const nav = $(this).closest(Selector.NAV)[0]\n\n if (!nav) {\n return\n }\n\n let data = $(nav).data(DATA_KEY)\n\n if (!data) {\n data = new TabSwitch(nav)\n\n $(nav).data(DATA_KEY, data)\n }\n\n data.switch(this, relatedTarget)\n })\n }\n }\n\n $(document).on(Event.SHOW_BS_TAB, Selector.DATA_TOGGLE, function (event) {\n TabSwitch._jQueryInterface.call($(this), event.relatedTarget)\n })\n\n $.fn[NAME] = TabSwitch._jQueryInterface\n $.fn[NAME].Constructor = TabSwitch\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = NO_CONFLICT\n\n return TabSwitch._jQueryInterface\n }\n\n return TabSwitch\n})($)\n\nexport default TabSwitch\n"],"names":["FloatingLabel","$","EVENT_KEY","ClassName","Event","Selector","document","on","target","this","closest","removeClass","predecessor","prev","length","addClass","DATA_KEY","NAME","NO_CONFLICT","fn","element","_element","_parent","_proto","prototype","change","val","is","html","replace","focusin","focusout","_jQueryInterface","event","each","_event","data","Error","call","type","Constructor","noConflict","TRANSITION_END","Util","getSelectorFromElement","selector","getAttribute","find","err","getTransitionDurationFromElement","transitionDuration","css","split","parseFloat","getUID","prefix","Math","random","getElementById","isElement","obj","nodeType","reflow","offsetHeight","supportsTransitionEnd","Boolean","triggerTransitionEnd","trigger","typeCheckConfig","componentName","config","configTypes","property","Object","hasOwnProperty","expectedTypes","value","valueType","toString","match","toLowerCase","RegExp","test","toUpperCase","emulateTransitionEnd","transitionEndEmulator","special","bindType","delegateType","handle","handleObj","handler","apply","arguments","duration","_this","called","one","setTimeout","NavDrawer","Default","breakpoint","keyboard","show","DefaultType","CLICK_DATA_API","CLICK_DISMISS","FOCUSIN","HIDDEN","HIDE","KEYDOWN_DISMISS","MOUSEDOWN_DISMISS","MOUSEUP_DISMISS","SHOW","SHOWN","_backdrop","_config","_getConfig","_content","_ignoreBackdropClick","_isShown","_typeBreakpoint","hide","preventDefault","_isTransitioning","hideEvent","isDefaultPrevented","_setEscapeEvent","off","body","_hideNavdrawer","_showBackdrop","relatedTarget","showEvent","_this2","_showElement","toggle","_enforceFocus","_this3","has","focus","_objectSpread2","style","display","setAttribute","_removeBackdrop","remove","_this4","which","_this5","createElement","appendTo","currentTarget","_this6","parentNode","Node","ELEMENT_NODE","appendChild","removeAttribute","shownEvent","TypeError","key","get","_this7","tagName","$target","picker","commonjsHelpers.createCommonjsModule","module","exports","PickerConstructor","ELEMENT","COMPONENT","OPTIONS","IS_DEFAULT_THEME","STATE","id","abs","Date","handlingOpen","SETTINGS","extend","defaults","CLASSES","klasses","klass","$ELEMENT","PickerInstance","start","P","constructor","$node","methods","open","autofocus","getActiveElement","readOnly","editable","component","$root","aria","$holder","createWrappedComponent","prepareElementHolder","formatSubmit","hiddenName","name","hiddenPrefix","hiddenSuffix","_hidden","input","format","handleKeydownEvent","haspopup","expanded","readonly","owns","containerHidden","append","after","container","onStart","render","onRender","stop","onStop","onOpen","close","onClose","set","onSet","theme","prop","currentStyle","window","getComputedStyle","isUsingDefaultTheme","entireComponent","box","nodes","removeChild","removeData","dontGiveFocus","active","opened","getScrollbarWidth","supportsTransitions","frame","eq","$document","getRealEventTarget","isSimulated","keycode","keyCode","keycodeToMove","contains","click","_","go","highlighted","hasClass","disabled","item","highlight","closeOnSelect","giveFocus","handleFocusToOpenEvent","focused","clear","options","thing","thingItem","thingValue","thingIsObject","isPlainObject","thingObject","undefined","updateInput","muted","formats","method","internal","thingName","thingMethod","push","names","i","namesCount","_trigger","methodList","map","node","wrap","holder","keydown","focus.toOpen","blur","stopPropagation","mousedown click","targetData","targetDisabled","navDisabled","activeElement","href","nav","pick","closeOnClear","isKeycodeDelete","$html","height","$window","$outer","widthWithoutScroll","offsetWidth","widthWithScroll","path","originalEvent","indexOf","attribute","ariaSet","require$$0","documentElement","transition","group","groupObject","loopObjectScope","nodesList","counter","min","max","wrapper","isArray","join","lead","number","callback","scope","args","digits","string","isDate","isInteger","getDate","ariaAttr","attr","attrVal","Component","action","componentData","DatePicker","settings","isRTL","direction","calendar","elementValue","elementDataValue","valueString","formatString","queue","now","select","view","disable","enable","slice","collectionDisabled","shift","defaultValue","40","38","39","37","timeChange","highlightedObject","targetDate","year","month","date","interval","selectMonth","selectYear","includeToday","buttonToday","Picker","require$$1","calendarItem","pop","create","isInfiniteValue","Infinity","normalize","getFullYear","getMonth","day","getDay","getTime","createRange","from","to","createDate","withinRange","range","dateUnit","overlapRanges","two","rel","setDate","navigate","targetYear","targetMonth","isTargetArray","isTargetObject","viewsetObject","targetDateObject","setHours","measure","parse","viewset","dateObject","validate","hasEnabledBeforeTarget","hasEnabledAfterTarget","reachedMin","reachedMax","originalDateObject","isFlippedBase","minLimitObject","maxLimitObject","hasEnabledWeekdays","filter","dateTime","dateToVerify","isDisabledMatch","dateToDisable","firstDay","inverted","parsingObject","toArray","label","formattingLabel","formatLength","substr","yyyy","yy","mm","m","dd","d","getWordLengthFromCollection","collection","word","getFirstWordLength","ddd","weekdaysShort","dddd","weekdaysFull","mmm","monthsShort","mmmm","monthsFull","itemObject","isDateExact","isDateOverlap","flipEnable","deactivate","datesToDisable","disabledItems","unitToDisable","matchFound","index","activate","datesToEnable","disabledItemsCount","unitToEnable","disabledUnit","isExactRange","isOpen","createMonthNav","next","role","controls","labelMonthNext","labelMonthPrev","createMonthLabel","monthsCollection","showMonthsShort","selectMonths","loopedMonth","labelMonthSelect","fullCollection","nowObject","selectedObject","disabledCollection","tableHead","showWeekdaysFull","DAYS_IN_WEEK","weekdays","createYearLabel","focusedYear","numberYears","selectYears","minYear","maxYear","lowestYear","highestYear","neededYears","availableYears","loopedYear","labelYearSelect","header","WEEKS_IN_CALENDAR","rowCounter","shiftDateBy","isSelected","isHighlighted","isDisabled","formattedDate","infocus","outfocus","selected","activedescendant","table","today","buttonClear","buttonClose","footer","navPrev","navNext","cancel","closeOnCancel","ok","PickDate","datepickerApi","datepickerRoot","datepickerValue","prepend","pickadate","copyStyles","destination","source","properties","_i","properties_1","defaultOptions","className","color","opacity","spreadingDuration","spreadingDelay","spreadingTimingFunction","clearing","clearingDuration","clearingDelay","clearingTimingFunction","centered","target2container2ripplet","Map","ripplet","_a","_options","clientX","clientY","Element","keys","reduce","merged","field","targetRect","getBoundingClientRect","left","width","top","targetStyle","containerElement","appendToParent","removingElement","containerStyle","position","parentElement","insertBefore","parentStyle","offsetLeft","offsetTop","containerContainerStyle","containerContainer","cssFloat","containerContainerRect","scrollLeft","scrollTop","overflow","pointerEvents","zIndex","distanceX","right","distanceY","bottom","radius","sqrt","rippletElement","rippletStyle","backgroundColor","marginRight","marginLeft","marginTop","borderRadius","transform","addEventListener","propertyName","container2ripplet","targetElement","rippletContainerElement","delete","size","forEach","r","_ripplets","rippleTarget","button","cls","classList","TabSwitch","_nav","_navindicator","switch","navLeft","offset","navScrollLeft","navWidth","outerWidth","_createIndicator","elLeft","elWidth","relatedLeft","relatedWidth"],"mappings":";;;;;wWAOMA,GCDkB,SAACC,GAEvB,IACMC,EAAS,eAETC,EACe,OADfA,EAEe,mBAGfC,EACA,OAAUF,EADVE,EAEA,OAAUF,EAGVG,EACS,mBADTA,EAES,6BAIfJ,EAAEK,UAAUC,GAAZ,GAAkBH,EAAcC,EAAqB,WACnD,IAAMG,EAASP,EAAEQ,MAAMC,QAAQL,GAE/BG,EAAOG,YAAYR,GAEbS,EAAcJ,EAAOK,KAAKR,GAE5BO,EAAYE,QACdF,EAAYD,YAAYR,KAEzBI,G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U5kB,kBAGZ4kB,EAjIU,CAkIhB3mB,EAAAA,S,sBRpIqB,E,gDKEN,E,eEKhB6lB,E"} \ No newline at end of file +{"version":3,"sources":["../assets/js/src/floating-label.js","../assets/js/src/expansion-panel.js","../assets/js/src/util.js","../assets/js/src/nav-drawer.js","../node_modules/pickadate/lib/picker.js","../node_modules/pickadate/lib/picker.date.js","../assets/js/src/pickdate.js","../node_modules/ripplet.js/es/ripplet.js","../assets/js/src/ripplet.js","../assets/js/src/tab-switch.js"],"sourcesContent":["import $ from 'jquery'\n\n/*\n * Floating label plugin moves inline label to float above the field\n * when a user engages with the assosciated text input field\n */\n\nconst FloatingLabel = (($) => {\n // constants >>>\n const DATA_KEY = 'md.floatinglabel'\n const EVENT_KEY = `.${DATA_KEY}`\n const NAME = 'floatinglabel'\n const NO_CONFLICT = $.fn[NAME]\n\n const ClassName = {\n IS_FOCUSED : 'is-focused',\n HAS_VALUE : 'has-value'\n }\n\n const Event = {\n CHANGE : `change${EVENT_KEY}`,\n FOCUSIN : `focusin${EVENT_KEY}`,\n FOCUSOUT : `focusout${EVENT_KEY}`\n }\n\n const Selector = {\n DATA_PARENT : '.floating-label',\n DATA_TOGGLE : '.floating-label .custom-select, .floating-label .form-control'\n }\n // <<< constants\n\n class FloatingLabel {\n constructor(element) {\n this._element = element\n this._parent = $(element).closest(Selector.DATA_PARENT)[0]\n }\n\n change() {\n if ($(this._element).val() ||\n $(this._element).is('select') &&\n $('option:first-child', $(this._element)).html().replace(' ', '') !== '') {\n $(this._parent).addClass(ClassName.HAS_VALUE)\n } else {\n $(this._parent).removeClass(ClassName.HAS_VALUE)\n }\n }\n\n focusin() {\n $(this._parent).addClass(ClassName.IS_FOCUSED)\n }\n\n focusout() {\n $(this._parent).removeClass(ClassName.IS_FOCUSED)\n }\n\n static _jQueryInterface(event) {\n return this.each(function () {\n const _event = event ? event : 'change'\n\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = new FloatingLabel(this)\n\n $(this).data(DATA_KEY, data)\n }\n\n if (typeof _event === 'string') {\n if (typeof data[_event] === 'undefined') {\n throw new Error(`No method named \"${_event}\"`)\n }\n\n data[_event]()\n }\n })\n }\n }\n\n $(document).on(`${Event.CHANGE} ${Event.FOCUSIN} ${Event.FOCUSOUT}`, Selector.DATA_TOGGLE, function (event) {\n FloatingLabel._jQueryInterface.call($(this), event.type)\n })\n\n $.fn[NAME] = FloatingLabel._jQueryInterface\n $.fn[NAME].Constructor = FloatingLabel\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = NO_CONFLICT\n\n return FloatingLabel._jQueryInterface\n }\n\n return FloatingLabel\n})($)\n\nexport default FloatingLabel\n","import $ from 'jquery'\n\n/*\n * Expansion panel plugins expands a collapsed panel in full upon selecting\n */\n\nconst ExpansionPanel = (($) => {\n // constants >>>\n const DATA_KEY = 'bs.collapse'\n const EVENT_KEY = `.${DATA_KEY}`\n\n const ClassName = {\n SHOW : 'show',\n SHOW_PREDECESSOR : 'show-predecessor'\n }\n\n const Event = {\n HIDE : `hide${EVENT_KEY}`,\n SHOW : `show${EVENT_KEY}`\n }\n\n const Selector = {\n PANEL : '.expansion-panel',\n PANEL_BODY : '.expansion-panel .collapse'\n }\n // <<< constants\n\n $(document).on(`${Event.HIDE}`, Selector.PANEL_BODY, function () {\n const target = $(this).closest(Selector.PANEL)\n\n target.removeClass(ClassName.SHOW)\n\n const predecessor = target.prev(Selector.PANEL)\n\n if (predecessor.length) {\n predecessor.removeClass(ClassName.SHOW_PREDECESSOR)\n }\n }).on(`${Event.SHOW}`, Selector.PANEL_BODY, function () {\n const target = $(this).closest(Selector.PANEL)\n\n target.addClass(ClassName.SHOW)\n\n const predecessor = target.prev(Selector.PANEL)\n\n if (predecessor.length) {\n predecessor.addClass(ClassName.SHOW_PREDECESSOR)\n }\n })\n})($)\n\nexport default ExpansionPanel\n","import $ from 'jquery'\n\n/*\n * Global util js\n * Based on Bootstrap's (v4.6.0) `util.js`\n */\n\n/**\n * ------------------------------------------------------------------------\n * Private TransitionEnd Helpers\n * ------------------------------------------------------------------------\n */\n\nconst TRANSITION_END = 'transitionend'\nconst MAX_UID = 1000000\nconst MILLISECONDS_MULTIPLIER = 1000\n\n// Shoutout AngusCroll (https://goo.gl/pxwQGp)\nfunction toType(obj) {\n if (obj === null || typeof obj === 'undefined') {\n return `${obj}`\n }\n\n return {}.toString.call(obj).match(/\\s([a-z]+)/i)[1].toLowerCase()\n}\n\nfunction getSpecialTransitionEndEvent() {\n return {\n bindType: TRANSITION_END,\n delegateType: TRANSITION_END,\n handle(event) {\n if ($(event.target).is(this)) {\n return event.handleObj.handler.apply(this, arguments) // eslint-disable-line prefer-rest-params\n }\n\n return undefined\n }\n }\n}\n\nfunction transitionEndEmulator(duration) {\n let called = false\n\n $(this).one(Util.TRANSITION_END, () => {\n called = true\n })\n\n setTimeout(() => {\n if (!called) {\n Util.triggerTransitionEnd(this)\n }\n }, duration)\n\n return this\n}\n\nfunction setTransitionEndSupport() {\n $.fn.emulateTransitionEnd = transitionEndEmulator\n $.event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent()\n}\n\n/**\n * --------------------------------------------------------------------------\n * Public Util Api\n * --------------------------------------------------------------------------\n */\n\nconst Util = {\n TRANSITION_END: 'bsTransitionEnd',\n\n getUID(prefix) {\n do {\n prefix += ~~(Math.random() * MAX_UID) // \"~~\" acts like a faster Math.floor() here\n } while (document.getElementById(prefix))\n\n return prefix\n },\n\n getSelectorFromElement(element) {\n let selector = element.getAttribute('data-target')\n\n if (!selector || selector === '#') {\n const hrefAttr = element.getAttribute('href')\n selector = hrefAttr && hrefAttr !== '#' ? hrefAttr.trim() : ''\n }\n\n try {\n return document.querySelector(selector) ? selector : null\n } catch (_) {\n return null\n }\n },\n\n getTransitionDurationFromElement(element) {\n if (!element) {\n return 0\n }\n\n // Get transition-duration of the element\n let transitionDuration = $(element).css('transition-duration')\n let transitionDelay = $(element).css('transition-delay')\n\n const floatTransitionDuration = parseFloat(transitionDuration)\n const floatTransitionDelay = parseFloat(transitionDelay)\n\n // Return 0 if element or transition duration is not found\n if (!floatTransitionDuration && !floatTransitionDelay) {\n return 0\n }\n\n // If multiple durations are defined, take the first\n transitionDuration = transitionDuration.split(',')[0]\n transitionDelay = transitionDelay.split(',')[0]\n\n return (parseFloat(transitionDuration) + parseFloat(transitionDelay)) * MILLISECONDS_MULTIPLIER\n },\n\n reflow(element) {\n return element.offsetHeight\n },\n\n triggerTransitionEnd(element) {\n $(element).trigger(TRANSITION_END)\n },\n\n supportsTransitionEnd() {\n return Boolean(TRANSITION_END)\n },\n\n isElement(obj) {\n return (obj[0] || obj).nodeType\n },\n\n typeCheckConfig(componentName, config, configTypes) {\n for (const property in configTypes) {\n if (Object.prototype.hasOwnProperty.call(configTypes, property)) {\n const expectedTypes = configTypes[property]\n const value = config[property]\n const valueType = value && Util.isElement(value) ?\n 'element' : toType(value)\n\n if (!new RegExp(expectedTypes).test(valueType)) {\n throw new Error(\n `${componentName.toUpperCase()}: ` +\n `Option \"${property}\" provided type \"${valueType}\" ` +\n `but expected type \"${expectedTypes}\".`)\n }\n }\n }\n },\n\n findShadowRoot(element) {\n if (!document.documentElement.attachShadow) {\n return null\n }\n\n // Can find the shadow root otherwise it'll return the document\n if (typeof element.getRootNode === 'function') {\n const root = element.getRootNode()\n return root instanceof ShadowRoot ? root : null\n }\n\n if (element instanceof ShadowRoot) {\n return element\n }\n\n // when we don't find a shadow root\n if (!element.parentNode) {\n return null\n }\n\n return Util.findShadowRoot(element.parentNode)\n },\n\n jQueryDetection() {\n if (typeof $ === 'undefined') {\n throw new TypeError('Bootstrap\\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\\'s JavaScript.')\n }\n\n const version = $.fn.jquery.split(' ')[0].split('.')\n const minMajor = 1\n const ltMajor = 2\n const minMinor = 9\n const minPatch = 1\n const maxMajor = 4\n\n if (version[0] < ltMajor && version[1] < minMinor || version[0] === minMajor && version[1] === minMinor && version[2] < minPatch || version[0] >= maxMajor) {\n throw new Error('Bootstrap\\'s JavaScript requires at least jQuery v1.9.1 but less than v4.0.0')\n }\n }\n}\n\nUtil.jQueryDetection()\nsetTransitionEndSupport()\n\nexport default Util\n","import $ from 'jquery'\nimport Util from './util'\n\n/*\n * Navigation drawer plguin\n * Based on Bootstrap's (v4.1.X) `modal.js`\n */\n\nconst NavDrawer = (($) => {\n // constants >>>\n const DATA_API_KEY = '.data-api'\n const DATA_KEY = 'md.navdrawer'\n const ESCAPE_KEYCODE = 27\n const EVENT_KEY = `.${DATA_KEY}`\n const NAME = 'navdrawer'\n const NO_CONFLICT = $.fn[NAME]\n\n const ClassName = {\n BACKDROP : 'navdrawer-backdrop',\n OPEN : 'navdrawer-open',\n SHOW : 'show'\n }\n\n const Default = {\n breakpoint : '',\n keyboard : true,\n show : true,\n type : 'default'\n }\n\n const DefaultType = {\n keyboard : 'boolean',\n show : 'boolean',\n type : 'string'\n }\n\n const Event = {\n CLICK_DATA_API : `click${EVENT_KEY}${DATA_API_KEY}`,\n CLICK_DISMISS : `click.dismiss${EVENT_KEY}`,\n FOCUSIN : `focusin${EVENT_KEY}`,\n HIDDEN : `hidden${EVENT_KEY}`,\n HIDE : `hide${EVENT_KEY}`,\n KEYDOWN_DISMISS : `keydown.dismiss${EVENT_KEY}`,\n MOUSEDOWN_DISMISS : `mousedown.dismiss${EVENT_KEY}`,\n MOUSEUP_DISMISS : `mouseup.dismiss${EVENT_KEY}`,\n SHOW : `show${EVENT_KEY}`,\n SHOWN : `shown${EVENT_KEY}`\n }\n\n const Selector = {\n CONTENT : '.navdrawer-content',\n DATA_DISMISS : '[data-dismiss=\"navdrawer\"]',\n DATA_TOGGLE : '[data-toggle=\"navdrawer\"]'\n }\n // <<< constants\n\n class NavDrawer {\n constructor(element, config) {\n this._backdrop = null\n this._config = this._getConfig(config)\n this._content = $(element).find(Selector.CONTENT)[0]\n this._element = element\n this._ignoreBackdropClick = false\n this._isShown = false\n this._typeBreakpoint = this._config.breakpoint === '' ? '' : `-${this._config.breakpoint}`\n }\n\n hide(event) {\n if (event) {\n event.preventDefault()\n }\n\n if (this._isTransitioning || !this._isShown) {\n return\n }\n\n const hideEvent = $.Event(Event.HIDE)\n\n $(this._element).trigger(hideEvent)\n\n if (!this._isShown || hideEvent.isDefaultPrevented()) {\n return\n }\n\n this._isShown = false\n\n this._isTransitioning = true\n\n this._setEscapeEvent()\n\n $(document).off(Event.FOCUSIN)\n\n $(document.body).removeClass(`${ClassName.OPEN}-${this._config.type}${this._typeBreakpoint}`)\n\n $(this._element).removeClass(ClassName.SHOW)\n\n $(this._element).off(Event.CLICK_DISMISS)\n\n $(this._content).off(Event.MOUSEDOWN_DISMISS)\n\n const transitionDuration = Util.getTransitionDurationFromElement(this._content)\n\n $(this._content)\n .one(Util.TRANSITION_END, (event) => this._hideNavdrawer(event))\n .emulateTransitionEnd(transitionDuration)\n\n this._showBackdrop()\n }\n\n show(relatedTarget) {\n if (this._isTransitioning || this._isShown) {\n return\n }\n\n this._isTransitioning = true\n\n const showEvent = $.Event(Event.SHOW, {\n relatedTarget\n })\n\n $(this._element).trigger(showEvent)\n\n if (this._isShown || showEvent.isDefaultPrevented()) {\n return\n }\n\n this._isShown = true\n\n this._setEscapeEvent()\n\n $(this._element).addClass(`${NAME}-${this._config.type}${this._typeBreakpoint}`)\n\n $(this._element).on(Event.CLICK_DISMISS, Selector.DATA_DISMISS, (event) => this.hide(event))\n\n $(this._content).on(Event.MOUSEDOWN_DISMISS, () => {\n $(this._element).one(Event.MOUSEUP_DISMISS, (event) => {\n if ($(event.target).is(this._element)) {\n this._ignoreBackdropClick = true\n }\n })\n })\n\n this._showBackdrop()\n this._showElement(relatedTarget)\n }\n\n toggle(relatedTarget) {\n return this._isShown ? this.hide() : this.show(relatedTarget)\n }\n\n _enforceFocus() {\n $(document)\n .off(Event.FOCUSIN)\n .on(Event.FOCUSIN, (event) => {\n if (document !== event.target &&\n this._element !== event.target &&\n $(this._element).has(event.target).length === 0) {\n this._element.focus()\n }\n })\n }\n\n _getConfig(config) {\n config = {\n ...Default,\n ...config\n }\n\n Util.typeCheckConfig(NAME, config, DefaultType)\n\n return config\n }\n\n _hideNavdrawer() {\n this._element.style.display = 'none'\n\n this._element.setAttribute('aria-hidden', true)\n\n this._isTransitioning = false\n\n $(this._element).trigger(Event.HIDDEN)\n }\n\n _removeBackdrop() {\n if (this._backdrop) {\n $(this._backdrop).remove()\n this._backdrop = null\n }\n }\n\n _setEscapeEvent() {\n if (this._isShown && this._config.keyboard) {\n $(this._element).on(Event.KEYDOWN_DISMISS, (event) => {\n if (event.which === ESCAPE_KEYCODE) {\n event.preventDefault()\n\n this.hide()\n }\n })\n } else if (!this._isShown) {\n $(this._element).off(Event.KEYDOWN_DISMISS)\n }\n }\n\n _showBackdrop() {\n if (this._isShown) {\n this._backdrop = document.createElement('div')\n\n $(this._backdrop)\n .addClass(ClassName.BACKDROP)\n .addClass(`${ClassName.BACKDROP}-${this._config.type}${this._typeBreakpoint}`)\n .appendTo(document.body)\n\n $(this._element).on(Event.CLICK_DISMISS, (event) => {\n if (this._ignoreBackdropClick) {\n this._ignoreBackdropClick = false\n\n return\n }\n\n if (event.target !== event.currentTarget) {\n return\n }\n\n this.hide()\n })\n\n Util.reflow(this._backdrop)\n\n $(this._backdrop).addClass(ClassName.SHOW)\n } else if (!this._isShown && this._backdrop) {\n $(this._backdrop).removeClass(ClassName.SHOW)\n\n this._removeBackdrop()\n }\n }\n\n _showElement(relatedTarget) {\n if (!this._element.parentNode ||\n this._element.parentNode.nodeType !== Node.ELEMENT_NODE) {\n document.body.appendChild(this._element)\n }\n\n this._element.style.display = 'block'\n\n this._element.removeAttribute('aria-hidden')\n\n Util.reflow(this._element)\n\n $(document.body).addClass(`${ClassName.OPEN}-${this._config.type}${this._typeBreakpoint}`)\n\n $(this._element).addClass(ClassName.SHOW)\n\n this._enforceFocus()\n\n const shownEvent = $.Event(Event.SHOWN, {\n relatedTarget\n })\n\n const transitionComplete = () => {\n this._element.focus()\n\n this._isTransitioning = false\n\n $(this._element).trigger(shownEvent)\n }\n\n const transitionDuration = Util.getTransitionDurationFromElement(this._content)\n\n $(this._content)\n .one(Util.TRANSITION_END, transitionComplete)\n .emulateTransitionEnd(transitionDuration)\n }\n\n static get Default() {\n return Default\n }\n\n static _jQueryInterface(config, relatedTarget) {\n return this.each(function () {\n const _config = {\n ...Default,\n ...$(this).data(),\n ...typeof config === 'object' && config ? config : {}\n }\n\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = new NavDrawer(this, _config)\n\n $(this).data(DATA_KEY, data)\n }\n\n if (typeof config === 'string') {\n if (typeof data[config] === 'undefined') {\n throw new TypeError(`No method named \"${config}\"`)\n }\n\n data[config](relatedTarget)\n } else if (_config.show) {\n data.show(relatedTarget)\n }\n })\n }\n }\n\n $(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {\n const selector = Util.getSelectorFromElement(this)\n\n let target\n\n if (selector) {\n target = $(selector)[0]\n }\n\n const config = $(target).data(DATA_KEY) ? 'toggle' : {\n ...$(target).data(),\n ...$(this).data()\n }\n\n if (this.tagName === 'A' || this.tagName === 'AREA') {\n event.preventDefault()\n }\n\n const $target = $(target).one(Event.SHOW, (showEvent) => {\n if (showEvent.isDefaultPrevented()) {\n return\n }\n\n $target.one(Event.HIDDEN, () => {\n if ($(this).is(':visible')) {\n this.focus()\n }\n })\n })\n\n NavDrawer._jQueryInterface.call($(target), config, this)\n })\n\n $.fn[NAME] = NavDrawer._jQueryInterface\n $.fn[NAME].Constructor = NavDrawer\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = NO_CONFLICT\n\n return NavDrawer._jQueryInterface\n }\n\n return NavDrawer\n})($)\n\nexport default NavDrawer\n","/*!\n * pickadate.js v3.6.4, 2019/05/25\n * By Amsul, http://amsul.ca\n * Hosted on http://amsul.github.io/pickadate.js\n * Licensed under MIT\n */\n\n(function ( factory ) {\n\n // AMD.\n if ( typeof define == 'function' && define.amd )\n define( 'picker', ['jquery'], factory )\n\n // Node.js/browserify.\n else if ( typeof exports == 'object' )\n module.exports = factory( require('jquery') )\n\n // Browser globals.\n else if ( typeof window == 'object' )\n window.Picker = factory( jQuery )\n \n else this.Picker = factory( jQuery )\n\n}(function( $ ) {\n\nvar $window = $( window )\nvar $document = $( document )\nvar $html = $( document.documentElement )\nvar supportsTransitions = document.documentElement.style.transition != null\n\n\n/**\n * The picker constructor that creates a blank picker.\n */\nfunction PickerConstructor( ELEMENT, NAME, COMPONENT, OPTIONS ) {\n\n // If there’s no element, return the picker constructor.\n if ( !ELEMENT ) return PickerConstructor\n\n\n var\n IS_DEFAULT_THEME = false,\n\n\n // The state of the picker.\n STATE = {\n id: ELEMENT.id || 'P' + Math.abs( ~~(Math.random() * new Date()) ),\n handlingOpen: false,\n },\n\n\n // Merge the defaults and options passed.\n SETTINGS = COMPONENT ? $.extend( true, {}, COMPONENT.defaults, OPTIONS ) : OPTIONS || {},\n\n\n // Merge the default classes with the settings classes.\n CLASSES = $.extend( {}, PickerConstructor.klasses(), SETTINGS.klass ),\n\n\n // The element node wrapper into a jQuery object.\n $ELEMENT = $( ELEMENT ),\n\n\n // Pseudo picker constructor.\n PickerInstance = function() {\n return this.start()\n },\n\n\n // The picker prototype.\n P = PickerInstance.prototype = {\n\n constructor: PickerInstance,\n\n $node: $ELEMENT,\n\n\n /**\n * Initialize everything\n */\n start: function() {\n\n // If it’s already started, do nothing.\n if ( STATE && STATE.start ) return P\n\n\n // Update the picker states.\n STATE.methods = {}\n STATE.start = true\n STATE.open = false\n STATE.type = ELEMENT.type\n\n\n // Confirm focus state, convert into text input to remove UA stylings,\n // and set as readonly to prevent keyboard popup.\n ELEMENT.autofocus = ELEMENT == getActiveElement()\n ELEMENT.readOnly = !SETTINGS.editable\n ELEMENT.id = ELEMENT.id || STATE.id\n if ( ELEMENT.type != 'text' ) {\n ELEMENT.type = 'text'\n }\n\n\n // Create a new picker component with the settings.\n P.component = new COMPONENT(P, SETTINGS)\n\n\n // Create the picker root and then prepare it.\n P.$root = $( '
' )\n prepareElementRoot()\n\n\n // Create the picker holder and then prepare it.\n P.$holder = $( createWrappedComponent() ).appendTo( P.$root )\n prepareElementHolder()\n\n\n // If there’s a format for the hidden input element, create the element.\n if ( SETTINGS.formatSubmit ) {\n prepareElementHidden()\n }\n\n\n // Prepare the input element.\n prepareElement()\n\n\n // Insert the hidden input as specified in the settings.\n if ( SETTINGS.containerHidden ) $( SETTINGS.containerHidden ).append( P._hidden )\n else $ELEMENT.after( P._hidden )\n\n\n // Insert the root as specified in the settings.\n if ( SETTINGS.container ) $( SETTINGS.container ).append( P.$root )\n else $ELEMENT.after( P.$root )\n\n\n // Bind the default component and settings events.\n P.on({\n start: P.component.onStart,\n render: P.component.onRender,\n stop: P.component.onStop,\n open: P.component.onOpen,\n close: P.component.onClose,\n set: P.component.onSet\n }).on({\n start: SETTINGS.onStart,\n render: SETTINGS.onRender,\n stop: SETTINGS.onStop,\n open: SETTINGS.onOpen,\n close: SETTINGS.onClose,\n set: SETTINGS.onSet\n })\n\n\n // Once we’re all set, check the theme in use.\n IS_DEFAULT_THEME = isUsingDefaultTheme( P.$holder[0] )\n\n\n // If the element has autofocus, open the picker.\n if ( ELEMENT.autofocus ) {\n P.open()\n }\n\n\n // Trigger queued the “start” and “render” events.\n return P.trigger( 'start' ).trigger( 'render' )\n }, //start\n\n\n /**\n * Render a new picker\n */\n render: function( entireComponent ) {\n\n // Insert a new component holder in the root or box.\n if ( entireComponent ) {\n P.$holder = $( createWrappedComponent() )\n prepareElementHolder()\n P.$root.html( P.$holder )\n }\n else P.$root.find( '.' + CLASSES.box ).html( P.component.nodes( STATE.open ) )\n\n // Trigger the queued “render” events.\n return P.trigger( 'render' )\n }, //render\n\n\n /**\n * Destroy everything\n */\n stop: function() {\n\n // If it’s already stopped, do nothing.\n if ( !STATE.start ) return P\n\n // Then close the picker.\n P.close()\n\n // Remove the hidden field.\n if ( P._hidden ) {\n P._hidden.parentNode.removeChild( P._hidden )\n }\n\n // Remove the root.\n P.$root.remove()\n\n // Remove the input class, remove the stored data, and unbind\n // the events (after a tick for IE - see `P.close`).\n $ELEMENT.removeClass( CLASSES.input ).removeData( NAME )\n setTimeout( function() {\n $ELEMENT.off( '.' + STATE.id )\n }, 0)\n\n // Restore the element state\n ELEMENT.type = STATE.type\n ELEMENT.readOnly = false\n\n // Trigger the queued “stop” events.\n P.trigger( 'stop' )\n\n // Reset the picker states.\n STATE.methods = {}\n STATE.start = false\n\n return P\n }, //stop\n\n\n /**\n * Open up the picker\n */\n open: function( dontGiveFocus ) {\n\n // If it’s already open, do nothing.\n if ( STATE.open ) return P\n\n // Add the “active” class.\n $ELEMENT.addClass( CLASSES.active )\n aria( ELEMENT, 'expanded', true )\n\n // * A Firefox bug, when `html` has `overflow:hidden`, results in\n // killing transitions :(. So add the “opened” state on the next tick.\n // Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=625289\n setTimeout( function() {\n\n // Add the “opened” class to the picker root.\n P.$root.addClass( CLASSES.opened )\n aria( P.$root[0], 'hidden', false )\n\n }, 0 )\n\n // If we have to give focus, bind the element and doc events.\n if ( dontGiveFocus !== false ) {\n\n // Set it as open.\n STATE.open = true\n\n // Prevent the page from scrolling.\n if ( IS_DEFAULT_THEME ) {\n $('body').\n css( 'overflow', 'hidden' ).\n css( 'padding-right', '+=' + getScrollbarWidth() )\n }\n\n // Pass focus to the root element’s jQuery object.\n focusPickerOnceOpened()\n\n // Bind the document events.\n $document.on( 'click.' + STATE.id + ' focusin.' + STATE.id, function( event ) {\n // If the picker is currently midway through processing\n // the opening sequence of events then don't handle clicks\n // on any part of the DOM. This is caused by a bug in Chrome 73\n // where a click event is being generated with the incorrect\n // path in it.\n // In short, if someone does a click that finishes after the\n // new element is created then the path contains only the\n // parent element and not the input element itself.\n if (STATE.handlingOpen) {\n return;\n }\n\n var target = getRealEventTarget( event, ELEMENT )\n\n // If the target of the event is not the element, close the picker picker.\n // * Don’t worry about clicks or focusins on the root because those don’t bubble up.\n // Also, for Firefox, a click on an `option` element bubbles up directly\n // to the doc. So make sure the target wasn't the doc.\n // * In Firefox stopPropagation() doesn’t prevent right-click events from bubbling,\n // which causes the picker to unexpectedly close when right-clicking it. So make\n // sure the event wasn’t a right-click.\n // * In Chrome 62 and up, password autofill causes a simulated focusin event which\n // closes the picker.\n if ( ! event.isSimulated && target != ELEMENT && target != document && event.which != 3 ) {\n\n // If the target was the holder that covers the screen,\n // keep the element focused to maintain tabindex.\n P.close( target === P.$holder[0] )\n }\n\n }).on( 'keydown.' + STATE.id, function( event ) {\n\n var\n // Get the keycode.\n keycode = event.keyCode,\n\n // Translate that to a selection change.\n keycodeToMove = P.component.key[ keycode ],\n\n // Grab the target.\n target = getRealEventTarget( event, ELEMENT )\n\n\n // On escape, close the picker and give focus.\n if ( keycode == 27 ) {\n P.close( true )\n }\n\n\n // Check if there is a key movement or “enter” keypress on the element.\n else if ( target == P.$holder[0] && ( keycodeToMove || keycode == 13 ) ) {\n\n // Prevent the default action to stop page movement.\n event.preventDefault()\n\n // Trigger the key movement action.\n if ( keycodeToMove ) {\n PickerConstructor._.trigger( P.component.key.go, P, [ PickerConstructor._.trigger( keycodeToMove ) ] )\n }\n\n // On “enter”, if the highlighted item isn’t disabled, set the value and close.\n else if ( !P.$root.find( '.' + CLASSES.highlighted ).hasClass( CLASSES.disabled ) ) {\n P.set( 'select', P.component.item.highlight )\n if ( SETTINGS.closeOnSelect ) {\n P.close( true )\n }\n }\n }\n\n\n // If the target is within the root and “enter” is pressed,\n // prevent the default action and trigger a click on the target instead.\n else if ( $.contains( P.$root[0], target ) && keycode == 13 ) {\n event.preventDefault()\n target.click()\n }\n })\n }\n\n // Trigger the queued “open” events.\n return P.trigger( 'open' )\n }, //open\n\n\n /**\n * Close the picker\n */\n close: function( giveFocus ) {\n\n // If we need to give focus, do it before changing states.\n if ( giveFocus ) {\n if ( SETTINGS.editable ) {\n ELEMENT.focus()\n }\n else {\n // ....ah yes! It would’ve been incomplete without a crazy workaround for IE :|\n // The focus is triggered *after* the close has completed - causing it\n // to open again. So unbind and rebind the event at the next tick.\n P.$holder.off( 'focus.toOpen' ).focus()\n setTimeout( function() {\n P.$holder.on( 'focus.toOpen', handleFocusToOpenEvent )\n }, 0 )\n }\n }\n\n // Remove the “active” class.\n $ELEMENT.removeClass( CLASSES.active )\n aria( ELEMENT, 'expanded', false )\n\n // * A Firefox bug, when `html` has `overflow:hidden`, results in\n // killing transitions :(. So remove the “opened” state on the next tick.\n // Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=625289\n setTimeout( function() {\n\n // Remove the “opened” and “focused” class from the picker root.\n P.$root.removeClass( CLASSES.opened + ' ' + CLASSES.focused )\n aria( P.$root[0], 'hidden', true )\n\n }, 0 )\n\n // If it’s already closed, do nothing more.\n if ( !STATE.open ) return P\n\n // Set it as closed.\n STATE.open = false\n\n // Allow the page to scroll.\n if ( IS_DEFAULT_THEME ) {\n $('body').\n css( 'overflow', '' ).\n css( 'padding-right', '-=' + getScrollbarWidth() )\n }\n\n // Unbind the document events.\n $document.off( '.' + STATE.id )\n\n // Trigger the queued “close” events.\n return P.trigger( 'close' )\n }, //close\n\n\n /**\n * Clear the values\n */\n clear: function( options ) {\n return P.set( 'clear', null, options )\n }, //clear\n\n\n /**\n * Set something\n */\n set: function( thing, value, options ) {\n\n var thingItem, thingValue,\n thingIsObject = $.isPlainObject( thing ),\n thingObject = thingIsObject ? thing : {}\n\n // Make sure we have usable options.\n options = thingIsObject && $.isPlainObject( value ) ? value : options || {}\n\n if ( thing ) {\n\n // If the thing isn’t an object, make it one.\n if ( !thingIsObject ) {\n thingObject[ thing ] = value\n }\n\n // Go through the things of items to set.\n for ( thingItem in thingObject ) {\n\n // Grab the value of the thing.\n thingValue = thingObject[ thingItem ]\n\n // First, if the item exists and there’s a value, set it.\n if ( thingItem in P.component.item ) {\n if ( thingValue === undefined ) thingValue = null\n P.component.set( thingItem, thingValue, options )\n }\n\n // Then, check to update the element value and broadcast a change.\n if ( ( thingItem == 'select' || thingItem == 'clear' ) && SETTINGS.updateInput ) {\n $ELEMENT.\n val( thingItem == 'clear' ? '' : P.get( thingItem, SETTINGS.format ) ).\n trigger( 'change' )\n }\n }\n\n // Render a new picker.\n P.render()\n }\n\n // When the method isn’t muted, trigger queued “set” events and pass the `thingObject`.\n return options.muted ? P : P.trigger( 'set', thingObject )\n }, //set\n\n\n /**\n * Get something\n */\n get: function( thing, format ) {\n\n // Make sure there’s something to get.\n thing = thing || 'value'\n\n // If a picker state exists, return that.\n if ( STATE[ thing ] != null ) {\n return STATE[ thing ]\n }\n\n // Return the submission value, if that.\n if ( thing == 'valueSubmit' ) {\n if ( P._hidden ) {\n return P._hidden.value\n }\n thing = 'value'\n }\n\n // Return the value, if that.\n if ( thing == 'value' ) {\n return ELEMENT.value\n }\n\n // Check if a component item exists, return that.\n if ( thing in P.component.item ) {\n if ( typeof format == 'string' ) {\n var thingValue = P.component.get( thing )\n return thingValue ?\n PickerConstructor._.trigger(\n P.component.formats.toString,\n P.component,\n [ format, thingValue ]\n ) : ''\n }\n return P.component.get( thing )\n }\n }, //get\n\n\n\n /**\n * Bind events on the things.\n */\n on: function( thing, method, internal ) {\n\n var thingName, thingMethod,\n thingIsObject = $.isPlainObject( thing ),\n thingObject = thingIsObject ? thing : {}\n\n if ( thing ) {\n\n // If the thing isn’t an object, make it one.\n if ( !thingIsObject ) {\n thingObject[ thing ] = method\n }\n\n // Go through the things to bind to.\n for ( thingName in thingObject ) {\n\n // Grab the method of the thing.\n thingMethod = thingObject[ thingName ]\n\n // If it was an internal binding, prefix it.\n if ( internal ) {\n thingName = '_' + thingName\n }\n\n // Make sure the thing methods collection exists.\n STATE.methods[ thingName ] = STATE.methods[ thingName ] || []\n\n // Add the method to the relative method collection.\n STATE.methods[ thingName ].push( thingMethod )\n }\n }\n\n return P\n }, //on\n\n\n\n /**\n * Unbind events on the things.\n */\n off: function() {\n var i, thingName,\n names = arguments;\n for ( i = 0, namesCount = names.length; i < namesCount; i += 1 ) {\n thingName = names[i]\n if ( thingName in STATE.methods ) {\n delete STATE.methods[thingName]\n }\n }\n return P\n },\n\n\n /**\n * Fire off method events.\n */\n trigger: function( name, data ) {\n var _trigger = function( name ) {\n var methodList = STATE.methods[ name ]\n if ( methodList ) {\n methodList.map( function( method ) {\n PickerConstructor._.trigger( method, P, [ data ] )\n })\n }\n }\n _trigger( '_' + name )\n _trigger( name )\n return P\n } //trigger\n } //PickerInstance.prototype\n\n\n /**\n * Wrap the picker holder components together.\n */\n function createWrappedComponent() {\n\n // Create a picker wrapper holder\n return PickerConstructor._.node( 'div',\n\n // Create a picker wrapper node\n PickerConstructor._.node( 'div',\n\n // Create a picker frame\n PickerConstructor._.node( 'div',\n\n // Create a picker box node\n PickerConstructor._.node( 'div',\n\n // Create the components nodes.\n P.component.nodes( STATE.open ),\n\n // The picker box class\n CLASSES.box\n ),\n\n // Picker wrap class\n CLASSES.wrap\n ),\n\n // Picker frame class\n CLASSES.frame\n ),\n\n // Picker holder class\n CLASSES.holder,\n\n 'tabindex=\"-1\"'\n ) //endreturn\n } //createWrappedComponent\n\n /**\n * Prepare the input element with all bindings.\n */\n function prepareElement() {\n\n $ELEMENT.\n\n // Store the picker data by component name.\n data(NAME, P).\n\n // Add the “input” class name.\n addClass(CLASSES.input).\n\n // If there’s a `data-value`, update the value of the element.\n val( $ELEMENT.data('value') ?\n P.get('select', SETTINGS.format) :\n ELEMENT.value\n ).\n\n // On focus/click, open the picker.\n on( 'focus.' + STATE.id + ' click.' + STATE.id,\n function(event) {\n event.preventDefault()\n P.open()\n }\n )\n\n // Mousedown handler to capture when the user starts interacting\n // with the picker. This is used in working around a bug in Chrome 73.\n .on('mousedown', function() {\n STATE.handlingOpen = true;\n var handler = function() {\n // By default mouseup events are fired before a click event.\n // By using a timeout we can force the mouseup to be handled\n // after the corresponding click event is handled.\n setTimeout(function() {\n $(document).off('mouseup', handler);\n STATE.handlingOpen = false;\n }, 0);\n };\n $(document).on('mouseup', handler);\n });\n\n\n // Only bind keydown events if the element isn’t editable.\n if ( !SETTINGS.editable ) {\n\n $ELEMENT.\n\n // Handle keyboard event based on the picker being opened or not.\n on( 'keydown.' + STATE.id, handleKeydownEvent )\n }\n\n\n // Update the aria attributes.\n aria(ELEMENT, {\n haspopup: true,\n expanded: false,\n readonly: false,\n owns: ELEMENT.id + '_root'\n })\n }\n\n\n /**\n * Prepare the root picker element with all bindings.\n */\n function prepareElementRoot() {\n aria( P.$root[0], 'hidden', true )\n }\n\n\n /**\n * Prepare the holder picker element with all bindings.\n */\n function prepareElementHolder() {\n\n P.$holder.\n\n on({\n\n // For iOS8.\n keydown: handleKeydownEvent,\n\n 'focus.toOpen': handleFocusToOpenEvent,\n\n blur: function() {\n // Remove the “target” class.\n $ELEMENT.removeClass( CLASSES.target )\n },\n\n // When something within the holder is focused, stop from bubbling\n // to the doc and remove the “focused” state from the root.\n focusin: function( event ) {\n P.$root.removeClass( CLASSES.focused )\n event.stopPropagation()\n },\n\n // When something within the holder is clicked, stop it\n // from bubbling to the doc.\n 'mousedown click': function( event ) {\n\n var target = getRealEventTarget( event, ELEMENT )\n\n // Make sure the target isn’t the root holder so it can bubble up.\n if ( target != P.$holder[0] ) {\n\n event.stopPropagation()\n\n // * For mousedown events, cancel the default action in order to\n // prevent cases where focus is shifted onto external elements\n // when using things like jQuery mobile or MagnificPopup (ref: #249 & #120).\n // Also, for Firefox, don’t prevent action on the `option` element.\n if ( event.type == 'mousedown' && !$( target ).is( 'input, select, textarea, button, option' )) {\n\n event.preventDefault()\n\n // Re-focus onto the holder so that users can click away\n // from elements focused within the picker.\n P.$holder.eq(0).focus()\n }\n }\n }\n\n }).\n\n // If there’s a click on an actionable element, carry out the actions.\n on( 'click', '[data-pick], [data-nav], [data-clear], [data-close]', function() {\n\n var $target = $( this ),\n targetData = $target.data(),\n targetDisabled = $target.hasClass( CLASSES.navDisabled ) || $target.hasClass( CLASSES.disabled ),\n\n // * For IE, non-focusable elements can be active elements as well\n // (http://stackoverflow.com/a/2684561).\n activeElement = getActiveElement()\n activeElement = activeElement && ( (activeElement.type || activeElement.href ) ? activeElement : null);\n\n // If it’s disabled or nothing inside is actively focused, re-focus the element.\n if ( targetDisabled || activeElement && !$.contains( P.$root[0], activeElement ) ) {\n P.$holder.eq(0).focus()\n }\n\n // If something is superficially changed, update the `highlight` based on the `nav`.\n if ( !targetDisabled && targetData.nav ) {\n P.set( 'highlight', P.component.item.highlight, { nav: targetData.nav } )\n }\n\n // If something is picked, set `select` then close with focus.\n else if ( !targetDisabled && 'pick' in targetData ) {\n P.set( 'select', targetData.pick )\n if ( SETTINGS.closeOnSelect ) {\n P.close( true )\n }\n }\n\n // If a “clear” button is pressed, empty the values and close with focus.\n else if ( targetData.clear ) {\n P.clear()\n if ( SETTINGS.closeOnClear ) {\n P.close( true )\n }\n }\n\n else if ( targetData.close ) {\n P.close( true )\n }\n\n }) //P.$holder\n\n }\n\n\n /**\n * Prepare the hidden input element along with all bindings.\n */\n function prepareElementHidden() {\n\n var name\n\n if ( SETTINGS.hiddenName === true ) {\n name = ELEMENT.name\n ELEMENT.name = ''\n }\n else {\n name = [\n typeof SETTINGS.hiddenPrefix == 'string' ? SETTINGS.hiddenPrefix : '',\n typeof SETTINGS.hiddenSuffix == 'string' ? SETTINGS.hiddenSuffix : '_submit'\n ]\n name = name[0] + ELEMENT.name + name[1]\n }\n\n P._hidden = $(\n ''\n )[0]\n\n $ELEMENT.\n\n // If the value changes, update the hidden input with the correct format.\n on('change.' + STATE.id, function() {\n P._hidden.value = ELEMENT.value ?\n P.get('select', SETTINGS.formatSubmit) :\n ''\n })\n }\n\n\n // Wait for transitions to end before focusing the holder. Otherwise, while\n // using the `container` option, the view jumps to the container.\n function focusPickerOnceOpened() {\n\n if (IS_DEFAULT_THEME && supportsTransitions) {\n P.$holder.find('.' + CLASSES.frame).one('transitionend', function() {\n P.$holder.eq(0).focus()\n })\n }\n else {\n setTimeout(function() {\n P.$holder.eq(0).focus()\n }, 0)\n }\n }\n\n\n function handleFocusToOpenEvent(event) {\n\n // Stop the event from propagating to the doc.\n event.stopPropagation()\n\n // Add the “target” class.\n $ELEMENT.addClass( CLASSES.target )\n\n // Add the “focused” class to the root.\n P.$root.addClass( CLASSES.focused )\n\n // And then finally open the picker.\n P.open()\n }\n\n\n // For iOS8.\n function handleKeydownEvent( event ) {\n\n var keycode = event.keyCode,\n\n // Check if one of the delete keys was pressed.\n isKeycodeDelete = /^(8|46)$/.test(keycode)\n\n // For some reason IE clears the input value on “escape”.\n if ( keycode == 27 ) {\n P.close( true )\n return false\n }\n\n // Check if `space` or `delete` was pressed or the picker is closed with a key movement.\n if ( keycode == 32 || isKeycodeDelete || !STATE.open && P.component.key[keycode] ) {\n\n // Prevent it from moving the page and bubbling to doc.\n event.preventDefault()\n event.stopPropagation()\n\n // If `delete` was pressed, clear the values and close the picker.\n // Otherwise open the picker.\n if ( isKeycodeDelete ) { P.clear().close() }\n else { P.open() }\n }\n }\n\n\n // Return a new picker instance.\n return new PickerInstance()\n} //PickerConstructor\n\n\n\n/**\n * The default classes and prefix to use for the HTML classes.\n */\nPickerConstructor.klasses = function( prefix ) {\n prefix = prefix || 'picker'\n return {\n\n picker: prefix,\n opened: prefix + '--opened',\n focused: prefix + '--focused',\n\n input: prefix + '__input',\n active: prefix + '__input--active',\n target: prefix + '__input--target',\n\n holder: prefix + '__holder',\n\n frame: prefix + '__frame',\n wrap: prefix + '__wrap',\n\n box: prefix + '__box'\n }\n} //PickerConstructor.klasses\n\n\n\n/**\n * Check if the default theme is being used.\n */\nfunction isUsingDefaultTheme( element ) {\n\n var theme,\n prop = 'position'\n\n // For IE.\n if ( element.currentStyle ) {\n theme = element.currentStyle[prop]\n }\n\n // For normal browsers.\n else if ( window.getComputedStyle ) {\n theme = getComputedStyle( element )[prop]\n }\n\n return theme == 'fixed'\n}\n\n\n\n/**\n * Get the width of the browser’s scrollbar.\n * Taken from: https://github.com/VodkaBears/Remodal/blob/master/src/jquery.remodal.js\n */\nfunction getScrollbarWidth() {\n\n if ( $html.height() <= $window.height() ) {\n return 0\n }\n\n var $outer = $( '
' ).\n appendTo( 'body' )\n\n // Get the width without scrollbars.\n var widthWithoutScroll = $outer[0].offsetWidth\n\n // Force adding scrollbars.\n $outer.css( 'overflow', 'scroll' )\n\n // Add the inner div.\n var $inner = $( '
' ).appendTo( $outer )\n\n // Get the width with scrollbars.\n var widthWithScroll = $inner[0].offsetWidth\n\n // Remove the divs.\n $outer.remove()\n\n // Return the difference between the widths.\n return widthWithoutScroll - widthWithScroll\n}\n\n\n\n/**\n * Get the target element from the event.\n * If ELEMENT is supplied and present in the event path (ELEMENT is ancestor of the target),\n * returns ELEMENT instead\n */\nfunction getRealEventTarget( event, ELEMENT ) {\n\n var path = []\n\n if ( event.path ) {\n path = event.path\n }\n\n if ( event.originalEvent && event.originalEvent.path ) {\n path = event.originalEvent.path\n }\n\n if ( path && path.length > 0 ) {\n if ( ELEMENT && path.indexOf( ELEMENT ) >= 0 ) {\n return ELEMENT\n } else {\n return path[0]\n }\n }\n\n return event.target\n}\n\n/**\n * PickerConstructor helper methods.\n */\nPickerConstructor._ = {\n\n /**\n * Create a group of nodes. Expects:\n * `\n {\n min: {Integer},\n max: {Integer},\n i: {Integer},\n node: {String},\n item: {Function}\n }\n * `\n */\n group: function( groupObject ) {\n\n var\n // Scope for the looped object\n loopObjectScope,\n\n // Create the nodes list\n nodesList = '',\n\n // The counter starts from the `min`\n counter = PickerConstructor._.trigger( groupObject.min, groupObject )\n\n\n // Loop from the `min` to `max`, incrementing by `i`\n for ( ; counter <= PickerConstructor._.trigger( groupObject.max, groupObject, [ counter ] ); counter += groupObject.i ) {\n\n // Trigger the `item` function within scope of the object\n loopObjectScope = PickerConstructor._.trigger( groupObject.item, groupObject, [ counter ] )\n\n // Splice the subgroup and create nodes out of the sub nodes\n nodesList += PickerConstructor._.node(\n groupObject.node,\n loopObjectScope[ 0 ], // the node\n loopObjectScope[ 1 ], // the classes\n loopObjectScope[ 2 ] // the attributes\n )\n }\n\n // Return the list of nodes\n return nodesList\n }, //group\n\n\n /**\n * Create a dom node string\n */\n node: function( wrapper, item, klass, attribute ) {\n\n // If the item is false-y, just return an empty string\n if ( !item ) return ''\n\n // If the item is an array, do a join\n item = $.isArray( item ) ? item.join( '' ) : item\n\n // Check for the class\n klass = klass ? ' class=\"' + klass + '\"' : ''\n\n // Check for any attributes\n attribute = attribute ? ' ' + attribute : ''\n\n // Return the wrapped item\n return '<' + wrapper + klass + attribute + '>' + item + ''\n }, //node\n\n\n /**\n * Lead numbers below 10 with a zero.\n */\n lead: function( number ) {\n return ( number < 10 ? '0': '' ) + number\n },\n\n\n /**\n * Trigger a function otherwise return the value.\n */\n trigger: function( callback, scope, args ) {\n return typeof callback == 'function' ? callback.apply( scope, args || [] ) : callback\n },\n\n\n /**\n * If the second character is a digit, length is 2 otherwise 1.\n */\n digits: function( string ) {\n return ( /\\d/ ).test( string[ 1 ] ) ? 2 : 1\n },\n\n\n /**\n * Tell if something is a date object.\n */\n isDate: function( value ) {\n return {}.toString.call( value ).indexOf( 'Date' ) > -1 && this.isInteger( value.getDate() )\n },\n\n\n /**\n * Tell if something is an integer.\n */\n isInteger: function( value ) {\n return {}.toString.call( value ).indexOf( 'Number' ) > -1 && value % 1 === 0\n },\n\n\n /**\n * Create ARIA attribute strings.\n */\n ariaAttr: ariaAttr\n} //PickerConstructor._\n\n\n\n/**\n * Extend the picker with a component and defaults.\n */\nPickerConstructor.extend = function( name, Component ) {\n\n // Extend jQuery.\n $.fn[ name ] = function( options, action ) {\n\n // Grab the component data.\n var componentData = this.data( name )\n\n // If the picker is requested, return the data object.\n if ( options == 'picker' ) {\n return componentData\n }\n\n // If the component data exists and `options` is a string, carry out the action.\n if ( componentData && typeof options == 'string' ) {\n return PickerConstructor._.trigger( componentData[ options ], componentData, [ action ] )\n }\n\n // Otherwise go through each matched element and if the component\n // doesn’t exist, create a new picker using `this` element\n // and merging the defaults and options with a deep copy.\n return this.each( function() {\n var $this = $( this )\n if ( !$this.data( name ) ) {\n new PickerConstructor( this, name, Component, options )\n }\n })\n }\n\n // Set the defaults.\n $.fn[ name ].defaults = Component.defaults\n} //PickerConstructor.extend\n\n\n\nfunction aria(element, attribute, value) {\n if ( $.isPlainObject(attribute) ) {\n for ( var key in attribute ) {\n ariaSet(element, key, attribute[key])\n }\n }\n else {\n ariaSet(element, attribute, value)\n }\n}\nfunction ariaSet(element, attribute, value) {\n element.setAttribute(\n (attribute == 'role' ? '' : 'aria-') + attribute,\n value\n )\n}\nfunction ariaAttr(attribute, data) {\n if ( !$.isPlainObject(attribute) ) {\n attribute = { attribute: data }\n }\n data = ''\n for ( var key in attribute ) {\n var attr = (key == 'role' ? '' : 'aria-') + key,\n attrVal = attribute[key]\n data += attrVal == null ? '' : attr + '=\"' + attribute[key] + '\"'\n }\n return data\n}\n\n// IE8 bug throws an error for activeElements within iframes.\nfunction getActiveElement() {\n try {\n return document.activeElement\n } catch ( err ) { }\n}\n\n\n\n// Expose the picker constructor.\nreturn PickerConstructor\n\n\n}));\n","/*!\n * Date picker for pickadate.js v3.6.4\n * http://amsul.github.io/pickadate.js/date.htm\n */\n\n(function ( factory ) {\n\n // AMD.\n if ( typeof define == 'function' && define.amd )\n define( ['./picker', 'jquery'], factory )\n\n // Node.js/browserify.\n else if ( typeof exports == 'object' )\n module.exports = factory( require('./picker.js'), require('jquery') )\n\n // Browser globals.\n else factory( Picker, jQuery )\n\n}(function( Picker, $ ) {\n\n\n/**\n * Globals and constants\n */\nvar DAYS_IN_WEEK = 7,\n WEEKS_IN_CALENDAR = 6,\n _ = Picker._\n\n\n\n/**\n * The date picker constructor\n */\nfunction DatePicker( picker, settings ) {\n\n var calendar = this,\n element = picker.$node[ 0 ],\n elementValue = element.value,\n elementDataValue = picker.$node.data( 'value' ),\n valueString = elementDataValue || elementValue,\n formatString = elementDataValue ? settings.formatSubmit : settings.format,\n isRTL = function() {\n\n return element.currentStyle ?\n\n // For IE.\n element.currentStyle.direction == 'rtl' :\n\n // For normal browsers.\n getComputedStyle( picker.$root[0] ).direction == 'rtl'\n }\n\n calendar.settings = settings\n calendar.$node = picker.$node\n\n // The queue of methods that will be used to build item objects.\n calendar.queue = {\n min: 'measure create',\n max: 'measure create',\n now: 'now create',\n select: 'parse create validate',\n highlight: 'parse navigate create validate',\n view: 'parse create validate viewset',\n disable: 'deactivate',\n enable: 'activate'\n }\n\n // The component's item object.\n calendar.item = {}\n\n calendar.item.clear = null\n calendar.item.disable = ( settings.disable || [] ).slice( 0 )\n calendar.item.enable = -(function( collectionDisabled ) {\n return collectionDisabled[ 0 ] === true ? collectionDisabled.shift() : -1\n })( calendar.item.disable )\n\n calendar.\n set( 'min', settings.min ).\n set( 'max', settings.max ).\n set( 'now' )\n\n // When there’s a value, set the `select`, which in turn\n // also sets the `highlight` and `view`.\n if ( valueString ) {\n calendar.set( 'select', valueString, {\n format: formatString,\n defaultValue: true\n })\n }\n\n // If there’s no value, default to highlighting “today”.\n else {\n calendar.\n set( 'select', null ).\n set( 'highlight', calendar.item.now )\n }\n\n\n // The keycode to movement mapping.\n calendar.key = {\n 40: 7, // Down\n 38: -7, // Up\n 39: function() { return isRTL() ? -1 : 1 }, // Right\n 37: function() { return isRTL() ? 1 : -1 }, // Left\n go: function( timeChange ) {\n var highlightedObject = calendar.item.highlight,\n targetDate = new Date( highlightedObject.year, highlightedObject.month, highlightedObject.date + timeChange )\n calendar.set(\n 'highlight',\n targetDate,\n { interval: timeChange }\n )\n this.render()\n }\n }\n\n\n // Bind some picker events.\n picker.\n on( 'render', function() {\n picker.$root.find( '.' + settings.klass.selectMonth ).on( 'change', function() {\n var value = this.value\n if ( value ) {\n picker.set( 'highlight', [ picker.get( 'view' ).year, value, picker.get( 'highlight' ).date ] )\n picker.$root.find( '.' + settings.klass.selectMonth ).trigger( 'focus' )\n }\n })\n picker.$root.find( '.' + settings.klass.selectYear ).on( 'change', function() {\n var value = this.value\n if ( value ) {\n picker.set( 'highlight', [ value, picker.get( 'view' ).month, picker.get( 'highlight' ).date ] )\n picker.$root.find( '.' + settings.klass.selectYear ).trigger( 'focus' )\n }\n })\n }, 1 ).\n on( 'open', function() {\n var includeToday = ''\n if ( calendar.disabled( calendar.get('now') ) ) {\n includeToday = ':not(.' + settings.klass.buttonToday + ')'\n }\n picker.$root.find( 'button' + includeToday + ', select' ).attr( 'disabled', false )\n }, 1 ).\n on( 'close', function() {\n picker.$root.find( 'button, select' ).attr( 'disabled', true )\n }, 1 )\n\n} //DatePicker\n\n\n/**\n * Set a datepicker item object.\n */\nDatePicker.prototype.set = function( type, value, options ) {\n\n var calendar = this,\n calendarItem = calendar.item\n\n // If the value is `null` just set it immediately.\n if ( value === null ) {\n if ( type == 'clear' ) type = 'select'\n calendarItem[ type ] = value\n return calendar\n }\n\n // Otherwise go through the queue of methods, and invoke the functions.\n // Update this as the time unit, and set the final value as this item.\n // * In the case of `enable`, keep the queue but set `disable` instead.\n // And in the case of `flip`, keep the queue but set `enable` instead.\n calendarItem[ ( type == 'enable' ? 'disable' : type == 'flip' ? 'enable' : type ) ] = calendar.queue[ type ].split( ' ' ).map( function( method ) {\n value = calendar[ method ]( type, value, options )\n return value\n }).pop()\n\n // Check if we need to cascade through more updates.\n if ( type == 'select' ) {\n calendar.set( 'highlight', calendarItem.select, options )\n }\n else if ( type == 'highlight' ) {\n calendar.set( 'view', calendarItem.highlight, options )\n }\n else if ( type.match( /^(flip|min|max|disable|enable)$/ ) ) {\n if ( calendarItem.select && calendar.disabled( calendarItem.select ) ) {\n calendar.set( 'select', calendarItem.select, options )\n }\n if ( calendarItem.highlight && calendar.disabled( calendarItem.highlight ) ) {\n calendar.set( 'highlight', calendarItem.highlight, options )\n }\n }\n\n return calendar\n} //DatePicker.prototype.set\n\n\n/**\n * Get a datepicker item object.\n */\nDatePicker.prototype.get = function( type ) {\n return this.item[ type ]\n} //DatePicker.prototype.get\n\n\n/**\n * Create a picker date object.\n */\nDatePicker.prototype.create = function( type, value, options ) {\n\n var isInfiniteValue,\n calendar = this\n\n // If there’s no value, use the type as the value.\n value = value === undefined ? type : value\n\n\n // If it’s infinity, update the value.\n if ( value == -Infinity || value == Infinity ) {\n isInfiniteValue = value\n }\n\n // If it’s an object, use the native date object.\n else if ( $.isPlainObject( value ) && _.isInteger( value.pick ) ) {\n value = value.obj\n }\n\n // If it’s an array, convert it into a date and make sure\n // that it’s a valid date – otherwise default to today.\n else if ( $.isArray( value ) ) {\n value = new Date( value[ 0 ], value[ 1 ], value[ 2 ] )\n value = _.isDate( value ) ? value : calendar.create().obj\n }\n\n // If it’s a number or date object, make a normalized date.\n else if ( _.isInteger( value ) || _.isDate( value ) ) {\n value = calendar.normalize( new Date( value ), options )\n }\n\n // If it’s a literal true or any other case, set it to now.\n else /*if ( value === true )*/ {\n value = calendar.now( type, value, options )\n }\n\n // Return the compiled object.\n return {\n year: isInfiniteValue || value.getFullYear(),\n month: isInfiniteValue || value.getMonth(),\n date: isInfiniteValue || value.getDate(),\n day: isInfiniteValue || value.getDay(),\n obj: isInfiniteValue || value,\n pick: isInfiniteValue || value.getTime()\n }\n} //DatePicker.prototype.create\n\n\n/**\n * Create a range limit object using an array, date object,\n * literal “true”, or integer relative to another time.\n */\nDatePicker.prototype.createRange = function( from, to ) {\n\n var calendar = this,\n createDate = function( date ) {\n if ( date === true || $.isArray( date ) || _.isDate( date ) ) {\n return calendar.create( date )\n }\n return date\n }\n\n // Create objects if possible.\n if ( !_.isInteger( from ) ) {\n from = createDate( from )\n }\n if ( !_.isInteger( to ) ) {\n to = createDate( to )\n }\n\n // Create relative dates.\n if ( _.isInteger( from ) && $.isPlainObject( to ) ) {\n from = [ to.year, to.month, to.date + from ];\n }\n else if ( _.isInteger( to ) && $.isPlainObject( from ) ) {\n to = [ from.year, from.month, from.date + to ];\n }\n\n return {\n from: createDate( from ),\n to: createDate( to )\n }\n} //DatePicker.prototype.createRange\n\n\n/**\n * Check if a date unit falls within a date range object.\n */\nDatePicker.prototype.withinRange = function( range, dateUnit ) {\n range = this.createRange(range.from, range.to)\n return dateUnit.pick >= range.from.pick && dateUnit.pick <= range.to.pick\n}\n\n\n/**\n * Check if two date range objects overlap.\n */\nDatePicker.prototype.overlapRanges = function( one, two ) {\n\n var calendar = this\n\n // Convert the ranges into comparable dates.\n one = calendar.createRange( one.from, one.to )\n two = calendar.createRange( two.from, two.to )\n\n return calendar.withinRange( one, two.from ) || calendar.withinRange( one, two.to ) ||\n calendar.withinRange( two, one.from ) || calendar.withinRange( two, one.to )\n}\n\n\n/**\n * Get the date today.\n */\nDatePicker.prototype.now = function( type, value, options ) {\n value = new Date()\n if ( options && options.rel ) {\n value.setDate( value.getDate() + options.rel )\n }\n return this.normalize( value, options )\n}\n\n\n/**\n * Navigate to next/prev month.\n */\nDatePicker.prototype.navigate = function( type, value, options ) {\n\n var targetDateObject,\n targetYear,\n targetMonth,\n targetDate,\n isTargetArray = $.isArray( value ),\n isTargetObject = $.isPlainObject( value ),\n viewsetObject = this.item.view/*,\n safety = 100*/\n\n\n if ( isTargetArray || isTargetObject ) {\n\n if ( isTargetObject ) {\n targetYear = value.year\n targetMonth = value.month\n targetDate = value.date\n }\n else {\n targetYear = +value[0]\n targetMonth = +value[1]\n targetDate = +value[2]\n }\n\n // If we’re navigating months but the view is in a different\n // month, navigate to the view’s year and month.\n if ( options && options.nav && viewsetObject && viewsetObject.month !== targetMonth ) {\n targetYear = viewsetObject.year\n targetMonth = viewsetObject.month\n }\n\n // Figure out the expected target year and month.\n targetDateObject = new Date( targetYear, targetMonth + ( options && options.nav ? options.nav : 0 ), 1 )\n targetYear = targetDateObject.getFullYear()\n targetMonth = targetDateObject.getMonth()\n\n // If the month we’re going to doesn’t have enough days,\n // keep decreasing the date until we reach the month’s last date.\n while ( /*safety &&*/ new Date( targetYear, targetMonth, targetDate ).getMonth() !== targetMonth ) {\n targetDate -= 1\n /*safety -= 1\n if ( !safety ) {\n throw 'Fell into an infinite loop while navigating to ' + new Date( targetYear, targetMonth, targetDate ) + '.'\n }*/\n }\n\n value = [ targetYear, targetMonth, targetDate ]\n }\n\n return value\n} //DatePicker.prototype.navigate\n\n\n/**\n * Normalize a date by setting the hours to midnight.\n */\nDatePicker.prototype.normalize = function( value/*, options*/ ) {\n value.setHours( 0, 0, 0, 0 )\n return value\n}\n\n\n/**\n * Measure the range of dates.\n */\nDatePicker.prototype.measure = function( type, value/*, options*/ ) {\n\n var calendar = this\n \n // If it's an integer, get a date relative to today.\n if ( _.isInteger( value ) ) {\n value = calendar.now( type, value, { rel: value } )\n }\n\n // If it’s anything false-y, remove the limits.\n else if ( !value ) {\n value = type == 'min' ? -Infinity : Infinity\n }\n\n // If it’s a string, parse it.\n else if ( typeof value == 'string' ) {\n value = calendar.parse( type, value )\n }\n\n return value\n} ///DatePicker.prototype.measure\n\n\n/**\n * Create a viewset object based on navigation.\n */\nDatePicker.prototype.viewset = function( type, dateObject/*, options*/ ) {\n return this.create([ dateObject.year, dateObject.month, 1 ])\n}\n\n\n/**\n * Validate a date as enabled and shift if needed.\n */\nDatePicker.prototype.validate = function( type, dateObject, options ) {\n\n var calendar = this,\n\n // Keep a reference to the original date.\n originalDateObject = dateObject,\n\n // Make sure we have an interval.\n interval = options && options.interval ? options.interval : 1,\n\n // Check if the calendar enabled dates are inverted.\n isFlippedBase = calendar.item.enable === -1,\n\n // Check if we have any enabled dates after/before now.\n hasEnabledBeforeTarget, hasEnabledAfterTarget,\n\n // The min & max limits.\n minLimitObject = calendar.item.min,\n maxLimitObject = calendar.item.max,\n\n // Check if we’ve reached the limit during shifting.\n reachedMin, reachedMax,\n\n // Check if the calendar is inverted and at least one weekday is enabled.\n hasEnabledWeekdays = isFlippedBase && calendar.item.disable.filter( function( value ) {\n\n // If there’s a date, check where it is relative to the target.\n if ( $.isArray( value ) ) {\n var dateTime = calendar.create( value ).pick\n if ( dateTime < dateObject.pick ) hasEnabledBeforeTarget = true\n else if ( dateTime > dateObject.pick ) hasEnabledAfterTarget = true\n }\n\n // Return only integers for enabled weekdays.\n return _.isInteger( value )\n }).length/*,\n\n safety = 100*/\n\n\n\n // Cases to validate for:\n // [1] Not inverted and date disabled.\n // [2] Inverted and some dates enabled.\n // [3] Not inverted and out of range.\n //\n // Cases to **not** validate for:\n // • Navigating months.\n // • Not inverted and date enabled.\n // • Inverted and all dates disabled.\n // • ..and anything else.\n if ( !options || (!options.nav && !options.defaultValue) ) if (\n /* 1 */ ( !isFlippedBase && calendar.disabled( dateObject ) ) ||\n /* 2 */ ( isFlippedBase && calendar.disabled( dateObject ) && ( hasEnabledWeekdays || hasEnabledBeforeTarget || hasEnabledAfterTarget ) ) ||\n /* 3 */ ( !isFlippedBase && (dateObject.pick <= minLimitObject.pick || dateObject.pick >= maxLimitObject.pick) )\n ) {\n\n\n // When inverted, flip the direction if there aren’t any enabled weekdays\n // and there are no enabled dates in the direction of the interval.\n if ( isFlippedBase && !hasEnabledWeekdays && ( ( !hasEnabledAfterTarget && interval > 0 ) || ( !hasEnabledBeforeTarget && interval < 0 ) ) ) {\n interval *= -1\n }\n\n\n // Keep looping until we reach an enabled date.\n while ( /*safety &&*/ calendar.disabled( dateObject ) ) {\n\n /*safety -= 1\n if ( !safety ) {\n throw 'Fell into an infinite loop while validating ' + dateObject.obj + '.'\n }*/\n\n\n // If we’ve looped into the next/prev month with a large interval, return to the original date and flatten the interval.\n if ( Math.abs( interval ) > 1 && ( dateObject.month < originalDateObject.month || dateObject.month > originalDateObject.month ) ) {\n dateObject = originalDateObject\n interval = interval > 0 ? 1 : -1\n }\n\n\n // If we’ve reached the min/max limit, reverse the direction, flatten the interval and set it to the limit.\n if ( dateObject.pick <= minLimitObject.pick ) {\n reachedMin = true\n interval = 1\n dateObject = calendar.create([\n minLimitObject.year,\n minLimitObject.month,\n minLimitObject.date + (dateObject.pick === minLimitObject.pick ? 0 : -1)\n ])\n }\n else if ( dateObject.pick >= maxLimitObject.pick ) {\n reachedMax = true\n interval = -1\n dateObject = calendar.create([\n maxLimitObject.year,\n maxLimitObject.month,\n maxLimitObject.date + (dateObject.pick === maxLimitObject.pick ? 0 : 1)\n ])\n }\n\n\n // If we’ve reached both limits, just break out of the loop.\n if ( reachedMin && reachedMax ) {\n break\n }\n\n\n // Finally, create the shifted date using the interval and keep looping.\n dateObject = calendar.create([ dateObject.year, dateObject.month, dateObject.date + interval ])\n }\n\n } //endif\n\n\n // Return the date object settled on.\n return dateObject\n} //DatePicker.prototype.validate\n\n\n/**\n * Check if a date is disabled.\n */\nDatePicker.prototype.disabled = function( dateToVerify ) {\n\n var\n calendar = this,\n\n // Filter through the disabled dates to check if this is one.\n isDisabledMatch = calendar.item.disable.filter( function( dateToDisable ) {\n\n // If the date is a number, match the weekday with 0index and `firstDay` check.\n if ( _.isInteger( dateToDisable ) ) {\n return dateToVerify.day === ( calendar.settings.firstDay ? dateToDisable : dateToDisable - 1 ) % 7\n }\n\n // If it’s an array or a native JS date, create and match the exact date.\n if ( $.isArray( dateToDisable ) || _.isDate( dateToDisable ) ) {\n return dateToVerify.pick === calendar.create( dateToDisable ).pick\n }\n\n // If it’s an object, match a date within the “from” and “to” range.\n if ( $.isPlainObject( dateToDisable ) ) {\n return calendar.withinRange( dateToDisable, dateToVerify )\n }\n })\n\n // If this date matches a disabled date, confirm it’s not inverted.\n isDisabledMatch = isDisabledMatch.length && !isDisabledMatch.filter(function( dateToDisable ) {\n return $.isArray( dateToDisable ) && dateToDisable[3] == 'inverted' ||\n $.isPlainObject( dateToDisable ) && dateToDisable.inverted\n }).length\n\n // Check the calendar “enabled” flag and respectively flip the\n // disabled state. Then also check if it’s beyond the min/max limits.\n return calendar.item.enable === -1 ? !isDisabledMatch : isDisabledMatch ||\n dateToVerify.pick < calendar.item.min.pick ||\n dateToVerify.pick > calendar.item.max.pick\n\n} //DatePicker.prototype.disabled\n\n\n/**\n * Parse a string into a usable type.\n */\nDatePicker.prototype.parse = function( type, value, options ) {\n\n var calendar = this,\n parsingObject = {}\n\n // If it’s already parsed, we’re good.\n if ( !value || typeof value != 'string' ) {\n return value\n }\n\n // We need a `.format` to parse the value with.\n if ( !( options && options.format ) ) {\n options = options || {}\n options.format = calendar.settings.format\n }\n\n // Convert the format into an array and then map through it.\n calendar.formats.toArray( options.format ).map( function( label ) {\n\n var\n // Grab the formatting label.\n formattingLabel = calendar.formats[ label ],\n\n // The format length is from the formatting label function or the\n // label length without the escaping exclamation (!) mark.\n formatLength = formattingLabel ? _.trigger( formattingLabel, calendar, [ value, parsingObject ] ) : label.replace( /^!/, '' ).length\n\n // If there's a format label, split the value up to the format length.\n // Then add it to the parsing object with appropriate label.\n if ( formattingLabel ) {\n parsingObject[ label ] = value.substr( 0, formatLength )\n }\n\n // Update the value as the substring from format length to end.\n value = value.substr( formatLength )\n })\n\n // Compensate for month 0index.\n return [\n parsingObject.yyyy || parsingObject.yy,\n +( parsingObject.mm || parsingObject.m ) - 1,\n parsingObject.dd || parsingObject.d\n ]\n} //DatePicker.prototype.parse\n\n\n/**\n * Various formats to display the object in.\n */\nDatePicker.prototype.formats = (function() {\n\n // Return the length of the first word in a collection.\n function getWordLengthFromCollection( string, collection, dateObject ) {\n\n // Grab the first word from the string.\n // Regex pattern from http://stackoverflow.com/q/150033\n var word = string.match( /[^\\x00-\\x7F]+|\\w+/ )[ 0 ]\n\n // If there's no month index, add it to the date object\n if ( !dateObject.mm && !dateObject.m ) {\n dateObject.m = collection.indexOf( word ) + 1\n }\n\n // Return the length of the word.\n return word.length\n }\n\n // Get the length of the first word in a string.\n function getFirstWordLength( string ) {\n return string.match( /\\w+/ )[ 0 ].length\n }\n\n return {\n\n d: function( string, dateObject ) {\n\n // If there's string, then get the digits length.\n // Otherwise return the selected date.\n return string ? _.digits( string ) : dateObject.date\n },\n dd: function( string, dateObject ) {\n\n // If there's a string, then the length is always 2.\n // Otherwise return the selected date with a leading zero.\n return string ? 2 : _.lead( dateObject.date )\n },\n ddd: function( string, dateObject ) {\n\n // If there's a string, then get the length of the first word.\n // Otherwise return the short selected weekday.\n return string ? getFirstWordLength( string ) : this.settings.weekdaysShort[ dateObject.day ]\n },\n dddd: function( string, dateObject ) {\n\n // If there's a string, then get the length of the first word.\n // Otherwise return the full selected weekday.\n return string ? getFirstWordLength( string ) : this.settings.weekdaysFull[ dateObject.day ]\n },\n m: function( string, dateObject ) {\n\n // If there's a string, then get the length of the digits\n // Otherwise return the selected month with 0index compensation.\n return string ? _.digits( string ) : dateObject.month + 1\n },\n mm: function( string, dateObject ) {\n\n // If there's a string, then the length is always 2.\n // Otherwise return the selected month with 0index and leading zero.\n return string ? 2 : _.lead( dateObject.month + 1 )\n },\n mmm: function( string, dateObject ) {\n\n var collection = this.settings.monthsShort\n\n // If there's a string, get length of the relevant month from the short\n // months collection. Otherwise return the selected month from that collection.\n return string ? getWordLengthFromCollection( string, collection, dateObject ) : collection[ dateObject.month ]\n },\n mmmm: function( string, dateObject ) {\n\n var collection = this.settings.monthsFull\n\n // If there's a string, get length of the relevant month from the full\n // months collection. Otherwise return the selected month from that collection.\n return string ? getWordLengthFromCollection( string, collection, dateObject ) : collection[ dateObject.month ]\n },\n yy: function( string, dateObject ) {\n\n // If there's a string, then the length is always 2.\n // Otherwise return the selected year by slicing out the first 2 digits.\n return string ? 2 : ( '' + dateObject.year ).slice( 2 )\n },\n yyyy: function( string, dateObject ) {\n\n // If there's a string, then the length is always 4.\n // Otherwise return the selected year.\n return string ? 4 : dateObject.year\n },\n\n // Create an array by splitting the formatting string passed.\n toArray: function( formatString ) { return formatString.split( /(d{1,4}|m{1,4}|y{4}|yy|!.)/g ) },\n\n // Format an object into a string using the formatting options.\n toString: function ( formatString, itemObject ) {\n var calendar = this\n return calendar.formats.toArray( formatString ).map( function( label ) {\n return _.trigger( calendar.formats[ label ], calendar, [ 0, itemObject ] ) || label.replace( /^!/, '' )\n }).join( '' )\n }\n }\n})() //DatePicker.prototype.formats\n\n\n\n\n/**\n * Check if two date units are the exact.\n */\nDatePicker.prototype.isDateExact = function( one, two ) {\n\n var calendar = this\n\n // When we’re working with weekdays, do a direct comparison.\n if (\n ( _.isInteger( one ) && _.isInteger( two ) ) ||\n ( typeof one == 'boolean' && typeof two == 'boolean' )\n ) {\n return one === two\n }\n\n // When we’re working with date representations, compare the “pick” value.\n if (\n ( _.isDate( one ) || $.isArray( one ) ) &&\n ( _.isDate( two ) || $.isArray( two ) )\n ) {\n return calendar.create( one ).pick === calendar.create( two ).pick\n }\n\n // When we’re working with range objects, compare the “from” and “to”.\n if ( $.isPlainObject( one ) && $.isPlainObject( two ) ) {\n return calendar.isDateExact( one.from, two.from ) && calendar.isDateExact( one.to, two.to )\n }\n\n return false\n}\n\n\n/**\n * Check if two date units overlap.\n */\nDatePicker.prototype.isDateOverlap = function( one, two ) {\n\n var calendar = this,\n firstDay = calendar.settings.firstDay ? 1 : 0\n\n // When we’re working with a weekday index, compare the days.\n if ( _.isInteger( one ) && ( _.isDate( two ) || $.isArray( two ) ) ) {\n one = one % 7 + firstDay\n return one === calendar.create( two ).day + 1\n }\n if ( _.isInteger( two ) && ( _.isDate( one ) || $.isArray( one ) ) ) {\n two = two % 7 + firstDay\n return two === calendar.create( one ).day + 1\n }\n\n // When we’re working with range objects, check if the ranges overlap.\n if ( $.isPlainObject( one ) && $.isPlainObject( two ) ) {\n return calendar.overlapRanges( one, two )\n }\n\n return false\n}\n\n\n/**\n * Flip the “enabled” state.\n */\nDatePicker.prototype.flipEnable = function(val) {\n var itemObject = this.item\n itemObject.enable = val || (itemObject.enable == -1 ? 1 : -1)\n}\n\n\n/**\n * Mark a collection of dates as “disabled”.\n */\nDatePicker.prototype.deactivate = function( type, datesToDisable ) {\n\n var calendar = this,\n disabledItems = calendar.item.disable.slice(0)\n\n\n // If we’re flipping, that’s all we need to do.\n if ( datesToDisable == 'flip' ) {\n calendar.flipEnable()\n }\n\n else if ( datesToDisable === false ) {\n calendar.flipEnable(1)\n disabledItems = []\n }\n\n else if ( datesToDisable === true ) {\n calendar.flipEnable(-1)\n disabledItems = []\n }\n\n // Otherwise go through the dates to disable.\n else {\n\n datesToDisable.map(function( unitToDisable ) {\n\n var matchFound\n\n // When we have disabled items, check for matches.\n // If something is matched, immediately break out.\n for ( var index = 0; index < disabledItems.length; index += 1 ) {\n if ( calendar.isDateExact( unitToDisable, disabledItems[index] ) ) {\n matchFound = true\n break\n }\n }\n\n // If nothing was found, add the validated unit to the collection.\n if ( !matchFound ) {\n if (\n _.isInteger( unitToDisable ) ||\n _.isDate( unitToDisable ) ||\n $.isArray( unitToDisable ) ||\n ( $.isPlainObject( unitToDisable ) && unitToDisable.from && unitToDisable.to )\n ) {\n disabledItems.push( unitToDisable )\n }\n }\n })\n }\n\n // Return the updated collection.\n return disabledItems\n} //DatePicker.prototype.deactivate\n\n\n/**\n * Mark a collection of dates as “enabled”.\n */\nDatePicker.prototype.activate = function( type, datesToEnable ) {\n\n var calendar = this,\n disabledItems = calendar.item.disable,\n disabledItemsCount = disabledItems.length\n\n // If we’re flipping, that’s all we need to do.\n if ( datesToEnable == 'flip' ) {\n calendar.flipEnable()\n }\n\n else if ( datesToEnable === true ) {\n calendar.flipEnable(1)\n disabledItems = []\n }\n\n else if ( datesToEnable === false ) {\n calendar.flipEnable(-1)\n disabledItems = []\n }\n\n // Otherwise go through the disabled dates.\n else {\n\n datesToEnable.map(function( unitToEnable ) {\n\n var matchFound,\n disabledUnit,\n index,\n isExactRange\n\n // Go through the disabled items and try to find a match.\n for ( index = 0; index < disabledItemsCount; index += 1 ) {\n\n disabledUnit = disabledItems[index]\n\n // When an exact match is found, remove it from the collection.\n if ( calendar.isDateExact( disabledUnit, unitToEnable ) ) {\n matchFound = disabledItems[index] = null\n isExactRange = true\n break\n }\n\n // When an overlapped match is found, add the “inverted” state to it.\n else if ( calendar.isDateOverlap( disabledUnit, unitToEnable ) ) {\n if ( $.isPlainObject( unitToEnable ) ) {\n unitToEnable.inverted = true\n matchFound = unitToEnable\n }\n else if ( $.isArray( unitToEnable ) ) {\n matchFound = unitToEnable\n if ( !matchFound[3] ) matchFound.push( 'inverted' )\n }\n else if ( _.isDate( unitToEnable ) ) {\n matchFound = [ unitToEnable.getFullYear(), unitToEnable.getMonth(), unitToEnable.getDate(), 'inverted' ]\n }\n break\n }\n }\n\n // If a match was found, remove a previous duplicate entry.\n if ( matchFound ) for ( index = 0; index < disabledItemsCount; index += 1 ) {\n if ( calendar.isDateExact( disabledItems[index], unitToEnable ) ) {\n disabledItems[index] = null\n break\n }\n }\n\n // In the event that we’re dealing with an exact range of dates,\n // make sure there are no “inverted” dates because of it.\n if ( isExactRange ) for ( index = 0; index < disabledItemsCount; index += 1 ) {\n if ( calendar.isDateOverlap( disabledItems[index], unitToEnable ) ) {\n disabledItems[index] = null\n break\n }\n }\n\n // If something is still matched, add it into the collection.\n if ( matchFound ) {\n disabledItems.push( matchFound )\n }\n })\n }\n\n // Return the updated collection.\n return disabledItems.filter(function( val ) { return val != null })\n} //DatePicker.prototype.activate\n\n\n/**\n * Create a string for the nodes in the picker.\n */\nDatePicker.prototype.nodes = function( isOpen ) {\n\n var\n calendar = this,\n settings = calendar.settings,\n calendarItem = calendar.item,\n nowObject = calendarItem.now,\n selectedObject = calendarItem.select,\n highlightedObject = calendarItem.highlight,\n viewsetObject = calendarItem.view,\n disabledCollection = calendarItem.disable,\n minLimitObject = calendarItem.min,\n maxLimitObject = calendarItem.max,\n\n\n // Create the calendar table head using a copy of weekday labels collection.\n // * We do a copy so we don't mutate the original array.\n tableHead = (function( collection, fullCollection ) {\n\n // If the first day should be Monday, move Sunday to the end.\n if ( settings.firstDay ) {\n collection.push( collection.shift() )\n fullCollection.push( fullCollection.shift() )\n }\n\n // Create and return the table head group.\n return _.node(\n 'thead',\n _.node(\n 'tr',\n _.group({\n min: 0,\n max: DAYS_IN_WEEK - 1,\n i: 1,\n node: 'th',\n item: function( counter ) {\n return [\n collection[ counter ],\n settings.klass.weekdays,\n 'scope=col title=\"' + fullCollection[ counter ] + '\"'\n ]\n }\n })\n )\n ) //endreturn\n })( ( settings.showWeekdaysFull ? settings.weekdaysFull : settings.weekdaysShort ).slice( 0 ), settings.weekdaysFull.slice( 0 ) ), //tableHead\n\n\n // Create the nav for next/prev month.\n createMonthNav = function( next ) {\n\n // Otherwise, return the created month tag.\n return _.node(\n 'div',\n ' ',\n settings.klass[ 'nav' + ( next ? 'Next' : 'Prev' ) ] + (\n\n // If the focused month is outside the range, disabled the button.\n ( next && viewsetObject.year >= maxLimitObject.year && viewsetObject.month >= maxLimitObject.month ) ||\n ( !next && viewsetObject.year <= minLimitObject.year && viewsetObject.month <= minLimitObject.month ) ?\n ' ' + settings.klass.navDisabled : ''\n ),\n 'data-nav=' + ( next || -1 ) + ' ' +\n _.ariaAttr({\n role: 'button',\n controls: calendar.$node[0].id + '_table'\n }) + ' ' +\n 'title=\"' + (next ? settings.labelMonthNext : settings.labelMonthPrev ) + '\"'\n ) //endreturn\n }, //createMonthNav\n\n\n // Create the month label.\n createMonthLabel = function() {\n\n var monthsCollection = settings.showMonthsShort ? settings.monthsShort : settings.monthsFull\n\n // If there are months to select, add a dropdown menu.\n if ( settings.selectMonths ) {\n\n return _.node( 'select',\n _.group({\n min: 0,\n max: 11,\n i: 1,\n node: 'option',\n item: function( loopedMonth ) {\n\n return [\n\n // The looped month and no classes.\n monthsCollection[ loopedMonth ], 0,\n\n // Set the value and selected index.\n 'value=' + loopedMonth +\n ( viewsetObject.month == loopedMonth ? ' selected' : '' ) +\n (\n (\n ( viewsetObject.year == minLimitObject.year && loopedMonth < minLimitObject.month ) ||\n ( viewsetObject.year == maxLimitObject.year && loopedMonth > maxLimitObject.month )\n ) ?\n ' disabled' : ''\n )\n ]\n }\n }),\n settings.klass.selectMonth,\n ( isOpen ? '' : 'disabled' ) + ' ' +\n _.ariaAttr({ controls: calendar.$node[0].id + '_table' }) + ' ' +\n 'title=\"' + settings.labelMonthSelect + '\"'\n )\n }\n\n // If there's a need for a month selector\n return _.node( 'div', monthsCollection[ viewsetObject.month ], settings.klass.month )\n }, //createMonthLabel\n\n\n // Create the year label.\n createYearLabel = function() {\n\n var focusedYear = viewsetObject.year,\n\n // If years selector is set to a literal \"true\", set it to 5. Otherwise\n // divide in half to get half before and half after focused year.\n numberYears = settings.selectYears === true ? 5 : ~~( settings.selectYears / 2 )\n\n // If there are years to select, add a dropdown menu.\n if ( numberYears ) {\n\n var\n minYear = minLimitObject.year,\n maxYear = maxLimitObject.year,\n lowestYear = focusedYear - numberYears,\n highestYear = focusedYear + numberYears\n\n // If the min year is greater than the lowest year, increase the highest year\n // by the difference and set the lowest year to the min year.\n if ( minYear > lowestYear ) {\n highestYear += minYear - lowestYear\n lowestYear = minYear\n }\n\n // If the max year is less than the highest year, decrease the lowest year\n // by the lower of the two: available and needed years. Then set the\n // highest year to the max year.\n if ( maxYear < highestYear ) {\n\n var availableYears = lowestYear - minYear,\n neededYears = highestYear - maxYear\n\n lowestYear -= availableYears > neededYears ? neededYears : availableYears\n highestYear = maxYear\n }\n\n return _.node( 'select',\n _.group({\n min: lowestYear,\n max: highestYear,\n i: 1,\n node: 'option',\n item: function( loopedYear ) {\n return [\n\n // The looped year and no classes.\n loopedYear, 0,\n\n // Set the value and selected index.\n 'value=' + loopedYear + ( focusedYear == loopedYear ? ' selected' : '' )\n ]\n }\n }),\n settings.klass.selectYear,\n ( isOpen ? '' : 'disabled' ) + ' ' + _.ariaAttr({ controls: calendar.$node[0].id + '_table' }) + ' ' +\n 'title=\"' + settings.labelYearSelect + '\"'\n )\n }\n\n // Otherwise just return the year focused\n return _.node( 'div', focusedYear, settings.klass.year )\n } //createYearLabel\n\n\n // Create and return the entire calendar.\n return _.node(\n 'div',\n ( settings.selectYears ? createYearLabel() + createMonthLabel() : createMonthLabel() + createYearLabel() ) +\n createMonthNav() + createMonthNav( 1 ),\n settings.klass.header\n ) + _.node(\n 'table',\n tableHead +\n _.node(\n 'tbody',\n _.group({\n min: 0,\n max: WEEKS_IN_CALENDAR - 1,\n i: 1,\n node: 'tr',\n item: function( rowCounter ) {\n\n // If Monday is the first day and the month starts on Sunday, shift the date back a week.\n var shiftDateBy = settings.firstDay && calendar.create([ viewsetObject.year, viewsetObject.month, 1 ]).day === 0 ? -7 : 0\n\n return [\n _.group({\n min: DAYS_IN_WEEK * rowCounter - viewsetObject.day + shiftDateBy + 1, // Add 1 for weekday 0index\n max: function() {\n return this.min + DAYS_IN_WEEK - 1\n },\n i: 1,\n node: 'td',\n item: function( targetDate ) {\n\n // Convert the time date from a relative date to a target date.\n targetDate = calendar.create([ viewsetObject.year, viewsetObject.month, targetDate + ( settings.firstDay ? 1 : 0 ) ])\n\n var isSelected = selectedObject && selectedObject.pick == targetDate.pick,\n isHighlighted = highlightedObject && highlightedObject.pick == targetDate.pick,\n isDisabled = disabledCollection && calendar.disabled( targetDate ) || targetDate.pick < minLimitObject.pick || targetDate.pick > maxLimitObject.pick,\n formattedDate = _.trigger( calendar.formats.toString, calendar, [ settings.format, targetDate ] )\n\n return [\n _.node(\n 'div',\n targetDate.date,\n (function( klasses ) {\n\n // Add the `infocus` or `outfocus` classes based on month in view.\n klasses.push( viewsetObject.month == targetDate.month ? settings.klass.infocus : settings.klass.outfocus )\n\n // Add the `today` class if needed.\n if ( nowObject.pick == targetDate.pick ) {\n klasses.push( settings.klass.now )\n }\n\n // Add the `selected` class if something's selected and the time matches.\n if ( isSelected ) {\n klasses.push( settings.klass.selected )\n }\n\n // Add the `highlighted` class if something's highlighted and the time matches.\n if ( isHighlighted ) {\n klasses.push( settings.klass.highlighted )\n }\n\n // Add the `disabled` class if something's disabled and the object matches.\n if ( isDisabled ) {\n klasses.push( settings.klass.disabled )\n }\n\n return klasses.join( ' ' )\n })([ settings.klass.day ]),\n 'data-pick=' + targetDate.pick + ' ' + _.ariaAttr({\n role: 'gridcell',\n label: formattedDate,\n selected: isSelected && calendar.$node.val() === formattedDate ? true : null,\n activedescendant: isHighlighted ? true : null,\n disabled: isDisabled ? true : null\n })\n ),\n '',\n _.ariaAttr({ role: 'presentation' })\n ] //endreturn\n }\n })\n ] //endreturn\n }\n })\n ),\n settings.klass.table,\n 'id=\"' + calendar.$node[0].id + '_table' + '\" ' + _.ariaAttr({\n role: 'grid',\n controls: calendar.$node[0].id,\n readonly: true\n })\n ) +\n\n // * For Firefox forms to submit, make sure to set the buttons’ `type` attributes as “button”.\n _.node(\n 'div',\n _.node( 'button', settings.today, settings.klass.buttonToday,\n 'type=button data-pick=' + nowObject.pick +\n ( isOpen && !calendar.disabled(nowObject) ? '' : ' disabled' ) + ' ' +\n _.ariaAttr({ controls: calendar.$node[0].id }) ) +\n _.node( 'button', settings.clear, settings.klass.buttonClear,\n 'type=button data-clear=1' +\n ( isOpen ? '' : ' disabled' ) + ' ' +\n _.ariaAttr({ controls: calendar.$node[0].id }) ) +\n _.node('button', settings.close, settings.klass.buttonClose,\n 'type=button data-close=true ' +\n ( isOpen ? '' : ' disabled' ) + ' ' +\n _.ariaAttr({ controls: calendar.$node[0].id }) ),\n settings.klass.footer\n ) //endreturn\n} //DatePicker.prototype.nodes\n\n\n\n\n/**\n * The date picker defaults.\n */\nDatePicker.defaults = (function( prefix ) {\n\n return {\n\n // The title label to use for the month nav buttons\n labelMonthNext: 'Next month',\n labelMonthPrev: 'Previous month',\n\n // The title label to use for the dropdown selectors\n labelMonthSelect: 'Select a month',\n labelYearSelect: 'Select a year',\n\n // Months and weekdays\n monthsFull: [ 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December' ],\n monthsShort: [ 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec' ],\n weekdaysFull: [ 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday' ],\n weekdaysShort: [ 'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat' ],\n\n // Today and clear\n today: 'Today',\n clear: 'Clear',\n close: 'Close',\n\n // Picker close behavior\n closeOnSelect: true,\n closeOnClear: true,\n\n // Update input value on select/clear\n updateInput: true,\n\n // The format to show on the `input` element\n format: 'd mmmm, yyyy',\n\n // Classes\n klass: {\n\n table: prefix + 'table',\n\n header: prefix + 'header',\n\n navPrev: prefix + 'nav--prev',\n navNext: prefix + 'nav--next',\n navDisabled: prefix + 'nav--disabled',\n\n month: prefix + 'month',\n year: prefix + 'year',\n\n selectMonth: prefix + 'select--month',\n selectYear: prefix + 'select--year',\n\n weekdays: prefix + 'weekday',\n\n day: prefix + 'day',\n disabled: prefix + 'day--disabled',\n selected: prefix + 'day--selected',\n highlighted: prefix + 'day--highlighted',\n now: prefix + 'day--today',\n infocus: prefix + 'day--infocus',\n outfocus: prefix + 'day--outfocus',\n\n footer: prefix + 'footer',\n\n buttonClear: prefix + 'button--clear',\n buttonToday: prefix + 'button--today',\n buttonClose: prefix + 'button--close'\n }\n }\n})( Picker.klasses().picker + '__' )\n\n\n\n\n\n/**\n * Extend the picker to add the date picker.\n */\nPicker.extend( 'pickadate', DatePicker )\n\n\n}));\n\n\n\n","import '../../../node_modules/pickadate/lib/picker.date.js'\nimport $ from 'jquery'\nimport Util from './util'\n\n/*\n * Date picker plugin extends `pickadate.js` by Amsul\n */\n\nconst PickDate = (($) => {\n // constants >>>\n const DATA_KEY = 'md.pickdate'\n const NAME = 'pickdate'\n const NO_CONFLICT = $.fn[NAME]\n\n const Default = {\n cancel : 'Cancel',\n closeOnCancel : true,\n closeOnSelect : false,\n container : '',\n containerHidden : '',\n disable : [],\n firstDay : 0,\n format : 'd/m/yyyy',\n formatSubmit : '',\n hiddenName : false,\n hiddenPrefix : '',\n hiddenSuffix : '',\n klass : {\n // button\n buttonClear : 'btn btn-flat-primary picker-button-clear',\n buttonClose : 'btn btn-flat-primary picker-button-close',\n buttonToday : 'btn btn-flat-primary picker-button-today',\n\n // day\n day : 'picker-day',\n disabled : 'picker-day-disabled',\n highlighted : 'picker-day-highlighted',\n infocus : 'picker-day-infocus',\n now : 'picker-day-today',\n outfocus : 'picker-day-outfocus',\n selected : 'picker-day-selected',\n weekdays : 'picker-weekday',\n\n // element\n box : 'picker-box',\n footer : 'picker-footer',\n frame : 'picker-frame',\n header : 'picker-header',\n holder : 'picker-holder',\n table : 'picker-table',\n wrap : 'picker-wrap',\n\n // input element\n active : 'picker-input-active',\n input : 'picker-input',\n\n // month and year nav\n month : 'picker-month',\n navDisabled : 'picker-nav-disabled',\n navNext : 'material-icons picker-nav-next',\n navPrev : 'material-icons picker-nav-prev',\n selectMonth : 'picker-select-month',\n selectYear : 'picker-select-year',\n year : 'picker-year',\n\n // root picker\n focused : 'picker-focused',\n opened : 'picker-opened',\n picker : 'picker'\n },\n labelMonthNext : 'Next month',\n labelMonthPrev : 'Previous month',\n labelMonthSelect : 'Choose a month',\n labelYearSelect : 'Choose a year',\n max : false,\n min : false,\n monthsFull : ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],\n monthsShort : ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\n ok : 'OK',\n onClose : () => {\n // Do nothing\n },\n onOpen : () => {\n // Do nothing\n },\n onRender : () => {\n // Do nothing\n },\n onSet : () => {\n // Do nothing\n },\n onStart : () => {\n // Do nothing\n },\n onStop : () => {\n // Do nothing\n },\n selectMonths : false,\n selectYears : false,\n today : '',\n weekdaysFull : ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n weekdaysShort : ['S', 'M', 'T', 'W', 'T', 'F', 'S']\n }\n\n const DefaultType = {\n cancel : 'string',\n closeOnCancel : 'boolean',\n closeOnSelect : 'boolean',\n container : 'string',\n containerHidden : 'string',\n disable : 'array',\n firstDay : 'number',\n format : 'string',\n formatSubmit : 'string',\n hiddenName : 'boolean',\n hiddenPrefix : 'string',\n hiddenSuffix : 'string',\n klass : 'object',\n labelMonthNext : 'string',\n labelMonthPrev : 'string',\n labelMonthSelect : 'string',\n labelYearSelect : 'string',\n max : 'boolean || date',\n min : 'boolean || date',\n monthsFull : 'array',\n monthsShort : 'array',\n ok : 'string',\n onClose : 'function',\n onOpen : 'function',\n onRender : 'function',\n onSet : 'function',\n onStart : 'function',\n onStop : 'function',\n selectMonths : 'boolean',\n selectYears : 'boolean || number',\n today : 'string',\n weekdaysFull : 'array',\n weekdaysShort : 'array'\n }\n\n class PickDate {\n constructor(element, config) {\n this._config = this._getConfig(config)\n this._element = element\n }\n\n display(datepickerApi, datepickerRoot, datepickerValue) {\n $('.picker-date-display', datepickerRoot).remove()\n\n $('.picker-wrap', datepickerRoot).prepend(`
${datepickerApi.get(datepickerValue, 'yyyy')}
${datepickerApi.get(datepickerValue, 'dddd')}${datepickerApi.get(datepickerValue, 'mmm')}${datepickerApi.get(datepickerValue, 'd')}
`)\n }\n\n show() {\n $(this._element).pickadate({\n clear : this._config.cancel,\n close : this._config.ok,\n closeOnClear : this._config.closeOnCancel,\n closeOnSelect : this._config.closeOnSelect,\n container : this._config.container,\n containerHidden : this._config.containerHidden,\n disable : this._config.disable,\n firstDay : this._config.firstDay,\n format : this._config.format,\n formatSubmit : this._config.formatSubmit,\n klass : this._config.klass,\n hiddenName : this._config.hiddenName,\n hiddenPrefix : this._config.hiddenPrefix,\n hiddenSuffix : this._config.hiddenSuffix,\n labelMonthNext : this._config.labelMonthNext,\n labelMonthPrev : this._config.labelMonthPrev,\n labelMonthSelect : this._config.labelMonthSelect,\n labelYearSelect : this._config.labelYearSelect,\n max : this._config.max,\n min : this._config.min,\n monthsFull : this._config.monthsFull,\n monthsShort : this._config.monthsShort,\n onClose : this._config.onClose,\n onOpen : this._config.onOpen,\n onRender : this._config.onRender,\n onSet : this._config.onSet,\n onStart : this._config.onStart,\n onStop : this._config.onStop,\n selectMonths : this._config.selectMonths,\n selectYears : this._config.selectYears,\n today : this._config.today,\n weekdaysFull : this._config.weekdaysFull,\n weekdaysShort : this._config.weekdaysShort\n })\n\n const datepickerApi = $(this._element).pickadate('picker')\n const datepickerRoot = datepickerApi.$root\n\n datepickerApi.on({\n close: () => {\n $(document.activeElement).blur()\n },\n open: () => {\n if (!$('.picker__date-display', datepickerRoot).length) {\n this.display(datepickerApi, datepickerRoot, 'highlight')\n }\n },\n set: () => {\n if (datepickerApi.get('select') !== null) {\n this.display(datepickerApi, datepickerRoot, 'select')\n }\n }\n })\n }\n\n _getConfig(config) {\n config = {\n ...Default,\n ...config\n }\n\n Util.typeCheckConfig(NAME, config, DefaultType)\n\n return config\n }\n\n static _jQueryInterface(config) {\n return this.each(function () {\n const _config = {\n ...Default,\n ...$(this).data(),\n ...typeof config === 'object' && config ? config : {}\n }\n\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = new PickDate(this, _config)\n\n $(this).data(DATA_KEY, data)\n }\n\n data.show()\n })\n }\n }\n\n $.fn[NAME] = PickDate._jQueryInterface\n $.fn[NAME].Constructor = PickDate\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = NO_CONFLICT\n\n return PickDate._jQueryInterface\n }\n})($)\n\nexport default PickDate\n","export var defaultOptions = {\n className: '',\n color: 'currentcolor',\n opacity: .1,\n spreadingDuration: '.4s',\n spreadingDelay: '0s',\n spreadingTimingFunction: 'linear',\n clearing: true,\n clearingDuration: '1s',\n clearingDelay: '0s',\n clearingTimingFunction: 'ease-in-out',\n centered: false,\n appendTo: 'body',\n};\nvar target2container2ripplet = new Map();\nvar copyStyles = function (destination, source, properties) {\n for (var _i = 0, properties_1 = properties; _i < properties_1.length; _i++) {\n var property = properties_1[_i];\n destination[property] = source[property];\n }\n};\nfunction ripplet(_a, _options) {\n var currentTarget = _a.currentTarget, clientX = _a.clientX, clientY = _a.clientY;\n if (!(currentTarget instanceof Element)) {\n return;\n }\n var options = _options\n ? Object.keys(defaultOptions).reduce(function (merged, field) { return (merged[field] = _options.hasOwnProperty(field) ? _options[field] : defaultOptions[field], merged); }, {})\n : defaultOptions;\n var targetRect = currentTarget.getBoundingClientRect();\n if (options.centered && options.centered !== 'false') {\n clientX = targetRect.left + targetRect.width * .5;\n clientY = targetRect.top + targetRect.height * .5;\n }\n else if (typeof clientX !== 'number' || typeof clientY !== 'number') {\n return;\n }\n var targetStyle = getComputedStyle(currentTarget);\n var documentElement = document.documentElement, body = document.body;\n var containerElement = document.createElement('div');\n var appendToParent = options.appendTo === 'parent';\n var removingElement = containerElement;\n {\n var containerStyle = containerElement.style;\n if (targetStyle.position === 'fixed' || (targetStyle.position === 'absolute' && appendToParent)) {\n if (appendToParent) {\n currentTarget.parentElement.insertBefore(containerElement, currentTarget);\n }\n else {\n body.appendChild(containerElement);\n }\n copyStyles(containerStyle, targetStyle, ['position', 'left', 'top', 'right', 'bottom', 'marginLeft', 'marginTop', 'marginRight', 'marginBottom']);\n }\n else if (appendToParent) {\n var parentStyle = getComputedStyle(currentTarget.parentElement);\n if (parentStyle.display === 'flex' || parentStyle.display === 'inline-flex') {\n currentTarget.parentElement.insertBefore(containerElement, currentTarget);\n containerStyle.position = 'absolute';\n containerStyle.left = currentTarget.offsetLeft + \"px\";\n containerStyle.top = currentTarget.offsetTop + \"px\";\n }\n else {\n var containerContainer = removingElement\n = currentTarget.parentElement.insertBefore(document.createElement('div'), currentTarget);\n var containerContainerStyle = containerContainer.style;\n containerContainerStyle.display = 'inline-block';\n containerContainerStyle.position = 'relative';\n containerContainerStyle.width = containerContainerStyle.height\n = '0';\n containerContainerStyle.cssFloat = targetStyle.cssFloat;\n var containerContainerRect = containerContainer.getBoundingClientRect(); // this may be a slow operation...\n containerContainer.appendChild(containerElement);\n containerStyle.position = 'absolute';\n containerStyle.top = targetRect.top - containerContainerRect.top + \"px\";\n containerStyle.left = targetRect.left - containerContainerRect.left + \"px\";\n }\n }\n else {\n body.appendChild(containerElement);\n containerStyle.position = 'absolute';\n containerStyle.left = targetRect.left + documentElement.scrollLeft + body.scrollLeft + \"px\";\n containerStyle.top = targetRect.top + documentElement.scrollTop + body.scrollTop + \"px\";\n }\n containerStyle.overflow = 'hidden';\n containerStyle.pointerEvents = 'none';\n containerStyle.width = targetRect.width + \"px\";\n containerStyle.height = targetRect.height + \"px\";\n containerStyle.zIndex = (+targetStyle.zIndex || 0) + 1;\n containerStyle.opacity = options.opacity;\n copyStyles(containerStyle, targetStyle, ['borderTopLeftRadius', 'borderTopRightRadius', 'borderBottomLeftRadius', 'borderBottomRightRadius', 'webkitClipPath', 'clipPath']);\n }\n {\n var distanceX = Math.max(clientX - targetRect.left, targetRect.right - clientX);\n var distanceY = Math.max(clientY - targetRect.top, targetRect.bottom - clientY);\n var radius = Math.sqrt(distanceX * distanceX + distanceY * distanceY);\n var rippletElement = containerElement.appendChild(document.createElement('div'));\n var rippletStyle = rippletElement.style;\n rippletElement.className = options.className;\n rippletStyle.backgroundColor = /^currentcolor$/i.test(options.color) ? targetStyle.color : options.color;\n rippletStyle.width = rippletStyle.height\n = radius * 2 + \"px\";\n if (getComputedStyle(appendToParent ? currentTarget.parentElement : body).direction === 'rtl') {\n rippletStyle.marginRight = targetRect.right - clientX - radius + \"px\";\n }\n else {\n rippletStyle.marginLeft = clientX - targetRect.left - radius + \"px\";\n }\n rippletStyle.marginTop = clientY - targetRect.top - radius + \"px\";\n rippletStyle.borderRadius = '50%';\n rippletStyle.transition =\n \"transform \" + options.spreadingDuration + \" \" + options.spreadingTimingFunction + \" \" + options.spreadingDelay + \",opacity \" + options.clearingDuration + \" \" + options.clearingTimingFunction + \" \" + options.clearingDelay;\n rippletStyle.transform = 'scale(0)';\n // reflect styles by force layout\n // tslint:disable-next-line:no-unused-expression\n rippletElement.offsetTop;\n rippletStyle.transform = '';\n rippletElement.addEventListener('transitionend', function (event) {\n if (event.propertyName === 'opacity' && removingElement.parentElement) {\n removingElement.parentElement.removeChild(removingElement);\n }\n });\n if (options.clearing && options.clearing !== 'false') {\n rippletStyle.opacity = '0';\n }\n else {\n var container2ripplet = target2container2ripplet.get(currentTarget);\n if (!container2ripplet) {\n target2container2ripplet.set(currentTarget, container2ripplet = new Map());\n }\n container2ripplet.set(containerElement, rippletElement);\n }\n }\n return containerElement;\n}\nripplet.clear = function (targetElement, rippletContainerElement) {\n if (targetElement) {\n var container2ripplet = target2container2ripplet.get(targetElement);\n if (container2ripplet) {\n if (rippletContainerElement) {\n var rippletElement = container2ripplet.get(rippletContainerElement);\n rippletElement && (rippletElement.style.opacity = '0');\n container2ripplet.delete(rippletContainerElement);\n container2ripplet.size === 0 && target2container2ripplet.delete(targetElement);\n }\n else {\n container2ripplet.forEach(function (r) { return r.style.opacity = '0'; });\n target2container2ripplet.delete(targetElement);\n }\n }\n }\n else {\n target2container2ripplet.forEach(function (container2ripplet) { return container2ripplet.forEach(function (r) { return r.style.opacity = '0'; }); });\n target2container2ripplet.clear();\n }\n};\nripplet.defaultOptions = defaultOptions;\nripplet._ripplets = target2container2ripplet;\nexport default ripplet;\n","import ripplet,\n{\n defaultOptions\n} from 'ripplet.js'\n\n/*\n * Config for ripplet.js by luncheon\n */\n\n// Values from https://github.com/material-components/material-components-web/blob/master/packages/mdc-ripple/_variables.scss\n\nconst Ripplet = (() => {\n /* eslint complexity: [\"error\", 40] */\n addEventListener('pointerdown', (event) => {\n defaultOptions.color = 'rgba(0,0,0,0.12)'\n defaultOptions.opacity = 1\n defaultOptions.spreadingDelay = '15ms'\n defaultOptions.spreadingDuration = '175ms'\n defaultOptions.clearingDelay = '300ms'\n defaultOptions.clearingDuration = '150ms'\n defaultOptions.clearingTimingFunction = 'linear'\n\n if (event.button !== 0) {\n return\n }\n const currentTarget = event.target.closest('.btn, .card-link, .card-primary-action, .list-group-item-action, [data-ripplet]')\n if (!currentTarget || currentTarget.disabled) {\n return\n }\n\n const rippleTarget = {\n currentTarget,\n clientX: event.clientX,\n clientY: event.clientY\n }\n\n currentTarget.setAttribute('data-ripplet', '')\n const cls = currentTarget.classList\n\n if (\n cls.contains('btn-outline-primary') ||\n cls.contains('btn-outline-secondary') ||\n cls.contains('btn-outline-danger') ||\n cls.contains('btn-outline-info') ||\n cls.contains('btn-outline-success') ||\n cls.contains('btn-outline-warning') ||\n cls.contains('btn-outline-dark') ||\n cls.contains('btn-outline-light') ||\n cls.contains('btn-link') ||\n cls.contains('card-link') ||\n cls.contains('btn-flat-primary') ||\n cls.contains('btn-flat-secondary') ||\n cls.contains('btn-flat-danger') ||\n cls.contains('btn-flat-info') ||\n cls.contains('btn-flat-success') ||\n cls.contains('btn-flat-warning') ||\n cls.contains('btn-flat-dark') ||\n cls.contains('btn-flat-light')\n ) {\n ripplet(rippleTarget, {\n color: getComputedStyle(currentTarget).color,\n opacity: 0.12\n })\n } else if (\n cls.contains('btn-primary') ||\n cls.contains('btn-secondary') ||\n cls.contains('btn-success') ||\n cls.contains('btn-danger') ||\n cls.contains('btn-warning') ||\n cls.contains('btn-info') ||\n cls.contains('btn-dark')\n ) {\n ripplet(rippleTarget, {\n color: 'rgba(255,255,255,0.24)'\n })\n } else if (\n cls.contains('nav-link')\n ) {\n ripplet(rippleTarget, {\n color: getComputedStyle(currentTarget, ':active').color,\n opacity: 0.12\n })\n } else {\n ripplet(rippleTarget)\n }\n })\n})()\n\nexport default Ripplet\n","import $ from 'jquery'\nimport Util from './util'\n\n/*\n * Tab indicator animation\n * Requires Bootstrap's (v4.4.X) `tab.js`\n */\n\nconst TabSwitch = (($) => {\n // constants >>>\n const DATA_KEY = 'md.tabswitch'\n const NAME = 'tabswitch'\n const NO_CONFLICT = $.fn[NAME]\n\n const ClassName = {\n ANIMATE : 'animate',\n DROPDOWN_ITEM : 'dropdown-item',\n INDICATOR : 'nav-tabs-indicator',\n MATERIAL : 'nav-tabs-material',\n SCROLLABLE : 'nav-tabs-scrollable',\n SHOW : 'show'\n }\n\n const Event = {\n SHOW_BS_TAB : 'show.bs.tab'\n }\n\n const Selector = {\n DATA_TOGGLE : '.nav-tabs [data-toggle=\"tab\"]',\n DROPDOWN : '.dropdown',\n NAV : '.nav-tabs'\n }\n // <<< constants\n\n class TabSwitch {\n constructor(nav) {\n this._nav = nav\n this._navindicator = null\n }\n\n switch(element, relatedTarget) {\n const navLeft = $(this._nav).offset().left\n const navScrollLeft = $(this._nav).scrollLeft()\n const navWidth = $(this._nav).outerWidth()\n\n if (!this._navindicator) {\n this._createIndicator(navLeft, navScrollLeft, navWidth, relatedTarget)\n }\n\n if ($(element).hasClass(ClassName.DROPDOWN_ITEM)) {\n element = $(element).closest(Selector.DROPDOWN)\n }\n\n const elLeft = $(element).offset().left\n const elWidth = $(element).outerWidth()\n\n $(this._navindicator).addClass(ClassName.SHOW)\n\n Util.reflow(this._navindicator)\n\n $(this._nav).addClass(ClassName.ANIMATE)\n\n $(this._navindicator).css({\n left : elLeft + navScrollLeft - navLeft,\n right : navWidth - (elLeft + navScrollLeft - navLeft + elWidth)\n })\n\n const complete = () => {\n $(this._nav).removeClass(ClassName.ANIMATE)\n\n $(this._navindicator).removeClass(ClassName.SHOW)\n }\n\n const transitionDuration = Util.getTransitionDurationFromElement(this._navindicator)\n\n $(this._navindicator)\n .one(Util.TRANSITION_END, complete)\n .emulateTransitionEnd(transitionDuration)\n }\n\n _createIndicator(navLeft, navScrollLeft, navWidth, relatedTarget) {\n this._navindicator = document.createElement('div')\n\n $(this._navindicator)\n .addClass(ClassName.INDICATOR)\n .appendTo(this._nav)\n\n if (typeof relatedTarget !== 'undefined') {\n if ($(relatedTarget).hasClass(ClassName.DROPDOWN_ITEM)) {\n relatedTarget = $(relatedTarget).closest(Selector.DROPDOWN)\n }\n\n const relatedLeft = $(relatedTarget).offset().left\n const relatedWidth = $(relatedTarget).outerWidth()\n\n $(this._navindicator).css({\n left : relatedLeft + navScrollLeft - navLeft,\n right : navWidth - (relatedLeft + navScrollLeft - navLeft + relatedWidth)\n })\n }\n\n $(this._nav).addClass(ClassName.MATERIAL)\n }\n\n static _jQueryInterface(relatedTarget) {\n return this.each(function () {\n const nav = $(this).closest(Selector.NAV)[0]\n\n if (!nav) {\n return\n }\n\n let data = $(nav).data(DATA_KEY)\n\n if (!data) {\n data = new TabSwitch(nav)\n\n $(nav).data(DATA_KEY, data)\n }\n\n data.switch(this, relatedTarget)\n })\n }\n }\n\n $(document).on(Event.SHOW_BS_TAB, Selector.DATA_TOGGLE, function (event) {\n TabSwitch._jQueryInterface.call($(this), event.relatedTarget)\n })\n\n $.fn[NAME] = TabSwitch._jQueryInterface\n $.fn[NAME].Constructor = TabSwitch\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = NO_CONFLICT\n\n return TabSwitch._jQueryInterface\n }\n\n return TabSwitch\n})($)\n\nexport default TabSwitch\n"],"names":["FloatingLabel","$","EVENT_KEY","ClassName","Event","Selector","document","on","target","this","closest","removeClass","predecessor","prev","length","addClass","DATA_KEY","NAME","NO_CONFLICT","fn","element","_element","_parent","_proto","prototype","change","val","is","html","replace","focusin","focusout","_jQueryInterface","event","each","_event","data","Error","call","type","Constructor","noConflict","TRANSITION_END","transitionEndEmulator","duration","_this","called","one","Util","setTimeout","triggerTransitionEnd","getUID","prefix","Math","random","getElementById","getSelectorFromElement","selector","getAttribute","hrefAttr","trim","querySelector","_","getTransitionDurationFromElement","transitionDuration","css","transitionDelay","floatTransitionDuration","parseFloat","floatTransitionDelay","split","reflow","offsetHeight","trigger","supportsTransitionEnd","Boolean","isElement","obj","nodeType","typeCheckConfig","componentName","config","configTypes","property","Object","hasOwnProperty","expectedTypes","value","valueType","toString","match","toLowerCase","RegExp","test","toUpperCase","findShadowRoot","documentElement","attachShadow","getRootNode","ShadowRoot","parentNode","root","jQueryDetection","TypeError","version","jquery","emulateTransitionEnd","special","bindType","delegateType","handle","handleObj","handler","apply","arguments","NavDrawer","Default","breakpoint","keyboard","show","DefaultType","CLICK_DATA_API","CLICK_DISMISS","FOCUSIN","HIDDEN","HIDE","KEYDOWN_DISMISS","MOUSEDOWN_DISMISS","MOUSEUP_DISMISS","SHOW","SHOWN","_backdrop","_config","_getConfig","_content","find","_ignoreBackdropClick","_isShown","_typeBreakpoint","hide","preventDefault","_isTransitioning","hideEvent","isDefaultPrevented","_setEscapeEvent","off","body","_hideNavdrawer","_showBackdrop","relatedTarget","showEvent","_this2","_showElement","toggle","_enforceFocus","_this3","has","focus","_objectSpread2","style","display","setAttribute","_removeBackdrop","remove","_this4","which","_this5","createElement","appendTo","currentTarget","_this6","Node","ELEMENT_NODE","appendChild","removeAttribute","shownEvent","key","get","_this7","tagName","$target","picker","commonjsHelpers.createCommonjsModule","module","exports","PickerConstructor","ELEMENT","COMPONENT","OPTIONS","IS_DEFAULT_THEME","STATE","id","abs","Date","handlingOpen","SETTINGS","extend","defaults","CLASSES","klasses","klass","$ELEMENT","PickerInstance","start","P","constructor","$node","methods","open","autofocus","getActiveElement","readOnly","editable","component","$root","aria","$holder","createWrappedComponent","prepareElementHolder","formatSubmit","hiddenName","name","hiddenPrefix","hiddenSuffix","_hidden","input","format","handleKeydownEvent","haspopup","expanded","readonly","owns","containerHidden","append","after","container","onStart","render","onRender","stop","onStop","onOpen","close","onClose","set","onSet","theme","prop","currentStyle","window","getComputedStyle","isUsingDefaultTheme","entireComponent","box","nodes","removeChild","removeData","dontGiveFocus","active","opened","getScrollbarWidth","supportsTransitions","frame","eq","$document","getRealEventTarget","isSimulated","keycode","keyCode","keycodeToMove","contains","click","go","highlighted","hasClass","disabled","item","highlight","closeOnSelect","giveFocus","handleFocusToOpenEvent","focused","clear","options","thing","thingItem","thingValue","thingIsObject","isPlainObject","thingObject","undefined","updateInput","muted","formats","method","internal","thingName","thingMethod","push","names","i","namesCount","_trigger","methodList","map","node","wrap","holder","keydown","focus.toOpen","blur","stopPropagation","mousedown click","targetData","targetDisabled","navDisabled","activeElement","href","nav","pick","closeOnClear","isKeycodeDelete","$html","height","$window","$outer","widthWithoutScroll","offsetWidth","widthWithScroll","path","originalEvent","indexOf","attribute","ariaSet","err","require$$0","transition","group","groupObject","loopObjectScope","nodesList","counter","min","max","wrapper","isArray","join","lead","number","callback","scope","args","digits","string","isDate","isInteger","getDate","ariaAttr","attr","attrVal","Component","action","componentData","DatePicker","settings","isRTL","direction","calendar","elementValue","elementDataValue","valueString","formatString","queue","now","select","view","disable","enable","slice","collectionDisabled","shift","defaultValue","40","38","39","37","timeChange","highlightedObject","targetDate","year","month","date","interval","selectMonth","selectYear","includeToday","buttonToday","Picker","require$$1","calendarItem","pop","create","isInfiniteValue","Infinity","normalize","getFullYear","getMonth","day","getDay","getTime","createRange","from","to","createDate","withinRange","range","dateUnit","overlapRanges","two","rel","setDate","navigate","targetYear","targetMonth","isTargetArray","isTargetObject","viewsetObject","targetDateObject","setHours","measure","parse","viewset","dateObject","validate","hasEnabledBeforeTarget","hasEnabledAfterTarget","reachedMin","reachedMax","originalDateObject","isFlippedBase","minLimitObject","maxLimitObject","hasEnabledWeekdays","filter","dateTime","dateToVerify","isDisabledMatch","dateToDisable","firstDay","inverted","parsingObject","toArray","label","formattingLabel","formatLength","substr","yyyy","yy","mm","m","dd","d","getWordLengthFromCollection","collection","word","getFirstWordLength","ddd","weekdaysShort","dddd","weekdaysFull","mmm","monthsShort","mmmm","monthsFull","itemObject","isDateExact","isDateOverlap","flipEnable","deactivate","datesToDisable","disabledItems","unitToDisable","matchFound","index","activate","datesToEnable","disabledItemsCount","unitToEnable","disabledUnit","isExactRange","isOpen","createMonthNav","next","role","controls","labelMonthNext","labelMonthPrev","createMonthLabel","monthsCollection","showMonthsShort","selectMonths","loopedMonth","labelMonthSelect","fullCollection","nowObject","selectedObject","disabledCollection","tableHead","showWeekdaysFull","DAYS_IN_WEEK","weekdays","createYearLabel","focusedYear","numberYears","selectYears","minYear","maxYear","lowestYear","highestYear","neededYears","availableYears","loopedYear","labelYearSelect","header","WEEKS_IN_CALENDAR","rowCounter","shiftDateBy","isSelected","isHighlighted","isDisabled","formattedDate","infocus","outfocus","selected","activedescendant","table","today","buttonClear","buttonClose","footer","navPrev","navNext","cancel","closeOnCancel","ok","PickDate","datepickerApi","datepickerRoot","datepickerValue","prepend","pickadate","copyStyles","destination","source","properties","_i","properties_1","defaultOptions","className","color","opacity","spreadingDuration","spreadingDelay","spreadingTimingFunction","clearing","clearingDuration","clearingDelay","clearingTimingFunction","centered","target2container2ripplet","Map","ripplet","_a","_options","clientX","clientY","Element","keys","reduce","merged","field","targetRect","getBoundingClientRect","left","width","top","targetStyle","containerElement","appendToParent","removingElement","containerStyle","position","parentElement","insertBefore","parentStyle","offsetLeft","offsetTop","containerContainerStyle","containerContainer","cssFloat","containerContainerRect","scrollLeft","scrollTop","overflow","pointerEvents","zIndex","distanceX","right","distanceY","bottom","radius","sqrt","rippletElement","rippletStyle","backgroundColor","marginRight","marginLeft","marginTop","borderRadius","transform","addEventListener","propertyName","container2ripplet","targetElement","rippletContainerElement","delete","size","forEach","r","_ripplets","rippleTarget","button","cls","classList","TabSwitch","_nav","_navindicator","switch","navLeft","offset","navScrollLeft","navWidth","outerWidth","_createIndicator","elLeft","elWidth","relatedLeft","relatedWidth"],"mappings":";;;;;wWAOMA,GCDkB,SAACC,GAEvB,IACMC,EAAS,eAETC,EACe,OADfA,EAEe,mBAGfC,EACA,OAAUF,EADVE,EAEA,OAAUF,EAGVG,EACS,mBADTA,EAES,6BAIfJ,EAAEK,UAAUC,GAAZ,GAAkBH,EAAcC,EAAqB,WACnD,IAAMG,EAASP,EAAEQ,MAAMC,QAAQL,GAE/BG,EAAOG,YAAYR,GAEbS,EAAcJ,EAAOK,KAAKR,GAE5BO,EAAYE,QACdF,EAAYD,YAAYR,KAEzBI,GAVH,GAUSH,EAAcC,EAAqB,WAC1C,IAAMG,EAASP,EAAEQ,MAAMC,QAAQL,GAE/BG,EAAOO,SAASZ,GAEVS,EAAcJ,EAAOK,KAAKR,GAE5BO,EAAYE,QACdF,EAAYG,SAASZ,KAvCH,CA0CrBF,EAAAA,SDzCoB,SAACA,GAEtB,IAAMe,EAAc,mBACdd,EAAS,IAASc,EAClBC,EAAc,gBACdC,EAAcjB,EAAEkB,GAAGF,GAEnBd,EACS,aADTA,EAES,YAGTC,EACE,SAAcF,EADhBE,EAEG,UAAcF,EAFjBE,EAGI,WAAcF,EAGlBG,EACU,kBADVA,EAEU,gEAIVL,EAxBsB,WAyB1B,SAAAA,EAAYoB,GACVX,KAAKY,SAAWD,EAChBX,KAAKa,QAAWrB,EAAEmB,GAASV,QAAQL,GAAsB,GA3BjC,IAAAkB,EAAAvB,EAAAwB,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