"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");exports.__esModule=!0,exports.default=joinScheduleConf;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends")),_invoker=_interopRequireWildcard(require("./invoker"));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,r=new WeakMap;return(_getRequireWildcardCache=function(e){return e?r:n})(e)}function _interopRequireWildcard(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=_getRequireWildcardCache(n);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var u=i?Object.getOwnPropertyDescriptor(e,t):null;u&&(u.get||u.set)?Object.defineProperty(o,t,u):o[t]=e[t]}return o.default=e,r&&r.set(e,o),o}function joinScheduleConfHandler(e,n){void 0===e&&(e={});var r=n.resolve,o=n.reject,i=n.context,t=n.containerType,u=n.appType,l=n.platformType;if(t){var a=function(e){_invoker.default.handleBridgeResponse(e,r,o)},c=function(e){_invoker.default.handleBridgeResponse(e,r,o)};u===_invoker.API_INVOKER_TYPE.MINI_APP?i&&i({m:"biz.conference.joinScheduleConf",args:e,onSuccess:a,onFail:c}):l===_invoker.PLATFORM_TYPE_ENUM.ANDROID?i&&i(a,c,"biz.conference","joinScheduleConf",e):l===_invoker.PLATFORM_TYPE_ENUM.IOS&&i.callHandler("biz.conference.joinScheduleConf",Object.assign({},e),(function(e){_invoker.default.handleBridgeResponse(e,r,o)}))}else i&&i.call("joinScheduleConf",e,(function(){r()}))}function joinScheduleConf(e){return _invoker.default.invoke("joinScheduleConf",e)}_invoker.default.registerAPI("joinScheduleConf",{mini:joinScheduleConfHandler,mobile:joinScheduleConfHandler,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.conference.joinScheduleConf",(0,_extends2.default)({},e))}}),joinScheduleConf.version={android:"3.7.5",ios:"3.7.5",pc:"3.7.5"},module.exports=exports.default,module.exports.default=exports.default;