whois.handle: DO-13
whois.name: DigitalOcean, LLC
whois.cidrs: 209.38.0.0/16
whois.created: 2021-10-01T00:00:00.000000
whois.updated: 2024-05-07T00:00:00.000000
whois.allocation_type: ALLOCATION
whois.handle: DO-13
whois.name: DigitalOcean, LLC
whois.street: 105 Edgeview Drive, Suite 425
whois.city: Broomfield
whois.state: CO
whois.postal_code: 80021
whois.country: US
whois.handle: DIGIT19-ARIN
whois.name: DigitalOcean Abuse
whois.email: abuse@digitalocean.com
whois.handle: NOC32014-ARIN
whois.name: Network Operations Center
whois.email: noc@digitalocean.com
whois.handle: NOC32014-ARIN
whois.name: Network Operations Center
whois.email: noc@digitalocean.com
services.protocol: SSH
services.transport_protocol: TCP
services.scan_time: 2025-07-27T18:34:39.949496
services.banner: SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.13
services.source: OSI_APPLICATION_LAYER
services.part: a
services.vendor: OpenBSD
services.product: OpenSSH
services.version: 8.9p1
services.cpe: cpe:2.3:a:openbsd:openssh:8.9p1:*:*:*:*:*:*:*
services.source: OSI_TRANSPORT_LAYER
services.part: o
services.product: linux
services.cpe: cpe:2.3:o:*:linux:*:*:*:*:*:*:*:*
services.source: OSI_APPLICATION_LAYER
services.part: o
services.vendor: Ubuntu
services.product: Linux
services.cpe: cpe:2.3:o:canonical:ubuntu_linux:*:*:*:*:*:*:*:*
services.value: remote-access
services.raw: SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.13
services.protocol_version: 2.0
services.software_version: OpenSSH_8.9p1
services.comment: Ubuntu-3ubuntu0.13
services.kex_algorithms: curve25519-sha256 curve25519-sha256@libssh.org ecdh-sha2-nistp256 ecdh-sha2-nistp384 ecdh-sha2-nistp521 sntrup761x25519-sha512@openssh.com diffie-hellman-group-exchange-sha256 diffie-hellman-group16-sha512 diffie-hellman-group18-sha512 diffie-hellman-group14-sha256 kex-strict-s-v00@openssh.com
services.host_key_algorithms: rsa-sha2-512 rsa-sha2-256 ecdsa-sha2-nistp256 ssh-ed25519
services.client_to_server_ciphers: chacha20-poly1305@openssh.com aes128-ctr aes192-ctr aes256-ctr aes128-gcm@openssh.com aes256-gcm@openssh.com
services.server_to_client_ciphers: chacha20-poly1305@openssh.com aes128-ctr aes192-ctr aes256-ctr aes128-gcm@openssh.com aes256-gcm@openssh.com
services.client_to_server_macs: umac-64-etm@openssh.com umac-128-etm@openssh.com hmac-sha2-256-etm@openssh.com hmac-sha2-512-etm@openssh.com hmac-sha1-etm@openssh.com umac-64@openssh.com umac-128@openssh.com hmac-sha2-256 hmac-sha2-512 hmac-sha1
services.server_to_client_macs: umac-64-etm@openssh.com umac-128-etm@openssh.com hmac-sha2-256-etm@openssh.com hmac-sha2-512-etm@openssh.com hmac-sha1-etm@openssh.com umac-64@openssh.com umac-128@openssh.com hmac-sha2-256 hmac-sha2-512 hmac-sha1
services.client_to_server_compression: none zlib@openssh.com
services.server_to_client_compression: none zlib@openssh.com
services.kex_algorithm: curve25519-sha256@libssh.org
services.host_key_algorithm: ecdsa-sha2-nistp256
services.cipher: aes128-ctr
services.mac: hmac-sha2-256
services.compression: none
services.cipher: aes128-ctr
services.mac: hmac-sha2-256
services.compression: none
services.curve: P-256
services.hassh_fingerprint: 41ff3ecd1458b0bf86e1b4891636213e
services.protocol: HTTP
services.transport_protocol: TCP
services.scan_time: 2025-07-28T01:47:34.631569
services.banner: HTTP/1.1 404 Not Found
  Server: nginx/1.18.0 (Ubuntu)
  Date:  <REDACTED>
  Content-Type: text/html
  Transfer-Encoding: chunked
  Connection: keep-alive
  Content-Encoding: gzip
  
