System.register([],(function(t,n){"use strict";return{execute:function(){t("e",(async(t,n)=>{if(!document.startViewTransition)return void(await n());const i=t?.clientX??window.innerWidth/2,e=t?.clientY??window.innerHeight/2,a=Math.hypot(Math.max(i,window.innerWidth-i),Math.max(e,window.innerHeight-e)),o=document.startViewTransition((async()=>{await n()}));o.ready.then((()=>{const t=[`circle(0px at ${i}px ${e}px)`,`circle(${a}px at ${i}px ${e}px)`];document.documentElement.animate({clipPath:t},{duration:400,easing:"ease-in",pseudoElement:"::view-transition-new(root)"})})),await o.finished}))}}}));
