!function(){var e,n,t,o,r,a="6.0.0";t={},o=[],r={},e=function(n){if(!t[n])throw"module "+n+" not found";if(n in r)throw"Cycle in require graph: "+o.slice(r[n]).join("->")+"->"+n;if(t[n].factory)try{return r[n]=o.length,o.push(n),function(n){var t=n.factory;return n.exports={},delete n.factory,t(function(t){var o=t;return"."===t.charAt(0)&&(o=n.id.slice(0,n.id.lastIndexOf("."))+"."+t.slice(2)),e(o)},n.exports,n),n.exports}(t[n])}finally{delete r[n],o.pop()}return t[n].exports},(n=function(e,n){if(t[e])throw"module "+e+" already defined";t[e]={id:e,factory:n}}).remove=function(e){delete t[e]},n.moduleMap=t,"object"==typeof module&&"function"==typeof e&&(module.exports.require=e,module.exports.define=n),n("cordova",function(e,t,o){if(window.cordova&&!(window.cordova instanceof HTMLElement))throw new Error("cordova already defined");var r=e("cordova/channel"),i=e("cordova/platform"),c=document.addEventListener,s=document.removeEventListener,u=window.addEventListener,d=window.removeEventListener,l={},f={};function v(e,n){var t=document.createEvent("Events");if(t.initEvent(e,!1,!1),n)for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o]);return t}document.addEventListener=function(e,n,t){var o=e.toLowerCase();void 0!==l[o]?l[o].subscribe(n):c.call(document,e,n,t)},window.addEventListener=function(e,n,t){var o=e.toLowerCase();void 0!==f[o]?f[o].subscribe(n):u.call(window,e,n,t)},document.removeEventListener=function(e,n,t){var o=e.toLowerCase();void 0!==l[o]?l[o].unsubscribe(n):s.call(document,e,n,t)},window.removeEventListener=function(e,n,t){var o=e.toLowerCase();void 0!==f[o]?f[o].unsubscribe(n):d.call(window,e,n,t)};var p={define:n,require:e,version:a,platformVersion:a,platformId:i.id,addWindowEventHandler:function(e){return f[e]=r.create(e)},addStickyDocumentEventHandler:function(e){return l[e]=r.createSticky(e)},addDocumentEventHandler:function(e){return l[e]=r.create(e)},removeWindowEventHandler:function(e){delete f[e]},removeDocumentEventHandler:function(e){delete l[e]},getOriginalHandlers:function(){return{document:{addEventListener:c,removeEventListener:s},window:{addEventListener:u,removeEventListener:d}}},fireDocumentEvent:function(e,n,t){var o=v(e,n);void 0!==l[e]?t?l[e].fire(o):setTimeout(function(){"deviceready"===e&&document.dispatchEvent(o),l[e].fire(o)},0):document.dispatchEvent(o)},fireWindowEvent:function(e,n){var t=v(e,n);void 0!==f[e]?setTimeout(function(){f[e].fire(t)},0):window.dispatchEvent(t)},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(e,n){p.callbackFromNative(e,!0,n.status,[n.message],n.keepCallback)},callbackError:function(e,n){p.callbackFromNative(e,!1,n.status,[n.message],n.keepCallback)},callbackFromNative:function(e,n,t,o,r){try{var a=p.callbacks[e];a&&(n&&t===p.callbackStatus.OK?a.success&&a.success.apply(null,o):n||a.fail&&a.fail.apply(null,o),r||delete p.callbacks[e])}catch(c){var i="Error in "+(n?"Success":"Error")+" callbackId: "+e+" : "+c;throw console&&console.log&&console.log(i),console&&console.log&&c.stack&&console.log(c.stack),p.fireWindowEvent("cordovacallbackerror",{message:i}),c}},addConstructor:function(e){r.onCordovaReady.subscribe(function(){try{e()}catch(n){console.log("Failed to run constructor: "+n)}})}};o.exports=p}),n("cordova/argscheck",function(e,n,t){var o=e("cordova/utils"),r=t.exports,a={A:"Array",D:"Date",N:"Number",S:"String",F:"Function",O:"Object"};r.checkArgs=function(e,n,t,i){if(r.enableChecks){for(var c,s,u=null,d=0;d>12],o+=r[4095&n];return t-c==2?(o+=r[(n=(e[c]<<16)+(e[c+1]<<8))>>12],o+=a[(4095&n)>>6],o+="="):t-c==1&&(o+=r[(n=e[c]<<16)>>12],o+="=="),o}(new Uint8Array(e))},o.toArrayBuffer=function(e){for(var n="undefined"!=typeof atob?atob(e):Buffer.from(e,"base64").toString("binary"),t=new ArrayBuffer(n.length),o=new Uint8Array(t),r=0,a=n.length;r-1;o--){var r=n[o].src.replace(/\?.*$/,"");if(r.indexOf(t)===r.length-t.length){e=r.substring(0,r.length-t.length)+"/";break}}return e}();null===t&&(console.log("Could not find cordova.js script tag. Plugin loading may fail."),t=""),a("cordova/plugin_list",t+"cordova_plugins.js",function(){var o=e("cordova/plugin_list");!function(e,n,t){var o=n.length;if(o)for(var i=0;i