1// selectOffer js 2function useOfferSelect() { 3 BX.ready(() => { 4 if (!("SelectOfferProp" in window)) { 5 const $catalogItems = $(".load-offer-js"); 6 if ($catalogItems.length) { 7 $catalogItems.iAppear( 8 function (e) { 9 loadScripts( 10 [ 11 arAsproOptions.SITE_TEMPLATE_PATH + "/js/select_offer.min.js", 12 arAsproOptions.SITE_TEMPLATE_PATH + "/js/select_offer_func.min.js", 13 ] 14 ); 15 }, 16 { accX: 0, accY: 100 } 17 ); 18 } 19 } 20 21 if (!("appAspro" in window) || !window.appAspro.skuDetailJSLoad) { 22 const $catalogDetail = $(".sku_in_detail"); 23 if ($catalogDetail.length) { 24 $catalogDetail.iAppear( 25 function (e) { 26 loadScripts(arAsproOptions.SITE_TEMPLATE_PATH + "/js/select_offer_detail.min.js"); 27 }, 28 { accX: 0, accY: 100 } 29 ); 30 } 31 } 32 33 }); 34}
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.