https://ndt-solutions.ru/bitrix/templates/aspro-allcorp3/js/blocks/selectOffer.min.js?17646574482069
1"SelectOfferProp"in window||"function"==typeof window.SelectOfferProp||(SelectOfferProp=function(){var e=$(this),s={},a={},t=parseUrlQuery(),o="",r=e.closest(".sku-props"),p=e.closest(".js-popup-block"),n=!e.closest(".catalog-items").length;s={PARAMS:n?$(".js-sku-config:first").data("value"):e.closest(".catalog-items").find(".js-sku-config").data("value"),BASKET_PARAMS:p.find(".js-config-btns").data("btn-config"),IMG_PARAMS:p.find(".js-config-img").data("img-config"),PRICE_PARAMS:p.find(".js-popup-price").data("price-config"),ID:r.data("item-id"),OFFER_ID:r.data("offer-id"),SITE_ID:r.data("site-id"),IBLOCK_ID:r.data("iblockid"),SKU_IBLOCK_ID:r.data("offer-iblockid"),DEPTH:e.closest(".sku-props__inner").index(),VALUE:e.data("onevalue"),SHOW_GALLERY:arAsproOptions.THEME.SHOW_CATALOG_GALLERY_IN_LIST,MAX_GALLERY_ITEMS:arAsproOptions.THEME.MAX_GALLERY_ITEMS,OID:arAsproOptions.THEME.CATALOG_OID,IS_DETAIL:n?"Y":"N"},"clear_cache"in t&&"Y"==t.clear_cache&&(o+="?clear_cache=Y");let c=r.hasClass("js-selected");for($(".sku-props").removeClass("js-selected"),r.addClass("js-selected"),e.closest(".sku-props__values").find(".sku-props__value").removeClass("sku-props__value--active"),e.addClass("sku-props__value--active"),e.closest(".sku-props__item").find(".sku-props__js-size").text(e.data("title")),i=0;i<s.DEPTH+1;i++)strName="PROP_"+r.find(".sku-props__inner:eq("+i+")").data("id"),a[strName]=r.find(".sku-props__inner:eq("+i+") .sku-props__value--active").data("onevalue"),s[strName]=r.find(".sku-props__inner:eq("+i+") .sku-props__value--active").data("onevalue");s.SELECTED=JSON.stringify(a),window.obOffers&&"array"===typeofExt(obOffers)&&c?(selectedValues=a,strPropValue=s.VALUE,depth=s.DEPTH,wrapper=p,arFilter={},tmpFilter=[],UpdateSKUInfoByProps()):$.ajax({url:arAsproOptions.SITE_DIR+"ajax/js_item_detail.php"+o,type:"POST",contentType:"application/json",data:JSON.stringify(s)}).done((function(e){var s=BX.processHTML(e);BX.ajax.processScripts(s.SCRIPT)}))},$(document).on("click",".sku-props__value:not(.sku-props__value--active)",SelectOfferProp));
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.