diff --git a/InstallPackages/00_jQuery.cycle2.core_2.1.5.zip b/InstallPackages/00_jQuery.cycle2.core_2.1.5.zip new file mode 100644 index 00000000..556a555b Binary files /dev/null and b/InstallPackages/00_jQuery.cycle2.core_2.1.5.zip differ diff --git a/InstallPackages/01_jQuery.cycle2.tmpl_2.1.5.zip b/InstallPackages/01_jQuery.cycle2.tmpl_2.1.5.zip new file mode 100644 index 00000000..8b464f4d Binary files /dev/null and b/InstallPackages/01_jQuery.cycle2.tmpl_2.1.5.zip differ diff --git a/InstallPackages/02_jQuery.cycle2.autoheight_2.1.5.zip b/InstallPackages/02_jQuery.cycle2.autoheight_2.1.5.zip new file mode 100644 index 00000000..788a6143 Binary files /dev/null and b/InstallPackages/02_jQuery.cycle2.autoheight_2.1.5.zip differ diff --git a/InstallPackages/02_jQuery.cycle2.caption_2.1.5.zip b/InstallPackages/02_jQuery.cycle2.caption_2.1.5.zip new file mode 100644 index 00000000..a8e1de62 Binary files /dev/null and b/InstallPackages/02_jQuery.cycle2.caption_2.1.5.zip differ diff --git a/InstallPackages/02_jQuery.cycle2.command_2.1.5.zip b/InstallPackages/02_jQuery.cycle2.command_2.1.5.zip new file mode 100644 index 00000000..f90ba737 Binary files /dev/null and b/InstallPackages/02_jQuery.cycle2.command_2.1.5.zip differ diff --git a/InstallPackages/02_jQuery.cycle2.hash_2.1.5.zip b/InstallPackages/02_jQuery.cycle2.hash_2.1.5.zip new file mode 100644 index 00000000..4d8ee174 Binary files /dev/null and b/InstallPackages/02_jQuery.cycle2.hash_2.1.5.zip differ diff --git a/InstallPackages/02_jQuery.cycle2.loader_2.1.5.zip b/InstallPackages/02_jQuery.cycle2.loader_2.1.5.zip new file mode 100644 index 00000000..223143ec Binary files /dev/null and b/InstallPackages/02_jQuery.cycle2.loader_2.1.5.zip differ diff --git a/InstallPackages/02_jQuery.cycle2.pager_2.1.5.zip b/InstallPackages/02_jQuery.cycle2.pager_2.1.5.zip new file mode 100644 index 00000000..762cd768 Binary files /dev/null and b/InstallPackages/02_jQuery.cycle2.pager_2.1.5.zip differ diff --git a/InstallPackages/02_jQuery.cycle2.prevnext_2.1.5.zip b/InstallPackages/02_jQuery.cycle2.prevnext_2.1.5.zip new file mode 100644 index 00000000..7b3227e5 Binary files /dev/null and b/InstallPackages/02_jQuery.cycle2.prevnext_2.1.5.zip differ diff --git a/InstallPackages/02_jQuery.cycle2.progressive_2.1.5.zip b/InstallPackages/02_jQuery.cycle2.progressive_2.1.5.zip new file mode 100644 index 00000000..6c9d51d6 Binary files /dev/null and b/InstallPackages/02_jQuery.cycle2.progressive_2.1.5.zip differ diff --git a/InstallPackages/03_jQuery.cycle2_2.1.5.zip b/InstallPackages/03_jQuery.cycle2_2.1.5.zip new file mode 100644 index 00000000..af19873f Binary files /dev/null and b/InstallPackages/03_jQuery.cycle2_2.1.5.zip differ diff --git a/InstallPackages/bootstrap.accessibility_1.0.2.zip b/InstallPackages/bootstrap.accessibility_1.0.2.zip new file mode 100644 index 00000000..0adce0fa Binary files /dev/null and b/InstallPackages/bootstrap.accessibility_1.0.2.zip differ diff --git a/InstallPackages/bootstrap.accessibility_1.0.3.zip b/InstallPackages/bootstrap.accessibility_1.0.3.zip new file mode 100644 index 00000000..31a13a95 Binary files /dev/null and b/InstallPackages/bootstrap.accessibility_1.0.3.zip differ diff --git a/InstallPackages/html5shiv_3.7.2.zip b/InstallPackages/html5shiv_3.7.2.zip new file mode 100644 index 00000000..2bdfc63d Binary files /dev/null and b/InstallPackages/html5shiv_3.7.2.zip differ diff --git a/InstallPackages/jquery.cycle2.caption2_2.1.5.zip b/InstallPackages/jquery.cycle2.caption2_2.1.5.zip new file mode 100644 index 00000000..f63fa9cf Binary files /dev/null and b/InstallPackages/jquery.cycle2.caption2_2.1.5.zip differ diff --git a/InstallPackages/jquery.cycle2.carousel_2.1.5.zip b/InstallPackages/jquery.cycle2.carousel_2.1.5.zip new file mode 100644 index 00000000..b67a6268 Binary files /dev/null and b/InstallPackages/jquery.cycle2.carousel_2.1.5.zip differ diff --git a/InstallPackages/jquery.cycle2.center_2.1.5.zip b/InstallPackages/jquery.cycle2.center_2.1.5.zip new file mode 100644 index 00000000..bc193248 Binary files /dev/null and b/InstallPackages/jquery.cycle2.center_2.1.5.zip differ diff --git a/InstallPackages/jquery.cycle2.flip_2.1.5.zip b/InstallPackages/jquery.cycle2.flip_2.1.5.zip new file mode 100644 index 00000000..011728fd Binary files /dev/null and b/InstallPackages/jquery.cycle2.flip_2.1.5.zip differ diff --git a/InstallPackages/jquery.cycle2.ie-fade_2.1.5.zip b/InstallPackages/jquery.cycle2.ie-fade_2.1.5.zip new file mode 100644 index 00000000..ca115a25 Binary files /dev/null and b/InstallPackages/jquery.cycle2.ie-fade_2.1.5.zip differ diff --git a/InstallPackages/jquery.cycle2.scrollVert_2.1.5.zip b/InstallPackages/jquery.cycle2.scrollVert_2.1.5.zip new file mode 100644 index 00000000..03f7d1d0 Binary files /dev/null and b/InstallPackages/jquery.cycle2.scrollVert_2.1.5.zip differ diff --git a/InstallPackages/jquery.cycle2.shuffle_2.1.5.zip b/InstallPackages/jquery.cycle2.shuffle_2.1.5.zip new file mode 100644 index 00000000..2d938c43 Binary files /dev/null and b/InstallPackages/jquery.cycle2.shuffle_2.1.5.zip differ diff --git a/InstallPackages/jquery.cycle2.swipe_2.1.5.zip b/InstallPackages/jquery.cycle2.swipe_2.1.5.zip new file mode 100644 index 00000000..ab4f621b Binary files /dev/null and b/InstallPackages/jquery.cycle2.swipe_2.1.5.zip differ diff --git a/InstallPackages/jquery.cycle2.tile_2.1.5.zip b/InstallPackages/jquery.cycle2.tile_2.1.5.zip new file mode 100644 index 00000000..f417ba5e Binary files /dev/null and b/InstallPackages/jquery.cycle2.tile_2.1.5.zip differ diff --git a/InstallPackages/jquery.cycle2.video_2.1.5.zip b/InstallPackages/jquery.cycle2.video_2.1.5.zip new file mode 100644 index 00000000..723f2a2b Binary files /dev/null and b/InstallPackages/jquery.cycle2.video_2.1.5.zip differ diff --git a/InstallPackages/jquery.tcycle_2.1.5.zip b/InstallPackages/jquery.tcycle_2.1.5.zip new file mode 100644 index 00000000..f59c1d69 Binary files /dev/null and b/InstallPackages/jquery.tcycle_2.1.5.zip differ diff --git a/InstallPackages/knockout.validation_2.0.0-pre.3.zip b/InstallPackages/knockout.validation_2.0.0-pre.3.zip new file mode 100644 index 00000000..0d7a2c38 Binary files /dev/null and b/InstallPackages/knockout.validation_2.0.0-pre.3.zip differ diff --git a/InstallPackages/zeroclipboard_1.3.5.zip b/InstallPackages/zeroclipboard_1.3.5.zip index c068df9a..075707e2 100644 Binary files a/InstallPackages/zeroclipboard_1.3.5.zip and b/InstallPackages/zeroclipboard_1.3.5.zip differ diff --git a/bootstrap.accessibility/bootstrap.accessibility_1.0.2/CHANGES.htm b/bootstrap.accessibility/bootstrap.accessibility_1.0.2/CHANGES.htm new file mode 100644 index 00000000..c35d3042 --- /dev/null +++ b/bootstrap.accessibility/bootstrap.accessibility_1.0.2/CHANGES.htm @@ -0,0 +1,16 @@ +
    +
  1. +
    Version 1.0.2
    +

    Initial release, provides accessibility for:

    + +
  2. +
\ No newline at end of file diff --git a/bootstrap.accessibility/bootstrap.accessibility_1.0.2/LICENSE.htm b/bootstrap.accessibility/bootstrap.accessibility_1.0.2/LICENSE.htm new file mode 100644 index 00000000..090b5eff --- /dev/null +++ b/bootstrap.accessibility/bootstrap.accessibility_1.0.2/LICENSE.htm @@ -0,0 +1 @@ +

Copyright 2014, eBay Software Foundation under the BSD license.

