PageSourceSearch

https://joseartgallery.com/assets/ArtworkOwnerArt.4a63c8dc.js

js joseartgallery.com collected 2026-10-02 04:12:06 UTC 3,014 bytes, 1 lines download raw bytes

1import{j as h,bH as k,bI as g,r as f,t as m,am as u,o as i,u as l,m as w,x as v,p as d,ah as _,Q as c,F as S,y as x,l as A}from"./index.aa9d7842.js";import{S as y}from"./SliderArtworkItem.a5efae4c.js";import{r as C}from"./swiper-element-bundle.3ec85f3c.js";import"./getArtworkInfoStr.5a80e792.js";import"./sizeHelper.9dfe1a53.js";C();const I={components:{SliderArtworkItem:y},props:{artwork:{type:Object,required:!0}},data(){return{activeIndex:0,artworks:[]}},created(){this.faArrowLeft=this.$getIconData(k),this.faArrowRight=this.$getIconData(g)},mounted(){this.storageKeyScroll="backKey-ArtworkOwnerArt-scroll"+this.$route.fullPath,this.loadArtworks()},methods:{onSlideChange(){const e=this.$refs.swiperContainer;(this.activeIndex===0||e.swiper.activeIndex===0)&&(this.activeIndex=e.swiper.activeIndex),this.saveTransition()},onTransitionEnd(){this.saveTransition()},saveTransition(){const e=this.$refs.swiperContainer;e&&e.swiper.translate&&this.$q.sessionStorage.set(this.storageKeyScroll,e.swiper.translate)},prevSlide(){this.$refs.swiperContainer.swiper.slidePrev(300)},nextSlide(){this.$refs.swiperContainer.swiper.slideNext(300)},loadArtworks(){let e="backKey-ArtworkOwnerArt-"+this.$route.fullPath;if(this.$q.sessionStorage.has(e)&&(window==null?void 0:window.popStateDetected))this.artworks=this.$q.sessionStorage.getItem(e),this.$q.sessionStorage.has(this.storageKeyScroll)&&(window==null?void 0:window.popStateDetected)&&this.$refs.swiperContainer.swiper.setTranslate(this.$q.sessionStorage.getItem(this.storageKeyScroll));else{let r={except_id:this.artwork.id,user_id:this.artwork.user_id,per_page:35};r.compact=!0,this.$axios.get("artworks",{params:r}).then(o=>{this.artworks=o.data.data,this.$q.sessionStorage.set(e,o.data.data)})}}}},$={class:"artwork-page-owner-art"},b={class:"artwork-page-owner-art-title"},T={class:"artwork-page-owner-art-arrows"};function E(e,r,o,q,a,t){const p=f("slider-artwork-item");
1return m((i(),l("div",$,[w("div",b,v(e.$t("artwork_page.block_title_other_artworks")),1),w("div",T,[d(c,{class:_(["artwork-page-owner-art-arrow",{"text-grey-8":a.activeIndex===0}]),onClick:t.prevSlide,icon:e.faArrowLeft,disable:a.activeIndex===0,flat:"",round:"",size:"13px"},null,8,["onClick","icon","disable","class"]),d(c,{class:"artwork-page-owner-art-arrow",onClick:t.nextSlide,icon:e.faArrowRight,flat:"",round:"",size:"13px"},null,8,["onClick","icon"])]),w("swiper-container",{ref:"swiperContainer","free-mode":!0,mousewheel:{forceToAxis:!0},"slides-per-view":"auto",style:{overflow:"visible"},class:"l-artworks-slider",onSlidechange:r[0]||(r[0]=(...s)=>t.onSlideChange&&t.onSlideChange(...s)),onTransitionend:r[1]||(r[1]=(...s)=>t.onTransitionEnd&&t.onTransitionEnd(...s))},[(i(!0),l(S,null,x(a.artworks,(s,n)=>(i(),l("swiper-slide",{class:"l-artworks-item",key:n},[(i(),A(p,{key:n,artwork:s,"gtm-list-index":n,"gtm-list-name":"slider-artwork"},null,8,["artwork","gtm-list-index"]))]))),128))],544)],512)),[[u,a.artworks.length>2]])}var z=h(I,[["render",E]]);export{z 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.