;["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){vare=un[t];k(cn,t,function(){for(vari=[],n=arguments.length;n--;)i[n]=arguments[n];varr,o=e.apply(this,i),s=this.__ob__;switch(t){case"push":case"unshift":r=i;break;case"splice":r=i.slice(2)}returnr&&s.observeArray(r),s.dep.notify(),o})});varhn=Object.getOwnPropertyNames(cn),dn={shouldConvert:!0},fn=function(t){this.value=t,this.dep=newan,this.vmCount=0,k(t,"__ob__",this),Array.isArray(t)?((Wi?S:A)(t,cn,hn),this.observeArray(t)):this.walk(t)};fn.prototype.walk=function(t){for(vare=Object.keys(t),i=0;i<e.length;i++)E(t,e[i],t[e[i]])},fn.prototype.observeArray=function(t){for(vare=0,i=t.length;e<i;e++)M(t[e])};varpn=Ri.optionMergeStrategies;pn.data=function(t,e,i){returni?F(t,e,i):e&&"function"!=typeofe?t:F.call(this,t,e)},Li.forEach(function(t){pn[t]=$}),Ni.forEach(function(t){pn[t+"s"]=N}),pn.watch=function(t,e){if(t===Zi&&(t=void0),e===Zi&&(e=void0),!e)returnObject.create(t||null);if(!t)returne;vari={};for(varninv(i,t),e){varr=i[n],o=e[n];r&&!Array.isArray(r)&&(r=[r]),i[n]=r?r.concat(o):Array.isArray(o)?o:[o]}returni},pn.props=pn.methods=pn.inject=pn.computed=function(t,e){if(!t)returne;vari=Object.create(null);returnv(i,t),e&&v(i,e),i},pn.provide=F;vargn=function(t,e){returnvoid0===e?t:e},mn=function(t,e,i,n,r,o,s,a){this.tag=t,this.data=e,this.children=i,this.text=n,this.elm=r,this.ns=void0,this.context=o,this.functionalContext=void0,this.key=e&&e.key,this.componentOptions=s,this.componentInstance=void0,this.parent=void0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=a,this.asyncMeta=void0,this.isAsyncPlaceholder=!1},vn={child:{}};vn.child.get=function(){returnthis.componentInstance},Object.defineProperties(mn.prototype,vn);varyn,bn=function(t){void0===t&&(t="");vare=newmn;returne.text=t,e.isComment=!0,e},_n=p(function(t){vare="&"===t.charAt(0),i="~"===(t=e?t.slice(1):t).charAt(0),n="!"===(t=i?t.slice(1):t).charAt(0);return{name:t=n?t.slice(1):t,plain:!(e||i||n),once:i,capture:n,passive:e}}),xn=null,wn=[],Cn=[],kn={},Dn=!1,Tn=!1,Sn=0,An=0,Mn=function(t,e,i,n){this.vm=t,t._watchers.push(this),n?(this.deep=!!n.deep,this.user=!!n.user,this.lazy=!!n.lazy,this.sync=!!n.sync):this.deep=this.user=this.lazy=this.sync=!1,this.cb=i,this.id=++An,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=newtn,this.newDepIds=newtn,this.expression="","function"==typeofe?this.getter=e:(this.getter=function(t){if(!Hi.test(t)){vare=t.split(".");returnfunction(t){for(vari=0;i<e.length;i++){if(!t)return;t=t[e[i]]}returnt}}}(e),this.getter||(this.getter=function(){})),this.value=this.lazy?void0:this.get()};Mn.prototype.get=function(){vart,e;t=this,an.target&&ln.push(an.target),an.target=t;vari,n=this.vm;try{e=this.getter.call(n,n)}catch(t){if(!this.user)throwt;D(t,n,'getter for watcher "'+this.expression+'"')}finally{this.deep&&(i=e,En.clear(),functiont(e,i){varn,r,o=Array.isArray(e);if((o||s(e))&&Object.isExtensible(e)){if(e.__ob__){vara=e.__ob__.dep.id;if(i.has(a))return;i.add(a)}if(o)for(n=e.length;n--;)t(e[n],i);elsefor(r=Object.keys(e),n=r.length;n--;)t(e[r[n]],i)}}(i,En)),an.target=ln.pop(),this.cleanupDeps()}returne},Mn.prototype.addDep=function(t){vare=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},Mn.prototype.cleanupDeps=function(){for(vart=this.deps.length;t--;){vare=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}vari=this.depIds;this.depIds=this.newDepIds,this.newDepIds=i,this.newDepIds.clear(),i=this.deps,this.deps=this.newDeps,this.newDeps=i,this.newDeps.length=0},Mn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(t){vare=t.id;if(null==kn[e]){if(kn[e]=!0,Tn){for(vari=wn.length-1;i>Sn&&wn[i].id>t.id;)i--;wn.splice(i+1,0,t)}elsewn.push(t);Dn||(Dn=!0,on(ct))}}(this)},Mn.prototype.run=function(){if(this.active){vart=this.get();if(t!==this.value||s(t)||this.deep){vare=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]},Ko=function(t){return"if("+t+")return null;"},Go={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Ko("$event.target !== $event.currentTarget"),ctrl:Ko("!$event.ctrlKey"),shift:Ko("!$event.shiftKey"),alt:Ko("!$event.altKey"),meta:Ko("!$event.metaKey"),left:Ko("'button' in $event && $event.button !== 0"),middle:Ko("'button' in $event && $event.button !== 1"),right:Ko("'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(i){return"_b("+i+",'"+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||ne,this.transforms=re(t.modules,"transformCode"),this.dataGenFns=re(t.modules,"genData"),this.directives=v(v({},Zo),t.directives);vare=t.isReservedTag||Pi;this.maybeComponent=function(t){return!e(t.tag)},this.onceId=0,this.staticRenderFns=[]};newRegExp("\\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"),newRegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");varJo,ts=(Jo=function(t,e){vari=ni(t.trim(),e);si(i,e);varn=ci(i,e);return{ast:i,render:n.render,staticRenderFns:n.staticRenderFns}},function(t){functione(e,i){varn=Object.create(t),r=[],o=[];if(n.warn=function(t,e){(e?o:r).push(t)},i)for(varsini.modules&&(n.modules=(t.modules||[]).concat(i.modules)),i.directives&&(n.directives=v(Object.create(t.directives),i.directives)),i)"modules"!==s&&"directives"!==s&&(n[s]=i[s]);vara=Jo(e,n);returna.errors=r,a.tips=o,a}return{compile:e,compileToFunctions:function(t){vare=Object.create(null);returnfunction(i,n,r){varo=(n=n||{}).delimiters?String(n.delimiters)+i:i;if(e[o])returne[o];vars=t(i,n),a={},l=[];returna.render=wi(s.render,l),a.staticRenderFns=s.staticRenderFns.map(function(t){returnwi(t,l)}),e[o]=a}}(e)}})(oo).compileToFunctions,es=p(function(t){vare=Bt(t);returne&&e.innerHTML}),is=Pt.prototype.$mount;Pt.prototype.$mount=function(t,e){if((t=t&&Bt(t))===document.body||t===document.documentElement)returnthis;vari=this.$options;if(!i.render){varn=i.template;if(n)if("string"==typeofn)"#"===n.charAt(0)&&(n=es(n));else{if(!n.nodeType)returnthis;n=n.innerHTML}elset&&(n=function(t){if(t.outerHTML)returnt.outerHTML;vare=document.createElement("div");returne.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(n){varr=ts(n,{shouldDecodeNewlines:Gr,delimiters:i.delimiters,comments:i.comments},this),o=r.render,s=r.staticRenderFns;i.render=o,i.staticRenderFns=s}}returnis.call(this,t,e)},Pt.compile=ts,t.exports=Pt}).call(e,i("DuR2"))},Iie8:function(t,e,i){varn=i("J0EM");"string"==typeofn&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals),i("rjj0")("35a5479e",n,!0,{})},J0EM:function(t,e,i){(t.exports=i("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,i){"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,i){varn=i("VU/8")(i("lAxH"),i("hmTe"),!1,function(t){i("2DgG")},"data-v-7d8f4390",null);t.exports=n.exports},M4fF:function(t,e,i){(function(t,n){varr;(function(){functiono(t,e,i){switch(i.length){case0:returnt.call(e);case1:returnt.call(e,i[0]);case2:returnt.call(e,i[0],i[1]);case3:returnt.call(e,i[0],i[1],i[2])}returnt.apply(e,i)}functions(t,e,i,n){for(varr=-1,o=null==t?0:t.length;++r<o;){vars=t[r];e(n,s,i(s)
t[4]=l?R(t[3],Y):e[4]}(a=e[5])&&(l=t[5],t[5]=l?Sn(l,a,e[6]):a,t[6]=l?R(t[5],Y):e[6]),(a=e[7])&&(t[7]=a),n&st&&(t[8]=null==t[8]?e[8]:ws(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],i=p[2],n=p[3],r=p[4],!(l=p[9]=p[9]===U?u?0:t.length:xs(p[9]-c,0))&&e&(it|nt)&&(e&=~(it|nt)),e&&e!=J)g=e==it||e==nt?function(t,e,i){varn=Nn(t);returnfunctionr(){for(vars=arguments.length,a=Oo(s),l=s,u=rr(r);l--;)a[l]=arguments[l];varc=s<3&&a[0]!==u&&a[s-1]!==u?[]:R(a,u);return(s-=c.length)<i?qn(t,e,jn,r.placeholder,U,a,c,U,U,i-s):o(this&&this!==si&&thisinstanceofr?n:t,this,a)}}(t,e,l):e!=rt&&e!=(J|rt)||r.length?jn.apply(U,p):function(t,e,i,n){varr=e&J,s=Nn(t);returnfunctione(){for(vara=-1,l=arguments.length,u=-1,c=n.length,h=Oo(c+l),d=this&&this!==si&&thisinstanceofe?s:t;++u<c;)h[u]=n[u];for(;l--;)h[u++]=arguments[++a];returno(d,r?i:this,h)}}(t,e,i,n);elsevarg=function(t,e,i){varn=e&J,r=Nn(t);returnfunctione(){return(this&&this!==si&&thisinstanceofe?r:t).apply(n?i:this,arguments)}}(t,e,i);returnwr((f?Xs:ra)(g,p),t,e)}functionGn(t,e,i,n){returnt===U||Yr(t,Uo[i])&&!qo.call(n,i)?e:t}functionZn(t,e,i,n,r,o){returnto(t)&&to(e)&&(o.set(e,t),Bi(t,e,U,Zn,o),o.delete(e)),t}functionQn(t){returnno(t)?U:t}functionJn(t,e,i,n,r,o){vars=i&Z,a=t.length,l=e.length;if(a!=l&&!(s&&l>a))return!1;varu=o.get(t),c=o.get(e);if(u&&c)returnu==e&&c==t;varh=-1,d=!0,f=i&Q?newOe:U;for(o.set(t,e),o.set(e,t);++h<a;){varp=t[h],g=e[h];if(n)varm=s?n(g,p,h,e,t,o):n(p,g,h,t,e,o);if(m!==U){if(m)continue;d=!1;break}if(f){if(!v(e,function(t,e){if(!I(f,e)&&(p===t||r(p,t,i,n,o)))returnf.push(e)})){d=!1;break}}elseif(p!==g&&!r(p,g,i,n,o)){d=!1;break}}returno.delete(t),o.delete(e),d}functiontr(t){returnsa(br(t,U,Er),t+"")}functioner(t){returnTi(t,mo,ta)}functionir(t){returnTi(t,vo,ea)}functionnr(t){for(vare=t.name+"",i=Fs[e],n=qo.call(Fs,e)?i.length:0;n--;){varr=i[n],o=r.func;if(null==o||o==t)returnr.name}returne}functionrr(t){return(qo.call(i,"placeholder")?i:t).placeholder}functionor(){vart=i.iteratee||Do;returnt=t===Do?Li:t,arguments.length?t(arguments[0],arguments[1]):t}functionsr(t,e){vari,n,r=t.__data__;return("string"==(n=typeof(i=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==i:null===i)?r["string"==typeofe?"string":"hash"]:r.map}functionar(t){for(vare=mo(t),i=e.length;i--;){varn=e[i],r=t[n];e[i]=[n,r,vr(r)]}returne}functionlr(t,e){vari=function(t,e){returnnull==t?U:t[e]}(t,e);returnNi(i)?i:U}functionur(t,e,i){for(varn=-1,r=(e=_n(e,t)).length,o=!1;++n<r;){vars=Dr(e[n]);if(!(o=null!=t&&i(t,s)))break;t=t[s]}returno||++n!=r?o:!!(r=null==t?0:t.length)&&Jr(r)&&dr(s,r)&&(Ya(t)||qa(t))}functioncr(t){return"function"!=typeoft.constructor||mr(t)?{}:Us(ns(t))}functionhr(t){returnYa(t)||qa(t)||!!(as&&t&&t[as])}functiondr(t,e){vari=typeoft;return!!(e=null==e?dt:e)&&("number"==i||"symbol"!=i&&De.test(t))&&t>-1&&t%1==0&&t<e}functionfr(t,e,i){if(!to(i))return!1;varn=typeofe;return!!("number"==n?Xr(i)&&dr(e,i.length):"string"==n&&eini)&&Yr(i[e],t)}functionpr(t,e){if(Ya(t))return!1;vari=typeoft;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=t&&!oo(t))||ae.test(t)||!se.test(t)||null!=e&&tinLo(e)}functiongr(t){vare=nr(t),n=i[e];if("function"!=typeofn||!(einD.prototype))return!1;if(t===n)return!0;varr=Js(n);return!!r&&t===r[0]}functionmr(t){vare=t&&t.constructor;returnt===("function"==typeofe&&e.prototype||Uo)}functionvr(t){returnt==t&&!to(t)}functionyr(t,e){returnfunction(i){returnnull!=i&&i[t]===e&&(e!==U||tinLo(i))}}functionbr(t,e,i){returne=xs(e===U?t.length-1:e,0),function(){for(varn=arguments,r=-1,s=xs(n.length-e,0),a=Oo(s);++r<s;)a[r]=n[e+r];r=-1;for(varl=Oo(e+1);++r<e;)l[r]=n[r];returnl[e]=i(a),o(t,this,l)}}function_r(t,e){returne.length<2?t:Di(t,rn(e,0,-1))}functionxr(t,e){if(("constructor"!==e||"function"!=typeoft[e])&&"__proto__"!=e)returnt[e]}functionwr(t,e,i){varn=e+"";returnsa(t,function(t,e){vari=e.length;if(!i)returnt;varn=i-1;returne[n]=(i>1?"& ":"")+e[n],e=e.join(i>2?", ":" "),t.replace(pe,"{\n/* [wrapped with "+e+"]*/
for(varn=this,r=this.$element.find("option"),o=r.map(function(){returnn.item(i(this)).id}).get(),s=[],a=0;a<t.length;a++){varl=this._normalizeItem(t[a]);if(i.inArray(l.id,o)>=0){varu=r.filter(function(t){returnfunction(){returni(this).val()==t.id}}(l)),c=this.item(u),h=i.extend(!0,{},l,c),d=this.option(h);u.replaceWith(d)}else{varf=this.option(l);if(l.children){varp=this.convertToOptions(l.children);e.appendMany(f,p)}s.push(f)}}returns},n}),e.define("select2/data/ajax",["./array","../utils","jquery"],function(t,e,i){functionn(t,e){this.ajaxOptions=this._applyDefaults(e.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),n.__super__.constructor.call(this,t,e)}returne.Extend(n,t),n.prototype._applyDefaults=function(t){vare={data:function(t){returni.extend({},t,{q:t.term})},transport:function(t,e,n){varr=i.ajax(t);returnr.then(e),r.fail(n),r}};returni.extend({},e,t,!0)},n.prototype.processResults=function(t){returnt},n.prototype.query=function(t,e){functionn(){varn=o.transport(o,function(n){varo=r.processResults(n,t);r.options.get("debug")&&window.console&&console.error&&(o&&o.results&&i.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"inn&&(0===n.status||"0"===n.status)||r.trigger("results:message",{message:"errorLoading"})});r._request=n}varr=this;null!=this._request&&(i.isFunction(this._request.abort)&&this._request.abort(),this._request=null);varo=i.extend({type:"GET"},this.ajaxOptions);"function"==typeofo.url&&(o.url=o.url.call(this.$element,t)),"function"==typeofo.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(n,this.ajaxOptions.delay)):n()},n}),e.define("select2/data/tags",["jquery"],function(t){functione(e,i,n){varr=n.get("tags"),o=n.get("createTag");void0!==o&&(this.createTag=o);vars=n.get("insertTag");if(void0!==s&&(this.insertTag=s),e.call(this,i,n),t.isArray(r))for(vara=0;a<r.length;a++){varl=r[a],u=this._normalizeItem(l),c=this.option(u);this.$element.append(c)}}returne.prototype.query=function(t,e,i){varn=this;this._removeOldTags(),null!=e.term&&null==e.page?t.call(this,e,functiont(r,o){for(vars=r.results,a=0;a<s.length;a++){varl=s[a],u=null!=l.children&&!t({results:l.children},!0);if((l.text||"").toUpperCase()===(e.term||"").toUpperCase()||u)return!o&&(r.data=s,voidi(r))}if(o)return!0;varc=n.createTag(e);if(null!=c){varh=n.option(c);h.attr("data-select2-tag",!0),n.addOptions([h]),n.insertTag(s,c)}r.results=s,i(r)}):t.call(this,e,i)},e.prototype.createTag=function(e,i){varn=t.trim(i.term);return""===n?null:{id:n,text:n}},e.prototype.insertTag=function(t,e,i){e.unshift(i)},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){functione(t,e,i){varn=i.get("tokenizer");void0!==n&&(this.tokenizer=n),t.call(this,e,i)}returne.prototype.bind=function(t,e,i){t.call(this,e,i),this.$search=e.dropdown.$search||e.selection.$search||i.find(".select2-search__field")},e.prototype.query=function(e,i,n){varr=this;i.term=i.term||"";varo=this.tokenizer(i,this.options,function(e){vari=r._normalizeItem(e);if(!r.$element.find("option").filter(function(){returnt(this).val()===i.id}).length){varn=r.option(i);n.attr("data-select2-tag",!0),r._removeOldTags(),r.addOptions([n])}!function(t){r.trigger("select",{data:t})}(i)});o.term!==i.term&&(this.$search.length&&(this.$search.val(o.term),this.$search.trigger("focus")),i.term=o.term),e.call(this,i,n)},e.prototype.tokenizer=function(e,i,n,r){for(varo=n.get("tokenSeparators")||[],s=i.term,a=0,l=this.createTag||function(t){return{id:t.term,text:t.term}};a<s.length;){varu=s[a];if(-1!==t.inArray(u,o)){varc=s.substr(0,a),h=l(t.extend({},i,{term:c}));null!=h?(r(h),s=s.substr(a+1)||"",a=0):a++}elsea++}return{term:s}},e
varo=["open","close","destroy"];t.fn.select2=function(e){if("object"==typeof(e=e||{}))returnthis.each(function(){varn=t.extend(!0,{},e);newi(t(this),n)}),this;if("string"==typeofe){varn,s=Array.prototype.slice.call(arguments,1);returnthis.each(function(){vart=r.GetData(this,"select2");null==t&&window.console&&console.error&&console.error("The select2('"+e+"') method was called on an element that is not using Select2."),n=t[e].apply(t,s)}),t.inArray(e,o)>-1?this:n}thrownewError("Invalid arguments for Select2: "+e)}}returnnull==t.fn.select2.defaults&&(t.fn.select2.defaults=n),i}),{define:e.define,require:e.require}}(),i=e.require("jquery.select2");returnt.fn.select2.amd=e,i},r=[i("7t+N")],void0===(o="function"==typeof(n=s)?n.apply(e,r):n)||(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){vari={modals:{}};i.modals.confirmDelete=function(){vare=t("table"),i=function(e){vari=t(this),n=t("#dataConfirmModal"),r=i.attr("href"),o=i.attr("data-content"),s=i.attr("data-title");returnt("#myModalLabel").text(s),n.find(".modal-body").text(o),t("#deleteForm").attr("action",r),n.modal({show:!0}),!1};return{render:function(){e.on("click",".delete-asset",i)}}},t(function(){(newi.modals.confirmDelete).render()})}(jQuery,window.snipeit.settings),$(document).ready(function(){functiont(t){tinstanceofjQuery||(t=$(t));vare=t.data("select2");returnsearchElement=e.dropdown.$search||e.$container.find(".select2-search__field"),searchElement.val()}functione(t){if(t.loading)return$('<i class="fa fa-spinner fa-spin" aria-hidden="true"></i> Loading...');vare=$("<div class='clearfix'>"),i=$("<div class='pull-left' style='padding-right: 10px;'>");if(t.image){varn=$("<div style='width: 30px;'>"),r=$("<img src='' style='max-height: 20px; max-width: 30px;' alt=''>");r.attr("src",t.image),n.append(r)}elsen=$("<div style='height: 20px; width: 30px;'></div>");i.append(n),e.append(i);varo=$("<div>");o.text(t.text),e.append(o);vars=e.get(0).outerHTML,a=function(t){if(t.loading)return'<i class="fa fa-spinner fa-spin" aria-hidden="true"></i> Loading...';vare='<div class="clearfix">';returne+='<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>"}(t);returns!=a&&(console.log("HTML MISMATCH: "),console.log("FormatDatalistSafe: "),console.log(s),console.log("FormatDataList: "),console.log(a)),e}functioni(t){returnt<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();vare=$(".slideout-menu"),i=$(".slideout-menu").width();e.toggleClass("open"),e.hasClass("open")?(e.show(),e.animate({right:"0px"})):(e.animate({right:-i},"-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.pageY-this.offset.click.top<this.containment[1]&&(s=this.containment[1]+this.offset.click.top),e.pageX-this.offset.click.left>this.containment[2]&&(o=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3]&&(s=this.containment[3]+this.offset.click.top)),r.grid&&(i=this.originalPageY+Math.round((s-this.originalPageY)/r.grid[1])*r.grid[1],s=this.containment?i-this.offset.click.top>=this.containment[1]&&i-this.offset.click.top<=this.containment[3]?i:i-this.offset.click.top>=this.containment[1]?i-r.grid[1]:i+r.grid[1]:i,n=this.originalPageX+Math.round((o-this.originalPageX)/r.grid[0])*r.grid[0],o=this.containment?n-this.offset.click.left>=this.containment[0]&&n-this.offset.click.left<=this.containment[2]?n:n-this.offset.click.left>=this.containment[0]?n-r.grid[0]:n+r.grid[0]:n)),{top:s-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():l?0:a.scrollTop()),left:o-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():l?0:a.scrollLeft())}},_rearrange:function(t,e,i,n){i?i[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;varr=this.counter;this._delay(function(){r===this.counter&&this.refreshPositions(!n)})},_clear:function(t,e){functioni(t,e,i){returnfunction(n){i._trigger(t,n,e._uiHash(e))}}this.reverting=!1;varn,r=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(ninthis._storedCSS)"auto"!==this._storedCSS[n]&&"static"!==this._storedCSS[n]||(this._storedCSS[n]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}elsethis.currentItem.show();for(this.fromOutside&&!e&&r.push(function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||e||r.push(function(t){this._trigger("update",t,this._uiHash())}),this!==this.currentContainer&&(e||(r.push(function(t){this._trigger("remove",t,this._uiHash())}),r.push(function(t){returnfunction(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.currentContainer)),r.push(function(t){returnfunction(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.currentContainer)))),n=this.containers.length-1;n>=0;n--)e||r.push(i("deactivate",this,this.containers[n])),this.containers[n].containerCache.over&&(r.push(i("out",this,this.containers[n])),this.containers[n].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,e||this._trigger("beforeStop",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!e){for(n=0;n<r.length;n++)r[n].call(this,t);this._trigger("stop",t,this._uiHash())}returnthis.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){!1===t.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(e){vari=e||this;return{helper:i.helper,placeholder:i.placeholder||t([]),position:i.position,originalPosition:i.originalPosition,offset:i.positionAbs,item:i.currentItem,sender:e?e.element:null}}}),t.widget("ui.accordion",{version:"1.12.1",options:{active:0,animate:{},classes:{"ui-accordion-header":"ui-corner-top","ui-accordion-header-collapsed":"ui-corner-all","ui-accordion-content":"ui-corner-bottom"},collapsible:!1,event:"click",header:"> li > :first-child, > :not(li):even",heightStyle:"auto",icons:
only:"ui-corner-all"}[t],n},_spinnerOptions:function(t){vare=this._buildSimpleOptions(t,"ui-spinner");returne.classes["ui-spinner-up"]="",e.classes["ui-spinner-down"]="",e},_buttonOptions:function(t){returnthis._buildSimpleOptions(t,"ui-button")},_checkboxradioOptions:function(t){returnthis._buildSimpleOptions(t,"ui-checkboxradio-label")},_selectmenuOptions:function(t){vare="vertical"===this.options.direction;return{width:!!e&&"auto",classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(e?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(e?"top":"left")},last:{"ui-selectmenu-button-open":e?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(e?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[t]}},_resolveClassesValues:function(e,i){varn={};returnt.each(e,function(r){varo=i.options.classes[r]||"";o=t.trim(o.replace(d,"")),n[r]=(o+" "+e[r]).replace(/\s+/g," ")}),n},_setOption:function(t,e){if("direction"===t&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(t,e),"disabled"===t)returnvoidthis._callChildMethod(e?"disable":"enable");this.refresh()},refresh:function(){vare,i=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),e=this.childWidgets,this.options.onlyVisible&&(e=e.filter(":visible")),e.length&&(t.each(["first","last"],function(t,n){varr=e[n]().data("ui-controlgroup-data");if(r&&i["_"+r.widgetName+"Options"]){varo=i["_"+r.widgetName+"Options"](1===e.length?"only":n);o.classes=i._resolveClassesValues(o.classes,r),r.element[r.widgetName](o)}elsei._updateCornerClass(e[n](),n)}),this._callChildMethod("refresh"))}});t.widget("ui.checkboxradio",[t.ui.formResetMixin,{version:"1.12.1",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){vare,i,n=this,r=this._super()||{};returnthis._readType(),i=this.element.labels(),this.label=t(i[i.length-1]),this.label.length||t.error("No label found for checkboxradio widget"),this.originalLabel="",this.label.contents().not(this.element[0]).each(function(){n.originalLabel+=3===this.nodeType?t(this).text():this.outerHTML}),this.originalLabel&&(r.label=this.originalLabel),e=this.element[0].disabled,null!=e&&(r.disabled=e),r},_create:function(){vart=this.element[0].checked;this._bindFormResetHandler(),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled),this._setOption("disabled",this.options.disabled),this._addClass("ui-checkboxradio","ui-helper-hidden-accessible"),this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget"),"radio"===this.type&&this._addClass(this.label,"ui-checkboxradio-radio-label"),this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel),this._enhance(),t&&(this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this.icon&&this._addClass(this.icon,null,"ui-state-hover")),this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){vare=this.element[0].nodeName.toLowerCase();this.type=this.element[0].type,"input"===e&&/radio|checkbox/.test(this.type)||t.error("Can't create checkboxradio on element.nodeName="+e+" and element.type="+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){returnthis.label},_getRadioGroup:function(){vare,i=this.element[0].name,n="input[name='"+t.ui.escapeSelector(i)+"']";returni?(e=this.form.length?t(this.form[0].elements).filter(n):t(n).filter(function(){return0===t(this).form().length}),e.not(this.element)):t([])},_toggleClasses:function(){vare=this.element[0].checked;t
t.isFunction(s)&&s()});if("object"!=typeofo&&o)returnthis;varC=t.extend({checkedClass:h,disabledClass:f,indeterminateClass:g,labelHover:!0},o),D=C.handle,T=C.hoverClass||"hover",S=C.focusClass||"focus",A=C.activeClass||"active",M=!!C.labelHover,E=C.labelHoverClass||"hover",I=0|(""+C.increaseArea).replace("%","");return"checkbox"!=D&&D!=c||(a='input[type="'+D+'"]'),I<-50&&(I=-50),p(this),d.each(function(){varo=t(this);r(o);vars,a=this,d=a.id,p=-I+"%",g=100+2*I+"%",D={position:"absolute",top:p,left:p,display:"block",width:g,height:g,margin:0,padding:0,background:"#fff",border:0,opacity:0},O=k?{position:"absolute",visibility:"hidden"}:I?D:{position:"absolute",opacity:0},P="checkbox"==a[v]?C.checkboxClass||"icheckbox":C.radioClass||"i"+c,F=t(w+'[for="'+d+'"]').add(o.closest(w)),$=!!C.aria,N=l+"-"+Math.random().toString(36).substr(2,6),L='<div class="'+P+'" '+($?'role="'+a[v]+'" ':"");$&&F.each(function(){L+='aria-labelledby="',this.id?L+=this.id:(this.id=N,L+=N),L+='"'}),L=o.wrap(L+"/>")[x]("ifCreated").parent().append(C.insert),s=t('<ins class="'+u+'"/>').css(D).appendTo(L),o.data(l,{o:C,s:o.attr("style")}).css(O),!!C.inheritClass&&L[b](a.className||""),!!C.inheritID&&d&&L.attr("id",l+"-"+d),"static"==L.css("position")&&L.css("position","relative"),e(o,!0,m),F.length&&F.on("click.i mouseover.i mouseout.i "+y,function(i){varn=i[v],r=t(this);if(!a[f]){if("click"==n){if(t(i.target).is("a"))return;e(o,!1,!0)}elseM&&(/ut|nd/.test(n)?(L[_](T),r[_](E)):(L[b](T),r[b](E)));if(!k)return!1;i.stopPropagation()}}),o.on("click.i focus.i blur.i keyup.i keydown.i keypress.i",function(t){vare=t[v],r=t.keyCode;return"click"!=e&&("keydown"==e&&32==r?(a[v]==c&&a[h]||(a[h]?n(o,h):i(o,h)),!1):void("keyup"==e&&a[v]==c?!a[h]&&i(o,h):/us|ur/.test(e)&&L["blur"==e?_:b](S)))}),s.on("click mousedown mouseup mouseover mouseout "+y,function(t){vari=t[v],n=/wn|up/.test(i)?A:T;if(!a[f]){if("click"==i?e(o,!1,!0):(/wn|er|in/.test(i)?L[b](n):L[_](n+" "+A),F.length&&M&&n==T&&F[/ut|nd/.test(i)?_:b](E)),!k)return!1;t.stopPropagation()}})})}}(window.jQuery||window.Zepto),function(t){functione(t){for(vare,i,n=t.length;n;e=parseInt(Math.random()*n),i=t[--n],t[n]=t[e],t[e]=i);returnt}functioni(t,e){returnMath.floor(Math.random()*(e-t+1)+t)}varn=[],r=[],o=[],s=[],a=null,l={init:function(e,i){for(varu=t.extend({bind:"click",passwordElement:null,displayElement:null,passwordLength:16,uppercase:!0,lowercase:!0,numbers:!0,specialChars:!0,additionalSpecialChars:[],onPasswordGenerated:function(t){}},e),c=48;c<58;c++)n.push(c);for(c=65;c<91;c++)r.push(c);for(c=97;c<123;c++)o.push(c);returns=[33,35,64,36,38,42,91,93,123,125,92,47,63,58,59,95,45].concat(u.additionalSpecialChars),this.each(function(){a=t(this),a.bind(u.bind,function(t){t.preventDefault(),l.generatePassword(u)})})},generatePassword:function(a){varl=newArray,u=a.uppercase+a.lowercase+a.numbers+a.specialChars,c=0,h=newArray,d=Math.floor(a.passwordLength/u);if(a.uppercase){for(varf=0;f<d;f++)l.push(String.fromCharCode(r[i(0,r.length-1)]));h=h.concat(r),c++}if(a.numbers){for(varf=0;f<d;f++)l.push(String.fromCharCode(n[i(0,n.length-1)]));h=h.concat(n),c++}if(a.specialChars){for(varf=0;f<d;f++)l.push(String.fromCharCode(s[i(0,s.length-1)]));h=h.concat(s),c++}varp=a.passwordLength-c*d;if(a.lowercase)for(varf=0;f<p;f++)l.push(String.fromCharCode(o[i(0,o.length-1)]));elsefor(varf=0;f<p;f++)l.push(String.fromCharCode(h[i(0,h.length-1)]));l=e(l).join(""),null!==a.passwordElement&&t(a.passwordElement).val(l),null!==a.displayElement&&(t(a.displayElement).is("input")?t(a.displayElement).val(l):t(a.displayElement).text(l)),a.onPasswordGenerated(l)}};t.fn.pGenerator=function(e){returnl[e]?l[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeofe&&e?voidt.error("Method "+e+" does not exist on jQuery.pGenerator"):l.init.apply(this,arguments)}}(jQuery),function(t,e){"object"==typeofexports&&"undefined"!=typeofmodule?module.exports=e(function(){try{returnrequire("moment")}catch(t){}}()):"function"==typeofdefine&&define.amd?define(["require"],function(t){returne(function(){try{ret
o.diff(i,e,l)>1e5*u)throwe+" and "+i+" are too far apart with stepSize of "+u+" "+l;for(r=h;r<i;r=+o.add(r,u,l))d.push(r);returnr!==i&&"ticks"!==s.bounds||d.push(r),d}functionIe(t,e,i,n,r){varo,s,a=0,l=0;returnr.offset&&e.length&&(o=ke(t,"time",e[0],"pos"),a=1===e.length?1-o:(ke(t,"time",e[1],"pos")-o)/2,s=ke(t,"time",e[e.length-1],"pos"),l=1===e.length?s:(s-ke(t,"time",e[e.length-2],"pos"))/2),{start:a,end:l,factor:1/(a+1+l)}}functionOe(t,e,i,n){varr,o,s=t._adapter,a=+s.startOf(e[0].value,n),l=e[e.length-1].value;for(r=a;r<=l;r=+s.add(r,1,n))(o=i[r])>=0&&(e[o].major=!0);returne}functionPe(t,e,i){varn,r,o=[],s={},a=e.length;for(n=0;n<a;++n)r=e[n],s[r]=n,o.push({value:r,major:!1});return0!==a&&i?Oe(t,o,s,i):o}functionFe(t,e,i){varn,r=t._model||{},o=r.fill;if(void0===o&&(o=!!r.backgroundColor),!1===o||null===o)return!1;if(!0===o)return"origin";if(n=parseFloat(o,10),isFinite(n)&&Math.floor(n)===n)return"-"!==o[0]&&"+"!==o[0]||(n=e+n),!(n===e||n<0||n>=i)&&n;switch(o){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":returno;default:return!1}}function$e(t){vare,i=t.el._model||{},n=t.el._scale||{},r=t.fill,o=null;if(isFinite(r))returnnull;if("start"===r?o=void0===i.scaleBottom?n.bottom:i.scaleBottom:"end"===r?o=void0===i.scaleTop?n.top:i.scaleTop:void0!==i.scaleZero?o=i.scaleZero:n.getBasePixel&&(o=n.getBasePixel()),void0!==o&&null!==o){if(void0!==o.x&&void0!==o.y)returno;if(Si.isFinite(o))returne=n.isHorizontal(),{x:e?o:null,y:e?null:o}}returnnull}functionNe(t){vare,i,n,r,o,s=t.el._scale,a=s.options,l=s.chart.data.labels.length,u=t.fill,c=[];if(!l)returnnull;for(e=a.ticks.reverse?s.max:s.min,i=a.ticks.reverse?s.min:s.max,n=s.getPointPositionForValue(0,e),r=0;r<l;++r)o="start"===u||"end"===u?s.getPointPositionForValue(r,"start"===u?e:i):s.getBasePosition(r),a.gridLines.circular&&(o.cx=n.x,o.cy=n.y,o.angle=s.getIndexAngle(r)-Math.PI/2),c.push(o);returnc}functionLe(t){return(t.el._scale||{}).getPointPositionForValue?Ne(t):$e(t)}functionRe(t,e,i){varn,r=t[e],o=r.fill,s=[e];if(!i)returno;for(;!1!==o&&-1===s.indexOf(o);){if(!isFinite(o))returno;if(!(n=t[o]))return!1;if(n.visible)returno;s.push(o),o=n.fill}return!1}functionje(t){vare=t.fill,i="dataset";return!1===e?null:(isFinite(e)||(i="boundary"),Ur[i](t))}functionHe(t){returnt&&!t.skip}functionze(t,e,i,n,r){varo,s,a,l;if(n&&r){for(t.moveTo(e[0].x,e[0].y),o=1;o<n;++o)Si.canvas.lineTo(t,e[o-1],e[o]);if(void0===i[0].angle)for(t.lineTo(i[r-1].x,i[r-1].y),o=r-1;o>0;--o)Si.canvas.lineTo(t,i[o],i[o-1],!0);elsefor(s=i[0].cx,a=i[0].cy,l=Math.sqrt(Math.pow(i[0].x-s,2)+Math.pow(i[0].y-a,2)),o=r-1;o>0;--o)t.arc(s,a,l,i[o].angle,i[o-1].angle,!0)}}functionWe(t,e,i,n,r,o){vars,a,l,u,c,h,d,f,p=e.length,g=n.spanGaps,m=[],v=[],y=0,b=0;for(t.beginPath(),s=0,a=p;s<a;++s)l=s%p,u=e[l]._view,c=i(u,l,n),h=He(u),d=He(c),o&&void0===f&&h&&(f=s+1,a=p+f),h&&d?(y=m.push(u),b=v.push(c)):y&&b&&(g?(h&&m.push(u),d&&v.push(c)):(ze(t,m,v,y,b),y=b=0,m=[],v=[]));ze(t,m,v,y,b),t.closePath(),t.fillStyle=r,t.fill()}functionUe(t,e){returnt.usePointStyle&&t.boxWidth>e?e:t.boxWidth}functionBe(t,e){vari=newXr({ctx:t.ctx,options:e,chart:t});Mn.configure(t,i,e),Mn.addBox(t,i),t.legend=i}functionVe(t,e){vari=newZr({ctx:t.ctx,options:e,chart:t});Mn.configure(t,i,e),Mn.addBox(t,i),t.titleBlock=i}t=t&&t.hasOwnProperty("default")?t.default:t;varqe={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,