// Native Javascript for Bootstrap 3 v2.0.23 | © dnp_theme | MIT-License !function(t,n){if("function"==typeof define&&define.amd)define([],n);else if("object"==typeof module&&module.exports)module.exports=n();else{var e=n();t.Affix=e.Affix,t.Alert=e.Alert,t.Button=e.Button,t.Carousel=e.Carousel,t.Collapse=e.Collapse,t.Dropdown=e.Dropdown,t.Modal=e.Modal,t.Popover=e.Popover,t.ScrollSpy=e.ScrollSpy,t.Tab=e.Tab,t.Tooltip=e.Tooltip}}(this,function(){"use strict";var t="undefined"!=typeof global?global:this||window,n=document,e=n.documentElement,i="body",o=t.BSN={},a=o.supports=[],l="data-toggle",r="data-dismiss",c="data-spy",u="data-ride",f="Affix",s="Alert",d="Button",h="Carousel",p="Collapse",v="Dropdown",m="Modal",g="Popover",w="ScrollSpy",b="Tab",y="Tooltip",x="data-backdrop",T="data-keyboard",C="data-target",A="data-interval",I="data-height",k="data-pause",L="data-title",N="data-original-title",S="data-original-text",E="data-dismissible",B="data-trigger",M="data-animation",D="data-container",P="data-placement",H="data-delay",O="data-offset-top",W="data-offset-bottom",j="backdrop",q="keyboard",z="delay",R="content",U="target",X="interval",Y="pause",F="animation",G="placement",J="container",K="offsetTop",Q="offsetBottom",V="offsetLeft",Z="scrollTop",$="scrollLeft",_="clientWidth",tt="clientHeight",nt="offsetWidth",et="offsetHeight",it="innerWidth",ot="innerHeight",at="scrollHeight",lt="height",rt="aria-expanded",ct="aria-hidden",ut="click",ft="hover",st="keydown",dt="keyup",ht="resize",pt="scroll",vt="show",mt="shown",gt="hide",wt="hidden",bt="close",yt="closed",xt="slid",Tt="slide",Ct="change",At="getAttribute",It="setAttribute",kt="hasAttribute",Lt="createElement",Nt="appendChild",St="innerHTML",Et="getElementsByTagName",Bt="preventDefault",Mt="getBoundingClientRect",Dt="querySelectorAll",Pt="getElementsByClassName",Ht="indexOf",Ot="parentNode",Wt="length",jt="toLowerCase",qt="Transition",zt="Webkit",Rt="style",Ut="push",Xt="tabindex",Yt="contains",Ft="active",Gt="in",Jt="collapsing",Kt="disabled",Qt="loading",Vt="left",Zt="right",$t="top",_t="bottom",tn=!("opacity"in e[Rt]),nn="onmouseleave"in n?["mouseenter","mouseleave"]:["mouseover","mouseout"],en=/\b(top|bottom|left|right)+/,on=0,an="navbar-fixed-top",ln="navbar-fixed-bottom",rn=zt+qt in e[Rt]||qt[jt]()in e[Rt],cn=zt+qt in e[Rt]?zt[jt]()+qt+"End":qt[jt]()+"end",un=function(t){t.focus?t.focus():t.setActive()},fn=function(t,n){t.classList.add(n)},sn=function(t,n){t.classList.remove(n)},dn=function(t,n){return t.classList[Yt](n)},hn=function(t){for(var n=[],e=0,i=t[Wt];e=d,x=p[$t]+s.h/2+m.h/2>=h,T=p[$t]-s.h<0,C=p[Vt]-s.w<0,A=p[$t]+s.h+m.h>=h,I=p[Vt]+s.w+m.w>=d;a=(a===Vt||a===Zt)&&C&&I?$t:a,a=a===$t&&T?_t:a,a=a===_t&&A?$t:a,a=a===Vt&&C?Zt:a,a=a===Zt&&I?Vt:a,a===Vt||a===Zt?(c=a===Vt?p[Vt]+v.x-s.w:p[Vt]+v.x+m.w,w?(r=p[$t]+v.y,u=m.h/2):x?(r=p[$t]+v.y-s.h+m.h,u=s.h-m.h/2):r=p[$t]+v.y-s.h/2+m.h/2):a!==$t&&a!==_t||(r=a===$t?p[$t]+v.y-s.h:p[$t]+v.y+m.h,b?(c=0,f=p[Vt]+m.w/2):y?(c=d-1.01*s.w,f=s.w-(d-p[Vt])+m.w/2):c=p[Vt]+v.x-s.w/2+m.w/2),o[Rt][$t]=r+"px",o[Rt][Vt]=c+"px",u&&(g[Rt][$t]=u+"px"),f&&(g[Rt][Vt]=f+"px"),o.className[Ht](a)===-1&&(o.className=o.className.replace(en,a))};o.version="2.0.23";var An=function(o,a){o=vn(o),a=a||{};var l=o[At](C),r=o[At](O),c=o[At](W),u="affix",s="affixed",d="function",h="update",p="affix-top",v="affixed-top",m="affix-bottom",g="affixed-bottom";if(this[U]=a[U]?vn(a[U]):vn(l)||null,this[K]=a[K]?a[K]:parseInt(r)||0,this[Q]=a[Q]?a[Q]:parseInt(c)||0,this[U]||this[K]||this[Q]){var w,b,y,x,T,A,I=this,k=!1,L=!1,N=function(){return Math.max(n[i][at],n[i][et],e[tt],e[at],e[et])},S=function(){return null!==I[U]?I[U][Mt]()[$t]+x:I[K]?parseInt(typeof I[K]===d?I[K]():I[K]||0):void 0},E=function(){if(I[Q])return y-o[et]-parseInt(typeof I[Q]===d?I[Q]():I[Q]||0)},B=function(){y=N(),x=parseInt(Tn().y,0),w=S(),b=E(),T=parseInt(w)-x<0&&x>parseInt(w),A=parseInt(b)-x<0&&x>parseInt(b)},M=function(){k||dn(o,u)||(xn.call(o,u,u),xn.call(o,p,u),fn(o,u),k=!0,xn.call(o,s,u),xn.call(o,v,u))},D=function(){k&&dn(o,u)&&(sn(o,u),k=!1)},P=function(){L||dn(o,m)||(xn.call(o,u,u),xn.call(o,m,u),fn(o,m),L=!0,xn.call(o,s,u),xn.call(o,g,u))},H=function(){L&&dn(o,m)&&(sn(o,m),L=!1)},j=function(){A?(T&&D(),P()):(H(),T?M():D())};this[h]=function(){B(),j()},f in o||(gn(t,pt,I[h]),!tn&&gn(t,ht,I[h])),o[f]=I,I[h]()}};a[Ut]([f,An,"["+c+'="affix"]']);var In=function(t){t=vn(t);var n=this,e="alert",i=mn(t,"."+e),o=function(){dn(i,"fade")?yn(i,l):l()},a=function(o){i=mn(o[U],"."+e),t=vn("["+r+'="'+e+'"]',i),t&&i&&(t===o[U]||t[Yt](o[U]))&&n.close()},l=function(){xn.call(i,yt,e),wn(t,ut,a),i[Ot].removeChild(i)};this.close=function(){i&&t&&dn(i,Gt)&&(xn.call(i,bt,e),sn(i,Gt),i&&o())},s in t||gn(t,ut,a),t[s]=n};a[Ut]([s,In,"["+r+'="alert"]']);var kn=function(t,e){t=vn(t),e=e||null;var i=!1,o="button",a="checked",l="reset",r="LABEL",c="INPUT",u=function(){e&&e!==l&&(e===Qt&&(fn(t,Kt),t[It](Kt,Kt),t[It](S,t[St].trim())),t[St]=t[At]("data-"+e+"-text"))},f=function(){t[At](S)&&((dn(t,Kt)||t[At](Kt)===Kt)&&(sn(t,Kt),t.removeAttribute(Kt)),t[St]=t[At](S))},s=function(t){var e=t.which||t.keyCode;32===e&&t[U]===n.activeElement&&p(t)},h=function(t){var n=t.which||t.keyCode;32===n&&t[Bt]()},p=function(n){var e=n[U].tagName===r?n[U]:n[U][Ot].tagName===r?n[U][Ot]:null;if(e){var l=n[U],u=pn(l[Ot],"btn"),f=e[Et](c)[0];if(f){if("checkbox"===f.type&&(f[a]?(sn(e,Ft),f[At](a),f.removeAttribute(a),f[a]=!1):(fn(e,Ft),f[At](a),f[It](a,a),f[a]=!0),i||(i=!0,xn.call(f,Ct,o),xn.call(t,Ct,o))),"radio"===f.type&&!i&&!f[a]){fn(e,Ft),f[It](a,a),f[a]=!0,xn.call(f,Ct,o),xn.call(t,Ct,o),i=!0;for(var s=0,d=u[Wt];s=0},H=function(t){for(var n=0,e=N[Wt];nt||i===b-1&&0===t)&&(y=p[s]=Zt),t<0?t=b-1:t===b&&(t=0),v=t,e=y===Vt?"next":"prev",xn.call(n,Tt,u,w[t]),g=!0,clearInterval(m),H(t),rn&&dn(n,"slide")?(fn(w[t],e),w[t][nt],fn(w[t],y),fn(w[i],y),bn(w[i],cn,function(o){var a=o[U]!==w[i]?1e3*o.elapsedTime:0;setTimeout(function(){g=!1,fn(w[t],Ft),sn(w[i],Ft),sn(w[t],e),sn(w[t],y),sn(w[i],y),xn.call(n,xt,u,w[t]),p[X]&&!dn(n,f)&&p.cycle()},a+100)})):(fn(w[t],Ft),w[t][nt],sn(w[i],Ft),setTimeout(function(){g=!1,p[X]&&!dn(n,f)&&p.cycle(),xn.call(n,xt,u,w[t])},100))}},this.getActiveIndex=function(){return w[Ht](pn(n,"item active")[0])||0},h in n||(p[Y]&&p[X]&&(gn(n,nn[0],S),gn(n,nn[1],E),gn(n,"touchstart",S),gn(n,"touchend",E)),I&&gn(I,ut,M),C&&gn(C,ut,M),L&&gn(L,ut,B),p[q]&&gn(t,st,D)),p.getActiveIndex()<0&&(w[Wt]&&fn(w[0],Ft),N[Wt]&&H(0)),p[X]&&p.cycle(),n[h]=p};a[Ut]([h,Ln,"["+u+'="carousel"]']);var Nn=function(t,n){t=vn(t),n=n||{};var e=null,i=null,o=this,a=!1,r=t[At]("data-parent"),c="collapse",u="collapsed",f=function(t,n){xn.call(t,vt,c),a=!0,fn(t,Jt),sn(t,c),t[Rt][lt]=t[at]+"px",yn(t,function(){a=!1,t[It](rt,"true"),n[It](rt,"true"),sn(t,Jt),fn(t,c),fn(t,Gt),t[Rt][lt]="",xn.call(t,mt,c)})},s=function(t,n){xn.call(t,gt,c),a=!0,t[Rt][lt]=t[at]+"px",sn(t,c),sn(t,Gt),fn(t,Jt),t[nt],t[Rt][lt]="0px",yn(t,function(){a=!1,t[It](rt,"false"),n[It](rt,"false"),sn(t,Jt),fn(t,c),t[Rt][lt]="",xn.call(t,wt,c)})},d=function(){var n=t.href&&t[At]("href"),e=t[At](C),i=n||e&&"#"===e.charAt(0)&&e;return i&&vn(i)};this.toggle=function(t){t[Bt](),a||(dn(i,Gt)?o.hide():o.show())},this.hide=function(){s(i,t),fn(t,u)},this.show=function(){if(e){var n=vn("."+c+"."+Gt,e),o=n&&(vn("["+l+'="'+c+'"]['+C+'="#'+n.id+'"]',e)||vn("["+l+'="'+c+'"][href="#'+n.id+'"]',e)),a=o&&(o[At](C)||o.href);n&&o&&n!==i&&(s(n,o),a.split("#")[1]!==i.id?fn(o,u):sn(o,u))}f(i,t),sn(t,u)},p in t||gn(t,ut,o.toggle),i=d(),e=vn(n.parent)||r&&mn(t,r),t[p]=o};a[Ut]([p,Nn,"["+l+'="collapse"]']);var Sn=function(t,e){t=vn(t),this.persist=e===!0||"true"===t[At]("data-persist")||!1;var i=this,o="children",a=t[Ot],l="dropdown",r="open",c=null,u=vn(".dropdown-menu",a),f=function(){for(var t=u[o],n=[],e=0;e1?s-1:0:40===a&&se[tt],w=S()},B=function(){u[Rt][d]=!v&&g?w+"px":"",u[Rt][h]=v&&!g?w+"px":""},M=function(){u[Rt][d]="",u[Rt][h]=""},D=function(){on=1;var t=n[Lt]("div");b=vn("."+p),null===b&&(t[It]("class",p+" fade"),b=t,n[i][Nt](b))},P=function(){b=vn("."+p),b&&null!==b&&"object"==typeof b&&(on=0,n[i].removeChild(b),b=null),xn.call(u,wt,f)},H=function(){dn(u,Gt)?gn(n,st,F):wn(n,st,F)},O=function(){dn(u,Gt)?gn(t,ht,y.update):wn(t,ht,y.update)},W=function(){dn(u,Gt)?gn(u,ut,G):wn(u,ut,G)},z=function(){un(u),xn.call(u,mt,f,A)},X=function(){u[Rt].display="",o&&un(o),function(){pn(n,f+" "+Gt)[0]||(M(),N(),sn(n[i],f+"-open"),b&&dn(b,"fade")?(sn(b,Gt),yn(b,P)):P(),O(),W(),H())}()},Y=function(t){var n=t[U];n=n[kt](C)||n[kt]("href")?n:n[Ot],n!==o||dn(u,Gt)||(u.modalTrigger=o,A=o,y.show(),t[Bt]())},F=function(t){var n=t.which||t.keyCode;y[q]&&27==n&&dn(u,Gt)&&y.hide()},G=function(t){var n=t[U];dn(u,Gt)&&(n[Ot][At](r)===f||n[At](r)===f||n===u&&y[j]!==s)&&(y.hide(),A=null,t[Bt]())};this.toggle=function(){dn(u,Gt)?this.hide():this.show()},this.show=function(){xn.call(u,vt,f,A);var t=pn(n,f+" in")[0];t&&t!==u&&t.modalTrigger[m].hide(),this[j]&&!on&&D(),b&&on&&!dn(b,Gt)&&(b[nt],fn(b,Gt)),function(){u[Rt].display="block",E(),L(),B(),fn(n[i],f+"-open"),fn(u,Gt),u[It](ct,!1),O(),W(),H(),dn(u,"fade")?yn(u,z):z()}()},this.hide=function(){xn.call(u,gt,f),b=vn("."+p),sn(u,Gt),u[It](ct,!0),setTimeout(function(){dn(u,"fade")?yn(u,X):X()},rn?150:0)},this.setContent=function(t){vn("."+f+"-content",u)[St]=t},this.update=function(){dn(u,Gt)&&(E(),L(),B())},!o||m in o||gn(o,ut,Y),y[R]&&y.setContent(y[R]),!!o&&(o[m]=y)}};a[Ut]([m,En,"["+l+'="modal"]']);var Bn=function(e,o){e=vn(e),o=o||{};var a=e[At](B),l=e[At](M),r=e[At](P),c=e[At](E),u=e[At](H),f=e[At](D),s="popover",d="template",h="trigger",p="class",v="div",m="fade",w="data-content",b="dismissible",y='',x=vn(o[J]),T=vn(f),C=mn(e,".modal"),A=mn(e,"."+an),I=mn(e,"."+ln);this[d]=o[d]?o[d]:null,this[h]=o[h]?o[h]:a||ft,this[F]=o[F]&&o[F]!==m?o[F]:l||m,this[G]=o[G]?o[G]:r||$t,this[z]=parseInt(o[z]||u)||200,this[b]=!(!o[b]&&"true"!==c),this[J]=x?x:T?T:A?A:I?I:C?C:n[i];var k=this,N=e[At](L)||null,S=e[At](w)||null;if(S||this[d]){var O=null,W=0,j=this[G],q=function(t){null!==O&&t[U]===vn(".close",O)&&k.hide()},R=function(){k[J].removeChild(O),W=null,O=null},X=function(){if(N=e[At](L),S=e[At](w),O=n[Lt](v),null!==S&&null===k[d]){if(O[It]("role","tooltip"),null!==N){var t=n[Lt]("h3");t[It](p,s+"-title"),t[St]=k[b]?N+y:N,O[Nt](t)}var i=n[Lt](v),o=n[Lt](v);i[It](p,"arrow"),o[It](p,s+"-content"),O[Nt](i),O[Nt](o),o[St]=k[b]&&null===N?S+y:S}else{var a=n[Lt](v);a[St]=k[d],O[St]=a.firstChild[St]}k[J][Nt](O),O[Rt].display="block",O[It](p,s+" "+j+" "+k[F])},Y=function(){!dn(O,Gt)&&fn(O,Gt)},K=function(){Cn(e,O,j,k[J])},Q=function(i){ut!=k[h]&&"focus"!=k[h]||!k[b]&&i(e,"blur",k.hide),k[b]&&i(n,ut,q),!tn&&i(t,ht,k.hide)},V=function(){Q(gn),xn.call(e,mt,s)},Z=function(){Q(wn),R(),xn.call(e,wt,s)};this.toggle=function(){null===O?k.show():k.hide()},this.show=function(){clearTimeout(W),W=setTimeout(function(){null===O&&(j=k[G],X(),K(),Y(),xn.call(e,vt,s),k[F]?yn(O,V):V())},20)},this.hide=function(){clearTimeout(W),W=setTimeout(function(){O&&null!==O&&dn(O,Gt)&&(xn.call(e,gt,s),sn(O,Gt),k[F]?yn(O,Z):Z())},k[z])},g in e||(k[h]===ft?(gn(e,nn[0],k.show),k[b]||gn(e,nn[1],k.hide)):ut!=k[h]&&"focus"!=k[h]||gn(e,k[h],k.toggle)),e[g]=k}};a[Ut]([g,Bn,"["+l+'="popover"]']);var Mn=function(n,e){n=vn(n);var i=vn(n[At](C)),o=n[At]("data-offset");if(e=e||{},e[U]||i){for(var a,l=this,r=e[U]&&vn(e[U])||i,c=r&&r[Et]("A"),u=parseInt(o||e.offset)||10,f=[],s=[],d=n[et]=c&&d>a;if(!r&&p)"LI"!==e.tagName||dn(e,Ft)||(fn(e,Ft),o&&!dn(o,Ft)&&fn(o,Ft),xn.call(n,"activate","scrollspy",f[t]));else if(p){if(!p&&!r||r&&p)return}else"LI"===e.tagName&&dn(e,Ft)&&(sn(e,Ft),o&&dn(o,Ft)&&!pn(e[Ot],Ft).length&&sn(o,Ft))},y=function(){a=h?Tn().y:n[Z];for(var t=0,e=f[Wt];t1&&(t=n[n[Wt]-1]):t=n[0],t[Et]("A")[0]},A=function(){return vn(C()[At]("href"))},k=function(t){var n=t[U][At]("href");t[Bt](),c=t[U][At](l)===i||n&&"#"===n.charAt(0)?t[U]:t[U][Ot],!m[r]&&!dn(c[Ot],Ft)&&v.show()};this.show=function(){c=c||t,s=vn(c[At]("href")),u=C(),f=A(),m[r]=!0,sn(u[Ot],Ft),fn(c[Ot],Ft),w&&(dn(t[Ot][Ot],"dropdown-menu")?dn(w,Ft)||fn(w,Ft):dn(w,Ft)&&sn(w,Ft)),xn.call(u,gt,i,c),dn(f,"fade")?(sn(f,Gt),yn(f,T)):T()},b in t||gn(t,ut,k),v[o]&&(g=A()[Ot]),t[b]=v}};a[Ut]([b,Dn,"["+l+'="tab"]']);var Pn=function(e,o){e=vn(e),o=o||{};var a=e[At](M),l=e[At](P),r=e[At](H),c=e[At](D),u="tooltip",f="class",s="title",d="fade",h="div",p=vn(o[J]),v=vn(c),m=mn(e,".modal"),g=mn(e,"."+an),w=mn(e,"."+ln);this[F]=o[F]&&o[F]!==d?o[F]:a||d,this[G]=o[G]?o[G]:l||$t,this[z]=parseInt(o[z]||r)||200,this[J]=p?p:v?v:g?g:w?w:m?m:n[i];var b=this,x=0,T=this[G],C=null,A=e[At](s)||e[At](L)||e[At](N);if(A&&""!=A){var I=function(){b[J].removeChild(C),C=null,x=null},k=function(){if(A=e[At](s)||e[At](L)||e[At](N),!A||""==A)return!1;C=n[Lt](h),C[It]("role",u);var t=n[Lt](h),i=n[Lt](h);t[It](f,u+"-arrow"),i[It](f,u+"-inner"),C[Nt](t),C[Nt](i),i[St]=A,b[J][Nt](C),C[It](f,u+" "+T+" "+b[F])},S=function(){Cn(e,C,T,b[J])},E=function(){!dn(C,Gt)&&fn(C,Gt)},B=function(){xn.call(e,mt,u),!tn&&gn(t,ht,b.hide)},O=function(){!tn&&wn(t,ht,b.hide),I(),xn.call(e,wt,u)};this.show=function(){clearTimeout(x),x=setTimeout(function(){if(null===C){if(T=b[G],0==k())return;S(),E(),xn.call(e,vt,u),b[F]?yn(C,B):B()}},20)},this.hide=function(){clearTimeout(x),x=setTimeout(function(){C&&dn(C,Gt)&&(xn.call(e,gt,u),sn(C,Gt),b[F]?yn(C,O):O())},b[z])},this.toggle=function(){C?b.hide():b.show()},y in e||(e[It](N,A),e.removeAttribute(s),gn(e,nn[0],b.show),gn(e,nn[1],b.hide)),e[y]=b}};a[Ut]([y,Pn,"["+l+'="tooltip"]']);var Hn=function(t,n){for(var e=0,i=n[Wt];e