PageSourceSearch

https://www.jackboxgames.com/_nuxt/C_6Yl8XP.js

js jackboxgames.com collected 2026-09-24 08:37:39 UTC 1,820 bytes, 2 lines download raw bytes

1import{g as a,i as r}from"./aiW85mRP.js";import{J as l,N as c,X as h,$ as d}from"./DgrxDae8.js";const f=a({components:{},props:{action:{type:String,default:"slide-fade-right"},anchorName:{type:String,default:""},anchorPoint:{type:String,default:"middle"},appearDuration:{type:Number,default:1},disappearDuration:{type:Number,default:0}},data(){return{isVisible:!1}},computed:{},mounted(){this.applyInitialState(),this.checkScroll(),window.addEventListener("scroll",this.handleScroll)},unmounted(){window.removeEventListener("scroll",this.handleScroll)},methods:{checkScroll(){const t=this.$refs.t,e=this.$parent.$refs[this.anchorName]||t;if(!e||!t||t.nodeType!==1)return;const o=document.documentElement,i=e.getBoundingClientRect();if(!i)return;let s=i.top;this.anchorPoint==="middle"?s=i.top+i.height/2:this.anchorPoint==="bottom"&&(s=i.bottom);const n=i.bottom>=0&&i.top<=o.clientHeight;this.isVisible?n||(this.animateOff(t),this.isVisible=!1,t.classList.add(`${this.action}-off`)):s>=0&&s<=o.clientHeight&&this.animateOn(t)},animateOn(t){this.setTransitionDuration(t,this.appearDuration),this.isVisible=!0,t.classList.remove(`${this.action}-off`),t.classList.add(`${this.action}-on`)},animateOff(t){this.setTransitionDuration(t,this.disappearDuration),this.isVisible=!0,t.classList.remove(`${this.action}-on`),t.classList.add(`${this.action}-off`)},setTransitionDuration(t,e=1){e===0&&(t.style.transition="none"),t.style.transition=`all ${e}s ease-out`},handleScroll(){this.checkScroll()},applyInitialState(){const t=`${this.action}-off`;this.$refs.t.classList.add(t)}}},"$JLpWlVNVkg"),p={class:"scroll-holder"},m={ref:"t",class:"scroll-animation"};function u(t,e,o,i,s,n){return l(),c("div",p,[h("div",m,[d(t.$slots,"default")],512)])}const g=r(f,[["render",u]]);export{g as _};
2//# sourceMappingURL=C_6Yl8XP.js.map

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.