From 5de6b510dfee0e5b27afa4302573ae854b1847d3 Mon Sep 17 00:00:00 2001 From: djibe Date: Sat, 12 Dec 2020 23:46:39 +0100 Subject: [PATCH] Material 4.5.3-rc3 --- _includes/footer.html | 4 +-- js/material.js | 79 +++++------------------------------------- js/material.js.map | 2 +- js/material.min.js | 6 ++-- js/material.min.js.map | 2 +- 5 files changed, 14 insertions(+), 79 deletions(-) diff --git a/_includes/footer.html b/_includes/footer.html index 64dd760a6..85b511ec8 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -10,9 +10,7 @@ - + {% if page.plugin %} {% if page.maxlength %} diff --git a/js/material.js b/js/material.js index 8c721c880..13e6b7333 100644 --- a/js/material.js +++ b/js/material.js @@ -3600,72 +3600,9 @@ var Ripplet = function () { /* eslint complexity: ["error", 40] */ - - /* addEventListener('pointerdown', (event) => { - defaultOptions.color = 'rgba(0,0,0,0.12)' - defaultOptions.opacity = 1 - defaultOptions.spreadingDelay = '15ms' - defaultOptions.spreadingDuration = '175ms' - defaultOptions.clearingDelay = '300ms' - defaultOptions.clearingDuration = '150ms' - defaultOptions.clearingTimingFunction = 'linear' - if (event.button !== 0) { - return - } - const currentTarget = event.target.closest('.btn, .card-link, .card-primary-action, .list-group-item-action, [data-ripplet]') - if (!currentTarget || currentTarget.disabled) { - return - } - const rippleTarget = { - currentTarget, - clientX: event.clientX, - clientY: event.clientY - } - currentTarget.setAttribute('data-ripplet', '') - const cls = currentTarget.classList - if ( - cls.contains('btn-outline-primary') || - cls.contains('btn-outline-secondary') || - cls.contains('btn-outline-danger') || - cls.contains('btn-outline-info') || - cls.contains('btn-outline-success') || - cls.contains('btn-outline-warning') || - cls.contains('btn-outline-dark') || - cls.contains('btn-outline-light') || - cls.contains('btn-link') || - cls.contains('card-link') || - cls.contains('btn-flat-primary') || - cls.contains('btn-flat-secondary') || - cls.contains('btn-flat-danger') || - cls.contains('btn-flat-info') || - cls.contains('btn-flat-success') || - cls.contains('btn-flat-warning') || - cls.contains('btn-flat-dark') || - cls.contains('btn-flat-light') - ) { - ripplet(rippleTarget, { - color: getComputedStyle(currentTarget).color, - opacity: 0.12 - }) - } else if ( - cls.contains('btn-primary') || - cls.contains('btn-secondary') || - cls.contains('btn-success') || - cls.contains('btn-danger') || - cls.contains('btn-warning') || - cls.contains('btn-info') || - cls.contains('btn-dark') - ) { - ripplet(rippleTarget, { - color: 'rgba(255,255,255,0.24)' - }) - } else { - ripplet(rippleTarget) - } - }) */ - ripplet.defaultOptions.opacity = 0.16; addEventListener('pointerdown', function (event) { - // defaultOptions.opacity = 0.16 + defaultOptions.color = 'rgba(0,0,0,0.12)'; + defaultOptions.opacity = 1; defaultOptions.spreadingDelay = '15ms'; defaultOptions.spreadingDuration = '175ms'; defaultOptions.clearingDelay = '300ms'; @@ -3676,7 +3613,7 @@ return; } - var currentTarget = event.target.closest('.btn, .card-link, .card-primary-action, .chip-action, .list-group-item-action, [data-ripplet]'); + var currentTarget = event.target.closest('.btn, .card-link, .card-primary-action, .list-group-item-action, [data-ripplet]'); if (!currentTarget || currentTarget.disabled) { return; @@ -3690,14 +3627,14 @@ currentTarget.setAttribute('data-ripplet', ''); var cls = currentTarget.classList; - if (cls.contains('btn-primary') || cls.contains('btn-secondary') || cls.contains('btn-success') || cls.contains('btn-danger') || cls.contains('btn-warning') || cls.contains('btn-info') || cls.contains('btn-dark')) { + if (cls.contains('btn-outline-primary') || cls.contains('btn-outline-secondary') || cls.contains('btn-outline-danger') || cls.contains('btn-outline-info') || cls.contains('btn-outline-success') || cls.contains('btn-outline-warning') || cls.contains('btn-outline-dark') || cls.contains('btn-outline-light') || cls.contains('btn-link') || cls.contains('card-link') || cls.contains('btn-flat-primary') || cls.contains('btn-flat-secondary') || cls.contains('btn-flat-danger') || cls.contains('btn-flat-info') || cls.contains('btn-flat-success') || cls.contains('btn-flat-warning') || cls.contains('btn-flat-dark') || cls.contains('btn-flat-light')) { ripplet(rippleTarget, { - opacity: 0.32 + color: getComputedStyle(currentTarget).color, + opacity: 0.12 }); - } else if (cls.contains('btn-outline-light')) { + } else if (cls.contains('btn-primary') || cls.contains('btn-secondary') || cls.contains('btn-success') || cls.contains('btn-danger') || cls.contains('btn-warning') || cls.contains('btn-info') || cls.contains('btn-dark')) { ripplet(rippleTarget, { - color: '#d7d7d7', - opacity: 1 + color: 'rgba(255,255,255,0.24)' }); } else { ripplet(rippleTarget); diff --git a/js/material.js.map b/js/material.js.map index 43a77363b..dd0a20be2 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/selection-control-focus.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 {\n ripplet(rippleTarget)\n }\n }) */\n ripplet.defaultOptions.opacity = 0.16\n\n addEventListener('pointerdown', (event) => {\n // defaultOptions.opacity = 0.16\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, .chip-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-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 opacity: 0.32\n })\n } else if (\n cls.contains('btn-outline-light')\n ) {\n ripplet(rippleTarget, {\n color: '#d7d7d7',\n opacity: 1\n })\n } else {\n ripplet(rippleTarget)\n }\n })\n})()\n\nexport default Ripplet\n","import $ from 'jquery'\n\n/*\n * Selection control plugin fixes the focus state problem with\n * Chrome persisting focus state on checkboxes/radio buttons after clicking\n */\n\nconst SelectionControlFocus = (($) => {\n // constants >>>\n const DATA_KEY = 'md.selectioncontrolfocus'\n const EVENT_KEY = `.${DATA_KEY}`\n\n const ClassName = {\n FOCUS : 'focus'\n }\n\n const LastInteraction = {\n IS_MOUSEDOWN : false\n }\n\n const Event = {\n BLUR : `blur${EVENT_KEY}`,\n FOCUS : `focus${EVENT_KEY}`,\n MOUSEDOWN : `mousedown${EVENT_KEY}`,\n MOUSEUP : `mouseup${EVENT_KEY}`\n }\n\n const Selector = {\n CONTROL : '.custom-control',\n INPUT : '.custom-control-input'\n }\n // <<< constants\n\n $(document).on(`${Event.BLUR}`, Selector.INPUT, function () {\n $(this).removeClass(ClassName.FOCUS)\n }).on(`${Event.FOCUS}`, Selector.INPUT, function () {\n if (LastInteraction.IS_MOUSEDOWN === false) {\n $(this).addClass(ClassName.FOCUS)\n }\n }).on(`${Event.MOUSEDOWN}`, Selector.CONTROL, () => {\n LastInteraction.IS_MOUSEDOWN = true\n }).on(`${Event.MOUSEUP}`, Selector.CONTROL, () => {\n setTimeout(() => {\n LastInteraction.IS_MOUSEDOWN = false\n }, 1)\n })\n})($)\n\nexport default SelectionControlFocus\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","ripplet","defaultOptions","opacity","addEventListener","spreadingDelay","spreadingDuration","clearingDelay","clearingDuration","clearingTimingFunction","button","rippleTarget","clientX","clientY","cls","classList","contains","color","SelectionControlFocus","FOCUS","LastInteraction","IS_MOUSEDOWN","BLUR","MOUSEDOWN","MOUSEUP","CONTROL","INPUT","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,GAAI,aAAlB;EACA,MAAMC,SAAS,SAAOD,QAAtB;EAEA,MAAME,SAAS,GAAG;EAChBC,IAAAA,IAAI,EAAe,MADH;EAEhBC,IAAAA,gBAAgB,EAAG;EAFH,GAAlB;EAKA,MAAMC,KAAK,GAAG;EACZC,IAAAA,IAAI,WAAUL,SADF;EAEZE,IAAAA,IAAI,WAAUF;EAFF,GAAd;EAKA,MAAMM,QAAQ,GAAG;EACfC,IAAAA,KAAK,EAAQ,kBADE;EAEfC,IAAAA,UAAU,EAAG;EAFE,GAAjB,CAf6B;;EAqB7BV,EAAAA,CAAC,CAACW,QAAD,CAAD,CAAYC,EAAZ,MAAkBN,KAAK,CAACC,IAAxB,EAAgCC,QAAQ,CAACE,UAAzC,EAAqD,YAAY;EAC/D,QAAMG,MAAM,GAAGb,CAAC,CAAC,IAAD,CAAD,CAAQc,OAAR,CAAgBN,QAAQ,CAACC,KAAzB,CAAf;EAEAI,IAAAA,MAAM,CAACE,WAAP,CAAmBZ,SAAS,CAACC,IAA7B;EAEA,QAAMY,WAAW,GAAGH,MAAM,CAACI,IAAP,CAAYT,QAAQ,CAACC,KAArB,C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ating-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/selection-control-focus.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 {\n ripplet(rippleTarget)\n }\n })\n})()\n\nexport default Ripplet\n","import $ from 'jquery'\n\n/*\n * Selection control plugin fixes the focus state problem with\n * Chrome persisting focus state on checkboxes/radio buttons after clicking\n */\n\nconst SelectionControlFocus = (($) => {\n // constants >>>\n const DATA_KEY = 'md.selectioncontrolfocus'\n const EVENT_KEY = `.${DATA_KEY}`\n\n const ClassName = {\n FOCUS : 'focus'\n }\n\n const LastInteraction = {\n IS_MOUSEDOWN : false\n }\n\n const Event = {\n BLUR : `blur${EVENT_KEY}`,\n FOCUS : `focus${EVENT_KEY}`,\n MOUSEDOWN : `mousedown${EVENT_KEY}`,\n MOUSEUP : `mouseup${EVENT_KEY}`\n }\n\n const Selector = {\n CONTROL : '.custom-control',\n INPUT : '.custom-control-input'\n }\n // <<< constants\n\n $(document).on(`${Event.BLUR}`, Selector.INPUT, function () {\n $(this).removeClass(ClassName.FOCUS)\n }).on(`${Event.FOCUS}`, Selector.INPUT, function () {\n if (LastInteraction.IS_MOUSEDOWN === false) {\n $(this).addClass(ClassName.FOCUS)\n }\n }).on(`${Event.MOUSEDOWN}`, Selector.CONTROL, () => {\n LastInteraction.IS_MOUSEDOWN = true\n }).on(`${Event.MOUSEUP}`, Selector.CONTROL, () => {\n setTimeout(() => {\n LastInteraction.IS_MOUSEDOWN = false\n }, 1)\n })\n})($)\n\nexport default SelectionControlFocus\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","SelectionControlFocus","FOCUS","LastInteraction","IS_MOUSEDOWN","BLUR","MOUSEDOWN","MOUSEUP","CONTROL","INPUT","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,GAAI,aAAlB;EACA,MAAMC,SAAS,SAAOD,QAAtB;EAEA,MAAME,SAAS,GAAG;EAChBC,IAAAA,IAAI,EAAe,MADH;EAEhBC,IAAAA,gBAAgB,EAAG;EAFH,GAAlB;EAKA,MAAMC,KAAK,GAAG;EACZC,IAAAA,IAAI,WAAUL,SADF;EAEZE,IAAAA,IAAI,WAAUF;EAFF,GAAd;EAKA,MAAMM,QAAQ,GAAG;EACfC,IAAAA,KAAK,EAAQ,kBADE;EAEfC,IAAAA,UAAU,EAAG;EAFE,GAAjB,CAf6B;;EAqB7BV,EAAAA,CAAC,CAACW,QAAD,CAAD,CAAYC,EAAZ,MAAkBN,KAAK,CAACC,IAAxB,EAAgCC,QAAQ,CAACE,UAAzC,EAAqD,YAAY;EAC/D,QAAMG,MAAM,GAAGb,CAAC,CAAC,IAAD,CAAD,CAAQc,OAAR,CAAgBN,QAAQ,CAACC,KAAzB,CAAf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,QAAQ,CAACsB,WAA3C,EAAwD,UAAUY,KAAV,EAAiB;EACvEoP,IAAAA,SAAS,CAACrP,gBAAV,CAA2BM,IAA3B,CAAgC/C,CAAC,CAAC,IAAD,CAAjC,EAAyC0C,KAAK,CAAC6G,aAA/C;EACD,GAFD;EAIAvJ,EAAAA,CAAC,CAACuB,EAAF,CAAKF,IAAL,IAAyByQ,SAAS,CAACrP,gBAAnC;EACAzC,EAAAA,CAAC,CAACuB,EAAF,CAAKF,IAAL,EAAW4B,WAAX,GAAyB6O,SAAzB;;EACA9R,EAAAA,CAAC,CAACuB,EAAF,CAAKF,IAAL,EAAW6B,UAAX,GAAyB,YAAY;EACnClD,IAAAA,CAAC,CAACuB,EAAF,CAAKF,IAAL,IAAaC,WAAb;EAEA,WAAOwQ,SAAS,CAACrP,gBAAjB;EACD,GAJD;;EAMA,SAAOqP,SAAP;EACD,CAlIiB,CAkIf9R,qBAlIe;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/js/material.min.js b/js/material.min.js index 624b2cdd2..d04f6be93 100644 --- a/js/material.min.js +++ b/js/material.min.js @@ -3,15 +3,15 @@ * Copyright 2011-2020 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=b(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=b('")[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(){b(document).off("mouseup",e),s.handlingOpen=!1},0)};b(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?b(l.containerHidden).append(d._hidden):c.after(d._hidden),l.container?b(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=b(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&&b("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?b.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&&b("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=b.isPlainObject(e),a=r?e:{};if(n=r&&b.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=b.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=b('
').appendTo(e)[0].offsetWidth;return e.remove(),t-n}function g(e,t){var n=[];return e.path&&(n=e.path),e.originalEvent&&e.originalEvent.path&&(n=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),e.originalEvent&&e.originalEvent.path&&(n=e.originalEvent.path),n&&0"+(t=b.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){b.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){b.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(){b(this).data(i)||new p(this,i,o,e)})},b.fn[i].defaults=o.defaults},p)}),D=(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=(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)} /*! * Date picker for pickadate.js v3.6.4 * http://amsul.github.io/pickadate.js/date.htm - */var p,g;e.exports=(e=w,p=a.default,g=e._,n.prototype.set=function(t,n,i){var o=this,e=o.item;return null===n?("clear"==t&&(t="select"),e[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))}),f=a.default,h="md.pickdate",p="pickdate",b=f.fn[p],_={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"]},k={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){f(".picker-date-display",t).remove(),f(".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;f(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=f(this._element).pickadate("picker"),n=t.$root;t.on({close:function(){f(document.activeElement).blur()},open:function(){f(".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({},_),e),v.typeCheckConfig(p,e,k),e},i._jQueryInterface=function(n){return this.each(function(){var e=y(y(y({},_),f(this).data()),"object"==typeof n&&n?n:{}),t=f(this).data(h);t||(t=new i(this,e),f(this).data(h,t)),t.show()})},i}(),f.fn[p]=S._jQueryInterface,f.fn[p].Constructor=S,f.fn[p].noConflict=function(){return f.fn[p]=b,S._jQueryInterface},{className:"",color:"currentcolor",opacity:.1,spreadingDuration:".4s",spreadingDelay:"0s",spreadingTimingFunction:"linear",clearing:!0,clearingDuration:"1s",clearingDelay:"0s",clearingTimingFunction:"ease-in-out",centered:!1,appendTo:"body"}),C=new Map;function O(e,n){var t=e.currentTarget,i=e.clientX,o=e.clientY;if(t instanceof Element){var r=n?Object.keys(D).reduce(function(e,t){return e[t]=(n.hasOwnProperty(t)?n:D)[t],e},{}):D,a=t.getBoundingClientRect();if(r.centered&&"false"!==r.centered)i=a.left+.5*a.width,o=a.top+.5*a.height;else if("number"!=typeof i||"number"!=typeof o)return;var s=getComputedStyle(t),l=document.documentElement,c=document.body,d=document.createElement("div"),u="parent"===r.appendTo,f=d,h=d.style;"fixed"===s.position||"absolute"===s.position&&u?(u?t.parentElement.insertBefore(d,t):c.appendChild(d),m(h,s,["position","left","top","right","bottom","marginLeft","marginTop","marginRight","marginBottom"])):u?"flex"===(e=getComputedStyle(t.parentElement)).display||"inline-flex"===e.display?(t.parentElement.insertBefore(d,t),h.position="absolute",h.left=t.offsetLeft+"px",h.top=t.offsetTop+"px"):((p=(e=f=t.parentElement.insertBefore(document.createElement("div"),t)).style).display="inline-block",p.position="relative",p.width=p.height="0",p.cssFloat=s.cssFloat,p=e.getBoundingClientRect(),e.appendChild(d),h.position="absolute",h.top=a.top-p.top+"px",h.left=a.left-p.left+"px"):(c.appendChild(d),h.position="absolute",h.left=a.left+l.scrollLeft+c.scrollLeft+"px",h.top=a.top+l.scrollTop+c.scrollTop+"px"),h.overflow="hidden",h.pointerEvents="none",h.width=a.width+"px",h.height=a.height+"px",h.zIndex=(+s.zIndex||0)+1,h.opacity=r.opacity,m(h,s,["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","webkitClipPath","clipPath"]);var p=Math.max(i-a.left,a.right-i),l=Math.max(o-a.top,a.bottom-o),h=Math.sqrt(p*p+l*l),p=d.appendChild(document.createElement("div")),l=p.style;return p.className=r.className,l.backgroundColor=(/^currentcolor$/i.test(r.color)?s:r).color,l.width=l.height=2*h+"px","rtl"===getComputedStyle(u?t.parentElement:c).direction?l.marginRight=a.right-i-h+"px":l.marginLeft=i-a.left-h+"px",l.marginTop=o-a.top-h+"px",l.borderRadius="50%",l.transition="transform "+r.spreadingDuration+" "+r.spreadingTimingFunction+" "+r.spreadingDelay+",opacity "+r.clearingDuration+" "+r.clearingTimingFunction+" "+r.clearingDelay,l.transform="scale(0)",p.offsetTop,l.transform="",p.addEventListener("transitionend",function(e){"opacity"===e.propertyName&&f.parentElement&&f.parentElement.removeChild(f)}),r.clearing&&"false"!==r.clearing?l.opacity="0":((l=C.get(t))||C.set(t,l=new Map),l.set(d,p)),d}}O.clear=function(e,t){var n,i;e?(n=C.get(e))&&(t?((i=n.get(t))&&(i.style.opacity="0"),n.delete(t),0===n.size&&C.delete(e)):(n.forEach(function(e){return e.style.opacity="0"}),C.delete(e))):(C.forEach(function(e){return e.forEach(function(e){return e.style.opacity="0"})}),C.clear())},O.defaultOptions=D,O._ripplets=C;O.defaultOptions.opacity=.16,addEventListener("pointerdown",function(e){var t;D.spreadingDelay="15ms",D.spreadingDuration="175ms",D.clearingDelay="300ms",D.clearingDuration="150ms",D.clearingTimingFunction="linear",0!==e.button||(t=e.target.closest(".btn, .card-link, .card-primary-action, .chip-action, .list-group-item-action, [data-ripplet]"))&&!t.disabled&&(e={currentTarget:t,clientX:e.clientX,clientY:e.clientY},t.setAttribute("data-ripplet",""),(t=t.classList).contains("btn-primary")||t.contains("btn-secondary")||t.contains("btn-success")||t.contains("btn-danger")||t.contains("btn-warning")||t.contains("btn-info")||t.contains("btn-dark")?O(e,{opacity:.32}):t.contains("btn-outline-light")?O(e,{color:"#d7d7d7",opacity:1}):O(e))}),function(e){var t="focus",n={IS_MOUSEDOWN:!1},i="blur"+(l=".md.selectioncontrolfocus"),o="focus"+l,r="mousedown"+l,a="mouseup"+l,s=".custom-control",l=".custom-control-input";e(document).on(""+i,l,function(){e(this).removeClass(t)}).on(""+o,l,function(){!1===n.IS_MOUSEDOWN&&e(this).addClass(t)}).on(""+r,s,function(){n.IS_MOUSEDOWN=!0}).on(""+a,s,function(){setTimeout(function(){n.IS_MOUSEDOWN=!1},1)})}(a.default);t=function(a){var o="md.tabswitch",e="tabswitch",t=a.fn[e],s="animate",l="dropdown-item",r="nav-tabs-indicator",c="nav-tabs-material",d="show",n='.nav-tabs [data-toggle="tab"]',u=".dropdown",f=".nav-tabs",i=function(){function i(e){this._nav=e,this._navindicator=null}var e=i.prototype;return e.switch=function(e,t){var n=this,i=a(this._nav).offset().left,o=a(this._nav).scrollLeft(),r=a(this._nav).outerWidth();this._navindicator||this._createIndicator(i,o,r,t),a(e).hasClass(l)&&(e=a(e).closest(u));t=a(e).offset().left,e=a(e).outerWidth();a(this._navindicator).addClass(d),v.reflow(this._navindicator),a(this._nav).addClass(s),a(this._navindicator).css({left:t+o-i,right:r-(t+o-i+e)});e=v.getTransitionDurationFromElement(this._navindicator);a(this._navindicator).one(v.TRANSITION_END,function(){a(n._nav).removeClass(s),a(n._navindicator).removeClass(d)}).emulateTransitionEnd(e)},e._createIndicator=function(e,t,n,i){var o;this._navindicator=document.createElement("div"),a(this._navindicator).addClass(r).appendTo(this._nav),"undefined"!=typeof i&&(a(i).hasClass(l)&&(i=a(i).closest(u)),o=a(i).offset().left,i=a(i).outerWidth(),a(this._navindicator).css({left:o+t-e,right:n-(o+t-e+i)})),a(this._nav).addClass(c)},i._jQueryInterface=function(n){return this.each(function(){var e,t=a(this).closest(f)[0];t&&((e=a(t).data(o))||(e=new i(t),a(t).data(o,e)),e.switch(this,n))})},i}();return a(document).on("show.bs.tab",n,function(e){i._jQueryInterface.call(a(this),e.relatedTarget)}),a.fn[e]=i._jQueryInterface,a.fn[e].Constructor=i,a.fn[e].noConflict=function(){return a.fn[e]=t,i._jQueryInterface},i}(a.default);e.ExpansionPanel=void 0,e.FloatingLabel=i,e.NavDrawer=d,e.PickDate=void 0,e.Ripplet=void 0,e.SelectionControlFocus=void 0,e.TabSwitch=t,e.Util=v,Object.defineProperty(e,"__esModule",{value:!0})}); + */var p,g;e.exports=(e=w,p=a.default,g=e._,n.prototype.set=function(t,n,i){var o=this,e=o.item;return null===n?("clear"==t&&(t="select"),e[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))}),f=a.default,h="md.pickdate",p="pickdate",v=f.fn[p],_={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"]},k={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){f(".picker-date-display",t).remove(),f(".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;f(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=f(this._element).pickadate("picker"),n=t.$root;t.on({close:function(){f(document.activeElement).blur()},open:function(){f(".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({},_),e),b.typeCheckConfig(p,e,k),e},i._jQueryInterface=function(n){return this.each(function(){var e=y(y(y({},_),f(this).data()),"object"==typeof n&&n?n:{}),t=f(this).data(h);t||(t=new i(this,e),f(this).data(h,t)),t.show()})},i}(),f.fn[p]=S._jQueryInterface,f.fn[p].Constructor=S,f.fn[p].noConflict=function(){return f.fn[p]=v,S._jQueryInterface},{className:"",color:"currentcolor",opacity:.1,spreadingDuration:".4s",spreadingDelay:"0s",spreadingTimingFunction:"linear",clearing:!0,clearingDuration:"1s",clearingDelay:"0s",clearingTimingFunction:"ease-in-out",centered:!1,appendTo:"body"}),D=new Map;function O(e,n){var t=e.currentTarget,i=e.clientX,o=e.clientY;if(t instanceof Element){var r=n?Object.keys(C).reduce(function(e,t){return e[t]=(n.hasOwnProperty(t)?n:C)[t],e},{}):C,a=t.getBoundingClientRect();if(r.centered&&"false"!==r.centered)i=a.left+.5*a.width,o=a.top+.5*a.height;else if("number"!=typeof i||"number"!=typeof o)return;var s=getComputedStyle(t),l=document.documentElement,c=document.body,d=document.createElement("div"),u="parent"===r.appendTo,f=d,h=d.style;"fixed"===s.position||"absolute"===s.position&&u?(u?t.parentElement.insertBefore(d,t):c.appendChild(d),m(h,s,["position","left","top","right","bottom","marginLeft","marginTop","marginRight","marginBottom"])):u?"flex"===(e=getComputedStyle(t.parentElement)).display||"inline-flex"===e.display?(t.parentElement.insertBefore(d,t),h.position="absolute",h.left=t.offsetLeft+"px",h.top=t.offsetTop+"px"):((p=(e=f=t.parentElement.insertBefore(document.createElement("div"),t)).style).display="inline-block",p.position="relative",p.width=p.height="0",p.cssFloat=s.cssFloat,p=e.getBoundingClientRect(),e.appendChild(d),h.position="absolute",h.top=a.top-p.top+"px",h.left=a.left-p.left+"px"):(c.appendChild(d),h.position="absolute",h.left=a.left+l.scrollLeft+c.scrollLeft+"px",h.top=a.top+l.scrollTop+c.scrollTop+"px"),h.overflow="hidden",h.pointerEvents="none",h.width=a.width+"px",h.height=a.height+"px",h.zIndex=(+s.zIndex||0)+1,h.opacity=r.opacity,m(h,s,["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","webkitClipPath","clipPath"]);var p=Math.max(i-a.left,a.right-i),l=Math.max(o-a.top,a.bottom-o),h=Math.sqrt(p*p+l*l),p=d.appendChild(document.createElement("div")),l=p.style;return p.className=r.className,l.backgroundColor=(/^currentcolor$/i.test(r.color)?s:r).color,l.width=l.height=2*h+"px","rtl"===getComputedStyle(u?t.parentElement:c).direction?l.marginRight=a.right-i-h+"px":l.marginLeft=i-a.left-h+"px",l.marginTop=o-a.top-h+"px",l.borderRadius="50%",l.transition="transform "+r.spreadingDuration+" "+r.spreadingTimingFunction+" "+r.spreadingDelay+",opacity "+r.clearingDuration+" "+r.clearingTimingFunction+" "+r.clearingDelay,l.transform="scale(0)",p.offsetTop,l.transform="",p.addEventListener("transitionend",function(e){"opacity"===e.propertyName&&f.parentElement&&f.parentElement.removeChild(f)}),r.clearing&&"false"!==r.clearing?l.opacity="0":((l=D.get(t))||D.set(t,l=new Map),l.set(d,p)),d}}O.clear=function(e,t){var n,i;e?(n=D.get(e))&&(t?((i=n.get(t))&&(i.style.opacity="0"),n.delete(t),0===n.size&&D.delete(e)):(n.forEach(function(e){return e.style.opacity="0"}),D.delete(e))):(D.forEach(function(e){return e.forEach(function(e){return e.style.opacity="0"})}),D.clear())},O.defaultOptions=C,O._ripplets=D;addEventListener("pointerdown",function(e){var t,n;C.color="rgba(0,0,0,0.12)",C.opacity=1,C.spreadingDelay="15ms",C.spreadingDuration="175ms",C.clearingDelay="300ms",C.clearingDuration="150ms",C.clearingTimingFunction="linear",0!==e.button||(t=e.target.closest(".btn, .card-link, .card-primary-action, .list-group-item-action, [data-ripplet]"))&&!t.disabled&&(n={currentTarget:t,clientX:e.clientX,clientY:e.clientY},t.setAttribute("data-ripplet",""),(e=t.classList).contains("btn-outline-primary")||e.contains("btn-outline-secondary")||e.contains("btn-outline-danger")||e.contains("btn-outline-info")||e.contains("btn-outline-success")||e.contains("btn-outline-warning")||e.contains("btn-outline-dark")||e.contains("btn-outline-light")||e.contains("btn-link")||e.contains("card-link")||e.contains("btn-flat-primary")||e.contains("btn-flat-secondary")||e.contains("btn-flat-danger")||e.contains("btn-flat-info")||e.contains("btn-flat-success")||e.contains("btn-flat-warning")||e.contains("btn-flat-dark")||e.contains("btn-flat-light")?O(n,{color:getComputedStyle(t).color,opacity:.12}):e.contains("btn-primary")||e.contains("btn-secondary")||e.contains("btn-success")||e.contains("btn-danger")||e.contains("btn-warning")||e.contains("btn-info")||e.contains("btn-dark")?O(n,{color:"rgba(255,255,255,0.24)"}):O(n))}),function(e){var t="focus",n={IS_MOUSEDOWN:!1},i="blur"+(l=".md.selectioncontrolfocus"),o="focus"+l,r="mousedown"+l,a="mouseup"+l,s=".custom-control",l=".custom-control-input";e(document).on(""+i,l,function(){e(this).removeClass(t)}).on(""+o,l,function(){!1===n.IS_MOUSEDOWN&&e(this).addClass(t)}).on(""+r,s,function(){n.IS_MOUSEDOWN=!0}).on(""+a,s,function(){setTimeout(function(){n.IS_MOUSEDOWN=!1},1)})}(a.default);t=function(a){var o="md.tabswitch",e="tabswitch",t=a.fn[e],s="animate",l="dropdown-item",r="nav-tabs-indicator",c="nav-tabs-material",d="show",n='.nav-tabs [data-toggle="tab"]',u=".dropdown",f=".nav-tabs",i=function(){function i(e){this._nav=e,this._navindicator=null}var e=i.prototype;return e.switch=function(e,t){var n=this,i=a(this._nav).offset().left,o=a(this._nav).scrollLeft(),r=a(this._nav).outerWidth();this._navindicator||this._createIndicator(i,o,r,t),a(e).hasClass(l)&&(e=a(e).closest(u));t=a(e).offset().left,e=a(e).outerWidth();a(this._navindicator).addClass(d),b.reflow(this._navindicator),a(this._nav).addClass(s),a(this._navindicator).css({left:t+o-i,right:r-(t+o-i+e)});e=b.getTransitionDurationFromElement(this._navindicator);a(this._navindicator).one(b.TRANSITION_END,function(){a(n._nav).removeClass(s),a(n._navindicator).removeClass(d)}).emulateTransitionEnd(e)},e._createIndicator=function(e,t,n,i){var o;this._navindicator=document.createElement("div"),a(this._navindicator).addClass(r).appendTo(this._nav),"undefined"!=typeof i&&(a(i).hasClass(l)&&(i=a(i).closest(u)),o=a(i).offset().left,i=a(i).outerWidth(),a(this._navindicator).css({left:o+t-e,right:n-(o+t-e+i)})),a(this._nav).addClass(c)},i._jQueryInterface=function(n){return this.each(function(){var e,t=a(this).closest(f)[0];t&&((e=a(t).data(o))||(e=new i(t),a(t).data(o,e)),e.switch(this,n))})},i}();return a(document).on("show.bs.tab",n,function(e){i._jQueryInterface.call(a(this),e.relatedTarget)}),a.fn[e]=i._jQueryInterface,a.fn[e].Constructor=i,a.fn[e].noConflict=function(){return a.fn[e]=t,i._jQueryInterface},i}(a.default);e.ExpansionPanel=void 0,e.FloatingLabel=i,e.NavDrawer=d,e.PickDate=void 0,e.Ripplet=void 0,e.SelectionControlFocus=void 0,e.TabSwitch=t,e.Util=b,Object.defineProperty(e,"__esModule",{value:!0})}); //# sourceMappingURL=material.min.js.map \ No newline at end of file diff --git a/js/material.min.js.map b/js/material.min.js.map index ab1243d9d..0baf08554 100644 --- a/js/material.min.js.map +++ b/js/material.min.js.map @@ -1 +1 @@ -{"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/ripplet.js/es/ripplet.js","../node_modules/pickadate/lib/picker.js","../assets/js/src/pickdate.js","../node_modules/pickadate/lib/picker.date.js","../assets/js/src/ripplet.js","../assets/js/src/selection-control-focus.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.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","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","/*!\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","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","/*!\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 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 {\n ripplet(rippleTarget)\n }\n }) */\n ripplet.defaultOptions.opacity = 0.16\n\n addEventListener('pointerdown', (event) => {\n // defaultOptions.opacity = 0.16\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, .chip-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-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 opacity: 0.32\n })\n } else if (\n cls.contains('btn-outline-light')\n ) {\n ripplet(rippleTarget, {\n color: '#d7d7d7',\n opacity: 1\n })\n } else {\n ripplet(rippleTarget)\n }\n })\n})()\n\nexport default Ripplet\n","import $ from 'jquery'\n\n/*\n * Selection control plugin fixes the focus state problem with\n * Chrome persisting focus state on checkboxes/radio buttons after clicking\n */\n\nconst SelectionControlFocus = (($) => {\n // constants >>>\n const DATA_KEY = 'md.selectioncontrolfocus'\n const EVENT_KEY = `.${DATA_KEY}`\n\n const ClassName = {\n FOCUS : 'focus'\n }\n\n const LastInteraction = {\n IS_MOUSEDOWN : false\n }\n\n const Event = {\n BLUR : `blur${EVENT_KEY}`,\n FOCUS : `focus${EVENT_KEY}`,\n MOUSEDOWN : `mousedown${EVENT_KEY}`,\n MOUSEUP : `mouseup${EVENT_KEY}`\n }\n\n const Selector = {\n CONTROL : '.custom-control',\n INPUT : '.custom-control-input'\n }\n // <<< constants\n\n $(document).on(`${Event.BLUR}`, Selector.INPUT, function () {\n $(this).removeClass(ClassName.FOCUS)\n }).on(`${Event.FOCUS}`, Selector.INPUT, function () {\n if (LastInteraction.IS_MOUSEDOWN === false) {\n $(this).addClass(ClassName.FOCUS)\n }\n }).on(`${Event.MOUSEDOWN}`, Selector.CONTROL, () => {\n LastInteraction.IS_MOUSEDOWN = true\n }).on(`${Event.MOUSEUP}`, Selector.CONTROL, () => {\n setTimeout(() => {\n LastInteraction.IS_MOUSEDOWN = false\n }, 1)\n })\n})($)\n\nexport default SelectionControlFocus\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","copyStyles","destination","source","properties","_i","properties_1","PickDate","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","defaultOptions","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","datepickerApi","datepickerRoot","datepickerValue","prepend","pickadate","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","cls","button","rippleTarget","classList","LastInteraction","IS_MOUSEDOWN","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,EA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AAEmI,GAAe+e,SAAS1D,KACzCkE,EAAe1nB,EAAEmI,GAAekf,aAEtCrnB,EAAEQ,KAAKumB,eAAe7jB,IAAI,CACxBsgB,KAAQiE,EAAcN,EAAgBF,EACtCjC,MAAQoC,GAAYK,EAAcN,EAAgBF,EAAUS,MAIhE1nB,EAAEQ,KAAKsmB,MAAMhmB,SAASZ,IA7FF2mB,EAgGf9kB,iBAAP,SAAwBoG,GACtB,OAAO3H,KAAKyB,KAAK,WACf,IAMIE,EANEmR,EAAMtT,EAAEQ,MAAMC,QAAQL,GAAc,GAErCkT,KAIDnR,EAAOnC,EAAEsT,GAAKnR,KAAKpB,MAGrBoB,EAAO,IAAI0kB,EAAUvT,GAErBtT,EAAEsT,GAAKnR,KAAKpB,EAAUoB,IAGxBA,EAAK6kB,OAAOxmB,KAAM2H,OAhHA0e,EAAA,GAiIxB,OAZA7mB,EAAEK,UAAUC,GArGI,cAqGkBF,EAAsB,SAAU4B,GAChE6kB,EAAU9kB,iBAAiBM,KAAKrC,EAAEQ,MAAOwB,EAAMmG,iBAGjDnI,EAAEkB,GAAGF,GAAoB6lB,EAAU9kB,iBACnC/B,EAAEkB,GAAGF,GAAMuB,YAAcskB,EACzB7mB,EAAEkB,GAAGF,GAAMwB,WAAc,WAGvB,OAFAxC,EAAEkB,GAAGF,GAAQC,EAEN4lB,EAAU9kB,kBAGZ8kB,EAjIU,CAkIhB7mB,EAAAA,S,sBTpIqB,E,gDKEN,E,eEuEhB4iB,E,6BCxE6B,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/ripplet.js/es/ripplet.js","../node_modules/pickadate/lib/picker.js","../assets/js/src/pickdate.js","../node_modules/pickadate/lib/picker.date.js","../assets/js/src/ripplet.js","../assets/js/src/selection-control-focus.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.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","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","/*!\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","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","/*!\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 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 {\n ripplet(rippleTarget)\n }\n })\n})()\n\nexport default Ripplet\n","import $ from 'jquery'\n\n/*\n * Selection control plugin fixes the focus state problem with\n * Chrome persisting focus state on checkboxes/radio buttons after clicking\n */\n\nconst SelectionControlFocus = (($) => {\n // constants >>>\n const DATA_KEY = 'md.selectioncontrolfocus'\n const EVENT_KEY = `.${DATA_KEY}`\n\n const ClassName = {\n FOCUS : 'focus'\n }\n\n const LastInteraction = {\n IS_MOUSEDOWN : false\n }\n\n const Event = {\n BLUR : `blur${EVENT_KEY}`,\n FOCUS : `focus${EVENT_KEY}`,\n MOUSEDOWN : `mousedown${EVENT_KEY}`,\n MOUSEUP : `mouseup${EVENT_KEY}`\n }\n\n const Selector = {\n CONTROL : '.custom-control',\n INPUT : '.custom-control-input'\n }\n // <<< constants\n\n $(document).on(`${Event.BLUR}`, Selector.INPUT, function () {\n $(this).removeClass(ClassName.FOCUS)\n }).on(`${Event.FOCUS}`, Selector.INPUT, function () {\n if (LastInteraction.IS_MOUSEDOWN === false) {\n $(this).addClass(ClassName.FOCUS)\n }\n }).on(`${Event.MOUSEDOWN}`, Selector.CONTROL, () => {\n LastInteraction.IS_MOUSEDOWN = true\n }).on(`${Event.MOUSEUP}`, Selector.CONTROL, () => {\n setTimeout(() => {\n LastInteraction.IS_MOUSEDOWN = false\n }, 1)\n })\n})($)\n\nexport default SelectionControlFocus\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","copyStyles","destination","source","properties","_i","properties_1","PickDate","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","defaultOptions","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","datepickerApi","datepickerRoot","datepickerValue","prepend","pickadate","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","LastInteraction","IS_MOUSEDOWN","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,E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