/* * jQuery Mobile 1.4.0 * Git HEAD hash: f09aae0e035d6805e461a7be246d04a0dbc98f69 <> Date: Thu Dec 19 2013 17:34:22 UTC * http://jquerymobile.com * * Copyright 2010, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license. * http://jquery.org/license * */ (function(c,a,b){if(typeof define==="function"&&define.amd){define(["jquery"],function(d){b(d,c,a);return d.mobile})}else{b(c.jQuery,c,a)}}(this,document,function(b,d,a,c){(function(e){e.mobile={}}(b));(function(e,g,f){e.extend(e.mobile,{version:"1.4.0",subPageUrlKey:"ui-page",hideUrlBar:true,keepNative:":jqmData(role='none'), :jqmData(role='nojs')",activePageClass:"ui-page-active",activeBtnClass:"ui-btn-active",focusClass:"ui-focus",ajaxEnabled:true,hashListeningEnabled:true,linkBindingEnabled:true,defaultPageTransition:"fade",maxTransitionWidth:false,minScrollBack:0,defaultDialogTransition:"pop",pageLoadErrorMessage:"Error Loading Page",pageLoadErrorMessageTheme:"a",phonegapNavigationEnabled:false,autoInitializePage:true,pushStateEnabled:true,ignoreContentEnabled:false,buttonMarkup:{hoverDelay:200},dynamicBaseEnabled:true,pageContainer:e(),allowCrossDomainPages:false,dialogHashKey:"&ui-state=dialog"})})(b,this);(function(e,k,j){var g={},h=e.find,i=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,f=/:jqmData\(([^)]*)\)/g;e.extend(e.mobile,{ns:"",getAttribute:function(m,o){var l;m=m.jquery?m[0]:m;if(m&&m.getAttribute){l=m.getAttribute("data-"+e.mobile.ns+o)}try{l=l==="true"?true:l==="false"?false:l==="null"?null:+l+""===l?+l:i.test(l)?JSON.parse(l):l}catch(n){}return l},nsNormalizeDict:g,nsNormalize:function(l){return g[l]||(g[l]=e.camelCase(e.mobile.ns+l))},closestPageData:function(l){return l.closest(":jqmData(role='page'), :jqmData(role='dialog')").data("mobile-page")}});e.fn.jqmData=function(l,n){var m;if(typeof l!=="undefined"){if(l){l=e.mobile.nsNormalize(l)}if(arguments.length<2||n===j){m=this.data(l)}else{m=this.data(l,n)}}return m};e.jqmData=function(l,m,o){var n;if(typeof m!=="undefined"){n=e.data(l,m?e.mobile.nsNormalize(m):m,o)}return n};e.fn.jqmRemoveData=function(l){return this.removeData(e.mobile.nsNormalize(l))};e.jqmRemoveData=function(l,m){return e.removeData(l,e.mobile.nsNormalize(m))};e.find=function(o,l,n,m){if(o.indexOf(":jqmData")>-1){o=o.replace(f,"[data-"+(e.mobile.ns||"")+"$1]")}return h.call(this,o,l,n,m)};e.extend(e.find,h)})(b,this); /* * jQuery UI Core c0ab71056b936627e8a7821f03c044aec6280a40 * http://jqueryui.com * * Copyright 2013 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license * * http://api.jqueryui.com/category/ui-core/ */ (function(e,h){var i=0,g=/^ui-id-\d+$/;e.ui=e.ui||{};e.extend(e.ui,{version:"c0ab71056b936627e8a7821f03c044aec6280a40",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}});e.fn.extend({focus:(function(k){return function(l,m){return typeof l==="number"?this.each(function(){var n=this;setTimeout(function(){e(n).focus();if(m){m.call(n)}},l)}):k.apply(this,arguments)}})(e.fn.focus),scrollParent:function(){var k;if((e.ui.ie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){k=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(e.css(this,"position"))&&(/(auto|scroll)/).test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0)}else{k=this.parents().filter(function(){return(/(auto|scroll)/).test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0)}return(/fixed/).test(this.css("position"))||!k.length?e(this[0].ownerDocument||a):k},uniqueId:function(){return this.each(function(){if(!this.id){this.id="ui-id-"+(++i)}})},removeUniqueId:function(){return this.each(function(){if(g.test(this.id)){e(this).removeAttr("id")}})}});function f(k,m){var n,o,l,p=k.nodeName.toLowerCase();if("area"===p){n=k.parentNode;o=n.name;if(!k.href||!o||n.nodeName.toLowerCase()!=="map"){return false}l=e("img[usemap=#"+o+"]")[0];return !!l&&j(l)}return(/input|select|textarea|button|object/.test(p)?!k.disabled:"a"===p?k.href||m:m)&&j(k)}function j(k){return e.expr.filters.visible(k)&&!e(k).parents().addBack().filter(function(){return e.css(this,"visibility")==="hidden"}).length}e.extend(e.expr[":"],{data:e.expr.createPseudo?e.expr.createPseudo(function(k){return function(l){return !!e.data(l,k)}}):function(k,l,m){return !!e.data(k,m[3])},focusable:function(k){return f(k,!isNaN(e.attr(k,"tabindex")))},tabbable:function(k){var m=e.attr(k,"tabindex"),l=isNaN(m);return(l||m>=0)&&f(k,!l)}});if(!e("").outerWidth(1).jquery){e.each(["Width","Height"],function(k,l){var o=l==="Width"?["Left","Right"]:["Top","Bottom"],p=l.toLowerCase(),m={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};function n(r,t,q,s){e.each(o,function(){t-=parseFloat(e.css(r,"padding"+this))||0;if(q){t-=parseFloat(e.css(r,"border"+this+"Width"))||0}if(s){t-=parseFloat(e.css(r,"margin"+this))||0}});return t}e.fn["inner"+l]=function(q){if(q===h){return m["inner"+l].call(this)}return this.each(function(){e(this).css(p,n(this,q)+"px")})};e.fn["outer"+l]=function(r,q){if(typeof r!=="number"){return m["outer"+l].call(this,r)}return this.each(function(){e(this).css(p,n(this,r,true,q)+"px")})}})}if(!e.fn.addBack){e.fn.addBack=function(k){return this.add(k==null?this.prevObject:this.prevObject.filter(k))}}if(e("").data("a-b","a").removeData("a-b").data("a-b")){e.fn.removeData=(function(k){return function(l){if(arguments.length){return k.call(this,e.camelCase(l))}else{return k.call(this)}}})(e.fn.removeData)}e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());e.support.selectstart="onselectstart" in a.createElement("div");e.fn.extend({disableSelection:function(){return this.bind((e.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(k){k.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")},zIndex:function(n){if(n!==h){return this.css("zIndex",n)}if(this.length){var k=e(this[0]),l,m;while(k.length&&k[0]!==a){l=k.css("position");if(l==="absolute"||l==="relative"||l==="fixed"){m=parseInt(k.css("zIndex"),10);if(!isNaN(m)&&m!==0){return m}}k=k.parent()}}return 0}});e.ui.plugin={add:function(l,m,o){var k,n=e.ui[l].prototype;for(k in o){n.plugins[k]=n.plugins[k]||[];n.plugins[k].push([m,o[k]])}},call:function(n,o,l,k){var m,p=n.plugins[o];if(!p){return}if(!k&&(!n.element[0].parentNode||n.element[0].parentNode.nodeType===11)){return}for(m=0;m0){m=m.not(i)}if(m.length>0){k[l.prototype.widgetName]=m}}});for(h in k){k[h][h]()}return this},addDependents:function(h){e.addDependents(this,h)},getEncodedText:function(){return e("").text(this.text()).html()},jqmEnhanceable:function(){return e.mobile.enhanceable(this)},jqmHijackable:function(){return e.mobile.hijackable(this)}});e.removeWithDependents=function(i){var h=e(i);(h.jqmData("dependents")||e()).remove();h.remove()};e.addDependents=function(j,k){var i=e(j),h=i.jqmData("dependents")||e();i.jqmData("dependents",e(h).add(k))};e.find.matches=function(h,i){return e.find(h,null,null,i)};e.find.matchesSelector=function(i,h){return e.find(h,null,null,[i]).length>0}})(b,this); /* * jQuery UI Widget c0ab71056b936627e8a7821f03c044aec6280a40N * http://jqueryui.com * * Copyright 2013 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license * * http://api.jqueryui.com/jQuery.widget/ */ (function(e,h){var i=0,g=Array.prototype.slice,f=e.cleanData;e.cleanData=function(l){for(var m=0,k;(k=l[m])!=null;m++){try{e(k).triggerHandler("remove")}catch(j){}}f(l)};e.widget=function(o,j,q){var n,m,l,k,r={},p=o.split(".")[0];o=o.split(".")[1];n=p+"-"+o;if(!q){q=j;j=e.Widget}e.expr[":"][n.toLowerCase()]=function(s){return !!e.data(s,n)};e[p]=e[p]||{};m=e[p][o];l=e[p][o]=function(t,s){if(!this._createWidget){return new l(t,s)}if(arguments.length){this._createWidget(t,s)}};e.extend(l,m,{version:q.version,_proto:e.extend({},q),_childConstructors:[]});k=new j();k.options=e.widget.extend({},k.options);e.each(q,function(s,t){if(!e.isFunction(t)){r[s]=t;return}r[s]=(function(){var u=function(){return j.prototype[s].apply(this,arguments)},v=function(w){return j.prototype[s].apply(this,w)};return function(){var w=this._super,x=this._superApply,y;this._super=u;this._superApply=v;y=t.apply(this,arguments);this._super=w;this._superApply=x;return y}})()});l.prototype=e.widget.extend(k,{widgetEventPrefix:m?(k.widgetEventPrefix||o):o},r,{constructor:l,namespace:p,widgetName:o,widgetFullName:n});if(m){e.each(m._childConstructors,function(u,s){var t=s.prototype;e.widget(t.namespace+"."+t.widgetName,l,s._proto)});delete m._childConstructors}else{j._childConstructors.push(l)}e.widget.bridge(o,l);return l};e.widget.extend=function(n){var j=g.call(arguments,1),k=0,l=j.length,m,o;for(;k",options:{disabled:false,create:null},_createWidget:function(k,j){j=e(j||this.defaultElement||this)[0];this.element=e(j);this.uuid=i++;this.eventNamespace="."+this.widgetName+this.uuid;this.options=e.widget.extend({},this.options,this._getCreateOptions(),k);this.bindings=e();this.hoverable=e();this.focusable=e();if(j!==this){e.data(j,this.widgetFullName,this);this._on(true,this.element,{remove:function(l){if(l.target===j){this.destroy()}}});this.document=e(j.style?j.ownerDocument:j.document||j);this.window=e(this.document[0].defaultView||this.document[0].parentWindow)}this._create();this._trigger("create",null,this._getCreateEventData());this._init()},_getCreateOptions:e.noop,_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){this._destroy();this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(e.camelCase(this.widgetFullName));this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled");this.bindings.unbind(this.eventNamespace);this.hoverable.removeClass("ui-state-hover");this.focusable.removeClass("ui-state-focus")},_destroy:e.noop,widget:function(){return this.element},option:function(l,o){var m=l,n,j,k;if(arguments.length===0){return e.widget.extend({},this.options)}if(typeof l==="string"){m={};n=l.split(".");l=n.shift();if(n.length){j=m[l]=e.widget.extend({},this.options[l]);for(k=0;k

",fakeFixLoader:function(){var h=e("."+e.mobile.activeBtnClass).first();this.element.css({top:e.support.scrollTop&&this.window.scrollTop()+this.window.height()/2||h.length&&h.offset().top||100})},checkLoaderPosition:function(){var h=this.element.offset(),j=this.window.scrollTop(),i=e.mobile.getScreenHeight();if(h.topi){this.element.addClass("ui-loader-fakefix");this.fakeFixLoader();this.window.unbind("scroll",this.checkLoaderPosition).bind("scroll",e.proxy(this.fakeFixLoader,this))}},resetHtml:function(){this.element.html(e(this.defaultHtml).html())},show:function(m,j,k){var l,i,h;this.resetHtml();if(e.type(m)==="object"){h=e.extend({},this.options,m);m=h.theme}else{h=this.options;m=m||h.theme}i=j||(h.text===false?"":h.text);f.addClass("ui-loading");l=h.textVisible;this.element.attr("class",g+" ui-corner-all ui-body-"+m+" ui-loader-"+(l||j||m.text?"verbose":"default")+(h.textonly||k?" ui-loader-textonly":""));if(h.html){this.element.html(h.html)}else{this.element.find("h1").text(i)}this.element.appendTo(e.mobile.pageContainer);this.checkLoaderPosition();this.window.bind("scroll",e.proxy(this.checkLoaderPosition,this))},hide:function(){f.removeClass("ui-loading");if(this.options.text){this.element.removeClass("ui-loader-fakefix")}e.mobile.window.unbind("scroll",this.fakeFixLoader);e.mobile.window.unbind("scroll",this.checkLoaderPosition)}})})(b,this);(function(e,n,m){var k="hashchange",f=a,h,j=e.event.special,g=f.documentMode,l="on"+k in n&&(g===m||g>7);function i(o){o=o||location.href;return"#"+o.replace(/^[^#]*#?(.*)$/,"$1")}e.fn[k]=function(o){return o?this.bind(k,o):this.trigger(k)};e.fn[k].delay=50;j[k]=e.extend(j[k],{setup:function(){if(l){return false}e(h.start)},teardown:function(){if(l){return false}e(h.stop)}});h=(function(){var t={},u,r=i(),o=function(v){return v},q=o,p=o;t.start=function(){u||s()};t.stop=function(){u&&clearTimeout(u);u=m};function s(){var v=i(),w=p(r);if(v!==r){q(r=v,w);e(n).trigger(k)}else{if(w!==r){location.href=location.href.replace(/#.*/,"")+w}}u=setTimeout(s,e.fn[k].delay)}n.attachEvent&&!n.addEventListener&&!l&&(function(){var v,w;t.start=function(){if(!v){w=e.fn[k].src;w=w&&w+i();v=e('