services.source: OSI_APPLICATION_LAYER
services.part: a
services.vendor: nginx
services.product: nginx
services.version: 1.18.0
services.cpe: cpe:2.3:a:f5:nginx:1.18.0:*:*:*:*:*:*:*
services.source: OSI_TRANSPORT_LAYER
services.part: o
services.product: linux
services.cpe: cpe:2.3:o:*:linux:*:*:*:*:*:*:*:*
services.path: /
services.endpoint_type: HTTP
services.scan_time: 2025-07-28T01:47:34.631569
services.uri: http://209.38.241.163/
services.protocol: HTTP/1.1
services.status_reason: Not Found
services.key: Transfer-Encoding
services.headers: chunked
services.key: Server
services.headers: nginx/1.18.0 (Ubuntu)
services.key: Content-Type
services.headers: text/html
services.key: Date
services.headers: <REDACTED>
services.key: Content-Encoding
services.headers: gzip
services.key: Connection
services.headers: keep-alive
services.html_tags: <title>404 Not Found</title>
services.body: <html>
  <head><title>404 Not Found</title></head>
  <body>
  <center><h1>404 Not Found</h1></center>
  <hr><center>nginx/1.18.0 (Ubuntu)</center>
  </body>
  </html>
  
services.body_hash_sha1: sha1:d01c97e2944166ed23e47e4a62ff471ab8fa031f
services.supported_versions: HTTP/1.1
services.protocol: HTTP
services.transport_protocol: TCP
services.scan_time: 2025-07-27T18:00:29.266259
services.banner: HTTP/1.1 200 OK
  Server: nginx/1.18.0 (Ubuntu)
  Content-Type: text/html; charset=UTF-8
  Transfer-Encoding: chunked
  Connection: keep-alive
  Cache-Control: no-cache, private
  Date:  <REDACTED>
  Set-Cookie: XSRF-TOKEN=eyJpdiI6InAvWTdRK0dRT0p3NHpmVngrYXNuVEE9PSIsInZhbHVlIjoiM0J2Rjc3dmFISEk0V3RFcWdLdExDNTBic2NMa0tTbXovMThMaEFoNUE5VExFVVZoTE1Dc0RvMUFXTHpWUkV1cFl0c090THNickRpNEZZK3I5Y2RscWVNRk1HclUzbHNlZGhrbm50MzlsZzI4MFJ4VUJMck52dFRxTkthYnMzUXMiLCJtYWMiOiIxMmNkOWZjOWU1ZGExNGViZDE2NTgzOTRmMjQ5NWUxN2UyOTM0NGMzYWNiOGM0ZTI4YmFlMzQ2MzM3MjQzNzkwIiwidGFnIjoiIn0%3D; expires=Sun, 27-Jul-2025 20:00:33 GMT; Max-Age=7200; path=/; samesite=lax
  Set-Cookie: settleswift_session=eyJpdiI6ImlucXRrUU9oTXdkTGg3QkhhcVhTc1E9PSIsInZhbHVlIjoiVUlEeTJIUHJoZEl1MVlpSVRWb0wyVC9xWTlLU3R1c0pRZUw0eHFuSXVhR0FHNlFRN3E2NnFtTURUeUNGNkE1Ri80QkEwcDhtaytTS0RLYjNvM1UzTTVyL29zRXBORG8zeGZxL3JkZzdzRG9LNHlqNDNTa0NrRUlHdWtqZVBLL28iLCJtYWMiOiI1NmY0NTAzMTBmMWZjZGRhYWZjMTk3MzY5ODlhNzdhYzcyZDlkNmU4M2M2ZTA0NDdiZjA4MzA1ZDgwMzkwMGUxIiwidGFnIjoiIn0%3D; expires=Sun, 27-Jul-2025 20:00:33 GMT; Max-Age=7200; path=/; httponly; samesite=lax
  Content-Encoding: gzip
  
