PageSourceSearch

https://www.hyundaifinance.de/wp-content/themes/kiafinance/js/script.privacy-form.8997d40eef727f.js

js hyundaifinance.de collected 2026-10-04 13:34:26 UTC 2,333 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkhf_kf_frontend=self.webpackChunkhf_kf_frontend||[]).push([[144],{8514:(e,s,o)=>{o.r(s),o.d(s,{default:()=>c});var t=o(4692),n=o.n(t),r=o(6566);const c=class{constructor(){this._$component=n()(".bb-privacy-form"),this._bindEvents()}_bindEvents(){n()(document.body).on("change",".bb-privacy-form input[type='checkbox']",(e=>{n()(e.target).closest(".bb-checkbox").removeClass("has-error"),this._$component.find(".bb-privacy-form__checkbox-error").removeClass("has-error")})),n()(document.body).on("submit",".bb-privacy-form .bb-form__form",(()=>{this._$component.find("#businessIntelligence").is(":checked")?this._$component.find(".bb-privacy-form__checkbox-error").removeClass("has-error"):this._$component.find(".bb-privacy-form__checkbox-error").addClass("has-error")})),n()(document.body).on("bb-form-valid-submit",".bb-privacy-form",this._onValidFormSubmit.bind(this))}_onValidFormSubmit(){const e=this._$component.find(".bb-privacy-form__error-message");e.is(":visible")&&e.stop().fadeOut(300),this._sendMail()}_sendMail(){(0,r.r)();const e=new FormData;e.append("action","privacy_form_send_mail"),e.append("subject","Bestätigung Ihres Widerspruchs"),e.append("customerFirstName",this._$component.find("#customerFirstName").val()),e.append("customerLastName",this._$component.find("#customerLastName").val()),e.append("customerBirthDate",this._$component.find("#customerBirthDate").val()),e.append("email",this._$component.find("#email").val()),e.append("contract",this._$component.find("#contract").val()),e.append("businessIntelligence",this._$component.find("#businessIntelligence").is(":checked")?"1":"0"),n().ajax({type:"POST",url:BBAjax.ajaxurl,contentType:!1,cache:!1,processData:!1,data:e,success:e=>{e.success?this._showSuccessMessage():this._showErrorMessage()},error:()=>{this._showErrorMessage()}})}_showSuccessMessage(){(0,r.y)(),this._$component.find(".bb-privacy-form__form").fadeOut(300,(()=>{this._$component.find(".bb-privacy-form__success-message").fadeIn(400)}))}_showErrorMessage(){(0,r.y)();const e=this._$component.find(".bb-privacy-form__error-message");e.stop().fadeIn(400);let s,o,t=n()(window).scrollTop(),c=e.offset().top;const a=n()(".bb-header");a.length>0&&(c-=a.outerHeight()+40),s=t-c,s<0&&(s*=-1),o=500+.08*s,n()("html,body").stop().animate({scrollTop:c},o)}}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.