GoooBet v1.0版本的 MD5 值为:ff9748f16167bfd7735b669c0a9931c5

以下内容为反编译后的 b.java 源代码,内容仅作参考


package com.applovin.impl.sdk.c;

import android.net.Uri;
import com.amazon.device.ads.DtbDeviceDataRetriever;
import com.applovin.impl.a.j;
import com.applovin.impl.adview.AppLovinTouchToClickListener;
import com.applovin.sdk.AppLovinAdSize;
import com.appodeal.ads.utils.LogConstants;
import com.google.android.exoplayer2.audio.AacUtil;
import com.mopub.mobileads.MoPubView;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;

public class b<T> implements Comparable {
    private final String c;
    private final T d;

    private static final List<?> f776a = Arrays.asList(Boolean.class, Float.class, Integer.class, Long.class, String.class);
    private static final Map<String, b<?>> b = new HashMap(512);
    public static final b<Boolean> W = a("is_disabled", false);
    public static final b<String> X = a("device_id", "");
    public static final b<Boolean> Y = a("rss", true);
    public static final b<String> Z = a("device_token", "");
    public static final b<Long> aa = a("publisher_id", 0L);
    public static final b<Boolean> ab = a("is_verbose_logging", false);
    public static final b<String> ac = a("sc", "");
    public static final b<String> ad = a("sc2", "");
    public static final b<String> ae = a("sc3", "");
    public static final b<String> af = a("server_installed_at", "");
    public static final b<Boolean> ag = a("track_network_response_codes", false);
    public static final b<Boolean> ah = a("submit_network_response_codes", false);
    public static final b<Boolean> ai = a("clear_network_response_codes_on_request", true);
    public static final b<Boolean> aj = a("clear_completion_callback_on_failure", false);
    public static final b<Long> ak = a("sicd_ms", 0L);
    public static final b<Integer> al = a("logcat_max_line_size", 1000);
    public static final b<Integer> am = a("stps", 16);
    public static final b<Boolean> an = a("ustp", false);
    public static final b<Boolean> ao = a("exception_handler_enabled", true);
    public static final b<Boolean> ap = a("publisher_can_show_consent_dialog", true);
    public static final b<String> aq = a("consent_dialog_url", "https://assets.applovin.com/gdpr/flow_v1/gdpr-flow-1.html");
    public static final b<Boolean> ar = a("consent_dialog_immersive_mode_on", false);
    public static final b<Long> as = a("consent_dialog_show_from_alert_delay_ms", 450L);
    public static final b<Boolean> at = a("alert_consent_for_dialog_rejected", false);
    public static final b<Boolean> au = a("alert_consent_for_dialog_closed", false);
    public static final b<Boolean> av = a("alert_consent_for_dialog_closed_with_back_button", false);
    public static final b<Boolean> aw = a("alert_consent_after_init", false);
    public static final b<Long> ax = a("alert_consent_after_init_interval_ms", Long.valueOf(TimeUnit.MINUTES.toMillis(5)));
    public static final b<Long> ay = a("alert_consent_after_dialog_rejection_interval_ms", Long.valueOf(TimeUnit.MINUTES.toMillis(30)));
    public static final b<Long> az = a("alert_consent_after_dialog_close_interval_ms", Long.valueOf(TimeUnit.MINUTES.toMillis(5)));
    public static final b<Long> aA = a("alert_consent_after_dialog_close_with_back_button_interval_ms", Long.valueOf(TimeUnit.MINUTES.toMillis(5)));
    public static final b<Long> aB = a("alert_consent_after_cancel_interval_ms", Long.valueOf(TimeUnit.MINUTES.toMillis(10)));
    public static final b<Long> aC = a("alert_consent_reschedule_interval_ms", Long.valueOf(TimeUnit.MINUTES.toMillis(5)));
    public static final b<String> aD = a("text_alert_consent_title", "Make this App Better and Stay Free!");
    public static final b<String> aE = a("text_alert_consent_body", "If you don't give us consent to use your data, you will be making our ability to support this app harder, which may negatively affect the user experience.");
    public static final b<String> aF = a("text_alert_consent_yes_option", "I Agree");
    public static final b<String> aG = a("text_alert_consent_no_option", LogConstants.EVENT_CANCEL);
    public static final b<Long> aH = a("ttc_max_click_duration_ms", Long.valueOf(TimeUnit.SECONDS.toMillis(1)));
    public static final b<Integer> aI = a("ttc_max_click_distance_dp", 10);
    public static final b<Integer> aJ = a("ttc_acrs", Integer.valueOf(AppLovinTouchToClickListener.ClickRecognitionState.DISABLED.ordinal()));
    public static final b<Integer> aK = a("ttc_acrsv2a", Integer.valueOf(AppLovinTouchToClickListener.ClickRecognitionState.ACTION_DOWN.ordinal()));
    public static final b<Integer> aL = a("ttc_edge_buffer_dp", 0);
    public static final b<String> aM = a("whitelisted_postback_endpoints", "https://prod-a.applovin.com,https://rt.applovin.com/4.0/pix, https://rt.applvn.com/4.0/pix,https://ms.applovin.com/,https://ms.applvn.com/");
    public static final b<String> aN = a("fetch_settings_endpoint", "https://ms.applovin.com/");
    public static final b<String> aO = a("fetch_settings_backup_endpoint", "https://ms.applvn.com/");
    public static final b<String> aP = a("adserver_endpoint", "https://a.applovin.com/");
    public static final b<String> aQ = a("adserver_backup_endpoint", "https://a.applvn.com/");
    public static final b<String> aR = a("api_endpoint", "https://d.applovin.com/");
    public static final b<String> aS = a("api_backup_endpoint", "https://d.applvn.com/");
    public static final b<String> aT = a("event_tracking_endpoint_v2", "https://rt.applovin.com/");
    public static final b<String> aU = a("event_tracking_backup_endpoint_v2", "https://rt.applvn.com/");
    public static final b<String> aV = a("fetch_variables_endpoint", "https://ms.applovin.com/");
    public static final b<String> aW = a("fetch_variables_backup_endpoint", "https://ms.applvn.com/");
    public static final b<String> aX = a("token_type_prefixes_r", "4!");
    public static final b<String> aY = a("token_type_prefixes_arj", "json_v3!");
    public static final b<String> aZ = a("top_level_events", "landing,paused,resumed,ref,rdf,checkout,iap");
    public static final b<String> ba = a("valid_super_property_types", String.class.getName() + "," + Integer.class.getName() + "," + Long.class.getName() + "," + Double.class.getName() + "," + Float.class.getName() + "," + Date.class.getName() + "," + Uri.class.getName() + "," + List.class.getName() + "," + Map.class.getName());
    public static final b<Boolean> bb = a("persist_super_properties", true);
    public static final b<Integer> bc = a("super_property_string_max_length", 1024);
    public static final b<Integer> bd = a("super_property_url_max_length", 1024);
    public static final b<Long> be = a("cached_advertising_info_ttl_ms", Long.valueOf(TimeUnit.MINUTES.toMillis(10)));
    public static final b<Boolean> bf = a("use_per_format_cache_queues", true);
    public static final b<Boolean> bg = a("cache_cleanup_enabled", false);
    public static final b<Long> bh = a("cache_file_ttl_seconds", Long.valueOf(TimeUnit.DAYS.toSeconds(1)));
    public static final b<Integer> bi = a("cache_max_size_mb", -1);
    public static final b<String> bj = a("precache_delimiters", ")]',");
    public static final b<Boolean> bk = a("ad_resource_caching_enabled", true);
    public static final b<Boolean> bl = a("fail_ad_load_on_failed_video_cache", true);
    public static final b<String> bm = a("resource_cache_prefix", "https://vid.applovin.com/,https://pdn.applovin.com/,https://img.applovin.com/,https://d.applovin.com/,https://assets.applovin.com/,https://cdnjs.cloudflare.com/,http://vid.applovin.com/,http://pdn.applovin.com/,http://img.applovin.com/,http://d.applovin.com/,http://assets.applovin.com/,http://cdnjs.cloudflare.com/");
    public static final b<String> bn = a("preserved_cached_assets", "sound_off.png,sound_on.png,closeOptOut.png,1381250003_28x28.png,zepto-1.1.3.min.js,jquery-2.1.1.min.js,jquery-1.9.1.min.js,jquery.knob.js");
    public static final b<Integer> bo = a("vr_retry_count_v1", 1);
    public static final b<Integer> bp = a("cr_retry_count_v1", 1);
    public static final b<Boolean> bq = a("incent_warning_enabled", false);
    public static final b<String> br = a("text_incent_warning_title", "Attention!");
    public static final b<String> bs = a("text_incent_warning_body", "You won’t get your reward if the video hasn’t finished.");
    public static final b<String> bt = a("text_incent_warning_close_option", "Close");
    public static final b<String> bu = a("text_incent_warning_continue_option", "Keep Watching");
    public static final b<Boolean> bv = a("incent_nonvideo_warning_enabled", false);
    public static final b<String> bw = a("text_incent_nonvideo_warning_title", "Attention!");
    public static final b<String> bx = a("text_incent_nonvideo_warning_body", "You won’t get your reward if the game hasn’t finished.");
    public static final b<String> by = a("text_incent_nonvideo_warning_close_option", "Close");
    public static final b<String> bz = a("text_incent_nonvideo_warning_continue_option", "Keep Playing");
    public static final b<Boolean> bA = a("check_webview_has_gesture", false);
    public static final b<Integer> bB = a("close_button_touch_area", 0);
    public static final b<Integer> bC = a("close_button_outside_touch_area", 0);
    public static final b<Boolean> bD = a("creative_debugger_enabled", false);
    public static final b<Long> bE = a("viewability_adview_imp_delay_ms", Long.valueOf(TimeUnit.SECONDS.toMillis(1)));
    public static final b<Integer> bF = a("viewability_adview_banner_min_width", 320);
    public static final b<Integer> bG = a("viewability_adview_banner_min_height", Integer.valueOf(AppLovinAdSize.BANNER.getHeight()));
    public static final b<Integer> bH = a("viewability_adview_mrec_min_width", Integer.valueOf(AppLovinAdSize.MREC.getWidth()));
    public static final b<Integer> bI = a("viewability_adview_mrec_min_height", Integer.valueOf(AppLovinAdSize.MREC.getHeight()));
    public static final b<Integer> bJ = a("viewability_adview_leader_min_width", 728);
    public static final b<Integer> bK = a("viewability_adview_leader_min_height", Integer.valueOf(AppLovinAdSize.LEADER.getHeight()));
    public static final b<Float> bL = a("viewability_adview_min_alpha", Float.valueOf(10.0f));
    public static final b<Long> bM = a("viewability_timer_min_visible_ms", Long.valueOf(TimeUnit.SECONDS.toMillis(1)));
    public static final b<Long> bN = a("viewability_timer_interval_ms", 100L);
    public static final b<Integer> bO = a("expandable_close_button_size", 27);
    public static final b<Integer> bP = a("expandable_h_close_button_margin", 10);
    public static final b<Integer> bQ = a("expandable_t_close_button_margin", 10);
    public static final b<Boolean> bR = a("expandable_lhs_close_button", false);
    public static final b<Integer> bS = a("expandable_close_button_touch_area", 0);
    public static final b<Boolean> bT = a("iaad", false);
    public static final b<Integer> bU = a("auxiliary_operations_threads", 3);
    public static final b<Integer> bV = a("caching_operations_threads", 8);
    public static final b<Long> bW = a("fullscreen_ad_pending_display_state_timeout_ms", Long.valueOf(TimeUnit.SECONDS.toMillis(10)));
    public static final b<Long> bX = a("fullscreen_ad_showing_state_timeout_ms", Long.valueOf(TimeUnit.MINUTES.toMillis(2)));
    public static final b<Boolean> bY = a("lhs_close_button_video", false);
    public static final b<Integer> bZ = a("close_button_right_margin_video", 4);
    public static final b<Integer> ca = a("close_button_size_video", 30);
    public static final b<Integer> cb = a("close_button_top_margin_video", 8);
    public static final b<Boolean> cc = a("show_close_on_exit", true);
    public static final b<Integer> cd = a("video_countdown_clock_margin", 10);
    public static final b<Integer> ce = a("video_countdown_clock_gravity", 83);
    public static final b<Integer> cf = a("countdown_clock_size", 32);
    public static final b<Integer> cg = a("countdown_clock_stroke_size", 4);
    public static final b<Integer> ch = a("countdown_clock_text_size", 28);
    public static final b<Boolean> ci = a("draw_countdown_clock", true);
    public static final b<Boolean> cj = a("force_back_button_enabled_always", false);
    public static final b<Boolean> ck = a("force_back_button_enabled_close_button", false);
    public static final b<Boolean> cl = a("force_back_button_enabled_poststitial", false);
    public static final b<Long> cm = a("inter_display_delay", 200L);
    public static final b<Long> cn = a("maximum_close_button_delay_seconds", 999L);
    public static final b<Boolean> co = a("lock_specific_orientation", false);
    public static final b<Boolean> cp = a("lhs_skip_button", true);
    public static final b<String> cq = a("soft_buttons_resource_id", "config_showNavigationBar");
    public static final b<Boolean> cr = a("countdown_toggleable", false);
    public static final b<Boolean> cs = a("track_app_killed", false);
    public static final b<Boolean> ct = a("mute_controls_enabled", false);
    public static final b<Boolean> cu = a("allow_user_muting", true);
    public static final b<Boolean> cv = a("mute_videos", false);
    public static final b<Boolean> cw = a("show_mute_by_default", false);
    public static final b<Boolean> cx = a("mute_with_user_settings", true);
    public static final b<Integer> cy = a("mute_button_size", 32);
    public static final b<Integer> cz = a("mute_button_margin", 10);
    public static final b<Integer> cA = a("mute_button_gravity", 85);
    public static final b<Boolean> cB = a("video_immersive_mode_enabled", false);
    public static final b<Long> cC = a("progress_bar_step", 25L);
    public static final b<Integer> cD = a("progress_bar_scale", 10000);
    public static final b<Integer> cE = a("progress_bar_vertical_padding", -8);
    public static final b<Long> cF = a("video_resume_delay", 250L);
    public static final b<Boolean> cG = a("is_video_skippable", false);
    public static final b<Integer> cH = a("vs_buffer_indicator_size", 50);
    public static final b<Boolean> cI = a("video_zero_length_as_computed", false);
    public static final b<Long> cJ = a("set_poststitial_muted_initial_delay_ms", 500L);
    public static final b<Integer> cK = a("minepsv", -1);
    public static final b<Integer> cL = a("maxepsv", -1);
    public static final b<Boolean> cM = a("pctfnc", false);
    public static final b<Integer> cN = a("submit_postback_timeout", Integer.valueOf((int) TimeUnit.SECONDS.toMillis(10)));
    public static final b<Integer> cO = a("submit_postback_retries", 4);
    public static final b<Integer> cP = a("max_postback_attempts", 3);
    public static final b<Boolean> cQ = a("fppopq", false);
    public static final b<Boolean> cR = a("retry_on_all_errors", false);
    public static final b<Integer> cS = a("get_retry_delay_v1", Integer.valueOf((int) TimeUnit.SECONDS.toMillis(10)));
    public static final b<Integer> cT = a("http_connection_timeout", Integer.valueOf((int) TimeUnit.SECONDS.toMillis(30)));
    public static final b<Integer> cU = a("http_socket_timeout", Integer.valueOf((int) TimeUnit.SECONDS.toMillis(20)));
    public static final b<Boolean> cV = a("force_ssl", false);
    public static final b<Integer> cW = a("fetch_ad_connection_timeout", Integer.valueOf((int) TimeUnit.SECONDS.toMillis(30)));
    public static final b<Integer> cX = a("fetch_ad_retry_count_v1", 1);
    public static final b<Boolean> cY = a("faer", false);
    public static final b<Boolean> cZ = a("faroae", false);
    public static final b<Integer> da = a("submit_data_retry_count_v1", 1);
    public static final b<Integer> db = a("response_buffer_size", Integer.valueOf(AacUtil.AAC_HE_V1_MAX_RATE_BYTES_PER_SECOND));
    public static final b<Integer> dc = a("fetch_basic_settings_connection_timeout_ms", Integer.valueOf((int) TimeUnit.SECONDS.toMillis(10)));
    public static final b<Integer> dd = a("fetch_basic_settings_retry_count", 3);
    public static final b<Boolean> de = a("fetch_basic_settings_on_reconnect", false);
    public static final b<Boolean> df = a("skip_fetch_basic_settings_if_not_connected", false);
    public static final b<Integer> dg = a("fetch_basic_settings_retry_delay_ms", Integer.valueOf((int) TimeUnit.SECONDS.toMillis(2)));
    public static final b<Integer> dh = a("fetch_variables_connection_timeout_ms", Integer.valueOf((int) TimeUnit.SECONDS.toMillis(5)));
    public static final b<Boolean> di = a("idflrwbe", false);
    public static final b<Boolean> dj = a("falawpr", false);
    public static final b<Boolean> dk = a("sort_query_parameters", false);
    public static final b<Long> dl = a("communicator_request_timeout_ms", Long.valueOf(TimeUnit.SECONDS.toMillis(10)));
    public static final b<Integer> dm = a("communicator_request_retry_count", 3);
    public static final b<Long> dn = a("communicator_request_retry_delay_ms", Long.valueOf(TimeUnit.SECONDS.toMillis(2)));

