1"use strict";(self["webpackChunkdigihome_ui"]=self["webpackChunkdigihome_ui"]||[]).push([[52],{10052(e,t,o){o.r(t),o.d(t,{default:()=>S});var s=o(20641),a=o(90033),n={key:0,class:"bspdError"},i={key:1,class:"loader-block"},l={key:2,class:"alert-content-box-acod"},r={key:0},d={key:0,class:"alert-content-acod-text"},c={class:"forgot-username-acod-p2"},u={key:1,class:"alert-content-acod-text"},p={class:"forgot-username-acod-p2"},m={key:1},h={key:0},f={key:0,class:"alert-content-acod-text"},g={class:"forgot-username-acod-p2"},k={key:1,class:"alert-content-acod-text"},v={class:"forgot-username-acod-p2"},y={key:1},L={class:"alert-content-acod-text"},w={class:"forgot-username-acod-p2"},b={key:3,class:"acod-content-box"},C={key:0,class:"select-dropdown"},A={class:"p-float-label"},_={key:1,class:"new-profile-container"},E={class:"container-body-txt"},x={key:0},N={class:"bnt-cls"},W={class:"container-href-txt"};function P(e,t,o,P,U,X){var $=(0,s.g2)("ProgressSpinner"),F=(0,s.g2)("Dropdown"),K=(0,s.g2)("Button");return(0,s.uX)(),(0,s.CE)(s.FK,null,[void 0!==U.bspd&&""!==U.bspd||U.spinner?(0,s.Q3)("",!0):((0,s.uX)(),(0,s.CE)("div",n,[(0,s.Lk)("p",null,[t[5]||(t[5]=(0,s.eW)(" Something went wrong please ",-1)),(0,s.Lk)("a",{class:"link underline",onClick:t[0]||(t[0]=function(){return X.goBack&&X.goBack.apply(X,arguments)})},"try again.")])])),U.spinner?((0,s.uX)(),(0,s.CE)("div",i,[(0,s.bF)($),t[6]||(t[6]=(0,s.Lk)("div",{class:"loading-text"}," Please wait while we retrieve your information. ",-1))])):U.bspd&&!U.spinner?((0,s.uX)(),(0,s.CE)("div",l,[t[22]||(t[22]=(0,s.Lk)("em",{style:{"font-size":"24px"},class:"fa"},"ï±",-1)),"none"===U.bspd?((0,s.uX)(),(0,s.CE)("div",r,[1===U.accts.length?((0,s.uX)(),(0,s.CE)("div",d,[t[9]||(t[9]=(0,s.Lk)("p",{class:"forgot-username-acod-p1"},[(0,s.Lk)("strong",null,"A my CenturyLink profile with that email address doesn't exist")],-1)),(0,s.Lk)("p",c,[t[7]||(t[7]=(0,s.eW)(" We did find an account connected to ",-1)),(0,s.Lk)("strong",null,(0,a.v_)(U.email),1),t[8]||(t[8]=(0,s.eW)(". ",-1))])])):((0,s.uX)(),(0,s.CE)("div",u,[t[12]||(t[12]=(0,s.Lk)("p",{class:"forgot-username-acod-p1"},[(0,s.Lk)("strong",null,"A my CenturyLink profile with that email address doesn't exist")],-1)),(0,s.Lk)("p",p,[t[10]||(t[10]=(0,s.eW)(" We did find accounts connected to ",-1)),(0,s.Lk)("strong",null,(0,a.v_)(U.email),1),t[11]||(t[11]=(0,s.eW)(". Please select the account you are trying to manage from the option below. ",-1))])]))])):((0,s.uX)(),(0,s.CE)("div",m,["hybrid"===U.bspd?((0,s.uX)(),(0,s.CE)("div",h,[1===U.accts.length?((0,s.uX)(),(0,s.CE)("div",f,[t[15]||(t[15]=(0,s.Lk)("p",{class:"forgot-username-acod-p1"},[(0,s.Lk)("strong",null,"A my CenturyLink profile with that email address doesn't exist")],-1)),(0,s.Lk)("p",g,[t[13]||(t[13]=(0,s.eW)(" We did find an account connected to ",-1)),(0,s.Lk)("strong",null,(0,a.v_)(U.email),1),t[14]||(t[14]=(0,s.eW)(". ",-1))])])):((0,s.uX)(),(0,s.CE)("div",k,[t[18]||(t[18]=(0,s.Lk)("p",{class:"forgot-username-acod-p1"},[(0,s.Lk)("strong",null,"A my CenturyLink profile with that email address doesn't exist")],-1)),(0,s.Lk)("p",v,[t[16]||(t[16]=(0,s.eW)(" We did find accounts connected to ",-1)),(0,s.Lk)("strong",null,(0,a.v_)(U.email),1),t[17]||(t[17]=(0,s.eW)(". Please select the account you are trying to manage from the option below. ",-1))])]))])):U.bspd?((0,s.uX)(),(0,s.CE)("div",y,[(0,s.Lk)("div",L,[t[21]||(t[21]=(0,s.Lk)("p",{class:"forgot-username-acod-p1"},[(0,s.Lk)("strong",null,"Your service is now provided by Brightspeed.")],-1)),(0,s.Lk)("p",w,[t[19]||(t[19]=(0,s.eW)(" Please go to ",-1)),(0,s.Lk)("a",{class:"link",target:"_blank",onClick:t[1]||(t[1]=function(e){return X.bspdlink(U.bspdFrgtUrl)})},"Brightspeed"),t[20]||(t[20]=(0,s.eW)(" to manage your account.. ",-1))])])])):(0,s.Q3)("",!0)]))])):(0,s.Q3)("",!0),U.bspd&&!U.spinner?((0,s.uX)(),(0,s.CE)("div",b,[t[30]||(t[30]=(0,s.Lk)("h2",{class:"forgotUsername-header"}," Forgot username ",-1)),U.accts.length>1?((0,s.uX)(),(0,s.CE)("div",C,[(0,s.Lk)("span",A,[(0,s.bF)(F,{modelValue:U.selectedAccount,"onUpdate:modelValue":t[2]||(t[2]=function(e){return U.selectedAccount=e}),class:"dropdown",options:U.accts,onChange:t[3]||(t[3]=function(e){return X.findAddress(U.selectedAccount)})},null,8,["modelValue","options"]),t[23]||(t[23]=(0,s.Lk)("br",null,null,-1)),t[24]||(t[24]=(0,s.Lk)("label",{htmlFor:"email address"},"Select account",-1))])])):(0,s.Q3)("",!0),U.selectedAccount?((0,s.uX)(),(0,s.CE)("div",_,[t[29]||(t[29]=(0,s.Lk)("p",{class:"container-header-txt"}," Create a profile for this account ",-1)),(0,s.Lk)("p",E,[t[27]||(t[27]=(0,s.eW)(" Your new my CenturyLink profile will be associated with ",-1)),(0,s.Lk)("strong",null,(0,a.v_)(U.email),1),t[28]||(t[28]=(0,s.eW)()),null!==U.selectedAddrs?((0,s.uX)(),(0,s.CE)("span",x,[t[25]||(t[25]=(0,s.eW)(" at the service address ",-1)),(0,s.Lk)("strong",null,(0,a.v_)(U.selectedAddrs),1),t[26]||(t[26]=(0,s.eW)(".",-1))])):(0,s.Q3)("",!0)]),(0,s.Lk)("div",N,[(0,s.bF)(K,{label:"Create profile",disabled:U.isDisabled,class:"coboltBack",onClick:X.showNext},null,8,["disabled","onClick"])]),(0,s.Lk)("p",W,[(0,s.Lk)("a",{onClick:t[4]||(t[4]=function(){return X.goBack&&X.goBack.apply(X,arguments)})}," Try using another email address")])])):(0,s.Q3)("",!0)])):(0,s.Q3)("",!0)],64)}o(51629),o(44114),o(34782),o(18111),o(7588),o(5506),o(26099),o(27495),o(25440),o(79978),o(23500);var U=o(48360),X=o(98404),$=o(62689),F=o(10365);const K={components:{ProgressSpinner:F.A},data:function(){return{spinner:!1,email:"",invalidEmail:!1,v$:(0,U.fG)(),name:"",testDate:"",Message:$.A,emailAddresses:"",selectedAccount:"",selectedAddrs:"",firstName:"",lastName:"",accountKey:"",accts:[],addrs:[],profileCreated:"",bspd:"",isDisabled:!1,bspdFrgtUrl:"https://dh.brightspeed.com/login/forgotUsername"}}
1,validations:function(){return{email:{required:X.mw,email:X.Rp}}},mounted:function(){var e=this.$store.getters.forgotFlowCreateProfile;null!==e&&void 0!==e&&e.bspd&&(this.email=null===e||void 0===e?void 0:e.emailid,this.bspd=null===e||void 0===e?void 0:e.bspd,null!==e&&void 0!==e&&e.emailid?localStorage.setItem("email",null===e||void 0===e?void 0:e.emailid):this.email=localStorage.getItem("email"),this.$store.getters.emailResponse&&this.doNext(this.$store.getters.emailResponse))},methods:{doNext:function(e){var t,o,s,a,n,i,l=this;(this.spinner=!0,e&&null!==e&&void 0!==e&&e.acodAccountList)&&(Object.entries(null===e||void 0===e?void 0:e.acodAccountList).forEach(function(e){var t,o;l.accts.push(null===(t=e[1])||void 0===t?void 0:t.maskedAccountNumber),l.addrs.push(null===(o=e[1])||void 0===o?void 0:o.addressLine)}),1===this.accts.length?(this.selectedAccount=null===e||void 0===e||null===(t=e.acodAccountList[0])||void 0===t?void 0:t.maskedAccountNumber,this.selectedAddrs=null===e||void 0===e||null===(o=e.acodAccountList[0])||void 0===o?void 0:o.addressLine,this.accountKey=null===e||void 0===e||null===(s=e.acodAccountList[0])||void 0===s?void 0:s.accountKey,this.spinner=!1,window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"my_ctl_forgot_username_click",flow:{name:"my ctl: home",step:"step2"},buttonName:"Create profile"}),this.selectedAccount=null===e||void 0===e||null===(a=e.acodAccountList[0])||void 0===a?void 0:a.maskedAccountNumber,this.selectedAddrs=null===e||void 0===e||null===(n=e.acodAccountList[0])||void 0===n?void 0:n.addressLine,this.accountKey=null===e||void 0===e||null===(i=e.acodAccountList[0])||void 0===i?void 0:i.accountKey):(this.spinner=!1,window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"my_ctl_forgot_username_click",flow:{name:"my ctl: home",step:"step2"},buttonName:"Create profile"})))},findAddress:function(e){var t,o=this;Object.entries(null===(t=this.$store.getters.emailResponse)||void 0===t?void 0:t.acodAccountList).forEach(function(t){var s,a,n;(null===(s=t[1])||void 0===s?void 0:s.maskedAccountNumber)===e&&(o.selectedAddrs=null===(a=t[1])||void 0===a?void 0:a.addressLine,o.accountKey=null===(n=t[1])||void 0===n?void 0:n.accountKey);null!==o.selectedAddrs&&(o.selectedAddrs.length>=15&&(o.selectedAddrs=o.selectedAddrs.slice(0,14)),o.selectedAddrs=o.selectedAddrs.substring(0,5)+o.selectedAddrs.substring(5,o.selectedAddrs.length).replaceAll(/\d|[a-z]|[A-Z]/g,"*"))}),this.isDisabled=!1,this.spinner=!1},processProfileNotCreated:function(){window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"my_ctl_forgot_username_click",flow:{name:"my ctl: home",step:"step2"},buttonName:"Create profile"}),this.profileCreated=!1},bspdlink:function(e){window.open(e,"_blank")},showNext:function(){var e=this;this.isDisabled=!0,this.spinner=!0;var t={emailAddress:this.email,accountNumberKey:this.accountKey};null==this.accountKey||""===this.accountKey||null==this.email||""===this.email?(this.spinner=!1,window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"my_ctl_forgot_username_click",action:"click",flow:{name:"my ctl: home",step:"step2"},buttonName:"Try using another email address"}),this.isDisabled=!1,this.spinner=!1,this.$store.commit("SET_ForgotUsernameACODRouteData",{emailid:this.email,profileCreated:!1}),this.$router.push({name:"forgotUsernameProfileCreated",path:"/login/forgotUsernameprofileCreated"})):this.$store.dispatch("getAppKeyForForgotUsrname").then(function(){e.$store.dispatch("postUserProfile",[t]).then(function(){e.$store.state.isPostUserProfileRespSuccessful?!1===e.$store.getters.acodProfile.acodprofileCreated?e.processProfileNotCreated():(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"my_ctl_forgot_username_click",flow:{name:"my ctl: home",step:"step2"},buttonName:"Create profile"}),e.profileCreated=!0,e.spinner=!1,e.$store.commit("SET_ForgotUsernameACODRouteData",{emailid:e.email,profileCreated:!0}),e.$router.push({name:"forgotUsernameProfileCreated",path:"/login/forgotUsernameprofileCreated",params:{emailid:e.email,profileCreated:e.profileCreated}})):e.processProfileNotCreated()})})},goBack:function(){this.spinner=!1,window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"my_ctl_forgot_username_click",action:"click",flow:{name:"my ctl: home",step:"step2"},buttonName:"Create Profile"}),this.$router.push({name:"forgotUsername",path:"/login/forgotUsername"})}}};var D=o(64621);const B=(0,D.A)(K,[["render",P]]),S=B}}]);
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.