Interactive interface for browsing global, full-resolution satellite imagery
Joyride now fires event when using previous button
Mike McGann2566e7709e8e
diff --git a/lib/joyride-2.0.3/Gruntfile.js b/lib/joyride-2.0.3-1/Gruntfile.jssimilarity index 96%rename from lib/joyride-2.0.3/Gruntfile.jsrename to lib/joyride-2.0.3-1/Gruntfile.jsindex df35dcf7e..4236d88de 100644--- a/lib/joyride-2.0.3/Gruntfile.js+++ b/lib/joyride-2.0.3-1/Gruntfile.js@@ -12,8 +12,8 @@module.exports = function(grunt) {var name = "joyride";- var version = "2.0.3";- var base = "wv.tour";+ var version = "2.0.3-1";+ var base = "tour";var lib = "lib/" + name + "-" + version + "/";var ext = "src/ext/" + base + "/" + name + "-" + version + "/";diff --git a/lib/joyride-2.0.3/demo-style.css b/lib/joyride-2.0.3-1/demo-style.csssimilarity index 100%rename from lib/joyride-2.0.3/demo-style.cssrename to lib/joyride-2.0.3-1/demo-style.cssdiff --git a/lib/joyride-2.0.3/joyride.css b/lib/joyride-2.0.3-1/joyride.csssimilarity index 100%rename from lib/joyride-2.0.3/joyride.cssrename to lib/joyride-2.0.3-1/joyride.cssdiff --git a/lib/joyride-2.0.3/jquery.cookie.js b/lib/joyride-2.0.3-1/jquery.cookie.jssimilarity index 100%rename from lib/joyride-2.0.3/jquery.cookie.jsrename to lib/joyride-2.0.3-1/jquery.cookie.jsdiff --git a/lib/joyride-2.0.3/jquery.joyride.js b/lib/joyride-2.0.3-1/jquery.joyride.jssimilarity index 99%rename from lib/joyride-2.0.3/jquery.joyride.jsrename to lib/joyride-2.0.3-1/jquery.joyride.jsindex ed35f86e1..c755cc350 100644--- a/lib/joyride-2.0.3/jquery.joyride.js+++ b/lib/joyride-2.0.3-1/jquery.joyride.js@@ -10,7 +10,7 @@;(function ($, window, undefined) {'use strict';-+var defaults = {'version' : '2.0.3','tipLocation' : 'bottom', // 'top' or 'bottom' in relation to parent@@ -56,7 +56,7 @@if ($.isEmptyObject(settings)) {settings = $.extend(true, defaults, opts);-+// non configurable settingssettings.document = window.document;settings.$document = $(settings.document);@@ -129,7 +129,8 @@methods.showPrev();methods.startTimer();} else {- methods.hideNoCallback();+ //methods.hideNoCallback();+ methods.hide();methods.showPrev();}}@@ -220,7 +221,7 @@var opts_len = opts_arr.length;var ii, p;var hasPrev, hasNext, prev;-+// parse optionsfor (ii = opts_len - 1; ii >= 0; ii--) {p = opts_arr[ii].split(':');@@ -242,9 +243,9 @@hasNext = false;}}- }+ }}-+// fill in defaults if buttons were not specifiedif(hasPrev === undefined) {hasPrev = settings.prevButton;@@ -252,7 +253,7 @@if(hasNext === undefined) {hasNext = settings.nextButton;}-+// construct and return button stringif (hasPrev) {prev = 'Prev';@@ -315,7 +316,7 @@settings.tipSettings = $.extend({}, settings, opts);settings.tipSettings.tipLocationPattern = settings.tipLocationPatterns[settings.tipSettings.tipLocation];-+// scroll if not modalif (!/body/i.test(settings.$target.selector)) {methods.scroll_to();@@ -465,7 +466,7 @@}settings.$current_tip = settings.$prev_tip;-+// skip non-existent targets} else if (settings.$li && settings.$target.length < 1) {@@ -524,7 +525,7 @@methods.set_target();},-+//BETHset_li_prev : function (init) {if (init) {@@ -539,7 +540,7 @@methods.set_target();},//END BETH-+set_next_tip : function () {settings.$next_tip = $('.joyride-tip-guide[data-index=' + settings.$li.index() + ']');},@@ -553,7 +554,7 @@set_target : function () {var cl = settings.$li.attr('data-class'),id = settings.$li.attr('data-id'),-+$sel = function () {if (id) {return $(settings.document.getElementById(id));@@ -608,9 +609,9 @@$border = $('.joyride-nub-border', settings.$next_tip),nub_height = Math.ceil($nub.outerHeight() / 2),toggle = init || false;-+settings.$next_tip.removeClass("mobile");-+// tip must not be "display: none" to calculate positionif (toggle) {settings.$next_tip.css('visibility', 'hidden');@@ -620,14 +621,14 @@if (!/body/i.test(settings.$target.selector)) {if (methods.bottom()) {-+settings.$next_tip.css({top: (settings.$target.offset().top + nub_height + settings.$target.outerHeight()),left: settings.$target.offset().left});methods.nub_position($nub, $border, settings.tipSettings.nubPosition, 'top');} else if (methods.top()) {-+settings.$next_tip.css({top: (settings.$target.offset().top - settings.$next_tip.outerHeight() - nub_height),left: settings.$target.offset().left});@@ -640,7 +641,7 @@methods.nub_position($nub, $border, settings.tipSettings.nubPosition, 'left');} else if (methods.left()) {-+settings.$next_tip.css({top: settings.$target.offset().top,left: (settings.$target.offset().left - settings.$next_tip.outerWidth() - nub_height)});@@ -653,7 +654,7 @@.removeClass('top').removeClass('right').removeClass('left');-+settings.tipSettings.tipLocation = settings.tipSettings.tipLocationPattern[settings.attempts];settings.attempts++;@@ -682,9 +683,9 @@$border = $('.joyride-nub-border', settings.$prev_tip),nub_height = Math.ceil($nub.outerHeight() / 2),toggle = init || false;-+settings.$next_tip.addClass("mobile");-+// tip must not be "display: none" to calculate positionif (toggle) {settings.$prev_tip.css('visibility', 'hidden');@@ -748,7 +749,7 @@}},-+pos_phone : function (init) {//console.log("pos_phone");var tip_height = settings.$next_tip.outerHeight(),@@ -769,7 +770,7 @@settings.$next_tip.css('visibility', 'hidden');settings.$next_tip.show();}-+if (!/body/i.test(settings.$target.selector)) {if (methods.top()) {diff --git a/lib/joyride-2.0.3/modernizr.mq.js b/lib/joyride-2.0.3-1/modernizr.mq.jssimilarity index 100%rename from lib/joyride-2.0.3/modernizr.mq.jsrename to lib/joyride-2.0.3-1/modernizr.mq.jsdiff --git a/src/ext/tour/joyride-2.0.3/joyride.css b/src/ext/tour/joyride-2.0.3-1/joyride.csssimilarity index 100%rename from src/ext/tour/joyride-2.0.3/joyride.cssrename to src/ext/tour/joyride-2.0.3-1/joyride.cssdiff --git a/src/ext/tour/joyride-2.0.3/joyride.js b/src/ext/tour/joyride-2.0.3-1/joyride.jssimilarity index 99%rename from src/ext/tour/joyride-2.0.3/joyride.jsrename to src/ext/tour/joyride-2.0.3-1/joyride.jsindex c4178701b..43e129e1c 100644--- a/src/ext/tour/joyride-2.0.3/joyride.js+++ b/src/ext/tour/joyride-2.0.3-1/joyride.js@@ -82,7 +82,7 @@;(function ($, window, undefined) {'use strict';-+var defaults = {'version' : '2.0.3','tipLocation' : 'bottom', // 'top' or 'bottom' in relation to parent@@ -128,7 +128,7 @@if ($.isEmptyObject(settings)) {settings = $.extend(true, defaults, opts);-+// non configurable settingssettings.document = window.document;settings.$document = $(settings.document);@@ -201,7 +201,8 @@methods.showPrev();methods.startTimer();} else {- methods.hideNoCallback();+ //methods.hideNoCallback();+ methods.hide();methods.showPrev();}}@@ -292,7 +293,7 @@var opts_len = opts_arr.length;var ii, p;var hasPrev, hasNext, prev;-+// parse optionsfor (ii = opts_len - 1; ii >= 0; ii--) {p = opts_arr[ii].split(':');@@ -314,9 +315,9 @@hasNext = false;}}- }+ }}-+// fill in defaults if buttons were not specifiedif(hasPrev === undefined) {hasPrev = settings.prevButton;@@ -324,7 +325,7 @@if(hasNext === undefined) {hasNext = settings.nextButton;}-+// construct and return button stringif (hasPrev) {prev = 'Prev';@@ -387,7 +388,7 @@settings.tipSettings = $.extend({}, settings, opts);settings.tipSettings.tipLocationPattern = settings.tipLocationPatterns[settings.tipSettings.tipLocation];-+// scroll if not modalif (!/body/i.test(settings.$target.selector)) {methods.scroll_to();@@ -537,7 +538,7 @@}settings.$current_tip = settings.$prev_tip;-+// skip non-existent targets} else if (settings.$li && settings.$target.length < 1) {@@ -596,7 +597,7 @@methods.set_target();},-+//BETHset_li_prev : function (init) {if (init) {@@ -611,7 +612,7 @@methods.set_target();},//END BETH-+set_next_tip : function () {settings.$next_tip = $('.joyride-tip-guide[data-index=' + settings.$li.index() + ']');},@@ -625,7 +626,7 @@set_target : function () {var cl = settings.$li.attr('data-class'),id = settings.$li.attr('data-id'),-+$sel = function () {if (id) {return $(settings.document.getElementById(id));@@ -680,9 +681,9 @@$border = $('.joyride-nub-border', settings.$next_tip),nub_height = Math.ceil($nub.outerHeight() / 2),toggle = init || false;-+settings.$next_tip.removeClass("mobile");-+// tip must not be "display: none" to calculate positionif (toggle) {settings.$next_tip.css('visibility', 'hidden');@@ -692,14 +693,14 @@if (!/body/i.test(settings.$target.selector)) {if (methods.bottom()) {-+settings.$next_tip.css({top: (settings.$target.offset().top + nub_height + settings.$target.outerHeight()),left: settings.$target.offset().left});methods.nub_position($nub, $border, settings.tipSettings.nubPosition, 'top');} else if (methods.top()) {-+settings.$next_tip.css({top: (settings.$target.offset().top - settings.$next_tip.outerHeight() - nub_height),left: settings.$target.offset().left});@@ -712,7 +713,7 @@methods.nub_position($nub, $border, settings.tipSettings.nubPosition, 'left');} else if (methods.left()) {-+settings.$next_tip.css({top: settings.$target.offset().top,left: (settings.$target.offset().left - settings.$next_tip.outerWidth() - nub_height)});@@ -725,7 +726,7 @@.removeClass('top').removeClass('right').removeClass('left');-+settings.tipSettings.tipLocation = settings.tipSettings.tipLocationPattern[settings.attempts];settings.attempts++;@@ -754,9 +755,9 @@$border = $('.joyride-nub-border', settings.$prev_tip),nub_height = Math.ceil($nub.outerHeight() / 2),toggle = init || false;-+settings.$next_tip.addClass("mobile");-+// tip must not be "display: none" to calculate positionif (toggle) {settings.$prev_tip.css('visibility', 'hidden');@@ -820,7 +821,7 @@}},-+pos_phone : function (init) {//console.log("pos_phone");var tip_height = settings.$next_tip.outerHeight(),@@ -841,7 +842,7 @@settings.$next_tip.css('visibility', 'hidden');settings.$next_tip.show();}-+if (!/body/i.test(settings.$target.selector)) {if (methods.top()) {diff --git a/src/ext/tour/joyride-2.0.3/joyride.min.css b/src/ext/tour/joyride-2.0.3-1/joyride.min.csssimilarity index 100%rename from src/ext/tour/joyride-2.0.3/joyride.min.cssrename to src/ext/tour/joyride-2.0.3-1/joyride.min.cssdiff --git a/src/ext/tour/joyride-2.0.3-1/joyride.min.js b/src/ext/tour/joyride-2.0.3-1/joyride.min.jsnew file mode 100644index 000000000..50993746a--- /dev/null+++ b/src/ext/tour/joyride-2.0.3-1/joyride.min.js@@ -0,0 +1 @@+!function(a,b,c){function d(a){return a}function e(a){return decodeURIComponent(a.replace(f," "))}var f=/\+/g;a.cookie=function(f,g,h){if(g!==c&&!/Object/.test(Object.prototype.toString.call(g))){if(h=a.extend({},a.cookie.defaults,h),null===g&&(h.expires=-1),"number"==typeof h.expires){var i=h.expires,j=h.expires=new Date;j.setDate(j.getDate()+i)}return g=String(g),b.cookie=[encodeURIComponent(f),"=",h.raw?g:encodeURIComponent(g),h.expires?"; expires="+h.expires.toUTCString():"",h.path?"; path="+h.path:"",h.domain?"; domain="+h.domain:"",h.secure?"; secure":""].join("")}h=g||a.cookie.defaults||{};for(var k,l=h.raw?d:e,m=b.cookie.split("; "),n=0;k=m[n]&&m[n].split("=");n++)if(l(k.shift())===f)return l(k.join("="));return null},a.cookie.defaults={},a.removeCookie=function(b,c){return null!==a.cookie(b,c)?(a.cookie(b,null,c),!0):!1}}(jQuery,document),function(a,b,c){"use strict";var d={version:"2.0.3",tipLocation:"bottom",nubPosition:"auto",scrollSpeed:300,timer:0,startTimerOnClick:!0,startOffset:0,nextButton:!0,prevButton:!1,tipAnimation:"fade",pauseAfter:[],tipAnimationFadeSpeed:300,cookieMonster:!1,cookieName:"joyride",cookieDomain:!1,tipContainer:"body",postRideCallback:a.noop,postStepCallback:a.noop,bordered:!1,includepage:!1,adjustForPhone:!0,template:{link:'<a href="#close" class="joyride-close-tip">X</a>',timer:'<div class="joyride-timer-indicator-wrap"><span class="joyride-timer-indicator"></span></div>',tip:'<div class="joyride-tip-guide"></div>',nub:'<span class="joyride-nub"></span>',tipborder:'<span class="joyride-nub-border"></span>',wrapper:'<div class="joyride-content-wrapper"></div>',button:'<a href="#" class="joyride-next-tip"></a>',prevbutton:'<a href="#" class="joyride-prev-tip"></a>'}},e=e||!1,f={},g={init:function(c){return this.each(function(){a.isEmptyObject(f)?(f=a.extend(!0,d,c),f.document=b.document,f.$document=a(f.document),f.$window=a(b),f.$content_el=a(this),f.body_offset=a(f.tipContainer).position(),f.$tip_content=a("> li",f.$content_el),f.paused=!1,f.attempts=0,f.tipLocationPatterns={top:["bottom"],bottom:[],left:["right","top","bottom"],right:["left","top","bottom"]},g.jquery_check(),a.isFunction(a.cookie)||(f.cookieMonster=!1),f.cookieMonster&&a.cookie(f.cookieName)||(f.$tip_content.each(function(b){g.create({$li:a(this),index:b})}),!f.startTimerOnClick&&f.timer>0?(g.show("init"),g.startTimer()):g.show("init")),f.$document.on("click",".joyride-next-tip, .joyride-modal-bg",function(a){("Next"===a.target.text||"Finish"===a.target.text)&&(a.preventDefault(),a.stopImmediatePropagation(),f.$li.next().length<1?g.end():f.timer>0?(clearTimeout(f.automate),g.hide(),g.show(),g.startTimer()):(g.hide(),g.show()))}),f.$document.on("click.joyride",".joyride-prev-tip, .joyride-modal-bg",function(a){"Prev"===a.target.text&&(a.preventDefault(),a.stopImmediatePropagation(),f.$li.prev().length<1?g.end():f.timer>0?(clearTimeout(f.automate),g.hideNoCallback(),g.showPrev(),g.startTimer()):(g.hide(),g.showPrev()))}),f.$document.on("click.joyride",".joyride-close-tip",function(a){"X"===a.target.text&&(a.preventDefault(),g.endNoCallback())}),f.$window.bind("resize.joyride",function(){g.is_phone()?g.pos_phone():g.pos_default()})):g.restart()})},resume:function(){g.set_li(),g.show()},tip_template:function(b){var c,d,e=(b.li.data("options")||":").split(";"),h=(e.length,f.bordered),i=(f.shiftedArrow,f.includepage);if(b.tip_class=b.tip_class||"",h&&(b.tip_class+=" bordered"),c=a(f.template.tip).addClass(b.tip_class),d=a.trim(a(b.li).html())+g.button_text(b.button_text,b.li)+f.template.link+g.timer_instance(b.index),i){var j=f.$content_el[0].children.length,k=b.index+1,l="<p style='text-align:right'>(page "+k+" of "+j+")</p>";d+=l}return h&&c.append(a(f.template.tipborder)),c.append(a(f.template.nub)),c.append(a(f.template.wrapper)),c.first().attr("data-index",b.index),a(".joyride-content-wrapper",c).append(d),c[0]},timer_instance:function(b){var c;return c=0===b&&f.startTimerOnClick&&f.timer>0||0===f.timer?"":g.outerHTML(a(f.template.timer)[0])},button_text:function(b,d){var e,h,i,j,k,l=(d.data("options")||":").split(";"),m=l.length;for(e=m-1;e>=0;e--)h=l[e].split(":"),2===h.length&&("prevButton"==h[0]&&(i="true"==h[1]?!0:!1),"nextButton"==h[0]&&(j="true"==h[1]?!0:!1));return i===c&&(i=f.prevButton),j===c&&(j=f.nextButton),i?(k="Prev",k=g.outerHTML(a(f.template.prevbutton).append(k)[0])):k="",j?(b=a.trim(b)||"Next",b=g.outerHTML(a(f.template.button).append(b)[0])):b="",k+b+"</br></br>"},create:function(b){var c=b.$li.attr("data-button")||b.$li.attr("data-text"),d=b.$li.attr("class"),e=a(g.tip_template({tip_class:d,index:b.index,button_text:c,li:b.$li}));a(f.tipContainer).append(e)},show:function(b){var d,e,h={},i=[],j=0,k=null;if(f.$li===c||-1===a.inArray(f.$li.index(),f.pauseAfter))if(f.paused?f.paused=!1:g.set_li(b),f.attempts=0,f.$li.length&&f.$target.length>0){for(i=(f.$li.data("options")||":").split(";"),j=i.length,d=j-1;d>=0;d--)e=i[d].split(":"),2===e.length&&(h[a.trim(e[0])]=a.trim(e[1]));f.tipSettings=a.extend({},f,h),f.tipSettings.tipLocationPattern=f.tipLocationPatterns[f.tipSettings.tipLocation],/body/i.test(f.$target.selector)||g.scroll_to(),g.is_phone()?g.pos_phone(!0):g.pos_default(!0),k=a(".joyride-timer-indicator",f.$next_tip),/pop/i.test(f.tipAnimation)?(k.outerWidth(0),f.timer>0?(f.$next_tip.show(),k.animate({width:a(".joyride-timer-indicator-wrap",f.$next_tip).outerWidth()},f.timer)):f.$next_tip.show()):/fade/i.test(f.tipAnimation)&&(k.outerWidth(0),f.timer>0?(f.$next_tip.fadeIn(f.tipAnimationFadeSpeed),f.$next_tip.show(),k.animate({width:a(".joyride-timer-indicator-wrap",f.$next_tip).outerWidth()},f.timer)):f.$next_tip.fadeIn(f.tipAnimationFadeSpeed)),f.$current_tip=f.$next_tip}else f.$li&&f.$target.length<1?g.show():g.end();else f.paused=!0},showPrev:function(b){var d,e,h={},i=[],j=0,k=null;if(f.$li===c||-1===a.inArray(f.$li.index(),f.pauseAfter))if(f.paused?f.paused=!1:g.set_li_prev(b),f.attempts=0,f.$li.length&&f.$target.length>0){for(i=(f.$li.data("options")||":").split(";"),j=i.length,d=j-1;d>=0;d--)e=i[d].split(":"),2===e.length&&(h[a.trim(e[0])]=a.trim(e[1]));f.tipSettings=a.extend({},f,h),f.tipSettings.tipLocationPattern=f.tipLocationPatterns[f.tipSettings.tipLocation],/body/i.test(f.$target.selector)||g.scroll_to(),g.is_phone()?g.pos_phone(!0):g.pos_default_prev(!0),k=a(".joyride-timer-indicator",f.$prev_tip),/pop/i.test(f.tipAnimation)?(k.outerWidth(0),f.timer>0?(f.$prev_tip.show(),k.animate({width:a(".joyride-timer-indicator-wrap",f.$prev_tip).outerWidth()},f.timer)):f.$prev_tip.show()):/fade/i.test(f.tipAnimation)&&(k.outerWidth(0),f.timer>0?(f.$prev_tip.fadeIn(f.tipAnimationFadeSpeed),f.$prev_tip.show(),k.animate({width:a(".joyride-timer-indicator-wrap",f.$prev_tip).outerWidth()},f.timer)):f.$prev_tip.fadeIn(f.tipAnimationFadeSpeed)),f.$current_tip=f.$prev_tip}else f.$li&&f.$target.length<1?g.showPrev():g.end();else f.paused=!0},is_phone:function(){return f.adjustForPhone?e?e.mq("only screen and (max-width: 767px)"):f.$window.width()<767?!0:!1:!1},hide:function(){f.postStepCallback(f.$li.index(),f.$current_tip),a(".joyride-modal-bg").hide(),f.$current_tip.hide()},hideNoCallback:function(){a(".joyride-modal-bg").hide(),f.$current_tip.hide()},set_li:function(a){a?(f.$li=f.$tip_content.eq(f.startOffset),g.set_next_tip(),f.$current_tip=f.$next_tip):(f.$li=f.$li.next(),g.set_next_tip()),g.set_target()},set_li_prev:function(a){a?(f.$li=f.$tip_content.eq(f.startOffset),g.set_prev_tip(),f.$current_tip=f.$prev_tip):(f.$li=f.$li.prev(),g.set_prev_tip()),g.set_target()},set_next_tip:function(){f.$next_tip=a(".joyride-tip-guide[data-index="+f.$li.index()+"]")},set_prev_tip:function(){f.$prev_tip=a(".joyride-tip-guide[data-index="+f.$li.index()+"]")},set_target:function(){var b=f.$li.attr("data-class"),c=f.$li.attr("data-id"),d=function(){return c?a(f.document.getElementById(c)):b?a("."+b).first():a("body")};f.$target=d()},scroll_to:function(){var b,c;b=f.$window.height()/2,c=Math.ceil(f.$target.offset().top-b+f.$next_tip.outerHeight()),a("html, body").stop().animate({scrollTop:c},f.scrollSpeed)},paused:function(){return-1===a.inArray(f.$li.index()+1,f.pauseAfter)?!0:!1},destroy:function(){f.$document.off(".joyride"),a(b).off(".joyride"),a(".joyride-close-tip, .joyride-next-tip, .joyride-modal-bg").off(".joyride"),a(".joyride-tip-guide, .joyride-modal-bg").remove(),clearTimeout(f.automate),f={}},restart:function(){g.hide(),f.$li=c,g.show("init")},pos_default:function(b){var c=(Math.ceil(f.$window.height()/2),f.$next_tip.offset(),a(".joyride-nub",f.$next_tip)),d=a(".joyride-nub-border",f.$next_tip),e=Math.ceil(c.outerHeight()/2),h=b||!1;f.$next_tip.removeClass("mobile"),h&&(f.$next_tip.css("visibility","hidden"),f.$next_tip.show()),/body/i.test(f.$target.selector)?f.$li.length&&g.pos_modal(c):(g.bottom()?(f.$next_tip.css({top:f.$target.offset().top+e+f.$target.outerHeight(),left:f.$target.offset().left}),g.nub_position(c,d,f.tipSettings.nubPosition,"top")):g.top()?(f.$next_tip.css({top:f.$target.offset().top-f.$next_tip.outerHeight()-e,left:f.$target.offset().left}),g.nub_position(c,d,f.tipSettings.nubPosition,"bottom")):g.right()?(f.$next_tip.css({top:f.$target.offset().top,left:f.$target.outerWidth()+f.$target.offset().left+20}),g.nub_position(c,d,f.tipSettings.nubPosition,"left")):g.left()&&(f.$next_tip.css({top:f.$target.offset().top,left:f.$target.offset().left-f.$next_tip.outerWidth()-e}),g.nub_position(c,d,f.tipSettings.nubPosition,"right")),!g.visible(g.corners(f.$next_tip))&&f.attempts<f.tipSettings.tipLocationPattern.length&&(c.removeClass("bottom").removeClass("top").removeClass("right").removeClass("left"),f.tipSettings.tipLocation=f.tipSettings.tipLocationPattern[f.attempts],f.attempts++,g.pos_default(!0))),h&&(f.$next_tip.hide(),f.$next_tip.css("visibility","visible"))},pos_default_prev:function(b){var c=(Math.ceil(f.$window.height()/2),f.$prev_tip.offset(),a(".joyride-nub",f.$prev_tip)),d=a(".joyride-nub-border",f.$prev_tip),e=Math.ceil(c.outerHeight()/2),h=b||!1;f.$next_tip.addClass("mobile"),h&&(f.$prev_tip.css("visibility","hidden"),f.$prev_tip.show()),/body/i.test(f.$target.selector)?f.$li.length&&g.pos_modal(c):(g.bottom()?(f.$prev_tip.css({top:f.$target.offset().top+e+f.$target.outerHeight(),left:f.$target.offset().left}),g.nub_position(c,d,f.tipSettings.nubPosition,"top")):g.top()?(f.$prev_tip.css({top:f.$target.offset().top-f.$prev_tip.outerHeight()-e,left:f.$target.offset().left}),g.nub_position(c,d,f.tipSettings.nubPosition,"bottom")):g.right()?(f.$prev_tip.css({top:f.$target.offset().top,left:f.$target.outerWidth()+f.$target.offset().left+20}),g.nub_position(c,d,f.tipSettings.nubPosition,"left")):g.left()&&(f.$prev_tip.css({top:f.$target.offset().top,left:f.$target.offset().left-f.$prev_tip.outerWidth()-e}),g.nub_position(c,d,f.tipSettings.nubPosition,"right")),!g.visible(g.corners(f.$prev_tip))&&f.attempts<f.tipSettings.tipLocationPattern.length&&(c.removeClass("bottom").removeClass("top").removeClass("right").removeClass("left"),f.tipSettings.tipLocation=f.tipSettings.tipLocationPattern[f.attempts],f.attempts++,g.pos_default_prev(!0))),h&&(f.$prev_tip.hide(),f.$prev_tip.css("visibility","visible"))},pos_phone:function(b){var c=f.$next_tip.outerHeight(),d=(f.$next_tip.offset(),f.$target.outerHeight()),e=a(".joyride-nub",f.$next_tip),h=Math.ceil(e.outerHeight()/2),i=b||!1;e.removeClass("bottom").removeClass("top").removeClass("right").removeClass("left"),f.$next_tip.addClass("mobile"),i&&(f.$next_tip.css("visibility","hidden"),f.$next_tip.show()),/body/i.test(f.$target.selector)?f.$li.length&&g.pos_modal(e):g.top()?(f.$next_tip.offset({top:f.$target.offset().top-c-h}),e.addClass("bottom")):(f.$next_tip.offset({top:f.$target.offset().top+d+h}),e.addClass("top")),i&&(f.$next_tip.hide(),f.$next_tip.css("visibility","visible"))},pos_modal:function(b){g.center(),b.hide(),a(".joyride-modal-bg").length<1&&a("body").append('<div class="joyride-modal-bg">').show(),/pop/i.test(f.tipAnimation)?a(".joyride-modal-bg").show():a(".joyride-modal-bg").fadeIn(f.tipAnimationFadeSpeed)},center:function(){var a=f.$window;return f.$next_tip.css({top:(a.height()-f.$next_tip.outerHeight())/2+a.scrollTop(),left:(a.width()-f.$next_tip.outerWidth())/2+a.scrollLeft()}),!0},bottom:function(){return/bottom/i.test(f.tipSettings.tipLocation)},top:function(){return/top/i.test(f.tipSettings.tipLocation)},right:function(){return/right/i.test(f.tipSettings.tipLocation)},left:function(){return/left/i.test(f.tipSettings.tipLocation)},corners:function(a){var b=f.$window,c=b.width()+b.scrollLeft(),d=b.height()+b.scrollTop();return[a.offset().top<=b.scrollTop(),c<=a.offset().left+a.outerWidth(),d<=a.offset().top+a.outerHeight(),b.scrollLeft()>=a.offset().left]},visible:function(a){for(var b=a.length;b--;)if(a[b])return!1;return!0},nub_position:function(a,b,c,d){"auto"===c?(a.addClass(d),b.addClass(d)):(a.addClass(c),b.addClass(c))},startTimer:function(){f.$li.length?f.automate=setTimeout(function(){g.hide(),g.show(),g.startTimer()},f.timer):clearTimeout(f.automate)},end:function(){f.cookieMonster&&a.cookie(f.cookieName,"ridden",{expires:365,domain:f.cookieDomain}),f.timer>0&&clearTimeout(f.automate),a(".joyride-modal-bg").hide(),f.$current_tip.hide(),f.postStepCallback(f.$li.index(),f.$current_tip),f.postRideCallback(f.$li.index(),f.$current_tip),g.destroy()},endNoCallback:function(){f.cookieMonster&&a.cookie(f.cookieName,"ridden",{expires:365,domain:f.cookieDomain}),f.timer>0&&clearTimeout(f.automate),a(".joyride-modal-bg").hide(),f.$current_tip.hide(),g.destroy()},jquery_check:function(){return a.isFunction(a.fn.on)?!0:(a.fn.on=function(a,b,c){return this.delegate(b,a,c)},a.fn.off=function(a,b,c){return this.undelegate(b,a,c)},!1)},outerHTML:function(a){return a.outerHTML||(new XMLSerializer).serializeToString(a)},version:function(){return f.version}};a.fn.joyride=function(b){return g[b]?g[b].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof b&&b?(a.error("Method "+b+" does not exist on jQuery.joyride"),void 0):g.init.apply(this,arguments)}}(jQuery,this),window.Modernizr=function(a,b,c){function d(a){n.cssText=a}function e(a,b){return typeof a===b}var f,g,h,i="2.6.1",j={},k=b.documentElement,l="modernizr",m=b.createElement(l),n=m.style,o=({}.toString,{}),p=[],q=p.slice,r=function(a,c,d,e){var f,g,h,i=b.createElement("div"),j=b.body,m=j?j:b.createElement("body");if(parseInt(d,10))for(;d--;)h=b.createElement("div"),h.id=e?e[d]:l+(d+1),i.appendChild(h);return f=["­",'<style id="s',l,'">',a,"</style>"].join(""),i.id=l,(j?i:m).innerHTML+=f,m.appendChild(i),j||(m.style.background="",k.appendChild(m)),g=c(i,a),j?i.parentNode.removeChild(i):m.parentNode.removeChild(m),!!g},s=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b).matches;var d;return r("@media "+b+" { #"+l+" { position: absolute; } }",function(b){d="absolute"==(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle).position}),d},t={}.hasOwnProperty;h=e(t,"undefined")||e(t.call,"undefined")?function(a,b){return b in a&&e(a.constructor.prototype[b],"undefined")}:function(a,b){return t.call(a,b)},Function.prototype.bind||(Function.prototype.bind=function(a){var b=this;if("function"!=typeof b)throw new TypeError;var c=q.call(arguments,1),d=function(){if(this instanceof d){var e=function(){};e.prototype=b.prototype;var f=new e,g=b.apply(f,c.concat(q.call(arguments)));return Object(g)===g?g:f}return b.apply(a,c.concat(q.call(arguments)))};return d});for(var u in o)h(o,u)&&(g=u.toLowerCase(),j[g]=o[u](),p.push((j[g]?"":"no-")+g));return j.addTest=function(a,b){if("object"==typeof a)for(var d in a)h(a,d)&&j.addTest(d,a[d]);else{if(a=a.toLowerCase(),j[a]!==c)return j;b="function"==typeof b?b():b,enableClasses&&(k.className+=" "+(b?"":"no-")+a),j[a]=b}return j},d(""),m=f=null,j._version=i,j.mq=s,j.testStyles=r,j}(this,this.document);\ No newline at end of filediff --git a/src/ext/tour/joyride-2.0.3/joyride.min.js b/src/ext/tour/joyride-2.0.3/joyride.min.jsdeleted file mode 100644index e08f98364..000000000--- a/src/ext/tour/joyride-2.0.3/joyride.min.js+++ /dev/null@@ -1 +0,0 @@-!function(a,b,c){function d(a){return a}function e(a){return decodeURIComponent(a.replace(f," "))}var f=/\+/g;a.cookie=function(f,g,h){if(g!==c&&!/Object/.test(Object.prototype.toString.call(g))){if(h=a.extend({},a.cookie.defaults,h),null===g&&(h.expires=-1),"number"==typeof h.expires){var i=h.expires,j=h.expires=new Date;j.setDate(j.getDate()+i)}return g=String(g),b.cookie=[encodeURIComponent(f),"=",h.raw?g:encodeURIComponent(g),h.expires?"; expires="+h.expires.toUTCString():"",h.path?"; path="+h.path:"",h.domain?"; domain="+h.domain:"",h.secure?"; secure":""].join("")}h=g||a.cookie.defaults||{};for(var k,l=h.raw?d:e,m=b.cookie.split("; "),n=0;k=m[n]&&m[n].split("=");n++)if(l(k.shift())===f)return l(k.join("="));return null},a.cookie.defaults={},a.removeCookie=function(b,c){return null!==a.cookie(b,c)?(a.cookie(b,null,c),!0):!1}}(jQuery,document),function(a,b,c){"use strict";var d={version:"2.0.3",tipLocation:"bottom",nubPosition:"auto",scrollSpeed:300,timer:0,startTimerOnClick:!0,startOffset:0,nextButton:!0,prevButton:!1,tipAnimation:"fade",pauseAfter:[],tipAnimationFadeSpeed:300,cookieMonster:!1,cookieName:"joyride",cookieDomain:!1,tipContainer:"body",postRideCallback:a.noop,postStepCallback:a.noop,bordered:!1,includepage:!1,adjustForPhone:!0,template:{link:'<a href="#close" class="joyride-close-tip">X</a>',timer:'<div class="joyride-timer-indicator-wrap"><span class="joyride-timer-indicator"></span></div>',tip:'<div class="joyride-tip-guide"></div>',nub:'<span class="joyride-nub"></span>',tipborder:'<span class="joyride-nub-border"></span>',wrapper:'<div class="joyride-content-wrapper"></div>',button:'<a href="#" class="joyride-next-tip"></a>',prevbutton:'<a href="#" class="joyride-prev-tip"></a>'}},e=e||!1,f={},g={init:function(c){return this.each(function(){a.isEmptyObject(f)?(f=a.extend(!0,d,c),f.document=b.document,f.$document=a(f.document),f.$window=a(b),f.$content_el=a(this),f.body_offset=a(f.tipContainer).position(),f.$tip_content=a("> li",f.$content_el),f.paused=!1,f.attempts=0,f.tipLocationPatterns={top:["bottom"],bottom:[],left:["right","top","bottom"],right:["left","top","bottom"]},g.jquery_check(),a.isFunction(a.cookie)||(f.cookieMonster=!1),f.cookieMonster&&a.cookie(f.cookieName)||(f.$tip_content.each(function(b){g.create({$li:a(this),index:b})}),!f.startTimerOnClick&&f.timer>0?(g.show("init"),g.startTimer()):g.show("init")),f.$document.on("click",".joyride-next-tip, .joyride-modal-bg",function(a){("Next"===a.target.text||"Finish"===a.target.text)&&(a.preventDefault(),a.stopImmediatePropagation(),f.$li.next().length<1?g.end():f.timer>0?(clearTimeout(f.automate),g.hide(),g.show(),g.startTimer()):(g.hide(),g.show()))}),f.$document.on("click.joyride",".joyride-prev-tip, .joyride-modal-bg",function(a){"Prev"===a.target.text&&(a.preventDefault(),a.stopImmediatePropagation(),f.$li.prev().length<1?g.end():f.timer>0?(clearTimeout(f.automate),g.hideNoCallback(),g.showPrev(),g.startTimer()):(g.hideNoCallback(),g.showPrev()))}),f.$document.on("click.joyride",".joyride-close-tip",function(a){"X"===a.target.text&&(a.preventDefault(),g.endNoCallback())}),f.$window.bind("resize.joyride",function(){g.is_phone()?g.pos_phone():g.pos_default()})):g.restart()})},resume:function(){g.set_li(),g.show()},tip_template:function(b){var c,d,e=(b.li.data("options")||":").split(";"),h=(e.length,f.bordered),i=(f.shiftedArrow,f.includepage);if(b.tip_class=b.tip_class||"",h&&(b.tip_class+=" bordered"),c=a(f.template.tip).addClass(b.tip_class),d=a.trim(a(b.li).html())+g.button_text(b.button_text,b.li)+f.template.link+g.timer_instance(b.index),i){var j=f.$content_el[0].children.length,k=b.index+1,l="<p style='text-align:right'>(page "+k+" of "+j+")</p>";d+=l}return h&&c.append(a(f.template.tipborder)),c.append(a(f.template.nub)),c.append(a(f.template.wrapper)),c.first().attr("data-index",b.index),a(".joyride-content-wrapper",c).append(d),c[0]},timer_instance:function(b){var c;return c=0===b&&f.startTimerOnClick&&f.timer>0||0===f.timer?"":g.outerHTML(a(f.template.timer)[0])},button_text:function(b,d){var e,h,i,j,k,l=(d.data("options")||":").split(";"),m=l.length;for(e=m-1;e>=0;e--)h=l[e].split(":"),2===h.length&&("prevButton"==h[0]&&(i="true"==h[1]?!0:!1),"nextButton"==h[0]&&(j="true"==h[1]?!0:!1));return i===c&&(i=f.prevButton),j===c&&(j=f.nextButton),i?(k="Prev",k=g.outerHTML(a(f.template.prevbutton).append(k)[0])):k="",j?(b=a.trim(b)||"Next",b=g.outerHTML(a(f.template.button).append(b)[0])):b="",k+b+"</br></br>"},create:function(b){var c=b.$li.attr("data-button")||b.$li.attr("data-text"),d=b.$li.attr("class"),e=a(g.tip_template({tip_class:d,index:b.index,button_text:c,li:b.$li}));a(f.tipContainer).append(e)},show:function(b){var d,e,h={},i=[],j=0,k=null;if(f.$li===c||-1===a.inArray(f.$li.index(),f.pauseAfter))if(f.paused?f.paused=!1:g.set_li(b),f.attempts=0,f.$li.length&&f.$target.length>0){for(i=(f.$li.data("options")||":").split(";"),j=i.length,d=j-1;d>=0;d--)e=i[d].split(":"),2===e.length&&(h[a.trim(e[0])]=a.trim(e[1]));f.tipSettings=a.extend({},f,h),f.tipSettings.tipLocationPattern=f.tipLocationPatterns[f.tipSettings.tipLocation],/body/i.test(f.$target.selector)||g.scroll_to(),g.is_phone()?g.pos_phone(!0):g.pos_default(!0),k=a(".joyride-timer-indicator",f.$next_tip),/pop/i.test(f.tipAnimation)?(k.outerWidth(0),f.timer>0?(f.$next_tip.show(),k.animate({width:a(".joyride-timer-indicator-wrap",f.$next_tip).outerWidth()},f.timer)):f.$next_tip.show()):/fade/i.test(f.tipAnimation)&&(k.outerWidth(0),f.timer>0?(f.$next_tip.fadeIn(f.tipAnimationFadeSpeed),f.$next_tip.show(),k.animate({width:a(".joyride-timer-indicator-wrap",f.$next_tip).outerWidth()},f.timer)):f.$next_tip.fadeIn(f.tipAnimationFadeSpeed)),f.$current_tip=f.$next_tip}else f.$li&&f.$target.length<1?g.show():g.end();else f.paused=!0},showPrev:function(b){var d,e,h={},i=[],j=0,k=null;if(f.$li===c||-1===a.inArray(f.$li.index(),f.pauseAfter))if(f.paused?f.paused=!1:g.set_li_prev(b),f.attempts=0,f.$li.length&&f.$target.length>0){for(i=(f.$li.data("options")||":").split(";"),j=i.length,d=j-1;d>=0;d--)e=i[d].split(":"),2===e.length&&(h[a.trim(e[0])]=a.trim(e[1]));f.tipSettings=a.extend({},f,h),f.tipSettings.tipLocationPattern=f.tipLocationPatterns[f.tipSettings.tipLocation],/body/i.test(f.$target.selector)||g.scroll_to(),g.is_phone()?g.pos_phone(!0):g.pos_default_prev(!0),k=a(".joyride-timer-indicator",f.$prev_tip),/pop/i.test(f.tipAnimation)?(k.outerWidth(0),f.timer>0?(f.$prev_tip.show(),k.animate({width:a(".joyride-timer-indicator-wrap",f.$prev_tip).outerWidth()},f.timer)):f.$prev_tip.show()):/fade/i.test(f.tipAnimation)&&(k.outerWidth(0),f.timer>0?(f.$prev_tip.fadeIn(f.tipAnimationFadeSpeed),f.$prev_tip.show(),k.animate({width:a(".joyride-timer-indicator-wrap",f.$prev_tip).outerWidth()},f.timer)):f.$prev_tip.fadeIn(f.tipAnimationFadeSpeed)),f.$current_tip=f.$prev_tip}else f.$li&&f.$target.length<1?g.showPrev():g.end();else f.paused=!0},is_phone:function(){return f.adjustForPhone?e?e.mq("only screen and (max-width: 767px)"):f.$window.width()<767?!0:!1:!1},hide:function(){f.postStepCallback(f.$li.index(),f.$current_tip),a(".joyride-modal-bg").hide(),f.$current_tip.hide()},hideNoCallback:function(){a(".joyride-modal-bg").hide(),f.$current_tip.hide()},set_li:function(a){a?(f.$li=f.$tip_content.eq(f.startOffset),g.set_next_tip(),f.$current_tip=f.$next_tip):(f.$li=f.$li.next(),g.set_next_tip()),g.set_target()},set_li_prev:function(a){a?(f.$li=f.$tip_content.eq(f.startOffset),g.set_prev_tip(),f.$current_tip=f.$prev_tip):(f.$li=f.$li.prev(),g.set_prev_tip()),g.set_target()},set_next_tip:function(){f.$next_tip=a(".joyride-tip-guide[data-index="+f.$li.index()+"]")},set_prev_tip:function(){f.$prev_tip=a(".joyride-tip-guide[data-index="+f.$li.index()+"]")},set_target:function(){var b=f.$li.attr("data-class"),c=f.$li.attr("data-id"),d=function(){return c?a(f.document.getElementById(c)):b?a("."+b).first():a("body")};f.$target=d()},scroll_to:function(){var b,c;b=f.$window.height()/2,c=Math.ceil(f.$target.offset().top-b+f.$next_tip.outerHeight()),a("html, body").stop().animate({scrollTop:c},f.scrollSpeed)},paused:function(){return-1===a.inArray(f.$li.index()+1,f.pauseAfter)?!0:!1},destroy:function(){f.$document.off(".joyride"),a(b).off(".joyride"),a(".joyride-close-tip, .joyride-next-tip, .joyride-modal-bg").off(".joyride"),a(".joyride-tip-guide, .joyride-modal-bg").remove(),clearTimeout(f.automate),f={}},restart:function(){g.hide(),f.$li=c,g.show("init")},pos_default:function(b){var c=(Math.ceil(f.$window.height()/2),f.$next_tip.offset(),a(".joyride-nub",f.$next_tip)),d=a(".joyride-nub-border",f.$next_tip),e=Math.ceil(c.outerHeight()/2),h=b||!1;f.$next_tip.removeClass("mobile"),h&&(f.$next_tip.css("visibility","hidden"),f.$next_tip.show()),/body/i.test(f.$target.selector)?f.$li.length&&g.pos_modal(c):(g.bottom()?(f.$next_tip.css({top:f.$target.offset().top+e+f.$target.outerHeight(),left:f.$target.offset().left}),g.nub_position(c,d,f.tipSettings.nubPosition,"top")):g.top()?(f.$next_tip.css({top:f.$target.offset().top-f.$next_tip.outerHeight()-e,left:f.$target.offset().left}),g.nub_position(c,d,f.tipSettings.nubPosition,"bottom")):g.right()?(f.$next_tip.css({top:f.$target.offset().top,left:f.$target.outerWidth()+f.$target.offset().left+20}),g.nub_position(c,d,f.tipSettings.nubPosition,"left")):g.left()&&(f.$next_tip.css({top:f.$target.offset().top,left:f.$target.offset().left-f.$next_tip.outerWidth()-e}),g.nub_position(c,d,f.tipSettings.nubPosition,"right")),!g.visible(g.corners(f.$next_tip))&&f.attempts<f.tipSettings.tipLocationPattern.length&&(c.removeClass("bottom").removeClass("top").removeClass("right").removeClass("left"),f.tipSettings.tipLocation=f.tipSettings.tipLocationPattern[f.attempts],f.attempts++,g.pos_default(!0))),h&&(f.$next_tip.hide(),f.$next_tip.css("visibility","visible"))},pos_default_prev:function(b){var c=(Math.ceil(f.$window.height()/2),f.$prev_tip.offset(),a(".joyride-nub",f.$prev_tip)),d=a(".joyride-nub-border",f.$prev_tip),e=Math.ceil(c.outerHeight()/2),h=b||!1;f.$next_tip.addClass("mobile"),h&&(f.$prev_tip.css("visibility","hidden"),f.$prev_tip.show()),/body/i.test(f.$target.selector)?f.$li.length&&g.pos_modal(c):(g.bottom()?(f.$prev_tip.css({top:f.$target.offset().top+e+f.$target.outerHeight(),left:f.$target.offset().left}),g.nub_position(c,d,f.tipSettings.nubPosition,"top")):g.top()?(f.$prev_tip.css({top:f.$target.offset().top-f.$prev_tip.outerHeight()-e,left:f.$target.offset().left}),g.nub_position(c,d,f.tipSettings.nubPosition,"bottom")):g.right()?(f.$prev_tip.css({top:f.$target.offset().top,left:f.$target.outerWidth()+f.$target.offset().left+20}),g.nub_position(c,d,f.tipSettings.nubPosition,"left")):g.left()&&(f.$prev_tip.css({top:f.$target.offset().top,left:f.$target.offset().left-f.$prev_tip.outerWidth()-e}),g.nub_position(c,d,f.tipSettings.nubPosition,"right")),!g.visible(g.corners(f.$prev_tip))&&f.attempts<f.tipSettings.tipLocationPattern.length&&(c.removeClass("bottom").removeClass("top").removeClass("right").removeClass("left"),f.tipSettings.tipLocation=f.tipSettings.tipLocationPattern[f.attempts],f.attempts++,g.pos_default_prev(!0))),h&&(f.$prev_tip.hide(),f.$prev_tip.css("visibility","visible"))},pos_phone:function(b){var c=f.$next_tip.outerHeight(),d=(f.$next_tip.offset(),f.$target.outerHeight()),e=a(".joyride-nub",f.$next_tip),h=Math.ceil(e.outerHeight()/2),i=b||!1;e.removeClass("bottom").removeClass("top").removeClass("right").removeClass("left"),f.$next_tip.addClass("mobile"),i&&(f.$next_tip.css("visibility","hidden"),f.$next_tip.show()),/body/i.test(f.$target.selector)?f.$li.length&&g.pos_modal(e):g.top()?(f.$next_tip.offset({top:f.$target.offset().top-c-h}),e.addClass("bottom")):(f.$next_tip.offset({top:f.$target.offset().top+d+h}),e.addClass("top")),i&&(f.$next_tip.hide(),f.$next_tip.css("visibility","visible"))},pos_modal:function(b){g.center(),b.hide(),a(".joyride-modal-bg").length<1&&a("body").append('<div class="joyride-modal-bg">').show(),/pop/i.test(f.tipAnimation)?a(".joyride-modal-bg").show():a(".joyride-modal-bg").fadeIn(f.tipAnimationFadeSpeed)},center:function(){var a=f.$window;return f.$next_tip.css({top:(a.height()-f.$next_tip.outerHeight())/2+a.scrollTop(),left:(a.width()-f.$next_tip.outerWidth())/2+a.scrollLeft()}),!0},bottom:function(){return/bottom/i.test(f.tipSettings.tipLocation)},top:function(){return/top/i.test(f.tipSettings.tipLocation)},right:function(){return/right/i.test(f.tipSettings.tipLocation)},left:function(){return/left/i.test(f.tipSettings.tipLocation)},corners:function(a){var b=f.$window,c=b.width()+b.scrollLeft(),d=b.height()+b.scrollTop();return[a.offset().top<=b.scrollTop(),c<=a.offset().left+a.outerWidth(),d<=a.offset().top+a.outerHeight(),b.scrollLeft()>=a.offset().left]},visible:function(a){for(var b=a.length;b--;)if(a[b])return!1;return!0},nub_position:function(a,b,c,d){"auto"===c?(a.addClass(d),b.addClass(d)):(a.addClass(c),b.addClass(c))},startTimer:function(){f.$li.length?f.automate=setTimeout(function(){g.hide(),g.show(),g.startTimer()},f.timer):clearTimeout(f.automate)},end:function(){f.cookieMonster&&a.cookie(f.cookieName,"ridden",{expires:365,domain:f.cookieDomain}),f.timer>0&&clearTimeout(f.automate),a(".joyride-modal-bg").hide(),f.$current_tip.hide(),f.postStepCallback(f.$li.index(),f.$current_tip),f.postRideCallback(f.$li.index(),f.$current_tip),g.destroy()},endNoCallback:function(){f.cookieMonster&&a.cookie(f.cookieName,"ridden",{expires:365,domain:f.cookieDomain}),f.timer>0&&clearTimeout(f.automate),a(".joyride-modal-bg").hide(),f.$current_tip.hide(),g.destroy()},jquery_check:function(){return a.isFunction(a.fn.on)?!0:(a.fn.on=function(a,b,c){return this.delegate(b,a,c)},a.fn.off=function(a,b,c){return this.undelegate(b,a,c)},!1)},outerHTML:function(a){return a.outerHTML||(new XMLSerializer).serializeToString(a)},version:function(){return f.version}};a.fn.joyride=function(b){return g[b]?g[b].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof b&&b?(a.error("Method "+b+" does not exist on jQuery.joyride"),void 0):g.init.apply(this,arguments)}}(jQuery,this),window.Modernizr=function(a,b,c){function d(a){n.cssText=a}function e(a,b){return typeof a===b}var f,g,h,i="2.6.1",j={},k=b.documentElement,l="modernizr",m=b.createElement(l),n=m.style,o=({}.toString,{}),p=[],q=p.slice,r=function(a,c,d,e){var f,g,h,i=b.createElement("div"),j=b.body,m=j?j:b.createElement("body");if(parseInt(d,10))for(;d--;)h=b.createElement("div"),h.id=e?e[d]:l+(d+1),i.appendChild(h);return f=["­",'<style id="s',l,'">',a,"</style>"].join(""),i.id=l,(j?i:m).innerHTML+=f,m.appendChild(i),j||(m.style.background="",k.appendChild(m)),g=c(i,a),j?i.parentNode.removeChild(i):m.parentNode.removeChild(m),!!g},s=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b).matches;var d;return r("@media "+b+" { #"+l+" { position: absolute; } }",function(b){d="absolute"==(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle).position}),d},t={}.hasOwnProperty;h=e(t,"undefined")||e(t.call,"undefined")?function(a,b){return b in a&&e(a.constructor.prototype[b],"undefined")}:function(a,b){return t.call(a,b)},Function.prototype.bind||(Function.prototype.bind=function(a){var b=this;if("function"!=typeof b)throw new TypeError;var c=q.call(arguments,1),d=function(){if(this instanceof d){var e=function(){};e.prototype=b.prototype;var f=new e,g=b.apply(f,c.concat(q.call(arguments)));return Object(g)===g?g:f}return b.apply(a,c.concat(q.call(arguments)))};return d});for(var u in o)h(o,u)&&(g=u.toLowerCase(),j[g]=o[u](),p.push((j[g]?"":"no-")+g));return j.addTest=function(a,b){if("object"==typeof a)for(var d in a)h(a,d)&&j.addTest(d,a[d]);else{if(a=a.toLowerCase(),j[a]!==c)return j;b="function"==typeof b?b():b,enableClasses&&(k.className+=" "+(b?"":"no-")+a),j[a]=b}return j},d(""),m=f=null,j._version=i,j.mq=s,j.testStyles=r,j}(this,this.document);\ No newline at end of filediff --git a/src/index.html b/src/index.htmlindex eed729e4f..73586b909 100644--- a/src/index.html+++ b/src/index.html@@ -100,8 +100,8 @@<!-- link.dev --> <script type="text/javascript" src="ext/palettes/jquery.dd-3.3/jquery.dd.js"></script><!-- link.prod --> <!-- <script type="text/javascript" src="ext/palettes/jquery.dd-3.3/jquery.dd.min.js"></script> -->- <!-- link.dev --> <script type="text/javascript" src="ext/tour/joyride-2.0.3/joyride.js"></script>- <!-- link.prod --> <!-- <script type="text/javascript" src="ext/tour/joyride-2.0.3/joyride.min.js"></script> -->+ <!-- link.dev --> <script type="text/javascript" src="ext/tour/joyride-2.0.3-1/joyride.js"></script>+ <!-- link.prod --> <!-- <script type="text/javascript" src="ext/tour/joyride-2.0.3-1/joyride.min.js"></script> --><!-- link.dev --> <script type="text/javascript" src="ext/proj/proj4js-1.1.0-1/proj4js.js"></script><!-- link.prod --> <!-- <script type="text/javascript" src="ext/proj/proj4js-1.1.0-1/proj4js.min.js"></script> -->