PageSourceSearch

https://www.elite.se/dist/client/assets/ModalStepTransitionWrapper-B6Rxxwgo.js

js elite.se collected 2026-10-02 03:45:44 UTC 1,376 bytes, 1 lines download raw bytes

1import{r as e}from"./chunk-BtN6Uazr.js";import{t}from"./react-B5sKNx7D.js";import{In as n}from"./entry-client-DrEVLKbw.js";var r=n(),i=({onConfirm:e,onCancel:t,i18n:n,className:i})=>(0,r.jsxs)(`div`,{className:`confirm-dialog-box ${i??``}`,children:[(0,r.jsx)(`h3`,{className:`confirm-dialog-box__heading`,children:n.heading}),n.message&&(0,r.jsx)(`p`,{className:`confirm-dialog-box__message`,children:n.message}),(e||t)&&(0,r.jsxs)(`div`,{className:`confirm-dialog-box__button-container`,children:[e&&(0,r.jsx)(`button`,{tabIndex:0,className:`cta-button cta-button__primary`,"aria-label":n.confirmLabel,onClick:()=>e(),children:n.confirmLabel}),t&&(0,r.jsx)(`button`,{className:`cta-button cta-button__secondary`,"aria-label":n.cancelLabel,onClick:()=>t(),children:n.cancelLabel})]})]}),a=e(t()),o=({currentStep:e,children:t,onAnimationEnd:n,onTransitionChange:i,isAnimating:o=!0,className:s=``})=>{let[c,l]=(0,a.useState)(e),[u,d]=(0,a.useState)(``),f=(0,a.useRef)(!0),p=(0,a.useRef)(null);return(0,a.useEffect)(()=>{if(f.current){f.current=!1;return}o&&(e>c?(d(`slide-in-right`),i?.(`right`)):e<c&&(d(`slide-in-left`),i?.(`left`)),l(e))},[e,o,i,c]),(0,a.useEffect)(()=>{p.current?.parentElement?.scrollTo({top:0,behavior:`instant`})},[e]),(0,r.jsx)(`div`,{ref:p,className:[s,u].filter(Boolean).join(` `),onAnimationEnd:()=>{d(``),n?.()},children:t})};export{i as n,o 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.