1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9806,890,2828,1038,382,110,878],{43386:function(e,t,s){Promise.resolve().then(s.bind(s,80152))},80152:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return _}});var n=s(3827),i=s(87957),r=s(30982),l=s(64090),o=s(82670),a=s(5441),u=s(55954),c=s(94286),d=s(70389),f=s(99476),p=s(41158),m=s(29170);let S=["recipients","procedures"];function _(e){let{searchParams:{id:t,edit:s=!1}}=e,{data:_,isFetching:h,isLoading:v}=(0,u.Qy)({id:t}),P=h||v,x=(0,p.os)(),b=c.uZ.find(e=>e.name===x),[w,g]=(0,l.useState)(s?f.SsP.steps.length-1:0),j=(0,r.useTranslations)(),k=(0,l.useMemo)(()=>(0,f.IiD)(f.SsP,w),[w]),E=(0,l.useMemo)(()=>(0,f.yw0)(f.SsP),[]),N=(0,o.cI)({resolver:(0,i.X)(k),defaultValues:E,...p.OK});(0,l.useEffect)(()=>{if(0===w){let e=f.SsP.steps[0];(0,m.s1)("service_viewed",{type:x}),(0,m.Nf)("service_flow",{service_name:x,service_id:null==b?void 0:b.id,step_name:j(e.title),step_id:e.title.toString().replace(".title","")})}},[w]),(0,l.useEffect)(()=>{P||N.reset(t?null==_?void 0:_.data:E)},[P]);let C=(0,l.useCallback)(e=>{console.log("onSubmit ~ data:",e)},[]);return(0,n.jsx)(o.RV,{...N,children:(0,n.jsx)(d.xu,{component:"form",onSubmit:N.handleSubmit(C),flex:1,children:(0,n.jsx)(a.e,{startIndex:w,header:(0,n.jsx)(f.phe,{steps:f.SsP.steps.map(e=>{let{stepTitle:t}=e;return j(t)}),titles:f.SsP.steps.map(e=>{let{title:t}=e;return j(t)})}),footer:(0,n.jsx)(f.ZLO,{form:f.SsP}),onStepChange:e=>{let t=f.SsP.steps[e];(0,m.Nf)("service_flow",{service_name:x,service_id:null==b?void 0:b.id,step_name:j(t.title),step_id:t.title.toString().replace(".title","")}),N.setValue("steps.".concat(S[e-1]),!0),g(e)},children:(0,f.Shm)(f.SsP)})})})}}},function(e){e.O(0,[5651,4358,7326,5400,8851,1544,1778,6990,6890,1349,2971,5468,1744],function(){return e(e.s=43386)}),_N_E=e.O()}]);
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.