if("undefined"==typeof jQuery)throw new Error("AdminLTE requires jQuery");!function(t){"use strict";function e(e,i){if(this.element=e,this.options=i,this.$overlay=t(i.overlayTemplate),""===i.source)throw new Error("Source url was not defined. Please specify a url in your BoxRefresh source option.");this._setUpListeners(),this.load()}function i(i){return this.each(function(){var o=t(this),r=o.data(n);if(!r){var s=t.extend({},a,o.data(),"object"==typeof i&&i);o.data(n,r=new e(o,s))}if("string"==typeof r){if(void 0===r[i])throw new Error("No method named "+i);r[i]()}})}var n="lte.boxrefresh",a={source:"",params:{},trigger:".refresh-btn",content:".box-body",loadInContent:!0,responseType:"",overlayTemplate:'
',onLoadStart:function(){},onLoadDone:function(t){return t}};e.prototype.load=function(){this._addOverlay(),this.options.onLoadStart.call(t(this)),t.get(this.options.source,this.options.params,function(e){this.options.loadInContent&&t(this.element).find(this.options.content).html(e),this.options.onLoadDone.call(t(this),e),this._removeOverlay()}.bind(this),""!==this.options.responseType&&this.options.responseType)},e.prototype._setUpListeners=function(){t(this.element).on("click",this.options.trigger,function(t){t&&t.preventDefault(),this.load()}.bind(this))},e.prototype._addOverlay=function(){t(this.element).append(this.$overlay)},e.prototype._removeOverlay=function(){t(this.$overlay).remove()};var o=t.fn.boxRefresh;t.fn.boxRefresh=i,t.fn.boxRefresh.Constructor=e,t.fn.boxRefresh.noConflict=function(){return t.fn.boxRefresh=o,this},t(window).on("load",function(){t('[data-widget="box-refresh"]').each(function(){i.call(t(this))})})}(jQuery),function(t){"use strict";function e(t,e){this.element=t,this.options=e,this._setUpListeners()}function i(i){return this.each(function(){var o=t(this),r=o.data(n);if(!r){var s=t.extend({},a,o.data(),"object"==typeof i&&i);o.data(n,r=new e(o,s))}if("string"==typeof i){if(void 0===r[i])throw new Error("No method named "+i);r[i]()}})}var n="lte.boxwidget",a={animationSpeed:500,collapseTrigger:'[data-widget="collapse"]',removeTrigger:'[data-widget="remove"]',collapseIcon:"fa-minus",expandIcon:"fa-plus",removeIcon:"fa-times"},o=".box-header",r=".box-body",s=".box-footer",l=".box-tools",d="collapsed-box";e.prototype.toggle=function(){t(this.element).is(".collapsed-box")?this.expand():this.collapse()},e.prototype.expand=function(){var e=t.Event("expanded.boxwidget"),i=t.Event("expanding.boxwidget"),n=this.options.collapseIcon,a=this.options.expandIcon;t(this.element).removeClass(d),t(this.element).children(o+", "+r+", "+s).children(l).find("."+a).removeClass(a).addClass(n),t(this.element).children(r+", "+s).slideDown(this.options.animationSpeed,function(){t(this.element).trigger(e)}.bind(this)).trigger(i)},e.prototype.collapse=function(){var e=t.Event("collapsed.boxwidget"),i=t.Event("collapsing.boxwidget"),n=this.options.collapseIcon,a=this.options.expandIcon;t(this.element).children(o+", "+r+", "+s).children(l).find("."+n).removeClass(n).addClass(a),t(this.element).children(r+", "+s).slideUp(this.options.animationSpeed,function(){t(this.element).addClass(d),t(this.element).trigger(e)}.bind(this)).trigger(i)},e.prototype.remove=function(){var e=t.Event("removed.boxwidget"),i=t.Event("removing.boxwidget");t(this.element).slideUp(this.options.animationSpeed,function(){t(this.element).trigger(e),t(this.element).remove()}.bind(this)).trigger(i)},e.prototype._setUpListeners=function(){var e=this;t(this.element).on("click",this.options.collapseTrigger,function(i){return i&&i.preventDefault(),e.toggle(t(this)),!1}),t(this.element).on("click",this.options.removeTrigger,function(i){return i&&i.preventDefault(),e.remove(t(this)),!1})};var h=t.fn.boxWidget;t.fn.boxWidget=i,t.fn.boxWidget.Constructor=e,t.fn.boxWidget.noConflict=function(){return t.fn.boxWidget=h,this},t(window).on("load",function(){t(".box").each(function(){i.call(t(this))})})}(jQuery),function(t){"use strict";function e(t,e){this.element=t,this.options=e,this.hasBindedResize=!1,this.init()}function i(i){return this.each(function(){var o=t(this),r=o.data(n);if(!r){var s=t.extend({},a,o.data(),"object"==typeof i&&i);o.data(n,r=new e(o,s))}"string"==typeof i&&r.toggle()})}var n="lte.controlsidebar",a={controlsidebarSlide:!0},o=".control-sidebar",r='[data-toggle="control-sidebar"]',s=".control-sidebar-open",l="control-sidebar-open",d="control-sidebar-hold-transition";e.prototype.init=function(){t(this.element).is(r)||t(this).on("click",this.toggle),this.fix(),t(window).resize(function(){this.fix()}.bind(this))},e.prototype.toggle=function(e){e&&e.preventDefault(),this.fix(),t(o).is(s)||t("body").is(s)?this.collapse():this.expand()},e.prototype.expand=function(){t(o).show(),this.options.controlsidebarSlide?t(o).addClass(l):t("body").addClass(d).addClass(l).delay(50).queue(function(){t("body").removeClass(d),t(this).dequeue()}),t(this.element).trigger(t.Event("expanded.controlsidebar"))},e.prototype.collapse=function(){this.options.controlsidebarSlide?t(o).removeClass(l):t("body").addClass(d).removeClass(l).delay(50).queue(function(){t("body").removeClass(d),t(this).dequeue()}),t(o).fadeOut(),t(this.element).trigger(t.Event("collapsed.controlsidebar"))},e.prototype.fix=function(){t("body").is(".layout-boxed")&&this._fixForBoxed(t(".control-sidebar-bg"))},e.prototype._fixForBoxed=function(e){e.css({position:"absolute",height:t(".wrapper").height()})};var h=t.fn.controlSidebar;t.fn.controlSidebar=i,t.fn.controlSidebar.Constructor=e,t.fn.controlSidebar.noConflict=function(){return t.fn.controlSidebar=h,this},t(document).on("click",r,function(e){e&&e.preventDefault(),i.call(t(this),"toggle")})}(jQuery),function(t){"use strict";function e(t){this.element=t}function i(i){return this.each(function(){var a=t(this),o=a.data(n);o||a.data(n,o=new e(a)),"string"==typeof i&&o.toggle(a)})}var n="lte.directchat";e.prototype.toggle=function(t){t.parents(".direct-chat").first().toggleClass("direct-chat-contacts-open")};var a=t.fn.directChat;t.fn.directChat=i,t.fn.directChat.Constructor=e,t.fn.directChat.noConflict=function(){return t.fn.directChat=a,this},t(document).on("click",'[data-widget="chat-pane-toggle"]',function(e){e&&e.preventDefault(),i.call(t(this),"toggle")})}(jQuery),function(t){"use strict";function e(t){this.options=t,this.init()}function i(i){return this.each(function(){var o=t(this),r=o.data(n);if(!r){var s=t.extend({},a,o.data(),"object"==typeof i&&i);o.data(n,r=new e(s))}"toggle"===i&&r.toggle()})}var n="lte.pushmenu",a={collapseScreenSize:767,expandOnHover:!1,expandTransitionDelay:200},o='[data-toggle="push-menu"]',r=".sidebar-mini",s="sidebar-collapse",l="sidebar-open",d="sidebar-expanded-on-hover",h="expanded.pushMenu",u="collapsed.pushMenu";e.prototype.init=function(){(this.options.expandOnHover||t("body").is(r+".fixed"))&&(this.expandOnHover(),t("body").addClass("sidebar-mini-expand-feature")),t(".content-wrapper").click(function(){t(window).width()<=this.options.collapseScreenSize&&t("body").hasClass(l)&&this.close()}.bind(this)),t(".sidebar-form .form-control").click(function(t){t.stopPropagation()})},e.prototype.toggle=function(){var e=t(window).width(),i=!t("body").hasClass(s);e<=this.options.collapseScreenSize&&(i=t("body").hasClass(l)),i?this.close():this.open()},e.prototype.open=function(){t(window).width()>this.options.collapseScreenSize?t("body").removeClass(s).trigger(t.Event(h)):t("body").addClass(l).trigger(t.Event(h))},e.prototype.close=function(){t(window).width()>this.options.collapseScreenSize?t("body").addClass(s).trigger(t.Event(u)):t("body").removeClass(l+" "+s).trigger(t.Event(u))},e.prototype.expandOnHover=function(){t(".main-sidebar").hover(function(){t("body").is(r+".sidebar-collapse")&&t(window).width()>this.options.collapseScreenSize&&this.expand()}.bind(this),function(){t("body").is(".sidebar-expanded-on-hover")&&this.collapse()}.bind(this))},e.prototype.expand=function(){setTimeout(function(){t("body").removeClass(s).addClass(d)},this.options.expandTransitionDelay)},e.prototype.collapse=function(){setTimeout(function(){t("body").removeClass(d).addClass(s)},this.options.expandTransitionDelay)};var c=t.fn.pushMenu;t.fn.pushMenu=i,t.fn.pushMenu.Constructor=e,t.fn.pushMenu.noConflict=function(){return t.fn.pushMenu=c,this},t(document).on("click",o,function(e){e.preventDefault(),i.call(t(this),"toggle")}),t(window).on("load",function(){i.call(t(o))})}(jQuery),function(t){"use strict";function e(t,e){this.element=t,this.options=e,this._setUpListeners()}function i(i){return this.each(function(){var o=t(this),r=o.data(n);if(!r){var s=t.extend({},a,o.data(),"object"==typeof i&&i);o.data(n,r=new e(o,s))}if("string"==typeof r){if(void 0===r[i])throw new Error("No method named "+i);r[i]()}})}var n="lte.todolist",a={onCheck:function(t){return t},onUnCheck:function(t){return t}},o={data:'[data-widget="todo-list"]'};e.prototype.toggle=function(t){t.parents(o.li).first().toggleClass("done"),t.prop("checked")?this.check(t):this.unCheck(t)},e.prototype.check=function(t){this.options.onCheck.call(t)},e.prototype.unCheck=function(t){this.options.onUnCheck.call(t)},e.prototype._setUpListeners=function(){var e=this;t(this.element).on("change ifChanged","input:checkbox",function(){e.toggle(t(this))})};var r=t.fn.todoList;t.fn.todoList=i,t.fn.todoList.Constructor=e,t.fn.todoList.noConflict=function(){return t.fn.todoList=r,this},t(window).on("load",function(){t(o.data).each(function(){i.call(t(this))})})}(jQuery),function(t){"use strict";function e(e,i){this.element=e,this.options=i,t(this.element).addClass(d),t(o+s,this.element).addClass(l),this._setUpListeners()}function i(i){return this.each(function(){var o=t(this);if(!o.data(n)){var r=t.extend({},a,o.data(),"object"==typeof i&&i);o.data(n,new e(o,r))}})}var n="lte.tree",a={animationSpeed:500,accordion:!0,followLink:!1,trigger:".treeview a"},o=".treeview",r=".treeview-menu",s=".active",l="menu-open",d="tree";e.prototype.toggle=function(t,e){var i=t.next(r),n=t.parent(),a=n.hasClass(l);n.is(o)&&(this.options.followLink&&"#"!==t.attr("href")||e.preventDefault(),a?this.collapse(i,n):this.expand(i,n))},e.prototype.expand=function(e,i){var n=t.Event("expanded.tree");if(this.options.accordion){var a=i.siblings(".menu-open, .active"),o=a.children(r);this.collapse(o,a)}i.addClass(l),e.stop().slideDown(this.options.animationSpeed,function(){t(this.element).trigger(n),i.height("auto")}.bind(this))},e.prototype.collapse=function(e,i){var n=t.Event("collapsed.tree");i.removeClass(l),e.stop().slideUp(this.options.animationSpeed,function(){t(this.element).trigger(n),i.find(o).removeClass(l).find(r).hide()}.bind(this))},e.prototype._setUpListeners=function(){var e=this;t(this.element).on("click",this.options.trigger,function(i){e.toggle(t(this),i)})};var h=t.fn.tree;t.fn.tree=i,t.fn.tree.Constructor=e,t.fn.tree.noConflict=function(){return t.fn.tree=h,this},t(window).on("load",function(){t('[data-widget="tree"]').each(function(){i.call(t(this))})})}(jQuery),function(t){"use strict";function e(t){this.options=t,this.bindedResize=!1,this.activate()}function i(i){return this.each(function(){var o=t(this),r=o.data(n);if(!r){var s=t.extend({},a,o.data(),"object"==typeof i&&i);o.data(n,r=new e(s))}if("string"==typeof i){if(void 0===r[i])throw new Error("No method named "+i);r[i]()}})}var n="lte.layout",a={slimscroll:!0,resetHeight:!0},o=".wrapper",r=".content-wrapper",s=".main-header",l=".sidebar",d=".sidebar-menu",h="fixed";e.prototype.activate=function(){this.fix(),this.fixSidebar(),t("body").removeClass("hold-transition"),this.options.resetHeight&&t("body, html, "+o).css({height:"auto","min-height":"100%"}),this.bindedResize||(t(window).resize(function(){this.fix(),this.fixSidebar(),t(".main-header .logo, "+l).one("webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend",function(){this.fix(),this.fixSidebar()}.bind(this))}.bind(this)),this.bindedResize=!0),t(d).on("expanded.tree",function(){this.fix(),this.fixSidebar()}.bind(this)),t(d).on("collapsed.tree",function(){this.fix(),this.fixSidebar()}.bind(this))},e.prototype.fix=function(){t(".layout-boxed > "+o).css("overflow","hidden");var e=t(".main-footer").outerHeight()||0,i=t(s).outerHeight()||0,n=i+e,a=t(window).height(),d=t(l).outerHeight()||0;if(t("body").hasClass(h))t(r).css("min-height",a-e);else{var u;u=d+i<=a?(t(r).css("min-height",a-n),a-n):(t(r).css("min-height",d),d);var c=t(".control-sidebar");void 0!==c&&c.height()>u&&t(r).css("min-height",c.height())}},e.prototype.fixSidebar=function(){t("body").hasClass(h)?this.options.slimscroll&&void 0!==t.fn.slimScroll&&0===t(".main-sidebar").find("slimScrollDiv").length&&t(l).slimScroll({height:t(window).height()-t(s).height()+"px"}):void 0!==t.fn.slimScroll&&t(l).slimScroll({destroy:!0}).height("auto")};var u=t.fn.layout;t.fn.layout=i,t.fn.layout.Constuctor=e,t.fn.layout.noConflict=function(){return t.fn.layout=u,this},t(window).on("load",function(){i.call(t("body"))})}(jQuery),function(t,e){"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?module.exports=e():t.Tether=e()}(this,function(){"use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t){var i=t.getBoundingClientRect(),n={};for(var a in i)n[a]=i[a];try{if(t.ownerDocument!==document){var o=t.ownerDocument.defaultView.frameElement;if(o){var r=e(o);n.top+=r.top,n.bottom+=r.top,n.left+=r.left,n.right+=r.left}}}catch(t){}return n}function i(t){var e=getComputedStyle(t)||{},i=e.position,n=[];if("fixed"===i)return[t];for(var a=t;(a=a.parentNode)&&a&&1===a.nodeType;){var o=void 0;try{o=getComputedStyle(a)}catch(t){}if(void 0===o||null===o)return n.push(a),n;var r=o,s=r.overflow,l=r.overflowX;/(auto|scroll|overlay)/.test(s+r.overflowY+l)&&("absolute"!==i||["relative","absolute","fixed"].indexOf(o.position)>=0)&&n.push(a)}return n.push(t.ownerDocument.body),t.ownerDocument!==document&&n.push(t.ownerDocument.defaultView),n}function n(){w&&document.body.removeChild(w),w=null}function a(t){var i=void 0;t===document?(i=document,t=document.documentElement):i=t.ownerDocument;var n=i.documentElement,a=e(t),o=M();return a.top-=o.top,a.left-=o.left,void 0===a.width&&(a.width=document.body.scrollWidth-a.left-a.right),void 0===a.height&&(a.height=document.body.scrollHeight-a.top-a.bottom),a.top=a.top-n.clientTop,a.left=a.left-n.clientLeft,a.right=i.body.clientWidth-a.width-a.left,a.bottom=i.body.clientHeight-a.height-a.top,a}function o(t){return t.offsetParent||document.documentElement}function r(){if(D)return D;var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var e=document.createElement("div");s(e.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),e.appendChild(t),document.body.appendChild(e);var i=t.offsetWidth;e.style.overflow="scroll";var n=t.offsetWidth;i===n&&(n=e.clientWidth),document.body.removeChild(e);var a=i-n;return D={width:a,height:a}}function s(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],e=[];return Array.prototype.push.apply(e,arguments),e.slice(1).forEach(function(e){if(e)for(var i in e)({}).hasOwnProperty.call(e,i)&&(t[i]=e[i])}),t}function l(t,e){if(void 0!==t.classList)e.split(" ").forEach(function(e){e.trim()&&t.classList.remove(e)});else{var i=new RegExp("(^| )"+e.split(" ").join("|")+"( |$)","gi"),n=u(t).replace(i," ");c(t,n)}}function d(t,e){if(void 0!==t.classList)e.split(" ").forEach(function(e){e.trim()&&t.classList.add(e)});else{l(t,e);var i=u(t)+" "+e;c(t,i)}}function h(t,e){if(void 0!==t.classList)return t.classList.contains(e);var i=u(t);return new RegExp("(^| )"+e+"( |$)","gi").test(i)}function u(t){return t.className instanceof t.ownerDocument.defaultView.SVGAnimatedString?t.className.baseVal:t.className}function c(t,e){t.setAttribute("class",e)}function f(t,e,i){i.forEach(function(i){-1===e.indexOf(i)&&h(t,i)&&l(t,i)}),e.forEach(function(e){h(t,e)||d(t,e)})}function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function g(t,e){var i=arguments.length<=2||void 0===arguments[2]?1:arguments[2];return t+i>=e&&e>=t-i}function m(){return"object"==typeof performance&&"function"==typeof performance.now?performance.now():+new Date}function v(){for(var t={top:0,left:0},e=arguments.length,i=Array(e),n=0;n