PageSourceSearch

https://www.covebo.hu/wp-content/plugins/job-core-cxs/dist/js/functions/date-format.min.js?ver=1.3.13

js covebo.hu collected 2026-10-08 01:35:54 UTC 2,055 bytes, 1 lines download raw bytes

1function handleDateFormat(selector,dateFormat){const container=jQuery(selector);var originalInput,selector=new Date;const maxDate=new Date,minDate=(maxDate.setFullYear(selector.getFullYear()-10),new Date),formatDate=(minDate.setFullYear(selector.getFullYear()-100),date=>{return String(date.getDate()).padStart(2,"0")+`-${String(date.getMonth()+1).padStart(2,"0")}-`+date.getFullYear()});function injectInput(opts){var newInput=$('<input autocomplete="off" type="text" id="cxs-masked-date" placeholder="'+dateFormat+'" />');return Inputmask(jQuery.extend({},{alias:"datetime",inputFormat:"dd-mm-yyyy",outputFormat:"yyyy-mm-dd",placeholder:dateFormat,greedy:!1,min:formatDate(minDate),max:formatDate(maxDate)},opts||{})).mask(newInput),newInput}const inputs=container.find("input");0<inputs.length&&(1<inputs.length?function(originalInputs){let inputs={},i,k;for(i=0;i<originalInputs.length;i++)k=originalInputs[i].name.replace(/cxsrec__date_of_birth__c_/i,""),originalInputs[i].type="hidden",inputs[k]=originalInputs[i];container.find(".cxsSeperator").remove(),injectInput({oncomplete:function(e){try{var parts=e.target.inputmask.unmaskedvalue().split("-");inputs.y.value=parts[0],inputs.m.value=parts[1],inputs.d.value=parts[2]}catch(err){console.log(err)}},oncleared:function(){try{inputs.y.value="",inputs.m.value="",inputs.d.value=""}catch(err){console.log(err)}},onBeforePaste:function(pastedValue,opts){pastedValue=pastedValue.split(/\-|\\|\//);inputs.d.value=pastedValue[0].padStart(2,"0"),inputs.m.value=pastedValue[1].padStart(2,"0"),inputs.y.value=pastedValue[2]}}).insertAfter(inputs.y)}(inputs):((originalInput=inputs[0]).type="hidden",injectInput({oncomplete:function(e){try{originalInput.value=e.target.inputmask.unmaskedvalue()}catch(err){console.log(err)}},oncleared:function(){originalInput.value=""},onBeforePaste:function(pastedValue,opts){pastedValue=pastedValue.split(/\-|\\|\//);inputs.d.value=pastedValue[0].padStart(2,"0"),inputs.m.value=pastedValue[1].padStart(2,"0"),inputs.y.value=pastedValue[2]}}).insertAfter(originalInput)))}

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.