1import{a as w}from"./chunk-E3JNZERP.js";import{a as c}from"./chunk-AKAZBNUC.js";import"./chunk-DEXLTAMN.js";import"./chunk-SVQ25G5T.js";import{a as C,b as j}from"./chunk-HZ75XNX3.js";import"./chunk-5LL45C5G.js";import"./chunk-3TAH5AR5.js";import"./chunk-OUHU4HOE.js";import"./chunk-VY4WEMWB.js";import{x as m}from"./chunk-5FAW4ESK.js";import"./chunk-MLYIM3FQ.js";import"./chunk-QZZIVCM3.js";import"./chunk-OFHDEMEE.js";import"./chunk-SZR5QKGP.js";import"./chunk-U6XE4B5C.js";import"./chunk-JT4RCPMF.js";import"./chunk-LJAVTCHE.js";import"./chunk-A2HXCP67.js";import"./chunk-LONZ3OIQ.js";import"./chunk-JCFNGB3J.js";import{P as R}from"./chunk-ALOWYHZY.js";import"./chunk-ZL5YCYWA.js";import{a as b,b as p}from"./chunk-YHYS2MSE.js";import"./chunk-ABU24FEO.js";import{a as n}from"./chunk-UMAJNQER.js";import"./chunk-PUF7SV5U.js";import"./chunk-GKRFMESG.js";import"./chunk-5BPX3XJU.js";import"./chunk-4WBCVKUL.js";import"./chunk-EN6UTJ6M.js";import"./chunk-5F67H464.js";import"./chunk-2NFVGU2L.js";import"./chunk-ZTYYOK4X.js";import"./chunk-5NX5NFVI.js";import"./chunk-4POMUHII.js";import"./chunk-MAFEVZSI.js";import"./chunk-JYIH3N7G.js";import"./chunk-OH5KBDTG.js";import"./chunk-OLHOYFLR.js";import"./chunk-NRKXEIHN.js";import{o as _}from"./chunk-4AK3JBSK.js";import"./chunk-77URZC6U.js";import"./chunk-OLXYZYHI.js";import"./chunk-HV4UY53L.js";import"./chunk-KSLSDDNN.js";import"./chunk-CQGPPQEC.js";import"./chunk-6CKWJZC5.js";import"./chunk-MINDAASB.js";import"./chunk-VNTQSRXX.js";import"./chunk-2VM35LVK.js";import"./chunk-STRWHEG2.js";import"./chunk-HIHQ6HCM.js";import"./chunk-UKVALRS2.js";import{H as a,W as s}from"./chunk-THFRSWRB.js";import"./chunk-VI4Y35G2.js";import{C as I,q as S}from"./chunk-C6LJYZ6M.js";import{Db as r,Ea as h,_b as g,_c as y,cc as d,o as f,p as l,pc as v}from"./chunk-OTLDFR3L.js";import"./chunk-M72LC3U2.js";function F(u,i){u&1&&v(0,"yeda-inner-loader",1),u&2&&d("isLoading",!0)}var e,L=(e=class{constructor(i,t,o,M,D){this.activatedRoute=i,this.router=t,this.paymentState=o,this.courseSettings=M,this.modalRequiredFieldService=D,this.inIframe=w()}ngOnInit(){this.inIframe||this.courseSettings.fetch().pipe(R("course"),p(this)).subscribe(i=>{this.activatedRoute.paramMap.pipe(p(this)).subscribe(t=>{let o=t.get("slug");i.course_show_thank_you_page?this.router.navigate([n.bundles,o,n.thankYou]).then(()=>this.paymentState.reset()):this.router.navigate([n.bundles,o,n.course.courses],{queryParams:{welcome_to_bundle:"open"}}).then(()=>{this.modalRequiredFieldService.openAfterLogin()})})})}},e.\u0275fac=function(t){return new(t||e)(r(a),r(s),r(c),r(_),r(m))},e.\u0275cmp=h({type:e,selectors:[["yeda-success"]],standalone:!0,features:[y],decls:1,vars:1,consts:[["style","display: block; width: 100vw; height: 100vh",3,"isLoading",4,"ngIf"],[2,"display","block","width","100vw","height","100vh",3,"isLoading"]],template:function(t,o){t&1&&g(0,F,1,1,"yeda-inner-loader",0),t&2&&d("ngIf",o.inIframe)},dependencies:[I,S,j,C],changeDetection:0}),e);L=f([b(),l("design:paramtypes",[a,s,c,Object,m])],L);export{L as SuccessComponent};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.