public function exportPulsReportPdf(ClientSurvey $client_survey, GetPulsReport $request): Response|View 	{ 		$locale = $request->language ?? DomainLanguages::getDefaultLanguage(); 		$is_preview = !$request->boolean('download');  		$this->loadClientSurvey($client_survey); 		$this->preparePulsGeneralDataObject($client_survey, $request, $locale);  		$view = $this->getPulsReport($client_survey, $this->pulsGeneralDataObject, $locale, $is_preview);  		$name = $client_survey->generateDownloadFileNameForPulsReport($locale);  		$userActivityService = new UserActivityService($request); 		$userActivityService->createCustomEntry($client_survey, UserActivityType::Read);  		if ($is_preview) { 			return $view; 		}  		$data = $this->chromePdfService->generatePdf($view->render());  		return response()->make($data, 200, [ 			'Content-Type' => 'application/pdf', 			'Content-Disposition' => "attachment; filename=$name", 		]); 	}