1/* 2| ======================================================= 3| Created by : Christmas Bangun | iam.dekrisba.com 4| ======================================================= 5*/ 6if("localhost"==$(location).attr("host"))var base_url="http://localhost:8080/fomac/";else base_url="https://www.fomac.co.id/";var pathArray=window.location.pathname.split("/"),urlParam=new URLSearchParams(window.location.search),loader=$("#myLoader"),_URL=window.URL||window.webkitURL;function printElement(e){var t=document.getElementById(e);window.print(t)}function popup(){"active"!=sessionStorage.getItem("popupStatus")&&("promo"==pathArray[1]?$("#popup").hide():($("#popup").delay(3e3).fadeIn(100),sessionStorage.setItem("popupStatus","active")),$(document).on("click","#popup button[name=close]",function(){$("#popup").fadeOut()}))}function reCaptcha_session_verf(e){"active"==sessionStorage.getItem("reCaptcha_verf")?window.location.reload():(e.prepend("<span style='font-size:11px;color:red;'><i>Mohon 'klik' reCaptcha!</i></span>"),sessionStorage.setItem("reCaptcha_verf","active"))}function reCaptcha_session_off(){"active"==sessionStorage.getItem("reCaptcha_verf")&&sessionStorage.removeItem("reCaptcha_verf")}function input_1_validation(e,t){$("html,body").animate({scrollTop:Math.round(e.offset().top-150)},1e3),null==t?e.after("<p class='input-alert'>Kolom tidak boleh kosong. Mohon diisi.</p>"):e.after("<p class='input-alert'>"+t+"</p>"),e.focus(),""!==e.val()&&$(".input-alert").hide()}function alert_info(e){$("#alert-notif").html("<p class='animated slideInDown'>"+e+"</p>"),$("#alert-notif p").css({"background-color":"#f0ad4e"}),$("#alert-notif").fadeIn(),$("#alert-notif").delay(3e3).fadeOut()}function alert_success(e){$("#alert-notif").html("<p class='animated slideInDown'>"+e+"</p>"),$("#alert-notif p").css({"background-color":"#5cb85c"}),$("#alert-notif").fadeIn(),$("#alert-notif").delay(3e3).fadeOut()}function alert_error(e){$("#alert-notif").html("<p class='animated slideInDown'>"+e+"</p>"),$("#alert-notif p").css({"background-color":"#d9534f"}),$("#alert-notif").fadeIn(),$("#alert-notif").delay(3e3).fadeOut()}$(document).ready(function(){$(".navActv li").each(function(){var e=window.location.href;$(this).find("a").attr("href")==e&&$(this).addClass("active")}),$(document).on("click","#popup a[label=popup]",function(e){e.preventDefault(),"1"!=sessionStorage.getItem("popupKlik")?(sessionStorage.setItem("popupKlik","1"),window.open($(this).attr("href"))):$("#popup").fadeOut()})}),$(document).ready(function(){$(document).on("keyup",".number_format",function(){var e=$
6(this).val();$(this).val(e.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"))})}),$(document).ready(function(){$.validator.addMethod("filesize",function(e,t,a){var n,o=this.optional(t);return o||!("file"!==$(t).attr("type")||!t.files||!t.files.length)&&((n=t.files[0]).size&&n.size<=a)},"Ukuran file terlalu besar"),$.validator.addMethod("dimension",function(e,t,a){var n=new Image,o=t.files[0];return n.src=_URL.createObjectURL(o),t.uploadWidth==a[0]&&t.uploadHeigth==a[1]},"Dimensi gambar tidak sesuai"),$.validator.addMethod("required",function(e){return""!=e},"Wajib diisi")}),$(document).ready(function(){$(document).on("click","button[name=modal-c]",function(e){e.preventDefault();var t=$(this).attr("data-triger");$(".modal-c[data-label="+t+"]").fadeIn(300),$(document).on("click",".btn-close[name=modal-c]",function(e){e.preventDefault(),$("form").trigger("reset"),$(".modal-c[data-label="+t+"]").fadeOut(300)})}),$(document).on("click","a[name=modal-c]",function(e){e.preventDefault();var t=$(this).attr("data-triger");$(".modal-c[data-label="+t+"]").fadeIn(300),$(document).on("click",".btn-close[name=modal-c]",function(e){e.preventDefault(),$("form").trigger("reset"),$(".modal-c[data-label="+t+"]").fadeOut(300)})})}),$(document).ready(function(){$(document).on("click","button[name=hidenshow]",function(e){e.preventDefault();var t=$(this).attr("data-triger");$(this).hide(),$(".hidenshow[data-label="+t+"]").fadeIn(800)})}),$(document).ready(function(){$(document).on("change","select[label=id_province]",function(e){var t=$(this).find(":selected").attr("id");$.ajax({type:"POST",url:base_url+"province-to-regency",data:"id="+t,success:function(e){$("select[name=regency]").removeAttr("disabled readonly"),$("select[name=regency]").html(e),$("select[name=regency]").focus()}})}),$(document).on("change","select[label=id_regency]",function(e){var t=$(this).find(":selected").attr("id");$.ajax({type:"POST",url:base_url+"regency-to-district",data:"id="+t,success:function(e){$("select[name=district]").removeAttr("disabled readonly"),$("select[name=district]").html(e),$("select[name=district]").focus()}})})});
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.