PageSourceSearch

https://cdn.vialibri.net/static/assets/Submit-CHUFd811.js

js vialibri.net collected 2026-09-24 09:35:56 UTC 2,234 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c46dd915-78e3-4e04-8989-2e4db5d2c6f7",e._sentryDebugIdIdentifier="sentry-dbid-c46dd915-78e3-4e04-8989-2e4db5d2c6f7")}catch(e){}}();import"./_sentry-release-injection-file-SYOkQ1Km.js";import{a as e}from"./rolldown-runtime-BBzOAo5_.js";import{t}from"./react-DuV36FPs.js";import{t as s}from"./formatClasses-DEp3Ml96.js";import{t as n}from"./Spinner-B-Spjr1p.js";import{K as r}from"./index-CRc22cjs.js";import{t as o}from"./useFloatingButton-CttcbjlG.js";import{d as i}from"./FinalControlGroup-Cmc21xKd.js";var a=e(t()),d=r(),f=({targetRef:e,float:t=!1,centered:r=!1,submitting:o=!1,width:i=0,beforeButton:a,button:f,afterButton:u})=>(0,d.jsx)("div",{className:s("form-actions",{float:t,centered:r,submitting:o}),style:t?{width:i}:{},children:(0,d.jsxs)("div",{className:"form-actions__inner",ref:e,children:[a&&(0,d.jsx)("div",{className:"form-actions__extras",children:a}),f,o&&(0,d.jsx)(n,{button:!0,useSpan:!0}),u&&(0,d.jsx)("div",{className:"form-actions__extras",children:u})]})}),u=({label:e,beforeButton:t,afterButton:s,centered:n=!1,disabled:r=!1,buttonCanFloat:u,buttonContainerRef:l})=>{const[c,m]=(0,a.useState)(0),[b,g]=(0,a.useState)(0),h=i(),j=(0,a.useRef)(null),p=(0,a.useRef)(null),y=o(p,l,b,[u])&&u;(0,a.useLayoutEffect)((()=>{if(u){const e=()=>{l.current&&m(l.current.offsetWidth),g((e=>0!==e&&y?e:j.current.offsetHeight))};return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)}}),[y,u,h,l&&l.current]);const x=!r&&!h.submitting&&!h.submitSucceeded&&!h.hasValidationErrors&&(!h.hasSubmitErrors||h.modifiedSinceLastSubmit);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{ref:p}),y?(0,d.jsx)("div",{className:"form-actions__placeholder",style:{height:b}}):null,(0,d.jsx)(f,{targetRef:j,float:y,centered:n,submitting:h.submitting,width:c,beforeButton:t,button:(0,d.jsx)("button",{className:"button",type:"submit",disabled:!x,children:e}),afterButton:s})]})};export{f as n,u as t};
2//# sourceMappingURL=Submit-CHUFd811.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.