2018-10-21 00:26:21 +02:00
|
|
|
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery"),require("perfect-scrollbar")):"function"==typeof define&&define.amd?define(["exports","jquery","perfect-scrollbar"],t):t(e.coreui={},e.jQuery,e.PerfectScrollbar)}(this,function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}t=t&&t.hasOwnProperty("default")?t.default:t,n=n&&n.hasOwnProperty("default")?n.default:n;var i=function(e){var t="ajaxLoad",n=e.fn[t],r={ACTIVE:"active",NAV_PILLS:"nav-pills",NAV_TABS:"nav-tabs",OPEN:"open",VIEW_SCRIPT:"view-script"},i={CLICK:"click"},a={HEAD:"head",NAV_DROPDOWN:".sidebar-nav .nav-dropdown",NAV_LINK:".sidebar-nav .nav-link",NAV_ITEM:".sidebar-nav .nav-item",VIEW_SCRIPT:".view-script"},s={defaultPage:"main.html",errorPage:"404.html",subpagesDirectory:"views/"},c=function(){function t(e,t){this._config=this._getConfig(t),this._element=e;var n=location.hash.replace(/^#/,"");""!==n?this.setUpUrl(n):this.setUpUrl(this._config.defaultPage),this._addEventListeners()}var n=t.prototype;return n.loadPage=function(t){var n=this._element,o=this._config,i=function e(t,n){void 0===n&&(n=0);var o=document.createElement("script");o.type="text/javascript",o.src=t[n],o.className=r.VIEW_SCRIPT,o.onload=o.onreadystatechange=function(){this.readyState&&"complete"!==this.readyState||t.length>n+1&&e(t,n+1)},document.getElementsByTagName("body")[0].appendChild(o)};e.ajax({type:"GET",url:o.subpagesDirectory+t,dataType:"html",beforeSend:function(){e(a.VIEW_SCRIPT).remove()},success:function(r){var o=document.createElement("div");o.innerHTML=r;var a=Array.from(o.querySelectorAll("script")).map(function(e){return e.attributes.getNamedItem("src").nodeValue});o.querySelectorAll("script").forEach(function(e){return e.parentNode.removeChild(e)}),e("body").animate({scrollTop:0},0),e(n).html(o),a.length&&i(a),window.location.hash=t},error:function(){window.location.href=o.errorPage}})},n.setUpUrl=function(t){e(a.NAV_LINK).removeClass(r.ACTIVE),e(a.NAV_DROPDOWN).removeClass(r.OPEN),e(a.NAV_DROPDOWN+':has(a[href="'+t.replace(/^\//,"").split("?")[0]+'"])').addClass(r.OPEN),e(a.NAV_ITEM+' a[href="'+t.replace(/^\//,"").split("?")[0]+'"]').addClass(r.ACTIVE),this.loadPage(t)},n.loadBlank=function(e){window.open(e)},n.loadTop=function(e){window.location=e},n._getConfig=function(e){return e=Object.assign({},s,e)},n._addEventListeners=function(){var t=this;e(document).on(i.CLICK,a.NAV_LINK+'[href!="#"]',function(e){e.preventDefault(),e.stopPropagation(),"_top"===e.currentTarget.target?t.loadTop(e.currentTarget.href):"_blank"===e.currentTarget.target?t.loadBlank(e.currentTarget.href):t.setUpUrl(e.currentTarget.getAttribute("href"))})},t._jQueryInterface=function(n){return this.each(function(){var r=e(this).data("coreui.ajaxLoad"),o="object"==typeof n&&n;r||(r=new t(this,o),e(this).data("coreui.ajaxLoad",r))})},o(t,null,[{key:"VERSION",get:function(){return"2.0.18"}},{key:"Default",get:function(){return s}}]),t}();return e.fn[t]=c._jQueryInterface,e.fn[t].Constructor=c,e.fn[t].noConflict=function(){return e.fn[t]=n,c._jQueryInterface},c}(t),a=function(e){return-1!==e.map(function(e){return document.body.classList.contains(e)}).indexOf(!0)},s=function(e,t){var n=t.indexOf(e),r=t.slice(0,n+1);a(r)?r.map(function(e){return document.body.classList.remove(e)}):document.body.classList.add(e)},c=function(e){var t="aside-menu",n="coreui.aside-menu",r=e.fn[t],i={CLICK:"click",LOAD_DATA_API:"load.coreui.aside-menu.data-api",TOGGLE:"toggle"},a={BODY:"body",ASIDE_MENU:".aside-menu",ASIDE_MENU_TOGGLER:".aside-menu-toggler"},c=["aside-menu-show","aside-menu-sm-show","aside-menu-md-show","aside-menu-lg-show","aside-menu-xl-show"],u=function(){function t(e){this._element=e,this._addEventListeners()}return t.prototype._addEventListeners=function(){e(a.ASIDE_MENU_TOGGLER).on(i.CLICK,function(e){e.preventDefault(),e.stopPropagation();var t=e.currentTarget.dat
|
2018-10-18 12:47:55 +02:00
|
|
|
;(t.props||(t.props={}))[n]=t.model.value;var i=t.on||(t.on={});o(i[r])?i[r]=[t.model.callback].concat(i[r]):i[r]=t.model.callback}(e.options,t);var f=function(e,t,n){var i=t.options.props;if(!r(i)){var a={},s=e.attrs,c=e.props;if(o(s)||o(c))for(var u in i){var l=Zn(u);re(a,c,u,l,!0)||re(a,s,u,l,!1)}return a}}(t,e);if(i(e.options.functional))return function(e,t,n,r,i){var a=e.options,s={},c=a.props;if(o(c))for(var u in c)s[u]=H(u,c,t||Gn);else o(n.attrs)&&Be(s,n.attrs),o(n.props)&&Be(s,n.props);var l=new Pe(n,s,i,r,e),f=a.render.call(null,l._c,l);if(f instanceof Or)return Me(f,n,l.parent,a);if(Array.isArray(f)){for(var d=oe(f)||[],p=new Array(d.length),v=0;v<d.length;v++)p[v]=Me(d[v],n,l.parent,a);return p}}(e,f,t,n,a);var d=t.on;if(t.on=t.nativeOn,i(e.options.abstract)){var p=t.slot;t={},p&&(t.slot=p)}!function(e){for(var t=e.hook||(e.hook={}),n=0;n<ao.length;n++){var r=ao[n];t[r]=io[r]}}(t);var v=e.options.name||c;return new Or("vue-component-"+e.cid+(v?"-"+v:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:f,listeners:d,tag:c,children:a},l)}}}function Ve(e,t,n,c,u,l){return(Array.isArray(n)||a(n))&&(u=c,c=n,n=void 0),i(l)&&(u=co),function(e,t,n,a,c){if(o(n)&&o(n.__ob__))return Er();if(o(n)&&o(n.is)&&(t=n.is),!t)return Er();Array.isArray(a)&&"function"==typeof a[0]&&((n=n||{}).scopedSlots={default:a[0]},a.length=0),c===co?a=oe(a):c===so&&(a=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(a));var u,l;if("string"==typeof t){var f;l=e.$vnode&&e.$vnode.ns||ir.getTagNamespace(t),u=ir.isReservedTag(t)?new Or(ir.parsePlatformTagName(t),n,a,void 0,void 0,e):o(f=G(e.$options,"components",t))?Fe(f,n,e,a,t):new Or(t,n,a,void 0,void 0,e)}else u=Fe(t,n,e,a);return Array.isArray(u)?u:o(u)?(o(l)&&function e(t,n,a){if(t.ns=n,"foreignObject"===t.tag&&(n=void 0,a=!0),o(t.children))for(var s=0,c=t.children.length;s<c;s++){var u=t.children[s];o(u.tag)&&(r(u.ns)||i(a)&&"svg"!==u.tag)&&e(u,n,a)}}(u,l),o(n)&&function(e){s(e.style)&&Y(e.style),s(e.class)&&Y(e.class)}(n),u):Er()}(e,t,n,c,u)}function Ue(e){var t=e.options;if(e.super){var n=Ue(e.super);if(n!==e.superOptions){e.superOptions=n;var r=function(e){var t,n=e.options,r=e.extendOptions,o=e.sealedOptions;for(var i in n)n[i]!==o[i]&&(t||(t={}),t[i]=Ge(n[i],r[i],o[i]));return t}(e);r&&y(e.extendOptions,r),(t=e.options=U(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function Ge(e,t,n){if(Array.isArray(e)){var r=[];n=Array.isArray(n)?n:[n],t=Array.isArray(t)?t:[t];for(var o=0;o<e.length;o++)(t.indexOf(e[o])>=0||n.indexOf(e[o])<0)&&r.push(e[o]);return r}return e}function He(e){this._init(e)}function qe(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,o=e._Ctor||(e._Ctor={});if(o[r])return o[r];var i=e.name||n.options.name,a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=U(n.options,e),a.super=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)_e(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)we(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,rr.forEach(function(e){a[e]=n[e]}),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=y({},a.options),o[r]=a,a}}function Ke(e){return e&&(e.Ctor.options.name||e.tag)}function We(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!u(e)&&e.test(t)}function ze(e,t){var n=e.cache,r=e.keys,o=e._vnode;for(var i in n){var a=n[i];if(a){var s=Ke(a.componentOptions);s&&!t(s)&&Je(n,i,r,o)}}}function Je(e,t,n,r){var o=e[t];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),e[t]=null,v(n,t)}function Xe(e){for(var t=e.data,n=e,r=e;o(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=Qe(r.data,t));for(;o(n=n.parent);)n&&n.data&&(t=Qe(t,n.data));return function(e,t){return o(e)||o(t)?Ze(e,Ye(t)):""}(t.staticClass,t.class)}function Qe(e,t){return{staticClass:Ze(e.staticClass,t.staticClass),class:o(e.class)?[e.class,t.class]:t.class
|
|
|
|
return(Ia=Ia||document.createElement("div")).innerHTML=e?'<a href="\n"/>':'<div a="\n"/>',Ia.innerHTML.indexOf(" ")>0}var Un,Gn=Object.freeze({}),Hn=Object.prototype.toString,qn=p("slot,component",!0),Kn=p("key,ref,slot,slot-scope,is"),Wn=Object.prototype.hasOwnProperty,zn=/-(\w)/g,Jn=m(function(e){return e.replace(zn,function(e,t){return t?t.toUpperCase():""})}),Xn=m(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),Qn=/\B([A-Z])/g,Zn=m(function(e){return e.replace(Qn,"-$1").toLowerCase()}),Yn=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n},er=function(e,t,n){return!1},tr=function(e){return e},nr="data-server-rendered",rr=["component","directive","filter"],or=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],ir={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:er,isReservedAttr:er,isUnknownElement:er,getTagNamespace:b,parsePlatformTagName:tr,mustUseProp:er,_lifecycleHooks:or},ar=/[^\w.$]/,sr="__proto__"in{},cr="undefined"!=typeof window,ur="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,lr=ur&&WXEnvironment.platform.toLowerCase(),fr=cr&&window.navigator.userAgent.toLowerCase(),dr=fr&&/msie|trident/.test(fr),pr=fr&&fr.indexOf("msie 9.0")>0,vr=fr&&fr.indexOf("edge/")>0,hr=(fr&&fr.indexOf("android"),fr&&/iphone|ipad|ipod|ios/.test(fr)||"ios"===lr),mr=(fr&&/chrome\/\d+/.test(fr),{}.watch),gr=!1;if(cr)try{var yr={};Object.defineProperty(yr,"passive",{get:function(){gr=!0}}),window.addEventListener("test-passive",null,yr)}catch(e){}var _r,br=function(){return void 0===Un&&(Un=!cr&&!ur&&void 0!==t&&"server"===t.process.env.VUE_ENV),Un},wr=cr&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Cr="undefined"!=typeof Symbol&&I(Symbol)&&"undefined"!=typeof Reflect&&I(Reflect.ownKeys);_r="undefined"!=typeof Set&&I(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var xr=b,Ar=0,$r=function(){this.id=Ar++,this.subs=[]};$r.prototype.addSub=function(e){this.subs.push(e)},$r.prototype.removeSub=function(e){v(this.subs,e)},$r.prototype.depend=function(){$r.target&&$r.target.addDep(this)},$r.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t<n;t++)e[t].update()},$r.target=null;var Ir=[],Or=function(e,t,n,r,o,i,a,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.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},Tr={child:{configurable:!0}};Tr.child.get=function(){return this.componentInstance},Object.defineProperties(Or.prototype,Tr);var Er=function(e){void 0===e&&(e="");var t=new Or;return t.text=e,t.isComment=!0,t},kr=Array.prototype,Sr=Object.create(kr);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=kr[e];$(Sr,e,function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var o,i=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2)}return o&&a.observeArray(o),a.dep.notify(),i})});var Nr=Object.getOwnPropertyNames(Sr),Lr=!0,Dr=function(e){this.value=e,this.dep=new $r,this.vmCount=0,$(e,"__ob__",this),Array.isArray(e)?((sr?N:L)(e,Sr,Nr),this.observeArray(e)):this.walk(e)};Dr.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)j(e,t[n])},Dr.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)D(e[t])};var jr=ir.optionM
|
|
|
|
},Oi=p("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Ti=p("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Ei=p("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),ki=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Si="[a-zA-Z_][\\w\\-\\.]*",Ni="((?:"+Si+"\\:)?"+Si+")",Li=new RegExp("^<"+Ni),Di=/^\s*(\/?)>/,ji=new RegExp("^<\\/"+Ni+"[^>]*>"),Ri=/^<!DOCTYPE [^>]+>/i,Pi=/^<!\--/,Mi=/^<!\[/,Bi=!1;"x".replace(/x(.)?/g,function(e,t){Bi=""===t});var Fi,Vi,Ui,Gi,Hi,qi,Ki,Wi,zi,Ji,Xi=p("script,style,textarea",!0),Qi={},Zi={"<":"<",">":">",""":'"',"&":"&"," ":"\n","	":"\t"},Yi=/&(?:lt|gt|quot|amp);/g,ea=/&(?:lt|gt|quot|amp|#10|#9);/g,ta=p("pre,textarea",!0),na=function(e,t){return e&&ta(e)&&"\n"===t[0]},ra=/^@|^v-on:/,oa=/^v-|^@|^:/,ia=/([^]*?)\s+(?:in|of)\s+([^]*)/,aa=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,sa=/^\(|\)$/g,ca=/:(.*)$/,ua=/^:|^v-bind:/,la=/\.[^.]+/g,fa=m(Ii),da=/^xmlns:NS\d+/,pa=/^NS\d+:/,va=[Ai,$i,{preTransformNode:function(e,t){if("input"===e.tag){var n,r=e.attrsMap;if(!r["v-model"])return;if((r[":type"]||r["v-bind:type"])&&(n=Ct(e,"type")),r.type||n||!r["v-bind"]||(n="("+r["v-bind"]+").type"),n){var o=xt(e,"v-if",!0),i=o?"&&("+o+")":"",a=null!=xt(e,"v-else",!0),s=xt(e,"v-else-if",!0),c=xn(e);bn(c),_t(c,"type","checkbox"),_n(c,t),c.processed=!0,c.if="("+n+")==='checkbox'"+i,wn(c,{exp:c.if,block:c});var u=xn(e);xt(u,"v-for",!0),_t(u,"type","radio"),_n(u,t),wn(c,{exp:"("+n+")==='radio'"+i,block:u});var l=xn(e);return xt(l,"v-for",!0),_t(l,":type",n),_n(l,t),wn(c,{exp:o,block:l}),a?c.else=!0:s&&(c.elseif=s),c}}}}],ha={expectHTML:!0,modules:va,directives:{model:function(e,t,n){var r=t.value,o=t.modifiers,i=e.tag,a=e.attrsMap.type;if(e.component)return At(e,r,o),!1;if("select"===i)!function(e,t,n){var r='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(n&&n.number?"_n(val)":"val")+"});";r=r+" "+$t(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),wt(e,"change",r,null,!0)}(e,r,o);else if("input"===i&&"checkbox"===a)!function(e,t,n){var r=n&&n.number,o=Ct(e,"value")||"null",i=Ct(e,"true-value")||"true",a=Ct(e,"false-value")||"false";gt(e,"checked","Array.isArray("+t+")?_i("+t+","+o+")>-1"+("true"===i?":("+t+")":":_q("+t+","+i+")")),wt(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+i+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+o+")":o)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+$t(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+$t(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+$t(t,"$$c")+"}",null,!0)}(e,r,o);else if("input"===i&&"radio"===a)!function(e,t,n){var r=n&&n.number,o=Ct(e,"value")||"null";gt(e,"checked","_q("+t+","+(o=r?"_n("+o+")":o)+")"),wt(e,"change",$t(t,o),null,!0)}(e,r,o);else if("input"===i||"textarea"===i)!function(e,t,n){var r=e.attrsMap.type,o=n||{},i=o.lazy,a=o.number,s=o.trim,c=!i&&"range"!==r,u=i?"change":"range"===r?Ko:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=$t(t,l);c&&(f="if($event.target.composing)return;"+f),gt(e,"value","("+t+")"),wt(e,u,f,null,!0),(s||a)&&wt(e,"blur","$forceUpdate()")}(e,r,o);else if(!ir.isReservedTag(i))return At(e,r,o),!1;return!0},text:function(e,t){t.value&>(e,"textContent","_s("+t.value+")")},html:function(e,t){t.value&>(e,"innerHTML","_s("+t.value+")")}},isPreTag:function(e){return"pre"===e},isUnaryTag:Oi,mustUseProp:xo,canBeLeftOpenTag:Ti,isReservedTag:Lo,getTagNamespace:et,staticKeys:function(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}(va)},ma=m(function(e){return p("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(e?","+e:""))}),ga=/^([\w$_]+|\([^)]*?\))\s*=>|^f
|