{"version":3,"sources":["jsdelivr-header.js","/npm/react-native-expo-moengage@1.1.0/build/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aACA,IAAI,gBAAmB,MAAQ,KAAK,iBAAoB,SAAU,GAC9D,OAAQ,GAAO,EAAI,WAAc,EAAM,CAAE,QAAW,EACxD,EACA,OAAO,eAAe,QAAS,aAAc,CAAE,OAAO,IACtD,MAAM,iBAAmB,QAAQ,wBAC3B,sBAAwB,gBAAgB,QAAQ,kCAChD,QAAU,QAAQ,WAClB,aAAe,CACjB,QAAS,CACL,kCAAkC,EAClC,+BAA+B,EAC/B,+CAA+C,EAC/C,sCAAsC,EACtC,eAAgB,oDAEpB,MAAO,CACH,eAAgB,wCAChB,2CAA2C,EAC3C,6BAA6B,EAC7B,sBAAsB,EACtB,sBAAsB,EACtB,uBAAwB,KAM1B,aAAe,CAAC,EAAQ,KAE1B,MAAM,EAAc,EAAQ,OAAO,OAAO,OAAO,OAAO,OAAO,OAAO,CAAC,EAAG,cAAe,GAAQ,CAAE,QAAS,OAAO,OAAO,OAAO,OAAO,CAAC,EAAG,aAAa,SAAU,EAAM,SAAU,MAAO,OAAO,OAAO,OAAO,OAAO,CAAC,EAAG,aAAa,OAAQ,EAAM,SAAY,aAGjQ,OAFA,GAAS,EAAI,sBAAsB,SAAS,EAAQ,GACpD,GAAS,EAAI,QAAQ,iBAAiB,EAAQ,EACjC,EAEX,IAAM,QAAQ,mBACpB,QAAQ,SAAU,EAAI,iBAAiB,qBAAqB,aAAc,IAAI,KAAM,IAAI","file":"/npm/react-native-expo-moengage@1.1.0/build/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/react-native-expo-moengage@1.1.0/build/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n    return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst config_plugins_1 = require(\"@expo/config-plugins\");\nconst withMoEngageAndroid_1 = __importDefault(require(\"./android/withMoEngageAndroid\"));\nconst apple_1 = require(\"./apple\");\nconst defaultProps = {\n    android: {\n        disableMoEngageDefaultBackupFile: false,\n        isExpoNotificationIntegration: false,\n        shouldIncludeMoEngageFirebaseMessagingService: false,\n        includeFirebaseMessagingDependencies: false,\n        configFilePath: 'assets/moengage/android_initilisation_config.xml',\n    },\n    apple: {\n        configFilePath: 'assets/moengage/MoEngage-Config.plist',\n        pushNotificationImpressionTrackingEnabled: true,\n        richPushNotificationEnabled: false,\n        pushTemplatesEnabled: false,\n        deviceTriggerEnabled: false,\n        liveActivityTargetPath: '',\n    },\n};\n/**\n * Configure MoEngage SDK in your Expo app\n */\nconst withMoEngage = (config, props) => {\n    // Apply default values or handle undefined props\n    const pluginProps = props ? Object.assign(Object.assign(Object.assign({}, defaultProps), props), { android: Object.assign(Object.assign({}, defaultProps.android), props.android), apple: Object.assign(Object.assign({}, defaultProps.apple), props.apple) }) : defaultProps;\n    config = (0, withMoEngageAndroid_1.default)(config, pluginProps);\n    config = (0, apple_1.withMoEngageIos)(config, pluginProps);\n    return config;\n};\nconst pkg = require('../package.json');\nexports.default = (0, config_plugins_1.createRunOncePlugin)(withMoEngage, pkg.name, pkg.version);\n"]}