Swiggy v4.51.1版本的 MD5 值为:5af7ec91512a0a8c1510e3f8bac20b8b

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


package in.swiggy.android.apputils;

import android.content.Context;
import android.content.SharedPreferences;
import android.util.TypedValue;
import android.widget.Toast;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import com.newrelic.agent.android.instrumentation.GsonInstrumentation;
import com.newrelic.agent.android.instrumentation.Instrumented;
import com.xiaomi.mipush.sdk.Constants;
import in.swiggy.android.commons.utils.i0;
import in.swiggy.android.commons.utils.x;
import in.swiggy.android.tejas.TejasConstants;
import in.swiggy.android.tejas.feature.discovery.pageskeleton.utils.PageSkeletonConstants;
import in.swiggy.android.tejas.network.retrofit.utils.NetworkConfigUtils;
import in.swiggy.android.tejas.oldapi.models.intdef.TrackOrderState;
import in.swiggy.android.tejas.utils.DateUtils;
import j$.util.DesugarTimeZone;
import java.lang.reflect.Type;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import org.apache.pdfbox.pdmodel.documentinterchange.taggedpdf.PDLayoutAttributeObject;
@Instrumented
public class r {
    private static HashMap<Integer, Object> a = new HashMap<>();
    public static final String b = r.class.getSimpleName();
    private static List<String> c = new ArrayList();
    private static LinkedList<String> d = new LinkedList<>();
    private static LinkedList<String> e = new LinkedList<>();
    private static LinkedList<String> f = new LinkedList<>();
    private static boolean g = false;
    private static Map<String, String> h = new HashMap();
    private static List<String> i = new ArrayList();
    private static LinkedList<String> j = new LinkedList<>();
    private static String k = null;
    private static String l = null;

    class a implements io.reactivex.q<in.swiggy.android.analytics.gtm.g> {
        final Context a;

        a(Context context) {
            this.a = context;
        }

        @Override
        public void onNext(in.swiggy.android.analytics.gtm.g gVar) {
            for (String str : r.c) {
                if (str.trim().equals(gVar.g.trim())) {
                    String A = r.A(gVar);
                    try {
                        if ((this.a.getApplicationInfo().flags & 2) != 0) {
                            Toast.makeText(this.a, A, 1).show();
                        }
                    } catch (RuntimeException e) {
                        x.e(r.b, e.getMessage());
                    }
                    r.d.add(0, A);
                    if (50 < r.d.size()) {
                        r.d.removeLast();
                        return;
                    }
                    return;
                }
            }
        }

        @Override
        public void onComplete() {
        }

        @Override
        public void onError(Throwable th) {
        }

        @Override
        public void onSubscribe(io.reactivex.disposables.b bVar) {
        }
    }

    public class b extends TypeToken<List<String>> {
        b() {
        }
    }

    public static String A(in.swiggy.android.analytics.gtm.g gVar) {
        String str = gVar.f;
        String str2 = gVar.g;
        String str3 = gVar.h;
        String l2 = Long.toString(gVar.i);
        String str4 = gVar.n;
        StringBuilder sb = new StringBuilder();
        sb.append("ScreenName: ");
        sb.append(str);
        sb.append(" ObjectName: ");
        sb.append(str2);
        if (!str3.equals("-")) {
            sb.append("  ObjectValue: ");
            sb.append(str3);
        }
        if (!l2.equals(Long.toString(9999L))) {
            sb.append(" ObjectPosition: ");
            sb.append(l2);
        }
        if (!str4.equals("-")) {
            sb.append(" Context: ");
            sb.append(str4);
        }
        return sb.toString();
    }

    public static void B(boolean z) {
        g = z;
    }

    public static void C(Context context) {
        in.swiggy.android.commons.rxjava.h.a(in.swiggy.android.analytics.gtm.g.class).subscribe(new a(context));
    }

    public static void c(String str) {
        i.add(str);
    }

    public static void d(SharedPreferences sharedPreferences, String str) {
        c.add(str);
        in.swiggy.android.commons.utils.q.j(sharedPreferences, c);
    }

    public static void e(String str) {
        j.add(str);
    }

    public static void f(String str) {
        l = str;
    }

    public static void g(String str) {
        k = str;
    }

    public static void h() {
        i.clear();
    }

    public static void i() {
        c.clear();
    }

