PageSourceSearch

https://megatop.by/_nuxt/BKQU8jRm.js

js megatop.by collected 2026-10-01 11:44:58 UTC 1,791 bytes, 1 lines download raw bytes

1import{a6 as i,V as a,n as s,a7 as n,a8 as o,a9 as d}from"./BV6Pkiit.js";class r extends i{static create(t){return new r(t)}constructor(t){return super(t),this}get images(){return new Proxy(new a(this.data.images),{get:(t,e)=>{if(e in t.images)return t.images[e]||void 0}})}get productAction(){return this.get("promocodes")&&this.get("isInStock")&&this.get("isAvailableForOrder")?{title:"Товар недели",timeToEnd:"",info:`Купить за <b style="color: #FF6056;">${this.get("promocodes").price} ${s.getCurrencyIconHtml()}</b> по коду: <b>${this.get("promocodes").name}</b>`,onlyApp:this.get("promocodes").onlyForApp}:null}get defaultImages(){return this.data.images.filter(t=>t.includes(".jpg")||t.includes(".gif"))}get videos(){return this.data.images.filter(t=>t.includes(".mov")||t.includes(".mp4"))}get extraPrice(){return this.get("extraPrice")?new n(this.get("extraPrice")):null}get actionTimer(){return this.extraPrice?new o(this.extraPrice?.date):null}get isAvailableAction(){return this.actionTimer&&this.actionTimer?.isAvailableAction||this.data.isStockProduct}getType(){return this.data.defaultName.replace(this.data.brand,"").replace(this.data.article||"","")}getData(){return this.data}getModel(){return this.data.name.split(" ")[1]}getBrand(){return this.data.brand||""}getBrandLink(){return this.data.urls.length>=1?this.data.urls[1].link:""}hasSizes(){return this.data.sizes.length===0?!1:!(this.data.sizes.length===1&&this.data.sizes[0]===0)}getDiscount(){return this.data.priceOld?(this.data.priceOld-this.data.price).toFixed(2):""}getColor(){return this.data.properties.find(t=>t.slug==="color").value.name||""}getCountReviews(){return this.data.reviewCount>=0?this.data.reviewCount+" "+d.reviewPluralization(this.data.reviewCount):""}}export{r as P};

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.