protected function saveFromRequest(array $pairs = []): self 	{ 		foreach ($pairs as $key => $options) { 			$inputs = $this->request->hasFile((string) $key) ? $this->request->file($key) : $this->request->input($key);  			if (!$inputs) { 				continue; 			}  			if (!is_array($inputs)) { 				$inputs = [$inputs]; 			}  			foreach ($inputs as $input) { 				if ($input instanceof UploadedFile) { 					$this->saveFromFileUpload($input, $options); 				} elseif (is_resource($input)) { 					$this->saveFromStream($input, $options); 				} elseif (is_string($input)) { 					if ($options['html'] ?? false) { 						$this->saveFromHtml((string) $key, $input, $options); 					} elseif (filter_var($input, FILTER_VALIDATE_URL)) { 						$this->saveFromUrl($input, $options); 					} elseif (base64_decode($input, true)) { 						$this->saveFromBase64($input, $options); 					} else { 						$this->saveFromString($input, $options); 					} 				} 			} 		}  		$this->model->unsetRelation('media');  		return $this; 	}