@descope/flow-components 2.2.13 → 2.2.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/fm/985.js CHANGED
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_descope_flow_components_2_2_13_1766310389963=self.webpackChunk_descope_flow_components_2_2_13_1766310389963||[]).push([[985],{1985:(s,e,a)=>{a.r(e),a.d(e,{AddressField:()=>ie.t,AddressFieldClass:()=>as,Alert:()=>te.F,AlertClass:()=>es,AppsList:()=>Zs.F,AppsListClass:()=>j,Avatar:()=>js.e,AvatarClass:()=>Q,Badge:()=>Hs.E,BadgeClass:()=>N,Boolean:()=>ps.v,Button:()=>cs.$,ButtonClass:()=>C,ButtonMultiSelectionGroupClass:()=>G,ButtonSelectionGroupClass:()=>f,CalendarClass:()=>X,Checkbox:()=>us.S,CheckboxClass:()=>t,Code:()=>ms.C,CodeSnippet:()=>Js.z,CodeSnippetClass:()=>R,CollapsibleContainer:()=>re._,CollapsibleContainerClass:()=>os,ComboBox:()=>Vs.a,ComboBoxClass:()=>q,Container:()=>gs.m,ContainerClass:()=>n,DateField:()=>le.v,DateFieldClass:()=>K,Divider:()=>hs.c,DividerClass:()=>p,EmailFieldClass:()=>c,EnrichedTextClass:()=>k,Grid:()=>Es.xA,GridClass:()=>I,GridCustomColumn:()=>Es.GK,GridItemDetailsColumn:()=>Es.Kl,GridSelectionColumn:()=>Es.$g,GridTextColumn:()=>Es.I9,Hcaptcha:()=>pe.n,HcaptchaClass:()=>is,HybridField:()=>oe.x,HybridFieldClass:()=>ss,IconClass:()=>o,Image:()=>bs._,ImageClass:()=>x,Input:()=>Ss.p,Link:()=>As.N,LinkClass:()=>u,List:()=>Ws.B,ListClass:()=>$,ListItem:()=>Ws.c,Loader:()=>ks.a,LoaderLinearClass:()=>r,LoaderRadialClass:()=>d,Logo:()=>Ls.g,LogoClass:()=>m,MappingsField:()=>zs.A,MappingsFieldClass:()=>V,Modal:()=>Rs.a,ModalClass:()=>P,MultiSelect:()=>qs.K,MultiSelectComboBoxClass:()=>O,NOTPImage:()=>Is.v,NOTPLink:()=>Ns.y,NewPassword:()=>ys.m,NewPasswordClass:()=>_,NotificationClass:()=>v,NotpImageClass:()=>h,NumberField:()=>xs.o,NumberFieldClass:()=>T,OutboundAppButton:()=>ue.o,OutboundAppButtonClass:()=>rs,OutboundApps:()=>ce.p,OutboundAppsClass:()=>Cs,PasscodeClass:()=>b,Password:()=>ws._,PasswordClass:()=>S,Phone:()=>Fs.b,PhoneFieldClass:()=>w,PhoneFieldInputBoxClass:()=>F,PolicyValidationClass:()=>H,RadioGroupClass:()=>z,Recaptcha:()=>Qs.a,RecaptchaClass:()=>B,RecaptchaV2:()=>Ds.C,RecoveryCodesClass:()=>ts,RecoveryCodesList:()=>ne.k,SAMLGroupMappings:()=>Ks.c,SamlGroupMappingsClass:()=>E,ScopesList:()=>Ys.Q,ScopesListClass:()=>J,SecurityQuestionsSetup:()=>se.x,SecurityQuestionsSetupClass:()=>Z,SecurityQuestionsVerify:()=>ee.h,SecurityQuestionsVerifyClass:()=>Y,Select:()=>_s.l,SingleSelect:()=>Us.Z,Switch:()=>Bs.d,SwitchToggleClass:()=>i,TOTPImage:()=>Ps.n,TOTPLink:()=>vs.i,Text:()=>Ms.E,TextAreaClass:()=>L,TextClass:()=>A,TextField:()=>Gs.A,TextFieldClass:()=>y,Textarea:()=>fs.T,ThirdPartyAppLogo:()=>ae.G,ThirdPartyAppLogoClass:()=>W,TimerButton:()=>Ce.M,TimerButtonClass:()=>ls,Tooltip:()=>ge.m,TooltipClass:()=>ns,TotpImageClass:()=>g,TrustedDevices:()=>me.p,TrustedDevicesClass:()=>ds,Turnstile:()=>de.X,UploadFile:()=>Os.E,UploadFileClass:()=>M,UserAttribute:()=>$s.I,UserAttributeClass:()=>D,UserAuthMethod:()=>Xs.X,UserAuthMethodClass:()=>U,apple:()=>Ts.apple,authenticator:()=>Ts.authenticator,componentsThemeManager:()=>Se,createComponentsTheme:()=>Te,darkTheme:()=>ye,defaultTheme:()=>Le,discord:()=>Ts.discord,edit:()=>Ts.edit,facebook:()=>Ts.facebook,fingerprint:()=>Ts.fingerprint,genColor:()=>Ae,github:()=>Ts.github,gitlab:()=>Ts.gitlab,globalsThemeToStyle:()=>he,google:()=>Ts.google,linkedin:()=>Ts.linkedin,lock:()=>Ts.lock,microsoft:()=>Ts.microsoft,passkey:()=>Ts.passkey,password:()=>Ts.password,plus:()=>Ts.plus,reload:()=>Ts.reload,sessiontoken:()=>Ts.sessiontoken,slack:()=>Ts.slack,sso:()=>Ts.sso,themeToStyle:()=>be,themeVars:()=>ke,whatsapp:()=>Ts.whatsapp});var l=a(5222);const o=l.SQ,t=l.q4,i=l.HO,C=l.J1,r=l.HT,d=l.l1,n=l.SE,p=l.k0,c=l.v_,u=l.Jr,m=l.md,g=l.VX,h=l.jH,T=l.o9,b=l.tl,S=l.MN,A=l.sK,k=l.ml,L=l.xO,y=l.w8,x=l.qn,w=l.NF,F=l.Ul,_=l.Mz,B=l.ul,M=l.Ag,f=l.eo,G=l.fp,P=l.QW,v=l.Cz,I=l.tD,N=l.eA,O=l.td,Q=l.Er,D=l.C1,U=l.pp,V=l.A8,E=l.mq,H=l.wt,R=l.VN,q=l.C9,z=l.tS,K=l.bL,X=l.xs,$=l.xp,j=l.dX,J=l.gZ,W=l.Od,Z=l.rG,Y=l.px,ss=l.$y,es=l.Lg,as=l.bU,ls=l.yj,os=l.O7,ts=l.Qb,is=l.TV,Cs=l.h5,rs=l.yW,ds=l.dq,ns=l.yi;var ps=a(3880),cs=a(5351),us=a(5355),ms=a(9493),gs=a(5202),hs=a(8739),Ts=a(5790),bs=a(1657),Ss=a(4228),As=a(5130),ks=a(7995),Ls=a(3153),ys=a(8778),xs=a(8518),ws=a(4387),Fs=a(7595),_s=a(3177),Bs=a(6766),Ms=a(9389),fs=a(2867),Gs=a(8294),Ps=a(7398),vs=a(2786),Is=a(547),Ns=a(5662),Os=a(1623),Qs=a(9694),Ds=a(8255),Us=a(6291),Vs=a(2577),Es=a(9703),Hs=a(3828),Rs=a(1925),qs=a(8094),zs=a(7558),Ks=a(868),Xs=a(6866),$s=a(3941),js=a(3333),Js=a(5639),Ws=a(6068),Zs=a(4821),Ys=a(8988),se=a(1580),ee=a(8799),ae=a(6553),le=a(4130),oe=a(1391),te=a(9178),ie=a(8989),Ce=a(9482),re=a(6239),de=a(1791),ne=a(5954),pe=a(3741),ce=a(1313),ue=a(5108),me=a(3757),ge=a(62);const he=l.e7,Te=l.o_,be=l._w,Se=l.br,Ae=l.ew,ke=l.G6,Le=l.zQ,ye=l.a5}}]);
1
+ "use strict";(self.webpackChunk_descope_flow_components_2_2_15_1766486686658=self.webpackChunk_descope_flow_components_2_2_15_1766486686658||[]).push([[985],{1985:(s,e,a)=>{a.r(e),a.d(e,{AddressField:()=>ie.t,AddressFieldClass:()=>as,Alert:()=>te.F,AlertClass:()=>es,AppsList:()=>Zs.F,AppsListClass:()=>j,Avatar:()=>js.e,AvatarClass:()=>Q,Badge:()=>Hs.E,BadgeClass:()=>N,Boolean:()=>ps.v,Button:()=>cs.$,ButtonClass:()=>C,ButtonMultiSelectionGroupClass:()=>G,ButtonSelectionGroupClass:()=>f,CalendarClass:()=>X,Checkbox:()=>us.S,CheckboxClass:()=>t,Code:()=>ms.C,CodeSnippet:()=>Js.z,CodeSnippetClass:()=>R,CollapsibleContainer:()=>re._,CollapsibleContainerClass:()=>os,ComboBox:()=>Vs.a,ComboBoxClass:()=>q,Container:()=>gs.m,ContainerClass:()=>n,DateField:()=>le.v,DateFieldClass:()=>K,Divider:()=>hs.c,DividerClass:()=>p,EmailFieldClass:()=>c,EnrichedTextClass:()=>k,Grid:()=>Es.xA,GridClass:()=>I,GridCustomColumn:()=>Es.GK,GridItemDetailsColumn:()=>Es.Kl,GridSelectionColumn:()=>Es.$g,GridTextColumn:()=>Es.I9,Hcaptcha:()=>pe.n,HcaptchaClass:()=>is,HybridField:()=>oe.x,HybridFieldClass:()=>ss,IconClass:()=>o,Image:()=>bs._,ImageClass:()=>x,Input:()=>Ss.p,Link:()=>As.N,LinkClass:()=>u,List:()=>Ws.B,ListClass:()=>$,ListItem:()=>Ws.c,Loader:()=>ks.a,LoaderLinearClass:()=>r,LoaderRadialClass:()=>d,Logo:()=>Ls.g,LogoClass:()=>m,MappingsField:()=>zs.A,MappingsFieldClass:()=>V,Modal:()=>Rs.a,ModalClass:()=>P,MultiSelect:()=>qs.K,MultiSelectComboBoxClass:()=>O,NOTPImage:()=>Is.v,NOTPLink:()=>Ns.y,NewPassword:()=>ys.m,NewPasswordClass:()=>_,NotificationClass:()=>v,NotpImageClass:()=>h,NumberField:()=>xs.o,NumberFieldClass:()=>T,OutboundAppButton:()=>ue.o,OutboundAppButtonClass:()=>rs,OutboundApps:()=>ce.p,OutboundAppsClass:()=>Cs,PasscodeClass:()=>b,Password:()=>ws._,PasswordClass:()=>S,Phone:()=>Fs.b,PhoneFieldClass:()=>w,PhoneFieldInputBoxClass:()=>F,PolicyValidationClass:()=>H,RadioGroupClass:()=>z,Recaptcha:()=>Qs.a,RecaptchaClass:()=>B,RecaptchaV2:()=>Ds.C,RecoveryCodesClass:()=>ts,RecoveryCodesList:()=>ne.k,SAMLGroupMappings:()=>Ks.c,SamlGroupMappingsClass:()=>E,ScopesList:()=>Ys.Q,ScopesListClass:()=>J,SecurityQuestionsSetup:()=>se.x,SecurityQuestionsSetupClass:()=>Z,SecurityQuestionsVerify:()=>ee.h,SecurityQuestionsVerifyClass:()=>Y,Select:()=>_s.l,SingleSelect:()=>Us.Z,Switch:()=>Bs.d,SwitchToggleClass:()=>i,TOTPImage:()=>Ps.n,TOTPLink:()=>vs.i,Text:()=>Ms.E,TextAreaClass:()=>L,TextClass:()=>A,TextField:()=>Gs.A,TextFieldClass:()=>y,Textarea:()=>fs.T,ThirdPartyAppLogo:()=>ae.G,ThirdPartyAppLogoClass:()=>W,TimerButton:()=>Ce.M,TimerButtonClass:()=>ls,Tooltip:()=>ge.m,TooltipClass:()=>ns,TotpImageClass:()=>g,TrustedDevices:()=>me.p,TrustedDevicesClass:()=>ds,Turnstile:()=>de.X,UploadFile:()=>Os.E,UploadFileClass:()=>M,UserAttribute:()=>$s.I,UserAttributeClass:()=>D,UserAuthMethod:()=>Xs.X,UserAuthMethodClass:()=>U,apple:()=>Ts.apple,authenticator:()=>Ts.authenticator,componentsThemeManager:()=>Se,createComponentsTheme:()=>Te,darkTheme:()=>ye,defaultTheme:()=>Le,discord:()=>Ts.discord,edit:()=>Ts.edit,facebook:()=>Ts.facebook,fingerprint:()=>Ts.fingerprint,genColor:()=>Ae,github:()=>Ts.github,gitlab:()=>Ts.gitlab,globalsThemeToStyle:()=>he,google:()=>Ts.google,linkedin:()=>Ts.linkedin,lock:()=>Ts.lock,microsoft:()=>Ts.microsoft,passkey:()=>Ts.passkey,password:()=>Ts.password,plus:()=>Ts.plus,reload:()=>Ts.reload,sessiontoken:()=>Ts.sessiontoken,slack:()=>Ts.slack,sso:()=>Ts.sso,themeToStyle:()=>be,themeVars:()=>ke,whatsapp:()=>Ts.whatsapp});var l=a(5222);const o=l.SQ,t=l.q4,i=l.HO,C=l.J1,r=l.HT,d=l.l1,n=l.SE,p=l.k0,c=l.v_,u=l.Jr,m=l.md,g=l.VX,h=l.jH,T=l.o9,b=l.tl,S=l.MN,A=l.sK,k=l.ml,L=l.xO,y=l.w8,x=l.qn,w=l.NF,F=l.Ul,_=l.Mz,B=l.ul,M=l.Ag,f=l.eo,G=l.fp,P=l.QW,v=l.Cz,I=l.tD,N=l.eA,O=l.td,Q=l.Er,D=l.C1,U=l.pp,V=l.A8,E=l.mq,H=l.wt,R=l.VN,q=l.C9,z=l.tS,K=l.bL,X=l.xs,$=l.xp,j=l.dX,J=l.gZ,W=l.Od,Z=l.rG,Y=l.px,ss=l.$y,es=l.Lg,as=l.bU,ls=l.yj,os=l.O7,ts=l.Qb,is=l.TV,Cs=l.h5,rs=l.yW,ds=l.dq,ns=l.yi;var ps=a(3880),cs=a(5351),us=a(5355),ms=a(9493),gs=a(5202),hs=a(8739),Ts=a(5790),bs=a(1657),Ss=a(4228),As=a(5130),ks=a(7995),Ls=a(3153),ys=a(8778),xs=a(8518),ws=a(4387),Fs=a(7595),_s=a(3177),Bs=a(6766),Ms=a(9389),fs=a(2867),Gs=a(8294),Ps=a(7398),vs=a(2786),Is=a(547),Ns=a(5662),Os=a(1623),Qs=a(9694),Ds=a(8255),Us=a(6291),Vs=a(2577),Es=a(9703),Hs=a(3828),Rs=a(1925),qs=a(8094),zs=a(7558),Ks=a(868),Xs=a(6866),$s=a(3941),js=a(3333),Js=a(5639),Ws=a(6068),Zs=a(4821),Ys=a(8988),se=a(1580),ee=a(8799),ae=a(6553),le=a(4130),oe=a(1391),te=a(9178),ie=a(8989),Ce=a(9482),re=a(6239),de=a(1791),ne=a(5954),pe=a(3741),ce=a(1313),ue=a(5108),me=a(3757),ge=a(62);const he=l.e7,Te=l.o_,be=l._w,Se=l.br,Ae=l.ew,ke=l.G6,Le=l.zQ,ye=l.a5}}]);
@@ -7,6 +7,7 @@ type Props = {
7
7
  hideDelay?: number;
8
8
  opened?: boolean;
9
9
  readonly?: boolean;
10
+ staticDisplay?: boolean;
10
11
  children?: React.ReactNode;
11
12
  };
