          self.set_blur_and_threshold()
          logger.trace("Initialized: %s", self.__class__.__name__)
  
      @property
      def mask(self):
          """ numpy.ndarray: The mask at the size of :attr:`stored_size` with any requested blurring,
          threshold amount and centering applied."""
          mask = self.stored_mask
          if self._threshold != 0.0 or self._blur["kernel"] != 0:
              mask = mask.copy()
          if self._threshold != 0.0:
              mask[mask < self._threshold] = 0.0
 
</s> remove         if self._threshold != 0.0 or self._blur["kernel"] != 0:
 </s> add         if self._threshold != 0.0 or self._blur_kernel != 0: </s> remove         logger.trace("Initialized: %s", self.__class__.__name__)
 </s> add         logger.trace("Initialized: %s", self.__class__.__name__)  # type: ignore </s> remove         if self._blur["kernel"] != 0:
            mask = BlurMask(self._blur["type"],
 </s> add         if self._blur_kernel != 0 and self._blur_type is not None:
            mask = BlurMask(self._blur_type, </s> remove                             self._blur["kernel"],
                            passes=self._blur["passes"]).blurred
 </s> add                             self._blur_kernel,
                            passes=self._blur_passes).blurred </s> remove         self._blur = dict()
        self._blur_kernel = 0
 </s> add         self._blur_type: Optional[Literal["gaussian", "normalized"]] = None
        self._blur_passes: int = 0
        self._blur_kernel: Union[float, int] = 0
    def mask(self) -> np.ndarray:
        """ :class:`numpy.ndarray`: The mask at the size of :attr:`stored_size` with any requested
        blurring, threshold amount and centering applied."""
          self.set_blur_and_threshold()
          logger.trace("Initialized: %s", self.__class__.__name__)
  
      @property
    def mask(self) -> np.ndarray:
        """ :class:`numpy.ndarray`: The mask at the size of :attr:`stored_size` with any requested
        blurring, threshold amount and centering applied."""
    def mask(self) -> np.ndarray:
        """ :class:`numpy.ndarray`: The mask at the size of :attr:`stored_size` with any requested
        blurring, threshold amount and centering applied."""
    def mask(self) -> np.ndarray:
        """ :class:`numpy.ndarray`: The mask at the size of :attr:`stored_size` with any requested
        blurring, threshold amount and centering applied."""
          mask = self.stored_mask
          if self._threshold != 0.0 or self._blur["kernel"] != 0:
              mask = mask.copy()
          if self._threshold != 0.0:
              mask[mask < self._threshold] = 0.0
keep keep keep keep replace replace replace keep keep keep keep keep
 lib.align updates:
  - alignments.py
    - Add typed dicts for imported alignments
    - Explicitly check for presence of thumb value in alignments dict
    - linting
  - detected_face.py
    - Typing
    - Linting
    - Legacy support for pre-aligned face
    - Update dependencies to new property names 
lib/align/detected_face.py