PageSourceSearch

https://www.celsia.com/wp-content/themes/Celsia-Nuevo/js/FormsCF7.bundle.js?v=0.0.7

js celsia.com collected 2026-10-02 04:34:40 UTC 9,674 bytes, 1 lines download raw bytes

1(()=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(t){var n=function(t){if("object"!=e(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,"string");if("object"!=e(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==e(n)?n:n+""}function n(e,n){for(var o=0;o<n.length;o++){var r=n[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,t(r.key),r)}}var o=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;$(t).change(function(){t.val()===n?$(e).show():$(e).hide()})};$(function(){if($("#res-creg-174-2021")[0]){var e=$('[name="your-suplier"]'),t=$("#optional");o(t,e,"Otro (nombre)")}if($("#formcf7-pqr-form")[0]){var n=$('[name="company"]'),r=$("#form_cetsa"),i=$("#form_celsia_info"),a=$("#form_celsia_admin"),c=$("#form_celcol_info"),l=$("#form_celcol_admin"),u=[r,i,a,c,l],d=$('[name="request-type-celcol"]'),s=$('[name="request-type-celsia"]'),m=$("#request-type-celcol"),p=$("#request-type-celsia");$(n).on("change",function(){$(u).each(function(){$(this).hide()}),$(d).val("Seleccione"),$(s).val("Seleccione")}),o(r,n,"Cetsa"),o(i,s,"Información sobre el emisor"),o(a,s,"Administrativa sobre mi inversión (Dividendos, Certificados, Traspasos/Sucesiones, entre otras)"),o(c,d,"Información sobre el emisor"),o(l,d,"Administrativa sobre mi inversión (Dividendos, Certificados, Traspasos/Sucesiones, entre otras)"),o(m,n,"Celsia Colombia S.A. E.S.P."),o(p,n,"Celsia S.A");var f=$('[name="doctype-cetsa"]'),y=$("#other_doctype_cetsa");o(y,f,"Otro");var v=$('[name="doctype-celsia-info"]'),h=$("#other_doctype_celsia_info");o(h,v,"Otro");var b=$('[name="doctype-celsia-admin"]'),g=$("#other_doctype_celsia_admin");o(g,b,"Otro");var E=$('[name="doctype-celcol-info"]'),S=$("#other_doctype_celcol_info");o(S,E,"Otro");var w=$('[name="doctype-celcol-admin"]'),L=$("#other_doctype_celcol_admin");o(L,w,"Otro"),$('input[type="file"]').each(function(){$(this).change(function(){var e=$
1(this).val().split("\\").pop(),t=$(this).parent().parent().find(".message"),n=$(this).parent().parent().find(".delete");$(this),""!=$(this).val()&&($(t).html(e),$(n).removeClass("hidden"))})})}}),document.addEventListener("DOMContentLoaded",function(e){if($("#update-info-form")[0]){var t=document.querySelector("#update-info-form #user-id"),n=Date.now();t&&n&&(t.value=n);var r=document.querySelector('[name="email-confirm-1"]'),i=document.querySelector('[name="email-confirm-2"]'),a=document.querySelector('input[type="submit"]'),c=document.querySelector(".wpcf7-form.init"),l=document.querySelector('[name="document-number-ci"]'),u=document.querySelector('[name="document-number"]');u&&window.ditto.maxLengthInputValue(u,0),l&&window.ditto.maxLengthInputValue(l,10);var d=$('[name="document-type"]'),s=$("#doc-num"),m=$("#doc-num-ci"),p=$("#doc-num-ce"),f=$("#doc-num-p");o(s,d,"Selecciona"),o(m,d,"Cédula ciudadanía"),o(p,d,"Cédula extranjería"),o(f,d,"Pasaporte"),window.ditto.inputOnlyText('#update-info-form input[type="text"].verify'),window.ditto.inputOnlyNumbers('#update-info-form input[type="text"].number'),window.ditto.disableInputCopyPaste('#update-info-form input[type="email"]'),i&&(i.autocomplete="off"),r&&i&&c.addEventListener("change",function(e){""!=i.value&&""!=r.value&&i.value!=r.value?setTimeout(function(){a.setAttribute("disabled",!0),i.parentElement.parentElement.querySelector(".info.error").textContent="¡Lo siento, los campos de correo electrónico no coinciden!",r.parentElement.parentElement.querySelector(".info.error").textContent="¡Lo siento, los campos de correo electrónico no coinciden!"},100):(i.parentElement.parentElement.querySelector(".info.error").textContent="",r.parentElement.parentElement.querySelector(".info.error").textContent=""),r.value.includes("@")&&r.value.includes(".")?i.value.includes("@")&&i.value.includes(".")||""!=i.value&&(i.parentElement.parentElement.querySelector(".info.error").textContent="¡Lo siento, el correo electrónico no es valido!"):""!=r.value&&(r.parentElement.parentElement.querySelector(".info.error").textContent="¡Lo siento, el correo electrónico no es valido!")}
1),setTimeout(function(){var e=$("#update-info-form #select-department");if($('#update-info-form [name="client-number"]'),window.location.href.includes("/actualizacion-de-datos-celsia/")&&invoicePopup){var t=$("#invoice-tolima"),n=$("#invoice-valle");$(e).on("change",function(e){"Tolima"===$(this).val()?(t.css({display:"block"}),n.css({display:"none"})):"Valle Del Cauca"===$(this).val()?(t.css({display:"none"}),n.css({display:"block"})):(t.css({display:"block"}),n.css({display:"block"}))})}},700);var y=new window.URLSearchParams(window.location.search).get("nit");y&&window.ditto.nonEditableInput('input[name="nit"]',y)}}),new(function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},(t=[{key:"openPopup",value:function(e){document.getElementById(e.currentTarget.dataset.popup).classList.add("active")}},{key:"closeModal",value:function(e){e.target===e.currentTarget&&e.currentTarget.classList.remove("active")}}])&&n(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()),document.addEventListener("DOMContentLoaded",function(e){if(window.location.href.includes("/actualizacion-de-datos-celsia/")){var t=document.querySelector('[name="document-number-ci"]'),n=document.querySelector('[name="document-number-ce"]'),o=document.querySelector('[name="document-number-p"]'),r=document.querySelector(".wpcf7-form.init"),i=document.querySelector('input[type="submit"]'),a=document.querySelector('input[name="register-user"]').value;a=!1,r.addEventListener("change",function(e){if(e.target===t||e.target===n||e.target===o){var r="".concat(baseEndpoint,"/wp-json/update-data/search?user_id=").concat(e.target.value);$.getJSON(r).done(function(t){t.length>0?(console.log(t),i.setAttribute("disabled",!0),e.target.parentElement.parentElement.parentElement.classList.add("with-help-text"),e.target.parentElement.parentElement.querySelector(".info.error").textContent="¡Lo siento, el número de indentificación ya ha sido registrado!",e.target.style.borderColor="red",alert("¡Hola! Tus datos ya fueron registrados, por favor intenta con otro número de documento de identificación."),a=!1):(e.target.parentElement.parentElement.parentElement.classList.remove("with-help-text"),e.target.style.borderColor="#999999",e.target.parentElement.parentElement.querySelector(".info.error").textContent="",a=!0),console.log(t)})}else!1===a&&setTimeout(function(){i.setAttribute("disabled",!0)},300)})}}),$(function(){if(window.location.href.includes("/actualizacion-de-datos-celsia/")){var e,t=document.getElementById("document-type-selector"),n=document.getElementById("document-id-input"),o=document.getElementById("foreign-identity-id-input"),r=document.getElementById("passport-id-input"),i=document.getElementById("user-id-popup"),a=document.getElementById("type-document-popup"),c=document.getElementById("link-second-modal"),l=document.getElementsByClassName("form-inside-popup"),u=$(".popup-card .close");t.addEventListener("change",function(t){var n,o,r,i;e=t.target.value,a.value=t.target.value,console.log("esto es tipo de documento:",a.value),n=a.value,o=document.getElementById("doc-num-ci"),r=document.getElementById("doc-num-ce"),i=document.getElementById("doc-num-p"),"Cédula ciudadanía"==n?(o.classList.remove("hidden"),r.classList.add("hidden"),i.classList.add("hidden")):"Cédula extranjería"==n?(o.classList.add("hidden"),r.classList.remove("hidden"),i.classList.add("hidden")):"Pasaporte"==n&&(o.classList.add("hidden"),r.classList.add("hidden"),i.classList.remove("hidden"))}),null==n||n.addEventListener("keyup",function(t){"Cédula ciudadanía"==e&&(i.value=n.value)}),null==o||o.addEventListener("keyup",function(t){"Cédula extranjería"==e&&(i.value=o.value)}),null==r||r.addEventListener("keyup",function(t){"Cédula extranjería"==e&&(i.value=r.value)}),null==c||c.addEventListener("click",function(){$(l).css({display:"block"})}),$(u).click(function(e){$(l).css({display:"none"})}),document.getElementById("form-update-interior")&&document.querySelector("#form-update-interior .wpcf7").addEventListener("wpcf7submit",function(e){$("#status-form").html(e.detail.apiResponse.message),"mail_sent"==e.detail.status?($("#status-form").css({color:"#008000"}),setTimeout(function(){$(u).click(),$(".wpcf7-response-output").css({display:"none"}),$("#status-form").empty()},3e3)):$("#status-form").css({color:"#FF0000"})})}}),$(function(){var e=document.querySelector(".checkbox-activator-container"),t=document.querySelector(".checkbox-activator-container span"),n=document.querySelector(".checkbox-items-container"),o="";
1if(t&&(o=t.innerHTML),null!=e){var r=n.querySelectorAll("input[type=checkbox]");r.forEach(function(n){n.addEventListener("change",function(n){!function(n){for(var r=0;r<n.length;){if(n[r].checked)return t.innerHTML="Servicio seleccionado",void e.classList.add("correct");e.classList.remove("correct"),t.innerHTML=o,r++}}(r)})})}}),$(function(){var e=document.querySelector("#newsletter-homes"),t=document.querySelector("#newsletter-homes input[type=submit]");e&&t&&t.addEventListener("click",function(){var e=document.querySelector("#newsletter-homes .hidepanel");$(t).attr("disabled")||(e.style.display="block")})})})();

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.