3 !
function(a,b,c){
"function"==typeof define&&define.amd?define([
"jquery"],
function(d){
return c(d,a,b),d.mobile}):c(a.jQuery,a,b)}(
this,document,
function(a,b,c){!
function(a){a.mobile={}}(a),
function(a,b){
function d(b,c){var d,f,g,h=b.nodeName.toLowerCase();
return"area"===h?(d=b.parentNode,f=d.name,b.href&&f&&
"map"===d.nodeName.toLowerCase()?(g=a(
"img[usemap=#"+f+
"]")[0],!!g&&e(g)):!1):(/input|select|textarea|button|object/.test(h)?!b.disabled:
"a"===h?b.href||c:c)&&e(b)}function e(b){
return a.expr.filters.visible(b)&&!a(b).parents().addBack().filter(
function(){
return"hidden"===a.css(
this,
"visibility")}).length}var f=0,g=/^ui-
id-\d+$/;a.ui=a.ui||{},a.extend(a.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}}),a.fn.extend({focus:
function(b){
return function(c,d){
return"number"==typeof c?
this.each(
function(){var b=
this;setTimeout(
function(){a(b).focus(),d&&d.call(b)},c)}):b.apply(
this,arguments)}}(a.fn.focus),scrollParent:
function(){var b;
return b=a.ui.ie&&/(
static|relative)/.test(this.css(
"position"))||/absolute/.test(this.css(
"position"))?this.parents().filter(
function(){
return/(relative|absolute|fixed)/.test(a.css(
this,
"position"))&&/(
auto|scroll)/.test(a.css(
this,
"overflow")+a.css(
this,
"overflow-y")+a.css(
this,
"overflow-x"))}).eq(0):this.parents().filter(
function(){
return/(
auto|scroll)/.test(a.css(
this,
"overflow")+a.css(
this,
"overflow-y")+a.css(
this,
"overflow-x"))}).eq(0),/fixed/.test(this.css(
"position"))||!b.length?a(
this[0].ownerDocument||c):b},uniqueId:function(){
return this.each(
function(){this.
id||(this.
id=
"ui-id-"+ ++f)})},removeUniqueId:
function(){
return this.each(
function(){g.test(this.
id)&&a(
this).removeAttr(
"id")})}}),a.extend(a.expr[
":"],{data:a.expr.createPseudo?a.expr.createPseudo(
function(b){
return function(c){
return!!a.data(c,b)}}):
function(b,c,d){
return!!a.data(b,d[3])},focusable:
function(b){
return d(b,!isNaN(a.attr(b,
"tabindex")))},tabbable:
function(b){var c=a.attr(b,
"tabindex"),e=isNaN(c);
return(e||c>=0)&&d(b,!e)}}),a(
"<a>").outerWidth(1).jquery||a.each([
"Width",
"Height"],
function(c,d){
function e(b,c,d,e){
return a.each(f,
function(){c-=parseFloat(a.css(b,
"padding"+
this))||0,d&&(c-=parseFloat(a.css(b,
"border"+
this+
"Width"))||0),e&&(c-=parseFloat(a.css(b,
"margin"+
this))||0)}),c}var f=
"Width"===d?[
"Left",
"Right"]:[
"Top",
"Bottom"],g=d.toLowerCase(),h={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};a.fn[
"inner"+d]=
function(c){
return c===b?h[
"inner"+d].call(
this):this.each(
function(){a(
this).css(g,e(
this,c)+
"px")})},a.fn[
"outer"+d]=
function(b,c){
return"number"!=typeof b?h[
"outer"+d].call(
this,b):this.each(
function(){a(
this).css(g,e(
this,b,!0,c)+
"px")})}}),a.fn.addBack||(a.fn.addBack=
function(a){
return this.add(null==a?this.prevObject:this.prevObject.filter(a))}),a(
"<a>").data(
"a-b",
"a").removeData(
"a-b").data(
"a-b")&&(a.fn.removeData=
function(b){
return function(c){
return arguments.length?b.call(
this,a.camelCase(c)):b.call(
this)}}(a.fn.removeData)),a.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),a.support.selectstart=
"onselectstart"in c.createElement(
"div"),a.fn.extend({disableSelection:
function(){
return this.bind((a.support.selectstart?
"selectstart":
"mousedown")+
".ui-disableSelection",
function(a){a.preventDefault()})},enableSelection:
function(){
return this.unbind(
".ui-disableSelection")},zIndex:
function(d){
if(d!==b)
return this.css(
"zIndex",d);
if(this.length)
for(var e,f,g=a(
this[0]);g.length&&g[0]!==c;){
if(e=g.css(
"position"),(
"absolute"===e||
"relative"===e||
"fixed"===e)&&(f=parseInt(g.css(
"zIndex"),10),!isNaN(f)&&0!==f))
return f;g=g.parent()}
return 0}}),a.ui.plugin={add:
function(b,c,d){var e,f=a.ui[b].prototype;
for(e in d)f.plugins[e]=f.plugins[e]||[],f.plugins[e].push([c,d[e]])},call:
function(a,b,c,d){var e,f=a.plugins[b];
if(f&&(d||a.element[0].parentNode&&11!==a.element[0].parentNode.nodeType))
for(e=0;e<f.length;e++)a.options[f[e][0]]&&f[e][1].apply(a.element,c)}}}(a),
function(a,b){var d=
function(b,c){var d=b.parent(),e=[],f=
function(){var b=a(
this),c=a.mobile.toolbar&&b.data(
"mobile-toolbar")?b.toolbar(
"option"):{position:b.attr(
"data-"+a.mobile.ns+
"position"),updatePagePadding:b.attr(
"data-"+a.mobile.ns+
"update-page-padding")!==!1};
return!(
"fixed"===c.position&&c.updatePagePadding===!0)},g=d.children(
":jqmData(role='header')").filter(f),h=b.children(
":jqmData(role='header')"),i=d.children(
":jqmData(role='footer')").filter(f),j=b.children(
":jqmData(role='footer')");
return 0===h.length&&g.length>0&&(e=e.concat(g.toArray())),0===j.length&&i.length>0&&(e=e.concat(i.toArray())),a.each(e,
function(b,d){c-=a(d).outerHeight()}),Math.max(0,c)};a.extend(a.mobile,{window:a(b),document:a(c),keyCode:a.ui.keyCode,behaviors:{},silentScroll:
function(c){
"number"!==a.type(c)&&(c=a.mobile.defaultHomeScroll),a.event.special.scrollstart.enabled=!1,setTimeout(
function(){b.scrollTo(0,c),a.mobile.document.trigger(
"silentscroll",{x:0,y:c})},20),setTimeout(
function(){a.event.special.scrollstart.enabled=!0},150)},getClosestBaseUrl:
function(b){var c=a(b).closest(
".ui-page").jqmData(
"url"),d=a.mobile.path.documentBase.hrefNoHash;
return a.mobile.dynamicBaseEnabled&&c&&a.mobile.path.isPath(c)||(c=d),a.mobile.path.makeUrlAbsolute(c,d)},removeActiveLinkClass:
function(b){!a.mobile.activeClickedLink||a.mobile.activeClickedLink.closest(
"."+a.mobile.activePageClass).length&&!b||a.mobile.activeClickedLink.removeClass(a.mobile.activeBtnClass),a.mobile.activeClickedLink=null},getInheritedTheme:
function(a,b){
for(var c,d,e=a[0],f=
"",g=/ui-(bar|body|overlay)-([a-z])\b/;e&&(c=e.className||
"",!(c&&(d=g.exec(c))&&(f=d[2])));)e=e.parentNode;
return f||b||
"a"},enhanceable:
function(a){
return this.haveParents(a,
"enhance")},hijackable:
function(a){
return this.haveParents(a,
"ajax")},haveParents:
function(b,c){
if(!a.mobile.ignoreContentEnabled)
return b;var d,e,f,g,h,i=b.length,j=a();
for(g=0;i>g;g++){
for(e=b.eq(g),f=!1,d=b[g];d;){
if(h=d.getAttribute?d.getAttribute(
"data-"+a.mobile.ns+c):
"",
"false"===h){f=!0;
break}d=d.parentNode}f||(j=j.add(e))}
return j},getScreenHeight:
function(){
return b.innerHeight||a.mobile.window.height()},resetActivePageHeight:
function(b){var c=a(
"."+a.mobile.activePageClass),e=c.height(),f=c.outerHeight(!0);b=d(c,
"number"==typeof b?b:a.mobile.getScreenHeight()),c.css(
"min-height",
""),c.height()<b&&c.css(
"min-height",b-(f-e))},loading:
function(){var b=this.loading._widget||a(a.mobile.loader.prototype.defaultHtml).loader(),c=b.loader.apply(b,arguments);
return this.loading._widget=b,c}}),a.addDependents=
function(b,c){var d=a(b),e=d.jqmData(
"dependents")||a();d.jqmData(
"dependents",a(e).add(c))},a.fn.extend({removeWithDependents:
function(){a.removeWithDependents(
this)},enhanceWithin:
function(){var b,c={},d=a.mobile.page.prototype.keepNativeSelector(),e=
this;a.mobile.nojs&&a.mobile.nojs(
this),a.mobile.links&&a.mobile.links(
this),a.mobile.degradeInputsWithin&&a.mobile.degradeInputsWithin(
this),a.fn.buttonMarkup&&this.find(a.fn.buttonMarkup.initSelector).not(d).jqmEnhanceable().buttonMarkup(),a.fn.fieldcontain&&this.find(
":jqmData(role='fieldcontain')").not(d).jqmEnhanceable().fieldcontain(),a.each(a.mobile.widgets,
function(b,f){
if(f.initSelector){var g=a.mobile.enhanceable(e.find(f.initSelector));g.length>0&&(g=g.not(d)),g.length>0&&(c[f.prototype.widgetName]=g)}});
for(b in c)c[b][b]();
return this},addDependents:
function(b){a.addDependents(
this,b)},getEncodedText:
function(){
return a(
"<a>").text(this.text()).html()},jqmEnhanceable:
function(){
return a.mobile.enhanceable(
this)},jqmHijackable:
function(){
return a.mobile.hijackable(
this)}}),a.removeWithDependents=
function(b){var c=a(b);(c.jqmData(
"dependents")||a()).
remove(),c.remove()},a.addDependents=
function(b,c){var d=a(b),e=d.jqmData(
"dependents")||a();d.jqmData(
"dependents",a(e).add(c))},a.find.matches=
function(b,c){
return a.find(b,null,null,c)},a.find.matchesSelector=
function(b,c){
return a.find(c,null,null,[b]).length>0}}(a,
this),
function(a){a.extend(a.mobile,{version:
"1.4.5",subPageUrlKey:
"ui-page",hideUrlBar:!0,keepNative:
":jqmData(role='none'), :jqmData(role='nojs')",activePageClass:
"ui-page-active",activeBtnClass:
"ui-btn-active",focusClass:
"ui-focus",ajaxEnabled:!0,hashListeningEnabled:!0,linkBindingEnabled:!0,defaultPageTransition:
"fade",maxTransitionWidth:!1,minScrollBack:0,defaultDialogTransition:
"pop",pageLoadErrorMessage:
"Error Loading Page",pageLoadErrorMessageTheme:
"a",phonegapNavigationEnabled:!1,autoInitializePage:!0,pushStateEnabled:!0,ignoreContentEnabled:!1,buttonMarkup:{hoverDelay:200},dynamicBaseEnabled:!0,pageContainer:a(),allowCrossDomainPages:!1,dialogHashKey:
"&ui-state=dialog"})}(a,
this),
function(a,b){var c=0,d=Array.prototype.slice,e=a.cleanData;a.cleanData=
function(b){
for(var c,d=0;null!=(c=b[d]);d++)
try{a(c).triggerHandler(
"remove")}
catch(f){}e(b)},a.widget=
function(b,c,d){var e,f,g,h,i={},j=b.split(
".")[0];
return b=b.split(
".")[1],e=j+
"-"+b,d||(d=c,c=a.Widget),a.expr[
":"][e.toLowerCase()]=
function(b){
return!!a.data(b,e)},a[j]=a[j]||{},f=a[j][b],g=a[j][b]=
function(a,b){
return this._createWidget?void(arguments.length&&
this._createWidget(a,b)):
new g(a,b)},a.extend(g,f,{version:d.version,_proto:a.extend({},d),_childConstructors:[]}),h=
new c,h.options=a.widget.extend({},h.options),a.each(d,
function(b,d){
return a.isFunction(d)?void(i[b]=
function(){var a=
function(){
return c.prototype[b].apply(
this,arguments)},e=
function(a){
return c.prototype[b].apply(
this,a)};
return function(){var b,c=this._super,f=this._superApply;
return this._super=a,this._superApply=e,b=d.apply(
this,arguments),this._super=c,this._superApply=f,b}}()):void(i[b]=d)}),g.prototype=a.widget.extend(h,{widgetEventPrefix:f?h.widgetEventPrefix||b:b},i,{constructor:g,
namespace:j,widgetName:b,widgetFullName:e}),f?(a.each(f._childConstructors,
function(b,c){var d=c.prototype;a.widget(d.namespace+
"."+d.widgetName,g,c._proto)}),
delete f._childConstructors):c._childConstructors.push(g),a.widget.bridge(b,g),g},a.widget.extend=
function(c){
for(var e,f,g=d.call(arguments,1),h=0,i=g.length;i>h;h++)
for(e in g[h])f=g[h][e],g[h].hasOwnProperty(e)&&f!==b&&(c[e]=a.isPlainObject(f)?a.isPlainObject(c[e])?a.widget.extend({},c[e],f):a.widget.extend({},f):f);
return c},a.widget.bridge=
function(c,e){var f=e.prototype.widgetFullName||c;a.fn[c]=
function(g){var h=
"string"==typeof g,i=d.call(arguments,1),j=
this;
return g=!h&&i.length?a.widget.extend.apply(null,[g].concat(i)):g,this.each(h?
function(){var d,e=a.data(
this,f);
return"instance"===g?(j=e,!1):e?a.isFunction(e[g])&&
"_"!==g.charAt(0)?(d=e[g].apply(e,i),d!==e&&d!==b?(j=d&&d.jquery?j.pushStack(d.get()):d,!1):void 0):a.error(
"no such method '"+g+
"' for "+c+
" widget instance"):a.error(
"cannot call methods on "+c+
" prior to initialization; attempted to call method '"+g+
"'")}:function(){var b=a.data(
this,f);b?b.option(g||{})._init():a.data(
this,f,
new e(g,
this))}),j}},a.Widget=
function(){},a.Widget._childConstructors=[],a.Widget.prototype={widgetName:
"widget",widgetEventPrefix:
"",defaultElement:
"<div>",options:{disabled:!1,create:null},_createWidget:
function(b,d){d=a(d||this.defaultElement||
this)[0],this.element=a(d),this.uuid=c++,this.eventNamespace=
"."+this.widgetName+this.uuid,this.options=a.widget.extend({},this.options,this._getCreateOptions(),b),this.bindings=a(),this.hoverable=a(),this.focusable=a(),d!==
this&&(a.data(d,this.widgetFullName,
this),this._on(!0,this.element,{
remove:
function(a){a.target===d&&this.destroy()}}),this.document=a(d.style?d.ownerDocument:d.document||d),this.window=a(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger(
"create",null,this._getCreateEventData()),this._init()},_getCreateOptions:a.noop,_getCreateEventData:a.noop,_create:a.noop,_init:a.noop,destroy:
function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(a.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:a.noop,widget:
function(){
return this.element},option:
function(c,d){var e,f,g,h=c;
if(0===arguments.length)
return a.widget.extend({},this.options);
if(
"string"==typeof c)
if(h={},e=c.split(
"."),c=e.shift(),e.length){
for(f=h[c]=a.widget.extend({},this.options[c]),g=0;g<e.length-1;g++)f[e[g]]=f[e[g]]||{},f=f[e[g]];
if(c=e.pop(),d===b)
return f[c]===b?null:f[c];f[c]=d}
else{
if(d===b)
return this.options[c]===b?null:this.options[c];h[c]=d}
return this._setOptions(h),
this},_setOptions:
function(a){var b;
for(b in a)this._setOption(b,a[b]);
return this},_setOption:
function(a,b){
return this.options[a]=b,
"disabled"===a&&(this.widget().toggleClass(this.widgetFullName+
"-disabled",!!b),this.hoverable.removeClass(
"ui-state-hover"),this.focusable.removeClass(
"ui-state-focus")),
this},enable:
function(){
return this._setOptions({disabled:!1})},disable:
function(){
return this._setOptions({disabled:!0})},_on:
function(b,c,d){var e,f=
this;
"boolean"!=typeof b&&(d=c,c=b,b=!1),d?(c=e=a(c),this.bindings=this.bindings.add(c)):(d=c,c=this.element,e=this.widget()),a.each(d,
function(d,g){
function h(){
return b||f.options.disabled!==!0&&!a(
this).hasClass(
"ui-state-disabled")?(
"string"==typeof g?f[g]:g).apply(f,arguments):
void 0}
"string"!=typeof g&&(h.guid=g.guid=g.guid||h.guid||a.guid++);var i=d.match(/^(\w+)\s*(.*)$/),j=i[1]+f.eventNamespace,k=i[2];k?e.delegate(k,j,h):c.bind(j,h)})},_off:
function(a,b){b=(b||
"").split(
" ").join(this.eventNamespace+
" ")+this.eventNamespace,a.unbind(b).undelegate(b)},_delay:
function(a,b){
function c(){
return(
"string"==typeof a?d[a]:a).apply(d,arguments)}var d=
this;
return setTimeout(c,b||0)},_hoverable:
function(b){this.hoverable=this.hoverable.add(b),this._on(b,{mouseenter:
function(b){a(b.currentTarget).addClass(
"ui-state-hover")},mouseleave:
function(b){a(b.currentTarget).removeClass(
"ui-state-hover")}})},_focusable:
function(b){this.focusable=this.focusable.add(b),this._on(b,{focusin:
function(b){a(b.currentTarget).addClass(
"ui-state-focus")},focusout:
function(b){a(b.currentTarget).removeClass(
"ui-state-focus")}})},_trigger:
function(b,c,d){var e,f,g=this.options[b];
if(d=d||{},c=a.Event(c),c.type=(b===this.widgetEventPrefix?b:this.widgetEventPrefix+b).toLowerCase(),c.target=this.element[0],f=c.originalEvent)
for(e in f)e in c||(c[e]=f[e]);
return this.element.trigger(c,d),!(a.isFunction(g)&&g.apply(this.element[0],[c].concat(d))===!1||c.isDefaultPrevented())}},a.each({show:
"fadeIn",hide:
"fadeOut"},
function(b,c){a.Widget.prototype[
"_"+b]=
function(d,e,f){
"string"==typeof e&&(e={effect:e});var g,h=e?e===!0||
"number"==typeof e?c:e.effect||c:b;e=e||{},
"number"==typeof e&&(e={duration:e}),g=!a.isEmptyObject(e),e.complete=f,e.delay&&d.delay(e.delay),g&&a.effects&&a.effects.effect[h]?d[b](e):h!==b&&d[h]?d[h](e.duration,e.easing,f):d.queue(function(c){a(
this)[b](),f&&f.call(d[0]),c()})}})}(a),
function(a,b,c){var d={},e=a.find,f=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,g=/:jqmData\(([^)]*)\)/g;a.extend(a.mobile,{ns:
"",getAttribute:
function(b,c){var d;b=b.jquery?b[0]:b,b&&b.getAttribute&&(d=b.getAttribute(
"data-"+a.mobile.ns+c));
try{d=
"true"===d?!0:
"false"===d?!1:
"null"===d?null:+d+
""===d?+d:f.test(d)?JSON.parse(d):d}
catch(e){}
return d},nsNormalizeDict:d,nsNormalize:
function(b){
return d[b]||(d[b]=a.camelCase(a.mobile.ns+b))},closestPageData:
function(a){
return a.closest(
":jqmData(role='page'), :jqmData(role='dialog')").data(
"mobile-page")}}),a.fn.jqmData=
function(b,d){var e;
return"undefined"!=typeof b&&(b&&(b=a.mobile.nsNormalize(b)),e=arguments.length<2||d===c?
this.data(b):this.data(b,d)),e},a.jqmData=
function(b,c,d){var e;
return"undefined"!=typeof c&&(e=a.data(b,c?a.mobile.nsNormalize(c):c,d)),e},a.fn.jqmRemoveData=
function(b){
return this.removeData(a.mobile.nsNormalize(b))},a.jqmRemoveData=
function(b,c){
return a.removeData(b,a.mobile.nsNormalize(c))},a.find=
function(b,c,d,f){
return b.indexOf(
":jqmData")>-1&&(b=b.replace(g,
"[data-"+(a.mobile.ns||
"")+
"$1]")),e.call(
this,b,c,d,f)},a.extend(a.find,e)}(a,
this),
function(a){var b=/[A-Z]/g,c=
function(a){
return"-"+a.toLowerCase()};a.extend(a.Widget.prototype,{_getCreateOptions:
function(){var d,e,f=
this.element[0],g={};
if(!a.mobile.getAttribute(f,
"defaults"))
for(d in this.options)e=a.mobile.getAttribute(f,d.replace(b,c)),null!=e&&(g[d]=e);
return g}}),a.mobile.widget=a.Widget}(a),
function(a){var b=
"ui-loader",c=a(
"html");a.widget(
"mobile.loader",{options:{theme:
"a",textVisible:!1,html:
"",text:
"loading"},defaultHtml:
"<div class='"+b+
"'><span class='ui-icon-loading'></span><h1></h1></div>",fakeFixLoader:
function(){var b=a(
"."+a.mobile.activeBtnClass).first();this.element.css({top:a.support.scrollTop&&this.window.scrollTop()+this.window.height()/2||b.length&&b.offset().top||100})},checkLoaderPosition:
function(){var b=this.element.offset(),c=this.window.scrollTop(),d=a.mobile.getScreenHeight();(b.top<c||b.top-c>d)&&(this.element.addClass(
"ui-loader-fakefix"),this.fakeFixLoader(),this.window.unbind(
"scroll",this.checkLoaderPosition).bind(
"scroll",a.proxy(
this.fakeFixLoader,
this)))},resetHtml:
function(){this.element.html(a(this.defaultHtml).html())},show:
function(d,e,f){var g,h,i;this.resetHtml(),
"object"===a.type(d)?(i=a.extend({},this.options,d),d=i.theme):(i=this.options,d=d||i.theme),h=e||(i.text===!1?
"":i.text),c.addClass(
"ui-loading"),g=i.textVisible,this.element.attr(
"class",b+
" ui-corner-all ui-body-"+d+
" ui-loader-"+(g||e||d.text?
"verbose":
"default")+(i.textonly||f?
" ui-loader-textonly":
"")),i.html?this.element.html(i.html):this.element.find(
"h1").text(h),this.element.appendTo(a(a.mobile.pagecontainer?
":mobile-pagecontainer":
"body")),this.checkLoaderPosition(),this.window.bind(
"scroll",a.proxy(
this.checkLoaderPosition,
this))},hide:
function(){c.removeClass(
"ui-loading"),this.options.text&&this.element.removeClass(
"ui-loader-fakefix"),this.window.unbind(
"scroll",this.fakeFixLoader),this.window.unbind(
"scroll",this.checkLoaderPosition)}})}(a,
this),
function(a,b,d){
"$:nomunge";
function e(a){
return a=a||location.href,
"#"+a.replace(/^[^#]*#?(.*)$/,
"$1")}var f,g=
"hashchange",h=c,i=a.event.special,j=h.documentMode,k=
"on"+g in b&&(j===d||j>7);a.fn[g]=
function(a){
return a?this.bind(g,a):this.trigger(g)},a.fn[g].delay=50,i[g]=a.extend(i[g],{setup:
function(){
return k?!1:
void a(f.start)},teardown:
function(){
return k?!1:
void a(f.stop)}}),f=
function(){
function c(){var d=e(),h=n(j);d!==j?(m(j=d,h),a(b).trigger(g)):h!==j&&(location.href=location.href.replace(/#.*/,
"")+h),f=setTimeout(c,a.fn[g].delay)}var f,i={},j=e(),l=
function(a){
return a},m=l,n=l;
return i.start=
function(){f||c()},i.stop=
function(){f&&clearTimeout(f),f=d},b.attachEvent&&!b.addEventListener&&!k&&
function(){var b,d;i.start=
function(){b||(d=a.fn[g].src,d=d&&d+e(),b=a(
'<iframe tabindex="-1" title="empty"/>').hide().one(
"load",
function(){d||m(e()),c()}).attr(
"src",d||
"javascript:0").insertAfter(
"body")[0].contentWindow,h.onpropertychange=
function(){
try{
"title"===
event.propertyName&&(b.document.title=h.title)}
catch(a){}})},i.stop=l,n=
function(){
return e(b.location.href)},m=
function(c,d){var e=b.document,f=a.fn[g].domain;c!==d&&(e.title=h.title,e.open(),f&&e.write(
'<script>document.domain="'+f+
'"</script>'),e.close(),b.location.hash=c)}}(),i}()}(a,
this),
function(a){b.matchMedia=b.matchMedia||
function(a){var b,c=a.documentElement,d=c.firstElementChild||c.firstChild,e=a.createElement(
"body"),f=a.createElement(
"div");
return f.id=
"mq-test-1",f.style.cssText=
"position:absolute;top:-100em",e.style.background=
"none",e.appendChild(f),
function(a){
return f.innerHTML=
'­<style media="'+a+
'"> #mq-test-1 { width: 42px; }</style>',c.insertBefore(e,d),b=42===f.offsetWidth,c.removeChild(e),{matches:b,media:a}}}(c),a.mobile.media=
function(a){
return b.matchMedia(a).matches}}(a),
function(a){var b={touch:
"ontouchend"in c};a.mobile.support=a.mobile.support||{},a.extend(a.support,b),a.extend(a.mobile.support,b)}(a),
function(a){a.extend(a.support,{orientation:
"orientation"in b&&
"onorientationchange"in b})}(a),
function(a,d){
function e(a){var b,c=a.charAt(0).toUpperCase()+a.substr(1),e=(a+
" "+o.join(c+
" ")+c).split(
" ");
for(b in e)
if(n[e[b]]!==d)
return!0}
function f(){var c=b,d=!(!c.document.createElementNS||!c.document.createElementNS(
"http://www.w3.org/2000/svg",
"svg").createSVGRect||c.opera&&-1===navigator.userAgent.indexOf(
"Chrome")),e=
function(b){b&&d||a(
"html").addClass(
"ui-nosvg")},f=
new c.Image;f.onerror=
function(){e(!1)},f.onload=
function(){e(1===f.width&&1===f.height)},f.src=
"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw=="}
function g(){var e,f,g,h=
"transform-3d",i=a.mobile.media(
"(-"+o.join(
"-"+h+
"),(-")+
"-"+h+
"),("+h+
")");
if(i)
return!!i;e=c.createElement(
"div"),f={MozTransform:
"-moz-transform",transform:
"transform"},m.append(e);
for(g in f)e.style[g]!==d&&(e.style[g]=
"translate3d( 100px, 1px, 1px )",i=b.getComputedStyle(e).getPropertyValue(f[g]));
return!!i&&
"none"!==i}
function h(){var b,c,d=location.protocol+
"//"+location.host+location.pathname+
"ui-dir/",e=a(
"head base"),f=null,g=
"";
return e.length?g=e.attr(
"href"):e=f=a(
"<base>",{href:d}).appendTo(
"head"),b=a(
"<a href='testurl' />").prependTo(m),c=b[0].href,e[0].href=g||location.pathname,f&&f.remove(),0===c.indexOf(d)}
function i(){var a,d=c.createElement(
"x"),e=c.documentElement,f=b.getComputedStyle;
return"pointerEvents"in d.style?(d.style.pointerEvents=
"auto",d.style.pointerEvents=
"x",e.appendChild(d),a=f&&
"auto"===f(d,
"").pointerEvents,e.removeChild(d),!!a):!1}
function j(){var a=c.createElement(
"div");
return"undefined"!=typeof a.getBoundingClientRect}
function k(){var a=b,c=navigator.userAgent,d=navigator.platform,e=c.match(/AppleWebKit\/([0-9]+)/),f=!!e&&e[1],g=c.match(/Fennec\/([0-9]+)/),h=!!g&&g[1],i=c.match(/Opera Mobi\/([0-9]+)/),j=!!i&&i[1];
return(d.indexOf(
"iPhone")>-1||d.indexOf(
"iPad")>-1||d.indexOf(
"iPod")>-1)&&f&&534>f||a.operamini&&
"[object OperaMini]"==={}.toString.call(a.operamini)||i&&7458>j||c.indexOf(
"Android")>-1&&f&&533>f||h&&6>h||
"palmGetResource"in b&&f&&534>f||c.indexOf(
"MeeGo")>-1&&c.indexOf(
"NokiaBrowser/8.5.0")>-1?!1:!0}var l,m=a(
"<body>").prependTo(
"html"),n=m[0].style,o=[
"Webkit",
"Moz",
"O"],p=
"palmGetResource"in b,q=b.operamini&&
"[object OperaMini]"==={}.toString.call(b.operamini),r=b.blackberry&&!e(
"-webkit-transform");a.extend(a.mobile,{browser:{}}),a.mobile.browser.oldIE=
function(){var a=3,b=c.createElement(
"div"),d=b.all||[];
do b.innerHTML=
"<!--[if gt IE "+ ++a+
"]><br><![endif]-->";
while(d[0]);
return a>4?a:!a}(),a.extend(a.support,{pushState:
"pushState"in history&&
"replaceState"in history&&!(b.navigator.userAgent.indexOf(
"Firefox")>=0&&b.top!==b)&&-1===b.navigator.userAgent.search(/CriOS/),mediaquery:a.mobile.media(
"only all"),cssPseudoElement:!!e(
"content"),touchOverflow:!!e(
"overflowScrolling"),cssTransform3d:g(),boxShadow:!!e(
"boxShadow")&&!r,fixedPosition:k(),scrollTop:(
"pageXOffset"in b||
"scrollTop"in c.documentElement||
"scrollTop"in m[0])&&!p&&!q,dynamicBaseTag:h(),cssPointerEvents:i(),boundingRect:j(),inlineSVG:f}),m.remove(),l=
function(){var a=b.navigator.userAgent;
return a.indexOf(
"Nokia")>-1&&(a.indexOf(
"Symbian/3")>-1||a.indexOf(
"Series60/5")>-1)&&a.indexOf(
"AppleWebKit")>-1&&a.match(/(BrowserNG|NokiaBrowser)\/7\.[0-3]/)}(),a.mobile.gradeA=
function(){
return(a.support.mediaquery&&a.support.cssPseudoElement||a.mobile.browser.oldIE&&a.mobile.browser.oldIE>=8)&&(a.support.boundingRect||null!==a.fn.jquery.match(/1\.[0-7+]\.[0-9+]?/))},a.mobile.ajaxBlacklist=b.blackberry&&!b.WebKitPoint||q||l,l&&a(
function(){a(
"head link[rel='stylesheet']").attr(
"rel",
"alternate stylesheet").attr(
"rel",
"stylesheet")}),a.support.boxShadow||a(
"html").addClass(
"ui-noboxshadow")}(a),
function(a,b){var c,d=a.mobile.window,e=
function(){};a.event.special.beforenavigate={setup:
function(){d.on(
"navigate",e)},teardown:
function(){d.off(
"navigate",e)}},a.event.special.navigate=c={bound:!1,pushStateEnabled:!0,originalEventName:b,isPushStateEnabled:
function(){
return a.support.pushState&&a.mobile.pushStateEnabled===!0&&this.isHashChangeEnabled()},isHashChangeEnabled:
function(){
return a.mobile.hashListeningEnabled===!0},popstate:
function(b){var c=
new a.Event(
"navigate"),e=
new a.Event(
"beforenavigate"),f=b.originalEvent.state||{};e.originalEvent=b,d.trigger(e),e.isDefaultPrevented()||(b.historyState&&a.extend(f,b.historyState),c.originalEvent=b,setTimeout(
function(){d.trigger(c,{state:f})},0))},hashchange:
function(b){var c=
new a.Event(
"navigate"),e=
new a.Event(
"beforenavigate");e.originalEvent=b,d.trigger(e),e.isDefaultPrevented()||(c.originalEvent=b,d.trigger(c,{state:b.hashchangeState||{}}))},setup:
function(){c.bound||(c.bound=!0,c.isPushStateEnabled()?(c.originalEventName=
"popstate",d.bind(
"popstate.navigate",c.popstate)):c.isHashChangeEnabled()&&(c.originalEventName=
"hashchange",d.bind(
"hashchange.navigate",c.hashchange)))}}}(a),
function(a,c){var d,e,f=
"&ui-state=dialog";a.mobile.path=d={uiStateKey:
"&ui-state",urlParseRE:/^\s*(((([^:\/#\?]+:)?(?:(\/\/)((?:(([^:@\/#\?]+)(?:\:([^:@\/#\?]+))?)@)?(([^:\/#\?\]\[]+|\[[^\/\]@#?]+\])(?:\:([0-9]+))?))?)?)?((\/?(?:[^\/\?#]+\/+)*)([^\?#]*)))?(\?[^#]+)?)(#.*)?/,getLocation:
function(a){var b=this.parseUrl(a||location.href),c=a?b:location,d=b.hash;
return d=
"#"===d?
"":d,c.protocol+b.doubleSlash+c.host+(
""!==c.protocol&&
"/"!==c.pathname.substring(0,1)?
"/":
"")+c.pathname+c.search+d},getDocumentUrl:
function(b){
return b?a.extend({},d.documentUrl):d.documentUrl.href},parseLocation:
function(){
return this.parseUrl(this.getLocation())},parseUrl:
function(b){
if(
"object"===a.type(b))
return b;var c=d.urlParseRE.exec(b||
"")||[];
return{href:c[0]||
"",hrefNoHash:c[1]||
"",hrefNoSearch:c[2]||
"",domain:c[3]||
"",protocol:c[4]||
"",doubleSlash:c[5]||
"",authority:c[6]||
"",username:c[8]||
"",password:c[9]||
"",host:c[10]||
"",hostname:c[11]||
"",port:c[12]||
"",pathname:c[13]||
"",directory:c[14]||
"",filename:c[15]||
"",search:c[16]||
"",hash:c[17]||
""}},makePathAbsolute:
function(a,b){var c,d,e,f;
if(a&&
"/"===a.charAt(0))
return a;
for(a=a||
"",b=b?b.replace(/^\/|(\/[^\/]*|[^\/]+)$/g,
""):
"",c=b?b.split(
"/"):[],d=a.split(
"/"),e=0;e<d.length;e++)
switch(f=d[e]){
case".":
break;
case"..":c.length&&c.pop();
break;
default:c.push(f)}
return"/"+c.join(
"/")},isSameDomain:
function(a,b){
return d.parseUrl(a).domain.toLowerCase()===d.parseUrl(b).domain.toLowerCase()},isRelativeUrl:
function(a){
return""===d.parseUrl(a).protocol},isAbsoluteUrl:
function(a){
return""!==d.parseUrl(a).protocol},makeUrlAbsolute:
function(a,b){
if(!d.isRelativeUrl(a))
return a;b===c&&(b=this.documentBase);var e=d.parseUrl(a),f=d.parseUrl(b),g=e.protocol||f.protocol,h=e.protocol?e.doubleSlash:e.doubleSlash||f.doubleSlash,i=e.authority||f.authority,j=
""!==e.pathname,k=d.makePathAbsolute(e.pathname||f.filename,f.pathname),l=e.search||!j&&f.search||
"",m=e.hash;
return g+h+i+k+l+m},addSearchParams:
function(b,c){var e=d.parseUrl(b),f=
"object"==typeof c?a.param(c):c,g=e.search||
"?";
return e.hrefNoSearch+g+(
"?"!==g.charAt(g.length-1)?
"&":
"")+f+(e.hash||
"")},convertUrlToDataUrl:
function(a){var c=a,e=d.parseUrl(a);
return d.isEmbeddedPage(e)?c=e.hash.split(f)[0].replace(/^#/,
"").replace(/\?.*$/,
""):d.isSameDomain(e,this.documentBase)&&(c=e.hrefNoHash.replace(this.documentBase.domain,
"").split(f)[0]),b.decodeURIComponent(c)},
get:
function(a){
return a===c&&(a=d.parseLocation().hash),d.stripHash(a).replace(/[^\/]*\.[^\