\ No newline at end of file diff --git a/bootstrap.accessibility/bootstrap.accessibility_1.0.2/Resources.zip b/bootstrap.accessibility/bootstrap.accessibility_1.0.2/Resources.zip new file mode 100644 index 00000000..825d8440 Binary files /dev/null and b/bootstrap.accessibility/bootstrap.accessibility_1.0.2/Resources.zip differ diff --git a/bootstrap.accessibility/bootstrap.accessibility_1.0.2/bootstrap-accessibility.js b/bootstrap.accessibility/bootstrap.accessibility_1.0.2/bootstrap-accessibility.js new file mode 100644 index 00000000..c43363a9 --- /dev/null +++ b/bootstrap.accessibility/bootstrap.accessibility_1.0.2/bootstrap-accessibility.js @@ -0,0 +1,406 @@ +/* ======================================================================== +* Extends Bootstrap v3.1.1 + +* Copyright (c) <2014> eBay Software Foundation + +* All rights reserved. + +* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +* Neither the name of eBay or any of its subsidiaries or affiliates nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* ======================================================================== */ + +(function($) { + "use strict"; + + var uniqueId = function(prefix) { + return (prefix || 'ui-id') + '-' + Math.floor((Math.random()*1000)+1) + } + + // Alert Extension + // =============================== + + $('.alert').attr('role', 'alert') + $('.close').removeAttr('aria-hidden').wrapInner('').append('Close') + + // TOOLTIP Extension + // =============================== + + var showTooltip = $.fn.tooltip.Constructor.prototype.show + , hideTooltip = $.fn.tooltip.Constructor.prototype.hide + + $.fn.tooltip.Constructor.prototype.show = function () { + showTooltip.apply(this, arguments) + var $tip = this.tip() + , tooltipID = $tip.attr('id') || uniqueId('ui-tooltip') + $tip.attr({'role':'tooltip','id' : tooltipID}) + this.$element.attr('aria-describedby', tooltipID) + } + + $.fn.tooltip.Constructor.prototype.hide = function () { + hideTooltip.apply(this, arguments) + removeMultiValAttributes(this.$element, 'aria-describedby', this.tip().attr('id')) + return this + } + + // Popover Extension + // =============================== + var showPopover = $.fn.popover.Constructor.prototype.setContent + , hideTPopover = $.fn.popover.Constructor.prototype.hide + + $.fn.popover.Constructor.prototype.setContent = function(){ + showPopover.apply(this, arguments) + var $tip = this.tip() + , tooltipID = $tip.attr('id') || uniqueId('ui-tooltip') + $tip.attr({'role':'alert','id' : tooltipID}) + this.$element.attr('aria-describedby', tooltipID) + this.$element.focus() + } + $.fn.popover.Constructor.prototype.hide = function(){ + hideTooltip.apply(this, arguments) + removeMultiValAttributes(this.$element, 'aria-describedby', this.tip().attr('id')) + } + + //Modal Extension + $('.modal-dialog').attr( {'role' : 'document'}) + var modalhide = $.fn.modal.Constructor.prototype.hide + $.fn.modal.Constructor.prototype.hide = function(){ + var modalOpener = this.$element.parent().find('[data-target="#' + this.$element.attr('id') + '"]') + modalhide.apply(this, arguments) + modalOpener.focus() + } + + // DROPDOWN Extension + // =============================== + + var toggle = '[data-toggle=dropdown]' + , $par + , firstItem + , focusDelay = 200 + , menus = $(toggle).parent().find('ul').attr('role','menu') + , lis = menus.find('li').attr('role','presentation') + + lis.find('a').attr({'role':'menuitem', 'tabIndex':'-1'}) + $(toggle).attr({ 'aria-haspopup':'true', 'aria-expanded': 'false'}) + + $(toggle).parent().on('shown.bs.dropdown',function(e){ + $par = $(this) + var $toggle = $par.find(toggle) + $toggle.attr('aria-expanded','true') + + setTimeout(function(){ + firstItem = $('.dropdown-menu [role=menuitem]:visible', $par)[0] + try{ firstItem.focus()} catch(ex) {} + }, focusDelay) + }) + + $(toggle).parent().on('hidden.bs.dropdown',function(e){ + $par = $(this) + var $toggle = $par.find(toggle) + $toggle.attr('aria-expanded','false') + }) + + //Adding Space Key Behaviour, opens on spacebar + $.fn.dropdown.Constructor.prototype.keydown = function (e) { + var $par + , firstItem + if (!/(32)/.test(e.keyCode)) return + $par = $(this).parent() + $(this).trigger ("click") + e.preventDefault() && e.stopPropagation() + } + + $(document) + .on('focusout.dropdown.data-api', '.dropdown-menu', function(e){ + var $this = $(this) + , that = this + setTimeout(function() { + if(!$.contains(that, document.activeElement)){ + $this.parent().removeClass('open') + $this.parent().find('[data-toggle=dropdown]').attr('aria-expanded','false') + } + }, 150) + }) + .on('keydown.bs.dropdown.data-api', toggle + ', [role=menu]' , $.fn.dropdown.Constructor.prototype.keydown) + + + // Tab Extension + // =============================== + + var $tablist = $('.nav-tabs') + , $lis = $tablist.children('li') + , $tabs = $tablist.find('[data-toggle="tab"], [data-toggle="pill"]') + + $tablist.attr('role', 'tablist') + $lis.attr('role', 'presentation') + $tabs.attr('role', 'tab') + + $tabs.each(function( index ) { + var tabpanel = $($(this).attr('href')) + , tab = $(this) + , tabid = tab.attr('id') || uniqueId('ui-tab') + + tab.attr('id', tabid) + + if(tab.parent().hasClass('active')){ + tab.attr( { 'tabIndex' : '0', 'aria-expanded' : 'true', 'aria-selected' : 'true', 'aria-controls': tab.attr('href').substr(1) } ) + tabpanel.attr({ 'role' : 'tabpanel', 'tabIndex' : '0', 'aria-hidden' : 'false', 'aria-labelledby':tabid }) + }else{ + tab.attr( { 'tabIndex' : '-1', 'aria-expanded' : 'false', 'aria-selected' : 'false', 'aria-controls': tab.attr('href').substr(1) } ) + tabpanel.attr( { 'role' : 'tabpanel', 'tabIndex' : '-1', 'aria-hidden' : 'true', 'aria-labelledby':tabid } ) + } + }) + + $.fn.tab.Constructor.prototype.keydown = function (e) { + var $this = $(this) + , $items + , $ul = $this.closest('ul[role=tablist] ') + , index + , k = e.which || e.keyCode + + $this = $(this) + if (!/(37|38|39|40)/.test(k)) return + + $items = $ul.find('[role=tab]:visible') + index = $items.index($items.filter(':focus')) + + if (k == 38 || k == 37) index-- // up & left + if (k == 39 || k == 40) index++ // down & right + + + if(index < 0) index = $items.length -1 + if(index == $items.length) index = 0 + + var nextTab = $items.eq(index) + if(nextTab.attr('role') ==='tab'){ + + nextTab.tab('show') //Comment this line for dynamically loaded tabPabels, to save Ajax requests on arrow key navigation + .focus() + } + // nextTab.focus() + + e.preventDefault() + e.stopPropagation() + } + + $(document).on('keydown.tab.data-api','[data-toggle="tab"], [data-toggle="pill"]' , $.fn.tab.Constructor.prototype.keydown) + + var tabactivate = $.fn.tab.Constructor.prototype.activate; + $.fn.tab.Constructor.prototype.activate = function (element, container, callback) { + var $active = container.find('> .active') + $active.find('[data-toggle=tab]').attr({ 'tabIndex' : '-1','aria-selected' : false,'aria-expanded' : false }) + $active.filter('.tab-pane').attr({ 'aria-hidden' : true,'tabIndex' : '-1' }) + + tabactivate.apply(this, arguments) + + element.addClass('active') + element.find('[data-toggle=tab]').attr({ 'tabIndex' : '0','aria-selected' : true,'aria-expanded' : true }) + element.filter('.tab-pane').attr({ 'aria-hidden' : false,'tabIndex' : '0' }) + } + + + // Collapse Extension + // =============================== + + var $colltabs = $('[data-toggle="collapse"]') + $colltabs.attr({ 'role':'tab', 'aria-selected':'false', 'aria-expanded':'false' }) + $colltabs.each(function( index ) { + var colltab = $(this) + , collpanel = (colltab.attr('data-target')) ? $(colltab.attr('data-target')) : $(colltab.attr('href')) + , parent = colltab.attr('data-parent') + , collparent = parent && $(parent) + , collid = colltab.attr('id') || uniqueId('ui-collapse') + + $(collparent).find('div:not(.collapse,.panel-body), h4').attr('role','presentation') + + colltab.attr('id', collid) + if(collparent){ + collparent.attr({ 'role' : 'tablist', 'aria-multiselectable' : 'true' }) + if(collpanel.hasClass('in')){ + colltab.attr({ 'aria-controls': colltab.attr('href').substr(1), 'aria-selected':'true', 'aria-expanded':'true', 'tabindex':'0' }) + collpanel.attr({ 'role':'tabpanel', 'tabindex':'0', 'aria-labelledby':collid, 'aria-hidden':'false' }) + }else{ + colltab.attr({'aria-controls' : colltab.attr('href').substr(1), 'tabindex':'-1' }) + collpanel.attr({ 'role':'tabpanel', 'tabindex':'-1', 'aria-labelledby':collid, 'aria-hidden':'true' }) + } + } + }) + + var collToggle = $.fn.collapse.Constructor.prototype.toggle + $.fn.collapse.Constructor.prototype.toggle = function(){ + var prevTab = this.$parent && this.$parent.find('[aria-expanded="true"]') , href + + if(prevTab){ + var prevPanel = prevTab.attr('data-target') || (href = prevTab.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') + , $prevPanel = $(prevPanel) + , $curPanel = this.$element + , par = this.$parent + , curTab + + if (this.$parent) curTab = this.$parent.find('[data-toggle=collapse][href="#' + this.$element.attr('id') + '"]') + + collToggle.apply(this, arguments) + + if ($.support.transition) { + this.$element.one($.support.transition.end, function(){ + + prevTab.attr({ 'aria-selected':'false','aria-expanded':'false', 'tabIndex':'-1' }) + $prevPanel.attr({ 'aria-hidden' : 'true','tabIndex' : '-1'}) + + curTab.attr({ 'aria-selected':'true','aria-expanded':'true', 'tabIndex':'0' }) + + if($curPanel.hasClass('in')){ + $curPanel.attr({ 'aria-hidden' : 'false','tabIndex' : '0' }) + }else{ + curTab.attr({ 'aria-selected':'false','aria-expanded':'false'}) + $curPanel.attr({ 'aria-hidden' : 'true','tabIndex' : '-1' }) + } + }) + } + }else{ + collToggle.apply(this, arguments) + } + } + + $.fn.collapse.Constructor.prototype.keydown = function (e) { + var $this = $(this) + , $items + , $tablist = $this.closest('div[role=tablist] ') + , index + , k = e.which || e.keyCode + + $this = $(this) + if (!/(32|37|38|39|40)/.test(k)) return + if(k==32) $this.click() + + $items = $tablist.find('[role=tab]') + index = $items.index($items.filter(':focus')) + + if (k == 38 || k == 37) index-- // up & left + if (k == 39 || k == 40) index++ // down & right + if(index < 0) index = $items.length -1 + if(index == $items.length) index = 0 + + $items.eq(index).focus() + + e.preventDefault() + e.stopPropagation() + + } + + $(document).on('keydown.collapse.data-api','[data-toggle="collapse"]' , $.fn.collapse.Constructor.prototype.keydown) + + // Carousel Extension + // =============================== + + $('.carousel').each(function (index) { + var $this = $(this) + , prev = $this.find('[data-slide="prev"]') + , next = $this.find('[data-slide="next"]') + , $options = $this.find('.item') + , $listbox = $options.parent() + + $this.attr( { 'data-interval' : 'false', 'data-wrap' : 'false' } ) + $listbox.attr('role', 'listbox') + $options.attr('role', 'option') + + var spanPrev = document.createElement('span') + spanPrev.setAttribute('class', 'sr-only') + spanPrev.innerHTML='Previous' + + var spanNext = document.createElement('span') + spanNext.setAttribute('class', 'sr-only') + spanNext.innerHTML='Next' + + prev.attr('role', 'button') + next.attr('role', 'button') + + prev.append(spanPrev) + next.append(spanNext) + + $options.each(function () { + var item = $(this) + if(item.hasClass('active')){ + item.attr({ 'aria-selected': 'true', 'tabindex' : '0' }) + }else{ + item.attr({ 'aria-selected': 'false', 'tabindex' : '-1' }) + } + }) + }) + + var slideCarousel = $.fn.carousel.Constructor.prototype.slide + $.fn.carousel.Constructor.prototype.slide = function (type, next) { + var $active = this.$element.find('.item.active') + , $next = next || $active[type]() + + slideCarousel.apply(this, arguments) + + $active + .one($.support.transition.end, function () { + $active.attr({'aria-selected':false, 'tabIndex': '-1'}) + $next.attr({'aria-selected':true, 'tabIndex': '0'}) + //.focus() + }) + } + + $.fn.carousel.Constructor.prototype.keydown = function (e) { + var $this = $(this) + , $ul = $this.closest('div[role=listbox]') + , $items = $ul.find('[role=option]') + , $parent = $ul.parent() + , k = e.which || e.keyCode + , index + , i + + if (!/(37|38|39|40)/.test(k)) return + + index = $items.index($items.filter('.active')) + if (k == 37 || k == 38) { // Up + $parent.carousel('prev') + index-- + if(index < 0) index = $items.length -1 + else $this.prev().focus() + + } + if (k == 39 || k == 40) { // Down + $parent.carousel('next') + index++ + if(index == $items.length) index = 0 + else { + $this.one($.support.transition.end, function () { + $this.next().focus() + }) + } + + } + + e.preventDefault() + e.stopPropagation() + } + $(document).on('keydown.carousel.data-api', 'div[role=option]', $.fn.carousel.Constructor.prototype.keydown) + + // GENERAL UTILITY FUNCTIONS + // =============================== + + var removeMultiValAttributes = function (el, attr, val) { + var describedby = (el.attr( attr ) || "").split( /\s+/ ) + , index = $.inArray(val, describedby) + if ( index !== -1 ) { + describedby.splice( index, 1 ) + } + describedby = $.trim( describedby.join( " " ) ) + if (describedby ) { + el.attr( attr, describedby ) + } else { + el.removeAttr( attr ) + } + } + + +})(jQuery); diff --git a/bootstrap.accessibility/bootstrap.accessibility_1.0.2/bootstrap.accessibility.dnn b/bootstrap.accessibility/bootstrap.accessibility_1.0.2/bootstrap.accessibility.dnn new file mode 100644 index 00000000..3abf47b2 --- /dev/null +++ b/bootstrap.accessibility/bootstrap.accessibility_1.0.2/bootstrap.accessibility.dnn @@ -0,0 +1,45 @@ + + + + Bootstrap Accessibility Plugin + http://paypal.github.io/bootstrap-accessibility-plugin/demo.html]]> + + Engage Software + Engage Software + http://www.engagesoftware.com + support@engagesoftware.com + + + + true + + jQuery + + + + + bootstrap.accessibility + bootstrap-accessibility.js + BodyBottom + + + + + bootstrap.accessibility + + bootstrap-accessibility.js + + + + + + Resources\Libraries\bootstrap.accessibility\1.0.2 + + Resources.zip + + + + + + + \ No newline at end of file diff --git a/bootstrap.accessibility/bootstrap.accessibility_1.0.3/CHANGES.htm b/bootstrap.accessibility/bootstrap.accessibility_1.0.3/CHANGES.htm new file mode 100644 index 00000000..c35d3042 --- /dev/null +++ b/bootstrap.accessibility/bootstrap.accessibility_1.0.3/CHANGES.htm @@ -0,0 +1,16 @@ +
    +
  1. +
    Version 1.0.2
    +

    Initial release, provides accessibility for:

    + +
  2. +
\ No newline at end of file diff --git a/bootstrap.accessibility/bootstrap.accessibility_1.0.3/LICENSE.htm b/bootstrap.accessibility/bootstrap.accessibility_1.0.3/LICENSE.htm new file mode 100644 index 00000000..090b5eff --- /dev/null +++ b/bootstrap.accessibility/bootstrap.accessibility_1.0.3/LICENSE.htm @@ -0,0 +1 @@ +

Copyright 2014, eBay Software Foundation under the BSD license.

\ No newline at end of file diff --git a/bootstrap.accessibility/bootstrap.accessibility_1.0.3/Resources.zip b/bootstrap.accessibility/bootstrap.accessibility_1.0.3/Resources.zip new file mode 100644 index 00000000..3d1381fb Binary files /dev/null and b/bootstrap.accessibility/bootstrap.accessibility_1.0.3/Resources.zip differ diff --git a/bootstrap.accessibility/bootstrap.accessibility_1.0.3/bootstrap-accessibility.js b/bootstrap.accessibility/bootstrap.accessibility_1.0.3/bootstrap-accessibility.js new file mode 100644 index 00000000..d4576110 --- /dev/null +++ b/bootstrap.accessibility/bootstrap.accessibility_1.0.3/bootstrap-accessibility.js @@ -0,0 +1,407 @@ +/* ======================================================================== +* Extends Bootstrap v3.1.1 + +* Copyright (c) <2014> eBay Software Foundation + +* All rights reserved. + +* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +* Neither the name of eBay or any of its subsidiaries or affiliates nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +* ======================================================================== */ + + + (function($) { + "use strict"; + + // GENERAL UTILITY FUNCTIONS + // =============================== + + var uniqueId = function(prefix) { + return (prefix || 'ui-id') + '-' + Math.floor((Math.random()*1000)+1) + } + + + var removeMultiValAttributes = function (el, attr, val) { + var describedby = (el.attr( attr ) || "").split( /\s+/ ) + , index = $.inArray(val, describedby) + if ( index !== -1 ) { + describedby.splice( index, 1 ) + } + describedby = $.trim( describedby.join( " " ) ) + if (describedby ) { + el.attr( attr, describedby ) + } else { + el.removeAttr( attr ) + } + } +// Alert Extension +// =============================== + +$('.alert').attr('role', 'alert') +$('.close').removeAttr('aria-hidden').wrapInner('').append('Close') + + // TOOLTIP Extension + // =============================== + + var showTooltip = $.fn.tooltip.Constructor.prototype.show + , hideTooltip = $.fn.tooltip.Constructor.prototype.hide + + $.fn.tooltip.Constructor.prototype.show = function () { + showTooltip.apply(this, arguments) + var $tip = this.tip() + , tooltipID = $tip.attr('id') || uniqueId('ui-tooltip') + $tip.attr({'role':'tooltip','id' : tooltipID}) + this.$element.attr('aria-describedby', tooltipID) + } + + $.fn.tooltip.Constructor.prototype.hide = function () { + hideTooltip.apply(this, arguments) + removeMultiValAttributes(this.$element, 'aria-describedby', this.tip().attr('id')) + return this + } + // Popover Extension + // =============================== + + var showPopover = $.fn.popover.Constructor.prototype.setContent + , hidePopover = $.fn.popover.Constructor.prototype.hide + + $.fn.popover.Constructor.prototype.setContent = function(){ + showPopover.apply(this, arguments) + var $tip = this.tip() + , tooltipID = $tip.attr('id') || uniqueId('ui-tooltip') + $tip.attr({'role':'alert','id' : tooltipID}) + this.$element.attr('aria-describedby', tooltipID) + this.$element.focus() + } + $.fn.popover.Constructor.prototype.hide = function(){ + hidePopover.apply(this, arguments) + removeMultiValAttributes(this.$element, 'aria-describedby', this.tip().attr('id')) + return this + } + + // Modal Extension + // =============================== + + $('.modal-dialog').attr( {'role' : 'document'}) + var modalhide = $.fn.modal.Constructor.prototype.hide + $.fn.modal.Constructor.prototype.hide = function(){ + var modalOpener = this.$element.parent().find('[data-target="#' + this.$element.attr('id') + '"]') + modalhide.apply(this, arguments) + console.log('modalOpener' , modalOpener) + modalOpener.focus() + } + // DROPDOWN Extension + // =============================== + + var toggle = '[data-toggle=dropdown]' + , $par + , firstItem + , focusDelay = 200 + , menus = $(toggle).parent().find('ul').attr('role','menu') + , lis = menus.find('li').attr('role','presentation') + + lis.find('a').attr({'role':'menuitem', 'tabIndex':'-1'}) + $(toggle).attr({ 'aria-haspopup':'true', 'aria-expanded': 'false'}) + + $(toggle).parent().on('shown.bs.dropdown',function(e){ + $par = $(this) + var $toggle = $par.find(toggle) + $toggle.attr('aria-expanded','true') + + setTimeout(function(){ + firstItem = $('.dropdown-menu [role=menuitem]:visible', $par)[0] + try{ firstItem.focus()} catch(ex) {} + }, focusDelay) + }) + + $(toggle).parent().on('hidden.bs.dropdown',function(e){ + $par = $(this) + var $toggle = $par.find(toggle) + $toggle.attr('aria-expanded','false') + }) + + //Adding Space Key Behaviour, opens on spacebar + $.fn.dropdown.Constructor.prototype.keydown = function (e) { + var $par + , firstItem + if (!/(32)/.test(e.keyCode)) return + $par = $(this).parent() + $(this).trigger ("click") + e.preventDefault() && e.stopPropagation() + } + + $(document) + .on('focusout.dropdown.data-api', '.dropdown-menu', function(e){ + var $this = $(this) + , that = this + setTimeout(function() { + if(!$.contains(that, document.activeElement)){ + $this.parent().removeClass('open') + $this.parent().find('[data-toggle=dropdown]').attr('aria-expanded','false') + } + }, 150) + }) + .on('keydown.bs.dropdown.data-api', toggle + ', [role=menu]' , $.fn.dropdown.Constructor.prototype.keydown) + // Tab Extension + // =============================== + + var $tablist = $('.nav-tabs, .nav-pills') + , $lis = $tablist.children('li') + , $tabs = $tablist.find('[data-toggle="tab"], [data-toggle="pill"]') + + $tablist.attr('role', 'tablist') + $lis.attr('role', 'presentation') + $tabs.attr('role', 'tab') + + $tabs.each(function( index ) { + var tabpanel = $($(this).attr('href')) + , tab = $(this) + , tabid = tab.attr('id') || uniqueId('ui-tab') + + tab.attr('id', tabid) + + if(tab.parent().hasClass('active')){ + tab.attr( { 'tabIndex' : '0', 'aria-selected' : 'true', 'aria-controls': tab.attr('href').substr(1) } ) + tabpanel.attr({ 'role' : 'tabpanel', 'tabIndex' : '0', 'aria-hidden' : 'false', 'aria-labelledby':tabid }) + }else{ + tab.attr( { 'tabIndex' : '-1', 'aria-selected' : 'false', 'aria-controls': tab.attr('href').substr(1) } ) + tabpanel.attr( { 'role' : 'tabpanel', 'tabIndex' : '-1', 'aria-hidden' : 'true', 'aria-labelledby':tabid } ) + } + }) + + $.fn.tab.Constructor.prototype.keydown = function (e) { + var $this = $(this) + , $items + , $ul = $this.closest('ul[role=tablist] ') + , index + , k = e.which || e.keyCode + + $this = $(this) + if (!/(37|38|39|40)/.test(k)) return + + $items = $ul.find('[role=tab]:visible') + index = $items.index($items.filter(':focus')) + + if (k == 38 || k == 37) index-- // up & left + if (k == 39 || k == 40) index++ // down & right + + + if(index < 0) index = $items.length -1 + if(index == $items.length) index = 0 + + var nextTab = $items.eq(index) + if(nextTab.attr('role') ==='tab'){ + + nextTab.tab('show') //Comment this line for dynamically loaded tabPabels, to save Ajax requests on arrow key navigation + .focus() + } + // nextTab.focus() + + e.preventDefault() + e.stopPropagation() + } + + $(document).on('keydown.tab.data-api','[data-toggle="tab"], [data-toggle="pill"]' , $.fn.tab.Constructor.prototype.keydown) + + var tabactivate = $.fn.tab.Constructor.prototype.activate; + $.fn.tab.Constructor.prototype.activate = function (element, container, callback) { + var $active = container.find('> .active') + $active.find('[data-toggle=tab], [data-toggle=pill]').attr({ 'tabIndex' : '-1','aria-selected' : false }) + $active.filter('.tab-pane').attr({ 'aria-hidden' : true,'tabIndex' : '-1' }) + + tabactivate.apply(this, arguments) + + element.addClass('active') + element.find('[data-toggle=tab], [data-toggle=pill]').attr({ 'tabIndex' : '0','aria-selected' : true }) + element.filter('.tab-pane').attr({ 'aria-hidden' : false,'tabIndex' : '0' }) + } + + // Collapse Extension + // =============================== + + var $colltabs = $('[data-toggle="collapse"]') + $colltabs.attr({ 'role':'tab', 'aria-selected':'false', 'aria-expanded':'false' }) + $colltabs.each(function( index ) { + var colltab = $(this) + , collpanel = (colltab.attr('data-target')) ? $(colltab.attr('data-target')) : $(colltab.attr('href')) + , parent = colltab.attr('data-parent') + , collparent = parent && $(parent) + , collid = colltab.attr('id') || uniqueId('ui-collapse') + + $(collparent).find('div:not(.collapse,.panel-body), h4').attr('role','presentation') + + colltab.attr('id', collid) + if(collparent){ + collparent.attr({ 'role' : 'tablist', 'aria-multiselectable' : 'true' }) + if(collpanel.hasClass('in')){ + colltab.attr({ 'aria-controls': colltab.attr('href').substr(1), 'aria-selected':'true', 'aria-expanded':'true', 'tabindex':'0' }) + collpanel.attr({ 'role':'tabpanel', 'tabindex':'0', 'aria-labelledby':collid, 'aria-hidden':'false' }) + }else{ + colltab.attr({'aria-controls' : colltab.attr('href').substr(1), 'tabindex':'-1' }) + collpanel.attr({ 'role':'tabpanel', 'tabindex':'-1', 'aria-labelledby':collid, 'aria-hidden':'true' }) + } + } + }) + + var collToggle = $.fn.collapse.Constructor.prototype.toggle + $.fn.collapse.Constructor.prototype.toggle = function(){ + var prevTab = this.$parent && this.$parent.find('[aria-expanded="true"]') , href + + if(prevTab){ + var prevPanel = prevTab.attr('data-target') || (href = prevTab.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') + , $prevPanel = $(prevPanel) + , $curPanel = this.$element + , par = this.$parent + , curTab + + if (this.$parent) curTab = this.$parent.find('[data-toggle=collapse][href="#' + this.$element.attr('id') + '"]') + + collToggle.apply(this, arguments) + + if ($.support.transition) { + this.$element.one($.support.transition.end, function(){ + + prevTab.attr({ 'aria-selected':'false','aria-expanded':'false', 'tabIndex':'-1' }) + $prevPanel.attr({ 'aria-hidden' : 'true','tabIndex' : '-1'}) + + curTab.attr({ 'aria-selected':'true','aria-expanded':'true', 'tabIndex':'0' }) + + if($curPanel.hasClass('in')){ + $curPanel.attr({ 'aria-hidden' : 'false','tabIndex' : '0' }) + }else{ + curTab.attr({ 'aria-selected':'false','aria-expanded':'false'}) + $curPanel.attr({ 'aria-hidden' : 'true','tabIndex' : '-1' }) + } + }) + } + }else{ + collToggle.apply(this, arguments) + } + } + + $.fn.collapse.Constructor.prototype.keydown = function (e) { + var $this = $(this) + , $items + , $tablist = $this.closest('div[role=tablist] ') + , index + , k = e.which || e.keyCode + + $this = $(this) + if (!/(32|37|38|39|40)/.test(k)) return + if(k==32) $this.click() + + $items = $tablist.find('[role=tab]') + index = $items.index($items.filter(':focus')) + + if (k == 38 || k == 37) index-- // up & left + if (k == 39 || k == 40) index++ // down & right + if(index < 0) index = $items.length -1 + if(index == $items.length) index = 0 + + $items.eq(index).focus() + + e.preventDefault() + e.stopPropagation() + + } + + $(document).on('keydown.collapse.data-api','[data-toggle="collapse"]' , $.fn.collapse.Constructor.prototype.keydown) + + // Carousel Extension + // =============================== + + $('.carousel').each(function (index) { + var $this = $(this) + , prev = $this.find('[data-slide="prev"]') + , next = $this.find('[data-slide="next"]') + , $options = $this.find('.item') + , $listbox = $options.parent() + + $this.attr( { 'data-interval' : 'false', 'data-wrap' : 'false' } ) + $listbox.attr('role', 'listbox') + $options.attr('role', 'option') + + var spanPrev = document.createElement('span') + spanPrev.setAttribute('class', 'sr-only') + spanPrev.innerHTML='Previous' + + var spanNext = document.createElement('span') + spanNext.setAttribute('class', 'sr-only') + spanNext.innerHTML='Next' + + prev.attr('role', 'button') + next.attr('role', 'button') + + prev.append(spanPrev) + next.append(spanNext) + + $options.each(function () { + var item = $(this) + if(item.hasClass('active')){ + item.attr({ 'aria-selected': 'true', 'tabindex' : '0' }) + }else{ + item.attr({ 'aria-selected': 'false', 'tabindex' : '-1' }) + } + }) + }) + + var slideCarousel = $.fn.carousel.Constructor.prototype.slide + $.fn.carousel.Constructor.prototype.slide = function (type, next) { + var $active = this.$element.find('.item.active') + , $next = next || $active[type]() + + slideCarousel.apply(this, arguments) + + $active + .one($.support.transition.end, function () { + $active.attr({'aria-selected':false, 'tabIndex': '-1'}) + $next.attr({'aria-selected':true, 'tabIndex': '0'}) + //.focus() + }) + } + + $.fn.carousel.Constructor.prototype.keydown = function (e) { + var $this = $(this) + , $ul = $this.closest('div[role=listbox]') + , $items = $ul.find('[role=option]') + , $parent = $ul.parent() + , k = e.which || e.keyCode + , index + , i + + if (!/(37|38|39|40)/.test(k)) return + + index = $items.index($items.filter('.active')) + if (k == 37 || k == 38) { // Up + $parent.carousel('prev') + index-- + if(index < 0) index = $items.length -1 + else $this.prev().focus() + + } + if (k == 39 || k == 40) { // Down + $parent.carousel('next') + index++ + if(index == $items.length) index = 0 + else { + $this.one($.support.transition.end, function () { + $this.next().focus() + }) + } + + } + + e.preventDefault() + e.stopPropagation() + } + $(document).on('keydown.carousel.data-api', 'div[role=option]', $.fn.carousel.Constructor.prototype.keydown) + + })(jQuery); \ No newline at end of file diff --git a/bootstrap.accessibility/bootstrap.accessibility_1.0.3/bootstrap.accessibility.dnn b/bootstrap.accessibility/bootstrap.accessibility_1.0.3/bootstrap.accessibility.dnn new file mode 100644 index 00000000..832a4aad --- /dev/null +++ b/bootstrap.accessibility/bootstrap.accessibility_1.0.3/bootstrap.accessibility.dnn @@ -0,0 +1,45 @@ + + + + Bootstrap Accessibility Plugin + http://paypal.github.io/bootstrap-accessibility-plugin/demo.html]]> + + Engage Software + Engage Software + http://www.engagesoftware.com + support@engagesoftware.com + + + + true + + jQuery + + + + + bootstrap.accessibility + bootstrap-accessibility.js + BodyBottom + + + + + bootstrap.accessibility + + bootstrap-accessibility.js + + + + + + Resources\Libraries\bootstrap.accessibility\01_00_03 + + Resources.zip + + + + + + + \ No newline at end of file diff --git a/html5shiv/html5shiv_3.7.2/CHANGES.htm b/html5shiv/html5shiv_3.7.2/CHANGES.htm new file mode 100644 index 00000000..3dd977eb --- /dev/null +++ b/html5shiv/html5shiv_3.7.2/CHANGES.htm @@ -0,0 +1,67 @@ +
+

+ v 3.3

+ +

complete refactoring by jdalton

+ +

+ v 3.1/3.2

+ +

+ v 3.0

+ +

Complete rewrite by jonathantneal

+ +

+ As of April 18th, 2011, html5shim, html5shiv, modernizr all have been updated to use iepp v2.

+ +

+ v2 changelog

+ +

here is the list of fixed issues and made changes. I have also added a list of known issues (The first one is really critical, but needs a lot work...).

+ +

+ Fixes:

+ +

+ Features:

+ +

+ Configuration:

+ +

+ Extras:

+ +

+ Known issues:

+ +

Before someone is looking into the first two known issues, we should create good performance tests. Fixing last issue only makes sense, if we also fix the selector order...

+
\ No newline at end of file diff --git a/html5shiv/html5shiv_3.7.2/LICENSE.htm b/html5shiv/html5shiv_3.7.2/LICENSE.htm new file mode 100644 index 00000000..7552c80f --- /dev/null +++ b/html5shiv/html5shiv_3.7.2/LICENSE.htm @@ -0,0 +1 @@ +

Dual licensed as MIT and GPL2

\ No newline at end of file diff --git a/html5shiv/html5shiv_3.7.2/html5shiv-printshiv.js b/html5shiv/html5shiv_3.7.2/html5shiv-printshiv.js new file mode 100644 index 00000000..c2913b51 --- /dev/null +++ b/html5shiv/html5shiv_3.7.2/html5shiv-printshiv.js @@ -0,0 +1,520 @@ +/** +* @preserve HTML5 Shiv 3.7.2 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed +*/ +;(function(window, document) { +/*jshint evil:true */ + /** version */ + var version = '3.7.2'; + + /** Preset options */ + var options = window.html5 || {}; + + /** Used to skip problem elements */ + var reSkip = /^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i; + + /** Not all elements can be cloned in IE **/ + var saveClones = /^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i; + + /** Detect whether the browser supports default html5 styles */ + var supportsHtml5Styles; + + /** Name of the expando, to work with multiple documents or to re-shiv one document */ + var expando = '_html5shiv'; + + /** The id for the the documents expando */ + var expanID = 0; + + /** Cached data for each document */ + var expandoData = {}; + + /** Detect whether the browser supports unknown elements */ + var supportsUnknownElements; + + (function() { + try { + var a = document.createElement('a'); + a.innerHTML = ''; + //if the hidden property is implemented we can assume, that the browser supports basic HTML5 Styles + supportsHtml5Styles = ('hidden' in a); + + supportsUnknownElements = a.childNodes.length == 1 || (function() { + // assign a false positive if unable to shiv + (document.createElement)('a'); + var frag = document.createDocumentFragment(); + return ( + typeof frag.cloneNode == 'undefined' || + typeof frag.createDocumentFragment == 'undefined' || + typeof frag.createElement == 'undefined' + ); + }()); + } catch(e) { + // assign a false positive if detection fails => unable to shiv + supportsHtml5Styles = true; + supportsUnknownElements = true; + } + + }()); + + /*--------------------------------------------------------------------------*/ + + /** + * Creates a style sheet with the given CSS text and adds it to the document. + * @private + * @param {Document} ownerDocument The document. + * @param {String} cssText The CSS text. + * @returns {StyleSheet} The style element. + */ + function addStyleSheet(ownerDocument, cssText) { + var p = ownerDocument.createElement('p'), + parent = ownerDocument.getElementsByTagName('head')[0] || ownerDocument.documentElement; + + p.innerHTML = 'x'; + return parent.insertBefore(p.lastChild, parent.firstChild); + } + + /** + * Returns the value of `html5.elements` as an array. + * @private + * @returns {Array} An array of shived element node names. + */ + function getElements() { + var elements = html5.elements; + return typeof elements == 'string' ? elements.split(' ') : elements; + } + + /** + * Extends the built-in list of html5 elements + * @memberOf html5 + * @param {String|Array} newElements whitespace separated list or array of new element names to shiv + * @param {Document} ownerDocument The context document. + */ + function addElements(newElements, ownerDocument) { + var elements = html5.elements; + if(typeof elements != 'string'){ + elements = elements.join(' '); + } + if(typeof newElements != 'string'){ + newElements = newElements.join(' '); + } + html5.elements = elements +' '+ newElements; + shivDocument(ownerDocument); + } + + /** + * Returns the data associated to the given document + * @private + * @param {Document} ownerDocument The document. + * @returns {Object} An object of data. + */ + function getExpandoData(ownerDocument) { + var data = expandoData[ownerDocument[expando]]; + if (!data) { + data = {}; + expanID++; + ownerDocument[expando] = expanID; + expandoData[expanID] = data; + } + return data; + } + + /** + * returns a shived element for the given nodeName and document + * @memberOf html5 + * @param {String} nodeName name of the element + * @param {Document} ownerDocument The context document. + * @returns {Object} The shived element. + */ + function createElement(nodeName, ownerDocument, data){ + if (!ownerDocument) { + ownerDocument = document; + } + if(supportsUnknownElements){ + return ownerDocument.createElement(nodeName); + } + if (!data) { + data = getExpandoData(ownerDocument); + } + var node; + + if (data.cache[nodeName]) { + node = data.cache[nodeName].cloneNode(); + } else if (saveClones.test(nodeName)) { + node = (data.cache[nodeName] = data.createElem(nodeName)).cloneNode(); + } else { + node = data.createElem(nodeName); + } + + // Avoid adding some elements to fragments in IE < 9 because + // * Attributes like `name` or `type` cannot be set/changed once an element + // is inserted into a document/fragment + // * Link elements with `src` attributes that are inaccessible, as with + // a 403 response, will cause the tab/window to crash + // * Script elements appended to fragments will execute when their `src` + // or `text` property is set + return node.canHaveChildren && !reSkip.test(nodeName) && !node.tagUrn ? data.frag.appendChild(node) : node; + } + + /** + * returns a shived DocumentFragment for the given document + * @memberOf html5 + * @param {Document} ownerDocument The context document. + * @returns {Object} The shived DocumentFragment. + */ + function createDocumentFragment(ownerDocument, data){ + if (!ownerDocument) { + ownerDocument = document; + } + if(supportsUnknownElements){ + return ownerDocument.createDocumentFragment(); + } + data = data || getExpandoData(ownerDocument); + var clone = data.frag.cloneNode(), + i = 0, + elems = getElements(), + l = elems.length; + for(;i+~])(' + getElements().join('|') + ')(?=[[\\s,>+~#.:]|$)', 'gi'), + replacement = '$1' + shivNamespace + '\\:$2'; + + while (index--) { + pair = parts[index] = parts[index].split('}'); + pair[pair.length - 1] = pair[pair.length - 1].replace(reElements, replacement); + parts[index] = pair.join('}'); + } + return parts.join('{'); + } + + /** + * Removes the given wrappers, leaving the original elements. + * @private + * @params {Array} wrappers An array of printable wrappers. + */ + function removeWrappers(wrappers) { + var index = wrappers.length; + while (index--) { + wrappers[index].removeNode(); + } + } + + /*--------------------------------------------------------------------------*/ + + /** + * Shivs the given document for print. + * @memberOf html5 + * @param {Document} ownerDocument The document to shiv. + * @returns {Document} The shived document. + */ + function shivPrint(ownerDocument) { + var shivedSheet, + wrappers, + data = getExpandoData(ownerDocument), + namespaces = ownerDocument.namespaces, + ownerWindow = ownerDocument.parentWindow; + + if (!supportsShivableSheets || ownerDocument.printShived) { + return ownerDocument; + } + if (typeof namespaces[shivNamespace] == 'undefined') { + namespaces.add(shivNamespace); + } + + function removeSheet() { + clearTimeout(data._removeSheetTimer); + if (shivedSheet) { + shivedSheet.removeNode(true); + } + shivedSheet= null; + } + + ownerWindow.attachEvent('onbeforeprint', function() { + + removeSheet(); + + var imports, + length, + sheet, + collection = ownerDocument.styleSheets, + cssText = [], + index = collection.length, + sheets = Array(index); + + // convert styleSheets collection to an array + while (index--) { + sheets[index] = collection[index]; + } + // concat all style sheet CSS text + while ((sheet = sheets.pop())) { + // IE does not enforce a same origin policy for external style sheets... + // but has trouble with some dynamically created stylesheets + if (!sheet.disabled && reMedia.test(sheet.media)) { + + try { + imports = sheet.imports; + length = imports.length; + } catch(er){ + length = 0; + } + + for (index = 0; index < length; index++) { + sheets.push(imports[index]); + } + + try { + cssText.push(sheet.cssText); + } catch(er){} + } + } + + // wrap all HTML5 elements with printable elements and add the shived style sheet + cssText = shivCssText(cssText.reverse().join('')); + wrappers = addWrappers(ownerDocument); + shivedSheet = addStyleSheet(ownerDocument, cssText); + + }); + + ownerWindow.attachEvent('onafterprint', function() { + // remove wrappers, leaving the original elements, and remove the shived style sheet + removeWrappers(wrappers); + clearTimeout(data._removeSheetTimer); + data._removeSheetTimer = setTimeout(removeSheet, 500); + }); + + ownerDocument.printShived = true; + return ownerDocument; + } + + /*--------------------------------------------------------------------------*/ + + // expose API + html5.type += ' print'; + html5.shivPrint = shivPrint; + + // shiv for print + shivPrint(document); + +}(this, document)); diff --git a/html5shiv/html5shiv_3.7.2/html5shiv.dnn b/html5shiv/html5shiv_3.7.2/html5shiv.dnn new file mode 100644 index 00000000..7d10fd3c --- /dev/null +++ b/html5shiv/html5shiv_3.7.2/html5shiv.dnn @@ -0,0 +1,39 @@ + + + + HTML5 Shiv + + The HTML5 Shiv enables use of HTML5 sectioning elements in legacy Internet Explorer and provides basic HTML5 styling for Internet Explorer 6-9, Safari 4.x (and iPhone 3.x), and Firefox 3.x. + This also includes the print shiv, a mechanism allowing HTML5 elements to be styled and contain children while being printed in IE 6-8. + + + Engage Software + Engage Software + http://www.engagesoftware.com + support@engagesoftware.com + + + + true + + + + html5shiv + html5shiv-printshiv.js + html5 + PageHead + https://cdn.jsdelivr.net/html5shiv/3.7.2/html5shiv-printshiv.min.js + + + + + html5shiv + + html5shiv-printshiv.js + + + + + + + \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/00_jQuery.cycle2.core_2.1.5/LICENSE.htm b/jQuery.cycle2/jQuery.cycle2_2.1.5/00_jQuery.cycle2.core_2.1.5/LICENSE.htm new file mode 100644 index 00000000..ebef1aa5 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/00_jQuery.cycle2.core_2.1.5/LICENSE.htm @@ -0,0 +1 @@ +

Dual licensed as MIT and GPL

\ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/00_jQuery.cycle2.core_2.1.5/jQuery.cycle2.core.dnn b/jQuery.cycle2/jQuery.cycle2_2.1.5/00_jQuery.cycle2.core_2.1.5/jQuery.cycle2.core.dnn new file mode 100644 index 00000000..77a99d08 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/00_jQuery.cycle2.core_2.1.5/jQuery.cycle2.core.dnn @@ -0,0 +1,38 @@ + + + + + Cycle2 core + The bare minimum. If you're looking to shave as many bytes as possible off the weight of Cycle2, use just this library. + + Engage Software + Engage Software + http://www.engagesoftware.com + support@engagesoftware.com + + + + true + + jQuery + + + + + jQuery.cycle2.core + jQuery.cycle2.core.js + BodyBottom + + + + + jQuery.cycle2.core + + jQuery.cycle2.core.js + + + + + + + \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/00_jQuery.cycle2.core_2.1.5/jquery.cycle2.core.min.js b/jQuery.cycle2/jQuery.cycle2_2.1.5/00_jQuery.cycle2.core_2.1.5/jquery.cycle2.core.min.js new file mode 100644 index 00000000..8fa3ec2d --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/00_jQuery.cycle2.core_2.1.5/jquery.cycle2.core.min.js @@ -0,0 +1,6 @@ +/*! +* jQuery Cycle2; version: 2.1.5 build: 20140415 +* http://jquery.malsup.com/cycle2/ +* Copyright (c) 2014 M. Alsup; Dual licensed: MIT/GPL +*/ +!function(a){"use strict";function b(a){return(a||"").toLowerCase()}var c="2.1.5";a.fn.cycle=function(c){var d;return 0!==this.length||a.isReady?this.each(function(){var d,e,f,g,h=a(this),i=a.fn.cycle.log;if(!h.data("cycle.opts")){(h.data("cycle-log")===!1||c&&c.log===!1||e&&e.log===!1)&&(i=a.noop),i("--c2 init--"),d=h.data();for(var j in d)d.hasOwnProperty(j)&&/^cycle[A-Z]+/.test(j)&&(g=d[j],f=j.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,b),i(f+":",g,"("+typeof g+")"),d[f]=g);e=a.extend({},a.fn.cycle.defaults,d,c||{}),e.timeoutId=0,e.paused=e.paused||!1,e.container=h,e._maxZ=e.maxZ,e.API=a.extend({_container:h},a.fn.cycle.API),e.API.log=i,e.API.trigger=function(a,b){return e.container.trigger(a,b),e.API},h.data("cycle.opts",e),h.data("cycle.API",e.API),e.API.trigger("cycle-bootstrap",[e,e.API]),e.API.addInitialSlides(),e.API.preInitSlideshow(),e.slides.length&&e.API.initSlideshow()}}):(d={s:this.selector,c:this.context},a.fn.cycle.log("requeuing slideshow (dom not ready)"),a(function(){a(d.s,d.c).cycle(c)}),this)},a.fn.cycle.API={opts:function(){return this._container.data("cycle.opts")},addInitialSlides:function(){var b=this.opts(),c=b.slides;b.slideCount=0,b.slides=a(),c=c.jquery?c:b.container.find(c),b.random&&c.sort(function(){return Math.random()-.5}),b.API.add(c)},preInitSlideshow:function(){var b=this.opts();b.API.trigger("cycle-pre-initialize",[b]);var c=a.fn.cycle.transitions[b.fx];c&&a.isFunction(c.preInit)&&c.preInit(b),b._preInitialized=!0},postInitSlideshow:function(){var b=this.opts();b.API.trigger("cycle-post-initialize",[b]);var c=a.fn.cycle.transitions[b.fx];c&&a.isFunction(c.postInit)&&c.postInit(b)},initSlideshow:function(){var b,c=this.opts(),d=c.container;c.API.calcFirstSlide(),"static"==c.container.css("position")&&c.container.css("position","relative"),a(c.slides[c.currSlide]).css({opacity:1,display:"block",visibility:"visible"}),c.API.stackSlides(c.slides[c.currSlide],c.slides[c.nextSlide],!c.reverse),c.pauseOnHover&&(c.pauseOnHover!==!0&&(d=a(c.pauseOnHover)),d.hover(function(){c.API.pause(!0)},function(){c.API.resume(!0)})),c.timeout&&(b=c.API.getSlideOpts(c.currSlide),c.API.queueTransition(b,b.timeout+c.delay)),c._initialized=!0,c.API.updateView(!0),c.API.trigger("cycle-initialized",[c]),c.API.postInitSlideshow()},pause:function(b){var c=this.opts(),d=c.API.getSlideOpts(),e=c.hoverPaused||c.paused;b?c.hoverPaused=!0:c.paused=!0,e||(c.container.addClass("cycle-paused"),c.API.trigger("cycle-paused",[c]).log("cycle-paused"),d.timeout&&(clearTimeout(c.timeoutId),c.timeoutId=0,c._remainingTimeout-=a.now()-c._lastQueue,(c._remainingTimeout<0||isNaN(c._remainingTimeout))&&(c._remainingTimeout=void 0)))},resume:function(a){var b=this.opts(),c=!b.hoverPaused&&!b.paused;a?b.hoverPaused=!1:b.paused=!1,c||(b.container.removeClass("cycle-paused"),0===b.slides.filter(":animated").length&&b.API.queueTransition(b.API.getSlideOpts(),b._remainingTimeout),b.API.trigger("cycle-resumed",[b,b._remainingTimeout]).log("cycle-resumed"))},add:function(b,c){var d,e=this.opts(),f=e.slideCount,g=!1;"string"==a.type(b)&&(b=a.trim(b)),a(b).each(function(){var b,d=a(this);c?e.container.prepend(d):e.container.append(d),e.slideCount++,b=e.API.buildSlideOpts(d),e.slides=c?a(d).add(e.slides):e.slides.add(d),e.API.initSlide(b,d,--e._maxZ),d.data("cycle.opts",b),e.API.trigger("cycle-slide-added",[e,b,d])}),e.API.updateView(!0),g=e._preInitialized&&2>f&&e.slideCount>=1,g&&(e._initialized?e.timeout&&(d=e.slides.length,e.nextSlide=e.reverse?d-1:1,e.timeoutId||e.API.queueTransition(e)):e.API.initSlideshow())},calcFirstSlide:function(){var a,b=this.opts();a=parseInt(b.startingSlide||0,10),(a>=b.slides.length||0>a)&&(a=0),b.currSlide=a,b.reverse?(b.nextSlide=a-1,b.nextSlide<0&&(b.nextSlide=b.slides.length-1)):(b.nextSlide=a+1,b.nextSlide==b.slides.length&&(b.nextSlide=0))},calcNextSlide:function(){var a,b=this.opts();b.reverse?(a=b.nextSlide-1<0,b.nextSlide=a?b.slideCount-1:b.nextSlide-1,b.currSlide=a?0:b.nextSlide+1):(a=b.nextSlide+1==b.slides.length,b.nextSlide=a?0:b.nextSlide+1,b.currSlide=a?b.slides.length-1:b.nextSlide-1)},calcTx:function(b,c){var d,e=b;return e._tempFx?d=a.fn.cycle.transitions[e._tempFx]:c&&e.manualFx&&(d=a.fn.cycle.transitions[e.manualFx]),d||(d=a.fn.cycle.transitions[e.fx]),e._tempFx=null,this.opts()._tempFx=null,d||(d=a.fn.cycle.transitions.fade,e.API.log('Transition "'+e.fx+'" not found. Using fade.')),d},prepareTx:function(a,b){var c,d,e,f,g,h=this.opts();return h.slideCount<2?void(h.timeoutId=0):(!a||h.busy&&!h.manualTrump||(h.API.stopTransition(),h.busy=!1,clearTimeout(h.timeoutId),h.timeoutId=0),void(h.busy||(0!==h.timeoutId||a)&&(d=h.slides[h.currSlide],e=h.slides[h.nextSlide],f=h.API.getSlideOpts(h.nextSlide),g=h.API.calcTx(f,a),h._tx=g,a&&void 0!==f.manualSpeed&&(f.speed=f.manualSpeed),h.nextSlide!=h.currSlide&&(a||!h.paused&&!h.hoverPaused&&h.timeout)?(h.API.trigger("cycle-before",[f,d,e,b]),g.before&&g.before(f,d,e,b),c=function(){h.busy=!1,h.container.data("cycle.opts")&&(g.after&&g.after(f,d,e,b),h.API.trigger("cycle-after",[f,d,e,b]),h.API.queueTransition(f),h.API.updateView(!0))},h.busy=!0,g.transition?g.transition(f,d,e,b,c):h.API.doTransition(f,d,e,b,c),h.API.calcNextSlide(),h.API.updateView()):h.API.queueTransition(f))))},doTransition:function(b,c,d,e,f){var g=b,h=a(c),i=a(d),j=function(){i.animate(g.animIn||{opacity:1},g.speed,g.easeIn||g.easing,f)};i.css(g.cssBefore||{}),h.animate(g.animOut||{},g.speed,g.easeOut||g.easing,function(){h.css(g.cssAfter||{}),g.sync||j()}),g.sync&&j()},queueTransition:function(b,c){var d=this.opts(),e=void 0!==c?c:b.timeout;return 0===d.nextSlide&&0===--d.loop?(d.API.log("terminating; loop=0"),d.timeout=0,e?setTimeout(function(){d.API.trigger("cycle-finished",[d])},e):d.API.trigger("cycle-finished",[d]),void(d.nextSlide=d.currSlide)):void 0!==d.continueAuto&&(d.continueAuto===!1||a.isFunction(d.continueAuto)&&d.continueAuto()===!1)?(d.API.log("terminating automatic transitions"),d.timeout=0,void(d.timeoutId&&clearTimeout(d.timeoutId))):void(e&&(d._lastQueue=a.now(),void 0===c&&(d._remainingTimeout=b.timeout),d.paused||d.hoverPaused||(d.timeoutId=setTimeout(function(){d.API.prepareTx(!1,!d.reverse)},e))))},stopTransition:function(){var a=this.opts();a.slides.filter(":animated").length&&(a.slides.stop(!1,!0),a.API.trigger("cycle-transition-stopped",[a])),a._tx&&a._tx.stopTransition&&a._tx.stopTransition(a)},advanceSlide:function(a){var b=this.opts();return clearTimeout(b.timeoutId),b.timeoutId=0,b.nextSlide=b.currSlide+a,b.nextSlide<0?b.nextSlide=b.slides.length-1:b.nextSlide>=b.slides.length&&(b.nextSlide=0),b.API.prepareTx(!0,a>=0),!1},buildSlideOpts:function(c){var d,e,f=this.opts(),g=c.data()||{};for(var h in g)g.hasOwnProperty(h)&&/^cycle[A-Z]+/.test(h)&&(d=g[h],e=h.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,b),f.API.log("["+(f.slideCount-1)+"]",e+":",d,"("+typeof d+")"),g[e]=d);g=a.extend({},a.fn.cycle.defaults,f,g),g.slideNum=f.slideCount;try{delete g.API,delete g.slideCount,delete g.currSlide,delete g.nextSlide,delete g.slides}catch(i){}return g},getSlideOpts:function(b){var c=this.opts();void 0===b&&(b=c.currSlide);var d=c.slides[b],e=a(d).data("cycle.opts");return a.extend({},c,e)},initSlide:function(b,c,d){var e=this.opts();c.css(b.slideCss||{}),d>0&&c.css("zIndex",d),isNaN(b.speed)&&(b.speed=a.fx.speeds[b.speed]||a.fx.speeds._default),b.sync||(b.speed=b.speed/2),c.addClass(e.slideClass)},updateView:function(a,b){var c=this.opts();if(c._initialized){var d=c.API.getSlideOpts(),e=c.slides[c.currSlide];!a&&b!==!0&&(c.API.trigger("cycle-update-view-before",[c,d,e]),c.updateView<0)||(c.slideActiveClass&&c.slides.removeClass(c.slideActiveClass).eq(c.currSlide).addClass(c.slideActiveClass),a&&c.hideNonActive&&c.slides.filter(":not(."+c.slideActiveClass+")").css("visibility","hidden"),0===c.updateView&&setTimeout(function(){c.API.trigger("cycle-update-view",[c,d,e,a])},d.speed/(c.sync?2:1)),0!==c.updateView&&c.API.trigger("cycle-update-view",[c,d,e,a]),a&&c.API.trigger("cycle-update-view-after",[c,d,e]))}},getComponent:function(b){var c=this.opts(),d=c[b];return"string"==typeof d?/^\s*[\>|\+|~]/.test(d)?c.container.find(d):a(d):d.jquery?d:a(d)},stackSlides:function(b,c,d){var e=this.opts();b||(b=e.slides[e.currSlide],c=e.slides[e.nextSlide],d=!e.reverse),a(b).css("zIndex",e.maxZ);var f,g=e.maxZ-2,h=e.slideCount;if(d){for(f=e.currSlide+1;h>f;f++)a(e.slides[f]).css("zIndex",g--);for(f=0;f=0;f--)a(e.slides[f]).css("zIndex",g--);for(f=h-1;f>e.currSlide;f--)a(e.slides[f]).css("zIndex",g--)}a(c).css("zIndex",e.maxZ-1)},getSlideIndex:function(a){return this.opts().slides.index(a)}},a.fn.cycle.log=function(){window.console&&console.log&&console.log("[cycle2] "+Array.prototype.join.call(arguments," "))},a.fn.cycle.version=function(){return"Cycle2: "+c},a.fn.cycle.transitions={custom:{},none:{before:function(a,b,c,d){a.API.stackSlides(c,b,d),a.cssBefore={opacity:1,visibility:"visible",display:"block"}}},fade:{before:function(b,c,d,e){var f=b.API.getSlideOpts(b.nextSlide).slideCss||{};b.API.stackSlides(c,d,e),b.cssBefore=a.extend(f,{opacity:0,visibility:"visible",display:"block"}),b.animIn={opacity:1},b.animOut={opacity:0}}},fadeout:{before:function(b,c,d,e){var f=b.API.getSlideOpts(b.nextSlide).slideCss||{};b.API.stackSlides(c,d,e),b.cssBefore=a.extend(f,{opacity:1,visibility:"visible",display:"block"}),b.animOut={opacity:0}}},scrollHorz:{before:function(a,b,c,d){a.API.stackSlides(b,c,d);var e=a.container.css("overflow","hidden").width();a.cssBefore={left:d?e:-e,top:0,opacity:1,visibility:"visible",display:"block"},a.cssAfter={zIndex:a._maxZ-2,left:0},a.animIn={left:0},a.animOut={left:d?-e:e}}}},a.fn.cycle.defaults={allowWrap:!0,autoSelector:".cycle-slideshow[data-cycle-auto-init!=false]",delay:0,easing:null,fx:"fade",hideNonActive:!0,loop:0,manualFx:void 0,manualSpeed:void 0,manualTrump:!0,maxZ:100,pauseOnHover:!1,reverse:!1,slideActiveClass:"cycle-slide-active",slideClass:"cycle-slide",slideCss:{position:"absolute",top:0,left:0},slides:"> img",speed:500,startingSlide:0,sync:!0,timeout:4e3,updateView:0},a(document).ready(function(){a(a.fn.cycle.defaults.autoSelector).cycle()})}(jQuery); \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/01_jQuery.cycle2.tmpl_2.1.5/LICENSE.htm b/jQuery.cycle2/jQuery.cycle2_2.1.5/01_jQuery.cycle2.tmpl_2.1.5/LICENSE.htm new file mode 100644 index 00000000..ebef1aa5 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/01_jQuery.cycle2.tmpl_2.1.5/LICENSE.htm @@ -0,0 +1 @@ +

Dual licensed as MIT and GPL

\ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/01_jQuery.cycle2.tmpl_2.1.5/jQuery.cycle2.tmpl.dnn b/jQuery.cycle2/jQuery.cycle2_2.1.5/01_jQuery.cycle2.tmpl_2.1.5/jQuery.cycle2.tmpl.dnn new file mode 100644 index 00000000..a6311cf8 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/01_jQuery.cycle2.tmpl_2.1.5/jQuery.cycle2.tmpl.dnn @@ -0,0 +1,39 @@ + + + + + Cycle2 Template plugin + the demo. It is included by default in the jQuery.Cycle2 library.]]> + + Engage Software + Engage Software + http://www.engagesoftware.com + support@engagesoftware.com + + + + true + + jQuery + jQuery.cycle2.core + + + + + jQuery.cycle2.tmpl + jQuery.cycle2.tmpl.js + BodyBottom + + + + + jQuery.cycle2.tmpl + + jQuery.cycle2.tmpl.js + + + + + + + \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/01_jQuery.cycle2.tmpl_2.1.5/jquery.cycle2.tmpl.min.js b/jQuery.cycle2/jQuery.cycle2_2.1.5/01_jQuery.cycle2.tmpl_2.1.5/jquery.cycle2.tmpl.min.js new file mode 100644 index 00000000..2210fe26 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/01_jQuery.cycle2.tmpl_2.1.5/jquery.cycle2.tmpl.min.js @@ -0,0 +1,2 @@ +/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ +!function(a){"use strict";a.extend(a.fn.cycle.defaults,{tmplRegex:"{{((.)?.*?)}}"}),a.extend(a.fn.cycle.API,{tmpl:function(b,c){var d=new RegExp(c.tmplRegex||a.fn.cycle.defaults.tmplRegex,"g"),e=a.makeArray(arguments);return e.shift(),b.replace(d,function(b,c){var d,f,g,h,i=c.split(".");for(d=0;d1)for(h=g,f=0;fDual licensed as MIT and GPL

\ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.autoheight_2.1.5/jQuery.cycle2.autoheight.dnn b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.autoheight_2.1.5/jQuery.cycle2.autoheight.dnn new file mode 100644 index 00000000..005b53c3 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.autoheight_2.1.5/jQuery.cycle2.autoheight.dnn @@ -0,0 +1,39 @@ + + + + + Cycle2 Auto Height plugin + the demo. It is included by default in the jQuery.Cycle2 library.]]> + + Engage Software + Engage Software + http://www.engagesoftware.com + support@engagesoftware.com + + + + true + + jQuery + jQuery.cycle2.core + + + + + jQuery.cycle2.autoheight + jQuery.cycle2.autoheight.js + BodyBottom + + + + + jQuery.cycle2.autoheight + + jQuery.cycle2.autoheight.js + + + + + + + \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.autoheight_2.1.5/jquery.cycle2.autoheight.min.js b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.autoheight_2.1.5/jquery.cycle2.autoheight.min.js new file mode 100644 index 00000000..8be34882 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.autoheight_2.1.5/jquery.cycle2.autoheight.min.js @@ -0,0 +1,2 @@ +/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ +!function(a){"use strict";function b(b,d){var e,f,g,h=d.autoHeight;if("container"==h)f=a(d.slides[d.currSlide]).outerHeight(),d.container.height(f);else if(d._autoHeightRatio)d.container.height(d.container.width()/d._autoHeightRatio);else if("calc"===h||"number"==a.type(h)&&h>=0){if(g="calc"===h?c(b,d):h>=d.slides.length?0:h,g==d._sentinelIndex)return;d._sentinelIndex=g,d._sentinel&&d._sentinel.remove(),e=a(d.slides[g].cloneNode(!0)),e.removeAttr("id name rel").find("[id],[name],[rel]").removeAttr("id name rel"),e.css({position:"static",visibility:"hidden",display:"block"}).prependTo(d.container).addClass("cycle-sentinel cycle-slide").removeClass("cycle-slide-active"),e.find("*").css("visibility","hidden"),d._sentinel=e}}function c(b,c){var d=0,e=-1;return c.slides.each(function(b){var c=a(this).height();c>e&&(e=c,d=b)}),d}function d(b,c,d,e){var f=a(e).outerHeight();c.container.animate({height:f},c.autoHeightSpeed,c.autoHeightEasing)}function e(c,f){f._autoHeightOnResize&&(a(window).off("resize orientationchange",f._autoHeightOnResize),f._autoHeightOnResize=null),f.container.off("cycle-slide-added cycle-slide-removed",b),f.container.off("cycle-destroyed",e),f.container.off("cycle-before",d),f._sentinel&&(f._sentinel.remove(),f._sentinel=null)}a.extend(a.fn.cycle.defaults,{autoHeight:0,autoHeightSpeed:250,autoHeightEasing:null}),a(document).on("cycle-initialized",function(c,f){function g(){b(c,f)}var h,i=f.autoHeight,j=a.type(i),k=null;("string"===j||"number"===j)&&(f.container.on("cycle-slide-added cycle-slide-removed",b),f.container.on("cycle-destroyed",e),"container"==i?f.container.on("cycle-before",d):"string"===j&&/\d+\:\d+/.test(i)&&(h=i.match(/(\d+)\:(\d+)/),h=h[1]/h[2],f._autoHeightRatio=h),"number"!==j&&(f._autoHeightOnResize=function(){clearTimeout(k),k=setTimeout(g,50)},a(window).on("resize orientationchange",f._autoHeightOnResize)),setTimeout(g,30))})}(jQuery); \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.caption_2.1.5/LICENSE.htm b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.caption_2.1.5/LICENSE.htm new file mode 100644 index 00000000..ebef1aa5 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.caption_2.1.5/LICENSE.htm @@ -0,0 +1 @@ +

Dual licensed as MIT and GPL

\ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.caption_2.1.5/jQuery.cycle2.caption.dnn b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.caption_2.1.5/jQuery.cycle2.caption.dnn new file mode 100644 index 00000000..883e85b8 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.caption_2.1.5/jQuery.cycle2.caption.dnn @@ -0,0 +1,40 @@ + + + + + Cycle2 Caption plugin + the demo. It is included by default in the jQuery.Cycle2 library.]]> + + Engage Software + Engage Software + http://www.engagesoftware.com + support@engagesoftware.com + + + + true + + jQuery + jQuery.cycle2.core + jQuery.cycle2.tmpl + + + + + jQuery.cycle2.caption + jQuery.cycle2.caption.js + BodyBottom + + + + + jQuery.cycle2.caption + + jQuery.cycle2.caption.js + + + + + + + \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.caption_2.1.5/jquery.cycle2.caption.min.js b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.caption_2.1.5/jquery.cycle2.caption.min.js new file mode 100644 index 00000000..59aefbec --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.caption_2.1.5/jquery.cycle2.caption.min.js @@ -0,0 +1,2 @@ +/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ +!function(a){"use strict";a.extend(a.fn.cycle.defaults,{caption:"> .cycle-caption",captionTemplate:"{{slideNum}} / {{slideCount}}",overlay:"> .cycle-overlay",overlayTemplate:"
{{title}}
{{desc}}
",captionModule:"caption"}),a(document).on("cycle-update-view",function(b,c,d,e){if("caption"===c.captionModule){a.each(["caption","overlay"],function(){var a=this,b=d[a+"Template"],f=c.API.getComponent(a);f.length&&b?(f.html(c.API.tmpl(b,d,c,e)),f.show()):f.hide()})}}),a(document).on("cycle-destroyed",function(b,c){var d;a.each(["caption","overlay"],function(){var a=this,b=c[a+"Template"];c[a]&&b&&(d=c.API.getComponent("caption"),d.empty())})})}(jQuery); \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.command_2.1.5/LICENSE.htm b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.command_2.1.5/LICENSE.htm new file mode 100644 index 00000000..ebef1aa5 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.command_2.1.5/LICENSE.htm @@ -0,0 +1 @@ +

Dual licensed as MIT and GPL

\ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.command_2.1.5/jQuery.cycle2.command.dnn b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.command_2.1.5/jQuery.cycle2.command.dnn new file mode 100644 index 00000000..eb89fd88 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.command_2.1.5/jQuery.cycle2.command.dnn @@ -0,0 +1,39 @@ + + + + + Cycle2 Command plugin + the demo. It is included by default in the jQuery.Cycle2 library.]]> + + Engage Software + Engage Software + http://www.engagesoftware.com + support@engagesoftware.com + + + + true + + jQuery + jQuery.cycle2.core + + + + + jQuery.cycle2.command + jQuery.cycle2.command.js + BodyBottom + + + + + jQuery.cycle2.command + + jQuery.cycle2.command.js + + + + + + + \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.command_2.1.5/jquery.cycle2.command.min.js b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.command_2.1.5/jquery.cycle2.command.min.js new file mode 100644 index 00000000..570b0027 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.command_2.1.5/jquery.cycle2.command.min.js @@ -0,0 +1,2 @@ +/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ +!function(a){"use strict";var b=a.fn.cycle;a.fn.cycle=function(c){var d,e,f,g=a.makeArray(arguments);return"number"==a.type(c)?this.cycle("goto",c):"string"==a.type(c)?this.each(function(){var h;return d=c,f=a(this).data("cycle.opts"),void 0===f?void b.log('slideshow must be initialized before sending commands; "'+d+'" ignored'):(d="goto"==d?"jump":d,e=f.API[d],a.isFunction(e)?(h=a.makeArray(g),h.shift(),e.apply(f.API,h)):void b.log("unknown command: ",d))}):b.apply(this,arguments)},a.extend(a.fn.cycle,b),a.extend(b.API,{next:function(){var a=this.opts();if(!a.busy||a.manualTrump){var b=a.reverse?-1:1;a.allowWrap===!1&&a.currSlide+b>=a.slideCount||(a.API.advanceSlide(b),a.API.trigger("cycle-next",[a]).log("cycle-next"))}},prev:function(){var a=this.opts();if(!a.busy||a.manualTrump){var b=a.reverse?1:-1;a.allowWrap===!1&&a.currSlide+b<0||(a.API.advanceSlide(b),a.API.trigger("cycle-prev",[a]).log("cycle-prev"))}},destroy:function(){this.stop();var b=this.opts(),c=a.isFunction(a._data)?a._data:a.noop;clearTimeout(b.timeoutId),b.timeoutId=0,b.API.stop(),b.API.trigger("cycle-destroyed",[b]).log("cycle-destroyed"),b.container.removeData(),c(b.container[0],"parsedAttrs",!1),b.retainStylesOnDestroy||(b.container.removeAttr("style"),b.slides.removeAttr("style"),b.slides.removeClass(b.slideActiveClass)),b.slides.each(function(){a(this).removeData(),c(this,"parsedAttrs",!1)})},jump:function(a,b){var c,d=this.opts();if(!d.busy||d.manualTrump){var e=parseInt(a,10);if(isNaN(e)||0>e||e>=d.slides.length)return void d.API.log("goto: invalid slide index: "+e);if(e==d.currSlide)return void d.API.log("goto: skipping, already on slide",e);d.nextSlide=e,clearTimeout(d.timeoutId),d.timeoutId=0,d.API.log("goto: ",e," (zero-index)"),c=d.currSlideDual licensed as MIT and GPL

\ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.hash_2.1.5/jQuery.cycle2.hash.dnn b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.hash_2.1.5/jQuery.cycle2.hash.dnn new file mode 100644 index 00000000..3c38e7ba --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.hash_2.1.5/jQuery.cycle2.hash.dnn @@ -0,0 +1,39 @@ + + + + + Cycle2 Hash plugin + the demo. It is included by default in the jQuery.Cycle2 library.]]> + + Engage Software + Engage Software + http://www.engagesoftware.com + support@engagesoftware.com + + + + true + + jQuery + jQuery.cycle2.core + + + + + jQuery.cycle2.hash + jQuery.cycle2.hash.js + BodyBottom + + + + + jQuery.cycle2.hash + + jQuery.cycle2.hash.js + + + + + + + \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.hash_2.1.5/jquery.cycle2.hash.min.js b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.hash_2.1.5/jquery.cycle2.hash.min.js new file mode 100644 index 00000000..f6e0677a --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.hash_2.1.5/jquery.cycle2.hash.min.js @@ -0,0 +1,2 @@ +/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ +!function(a){"use strict";function b(b,c){var d;return b._hashFence?void(b._hashFence=!1):(d=window.location.hash.substring(1),void b.slides.each(function(e){if(a(this).data("cycle-hash")==d){if(c===!0)b.startingSlide=e;else{var f=b.currSlideDual licensed as MIT and GPL

\ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.loader_2.1.5/jQuery.cycle2.loader.dnn b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.loader_2.1.5/jQuery.cycle2.loader.dnn new file mode 100644 index 00000000..36bc80c6 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.loader_2.1.5/jQuery.cycle2.loader.dnn @@ -0,0 +1,39 @@ + + + + + Cycle2 Loader plugin + the demo. It is included by default in the jQuery.Cycle2 library.]]> + + Engage Software + Engage Software + http://www.engagesoftware.com + support@engagesoftware.com + + + + true + + jQuery + jQuery.cycle2.core + + + + + jQuery.cycle2.loader + jQuery.cycle2.loader.js + BodyBottom + + + + + jQuery.cycle2.loader + + jQuery.cycle2.loader.js + + + + + + + \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.loader_2.1.5/jquery.cycle2.loader.min.js b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.loader_2.1.5/jquery.cycle2.loader.min.js new file mode 100644 index 00000000..dbd6541d --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.loader_2.1.5/jquery.cycle2.loader.min.js @@ -0,0 +1,2 @@ +/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ +!function(a){"use strict";a.extend(a.fn.cycle.defaults,{loader:!1}),a(document).on("cycle-bootstrap",function(b,c){function d(b,d){function f(b){var f;"wait"==c.loader?(h.push(b),0===j&&(h.sort(g),e.apply(c.API,[h,d]),c.container.removeClass("cycle-loading"))):(f=a(c.slides[c.currSlide]),e.apply(c.API,[b,d]),f.show(),c.container.removeClass("cycle-loading"))}function g(a,b){return a.data("index")-b.data("index")}var h=[];if("string"==a.type(b))b=a.trim(b);else if("array"===a.type(b))for(var i=0;iDual licensed as MIT and GPL

\ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.pager_2.1.5/jQuery.cycle2.pager.dnn b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.pager_2.1.5/jQuery.cycle2.pager.dnn new file mode 100644 index 00000000..8610c79e --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.pager_2.1.5/jQuery.cycle2.pager.dnn @@ -0,0 +1,40 @@ + + + + + Cycle2 Pager plugin + the demo. It is included by default in the jQuery.Cycle2 library.]]> + + Engage Software + Engage Software + http://www.engagesoftware.com + support@engagesoftware.com + + + + true + + jQuery + jQuery.cycle2.core + jQuery.cycle2.tmpl + + + + + jQuery.cycle2.pager + jQuery.cycle2.pager.js + BodyBottom + + + + + jQuery.cycle2.pager + + jQuery.cycle2.pager.js + + + + + + + \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.pager_2.1.5/jquery.cycle2.pager.min.js b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.pager_2.1.5/jquery.cycle2.pager.min.js new file mode 100644 index 00000000..ea8c414c --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.pager_2.1.5/jquery.cycle2.pager.min.js @@ -0,0 +1,2 @@ +/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ +!function(a){"use strict";function b(b,c,d){var e,f=b.API.getComponent("pager");f.each(function(){var f=a(this);if(c.pagerTemplate){var g=b.API.tmpl(c.pagerTemplate,c,b,d[0]);e=a(g).appendTo(f)}else e=f.children().eq(b.slideCount-1);e.on(b.pagerEvent,function(a){b.pagerEventBubble||a.preventDefault(),b.API.page(f,a.currentTarget)})})}function c(a,b){var c=this.opts();if(!c.busy||c.manualTrump){var d=a.children().index(b),e=d,f=c.currSlide .cycle-pager",pagerActiveClass:"cycle-pager-active",pagerEvent:"click.cycle",pagerEventBubble:void 0,pagerTemplate:""}),a(document).on("cycle-bootstrap",function(a,c,d){d.buildPagerLink=b}),a(document).on("cycle-slide-added",function(a,b,d,e){b.pager&&(b.API.buildPagerLink(b,d,e),b.API.page=c)}),a(document).on("cycle-slide-removed",function(b,c,d){if(c.pager){var e=c.API.getComponent("pager");e.each(function(){var b=a(this);a(b.children()[d]).remove()})}}),a(document).on("cycle-update-view",function(b,c){var d;c.pager&&(d=c.API.getComponent("pager"),d.each(function(){a(this).children().removeClass(c.pagerActiveClass).eq(c.currSlide).addClass(c.pagerActiveClass)}))}),a(document).on("cycle-destroyed",function(a,b){var c=b.API.getComponent("pager");c&&(c.children().off(b.pagerEvent),b.pagerTemplate&&c.empty())})}(jQuery); \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.prevnext_2.1.5/LICENSE.htm b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.prevnext_2.1.5/LICENSE.htm new file mode 100644 index 00000000..ebef1aa5 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.prevnext_2.1.5/LICENSE.htm @@ -0,0 +1 @@ +

Dual licensed as MIT and GPL

\ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.prevnext_2.1.5/jQuery.cycle2.prevnext.dnn b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.prevnext_2.1.5/jQuery.cycle2.prevnext.dnn new file mode 100644 index 00000000..629b3790 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.prevnext_2.1.5/jQuery.cycle2.prevnext.dnn @@ -0,0 +1,39 @@ + + + + + Cycle2 Prev/Next plugin + the demo. It is included by default in the jQuery.Cycle2 library.]]> + + Engage Software + Engage Software + http://www.engagesoftware.com + support@engagesoftware.com + + + + true + + jQuery + jQuery.cycle2.core + + + + + jQuery.cycle2.prevnext + jQuery.cycle2.prevnext.js + BodyBottom + + + + + jQuery.cycle2.prevnext + + jQuery.cycle2.prevnext.js + + + + + + + \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.prevnext_2.1.5/jquery.cycle2.prevnext.min.js b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.prevnext_2.1.5/jquery.cycle2.prevnext.min.js new file mode 100644 index 00000000..95cd0a00 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.prevnext_2.1.5/jquery.cycle2.prevnext.min.js @@ -0,0 +1,2 @@ +/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ +!function(a){"use strict";a.extend(a.fn.cycle.defaults,{next:"> .cycle-next",nextEvent:"click.cycle",disabledClass:"disabled",prev:"> .cycle-prev",prevEvent:"click.cycle",swipe:!1}),a(document).on("cycle-initialized",function(a,b){if(b.API.getComponent("next").on(b.nextEvent,function(a){a.preventDefault(),b.API.next()}),b.API.getComponent("prev").on(b.prevEvent,function(a){a.preventDefault(),b.API.prev()}),b.swipe){var c=b.swipeVert?"swipeUp.cycle":"swipeLeft.cycle swipeleft.cycle",d=b.swipeVert?"swipeDown.cycle":"swipeRight.cycle swiperight.cycle";b.container.on(c,function(){b._tempFx=b.swipeFx,b.API.next()}),b.container.on(d,function(){b._tempFx=b.swipeFx,b.API.prev()})}}),a(document).on("cycle-update-view",function(a,b){if(!b.allowWrap){var c=b.disabledClass,d=b.API.getComponent("next"),e=b.API.getComponent("prev"),f=b._prevBoundry||0,g=void 0!==b._nextBoundry?b._nextBoundry:b.slideCount-1;b.currSlide==g?d.addClass(c).prop("disabled",!0):d.removeClass(c).prop("disabled",!1),b.currSlide===f?e.addClass(c).prop("disabled",!0):e.removeClass(c).prop("disabled",!1)}}),a(document).on("cycle-destroyed",function(a,b){b.API.getComponent("prev").off(b.nextEvent),b.API.getComponent("next").off(b.prevEvent),b.container.off("swipeleft.cycle swiperight.cycle swipeLeft.cycle swipeRight.cycle swipeUp.cycle swipeDown.cycle")})}(jQuery); \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.progressive_2.1.5/LICENSE.htm b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.progressive_2.1.5/LICENSE.htm new file mode 100644 index 00000000..ebef1aa5 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.progressive_2.1.5/LICENSE.htm @@ -0,0 +1 @@ +

