(function (root, factory) { if (typeof define === 'function' && define.amd) define(['exports', 'kotlin', 'react-redux', 'kotlin-extensions'], factory); else if (typeof exports === 'object') factory(module.exports, require('kotlin'), require('react-redux'), require('kotlin-extensions')); else { if (typeof kotlin === 'undefined') { throw new Error("Error loading module 'kotlin-react-redux'. Its dependency 'kotlin' was not found. Please, check whether 'kotlin' is loaded prior to 'kotlin-react-redux'."); }if (typeof this['react-redux'] === 'undefined') { throw new Error("Error loading module 'kotlin-react-redux'. Its dependency 'react-redux' was not found. Please, check whether 'react-redux' is loaded prior to 'kotlin-react-redux'."); }if (typeof this['kotlin-extensions'] === 'undefined') { throw new Error("Error loading module 'kotlin-react-redux'. Its dependency 'kotlin-extensions' was not found. Please, check whether 'kotlin-extensions' is loaded prior to 'kotlin-react-redux'."); }root['kotlin-react-redux'] = factory(typeof this['kotlin-react-redux'] === 'undefined' ? {} : this['kotlin-react-redux'], kotlin, this['react-redux'], this['kotlin-extensions']); } }(this, function (_, Kotlin, $module$react_redux, $module$kotlin_extensions) { 'use strict'; var $$importsForInline$$ = _.$$importsForInline$$ || (_.$$importsForInline$$ = {}); var Unit = Kotlin.kotlin.Unit; var Kind_INTERFACE = Kotlin.Kind.INTERFACE; function provider$lambda(closure$store, closure$context, closure$handler) { return function ($receiver) { $receiver.attrs.store = closure$store; if (closure$context != null) $receiver.attrs.context = closure$context; closure$handler($receiver); return Unit; }; } function provider($receiver, store, context, handler) { if (context === void 0) context = null; $receiver.invoke_qk0v40$($module$react_redux.Provider, provider$lambda(store, context, handler)); } var package$react = _.react || (_.react = {}); var package$redux = package$react.redux || (package$react.redux = {}); package$redux.provider_lppopv$ = provider; $$importsForInline$$['kotlin-extensions'] = $module$kotlin_extensions; return _; })); //# sourceMappingURL=kotlin-react-redux.js.map