(function(){var a,b;(function(){var d={},e=[],g={};a=function(b){if(d[b]){if(b in g)throw"Cycle in require graph: "+(e.slice(g[b]).join("->")+"->"+b);}else throw"module "+b+" not found";if(d[b].factory)try{g[b]=e.length;e.push(b);var k=d[b],m=k.factory;k.exports={};delete k.factory;m(a,k.exports,k);return k.exports}finally{delete g[b],e.pop()}return d[b].exports};b=function(a,b){if(d[a])throw"module "+a+" already defined";d[a]={id:a,factory:b}};b.remove=function(a){delete d[a]}})();"object"===typeof module&&
"function"===typeof a&&(module.exports.require=a,module.exports.define=b);b("cordova",function(a,e,g){function h(a,b){var d=document.createEvent("Events");d.initEvent(a,!1,!1);if(b)for(var e in b)b.hasOwnProperty(e)&&(d[e]=b[e]);return d}var k=a("cordova/channel");document.addEventListener("DOMContentLoaded",function(){k.onDOMContentLoaded.fire()},!1);("complete"==document.readyState||"interactive"==document.readyState)&&k.onDOMContentLoaded.fire();var m=document.addEventListener,n=document.removeEventListener,
o=window.addEventListener,q=window.removeEventListener,s={},t={};document.addEventListener=function(a,b,d){var e=a.toLowerCase();"undefined"!=typeof s[e]?s[e].subscribe(b):m.call(document,a,b,d)};window.addEventListener=function(a,b,d){var e=a.toLowerCase();"undefined"!=typeof t[e]?t[e].subscribe(b):o.call(window,a,b,d)};document.removeEventListener=function(a,b,d){var e=a.toLowerCase();"undefined"!=typeof s[e]?s[e].unsubscribe(b):n.call(document,a,b,d)};window.removeEventListener=function(a,b,d){var e=
a.toLowerCase();"undefined"!=typeof t[e]?t[e].unsubscribe(b):q.call(window,a,b,d)};"undefined"===typeof window.console&&(window.console={log:function(){}});var u={define:b,require:a,addWindowEventHandler:function(a){return t[a]=k.create(a)},addStickyDocumentEventHandler:function(a){return s[a]=k.createSticky(a)},addDocumentEventHandler:function(a){return s[a]=k.create(a)},removeWindowEventHandler:function(a){delete t[a]},removeDocumentEventHandler:function(a){delete s[a]},getOriginalHandlers:function(){return{document:{addEventListener:m,
removeEventListener:n},window:{addEventListener:o,removeEventListener:q}}},fireDocumentEvent:function(a,b,d){var e=h(a,b);"undefined"!=typeof s[a]?d?s[a].fire(e):setTimeout(function(){s[a].fire(e)},0):document.dispatchEvent(e)},fireWindowEvent:function(a,b){var d=h(a,b);"undefined"!=typeof t[a]?setTimeout(function(){t[a].fire(d)},0):window.dispatchEvent(d)},callbackId:Math.floor(2E9*Math.random()),callbacks:{},callbackStatus:{NO_RESULT:0,OK:1,CLASS_NOT_FOUND_EXCEPTION:2,ILLEGAL_ACCESS_EXCEPTION:3,
INSTANTIATION_EXCEPTION:4,MALFORMED_URL_EXCEPTION:5,IO_EXCEPTION:6,INVALID_ACTION:7,JSON_EXCEPTION:8,ERROR:9},callbackSuccess:function(a,b){try{u.callbackFromNative(a,!0,b.status,b.message,b.keepCallback)}catch(d){console.log("Error in error callback: "+a+" = "+d)}},callbackError:function(a,b){try{u.callbackFromNative(a,!1,b.status,b.message,b.keepCallback)}catch(d){console.log("Error in error callback: "+a+" = "+d)}},callbackFromNative:function(a,b,d,e,g){var h=u.callbacks[a];h&&(b&&d==u.callbackStatus.OK?
h.success&&h.success(e):b||h.fail&&h.fail(e),g||delete u.callbacks[a])},addConstructor:function(a){k.onCordovaReady.subscribe(function(){try{a()}catch(b){console.log("Failed to run constructor: "+b)}})}};k.onPause=u.addDocumentEventHandler("pause");k.onResume=u.addDocumentEventHandler("resume");k.onDeviceReady=u.addStickyDocumentEventHandler("deviceready");g.exports=u});b("cordova/builder",function(a,b,g){function h(a,b,d){for(var e in a)a.hasOwnProperty(e)&&b.apply(d,[a[e],e])}function k(a,b,d,e){e?
o.defineGetter(a,b,function(){window.console&&console.log(e);return d}):a[b]=d}function m(b,e,g,u){h(e,function(e,h){try{var s=e.path?a(e.path):{};g?("undefined"===typeof b[h]?k(b,h,s,e.deprecated):"undefined"!==typeof e.path&&(u?n(b[h],s):k(b,h,s,e.deprecated)),s=b[h]):"undefined"==typeof b[h]?k(b,h,s,e.deprecated):u&&"undefined"!==typeof e.path?(n(s,b[h]),b[h]=s):s=b[h];e.children&&m(s,e.children,g,u)}catch(y){o.alert("Exception building cordova JS globals: "+y+' for key "'+h+'"')}})}function n(a,
b){for(var d in b)b.hasOwnProperty(d)&&("undefined"!==typeof a.prototype&&a.prototype.constructor===a?a.prototype[d]=b[d]:a[d]="object"===typeof b[d]?n(a[d],b[d]):b[d]);return a}var o=a("cordova/utils");g.exports={build:function(a){return{intoButDoNotClobber:function(b){m(b,a,!1,!1)},intoAndClobber:function(b){m(b,a,!0,!1)},intoAndMerge:function(b){m(b,a,!0,!0)}}}}});b("cordova/channel",function(a,b,g){function h(a){if("function"!=typeof a)throw"Function required as first argument!";}var k=a("cordova/utils"),
m=1,n=function(a,b){this.type=a;this.handlers={};this.state=b?1:0;this.fireArgs=null;this.numHandlers=0;this.onHasSubscribersChange=null},o={join:function(a,b){for(var d=b.length,e=d,g=function(){--e||a()},h=0;h<d;h++){if(0===b[h].state)throw Error("Can only use join with sticky channels.");b[h].subscribe(g)}d||a()},create:function(a){return o[a]=new n(a,!1)},createSticky:function(a){return o[a]=new n(a,!0)},deviceReadyChannelsArray:[],deviceReadyChannelsMap:{},waitForInitialization:function(a){if(a){var b=
o[a]||this.createSticky(a);this.deviceReadyChannelsMap[a]=b;this.deviceReadyChannelsArray.push(b)}},initializationComplete:function(a){(a=this.deviceReadyChannelsMap[a])&&a.fire()}};n.prototype.subscribe=function(a,b){h(a);if(2==this.state)a.apply(b||this,this.fireArgs);else{var d=a,e=a.observer_guid;"object"==typeof b&&(d=k.close(b,a));e||(e=""+m++);d.observer_guid=e;a.observer_guid=e;this.handlers[e]||(this.handlers[e]=d,this.numHandlers++,1==this.numHandlers&&this.onHasSubscribersChange&&this.onHasSubscribersChange())}};
n.prototype.unsubscribe=function(a){h(a);a=a.observer_guid;this.handlers[a]&&(delete this.handlers[a],this.numHandlers--,0===this.numHandlers&&this.onHasSubscribersChange&&this.onHasSubscribersChange())};n.prototype.fire=function(a){var b=Array.prototype.slice.call(arguments);1==this.state&&(this.state=2,this.fireArgs=b);if(this.numHandlers){var d=[],e;for(e in this.handlers)d.push(this.handlers[e]);for(e=0;e<d.length;++e)d[e].apply(this,b);2==this.state&&this.numHandlers&&(this.numHandlers=0,this.handlers=
{},this.onHasSubscribersChange&&this.onHasSubscribersChange())}};o.createSticky("onDOMContentLoaded");o.createSticky("onNativeReady");o.createSticky("onCordovaReady");o.createSticky("onCordovaInfoReady");o.createSticky("onCordovaConnectionReady");o.createSticky("onDeviceReady");o.create("onResume");o.create("onPause");o.createSticky("onDestroy");o.waitForInitialization("onCordovaReady");o.waitForInitialization("onCordovaConnectionReady");g.exports=o});b("cordova/commandProxy",function(a,b,g){var h=
{};g.exports={add:function(a,b){console.log("adding proxy for "+a);return h[a]=b},remove:function(a){var b=h[a];delete h[a];h[a]=null;return b},get:function(a,b){return h[a]?h[a][b]:null}}});b("cordova/common",function(a,b,g){g.exports={objects:{cordova:{path:"cordova",children:{exec:{path:"cordova/exec"},logger:{path:"cordova/plugin/logger"}}},Cordova:{children:{exec:{path:"cordova/exec"}}},navigator:{children:{notification:{path:"cordova/plugin/notification"},accelerometer:{path:"cordova/plugin/accelerometer"},
battery:{path:"cordova/plugin/battery"},camera:{path:"cordova/plugin/Camera"},compass:{path:"cordova/plugin/compass"},connection:{path:"cordova/plugin/network"},contacts:{path:"cordova/plugin/contacts"},device:{children:{capture:{path:"cordova/plugin/capture"}}},geolocation:{path:"cordova/plugin/geolocation"},globalization:{path:"cordova/plugin/globalization"},network:{children:{connection:{path:"cordova/plugin/network",deprecated:"navigator.network.connection is deprecated. Use navigator.connection instead."}}},
splashscreen:{path:"cordova/plugin/splashscreen"}}},Acceleration:{path:"cordova/plugin/Acceleration"},Camera:{path:"cordova/plugin/CameraConstants"},CameraPopoverOptions:{path:"cordova/plugin/CameraPopoverOptions"},CaptureError:{path:"cordova/plugin/CaptureError"},CaptureAudioOptions:{path:"cordova/plugin/CaptureAudioOptions"},CaptureImageOptions:{path:"cordova/plugin/CaptureImageOptions"},CaptureVideoOptions:{path:"cordova/plugin/CaptureVideoOptions"},CompassHeading:{path:"cordova/plugin/CompassHeading"},
CompassError:{path:"cordova/plugin/CompassError"},ConfigurationData:{path:"cordova/plugin/ConfigurationData"},Connection:{path:"cordova/plugin/Connection"},Contact:{path:"cordova/plugin/Contact"},ContactAddress:{path:"cordova/plugin/ContactAddress"},ContactError:{path:"cordova/plugin/ContactError"},ContactField:{path:"cordova/plugin/ContactField"},ContactFindOptions:{path:"cordova/plugin/ContactFindOptions"},ContactName:{path:"cordova/plugin/ContactName"},ContactOrganization:{path:"cordova/plugin/ContactOrganization"},
Coordinates:{path:"cordova/plugin/Coordinates"},device:{path:"cordova/plugin/device"},DirectoryEntry:{path:"cordova/plugin/DirectoryEntry"},DirectoryReader:{path:"cordova/plugin/DirectoryReader"},Entry:{path:"cordova/plugin/Entry"},File:{path:"cordova/plugin/File"},FileEntry:{path:"cordova/plugin/FileEntry"},FileError:{path:"cordova/plugin/FileError"},FileReader:{path:"cordova/plugin/FileReader"},FileSystem:{path:"cordova/plugin/FileSystem"},FileTransfer:{path:"cordova/plugin/FileTransfer"},FileTransferError:{path:"cordova/plugin/FileTransferError"},
FileUploadOptions:{path:"cordova/plugin/FileUploadOptions"},FileUploadResult:{path:"cordova/plugin/FileUploadResult"},FileWriter:{path:"cordova/plugin/FileWriter"},Flags:{path:"cordova/plugin/Flags"},GlobalizationError:{path:"cordova/plugin/GlobalizationError"},LocalFileSystem:{path:"cordova/plugin/LocalFileSystem"},Media:{path:"cordova/plugin/Media"},MediaError:{path:"cordova/plugin/MediaError"},MediaFile:{path:"cordova/plugin/MediaFile"},MediaFileData:{path:"cordova/plugin/MediaFileData"},Metadata:{path:"cordova/plugin/Metadata"},
Position:{path:"cordova/plugin/Position"},PositionError:{path:"cordova/plugin/PositionError"},ProgressEvent:{path:"cordova/plugin/ProgressEvent"},requestFileSystem:{path:"cordova/plugin/requestFileSystem"},resolveLocalFileSystemURI:{path:"cordova/plugin/resolveLocalFileSystemURI"}}}});b("cordova/exec",function(a,b,g){function h(a,b,d,e,g){void 0===u&&h.setJsToNativeBridgeMode(s.JS_OBJECT);var k=d+o.callbackId++,g=JSON.stringify(g),m;o.callbacks[k]={success:function(b){m=b;a&&a(b)},fail:b};u==s.LOCATION_CHANGE?
window.location="http://cdv_exec/"+d+"#"+e+"#"+k+"#"+g:(d=q.get().exec(d,e,k,g),h.processMessages(d));o.callbacks[k]&&(a||b?o.callbacks[k].success=a:delete o.callbacks[k]);return m}function k(){var a=q.get().retrieveJsMessages();h.processMessages(a)}function m(){w&&(k(),setTimeout(m,50))}function n(a){try{var b=a.charAt(0);if("J"==b)eval(a.slice(1));else if("S"==b||"F"==b){var b="S"==b,d="1"==a.charAt(1),e=a.indexOf(" ",2),g=+a.slice(2,e),h=a.indexOf(" ",e+1),k=a.slice(e+1,h),m=a.charAt(h+1),n;n=
"s"==m?a.slice(h+2):"t"==m?!0:"f"==m?!1:"N"==m?null:"n"==m?+a.slice(h+2):JSON.parse(a.slice(h+1));o.callbackFromNative(k,b,g,n,d)}else console.log("processMessage failed: invalid message:"+a)}catch(q){console.log("processMessage failed: Message: "+a),console.log("processMessage failed: Error: "+q),console.log("processMessage failed: Stack: "+q.stack)}}var o=a("cordova"),q=a("cordova/plugin/android/nativeapiprovider"),s={PROMPT:0,JS_OBJECT:1,LOCATION_CHANGE:2},t={POLLING:0,LOAD_URL:1,ONLINE_EVENT:2,
PRIVATE_API:3},u,v=t.ONLINE_EVENT,w=!1,x=[];(function(){function a(b){o.fireWindowEvent(b.type)}window.addEventListener("online",k,!1);window.addEventListener("offline",k,!1);o.addWindowEventHandler("online");o.addWindowEventHandler("offline");document.addEventListener("online",a,!1);document.addEventListener("offline",a,!1)})();h.jsToNativeModes=s;h.nativeToJsModes=t;h.setJsToNativeBridgeMode=function(a){a==s.JS_OBJECT&&!window._cordovaNative&&(console.log("Falling back on PROMPT mode since _cordovaNative is missing."),
a=s.PROMPT);q.setPreferPrompt(a==s.PROMPT);u=a};h.setNativeToJsBridgeMode=function(a){a!=v&&(v==t.POLLING&&(w=!1),v=a,q.get().setNativeToJsBridgeMode(a),a==t.POLLING&&(w=!0,setTimeout(m,1)))};h.processMessages=function(a){if(a)for(x.push(a);x.length;)if(a=x.shift(),"*"==a)window.setTimeout(k,0);else{var b=a.indexOf(" "),d=+a.slice(0,b),e=a.substr(b+1,d);(a=a.slice(b+d+1))&&x.unshift(a);e&&n(e)}};g.exports=h});b("cordova/platform",function(a,b,g){g.exports={id:"android",initialize:function(){var b=
a("cordova/channel"),e=a("cordova"),g=a("cordova/exec");e.addDocumentEventHandler("backbutton").onHasSubscribersChange=function(){g(null,null,"App","overrideBackbutton",[1==this.numHandlers])};e.addDocumentEventHandler("menubutton");e.addDocumentEventHandler("searchbutton");var n=a("cordova/plugin/android/storage");if("undefined"==typeof window.openDatabase)window.openDatabase=n.openDatabase;else{var o=window.openDatabase;window.openDatabase=function(a,b,d,e){var g=null;try{g=o(a,b,d,e)}catch(h){if(18===
h.code)g=null;else throw h;}return null===g?n.openDatabase(a,b,d,e):g}}if("undefined"==typeof window.localStorage||null===window.localStorage)window.localStorage=new n.CupcakeLocalStorage;b.join(function(){g(null,null,"App","show",[])},[b.onCordovaReady])},objects:{navigator:{children:{app:{path:"cordova/plugin/android/app"}}},File:{path:"cordova/plugin/File"},FileReader:{path:"cordova/plugin/FileReader"},FileError:{path:"cordova/plugin/FileError"},MediaError:{path:"cordova/plugin/MediaError"}},merges:{device:{path:"cordova/plugin/android/device"},
navigator:{children:{notification:{path:"cordova/plugin/android/notification"}}}}}});b("cordova/plugin/Acceleration",function(a,b,g){g.exports=function(a,b,d,e){this.x=a;this.y=b;this.z=d;this.timestamp=e||(new Date).getTime()}});b("cordova/plugin/Camera",function(a,b,g){var h=a("cordova/exec"),k=a("cordova/plugin/CameraConstants"),a={},m;for(m in k)a[m]=k[m];a.getPicture=function(a,b,d){d=d||{};if("function"!=typeof a)console.log("Camera Error: successCallback is not a function");else if(b&&"function"!=
typeof b)console.log("Camera Error: errorCallback is not a function");else{var e=50;if("number"==typeof d.quality)e=d.quality;else if("string"==typeof d.quality){var g=parseInt(d.quality,10);!1===isNaN(g)&&(e=g.valueOf())}g=k.DestinationType.FILE_URI;"number"==typeof d.destinationType&&(g=d.destinationType);var m=k.PictureSourceType.CAMERA;"number"==typeof d.sourceType&&(m=d.sourceType);var v=-1;if("number"==typeof d.targetWidth)v=d.targetWidth;else if("string"==typeof d.targetWidth){var w=parseInt(d.targetWidth,
10);!1===isNaN(w)&&(v=w.valueOf())}w=-1;if("number"==typeof d.targetHeight)w=d.targetHeight;else if("string"==typeof d.targetHeight){var x=parseInt(d.targetHeight,10);!1===isNaN(x)&&(w=x.valueOf())}x=k.EncodingType.JPEG;"number"==typeof d.encodingType&&(x=d.encodingType);var y=k.MediaType.PICTURE;"number"==typeof d.mediaType&&(y=d.mediaType);var z=!1;"boolean"==typeof d.allowEdit?z=d.allowEdit:"number"==typeof d.allowEdit&&(z=0>=d.allowEdit?!1:!0);var A=!1;"boolean"==typeof d.correctOrientation?A=
d.correctOrientation:"number"==typeof d.correctOrientation&&(A=0>=d.correctOrientation?!1:!0);var E=!1;"boolean"==typeof d.saveToPhotoAlbum?E=d.saveToPhotoAlbum:"number"==typeof d.saveToPhotoAlbum&&(E=0>=d.saveToPhotoAlbum?!1:!0);var C=null;"object"==typeof d.popoverOptions&&(C=d.popoverOptions);h(a,b,"Camera","takePicture",[e,g,m,v,w,x,y,z,A,E,C])}};a.cleanup=function(a,b){h(a,b,"Camera","cleanup",[])};g.exports=a});b("cordova/plugin/CameraConstants",function(a,b,g){g.exports={DestinationType:{DATA_URL:0,
FILE_URI:1},EncodingType:{JPEG:0,PNG:1},MediaType:{PICTURE:0,VIDEO:1,ALLMEDIA:2},PictureSourceType:{PHOTOLIBRARY:0,CAMERA:1,SAVEDPHOTOALBUM:2},PopoverArrowDirection:{ARROW_UP:1,ARROW_DOWN:2,ARROW_LEFT:4,ARROW_RIGHT:8,ARROW_ANY:15}}});b("cordova/plugin/CameraPopoverOptions",function(a,b,g){var h=a("cordova/plugin/CameraConstants");g.exports=function(a,b,d,e,g){this.x=a||0;this.y=b||32;this.width=d||320;this.height=e||480;this.arrowDir=g||h.PopoverArrowDirection.ARROW_ANY}});b("cordova/plugin/CaptureAudioOptions",
function(a,b,g){g.exports=function(){this.limit=1;this.duration=0;this.mode=null}});b("cordova/plugin/CaptureError",function(a,b,g){a=function(a){this.code=a||null};a.CAPTURE_INTERNAL_ERR=0;a.CAPTURE_APPLICATION_BUSY=1;a.CAPTURE_INVALID_ARGUMENT=2;a.CAPTURE_NO_MEDIA_FILES=3;a.CAPTURE_NOT_SUPPORTED=20;g.exports=a});b("cordova/plugin/CaptureImageOptions",function(a,b,g){g.exports=function(){this.limit=1;this.mode=null}});b("cordova/plugin/CaptureVideoOptions",function(a,b,g){g.exports=function(){this.limit=
1;this.duration=0;this.mode=null}});b("cordova/plugin/CompassError",function(a,b,g){a=function(a){this.code=void 0!==a?a:null};a.COMPASS_INTERNAL_ERR=0;a.COMPASS_NOT_SUPPORTED=20;g.exports=a});b("cordova/plugin/CompassHeading",function(a,b,g){g.exports=function(a,b,d,e){this.magneticHeading=void 0!==a?a:null;this.trueHeading=void 0!==b?b:null;this.headingAccuracy=void 0!==d?d:null;this.timestamp=void 0!==e?e:(new Date).getTime()}});b("cordova/plugin/ConfigurationData",function(a,b,g){g.exports=function(){this.type=
null;this.width=this.height=0}});b("cordova/plugin/Connection",function(a,b,g){g.exports={UNKNOWN:"unknown",ETHERNET:"ethernet",WIFI:"wifi",CELL_2G:"2g",CELL_3G:"3g",CELL_4G:"4g",NONE:"none"}});b("cordova/plugin/Contact",function(a,b,g){function h(a){var b=a.birthday;if(null!==b){if(!n.isDate(b))try{b=new Date(b)}catch(d){b=null}n.isDate(b)&&(b=b.valueOf());a.birthday=b}return a}var k=a("cordova/exec"),m=a("cordova/plugin/ContactError"),n=a("cordova/utils"),b=function(a,b,d,e,g,h,k,m,n,z,A,E,C,F){this.id=
a||null;this.rawId=null;this.displayName=b||null;this.name=d||null;this.nickname=e||null;this.phoneNumbers=g||null;this.emails=h||null;this.addresses=k||null;this.ims=m||null;this.organizations=n||null;this.birthday=z||null;this.note=A||null;this.photos=E||null;this.categories=C||null;this.urls=F||null};b.prototype.remove=function(a,b){var d=function(a){b(new m(a))};null===this.id?d(m.UNKNOWN_ERROR):k(a,d,"Contacts","remove",[this.id])};b.prototype.clone=function(){var a=n.clone(this),b;a.id=null;
a.rawId=null;if(a.phoneNumbers)for(b=0;b<a.phoneNumbers.length;b++)a.phoneNumbers[b].id=null;if(a.emails)for(b=0;b<a.emails.length;b++)a.emails[b].id=null;if(a.addresses)for(b=0;b<a.addresses.length;b++)a.addresses[b].id=null;if(a.ims)for(b=0;b<a.ims.length;b++)a.ims[b].id=null;if(a.organizations)for(b=0;b<a.organizations.length;b++)a.organizations[b].id=null;if(a.categories)for(b=0;b<a.categories.length;b++)a.categories[b].id=null;if(a.photos)for(b=0;b<a.photos.length;b++)a.photos[b].id=null;if(a.urls)for(b=
0;b<a.urls.length;b++)a.urls[b].id=null;return a};b.prototype.save=function(b,e){var g=function(a){e(new m(a))},t=h(n.clone(this));k(function(e){if(e){if("function"===typeof b){var e=a("cordova/plugin/contacts").create(e),h=e.birthday;try{e.birthday=new Date(parseFloat(h))}catch(k){console.log("Cordova Contact convertIn error: exception creating date.")}b(e)}}else g(m.UNKNOWN_ERROR)},g,"Contacts","save",[t])};g.exports=b});b("cordova/plugin/ContactAddress",function(a,b,g){g.exports=function(a,b,d,
e,g,q,s,t){this.id=null;this.pref="undefined"!=typeof a?a:!1;this.type=b||null;this.formatted=d||null;this.streetAddress=e||null;this.locality=g||null;this.region=q||null;this.postalCode=s||null;this.country=t||null}});b("cordova/plugin/ContactError",function(a,b,g){a=function(a){this.code="undefined"!=typeof a?a:null};a.UNKNOWN_ERROR=0;a.INVALID_ARGUMENT_ERROR=1;a.TIMEOUT_ERROR=2;a.PENDING_OPERATION_ERROR=3;a.IO_ERROR=4;a.NOT_SUPPORTED_ERROR=5;a.PERMISSION_DENIED_ERROR=20;g.exports=a});b("cordova/plugin/ContactField",
function(a,b,g){g.exports=function(a,b,d){this.id=null;this.type=a&&a.toString()||null;this.value=b&&b.toString()||null;this.pref="undefined"!=typeof d?d:!1}});b("cordova/plugin/ContactFindOptions",function(a,b,g){g.exports=function(a,b){this.filter=a||"";this.multiple="undefined"!=typeof b?b:!1}});b("cordova/plugin/ContactName",function(a,b,g){g.exports=function(a,b,d,e,g,q){this.formatted=a||null;this.familyName=b||null;this.givenName=d||null;this.middleName=e||null;this.honorificPrefix=g||null;
this.honorificSuffix=q||null}});b("cordova/plugin/ContactOrganization",function(a,b,g){g.exports=function(a,b,d,e,g){this.id=null;this.pref="undefined"!=typeof a?a:!1;this.type=b||null;this.name=d||null;this.department=e||null;this.title=g||null}});b("cordova/plugin/Coordinates",function(a,b,g){g.exports=function(a,b,d,e,g,q,s){this.latitude=a;this.longitude=b;this.accuracy=e;this.altitude=void 0!==d?d:null;this.heading=void 0!==g?g:null;this.speed=void 0!==q?q:null;if(0===this.speed||null===this.speed)this.heading=
NaN;this.altitudeAccuracy=void 0!==s?s:null}});b("cordova/plugin/DirectoryEntry",function(a,b,g){var b=a("cordova/utils"),h=a("cordova/exec"),k=a("cordova/plugin/Entry"),m=a("cordova/plugin/FileError"),n=a("cordova/plugin/DirectoryReader"),o=function(a,b){o.__super__.constructor.apply(this,[!1,!0,a,b])};b.extend(o,k);o.prototype.createReader=function(){return new n(this.fullPath)};o.prototype.getDirectory=function(a,b,d,e){h("function"!==typeof d?null:function(a){a=new o(a.name,a.fullPath);d(a)},
"function"!==typeof e?null:function(a){e(new m(a))},"File","getDirectory",[this.fullPath,a,b])};o.prototype.removeRecursively=function(a,b){h(a,"function"!==typeof b?null:function(a){b(new m(a))},"File","removeRecursively",[this.fullPath])};o.prototype.getFile=function(b,e,g,k){h("function"!==typeof g?null:function(b){b=new (a("cordova/plugin/FileEntry"))(b.name,b.fullPath);g(b)},"function"!==typeof k?null:function(a){k(new m(a))},"File","getFile",[this.fullPath,b,e])};g.exports=o});b("cordova/plugin/DirectoryReader",
function(a,b,g){function h(a){this.path=a||null}var k=a("cordova/exec"),m=a("cordova/plugin/FileError");h.prototype.readEntries=function(b,e){k("function"!==typeof b?null:function(e){for(var g=[],h=0;h<e.length;h++){var k=null;e[h].isDirectory?k=new (a("cordova/plugin/DirectoryEntry")):e[h].isFile&&(k=new (a("cordova/plugin/FileEntry")));k.isDirectory=e[h].isDirectory;k.isFile=e[h].isFile;k.name=e[h].name;k.fullPath=e[h].fullPath;g.push(k)}b(g)},"function"!==typeof e?null:function(a){e(new m(a))},
"File","readEntries",[this.path])};g.exports=h});b("cordova/plugin/Entry",function(a,b,g){function h(a,b,d,e,g){this.isFile="undefined"!=typeof a?a:!1;this.isDirectory="undefined"!=typeof b?b:!1;this.name=d||"";this.fullPath=e||"";this.filesystem=g||null}var k=a("cordova/exec"),m=a("cordova/plugin/FileError"),n=a("cordova/plugin/Metadata");h.prototype.getMetadata=function(a,b){k("function"!==typeof a?null:function(b){b=new n(b);a(b)},"function"!==typeof b?null:function(a){b(new m(a))},"File","getMetadata",
[this.fullPath])};h.prototype.setMetadata=function(a,b,d){k(a,b,"File","setMetadata",[this.fullPath,d])};h.prototype.moveTo=function(b,e,g,h){var n=function(a){"function"===typeof h&&h(new m(a))};b?k(function(b){if(b){if("function"===typeof g){b=b.isDirectory?new (a("cordova/plugin/DirectoryEntry"))(b.name,b.fullPath):new (a("cordova/plugin/FileEntry"))(b.name,b.fullPath);try{g(b)}catch(e){console.log("Error invoking callback: "+e)}}}else n(m.NOT_FOUND_ERR)},n,"File","moveTo",[this.fullPath,b.fullPath,
e||this.name]):n(m.NOT_FOUND_ERR)};h.prototype.copyTo=function(b,e,g,h){var n=function(a){"function"===typeof h&&h(new m(a))};b?k(function(b){if(b){if("function"===typeof g){b=b.isDirectory?new (a("cordova/plugin/DirectoryEntry"))(b.name,b.fullPath):new (a("cordova/plugin/FileEntry"))(b.name,b.fullPath);try{g(b)}catch(e){console.log("Error invoking callback: "+e)}}}else n(m.NOT_FOUND_ERR)},n,"File","copyTo",[this.fullPath,b.fullPath,e||this.name]):n(m.NOT_FOUND_ERR)};h.prototype.toURL=function(){return this.fullPath};
h.prototype.toURI=function(){console.log("DEPRECATED: Update your code to use 'toURL'");return this.toURL()};h.prototype.remove=function(a,b){k(a,"function"!==typeof b?null:function(a){b(new m(a))},"File","remove",[this.fullPath])};h.prototype.getParent=function(b,e){k("function"!==typeof b?null:function(e){e=new (a("cordova/plugin/DirectoryEntry"))(e.name,e.fullPath);b(e)},"function"!==typeof e?null:function(a){e(new m(a))},"File","getParent",[this.fullPath])};g.exports=h});b("cordova/plugin/File",
function(a,b,g){g.exports=function(a,b,d,e,g){this.name=a||"";this.fullPath=b||null;this.type=d||null;this.lastModifiedDate=e||null;this.size=g||0}});b("cordova/plugin/FileEntry",function(a,b,g){var b=a("cordova/utils"),h=a("cordova/exec"),k=a("cordova/plugin/Entry"),m=a("cordova/plugin/FileWriter"),n=a("cordova/plugin/File"),o=a("cordova/plugin/FileError"),q=function(a,b){q.__super__.constructor.apply(this,[!0,!1,a,b])};b.extend(q,k);q.prototype.createWriter=function(a,b){this.file(function(d){d=
new m(d);null===d.fileName||""===d.fileName?"function"===typeof b&&b(new o(o.INVALID_STATE_ERR)):"function"===typeof a&&a(d)},b)};q.prototype.file=function(a,b){h("function"!==typeof a?null:function(b){b=new n(b.name,b.fullPath,b.type,b.lastModifiedDate,b.size);a(b)},"function"!==typeof b?null:function(a){b(new o(a))},"File","getFileMetadata",[this.fullPath])};g.exports=q});b("cordova/plugin/FileError",function(a,b,g){function h(a){this.code=a||null}h.NOT_FOUND_ERR=1;h.SECURITY_ERR=2;h.ABORT_ERR=
3;h.NOT_READABLE_ERR=4;h.ENCODING_ERR=5;h.NO_MODIFICATION_ALLOWED_ERR=6;h.INVALID_STATE_ERR=7;h.SYNTAX_ERR=8;h.INVALID_MODIFICATION_ERR=9;h.QUOTA_EXCEEDED_ERR=10;h.TYPE_MISMATCH_ERR=11;h.PATH_EXISTS_ERR=12;g.exports=h});b("cordova/plugin/FileReader",function(a,b,g){var h=a("cordova/exec"),k=a("cordova/plugin/FileError"),m=a("cordova/plugin/ProgressEvent"),n=function(){this.fileName="";this.readyState=0;this.onabort=this.onloadend=this.onerror=this.onload=this.onprogress=this.onloadstart=this.error=
this.result=null};n.EMPTY=0;n.LOADING=1;n.DONE=2;n.prototype.abort=function(){this.result=null;if(!(this.readyState==n.DONE||this.readyState==n.EMPTY)){this.readyState=n.DONE;if("function"===typeof this.onabort)this.onabort(new m("abort",{target:this}));if("function"===typeof this.onloadend)this.onloadend(new m("loadend",{target:this}))}};n.prototype.readAsText=function(a,b){this.fileName="";this.fileName="undefined"===typeof a.fullPath?a:a.fullPath;if(this.readyState==n.LOADING)throw new k(k.INVALID_STATE_ERR);
this.readyState=n.LOADING;if("function"===typeof this.onloadstart)this.onloadstart(new m("loadstart",{target:this}));var d=this;h(function(a){if(d.readyState!==n.DONE){d.result=a;if("function"===typeof d.onload)d.onload(new m("load",{target:d}));d.readyState=n.DONE;if("function"===typeof d.onloadend)d.onloadend(new m("loadend",{target:d}))}},function(a){if(d.readyState!==n.DONE){d.readyState=n.DONE;d.result=null;d.error=new k(a);if("function"===typeof d.onerror)d.onerror(new m("error",{target:d}));
if("function"===typeof d.onloadend)d.onloadend(new m("loadend",{target:d}))}},"File","readAsText",[this.fileName,b?b:"UTF-8"])};n.prototype.readAsDataURL=function(a){this.fileName="";this.fileName="undefined"===typeof a.fullPath?a:a.fullPath;if(this.readyState==n.LOADING)throw new k(k.INVALID_STATE_ERR);this.readyState=n.LOADING;if("function"===typeof this.onloadstart)this.onloadstart(new m("loadstart",{target:this}));var b=this;h(function(a){if(b.readyState!==n.DONE){b.readyState=n.DONE;b.result=
a;if("function"===typeof b.onload)b.onload(new m("load",{target:b}));if("function"===typeof b.onloadend)b.onloadend(new m("loadend",{target:b}))}},function(a){if(b.readyState!==n.DONE){b.readyState=n.DONE;b.result=null;b.error=new k(a);if("function"===typeof b.onerror)b.onerror(new m("error",{target:b}));if("function"===typeof b.onloadend)b.onloadend(new m("loadend",{target:b}))}},"File","readAsDataURL",[this.fileName])};n.prototype.readAsBinaryString=function(){console.log('method "readAsBinaryString" is not supported at this time.')};
n.prototype.readAsArrayBuffer=function(){console.log("This method is not supported at this time.")};g.exports=n});b("cordova/plugin/FileSystem",function(a,b,g){var h=a("cordova/plugin/DirectoryEntry");g.exports=function(a,b){this.name=a||null;b&&(this.root=new h(b.name,b.fullPath))}});b("cordova/plugin/FileTransfer",function(a,b,g){function h(a){var b=new n;b.lengthComputable=a.lengthComputable;b.loaded=a.loaded;b.total=a.total;return b}var k=a("cordova/exec"),m=a("cordova/plugin/FileTransferError"),
n=a("cordova/plugin/ProgressEvent"),o=0,b=function(){this._id=++o;this.onprogress=null};b.prototype.upload=function(a,b,d,e,g,n){if(!a||!b)throw Error("FileTransfer.upload requires filePath and server URL parameters at the minimum.");var o=null,y=null,z=null,A=null,E=!0,C=null;if(g){o=g.fileKey;y=g.fileName;z=g.mimeType;C=g.headers;if(null!==g.chunkedMode||"undefined"!=typeof g.chunkedMode)E=g.chunkedMode;A=g.params?g.params:{}}var F=this;k(function(a){if("undefined"!=typeof a.lengthComputable){if(F.onprogress)return F.onprogress(h(a))}else return d(a)},
function(a){a=new m(a.code,a.source,a.target,a.http_status);e(a)},"FileTransfer","upload",[a,b,o,y,z,A,n,E,C,this._id])};b.prototype.download=function(b,e,g,n,o){if(!b||!e)throw Error("FileTransfer.download requires source URI and target URI parameters at the minimum.");var w=this;k(function(b){if("undefined"!=typeof b.lengthComputable){if(w.onprogress)return w.onprogress(h(b))}else{var e=null;b.isDirectory?e=new (a("cordova/plugin/DirectoryEntry")):b.isFile&&(e=new (a("cordova/plugin/FileEntry")));
e.isDirectory=b.isDirectory;e.isFile=b.isFile;e.name=b.name;e.fullPath=b.fullPath;g(e)}},function(a){a=new m(a.code,a.source,a.target,a.http_status);n(a)},"FileTransfer","download",[b,e,o,this._id])};b.prototype.abort=function(a,b){k(a,b,"FileTransfer","abort",[this._id])};g.exports=b});b("cordova/plugin/FileTransferError",function(a,b,g){a=function(a,b,d,e){this.code=a||null;this.source=b||null;this.target=d||null;this.http_status=e||null};a.FILE_NOT_FOUND_ERR=1;a.INVALID_URL_ERR=2;a.CONNECTION_ERR=
3;a.ABORT_ERR=4;g.exports=a});b("cordova/plugin/FileUploadOptions",function(a,b,g){g.exports=function(a,b,d,e,g){this.fileKey=a||null;this.fileName=b||null;this.mimeType=d||null;this.params=e||null;this.headers=g||null}});b("cordova/plugin/FileUploadResult",function(a,b,g){g.exports=function(){this.bytesSent=0;this.response=this.responseCode=null}});b("cordova/plugin/FileWriter",function(a,b,g){var h=a("cordova/exec"),k=a("cordova/plugin/FileError"),m=a("cordova/plugin/ProgressEvent"),n=function(a){this.fileName=
"";this.length=0;a&&(this.fileName=a.fullPath||a,this.length=a.size||0);this.readyState=this.position=0;this.onerror=this.onabort=this.onwriteend=this.onwrite=this.onprogress=this.onwritestart=this.error=this.result=null};n.INIT=0;n.WRITING=1;n.DONE=2;n.prototype.abort=function(){if(this.readyState===n.DONE||this.readyState===n.INIT)throw new k(k.INVALID_STATE_ERR);this.error=new k(k.ABORT_ERR);this.readyState=n.DONE;if("function"===typeof this.onabort)this.onabort(new m("abort",{target:this}));if("function"===
typeof this.onwriteend)this.onwriteend(new m("writeend",{target:this}))};n.prototype.write=function(a){if(this.readyState===n.WRITING)throw new k(k.INVALID_STATE_ERR);this.readyState=n.WRITING;var b=this;if("function"===typeof b.onwritestart)b.onwritestart(new m("writestart",{target:b}));h(function(a){if(b.readyState!==n.DONE){b.position+=a;b.length=b.position;b.readyState=n.DONE;if("function"===typeof b.onwrite)b.onwrite(new m("write",{target:b}));if("function"===typeof b.onwriteend)b.onwriteend(new m("writeend",
{target:b}))}},function(a){if(b.readyState!==n.DONE){b.readyState=n.DONE;b.error=new k(a);if("function"===typeof b.onerror)b.onerror(new m("error",{target:b}));if("function"===typeof b.onwriteend)b.onwriteend(new m("writeend",{target:b}))}},"File","write",[this.fileName,a,this.position])};n.prototype.seek=function(a){if(this.readyState===n.WRITING)throw new k(k.INVALID_STATE_ERR);if(a||0===a)this.position=0>a?Math.max(a+this.length,0):a>this.length?this.length:a};n.prototype.truncate=function(a){if(this.readyState===
n.WRITING)throw new k(k.INVALID_STATE_ERR);this.readyState=n.WRITING;var b=this;if("function"===typeof b.onwritestart)b.onwritestart(new m("writestart",{target:this}));h(function(a){if(b.readyState!==n.DONE){b.readyState=n.DONE;b.length=a;b.position=Math.min(b.position,a);if("function"===typeof b.onwrite)b.onwrite(new m("write",{target:b}));if("function"===typeof b.onwriteend)b.onwriteend(new m("writeend",{target:b}))}},function(a){if(b.readyState!==n.DONE){b.readyState=n.DONE;b.error=new k(a);if("function"===
typeof b.onerror)b.onerror(new m("error",{target:b}));if("function"===typeof b.onwriteend)b.onwriteend(new m("writeend",{target:b}))}},"File","truncate",[this.fileName,a])};g.exports=n});b("cordova/plugin/Flags",function(a,b,g){g.exports=function(a,b){this.create=a||!1;this.exclusive=b||!1}});b("cordova/plugin/GlobalizationError",function(a,b,g){a=function(a,b){this.code=a||null;this.message=b||""};a.UNKNOWN_ERROR=0;a.FORMATTING_ERROR=1;a.PARSING_ERROR=2;a.PATTERN_ERROR=3;g.exports=a});b("cordova/plugin/LocalFileSystem",
function(a,b,g){a("cordova/exec");a=function(){};a.TEMPORARY=0;a.PERSISTENT=1;g.exports=a});b("cordova/plugin/Media",function(a,b,g){var h=a("cordova/utils"),k=a("cordova/exec"),m={},n=function(a,b,d,e){b&&"function"!==typeof b?console.log("Media Error: successCallback is not a function"):d&&"function"!==typeof d?console.log("Media Error: errorCallback is not a function"):e&&"function"!==typeof e?console.log("Media Error: statusCallback is not a function"):(this.id=h.createUUID(),m[this.id]=this,
this.src=a,this.successCallback=b,this.errorCallback=d,this.statusCallback=e,this._position=this._duration=-1,k(null,this.errorCallback,"Media","create",[this.id,this.src]))};n.MEDIA_STATE=1;n.MEDIA_DURATION=2;n.MEDIA_POSITION=3;n.MEDIA_ERROR=9;n.MEDIA_NONE=0;n.MEDIA_STARTING=1;n.MEDIA_RUNNING=2;n.MEDIA_PAUSED=3;n.MEDIA_STOPPED=4;n.MEDIA_MSG=["None","Starting","Running","Paused","Stopped"];n.get=function(a){return m[a]};n.prototype.play=function(a){k(null,null,"Media","startPlayingAudio",[this.id,
this.src,a])};n.prototype.stop=function(){var a=this;k(function(){a._position=0},this.errorCallback,"Media","stopPlayingAudio",[this.id])};n.prototype.seekTo=function(a){var b=this;k(function(a){b._position=a},this.errorCallback,"Media","seekToAudio",[this.id,a])};n.prototype.pause=function(){k(null,this.errorCallback,"Media","pausePlayingAudio",[this.id])};n.prototype.getDuration=function(){return this._duration};n.prototype.getCurrentPosition=function(a,b){var d=this;k(function(b){d._position=b;
a(b)},b,"Media","getCurrentPositionAudio",[this.id])};n.prototype.startRecord=function(){k(null,this.errorCallback,"Media","startRecordingAudio",[this.id,this.src])};n.prototype.stopRecord=function(){k(null,this.errorCallback,"Media","stopRecordingAudio",[this.id])};n.prototype.release=function(){k(null,this.errorCallback,"Media","release",[this.id])};n.prototype.setVolume=function(a){k(null,null,"Media","setVolume",[this.id,a])};n.onStatus=function(a,b,d){var e=m[a];if(e)switch(b){case n.MEDIA_STATE:e.statusCallback&&
e.statusCallback(d);d==n.MEDIA_STOPPED&&e.successCallback&&e.successCallback();break;case n.MEDIA_DURATION:e._duration=d;break;case n.MEDIA_ERROR:e.errorCallback&&e.errorCallback(d);break;case n.MEDIA_POSITION:e._position=Number(d);break;default:console&&console.error&&console.error("Unhandled Media.onStatus :: "+b)}else console&&console.error&&console.error("Received Media.onStatus callback for unknown media :: "+a)};g.exports=n});b("cordova/plugin/MediaError",function(a,b,g){a=window.MediaError;
a||(window.MediaError=a=function(a,b){this.code="undefined"!=typeof a?a:null;this.message=b||""});a.MEDIA_ERR_NONE_ACTIVE=a.MEDIA_ERR_NONE_ACTIVE||0;a.MEDIA_ERR_ABORTED=a.MEDIA_ERR_ABORTED||1;a.MEDIA_ERR_NETWORK=a.MEDIA_ERR_NETWORK||2;a.MEDIA_ERR_DECODE=a.MEDIA_ERR_DECODE||3;a.MEDIA_ERR_NONE_SUPPORTED=a.MEDIA_ERR_NONE_SUPPORTED||4;a.MEDIA_ERR_SRC_NOT_SUPPORTED=a.MEDIA_ERR_SRC_NOT_SUPPORTED||4;g.exports=a});b("cordova/plugin/MediaFile",function(a,b,g){var b=a("cordova/utils"),h=a("cordova/exec"),k=
a("cordova/plugin/File"),m=a("cordova/plugin/CaptureError"),n=function(a,b,d,e,g){n.__super__.constructor.apply(this,arguments)};b.extend(n,k);n.prototype.getFormatData=function(a,b){"undefined"===typeof this.fullPath||null===this.fullPath?b(new m(m.CAPTURE_INVALID_ARGUMENT)):h(a,b,"Capture","getFormatData",[this.fullPath,this.type])};g.exports=n});b("cordova/plugin/MediaFileData",function(a,b,g){g.exports=function(a,b,d,e,g){this.codecs=a||null;this.bitrate=b||0;this.height=d||0;this.width=e||0;
this.duration=g||0}});b("cordova/plugin/Metadata",function(a,b,g){g.exports=function(a){this.modificationTime="undefined"!=typeof a?new Date(a):null}});b("cordova/plugin/Position",function(a,b,g){var h=a("cordova/plugin/Coordinates");g.exports=function(a,b){this.coords=a?new h(a.latitude,a.longitude,a.altitude,a.accuracy,a.heading,a.velocity,a.altitudeAccuracy):new h;this.timestamp=void 0!==b?b:new Date}});b("cordova/plugin/PositionError",function(a,b,g){a=function(a,b){this.code=a||null;this.message=
b||""};a.PERMISSION_DENIED=1;a.POSITION_UNAVAILABLE=2;a.TIMEOUT=3;g.exports=a});b("cordova/plugin/ProgressEvent",function(a,b,g){a=function(){return function(a,b){this.type=a;this.lengthComputable=this.cancelable=this.cancelBubble=this.bubbles=!1;this.loaded=b&&b.loaded?b.loaded:0;this.total=b&&b.total?b.total:0;this.target=b&&b.target?b.target:null}}();g.exports=a});b("cordova/plugin/accelerometer",function(a,b,g){function h(){n(function(a){var b=t.slice(0);u=new o(a.x,a.y,a.z,a.timestamp);for(var a=
0,d=b.length;a<d;a++)b[a].win(u)},function(a){for(var b=t.slice(0),d=0,e=b.length;d<e;d++)b[d].fail(a)},"Accelerometer","start",[]);q=!0}function k(a){a=t.indexOf(a);-1<a&&(t.splice(a,1),0===t.length&&(n(null,null,"Accelerometer","stop",[]),q=!1))}var m=a("cordova/utils"),n=a("cordova/exec"),o=a("cordova/plugin/Acceleration"),q=!1,s={},t=[],u=null;g.exports={getCurrentAcceleration:function(a,b){if("function"!==typeof a)throw"getCurrentAcceleration must be called with at least a success callback function as first parameter.";
var d;d={win:function(b){k(d);a(b)},fail:function(a){k(d);b(a)}};t.push(d);q||h()},watchAcceleration:function(a,b,d){d=d&&d.frequency&&"number"==typeof d.frequency?d.frequency:1E4;if("function"!==typeof a)throw"watchAcceleration must be called with at least a success callback function as first parameter.";var e=m.createUUID(),g={win:function(){},fail:function(a){k(g);b(a)}};t.push(g);s[e]={timer:window.setInterval(function(){u&&a(u)},d),listeners:g};q?u&&a(u):h();return e},clearWatch:function(a){a&&
s[a]&&(window.clearInterval(s[a].timer),k(s[a].listeners),delete s[a])}}});b("cordova/plugin/android/app",function(a,b,g){var h=a("cordova/exec");g.exports={clearCache:function(){h(null,null,"App","clearCache",[])},loadUrl:function(a,b){h(null,null,"App","loadUrl",[a,b])},cancelLoadUrl:function(){h(null,null,"App","cancelLoadUrl",[])},clearHistory:function(){h(null,null,"App","clearHistory",[])},backHistory:function(){h(null,null,"App","backHistory",[])},overrideBackbutton:function(a){h(null,null,
"App","overrideBackbutton",[a])},exitApp:function(){return h(null,null,"App","exitApp",[])}}});b("cordova/plugin/android/device",function(a,b,g){a("cordova/channel");a("cordova/utils");a("cordova/exec");var h=a("cordova/plugin/android/app");g.exports={overrideBackButton:function(){console.log("Device.overrideBackButton() is deprecated.  Use App.overrideBackbutton(true).");h.overrideBackbutton(!0)},resetBackButton:function(){console.log("Device.resetBackButton() is deprecated.  Use App.overrideBackbutton(false).");
h.overrideBackbutton(!1)},exitApp:function(){console.log("Device.exitApp() is deprecated.  Use App.exitApp().");h.exitApp()}}});b("cordova/plugin/android/nativeapiprovider",function(a,b,g){var h=this._cordovaNative||a("cordova/plugin/android/promptbasednativeapi"),k=h;g.exports={get:function(){return k},setPreferPrompt:function(b){k=b?a("cordova/plugin/android/promptbasednativeapi"):h},set:function(a){k=a}}});b("cordova/plugin/android/notification",function(a,b,g){var h=a("cordova/exec");g.exports=
{activityStart:function(a,b){"undefined"===typeof a&&"undefined"==typeof b&&(a="Busy",b="Please wait...");h(null,null,"Notification","activityStart",[a,b])},activityStop:function(){h(null,null,"Notification","activityStop",[])},progressStart:function(a,b){h(null,null,"Notification","progressStart",[a,b])},progressStop:function(){h(null,null,"Notification","progressStop",[])},progressValue:function(a){h(null,null,"Notification","progressValue",[a])}}});b("cordova/plugin/android/promptbasednativeapi",
function(a,b,g){g.exports={exec:function(a,b,d,e){return prompt(e,"gap:"+JSON.stringify([a,b,d]))},setNativeToJsBridgeMode:function(a){prompt(a,"gap_bridge_mode:")},retrieveJsMessages:function(){return prompt("","gap_poll:")}}});b("cordova/plugin/android/storage",function(a,b,g){var h=a("cordova/utils"),k=a("cordova/exec"),m=a("cordova/channel"),n={},o=function(){this.resultSet=[];this.length=0};o.prototype.item=function(a){return this.resultSet[a]};var q=function(){this.rows=new o},s=function(a){this.id=
h.createUUID();n[this.id]=this;this.resultSet=[];this.tx=a;this.tx.queryList[this.id]=this;this.errorCallback=this.successCallback=null},t=function(){this.id=h.createUUID();this.errorCallback=this.successCallback=null;this.queryList={}};t.prototype.queryComplete=function(a){delete this.queryList[a];if(this.successCallback){var a=0,b;for(b in this.queryList)this.queryList.hasOwnProperty(b)&&a++;if(0===a)try{this.successCallback()}catch(d){console.log("Transaction error calling user success callback: "+
d)}}};t.prototype.queryFailed=function(a,b){this.queryList={};if(this.errorCallback)try{this.errorCallback(b)}catch(d){console.log("Transaction error calling user error callback: "+d)}};t.prototype.executeSql=function(a,b,d,e){"undefined"===typeof b&&(b=[]);var g=new s(this);n[g.id]=g;g.successCallback=d;g.errorCallback=e;k(null,null,"Storage","executeSql",[a,b,g.id])};var u=function(){};u.prototype.transaction=function(a,b,d){var e=new t;e.successCallback=d;e.errorCallback=b;try{a(e)}catch(g){if(console.log("Transaction error: "+
g),e.errorCallback)try{e.errorCallback(g)}catch(h){console.log("Transaction error calling user error callback: "+g)}}};g.exports={openDatabase:function(a,b,d,e){k(null,null,"Storage","openDatabase",[a,b,d,e]);return new u},CupcakeLocalStorage:function(){m.waitForInitialization("cupcakeStorage");try{this.db=openDatabase("localStorage","1.0","localStorage",2621440);var a={};this.length=0;var b=function(a){this.length=a;localStorage.length=a};this.db.transaction(function(d){d.executeSql("CREATE TABLE IF NOT EXISTS storage (id NVARCHAR(40) PRIMARY KEY, body NVARCHAR(255))");
d.executeSql("SELECT * FROM storage",[],function(d,e){for(var g=0;g<e.rows.length;g++)a[e.rows.item(g).id]=e.rows.item(g).body;b(e.rows.length);m.initializationComplete("cupcakeStorage")})},function(a){h.alert(a.message)});this.setItem=function(b,d){"undefined"==typeof a[b]&&this.length++;a[b]=d;this.db.transaction(function(a){a.executeSql("CREATE TABLE IF NOT EXISTS storage (id NVARCHAR(40) PRIMARY KEY, body NVARCHAR(255))");a.executeSql("REPLACE INTO storage (id, body) values(?,?)",[b,d])})};this.getItem=
function(b){return a[b]};this.removeItem=function(b){delete a[b];this.length--;this.db.transaction(function(a){a.executeSql("CREATE TABLE IF NOT EXISTS storage (id NVARCHAR(40) PRIMARY KEY, body NVARCHAR(255))");a.executeSql("DELETE FROM storage where id=?",[b])})};this.clear=function(){a={};this.length=0;this.db.transaction(function(a){a.executeSql("CREATE TABLE IF NOT EXISTS storage (id NVARCHAR(40) PRIMARY KEY, body NVARCHAR(255))");a.executeSql("DELETE FROM storage",[])})};this.key=function(b){var d=
0,e;for(e in a){if(d==b)return e;d++}return null}}catch(d){h.alert("Database error "+d+".")}},failQuery:function(a,b){var d=n[b];if(d)try{delete n[b];var e=d.tx;if(e&&e.queryList[b]){e.queryList={};try{"function"===typeof d.errorCallback&&d.errorCallback(d.tx,a)}catch(g){console.log("executeSql error calling user error callback: "+g)}e.queryFailed(b,a)}}catch(h){console.log("executeSql error: "+h)}},completeQuery:function(a,b){var d=n[a];if(d)try{delete n[a];var e=d.tx;if(e&&e.queryList[a]){var g=
new q;g.rows.resultSet=b;g.rows.length=b.length;try{"function"===typeof d.successCallback&&d.successCallback(d.tx,g)}catch(h){console.log("executeSql error calling user success callback: "+h)}e.queryComplete(a)}}catch(k){console.log("executeSql error: "+k)}}}});b("cordova/plugin/battery",function(a,b,g){function h(){return o.channels.batterystatus.numHandlers+o.channels.batterylow.numHandlers+o.channels.batterycritical.numHandlers}var k=a("cordova"),m=a("cordova/exec"),n=function(){this._isPlugged=
this._level=null;this.channels={batterystatus:k.addWindowEventHandler("batterystatus"),batterylow:k.addWindowEventHandler("batterylow"),batterycritical:k.addWindowEventHandler("batterycritical")};for(var a in this.channels)this.channels[a].onHasSubscribersChange=n.onHasSubscribersChange};n.onHasSubscribersChange=function(){1===this.numHandlers&&1===h()?m(o._status,o._error,"Battery","start",[]):0===h()&&m(null,null,"Battery","stop",[])};n.prototype._status=function(a){if(a){var b=o,d=a.level;if(b._level!==
d||b._isPlugged!==a.isPlugged)if(k.fireWindowEvent("batterystatus",a),20===d||5===d)20===d?k.fireWindowEvent("batterylow",a):k.fireWindowEvent("batterycritical",a);b._level=d;b._isPlugged=a.isPlugged}};n.prototype._error=function(a){console.log("Error initializing Battery: "+a)};var o=new n;g.exports=o});b("cordova/plugin/capture",function(a,b,g){function h(a,b,d,e){m(function(a){var d=[],e;for(e=0;e<a.length;e++){var g=new n;g.name=a[e].name;g.fullPath=a[e].fullPath;g.type=a[e].type;g.lastModifiedDate=
a[e].lastModifiedDate;g.size=a[e].size;d.push(g)}b(d)},d,"Capture",a,[e])}function k(){this.supportedAudioModes=[];this.supportedImageModes=[];this.supportedVideoModes=[]}var m=a("cordova/exec"),n=a("cordova/plugin/MediaFile");k.prototype.captureAudio=function(a,b,d){h("captureAudio",a,b,d)};k.prototype.captureImage=function(a,b,d){h("captureImage",a,b,d)};k.prototype.captureVideo=function(a,b,d){h("captureVideo",a,b,d)};g.exports=new k});b("cordova/plugin/compass",function(a,b,g){var h=a("cordova/exec"),
k=a("cordova/utils"),m=a("cordova/plugin/CompassHeading"),n=a("cordova/plugin/CompassError"),o={},q={getCurrentHeading:function(a,b,d){"function"!==typeof a?console.log("Compass Error: successCallback is not a function"):b&&"function"!==typeof b?console.log("Compass Error: errorCallback is not a function"):h(function(b){b=new m(b.magneticHeading,b.trueHeading,b.headingAccuracy,b.timestamp);a(b)},function(a){a=new n(a);b(a)},"Compass","getHeading",[d])},watchHeading:function(a,b,d){var e=void 0!==
d&&void 0!==d.frequency?d.frequency:100,g=void 0!==d&&void 0!==d.filter?d.filter:0;if("function"!==typeof a)console.log("Compass Error: successCallback is not a function");else if(b&&"function"!==typeof b)console.log("Compass Error: errorCallback is not a function");else{var h=k.createUUID();0<g?(o[h]="iOS",q.getCurrentHeading(a,b,d)):o[h]=window.setInterval(function(){q.getCurrentHeading(a,b)},e);return h}},clearWatch:function(a){a&&o[a]&&("iOS"!=o[a]?clearInterval(o[a]):h(null,null,"Compass","stopHeading",
[]),delete o[a])}};g.exports=q});b("cordova/plugin/console-via-logger",function(a,b,g){function h(){}function k(a,b){return function(){var d=[].slice.call(arguments);try{a.apply(q,d)}catch(e){}try{b.apply(o,d)}catch(g){}}}var m=a("cordova/plugin/logger"),n=a("cordova/utils"),o=g.exports,q=window.console,s=!1,t={};o.useLogger=function(a){arguments.length&&(s=!!a);if(s&&m.useConsole())throw Error("console and logger are too intertwingly");return s};o.log=function(){m.useConsole()||m.log.apply(m,[].slice.call(arguments))};
o.error=function(){m.useConsole()||m.error.apply(m,[].slice.call(arguments))};o.warn=function(){m.useConsole()||m.warn.apply(m,[].slice.call(arguments))};o.info=function(){m.useConsole()||m.info.apply(m,[].slice.call(arguments))};o.debug=function(){m.useConsole()||m.debug.apply(m,[].slice.call(arguments))};o.assert=function(a){if(!a){var b=n.vformat(arguments[1],[].slice.call(arguments,2));o.log("ASSERT: "+b)}};o.clear=function(){};o.dir=function(a){o.log("%o",a)};o.dirxml=function(a){o.log(a.innerHTML)};
o.trace=h;o.group=o.log;o.groupCollapsed=o.log;o.groupEnd=h;o.time=function(a){t[a]=(new Date).valueOf()};o.timeEnd=function(a){var b=t[a];b?o.log(a+": "+((new Date).valueOf()-b)+"ms"):o.warn("unknown timer: "+a)};o.timeStamp=h;o.profile=h;o.profileEnd=h;o.count=h;o.exception=o.log;o.table=function(a){o.log("%o",a)};for(var u in o)"function"==typeof q[u]&&(o[u]=k(q[u],o[u]))});b("cordova/plugin/contacts",function(a,b,g){var h=a("cordova/exec"),k=a("cordova/plugin/ContactError"),m=a("cordova/utils"),
n=a("cordova/plugin/Contact"),o={find:function(a,b,d,e){if(!b)throw new TypeError("You must specify a success callback for the find command.");!a||m.isArray(a)&&0===a.length?"function"===typeof d&&d(new k(k.INVALID_ARGUMENT_ERROR)):h(function(a){for(var d=[],e=0,g=a.length;e<g;e++)d.push(o.create(a[e]));b(d)},d,"Contacts","search",[a,e])},create:function(a){var b,d=new n;for(b in a)"undefined"!==typeof d[b]&&a.hasOwnProperty(b)&&(d[b]=a[b]);return d}};g.exports=o});b("cordova/plugin/device",function(a,
b,g){function h(){this.available=!1;this.cordova=this.uuid=this.name=this.version=this.platform=null;var a=this;k.onCordovaReady.subscribe(function(){a.getInfo(function(b){a.available=!0;a.platform=b.platform;a.version=b.version;a.name=b.name;a.uuid=b.uuid;a.cordova=b.cordova;k.onCordovaInfoReady.fire()},function(b){a.available=!1;m.alert("[ERROR] Error initializing Cordova: "+b)})})}var k=a("cordova/channel"),m=a("cordova/utils"),n=a("cordova/exec");k.waitForInitialization("onCordovaInfoReady");
h.prototype.getInfo=function(a,b){"function"!==typeof a?console.log("Device Error: successCallback is not a function"):b&&"function"!==typeof b?console.log("Device Error: errorCallback is not a function"):n(a,b,"Device","getDeviceInfo",[])};g.exports=new h});b("cordova/plugin/echo",function(a,b,g){var h=a("cordova/exec");g.exports=function(a,b,d,e){h(a,b,"Echo",e?"echoAsync":"echo",[d])}});b("cordova/plugin/geolocation",function(a,b,g){function h(a){var b={maximumAge:0,enableHighAccuracy:!1,timeout:Infinity};
a&&(void 0!==a.maximumAge&&!isNaN(a.maximumAge)&&0<a.maximumAge&&(b.maximumAge=a.maximumAge),void 0!==a.enableHighAccuracy&&(b.enableHighAccuracy=a.enableHighAccuracy),void 0!==a.timeout&&!isNaN(a.timeout)&&(b.timeout=0>a.timeout?0:a.timeout));return b}function k(a,b){var d=setTimeout(function(){clearTimeout(d);d=null;a({code:o.TIMEOUT,message:"Position retrieval timed out."})},b);return d}var m=a("cordova/utils"),n=a("cordova/exec"),o=a("cordova/plugin/PositionError"),q=a("cordova/plugin/Position"),
s={},t={lastPosition:null,getCurrentPosition:function(a,b,d){if(0===arguments.length)throw Error("getCurrentPosition must be called with at least one argument.");var d=h(d),e={timer:null},g=function(b){clearTimeout(e.timer);e.timer&&(b=new q({latitude:b.latitude,longitude:b.longitude,altitude:b.altitude,accuracy:b.accuracy,heading:b.heading,velocity:b.velocity,altitudeAccuracy:b.altitudeAccuracy},void 0===b.timestamp?new Date:b.timestamp instanceof Date?b.timestamp:new Date(b.timestamp)),t.lastPosition=
b,a(b))},m=function(a){clearTimeout(e.timer);e.timer=null;a=new o(a.code,a.message);b&&b(a)};t.lastPosition&&d.maximumAge&&(new Date).getTime()-t.lastPosition.timestamp.getTime()<=d.maximumAge?a(t.lastPosition):0===d.timeout?m({code:o.TIMEOUT,message:"timeout value in PositionOptions set to 0 and no cached Position object available, or cached Position object's age exceeds provided PositionOptions' maximumAge parameter."}):(e.timer=Infinity!==d.timeout?k(m,d.timeout):!0,n(g,m,"Geolocation","getLocation",
[d.enableHighAccuracy,d.maximumAge]));return e},watchPosition:function(a,b,d){if(0===arguments.length)throw Error("watchPosition must be called with at least one argument.");var d=h(d),e=m.createUUID();s[e]=t.getCurrentPosition(a,b,d);var g=function(a){clearTimeout(s[e].timer);a=new o(a.code,a.message);b&&b(a)};n(function(b){clearTimeout(s[e].timer);Infinity!==d.timeout&&(s[e].timer=k(g,d.timeout));b=new q({latitude:b.latitude,longitude:b.longitude,altitude:b.altitude,accuracy:b.accuracy,heading:b.heading,
velocity:b.velocity,altitudeAccuracy:b.altitudeAccuracy},void 0===b.timestamp?new Date:b.timestamp instanceof Date?b.timestamp:new Date(b.timestamp));t.lastPosition=b;a(b)},g,"Geolocation","addWatch",[e,d.enableHighAccuracy]);return e},clearWatch:function(a){a&&void 0!==s[a]&&(clearTimeout(s[a].timer),s[a].timer=!1,n(null,null,"Geolocation","clearWatch",[a]))}};g.exports=t});b("cordova/plugin/globalization",function(a,b,g){var h=a("cordova/exec");a("cordova/plugin/GlobalizationError");g.exports={getPreferredLanguage:function(a,
b){"function"!=typeof a?console.log("Globalization.getPreferredLanguage Error: successCB is not a function"):"function"!=typeof b?console.log("Globalization.getPreferredLanguage Error: failureCB is not a function"):h(a,b,"Globalization","getPreferredLanguage",[])},getLocaleName:function(a,b){"function"!=typeof a?console.log("Globalization.getLocaleName Error: successCB is not a function"):"function"!=typeof b?console.log("Globalization.getLocaleName Error: failureCB is not a function"):h(a,b,"Globalization",
"getLocaleName",[])},dateToString:function(a,b,d,e){"function"!=typeof b?console.log("Globalization.dateToString Error: successCB is not a function"):"function"!=typeof d?console.log("Globalization.dateToString Error: failureCB is not a function"):a instanceof Date?h(b,d,"Globalization","dateToString",[{date:a.valueOf(),options:e}]):console.log("Globalization.dateToString Error: date is not a Date object")},stringToDate:function(a,b,d,e){"function"!=typeof b?console.log("Globalization.stringToDate Error: successCB is not a function"):
"function"!=typeof d?console.log("Globalization.stringToDate Error: failureCB is not a function"):"string"==typeof a?h(b,d,"Globalization","stringToDate",[{dateString:a,options:e}]):console.log("Globalization.stringToDate Error: dateString is not a string")},getDatePattern:function(a,b,d){"function"!=typeof a?console.log("Globalization.getDatePattern Error: successCB is not a function"):"function"!=typeof b?console.log("Globalization.getDatePattern Error: failureCB is not a function"):h(a,b,"Globalization",
"getDatePattern",[{options:d}])},getDateNames:function(a,b,d){"function"!=typeof a?console.log("Globalization.getDateNames Error: successCB is not a function"):"function"!=typeof b?console.log("Globalization.getDateNames Error: failureCB is not a function"):h(a,b,"Globalization","getDateNames",[{options:d}])},isDayLightSavingsTime:function(a,b,d){"function"!=typeof b?console.log("Globalization.isDayLightSavingsTime Error: successCB is not a function"):"function"!=typeof d?console.log("Globalization.isDayLightSavingsTime Error: failureCB is not a function"):
a instanceof Date?h(b,d,"Globalization","isDayLightSavingsTime",[{date:a.valueOf()}]):console.log("Globalization.isDayLightSavingsTime Error: date is not a Date object")},getFirstDayOfWeek:function(a,b){"function"!=typeof a?console.log("Globalization.getFirstDayOfWeek Error: successCB is not a function"):"function"!=typeof b?console.log("Globalization.getFirstDayOfWeek Error: failureCB is not a function"):h(a,b,"Globalization","getFirstDayOfWeek",[])},numberToString:function(a,b,d,e){"function"!=
typeof b?console.log("Globalization.numberToString Error: successCB is not a function"):"function"!=typeof d?console.log("Globalization.numberToString Error: failureCB is not a function"):"number"==typeof a?h(b,d,"Globalization","numberToString",[{number:a,options:e}]):console.log("Globalization.numberToString Error: number is not a number")},stringToNumber:function(a,b,d,e){"function"!=typeof b?console.log("Globalization.stringToNumber Error: successCB is not a function"):"function"!=typeof d?console.log("Globalization.stringToNumber Error: failureCB is not a function"):
"string"==typeof a?h(b,d,"Globalization","stringToNumber",[{numberString:a,options:e}]):console.log("Globalization.stringToNumber Error: numberString is not a string")},getNumberPattern:function(a,b,d){"function"!=typeof a?console.log("Globalization.getNumberPattern Error: successCB is not a function"):"function"!=typeof b?console.log("Globalization.getNumberPattern Error: failureCB is not a function"):h(a,b,"Globalization","getNumberPattern",[{options:d}])},getCurrencyPattern:function(a,b,d){"function"!=
typeof b?console.log("Globalization.getCurrencyPattern Error: successCB is not a function"):"function"!=typeof d?console.log("Globalization.getCurrencyPattern Error: failureCB is not a function"):"string"==typeof a?h(b,d,"Globalization","getCurrencyPattern",[{currencyCode:a}]):console.log("Globalization.getCurrencyPattern Error: currencyCode is not a currency code")}}});b("cordova/plugin/logger",function(a,b){function g(a,b){b=[a].concat([].slice.call(b));h.logLevel.apply(h,b)}for(var h=b,k=a("cordova/exec"),
m=a("cordova/utils"),n=!0,o=[],q=!1,s,t=["LOG","ERROR","WARN","INFO","DEBUG"],u={},v=0;v<t.length;v++){var w=t[v];u[w]=v;h[w]=w}s=u.WARN;h.level=function(a){if(arguments.length){if(null===u[a])throw Error("invalid logging level: "+a);s=u[a]}return t[s]};h.useConsole=function(a){arguments.length&&(n=!!a);if(n){if("undefined"==typeof console)throw Error("global console object is not defined");if("function"!=typeof console.log)throw Error("global console object does not have a log function");if("function"==
typeof console.useLogger&&console.useLogger())throw Error("console and logger are too intertwingly");}return n};h.log=function(a){g("LOG",arguments)};h.error=function(a){g("ERROR",arguments)};h.warn=function(a){g("WARN",arguments)};h.info=function(a){g("INFO",arguments)};h.debug=function(a){g("DEBUG",arguments)};h.logLevel=function(a,b){var d=[].slice.call(arguments,2),b=m.vformat(b,d);if(null===u[a])throw Error("invalid logging level: "+a);if(!(u[a]>s))if(!q&&!n)o.push([a,b]);else if(n){if(console.__usingCordovaLogger)throw Error("console and logger are too intertwingly");
switch(a){case h.LOG:console.log(b);break;case h.ERROR:console.log("ERROR: "+b);break;case h.WARN:console.log("WARN: "+b);break;case h.INFO:console.log("INFO: "+b);break;case h.DEBUG:console.log("DEBUG: "+b)}}else k(null,null,"Logger","logLevel",[a,b])};h.__onDeviceReady=function(){if(!q){q=!0;for(var a=0;a<o.length;a++){var b=o[a];h.logLevel(b[0],b[1])}o=null}};document.addEventListener("deviceready",h.__onDeviceReady,!1)});b("cordova/plugin/network",function(a,b,g){var h=a("cordova/exec"),k=a("cordova"),
m=a("cordova/channel"),a=a("cordova/utils");"undefined"!=typeof navigator&&a.defineGetter(navigator,"onLine",function(){return"none"!=this.connection.type});a=function(){this.type=null;this._firstRun=!0;this._timer=null;this.timeout=500;var a=this;m.onCordovaReady.subscribe(function(){a.getInfo(function(b){a.type=b;"none"===b?a._timer=setTimeout(function(){k.fireDocumentEvent("offline");a._timer=null},a.timeout):(null!==a._timer&&(clearTimeout(a._timer),a._timer=null),k.fireDocumentEvent("online"));
a._firstRun&&(a._firstRun=!1,m.onCordovaConnectionReady.fire())},function(b){a._firstRun&&(a._firstRun=!1,m.onCordovaConnectionReady.fire());console.log("Error initializing Network Connection: "+b)})})};a.prototype.getInfo=function(a,b){h(a,b,"NetworkStatus","getConnectionInfo",[])};g.exports=new a});b("cordova/plugin/notification",function(a,b,g){var h=a("cordova/exec");g.exports={alert:function(a,b,d,e){h(b,null,"Notification","alert",[a,d||"Alert",e||"OK"])},confirm:function(a,b,d,e){h(b,null,
"Notification","confirm",[a,d||"Confirm",e||"OK,Cancel"])},vibrate:function(a){h(null,null,"Notification","vibrate",[a])},beep:function(a){h(null,null,"Notification","beep",[a])}}});b("cordova/plugin/requestFileSystem",function(a,b,g){var h=a("cordova/plugin/FileError"),k=a("cordova/plugin/FileSystem"),m=a("cordova/exec");g.exports=function(a,b,d,e){var g=function(a){"function"===typeof e&&e(new h(a))};0>a||3<a?g(h.SYNTAX_ERR):m(function(a){a?"function"===typeof d&&(a=new k(a.name,a.root),d(a)):g(h.NOT_FOUND_ERR)},
g,"File","requestFileSystem",[a,b])}});b("cordova/plugin/resolveLocalFileSystemURI",function(a,b,g){var h=a("cordova/plugin/DirectoryEntry"),k=a("cordova/plugin/FileEntry"),m=a("cordova/plugin/FileError"),n=a("cordova/exec");g.exports=function(a,b,d){var e=function(a){"function"===typeof d&&d(new m(a))};!a||2<a.split(":").length?setTimeout(function(){e(m.ENCODING_ERR)},0):n(function(a){if(a){if("function"===typeof b){a=a.isDirectory?new h(a.name,a.fullPath):new k(a.name,a.fullPath);try{b(a)}catch(d){console.log("Error invoking callback: "+
d)}}}else e(m.NOT_FOUND_ERR)},e,"File","resolveLocalFileSystemURI",[a])}});b("cordova/plugin/splashscreen",function(a,b,g){var h=a("cordova/exec");g.exports={show:function(){h(null,null,"SplashScreen","show",[])},hide:function(){h(null,null,"SplashScreen","hide",[])}}});b("cordova/utils",function(a,b){function g(a){for(var b="",d=0;d<a;d++){var e=parseInt(256*Math.random(),10).toString(16);1==e.length&&(e="0"+e);b+=e}return b}function h(a,b){try{switch(b){case "j":case "o":return JSON.stringify(a);
case "c":return""}}catch(d){return"error JSON.stringify()ing argument: "+d}return null===a||void 0===a?Object.prototype.toString.call(a):a.toString()}b.defineGetter=function(a,b,d){Object.defineProperty?Object.defineProperty(a,b,{get:d}):a.__defineGetter__(b,d)};b.isArray=function(a){return"[object Array]"==Object.prototype.toString.call(a)};b.isDate=function(a){return"[object Date]"==Object.prototype.toString.call(a)};b.clone=function(a){if(!a||"function"==typeof a||b.isDate(a)||"object"!=typeof a)return a;
var d,g;if(b.isArray(a)){d=[];for(g=0;g<a.length;++g)d.push(b.clone(a[g]));return d}d={};for(g in a)if(!(g in d)||d[g]!=a[g])d[g]=b.clone(a[g]);return d};b.close=function(a,b,d){return"undefined"==typeof d?function(){return b.apply(a,arguments)}:function(){return b.apply(a,d)}};b.createUUID=function(){return g(4)+"-"+g(2)+"-"+g(2)+"-"+g(2)+"-"+g(6)};b.extend=function(){var a=function(){};return function(b,d){a.prototype=d.prototype;b.prototype=new a;b.__super__=d.prototype;b.prototype.constructor=
b}}();b.alert=function(a){window.alert?window.alert(a):console&&console.log&&console.log(a)};b.format=function(a){var d=[].slice.call(arguments,1);return b.vformat(a,d)};b.vformat=function(a,b){if(null===a||void 0===a)return"";if(1==arguments.length||"string"!=typeof a)return a.toString();for(var d=/(.*?)%(.)(.*)/,e=a,g=[];b.length;){var s=b.shift(),t=d.exec(e);if(!t)break;e=t[3];g.push(t[1]);"%"==t[2]?(g.push("%"),b.unshift(s)):g.push(h(s,t[2]))}g.push(e);return g.join("")}});window.cordova=a("cordova");
(function(){if("undefined"!=typeof navigator){var b=function(){};b.prototype=navigator;navigator=new b}var e=a("cordova/channel");e.onNativeReady.subscribe(function(){e.join(function(){var b=a("cordova/builder"),d=a("cordova/common"),k=a("cordova/platform");b.build(d.objects).intoButDoNotClobber(window);b.build(k.objects).intoAndClobber(window);"undefined"!==typeof k.merges&&b.build(k.merges).intoAndMerge(window);k.initialize();e.onCordovaReady.fire();e.join(function(){a("cordova").fireDocumentEvent("deviceready")},
e.deviceReadyChannelsArray)},[e.onDOMContentLoaded,e.onNativeReady])});window._nativeReady&&e.onNativeReady.fire()})(window)})();