Dual licensed as MIT and GPL

\ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.progressive_2.1.5/jQuery.cycle2.progressive.dnn b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.progressive_2.1.5/jQuery.cycle2.progressive.dnn new file mode 100644 index 00000000..2761a5f9 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.progressive_2.1.5/jQuery.cycle2.progressive.dnn @@ -0,0 +1,39 @@ + + + + + Cycle2 Progressive Loader plugin + the demo. It is included by default in the jQuery.Cycle2 library.]]> + + Engage Software + Engage Software + http://www.engagesoftware.com + support@engagesoftware.com + + + + true + + jQuery + jQuery.cycle2.core + + + + + jQuery.cycle2.progressive + jQuery.cycle2.progressive.js + BodyBottom + + + + + jQuery.cycle2.progressive + + jQuery.cycle2.progressive.js + + + + + + + \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.progressive_2.1.5/jquery.cycle2.progressive.min.js b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.progressive_2.1.5/jquery.cycle2.progressive.min.js new file mode 100644 index 00000000..2d75bb75 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/02_jQuery.cycle2.progressive_2.1.5/jquery.cycle2.progressive.min.js @@ -0,0 +1,2 @@ +/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ +!function(a){"use strict";a.extend(a.fn.cycle.defaults,{progressive:!1}),a(document).on("cycle-pre-initialize",function(b,c){if(c.progressive){var d,e,f=c.API,g=f.next,h=f.prev,i=f.prepareTx,j=a.type(c.progressive);if("array"==j)d=c.progressive;else if(a.isFunction(c.progressive))d=c.progressive(c);else if("string"==j){if(e=a(c.progressive),d=a.trim(e.html()),!d)return;if(/^(\[)/.test(d))try{d=a.parseJSON(d)}catch(k){return void f.log("error parsing progressive slides",k)}else d=d.split(new RegExp(e.data("cycle-split")||"\n")),d[d.length-1]||d.pop()}i&&(f.prepareTx=function(a,b){var e,f;return a||0===d.length?void i.apply(c.API,[a,b]):void(b&&c.currSlide==c.slideCount-1?(f=d[0],d=d.slice(1),c.container.one("cycle-slide-added",function(a,b){setTimeout(function(){b.API.advanceSlide(1)},50)}),c.API.add(f)):b||0!==c.currSlide?i.apply(c.API,[a,b]):(e=d.length-1,f=d[e],d=d.slice(0,e),c.container.one("cycle-slide-added",function(a,b){setTimeout(function(){b.currSlide=1,b.API.advanceSlide(-1)},50)}),c.API.add(f,!0)))}),g&&(f.next=function(){var a=this.opts();if(d.length&&a.currSlide==a.slideCount-1){var b=d[0];d=d.slice(1),a.container.one("cycle-slide-added",function(a,b){g.apply(b.API),b.container.removeClass("cycle-loading")}),a.container.addClass("cycle-loading"),a.API.add(b)}else g.apply(a.API)}),h&&(f.prev=function(){var a=this.opts();if(d.length&&0===a.currSlide){var b=d.length-1,c=d[b];d=d.slice(0,b),a.container.one("cycle-slide-added",function(a,b){b.currSlide=1,b.API.advanceSlide(-1),b.container.removeClass("cycle-loading")}),a.container.addClass("cycle-loading"),a.API.add(c,!0)}else h.apply(a.API)})}})}(jQuery); \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/03_jQuery.cycle2_2.1.5/LICENSE.htm b/jQuery.cycle2/jQuery.cycle2_2.1.5/03_jQuery.cycle2_2.1.5/LICENSE.htm new file mode 100644 index 00000000..ebef1aa5 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/03_jQuery.cycle2_2.1.5/LICENSE.htm @@ -0,0 +1 @@ +

Dual licensed as MIT and GPL

\ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/03_jQuery.cycle2_2.1.5/jQuery.cycle2.dnn b/jQuery.cycle2/jQuery.cycle2_2.1.5/03_jQuery.cycle2_2.1.5/jQuery.cycle2.dnn new file mode 100644 index 00000000..fd4ea8b2 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/03_jQuery.cycle2_2.1.5/jQuery.cycle2.dnn @@ -0,0 +1,39 @@ + + + + + Cycle2 + The successor to Cycle. Cycle2 is a mobile and desktop friendly slideshow built around ease-of-use with a declarative API. It supports responsive designs, dynamic slideshow manipulation, swipe events, and lots of options! + + Engage Software + Engage Software + http://www.engagesoftware.com + support@engagesoftware.com + + + + true + + jQuery + jQuery.cycle2.core + jQuery.cycle2.autoheight + jQuery.cycle2.caption + jQuery.cycle2.command + jQuery.cycle2.hash + jQuery.cycle2.loader + jQuery.cycle2.pager + jQuery.cycle2.prevnext + jQuery.cycle2.progressive + jQuery.cycle2.tmpl + + + + + jQuery.cycle2 + BodyBottom + + + + + + \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/03_jQuery.cycle2_2.1.5/jquery.cycle2.js b/jQuery.cycle2/jQuery.cycle2_2.1.5/03_jQuery.cycle2_2.1.5/jquery.cycle2.js new file mode 100644 index 00000000..2ce29173 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/03_jQuery.cycle2_2.1.5/jquery.cycle2.js @@ -0,0 +1,1545 @@ +/*! +* jQuery Cycle2; version: 2.1.5 build: 20140415 +* http://jquery.malsup.com/cycle2/ +* Copyright (c) 2014 M. Alsup; Dual licensed: MIT/GPL +*/ + +/* Cycle2 core engine */ +;(function($) { +"use strict"; + +var version = '2.1.5'; + +$.fn.cycle = function( options ) { + // fix mistakes with the ready state + var o; + if ( this.length === 0 && !$.isReady ) { + o = { s: this.selector, c: this.context }; + $.fn.cycle.log('requeuing slideshow (dom not ready)'); + $(function() { + $( o.s, o.c ).cycle(options); + }); + return this; + } + + return this.each(function() { + var data, opts, shortName, val; + var container = $(this); + var log = $.fn.cycle.log; + + if ( container.data('cycle.opts') ) + return; // already initialized + + if ( container.data('cycle-log') === false || + ( options && options.log === false ) || + ( opts && opts.log === false) ) { + log = $.noop; + } + + log('--c2 init--'); + data = container.data(); + for (var p in data) { + // allow props to be accessed sans 'cycle' prefix and log the overrides + if (data.hasOwnProperty(p) && /^cycle[A-Z]+/.test(p) ) { + val = data[p]; + shortName = p.match(/^cycle(.*)/)[1].replace(/^[A-Z]/, lowerCase); + log(shortName+':', val, '('+typeof val +')'); + data[shortName] = val; + } + } + + opts = $.extend( {}, $.fn.cycle.defaults, data, options || {}); + + opts.timeoutId = 0; + opts.paused = opts.paused || false; // #57 + opts.container = container; + opts._maxZ = opts.maxZ; + + opts.API = $.extend ( { _container: container }, $.fn.cycle.API ); + opts.API.log = log; + opts.API.trigger = function( eventName, args ) { + opts.container.trigger( eventName, args ); + return opts.API; + }; + + container.data( 'cycle.opts', opts ); + container.data( 'cycle.API', opts.API ); + + // opportunity for plugins to modify opts and API + opts.API.trigger('cycle-bootstrap', [ opts, opts.API ]); + + opts.API.addInitialSlides(); + opts.API.preInitSlideshow(); + + if ( opts.slides.length ) + opts.API.initSlideshow(); + }); +}; + +$.fn.cycle.API = { + opts: function() { + return this._container.data( 'cycle.opts' ); + }, + addInitialSlides: function() { + var opts = this.opts(); + var slides = opts.slides; + opts.slideCount = 0; + opts.slides = $(); // empty set + + // add slides that already exist + slides = slides.jquery ? slides : opts.container.find( slides ); + + if ( opts.random ) { + slides.sort(function() {return Math.random() - 0.5;}); + } + + opts.API.add( slides ); + }, + + preInitSlideshow: function() { + var opts = this.opts(); + opts.API.trigger('cycle-pre-initialize', [ opts ]); + var tx = $.fn.cycle.transitions[opts.fx]; + if (tx && $.isFunction(tx.preInit)) + tx.preInit( opts ); + opts._preInitialized = true; + }, + + postInitSlideshow: function() { + var opts = this.opts(); + opts.API.trigger('cycle-post-initialize', [ opts ]); + var tx = $.fn.cycle.transitions[opts.fx]; + if (tx && $.isFunction(tx.postInit)) + tx.postInit( opts ); + }, + + initSlideshow: function() { + var opts = this.opts(); + var pauseObj = opts.container; + var slideOpts; + opts.API.calcFirstSlide(); + + if ( opts.container.css('position') == 'static' ) + opts.container.css('position', 'relative'); + + $(opts.slides[opts.currSlide]).css({ + opacity: 1, + display: 'block', + visibility: 'visible' + }); + opts.API.stackSlides( opts.slides[opts.currSlide], opts.slides[opts.nextSlide], !opts.reverse ); + + if ( opts.pauseOnHover ) { + // allow pauseOnHover to specify an element + if ( opts.pauseOnHover !== true ) + pauseObj = $( opts.pauseOnHover ); + + pauseObj.hover( + function(){ opts.API.pause( true ); }, + function(){ opts.API.resume( true ); } + ); + } + + // stage initial transition + if ( opts.timeout ) { + slideOpts = opts.API.getSlideOpts( opts.currSlide ); + opts.API.queueTransition( slideOpts, slideOpts.timeout + opts.delay ); + } + + opts._initialized = true; + opts.API.updateView( true ); + opts.API.trigger('cycle-initialized', [ opts ]); + opts.API.postInitSlideshow(); + }, + + pause: function( hover ) { + var opts = this.opts(), + slideOpts = opts.API.getSlideOpts(), + alreadyPaused = opts.hoverPaused || opts.paused; + + if ( hover ) + opts.hoverPaused = true; + else + opts.paused = true; + + if ( ! alreadyPaused ) { + opts.container.addClass('cycle-paused'); + opts.API.trigger('cycle-paused', [ opts ]).log('cycle-paused'); + + if ( slideOpts.timeout ) { + clearTimeout( opts.timeoutId ); + opts.timeoutId = 0; + + // determine how much time is left for the current slide + opts._remainingTimeout -= ( $.now() - opts._lastQueue ); + if ( opts._remainingTimeout < 0 || isNaN(opts._remainingTimeout) ) + opts._remainingTimeout = undefined; + } + } + }, + + resume: function( hover ) { + var opts = this.opts(), + alreadyResumed = !opts.hoverPaused && !opts.paused, + remaining; + + if ( hover ) + opts.hoverPaused = false; + else + opts.paused = false; + + + if ( ! alreadyResumed ) { + opts.container.removeClass('cycle-paused'); + // #gh-230; if an animation is in progress then don't queue a new transition; it will + // happen naturally + if ( opts.slides.filter(':animated').length === 0 ) + opts.API.queueTransition( opts.API.getSlideOpts(), opts._remainingTimeout ); + opts.API.trigger('cycle-resumed', [ opts, opts._remainingTimeout ] ).log('cycle-resumed'); + } + }, + + add: function( slides, prepend ) { + var opts = this.opts(); + var oldSlideCount = opts.slideCount; + var startSlideshow = false; + var len; + + if ( $.type(slides) == 'string') + slides = $.trim( slides ); + + $( slides ).each(function(i) { + var slideOpts; + var slide = $(this); + + if ( prepend ) + opts.container.prepend( slide ); + else + opts.container.append( slide ); + + opts.slideCount++; + slideOpts = opts.API.buildSlideOpts( slide ); + + if ( prepend ) + opts.slides = $( slide ).add( opts.slides ); + else + opts.slides = opts.slides.add( slide ); + + opts.API.initSlide( slideOpts, slide, --opts._maxZ ); + + slide.data('cycle.opts', slideOpts); + opts.API.trigger('cycle-slide-added', [ opts, slideOpts, slide ]); + }); + + opts.API.updateView( true ); + + startSlideshow = opts._preInitialized && (oldSlideCount < 2 && opts.slideCount >= 1); + if ( startSlideshow ) { + if ( !opts._initialized ) + opts.API.initSlideshow(); + else if ( opts.timeout ) { + len = opts.slides.length; + opts.nextSlide = opts.reverse ? len - 1 : 1; + if ( !opts.timeoutId ) { + opts.API.queueTransition( opts ); + } + } + } + }, + + calcFirstSlide: function() { + var opts = this.opts(); + var firstSlideIndex; + firstSlideIndex = parseInt( opts.startingSlide || 0, 10 ); + if (firstSlideIndex >= opts.slides.length || firstSlideIndex < 0) + firstSlideIndex = 0; + + opts.currSlide = firstSlideIndex; + if ( opts.reverse ) { + opts.nextSlide = firstSlideIndex - 1; + if (opts.nextSlide < 0) + opts.nextSlide = opts.slides.length - 1; + } + else { + opts.nextSlide = firstSlideIndex + 1; + if (opts.nextSlide == opts.slides.length) + opts.nextSlide = 0; + } + }, + + calcNextSlide: function() { + var opts = this.opts(); + var roll; + if ( opts.reverse ) { + roll = (opts.nextSlide - 1) < 0; + opts.nextSlide = roll ? opts.slideCount - 1 : opts.nextSlide-1; + opts.currSlide = roll ? 0 : opts.nextSlide+1; + } + else { + roll = (opts.nextSlide + 1) == opts.slides.length; + opts.nextSlide = roll ? 0 : opts.nextSlide+1; + opts.currSlide = roll ? opts.slides.length-1 : opts.nextSlide-1; + } + }, + + calcTx: function( slideOpts, manual ) { + var opts = slideOpts; + var tx; + + if ( opts._tempFx ) + tx = $.fn.cycle.transitions[opts._tempFx]; + else if ( manual && opts.manualFx ) + tx = $.fn.cycle.transitions[opts.manualFx]; + + if ( !tx ) + tx = $.fn.cycle.transitions[opts.fx]; + + opts._tempFx = null; + this.opts()._tempFx = null; + + if (!tx) { + tx = $.fn.cycle.transitions.fade; + opts.API.log('Transition "' + opts.fx + '" not found. Using fade.'); + } + return tx; + }, + + prepareTx: function( manual, fwd ) { + var opts = this.opts(); + var after, curr, next, slideOpts, tx; + + if ( opts.slideCount < 2 ) { + opts.timeoutId = 0; + return; + } + if ( manual && ( !opts.busy || opts.manualTrump ) ) { + opts.API.stopTransition(); + opts.busy = false; + clearTimeout(opts.timeoutId); + opts.timeoutId = 0; + } + if ( opts.busy ) + return; + if ( opts.timeoutId === 0 && !manual ) + return; + + curr = opts.slides[opts.currSlide]; + next = opts.slides[opts.nextSlide]; + slideOpts = opts.API.getSlideOpts( opts.nextSlide ); + tx = opts.API.calcTx( slideOpts, manual ); + + opts._tx = tx; + + if ( manual && slideOpts.manualSpeed !== undefined ) + slideOpts.speed = slideOpts.manualSpeed; + + // if ( opts.nextSlide === opts.currSlide ) + // opts.API.calcNextSlide(); + + // ensure that: + // 1. advancing to a different slide + // 2. this is either a manual event (prev/next, pager, cmd) or + // a timer event and slideshow is not paused + if ( opts.nextSlide != opts.currSlide && + (manual || (!opts.paused && !opts.hoverPaused && opts.timeout) )) { // #62 + + opts.API.trigger('cycle-before', [ slideOpts, curr, next, fwd ]); + if ( tx.before ) + tx.before( slideOpts, curr, next, fwd ); + + after = function() { + opts.busy = false; + // #76; bail if slideshow has been destroyed + if (! opts.container.data( 'cycle.opts' ) ) + return; + + if (tx.after) + tx.after( slideOpts, curr, next, fwd ); + opts.API.trigger('cycle-after', [ slideOpts, curr, next, fwd ]); + opts.API.queueTransition( slideOpts); + opts.API.updateView( true ); + }; + + opts.busy = true; + if (tx.transition) + tx.transition(slideOpts, curr, next, fwd, after); + else + opts.API.doTransition( slideOpts, curr, next, fwd, after); + + opts.API.calcNextSlide(); + opts.API.updateView(); + } else { + opts.API.queueTransition( slideOpts ); + } + }, + + // perform the actual animation + doTransition: function( slideOpts, currEl, nextEl, fwd, callback) { + var opts = slideOpts; + var curr = $(currEl), next = $(nextEl); + var fn = function() { + // make sure animIn has something so that callback doesn't trigger immediately + next.animate(opts.animIn || { opacity: 1}, opts.speed, opts.easeIn || opts.easing, callback); + }; + + next.css(opts.cssBefore || {}); + curr.animate(opts.animOut || {}, opts.speed, opts.easeOut || opts.easing, function() { + curr.css(opts.cssAfter || {}); + if (!opts.sync) { + fn(); + } + }); + if (opts.sync) { + fn(); + } + }, + + queueTransition: function( slideOpts, specificTimeout ) { + var opts = this.opts(); + var timeout = specificTimeout !== undefined ? specificTimeout : slideOpts.timeout; + if (opts.nextSlide === 0 && --opts.loop === 0) { + opts.API.log('terminating; loop=0'); + opts.timeout = 0; + if ( timeout ) { + setTimeout(function() { + opts.API.trigger('cycle-finished', [ opts ]); + }, timeout); + } + else { + opts.API.trigger('cycle-finished', [ opts ]); + } + // reset nextSlide + opts.nextSlide = opts.currSlide; + return; + } + if ( opts.continueAuto !== undefined ) { + if ( opts.continueAuto === false || + ($.isFunction(opts.continueAuto) && opts.continueAuto() === false )) { + opts.API.log('terminating automatic transitions'); + opts.timeout = 0; + if ( opts.timeoutId ) + clearTimeout(opts.timeoutId); + return; + } + } + if ( timeout ) { + opts._lastQueue = $.now(); + if ( specificTimeout === undefined ) + opts._remainingTimeout = slideOpts.timeout; + + if ( !opts.paused && ! opts.hoverPaused ) { + opts.timeoutId = setTimeout(function() { + opts.API.prepareTx( false, !opts.reverse ); + }, timeout ); + } + } + }, + + stopTransition: function() { + var opts = this.opts(); + if ( opts.slides.filter(':animated').length ) { + opts.slides.stop(false, true); + opts.API.trigger('cycle-transition-stopped', [ opts ]); + } + + if ( opts._tx && opts._tx.stopTransition ) + opts._tx.stopTransition( opts ); + }, + + // advance slide forward or back + advanceSlide: function( val ) { + var opts = this.opts(); + clearTimeout(opts.timeoutId); + opts.timeoutId = 0; + opts.nextSlide = opts.currSlide + val; + + if (opts.nextSlide < 0) + opts.nextSlide = opts.slides.length - 1; + else if (opts.nextSlide >= opts.slides.length) + opts.nextSlide = 0; + + opts.API.prepareTx( true, val >= 0 ); + return false; + }, + + buildSlideOpts: function( slide ) { + var opts = this.opts(); + var val, shortName; + var slideOpts = slide.data() || {}; + for (var p in slideOpts) { + // allow props to be accessed sans 'cycle' prefix and log the overrides + if (slideOpts.hasOwnProperty(p) && /^cycle[A-Z]+/.test(p) ) { + val = slideOpts[p]; + shortName = p.match(/^cycle(.*)/)[1].replace(/^[A-Z]/, lowerCase); + opts.API.log('['+(opts.slideCount-1)+']', shortName+':', val, '('+typeof val +')'); + slideOpts[shortName] = val; + } + } + + slideOpts = $.extend( {}, $.fn.cycle.defaults, opts, slideOpts ); + slideOpts.slideNum = opts.slideCount; + + try { + // these props should always be read from the master state object + delete slideOpts.API; + delete slideOpts.slideCount; + delete slideOpts.currSlide; + delete slideOpts.nextSlide; + delete slideOpts.slides; + } catch(e) { + // no op + } + return slideOpts; + }, + + getSlideOpts: function( index ) { + var opts = this.opts(); + if ( index === undefined ) + index = opts.currSlide; + + var slide = opts.slides[index]; + var slideOpts = $(slide).data('cycle.opts'); + return $.extend( {}, opts, slideOpts ); + }, + + initSlide: function( slideOpts, slide, suggestedZindex ) { + var opts = this.opts(); + slide.css( slideOpts.slideCss || {} ); + if ( suggestedZindex > 0 ) + slide.css( 'zIndex', suggestedZindex ); + + // ensure that speed settings are sane + if ( isNaN( slideOpts.speed ) ) + slideOpts.speed = $.fx.speeds[slideOpts.speed] || $.fx.speeds._default; + if ( !slideOpts.sync ) + slideOpts.speed = slideOpts.speed / 2; + + slide.addClass( opts.slideClass ); + }, + + updateView: function( isAfter, isDuring, forceEvent ) { + var opts = this.opts(); + if ( !opts._initialized ) + return; + var slideOpts = opts.API.getSlideOpts(); + var currSlide = opts.slides[ opts.currSlide ]; + + if ( ! isAfter && isDuring !== true ) { + opts.API.trigger('cycle-update-view-before', [ opts, slideOpts, currSlide ]); + if ( opts.updateView < 0 ) + return; + } + + if ( opts.slideActiveClass ) { + opts.slides.removeClass( opts.slideActiveClass ) + .eq( opts.currSlide ).addClass( opts.slideActiveClass ); + } + + if ( isAfter && opts.hideNonActive ) + opts.slides.filter( ':not(.' + opts.slideActiveClass + ')' ).css('visibility', 'hidden'); + + if ( opts.updateView === 0 ) { + setTimeout(function() { + opts.API.trigger('cycle-update-view', [ opts, slideOpts, currSlide, isAfter ]); + }, slideOpts.speed / (opts.sync ? 2 : 1) ); + } + + if ( opts.updateView !== 0 ) + opts.API.trigger('cycle-update-view', [ opts, slideOpts, currSlide, isAfter ]); + + if ( isAfter ) + opts.API.trigger('cycle-update-view-after', [ opts, slideOpts, currSlide ]); + }, + + getComponent: function( name ) { + var opts = this.opts(); + var selector = opts[name]; + if (typeof selector === 'string') { + // if selector is a child, sibling combinator, adjancent selector then use find, otherwise query full dom + return (/^\s*[\>|\+|~]/).test( selector ) ? opts.container.find( selector ) : $( selector ); + } + if (selector.jquery) + return selector; + + return $(selector); + }, + + stackSlides: function( curr, next, fwd ) { + var opts = this.opts(); + if ( !curr ) { + curr = opts.slides[opts.currSlide]; + next = opts.slides[opts.nextSlide]; + fwd = !opts.reverse; + } + + // reset the zIndex for the common case: + // curr slide on top, next slide beneath, and the rest in order to be shown + $(curr).css('zIndex', opts.maxZ); + + var i; + var z = opts.maxZ - 2; + var len = opts.slideCount; + if (fwd) { + for ( i = opts.currSlide + 1; i < len; i++ ) + $( opts.slides[i] ).css( 'zIndex', z-- ); + for ( i = 0; i < opts.currSlide; i++ ) + $( opts.slides[i] ).css( 'zIndex', z-- ); + } + else { + for ( i = opts.currSlide - 1; i >= 0; i-- ) + $( opts.slides[i] ).css( 'zIndex', z-- ); + for ( i = len - 1; i > opts.currSlide; i-- ) + $( opts.slides[i] ).css( 'zIndex', z-- ); + } + + $(next).css('zIndex', opts.maxZ - 1); + }, + + getSlideIndex: function( el ) { + return this.opts().slides.index( el ); + } + +}; // API + +// default logger +$.fn.cycle.log = function log() { + /*global console:true */ + if (window.console && console.log) + console.log('[cycle2] ' + Array.prototype.join.call(arguments, ' ') ); +}; + +$.fn.cycle.version = function() { return 'Cycle2: ' + version; }; + +// helper functions + +function lowerCase(s) { + return (s || '').toLowerCase(); +} + +// expose transition object +$.fn.cycle.transitions = { + custom: { + }, + none: { + before: function( opts, curr, next, fwd ) { + opts.API.stackSlides( next, curr, fwd ); + opts.cssBefore = { opacity: 1, visibility: 'visible', display: 'block' }; + } + }, + fade: { + before: function( opts, curr, next, fwd ) { + var css = opts.API.getSlideOpts( opts.nextSlide ).slideCss || {}; + opts.API.stackSlides( curr, next, fwd ); + opts.cssBefore = $.extend(css, { opacity: 0, visibility: 'visible', display: 'block' }); + opts.animIn = { opacity: 1 }; + opts.animOut = { opacity: 0 }; + } + }, + fadeout: { + before: function( opts , curr, next, fwd ) { + var css = opts.API.getSlideOpts( opts.nextSlide ).slideCss || {}; + opts.API.stackSlides( curr, next, fwd ); + opts.cssBefore = $.extend(css, { opacity: 1, visibility: 'visible', display: 'block' }); + opts.animOut = { opacity: 0 }; + } + }, + scrollHorz: { + before: function( opts, curr, next, fwd ) { + opts.API.stackSlides( curr, next, fwd ); + var w = opts.container.css('overflow','hidden').width(); + opts.cssBefore = { left: fwd ? w : - w, top: 0, opacity: 1, visibility: 'visible', display: 'block' }; + opts.cssAfter = { zIndex: opts._maxZ - 2, left: 0 }; + opts.animIn = { left: 0 }; + opts.animOut = { left: fwd ? -w : w }; + } + } +}; + +// @see: http://jquery.malsup.com/cycle2/api +$.fn.cycle.defaults = { + allowWrap: true, + autoSelector: '.cycle-slideshow[data-cycle-auto-init!=false]', + delay: 0, + easing: null, + fx: 'fade', + hideNonActive: true, + loop: 0, + manualFx: undefined, + manualSpeed: undefined, + manualTrump: true, + maxZ: 100, + pauseOnHover: false, + reverse: false, + slideActiveClass: 'cycle-slide-active', + slideClass: 'cycle-slide', + slideCss: { position: 'absolute', top: 0, left: 0 }, + slides: '> img', + speed: 500, + startingSlide: 0, + sync: true, + timeout: 4000, + updateView: 0 +}; + +// automatically find and run slideshows +$(document).ready(function() { + $( $.fn.cycle.defaults.autoSelector ).cycle(); +}); + +})(jQuery); + +/*! Cycle2 autoheight plugin; Copyright (c) M.Alsup, 2012; version: 20130913 */ +(function($) { +"use strict"; + +$.extend($.fn.cycle.defaults, { + autoHeight: 0, // setting this option to false disables autoHeight logic + autoHeightSpeed: 250, + autoHeightEasing: null +}); + +$(document).on( 'cycle-initialized', function( e, opts ) { + var autoHeight = opts.autoHeight; + var t = $.type( autoHeight ); + var resizeThrottle = null; + var ratio; + + if ( t !== 'string' && t !== 'number' ) + return; + + // bind events + opts.container.on( 'cycle-slide-added cycle-slide-removed', initAutoHeight ); + opts.container.on( 'cycle-destroyed', onDestroy ); + + if ( autoHeight == 'container' ) { + opts.container.on( 'cycle-before', onBefore ); + } + else if ( t === 'string' && /\d+\:\d+/.test( autoHeight ) ) { + // use ratio + ratio = autoHeight.match(/(\d+)\:(\d+)/); + ratio = ratio[1] / ratio[2]; + opts._autoHeightRatio = ratio; + } + + // if autoHeight is a number then we don't need to recalculate the sentinel + // index on resize + if ( t !== 'number' ) { + // bind unique resize handler per slideshow (so it can be 'off-ed' in onDestroy) + opts._autoHeightOnResize = function () { + clearTimeout( resizeThrottle ); + resizeThrottle = setTimeout( onResize, 50 ); + }; + + $(window).on( 'resize orientationchange', opts._autoHeightOnResize ); + } + + setTimeout( onResize, 30 ); + + function onResize() { + initAutoHeight( e, opts ); + } +}); + +function initAutoHeight( e, opts ) { + var clone, height, sentinelIndex; + var autoHeight = opts.autoHeight; + + if ( autoHeight == 'container' ) { + height = $( opts.slides[ opts.currSlide ] ).outerHeight(); + opts.container.height( height ); + } + else if ( opts._autoHeightRatio ) { + opts.container.height( opts.container.width() / opts._autoHeightRatio ); + } + else if ( autoHeight === 'calc' || ( $.type( autoHeight ) == 'number' && autoHeight >= 0 ) ) { + if ( autoHeight === 'calc' ) + sentinelIndex = calcSentinelIndex( e, opts ); + else if ( autoHeight >= opts.slides.length ) + sentinelIndex = 0; + else + sentinelIndex = autoHeight; + + // only recreate sentinel if index is different + if ( sentinelIndex == opts._sentinelIndex ) + return; + + opts._sentinelIndex = sentinelIndex; + if ( opts._sentinel ) + opts._sentinel.remove(); + + // clone existing slide as sentinel + clone = $( opts.slides[ sentinelIndex ].cloneNode(true) ); + + // #50; remove special attributes from cloned content + clone.removeAttr( 'id name rel' ).find( '[id],[name],[rel]' ).removeAttr( 'id name rel' ); + + clone.css({ + position: 'static', + visibility: 'hidden', + display: 'block' + }).prependTo( opts.container ).addClass('cycle-sentinel cycle-slide').removeClass('cycle-slide-active'); + clone.find( '*' ).css( 'visibility', 'hidden' ); + + opts._sentinel = clone; + } +} + +function calcSentinelIndex( e, opts ) { + var index = 0, max = -1; + + // calculate tallest slide index + opts.slides.each(function(i) { + var h = $(this).height(); + if ( h > max ) { + max = h; + index = i; + } + }); + return index; +} + +function onBefore( e, opts, outgoing, incoming, forward ) { + var h = $(incoming).outerHeight(); + opts.container.animate( { height: h }, opts.autoHeightSpeed, opts.autoHeightEasing ); +} + +function onDestroy( e, opts ) { + if ( opts._autoHeightOnResize ) { + $(window).off( 'resize orientationchange', opts._autoHeightOnResize ); + opts._autoHeightOnResize = null; + } + opts.container.off( 'cycle-slide-added cycle-slide-removed', initAutoHeight ); + opts.container.off( 'cycle-destroyed', onDestroy ); + opts.container.off( 'cycle-before', onBefore ); + + if ( opts._sentinel ) { + opts._sentinel.remove(); + opts._sentinel = null; + } +} + +})(jQuery); + +/*! caption plugin for Cycle2; version: 20130306 */ +(function($) { +"use strict"; + +$.extend($.fn.cycle.defaults, { + caption: '> .cycle-caption', + captionTemplate: '{{slideNum}} / {{slideCount}}', + overlay: '> .cycle-overlay', + overlayTemplate: '
{{title}}
{{desc}}
', + captionModule: 'caption' +}); + +$(document).on( 'cycle-update-view', function( e, opts, slideOpts, currSlide ) { + if ( opts.captionModule !== 'caption' ) + return; + var el; + $.each(['caption','overlay'], function() { + var name = this; + var template = slideOpts[name+'Template']; + var el = opts.API.getComponent( name ); + if( el.length && template ) { + el.html( opts.API.tmpl( template, slideOpts, opts, currSlide ) ); + el.show(); + } + else { + el.hide(); + } + }); +}); + +$(document).on( 'cycle-destroyed', function( e, opts ) { + var el; + $.each(['caption','overlay'], function() { + var name = this, template = opts[name+'Template']; + if ( opts[name] && template ) { + el = opts.API.getComponent( 'caption' ); + el.empty(); + } + }); +}); + +})(jQuery); + +/*! command plugin for Cycle2; version: 20140415 */ +(function($) { +"use strict"; + +var c2 = $.fn.cycle; + +$.fn.cycle = function( options ) { + var cmd, cmdFn, opts; + var args = $.makeArray( arguments ); + + if ( $.type( options ) == 'number' ) { + return this.cycle( 'goto', options ); + } + + if ( $.type( options ) == 'string' ) { + return this.each(function() { + var cmdArgs; + cmd = options; + opts = $(this).data('cycle.opts'); + + if ( opts === undefined ) { + c2.log('slideshow must be initialized before sending commands; "' + cmd + '" ignored'); + return; + } + else { + cmd = cmd == 'goto' ? 'jump' : cmd; // issue #3; change 'goto' to 'jump' internally + cmdFn = opts.API[ cmd ]; + if ( $.isFunction( cmdFn )) { + cmdArgs = $.makeArray( args ); + cmdArgs.shift(); + return cmdFn.apply( opts.API, cmdArgs ); + } + else { + c2.log( 'unknown command: ', cmd ); + } + } + }); + } + else { + return c2.apply( this, arguments ); + } +}; + +// copy props +$.extend( $.fn.cycle, c2 ); + +$.extend( c2.API, { + next: function() { + var opts = this.opts(); + if ( opts.busy && ! opts.manualTrump ) + return; + + var count = opts.reverse ? -1 : 1; + if ( opts.allowWrap === false && ( opts.currSlide + count ) >= opts.slideCount ) + return; + + opts.API.advanceSlide( count ); + opts.API.trigger('cycle-next', [ opts ]).log('cycle-next'); + }, + + prev: function() { + var opts = this.opts(); + if ( opts.busy && ! opts.manualTrump ) + return; + var count = opts.reverse ? 1 : -1; + if ( opts.allowWrap === false && ( opts.currSlide + count ) < 0 ) + return; + + opts.API.advanceSlide( count ); + opts.API.trigger('cycle-prev', [ opts ]).log('cycle-prev'); + }, + + destroy: function() { + this.stop(); //#204 + + var opts = this.opts(); + var clean = $.isFunction( $._data ) ? $._data : $.noop; // hack for #184 and #201 + clearTimeout(opts.timeoutId); + opts.timeoutId = 0; + opts.API.stop(); + opts.API.trigger( 'cycle-destroyed', [ opts ] ).log('cycle-destroyed'); + opts.container.removeData(); + clean( opts.container[0], 'parsedAttrs', false ); + + // #75; remove inline styles + if ( ! opts.retainStylesOnDestroy ) { + opts.container.removeAttr( 'style' ); + opts.slides.removeAttr( 'style' ); + opts.slides.removeClass( opts.slideActiveClass ); + } + opts.slides.each(function() { + $(this).removeData(); + clean( this, 'parsedAttrs', false ); + }); + }, + + jump: function( index, fx ) { + // go to the requested slide + var fwd; + var opts = this.opts(); + if ( opts.busy && ! opts.manualTrump ) + return; + var num = parseInt( index, 10 ); + if (isNaN(num) || num < 0 || num >= opts.slides.length) { + opts.API.log('goto: invalid slide index: ' + num); + return; + } + if (num == opts.currSlide) { + opts.API.log('goto: skipping, already on slide', num); + return; + } + opts.nextSlide = num; + clearTimeout(opts.timeoutId); + opts.timeoutId = 0; + opts.API.log('goto: ', num, ' (zero-index)'); + fwd = opts.currSlide < opts.nextSlide; + opts._tempFx = fx; + opts.API.prepareTx( true, fwd ); + }, + + stop: function() { + var opts = this.opts(); + var pauseObj = opts.container; + clearTimeout(opts.timeoutId); + opts.timeoutId = 0; + opts.API.stopTransition(); + if ( opts.pauseOnHover ) { + if ( opts.pauseOnHover !== true ) + pauseObj = $( opts.pauseOnHover ); + pauseObj.off('mouseenter mouseleave'); + } + opts.API.trigger('cycle-stopped', [ opts ]).log('cycle-stopped'); + }, + + reinit: function() { + var opts = this.opts(); + opts.API.destroy(); + opts.container.cycle(); + }, + + remove: function( index ) { + var opts = this.opts(); + var slide, slideToRemove, slides = [], slideNum = 1; + for ( var i=0; i < opts.slides.length; i++ ) { + slide = opts.slides[i]; + if ( i == index ) { + slideToRemove = slide; + } + else { + slides.push( slide ); + $( slide ).data('cycle.opts').slideNum = slideNum; + slideNum++; + } + } + if ( slideToRemove ) { + opts.slides = $( slides ); + opts.slideCount--; + $( slideToRemove ).remove(); + if (index == opts.currSlide) + opts.API.advanceSlide( 1 ); + else if ( index < opts.currSlide ) + opts.currSlide--; + else + opts.currSlide++; + + opts.API.trigger('cycle-slide-removed', [ opts, index, slideToRemove ]).log('cycle-slide-removed'); + opts.API.updateView(); + } + } + +}); + +// listen for clicks on elements with data-cycle-cmd attribute +$(document).on('click.cycle', '[data-cycle-cmd]', function(e) { + // issue cycle command + e.preventDefault(); + var el = $(this); + var command = el.data('cycle-cmd'); + var context = el.data('cycle-context') || '.cycle-slideshow'; + $(context).cycle(command, el.data('cycle-arg')); +}); + + +})(jQuery); + +/*! hash plugin for Cycle2; version: 20130905 */ +(function($) { +"use strict"; + +$(document).on( 'cycle-pre-initialize', function( e, opts ) { + onHashChange( opts, true ); + + opts._onHashChange = function() { + onHashChange( opts, false ); + }; + + $( window ).on( 'hashchange', opts._onHashChange); +}); + +$(document).on( 'cycle-update-view', function( e, opts, slideOpts ) { + if ( slideOpts.hash && ( '#' + slideOpts.hash ) != window.location.hash ) { + opts._hashFence = true; + window.location.hash = slideOpts.hash; + } +}); + +$(document).on( 'cycle-destroyed', function( e, opts) { + if ( opts._onHashChange ) { + $( window ).off( 'hashchange', opts._onHashChange ); + } +}); + +function onHashChange( opts, setStartingSlide ) { + var hash; + if ( opts._hashFence ) { + opts._hashFence = false; + return; + } + + hash = window.location.hash.substring(1); + + opts.slides.each(function(i) { + if ( $(this).data( 'cycle-hash' ) == hash ) { + if ( setStartingSlide === true ) { + opts.startingSlide = i; + } + else { + var fwd = opts.currSlide < i; + opts.nextSlide = i; + opts.API.prepareTx( true, fwd ); + } + return false; + } + }); +} + +})(jQuery); + +/*! loader plugin for Cycle2; version: 20131121 */ +(function($) { +"use strict"; + +$.extend($.fn.cycle.defaults, { + loader: false +}); + +$(document).on( 'cycle-bootstrap', function( e, opts ) { + var addFn; + + if ( !opts.loader ) + return; + + // override API.add for this slideshow + addFn = opts.API.add; + opts.API.add = add; + + function add( slides, prepend ) { + var slideArr = []; + if ( $.type( slides ) == 'string' ) + slides = $.trim( slides ); + else if ( $.type( slides) === 'array' ) { + for (var i=0; i < slides.length; i++ ) + slides[i] = $(slides[i])[0]; + } + + slides = $( slides ); + var slideCount = slides.length; + + if ( ! slideCount ) + return; + + slides.css('visibility','hidden').appendTo('body').each(function(i) { // appendTo fixes #56 + var count = 0; + var slide = $(this); + var images = slide.is('img') ? slide : slide.find('img'); + slide.data('index', i); + // allow some images to be marked as unimportant (and filter out images w/o src value) + images = images.filter(':not(.cycle-loader-ignore)').filter(':not([src=""])'); + if ( ! images.length ) { + --slideCount; + slideArr.push( slide ); + return; + } + + count = images.length; + images.each(function() { + // add images that are already loaded + if ( this.complete ) { + imageLoaded(); + } + else { + $(this).load(function() { + imageLoaded(); + }).on("error", function() { + if ( --count === 0 ) { + // ignore this slide + opts.API.log('slide skipped; img not loaded:', this.src); + if ( --slideCount === 0 && opts.loader == 'wait') { + addFn.apply( opts.API, [ slideArr, prepend ] ); + } + } + }); + } + }); + + function imageLoaded() { + if ( --count === 0 ) { + --slideCount; + addSlide( slide ); + } + } + }); + + if ( slideCount ) + opts.container.addClass('cycle-loading'); + + + function addSlide( slide ) { + var curr; + if ( opts.loader == 'wait' ) { + slideArr.push( slide ); + if ( slideCount === 0 ) { + // #59; sort slides into original markup order + slideArr.sort( sorter ); + addFn.apply( opts.API, [ slideArr, prepend ] ); + opts.container.removeClass('cycle-loading'); + } + } + else { + curr = $(opts.slides[opts.currSlide]); + addFn.apply( opts.API, [ slide, prepend ] ); + curr.show(); + opts.container.removeClass('cycle-loading'); + } + } + + function sorter(a, b) { + return a.data('index') - b.data('index'); + } + } +}); + +})(jQuery); + +/*! pager plugin for Cycle2; version: 20140415 */ +(function($) { +"use strict"; + +$.extend($.fn.cycle.defaults, { + pager: '> .cycle-pager', + pagerActiveClass: 'cycle-pager-active', + pagerEvent: 'click.cycle', + pagerEventBubble: undefined, + pagerTemplate: '' +}); + +$(document).on( 'cycle-bootstrap', function( e, opts, API ) { + // add method to API + API.buildPagerLink = buildPagerLink; +}); + +$(document).on( 'cycle-slide-added', function( e, opts, slideOpts, slideAdded ) { + if ( opts.pager ) { + opts.API.buildPagerLink ( opts, slideOpts, slideAdded ); + opts.API.page = page; + } +}); + +$(document).on( 'cycle-slide-removed', function( e, opts, index, slideRemoved ) { + if ( opts.pager ) { + var pagers = opts.API.getComponent( 'pager' ); + pagers.each(function() { + var pager = $(this); + $( pager.children()[index] ).remove(); + }); + } +}); + +$(document).on( 'cycle-update-view', function( e, opts, slideOpts ) { + var pagers; + + if ( opts.pager ) { + pagers = opts.API.getComponent( 'pager' ); + pagers.each(function() { + $(this).children().removeClass( opts.pagerActiveClass ) + .eq( opts.currSlide ).addClass( opts.pagerActiveClass ); + }); + } +}); + +$(document).on( 'cycle-destroyed', function( e, opts ) { + var pager = opts.API.getComponent( 'pager' ); + + if ( pager ) { + pager.children().off( opts.pagerEvent ); // #202 + if ( opts.pagerTemplate ) + pager.empty(); + } +}); + +function buildPagerLink( opts, slideOpts, slide ) { + var pagerLink; + var pagers = opts.API.getComponent( 'pager' ); + pagers.each(function() { + var pager = $(this); + if ( slideOpts.pagerTemplate ) { + var markup = opts.API.tmpl( slideOpts.pagerTemplate, slideOpts, opts, slide[0] ); + pagerLink = $( markup ).appendTo( pager ); + } + else { + pagerLink = pager.children().eq( opts.slideCount - 1 ); + } + pagerLink.on( opts.pagerEvent, function(e) { + if ( ! opts.pagerEventBubble ) + e.preventDefault(); + opts.API.page( pager, e.currentTarget); + }); + }); +} + +function page( pager, target ) { + /*jshint validthis:true */ + var opts = this.opts(); + if ( opts.busy && ! opts.manualTrump ) + return; + + var index = pager.children().index( target ); + var nextSlide = index; + var fwd = opts.currSlide < nextSlide; + if (opts.currSlide == nextSlide) { + return; // no op, clicked pager for the currently displayed slide + } + opts.nextSlide = nextSlide; + opts._tempFx = opts.pagerFx; + opts.API.prepareTx( true, fwd ); + opts.API.trigger('cycle-pager-activated', [opts, pager, target ]); +} + +})(jQuery); + +/*! prevnext plugin for Cycle2; version: 20140408 */ +(function($) { +"use strict"; + +$.extend($.fn.cycle.defaults, { + next: '> .cycle-next', + nextEvent: 'click.cycle', + disabledClass: 'disabled', + prev: '> .cycle-prev', + prevEvent: 'click.cycle', + swipe: false +}); + +$(document).on( 'cycle-initialized', function( e, opts ) { + opts.API.getComponent( 'next' ).on( opts.nextEvent, function(e) { + e.preventDefault(); + opts.API.next(); + }); + + opts.API.getComponent( 'prev' ).on( opts.prevEvent, function(e) { + e.preventDefault(); + opts.API.prev(); + }); + + if ( opts.swipe ) { + var nextEvent = opts.swipeVert ? 'swipeUp.cycle' : 'swipeLeft.cycle swipeleft.cycle'; + var prevEvent = opts.swipeVert ? 'swipeDown.cycle' : 'swipeRight.cycle swiperight.cycle'; + opts.container.on( nextEvent, function(e) { + opts._tempFx = opts.swipeFx; + opts.API.next(); + }); + opts.container.on( prevEvent, function() { + opts._tempFx = opts.swipeFx; + opts.API.prev(); + }); + } +}); + +$(document).on( 'cycle-update-view', function( e, opts, slideOpts, currSlide ) { + if ( opts.allowWrap ) + return; + + var cls = opts.disabledClass; + var next = opts.API.getComponent( 'next' ); + var prev = opts.API.getComponent( 'prev' ); + var prevBoundry = opts._prevBoundry || 0; + var nextBoundry = (opts._nextBoundry !== undefined)?opts._nextBoundry:opts.slideCount - 1; + + if ( opts.currSlide == nextBoundry ) + next.addClass( cls ).prop( 'disabled', true ); + else + next.removeClass( cls ).prop( 'disabled', false ); + + if ( opts.currSlide === prevBoundry ) + prev.addClass( cls ).prop( 'disabled', true ); + else + prev.removeClass( cls ).prop( 'disabled', false ); +}); + + +$(document).on( 'cycle-destroyed', function( e, opts ) { + opts.API.getComponent( 'prev' ).off( opts.nextEvent ); + opts.API.getComponent( 'next' ).off( opts.prevEvent ); + opts.container.off( 'swipeleft.cycle swiperight.cycle swipeLeft.cycle swipeRight.cycle swipeUp.cycle swipeDown.cycle' ); +}); + +})(jQuery); + +/*! progressive loader plugin for Cycle2; version: 20130315 */ +(function($) { +"use strict"; + +$.extend($.fn.cycle.defaults, { + progressive: false +}); + +$(document).on( 'cycle-pre-initialize', function( e, opts ) { + if ( !opts.progressive ) + return; + + var API = opts.API; + var nextFn = API.next; + var prevFn = API.prev; + var prepareTxFn = API.prepareTx; + var type = $.type( opts.progressive ); + var slides, scriptEl; + + if ( type == 'array' ) { + slides = opts.progressive; + } + else if ($.isFunction( opts.progressive ) ) { + slides = opts.progressive( opts ); + } + else if ( type == 'string' ) { + scriptEl = $( opts.progressive ); + slides = $.trim( scriptEl.html() ); + if ( !slides ) + return; + // is it json array? + if ( /^(\[)/.test( slides ) ) { + try { + slides = $.parseJSON( slides ); + } + catch(err) { + API.log( 'error parsing progressive slides', err ); + return; + } + } + else { + // plain text, split on delimeter + slides = slides.split( new RegExp( scriptEl.data('cycle-split') || '\n') ); + + // #95; look for empty slide + if ( ! slides[ slides.length - 1 ] ) + slides.pop(); + } + } + + + + if ( prepareTxFn ) { + API.prepareTx = function( manual, fwd ) { + var index, slide; + + if ( manual || slides.length === 0 ) { + prepareTxFn.apply( opts.API, [ manual, fwd ] ); + return; + } + + if ( fwd && opts.currSlide == ( opts.slideCount-1) ) { + slide = slides[ 0 ]; + slides = slides.slice( 1 ); + opts.container.one('cycle-slide-added', function(e, opts ) { + setTimeout(function() { + opts.API.advanceSlide( 1 ); + },50); + }); + opts.API.add( slide ); + } + else if ( !fwd && opts.currSlide === 0 ) { + index = slides.length-1; + slide = slides[ index ]; + slides = slides.slice( 0, index ); + opts.container.one('cycle-slide-added', function(e, opts ) { + setTimeout(function() { + opts.currSlide = 1; + opts.API.advanceSlide( -1 ); + },50); + }); + opts.API.add( slide, true ); + } + else { + prepareTxFn.apply( opts.API, [ manual, fwd ] ); + } + }; + } + + if ( nextFn ) { + API.next = function() { + var opts = this.opts(); + if ( slides.length && opts.currSlide == ( opts.slideCount - 1 ) ) { + var slide = slides[ 0 ]; + slides = slides.slice( 1 ); + opts.container.one('cycle-slide-added', function(e, opts ) { + nextFn.apply( opts.API ); + opts.container.removeClass('cycle-loading'); + }); + opts.container.addClass('cycle-loading'); + opts.API.add( slide ); + } + else { + nextFn.apply( opts.API ); + } + }; + } + + if ( prevFn ) { + API.prev = function() { + var opts = this.opts(); + if ( slides.length && opts.currSlide === 0 ) { + var index = slides.length-1; + var slide = slides[ index ]; + slides = slides.slice( 0, index ); + opts.container.one('cycle-slide-added', function(e, opts ) { + opts.currSlide = 1; + opts.API.advanceSlide( -1 ); + opts.container.removeClass('cycle-loading'); + }); + opts.container.addClass('cycle-loading'); + opts.API.add( slide, true ); + } + else { + prevFn.apply( opts.API ); + } + }; + } +}); + +})(jQuery); + +/*! tmpl plugin for Cycle2; version: 20121227 */ +(function($) { +"use strict"; + +$.extend($.fn.cycle.defaults, { + tmplRegex: '{{((.)?.*?)}}' +}); + +$.extend($.fn.cycle.API, { + tmpl: function( str, opts /*, ... */) { + var regex = new RegExp( opts.tmplRegex || $.fn.cycle.defaults.tmplRegex, 'g' ); + var args = $.makeArray( arguments ); + args.shift(); + return str.replace(regex, function(_, str) { + var i, j, obj, prop, names = str.split('.'); + for (i=0; i < args.length; i++) { + obj = args[i]; + if ( ! obj ) + continue; + if (names.length > 1) { + prop = obj; + for (j=0; j < names.length; j++) { + obj = prop; + prop = prop[ names[j] ] || str; + } + } else { + prop = obj[str]; + } + + if ($.isFunction(prop)) + return prop.apply(obj, args); + if (prop !== undefined && prop !== null && prop != str) + return prop; + } + return str; + }); + } +}); + +})(jQuery); diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.caption2_2.1.5/LICENSE.htm b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.caption2_2.1.5/LICENSE.htm new file mode 100644 index 00000000..ebef1aa5 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.caption2_2.1.5/LICENSE.htm @@ -0,0 +1 @@ +

