(function (_, kotlin_kotlin, kotlin_org_kodein_type_kaverit) {
  'use strict';
  //region block: imports
  var imul = Math.imul;
  var protoOf = kotlin_kotlin.$_$.uc;
  var classMeta = kotlin_kotlin.$_$.jb;
  var setMetadataFor = kotlin_kotlin.$_$.vc;
  var VOID = kotlin_kotlin.$_$.f;
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.v;
  var first = kotlin_kotlin.$_$.p7;
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.m;
  var Unit_instance = kotlin_kotlin.$_$.m5;
  var filterNotNull = kotlin_kotlin.$_$.m7;
  var sorted = kotlin_kotlin.$_$.n9;
  var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.f1;
  var repeat = kotlin_kotlin.$_$.qf;
  var ensureNotNull = kotlin_kotlin.$_$.ui;
  var KProperty1 = kotlin_kotlin.$_$.td;
  var getPropertyCallableRef = kotlin_kotlin.$_$.sb;
  var objectMeta = kotlin_kotlin.$_$.tc;
  var toString = kotlin_kotlin.$_$.hj;
  var Companion_getInstance = kotlin_org_kodein_type_kaverit.$_$.a;
  var equals = kotlin_kotlin.$_$.mb;
  var objectCreate = kotlin_kotlin.$_$.sc;
  var RuntimeException = kotlin_kotlin.$_$.bi;
  var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.m2;
  var captureStack = kotlin_kotlin.$_$.db;
  var hashCode = kotlin_kotlin.$_$.ub;
  var THROW_CCE = kotlin_kotlin.$_$.ci;
  var interfaceMeta = kotlin_kotlin.$_$.vb;
  var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.a2;
  var getBooleanHashCode = kotlin_kotlin.$_$.pb;
  var getStringHashCode = kotlin_kotlin.$_$.tb;
  var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
  var isInterface = kotlin_kotlin.$_$.ec;
  var joinToString = kotlin_kotlin.$_$.z7;
  var erasedOf = kotlin_org_kodein_type_kaverit.$_$.c;
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.l;
  var toString_0 = kotlin_kotlin.$_$.zc;
  var HashSet_init_$Create$ = kotlin_kotlin.$_$.s;
  var HashMap_init_$Create$ = kotlin_kotlin.$_$.p;
  var addAll = kotlin_kotlin.$_$.e6;
  var collectionSizeOrDefault = kotlin_kotlin.$_$.n6;
  var charSequenceLength = kotlin_kotlin.$_$.hb;
  var Enum = kotlin_kotlin.$_$.ph;
  var Map = kotlin_kotlin.$_$.y5;
  var listOf = kotlin_kotlin.$_$.i8;
  var plus = kotlin_kotlin.$_$.x8;
  var emptyList = kotlin_kotlin.$_$.i7;
  var plus_0 = kotlin_kotlin.$_$.y8;
  var checkIndexOverflow = kotlin_kotlin.$_$.l6;
  var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.u2;
  var mapCapacity = kotlin_kotlin.$_$.k8;
  var coerceAtLeast = kotlin_kotlin.$_$.hd;
  var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.u;
  var to = kotlin_kotlin.$_$.ij;
  var KProperty0 = kotlin_kotlin.$_$.sd;
  var lazy = kotlin_kotlin.$_$.aj;
  var asSequence = kotlin_kotlin.$_$.h6;
  var filter = kotlin_kotlin.$_$.zd;
  var flatMap = kotlin_kotlin.$_$.be;
  var mapNotNull = kotlin_kotlin.$_$.ee;
  var map = kotlin_kotlin.$_$.fe;
  var toList = kotlin_kotlin.$_$.le;
  var Triple = kotlin_kotlin.$_$.fi;
  var ArrayList_init_$Create$_1 = kotlin_kotlin.$_$.n;
  var HashMap_init_$Create$_0 = kotlin_kotlin.$_$.q;
  var Collection = kotlin_kotlin.$_$.p5;
  var getOrNull = kotlin_kotlin.$_$.s7;
  //endregion
  //region block: pre-declaration
  setMetadataFor(DIDefining, 'DIDefining', classMeta);
  setMetadataFor(DIDefinition, 'DIDefinition', classMeta, DIDefining);
  setMetadataFor(NonCached, 'NonCached', objectMeta);
  setMetadataFor(ImplWithScope, 'ImplWithScope', classMeta);
  setMetadataFor(DependencyLoopException, 'DependencyLoopException', classMeta, RuntimeException);
  setMetadataFor(NotFoundException, 'NotFoundException', classMeta, RuntimeException);
  setMetadataFor(OverridingException, 'OverridingException', classMeta, RuntimeException);
  setMetadataFor(Key, 'Key', classMeta);
  function constant$default(tag, overrides, $super) {
    overrides = overrides === VOID ? null : overrides;
    return $super === VOID ? this.c56(tag, overrides) : $super.c56.call(this, tag, overrides);
  }
  function import$default(module_0, allowOverride, $super) {
    allowOverride = allowOverride === VOID ? false : allowOverride;
    var tmp;
    if ($super === VOID) {
      this.e56(module_0, allowOverride);
      tmp = Unit_instance;
    } else {
      tmp = $super.e56.call(this, module_0, allowOverride);
    }
    return tmp;
  }
  setMetadataFor(Builder, 'Builder', interfaceMeta);
  function extend$default(di, allowOverride, copy, $super) {
    allowOverride = allowOverride === VOID ? false : allowOverride;
    copy = copy === VOID ? NonCached_instance : copy;
    var tmp;
    if ($super === VOID) {
      this.h56(di, allowOverride, copy);
      tmp = Unit_instance;
    } else {
      tmp = $super.h56.call(this, di, allowOverride, copy);
    }
    return tmp;
  }
  setMetadataFor(MainBuilder, 'MainBuilder', interfaceMeta, VOID, [Builder]);
  setMetadataFor(Module, 'Module', classMeta);
  setMetadataFor(Companion, 'Companion', objectMeta);
  function get_diContext() {
    return get_AnyDIContext();
  }
  function get_diTrigger() {
    return null;
  }
  setMetadataFor(DIAware, 'DIAware', interfaceMeta);
  function get_di() {
    return this;
  }
  setMetadataFor(DI, 'DI', interfaceMeta, VOID, [DIAware]);
  setMetadataFor(DIContext, 'DIContext', interfaceMeta);
  setMetadataFor(Value, 'Value', classMeta, VOID, [DIContext]);
  setMetadataFor(Companion_0, 'Companion', objectMeta);
  setMetadataFor(DIWrapper, 'DIWrapper', classMeta, VOID, [DI]);
  setMetadataFor(Contexes, 'Contexes', objectMeta);
  function factory$default(key, context, overrideLevel, $super) {
    overrideLevel = overrideLevel === VOID ? 0 : overrideLevel;
    return $super === VOID ? this.c57(key, context, overrideLevel) : $super.c57.call(this, key, context, overrideLevel);
  }
  function factoryOrNull$default(key, context, overrideLevel, $super) {
    overrideLevel = overrideLevel === VOID ? 0 : overrideLevel;
    return $super === VOID ? this.e57(key, context, overrideLevel) : $super.e57.call(this, key, context, overrideLevel);
  }
  function provider(key, context, overrideLevel) {
    // Inline function 'org.kodein.di.toProvider' call
    var this_0 = this.d57(key, context);
    return DIContainer$provider$lambda(this_0);
  }
  function provider$default(key, context, overrideLevel, $super) {
    overrideLevel = overrideLevel === VOID ? 0 : overrideLevel;
    return $super === VOID ? this.g57(key, context, overrideLevel) : provider(key, context, overrideLevel);
  }
  function providerOrNull(key, context, overrideLevel) {
    var tmp0_safe_receiver = this.f57(key, context);
    var tmp;
    if (tmp0_safe_receiver == null) {
      tmp = null;
    } else {
      // Inline function 'org.kodein.di.toProvider' call
      tmp = DIContainer$providerOrNull$lambda(tmp0_safe_receiver);
    }
    return tmp;
  }
  function providerOrNull$default(key, context, overrideLevel, $super) {
    overrideLevel = overrideLevel === VOID ? 0 : overrideLevel;
    return $super === VOID ? this.h57(key, context, overrideLevel) : providerOrNull(key, context, overrideLevel);
  }
  setMetadataFor(DIContainer, 'DIContainer', interfaceMeta);
  function find$default(key, overrideLevel, all, $super) {
    overrideLevel = overrideLevel === VOID ? 0 : overrideLevel;
    all = all === VOID ? false : all;
    return $super === VOID ? this.k57(key, overrideLevel, all) : $super.k57.call(this, key, overrideLevel, all);
  }
  setMetadataFor(DITree, 'DITree', interfaceMeta);
  function get_di_0() {
    return this.o57();
  }
  setMetadataFor(DirectDIBase, 'DirectDIBase', interfaceMeta);
  setMetadataFor(NoDefinedTag, 'NoDefinedTag', objectMeta);
  setMetadataFor(SearchSpecs, 'SearchSpecs', classMeta, VOID, VOID, SearchSpecs);
  setMetadataFor(NoArgBindingDIWrap, 'NoArgBindingDIWrap', classMeta, VOID, [DirectDIBase]);
  setMetadataFor(ErasedContext, 'ErasedContext', objectMeta, VOID, [DIContext]);
  setMetadataFor(DIBinding$Copier$Companion$invoke$1, VOID, classMeta);
  setMetadataFor(Companion_1, 'Companion', objectMeta);
  function factoryFullName() {
    return this.b58();
  }
  function get_scope() {
    return null;
  }
  function get_description() {
    var arg = !equals(this.d58(), Companion_getInstance().d54_1) ? this.d58().f54() + ' -> ' : '';
    var tmp;
    var tmp_0 = this.p55();
    if (tmp_0 instanceof NoScope) {
      tmp = null;
    } else {
      tmp = this.p55();
    }
    var scope = tmp;
    var tmp_1;
    if (scope == null) {
      tmp_1 = null;
    } else {
      // Inline function 'kotlin.let' call
      // Inline function 'kotlin.contracts.contract' call
      // Inline function 'org.kodein.di.bindings.DIBinding.<get-description>.<anonymous>' call
      tmp_1 = 'scoped(' + erasedOf(scope).f54() + ').';
    }
    var tmp1_elvis_lhs = tmp_1;
    var context = tmp1_elvis_lhs == null ? !equals(this.o55(), Companion_getInstance().e54_1) ? 'contexted<' + this.o55().f54() + '>().' : '' : tmp1_elvis_lhs;
    return context + this.b58() + ' { ' + arg + this.e58().f54() + ' }';
  }
  function get_fullDescription() {
    var arg = !equals(this.d58(), Companion_getInstance().d54_1) ? this.d58().h54() + ' -> ' : '';
    var tmp;
    var tmp_0 = this.p55();
    if (tmp_0 instanceof NoScope) {
      tmp = null;
    } else {
      tmp = this.p55();
    }
    var scope = tmp;
    var tmp_1;
    if (scope == null) {
      tmp_1 = null;
    } else {
      // Inline function 'kotlin.let' call
      // Inline function 'kotlin.contracts.contract' call
      // Inline function 'org.kodein.di.bindings.DIBinding.<get-fullDescription>.<anonymous>' call
      tmp_1 = 'scoped(' + erasedOf(scope).h54() + ').';
    }
    var tmp1_elvis_lhs = tmp_1;
    var context = tmp1_elvis_lhs == null ? !equals(this.o55(), Companion_getInstance().e54_1) ? 'contexted<' + this.o55().h54() + '>().' : '' : tmp1_elvis_lhs;
    return context + this.c58() + ' { ' + arg + this.e58().h54() + ' }';
  }
  function get_copier() {
    return null;
  }
  function get_supportSubTypes() {
    return false;
  }
  setMetadataFor(DIBinding, 'DIBinding', interfaceMeta);
  function get_argType() {
    return Companion_getInstance().d54_1;
  }
  setMetadataFor(NoArgDIBinding, 'NoArgDIBinding', interfaceMeta, VOID, [DIBinding]);
  setMetadataFor(SingletonReference, 'SingletonReference', objectMeta);
  setMetadataFor(Reference, 'Reference', classMeta);
  setMetadataFor(ScopeRegistry, 'ScopeRegistry', classMeta);
  setMetadataFor(StandardScopeRegistry, 'StandardScopeRegistry', classMeta, ScopeRegistry, VOID, StandardScopeRegistry);
  setMetadataFor(ContextTranslator, 'ContextTranslator', interfaceMeta);
  setMetadataFor(SimpleContextTranslator, 'SimpleContextTranslator', classMeta, VOID, [ContextTranslator]);
  setMetadataFor(NoScope, 'NoScope', classMeta, VOID, VOID, NoScope);
  setMetadataFor(CompositeContextTranslator, 'CompositeContextTranslator', classMeta, VOID, [ContextTranslator]);
  setMetadataFor(Singleton, 'Singleton', classMeta, VOID, [NoArgDIBinding]);
  setMetadataFor(Provider, 'Provider', classMeta, VOID, [NoArgDIBinding]);
  setMetadataFor(ScopeKey, 'ScopeKey', classMeta);
  setMetadataFor(InstanceBinding, 'InstanceBinding', classMeta, VOID, [NoArgDIBinding]);
  setMetadataFor(DIBuilderImpl, 'DIBuilderImpl', classMeta, VOID, [Builder]);
  setMetadataFor(DIMainBuilderImpl, 'DIMainBuilderImpl', classMeta, DIBuilderImpl, [DIBuilderImpl, MainBuilder]);
  setMetadataFor(TypeBinder, 'TypeBinder', classMeta);
  setMetadataFor(ConstantBinder, 'ConstantBinder', classMeta);
  setMetadataFor(OverrideMode, 'OverrideMode', classMeta, Enum);
  setMetadataFor(DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT, 'ALLOW_SILENT', classMeta, OverrideMode);
  setMetadataFor(DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT, 'ALLOW_EXPLICIT', classMeta, OverrideMode);
  setMetadataFor(DIContainerBuilderImpl$OverrideMode$FORBID, 'FORBID', classMeta, OverrideMode);
  setMetadataFor(Companion_2, 'Companion', objectMeta);
  setMetadataFor(DIContainerBuilderImpl, 'DIContainerBuilderImpl', classMeta);
  setMetadataFor(Node, 'Node', classMeta);
  setMetadataFor(DIContainerImpl, 'DIContainerImpl', classMeta, VOID, [DIContainer]);
  setMetadataFor(Companion_3, 'Companion', objectMeta);
  setMetadataFor(DIImpl, 'DIImpl', classMeta, VOID, [DI]);
  setMetadataFor(BindingDIImpl, 'BindingDIImpl', classMeta, VOID, [DirectDIBase]);
  setMetadataFor(DITreeImpl, 'DITreeImpl', classMeta, VOID, [DITree]);
  setMetadataFor(TypeChecker, 'TypeChecker', classMeta);
  setMetadataFor(Down, 'Down', classMeta, TypeChecker);
  setMetadataFor(Up, 'Up', classMeta, TypeChecker);
  setMetadataFor(DirectDIBaseImpl, 'DirectDIBaseImpl', classMeta, VOID, [DirectDIBase]);
  setMetadataFor(DIProperty, 'DIProperty', classMeta);
  setMetadataFor(DirectDIImpl, 'DirectDIImpl', classMeta, DirectDIBaseImpl, [DirectDIBaseImpl, DirectDIBase]);
  //endregion
  function DIDefinition(binding, fromModule, tree) {
    DIDefining.call(this, binding, fromModule);
    this.x54_1 = tree;
  }
  function description(_this__u8e3s4, withOverrides, ident) {
    withOverrides = withOverrides === VOID ? false : withOverrides;
    ident = ident === VOID ? 8 : ident;
    return descriptionImpl(_this__u8e3s4, withOverrides, ident, bindDescription$factory(), description$factory());
  }
  function DIDefining(binding, fromModule) {
    this.y54_1 = binding;
    this.z54_1 = fromModule;
  }
  function descriptionImpl(_this__u8e3s4, withOverrides, ident, keyBindDisp, bindingDisp) {
    // Inline function 'kotlin.collections.groupBy' call
    // Inline function 'kotlin.collections.groupByTo' call
    var this_0 = _this__u8e3s4.q2();
    var destination = LinkedHashMap_init_$Create$();
    var tmp0_iterator = this_0.w();
    while (tmp0_iterator.f()) {
      var element = tmp0_iterator.e();
      // Inline function 'org.kodein.di.descriptionImpl.<anonymous>' call
      var key = first(element.t2()).z54_1;
      // Inline function 'kotlin.collections.getOrPut' call
      var value = destination.q(key);
      var tmp;
      if (value == null) {
        // Inline function 'kotlin.collections.groupByTo.<anonymous>' call
        var answer = ArrayList_init_$Create$();
        destination.s(key, answer);
        tmp = answer;
      } else {
        tmp = value;
      }
      var list = tmp;
      list.i1(element);
    }
    var byModule = destination;
    var modules = sorted(filterNotNull(byModule.o2()));
    // Inline function 'kotlin.text.buildString' call
    // Inline function 'kotlin.contracts.contract' call
    // Inline function 'kotlin.apply' call
    var this_1 = StringBuilder_init_$Create$();
    // Inline function 'kotlin.contracts.contract' call
    // Inline function 'org.kodein.di.descriptionImpl.<anonymous>' call
    var tmp0_safe_receiver = byModule.q(null);
    if (tmp0_safe_receiver == null)
      null;
    else {
      // Inline function 'kotlin.let' call
      // Inline function 'kotlin.contracts.contract' call
      descriptionImpl$appendBindings(this_1, keyBindDisp, bindingDisp, withOverrides, ident, tmp0_safe_receiver);
    }
    // Inline function 'kotlin.collections.forEach' call
    var tmp0_iterator_0 = modules.w();
    while (tmp0_iterator_0.f()) {
      var element_0 = tmp0_iterator_0.e();
      // Inline function 'org.kodein.di.descriptionImpl.<anonymous>.<anonymous>' call
      this_1.y5(repeat(' ', ident) + 'module ' + element_0 + ' {\n');
      descriptionImpl$appendBindings(this_1, keyBindDisp, bindingDisp, withOverrides, ident + 4 | 0, ensureNotNull(byModule.q(element_0)));
      this_1.y5(repeat(' ', ident) + '}\n');
    }
    return this_1.toString();
  }
  function fullDescription(_this__u8e3s4, withOverrides, ident) {
    withOverrides = withOverrides === VOID ? false : withOverrides;
    ident = ident === VOID ? 8 : ident;
    return descriptionImpl(_this__u8e3s4, withOverrides, ident, bindFullDescription$factory(), fullDescription$factory());
  }
  function descriptionImpl$appendBindings(_this__u8e3s4, $keyBindDisp, $bindingDisp, $withOverrides, ident, entries) {
    var tmp0_iterator = entries.w();
    while (tmp0_iterator.f()) {
      var element = tmp0_iterator.e();
      // Inline function 'org.kodein.di.descriptionImpl.appendBindings.<anonymous>' call
      var keyDescription = $keyBindDisp(element.s2());
      _this__u8e3s4.y5(repeat(' ', ident) + keyDescription + ' { ' + $bindingDisp(first(element.t2()).y54_1) + ' }');
      if ($withOverrides) {
        var subIdent = keyDescription.length - 4 | 0;
        // Inline function 'kotlin.collections.forEach' call
        var tmp0_iterator_0 = element.t2().z(1, element.t2().u()).w();
        while (tmp0_iterator_0.f()) {
          var element_0 = tmp0_iterator_0.e();
          // Inline function 'org.kodein.di.descriptionImpl.appendBindings.<anonymous>.<anonymous>' call
          _this__u8e3s4.y5(repeat(' ', subIdent) + 'overrides ' + $bindingDisp(element_0.y54_1));
        }
      }
      _this__u8e3s4.y5('\n');
    }
    return Unit_instance;
  }
  function bindDescription$factory() {
    return getPropertyCallableRef('bindDescription', 1, KProperty1, function (receiver) {
      return receiver.f55();
    }, null);
  }
  function description$factory() {
    return getPropertyCallableRef('description', 1, KProperty1, function (receiver) {
      return receiver.g55();
    }, null);
  }
  function bindFullDescription$factory() {
    return getPropertyCallableRef('bindFullDescription', 1, KProperty1, function (receiver) {
      return receiver.h55();
    }, null);
  }
  function fullDescription$factory() {
    return getPropertyCallableRef('fullDescription', 1, KProperty1, function (receiver) {
      return receiver.i55();
    }, null);
  }
  function NonCached() {
  }
  protoOf(NonCached).j55 = function (tree) {
    // Inline function 'kotlin.collections.filter' call
    // Inline function 'kotlin.collections.filterTo' call
    var this_0 = tree.k55();
    var destination = LinkedHashMap_init_$Create$();
    // Inline function 'kotlin.collections.iterator' call
    var tmp0_iterator = this_0.q2().w();
    while (tmp0_iterator.f()) {
      var element = tmp0_iterator.e();
      // Inline function 'org.kodein.di.NonCached.keySet.<anonymous>' call
      if (first(element.t2()).y54_1.l55() == null) {
        destination.s(element.s2(), element.t2());
      }
    }
    return destination.o2();
  };
  var NonCached_instance;
  function NonCached_getInstance() {
    return NonCached_instance;
  }
  function appendDescription(_this__u8e3s4, $this, displayString) {
    if (!($this.d55_1 == null)) {
      _this__u8e3s4.y5(' tagged "' + toString($this.d55_1) + '"');
    }
    if (!equals($this.a55_1, Companion_getInstance().e54_1)) {
      _this__u8e3s4.y5(' on context ' + displayString($this.a55_1));
    }
    if (!equals($this.b55_1, Companion_getInstance().d54_1)) {
      _this__u8e3s4.y5(', with argument ' + displayString($this.b55_1));
    }
  }
  function TypeToken$simpleDispString$ref() {
    var l = function (p0) {
      return p0.f54();
    };
    l.callableName = 'simpleDispString';
    return l;
  }
  function TypeToken$qualifiedDispString$ref() {
    var l = function (p0) {
      return p0.h54();
    };
    l.callableName = 'qualifiedDispString';
    return l;
  }
  function ImplWithScope(contextType, scope) {
    this.m55_1 = contextType;
    this.n55_1 = scope;
  }
  protoOf(ImplWithScope).o55 = function () {
    return this.m55_1;
  };
  protoOf(ImplWithScope).p55 = function () {
    return this.n55_1;
  };
  protoOf(ImplWithScope).q55 = function () {
    return true;
  };
  function Module_init_$Init$(name, allowSilentOverride, prefix, init, $this) {
    allowSilentOverride = allowSilentOverride === VOID ? false : allowSilentOverride;
    prefix = prefix === VOID ? '' : prefix;
    Module.call($this, allowSilentOverride, prefix, init);
    $this.u55_1 = name;
    return $this;
  }
  function Module_init_$Create$(name, allowSilentOverride, prefix, init) {
    return Module_init_$Init$(name, allowSilentOverride, prefix, init, objectCreate(protoOf(Module)));
  }
  function DependencyLoopException(message) {
    RuntimeException_init_$Init$(message, this);
    captureStack(this, DependencyLoopException);
  }
  function NotFoundException(key, message) {
    RuntimeException_init_$Init$(message, this);
    captureStack(this, NotFoundException);
    this.v55_1 = key;
  }
  function OverridingException(message) {
    RuntimeException_init_$Init$(message, this);
    captureStack(this, OverridingException);
  }
  function Key(contextType, argType, type, tag) {
    this.a55_1 = contextType;
    this.b55_1 = argType;
    this.c55_1 = type;
    this.d55_1 = tag;
    this.e55_1 = 0;
  }
  protoOf(Key).hashCode = function () {
    if (this.e55_1 === 0) {
      this.e55_1 = hashCode(this.a55_1);
      this.e55_1 = imul(31, this.e55_1) + hashCode(this.b55_1) | 0;
      this.e55_1 = imul(29, hashCode(this.c55_1));
      var tmp = this;
      var tmp_0 = imul(23, this.e55_1);
      var tmp0_safe_receiver = this.d55_1;
      var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
      tmp.e55_1 = tmp_0 + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
    }
    return this.e55_1;
  };
  protoOf(Key).toString = function () {
    return this.g55();
  };
  protoOf(Key).f55 = function () {
    // Inline function 'kotlin.text.buildString' call
    // Inline function 'kotlin.contracts.contract' call
    // Inline function 'kotlin.apply' call
    var this_0 = StringBuilder_init_$Create$();
    // Inline function 'kotlin.contracts.contract' call
    // Inline function 'org.kodein.di.Key.<get-bindDescription>.<anonymous>' call
    this_0.y5('bind<' + this.c55_1.f54() + '>');
    if (!(this.d55_1 == null)) {
      this_0.y5('(tag = "' + toString(this.d55_1) + '")');
    }
    return this_0.toString();
  };
  protoOf(Key).h55 = function () {
    // Inline function 'kotlin.text.buildString' call
    // Inline function 'kotlin.contracts.contract' call
    // Inline function 'kotlin.apply' call
    var this_0 = StringBuilder_init_$Create$();
    // Inline function 'kotlin.contracts.contract' call
    // Inline function 'org.kodein.di.Key.<get-bindFullDescription>.<anonymous>' call
    this_0.y5('bind<' + this.c55_1.h54() + '>');
    if (!(this.d55_1 == null)) {
      this_0.y5('(tag = "' + toString(this.d55_1) + '")');
    }
    return this_0.toString();
  };
  protoOf(Key).g55 = function () {
    // Inline function 'kotlin.text.buildString' call
    // Inline function 'kotlin.contracts.contract' call
    // Inline function 'kotlin.apply' call
    var this_0 = StringBuilder_init_$Create$();
    // Inline function 'kotlin.contracts.contract' call
    // Inline function 'org.kodein.di.Key.<get-description>.<anonymous>' call
    this_0.y5(this.c55_1.f54());
    appendDescription(this_0, this, TypeToken$simpleDispString$ref());
    return this_0.toString();
  };
  protoOf(Key).w55 = function () {
    return '(context: ' + this.a55_1.f54() + ', arg: ' + this.b55_1.f54() + ', type: ' + this.c55_1.f54() + ', tag: ' + toString(this.d55_1) + ')';
  };
  protoOf(Key).i55 = function () {
    // Inline function 'kotlin.text.buildString' call
    // Inline function 'kotlin.contracts.contract' call
    // Inline function 'kotlin.apply' call
    var this_0 = StringBuilder_init_$Create$();
    // Inline function 'kotlin.contracts.contract' call
    // Inline function 'org.kodein.di.Key.<get-fullDescription>.<anonymous>' call
    this_0.y5(this.c55_1.h54());
    appendDescription(this_0, this, TypeToken$qualifiedDispString$ref());
    return this_0.toString();
  };
  protoOf(Key).x55 = function (contextType, argType, type, tag) {
    return new Key(contextType, argType, type, tag);
  };
  protoOf(Key).y55 = function (contextType, argType, type, tag, $super) {
    contextType = contextType === VOID ? this.a55_1 : contextType;
    argType = argType === VOID ? this.b55_1 : argType;
    type = type === VOID ? this.c55_1 : type;
    tag = tag === VOID ? this.d55_1 : tag;
    return $super === VOID ? this.x55(contextType, argType, type, tag) : $super.x55.call(this, contextType, argType, type, tag);
  };
  protoOf(Key).equals = function (other) {
    if (this === other)
      return true;
    if (!(other instanceof Key))
      return false;
    var tmp0_other_with_cast = other instanceof Key ? other : THROW_CCE();
    if (!equals(this.a55_1, tmp0_other_with_cast.a55_1))
      return false;
    if (!equals(this.b55_1, tmp0_other_with_cast.b55_1))
      return false;
    if (!equals(this.c55_1, tmp0_other_with_cast.c55_1))
      return false;
    if (!equals(this.d55_1, tmp0_other_with_cast.d55_1))
      return false;
    return true;
  };
  function Builder() {
  }
  function MainBuilder() {
  }
  function Module(allowSilentOverride, prefix, init) {
    allowSilentOverride = allowSilentOverride === VOID ? false : allowSilentOverride;
    prefix = prefix === VOID ? '' : prefix;
    this.r55_1 = allowSilentOverride;
    this.s55_1 = prefix;
    this.t55_1 = init;
    this.u55_1 = null;
  }
  protoOf(Module).dc = function () {
    var tmp0_elvis_lhs = this.u55_1;
    var tmp;
    if (tmp0_elvis_lhs == null) {
      throw IllegalStateException_init_$Create$('module must have a name.');
    } else {
      tmp = tmp0_elvis_lhs;
    }
    return tmp;
  };
  protoOf(Module).toString = function () {
    return 'Module(allowSilentOverride=' + this.r55_1 + ', prefix=' + this.s55_1 + ', init=' + this.t55_1 + ')';
  };
  protoOf(Module).hashCode = function () {
    var result = getBooleanHashCode(this.r55_1);
    result = imul(result, 31) + getStringHashCode(this.s55_1) | 0;
    result = imul(result, 31) + hashCode(this.t55_1) | 0;
    return result;
  };
  protoOf(Module).equals = function (other) {
    if (this === other)
      return true;
    if (!(other instanceof Module))
      return false;
    var tmp0_other_with_cast = other instanceof Module ? other : THROW_CCE();
    if (!(this.r55_1 === tmp0_other_with_cast.r55_1))
      return false;
    if (!(this.s55_1 === tmp0_other_with_cast.s55_1))
      return false;
    if (!equals(this.t55_1, tmp0_other_with_cast.t55_1))
      return false;
    return true;
  };
  function Companion() {
    this.j56_1 = false;
    this.k56_1 = false;
  }
  protoOf(Companion).l56 = function (allowSilentOverride, init) {
    return DIImpl_init_$Create$(allowSilentOverride, init);
  };
  protoOf(Companion).m56 = function (allowSilentOverride, init, $super) {
    allowSilentOverride = allowSilentOverride === VOID ? false : allowSilentOverride;
    return $super === VOID ? this.l56(allowSilentOverride, init) : $super.l56.call(this, allowSilentOverride, init);
  };
  var Companion_instance;
  function Companion_getInstance_0() {
    return Companion_instance;
  }
  function DI() {
  }
  function get_direct(_this__u8e3s4) {
    return new DirectDIImpl(_this__u8e3s4.n56().o56(), _this__u8e3s4.p56());
  }
  function DIAware() {
  }
  function Instance(_this__u8e3s4, type, tag) {
    tag = tag === VOID ? null : tag;
    var tmp = _this__u8e3s4.q56();
    var tmp_0 = _this__u8e3s4.p56();
    return new DIProperty(tmp, tmp_0, Instance$lambda(_this__u8e3s4, type, tag));
  }
  function Value(type, value) {
    this.r56_1 = type;
    this.s56_1 = value;
  }
  protoOf(Value).t56 = function () {
    return this.r56_1;
  };
  protoOf(Value).t2 = function () {
    return this.s56_1;
  };
  protoOf(Value).toString = function () {
    return 'Value(type=' + this.r56_1 + ', value=' + this.s56_1 + ')';
  };
  protoOf(Value).hashCode = function () {
    var result = hashCode(this.r56_1);
    result = imul(result, 31) + hashCode(this.s56_1) | 0;
    return result;
  };
  protoOf(Value).equals = function (other) {
    if (this === other)
      return true;
    if (!(other instanceof Value))
      return false;
    var tmp0_other_with_cast = other instanceof Value ? other : THROW_CCE();
    if (!equals(this.r56_1, tmp0_other_with_cast.r56_1))
      return false;
    if (!equals(this.s56_1, tmp0_other_with_cast.s56_1))
      return false;
    return true;
  };
  function Companion_0() {
  }
  protoOf(Companion_0).u56 = function (type, value) {
    return new Value(type, value);
  };
  var Companion_instance_0;
  function Companion_getInstance_1() {
    return Companion_instance_0;
  }
  function DIContext() {
  }
  function On(_this__u8e3s4, context, trigger) {
    context = context === VOID ? _this__u8e3s4.p56() : context;
    trigger = trigger === VOID ? _this__u8e3s4.q56() : trigger;
    return DIWrapper_init_$Create$(_this__u8e3s4, context, trigger);
  }
  function InstanceOrNull(_this__u8e3s4, type, tag) {
    tag = tag === VOID ? null : tag;
    var tmp = _this__u8e3s4.q56();
    var tmp_0 = _this__u8e3s4.p56();
    return new DIProperty(tmp, tmp_0, InstanceOrNull$lambda(_this__u8e3s4, type, tag));
  }
  function get_AnyDIContext() {
    return Contexes_getInstance().v56_1;
  }
  function DIWrapper_init_$Init$(base, diContext, trigger, $this) {
    diContext = diContext === VOID ? base.p56() : diContext;
    trigger = trigger === VOID ? base.q56() : trigger;
    DIWrapper.call($this, base.n56(), diContext, trigger);
    return $this;
  }
  function DIWrapper_init_$Create$(base, diContext, trigger) {
    return DIWrapper_init_$Init$(base, diContext, trigger, objectCreate(protoOf(DIWrapper)));
  }
  function DIWrapper(_base, diContext, diTrigger) {
    diTrigger = diTrigger === VOID ? null : diTrigger;
    this.w56_1 = _base;
    this.x56_1 = diContext;
    this.y56_1 = diTrigger;
  }
  protoOf(DIWrapper).p56 = function () {
    return this.x56_1;
  };
  protoOf(DIWrapper).q56 = function () {
    return this.y56_1;
  };
  protoOf(DIWrapper).n56 = function () {
    return this;
  };
  protoOf(DIWrapper).o56 = function () {
    return this.w56_1.o56();
  };
  function Contexes() {
    Contexes_instance = this;
    this.v56_1 = Companion_instance_0.u56(Companion_getInstance().e54_1, new Object());
  }
  var Contexes_instance;
  function Contexes_getInstance() {
    if (Contexes_instance == null)
      new Contexes();
    return Contexes_instance;
  }
  function Instance$lambda($this_Instance, $type, $tag) {
    return function (ctx, _anonymous_parameter_1__qggqgd) {
      var tmp = $this_Instance.n56().o56();
      // Inline function 'org.kodein.di.anyType' call
      var tmp_0 = ctx.t56();
      var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
      return tmp.z56(new Key(tmp$ret$0, Companion_getInstance().d54_1, $type, $tag), ctx.t2())();
    };
  }
  function InstanceOrNull$lambda($this_InstanceOrNull, $type, $tag) {
    return function (ctx, _anonymous_parameter_1__qggqgd) {
      var tmp = $this_InstanceOrNull.n56().o56();
      // Inline function 'org.kodein.di.anyType' call
      var tmp_0 = ctx.t56();
      var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
      var tmp0_safe_receiver = tmp.a57(new Key(tmp$ret$0, Companion_getInstance().d54_1, $type, $tag), ctx.t2());
      return tmp0_safe_receiver == null ? null : tmp0_safe_receiver();
    };
  }
  function DIContainer$provider$lambda($this) {
    return function () {
      return $this(Unit_instance);
    };
  }
  function DIContainer$providerOrNull$lambda($this) {
    return function () {
      return $this(Unit_instance);
    };
  }
  function DIContainer() {
  }
  function DITree() {
  }
  function DirectDIBase() {
  }
  function NoDefinedTag() {
  }
  var NoDefinedTag_instance;
  function NoDefinedTag_getInstance() {
    return NoDefinedTag_instance;
  }
  function SearchSpecs(contextType, argType, type, tag) {
    contextType = contextType === VOID ? null : contextType;
    argType = argType === VOID ? null : argType;
    type = type === VOID ? null : type;
    tag = tag === VOID ? NoDefinedTag_instance : tag;
    this.t57_1 = contextType;
    this.u57_1 = argType;
    this.v57_1 = type;
    this.w57_1 = tag;
  }
  protoOf(SearchSpecs).toString = function () {
    var args = ArrayList_init_$Create$();
    if (!(this.t57_1 == null)) {
      // Inline function 'kotlin.collections.plusAssign' call
      var tmp0_safe_receiver = this.t57_1;
      var element = 'contextType=' + (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f54());
      args.i1(element);
    }
    if (!(this.u57_1 == null)) {
      // Inline function 'kotlin.collections.plusAssign' call
      var tmp1_safe_receiver = this.u57_1;
      var element_0 = 'argType=' + (tmp1_safe_receiver == null ? null : tmp1_safe_receiver.f54());
      args.i1(element_0);
    }
    if (!(this.v57_1 == null)) {
      // Inline function 'kotlin.collections.plusAssign' call
      var tmp2_safe_receiver = this.v57_1;
      var element_1 = 'type=' + (tmp2_safe_receiver == null ? null : tmp2_safe_receiver.f54());
      args.i1(element_1);
    }
    if (!equals(this.w57_1, NoDefinedTag_instance)) {
      // Inline function 'kotlin.collections.plusAssign' call
      var element_2 = 'tag=' + toString(this.w57_1);
      args.i1(element_2);
    }
    return '[' + joinToString(args, ', ') + ']';
  };
  function NoArgBindingDIWrap(_di) {
    this.x57_1 = _di;
  }
  protoOf(NoArgBindingDIWrap).n56 = function () {
    return this.x57_1.n56();
  };
  protoOf(NoArgBindingDIWrap).s57 = function () {
    return this.x57_1.s57();
  };
  protoOf(NoArgBindingDIWrap).o57 = function () {
    return this.x57_1.o57();
  };
  protoOf(NoArgBindingDIWrap).q57 = function (type, tag) {
    return this.x57_1.q57(type, tag);
  };
  protoOf(NoArgBindingDIWrap).r57 = function (type, tag) {
    return this.x57_1.r57(type, tag);
  };
  protoOf(NoArgBindingDIWrap).p57 = function (context) {
    return this.x57_1.p57(context);
  };
  protoOf(NoArgBindingDIWrap).od = function () {
    return this.x57_1.od();
  };
  function ErasedContext() {
  }
  protoOf(ErasedContext).t56 = function () {
    return Companion_getInstance().e54_1;
  };
  protoOf(ErasedContext).t2 = function () {
    return ErasedContext_instance;
  };
  var ErasedContext_instance;
  function ErasedContext_getInstance() {
    return ErasedContext_instance;
  }
  function DIBinding$Copier$Companion$invoke$1($f) {
    this.y57_1 = $f;
  }
  protoOf(DIBinding$Copier$Companion$invoke$1).z57 = function (builder) {
    return this.y57_1(builder);
  };
  function Companion_1() {
  }
  protoOf(Companion_1).a58 = function (f) {
    return new DIBinding$Copier$Companion$invoke$1(f);
  };
  var Companion_instance_1;
  function Companion_getInstance_2() {
    return Companion_instance_1;
  }
  function DIBinding() {
  }
  function NoArgDIBinding() {
  }
  function SingletonReference$make$lambda($value) {
    return function () {
      return $value;
    };
  }
  function SingletonReference() {
  }
  protoOf(SingletonReference).h58 = function (creator) {
    var value = creator();
    return new Reference(value, SingletonReference$make$lambda(value));
  };
  var SingletonReference_instance;
  function SingletonReference_getInstance() {
    return SingletonReference_instance;
  }
  function Reference(current, next) {
    this.i58_1 = current;
    this.j58_1 = next;
  }
  protoOf(Reference).y6 = function () {
    return this.i58_1;
  };
  protoOf(Reference).z6 = function () {
    return this.j58_1;
  };
  protoOf(Reference).toString = function () {
    return 'Reference(current=' + this.i58_1 + ', next=' + this.j58_1 + ')';
  };
  protoOf(Reference).hashCode = function () {
    var result = hashCode(this.i58_1);
    result = imul(result, 31) + hashCode(this.j58_1) | 0;
    return result;
  };
  protoOf(Reference).equals = function (other) {
    if (this === other)
      return true;
    if (!(other instanceof Reference))
      return false;
    var tmp0_other_with_cast = other instanceof Reference ? other : THROW_CCE();
    if (!equals(this.i58_1, tmp0_other_with_cast.i58_1))
      return false;
    if (!equals(this.j58_1, tmp0_other_with_cast.j58_1))
      return false;
    return true;
  };
  function ScopeRegistry() {
  }
  function StandardScopeRegistry() {
    ScopeRegistry.call(this);
    this.l58_1 = newConcurrentMap();
    this.m58_1 = new Object();
  }
  protoOf(StandardScopeRegistry).k58 = function (key, sync, creator) {
    var tmp$ret$2;
    $l$block_1: {
      // Inline function 'org.kodein.di.internal.synchronizedIfNull' call
      sync && this.m58_1;
      // Inline function 'org.kodein.di.bindings.StandardScopeRegistry.getOrCreate.<anonymous>' call
      var tmp0_safe_receiver = this.l58_1.q(key);
      var tmp0_safe_receiver_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver();
      if (tmp0_safe_receiver_0 == null)
        null;
      else {
        // Inline function 'kotlin.let' call
        // Inline function 'kotlin.contracts.contract' call
        // Inline function 'org.kodein.di.bindings.StandardScopeRegistry.getOrCreate.<anonymous>' call
        tmp$ret$2 = tmp0_safe_receiver_0;
        break $l$block_1;
      }
      // Inline function 'org.kodein.di.internal.maySynchronized' call
      var tmp$ret$5;
      $l$block_0: {
        // Inline function 'org.kodein.di.internal.synchronizedIfNull.<anonymous>' call
        // Inline function 'org.kodein.di.bindings.StandardScopeRegistry.getOrCreate.<anonymous>' call
        var tmp0_safe_receiver_1 = this.l58_1.q(key);
        var tmp0_safe_receiver_2 = tmp0_safe_receiver_1 == null ? null : tmp0_safe_receiver_1();
        if (tmp0_safe_receiver_2 == null)
          null;
        else {
          // Inline function 'kotlin.let' call
          // Inline function 'kotlin.contracts.contract' call
          tmp$ret$5 = tmp0_safe_receiver_2;
          break $l$block_0;
        }
        // Inline function 'org.kodein.di.bindings.StandardScopeRegistry.getOrCreate.<anonymous>' call
        var tmp0_container = creator();
        var current = tmp0_container.y6();
        var next = tmp0_container.z6();
        // Inline function 'kotlin.collections.set' call
        this.l58_1.s(key, next);
        tmp$ret$2 = current;
        break $l$block_1;
      }
      var value = tmp$ret$5;
      // Inline function 'org.kodein.di.bindings.StandardScopeRegistry.getOrCreate.<anonymous>' call
      tmp$ret$2 = value;
    }
    return tmp$ret$2;
  };
  function ContextTranslator() {
  }
  function SimpleContextTranslator(contextType, scopeType, t) {
    this.p58_1 = contextType;
    this.q58_1 = scopeType;
    this.r58_1 = t;
  }
  protoOf(SimpleContextTranslator).o55 = function () {
    return this.p58_1;
  };
  protoOf(SimpleContextTranslator).n58 = function () {
    return this.q58_1;
  };
  protoOf(SimpleContextTranslator).o58 = function (di, ctx) {
    return this.r58_1(di, ctx);
  };
  protoOf(SimpleContextTranslator).toString = function () {
    return '()';
  };
  function NoScope() {
    this.s58_1 = new StandardScopeRegistry();
  }
  protoOf(NoScope).t58 = function (context) {
    return this.s58_1;
  };
  protoOf(NoScope).u58 = function (context) {
    return this.t58((context == null ? true : !(context == null)) ? context : THROW_CCE());
  };
  function toKContext(_this__u8e3s4, di, ctx) {
    var tmp0_safe_receiver = _this__u8e3s4.o58(di, ctx);
    var tmp;
    if (tmp0_safe_receiver == null) {
      tmp = null;
    } else {
      // Inline function 'kotlin.let' call
      // Inline function 'kotlin.contracts.contract' call
      // Inline function 'org.kodein.di.bindings.toKContext.<anonymous>' call
      tmp = Companion_instance_0.u56(_this__u8e3s4.n58(), tmp0_safe_receiver);
    }
    return tmp;
  }
  function CompositeContextTranslator(src, dst) {
    this.v58_1 = src;
    this.w58_1 = dst;
  }
  protoOf(CompositeContextTranslator).o55 = function () {
    return this.v58_1.o55();
  };
  protoOf(CompositeContextTranslator).n58 = function () {
    return this.w58_1.n58();
  };
  protoOf(CompositeContextTranslator).o58 = function (di, ctx) {
    var tmp0_safe_receiver = this.v58_1.o58(di, ctx);
    var tmp;
    if (tmp0_safe_receiver == null) {
      tmp = null;
    } else {
      // Inline function 'kotlin.let' call
      // Inline function 'kotlin.contracts.contract' call
      // Inline function 'org.kodein.di.bindings.CompositeContextTranslator.translate.<anonymous>' call
      tmp = this.w58_1.o58(di, tmp0_safe_receiver);
    }
    return tmp;
  };
  protoOf(CompositeContextTranslator).toString = function () {
    return '(' + this.v58_1 + ' -> ' + this.w58_1 + ')';
  };
  function factoryName($this, params) {
    // Inline function 'kotlin.text.buildString' call
    // Inline function 'kotlin.contracts.contract' call
    // Inline function 'kotlin.apply' call
    var this_0 = StringBuilder_init_$Create$();
    // Inline function 'kotlin.contracts.contract' call
    // Inline function 'org.kodein.di.bindings.Singleton.factoryName.<anonymous>' call
    this_0.y5('singleton');
    // Inline function 'kotlin.collections.isNotEmpty' call
    if (!params.c1()) {
      this_0.y5(joinToString(params, ', ', '(', ')'));
    }
    return this_0.toString();
  }
  function Singleton$getFactory$lambda$lambda$lambda(this$0, $bindingDi) {
    return function () {
      return this$0.c59_1(new NoArgBindingDIWrap($bindingDi));
    };
  }
  function Singleton$getFactory$lambda$lambda(this$0, $bindingDi) {
    return function () {
      return this$0.d59_1.h58(Singleton$getFactory$lambda$lambda$lambda(this$0, $bindingDi));
    };
  }
  function Singleton$getFactory$lambda($lateInitRegistry, this$0, $bindingDi) {
    return function (_anonymous_parameter_0__qggqh8) {
      var tmp0_elvis_lhs = $lateInitRegistry._v;
      var tmp;
      if (tmp0_elvis_lhs == null) {
        // Inline function 'kotlin.also' call
        var this_0 = this$0.x58_1.u58($bindingDi.od());
        // Inline function 'kotlin.contracts.contract' call
        // Inline function 'org.kodein.di.bindings.Singleton.getFactory.<anonymous>.<anonymous>' call
        $lateInitRegistry._v = this_0;
        tmp = this_0;
      } else {
        tmp = tmp0_elvis_lhs;
      }
      var registry = tmp;
      var tmp_0 = registry.k58(this$0.e59_1, this$0.b59_1, Singleton$getFactory$lambda$lambda(this$0, $bindingDi));
      return !(tmp_0 == null) ? tmp_0 : THROW_CCE();
    };
  }
  function Singleton$copier$lambda(this$0) {
    return function (it) {
      return new Singleton(this$0.x58_1, this$0.y58_1, this$0.z58_1, this$0.a59_1, this$0.d59_1, this$0.b59_1, this$0.c59_1);
    };
  }
  function Singleton(scope, contextType, explicitContext, createdType, refMaker, sync, creator) {
    refMaker = refMaker === VOID ? null : refMaker;
    sync = sync === VOID ? true : sync;
    this.x58_1 = scope;
    this.y58_1 = contextType;
    this.z58_1 = explicitContext;
    this.a59_1 = createdType;
    this.b59_1 = sync;
    this.c59_1 = creator;
    var tmp = this;
    tmp.d59_1 = refMaker == null ? SingletonReference_instance : refMaker;
    this.e59_1 = new ScopeKey(new Object(), Unit_instance);
    var tmp_0 = this;
    var tmp_1 = Companion_instance_1;
    tmp_0.f59_1 = tmp_1.a58(Singleton$copier$lambda(this));
  }
  protoOf(Singleton).p55 = function () {
    return this.x58_1;
  };
  protoOf(Singleton).o55 = function () {
    return this.y58_1;
  };
  protoOf(Singleton).e58 = function () {
    return this.a59_1;
  };
  protoOf(Singleton).b58 = function () {
    var params = ArrayList_init_$Create$_0(2);
    if (!equals(this.d59_1, SingletonReference_instance)) {
      params.i1('ref = ' + erasedOf(this.d59_1).f54());
    }
    return factoryName(this, params);
  };
  protoOf(Singleton).c58 = function () {
    var params = ArrayList_init_$Create$_0(2);
    if (!equals(this.d59_1, SingletonReference_instance)) {
      params.i1('ref = ' + erasedOf(this.d59_1).h54());
    }
    return factoryName(this, params);
  };
  protoOf(Singleton).g59 = function (key, di) {
    var lateInitRegistry = {_v: null};
    var bindingDi = this.z58_1 ? di : di.h59();
    return Singleton$getFactory$lambda(lateInitRegistry, this, bindingDi);
  };
  protoOf(Singleton).g58 = function (key, di) {
    return this.g59(key, di);
  };
  protoOf(Singleton).l55 = function () {
    return this.f59_1;
  };
  function Provider$getFactory$lambda(this$0, $di) {
    return function (_anonymous_parameter_0__qggqh8) {
      return this$0.k59_1(new NoArgBindingDIWrap($di));
    };
  }
  function Provider(contextType, createdType, creator) {
    this.i59_1 = contextType;
    this.j59_1 = createdType;
    this.k59_1 = creator;
  }
  protoOf(Provider).o55 = function () {
    return this.i59_1;
  };
  protoOf(Provider).e58 = function () {
    return this.j59_1;
  };
  protoOf(Provider).b58 = function () {
    return 'provider';
  };
  protoOf(Provider).g59 = function (key, di) {
    return Provider$getFactory$lambda(this, di);
  };
  protoOf(Provider).g58 = function (key, di) {
    return this.g59(key, di);
  };
  function ScopeKey(scopeId, arg) {
    this.l59_1 = scopeId;
    this.m59_1 = arg;
  }
  protoOf(ScopeKey).toString = function () {
    return 'ScopeKey(scopeId=' + toString_0(this.l59_1) + ', arg=' + this.m59_1 + ')';
  };
  protoOf(ScopeKey).hashCode = function () {
    var result = hashCode(this.l59_1);
    result = imul(result, 31) + (this.m59_1 == null ? 0 : hashCode(this.m59_1)) | 0;
    return result;
  };
  protoOf(ScopeKey).equals = function (other) {
    if (this === other)
      return true;
    if (!(other instanceof ScopeKey))
      return false;
    var tmp0_other_with_cast = other instanceof ScopeKey ? other : THROW_CCE();
    if (!equals(this.l59_1, tmp0_other_with_cast.l59_1))
      return false;
    if (!equals(this.m59_1, tmp0_other_with_cast.m59_1))
      return false;
    return true;
  };
  function InstanceBinding$getFactory$lambda(this$0) {
    return function (_anonymous_parameter_0__qggqh8) {
      return this$0.o59_1;
    };
  }
  function InstanceBinding(createdType, instance) {
    this.n59_1 = createdType;
    this.o59_1 = instance;
    this.p59_1 = Companion_getInstance().e54_1;
  }
  protoOf(InstanceBinding).e58 = function () {
    return this.n59_1;
  };
  protoOf(InstanceBinding).b58 = function () {
    return 'instance';
  };
  protoOf(InstanceBinding).o55 = function () {
    return this.p59_1;
  };
  protoOf(InstanceBinding).q59 = function (key, di) {
    return InstanceBinding$getFactory$lambda(this);
  };
  protoOf(InstanceBinding).g58 = function (key, di) {
    return this.q59(key, di);
  };
  protoOf(InstanceBinding).g55 = function () {
    return this.b58() + ' ( ' + this.n59_1.f54() + ' )';
  };
  protoOf(InstanceBinding).i55 = function () {
    return this.c58() + ' ( ' + this.n59_1.h54() + ' )';
  };
  function DIMainBuilderImpl(allowSilentOverride) {
    DIBuilderImpl.call(this, null, '', HashSet_init_$Create$(), new DIContainerBuilderImpl(true, allowSilentOverride, HashMap_init_$Create$(), ArrayList_init_$Create$(), ArrayList_init_$Create$()));
    this.w59_1 = ArrayList_init_$Create$();
    this.x59_1 = Companion_instance.j56_1;
    this.y59_1 = Companion_instance.k56_1;
  }
  protoOf(DIMainBuilderImpl).j57 = function () {
    return this.w59_1;
  };
  protoOf(DIMainBuilderImpl).z59 = function () {
    return this.x59_1;
  };
  protoOf(DIMainBuilderImpl).a5a = function () {
    return this.y59_1;
  };
  protoOf(DIMainBuilderImpl).h56 = function (di, allowOverride, copy) {
    var keys = copy.j55(di.o56().b57());
    this.z55().k5a(di.o56(), allowOverride, keys);
    // Inline function 'kotlin.collections.plusAssign' call
    var this_0 = this.j57();
    var elements = di.o56().b57().j57();
    addAll(this_0, elements);
    // Inline function 'kotlin.collections.flatMap' call
    // Inline function 'kotlin.collections.flatMapTo' call
    var this_1 = this.z55().g5a_1;
    var destination = ArrayList_init_$Create$();
    // Inline function 'kotlin.collections.iterator' call
    var tmp0_iterator = this_1.q2().w();
    while (tmp0_iterator.f()) {
      var element = tmp0_iterator.e();
      // Inline function 'org.kodein.di.internal.DIMainBuilderImpl.extend.<anonymous>' call
      // Inline function 'kotlin.collections.map' call
      var this_2 = element.t2();
      // Inline function 'kotlin.collections.mapTo' call
      var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_2, 10));
      var tmp0_iterator_0 = this_2.w();
      while (tmp0_iterator_0.f()) {
        var item = tmp0_iterator_0.e();
        // Inline function 'org.kodein.di.internal.DIMainBuilderImpl.extend.<anonymous>.<anonymous>' call
        var tmp$ret$1 = item.z54_1;
        destination_0.i1(tmp$ret$1);
      }
      var list = destination_0;
      addAll(destination, list);
    }
    this.d5a_1.m1(filterNotNull(destination));
  };
  function TypeBinder($outer, type, tag, overrides) {
    this.o5a_1 = $outer;
    this.l5a_1 = type;
    this.m5a_1 = tag;
    this.n5a_1 = overrides;
  }
  protoOf(TypeBinder).z55 = function () {
    return this.o5a_1.z55();
  };
  protoOf(TypeBinder).p5a = function (binding) {
    return this.z55().q5a(new Key(binding.o55(), binding.d58(), this.l5a_1, this.m5a_1), binding, this.o5a_1.b5a_1, this.n5a_1);
  };
  function ConstantBinder($outer, _tag, _overrides) {
    this.t5a_1 = $outer;
    this.r5a_1 = _tag;
    this.s5a_1 = _overrides;
  }
  protoOf(ConstantBinder).u5a = function (valueType, value) {
    return this.t5a_1.a56(this.r5a_1, this.s5a_1, new InstanceBinding(valueType, value));
  };
  function DIBuilderImpl(moduleName, prefix, importedModules, containerBuilder) {
    this.b5a_1 = moduleName;
    this.c5a_1 = prefix;
    this.d5a_1 = importedModules;
    this.e5a_1 = containerBuilder;
    this.f5a_1 = Companion_getInstance().e54_1;
  }
  protoOf(DIBuilderImpl).z55 = function () {
    return this.e5a_1;
  };
  protoOf(DIBuilderImpl).o55 = function () {
    return this.f5a_1;
  };
  protoOf(DIBuilderImpl).p55 = function () {
    return new NoScope();
  };
  protoOf(DIBuilderImpl).q55 = function () {
    return false;
  };
  protoOf(DIBuilderImpl).b56 = function (type, tag, overrides) {
    return new TypeBinder(this, type, tag, overrides);
  };
  protoOf(DIBuilderImpl).a56 = function (tag, overrides, binding) {
    this.z55().q5a(new Key(binding.o55(), binding.d58(), binding.e58(), tag), binding, this.b5a_1, overrides);
  };
  protoOf(DIBuilderImpl).c56 = function (tag, overrides) {
    return new ConstantBinder(this, tag, overrides);
  };
  protoOf(DIBuilderImpl).e56 = function (module_0, allowOverride) {
    var moduleName = this.c5a_1 + module_0.dc();
    var tmp;
    // Inline function 'kotlin.text.isNotEmpty' call
    if (charSequenceLength(moduleName) > 0) {
      tmp = this.d5a_1.a1(moduleName);
    } else {
      tmp = false;
    }
    if (tmp) {
      throw IllegalStateException_init_$Create$('Module "' + moduleName + '" has already been imported!');
    }
    // Inline function 'kotlin.collections.plusAssign' call
    this.d5a_1.i1(moduleName);
    // Inline function 'kotlin.apply' call
    var this_0 = new DIBuilderImpl(moduleName, this.c5a_1 + module_0.s55_1, this.d5a_1, this.z55().v5a(allowOverride, module_0.r55_1));
    // Inline function 'kotlin.contracts.contract' call
    module_0.t55_1(this_0);
  };
  protoOf(DIBuilderImpl).g56 = function (translator) {
    return this.z55().w5a(translator);
  };
  function DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT() {
    OverrideMode.call(this, 'ALLOW_SILENT', 0);
    OverrideMode_ALLOW_SILENT_instance = this;
  }
  protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT).z5a = function () {
    return true;
  };
  protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT).a5b = function (overrides) {
    return overrides;
  };
  var OverrideMode_ALLOW_SILENT_instance;
  function DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT() {
    OverrideMode.call(this, 'ALLOW_EXPLICIT', 1);
    OverrideMode_ALLOW_EXPLICIT_instance = this;
  }
  protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT).z5a = function () {
    return true;
  };
  protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT).a5b = function (overrides) {
    return overrides == null ? false : overrides;
  };
  var OverrideMode_ALLOW_EXPLICIT_instance;
  function DIContainerBuilderImpl$OverrideMode$FORBID() {
    OverrideMode.call(this, 'FORBID', 2);
    OverrideMode_FORBID_instance = this;
  }
  protoOf(DIContainerBuilderImpl$OverrideMode$FORBID).z5a = function () {
    return false;
  };
  protoOf(DIContainerBuilderImpl$OverrideMode$FORBID).a5b = function (overrides) {
    var tmp;
    if (!(overrides == null) ? overrides : false) {
      throw new OverridingException('Overriding has been forbidden');
    } else {
      tmp = false;
    }
    return tmp;
  };
  var OverrideMode_FORBID_instance;
  function Companion_2() {
  }
  protoOf(Companion_2).f5b = function (allow, silent) {
    if (!allow)
      return OverrideMode_FORBID_getInstance();
    if (silent)
      return OverrideMode_ALLOW_SILENT_getInstance();
    return OverrideMode_ALLOW_EXPLICIT_getInstance();
  };
  var Companion_instance_2;
  function Companion_getInstance_3() {
    return Companion_instance_2;
  }
  var OverrideMode_entriesInitialized;
  function OverrideMode_initEntries() {
    if (OverrideMode_entriesInitialized)
      return Unit_instance;
    OverrideMode_entriesInitialized = true;
    OverrideMode_ALLOW_SILENT_instance = new DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT();
    OverrideMode_ALLOW_EXPLICIT_instance = new DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT();
    OverrideMode_FORBID_instance = new DIContainerBuilderImpl$OverrideMode$FORBID();
  }
  function OverrideMode(name, ordinal) {
    Enum.call(this, name, ordinal);
  }
  function checkOverrides($this, key, overrides) {
    var mustOverride = $this.j5a_1.a5b(overrides);
    if (!(mustOverride == null)) {
      var tmp;
      if (mustOverride) {
        // Inline function 'kotlin.collections.contains' call
        // Inline function 'kotlin.collections.containsKey' call
        var this_0 = $this.g5a_1;
        tmp = !(isInterface(this_0, Map) ? this_0 : THROW_CCE()).r(key);
      } else {
        tmp = false;
      }
      if (tmp)
        throw new OverridingException('Binding ' + key + ' must override an existing binding.');
      var tmp_0;
      if (!mustOverride) {
        // Inline function 'kotlin.collections.contains' call
        // Inline function 'kotlin.collections.containsKey' call
        var this_1 = $this.g5a_1;
        tmp_0 = (isInterface(this_1, Map) ? this_1 : THROW_CCE()).r(key);
      } else {
        tmp_0 = false;
      }
      if (tmp_0)
        throw new OverridingException('Binding ' + key + ' must not override an existing binding.');
    }
  }
  function checkMatch($this, allowOverride) {
    if (!$this.j5a_1.z5a() ? allowOverride : false)
      throw new OverridingException('Overriding has been forbidden');
  }
  function OverrideMode_ALLOW_SILENT_getInstance() {
    OverrideMode_initEntries();
    return OverrideMode_ALLOW_SILENT_instance;
  }
  function OverrideMode_ALLOW_EXPLICIT_getInstance() {
    OverrideMode_initEntries();
    return OverrideMode_ALLOW_EXPLICIT_instance;
  }
  function OverrideMode_FORBID_getInstance() {
    OverrideMode_initEntries();
    return OverrideMode_FORBID_instance;
  }
  function DIContainerBuilderImpl(allowOverride, silentOverride, bindingsMap, callbacks, translators) {
    this.g5a_1 = bindingsMap;
    this.h5a_1 = callbacks;
    this.i5a_1 = translators;
    this.j5a_1 = Companion_instance_2.f5b(allowOverride, silentOverride);
  }
  protoOf(DIContainerBuilderImpl).q5a = function (key, binding, fromModule, overrides) {
    checkOverrides(this, key, overrides);
    // Inline function 'kotlin.collections.getOrPut' call
    var this_0 = this.g5a_1;
    var value = this_0.q(key);
    var tmp;
    if (value == null) {
      // Inline function 'org.kodein.di.internal.DIContainerBuilderImpl.bind.<anonymous>' call
      var answer = newLinkedList();
      this_0.s(key, answer);
      tmp = answer;
    } else {
      tmp = value;
    }
    var bindings = tmp;
    bindings.c2(0, new DIDefining(isInterface(binding, DIBinding) ? binding : THROW_CCE(), fromModule));
  };
  protoOf(DIContainerBuilderImpl).k5a = function (container, allowOverride, copy) {
    checkMatch(this, allowOverride);
    // Inline function 'kotlin.collections.forEach' call
    // Inline function 'kotlin.collections.iterator' call
    var tmp0_iterator = container.b57().k55().q2().w();
    while (tmp0_iterator.f()) {
      var element = tmp0_iterator.e();
      // Inline function 'org.kodein.di.internal.DIContainerBuilderImpl.extend.<anonymous>' call
      // Inline function 'kotlin.collections.component1' call
      var key = element.s2();
      // Inline function 'kotlin.collections.component2' call
      var bindings = element.t2();
      if (!allowOverride) {
        checkOverrides(this, key, null);
      }
      var tmp;
      if (copy.a1(key)) {
        // Inline function 'kotlin.also' call
        var this_0 = newLinkedList();
        // Inline function 'kotlin.contracts.contract' call
        // Inline function 'org.kodein.di.internal.DIContainerBuilderImpl.extend.<anonymous>.<anonymous>' call
        // Inline function 'kotlin.collections.mapTo' call
        var tmp0_iterator_0 = bindings.w();
        while (tmp0_iterator_0.f()) {
          var item = tmp0_iterator_0.e();
          // Inline function 'org.kodein.di.internal.DIContainerBuilderImpl.extend.<anonymous>.<anonymous>.<anonymous>' call
          var tmp0_safe_receiver = item.y54_1.l55();
          var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.z57(this);
          var tmp$ret$3 = new DIDefining(tmp1_elvis_lhs == null ? item.y54_1 : tmp1_elvis_lhs, item.z54_1);
          this_0.i1(tmp$ret$3);
        }
        tmp = this_0;
      } else {
        tmp = newLinkedList_0(bindings);
      }
      var newBindings = tmp;
      // Inline function 'kotlin.collections.set' call
      this.g5a_1.s(key, newBindings);
    }
    // Inline function 'kotlin.collections.plusAssign' call
    var this_1 = this.i5a_1;
    var elements = container.b57().i57();
    addAll(this_1, elements);
  };
  protoOf(DIContainerBuilderImpl).v5a = function (allowOverride, silentOverride) {
    checkMatch(this, allowOverride);
    return new DIContainerBuilderImpl(allowOverride, silentOverride, this.g5a_1, this.h5a_1, this.i5a_1);
  };
  protoOf(DIContainerBuilderImpl).w5a = function (translator) {
    // Inline function 'kotlin.collections.plusAssign' call
    this.i5a_1.i1(translator);
  };
  function displayString($this, key, overrideLevel) {
    var descProp = $this.l5b_1 ? bindFullDescription$factory_0(key) : bindDescription$factory_0(key);
    return !(overrideLevel === 0) ? 'overridden ' + descProp.get() : descProp.get();
  }
  function recursiveLoop($this, node, firstKey, firstOverrideLevel, tail) {
    var $this_0 = $this;
    var node_0 = node;
    var firstKey_0 = firstKey;
    var firstOverrideLevel_0 = firstOverrideLevel;
    var tail_0 = tail;
    $l$1: do {
      $l$0: do {
        var tmp;
        if (node_0.k5b_1 == null ? true : firstKey_0.equals(node_0.i5b_1) ? firstOverrideLevel_0 === node_0.j5b_1 : false) {
          tmp = plus(listOf(displayString($this_0, node_0.i5b_1, node_0.j5b_1)), tail_0);
        } else {
          var tmp0 = $this_0;
          var tmp4 = plus(listOf(displayString($this_0, node_0.i5b_1, node_0.j5b_1)), tail_0);
          $this_0 = tmp0;
          node_0 = node_0.k5b_1;
          firstKey_0 = firstKey_0;
          firstOverrideLevel_0 = firstOverrideLevel_0;
          tail_0 = tmp4;
          continue $l$0;
        }
        return tmp;
      }
       while (false);
    }
     while (true);
  }
  function recursiveCheck($this, node, searchedKey, searchedOverrideLevel) {
    var $this_0 = $this;
    var node_0 = node;
    var searchedKey_0 = searchedKey;
    var searchedOverrideLevel_0 = searchedOverrideLevel;
    $l$1: do {
      $l$0: do {
        var tmp;
        if (node_0.i5b_1.equals(searchedKey_0) ? node_0.j5b_1 === searchedOverrideLevel_0 : false) {
          tmp = false;
        } else if (node_0.k5b_1 == null) {
          tmp = true;
        } else {
          $this_0 = $this_0;
          node_0 = node_0.k5b_1;
          searchedKey_0 = searchedKey_0;
          searchedOverrideLevel_0 = searchedOverrideLevel_0;
          continue $l$0;
        }
        return tmp;
      }
       while (false);
    }
     while (true);
  }
  function DIContainerImpl_init_$Init$(builder, externalSources, fullDescriptionOnError, fullContainerTreeOnError, runCallbacks, $this) {
    DIContainerImpl.call($this, new DITreeImpl(builder.g5a_1, externalSources, builder.i5a_1), null, fullDescriptionOnError, fullContainerTreeOnError);
    var init = DIContainerImpl$_init_$lambda_r6ib3j($this, builder);
    if (runCallbacks)
      init();
    else {
      var lock = new Object();
      var tmp = $this;
      tmp.q5b_1 = DIContainerImpl$_init_$lambda_r6ib3j_0(lock, $this, init);
    }
    return $this;
  }
  function DIContainerImpl_init_$Create$(builder, externalSources, fullDescriptionOnError, fullContainerTreeOnError, runCallbacks) {
    return DIContainerImpl_init_$Init$(builder, externalSources, fullDescriptionOnError, fullContainerTreeOnError, runCallbacks, objectCreate(protoOf(DIContainerImpl)));
  }
  function Node(key, overrideLevel, parent, fullDescriptionOnError) {
    this.i5b_1 = key;
    this.j5b_1 = overrideLevel;
    this.k5b_1 = parent;
    this.l5b_1 = fullDescriptionOnError;
  }
  protoOf(Node).r5b = function (searchedKey, searchedOverrideLevel) {
    if (!recursiveCheck(this, this, searchedKey, searchedOverrideLevel)) {
      var list = plus_0(recursiveLoop(this, this, searchedKey, searchedOverrideLevel, emptyList()), displayString(this, searchedKey, this.j5b_1));
      var sb = StringBuilder_init_$Create$();
      // Inline function 'kotlin.collections.forEachIndexed' call
      var index = 0;
      var tmp0_iterator = list.w();
      while (tmp0_iterator.f()) {
        var item = tmp0_iterator.e();
        // Inline function 'org.kodein.di.internal.Node.check.<anonymous>' call
        var tmp1 = index;
        index = tmp1 + 1 | 0;
        var index_0 = checkIndexOverflow(tmp1);
        sb.y5('  ');
        switch (index_0) {
          case 0:
            sb.y5('   ');
            break;
          case 1:
            sb.y5('  \u2554\u2569>');
            break;
          default:
            sb.y5('  \u2551');
            sb.y5(repeat('  ', index_0 - 1 | 0));
            sb.y5('\u255A>');
            break;
        }
        sb.y5(item);
        sb.y5('\n');
      }
      sb.y5('    \u255A');
      sb.y5(repeat('\u2550\u2550', list.u() - 1 | 0));
      sb.y5('\u255D');
      throw new DependencyLoopException('Dependency recursion:\n' + sb);
    }
  };
  function bindingDI($this, key, context, tree, overrideLevel) {
    var container = new DIContainerImpl(tree, new Node(key, overrideLevel, $this.n5b_1, $this.o5b_1), $this.o5b_1, $this.p5b_1);
    return new BindingDIImpl(new DirectDIImpl(container, context), key, overrideLevel);
  }
  function DIContainerImpl$_init_$lambda_r6ib3j(this$0, $builder) {
    return function () {
      var direct = new DirectDIImpl(this$0, get_AnyDIContext());
      var tmp0_iterator = $builder.h5a_1.w();
      while (tmp0_iterator.f()) {
        var element = tmp0_iterator.e();
        // Inline function 'org.kodein.di.internal.DIContainerImpl.<init>.<anonymous>.<anonymous>' call
        element(direct);
      }
      return Unit_instance;
    };
  }
  function DIContainerImpl$_init_$lambda_r6ib3j_0($lock, this$0, $init) {
    return function () {
      $l$block_1: {
        // Inline function 'org.kodein.di.internal.synchronizedIfNotNull' call
        if (this$0.q5b_1 == null) {
          // Inline function 'org.kodein.di.internal.DIContainerImpl.<init>.<anonymous>.<anonymous>' call
          break $l$block_1;
        }
        // Inline function 'org.kodein.di.internal.maySynchronized' call
        $l$block_0: {
          // Inline function 'org.kodein.di.internal.synchronizedIfNotNull.<anonymous>' call
          var tmp0_elvis_lhs = this$0.q5b_1;
          var tmp;
          if (tmp0_elvis_lhs == null) {
            break $l$block_0;
          } else {
            tmp = tmp0_elvis_lhs;
          }
          var value = tmp;
          this$0.q5b_1 = null;
          $init();
          break $l$block_1;
        }
        // Inline function 'org.kodein.di.internal.DIContainerImpl.<init>.<anonymous>.<anonymous>' call
      }
      return Unit_instance;
    };
  }
  function DIContainerImpl$factory$lambda($this$null, it) {
    return fullDescription($this$null, it);
  }
  function DIContainerImpl$factory$lambda_0($this$null, it) {
    return description($this$null, it);
  }
  function DIContainerImpl(tree, node, fullDescriptionOnError, fullContainerTreeOnError) {
    this.m5b_1 = tree;
    this.n5b_1 = node;
    this.o5b_1 = fullDescriptionOnError;
    this.p5b_1 = fullContainerTreeOnError;
    this.q5b_1 = null;
  }
  protoOf(DIContainerImpl).b57 = function () {
    return this.m5b_1;
  };
  protoOf(DIContainerImpl).e57 = function (key, context, overrideLevel) {
    // Inline function 'kotlin.let' call
    // Inline function 'kotlin.contracts.contract' call
    var it = this.m5b_1.l57(key, 0);
    var tmp;
    if (it.u() === 1) {
      var tmp0_container = it.v(0);
      var definition = tmp0_container.z6();
      var translator = tmp0_container.dn();
      var tmp1_safe_receiver = this.n5b_1;
      if (tmp1_safe_receiver == null)
        null;
      else {
        tmp1_safe_receiver.r5b(key, 0);
      }
      var tmp_0 = Companion_instance_0.u56(key.a55_1, context);
      var originalContext = isInterface(tmp_0, DIContext) ? tmp_0 : THROW_CCE();
      var tmp3_elvis_lhs = translator == null ? null : toKContext(translator, new DirectDIImpl(this, originalContext), context);
      var kContext = tmp3_elvis_lhs == null ? originalContext : tmp3_elvis_lhs;
      if (!(key instanceof Key))
        THROW_CCE();
      var bindingDI_0 = bindingDI(this, key, kContext, definition.x54_1, overrideLevel);
      return definition.y54_1.g58(key, bindingDI_0);
    }
    var bindingDI_1 = bindingDI(this, key, Companion_instance_0.u56(key.a55_1, context), this.m5b_1, overrideLevel);
    // Inline function 'kotlin.collections.forEach' call
    var tmp0_iterator = this.m5b_1.j57().w();
    while (tmp0_iterator.f()) {
      var element = tmp0_iterator.e();
      // Inline function 'org.kodein.di.internal.DIContainerImpl.factoryOrNull.<anonymous>' call
      var tmp0_safe_receiver = element.s5b(bindingDI_1, key);
      if (tmp0_safe_receiver == null)
        null;
      else {
        // Inline function 'kotlin.let' call
        // Inline function 'kotlin.contracts.contract' call
        var tmp0_safe_receiver_0 = this.n5b_1;
        if (tmp0_safe_receiver_0 == null)
          null;
        else {
          tmp0_safe_receiver_0.r5b(key, 0);
        }
        return (!(tmp0_safe_receiver == null) ? typeof tmp0_safe_receiver === 'function' : false) ? tmp0_safe_receiver : THROW_CCE();
      }
    }
    return null;
  };
  protoOf(DIContainerImpl).c57 = function (key, context, overrideLevel) {
    var result = this.m5b_1.l57(key, overrideLevel);
    if (result.u() === 1) {
      var tmp0_container = result.v(0);
      var definition = tmp0_container.z6();
      var translator = tmp0_container.dn();
      var tmp1_safe_receiver = this.n5b_1;
      if (tmp1_safe_receiver == null)
        null;
      else {
        tmp1_safe_receiver.r5b(key, overrideLevel);
      }
      var tmp = Companion_instance_0.u56(key.a55_1, context);
      var originalContext = isInterface(tmp, DIContext) ? tmp : THROW_CCE();
      var tmp3_elvis_lhs = translator == null ? null : toKContext(translator, new DirectDIImpl(this, originalContext), context);
      var kContext = tmp3_elvis_lhs == null ? originalContext : tmp3_elvis_lhs;
      if (!(key instanceof Key))
        THROW_CCE();
      var bindingDI_0 = bindingDI(this, key, kContext, definition.x54_1, overrideLevel);
      return definition.y54_1.g58(key, bindingDI_0);
    }
    var bindingDI_1 = bindingDI(this, key, Companion_instance_0.u56(key.a55_1, context), this.m5b_1, overrideLevel);
    // Inline function 'kotlin.collections.forEach' call
    var tmp0_iterator = this.m5b_1.j57().w();
    while (tmp0_iterator.f()) {
      var element = tmp0_iterator.e();
      // Inline function 'org.kodein.di.internal.DIContainerImpl.factory.<anonymous>' call
      var tmp0_safe_receiver = element.s5b(bindingDI_1, key);
      if (tmp0_safe_receiver == null)
        null;
      else {
        // Inline function 'kotlin.let' call
        // Inline function 'kotlin.contracts.contract' call
        var tmp0_safe_receiver_0 = this.n5b_1;
        if (tmp0_safe_receiver_0 == null)
          null;
        else {
          tmp0_safe_receiver_0.r5b(key, overrideLevel);
        }
        return (!(tmp0_safe_receiver == null) ? typeof tmp0_safe_receiver === 'function' : false) ? tmp0_safe_receiver : THROW_CCE();
      }
    }
    var withOverrides = !(overrideLevel === 0);
    var descProp = this.o5b_1 ? fullDescription$factory_0(key) : description$factory_0(key);
    var tmp_0;
    if (this.o5b_1) {
      tmp_0 = DIContainerImpl$factory$lambda;
    } else {
      tmp_0 = DIContainerImpl$factory$lambda_0;
    }
    var descFun = tmp_0;
    if (result.c1()) {
      // Inline function 'kotlin.text.buildString' call
      // Inline function 'kotlin.contracts.contract' call
      // Inline function 'kotlin.apply' call
      var this_0 = StringBuilder_init_$Create$();
      // Inline function 'kotlin.contracts.contract' call
      // Inline function 'org.kodein.di.internal.DIContainerImpl.factory.<anonymous>' call
      this_0.y5('No binding found for ' + descProp.get());
      if (this.p5b_1) {
        // Inline function 'kotlin.text.appendLine' call
        this_0.z5(_Char___init__impl__6a9atx(10));
        var forType = this.m5b_1.m57(new SearchSpecs(VOID, VOID, key.c55_1));
        // Inline function 'kotlin.collections.isNotEmpty' call
        if (!forType.c1()) {
          // Inline function 'kotlin.collections.associate' call
          var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(forType, 10)), 16);
          // Inline function 'kotlin.collections.associateTo' call
          var destination = LinkedHashMap_init_$Create$_0(capacity);
          var tmp0_iterator_0 = forType.w();
          while (tmp0_iterator_0.f()) {
            var element_0 = tmp0_iterator_0.e();
            // Inline function 'kotlin.collections.plusAssign' call
            // Inline function 'org.kodein.di.internal.DIContainerImpl.factory.<anonymous>.<anonymous>' call
            var pair = to(element_0.an_1, element_0.bn_1);
            destination.s(pair.w6_1, pair.x6_1);
          }
          this_0.y5('Available bindings for this type:\n' + descFun(destination, withOverrides));
        }
        this_0.y5('Registered in this DI container:\n' + descFun(this.m5b_1.k55(), withOverrides));
      }
      var description = this_0.toString();
      throw new NotFoundException(key, description);
    }
    // Inline function 'kotlin.collections.associate' call
    var capacity_0 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(result, 10)), 16);
    // Inline function 'kotlin.collections.associateTo' call
    var destination_0 = LinkedHashMap_init_$Create$_0(capacity_0);
    var tmp0_iterator_1 = result.w();
    while (tmp0_iterator_1.f()) {
      var element_1 = tmp0_iterator_1.e();
      // Inline function 'kotlin.collections.plusAssign' call
      // Inline function 'org.kodein.di.internal.DIContainerImpl.factory.<anonymous>' call
      var pair_0 = to(element_1.an_1, ensureNotNull(this.m5b_1.n57(element_1.an_1)).bn_1);
      destination_0.s(pair_0.w6_1, pair_0.x6_1);
    }
    var potentials = destination_0;
    // Inline function 'kotlin.collections.filter' call
    // Inline function 'kotlin.collections.filterTo' call
    var this_1 = this.m5b_1.k55();
    var destination_1 = LinkedHashMap_init_$Create$();
    // Inline function 'kotlin.collections.iterator' call
    var tmp0_iterator_2 = this_1.q2().w();
    while (tmp0_iterator_2.f()) {
      var element_2 = tmp0_iterator_2.e();
      // Inline function 'org.kodein.di.internal.DIContainerImpl.factory.<anonymous>' call
      // Inline function 'kotlin.collections.component1' call
      var key_0 = element_2.s2();
      if (!potentials.o2().a1(key_0)) {
        destination_1.s(element_2.s2(), element_2.t2());
      }
    }
    var others = destination_1;
    throw new NotFoundException(key, '' + potentials.u() + ' bindings found that match ' + key + ':\n' + descFun(potentials, withOverrides) + 'Other bindings registered in DI:\n' + descFun(others, withOverrides));
  };
  function bindFullDescription$factory_0($b0) {
    return getPropertyCallableRef('bindFullDescription', 0, KProperty0, function () {
      return $b0.h55();
    }, null);
  }
  function bindDescription$factory_0($b0) {
    return getPropertyCallableRef('bindDescription', 0, KProperty0, function () {
      return $b0.f55();
    }, null);
  }
  function fullDescription$factory_0($b0) {
    return getPropertyCallableRef('fullDescription', 0, KProperty0, function () {
      return $b0.i55();
    }, null);
  }
  function description$factory_0($b0) {
    return getPropertyCallableRef('description', 0, KProperty0, function () {
      return $b0.g55();
    }, null);
  }
  function newBuilder($this, allowSilentOverride, init) {
    // Inline function 'kotlin.apply' call
    var this_0 = new DIMainBuilderImpl(allowSilentOverride);
    // Inline function 'kotlin.contracts.contract' call
    init(this_0);
    return this_0;
  }
  function DIImpl_init_$Init$(builder, runCallbacks, $this) {
    DIImpl.call($this, DIContainerImpl_init_$Create$(builder.z55(), builder.j57(), builder.z59(), builder.a5a(), runCallbacks));
    return $this;
  }
  function DIImpl_init_$Init$_0(allowSilentOverride, init, $this) {
    allowSilentOverride = allowSilentOverride === VOID ? false : allowSilentOverride;
    DIImpl_init_$Init$(newBuilder(Companion_instance_3, allowSilentOverride, init), true, $this);
    return $this;
  }
  function DIImpl_init_$Create$(allowSilentOverride, init) {
    return DIImpl_init_$Init$_0(allowSilentOverride, init, objectCreate(protoOf(DIImpl)));
  }
  function Companion_3() {
  }
  var Companion_instance_3;
  function Companion_getInstance_4() {
    return Companion_instance_3;
  }
  function DIImpl$container$delegate$lambda(this$0) {
    return function () {
      var tmp;
      if (!(this$0.t5b_1.q5b_1 == null)) {
        throw IllegalStateException_init_$Create$('DI has not been initialized');
      }
      return this$0.t5b_1;
    };
  }
  function DIImpl(_container) {
    this.t5b_1 = _container;
    var tmp = this;
    tmp.u5b_1 = lazy(DIImpl$container$delegate$lambda(this));
  }
  protoOf(DIImpl).o56 = function () {
    // Inline function 'kotlin.getValue' call
    var this_0 = this.u5b_1;
    container$factory();
    return this_0.t2();
  };
  function BindingDIImpl(directDI, key, overrideLevel) {
    this.v5b_1 = directDI;
    this.w5b_1 = key;
    this.x5b_1 = overrideLevel;
  }
  protoOf(BindingDIImpl).s57 = function () {
    return this.v5b_1;
  };
  protoOf(BindingDIImpl).n56 = function () {
    return this.v5b_1.n56();
  };
  protoOf(BindingDIImpl).o57 = function () {
    return this.v5b_1.o57();
  };
  protoOf(BindingDIImpl).q57 = function (type, tag) {
    return this.v5b_1.q57(type, tag);
  };
  protoOf(BindingDIImpl).r57 = function (type, tag) {
    return this.v5b_1.r57(type, tag);
  };
  protoOf(BindingDIImpl).p57 = function (context) {
    return this.v5b_1.p57(context);
  };
  protoOf(BindingDIImpl).od = function () {
    var tmp = this.s57().n56().p56().t2();
    return !(tmp == null) ? tmp : THROW_CCE();
  };
  protoOf(BindingDIImpl).h59 = function () {
    return new BindingDIImpl(this.s57().p57(ErasedContext_instance), this.w5b_1, this.x5b_1);
  };
  function container$factory() {
    return getPropertyCallableRef('container', 1, KProperty1, function (receiver) {
      return receiver.o56();
    }, null);
  }
  function findBySpecs($this, specs) {
    var bindSeq = asSequence($this.b5c_1);
    var specsBindType = specs.v57_1;
    if (!(specsBindType == null) ? !equals(specsBindType, Companion_getInstance().e54_1) : false) {
      var tmp = bindSeq;
      bindSeq = filter(tmp, DITreeImpl$findBySpecs$lambda(specsBindType));
    }
    var tmp_0 = bindSeq;
    var contextSeq = flatMap(tmp_0, DITreeImpl$findBySpecs$lambda_0);
    var specsContextType = specs.t57_1;
    if (!(specsContextType == null)) {
      var tmp_1 = contextSeq;
      contextSeq = mapNotNull(tmp_1, DITreeImpl$findBySpecs$lambda_1(specsContextType, $this));
    }
    var tmp_2 = contextSeq;
    var argSeq = flatMap(tmp_2, DITreeImpl$findBySpecs$lambda_2);
    var specsArgType = specs.u57_1;
    if (!(specsArgType == null)) {
      var tmp_3 = argSeq;
      argSeq = filter(tmp_3, DITreeImpl$findBySpecs$lambda_3(specsArgType));
    }
    var tmp_4 = argSeq;
    var tagSeq = flatMap(tmp_4, DITreeImpl$findBySpecs$lambda_4);
    var specsTag = specs.w57_1;
    if (!equals(specsTag, NoDefinedTag_instance)) {
      var tmp_5 = tagSeq;
      tagSeq = filter(tmp_5, DITreeImpl$findBySpecs$lambda_5(specsTag));
    }
    var tmp_6 = tagSeq;
    var resultSeq = map(tmp_6, DITreeImpl$findBySpecs$lambda_6);
    return toList(resultSeq);
  }
  function notInMap($this, result, request) {
    var tmp = result.w55();
    var tmp_0 = request.w55();
    var tmp_1 = $this.a5c_1.o2();
    return IllegalStateException_init_$Create$('Tree returned key ' + tmp + ' that is not in cache when searching for ' + tmp_0 + '.\nKeys in cache:\n' + joinToString(tmp_1, '\n', VOID, VOID, VOID, VOID, DITreeImpl$notInMap$lambda));
  }
  function DITreeImpl$findBySpecs$lambda($specsBindType) {
    return function (_name_for_destructuring_parameter_0__wldtmu) {
      // Inline function 'kotlin.collections.component1' call
      var bindType = _name_for_destructuring_parameter_0__wldtmu.s2();
      return bindType.e5c($specsBindType);
    };
  }
  function DITreeImpl$findBySpecs$lambda_0(_name_for_destructuring_parameter_0__wldtmu) {
    // Inline function 'kotlin.collections.component2' call
    var contextTree = _name_for_destructuring_parameter_0__wldtmu.t2();
    var tmp = asSequence(contextTree);
    return map(tmp, DITreeImpl$findBySpecs$lambda$lambda);
  }
  function DITreeImpl$findBySpecs$lambda$lambda(it) {
    return new Triple(it.s2(), it.t2(), null);
  }
  function DITreeImpl$findBySpecs$lambda_1($specsContextType, this$0) {
    return function (triple) {
      var contextType = triple.y6();
      var tmp;
      if (contextType.e5c($specsContextType)) {
        tmp = triple;
      } else {
        var tmp$ret$1;
        $l$block: {
          // Inline function 'kotlin.collections.firstOrNull' call
          var tmp0_iterator = this$0.d5c_1.w();
          while (tmp0_iterator.f()) {
            var element = tmp0_iterator.e();
            // Inline function 'org.kodein.di.internal.DITreeImpl.findBySpecs.<anonymous>.<anonymous>' call
            if (element.o55().n54($specsContextType) ? contextType.e5c(element.n58()) : false) {
              tmp$ret$1 = element;
              break $l$block;
            }
          }
          tmp$ret$1 = null;
        }
        var translator = tmp$ret$1;
        tmp = !(translator == null) ? triple.fn(VOID, VOID, translator) : null;
      }
      return tmp;
    };
  }
  function DITreeImpl$findBySpecs$lambda_2(_name_for_destructuring_parameter_0__wldtmu) {
    var argumentTree = _name_for_destructuring_parameter_0__wldtmu.z6();
    var translator = _name_for_destructuring_parameter_0__wldtmu.dn();
    var tmp = asSequence(argumentTree);
    return map(tmp, DITreeImpl$findBySpecs$lambda$lambda_0(translator));
  }
  function DITreeImpl$findBySpecs$lambda$lambda_0($translator) {
    return function (it) {
      return new Triple(it.s2(), it.t2(), $translator);
    };
  }
  function DITreeImpl$findBySpecs$lambda_3($specsArgType) {
    return function (_name_for_destructuring_parameter_0__wldtmu) {
      var argType = _name_for_destructuring_parameter_0__wldtmu.y6();
      return argType.e5c($specsArgType);
    };
  }
  function DITreeImpl$findBySpecs$lambda_4(_name_for_destructuring_parameter_0__wldtmu) {
    var tagTree = _name_for_destructuring_parameter_0__wldtmu.z6();
    var translator = _name_for_destructuring_parameter_0__wldtmu.dn();
    var tmp = asSequence(tagTree);
    return map(tmp, DITreeImpl$findBySpecs$lambda$lambda_1(translator));
  }
  function DITreeImpl$findBySpecs$lambda$lambda_1($translator) {
    return function (it) {
      return new Triple(it.s2(), it.t2(), $translator);
    };
  }
  function DITreeImpl$findBySpecs$lambda_5($specsTag) {
    return function (_name_for_destructuring_parameter_0__wldtmu) {
      var tag = _name_for_destructuring_parameter_0__wldtmu.y6();
      return equals(tag, $specsTag);
    };
  }
  function DITreeImpl$findBySpecs$lambda_6(_name_for_destructuring_parameter_0__wldtmu) {
    var key = _name_for_destructuring_parameter_0__wldtmu.z6();
    var translator = _name_for_destructuring_parameter_0__wldtmu.dn();
    return to(key, translator);
  }
  function DITreeImpl$notInMap$lambda(it) {
    return it.w55();
  }
  function DITreeImpl(map, externalSources, registeredTranslators) {
    this.y5b_1 = externalSources;
    this.z5b_1 = registeredTranslators;
    this.a5c_1 = newConcurrentMap();
    this.b5c_1 = HashMap_init_$Create$();
    this.d5c_1 = ArrayList_init_$Create$_1(this.z5b_1);
    // Inline function 'kotlin.collections.forEach' call
    // Inline function 'kotlin.collections.iterator' call
    var tmp0_iterator = map.q2().w();
    while (tmp0_iterator.f()) {
      var element = tmp0_iterator.e();
      // Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>' call
      // Inline function 'kotlin.collections.component1' call
      var key = element.s2();
      // Inline function 'kotlin.collections.component2' call
      var bindings = element.t2();
      // Inline function 'kotlin.collections.map' call
      // Inline function 'kotlin.collections.mapTo' call
      var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(bindings, 10));
      var tmp0_iterator_0 = bindings.w();
      while (tmp0_iterator_0.f()) {
        var item = tmp0_iterator_0.e();
        // Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>.<anonymous>' call
        var tmp;
        if (item instanceof DIDefinition) {
          tmp = item;
        } else {
          tmp = new DIDefinition(item.y54_1, item.z54_1, this);
        }
        var tmp$ret$3 = tmp;
        destination.i1(tmp$ret$3);
      }
      var definitions = destination;
      // Inline function 'kotlin.collections.set' call
      var this_0 = this.a5c_1;
      var value = new Triple(key, definitions, null);
      this_0.s(key, value);
      var typeChecker = first(bindings).y54_1.f58() ? new Down(key.c55_1) : new Up(key.c55_1);
      // Inline function 'kotlin.collections.getOrPut' call
      var this_1 = this.b5c_1;
      var value_0 = this_1.q(typeChecker);
      var tmp_0;
      if (value_0 == null) {
        // Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>.<anonymous>' call
        var answer = HashMap_init_$Create$();
        this_1.s(typeChecker, answer);
        tmp_0 = answer;
      } else {
        tmp_0 = value_0;
      }
      var contextTree = tmp_0;
      // Inline function 'kotlin.collections.getOrPut' call
      var key_0 = new Down(key.a55_1);
      var value_1 = contextTree.q(key_0);
      var tmp_1;
      if (value_1 == null) {
        // Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>.<anonymous>' call
        var answer_0 = HashMap_init_$Create$();
        contextTree.s(key_0, answer_0);
        tmp_1 = answer_0;
      } else {
        tmp_1 = value_1;
      }
      var argumentTree = tmp_1;
      // Inline function 'kotlin.collections.getOrPut' call
      var key_1 = new Down(key.b55_1);
      var value_2 = argumentTree.q(key_1);
      var tmp_2;
      if (value_2 == null) {
        // Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>.<anonymous>' call
        var answer_1 = HashMap_init_$Create$();
        argumentTree.s(key_1, answer_1);
        tmp_2 = answer_1;
      } else {
        tmp_2 = value_2;
      }
      var tagTree = tmp_2;
      // Inline function 'kotlin.collections.set' call
      var key_2 = key.d55_1;
      tagTree.s(key_2, key);
    }
    var tmp_3 = this;
    // Inline function 'kotlin.collections.mapValues' call
    var this_2 = this.a5c_1;
    // Inline function 'kotlin.collections.mapValuesTo' call
    var destination_0 = LinkedHashMap_init_$Create$_0(mapCapacity(this_2.u()));
    // Inline function 'kotlin.collections.associateByTo' call
    var tmp0_iterator_1 = this_2.q2().w();
    while (tmp0_iterator_1.f()) {
      var element_0 = tmp0_iterator_1.e();
      // Inline function 'kotlin.collections.mapValuesTo.<anonymous>' call
      var tmp_4 = element_0.s2();
      // Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>' call
      var tmp$ret$13 = element_0.t2().bn_1;
      destination_0.s(tmp_4, tmp$ret$13);
    }
    tmp_3.c5c_1 = HashMap_init_$Create$_0(destination_0);
    $l$loop: while (true) {
      var added = ArrayList_init_$Create$();
      var tmp0_iterator_2 = this.d5c_1.w();
      while (tmp0_iterator_2.f()) {
        var src = tmp0_iterator_2.e();
        var tmp1_iterator = this.d5c_1.w();
        while (tmp1_iterator.f()) {
          var dst = tmp1_iterator.e();
          if (dst.o55().n54(src.n58()) ? !equals(src.o55(), dst.n58()) : false) {
            var tmp$ret$17;
            $l$block_0: {
              // Inline function 'kotlin.collections.none' call
              var this_3 = this.d5c_1;
              var tmp_5;
              if (isInterface(this_3, Collection)) {
                tmp_5 = this_3.c1();
              } else {
                tmp_5 = false;
              }
              if (tmp_5) {
                tmp$ret$17 = true;
                break $l$block_0;
              }
              var tmp0_iterator_3 = this_3.w();
              while (tmp0_iterator_3.f()) {
                var element_1 = tmp0_iterator_3.e();
                // Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>' call
                if (equals(element_1.o55(), src.o55()) ? equals(element_1.n58(), dst.n58()) : false) {
                  tmp$ret$17 = false;
                  break $l$block_0;
                }
              }
              tmp$ret$17 = true;
            }
            if (tmp$ret$17) {
              // Inline function 'kotlin.collections.plusAssign' call
              var tmp_6 = isInterface(src, ContextTranslator) ? src : THROW_CCE();
              var element_2 = new CompositeContextTranslator(tmp_6, isInterface(dst, ContextTranslator) ? dst : THROW_CCE());
              added.i1(element_2);
            }
          }
        }
      }
      // Inline function 'kotlin.collections.plusAssign' call
      var this_4 = this.d5c_1;
      addAll(this_4, added);
      if (added.c1())
        break $l$loop;
    }
  }
  protoOf(DITreeImpl).j57 = function () {
    return this.y5b_1;
  };
  protoOf(DITreeImpl).i57 = function () {
    return this.z5b_1;
  };
  protoOf(DITreeImpl).k55 = function () {
    return this.c5c_1;
  };
  protoOf(DITreeImpl).k57 = function (key, overrideLevel, all) {
    if (!all) {
      var tmp0_safe_receiver = this.a5c_1.q(key);
      if (tmp0_safe_receiver == null)
        null;
      else {
        // Inline function 'kotlin.let' call
        // Inline function 'kotlin.contracts.contract' call
        var realKey = tmp0_safe_receiver.y6();
        var list = tmp0_safe_receiver.z6();
        var translator = tmp0_safe_receiver.dn();
        var tmp0_elvis_lhs = getOrNull(list, overrideLevel);
        var tmp;
        if (tmp0_elvis_lhs == null) {
          return emptyList();
        } else {
          tmp = tmp0_elvis_lhs;
        }
        var definition = tmp;
        var tmp_0 = realKey instanceof Key ? realKey : THROW_CCE();
        var tmp_1 = definition instanceof DIDefinition ? definition : THROW_CCE();
        return listOf(new Triple(tmp_0, tmp_1, (translator == null ? true : isInterface(translator, ContextTranslator)) ? translator : THROW_CCE()));
      }
      if (!equals(key.a55_1, Companion_getInstance().e54_1)) {
        var anyContextKey = key.y55(Companion_getInstance().e54_1);
        var tmp1_safe_receiver = this.a5c_1.q(anyContextKey);
        if (tmp1_safe_receiver == null)
          null;
        else {
          // Inline function 'kotlin.let' call
          // Inline function 'kotlin.contracts.contract' call
          $l$block: {
            // Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
            var realKey_0 = tmp1_safe_receiver.y6();
            var list_0 = tmp1_safe_receiver.z6();
            var translator_0 = tmp1_safe_receiver.dn();
            if (!(translator_0 == null) ? !equals(translator_0.o55(), key.a55_1) : false) {
              break $l$block;
            }
            // Inline function 'kotlin.collections.set' call
            this.a5c_1.s(key, tmp1_safe_receiver);
            var tmp1_elvis_lhs = getOrNull(list_0, overrideLevel);
            var tmp_2;
            if (tmp1_elvis_lhs == null) {
              return emptyList();
            } else {
              tmp_2 = tmp1_elvis_lhs;
            }
            var definition_0 = tmp_2;
            var tmp_3 = realKey_0 instanceof Key ? realKey_0 : THROW_CCE();
            var tmp_4 = definition_0 instanceof DIDefinition ? definition_0 : THROW_CCE();
            return listOf(new Triple(tmp_3, tmp_4, (translator_0 == null ? true : isInterface(translator_0, ContextTranslator)) ? translator_0 : THROW_CCE()));
          }
        }
      }
      // Inline function 'kotlin.collections.filter' call
      // Inline function 'kotlin.collections.filterTo' call
      var this_0 = this.d5c_1;
      var destination = ArrayList_init_$Create$();
      var tmp0_iterator = this_0.w();
      while (tmp0_iterator.f()) {
        var element = tmp0_iterator.e();
        // Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
        if (equals(element.o55(), key.a55_1)) {
          destination.i1(element);
        }
      }
      var tmp_5 = destination;
      // Inline function 'kotlin.collections.filter' call
      // Inline function 'kotlin.collections.filterTo' call
      var this_1 = this.d5c_1;
      var destination_0 = ArrayList_init_$Create$();
      var tmp0_iterator_0 = this_1.w();
      while (tmp0_iterator_0.f()) {
        var element_0 = tmp0_iterator_0.e();
        // Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
        if (equals(element_0.o55(), Companion_getInstance().e54_1)) {
          destination_0.i1(element_0);
        }
      }
      var applicableTranslators = plus(tmp_5, destination_0);
      var tmp2_iterator = applicableTranslators.w();
      while (tmp2_iterator.f()) {
        var translator_1 = tmp2_iterator.e();
        var translatedKey = new Key(translator_1.n58(), key.b55_1, key.c55_1, key.d55_1);
        var tmp3_safe_receiver = this.a5c_1.q(translatedKey);
        var tmp_6;
        if (tmp3_safe_receiver == null) {
          tmp_6 = null;
        } else {
          // Inline function 'kotlin.takeIf' call
          // Inline function 'kotlin.contracts.contract' call
          var tmp_7;
          // Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
          if (tmp3_safe_receiver.cn_1 == null) {
            tmp_7 = tmp3_safe_receiver;
          } else {
            tmp_7 = null;
          }
          tmp_6 = tmp_7;
        }
        var tmp4_safe_receiver = tmp_6;
        if (tmp4_safe_receiver == null)
          null;
        else {
          // Inline function 'kotlin.let' call
          // Inline function 'kotlin.contracts.contract' call
          $l$block_0: {
            // Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
            if (!(tmp4_safe_receiver.cn_1 == null)) {
              break $l$block_0;
            }
            // Inline function 'kotlin.collections.set' call
            var this_2 = this.a5c_1;
            var value = tmp4_safe_receiver.fn(VOID, VOID, translator_1);
            this_2.s(key, value);
            var realKey_1 = tmp4_safe_receiver.y6();
            var list_1 = tmp4_safe_receiver.z6();
            var tmp1_elvis_lhs_0 = getOrNull(list_1, overrideLevel);
            var tmp_8;
            if (tmp1_elvis_lhs_0 == null) {
              return emptyList();
            } else {
              tmp_8 = tmp1_elvis_lhs_0;
            }
            var definition_1 = tmp_8;
            var tmp_9 = realKey_1 instanceof Key ? realKey_1 : THROW_CCE();
            var tmp_10 = definition_1 instanceof DIDefinition ? definition_1 : THROW_CCE();
            return listOf(new Triple(tmp_9, tmp_10, isInterface(translator_1, ContextTranslator) ? translator_1 : THROW_CCE()));
          }
        }
      }
    }
    var result = findBySpecs(this, new SearchSpecs(key.a55_1, key.b55_1, key.c55_1, key.d55_1));
    if (result.u() === 1) {
      var tmp5_container = first(result);
      var realKey_2 = tmp5_container.y6();
      var translator_2 = tmp5_container.z6();
      // Inline function 'kotlin.collections.set' call
      var this_3 = this.a5c_1;
      var tmp6_safe_receiver = this.a5c_1.q(realKey_2);
      var tmp7_elvis_lhs = tmp6_safe_receiver == null ? null : tmp6_safe_receiver.fn(VOID, VOID, translator_2);
      var tmp_11;
      if (tmp7_elvis_lhs == null) {
        throw notInMap(this, realKey_2, key);
      } else {
        tmp_11 = tmp7_elvis_lhs;
      }
      var value_0 = tmp_11;
      this_3.s(key, value_0);
    }
    // Inline function 'kotlin.collections.mapNotNull' call
    // Inline function 'kotlin.collections.mapNotNullTo' call
    var destination_1 = ArrayList_init_$Create$();
    // Inline function 'kotlin.collections.forEach' call
    var tmp0_iterator_1 = result.w();
    while (tmp0_iterator_1.f()) {
      var element_1 = tmp0_iterator_1.e();
      // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
      var tmp$ret$13;
      $l$block_1: {
        // Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
        var realKey_3 = element_1.y6();
        var translator_3 = element_1.z6();
        var tmp0_elvis_lhs_0 = this.a5c_1.q(realKey_3);
        var tmp_12;
        if (tmp0_elvis_lhs_0 == null) {
          throw notInMap(this, realKey_3, key);
        } else {
          tmp_12 = tmp0_elvis_lhs_0;
        }
        var definitions = tmp_12.z6();
        var tmp2_elvis_lhs = getOrNull(definitions, overrideLevel);
        var tmp_13;
        if (tmp2_elvis_lhs == null) {
          tmp$ret$13 = null;
          break $l$block_1;
        } else {
          tmp_13 = tmp2_elvis_lhs;
        }
        var definition_2 = tmp_13;
        var tmp_14 = realKey_3 instanceof Key ? realKey_3 : THROW_CCE();
        var tmp_15 = definition_2 instanceof DIDefinition ? definition_2 : THROW_CCE();
        tmp$ret$13 = new Triple(tmp_14, tmp_15, (translator_3 == null ? true : isInterface(translator_3, ContextTranslator)) ? translator_3 : THROW_CCE());
      }
      var tmp0_safe_receiver_0 = tmp$ret$13;
      if (tmp0_safe_receiver_0 == null)
        null;
      else {
        // Inline function 'kotlin.let' call
        // Inline function 'kotlin.contracts.contract' call
        destination_1.i1(tmp0_safe_receiver_0);
      }
    }
    return destination_1;
  };
  protoOf(DITreeImpl).m57 = function (search) {
    var result = findBySpecs(this, search);
    // Inline function 'kotlin.collections.map' call
    // Inline function 'kotlin.collections.mapTo' call
    var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(result, 10));
    var tmp0_iterator = result.w();
    while (tmp0_iterator.f()) {
      var item = tmp0_iterator.e();
      // Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
      var key = item.y6();
      var translator = item.z6();
      var tmp$ret$0 = new Triple(key, ensureNotNull(this.a5c_1.q(key)).bn_1, translator);
      destination.i1(tmp$ret$0);
    }
    return destination;
  };
  protoOf(DITreeImpl).n57 = function (key) {
    var tmp = this.a5c_1.q(key);
    return (tmp == null ? true : tmp instanceof Triple) ? tmp : THROW_CCE();
  };
  function Down(type) {
    TypeChecker.call(this);
    this.f5c_1 = type;
    this.g5c_1 = equals(this.f5c_1, Companion_getInstance().e54_1);
  }
  protoOf(Down).e5c = function (other) {
    return this.g5c_1 ? true : this.f5c_1.n54(other);
  };
  protoOf(Down).toString = function () {
    return 'Down(type=' + this.f5c_1 + ')';
  };
  protoOf(Down).hashCode = function () {
    return hashCode(this.f5c_1);
  };
  protoOf(Down).equals = function (other) {
    if (this === other)
      return true;
    if (!(other instanceof Down))
      return false;
    var tmp0_other_with_cast = other instanceof Down ? other : THROW_CCE();
    if (!equals(this.f5c_1, tmp0_other_with_cast.f5c_1))
      return false;
    return true;
  };
  function Up(type) {
    TypeChecker.call(this);
    this.h5c_1 = type;
  }
  protoOf(Up).e5c = function (other) {
    return equals(other, Companion_getInstance().e54_1) ? true : other.n54(this.h5c_1);
  };
  protoOf(Up).toString = function () {
    return 'Up(type=' + this.h5c_1 + ')';
  };
  protoOf(Up).hashCode = function () {
    return hashCode(this.h5c_1);
  };
  protoOf(Up).equals = function (other) {
    if (this === other)
      return true;
    if (!(other instanceof Up))
      return false;
    var tmp0_other_with_cast = other instanceof Up ? other : THROW_CCE();
    if (!equals(this.h5c_1, tmp0_other_with_cast.h5c_1))
      return false;
    return true;
  };
  function TypeChecker() {
  }
  function DirectDIBaseImpl(container, context) {
    this.i5c_1 = container;
    this.j5c_1 = context;
  }
  protoOf(DirectDIBaseImpl).o56 = function () {
    return this.i5c_1;
  };
  protoOf(DirectDIBaseImpl).s57 = function () {
    return this;
  };
  protoOf(DirectDIBaseImpl).o57 = function () {
    var tmp = this.o56();
    return On(new DIImpl(tmp instanceof DIContainerImpl ? tmp : THROW_CCE()), this.j5c_1);
  };
  protoOf(DirectDIBaseImpl).p57 = function (context) {
    return new DirectDIImpl(this.o56(), context);
  };
  protoOf(DirectDIBaseImpl).q57 = function (type, tag) {
    var tmp = this.o56();
    // Inline function 'org.kodein.di.internal.anyType' call
    var tmp_0 = this.j5c_1.t56();
    var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
    return tmp.z56(new Key(tmp$ret$0, Companion_getInstance().d54_1, type, tag), this.j5c_1.t2())();
  };
  protoOf(DirectDIBaseImpl).r57 = function (type, tag) {
    var tmp = this.o56();
    // Inline function 'org.kodein.di.internal.anyType' call
    var tmp_0 = this.j5c_1.t56();
    var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
    var tmp0_safe_receiver = tmp.a57(new Key(tmp$ret$0, Companion_getInstance().d54_1, type, tag), this.j5c_1.t2());
    return tmp0_safe_receiver == null ? null : tmp0_safe_receiver();
  };
  function DIProperty$provideDelegate$lambda($receiver, this$0, $prop) {
    return function () {
      var tmp;
      if (!($receiver == null) ? this$0.l5c_1 === get_AnyDIContext() : false) {
        var tmp_0 = Companion_instance_0;
        var tmp_1 = erasedOf($receiver);
        tmp = tmp_0.u56(isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE(), $receiver);
      } else {
        tmp = this$0.l5c_1;
      }
      var context = tmp;
      return this$0.m5c_1(context, $prop.callableName);
    };
  }
  function DIProperty(trigger, originalContext, get) {
    this.k5c_1 = trigger;
    this.l5c_1 = originalContext;
    this.m5c_1 = get;
  }
  protoOf(DIProperty).n5c = function (receiver, prop) {
    // Inline function 'kotlin.also' call
    var this_0 = lazy(DIProperty$provideDelegate$lambda(receiver, this, prop));
    // Inline function 'kotlin.contracts.contract' call
    // Inline function 'org.kodein.di.DIProperty.provideDelegate.<anonymous>' call
    var tmp0_safe_receiver = this.k5c_1;
    var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.o5c_1;
    if (tmp1_safe_receiver == null)
      null;
    else
      tmp1_safe_receiver.i1(this_0);
    return this_0;
  };
  function DirectDIImpl(container, context) {
    DirectDIBaseImpl.call(this, container, context);
  }
  function newConcurrentMap() {
    return HashMap_init_$Create$();
  }
  function newLinkedList() {
    return ArrayList_init_$Create$();
  }
  function newLinkedList_0(c) {
    return ArrayList_init_$Create$_1(c);
  }
  //region block: post-declaration
  protoOf(Singleton).d58 = get_argType;
  protoOf(Singleton).g55 = get_description;
  protoOf(Singleton).i55 = get_fullDescription;
  protoOf(Singleton).f58 = get_supportSubTypes;
  protoOf(Provider).d58 = get_argType;
  protoOf(Provider).c58 = factoryFullName;
  protoOf(Provider).p55 = get_scope;
  protoOf(Provider).g55 = get_description;
  protoOf(Provider).i55 = get_fullDescription;
  protoOf(Provider).l55 = get_copier;
  protoOf(Provider).f58 = get_supportSubTypes;
  protoOf(InstanceBinding).d58 = get_argType;
  protoOf(InstanceBinding).c58 = factoryFullName;
  protoOf(InstanceBinding).p55 = get_scope;
  protoOf(InstanceBinding).l55 = get_copier;
  protoOf(InstanceBinding).f58 = get_supportSubTypes;
  protoOf(DIBuilderImpl).d56 = constant$default;
  protoOf(DIBuilderImpl).f56 = import$default;
  protoOf(DIMainBuilderImpl).i56 = extend$default;
  protoOf(DIContainerImpl).f57 = factoryOrNull$default;
  protoOf(DIContainerImpl).d57 = factory$default;
  protoOf(DIContainerImpl).g57 = provider;
  protoOf(DIContainerImpl).z56 = provider$default;
  protoOf(DIContainerImpl).h57 = providerOrNull;
  protoOf(DIContainerImpl).a57 = providerOrNull$default;
  protoOf(DIImpl).n56 = get_di;
  protoOf(DIImpl).p56 = get_diContext;
  protoOf(DIImpl).q56 = get_diTrigger;
  protoOf(DITreeImpl).l57 = find$default;
  protoOf(DirectDIBaseImpl).n56 = get_di_0;
  //endregion
  //region block: init
  NonCached_instance = new NonCached();
  Companion_instance = new Companion();
  Companion_instance_0 = new Companion_0();
  NoDefinedTag_instance = new NoDefinedTag();
  ErasedContext_instance = new ErasedContext();
  Companion_instance_1 = new Companion_1();
  SingletonReference_instance = new SingletonReference();
  Companion_instance_2 = new Companion_2();
  Companion_instance_3 = new Companion_3();
  //endregion
  //region block: exports
  _.$_$ = _.$_$ || {};
  _.$_$.a = Module_init_$Create$;
  _.$_$.b = Companion_instance;
  _.$_$.c = Companion_instance_0;
  _.$_$.d = Provider;
  _.$_$.e = SimpleContextTranslator;
  _.$_$.f = Singleton;
  _.$_$.g = StandardScopeRegistry;
  _.$_$.h = ImplWithScope;
  _.$_$.i = get_diContext;
  _.$_$.j = get_diTrigger;
  _.$_$.k = DIAware;
  _.$_$.l = InstanceOrNull;
  _.$_$.m = Instance;
  _.$_$.n = On;
  _.$_$.o = get_direct;
  //endregion
  return _;
}(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./Kosi-Kaverit-kaverit.js')));

//# sourceMappingURL=Kosi-Kodein-kodein-di.js.map
