public function getValidationRulesTabs(): array 	{ 		$rules = [];  		foreach (getCurrentLanguages() as $lang) { 			$required = ($lang === getMainActiveLanguage()) || ($lang === getDefaultLanguage());  			$rules['title.' . $lang] = [$required ? 'required' : 'nullable', 'string', 'max:50']; 			$rules['text.' . $lang] = [$required ? 'required' : 'nullable', 'string', 'max:1000']; 		}  		$rules['text_position'] = ['required', 'string', 'max:50']; 		$rules['background_color'] = ['required', 'string', 'max:50']; 		$rules['text_color'] = ['required', 'string', 'max:50']; 		$rules['media'] = ['required', 'max:' . setting('max_upload_size') / 1024, new SafeWebp];  		return $rules; 	}