PageSourceSearch

https://dashboard.doku.com/bo/chunk-23AXM7GD.js

js doku.com collected 2026-10-01 08:58:06 UTC 6,664 bytes, 3 lines download raw bytes

1import{a as j}from"./chunk-AHQ7BYA2.js";import{a as z}from"./chunk-S2AKS32W.js";import"./chunk-YBIKYHTP.js";import"./chunk-6ORRR5E5.js";import{a as E}from"./chunk-4NADZWC4.js";import{b as K}from"./chunk-OHZCG24N.js";import"./chunk-RQ4HI4GX.js";import{a as T}from"./chunk-B3TTQS6F.js";import{a as x}from"./chunk-7WYTG2EK.js";import{I as A,J as R,da as F,ea as N,fa as V,ga as B,ha as U}from"./chunk-4PAKCA5D.js";import{n as P}from"./chunk-OP62NOEF.js";import{$b as S,Gb as I,Mb as p,Pc as L,Ra as i,Sc as O,Wb as v,_b as s,aa as r,ac as w,fa as c,fb as b,ga as g,hc as _,rb as M,sb as D,wb as h,xb as o,yb as a,zb as d}from"./chunk-5CCAPELE.js";import"./chunk-MDK3HM3S.js";import"./chunk-VFNWJA2O.js";import{f as y}from"./chunk-SE5JAREP.js";var C={title:"Yay! Your new account has been successfully created",description:"Please activate your business to get full access to all of our features.",button:"ACTIVATE BUSINESS"};var u={title:"Yay! Akun baru Anda telah berhasil didaftarkan.",description:"Silahkan aktifkan bisnis Anda untuk mendapatkan seluruh fitur di DOKU Bisnis.",button:"AKTIFKAN BISNIS"};var Y=t=>({"background-color":t});function q(t,H){t&1&&d(0,"img",12)}function G(t,H){t&1&&d(0,"img",13)}var pe=(()=>{class t{router=r(P);apiService=r(E);moengageService=r(z);modalConfirmService=r(j);sessionService=r(K);storageService=r(T);resendStatus;email;pathToLogin;selectedLanguage;lang=u;constructor(){let e=this.storageService.getItem("selected-language");e!=null?this.selectedLanguage=e:(this.storageService.setItem("selected-language","ID"),this.selectedLanguage="ID")}ngOnInit(){this.resendStatus=!1,this.getUserSession(),this.pathToLogin="/login",this.getLanguage(),this.otpChecker()}otpChecker(){return this.sessionService.getToken("token")||this.router.navigate(["/register"]),!0}getLanguage(){let e=this.storageService.getItem("selected-language");e!=null?(this.selectedLanguage=e,this.selectedLanguage==="ID"?this.lang=u:this.lang=C):(this.storageService.setItem("selected-language","ID"),this.selectedLanguage="ID")}changeLanguage(e){this.selectedLanguage=e,this.selectedLanguage==="ID"?this.lang=u:this.lang=C}sendEmail(e){e.action=="done"&&(this.resendStatus=!0)}getUserSession(){let e=JSON.parse(this.storageService.getItem("user"));e!=null&&(this.email=e.email)}resendEmail(){let e={email:this.email};this.apiService.post(x.apiHostRetentionUser+"/email",e).subscribe(()=>{this.modalConfirmService.fire({type:"success",title:"Successfully Resend Email",desc:"Check your registered email now"}).then(l=>{l==="confirm"&&(this.sessionService.destroy(),this.router.navigate(["/login"]))})})}redirectNav(){return y(this,null,function*(){try{yield this.apiService.put(x.apiHostAdv+"/business/step?journey=WEB&step=3&version=V2",null).toPromise(),yield this.moengageService.trackActivateBusiness()}finally{this.router.navigate(["/merchant-onboarding"])}})}manualActivation(){this.router.navigate(["/account-recovery"])}static \u0275fac=function(l){return new(l||t)};static \u0275cmp=b({type:t,selectors:[["app-success-register"]],decls:27,vars:11,consts:[["langDropdown","dokuDropdown"],[1,"otp-wrapper"],[1,"form-wrapper"],[1,"form-layout"],["doku-dropdown","",1,"lang-dropdown"],["id","produk","role","button","data-toggle","dropdown","aria-expanded","false","doku-dropdown-toggle","",1,"language"],[1,"fa","fa-sort",2,"font-size","14px","font-weight","600"],["doku-dropdown-menu","","aria-labelledby","navbarDropdown"],["doku-dropdown-menu-item","",3,"ngStyle"],["role","presentation",2,"cursor","pointer","color","#333333",3,"click"],[1,"register-success"],[1,"illustration-wrapper"],["src","assets/images/activate-business-illustration-id.svg","alt","",1,"img-responsive"],["src","assets/images/activate-business-illustration-en.svg","alt","",1,"img-responsive"],[1,"title-wrapper"],[1,"title-page"],[1,"desc-page"],["doku-button","",2,"width","100%",3,"click"]],template:function(l,n){if(l&1){let m=I();o(0,"div",1)(1,"div",2)(2,"div",3)(3,"div")(4,"li",4,0)(6,"a",5),s(7),d(8,"i",6),a(),o(9,"ul",7)(10,"li",8)(11,"a",9),p("click",function(){c(m);let f=v(5);return n.changeLanguage("ID"),g(f.hideDropdownMenu())}),s(12,"Bahasa Indonesia"),a()(),o(13,"li",8)(14,"a",9),p("click",function(){c(m);let f=v(5);return n.changeLanguage("EN"),g(f.hideDropdownMenu())}),s(15,"English"),a()()()()(),o(16,"div",10)(17,"div",11),M(18,q,1,0,"img",12)(19,G,1,0,"img",13),a(),o(20,"div",14)(21,"p",15),s(22),a(),o(23,"p",16),s(24),a(),o(25,"button",17),p("click",function(){return c(m),g(n.redirectNav())}),s(26),a()()()()()()}l&2&&(i(7),w(" ",n.selectedLanguage," "),i(3),h("ngStyle",_(7,Y,n.selectedLanguage==="ID"?"#F5F5F5":"transparent")),i(3),h("ngStyle",_(9,Y,n.selectedLanguage==="EN"?"#F5F5F5":"transparent")),i(5),D(n.selectedLanguage==="ID"?18:19),i(4),S(n.lang.title),i(2),S(n.lang.description),i(2),w(" ",n.lang.button," "))},dependencies:[O,L,U,F,N,B,V,R,A],styles:[`.otp-wrapper[_ngcontent-%COMP%]{background-color:#f5f8fb;height:100%;display:flex;justify-content:center;align-items:center}.form-wrapper[_ngcontent-%COMP%]{display:flex}.lang-dropdown[_ngcontent-%COMP%]{list-style:none;float:right}.language[_ngcontent-%COMP%]{display:block;padding:.5rem 1rem}.form-layout[_ngcontent-%COMP%]{width:100%;max-width:600px;padding:15px;background-color:#fff;border-radius:16px;border:1px solid #eaecf0;box-sizing:border-box}.register-success[_ngcontent-%COMP%]{margin-top:0}.illustration-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%}
1img.img-responsive[_ngcontent-%COMP%]{max-width:490.97px;max-height:423.89px;object-fit:contain;margin:auto;display:flex}@media only screen and (max-width: 450px){img.img-responsive[_ngcontent-%COMP%]{max-width:350.97px;max-height:297.89px;margin:auto;display:flex}.register-success[_ngcontent-%COMP%]{margin-top:90px}.otp-wrapper[_ngcontent-%COMP%]{align-items:unset}.form-layout[_ngcontent-%COMP%]{margin-bottom:-40px}}.brand-logo[_ngcontent-%COMP%]{width:32px;height:32px}.header[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-top:28px;margin-bottom:24px}.header[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{font-size:24px}.title-wrapper[_ngcontent-%COMP%]{padding:1rem}.title-page[_ngcontent-%COMP%]{font-style:normal;font-weight:700;font-size:24px;line-height:32px;display:flex;align-items:center;font-feature-settings:"pnum" on,"lnum" on;color:#000}p.desc-page[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-size:14px;line-height:20px;color:#4d4d4d}a#produk[_ngcontent-%COMP%]{cursor:pointer}
2/*# sourceMappingURL=success-register.component-Z22PL7QC.css.map */`]})}return t})();export{pe as SuccessRegisterComponent};
3//# sourceMappingURL=chunk-23AXM7GD.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.