daemonite-material
Advanced tools
Comparing version 4.0.0 to 4.1.0
@@ -1,2 +0,2 @@ | ||
{% callout danger %} | ||
{% capture callout %} | ||
#### Asynchronous methods and transitions | ||
@@ -7,2 +7,3 @@ | ||
[See our Javascript documentation for more informations.]({{ site.baseurl }}/getting-started/javascript/#content) | ||
{% endcallout %} | ||
{% endcapture %} | ||
{% include callout.html content=callout type="danger" %} |
@@ -1,3 +0,4 @@ | ||
{% callout info %} | ||
{% capture callout %} | ||
Note that since browsers do not currently support [range context queries](https://www.w3.org/TR/mediaqueries-4/#range-context), we work around the limitations of [`min-` and `max-` prefixes](https://www.w3.org/TR/mediaqueries-4/#mq-min-max) and viewports with fractional widths (which can occur under certain conditions on high-dpi devices, for instance) by using values with higher precision for these comparisons. | ||
{% endcallout %} | ||
{% endcapture %} | ||
{% include callout.html content=callout type="info" %} |
@@ -1,5 +0,6 @@ | ||
{% callout warning %} | ||
{% capture callout %} | ||
### Conveying meaning to assistive technologies | ||
Using color to add meaning only provides a visual indication, which will not be conveyed to users of assistive technologies – such as screen readers. Ensure that information denoted by the color is either obvious from the content itself (e.g. the visible text), or is included through alternative means, such as additional text hidden with the `.sr-only` class. | ||
{% endcallout %} | ||
{% endcapture %} | ||
{% include callout.html content=callout type="info" %} |
@@ -1,11 +0,6 @@ | ||
// Extend third party JavaScript | ||
import '../../node_modules/pickadate/lib/picker.date.js' | ||
import './third-party/pickadate' | ||
// Import Material JavaScript | ||
import $ from 'jquery' | ||
import ExpansionPanel from './src/expansion-panel' | ||
import FloatingLabel from './src/floating-label' | ||
import NavDrawer from './src/nav-drawer' | ||
import PickDate from './src/pickdate' | ||
import SelectionControlFocus from './src/selection-control-focus' | ||
@@ -20,4 +15,5 @@ import TabSwitch from './src/tab-switch' | ||
NavDrawer, | ||
PickDate, | ||
SelectionControlFocus, | ||
TabSwitch | ||
} |
import $ from 'jquery' | ||
/* | ||
* expansion panel | ||
* upon selecting the collapsed panel, | ||
* it expands to display in full | ||
* Expansion panel plugins expands a collapsed panel in full upon selecting | ||
*/ | ||
@@ -8,0 +6,0 @@ |
import $ from 'jquery' | ||
/* | ||
* floating label | ||
* when a user engages with the text input field, | ||
* the floating inline labels move to float above the field | ||
* Floating label plugin moves inline label to float above the field | ||
* when a user engages with the assosciated text input field | ||
*/ | ||
@@ -8,0 +7,0 @@ |
@@ -5,4 +5,4 @@ import $ from 'jquery' | ||
/* | ||
* Navigation drawer | ||
* Based on Bootstrap's (v4.0.0) `modal.js` | ||
* Navigation drawer plguin | ||
* Based on Bootstrap's (v4.1.0) `modal.js` | ||
*/ | ||
@@ -20,7 +20,2 @@ | ||
const Breakpoints = { | ||
DESKTOP : 992, | ||
TABLET : 576 | ||
} | ||
const ClassName = { | ||
@@ -63,14 +58,2 @@ BACKDROP : 'navdrawer-backdrop', | ||
} | ||
const TransitionDurationEntering = { | ||
DESKTOP : 150, | ||
MOBILE : 225, | ||
TABLET : 292.5 | ||
} | ||
const TransitionDurationLeaving = { | ||
DESKTOP : 130, | ||
MOBILE : 195, | ||
TABLET : 253.5 | ||
} | ||
// <<< constants | ||
@@ -125,5 +108,7 @@ | ||
if (supportsTransition) { | ||
$(this._element) | ||
const transitionDuration = Util.getTransitionDurationFromElement(this._content) | ||
$(this._content) | ||
.one(Util.TRANSITION_END, (event) => this._hideNavdrawer(event)) | ||
.emulateTransitionEnd(this._getTransitionDuration(TransitionDurationLeaving)) | ||
.emulateTransitionEnd(transitionDuration) | ||
} else { | ||
@@ -204,12 +189,2 @@ this._hideNavdrawer() | ||
_getTransitionDuration(duration) { | ||
if (window.innerWidth >= Breakpoints.DESKTOP) { | ||
return duration.DESKTOP | ||
} else if (window.innerWidth >= Breakpoints.TABLET) { | ||
return duration.TABLET | ||
} | ||
return duration.MOBILE | ||
} | ||
_hideNavdrawer() { | ||
@@ -318,5 +293,7 @@ this._element.style.display = 'none' | ||
if (supportsTransition) { | ||
const transitionDuration = Util.getTransitionDurationFromElement(this._content) | ||
$(this._content) | ||
.one(Util.TRANSITION_END, transitionComplete) | ||
.emulateTransitionEnd(this._getTransitionDuration(TransitionDurationEntering)) | ||
.emulateTransitionEnd(transitionDuration) | ||
} else { | ||
@@ -323,0 +300,0 @@ transitionComplete() |
import $ from 'jquery' | ||
/* | ||
* selection control focus | ||
* chrome persists the focus style on checkboxes/radio buttons after clicking | ||
* Selection control plugin fixes the focus state problem with | ||
* Chrome persisting focus state on checkboxes/radio buttons after clicking | ||
*/ | ||
@@ -7,0 +7,0 @@ |
@@ -6,3 +6,3 @@ import $ from 'jquery' | ||
* Tab indicator animation | ||
* Requires Bootstrap's (v4.0.0) `tab.js` | ||
* Requires Bootstrap's (v4.1.0) `tab.js` | ||
*/ | ||
@@ -17,7 +17,2 @@ | ||
const Breakpoints = { | ||
DESKTOP : 992, | ||
TABLET : 576 | ||
} | ||
const ClassName = { | ||
@@ -41,8 +36,2 @@ ANIMATE : 'animate', | ||
} | ||
const TransitionDuration = { | ||
DESKTOP : 200, | ||
MOBILE : 300, | ||
TABLET : 390 | ||
} | ||
// <<< constants | ||
@@ -98,10 +87,4 @@ | ||
let transitionDuration = TransitionDuration.MOBILE | ||
const transitionDuration = Util.getTransitionDurationFromElement(this._navindicator) | ||
if (window.innerWidth >= Breakpoints.DESKTOP) { | ||
transitionDuration = TransitionDuration.DESKTOP | ||
} else if (window.innerWidth >= Breakpoints.TABLET) { | ||
transitionDuration = TransitionDuration.TABLET | ||
} | ||
$(this._navindicator) | ||
@@ -119,3 +102,3 @@ .one(Util.TRANSITION_END, complete) | ||
if (relatedTarget !== 'undefined') { | ||
if (typeof relatedTarget !== 'undefined') { | ||
if ($(relatedTarget).hasClass(ClassName.DROPDOWN_ITEM)) { | ||
@@ -122,0 +105,0 @@ relatedTarget = $(relatedTarget).closest(Selector.DROPDOWN) |
@@ -5,3 +5,3 @@ import $ from 'jquery' | ||
* Global util js | ||
* Based on Bootstrap's (v4.0.0) `util.js` | ||
* Based on Bootstrap's (v4.1.0) `util.js` | ||
*/ | ||
@@ -11,3 +11,5 @@ | ||
const MAX_UID = 1000000 | ||
const MAX_UID = 1000000 | ||
const MILLISECONDS_MULTIPLIER = 1000 | ||
let transition = false | ||
@@ -88,2 +90,18 @@ | ||
getTransitionDurationFromElement(element) { | ||
if (!element) { | ||
return 0 | ||
} | ||
let transitionDuration = $(element).css('transition-duration') | ||
if (!transitionDuration) { | ||
return 0 | ||
} | ||
transitionDuration = transitionDuration.split(',')[0] | ||
return parseFloat(transitionDuration) * MILLISECONDS_MULTIPLIER | ||
}, | ||
getUID(prefix) { | ||
@@ -90,0 +108,0 @@ do { |
{ | ||
"name": "daemonite-material", | ||
"authors": "Daemon Pty Ltd", | ||
"dependencies": { | ||
"jquery": "^3.0.0", | ||
"popper.js": "^1.12.3" | ||
}, | ||
"description": "Daemonite's Material UI is a cross-platform and fully responsive front-end interface based on Google Material Design developed using Bootstrap 4.", | ||
@@ -13,2 +9,3 @@ "homepage": "http://daemonite.github.io/material/", | ||
"bower_components", | ||
"gh-pages", | ||
"node_modules" | ||
@@ -32,2 +29,6 @@ ], | ||
"moduleType": "globals", | ||
"peerDependencies": { | ||
"jquery": "1.9.1 - 3", | ||
"pickadate": "^3.5.6" | ||
}, | ||
"repository": { | ||
@@ -37,3 +38,3 @@ "type": "git", | ||
}, | ||
"version": "4.0.0" | ||
"version": "4.1.0" | ||
} |
@@ -24,5 +24,4 @@ 'use strict' | ||
'createClass', | ||
'defineProperties', | ||
'extends', | ||
'inheritsLoose' | ||
'defineProperty', | ||
'objectSpread' | ||
] | ||
@@ -29,0 +28,0 @@ }), |
@@ -24,19 +24,26 @@ (function ($) { | ||
$('#exampleInputDatePicker2').pickdate({ | ||
cancel : 'Clear', | ||
closeOnCancel : false, | ||
closeOnSelect : true, | ||
container : '', | ||
firstDay : 1, | ||
format : 'You selecte!d: dddd, d mm, yy', | ||
formatSubmit : 'dd/mmmm/yyyy', | ||
ok : 'Close', | ||
onClose : function () { | ||
cancel : 'Clear', | ||
closeOnCancel : false, | ||
closeOnSelect : true, | ||
container : 'body', | ||
containerHidden : 'body', | ||
firstDay : 1, | ||
format : 'You selecte!d: dddd, d mm, yy', | ||
formatSubmit : 'dd/mmmm/yyyy', | ||
hiddenPrefix : 'prefix_', | ||
hiddenSuffix : '_suffix', | ||
labelMonthNext : 'Go to the next month', | ||
labelMonthPrev : 'Go to the previous month', | ||
labelMonthSelect : 'Choose a month from the dropdown menu', | ||
labelYearSelect : 'Choose a year from the dropdown menu', | ||
ok : 'Close', | ||
onClose : function () { | ||
console.log('Datepicker closes') | ||
}, | ||
onOpen : function () { | ||
onOpen : function () { | ||
console.log('Datepicker opens') | ||
}, | ||
selectMonths : true, | ||
selectYears : 10, | ||
today : 'Today' | ||
selectMonths : true, | ||
selectYears : 10, | ||
today : 'Today' | ||
}) | ||
@@ -90,3 +97,33 @@ | ||
}) | ||
// Snackbar | ||
$('.snackbar-btn').on('click', function () { | ||
$(this).parent('.snackbar').removeClass('show') | ||
}) | ||
$('.snackbar-example .btn').on('click', function () { | ||
var $snackbar = $(this).next('.snackbar') | ||
if ($('.snackbar.show').length > 0) { | ||
$('.snackbar.show').removeClass('show').one('webkitTransitionEnd transitionEnd', function () { | ||
$snackbar.addClass(function () { | ||
setTimeout(function () { | ||
$snackbar.removeClass('show') | ||
}, 6000) | ||
return 'show' | ||
}) | ||
}) | ||
} else { | ||
$snackbar.addClass(function () { | ||
setTimeout(function () { | ||
$snackbar.removeClass('show') | ||
}, 6000) | ||
return 'show' | ||
}) | ||
} | ||
}) | ||
}) | ||
}(jQuery)) |
@@ -1,1 +0,1 @@ | ||
(function(e){"use strict";e(function(){e(".floating-label .form-control").floatinglabel();e('.navbar-brand img[src="/material/assets/brand/bootstrap-solid.svg"]').addClass("mr-2 rounded").attr({height:36,src:"/material/apple-touch-icon.png",width:36});e("#exampleInputDatePicker1").pickdate();e("#exampleInputDatePicker2").pickdate({cancel:"Clear",closeOnCancel:false,closeOnSelect:true,container:"",firstDay:1,format:"You selecte!d: dddd, d mm, yy",formatSubmit:"dd/mmmm/yyyy",ok:"Close",onClose:function(){console.log("Datepicker closes")},onOpen:function(){console.log("Datepicker opens")},selectMonths:true,selectYears:10,today:"Today"});e("#exampleInputDatePicker3").pickdate({max:true,min:-10});e("#exampleInputDatePicker4").pickdate({max:new Date(2016,1,13),min:new Date(2016,0,3)});e("#exampleInputDatePicker5").pickdate({max:[2016,1,13],min:[2016,0,3]});e("#exampleInputDatePicker6").pickdate({disable:[new Date(2016,0,16),new Date(2016,0,20),[2016,0,24]]});e("#exampleInputDatePicker7").pickdate({disable:[1,2,3]});e("#exampleInputDatePicker8").pickdate({disable:[{from:new Date(2016,0,16),to:[2016,0,24]}]});e("#exampleInputDatePicker9").pickdate({disable:[{from:-10,to:true}]});e("#exampleInputDatePicker10").pickdate({disable:[{from:[2016,0,16],to:10}]})})})(jQuery); | ||
(function(t){"use strict";t(function(){t(".floating-label .form-control").floatinglabel();t('.navbar-brand img[src="/material/assets/brand/bootstrap-solid.svg"]').addClass("mr-2 rounded").attr({height:36,src:"/material/apple-touch-icon.png",width:36});t("#exampleInputDatePicker1").pickdate();t("#exampleInputDatePicker2").pickdate({cancel:"Clear",closeOnCancel:false,closeOnSelect:true,container:"body",containerHidden:"body",firstDay:1,format:"You selecte!d: dddd, d mm, yy",formatSubmit:"dd/mmmm/yyyy",hiddenPrefix:"prefix_",hiddenSuffix:"_suffix",labelMonthNext:"Go to the next month",labelMonthPrev:"Go to the previous month",labelMonthSelect:"Choose a month from the dropdown menu",labelYearSelect:"Choose a year from the dropdown menu",ok:"Close",onClose:function(){console.log("Datepicker closes")},onOpen:function(){console.log("Datepicker opens")},selectMonths:true,selectYears:10,today:"Today"});t("#exampleInputDatePicker3").pickdate({max:true,min:-10});t("#exampleInputDatePicker4").pickdate({max:new Date(2016,1,13),min:new Date(2016,0,3)});t("#exampleInputDatePicker5").pickdate({max:[2016,1,13],min:[2016,0,3]});t("#exampleInputDatePicker6").pickdate({disable:[new Date(2016,0,16),new Date(2016,0,20),[2016,0,24]]});t("#exampleInputDatePicker7").pickdate({disable:[1,2,3]});t("#exampleInputDatePicker8").pickdate({disable:[{from:new Date(2016,0,16),to:[2016,0,24]}]});t("#exampleInputDatePicker9").pickdate({disable:[{from:-10,to:true}]});t("#exampleInputDatePicker10").pickdate({disable:[{from:[2016,0,16],to:10}]});t(".snackbar-btn").on("click",function(){t(this).parent(".snackbar").removeClass("show")});t(".snackbar-example .btn").on("click",function(){var e=t(this).next(".snackbar");if(t(".snackbar.show").length>0){t(".snackbar.show").removeClass("show").one("webkitTransitionEnd transitionEnd",function(){e.addClass(function(){setTimeout(function(){e.removeClass("show")},6e3);return"show"})})}else{e.addClass(function(){setTimeout(function(){e.removeClass("show")},6e3);return"show"})}})})})(jQuery); |
/*! | ||
* Daemonite Material v4.0.0 (http://daemonite.github.io/material/) | ||
* Daemonite Material v4.1.0 (http://daemonite.github.io/material/) | ||
* Copyright 2011-2018 Daemon Pty Ltd | ||
* Licensed under MIT (https://github.com/Daemonite/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.material={},e.jQuery)}(this,function(e,t){"use strict";function n(e,t){return e(t={exports:{}},t.exports),t.exports}t=t&&t.hasOwnProperty("default")?t.default:t;var i=n(function(e,n){ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],t):t(e.material={},e.jQuery)}(this,function(e,i){"use strict";i=i&&i.hasOwnProperty("default")?i.default:i;var n,t,o,r,a,s,c,l,d,u,h,f,p,m,g,y,v,b,_,k,S=(r="show-predecessor",a="hide"+(t=".bs.collapse"),s=(o="show")+t,c=".expansion-panel",l=".expansion-panel .collapse",void(n=i)(document).on(""+a,l,function(){var e=n(this).closest(c);e.removeClass(o);var t=e.prev(c);t.length&&t.removeClass(r)}).on(""+s,l,function(){var e=n(this).closest(c);e.addClass(o);var t=e.prev(c);t.length&&t.addClass(r)})),w=(h="."+(u="md.floatinglabel"),f="floatinglabel",p=(d=i).fn[f],m="is-focused",g="has-value",y="change"+h,v="focusin"+h,b="focusout"+h,_={DATA_PARENT:".floating-label",DATA_TOGGLE:".floating-label .form-control"},k=function(){function i(e){this._element=e,this._parent=d(e).closest(_.DATA_PARENT)[0]}var e=i.prototype;return e.change=function(){d(this._element).val()||d(this._element).is("select")&&""!==d("option:first-child",d(this._element)).html().replace(" ","")?d(this._parent).addClass(g):d(this._parent).removeClass(g)},e.focusin=function(){d(this._parent).addClass(m)},e.focusout=function(){d(this._parent).removeClass(m)},i._jQueryInterface=function(n){return this.each(function(){var e=n||"change",t=d(this).data(u);if(t||(t=new i(this),d(this).data(u,t)),"string"==typeof e){if("undefined"==typeof t[e])throw new Error('No method named "'+e+'"');t[e]()}})},i}(),d(document).on(y+" "+v+" "+b,_.DATA_TOGGLE,function(e){k._jQueryInterface.call(d(this),e.type)}),d.fn[f]=k._jQueryInterface,d.fn[f].Constructor=k,d.fn[f].noConflict=function(){return d.fn[f]=p,k._jQueryInterface},k);function D(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function C(o){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},t=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),t.forEach(function(e){var t,n,i;t=o,i=r[n=e],n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i})}return o}var O,I,E,T,x,N,M,A,P,$,j,F,R,W=function(i){var t=!1;function e(e){var t=this,n=!1;return i(this).one(c.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||c.triggerTransitionEnd(t)},e),this}var c={TRANSITION_END:"mdTransitionEnd",getSelectorFromElement:function(e){var t=e.getAttribute("data-target");t&&"#"!==t||(t=e.getAttribute("href")||"");try{return 0<i(document).find(t).length?t:null}catch(e){return null}},getTransitionDurationFromElement:function(e){if(!e)return 0;var t=i(e).css("transition-duration");return t?(t=t.split(",")[0],1e3*parseFloat(t)):0},getUID:function(e){for(;e+=~~(1e6*Math.random()),document.getElementById(e););return e},isElement:function(e){return(e[0]||e).nodeType},reflow:function(e){return e.offsetHeight},supportsTransitionEnd:function(){return Boolean(t)},triggerTransitionEnd:function(e){i(e).trigger(t.end)},typeCheckConfig:function(e,t,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var o=n[i],r=t[i],a=r&&c.isElement(r)?"element":(s=r,{}.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(o).test(a))throw new Error(e.toUpperCase()+': Option "'+i+'" provided type "'+a+'" but expected type "'+o+'".')}var s}};return t=("undefined"==typeof window||!window.QUnit)&&{end:"transitionend"},i.fn.emulateTransitionEnd=e,c.supportsTransitionEnd()&&(i.event.special[c.TRANSITION_END]={bindType:t.end,delegateType:t.end,handle:function(e){if(i(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}}),c}(i),Y=(E="."+(I="md.navdrawer"),T="navdrawer",x=(O=i).fn[T],N="navdrawer-backdrop",M="navdrawer-open",P={breakpoint:"",keyboard:!0,show:!0,type:"default"},$={keyboard:"boolean",show:"boolean",type:"string"},j={CLICK_DATA_API:"click"+E+".data-api",CLICK_DISMISS:"click.dismiss"+E,FOCUSIN:"focusin"+E,HIDDEN:"hidden"+E,HIDE:"hide"+E,KEYDOWN_DISMISS:"keydown.dismiss"+E,MOUSEDOWN_DISMISS:"mousedown.dismiss"+E,MOUSEUP_DISMISS:"mouseup.dismiss"+E,SHOW:(A="show")+E,SHOWN:"shown"+E},F={CONTENT:".navdrawer-content",DATA_DISMISS:'[data-dismiss="navdrawer"]',DATA_TOGGLE:'[data-toggle="navdrawer"]'},R=function(){function o(e,t){this._backdrop=null,this._config=this._getConfig(t),this._content=O(e).find(F.CONTENT)[0],this._element=e,this._ignoreBackdropClick=!1,this._isShown=!1,this._typeBreakpoint=""===this._config.breakpoint?"":"-"+this._config.breakpoint}var e,t,n,i=o.prototype;return i.hide=function(e){var t=this;if(e&&e.preventDefault(),!this._isTransitioning&&this._isShown){var n=O.Event(j.HIDE);if(O(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented()){this._isShown=!1;var i=W.supportsTransitionEnd();if(i&&(this._isTransitioning=!0),this._setEscapeEvent(),O(document).off(j.FOCUSIN),O(this._element).removeClass(A),O(this._element).off(j.CLICK_DISMISS),O(this._content).off(j.MOUSEDOWN_DISMISS),i){var o=W.getTransitionDurationFromElement(this._content);O(this._content).one(W.TRANSITION_END,function(e){return t._hideNavdrawer(e)}).emulateTransitionEnd(o)}else this._hideNavdrawer();this._showBackdrop()}}},i.show=function(e){var t=this;if(!this._isTransitioning&&!this._isShown){W.supportsTransitionEnd()&&(this._isTransitioning=!0);var n=O.Event(j.SHOW,{relatedTarget:e});O(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,O(document.body).addClass(M+"-"+this._config.type+this._typeBreakpoint),this._setEscapeEvent(),O(this._element).addClass(T+"-"+this._config.type+this._typeBreakpoint),O(this._element).on(j.CLICK_DISMISS,F.DATA_DISMISS,function(e){return t.hide(e)}),O(this._content).on(j.MOUSEDOWN_DISMISS,function(){O(t._element).one(j.MOUSEUP_DISMISS,function(e){O(e.target).is(t._element)&&(t._ignoreBackdropClick=!0)})}),this._showBackdrop(),this._showElement(e))}},i.toggle=function(e){return this._isShown?this.hide():this.show(e)},i._enforceFocus=function(){var t=this;O(document).off(j.FOCUSIN).on(j.FOCUSIN,function(e){document!==e.target&&t._element!==e.target&&0===O(t._element).has(e.target).length&&t._element.focus()})},i._getConfig=function(e){return e=C({},P,e),W.typeCheckConfig(T,e,$),e},i._hideNavdrawer=function(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._isTransitioning=!1,O(document.body).removeClass(M+"-"+this._config.type+this._typeBreakpoint),O(this._element).trigger(j.HIDDEN)},i._removeBackdrop=function(){this._backdrop&&(O(this._backdrop).remove(),this._backdrop=null)},i._setEscapeEvent=function(){var t=this;this._isShown&&this._config.keyboard?O(this._element).on(j.KEYDOWN_DISMISS,function(e){27===e.which&&(e.preventDefault(),t.hide())}):this._isShown||O(this._element).off(j.KEYDOWN_DISMISS)},i._showBackdrop=function(){var t=this,e=W.supportsTransitionEnd();this._isShown?(this._backdrop=document.createElement("div"),O(this._backdrop).addClass(N).addClass(N+"-"+this._config.type+this._typeBreakpoint).appendTo(document.body),O(this._element).on(j.CLICK_DISMISS,function(e){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:e.target===e.currentTarget&&t.hide()}),e&&W.reflow(this._backdrop),O(this._backdrop).addClass(A)):!this._isShown&&this._backdrop&&(O(this._backdrop).removeClass(A),this._removeBackdrop())},i._showElement=function(e){var t=this,n=W.supportsTransitionEnd();this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),n&&W.reflow(this._element),O(this._element).addClass(A),this._enforceFocus();var i=O.Event(j.SHOWN,{relatedTarget:e}),o=function(){t._element.focus(),t._isTransitioning=!1,O(t._element).trigger(i)};if(n){var r=W.getTransitionDurationFromElement(this._content);O(this._content).one(W.TRANSITION_END,o).emulateTransitionEnd(r)}else o()},o._jQueryInterface=function(n,i){return this.each(function(){var e=C({},o.Default,O(this).data(),"object"==typeof n&&n),t=O(this).data(I);if(t||(t=new o(this,e),O(this).data(I,t)),"string"==typeof n){if("undefined"==typeof t[n])throw new TypeError('No method named "'+n+'"');t[n](i)}else e.show&&t.show(i)})},e=o,n=[{key:"Default",get:function(){return P}}],(t=null)&&D(e.prototype,t),n&&D(e,n),o}(),O(document).on(j.CLICK_DATA_API,F.DATA_TOGGLE,function(e){var t,n=this,i=W.getSelectorFromElement(this);i&&(t=O(i)[0]);var o=O(t).data(I)?"toggle":C({},O(t).data(),O(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault();var r=O(t).one(j.SHOW,function(e){e.isDefaultPrevented()||r.one(j.HIDDEN,function(){O(n).is(":visible")&&n.focus()})});R._jQueryInterface.call(O(t),o,this)}),O.fn[T]=R._jQueryInterface,O.fn[T].Constructor=R,O.fn[T].noConflict=function(){return O.fn[T]=x,R._jQueryInterface},R);function U(e,t){return e(t={exports:{}},t.exports),t.exports}var H,Q,B,L,J,K,G,q,z,V,X,Z,ee,te,ne,ie,oe,re,ae,se,ce,le,de,ue,he,fe,pe,me,ge,ye,ve=U(function(e,t){ | ||
/*! | ||
* pickadate.js v3.5.6, 2015/04/20 | ||
* By Amsul, http://amsul.ca | ||
* Hosted on http://amsul.github.io/pickadate.js | ||
* Licensed under MIT | ||
*/var i;i=function(e){var t=e(window),n=e(document),i=e(document.documentElement),o=null!=document.documentElement.style.transition;function r(t,c,d,u){if(!t)return r;var h=!1,p={id:t.id||"P"+Math.abs(~~(Math.random()*new Date))},f=d?e.extend(!0,{},d.defaults,u):u||{},m=e.extend({},r.klasses(),f.klass),y=e(t),g=function(){return this.start()},v=g.prototype={constructor:g,$node:y,start:function(){return p&&p.start?v:(p.methods={},p.start=!0,p.open=!1,p.type=t.type,t.autofocus=t==l(),t.readOnly=!f.editable,t.id=t.id||p.id,"text"!=t.type&&(t.type="text"),v.component=new d(v,f),v.$root=e('<div class="'+m.picker+'" id="'+t.id+'_root" />'),s(v.$root[0],"hidden",!0),v.$holder=e(_()).appendTo(v.$root),b(),f.formatSubmit&&function(){var n;!0===f.hiddenName?(n=t.name,t.name=""):n=(n=["string"==typeof f.hiddenPrefix?f.hiddenPrefix:"","string"==typeof f.hiddenSuffix?f.hiddenSuffix:"_submit"])[0]+t.name+n[1];v._hidden=e('<input type=hidden name="'+n+'"'+(y.data("value")||t.value?' value="'+v.get("select",f.formatSubmit)+'"':"")+">")[0],y.on("change."+p.id,function(){v._hidden.value=t.value?v.get("select",f.formatSubmit):""})}(),function(){y.data(c,v).addClass(m.input).val(y.data("value")?v.get("select",f.format):t.value),f.editable||y.on("focus."+p.id+" click."+p.id,function(e){e.preventDefault(),v.open()}).on("keydown."+p.id,w);s(t,{haspopup:!0,expanded:!1,readonly:!1,owns:t.id+"_root"})}(),f.containerHidden?e(f.containerHidden).append(v._hidden):y.after(v._hidden),f.container?e(f.container).append(v.$root):y.after(v.$root),v.on({start:v.component.onStart,render:v.component.onRender,stop:v.component.onStop,open:v.component.onOpen,close:v.component.onClose,set:v.component.onSet}).on({start:f.onStart,render:f.onRender,stop:f.onStop,open:f.onOpen,close:f.onClose,set:f.onSet}),h=function(e){var t,n="position";e.currentStyle?t=e.currentStyle[n]:window.getComputedStyle&&(t=getComputedStyle(e)[n]);return"fixed"==t}(v.$holder[0]),t.autofocus&&v.open(),v.trigger("start").trigger("render"))},render:function(t){return t?(v.$holder=e(_()),b(),v.$root.html(v.$holder)):v.$root.find("."+m.box).html(v.component.nodes(p.open)),v.trigger("render")},stop:function(){return p.start?(v.close(),v._hidden&&v._hidden.parentNode.removeChild(v._hidden),v.$root.remove(),y.removeClass(m.input).removeData(c),setTimeout(function(){y.off("."+p.id)},0),t.type=p.type,t.readOnly=!1,v.trigger("stop"),p.methods={},p.start=!1,v):v},open:function(c){return p.open?v:(y.addClass(m.active),s(t,"expanded",!0),setTimeout(function(){v.$root.addClass(m.opened),s(v.$root[0],"hidden",!1)},0),!1!==c&&(p.open=!0,h&&i.css("overflow","hidden").css("padding-right","+="+a()),h&&o?v.$holder.find("."+m.frame).one("transitionend",function(){v.$holder[0].focus()}):v.$holder[0].focus(),n.on("click."+p.id+" focusin."+p.id,function(e){var n=e.target;n!=t&&n!=document&&3!=e.which&&v.close(n===v.$holder[0])}).on("keydown."+p.id,function(t){var n=t.keyCode,i=v.component.key[n],o=t.target;27==n?v.close(!0):o!=v.$holder[0]||!i&&13!=n?e.contains(v.$root[0],o)&&13==n&&(t.preventDefault(),o.click()):(t.preventDefault(),i?r._.trigger(v.component.key.go,v,[r._.trigger(i)]):v.$root.find("."+m.highlighted).hasClass(m.disabled)||(v.set("select",v.component.item.highlight),f.closeOnSelect&&v.close(!0)))})),v.trigger("open"))},close:function(e){return e&&(f.editable?t.focus():(v.$holder.off("focus.toOpen").focus(),setTimeout(function(){v.$holder.on("focus.toOpen",k)},0))),y.removeClass(m.active),s(t,"expanded",!1),setTimeout(function(){v.$root.removeClass(m.opened+" "+m.focused),s(v.$root[0],"hidden",!0)},0),p.open?(p.open=!1,h&&i.css("overflow","").css("padding-right","-="+a()),n.off("."+p.id),v.trigger("close")):v},clear:function(e){return v.set("clear",null,e)},set:function(t,n,i){var o,r,a=e.isPlainObject(t),s=a?t:{};if(i=a&&e.isPlainObject(n)?n:i||{},t){for(o in a||(s[t]=n),s)r=s[o],o in v.component.item&&(void 0===r&&(r=null),v.component.set(o,r,i)),"select"!=o&&"clear"!=o||y.val("clear"==o?"":v.get(o,f.format)).trigger("change");v.render()}return i.muted?v:v.trigger("set",s)},get:function(e,n){if(null!=p[e=e||"value"])return p[e];if("valueSubmit"==e){if(v._hidden)return v._hidden.value;e="value"}if("value"==e)return t.value;if(e in v.component.item){if("string"==typeof n){var i=v.component.get(e);return i?r._.trigger(v.component.formats.toString,v.component,[n,i]):""}return v.component.get(e)}},on:function(t,n,i){var o,r,a=e.isPlainObject(t),s=a?t:{};if(t)for(o in a||(s[t]=n),s)r=s[o],i&&(o="_"+o),p.methods[o]=p.methods[o]||[],p.methods[o].push(r);return v},off:function(){var e,t,n=arguments;for(e=0,namesCount=n.length;e<namesCount;e+=1)(t=n[e])in p.methods&&delete p.methods[t];return v},trigger:function(e,t){var n=function(e){var n=p.methods[e];n&&n.map(function(e){r._.trigger(e,v,[t])})};return n("_"+e),n(e),v}};function _(){return r._.node("div",r._.node("div",r._.node("div",r._.node("div",v.component.nodes(p.open),m.box),m.wrap),m.frame),m.holder,'tabindex="-1"')}function b(){v.$holder.on({keydown:w,"focus.toOpen":k,blur:function(){y.removeClass(m.target)},focusin:function(e){v.$root.removeClass(m.focused),e.stopPropagation()},"mousedown click":function(t){var n=t.target;n!=v.$holder[0]&&(t.stopPropagation(),"mousedown"!=t.type||e(n).is("input, select, textarea, button, option")||(t.preventDefault(),v.$holder[0].focus()))}}).on("click","[data-pick], [data-nav], [data-clear], [data-close]",function(){var t=e(this),n=t.data(),i=t.hasClass(m.navDisabled)||t.hasClass(m.disabled),o=l();o=o&&(o.type||o.href),(i||o&&!e.contains(v.$root[0],o))&&v.$holder[0].focus(),!i&&n.nav?v.set("highlight",v.component.item.highlight,{nav:n.nav}):!i&&"pick"in n?(v.set("select",n.pick),f.closeOnSelect&&v.close(!0)):n.clear?(v.clear(),f.closeOnClear&&v.close(!0)):n.close&&v.close(!0)})}function k(e){e.stopPropagation(),y.addClass(m.target),v.$root.addClass(m.focused),v.open()}function w(e){var t=e.keyCode,n=/^(8|46)$/.test(t);if(27==t)return v.close(!0),!1;(32==t||n||!p.open&&v.component.key[t])&&(e.preventDefault(),e.stopPropagation(),n?v.clear().close():v.open())}return new g}function a(){if(i.height()<=t.height())return 0;var n=e('<div style="visibility:hidden;width:100px" />').appendTo("body"),o=n[0].offsetWidth;n.css("overflow","scroll");var r=e('<div style="width:100%" />').appendTo(n)[0].offsetWidth;return n.remove(),o-r}function s(t,n,i){if(e.isPlainObject(n))for(var o in n)c(t,o,n[o]);else c(t,n,i)}function c(e,t,n){e.setAttribute(("role"==t?"":"aria-")+t,n)}function l(){try{return document.activeElement}catch(e){}}return r.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"}},r._={group:function(e){for(var t,n="",i=r._.trigger(e.min,e);i<=r._.trigger(e.max,e,[i]);i+=e.i)t=r._.trigger(e.item,e,[i]),n+=r._.node(e.node,t[0],t[1],t[2]);return n},node:function(t,n,i,o){return n?(n=e.isArray(n)?n.join(""):n,"<"+t+(i=i?' class="'+i+'"':"")+(o=o?" "+o:"")+">"+n+"</"+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{}.toString.call(e).indexOf("Date")>-1&&this.isInteger(e.getDate())},isInteger:function(e){return{}.toString.call(e).indexOf("Number")>-1&&e%1==0},ariaAttr:function(t,n){e.isPlainObject(t)||(t={attribute:n});for(var i in n="",t){var o=("role"==i?"":"aria-")+i,r=t[i];n+=null==r?"":o+'="'+t[i]+'"'}return n}},r.extend=function(t,n){e.fn[t]=function(i,o){var a=this.data(t);return"picker"==i?a:a&&"string"==typeof i?r._.trigger(a[i],a,[o]):this.each(function(){e(this).data(t)||new r(this,t,n,i)})},e.fn[t].defaults=n.defaults},r},e.exports=i(t)});n(function(e,n){ | ||
* pickadate.js v3.5.6, 2015/04/20 | ||
* By Amsul, http://amsul.ca | ||
* Hosted on http://amsul.github.io/pickadate.js | ||
* Licensed under MIT | ||
*/var n;n=function(m){var i=m(window),g=m(document),y=m(document.documentElement),v=null!=document.documentElement.style.transition;function b(i,e,t,n){if(!i)return b;var o=!1,s={id:i.id||"P"+Math.abs(~~(Math.random()*new Date))},c=t?m.extend(!0,{},t.defaults,n):n||{},r=m.extend({},b.klasses(),c.klass),l=m(i),a=function(){return this.start()},d=a.prototype={constructor:a,$node:l,start:function(){return s&&s.start?d:(s.methods={},s.start=!0,s.open=!1,s.type=i.type,i.autofocus=i==S(),i.readOnly=!c.editable,i.id=i.id||s.id,"text"!=i.type&&(i.type="text"),d.component=new t(d,c),d.$root=m('<div class="'+r.picker+'" id="'+i.id+'_root" />'),k(d.$root[0],"hidden",!0),d.$holder=m(u()).appendTo(d.$root),h(),c.formatSubmit&&function(){var e;!0===c.hiddenName?(e=i.name,i.name=""):e=(e=["string"==typeof c.hiddenPrefix?c.hiddenPrefix:"","string"==typeof c.hiddenSuffix?c.hiddenSuffix:"_submit"])[0]+i.name+e[1];d._hidden=m('<input type=hidden name="'+e+'"'+(l.data("value")||i.value?' value="'+d.get("select",c.formatSubmit)+'"':"")+">")[0],l.on("change."+s.id,function(){d._hidden.value=i.value?d.get("select",c.formatSubmit):""})}(),function(){l.data(e,d).addClass(r.input).val(l.data("value")?d.get("select",c.format):i.value),c.editable||l.on("focus."+s.id+" click."+s.id,function(e){e.preventDefault(),d.open()}).on("keydown."+s.id,p);k(i,{haspopup:!0,expanded:!1,readonly:!1,owns:i.id+"_root"})}(),c.containerHidden?m(c.containerHidden).append(d._hidden):l.after(d._hidden),c.container?m(c.container).append(d.$root):l.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:c.onStart,render:c.onRender,stop:c.onStop,open:c.onOpen,close:c.onClose,set:c.onSet}),o=function(e){var t,n="position";e.currentStyle?t=e.currentStyle[n]:window.getComputedStyle&&(t=getComputedStyle(e)[n]);return"fixed"==t}(d.$holder[0]),i.autofocus&&d.open(),d.trigger("start").trigger("render"))},render:function(e){return e?(d.$holder=m(u()),h(),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(),l.removeClass(r.input).removeData(e),setTimeout(function(){l.off("."+s.id)},0),i.type=s.type,i.readOnly=!1,d.trigger("stop"),s.methods={},s.start=!1),d},open:function(e){return s.open?d:(l.addClass(r.active),k(i,"expanded",!0),setTimeout(function(){d.$root.addClass(r.opened),k(d.$root[0],"hidden",!1)},0),!1!==e&&(s.open=!0,o&&y.css("overflow","hidden").css("padding-right","+="+_()),o&&v?d.$holder.find("."+r.frame).one("transitionend",function(){d.$holder[0].focus()}):d.$holder[0].focus(),g.on("click."+s.id+" focusin."+s.id,function(e){var t=e.target;t!=i&&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=e.target;27==t?d.close(!0):i!=d.$holder[0]||!n&&13!=t?m.contains(d.$root[0],i)&&13==t&&(e.preventDefault(),i.click()):(e.preventDefault(),n?b._.trigger(d.component.key.go,d,[b._.trigger(n)]):d.$root.find("."+r.highlighted).hasClass(r.disabled)||(d.set("select",d.component.item.highlight),c.closeOnSelect&&d.close(!0)))})),d.trigger("open"))},close:function(e){return e&&(c.editable?i.focus():(d.$holder.off("focus.toOpen").focus(),setTimeout(function(){d.$holder.on("focus.toOpen",f)},0))),l.removeClass(r.active),k(i,"expanded",!1),setTimeout(function(){d.$root.removeClass(r.opened+" "+r.focused),k(d.$root[0],"hidden",!0)},0),s.open?(s.open=!1,o&&y.css("overflow","").css("padding-right","-="+_()),g.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=m.isPlainObject(e),a=r?e:{};if(n=r&&m.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.val("clear"==i?"":d.get(i,c.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 i.value;if(e in d.component.item){if("string"==typeof t){var n=d.component.get(e);return n?b._.trigger(d.component.formats.toString,d.component,[t,n]):""}return d.component.get(e)}},on:function(e,t,n){var i,o,r=m.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,n=arguments;for(e=0,namesCount=n.length;e<namesCount;e+=1)(t=n[e])in s.methods&&delete s.methods[t];return d},trigger:function(e,n){var t=function(e){var t=s.methods[e];t&&t.map(function(e){b._.trigger(e,d,[n])})};return t("_"+e),t(e),d}};function u(){return b._.node("div",b._.node("div",b._.node("div",b._.node("div",d.component.nodes(s.open),r.box),r.wrap),r.frame),r.holder,'tabindex="-1"')}function h(){d.$holder.on({keydown:p,"focus.toOpen":f,blur:function(){l.removeClass(r.target)},focusin:function(e){d.$root.removeClass(r.focused),e.stopPropagation()},"mousedown click":function(e){var t=e.target;t!=d.$holder[0]&&(e.stopPropagation(),"mousedown"!=e.type||m(t).is("input, select, textarea, button, option")||(e.preventDefault(),d.$holder[0].focus()))}}).on("click","[data-pick], [data-nav], [data-clear], [data-close]",function(){var e=m(this),t=e.data(),n=e.hasClass(r.navDisabled)||e.hasClass(r.disabled),i=S();i=i&&(i.type||i.href),(n||i&&!m.contains(d.$root[0],i))&&d.$holder[0].focus(),!n&&t.nav?d.set("highlight",d.component.item.highlight,{nav:t.nav}):!n&&"pick"in t?(d.set("select",t.pick),c.closeOnSelect&&d.close(!0)):t.clear?(d.clear(),c.closeOnClear&&d.close(!0)):t.close&&d.close(!0)})}function f(e){e.stopPropagation(),l.addClass(r.target),d.$root.addClass(r.focused),d.open()}function p(e){var t=e.keyCode,n=/^(8|46)$/.test(t);if(27==t)return d.close(!0),!1;(32==t||n||!s.open&&d.component.key[t])&&(e.preventDefault(),e.stopPropagation(),n?d.clear().close():d.open())}return new a}function _(){if(y.height()<=i.height())return 0;var e=m('<div style="visibility:hidden;width:100px" />').appendTo("body"),t=e[0].offsetWidth;e.css("overflow","scroll");var n=m('<div style="width:100%" />').appendTo(e)[0].offsetWidth;return e.remove(),t-n}function k(e,t,n){if(m.isPlainObject(t))for(var i in t)o(e,i,t[i]);else o(e,t,n)}function o(e,t,n){e.setAttribute(("role"==t?"":"aria-")+t,n)}function S(){try{return document.activeElement}catch(e){}}return b.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"}},b._={group:function(e){for(var t,n="",i=b._.trigger(e.min,e);i<=b._.trigger(e.max,e,[i]);i+=e.i)t=b._.trigger(e.item,e,[i]),n+=b._.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=m.isArray(t)?t.join(""):t)+"</"+e+">":""},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){m.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}},b.extend=function(i,o){m.fn[i]=function(e,t){var n=this.data(i);return"picker"==e?n:n&&"string"==typeof e?b._.trigger(n[e],n,[t]):this.each(function(){m(this).data(i)||new b(this,i,o,e)})},m.fn[i].defaults=o.defaults},b},e.exports=n(i)}),be=(U(function(e,t){ | ||
/*! | ||
* Date picker for pickadate.js v3.5.6 | ||
* http://amsul.github.io/pickadate.js/date.htm | ||
*/var o;o=function(e,t){var n,i=e._;function o(e,t){var n,i=this,o=e.$node[0],r=o.value,a=e.$node.data("value"),s=a||r,c=a?t.formatSubmit:t.format,l=function(){return o.currentStyle?"rtl"==o.currentStyle.direction:"rtl"==getComputedStyle(e.$root[0]).direction};i.settings=t,i.$node=e.$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=(t.disable||[]).slice(0),i.item.enable=-(!0===(n=i.item.disable)[0]?n.shift():-1),i.set("min",t.min).set("max",t.max).set("now"),s?i.set("select",s,{format:c,defaultValue:!0}):i.set("select",null).set("highlight",i.item.now),i.key={40:7,38:-7,39:function(){return l()?-1:1},37:function(){return l()?1:-1},go:function(e){var t=i.item.highlight,n=new Date(t.year,t.month,t.date+e);i.set("highlight",n,{interval:e}),this.render()}},e.on("render",function(){e.$root.find("."+t.klass.selectMonth).on("change",function(){var n=this.value;n&&(e.set("highlight",[e.get("view").year,n,e.get("highlight").date]),e.$root.find("."+t.klass.selectMonth).trigger("focus"))}),e.$root.find("."+t.klass.selectYear).on("change",function(){var n=this.value;n&&(e.set("highlight",[n,e.get("view").month,e.get("highlight").date]),e.$root.find("."+t.klass.selectYear).trigger("focus"))})},1).on("open",function(){var n="";i.disabled(i.get("now"))&&(n=":not(."+t.klass.buttonToday+")"),e.$root.find("button"+n+", select").attr("disabled",!1)},1).on("close",function(){e.$root.find("button, select").attr("disabled",!0)},1)}o.prototype.set=function(e,t,n){var i=this,o=i.item;return null===t?("clear"==e&&(e="select"),o[e]=t,i):(o["enable"==e?"disable":"flip"==e?"enable":e]=i.queue[e].split(" ").map(function(o){return t=i[o](e,t,n)}).pop(),"select"==e?i.set("highlight",o.select,n):"highlight"==e?i.set("view",o.highlight,n):e.match(/^(flip|min|max|disable|enable)$/)&&(o.select&&i.disabled(o.select)&&i.set("select",o.select,n),o.highlight&&i.disabled(o.highlight)&&i.set("highlight",o.highlight,n)),i)},o.prototype.get=function(e){return this.item[e]},o.prototype.create=function(e,n,o){var r;return(n=void 0===n?e:n)==-1/0||n==1/0?r=n:t.isPlainObject(n)&&i.isInteger(n.pick)?n=n.obj:t.isArray(n)?(n=new Date(n[0],n[1],n[2]),n=i.isDate(n)?n:this.create().obj):n=i.isInteger(n)||i.isDate(n)?this.normalize(new Date(n),o):this.now(e,n,o),{year:r||n.getFullYear(),month:r||n.getMonth(),date:r||n.getDate(),day:r||n.getDay(),obj:r||n,pick:r||n.getTime()}},o.prototype.createRange=function(e,n){var o=this,r=function(e){return!0===e||t.isArray(e)||i.isDate(e)?o.create(e):e};return i.isInteger(e)||(e=r(e)),i.isInteger(n)||(n=r(n)),i.isInteger(e)&&t.isPlainObject(n)?e=[n.year,n.month,n.date+e]:i.isInteger(n)&&t.isPlainObject(e)&&(n=[e.year,e.month,e.date+n]),{from:r(e),to:r(n)}},o.prototype.withinRange=function(e,t){return e=this.createRange(e.from,e.to),t.pick>=e.from.pick&&t.pick<=e.to.pick},o.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)},o.prototype.now=function(e,t,n){return t=new Date,n&&n.rel&&t.setDate(t.getDate()+n.rel),this.normalize(t,n)},o.prototype.navigate=function(e,n,i){var o,r,a,s,c=t.isArray(n),l=t.isPlainObject(n),d=this.item.view;if(c||l){for(l?(r=n.year,a=n.month,s=n.date):(r=+n[0],a=+n[1],s=+n[2]),i&&i.nav&&d&&d.month!==a&&(r=d.year,a=d.month),r=(o=new Date(r,a+(i&&i.nav?i.nav:0),1)).getFullYear(),a=o.getMonth();new Date(r,a,s).getMonth()!==a;)s-=1;n=[r,a,s]}return n},o.prototype.normalize=function(e){return e.setHours(0,0,0,0),e},o.prototype.measure=function(e,t){return t?"string"==typeof t?t=this.parse(e,t):i.isInteger(t)&&(t=this.now(e,t,{rel:t})):t="min"==e?-1/0:1/0,t},o.prototype.viewset=function(e,t){return this.create([t.year,t.month,1])},o.prototype.validate=function(e,n,o){var r,a,s,c,l=this,d=n,u=o&&o.interval?o.interval:1,h=-1===l.item.enable,p=l.item.min,f=l.item.max,m=h&&l.item.disable.filter(function(e){if(t.isArray(e)){var o=l.create(e).pick;o<n.pick?r=!0:o>n.pick&&(a=!0)}return i.isInteger(e)}).length;if((!o||!o.nav&&!o.defaultValue)&&(!h&&l.disabled(n)||h&&l.disabled(n)&&(m||r||a)||!h&&(n.pick<=p.pick||n.pick>=f.pick)))for(h&&!m&&(!a&&u>0||!r&&u<0)&&(u*=-1);l.disabled(n)&&(Math.abs(u)>1&&(n.month<d.month||n.month>d.month)&&(n=d,u=u>0?1:-1),n.pick<=p.pick?(s=!0,u=1,n=l.create([p.year,p.month,p.date+(n.pick===p.pick?0:-1)])):n.pick>=f.pick&&(c=!0,u=-1,n=l.create([f.year,f.month,f.date+(n.pick===f.pick?0:1)])),!s||!c);)n=l.create([n.year,n.month,n.date+u]);return n},o.prototype.disabled=function(e){var n=this,o=n.item.disable.filter(function(o){return i.isInteger(o)?e.day===(n.settings.firstDay?o:o-1)%7:t.isArray(o)||i.isDate(o)?e.pick===n.create(o).pick:t.isPlainObject(o)?n.withinRange(o,e):void 0});return o=o.length&&!o.filter(function(e){return t.isArray(e)&&"inverted"==e[3]||t.isPlainObject(e)&&e.inverted}).length,-1===n.item.enable?!o:o||e.pick<n.item.min.pick||e.pick>n.item.max.pick},o.prototype.parse=function(e,t,n){var o=this,r={};return t&&"string"==typeof t?(n&&n.format||((n=n||{}).format=o.settings.format),o.formats.toArray(n.format).map(function(e){var n=o.formats[e],a=n?i.trigger(n,o,[t,r]):e.replace(/^!/,"").length;n&&(r[e]=t.substr(0,a)),t=t.substr(a)}),[r.yyyy||r.yy,+(r.mm||r.m)-1,r.dd||r.d]):t},o.prototype.formats=function(){function e(e,t,n){var i=e.match(/[^\x00-\x7F]+|\w+/)[0];return n.mm||n.m||(n.m=t.indexOf(i)+1),i.length}function t(e){return e.match(/\w+/)[0].length}return{d:function(e,t){return e?i.digits(e):t.date},dd:function(e,t){return e?2:i.lead(t.date)},ddd:function(e,n){return e?t(e):this.settings.weekdaysShort[n.day]},dddd:function(e,n){return e?t(e):this.settings.weekdaysFull[n.day]},m:function(e,t){return e?i.digits(e):t.month+1},mm:function(e,t){return e?2:i.lead(t.month+1)},mmm:function(t,n){var i=this.settings.monthsShort;return t?e(t,i,n):i[n.month]},mmmm:function(t,n){var i=this.settings.monthsFull;return t?e(t,i,n):i[n.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 i.trigger(n.formats[e],n,[0,t])||e.replace(/^!/,"")}).join("")}}}(),o.prototype.isDateExact=function(e,n){return i.isInteger(e)&&i.isInteger(n)||"boolean"==typeof e&&"boolean"==typeof n?e===n:(i.isDate(e)||t.isArray(e))&&(i.isDate(n)||t.isArray(n))?this.create(e).pick===this.create(n).pick:!(!t.isPlainObject(e)||!t.isPlainObject(n))&&(this.isDateExact(e.from,n.from)&&this.isDateExact(e.to,n.to))},o.prototype.isDateOverlap=function(e,n){var o=this.settings.firstDay?1:0;return i.isInteger(e)&&(i.isDate(n)||t.isArray(n))?(e=e%7+o)===this.create(n).day+1:i.isInteger(n)&&(i.isDate(e)||t.isArray(e))?(n=n%7+o)===this.create(e).day+1:!(!t.isPlainObject(e)||!t.isPlainObject(n))&&this.overlapRanges(e,n)},o.prototype.flipEnable=function(e){var t=this.item;t.enable=e||(-1==t.enable?1:-1)},o.prototype.deactivate=function(e,n){var o=this,r=o.item.disable.slice(0);return"flip"==n?o.flipEnable():!1===n?(o.flipEnable(1),r=[]):!0===n?(o.flipEnable(-1),r=[]):n.map(function(e){for(var n,a=0;a<r.length;a+=1)if(o.isDateExact(e,r[a])){n=!0;break}n||(i.isInteger(e)||i.isDate(e)||t.isArray(e)||t.isPlainObject(e)&&e.from&&e.to)&&r.push(e)}),r},o.prototype.activate=function(e,n){var o=this,r=o.item.disable,a=r.length;return"flip"==n?o.flipEnable():!0===n?(o.flipEnable(1),r=[]):!1===n?(o.flipEnable(-1),r=[]):n.map(function(e){var n,s,c,l;for(c=0;c<a;c+=1){if(s=r[c],o.isDateExact(s,e)){n=r[c]=null,l=!0;break}if(o.isDateOverlap(s,e)){t.isPlainObject(e)?(e.inverted=!0,n=e):t.isArray(e)?(n=e)[3]||n.push("inverted"):i.isDate(e)&&(n=[e.getFullYear(),e.getMonth(),e.getDate(),"inverted"]);break}}if(n)for(c=0;c<a;c+=1)if(o.isDateExact(r[c],e)){r[c]=null;break}if(l)for(c=0;c<a;c+=1)if(o.isDateOverlap(r[c],e)){r[c]=null;break}n&&r.push(n)}),r.filter(function(e){return null!=e})},o.prototype.nodes=function(e){var t,n,o=this,r=o.settings,a=o.item,s=a.now,c=a.select,l=a.highlight,d=a.view,u=a.disable,h=a.min,p=a.max,f=(t=(r.showWeekdaysFull?r.weekdaysFull:r.weekdaysShort).slice(0),n=r.weekdaysFull.slice(0),r.firstDay&&(t.push(t.shift()),n.push(n.shift())),i.node("thead",i.node("tr",i.group({min:0,max:6,i:1,node:"th",item:function(e){return[t[e],r.klass.weekdays,'scope=col title="'+n[e]+'"']}})))),m=function(e){return i.node("div"," ",r.klass["nav"+(e?"Next":"Prev")]+(e&&d.year>=p.year&&d.month>=p.month||!e&&d.year<=h.year&&d.month<=h.month?" "+r.klass.navDisabled:""),"data-nav="+(e||-1)+" "+i.ariaAttr({role:"button",controls:o.$node[0].id+"_table"})+' title="'+(e?r.labelMonthNext:r.labelMonthPrev)+'"')},y=function(){var t=r.showMonthsShort?r.monthsShort:r.monthsFull;return r.selectMonths?i.node("select",i.group({min:0,max:11,i:1,node:"option",item:function(e){return[t[e],0,"value="+e+(d.month==e?" selected":"")+(d.year==h.year&&e<h.month||d.year==p.year&&e>p.month?" disabled":"")]}}),r.klass.selectMonth,(e?"":"disabled")+" "+i.ariaAttr({controls:o.$node[0].id+"_table"})+' title="'+r.labelMonthSelect+'"'):i.node("div",t[d.month],r.klass.month)},g=function(){var t=d.year,n=!0===r.selectYears?5:~~(r.selectYears/2);if(n){var a=h.year,s=p.year,c=t-n,l=t+n;if(a>c&&(l+=a-c,c=a),s<l){var u=c-a,f=l-s;c-=u>f?f:u,l=s}return i.node("select",i.group({min:c,max:l,i:1,node:"option",item:function(e){return[e,0,"value="+e+(t==e?" selected":"")]}}),r.klass.selectYear,(e?"":"disabled")+" "+i.ariaAttr({controls:o.$node[0].id+"_table"})+' title="'+r.labelYearSelect+'"')}return i.node("div",t,r.klass.year)};return i.node("div",(r.selectYears?g()+y():y()+g())+m()+m(1),r.klass.header)+i.node("table",f+i.node("tbody",i.group({min:0,max:5,i:1,node:"tr",item:function(e){var t=r.firstDay&&0===o.create([d.year,d.month,1]).day?-7:0;return[i.group({min:7*e-d.day+t+1,max:function(){return this.min+7-1},i:1,node:"td",item:function(e){e=o.create([d.year,d.month,e+(r.firstDay?1:0)]);var t,n=c&&c.pick==e.pick,a=l&&l.pick==e.pick,f=u&&o.disabled(e)||e.pick<h.pick||e.pick>p.pick,m=i.trigger(o.formats.toString,o,[r.format,e]);return[i.node("div",e.date,(t=[r.klass.day],t.push(d.month==e.month?r.klass.infocus:r.klass.outfocus),s.pick==e.pick&&t.push(r.klass.now),n&&t.push(r.klass.selected),a&&t.push(r.klass.highlighted),f&&t.push(r.klass.disabled),t.join(" ")),"data-pick="+e.pick+" "+i.ariaAttr({role:"gridcell",label:m,selected:!(!n||o.$node.val()!==m)||null,activedescendant:!!a||null,disabled:!!f||null})),"",i.ariaAttr({role:"presentation"})]}})]}})),r.klass.table,'id="'+o.$node[0].id+'_table" '+i.ariaAttr({role:"grid",controls:o.$node[0].id,readonly:!0}))+i.node("div",i.node("button",r.today,r.klass.buttonToday,"type=button data-pick="+s.pick+(e&&!o.disabled(s)?"":" disabled")+" "+i.ariaAttr({controls:o.$node[0].id}))+i.node("button",r.clear,r.klass.buttonClear,"type=button data-clear=1"+(e?"":" disabled")+" "+i.ariaAttr({controls:o.$node[0].id}))+i.node("button",r.close,r.klass.buttonClose,"type=button data-close=true "+(e?"":" disabled")+" "+i.ariaAttr({controls:o.$node[0].id})),r.klass.footer)},o.defaults={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,format:"d mmmm, yyyy",klass:{table:(n=e.klasses().picker+"__")+"table",header:n+"header",navPrev:n+"nav--prev",navNext:n+"nav--next",navDisabled:n+"nav--disabled",month:n+"month",year:n+"year",selectMonth:n+"select--month",selectYear:n+"select--year",weekdays:n+"weekday",day:n+"day",disabled:n+"day--disabled",selected:n+"day--selected",highlighted:n+"day--highlighted",now:n+"day--today",infocus:n+"day--infocus",outfocus:n+"day--outfocus",footer:n+"footer",buttonClear:n+"button--clear",buttonToday:n+"button--today",buttonClose:n+"button--close"}},e.extend("pickadate",o)},e.exports=o(i,t)});function o(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}!function(e){var t=function(e,t){this._element=e,this._options=t};t.DEFAULTS={cancel:"Cancel",closeOnCancel:!0,closeOnSelect:!1,container:"body",disable:[],firstDay:0,format:"d/m/yyyy",formatSubmit:"",klass:{buttonClear:"btn btn-outline-primary picker-button-clear",buttonClose:"btn btn-outline-primary picker-button-close",buttonToday:"btn btn-outline-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"},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:!1,onOpen:!1,onRender:!1,onSet:!1,onStart:!1,onStop:!1,selectMonths:!1,selectYears:!1,today:"",weekdaysFull:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysShort:["S","M","T","W","T","F","S"]},t.prototype.display=function(t,n,i){e(".picker-date-display",n).remove(),e(".picker-wrap",n).prepend('<div class="picker-date-display"><div class="picker-date-display-top"><span class="picker-year-display">'+t.get(i,"yyyy")+'</span></div><div class="picker-date-display-bottom"><span class="picker-weekday-display">'+t.get(i,"dddd")+'</span><span class="picker-day-display">'+t.get(i,"d")+'</span><span class="picker-month-display">'+t.get(i,"mmm")+"</span></div></div>")},t.prototype.show=function(){var t=this;e(this._element).pickadate({clear:t._options.cancel,close:t._options.ok,closeOnClear:t._options.closeOnCancel,closeOnSelect:t._options.closeOnSelect,container:t._options.container,disable:t._options.disable,firstDay:t._options.firstDay,format:t._options.format,formatSubmit:t._options.formatSubmit,klass:t._options.klass,max:t._options.max,min:t._options.min,monthsFull:t._options.monthsFull,monthsShort:t._options.monthsShort,onClose:t._options.onClose,onOpen:t._options.onOpen,onRender:t._options.onRender,onSet:t._options.onSet,onStart:t._options.onStart,onStop:t._options.onStop,selectMonths:t._options.selectMonths,selectYears:t._options.selectYears,today:t._options.today,weekdaysFull:t._options.weekdaysFull,weekdaysShort:t._options.weekdaysShort});var n=e(this._element).pickadate("picker"),i=(n.$node,n.$root);n.on({close:function(){e(document.activeElement).blur()},open:function(){e(".picker__date-display",i).length||t.display(n,i,"highlight")},set:function(){null!==n.get("select")&&t.display(n,i,"select")}})};var n=e.fn.pickdate;e.fn.pickdate=function(n){return this.each(function(){var i=e(this).data("bs.pickdate"),o=e.extend({},t.DEFAULTS,e(this).data(),"object"==typeof n&&n);i||e(this).data("bs.pickdate",i=new t(this,o)),i.show()})},e.fn.pickdate.Constructor=t,e.fn.pickdate.noConflict=function(){return e.fn.pickdate=n,this}}(jQuery);var a,s,c,l,d,u,h,p,f,m,y,g,v,_,b,k,w,S,D,C,O,T,E,I,A,x,N,M,$,j,P,F,W,R,B,L,U,Y,Q,H,K,J,G,q,z,V,X,Z,ee,te,ne,ie,oe,re,ae,se,ce,le,de,ue,he,pe,fe,me,ye,ge=(c="show",l="show-predecessor",d="hide"+(s=".bs.collapse"),u="show"+s,h=".expansion-panel",p=".expansion-panel .collapse",void(a=t)(document).on(""+d,p,function(){var e=a(this).closest(h);e.removeClass(c);var t=e.prev(h);t.length&&t.removeClass(l)}).on(""+u,p,function(){var e=a(this).closest(h);e.addClass(c);var t=e.prev(h);t.length&&t.addClass(l)})),ve=(y="."+(m="md.floatinglabel"),g="floatinglabel",v=(f=t).fn[g],_="is-focused",b="has-value",k="change"+y,w="focusin"+y,S="focusout"+y,D={DATA_PARENT:".floating-label",DATA_TOGGLE:".floating-label .form-control"},C=function(){function e(e){this._element=e,this._parent=f(e).closest(D.DATA_PARENT)[0]}var t=e.prototype;return t.change=function(){f(this._element).val()||f(this._element).is("select")&&""!==f("option:first-child",f(this._element)).html().replace(" ","")?f(this._parent).addClass(b):f(this._parent).removeClass(b)},t.focusin=function(){f(this._parent).addClass(_)},t.focusout=function(){f(this._parent).removeClass(_)},e._jQueryInterface=function(t){return this.each(function(){var n=t||"change",i=f(this).data(m);if(i||(i=new e(this),f(this).data(m,i)),"string"==typeof n){if("undefined"==typeof i[n])throw new Error('No method named "'+n+'"');i[n]()}})},e}(),f(document).on(k+" "+w+" "+S,D.DATA_TOGGLE,function(e){C._jQueryInterface.call(f(this),e.type)}),f.fn[g]=C._jQueryInterface,f.fn[g].Constructor=C,f.fn[g].noConflict=function(){return f.fn[g]=v,C._jQueryInterface},C),_e=function(e){var t=!1;function n(t){var n=this,o=!1;return e(this).one(i.TRANSITION_END,function(){o=!0}),setTimeout(function(){o||i.triggerTransitionEnd(n)},t),this}var i={TRANSITION_END:"mdTransitionEnd",getSelectorFromElement:function(t){var n=t.getAttribute("data-target");n&&"#"!==n||(n=t.getAttribute("href")||"");try{return e(document).find(n).length>0?n:null}catch(e){return null}},getUID:function(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},isElement:function(e){return(e[0]||e).nodeType},reflow:function(e){return e.offsetHeight},supportsTransitionEnd:function(){return Boolean(t)},triggerTransitionEnd:function(n){e(n).trigger(t.end)},typeCheckConfig:function(e,t,n){for(var o in n)if(Object.prototype.hasOwnProperty.call(n,o)){var r=n[o],a=t[o],s=a&&i.isElement(a)?"element":(c=a,{}.toString.call(c).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(r).test(s))throw new Error(e.toUpperCase()+': Option "'+o+'" provided type "'+s+'" but expected type "'+r+'".')}var c}};return t=("undefined"==typeof window||!window.QUnit)&&{end:"transitionend"},e.fn.emulateTransitionEnd=n,i.supportsTransitionEnd()&&(e.event.special[i.TRANSITION_END]={bindType:t.end,delegateType:t.end,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}}),i}(t),be=(E="."+(T="md.navdrawer"),I="navdrawer",A=(O=t).fn[I],x=992,N=576,M="navdrawer-backdrop",$="navdrawer-open",j="show",P={breakpoint:"",keyboard:!0,show:!0,type:"default"},F={keyboard:"boolean",show:"boolean",type:"string"},W={CLICK_DATA_API:"click"+E+".data-api",CLICK_DISMISS:"click.dismiss"+E,FOCUSIN:"focusin"+E,HIDDEN:"hidden"+E,HIDE:"hide"+E,KEYDOWN_DISMISS:"keydown.dismiss"+E,MOUSEDOWN_DISMISS:"mousedown.dismiss"+E,MOUSEUP_DISMISS:"mouseup.dismiss"+E,SHOW:"show"+E,SHOWN:"shown"+E},R={CONTENT:".navdrawer-content",DATA_DISMISS:'[data-dismiss="navdrawer"]',DATA_TOGGLE:'[data-toggle="navdrawer"]'},B={DESKTOP:150,MOBILE:225,TABLET:292.5},L={DESKTOP:130,MOBILE:195,TABLET:253.5},U=function(){function e(e,t){this._backdrop=null,this._config=this._getConfig(t),this._content=O(e).find(R.CONTENT)[0],this._element=e,this._ignoreBackdropClick=!1,this._isShown=!1,this._typeBreakpoint=""===this._config.breakpoint?"":"-"+this._config.breakpoint}var t,n,i,a=e.prototype;return a.hide=function(e){var t=this;if(e&&e.preventDefault(),!this._isTransitioning&&this._isShown){var n=O.Event(W.HIDE);if(O(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented()){this._isShown=!1;var i=_e.supportsTransitionEnd();i&&(this._isTransitioning=!0),this._setEscapeEvent(),O(document).off(W.FOCUSIN),O(this._element).removeClass(j),O(this._element).off(W.CLICK_DISMISS),O(this._content).off(W.MOUSEDOWN_DISMISS),i?O(this._element).one(_e.TRANSITION_END,function(e){return t._hideNavdrawer(e)}).emulateTransitionEnd(this._getTransitionDuration(L)):this._hideNavdrawer(),this._showBackdrop()}}},a.show=function(e){var t=this;if(!this._isTransitioning&&!this._isShown){_e.supportsTransitionEnd()&&(this._isTransitioning=!0);var n=O.Event(W.SHOW,{relatedTarget:e});O(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,O(document.body).addClass($+"-"+this._config.type+this._typeBreakpoint),this._setEscapeEvent(),O(this._element).addClass(I+"-"+this._config.type+this._typeBreakpoint),O(this._element).on(W.CLICK_DISMISS,R.DATA_DISMISS,function(e){return t.hide(e)}),O(this._content).on(W.MOUSEDOWN_DISMISS,function(){O(t._element).one(W.MOUSEUP_DISMISS,function(e){O(e.target).is(t._element)&&(t._ignoreBackdropClick=!0)})}),this._showBackdrop(),this._showElement(e))}},a.toggle=function(e){return this._isShown?this.hide():this.show(e)},a._enforceFocus=function(){var e=this;O(document).off(W.FOCUSIN).on(W.FOCUSIN,function(t){document!==t.target&&e._element!==t.target&&0===O(e._element).has(t.target).length&&e._element.focus()})},a._getConfig=function(e){return e=r({},P,e),_e.typeCheckConfig(I,e,F),e},a._getTransitionDuration=function(e){return window.innerWidth>=x?e.DESKTOP:window.innerWidth>=N?e.TABLET:e.MOBILE},a._hideNavdrawer=function(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._isTransitioning=!1,O(document.body).removeClass($+"-"+this._config.type+this._typeBreakpoint),O(this._element).trigger(W.HIDDEN)},a._removeBackdrop=function(){this._backdrop&&(O(this._backdrop).remove(),this._backdrop=null)},a._setEscapeEvent=function(){var e=this;this._isShown&&this._config.keyboard?O(this._element).on(W.KEYDOWN_DISMISS,function(t){27===t.which&&(t.preventDefault(),e.hide())}):this._isShown||O(this._element).off(W.KEYDOWN_DISMISS)},a._showBackdrop=function(){var e=this,t=_e.supportsTransitionEnd();this._isShown?(this._backdrop=document.createElement("div"),O(this._backdrop).addClass(M).addClass(M+"-"+this._config.type+this._typeBreakpoint).appendTo(document.body),O(this._element).on(W.CLICK_DISMISS,function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&e.hide()}),t&&_e.reflow(this._backdrop),O(this._backdrop).addClass(j)):!this._isShown&&this._backdrop&&(O(this._backdrop).removeClass(j),this._removeBackdrop())},a._showElement=function(e){var t=this,n=_e.supportsTransitionEnd();this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),n&&_e.reflow(this._element),O(this._element).addClass(j),this._enforceFocus();var i=O.Event(W.SHOWN,{relatedTarget:e}),o=function(){t._element.focus(),t._isTransitioning=!1,O(t._element).trigger(i)};n?O(this._content).one(_e.TRANSITION_END,o).emulateTransitionEnd(this._getTransitionDuration(B)):o()},e._jQueryInterface=function(t,n){return this.each(function(){var i=r({},e.Default,O(this).data(),"object"==typeof t&&t),o=O(this).data(T);if(o||(o=new e(this,i),O(this).data(T,o)),"string"==typeof t){if("undefined"==typeof o[t])throw new TypeError('No method named "'+t+'"');o[t](n)}else i.show&&o.show(n)})},t=e,i=[{key:"Default",get:function(){return P}}],(n=null)&&o(t.prototype,n),i&&o(t,i),e}(),O(document).on(W.CLICK_DATA_API,R.DATA_TOGGLE,function(e){var t,n=this,i=_e.getSelectorFromElement(this);i&&(t=O(i)[0]);var o=O(t).data(T)?"toggle":r({},O(t).data(),O(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault();var a=O(t).one(W.SHOW,function(e){e.isDefaultPrevented()||a.one(W.HIDDEN,function(){O(n).is(":visible")&&n.focus()})});U._jQueryInterface.call(O(t),o,this)}),O.fn[I]=U._jQueryInterface,O.fn[I].Constructor=U,O.fn[I].noConflict=function(){return O.fn[I]=A,U._jQueryInterface},U),ke=(H="focus",K={IS_MOUSEDOWN:!1},J="blur"+(Q=".md.selectioncontrolfocus"),G="focus"+Q,q="mousedown"+Q,z="mouseup"+Q,V=".custom-control",X=".custom-control-input",void(Y=t)(document).on(""+J,X,function(){Y(this).removeClass(H)}).on(""+G,X,function(){!1===K.IS_MOUSEDOWN&&Y(this).addClass(H)}).on(""+q,V,function(){K.IS_MOUSEDOWN=!0}).on(""+z,V,function(){setTimeout(function(){K.IS_MOUSEDOWN=!1},1)})),we=(ee="md.tabswitch",te="tabswitch",ne=(Z=t).fn[te],ie=992,oe=576,re="animate",ae="dropdown-item",se="nav-tabs-indicator",ce="nav-tabs-material",le="show",de='.nav-tabs [data-toggle="tab"]',ue=".dropdown",he=".nav-tabs",pe=200,fe=300,me=390,ye=function(){function e(e){this._nav=e,this._navindicator=null}var t=e.prototype;return t.switch=function(e,t){var n=this,i=Z(this._nav).offset().left,o=Z(this._nav).scrollLeft(),r=Z(this._nav).outerWidth(),a=_e.supportsTransitionEnd();this._navindicator||this._createIndicator(i,o,r,t),Z(e).hasClass(ae)&&(e=Z(e).closest(ue));var s=Z(e).offset().left,c=Z(e).outerWidth();Z(this._navindicator).addClass(le),_e.reflow(this._navindicator),a&&Z(this._nav).addClass(re),Z(this._navindicator).css({left:s+o-i,right:r-(s+o-i+c)});var l=function(){Z(n._nav).removeClass(re),Z(n._navindicator).removeClass(le)};if(a){var d=fe;window.innerWidth>=ie?d=pe:window.innerWidth>=oe&&(d=me),Z(this._navindicator).one(_e.TRANSITION_END,l).emulateTransitionEnd(d)}else l()},t._createIndicator=function(e,t,n,i){if(this._navindicator=document.createElement("div"),Z(this._navindicator).addClass(se).appendTo(this._nav),"undefined"!==i){Z(i).hasClass(ae)&&(i=Z(i).closest(ue));var o=Z(i).offset().left,r=Z(i).outerWidth();Z(this._navindicator).css({left:o+t-e,right:n-(o+t-e+r)})}Z(this._nav).addClass(ce)},e._jQueryInterface=function(t){return this.each(function(){var n=Z(this).closest(he)[0];if(n){var i=Z(n).data(ee);i||(i=new e(n),Z(n).data(ee,i)),i.switch(this,t)}})},e}(),Z(document).on("show.bs.tab",de,function(e){ye._jQueryInterface.call(Z(this),e.relatedTarget)}),Z.fn[te]=ye._jQueryInterface,Z.fn[te].Constructor=ye,Z.fn[te].noConflict=function(){return Z.fn[te]=ne,ye._jQueryInterface},ye);e.Util=_e,e.ExpansionPanel=ge,e.FloatingLabel=ve,e.NavDrawer=be,e.SelectionControlFocus=ke,e.TabSwitch=we,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
* Date picker for pickadate.js v3.5.6 | ||
* http://amsul.github.io/pickadate.js/date.htm | ||
*/var n;n=function(e,p){var t,y=e._;function n(t,n){var e,i=this,o=t.$node[0],r=o.value,a=t.$node.data("value"),s=a||r,c=a?n.formatSubmit:n.format,l=function(){return o.currentStyle?"rtl"==o.currentStyle.direction:"rtl"==getComputedStyle(t.$root[0]).direction};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===(e=i.item.disable)[0]?e.shift():-1),i.set("min",n.min).set("max",n.max).set("now"),s?i.set("select",s,{format:c,defaultValue:!0}):i.set("select",null).set("highlight",i.item.now),i.key={40:7,38:-7,39:function(){return l()?-1:1},37:function(){return l()?1:-1},go:function(e){var t=i.item.highlight,n=new Date(t.year,t.month,t.date+e);i.set("highlight",n,{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)}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:p.isPlainObject(t)&&y.isInteger(t.pick)?t=t.obj:p.isArray(t)?(t=new Date(t[0],t[1],t[2]),t=y.isDate(t)?t:this.create().obj):t=y.isInteger(t)||y.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){var n=this,i=function(e){return!0===e||p.isArray(e)||y.isDate(e)?n.create(e):e};return y.isInteger(e)||(e=i(e)),y.isInteger(t)||(t=i(t)),y.isInteger(e)&&p.isPlainObject(t)?e=[t.year,t.month,t.date+e]:y.isInteger(t)&&p.isPlainObject(e)&&(t=[e.year,e.month,e.date+t]),{from:i(e),to:i(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,s=p.isArray(t),c=p.isPlainObject(t),l=this.item.view;if(s||c){for(c?(o=t.year,r=t.month,a=t.date):(o=+t[0],r=+t[1],a=+t[2]),n&&n.nav&&l&&l.month!==r&&(o=l.year,r=l.month),o=(i=new Date(o,r+(n&&n.nav?n.nav:0),1)).getFullYear(),r=i.getMonth();new Date(o,r,a).getMonth()!==r;)a-=1;t=[o,r,a]}return t},n.prototype.normalize=function(e){return e.setHours(0,0,0,0),e},n.prototype.measure=function(e,t){return t?"string"==typeof t?t=this.parse(e,t):y.isInteger(t)&&(t=this.now(e,t,{rel: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,c=n,l=t&&t.interval?t.interval:1,d=-1===s.item.enable,u=s.item.min,h=s.item.max,f=d&&s.item.disable.filter(function(e){if(p.isArray(e)){var t=s.create(e).pick;t<n.pick?i=!0:t>n.pick&&(o=!0)}return y.isInteger(e)}).length;if((!t||!t.nav&&!t.defaultValue)&&(!d&&s.disabled(n)||d&&s.disabled(n)&&(f||i||o)||!d&&(n.pick<=u.pick||n.pick>=h.pick)))for(d&&!f&&(!o&&0<l||!i&&l<0)&&(l*=-1);s.disabled(n)&&(1<Math.abs(l)&&(n.month<c.month||n.month>c.month)&&(n=c,l=0<l?1:-1),n.pick<=u.pick?(r=!0,l=1,n=s.create([u.year,u.month,u.date+(n.pick===u.pick?0:-1)])):n.pick>=h.pick&&(a=!0,l=-1,n=s.create([h.year,h.month,h.date+(n.pick===h.pick?0:1)])),!r||!a);)n=s.create([n.year,n.month,n.date+l]);return n},n.prototype.disabled=function(t){var n=this,e=n.item.disable.filter(function(e){return y.isInteger(e)?t.day===(n.settings.firstDay?e:e-1)%7:p.isArray(e)||y.isDate(e)?t.pick===n.create(e).pick:p.isPlainObject(e)?n.withinRange(e,t):void 0});return e=e.length&&!e.filter(function(e){return p.isArray(e)&&"inverted"==e[3]||p.isPlainObject(e)&&e.inverted}).length,-1===n.item.enable?!e:e||t.pick<n.item.min.pick||t.pick>n.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?y.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){var i=e.match(/[^\x00-\x7F]+|\w+/)[0];return n.mm||n.m||(n.m=t.indexOf(i)+1),i.length}function n(e){return e.match(/\w+/)[0].length}return{d:function(e,t){return e?y.digits(e):t.date},dd:function(e,t){return e?2:y.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?y.digits(e):t.month+1},mm:function(e,t){return e?2:y.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 y.trigger(n.formats[e],n,[0,t])||e.replace(/^!/,"")}).join("")}}}(),n.prototype.isDateExact=function(e,t){return y.isInteger(e)&&y.isInteger(t)||"boolean"==typeof e&&"boolean"==typeof t?e===t:(y.isDate(e)||p.isArray(e))&&(y.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 y.isInteger(e)&&(y.isDate(t)||p.isArray(t))?(e=e%7+n)===this.create(t).day+1:y.isInteger(t)&&(y.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<o.length;n+=1)if(i.isDateExact(e,o[n])){t=!0;break}t||(y.isInteger(e)||y.isDate(e)||p.isArray(e)||p.isPlainObject(e)&&e.from&&e.to)&&o.push(e)}),o},n.prototype.activate=function(e,t){var r=this,a=r.item.disable,s=a.length;return"flip"==t?r.flipEnable():!0===t?(r.flipEnable(1),a=[]):!1===t?(r.flipEnable(-1),a=[]):t.map(function(e){var t,n,i,o;for(i=0;i<s;i+=1){if(n=a[i],r.isDateExact(n,e)){t=a[i]=null,o=!0;break}if(r.isDateOverlap(n,e)){p.isPlainObject(e)?(e.inverted=!0,t=e):p.isArray(e)?(t=e)[3]||t.push("inverted"):y.isDate(e)&&(t=[e.getFullYear(),e.getMonth(),e.getDate(),"inverted"]);break}}if(t)for(i=0;i<s;i+=1)if(r.isDateExact(a[i],e)){a[i]=null;break}if(o)for(i=0;i<s;i+=1)if(r.isDateOverlap(a[i],e)){a[i]=null;break}t&&a.push(t)}),a.filter(function(e){return null!=e})},n.prototype.nodes=function(c){var t,n,l=this,d=l.settings,e=l.item,a=e.now,s=e.select,u=e.highlight,h=e.view,f=e.disable,p=e.min,m=e.max,i=(t=(d.showWeekdaysFull?d.weekdaysFull:d.weekdaysShort).slice(0),n=d.weekdaysFull.slice(0),d.firstDay&&(t.push(t.shift()),n.push(n.shift())),y.node("thead",y.node("tr",y.group({min:0,max:6,i:1,node:"th",item:function(e){return[t[e],d.klass.weekdays,'scope=col title="'+n[e]+'"']}})))),o=function(e){return y.node("div"," ",d.klass["nav"+(e?"Next":"Prev")]+(e&&h.year>=m.year&&h.month>=m.month||!e&&h.year<=p.year&&h.month<=p.month?" "+d.klass.navDisabled:""),"data-nav="+(e||-1)+" "+y.ariaAttr({role:"button",controls:l.$node[0].id+"_table"})+' title="'+(e?d.labelMonthNext:d.labelMonthPrev)+'"')},r=function(){var t=d.showMonthsShort?d.monthsShort:d.monthsFull;return d.selectMonths?y.node("select",y.group({min:0,max:11,i:1,node:"option",item:function(e){return[t[e],0,"value="+e+(h.month==e?" selected":"")+(h.year==p.year&&e<p.month||h.year==m.year&&e>m.month?" disabled":"")]}}),d.klass.selectMonth,(c?"":"disabled")+" "+y.ariaAttr({controls:l.$node[0].id+"_table"})+' title="'+d.labelMonthSelect+'"'):y.node("div",t[h.month],d.klass.month)},g=function(){var t=h.year,e=!0===d.selectYears?5:~~(d.selectYears/2);if(e){var n=p.year,i=m.year,o=t-e,r=t+e;if(o<n&&(r+=n-o,o=n),i<r){var a=o-n,s=r-i;o-=s<a?s:a,r=i}return y.node("select",y.group({min:o,max:r,i:1,node:"option",item:function(e){return[e,0,"value="+e+(t==e?" selected":"")]}}),d.klass.selectYear,(c?"":"disabled")+" "+y.ariaAttr({controls:l.$node[0].id+"_table"})+' title="'+d.labelYearSelect+'"')}return y.node("div",t,d.klass.year)};return y.node("div",(d.selectYears?g()+r():r()+g())+o()+o(1),d.klass.header)+y.node("table",i+y.node("tbody",y.group({min:0,max:5,i:1,node:"tr",item:function(e){var t=d.firstDay&&0===l.create([h.year,h.month,1]).day?-7:0;return[y.group({min:7*e-h.day+t+1,max:function(){return this.min+7-1},i:1,node:"td",item:function(e){e=l.create([h.year,h.month,e+(d.firstDay?1:0)]);var t,n=s&&s.pick==e.pick,i=u&&u.pick==e.pick,o=f&&l.disabled(e)||e.pick<p.pick||e.pick>m.pick,r=y.trigger(l.formats.toString,l,[d.format,e]);return[y.node("div",e.date,(t=[d.klass.day],t.push(h.month==e.month?d.klass.infocus:d.klass.outfocus),a.pick==e.pick&&t.push(d.klass.now),n&&t.push(d.klass.selected),i&&t.push(d.klass.highlighted),o&&t.push(d.klass.disabled),t.join(" ")),"data-pick="+e.pick+" "+y.ariaAttr({role:"gridcell",label:r,selected:!(!n||l.$node.val()!==r)||null,activedescendant:!!i||null,disabled:!!o||null})),"",y.ariaAttr({role:"presentation"})]}})]}})),d.klass.table,'id="'+l.$node[0].id+'_table" '+y.ariaAttr({role:"grid",controls:l.$node[0].id,readonly:!0}))+y.node("div",y.node("button",d.today,d.klass.buttonToday,"type=button data-pick="+a.pick+(c&&!l.disabled(a)?"":" disabled")+" "+y.ariaAttr({controls:l.$node[0].id}))+y.node("button",d.clear,d.klass.buttonClear,"type=button data-clear=1"+(c?"":" disabled")+" "+y.ariaAttr({controls:l.$node[0].id}))+y.node("button",d.close,d.klass.buttonClose,"type=button data-close=true "+(c?"":" disabled")+" "+y.ariaAttr({controls:l.$node[0].id})),d.klass.footer)},n.defaults={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,format:"d mmmm, yyyy",klass:{table:(t=e.klasses().picker+"__")+"table",header:t+"header",navPrev:t+"nav--prev",navNext:t+"nav--next",navDisabled:t+"nav--disabled",month:t+"month",year:t+"year",selectMonth:t+"select--month",selectYear:t+"select--year",weekdays:t+"weekday",day:t+"day",disabled:t+"day--disabled",selected:t+"day--selected",highlighted:t+"day--highlighted",now:t+"day--today",infocus:t+"day--infocus",outfocus:t+"day--outfocus",footer:t+"footer",buttonClear:t+"button--clear",buttonToday:t+"button--today",buttonClose:t+"button--close"}},e.extend("pickadate",n)},e.exports=n(ve,i)}),Q="md.pickdate",B="pickdate",L=(H=i).fn[B],J={cancel:"Cancel",closeOnCancel:!0,closeOnSelect:!1,container:"",containerHidden:"",disable:[],firstDay:0,format:"d/m/yyyy",formatSubmit:"",hiddenName:!1,hiddenPrefix:"",hiddenSuffix:"",klass:{buttonClear:"btn btn-outline-primary picker-button-clear",buttonClose:"btn btn-outline-primary picker-button-close",buttonToday:"btn btn-outline-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:"Select a month",labelYearSelect:"Select 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"},G=function(){function i(e,t){this._config=this._getConfig(t),this._element=e}var e=i.prototype;return e.display=function(e,t,n){H(".picker-date-display",t).remove(),H(".picker-wrap",t).prepend('<div class="picker-date-display"><div class="picker-date-display-top"><span class="picker-year-display">'+e.get(n,"yyyy")+'</span></div><div class="picker-date-display-bottom"><span class="picker-weekday-display">'+e.get(n,"dddd")+'</span><span class="picker-day-display">'+e.get(n,"d")+'</span><span class="picker-month-display">'+e.get(n,"mmm")+"</span></div></div>")},e.show=function(){var e=this;H(this._element).pickadate({clear:this._config.cancel,close:this._config.ok,closeOnClear:this._config.closeOnCancel,closeOnSelect:this._config.closeOnSelect,container:this._config.container,containerHidden:this._config.containerHidden,disable:this._config.disable,firstDay:this._config.firstDay,format:this._config.format,formatSubmit:this._config.formatSubmit,klass:this._config.klass,hiddenName:this._config.hiddenName,hiddenPrefix:this._config.hiddenPrefix,hiddenSuffix:this._config.hiddenSuffix,labelMonthNext:this._config.labelMonthNext,labelMonthPrev:this._config.labelMonthPrev,labelMonthSelect:this._config.labelMonthSelect,labelYearSelect:this._config.labelYearSelect,max:this._config.max,min:this._config.min,monthsFull:this._config.monthsFull,monthsShort:this._config.monthsShort,onClose:this._config.onClose,onOpen:this._config.onOpen,onRender:this._config.onRender,onSet:this._config.onSet,onStart:this._config.onStart,onStop:this._config.onStop,selectMonths:this._config.selectMonths,selectYears:this._config.selectYears,today:this._config.today,weekdaysFull:this._config.weekdaysFull,weekdaysShort:this._config.weekdaysShort});var t=H(this._element).pickadate("picker"),n=t.$root;t.on({close:function(){H(document.activeElement).blur()},open:function(){H(".picker__date-display",n).length||e.display(t,n,"highlight")},set:function(){null!==t.get("select")&&e.display(t,n,"select")}})},e._getConfig=function(e){return e=C({},J,e),W.typeCheckConfig(B,e,K),e},i._jQueryInterface=function(n){return this.each(function(){var e=C({},i.Default,H(this).data(),"object"==typeof n&&n),t=H(this).data(Q);t||(t=new i(this,e),H(this).data(Q,t)),t.show()})},i}(),H.fn[B]=G._jQueryInterface,H.fn[B].Constructor=G,void(H.fn[B].noConflict=function(){return H.fn[B]=L,G._jQueryInterface})),_e=(X={IS_MOUSEDOWN:!(V="focus")},Z="blur"+(z=".md.selectioncontrolfocus"),ee="focus"+z,te="mousedown"+z,ne="mouseup"+z,ie=".custom-control",oe=".custom-control-input",void(q=i)(document).on(""+Z,oe,function(){q(this).removeClass(V)}).on(""+ee,oe,function(){!1===X.IS_MOUSEDOWN&&q(this).addClass(V)}).on(""+te,ie,function(){X.IS_MOUSEDOWN=!0}).on(""+ne,ie,function(){setTimeout(function(){X.IS_MOUSEDOWN=!1},1)})),ke=(ae="md.tabswitch",se="tabswitch",ce=(re=i).fn[se],le="animate",de="dropdown-item",ue="nav-tabs-indicator",he="nav-tabs-material",fe="show",pe='.nav-tabs [data-toggle="tab"]',me=".dropdown",ge=".nav-tabs",ye=function(){function i(e){this._nav=e,this._navindicator=null}var e=i.prototype;return e.switch=function(e,t){var n=this,i=re(this._nav).offset().left,o=re(this._nav).scrollLeft(),r=re(this._nav).outerWidth(),a=W.supportsTransitionEnd();this._navindicator||this._createIndicator(i,o,r,t),re(e).hasClass(de)&&(e=re(e).closest(me));var s=re(e).offset().left,c=re(e).outerWidth();re(this._navindicator).addClass(fe),W.reflow(this._navindicator),a&&re(this._nav).addClass(le),re(this._navindicator).css({left:s+o-i,right:r-(s+o-i+c)});var l=function(){re(n._nav).removeClass(le),re(n._navindicator).removeClass(fe)};if(a){var d=W.getTransitionDurationFromElement(this._navindicator);re(this._navindicator).one(W.TRANSITION_END,l).emulateTransitionEnd(d)}else l()},e._createIndicator=function(e,t,n,i){if(this._navindicator=document.createElement("div"),re(this._navindicator).addClass(ue).appendTo(this._nav),"undefined"!=typeof i){re(i).hasClass(de)&&(i=re(i).closest(me));var o=re(i).offset().left,r=re(i).outerWidth();re(this._navindicator).css({left:o+t-e,right:n-(o+t-e+r)})}re(this._nav).addClass(he)},i._jQueryInterface=function(n){return this.each(function(){var e=re(this).closest(ge)[0];if(e){var t=re(e).data(ae);t||(t=new i(e),re(e).data(ae,t)),t.switch(this,n)}})},i}(),re(document).on("show.bs.tab",pe,function(e){ye._jQueryInterface.call(re(this),e.relatedTarget)}),re.fn[se]=ye._jQueryInterface,re.fn[se].Constructor=ye,re.fn[se].noConflict=function(){return re.fn[se]=ce,ye._jQueryInterface},ye);e.Util=W,e.ExpansionPanel=S,e.FloatingLabel=w,e.NavDrawer=Y,e.PickDate=be,e.SelectionControlFocus=_e,e.TabSwitch=ke,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=material.min.js.map |
@@ -19,29 +19,45 @@ { | ||
}, | ||
"bundlesize": [ | ||
{ | ||
"path": "./css/material.css" | ||
}, | ||
{ | ||
"path": "./css/material.min.css" | ||
}, | ||
{ | ||
"path": "./js/material.js" | ||
}, | ||
{ | ||
"path": "./js/material.min.js" | ||
} | ||
], | ||
"dependencies": {}, | ||
"description": "Daemonite's Material UI is a cross-platform and fully responsive front-end interface based on Google Material Design developed using Bootstrap 4.", | ||
"devDependencies": { | ||
"@babel/cli": "^7.0.0-beta.38", | ||
"@babel/core": "^7.0.0-beta.38", | ||
"@babel/preset-env": "^7.0.0-beta.38", | ||
"autoprefixer": "^7.2.5", | ||
"babel-eslint": "^8.2.1", | ||
"@babel/cli": "^7.0.0-beta.42", | ||
"@babel/core": "^7.0.0-beta.42", | ||
"@babel/preset-env": "^7.0.0-beta.42", | ||
"autoprefixer": "^8.2.0", | ||
"babel-eslint": "^8.2.2", | ||
"babel-plugin-transform-es2015-modules-strip": "^0.1.1", | ||
"bundlesize": "^0.17.0", | ||
"cssnano": "^4.0.0-rc.2", | ||
"eslint": "^4.16.0", | ||
"eslint": "^4.19.1", | ||
"eslint-plugin-compat": "^2.2.0", | ||
"htmllint-cli": "0.0.6", | ||
"node-sass": "^4.7.2", | ||
"node-sass": "^4.8.3", | ||
"npm-run-all": "^4.1.2", | ||
"pickadate": "^3.5.6", | ||
"postcss-cli": "^4.1.1", | ||
"rollup": "^0.55.1", | ||
"rollup-plugin-babel": "4.0.0-beta.0", | ||
"rollup-plugin-commonjs": "^8.3.0", | ||
"rollup-plugin-node-resolve": "^3.0.2", | ||
"stylelint": "^8.4.0", | ||
"stylelint-config-recommended-scss": "^3.0.0", | ||
"stylelint-config-standard": "^18.0.0", | ||
"stylelint-order": "^0.8.0", | ||
"stylelint-scss": "^2.2.0", | ||
"uglify-js": "^3.3.9" | ||
"postcss-cli": "^5.0.0", | ||
"rollup": "^0.57.1", | ||
"rollup-plugin-babel": "^4.0.0-beta.2", | ||
"rollup-plugin-commonjs": "^9.1.0", | ||
"rollup-plugin-node-resolve": "^3.3.0", | ||
"stylelint": "^9.1.3", | ||
"stylelint-config-recommended-scss": "^3.1.0", | ||
"stylelint-config-standard": "^18.2.0", | ||
"stylelint-order": "^0.8.1", | ||
"stylelint-scss": "^2.5.0", | ||
"uglify-js": "^3.3.16", | ||
"vnu-jar": "^18.3.0" | ||
}, | ||
@@ -79,2 +95,3 @@ "engines": { | ||
"scripts": { | ||
"bundlesize": "bundlesize", | ||
"css": "npm-run-all --parallel css-lint* css-compile* --sequential css-prefix* css-minify*", | ||
@@ -92,6 +109,8 @@ "css-build": "npm-run-all --parallel css-lint css-compile --sequential css-prefix css-minify", | ||
"css-prefix-docs": "postcss --config build/postcss.config.js --env prefix --replace \"docs/css/docs.css\"", | ||
"dist": "npm-run-all --parallel css js", | ||
"dist": "npm-run-all --parallel css js --sequential bundlesize", | ||
"docs": "npm-run-all --parallel css-build-docs js-build-docs --sequential docs-compile docs-lint", | ||
"docs-compile": "bundle exec jekyll build", | ||
"docs-lint": "htmllint --rc build/.htmllintrc \"gh-pages/**/*.html\"", | ||
"docs-lint": "npm-run-all docs-lint-*", | ||
"docs-lint-htmllint": "htmllint --rc build/.htmllintrc \"gh-pages/**/*.html\"", | ||
"docs-lint-vnu-jar": "node build/vnu-jar.js", | ||
"docs-serve": "bundle exec jekyll serve", | ||
@@ -108,3 +127,3 @@ "js": "npm-run-all js-lint* js-compile* js-minify*", | ||
"style": "css/material.css", | ||
"version": "4.0.0" | ||
"version": "4.1.0" | ||
} |
@@ -58,3 +58,3 @@ # Material | ||
├── docs/ | ||
│ └── 4.0/ | ||
│ └── 4.1/ | ||
└── js/ | ||
@@ -73,3 +73,3 @@ ├── material.js | ||
1. Run through the [tooling setup](http://daemonite.github.io/material/docs/4.0/getting-started/tooling/#getting-started) to install Jekyll and other Ruby dependencies with `bundle install`. | ||
1. Run through the [tooling setup](http://daemonite.github.io/material/docs/4.1/getting-started/tooling/#getting-started) to install Jekyll and other Ruby dependencies with `bundle install`. | ||
2. Run `npm install` to install Node.js dependencies. | ||
@@ -76,0 +76,0 @@ 3. Run `npm run dist` and `npm run docs` to rebuild distributed CSS and JavaScript files, as well as docs assets. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
3662198
234
18353
26
1