nbot

A clone of the eBot by @deStrO fully based on node.js with build in Web Page - WIP
git clone git://archive.git.mtrnord.blog/MTRNord/nbot.git
Log | Files | Refs | README | LICENSE

apidocs_assets_vendor_bootstrap_js_bootstrap.min.js.html (38990B)


      1 <!DOCTYPE html>
      2 <html lang="en">
      3 <head>
      4     <meta charset="utf-8">
      5     <title>apidocs\assets\vendor\bootstrap\js\bootstrap.min.js - nBot</title>
      6     <link rel="stylesheet" href="">
      7     <link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
      8     <link rel="stylesheet" href="../assets/css/main.css" id="site_styles">
      9     <link rel="stylesheet" href="../assets/css/custom.css">
     10     <link rel="stylesheet" href="../assets/vendor/bootstrap/css/bootstrap.css">
     11     <link rel="shortcut icon" type="image/png" href="../assets/favicon.png">
     12 </head>
     13 <body class="yui3-skin-sam">
     14 <div class="navbar navbar-fixed-top">
     15     <div class="navbar-inner">
     16         <h1 class="brand" style="padding: 10px 16px 10px; height: 20px; line-height: 20px; margin-left: 0;">
     17 	    <img alt="nBot" src="../assets/css/logo.png" style="max-height: 65%;" title="nBot">
     18             nBot
     19         </h1>
     20 	<div class="nav">
     21             <li class="divider-vertical"></li>
     22             <li>
     23                 <p class="navbar-text">
     24                     API Docs for Version: <b>0.0.1</b>
     25                 </p>
     26             </li>
     27         </div>
     28         <form class="navbar-form pull-right" style="line-height: 40px; height: 40px;">
     29             <input style="margin-top: 0;" type="text" class="search-query" placeholder="Search for classes/modules..." data-obj='["classes/addServer", "classes/nBot", "classes/rcon", "classes/server", "modules/addServer", "modules/nBot", "modules/rcon", "modules/server"]'>
     30         </form>
     31     </div>
     32 </div>
     33 <div class="container">
     34     <div class="row">
     35         <div class="span3">
     36 	    <div>
     37 	        <h3>APIs</h3>
     38 	        <div id="sidebar">
     39 	            <ul id="main-nav" class="nav nav-tabs" style="margin-bottom:0;">
     40 	                <li class="active"><a href="#classes" data-toggle="tab">Classes</a></li>
     41 	                <li><a href="#modules" data-toggle="tab">Modules</a></li>
     42 	            </ul>
     43 	    
     44 	            <div id="api-tabview-filter">
     45 	                <input type="search" placeholder="Type to filter APIs">
     46 	            </div>
     47 	    
     48 	            <div class="tab-content" style="border: 1px solid #DDD; border-top:0;">
     49 	                <div class="tab-pane active" id="classes">
     50 	                    <ul id="api-classes" class="nav nav-list">
     51 	                            <li><a href="../classes/addServer.html">addServer</a></li>
     52 	                            <li><a href="../classes/nBot.html">nBot</a></li>
     53 	                            <li><a href="../classes/rcon.html">rcon</a></li>
     54 	                            <li><a href="../classes/server.html">server</a></li>
     55 	                    </ul>
     56 	                </div>
     57 	    
     58 	                <div class="tab-pane" id="modules">
     59 	                    <ul id="api-modules" class="nav nav-list">
     60 	                            <li><a href="../modules/addServer.html">addServer</a></li>
     61 	                            <li><a href="../modules/nBot.html">nBot</a></li>
     62 	                            <li><a href="../modules/rcon.html">rcon</a></li>
     63 	                            <li><a href="../modules/server.html">server</a></li>
     64 	                    </ul>
     65 	                </div>
     66 	            </div>
     67 	        </div>
     68 	    </div>
     69         </div>
     70         <div class="span9">
     71                 <form id="options-form" class="form-inline pull-right">
     72                     Show:
     73                     <label for="api-show-inherited" class="checkbox">
     74                         <input type="checkbox" id="api-show-inherited" checked>
     75                         Inherited
     76                     </label>
     77             
     78                     <label for="api-show-protected" class="checkbox">
     79                         <input type="checkbox" id="api-show-protected">
     80                         Protected
     81                     </label>
     82             
     83                     <label for="api-show-private" class="checkbox">
     84                         <input type="checkbox" id="api-show-private">
     85                         Private
     86                     </label>
     87                     <label for="api-show-deprecated" class="checkbox">
     88                         <input type="checkbox" id="api-show-deprecated">
     89                         Deprecated
     90                     </label>
     91             
     92                 </form>
     93             
     94             <div class="apidocs">
     95                 <div id="docs-main">
     96                     <div class="content">
     97 <div class="page-header">
     98     <h1>apidocs\assets\vendor\bootstrap\js\bootstrap.min.js <small>File</small></h1>
     99 </div>
    100 
    101 <div class="file">
    102     <pre class="prettyprint linenums">
    103 /**
    104 * Bootstrap.js by @fat &amp; @mdo
    105 * plugins: bootstrap-transition.js, bootstrap-modal.js, bootstrap-dropdown.js, bootstrap-scrollspy.js, bootstrap-tab.js, bootstrap-tooltip.js, bootstrap-popover.js, bootstrap-affix.js, bootstrap-alert.js, bootstrap-button.js, bootstrap-collapse.js, bootstrap-carousel.js, bootstrap-typeahead.js
    106 * Copyright 2012 Twitter, Inc.
    107 * http://www.apache.org/licenses/LICENSE-2.0.txt
    108 */
    109 !function(a){a(function(){a.support.transition=function(){var a=function(){var a=document.createElement(&quot;bootstrap&quot;),b={WebkitTransition:&quot;webkitTransitionEnd&quot;,MozTransition:&quot;transitionend&quot;,OTransition:&quot;oTransitionEnd otransitionend&quot;,transition:&quot;transitionend&quot;},c;for(c in b)if(a.style[c]!==undefined)return b[c]}();return a&amp;&amp;{end:a}}()})}(window.jQuery),!function(a){var b=function(b,c){this.options=c,this.$element=a(b).delegate(&#x27;[data-dismiss=&quot;modal&quot;]&#x27;,&quot;click.dismiss.modal&quot;,a.proxy(this.hide,this)),this.options.remote&amp;&amp;this.$element.find(&quot;.modal-body&quot;).load(this.options.remote)};b.prototype={constructor:b,toggle:function(){return this[this.isShown?&quot;hide&quot;:&quot;show&quot;]()},show:function(){var b=this,c=a.Event(&quot;show&quot;);this.$element.trigger(c);if(this.isShown||c.isDefaultPrevented())return;this.isShown=!0,this.escape(),this.backdrop(function(){var c=a.support.transition&amp;&amp;b.$element.hasClass(&quot;fade&quot;);b.$element.parent().length||b.$element.appendTo(document.body),b.$element.show(),c&amp;&amp;b.$element[0].offsetWidth,b.$element.addClass(&quot;in&quot;).attr(&quot;aria-hidden&quot;,!1),b.enforceFocus(),c?b.$element.one(a.support.transition.end,function(){b.$element.focus().trigger(&quot;shown&quot;)}):b.$element.focus().trigger(&quot;shown&quot;)})},hide:function(b){b&amp;&amp;b.preventDefault();var c=this;b=a.Event(&quot;hide&quot;),this.$element.trigger(b);if(!this.isShown||b.isDefaultPrevented())return;this.isShown=!1,this.escape(),a(document).off(&quot;focusin.modal&quot;),this.$element.removeClass(&quot;in&quot;).attr(&quot;aria-hidden&quot;,!0),a.support.transition&amp;&amp;this.$element.hasClass(&quot;fade&quot;)?this.hideWithTransition():this.hideModal()},enforceFocus:function(){var b=this;a(document).on(&quot;focusin.modal&quot;,function(a){b.$element[0]!==a.target&amp;&amp;!b.$element.has(a.target).length&amp;&amp;b.$element.focus()})},escape:function(){var a=this;this.isShown&amp;&amp;this.options.keyboard?this.$element.on(&quot;keyup.dismiss.modal&quot;,function(b){b.which==27&amp;&amp;a.hide()}):this.isShown||this.$element.off(&quot;keyup.dismiss.modal&quot;)},hideWithTransition:function(){var b=this,c=setTimeout(function(){b.$element.off(a.support.transition.end),b.hideModal()},500);this.$element.one(a.support.transition.end,function(){clearTimeout(c),b.hideModal()})},hideModal:function(){var a=this;this.$element.hide(),this.backdrop(function(){a.removeBackdrop(),a.$element.trigger(&quot;hidden&quot;)})},removeBackdrop:function(){this.$backdrop&amp;&amp;this.$backdrop.remove(),this.$backdrop=null},backdrop:function(b){var c=this,d=this.$element.hasClass(&quot;fade&quot;)?&quot;fade&quot;:&quot;&quot;;if(this.isShown&amp;&amp;this.options.backdrop){var e=a.support.transition&amp;&amp;d;this.$backdrop=a(&#x27;&lt;div class=&quot;modal-backdrop &#x27;+d+&#x27;&quot; /&gt;&#x27;).appendTo(document.body),this.$backdrop.click(this.options.backdrop==&quot;static&quot;?a.proxy(this.$element[0].focus,this.$element[0]):a.proxy(this.hide,this)),e&amp;&amp;this.$backdrop[0].offsetWidth,this.$backdrop.addClass(&quot;in&quot;);if(!b)return;e?this.$backdrop.one(a.support.transition.end,b):b()}else!this.isShown&amp;&amp;this.$backdrop?(this.$backdrop.removeClass(&quot;in&quot;),a.support.transition&amp;&amp;this.$element.hasClass(&quot;fade&quot;)?this.$backdrop.one(a.support.transition.end,b):b()):b&amp;&amp;b()}};var c=a.fn.modal;a.fn.modal=function(c){return this.each(function(){var d=a(this),e=d.data(&quot;modal&quot;),f=a.extend({},a.fn.modal.defaults,d.data(),typeof c==&quot;object&quot;&amp;&amp;c);e||d.data(&quot;modal&quot;,e=new b(this,f)),typeof c==&quot;string&quot;?e[c]():f.show&amp;&amp;e.show()})},a.fn.modal.defaults={backdrop:!0,keyboard:!0,show:!0},a.fn.modal.Constructor=b,a.fn.modal.noConflict=function(){return a.fn.modal=c,this},a(document).on(&quot;click.modal.data-api&quot;,&#x27;[data-toggle=&quot;modal&quot;]&#x27;,function(b){var c=a(this),d=c.attr(&quot;href&quot;),e=a(c.attr(&quot;data-target&quot;)||d&amp;&amp;d.replace(/.*(?=#[^\s]+$)/,&quot;&quot;)),f=e.data(&quot;modal&quot;)?&quot;toggle&quot;:a.extend({remote:!/#/.test(d)&amp;&amp;d},e.data(),c.data());b.preventDefault(),e.modal(f).one(&quot;hide&quot;,function(){c.focus()})})}(window.jQuery),!function(a){function d(){a(b).each(function(){e(a(this)).removeClass(&quot;open&quot;)})}function e(b){var c=b.attr(&quot;data-target&quot;),d;c||(c=b.attr(&quot;href&quot;),c=c&amp;&amp;/#/.test(c)&amp;&amp;c.replace(/.*(?=#[^\s]*$)/,&quot;&quot;)),d=c&amp;&amp;a(c);if(!d||!d.length)d=b.parent();return d}var b=&quot;[data-toggle=dropdown]&quot;,c=function(b){var c=a(b).on(&quot;click.dropdown.data-api&quot;,this.toggle);a(&quot;html&quot;).on(&quot;click.dropdown.data-api&quot;,function(){c.parent().removeClass(&quot;open&quot;)})};c.prototype={constructor:c,toggle:function(b){var c=a(this),f,g;if(c.is(&quot;.disabled, :disabled&quot;))return;return f=e(c),g=f.hasClass(&quot;open&quot;),d(),g||f.toggleClass(&quot;open&quot;),c.focus(),!1},keydown:function(c){var d,f,g,h,i,j;if(!/(38|40|27)/.test(c.keyCode))return;d=a(this),c.preventDefault(),c.stopPropagation();if(d.is(&quot;.disabled, :disabled&quot;))return;h=e(d),i=h.hasClass(&quot;open&quot;);if(!i||i&amp;&amp;c.keyCode==27)return c.which==27&amp;&amp;h.find(b).focus(),d.click();f=a(&quot;[role=menu] li:not(.divider):visible a&quot;,h);if(!f.length)return;j=f.index(f.filter(&quot;:focus&quot;)),c.keyCode==38&amp;&amp;j&gt;0&amp;&amp;j--,c.keyCode==40&amp;&amp;j&lt;f.length-1&amp;&amp;j++,~j||(j=0),f.eq(j).focus()}};var f=a.fn.dropdown;a.fn.dropdown=function(b){return this.each(function(){var d=a(this),e=d.data(&quot;dropdown&quot;);e||d.data(&quot;dropdown&quot;,e=new c(this)),typeof b==&quot;string&quot;&amp;&amp;e[b].call(d)})},a.fn.dropdown.Constructor=c,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=f,this},a(document).on(&quot;click.dropdown.data-api&quot;,d).on(&quot;click.dropdown.data-api&quot;,&quot;.dropdown form&quot;,function(a){a.stopPropagation()}).on(&quot;click.dropdown-menu&quot;,function(a){a.stopPropagation()}).on(&quot;click.dropdown.data-api&quot;,b,c.prototype.toggle).on(&quot;keydown.dropdown.data-api&quot;,b+&quot;, [role=menu]&quot;,c.prototype.keydown)}(window.jQuery),!function(a){function b(b,c){var d=a.proxy(this.process,this),e=a(b).is(&quot;body&quot;)?a(window):a(b),f;this.options=a.extend({},a.fn.scrollspy.defaults,c),this.$scrollElement=e.on(&quot;scroll.scroll-spy.data-api&quot;,d),this.selector=(this.options.target||(f=a(b).attr(&quot;href&quot;))&amp;&amp;f.replace(/.*(?=#[^\s]+$)/,&quot;&quot;)||&quot;&quot;)+&quot; .nav li &gt; a&quot;,this.$body=a(&quot;body&quot;),this.refresh(),this.process()}b.prototype={constructor:b,refresh:function(){var b=this,c;this.offsets=a([]),this.targets=a([]),c=this.$body.find(this.selector).map(function(){var c=a(this),d=c.data(&quot;target&quot;)||c.attr(&quot;href&quot;),e=/^#\w/.test(d)&amp;&amp;a(d);return e&amp;&amp;e.length&amp;&amp;[[e.position().top+(!a.isWindow(b.$scrollElement.get(0))&amp;&amp;b.$scrollElement.scrollTop()),d]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){b.offsets.push(this[0]),b.targets.push(this[1])})},process:function(){var a=this.$scrollElement.scrollTop()+this.options.offset,b=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,c=b-this.$scrollElement.height(),d=this.offsets,e=this.targets,f=this.activeTarget,g;if(a&gt;=c)return f!=(g=e.last()[0])&amp;&amp;this.activate(g);for(g=d.length;g--;)f!=e[g]&amp;&amp;a&gt;=d[g]&amp;&amp;(!d[g+1]||a&lt;=d[g+1])&amp;&amp;this.activate(e[g])},activate:function(b){var c,d;this.activeTarget=b,a(this.selector).parent(&quot;.active&quot;).removeClass(&quot;active&quot;),d=this.selector+&#x27;[data-target=&quot;&#x27;+b+&#x27;&quot;],&#x27;+this.selector+&#x27;[href=&quot;&#x27;+b+&#x27;&quot;]&#x27;,c=a(d).parent(&quot;li&quot;).addClass(&quot;active&quot;),c.parent(&quot;.dropdown-menu&quot;).length&amp;&amp;(c=c.closest(&quot;li.dropdown&quot;).addClass(&quot;active&quot;)),c.trigger(&quot;activate&quot;)}};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data(&quot;scrollspy&quot;),f=typeof c==&quot;object&quot;&amp;&amp;c;e||d.data(&quot;scrollspy&quot;,e=new b(this,f)),typeof c==&quot;string&quot;&amp;&amp;e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.defaults={offset:10},a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on(&quot;load&quot;,function(){a(&#x27;[data-spy=&quot;scroll&quot;]&#x27;).each(function(){var b=a(this);b.scrollspy(b.data())})})}(window.jQuery),!function(a){var b=function(b){this.element=a(b)};b.prototype={constructor:b,show:function(){var b=this.element,c=b.closest(&quot;ul:not(.dropdown-menu)&quot;),d=b.attr(&quot;data-target&quot;),e,f,g;d||(d=b.attr(&quot;href&quot;),d=d&amp;&amp;d.replace(/.*(?=#[^\s]*$)/,&quot;&quot;));if(b.parent(&quot;li&quot;).hasClass(&quot;active&quot;))return;e=c.find(&quot;.active:last a&quot;)[0],g=a.Event(&quot;show&quot;,{relatedTarget:e}),b.trigger(g);if(g.isDefaultPrevented())return;f=a(d),this.activate(b.parent(&quot;li&quot;),c),this.activate(f,f.parent(),function(){b.trigger({type:&quot;shown&quot;,relatedTarget:e})})},activate:function(b,c,d){function g(){e.removeClass(&quot;active&quot;).find(&quot;&gt; .dropdown-menu &gt; .active&quot;).removeClass(&quot;active&quot;),b.addClass(&quot;active&quot;),f?(b[0].offsetWidth,b.addClass(&quot;in&quot;)):b.removeClass(&quot;fade&quot;),b.parent(&quot;.dropdown-menu&quot;)&amp;&amp;b.closest(&quot;li.dropdown&quot;).addClass(&quot;active&quot;),d&amp;&amp;d()}var e=c.find(&quot;&gt; .active&quot;),f=d&amp;&amp;a.support.transition&amp;&amp;e.hasClass(&quot;fade&quot;);f?e.one(a.support.transition.end,g):g(),e.removeClass(&quot;in&quot;)}};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data(&quot;tab&quot;);e||d.data(&quot;tab&quot;,e=new b(this)),typeof c==&quot;string&quot;&amp;&amp;e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on(&quot;click.tab.data-api&quot;,&#x27;[data-toggle=&quot;tab&quot;], [data-toggle=&quot;pill&quot;]&#x27;,function(b){b.preventDefault(),a(this).tab(&quot;show&quot;)})}(window.jQuery),!function(a){var b=function(a,b){this.init(&quot;tooltip&quot;,a,b)};b.prototype={constructor:b,init:function(b,c,d){var e,f,g,h,i;this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.enabled=!0,g=this.options.trigger.split(&quot; &quot;);for(i=g.length;i--;)h=g[i],h==&quot;click&quot;?this.$element.on(&quot;click.&quot;+this.type,this.options.selector,a.proxy(this.toggle,this)):h!=&quot;manual&quot;&amp;&amp;(e=h==&quot;hover&quot;?&quot;mouseenter&quot;:&quot;focus&quot;,f=h==&quot;hover&quot;?&quot;mouseleave&quot;:&quot;blur&quot;,this.$element.on(e+&quot;.&quot;+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(f+&quot;.&quot;+this.type,this.options.selector,a.proxy(this.leave,this)));this.options.selector?this._options=a.extend({},this.options,{trigger:&quot;manual&quot;,selector:&quot;&quot;}):this.fixTitle()},getOptions:function(b){return b=a.extend({},a.fn[this.type].defaults,this.$element.data(),b),b.delay&amp;&amp;typeof b.delay==&quot;number&quot;&amp;&amp;(b.delay={show:b.delay,hide:b.delay}),b},enter:function(b){var c=a.fn[this.type].defaults,d={},e;this._options&amp;&amp;a.each(this._options,function(a,b){c[a]!=b&amp;&amp;(d[a]=b)},this),e=a(b.currentTarget)[this.type](d).data(this.type);if(!e.options.delay||!e.options.delay.show)return e.show();clearTimeout(this.timeout),e.hoverState=&quot;in&quot;,this.timeout=setTimeout(function(){e.hoverState==&quot;in&quot;&amp;&amp;e.show()},e.options.delay.show)},leave:function(b){var c=a(b.currentTarget)[this.type](this._options).data(this.type);this.timeout&amp;&amp;clearTimeout(this.timeout);if(!c.options.delay||!c.options.delay.hide)return c.hide();c.hoverState=&quot;out&quot;,this.timeout=setTimeout(function(){c.hoverState==&quot;out&quot;&amp;&amp;c.hide()},c.options.delay.hide)},show:function(){var b,c,d,e,f,g,h=a.Event(&quot;show&quot;);if(this.hasContent()&amp;&amp;this.enabled){this.$element.trigger(h);if(h.isDefaultPrevented())return;b=this.tip(),this.setContent(),this.options.animation&amp;&amp;b.addClass(&quot;fade&quot;),f=typeof this.options.placement==&quot;function&quot;?this.options.placement.call(this,b[0],this.$element[0]):this.options.placement,b.detach().css({top:0,left:0,display:&quot;block&quot;}),this.options.container?b.appendTo(this.options.container):b.insertAfter(this.$element),c=this.getPosition(),d=b[0].offsetWidth,e=b[0].offsetHeight;switch(f){case&quot;bottom&quot;:g={top:c.top+c.height,left:c.left+c.width/2-d/2};break;case&quot;top&quot;:g={top:c.top-e,left:c.left+c.width/2-d/2};break;case&quot;left&quot;:g={top:c.top+c.height/2-e/2,left:c.left-d};break;case&quot;right&quot;:g={top:c.top+c.height/2-e/2,left:c.left+c.width}}this.applyPlacement(g,f),this.$element.trigger(&quot;shown&quot;)}},applyPlacement:function(a,b){var c=this.tip(),d=c[0].offsetWidth,e=c[0].offsetHeight,f,g,h,i;c.offset(a).addClass(b).addClass(&quot;in&quot;),f=c[0].offsetWidth,g=c[0].offsetHeight,b==&quot;top&quot;&amp;&amp;g!=e&amp;&amp;(a.top=a.top+e-g,i=!0),b==&quot;bottom&quot;||b==&quot;top&quot;?(h=0,a.left&lt;0&amp;&amp;(h=a.left*-2,a.left=0,c.offset(a),f=c[0].offsetWidth,g=c[0].offsetHeight),this.replaceArrow(h-d+f,f,&quot;left&quot;)):this.replaceArrow(g-e,g,&quot;top&quot;),i&amp;&amp;c.offset(a)},replaceArrow:function(a,b,c){this.arrow().css(c,a?50*(1-a/b)+&quot;%&quot;:&quot;&quot;)},setContent:function(){var a=this.tip(),b=this.getTitle();a.find(&quot;.tooltip-inner&quot;)[this.options.html?&quot;html&quot;:&quot;text&quot;](b),a.removeClass(&quot;fade in top bottom left right&quot;)},hide:function(){function e(){var b=setTimeout(function(){c.off(a.support.transition.end).detach()},500);c.one(a.support.transition.end,function(){clearTimeout(b),c.detach()})}var b=this,c=this.tip(),d=a.Event(&quot;hide&quot;);this.$element.trigger(d);if(d.isDefaultPrevented())return;return c.removeClass(&quot;in&quot;),a.support.transition&amp;&amp;this.$tip.hasClass(&quot;fade&quot;)?e():c.detach(),this.$element.trigger(&quot;hidden&quot;),this},fixTitle:function(){var a=this.$element;(a.attr(&quot;title&quot;)||typeof a.attr(&quot;data-original-title&quot;)!=&quot;string&quot;)&amp;&amp;a.attr(&quot;data-original-title&quot;,a.attr(&quot;title&quot;)||&quot;&quot;).attr(&quot;title&quot;,&quot;&quot;)},hasContent:function(){return this.getTitle()},getPosition:function(){var b=this.$element[0];return a.extend({},typeof b.getBoundingClientRect==&quot;function&quot;?b.getBoundingClientRect():{width:b.offsetWidth,height:b.offsetHeight},this.$element.offset())},getTitle:function(){var a,b=this.$element,c=this.options;return a=b.attr(&quot;data-original-title&quot;)||(typeof c.title==&quot;function&quot;?c.title.call(b[0]):c.title),a},tip:function(){return this.$tip=this.$tip||a(this.options.template)},arrow:function(){return this.$arrow=this.$arrow||this.tip().find(&quot;.tooltip-arrow&quot;)},validate:function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(b){var c=b?a(b.currentTarget)[this.type](this._options).data(this.type):this;c.tip().hasClass(&quot;in&quot;)?c.hide():c.show()},destroy:function(){this.hide().$element.off(&quot;.&quot;+this.type).removeData(this.type)}};var c=a.fn.tooltip;a.fn.tooltip=function(c){return this.each(function(){var d=a(this),e=d.data(&quot;tooltip&quot;),f=typeof c==&quot;object&quot;&amp;&amp;c;e||d.data(&quot;tooltip&quot;,e=new b(this,f)),typeof c==&quot;string&quot;&amp;&amp;e[c]()})},a.fn.tooltip.Constructor=b,a.fn.tooltip.defaults={animation:!0,placement:&quot;top&quot;,selector:!1,template:&#x27;&lt;div class=&quot;tooltip&quot;&gt;&lt;div class=&quot;tooltip-arrow&quot;&gt;&lt;/div&gt;&lt;div class=&quot;tooltip-inner&quot;&gt;&lt;/div&gt;&lt;/div&gt;&#x27;,trigger:&quot;hover focus&quot;,title:&quot;&quot;,delay:0,html:!1,container:!1},a.fn.tooltip.noConflict=function(){return a.fn.tooltip=c,this}}(window.jQuery),!function(a){var b=function(a,b){this.init(&quot;popover&quot;,a,b)};b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype,{constructor:b,setContent:function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(&quot;.popover-title&quot;)[this.options.html?&quot;html&quot;:&quot;text&quot;](b),a.find(&quot;.popover-content&quot;)[this.options.html?&quot;html&quot;:&quot;text&quot;](c),a.removeClass(&quot;fade top bottom left right in&quot;)},hasContent:function(){return this.getTitle()||this.getContent()},getContent:function(){var a,b=this.$element,c=this.options;return a=(typeof c.content==&quot;function&quot;?c.content.call(b[0]):c.content)||b.attr(&quot;data-content&quot;),a},tip:function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip},destroy:function(){this.hide().$element.off(&quot;.&quot;+this.type).removeData(this.type)}});var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data(&quot;popover&quot;),f=typeof c==&quot;object&quot;&amp;&amp;c;e||d.data(&quot;popover&quot;,e=new b(this,f)),typeof c==&quot;string&quot;&amp;&amp;e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.defaults=a.extend({},a.fn.tooltip.defaults,{placement:&quot;right&quot;,trigger:&quot;click&quot;,content:&quot;&quot;,template:&#x27;&lt;div class=&quot;popover&quot;&gt;&lt;div class=&quot;arrow&quot;&gt;&lt;/div&gt;&lt;h3 class=&quot;popover-title&quot;&gt;&lt;/h3&gt;&lt;div class=&quot;popover-content&quot;&gt;&lt;/div&gt;&lt;/div&gt;&#x27;}),a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(window.jQuery),!function(a){var b=function(b,c){this.options=a.extend({},a.fn.affix.defaults,c),this.$window=a(window).on(&quot;scroll.affix.data-api&quot;,a.proxy(this.checkPosition,this)).on(&quot;click.affix.data-api&quot;,a.proxy(function(){setTimeout(a.proxy(this.checkPosition,this),1)},this)),this.$element=a(b),this.checkPosition()};b.prototype.checkPosition=function(){if(!this.$element.is(&quot;:visible&quot;))return;var b=a(document).height(),c=this.$window.scrollTop(),d=this.$element.offset(),e=this.options.offset,f=e.bottom,g=e.top,h=&quot;affix affix-top affix-bottom&quot;,i;typeof e!=&quot;object&quot;&amp;&amp;(f=g=e),typeof g==&quot;function&quot;&amp;&amp;(g=e.top()),typeof f==&quot;function&quot;&amp;&amp;(f=e.bottom()),i=this.unpin!=null&amp;&amp;c+this.unpin&lt;=d.top?!1:f!=null&amp;&amp;d.top+this.$element.height()&gt;=b-f?&quot;bottom&quot;:g!=null&amp;&amp;c&lt;=g?&quot;top&quot;:!1;if(this.affixed===i)return;this.affixed=i,this.unpin=i==&quot;bottom&quot;?d.top-c:null,this.$element.removeClass(h).addClass(&quot;affix&quot;+(i?&quot;-&quot;+i:&quot;&quot;))};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data(&quot;affix&quot;),f=typeof c==&quot;object&quot;&amp;&amp;c;e||d.data(&quot;affix&quot;,e=new b(this,f)),typeof c==&quot;string&quot;&amp;&amp;e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.defaults={offset:0},a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on(&quot;load&quot;,function(){a(&#x27;[data-spy=&quot;affix&quot;]&#x27;).each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&amp;&amp;(c.offset.bottom=c.offsetBottom),c.offsetTop&amp;&amp;(c.offset.top=c.offsetTop),b.affix(c)})})}(window.jQuery),!function(a){var b=&#x27;[data-dismiss=&quot;alert&quot;]&#x27;,c=function(c){a(c).on(&quot;click&quot;,b,this.close)};c.prototype.close=function(b){function f(){e.trigger(&quot;closed&quot;).remove()}var c=a(this),d=c.attr(&quot;data-target&quot;),e;d||(d=c.attr(&quot;href&quot;),d=d&amp;&amp;d.replace(/.*(?=#[^\s]*$)/,&quot;&quot;)),e=a(d),b&amp;&amp;b.preventDefault(),e.length||(e=c.hasClass(&quot;alert&quot;)?c:c.parent()),e.trigger(b=a.Event(&quot;close&quot;));if(b.isDefaultPrevented())return;e.removeClass(&quot;in&quot;),a.support.transition&amp;&amp;e.hasClass(&quot;fade&quot;)?e.on(a.support.transition.end,f):f()};var d=a.fn.alert;a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data(&quot;alert&quot;);e||d.data(&quot;alert&quot;,e=new c(this)),typeof b==&quot;string&quot;&amp;&amp;e[b].call(d)})},a.fn.alert.Constructor=c,a.fn.alert.noConflict=function(){return a.fn.alert=d,this},a(document).on(&quot;click.alert.data-api&quot;,b,c.prototype.close)}(window.jQuery),!function(a){var b=function(b,c){this.$element=a(b),this.options=a.extend({},a.fn.button.defaults,c)};b.prototype.setState=function(a){var b=&quot;disabled&quot;,c=this.$element,d=c.data(),e=c.is(&quot;input&quot;)?&quot;val&quot;:&quot;html&quot;;a+=&quot;Text&quot;,d.resetText||c.data(&quot;resetText&quot;,c[e]()),c[e](d[a]||this.options[a]),setTimeout(function(){a==&quot;loadingText&quot;?c.addClass(b).attr(b,b):c.removeClass(b).removeAttr(b)},0)},b.prototype.toggle=function(){var a=this.$element.closest(&#x27;[data-toggle=&quot;buttons-radio&quot;]&#x27;);a&amp;&amp;a.find(&quot;.active&quot;).removeClass(&quot;active&quot;),this.$element.toggleClass(&quot;active&quot;)};var c=a.fn.button;a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data(&quot;button&quot;),f=typeof c==&quot;object&quot;&amp;&amp;c;e||d.data(&quot;button&quot;,e=new b(this,f)),c==&quot;toggle&quot;?e.toggle():c&amp;&amp;e.setState(c)})},a.fn.button.defaults={loadingText:&quot;loading...&quot;},a.fn.button.Constructor=b,a.fn.button.noConflict=function(){return a.fn.button=c,this},a(document).on(&quot;click.button.data-api&quot;,&quot;[data-toggle^=button]&quot;,function(b){var c=a(b.target);c.hasClass(&quot;btn&quot;)||(c=c.closest(&quot;.btn&quot;)),c.button(&quot;toggle&quot;)})}(window.jQuery),!function(a){var b=function(b,c){this.$element=a(b),this.options=a.extend({},a.fn.collapse.defaults,c),this.options.parent&amp;&amp;(this.$parent=a(this.options.parent)),this.options.toggle&amp;&amp;this.toggle()};b.prototype={constructor:b,dimension:function(){var a=this.$element.hasClass(&quot;width&quot;);return a?&quot;width&quot;:&quot;height&quot;},show:function(){var b,c,d,e;if(this.transitioning||this.$element.hasClass(&quot;in&quot;))return;b=this.dimension(),c=a.camelCase([&quot;scroll&quot;,b].join(&quot;-&quot;)),d=this.$parent&amp;&amp;this.$parent.find(&quot;&gt; .accordion-group &gt; .in&quot;);if(d&amp;&amp;d.length){e=d.data(&quot;collapse&quot;);if(e&amp;&amp;e.transitioning)return;d.collapse(&quot;hide&quot;),e||d.data(&quot;collapse&quot;,null)}this.$element[b](0),this.transition(&quot;addClass&quot;,a.Event(&quot;show&quot;),&quot;shown&quot;),a.support.transition&amp;&amp;this.$element[b](this.$element[0][c])},hide:function(){var b;if(this.transitioning||!this.$element.hasClass(&quot;in&quot;))return;b=this.dimension(),this.reset(this.$element[b]()),this.transition(&quot;removeClass&quot;,a.Event(&quot;hide&quot;),&quot;hidden&quot;),this.$element[b](0)},reset:function(a){var b=this.dimension();return this.$element.removeClass(&quot;collapse&quot;)[b](a||&quot;auto&quot;)[0].offsetWidth,this.$element[a!==null?&quot;addClass&quot;:&quot;removeClass&quot;](&quot;collapse&quot;),this},transition:function(b,c,d){var e=this,f=function(){c.type==&quot;show&quot;&amp;&amp;e.reset(),e.transitioning=0,e.$element.trigger(d)};this.$element.trigger(c);if(c.isDefaultPrevented())return;this.transitioning=1,this.$element[b](&quot;in&quot;),a.support.transition&amp;&amp;this.$element.hasClass(&quot;collapse&quot;)?this.$element.one(a.support.transition.end,f):f()},toggle:function(){this[this.$element.hasClass(&quot;in&quot;)?&quot;hide&quot;:&quot;show&quot;]()}};var c=a.fn.collapse;a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data(&quot;collapse&quot;),f=a.extend({},a.fn.collapse.defaults,d.data(),typeof c==&quot;object&quot;&amp;&amp;c);e||d.data(&quot;collapse&quot;,e=new b(this,f)),typeof c==&quot;string&quot;&amp;&amp;e[c]()})},a.fn.collapse.defaults={toggle:!0},a.fn.collapse.Constructor=b,a.fn.collapse.noConflict=function(){return a.fn.collapse=c,this},a(document).on(&quot;click.collapse.data-api&quot;,&quot;[data-toggle=collapse]&quot;,function(b){var c=a(this),d,e=c.attr(&quot;data-target&quot;)||b.preventDefault()||(d=c.attr(&quot;href&quot;))&amp;&amp;d.replace(/.*(?=#[^\s]+$)/,&quot;&quot;),f=a(e).data(&quot;collapse&quot;)?&quot;toggle&quot;:c.data();c[a(e).hasClass(&quot;in&quot;)?&quot;addClass&quot;:&quot;removeClass&quot;](&quot;collapsed&quot;),a(e).collapse(f)})}(window.jQuery),!function(a){var b=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(&quot;.carousel-indicators&quot;),this.options=c,this.options.pause==&quot;hover&quot;&amp;&amp;this.$element.on(&quot;mouseenter&quot;,a.proxy(this.pause,this)).on(&quot;mouseleave&quot;,a.proxy(this.cycle,this))};b.prototype={cycle:function(b){return b||(this.paused=!1),this.interval&amp;&amp;clearInterval(this.interval),this.options.interval&amp;&amp;!this.paused&amp;&amp;(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},getActiveIndex:function(){return this.$active=this.$element.find(&quot;.item.active&quot;),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},to:function(b){var c=this.getActiveIndex(),d=this;if(b&gt;this.$items.length-1||b&lt;0)return;return this.sliding?this.$element.one(&quot;slid&quot;,function(){d.to(b)}):c==b?this.pause().cycle():this.slide(b&gt;c?&quot;next&quot;:&quot;prev&quot;,a(this.$items[b]))},pause:function(b){return b||(this.paused=!0),this.$element.find(&quot;.next, .prev&quot;).length&amp;&amp;a.support.transition.end&amp;&amp;(this.$element.trigger(a.support.transition.end),this.cycle(!0)),clearInterval(this.interval),this.interval=null,this},next:function(){if(this.sliding)return;return this.slide(&quot;next&quot;)},prev:function(){if(this.sliding)return;return this.slide(&quot;prev&quot;)},slide:function(b,c){var d=this.$element.find(&quot;.item.active&quot;),e=c||d[b](),f=this.interval,g=b==&quot;next&quot;?&quot;left&quot;:&quot;right&quot;,h=b==&quot;next&quot;?&quot;first&quot;:&quot;last&quot;,i=this,j;this.sliding=!0,f&amp;&amp;this.pause(),e=e.length?e:this.$element.find(&quot;.item&quot;)[h](),j=a.Event(&quot;slide&quot;,{relatedTarget:e[0],direction:g});if(e.hasClass(&quot;active&quot;))return;this.$indicators.length&amp;&amp;(this.$indicators.find(&quot;.active&quot;).removeClass(&quot;active&quot;),this.$element.one(&quot;slid&quot;,function(){var b=a(i.$indicators.children()[i.getActiveIndex()]);b&amp;&amp;b.addClass(&quot;active&quot;)}));if(a.support.transition&amp;&amp;this.$element.hasClass(&quot;slide&quot;)){this.$element.trigger(j);if(j.isDefaultPrevented())return;e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),this.$element.one(a.support.transition.end,function(){e.removeClass([b,g].join(&quot; &quot;)).addClass(&quot;active&quot;),d.removeClass([&quot;active&quot;,g].join(&quot; &quot;)),i.sliding=!1,setTimeout(function(){i.$element.trigger(&quot;slid&quot;)},0)})}else{this.$element.trigger(j);if(j.isDefaultPrevented())return;d.removeClass(&quot;active&quot;),e.addClass(&quot;active&quot;),this.sliding=!1,this.$element.trigger(&quot;slid&quot;)}return f&amp;&amp;this.cycle(),this}};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data(&quot;carousel&quot;),f=a.extend({},a.fn.carousel.defaults,typeof c==&quot;object&quot;&amp;&amp;c),g=typeof c==&quot;string&quot;?c:f.slide;e||d.data(&quot;carousel&quot;,e=new b(this,f)),typeof c==&quot;number&quot;?e.to(c):g?e[g]():f.interval&amp;&amp;e.pause().cycle()})},a.fn.carousel.defaults={interval:5e3,pause:&quot;hover&quot;},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on(&quot;click.carousel.data-api&quot;,&quot;[data-slide], [data-slide-to]&quot;,function(b){var c=a(this),d,e=a(c.attr(&quot;data-target&quot;)||(d=c.attr(&quot;href&quot;))&amp;&amp;d.replace(/.*(?=#[^\s]+$)/,&quot;&quot;)),f=a.extend({},e.data(),c.data()),g;e.carousel(f),(g=c.attr(&quot;data-slide-to&quot;))&amp;&amp;e.data(&quot;carousel&quot;).pause().to(g).cycle(),b.preventDefault()})}(window.jQuery),!function(a){var b=function(b,c){this.$element=a(b),this.options=a.extend({},a.fn.typeahead.defaults,c),this.matcher=this.options.matcher||this.matcher,this.sorter=this.options.sorter||this.sorter,this.highlighter=this.options.highlighter||this.highlighter,this.updater=this.options.updater||this.updater,this.source=this.options.source,this.$menu=a(this.options.menu),this.shown=!1,this.listen()};b.prototype={constructor:b,select:function(){var a=this.$menu.find(&quot;.active&quot;).attr(&quot;data-value&quot;);return this.$element.val(this.updater(a)).change(),this.hide()},updater:function(a){return a},show:function(){var b=a.extend({},this.$element.position(),{height:this.$element[0].offsetHeight});return this.$menu.insertAfter(this.$element).css({top:b.top+b.height,left:b.left}).show(),this.shown=!0,this},hide:function(){return this.$menu.hide(),this.shown=!1,this},lookup:function(b){var c;return this.query=this.$element.val(),!this.query||this.query.length&lt;this.options.minLength?this.shown?this.hide():this:(c=a.isFunction(this.source)?this.source(this.query,a.proxy(this.process,this)):this.source,c?this.process(c):this)},process:function(b){var c=this;return b=a.grep(b,function(a){return c.matcher(a)}),b=this.sorter(b),b.length?this.render(b.slice(0,this.options.items)).show():this.shown?this.hide():this},matcher:function(a){return~a.toLowerCase().indexOf(this.query.toLowerCase())},sorter:function(a){var b=[],c=[],d=[],e;while(e=a.shift())e.toLowerCase().indexOf(this.query.toLowerCase())?~e.indexOf(this.query)?c.push(e):d.push(e):b.push(e);return b.concat(c,d)},highlighter:function(a){var b=this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,&quot;\\$&amp;&quot;);return a.replace(new RegExp(&quot;(&quot;+b+&quot;)&quot;,&quot;ig&quot;),function(a,b){return&quot;&lt;strong&gt;&quot;+b+&quot;&lt;/strong&gt;&quot;})},render:function(b){var c=this;return b=a(b).map(function(b,d){return b=a(c.options.item).attr(&quot;data-value&quot;,d),b.find(&quot;a&quot;).html(c.highlighter(d)),b[0]}),b.first().addClass(&quot;active&quot;),this.$menu.html(b),this},next:function(b){var c=this.$menu.find(&quot;.active&quot;).removeClass(&quot;active&quot;),d=c.next();d.length||(d=a(this.$menu.find(&quot;li&quot;)[0])),d.addClass(&quot;active&quot;)},prev:function(a){var b=this.$menu.find(&quot;.active&quot;).removeClass(&quot;active&quot;),c=b.prev();c.length||(c=this.$menu.find(&quot;li&quot;).last()),c.addClass(&quot;active&quot;)},listen:function(){this.$element.on(&quot;focus&quot;,a.proxy(this.focus,this)).on(&quot;blur&quot;,a.proxy(this.blur,this)).on(&quot;keypress&quot;,a.proxy(this.keypress,this)).on(&quot;keyup&quot;,a.proxy(this.keyup,this)),this.eventSupported(&quot;keydown&quot;)&amp;&amp;this.$element.on(&quot;keydown&quot;,a.proxy(this.keydown,this)),this.$menu.on(&quot;click&quot;,a.proxy(this.click,this)).on(&quot;mouseenter&quot;,&quot;li&quot;,a.proxy(this.mouseenter,this)).on(&quot;mouseleave&quot;,&quot;li&quot;,a.proxy(this.mouseleave,this))},eventSupported:function(a){var b=a in this.$element;return b||(this.$element.setAttribute(a,&quot;return;&quot;),b=typeof this.$element[a]==&quot;function&quot;),b},move:function(a){if(!this.shown)return;switch(a.keyCode){case 9:case 13:case 27:a.preventDefault();break;case 38:a.preventDefault(),this.prev();break;case 40:a.preventDefault(),this.next()}a.stopPropagation()},keydown:function(b){this.suppressKeyPressRepeat=~a.inArray(b.keyCode,[40,38,9,13,27]),this.move(b)},keypress:function(a){if(this.suppressKeyPressRepeat)return;this.move(a)},keyup:function(a){switch(a.keyCode){case 40:case 38:case 16:case 17:case 18:break;case 9:case 13:if(!this.shown)return;this.select();break;case 27:if(!this.shown)return;this.hide();break;default:this.lookup()}a.stopPropagation(),a.preventDefault()},focus:function(a){this.focused=!0},blur:function(a){this.focused=!1,!this.mousedover&amp;&amp;this.shown&amp;&amp;this.hide()},click:function(a){a.stopPropagation(),a.preventDefault(),this.select(),this.$element.focus()},mouseenter:function(b){this.mousedover=!0,this.$menu.find(&quot;.active&quot;).removeClass(&quot;active&quot;),a(b.currentTarget).addClass(&quot;active&quot;)},mouseleave:function(a){this.mousedover=!1,!this.focused&amp;&amp;this.shown&amp;&amp;this.hide()}};var c=a.fn.typeahead;a.fn.typeahead=function(c){return this.each(function(){var d=a(this),e=d.data(&quot;typeahead&quot;),f=typeof c==&quot;object&quot;&amp;&amp;c;e||d.data(&quot;typeahead&quot;,e=new b(this,f)),typeof c==&quot;string&quot;&amp;&amp;e[c]()})},a.fn.typeahead.defaults={source:[],items:8,menu:&#x27;&lt;ul class=&quot;typeahead dropdown-menu&quot;&gt;&lt;/ul&gt;&#x27;,item:&#x27;&lt;li&gt;&lt;a href=&quot;#&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#x27;,minLength:1},a.fn.typeahead.Constructor=b,a.fn.typeahead.noConflict=function(){return a.fn.typeahead=c,this},a(document).on(&quot;focus.typeahead.data-api&quot;,&#x27;[data-provide=&quot;typeahead&quot;]&#x27;,function(b){var c=a(this);if(c.data(&quot;typeahead&quot;))return;c.typeahead(c.data())})}(window.jQuery)
    110     </pre>
    111 </div>
    112                     </div>
    113                 </div>
    114             </div>
    115         </div>
    116     </div>
    117 </div>
    118 <script src="../assets/vendor/jquery/jquery-1.8.2.min.js"></script>
    119 <script src="../assets/vendor/bootstrap/js/bootstrap.js"></script>
    120 <script src="../assets/vendor/prettify/prettify-min.js"></script>
    121 <script src="../assets/js/yuidoc-bootstrap.js"></script>
    122 <script>prettyPrint();</script>
    123 </body>
    124 </html>