true]); js::data('app', [ 'adm' => false, 'host' => SITEHOST, 'hostSearch' => Geo::url(), 'rootStatic' => SITEURL_STATIC, 'cookiePrefix' => bff::cookiePrefix(), 'regionPreSuggest' => Geo::regionPreSuggest(), 'lng' => Lang::current(), 'rtl' => Lang::isRTL(), 'lang' => bff::filter('js.app.lang', [ 'fav_in' => _t('listings', 'Add to Favorites'), 'fav_out' => _t('listings', 'Remove from Favorites'), 'fav_added_msg' => _t('listings', 'You can see all your favorite listings here', [ 'fav_link' => 'href="' . Listings::url('my.favs') . '" class="green-link"', ]), 'fav_added_title' => _t('listings', 'Listing added to favorites'), 'fav_limit' => _t('listings', 'Log in to add more listings to your favorites.'), 'form_btn_loading' => _t('', 'Please, wait…'), 'form_alert_errors' => _t('', 'When completing the form, the following errors occurred:'), 'form_alert_required' => _t('', 'Fill in all required fields, please'), ]), 'mapsProvider' => Geo::mapsType(), 'logined' => (User::id() > 0), 'device' => bff::device(), 'catsFilterLevel' => Listings::catsFilterLevel(), ]);