    public static Map<String, String> j() {
        HashMap hashMap = new HashMap();
        hashMap.put("web_payment_interface", "true");
        hashMap.put("offer_page_deeplink", "swiggy://offers");
        hashMap.put("clevertap_enabled", "true");
        hashMap.put("ads_tag_new", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("enable_gps_off_two_step_flow", "null");
        hashMap.put("enable_half_card_single_click_to_proceed", "true");
        hashMap.put("enable_post_order_address_icon", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("cart_webview_cache", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("iw_html_caching", "true");
        hashMap.put("cart_reject_api_throttle", PDLayoutAttributeObject.GLYPH_ORIENTATION_VERTICAL_ZERO_DEGREES);
        hashMap.put("cross_sell_variant", "1");
        hashMap.put("menu_header", "menuHeaderWidget_UX4");
        hashMap.put("show_more_details_tooltip", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.putAll(NetworkConfigUtils.Companion.getXPConfigMap());
        hashMap.put("show_home_page_onboarding", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("enable_menu_voice_search", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("big_image_item_details", "true");
        hashMap.put("show_serviceability_timer", "true");
        hashMap.put("Serviceability_timer_v2", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("item_dish_rating", "unfilled");
        hashMap.put("browsability_xp", "old_ui");
        hashMap.put("ntr_description", "true");
        hashMap.put("enable_genie_web_track", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("enable_new_nux_flow", "true");
        return hashMap;
    }

    public static int k(int i2, Context context) {
        return Math.round(TypedValue.applyDimension(1, i2, context.getResources().getDisplayMetrics()));
    }

    public static void l(SharedPreferences sharedPreferences) {
        List<String> f2 = in.swiggy.android.commons.utils.q.f(sharedPreferences);
        if (f2 != null && !f2.isEmpty()) {
            c = f2;
        }
    }

    public static LinkedList<String> m() {
        return d;
    }

    public static Map<String, String> n() {
        String json;
        HashMap hashMap = new HashMap();
        hashMap.put("v2_android_consumer_force_update", "1104");
        hashMap.put("v2_android_consumer_optional_update", "1104");
        hashMap.put("android_paytm_enabled_version_3", "true");
        hashMap.put("android_mobikwik_enabled", "true");
        hashMap.put("android_phonepe_enabled", "true");
        hashMap.put("android_lazy_pay_enabled", "true");
        hashMap.put("operational_city_bounds", "");
        hashMap.put("location_hint_listing", "true");
        hashMap.put("android_show_menu_extra_charges", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("feature_gate_smart_lock", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("android_track_pip_enable_v2", "true");
        hashMap.put("android_track_show_more_button_ENABLE", "true");
        hashMap.put("android_track_show_more_button_shown_count_limit", TrackOrderState.ORDER_CANCELLED);
        hashMap.put("android_gtm_enabled_v6", "true");
        hashMap.put("android_swiggylytics", "true");
        hashMap.put("android_places_api_unavailable", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("android_newrelic_enabled", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("app_update_after_days_count", "30");
        hashMap.put("app_update_view_threshold_count", TrackOrderState.ORDER_CANCELLED);
        hashMap.put("dash_force_clear_web", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("FLAG_SHOW_UNREAD_MESSAGE_COUNT", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("android_settings_api_call_time_limit_in_seconds", "1800");
        hashMap.put("similar_rest_unique_count", TrackOrderState.ORDER_PICKED_UP);
        hashMap.put("menu_source_attribution_steps_count", String.valueOf(4));
        hashMap.put("cart_source_attribution_steps_count", String.valueOf(4));
        hashMap.put("android_cart_reorder_enabled", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("v2_android_consumer_force_version_update", i.a());
        hashMap.put("rate_app_after_days", PDLayoutAttributeObject.GLYPH_ORIENTATION_VERTICAL_90_DEGREES);
        hashMap.put("android_dismissible_rate_card_enabled", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        Gson g2 = i0.g();
        ArrayList arrayList = new ArrayList();
        Type type = new b().getType();
        if (!(g2 instanceof Gson)) {
            json = g2.toJson(arrayList, type);
        } else {
            json = GsonInstrumentation.toJson(g2, arrayList, type);
        }
        hashMap.put("android_consumer_location_type_restrict", json);
        hashMap.put("android_track_national_flag", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("android_playstore_uri", "android-app://com.android.vending");
        hashMap.put("android_deferred_uris", "android-app://com.android.vending,android-app://in.swiggy.android,android-app://com.miui.global.packageinstaller,android-app://com.Slack,android-app://com.realme.securitycheck");
        hashMap.put("android_intercept_web_links_v4", "true");
        hashMap.put("android_intercept_mapped_web_links", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("android_web_download_enabled_v3", "true");
        hashMap.put("enable_home_full_screen_fireworks_anim", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("home_screen_fireworks_anim_start_time_in_millis", String.valueOf(1584873000000L));
        hashMap.put("home_screen_fireworks_anim_end_time_in_millis", String.valueOf(1584878400000L));
        hashMap.put("android_custom_dns_resolution_enabled", "true");
        hashMap.put("upi_vpa_payment_call_confirm_order_fallback_time", String.valueOf(5));
        hashMap.put("explore_emoji_search_enabled", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("game_v2_enabled", "true");
        hashMap.put("game_on_board_animation_shown_count_limit", TrackOrderState.ORDER_CANCELLED);
        hashMap.put("android_location_address_config_v2", "{\"outerRadius\":\"500\",\"innerRadius\":\"100\",\"activeAddress\":\"100\",\"recentAddress\":\"49\",\"cartAddressRadius\":\"500\"}");
        hashMap.put("android_covid_dialog_data", "");
        hashMap.put("swiggy_account_super_expired_show", "true");
        hashMap.put("android_quarantine_active", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("android_de_image_face_crop", "true");
        hashMap.put("hyperverge_config", "{\n        \"hyperverge_analytics_enable\":\"false\",\n        \"hyperverge_api_connect_timeout\": 120,\n        \"hyperverge_api_read_timeout\":120,\n        \"hyperverge_api_write_timeout\":120\n    }");
        hashMap.put("kyc_values", "");
        hashMap.put("share_location_times", TrackOrderState.ORDER_OTHER_ERROR);
        hashMap.put("share_location_timeout", TrackOrderState.ORDER_CANCELLED);
        hashMap.put("share_location_total_time", "35000");
        hashMap.put("share_location_radius", "300");
        hashMap.put("android_equitable_distance_threshold", "50000");
        hashMap.put("android_home_v2_first_page_cache_force_enable", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("android_home_page_v2_cache_ttl_in_sec", "60");
        hashMap.put(TejasConstants.HOME_V2_MIN_TTL_IN_SEC, "60");
        hashMap.put(TejasConstants.HOME_V2_MAX_TTL_IN_SEC, "300");
        hashMap.put("android_food_page_cache_ttl_in_sec", "60");
        hashMap.put(TejasConstants.FOOD_MIN_TTL_IN_SEC, "60");
        hashMap.put(TejasConstants.FOOD_MAX_TTL_IN_SEC, "300");
        hashMap.put("search_debounce_regular", "600");
        hashMap.put("show_track_fxm_oos_popup", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("snapping_limit", "30");
        hashMap.put("android_release_package_sign", "");
        hashMap.put("android_rrn_dialog", "<span><b>Refund Reference Number (RRN)</b> is given to us by your bank, after confirming that they have received the refund amount from Swiggy. Your bank may take some time to credit this amount to your account. Please call your bank's call center, to understand why it is not showing in your account.<br> <br> If the bank is unable to find the RRN, please raise a 'chargeback dispute' against that transaction.</span>");
        hashMap.put("android_refund_not_received_dialog_rrn_available", "<span>Refunds usually take a few working days to reflect in your account, depending on the processing speed of your bank/wallet. If you don’t see the money in your account, please connect with your bank/wallet, over customer support and give them the <b>Refund Reference number (RRN):</b> <font color = '#e46d47'>{0}</font> <br><br>If they still can’t find the RRN please raise a ‘chargeback dispute’ against this transaction.</span>");
        hashMap.put("android_refund_not_received_dialog_rrn_unavailable", "<span>Refunds usually take a few working days to reflect in your bank account, depending on the processing speed of your bank/wallet. If you don’t see the money in your account, please connect with your bank/wallet, over customer support. <br><br>If they cannot find your transaction, please raise a ‘chargeback dispute’ against that transaction.</span>");
        hashMap.put("android_refund_status_enabled", "true");
        hashMap.put("android_dash_refund_status_enabled", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("android_refund_history_enabled", "true");
        hashMap.put("android_refund_label_to", "To:");
        hashMap.put("android_refund_label_expected", "Expected by:");
        hashMap.put("android_release_package_sign", "");
        hashMap.put("email_feedback_autofill", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("android_fingerprint_logging_enabled", "true");
        hashMap.put("android_gps_location_sla", "60");
        hashMap.put("in_app_review_home", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("in_app_review_home_delay", TrackOrderState.ORDER_CANCELLED);
        hashMap.put("cred_eligibility_threshold_in_minutes", String.valueOf(1440));
        hashMap.put("enable_app_rating", "true");
        hashMap.put("swiggy_pay_specific_cookie_clear_enable", "true");
        hashMap.put("system_font_disable", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("handle_received_error", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("android_secure_flow_enable", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("android_enable_UX4_for_web_cart_payment", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("android_rbi_card_tokenization_info", "{\n    \"header\": \"As per RBI guidelines, Swiggy will no longer save your card details\",\n    \"description\": \"You can securely store it with the card provider.\",\n    \"points\": [\n      {\n        \"iconUrl\": \"PaymentLogos/ProtectLogos/Icon%201/protectCard_2x.png\",\n        \"title\": \"Protect your card from unauthorized use\"\n      },\n      {\n        \"iconUrl\": \"PaymentLogos/ProtectLogos/Icon%203/cardDetails_2x.png\",\n        \"title\": \"No need to enter your card details everytime\"\n      },\n      {\n        \"iconUrl\": \"PaymentLogos/ProtectLogos/Icon%202/swiggySecured_2x.png\",\n        \"title\": \"Securely activates only for Swiggy\"\n      }\n    ]\n} ");
        hashMap.put("android_hide_edit_button_secure_card", "true");
        if (in.swiggy.android.feature.payment.utils.b.b()) {
            hashMap.put("payment-secret-key", "");
        }
        hashMap.put("add_new_card_name", "Secure New Card");
        hashMap.put("cookies_remove_web_payment", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("cookies_remove_payment_account", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("location_gps_cta", "Fetching Accurate Location… ");
        hashMap.put("use_eco_image_video_quality", "true");
        hashMap.put("image_base_uri_wp", "res.cloudinary.com");
        hashMap.put("image_base_uri_wp_cnamed_cloudinary", "rich-media-assets.swiggy.com");
        hashMap.put("image_base_uri_wp_imagekit", "media-assets.swiggy.com");
        hashMap.put("enable_chat_bubble_v6", "true");
        hashMap.put("chat_bubble_polling", "30000");
        hashMap.put("pre_search_new_ui_enabled", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("pre_search_query_length", "15");
        hashMap.put("search_bar_placeholder_home", "Search for dishes, restaurants & groceries");
        hashMap.put("search_bar_placeholder_food", "Search for dishes & restaurants");
        hashMap.put("gamification_city_configuration", "[{\"city_id\":1,\"city_name\":\"BANGALORE\"}]");
        hashMap.put("clear_cache_on_missing_nav_widgets", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("de_vaccine_cta_base_url", "https://promos.swiggy.com/de-vaccinated-faqs/v4/index.html");
        hashMap.put("android_new_card_url", "https://payments.swiggy.com/?state=ADD_NEW_CARD");
        hashMap.put("android_edit_card_url", "https://payments.swiggy.com/?state=MANAGE_CARD");
        hashMap.put("enable_dash_instamart", "true");
        hashMap.put("enable_dash_stores", "true");
        hashMap.put("enable_dash_genie_v2", "true");
        hashMap.put("dash_store_link_list", "[\"listing\", \"menu\", \"collection\"]");
        hashMap.put("should_run_clear_cache_periodic_worker", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("should_cancel_clear_cache_periodic_worker", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("clear_cache_periodic_worker_repeat_interval", "7");
        hashMap.put("clear_cache_periodic_worker_repeat_interval_timeunit", "DAYS");
        hashMap.put("go_to_cart_enabled", "true");
        hashMap.put("should_fallback_to_listing", "true");
        hashMap.put("accessibility_feature_flag", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("accessibility_whitelisted_package_names", "talkback");
        hashMap.put("enable_remote_lottie_mxn_widget", "true");
        hashMap.put("android_new_relic_sampling", "");
        hashMap.put("capping_config", "");
        hashMap.put("android_assets_links_url_v2", "https://asset-caching.swiggy.com/asset-aggregator/main_v2.json");
        hashMap.put("menu_cross_sell_title_for_reorder", "Suggested pairings for");
        hashMap.put("android_cache_config", "{\"new_experiment\":10,\"old_experiment\":90}");
        hashMap.put("cache_experiment_enabled", "true");
        hashMap.put("location_refresh_cta_primary_text", "New Location Detected!");
        hashMap.put("location_refresh_cta_secondary_text", "You seem to have moved from your previous location. Tap to update location.");
        hashMap.put("location_refresh_cta_positive_action_text", "Update Location");
        hashMap.put("location_refresh_cta_negative_action_text", "Dismiss");
        hashMap.put("gifting_personalization_deeplink", "swiggy://webviewV2?webview_url=https://www.swiggy.com/moments/personalization&flow_id=gifting");
        hashMap.put("gifting_analytics_enabled", "true");
        hashMap.put("reset_gifting_flow_on_collection_id", "");
        hashMap.put("enable_gifting_flow_on_collection_ids", "");
        hashMap.put("enable_cart_plugin_v2", "true");
        hashMap.put("places_auto_complete_api_radius_in_metres", "15000");
        hashMap.put("enable_fast_current_location_provider", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("enable_connect_disconnect_for_location_updates", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("enable_rg_places_autosuggest", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("gps_off_two_steps_cta_primary_text", "Location permission is off");
        hashMap.put("gps_off_two_steps_cta_secondary_text", "Please grant us location permission for \n faster, more accurate deliveries");
        hashMap.put("gps_off_two_steps_cta_positive_action_text", "Grant Location Permission");
        hashMap.put("gps_off_two_steps_cta_negative_action_text", "Enter Location Manually");
        hashMap.put("track_slow_de_marker_update", "3000");
        hashMap.put(PageSkeletonConstants.DEFAULT_PAGE_SKELETON_INFO, PageSkeletonConstants.DEFAULT_PAGE_SKELETON_INFO_DEF);
        hashMap.put("ofo_nudge_data", "{\"enabled_cities\":\"\",\"radius\":1000,\"half_card_max_count\":1,\"should_exclude_home_work\":true}");
        hashMap.put("ofo_share_address_enabled", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("rg_debounce_interval_in_milliseconds", "200");
        hashMap.put("show_swiggy_one_benefits_filter_v3", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("show_swiggy_one_benefits_filter_v4", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("search_supported_types", "SWIGGY_FOOD, HEALTH_HUB, GENIE, INSTAMART, SCOOTSY");
        hashMap.put("instamart_search_enabled", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("instamart_error_cart_volume_exceeded", "With this item, the cart size will exceed what the delivery partner can safely carry on a bike.");
        hashMap.put("instamart_cart_error_cart_quantity_exceeded", "With this item, your cart weight will exceed %s kg, which is the maximum weight our delivery partner can safely carry.");
        hashMap.put("instamart_cart_error_cart_quantity_exceeded_one", "To ensure safe delivery, maximum of %d item can be added per order.");
        hashMap.put("instamart_cart_error_cart_quantity_exceeded_other", "To ensure safe delivery, maximum of %d items can be added per order.");
        hashMap.put("instamart_cart_error_item_quantity_exceeded_one", "Only %d quantity of this item can be added per order.");
        hashMap.put("instamart_cart_error_item_quantity_exceeded_other", "Only %d quantities of this item can be added per order.");
        hashMap.put("instamart_store_image", "InstamartAssets/Instamart_Search_img");
        hashMap.put("dash_timeline_polling_interval_in_seconds", "15");
        hashMap.put("engagement_api_retry_count", "1");
        hashMap.put("dbb_popup_show_delay_in_millis", "500");
        hashMap.put("address_share_account_page_card_enabled", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("address_share_info_card_enabled", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("address_share_info_card_title", "NOW, SHARE ADDRESSES WITH A TAP!");
        hashMap.put("address_share_info_card_additional_info", "Available on orders from restaurants. More coming soon.");
        hashMap.put("address_share_info_card_additional_info_visibility", "true");
        hashMap.put("address_share_info_card_line_1", "{Send exact addresses} to anyone using smart links");
        hashMap.put("address_share_info_card_line_2", "{Saving someone’s address?} Add receiver’s phone number and forget delivery hassles");
        hashMap.put("image-decoding-rgb-565-enabled", "true");
        hashMap.put("es-awarness-comms-splash-config", "{}");
        hashMap.put("es-awarness-comms-splash-city-config", "{}");
        hashMap.put("external_apps_list", "[\"com.application.zomato\"]");
        hashMap.put("next_query_view_enabled", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("image_preload_config_data", "{}");
        hashMap.put("android_video_audio_enabled", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("show_skip_in_onboarding_flow", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("onboarding_flow_max_count", "1");
        hashMap.put("onboarding_flow_enabled", "true");
        hashMap.put("enable_addon_fix_on_cart", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("enable_clevertap_image_params", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("ignore_crash_packages", "com.excelliance.multiaccounts");
        hashMap.put("send_attribution_event_via_swiggylytics", "true");
        hashMap.put("android_reverification_options_list", "[\"otp_via_sms\",\"verify_via_call\"]");
        hashMap.put("payment_config", "{\n        \"credEnabled\":false,\n        \"cardEnabled\": false,\n        \"netBankingEnabled\":false,\n        \"nativeUpiEnabled\":false\n    }");
        hashMap.put("enable_voice_directions_feature_wp", "true");
        hashMap.put("show_voice_directions_track_tooltip", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("new_ma_voice_directions_icon_visiblity", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("now_on_one_lottie_url", "https://media-assets.swiggy.com/swiggy/raw/upload/InstamartAssets/Swiggy%20One/One_animation_badge.json");
        hashMap.put("now_on_one_lottie_url", "https://media-assets.swiggy.com/swiggy/raw/upload/InstamartAssets/Swiggy%20One/One_animation_badge.json");
        hashMap.put("android_enable_video_header_changes", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("vertical_offset_kill_switch", "true");
        hashMap.put("enable_theme_drop_flag", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("android_explicit_signals", "{\"hiddenCard\":{\"title\":\"We have hidden {{RX}}\",\"subtitle\":\"You can unhide it from your Account section. Tell us more about your decision and help us recommend you better\"},\"feedbackReceived\":{\"title\":\"Feedback Received\",\"subtitle\":\"Thank you! This will help us personalise your recommendations better!\"},\"tooltipInfo\":{\"duration\":4,\"frequency\":3,\"title\":\"Tap to see more options for this restaurant\"}}");
        hashMap.put("android_in_session_smlt", "{\"collectionId\":\"82976\",\"tooltipText\":\"You can now discover similar\nrestaurants easily\"}");
        hashMap.put("enable_fav_collection", "true");
        hashMap.put("enable_frequency_capping", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("view_compat_loop_count", "200");
        hashMap.put("show_address_in_compose", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("enable_homepage_api_use_on_maps", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("web_cart_url", "");
        hashMap.put("web_payment_url", "");
        hashMap.put("android_swiggy_money_new_stack_url", "https://webviews.swiggy.com/swiggy-money/ledger/index.html");
        hashMap.put("enable_food_prefetch_new", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("enable_food_prefetch_kill_switch", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("should_clear_homepage_cache", "true");
        hashMap.put("android_xiaomi_push_target_devices", "xiaomi_miui_devices");
        hashMap.put("disabled_image_id", "disabled_restaurant_default_image_quvpkf.svg");
        hashMap.put("send_events_manually_enabled", "true");
        hashMap.put("send_events_manually_screens", "explore,landing-page-SWIGGY_ONE_NEVER,landing-page-SWIGGY_ONE_EXPIRED");
        hashMap.put("one_click_prompt_text", "Enabled for single click payments");
        hashMap.put("payment_card_manage_text", "MANAGE");
        hashMap.put("android_enable_visa_one_click", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("android_safety_net_api_key", "");
        hashMap.put("use_lp_directions_dash_android", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("enable_juspay_init_while_oncreate", "true");
        hashMap.put("request_event_tracking_enabled", "true");
        hashMap.put("log_request_event_threshold", "5000");
        hashMap.put("log_request_metadata_threshold", "2000");
        hashMap.put("enable_handpicked_android_v2", "true");
        hashMap.put("disable_handpicked_area", "true");
        hashMap.put("enable_instamax_android", "true");
        hashMap.put("enable_show_all_outlets", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("show_address_accuracy_warning_on_manage_address", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("enable_outlet_selector_v2", "true");
        hashMap.put("android_enable_custom_intent_chooser_bottomsheet", "true");
        hashMap.put("voice_directions_tooltip_label", "You can now add\nvoice instructions");
        hashMap.put("item_ratings", "true");
        hashMap.put("ftue_configuration", "");
        hashMap.put("item_details_message", "More Details");
        hashMap.put("newrelic_xp_logger", "");
        hashMap.put("android_enable_aod_v2", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("faster_outlet_card_wrap_title", "Same Restaurant, Another Outlet");
        hashMap.put("faster_outlet_serviceable_btn_label", "Switch to faster outlet now");
        hashMap.put("faster_outlet_unserviceable_btn_label", "Switch to this outlet now");
        hashMap.put("voice_search_suggestion_list", "Pizza,Domino's,Biryani");
        hashMap.put("menu_voice_search_suggestion_list", "");
        hashMap.put("cache_cross_sell_image", "true");
        hashMap.putAll(j());
        hashMap.putAll(in.swiggy.android.constants.a.a.a());
        hashMap.putAll(in.swiggy.android.constants.d.a.a());
        hashMap.putAll(l.c.a());
        hashMap.putAll(NetworkConfigUtils.Companion.getWPConfigMap());
        hashMap.put("ofo_bottom_sheet_info_text_3_visibility", "true");
        hashMap.put("home_page_redirection", "true");
        hashMap.put("descriptive_shimmer_data", "");
        hashMap.put("android_page_load_external_widget_popup_enabled", "true");
        hashMap.put("android_external_widget_video_config", "{\"show_progress_bar\":false,\"is_video_muted\": false,\"show_mute_button\": false}");
        hashMap.put("review_summary_visibility", "true");
        hashMap.put("append_collection_list", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("disable_screen_capturing_at_payment_screen", "true");
        hashMap.put("swiggy_domain_check_on_swiggy_pay_enabled", "true");
        hashMap.put("android_web_resource_download_retry", PDLayoutAttributeObject.GLYPH_ORIENTATION_VERTICAL_ZERO_DEGREES);
        hashMap.put("android_web_resource_download_delay_in_seconds", PDLayoutAttributeObject.GLYPH_ORIENTATION_VERTICAL_ZERO_DEGREES);
        hashMap.put("android_enable_webview_refresh_handling", "true");
        hashMap.put("android_enable_webiew_refresh_UPI_Intent", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("android_enable_webiew_refresh_UPI_Collect", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("android_enable_webiew_refresh_Juspay", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("android_enable_webiew_refresh_Juspay_NB", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("android_enable_webiew_refresh_Amazon_Pay", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("android_enable_webview_refresh_handling_lynx_activity", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("android_swiggy_money_new_stack_base_url", "https://webviews.swiggy.com/swiggy-money/");
        hashMap.put("android_swiggy_money_new_stack_mapping_config", "{\n        \"mappings\":[{\n         \"old_config\":\"swiggy-money/add-money\",\n          \"new_config\":\"payments/index.html\"\n        },{\n         \"old_config\":\"swiggy-money/add-voucher\",\n          \"new_config\":\"voucher/index.html\"\n        },{\n            \"old_config\":\"swiggy-money\",\n            \"new_config\":\"ledger/index.html\"\n        },{\n         \"old_config\":\"swiggy-money/kyc\",\n          \"new_config\":\"ledger/index.html\"\n        }\n       ]\n    }");
        hashMap.put("chat_auto_pay_endpoint", "/help/conversations?issueType=order&title=I%20have%20payment%20and%20bill%20related%20queries%20for%20this%20order&isBackupNode=false&isLeaf=false&platform=swiggy-android");
        hashMap.put("lazy_metrics_enable", "true");
        hashMap.put("abuse_breach_strings_map", "{  \"title\": \"Uh oh, login limit exceeded!\",\n  \"subtitle\": \"Swiggy One can be used only on <b>%s device</b> at a time. To continue enjoying your benefits, logout from additional devices.\",\n  \"primary_cta_text\": \"Manage devices\",\n  \"secondary_cta_text\": \"Logout from this device\",\n  \"policy_link\": \"https://www.swiggy.com/terms-and-conditions\"\n}");
        hashMap.put("android_enable_abuse_breach_feature", "true");
        hashMap.put("dineout_floating_button_scroll_percentage", PDLayoutAttributeObject.GLYPH_ORIENTATION_VERTICAL_ZERO_DEGREES);
        hashMap.put("android_handle_keyboard_state_for_urls", "");
        hashMap.put("private_brands_restaurant_ids", "");
        hashMap.put("show_home_page_onboarding", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("android_menu_rating_info_enable", "true");
        hashMap.put("android_menu_rating_info_text", "Ratings are verified and based on recent orders, to ensure you receive accurate feedback.");
        hashMap.put("", "Some items from this customisation are unavailable at the moment");
        hashMap.put("android_enable_cpv_impression_logic", "true");
        hashMap.put("android_third_party_coupons_deeplink", "swiggy://webviewV2?payment_plugin=true&pushScreen=true&webview_url=https://webviews.swiggy.com/swiggy-one-subscription/home/");
        hashMap.put("menu_closing_warning_time", TrackOrderState.ORDER_PICKED_UP);
        hashMap.put("android_third_party_coupons_enabled", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("android_enable_tabbed_resaturant_view", "true");
        hashMap.put("android_enable_tabbed_resaturant_view", "true");
        hashMap.put("cbcc_splash_image_id", "v1687430717/HIP%20STREET/Entry_Screen_Lottie_WO_BG.png");
        hashMap.put("should_log_events_for_splash_cbcc", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("should_log_events_for_splash_cbcc", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put(TejasConstants.ENABLE_V4_PROFILE_API, TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("progressive_banner_config", "{\"enableFilterTriggerCount\":2,\"disableFilterTriggerCount\":2,\"inProgressState\":{\"title\":\"You’ve completed %d% already!\",\"subtitle\":\"Only %d more questions to get better suggestions\",\"iconId\":\"MERCHANDISING_BANNERS/IMAGES/MERCH/2023/11/27/b7d3fa38-6732-47a2-b7c9-30bc490137cf_in progress.png\"},\"endState\":{\"title\":\"You’ve got quite a taste 👌\",\"subtitle\":\"We’re working to bring\nbetter recommendations\nto you soon!\",\"iconId\":\"MERCHANDISING_BANNERS/IMAGES/MERCH/2023/11/27/275ce722-79e0-41df-8b0b-5ab762ba497a_start.png\"},\"loaderLottieUrl\":\"https://media-assets.swiggy.com/swiggy/image/upload/loader_optimized.json\",\"loaderBgColor\":\"#1B222E\",\"loaderText\":\"Finding the right questions to get to know you better:)\"}");
        return hashMap;
    }

    public static LinkedList<String> o() {
        return e;
    }

    public static boolean p() {
        return g;
    }

    public static LinkedList<String> q() {
        return f;
    }

    public static List<String> r() {
        return c;
    }

    public static LinkedList<String> s() {
        return j;
    }

    public static Map<String, String> t() {
        HashMap hashMap = new HashMap();
        hashMap.put("dash_timeline_polling_interval_in_seconds", "15");
        hashMap.put("nux_screen_data", "{\"video_url\":\"https://media-assets.swiggy.com/swiggy/video/upload/v1685089112/Footage_Final_Shorter_xskkev.mp4\",\"video_id\":\"Footage_Final_Shorter_xskkev.mp4\",\"android_video_downscale_manufactures_enable\":\"oppo,vivo\",\"android_decoder_fallback_enable\":\"false\",\"video_sections\":[{\"start\":0,\"title\":\"Food\",\"subtitle\":\"Order from top restaurants\"},{\"start\":3,\"title\":\"Instamart\",\"subtitle\":\"Get groceries in 15-30 mins\"},{\"start\":8,\"title\":\"Dineout \",\"subtitle\":\"Up to 40% off on dining bills\"}]}");
        hashMap.put("whatsapp_default_otp_v2", "variant1");
        hashMap.put("android_whatsapp_default_otp_enabled", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("ofo_share_address_on_search_loc_enabled", "true");
        hashMap.put("integrity_decrypt_key", "");
        hashMap.put("integrity_verify_key", "");
        hashMap.put("android_fingerprint_logging_enabled", "true");
        hashMap.put("use_eco_image_video_quality", "true");
        hashMap.put("show_home_page_onboarding", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("android_enable_abuse_breach_feature", "true");
        hashMap.put("abuse_breach_strings_map", "{  \"title\": \"Uh oh, login limit exceeded!\",\n  \"subtitle\": \"Swiggy One can be used only on <b>%s device</b> at a time. To continue enjoying your benefits, logout from additional devices.\",\n  \"primary_cta_text\": \"Manage devices\",\n  \"secondary_cta_text\": \"Logout from this device\",\n  \"policy_link\": \"https://www.swiggy.com/terms-and-conditions\"\n}");
        hashMap.put("android_deferred_uris", "android-app://com.android.vending,android-app://in.swiggy.android,android-app://com.miui.global.packageinstaller,android-app://com.Slack,android-app://com.realme.securitycheck");
        hashMap.put("android_reverification_options_list", "[\"otp_via_sms\",\"verify_via_call\"]");
        hashMap.put("migration_to_imagekit_flag", "true");
        hashMap.put("media_platform_hit_miss_header", "X-Cache");
        hashMap.put("ux4_media_platform_v2", "imagekit");
        hashMap.put("image_base_uri_wp", "res.cloudinary.com");
        hashMap.put("image_base_uri_wp_cnamed_cloudinary", "rich-media-assets.swiggy.com");
        hashMap.put("image_base_uri_wp_imagekit", "media-assets.swiggy.com");
        hashMap.put("onboard_landing_screen", "{\"landingPageNUDU_android\":{\"title\":\"A welcome gift just for you\",\"subtitle\":\"Login or signup to get your gift\",\"mobileTitle\":\"Mobile Number\",\"mobilePlaceholder\":\"Enter Mobile Number\",\"cta\":\"Continue\",\"skipCTA\":\"Skip for now\",\"isSkipVisible\":true}}");
        hashMap.put("migration_to_ozone_flag", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("ozone_relative_sequence_logging_flag", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("ozone_retry_count_flag", TrackOrderState.ORDER_PICKED_UP);
        hashMap.put("access_token_threshold_time", "86400");
        return hashMap;
    }

    public static List<String> u() {
        HashMap hashMap = new HashMap();
        hashMap.put("whatsapp_default_otp_v2", "variant1");
        hashMap.put("show_home_page_onboarding", TejasConstants.ENABLE_V4_PROFILE_API_DEFAULT);
        hashMap.put("ux4_media_platform_v2", "imagekit");
        return new ArrayList(hashMap.keySet());
    }

    public static String v() {
        return l;
    }

    public static String w() {
        return k;
    }

    public static String x(Long l2) {
        String valueOf;
        String valueOf2;
        String str;
        try {
            String[] strArr = {"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"};
            Date date = new Date(l2.longValue() * 1000);
            new SimpleDateFormat("dd/MM/yyyy HH:MM:ss").setTimeZone(DesugarTimeZone.getTimeZone(DateUtils.TIME_ZONE_ASIA_KOLKATA));
            int month = date.getMonth();
            int date2 = date.getDate();
            int hours = date.getHours();
            int minutes = date.getMinutes();
            if (hours < 13) {
                if (hours < 10) {
                    valueOf = "" + hours;
                } else {
                    valueOf = String.valueOf(hours);
                }
            } else {
                int i2 = hours - 12;
                if (i2 < 10) {
                    valueOf = "" + i2;
                } else {
                    valueOf = String.valueOf(i2);
                }
            }
            if (minutes < 10) {
                valueOf2 = PDLayoutAttributeObject.GLYPH_ORIENTATION_VERTICAL_ZERO_DEGREES + minutes;
            } else {
                valueOf2 = String.valueOf(minutes);
            }
            StringBuilder sb = new StringBuilder();
            sb.append(valueOf);
            sb.append(Constants.COLON_SEPARATOR);
            sb.append(valueOf2);
            if (hours < 12) {
                str = " AM";
            } else {
                str = " PM";
            }
            sb.append(str);
            return strArr[month] + " " + date2 + ", " + sb.toString();
        } catch (NumberFormatException e2) {
            x.i(b, e2);
            return "";
        }
    }

    public static void y(String str) {
        e.add(0, str);
        if (e.size() > 5) {
            e.removeLast();
        }
    }

    public static void z(String str) {
        f.add(str);
    }
}