PageSourceSearch

https://mamiereglisse.com/cdn/shopifycloud/checkout-web/assets/c1/TransitionHeight.CV2XV0NY.js

js mamiereglisse.com collected 2026-09-27 04:26:37 UTC 1,631 bytes, 1 lines download raw bytes

1import{A as i,_ as v,u as H}from"./esnext-vendor.B9Da21W6.js";import{i as L,t as a}from"./hydrate.DZ4YTm7p.js";var c={Wrapper:"qp9ybh0",Animating:"qp9ybh1"};function _(n){return Number(n.replace(/\D/g,""))}function C({config:n,children:D,contentRef:p,onTransitionEnd:u}){const d=i(null),o=i(),t=i(),f=i(u),w=L(),R=i({duration:_(a.transitionDuration.base),easing:a.transitionTimingFunction.easeOut});return v(()=>{R.current={duration:n?.duration??_(a.transitionDuration.base),easing:n?.easing??a.transitionTimingFunction.easeOut}},[n]),v(()=>{f.current=u},[u]),v(()=>{o.current=void 0;const e=d.current;if(w||!e||!window.ResizeObserver)return;let g=!1;const O=()=>{t.current?.cancel(),t.current=void 0,d.current?.classList.remove(c.Animating)},x=s=>{if(g)return;const z=t.current,h=z?parseFloat(window.getComputedStyle(e).height):o.current;O();const l=s();if(o.current=l,h==null||typeof e.animate!="function")return;if(h===l){z&&f.current?.();return}e.classList.add(c.Animating);const b=e.animate([{height:`${h}px`},{height:`${l}px`}],R.current);t.current=b,b.onfinish=()=>{t.current===b&&(t.current=void 0,e.classList.remove(c.Animating),f.current?.())}},r=p?.current,m=new window.ResizeObserver(([s])=>{g||(r?x(()=>s.borderBoxSize?.[0]?.blockSize??r.offsetHeight):t.current||(o.current=s.contentRect.height))});r?m.observe(r,{box:"border-box"}):m.observe(e);const A=!r&&window.MutationObserver?new window.MutationObserver(()=>{x(()=>e.getBoundingClientRect().height)}):void 0;return A?.observe(e,{childList:!0}),()=>{g=!0,m.disconnect(),A?.disconnect(),O()}},[p,w]),H("div",{ref:d,className:c.Wrapper,children:D})}export{C 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.