<commit_before>using System;
using System.Collections.Generic;

using EE.Internal;

namespace EE {
    using PluginCreator = Func<IMessageBridge, ILogger, Action, IPlugin>;

    public static class PluginManager {
        private static readonly Dictionary<Type, (string, PluginCreator, PluginCreator)> _pluginInfo
            = new Dictionary<Type, (string, PluginCreator, PluginCreator)> {
                [typeof(IAdColony)] = ("AdColony",
                    (bridge, logger, destroyer) => new AdColony(bridge, logger, destroyer),
                    (bridge, logger, destroyer) => new AdColonyImplEditor()),
                [typeof(IAdjust)] = ("Adjust",
                    (bridge, logger, destroyer) => new Adjust(bridge, logger, destroyer),
                    (bridge, logger, destroyer) => new AdjustImplEditor()),
                [typeof(IAdMob)] = ("AdMob",
                    (bridge, logger, destroyer) => new AdMob(bridge, logger, destroyer),
                    (bridge, logger, destroyer) => new AdMobImplEditor()),
                [typeof(AppsFlyer)] = ("AppsFlyer",
                    (bridge, logger, destroyer) => new AppsFlyer(bridge, logger, destroyer),
                    (bridge, logger, destroyer) => new AppsFlyerImplEditor()),
                [typeof(IFacebookAds)] = ("FacebookAds",
                    (bridge, logger, destroyer) => new FacebookAds(bridge, logger, destroyer),
                    (bridge, logger, destroyer) => new FacebookAdsImplEditor()),
                [typeof(IIronSource)] = ("IronSource",
                    (bridge, logger, destroyer) => new IronSource(bridge, logger, destroyer),
                    (bridge, logger, destroyer) => new IronSourceImplEditor()),
                [typeof(IUnityAds)] = ("UnityAds",
                    (bridge, logger, destroyer) => new UnityAds(bridge, logger, destroyer),
                    (bridge, logger, destroyer) => new UnityAdsImplEditor())
            };

        private static readonly IPluginManagerImpl _impl =
#if UNITY_EDITOR || UNITY_STANDALONE_OSX
            new PluginManagerImplEditor();<commit_msg>Fix creating AppsFlyer plugin.<commit_after>using System;
using System.Collections.Generic;

using EE.Internal;

namespace EE {
    using PluginCreator = Func<IMessageBridge, ILogger, Action, IPlugin>;

    public static class PluginManager {
        private static readonly Dictionary<Type, (string, PluginCreator, PluginCreator)> _pluginInfo
            = new Dictionary<Type, (string, PluginCreator, PluginCreator)> {
                [typeof(IAdColony)] = ("AdColony",
                    (bridge, logger, destroyer) => new AdColony(bridge, logger, destroyer),
                    (bridge, logger, destroyer) => new AdColonyImplEditor()),
                [typeof(IAdjust)] = ("Adjust",
                    (bridge, logger, destroyer) => new Adjust(bridge, logger, destroyer),
                    (bridge, logger, destroyer) => new AdjustImplEditor()),
                [typeof(IAdMob)] = ("AdMob",
                    (bridge, logger, destroyer) => new AdMob(bridge, logger, destroyer),
                    (bridge, logger, destroyer) => new AdMobImplEditor()),
                [typeof(IAppsFlyer)] = ("AppsFlyer",
                    (bridge, logger, destroyer) => new AppsFlyer(bridge, logger, destroyer),
                    (bridge, logger, destroyer) => new AppsFlyerImplEditor()),
                [typeof(IFacebookAds)] = ("FacebookAds",
                    (bridge, logger, destroyer) => new FacebookAds(bridge, logger, destroyer),
                    (bridge, logger, destroyer) => new FacebookAdsImplEditor()),
                [typeof(IIronSource)] = ("IronSource",
                    (bridge, logger, destroyer) => new IronSource(bridge, logger, destroyer),
                    (bridge, logger, destroyer) => new IronSourceImplEditor()),
                [typeof(IUnityAds)] = ("UnityAds",
                    (bridge, logger, destroyer) => new UnityAds(bridge, logger, destroyer),
                    (bridge, logger, destroyer) => new UnityAdsImplEditor())
            };

        private static readonly IPluginManagerImpl _impl =
#if UNITY_EDITOR || UNITY_STANDALONE_OSX
            new PluginManagerImplEditor();
{'fraction_non_alphanumeric': 0.11910377358490566, 'fraction_numerical': 0.0, 'mean_word_length': 2.373906125696102, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 37, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3505986', 'n_tokens_mistral': 1173, 'n_tokens_neox': 1074, 'n_words': 280}