text: function _init(){$.AdminLTE.layout={activate:function(){var e=this;e.fix(),e.fixSidebar(),$(window,".wrapper").resize(function(){e.fix(),e.fixSidebar()})},fix:function(){var e=$(".main-header").outerHeight()+$(".main-footer").outerHeight(),t=$(window).height(),i=$(".sidebar").height();$("body").hasClass("fixed")?$(".content-wrapper, .right-side").css("min-height",t-$(".main-footer").outerHeight()):t>=i?$(".content-wrapper, .right-side").css("min-height",t-e):$(".content-wrapper, .right-side").css("min-height",i)},fixSidebar:function(){return $("body").hasClass("fixed")?("undefined"==typeof $.fn.slimScroll&&console&&console.error("Error: the fixed layout requires the slimscroll plugin!"),void($.AdminLTE.options.sidebarSlimScroll&&"undefined"!=typeof $.fn.slimScroll&&($(".sidebar").slimScroll({destroy:!0}).height("auto"),$(".sidebar").slimscroll({height:$(window).height()-$(".main-header").height()+"px",color:"rgba(0,0,0,0.2)",size:"3px"})))):void("undefined"!=typeof $.fn.slimScroll&&$(".sidebar").slimScroll({destroy:!0}).height("auto"))}},$.AdminLTE.pushMenu=function(e){var t=this.options.screenSizes;$(e).click(function(e){e.preventDefault(),$(window).width()>t.sm-1?$("body").toggleClass("sidebar-collapse"):$("body").hasClass("sidebar-open")?($("body").removeClass("sidebar-open"),$("body").removeClass("sidebar-collapse")):$("body").addClass("sidebar-open")}),$(".content-wrapper").click(function(){$(window).width()<=t.sm-1&&$("body").hasClass("sidebar-open")&&$("body").removeClass("sidebar-open")})},$.AdminLTE.tree=function(e){var t=this;$("li a",$(e)).click(function(e){var i=$(this),n=i.next();if(n.is(".treeview-menu")&&n.is(":visible"))n.slideUp("normal",function(){n.removeClass("menu-open")}),n.parent("li").removeClass("active");else if(n.is(".treeview-menu")&&!n.is(":visible")){var o=i.parents("ul").first(),s=o.find("ul:visible").slideUp("normal");s.removeClass("menu-open");var a=i.parent("li");n.slideDown("normal",function(){n.addClass("menu-open"),o.find("li.active").removeClass("active"),a.addClass("active"),t.layout.fix()})}n.is(".treeview-menu")&&e.preventDefault()})},$.AdminLTE.boxWidget={activate:function(){var e=$.AdminLTE.options,t=this;$(e.boxWidgetOptions.boxWidgetSelectors.collapse).click(function(e){e.preventDefault(),t.collapse($(this))}),$(e.boxWidgetOptions.boxWidgetSelectors.remove).click(function(e){e.preventDefault(),t.remove($(this))})},collapse:function(e){var t=e.parents(".box").first(),i=t.find(".box-body, .box-footer");t.hasClass("collapsed-box")?(e.children(".fa-plus").removeClass("fa-plus").addClass("fa-minus"),i.slideDown(300,function(){t.removeClass("collapsed-box")})):(e.children(".fa-minus").removeClass("fa-minus").addClass("fa-plus"),i.slideUp(300,function(){t.addClass("collapsed-box")}))},remove:function(e){var t=e.parents(".box").first();t.slideUp()},options:$.AdminLTE.options.boxWidgetOptions}}if(function(){for(var e,t=function(){},i=["assert","clear","count","debug","dir","dirxml","error","exception","group","groupCollapsed","groupEnd","info","log","markTimeline","profile","profileEnd","table","time","timeEnd","timeline","timelineEnd","timeStamp","trace","warn"],n=i.length,o=window.console=window.console||{};n--;)e=i[n],o[e]||(o[e]=t)}(),$(function(){$.ajaxSetup({headers:{"X-CSRF-TOKEN":$('meta[name="_token"]').attr("content")}}),$("[data-method]").append(function(){return"\n<form action='"+$(this).attr("href")+"' method='POST' name='delete_item' style='display:none'>\n   <input type='hidden' name='_method' value='"+$(this).attr("data-method")+"'>\n   <input type='hidden' name='_token' value='"+$('meta[name="_token"]').attr("content")+"'>\n</form>\n"}).removeAttr("href").attr("style","cursor:pointer;").attr("onclick",'$(this).find("form").submit();'),$("form[name=delete_item]").submit(function(){return confirm("Are you sure you want to delete this item?")}),$('[data-toggle="tooltip"]').tooltip(),$('[data-toggle="popover"]').popover(),$("body").on("click",function(e){$('[data-toggle="popover"]').each(function(){$(this).is(e.target)||0!==$(this).has(e.target).length||0!==$(".popover").has(e.target).length||$(this).popover("hide")})})}),"undefined"==typeof jQuery)throw new Error("AdminLTE requires jQuery");$.AdminLTE={},$.AdminLTE.options={navbarMenuSlimscroll:!0,navbarMenuSlimscrollWidth:"3px",navbarMenuHeight:"200px",sidebarToggleSelector:"[data-toggle='offcanvas']",sidebarPushMenu:!0,sidebarSlimScroll:!0,enableBoxRefresh:!0,enableBSToppltip:!0,BSTooltipSelector:"[data-toggle='tooltip']",enableFastclick:!0,enableBoxWidget:!0,boxWidgetOptions:{boxWidgetIcons:{collapse:"fa fa-minus",open:"fa fa-plus",remove:"fa fa-times"},boxWidgetSelectors:{remove:'[data-widget="remove"]',collapse:'[data-widget="collapse"]'}},directChat:{enable:!0,contactToggleSelector:'[data-widget="chat-pane-toggle"]'},colors:{lightBlue:"#3c8dbc",red:"#f56954",green:"#00a65a",aqua:"#00c0ef",yellow:"#f39c12",blue:"#0073b7",navy:"#001F3F",teal:"#39CCCC",olive:"#3D9970",lime:"#01FF70",orange:"#FF851B",fuchsia:"#F012BE",purple:"#8E24AA",maroon:"#D81B60",black:"#222222",gray:"#d2d6de"},screenSizes:{xs:480,sm:768,md:992,lg:1200}},$(function(){var e=$.AdminLTE.options;_init(),$.AdminLTE.layout.activate(),$.AdminLTE.tree(".sidebar"),e.navbarMenuSlimscroll&&"undefined"!=typeof $.fn.slimscroll&&$(".navbar .menu").slimscroll({height:"200px",alwaysVisible:!1,size:"3px"}).css("width","100%"),e.sidebarPushMenu&&$.AdminLTE.pushMenu(e.sidebarToggleSelector),e.enableBSToppltip&&$(e.BSTooltipSelector).tooltip(),e.enableBoxWidget&&$.AdminLTE.boxWidget.activate(),e.enableFastclick&&"undefined"!=typeof FastClick&&FastClick.attach(document.body),e.directChat.enable&&$(e.directChat.contactToggleSelector).click(function(){var e=$(this).parents(".direct-chat").first();e.toggleClass("direct-chat-contacts-open")}),$('.btn-group[data-toggle="btn-toggle"]').each(function(){var e=$(this);$(this).find(".btn").click(function(t){e.find(".btn.active").removeClass("active"),$(this).addClass("active"),t.preventDefault()})})}),function(e){e.fn.boxRefresh=function(t){function i(e){e.append(s),o.onLoadStart.call(e)}function n(e){e.find(s).remove(),o.onLoadDone.call(e)}var o=e.extend({trigger:".refresh-btn",source:"",onLoadStart:function(e){},onLoadDone:function(e){}},t),s=e('<div class="overlay"><div class="fa fa-refresh fa-spin"></div></div>');return this.each(function(){if(""===o.source)return void(console&&console.log("Please specify a source first - boxRefresh()"));var t=e(this),s=t.find(o.trigger).first();s.click(function(e){e.preventDefault(),i(t),t.find(".box-body").load(o.source,function(){n(t)})})})}}(jQuery),function(e){e.fn.todolist=function(t){var i=e.extend({onCheck:function(e){},onUncheck:function(e){}},t);return this.each(function(){"undefined"!=typeof e.fn.iCheck?(e("input",this).on("ifChecked",function(t){var n=e(this).parents("li").first();n.toggleClass("done"),i.onCheck.call(n)}),e("input",this).on("ifUnchecked",function(t){var n=e(this).parents("li").first();n.toggleClass("done"),i.onUncheck.call(n)})):e("input",this).on("change",function(t){var n=e(this).parents("li").first();n.toggleClass("done"),i.onCheck.call(n)})})}}(jQuery),!function(e){e(["jquery"],function(e){return function(){function t(e,t,i){return h({type:w.error,iconClass:m().iconClasses.error,message:e,optionsOverride:i,title:t})}function i(t,i){return t||(t=m()),v=e("#"+t.containerId),v.length?v:(i&&(v=u(t)),v)}function n(e,t,i){return h({type:w.info,iconClass:m().iconClasses.info,message:e,optionsOverride:i,title:t})}function o(e){b=e}function s(e,t,i){return h({type:w.success,iconClass:m().iconClasses.success,message:e,optionsOverride:i,title:t})}function a(e,t,i){return h({type:w.warning,iconClass:m().iconClasses.warning,message:e,optionsOverride:i,title:t})}function r(e){var t=m();v||i(t),c(e,t)||d(t)}function l(t){var n=m();return v||i(n),t&&0===e(":focus",t).length?void g(t):void(v.children().length&&v.remove())}function d(t){for(var i=v.children(),n=i.length-1;n>=0;n--)c(e(i[n]),t)}function c(t,i){return t&&0===e(":focus",t).length?(t[i.hideMethod]({duration:i.hideDuration,easing:i.hideEasing,complete:function(){g(t)}}),!0):!1}function u(t){return v=e("<div/>").attr("id",t.containerId).addClass(t.positionClass).attr("aria-live","polite").attr("role","alert"),v.appendTo(e(t.target)),v}function f(){return{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",target:"body",closeHtml:'<button type="button">&times;</button>',newestOnTop:!0,preventDuplicates:!1,progressBar:!1}}function p(e){b&&b(e)}function h(t){function n(t){return!e(":focus",c).length||t?(clearTimeout(w.intervalId),c[r.hideMethod]({duration:r.hideDuration,easing:r.hideEasing,complete:function(){g(c),r.onHidden&&"hidden"!==x.state&&r.onHidden(),x.state="hidden",x.endTime=new Date,p(x)}})):void 0}function o(){(r.timeOut>0||r.extendedTimeOut>0)&&(d=setTimeout(n,r.extendedTimeOut),w.maxHideTime=parseFloat(r.extendedTimeOut),w.hideEta=(new Date).getTime()+w.maxHideTime)}function s(){clearTimeout(d),w.hideEta=0,c.stop(!0,!0)[r.showMethod]({duration:r.showDuration,easing:r.showEasing})}function a(){var e=(w.hideEta-(new Date).getTime())/w.maxHideTime*100;h.width(e+"%")}var r=m(),l=t.iconClass||r.iconClass;if("undefined"!=typeof t.optionsOverride&&(r=e.extend(r,t.optionsOverride),l=t.optionsOverride.iconClass||l),r.preventDuplicates){if(t.message===$)return;$=t.message}C++,v=i(r,!0);var d=null,c=e("<div/>"),u=e("<div/>"),f=e("<div/>"),h=e("<div/>"),b=e(r.closeHtml),w={intervalId:null,hideEta:null,maxHideTime:null},x={toastId:C,state:"visible",startTime:new Date,options:r,map:t};return t.iconClass&&c.addClass(r.toastClass).addClass(l),t.title&&(u.append(t.title).addClass(r.titleClass),c.append(u)),t.message&&(f.append(t.message).addClass(r.messageClass),c.append(f)),r.closeButton&&(b.addClass("toast-close-button").attr("role","button"),c.prepend(b)),r.progressBar&&(h.addClass("toast-progress"),c.prepend(h)),c.hide(),r.newestOnTop?v.prepend(c):v.append(c),c[r.showMethod]({duration:r.showDuration,easing:r.showEasing,complete:r.onShown}),r.timeOut>0&&(d=setTimeout(n,r.timeOut),w.maxHideTime=parseFloat(r.timeOut),w.hideEta=(new Date).getTime()+w.maxHideTime,r.progressBar&&(w.intervalId=setInterval(a,10))),c.hover(s,o),!r.onclick&&r.tapToDismiss&&c.click(n),r.closeButton&&b&&b.click(function(e){e.stopPropagation?e.stopPropagation():void 0!==e.cancelBubble&&e.cancelBubble!==!0&&(e.cancelBubble=!0),n(!0)}),r.onclick&&c.click(function(){r.onclick(),n()}),p(x),r.debug&&console&&console.log(x),c}function m(){return e.extend({},f(),x.options)}function g(e){v||(v=i()),e.is(":visible")||(e.remove(),e=null,0===v.children().length&&(v.remove(),$=void 0))}var v,b,$,C=0,w={error:"error",info:"info",success:"success",warning:"warning"},x={clear:r,remove:l,error:t,getContainer:i,info:n,options:{},subscribe:o,success:s,version:"2.1.0",warning:a};return x}()})}("function"==typeof define&&define.amd?define:function(e,t){"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):window.toastr=t(window.jQuery)}),$(function(){toastr.options={closeButton:!0,debug:!1,progressBar:!0,positionClass:"toast-top-right",onclick:null,showDuration:"400",hideDuration:"1000",timeOut:"2000",extendedTimeOut:"1000",showEasing:"swing",hideEasing:"linear",showMethod:"fadeIn",hideMethod:"fadeOut"}});