PageSourceSearch

https://spike-vue-main.netlify.app/assets/dialog-transition-BA-nVMyu.js

js spike-vue-main.netlify.app collected 2026-10-03 11:26:46 UTC 2,494 bytes, 1 lines download raw bytes

vendor: 2,494 bytes, line 1
1import{Jn as e,V as t,Vt as n,_ as r,w as i,xn as a}from"./resizeObserver-BbJgXUjD.js";import{X as o}from"./ripple-Bb3WkOsC.js";import{n as s,t as c}from"./animation-BbhI_hgA.js";import{i as l,n as u,t as d}from"./easing-5NdcIzD6.js";var f=i({target:[Object,Array]},`v-dialog-transition`),p=new WeakMap,m=r()({name:`VDialogTransition`,props:f(),setup(t,{slots:r}){let i={onBeforeEnter(e){e.style.pointerEvents=`none`,e.style.visibility=`hidden`},async onEnter(e,r){await new Promise(e=>requestAnimationFrame(e)),await new Promise(e=>requestAnimationFrame(e)),e.style.visibility=``;let i=g(t.target,e),{x:a,y:o,sx:s,sy:d,speed:f}=i;if(p.set(e,i),n())c(e,[{opacity:0},{}],{duration:125*f,easing:u}).finished.then(()=>r());else{let t=c(e,[{transform:`translate(${a}px, ${o}px) scale(${s}, ${d})`,opacity:0},{}],{duration:225*f,easing:u});h(e)?.forEach(e=>{c(e,[{opacity:0},{opacity:0,offset:.33},{}],{duration:450*f,easing:l})}),t.finished.then(()=>r())}},onAfterEnter(e){e.style.removeProperty(`pointer-events`)},onBeforeLeave(e){e.style.pointerEvents=`none`},async onLeave(e,r){await new Promise(e=>requestAnimationFrame(e));let i;i=!p.has(e)||Array.isArray(t.target)||t.target.offsetParent||t.target.getClientRects().length?g(t.target,e):p.get(e);let{x:a,y:o,sx:s,sy:u,speed:f}=i;n()?c(e,[{},{opacity:0}],{duration:85*f,easing:d}).finished.then(()=>r()):(c(e,[{},{transform:`translate(${a}px, ${o}px) scale(${s}, ${u})`,opacity:0}],{duration:125*f,easing:d}).finished.then(()=>r()),h(e)?.forEach(e=>{c(e,[{},{opacity:0,offset:.2},{opacity:0}],{duration:250*f,easing:l})}))},onAfterLeave(e){e.style.removeProperty(`pointer-events`)}};return()=>t.target?a(o,e({name:`dialog-transition`},i,{css:!1}),r):a(o,{name:`dialog-transition`},r)}});function h(e){let t=e.querySelector(`:scope > .v-card, :scope > .v-sheet, :scope > .v-list`)?.children;return t&&[...t]}function g(e,n){let r=t(e),i=s(n),[a,o]=getComputedStyle(n).transformOrigin.split(` `).map(e=>parseFloat(e)),[c,l]=getComputedStyle(n).getPropertyValue(`--v-overlay-anchor-origin`).split(` `),u=r.left+r.width/2;c===`left`||l===`left`?u-=r.width/2:(c===`right`||l===`right`)&&(u+=r.width/2);let d=r.top+r.height/2;c===`top`||l===`top`?d-=r.height/2:(c===`bottom`||l===`bottom`)&&(d+=r.height/2);let f=r.width/i.width,p=r.height/i.height,m=Math.max(1,f,p),h=f/m||0,g=p/m||0,_=i.width*i.height/(window.innerWidth*window.innerHeight),v=_>.12?Math.min(1.5,(_-.12)*10+1):1;return{x:u-(a+i.left),y:d-(o+i.top),sx:h,sy:g,speed:v}}export{m as t};

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.