portainer/app/react/docker/images/queries/encodeRegistryCredentials.ts