"use strict";function preprocessDonutPluginConfig(i,o){var e,s,n,r,u,l;if(null===(n=null===(s=null===(e=o["mini-ios"])||void 0===e?void 0:e.officialPlugins)||void 0===s?void 0:s.imPush)||void 0===n?void 0:n.enable){const e=null===(r=i.ios)||void 0===r?void 0:r.find(i=>i.pluginId===exports.IMPushPluginId);if(e)return e.open=!1,{ios:i.ios,android:i.android};const s={open:!1,pluginId:exports.IMPushPluginId,pluginVersion:"",isFromLocal:!1,loadWhenStart:!0,resourcePath:"",appexProfiles:{NSE:{enable:!1,bundleID:"",profilePath:"",distributeProfilePath:""}}},n=null===(l=null===(u=o["mini-ios"])||void 0===u?void 0:u.officialPlugins)||void 0===l?void 0:l.imPush;s.open=!0,s.pluginVersion=n.version||"",s.appexProfiles.NSE.enable=n.enableNSE,s.appexProfiles.NSE.bundleID=n.NSEBundleID,s.appexProfiles.NSE.profilePath=n.NSEProfilePath,s.appexProfiles.NSE.distributeProfilePath=n.NSEDistributetProfilePath,s.resourcePath=n.resourcePath||"";const p=exports.IMPushPluginId+".json";s.resourceObjects={[p]:`{\n  "TIMPushAppGroupID": "${n.TIMPushAppGroupId||""}",\n  "businessID":"${n.businessID||""}" \n}`},i.ios||(i.ios=[]),i.ios.push(s)}return{ios:i.ios,android:i.android}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.IMPushPluginId=void 0,exports.preprocessDonutPluginConfig=preprocessDonutPluginConfig,exports.IMPushPluginId="wx369499c8a9c4c19e";