snipe-it/public/js/dist/all.js

27 lines
797 KiB
JavaScript
Raw Normal View History

if(function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=0)}({"+sje":function(t,e,n){var i=n("VU/8")(n("eOaq"),n("lafA"),!1,function(t){n("4UNm")},"data-v-3bdd24a5",null);t.exports=i.exports},0:function(t,e,n){n("GDnL"),n("hw3k"),n("aKHO"),n("9ozO"),n("1CH1"),n("f5J3"),n("yd7E"),n("m5pD"),n("JfWP"),n("Pq8s"),n("WM06"),n("t80F"),n("2WJo"),n("F7gb"),n("jbHB"),n("a5IG"),n("1dC+"),n("0hTo"),n("vvpX"),n("4Jtp"),t.exports=n("kxAE")},"0DKT":function(t,e){t.exports={render:function(){var t=this.$createElement;return(this._self._c||t)("select",{staticStyle:{width:"100%"}},[this._t("default")],2)},staticRenderFns:[]}},"0hTo":function(t,e){},"0yBH":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",[n("div",{staticClass:"panel panel-default"},[n("div",{staticClass:"panel-heading"},[n("div",{staticClass:"text-right",staticStyle:{display:"flex","justify-content":"space-between","align-items":"center"}},[n("a",{staticClass:"btn btn-info btn-sm action-link pull-right",on:{click:t.showCreateTokenForm}},[t._v("\n Create New Token\n ")])])]),t._v(" "),n("div",{staticClass:"panel-body"},[0===t.tokens.length?n("p",{staticClass:"m-b-none"},[t._v("\n You have not created any personal access tokens.\n ")]):t._e(),t._v(" "),t.tokens.length>0?n("table",{staticClass:"table table-borderless m-b-none"},[t._m(0),t._v(" "),n("tbody",t._l(t.tokens,function(e){return n("tr",[n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.name)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.expires_at)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.created_at)+"\n ")]),t._v(" "),n("td",{staticClass:"text-right",staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link btn btn-danger btn-sm",on:{click:function(n){t.revoke(e)}}},[n("i",{staticClass:"fa fa-trash"})])])])}))]):t._e()])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-create-token",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(1),t._v(" "),n("div",{staticClass:"modal-body"},[t.form.errors.length>0?n("div",{staticClass:"alert alert-danger"},[t._m(2),t._v(" "),n("br"),t._v(" "),n("ul",t._l(t.form.errors,function(e){return n("li",[t._v("\n "+t._s(e)+"\n ")])}))]):t._e(),t._v(" "),n("form",{staticClass:"form-horizontal",attrs:{role:"form"},on:{submit:function(e){e.preventDefault(),t.store(e)}}},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-4 control-label",attrs:{for:"name"}},[t._v("Name")]),t._v(" "),n("div",{staticClass:"col-md-6"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.form.name,expression:"form.name"}],staticClass:"form-control",attrs:{id:"create-token-name",type:"text","aria-label":"name",name:"name"},domProps:{value:t.form.name},on:{input:function(e){e.target.composing||(t.form.name=e.target.value)}}})])]),t._v(" "),t.scopes.length>0?n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-4 control-label"},[t._v("Scopes")]),t._v(" "),n("div",{staticClass:"col-md-6"},t._l(t.scopes,function(e){return n("div",[n("div",{staticClass:"checkbox"},[n("label",[n("input",{attrs:{type:"checkbox"},domProps:{checked:t.scopeIsAssigned(e.id)},on:{click:function(n){t.toggleScope(e.id)}}}),t._v("\n\n
}}}for(m in y=e.support={},x=e.isXML=function(t){var e=t.namespaceURI,n=(t.ownerDocument||t).documentElement;return!dt.test(e||n&&n.nodeName||"HTML")},A=e.setDocument=function(t){var e,n,i=t?t.ownerDocument||t:L;return i!=E&&9===i.nodeType&&i.documentElement?(M=(E=i).documentElement,O=!x(E),L!=E&&(n=E.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",xt,!1):n.attachEvent&&n.attachEvent("onunload",xt)),y.scope=r(function(t){return M.appendChild(t).appendChild(E.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length}),y.attributes=r(function(t){return t.className="i",!t.getAttribute("className")}),y.getElementsByTagName=r(function(t){return t.appendChild(E.createComment("")),!t.getElementsByTagName("*").length}),y.getElementsByClassName=pt.test(E.getElementsByClassName),y.getById=r(function(t){return M.appendChild(t).id=N,!E.getElementsByName||!E.getElementsByName(N).length}),y.getById?(b.filter.ID=function(t){var e=t.replace(mt,yt);return function(t){return t.getAttribute("id")===e}},b.find.ID=function(t,e){if(void 0!==e.getElementById&&O){var n=e.getElementById(t);return n?[n]:[]}}):(b.filter.ID=function(t){var e=t.replace(mt,yt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},b.find.ID=function(t,e){if(void 0!==e.getElementById&&O){var n,i,r,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(r=e.getElementsByName(t),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),b.find.TAG=y.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):y.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],r=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},b.find.CLASS=y.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&O)return e.getElementsByClassName(t)},I=[],$=[],(y.qsa=pt.test(E.querySelectorAll))&&(r(function(t){var e;M.appendChild(t).innerHTML="<a id='"+N+"'></a><select id='"+N+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&$.push("[*^$]="+J+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||$.push("\\["+J+"*(?:value|"+Q+")"),t.querySelectorAll("[id~="+N+"-]").length||$.push("~="),(e=E.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||$.push("\\["+J+"*name"+J+"*="+J+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||$.push(":checked"),t.querySelectorAll("a#"+N+"+*").length||$.push(".#.+[+~]"),t.querySelectorAll("\\\f"),$.push("[\\r\\n\\f]")}),r(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=E.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&$.push("name"+J+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&$.push(":enabled",":disabled"),M.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&$.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),$.push(",.*:")})),(y.matchesSelector=pt.test(F=M.matches||M.webkitMatchesSelector||M.mozMatchesSelector||M.oMatchesSelector||M.msMatchesSelector))&&r(function(t){y.disconnectedMatch=F.call(t,"*"),F.call(t,"[s!='']:x"),I.push("!=",nt)}),$=$.length&&new RegExp($.join("|")),I=I.length&&new RegExp(I.join("|")),e=pt.test(M.compareDocumentPosition),P=e||pt.test(M.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},W=e?function(t,e){if(t===e)return D=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!y.sortDetached&&e.compareDocumentPosition(t)===n?
},mt.event.addProp),mt.each({focus:"focusin",blur:"focusout"},function(t,e){mt.event.special[t]={setup:function(){return E(this,t,D),!1},trigger:function(){return E(this,t),!0},delegateType:e}}),mt.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){mt.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=t.relatedTarget,r=t.handleObj;return i&&(i===this||mt.contains(this,i))||(t.type=r.origType,n=r.handler.apply(this,arguments),t.type=e),n}}}),mt.fn.extend({on:function(t,e,n,i){return A(this,t,e,n,i)},one:function(t,e,n,i){return A(this,t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,mt(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=T),this.each(function(){mt.event.remove(this,t,n,e)})}});var ne=/<script|<style|<link/i,ie=/checked\s*(?:[^=]|=\s*.checked.)/i,re=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;mt.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var i,r,o,a,s,l,u,c=t.cloneNode(!0),d=zt(t);if(!(ht.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||mt.isXMLDoc(t)))for(a=w(c),i=0,r=(o=w(t)).length;i<r;i++)s=o[i],l=a[i],"input"===(u=l.nodeName.toLowerCase())&&Xt.test(s.type)?l.checked=s.checked:"input"!==u&&"textarea"!==u||(l.defaultValue=s.defaultValue);if(e)if(n)for(o=o||w(t),a=a||w(c),i=0,r=o.length;i<r;i++)I(o[i],a[i]);else I(t,c);return(a=w(c,"script")).length>0&&C(a,!d&&w(t,"script")),c},cleanData:function(t){for(var e,n,i,r=mt.event.special,o=0;void 0!==(n=t[o]);o++)if(It(n)){if(e=n[Ft.expando]){if(e.events)for(i in e.events)r[i]?mt.event.remove(n,i):mt.removeEvent(n,i,e.handle);n[Ft.expando]=void 0}n[Pt.expando]&&(n[Pt.expando]=void 0)}}}),mt.fn.extend({detach:function(t){return P(this,t,!0)},remove:function(t){return P(this,t)},text:function(t){return Mt(this,function(t){return void 0===t?mt.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return F(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||M(this,t).appendChild(t)})},prepend:function(){return F(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=M(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return F(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return F(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(mt.cleanData(w(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return mt.clone(this,t,e)})},html:function(t){return Mt(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!ne.test(t)&&!Zt[(Gt.exec(t)||["",""])[1].toLowerCase()]){t=mt.htmlPrefilter(t);try{for(;n<i;n++)1===(e=this[n]||{}).nodeType&&(mt.cleanData(w(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return F(this,arguments,function(e){var n=this.parentNode;mt.inArray(this,t)<0&&(mt.cleanData(w(this)),n&&n.replaceChild(e,this))},t)}}),mt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){mt.fn[t]=function(t){for(var n,i=[],r=mt(t),o=r.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),mt(r[a])[e](n),ot.apply(i,n.get());return this.pushStack(i)}});var oe=new RegExp("^("+jt+")(?!px)[a-z%]+$","i"),ae=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=n),e.getComputedStyle(t)},se=function(t,e,n){var i,r,o={};for(r in e)o[r]=t.style[r],t.style[r]=e[r];for(r in i=n.call(t),e)t.style[r]=o[r];return i},le=n
n[r]=function(){a=arguments},i.always(function(){void 0===o?mt(n).removeProp(r):n[r]=o,t[r]&&(t.jsonpCallback=e.jsonpCallback,Ye.push(r)),a&&ft(o)&&o(a[0]),a=o=void 0}),"script"}),ht.createHTMLDocument=((qe=gt.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===qe.childNodes.length),mt.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(ht.createHTMLDocument?((i=(e=gt.implementation.createHTMLDocument("")).createElement("base")).href=gt.location.href,e.head.appendChild(i)):e=gt),r=wt.exec(t),o=!n&&[],r?[e.createElement(r[1])]:(r=k([t],e,o),o&&o.length&&mt(o).remove(),mt.merge([],r.childNodes)));var i,r,o},mt.fn.load=function(t,e,n){var i,r,o,a=this,s=t.indexOf(" ");return s>-1&&(i=X(t.slice(s)),t=t.slice(0,s)),ft(e)?(n=e,e=void 0):e&&"object"==typeof e&&(r="POST"),a.length>0&&mt.ajax({url:t,type:r||"GET",dataType:"html",data:e}).done(function(t){o=arguments,a.html(i?mt("<div>").append(mt.parseHTML(t)).find(i):t)}).always(n&&function(t,e){a.each(function(){n.apply(this,o||[t.responseText,e,t])})}),this},mt.expr.pseudos.animated=function(t){return mt.grep(mt.timers,function(e){return t===e.elem}).length},mt.offset={setOffset:function(t,e,n){var i,r,o,a,s,l,u=mt.css(t,"position"),c=mt(t),d={};"static"===u&&(t.style.position="relative"),s=c.offset(),o=mt.css(t,"top"),l=mt.css(t,"left"),("absolute"===u||"fixed"===u)&&(o+l).indexOf("auto")>-1?(a=(i=c.position()).top,r=i.left):(a=parseFloat(o)||0,r=parseFloat(l)||0),ft(e)&&(e=e.call(t,n,mt.extend({},s))),null!=e.top&&(d.top=e.top-s.top+a),null!=e.left&&(d.left=e.left-s.left+r),"using"in e?e.using.call(t,d):("number"==typeof d.top&&(d.top+="px"),"number"==typeof d.left&&(d.left+="px"),c.css(d))}},mt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){mt.offset.setOffset(this,t,e)});var e,n,i=this[0];return i?i.getClientRects().length?(e=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,i=this[0],r={top:0,left:0};if("fixed"===mt.css(i,"position"))e=i.getBoundingClientRect();else{for(e=this.offset(),n=i.ownerDocument,t=i.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===mt.css(t,"position");)t=t.parentNode;t&&t!==i&&1===t.nodeType&&((r=mt(t).offset()).top+=mt.css(t,"borderTopWidth",!0),r.left+=mt.css(t,"borderLeftWidth",!0))}return{top:e.top-r.top-mt.css(i,"marginTop",!0),left:e.left-r.left-mt.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===mt.css(t,"position");)t=t.offsetParent;return t||Bt})}}),mt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;mt.fn[t]=function(i){return Mt(this,function(t,i,r){var o;if(pt(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===r)return o?o[e]:t[i];o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):t[i]=r},t,i,arguments.length)}}),mt.each(["top","left"],function(t,e){mt.cssHooks[e]=L(ht.pixelPosition,function(t,n){if(n)return n=N(t,e),oe.test(n)?mt(t).position()[e]+"px":n})}),mt.each({Height:"height",Width:"width"},function(t,e){mt.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){mt.fn[i]=function(r,o){var a=arguments.length&&(n||"boolean"!=typeof r),s=n||(!0===r||!0===o?"margin":"border");return Mt(this,function(e,n,r){var o;return pt(e)?0===i.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===r?mt.css(e,n,s):mt.style(e,n,r,s)},e,a?r:void 0,a)}})}),mt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){mt.fn[e]=function(t){return this.on(e,t)}}),mt.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length
;if(t._response)for(e in t._response)t._response.hasOwnProperty(e)&&delete t._response[e];else t._response={}},_onProgress:function(e,n){if(e.lengthComputable){var i,r=Date.now?Date.now():(new Date).getTime();if(n._time&&n.progressInterval&&r-n._time<n.progressInterval&&e.loaded!==e.total)return;n._time=r,i=Math.floor(e.loaded/e.total*(n.chunkSize||n._progress.total))+(n.uploadedBytes||0),this._progress.loaded+=i-n._progress.loaded,this._progress.bitrate=this._bitrateTimer.getBitrate(r,this._progress.loaded,n.bitrateInterval),n._progress.loaded=n.loaded=i,n._progress.bitrate=n.bitrate=n._bitrateTimer.getBitrate(r,i,n.bitrateInterval),this._trigger("progress",t.Event("progress",{delegatedEvent:e}),n),this._trigger("progressall",t.Event("progressall",{delegatedEvent:e}),this._progress)}},_initProgressListener:function(e){var n=this,i=e.xhr?e.xhr():t.ajaxSettings.xhr();i.upload&&(t(i.upload).bind("progress",function(t){var i=t.originalEvent;t.lengthComputable=i.lengthComputable,t.loaded=i.loaded,t.total=i.total,n._onProgress(t,e)}),e.xhr=function(){return i})},_deinitProgressListener:function(e){var n=e.xhr?e.xhr():t.ajaxSettings.xhr();n.upload&&t(n.upload).unbind("progress")},_isInstanceOf:function(t,e){return Object.prototype.toString.call(e)==="[object "+t+"]"},_getUniqueFilename:function(t,e){return e[t=String(t)]?(t=t.replace(/(?: \(([\d]+)\))?(\.[^.]+)?$/,function(t,e,n){return" ("+(e?Number(e)+1:1)+")"+(n||"")}),this._getUniqueFilename(t,e)):(e[t]=!0,t)},_initXHRData:function(e){var n,i=this,r=e.files[0],o=e.multipart||!t.support.xhrFileUpload,a="array"===t.type(e.paramName)?e.paramName[0]:e.paramName;e.headers=t.extend({},e.headers),e.contentRange&&(e.headers["Content-Range"]=e.contentRange),o&&!e.blob&&this._isInstanceOf("File",r)||(e.headers["Content-Disposition"]='attachment; filename="'+encodeURI(r.uploadName||r.name)+'"'),o?t.support.xhrFormDataFileUpload&&(e.postMessage?(n=this._getFormData(e),e.blob?n.push({name:a,value:e.blob}):t.each(e.files,function(i,r){n.push({name:"array"===t.type(e.paramName)&&e.paramName[i]||a,value:r})})):(i._isInstanceOf("FormData",e.formData)?n=e.formData:(n=new FormData,t.each(this._getFormData(e),function(t,e){n.append(e.name,e.value)})),e.blob?n.append(a,e.blob,r.uploadName||r.name):t.each(e.files,function(r,o){if(i._isInstanceOf("File",o)||i._isInstanceOf("Blob",o)){var s=o.uploadName||o.name;e.uniqueFilenames&&(s=i._getUniqueFilename(s,e.uniqueFilenames)),n.append("array"===t.type(e.paramName)&&e.paramName[r]||a,o,s)}})),e.data=n):(e.contentType=r.type||"application/octet-stream",e.data=e.blob||r),e.blob=null},_initIframeSettings:function(e){var n=t("<a></a>").prop("href",e.url).prop("host");e.dataType="iframe "+(e.dataType||""),e.formData=this._getFormData(e),e.redirect&&n&&n!==location.host&&e.formData.push({name:e.redirectParamName||"redirect",value:e.redirect})},_initDataSettings:function(t){this._isXHRUpload(t)?(this._chunkedUpload(t,!0)||(t.data||this._initXHRData(t),this._initProgressListener(t)),t.postMessage&&(t.dataType="postmessage "+(t.dataType||""))):this._initIframeSettings(t)},_getParamName:function(e){var n=t(e.fileInput),i=e.paramName;return i?t.isArray(i)||(i=[i]):(i=[],n.each(function(){for(var e=t(this),n=e.prop("name")||"files[]",r=(e.prop("files")||[1]).length;r;)i.push(n),r-=1}),i.length||(i=[n.prop("name")||"files[]"])),i},_initFormSettings:function(e){e.form&&e.form.length||(e.form=t(e.fileInput.prop("form")),e.form.length||(e.form=t(this.options.fileInput.prop("form")))),e.paramName=this._getParamName(e),e.url||(e.url=e.form.prop("action")||location.href),e.type=(e.type||"string"===t.type(e.form.prop("method"))&&e.form.prop("method")||"").toUpperCase(),"POST"!==e.type&&"PUT"!==e.type&&"PATCH"!==e.type&&(e.type="POST"),e.formAcceptCharset||(e.formAcceptCharset=e.form.attr("accept-charset"))},_getAJAXSettings:function(e){var n=t.extend({},this.options,e);return this._initFormSettings(n),this._initDataSettings(n),n},_getDeferredState:function(t){return t.state?t.state():t.isResolved()?"resolved":t.isRejected()?"rejected":"pending"},_enhancePromise:funct
var s=t.attrs&&t.attrs.type;o=i||Rn.mustUseProp(e,s,a)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}a in o||(o[a]=n[a],r&&((t.on||(t.on={}))["update:"+a]=function(t){n[a]=t}))}(s)}return t}function Tt(t,e){var n=this._staticTrees[t];return n&&!e?Array.isArray(n)?W(n):H(n):(At(n=this._staticTrees[t]=this.$options.staticRenderFns[t].call(this._renderProxy),"__static__"+t,!1),n)}function Dt(t,e,n){return At(t,"__once__"+e+(n?"_"+n:""),!0),t}function At(t,e,n){if(Array.isArray(t))for(var i=0;i<t.length;i++)t[i]&&"string"!=typeof t[i]&&Et(t[i],e+"_"+i,n);else Et(t,e,n)}function Et(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function Mt(t,e){if(e&&s(e)){var n=t.on=t.on?m({},t.on):{};for(var i in e){var r=n[i],o=e[i];n[i]=r?[].concat(o,r):o}}return t}function Ot(t){var e=t.options;if(t.super){var n=Ot(t.super);if(n!==t.superOptions){t.superOptions=n;var i=function(t){var e,n=t.options,i=t.extendOptions,r=t.sealedOptions;for(var o in n)n[o]!==r[o]&&(e||(e={}),e[o]=$t(n[o],i[o],r[o]));return e}(t);i&&m(t.extendOptions,i),(e=t.options=L(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function $t(t,e,n){if(Array.isArray(t)){var i=[];n=Array.isArray(n)?n:[n],e=Array.isArray(e)?e:[e];for(var r=0;r<t.length;r++)(e.indexOf(t[r])>=0||n.indexOf(t[r])<0)&&i.push(t[r]);return i}return t}function It(t){this._init(t)}function Ft(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,i=n.cid,r=t._Ctor||(t._Ctor={});if(r[i])return r[i];var o=t.name||n.options.name,a=function(t){this._init(t)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=e++,a.options=L(n.options,t),a.super=n,a.options.props&&function(t){var e=t.options.props;for(var n in e)dt(t.prototype,"_props",n)}(a),a.options.computed&&function(t){var e=t.options.computed;for(var n in e)ft(t.prototype,n,e[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,Ln.forEach(function(t){a[t]=n[t]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=m({},a.options),r[i]=a,a}}function Pt(t){return t&&(t.Ctor.options.name||t.tag)}function Nt(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:(n=t,"[object RegExp]"===Sn.call(n)&&t.test(e));var n}function Lt(t,e,n){for(var i in t){var r=t[i];if(r){var o=Pt(r.componentOptions);o&&!n(o)&&(r!==e&&jt(r),t[i]=null)}}}function jt(t){t&&t.componentInstance.$destroy()}function Rt(t){for(var e=t.data,n=t,r=t;i(r.componentInstance);)(r=r.componentInstance._vnode).data&&(e=Ut(r.data,e));for(;i(n=n.parent);)n.data&&(e=Ut(e,n.data));return function(t,e){return i(t)||i(e)?Bt(t,zt(e)):""}(e.staticClass,e.class)}function Ut(t,e){return{staticClass:Bt(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function Bt(t,e){return t?e?t+" "+e:t:e||""}function zt(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,o=t.length;r<o;r++)i(e=zt(t[r]))&&""!==e&&(n&&(n+=" "),n+=e);return n}(t):a(t)?function(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}(t):"string"==typeof t?t:""}function Ht(t){return or(t)?"svg":"math"===t?"math":void 0}function Wt(t){if("string"==typeof t){return document.querySelector(t)||document.createElement("div")}return t}function Vt(t,e){var n=t.data.ref;if(n){var i=t.context,r=t.componentInstance||t.elm,o=i.$refs;e?Array.isArray(o[n])?h(o[n],r):o[n]===r&&(o[n]=void 0):t.data.refInFor?Array.isArray(o[n])?o[n].indexOf(r)<0&&o[n].push(r):o[n]=[r]:o[n]=r}}function qt(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&i(t.data)===i(e.data)&&function(t,e){if("input"!==t.tag)return!0;var n,r=i(n=t.data)&&i(n=n.attrs)&&n.type,o=i(n=e.data)&&i(n=n.attrs)&&n.type;return r===o||lr(r)&&lr(o)}(t,e)||r(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&n(e.asyncFactory.error))}function Yt(t,e,n){var r,o,a={};for(r=e;r<=n;++r)i(o=t[r].key)&&(a[o]=r);return a}function Xt(t,e){(t.data.directives||e.data.directives)&&function(t,e){var n,i,r,o=t===dr,a=e===dr,s=Gt(t.data.directives,t.context),l=Gt(e.data.directives,e.context),u=[],c=[];for(n in l)i=s[n],r=l[n],i?(r.oldValue=i.value,Zt(r,"u
;["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=ui[t];k(ci,t,function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];var r,o=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":r=n;break;case"splice":r=n.slice(2)}return r&&a.observeArray(r),a.dep.notify(),o})});var di=Object.getOwnPropertyNames(ci),hi={shouldConvert:!0},fi=function(t){this.value=t,this.dep=new si,this.vmCount=0,k(t,"__ob__",this),Array.isArray(t)?((Hn?D:A)(t,ci,di),this.observeArray(t)):this.walk(t)};fi.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)M(t,e[n],t[e[n]])},fi.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)E(t[e])};var pi=Rn.optionMergeStrategies;pi.data=function(t,e,n){return n?F(t,e,n):e&&"function"!=typeof e?t:F.call(this,t,e)},jn.forEach(function(t){pi[t]=P}),Ln.forEach(function(t){pi[t+"s"]=N}),pi.watch=function(t,e){if(t===Qn&&(t=void 0),e===Qn&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var n={};for(var i in m(n,t),e){var r=n[i],o=e[i];r&&!Array.isArray(r)&&(r=[r]),n[i]=r?r.concat(o):Array.isArray(o)?o:[o]}return n},pi.props=pi.methods=pi.inject=pi.computed=function(t,e){if(!t)return e;var n=Object.create(null);return m(n,t),e&&m(n,e),n},pi.provide=F;var gi=function(t,e){return void 0===e?t:e},vi=function(t,e,n,i,r,o,a,s){this.tag=t,this.data=e,this.children=n,this.text=i,this.elm=r,this.ns=void 0,this.context=o,this.functionalContext=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},mi={child:{}};mi.child.get=function(){return this.componentInstance},Object.defineProperties(vi.prototype,mi);var yi,bi=function(t){void 0===t&&(t="");var e=new vi;return e.text=t,e.isComment=!0,e},_i=p(function(t){var e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),i="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=i?t.slice(1):t,plain:!(e||n||i),once:n,capture:i,passive:e}}),xi=null,wi=[],Ci=[],ki={},Si=!1,Ti=!1,Di=0,Ai=0,Ei=function(t,e,n,i){this.vm=t,t._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Ai,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ei,this.newDepIds=new ei,this.expression="","function"==typeof e?this.getter=e:(this.getter=function(t){if(!Bn.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}(e),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};Ei.prototype.get=function(){var t,e;t=this,si.target&&li.push(si.target),si.target=t;var n,i=this.vm;try{e=this.getter.call(i,i)}catch(t){if(!this.user)throw t;S(t,i,'getter for watcher "'+this.expression+'"')}finally{this.deep&&(n=e,Mi.clear(),function t(e,n){var i,r,o=Array.isArray(e);if((o||a(e))&&Object.isExtensible(e)){if(e.__ob__){var s=e.__ob__.dep.id;if(n.has(s))return;n.add(s)}if(o)for(i=e.length;i--;)t(e[i],n);else for(r=Object.keys(e),i=r.length;i--;)t(e[r[i]],n)}}(n,Mi)),si.target=li.pop(),this.cleanupDeps()}return e},Ei.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},Ei.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},Ei.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(t){var e=t.id;if(null==ki[e]){if(ki[e]=!0,Ti){for(var n=wi.length-1;n>Di&&wi[n].id>t.id;)n--;wi.splice(n+1,0,t)}else wi.push(t);Si||(Si=!0,oi(ct))}}(this)},Ei.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||a(t)||this.deep){var e=this.value;if(this.value=t
}),qo=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,Yo=/^\s*[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['.*?']|\[".*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*\s*$/,Xo={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Go=function(t){return"if("+t+")return null;"},Ko={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Go("$event.target !== $event.currentTarget"),ctrl:Go("!$event.ctrlKey"),shift:Go("!$event.shiftKey"),alt:Go("!$event.altKey"),meta:Go("!$event.metaKey"),left:Go("'button' in $event && $event.button !== 0"),middle:Go("'button' in $event && $event.button !== 1"),right:Go("'button' in $event && $event.button !== 2")},Zo={on:function(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}},bind:function(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}},cloak:b},Qo=function(t){this.options=t,this.warn=t.warn||ie,this.transforms=re(t.modules,"transformCode"),this.dataGenFns=re(t.modules,"genData"),this.directives=m(m({},Zo),t.directives);var e=t.isReservedTag||Fn;this.maybeComponent=function(t){return!e(t.tag)},this.onceId=0,this.staticRenderFns=[]};new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");var Jo,ta=(Jo=function(t,e){var n=rn(t.trim(),e);sn(n,e);var i=dn(n,e);return{ast:n,render:i.render,staticRenderFns:i.staticRenderFns}},function(t){function e(e,n){var i=Object.create(t),r=[],o=[];if(i.warn=function(t,e){(e?o:r).push(t)},n)for(var a in n.modules&&(i.modules=(t.modules||[]).concat(n.modules)),n.directives&&(i.directives=m(Object.create(t.directives),n.directives)),n)"modules"!==a&&"directives"!==a&&(i[a]=n[a]);var s=Jo(e,i);return s.errors=r,s.tips=o,s}return{compile:e,compileToFunctions:function(t){var e=Object.create(null);return function(n,i,r){var o=(i=i||{}).delimiters?String(i.delimiters)+n:n;if(e[o])return e[o];var a=t(n,i),s={},l=[];return s.render=Cn(a.render,l),s.staticRenderFns=a.staticRenderFns.map(function(t){return Cn(t,l)}),e[o]=s}}(e)}})(oo).compileToFunctions,ea=p(function(t){var e=Wt(t);return e&&e.innerHTML}),na=It.prototype.$mount;It.prototype.$mount=function(t,e){if((t=t&&Wt(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var i=n.template;if(i)if("string"==typeof i)"#"===i.charAt(0)&&(i=ea(i));else{if(!i.nodeType)return this;i=i.innerHTML}else t&&(i=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(i){var r=ta(i,{shouldDecodeNewlines:Kr,delimiters:n.delimiters,comments:n.comments},this),o=r.render,a=r.staticRenderFns;n.render=o,n.staticRenderFns=a}}return na.call(this,t,e)},It.compile=ta,t.exports=It}).call(e,n("DuR2"))},Iie8:function(t,e,n){var i=n("J0EM");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n("rjj0")("35a5479e",i,!0,{})},J0EM:function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,".action-link[data-v-d32a2236]{cursor:pointer}.m-b-none[data-v-d32a2236]{margin-bottom:0}",""])},JHru:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["alertType","title"],computed:{alertClassName:function(){return"alert-"+this.alertType}},methods:{hideEvent:function(){this.$emit("hide")}}}},JfWP:function(t,e){},Lypw:function(t,e,n){var i=n("VU/8")(n("lAxH"),n("0yBH"),!1,function(t){n("euY8")},"data-v-62868960",null);t.exports=i.exports},M4fF:function(t,e,n){(function(t,i){var r;(function(){function o(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function a(t,e,n,i){for(var r=-1,o=null==t?0:t.length;++r<o;){var a=t[r];e(i,a,n(a)
t[4]=l?j(t[3],Y):e[4]}(s=e[5])&&(l=t[5],t[5]=l?Di(l,s,e[6]):s,t[6]=l?j(t[5],Y):e[6]),(s=e[7])&&(t[7]=s),i&at&&(t[8]=null==t[8]?e[8]:wa(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=r}(p,f),t=p[0],e=p[1],n=p[2],i=p[3],r=p[4],!(l=p[9]=p[9]===H?u?0:t.length:xa(p[9]-c,0))&&e&(nt|it)&&(e&=~(nt|it)),e&&e!=J)g=e==nt||e==it?function(t,e,n){var i=Ni(t);return function r(){for(var a=arguments.length,s=$o(a),l=a,u=rr(r);l--;)s[l]=arguments[l];var c=a<3&&s[0]!==u&&s[a-1]!==u?[]:j(s,u);return(a-=c.length)<n?qi(t,e,Ri,r.placeholder,H,s,c,H,H,n-a):o(this&&this!==sn&&this instanceof r?i:t,this,s)}}(t,e,l):e!=rt&&e!=(J|rt)||r.length?Ri.apply(H,p):function(t,e,n,i){var r=e&J,a=Ni(t);return function e(){for(var s=-1,l=arguments.length,u=-1,c=i.length,d=$o(c+l),h=this&&this!==sn&&this instanceof e?a:t;++u<c;)d[u]=i[u];for(;l--;)d[u++]=arguments[++s];return o(h,r?n:this,d)}}(t,e,n,i);else var g=function(t,e,n){var i=e&J,r=Ni(t);return function e(){return(this&&this!==sn&&this instanceof e?r:t).apply(i?n:this,arguments)}}(t,e,n);return wr((f?Xa:rs)(g,p),t,e)}function Ki(t,e,n,i){return t===H||Yr(t,Ho[n])&&!qo.call(i,n)?e:t}function Zi(t,e,n,i,r,o){return to(t)&&to(e)&&(o.set(e,t),Vn(t,e,H,Zi,o),o.delete(e)),t}function Qi(t){return io(t)?H:t}function Ji(t,e,n,i,r,o){var a=n&Z,s=t.length,l=e.length;if(s!=l&&!(a&&l>s))return!1;var u=o.get(t),c=o.get(e);if(u&&c)return u==e&&c==t;var d=-1,h=!0,f=n&Q?new $e:H;for(o.set(t,e),o.set(e,t);++d<s;){var p=t[d],g=e[d];if(i)var v=a?i(g,p,d,e,t,o):i(p,g,d,t,e,o);if(v!==H){if(v)continue;h=!1;break}if(f){if(!m(e,function(t,e){if(!O(f,e)&&(p===t||r(p,t,n,i,o)))return f.push(e)})){h=!1;break}}else if(p!==g&&!r(p,g,n,i,o)){h=!1;break}}return o.delete(t),o.delete(e),h}function tr(t){return as(br(t,H,Mr),t+"")}function er(t){return Dn(t,vo,ts)}function nr(t){return Dn(t,mo,es)}function ir(t){for(var e=t.name+"",n=Fa[e],i=qo.call(Fa,e)?n.length:0;i--;){var r=n[i],o=r.func;if(null==o||o==t)return r.name}return e}function rr(t){return(qo.call(n,"placeholder")?n:t).placeholder}function or(){var t=n.iteratee||So;return t=t===So?jn:t,arguments.length?t(arguments[0],arguments[1]):t}function ar(t,e){var n,i,r=t.__data__;return("string"==(i=typeof(n=e))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof e?"string":"hash"]:r.map}function sr(t){for(var e=vo(t),n=e.length;n--;){var i=e[n],r=t[i];e[n]=[i,r,mr(r)]}return e}function lr(t,e){var n=function(t,e){return null==t?H:t[e]}(t,e);return Ln(n)?n:H}function ur(t,e,n){for(var i=-1,r=(e=_i(e,t)).length,o=!1;++i<r;){var a=Sr(e[i]);if(!(o=null!=t&&n(t,a)))break;t=t[a]}return o||++i!=r?o:!!(r=null==t?0:t.length)&&Jr(r)&&hr(a,r)&&(Ys(t)||qs(t))}function cr(t){return"function"!=typeof t.constructor||vr(t)?{}:Ha(ia(t))}function dr(t){return Ys(t)||qs(t)||!!(sa&&t&&t[sa])}function hr(t,e){var n=typeof t;return!!(e=null==e?ht:e)&&("number"==n||"symbol"!=n&&Se.test(t))&&t>-1&&t%1==0&&t<e}function fr(t,e,n){if(!to(n))return!1;var i=typeof e;return!!("number"==i?Xr(n)&&hr(e,n.length):"string"==i&&e in n)&&Yr(n[e],t)}function pr(t,e){if(Ys(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!oo(t))||se.test(t)||!ae.test(t)||null!=e&&t in Lo(e)}function gr(t){var e=ir(t),i=n[e];if("function"!=typeof i||!(e in S.prototype))return!1;if(t===i)return!0;var r=Ja(i);return!!r&&t===r[0]}function vr(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Ho)}function mr(t){return t==t&&!to(t)}function yr(t,e){return function(n){return null!=n&&n[t]===e&&(e!==H||t in Lo(n))}}function br(t,e,n){return e=xa(e===H?t.length-1:e,0),function(){for(var i=arguments,r=-1,a=xa(i.length-e,0),s=$o(a);++r<a;)s[r]=i[e+r];r=-1;for(var l=$o(e+1);++r<e;)l[r]=i[r];return l[e]=n(s),o(t,this,l)}}function _r(t,e){return e.length<2?t:Tn(t,ri(e,0,-1))}function xr(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}function wr(t,e,n){var i=e+"";return as(t,function(t,e){var n=e.length;if(!n)return t;var i=n-1;return e[i]=(n>1?"& ":"")+e[i],e=e.join(n>2?", ":" "),t.replace(pe,"{\n/* [wrapped with "+e+"] */
n.noConflict=function(){return sn._===this&&(sn._=Zo),this},n.noop=Do,n.now=Fs,n.pad=function(t,e,n){t=fo(t);var i=(e=lo(e))?B(t):0;if(!e||i>=e)return t;var r=(e-i)/2;return Hi(ga(r),n)+t+Hi(pa(r),n)},n.padEnd=function(t,e,n){t=fo(t);var i=(e=lo(e))?B(t):0;return e&&i<e?t+Hi(e-i,n):t},n.padStart=function(t,e,n){t=fo(t);var i=(e=lo(e))?B(t):0;return e&&i<e?Hi(e-i,n)+t:t},n.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),ka(fo(t).replace(he,""),e||0)},n.random=function(t,e,n){if(n&&"boolean"!=typeof n&&fr(t,e,n)&&(e=n=H),n===H&&("boolean"==typeof e?(n=e,e=H):"boolean"==typeof t&&(n=t,t=H)),t===H&&e===H?(t=0,e=1):(t=so(t),e===H?(e=t,t=0):e=so(e)),t>e){var i=t;t=e,e=i}if(n||t%1||e%1){var r=Sa();return wa(t+r*(e-t+nn("1e-"+((r+"").length-1))),e)}return Zn(t,e)},n.reduce=function(t,e,n){var i=Ys(t)?g:T,r=arguments.length<3;return i(t,or(e,4),n,r,Wa)},n.reduceRight=function(t,e,n){var i=Ys(t)?v:T,r=arguments.length<3;return i(t,or(e,4),n,r,Va)},n.repeat=function(t,e,n){return e=(n?fr(t,e,n):e===H)?1:lo(e),Qn(fo(t),e)},n.replace=function(){var t=arguments,e=fo(t[0]);return t.length<3?e:e.replace(t[1],t[2])},n.result=function(t,e,n){var i=-1,r=(e=_i(e,t)).length;for(r||(r=1,t=H);++i<r;){var o=null==t?H:t[Sr(e[i])];o===H&&(i=r,o=n),t=Zr(o)?o.call(t):o}return t},n.round=Hl,n.runInContext=t,n.sample=function(t){return(Ys(t)?Pe:ti)(t)},n.size=function(t){if(null==t)return 0;if(Xr(t))return ro(t)?B(t):t.length;var e=ns(t);return e==At||e==Ft?t.size:Rn(t).length},n.snakeCase=Cl,n.some=function(t,e,n){var i=Ys(t)?m:oi;return n&&fr(t,e,n)&&(e=H),i(t,or(e,3))},n.sortedIndex=function(t,e){return ai(t,e)},n.sortedIndexBy=function(t,e,n){return si(t,e,or(n,2))},n.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var i=ai(t,e);if(i<n&&Yr(t[i],e))return i}return-1},n.sortedLastIndex=function(t,e){return ai(t,e,!0)},n.sortedLastIndexBy=function(t,e,n){return si(t,e,or(n,2),!0)},n.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=ai(t,e,!0)-1;if(Yr(t[n],e))return n}return-1},n.startCase=kl,n.startsWith=function(t,e,n){return t=fo(t),n=null==n?0:Ye(lo(n),0,t.length),e=ci(e),t.slice(n,n+e.length)==e},n.subtract=Wl,n.sum=function(t){return t&&t.length?D(t,ko):0},n.sumBy=function(t,e){return t&&t.length?D(t,or(e,2)):0},n.template=function(t,e,i){var r=n.templateSettings;i&&fr(t,e,i)&&(e=H),t=fo(t),e=ol({},e,r,Ki);var o,a,s=ol({},e.imports,r.imports,Ki),l=vo(s),u=M(s,l),c=0,d=e.interpolate||De,h="__p += '",f=jo((e.escape||De).source+"|"+d.source+"|"+(d===oe?be:De).source+"|"+(e.evaluate||De).source+"|$","g"),p="//# sourceURL="+(qo.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Qe+"]")+"\n";t.replace(f,function(e,n,i,r,s,l){return i||(i=r),h+=t.slice(c,l).replace(Ae,F),n&&(o=!0,h+="' +\n__e("+n+") +\n'"),s&&(a=!0,h+="';\n"+s+";\n__p += '"),i&&(h+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),c=l+e.length,e}),h+="';\n";var g=qo.call(e,"variable")&&e.variable;g||(h="with (obj) {\n"+h+"\n}\n"),h=(a?h.replace(Kt,""):h).replace(Zt,"$1").replace(Qt,"$1;"),h="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var v=Dl(function(){return Po(l,p+"return "+h).apply(H,u)});if(v.source=h,Kr(v))throw v;return v},n.times=function(t,e){if((t=lo(t))<1||t>ht)return[];var n=gt,i=wa(t,gt);e=or(e),t-=gt;for(var r=A(i,e);++n<t;)e(n);return r},n.toFinite=so,n.toInteger=lo,n.toLength=uo,n.toLower=function(t){return fo(t).toLowerCase()},n.toNumber=co,n.toSafeInteger=function(t){return t?Ye(lo(t),-ht,ht):0===t?t:0},n.toString=fo,n.toUpper=function(t){return fo(t).toUpperCase()},n.trim=function(t,e,n){if((t=fo(t))&&(n||e===H))return t.replace(de,"");if(!t||!(e=ci(e)))return t;var i=z(t),r=z(e);return xi(i,$(i,r),I(i,r)+1).join("")},n.trimEnd=function(t,e,n){if((t=fo(t))&&(n||e===H))return t.replace(fe,"");if(!t||!(e=ci(e)))return t;var i=z(t);return xi(i,0,I(i,z(e))+1).join("")},n.trimStart=function(t,e,n){if((t=fo(t))&&(n||e===H))return t.r
if(!this.transitioning&&!this.$element.hasClass("in")){var e,r=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(r&&r.length&&(e=r.data("bs.collapse"))&&e.transitioning)){var o=t.Event("show.bs.collapse");if(this.$element.trigger(o),!o.isDefaultPrevented()){r&&r.length&&(n.call(r,"hide"),e||r.data("bs.collapse",null));var a=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[a](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var s=function(){this.$element.removeClass("collapsing").addClass("collapse in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return s.call(this);var l=t.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",t.proxy(s,this)).emulateTransitionEnd(i.TRANSITION_DURATION)[a](this.$element[0][l])}}}},i.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var r=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!t.support.transition)return r.call(this);this.$element[n](0).one("bsTransitionEnd",t.proxy(r,this)).emulateTransitionEnd(i.TRANSITION_DURATION)}}},i.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},i.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(n,i){var r=t(i);this.addAriaAndCollapsedClass(e(r),r)},this)).end()},i.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var r=t.fn.collapse;t.fn.collapse=n,t.fn.collapse.Constructor=i,t.fn.collapse.noConflict=function(){return t.fn.collapse=r,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(i){var r=t(this);r.attr("data-target")||i.preventDefault();var o=e(r),a=o.data("bs.collapse")?"toggle":r.data();n.call(o,a)})}(jQuery),function(t){"use strict";function e(e){e&&3===e.which||(t(i).remove(),t(r).each(function(){var i=t(this),r=n(i),o={relatedTarget:this};r.hasClass("open")&&(r.trigger(e=t.Event("hide.bs.dropdown",o)),e.isDefaultPrevented()||(i.attr("aria-expanded","false"),r.removeClass("open").trigger("hidden.bs.dropdown",o)))}))}function n(e){var n=e.attr("data-target");n||(n=(n=e.attr("href"))&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i=n&&t(n);return i&&i.length?i:e.parent()}var i=".dropdown-backdrop",r='[data-toggle="dropdown"]',o=function(e){t(e).on("click.bs.dropdown",this.toggle)};o.VERSION="3.3.4",o.prototype.toggle=function(i){var r=t(this);if(!r.is(".disabled, :disabled")){var o=n(r),a=o.hasClass("open");if(e(),!a){"ontouchstart"in document.documentElement&&!o.closest(".navbar-nav").length&&t('<div class="dropdown-backdrop"/>').insertAfter(t(this)).on("click",e);var s={relatedTarget:this};if(o.trigger(i=t.Event("show.bs.dropdown",s)),i.isDefaultPrevented())return;r.trigger("focus").attr("aria-expanded","true"),o.toggleClass("open").trigger("shown.bs.dropdown",s)}return!1}},o.prototype.keydown=function(e){if(/(38|40|27|32)/.test(e.which)&&!/input|textarea/i.test(e.target.tagName)){var i=t(this);if(e.preventDefault(),e.stopPropagation(),!i.is(".disabled, :disabled")){var o=n(i),a=o.hasClass("open");if(!a&&27!=e.which||a&&27==e.which)return 27==e.which&&o.find(r).trigger("focus"),i.trigger("click");var s=" li:not(.disabled):visible a",l=o.find('[role="menu"]'+s+', [role="listbox"]'+s);if(l.length){var u=l.index(e.target);38==e.which&&u>0&&u--,40==e.which&&u<l.length-1&&u++,~u||(u=0),l.eq(u).trigger("focus")}}}};var a=t.fn.dropdown;t.fn.dropdo
for(var e="",n=0;n<t;n++)e+=Math.floor(36*Math.random()).toString(36);return e},n.bind=function(t,e){return function(){t.apply(e,arguments)}},n._convertData=function(t){for(var e in t){var n=e.split("-"),i=t;if(1!==n.length){for(var r=0;r<n.length;r++){var o=n[r];(o=o.substring(0,1).toLowerCase()+o.substring(1))in i||(i[o]={}),r==n.length-1&&(i[o]=t[e]),i=i[o]}delete t[e]}}return t},n.hasScroll=function(e,n){var i=t(n),r=n.style.overflowX,o=n.style.overflowY;return(r!==o||"hidden"!==o&&"visible"!==o)&&("scroll"===r||"scroll"===o||i.innerHeight()<n.scrollHeight||i.innerWidth()<n.scrollWidth)},n.escapeMarkup=function(t){var e={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof t?t:String(t).replace(/[&<>"'\/\\]/g,function(t){return e[t]})},n.appendMany=function(e,n){if("1.7"===t.fn.jquery.substr(0,3)){var i=t();t.map(n,function(t){i=i.add(t)}),n=i}e.append(n)},n.__cache={};var r=0;return n.GetUniqueElementId=function(t){var e=t.getAttribute("data-select2-id");return null==e&&(t.id?(e=t.id,t.setAttribute("data-select2-id",e)):(t.setAttribute("data-select2-id",++r),e=r.toString())),e},n.StoreData=function(t,e,i){var r=n.GetUniqueElementId(t);n.__cache[r]||(n.__cache[r]={}),n.__cache[r][e]=i},n.GetData=function(e,i){var r=n.GetUniqueElementId(e);return i?n.__cache[r]&&null!=n.__cache[r][i]?n.__cache[r][i]:t(e).data(i):n.__cache[r]},n.RemoveData=function(t){var e=n.GetUniqueElementId(t);null!=n.__cache[e]&&delete n.__cache[e],t.removeAttribute("data-select2-id")},n}),e.define("select2/results",["jquery","./utils"],function(t,e){function n(t,e,i){this.$element=t,this.data=i,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e,e},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(e){var n=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var i=t('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),r=this.options.get("translations").get(e.message);i.append(n(r(e.args))),i[0].className+=" select2-results__message",this.$results.append(i)},n.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},n.prototype.append=function(t){this.hideLoading();var e=[];if(null!=t.results&&0!==t.results.length){t.results=this.sort(t.results);for(var n=0;n<t.results.length;n++){var i=t.results[n],r=this.option(i);e.push(r)}this.$results.append(e)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},n.prototype.position=function(t,e){e.find(".select2-results").append(t)},n.prototype.sort=function(t){return this.options.get("sorter")(t)},n.prototype.highlightFirstItem=function(){var t=this.$results.find(".select2-results__option[aria-selected]"),e=t.filter("[aria-selected=true]");e.length>0?e.first().trigger("mouseenter"):t.first().trigger("mouseenter"),this.ensureHighlightVisible()},n.prototype.setClasses=function(){var n=this;this.data.current(function(i){var r=t.map(i,function(t){return t.id.toString()});n.$results.find(".select2-results__option[aria-selected]").each(function(){var n=t(this),i=e.GetData(this,"data"),o=""+i.id;null!=i.element&&i.element.selected||null==i.element&&t.inArray(o,r)>-1?n.attr("aria-selected","true"):n.attr("aria-selected","false")})})},n.prototype.showLoading=function(t){this.hideLoading();var e={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(t)},n=this.option(e);n.className+=" loading-results",this.$results.prepend(n)},n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},n.prototype.option=function(n){var i=document.createElement("li");i.className="select2-results__option";var r={role:"option","aria-selected":"false"},o=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMat
;u.replaceWith(h)}else{var f=this.option(l);if(l.children){var p=this.convertToOptions(l.children);e.appendMany(f,p)}a.push(f)}}return a},i}),e.define("select2/data/ajax",["./array","../utils","jquery"],function(t,e,n){function i(t,e){this.ajaxOptions=this._applyDefaults(e.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),i.__super__.constructor.call(this,t,e)}return e.Extend(i,t),i.prototype._applyDefaults=function(t){var e={data:function(t){return n.extend({},t,{q:t.term})},transport:function(t,e,i){var r=n.ajax(t);return r.then(e),r.fail(i),r}};return n.extend({},e,t,!0)},i.prototype.processResults=function(t){return t},i.prototype.query=function(t,e){function i(){var i=o.transport(o,function(i){var o=r.processResults(i,t);r.options.get("debug")&&window.console&&console.error&&(o&&o.results&&n.isArray(o.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),e(o)},function(){"status"in i&&(0===i.status||"0"===i.status)||r.trigger("results:message",{message:"errorLoading"})});r._request=i}var r=this;null!=this._request&&(n.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var o=n.extend({type:"GET"},this.ajaxOptions);"function"==typeof o.url&&(o.url=o.url.call(this.$element,t)),"function"==typeof o.data&&(o.data=o.data.call(this.$element,t)),this.ajaxOptions.delay&&null!=t.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(i,this.ajaxOptions.delay)):i()},i}),e.define("select2/data/tags",["jquery"],function(t){function e(e,n,i){var r=i.get("tags"),o=i.get("createTag");void 0!==o&&(this.createTag=o);var a=i.get("insertTag");if(void 0!==a&&(this.insertTag=a),e.call(this,n,i),t.isArray(r))for(var s=0;s<r.length;s++){var l=r[s],u=this._normalizeItem(l),c=this.option(u);this.$element.append(c)}}return e.prototype.query=function(t,e,n){var i=this;this._removeOldTags(),null!=e.term&&null==e.page?t.call(this,e,function t(r,o){for(var a=r.results,s=0;s<a.length;s++){var l=a[s],u=null!=l.children&&!t({results:l.children},!0);if((l.text||"").toUpperCase()===(e.term||"").toUpperCase()||u)return!o&&(r.data=a,void n(r))}if(o)return!0;var c=i.createTag(e);if(null!=c){var d=i.option(c);d.attr("data-select2-tag",!0),i.addOptions([d]),i.insertTag(a,c)}r.results=a,n(r)}):t.call(this,e,n)},e.prototype.createTag=function(e,n){var i=t.trim(n.term);return""===i?null:{id:i,text:i}},e.prototype.insertTag=function(t,e,n){e.unshift(n)},e.prototype._removeOldTags=function(e){this.$element.find("option[data-select2-tag]").each(function(){this.selected||t(this).remove()})},e}),e.define("select2/data/tokenizer",["jquery"],function(t){function e(t,e,n){var i=n.get("tokenizer");void 0!==i&&(this.tokenizer=i),t.call(this,e,n)}return e.prototype.bind=function(t,e,n){t.call(this,e,n),this.$search=e.dropdown.$search||e.selection.$search||n.find(".select2-search__field")},e.prototype.query=function(e,n,i){var r=this;n.term=n.term||"";var o=this.tokenizer(n,this.options,function(e){var n=r._normalizeItem(e);if(!r.$element.find("option").filter(function(){return t(this).val()===n.id}).length){var i=r.option(n);i.attr("data-select2-tag",!0),r._removeOldTags(),r.addOptions([i])}!function(t){r.trigger("select",{data:t})}(n)});o.term!==n.term&&(this.$search.length&&(this.$search.val(o.term),this.$search.trigger("focus")),n.term=o.term),e.call(this,n,i)},e.prototype.tokenizer=function(e,n,i,r){for(var o=i.get("tokenSeparators")||[],a=n.term,s=0,l=this.createTag||function(t){return{id:t.term,text:t.term}};s<a.length;){var u=a[s];if(-1!==t.inArray(u,o)){var c=a.substr(0,s),d=l(t.extend({},n,{term:c}));null!=d?(r(d),a=a.substr(s+1)||"",s=0):s++}else s++}return{term:a}},e}),e.define("select2/data/minimumInputLength",[],function(){function t(t,e,n){this.minimumInputLength=n.get("minimumInputLength"),t.call(this,e,n)}return t.prototype.query=function(t,e,n){e.term=e.term||"",e.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimu
;null==t&&window.console&&console.error&&console.error("The select2('"+e+"') method was called on an element that is not using Select2."),i=t[e].apply(t,a)}),t.inArray(e,o)>-1?this:i}throw new Error("Invalid arguments for Select2: "+e)}}return null==t.fn.select2.defaults&&(t.fn.select2.defaults=i),n}),{define:e.define,require:e.require}}(),n=e.require("jquery.select2");return t.fn.select2.amd=e,n},r=[n("7t+N")],void 0===(o="function"==typeof(i=a)?i.apply(e,r):i)||(t.exports=o)},hw3k:function(t,e){lineOptions={legend:{position:"bottom"},scales:{yAxes:[{ticks:{fontColor:"rgba(0,0,0,0.5)",fontStyle:"bold",beginAtZero:!0,maxTicksLimit:5,padding:20},gridLines:{drawTicks:!1,display:!1}}],xAxes:[{gridLines:{zeroLineColor:"transparent"},ticks:{padding:20,fontColor:"rgba(0,0,0,0.5)",fontStyle:"bold"}}]}},pieOptions={segmentShowStroke:!0,segmentStrokeColor:"#fff",segmentStrokeWidth:1,percentageInnerCutout:50,animationSteps:100,animationEasing:"easeOutBounce",animateRotate:!0,animateScale:!1,responsive:!0,maintainAspectRatio:!1,legendTemplate:"<ul class=\"<%=name.toLowerCase()%>-legend\"><% for (var i=0; i<segments.length; i++){%><li><i class='fa fa-circle-o' style='color: <%=segments[i].fillColor%>'></i><%if(segments[i].label){%><%=segments[i].label%><%}%> foo</li><%}%></ul>",tooltipTemplate:"<%=value %> <%=label%> "},$('meta[name="baseUrl"]').attr("content"),function(t,e){var n={modals:{}};n.modals.confirmDelete=function(){var e=t("table"),n=function(e){var n=t(this),i=t("#dataConfirmModal"),r=n.attr("href"),o=n.attr("data-content"),a=n.attr("data-title");return t("#myModalLabel").text(a),i.find(".modal-body").text(o),t("#deleteForm").attr("action",r),i.modal({show:!0}),!1};return{render:function(){e.on("click",".delete-asset",n)}}},t(function(){(new n.modals.confirmDelete).render()})}(jQuery,window.snipeit.settings),$(document).ready(function(){function t(t){t instanceof jQuery||(t=$(t));var e=t.data("select2");return searchElement=e.dropdown.$search||e.$container.find(".select2-search__field"),searchElement.val()}function e(t){if(t.loading)return'<i class="fa fa-spinner fa-spin" aria-hidden="true"></i> Loading...';var e="<div class='clearfix'>";return e+="<div class='pull-left' style='padding-right: 10px;'>",t.image?e+="<div style='width: 30px;'><img src='"+t.image+"' style='max-height: 20px; max-width: 30px;' alt='"+t.text+"'></div>":e+="<div style='height: 20px; width: 30px;'></div>",e+="</div><div>"+t.text+"</div>",e+="</div>"}function n(t){return t.text.replace(/>/g,"&gt;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}function i(t){return t<1024?t+" Bytes":t<1048576?(t/1024).toFixed(2)+" KB":t<1073741824?(t/1048576).toFixed(2)+" MB":(t/1073741824).toFixed(2)+" GB"}$(".slideout-menu-toggle").on("click",function(t){t.preventDefault();var e=$(".slideout-menu"),n=$(".slideout-menu").width();e.toggleClass("open"),e.hasClass("open")?(e.show(),e.animate({right:"0px"})):(e.animate({right:-n},"-350px"),e.fadeOut())}),$('input[type="checkbox"].minimal, input[type="radio"].minimal').iCheck({checkboxClass:"icheckbox_minimal-blue",radioClass:"iradio_minimal-blue"}),/iPhone|iPad|iPod/.test(navigator.userAgent)&&!window.MSStream||$('select.select2:not(".select2-hidden-accessible")').each(function(t,e){$(e).select2()}),$(".js-data-ajax").each(function(t,i){var r=$(i),o=r.data("endpoint");r.data("select"),r.select2({placeholder:"",allowClear:!0,ajax:{url:Ziggy.baseUrl+"api/v1/"+o+"/selectlist",dataType:"json",delay:250,headers:{"X-Requested-With":"XMLHttpRequest","X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")},data:function(t){return{search:t.term,page:t.page||1,assetStatusType:r.data("asset-status-type")}},processResults:function(t,e){return e.page=e.page||1,{results:t.items,pagination:{more:t.pagination.more}}},cache:!0},escapeMarkup:function(t){return t},templateResult:e,templateSelection:n})}),$(".select2-hidden-accessible").on("select2:selecting",function(e){var n=e.params.args.data,i=!1,r=$(this),o=t(r);e.params.args.originalEvent&&(i="mouseup"==e.params.args.originalEvent.type),i||(o.toLowerCase()&
var e=t.Event("expanded.boxwidget"),n=t.Event("expanding.boxwidget"),i=this.options.collapseIcon,r=this.options.expandIcon;t(this.element).removeClass(u),t(this.element).children(o+", "+a+", "+s).children(l).find("."+r).removeClass(r).addClass(i),t(this.element).children(a+", "+s).slideDown(this.options.animationSpeed,function(){t(this.element).trigger(e)}.bind(this)).trigger(n)},e.prototype.collapse=function(){var e=t.Event("collapsed.boxwidget"),n=t.Event("collapsing.boxwidget"),i=this.options.collapseIcon,r=this.options.expandIcon;t(this.element).children(o+", "+a+", "+s).children(l).find("."+i).removeClass(i).addClass(r),t(this.element).children(a+", "+s).slideUp(this.options.animationSpeed,function(){t(this.element).addClass(u),t(this.element).trigger(e)}.bind(this)).trigger(n)},e.prototype.remove=function(){var e=t.Event("removed.boxwidget"),n=t.Event("removing.boxwidget");t(this.element).slideUp(this.options.animationSpeed,function(){t(this.element).trigger(e),t(this.element).remove()}.bind(this)).trigger(n)},e.prototype._setUpListeners=function(){var e=this;t(this.element).on("click",this.options.collapseTrigger,function(n){return n&&n.preventDefault(),e.toggle(t(this)),!1}),t(this.element).on("click",this.options.removeTrigger,function(n){return n&&n.preventDefault(),e.remove(t(this)),!1})};var c=t.fn.boxWidget;t.fn.boxWidget=n,t.fn.boxWidget.Constructor=e,t.fn.boxWidget.noConflict=function(){return t.fn.boxWidget=c,this},t(window).on("load",function(){t(".box").each(function(){n.call(t(this))})})}(jQuery),function(t){"use strict";function e(t,e){this.element=t,this.options=e,this.hasBindedResize=!1,this.init()}function n(n){return this.each(function(){var o=t(this),a=o.data(i);if(!a){var s=t.extend({},r,o.data(),"object"==typeof n&&n);o.data(i,a=new e(o,s))}"string"==typeof n&&a.toggle()})}var i="lte.controlsidebar",r={controlsidebarSlide:!0},o=".control-sidebar",a='[data-toggle="control-sidebar"]',s=".control-sidebar-open",l="control-sidebar-open",u="control-sidebar-hold-transition";e.prototype.init=function(){t(this.element).is(a)||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(u).addClass(l).delay(50).queue(function(){t("body").removeClass(u),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(u).removeClass(l).delay(50).queue(function(){t("body").removeClass(u),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 c=t.fn.controlSidebar;t.fn.controlSidebar=n,t.fn.controlSidebar.Constructor=e,t.fn.controlSidebar.noConflict=function(){return t.fn.controlSidebar=c,this},t(document).on("click",a,function(e){e&&e.preventDefault(),n.call(t(this),"toggle")})}(jQuery),function(t){"use strict";function e(t){this.element=t}function n(n){return this.each(function(){var r=t(this),o=r.data(i);o||r.data(i,o=new e(r)),"string"==typeof n&&o.toggle(r)})}var i="lte.directchat";e.prototype.toggle=function(t){t.parents(".direct-chat").first().toggleClass("direct-chat-contacts-open")};var r=t.fn.directChat;t.fn.directChat=n,t.fn.directChat.Constructor=e,t.fn.directChat.noConflict=function(){return t.fn.directChat=r,this},t(document).on("click",'[data-widget="chat-pane-toggle"]',function(e){e&&e.preventDefault(),n.call(t(this),"toggle")})}(jQuery),function(t){"use strict";function e(t){this.options=t,this.init()}function n(n){return this.each(function(){var o=t(this),a=o.data(i);if(!a){var s=t.extend({},r,o.data(),"object"==typeof n&&n);o.data(i,a=new e(s))}"toggle"===n&&a.toggl
y.left="right"):i<_[0]&&"right"===y.left&&(i+=u,y.left="left"))),"element"!==d&&"both"!==d||(n<_[1]&&"bottom"===y.top&&(n+=l,y.top="top"),n+l>_[3]&&"top"===y.top&&(n-=l,y.top="bottom")),"element"!==c&&"both"!==c||(i<_[0]&&("right"===y.left?(i+=u,y.left="left"):"center"===y.left&&(i+=u/2,y.left="left")),i+u>_[2]&&("left"===y.left?(i-=u,y.left="right"):"center"===y.left&&(i-=u/2,y.left="right"))),"string"==typeof s?s=s.split(",").map(function(t){return t.trim()}):!0===s&&(s=["top","left","right","bottom"]),s=s||[];var x=[],w=[];n<_[1]&&(s.indexOf("top")>=0?(n=_[1],x.push("top")):w.push("top")),n+l>_[3]&&(s.indexOf("bottom")>=0?(n=_[3]-l,x.push("bottom")):w.push("bottom")),i<_[0]&&(s.indexOf("left")>=0?(i=_[0],x.push("left")):w.push("left")),i+u>_[2]&&(s.indexOf("right")>=0?(i=_[2]-u,x.push("right")):w.push("right")),x.length&&function(){var t=void 0;t=void 0!==e.options.pinnedClass?e.options.pinnedClass:e.getClass("pinned"),v.push(t),x.forEach(function(e){v.push(t+"-"+e)})}(),w.length&&function(){var t=void 0;t=void 0!==e.options.outOfBoundsClass?e.options.outOfBoundsClass:e.getClass("out-of-bounds"),v.push(t),w.forEach(function(e){v.push(t+"-"+e)})}(),(x.indexOf("left")>=0||x.indexOf("right")>=0)&&(y.left=m.left=!1),(x.indexOf("top")>=0||x.indexOf("bottom")>=0)&&(y.top=m.top=!1),m.top===o.top&&m.left===o.left&&y.top===e.attachment.top&&y.left===e.attachment.left||(e.updateAttachClasses(y,m),e.trigger("update",{attachment:y,targetAttachment:m}))}),A(function(){!1!==e.options.addTargetClasses&&f(e.target,v,g),f(e.element,v,g)}),{top:n,left:i}}});var I=x.Utils,r=I.getBounds,f=I.updateClasses,A=I.defer;x.modules.push({position:function(t){var e=this,n=t.top,i=t.left,o=this.cache("element-bounds",function(){return r(e.element)}),a=o.height,s=o.width,l=this.getTargetBounds(),u=n+a,c=i+s,d=[];n<=l.bottom&&u>=l.top&&["left","right"].forEach(function(t){var e=l[t];e!==i&&e!==c||d.push(t)}),i<=l.right&&c>=l.left&&["top","bottom"].forEach(function(t){var e=l[t];e!==n&&e!==u||d.push(t)});var h=[],p=[],g=["left","top","right","bottom"];return h.push(this.getClass("abutted")),g.forEach(function(t){h.push(e.getClass("abutted")+"-"+t)}),d.length&&p.push(this.getClass("abutted")),d.forEach(function(t){p.push(e.getClass("abutted")+"-"+t)}),A(function(){!1!==e.options.addTargetClasses&&f(e.target,p,h),f(e.element,p,h)}),!0}});var O=function(){function t(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);i=!0);}catch(t){r=!0,o=t}finally{try{!i&&s.return&&s.return()}finally{if(r)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();return x.modules.push({position:function(t){var e=t.top,n=t.left;if(this.options.shift){var i=this.options.shift;"function"==typeof this.options.shift&&(i=this.options.shift.call(this,{top:e,left:n}));var r=void 0,o=void 0;if("string"==typeof i){i=i.split(" "),i[1]=i[1]||i[0];var a=i,s=O(a,2);r=s[0],o=s[1],r=parseFloat(r,10),o=parseFloat(o,10)}else r=i.top,o=i.left;return e+=r,n+=o,{top:e,left:n}}}}),V}),function(e){e.fn.extend({slimScroll:function(n){var i={width:"auto",height:"250px",size:"7px",color:"#000",position:"right",distance:"1px",start:"top",opacity:.4,alwaysVisible:!1,disableFadeOut:!1,railVisible:!1,railColor:"#333",railOpacity:.2,railDraggable:!0,railClass:"slimScrollRail",barClass:"slimScrollBar",wrapperClass:"slimScrollDiv",allowPageScroll:!1,wheelStep:20,touchScrollStep:200,borderRadius:"7px",railBorderRadius:"7px"},r=e.extend(i,n);return this.each(function(){function i(t){if(u){var t=t||window.event,n=0;t.wheelDelta&&(n=-t.wheelDelta/120),t.detail&&(n=t.detail/3);var i=t.target||t.srcTarget||t.srcElement;e(i).closest("."+r.wrapperClass).is(_.parent())&&o(n,!0),t.preventDefault&&!b&&t.preventDefault(),b||(t.returnValue=!1)}}function o(t,e,n){b=!1;var i=t,o=_.outerHeight()-T.outerHeight();if(e&&(i=parseInt(T.css("top"))+t*parseInt(r.wheelStep)/100*T.outerHeight(),i=Math.min(Math.max(i
return!(!t||!("string"==typeof t||t instanceof String))&&("transparent"===(t=t.toLowerCase().trim())||t.match(/#?00000000/)||t.match(/(rgba|hsla)\(0,0,0,0?\.?0\)/))},rgbaIsTransparent:function(t){return 0===t.r&&0===t.g&&0===t.b&&0===t.a},setColor:function(t){if(t=t.toLowerCase().trim()){if(this.isTransparent(t))return this.value={h:0,s:0,b:0,a:0},!0;var e=this.parse(t);e?(this.value=this.value={h:e.h,s:e.s,b:e.b,a:e.a},this.origFormat||(this.origFormat=e.format)):this.fallbackValue&&(this.value=this.fallbackValue)}return!1},setHue:function(t){this.value.h=1-t},setSaturation:function(t){this.value.s=t},setBrightness:function(t){this.value.b=1-t},setAlpha:function(t){this.value.a=Math.round(parseInt(100*(1-t),10)/100*100)/100},toRGB:function(t,e,n,i){0===arguments.length&&(t=this.value.h,e=this.value.s,n=this.value.b,i=this.value.a),t*=360;var r,o,a,s,l;return t=t%360/60,l=n*e,s=l*(1-Math.abs(t%2-1)),r=o=a=n-l,t=~~t,r+=[l,s,0,0,s,l][t],o+=[s,l,l,s,0,0][t],a+=[0,0,s,l,l,s][t],{r:Math.round(255*r),g:Math.round(255*o),b:Math.round(255*a),a:i}},toHex:function(t,e,n,i,r){arguments.length<=1&&(e=this.value.h,n=this.value.s,i=this.value.b,r=this.value.a);var o="#",a=this.toRGB(e,n,i,r);return this.rgbaIsTransparent(a)?"transparent":(t||(o=this.hexNumberSignPrefix?"#":""),o+((1<<24)+(parseInt(a.r)<<16)+(parseInt(a.g)<<8)+parseInt(a.b)).toString(16).slice(1))},toHSL:function(t,e,n,i){0===arguments.length&&(t=this.value.h,e=this.value.s,n=this.value.b,i=this.value.a);var r=t,o=(2-e)*n,a=e*n;return a/=o>0&&o<=1?o:2-o,o/=2,a>1&&(a=1),{h:isNaN(r)?0:r,s:isNaN(a)?0:a,l:isNaN(o)?0:o,a:isNaN(i)?0:i}},toAlias:function(t,e,n,i){var r,o=0===arguments.length?this.toHex(!0):this.toHex(!0,t,e,n,i),a="alias"===this.origFormat?o:this.toString(!1,this.origFormat);for(var s in this.colors)if((r=this.colors[s].toLowerCase().trim())===o||r===a)return s;return!1},RGBtoHSB:function(t,e,n,i){t/=255,e/=255,n/=255;var r,o,a,s;return a=Math.max(t,e,n),s=a-Math.min(t,e,n),r=0===s?null:a===t?(e-n)/s:a===e?(n-t)/s+2:(t-e)/s+4,r=(r+360)%6*60/360,o=0===s?0:s/a,{h:this._sanitizeNumber(r),s:o,b:a,a:this._sanitizeNumber(i)}},HueToRGB:function(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t},HSLtoRGB:function(t,e,n,i){e<0&&(e=0);var r;r=n<=.5?n*(1+e):n+e-n*e;var o=2*n-r,a=t+1/3,s=t,l=t-1/3;return[Math.round(255*this.HueToRGB(o,r,a)),Math.round(255*this.HueToRGB(o,r,s)),Math.round(255*this.HueToRGB(o,r,l)),this._sanitizeNumber(i)]},parse:function(e){if("string"!=typeof e)return this.fallbackValue;if(0===arguments.length)return!1;var n,i,r=this,o=!1,a=void 0!==this.colors[e];return a&&(e=this.colors[e].toLowerCase().trim()),t.each(this.stringParsers,function(t,s){var l=s.re.exec(e);return!(n=l&&s.parse.apply(r,[l]))||(o={},i=a?"alias":s.format?s.format:r.getValidFallbackFormat(),o=i.match(/hsla?/)?r.RGBtoHSB.apply(r,r.HSLtoRGB.apply(r,n)):r.RGBtoHSB.apply(r,n),o instanceof Object&&(o.format=i),!1)}),o},getValidFallbackFormat:function(){var t=["rgba","rgb","hex","hsla","hsl"];return this.origFormat&&-1!==t.indexOf(this.origFormat)?this.origFormat:this.fallbackFormat&&-1!==t.indexOf(this.fallbackFormat)?this.fallbackFormat:"rgba"},toString:function(t,n,i){n=n||this.origFormat||this.fallbackFormat,i=i||!1;var r=!1;switch(n){case"rgb":return r=this.toRGB(),this.rgbaIsTransparent(r)?"transparent":"rgb("+r.r+","+r.g+","+r.b+")";case"rgba":return r=this.toRGB(),"rgba("+r.r+","+r.g+","+r.b+","+r.a+")";case"hsl":return r=this.toHSL(),"hsl("+Math.round(360*r.h)+","+Math.round(100*r.s)+"%,"+Math.round(100*r.l)+"%)";case"hsla":return r=this.toHSL(),"hsla("+Math.round(360*r.h)+","+Math.round(100*r.s)+"%,"+Math.round(100*r.l)+"%,"+r.a+")";case"hex":return this.toHex(t);case"alias":return r=this.toAlias(),!1===r?this.toString(t,this.getValidFallbackFormat()):i&&!(r in e.webColors)&&r in this.predefinedColors?this.predefinedColors[r]:r;default:return r}},stringParsers:[{re:/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*?\)/,format:"rgb",parse:function(t){return[t[1],t[2],t[3],1]}},{re:/rgb\(\s*(\d*(?:\.\d+)?)\%\s*,\s*(\d*(?:\.\d+)?)\%\s*
this.o.todayHighlight&&r(e,s)&&n.push("today"),-1!==this.dates.contains(e)&&n.push("active"),this.dateWithinRange(e)||n.push("disabled"),this.dateIsDisabled(e)&&n.push("disabled","disabled-date"),-1!==t.inArray(e.getUTCDay(),this.o.daysOfWeekHighlighted)&&n.push("highlighted"),this.range&&(e>this.range[0]&&e<this.range[this.range.length-1]&&n.push("range"),-1!==t.inArray(e.valueOf(),this.range)&&n.push("selected"),e.valueOf()===this.range[0]&&n.push("range-start"),e.valueOf()===this.range[this.range.length-1]&&n.push("range-end")),n},_fill_yearsView:function(n,i,r,o,a,s,l){for(var u,c,d,h="",f=r/10,p=this.picker.find(n),g=Math.floor(o/r)*r,v=g+9*f,m=Math.floor(this.viewDate.getFullYear()/f)*f,y=t.map(this.dates,function(t){return Math.floor(t.getUTCFullYear()/f)*f}),b=g-f;b<=v+f;b+=f)u=[i],c=null,b===g-f?u.push("old"):b===v+f&&u.push("new"),-1!==t.inArray(b,y)&&u.push("active"),(b<a||b>s)&&u.push("disabled"),b===m&&u.push("focused"),l!==t.noop&&(d=l(new Date(b,0,1)),d===e?d={}:"boolean"==typeof d?d={enabled:d}:"string"==typeof d&&(d={classes:d}),!1===d.enabled&&u.push("disabled"),d.classes&&(u=u.concat(d.classes.split(/\s+/))),d.tooltip&&(c=d.tooltip)),h+='<span class="'+u.join(" ")+'"'+(c?' title="'+c+'"':"")+">"+b+"</span>";p.find(".datepicker-switch").text(g+"-"+v),p.find("td").html(h)},fill:function(){var r,o,a=new Date(this.viewDate),s=a.getUTCFullYear(),l=a.getUTCMonth(),u=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,c=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,d=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,h=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,f=v[this.o.language].today||v.en.today||"",p=v[this.o.language].clear||v.en.clear||"",g=v[this.o.language].titleFormat||v.en.titleFormat,y=i(),b=(!0===this.o.todayBtn||"linked"===this.o.todayBtn)&&y>=this.o.startDate&&y<=this.o.endDate&&!this.weekOfDateIsDisabled(y);if(!isNaN(s)&&!isNaN(l)){this.picker.find(".datepicker-days .datepicker-switch").text(m.formatDate(a,g,this.o.language)),this.picker.find("tfoot .today").text(f).css("display",b?"table-cell":"none"),this.picker.find("tfoot .clear").text(p).css("display",!0===this.o.clearBtn?"table-cell":"none"),this.picker.find("thead .datepicker-title").text(this.o.title).css("display","string"==typeof this.o.title&&""!==this.o.title?"table-cell":"none"),this.updateNavArrows(),this.fillMonths();var _=n(s,l,0),x=_.getUTCDate();_.setUTCDate(x-(_.getUTCDay()-this.o.weekStart+7)%7);var w=new Date(_);_.getUTCFullYear()<100&&w.setUTCFullYear(_.getUTCFullYear()),w.setUTCDate(w.getUTCDate()+42),w=w.valueOf();for(var C,k,S=[];_.valueOf()<w;){if((C=_.getUTCDay())===this.o.weekStart&&(S.push("<tr>"),this.o.calendarWeeks)){var T=new Date(+_+(this.o.weekStart-C-7)%7*864e5),D=new Date(Number(T)+(11-T.getUTCDay())%7*864e5),A=new Date(Number(A=n(D.getUTCFullYear(),0,1))+(11-A.getUTCDay())%7*864e5),E=(D-A)/864e5/7+1;S.push('<td class="cw">'+E+"</td>")}k=this.getClassNames(_),k.push("day");var M=_.getUTCDate();this.o.beforeShowDay!==t.noop&&(o=this.o.beforeShowDay(this._utc_to_local(_)),o===e?o={}:"boolean"==typeof o?o={enabled:o}:"string"==typeof o&&(o={classes:o}),!1===o.enabled&&k.push("disabled"),o.classes&&(k=k.concat(o.classes.split(/\s+/))),o.tooltip&&(r=o.tooltip),o.content&&(M=o.content)),k=t.isFunction(t.uniqueSort)?t.uniqueSort(k):t.unique(k),S.push('<td class="'+k.join(" ")+'"'+(r?' title="'+r+'"':"")+' data-date="'+_.getTime().toString()+'">'+M+"</td>"),r=null,C===this.o.weekEnd&&S.push("</tr>"),_.setUTCDate(_.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").html(S.join(""));var O=v[this.o.language].monthsTitle||v.en.monthsTitle||"Months",$=this.picker.find(".datepicker-months").find(".datepicker-switch").text(this.o.maxViewMode<2?O:s).end().find("tbody span").removeClass("active");if(t.each(this.dates,function(t,e){e.getUTCFullYear()===s&&$.eq(e.getUTCMonth()).addClass("active")}),(s<u||s>d)&&$.addClass("disabled"),s===u&&$.slice(0,c).addClass("disabled"),s===d&&$.slice(h+1).addClass("disabled"),this.o.beforeShowMonth!==t.noop){var I=this;t.each($,function(n
;var i=e/n,r=this._padding.left+this._padding.right+this._border.left+this._border.right,o=this._config.doc.body.clientWidth>575?20:0,a=this._config.doc.body.clientWidth>575?0:20,s=Math.min(e+r,this._config.doc.body.clientWidth-o,this._config.maxWidth);e+r>s?(n=(s-r-a)/i,e=s):e+=r;var l=0,u=0;this._footerIsShown&&(u=this._$modalFooter.outerHeight(!0)||55),this._titleIsShown&&(l=this._$modalHeader.outerHeight(!0)||67);var c=this._padding.top+this._padding.bottom+this._border.bottom+this._border.top,d=parseFloat(this._$modalDialog.css("margin-top"))+parseFloat(this._$modalDialog.css("margin-bottom")),h=Math.min(n,t(window).height()-c-d-l-u,this._config.maxHeight-c-l-u);n>h&&(e=Math.ceil(h*i)+r),this._$lightboxContainer.css("height",h),this._$modalDialog.css("flex",1).css("maxWidth",e);var f=this._$modal.data("bs.modal");if(f)try{f._handleUpdate()}catch(t){f.handleUpdate()}return this}}],[{key:"_jQueryInterface",value:function(e){var n=this;return e=e||{},this.each(function(){var r=t(n),o=t.extend({},i.Default,r.data(),"object"==typeof e&&e);new i(n,o)})}}]),i}();t.fn[i]=a._jQueryInterface,t.fn[i].Constructor=a,t.fn[i].noConflict=function(){return t.fn[i]=r,a._jQueryInterface}}(jQuery)}(jQuery),function(t){function e(t,e,r){var o=t[0],a=/er/.test(r)?g:/bl/.test(r)?f:d,s=r==v?{checked:o[d],disabled:o[f],indeterminate:"true"==t.attr(g)||"false"==t.attr(p)}:o[a];if(/^(ch|di|in)/.test(r)&&!s)n(t,a);else if(/^(un|en|de)/.test(r)&&s)i(t,a);else if(r==v)for(var l in s)s[l]?n(t,l,!0):i(t,l,!0);else e&&"toggle"!=r||(e||t[x]("ifClicked"),s?o[m]!==c&&i(t,a):n(t,a))}function n(e,n,r){var v=e[0],y=e.parent(),x=n==d,w=n==g,k=n==f,S=w?p:x?h:"enabled",T=o(e,S+a(v[m])),D=o(e,n+a(v[m]));if(!0!==v[n]){if(!r&&n==d&&v[m]==c&&v.name){var A=e.closest("form"),E='input[name="'+v.name+'"]';E=A.length?A.find(E):t(E),E.each(function(){this!==v&&t(this).data(l)&&i(t(this),n)})}w?(v[n]=!0,v[d]&&i(e,d,"force")):(r||(v[n]=!0),x&&v[g]&&i(e,g,!1)),s(e,x,n,r)}v[f]&&o(e,C,!0)&&y.find("."+u).css(C,"default"),y[b](D||o(e,n)||""),y.attr("role")&&!w&&y.attr("aria-"+(k?f:d),"true"),y[_](T||o(e,S)||"")}function i(t,e,n){var i=t[0],r=t.parent(),l=e==d,c=e==g,v=e==f,y=c?p:l?h:"enabled",x=o(t,y+a(i[m])),w=o(t,e+a(i[m]));!1!==i[e]&&(!c&&n&&"force"!=n||(i[e]=!1),s(t,l,y,n)),!i[f]&&o(t,C,!0)&&r.find("."+u).css(C,"pointer"),r[_](w||o(t,e)||""),r.attr("role")&&!c&&r.attr("aria-"+(v?f:d),"false"),r[b](x||o(t,y)||"")}function r(e,n){e.data(l)&&(e.parent().html(e.attr("style",e.data(l).s||"")),n&&e[x](n),e.off(".i").unwrap(),t(w+'[for="'+e[0].id+'"]').add(e.closest(w)).off(".i"))}function o(t,e,n){if(t.data(l))return t.data(l).o[e+(n?"":"Class")]}function a(t){return t.charAt(0).toUpperCase()+t.slice(1)}function s(t,e,n,i){i||(e&&t[x]("ifToggled"),t[x]("ifChanged")[x]("if"+a(n)))}var l="iCheck",u=l+"-helper",c="radio",d="checked",h="un"+d,f="disabled",p="determinate",g="in"+p,v="update",m="type",y="touchbegin.i touchend.i",b="addClass",_="removeClass",x="trigger",w="label",C="cursor",k=/ipad|iphone|ipod|android|blackberry|windows phone|opera mini|silk/i.test(navigator.userAgent);t.fn[l]=function(o,a){var s='input[type="checkbox"], input[type="'+c+'"]',h=t(),p=function(e){e.each(function(){var e=t(this);h=e.is(s)?h.add(e):h.add(e.find(s))})};if(/^(check|uncheck|toggle|indeterminate|determinate|disable|enable|update|destroy)$/i.test(o))return o=o.toLowerCase(),p(this),h.each(function(){var n=t(this);"destroy"==o?r(n,"ifDestroyed"):e(n,!0,o),t.isFunction(a)&&a()});if("object"!=typeof o&&o)return this;var C=t.extend({checkedClass:d,disabledClass:f,indeterminateClass:g,labelHover:!0},o),S=C.handle,T=C.hoverClass||"hover",D=C.focusClass||"focus",A=C.activeClass||"active",E=!!C.labelHover,M=C.labelHoverClass||"hover",O=0|(""+C.increaseArea).replace("%","");return"checkbox"!=S&&S!=c||(s='input[type="'+S+'"]'),O<-50&&(O=-50),p(this),h.each(function(){var o=t(this);r(o);var a,s=this,h=s.id,p=-O+"%",g=100+2*O+"%",S={position:"absolute",top:p,left:p,display:"block",width:g,height:g,margin:0,padding:0,background:"#fff",border:0,opacity:0},$=k?{position:"absolute",visibility:"hidden"}:O?S
d.start<o.t&&(o.t=d.start,a.t=l),d.end>o.b&&(o.b=d.end,a.b=l)}t.setReductions(t.drawingArea,o,a)}function he(t){return 0===t||180===t?"center":t<180?"left":"right"}function fe(t,e,n,i){var r,o,a=n.y+i/2;if(An.isArray(e))for(r=0,o=e.length;r<o;++r)t.fillText(e[r],n.x,a),a+=i;else t.fillText(e,n.x,a)}function pe(t,e,n){90===t||270===t?n.y-=e.h/2:(t>270||t<90)&&(n.y-=e.h)}function ge(t){var e=t.ctx,n=t.options,i=n.pointLabels,r=le(n),o=t.getDistanceFromCenterForValue(n.ticks.reverse?t.min:t.max),a=An.options._parseFont(i);e.save(),e.font=a.string,e.textBaseline="middle";for(var s=t.chart.data.labels.length-1;s>=0;s--){var l=0===s?r/2:0,u=t.getPointPosition(s,o+l+5),c=Tr(i.fontColor,s,mn.global.defaultFontColor);e.fillStyle=c;var d=t.getIndexAngle(s),h=An.toDegrees(d);e.textAlign=he(h),pe(h,t._pointLabelSizes[s],u),fe(e,t.pointLabels[s],u,a.lineHeight)}e.restore()}function ve(t,e,n,i){var r,o=t.ctx,a=e.circular,s=t.chart.data.labels.length,l=Tr(e.color,i-1),u=Tr(e.lineWidth,i-1);if((a||s)&&l&&u){if(o.save(),o.strokeStyle=l,o.lineWidth=u,o.setLineDash&&(o.setLineDash(e.borderDash||[]),o.lineDashOffset=e.borderDashOffset||0),o.beginPath(),a)o.arc(t.xCenter,t.yCenter,n,0,2*Math.PI);else{r=t.getPointPosition(0,n),o.moveTo(r.x,r.y);for(var c=1;c<s;c++)r=t.getPointPosition(c,n),o.lineTo(r.x,r.y)}o.closePath(),o.stroke(),o.restore()}}function me(t){return An.isNumber(t)?t:0}function ye(t,e){return t-e}function be(t){var e,n,i,r={},o=[];for(e=0,n=t.length;e<n;++e)i=t[e],r[i]||(r[i]=!0,o.push(i));return o}function _e(t){return An.valueOrDefault(t.time.min,t.ticks.min)}function xe(t){return An.valueOrDefault(t.time.max,t.ticks.max)}function we(t,e,n,i){if("linear"===i||!t.length)return[{time:e,pos:0},{time:n,pos:1}];var r,o,a,s,l,u=[],c=[e];for(r=0,o=t.length;r<o;++r)(s=t[r])>e&&s<n&&c.push(s);for(c.push(n),r=0,o=c.length;r<o;++r)l=c[r+1],a=c[r-1],s=c[r],void 0!==a&&void 0!==l&&Math.round((l+a)/2)===s||u.push({time:s,pos:r/(o-1)});return u}function Ce(t,e,n){for(var i,r,o,a=0,s=t.length-1;a>=0&&a<=s;){if(i=a+s>>1,r=t[i-1]||null,o=t[i],!r)return{lo:null,hi:o};if(o[e]<n)a=i+1;else{if(!(r[e]>n))return{lo:r,hi:o};s=i-1}}return{lo:o,hi:null}}function ke(t,e,n,i){var r=Ce(t,e,n),o=r.lo?r.hi?r.lo:t[t.length-2]:t[0],a=r.lo?r.hi?r.hi:t[t.length-1]:t[1],s=a[e]-o[e],l=s?(n-o[e])/s:0,u=(a[i]-o[i])*l;return o[i]+u}function Se(t,e){var n=t._adapter,i=t.options.time,r=i.parser,o=r||i.format,a=e;return"function"==typeof r&&(a=r(a)),An.isFinite(a)||(a="string"==typeof o?n.parse(a,o):n.parse(a)),null!==a?+a:(r||"function"!=typeof o||(a=o(e),An.isFinite(a)||(a=n.parse(a))),a)}function Te(t,e){if(An.isNullOrUndef(e))return null;var n=t.options.time,i=Se(t,t.getRightValue(e));return null===i?i:(n.round&&(i=+t._adapter.startOf(i,n.round)),i)}function De(t,e,n,i){var r,o,a,s=Lr.length;for(r=Lr.indexOf(t);r<s-1;++r)if(o=Nr[Lr[r]],a=o.steps?o.steps:Pr,o.common&&Math.ceil((n-e)/(a*o.size))<=i)return Lr[r];return Lr[s-1]}function Ae(t,e,n,i,r){var o,a;for(o=Lr.length-1;o>=Lr.indexOf(n);o--)if(a=Lr[o],Nr[a].common&&t._adapter.diff(r,i,a)>=e-1)return a;return Lr[n?Lr.indexOf(n):0]}function Ee(t){for(var e=Lr.indexOf(t)+1,n=Lr.length;e<n;++e)if(Nr[Lr[e]].common)return Lr[e]}function Me(t,e,n,i){var r,o=t._adapter,a=t.options,s=a.time,l=s.unit||De(s.minUnit,e,n,i),u=$r([s.stepSize,s.unitStepSize,1]),c="week"===l&&s.isoWeekday,d=e,h=[];if(c&&(d=+o.startOf(d,"isoWeek",c)),d=+o.startOf(d,c?"day":l),o.diff(n,e,l)>1e5*u)throw e+" and "+n+" are too far apart with stepSize of "+u+" "+l;for(r=d;r<n;r=+o.add(r,u,l))h.push(r);return r!==n&&"ticks"!==a.bounds||h.push(r),h}function Oe(t,e,n,i,r){var o,a,s=0,l=0;return r.offset&&e.length&&(o=ke(t,"time",e[0],"pos"),s=1===e.length?1-o:(ke(t,"time",e[1],"pos")-o)/2,a=ke(t,"time",e[e.length-1],"pos"),l=1===e.length?a:(a-ke(t,"time",e[e.length-2],"pos"))/2),{start:s,end:l,factor:1/(s+1+l)}}function $e(t,e,n,i){var r,o,a=t._adapter,s=+a.startOf(e[0].value,i),l=e[e.length-1].value;for(r=s;r<=l;r=+a.add(r,1,i))(o=n[r])>=0&&(e[o].major=!0);return e}function Ie(t,e,n){var i,r,o=[],a={},s=e.length;for(i=0;i<s;++i)r=e[i],a[r]=i,o.push({v
rn.getValueAtIndexOrDefault=rn.valueAtIndexOrDefault;var an={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return(t-=1)*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-((t-=1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return(t-=1)*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return t>=1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n))},easeOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:2==(t/=.5)?1:(n||(n=.45),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),t<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-an.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*an.easeInBounce(2*t):.5*an.easeOutBounce(2*t-1)+.5}},sn={effects:an};on.easingEffects=an;var ln=Math.PI,un=ln/180,cn=2*ln,dn=ln/2,hn=ln/4,fn=2*ln/3,pn={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,n,i,r,o){if(o){var a=Math.min(o,r/2,i/2),s=e+a,l=n+a,u=e+i-a,c=n+r-a;t.moveTo(e,l),s<u&&l<c?(t.arc(s,l,a,-ln,-dn),t.arc(u,l,a,-dn,0),t.arc(u,c,a,0,dn),t.arc(s,c,a,dn,ln)):s<u?(t.moveTo(s,n),t.arc(u,l,a,-dn,dn),t.arc(s,l,a,dn,ln+dn)):l<c?(t.arc(s,l,a,-ln,0),t.arc(s,c,a,0,ln)):t.arc(s,l,a,-ln,ln),t.closePath(),t.moveTo(e,n)}else t.rect(e,n,i,r)},drawPoint:function(t,e,n,i,r,o){var a,s,l,u,c,d=(o||0)*un;if(e&&"object"==typeof e&&("[object HTMLImageElement]"===(a=e.toString())||"[object HTMLCanvasElement]"===a))return t.save(),t.translate(i,r),t.rotate(d),t.drawImage(e,-e.width/2,-e.height/2,e.width,e.height),void t.restore();if(!(isNaN(n)||n<=0)){switch(t.beginPath(),e){default:t.arc(i,r,n,0,cn),t.closePath();break;case"triangle":t.moveTo(i+Math.sin(d)*n,r-Math.cos(d)*n),d+=fn,t.lineTo(i+Math.sin(d)*n,r-Math.cos(d)*n),d+=fn,t.lineTo(i+Math.sin(d)*n,r-Math.cos(d)*n),t.closePath();break;case"rectRounded":c=.516*n,u=n-c,s=Math.cos(d+hn)*u,l=Math.sin(d+hn)*u,t.arc(i-s,r-l,c,d-ln,d-dn),t.arc(i+l,r-s,c,d-dn,d),t.arc(i+s,r+l,c,d,d+dn),t.arc(i-l,r+s,c,d+dn,d+ln),t.closePath();break;case"rect":if(!o){u=Math.SQRT1_2*n,t.rect(i-u,r-u,2*u,2*u);break}d+=hn;case"rectRot":s=Math.cos(d)*n,l=Math.sin(d)*n,t.moveTo(i-s,r-l),t.lineTo(i+l,r-s),t.lineTo(i+s,r+l),t.lineTo(i-l,r+s),t.closePath();break;case"crossRot":d+=hn;case"cross":s=Math.cos(d)*n,l=Math.sin(d)*n,t.moveTo(i-s,
return this._getRingWeightOffset(this.chart.data.datasets.length)}});mn._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}}),mn._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var gi=ai.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),vi=An.valueOrDefault,mi=An.options.resolve,yi=An.canvas._isPointInArea;mn._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});var bi=zn.extend({datasetElementType:Jn.Line,dataElementType:Jn.Point,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},update:function(t){var e,n,i=this,r=i.getMeta(),o=r.dataset,a=r.data||[],s=i.chart.options,l=i._config,u=i._showLine=vi(l.showLine,s.showLines);for(i._xScale=i.getScaleForId(r.xAxisID),i._yScale=i.getScaleForId(r.yAxisID),u&&(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),o._scale=i._yScale,o._datasetIndex=i.index,o._children=a,o._model=i._resolveDatasetElementOptions(o),o.pivot()),e=0,n=a.length;e<n;++e)i.updateElement(a[e],e,t);for(u&&0!==o._model.tension&&i.updateBezierControlPoints(),e=0,n=a.length;e<n;++e)a[e].pivot()},updateElement:function(t,e,n){var i,r,o=this,a=o.getMeta(),s=t.custom||{},l=o.getDataset(),u=o.index,c=l.data[e],d=o._xScale,h=o._yScale,f=a.dataset._model,p=o._resolveDataElementOptions(t,e);i=d.getPixelForValue("object"==typeof c?c:NaN,e,u),r=n?h.getBasePixel():o.calculatePointY(c,e,u),t._xScale=d,t._yScale=h,t._options=p,t._datasetIndex=u,t._index=e,t._model={x:i,y:r,skip:s.skip||isNaN(i)||isNaN(r),radius:p.radius,pointStyle:p.pointStyle,rotation:p.rotation,backgroundColor:p.backgroundColor,borderColor:p.borderColor,borderWidth:p.borderWidth,tension:vi(s.tension,f?f.tension:0),steppedLine:!!f&&f.steppedLine,hitRadius:p.hitRadius}},_resolveDatasetElementOptions:function(t){var e=this,n=e._config,i=t.custom||{},r=e.chart.options,o=r.elements.line,a=zn.prototype._resolveDatasetElementOptions.apply(e,arguments);return a.spanGaps=vi(n.spanGaps,r.spanGaps),a.tension=vi(n.lineTension,o.tension),a.steppedLine=mi([i.steppedLine,n.steppedLine,o.stepped]),a.clip=q(vi(n.clip,V(e._xScale,e._yScale,a.borderWidth))),a},calculatePointY:function(t,e,n){var i,r,o,a,s,l,u,c=this,d=c.chart,h=c._yScale,f=0,p=0;if(h.options.stacked){for(s=+h.getRightValue(t),l=d._getSortedVisibleDatasetMetas(),u=l.length,i=0;i<u&&(o=l[i],o.index!==n);++i)r=d.data.datasets[o.index],"line"===o.type&&o.yAxisID===h.id&&(a=+h.getRightValue(r.data[e]),a<0?p+=a||0:f+=a||0);return s<0?h.getPixelForValue(p+s):h.getPixelForValue(f+s)}return h.getPixelForValue(t)},updateBezierControlPoints:function(){function t(t,e,n){return Math.max(Math.min(t,n),e)}var e,n,i,r,o=this,a=o.chart,s=o.getMeta(),l=s.dataset._model,u=a.chartArea,c=s.data||[];if(l.spanGaps&&(c=c.filter(function(t){return!t._model.skip})),"monotone"===l.cubicInterpolationMode)An.splineCurveMonotone(c);else for(e=0,n=c.length;e<n;++e)i=c[e]._model,r=An.splineCurve(An.previousItem(c,e)._model,i,An.nextItem(c,e)._model,l.tension),i.controlPointPreviousX=r.previous.x,i.controlPointPreviousY=r.previous.y,i.controlPointNextX=r.next.x,i.controlPointNextY=r.next.y;if(a.options.elements.line.capBezierPoints)for(e=0,n=c.length;e<n;++e)i=c[e]._model,yi(i,u)&&(e>0&&yi(c[e-1]._model,u)&&(i.controlP
var n=An.easing.effects[e.easing],i=e.currentStep,r=i/e.numSteps;t.draw(n(r),r,i)},onAnimationProgress:n.onProgress,onAnimationComplete:o});jn.addAnimation(e,a,i,r)}else e.draw(),o(new Ln({numSteps:0,chart:e}));return e}},draw:function(t){var e,n,i=this;if(i.clear(),An.isNullOrUndef(t)&&(t=1),i.transition(t),!(i.width<=0||i.height<=0)&&!1!==Wi.notify(i,"beforeDraw",[t])){for(n=i._layers,e=0;e<n.length&&n[e].z<=0;++e)n[e].draw(i.chartArea);for(i.drawDatasets(t);e<n.length;++e)n[e].draw(i.chartArea);i._drawTooltip(t),Wi.notify(i,"afterDraw",[t])}},transition:function(t){for(var e=this,n=0,i=(e.data.datasets||[]).length;n<i;++n)e.isDatasetVisible(n)&&e.getDatasetMeta(n).controller.transition(t);e.tooltip.transition(t)},_getSortedDatasetMetas:function(t){var e,n,i=this,r=i.data.datasets||[],o=[];for(e=0,n=r.length;e<n;++e)t&&!i.isDatasetVisible(e)||o.push(i.getDatasetMeta(e));return o.sort(Rt("order","index")),o},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(t){var e,n,i=this;if(!1!==Wi.notify(i,"beforeDatasetsDraw",[t])){for(e=i._getSortedVisibleDatasetMetas(),n=e.length-1;n>=0;--n)i.drawDataset(e[n],t);Wi.notify(i,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var n=this,i={meta:t,index:t.index,easingValue:e};!1!==Wi.notify(n,"beforeDatasetDraw",[i])&&(t.controller.draw(e),Wi.notify(n,"afterDatasetDraw",[i]))},_drawTooltip:function(t){var e=this,n=e.tooltip,i={tooltip:n,easingValue:t};!1!==Wi.notify(e,"beforeTooltipDraw",[i])&&(n.draw(),Wi.notify(e,"afterTooltipDraw",[i]))},getElementAtEvent:function(t){return Di.modes.single(this,t)},getElementsAtEvent:function(t){return Di.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return Di.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,n){var i=Di.modes[e];return"function"==typeof i?i(this,t,n):[]},getDatasetAtEvent:function(t){return Di.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this,n=e.data.datasets[t];n._meta||(n._meta={});var i=n._meta[e.id];return i||(i=n._meta[e.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n.order||0,index:t}),i},getVisibleDatasetCount:function(){for(var t=0,e=0,n=this.data.datasets.length;e<n;++e)this.isDatasetVisible(e)&&t++;return t},isDatasetVisible:function(t){var e=this.getDatasetMeta(t);return"boolean"==typeof e.hidden?!e.hidden:!this.data.datasets[t].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(t){var e=this.id,n=this.data.datasets[t],i=n._meta&&n._meta[e];i&&(i.controller.destroy(),delete n._meta[e])},destroy:function(){var t,e,n=this,i=n.canvas;for(n.stop(),t=0,e=n.data.datasets.length;t<e;++t)n.destroyDatasetMeta(t);i&&(n.unbindEvents(),An.canvas.clear(n),Hi.releaseContext(n.ctx),n.canvas=null,n.ctx=null),Wi.notify(n,"destroy"),delete Ji.instances[n.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var t=this;t.tooltip=new Zi({_chart:t,_chartInstance:t,_data:t.data,_options:t.options.tooltips},t)},bindEvents:function(){var t=this,e=t._listeners={},n=function(){t.eventHandler.apply(t,arguments)};An.each(t.options.events,function(i){Hi.addEventListener(t,i,n),e[i]=n}),t.options.responsive&&(n=function(){t.resize()},Hi.addEventListener(t,"resize",n),e.resize=n)},unbindEvents:function(){var t=this,e=t._listeners;e&&(delete t._listeners,An.each(e,function(e,n){Hi.removeEventListener(t,n,e)}))},updateHoverStyle:function(t,e,n){var i,r,o,a=n?"set":"remove";for(r=0,o=t.length;r<o;++r)(i=t[r])&&this.getDatasetMeta(i._datasetIndex).controller[a+"HoverStyle"](i);"dataset"===e&&this.getDatasetMeta(t[0]._datasetIndex).controller["_"+a+"DatasetHoverStyle"]()},eventHandler:function(t){var e=this,n=e.tooltip;if(!1!==Wi.notify(e,"beforeEvent",[t])){e._bufferedRender=!0,e._bufferedRequest=null;var i=e.handleEvent(t);n&&(i=n._start?n.handleEvent(t):i|n.handleEvent(t)),Wi.notify(e,"afterEvent",[t]);var r=e._bufferedRequest;return r?e.render(r):i&&!e.animati
ur.prototype.update.apply(t,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),ur.prototype.getRightValue.call(this,t)},determineDataLimits:function(){var t,e,n,i,r,o,a,s=this,l=s.chart,u=s._adapter,c=s.options,d=c.time.unit||"day",h=Pr,f=Fr,p=[],g=[],v=[],m=s._getLabels();for(t=0,n=m.length;t<n;++t)v.push(Te(s,m[t]));for(t=0,n=(l.data.datasets||[]).length;t<n;++t)if(l.isDatasetVisible(t))if(r=l.data.datasets[t].data,An.isObject(r[0]))for(g[t]=[],e=0,i=r.length;e<i;++e)o=Te(s,r[e]),p.push(o),g[t][e]=o;else g[t]=v.slice(0),a||(p=p.concat(v),a=!0);else g[t]=[];v.length&&(h=Math.min(h,v[0]),f=Math.max(f,v[v.length-1])),p.length&&(p=n>1?be(p).sort(ye):p.sort(ye),h=Math.min(h,p[0]),f=Math.max(f,p[p.length-1])),h=Te(s,_e(c))||h,f=Te(s,xe(c))||f,h=h===Pr?+u.startOf(Date.now(),d):h,f=f===Fr?+u.endOf(Date.now(),d)+1:f,s.min=Math.min(h,f),s.max=Math.max(h+1,f),s._table=[],s._timestamps={data:p,datasets:g,labels:v}},buildTicks:function(){var t,e,n,i=this,r=i.min,o=i.max,a=i.options,s=a.ticks,l=a.time,u=i._timestamps,c=[],d=i.getLabelCapacity(r),h=s.source,f=a.distribution;for(u="data"===h||"auto"===h&&"series"===f?u.data:"labels"===h?u.labels:Me(i,r,o,d),"ticks"===a.bounds&&u.length&&(r=u[0],o=u[u.length-1]),r=Te(i,_e(a))||r,o=Te(i,xe(a))||o,t=0,e=u.length;t<e;++t)(n=u[t])>=r&&n<=o&&c.push(n);return i.min=r,i.max=o,i._unit=l.unit||(s.autoSkip?De(l.minUnit,i.min,i.max,d):Ae(i,c.length,l.minUnit,i.min,i.max)),i._majorUnit=s.major.enabled&&"year"!==i._unit?Ee(i._unit):void 0,i._table=we(i._timestamps.data,r,o,f),i._offsets=Oe(i._table,c,r,o,a),s.reverse&&c.reverse(),Ie(i,c,i._majorUnit)},getLabelForIndex:function(t,e){var n=this,i=n._adapter,r=n.chart.data,o=n.options.time,a=r.labels&&t<r.labels.length?r.labels[t]:"",s=r.datasets[e].data[t];return An.isObject(s)&&(a=n.getRightValue(s)),o.tooltipFormat?i.format(Se(n,a),o.tooltipFormat):"string"==typeof a?a:i.format(Se(n,a),o.displayFormats.datetime)},tickFormatFunction:function(t,e,n,i){var r=this,o=r._adapter,a=r.options,s=a.time.displayFormats,l=s[r._unit],u=r._majorUnit,c=s[u],d=n[e],h=a.ticks,f=u&&c&&d&&d.major,p=o.format(t,i||(f?c:l)),g=f?h.major:h.minor,v=$r([g.callback,g.userCallback,h.callback,h.userCallback]);return v?v(p,e,n):p},convertTicksToLabels:function(t){var e,n,i=[];for(e=0,n=t.length;e<n;++e)i.push(this.tickFormatFunction(t[e].value,e,t));return i},getPixelForOffset:function(t){var e=this,n=e._offsets,i=ke(e._table,"time",t,"pos");return e.getPixelForDecimal((n.start+i)*n.factor)},getPixelForValue:function(t,e,n){var i=this,r=null;if(void 0!==e&&void 0!==n&&(r=i._timestamps.datasets[n][e]),null===r&&(r=Te(i,t)),null!==r)return i.getPixelForOffset(r)},getPixelForTick:function(t){var e=this.getTicks();return t>=0&&t<e.length?this.getPixelForOffset(e[t].value):null},getValueForPixel:function(t){var e=this,n=e._offsets,i=e.getDecimalForPixel(t)/n.factor-n.end,r=ke(e._table,"pos",i,"time");return e._adapter._create(r)},_getLabelSize:function(t){var e=this,n=e.options.ticks,i=e.ctx.measureText(t).width,r=An.toRadians(e.isHorizontal()?n.maxRotation:n.minRotation),o=Math.cos(r),a=Math.sin(r),s=Ir(n.fontSize,mn.global.defaultFontSize);return{w:i*o+s*a,h:i*a+s*o}},getLabelWidth:function(t){return this._getLabelSize(t).w},getLabelCapacity:function(t){var e=this,n=e.options.time,i=n.displayFormats,r=i[n.unit]||i.millisecond,o=e.tickFormatFunction(t,0,Ie(e,[t],e._majorUnit),r),a=e._getLabelSize(o),s=Math.floor(e.isHorizontal()?e.width/a.w:e.height/a.h);return e.options.offset&&s--,s>0?s:1}}),Ur=jr;Rr._defaults=Ur;var Br={category:hr,linear:yr,logarithmic:Cr,radialLinear:Er,time:Rr},zr={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};nr._date.override("function"==typeof t?{_id:"moment",formats:function(){return zr},parse:function(e,n){return"string"==typeof e&&"string"==typeof n?e=t(e,n):e instanceof t||(e=t(e)),e.isValid()?e.valueOf():null},format:function(e,n){return t(e).format(n)},add:function(e,n,i){return t(e).add(n,i).value
this.isValid(e,n,!0)},t(window).on("formValidationPluginInit",function(t,e){o(e),n(e),i(e)}).on("validatorsLoaded formValidationSetup",function(e,n){n||(n=t("form")),r(n)})}(t),function(t){"use strict";var e={resolveErrorMessage:function(t,e,n,i,r){var o=i.validationErrorMsgAttribute+"-"+n.replace("validate_",""),a=t.attr(o);return a||(a=t.attr(i.validationErrorMsgAttribute))||(a="function"!=typeof e.errorMessageKey?r[e.errorMessageKey]:r[e.errorMessageKey(i)])||(a=e.errorMessage),a},getParentContainer:function(e){if(e.valAttr("error-msg-container"))return t(e.valAttr("error-msg-container"));var n=e.parent();return"checkbox"===e.attr("type")&&e.closest(".checkbox").length?n=e.closest(".checkbox").parent():"radio"===e.attr("type")&&e.closest(".radio").length&&(n=e.closest(".radio").parent()),n.closest(".input-group").length&&(n=n.closest(".input-group").parent()),n},applyInputErrorStyling:function(t,e){t.addClass(e.errorElementClass).removeClass(e.successElementClass),this.getParentContainer(t).addClass(e.inputParentClassOnError).removeClass(e.inputParentClassOnSuccess),""!==e.borderColorOnError&&t.css("border-color",e.borderColorOnError)},applyInputSuccessStyling:function(t,e){t.addClass(e.successElementClass),this.getParentContainer(t).addClass(e.inputParentClassOnSuccess)},removeInputStylingAndMessage:function(t,n){t.removeClass(n.successElementClass).removeClass(n.errorElementClass).css("border-color","");var i=e.getParentContainer(t);if(i.removeClass(n.inputParentClassOnError).removeClass(n.inputParentClassOnSuccess),"function"==typeof n.inlineErrorMessageCallback){var r=n.inlineErrorMessageCallback(t,!1,n);r&&r.html("")}else i.find("."+n.errorMessageClass).remove()},removeAllMessagesAndStyling:function(n,i){if("function"==typeof i.submitErrorMessageCallback){var r=i.submitErrorMessageCallback(n,!1,i);r&&r.html("")}else n.find("."+i.errorMessageClass+".alert").remove();n.find("."+i.errorElementClass+",."+i.successElementClass).each(function(){e.removeInputStylingAndMessage(t(this),i)})},setInlineMessage:function(e,n,i){this.applyInputErrorStyling(e,i);var r,o=document.getElementById(e.attr("name")+"_err_msg"),a=!1,s=function(i){t.formUtils.$win.trigger("validationErrorDisplay",[e,i]),i.html(n)},l=function(){var o=!1;a.find("."+i.errorMessageClass).each(function(){if(this.inputReferer===e[0])return o=t(this),!1}),o?n?s(o):o.remove():""!==n&&(r=t('<div class="'+i.errorMessageClass+' alert"></div>'),s(r),r[0].inputReferer=e[0],a.prepend(r))};if(o)t.formUtils.warn("Using deprecated element reference "+o.id),a=t(o),l();else if("function"==typeof i.inlineErrorMessageCallback){if(!(a=i.inlineErrorMessageCallback(e,n,i)))return;l()}else{var u=this.getParentContainer(e);r=u.find("."+i.errorMessageClass+".help-block"),0===r.length&&(r=t("<span></span>").addClass("help-block").addClass(i.errorMessageClass),r.appendTo(u)),s(r)}},setMessageInTopOfForm:function(e,n,i,r){var o='<div class="{errorMessageClass} alert alert-danger"><strong>{errorTitle}</strong><ul>{fields}</ul></div>',a=!1;if("function"!=typeof i.submitErrorMessageCallback||(a=i.submitErrorMessageCallback(e,n,i))){var s={errorTitle:r.errorTitle,fields:"",errorMessageClass:i.errorMessageClass};t.each(n,function(t,e){s.fields+="<li>"+e+"</li>"}),t.each(s,function(t,e){o=o.replace("{"+t+"}",e)}),a?a.html(o):e.children().eq(0).before(t(o))}}};t.formUtils=t.extend(t.formUtils||{},{dialogs:e})}(t),function(t,e,n){"use strict";var i=0;t.fn.validateOnBlur=function(e,n){var i=this,r=this.find("*[data-validation]");return r.each(function(){var r=t(this);if(r.is("[type=radio]")){var o=i.find('[type=radio][name="'+r.attr("name")+'"]');o.bind("blur.validation",function(){r.validateInputOnBlur(e,n,!0,"blur")}),n.validateCheckboxRadioOnClick&&o.bind("click.validation",function(){r.validateInputOnBlur(e,n,!0,"click")})}}),r.bind("blur.validation",function(){t(this).validateInputOnBlur(e,n,!0,"blur")}),n.validateCheckboxRadioOnClick&&this.find("input[type=checkbox][data-validation],input[type=radio][data-validation]").bind("click.validation",function(){t(this).validateInputOnBlur(e,n
var n=function(t,e,n){return n?t.getElementsByClassName(e)[0]:t.getElementsByClassName(e)},i=function(t,e,n){return e="."+e,n?t.querySelector(e):t.querySelectorAll(e)},r=function(t,e,n){for(var i=[],r=t.getElementsByTagName("*"),o=r.length,a=new RegExp("(^|\\s)"+e+"(\\s|$)"),s=0,l=0;s<o;s++)if(a.test(r[s].className)){if(n)return r[s];i[l]=r[s],l++}return i};t.exports=function(){return function(t,e,o,a){return a=a||{},a.test&&a.getElementsByClassName||!a.test&&document.getElementsByClassName?n(t,e,o):a.test&&a.querySelector||!a.test&&document.querySelector?i(t,e,o):r(t,e,o)}}()},function(t,e){var n=[].indexOf;t.exports=function(t,e){if(n)return t.indexOf(e);for(var i=0;i<t.length;++i)if(t[i]===e)return i;return-1}},function(t,e){function n(t){return"[object Array]"===Object.prototype.toString.call(t)}t.exports=function(t){if(void 0===t)return[];if(null===t)return[null];if(t===window)return[window];if("string"==typeof t)return[t];if(n(t))return t;if("number"!=typeof t.length)return[t];if("function"==typeof t&&t instanceof Function)return[t];for(var e=[],i=0;i<t.length;i++)(Object.prototype.hasOwnProperty.call(t,i)||i in t)&&e.push(t[i]);return e.length?e:[]}},function(t,e){t.exports=function(t){return t=void 0===t?"":t,t=null===t?"":t,t=t.toString()}},function(t,e){t.exports=function(t){for(var e,n=Array.prototype.slice.call(arguments,1),i=0;e=n[i];i++)if(e)for(var r in e)t[r]=e[r];return t}},function(t,e){t.exports=function(t){var e=function(n,i,r){var o=n.splice(0,50);r=r||[],r=r.concat(t.add(o)),n.length>0?setTimeout(function(){e(n,i,r)},1):(t.update(),i(r))};return e}},function(t,e){t.exports=function(t){return t.handlers.filterStart=t.handlers.filterStart||[],t.handlers.filterComplete=t.handlers.filterComplete||[],function(e){if(t.trigger("filterStart"),t.i=1,t.reset.filter(),void 0===e)t.filtered=!1;else{t.filtered=!0;for(var n=t.items,i=0,r=n.length;i<r;i++){var o=n[i];e(o)?o.filtered=!0:o.filtered=!1}}return t.update(),t.trigger("filterComplete"),t.visibleItems}}},function(t,e,n){var i=(n(0),n(1)),r=n(7),o=n(6),a=n(3),s=n(19);t.exports=function(t,e){e=e||{},e=r({location:0,distance:100,threshold:.4,multiSearch:!0,searchClass:"fuzzy-search"},e);var n={search:function(i,r){for(var o=e.multiSearch?i.replace(/ +$/,"").split(/ +/):[i],a=0,s=t.items.length;a<s;a++)n.item(t.items[a],r,o)},item:function(t,e,i){for(var r=!0,o=0;o<i.length;o++){for(var a=!1,s=0,l=e.length;s<l;s++)n.values(t.values(),e[s],i[o])&&(a=!0);a||(r=!1)}t.found=r},values:function(t,n,i){if(t.hasOwnProperty(n)){var r=o(t[n]).toLowerCase();if(s(r,i,e))return!0}return!1}};return i.bind(a(t.listContainer,e.searchClass),"keyup",function(e){var i=e.target||e.srcElement;t.search(i.value,n.search)}),function(e,i){t.search(e,i,n.search)}}},function(t,e,n){var i=n(18),r=n(3),o=n(7),a=n(4),s=n(1),l=n(6),u=n(0),c=n(17),d=n(5);t.exports=function(t,e,h){var f,p=this,g=n(2)(p),v=n(8)(p),m=n(12)(p);f={start:function(){p.listClass="list",p.searchClass="search",p.sortClass="sort",p.page=1e4,p.i=1,p.items=[],p.visibleItems=[],p.matchingItems=[],p.searched=!1,p.filtered=!1,p.searchColumns=void 0,p.handlers={updated:[]},p.valueNames=[],p.utils={getByClass:r,extend:o,indexOf:a,events:s,toString:l,naturalSort:i,classes:u,getAttribute:c,toArray:d},p.utils.extend(p,e),p.listContainer="string"==typeof t?document.getElementById(t):t,p.listContainer&&(p.list=r(p.listContainer,p.listClass,!0),p.parse=n(13)(p),p.templater=n(16)(p),p.search=n(14)(p),p.filter=n(9)(p),p.sort=n(15)(p),p.fuzzySearch=n(10)(p,e.fuzzySearch),this.handlers(),this.items(),this.pagination(),p.update())},handlers:function(){for(var t in p.handlers)p[t]&&p.on(t,p[t])},items:function(){p.parse(p.list),void 0!==h&&p.add(h)},pagination:function(){if(void 0!==e.pagination){!0===e.pagination&&(e.pagination=[{}]),void 0===e.pagination[0]&&(e.pagination=[e.pagination]);for(var t=0,n=e.pagination.length;t<n;t++)m(e.pagination[t])}}},this.reIndex=function(){p.items=[],p.visibleItems=[],p.matchingItems=[],p.searched=!1,p.filtered=!1,p.parse(p.list)},this.toJSON=function(){for(var t=[],e=0,n=p.items.length;e<n;e++)t.pu