PageSourceSearch

https://www.piaget.com/pia/dist/assets/index-BXF56PPZ.js

js piaget.com collected 2026-10-02 04:07:11 UTC 2,698 bytes, 2 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`103.33.4`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`1c178f35-6fc3-4a8c-b11d-cd70ab930615`,e._sentryDebugIdIdentifier=`sentry-dbid-1c178f35-6fc3-4a8c-b11d-cd70ab930615`)}catch{}})();import{$ as e,D as t,I as n,It as r,L as i,T as a,W as o,Y as s,_ as c,dt as l,it as u,l as d,m as f,n as p,u as m,w as h}from"./vue.esm-browser.prod-5A6jiYlW.js";import{parseCssDuration as g}from"./number-BsRAWd4j.js";import"./phxsg-focus-Cg7lxmGM.js";f();var _=o({__name:`phxsg-focus-point`,props:{use:{default:`div`},isActive:{type:Boolean,default:!1},position:{},pulse:{type:[Boolean,String],default:!1},animate:{type:Boolean,default:!1}},setup(o){let f=n(`root`),_=c(()=>`--phxsg-focus-point-x: ${o.position.x}; --phxsg-focus-point-y: ${o.position.y}`),v=r(!1),y=r(!1),b=r(new Set),x=r(!1),S=r(!1),C=r(!1),w=null,T=null;l(()=>{w!==null&&clearTimeout(w),T!==null&&cancelAnimationFrame(T)});let E=c(()=>v.value||y.value||S.value||C.value),D=c(()=>(v.value||y.value)&&!C.value);function O(){w!==null&&(clearTimeout(w),w=null),S.value=!1,C.value=!0,T!==null&&cancelAnimationFrame(T),T=requestAnimationFrame(()=>{T=requestAnimationFrame(()=>{C.value=!1,T=null})}),!x.value&&(b.value.clear(),o.pulse&&(b.value.add(`phxsg-focus-first-pulse`),o.pulse===`double`&&b.value.add(`phxsg-focus-second-pulse`)),b.value.size===0&&(x.value=!0))}function k(){if(!f.value)return 200;let e=getComputedStyle(f.value).getPropertyValue(`--sys-motion-duration-short-2`);return g(e,200)}function A(){b.value.clear(),S.value=!0;let e=k();w=setTimeout(()=>{S.value=!1,x.value=!1,w=null},e)}function j(e){b.value.size!==0&&(b.value.delete(e.animationName),b.value.size===0&&(x.value=!0))}function M(){v.value=!0,O()}function N(){v.value=!1,y.value||A()}function P(){y.value=!0,O()}function F(){y.value=!1,v.value||A()}let I=c(()=>[`phxsg-focus__point`,{"phxsg-focus__point--active":o.isActive,"phxsg-focus__point--animate":o.animate,"phxsg-focus__point--interacting":E.value,"phxsg-focus__point--scaled":D.value,"phxsg-focus__point--paused":x.value}]),L=c(()=>[`phxsg-focus__pulse`,{"phxsg-focus__pulse--double":o.pulse===`double`}]),R=c(()=>!o.pulse&&!o.animate?{}:{mouseenter:M,mouseleave:N,focusin:P,focusout:F,animationiteration:j});return(n,r)=>(d(),h(u(o.use),a({ref:`root`,class:I.value,style:_.value},e(R.value)),{default:i(()=>[o.pulse?(d(),m(`div`,{key:0,class:p(L.value),onAnimationiteration:j},null,34)):t(``,!0),s(n.$slots,`default`)]),_:3},16,[`class`,`style`]))}});export{_ as t};
2//# sourceMappingURL=index-BXF56PPZ.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.