"use strict";exports.__esModule=!0,exports.default=enableWebviewBounce;var _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 t={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var u=o?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(t,i,u):t[i]=e[i]}return t.default=e,r&&r.set(e,t),t}function enableWebviewBounce(){return _invoker.default.invoke("enableWebviewBounce",{_apiName:"enableWebviewBounce"})}_invoker.default.registerAPI("enableWebviewBounce",{mobile:function(e,n){var r=n.resolve,t=n.reject,o=n.context,i=n.containerType,u=n.platformType;if(i){u===_invoker.PLATFORM_TYPE_ENUM.ANDROID?o&&o((function(){r()}),(function(){t()}),"taurus.common","bounce",{enable:!0}):u===_invoker.PLATFORM_TYPE_ENUM.IOS&&o.callHandler("taurus.common.bounce",Object.assign({},{enable:!0}),(function(e){r(e)}))}else o&&o.call("bounce",{enable:!0},(function(e){r(e)}))}}),enableWebviewBounce.version={ios:"1.3.0"},module.exports=exports.default,module.exports.default=exports.default;