1import{c as y,o as L,s as a,r as f}from"./mockup-css-vars.-Joh-I9E.js";const A={sizes:["Small","Medium","Large"]},t={from:{name:"Denim Jeans",price:"195"},to:{name:"Slim Fit Jeans",price:"175"}};({...Object.fromEntries(A.sizes.map((e,i)=>[`stpt-size${i+1}`,e]))});const w=80,S=300,q=1500,g=window.matchMedia("(prefers-reduced-motion: reduce)").matches;function h(e,i){const r=e.querySelector('[id="stp-name-cell"]'),c=e.querySelector('[id="stp-price-cell"]'),d=e.querySelector(".stp-cursor"),u=e.querySelector(".stp-pointer"),p=e.querySelector(".stp-demo");if(!r||!c||!d||!u||!p)return;e.setAttribute("data-stp-instance",String(i));const l=y(`[data-stp-instance="${i}"]`),o=s=>l("--stp-name",s),n=s=>{l("--stp-price",s),l("--stp-store-price",s?`$${s}.00`:"")};function m(s){r.classList.remove("stp-active-cell"),c.classList.remove("stp-active-cell"),s.classList.add("stp-active-cell"),s.querySelector(".stp-cell-text")?.after(d),u.style.left=s===c?"145px":"80px"}async function E(){for(;;){if(await a(600),g){o(t.to.name),n(t.to.price),await a(2e3),o(t.from.name),n(t.from.price),await a(2e3);continue}p.classList.add("stp-editing"),m(r),await a(400),await f(o,t.from.name,t.to.name,w,S),await a(800),m(c),await a(400),await f(n,t.from.price,t.to.price,w,S),await a(q),p.classList.remove("stp-editing"),await a(400),o(t.from.name),n(t.from.price),m(r),await a(800)}}L(e,E)}document.querySelectorAll('[data-section="sheet-to-product-detail"]').forEach((e,i)=>h(e,i));
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.