12
13
  declare module 'react' {
@@ -31,4 +32,5 @@ export interface ITooltip {
31
32
  tooltipHideDelay?: number;
32
33
  tooltipOpened?: boolean;
33
34
  tooltipReadOnly?: boolean;
35
+ tooltipStaticDisplay?: boolean;
34
36
  }
Binary file
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_descope_flow_components_2_2_13_1766310389963=self.webpackChunk_descope_flow_components_2_2_13_1766310389963||[]).push([[999],{3049:(s,a,l)=>{l.r(a),l.d(a,{AddressFieldClass:()=>ls,AlertClass:()=>as,AppsListClass:()=>X,AvatarClass:()=>I,BadgeClass:()=>O,ButtonClass:()=>i,ButtonMultiSelectionGroupClass:()=>N,ButtonSelectionGroupClass:()=>k,CalendarClass:()=>J,CheckboxClass:()=>o,CodeSnippetClass:()=>E,CollapsibleContainerClass:()=>Cs,ComboBoxClass:()=>R,ContainerClass:()=>r,DateFieldClass:()=>z,DividerClass:()=>n,EmailFieldClass:()=>u,EnrichedTextClass:()=>x,GridClass:()=>G,HcaptchaClass:()=>ts,HybridFieldClass:()=>ss,IconClass:()=>C,ImageClass:()=>F,LinkClass:()=>c,ListClass:()=>W,LoaderLinearClass:()=>d,LoaderRadialClass:()=>p,LogoClass:()=>_,MappingsFieldClass:()=>V,ModalClass:()=>P,MultiSelectComboBoxClass:()=>H,NewPasswordClass:()=>B,NotificationClass:()=>v,NotpImageClass:()=>h,NumberFieldClass:()=>m,OutboundAppButtonClass:()=>ds,OutboundAppsClass:()=>is,PasscodeClass:()=>g,PasswordClass:()=>A,PhoneFieldClass:()=>L,PhoneFieldInputBoxClass:()=>w,PolicyValidationClass:()=>D,RadioGroupClass:()=>j,RecaptchaClass:()=>M,RecoveryCodesClass:()=>os,SamlGroupMappingsClass:()=>q,ScopesListClass:()=>K,SecurityQuestionsSetupClass:()=>$,SecurityQuestionsVerifyClass:()=>Y,SwitchToggleClass:()=>t,TextAreaClass:()=>T,TextClass:()=>S,TextFieldClass:()=>y,ThirdPartyAppLogoClass:()=>Z,TimerButtonClass:()=>es,TooltipClass:()=>rs,TotpImageClass:()=>b,TrustedDevicesClass:()=>ps,UploadFileClass:()=>f,UserAttributeClass:()=>Q,UserAuthMethodClass:()=>U});var e=l(5222);const C=e.SQ,o=e.q4,t=e.HO,i=e.J1,d=e.HT,p=e.l1,r=e.SE,n=e.k0,u=e.v_,c=e.Jr,_=e.md,b=e.VX,h=e.jH,m=e.o9,g=e.tl,A=e.MN,S=e.sK,x=e.ml,T=e.xO,y=e.w8,F=e.qn,L=e.NF,w=e.Ul,B=e.Mz,M=e.ul,f=e.Ag,k=e.eo,N=e.fp,P=e.QW,v=e.Cz,G=e.tD,O=e.eA,H=e.td,I=e.Er,Q=e.C1,U=e.pp,V=e.A8,q=e.mq,D=e.wt,E=e.VN,R=e.C9,j=e.tS,z=e.bL,J=e.xs,W=e.xp,X=e.dX,K=e.gZ,Z=e.Od,$=e.rG,Y=e.px,ss=e.$y,as=e.Lg,ls=e.bU,es=e.yj,Cs=e.O7,os=e.Qb,ts=e.TV,is=e.h5,ds=e.yW,ps=e.dq,rs=e.yi}}]);
1
+ "use strict";(self.webpackChunk_descope_flow_components_2_2_15_1766486686658=self.webpackChunk_descope_flow_components_2_2_15_1766486686658||[]).push([[999],{3049:(s,a,l)=>{l.r(a),l.d(a,{AddressFieldClass:()=>ls,AlertClass:()=>as,AppsListClass:()=>X,AvatarClass:()=>I,BadgeClass:()=>O,ButtonClass:()=>i,ButtonMultiSelectionGroupClass:()=>N,ButtonSelectionGroupClass:()=>k,CalendarClass:()=>J,CheckboxClass:()=>o,CodeSnippetClass:()=>E,CollapsibleContainerClass:()=>Cs,ComboBoxClass:()=>R,ContainerClass:()=>r,DateFieldClass:()=>z,DividerClass:()=>n,EmailFieldClass:()=>u,EnrichedTextClass:()=>x,GridClass:()=>G,HcaptchaClass:()=>ts,HybridFieldClass:()=>ss,IconClass:()=>C,ImageClass:()=>F,LinkClass:()=>c,ListClass:()=>W,LoaderLinearClass:()=>d,LoaderRadialClass:()=>p,LogoClass:()=>_,MappingsFieldClass:()=>V,ModalClass:()=>P,MultiSelectComboBoxClass:()=>H,NewPasswordClass:()=>B,NotificationClass:()=>v,NotpImageClass:()=>h,NumberFieldClass:()=>m,OutboundAppButtonClass:()=>ds,OutboundAppsClass:()=>is,PasscodeClass:()=>g,PasswordClass:()=>A,PhoneFieldClass:()=>L,PhoneFieldInputBoxClass:()=>w,PolicyValidationClass:()=>D,RadioGroupClass:()=>j,RecaptchaClass:()=>M,RecoveryCodesClass:()=>os,SamlGroupMappingsClass:()=>q,ScopesListClass:()=>K,SecurityQuestionsSetupClass:()=>$,SecurityQuestionsVerifyClass:()=>Y,SwitchToggleClass:()=>t,TextAreaClass:()=>T,TextClass:()=>S,TextFieldClass:()=>y,ThirdPartyAppLogoClass:()=>Z,TimerButtonClass:()=>es,TooltipClass:()=>rs,TotpImageClass:()=>b,TrustedDevicesClass:()=>ps,UploadFileClass:()=>f,UserAttributeClass:()=>Q,UserAuthMethodClass:()=>U});var e=l(5222);const C=e.SQ,o=e.q4,t=e.HO,i=e.J1,d=e.HT,p=e.l1,r=e.SE,n=e.k0,u=e.v_,c=e.Jr,_=e.md,b=e.VX,h=e.jH,m=e.o9,g=e.tl,A=e.MN,S=e.sK,x=e.ml,T=e.xO,y=e.w8,F=e.qn,L=e.NF,w=e.Ul,B=e.Mz,M=e.ul,f=e.Ag,k=e.eo,N=e.fp,P=e.QW,v=e.Cz,G=e.tD,O=e.eA,H=e.td,I=e.Er,Q=e.C1,U=e.pp,V=e.A8,q=e.mq,D=e.wt,E=e.VN,R=e.C9,j=e.tS,z=e.bL,J=e.xs,W=e.xp,X=e.dX,K=e.gZ,Z=e.Od,$=e.rG,Y=e.px,ss=e.$y,as=e.Lg,ls=e.bU,es=e.yj,Cs=e.O7,os=e.Qb,ts=e.TV,is=e.h5,ds=e.yW,ps=e.dq,rs=e.yi}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_descope_flow_components_2_2_13_1766310389963=self.webpackChunk_descope_flow_components_2_2_13_1766310389963||[]).push([[924],{3676:(e,o,t)=>{t.r(o),t.d(o,{AddressField:()=>W.t,Alert:()=>J.F,AppsList:()=>V.F,Avatar:()=>R.e,Badge:()=>M.E,Boolean:()=>i.v,Button:()=>s.$,Checkbox:()=>a.S,Code:()=>p.C,CodeSnippet:()=>U.z,CollapsibleContainer:()=>ee._,ComboBox:()=>P.a,Container:()=>l.m,DateField:()=>j.v,Divider:()=>n.c,Grid:()=>B.xA,GridCustomColumn:()=>B.GK,GridItemDetailsColumn:()=>B.Kl,GridSelectionColumn:()=>B.$g,GridTextColumn:()=>B.I9,Hcaptcha:()=>ie.n,HybridField:()=>q.x,Image:()=>d._,Input:()=>c.p,Link:()=>u.N,List:()=>H.B,ListItem:()=>H.c,Loader:()=>g.a,Logo:()=>k.g,MappingsField:()=>D.A,Modal:()=>O.a,MultiSelect:()=>N.K,NOTPImage:()=>x.v,NOTPLink:()=>y.y,NewPassword:()=>m.m,NumberField:()=>h.o,OutboundAppButton:()=>ae.o,OutboundApps:()=>se.p,Password:()=>b._,Phone:()=>C.b,Recaptcha:()=>v.a,RecaptchaV2:()=>G.C,RecoveryCodesList:()=>te.k,SAMLGroupMappings:()=>E.c,ScopesList:()=>X.Q,SecurityQuestionsSetup:()=>$.x,SecurityQuestionsVerify:()=>z.h,Select:()=>_.l,SingleSelect:()=>I.Z,Switch:()=>T.d,TOTPImage:()=>L.n,TOTPLink:()=>f.i,Text:()=>A.E,TextField:()=>w.A,Textarea:()=>S.T,ThirdPartyAppLogo:()=>Z.G,TimerButton:()=>Y.M,Tooltip:()=>le.m,TrustedDevices:()=>pe.p,Turnstile:()=>oe.X,UploadFile:()=>F.E,UserAttribute:()=>Q.I,UserAuthMethod:()=>K.X,apple:()=>r.apple,authenticator:()=>r.authenticator,discord:()=>r.discord,edit:()=>r.edit,facebook:()=>r.facebook,fingerprint:()=>r.fingerprint,github:()=>r.github,gitlab:()=>r.gitlab,google:()=>r.google,linkedin:()=>r.linkedin,lock:()=>r.lock,microsoft:()=>r.microsoft,passkey:()=>r.passkey,password:()=>r.password,plus:()=>r.plus,reload:()=>r.reload,sessiontoken:()=>r.sessiontoken,slack:()=>r.slack,sso:()=>r.sso,whatsapp:()=>r.whatsapp});var i=t(3880),s=t(5351),a=t(5355),p=t(9493),l=t(5202),n=t(8739),r=t(5790),d=t(1657),c=t(4228),u=t(5130),g=t(7995),k=t(3153),m=t(8778),h=t(8518),b=t(4387),C=t(7595),_=t(3177),T=t(6766),A=t(9389),S=t(2867),w=t(8294),L=t(7398),f=t(2786),x=t(547),y=t(5662),F=t(1623),v=t(9694),G=t(8255),I=t(6291),P=t(2577),B=t(9703),M=t(3828),O=t(1925),N=t(8094),D=t(7558),E=t(868),K=t(6866),Q=t(3941),R=t(3333),U=t(5639),H=t(6068),V=t(4821),X=t(8988),$=t(1580),z=t(8799),Z=t(6553),j=t(4130),q=t(1391),J=t(9178),W=t(8989),Y=t(9482),ee=t(6239),oe=t(1791),te=t(5954),ie=t(3741),se=t(1313),ae=t(5108),pe=t(3757),le=t(62)}}]);
1
+ "use strict";(self.webpackChunk_descope_flow_components_2_2_15_1766486686658=self.webpackChunk_descope_flow_components_2_2_15_1766486686658||[]).push([[924],{3676:(e,o,t)=>{t.r(o),t.d(o,{AddressField:()=>W.t,Alert:()=>J.F,AppsList:()=>V.F,Avatar:()=>R.e,Badge:()=>M.E,Boolean:()=>i.v,Button:()=>s.$,Checkbox:()=>a.S,Code:()=>p.C,CodeSnippet:()=>U.z,CollapsibleContainer:()=>ee._,ComboBox:()=>P.a,Container:()=>l.m,DateField:()=>j.v,Divider:()=>n.c,Grid:()=>B.xA,GridCustomColumn:()=>B.GK,GridItemDetailsColumn:()=>B.Kl,GridSelectionColumn:()=>B.$g,GridTextColumn:()=>B.I9,Hcaptcha:()=>ie.n,HybridField:()=>q.x,Image:()=>d._,Input:()=>c.p,Link:()=>u.N,List:()=>H.B,ListItem:()=>H.c,Loader:()=>g.a,Logo:()=>k.g,MappingsField:()=>D.A,Modal:()=>O.a,MultiSelect:()=>N.K,NOTPImage:()=>x.v,NOTPLink:()=>y.y,NewPassword:()=>m.m,NumberField:()=>h.o,OutboundAppButton:()=>ae.o,OutboundApps:()=>se.p,Password:()=>b._,Phone:()=>C.b,Recaptcha:()=>v.a,RecaptchaV2:()=>G.C,RecoveryCodesList:()=>te.k,SAMLGroupMappings:()=>E.c,ScopesList:()=>X.Q,SecurityQuestionsSetup:()=>$.x,SecurityQuestionsVerify:()=>z.h,Select:()=>_.l,SingleSelect:()=>I.Z,Switch:()=>T.d,TOTPImage:()=>L.n,TOTPLink:()=>f.i,Text:()=>A.E,TextField:()=>w.A,Textarea:()=>S.T,ThirdPartyAppLogo:()=>Z.G,TimerButton:()=>Y.M,Tooltip:()=>le.m,TrustedDevices:()=>pe.p,Turnstile:()=>oe.X,UploadFile:()=>F.E,UserAttribute:()=>Q.I,UserAuthMethod:()=>K.X,apple:()=>r.apple,authenticator:()=>r.authenticator,discord:()=>r.discord,edit:()=>r.edit,facebook:()=>r.facebook,fingerprint:()=>r.fingerprint,github:()=>r.github,gitlab:()=>r.gitlab,google:()=>r.google,linkedin:()=>r.linkedin,lock:()=>r.lock,microsoft:()=>r.microsoft,passkey:()=>r.passkey,password:()=>r.password,plus:()=>r.plus,reload:()=>r.reload,sessiontoken:()=>r.sessiontoken,slack:()=>r.slack,sso:()=>r.sso,whatsapp:()=>r.whatsapp});var i=t(3880),s=t(5351),a=t(5355),p=t(9493),l=t(5202),n=t(8739),r=t(5790),d=t(1657),c=t(4228),u=t(5130),g=t(7995),k=t(3153),m=t(8778),h=t(8518),b=t(4387),C=t(7595),_=t(3177),T=t(6766),A=t(9389),S=t(2867),w=t(8294),L=t(7398),f=t(2786),x=t(547),y=t(5662),F=t(1623),v=t(9694),G=t(8255),I=t(6291),P=t(2577),B=t(9703),M=t(3828),O=t(1925),N=t(8094),D=t(7558),E=t(868),K=t(6866),Q=t(3941),R=t(3333),U=t(5639),H=t(6068),V=t(4821),X=t(8988),$=t(1580),z=t(8799),Z=t(6553),j=t(4130),q=t(1391),J=t(9178),W=t(8989),Y=t(9482),ee=t(6239),oe=t(1791),te=t(5954),ie=t(3741),se=t(1313),ae=t(5108),pe=t(3757),le=t(62)}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_descope_flow_components_2_2_13_1766310389963=self.webpackChunk_descope_flow_components_2_2_13_1766310389963||[]).push([[143],{71:(e,o,_)=>{_.r(o),_.d(o,{componentsThemeManager:()=>m,createComponentsTheme:()=>t,darkTheme:()=>p,defaultTheme:()=>l,genColor:()=>c,globalsThemeToStyle:()=>n,themeToStyle:()=>a,themeVars:()=>h});var s=_(5222);const n=s.e7,t=s.o_,a=s._w,m=s.br,c=s.ew,h=s.G6,l=s.zQ,p=s.a5}}]);
1
+ "use strict";(self.webpackChunk_descope_flow_components_2_2_15_1766486686658=self.webpackChunk_descope_flow_components_2_2_15_1766486686658||[]).push([[143],{71:(e,o,_)=>{_.r(o),_.d(o,{componentsThemeManager:()=>m,createComponentsTheme:()=>t,darkTheme:()=>p,defaultTheme:()=>l,genColor:()=>c,globalsThemeToStyle:()=>n,themeToStyle:()=>a,themeVars:()=>h});var s=_(5222);const n=s.e7,t=s.o_,a=s._w,m=s.br,c=s.ew,h=s.G6,l=s.zQ,p=s.a5}}]);
@@ -1 +1 @@
1
- var flowComponents;(()=>{"use strict";var __webpack_modules__={509:(e,t,o)=>{var r={};function n(){return n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},n.apply(this,arguments)}function s(e,t){if(null==e)return{};var o,r,n={},s=Object.keys(e);for(r=0;r<s.length;r++)o=s[r],t.indexOf(o)>=0||(n[o]=e[o]);return n}o.r(r),o.d(r,{FederationHost:()=>mt,Module:()=>ze,getInstance:()=>St,getRemoteEntry:()=>Ve,getRemoteInfo:()=>Ke,init:()=>dt,loadRemote:()=>ft,loadScript:()=>a.k0,loadScriptNode:()=>a.oe,loadShare:()=>_t,loadShareSync:()=>yt,preloadRemote:()=>gt,registerGlobalPlugins:()=>W,registerPlugins:()=>Et,registerRemotes:()=>bt});var a=o(2870);const i="RUNTIME-001",l="RUNTIME-002",c="RUNTIME-003",u="RUNTIME-004",p="RUNTIME-005",m="RUNTIME-006",h="RUNTIME-007",d="RUNTIME-008",f="TYPE-001",_="BUILD-001",y=(e,t,o,r)=>{const n=[`${[t[e]]} #${e}`];return o&&n.push(`args: ${JSON.stringify(o)}`),n.push((e=>`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split("-")[0].toLowerCase()}/${e}`)(e)),r&&n.push(`Original Error Message:\n ${r}`),n.join("\n")};function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},g.apply(this,arguments)}const b={[i]:"Failed to get remoteEntry exports.",[l]:'The remote entry interface does not contain "init"',[c]:"Failed to get manifest.",[u]:"Failed to locate remote.",[p]:"Invalid loadShareSync function call from bundler runtime",[m]:"Invalid loadShareSync function call from runtime",[h]:"Failed to get remote snapshot.",[d]:"Failed to load script resources."},E=(g({},b,{[f]:"Failed to generate type declaration. Execute the below cmd to reproduce and fix the error."},{[_]:"Failed to find expose module."}),"[ Federation Runtime ]"),S=(0,a.h)(E);function v(e,t){e||w(t)}function w(e){if(e instanceof Error)throw e.message=`${E}: ${e.message}`,e;throw new Error(`${E}: ${e}`)}function N(e){e instanceof Error?(e.message=`${E}: ${e.message}`,S.warn(e)):S.warn(e)}function k(e,t){return-1===e.findIndex(e=>e===t)&&e.push(t),e}function I(e){return"version"in e&&e.version?`${e.name}:${e.version}`:"entry"in e&&e.entry?`${e.name}:${e.entry}`:`${e.name}`}function R(e){return void 0!==e.entry}function O(e){return!e.entry.includes(".json")&&e.entry.includes(".js")}function $(e){return e&&"object"==typeof e}const T=Object.prototype.toString;function A(e){return Array.isArray(e)?e:[e]}function M(e){const t={url:"",type:"global",globalName:""};return(0,a.OL)()||(0,a.tf)()?"remoteEntry"in e?{url:e.remoteEntry,type:e.remoteEntryType,globalName:e.globalName}:t:"ssrRemoteEntry"in e?{url:e.ssrRemoteEntry||t.url,type:e.ssrRemoteEntryType||t.type,globalName:e.globalName}:t}const P="object"==typeof globalThis?globalThis:window,x=(()=>{try{return document.defaultView}catch(e){return P}})(),L=x;function D(e,t,o){Object.defineProperty(e,t,{value:o,configurable:!1,writable:!0})}function H(e,t){return Object.hasOwnProperty.call(e,t)}H(P,"__GLOBAL_LOADING_REMOTE_ENTRY__")||D(P,"__GLOBAL_LOADING_REMOTE_ENTRY__",{});const j=P.__GLOBAL_LOADING_REMOTE_ENTRY__;function C(e){var t,o,r,n,s,a;H(e,"__VMOK__")&&!H(e,"__FEDERATION__")&&D(e,"__FEDERATION__",e.__VMOK__),H(e,"__FEDERATION__")||(D(e,"__FEDERATION__",{__GLOBAL_PLUGIN__:[],__INSTANCES__:[],moduleInfo:{},__SHARE__:{},__MANIFEST_LOADING__:{},__PRELOADED_MAP__:new Map}),D(e,"__VMOK__",e.__FEDERATION__)),null!=(t=e.__FEDERATION__).__GLOBAL_PLUGIN__||(t.__GLOBAL_PLUGIN__=[]),null!=(o=e.__FEDERATION__).__INSTANCES__||(o.__INSTANCES__=[]),null!=(r=e.__FEDERATION__).moduleInfo||(r.moduleInfo={}),null!=(n=e.__FEDERATION__).__SHARE__||(n.__SHARE__={}),null!=(s=e.__FEDERATION__).__MANIFEST_LOADING__||(s.__MANIFEST_LOADING__={}),null!=(a=e.__FEDERATION__).__PRELOADED_MAP__||(a.__PRELOADED_MAP__=new Map)}function F(e,t){if("string"==typeof t){if(e[t])return{value:e[t],key:t};{const o=Object.keys(e);for(const r of o){const[o,n]=r.split(":"),s=`${o}:${t}`,a=e[s];if(a)return{value:a,key:s}}return{value:void 0,key:t}}}throw new Error("key must be string")}C(P),C(x);const q=()=>x.__FEDERATION__.moduleInfo,G=e=>((e,t)=>{const o=F(t,I(e)).value;if(o&&!o.version&&"version"in e&&e.version&&(o.version=e.version),o)return o;if("version"in e&&e.version){const{version:t}=e,o=I(s(e,["version"])),r=F(x.__FEDERATION__.moduleInfo,o).value;if((null==r?void 0:r.version)===t)return r}})(e,x.__FEDERATION__.moduleInfo),U=(e,t)=>{const o=I(e);return x.__FEDERATION__.moduleInfo[o]=t,x.__FEDERATION__.moduleInfo},B=(e,t)=>{const o=t||`__FEDERATION_${e}:custom__`;return{remoteEntryKey:o,entryExports:P[o]}},W=e=>{const{__GLOBAL_PLUGIN__:t}=x.__FEDERATION__;e.forEach(e=>{-1===t.findIndex(t=>t.name===e.name)?t.push(e):N(`The plugin ${e.name} has been registered.`)})},V=e=>P.__FEDERATION__.__PRELOADED_MAP__.get(e),K=e=>P.__FEDERATION__.__PRELOADED_MAP__.set(e,!0),z="default",X="global",Y="[0-9A-Za-z-]+",J=`(?:\\+(${Y}(?:\\.${Y})*))`,Z="0|[1-9]\\d*",Q="[0-9]+",ee="\\d*[a-zA-Z-][a-zA-Z0-9-]*",te=`(?:${Q}|${ee})`,oe=`(?:${Z}|${ee})`,re=`(?:-(${oe}(?:\\.${oe})*))`,ne=`${Z}|x|X|\\*`,se=`[v=\\s]*(${ne})(?:\\.(${ne})(?:\\.(${ne})(?:${re})?${J}?)?)?`,ae=`^\\s*(${se})\\s+-\\s+(${se})\\s*$`,ie="((?:<|>)?=?)",le=`(\\s*)${ie}\\s*([v=\\s]*(${Q})\\.(${Q})\\.(${Q})(?:-?(${te}(?:\\.${te})*))?${J}?|${se})`,ce="(?:~>?)",ue=`(\\s*)${ce}\\s+`,pe="(?:\\^)",me=`(\\s*)${pe}\\s+`,he=`^${pe}${se}$`,de=`^${ce}${se}$`,fe=`^${ie}\\s*${se}$`,_e=`^${ie}\\s*(v?(${Z})\\.(${Z})\\.(${Z})${re}?${J}?)$|^$`;function ye(e){return new RegExp(e)}function ge(e){return!e||"x"===e.toLowerCase()||"*"===e}function be(...e){return t=>e.reduce((e,t)=>t(e),t)}function Ee(e){return e.match(ye(_e))}function Se(e,t,o,r){const n=`${e}.${t}.${o}`;return r?`${n}-${r}`:n}function ve(e){return e.replace(ye(ae),(e,t,o,r,n,s,a,i,l,c,u,p)=>`${t=ge(o)?"":ge(r)?`>=${o}.0.0`:ge(n)?`>=${o}.${r}.0`:`>=${t}`} ${i=ge(l)?"":ge(c)?`<${Number(l)+1}.0.0-0`:ge(u)?`<${l}.${Number(c)+1}.0-0`:p?`<=${l}.${c}.${u}-${p}`:`<=${i}`}`.trim())}function we(e){return e.replace(ye(le),"$1$2$3")}function Ne(e){return e.replace(ye(ue),"$1~")}function ke(e){return e.replace(ye(me),"$1^")}function Ie(e){return e.trim().split(/\s+/).map(e=>e.replace(ye(he),(e,t,o,r,n)=>ge(t)?"":ge(o)?`>=${t}.0.0 <${Number(t)+1}.0.0-0`:ge(r)?"0"===t?`>=${t}.${o}.0 <${t}.${Number(o)+1}.0-0`:`>=${t}.${o}.0 <${Number(t)+1}.0.0-0`:n?"0"===t?"0"===o?`>=${t}.${o}.${r}-${n} <${t}.${o}.${Number(r)+1}-0`:`>=${t}.${o}.${r}-${n} <${t}.${Number(o)+1}.0-0`:`>=${t}.${o}.${r}-${n} <${Number(t)+1}.0.0-0`:"0"===t?"0"===o?`>=${t}.${o}.${r} <${t}.${o}.${Number(r)+1}-0`:`>=${t}.${o}.${r} <${t}.${Number(o)+1}.0-0`:`>=${t}.${o}.${r} <${Number(t)+1}.0.0-0`)).join(" ")}function Re(e){return e.trim().split(/\s+/).map(e=>e.replace(ye(de),(e,t,o,r,n)=>ge(t)?"":ge(o)?`>=${t}.0.0 <${Number(t)+1}.0.0-0`:ge(r)?`>=${t}.${o}.0 <${t}.${Number(o)+1}.0-0`:n?`>=${t}.${o}.${r}-${n} <${t}.${Number(o)+1}.0-0`:`>=${t}.${o}.${r} <${t}.${Number(o)+1}.0-0`)).join(" ")}function Oe(e){return e.split(/\s+/).map(e=>e.trim().replace(ye(fe),(e,t,o,r,n,s)=>{const a=ge(o),i=a||ge(r),l=i||ge(n);return"="===t&&l&&(t=""),s="",a?">"===t||"<"===t?"<0.0.0-0":"*":t&&l?(i&&(r=0),n=0,">"===t?(t=">=",i?(o=Number(o)+1,r=0,n=0):(r=Number(r)+1,n=0)):"<="===t&&(t="<",i?o=Number(o)+1:r=Number(r)+1),"<"===t&&(s="-0"),`${t+o}.${r}.${n}${s}`):i?`>=${o}.0.0${s} <${Number(o)+1}.0.0-0`:l?`>=${o}.${r}.0${s} <${o}.${Number(r)+1}.0-0`:e})).join(" ")}function $e(e){return e.trim().replace(ye("(<|>)?=?\\s*\\*"),"")}function Te(e,t){return(e=Number(e)||e)>(t=Number(t)||t)?1:e===t?0:-1}function Ae(e,t){return Te(e.major,t.major)||Te(e.minor,t.minor)||Te(e.patch,t.patch)||function(e,t){const{preRelease:o}=e,{preRelease:r}=t;if(void 0===o&&Boolean(r))return 1;if(Boolean(o)&&void 0===r)return-1;if(void 0===o&&void 0===r)return 0;for(let e=0,t=o.length;e<=t;e++){const t=o[e],n=r[e];if(t!==n)return void 0===t&&void 0===n?0:t?n?Te(t,n):-1:1}return 0}(e,t)}function Me(e,t){return e.version===t.version}function Pe(e,t){switch(e.operator){case"":case"=":return Me(e,t);case">":return Ae(e,t)<0;case">=":return Me(e,t)||Ae(e,t)<0;case"<":return Ae(e,t)>0;case"<=":return Me(e,t)||Ae(e,t)>0;case void 0:return!0;default:return!1}}function xe(e,t){if(!e)return!1;const o=function(e){return be(ve,we,Ne,ke)(e.trim()).split(/\s+/).join(" ")}(t),r=o.split(" ").map(e=>function(e){return be(Ie,Re,Oe,$e)(e)}(e)).join(" "),n=r.split(/\s+/).map(e=>e.trim().replace(ye("^\\s*>=\\s*0.0.0\\s*$"),"")),s=Ee(e);if(!s)return!1;const[,a,,i,l,c,u]=s,p={operator:a,version:Se(i,l,c,u),major:i,minor:l,patch:c,preRelease:null==u?void 0:u.split(".")};for(const e of n){const t=Ee(e);if(!t)return!1;const[,o,,r,n,s,a]=t;if(!Pe({operator:o,version:Se(r,n,s,a),major:r,minor:n,patch:s,preRelease:null==a?void 0:a.split(".")},p))return!1}return!0}function Le(e,t){const o=t.shared||{},r=t.name,s=Object.keys(o).reduce((e,s)=>{const a=A(o[s]);return e[s]=e[s]||[],a.forEach(o=>{e[s].push(function(e,t,o,r){let s;var a,i,l;return s="get"in e?e.get:"lib"in e?()=>Promise.resolve(e.lib):()=>Promise.resolve(()=>{throw new Error(`Can not get shared '${o}'!`)}),n({deps:[],useIn:[],from:t,loading:null},e,{shareConfig:n({requiredVersion:`^${e.version}`,singleton:!1,eager:!1,strictVersion:!1},e.shareConfig),get:s,loaded:!(!(null==e?void 0:e.loaded)&&!("lib"in e))||void 0,version:null!=(a=e.version)?a:"0",scope:Array.isArray(e.scope)?e.scope:[null!=(i=e.scope)?i:"default"],strategy:(null!=(l=e.strategy)?l:r)||"version-first"})}(o,r,s,t.shareStrategy))}),e},{}),a=n({},e.shared);return Object.keys(s).forEach(e=>{a[e]?s[e].forEach(t=>{a[e].find(e=>e.version===t.version)||a[e].push(t)}):a[e]=s[e]}),{shared:a,shareInfos:s}}function De(e,t){const o=e=>{if(!Number.isNaN(Number(e))){const t=e.split(".");let o=e;for(let e=0;e<3-t.length;e++)o+=".0";return o}return e};return!!xe(o(e),`<=${o(t)}`)}const He=(e,t)=>{const o=t||function(e,t){return De(e,t)};return Object.keys(e).reduce((e,t)=>e?o(e,t)||"0"===e?t:e:t,0)},je=e=>Boolean(e.loaded)||"function"==typeof e.lib;function Ce(e,t,o){const r=e[t][o];return He(e[t][o],function(e,t){return!je(r[e])&&De(e,t)})}function Fe(e,t,o){const r=e[t][o];return He(e[t][o],function(e,t){const o=e=>je(e)||(e=>Boolean(e.loading))(e);return o(r[t])?!o(r[e])||Boolean(De(e,t)):!o(r[e])&&De(e,t)})}function qe(e){return"loaded-first"===e?Fe:Ce}function Ge(e,t,o,r){if(!e)return;const{shareConfig:n,scope:s=z,strategy:a}=o,i=Array.isArray(s)?s:[s];for(const s of i)if(n&&e[s]&&e[s][t]){const{requiredVersion:i}=n,l=qe(a)(e,s,t),c=()=>{if(n.singleton){if("string"==typeof i&&!xe(l,i)){const r=`Version ${l} from ${l&&e[s][t][l].from} of shared singleton module ${t} does not satisfy the requirement of ${o.from} which needs ${i})`;n.strictVersion?w(r):N(r)}return e[s][t][l]}if(!1===i||"*"===i)return e[s][t][l];if(xe(l,i))return e[s][t][l];for(const[o,r]of Object.entries(e[s][t]))if(xe(o,i))return r},u={shareScopeMap:e,scope:s,pkgName:t,version:l,GlobalFederation:L.__FEDERATION__,resolver:c};return(r.emit(u)||u).resolver()}}function Ue(){return L.__FEDERATION__.__SHARE__}function Be(e){const{pkgName:t,extraOptions:o,shareInfos:r}=e;var n;const s=null!=(n=null==o?void 0:o.resolver)?n:e=>{if(!e)return;const t={};e.forEach(e=>{t[e.version]=e});const o=He(t,function(e,o){return!je(t[e])&&De(e,o)});return t[o]};return Object.assign({},s(r[t]),null==o?void 0:o.customShareInfo)}function We(e){const{entry:t,name:o}=e;return(0,a.lG)(o,t)}async function Ve({origin:e,remoteEntryExports:t,remoteInfo:o}){const r=We(o);if(t)return t;if(!j[r]){const n=e.remoteHandler.hooks.lifecycle.loadEntry,s=e.loaderHook;j[r]=n.emit({loaderHook:s,remoteInfo:o,remoteEntryExports:t}).then(e=>e||((0,a.OL)()?async function({remoteInfo:e,remoteEntryExports:t,loaderHook:o}){const{entry:r,entryGlobalName:n,name:s,type:l}=e;switch(l){case"esm":case"module":return async function({entry:e,remoteEntryExports:t}){return new Promise((o,r)=>{try{t?o(t):"undefined"!=typeof FEDERATION_ALLOW_NEW_FUNCTION?new Function("callbacks",`import("${e}").then(callbacks[0]).catch(callbacks[1])`)([o,r]):import(e).then(o).catch(r)}catch(e){r(e)}})}({entry:r,remoteEntryExports:t});case"system":return async function({entry:e,remoteEntryExports:t}){return new Promise((o,r)=>{try{t?o(t):new Function("callbacks",`System.import("${e}").then(callbacks[0]).catch(callbacks[1])`)([o,r])}catch(e){r(e)}})}({entry:r,remoteEntryExports:t});default:return async function({name:e,globalName:t,entry:o,loaderHook:r}){const{entryExports:n}=B(e,t);return n||(0,a.k0)(o,{attrs:{},createScriptHook:(e,t)=>{const o=r.lifecycle.createScript.emit({url:e,attrs:t});if(o)return o instanceof HTMLScriptElement||"script"in o||"timeout"in o?o:void 0}}).then(()=>{const{remoteEntryKey:r,entryExports:n}=B(e,t);return v(n,y(i,b,{remoteName:e,remoteEntryUrl:o,remoteEntryKey:r})),n}).catch(t=>{throw v(void 0,y(d,b,{remoteName:e,resourceUrl:o})),t})}({entry:r,globalName:n,name:s,loaderHook:o})}}({remoteInfo:o,remoteEntryExports:t,loaderHook:s}):async function({remoteInfo:e,loaderHook:t}){const{entry:o,entryGlobalName:r,name:n,type:s}=e,{entryExports:l}=B(n,r);return l||(0,a.oe)(o,{attrs:{name:n,globalName:r,type:s},loaderHook:{createScriptHook:(e,o={})=>{const r=t.lifecycle.createScript.emit({url:e,attrs:o});if(r)return"url"in r?r:void 0}}}).then(()=>{const{remoteEntryKey:e,entryExports:t}=B(n,r);return v(t,y(i,b,{remoteName:n,remoteEntryUrl:o,remoteEntryKey:e})),t}).catch(e=>{throw e})}({remoteInfo:o,loaderHook:s})))}return j[r]}function Ke(e){return n({},e,{entry:"entry"in e?e.entry:"",type:e.type||X,entryGlobalName:e.entryGlobalName||e.name,shareScope:e.shareScope||z})}let ze=class{async getEntry(){if(this.remoteEntryExports)return this.remoteEntryExports;let e;try{e=await Ve({origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports})}catch(t){const o=We(this.remoteInfo);e=await this.host.loaderHook.lifecycle.loadEntryError.emit({getRemoteEntry:Ve,origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports,globalLoading:j,uniqueKey:o})}return v(e,`remoteEntryExports is undefined \n ${(0,a.ML)(this.remoteInfo)}`),this.remoteEntryExports=e,this.remoteEntryExports}async get(e,t,o,r){const{loadFactory:s=!0}=o||{loadFactory:!0},a=await this.getEntry();if(!this.inited){const t=this.host.shareScopeMap,o=Array.isArray(this.remoteInfo.shareScope)?this.remoteInfo.shareScope:[this.remoteInfo.shareScope];o.length||o.push("default"),o.forEach(e=>{t[e]||(t[e]={})});const s=t[o[0]],i=[],c={version:this.remoteInfo.version||"",shareScopeKeys:Array.isArray(this.remoteInfo.shareScope)?o:this.remoteInfo.shareScope||"default"};Object.defineProperty(c,"shareScopeMap",{value:t,enumerable:!1});const u=await this.host.hooks.lifecycle.beforeInitContainer.emit({shareScope:s,remoteEntryInitOptions:c,initScope:i,remoteInfo:this.remoteInfo,origin:this.host});void 0===(null==a?void 0:a.init)&&w(y(l,b,{remoteName:name,remoteEntryUrl:this.remoteInfo.entry,remoteEntryKey:this.remoteInfo.entryGlobalName})),await a.init(u.shareScope,u.initScope,u.remoteEntryInitOptions),await this.host.hooks.lifecycle.initContainer.emit(n({},u,{id:e,remoteSnapshot:r,remoteEntryExports:a}))}let i;this.lib=a,this.inited=!0,i=await this.host.loaderHook.lifecycle.getModuleFactory.emit({remoteEntryExports:a,expose:t,moduleInfo:this.remoteInfo}),i||(i=await a.get(t)),v(i,`${I(this.remoteInfo)} remote don't export ${t}.`);const c=((e,t)=>{let o;return o=e.endsWith("/")?e.slice(0,-1):e,t.startsWith(".")&&(t=t.slice(1)),o+=t,o})(this.remoteInfo.name,t),u=this.wraperFactory(i,c);return s?await u():u}wraperFactory(e,t){function o(e,t){e&&"object"==typeof e&&Object.isExtensible(e)&&!Object.getOwnPropertyDescriptor(e,Symbol.for("mf_module_id"))&&Object.defineProperty(e,Symbol.for("mf_module_id"),{value:t,enumerable:!1})}return e instanceof Promise?async()=>{const r=await e();return o(r,t),r}:()=>{const r=e();return o(r,t),r}}constructor({remoteInfo:e,host:t}){this.inited=!1,this.lib=void 0,this.remoteInfo=e,this.host=t}};class Xe{on(e){"function"==typeof e&&this.listeners.add(e)}once(e){const t=this;this.on(function o(...r){return t.remove(o),e.apply(null,r)})}emit(...e){let t;return this.listeners.size>0&&this.listeners.forEach(o=>{t=o(...e)}),t}remove(e){this.listeners.delete(e)}removeAll(){this.listeners.clear()}constructor(e){this.type="",this.listeners=new Set,e&&(this.type=e)}}class Ye extends Xe{emit(...e){let t;const o=Array.from(this.listeners);if(o.length>0){let r=0;const n=t=>!1!==t&&(r<o.length?Promise.resolve(o[r++].apply(null,e)).then(n):t);t=n()}return Promise.resolve(t)}}function Je(e,t){if(!$(t))return!1;if(e!==t)for(const o in e)if(!(o in t))return!1;return!0}class Ze extends Xe{emit(e){$(e)||w(`The data for the "${this.type}" hook should be an object.`);for(const t of this.listeners)try{const o=t(e);if(!Je(e,o)){this.onerror(`A plugin returned an unacceptable value for the "${this.type}" type.`);break}e=o}catch(e){N(e),this.onerror(e)}return e}constructor(e){super(),this.onerror=w,this.type=e}}class Qe extends Xe{emit(e){$(e)||w(`The response data for the "${this.type}" hook must be an object.`);const t=Array.from(this.listeners);if(t.length>0){let o=0;const r=t=>(N(t),this.onerror(t),e),n=s=>{if(Je(e,s)){if(e=s,o<t.length)try{return Promise.resolve(t[o++](e)).then(n,r)}catch(e){return r(e)}}else this.onerror(`A plugin returned an incorrect value for the "${this.type}" type.`);return e};return Promise.resolve(n(e))}return Promise.resolve(e)}constructor(e){super(),this.onerror=w,this.type=e}}class et{applyPlugin(e){var t;v((t=e,"[object Object]"===T.call(t)),"Plugin configuration is invalid.");const o=e.name;v(o,"A name must be provided by the plugin."),this.registerPlugins[o]||(this.registerPlugins[o]=e,Object.keys(this.lifecycle).forEach(t=>{const o=e[t];o&&this.lifecycle[t].on(o)}))}removePlugin(e){v(e,"A name is required.");const t=this.registerPlugins[e];v(t,`The plugin "${e}" is not registered.`),Object.keys(t).forEach(e=>{"name"!==e&&this.lifecycle[e].remove(t[e])})}inherit({lifecycle:e,registerPlugins:t}){Object.keys(e).forEach(t=>{v(!this.lifecycle[t],`The hook "${t}" has a conflict and cannot be inherited.`),this.lifecycle[t]=e[t]}),Object.keys(t).forEach(e=>{v(!this.registerPlugins[e],`The plugin "${e}" has a conflict and cannot be inherited.`),this.applyPlugin(t[e])})}constructor(e){this.registerPlugins={},this.lifecycle=e,this.lifecycleKeys=Object.keys(e)}}function tt(e){return n({resourceCategory:"sync",share:!0,depsRemote:!0,prefetchInterface:!1},e)}function ot(e,t,o,r=!0){const{cssAssets:n,jsAssetsWithoutEntry:s,entryAssets:i}=o;if(t.options.inBrowser){if(i.forEach(o=>{const{moduleInfo:r}=o,n=t.moduleCache.get(e.name);Ve(n?{origin:t,remoteInfo:r,remoteEntryExports:n.remoteEntryExports}:{origin:t,remoteInfo:r,remoteEntryExports:void 0})}),r){const e={rel:"preload",as:"style"};n.forEach(o=>{const{link:r,needAttach:n}=(0,a.d)({url:o,cb:()=>{},attrs:e,createLinkHook:(e,o)=>{const r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:o});if(r instanceof HTMLLinkElement)return r}});n&&document.head.appendChild(r)})}else{const e={rel:"stylesheet",type:"text/css"};n.forEach(o=>{const{link:r,needAttach:n}=(0,a.d)({url:o,cb:()=>{},attrs:e,createLinkHook:(e,o)=>{const r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:o});if(r instanceof HTMLLinkElement)return r},needDeleteLink:!1});n&&document.head.appendChild(r)})}if(r){const e={rel:"preload",as:"script"};s.forEach(o=>{const{link:r,needAttach:n}=(0,a.d)({url:o,cb:()=>{},attrs:e,createLinkHook:(e,o)=>{const r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:o});if(r instanceof HTMLLinkElement)return r}});n&&document.head.appendChild(r)})}else{const o={fetchpriority:"high",type:"module"===(null==e?void 0:e.type)?"module":"text/javascript"};s.forEach(e=>{const{script:r,needAttach:n}=(0,a.so)({url:e,cb:()=>{},attrs:o,createScriptHook:(e,o)=>{const r=t.loaderHook.lifecycle.createScript.emit({url:e,attrs:o});if(r instanceof HTMLScriptElement)return r},needDeleteScript:!0});n&&document.head.appendChild(r)})}}}function rt(e,t){const o=M(t);o.url||w(`The attribute remoteEntry of ${e.name} must not be undefined.`);let r=(0,a.Al)(t,o.url);(0,a.OL)()||r.startsWith("http")||(r=`https:${r}`),e.type=o.type,e.entryGlobalName=o.globalName,e.entry=r,e.version=t.version,e.buildVersion=t.buildVersion}function nt(e){const t=e.split(":");return 1===t.length?{name:t[0],version:void 0}:2===t.length?{name:t[0],version:t[1]}:{name:t[1],version:t[2]}}function st(e,t,o,r,n={},s){const i=I(t),{value:l}=F(e,i),c=s||l;if(c&&!(0,a.Tr)(c)&&(o(c,t,r),c.remotesInfo)){const t=Object.keys(c.remotesInfo);for(const r of t){if(n[r])continue;n[r]=!0;const t=nt(r),s=c.remotesInfo[r];st(e,{name:t.name,version:s.matchedVersion},o,!1,n,void 0)}}}const at=(e,t)=>document.querySelector(`${e}[${"link"===e?"href":"src"}="${t}"]`);function it(e,t,o,r,n){const s=[],i=[],l=[],c=new Set,u=new Set,{options:p}=e,{preloadConfig:m}=t,{depsRemote:h}=m;if(st(r,o,(t,o,r)=>{let n;if(r)n=m;else if(Array.isArray(h)){const e=h.find(e=>e.nameOrAlias===o.name||e.nameOrAlias===o.alias);if(!e)return;n=tt(e)}else{if(!0!==h)return;n=m}const c=(0,a.Al)(t,M(t).url);c&&l.push({name:o.name,moduleInfo:{name:o.name,entry:c,type:"remoteEntryType"in t?t.remoteEntryType:"global",entryGlobalName:"globalName"in t?t.globalName:o.name,shareScope:"",version:"version"in t?t.version:void 0},url:c});let u="modules"in t?t.modules:[];const p=(d=n.exposes)?d.map(e=>"."===e?e:e.startsWith("./")?e.replace("./",""):e):[];var d,f;function _(e){const o=e.map(e=>(0,a.Al)(t,e));return n.filter?o.filter(n.filter):o}if(p.length&&"modules"in t&&(u=null==t||null==(f=t.modules)?void 0:f.reduce((e,t)=>(-1!==(null==p?void 0:p.indexOf(t.moduleName))&&e.push(t),e),[])),u){const r=u.length;for(let a=0;a<r;a++){const r=u[a],l=`${o.name}/${r.moduleName}`;e.remoteHandler.hooks.lifecycle.handlePreloadModule.emit({id:"."===r.moduleName?o.name:l,name:o.name,remoteSnapshot:t,preloadConfig:n,remote:o,origin:e}),V(l)||("all"===n.resourceCategory?(s.push(..._(r.assets.css.async)),s.push(..._(r.assets.css.sync)),i.push(..._(r.assets.js.async)),i.push(..._(r.assets.js.sync))):(n.resourceCategory="sync")&&(s.push(..._(r.assets.css.sync)),i.push(..._(r.assets.js.sync))),K(l))}}},!0,{},n),n.shared){const t=(t,o)=>{const r=Ge(e.shareScopeMap,o.sharedName,t,e.sharedHandler.hooks.lifecycle.resolveShare);r&&"function"==typeof r.lib&&(o.assets.js.sync.forEach(e=>{c.add(e)}),o.assets.css.sync.forEach(e=>{u.add(e)}))};n.shared.forEach(e=>{var o;const r=null==(o=p.shared)?void 0:o[e.sharedName];if(!r)return;const n=e.version?r.find(t=>t.version===e.version):r;n&&A(n).forEach(o=>{t(o,e)})})}const d=i.filter(e=>!c.has(e)&&!at("script",e));return{cssAssets:s.filter(e=>!u.has(e)&&!at("link",e)),jsAssetsWithoutEntry:d,entryAssets:l.filter(e=>!at("script",e.url))}}function lt(e,t){const o=G({name:t.options.name,version:t.options.version}),r=o&&"remotesInfo"in o&&o.remotesInfo&&F(o.remotesInfo,e.name).value;return r&&r.matchedVersion?{hostGlobalSnapshot:o,globalSnapshot:q(),remoteSnapshot:G({name:e.name,version:r.matchedVersion})}:{hostGlobalSnapshot:void 0,globalSnapshot:q(),remoteSnapshot:G({name:e.name,version:"version"in e?e.version:void 0})}}class ct{async loadSnapshot(e){const{options:t}=this.HostInstance,{hostGlobalSnapshot:o,remoteSnapshot:r,globalSnapshot:n}=this.getGlobalRemoteInfo(e),{remoteSnapshot:s,globalSnapshot:a}=await this.hooks.lifecycle.loadSnapshot.emit({options:t,moduleInfo:e,hostGlobalSnapshot:o,remoteSnapshot:r,globalSnapshot:n});return{remoteSnapshot:s,globalSnapshot:a}}async loadRemoteSnapshotInfo(e){const{options:t}=this.HostInstance;await this.hooks.lifecycle.beforeLoadRemoteSnapshot.emit({options:t,moduleInfo:e});let o=G({name:this.HostInstance.options.name,version:this.HostInstance.options.version});var r;o||(o={version:this.HostInstance.options.version||"",remoteEntry:"",remotesInfo:{}},r={[this.HostInstance.options.name]:o},x.__FEDERATION__.moduleInfo=n({},x.__FEDERATION__.moduleInfo,r)),o&&"remotesInfo"in o&&!F(o.remotesInfo,e.name).value&&("version"in e||"entry"in e)&&(o.remotesInfo=n({},null==o?void 0:o.remotesInfo,{[e.name]:{matchedVersion:"version"in e?e.version:e.entry}}));const{hostGlobalSnapshot:s,remoteSnapshot:i,globalSnapshot:l}=this.getGlobalRemoteInfo(e),{remoteSnapshot:c,globalSnapshot:u}=await this.hooks.lifecycle.loadSnapshot.emit({options:t,moduleInfo:e,hostGlobalSnapshot:s,remoteSnapshot:i,globalSnapshot:l});let p,m;if(c)if((0,a.Tr)(c)){const t=(0,a.OL)()?c.remoteEntry:c.ssrRemoteEntry||c.remoteEntry||"",o=await this.getManifestJson(t,e,{});p=o,m=U(n({},e,{entry:t}),o)}else{const{remoteSnapshot:t}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:c,from:"global"});p=t,m=u}else if(R(e)){const t=await this.getManifestJson(e.entry,e,{}),o=U(e,t),{remoteSnapshot:r}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:t,from:"global"});p=r,m=o}else w(y(h,b,{hostName:e.name,hostVersion:e.version,globalSnapshot:JSON.stringify(u)}));return await this.hooks.lifecycle.afterLoadSnapshot.emit({options:t,moduleInfo:e,remoteSnapshot:p}),{remoteSnapshot:p,globalSnapshot:m}}getGlobalRemoteInfo(e){return lt(e,this.HostInstance)}async getManifestJson(e,t,o){const r=async()=>{let o=this.manifestCache.get(e);if(o)return o;try{let t=await this.loaderHook.lifecycle.fetch.emit(e,{});t&&t instanceof Response||(t=await fetch(e,{})),o=await t.json()}catch(r){o=await this.HostInstance.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:r,from:"runtime",lifecycle:"afterResolve",origin:this.HostInstance}),o||(delete this.manifestLoading[e],w(y(c,b,{manifestUrl:e,moduleName:t.name,hostName:this.HostInstance.options.name},`${r}`)))}return v(o.metaData&&o.exposes&&o.shared,`${e} is not a federation manifest`),this.manifestCache.set(e,o),o};return this.manifestLoading[e]||(this.manifestLoading[e]=(async()=>{const o=await r(),n=(0,a.Jn)(o,{version:e}),{remoteSnapshot:s}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:t,manifestJson:o,remoteSnapshot:n,manifestUrl:e,from:"manifest"});return s})().then(e=>e)),this.manifestLoading[e]}constructor(e){this.loadingHostSnapshot=null,this.manifestCache=new Map,this.hooks=new et({beforeLoadRemoteSnapshot:new Ye("beforeLoadRemoteSnapshot"),loadSnapshot:new Qe("loadGlobalSnapshot"),loadRemoteSnapshot:new Qe("loadRemoteSnapshot"),afterLoadSnapshot:new Qe("afterLoadSnapshot")}),this.manifestLoading=L.__FEDERATION__.__MANIFEST_LOADING__,this.HostInstance=e,this.loaderHook=e.loaderHook}}class ut{registerShared(e,t){const{shareInfos:o,shared:r}=Le(e,t);return Object.keys(o).forEach(e=>{o[e].forEach(o=>{!Ge(this.shareScopeMap,e,o,this.hooks.lifecycle.resolveShare)&&o&&o.lib&&this.setShared({pkgName:e,lib:o.lib,get:o.get,loaded:!0,shared:o,from:t.name})})}),{shareInfos:o,shared:r}}async loadShare(e,t){const{host:o}=this,r=Be({pkgName:e,extraOptions:t,shareInfos:o.options.shared});(null==r?void 0:r.scope)&&await Promise.all(r.scope.map(async e=>{await Promise.all(this.initializeSharing(e,{strategy:r.strategy}))}));const n=await this.hooks.lifecycle.beforeLoadShare.emit({pkgName:e,shareInfo:r,shared:o.options.shared,origin:o}),{shareInfo:s}=n;v(s,`Cannot find ${e} Share in the ${o.options.name}. Please ensure that the ${e} Share parameters have been injected`);const a=Ge(this.shareScopeMap,e,s,this.hooks.lifecycle.resolveShare),i=e=>{e.useIn||(e.useIn=[]),k(e.useIn,o.options.name)};if(a&&a.lib)return i(a),a.lib;if(a&&a.loading&&!a.loaded){const e=await a.loading;return a.loaded=!0,a.lib||(a.lib=e),i(a),e}if(a){const t=(async()=>{const t=await a.get();s.lib=t,s.loaded=!0,i(s);const o=Ge(this.shareScopeMap,e,s,this.hooks.lifecycle.resolveShare);return o&&(o.lib=t,o.loaded=!0),t})();return this.setShared({pkgName:e,loaded:!1,shared:a,from:o.options.name,lib:null,loading:t}),t}{if(null==t?void 0:t.customShareInfo)return!1;const r=(async()=>{const t=await s.get();s.lib=t,s.loaded=!0,i(s);const o=Ge(this.shareScopeMap,e,s,this.hooks.lifecycle.resolveShare);return o&&(o.lib=t,o.loaded=!0),t})();return this.setShared({pkgName:e,loaded:!1,shared:s,from:o.options.name,lib:null,loading:r}),r}}initializeSharing(e=z,t){const{host:o}=this,r=null==t?void 0:t.from,n=null==t?void 0:t.strategy;let s=null==t?void 0:t.initScope;const a=[];if("build"!==r){const{initTokens:t}=this;s||(s=[]);let o=t[e];if(o||(o=t[e]={from:this.host.name}),s.indexOf(o)>=0)return a;s.push(o)}const i=this.shareScopeMap,l=o.options.name;i[e]||(i[e]={});const c=i[e];return Object.keys(o.options.shared).forEach(t=>{o.options.shared[t].forEach(o=>{o.scope.includes(e)&&((e,t)=>{var o;const{version:r,eager:n}=t;c[e]=c[e]||{};const s=c[e],a=s[r],i=Boolean(a&&(a.eager||(null==(o=a.shareConfig)?void 0:o.eager)));(!a||"loaded-first"!==a.strategy&&!a.loaded&&(Boolean(!n)!==!i?n:l>a.from))&&(s[r]=t)})(t,o)})}),"version-first"!==o.options.shareStrategy&&"version-first"!==n||o.options.remotes.forEach(t=>{t.shareScope===e&&a.push((async t=>{const{module:r}=await o.remoteHandler.getRemoteModuleAndOptions({id:t});if(r.getEntry){let a;try{a=await r.getEntry()}catch(e){a=await o.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:t,error:e,from:"runtime",lifecycle:"beforeLoadShare",origin:o})}r.inited||(await(n=a,n&&n.init&&n.init(i[e],s)),r.inited=!0)}var n})(t.name))}),a}loadShareSync(e,t){const{host:o}=this,r=Be({pkgName:e,extraOptions:t,shareInfos:o.options.shared});(null==r?void 0:r.scope)&&r.scope.forEach(e=>{this.initializeSharing(e,{strategy:r.strategy})});const n=Ge(this.shareScopeMap,e,r,this.hooks.lifecycle.resolveShare),s=e=>{e.useIn||(e.useIn=[]),k(e.useIn,o.options.name)};if(n){if("function"==typeof n.lib)return s(n),n.loaded||(n.loaded=!0,n.from===o.options.name&&(r.loaded=!0)),n.lib;if("function"==typeof n.get){const t=n.get();if(!(t instanceof Promise))return s(n),this.setShared({pkgName:e,loaded:!0,from:o.options.name,lib:t,shared:n}),t}}if(r.lib)return r.loaded||(r.loaded=!0),r.lib;if(r.get){const n=r.get();if(n instanceof Promise){const r="build"===(null==t?void 0:t.from)?p:m;throw new Error(y(r,b,{hostName:o.options.name,sharedPkgName:e}))}return r.lib=n,this.setShared({pkgName:e,loaded:!0,from:o.options.name,lib:r.lib,shared:r}),r.lib}throw new Error(y(m,b,{hostName:o.options.name,sharedPkgName:e}))}initShareScopeMap(e,t,o={}){const{host:r}=this;this.shareScopeMap[e]=t,this.hooks.lifecycle.initContainerShareScopeMap.emit({shareScope:t,options:r.options,origin:r,scopeName:e,hostShareScopeMap:o.hostShareScopeMap})}setShared({pkgName:e,shared:t,from:o,lib:r,loading:a,loaded:i,get:l}){const{version:c,scope:u="default"}=t,p=s(t,["version","scope"]);(Array.isArray(u)?u:[u]).forEach(t=>{if(this.shareScopeMap[t]||(this.shareScopeMap[t]={}),this.shareScopeMap[t][e]||(this.shareScopeMap[t][e]={}),!this.shareScopeMap[t][e][c])return this.shareScopeMap[t][e][c]=n({version:c,scope:["default"]},p,{lib:r,loaded:i,loading:a}),void(l&&(this.shareScopeMap[t][e][c].get=l));const o=this.shareScopeMap[t][e][c];a&&!o.loading&&(o.loading=a)})}_setGlobalShareScopeMap(e){const t=Ue(),o=e.id||e.name;o&&!t[o]&&(t[o]=this.shareScopeMap)}constructor(e){this.hooks=new et({afterResolve:new Qe("afterResolve"),beforeLoadShare:new Qe("beforeLoadShare"),loadShare:new Ye,resolveShare:new Ze("resolveShare"),initContainerShareScopeMap:new Ze("initContainerShareScopeMap")}),this.host=e,this.shareScopeMap={},this.initTokens={},this._setGlobalShareScopeMap(e.options)}}class pt{formatAndRegisterRemote(e,t){return(t.remotes||[]).reduce((e,t)=>(this.registerRemote(t,e,{force:!1}),e),e.remotes)}setIdToRemoteMap(e,t){const{remote:o,expose:r}=t,{name:n,alias:s}=o;if(this.idToRemoteMap[e]={name:o.name,expose:r},s&&e.startsWith(n)){const t=e.replace(n,s);return void(this.idToRemoteMap[t]={name:o.name,expose:r})}if(s&&e.startsWith(s)){const t=e.replace(s,n);this.idToRemoteMap[t]={name:o.name,expose:r}}}async loadRemote(e,t){const{host:o}=this;try{const{loadFactory:r=!0}=t||{loadFactory:!0},{module:n,moduleOptions:s,remoteMatchInfo:a}=await this.getRemoteModuleAndOptions({id:e}),{pkgNameOrAlias:i,remote:l,expose:c,id:u,remoteSnapshot:p}=a,m=await n.get(u,c,t,p),h=await this.hooks.lifecycle.onLoad.emit({id:u,pkgNameOrAlias:i,expose:c,exposeModule:r?m:void 0,exposeModuleFactory:r?void 0:m,remote:l,options:s,moduleInstance:n,origin:o});return this.setIdToRemoteMap(e,a),"function"==typeof h?h:m}catch(r){const{from:n="runtime"}=t||{from:"runtime"},s=await this.hooks.lifecycle.errorLoadRemote.emit({id:e,error:r,from:n,lifecycle:"onLoad",origin:o});if(!s)throw r;return s}}async preloadRemote(e){const{host:t}=this;await this.hooks.lifecycle.beforePreloadRemote.emit({preloadOps:e,options:t.options,origin:t});const o=(r=t.options.remotes,e.map(e=>{const t=function(e,t){for(const o of e){if(t===o.name)return o;if(o.alias&&t===o.alias)return o}}(r,e.nameOrAlias);return v(t,`Unable to preload ${e.nameOrAlias} as it is not included in ${!t&&(0,a.ML)({remoteInfo:t,remotes:r})}`),{remote:t,preloadConfig:tt(e)}}));var r;await Promise.all(o.map(async e=>{const{remote:o}=e,r=Ke(o),{globalSnapshot:n,remoteSnapshot:s}=await t.snapshotHandler.loadRemoteSnapshotInfo(o),a=await this.hooks.lifecycle.generatePreloadAssets.emit({origin:t,preloadOptions:e,remote:o,remoteInfo:r,globalSnapshot:n,remoteSnapshot:s});a&&ot(r,t,a)}))}registerRemotes(e,t){const{host:o}=this;e.forEach(e=>{this.registerRemote(e,o.options.remotes,{force:null==t?void 0:t.force})})}async getRemoteModuleAndOptions(e){const{host:t}=this,{id:o}=e;let r;try{r=await this.hooks.lifecycle.beforeRequest.emit({id:o,options:t.options,origin:t})}catch(e){if(r=await this.hooks.lifecycle.errorLoadRemote.emit({id:o,options:t.options,origin:t,from:"runtime",error:e,lifecycle:"beforeRequest"}),!r)throw e}const{id:s}=r,a=function(e,t){for(const o of e){const e=t.startsWith(o.name);let r=t.replace(o.name,"");if(e){if(r.startsWith("/"))return r=`.${r}`,{pkgNameOrAlias:o.name,expose:r,remote:o};if(""===r)return{pkgNameOrAlias:o.name,expose:".",remote:o}}const n=o.alias&&t.startsWith(o.alias);let s=o.alias&&t.replace(o.alias,"");if(o.alias&&n){if(s&&s.startsWith("/"))return s=`.${s}`,{pkgNameOrAlias:o.alias,expose:s,remote:o};if(""===s)return{pkgNameOrAlias:o.alias,expose:".",remote:o}}}}(t.options.remotes,s);v(a,y(u,b,{hostName:t.options.name,requestId:s}));const{remote:i}=a,l=Ke(i),c=await t.sharedHandler.hooks.lifecycle.afterResolve.emit(n({id:s},a,{options:t.options,origin:t,remoteInfo:l})),{remote:p,expose:m}=c;v(p&&m,`The 'beforeRequest' hook was executed, but it failed to return the correct 'remote' and 'expose' values while loading ${s}.`);let h=t.moduleCache.get(p.name);const d={host:t,remoteInfo:l};return h||(h=new ze(d),t.moduleCache.set(p.name,h)),{module:h,moduleOptions:d,remoteMatchInfo:c}}registerRemote(e,t,o){const{host:r}=this,n=()=>{if(e.alias){const o=t.find(t=>{var o;return e.alias&&(t.name.startsWith(e.alias)||(null==(o=t.alias)?void 0:o.startsWith(e.alias)))});v(!o,`The alias ${e.alias} of remote ${e.name} is not allowed to be the prefix of ${o&&o.name} name or alias`)}"entry"in e&&(0,a.OL)()&&!e.entry.startsWith("http")&&(e.entry=new URL(e.entry,window.location.origin).href),e.shareScope||(e.shareScope=z),e.type||(e.type=X)};this.hooks.lifecycle.beforeRegisterRemote.emit({remote:e,origin:r});const s=t.find(t=>t.name===e.name);if(s){const i=[`The remote "${e.name}" is already registered.`,"Please note that overriding it may cause unexpected errors."];(null==o?void 0:o.force)&&(this.removeRemote(s),n(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:r}),(0,a.R8)(i.join(" ")))}else n(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:r})}removeRemote(e){try{const{host:o}=this,{name:r}=e,n=o.options.remotes.findIndex(e=>e.name===r);-1!==n&&o.options.remotes.splice(n,1);const s=o.moduleCache.get(e.name);if(s){const r=s.remoteInfo,n=r.entryGlobalName;var t;P[n]&&((null==(t=Object.getOwnPropertyDescriptor(P,n))?void 0:t.configurable)?delete P[n]:P[n]=void 0);const i=We(s.remoteInfo);j[i]&&delete j[i],o.snapshotHandler.manifestCache.delete(r.entry);let l=r.buildVersion?(0,a.lG)(r.name,r.buildVersion):r.name;const c=P.__FEDERATION__.__INSTANCES__.findIndex(e=>r.buildVersion?e.options.id===l:e.name===l);if(-1!==c){const e=P.__FEDERATION__.__INSTANCES__[c];l=e.options.id||l;const t=Ue();let o=!0;const n=[];Object.keys(t).forEach(e=>{const s=t[e];s&&Object.keys(s).forEach(t=>{const a=s[t];a&&Object.keys(a).forEach(s=>{const i=a[s];i&&Object.keys(i).forEach(a=>{const l=i[a];l&&"object"==typeof l&&l.from===r.name&&(l.loaded||l.loading?(l.useIn=l.useIn.filter(e=>e!==r.name),l.useIn.length?o=!1:n.push([e,t,s,a])):n.push([e,t,s,a]))})})})}),o&&(e.shareScopeMap={},delete t[l]),n.forEach(([e,o,r,n])=>{var s,a,i;null==(i=t[e])||null==(a=i[o])||null==(s=a[r])||delete s[n]}),P.__FEDERATION__.__INSTANCES__.splice(c,1)}const{hostGlobalSnapshot:u}=lt(e,o);if(u){const t=u&&"remotesInfo"in u&&u.remotesInfo&&F(u.remotesInfo,e.name).key;t&&(delete u.remotesInfo[t],Boolean(L.__FEDERATION__.__MANIFEST_LOADING__[t])&&delete L.__FEDERATION__.__MANIFEST_LOADING__[t])}o.moduleCache.delete(e.name)}}catch(e){S.log("removeRemote fail: ",e)}}constructor(e){this.hooks=new et({beforeRegisterRemote:new Ze("beforeRegisterRemote"),registerRemote:new Ze("registerRemote"),beforeRequest:new Qe("beforeRequest"),onLoad:new Ye("onLoad"),handlePreloadModule:new Xe("handlePreloadModule"),errorLoadRemote:new Ye("errorLoadRemote"),beforePreloadRemote:new Ye("beforePreloadRemote"),generatePreloadAssets:new Ye("generatePreloadAssets"),afterPreloadRemote:new Ye,loadEntry:new Ye}),this.host=e,this.idToRemoteMap={}}}class mt{initOptions(e){this.registerPlugins(e.plugins);const t=this.formatOptions(this.options,e);return this.options=t,t}async loadShare(e,t){return this.sharedHandler.loadShare(e,t)}loadShareSync(e,t){return this.sharedHandler.loadShareSync(e,t)}initializeSharing(e=z,t){return this.sharedHandler.initializeSharing(e,t)}initRawContainer(e,t,o){const r=Ke({name:e,entry:t}),n=new ze({host:this,remoteInfo:r});return n.remoteEntryExports=o,this.moduleCache.set(e,n),n}async loadRemote(e,t){return this.remoteHandler.loadRemote(e,t)}async preloadRemote(e){return this.remoteHandler.preloadRemote(e)}initShareScopeMap(e,t,o={}){this.sharedHandler.initShareScopeMap(e,t,o)}formatOptions(e,t){const{shared:o}=Le(e,t),{userOptions:r,options:s}=this.hooks.lifecycle.beforeInit.emit({origin:this,userOptions:t,options:e,shareInfo:o}),a=this.remoteHandler.formatAndRegisterRemote(s,r),{shared:i}=this.sharedHandler.registerShared(s,r),l=[...s.plugins];r.plugins&&r.plugins.forEach(e=>{l.includes(e)||l.push(e)});const c=n({},e,t,{plugins:l,remotes:a,shared:i});return this.hooks.lifecycle.init.emit({origin:this,options:c}),c}registerPlugins(e){const t=function(e,t){const o=x.__FEDERATION__.__GLOBAL_PLUGIN__;return o.length>0&&o.forEach(t=>{(null==e?void 0:e.find(e=>e.name!==t.name))&&e.push(t)}),e&&e.length>0&&e.forEach(e=>{t.forEach(t=>{t.applyPlugin(e)})}),e}(e,[this.hooks,this.remoteHandler.hooks,this.sharedHandler.hooks,this.snapshotHandler.hooks,this.loaderHook,this.bridgeHook]);this.options.plugins=this.options.plugins.reduce((e,t)=>t?(e&&!e.find(e=>e.name===t.name)&&e.push(t),e):e,t||[])}registerRemotes(e,t){return this.remoteHandler.registerRemotes(e,t)}constructor(e){this.hooks=new et({beforeInit:new Ze("beforeInit"),init:new Xe,beforeInitContainer:new Qe("beforeInitContainer"),initContainer:new Qe("initContainer")}),this.version="0.13.1",this.moduleCache=new Map,this.loaderHook=new et({getModuleInfo:new Xe,createScript:new Xe,createLink:new Xe,fetch:new Ye,loadEntryError:new Ye,getModuleFactory:new Ye}),this.bridgeHook=new et({beforeBridgeRender:new Xe,afterBridgeRender:new Xe,beforeBridgeDestroy:new Xe,afterBridgeDestroy:new Xe});const t={id:"flowComponents:2.2.13",name:e.name,plugins:[{name:"snapshot-plugin",async afterResolve(e){const{remote:t,pkgNameOrAlias:o,expose:r,origin:s,remoteInfo:a}=e;if(!R(t)||!O(t)){const{remoteSnapshot:i,globalSnapshot:l}=await s.snapshotHandler.loadRemoteSnapshotInfo(t);rt(a,i);const c={remote:t,preloadConfig:{nameOrAlias:o,exposes:[r],resourceCategory:"sync",share:!1,depsRemote:!1}},u=await s.remoteHandler.hooks.lifecycle.generatePreloadAssets.emit({origin:s,preloadOptions:c,remoteInfo:a,remote:t,remoteSnapshot:i,globalSnapshot:l});return u&&ot(a,s,u,!1),n({},e,{remoteSnapshot:i})}return e}},{name:"generate-preload-assets-plugin",async generatePreloadAssets(e){const{origin:t,preloadOptions:o,remoteInfo:r,remote:n,globalSnapshot:s,remoteSnapshot:i}=e;return(0,a.OL)()?R(n)&&O(n)?{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[{name:n.name,url:n.entry,moduleInfo:{name:r.name,entry:n.entry,type:r.type||"global",entryGlobalName:"",shareScope:""}}]}:(rt(r,i),it(t,o,r,s,i)):{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[]}}}],remotes:[],shared:{},inBrowser:(0,a.OL)()};this.name=e.name,this.options=t,this.snapshotHandler=new ct(this),this.sharedHandler=new ut(this),this.remoteHandler=new pt(this),this.shareScopeMap=this.sharedHandler.shareScopeMap,this.registerPlugins([...t.plugins,...e.plugins||[]]),this.options=this.formatOptions(t,e)}}let ht=null;function dt(e){const t=function(e,t){return P.__FEDERATION__.__INSTANCES__.find(o=>"flowComponents:2.2.13"===o.options.id||o.options.name===e&&!o.options.version&&!t||!(o.options.name!==e||!t||o.options.version!==t))}(e.name,e.version);if(t)return t.initOptions(e),ht||(ht=t),t;{const t=P.__FEDERATION__.__DEBUG_CONSTRUCTOR__||mt;return ht=new t(e),function(e){P.__FEDERATION__.__INSTANCES__.push(e)}(ht),ht}}function ft(...e){return v(ht,"Please call init first"),ht.loadRemote.apply(ht,e)}function _t(...e){return v(ht,"Please call init first"),ht.loadShare.apply(ht,e)}function yt(...e){return v(ht,"Please call init first"),ht.loadShareSync.apply(ht,e)}function gt(...e){return v(ht,"Please call init first"),ht.preloadRemote.apply(ht,e)}function bt(...e){return v(ht,"Please call init first"),ht.registerRemotes.apply(ht,e)}function Et(...e){return v(ht,"Please call init first"),ht.registerPlugins.apply(ht,e)}function St(){return ht}!function(e,t=(0,a.Bb)()){t&&(P.__FEDERATION__.__DEBUG_CONSTRUCTOR__=e,P.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__="0.13.1")}(mt);const vt=["script"];function wt(e){e.S&&!e.federation.hasAttachShareScopeMap&&e.federation.instance&&e.federation.instance.shareScopeMap&&(e.S=e.federation.instance.shareScopeMap,e.federation.hasAttachShareScopeMap=!0)}function Nt(){return Nt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Nt.apply(this,arguments)}const kt={runtime:r,instance:void 0,initOptions:void 0,bundlerRuntime:{remotes:function(e){const{chunkId:t,promises:o,chunkMapping:r,idToExternalAndNameMapping:n,webpackRequire:s,idToRemoteMap:i}=e;wt(s),s.o(r,t)&&r[t].forEach(e=>{let t=s.R;t||(t=[]);const r=n[e],l=i[e];if(t.indexOf(r)>=0)return;if(t.push(r),r.p)return o.push(r.p);const c=t=>{t||(t=new Error("Container missing")),"string"==typeof t.message&&(t.message+=`\nwhile loading "${r[1]}" from ${r[2]}`),s.m[e]=()=>{throw t},r.p=0},u=(e,t,n,s,a,i)=>{try{const l=e(t,n);if(!l||!l.then)return a(l,s,i);{const e=l.then(e=>a(e,s),c);if(!i)return e;o.push(r.p=e)}}catch(e){c(e)}};var p=(e,o,n)=>u(o.get,r[1],t,0,m,n),m=t=>{r.p=1,s.m[e]=e=>{e.exports=t()}};1===l.length&&vt.includes(l[0].externalType)&&l[0].name?u(()=>{try{const e=(0,a.e4)(l[0].name,a.yq)+r[1].slice(1),t=s.federation.instance,o=()=>s.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});return"version-first"===t.options.shareStrategy?Promise.all(t.sharedHandler.initializeSharing(r[0])).then(()=>o()):o()}catch(e){c(e)}},r[2],0,0,m,1):u(s,r[2],0,0,(e,t,o)=>e?u(s.I,r[0],0,e,p,o):c(),1)})},consumes:function(e){const{chunkId:t,promises:o,chunkMapping:r,installedModules:n,moduleToHandlerMapping:s,webpackRequire:a}=e;wt(a),a.o(r,t)&&r[t].forEach(e=>{if(a.o(n,e))return o.push(n[e]);const t=t=>{n[e]=0,a.m[e]=o=>{delete a.c[e],o.exports=t()}},r=t=>{delete n[e],a.m[e]=o=>{throw delete a.c[e],t}};try{const i=a.federation.instance;if(!i)throw new Error("Federation instance not found!");const{shareKey:l,getter:c,shareInfo:u}=s[e],p=i.loadShare(l,{customShareInfo:u}).then(e=>!1===e?c():e);p.then?o.push(n[e]=p.then(t).catch(r)):t(p)}catch(e){r(e)}})},I:function({shareScopeName:e,webpackRequire:t,initPromises:o,initTokens:r,initScope:n}){const s=Array.isArray(e)?e:[e];var a=[];return s.forEach(s=>{a.push(function(s){n||(n=[]);const a=t.federation.instance;var i=r[s];if(i||(i=r[s]={from:a.name}),n.indexOf(i)>=0)return;n.push(i);const l=o[s];if(l)return l;var c=o=>{var r=e=>{return t="Initialization of sharing external failed: "+e,"undefined"!=typeof console&&console.warn&&console.warn(t);var t};try{var a=t(o);if(!a)return;var i=o=>o&&o.init&&o.init(t.S[s],n,{shareScopeMap:t.S||{},shareScopeKeys:e});if(a.then)return u.push(a.then(i,r));var l=i(a);if(l&&"boolean"!=typeof l&&l.then)return u.push(l.catch(r))}catch(e){r(e)}};const u=a.initializeSharing(s,{strategy:a.options.shareStrategy,initScope:n,from:"build"});wt(t);const p=t.federation.bundlerRuntimeOptions.remotes;return p&&Object.keys(p.idToRemoteMap).forEach(e=>{const t=p.idToRemoteMap[e],o=p.idToExternalAndNameMapping[e][2];if(t.length>1)c(o);else if(1===t.length){const e=t[0];vt.includes(e.externalType)||c(o)}}),u.length?o[s]=Promise.all(u).then(()=>o[s]=!0):o[s]=!0}(s))}),Promise.all(a).then(()=>!0)},S:{},installInitialConsumes:function(e){const{moduleToHandlerMapping:t,webpackRequire:o,installedModules:r,initialConsumes:n}=e;n.forEach(e=>{o.m[e]=n=>{r[e]=0,delete o.c[e];const s=function(e){const{moduleId:t,moduleToHandlerMapping:o,webpackRequire:r}=e,n=r.federation.instance;if(!n)throw new Error("Federation instance not found!");const{shareKey:s,shareInfo:a}=o[t];try{return n.loadShareSync(s,{customShareInfo:a})}catch(e){throw console.error('loadShareSync failed! The function should not be called unless you set "eager:true". If you do not set it, and encounter this issue, you can check whether an async boundary is implemented.'),console.error("The original error message is as follows: "),e}}({moduleId:e,moduleToHandlerMapping:t,webpackRequire:o});if("function"!=typeof s)throw new Error(`Shared module is not available for eager consumption: ${e}`);n.exports=s()}})},initContainerEntry:function(e){const{webpackRequire:t,shareScope:o,initScope:r,shareScopeKey:n,remoteEntryInitOptions:s}=e;if(!t.S)return;if(!t.federation||!t.federation.instance||!t.federation.initOptions)return;const a=t.federation.instance;a.initOptions(Nt({name:t.federation.initOptions.name,remotes:[]},s));const i=null==s?void 0:s.shareScopeKeys,l=null==s?void 0:s.shareScopeMap;if(n&&"string"!=typeof n)n.forEach(e=>{if(!i||!l)return void a.initShareScopeMap(e,o,{hostShareScopeMap:(null==s?void 0:s.shareScopeMap)||{}});l[e]||(l[e]={});const t=l[e];a.initShareScopeMap(e,t,{hostShareScopeMap:(null==s?void 0:s.shareScopeMap)||{}})});else{const e=n||"default";Array.isArray(i)?i.forEach(e=>{l[e]||(l[e]={});const t=l[e];a.initShareScopeMap(e,t,{hostShareScopeMap:(null==s?void 0:s.shareScopeMap)||{}})}):a.initShareScopeMap(e,o,{hostShareScopeMap:(null==s?void 0:s.shareScopeMap)||{}})}return t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),"function"==typeof t.federation.prefetch&&t.federation.prefetch(),Array.isArray(n)?Boolean(t.federation.initOptions.shared)?t.I(n,r):Promise.all(n.map(e=>t.I(e,r))).then(()=>!0):t.I(n||"default",r)}},attachShareScopeMap:wt,bundlerRuntimeOptions:{}};if(!o.federation.runtime){var It=o.federation;for(var Rt in o.federation={},kt)o.federation[Rt]=kt[Rt];for(var Rt in It)o.federation[Rt]=It[Rt]}o.federation.instance||(o.federation.instance=o.federation.runtime.init(o.federation.initOptions),o.federation.attachShareScopeMap&&o.federation.attachShareScopeMap(o),o.federation.installInitialConsumes&&o.federation.installInitialConsumes(),!o.federation.isMFRemote&&o.federation.prefetch&&o.federation.prefetch())},1601:(e,t,o)=>{var r={"./components":()=>Promise.all([o.e(181),o.e(924)]).then(()=>()=>o(3676)),"./componentClasses":()=>Promise.all([o.e(148),o.e(222),o.e(999)]).then(()=>()=>o(3049)),"./theme":()=>Promise.all([o.e(148),o.e(222),o.e(143)]).then(()=>()=>o(71))},n=(e,t)=>(o.R=t,t=o.o(r,e)?r[e]():Promise.resolve().then(()=>{throw new Error('Module "'+e+'" does not exist in container.')}),o.R=void 0,t),s=(e,t,r)=>o.federation.bundlerRuntime.initContainerEntry({webpackRequire:o,shareScope:e,initScope:t,remoteEntryInitOptions:r,shareScopeKey:"default"});o.d(t,{get:()=>n,init:()=>s})},2870:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Al:()=>getResourceUrl,Bb:()=>isDebugMode,Jn:()=>generateSnapshotFromManifest,ML:()=>safeToString,OL:()=>isBrowserEnv,R8:()=>warn,Tr:()=>isManifestProvider,d:()=>createLink,e4:()=>decodeName,h:()=>createLogger,k0:()=>loadScript,lG:()=>composeKeyWithSeparator,oe:()=>loadScriptNode,so:()=>createScript,tf:()=>isReactNativeEnv,yq:()=>ENCODE_NAME_PREFIX});var _polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(8138);const FederationModuleManifest="federation-manifest.json",MANIFEST_EXT=".json",BROWSER_LOG_KEY="FEDERATION_DEBUG",BROWSER_LOG_VALUE="1",NameTransformSymbol={AT:"@",HYPHEN:"-",SLASH:"/"},NameTransformMap={[NameTransformSymbol.AT]:"scope_",[NameTransformSymbol.HYPHEN]:"_",[NameTransformSymbol.SLASH]:"__"},EncodedNameTransformMap={[NameTransformMap[NameTransformSymbol.AT]]:NameTransformSymbol.AT,[NameTransformMap[NameTransformSymbol.HYPHEN]]:NameTransformSymbol.HYPHEN,[NameTransformMap[NameTransformSymbol.SLASH]]:NameTransformSymbol.SLASH},SEPARATOR=":",ManifestFileName="mf-manifest.json",StatsFileName="mf-stats.json",MFModuleType={NPM:"npm",APP:"app"},MODULE_DEVTOOL_IDENTIFIER="__MF_DEVTOOLS_MODULE_INFO__",ENCODE_NAME_PREFIX="ENCODE_NAME_PREFIX",TEMP_DIR=".federation",MFPrefetchCommon={identifier:"MFDataPrefetch",globalKey:"__PREFETCH__",library:"mf-data-prefetch",exportsKey:"__PREFETCH_EXPORTS__",fileName:"bootstrap.js"};var ContainerPlugin=Object.freeze({__proto__:null}),ContainerReferencePlugin=Object.freeze({__proto__:null}),ModuleFederationPlugin=Object.freeze({__proto__:null}),SharePlugin=Object.freeze({__proto__:null});function isBrowserEnv(){return"undefined"!=typeof window&&void 0!==window.document}function isReactNativeEnv(){var e;return"undefined"!=typeof navigator&&"ReactNative"===(null==(e=navigator)?void 0:e.product)}function isBrowserDebug(){try{if(isBrowserEnv()&&window.localStorage)return localStorage.getItem(BROWSER_LOG_KEY)===BROWSER_LOG_VALUE}catch(e){return!1}return!1}function isDebugMode(){return"undefined"!=typeof process&&process.env&&process.env.FEDERATION_DEBUG?Boolean(process.env.FEDERATION_DEBUG):!("undefined"==typeof FEDERATION_DEBUG||!Boolean(FEDERATION_DEBUG))||isBrowserDebug()}const getProcessEnv=function(){return"undefined"!=typeof process&&process.env?process.env:{}},LOG_CATEGORY="[ Federation Runtime ]",parseEntry=(e,t,o=SEPARATOR)=>{const r=e.split(o),n="development"===getProcessEnv().NODE_ENV&&t,s=e=>e.startsWith("http")||e.includes(MANIFEST_EXT);if(r.length>=2){let[t,...a]=r;e.startsWith(o)&&(t=r.slice(0,2).join(o),a=[n||r.slice(2).join(o)]);let i=n||a.join(o);return s(i)?{name:t,entry:i}:{name:t,version:i||"*"}}if(1===r.length){const[e]=r;return n&&s(n)?{name:e,entry:n}:{name:e,version:n||"*"}}throw`Invalid entry value: ${e}`},composeKeyWithSeparator=function(...e){return e.length?e.reduce((e,t)=>t?e?`${e}${SEPARATOR}${t}`:t:e,""):""},encodeName=function(e,t="",o=!1){try{const r=o?".js":"";return`${t}${e.replace(new RegExp(`${NameTransformSymbol.AT}`,"g"),NameTransformMap[NameTransformSymbol.AT]).replace(new RegExp(`${NameTransformSymbol.HYPHEN}`,"g"),NameTransformMap[NameTransformSymbol.HYPHEN]).replace(new RegExp(`${NameTransformSymbol.SLASH}`,"g"),NameTransformMap[NameTransformSymbol.SLASH])}${r}`}catch(e){throw e}},decodeName=function(e,t,o){try{let r=e;if(t){if(!r.startsWith(t))return r;r=r.replace(new RegExp(t,"g"),"")}return r=r.replace(new RegExp(`${NameTransformMap[NameTransformSymbol.AT]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.AT]]).replace(new RegExp(`${NameTransformMap[NameTransformSymbol.SLASH]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.SLASH]]).replace(new RegExp(`${NameTransformMap[NameTransformSymbol.HYPHEN]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.HYPHEN]]),o&&(r=r.replace(".js","")),r}catch(e){throw e}},generateExposeFilename=(e,t)=>{if(!e)return"";let o=e;return"."===o&&(o="default_export"),o.startsWith("./")&&(o=o.replace("./","")),encodeName(o,"__federation_expose_",t)},generateShareFilename=(e,t)=>e?encodeName(e,"__federation_shared_",t):"",getResourceUrl=(e,t)=>{if("getPublicPath"in e){let o;return o=e.getPublicPath.startsWith("function")?new Function("return "+e.getPublicPath)()():new Function(e.getPublicPath)(),`${o}${t}`}return"publicPath"in e?isBrowserEnv()||isReactNativeEnv()||!("ssrPublicPath"in e)?`${e.publicPath}${t}`:`${e.ssrPublicPath}${t}`:(console.warn("Cannot get resource URL. If in debug mode, please ignore.",e,t),"")},assert=(e,t)=>{e||error(t)},error=e=>{throw new Error(`${LOG_CATEGORY}: ${e}`)},warn=e=>{console.warn(`${LOG_CATEGORY}: ${e}`)};function safeToString(e){try{return JSON.stringify(e,null,2)}catch(e){return""}}const VERSION_PATTERN_REGEXP=/^([\d^=v<>~]|[*xX]$)/;function isRequiredVersion(e){return VERSION_PATTERN_REGEXP.test(e)}const simpleJoinRemoteEntry=(e,t)=>{if(!e)return t;const o=(e=>{if("."===e)return"";if(e.startsWith("./"))return e.replace("./","");if(e.startsWith("/")){const t=e.slice(1);return t.endsWith("/")?t.slice(0,-1):t}return e})(e);return o?o.endsWith("/")?`${o}${t}`:`${o}/${t}`:t};function inferAutoPublicPath(e){return e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")}function generateSnapshotFromManifest(e,t={}){var o,r;const{remotes:n={},overrides:s={},version:a}=t;let i;const l=()=>"publicPath"in e.metaData?"auto"===e.metaData.publicPath&&a?inferAutoPublicPath(a):e.metaData.publicPath:e.metaData.getPublicPath,c=Object.keys(s);let u={};var p;Object.keys(n).length||(u=(null==(p=e.remotes)?void 0:p.reduce((e,t)=>{let o;const r=t.federationContainerName;return o=c.includes(r)?s[r]:"version"in t?t.version:t.entry,e[r]={matchedVersion:o},e},{}))||{}),Object.keys(n).forEach(e=>u[e]={matchedVersion:c.includes(e)?s[e]:n[e]});const{remoteEntry:{path:m,name:h,type:d},types:f,buildInfo:{buildVersion:_},globalName:y,ssrRemoteEntry:g}=e.metaData,{exposes:b}=e;let E={version:a||"",buildVersion:_,globalName:y,remoteEntry:simpleJoinRemoteEntry(m,h),remoteEntryType:d,remoteTypes:simpleJoinRemoteEntry(f.path,f.name),remoteTypesZip:f.zip||"",remoteTypesAPI:f.api||"",remotesInfo:u,shared:null==e?void 0:e.shared.map(e=>({assets:e.assets,sharedName:e.name,version:e.version})),modules:null==b?void 0:b.map(e=>({moduleName:e.name,modulePath:e.path,assets:e.assets}))};if(null==(o=e.metaData)?void 0:o.prefetchInterface){const t=e.metaData.prefetchInterface;E=(0,_polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__._)({},E,{prefetchInterface:t})}if(null==(r=e.metaData)?void 0:r.prefetchEntry){const{path:t,name:o,type:r}=e.metaData.prefetchEntry;E=(0,_polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__._)({},E,{prefetchEntry:simpleJoinRemoteEntry(t,o),prefetchEntryType:r})}if(i="publicPath"in e.metaData?(0,_polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__._)({},E,{publicPath:l(),ssrPublicPath:e.metaData.ssrPublicPath}):(0,_polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__._)({},E,{getPublicPath:l()}),g){const e=simpleJoinRemoteEntry(g.path,g.name);i.ssrRemoteEntry=e,i.ssrRemoteEntryType=g.type||"commonjs-module"}return i}function isManifestProvider(e){return!(!("remoteEntry"in e)||!e.remoteEntry.includes(MANIFEST_EXT))}const PREFIX="[ Module Federation ]";let Logger=class{setPrefix(e){this.prefix=e}log(...e){console.log(this.prefix,...e)}warn(...e){console.log(this.prefix,...e)}error(...e){console.log(this.prefix,...e)}success(...e){console.log(this.prefix,...e)}info(...e){console.log(this.prefix,...e)}ready(...e){console.log(this.prefix,...e)}debug(...e){isDebugMode()&&console.log(this.prefix,...e)}constructor(e){this.prefix=e}};function createLogger(e){return new Logger(e)}const logger=createLogger(PREFIX);async function safeWrapper(e,t){try{return await e()}catch(e){return void(!t&&warn(e))}}function isStaticResourcesEqual(e,t){const o=/^(https?:)?\/\//i;return e.replace(o,"").replace(/\/$/,"")===t.replace(o,"").replace(/\/$/,"")}function createScript(e){let t,o=null,r=!0,n=2e4;const s=document.getElementsByTagName("script");for(let t=0;t<s.length;t++){const n=s[t],a=n.getAttribute("src");if(a&&isStaticResourcesEqual(a,e.url)){o=n,r=!1;break}}if(!o){const t=e.attrs;let r;o=document.createElement("script"),o.type="module"===(null==t?void 0:t.type)?"module":"text/javascript",e.createScriptHook&&(r=e.createScriptHook(e.url,e.attrs),r instanceof HTMLScriptElement?o=r:"object"==typeof r&&("script"in r&&r.script&&(o=r.script),"timeout"in r&&r.timeout&&(n=r.timeout))),o.src||(o.src=e.url),t&&!r&&Object.keys(t).forEach(e=>{o&&("async"===e||"defer"===e?o[e]=t[e]:o.getAttribute(e)||o.setAttribute(e,t[e]))})}const a=async(r,n)=>{clearTimeout(t);const s=()=>{"error"===(null==n?void 0:n.type)?(null==e?void 0:e.onErrorCallback)&&(null==e||e.onErrorCallback(n)):(null==e?void 0:e.cb)&&(null==e||e.cb())};if(o&&(o.onerror=null,o.onload=null,safeWrapper(()=>{const{needDeleteScript:t=!0}=e;t&&(null==o?void 0:o.parentNode)&&o.parentNode.removeChild(o)}),r&&"function"==typeof r)){const e=r(n);if(e instanceof Promise){const t=await e;return s(),t}return s(),e}s()};return o.onerror=a.bind(null,o.onerror),o.onload=a.bind(null,o.onload),t=setTimeout(()=>{a(null,new Error(`Remote script "${e.url}" time-outed.`))},n),{script:o,needAttach:r}}function createLink(e){let t=null,o=!0;const r=document.getElementsByTagName("link");for(let n=0;n<r.length;n++){const s=r[n],a=s.getAttribute("href"),i=s.getAttribute("rel");if(a&&isStaticResourcesEqual(a,e.url)&&i===e.attrs.rel){t=s,o=!1;break}}if(!t){let o;t=document.createElement("link"),t.setAttribute("href",e.url);const r=e.attrs;e.createLinkHook&&(o=e.createLinkHook(e.url,r),o instanceof HTMLLinkElement&&(t=o)),r&&!o&&Object.keys(r).forEach(e=>{t&&!t.getAttribute(e)&&t.setAttribute(e,r[e])})}const n=(o,r)=>{const n=()=>{"error"===(null==r?void 0:r.type)?(null==e?void 0:e.onErrorCallback)&&(null==e||e.onErrorCallback(r)):(null==e?void 0:e.cb)&&(null==e||e.cb())};if(t&&(t.onerror=null,t.onload=null,safeWrapper(()=>{const{needDeleteLink:o=!0}=e;o&&(null==t?void 0:t.parentNode)&&t.parentNode.removeChild(t)}),o)){const e=o(r);return n(),e}n()};return t.onerror=n.bind(null,t.onerror),t.onload=n.bind(null,t.onload),{link:t,needAttach:o}}function loadScript(e,t){const{attrs:o={},createScriptHook:r}=t;return new Promise((t,n)=>{const{script:s,needAttach:a}=createScript({url:e,cb:t,onErrorCallback:n,attrs:(0,_polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__._)({fetchpriority:"high"},o),createScriptHook:r,needDeleteScript:!0});a&&document.head.appendChild(s)})}function importNodeModule(e){if(!e)throw new Error("import specifier is required");return new Function("name","return import(name)")(e).then(e=>e).catch(t=>{throw console.error(`Error importing module ${e}:`,t),t})}const loadNodeFetch=async()=>{const e=await importNodeModule("node-fetch");return e.default||e},lazyLoaderHookFetch=async(e,t,o)=>{const r=await((e,t)=>o.lifecycle.fetch.emit(e,t))(e,t||{});return r&&r instanceof Response?r:("undefined"==typeof fetch?await loadNodeFetch():fetch)(e,t||{})};function createScriptNode(url,cb,attrs,loaderHook){if(null==loaderHook?void 0:loaderHook.createScriptHook){const e=loaderHook.createScriptHook(url);e&&"object"==typeof e&&"url"in e&&(url=e.url)}let urlObj;try{urlObj=new URL(url)}catch(e){return console.error("Error constructing URL:",e),void cb(new Error(`Invalid URL: ${e}`))}const getFetch=async()=>(null==loaderHook?void 0:loaderHook.fetch)?(e,t)=>lazyLoaderHookFetch(e,t,loaderHook):"undefined"==typeof fetch?loadNodeFetch():fetch,handleScriptFetch=async(f,urlObj)=>{try{var _vm_constants;const res=await f(urlObj.href),data=await res.text(),[path,vm]=await Promise.all([importNodeModule("path"),importNodeModule("vm")]),scriptContext={exports:{},module:{exports:{}}},urlDirname=urlObj.pathname.split("/").slice(0,-1).join("/"),filename=path.basename(urlObj.pathname);var _vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER;const script=new vm.Script(`(function(exports, module, require, __dirname, __filename) {${data}\n})`,{filename,importModuleDynamically:null!=(_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER=null==(_vm_constants=vm.constants)?void 0:_vm_constants.USE_MAIN_CONTEXT_DEFAULT_LOADER)?_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER:importNodeModule});script.runInThisContext()(scriptContext.exports,scriptContext.module,eval("require"),urlDirname,filename);const exportedInterface=scriptContext.module.exports||scriptContext.exports;if(attrs&&exportedInterface&&attrs.globalName){const e=exportedInterface[attrs.globalName]||exportedInterface;return void cb(void 0,e)}cb(void 0,exportedInterface)}catch(e){cb(e instanceof Error?e:new Error(`Script execution error: ${e}`))}};getFetch().then(async e=>{if("esm"===(null==attrs?void 0:attrs.type)||"module"===(null==attrs?void 0:attrs.type))return loadModule(urlObj.href,{fetch:e,vm:await importNodeModule("vm")}).then(async e=>{await e.evaluate(),cb(void 0,e.namespace)}).catch(e=>{cb(e instanceof Error?e:new Error(`Script execution error: ${e}`))});handleScriptFetch(e,urlObj)}).catch(e=>{cb(e)})}function loadScriptNode(e,t){return new Promise((o,r)=>{createScriptNode(e,(e,n)=>{if(e)r(e);else{var s,a;const e=(null==t||null==(s=t.attrs)?void 0:s.globalName)||`__FEDERATION_${null==t||null==(a=t.attrs)?void 0:a.name}:custom__`,r=globalThis[e]=n;o(r)}},t.attrs,t.loaderHook)})}async function loadModule(e,t){const{fetch:o,vm:r}=t,n=await o(e),s=await n.text(),a=new r.SourceTextModule(s,{importModuleDynamically:async(o,r)=>loadModule(new URL(o,e).href,t)});return await a.link(async o=>{const r=new URL(o,e).href;return await loadModule(r,t)}),a}function normalizeOptions(e,t,o){return function(r){if(!1===r)return!1;if(void 0===r)return!!e&&t;if(!0===r)return t;if(r&&"object"==typeof r)return(0,_polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__._)({},t,r);throw new Error(`Unexpected type for \`${o}\`, expect boolean/undefined/object, got: ${typeof r}`)}}},8138:(e,t,o)=>{function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},r.apply(this,arguments)}o.d(t,{_:()=>r})}},__webpack_module_cache__={},inProgress,dataWebpackPrefix,installedModules,moduleToHandlerMapping,chunkMapping,oldStartup,hasRun;function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var o=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}},r={id:e,module:o,factory:__webpack_modules__[e],require:__webpack_require__};return __webpack_require__.i.forEach(function(e){e(r)}),o=r.module,r.factory.call(o.exports,o,o.exports,r.require),o.loaded=!0,o.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.c=__webpack_module_cache__,__webpack_require__.i=[],__webpack_require__.x=e=>{},__webpack_require__.federation||(__webpack_require__.federation={initOptions:{name:"flowComponents",remotes:[],shareStrategy:"version-first"},chunkMatcher:function(e){return!0},rootOutputDir:"",initialConsumes:void 0,bundlerRuntimeOptions:{}}),__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var o in t)__webpack_require__.o(t,o)&&!__webpack_require__.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce((t,o)=>(__webpack_require__.f[o](e,t),t),[])),__webpack_require__.u=e=>(({143:"__federation_expose_theme",924:"__federation_expose_components",999:"__federation_expose_componentClasses"}[e]||e)+".js"),__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),inProgress={},dataWebpackPrefix="@descope/flow-components-2.2.13-1766310389963:",__webpack_require__.l=(e,t,o,r)=>{if(inProgress[e])inProgress[e].push(t);else{var n,s;if(void 0!==o)for(var a=document.getElementsByTagName("script"),i=0;i<a.length;i++){var l=a[i];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==dataWebpackPrefix+o){n=l;break}}n||(s=!0,(n=document.createElement("script")).charset="utf-8",__webpack_require__.nc&&n.setAttribute("nonce",__webpack_require__.nc),n.setAttribute("data-webpack",dataWebpackPrefix+o),n.src=e),inProgress[e]=[t];var c=(t,o)=>{n.onerror=n.onload=null,clearTimeout(u);var r=inProgress[e];if(delete inProgress[e],n.parentNode&&n.parentNode.removeChild(n),r&&r.forEach(e=>e(o)),t)return t(o)},u=setTimeout(c.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=c.bind(null,n.onerror),n.onload=c.bind(null,n.onload),s&&document.head.appendChild(n)}},__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{__webpack_require__.S={};var e={},t={};__webpack_require__.I=(o,r)=>{r||(r=[]);var n=t[o];if(n||(n=t[o]={}),!(r.indexOf(n)>=0)){if(r.push(n),e[o])return e[o];__webpack_require__.o(__webpack_require__.S,o)||(__webpack_require__.S[o]={}),__webpack_require__.S[o];var s=[];return e[o]=s.length?Promise.all(s).then(()=>e[o]=1):1}}})(),(()=>{__webpack_require__.federation.initOptions.shared={},__webpack_require__.S={};var e={},t={};__webpack_require__.I=(o,r)=>__webpack_require__.federation.bundlerRuntime.I({shareScopeName:o,webpackRequire:__webpack_require__,initPromises:e,initTokens:t,initScope:r})})(),(()=>{var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var t=__webpack_require__.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var o=t.getElementsByTagName("script");if(o.length)for(var r=o.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=o[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e})(),installedModules={},moduleToHandlerMapping={7596:{getter:()=>()=>{throw new Error("Can not get 'react'")},shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:">= 18",strictVersion:!1,singleton:!0,eager:!1},scope:["default"]},shareKey:"react"}},chunkMapping={181:[7596]},__webpack_require__.f.consumes=(e,t)=>{__webpack_require__.federation.bundlerRuntime.consumes({chunkMapping,installedModules,chunkId:e,moduleToHandlerMapping,promises:t,webpackRequire:__webpack_require__})},oldStartup=__webpack_require__.x,hasRun=!1,__webpack_require__.x=()=>(hasRun||(hasRun=!0,__webpack_require__(509)),oldStartup()),(()=>{var e={195:0};__webpack_require__.f.j=(t,o)=>{var r=__webpack_require__.o(e,t)?e[t]:void 0;if(0!==r)if(r)o.push(r[2]);else{var n=new Promise((o,n)=>r=e[t]=[o,n]);o.push(r[2]=n);var s=__webpack_require__.p+__webpack_require__.u(t),a=new Error;__webpack_require__.l(s,o=>{if(__webpack_require__.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var n=o&&("load"===o.type?"missing":o.type),s=o&&o.target&&o.target.src;a.message="Loading chunk "+t+" failed.\n("+n+": "+s+")",a.name="ChunkLoadError",a.type=n,a.request=s,r[1](a)}},"chunk-"+t,t)}};var t=(t,o)=>{var r,n,[s,a,i]=o,l=0;if(s.some(t=>0!==e[t])){for(r in a)__webpack_require__.o(a,r)&&(__webpack_require__.m[r]=a[r]);i&&i(__webpack_require__)}for(t&&t(o);l<s.length;l++)n=s[l],__webpack_require__.o(e,n)&&e[n]&&e[n][0](),e[n]=0},o=self.webpackChunk_descope_flow_components_2_2_13_1766310389963=self.webpackChunk_descope_flow_components_2_2_13_1766310389963||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})(),__webpack_require__.x();var __webpack_exports__=__webpack_require__(1601);flowComponents=__webpack_exports__})();
1
+ var flowComponents;(()=>{"use strict";var __webpack_modules__={509:(e,t,o)=>{var r={};function n(){return n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},n.apply(this,arguments)}function s(e,t){if(null==e)return{};var o,r,n={},s=Object.keys(e);for(r=0;r<s.length;r++)o=s[r],t.indexOf(o)>=0||(n[o]=e[o]);return n}o.r(r),o.d(r,{FederationHost:()=>mt,Module:()=>ze,getInstance:()=>St,getRemoteEntry:()=>Ve,getRemoteInfo:()=>Ke,init:()=>dt,loadRemote:()=>ft,loadScript:()=>a.k0,loadScriptNode:()=>a.oe,loadShare:()=>_t,loadShareSync:()=>yt,preloadRemote:()=>gt,registerGlobalPlugins:()=>W,registerPlugins:()=>Et,registerRemotes:()=>bt});var a=o(2870);const i="RUNTIME-001",l="RUNTIME-002",c="RUNTIME-003",u="RUNTIME-004",p="RUNTIME-005",m="RUNTIME-006",h="RUNTIME-007",d="RUNTIME-008",f="TYPE-001",_="BUILD-001",y=(e,t,o,r)=>{const n=[`${[t[e]]} #${e}`];return o&&n.push(`args: ${JSON.stringify(o)}`),n.push((e=>`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split("-")[0].toLowerCase()}/${e}`)(e)),r&&n.push(`Original Error Message:\n ${r}`),n.join("\n")};function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},g.apply(this,arguments)}const b={[i]:"Failed to get remoteEntry exports.",[l]:'The remote entry interface does not contain "init"',[c]:"Failed to get manifest.",[u]:"Failed to locate remote.",[p]:"Invalid loadShareSync function call from bundler runtime",[m]:"Invalid loadShareSync function call from runtime",[h]:"Failed to get remote snapshot.",[d]:"Failed to load script resources."},E=(g({},b,{[f]:"Failed to generate type declaration. Execute the below cmd to reproduce and fix the error."},{[_]:"Failed to find expose module."}),"[ Federation Runtime ]"),S=(0,a.h)(E);function v(e,t){e||w(t)}function w(e){if(e instanceof Error)throw e.message=`${E}: ${e.message}`,e;throw new Error(`${E}: ${e}`)}function N(e){e instanceof Error?(e.message=`${E}: ${e.message}`,S.warn(e)):S.warn(e)}function k(e,t){return-1===e.findIndex(e=>e===t)&&e.push(t),e}function I(e){return"version"in e&&e.version?`${e.name}:${e.version}`:"entry"in e&&e.entry?`${e.name}:${e.entry}`:`${e.name}`}function R(e){return void 0!==e.entry}function O(e){return!e.entry.includes(".json")&&e.entry.includes(".js")}function $(e){return e&&"object"==typeof e}const T=Object.prototype.toString;function A(e){return Array.isArray(e)?e:[e]}function M(e){const t={url:"",type:"global",globalName:""};return(0,a.OL)()||(0,a.tf)()?"remoteEntry"in e?{url:e.remoteEntry,type:e.remoteEntryType,globalName:e.globalName}:t:"ssrRemoteEntry"in e?{url:e.ssrRemoteEntry||t.url,type:e.ssrRemoteEntryType||t.type,globalName:e.globalName}:t}const P="object"==typeof globalThis?globalThis:window,x=(()=>{try{return document.defaultView}catch(e){return P}})(),L=x;function D(e,t,o){Object.defineProperty(e,t,{value:o,configurable:!1,writable:!0})}function H(e,t){return Object.hasOwnProperty.call(e,t)}H(P,"__GLOBAL_LOADING_REMOTE_ENTRY__")||D(P,"__GLOBAL_LOADING_REMOTE_ENTRY__",{});const j=P.__GLOBAL_LOADING_REMOTE_ENTRY__;function C(e){var t,o,r,n,s,a;H(e,"__VMOK__")&&!H(e,"__FEDERATION__")&&D(e,"__FEDERATION__",e.__VMOK__),H(e,"__FEDERATION__")||(D(e,"__FEDERATION__",{__GLOBAL_PLUGIN__:[],__INSTANCES__:[],moduleInfo:{},__SHARE__:{},__MANIFEST_LOADING__:{},__PRELOADED_MAP__:new Map}),D(e,"__VMOK__",e.__FEDERATION__)),null!=(t=e.__FEDERATION__).__GLOBAL_PLUGIN__||(t.__GLOBAL_PLUGIN__=[]),null!=(o=e.__FEDERATION__).__INSTANCES__||(o.__INSTANCES__=[]),null!=(r=e.__FEDERATION__).moduleInfo||(r.moduleInfo={}),null!=(n=e.__FEDERATION__).__SHARE__||(n.__SHARE__={}),null!=(s=e.__FEDERATION__).__MANIFEST_LOADING__||(s.__MANIFEST_LOADING__={}),null!=(a=e.__FEDERATION__).__PRELOADED_MAP__||(a.__PRELOADED_MAP__=new Map)}function F(e,t){if("string"==typeof t){if(e[t])return{value:e[t],key:t};{const o=Object.keys(e);for(const r of o){const[o,n]=r.split(":"),s=`${o}:${t}`,a=e[s];if(a)return{value:a,key:s}}return{value:void 0,key:t}}}throw new Error("key must be string")}C(P),C(x);const q=()=>x.__FEDERATION__.moduleInfo,G=e=>((e,t)=>{const o=F(t,I(e)).value;if(o&&!o.version&&"version"in e&&e.version&&(o.version=e.version),o)return o;if("version"in e&&e.version){const{version:t}=e,o=I(s(e,["version"])),r=F(x.__FEDERATION__.moduleInfo,o).value;if((null==r?void 0:r.version)===t)return r}})(e,x.__FEDERATION__.moduleInfo),U=(e,t)=>{const o=I(e);return x.__FEDERATION__.moduleInfo[o]=t,x.__FEDERATION__.moduleInfo},B=(e,t)=>{const o=t||`__FEDERATION_${e}:custom__`;return{remoteEntryKey:o,entryExports:P[o]}},W=e=>{const{__GLOBAL_PLUGIN__:t}=x.__FEDERATION__;e.forEach(e=>{-1===t.findIndex(t=>t.name===e.name)?t.push(e):N(`The plugin ${e.name} has been registered.`)})},V=e=>P.__FEDERATION__.__PRELOADED_MAP__.get(e),K=e=>P.__FEDERATION__.__PRELOADED_MAP__.set(e,!0),z="default",X="global",Y="[0-9A-Za-z-]+",J=`(?:\\+(${Y}(?:\\.${Y})*))`,Z="0|[1-9]\\d*",Q="[0-9]+",ee="\\d*[a-zA-Z-][a-zA-Z0-9-]*",te=`(?:${Q}|${ee})`,oe=`(?:${Z}|${ee})`,re=`(?:-(${oe}(?:\\.${oe})*))`,ne=`${Z}|x|X|\\*`,se=`[v=\\s]*(${ne})(?:\\.(${ne})(?:\\.(${ne})(?:${re})?${J}?)?)?`,ae=`^\\s*(${se})\\s+-\\s+(${se})\\s*$`,ie="((?:<|>)?=?)",le=`(\\s*)${ie}\\s*([v=\\s]*(${Q})\\.(${Q})\\.(${Q})(?:-?(${te}(?:\\.${te})*))?${J}?|${se})`,ce="(?:~>?)",ue=`(\\s*)${ce}\\s+`,pe="(?:\\^)",me=`(\\s*)${pe}\\s+`,he=`^${pe}${se}$`,de=`^${ce}${se}$`,fe=`^${ie}\\s*${se}$`,_e=`^${ie}\\s*(v?(${Z})\\.(${Z})\\.(${Z})${re}?${J}?)$|^$`;function ye(e){return new RegExp(e)}function ge(e){return!e||"x"===e.toLowerCase()||"*"===e}function be(...e){return t=>e.reduce((e,t)=>t(e),t)}function Ee(e){return e.match(ye(_e))}function Se(e,t,o,r){const n=`${e}.${t}.${o}`;return r?`${n}-${r}`:n}function ve(e){return e.replace(ye(ae),(e,t,o,r,n,s,a,i,l,c,u,p)=>`${t=ge(o)?"":ge(r)?`>=${o}.0.0`:ge(n)?`>=${o}.${r}.0`:`>=${t}`} ${i=ge(l)?"":ge(c)?`<${Number(l)+1}.0.0-0`:ge(u)?`<${l}.${Number(c)+1}.0-0`:p?`<=${l}.${c}.${u}-${p}`:`<=${i}`}`.trim())}function we(e){return e.replace(ye(le),"$1$2$3")}function Ne(e){return e.replace(ye(ue),"$1~")}function ke(e){return e.replace(ye(me),"$1^")}function Ie(e){return e.trim().split(/\s+/).map(e=>e.replace(ye(he),(e,t,o,r,n)=>ge(t)?"":ge(o)?`>=${t}.0.0 <${Number(t)+1}.0.0-0`:ge(r)?"0"===t?`>=${t}.${o}.0 <${t}.${Number(o)+1}.0-0`:`>=${t}.${o}.0 <${Number(t)+1}.0.0-0`:n?"0"===t?"0"===o?`>=${t}.${o}.${r}-${n} <${t}.${o}.${Number(r)+1}-0`:`>=${t}.${o}.${r}-${n} <${t}.${Number(o)+1}.0-0`:`>=${t}.${o}.${r}-${n} <${Number(t)+1}.0.0-0`:"0"===t?"0"===o?`>=${t}.${o}.${r} <${t}.${o}.${Number(r)+1}-0`:`>=${t}.${o}.${r} <${t}.${Number(o)+1}.0-0`:`>=${t}.${o}.${r} <${Number(t)+1}.0.0-0`)).join(" ")}function Re(e){return e.trim().split(/\s+/).map(e=>e.replace(ye(de),(e,t,o,r,n)=>ge(t)?"":ge(o)?`>=${t}.0.0 <${Number(t)+1}.0.0-0`:ge(r)?`>=${t}.${o}.0 <${t}.${Number(o)+1}.0-0`:n?`>=${t}.${o}.${r}-${n} <${t}.${Number(o)+1}.0-0`:`>=${t}.${o}.${r} <${t}.${Number(o)+1}.0-0`)).join(" ")}function Oe(e){return e.split(/\s+/).map(e=>e.trim().replace(ye(fe),(e,t,o,r,n,s)=>{const a=ge(o),i=a||ge(r),l=i||ge(n);return"="===t&&l&&(t=""),s="",a?">"===t||"<"===t?"<0.0.0-0":"*":t&&l?(i&&(r=0),n=0,">"===t?(t=">=",i?(o=Number(o)+1,r=0,n=0):(r=Number(r)+1,n=0)):"<="===t&&(t="<",i?o=Number(o)+1:r=Number(r)+1),"<"===t&&(s="-0"),`${t+o}.${r}.${n}${s}`):i?`>=${o}.0.0${s} <${Number(o)+1}.0.0-0`:l?`>=${o}.${r}.0${s} <${o}.${Number(r)+1}.0-0`:e})).join(" ")}function $e(e){return e.trim().replace(ye("(<|>)?=?\\s*\\*"),"")}function Te(e,t){return(e=Number(e)||e)>(t=Number(t)||t)?1:e===t?0:-1}function Ae(e,t){return Te(e.major,t.major)||Te(e.minor,t.minor)||Te(e.patch,t.patch)||function(e,t){const{preRelease:o}=e,{preRelease:r}=t;if(void 0===o&&Boolean(r))return 1;if(Boolean(o)&&void 0===r)return-1;if(void 0===o&&void 0===r)return 0;for(let e=0,t=o.length;e<=t;e++){const t=o[e],n=r[e];if(t!==n)return void 0===t&&void 0===n?0:t?n?Te(t,n):-1:1}return 0}(e,t)}function Me(e,t){return e.version===t.version}function Pe(e,t){switch(e.operator){case"":case"=":return Me(e,t);case">":return Ae(e,t)<0;case">=":return Me(e,t)||Ae(e,t)<0;case"<":return Ae(e,t)>0;case"<=":return Me(e,t)||Ae(e,t)>0;case void 0:return!0;default:return!1}}function xe(e,t){if(!e)return!1;const o=function(e){return be(ve,we,Ne,ke)(e.trim()).split(/\s+/).join(" ")}(t),r=o.split(" ").map(e=>function(e){return be(Ie,Re,Oe,$e)(e)}(e)).join(" "),n=r.split(/\s+/).map(e=>e.trim().replace(ye("^\\s*>=\\s*0.0.0\\s*$"),"")),s=Ee(e);if(!s)return!1;const[,a,,i,l,c,u]=s,p={operator:a,version:Se(i,l,c,u),major:i,minor:l,patch:c,preRelease:null==u?void 0:u.split(".")};for(const e of n){const t=Ee(e);if(!t)return!1;const[,o,,r,n,s,a]=t;if(!Pe({operator:o,version:Se(r,n,s,a),major:r,minor:n,patch:s,preRelease:null==a?void 0:a.split(".")},p))return!1}return!0}function Le(e,t){const o=t.shared||{},r=t.name,s=Object.keys(o).reduce((e,s)=>{const a=A(o[s]);return e[s]=e[s]||[],a.forEach(o=>{e[s].push(function(e,t,o,r){let s;var a,i,l;return s="get"in e?e.get:"lib"in e?()=>Promise.resolve(e.lib):()=>Promise.resolve(()=>{throw new Error(`Can not get shared '${o}'!`)}),n({deps:[],useIn:[],from:t,loading:null},e,{shareConfig:n({requiredVersion:`^${e.version}`,singleton:!1,eager:!1,strictVersion:!1},e.shareConfig),get:s,loaded:!(!(null==e?void 0:e.loaded)&&!("lib"in e))||void 0,version:null!=(a=e.version)?a:"0",scope:Array.isArray(e.scope)?e.scope:[null!=(i=e.scope)?i:"default"],strategy:(null!=(l=e.strategy)?l:r)||"version-first"})}(o,r,s,t.shareStrategy))}),e},{}),a=n({},e.shared);return Object.keys(s).forEach(e=>{a[e]?s[e].forEach(t=>{a[e].find(e=>e.version===t.version)||a[e].push(t)}):a[e]=s[e]}),{shared:a,shareInfos:s}}function De(e,t){const o=e=>{if(!Number.isNaN(Number(e))){const t=e.split(".");let o=e;for(let e=0;e<3-t.length;e++)o+=".0";return o}return e};return!!xe(o(e),`<=${o(t)}`)}const He=(e,t)=>{const o=t||function(e,t){return De(e,t)};return Object.keys(e).reduce((e,t)=>e?o(e,t)||"0"===e?t:e:t,0)},je=e=>Boolean(e.loaded)||"function"==typeof e.lib;function Ce(e,t,o){const r=e[t][o];return He(e[t][o],function(e,t){return!je(r[e])&&De(e,t)})}function Fe(e,t,o){const r=e[t][o];return He(e[t][o],function(e,t){const o=e=>je(e)||(e=>Boolean(e.loading))(e);return o(r[t])?!o(r[e])||Boolean(De(e,t)):!o(r[e])&&De(e,t)})}function qe(e){return"loaded-first"===e?Fe:Ce}function Ge(e,t,o,r){if(!e)return;const{shareConfig:n,scope:s=z,strategy:a}=o,i=Array.isArray(s)?s:[s];for(const s of i)if(n&&e[s]&&e[s][t]){const{requiredVersion:i}=n,l=qe(a)(e,s,t),c=()=>{if(n.singleton){if("string"==typeof i&&!xe(l,i)){const r=`Version ${l} from ${l&&e[s][t][l].from} of shared singleton module ${t} does not satisfy the requirement of ${o.from} which needs ${i})`;n.strictVersion?w(r):N(r)}return e[s][t][l]}if(!1===i||"*"===i)return e[s][t][l];if(xe(l,i))return e[s][t][l];for(const[o,r]of Object.entries(e[s][t]))if(xe(o,i))return r},u={shareScopeMap:e,scope:s,pkgName:t,version:l,GlobalFederation:L.__FEDERATION__,resolver:c};return(r.emit(u)||u).resolver()}}function Ue(){return L.__FEDERATION__.__SHARE__}function Be(e){const{pkgName:t,extraOptions:o,shareInfos:r}=e;var n;const s=null!=(n=null==o?void 0:o.resolver)?n:e=>{if(!e)return;const t={};e.forEach(e=>{t[e.version]=e});const o=He(t,function(e,o){return!je(t[e])&&De(e,o)});return t[o]};return Object.assign({},s(r[t]),null==o?void 0:o.customShareInfo)}function We(e){const{entry:t,name:o}=e;return(0,a.lG)(o,t)}async function Ve({origin:e,remoteEntryExports:t,remoteInfo:o}){const r=We(o);if(t)return t;if(!j[r]){const n=e.remoteHandler.hooks.lifecycle.loadEntry,s=e.loaderHook;j[r]=n.emit({loaderHook:s,remoteInfo:o,remoteEntryExports:t}).then(e=>e||((0,a.OL)()?async function({remoteInfo:e,remoteEntryExports:t,loaderHook:o}){const{entry:r,entryGlobalName:n,name:s,type:l}=e;switch(l){case"esm":case"module":return async function({entry:e,remoteEntryExports:t}){return new Promise((o,r)=>{try{t?o(t):"undefined"!=typeof FEDERATION_ALLOW_NEW_FUNCTION?new Function("callbacks",`import("${e}").then(callbacks[0]).catch(callbacks[1])`)([o,r]):import(e).then(o).catch(r)}catch(e){r(e)}})}({entry:r,remoteEntryExports:t});case"system":return async function({entry:e,remoteEntryExports:t}){return new Promise((o,r)=>{try{t?o(t):new Function("callbacks",`System.import("${e}").then(callbacks[0]).catch(callbacks[1])`)([o,r])}catch(e){r(e)}})}({entry:r,remoteEntryExports:t});default:return async function({name:e,globalName:t,entry:o,loaderHook:r}){const{entryExports:n}=B(e,t);return n||(0,a.k0)(o,{attrs:{},createScriptHook:(e,t)=>{const o=r.lifecycle.createScript.emit({url:e,attrs:t});if(o)return o instanceof HTMLScriptElement||"script"in o||"timeout"in o?o:void 0}}).then(()=>{const{remoteEntryKey:r,entryExports:n}=B(e,t);return v(n,y(i,b,{remoteName:e,remoteEntryUrl:o,remoteEntryKey:r})),n}).catch(t=>{throw v(void 0,y(d,b,{remoteName:e,resourceUrl:o})),t})}({entry:r,globalName:n,name:s,loaderHook:o})}}({remoteInfo:o,remoteEntryExports:t,loaderHook:s}):async function({remoteInfo:e,loaderHook:t}){const{entry:o,entryGlobalName:r,name:n,type:s}=e,{entryExports:l}=B(n,r);return l||(0,a.oe)(o,{attrs:{name:n,globalName:r,type:s},loaderHook:{createScriptHook:(e,o={})=>{const r=t.lifecycle.createScript.emit({url:e,attrs:o});if(r)return"url"in r?r:void 0}}}).then(()=>{const{remoteEntryKey:e,entryExports:t}=B(n,r);return v(t,y(i,b,{remoteName:n,remoteEntryUrl:o,remoteEntryKey:e})),t}).catch(e=>{throw e})}({remoteInfo:o,loaderHook:s})))}return j[r]}function Ke(e){return n({},e,{entry:"entry"in e?e.entry:"",type:e.type||X,entryGlobalName:e.entryGlobalName||e.name,shareScope:e.shareScope||z})}let ze=class{async getEntry(){if(this.remoteEntryExports)return this.remoteEntryExports;let e;try{e=await Ve({origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports})}catch(t){const o=We(this.remoteInfo);e=await this.host.loaderHook.lifecycle.loadEntryError.emit({getRemoteEntry:Ve,origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports,globalLoading:j,uniqueKey:o})}return v(e,`remoteEntryExports is undefined \n ${(0,a.ML)(this.remoteInfo)}`),this.remoteEntryExports=e,this.remoteEntryExports}async get(e,t,o,r){const{loadFactory:s=!0}=o||{loadFactory:!0},a=await this.getEntry();if(!this.inited){const t=this.host.shareScopeMap,o=Array.isArray(this.remoteInfo.shareScope)?this.remoteInfo.shareScope:[this.remoteInfo.shareScope];o.length||o.push("default"),o.forEach(e=>{t[e]||(t[e]={})});const s=t[o[0]],i=[],c={version:this.remoteInfo.version||"",shareScopeKeys:Array.isArray(this.remoteInfo.shareScope)?o:this.remoteInfo.shareScope||"default"};Object.defineProperty(c,"shareScopeMap",{value:t,enumerable:!1});const u=await this.host.hooks.lifecycle.beforeInitContainer.emit({shareScope:s,remoteEntryInitOptions:c,initScope:i,remoteInfo:this.remoteInfo,origin:this.host});void 0===(null==a?void 0:a.init)&&w(y(l,b,{remoteName:name,remoteEntryUrl:this.remoteInfo.entry,remoteEntryKey:this.remoteInfo.entryGlobalName})),await a.init(u.shareScope,u.initScope,u.remoteEntryInitOptions),await this.host.hooks.lifecycle.initContainer.emit(n({},u,{id:e,remoteSnapshot:r,remoteEntryExports:a}))}let i;this.lib=a,this.inited=!0,i=await this.host.loaderHook.lifecycle.getModuleFactory.emit({remoteEntryExports:a,expose:t,moduleInfo:this.remoteInfo}),i||(i=await a.get(t)),v(i,`${I(this.remoteInfo)} remote don't export ${t}.`);const c=((e,t)=>{let o;return o=e.endsWith("/")?e.slice(0,-1):e,t.startsWith(".")&&(t=t.slice(1)),o+=t,o})(this.remoteInfo.name,t),u=this.wraperFactory(i,c);return s?await u():u}wraperFactory(e,t){function o(e,t){e&&"object"==typeof e&&Object.isExtensible(e)&&!Object.getOwnPropertyDescriptor(e,Symbol.for("mf_module_id"))&&Object.defineProperty(e,Symbol.for("mf_module_id"),{value:t,enumerable:!1})}return e instanceof Promise?async()=>{const r=await e();return o(r,t),r}:()=>{const r=e();return o(r,t),r}}constructor({remoteInfo:e,host:t}){this.inited=!1,this.lib=void 0,this.remoteInfo=e,this.host=t}};class Xe{on(e){"function"==typeof e&&this.listeners.add(e)}once(e){const t=this;this.on(function o(...r){return t.remove(o),e.apply(null,r)})}emit(...e){let t;return this.listeners.size>0&&this.listeners.forEach(o=>{t=o(...e)}),t}remove(e){this.listeners.delete(e)}removeAll(){this.listeners.clear()}constructor(e){this.type="",this.listeners=new Set,e&&(this.type=e)}}class Ye extends Xe{emit(...e){let t;const o=Array.from(this.listeners);if(o.length>0){let r=0;const n=t=>!1!==t&&(r<o.length?Promise.resolve(o[r++].apply(null,e)).then(n):t);t=n()}return Promise.resolve(t)}}function Je(e,t){if(!$(t))return!1;if(e!==t)for(const o in e)if(!(o in t))return!1;return!0}class Ze extends Xe{emit(e){$(e)||w(`The data for the "${this.type}" hook should be an object.`);for(const t of this.listeners)try{const o=t(e);if(!Je(e,o)){this.onerror(`A plugin returned an unacceptable value for the "${this.type}" type.`);break}e=o}catch(e){N(e),this.onerror(e)}return e}constructor(e){super(),this.onerror=w,this.type=e}}class Qe extends Xe{emit(e){$(e)||w(`The response data for the "${this.type}" hook must be an object.`);const t=Array.from(this.listeners);if(t.length>0){let o=0;const r=t=>(N(t),this.onerror(t),e),n=s=>{if(Je(e,s)){if(e=s,o<t.length)try{return Promise.resolve(t[o++](e)).then(n,r)}catch(e){return r(e)}}else this.onerror(`A plugin returned an incorrect value for the "${this.type}" type.`);return e};return Promise.resolve(n(e))}return Promise.resolve(e)}constructor(e){super(),this.onerror=w,this.type=e}}class et{applyPlugin(e){var t;v((t=e,"[object Object]"===T.call(t)),"Plugin configuration is invalid.");const o=e.name;v(o,"A name must be provided by the plugin."),this.registerPlugins[o]||(this.registerPlugins[o]=e,Object.keys(this.lifecycle).forEach(t=>{const o=e[t];o&&this.lifecycle[t].on(o)}))}removePlugin(e){v(e,"A name is required.");const t=this.registerPlugins[e];v(t,`The plugin "${e}" is not registered.`),Object.keys(t).forEach(e=>{"name"!==e&&this.lifecycle[e].remove(t[e])})}inherit({lifecycle:e,registerPlugins:t}){Object.keys(e).forEach(t=>{v(!this.lifecycle[t],`The hook "${t}" has a conflict and cannot be inherited.`),this.lifecycle[t]=e[t]}),Object.keys(t).forEach(e=>{v(!this.registerPlugins[e],`The plugin "${e}" has a conflict and cannot be inherited.`),this.applyPlugin(t[e])})}constructor(e){this.registerPlugins={},this.lifecycle=e,this.lifecycleKeys=Object.keys(e)}}function tt(e){return n({resourceCategory:"sync",share:!0,depsRemote:!0,prefetchInterface:!1},e)}function ot(e,t,o,r=!0){const{cssAssets:n,jsAssetsWithoutEntry:s,entryAssets:i}=o;if(t.options.inBrowser){if(i.forEach(o=>{const{moduleInfo:r}=o,n=t.moduleCache.get(e.name);Ve(n?{origin:t,remoteInfo:r,remoteEntryExports:n.remoteEntryExports}:{origin:t,remoteInfo:r,remoteEntryExports:void 0})}),r){const e={rel:"preload",as:"style"};n.forEach(o=>{const{link:r,needAttach:n}=(0,a.d)({url:o,cb:()=>{},attrs:e,createLinkHook:(e,o)=>{const r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:o});if(r instanceof HTMLLinkElement)return r}});n&&document.head.appendChild(r)})}else{const e={rel:"stylesheet",type:"text/css"};n.forEach(o=>{const{link:r,needAttach:n}=(0,a.d)({url:o,cb:()=>{},attrs:e,createLinkHook:(e,o)=>{const r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:o});if(r instanceof HTMLLinkElement)return r},needDeleteLink:!1});n&&document.head.appendChild(r)})}if(r){const e={rel:"preload",as:"script"};s.forEach(o=>{const{link:r,needAttach:n}=(0,a.d)({url:o,cb:()=>{},attrs:e,createLinkHook:(e,o)=>{const r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:o});if(r instanceof HTMLLinkElement)return r}});n&&document.head.appendChild(r)})}else{const o={fetchpriority:"high",type:"module"===(null==e?void 0:e.type)?"module":"text/javascript"};s.forEach(e=>{const{script:r,needAttach:n}=(0,a.so)({url:e,cb:()=>{},attrs:o,createScriptHook:(e,o)=>{const r=t.loaderHook.lifecycle.createScript.emit({url:e,attrs:o});if(r instanceof HTMLScriptElement)return r},needDeleteScript:!0});n&&document.head.appendChild(r)})}}}function rt(e,t){const o=M(t);o.url||w(`The attribute remoteEntry of ${e.name} must not be undefined.`);let r=(0,a.Al)(t,o.url);(0,a.OL)()||r.startsWith("http")||(r=`https:${r}`),e.type=o.type,e.entryGlobalName=o.globalName,e.entry=r,e.version=t.version,e.buildVersion=t.buildVersion}function nt(e){const t=e.split(":");return 1===t.length?{name:t[0],version:void 0}:2===t.length?{name:t[0],version:t[1]}:{name:t[1],version:t[2]}}function st(e,t,o,r,n={},s){const i=I(t),{value:l}=F(e,i),c=s||l;if(c&&!(0,a.Tr)(c)&&(o(c,t,r),c.remotesInfo)){const t=Object.keys(c.remotesInfo);for(const r of t){if(n[r])continue;n[r]=!0;const t=nt(r),s=c.remotesInfo[r];st(e,{name:t.name,version:s.matchedVersion},o,!1,n,void 0)}}}const at=(e,t)=>document.querySelector(`${e}[${"link"===e?"href":"src"}="${t}"]`);function it(e,t,o,r,n){const s=[],i=[],l=[],c=new Set,u=new Set,{options:p}=e,{preloadConfig:m}=t,{depsRemote:h}=m;if(st(r,o,(t,o,r)=>{let n;if(r)n=m;else if(Array.isArray(h)){const e=h.find(e=>e.nameOrAlias===o.name||e.nameOrAlias===o.alias);if(!e)return;n=tt(e)}else{if(!0!==h)return;n=m}const c=(0,a.Al)(t,M(t).url);c&&l.push({name:o.name,moduleInfo:{name:o.name,entry:c,type:"remoteEntryType"in t?t.remoteEntryType:"global",entryGlobalName:"globalName"in t?t.globalName:o.name,shareScope:"",version:"version"in t?t.version:void 0},url:c});let u="modules"in t?t.modules:[];const p=(d=n.exposes)?d.map(e=>"."===e?e:e.startsWith("./")?e.replace("./",""):e):[];var d,f;function _(e){const o=e.map(e=>(0,a.Al)(t,e));return n.filter?o.filter(n.filter):o}if(p.length&&"modules"in t&&(u=null==t||null==(f=t.modules)?void 0:f.reduce((e,t)=>(-1!==(null==p?void 0:p.indexOf(t.moduleName))&&e.push(t),e),[])),u){const r=u.length;for(let a=0;a<r;a++){const r=u[a],l=`${o.name}/${r.moduleName}`;e.remoteHandler.hooks.lifecycle.handlePreloadModule.emit({id:"."===r.moduleName?o.name:l,name:o.name,remoteSnapshot:t,preloadConfig:n,remote:o,origin:e}),V(l)||("all"===n.resourceCategory?(s.push(..._(r.assets.css.async)),s.push(..._(r.assets.css.sync)),i.push(..._(r.assets.js.async)),i.push(..._(r.assets.js.sync))):(n.resourceCategory="sync")&&(s.push(..._(r.assets.css.sync)),i.push(..._(r.assets.js.sync))),K(l))}}},!0,{},n),n.shared){const t=(t,o)=>{const r=Ge(e.shareScopeMap,o.sharedName,t,e.sharedHandler.hooks.lifecycle.resolveShare);r&&"function"==typeof r.lib&&(o.assets.js.sync.forEach(e=>{c.add(e)}),o.assets.css.sync.forEach(e=>{u.add(e)}))};n.shared.forEach(e=>{var o;const r=null==(o=p.shared)?void 0:o[e.sharedName];if(!r)return;const n=e.version?r.find(t=>t.version===e.version):r;n&&A(n).forEach(o=>{t(o,e)})})}const d=i.filter(e=>!c.has(e)&&!at("script",e));return{cssAssets:s.filter(e=>!u.has(e)&&!at("link",e)),jsAssetsWithoutEntry:d,entryAssets:l.filter(e=>!at("script",e.url))}}function lt(e,t){const o=G({name:t.options.name,version:t.options.version}),r=o&&"remotesInfo"in o&&o.remotesInfo&&F(o.remotesInfo,e.name).value;return r&&r.matchedVersion?{hostGlobalSnapshot:o,globalSnapshot:q(),remoteSnapshot:G({name:e.name,version:r.matchedVersion})}:{hostGlobalSnapshot:void 0,globalSnapshot:q(),remoteSnapshot:G({name:e.name,version:"version"in e?e.version:void 0})}}class ct{async loadSnapshot(e){const{options:t}=this.HostInstance,{hostGlobalSnapshot:o,remoteSnapshot:r,globalSnapshot:n}=this.getGlobalRemoteInfo(e),{remoteSnapshot:s,globalSnapshot:a}=await this.hooks.lifecycle.loadSnapshot.emit({options:t,moduleInfo:e,hostGlobalSnapshot:o,remoteSnapshot:r,globalSnapshot:n});return{remoteSnapshot:s,globalSnapshot:a}}async loadRemoteSnapshotInfo(e){const{options:t}=this.HostInstance;await this.hooks.lifecycle.beforeLoadRemoteSnapshot.emit({options:t,moduleInfo:e});let o=G({name:this.HostInstance.options.name,version:this.HostInstance.options.version});var r;o||(o={version:this.HostInstance.options.version||"",remoteEntry:"",remotesInfo:{}},r={[this.HostInstance.options.name]:o},x.__FEDERATION__.moduleInfo=n({},x.__FEDERATION__.moduleInfo,r)),o&&"remotesInfo"in o&&!F(o.remotesInfo,e.name).value&&("version"in e||"entry"in e)&&(o.remotesInfo=n({},null==o?void 0:o.remotesInfo,{[e.name]:{matchedVersion:"version"in e?e.version:e.entry}}));const{hostGlobalSnapshot:s,remoteSnapshot:i,globalSnapshot:l}=this.getGlobalRemoteInfo(e),{remoteSnapshot:c,globalSnapshot:u}=await this.hooks.lifecycle.loadSnapshot.emit({options:t,moduleInfo:e,hostGlobalSnapshot:s,remoteSnapshot:i,globalSnapshot:l});let p,m;if(c)if((0,a.Tr)(c)){const t=(0,a.OL)()?c.remoteEntry:c.ssrRemoteEntry||c.remoteEntry||"",o=await this.getManifestJson(t,e,{});p=o,m=U(n({},e,{entry:t}),o)}else{const{remoteSnapshot:t}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:c,from:"global"});p=t,m=u}else if(R(e)){const t=await this.getManifestJson(e.entry,e,{}),o=U(e,t),{remoteSnapshot:r}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:t,from:"global"});p=r,m=o}else w(y(h,b,{hostName:e.name,hostVersion:e.version,globalSnapshot:JSON.stringify(u)}));return await this.hooks.lifecycle.afterLoadSnapshot.emit({options:t,moduleInfo:e,remoteSnapshot:p}),{remoteSnapshot:p,globalSnapshot:m}}getGlobalRemoteInfo(e){return lt(e,this.HostInstance)}async getManifestJson(e,t,o){const r=async()=>{let o=this.manifestCache.get(e);if(o)return o;try{let t=await this.loaderHook.lifecycle.fetch.emit(e,{});t&&t instanceof Response||(t=await fetch(e,{})),o=await t.json()}catch(r){o=await this.HostInstance.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:r,from:"runtime",lifecycle:"afterResolve",origin:this.HostInstance}),o||(delete this.manifestLoading[e],w(y(c,b,{manifestUrl:e,moduleName:t.name,hostName:this.HostInstance.options.name},`${r}`)))}return v(o.metaData&&o.exposes&&o.shared,`${e} is not a federation manifest`),this.manifestCache.set(e,o),o};return this.manifestLoading[e]||(this.manifestLoading[e]=(async()=>{const o=await r(),n=(0,a.Jn)(o,{version:e}),{remoteSnapshot:s}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:t,manifestJson:o,remoteSnapshot:n,manifestUrl:e,from:"manifest"});return s})().then(e=>e)),this.manifestLoading[e]}constructor(e){this.loadingHostSnapshot=null,this.manifestCache=new Map,this.hooks=new et({beforeLoadRemoteSnapshot:new Ye("beforeLoadRemoteSnapshot"),loadSnapshot:new Qe("loadGlobalSnapshot"),loadRemoteSnapshot:new Qe("loadRemoteSnapshot"),afterLoadSnapshot:new Qe("afterLoadSnapshot")}),this.manifestLoading=L.__FEDERATION__.__MANIFEST_LOADING__,this.HostInstance=e,this.loaderHook=e.loaderHook}}class ut{registerShared(e,t){const{shareInfos:o,shared:r}=Le(e,t);return Object.keys(o).forEach(e=>{o[e].forEach(o=>{!Ge(this.shareScopeMap,e,o,this.hooks.lifecycle.resolveShare)&&o&&o.lib&&this.setShared({pkgName:e,lib:o.lib,get:o.get,loaded:!0,shared:o,from:t.name})})}),{shareInfos:o,shared:r}}async loadShare(e,t){const{host:o}=this,r=Be({pkgName:e,extraOptions:t,shareInfos:o.options.shared});(null==r?void 0:r.scope)&&await Promise.all(r.scope.map(async e=>{await Promise.all(this.initializeSharing(e,{strategy:r.strategy}))}));const n=await this.hooks.lifecycle.beforeLoadShare.emit({pkgName:e,shareInfo:r,shared:o.options.shared,origin:o}),{shareInfo:s}=n;v(s,`Cannot find ${e} Share in the ${o.options.name}. Please ensure that the ${e} Share parameters have been injected`);const a=Ge(this.shareScopeMap,e,s,this.hooks.lifecycle.resolveShare),i=e=>{e.useIn||(e.useIn=[]),k(e.useIn,o.options.name)};if(a&&a.lib)return i(a),a.lib;if(a&&a.loading&&!a.loaded){const e=await a.loading;return a.loaded=!0,a.lib||(a.lib=e),i(a),e}if(a){const t=(async()=>{const t=await a.get();s.lib=t,s.loaded=!0,i(s);const o=Ge(this.shareScopeMap,e,s,this.hooks.lifecycle.resolveShare);return o&&(o.lib=t,o.loaded=!0),t})();return this.setShared({pkgName:e,loaded:!1,shared:a,from:o.options.name,lib:null,loading:t}),t}{if(null==t?void 0:t.customShareInfo)return!1;const r=(async()=>{const t=await s.get();s.lib=t,s.loaded=!0,i(s);const o=Ge(this.shareScopeMap,e,s,this.hooks.lifecycle.resolveShare);return o&&(o.lib=t,o.loaded=!0),t})();return this.setShared({pkgName:e,loaded:!1,shared:s,from:o.options.name,lib:null,loading:r}),r}}initializeSharing(e=z,t){const{host:o}=this,r=null==t?void 0:t.from,n=null==t?void 0:t.strategy;let s=null==t?void 0:t.initScope;const a=[];if("build"!==r){const{initTokens:t}=this;s||(s=[]);let o=t[e];if(o||(o=t[e]={from:this.host.name}),s.indexOf(o)>=0)return a;s.push(o)}const i=this.shareScopeMap,l=o.options.name;i[e]||(i[e]={});const c=i[e];return Object.keys(o.options.shared).forEach(t=>{o.options.shared[t].forEach(o=>{o.scope.includes(e)&&((e,t)=>{var o;const{version:r,eager:n}=t;c[e]=c[e]||{};const s=c[e],a=s[r],i=Boolean(a&&(a.eager||(null==(o=a.shareConfig)?void 0:o.eager)));(!a||"loaded-first"!==a.strategy&&!a.loaded&&(Boolean(!n)!==!i?n:l>a.from))&&(s[r]=t)})(t,o)})}),"version-first"!==o.options.shareStrategy&&"version-first"!==n||o.options.remotes.forEach(t=>{t.shareScope===e&&a.push((async t=>{const{module:r}=await o.remoteHandler.getRemoteModuleAndOptions({id:t});if(r.getEntry){let a;try{a=await r.getEntry()}catch(e){a=await o.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:t,error:e,from:"runtime",lifecycle:"beforeLoadShare",origin:o})}r.inited||(await(n=a,n&&n.init&&n.init(i[e],s)),r.inited=!0)}var n})(t.name))}),a}loadShareSync(e,t){const{host:o}=this,r=Be({pkgName:e,extraOptions:t,shareInfos:o.options.shared});(null==r?void 0:r.scope)&&r.scope.forEach(e=>{this.initializeSharing(e,{strategy:r.strategy})});const n=Ge(this.shareScopeMap,e,r,this.hooks.lifecycle.resolveShare),s=e=>{e.useIn||(e.useIn=[]),k(e.useIn,o.options.name)};if(n){if("function"==typeof n.lib)return s(n),n.loaded||(n.loaded=!0,n.from===o.options.name&&(r.loaded=!0)),n.lib;if("function"==typeof n.get){const t=n.get();if(!(t instanceof Promise))return s(n),this.setShared({pkgName:e,loaded:!0,from:o.options.name,lib:t,shared:n}),t}}if(r.lib)return r.loaded||(r.loaded=!0),r.lib;if(r.get){const n=r.get();if(n instanceof Promise){const r="build"===(null==t?void 0:t.from)?p:m;throw new Error(y(r,b,{hostName:o.options.name,sharedPkgName:e}))}return r.lib=n,this.setShared({pkgName:e,loaded:!0,from:o.options.name,lib:r.lib,shared:r}),r.lib}throw new Error(y(m,b,{hostName:o.options.name,sharedPkgName:e}))}initShareScopeMap(e,t,o={}){const{host:r}=this;this.shareScopeMap[e]=t,this.hooks.lifecycle.initContainerShareScopeMap.emit({shareScope:t,options:r.options,origin:r,scopeName:e,hostShareScopeMap:o.hostShareScopeMap})}setShared({pkgName:e,shared:t,from:o,lib:r,loading:a,loaded:i,get:l}){const{version:c,scope:u="default"}=t,p=s(t,["version","scope"]);(Array.isArray(u)?u:[u]).forEach(t=>{if(this.shareScopeMap[t]||(this.shareScopeMap[t]={}),this.shareScopeMap[t][e]||(this.shareScopeMap[t][e]={}),!this.shareScopeMap[t][e][c])return this.shareScopeMap[t][e][c]=n({version:c,scope:["default"]},p,{lib:r,loaded:i,loading:a}),void(l&&(this.shareScopeMap[t][e][c].get=l));const o=this.shareScopeMap[t][e][c];a&&!o.loading&&(o.loading=a)})}_setGlobalShareScopeMap(e){const t=Ue(),o=e.id||e.name;o&&!t[o]&&(t[o]=this.shareScopeMap)}constructor(e){this.hooks=new et({afterResolve:new Qe("afterResolve"),beforeLoadShare:new Qe("beforeLoadShare"),loadShare:new Ye,resolveShare:new Ze("resolveShare"),initContainerShareScopeMap:new Ze("initContainerShareScopeMap")}),this.host=e,this.shareScopeMap={},this.initTokens={},this._setGlobalShareScopeMap(e.options)}}class pt{formatAndRegisterRemote(e,t){return(t.remotes||[]).reduce((e,t)=>(this.registerRemote(t,e,{force:!1}),e),e.remotes)}setIdToRemoteMap(e,t){const{remote:o,expose:r}=t,{name:n,alias:s}=o;if(this.idToRemoteMap[e]={name:o.name,expose:r},s&&e.startsWith(n)){const t=e.replace(n,s);return void(this.idToRemoteMap[t]={name:o.name,expose:r})}if(s&&e.startsWith(s)){const t=e.replace(s,n);this.idToRemoteMap[t]={name:o.name,expose:r}}}async loadRemote(e,t){const{host:o}=this;try{const{loadFactory:r=!0}=t||{loadFactory:!0},{module:n,moduleOptions:s,remoteMatchInfo:a}=await this.getRemoteModuleAndOptions({id:e}),{pkgNameOrAlias:i,remote:l,expose:c,id:u,remoteSnapshot:p}=a,m=await n.get(u,c,t,p),h=await this.hooks.lifecycle.onLoad.emit({id:u,pkgNameOrAlias:i,expose:c,exposeModule:r?m:void 0,exposeModuleFactory:r?void 0:m,remote:l,options:s,moduleInstance:n,origin:o});return this.setIdToRemoteMap(e,a),"function"==typeof h?h:m}catch(r){const{from:n="runtime"}=t||{from:"runtime"},s=await this.hooks.lifecycle.errorLoadRemote.emit({id:e,error:r,from:n,lifecycle:"onLoad",origin:o});if(!s)throw r;return s}}async preloadRemote(e){const{host:t}=this;await this.hooks.lifecycle.beforePreloadRemote.emit({preloadOps:e,options:t.options,origin:t});const o=(r=t.options.remotes,e.map(e=>{const t=function(e,t){for(const o of e){if(t===o.name)return o;if(o.alias&&t===o.alias)return o}}(r,e.nameOrAlias);return v(t,`Unable to preload ${e.nameOrAlias} as it is not included in ${!t&&(0,a.ML)({remoteInfo:t,remotes:r})}`),{remote:t,preloadConfig:tt(e)}}));var r;await Promise.all(o.map(async e=>{const{remote:o}=e,r=Ke(o),{globalSnapshot:n,remoteSnapshot:s}=await t.snapshotHandler.loadRemoteSnapshotInfo(o),a=await this.hooks.lifecycle.generatePreloadAssets.emit({origin:t,preloadOptions:e,remote:o,remoteInfo:r,globalSnapshot:n,remoteSnapshot:s});a&&ot(r,t,a)}))}registerRemotes(e,t){const{host:o}=this;e.forEach(e=>{this.registerRemote(e,o.options.remotes,{force:null==t?void 0:t.force})})}async getRemoteModuleAndOptions(e){const{host:t}=this,{id:o}=e;let r;try{r=await this.hooks.lifecycle.beforeRequest.emit({id:o,options:t.options,origin:t})}catch(e){if(r=await this.hooks.lifecycle.errorLoadRemote.emit({id:o,options:t.options,origin:t,from:"runtime",error:e,lifecycle:"beforeRequest"}),!r)throw e}const{id:s}=r,a=function(e,t){for(const o of e){const e=t.startsWith(o.name);let r=t.replace(o.name,"");if(e){if(r.startsWith("/"))return r=`.${r}`,{pkgNameOrAlias:o.name,expose:r,remote:o};if(""===r)return{pkgNameOrAlias:o.name,expose:".",remote:o}}const n=o.alias&&t.startsWith(o.alias);let s=o.alias&&t.replace(o.alias,"");if(o.alias&&n){if(s&&s.startsWith("/"))return s=`.${s}`,{pkgNameOrAlias:o.alias,expose:s,remote:o};if(""===s)return{pkgNameOrAlias:o.alias,expose:".",remote:o}}}}(t.options.remotes,s);v(a,y(u,b,{hostName:t.options.name,requestId:s}));const{remote:i}=a,l=Ke(i),c=await t.sharedHandler.hooks.lifecycle.afterResolve.emit(n({id:s},a,{options:t.options,origin:t,remoteInfo:l})),{remote:p,expose:m}=c;v(p&&m,`The 'beforeRequest' hook was executed, but it failed to return the correct 'remote' and 'expose' values while loading ${s}.`);let h=t.moduleCache.get(p.name);const d={host:t,remoteInfo:l};return h||(h=new ze(d),t.moduleCache.set(p.name,h)),{module:h,moduleOptions:d,remoteMatchInfo:c}}registerRemote(e,t,o){const{host:r}=this,n=()=>{if(e.alias){const o=t.find(t=>{var o;return e.alias&&(t.name.startsWith(e.alias)||(null==(o=t.alias)?void 0:o.startsWith(e.alias)))});v(!o,`The alias ${e.alias} of remote ${e.name} is not allowed to be the prefix of ${o&&o.name} name or alias`)}"entry"in e&&(0,a.OL)()&&!e.entry.startsWith("http")&&(e.entry=new URL(e.entry,window.location.origin).href),e.shareScope||(e.shareScope=z),e.type||(e.type=X)};this.hooks.lifecycle.beforeRegisterRemote.emit({remote:e,origin:r});const s=t.find(t=>t.name===e.name);if(s){const i=[`The remote "${e.name}" is already registered.`,"Please note that overriding it may cause unexpected errors."];(null==o?void 0:o.force)&&(this.removeRemote(s),n(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:r}),(0,a.R8)(i.join(" ")))}else n(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:r})}removeRemote(e){try{const{host:o}=this,{name:r}=e,n=o.options.remotes.findIndex(e=>e.name===r);-1!==n&&o.options.remotes.splice(n,1);const s=o.moduleCache.get(e.name);if(s){const r=s.remoteInfo,n=r.entryGlobalName;var t;P[n]&&((null==(t=Object.getOwnPropertyDescriptor(P,n))?void 0:t.configurable)?delete P[n]:P[n]=void 0);const i=We(s.remoteInfo);j[i]&&delete j[i],o.snapshotHandler.manifestCache.delete(r.entry);let l=r.buildVersion?(0,a.lG)(r.name,r.buildVersion):r.name;const c=P.__FEDERATION__.__INSTANCES__.findIndex(e=>r.buildVersion?e.options.id===l:e.name===l);if(-1!==c){const e=P.__FEDERATION__.__INSTANCES__[c];l=e.options.id||l;const t=Ue();let o=!0;const n=[];Object.keys(t).forEach(e=>{const s=t[e];s&&Object.keys(s).forEach(t=>{const a=s[t];a&&Object.keys(a).forEach(s=>{const i=a[s];i&&Object.keys(i).forEach(a=>{const l=i[a];l&&"object"==typeof l&&l.from===r.name&&(l.loaded||l.loading?(l.useIn=l.useIn.filter(e=>e!==r.name),l.useIn.length?o=!1:n.push([e,t,s,a])):n.push([e,t,s,a]))})})})}),o&&(e.shareScopeMap={},delete t[l]),n.forEach(([e,o,r,n])=>{var s,a,i;null==(i=t[e])||null==(a=i[o])||null==(s=a[r])||delete s[n]}),P.__FEDERATION__.__INSTANCES__.splice(c,1)}const{hostGlobalSnapshot:u}=lt(e,o);if(u){const t=u&&"remotesInfo"in u&&u.remotesInfo&&F(u.remotesInfo,e.name).key;t&&(delete u.remotesInfo[t],Boolean(L.__FEDERATION__.__MANIFEST_LOADING__[t])&&delete L.__FEDERATION__.__MANIFEST_LOADING__[t])}o.moduleCache.delete(e.name)}}catch(e){S.log("removeRemote fail: ",e)}}constructor(e){this.hooks=new et({beforeRegisterRemote:new Ze("beforeRegisterRemote"),registerRemote:new Ze("registerRemote"),beforeRequest:new Qe("beforeRequest"),onLoad:new Ye("onLoad"),handlePreloadModule:new Xe("handlePreloadModule"),errorLoadRemote:new Ye("errorLoadRemote"),beforePreloadRemote:new Ye("beforePreloadRemote"),generatePreloadAssets:new Ye("generatePreloadAssets"),afterPreloadRemote:new Ye,loadEntry:new Ye}),this.host=e,this.idToRemoteMap={}}}class mt{initOptions(e){this.registerPlugins(e.plugins);const t=this.formatOptions(this.options,e);return this.options=t,t}async loadShare(e,t){return this.sharedHandler.loadShare(e,t)}loadShareSync(e,t){return this.sharedHandler.loadShareSync(e,t)}initializeSharing(e=z,t){return this.sharedHandler.initializeSharing(e,t)}initRawContainer(e,t,o){const r=Ke({name:e,entry:t}),n=new ze({host:this,remoteInfo:r});return n.remoteEntryExports=o,this.moduleCache.set(e,n),n}async loadRemote(e,t){return this.remoteHandler.loadRemote(e,t)}async preloadRemote(e){return this.remoteHandler.preloadRemote(e)}initShareScopeMap(e,t,o={}){this.sharedHandler.initShareScopeMap(e,t,o)}formatOptions(e,t){const{shared:o}=Le(e,t),{userOptions:r,options:s}=this.hooks.lifecycle.beforeInit.emit({origin:this,userOptions:t,options:e,shareInfo:o}),a=this.remoteHandler.formatAndRegisterRemote(s,r),{shared:i}=this.sharedHandler.registerShared(s,r),l=[...s.plugins];r.plugins&&r.plugins.forEach(e=>{l.includes(e)||l.push(e)});const c=n({},e,t,{plugins:l,remotes:a,shared:i});return this.hooks.lifecycle.init.emit({origin:this,options:c}),c}registerPlugins(e){const t=function(e,t){const o=x.__FEDERATION__.__GLOBAL_PLUGIN__;return o.length>0&&o.forEach(t=>{(null==e?void 0:e.find(e=>e.name!==t.name))&&e.push(t)}),e&&e.length>0&&e.forEach(e=>{t.forEach(t=>{t.applyPlugin(e)})}),e}(e,[this.hooks,this.remoteHandler.hooks,this.sharedHandler.hooks,this.snapshotHandler.hooks,this.loaderHook,this.bridgeHook]);this.options.plugins=this.options.plugins.reduce((e,t)=>t?(e&&!e.find(e=>e.name===t.name)&&e.push(t),e):e,t||[])}registerRemotes(e,t){return this.remoteHandler.registerRemotes(e,t)}constructor(e){this.hooks=new et({beforeInit:new Ze("beforeInit"),init:new Xe,beforeInitContainer:new Qe("beforeInitContainer"),initContainer:new Qe("initContainer")}),this.version="0.13.1",this.moduleCache=new Map,this.loaderHook=new et({getModuleInfo:new Xe,createScript:new Xe,createLink:new Xe,fetch:new Ye,loadEntryError:new Ye,getModuleFactory:new Ye}),this.bridgeHook=new et({beforeBridgeRender:new Xe,afterBridgeRender:new Xe,beforeBridgeDestroy:new Xe,afterBridgeDestroy:new Xe});const t={id:"flowComponents:2.2.15",name:e.name,plugins:[{name:"snapshot-plugin",async afterResolve(e){const{remote:t,pkgNameOrAlias:o,expose:r,origin:s,remoteInfo:a}=e;if(!R(t)||!O(t)){const{remoteSnapshot:i,globalSnapshot:l}=await s.snapshotHandler.loadRemoteSnapshotInfo(t);rt(a,i);const c={remote:t,preloadConfig:{nameOrAlias:o,exposes:[r],resourceCategory:"sync",share:!1,depsRemote:!1}},u=await s.remoteHandler.hooks.lifecycle.generatePreloadAssets.emit({origin:s,preloadOptions:c,remoteInfo:a,remote:t,remoteSnapshot:i,globalSnapshot:l});return u&&ot(a,s,u,!1),n({},e,{remoteSnapshot:i})}return e}},{name:"generate-preload-assets-plugin",async generatePreloadAssets(e){const{origin:t,preloadOptions:o,remoteInfo:r,remote:n,globalSnapshot:s,remoteSnapshot:i}=e;return(0,a.OL)()?R(n)&&O(n)?{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[{name:n.name,url:n.entry,moduleInfo:{name:r.name,entry:n.entry,type:r.type||"global",entryGlobalName:"",shareScope:""}}]}:(rt(r,i),it(t,o,r,s,i)):{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[]}}}],remotes:[],shared:{},inBrowser:(0,a.OL)()};this.name=e.name,this.options=t,this.snapshotHandler=new ct(this),this.sharedHandler=new ut(this),this.remoteHandler=new pt(this),this.shareScopeMap=this.sharedHandler.shareScopeMap,this.registerPlugins([...t.plugins,...e.plugins||[]]),this.options=this.formatOptions(t,e)}}let ht=null;function dt(e){const t=function(e,t){return P.__FEDERATION__.__INSTANCES__.find(o=>"flowComponents:2.2.15"===o.options.id||o.options.name===e&&!o.options.version&&!t||!(o.options.name!==e||!t||o.options.version!==t))}(e.name,e.version);if(t)return t.initOptions(e),ht||(ht=t),t;{const t=P.__FEDERATION__.__DEBUG_CONSTRUCTOR__||mt;return ht=new t(e),function(e){P.__FEDERATION__.__INSTANCES__.push(e)}(ht),ht}}function ft(...e){return v(ht,"Please call init first"),ht.loadRemote.apply(ht,e)}function _t(...e){return v(ht,"Please call init first"),ht.loadShare.apply(ht,e)}function yt(...e){return v(ht,"Please call init first"),ht.loadShareSync.apply(ht,e)}function gt(...e){return v(ht,"Please call init first"),ht.preloadRemote.apply(ht,e)}function bt(...e){return v(ht,"Please call init first"),ht.registerRemotes.apply(ht,e)}function Et(...e){return v(ht,"Please call init first"),ht.registerPlugins.apply(ht,e)}function St(){return ht}!function(e,t=(0,a.Bb)()){t&&(P.__FEDERATION__.__DEBUG_CONSTRUCTOR__=e,P.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__="0.13.1")}(mt);const vt=["script"];function wt(e){e.S&&!e.federation.hasAttachShareScopeMap&&e.federation.instance&&e.federation.instance.shareScopeMap&&(e.S=e.federation.instance.shareScopeMap,e.federation.hasAttachShareScopeMap=!0)}function Nt(){return Nt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Nt.apply(this,arguments)}const kt={runtime:r,instance:void 0,initOptions:void 0,bundlerRuntime:{remotes:function(e){const{chunkId:t,promises:o,chunkMapping:r,idToExternalAndNameMapping:n,webpackRequire:s,idToRemoteMap:i}=e;wt(s),s.o(r,t)&&r[t].forEach(e=>{let t=s.R;t||(t=[]);const r=n[e],l=i[e];if(t.indexOf(r)>=0)return;if(t.push(r),r.p)return o.push(r.p);const c=t=>{t||(t=new Error("Container missing")),"string"==typeof t.message&&(t.message+=`\nwhile loading "${r[1]}" from ${r[2]}`),s.m[e]=()=>{throw t},r.p=0},u=(e,t,n,s,a,i)=>{try{const l=e(t,n);if(!l||!l.then)return a(l,s,i);{const e=l.then(e=>a(e,s),c);if(!i)return e;o.push(r.p=e)}}catch(e){c(e)}};var p=(e,o,n)=>u(o.get,r[1],t,0,m,n),m=t=>{r.p=1,s.m[e]=e=>{e.exports=t()}};1===l.length&&vt.includes(l[0].externalType)&&l[0].name?u(()=>{try{const e=(0,a.e4)(l[0].name,a.yq)+r[1].slice(1),t=s.federation.instance,o=()=>s.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});return"version-first"===t.options.shareStrategy?Promise.all(t.sharedHandler.initializeSharing(r[0])).then(()=>o()):o()}catch(e){c(e)}},r[2],0,0,m,1):u(s,r[2],0,0,(e,t,o)=>e?u(s.I,r[0],0,e,p,o):c(),1)})},consumes:function(e){const{chunkId:t,promises:o,chunkMapping:r,installedModules:n,moduleToHandlerMapping:s,webpackRequire:a}=e;wt(a),a.o(r,t)&&r[t].forEach(e=>{if(a.o(n,e))return o.push(n[e]);const t=t=>{n[e]=0,a.m[e]=o=>{delete a.c[e],o.exports=t()}},r=t=>{delete n[e],a.m[e]=o=>{throw delete a.c[e],t}};try{const i=a.federation.instance;if(!i)throw new Error("Federation instance not found!");const{shareKey:l,getter:c,shareInfo:u}=s[e],p=i.loadShare(l,{customShareInfo:u}).then(e=>!1===e?c():e);p.then?o.push(n[e]=p.then(t).catch(r)):t(p)}catch(e){r(e)}})},I:function({shareScopeName:e,webpackRequire:t,initPromises:o,initTokens:r,initScope:n}){const s=Array.isArray(e)?e:[e];var a=[];return s.forEach(s=>{a.push(function(s){n||(n=[]);const a=t.federation.instance;var i=r[s];if(i||(i=r[s]={from:a.name}),n.indexOf(i)>=0)return;n.push(i);const l=o[s];if(l)return l;var c=o=>{var r=e=>{return t="Initialization of sharing external failed: "+e,"undefined"!=typeof console&&console.warn&&console.warn(t);var t};try{var a=t(o);if(!a)return;var i=o=>o&&o.init&&o.init(t.S[s],n,{shareScopeMap:t.S||{},shareScopeKeys:e});if(a.then)return u.push(a.then(i,r));var l=i(a);if(l&&"boolean"!=typeof l&&l.then)return u.push(l.catch(r))}catch(e){r(e)}};const u=a.initializeSharing(s,{strategy:a.options.shareStrategy,initScope:n,from:"build"});wt(t);const p=t.federation.bundlerRuntimeOptions.remotes;return p&&Object.keys(p.idToRemoteMap).forEach(e=>{const t=p.idToRemoteMap[e],o=p.idToExternalAndNameMapping[e][2];if(t.length>1)c(o);else if(1===t.length){const e=t[0];vt.includes(e.externalType)||c(o)}}),u.length?o[s]=Promise.all(u).then(()=>o[s]=!0):o[s]=!0}(s))}),Promise.all(a).then(()=>!0)},S:{},installInitialConsumes:function(e){const{moduleToHandlerMapping:t,webpackRequire:o,installedModules:r,initialConsumes:n}=e;n.forEach(e=>{o.m[e]=n=>{r[e]=0,delete o.c[e];const s=function(e){const{moduleId:t,moduleToHandlerMapping:o,webpackRequire:r}=e,n=r.federation.instance;if(!n)throw new Error("Federation instance not found!");const{shareKey:s,shareInfo:a}=o[t];try{return n.loadShareSync(s,{customShareInfo:a})}catch(e){throw console.error('loadShareSync failed! The function should not be called unless you set "eager:true". If you do not set it, and encounter this issue, you can check whether an async boundary is implemented.'),console.error("The original error message is as follows: "),e}}({moduleId:e,moduleToHandlerMapping:t,webpackRequire:o});if("function"!=typeof s)throw new Error(`Shared module is not available for eager consumption: ${e}`);n.exports=s()}})},initContainerEntry:function(e){const{webpackRequire:t,shareScope:o,initScope:r,shareScopeKey:n,remoteEntryInitOptions:s}=e;if(!t.S)return;if(!t.federation||!t.federation.instance||!t.federation.initOptions)return;const a=t.federation.instance;a.initOptions(Nt({name:t.federation.initOptions.name,remotes:[]},s));const i=null==s?void 0:s.shareScopeKeys,l=null==s?void 0:s.shareScopeMap;if(n&&"string"!=typeof n)n.forEach(e=>{if(!i||!l)return void a.initShareScopeMap(e,o,{hostShareScopeMap:(null==s?void 0:s.shareScopeMap)||{}});l[e]||(l[e]={});const t=l[e];a.initShareScopeMap(e,t,{hostShareScopeMap:(null==s?void 0:s.shareScopeMap)||{}})});else{const e=n||"default";Array.isArray(i)?i.forEach(e=>{l[e]||(l[e]={});const t=l[e];a.initShareScopeMap(e,t,{hostShareScopeMap:(null==s?void 0:s.shareScopeMap)||{}})}):a.initShareScopeMap(e,o,{hostShareScopeMap:(null==s?void 0:s.shareScopeMap)||{}})}return t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),"function"==typeof t.federation.prefetch&&t.federation.prefetch(),Array.isArray(n)?Boolean(t.federation.initOptions.shared)?t.I(n,r):Promise.all(n.map(e=>t.I(e,r))).then(()=>!0):t.I(n||"default",r)}},attachShareScopeMap:wt,bundlerRuntimeOptions:{}};if(!o.federation.runtime){var It=o.federation;for(var Rt in o.federation={},kt)o.federation[Rt]=kt[Rt];for(var Rt in It)o.federation[Rt]=It[Rt]}o.federation.instance||(o.federation.instance=o.federation.runtime.init(o.federation.initOptions),o.federation.attachShareScopeMap&&o.federation.attachShareScopeMap(o),o.federation.installInitialConsumes&&o.federation.installInitialConsumes(),!o.federation.isMFRemote&&o.federation.prefetch&&o.federation.prefetch())},1601:(e,t,o)=>{var r={"./components":()=>Promise.all([o.e(181),o.e(924)]).then(()=>()=>o(3676)),"./componentClasses":()=>Promise.all([o.e(148),o.e(222),o.e(999)]).then(()=>()=>o(3049)),"./theme":()=>Promise.all([o.e(148),o.e(222),o.e(143)]).then(()=>()=>o(71))},n=(e,t)=>(o.R=t,t=o.o(r,e)?r[e]():Promise.resolve().then(()=>{throw new Error('Module "'+e+'" does not exist in container.')}),o.R=void 0,t),s=(e,t,r)=>o.federation.bundlerRuntime.initContainerEntry({webpackRequire:o,shareScope:e,initScope:t,remoteEntryInitOptions:r,shareScopeKey:"default"});o.d(t,{get:()=>n,init:()=>s})},2870:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Al:()=>getResourceUrl,Bb:()=>isDebugMode,Jn:()=>generateSnapshotFromManifest,ML:()=>safeToString,OL:()=>isBrowserEnv,R8:()=>warn,Tr:()=>isManifestProvider,d:()=>createLink,e4:()=>decodeName,h:()=>createLogger,k0:()=>loadScript,lG:()=>composeKeyWithSeparator,oe:()=>loadScriptNode,so:()=>createScript,tf:()=>isReactNativeEnv,yq:()=>ENCODE_NAME_PREFIX});var _polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(8138);const FederationModuleManifest="federation-manifest.json",MANIFEST_EXT=".json",BROWSER_LOG_KEY="FEDERATION_DEBUG",BROWSER_LOG_VALUE="1",NameTransformSymbol={AT:"@",HYPHEN:"-",SLASH:"/"},NameTransformMap={[NameTransformSymbol.AT]:"scope_",[NameTransformSymbol.HYPHEN]:"_",[NameTransformSymbol.SLASH]:"__"},EncodedNameTransformMap={[NameTransformMap[NameTransformSymbol.AT]]:NameTransformSymbol.AT,[NameTransformMap[NameTransformSymbol.HYPHEN]]:NameTransformSymbol.HYPHEN,[NameTransformMap[NameTransformSymbol.SLASH]]:NameTransformSymbol.SLASH},SEPARATOR=":",ManifestFileName="mf-manifest.json",StatsFileName="mf-stats.json",MFModuleType={NPM:"npm",APP:"app"},MODULE_DEVTOOL_IDENTIFIER="__MF_DEVTOOLS_MODULE_INFO__",ENCODE_NAME_PREFIX="ENCODE_NAME_PREFIX",TEMP_DIR=".federation",MFPrefetchCommon={identifier:"MFDataPrefetch",globalKey:"__PREFETCH__",library:"mf-data-prefetch",exportsKey:"__PREFETCH_EXPORTS__",fileName:"bootstrap.js"};var ContainerPlugin=Object.freeze({__proto__:null}),ContainerReferencePlugin=Object.freeze({__proto__:null}),ModuleFederationPlugin=Object.freeze({__proto__:null}),SharePlugin=Object.freeze({__proto__:null});function isBrowserEnv(){return"undefined"!=typeof window&&void 0!==window.document}function isReactNativeEnv(){var e;return"undefined"!=typeof navigator&&"ReactNative"===(null==(e=navigator)?void 0:e.product)}function isBrowserDebug(){try{if(isBrowserEnv()&&window.localStorage)return localStorage.getItem(BROWSER_LOG_KEY)===BROWSER_LOG_VALUE}catch(e){return!1}return!1}function isDebugMode(){return"undefined"!=typeof process&&process.env&&process.env.FEDERATION_DEBUG?Boolean(process.env.FEDERATION_DEBUG):!("undefined"==typeof FEDERATION_DEBUG||!Boolean(FEDERATION_DEBUG))||isBrowserDebug()}const getProcessEnv=function(){return"undefined"!=typeof process&&process.env?process.env:{}},LOG_CATEGORY="[ Federation Runtime ]",parseEntry=(e,t,o=SEPARATOR)=>{const r=e.split(o),n="development"===getProcessEnv().NODE_ENV&&t,s=e=>e.startsWith("http")||e.includes(MANIFEST_EXT);if(r.length>=2){let[t,...a]=r;e.startsWith(o)&&(t=r.slice(0,2).join(o),a=[n||r.slice(2).join(o)]);let i=n||a.join(o);return s(i)?{name:t,entry:i}:{name:t,version:i||"*"}}if(1===r.length){const[e]=r;return n&&s(n)?{name:e,entry:n}:{name:e,version:n||"*"}}throw`Invalid entry value: ${e}`},composeKeyWithSeparator=function(...e){return e.length?e.reduce((e,t)=>t?e?`${e}${SEPARATOR}${t}`:t:e,""):""},encodeName=function(e,t="",o=!1){try{const r=o?".js":"";return`${t}${e.replace(new RegExp(`${NameTransformSymbol.AT}`,"g"),NameTransformMap[NameTransformSymbol.AT]).replace(new RegExp(`${NameTransformSymbol.HYPHEN}`,"g"),NameTransformMap[NameTransformSymbol.HYPHEN]).replace(new RegExp(`${NameTransformSymbol.SLASH}`,"g"),NameTransformMap[NameTransformSymbol.SLASH])}${r}`}catch(e){throw e}},decodeName=function(e,t,o){try{let r=e;if(t){if(!r.startsWith(t))return r;r=r.replace(new RegExp(t,"g"),"")}return r=r.replace(new RegExp(`${NameTransformMap[NameTransformSymbol.AT]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.AT]]).replace(new RegExp(`${NameTransformMap[NameTransformSymbol.SLASH]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.SLASH]]).replace(new RegExp(`${NameTransformMap[NameTransformSymbol.HYPHEN]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.HYPHEN]]),o&&(r=r.replace(".js","")),r}catch(e){throw e}},generateExposeFilename=(e,t)=>{if(!e)return"";let o=e;return"."===o&&(o="default_export"),o.startsWith("./")&&(o=o.replace("./","")),encodeName(o,"__federation_expose_",t)},generateShareFilename=(e,t)=>e?encodeName(e,"__federation_shared_",t):"",getResourceUrl=(e,t)=>{if("getPublicPath"in e){let o;return o=e.getPublicPath.startsWith("function")?new Function("return "+e.getPublicPath)()():new Function(e.getPublicPath)(),`${o}${t}`}return"publicPath"in e?isBrowserEnv()||isReactNativeEnv()||!("ssrPublicPath"in e)?`${e.publicPath}${t}`:`${e.ssrPublicPath}${t}`:(console.warn("Cannot get resource URL. If in debug mode, please ignore.",e,t),"")},assert=(e,t)=>{e||error(t)},error=e=>{throw new Error(`${LOG_CATEGORY}: ${e}`)},warn=e=>{console.warn(`${LOG_CATEGORY}: ${e}`)};function safeToString(e){try{return JSON.stringify(e,null,2)}catch(e){return""}}const VERSION_PATTERN_REGEXP=/^([\d^=v<>~]|[*xX]$)/;function isRequiredVersion(e){return VERSION_PATTERN_REGEXP.test(e)}const simpleJoinRemoteEntry=(e,t)=>{if(!e)return t;const o=(e=>{if("."===e)return"";if(e.startsWith("./"))return e.replace("./","");if(e.startsWith("/")){const t=e.slice(1);return t.endsWith("/")?t.slice(0,-1):t}return e})(e);return o?o.endsWith("/")?`${o}${t}`:`${o}/${t}`:t};function inferAutoPublicPath(e){return e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")}function generateSnapshotFromManifest(e,t={}){var o,r;const{remotes:n={},overrides:s={},version:a}=t;let i;const l=()=>"publicPath"in e.metaData?"auto"===e.metaData.publicPath&&a?inferAutoPublicPath(a):e.metaData.publicPath:e.metaData.getPublicPath,c=Object.keys(s);let u={};var p;Object.keys(n).length||(u=(null==(p=e.remotes)?void 0:p.reduce((e,t)=>{let o;const r=t.federationContainerName;return o=c.includes(r)?s[r]:"version"in t?t.version:t.entry,e[r]={matchedVersion:o},e},{}))||{}),Object.keys(n).forEach(e=>u[e]={matchedVersion:c.includes(e)?s[e]:n[e]});const{remoteEntry:{path:m,name:h,type:d},types:f,buildInfo:{buildVersion:_},globalName:y,ssrRemoteEntry:g}=e.metaData,{exposes:b}=e;let E={version:a||"",buildVersion:_,globalName:y,remoteEntry:simpleJoinRemoteEntry(m,h),remoteEntryType:d,remoteTypes:simpleJoinRemoteEntry(f.path,f.name),remoteTypesZip:f.zip||"",remoteTypesAPI:f.api||"",remotesInfo:u,shared:null==e?void 0:e.shared.map(e=>({assets:e.assets,sharedName:e.name,version:e.version})),modules:null==b?void 0:b.map(e=>({moduleName:e.name,modulePath:e.path,assets:e.assets}))};if(null==(o=e.metaData)?void 0:o.prefetchInterface){const t=e.metaData.prefetchInterface;E=(0,_polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__._)({},E,{prefetchInterface:t})}if(null==(r=e.metaData)?void 0:r.prefetchEntry){const{path:t,name:o,type:r}=e.metaData.prefetchEntry;E=(0,_polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__._)({},E,{prefetchEntry:simpleJoinRemoteEntry(t,o),prefetchEntryType:r})}if(i="publicPath"in e.metaData?(0,_polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__._)({},E,{publicPath:l(),ssrPublicPath:e.metaData.ssrPublicPath}):(0,_polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__._)({},E,{getPublicPath:l()}),g){const e=simpleJoinRemoteEntry(g.path,g.name);i.ssrRemoteEntry=e,i.ssrRemoteEntryType=g.type||"commonjs-module"}return i}function isManifestProvider(e){return!(!("remoteEntry"in e)||!e.remoteEntry.includes(MANIFEST_EXT))}const PREFIX="[ Module Federation ]";let Logger=class{setPrefix(e){this.prefix=e}log(...e){console.log(this.prefix,...e)}warn(...e){console.log(this.prefix,...e)}error(...e){console.log(this.prefix,...e)}success(...e){console.log(this.prefix,...e)}info(...e){console.log(this.prefix,...e)}ready(...e){console.log(this.prefix,...e)}debug(...e){isDebugMode()&&console.log(this.prefix,...e)}constructor(e){this.prefix=e}};function createLogger(e){return new Logger(e)}const logger=createLogger(PREFIX);async function safeWrapper(e,t){try{return await e()}catch(e){return void(!t&&warn(e))}}function isStaticResourcesEqual(e,t){const o=/^(https?:)?\/\//i;return e.replace(o,"").replace(/\/$/,"")===t.replace(o,"").replace(/\/$/,"")}function createScript(e){let t,o=null,r=!0,n=2e4;const s=document.getElementsByTagName("script");for(let t=0;t<s.length;t++){const n=s[t],a=n.getAttribute("src");if(a&&isStaticResourcesEqual(a,e.url)){o=n,r=!1;break}}if(!o){const t=e.attrs;let r;o=document.createElement("script"),o.type="module"===(null==t?void 0:t.type)?"module":"text/javascript",e.createScriptHook&&(r=e.createScriptHook(e.url,e.attrs),r instanceof HTMLScriptElement?o=r:"object"==typeof r&&("script"in r&&r.script&&(o=r.script),"timeout"in r&&r.timeout&&(n=r.timeout))),o.src||(o.src=e.url),t&&!r&&Object.keys(t).forEach(e=>{o&&("async"===e||"defer"===e?o[e]=t[e]:o.getAttribute(e)||o.setAttribute(e,t[e]))})}const a=async(r,n)=>{clearTimeout(t);const s=()=>{"error"===(null==n?void 0:n.type)?(null==e?void 0:e.onErrorCallback)&&(null==e||e.onErrorCallback(n)):(null==e?void 0:e.cb)&&(null==e||e.cb())};if(o&&(o.onerror=null,o.onload=null,safeWrapper(()=>{const{needDeleteScript:t=!0}=e;t&&(null==o?void 0:o.parentNode)&&o.parentNode.removeChild(o)}),r&&"function"==typeof r)){const e=r(n);if(e instanceof Promise){const t=await e;return s(),t}return s(),e}s()};return o.onerror=a.bind(null,o.onerror),o.onload=a.bind(null,o.onload),t=setTimeout(()=>{a(null,new Error(`Remote script "${e.url}" time-outed.`))},n),{script:o,needAttach:r}}function createLink(e){let t=null,o=!0;const r=document.getElementsByTagName("link");for(let n=0;n<r.length;n++){const s=r[n],a=s.getAttribute("href"),i=s.getAttribute("rel");if(a&&isStaticResourcesEqual(a,e.url)&&i===e.attrs.rel){t=s,o=!1;break}}if(!t){let o;t=document.createElement("link"),t.setAttribute("href",e.url);const r=e.attrs;e.createLinkHook&&(o=e.createLinkHook(e.url,r),o instanceof HTMLLinkElement&&(t=o)),r&&!o&&Object.keys(r).forEach(e=>{t&&!t.getAttribute(e)&&t.setAttribute(e,r[e])})}const n=(o,r)=>{const n=()=>{"error"===(null==r?void 0:r.type)?(null==e?void 0:e.onErrorCallback)&&(null==e||e.onErrorCallback(r)):(null==e?void 0:e.cb)&&(null==e||e.cb())};if(t&&(t.onerror=null,t.onload=null,safeWrapper(()=>{const{needDeleteLink:o=!0}=e;o&&(null==t?void 0:t.parentNode)&&t.parentNode.removeChild(t)}),o)){const e=o(r);return n(),e}n()};return t.onerror=n.bind(null,t.onerror),t.onload=n.bind(null,t.onload),{link:t,needAttach:o}}function loadScript(e,t){const{attrs:o={},createScriptHook:r}=t;return new Promise((t,n)=>{const{script:s,needAttach:a}=createScript({url:e,cb:t,onErrorCallback:n,attrs:(0,_polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__._)({fetchpriority:"high"},o),createScriptHook:r,needDeleteScript:!0});a&&document.head.appendChild(s)})}function importNodeModule(e){if(!e)throw new Error("import specifier is required");return new Function("name","return import(name)")(e).then(e=>e).catch(t=>{throw console.error(`Error importing module ${e}:`,t),t})}const loadNodeFetch=async()=>{const e=await importNodeModule("node-fetch");return e.default||e},lazyLoaderHookFetch=async(e,t,o)=>{const r=await((e,t)=>o.lifecycle.fetch.emit(e,t))(e,t||{});return r&&r instanceof Response?r:("undefined"==typeof fetch?await loadNodeFetch():fetch)(e,t||{})};function createScriptNode(url,cb,attrs,loaderHook){if(null==loaderHook?void 0:loaderHook.createScriptHook){const e=loaderHook.createScriptHook(url);e&&"object"==typeof e&&"url"in e&&(url=e.url)}let urlObj;try{urlObj=new URL(url)}catch(e){return console.error("Error constructing URL:",e),void cb(new Error(`Invalid URL: ${e}`))}const getFetch=async()=>(null==loaderHook?void 0:loaderHook.fetch)?(e,t)=>lazyLoaderHookFetch(e,t,loaderHook):"undefined"==typeof fetch?loadNodeFetch():fetch,handleScriptFetch=async(f,urlObj)=>{try{var _vm_constants;const res=await f(urlObj.href),data=await res.text(),[path,vm]=await Promise.all([importNodeModule("path"),importNodeModule("vm")]),scriptContext={exports:{},module:{exports:{}}},urlDirname=urlObj.pathname.split("/").slice(0,-1).join("/"),filename=path.basename(urlObj.pathname);var _vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER;const script=new vm.Script(`(function(exports, module, require, __dirname, __filename) {${data}\n})`,{filename,importModuleDynamically:null!=(_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER=null==(_vm_constants=vm.constants)?void 0:_vm_constants.USE_MAIN_CONTEXT_DEFAULT_LOADER)?_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER:importNodeModule});script.runInThisContext()(scriptContext.exports,scriptContext.module,eval("require"),urlDirname,filename);const exportedInterface=scriptContext.module.exports||scriptContext.exports;if(attrs&&exportedInterface&&attrs.globalName){const e=exportedInterface[attrs.globalName]||exportedInterface;return void cb(void 0,e)}cb(void 0,exportedInterface)}catch(e){cb(e instanceof Error?e:new Error(`Script execution error: ${e}`))}};getFetch().then(async e=>{if("esm"===(null==attrs?void 0:attrs.type)||"module"===(null==attrs?void 0:attrs.type))return loadModule(urlObj.href,{fetch:e,vm:await importNodeModule("vm")}).then(async e=>{await e.evaluate(),cb(void 0,e.namespace)}).catch(e=>{cb(e instanceof Error?e:new Error(`Script execution error: ${e}`))});handleScriptFetch(e,urlObj)}).catch(e=>{cb(e)})}function loadScriptNode(e,t){return new Promise((o,r)=>{createScriptNode(e,(e,n)=>{if(e)r(e);else{var s,a;const e=(null==t||null==(s=t.attrs)?void 0:s.globalName)||`__FEDERATION_${null==t||null==(a=t.attrs)?void 0:a.name}:custom__`,r=globalThis[e]=n;o(r)}},t.attrs,t.loaderHook)})}async function loadModule(e,t){const{fetch:o,vm:r}=t,n=await o(e),s=await n.text(),a=new r.SourceTextModule(s,{importModuleDynamically:async(o,r)=>loadModule(new URL(o,e).href,t)});return await a.link(async o=>{const r=new URL(o,e).href;return await loadModule(r,t)}),a}function normalizeOptions(e,t,o){return function(r){if(!1===r)return!1;if(void 0===r)return!!e&&t;if(!0===r)return t;if(r&&"object"==typeof r)return(0,_polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__._)({},t,r);throw new Error(`Unexpected type for \`${o}\`, expect boolean/undefined/object, got: ${typeof r}`)}}},8138:(e,t,o)=>{function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},r.apply(this,arguments)}o.d(t,{_:()=>r})}},__webpack_module_cache__={},inProgress,dataWebpackPrefix,installedModules,moduleToHandlerMapping,chunkMapping,oldStartup,hasRun;function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var o=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}},r={id:e,module:o,factory:__webpack_modules__[e],require:__webpack_require__};return __webpack_require__.i.forEach(function(e){e(r)}),o=r.module,r.factory.call(o.exports,o,o.exports,r.require),o.loaded=!0,o.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.c=__webpack_module_cache__,__webpack_require__.i=[],__webpack_require__.x=e=>{},__webpack_require__.federation||(__webpack_require__.federation={initOptions:{name:"flowComponents",remotes:[],shareStrategy:"version-first"},chunkMatcher:function(e){return!0},rootOutputDir:"",initialConsumes:void 0,bundlerRuntimeOptions:{}}),__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var o in t)__webpack_require__.o(t,o)&&!__webpack_require__.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce((t,o)=>(__webpack_require__.f[o](e,t),t),[])),__webpack_require__.u=e=>(({143:"__federation_expose_theme",924:"__federation_expose_components",999:"__federation_expose_componentClasses"}[e]||e)+".js"),__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),inProgress={},dataWebpackPrefix="@descope/flow-components-2.2.15-1766486686658:",__webpack_require__.l=(e,t,o,r)=>{if(inProgress[e])inProgress[e].push(t);else{var n,s;if(void 0!==o)for(var a=document.getElementsByTagName("script"),i=0;i<a.length;i++){var l=a[i];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==dataWebpackPrefix+o){n=l;break}}n||(s=!0,(n=document.createElement("script")).charset="utf-8",__webpack_require__.nc&&n.setAttribute("nonce",__webpack_require__.nc),n.setAttribute("data-webpack",dataWebpackPrefix+o),n.src=e),inProgress[e]=[t];var c=(t,o)=>{n.onerror=n.onload=null,clearTimeout(u);var r=inProgress[e];if(delete inProgress[e],n.parentNode&&n.parentNode.removeChild(n),r&&r.forEach(e=>e(o)),t)return t(o)},u=setTimeout(c.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=c.bind(null,n.onerror),n.onload=c.bind(null,n.onload),s&&document.head.appendChild(n)}},__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{__webpack_require__.S={};var e={},t={};__webpack_require__.I=(o,r)=>{r||(r=[]);var n=t[o];if(n||(n=t[o]={}),!(r.indexOf(n)>=0)){if(r.push(n),e[o])return e[o];__webpack_require__.o(__webpack_require__.S,o)||(__webpack_require__.S[o]={}),__webpack_require__.S[o];var s=[];return e[o]=s.length?Promise.all(s).then(()=>e[o]=1):1}}})(),(()=>{__webpack_require__.federation.initOptions.shared={},__webpack_require__.S={};var e={},t={};__webpack_require__.I=(o,r)=>__webpack_require__.federation.bundlerRuntime.I({shareScopeName:o,webpackRequire:__webpack_require__,initPromises:e,initTokens:t,initScope:r})})(),(()=>{var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var t=__webpack_require__.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var o=t.getElementsByTagName("script");if(o.length)for(var r=o.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=o[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e})(),installedModules={},moduleToHandlerMapping={7596:{getter:()=>()=>{throw new Error("Can not get 'react'")},shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:">= 18",strictVersion:!1,singleton:!0,eager:!1},scope:["default"]},shareKey:"react"}},chunkMapping={181:[7596]},__webpack_require__.f.consumes=(e,t)=>{__webpack_require__.federation.bundlerRuntime.consumes({chunkMapping,installedModules,chunkId:e,moduleToHandlerMapping,promises:t,webpackRequire:__webpack_require__})},oldStartup=__webpack_require__.x,hasRun=!1,__webpack_require__.x=()=>(hasRun||(hasRun=!0,__webpack_require__(509)),oldStartup()),(()=>{var e={195:0};__webpack_require__.f.j=(t,o)=>{var r=__webpack_require__.o(e,t)?e[t]:void 0;if(0!==r)if(r)o.push(r[2]);else{var n=new Promise((o,n)=>r=e[t]=[o,n]);o.push(r[2]=n);var s=__webpack_require__.p+__webpack_require__.u(t),a=new Error;__webpack_require__.l(s,o=>{if(__webpack_require__.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var n=o&&("load"===o.type?"missing":o.type),s=o&&o.target&&o.target.src;a.message="Loading chunk "+t+" failed.\n("+n+": "+s+")",a.name="ChunkLoadError",a.type=n,a.request=s,r[1](a)}},"chunk-"+t,t)}};var t=(t,o)=>{var r,n,[s,a,i]=o,l=0;if(s.some(t=>0!==e[t])){for(r in a)__webpack_require__.o(a,r)&&(__webpack_require__.m[r]=a[r]);i&&i(__webpack_require__)}for(t&&t(o);l<s.length;l++)n=s[l],__webpack_require__.o(e,n)&&e[n]&&e[n][0](),e[n]=0},o=self.webpackChunk_descope_flow_components_2_2_15_1766486686658=self.webpackChunk_descope_flow_components_2_2_15_1766486686658||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})(),__webpack_require__.x();var __webpack_exports__=__webpack_require__(1601);flowComponents=__webpack_exports__})();