1jQuery(document).ready(function(){ 2 var MERCHANT_ID = "424da1b3bc3c7bbdf3271b3a03bed997"; 3// var API_COORDINATELIST_ENDPOINT = "https://apitest.baroque.shop/staffstart/coordinate/"; 4 var API_COORDINATELIST_ENDPOINT = "https://staffstart.wcheck.jp/staffstart/coordinate/"; 5// var API_STAFFDETAIL_ENDPOINT = "https://apitest.baroque.shop/staffstart/stafflist/"; 6 var API_STAFFDETAIL_ENDPOINT = "https://staffstart.wcheck.jp/staffstart/stafflist/"; 7 var COORDINATE_DETAIL_URL = "/sws/pages/ss_coordinate.aspx"; 8 var STAFF_DETAIL_URL = "/sws/pages/ss_staff.aspx"; 9 var NO_IMAGE = "/img/usr/common/noimage.gif"; 10 var REQCOUNT_C = ((navigator.userAgent.indexOf('iPhone') > 0 && navigator.userAgent.indexOf('iPad') == -1) || navigator.userAgent.indexOf('iPod') > 0 || navigator.userAgent.indexOf('Android') > 0) ? 6 : 6; 11 var REQCOUNT_S = ((navigator.userAgent.indexOf('iPhone') > 0 && navigator.userAgent.indexOf('iPad') == -1) || navigator.userAgent.indexOf('iPod') > 0 || navigator.userAgent.indexOf('Android') > 0) ? 3 : 5; 12 13 // ã¹ã¿ããã³ã¼ãã©ã³ãã³ã° 14 cr = API_COORDINATELIST_ENDPOINT + "?merchant_id=" + MERCHANT_ID + "&count=" + REQCOUNT_C + "&sort=pv"; 15 var cd = jQuery(".sscoodinate-rank-type").find('.col'); 16 if (cd.length > 0) { 17 jQuery.getJSON(cr, 18 function(e) { 19 if (e.total == 0) { 20 jQuery("#sscoodinate-rank-list").empty(); 21 } else { 22 jQuery.each(e.item, function(i, el) { 23 var ssimg; 24 var ll = cd.clone(); 25 jQuery.each(el.resized_main_images, function(ii, m) { ssimg = m.m; }); 26 ll.find('.mod-productPnl .inner >a').attr("href", COORDINATE_DETAIL_URL + "?cid=" + el.cid); 27 ll.find('.mod-productPnl .inner >a >figure >img').attr("src", ssimg); 28 var ui = "" == el.user_image_url ? NO_IMAGE : el.user_image_url; 29 ll.find('.mod-productPnl .inner >a .content .staff-card .icon >img').attr("src", ui); 30 ll.find('.mod-productPnl .inner >a .content .staff-card >span .brand').text(el.label_name); 31 ll.find('.mod-productPnl .inner >a .content .staff-card >span .name').text(el.user_name); 32 ll.find('.mod-productPnl .inner >a .content .staff-card >span .height').text((el.user_height == 0) ? "" : el.user_height + "cm"); 33 jQuery(ll).attr("id", "rt_pc_auto_top_4_"+ (i+1)); 34 jQuery("#sscoodinate-rank-list").append(ll); 35 }); 36 } 37 jQuery(".sscoodinate-rank-type").remove(); 38 }); 39 } 40 41 // ã¹ã¿ããã©ã³ãã³ã° 42 sr = API_STAFFDETAIL_ENDPOINT + "?merchant_id=" + MERCHANT_ID + "&count=" + REQCOUNT_S + "&sort=pv"; 43 var sd = jQuery(".ssstaff-rank-type").find('.col'); 44 if (sd.length > 0) { 45 jQuery.getJSON(sr, 46 function(e) { 47 if (e.total == 0) { 48 jQuery("#ssstaff-rank-list").empty(); 49 } else { 50 jQuery.each(e.item, function(i, el) { 51 var ll = sd.clone(); 52 ll.find('.mod-productPnl .inner .rank-ss').text(i+1); 53 ll.find('.mod-productPnl .inner >a').attr("href", STAFF_DETAIL_URL + "?user_id=" + el.user_id); 54 var ui = "" == el.img ? NO_IMAGE : el.img; 55 ll.find('.mod-productPnl .inner >a >figure >img').attr("src", ui); 56 ll.find('.mod-productPnl .inner >a .content .staff-card >span .brand').text(el.label_name); 57 ll.find('.mod-productPnl .inner >a .content .staff-card >span .name').text(el.name); 58 ll.find('.mod-productPnl .inner >a .content .staff-card >span .height').text((el.height == 0) ? "" : el.height + "cm"); 59 jQuery(ll).attr("id", "rt_pc_auto_top_3_"+ (i+1)); 60 jQuery("#ssstaff-rank-list").append(ll); 61 }); 62 } 63 jQuery(".ssstaff-rank-type").remove(); 64 }); 65 } 66});
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.