Convert Image Url to Base64 Angular

import { Component } from '@angular/core'; @Component({   selector: 'my-app',   templateUrl: './app.component.html',   styleUrls:  }) export class AppComponent  {   name = 'Angular';   constructor(){     this.toDataURL('https://pbs.twimg.com/profile_images/558329813782376448/H2cb-84q_400x400.jpeg', function (dataUrl) { console.log(dataUrl)     })   }   toDataURL(url, callback) {         var xhr = new XMLHttpRequest();         xhr.onload = function () {             var reader = new FileReader();             reader.onloadend = function () {                 callback(reader.result);             }             reader.readAsDataURL(xhr.response);         };         xhr.open('GET', url);         xhr.responseType = 'blob';         xhr.send();     } }https://stackoverflow.com/questions/57155825/converting-an-image-url-to-base64-in-angular https://plnkr.co/edit/mDqbExlEBzb7EalN?preview

elasticsearch xampp magento 2.4

php bin/magento setup:install --base-url="http://localhost/vifoznew/" --db-host="localhost" --db-name="vifoznew24" --db-user="root" --admin-firstname="admin" --admin-lastname="admin" --admin-email="niravalldonetech@gmail.com" --admin-user="admin" --admin-password="Admin123" --language="en_US" --currency="USD" --timezone="America/Chicago" --use-rewrites="1" --backend-frontname="admin" --search-engine=elasticsearch7 --elasticsearch-host="localhost" --elasticsearch-port=9200