import _extends from"@babel/runtime/helpers/extends";import invoker,{API_INVOKER_TYPE,PLATFORM_TYPE_ENUM}from"./invoker";function joinVideoConfHandler(n,e){void 0===n&&(n={});var o=e.resolve,i=e.reject,r=e.context,d=e.containerType,f=e.appType,c=e.platformType;if(d){var t=function(n){invoker.handleBridgeResponse(n,o,i)},a=function(n){invoker.handleBridgeResponse(n,o,i)};f===API_INVOKER_TYPE.MINI_APP?r&&r({m:"biz.conference.joinVideoConf",args:n,onSuccess:t,onFail:a}):c===PLATFORM_TYPE_ENUM.ANDROID?r&&r(t,a,"biz.conference","joinVideoConf",n):c===PLATFORM_TYPE_ENUM.IOS&&r.callHandler("biz.conference.joinVideoConf",Object.assign({},n),(function(n){invoker.handleBridgeResponse(n,o,i)}))}else r&&r.call("joinVideoConf",n,(function(){o()}))}invoker.registerAPI("joinVideoConf",{mini:joinVideoConfHandler,mobile:joinVideoConfHandler,pc:function(n,e){window.dingtalk.platform.invokeAPI(e.msgId,"biz.conference.joinVideoConf",_extends({},n))}}),joinVideoConf.version={android:"3.7.5",ios:"3.7.5",pc:"3.7.5"};export default function joinVideoConf(n){return invoker.invoke("joinVideoConf",n)}