"use strict";window.addEventListener("load",()=>{function e(){const e=document.querySelector(".selected code");s.className="",window.requestAnimationFrame(()=>{window.requestAnimationFrame(()=>{s.className=e.dataset.animation})});var t=getComputedStyle(s).transformOrigin.split(/\s+/);n.style.left=`calc(${t[0]} - 12px)`,n.style.top=`calc(${t[1]} - 12px)`}const n=document.getElementById("crosshair"),s=document.getElementById("example-element");new MutationObserver(()=>{e()}).observe(s,{attributes:!0,attributeFilter:["style"]}),e(),n.style.opacity="1"});