services.version_selected: TLSv1_3
services.cipher_selected: TLS_CHACHA20_POLY1305_SHA256
services.fingerprint_sha256: 9d7c3f1aa6ad2b2ec0d5cf1e246f8d9ae6cbc9fd0755ad37bb974b1f2fb603f3
services.subject_dn: C=US, O=Let's Encrypt, CN=R10
services.issuer_dn: C=US, O=Internet Security Research Group, CN=ISRG Root X1
services.ja4s: t130200_1303_a56c5b993250
services.version: TLSv1_3
services.ja4s: t130200_1303_a56c5b993250
services.version: TLSv1_2
services.ja4s: t120200_cca8_344b4dce5a52
services.names: settleswift.settlepay-ksa.com www.settleswift.settlepay-ksa.com
services.issuer_dn: C=US, O=Let's Encrypt, CN=R10
services.common_name: R10
services.country: US
services.organization: Let's Encrypt
services.subject_dn: CN=settleswift.settlepay-ksa.com
services.common_name: settleswift.settlepay-ksa.com
services.source: OSI_APPLICATION_LAYER
services.part: a
services.vendor: nginx
services.product: nginx
services.version: 1.18.0
services.cpe: cpe:2.3:a:f5:nginx:1.18.0:*:*:*:*:*:*:*
services.source: OSI_TRANSPORT_LAYER
services.part: o
services.product: linux
services.cpe: cpe:2.3:o:*:linux:*:*:*:*:*:*:*:*
services.value: bootstrap
services.value: jquery
services.value: select2
services.value: swiper
services.value: login-page
services.path: /login
services.endpoint_type: HTTP
services.scan_time: 2025-07-27T18:00:29.266259
services.uri: https://209.38.241.163/login
services.protocol: HTTP/1.1
services.status_reason: OK
services.key: Transfer-Encoding
services.headers: chunked
services.key: Server
services.headers: nginx/1.18.0 (Ubuntu)
services.key: Cache-Control
services.headers: no-cache, private
services.key: Content-Type
services.headers: text/html; charset=UTF-8
services.key: Date
services.headers: <REDACTED>
services.key: Set-Cookie
services.headers: XSRF-TOKEN=eyJpdiI6InAvWTdRK0dRT0p3NHpmVngrYXNuVEE9PSIsInZhbHVlIjoiM0J2Rjc3dmFISEk0V3RFcWdLdExDNTBic2NMa0tTbXovMThMaEFoNUE5VExFVVZoTE1Dc0RvMUFXTHpWUkV1cFl0c090THNickRpNEZZK3I5Y2RscWVNRk1HclUzbHNlZGhrbm50MzlsZzI4MFJ4VUJMck52dFRxTkthYnMzUXMiLCJtYWMiOiIxMmNkOWZjOWU1ZGExNGViZDE2NTgzOTRmMjQ5NWUxN2UyOTM0NGMzYWNiOGM0ZTI4YmFlMzQ2MzM3MjQzNzkwIiwidGFnIjoiIn0%3D; expires=Sun, 27-Jul-2025 20:00:33 GMT; Max-Age=7200; path=/; samesite=lax settleswift_session=eyJpdiI6ImlucXRrUU9oTXdkTGg3QkhhcVhTc1E9PSIsInZhbHVlIjoiVUlEeTJIUHJoZEl1MVlpSVRWb0wyVC9xWTlLU3R1c0pRZUw0eHFuSXVhR0FHNlFRN3E2NnFtTURUeUNGNkE1Ri80QkEwcDhtaytTS0RLYjNvM1UzTTVyL29zRXBORG8zeGZxL3JkZzdzRG9LNHlqNDNTa0NrRUlHdWtqZVBLL28iLCJtYWMiOiI1NmY0NTAzMTBmMWZjZGRhYWZjMTk3MzY5ODlhNzdhYzcyZDlkNmU4M2M2ZTA0NDdiZjA4MzA1ZDgwMzkwMGUxIiwidGFnIjoiIn0%3D; expires=Sun, 27-Jul-2025 20:00:33 GMT; Max-Age=7200; path=/; httponly; samesite=lax
services.key: Content-Encoding
services.headers: gzip
services.key: Connection
services.headers: keep-alive
services.html_tags: <title>SettleSwift - User Login</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <meta name="csrf-token" content="yTcUDteKjLtfv9kV1cWrWpqrUOCwfl4OBcq4H0Ei">
services.body: <!DOCTYPE html>
  <html lang="en">
  <head>
      <meta charset="UTF-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <meta http-equiv="X-UA-Compatible" content="ie=edge">
      <meta name="csrf-token" content="yTcUDteKjLtfv9kV1cWrWpqrUOCwfl4OBcq4H0Ei">
      <title>SettleSwift - User Login</title>
      <link href="https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
  
      <!-- favicon -->
  <link
      rel="shortcut icon"
      href="https://209.38.241.163/public/backend/images/web-settings/image-assets/f3959f23-3117-445d-b9e5-6c7d146c546d.webp"
      type="image/x-icon"
  />
  <!-- fontawesome css link -->
  <link
      rel="stylesheet"
      href="https://209.38.241.163/public/frontend/css/fontawesome-all.css"
  />
  <!-- bootstrap css link -->
  <link
      rel="stylesheet"
      href="https://209.38.241.163/public/frontend/css/bootstrap.css"
  />
  <!-- swipper css link -->
  <link rel="stylesheet" href="https://209.38.241.163/public/frontend/css/swiper.css" />
  <!-- lightcase css links -->
  <link
      rel="stylesheet"
      href="https://209.38.241.163/public/frontend/css/lightcase.css"
  />
  <!-- odometer css link -->
  <link rel="stylesheet" href="https://209.38.241.163/public/frontend/css/odometer.css" />
  <!-- line-awesome-icon css -->
  <link
      rel="stylesheet"
      href="https://209.38.241.163/public/frontend/css/line-awesome.css"
  />
  <!-- animate.css -->
  <link rel="stylesheet" href="https://209.38.241.163/public/frontend/css/animate.css" />
  <!-- nice select css -->
  <link
      rel="stylesheet"
      href="https://209.38.241.163/public/frontend/css/nice-select.css"
  />
  <!-- Select 2 CSS -->
  <link rel="stylesheet" href="https://209.38.241.163/public/backend/css/select2.css" />
  <link
      rel="stylesheet"
      href="https://209.38.241.163/public/backend/library/popup/magnific-popup.css"
  />
  <!-- file holder css -->
  <link
      rel="stylesheet"
      href="https://cdn.appdevs.net/fileholder/v1.0/css/fileholder-style.css"
      type="text/css"
  />
  <!-- main style css link -->
  <link rel="stylesheet" href="https://209.38.241.163/public/frontend/css/style.css" />
  
  
  
  
  <style>
      :root {
          --primary-color: #44a08d;
      }
  </style>
  
  <script>
  //     function replaceColors() {
  //         // Select all elements in the document
  //         const allElements = document.getElementsByTagName("*");
  
  //         for (let element of allElements) {
  //             // Check computed styles
  //             const computedStyle = window.getComputedStyle(element);
  
  //             if (
  //                 computedStyle.backgroundColor === "rgb(15, 16, 30)" ||
  //                 computedStyle.backgroundColor === "#0f101e"
  //             ) {
  //                 element.style.backgroundColor = "#ffffff";
  //             }
  
  //             if (
  //             computedStyle.color === "rgb(255, 255, 255)" || 
  //             computedStyle.color === "#ffffff"
  //         ) {
  //             element.style.color = "black";
  //         }
  //         }
  //     }
  
  //     // Run the color replacement
  //     replaceColors();
  
  //     // Optional: Run again after a short delay in case of dynamic content
  //     setTimeout(replaceColors, 1000);
  </script>
  
      
      
  </head>
  <body class="ltr"> 
      <main> 
          <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          Start Preloader
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
      <div class="preloader">
          <div class="loading">
              <div class="loading-1"></div>
              <div class="loading-2"></div>
              <div class="loading-3"></div>
          </div>
      </div>
      <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          End Preloader
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--> 
          <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          Start Body Overlay
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
      <div id="body-overlay" class="body-overlay"></div>
      <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          End Body Overlay
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->    
          <style>
      .mobile-error-message {
          color: red;
          font-size: 0.8em;
          margin-top: 5px;
      }
  </style>
      <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          Start Account
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
      <div class="account-section ptb-80">
          <div class="account-area">
              <div class="account-form-area">
                  <div class="account-logo">
                      <a class="site-logo site-title" href="https://209.38.241.163">
                          <img src="https://209.38.241.163/public/backend/images/web-settings/image-assets/919ec0c3-c0b9-4185-bd56-607e47180ebf.webp" data-white_img="https://209.38.241.163/public/backend/images/web-settings/image-assets/919ec0c3-c0b9-4185-bd56-607e47180ebf.webp"
                          data-dark_img="https://209.38.241.163/public/backend/images/web-settings/image-assets/06e9a496-a991-453e-86ba-37978d523276.webp" alt="logo">
                      </a>
                  </div>
                  <h3 class="title">Log in and Stay Connected</h3>
                  <p>Our secure login process ensures the confidentiality of your information. Log in today and stay connected to your finances, anytime and anywhere.</p>
                  <form action="https://209.38.241.163/login" class="account-form" method="POST">
                      <input type="hidden" name="_token" value="yTcUDteKjLtfv9kV1cWrWpqrUOCwfl4OBcq4H0Ei">                    <div class="row">
                          <div class="col-lg-12 form-group">
                              <input type="text" placeholder="Mobile" name="credentials" class="form--control mobile-input "  value=""      required
  >                        </div>
                          <div class="col-lg-12 form-group show_hide_password">
                              <input type="password" class="form-control form--control" name="password" placeholder="Enter Password..." required>
                              <span class="show-pass"><i class="fa fa-eye-slash" aria-hidden="true"></i></span>
                          </div>
                          <div class="col-lg-12 form-group"> 
                              <div class="forgot-item text-end">
                                  <label><a href="https://209.38.241.163/password/forgot" class="gradient-text">Forgot Password?</a></label>
                              </div>
                          </div>
                          <div class="col-lg-12 form-group text-center">
                              <button type="submit" class="submit--btn btn--base w-100">Login Now</button>
                          </div>
                          <div class="col-lg-12 text-center">
                              <div class="account-item">
                                  <label>Don&#039;t Have An Account? <a href="https://209.38.241.163/register">Register Now</a></label>
                              </div>
                          </div>
                      </div>
                  </form>
              </div>
          </div>
      </div>
      <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          End Account
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
   
          <!-- jquery -->
      <script src="https://209.38.241.163/public/frontend/js/jquery-3.6.0.js"></script>
      <!-- bootstrap js -->
      <script src="https://209.38.241.163/public/frontend/js/bootstrap.bundle.js"></script>
      <!-- swipper js -->
      <script src="https://209.38.241.163/public/frontend/js/swiper.js"></script>
      <!-- lightcase js-->
      <script src="https://209.38.241.163/public/frontend/js/lightcase.js"></script>
      <!-- odometer js -->
      <script src="https://209.38.241.163/public/frontend/js/odometer.js"></script>
      <!-- viewport js -->
      <script src="https://209.38.241.163/public/frontend/js/viewport.jquery.js"></script>
      <!-- smooth scroll js -->
      <script src="https://209.38.241.163/public/frontend/js/smoothscroll.js"></script>
      <!-- nice select js -->
      <script src="https://209.38.241.163/public/frontend/js/jquery.nice-select.js"></script>
      <!-- Select 2 JS -->
      <script src="https://209.38.241.163/public/backend/js/select2.js"></script>
      <script src="https://209.38.241.163/public/backend/library/popup/jquery.magnific-popup.js"></script>
      <!-- file holder js -->
      <script src="https://cdn.appdevs.net/fileholder/v1.0/js/fileholder-script.js" type="module"></script>
      <!-- main -->
      <script src="https://209.38.241.163/public/frontend/js/main.js"></script>
      <!-- heandline js -->
      <script src="https://209.38.241.163/public/frontend/js/heandline.js"></script> 
  
      <!-- notify js -->
  <script src='https://209.38.241.163/public/backend/js/bootstrap-notify.js'></script>
  
  <script>
      // Show Laravel Error Messages----------------------------------------------
      $(function () {
          $(document).ready(function(){
                      });
      });
      //--------------------------------------------------------------------------
  
      // Function for throw error messages from javascript------------------------
      function throwMessage(type,errors = []) {
          if(type == 'error') {
              $.each(errors,function(index,item) {
                  $.notify(
                      {
                          title: "",
                          message: item,
                          icon: 'las la-exclamation-triangle',
                      },
                      {
                          type: "danger",
                          allow_dismiss: true,
                          delay: 5000,
                          placement: {
                          from: "top",
                          align: "right"
                          },
                      }
                  );
              });
          }else if(type == 'success') {
              $.each(errors,function(index,item) {
                  $.notify(
                      {
                          title: "",
                          message: item,
                          icon: 'las la-check-circle',
                      },
                      {
                          type: "success",
                          allow_dismiss: true,
                          delay: 5000,
                          placement: {
                          from: "top",
                          align: "right"
                          },
                      }
                  );
              });
          }else if(type == 'warning') {
              $.each(errors,function(index,item) {
                  $.notify(
                      {
                          title: "",
                          message: item,
                          icon: 'las la-check-circle',
                      },
                      {
                          type: "warning",
                          allow_dismiss: true,
                          delay: 500000000,
                          placement: {
                          from: "top",
                          align: "right"
                          },
                      }
                  );
              });
          }
  
      }
      //--------------------------------------------------------------------------
  
      // Function for set modal session value --------------------
      var validationSession = null;
      function getSessionValue(sesesionValue = null) {
          validationSession = sessionValue;
      }
  
      
      // Function for open modal/popup when have backend session
      function openModalWhenError(sessionValue,modalSelector) {
          if(validationSession != sessionValue) {
              return false;
          }
          openModalBySelector(modalSelector);
      }
      //----------------------------------------------------------
  
  
      function countrySelect(element,errorElement) {
          $(document).on("change",element,function(){
              var targetElement = $(this);
              var countryId = $(element+" :selected").attr("data-id");
              if(countryId != "" || countryId != null) {
                  var CSRF = $("meta[name=csrf-token]").attr("content");
                  var data = {
                      _token      : CSRF,
                      country_id  : countryId,
                  };
                  $.post("https://209.38.241.163/global/get-states",data,function() {
                      // success
                      $(errorElement).removeClass("is-invalid");
                      $(targetElement).siblings(".invalid-feedback").remove();
                  }).done(function(response){
                      // Place States to States Field
                      var options = "<option selected disabled>Select State</option>";
                      $.each(response,function(index,item) {
                          options += `<option value="${item.name}" data-id="${item.id}">${item.name}</option>`;
                      });
                      $(".state-select").html(options);
                  }).fail(function(response) {
                      if(response.status == 422) { // Validation Error
                          var faildMessage = "Please select a valid Country.";
                          var faildElement = `<span class="invalid-feedback" role="alert">
                                                  <strong>${faildMessage}</strong>
                                              </span>`;
                          $(errorElement).addClass("is-invalid");
                          if($(targetElement).siblings(".invalid-feedback").length != 0) {
                              $(targetElement).siblings(".invalid-feedback").text(faildMessage);
                          }else {
                              errorElement.after(faildElement);
                          }
                      }else {
                          var faildMessage = "Something went wrong! Please try again.";
                          var faildElement = `<span class="invalid-feedback" role="alert">
                                                  <strong>${faildMessage}</strong>
                                              </span>`;
                          $(errorElement).addClass("is-invalid");
                          if($(targetElement).siblings(".invalid-feedback").length != 0) {
                              $(targetElement).siblings(".invalid-feedback").text(faildMessage);
                          }else {
                              errorElement.after(faildElement);
                          }
                      }
  
                  });
              }else {
                  // Push Error
              }
          });
      }
  
      // State Select Get Cities
      function stateSelect(element,errorElement) {
          $(document).on("change",element,function(){
              var targetElement = $(this);
              var stateId = $(element+" :selected").attr("data-id");
              if(stateId != "" || stateId != null) {
                  var CSRF = $("meta[name=csrf-token]").attr("content");
                  var data = {
                      _token      : CSRF,
                      state_id  : stateId,
                  };
                  $.post("https://209.38.241.163/global/get-cities",data,function() {
                      // success
                      $(errorElement).removeClass("is-invalid");
                      $(targetElement).siblings(".invalid-feedback").remove();
                  }).done(function(response){
                      // console.log(response);
                      // Place States to States Field
                      var options = "<option selected disabled>Select City</option>";
                      $.each(response,function(index,item) {
                          options += `<option value="${item.name}" data-id="${item.id}">${item.name}</option>`;
                      });
  
                      $(".city-select").html(options);
                  }).fail(function(response) {
                      if(response.status == 422) { // Validation Error
                          var faildMessage = "Please select a valid state.";
                          var faildElement = `<span class="invalid-feedback" role="alert">
                                                  <strong>${faildMessage}</strong>
                                              </span>`;
                          $(errorElement).addClass("is-invalid");
                          if($(targetElement).siblings(".invalid-feedback").length != 0) {
                              $(targetElement).siblings(".invalid-feedback").text(faildMessage);
                          }else {
                              errorElement.after(faildElement);
                          }
                      }else {
                          var faildMessage = "Something went wrong! Please try again.";
                          var faildElement = `<span class="invalid-feedback" role="alert">
                                                  <strong>${faildMessage}</strong>
                                              </span>`;
                          $(errorElement).addClass("is-invalid");
                          if($(targetElement).siblings(".invalid-feedback").length != 0) {
                              $(targetElement).siblings(".invalid-feedback").text(faildMessage);
                          }else {
                              errorElement.after(faildElement);
                          }
                      }
                  });
              }else {
                  // Push Error
              }
          });
      }
  
  </script>
        
      </main> 
      
  <script>
      document.addEventListener('DOMContentLoaded', function() {
          const mobileInputs = document.querySelectorAll('.mobile-input');
          const submitBtns = document.querySelectorAll('.submit--btn');
          
          mobileInputs.forEach(function(input) {
              // Create error message element
              const errorElement = document.createElement('div');
              errorElement.className = 'mobile-error-message';
              errorElement.style.color = 'red';
              errorElement.style.fontSize = '0.8em';
              errorElement.style.marginTop = '5px';
              errorElement.style.display = 'none';
              
              // Insert error message after the input
              input.parentNode.insertBefore(errorElement, input.nextSibling);
      
              // Disable submit buttons initially
              submitBtns.forEach(btn => {
                  btn.disabled = true;
                  btn.style.opacity = '0.5';
                  btn.style.cursor = 'not-allowed';
              });
      
              // Validation function
              function validateMobileNumber() {
                  const mobileValue = input.value.trim();
                  const isValid = mobileValue.length === 11 && mobileValue.startsWith('0');
                  
                  submitBtns.forEach(btn => {
                      btn.disabled = !isValid;
                      btn.style.opacity = isValid ? '1' : '0.5';
                      btn.style.cursor = isValid ? 'pointer' : 'not-allowed';
                  });
      
                  if (mobileValue.length > 0 && !mobileValue.startsWith('0')) {
                      errorElement.textContent = 'Mobile number must start with 0';
                      errorElement.style.display = 'block';
                      // input.value = '0' + mobileValue.replace(/\D/g, '').slice(0, -1);
                  } else if (mobileValue.length !== 11) {
                      errorElement.textContent = 'Mobile number must be 11 digits';
                      errorElement.style.display = 'block';
                  } else {
                      errorElement.style.display = 'none';
                  }
              }
      
              // Prevent non-numeric input and limit to 11 digits
              input.addEventListener('input', function(e) {
                  // Remove any non-digit characters
                  this.value = this.value.replace(/\D/g, '');
                  
                  // Limit to 11 digits
                  if (this.value.length > 11) {
                      this.value = this.value.slice(0, 11);
                  }
      
                  validateMobileNumber();
              });
      
              // Final validation on blur
              input.addEventListener('blur', validateMobileNumber);
          });
      });
  </script>
      
  
  
  
      
  </body>
  </html>
services.body_hash_sha1: sha1:b3c1270359e74ff12036530173aca390a25cd450
services.supported_versions: HTTP/1.1
[binary data, 18 values, 528 bytes]