Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
META-INF.resources.butterfaces-dist-bundle-js.butterfaces-all-with-jquery-and-bootstrap-bundle.min.js Maven / Gradle / Ivy
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(k,e){"use strict";function m(e){return null!=e&&e===e.window}var t=[],n=Object.getPrototypeOf,o=t.slice,_=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},l=t.push,r=t.indexOf,i={},a=i.toString,g=i.hasOwnProperty,s=g.toString,d=s.call(Object),y={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},D=k.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){var i,r,a=(n=n||D).createElement("script");if(a.text=e,t)for(i in u)(r=t[i]||t.getAttribute&&t.getAttribute(i))&&a.setAttribute(i,r);n.head.appendChild(a).parentNode.removeChild(a)}function f(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?i[a.call(e)]||"object":typeof e}var c="3.5.1",L=function(e,t){return new L.fn.init(e,t)};function h(e){var t=!!e&&"length"in e&&e.length,n=f(e);return!v(e)&&!m(e)&&("array"===n||0===t||"number"==typeof t&&0>10|55296,1023&e|56320))}function i(){M()}var e,p,w,a,r,f,h,m,b,l,d,M,k,s,D,_,o,u,g,L="sizzle"+ +new Date,y=n.document,T=0,v=0,x=le(),Y=le(),E=le(),S=le(),C=function(e,t){return e===t&&(d=!0),0},H={}.hasOwnProperty,t=[],O=t.pop,j=t.push,P=t.push,A=t.slice,I=function(e,t){for(var n=0,i=e.length;n+~]|"+F+")"+F+"*"),U=new RegExp(F+"|>"),G=new RegExp(W),Q=new RegExp("^"+$+"$"),J={ID:new RegExp("^#("+$+")"),CLASS:new RegExp("^\\.("+$+")"),TAG:new RegExp("^("+$+"|[*])"),ATTR:new RegExp("^"+B),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+F+"*(even|odd|(([+-]|)(\\d*)n|)"+F+"*(?:([+-]|)"+F+"*(\\d+)|))"+F+"*\\)|)","i"),bool:new RegExp("^(?:"+N+")$","i"),needsContext:new RegExp("^"+F+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+F+"*((?:-\\d)?\\d*)"+F+"*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,Z=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,ee=/^[^{]+\{\s*\[native \w/,te=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ne=/[+~]/,ie=new RegExp("\\\\[\\da-fA-F]{1,6}"+F+"?|\\\\([^\\r\\n\\f])","g"),re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ae=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},se=ye(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{P.apply(t=A.call(y.childNodes),y.childNodes),t[y.childNodes.length].nodeType}catch(e){P={apply:t.length?function(e,t){j.apply(e,A.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function oe(e,t,n,i){var r,a,s,o,l,d,u,c=t&&t.ownerDocument,h=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==h&&9!==h&&11!==h)return n;if(!i&&(M(t),t=t||k,D)){if(11!==h&&(l=te.exec(e)))if(r=l[1]){if(9===h){if(!(s=t.getElementById(r)))return n;if(s.id===r)return n.push(s),n}else if(c&&(s=c.getElementById(r))&&g(t,s)&&s.id===r)return n.push(s),n}else{if(l[2])return P.apply(n,t.getElementsByTagName(e)),n;if((r=l[3])&&p.getElementsByClassName&&t.getElementsByClassName)return P.apply(n,t.getElementsByClassName(r)),n}if(p.qsa&&!S[e+" "]&&(!_||!_.test(e))&&(1!==h||"object"!==t.nodeName.toLowerCase())){if(u=e,c=t,1===h&&(U.test(e)||q.test(e))){for((c=ne.test(e)&&me(t.parentNode)||t)===t&&p.scope||((o=t.getAttribute("id"))?o=o.replace(re,ae):t.setAttribute("id",o=L)),a=(d=f(e)).length;a--;)d[a]=(o?"#"+o:":scope")+" "+ge(d[a]);u=d.join(",")}try{return P.apply(n,c.querySelectorAll(u)),n}catch(t){S(e,!0)}finally{o===L&&t.removeAttribute("id")}}}return m(e.replace(z,"$1"),t,n,i)}function le(){var i=[];return function e(t,n){return i.push(t+" ")>w.cacheLength&&delete e[i.shift()],e[t+" "]=n}}function de(e){return e[L]=!0,e}function ue(e){var t=k.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ce(e,t){for(var n=e.split("|"),i=n.length;i--;)w.attrHandle[n[i]]=t}function he(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function pe(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&se(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function fe(s){return de(function(a){return a=+a,de(function(e,t){for(var n,i=s([],e.length,a),r=i.length;r--;)e[n=i[r]]&&(e[n]=!(t[n]=e[n]))})})}function me(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in p=oe.support={},r=oe.isXML=function(e){var t=e.namespaceURI,e=(e.ownerDocument||e).documentElement;return!K.test(t||e&&e.nodeName||"HTML")},M=oe.setDocument=function(e){var t,e=e?e.ownerDocument||e:y;return e!=k&&9===e.nodeType&&e.documentElement&&(s=(k=e).documentElement,D=!r(k),y!=k&&(t=k.defaultView)&&t.top!==t&&(t.addEventListener?t.addEventListener("unload",i,!1):t.attachEvent&&t.attachEvent("onunload",i)),p.scope=ue(function(e){return s.appendChild(e).appendChild(k.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),p.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),p.getElementsByTagName=ue(function(e){return e.appendChild(k.createComment("")),!e.getElementsByTagName("*").length}),p.getElementsByClassName=ee.test(k.getElementsByClassName),p.getById=ue(function(e){return s.appendChild(e).id=L,!k.getElementsByName||!k.getElementsByName(L).length}),p.getById?(w.filter.ID=function(e){var t=e.replace(ie,c);return function(e){return e.getAttribute("id")===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&D){e=t.getElementById(e);return e?[e]:[]}}):(w.filter.ID=function(e){var t=e.replace(ie,c);return function(e){e=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return e&&e.value===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&D){var n,i,r,a=t.getElementById(e);if(a){if((n=a.getAttributeNode("id"))&&n.value===e)return[a];for(r=t.getElementsByName(e),i=0;a=r[i++];)if((n=a.getAttributeNode("id"))&&n.value===e)return[a]}return[]}}),w.find.TAG=p.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):p.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,a=t.getElementsByTagName(e);if("*"!==e)return a;for(;n=a[r++];)1===n.nodeType&&i.push(n);return i},w.find.CLASS=p.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&D)return t.getElementsByClassName(e)},o=[],_=[],(p.qsa=ee.test(k.querySelectorAll))&&(ue(function(e){var t;s.appendChild(e).innerHTML=" ",e.querySelectorAll("[msallowcapture^='']").length&&_.push("[*^$]="+F+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||_.push("\\["+F+"*(?:value|"+N+")"),e.querySelectorAll("[id~="+L+"-]").length||_.push("~="),(t=k.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||_.push("\\["+F+"*name"+F+"*="+F+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||_.push(":checked"),e.querySelectorAll("a#"+L+"+*").length||_.push(".#.+[+~]"),e.querySelectorAll("\\\f"),_.push("[\\r\\n\\f]")}),ue(function(e){e.innerHTML=" ";var t=k.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&_.push("name"+F+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&_.push(":enabled",":disabled"),s.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&_.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),_.push(",.*:")})),(p.matchesSelector=ee.test(u=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&ue(function(e){p.disconnectedMatch=u.call(e,"*"),u.call(e,"[s!='']:x"),o.push("!=",W)}),_=_.length&&new RegExp(_.join("|")),o=o.length&&new RegExp(o.join("|")),t=ee.test(s.compareDocumentPosition),g=t||ee.test(s.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,t=t&&t.parentNode;return e===t||!(!t||1!==t.nodeType||!(n.contains?n.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},C=t?function(e,t){if(e===t)return d=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!p.sortDetached&&t.compareDocumentPosition(e)===n?e==k||e.ownerDocument==y&&g(y,e)?-1:t==k||t.ownerDocument==y&&g(y,t)?1:l?I(l,e)-I(l,t):0:4&n?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,i=0,r=e.parentNode,a=t.parentNode,s=[e],o=[t];if(!r||!a)return e==k?-1:t==k?1:r?-1:a?1:l?I(l,e)-I(l,t):0;if(r===a)return he(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)o.unshift(n);for(;s[i]===o[i];)i++;return i?he(s[i],o[i]):s[i]==y?-1:o[i]==y?1:0}),k},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if(M(e),p.matchesSelector&&D&&!S[t+" "]&&(!o||!o.test(t))&&(!_||!_.test(t)))try{var n=u.call(e,t);if(n||p.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){S(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ie,c),e[3]=(e[3]||e[4]||e[5]||"").replace(ie,c),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||oe.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&oe.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return J.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&G.test(n)&&(t=f(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ie,c).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=x[e+" "];return t||(t=new RegExp("(^|"+F+")"+e+"("+F+"|$)"))&&x(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(e){e=oe.attr(e,t);return null==e?"!="===n:!n||(e+="","="===n?e===i:"!="===n?e!==i:"^="===n?i&&0===e.indexOf(i):"*="===n?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function E(e,n,i){return v(n)?L.grep(e,function(e,t){return!!n.call(e,t,e)!==i}):n.nodeType?L.grep(e,function(e){return e===n!==i}):"string"!=typeof n?L.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(L.fn.init=function(e,t,n){if(!e)return this;if(n=n||S,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(L):L.makeArray(e,this);if(!(i="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:C.exec(e))||!i[1]&&t)return(!t||t.jquery?t||n:this.constructor(t)).find(e);if(i[1]){if(t=t instanceof L?t[0]:t,L.merge(this,L.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:D,!0)),Y.test(i[1])&&L.isPlainObject(t))for(var i in t)v(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(e=D.getElementById(i[2]))&&(this[0]=e,this.length=1),this}).prototype=L.fn,S=L(D);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function j(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}L.fn.extend({has:function(e){var t=L(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,c=D.createDocumentFragment().appendChild(D.createElement("div"));(p=D.createElement("input")).setAttribute("type","radio"),p.setAttribute("checked","checked"),p.setAttribute("name","t"),c.appendChild(p),y.checkClone=c.cloneNode(!0).cloneNode(!0).lastChild.checked,c.innerHTML="",y.noCloneChecked=!!c.cloneNode(!0).lastChild.defaultValue,c.innerHTML=" ",y.option=!!c.lastChild;var pe={thead:[1,""],col:[2,""],tr:[2,""],td:[3,""],_default:[0,"",""]};function fe(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&x(e,t)?L.merge([e],n):n}function me(e,t){for(var n=0,i=e.length;n",""]);var _e=/<|?\w+;/;function ge(e,t,n,i,r){for(var a,s,o,l,d,u=t.createDocumentFragment(),c=[],h=0,p=e.length;h \s*$/g;function Ee(e,t){return x(e,"table")&&x(11!==t.nodeType?t:t.firstChild,"tr")&&L(e).children("tbody")[0]||e}function Se(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ce(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function He(e,t){var n,i,r,a;if(1===t.nodeType){if(Q.hasData(e)&&(a=Q.get(e).events))for(r in Q.remove(t,"handle events"),a)for(n=0,i=a[r].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",r=function(e){i.remove(),r=null,e&&t("error"===e.type?404:200,e.type)}),D.head.appendChild(i[0])},abort:function(){r&&r()}}});var Jt=[],Kt=/(=)\?(?=&|$)|\?\?/;L.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Jt.pop()||L.expando+"_"+Et.guid++;return this[e]=!0,e}}),L.ajaxPrefilter("json jsonp",function(e,t,n){var i,r,a,s=!1!==e.jsonp&&(Kt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Kt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Kt,"$1"+i):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return a||L.error(i+" was not called"),a[0]},e.dataTypes[0]="json",r=k[i],k[i]=function(){a=arguments},n.always(function(){void 0===r?L(k).removeProp(i):k[i]=r,e[i]&&(e.jsonpCallback=t.jsonpCallback,Jt.push(i)),a&&v(r)&&r(a[0]),a=r=void 0}),"script"}),y.createHTMLDocument=((c=D.implementation.createHTMLDocument("").body).innerHTML="",2===c.childNodes.length),L.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((i=(t=D.implementation.createHTMLDocument("")).createElement("base")).href=D.location.href,t.head.appendChild(i)):t=D),i=!n&&[],(n=Y.exec(e))?[t.createElement(n[1])]:(n=ge([e],t,i),i&&i.length&&L(i).remove(),L.merge([],n.childNodes)));var i},L.fn.load=function(e,t,n){var i,r,a,s=this,o=e.indexOf(" ");return-1").append(L.parseHTML(e)).find(i):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,a||[e.responseText,t,e])})}),this},L.expr.pseudos.animated=function(t){return L.grep(L.timers,function(e){return t===e.elem}).length},L.offset={setOffset:function(e,t,n){var i,r,a,s,o=L.css(e,"position"),l=L(e),d={};"static"===o&&(e.style.position="relative"),a=l.offset(),i=L.css(e,"top"),s=L.css(e,"left"),s=("absolute"===o||"fixed"===o)&&-1<(i+s).indexOf("auto")?(r=(o=l.position()).top,o.left):(r=parseFloat(i)||0,parseFloat(s)||0),v(t)&&(t=t.call(e,n,L.extend({},a))),null!=t.top&&(d.top=t.top-a.top+r),null!=t.left&&(d.left=t.left-a.left+s),"using"in t?t.using.call(e,d):("number"==typeof d.top&&(d.top+="px"),"number"==typeof d.left&&(d.left+="px"),l.css(d))}},L.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){L.offset.setOffset(this,t,e)});var e,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),n=n.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],r={top:0,left:0};if("fixed"===L.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===L.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((r=L(e).offset()).top+=L.css(e,"borderTopWidth",!0),r.left+=L.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-L.css(i,"marginTop",!0),left:t.left-r.left-L.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===L.css(e,"position");)e=e.offsetParent;return e||ie})}}),L.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,r){var a="pageYOffset"===r;L.fn[t]=function(e){return W(this,function(e,t,n){var i;return m(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===n?i?i[r]:e[t]:void(i?i.scrollTo(a?i.pageXOffset:n,a?n:i.pageYOffset):e[t]=n)},t,e,arguments.length)}}),L.each(["top","left"],function(e,n){L.cssHooks[n]=Ge(y.pixelPosition,function(e,t){if(t)return t=Ue(e,n),ze.test(t)?L(e).position()[n]+"px":t})}),L.each({Height:"height",Width:"width"},function(s,o){L.each({padding:"inner"+s,content:o,"":"outer"+s},function(i,a){L.fn[a]=function(e,t){var n=arguments.length&&(i||"boolean"!=typeof e),r=i||(!0===e||!0===t?"margin":"border");return W(this,function(e,t,n){var i;return m(e)?0===a.indexOf("outer")?e["inner"+s]:e.document.documentElement["client"+s]:9===e.nodeType?(i=e.documentElement,Math.max(e.body["scroll"+s],i["scroll"+s],e.body["offset"+s],i["offset"+s],i["client"+s])):void 0===n?L.css(e,t,r):L.style(e,t,n,r)},o,n?e:void 0,n)}})}),L.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){L.fn[t]=function(e){return this.on(t,e)}}),L.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),L.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){L.fn[n]=function(e,t){return 0>>0,i=0;iAe(e)?(a=e+1,r-Ae(e)):(a=e,r);return{year:a,dayOfYear:r}}function Be(e,t,n){var i,r,a=Fe(e.year(),t,n),a=Math.floor((e.dayOfYear()-a-1)/7)+1;return a<1?i=a+We(r=e.year()-1,t,n):a>We(e.year(),t,n)?(i=a-We(e.year(),t,n),r=e.year()+1):(r=e.year(),i=a),{week:i,year:r}}function We(e,t,n){var i=Fe(e,t,n),n=Fe(e+1,t,n);return(Ae(e)-i+n)/7}O("w",["ww",2],"wo","week"),O("W",["WW",2],"Wo","isoWeek"),I("week","w"),I("isoWeek","W"),B("week",5),B("isoWeek",5),ce("w",ee),ce("ww",ee,J),ce("W",ee),ce("WW",ee,J),_e(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=z(e)});function Re(e,t){return e.slice(t,7).concat(e.slice(0,t))}O("d",0,"do","day"),O("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),O("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),O("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),O("e",0,0,"weekday"),O("E",0,0,"isoWeekday"),I("day","d"),I("weekday","e"),I("isoWeekday","E"),B("day",11),B("weekday",11),B("isoWeekday",11),ce("d",ee),ce("e",ee),ce("E",ee),ce("dd",function(e,t){return t.weekdaysMinRegex(e)}),ce("ddd",function(e,t){return t.weekdaysShortRegex(e)}),ce("dddd",function(e,t){return t.weekdaysRegex(e)}),_e(["dd","ddd","dddd"],function(e,t,n,i){i=n._locale.weekdaysParse(e,i,n._strict);null!=i?t.d=i:m(n).invalidWeekday=e}),_e(["d","e","E"],function(e,t,n,i){t[i]=z(e)});var ze="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ve="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ue=ue,Ge=ue,Qe=ue;function Je(){function e(e,t){return t.length-e.length}for(var t,n,i,r=[],a=[],s=[],o=[],l=0;l<7;l++)i=p([2e3,1]).day(l),t=pe(this.weekdaysMin(i,"")),n=pe(this.weekdaysShort(i,"")),i=pe(this.weekdays(i,"")),r.push(t),a.push(n),s.push(i),o.push(t),o.push(n),o.push(i);r.sort(e),a.sort(e),s.sort(e),o.sort(e),this._weekdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Ke(){return this.hours()%12||12}function Ze(e,t){O(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Xe(e,t){return t._meridiemParse}O("H",["HH",2],0,"hour"),O("h",["hh",2],0,Ke),O("k",["kk",2],0,function(){return this.hours()||24}),O("hmm",0,0,function(){return""+Ke.apply(this)+Y(this.minutes(),2)}),O("hmmss",0,0,function(){return""+Ke.apply(this)+Y(this.minutes(),2)+Y(this.seconds(),2)}),O("Hmm",0,0,function(){return""+this.hours()+Y(this.minutes(),2)}),O("Hmmss",0,0,function(){return""+this.hours()+Y(this.minutes(),2)+Y(this.seconds(),2)}),Ze("a",!0),Ze("A",!1),I("hour","h"),B("hour",13),ce("a",Xe),ce("A",Xe),ce("H",ee),ce("h",ee),ce("k",ee),ce("HH",ee,J),ce("hh",ee,J),ce("kk",ee,J),ce("hmm",te),ce("hmmss",ne),ce("Hmm",te),ce("Hmmss",ne),me(["H","HH"],be),me(["k","kk"],function(e,t,n){e=z(e);t[be]=24===e?0:e}),me(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),me(["h","hh"],function(e,t,n){t[be]=z(e),m(n).bigHour=!0}),me("hmm",function(e,t,n){var i=e.length-2;t[be]=z(e.substr(0,i)),t[Me]=z(e.substr(i)),m(n).bigHour=!0}),me("hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[be]=z(e.substr(0,i)),t[Me]=z(e.substr(i,2)),t[ke]=z(e.substr(r)),m(n).bigHour=!0}),me("Hmm",function(e,t,n){var i=e.length-2;t[be]=z(e.substr(0,i)),t[Me]=z(e.substr(i))}),me("Hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[be]=z(e.substr(0,i)),t[Me]=z(e.substr(i,2)),t[ke]=z(e.substr(r))});var et=V("Hours",!0);var tt,nt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ye,monthsShort:Ee,week:{dow:0,doy:6},weekdays:ze,weekdaysMin:qe,weekdaysShort:Ve,meridiemParse:/[ap]\.?m?\.?/i},it={},rt={};function at(e){return e&&e.toLowerCase().replace("_","-")}function st(e){for(var t,n,i,r,a=0;a=t&&function(e,t){for(var n=Math.min(e.length,t.length),i=0;i=t-1)break;t--}a++}return tt}function ot(t){var e;if(void 0===it[t]&&"undefined"!=typeof module&&module&&module.exports)try{e=tt._abbr,require("./locale/"+t),lt(e)}catch(e){it[t]=null}return it[t]}function lt(e,t){var n;return e&&(n=a(t)?ut(e):dt(e,t))&&(tt=n),tt._abbr}function dt(e,t){if(null===t)return delete it[e],null;var n,i=nt;if(t.abbr=e,null!=it[e])D("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=it[e]._config;else if(null!=t.parentLocale)if(null!=it[t.parentLocale])i=it[t.parentLocale]._config;else{if(null==(n=ot(t.parentLocale)))return rt[t.parentLocale]||(rt[t.parentLocale]=[]),rt[t.parentLocale].push({name:e,config:t}),null;i=n._config}return it[e]=new x(T(i,t)),rt[e]&&rt[e].forEach(function(e){dt(e.name,e.config)}),lt(e),it[e]}function ut(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return tt;if(!s(e)){if(t=ot(e))return t;e=[e]}return st(e)}function ct(e){var t=e._a;return t&&-2===m(e).overflow&&(t=t[ve]<0||11xe(t[ye],t[ve])?we:t[be]<0||24We(s,d,u)?m(r)._overflowWeeks=!0:null!=c?m(r)._overflowWeekday=!0:(u=$e(s,o,l,d,u),r._a[ye]=u.year,r._dayOfYear=u.dayOfYear)),null!=e._dayOfYear&&(i=kt(e._a[ye],n[ye]),(e._dayOfYear>Ae(i)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),i=Ne(i,0,e._dayOfYear),e._a[ve]=i.getUTCMonth(),e._a[we]=i.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=p[t]=n[t];for(;t<7;t++)e._a[t]=p[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[be]&&0===e._a[Me]&&0===e._a[ke]&&0===e._a[De]&&(e._nextDay=!0,e._a[be]=0),e._d=(e._useUTC?Ne:function(e,t,n,i,r,a,s){var o;return e<100&&0<=e?(o=new Date(e+400,t,n,i,r,a,s),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,i,r,a,s),o}).apply(null,p),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[be]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(m(e).weekdayMismatch=!0)}}function Lt(e){if(e._f!==f.ISO_8601)if(e._f!==f.RFC_2822){e._a=[],m(e).empty=!0;for(var t,n,i,r,a,s=""+e._i,o=s.length,l=0,d=P(e._f,e._locale).match(E)||[],u=0;ue.valueOf():e.valueOf()"}),re.toJSON=function(){return this.isValid()?this.toISOString():null},re.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},re.unix=function(){return Math.floor(this.valueOf()/1e3)},re.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},re.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},re.eraName=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;nthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},re.isLocal=function(){return!!this.isValid()&&!this._isUTC},re.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},re.isUtc=Bt,re.isUTC=Bt,re.zoneAbbr=function(){return this._isUTC?"UTC":""},re.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},re.dates=n("dates accessor is deprecated. Use date instead.",ne),re.months=n("months accessor is deprecated. Use month instead",je),re.years=n("years accessor is deprecated. Use year instead",Ie),re.zone=n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),re.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e,t={};return v(t,this),(t=Tt(t))._a?(e=(t._isUTC?p:Yt)(t._a),this._isDSTShifted=this.isValid()&&0 div").hide().filter(".datepicker-"+d[this.currentViewMode].CLASS_NAME).show())},v.prototype._isInDisabledDates=function(e){return!0===this._options.disabledDates[e.format("YYYY-MM-DD")]},v.prototype._isInEnabledDates=function(e){return!0===this._options.enabledDates[e.format("YYYY-MM-DD")]},v.prototype._isInDisabledHours=function(e){return!0===this._options.disabledHours[e.format("H")]},v.prototype._isInEnabledHours=function(e){return!0===this._options.enabledHours[e.format("H")]},v.prototype._isValid=function(e,t){if(!e||!e.isValid())return!1;if(this._options.disabledDates&&"d"===t&&this._isInDisabledDates(e))return!1;if(this._options.enabledDates&&"d"===t&&!this._isInEnabledDates(e))return!1;if(this._options.minDate&&e.isBefore(this._options.minDate,t))return!1;if(this._options.maxDate&&e.isAfter(this._options.maxDate,t))return!1;if(this._options.daysOfWeekDisabled&&"d"===t&&-1!==this._options.daysOfWeekDisabled.indexOf(e.day()))return!1;if(this._options.disabledHours&&("h"===t||"m"===t||"s"===t)&&this._isInDisabledHours(e))return!1;if(this._options.enabledHours&&("h"===t||"m"===t||"s"===t)&&!this._isInEnabledHours(e))return!1;if(this._options.disabledTimeIntervals&&("h"===t||"m"===t||"s"===t)){var n=!1;if(r.each(this._options.disabledTimeIntervals,function(){if(e.isBetween(this[0],this[1]))return!(n=!0)}),n)return!1}return!0},v.prototype._parseInputDate=function(e){var t=(1 div").hide().filter(".datepicker-"+p[this.currentViewMode].CLASS_NAME).show())},n._isInDisabledDates=function(e){return!0===this._options.disabledDates[e.format("YYYY-MM-DD")]},n._isInEnabledDates=function(e){return!0===this._options.enabledDates[e.format("YYYY-MM-DD")]},n._isInDisabledHours=function(e){return!0===this._options.disabledHours[e.format("H")]},n._isInEnabledHours=function(e){return!0===this._options.enabledHours[e.format("H")]},n._isValid=function(e,t){if(!e||!e.isValid())return!1;if(this._options.disabledDates&&"d"===t&&this._isInDisabledDates(e))return!1;if(this._options.enabledDates&&"d"===t&&!this._isInEnabledDates(e))return!1;if(this._options.minDate&&e.isBefore(this._options.minDate,t))return!1;if(this._options.maxDate&&e.isAfter(this._options.maxDate,t))return!1;if(this._options.daysOfWeekDisabled&&"d"===t&&-1!==this._options.daysOfWeekDisabled.indexOf(e.day()))return!1;if(this._options.disabledHours&&("h"===t||"m"===t||"s"===t)&&this._isInDisabledHours(e))return!1;if(this._options.enabledHours&&("h"===t||"m"===t||"s"===t)&&!this._isInEnabledHours(e))return!1;if(this._options.disabledTimeIntervals&&("h"===t||"m"===t||"s"===t)){var n=!1;if(r.each(this._options.disabledTimeIntervals,function(){if(e.isBetween(this[0],this[1]))return!(n=!0)}),n)return!1}return!0},n._parseInputDate=function(e,t){t=(void 0===t?{}:t).isPickerShow,t=void 0!==t&&t;return void 0===this._options.parseInputDate||t?a.isMoment(e)||(e=this.getMoment(e)):e=this._options.parseInputDate(e),e},n._keydown=function(e){var t,n,i,r,a=null,s=[],o={},l=e.which;for(t in _[l]="p",_)_.hasOwnProperty(t)&&"p"===_[t]&&(s.push(t),parseInt(t,10)!==l&&(o[t]=!0));for(t in this._options.keyBinds)if(this._options.keyBinds.hasOwnProperty(t)&&"function"==typeof this._options.keyBinds[t]&&(i=t.split(" ")).length===s.length&&f[l]===i[i.length-1]){for(r=!0,n=i.length-2;0<=n;n--)if(!(f[i[n]]in o)){r=!1;break}if(r){a=this._options.keyBinds[t];break}}a&&a.call(this)&&(e.stopPropagation(),e.preventDefault())},n._keyup=function(e){_[e.which]="r",g[e.which]&&(g[e.which]=!1,e.stopPropagation(),e.preventDefault())},n._indexGivenDates=function(e){var t={},n=this;return r.each(e,function(){var e=n._parseInputDate(this);e.isValid()&&(t[e.format("YYYY-MM-DD")]=!0)}),!!Object.keys(t).length&&t},n._indexGivenHours=function(e){var t={};return r.each(e,function(){t[this]=!0}),!!Object.keys(t).length&&t},n._initFormatting=function(){var e=this._options.format||"L LT",t=this;this.actualFormat=e.replace(/(\[[^\[]*])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(e){return(t.isInitFormatting&&null===t._options.date?t.getMoment():t._dates[0]).localeData().longDateFormat(e)||e}),this.parseFormats=this._options.extraFormats?this._options.extraFormats.slice():[],this.parseFormats.indexOf(e)<0&&this.parseFormats.indexOf(this.actualFormat)<0&&this.parseFormats.push(this.actualFormat),this.use24Hours=this.actualFormat.toLowerCase().indexOf("a")<1&&this.actualFormat.replace(/\[.*?]/g,"").indexOf("h")<1,this._isEnabled("y")&&(this.MinViewModeNumber=2),this._isEnabled("M")&&(this.MinViewModeNumber=1),this._isEnabled("d")&&(this.MinViewModeNumber=0),this.currentViewMode=Math.max(this.MinViewModeNumber,this.currentViewMode),this.unset||this._setValue(this._dates[0],0)},n._getLastPickedDate=function(){var e=this._dates[this._getLastPickedDateIndex()];return!e&&this._options.allowMultidate&&(e=a(new Date)),e},n._getLastPickedDateIndex=function(){return this._dates.length-1},n.getMoment=function(e){e=null==e?a().clone().locale(this._options.locale):this._hasTimeZone()?a.tz(e,this.parseFormats,this._options.locale,this._options.useStrict,this._options.timeZone):a(e,this.parseFormats,this._options.locale,this._options.useStrict);return this._hasTimeZone()&&e.tz(this._options.timeZone),e},n.toggle=function(){return this.widget?this.hide():this.show()},n.readonly=function(e){if(0===arguments.length)return this._options.readonly;if("boolean"!=typeof e)throw new TypeError("readonly() expects a boolean parameter");this._options.readonly=e,void 0!==this.input&&this.input.prop("readonly",this._options.readonly),this.widget&&(this.hide(),this.show())},n.ignoreReadonly=function(e){if(0===arguments.length)return this._options.ignoreReadonly;if("boolean"!=typeof e)throw new TypeError("ignoreReadonly() expects a boolean parameter");this._options.ignoreReadonly=e},n.options=function(e){if(0===arguments.length)return r.extend(!0,{},this._options);if(!(e instanceof Object))throw new TypeError("options() this.options parameter should be an object");r.extend(!0,this._options,e);var i=this,t=Object.keys(this._options).sort(x);r.each(t,function(e,t){var n=i._options[t];if(void 0!==i[t]){if(i.isInit&&"date"===t)return i.hasInitDate=!0,void(i.initDate=n);i[t](n)}})},n.date=function(e,t){if(t=t||0,0===arguments.length)return this.unset?null:this._options.allowMultidate?this._dates.join(this._options.multidateSeparator):this._dates[t].clone();if(!(null===e||"string"==typeof e||a.isMoment(e)||e instanceof Date))throw new TypeError("date() parameter must be one of [null, string, moment or Date]");"string"==typeof e&&L(e)&&(e=new Date(e)),this._setValue(null===e?null:this._parseInputDate(e),t)},n.updateOnlyThroughDateOption=function(e){if("boolean"!=typeof e)throw new TypeError("updateOnlyThroughDateOption() expects a boolean parameter");this._options.updateOnlyThroughDateOption=e},n.format=function(e){if(0===arguments.length)return this._options.format;if("string"!=typeof e&&("boolean"!=typeof e||!1!==e))throw new TypeError("format() expects a string or boolean:false parameter "+e);this._options.format=e,this.actualFormat&&this._initFormatting()},n.timeZone=function(e){if(0===arguments.length)return this._options.timeZone;if("string"!=typeof e)throw new TypeError("newZone() expects a string parameter");this._options.timeZone=e},n.dayViewHeaderFormat=function(e){if(0===arguments.length)return this._options.dayViewHeaderFormat;if("string"!=typeof e)throw new TypeError("dayViewHeaderFormat() expects a string parameter");this._options.dayViewHeaderFormat=e},n.extraFormats=function(e){if(0===arguments.length)return this._options.extraFormats;if(!1!==e&&!(e instanceof Array))throw new TypeError("extraFormats() expects an array or false parameter");this._options.extraFormats=e,this.parseFormats&&this._initFormatting()},n.disabledDates=function(e){if(0===arguments.length)return this._options.disabledDates&&r.extend({},this._options.disabledDates);if(!e)return this._options.disabledDates=!1,this._update(),!0;if(!(e instanceof Array))throw new TypeError("disabledDates() expects an array parameter");this._options.disabledDates=this._indexGivenDates(e),this._options.enabledDates=!1,this._update()},n.enabledDates=function(e){if(0===arguments.length)return this._options.enabledDates&&r.extend({},this._options.enabledDates);if(!e)return this._options.enabledDates=!1,this._update(),!0;if(!(e instanceof Array))throw new TypeError("enabledDates() expects an array parameter");this._options.enabledDates=this._indexGivenDates(e),this._options.disabledDates=!1,this._update()},n.daysOfWeekDisabled=function(e){if(0===arguments.length)return this._options.daysOfWeekDisabled.splice(0);if("boolean"==typeof e&&!e)return this._options.daysOfWeekDisabled=!1,this._update(),!0;if(!(e instanceof Array))throw new TypeError("daysOfWeekDisabled() expects an array parameter");if(this._options.daysOfWeekDisabled=e.reduce(function(e,t){return 6<(t=parseInt(t,10))||t<0||isNaN(t)||-1===e.indexOf(t)&&e.push(t),e},[]).sort(),this._options.useCurrent&&!this._options.keepInvalid)for(var t=0;t").html(feather.icons[e].toSvg()):w("").addClass(e)},t._getDatePickerTemplate=function(){var e=w("").append(w("").append(w("").addClass("prev").attr("data-action","previous").append(this._iconTag(this._options.icons.previous))).append(w(" ").addClass("picker-switch").attr("data-action","pickerSwitch").attr("colspan",this._options.calendarWeeks?"6":"5")).append(w(" ").addClass("next").attr("data-action","next").append(this._iconTag(this._options.icons.next)))),t=w(" ").append(w("").append(w("").attr("colspan",this._options.calendarWeeks?"8":"7")));return[w("").addClass("datepicker-days").append(w("
").addClass("table table-sm").append(e).append(w(""))),w("").addClass("datepicker-months").append(w("
").addClass("table-condensed").append(e.clone()).append(t.clone())),w("").addClass("datepicker-years").append(w("
").addClass("table-condensed").append(e.clone()).append(t.clone())),w("").addClass("datepicker-decades").append(w("
").addClass("table-condensed").append(e.clone()).append(t.clone()))]},t._getTimePickerMainTemplate=function(){var e=w(""),t=w(" "),n=w(" ");return this._isEnabled("h")&&(e.append(w("").append(w("").attr({href:"#",tabindex:"-1",title:this._options.tooltips.incrementHour}).addClass("btn").attr("data-action","incrementHours").append(this._iconTag(this._options.icons.up)))),t.append(w(" ").append(w("").addClass("timepicker-hour").attr({"data-time-component":"hours",title:this._options.tooltips.pickHour}).attr("data-action","showHours"))),n.append(w(" ").append(w("").attr({href:"#",tabindex:"-1",title:this._options.tooltips.decrementHour}).addClass("btn").attr("data-action","decrementHours").append(this._iconTag(this._options.icons.down))))),this._isEnabled("m")&&(this._isEnabled("h")&&(e.append(w(" ").addClass("separator")),t.append(w(" ").addClass("separator").html(":")),n.append(w(" ").addClass("separator"))),e.append(w(" ").append(w("").attr({href:"#",tabindex:"-1",title:this._options.tooltips.incrementMinute}).addClass("btn").attr("data-action","incrementMinutes").append(this._iconTag(this._options.icons.up)))),t.append(w(" ").append(w("").addClass("timepicker-minute").attr({"data-time-component":"minutes",title:this._options.tooltips.pickMinute}).attr("data-action","showMinutes"))),n.append(w(" ").append(w("").attr({href:"#",tabindex:"-1",title:this._options.tooltips.decrementMinute}).addClass("btn").attr("data-action","decrementMinutes").append(this._iconTag(this._options.icons.down))))),this._isEnabled("s")&&(this._isEnabled("m")&&(e.append(w(" ").addClass("separator")),t.append(w(" ").addClass("separator").html(":")),n.append(w(" ").addClass("separator"))),e.append(w(" ").append(w("").attr({href:"#",tabindex:"-1",title:this._options.tooltips.incrementSecond}).addClass("btn").attr("data-action","incrementSeconds").append(this._iconTag(this._options.icons.up)))),t.append(w(" ").append(w("").addClass("timepicker-second").attr({"data-time-component":"seconds",title:this._options.tooltips.pickSecond}).attr("data-action","showSeconds"))),n.append(w(" ").append(w("").attr({href:"#",tabindex:"-1",title:this._options.tooltips.decrementSecond}).addClass("btn").attr("data-action","decrementSeconds").append(this._iconTag(this._options.icons.down))))),this.use24Hours||(e.append(w(" ").addClass("separator")),t.append(w(" ").append(w("").addClass("btn btn-primary").attr({"data-action":"togglePeriod",tabindex:"-1",title:this._options.tooltips.togglePeriod}))),n.append(w("").addClass("separator"))),w("").addClass("timepicker-picker").append(w("
").addClass("table-condensed").append([e,t,n]))},t._getTimePickerTemplate=function(){var e=w("").addClass("timepicker-hours").append(w("
").addClass("table-condensed")),t=w("").addClass("timepicker-minutes").append(w("
").addClass("table-condensed")),n=w("").addClass("timepicker-seconds").append(w("
").addClass("table-condensed")),i=[this._getTimePickerMainTemplate()];return this._isEnabled("h")&&i.push(e),this._isEnabled("m")&&i.push(t),this._isEnabled("s")&&i.push(n),i},t._getToolbar=function(){var e,t,n=[];return this._options.buttons.showToday&&n.push(w("").append(w("").attr({href:"#",tabindex:"-1","data-action":"today",title:this._options.tooltips.today}).append(this._iconTag(this._options.icons.today)))),!this._options.sideBySide&&this._options.collapse&&this._hasDate()&&this._hasTime()&&(t="times"===this._options.viewMode?(e=this._options.tooltips.selectDate,this._options.icons.date):(e=this._options.tooltips.selectTime,this._options.icons.time),n.push(w(" ").append(w("").attr({href:"#",tabindex:"-1","data-action":"togglePicker",title:e}).append(this._iconTag(t))))),this._options.buttons.showClear&&n.push(w(" ").append(w("").attr({href:"#",tabindex:"-1","data-action":"clear",title:this._options.tooltips.clear}).append(this._iconTag(this._options.icons.clear)))),this._options.buttons.showClose&&n.push(w(" ").append(w("").attr({href:"#",tabindex:"-1","data-action":"close",title:this._options.tooltips.close}).append(this._iconTag(this._options.icons.close)))),0===n.length?"":w(" ").addClass("table-condensed").append(w("").append(w("").append(n)))},t._getTemplate=function(){var e=w("").addClass(("bootstrap-datetimepicker-widget dropdown-menu "+(this._options.calendarWeeks?"tempusdominus-bootstrap-datetimepicker-widget-with-calendar-weeks":"")+" "+(this._useFeatherIcons()?"tempusdominus-bootstrap-datetimepicker-widget-with-feather-icons":"")+" ").trim()),t=w("
").addClass("datepicker").append(this._getDatePickerTemplate()),n=w("
").addClass("timepicker").append(this._getTimePickerTemplate()),i=w("
").addClass("list-unstyled"),r=w("").addClass(("picker-switch"+(this._options.collapse?" accordion-toggle":"")+" "+(this._useFeatherIcons()?"picker-switch-with-feathers-icons":"")).trim()).append(this._getToolbar());return this._options.inline&&e.removeClass("dropdown-menu"),this.use24Hours&&e.addClass("usetwentyfour"),(void 0!==this.input&&this.input.prop("readonly")||this._options.readonly)&&e.addClass("bootstrap-datetimepicker-widget-readonly"),this._isEnabled("s")&&!this.use24Hours&&e.addClass("wider"),this._options.sideBySide&&this._hasDate()&&this._hasTime()?(e.addClass("timepicker-sbs"),"top"===this._options.toolbarPlacement&&e.append(r),e.append(w("").addClass("row").append(t.addClass("col-md-6")).append(n.addClass("col-md-6"))),"bottom"!==this._options.toolbarPlacement&&"default"!==this._options.toolbarPlacement||e.append(r),e):("top"===this._options.toolbarPlacement&&i.append(r),this._hasDate()&&i.append(w("
").addClass(this._options.collapse&&this._hasTime()?"collapse":"").addClass(this._options.collapse&&this._hasTime()&&"times"===this._options.viewMode?"":"show").append(t)),"default"===this._options.toolbarPlacement&&i.append(r),this._hasTime()&&i.append(w(" ").addClass(this._options.collapse&&this._hasDate()?"collapse":"").addClass(this._options.collapse&&this._hasDate()&&"times"===this._options.viewMode?"show":"").append(n)),"bottom"===this._options.toolbarPlacement&&i.append(r),e.append(i))},t._place=function(e){var t,n=e&&e.data&&e.data.picker||this,i=n._options.widgetPositioning.vertical,r=n._options.widgetPositioning.horizontal,a=(n.component&&n.component.length?n.component:n._element).position(),e=(n.component&&n.component.length?n.component:n._element).offset();if(n._options.widgetParent)t=n._options.widgetParent.append(n.widget);else if(n._element.is("input"))t=n._element.after(n.widget).parent();else{if(n._options.inline)return void(t=n._element.append(n.widget));t=n._element,n._element.children().first().after(n.widget)}if("auto"===i&&(i=e.top+1.5*n.widget.height()>=w(window).height()+w(window).scrollTop()&&n.widget.height()+n._element.outerHeight()w(window).width()?"right":"left"),"top"===i?n.widget.addClass("top").removeClass("bottom"):n.widget.addClass("bottom").removeClass("top"),"right"===r?n.widget.addClass("float-right"):n.widget.removeClass("float-right"),"relative"!==t.css("position")&&(t=t.parents().filter(function(){return"relative"===w(this).css("position")}).first()),0===t.length)throw new Error("datetimepicker component should be placed within a relative positioned container");n.widget.css({top:"top"===i?"auto":a.top+n._element.outerHeight()+"px",bottom:"top"===i?t.outerHeight()-(t===n._element?0:a.top)+"px":"auto",left:"left"===r?(t===n._element?0:a.left)+"px":"auto",right:"left"===r?"auto":t.outerWidth()-n._element.outerWidth()-(t===n._element?0:a.left)+"px"})},t._fillDow=function(){var e=w(""),t=this._viewDate.clone().startOf("w").startOf("d");for(!0===this._options.calendarWeeks&&e.append(w("").addClass("cw").text("#"));t.isBefore(this._viewDate.clone().endOf("w"));)e.append(w(" ").addClass("dow").text(t.format("dd"))),t.add(1,"d");this.widget.find(".datepicker-days thead").append(e)},t._fillMonths=function(){for(var e=[],t=this._viewDate.clone().startOf("y").startOf("d");t.isSame(this._viewDate,"y");)e.push(w("").attr("data-action","selectMonth").addClass("month").text(t.format("MMM"))),t.add(1,"M");this.widget.find(".datepicker-months td").empty().append(e)},t._updateMonths=function(){var e=this.widget.find(".datepicker-months"),t=e.find("th"),n=e.find("tbody").find("span"),i=this,r=this._getLastPickedDate();t.eq(0).find("span").attr("title",this._options.tooltips.prevYear),t.eq(1).attr("title",this._options.tooltips.selectYear),t.eq(2).find("span").attr("title",this._options.tooltips.nextYear),e.find(".disabled").removeClass("disabled"),this._isValid(this._viewDate.clone().subtract(1,"y"),"y")||t.eq(0).addClass("disabled"),t.eq(1).text(this._viewDate.year()),this._isValid(this._viewDate.clone().add(1,"y"),"y")||t.eq(2).addClass("disabled"),n.removeClass("active"),r&&r.isSame(this._viewDate,"y")&&!this.unset&&n.eq(r.month()).addClass("active"),n.each(function(e){i._isValid(i._viewDate.clone().month(e),"M")||w(this).addClass("disabled")})},t._getStartEndYear=function(e,t){var n=e/10,e=Math.floor(t/e)*e;return[e,e+9*n,Math.floor(t/n)*n]},t._updateYears=function(){var e=this.widget.find(".datepicker-years"),t=e.find("th"),n=this._getStartEndYear(10,this._viewDate.year()),i=this._viewDate.clone().year(n[0]),r=this._viewDate.clone().year(n[1]),a="";for(t.eq(0).find("span").attr("title",this._options.tooltips.prevDecade),t.eq(1).attr("title",this._options.tooltips.selectDecade),t.eq(2).find("span").attr("title",this._options.tooltips.nextDecade),e.find(".disabled").removeClass("disabled"),this._options.minDate&&this._options.minDate.isAfter(i,"y")&&t.eq(0).addClass("disabled"),t.eq(1).text(i.year()+"-"+r.year()),this._options.maxDate&&this._options.maxDate.isBefore(r,"y")&&t.eq(2).addClass("disabled"),a+=''+(i.year()-1)+" ";!i.isAfter(r,"y");)a+=''+i.year()+" ",i.add(1,"y");a+=''+i.year()+" ",e.find("td").html(a)},t._updateDecades=function(){var e,t,n,i=this.widget.find(".datepicker-decades"),r=i.find("th"),a=this._getStartEndYear(100,this._viewDate.year()),s=this._viewDate.clone().year(a[0]),o=this._viewDate.clone().year(a[1]),l=this._getLastPickedDate(),d="";for(r.eq(0).find("span").attr("title",this._options.tooltips.prevCentury),r.eq(2).find("span").attr("title",this._options.tooltips.nextCentury),i.find(".disabled").removeClass("disabled"),(0===s.year()||this._options.minDate&&this._options.minDate.isAfter(s,"y"))&&r.eq(0).addClass("disabled"),r.eq(1).text(s.year()+"-"+o.year()),this._options.maxDate&&this._options.maxDate.isBefore(o,"y")&&r.eq(2).addClass("disabled"),s.year()-10<0?d+=" ":d+=''+(s.year()-10)+" ";!s.isAfter(o,"y");)n=s.year()+11,e=this._options.minDate&&this._options.minDate.isAfter(s,"y")&&this._options.minDate.year()<=n,t=this._options.maxDate&&this._options.maxDate.isAfter(s,"y")&&this._options.maxDate.year()<=n,d+=''+s.year()+" ",s.add(10,"y");d+=''+s.year()+" ",i.find("td").html(d)},t._fillDate=function(){l.prototype._fillDate.call(this);var e,t,n,i,r,a=this.widget.find(".datepicker-days"),s=a.find("th"),o=[];if(this._hasDate()){for(s.eq(0).find("span").attr("title",this._options.tooltips.prevMonth),s.eq(1).attr("title",this._options.tooltips.selectMonth),s.eq(2).find("span").attr("title",this._options.tooltips.nextMonth),a.find(".disabled").removeClass("disabled"),s.eq(1).text(this._viewDate.format(this._options.dayViewHeaderFormat)),this._isValid(this._viewDate.clone().subtract(1,"M"),"M")||s.eq(0).addClass("disabled"),this._isValid(this._viewDate.clone().add(1,"M"),"M")||s.eq(2).addClass("disabled"),e=this._viewDate.clone().startOf("M").startOf("w").startOf("d"),i=0;i<42;i++)0===e.weekday()&&(t=w(""),this._options.calendarWeeks&&t.append(''+e.week()+" "),o.push(t)),n="",e.isBefore(this._viewDate,"M")&&(n+=" old"),e.isAfter(this._viewDate,"M")&&(n+=" new"),this._options.allowMultidate?-1!==(r=this._datesFormatted.indexOf(e.format("YYYY-MM-DD")))&&e.isSame(this._datesFormatted[r],"d")&&!this.unset&&(n+=" active"):e.isSame(this._getLastPickedDate(),"d")&&!this.unset&&(n+=" active"),this._isValid(e,"d")||(n+=" disabled"),e.isSame(this.getMoment(),"d")&&(n+=" today"),0!==e.day()&&6!==e.day()||(n+=" weekend"),t.append(''+e.date()+" "),e.add(1,"d");w("body").addClass("tempusdominus-bootstrap-datetimepicker-widget-day-click"),w("body").append('
'),a.find("tbody").empty().append(o),w("body").find(".tempusdominus-bootstrap-datetimepicker-widget-day-click-glass-panel").remove(),w("body").removeClass("tempusdominus-bootstrap-datetimepicker-widget-day-click"),this._updateMonths(),this._updateYears(),this._updateDecades()}},t._fillHours=function(){var e=this.widget.find(".timepicker-hours table"),t=this._viewDate.clone().startOf("d"),n=[],i=w(" ");for(11"),n.push(i)),i.append(''+t.format(this.use24Hours?"HH":"hh")+" "),t.add(1,"h");e.empty().append(n)},t._fillMinutes=function(){for(var e=this.widget.find(".timepicker-minutes table"),t=this._viewDate.clone().startOf("h"),n=[],i=1===this._options.stepping?5:this._options.stepping,r=w("");this._viewDate.isSame(t,"h");)t.minute()%(4*i)==0&&(r=w(" "),n.push(r)),r.append(''+t.format("mm")+" "),t.add(i,"m");e.empty().append(n)},t._fillSeconds=function(){for(var e=this.widget.find(".timepicker-seconds table"),t=this._viewDate.clone().startOf("m"),n=[],i=w(" ");this._viewDate.isSame(t,"m");)t.second()%20==0&&(i=w(" "),n.push(i)),i.append(''+t.format("ss")+" "),t.add(5,"s");e.empty().append(n)},t._fillTime=function(){var e,t,n=this.widget.find(".timepicker span[data-time-component]"),i=this._getLastPickedDate();this.use24Hours||(e=this.widget.find(".timepicker [data-action=togglePeriod]"),t=i?i.clone().add(12<=i.hours()?-12:12,"h"):void 0,i&&e.text(i.format("A")),this._isValid(t,"h")?e.removeClass("disabled"):e.addClass("disabled")),i&&n.filter("[data-time-component=hours]").text(i.format(this.use24Hours?"HH":"hh")),i&&n.filter("[data-time-component=minutes]").text(i.format("mm")),i&&n.filter("[data-time-component=seconds]").text(i.format("ss")),this._fillHours(),this._fillMinutes(),this._fillSeconds()},t._doAction=function(e,t){var n=this._getLastPickedDate();if(w(e.currentTarget).is(".disabled"))return!1;switch(t=t||w(e.currentTarget).data("action")){case"next":var i=D.DatePickerModes[this.currentViewMode].NAV_FUNCTION;this._viewDate.add(D.DatePickerModes[this.currentViewMode].NAV_STEP,i),this._fillDate(),this._viewUpdate(i);break;case"previous":i=D.DatePickerModes[this.currentViewMode].NAV_FUNCTION;this._viewDate.subtract(D.DatePickerModes[this.currentViewMode].NAV_STEP,i),this._fillDate(),this._viewUpdate(i);break;case"pickerSwitch":this._showMode(1);break;case"selectMonth":var r=w(e.target).closest("tbody").find("span").index(w(e.target));this._viewDate.month(r),this.currentViewMode===this.MinViewModeNumber?(this._setValue(n.clone().year(this._viewDate.year()).month(this._viewDate.month()),this._getLastPickedDateIndex()),this._options.inline||this.hide()):(this._showMode(-1),this._fillDate()),this._viewUpdate("M");break;case"selectYear":r=parseInt(w(e.target).text(),10)||0;this._viewDate.year(r),this.currentViewMode===this.MinViewModeNumber?(this._setValue(n.clone().year(this._viewDate.year()),this._getLastPickedDateIndex()),this._options.inline||this.hide()):(this._showMode(-1),this._fillDate()),this._viewUpdate("YYYY");break;case"selectDecade":var a=parseInt(w(e.target).data("selection"),10)||0;this._viewDate.year(a),this.currentViewMode===this.MinViewModeNumber?(this._setValue(n.clone().year(this._viewDate.year()),this._getLastPickedDateIndex()),this._options.inline||this.hide()):(this._showMode(-1),this._fillDate()),this._viewUpdate("YYYY");break;case"selectDay":a=this._viewDate.clone();w(e.target).is(".old")&&a.subtract(1,"M"),w(e.target).is(".new")&&a.add(1,"M");var s=a.date(parseInt(w(e.target).text(),10)),a=0;this._options.allowMultidate?-1!==(a=this._datesFormatted.indexOf(s.format("YYYY-MM-DD")))?this._setValue(null,a):this._setValue(s,this._getLastPickedDateIndex()+1):this._setValue(s,this._getLastPickedDateIndex()),this._hasTime()||this._options.keepOpen||this._options.inline||this._options.allowMultidate||this.hide();break;case"incrementHours":if(!n)break;s=n.clone().add(1,"h");this._isValid(s,"h")&&(this._getLastPickedDateIndex()<0&&this.date(s),this._setValue(s,this._getLastPickedDateIndex()));break;case"incrementMinutes":if(!n)break;var o=n.clone().add(this._options.stepping,"m");this._isValid(o,"m")&&(this._getLastPickedDateIndex()<0&&this.date(o),this._setValue(o,this._getLastPickedDateIndex()));break;case"incrementSeconds":if(!n)break;var l=n.clone().add(1,"s");this._isValid(l,"s")&&(this._getLastPickedDateIndex()<0&&this.date(l),this._setValue(l,this._getLastPickedDateIndex()));break;case"decrementHours":if(!n)break;var d=n.clone().subtract(1,"h");this._isValid(d,"h")&&(this._getLastPickedDateIndex()<0&&this.date(d),this._setValue(d,this._getLastPickedDateIndex()));break;case"decrementMinutes":if(!n)break;var u=n.clone().subtract(this._options.stepping,"m");this._isValid(u,"m")&&(this._getLastPickedDateIndex()<0&&this.date(u),this._setValue(u,this._getLastPickedDateIndex()));break;case"decrementSeconds":if(!n)break;var c=n.clone().subtract(1,"s");this._isValid(c,"s")&&(this._getLastPickedDateIndex()<0&&this.date(c),this._setValue(c,this._getLastPickedDateIndex()));break;case"togglePeriod":this._setValue(n.clone().add(12<=n.hours()?-12:12,"h"),this._getLastPickedDateIndex());break;case"togglePicker":o=w(e.target),l=o.closest("a"),d=o.closest("ul"),u=d.find(".show"),c=d.find(".collapse:not(.show)"),d=o.is("span")?o:o.find("span");if(u&&u.length){if((o=u.data("collapse"))&&o.transitioning)return!0;u.collapse?(u.collapse("hide"),c.collapse("show")):(u.removeClass("show"),c.addClass("show")),this._useFeatherIcons()?(l.toggleClass(this._options.icons.time+" "+this._options.icons.date),c=l.hasClass(this._options.icons.time)?this._options.icons.date:this._options.icons.time,l.html(this._iconTag(c))):d.toggleClass(this._options.icons.time+" "+this._options.icons.date),(this._useFeatherIcons()?l:d).hasClass(this._options.icons.date)?l.attr("title",this._options.tooltips.selectDate):l.attr("title",this._options.tooltips.selectTime)}break;case"showPicker":this.widget.find(".timepicker > div:not(.timepicker-picker)").hide(),this.widget.find(".timepicker .timepicker-picker").show();break;case"showHours":this.widget.find(".timepicker .timepicker-picker").hide(),this.widget.find(".timepicker .timepicker-hours").show();break;case"showMinutes":this.widget.find(".timepicker .timepicker-picker").hide(),this.widget.find(".timepicker .timepicker-minutes").show();break;case"showSeconds":this.widget.find(".timepicker .timepicker-picker").hide(),this.widget.find(".timepicker .timepicker-seconds").show();break;case"selectHour":var h=parseInt(w(e.target).text(),10);this.use24Hours||(12<=n.hours()?12!==h&&(h+=12):12===h&&(h=0)),this._setValue(n.clone().hours(h),this._getLastPickedDateIndex()),this._isEnabled("a")||this._isEnabled("m")||this._options.keepOpen||this._options.inline?this._doAction(e,"showPicker"):this.hide();break;case"selectMinute":this._setValue(n.clone().minutes(parseInt(w(e.target).text(),10)),this._getLastPickedDateIndex()),this._isEnabled("a")||this._isEnabled("s")||this._options.keepOpen||this._options.inline?this._doAction(e,"showPicker"):this.hide();break;case"selectSecond":this._setValue(n.clone().seconds(parseInt(w(e.target).text(),10)),this._getLastPickedDateIndex()),this._isEnabled("a")||this._options.keepOpen||this._options.inline?this._doAction(e,"showPicker"):this.hide();break;case"clear":this.clear();break;case"close":this.hide();break;case"today":h=this.getMoment();this._isValid(h,"d")&&this._setValue(h,this._getLastPickedDateIndex())}return!1},t.hide=function(){var e,t=!1;this.widget&&(this.widget.find(".collapse").each(function(){var e=w(this).data("collapse");return!e||!e.transitioning||!(t=!0)}),t||(this.component&&this.component.hasClass("btn")&&this.component.toggleClass("active"),this.widget.hide(),w(window).off("resize",this._place),this.widget.off("click","[data-action]"),this.widget.off("mousedown",!1),this.widget.remove(),this.widget=!1,void 0!==this.input&&void 0!==this.input.val()&&0!==this.input.val().trim().length&&this._setValue(this._parseInputDate(this.input.val().trim(),{isPickerShow:!1}),0),e=this._getLastPickedDate(),this._notifyEvent({type:D.Event.HIDE,date:this.unset?null:e?e.clone():void 0}),void 0!==this.input&&this.input.blur(),this._viewDate=e?e.clone():this.getMoment()))},t.show=function(){var e=!1;if(void 0!==this.input){if(this.input.prop("disabled")||!this._options.ignoreReadonly&&this.input.prop("readonly")||this.widget)return;void 0!==this.input.val()&&0!==this.input.val().trim().length?this._setValue(this._parseInputDate(this.input.val().trim(),{isPickerShow:!0}),0):e=!0}else e=!0;e&&this.unset&&this._options.useCurrent&&(e=this.getMoment(),"string"==typeof this._options.useCurrent&&(e={year:function(e){return e.month(0).date(1).hours(0).seconds(0).minutes(0)},month:function(e){return e.date(1).hours(0).seconds(0).minutes(0)},day:function(e){return e.hours(0).seconds(0).minutes(0)},hour:function(e){return e.seconds(0).minutes(0)},minute:function(e){return e.seconds(0)}}[this._options.useCurrent](e)),this._setValue(e,0)),this.widget=this._getTemplate(),this._fillDow(),this._fillMonths(),this.widget.find(".timepicker-hours").hide(),this.widget.find(".timepicker-minutes").hide(),this.widget.find(".timepicker-seconds").hide(),this._update(),this._showMode(),w(window).on("resize",{picker:this},this._place),this.widget.on("click","[data-action]",w.proxy(this._doAction,this)),this.widget.on("mousedown",!1),this.component&&this.component.hasClass("btn")&&this.component.toggleClass("active"),this._place(),this.widget.show(),void 0!==this.input&&this._options.focusOnShow&&!this.input.is(":focus")&&this.input.focus(),this._notifyEvent({type:D.Event.SHOW})},t.destroy=function(){this.hide(),this._element.removeData(D.DATA_KEY),this._element.removeData("date")},t.disable=function(){this.hide(),this.component&&this.component.hasClass("btn")&&this.component.addClass("disabled"),void 0!==this.input&&this.input.prop("disabled",!0)},t.enable=function(){this.component&&this.component.hasClass("btn")&&this.component.removeClass("disabled"),void 0!==this.input&&this.input.prop("disabled",!1)},t.toolbarPlacement=function(e){if(0===arguments.length)return this._options.toolbarPlacement;if("string"!=typeof e)throw new TypeError("toolbarPlacement() expects a string parameter");if(-1===M.indexOf(e))throw new TypeError("toolbarPlacement() parameter must be one of ("+M.join(", ")+") value");this._options.toolbarPlacement=e,this.widget&&(this.hide(),this.show())},t.widgetPositioning=function(e){if(0===arguments.length)return w.extend({},this._options.widgetPositioning);if("[object Object]"!=={}.toString.call(e))throw new TypeError("widgetPositioning() expects an object variable");if(e.horizontal){if("string"!=typeof e.horizontal)throw new TypeError("widgetPositioning() horizontal variable must be a string");if(e.horizontal=e.horizontal.toLowerCase(),-1===b.indexOf(e.horizontal))throw new TypeError("widgetPositioning() expects horizontal parameter to be one of ("+b.join(", ")+")");this._options.widgetPositioning.horizontal=e.horizontal}if(e.vertical){if("string"!=typeof e.vertical)throw new TypeError("widgetPositioning() vertical variable must be a string");if(e.vertical=e.vertical.toLowerCase(),-1===u.indexOf(e.vertical))throw new TypeError("widgetPositioning() expects vertical parameter to be one of ("+u.join(", ")+")");this._options.widgetPositioning.vertical=e.vertical}this._update()},t.widgetParent=function(e){if(0===arguments.length)return this._options.widgetParent;if("string"==typeof e&&(e=w(e)),null!==e&&"string"!=typeof e&&!(e instanceof w))throw new TypeError("widgetParent() expects a string or a jQuery object parameter");this._options.widgetParent=e,this.widget&&(this.hide(),this.show())},t.setMultiDate=function(e){var t=this._options.format;this.clear();for(var n=0;nu[0]&&(u[1]+1>u[0]&&i.push("-"),i.push(h(u[1])))}return i.push("]"),i.join("")}(o):"\\"!==l&&(t[r]=o.replace(/[a-zA-Z]/g,function(e){e=e.charCodeAt(0);return"["+String.fromCharCode(-33&e,32|e)+"]"}))}return t.join("")}for(var s,o=[],n=0,i=e.length;n/,null])):t.push([h,/^#[^\r\n]*/,null,"#"])),e.cStyleComments&&(n.push([h,/^\/\/[^\r\n]*/,null]),n.push([h,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));i=e.regexLiterals;i&&(r="/(?=[^/*"+(i=1|\\/=?|::?|<=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*("+r+")")]));var r=e.types;r&&n.push(["typ",r]);r=(""+e.keywords).replace(/^ | $/g,"");r.length&&n.push(["kwd",new RegExp("^(?:"+r.replace(/[\s,]+/g,"|")+")\\b"),null]),t.push([L,/^\s+/,null," \r\n\t "]);r="^.[^\\s\\w.$@'\"`/\\\\]*";return e.regexLiterals&&(r+="(?!s*/)"),n.push(["lit",/^@[a-z_$][a-z_$@0-9]*/i,null],["typ",/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[L,/^[a-z_$][a-z_$@0-9]*/i,null],["lit",new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[L,/^\\[\s\S]?/,null],["pun",new RegExp(r),null]),m(t,n)}function S(e,t,s){for(var o=/(?:^|\s)nocode(?:\s|$)/,l=/\r\n?|\n/,d=e.ownerDocument,n=d.createElement("li");e.firstChild;)n.appendChild(e.firstChild);var i=[n];function u(e){for(;!e.nextSibling;)if(!(e=e.parentNode))return;for(var t,n=function e(t,n){var i=n?t.cloneNode(!1):t,n=t.parentNode;if(n){var r=e(n,1),a=t.nextSibling;r.appendChild(i);for(var s=a;s;s=a)a=s.nextSibling,r.appendChild(s)}return i}(e.nextSibling,0);(t=n.parentNode)&&1===t.nodeType;)n=t;i.push(n)}for(var r=0;r",i=i.firstChild,n&&S(i,n,!0),H({langExtension:t,numberLines:n,sourceNode:i,pre:1}),i.innerHTML}function w(m,e){var t=e||document.body,_=t.ownerDocument||document;function n(e){return t.getElementsByTagName(e)}for(var i=[n("pre"),n("code"),n("xmp")],g=[],r=0;r]*(?:>|$)/],[h,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^