PageSourceSearch

https://ec.k-yell.co.jp/front/cms/system/scripts/validate.min.js?r=20240411

js k-yell.co.jp collected 2026-10-07 07:29:35 UTC 2,034 bytes, 1 lines download raw bytes

1(function(a){a.fn.siValidation=function(m){var e={required:true,digit:true,email:true,commodityCode:true},f=a.extend({},e,m);var l=function(){var n=this,o=a(this);o.on("focusout",d);o.on("focus",j);o.on("blur",h)},h=function(r){var q=a(this).attr("class");if(!q){return}var o=q.split(" ");for(var n=0;n<o.length;n++){var s=o[n];if(s in f){if(f[s]){var p=a(this);if(!b.method[s](p)){k(p,c(g[s],p.data("item-name")))}}}}},g={required:message.requiredMessage,digit:message.invalidDigit,email:message.invalidEmail,commodityCode:message.invalidCommodityCode},c=function(n){for(i=1;i<arguments.length;i++){var o=new RegExp("\\{"+(i-1)+"\\}","g");n=n.replace(o,arguments[i])}return n},k=function(o,q){var n="<div id='m_"+o.attr("id")+"' class='valudatiomMessageArea'>";n+="<div class='triangle'></div><br/><div class='validationMessage'>"+q+"</div>";n+="</div>";var p=a(n);o.after(p);var s=o.offset().left;var r=p.offset().left;p.css("margin-left",s-r+20);p.on("click",function(){a(o).focus()})},j=function(n){var o="m_"+a(this).attr("id");a("#"+o).remove();a(n).off("focus",d)},d=function(n){var o="m_"+a(this).attr("id");a(".valudatiomMessageArea").not("#"+o).remove();a(n).off("focusout",d)};var b={method:{checkable:function(n){return(/radio|checkbox/i).test(n.type)},getLength:function(o,n){switch(n[0].nodeName.toUpperCase()){case"select":return a("option:selected",n).length;case"input":if(this.checkable(n)){return this.findByName(n.name).filter(":checked").length}}return o.length},required:function(n){var o=n.val();return this.getLength(o,n)>0},digit:function(n){var o=n.val();return !this.required(n)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(o)},email:function(n){var o=n.val();return !this.required(n)||/^([a-zA-Z0-9_\.\-])+\@([a-zA-Z0-9\.\-])+$/.test(o)},commodityCode:function(o){var p=o.val();var n=/^[-A-Za-z0-9_\\.\\+]*$/.test(p);if(n){n&=!/^[-_\\.\\+].*$/.test(p);n&=!/^.*[-_\\.\\+]$/.test(p);n&=!/[-_\\.\\+]{2,}/.test(p)}return !this.required(o)||n}}};this.each(function(){l.apply(this)});return this}})(jQuery);

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.