UNPKG

208 kBJavaScriptView Raw
1!function(e){"use strict";function t(e){if(window.angular){var t=window.angular.module("ionic.native",[]);for(var n in e){var o="$cordova"+n,r=e[n];!function(e,n,o){t.service(e,[function(){var e=window.angular.copy(n);return e.prototype.name=o,e}])}(o,r,n)}}}function n(e,t){for(var n=0,t=t.split("."),o=t.length;n<o;n++){if(!e)return null;e=e[t[n]]}return e}function o(e,t){return t={exports:{}},e(t,t.exports),t.exports}function r(e){return"function"==typeof e}function i(e){return null!=e&&"object"==typeof e}function c(){try{return z.apply(this,arguments)}catch(e){return te.errorObject.e=e,te.errorObject}}function u(e){return z=e,c}function l(e,t,n){if(e){if(e instanceof Te.Subscriber)return e;if(e[ke.$$rxSubscriber])return e[ke.$$rxSubscriber]()}return e||t||n?new Te.Subscriber(e,t,n):new Te.Subscriber}function s(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}function a(e,t,n,o){if(void 0===t&&(t={}),"reverse"===t.callbackOrder)e.unshift(o),e.unshift(n);else if("node"===t.callbackStyle)e.push(function(e,t){e?o(e):n(t)});else if("object"===t.callbackStyle&&t.successName&&t.errorName){var r={};r[t.successName]=n,r[t.errorName]=o,e.push(r)}else"undefined"!=typeof t.successIndex||"undefined"!=typeof t.errorIndex?(e.splice(t.successIndex,0,n),t.errorIndex>e.length?e[t.errorIndex]=o:e.splice(t.errorIndex,0,o)):(e.push(n),e.push(o));return e}function p(e,t,o,r,i,c){void 0===r&&(r={}),o=a(o,r,i,c);var u=He(e.pluginRef);return u?n(window,e.pluginRef)[t].apply(u,o):window.cordova?(qe(e,t),{error:"plugin_not_installed"}):(Ye(e.name,t),{error:"cordova_not_available"})}function f(e){var t=function(){return window.Promise?new Promise(function(t,n){e(t,n)}):void console.error("No Promise support or polyfill found. To enable Ionic Native support, please add the es6-promise polyfill before this script, or run with a library like Angular 1/2 or on a recent browser.")};if(window.angular){var n=window.angular.element(document.querySelector("[ng-app]")||document.body).injector();if(n){var o=n.get("$q");return o(function(t,n){e(t,n)})}return console.warn("Angular 1 was detected but $q couldn't be retrieved. This is usually when the app is not bootstrapped on the html or body tag. Falling back to native promises which won't trigger an automatic digest when promises resolve."),t()}return t()}function d(e,t,n,o){void 0===o&&(o={});var r,i,c=f(function(c,u){r=p(e,t,n,o,c,u),i=u});return r&&r.error&&(c.catch(function(){}),i(r.error)),c}function g(e,t,n,o){return void 0===o&&(o={}),f(function(r,i){var c=p(e,t,n,o);c&&c.error&&i(c.error),c.then(r).catch(i)})}function h(e,t,o,r){return void 0===r&&(r={}),new Ge(function(i){var c=p(e,t,o,r,i.next.bind(i),i.error.bind(i));return c&&c.error&&i.error(c.error),function(){try{if(r.clearFunction)return r.clearWithArgs?n(window,e.pluginRef)[r.clearFunction].apply(e,o):n(window,e.pluginRef)[r.clearFunction].call(e,c)}catch(n){console.warn("Unable to clear the previous observable watch for",e.name,t),console.error(n)}}})}function y(e,t,n,o,r,i){return void 0===o&&(o={}),n=a(n,o,r,i),e._objectInstance[t].apply(e._objectInstance,n)}function b(e,t,n){return void 0===n&&(n={}),function(){for(var o=[],r=0;r<arguments.length;r++)o[r-0]=arguments[r];return n.sync?y(e,t,o,n):n.observable?new Ge(function(r){var i=y(e,t,o,n,r.next.bind(r),r.error.bind(r));return function(){try{return n.clearWithArgs?e._objectInstance[n.clearFunction].apply(e._objectInstance,o):e._objectInstance[n.clearFunction].call(e,i)}catch(n){console.warn("Unable to clear the previous observable watch for",e.name,t),console.error(n)}}}):f(n.otherPromise?function(r,i){var c=y(e,t,o,n,r,i);c.then(r,i)}:function(r,i){y(e,t,o,n,r,i)})}}function v(e){return new Ge(function(t){return window.addEventListener(e,t.next.bind(t),!1),function(){return window.removeEventListener(e,t.next.bind(t),!1)}})}function m(e){return function(t){for(var n in e)t[n]=e[n];return t.installed=function(){return!!He(e.pluginRef)},t}}function w(e){return void 0===e&&(e={}),function(t,n,o){return{value:function(){for(var t=[],o=0;o<arguments.length;o++)t[o-0]=arguments[o];return $e(this,n,e).apply(this,t)}}}}function O(e){return void 0===e&&(e={}),function(t,n){return{value:function(){for(var t=[],o=0;o<arguments.length;o++)t[o-0]=arguments[o];return b(this,n,e).apply(this,t)}}}}function R(e,t,n){var o=n.get;return n.get=function(){for(var e=[],n=0;n<arguments.length;n++)e[n-0]=arguments[n];if(!window.cordova)return Ye(this.name,null),{};var r=this,i=He(r.pluginRef);return i?o.apply(this,e):(qe(this,t),{})},n}function P(e,t,n){return n.get=function(){return this._objectInstance[t]},n.set=function(){for(var e=[],n=0;n<arguments.length;n++)e[n-0]=arguments[n];this._objectInstance[t]=e[0]},n}function A(e){return e.meta.status>=400}function S(e){return Qr.test(e)}function E(e){var t=e.trim().match(ei);if(!t)throw new Error("Invalid semantic version.");var n={major:Number(t[1])};return t[2]&&(n.minor=Number(t[2])),t[3]&&(n.patch=Number(t[3])),n}function j(){}function I(e){var t={}.toString.call(e);switch(t){case"[object File]":case"[object Blob]":case"[object FormData]":return!0;default:return!1}}function _(e){return e===Object(e)}function D(e){if(!_(e))return e;var t=[];for(var n in e)null!=e[n]&&C(t,n,e[n]);return t.join("&")}function C(e,t,n){return Array.isArray(n)?n.forEach(function(n){C(e,t,n)}):void e.push(encodeURIComponent(t)+"="+encodeURIComponent(n))}function T(e){for(var t,n,o={},r=e.split("&"),i=0,c=r.length;i<c;++i)n=r[i],t=n.split("="),o[decodeURIComponent(t[0])]=decodeURIComponent(t[1]);return o}function k(e){var t,n,o,r,i=e.split(/\r?\n/),c={};i.pop();for(var u=0,l=i.length;u<l;++u)n=i[u],t=n.indexOf(":"),o=n.slice(0,t).toLowerCase(),r=wi(n.slice(t+1)),c[o]=r;return c}function N(e){return/[\/+]json\b/.test(e)}function L(e){return e.split(/ *; */).shift()}function x(e){return mi(e.split(/ *; */),function(e,t){var n=t.split(/ *= */),o=n.shift(),r=n.shift();return o&&r&&(e[o]=r),e},{})}function F(e,t){t=t||{},this.req=e,this.xhr=this.req.xhr,this.text="HEAD"!=this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||"undefined"==typeof this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText,this.setStatusProperties(this.xhr.status),this.header=this.headers=k(this.xhr.getAllResponseHeaders()),this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this.setHeaderProperties(this.header),this.body="HEAD"!=this.req.method?this.parseBody(this.text?this.text:this.xhr.response):null}function W(e,t){var n=this;vi.call(this),this._query=this._query||[],this.method=e,this.url=t,this.header={},this._header={},this.on("end",function(){var e=null,t=null;try{t=new F(n)}catch(t){return e=new Error("Parser is unable to parse the response"),e.parse=!0,e.original=t,e.rawResponse=n.xhr&&n.xhr.responseText?n.xhr.responseText:null,n.callback(e)}if(n.emit("response",t),e)return n.callback(e,t);if(t.status>=200&&t.status<300)return n.callback(e,t);var o=new Error(t.statusText||"Unsuccessful HTTP response");o.original=e,o.response=t,o.status=t.status,n.callback(o,t)})}function B(e,t){return"function"==typeof t?new W("GET",e).end(t):1==arguments.length?new W("GET",e):new W(e,t)}function M(e,t){var n=B("DELETE",e);return t&&n.end(t),n}function U(e,t,n){var o=n.get;n.get=function(){if("undefined"!=typeof o&&"undefined"==typeof Ki[t]){var e=o.apply(this,arguments);Ki[t]=e}return Ki[t]},n.set=function(e){}}function V(){if("undefined"!=typeof angular){var e=new Zi;angular.element(document).ready(function(){e.core.init(),e.cordova.bootstrap()}),angular.module("ionic.cloud",[]).provider("$ionicCloudConfig",function(){var t=e.config;this.register=function(e){t.register(e)},this.$get=function(){return t}}).provider("$ionicCloud",["$ionicCloudConfigProvider",function(t){this.init=function(e){t.register(e)},this.$get=[function(){return e.core}]}]).factory("$ionicCloudClient",[function(){return e.client}]).factory("$ionicUser",[function(){return e.singleUserService.current()}]).factory("$ionicAuth",[function(){return e.auth}]).factory("$FacebookAuth",[function(){return e.facebookAuth}]).factory("$GoogleAuth",[function(){return e.googleAuth}]).factory("$ionicPush",[function(){return e.push}]).factory("$ionicDeploy",[function(){return e.deploy}]).run(["$window","$q","$rootScope",function(e,t,n){if("undefined"==typeof e.Promise)e.Promise=t;else{var o=Jr.prototype.init;Jr.prototype.init=function(){o.apply(this,arguments),this.promise=t.when(this.promise)}}var r=Ci.prototype.emit;Ci.prototype.emit=function(e,t){return n.$broadcast("cloud:"+e,t),r.apply(this,arguments)}}])}}var z,G,H="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},q=o(function(e,t){var n={boolean:!1,function:!0,object:!0,number:!1,string:!1,undefined:!1};t.root=n[typeof self]&&self||n[typeof window]&&window;var o=n[typeof H]&&H;!o||o.global!==o&&o.window!==o||(t.root=o)}),Y=r,$={isFunction:Y},X=Array.isArray||function(e){return e&&"number"==typeof e.length},K={isArray:X},Z=i,J={isObject:Z},Q={e:{}},ee={errorObject:Q},te=ee,ne=u,oe={tryCatch:ne},re=H&&H.__extends||function(e,t){function n(){this.constructor=e}for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},ie=function(e){function t(t){e.call(this),this.errors=t;var n=Error.call(this,t?t.length+" errors occurred during unsubscription:\n "+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"");this.name=n.name="UnsubscriptionError",this.stack=n.stack,this.message=n.message}return re(t,e),t}(Error),ce=ie,ue={UnsubscriptionError:ce},le=K,se=J,ae=$,pe=oe,fe=ee,de=ue,ge=function(){function e(e){this.closed=!1,e&&(this._unsubscribe=e)}return e.prototype.unsubscribe=function(){var e,t=!1;if(!this.closed){this.closed=!0;var n=this,o=n._unsubscribe,r=n._subscriptions;if(this._subscriptions=null,ae.isFunction(o)){var i=pe.tryCatch(o).call(this);i===fe.errorObject&&(t=!0,(e=e||[]).push(fe.errorObject.e))}if(le.isArray(r))for(var c=-1,u=r.length;++c<u;){var l=r[c];if(se.isObject(l)){var i=pe.tryCatch(l.unsubscribe).call(l);if(i===fe.errorObject){t=!0,e=e||[];var s=fe.errorObject.e;s instanceof de.UnsubscriptionError?e=e.concat(s.errors):e.push(s)}}}if(t)throw new de.UnsubscriptionError(e)}},e.prototype.add=function(t){if(!t||t===e.EMPTY)return e.EMPTY;if(t===this)return this;var n=t;switch(typeof t){case"function":n=new e(t);case"object":if(n.closed||"function"!=typeof n.unsubscribe)break;this.closed?n.unsubscribe():(this._subscriptions||(this._subscriptions=[])).push(n);break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}return n},e.prototype.remove=function(t){if(null!=t&&t!==this&&t!==e.EMPTY){var n=this._subscriptions;if(n){var o=n.indexOf(t);o!==-1&&n.splice(o,1)}}},e.EMPTY=function(e){return e.closed=!0,e}(new e),e}(),he=ge,ye={Subscription:he},be={closed:!0,next:function(e){},error:function(e){throw e},complete:function(){}},ve={empty:be},me=q,we=me.root.Symbol,Oe="function"==typeof we&&"function"==typeof we.for?we.for("rxSubscriber"):"@@rxSubscriber",Re={$$rxSubscriber:Oe},Pe=H&&H.__extends||function(e,t){function n(){this.constructor=e}for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},Ae=$,Se=ye,Ee=ve,je=Re,Ie=function(e){function t(n,o,r){switch(e.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=Ee.empty;break;case 1:if(!n){this.destination=Ee.empty;break}if("object"==typeof n){n instanceof t?(this.destination=n,this.destination.add(this)):(this.syncErrorThrowable=!0,this.destination=new De(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new De(this,n,o,r)}}return Pe(t,e),t.prototype[je.$$rxSubscriber]=function(){return this},t.create=function(e,n,o){var r=new t(e,n,o);return r.syncErrorThrowable=!1,r},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t}(Se.Subscription),_e=Ie,De=function(e){function t(t,n,o,r){e.call(this),this._parent=t;var i,c=this;Ae.isFunction(n)?i=n:n&&(c=n,i=n.next,o=n.error,r=n.complete,Ae.isFunction(c.unsubscribe)&&this.add(c.unsubscribe.bind(c)),c.unsubscribe=this.unsubscribe.bind(this)),this._context=c,this._next=i,this._error=o,this._complete=r}return Pe(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parent;t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parent;if(this._error)t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else{if(!t.syncErrorThrowable)throw this.unsubscribe(),e;t.syncErrorValue=e,t.syncErrorThrown=!0,this.unsubscribe()}}},t.prototype.complete=function(){if(!this.isStopped){var e=this._parent;this._complete?e.syncErrorThrowable?(this.__tryOrSetError(e,this._complete),this.unsubscribe()):(this.__tryOrUnsub(this._complete),this.unsubscribe()):this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){throw this.unsubscribe(),e}},t.prototype.__tryOrSetError=function(e,t,n){try{t.call(this._context,n)}catch(t){return e.syncErrorValue=t,e.syncErrorThrown=!0,!0}return!1},t.prototype._unsubscribe=function(){var e=this._parent;this._context=null,this._parent=null,e.unsubscribe()},t}(Ie),Ce={Subscriber:_e},Te=Ce,ke=Re,Ne=l,Le={toSubscriber:Ne},xe=q,Fe=s,We=s(xe.root),Be={getSymbolObservable:Fe,$$observable:We},Me=q,Ue=Le,Ve=Be,ze=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var o=this.operator,r=Ue.toSubscriber(e,t,n);if(o?o.call(r,this):r.add(this._subscribe(r)),r.syncErrorThrowable&&(r.syncErrorThrowable=!1,r.syncErrorThrown))throw r.syncErrorValue;return r},e.prototype.forEach=function(e,t){var n=this;if(t||(Me.root.Rx&&Me.root.Rx.config&&Me.root.Rx.config.Promise?t=Me.root.Rx.config.Promise:Me.root.Promise&&(t=Me.root.Promise)),!t)throw new Error("no Promise impl found");return new t(function(t,o){var r=n.subscribe(function(t){if(r)try{e(t)}catch(e){o(e),r.unsubscribe()}else e(t)},o,t)})},e.prototype._subscribe=function(e){return this.source.subscribe(e)},e.prototype[Ve.$$observable]=function(){return this},e.create=function(t){return new e(t)},e}(),Ge=ze,He=function(e){return n(window,e)},qe=function(e,t){var n=e.name,o=e.plugin;t?console.warn("Native: tried calling "+n+"."+t+", but the "+n+" plugin is not installed."):console.warn("Native: tried accessing the "+n+" plugin but it's not installed."),console.warn("Install the "+n+" plugin: 'ionic plugin add "+o+"'")},Ye=function(e,t){t?console.warn("Native: tried calling "+e+"."+t+", but Cordova is not available. Make sure to include cordova.js or run in a device/simulator"):console.warn("Native: tried accessing the "+e+" plugin but Cordova is not available. Make sure to include cordova.js or run in a device/simulator")},$e=function(e,t,n){return void 0===n&&(n={}),function(){for(var o=[],r=0;r<arguments.length;r++)o[r-0]=arguments[r];return n.sync?p(e,t,o,n):n.observable?h(e,t,o,n):n.eventObservable&&n.event?v(n.event):n.otherPromise?g(e,t,o,n):d(e,t,o,n)}},Xe=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Ke=function(){function e(){}return e.show=function(e){},e.hide=function(e){},Xe([w()],e,"show",null),Xe([w()],e,"hide",null),e=Xe([m({plugin:"cordova-plugin-actionsheet",pluginRef:"plugins.actionsheet",repo:"https://github.com/EddyVerbruggen/cordova-plugin-actionsheet",platforms:["Android","iOS","Windows Phone 8"]})],e)}(),Ze=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Je=function(){function e(){}return e.createBanner=function(e){},e.removeBanner=function(){},e.showBanner=function(e){},e.showBannerAtXY=function(e,t){},e.hideBanner=function(){},e.prepareInterstitial=function(e){},e.showInterstitial=function(){},e.isInterstitialReady=function(){},e.prepareRewardVideoAd=function(e){},e.showRewardVideoAd=function(){},e.setOptions=function(e){},e.getAdSettings=function(){},e.onBannerFailedToReceive=function(){},e.onBannerReceive=function(){},e.onBannerPresent=function(){},e.onBannerLeaveApp=function(){},e.onBannerDismiss=function(){},e.onInterstitialFailedToReceive=function(){},e.onInterstitialReceive=function(){},e.onInterstitialPresent=function(){},e.onInterstitialLeaveApp=function(){},e.onInterstitialDismiss=function(){},Ze([w()],e,"createBanner",null),Ze([w({sync:!0})],e,"removeBanner",null),Ze([w({sync:!0})],e,"showBanner",null),Ze([w({sync:!0})],e,"showBannerAtXY",null),Ze([w({sync:!0})],e,"hideBanner",null),Ze([w()],e,"prepareInterstitial",null),Ze([w({sync:!0})],e,"showInterstitial",null),Ze([w()],e,"isInterstitialReady",null),Ze([w()],e,"prepareRewardVideoAd",null),Ze([w({sync:!0})],e,"showRewardVideoAd",null),Ze([w()],e,"setOptions",null),Ze([w()],e,"getAdSettings",null),Ze([w({eventObservable:!0,event:"onBannerFailedToReceive"})],e,"onBannerFailedToReceive",null),Ze([w({eventObservable:!0,event:"onBannerReceive"})],e,"onBannerReceive",null),Ze([w({eventObservable:!0,event:"onBannerPresent"})],e,"onBannerPresent",null),Ze([w({eventObservable:!0,event:"onBannerLeaveApp"})],e,"onBannerLeaveApp",null),Ze([w({eventObservable:!0,event:"onBannerDismiss"})],e,"onBannerDismiss",null),Ze([w({eventObservable:!0,event:"onInterstitialFailedToReceive"})],e,"onInterstitialFailedToReceive",null),Ze([w({eventObservable:!0,event:"onInterstitialReceive"})],e,"onInterstitialReceive",null),Ze([w({eventObservable:!0,event:"onInterstitialPresent"})],e,"onInterstitialPresent",null),Ze([w({eventObservable:!0,event:"onInterstitialLeaveApp"})],e,"onInterstitialLeaveApp",null),Ze([w({eventObservable:!0,event:"onInterstitialDismiss"})],e,"onInterstitialDismiss",null),e=Ze([m({plugin:"cordova-plugin-admobpro",pluginRef:"AdMob",repo:"https://github.com/floatinghotpot/cordova-admob-pro",platforms:["Android","iOS","Windows Phone 8"]})],e)}(),Qe=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},et=function(){function e(){}return e.show=function(e){},e.isAvailable=function(){},Qe([w()],e,"show",null),Qe([w()],e,"isAvailable",null),e=Qe([m({plugin:"cordova-plugin-android-fingerprint-auth",pluginRef:"FingerprintAuth",repo:"https://github.com/mjwheatley/cordova-plugin-android-fingerprint-auth"})],e)}(),tt=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},nt=function(){function e(){}return e.check=function(e){},tt([w()],e,"check",null),e=tt([m({plugin:"cordova-plugin-appavailability",pluginRef:"appAvailability",repo:"https://github.com/ohh2ahh/AppAvailability",platforms:["Android","iOS"]})],e)}(),ot=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},rt=function(){function e(){}return Object.defineProperty(e,"preferences",{get:function(){return window.AppRate.preferences},enumerable:!0,configurable:!0}),e.promptForRating=function(e){},ot([R],e,"preferences",null),ot([w()],e,"promptForRating",null),e=ot([m({plugin:"cordova-plugin-apprate",pluginRef:"AppRate",repo:"https://github.com/pushandplay/cordova-plugin-apprate",platforms:["Android","iOS"]})],e)}(),it=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},ct=function(){function e(){}return e.getAppName=function(){},e.getPackageName=function(){},e.getVersionCode=function(){},e.getVersionNumber=function(){},it([w()],e,"getAppName",null),it([w()],e,"getPackageName",null),it([w()],e,"getVersionCode",null),it([w()],e,"getVersionNumber",null),e=it([m({plugin:"cordova-plugin-app-version",pluginRef:"cordova.getAppVersion",repo:"https://github.com/whiteoctober/cordova-plugin-app-version",platforms:["Android","iOS"]})],e)}(),ut=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},lt=function(){function e(){}return e.clear=function(){},e.set=function(e){},e.get=function(){},e.increase=function(e){},e.decrease=function(e){},e.hasPermission=function(){},e.registerPermission=function(){},ut([w()],e,"clear",null),ut([w()],e,"set",null),ut([w()],e,"get",null),ut([w()],e,"increase",null),ut([w()],e,"decrease",null),ut([w()],e,"hasPermission",null),ut([w()],e,"registerPermission",null),e=ut([m({plugin:"cordova-plugin-badge",pluginRef:"cordova.plugins.notification.badge",repo:"https://github.com/katzer/cordova-plugin-badge",platforms:["Android","iOS","Browser","Windows","Amazon FireOS","Windows Phone 8"]})],e)}(),st=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},at=function(){function e(){}return e.configure=function(e,t,n){},e.start=function(){},e.stop=function(){},e.finish=function(){},e.changePace=function(e){},e.setConfig=function(e){},e.getStationaryLocation=function(){},e.onStationary=function(){},e.isLocationEnabled=function(){},e.showAppSettings=function(){},e.showLocationSettings=function(){},e.watchLocationMode=function(){},e.stopWatchingLocationMode=function(){},e.getLocations=function(){},e.deleteLocation=function(e){},e.deleteAllLocations=function(){},st([w({sync:!0})],e,"configure",null),st([w()],e,"start",null),st([w()],e,"stop",null),st([w()],e,"finish",null),st([w()],e,"changePace",null),st([w({callbackOrder:"reverse"})],e,"setConfig",null),st([w()],e,"getStationaryLocation",null),st([w()],e,"onStationary",null),st([w()],e,"isLocationEnabled",null),st([w({sync:!0})],e,"showAppSettings",null),st([w({sync:!0})],e,"showLocationSettings",null),st([w()],e,"watchLocationMode",null),st([w()],e,"stopWatchingLocationMode",null),st([w()],e,"getLocations",null),st([w()],e,"deleteLocation",null),st([w()],e,"deleteAllLocations",null),e=st([m({plugin:"cordova-plugin-mauron85-background-geolocation",pluginRef:"backgroundGeolocation",repo:"https://github.com/mauron85/cordova-plugin-background-geolocation",platforms:["iOS","Android","Windows Phone 8"]})],e)}(),pt=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},ft=function(){function e(){}return e.enable=function(){},e.disable=function(){},e.isEnabled=function(){},e.isActive=function(){},e.setDefaults=function(e){},e.update=function(e){},e.on=function(e,t){},pt([w({sync:!0})],e,"enable",null),pt([w()],e,"disable",null),pt([w()],e,"isEnabled",null),pt([w()],e,"isActive",null),pt([w({platforms:["Android"]})],e,"setDefaults",null),pt([w({platforms:["Android"]})],e,"update",null),pt([w({sync:!0})],e,"on",null),e=pt([m({plugin:"cordova-plugin-background-mode",pluginRef:"cordova.plugins.backgroundMode",repo:"https://github.com/katzer/cordova-plugin-background-mode",platforms:["Android","iOS","Windows Phone 8"]})],e)}(),dt=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},gt=function(){function e(){}return e.scan=function(e){},e.encode=function(e,t){},e.Encode={TEXT_TYPE:"TEXT_TYPE",EMAIL_TYPE:"EMAIL_TYPE",PHONE_TYPE:"PHONE_TYPE",SMS_TYPE:"SMS_TYPE"},dt([w({callbackOrder:"reverse"})],e,"scan",null),dt([w()],e,"encode",null),e=dt([m({plugin:"phonegap-plugin-barcodescanner",pluginRef:"cordova.plugins.barcodeScanner",repo:"https://github.com/phonegap/phonegap-plugin-barcodescanner",platforms:["Android","iOS","Windows Phone 8","Windows 10","Windows 8","BlackBerry 10","Browser"]})],e)}(),ht=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},yt=function(){function e(){}return e.base64ToGallery=function(e,t){},ht([w({successIndex:2,errorIndex:3})],e,"base64ToGallery",null),e=ht([m({plugin:"cordova-base64-to-gallery",pluginRef:"cordova",repo:"https://github.com/Nexxa/cordova-base64-to-gallery",platforms:["Android","iOS","Windows Phone 8"]})],e)}(),bt=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},vt=function(){function e(){}return e.onChange=function(){},e.onLow=function(){},e.onCritical=function(){},bt([w({eventObservable:!0,event:"batterystatus"})],e,"onChange",null),bt([w({eventObservable:!0,event:"batterylow"})],e,"onLow",null),bt([w({eventObservable:!0,event:"batterycritical"})],e,"onCritical",null),e=bt([m({plugin:"cordova-plugin-battery-status",repo:"https://github.com/apache/cordova-plugin-battery-status",platforms:["Amazon Fire OS","iOS","Android","BlackBerry 10","Windows Phone 7","Windows Phone 8","Windows","Firefox OS","Browser"]})],e)}(),mt=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},wt=function(){function e(){}return e.setBrightness=function(e){},e.getBrightness=function(){},e.setKeepScreenOn=function(e){},mt([w()],e,"setBrightness",null),mt([w()],e,"getBrightness",null),mt([w()],e,"setKeepScreenOn",null),e=mt([m({plugin:"cordova-plugin-brightness",pluginRef:"cordova.plugins.brightness",repo:"https://github.com/mgcrea/cordova-plugin-brightness",platforms:["Android","iOS"]})],e)}(),Ot=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Rt=function(){function e(){}return e.scan=function(e,t){},e.startScan=function(e){},e.stopScan=function(){},e.connect=function(e){},e.disconnect=function(e){},e.read=function(e,t,n){},e.write=function(e,t,n,o){},e.writeWithoutResponse=function(e,t,n,o){},e.startNotification=function(e,t,n){},e.stopNotification=function(e,t,n){},e.isConnected=function(e){},e.isEnabled=function(){},e.showBluetoothSettings=function(){},e.enable=function(){},Ot([w({observable:!0})],e,"scan",null),Ot([w({observable:!0,clearFunction:"stopScan",clearWithArgs:!0})],e,"startScan",null),Ot([w()],e,"stopScan",null),Ot([w({observable:!0,clearFunction:"disconnect",clearWithArgs:!0})],e,"connect",null),Ot([w()],e,"disconnect",null),Ot([w()],e,"read",null),Ot([w()],e,"write",null),Ot([w()],e,"writeWithoutResponse",null),Ot([w({observable:!0,clearFunction:"stopNotification",clearWithArgs:!0})],e,"startNotification",null),Ot([w()],e,"stopNotification",null),Ot([w()],e,"isConnected",null),Ot([w()],e,"isEnabled",null),Ot([w()],e,"showBluetoothSettings",null),Ot([w()],e,"enable",null),e=Ot([m({plugin:"cordova-plugin-ble-central",pluginRef:"ble",repo:"https://github.com/don/cordova-plugin-ble-central",platforms:["iOS","Android"]})],e)}(),Pt=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},At=function(){function e(){}return e.connect=function(e){},e.connectInsecure=function(e){},e.write=function(e){},e.available=function(){},e.read=function(){},e.readUntil=function(e){},e.subscribe=function(e){},e.subscribeRawData=function(){},e.clear=function(){},e.list=function(){},e.isEnabled=function(){},e.isConnected=function(){},e.readRSSI=function(){},e.showBluetoothSettings=function(){},e.enable=function(){},e.discoverUnpaired=function(){},e.setDeviceDiscoveredListener=function(){},e.setName=function(e){},e.setDiscoverable=function(e){},Pt([w({platforms:["Android","iOS","Windows Phone"],observable:!0,clearFunction:"disconnect"})],e,"connect",null),Pt([w({platforms:["Android"],observable:!0,clearFunction:"disconnect"})],e,"connectInsecure",null),Pt([w({platforms:["Android","iOS","Windows Phone"]})],e,"write",null),Pt([w({platforms:["Android","iOS","Windows Phone"]})],e,"available",null),Pt([w({platforms:["Android","iOS","Windows Phone"]})],e,"read",null),Pt([w({platforms:["Android","iOS","Windows Phone"]})],e,"readUntil",null),Pt([w({platforms:["Android","iOS","Windows Phone"],observable:!0,clearFunction:"unsubscribe"})],e,"subscribe",null),Pt([w({platforms:["Android","iOS","Windows Phone"],observable:!0,clearFunction:"unsubscribeRawData"})],e,"subscribeRawData",null),Pt([w({platforms:["Android","iOS","Windows Phone"]})],e,"clear",null),Pt([w({platforms:["Android","iOS","Windows Phone"]})],e,"list",null),
2Pt([w({platforms:["Android","iOS","Windows Phone"]})],e,"isEnabled",null),Pt([w({platforms:["Android","iOS","Windows Phone"]})],e,"isConnected",null),Pt([w({platforms:["Android","iOS","Windows Phone"]})],e,"readRSSI",null),Pt([w({platforms:["Android","iOS","Windows Phone"]})],e,"showBluetoothSettings",null),Pt([w({platforms:["Android","iOS","Windows Phone"]})],e,"enable",null),Pt([w({platforms:["Android","iOS","Windows Phone"]})],e,"discoverUnpaired",null),Pt([w({platforms:["Android","iOS","Windows Phone"],observable:!0,clearFunction:"clearDeviceDiscoveredListener"})],e,"setDeviceDiscoveredListener",null),Pt([w({platforms:["Android"],sync:!0})],e,"setName",null),Pt([w({platforms:["Android"],sync:!0})],e,"setDiscoverable",null),e=Pt([m({repo:"https://github.com/don/BluetoothSerial",plugin:"cordova-plugin-bluetooth-serial",pluginRef:"bluetoothSerial",platforms:["Android","iOS","Windows Phone","Browser"]})],e)}(),St=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Et=function(){function e(){}return e.hasReadWritePermission=function(){},e.hasReadPermission=function(){},e.hasWritePermission=function(){},e.requestWritePermission=function(){},e.requestReadPermission=function(){},e.requestReadWritePermission=function(){},e.createCalendar=function(e){},e.deleteCalendar=function(e){},e.getCalendarOptions=function(){return{firstReminderMinutes:60,secondReminderMinutes:null,recurrence:null,recurrenceInterval:1,recurrenceEndDate:null,calendarName:null,calendarId:null,url:null}},e.createEvent=function(e,t,n,o,r){},e.createEventWithOptions=function(e,t,n,o,r,i){},e.createEventInteractively=function(e,t,n,o,r){},e.createEventInteractivelyWithOptions=function(e,t,n,o,r,i){},e.findEvent=function(e,t,n,o,r){},e.findEventWithOptions=function(e,t,n,o,r,i){},e.listEventsInRange=function(e,t){},e.listCalendars=function(){},e.findAllEventsInNamedCalendar=function(e){},e.modifyEvent=function(e,t,n,o,r,i,c,u,l,s){},e.modifyEventWithOptions=function(e,t,n,o,r,i,c,u,l,s,a){},e.deleteEvent=function(e,t,n,o,r){},e.deleteEventFromNamedCalendar=function(e,t,n,o,r,i){},e.openCalendar=function(e){},St([w()],e,"hasReadWritePermission",null),St([w()],e,"hasReadPermission",null),St([w()],e,"hasWritePermission",null),St([w()],e,"requestWritePermission",null),St([w()],e,"requestReadPermission",null),St([w()],e,"requestReadWritePermission",null),St([w()],e,"createCalendar",null),St([w()],e,"deleteCalendar",null),St([w({sync:!0})],e,"getCalendarOptions",null),St([w()],e,"createEvent",null),St([w()],e,"createEventWithOptions",null),St([w()],e,"createEventInteractively",null),St([w()],e,"createEventInteractivelyWithOptions",null),St([w()],e,"findEvent",null),St([w()],e,"findEventWithOptions",null),St([w()],e,"listEventsInRange",null),St([w()],e,"listCalendars",null),St([w()],e,"findAllEventsInNamedCalendar",null),St([w()],e,"modifyEvent",null),St([w()],e,"modifyEventWithOptions",null),St([w()],e,"deleteEvent",null),St([w()],e,"deleteEventFromNamedCalendar",null),St([w()],e,"openCalendar",null),e=St([m({plugin:"cordova-plugin-calendar",pluginRef:"plugins.calendar",repo:"https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin",platforms:["Android","iOS"]})],e)}(),jt=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},It=function(){function e(){}return e.callNumber=function(e,t){},jt([w({callbackOrder:"reverse"})],e,"callNumber",null),e=jt([m({plugin:"call-number",pluginRef:"plugins.CallNumber",repo:"https://github.com/Rohfosho/CordovaCallNumberPlugin",platforms:["iOS","Android"]})],e)}(),_t=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Dt=function(){function e(){}return e.getPicture=function(e){},e.cleanup=function(){},e.DestinationType={DATA_URL:0,FILE_URI:1,NATIVE_URI:2},e.EncodingType={JPEG:0,PNG:1},e.MediaType={PICTURE:0,VIDEO:1,ALLMEDIA:2},e.PictureSourceType={PHOTOLIBRARY:0,CAMERA:1,SAVEDPHOTOALBUM:2},e.PopoverArrowDirection={ARROW_UP:1,ARROW_DOWN:2,ARROW_LEFT:4,ARROW_RIGHT:8,ARROW_ANY:15},e.Direction={BACK:0,FRONT:1},_t([w({callbackOrder:"reverse"})],e,"getPicture",null),_t([w({platforms:["iOS"]})],e,"cleanup",null),e=_t([m({plugin:"cordova-plugin-camera",pluginRef:"navigator.camera",repo:"https://github.com/apache/cordova-plugin-camera",platforms:["Android","BlackBerry","Browser","Firefox","FireOS","iOS","Windows","Windows Phone 8","Ubuntu"]})],e)}(),Ct=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Tt=function(){function e(){}return e.startCamera=function(e,t,n,o,r,i){},e.stopCamera=function(){},e.takePicture=function(e){},e.setOnPictureTakenHandler=function(){},e.switchCamera=function(){},e.show=function(){},e.hide=function(){},e.setColorEffect=function(e){},e.FlashMode={OFF:0,ON:1,AUTO:2},Ct([w({sync:!0})],e,"startCamera",null),Ct([w({sync:!0})],e,"stopCamera",null),Ct([w({sync:!0})],e,"takePicture",null),Ct([w({observable:!0})],e,"setOnPictureTakenHandler",null),Ct([w({sync:!0})],e,"switchCamera",null),Ct([w({sync:!0})],e,"show",null),Ct([w({sync:!0})],e,"hide",null),Ct([w({sync:!0})],e,"setColorEffect",null),e=Ct([m({plugin:"cordova-plugin-camera-preview",pluginRef:"cordova.plugins.camerapreview",repo:"https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview",platforms:["Android","iOS"]})],e)}(),kt=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Nt=function(){function e(){}return e.canScan=function(){},e.scan=function(e){},e.version=function(){},kt([w()],e,"canScan",null),kt([w()],e,"scan",null),kt([w()],e,"version",null),e=kt([m({plugin:"https://github.com/card-io/card.io-Cordova-Plugin",pluginRef:"CardIO",repo:"https://github.com/card-io/card.io-Cordova-Plugin",platforms:["iOS","Android"]})],e)}(),Lt=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},xt=function(){function e(){}return e.copy=function(e){},e.paste=function(){},Lt([w()],e,"copy",null),Lt([w()],e,"paste",null),e=Lt([m({plugin:"https://github.com/VersoSolutions/CordovaClipboard.git",pluginRef:"cordova.plugins.clipboard",repo:"https://github.com/VersoSolutions/CordovaClipboard",platforms:["Amazon Fire OS","iOS","Android","BlackBerry 10","Windows Phone 7","Windows Phone 8","Windows","Firefox OS","Browser"]})],e)}(),Ft=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c};!function(e){e[e.UP_TO_DATE=0]="UP_TO_DATE",e[e.UPDATE_INSTALLED=1]="UPDATE_INSTALLED",e[e.UPDATE_IGNORED=2]="UPDATE_IGNORED",e[e.ERROR=3]="ERROR",e[e.IN_PROGRESS=4]="IN_PROGRESS",e[e.CHECKING_FOR_UPDATE=5]="CHECKING_FOR_UPDATE",e[e.AWAITING_USER_ACTION=6]="AWAITING_USER_ACTION",e[e.DOWNLOADING_PACKAGE=7]="DOWNLOADING_PACKAGE",e[e.INSTALLING_UPDATE=8]="INSTALLING_UPDATE"}(G||(G={}));var Wt;!function(e){e[e.IMMEDIATE=0]="IMMEDIATE",e[e.ON_NEXT_RESTART=1]="ON_NEXT_RESTART",e[e.ON_NEXT_RESUME=2]="ON_NEXT_RESUME"}(Wt||(Wt={}));var Bt=function(){function e(){}return e.getCurrentPackage=function(){},e.getPendingPackage=function(){},e.checkForUpdate=function(e){},e.notifyApplicationReady=function(){},e.restartApplication=function(){},e.sync=function(e,t){},Ft([w()],e,"getCurrentPackage",null),Ft([w()],e,"getPendingPackage",null),Ft([w({callbackOrder:"reverse"})],e,"checkForUpdate",null),Ft([w()],e,"notifyApplicationReady",null),Ft([w()],e,"restartApplication",null),Ft([w({observable:!0,successIndex:0,errorIndex:3})],e,"sync",null),e=Ft([m({plugin:"cordova-plugin-code-push",pluginRef:"codePush",repo:"https://github.com/Microsoft/cordova-plugin-code-push",platforms:["Android","iOS"]})],e)}(),Mt=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Ut=function(){function e(){this._objectInstance=navigator.contacts.create()}return Object.defineProperty(e.prototype,"id",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"displayName",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nickname",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"phoneNumbers",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"emails",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"addresses",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ims",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"organizations",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"birthday",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"note",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"photos",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"categories",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"urls",{get:function(){},enumerable:!0,configurable:!0}),e.prototype.clone=function(){var t=new e;for(var n in this){if("id"===n)return;t[n]=this[n]}return t},e.prototype.remove=function(){},e.prototype.save=function(){},Mt([P],e.prototype,"id",null),Mt([P],e.prototype,"displayName",null),Mt([P],e.prototype,"name",null),Mt([P],e.prototype,"nickname",null),Mt([P],e.prototype,"phoneNumbers",null),Mt([P],e.prototype,"emails",null),Mt([P],e.prototype,"addresses",null),Mt([P],e.prototype,"ims",null),Mt([P],e.prototype,"organizations",null),Mt([P],e.prototype,"birthday",null),Mt([P],e.prototype,"note",null),Mt([P],e.prototype,"photos",null),Mt([P],e.prototype,"categories",null),Mt([P],e.prototype,"urls",null),Mt([O()],e.prototype,"remove",null),Mt([O()],e.prototype,"save",null),e}(),Vt=(function(){function e(e,t,n,o,r,i){this._objectInstance=new window.ContactName(e,t,n,o,r,i)}return Object.defineProperty(e.prototype,"formatted",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"familyName",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"givenName",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"middleName",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"honorificPrefix",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"honorificSuffix",{get:function(){},enumerable:!0,configurable:!0}),Mt([P],e.prototype,"formatted",null),Mt([P],e.prototype,"familyName",null),Mt([P],e.prototype,"givenName",null),Mt([P],e.prototype,"middleName",null),Mt([P],e.prototype,"honorificPrefix",null),Mt([P],e.prototype,"honorificSuffix",null),e}(),function(){function e(e,t,n){this._objectInstance=new window.ContactField(e,t,n)}return Object.defineProperty(e.prototype,"type",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pref",{get:function(){},enumerable:!0,configurable:!0}),Mt([P],e.prototype,"type",null),Mt([P],e.prototype,"value",null),Mt([P],e.prototype,"pref",null),e}(),function(){function e(e,t,n,o,r,i,c,u){this._objectInstance=new window.ContactAddress(e,t,n,o,r,i,c,u)}return Object.defineProperty(e.prototype,"pref",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formatted",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"streetAddress",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"locality",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"region",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"postalCode",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"country",{get:function(){},enumerable:!0,configurable:!0}),Mt([P],e.prototype,"pref",null),Mt([P],e.prototype,"type",null),Mt([P],e.prototype,"formatted",null),Mt([P],e.prototype,"streetAddress",null),Mt([P],e.prototype,"locality",null),Mt([P],e.prototype,"region",null),Mt([P],e.prototype,"postalCode",null),Mt([P],e.prototype,"country",null),e}(),function(){function e(){this._objectInstance=new window.ContactOrganization}return Object.defineProperty(e.prototype,"pref",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"department",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){},enumerable:!0,configurable:!0}),Mt([P],e.prototype,"pref",null),Mt([P],e.prototype,"type",null),Mt([P],e.prototype,"name",null),Mt([P],e.prototype,"department",null),Mt([P],e.prototype,"title",null),e}(),function(){function e(){this._objectInstance=new window.ContactFindOptions}return Object.defineProperty(e.prototype,"filter",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"multiple",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"desiredFields",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasPhoneNumber",{get:function(){},enumerable:!0,configurable:!0}),Mt([P],e.prototype,"filter",null),Mt([P],e.prototype,"multiple",null),Mt([P],e.prototype,"desiredFields",null),Mt([P],e.prototype,"hasPhoneNumber",null),e}(),function(){function e(){}return e.create=function(){return new Ut},e.find=function(e,t){},e.pickContact=function(){},Mt([w({successIndex:1,errorIndex:2})],e,"find",null),Mt([w()],e,"pickContact",null),e=Mt([m({plugin:"cordova-plugin-contacts",pluginRef:"navigator.contacts",repo:"https://github.com/apache/cordova-plugin-contacts"})],e)}()),zt=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Gt=function(){function e(){}return e.crop=function(e,t){},zt([w({callbackOrder:"reverse"})],e,"crop",null),e=zt([m({plugin:"cordova-plugin-crop",pluginRef:"plugins",repo:"https://github.com/jeduan/cordova-plugin-crop"})],e)}(),Ht=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},qt=function(){function e(){}return e.show=function(e){},Ht([w()],e,"show",null),e=Ht([m({plugin:"cordova-plugin-datepicker",pluginRef:"datePicker",repo:"https://github.com/VitaliiBlagodir/cordova-plugin-datepicker"})],e)}(),Yt=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},$t=function(){function e(){}return e.start=function(){},e.stop=function(){},e.isListening=function(){},e.delete=function(){},Yt([w({observable:!0,clearFunction:"stop"})],e,"start",null),Yt([w()],e,"stop",null),Yt([w()],e,"isListening",null),Yt([w()],e,"delete",null),e=Yt([m({plugin:"cordova-plugin-dbmeter",pluginRef:"DBMeter",repo:"https://github.com/akofman/cordova-plugin-dbmeter",platforms:["iOS","Android"]})],e)}(),Xt=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Kt=function(){function e(){}return e.route=function(e){},e.routeWithNavController=function(e,t){},Xt([w({observable:!0})],e,"route",null),Xt([w({observable:!0})],e,"routeWithNavController",null),e=Xt([m({plugin:"ionic-plugin-deeplinks",pluginRef:"IonicDeeplink",repo:"https://github.com/driftyco/ionic-plugin-deeplinks",platforms:["iOS","Android"],install:"ionic plugin add ionic-plugin-deeplinks --variable URL_SCHEME=myapp --variable DEEPLINK_SCHEME=https --variable DEEPLINK_HOST=example.com --variable ANDROID_PATH_PREFIX=/"})],e)}(),Zt=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Jt=function(){function e(){}return Object.defineProperty(e,"device",{get:function(){return window.device},enumerable:!0,configurable:!0}),Zt([R],e,"device",null),e=Zt([m({plugin:"cordova-plugin-device",pluginRef:"device",repo:"https://github.com/apache/cordova-plugin-device"})],e)}(),Qt=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},en=function(){function e(){}return e.get=function(){},e.getByType=function(e){},e.getEmails=function(){},e.getEmail=function(){},Qt([w()],e,"get",null),Qt([w()],e,"getByType",null),Qt([w()],e,"getEmails",null),Qt([w()],e,"getEmail",null),e=Qt([m({plugin:"https://github.com/loicknuchel/cordova-device-accounts.git",pluginRef:"plugins.DeviceAccounts",repo:"https://github.com/loicknuchel/cordova-device-accounts",platforms:["Android"]})],e)}(),tn=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},nn=function(){function e(){}return e.getCurrentAcceleration=function(){},e.watchAcceleration=function(e){},tn([w()],e,"getCurrentAcceleration",null),tn([w({callbackOrder:"reverse",observable:!0,clearFunction:"clearWatch"})],e,"watchAcceleration",null),e=tn([m({plugin:"cordova-plugin-device-motion",pluginRef:"navigator.accelerometer",repo:"https://github.com/apache/cordova-plugin-device-motion"})],e)}(),on=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},rn=function(){function e(){}return e.getCurrentHeading=function(){},e.watchHeading=function(e){},on([w()],e,"getCurrentHeading",null),on([w({callbackOrder:"reverse",observable:!0,clearFunction:"clearWatch"})],e,"watchHeading",null),e=on([m({plugin:"cordova-plugin-device-orientation",pluginRef:"navigator.compass",repo:"https://github.com/apache/cordova-plugin-device-orientation"})],e)}(),cn=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},un=function(){function e(){}return e.isLocationAvailable=function(){},e.isWifiAvailable=function(){},e.isCameraAvailable=function(){},e.isBluetoothAvailable=function(){},e.switchToLocationSettings=function(){},e.switchToMobileDataSettings=function(){},e.switchToBluetoothSettings=function(){},e.switchToWifiSettings=function(){},e.isWifiEnabled=function(){},e.setWifiState=function(e){},e.setBluetoothState=function(e){},e.isLocationEnabled=function(){},e.isLocationAuthorized=function(){},e.getLocationAuthorizationStatus=function(){},e.requestLocationAuthorization=function(e){},e.isCameraPresent=function(){},e.isCameraAuthorized=function(){},e.getCameraAuthorizationStatus=function(){},e.requestCameraAuthorization=function(){},e.isMicrophoneAuthorized=function(){},e.getMicrophoneAuthorizationStatus=function(){},e.requestMicrophoneAuthorization=function(){},e.isContactsAuthorized=function(){},e.getContactsAuthroizationStatus=function(){},e.requestContactsAuthorization=function(){},e.isCalendarAuthorized=function(){},e.getCalendarAuthorizationStatus=function(){},e.requestCalendarAuthorization=function(){},e.switchToSettings=function(){},e.getBluetoothState=function(){},e.registerBluetoothStateChangeHandler=function(e){},e.registerLocationStateChangeHandler=function(e){},e.isGpsLocationAvailable=function(){},e.isGpsLocationEnabled=function(){},e.isNetworkLocationAvailable=function(){},e.isNetworkLocationEnabled=function(){},e.getLocationMode=function(){},e.getPermissionAuthorizationStatus=function(e){},e.getPermissionsAuthorizationStatus=function(e){},e.requestRuntimePermission=function(e){},e.requestRuntimePermissions=function(e){},e.isBluetoothEnabled=function(){},e.hasBluetoothSupport=function(){},e.hasBluetoothLESupport=function(){},e.hasBluetoothLEPeripheralSupport=function(){},e.isCameraRollAuthorized=function(){},e.getCameraRollAuthorizationStatus=function(){},e.requestCameraRollAuthorization=function(){},e.isRemoteNotificationsEnabled=function(){},e.isRegisteredForRemoteNotifications=function(){},e.getRemoteNotificationTypes=function(){},e.isRemindersAuthorized=function(){},e.getRemindersAuthorizationStatus=function(){},e.requestRemindersAuthorization=function(){},e.isBackgroundRefreshAuthorized=function(){},e.getBackgroundRefreshStatus=function(){},e.permission={READ_CALENDAR:"READ_CALENDAR",WRITE_CALENDAR:"WRITE_CALENDAR",CAMERA:"CAMERA",READ_CONTACTS:"READ_CONTACTS",WRITE_CONTACTS:"WRITE_CONTACTS",GET_ACCOUNTS:"GET_ACCOUNTS",ACCESS_FINE_LOCATION:"ACCESS_FINE_LOCATION",ACCESS_COARSE_LOCATION:"ACCESS_COARSE_LOCATION",RECORD_AUDIO:"RECORD_AUDIO",READ_PHONE_STATE:"READ_PHONE_STATE",CALL_PHONE:"CALL_PHONE",ADD_VOICEMAIL:"ADD_VOICEMAIL",USE_SIP:"USE_SIP",PROCESS_OUTGOING_CALLS:"PROCESS_OUTGOING_CALLS",READ_CALL_LOG:"READ_CALL_LOG",WRITE_CALL_LOG:"WRITE_CALL_LOG",SEND_SMS:"SEND_SMS",RECEIVE_SMS:"RECEIVE_SMS",READ_SMS:"READ_SMS",RECEIVE_WAP_PUSH:"RECEIVE_WAP_PUSH",RECEIVE_MMS:"RECEIVE_MMS",WRITE_EXTERNAL_STORAGE:"WRITE_EXTERNAL_STORAGE",READ_EXTERNAL_STORAGE:"READ_EXTERNAL_STORAGE",BODY_SENSORS:"BODY_SENSORS"},e.permissionStatus={GRANTED:"GRANTED",GRANTED_WHEN_IN_USE:"GRANTED_WHEN_IN_USE",RESTRICTED:"RESTRICTED",DENIED:"DENIED",DENIED_ALWAYS:"DENIED_ALWAYS",NOT_REQUESTED:"NOT_REQUESTED"},e.locationAuthorizationMode={ALWAYS:"ALWAYS",WHEN_IN_USE:"WHEN_IN_USE"},e.permissionGroups={CALENDAR:["READ_CALENDAR","WRITE_CALENDAR"],CAMERA:["CAMERA"],CONTACTS:["READ_CONTACTS","WRITE_CONTACTS","GET_ACCOUNTS"],LOCATION:["ACCESS_FINE_LOCATION","ACCESS_COARSE_LOCATION"],MICROPHONE:["RECORD_AUDIO"],PHONE:["READ_PHONE_STATE","CALL_PHONE","ADD_VOICEMAIL","USE_SIP","PROCESS_OUTGOING_CALLS","READ_CALL_LOG","WRITE_CALL_LOG"],SENSORS:["BODY_SENSORS"],SMS:["SEND_SMS","RECEIVE_SMS","READ_SMS","RECEIVE_WAP_PUSH","RECEIVE_MMS"],STORAGE:["READ_EXTERNAL_STORAGE","WRITE_EXTERNAL_STORAGE"]},e.locationMode={HIGH_ACCURACY:"high_accuracy",DEVICE_ONLY:"device_only",BATTERY_SAVING:"battery_saving",LOCATION_OFF:"location_off"},e.bluetoothState={UNKNOWN:"unknown",RESETTING:"resetting",UNSUPPORTED:"unsupported",UNAUTHORIZED:"unauthorized",POWERED_OFF:"powered_off",POWERED_ON:"powered_on",POWERING_OFF:"powering_off",POWERING_ON:"powering_on"},cn([w()],e,"isLocationAvailable",null),cn([w()],e,"isWifiAvailable",null),cn([w()],e,"isCameraAvailable",null),cn([w()],e,"isBluetoothAvailable",null),cn([w({sync:!0,platforms:["Android","Windows 10"]})],e,"switchToLocationSettings",null),cn([w({sync:!0,platforms:["Android","Windows 10"]})],e,"switchToMobileDataSettings",null),cn([w({sync:!0,platforms:["Android","Windows 10"]})],e,"switchToBluetoothSettings",null),cn([w({sync:!0,platforms:["Android","Windows 10"]})],e,"switchToWifiSettings",null),cn([w({platforms:["Android","Windows 10"]})],e,"isWifiEnabled",null),cn([w({callbackOrder:"reverse",platforms:["Android","Windows 10"]})],e,"setWifiState",null),cn([w({callbackOrder:"reverse",platforms:["Android","Windows 10"]})],e,"setBluetoothState",null),cn([w({platforms:["Android","iOS"]})],e,"isLocationEnabled",null),cn([w()],e,"isLocationAuthorized",null),cn([w({platforms:["Android","iOS"]})],e,"getLocationAuthorizationStatus",null),cn([w({platforms:["Android","iOS"]})],e,"requestLocationAuthorization",null),cn([w({platforms:["Android","iOS"]})],e,"isCameraPresent",null),cn([w({platforms:["Android","iOS"]})],e,"isCameraAuthorized",null),cn([w({platforms:["Android","iOS"]})],e,"getCameraAuthorizationStatus",null),cn([w({platforms:["Android","iOS"]})],e,"requestCameraAuthorization",null),cn([w({platforms:["Android","iOS"]})],e,"isMicrophoneAuthorized",null),cn([w({platforms:["Android","iOS"]})],e,"getMicrophoneAuthorizationStatus",null),cn([w({platforms:["Android","iOS"]})],e,"requestMicrophoneAuthorization",null),cn([w({platforms:["Android","iOS"]})],e,"isContactsAuthorized",null),cn([w({platforms:["Android","iOS"]})],e,"getContactsAuthroizationStatus",null),cn([w({platforms:["Android","iOS"]})],e,"requestContactsAuthorization",null),cn([w({platforms:["Android","iOS"]})],e,"isCalendarAuthorized",null),cn([w({platforms:["Android","iOS"]})],e,"getCalendarAuthorizationStatus",null),cn([w({platforms:["Android","iOS"]})],e,"requestCalendarAuthorization",null),cn([w({platforms:["Android","iOS"]})],e,"switchToSettings",null),cn([w({platforms:["Android","iOS"]})],e,"getBluetoothState",null),cn([w({platforms:["Android","iOS"],sync:!0})],e,"registerBluetoothStateChangeHandler",null),cn([w({platforms:["Android","iOS"],sync:!0})],e,"registerLocationStateChangeHandler",null),cn([w({platforms:["Android"]})],e,"isGpsLocationAvailable",null),cn([w({platforms:["Android"]})],e,"isGpsLocationEnabled",null),cn([w({platforms:["Android"]})],e,"isNetworkLocationAvailable",null),cn([w({platforms:["Android"]})],e,"isNetworkLocationEnabled",null),cn([w({platforms:["Android"]})],e,"getLocationMode",null),cn([w({platforms:["Android"],callbackOrder:"reverse"})],e,"getPermissionAuthorizationStatus",null),cn([w({platforms:["Android"],callbackOrder:"reverse"})],e,"getPermissionsAuthorizationStatus",null),cn([w({platforms:["Android"],callbackOrder:"reverse"})],e,"requestRuntimePermission",null),cn([w({platforms:["Android"],callbackOrder:"reverse"})],e,"requestRuntimePermissions",null),cn([w({platforms:["Android"]})],e,"isBluetoothEnabled",null),cn([w({platforms:["Android"]})],e,"hasBluetoothSupport",null),cn([w({platforms:["Android"]})],e,"hasBluetoothLESupport",null),cn([w({platforms:["Android"]})],e,"hasBluetoothLEPeripheralSupport",null),cn([w({platforms:["iOS"]})],e,"isCameraRollAuthorized",null),cn([w({platforms:["iOS"]})],e,"getCameraRollAuthorizationStatus",null),cn([w({platforms:["iOS"]})],e,"requestCameraRollAuthorization",null),cn([w({platforms:["iOS"]})],e,"isRemoteNotificationsEnabled",null),cn([w({platforms:["iOS"]})],e,"isRegisteredForRemoteNotifications",null),cn([w({platforms:["iOS"]})],e,"getRemoteNotificationTypes",null),cn([w({platforms:["iOS"]})],e,"isRemindersAuthorized",null),cn([w({platforms:["iOS"]})],e,"getRemindersAuthorizationStatus",null),cn([w({platforms:["iOS"]})],e,"requestRemindersAuthorization",null),cn([w({platforms:["iOS"]})],e,"isBackgroundRefreshAuthorized",null),cn([w({platforms:["iOS"]})],e,"getBackgroundRefreshStatus",null),e=cn([m({plugin:"cordova.plugins.diagnostic",pluginRef:"cordova.plugins.diagnostic",repo:"https://github.com/dpa99c/cordova-diagnostic-plugin"})],e)}(),ln=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},sn=function(){function e(){}return e.alert=function(e,t,n){void 0===t&&(t="Alert"),void 0===n&&(n="OK")},e.confirm=function(e,t,n){void 0===t&&(t="Confirm"),void 0===n&&(n=["OK","Cancel"])},e.prompt=function(e,t,n,o){void 0===t&&(t="Prompt"),void 0===n&&(n=["OK","Cancel"]),void 0===o&&(o="")},e.beep=function(e){},ln([w({successIndex:1,errorIndex:4})],e,"alert",null),ln([w({successIndex:1,errorIndex:4})],e,"confirm",null),ln([w({successIndex:1,errorIndex:5})],e,"prompt",null),ln([w({sync:!0})],e,"beep",null),e=ln([m({plugin:"cordova-plugin-dialogs",pluginRef:"navigator.notification",repo:"https://github.com/apache/cordova-plugin-dialogs.git"})],e)}(),an=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},pn=function(){function e(){}return e.isAvailable=function(e){return new Promise(function(t,n){e?cordova.plugins.email.isAvailable(e,function(e){e?t():n()}):cordova.plugins.email.isAvailable(function(e){e?t():n()})})},e.addAlias=function(e,t){},e.open=function(e,t){},an([w()],e,"addAlias",null),an([w({successIndex:1,errorIndex:3})],e,"open",null),e=an([m({plugin:"cordova-plugin-email-composer",pluginRef:"cordova.plugins.email",repo:"https://github.com/katzer/cordova-plugin-email-composer.git",platforms:["Android","iOS","Windows Phone 8"]
3})],e)}(),fn=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},dn=function(){function e(){}return e.requestWhenInUseAuthorization=function(){},e.requestAlwaysAuthorization=function(){},e.authorizationStatus=function(){},e.startAdvertisingAsBeacon=function(e,t,n,o){},e.stopAdvertisingAsBeacon=function(){},e.enableAnalytics=function(e){},e.isAnalyticsEnabled=function(){},e.isAuthorized=function(){},e.setupAppIDAndAppToken=function(e,t){},e.startEstimoteBeaconDiscovery=function(){},e.stopEstimoteBeaconDiscovery=function(){},e.startRangingBeaconsInRegion=function(e){},e.stopRangingBeaconsInRegion=function(e){},e.startRangingSecureBeaconsInRegion=function(e){},e.stopRangingSecureBeaconsInRegion=function(e){},e.startMonitoringForRegion=function(e,t){},e.stopMonitoringForRegion=function(e){},e.startSecureMonitoringForRegion=function(e,t){},e.stopSecureMonitoringForRegion=function(e){},e.connectToBeacon=function(e){},e.disconnectConnectedBeacon=function(){},e.writeConnectedProximityUUID=function(e){},e.writeConnectedMajor=function(e){},e.writeConnectedMinor=function(e){},e.ProximityUnknown=0,e.ProximityImmediate=1,e.ProximityNear=2,e.ProximityFar=3,e.BeaconColorUnknown=0,e.BeaconColorMintCocktail=1,e.BeaconColorIcyMarshmallow=2,e.BeaconColorBlueberryPie=3,e.BeaconColorSweetBeetroot=4,e.BeaconColorCandyFloss=5,e.BeaconColorLemonTart=6,e.BeaconColorVanillaJello=7,e.BeaconColorLiquoriceSwirl=8,e.BeaconColorWhite=9,e.BeaconColorTransparent=10,e.RegionStateUnknown="unknown",e.RegionStateOutside="outside",e.RegionStateInside="inside",fn([w()],e,"requestWhenInUseAuthorization",null),fn([w()],e,"requestAlwaysAuthorization",null),fn([w()],e,"authorizationStatus",null),fn([w({clearFunction:"stopAdvertisingAsBeacon"})],e,"startAdvertisingAsBeacon",null),fn([w()],e,"stopAdvertisingAsBeacon",null),fn([w()],e,"enableAnalytics",null),fn([w()],e,"isAnalyticsEnabled",null),fn([w()],e,"isAuthorized",null),fn([w()],e,"setupAppIDAndAppToken",null),fn([w({observable:!0,clearFunction:"stopEstimoteBeaconDiscovery"})],e,"startEstimoteBeaconDiscovery",null),fn([w()],e,"stopEstimoteBeaconDiscovery",null),fn([w({observable:!0,clearFunction:"stopRangingBeaconsInRegion",clearWithArgs:!0})],e,"startRangingBeaconsInRegion",null),fn([w()],e,"stopRangingBeaconsInRegion",null),fn([w({observable:!0,clearFunction:"stopRangingSecureBeaconsInRegion",clearWithArgs:!0})],e,"startRangingSecureBeaconsInRegion",null),fn([w()],e,"stopRangingSecureBeaconsInRegion",null),fn([w({observable:!0,clearFunction:"stopMonitoringForRegion",clearWithArgs:!0,successIndex:1,errorIndex:2})],e,"startMonitoringForRegion",null),fn([w()],e,"stopMonitoringForRegion",null),fn([w({observable:!0,clearFunction:"stopSecureMonitoringForRegion",clearWithArgs:!0,successIndex:1,errorIndex:2})],e,"startSecureMonitoringForRegion",null),fn([w()],e,"stopSecureMonitoringForRegion",null),fn([w()],e,"connectToBeacon",null),fn([w()],e,"disconnectConnectedBeacon",null),fn([w()],e,"writeConnectedProximityUUID",null),fn([w()],e,"writeConnectedMajor",null),fn([w()],e,"writeConnectedMinor",null),e=fn([m({plugin:"cordova-plugin-estimote",pluginRef:"estimote.beacons",repo:"https://github.com/evothings/phonegap-estimotebeacons",platforms:["iOS","Android"]})],e)}(),gn=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},hn=function(){function e(){}return e.browserInit=function(e,t){},e.login=function(e){},e.logout=function(){},e.getLoginStatus=function(){},e.getAccessToken=function(){},e.showDialog=function(e){},e.api=function(e,t){},e.logEvent=function(e,t,n){},e.logPurchase=function(e,t){},e.appInvite=function(e){},gn([w()],e,"browserInit",null),gn([w()],e,"login",null),gn([w()],e,"logout",null),gn([w()],e,"getLoginStatus",null),gn([w()],e,"getAccessToken",null),gn([w()],e,"showDialog",null),gn([w()],e,"api",null),gn([w()],e,"logEvent",null),gn([w()],e,"logPurchase",null),gn([w()],e,"appInvite",null),e=gn([m({plugin:"cordova-plugin-facebook4",pluginRef:"facebookConnectPlugin",repo:"https://github.com/jeduan/cordova-plugin-facebook4",install:'ionic plugin add cordova-plugin-facebook4 --variable APP_ID="123456789" --variable APP_NAME="myApplication"'})],e)}(),yn=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},bn=function(){function e(){}return e.getFreeDiskSpace=function(){},e.checkDir=function(t,n){if(/^\//.test(n)){var o=new FileError(5);return o.message="directory cannot start with /",Promise.reject(o)}var r=t+n;return e.resolveDirectoryUrl(r).then(function(){return!0})},e.createDir=function(t,n,o){if(/^\//.test(n)){var r=new FileError(5);return r.message="directory cannot start with /",Promise.reject(r)}var i={create:!0};return o||(i.exclusive=!0),e.resolveDirectoryUrl(t).then(function(t){return e.getDirectory(t,n,i)})},e.removeDir=function(t,n){if(/^\//.test(n)){var o=new FileError(5);return o.message="directory cannot start with /",Promise.reject(o)}return e.resolveDirectoryUrl(t).then(function(t){return e.getDirectory(t,n,{create:!1})}).then(function(t){return e.remove(t)})},e.moveDir=function(t,n,o,r){var i=this;if(r=r||n,/^\//.test(r)){var c=new FileError(5);return c.message="directory cannot start with /",Promise.reject(c)}return this.resolveDirectoryUrl(t).then(function(e){return i.getDirectory(e,n,{create:!1})}).then(function(t){return i.resolveDirectoryUrl(o).then(function(n){return e.move(t,n,r)})})},e.copyDir=function(t,n,o,r){var i=this;if(/^\//.test(r)){var c=new FileError(5);return c.message="directory cannot start with /",Promise.reject(c)}return this.resolveDirectoryUrl(t).then(function(e){return i.getDirectory(e,n,{create:!1})}).then(function(t){return i.resolveDirectoryUrl(o).then(function(n){return e.copy(t,n,r)})})},e.listDir=function(t,n){if(/^\//.test(n)){var o=new FileError(5);return o.message="directory cannot start with /",Promise.reject(o)}return e.resolveDirectoryUrl(t).then(function(t){return e.getDirectory(t,n,{create:!1,exclusive:!1})}).then(function(t){var n=t.createReader();return e.readEntries(n)})},e.removeRecursively=function(t,n){if(/^\//.test(n)){var o=new FileError(5);return o.message="directory cannot start with /",Promise.reject(o)}return e.resolveDirectoryUrl(t).then(function(t){return e.getDirectory(t,n,{create:!1})}).then(function(t){return e.rimraf(t)})},e.checkFile=function(t,n){if(/^\//.test(n)){var o=new FileError(5);return o.message="file cannot start with /",Promise.reject(o)}return e.resolveLocalFilesystemUrl(t+n).then(function(e){if(e.isFile)return!0;var t=new FileError(13);return t.message="input is not a file",Promise.reject(t)})},e.createFile=function(t,n,o){if(/^\//.test(n)){var r=new FileError(5);return r.message="file-name cannot start with /",Promise.reject(r)}var i={create:!0};return o||(i.exclusive=!0),e.resolveDirectoryUrl(t).then(function(t){return e.getFile(t,n,i)})},e.removeFile=function(t,n){if(/^\//.test(n)){var o=new FileError(5);return o.message="file-name cannot start with /",Promise.reject(o)}return e.resolveDirectoryUrl(t).then(function(t){return e.getFile(t,n,{create:!1})}).then(function(t){return e.remove(t)})},e.writeFile=function(t,n,o,r){if(/^\//.test(n)){var i=new FileError(5);return i.message="file-name cannot start with /",Promise.reject(i)}var c={};return r&&"boolean"==typeof r&&(c.replace=r),e.resolveDirectoryUrl(t).then(function(t){return e.getFile(t,n,c)}).then(function(t){return e.createWriter(t)}).then(function(t){return c.append&&t.seek(t.length),c.hasOwnProperty("truncate")&&t.truncate(c.truncate),e.write(t,o)})},e.writeExistingFile=function(t,n,o){if(/^\//.test(n)){var r=new FileError(5);return r.message="file-name cannot start with /",Promise.reject(r)}return e.resolveDirectoryUrl(t).then(function(t){return e.getFile(t,n,{create:!1})}).then(function(t){return e.createWriter(t)}).then(function(t){return e.write(t,o)})},e.readAsText=function(t,n){if(/^\//.test(n)){var o=new FileError(5);return o.message="file-name cannot start with /",Promise.reject(o)}return e.resolveDirectoryUrl(t).then(function(t){return e.getFile(t,n,{create:!1})}).then(function(e){var t=new FileReader;return new Promise(function(n,o){t.onloadend=function(){void 0!==t.result||null!==t.result?n(t.result):o(void 0!==t.error||null!==t.error?t.error:{code:null,message:"READER_ONLOADEND_ERR"})},e.file(function(e){t.readAsText(e)},function(e){o(e)})})})},e.readAsDataURL=function(t,n){if(/^\//.test(n)){var o=new FileError(5);return o.message="file-name cannot start with /",Promise.reject(o)}return e.resolveDirectoryUrl(t).then(function(t){return e.getFile(t,n,{create:!1})}).then(function(e){var t=new FileReader;return new Promise(function(n,o){t.onloadend=function(){void 0!==t.result||null!==t.result?n(t.result):o(void 0!==t.error||null!==t.error?t.error:{code:null,message:"READER_ONLOADEND_ERR"})},e.file(function(e){t.readAsDataURL(e)},function(e){o(e)})})})},e.readAsBinaryString=function(t,n){if(/^\//.test(n)){var o=new FileError(5);return o.message="file-name cannot start with /",Promise.reject(o)}return e.resolveDirectoryUrl(t).then(function(t){return e.getFile(t,n,{create:!1})}).then(function(e){var t=new FileReader;return new Promise(function(n,o){t.onloadend=function(){void 0!==t.result||null!==t.result?n(t.result):o(void 0!==t.error||null!==t.error?t.error:{code:null,message:"READER_ONLOADEND_ERR"})},e.file(function(e){t.readAsBinaryString(e)},function(e){o(e)})})})},e.readAsArrayBuffer=function(t,n){if(/^\//.test(n)){var o=new FileError(5);return o.message="file-name cannot start with /",Promise.reject(o)}return e.resolveDirectoryUrl(t).then(function(t){return e.getFile(t,n,{create:!1})}).then(function(e){var t=new FileReader;return new Promise(function(n,o){t.onloadend=function(){void 0!==t.result||null!==t.result?n(t.result):o(void 0!==t.error||null!==t.error?t.error:{code:null,message:"READER_ONLOADEND_ERR"})},e.file(function(e){t.readAsArrayBuffer(e)},function(e){o(e)})})})},e.moveFile=function(t,n,o,r){var i=this;if(r=r||n,/^\//.test(r)){var c=new FileError(5);return c.message="file name cannot start with /",Promise.reject(c)}return this.resolveDirectoryUrl(t).then(function(e){return i.getFile(e,n,{create:!1})}).then(function(t){return i.resolveDirectoryUrl(o).then(function(n){return e.move(t,n,r)})})},e.copyFile=function(t,n,o,r){var i=this;if(r=r||n,/^\//.test(r)){var c=new FileError(5);return c.message="file name cannot start with /",Promise.reject(c)}return this.resolveDirectoryUrl(t).then(function(e){return i.getFile(e,n,{create:!1})}).then(function(t){return i.resolveDirectoryUrl(o).then(function(n){return e.copy(t,n,r)})})},e.fillErrorMessage=function(t){t.message=e.cordovaFileError[t.code]},e.resolveLocalFilesystemUrl=function(t){return new Promise(function(n,o){try{window.resolveLocalFileSystemURL(t,function(e){n(e)},function(t){e.fillErrorMessage(t),o(t)})}catch(t){e.fillErrorMessage(t),o(t)}})},e.resolveDirectoryUrl=function(t){return e.resolveLocalFilesystemUrl(t).then(function(e){if(e.isDirectory)return e;var t=new FileError(13);return t.message="input is not a directory",Promise.reject(t)})},e.getDirectory=function(t,n,o){return new Promise(function(r,i){try{t.getDirectory(n,o,function(e){r(e)},function(t){e.fillErrorMessage(t),i(t)})}catch(t){e.fillErrorMessage(t),i(t)}})},e.getFile=function(t,n,o){return new Promise(function(r,i){try{t.getFile(n,o,function(e){r(e)},function(t){e.fillErrorMessage(t),i(t)})}catch(t){e.fillErrorMessage(t),i(t)}})},e.remove=function(t){return new Promise(function(n,o){t.remove(function(){n({success:!0,fileRemoved:t})},function(t){e.fillErrorMessage(t),o(t)})})},e.move=function(t,n,o){return new Promise(function(r,i){t.moveTo(n,o,function(e){r(e)},function(t){e.fillErrorMessage(t),i(t)})})},e.copy=function(t,n,o){return new Promise(function(r,i){t.copyTo(n,o,function(e){r(e)},function(t){e.fillErrorMessage(t),i(t)})})},e.readEntries=function(t){return new Promise(function(n,o){t.readEntries(function(e){n(e)},function(t){e.fillErrorMessage(t),o(t)})})},e.rimraf=function(t){return new Promise(function(n,o){t.removeRecursively(function(){n({success:!0,fileRemoved:t})},function(t){e.fillErrorMessage(t),o(t)})})},e.createWriter=function(t){return new Promise(function(n,o){t.createWriter(function(e){n(e)},function(t){e.fillErrorMessage(t),o(t)})})},e.write=function(e,t){return t instanceof Blob?this.writeFileInChunks(e,t):new Promise(function(n,o){e.onwriteend=function(t){e.error?o(e.error):n()},e.write(t)})},e.writeFileInChunks=function(e,t){function n(){var n=Math.min(o,t.size-r),i=t.slice(r,r+n);r+=n,e.write(i)}var o=1048576,r=0;return new Promise(function(o,i){e.onerror=i,e.onwrite=function(){r<t.size?n():o()},n()})},e.cordovaFileError={1:"NOT_FOUND_ERR",2:"SECURITY_ERR",3:"ABORT_ERR",4:"NOT_READABLE_ERR",5:"ENCODING_ERR",6:"NO_MODIFICATION_ALLOWED_ERR",7:"INVALID_STATE_ERR",8:"SYNTAX_ERR",9:"INVALID_MODIFICATION_ERR",10:"QUOTA_EXCEEDED_ERR",11:"TYPE_MISMATCH_ERR",12:"PATH_EXISTS_ERR",13:"WRONG_ENTRY_TYPE",14:"DIR_READ_ERR"},yn([w()],e,"getFreeDiskSpace",null),e=yn([m({plugin:"cordova-plugin-file",pluginRef:"cordova.file",repo:"https://github.com/apache/cordova-plugin-file"})],e)}(),vn=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},mn=function(){function e(){}return e.open=function(){},vn([w()],e,"open",null),e=vn([m({plugin:"http://github.com/don/cordova-filechooser.git",pluginRef:"fileChooser",repo:"https://github.com/don/cordova-filechooser",platforms:["Android"]})],e)}(),wn=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},On=function(){function e(){}return e.open=function(e,t){},e.uninstall=function(e){},e.appIsInstalled=function(e){},wn([w({callbackStyle:"object",successName:"success",errorName:"error"})],e,"open",null),wn([w({callbackStyle:"object",successName:"success",errorName:"error"})],e,"uninstall",null),wn([w({callbackStyle:"object",successName:"success",errorName:"error"})],e,"appIsInstalled",null),e=wn([m({plugin:"cordova-plugin-file-opener2",pluginRef:"cordova.plugins.fileOpener2",repo:"https://github.com/pwlin/cordova-plugin-file-opener2"})],e)}(),Rn=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Pn=function(){function e(){this._objectInstance=new FileTransfer}return e.prototype.upload=function(e,t,n,o){},e.prototype.download=function(e,t,n,o){},e.prototype.onProgress=function(e){this._objectInstance.onprogress=e},e.prototype.abort=function(){},e.FileTransferErrorCode={FILE_NOT_FOUND_ERR:1,INVALID_URL_ERR:2,CONNECTION_ERR:3,ABORT_ERR:4,NOT_MODIFIED_ERR:5},Rn([O({successIndex:2,errorIndex:3})],e.prototype,"upload",null),Rn([O({successIndex:2,errorIndex:3})],e.prototype,"download",null),Rn([O({sync:!0})],e.prototype,"abort",null),e=Rn([m({plugin:"cordova-plugin-file-transfer",pluginRef:"FileTransfer",repo:"https://github.com/apache/cordova-plugin-file-transfer"})],e)}(),An=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Sn=function(){function e(){}return e.available=function(){},e.switchOn=function(){},e.switchOff=function(){},e.toggle=function(){},e.isSwitchedOn=function(){},An([w()],e,"available",null),An([w()],e,"switchOn",null),An([w()],e,"switchOff",null),An([w()],e,"toggle",null),An([w({sync:!0})],e,"isSwitchedOn",null),e=An([m({plugin:"cordova-plugin-flashlight",pluginRef:"window.plugins.flashlight",repo:"https://github.com/EddyVerbruggen/Flashlight-PhoneGap-Plugin.git"})],e)}(),En=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},jn=function(){function e(){}return e.initialize=function(){},e.addOrUpdate=function(e){},e.remove=function(e){},e.removeAll=function(){},e.getWatched=function(){},e.onTransitionReceived=function(){return new Ge(function(e){return window&&window.geofence&&(window.geofence.onTransitionReceived=e.next.bind(e)),function(){return window.geofence.onTransitionReceived=function(){}}})},e.onNotificationClicked=function(){return new Ge(function(e){return window&&window.geofence&&(window.geofence.onNotificationClicked=e.next.bind(e)),function(){return window.geofence.onNotificationClicked=function(){}}})},e.TransitionType={ENTER:1,EXIT:2,BOTH:3},En([w()],e,"initialize",null),En([w()],e,"addOrUpdate",null),En([w()],e,"remove",null),En([w()],e,"removeAll",null),En([w()],e,"getWatched",null),e=En([m({plugin:"cordova-plugin-geofence",pluginRef:"geofence",repo:"https://github.com/cowbell/cordova-plugin-geofence/",platforms:["Android","iOS","Windows Phone 8","Windows Phone"]})],e)}(),In=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},_n=function(){function e(){}return e.getCurrentPosition=function(e){},e.watchPosition=function(e){return new Ge(function(t){var n=navigator.geolocation.watchPosition(t.next.bind(t),t.next.bind(t),e);return function(){return navigator.geolocation.clearWatch(n)}})},In([w({callbackOrder:"reverse"})],e,"getCurrentPosition",null),e=In([m({plugin:"cordova-plugin-geolocation",pluginRef:"navigator.geolocation",repo:"https://github.com/apache/cordova-plugin-geolocation"})],e)}(),Dn=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Cn=function(){function e(){}return e.getPreferredLanguage=function(){},e.getLocaleName=function(){},e.dateToString=function(e,t){},e.stringToDate=function(e,t){},e.getDatePattern=function(e){},e.getDateNames=function(e){},e.isDayLightSavingsTime=function(e){},e.getFirstDayOfWeek=function(){},e.numberToString=function(e){},e.stringToNumber=function(e,t){},e.getNumberPattern=function(e){},e.getCurrencyPattern=function(e){},Dn([w()],e,"getPreferredLanguage",null),Dn([w()],e,"getLocaleName",null),Dn([w({successIndex:1,errorIndex:2})],e,"dateToString",null),Dn([w({successIndex:1,errorIndex:2})],e,"stringToDate",null),Dn([w({callbackOrder:"reverse"})],e,"getDatePattern",null),Dn([w({callbackOrder:"reverse"})],e,"getDateNames",null),Dn([w()],e,"isDayLightSavingsTime",null),Dn([w()],e,"getFirstDayOfWeek",null),Dn([w({successIndex:1,errorIndex:2})],e,"numberToString",null),Dn([w({successIndex:1,errorIndex:2})],e,"stringToNumber",null),Dn([w({callbackOrder:"reverse"})],e,"getNumberPattern",null),Dn([w()],e,"getCurrencyPattern",null),e=Dn([m({plugin:"cordova-plugin-globalization",pluginRef:"navigator.globalization",repo:"https://github.com/apache/cordova-plugin-globalization"})],e)}(),Tn=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},kn=function(){function e(){}return e.login=function(e){},e.trySilentLogin=function(e){},e.logout=function(){},e.disconnect=function(){},Tn([w()],e,"login",null),Tn([w()],e,"trySilentLogin",null),Tn([w()],e,"logout",null),Tn([w()],e,"disconnect",null),e=Tn([m({plugin:"cordova-plugin-googleplus",pluginRef:"window.plugins.googleplus",repo:"https://github.com/EddyVerbruggen/cordova-plugin-googleplus",platforms:["Web","Android","iOS"],install:"ionic plugin add cordova-plugin-googleplus --variable REVERSED_CLIENT_ID=myreversedclientid"})],e)}(),Nn=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Ln=function(){function e(e,t){"string"==typeof e&&(e=document.getElementById(e)),this._objectInstance=plugin.google.maps.Map.getMap(e,t)}return e.isAvailable=function(){},e.prototype.on=function(e){var t=this;return new Ge(function(n){return t._objectInstance.on(e,n.next.bind(n)),function(){return t._objectInstance.off(e)}})},e.prototype.one=function(e){var t=this;return new Promise(function(n){return t._objectInstance.one(e,n)})},e.prototype.setDebuggable=function(e){},e.prototype.setClickable=function(e){},e.prototype.getCameraPosition=function(){},e.prototype.getMyLocation=function(e){},e.prototype.getVisibleRegion=function(){},e.prototype.showDialog=function(){},e.prototype.closeDialog=function(){},e.prototype.getLicenseInfo=function(){},e.prototype.setCenter=function(e){},e.prototype.setZoom=function(e){},e.prototype.setMapTypeId=function(e){},e.prototype.setTilt=function(e){},e.prototype.animateCamera=function(e){},e.prototype.moveCamera=function(e){},e.prototype.setMyLocationEnabled=function(e){},e.prototype.setIndoorEnabled=function(e){},e.prototype.setTrafficEnabled=function(e){},e.prototype.setCompassEnabled=function(e){},e.prototype.setAllGesturesEnabled=function(e){},e.prototype.addMarker=function(e){var t=this;return new Promise(function(n,o){t._objectInstance.addMarker(e,function(e){e?n(new xn(e)):o()})})},e.prototype.addCircle=function(e){var t=this;return new Promise(function(n,o){t._objectInstance.addCircle(e,function(e){e?n(new Fn(e)):o()})})},e.prototype.addPolygon=function(e){var t=this;return new Promise(function(n,o){t._objectInstance.addPolygon(e,function(e){e?n(new Bn(e)):o()})})},e.prototype.addPolyline=function(e){var t=this;return new Promise(function(n,o){t._objectInstance.addPolyline(e,function(e){e?n(new Wn(e)):o()})})},e.prototype.addTileOverlay=function(e){var t=this;return new Promise(function(n,o){t._objectInstance.addTileOverlay(e,function(e){e?n(new Mn(e)):o()})})},e.prototype.addGroundOverlay=function(e){var t=this;return new Promise(function(n,o){t._objectInstance.addGroundOverlay(e,function(e){e?n(new Un(e)):o()})})},e.prototype.addKmlOverlay=function(e){var t=this;return new Promise(function(n,o){t._objectInstance.addKmlOverlay(e,function(e){e?n(new Vn(e)):o()})})},e.prototype.setDiv=function(e){},e.prototype.setVisible=function(e){},e.prototype.setOptions=function(e){},e.prototype.setBackgroundColor=function(e){},e.prototype.setPadding=function(e,t,n,o){},e.prototype.clear=function(){},e.prototype.refreshLayout=function(){},e.prototype.fromLatLngToPoint=function(e,t){},e.prototype.fromPointToLatLng=function(e,t){},e.prototype.toDataURL=function(){},e.prototype.remove=function(){},e.prototype.panBy=function(){},Nn([O({sync:!0})],e.prototype,"setDebuggable",null),Nn([O({sync:!0})],e.prototype,"setClickable",null),Nn([O()],e.prototype,"getCameraPosition",null),Nn([O()],e.prototype,"getMyLocation",null),Nn([O()],e.prototype,"getVisibleRegion",null),Nn([O({sync:!0})],e.prototype,"showDialog",null),Nn([O({sync:!0})],e.prototype,"closeDialog",null),Nn([O()],e.prototype,"getLicenseInfo",null),Nn([O({sync:!0})],e.prototype,"setCenter",null),Nn([O({sync:!0})],e.prototype,"setZoom",null),Nn([O({sync:!0})],e.prototype,"setMapTypeId",null),Nn([O({sync:!0})],e.prototype,"setTilt",null),Nn([O()],e.prototype,"animateCamera",null),Nn([O()],e.prototype,"moveCamera",null),Nn([O({sync:!0})],e.prototype,"setMyLocationEnabled",null),Nn([O({sync:!0})],e.prototype,"setIndoorEnabled",null),Nn([O({sync:!0})],e.prototype,"setTrafficEnabled",null),Nn([O({sync:!0})],e.prototype,"setCompassEnabled",null),Nn([O({sync:!0})],e.prototype,"setAllGesturesEnabled",null),Nn([O({sync:!0})],e.prototype,"setDiv",null),Nn([O({sync:!0})],e.prototype,"setVisible",null),Nn([O({sync:!0})],e.prototype,"setOptions",null),Nn([O({sync:!0})],e.prototype,"setBackgroundColor",null),Nn([O({sync:!0})],e.prototype,"setPadding",null),Nn([O({sync:!0})],e.prototype,"clear",null),Nn([O({sync:!0})],e.prototype,"refreshLayout",null),Nn([O()],e.prototype,"fromLatLngToPoint",null),Nn([O()],e.prototype,"fromPointToLatLng",null),Nn([O()],e.prototype,"toDataURL",null),Nn([O({sync:!0})],e.prototype,"remove",null),Nn([O({sync:!0})],e.prototype,"panBy",null),Nn([w()],e,"isAvailable",null),e=Nn([m({pluginRef:"plugin.google.maps.Map",plugin:"cordova-plugin-googlemaps",repo:"https://github.com/mapsplugin/cordova-plugin-googlemaps",install:'ionic plugin add cordova-plugin-googlemaps --variable API_KEY_FOR_ANDROID="YOUR_ANDROID_API_KEY_IS_HERE" --variable API_KEY_FOR_IOS="YOUR_IOS_API_KEY_IS_HERE"'})],e)}(),xn=function(){function e(e){this._objectInstance=e}return e.prototype.addEventListener=function(e){var t=this;return new Ge(function(n){return t._objectInstance.addEventListener(e,n.next.bind(n)),function(){return t._objectInstance.removeEventListener(e,n.next.bind(n))}})},e.prototype.isVisible=function(){},e.prototype.setVisible=function(e){},e.prototype.getHashCode=function(){},e.prototype.remove=function(){},e.prototype.setOpacity=function(e){},e.prototype.getOpacity=function(){},e.prototype.setZIndex=function(){},e.prototype.setIconAnchor=function(e,t){},e.prototype.setInfoWindowAnchor=function(e,t){},e.prototype.setDraggable=function(e){},e.prototype.isDraggable=function(){},e.prototype.setFlat=function(e){},e.prototype.setIcon=function(e){},e.prototype.setTitle=function(e){},e.prototype.getTitle=function(){},e.prototype.setSnippet=function(e){},e.prototype.getSnippet=function(){},e.prototype.setRotation=function(e){},e.prototype.getRotation=function(){},e.prototype.showInfoWindow=function(){},e.prototype.hideInfoWindow=function(){},e.prototype.setPosition=function(e){},e.prototype.getPosition=function(){},e.prototype.getMap=function(){},e.prototype.setAnimation=function(e){},Nn([O({sync:!0})],e.prototype,"isVisible",null),Nn([O()],e.prototype,"setVisible",null),Nn([O({sync:!0})],e.prototype,"getHashCode",null),Nn([O({sync:!0})],e.prototype,"remove",null),Nn([O({sync:!0})],e.prototype,"setOpacity",null),Nn([O({sync:!0})],e.prototype,"getOpacity",null),Nn([O({sync:!0})],e.prototype,"setZIndex",null),Nn([O({sync:!0})],e.prototype,"setIconAnchor",null),Nn([O({sync:!0})],e.prototype,"setInfoWindowAnchor",null),Nn([O({sync:!0})],e.prototype,"setDraggable",null),Nn([O({sync:!0})],e.prototype,"isDraggable",null),Nn([O({sync:!0})],e.prototype,"setFlat",null),Nn([O({sync:!0})],e.prototype,"setIcon",null),Nn([O({sync:!0})],e.prototype,"setTitle",null),Nn([O({sync:!0})],e.prototype,"getTitle",null),Nn([O({sync:!0})],e.prototype,"setSnippet",null),Nn([O({sync:!0})],e.prototype,"getSnippet",null),Nn([O({sync:!0})],e.prototype,"setRotation",null),Nn([O({sync:!0})],e.prototype,"getRotation",null),Nn([O({sync:!0})],e.prototype,"showInfoWindow",null),Nn([O({sync:!0})],e.prototype,"hideInfoWindow",null),Nn([O({sync:!0})],e.prototype,"setPosition",null),Nn([O()],e.prototype,"getPosition",null),Nn([O({sync:!0})],e.prototype,"getMap",null),Nn([O({sync:!0})],e.prototype,"setAnimation",null),e}(),Fn=function(){function e(e){this._objectInstance=e}return e.prototype.addEventListener=function(e){var t=this;return new Ge(function(n){return t._objectInstance.addEventListener(e,n.next.bind(n)),function(){return t._objectInstance.removeEventListener(e,n.next.bind(n))}})},e.prototype.getCenter=function(){},e.prototype.getRadius=function(){},e.prototype.getStrokeColor=function(){},e.prototype.getVisible=function(){},e.prototype.getZIndex=function(){},e.prototype.remove=function(){},e.prototype.setCenter=function(e){},e.prototype.setFillColor=function(e){},e.prototype.setStrokeColor=function(e){},e.prototype.setStrokeWidth=function(e){},e.prototype.setVisible=function(e){},e.prototype.setZIndex=function(e){},e.prototype.setRadius=function(e){},e.prototype.getMap=function(){},Nn([O({sync:!0})],e.prototype,"getCenter",null),Nn([O({sync:!0})],e.prototype,"getRadius",null),Nn([O({sync:!0})],e.prototype,"getStrokeColor",null),Nn([O({sync:!0})],e.prototype,"getVisible",null),Nn([O({sync:!0})],e.prototype,"getZIndex",null),Nn([O({sync:!0})],e.prototype,"remove",null),Nn([O({sync:!0})],e.prototype,"setCenter",null),Nn([O({sync:!0})],e.prototype,"setFillColor",null),Nn([O({sync:!0})],e.prototype,"setStrokeColor",null),Nn([O({sync:!0})],e.prototype,"setStrokeWidth",null),Nn([O({sync:!0})],e.prototype,"setVisible",null),Nn([O({sync:!0})],e.prototype,"setZIndex",null),Nn([O({sync:!0})],e.prototype,"setRadius",null),Nn([O({sync:!0})],e.prototype,"getMap",null),e}(),Wn=function(){function e(e){this._objectInstance=e}return e.prototype.addEventListener=function(e){var t=this;return new Ge(function(n){return t._objectInstance.addEventListener(e,n.next.bind(n)),function(){return t._objectInstance.removeEventListener(e,n.next.bind(n))}})},e.prototype.getPoints=function(){},e.prototype.getCOlor=function(){},e.prototype.getWidth=function(){},e.prototype.getGeodesic=function(){},e.prototype.getZIndex=function(){},e.prototype.remove=function(){},e.prototype.setPoints=function(e){},e.prototype.setColor=function(e){},e.prototype.setWidth=function(e){},e.prototype.setVisible=function(e){},e.prototype.setZIndex=function(e){},e.prototype.setGeoDesic=function(e){},e.prototype.getMap=function(){},Nn([O({sync:!0})],e.prototype,"getPoints",null),Nn([O({sync:!0})],e.prototype,"getCOlor",null),Nn([O({sync:!0})],e.prototype,"getWidth",null),Nn([O({sync:!0})],e.prototype,"getGeodesic",null),Nn([O({sync:!0})],e.prototype,"getZIndex",null),Nn([O({sync:!0})],e.prototype,"remove",null),Nn([O({sync:!0})],e.prototype,"setPoints",null),Nn([O({sync:!0})],e.prototype,"setColor",null),Nn([O({sync:!0})],e.prototype,"setWidth",null),Nn([O({sync:!0})],e.prototype,"setVisible",null),Nn([O({sync:!0})],e.prototype,"setZIndex",null),Nn([O({sync:!0})],e.prototype,"setGeoDesic",null),Nn([O({sync:!0})],e.prototype,"getMap",null),e}(),Bn=function(){function e(e){this._objectInstance=e}return e.prototype.addEventListener=function(e){var t=this;return new Ge(function(n){return t._objectInstance.addEventListener(e,n.next.bind(n)),function(){return t._objectInstance.removeEventListener(e,n.next.bind(n));
4}})},e.prototype.getPoints=function(){},e.prototype.getStrokeColor=function(){},e.prototype.getFillColor=function(){},e.prototype.getStrokeWidth=function(){},e.prototype.getGeodesic=function(){},e.prototype.getVisible=function(){},e.prototype.getZIndex=function(){},e.prototype.remove=function(){},e.prototype.setPoints=function(e){},e.prototype.setStrokeColor=function(e){},e.prototype.setFillColor=function(e){},e.prototype.setStrokeWidth=function(e){},e.prototype.setVisible=function(e){},e.prototype.setZIndex=function(e){},e.prototype.setGeodesic=function(e){},Nn([O({sync:!0})],e.prototype,"getPoints",null),Nn([O({sync:!0})],e.prototype,"getStrokeColor",null),Nn([O({sync:!0})],e.prototype,"getFillColor",null),Nn([O({sync:!0})],e.prototype,"getStrokeWidth",null),Nn([O({sync:!0})],e.prototype,"getGeodesic",null),Nn([O({sync:!0})],e.prototype,"getVisible",null),Nn([O({sync:!0})],e.prototype,"getZIndex",null),Nn([O({sync:!0})],e.prototype,"remove",null),Nn([O({sync:!0})],e.prototype,"setPoints",null),Nn([O({sync:!0})],e.prototype,"setStrokeColor",null),Nn([O({sync:!0})],e.prototype,"setFillColor",null),Nn([O({sync:!0})],e.prototype,"setStrokeWidth",null),Nn([O({sync:!0})],e.prototype,"setVisible",null),Nn([O({sync:!0})],e.prototype,"setZIndex",null),Nn([O({sync:!0})],e.prototype,"setGeodesic",null),e}(),Mn=function(){function e(e){this._objectInstance=e}return e.prototype.getVisible=function(){},e.prototype.setVisible=function(e){},e.prototype.getFadeIn=function(){},e.prototype.setFadeIn=function(e){},e.prototype.getZIndex=function(){},e.prototype.setZIndex=function(e){},e.prototype.getOpacity=function(){},e.prototype.setOpacity=function(e){},e.prototype.clearTileCache=function(){},e.prototype.remove=function(){},Nn([O({sync:!0})],e.prototype,"getVisible",null),Nn([O({sync:!0})],e.prototype,"setVisible",null),Nn([O({sync:!0})],e.prototype,"getFadeIn",null),Nn([O({sync:!0})],e.prototype,"setFadeIn",null),Nn([O({sync:!0})],e.prototype,"getZIndex",null),Nn([O({sync:!0})],e.prototype,"setZIndex",null),Nn([O({sync:!0})],e.prototype,"getOpacity",null),Nn([O({sync:!0})],e.prototype,"setOpacity",null),Nn([O({sync:!0})],e.prototype,"clearTileCache",null),Nn([O({sync:!0})],e.prototype,"remove",null),e}(),Un=function(){function e(e){this._objectInstance=e}return e.prototype.setBearing=function(e){},e.prototype.getBearing=function(){},e.prototype.setOpacity=function(e){},e.prototype.getOpacity=function(){},e.prototype.setVisible=function(e){},e.prototype.getVisible=function(){},e.prototype.setImage=function(e){},e.prototype.remove=function(){},Nn([O({sync:!0})],e.prototype,"setBearing",null),Nn([O({sync:!0})],e.prototype,"getBearing",null),Nn([O({sync:!0})],e.prototype,"setOpacity",null),Nn([O({sync:!0})],e.prototype,"getOpacity",null),Nn([O({sync:!0})],e.prototype,"setVisible",null),Nn([O({sync:!0})],e.prototype,"getVisible",null),Nn([O({sync:!0})],e.prototype,"setImage",null),Nn([O({sync:!0})],e.prototype,"remove",null),e}(),Vn=function(){function e(e){this._objectInstance=e}return e.prototype.remove=function(){},e.prototype.getOverlays=function(){},Nn([O({sync:!0})],e.prototype,"remove",null),Nn([O({sync:!0})],e.prototype,"getOverlays",null),e}(),zn=(function(){function e(e,t){this.southwestOrArrayOfLatLng=e,this.northeast=t;var n=t?[e,t]:e;this._objectInstance=new plugin.google.maps.LatLngBounds(n)}return e.prototype.toString=function(){},e.prototype.toUrlValue=function(e){},e.prototype.extend=function(e){},e.prototype.contains=function(e){},e.prototype.getCenter=function(){},Nn([O({sync:!0})],e.prototype,"toString",null),Nn([O({sync:!0})],e.prototype,"toUrlValue",null),Nn([O({sync:!0})],e.prototype,"extend",null),Nn([O({sync:!0})],e.prototype,"contains",null),Nn([O({sync:!0})],e.prototype,"getCenter",null),e}(),function(){function e(e,t){this.lat=e,this.lng=t,this._objectInstance=new plugin.google.maps.LatLng(e,t)}return e.prototype.equals=function(e){return this.lat===e.lat&&this.lng===e.lng},e.prototype.toString=function(){},e.prototype.toUrlValue=function(e){return e=e||6,this.lat.toFixed(e)+","+this.lng.toFixed(e)},Nn([O({sync:!0})],e.prototype,"toString",null),e}(),function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c}),Gn=function(){function e(){}return e.startTrackerWithId=function(e){},e.trackView=function(e,t){},e.trackEvent=function(e,t,n,o){},e.trackException=function(e,t){},e.trackTiming=function(e,t,n,o){},e.addTransaction=function(e,t,n,o,r,i){},e.addTransactionItem=function(e,t,n,o,r,i,c){},e.addCustomDimension=function(e,t){},e.setUserId=function(e){},e.setAppVersion=function(e){},e.setAnonymizeIp=function(e){},e.setAllowIDFACollection=function(e){},e.debugMode=function(){},e.enableUncaughtExceptionReporting=function(e){},zn([w()],e,"startTrackerWithId",null),zn([w()],e,"trackView",null),zn([w()],e,"trackEvent",null),zn([w()],e,"trackException",null),zn([w()],e,"trackTiming",null),zn([w()],e,"addTransaction",null),zn([w()],e,"addTransactionItem",null),zn([w()],e,"addCustomDimension",null),zn([w({sync:!0})],e,"setUserId",null),zn([w({sync:!0})],e,"setAppVersion",null),zn([w({sync:!0})],e,"setAnonymizeIp",null),zn([w({sync:!0})],e,"setAllowIDFACollection",null),zn([w({sync:!0})],e,"debugMode",null),zn([w()],e,"enableUncaughtExceptionReporting",null),e=zn([m({plugin:"cordova-plugin-google-analytics",pluginRef:"analytics",repo:"https://github.com/danwilson/google-analytics-plugin",platforms:["Android","iOS"]})],e)}(),Hn=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},qn=function(){function e(){}return e.isAvailable=function(){},e.toggleWifi=function(){},e.createHotspot=function(e,t,n){},e.startHotspot=function(){},e.configureHotspot=function(e,t,n){},e.stopHotspot=function(){},e.isHotspotEnabled=function(){},e.getAllHotspotDevices=function(){},e.connectToWifi=function(e,t){},e.connectToWifiAuthEncrypt=function(e,t,n,o){},e.addWifiNetwork=function(e,t,n){},e.removeWifiNetwork=function(e){},e.isConnectedToInternet=function(){},e.isConnectedToInternetViaWifi=function(){},e.isWifiOn=function(){},e.isWifiSupported=function(){},e.isWifiDirectSupported=function(){},e.scanWifi=function(){},e.scanWifiByLevel=function(){},e.startWifiPeriodicallyScan=function(e,t){},e.stopWifiPeriodicallyScan=function(){},e.getNetConfig=function(){},e.getConnectionInfo=function(){},e.pingHost=function(e){},e.getMacAddressOfHost=function(e){},e.isDnsLive=function(e){},e.isPortLive=function(e){},e.isRooted=function(){},Hn([w()],e,"isAvailable",null),Hn([w()],e,"toggleWifi",null),Hn([w()],e,"createHotspot",null),Hn([w()],e,"startHotspot",null),Hn([w()],e,"configureHotspot",null),Hn([w()],e,"stopHotspot",null),Hn([w()],e,"isHotspotEnabled",null),Hn([w()],e,"getAllHotspotDevices",null),Hn([w()],e,"connectToWifi",null),Hn([w()],e,"connectToWifiAuthEncrypt",null),Hn([w()],e,"addWifiNetwork",null),Hn([w()],e,"removeWifiNetwork",null),Hn([w()],e,"isConnectedToInternet",null),Hn([w()],e,"isConnectedToInternetViaWifi",null),Hn([w()],e,"isWifiOn",null),Hn([w()],e,"isWifiSupported",null),Hn([w()],e,"isWifiDirectSupported",null),Hn([w()],e,"scanWifi",null),Hn([w()],e,"scanWifiByLevel",null),Hn([w()],e,"startWifiPeriodicallyScan",null),Hn([w()],e,"stopWifiPeriodicallyScan",null),Hn([w()],e,"getNetConfig",null),Hn([w()],e,"getConnectionInfo",null),Hn([w()],e,"pingHost",null),Hn([w()],e,"getMacAddressOfHost",null),Hn([w()],e,"isDnsLive",null),Hn([w()],e,"isPortLive",null),Hn([w()],e,"isRooted",null),e=Hn([m({plugin:"cordova-plugin-hotspot",pluginRef:"cordova.plugins.hotspot",repo:"https://github.com/hypery2k/cordova-hotspot-plugin",platforms:["Android"]})],e)}(),Yn=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},$n=function(){function e(){}return e.startServer=function(e){},e.getUrl=function(){},e.getLocalPath=function(){},Yn([w({observable:!0,clearFunction:"stopServer"})],e,"startServer",null),Yn([w()],e,"getUrl",null),Yn([w()],e,"getLocalPath",null),e=Yn([m({plugin:"https://github.com/floatinghotpot/cordova-httpd.git",pluginRef:"cordova.plugins.CorHttpd",repo:"https://github.com/floatinghotpot/cordova-httpd",platforms:["iOS","Android"]})],e)}(),Xn=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Kn=function(){function e(){}return e.Delegate=function(){var e=new cordova.plugins.locationManager.Delegate;return e.didChangeAuthorizationStatus=function(t){return new Ge(function(t){var n=function(e){return t.next(e)};return e.didChangeAuthorizationStatus=n})},e.didDetermineStateForRegion=function(t){return new Ge(function(t){var n=function(e){return t.next(e)};return e.didDetermineStateForRegion=n})},e.didEnterRegion=function(t){return new Ge(function(t){var n=function(e){return t.next(e)};return e.didEnterRegion=n})},e.didExitRegion=function(t){return new Ge(function(t){var n=function(e){return t.next(e)};return e.didExitRegion=n})},e.didRangeBeaconsInRegion=function(t){return new Ge(function(t){var n=function(e){return t.next(e)};return e.didRangeBeaconsInRegion=n})},e.didStartMonitoringForRegion=function(t){return new Ge(function(t){var n=function(e){return t.next(e)};return e.didStartMonitoringForRegion=n})},e.monitoringDidFailForRegionWithError=function(t){return new Ge(function(t){var n=function(e){return t.next(e)};return e.monitoringDidFailForRegionWithError=n})},e.peripheralManagerDidStartAdvertising=function(t){return new Ge(function(t){var n=function(e){return t.next(e)};return e.peripheralManagerDidStartAdvertising=n})},e.peripheralManagerDidUpdateState=function(t){return new Ge(function(t){var n=function(e){return t.next(e)};return e.peripheralManagerDidUpdateState=n})},cordova.plugins.locationManager.setDelegate(e),e},e.BeaconRegion=function(e,t,n,o,r){return new cordova.plugins.locationManager.BeaconRegion(e,t,n,o,r)},e.getDelegate=function(){},e.setDelegate=function(e){},e.onDomDelegateReady=function(){},e.isBluetoothEnabled=function(){},e.enableBluetooth=function(){},e.disableBluetooth=function(){},e.startMonitoringForRegion=function(e){},e.stopMonitoringForRegion=function(e){},e.requestStateForRegion=function(e){},e.startRangingBeaconsInRegion=function(e){},e.stopRangingBeaconsInRegion=function(e){},e.getAuthorizationStatus=function(){},e.requestWhenInUseAuthorization=function(){},e.requestAlwaysAuthorization=function(){},e.getMonitoredRegions=function(){},e.getRangedRegions=function(){},e.isRangingAvailable=function(){},e.isMonitoringAvailableForClass=function(e){},e.startAdvertising=function(e,t){},e.stopAdvertising=function(e){},e.isAdvertisingAvailable=function(){},e.isAdvertising=function(){},e.disableDebugLogs=function(){},e.enableDebugNotifications=function(){},e.disableDebugNotifications=function(){},e.enableDebugLogs=function(){},e.appendToDeviceLog=function(e){},Xn([w()],e,"getDelegate",null),Xn([w()],e,"setDelegate",null),Xn([w({otherPromise:!0})],e,"onDomDelegateReady",null),Xn([w({otherPromise:!0})],e,"isBluetoothEnabled",null),Xn([w({otherPromise:!0})],e,"enableBluetooth",null),Xn([w({otherPromise:!0})],e,"disableBluetooth",null),Xn([w({otherPromise:!0})],e,"startMonitoringForRegion",null),Xn([w({otherPromise:!0})],e,"stopMonitoringForRegion",null),Xn([w({otherPromise:!0})],e,"requestStateForRegion",null),Xn([w({otherPromise:!0})],e,"startRangingBeaconsInRegion",null),Xn([w({otherPromise:!0})],e,"stopRangingBeaconsInRegion",null),Xn([w({otherPromise:!0})],e,"getAuthorizationStatus",null),Xn([w({otherPromise:!0})],e,"requestWhenInUseAuthorization",null),Xn([w({otherPromise:!0})],e,"requestAlwaysAuthorization",null),Xn([w({otherPromise:!0})],e,"getMonitoredRegions",null),Xn([w({otherPromise:!0})],e,"getRangedRegions",null),Xn([w({otherPromise:!0})],e,"isRangingAvailable",null),Xn([w({otherPromise:!0})],e,"isMonitoringAvailableForClass",null),Xn([w({otherPromise:!0})],e,"startAdvertising",null),Xn([w({otherPromise:!0})],e,"stopAdvertising",null),Xn([w({otherPromise:!0})],e,"isAdvertisingAvailable",null),Xn([w({otherPromise:!0})],e,"isAdvertising",null),Xn([w({otherPromise:!0})],e,"disableDebugLogs",null),Xn([w({otherPromise:!0})],e,"enableDebugNotifications",null),Xn([w({otherPromise:!0})],e,"disableDebugNotifications",null),Xn([w({otherPromise:!0})],e,"enableDebugLogs",null),Xn([w({otherPromise:!0})],e,"appendToDeviceLog",null),e=Xn([m({plugin:"cordova-plugin-ibeacon",pluginRef:"cordova.plugins.locationManager",repo:"https://github.com/petermetz/cordova-plugin-ibeacon",platforms:["Android","iOS"]})],e)}(),Zn=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Jn=function(){function e(){}return e.getPictures=function(e){},Zn([w({callbackOrder:"reverse"})],e,"getPictures",null),e=Zn([m({plugin:"cordova-plugin-image-picker",pluginRef:"window.imagePicker",repo:"https://github.com/wymsee/cordova-imagePicker"})],e)}(),Qn=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},eo=function(){function e(){}return e.resize=function(e){},Qn([w()],e,"resize",null),e=Qn([m({plugin:"https://github.com/protonet/cordova-plugin-image-resizer.git",pluginRef:"ImageResizer",repo:"https://github.com/protonet/cordova-plugin-image-resizer"})],e)}(),to=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},no=function(){function e(e,t,n){try{this._objectInstance=cordova.InAppBrowser.open(e,t,n)}catch(t){window.open(e),console.warn("Native: InAppBrowser is not installed or you are running on a browser. Falling back to window.open, all instance methods will NOT work.")}}return e.open=function(e,t,n){console.warn("Native: Your current usage of the InAppBrowser plugin is depreciated as of ionic-native@1.3.8. Please check the Ionic Native docs for the latest usage details.")},e.prototype.show=function(){},e.prototype.close=function(){},e.prototype.executeScript=function(e){},e.prototype.insertCss=function(e){},e.prototype.on=function(e){var t=this;return new Ge(function(n){return t._objectInstance.addEventListener(e,n.next.bind(n)),function(){return t._objectInstance.removeEventListener(e,n.next.bind(n))}})},to([O({sync:!0})],e.prototype,"show",null),to([O({sync:!0})],e.prototype,"close",null),to([O()],e.prototype,"executeScript",null),to([O()],e.prototype,"insertCss",null),e=to([m({plugin:"cordova-plugin-inappbrowser",pluginRef:"cordova.InAppBrowser",repo:"https://github.com/apache/cordova-plugin-inappbrowser"})],e)}(),oo=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},ro=function(){function e(){}return e.getProducts=function(e){},e.buy=function(e){},e.subscribe=function(e){},e.consume=function(e,t,n){},e.restorePurchases=function(){},e.getReceipt=function(){},oo([w({otherPromise:!0})],e,"getProducts",null),oo([w({otherPromise:!0})],e,"buy",null),oo([w({otherPromise:!0})],e,"subscribe",null),oo([w({otherPromise:!0})],e,"consume",null),oo([w({otherPromise:!0})],e,"restorePurchases",null),oo([w({otherPromise:!0,platforms:["iOS"]})],e,"getReceipt",null),e=oo([m({plugin:"cordova-plugin-inapppurchase",pluginRef:"inAppPurchase",platforms:["Android","iOS"],repo:"https://github.com/AlexDisler/cordova-plugin-inapppurchase"})],e)}(),io=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},co=(function(){function e(){}return e.keepAwake=function(){},e.allowSleepAgain=function(){},io([w()],e,"keepAwake",null),io([w()],e,"allowSleepAgain",null),e=io([m({plugin:"https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin.git",pluginRef:"plugins.insomnia",repo:"https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin",platforms:["Android","iOS","Windows Phone 8"]})],e)}(),function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c}),uo=function(){function e(){}return e.isInstalled=function(){},e.share=function(e,t){},e.shareAsset=function(e){},co([w({callbackStyle:"node"})],e,"isInstalled",null),co([w({callbackStyle:"node"})],e,"share",null),co([w({callbackOrder:"reverse"})],e,"shareAsset",null),e=co([m({plugin:"cordova-instagram-plugin",pluginRef:"Instagram",repo:"https://github.com/vstirbu/InstagramPlugin"})],e)}(),lo=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},so=function(){function e(){}return e.getIsDebug=function(){},lo([w()],e,"getIsDebug",null),e=lo([m({plugin:"cordova-plugin-is-debug",pluginRef:"cordova.plugins.IsDebug",repo:"https://github.com/mattlewis92/cordova-plugin-is-debug"})],e)}(),ao=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},po=function(){function e(){}return e.hideKeyboardAccessoryBar=function(e){},e.show=function(){},e.close=function(){},e.disableScroll=function(e){},e.onKeyboardShow=function(){},e.onKeyboardHide=function(){},ao([w({sync:!0})],e,"hideKeyboardAccessoryBar",null),ao([w({sync:!0,platforms:["Android","BlackBerry 10","Windows"]})],e,"show",null),ao([w({sync:!0,platforms:["iOS","Android","BlackBerry 10","Windows"]})],e,"close",null),ao([w({sync:!0,platforms:["iOS","Windows"]})],e,"disableScroll",null),ao([w({eventObservable:!0,event:"native.keyboardshow",platforms:["iOS","Android","BlackBerry 10","Windows"]})],e,"onKeyboardShow",null),ao([w({eventObservable:!0,event:"native.keyboardhide",platforms:["iOS","Android","BlackBerry 10","Windows"]})],e,"onKeyboardHide",null),e=ao([m({plugin:"ionic-plugin-keyboard",pluginRef:"cordova.plugins.Keyboard",repo:"https://github.com/driftyco/ionic-plugin-keyboard"})],e)}(),fo=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},go=function(){function e(){}return e.navigate=function(e,t){},e.isAppAvailable=function(e){},e.availableApps=function(){},e.getAppDisplayName=function(e){},e.getAppsForPlatform=function(e){},e.supportsTransportMode=function(e,t){},e.getTransportModes=function(e,t){},e.supportsLaunchMode=function(e,t){},e.supportsStart=function(e,t){},e.supportsStartName=function(e,t){},e.supportsDestName=function(e,t){},e.userSelect=function(e,t){},e.APP={USER_SELECT:"user_select",APPLE_MAPS:"apple_maps",GOOGLE_MAPS:"google_maps",WAZE:"waze",CITYMAPPER:"citymapper",NAVIGON:"navigon",TRANSIT_APP:"transit_app",YANDEX:"yandex",UBER:"uber",TOMTOM:"tomtom",BING_MAPS:"bing_maps",SYGIC:"sygic",HERE_MAPS:"here_maps",MOOVIT:"moovit"},e.TRANSPORT_MODE={DRIVING:"driving",WALKING:"walking",BICYCLING:"bicycling",TRANSIT:"transit"},fo([w({successIndex:1,errorIndex:2})],e,"navigate",null),fo([w()],e,"isAppAvailable",null),fo([w()],e,"availableApps",null),fo([w({sync:!0})],e,"getAppDisplayName",null),fo([w({sync:!0})],e,"getAppsForPlatform",null),fo([w({sync:!0})],e,"supportsTransportMode",null),fo([w({sync:!0})],e,"getTransportModes",null),fo([w({sync:!0})],e,"supportsLaunchMode",null),fo([w({sync:!0})],e,"supportsStart",null),fo([w({sync:!0})],e,"supportsStartName",null),fo([w({sync:!0})],e,"supportsDestName",null),fo([w({sync:!0})],e,"userSelect",null),e=fo([m({plugin:"uk.co.workingedge.phonegap.plugin.launchnavigator",pluginRef:"launchnavigator",repo:"https://github.com/dpa99c/phonegap-launch-navigator.git"})],e)}(),ho=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},yo=function(){function e(){}return e.schedule=function(e){},e.update=function(e){},e.clear=function(e){},e.clearAll=function(){},e.cancel=function(e){},e.cancelAll=function(){},e.isPresent=function(e){},e.isScheduled=function(e){},e.isTriggered=function(e){},e.getAllIds=function(){},e.getTriggeredIds=function(){},e.getScheduledIds=function(){},e.get=function(e){},e.getScheduled=function(e){},e.getTriggered=function(e){},e.getAll=function(){},e.getAllScheduled=function(){},e.getAllTriggered=function(){},e.registerPermission=function(){},e.hasPermission=function(){},e.on=function(e,t){},ho([w({sync:!0})],e,"schedule",null),ho([w({sync:!0})],e,"update",null),ho([w()],e,"clear",null),ho([w({successIndex:0,errorIndex:2})],e,"clearAll",null),ho([w()],e,"cancel",null),ho([w({successIndex:0,errorIndex:2})],e,"cancelAll",null),ho([w()],e,"isPresent",null),ho([w()],e,"isScheduled",null),ho([w()],e,"isTriggered",null),ho([w()],e,"getAllIds",null),ho([w()],e,"getTriggeredIds",null),ho([w()],e,"getScheduledIds",null),ho([w()],e,"get",null),ho([w()],e,"getScheduled",null),ho([w()],e,"getTriggered",null),ho([w()],e,"getAll",null),ho([w()],e,"getAllScheduled",null),ho([w()],e,"getAllTriggered",null),ho([w()],e,"registerPermission",null),ho([w()],e,"hasPermission",null),ho([w({sync:!0})],e,"on",null),e=ho([m({plugin:"de.appplant.cordova.plugin.local-notification",pluginRef:"cordova.plugins.notification.local",repo:"https://github.com/katzer/cordova-plugin-local-notifications"})],e)}(),bo=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},vo=function(){function e(){}return Object.defineProperty(e,"supportedImageModes",{get:function(){return navigator.device.capture.supportedImageModes},enumerable:!0,configurable:!0}),Object.defineProperty(e,"supportedAudioModes",{get:function(){return navigator.device.capture.supportedAudioModes},enumerable:!0,configurable:!0}),Object.defineProperty(e,"supportedVideoModes",{get:function(){return navigator.device.capture.supportedVideoModes},enumerable:!0,configurable:!0}),e.captureAudio=function(e){},e.captureImage=function(e){},e.captureVideo=function(e){},e.onPendingCaptureResult=function(){},e.onPendingCaptureError=function(){},bo([R],e,"supportedImageModes",null),bo([R],e,"supportedAudioModes",null),bo([R],e,"supportedVideoModes",null),bo([w({callbackOrder:"reverse"})],e,"captureAudio",null),bo([w({callbackOrder:"reverse"})],e,"captureImage",null),bo([w({callbackOrder:"reverse"})],e,"captureVideo",null),bo([w({eventObservable:!0,event:"pendingcaptureresult"})],e,"onPendingCaptureResult",null),bo([w({eventObservable:!0,event:"pendingcaptureerror"})],e,"onPendingCaptureError",null),e=bo([m({plugin:"cordova-plugin-media-capture",pluginRef:"navigator.device.capture",repo:"https://github.com/apache/cordova-plugin-media-capture"})],e)}(),mo=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},wo=function(){function e(){}return e.preloadSimple=function(e,t){},e.preloadComplex=function(e,t,n,o,r){},e.play=function(e,t){},e.stop=function(e){},e.loop=function(e){},e.unload=function(e){},e.setVolumeForComplexAsset=function(e,t){},mo([w()],e,"preloadSimple",null),mo([w()],e,"preloadComplex",null),mo([w({successIndex:1,errorIndex:2})],e,"play",null),mo([w()],e,"stop",null),mo([w()],e,"loop",null),mo([w()],e,"unload",null),mo([w()],e,"setVolumeForComplexAsset",null),e=mo([m({plugin:"cordova-plugin-nativeaudio",pluginRef:"plugins.NativeAudio",repo:"https://github.com/floatinghotpot/cordova-plugin-nativeaudio"})],e)}(),Oo=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Ro=function(){function e(){}return e.slide=function(e){},e.flip=function(e){},e.fade=function(e){},e.drawer=function(e){},e.curl=function(e){},Oo([w()],e,"slide",null),Oo([w()],e,"flip",null),Oo([w({platforms:["iOS","Android"]})],e,"fade",null),Oo([w({platforms:["iOS","Android"]})],e,"drawer",null),Oo([w({platforms:["iOS"]})],e,"curl",null),e=Oo([m({plugin:"com.telerik.plugins.nativepagetransitions",pluginRef:"plugins.nativepagetransitions",repo:"https://github.com/Telerik-Verified-Plugins/NativePageTransitions",platforms:["iOS","Android","Windows Phone"]})],e)}(),Po=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Ao=function(){function e(){}return e.setItem=function(e,t){},e.getItem=function(e){},e.remove=function(e){},e.clear=function(){},Po([w()],e,"setItem",null),Po([w()],e,"getItem",null),Po([w()],e,"remove",null),Po([w()],e,"clear",null),e=Po([m({plugin:"cordova-plugin-nativestorage",pluginRef:"NativeStorage",repo:"https://github.com/TheCocoaProject/cordova-plugin-nativestorage"})],e)}(),So=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Eo=function(){function e(){}return e.open=function(e,t){},So([w({sync:!0})],e,"open",null),e=So([m({plugin:"cordova-plugin-market",pluginRef:"plugins.market",repo:"https://github.com/xmartlabs/cordova-plugin-market"})],e)}(),jo=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Io=function(){function e(e){var t=this;this.init=new Promise(function(n,o){t.status=new Ge(function(r){t._objectInstance=new Media(e,n,o,r.next.bind(r))})})}return e.prototype.getCurrentAmplitude=function(){},e.prototype.getCurrentPosition=function(){},e.prototype.getDuration=function(){},e.prototype.play=function(e){},e.prototype.pause=function(){},e.prototype.release=function(){},e.prototype.seekTo=function(e){},e.prototype.setVolume=function(e){},e.prototype.startRecord=function(){},e.prototype.stopRecord=function(){},e.prototype.stop=function(){},e.MEDIA_NONE=0,e.MEDIA_STARTING=1,e.MEDIA_RUNNING=2,e.MEDIA_PAUSED=3,e.MEDIA_STOPPED=4,e.MEDIA_ERR_ABORTED=1,e.MEDIA_ERR_NETWORK=2,e.MEDIA_ERR_DECODE=3,e.MEDIA_ERR_NONE_SUPPORTED=4,jo([O()],e.prototype,"getCurrentAmplitude",null),jo([O()],e.prototype,"getCurrentPosition",null),jo([O({sync:!0})],e.prototype,"getDuration",null),jo([O({sync:!0})],e.prototype,"play",null),jo([O({sync:!0})],e.prototype,"pause",null),jo([O({sync:!0})],e.prototype,"release",null),jo([O({sync:!0})],e.prototype,"seekTo",null),jo([O({sync:!0})],e.prototype,"setVolume",null),jo([O({sync:!0})],e.prototype,"startRecord",null),jo([O({sync:!0})],e.prototype,"stopRecord",null),jo([O({sync:!0})],e.prototype,"stop",null),e=jo([m({repo:"https://github.com/apache/cordova-plugin-media",plugin:"cordova-plugin-media",pluginRef:"Media"})],e)}(),_o=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Do=function(){function e(){}return e.alias=function(e,t){},e.distinctId=function(){},e.flush=function(){},e.identify=function(e){},e.init=function(e){},e.registerSuperProperties=function(e){},e.reset=function(){},e.track=function(e,t){},e.showSurvey=function(){},Object.defineProperty(e,"people",{get:function(){return mixpanel.people},enumerable:!0,configurable:!0}),_o([w()],e,"alias",null),_o([w()],e,"distinctId",null),_o([w()],e,"flush",null),_o([w()],e,"identify",null),_o([w()],e,"init",null),_o([w()],e,"registerSuperProperties",null),_o([w()],e,"reset",null),_o([w()],e,"track",null),_o([w()],e,"showSurvey",null),_o([R],e,"people",null),e=_o([m({plugin:"cordova-plugin-mixpanel",pluginRef:"mixpanel",repo:"https://github.com/samzilverberg/cordova-mixpanel-plugin"})],e)}(),Co=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},To=function(){function e(){}return e.create=function(e){},e.destroy=function(){},e.subscribe=function(){},e.listen=function(){},e.updateIsPlaying=function(e){},Co([w()],e,"create",null),Co([w()],e,"destroy",null),Co([w({
5observable:!0})],e,"subscribe",null),Co([w({sync:!0})],e,"listen",null),Co([w({sync:!0})],e,"updateIsPlaying",null),e=Co([m({plugin:"cordova-plugin-music-controls",pluginRef:"MusicControls",repo:"https://github.com/homerours/cordova-music-controls-plugin"})],e)}(),ko=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},No=function(){function e(){}return Object.defineProperty(e,"connection",{get:function(){return navigator.connection.type},enumerable:!0,configurable:!0}),e.onDisconnect=function(){},e.onConnect=function(){},ko([R],e,"connection",null),ko([w({eventObservable:!0,event:"offline"})],e,"onDisconnect",null),ko([w({eventObservable:!0,event:"online"})],e,"onConnect",null),e=ko([m({plugin:"cordova-plugin-network-information",repo:"https://github.com/apache/cordova-plugin-network-information",platforms:["Amazon Fire OS","iOS","Android","BlackBerry 10","Windows Phone 7","Windows Phone 8","Windows","Firefox OS","Browser"],pluginRef:"navigator.connection"})],e)}(),Lo=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},xo=function(){function e(){}return e.addNdefListener=function(e,t){},e.addTagDiscoveredListener=function(e,t,n){},e.addMimeTypeListener=function(e,t){},e.addNdefFormatableListener=function(e,t){},e.write=function(e){},e.makeReadyOnly=function(){},e.share=function(e){},e.unshare=function(){},e.erase=function(){},e.handover=function(e){},e.stopHandover=function(){},e.showSettings=function(){},e.enabled=function(){},Lo([w({observable:!0,successIndex:0,errorIndex:3,clearFunction:"removeNdefListener",clearWithArgs:!0})],e,"addNdefListener",null),Lo([w({observable:!0,successIndex:1,errorIndex:4,clearFunction:"removeTagDiscoveredListener",clearWithArgs:!0})],e,"addTagDiscoveredListener",null),Lo([w({observable:!0,successIndex:0,errorIndex:3,clearFunction:"removeMimeTypeListener",clearWithArgs:!0})],e,"addMimeTypeListener",null),Lo([w({observable:!0,successIndex:0,errorIndex:3})],e,"addNdefFormatableListener",null),Lo([w()],e,"write",null),Lo([w()],e,"makeReadyOnly",null),Lo([w()],e,"share",null),Lo([w()],e,"unshare",null),Lo([w()],e,"erase",null),Lo([w()],e,"handover",null),Lo([w()],e,"stopHandover",null),Lo([w()],e,"showSettings",null),Lo([w()],e,"enabled",null),e=Lo([m({plugin:"phonegap-nfc",pluginRef:"nfc",repo:"https://github.com/chariotsolutions/phonegap-nfc"})],e)}(),Fo=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Wo=function(){function e(){}return e.init=function(e,t){},e.registerForPushNotifications=function(){},e.sendTag=function(e,t){},e.sendTags=function(e){},e.getTags=function(){},e.deleteTag=function(e){},e.deleteTags=function(e){},e.getIds=function(){},e.enableVibrate=function(e){},e.enableSound=function(e){},e.enableNotificationsWhenActive=function(e){},e.enableInAppAlertNotification=function(e){},e.setSubscription=function(e){},e.postNotification=function(e){},e.promptLocation=function(){},e.setLogLevel=function(e){},Fo([w({observable:!0})],e,"init",null),Fo([w({sync:!0})],e,"registerForPushNotifications",null),Fo([w({sync:!0})],e,"sendTag",null),Fo([w({sync:!0})],e,"sendTags",null),Fo([w()],e,"getTags",null),Fo([w({sync:!0})],e,"deleteTag",null),Fo([w({sync:!0})],e,"deleteTags",null),Fo([w()],e,"getIds",null),Fo([w({sync:!0})],e,"enableVibrate",null),Fo([w({sync:!0})],e,"enableSound",null),Fo([w({sync:!0})],e,"enableNotificationsWhenActive",null),Fo([w({sync:!0})],e,"enableInAppAlertNotification",null),Fo([w({sync:!0})],e,"setSubscription",null),Fo([w()],e,"postNotification",null),Fo([w({sync:!0})],e,"promptLocation",null),Fo([w({sync:!0})],e,"setLogLevel",null),e=Fo([m({plugin:"onesignal-cordova-plugin",pluginRef:"plugins.OneSignal",repo:"https://github.com/OneSignal/OneSignal-Cordova-SDK"})],e)}(),Bo=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Mo=function(){function e(){}return e.show=function(e,t,n){},Bo([w({sync:!0})],e,"show",null),e=Bo([m({plugin:"com-sarriaroman-photoviewer",pluginRef:"PhotoViewer",repo:"https://github.com/sarriaroman/photoviewer"})],e)}(),Uo=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Vo=function(){function e(){}return e.lockOrientation=function(e){},e.unlockOrientation=function(){},Object.defineProperty(e,"orientation",{get:function(){return window.screen.orientation},enumerable:!0,configurable:!0}),Uo([w({sync:!0})],e,"lockOrientation",null),Uo([w({sync:!0})],e,"unlockOrientation",null),Uo([R],e,"orientation",null),e=Uo([m({plugin:"cordova-plugin-screen-orientation",pluginRef:"window.screen",repo:"https://github.com/apache/cordova-plugin-screen-orientation",platforms:["Android","iOS","Windows Phone 8"]})],e)}(),zo=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Go=function(){function e(){}return e.init=function(e,t){},e.version=function(){},e.renderSinglePaymentUI=function(e){},e.clientMetadataID=function(){},e.renderFuturePaymentUI=function(){},e.renderProfileSharingUI=function(e){},zo([w()],e,"init",null),zo([w()],e,"version",null),zo([w()],e,"renderSinglePaymentUI",null),zo([w()],e,"clientMetadataID",null),zo([w()],e,"renderFuturePaymentUI",null),zo([w()],e,"renderProfileSharingUI",null),e=zo([m({plugin:"com.paypal.cordova.mobilesdk",pluginRef:"PayPalMobile",repo:"https://github.com/paypal/PayPal-Cordova-Plugin"})],e)}(),Ho=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},qo=function(){function e(){}return e.prompt=function(e,t,n){},Ho([w({successIndex:1})],e,"prompt",null),e=Ho([m({plugin:"cordova-plugin-pin-dialog",pluginRef:"plugins.pinDialog",repo:"https://github.com/Paldom/PinDialog"})],e)}(),Yo=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},$o=function(){function e(){}return e.acquire=function(){},e.dim=function(){},e.release=function(){},e.setReleaseOnPause=function(e){},Yo([w()],e,"acquire",null),Yo([w()],e,"dim",null),Yo([w()],e,"release",null),Yo([w()],e,"setReleaseOnPause",null),e=Yo([m({plugin:"cordova-plugin-powermanagement-orig",pluginRef:"https://github.com/Viras-/cordova-plugin-powermanagement",repo:"powerManagement"})],e)}(),Xo=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Ko=function(){function e(){}return e.isAvailable=function(){},e.print=function(e,t){},Xo([w()],e,"isAvailable",null),Xo([w()],e,"print",null),e=Xo([m({plugin:"de.appplant.cordova.plugin.printer",pluginRef:"cordova.plugins.printer",repo:"https://github.com/katzer/cordova-plugin-printer.git",platforms:["Android","iOS"]})],e)}(),Zo=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Jo=function(){function e(){}return e.init=function(e){},e.hasPermission=function(){},Zo([w({sync:!0})],e,"init",null),Zo([w()],e,"hasPermission",null),e=Zo([m({plugin:"phonegap-plugin-push",pluginRef:"PushNotification",repo:"https://github.com/phonegap/phonegap-plugin-push"})],e)}(),Qo=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},er=function(){function e(){}return e.isAvailable=function(){},e.show=function(e){},e.hide=function(){},e.connectToService=function(){},e.warmUp=function(){},e.mayLaunchUrl=function(e){},Qo([w()],e,"isAvailable",null),Qo([w()],e,"show",null),Qo([w()],e,"hide",null),Qo([w()],e,"connectToService",null),Qo([w()],e,"warmUp",null),Qo([w()],e,"mayLaunchUrl",null),e=Qo([m({plugin:"cordova-plugin-safariviewcontroller",pluginRef:"SafariViewController",platforms:["iOS","Android"],repo:"https://github.com/EddyVerbruggen/cordova-plugin-safariviewcontroller"})],e)}(),tr=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},nr=function(){function e(){}return e.save=function(e,t,n){return new Promise(function(o,r){navigator.screenshot.save(function(e,t){e?r(e):o(t)},e,t,n)})},e.URI=function(e){return new Promise(function(t,n){navigator.screenshot.URI(function(e,o){e?n(e):t(o)},e)})},e=tr([m({plugin:"https://github.com/gitawego/cordova-screenshot.git",pluginRef:"navigator.screenshot",repo:"https://github.com/gitawego/cordova-screenshot.git"})],e)}(),or=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},rr=function(){function e(){}return e.prototype.create=function(e){var t=this;return new Promise(function(n,o){t._objectInstance=new cordova.plugins.SecureStorage(n,o,e)})},e.prototype.get=function(e){},e.prototype.set=function(e,t){},e.prototype.remove=function(e){},or([O({callbackOrder:"reverse"})],e.prototype,"get",null),or([O({callbackOrder:"reverse"})],e.prototype,"set",null),or([O({callbackOrder:"reverse"})],e.prototype,"remove",null),e=or([m({plugin:"cordova-plugin-secure-storage",pluginRef:"plugins.securestorage",repo:"https://github.com/Crypho/cordova-plugin-secure-storage",platforms:["Android","iOS","Windows Phone","Browser"]})],e)}(),ir=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},cr=function(){function e(){}return e.startWatch=function(e){},ir([w({observable:!0,clearFunction:"stopWatch",successIndex:0,errorIndex:2})],e,"startWatch",null),e=ir([m({plugin:"cordova-plugin-shake",pluginRef:"shake",repo:"https://github.com/leecrossley/cordova-plugin-shake"})],e)}(),ur=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},lr=function(){function e(){}return e.getSimInfo=function(){},ur([w()],e,"getSimInfo",null),e=ur([m({plugin:"cordova-plugin-sim",pluginRef:"plugins.sim",repo:"https://github.com/pbakondy/cordova-plugin-sim",platforms:["Android","iOS","Windows Phone"]})],e)}(),sr=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},ar=function(){function e(){}return e.send=function(e,t,n){},sr([w()],e,"send",null),e=sr([m({plugin:"cordova-sms-plugin",pluginRef:"sms",repo:"https://github.com/cordova-sms/cordova-sms-plugin",platforms:["Android","iOS","Windows Phone 8"]})],e)}(),pr=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},fr=function(){function e(){}return e.share=function(e,t,n,o){},e.shareWithOptions=function(e){},e.canShareVia=function(e,t,n,o,r){},e.shareViaTwitter=function(e,t,n){},e.shareViaFacebook=function(e,t,n){},e.shareViaFacebookWithPasteMessageHint=function(e,t,n,o){},e.shareViaInstagram=function(e,t){},e.shareViaWhatsApp=function(e,t,n){},e.shareViaWhatsAppToReceiver=function(e,t,n,o){},e.shareViaSMS=function(e,t){},e.canShareViaEmail=function(){},e.shareViaEmail=function(e,t,n,o,r,i){},e.shareVia=function(e,t,n,o,r){},pr([w()],e,"share",null),pr([w({platforms:["iOS","Android"]})],e,"shareWithOptions",null),pr([w({successIndex:5,errorIndex:6,platforms:["iOS","Android"]})],e,"canShareVia",null),pr([w({successIndex:3,errorIndex:4,platforms:["iOS","Android"]})],e,"shareViaTwitter",null),pr([w({successIndex:3,errorIndex:4,platforms:["iOS","Android"]})],e,"shareViaFacebook",null),pr([w({successIndex:4,errorIndex:5,platforms:["iOS","Android"]})],e,"shareViaFacebookWithPasteMessageHint",null),pr([w({platforms:["iOS","Android"]})],e,"shareViaInstagram",null),pr([w({successIndex:3,errorIndex:4,platforms:["iOS","Android"]})],e,"shareViaWhatsApp",null),pr([w({successIndex:4,errorIndex:5,platforms:["iOS","Android"]})],e,"shareViaWhatsAppToReceiver",null),pr([w({platforms:["iOS","Android"]})],e,"shareViaSMS",null),pr([w({platforms:["iOS","Android"]})],e,"canShareViaEmail",null),pr([w({platforms:["iOS","Android"],successIndex:6,errorIndex:7})],e,"shareViaEmail",null),pr([w({successIndex:5,errorIndex:6,platforms:["iOS","Android"]})],e,"shareVia",null),e=pr([m({plugin:"cordova-plugin-x-socialsharing",pluginRef:"plugins.socialsharing",repo:"https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin",platforms:["iOS","Android","Windows Phone"]})],e)}(),dr=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},gr=function(){function e(){}return e.show=function(e,t,n,o){},e.hide=function(){},dr([w({sync:!0})],e,"show",null),dr([w({sync:!0})],e,"hide",null),e=dr([m({plugin:"cordova-plugin-spinner-dialog",pluginRef:"window.plugins.spinnerDialog",repo:"https://github.com/Paldom/SpinnerDialog",platforms:["Android","iOS","Windows Phone 8"]})],e)}(),hr=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},yr=function(){function e(){}return e.show=function(){},e.hide=function(){},hr([w({sync:!0})],e,"show",null),hr([w({sync:!0})],e,"hide",null),e=hr([m({plugin:"cordova-plugin-splashscreen",pluginRef:"navigator.splashscreen",repo:"https://github.com/apache/cordova-plugin-splashscreen"})],e)}(),br=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},vr=function(){function e(){}return Object.defineProperty(e.prototype,"databaseFeatures",{get:function(){return this._objectInstance.databaseFeatures},enumerable:!0,configurable:!0}),e.prototype.openDatabase=function(e){var t=this;return new Promise(function(n,o){sqlitePlugin.openDatabase(e,function(e){t._objectInstance=e,n(e)},function(e){console.warn(e),o(e)})})},e.prototype.addTransaction=function(e){},e.prototype.transaction=function(e){},e.prototype.readTransaction=function(e){},e.prototype.startNextTransaction=function(){},e.prototype.close=function(){},e.prototype.start=function(){},e.prototype.executeSql=function(e,t){},e.prototype.addStatement=function(e,t){},e.prototype.sqlBatch=function(e){},e.prototype.abortallPendingTransactions=function(){},e.prototype.handleStatementSuccess=function(e,t){},e.prototype.handleStatementFailure=function(e,t){},e.prototype.run=function(){},e.prototype.abort=function(e){},e.prototype.finish=function(){},e.prototype.abortFromQ=function(e){},e.echoTest=function(){},e.deleteDatabase=function(e){},br([O({sync:!0})],e.prototype,"addTransaction",null),br([O()],e.prototype,"transaction",null),br([O()],e.prototype,"readTransaction",null),br([O({sync:!0})],e.prototype,"startNextTransaction",null),br([O()],e.prototype,"close",null),br([O({sync:!0})],e.prototype,"start",null),br([O()],e.prototype,"executeSql",null),br([O()],e.prototype,"addStatement",null),br([O()],e.prototype,"sqlBatch",null),br([O({sync:!0})],e.prototype,"abortallPendingTransactions",null),br([O({sync:!0})],e.prototype,"handleStatementSuccess",null),br([O({sync:!0})],e.prototype,"handleStatementFailure",null),br([O({sync:!0})],e.prototype,"run",null),br([O({sync:!0})],e.prototype,"abort",null),br([O({sync:!0})],e.prototype,"finish",null),br([O({sync:!0})],e.prototype,"abortFromQ",null),br([w()],e,"echoTest",null),br([w()],e,"deleteDatabase",null),e=br([m({pluginRef:"sqlitePlugin",plugin:"cordova-sqlite-storage",repo:"https://github.com/litehelpers/Cordova-sqlite-storage"})],e)}(),mr=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},wr=function(){function e(){}return e.overlaysWebView=function(e){},e.styleDefault=function(){},e.styleLightContent=function(){},e.styleBlackTranslucent=function(){},e.styleBlackOpaque=function(){},e.backgroundColorByName=function(e){},e.backgroundColorByHexString=function(e){},e.hide=function(){},e.show=function(){},Object.defineProperty(e,"isVisible",{get:function(){return window.StatusBar.isVisible},enumerable:!0,configurable:!0}),mr([w({sync:!0})],e,"overlaysWebView",null),mr([w({sync:!0})],e,"styleDefault",null),mr([w({sync:!0})],e,"styleLightContent",null),mr([w({sync:!0})],e,"styleBlackTranslucent",null),mr([w({sync:!0})],e,"styleBlackOpaque",null),mr([w({sync:!0})],e,"backgroundColorByName",null),mr([w({sync:!0})],e,"backgroundColorByHexString",null),mr([w({sync:!0})],e,"hide",null),mr([w({sync:!0})],e,"show",null),mr([R],e,"isVisible",null),e=mr([m({plugin:"cordova-plugin-statusbar",pluginRef:"StatusBar",repo:"https://github.com/apache/cordova-plugin-statusbar",platforms:["iOS","Android","Windows Phone 8","Windows 8","Windows 10"]})],e)}(),Or=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Rr=function(){function e(){}return e.playVideo=function(e,t){},e.playAudio=function(e,t){},e.stopAudio=function(){},e.pauseAudio=function(){},e.resumeAudio=function(){},Or([w({sync:!0})],e,"playVideo",null),Or([w({sync:!0})],e,"playAudio",null),Or([w({sync:!0})],e,"stopAudio",null),Or([w({sync:!0,platforms:["iOS"]})],e,"pauseAudio",null),Or([w({sync:!0,platforms:["iOS"]})],e,"resumeAudio",null),e=Or([m({plugin:"cordova-plugin-streaming-media",pluginRef:"plugins.streamingMedia",repo:"https://github.com/nchutchind/cordova-plugin-streaming-media",platforms:["Android","iOS"]})],e)}(),Pr=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Ar=function(){function e(){}return e.isAvailable=function(){},e.watchForceTouches=function(){},e.configureQuickActions=function(e){},e.onHomeIconPressed=function(){return new Ge(function(e){window.ThreeDeeTouch&&window.ThreeDeeTouch.onHomeIconPressed?window.ThreeDeeTouch.onHomeIconPressed=e.next.bind(e):(e.error("3dTouch plugin is not available."),e.complete())})},e.enableLinkPreview=function(){},e.disableLinkPreview=function(){},Pr([w()],e,"isAvailable",null),Pr([w({observable:!0})],e,"watchForceTouches",null),Pr([w({sync:!0})],e,"configureQuickActions",null),Pr([w({sync:!0})],e,"enableLinkPreview",null),Pr([w({sync:!0})],e,"disableLinkPreview",null),e=Pr([m({plugin:"cordova-plugin-3dtouch",pluginRef:"ThreeDeeTouch",repo:"https://github.com/EddyVerbruggen/cordova-plugin-3dtouch",platforms:["iOS"]})],e)}(),Sr=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Er=function(){function e(){}return e.show=function(e,t,n){},e.hide=function(){},e.showWithOptions=function(e){},e.showShortTop=function(e){},e.showShortCenter=function(e){},e.showShortBottom=function(e){},e.showLongTop=function(e){},e.showLongCenter=function(e){},e.showLongBottom=function(e){},Sr([w({observable:!0,clearFunction:"hide"})],e,"show",null),Sr([w()],e,"hide",null),Sr([w({observable:!0,clearFunction:"hide"})],e,"showWithOptions",null),Sr([w({observable:!0,clearFunction:"hide"})],e,"showShortTop",null),Sr([w({observable:!0,clearFunction:"hide"})],e,"showShortCenter",null),Sr([w({observable:!0,clearFunction:"hide"})],e,"showShortBottom",null),Sr([w({observable:!0,clearFunction:"hide"})],e,"showLongTop",null),Sr([w({observable:!0,clearFunction:"hide"})],e,"showLongCenter",null),Sr([w({observable:!0,clearFunction:"hide"})],e,"showLongBottom",null),e=Sr([m({plugin:"cordova-plugin-x-toast",pluginRef:"plugins.toast",repo:"https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin",platforms:["Android","iOS","Windows Phone 8"]})],e)}(),jr=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Ir=function(){function e(){}return e.isAvailable=function(){},e.verifyFingerprint=function(e){},e.verifyFingerprintWithCustomPasswordFallback=function(e){},e.verifyFingerprintWithCustomPasswordFallbackAndEnterPasswordLabel=function(e,t){},jr([w()],e,"isAvailable",null),jr([w()],e,"verifyFingerprint",null),jr([w()],e,"verifyFingerprintWithCustomPasswordFallback",null),jr([w()],e,"verifyFingerprintWithCustomPasswordFallbackAndEnterPasswordLabel",null),e=jr([m({plugin:"cordova-plugin-touch-id",pluginRef:"plugins.touchid",repo:"https://github.com/EddyVerbruggen/cordova-plugin-touch-id",platforms:["iOS"]})],e)}(),_r=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Dr=function(){function e(){}return e.speak=function(e){},_r([w({successIndex:1,errorIndex:2})],e,"speak",null),e=_r([m({plugin:"cordova-plugin-tts",pluginRef:"TTS",repo:"https://github.com/vilic/cordova-plugin-tts"})],e)}(),Cr=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Tr=function(){function e(){}return e.login=function(){},e.logout=function(){},e.showUser=function(){},Cr([w()],e,"login",null),Cr([w()],e,"logout",null),Cr([w()],e,"showUser",null),e=Cr([m({plugin:"twitter-connect-plugin",pluginRef:"TwitterConnect",repo:"https://github.com/ManifestWebDesign/twitter-connect-plugin",install:"ionic plugin add twitter-connect-plugin --variable FABRIC_KEY=fabric_API_key"})],e)}(),kr=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Nr=function(){function e(){}return e.vibrate=function(e){},kr([w({sync:!0})],e,"vibrate",null),e=kr([m({plugin:"cordova-plugin-vibration",pluginRef:"navigator",repo:"https://github.com/apache/cordova-plugin-vibration",platforms:["Android","iOS","Windows 8.1 Phone","Windows 8.1","Windows 10"]})],e)}(),Lr=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},xr=function(){function e(){}return e.transcodeVideo=function(e){},e.trim=function(e){},e.createThumbnail=function(e){},e.getVideoInfo=function(e){},e.OptimizeForNetworkUse={NO:0,YES:1},e.OutputFileType={M4V:0,MPEG4:1,M4A:2,QUICK_TIME:3},Lr([w({callbackOrder:"reverse"})],e,"transcodeVideo",null),Lr([w({callbackOrder:"reverse",platforms:["iOS"]})],e,"trim",null),Lr([w({callbackOrder:"reverse"})],e,"createThumbnail",null),Lr([w({callbackOrder:"reverse"})],e,"getVideoInfo",null),e=Lr([m({plugin:"cordova-plugin-video-editor",pluginRef:"VideoEditor",repo:"https://github.com/jbavari/cordova-plugin-video-editor",platforms:["Android","iOS","Windows Phone 8"]})],e)}(),Fr=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Wr=function(){function e(){}return e.play=function(e,t){},e.close=function(){},Fr([w()],e,"play",null),Fr([w({sync:!0})],e,"close",null),e=Fr([m({plugin:"cordova-plugin-videoplayer",pluginRef:"VideoPlayer",repo:"https://github.com/moust/cordova-plugin-videoplayer",platforms:["Android"]})],e)}(),Br=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Mr=function(){function e(){}return Object.defineProperty(e,"ACTION_VIEW",{get:function(){return window.plugins.webintent.ACTION_VIEW},enumerable:!0,configurable:!0}),Object.defineProperty(e,"EXTRA_TEXT",{get:function(){return window.plugins.webintent.EXTRA_TEXT},enumerable:!0,configurable:!0}),e.startActivity=function(e){},e.hasExtra=function(e){},e.getExtra=function(e){},e.getUri=function(){},e.onNewIntent=function(){},e.sendBroadcast=function(e){},Br([R],e,"ACTION_VIEW",null),Br([R],e,"EXTRA_TEXT",null),Br([w()],e,"startActivity",null),Br([w()],e,"hasExtra",null),Br([w()],e,"getExtra",null),Br([w()],e,"getUri",null),Br([w()],e,"onNewIntent",null),Br([w()],e,"sendBroadcast",null),e=Br([m({plugin:"https://github.com/Initsogar/cordova-webintent.git",pluginRef:"window.plugins.webintent",repo:"https://github.com/Initsogar/cordova-webintent.git",platforms:["Android"]})],e)}(),Ur=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Vr=function(){function e(){}return e.openVideo=function(e){},Ur([w({sync:!0})],e,"openVideo",null),e=Ur([m({plugin:"https://github.com/Glitchbone/CordovaYoutubeVideoPlayer.git",pluginRef:"YoutubeVideoPlayer",repo:"https://github.com/Glitchbone/CordovaYoutubeVideoPlayer",platforms:["Android","iOS"]})],e)}(),zr=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Gr=function(){function e(){}return e.unzip=function(e,t,n){},zr([w({successIndex:2,errorIndex:4})],e,"unzip",null),e=zr([m({plugin:"cordova-plugin-zip",pluginRef:"zip",repo:"https://github.com/MobileChromeApps/cordova-plugin-zip"})],e)}(),Hr=2e3;window.IonicNative={ActionSheet:Ke,AdMob:Je,AndroidFingerprintAuth:et,AppAvailability:nt,AppRate:rt,AppVersion:ct,Badge:lt,BackgroundGeolocation:at,BackgroundMode:ft,BarcodeScanner:gt,Base64ToGallery:yt,BatteryStatus:vt,Brightness:wt,BLE:Rt,BluetoothSerial:At,Calendar:Et,CallNumber:It,Camera:Dt,CameraPreview:Tt,CardIO:Nt,Clipboard:xt,CodePush:Bt,Contacts:Vt,Crop:Gt,DatePicker:qt,DBMeter:$t,Deeplinks:Kt,Device:Jt,DeviceAccounts:en,DeviceMotion:nn,DeviceOrientation:rn,Dialogs:sn,Diagnostic:un,EmailComposer:pn,EstimoteBeacons:dn,Facebook:hn,File:bn,FileChooser:mn,FileOpener:On,Flashlight:Sn,Geofence:jn,Geolocation:_n,Globalization:Cn,GooglePlus:kn,GoogleMap:Ln,GoogleAnalytics:Gn,Hotspot:qn,Httpd:$n,IBeacon:Kn,ImagePicker:Jn,ImageResizer:eo,InAppBrowser:no,InAppPurchase:ro,
6Instagram:uo,IsDebug:so,Keyboard:po,LaunchNavigator:go,LocalNotifications:yo,Market:Eo,MediaCapture:vo,MediaPlugin:Io,Mixpanel:Do,MusicControls:To,NativeAudio:wo,NativePageTransitions:Ro,NativeStorage:Ao,Network:No,PayPal:Go,NFC:xo,Printer:Ko,Push:Jo,OneSignal:Wo,PhotoViewer:Mo,ScreenOrientation:Vo,PinDialog:qo,PowerManagement:$o,SafariViewController:er,Screenshot:nr,SecureStorage:rr,Shake:cr,Sim:lr,SMS:ar,SocialSharing:fr,SpinnerDialog:gr,Splashscreen:yr,SQLite:vr,StatusBar:wr,StreamingMedia:Rr,ThreeDeeTouch:Ar,Toast:Er,TouchID:Ir,Transfer:Pn,TextToSpeech:Dr,TwitterConnect:Tr,VideoEditor:xr,VideoPlayer:Wr,Vibration:Nr,WebIntent:Mr,YoutubeVideoPlayer:Vr,Zip:Gr},t(window.IonicNative);var qr=Date.now(),Yr=!1;document.addEventListener("deviceready",function(){console.log("DEVICE READY FIRED AFTER",Date.now()-qr,"ms"),Yr=!0}),setTimeout(function(){!Yr&&window.cordova&&console.warn("Native: deviceready did not fire within "+Hr+"ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.")},Hr);var $r,Xr=function(e,t){function n(){this.constructor=e}for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},Kr=function(e){function t(t){e.call(this,t),this.message=t,this.name="Exception",this.stack=(new Error).stack}return Xr(t,e),t.prototype.toString=function(){return this.name+": "+this.message},t}(Error),Zr=function(e){function t(t,n){e.call(this,t),this.message=t,this.details=n,this.name="DetailedError"}return Xr(t,e),t}(Kr),Jr=function(){function e(){this.init()}return e.prototype.init=function(){var e=this;this.promise=new Promise(function(t,n){e.resolve=function(n){return t(n),e.promise},e.reject=function(t){return n(t),e.promise}})},e.rejectImmediately=function(e){return new Promise(function(t,n){n(e)})},e}(),Qr=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,ei=/^v?([0-9]+)\.?([0-9]+)?\.?([0-9]+)?\.?.*$/,ti=function(e,t){function n(){this.constructor=e}for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},ni=function(){function e(e,t){this.label=t,this.storage=e.storage,this.tempStorage=e.tempStorage}return e.prototype.get=function(){var e=this.storage.get(this.label),t=this.tempStorage.get(this.label),n=t||e;return n},e.prototype.store=function(e,t){void 0===t&&(t={permanent:!0}),t.permanent?this.storage.set(this.label,e):this.tempStorage.set(this.label,e)},e.prototype.delete=function(){this.storage.delete(this.label),this.tempStorage.delete(this.label)},e}(),oi=function(){function e(e){this.config=e.config,this.emitter=e.emitter,this.authModules=e.authModules,this.tokenContext=e.tokenContext,this.userService=e.userService}return Object.defineProperty(e.prototype,"passwordResetUrl",{get:function(){return this.config.getURL("web")+"/password/reset/"+this.config.get("app_id")},enumerable:!0,configurable:!0}),e.prototype.isAuthenticated=function(){var e=this.tokenContext.get();return!!e},e.prototype.signup=function(e){return this.authModules.basic.signup(e)},e.prototype.login=function(e,t,n){var o=this;void 0===n&&(n={}),"undefined"==typeof n.remember&&(n.remember=!0),"undefined"==typeof n.inAppBrowserOptions&&(n.inAppBrowserOptions={}),"undefined"==typeof n.inAppBrowserOptions.location&&(n.inAppBrowserOptions.location=!1),"undefined"==typeof n.inAppBrowserOptions.clearcache&&(n.inAppBrowserOptions.clearcache=!0),"undefined"==typeof n.inAppBrowserOptions.clearsessioncache&&(n.inAppBrowserOptions.clearsessioncache=!0);var r=this.authModules[e];if(!r)throw new Error("Authentication class is invalid or missing:"+r);return r.authenticate(t,n).then(function(e){return o.storeToken(n,e.token),o.userService.load().then(function(){var t=o.userService.current();return t.store(),e})})},e.prototype.logout=function(){this.tokenContext.delete();var e=this.userService.current();e.unstore(),e.clear()},e.prototype.requestPasswordReset=function(e){return this.storage.set("auth_password_reset_email",e),this.authModules.basic.requestPasswordReset(e)},e.prototype.confirmPasswordReset=function(e,t){var n=this.storage.get("auth_password_reset_email");return n?this.authModules.basic.confirmPasswordReset(n,e,t):Jr.rejectImmediately(new Error("email address not found in local storage"))},e.prototype.getToken=function(){return this.tokenContext.get()},e.prototype.storeToken=function(e,t){void 0===e&&(e={remember:!0});var n=this.authToken;this.authToken=t,this.tokenContext.store(this.authToken,{permanent:e.remember}),this.emitter.emit("auth:token-changed",{old:n,new:this.authToken})},e.getDetailedErrorFromResponse=function(e){var t=[],n=[];A(e.body)&&"undefined"!=typeof e.body.error.details&&(n=e.body.error.details);for(var o=0;o<n.length;o++){var r=n[o];r.error_type&&t.push(r.error_type+"_"+r.parameter)}return new Zr("Error creating user",t)},e}(),ri=function(){function e(e){this.config=e.config,this.client=e.client,this.emitter=e.emitter}return e.prototype.parseInAppBrowserOptions=function(e){if(!e)return"";var t=[];for(var n in e){var o=void 0;o="boolean"==typeof e[n]?e[n]?"yes":"no":e[n],t.push(n+"="+o)}return t.join(",")},e.prototype.inAppBrowserFlow=function(e,t,n){var o=this;void 0===t&&(t={}),void 0===n&&(n={});var r=new Jr;return window&&window.cordova?(this.emitter.once("cordova:deviceready",function(){return window.cordova.InAppBrowser?void o.client.post("/auth/login/"+e).send({app_id:o.config.get("app_id"),callback:window.location.href,data:t}).end(function(e,t){if(e)r.reject(e);else{var i=window.cordova.InAppBrowser.open(t.body.data.url,"_blank",o.parseInAppBrowserOptions(n.inAppBrowserOptions)),c=function(){r.reject(new Error("InAppBrowser exit"))},u=function(){r.reject(new Error("InAppBrowser loaderror"))},l=function(e){if("http://auth.ionic.io"===e.url.slice(0,20)){for(var t=e.url.split("#")[0].split("?")[1],n=t.split("&"),o={},l=0;l<n.length;l++){var s=n[l].split("=");o[s[0]]=s[1]}i.removeEventListener("exit",c),i.removeEventListener("loaderror",u),i.close(),r.resolve({token:o.token,signup:Boolean(parseInt(o.signup,10))})}};i.addEventListener("exit",c),i.addEventListener("loaderror",u),i.addEventListener("loadstart",l)}}):void r.reject(new Error("InAppBrowser plugin missing"))}),r.promise):r.reject(new Error("Cordova is missing--can't login with InAppBrowser flow."))},e}(),ii=function(e){function t(){e.apply(this,arguments)}return ti(t,e),t.prototype.authenticate=function(e,t){var n=new Jr;return e.email&&e.password?(this.client.post("/auth/login").send({app_id:this.config.get("app_id"),email:e.email,password:e.password}).end(function(e,t){e?n.reject(e):n.resolve({token:t.body.data.token})}),n.promise):n.reject(new Error("email and password are required for basic authentication"))},t.prototype.requestPasswordReset=function(e){var t=new Jr;return e?(this.client.post("/users/password/reset").send({app_id:this.config.get("app_id"),email:e,flow:"app"}).end(function(e,n){e?t.reject(e):t.resolve()}),t.promise):t.reject(new Error("Email is required for password reset request."))},t.prototype.confirmPasswordReset=function(e,t,n){var o=new Jr;return t&&e&&n?(this.client.post("/users/password").send({reset_token:t,new_password:n,email:e}).end(function(e,t){e?o.reject(e):o.resolve()}),o.promise):o.reject(new Error("Code, new password, and email are required."))},t.prototype.signup=function(e){var t=new Jr;if(!e.email)return t.reject(new Zr("Email is required for email/password auth signup.",["required_email"]));if(!S(e.email))return t.reject(new Zr("Invalid email supplied.",["invalid_email"]));if(!e.password)return t.reject(new Zr("Password is required for email/password auth signup.",["required_password"]));var n={app_id:this.config.get("app_id"),email:e.email,password:e.password};return e.username&&(n.username=e.username),e.image&&(n.image=e.image),e.name&&(n.name=e.name),e.custom&&(n.custom=e.custom),this.client.post("/users").send(n).end(function(e,n){e?t.reject(oi.getDetailedErrorFromResponse(e.response)):t.resolve()}),t.promise},t}(ri),ci=function(){function e(e){this.config=e.config,this.client=e.client,this.userService=e.userService,this.tokenContext=e.tokenContext,this.emitter=e.emitter}return e.prototype.getToken=function(){return this.tokenContext.get()},e.prototype.storeToken=function(e){var t=this.authToken;this.authToken=e,this.tokenContext.store(this.authToken,{permanent:!0}),this.emitter.emit("auth:token-changed",{old:t,new:this.authToken})},e}(),ui=function(e){function t(){e.apply(this,arguments)}return ti(t,e),t.prototype.logout=function(){var e=new Jr;this.tokenContext.delete();var t=this.userService.current();return t.unstore(),t.clear(),kn.logout().then(function(){e.resolve()},function(t){e.reject(t)}),e.promise},t.prototype.login=function(){var e=this,t=new Jr,n=this.config.settings.auth;return this.emitter.once("cordova:deviceready",function(){var o=["profile","email"];return kn?window&&window.cordova?window.plugins&&window.plugins.googleplus?n&&n.google&&n.google.webClientId?(n.google.scope&&n.google.scope.forEach(function(e){o.indexOf(e)===-1&&o.push(e)}),void kn.login({webClientId:n.google.webClientId,offline:!0,scopes:o.join(" ")}).then(function(n){if(!n.serverAuthCode)return void t.reject(new Error("Failed to retrieve offline access token."));var r={app_id:e.config.get("app_id"),serverAuthCode:n.serverAuthCode,additional_fields:o,flow:"native-mobile"};e.client.post("/auth/login/google").send(r).end(function(n,o){n?t.reject(n):(e.storeToken(o.body.data.token),e.userService.load().then(function(){var n=e.userService.current();n.store(),t.resolve({token:o.body.data.token,signup:Boolean(parseInt(o.body.data.signup,10))})}))})},function(e){t.reject(e)})):void t.reject(new Error("Missing google web client id. Please visit http://docs.ionic.io/services/users/google-auth.html#native")):void t.reject(new Error("GooglePlus cordova plugin is missing.")):void t.reject(new Error("Cordova is missing")):void t.reject(new Error("Ionic native is not installed"))}),t.promise},t}(ci),li=function(e){function t(){e.apply(this,arguments)}return ti(t,e),t.prototype.logout=function(){var e=new Jr;this.tokenContext.delete();var t=this.userService.current();return t.unstore(),t.clear(),hn.logout().then(function(){e.resolve()},function(t){e.reject(t)}),e.promise},t.prototype.login=function(){var e=this,t=new Jr,n=this.config.settings.auth,o=["public_profile","email"];return n&&n.facebook&&n.facebook.scope&&n.facebook.scope.forEach(function(e){o.indexOf(e)===-1&&o.push(e)}),this.emitter.once("cordova:deviceready",function(){return hn?window&&window.cordova?window.facebookConnectPlugin?void hn.login(o).then(function(n){o.splice(o.indexOf("public_profile"),1);var r={app_id:e.config.get("app_id"),access_token:n.authResponse.accessToken,additional_fields:o,flow:"native-mobile"};e.client.post("/auth/login/facebook").send(r).end(function(n,o){n?t.reject(n):(e.storeToken(o.body.data.token),e.userService.load().then(function(){var n=e.userService.current();n.store(),t.resolve({token:o.body.data.token,signup:Boolean(parseInt(o.body.data.signup,10))})}))})},function(e){t.reject(e)}):void t.reject(new Error("Please install the cordova-plugin-facebook4 plugin")):void t.reject(new Error("Cordova is missing.")):void t.reject(new Error("Ionic native is not installed"))}),t.promise},t}(ci),si=function(e){function t(){e.apply(this,arguments)}return ti(t,e),t.prototype.authenticate=function(e,t){return void 0===e&&(e={}),this.inAppBrowserFlow("custom",e,t)},t}(ri),ai=function(e){function t(){e.apply(this,arguments)}return ti(t,e),t.prototype.authenticate=function(e,t){return void 0===e&&(e={}),this.inAppBrowserFlow("twitter",e,t)},t}(ri),pi=function(e){function t(){e.apply(this,arguments)}return ti(t,e),t.prototype.authenticate=function(e,t){return void 0===e&&(e={}),this.inAppBrowserFlow("facebook",e,t)},t}(ri),fi=function(e){function t(){e.apply(this,arguments)}return ti(t,e),t.prototype.authenticate=function(e,t){return void 0===e&&(e={}),this.inAppBrowserFlow("github",e,t)},t}(ri),di=function(e){function t(){e.apply(this,arguments)}return ti(t,e),t.prototype.authenticate=function(e,t){return void 0===e&&(e={}),this.inAppBrowserFlow("google",e,t)},t}(ri),gi=function(e){function t(){e.apply(this,arguments)}return ti(t,e),t.prototype.authenticate=function(e,t){return void 0===e&&(e={}),this.inAppBrowserFlow("instagram",e,t)},t}(ri),hi=function(e){function t(){e.apply(this,arguments)}return ti(t,e),t.prototype.authenticate=function(e,t){return void 0===e&&(e={}),this.inAppBrowserFlow("linkedin",e,t)},t}(ri),yi=o(function(e){function t(e){if(e)return n(e)}function n(e){for(var n in t.prototype)e[n]=t.prototype[n];return e}"undefined"!=typeof e&&(e.exports=t),t.prototype.on=t.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},t.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},t.prototype.off=t.prototype.removeListener=t.prototype.removeAllListeners=t.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o,r=0;r<n.length;r++)if(o=n[r],o===t||o.fn===t){n.splice(r,1);break}return this},t.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),n=this._callbacks["$"+e];if(n){n=n.slice(0);for(var o=0,r=n.length;o<r;++o)n[o].apply(this,t)}return this},t.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},t.prototype.hasListeners=function(e){return!!this.listeners(e).length}}),bi=function(e,t,n){for(var o=0,r=e.length,i=3==arguments.length?n:e[o++];o<r;)i=t.call(null,i,e[o],++o,e);return i},vi=yi,mi=bi;$r="undefined"!=typeof window?window:"undefined"!=typeof self?self:H,B.getXHR=function(){if(!(!$r.XMLHttpRequest||$r.location&&"file:"==$r.location.protocol&&$r.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}return!1};var wi="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};B.serializeObject=D,B.parseString=T,B.types={html:"text/html",json:"application/json",xml:"application/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},B.serialize={"application/x-www-form-urlencoded":D,"application/json":JSON.stringify},B.parse={"application/x-www-form-urlencoded":T,"application/json":JSON.parse},F.prototype.get=function(e){return this.header[e.toLowerCase()]},F.prototype.setHeaderProperties=function(e){var t=this.header["content-type"]||"";this.type=L(t);var n=x(t);for(var o in n)this[o]=n[o]},F.prototype.parseBody=function(e){var t=B.parse[this.type];return t&&e&&(e.length||e instanceof Object)?t(e):null},F.prototype.setStatusProperties=function(e){1223===e&&(e=204);var t=e/100|0;this.status=this.statusCode=e,this.statusType=t,this.info=1==t,this.ok=2==t,this.clientError=4==t,this.serverError=5==t,this.error=(4==t||5==t)&&this.toError(),this.accepted=202==e,this.noContent=204==e,this.badRequest=400==e,this.unauthorized=401==e,this.notAcceptable=406==e,this.notFound=404==e,this.forbidden=403==e},F.prototype.toError=function(){var e=this.req,t=e.method,n=e.url,o="cannot "+t+" "+n+" ("+this.status+")",r=new Error(o);return r.status=this.status,r.method=t,r.url=n,r},B.Response=F,vi(W.prototype),W.prototype.use=function(e){return e(this),this},W.prototype.timeout=function(e){return this._timeout=e,this},W.prototype.clearTimeout=function(){return this._timeout=0,clearTimeout(this._timer),this},W.prototype.abort=function(){if(!this.aborted)return this.aborted=!0,this.xhr.abort(),this.clearTimeout(),this.emit("abort"),this},W.prototype.set=function(e,t){if(_(e)){for(var n in e)this.set(n,e[n]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},W.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},W.prototype.getHeader=function(e){return this._header[e.toLowerCase()]},W.prototype.type=function(e){return this.set("Content-Type",B.types[e]||e),this},W.prototype.parse=function(e){return this._parser=e,this},W.prototype.accept=function(e){return this.set("Accept",B.types[e]||e),this},W.prototype.auth=function(e,t){var n=btoa(e+":"+t);return this.set("Authorization","Basic "+n),this},W.prototype.query=function(e){return"string"!=typeof e&&(e=D(e)),e&&this._query.push(e),this},W.prototype.field=function(e,t){return this._formData||(this._formData=new $r.FormData),this._formData.append(e,t),this},W.prototype.attach=function(e,t,n){return this._formData||(this._formData=new $r.FormData),this._formData.append(e,t,n||t.name),this},W.prototype.send=function(e){var t=_(e),n=this.getHeader("Content-Type");if(t&&_(this._data))for(var o in e)this._data[o]=e[o];else"string"==typeof e?(n||this.type("form"),n=this.getHeader("Content-Type"),"application/x-www-form-urlencoded"==n?this._data=this._data?this._data+"&"+e:e:this._data=(this._data||"")+e):this._data=e;return!t||I(e)?this:(n||this.type("json"),this)},W.prototype.callback=function(e,t){var n=this._callback;this.clearTimeout(),n(e,t)},W.prototype.crossDomainError=function(){var e=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},W.prototype.timeoutError=function(){var e=this._timeout,t=new Error("timeout of "+e+"ms exceeded");t.timeout=e,this.callback(t)},W.prototype.withCredentials=function(){return this._withCredentials=!0,this},W.prototype.end=function(e){var t=this,n=this.xhr=B.getXHR(),o=this._query.join("&"),r=this._timeout,i=this._formData||this._data;this._callback=e||j,n.onreadystatechange=function(){if(4==n.readyState){var e;try{e=n.status}catch(t){e=0}if(0==e){if(t.timedout)return t.timeoutError();if(t.aborted)return;return t.crossDomainError()}t.emit("end")}};var c=function(e){e.total>0&&(e.percent=e.loaded/e.total*100),e.direction="download",t.emit("progress",e)};this.hasListeners("progress")&&(n.onprogress=c);try{n.upload&&this.hasListeners("progress")&&(n.upload.onprogress=c)}catch(e){}if(r&&!this._timer&&(this._timer=setTimeout(function(){t.timedout=!0,t.abort()},r)),o&&(o=B.serializeObject(o),this.url+=~this.url.indexOf("?")?"&"+o:"?"+o),n.open(this.method,this.url,!0),this._withCredentials&&(n.withCredentials=!0),"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof i&&!I(i)){var u=this.getHeader("Content-Type"),l=this._parser||B.serialize[u?u.split(";")[0]:""];!l&&N(u)&&(l=B.serialize["application/json"]),l&&(i=l(i))}for(var s in this.header)null!=this.header[s]&&n.setRequestHeader(s,this.header[s]);return this.emit("request",this),n.send("undefined"!=typeof i?i:null),this},W.prototype.then=function(e,t){return this.end(function(n,o){n?t(n):e(o)})},B.Request=W,B.get=function(e,t,n){var o=B("GET",e);return"function"==typeof t&&(n=t,t=null),t&&o.query(t),n&&o.end(n),o},B.head=function(e,t,n){var o=B("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&o.send(t),n&&o.end(n),o},B.del=M,B.delete=M,B.patch=function(e,t,n){var o=B("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&o.send(t),n&&o.end(n),o},B.post=function(e,t,n){var o=B("POST",e);return"function"==typeof t&&(n=t,t=null),t&&o.send(t),n&&o.end(n),o},B.put=function(e,t,n){var o=B("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&o.send(t),n&&o.end(n),o};var Oi=B,Ri=Object.freeze({default:Oi,__moduleExports:Oi}),Pi=function(){function e(e,t,n){this.tokenContext=e,this.baseUrl=t,"undefined"==typeof n&&(n=Ri.default||Ri),this.req=n}return e.prototype.get=function(e){return this.supplement(this.req.get,e)},e.prototype.post=function(e){return this.supplement(this.req.post,e)},e.prototype.put=function(e){return this.supplement(this.req.put,e)},e.prototype.patch=function(e){return this.supplement(this.req.patch,e)},e.prototype.delete=function(e){return this.supplement(this.req.delete,e)},e.prototype.request=function(e,t){return this.supplement(this.req.bind(this.req,e),t)},e.prototype.supplement=function(e,t){if("/"!==t.substring(0,1))throw Error("endpoint must start with leading slash");var n=e(this.baseUrl+t),o=this.tokenContext.get();return o&&n.set("Authorization","Bearer "+o),n},e}(),Ai=function(){function e(){this.urls={api:"https://api.ionic.io",web:"https://web.ionic.io"}}return e.prototype.register=function(e){this.settings=e},e.prototype.get=function(e){if(this.settings&&this.settings.core)return this.settings.core[e]},e.prototype.getURL=function(e){var t=this.settings&&this.settings.core&&this.settings.core.urls||{};return t[e]?t[e]:this.urls[e]},e}(),Si=function(){function e(e,t){void 0===t&&(t={}),this.options=t,this.app=e.appStatus,this.device=e.device,this.emitter=e.emitter,this.logger=e.logger,this.registerEventHandlers()}return e.prototype.bootstrap=function(){var e=this,t=["pause","resume"];document.addEventListener("deviceready",function(){for(var n=[],o=0;o<arguments.length;o++)n[o-0]=arguments[o];e.emitter.emit("cordova:deviceready",{args:n});for(var r=function(t){document.addEventListener(t,function(){for(var n=[],o=0;o<arguments.length;o++)n[o-0]=arguments[o];e.emitter.emit("cordova:"+t,{args:n})},!1)},i=0,c=t;i<c.length;i++){var u=c[i];r(u)}},!1)},e.prototype.registerEventHandlers=function(){var e=this;this.emitter.on("cordova:pause",function(){e.app.closed=!0}),this.emitter.on("cordova:resume",function(){e.app.closed=!1})},e}(),Ei=function(){function e(e){if(this._version="0.11.0",this.config=e.config,this.logger=e.logger,this.emitter=e.emitter,this.insights=e.insights,!this.config.settings||!this.config.settings.core||!this.config.settings.core.app_id)throw new Error("Missing app_id in cloud settings. Have you configured your app properly?")}return e.prototype.init=function(){this.registerEventHandlers(),this.onResume()},Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.onResume=function(){this.insights.track("mobileapp.opened")},e.prototype.registerEventHandlers=function(){var e=this;this.emitter.on("cordova:resume",function(){e.onResume()}),this.emitter.on("push:notification",function(t){(t.message.app.asleep||t.message.app.closed)&&e.insights.track("mobileapp.opened.push")})},e}(),ji=new Error("Missing deploy plugin: `ionic-plugin-deploy`"),Ii=function(){function e(e,t){var n=this;void 0===t&&(t={}),this.options=t,this.channel="production",this.config=e.config,this.emitter=e.emitter,this.logger=e.logger,this.emitter.once("device:ready",function(){n._getPlugin()&&n.plugin.init(n.config.get("app_id"),n.config.getURL("api")),n.emitter.emit("deploy:ready")})}return e.prototype.check=function(){var e=this,t=new Jr;return this.emitter.once("deploy:ready",function(){e._getPlugin()?e.plugin.check(e.config.get("app_id"),e.channel,function(n){n&&"true"===n?(e.logger.info("Ionic Deploy: an update is available"),t.resolve(!0)):(e.logger.info("Ionic Deploy: no updates available"),t.resolve(!1))},function(n){e.logger.error("Ionic Deploy: encountered an error while checking for updates"),t.reject(n)}):t.reject(ji)}),t.promise},e.prototype.download=function(e){var t=this;void 0===e&&(e={});var n=new Jr;return this.emitter.once("deploy:ready",function(){t._getPlugin()?t.plugin.download(t.config.get("app_id"),function(o){"true"===o?(t.logger.info("Ionic Deploy: download complete"),n.resolve()):"false"===o?n.reject(new Error("Ionic Deploy: Download has failed: see native logs.")):e.onProgress&&e.onProgress(o)},function(e){n.reject(e)}):n.reject(ji)}),n.promise},e.prototype.extract=function(e){var t=this;void 0===e&&(e={});var n=new Jr;return this.emitter.once("deploy:ready",function(){t._getPlugin()?t.plugin.extract(t.config.get("app_id"),function(o){"done"===o?(t.logger.info("Ionic Deploy: extraction complete"),n.resolve()):e.onProgress&&e.onProgress(o)},function(e){n.reject(e)}):n.reject(ji)}),n.promise},e.prototype.load=function(){var e=this;this.emitter.once("deploy:ready",function(){e._getPlugin()&&e.plugin.redirect(e.config.get("app_id"))})},e.prototype.info=function(){var e=this,t=new Jr;return this.emitter.once("deploy:ready",function(){e._getPlugin()?e.plugin.info(e.config.get("app_id"),function(e){t.resolve(e)},function(e){t.reject(e)}):t.reject(ji)}),t.promise},e.prototype.getSnapshots=function(){var e=this,t=new Jr;return this.emitter.once("deploy:ready",function(){e._getPlugin()?e.plugin.getVersions(e.config.get("app_id"),function(e){t.resolve(e)},function(e){t.reject(e)}):t.reject(ji)}),t.promise},e.prototype.deleteSnapshot=function(e){var t=this,n=new Jr;return this.emitter.once("deploy:ready",function(){t._getPlugin()?t.plugin.deleteVersion(t.config.get("app_id"),e,function(e){n.resolve(e)},function(e){n.reject(e)}):n.reject(ji)}),n.promise},e.prototype.getMetadata=function(e){var t=this,n=new Jr;return this.emitter.once("deploy:ready",function(){t._getPlugin()?t.plugin.getMetadata(t.config.get("app_id"),e,function(e){n.resolve(e.metadata)},function(e){n.reject(e)}):n.reject(ji)}),n.promise},e.prototype._getPlugin=function(){return"undefined"==typeof window.IonicDeploy?void this.logger.warn("Ionic Deploy: Disabled! Deploy plugin is not installed or has not loaded. Have you run `ionic plugin add ionic-plugin-deploy` yet?"):(this.plugin||(this.plugin=window.IonicDeploy),this.plugin)},e}(),_i=function(){function e(e){this.deps=e,this.native=this.deps.nativeDevice,this.emitter=this.deps.emitter,this.type=this.determineDeviceType(),this.registerEventHandlers()}return e.prototype.isAndroid=function(){return"android"===this.type},e.prototype.isIOS=function(){return"iphone"===this.type||"ipad"===this.type},e.prototype.isConnectedToNetwork=function(e){if(void 0===e&&(e={}),"undefined"==typeof navigator.connection||"undefined"==typeof navigator.connection.type||"undefined"==typeof Connection)return!e.strictMode;switch(navigator.connection.type){case Connection.ETHERNET:case Connection.WIFI:case Connection.CELL_2G:case Connection.CELL_3G:case Connection.CELL_4G:case Connection.CELL:return!0;default:return!1}},e.prototype.registerEventHandlers=function(){var e=this;"unknown"===this.type?this.emitter.emit("device:ready"):this.emitter.once("cordova:deviceready",function(){e.emitter.emit("device:ready")})},e.prototype.determineDeviceType=function(){var e=navigator.userAgent,t=e.match(/iPad/i);if(t&&"ipad"===t[0].toLowerCase())return"ipad";var n=e.match(/iPhone/i);if(n&&"iphone"===n[0].toLowerCase())return"iphone";var o=e.match(/Android/i);return o&&"android"===o[0].toLowerCase()?"android":"unknown"},e}(),Di=function(){function e(e,t,n){this.key=e,this.event=t,this.handler=n}return e}(),Ci=function(){function e(){this.n=0,this.eventReceivers={},this.eventsEmitted={}}return e.prototype.on=function(e,t){"undefined"==typeof this.eventReceivers[e]&&(this.eventReceivers[e]={});var n=new Di(this.n,e,t);return this.n++,this.eventReceivers[e][n.key]=n,n},e.prototype.off=function(e){if("undefined"==typeof this.eventReceivers[e.event]||"undefined"==typeof this.eventReceivers[e.event][e.key])throw new Error("unknown event receiver");delete this.eventReceivers[e.event][e.key]},e.prototype.once=function(e,t){var n=this;this.emitted(e)?t():this.on(e,function(){n.emitted(e)||t()})},e.prototype.emit=function(e,t){"undefined"==typeof this.eventReceivers[e]&&(this.eventReceivers[e]={}),"undefined"==typeof this.eventsEmitted[e]&&(this.eventsEmitted[e]=0);for(var n in this.eventReceivers[e])this.eventReceivers[e][n].handler(t);this.eventsEmitted[e]+=1},e.prototype.emitted=function(e){return"undefined"==typeof this.eventsEmitted[e]?0:this.eventsEmitted[e]},e}(),Ti=function(){function e(e,t,n){void 0===n&&(n=1),this.appId=e,this.stat=t,this.value=n,this.appId=e,this.stat=t,this.value=n,this.created=new Date}return e.prototype.toJSON=function(){return{app_id:this.appId,stat:this.stat,value:this.value,created:this.created.toISOString()}},e}(),ki=function(){function e(e,t){var n=this;void 0===t&&(t={}),this.options=t,this.app=e.appStatus,this.storage=e.storage,this.config=e.config,this.client=e.client,this.device=e.device,this.logger=e.logger,this.batch=[],"undefined"==typeof this.options.intervalSubmit&&(this.options.intervalSubmit=6e4),"undefined"==typeof this.options.intervalActiveCheck&&(this.options.intervalActiveCheck=1e3),"undefined"==typeof this.options.submitCount&&(this.options.submitCount=100),this.options.intervalSubmit&&setInterval(function(){n.submit()},this.options.intervalSubmit),this.options.intervalActiveCheck&&setInterval(function(){n.app.closed||n.checkActivity()},this.options.intervalActiveCheck)}return e.prototype.track=function(e,t){void 0===t&&(t=1),this.trackStat(new Ti(this.config.settings.core.app_id,e,t))},e.prototype.checkActivity=function(){var e=this.storage.get("insights_session");if(e){var t=new Date(e),n=36e5;t.getTime()+n<(new Date).getTime()&&this.markActive()}else this.markActive()},e.prototype.markActive=function(){if(this.track("mobileapp.active"),this.device.native&&this.device.native.device&&this.device.native.device.platform){var e=this.device.native.device,t=this.normalizeDevicePlatform(e.platform),n=this.normalizeVersion(e.version),o=this.normalizeVersion(e.cordova);this.track("mobileapp.active.platform."+t),this.track("mobileapp.active.platform."+t+"."+n),this.track("mobileapp.active.cordova."+o)}else this.logger.warn("Ionic Insights: Device information unavailable.");this.storage.set("insights_session",(new Date).toISOString())},e.prototype.normalizeDevicePlatform=function(e){return e.toLowerCase().replace(/[^a-z0-9_]/g,"_")},e.prototype.normalizeVersion=function(e){var t;try{t=String(E(e).major)}catch(e){t="unknown"}return t},e.prototype.trackStat=function(e){this.batch.push(e),this.shouldSubmit()&&this.submit()},e.prototype.shouldSubmit=function(){return this.batch.length>=this.options.submitCount},e.prototype.submit=function(){var e=this;if(0!==this.batch.length){for(var t=[],n=0,o=this.batch;n<o.length;n++){var r=o[n];t.push(r.toJSON())}this.client.post("/insights").send({insights:t}).end(function(t,n){t&&e.logger.error("Ionic Insights: Could not send insights.",t)}),this.batch=[]}},e}(),Ni=function(){function e(e){void 0===e&&(e={}),this.options=e,this.infofn=console.log.bind(console),this.warnfn=console.warn.bind(console),this.errorfn=console.error.bind(console)}return e.prototype.info=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];this.options.silent||this.infofn.apply(this,[e].concat(t))},e.prototype.warn=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];this.options.silent||this.warnfn.apply(this,[e].concat(t))},e.prototype.error=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];this.errorfn.apply(this,[e].concat(t))},e}(),Li=function(){function e(){}return e.fromPluginData=function(t){var n=new e;return n.raw=t,n.text=t.message,n.title=t.title,n.count=t.count,n.sound=t.sound,n.image=t.image,n.app={asleep:!t.additionalData.foreground,closed:t.additionalData.coldstart},n.payload=t.additionalData.payload,n},e.prototype.toString=function(){return'<PushMessage ["'+this.title+'"]>'},e}(),xi=function(){function e(e,t){return void 0===t&&(t={}),this.options=t,this.blockRegistration=!1,this.blockUnregister=!1,this.blockSaveToken=!1,this.registered=!1,this.config=e.config,this.auth=e.auth,this.userService=e.userService,this.device=e.device,this.client=e.client,this.emitter=e.emitter,this.storage=e.storage,this.logger=e.logger,
7this.device.isAndroid()&&!this.options.sender_id?void this.logger.error("Ionic Push: GCM project number not found (http://docs.ionic.io/docs/push-android-setup)"):(t.pluginConfig||(t.pluginConfig={}),this.device.isAndroid()&&(t.pluginConfig.android||(t.pluginConfig.android={}),t.pluginConfig.android.senderID||(t.pluginConfig.android.senderID=this.options.sender_id)),void(this.options=t))}return Object.defineProperty(e.prototype,"token",{get:function(){return this._token||(this._token=this.storage.get("push_token")||void 0),this._token},set:function(e){e?this.storage.set("push_token",e):this.storage.delete("push_token"),this._token=e},enumerable:!0,configurable:!0}),e.prototype.saveToken=function(e,t){var n=this;void 0===t&&(t={});var o=new Jr,r={token:e.token,app_id:this.config.get("app_id")};if(!t.ignore_user){var i=this.userService.current();this.auth.isAuthenticated()&&(r.user_id=i.id)}return this.blockSaveToken?o.reject(new Error("A token save operation is already in progress.")):(this.client.post("/push/tokens").send(r).end(function(t,i){t?(n.blockSaveToken=!1,n.logger.error("Ionic Push:",t),o.reject(t)):(n.blockSaveToken=!1,n.logger.info("Ionic Push: saved push token: "+e.token),r.user_id&&n.logger.info("Ionic Push: added push token to user: "+r.user_id),e.id=i.body.data.id,e.type=i.body.data.type,e.saved=!0,o.resolve(e))}),o.promise)},e.prototype.register=function(){var e=this,t=new Jr;return this.blockRegistration?t.reject(new Error("Another registration is already in progress.")):(this.blockRegistration=!0,this.emitter.once("device:ready",function(){var n=e._getPushPlugin();n?(e.plugin=n.init(e.options.pluginConfig),e.plugin.on("registration",function(n){e.blockRegistration=!1,e.token={token:n.registrationId,registered:!1,saved:!1},e.token.registered=!0,t.resolve(e.token)}),e.plugin.on("error",function(n){e.logger.error("Ionic Push:",n),t.reject(n)}),e._callbackRegistration(),e.registered=!0):t.reject(new Error("Push plugin not found! See logs."))}),t.promise)},e.prototype.unregister=function(){var e=this,t=new Jr;if(this.blockUnregister)return t.reject(new Error("An unregister operation is already in progress."));var n=this.token;if(!n)return t.resolve();var o={token:n.token,app_id:this.config.get("app_id")};return this.plugin&&this.plugin.unregister(function(){},function(){}),this.client.post("/push/tokens/invalidate").send(o).end(function(n,o){e.blockUnregister=!1,n?(e.logger.error("Ionic Push:",n),t.reject(n)):(e.logger.info("Ionic Push: unregistered push token"),delete e.token,t.resolve())}),this.blockUnregister=!0,t.promise},e.prototype._callbackRegistration=function(){var e=this;this.plugin.on("registration",function(t){e.options.debug&&e.logger.info("Ionic Push (debug): device token registered: "+e.token),e.emitter.emit("push:register",e.token)}),this.plugin.on("notification",function(t){var n=Li.fromPluginData(t);e.options.debug&&e.logger.info("Ionic Push (debug): notification received: "+n),e.emitter.emit("push:notification",{message:n,raw:t})}),this.plugin.on("error",function(t){e.options.debug&&(e.logger.error("Ionic Push (debug): unexpected error occured."),e.logger.error("Ionic Push:",t)),e.emitter.emit("push:error",{err:t})})},e.prototype._getPushPlugin=function(){var e=window.PushNotification;return e||(this.device.isIOS()||this.device.isAndroid()?this.logger.error("Ionic Push: PushNotification plugin is required. Have you run `ionic plugin add phonegap-plugin-push` ?"):this.logger.warn("Ionic Push: Disabled! Native push notifications will not work in a browser. Run your app on an actual device to use push.")),e},e}(),Fi=function(){function e(){}return e.prototype.get=function(e){return localStorage.getItem(e)},e.prototype.set=function(e,t){return localStorage.setItem(e,t)},e.prototype.delete=function(e){return localStorage.removeItem(e)},e}(),Wi=function(){function e(){}return e.prototype.get=function(e){return sessionStorage.getItem(e)},e.prototype.set=function(e,t){return sessionStorage.setItem(e,t)},e.prototype.delete=function(e){return sessionStorage.removeItem(e)},e}(),Bi=function(){function e(e,t){void 0===t&&(t={prefix:"ionic",cache:!0}),this.options=t,this.strategy=e.strategy,this.storageCache={}}return e.prototype.set=function(e,t){e=this.standardizeKey(e);var n=JSON.stringify(t);this.strategy.set(e,n),this.options.cache&&(this.storageCache[e]=t)},e.prototype.delete=function(e){e=this.standardizeKey(e),this.strategy.delete(e),this.options.cache&&delete this.storageCache[e]},e.prototype.get=function(e){if(e=this.standardizeKey(e),this.options.cache){var t=this.storageCache[e];if(t)return t}var n=this.strategy.get(e);if(!n)return null;try{var o=JSON.parse(n);return this.options.cache&&(this.storageCache[e]=o),o}catch(e){return null}},e.prototype.standardizeKey=function(e){return this.options.prefix+"_"+e},e}(),Mi={},Ui=function(){function e(e){this.data={},this.setProperties(e)}return e.prototype.setProperties=function(e){if(e instanceof Object)for(var t in e)this.data[t]=e[t]},e.prototype.toJSON=function(){var e=this.data;return{__Ionic_DataTypeSchema:e.name,value:e.value}},e.prototype.isValid=function(){return!(!this.data.name||!this.data.value)},e}(),Vi=function(){function e(){}return e.get=function(e,t){return!!Mi[e]&&new Mi[e](t)},e.getMapping=function(){return Mi},Object.defineProperty(e,"Schema",{get:function(){return Ui},enumerable:!0,configurable:!0}),e.register=function(e,t){Mi[e]=t},e}(),zi=function(){function e(e){if(this.data=[],e instanceof Array)for(var t in e)this.push(e[t])}return e.prototype.toJSON=function(){var e=this.data,t=new Ui({name:"UniqueArray",value:e});return t.toJSON()},e.fromStorage=function(t){return new e(t)},e.prototype.push=function(e){this.data.indexOf(e)===-1&&this.data.push(e)},e.prototype.pull=function(e){var t=this.data.indexOf(e);this.data.splice(t,1)},e}();Vi.register("UniqueArray",zi);var Gi=function(){function e(e){this.config=e.config,this.storage=e.storage}return Object.defineProperty(e.prototype,"label",{get:function(){return"user_"+this.config.get("app_id")},enumerable:!0,configurable:!0}),e.prototype.unstore=function(){this.storage.delete(this.label)},e.prototype.store=function(e){this.storage.set(this.label,e.serializeForStorage())},e.prototype.load=function(e){var t=this.storage.get(this.label);return t?(e.id=t.id,e.data=new Hi(t.data),e.details=t.details||{},e.social=t.social||{},e.fresh=t.fresh,e):null},e}(),Hi=function(){function e(e){void 0===e&&(e={}),this.data={},"object"==typeof e&&(this.data=e,this.deserializeDataTypes())}return e.prototype.get=function(e,t){return this.data.hasOwnProperty(e)?this.data[e]:0===t||t===!1?t:t||null},e.prototype.set=function(e,t){this.data[e]=t},e.prototype.unset=function(e){delete this.data[e]},e.prototype.deserializeDataTypes=function(){if(this.data)for(var e in this.data)if(this.data[e]&&"object"==typeof this.data[e]&&this.data[e].__Ionic_DataTypeSchema){var t=this.data[e].__Ionic_DataTypeSchema,n=Vi.getMapping();n[t]&&(this.data[e]=n[t].fromStorage(this.data[e].value))}},e}(),qi=function(){function e(e){this.details={},this.social={},this.service=e.service,this.fresh=!0,this._unset={},this.data=new Hi}return e.prototype.isAnonymous=function(){return!this.id},e.prototype.get=function(e,t){return this.data.get(e,t)},e.prototype.set=function(e,t){return delete this._unset[e],this.data.set(e,t)},e.prototype.unset=function(e){return this._unset[e]=!0,this.data.unset(e)},e.prototype.clear=function(){this.id=void 0,this.data=new Hi,this.details={},this.fresh=!0},e.prototype.save=function(){return this._unset={},this.service.save()},e.prototype.delete=function(){return this.service.delete()},e.prototype.load=function(e){return this.service.load(e)},e.prototype.store=function(){this.service.store()},e.prototype.unstore=function(){this.service.unstore()},e.prototype.serializeForAPI=function(){return{email:this.details.email,password:this.details.password,username:this.details.username,image:this.details.image,name:this.details.name,custom:this.data.data}},e.prototype.serializeForStorage=function(){return{id:this.id,data:this.data.data,details:this.details,fresh:this.fresh,social:this.social}},e.prototype.toString=function(){return"<User ["+(this.isAnonymous()?"anonymous":this.id)+"]>"},e}(),Yi=function(){function e(e,t){void 0===t&&(t={}),this.config=t,this.client=e.client,this.context=e.context}return e.prototype.current=function(){return this.user||(this.user=this.context.load(new qi({service:this}))),this.user||(this.user=new qi({service:this})),this.user},e.prototype.store=function(){this.context.store(this.current())},e.prototype.unstore=function(){this.context.unstore()},e.prototype.load=function(e){void 0===e&&(e="self");var t=new Jr,n=this.current();return this.client.get("/users/"+e).end(function(e,o){e?t.reject(e):(n.id=o.body.data.uuid,n.data=new Hi(o.body.data.custom),n.details=o.body.data.details,n.fresh=!1,n.social=o.body.data.social,t.resolve())}),t.promise},e.prototype.delete=function(){var e=new Jr;return this.user?this.user.isAnonymous()?e.reject(new Error("User is anonymous and cannot be deleted from the API.")):(this.unstore(),this.client.delete("/users/"+this.user.id).end(function(t,n){t?e.reject(t):e.resolve()}),e.promise):e.reject(new Error("No user loaded to delete."))},e.prototype.save=function(){var e=this,t=new Jr;return this.store(),this.user?this.user.isAnonymous()?t.reject(new Error("User is anonymous and cannot be updated in the API. Use load(<id>) or signup a user using auth.")):(this.client.patch("/users/"+this.user.id).send(this.user.serializeForAPI()).end(function(n,o){n?t.reject(n):(e.user&&(e.user.fresh=!1),t.resolve())}),t.promise):t.reject(new Error("No user loaded to save."))},e}(),$i=function(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Xi=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Ki={},Zi=function(){function e(){}return Object.defineProperty(e.prototype,"appStatus",{get:function(){return{asleep:!1,closed:!1}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"config",{get:function(){return new Ai},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"eventEmitter",{get:function(){return new Ci},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"logger",{get:function(){var e=this.config,t={};return"undefined"!=typeof e.settings&&"undefined"!=typeof e.settings.logger&&(t=e.settings.logger),new Ni(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"localStorageStrategy",{get:function(){return new Fi},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sessionStorageStrategy",{get:function(){return new Wi},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"authTokenContext",{get:function(){var e="auth_"+this.config.get("app_id");return new ni({storage:new Bi({strategy:this.localStorageStrategy}),tempStorage:new Bi({strategy:this.sessionStorageStrategy})},e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"client",{get:function(){return new Pi(this.authTokenContext,this.config.getURL("api"))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"insights",{get:function(){return new ki({appStatus:this.appStatus,storage:new Bi({strategy:this.localStorageStrategy}),config:this.config,client:this.client,device:this.device,logger:this.logger})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"core",{get:function(){return new Ei({config:this.config,logger:this.logger,emitter:this.eventEmitter,insights:this.insights})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"device",{get:function(){return new _i({nativeDevice:Jt,emitter:this.eventEmitter})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cordova",{get:function(){return new Si({appStatus:this.appStatus,device:this.device,emitter:this.eventEmitter,logger:this.logger})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"userContext",{get:function(){return new Gi({storage:new Bi({strategy:this.localStorageStrategy}),config:this.config})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"singleUserService",{get:function(){return new Yi({client:this.client,context:this.userContext})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"authModules",{get:function(){var e={config:this.config,client:this.client,emitter:this.eventEmitter};return{basic:new ii(e),custom:new si(e),twitter:new ai(e),facebook:new pi(e),github:new fi(e),google:new di(e),instagram:new gi(e),linkedin:new hi(e)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"auth",{get:function(){return new oi({config:this.config,emitter:this.eventEmitter,authModules:this.authModules,tokenContext:this.authTokenContext,userService:this.singleUserService})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"facebookAuth",{get:function(){return new li({config:this.config,client:this.client,userService:this.singleUserService,storage:new Bi({strategy:this.localStorageStrategy}),tokenContext:this.authTokenContext,emitter:this.eventEmitter})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"googleAuth",{get:function(){return new ui({config:this.config,client:this.client,userService:this.singleUserService,storage:new Bi({strategy:this.localStorageStrategy}),tokenContext:this.authTokenContext,emitter:this.eventEmitter})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"push",{get:function(){var e=this.config,t={};return"undefined"!=typeof e.settings&&"undefined"!=typeof e.settings.push&&(t=e.settings.push),new xi({config:e,auth:this.auth,userService:this.singleUserService,device:this.device,client:this.client,emitter:this.eventEmitter,storage:new Bi({strategy:this.localStorageStrategy}),logger:this.logger},t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"deploy",{get:function(){return new Ii({config:this.config,emitter:this.eventEmitter,logger:this.logger})},enumerable:!0,configurable:!0}),$i([U,Xi("design:type",Object)],e.prototype,"appStatus",null),$i([U,Xi("design:type",Object)],e.prototype,"config",null),$i([U,Xi("design:type",Object)],e.prototype,"eventEmitter",null),$i([U,Xi("design:type",Object)],e.prototype,"logger",null),$i([U,Xi("design:type",Object)],e.prototype,"localStorageStrategy",null),$i([U,Xi("design:type",Object)],e.prototype,"sessionStorageStrategy",null),$i([U,Xi("design:type",Object)],e.prototype,"authTokenContext",null),$i([U,Xi("design:type",Object)],e.prototype,"client",null),$i([U,Xi("design:type",Object)],e.prototype,"insights",null),$i([U,Xi("design:type",Object)],e.prototype,"core",null),$i([U,Xi("design:type",Object)],e.prototype,"device",null),$i([U,Xi("design:type",Object)],e.prototype,"cordova",null),$i([U,Xi("design:type",Object)],e.prototype,"userContext",null),$i([U,Xi("design:type",Object)],e.prototype,"singleUserService",null),$i([U,Xi("design:type",Object)],e.prototype,"authModules",null),$i([U,Xi("design:type",Object)],e.prototype,"auth",null),$i([U,Xi("design:type",Object)],e.prototype,"facebookAuth",null),$i([U,Xi("design:type",Object)],e.prototype,"googleAuth",null),$i([U,Xi("design:type",Object)],e.prototype,"push",null),$i([U,Xi("design:type",Object)],e.prototype,"deploy",null),e}();V(),e.Auth=oi,e.AuthType=ri,e.BasicAuthType=ii,e.CustomAuthType=si,e.FacebookAuth=li,e.FacebookAuthType=pi,e.GithubAuthType=fi,e.GoogleAuth=ui,e.GoogleAuthType=di,e.InstagramAuthType=gi,e.LinkedInAuthType=hi,e.TwitterAuthType=ai,e.Client=Pi,e.Config=Ai,e.Cordova=Si,e.Core=Ei,e.Deploy=Ii,e.Device=_i,e.Exception=Kr,e.DetailedError=Zr,e.DIContainer=Zi,e.EventEmitter=Ci,e.Insights=ki,e.Logger=Ni,e.Push=xi,e.PushMessage=Li,e.Storage=Bi,e.LocalStorageStrategy=Fi,e.SessionStorageStrategy=Wi,e.UserContext=Gi,e.User=qi,e.SingleUserService=Yi}(this.Ionic=this.Ionic||{});
8//# sourceMappingURL=ionic.cloud.min.js.map
\No newline at end of file