<?php

return [
    /*
    |--------------------------------------------------------------------------
    | Onboarding Configuration
    |--------------------------------------------------------------------------
    |
    | Configuration options for user onboarding process
    |
    */

    'require_phone_verification' => env('REQUIRE_PHONE_VERIFICATION', true),
    'require_channel_membership' => env('REQUIRE_CHANNEL_MEMBERSHIP', false),

    'phone_gate_policy' => env('PHONE_GATE_POLICY', 'hard_gate'), // soft_gate or hard_gate

    'required_channels' => [
        // Add channel configurations here
        // [
        //     'title' => 'کانال اصلی',
        //     'chat_id' => '@channel_username',
        //     'link' => 'https://t.me/channel_username'
        // ]
    ],

    'progress_bar_enabled' => env('ONBOARDING_PROGRESS_BAR', true),

    'city_search_fuzzy_threshold' => env('CITY_SEARCH_FUZZY_THRESHOLD', 2),
    'city_suggestions_limit' => env('CITY_SUGGESTIONS_LIMIT', 5),
    'city_options_limit' => env('ONBOARDING_CITY_OPTIONS_LIMIT', 12),
];