Dual licensed as MIT and GPL

\ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.caption2_2.1.5/jQuery.cycle2.caption2.dnn b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.caption2_2.1.5/jQuery.cycle2.caption2.dnn new file mode 100644 index 00000000..ec21eb3f --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.caption2_2.1.5/jQuery.cycle2.caption2.dnn @@ -0,0 +1,39 @@ + + + + + Cycle2 Caption2 plugin + the demo. This is an optional functional plugin for the jQuery.Cycle2 library.]]> + + Engage Software + Engage Software + http://www.engagesoftware.com + support@engagesoftware.com + + + + true + + jQuery + jQuery.cycle2.core + + + + + jQuery.cycle2.caption2 + jQuery.cycle2.caption2.js + BodyBottom + + + + + jQuery.cycle2.caption2 + + jQuery.cycle2.caption2.js + + + + + + + \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.caption2_2.1.5/jquery.cycle2.caption2.min.js b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.caption2_2.1.5/jquery.cycle2.caption2.min.js new file mode 100644 index 00000000..8c1cd108 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.caption2_2.1.5/jquery.cycle2.caption2.min.js @@ -0,0 +1,2 @@ +/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ +!function(a){"use strict";function b(b,c,d,e){"caption2"===c.captionPlugin&&a.each(["caption","overlay"],function(){var a,b=this+"Fx",f=c[b+"Out"]||"hide",g=d[this+"Template"],h=c.API.getComponent(this),i=c[b+"Sel"],j=c.speed;c.sync&&(j/=2),a=i?h.find(i):h,h.length&&g?("hide"==f&&(j=0),a[f](j,function(){var k=c.API.tmpl(g,d,c,e);h.html(k),a=i?h.find(i):h,i&&a.hide(),f=c[b+"In"]||"show",a[f](j)})):h.hide()})}function c(b,c,d,e){"caption2"===c.captionPlugin&&a.each(["caption","overlay"],function(){var a=d[this+"Template"],b=c.API.getComponent(this);b.length&&a&&b.html(c.API.tmpl(a,d,c,e))})}a.extend(a.fn.cycle.defaults,{captionFxOut:"fadeOut",captionFxIn:"fadeIn",captionFxSel:void 0,overlayFxOut:"fadeOut",overlayFxIn:"fadeIn",overlayFxSel:void 0}),a(document).on("cycle-bootstrap",function(a,d){d.container.on("cycle-update-view-before",b),d.container.one("cycle-update-view-after",c)})}(jQuery); \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.carousel_2.1.5/LICENSE.htm b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.carousel_2.1.5/LICENSE.htm new file mode 100644 index 00000000..ebef1aa5 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.carousel_2.1.5/LICENSE.htm @@ -0,0 +1 @@ +

Dual licensed as MIT and GPL

\ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.carousel_2.1.5/jQuery.cycle2.carousel.dnn b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.carousel_2.1.5/jQuery.cycle2.carousel.dnn new file mode 100644 index 00000000..ed248ed3 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.carousel_2.1.5/jQuery.cycle2.carousel.dnn @@ -0,0 +1,39 @@ + + + + + Cycle2 Carousel plugin + the demo. This is an optional transition plugin for the jQuery.Cycle2 library.]]> + + Engage Software + Engage Software + http://www.engagesoftware.com + support@engagesoftware.com + + + + true + + jQuery + jQuery.cycle2.core + + + + + jQuery.cycle2.carousel + jQuery.cycle2.carousel.js + BodyBottom + + + + + jQuery.cycle2.carousel + + jQuery.cycle2.carousel.js + + + + + + + \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.carousel_2.1.5/jquery.cycle2.carousel.min.js b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.carousel_2.1.5/jquery.cycle2.carousel.min.js new file mode 100644 index 00000000..1ab5918c --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.carousel_2.1.5/jquery.cycle2.carousel.min.js @@ -0,0 +1,2 @@ +/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ +!function(a){"use strict";a(document).on("cycle-bootstrap",function(a,b,c){"carousel"===b.fx&&(c.getSlideIndex=function(a){var b=this.opts()._carouselWrap.children(),c=b.index(a);return c%b.length},c.next=function(){var a=b.reverse?-1:1;b.allowWrap===!1&&b.currSlide+a>b.slideCount-b.carouselVisible||(b.API.advanceSlide(a),b.API.trigger("cycle-next",[b]).log("cycle-next"))})}),a.fn.cycle.transitions.carousel={preInit:function(b){b.hideNonActive=!1,b.container.on("cycle-destroyed",a.proxy(this.onDestroy,b.API)),b.API.stopTransition=this.stopTransition;for(var c=0;cb.slideCount&&(b.carouselVisible=b.slideCount-1);var h=b.carouselVisible||b.slides.length,i={display:g?"block":"inline-block",position:"static"};if(b.container.css({position:"relative",overflow:"hidden"}),b.slides.css(i),b._currSlide=b.currSlide,f=a('').prependTo(b.container).css({margin:0,padding:0,top:0,left:0,position:"absolute"}).append(b.slides),b._carouselWrap=f,g||f.css("white-space","nowrap"),b.allowWrap!==!1){for(d=0;d<(void 0===b.carouselVisible?2:1);d++){for(c=0;c0;var l=b._currSlide,m=b.slideCount-b.carouselVisible;i>0&&b.nextSlide>m&&l==m?i=0:i>0&&b.nextSlide>m?i=b.nextSlide-l-(b.nextSlide-m):0>i&&b.currSlide>m&&b.nextSlide>m?i=0:0>i&&b.currSlide>m?i+=b.currSlide-m:l=b.currSlide,g=this.getScroll(b,j,l,i),b.API.opts()._currSlide=b.nextSlide>m?m:b.nextSlide}else e&&0===b.nextSlide?(g=this.getDim(b,b.currSlide,j),f=this.genCallback(b,e,j,f)):e||b.nextSlide!=b.slideCount-1?g=this.getScroll(b,j,b.currSlide,i):(g=this.getDim(b,b.currSlide,j),f=this.genCallback(b,e,j,f));h[j?"top":"left"]=e?"-="+g:"+="+g,b.throttleSpeed&&(k=g/a(b.slides[0])[j?"height":"width"]()*b.speed),b._carouselWrap.animate(h,k,b.easing,f)},getDim:function(b,c,d){var e=a(b.slides[c]);return e[d?"outerHeight":"outerWidth"](!0)},getScroll:function(a,b,c,d){var e,f=0;if(d>0)for(e=c;c+d>e;e++)f+=this.getDim(a,e,b);else for(e=c;e>c+d;e--)f+=this.getDim(a,e,b);return f},genCallback:function(b,c,d,e){return function(){var c=a(b.slides[b.nextSlide]).position(),f=0-c[d?"top":"left"]+(b.carouselOffset||0);b._carouselWrap.css(b.carouselVertical?"top":"left",f),e()}},stopTransition:function(){var a=this.opts();a.slides.stop(!1,!0),a._carouselWrap.stop(!1,!0)},onDestroy:function(){var b=this.opts();b._carouselResizeThrottle&&a(window).off("resize",b._carouselResizeThrottle),b.slides.prependTo(b.container),b._carouselWrap.remove()}}}(jQuery); \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.center_2.1.5/LICENSE.htm b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.center_2.1.5/LICENSE.htm new file mode 100644 index 00000000..ebef1aa5 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.center_2.1.5/LICENSE.htm @@ -0,0 +1 @@ +

Dual licensed as MIT and GPL

\ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.center_2.1.5/jQuery.cycle2.center.dnn b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.center_2.1.5/jQuery.cycle2.center.dnn new file mode 100644 index 00000000..7d692cb8 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.center_2.1.5/jQuery.cycle2.center.dnn @@ -0,0 +1,39 @@ + + + + + Cycle2 Center plugin + the demo. This is an optional functional plugin for the jQuery.Cycle2 library.]]> + + Engage Software + Engage Software + http://www.engagesoftware.com + support@engagesoftware.com + + + + true + + jQuery + jQuery.cycle2.core + + + + + jQuery.cycle2.center + jQuery.cycle2.center.js + BodyBottom + + + + + jQuery.cycle2.center + + jQuery.cycle2.center.js + + + + + + + \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.center_2.1.5/jquery.cycle2.center.min.js b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.center_2.1.5/jquery.cycle2.center.min.js new file mode 100644 index 00000000..84a65e93 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.center_2.1.5/jquery.cycle2.center.min.js @@ -0,0 +1,2 @@ +/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ +!function(a){"use strict";a.extend(a.fn.cycle.defaults,{centerHorz:!1,centerVert:!1}),a(document).on("cycle-pre-initialize",function(b,c){function d(){clearTimeout(i),i=setTimeout(g,50)}function e(){clearTimeout(i),clearTimeout(j),a(window).off("resize orientationchange",d)}function f(){c.slides.each(h)}function g(){h.apply(c.container.find("."+c.slideActiveClass)),clearTimeout(j),j=setTimeout(f,50)}function h(){var b=a(this),d=c.container.width(),e=c.container.height(),f=b.outerWidth(),g=b.outerHeight();f&&(c.centerHorz&&d>=f&&b.css("marginLeft",(d-f)/2),c.centerVert&&e>=g&&b.css("marginTop",(e-g)/2))}if(c.centerHorz||c.centerVert){var i,j;a(window).on("resize orientationchange load",d),c.container.on("cycle-destroyed",e),c.container.on("cycle-initialized cycle-slide-added cycle-slide-removed",function(){d()}),g()}})}(jQuery); \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.flip_2.1.5/LICENSE.htm b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.flip_2.1.5/LICENSE.htm new file mode 100644 index 00000000..ebef1aa5 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.flip_2.1.5/LICENSE.htm @@ -0,0 +1 @@ +

Dual licensed as MIT and GPL

\ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.flip_2.1.5/jQuery.cycle2.flip.dnn b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.flip_2.1.5/jQuery.cycle2.flip.dnn new file mode 100644 index 00000000..ba0ec85d --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.flip_2.1.5/jQuery.cycle2.flip.dnn @@ -0,0 +1,39 @@ + + + + + Cycle2 Flip plugin + the demo. This is an optional transition plugin for the jQuery.Cycle2 library.]]> + + Engage Software + Engage Software + http://www.engagesoftware.com + support@engagesoftware.com + + + + true + + jQuery + jQuery.cycle2.core + + + + + jQuery.cycle2.flip + jQuery.cycle2.flip.js + BodyBottom + + + + + jQuery.cycle2.flip + + jQuery.cycle2.flip.js + + + + + + + \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.flip_2.1.5/jquery.cycle2.flip.min.js b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.flip_2.1.5/jquery.cycle2.flip.min.js new file mode 100644 index 00000000..207e5f67 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.flip_2.1.5/jquery.cycle2.flip.min.js @@ -0,0 +1,2 @@ +/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ +!function(a){"use strict";function b(b){return{preInit:function(a){a.slides.css(d)},transition:function(c,d,e,f,g){var h=c,i=a(d),j=a(e),k=h.speed/2;b.call(j,-90),j.css({display:"block",visibility:"visible","background-position":"-90px",opacity:1}),i.css("background-position","0px"),i.animate({backgroundPosition:90},{step:b,duration:k,easing:h.easeOut||h.easing,complete:function(){c.API.updateView(!1,!0),j.animate({backgroundPosition:0},{step:b,duration:k,easing:h.easeIn||h.easing,complete:g})}})}}}function c(b){return function(c){var d=a(this);d.css({"-webkit-transform":"rotate"+b+"("+c+"deg)","-moz-transform":"rotate"+b+"("+c+"deg)","-ms-transform":"rotate"+b+"("+c+"deg)","-o-transform":"rotate"+b+"("+c+"deg)",transform:"rotate"+b+"("+c+"deg)"})}}var d,e=document.createElement("div").style,f=a.fn.cycle.transitions,g=void 0!==e.transform||void 0!==e.MozTransform||void 0!==e.webkitTransform||void 0!==e.oTransform||void 0!==e.msTransform;g&&void 0!==e.msTransform&&(e.msTransform="rotateY(0deg)",e.msTransform||(g=!1)),g?(f.flipHorz=b(c("Y")),f.flipVert=b(c("X")),d={"-webkit-backface-visibility":"hidden","-moz-backface-visibility":"hidden","-o-backface-visibility":"hidden","backface-visibility":"hidden"}):(f.flipHorz=f.scrollHorz,f.flipVert=f.scrollVert||f.scrollHorz)}(jQuery); \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.ie-fade_2.1.5/LICENSE.htm b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.ie-fade_2.1.5/LICENSE.htm new file mode 100644 index 00000000..ebef1aa5 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.ie-fade_2.1.5/LICENSE.htm @@ -0,0 +1 @@ +

Dual licensed as MIT and GPL

\ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.ie-fade_2.1.5/jQuery.cycle2.ie-fade.dnn b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.ie-fade_2.1.5/jQuery.cycle2.ie-fade.dnn new file mode 100644 index 00000000..46a53ca4 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.ie-fade_2.1.5/jQuery.cycle2.ie-fade.dnn @@ -0,0 +1,39 @@ + + + + + Cycle2 ID-Fade plugin + + + Engage Software + Engage Software + http://www.engagesoftware.com + support@engagesoftware.com + + + + true + + jQuery + jQuery.cycle2.core + + + + + jQuery.cycle2.ie-fade + jQuery.cycle2.ie-fade.js + BodyBottom + + + + + jQuery.cycle2.ie-fade + + jQuery.cycle2.ie-fade.js + + + + + + + \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.ie-fade_2.1.5/jquery.cycle2.ie-fade.min.js b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.ie-fade_2.1.5/jquery.cycle2.ie-fade.min.js new file mode 100644 index 00000000..713dcca1 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.ie-fade_2.1.5/jquery.cycle2.ie-fade.min.js @@ -0,0 +1,2 @@ +/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ +!function(a){"use strict";function b(a,b,c){if(a&&c.style.filter){b._filter=c.style.filter;try{c.style.removeAttribute("filter")}catch(d){}}else!a&&b._filter&&(c.style.filter=b._filter)}a.extend(a.fn.cycle.transitions,{fade:{before:function(c,d,e,f){var g=c.API.getSlideOpts(c.nextSlide).slideCss||{};c.API.stackSlides(d,e,f),c.cssBefore=a.extend(g,{opacity:0,visibility:"visible",display:"block"}),c.animIn={opacity:1},c.animOut={opacity:0},b(!0,c,e)},after:function(a,c,d){b(!1,a,d)}},fadeout:{before:function(c,d,e,f){var g=c.API.getSlideOpts(c.nextSlide).slideCss||{};c.API.stackSlides(d,e,f),c.cssAfter=a.extend(g,{opacity:0,visibility:"hidden"}),c.cssBefore=a.extend(g,{opacity:1,visibility:"visible",display:"block"}),c.animOut={opacity:0},b(!0,c,e)},after:function(a,c,d){b(!1,a,d)}}})}(jQuery); \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.scrollVert_2.1.5/LICENSE.htm b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.scrollVert_2.1.5/LICENSE.htm new file mode 100644 index 00000000..ebef1aa5 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.scrollVert_2.1.5/LICENSE.htm @@ -0,0 +1 @@ +

Dual licensed as MIT and GPL

\ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.scrollVert_2.1.5/jQuery.cycle2.scrollVert.dnn b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.scrollVert_2.1.5/jQuery.cycle2.scrollVert.dnn new file mode 100644 index 00000000..af863dc0 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.scrollVert_2.1.5/jQuery.cycle2.scrollVert.dnn @@ -0,0 +1,39 @@ + + + + + Cycle2 ScrollVert plugin + scrollHorz transition effect, but moves slides vertically. See the demo. This is an optional transition plugin for the jQuery.Cycle2 library.]]> + + Engage Software + Engage Software + http://www.engagesoftware.com + support@engagesoftware.com + + + + true + + jQuery + jQuery.cycle2.core + + + + + jQuery.cycle2.scrollVert + jQuery.cycle2.scrollVert.js + BodyBottom + + + + + jQuery.cycle2.scrollVert + + jQuery.cycle2.scrollVert.js + + + + + + + \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.scrollVert_2.1.5/jquery.cycle2.scrollVert.min.js b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.scrollVert_2.1.5/jquery.cycle2.scrollVert.min.js new file mode 100644 index 00000000..35991344 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.scrollVert_2.1.5/jquery.cycle2.scrollVert.min.js @@ -0,0 +1,2 @@ +/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ +!function(a){"use strict";a.fn.cycle.transitions.scrollVert={before:function(a,b,c,d){a.API.stackSlides(a,b,c,d);var e=a.container.css("overflow","hidden").height();a.cssBefore={top:d?-e:e,left:0,opacity:1,display:"block",visibility:"visible"},a.animIn={top:0},a.animOut={top:d?e:-e}}}}(jQuery); \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.shuffle_2.1.5/LICENSE.htm b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.shuffle_2.1.5/LICENSE.htm new file mode 100644 index 00000000..ebef1aa5 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.shuffle_2.1.5/LICENSE.htm @@ -0,0 +1 @@ +

Dual licensed as MIT and GPL

\ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.shuffle_2.1.5/jQuery.cycle2.shuffle.dnn b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.shuffle_2.1.5/jQuery.cycle2.shuffle.dnn new file mode 100644 index 00000000..06fa87d2 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.shuffle_2.1.5/jQuery.cycle2.shuffle.dnn @@ -0,0 +1,39 @@ + + + + + Cycle2 Shuffle plugin + the demo. This is an optional transition plugin for the jQuery.Cycle2 library.]]> + + Engage Software + Engage Software + http://www.engagesoftware.com + support@engagesoftware.com + + + + true + + jQuery + jQuery.cycle2.core + + + + + jQuery.cycle2.shuffle + jQuery.cycle2.shuffle.js + BodyBottom + + + + + jQuery.cycle2.shuffle + + jQuery.cycle2.shuffle.js + + + + + + + \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.shuffle_2.1.5/jquery.cycle2.shuffle.min.js b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.shuffle_2.1.5/jquery.cycle2.shuffle.min.js new file mode 100644 index 00000000..3a1b81d8 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.shuffle_2.1.5/jquery.cycle2.shuffle.min.js @@ -0,0 +1,2 @@ +/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ +!function(a){"use strict";a.fn.cycle.transitions.shuffle={transition:function(b,c,d,e,f){function g(a){this.stack(b,c,d,e),a()}a(d).css({display:"block",visibility:"visible"});var h=b.container.css("overflow","visible").width(),i=b.speed/2,j=e?c:d;b=b.API.getSlideOpts(e?b.currSlide:b.nextSlide);var k={left:-h,top:15},l=b.slideCss||{left:0,top:0};void 0!==b.shuffleLeft?k.left=k.left+parseInt(b.shuffleLeft,10)||0:void 0!==b.shuffleRight&&(k.left=h+parseInt(b.shuffleRight,10)||0),b.shuffleTop&&(k.top=b.shuffleTop),a(j).animate(k,i,b.easeIn||b.easing).queue("fx",a.proxy(g,this)).animate(l,i,b.easeOut||b.easing,f)},stack:function(b,c,d,e){var f,g;if(e)b.API.stackSlides(d,c,e),a(c).css("zIndex",1);else{for(g=1,f=b.nextSlide-1;f>=0;f--)a(b.slides[f]).css("zIndex",g++);for(f=b.slideCount-1;f>b.nextSlide;f--)a(b.slides[f]).css("zIndex",g++);a(d).css("zIndex",b.maxZ),a(c).css("zIndex",b.maxZ-1)}}}}(jQuery); \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.swipe_2.1.5/LICENSE.htm b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.swipe_2.1.5/LICENSE.htm new file mode 100644 index 00000000..ebef1aa5 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.swipe_2.1.5/LICENSE.htm @@ -0,0 +1 @@ +

Dual licensed as MIT and GPL

\ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.swipe_2.1.5/jQuery.cycle2.swipe.dnn b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.swipe_2.1.5/jQuery.cycle2.swipe.dnn new file mode 100644 index 00000000..3d106f8c --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.swipe_2.1.5/jQuery.cycle2.swipe.dnn @@ -0,0 +1,39 @@ + + + + + Cycle2 Swipe plugin + the demo. This is an optional functional plugin for the jQuery.Cycle2 library.]]> + + Engage Software + Engage Software + http://www.engagesoftware.com + support@engagesoftware.com + + + + true + + jQuery + jQuery.cycle2.core + + + + + jQuery.cycle2.swipe + jQuery.cycle2.swipe.js + BodyBottom + + + + + jQuery.cycle2.swipe + + jQuery.cycle2.swipe.js + + + + + + + \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.swipe_2.1.5/jquery.cycle2.swipe.min.js b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.swipe_2.1.5/jquery.cycle2.swipe.min.js new file mode 100644 index 00000000..5fead7ac --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.swipe_2.1.5/jquery.cycle2.swipe.min.js @@ -0,0 +1,2 @@ +/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ +!function(a){"use strict";a.event.special.swipe=a.event.special.swipe||{scrollSupressionThreshold:10,durationThreshold:1e3,horizontalDistanceThreshold:30,verticalDistanceThreshold:75,setup:function(){var b=a(this);b.bind("touchstart",function(c){function d(b){if(g){var c=b.originalEvent.touches?b.originalEvent.touches[0]:b;e={time:(new Date).getTime(),coords:[c.pageX,c.pageY]},Math.abs(g.coords[0]-e.coords[0])>a.event.special.swipe.scrollSupressionThreshold&&b.preventDefault()}}var e,f=c.originalEvent.touches?c.originalEvent.touches[0]:c,g={time:(new Date).getTime(),coords:[f.pageX,f.pageY],origin:a(c.target)};b.bind("touchmove",d).one("touchend",function(){b.unbind("touchmove",d),g&&e&&e.time-g.timea.event.special.swipe.horizontalDistanceThreshold&&Math.abs(g.coords[1]-e.coords[1])e.coords[0]?"swipeleft":"swiperight"),g=e=void 0})})}},a.event.special.swipeleft=a.event.special.swipeleft||{setup:function(){a(this).bind("swipe",a.noop)}},a.event.special.swiperight=a.event.special.swiperight||a.event.special.swipeleft}(jQuery); \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.tile_2.1.5/LICENSE.htm b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.tile_2.1.5/LICENSE.htm new file mode 100644 index 00000000..ebef1aa5 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.tile_2.1.5/LICENSE.htm @@ -0,0 +1 @@ +

Dual licensed as MIT and GPL

\ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.tile_2.1.5/jQuery.cycle2.tile.dnn b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.tile_2.1.5/jQuery.cycle2.tile.dnn new file mode 100644 index 00000000..361add91 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.tile_2.1.5/jQuery.cycle2.tile.dnn @@ -0,0 +1,39 @@ + + + + + Cycle2 Tile plugin + the demo. This is an optional transition plugin for the jQuery.Cycle2 library.]]> + + Engage Software + Engage Software + http://www.engagesoftware.com + support@engagesoftware.com + + + + true + + jQuery + jQuery.cycle2.core + + + + + jQuery.cycle2.tile + jQuery.cycle2.tile.js + BodyBottom + + + + + jQuery.cycle2.tile + + jQuery.cycle2.tile.js + + + + + + + \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.tile_2.1.5/jquery.cycle2.tile.min.js b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.tile_2.1.5/jquery.cycle2.tile.min.js new file mode 100644 index 00000000..b33b11a0 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.tile_2.1.5/jquery.cycle2.tile.min.js @@ -0,0 +1,2 @@ +/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ +!function(a){"use strict";a.fn.cycle.transitions.tileSlide=a.fn.cycle.transitions.tileBlind={before:function(b,c,d,e){b.API.stackSlides(c,d,e),a(c).css({display:"block",visibility:"visible"}),b.container.css("overflow","hidden"),b.tileDelay=b.tileDelay||"tileSlide"==b.fx?100:125,b.tileCount=b.tileCount||7,b.tileVertical=b.tileVertical!==!1,b.container.data("cycleTileInitialized")||(b.container.on("cycle-destroyed",a.proxy(this.onDestroy,b.API)),b.container.data("cycleTileInitialized",!0))},transition:function(b,c,d,e,f){function g(a){m.eq(a).animate(t,{duration:b.speed,easing:b.easing,complete:function(){(e?p-1===a:0===a)&&b._tileAniCallback()}}),setTimeout(function(){(e?p-1!==a:0!==a)&&g(e?a+1:a-1)},b.tileDelay)}b.slides.not(c).not(d).css("visibility","hidden");var h,i,j,k,l,m=a(),n=a(c),o=a(d),p=b.tileCount,q=b.tileVertical,r=b.container.height(),s=b.container.width();q?(i=Math.floor(s/p),k=s-i*(p-1),j=l=r):(i=k=s,j=Math.floor(r/p),l=r-j*(p-1)),b.container.find(".cycle-tiles-container").remove();var t,u={left:0,top:0,overflow:"hidden",position:"absolute",margin:0,padding:0};t=q?"tileSlide"==b.fx?{top:r}:{width:0}:"tileSlide"==b.fx?{left:s}:{height:0};var v=a('
');v.css({zIndex:n.css("z-index"),overflow:"visible",position:"absolute",top:0,left:0,direction:"ltr"}),v.insertBefore(d);for(var w=0;p>w;w++)h=a("
").css(u).css({width:p-1===w?k:i,height:p-1===w?l:j,marginLeft:q?w*i:0,marginTop:q?0:w*j}).append(n.clone().css({position:"relative",maxWidth:"none",width:n.width(),margin:0,padding:0,marginLeft:q?-(w*i):0,marginTop:q?0:-(w*j)})),m=m.add(h);v.append(m),n.css("visibility","hidden"),o.css({opacity:1,display:"block",visibility:"visible"}),g(e?0:p-1),b._tileAniCallback=function(){o.css({display:"block",visibility:"visible"}),n.css("visibility","hidden"),v.remove(),f()}},stopTransition:function(a){a.container.find("*").stop(!0,!0),a._tileAniCallback&&a._tileAniCallback()},onDestroy:function(){var a=this.opts();a.container.find(".cycle-tiles-container").remove()}}}(jQuery); \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.video_2.1.5/LICENSE.htm b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.video_2.1.5/LICENSE.htm new file mode 100644 index 00000000..ebef1aa5 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.video_2.1.5/LICENSE.htm @@ -0,0 +1 @@ +

Dual licensed as MIT and GPL

\ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.video_2.1.5/jQuery.cycle2.video.dnn b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.video_2.1.5/jQuery.cycle2.video.dnn new file mode 100644 index 00000000..fb8a82e2 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.video_2.1.5/jQuery.cycle2.video.dnn @@ -0,0 +1,39 @@ + + + + + Cycle2 YouTube plugin + the demo. This is an optional functional plugin for the jQuery.Cycle2 library.]]> + + Engage Software + Engage Software + http://www.engagesoftware.com + support@engagesoftware.com + + + + true + + jQuery + jQuery.cycle2.core + + + + + jQuery.cycle2.video + jQuery.cycle2.video.js + BodyBottom + + + + + jQuery.cycle2.video + + jQuery.cycle2.video.js + + + + + + + \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.video_2.1.5/jquery.cycle2.video.min.js b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.video_2.1.5/jquery.cycle2.video.min.js new file mode 100644 index 00000000..cbf1ac3d --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.cycle2.video_2.1.5/jquery.cycle2.video.min.js @@ -0,0 +1,2 @@ +/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20140415 */ +!function(a){"use strict";function b(){try{this.playVideo()}catch(a){}}function c(){try{this.pauseVideo()}catch(a){}}var d='
';a.extend(a.fn.cycle.defaults,{youtubeAllowFullScreen:!0,youtubeAutostart:!1,youtubeAutostop:!0}),a(document).on("cycle-bootstrap",function(e,f){f.youtube&&(f.hideNonActive=!1,f.container.find(f.slides).each(function(b){if(void 0!==a(this).attr("href")){var c,e=a(this),g=e.attr("href"),h=f.youtubeAllowFullScreen?"true":"false";g+=(/\?/.test(g)?"&":"?")+"enablejsapi=1",f.youtubeAutostart&&f.startingSlide===b&&(g+="&autoplay=1"),c=f.API.tmpl(d,{url:g,allowFullScreen:h}),e.replaceWith(c)}}),f.slides=f.slides.replace(/(\b>?a\b)/,"div.cycle-youtube"),f.youtubeAutostart&&f.container.on("cycle-initialized cycle-after",function(c,d){var e="cycle-initialized"==c.type?d.currSlide:d.nextSlide;a(d.slides[e]).find("object,embed").each(b)}),f.youtubeAutostop&&f.container.on("cycle-before",function(b,d){a(d.slides[d.currSlide]).find("object,embed").each(c)}))})}(jQuery); \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.tcycle_2.1.5/LICENSE.htm b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.tcycle_2.1.5/LICENSE.htm new file mode 100644 index 00000000..ebef1aa5 --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.tcycle_2.1.5/LICENSE.htm @@ -0,0 +1 @@ +

Dual licensed as MIT and GPL

\ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.tcycle_2.1.5/jQuery.tcycle.dnn b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.tcycle_2.1.5/jQuery.tcycle.dnn new file mode 100644 index 00000000..4ca5604f --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.tcycle_2.1.5/jQuery.tcycle.dnn @@ -0,0 +1,38 @@ + + + + + tCycle + the demo.]]> + + Engage Software + Engage Software + http://www.engagesoftware.com + support@engagesoftware.com + + + + true + + jQuery + + + + + jQuery.tcycle + jQuery.tcycle.js + BodyBottom + + + + + jQuery.tcycle + + jQuery.tcycle.js + + + + + + + \ No newline at end of file diff --git a/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.tcycle_2.1.5/jquery.tcycle.js b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.tcycle_2.1.5/jquery.tcycle.js new file mode 100644 index 00000000..6293127f --- /dev/null +++ b/jQuery.cycle2/jQuery.cycle2_2.1.5/jquery.tcycle_2.1.5/jquery.tcycle.js @@ -0,0 +1,37 @@ +/*! tCycle (c) 2013 M.Alsup MIT/GPL 20131130 */ +(function($){ +"use strict"; +$.fn.tcycle = function(){ + +return this.each(function(){ + var i=0, c=$(this), s=c.children(), o=$.extend({speed:500,timeout:4000},c.data()), f=o.fx!='scroll', + l=s.length, w=c.width(), z=o.speed, t=o.timeout, css={overflow:'hidden'}, p='position', a='absolute', + tfn=function(){setTimeout(tx,t);}, scss = $.extend({position:a,top:0}, f?{left:0}:{left:w}, o.scss); + if (c.css(p)=='static') + css[p]='relative'; + c.prepend($(s[0]).clone().css('visibility','hidden')).css(css); + s.css(scss); + if(f) + s.hide().eq(0).show(); + else + s.eq(0).css('left',0); + setTimeout(tx,t); + + function tx(){ + var n = i==(l-1) ? 0 : (i+1), w=c.width(), a=$(s[i]), b=$(s[n]); + if (f){ + a.fadeOut(z); + b.fadeIn(z,tfn); + }else{ + a.animate({left:-w},z,function(){ + a.hide(); + }); + b.css({'left':w,display:'block'}).animate({left:0},z,tfn); + } + i = i==(l-1) ? 0 : (i+1); + } +}); + +}; +$(function(){$('.tcycle').tcycle();}); +})(jQuery); \ No newline at end of file diff --git a/knockout.validation/knockout.validation_2.0.0-pre.3/CHANGES.htm b/knockout.validation/knockout.validation_2.0.0-pre.3/CHANGES.htm new file mode 100644 index 00000000..35d28516 --- /dev/null +++ b/knockout.validation/knockout.validation_2.0.0-pre.3/CHANGES.htm @@ -0,0 +1,14 @@ +
    +
  1. + 2.0.0-pre.3 - October, 2013 +
      +
    • Requires Knockout 3
    • +
    +
  2. +
  3. + 1.0.2 - October 30, 2012 +
      +
    • Support for Knockout 2.2
    • +
    +
  4. +
\ No newline at end of file diff --git a/knockout.validation/knockout.validation_2.0.0-pre.3/LICENSE.htm b/knockout.validation/knockout.validation_2.0.0-pre.3/LICENSE.htm new file mode 100644 index 00000000..1641c699 --- /dev/null +++ b/knockout.validation/knockout.validation_2.0.0-pre.3/LICENSE.htm @@ -0,0 +1 @@ +

Licensed under the MIT license

\ No newline at end of file diff --git a/knockout.validation/knockout.validation_2.0.0-pre.3/knockout.validation.dnn b/knockout.validation/knockout.validation_2.0.0-pre.3/knockout.validation.dnn new file mode 100644 index 00000000..d59f4799 --- /dev/null +++ b/knockout.validation/knockout.validation_2.0.0-pre.3/knockout.validation.dnn @@ -0,0 +1,39 @@ + + + + Knockout Validation + A Validation Library plugin for KnockoutJS. An extensible and pluggable framework for performing model-based Form and UI validation. + + Engage Software + Engage Software + http://www.engagesoftware.com + support@engagesoftware.com + + + + true + + Knockout + + + + + knockout.validation + knockout.validation.js + ko.validation + https://cdn.jsdelivr.net/knockout.validation/2.0.0-pre.3/knockout.validation.min.js + BodyBottom + + + + + knockout.validation + + knockout.validation.js + + + + + + + \ No newline at end of file diff --git a/knockout.validation/knockout.validation_2.0.0-pre.3/knockout.validation.js b/knockout.validation/knockout.validation_2.0.0-pre.3/knockout.validation.js new file mode 100644 index 00000000..4806c2c9 --- /dev/null +++ b/knockout.validation/knockout.validation_2.0.0-pre.3/knockout.validation.js @@ -0,0 +1,1241 @@ +/*============================================================================= + Author: Eric M. Barnard - @ericmbarnard + License: MIT (http://opensource.org/licenses/mit-license.php) + + Description: Validation Library for KnockoutJS +=============================================================================== +*/ +/*globals require: false, exports: false, define: false, ko: false */ + +(function (factory) { + // Module systems magic dance. + + if (typeof require === "function" && typeof exports === "object" && typeof module === "object") { + // CommonJS or Node: hard-coded dependency on "knockout" + factory(require("knockout"), exports); + } else if (typeof define === "function" && define["amd"]) { + // AMD anonymous module with hard-coded dependency on "knockout" + define(["knockout", "exports"], factory); + } else { + //