1import{Q as e,c as t,rt as n}from"./components-RU2NBAM8.js";import{t as r}from"./jsx-runtime-D-A-xh3Q.js";import{c as i}from"./utils-BqpEolvJ.js";import{m as a,u as o}from"./hooks-izRYOSeC.js";var s=n(e(),1),c=r();function l({children:e,id:n}){let[r,l]=(0,s.useReducer)(i,{}),u=t(),{setNotification:d}=o();return(0,s.useEffect)(()=>{n&&n!==`new`&&Object.keys(r).length&&l()},[n]),(0,s.useEffect)(()=>{if(u?.notification){let{notification:e,...t}=u;d({textKey:`notification.${e}`,params:t})}u&&!u?.errors&&!u?.keepFormState&&l()},[u]),(0,c.jsx)(a.Provider,{value:{state:r,setFormState:l,errors:u?.errors||[]},children:e})}export{l 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.