PageSourceSearch

https://www.wright20.com/build/assets/HomepageUpcomingAuctions-faf7a9bd.js

js wright20.com collected 2026-09-24 21:08:54 UTC 4,078 bytes, 1 lines download raw bytes

1import{E as n}from"./embla-carousel.esm-ae6aabf9.js";import{m as o,G as r,n as c}from"./app-210f66d7.js";import{T as u,L as _}from"./Links-67f5979a.js";import{D as m,P as h,N as p}from"./NextBtn-18d0930e.js";/* empty css             */const d={components:{Title:u,Links:_,DotBtn:m,PrevBtn:h,NextBtn:p},props:["module"],data(){return{currentCount:null,embla:null,options:{loop:!0,scrollSnaps:[],containScroll:!1,selectedScrollSnap:null,prevBtnEnabled:!1,nextBtnEnabled:!0,align:"start"},currentSlide:0,showButtons:!1,buttonOffset:0}},computed:{...o("window",["pageWidth"])},methods:{getMinCount(){let a=5,l=window.innerWidth;return l<=1300&&(a=4),l<=1200&&(a=3),l<=1023&&(a=2),l<=767&&(a=1),a},srcSet(s){return r(s,{sizes:["200","400","600","800","1000"],baseUrl:this.$page.props.globals.BASE_URL,appendQueryParam:!0})},onResize(){const s=this.getMinCount(),t=this.module.auctions.length;this.showButtons=this.module.auctions.length>s;let e=t>s,i=e&&s>3?"start":"center";this.$refs.outer.classList.remove("wrap-disabled"),e||this.$refs.outer.classList.add("wrap-disabled"),s!==this.currentCount&&(this.currentCount=s,this.options.align=i,this.embla.reInit(this.options)),this.setButtonHeight()},onSelect(){this.selectedScrollSnap=this.embla.selectedScrollSnap(),this.prevBtnEnabled=this.embla.canScrollPrev(),this.nextBtnEnabled=this.embla.canScrollNext()},scrollNext(){this.embla&&this.embla.scrollNext()},scrollPrev(){this.embla&&this.embla.scrollPrev()},setButtonHeight(){let s=0;document.querySelectorAll(".image_inner").forEach(t=>{t.clientHeight>s&&(s=t.clientHeight)}),this.buttonOffset=s/2-38/2}},mounted(){const s=this.$refs.carousel,t=this.getMinCount(),e=this.module.auctions.length;this.showButtons=this.module.auctions.length>t;let i=e>=t;this.currentCount=t,this.options.align=i&&t>3?"start":"center",this.embla=n(s,this.options),this.embla.on("select",this.onSelect),this.embla.on("resize",this.onResize),this.scrollSnaps=this.embla.scrollSnapList(),this.onSelect(),this.$refs.outer.classList.remove("wrap-disabled"),i||this.$refs.outer.classList.add("wrap-disabled"),this.setButtonHeight()},beforeDestroy(){this.embla.off("select",this.onSelect),this.embla.off("resize",this.onResize)},destroyed(){this.embla.destroy()}};var f=function(){var i;var t=this,e=t._self._c;return e("section",{class:[(i=t.module)==null?void 0:i.classes]},[e("Title",{attrs:{data:t.module}}),t._v(" "),e("div",{ref:"outer",staticClass:"embla__outer-container flex flex-col"},[e("div",{staticClass:"embla flex justify-center w-full"},[e("div",{staticClass:"button-wrapper",style:"margin-top: ".concat(t.buttonOffset,"px;")},[t.showButtons?e("PrevBtn",{staticClass:"embla__button--prev",on:{click:t.scrollPrev}},[t._v("Prev")]):t._e()],1),t._v(" "),e("div",{ref:"carousel",staticClass:"embla__viewport"},[e("div",{ref:"container",staticClass:"embla__container"},t._l(t.module.auctions,function(a,l){return e("smart-link",{key:"".concat(l,"-image1"),staticClass:"embla__slide",attrs:{href:a.link}},[e("div",{staticClass:"image"},[a.status_badge?e("span",{staticClass:"status-badge",domProps:{innerHTML:t._s(t.$page.props.status_badge[a.status_badge])}}):t._e(),t._v(" "),e("div",{staticClass:"image_inner",style:"--image_ratio: ".concat(a.image_ratio)},[e("img",{staticClass:"lazyload",attrs:{loading:"lazy","data-sizes":"auto",alt:"",nopin:"nopin",src:"".concat(a.image,"?size=100"),"data-srcSet":t.srcSet(a.image)}})])]),t._v(" "),e("div",{staticClass:"cell-caption mt-4"},[e("p",[e("strong",{staticClass:"uppercase"},[t._v(t._s(a.title))]),e("br"),t._v("\n                "+t._s(a.date)+"\n                "),e("br"),t._v(" "),e("br"),t._v(" "),e("strong",{staticClass:"uppercase"},[e("u",[t._v("\n                    "+t._s(a.link_text)+"\n                  ")])])])])])}),1)]),t._v(" "),e("div",{staticClass:"button-wrapper",style:"margin-top: ".concat(t.buttonOffset,"px;")},[t.showButtons?e("NextBtn",{staticClass:"embla__button--next",on:{click:t.scrollNext}},[t._v("Next")]):t._e()],1)])])],1)},b=[],g=c(d,f,b,!1,null,"2356e1b3",null,null);const w=g.exports;export{w as default};

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.