    public static final b<Integer> f0do = a("ad_session_minutes", 60);
    public static final b<Boolean> dp = a("session_tracking_cooldown_on_event_fire", true);
    public static final b<Long> dq = a("session_tracking_resumed_cooldown_minutes", 90L);
    public static final b<Long> dr = a("session_tracking_paused_cooldown_minutes", 90L);
    public static final b<Boolean> ds = a("qq", false);
    public static final b<Boolean> dt = a("qq1", true);
    public static final b<Boolean> du = a("qq3", true);
    public static final b<Boolean> dv = a("qq4", true);
    public static final b<Boolean> dw = a("qq5", true);
    public static final b<Boolean> dx = a("qq6", true);
    public static final b<Boolean> dy = a("qq7", true);
    public static final b<Boolean> dz = a("qq8", true);
    public static final b<Boolean> dA = a("pui", true);
    public static final b<String> dB = a("plugin_version", "");
    public static final b<Boolean> dC = a("hgn", false);
    public static final b<Boolean> dD = a("cso", false);
    public static final b<Boolean> dE = a("cfs", false);
    public static final b<Boolean> dF = a("cmi", false);
    public static final b<Boolean> dG = a("crat", false);
    public static final b<Boolean> dH = a("cvs", false);
    public static final b<Boolean> dI = a("caf", false);
    public static final b<Boolean> dJ = a("cf", false);
    public static final b<Boolean> dK = a("cnr", false);
    public static final b<Boolean> dL = a("adr", false);
    public static final b<Float> dM = a("volume_normalization_factor", Float.valueOf(6.6666665f));
    public static final b<Boolean> dN = a("system_user_agent_collection_enabled", false);
    public static final b<Boolean> dO = a("user_agent_collection_enabled", false);
    public static final b<Boolean> dP = a("http_headers_collection_enabled", false);
    public static final b<String> dQ = a("webview_package_name", "com.google.android.webview");
    public static final b<Boolean> dR = a("collect_device_angle", false);
    public static final b<Boolean> dS = a("collect_device_movement", false);
    public static final b<Float> dT = a("movement_degradation", Float.valueOf(0.75f));
    public static final b<Integer> dU = a("device_sensor_period_ms", Integer.valueOf(MoPubView.MoPubAdSizeInt.HEIGHT_250_INT));
    public static final b<Boolean> dV = a("dte", true);
    public static final b<Boolean> dW = a("idcw", false);
    public static final b<Long> dX = a("anr_debug_thread_refresh_time_ms", -1L);
    public static final b<Boolean> dY = a("is_track_ad_info", true);
    public static final b<Boolean> dZ = a("submit_ad_stats_enabled", false);
    public static final b<Integer> ea = a("submit_ad_stats_connection_timeout", Integer.valueOf((int) TimeUnit.SECONDS.toMillis(30)));
    public static final b<Integer> eb = a("submit_ad_stats_retry_count", 1);
    public static final b<Integer> ec = a("submit_ad_stats_max_count", 500);
    public static final b<Boolean> ed = a("asdm", false);
    public static final b<String> ee = a("vast_image_html", "<html><head><style>html,body{height:100%;width:100%}body{background-image:url({SOURCE});background-repeat:no-repeat;background-size:contain;background-position:center;}a{position:absolute;top:0;bottom:0;left:0;right:0}</style></head><body><a href=\"applovin://com.applovin.sdk/adservice/track_click_now\"></a></body></html>");
    public static final b<String> ef = a("vast_link_html", "<html><head><style>html,body,iframe{height:100%;width:100%;}body{margin:0}iframe{border:0;overflow:hidden;position:absolute}</style></head><body><iframe src={SOURCE} frameborder=0></iframe></body></html>");
    public static final b<Integer> eg = a("vast_max_response_length", 640000);
    public static final b<Integer> eh = a("vast_max_wrapper_depth", 5);
    public static final b<Long> ei = a("vast_progress_tracking_countdown_step", Long.valueOf(TimeUnit.SECONDS.toMillis(1)));
    public static final b<String> ej = a("vast_unsupported_video_extensions", "ogv,flv");
    public static final b<String> ek = a("vast_unsupported_video_types", "video/ogg,video/x-flv");
    public static final b<Boolean> el = a("vast_validate_with_extension_if_no_video_type", true);
    public static final b<Integer> em = a("vast_video_selection_policy", Integer.valueOf(j.a.MEDIUM.ordinal()));
    public static final b<Integer> en = a("vast_wrapper_resolution_retry_count_v1", 1);
    public static final b<Integer> eo = a("vast_wrapper_resolution_connection_timeout", Integer.valueOf((int) TimeUnit.SECONDS.toMillis(30)));
    public static final b<Boolean> ep = a("ree", true);
    public static final b<Boolean> eq = a("btee", true);
    public static final b<Long> er = a("server_timestamp_ms", 0L);
    public static final b<Long> es = a("device_timestamp_ms", 0L);
    public static final b<Integer> et = a("gzip_min_length", 0);
    public static final b<Boolean> eu = a("gzip_encoding_default", false);
    public static final b<Boolean> ev = a("fetch_settings_gzip", false);
    public static final b<Boolean> ew = a("device_init_gzip", false);
    public static final b<Boolean> ex = a("fetch_ad_gzip", false);
    public static final b<Boolean> ey = a("event_tracking_gzip", false);
    public static final b<Boolean> ez = a("submit_ad_stats_gzip", false);
    public static final b<Boolean> eA = a("reward_postback_gzip", false);
    public static final b<Boolean> eB = a("zt_flush_gzip", false);
    public static final b<Boolean> eC = a("force_rerender", false);
    public static final b<Boolean> eD = a("daostr", false);
    public static final b<Boolean> eE = a("tctlaa", false);
    public static final b<Boolean> eF = a("rwvdv", false);
    public static final b<Boolean> eG = a("handle_render_process_gone", true);
    public static final b<Boolean> eH = a("comcr", true);
    public static final b<Boolean> eI = a("gcoas", false);
    public static final b<Boolean> eJ = a("teorpc", false);
    public static final b<Boolean> eK = a("rmpibt", false);
    public static final b<Boolean> eL = a("spbcioa", false);
    public static final b<Boolean> eM = a("set_webview_render_process_client", false);
    public static final b<Boolean> eN = a("disable_webview_hardware_acceleration", false);
    public static final b<Integer> eO = a("mmbfas", -1);
    public static final b<Boolean> eP = a("fvrunc", false);
    public static final b<Boolean> eQ = a("dsaovcf", false);
    public static final b<Boolean> eR = a("daoar", false);
    public static final b<String> eS = a("config_consent_dialog_state", DtbDeviceDataRetriever.ORIENTATION_UNKNOWN);
    public static final b<String> eT = a("country_code", "");
    public static final b<String> eU = a("c_sticky_topics", "user_engagement_sdk_init,adjust_init,safedk_init,discovery_init,max_ad_events,send_http_request,adapter_initialization_status,privacy_setting_updated,network_sdk_version_updated");
    public static final b<Boolean> eV = a("zt_enabled", true);
    public static final b<String> eW = a("zt_endpoint", "https://a.applovin.com/");
    public static final b<String> eX = a("zt_backup_endpoint", "https://a.applvn.com/");
    public static final b<Integer> eY = a("zt_timeout_ms", Integer.valueOf((int) TimeUnit.SECONDS.toMillis(10)));
    public static final b<Long> eZ = a("zt_flush_interval_s", -1L);
    public static final b<Boolean> fa = a("zt_bg_aware_timer", true);
    public static final b<Boolean> fb = a("zt_flush_on_impression", true);
    public static final b<Boolean> fc = a("zt_flush_on_app_bg", false);
    public static final b<Boolean> fd = a("zt_continue_through_error", true);

    public b(String str, T t) {
        if (str == null) {
            throw new IllegalArgumentException("No name specified");
        }
        if (t == null) {
            throw new IllegalArgumentException("No default value specified");
        }
        this.c = str;
        this.d = t;
    }

    public static <T> b<T> a(String str, T t) {
        if (t == null) {
            throw new IllegalArgumentException("No default value specified");
        }
        if (!f776a.contains(t.getClass())) {
            throw new IllegalArgumentException("Unsupported value type: " + t.getClass());
        }
        b<T> bVar = new b<>(str, t);
        if (!b.containsKey(str)) {
            b.put(str, bVar);
            return bVar;
        }
        throw new IllegalArgumentException("Setting has already been used: " + str);
    }

    public static Collection<b<?>> c() {
        return Collections.synchronizedCollection(b.values());
    }

    public T a(Object obj) {
        return (T) this.d.getClass().cast(obj);
    }

    public String a() {
        return this.c;
    }

    public T b() {
        return this.d;
    }

    @Override
    public int compareTo(Object obj) {
        if (!(obj instanceof b)) {
            return 0;
        }
        return this.c.compareTo(((b) obj).a());
    }
}