1-calculate-your-images-focus-point

        if (!focus) {
          return 'background-position: center;'
        }
        return `object-position: ${coordsToPercent(focus.x)}% ${100 - coordsToPercent(focus.y)}%;`
      },
      fillFixSize: ({ forceSize, $largeInlineMedia }) => !$largeInlineMedia && !forceSize,
      displaySrc: ({ blurhash, error, src, fallback }) => (blurhash || (error && fallback) || src)
    }
  }
</script>
