public function storeMetadata(Collection $request): void 	{ 		$agent = new Agent;  		$user_agent = $request->get('meta')['user_agent'] ?? ($agent->getUserAgent()); 		$browser = $request->get('meta')['browser'] ?? ($agent->browser() . ' ' . $agent->version($agent->browser())); 		$platform = $request->get('meta')['platform'] ?? ($agent->platform() . ' ' . $agent->version($agent->platform())); 		$device = $request->get('meta')['device'] ?? ($agent->device());  		$this->metadata()->updateOrCreate([], [ 			'user_agent' => $user_agent, 			'screen_width' => $request->get('meta')['screen_width'] ?? null, 			'screen_height' => $request->get('meta')['screen_height'] ?? null, 			'platform' => $platform, 			'browser' => $browser, 			'device' => $device, 		]); 	}