PageSourceSearch

https://dh.centurylink.com/js/2569.3274d7fb.js

js centurylink.com collected 2026-10-01 09:19:59 UTC 16,116 bytes, 1 lines download raw bytes

1"use strict";(self["webpackChunkdigihome_ui"]=self["webpackChunkdigihome_ui"]||[]).push([[2569],{50770(e,t,a){a.d(t,{A:()=>n});const i={name:"CustomToast",props:["mailstatus"],created:function(){"success"===this.mailstatus?this.$toast.add({severity:"success",summary:"Mailing address updated",detail:"Your changes have been saved, but it can take up to 24 hours for them to be displayed",life:3e3}):this.$toast.add({severity:"error",detail:"Unable to update Mailing address.",life:3e3})}},s=i,n=s},62569(e,t,a){a.r(t),a.d(t,{default:()=>F});var i=a(38339),s=a(20641),n=a(53751),l={class:"parentt_div"},r={class:"first_line"},o={class:"secondd_div"},d={class:"first_formm"},u={class:"Streetnumber"},c={class:"Directions"},m={class:"Streetname"},p={class:"Trailingdirections"},f={class:"Second_form"},k={class:"Streettype"},y={class:"Apartmentsuite"},b={class:"Numberr"},h={class:"Attention"},L={class:"third_form"},v={class:"city"},A={class:"state"},g={class:"zipcode"},N={class:"lastform"},I={class:"button_div"},_=["disabled"];function D(e,t,a,D,S,w){var C=(0,s.g2)("Dropdown"),x=(0,s.g2)("router-link"),T=(0,s.g2)("Dialog"),M=(0,s.g2)("CustomToast");return(0,s.uX)(),(0,s.CE)(s.FK,null,[(0,s.Lk)("div",l,[(0,s.Lk)("div",r,[(0,s.Lk)("h1",null,[t[16]||(t[16]=(0,s.eW)(" Fields marked with * are required. Need help? ",-1)),(0,s.Lk)("span",{class:"viewExample",onClick:t[0]||(t[0]=function(){return w.onEditAlternateNumbe&&w.onEditAlternateNumbe.apply(w,arguments)})},"View example address")])]),(0,s.Lk)("div",o,[(0,s.Lk)("form",{onSubmit:t[14]||(t[14]=(0,n.D$)(function(){return w.onUpdateMailingAddress&&w.onUpdateMailingAddress.apply(w,arguments)},["prevent"]))},[(0,s.Lk)("div",d,[(0,s.Lk)("div",u,[t[17]||(t[17]=(0,s.Lk)("p",{class:"InputLabel"}," Street number* ",-1)),t[18]||(t[18]=(0,s.Lk)("label",{for:"Address"},null,-1)),(0,s.bo)((0,s.Lk)("input",{"onUpdate:modelValue":t[1]||(t[1]=function(e){return S.form.streetNumber=e}),type:"text",class:"form_des_Streetnumber",maxlength:"7",name:"form.streetNumber"},null,512),[[n.Jo,S.form.streetNumber]])]),(0,s.Lk)("div",c,[t[19]||(t[19]=(0,s.Lk)("label",{for:"Directions"},null,-1)),t[20]||(t[20]=(0,s.Lk)("p",{class:"InputLabel"}," Directions ",-1)),(0,s.bF)(C,{modelValue:S.form.direction,"onUpdate:modelValue":t[2]||(t[2]=function(e){return S.form.direction=e}),class:"Direction_dropdown","option-label":"value",options:S.direction,"option-value":"key",name:"form.direction"},null,8,["modelValue","options"])]),(0,s.Lk)("div",m,[t[21]||(t[21]=(0,s.Lk)("p",{class:"InputLabel"}," Street name* ",-1)),t[22]||(t[22]=(0,s.Lk)("label",{for:"state"},null,-1)),(0,s.bo)((0,s.Lk)("input",{"onUpdate:modelValue":t[3]||(t[3]=function(e){return S.form.streetName=e}),type:"text",class:"form_des_streetname",name:"form.streetName"},null,512),[[n.Jo,S.form.streetName]])]),(0,s.Lk)("div",p,[t[23]||(t[23]=(0,s.Lk)("label",{for:"Trailing direction"},null,-1)),t[24]||(t[24]=(0,s.Lk)("p",{class:"InputLabel"}," Trailing directions ",-1)),(0,s.bF)(C,{modelValue:S.form.trailingDir,"onUpdate:modelValue":t[4]||(t[4]=function(e){return S.form.trailingDir=e}),class:"Trailingdirections_dropdown",options:S.trailingDir,"option-label":"value","option-value":"key",name:"form.trailingDir"},null,8,["modelValue","options"])])]),(0,s.Lk)("div",f,[(0,s.Lk)("div",k,[t[25]||(t[25]=(0,s.Lk)("label",{for:"zipcode"},null,-1)),t[26]||(t[26]=(0,s.Lk)("p",{class:"InputLabel"}," Street type ",-1)),(0,s.bF)(C,{modelValue:S.form.streetType,"onUpdate:modelValue":t[5]||(t[5]=function(e){return S.form.streetType=e}),class:"Streettype_dropdown",name:"form.streetType",options:S.streetType,"option-label":"value","option-value":"key"},null,8,["modelValue","options"])]),(0,s.Lk)("div",y,[t[27]||(t[27]=(0,s.Lk)("label",{for:"zipcode"},null,-1)),t[28]||(t[28]=(0,s.Lk)("p",{class:"InputLabel"}," Apartment suite ",-1)),(0,s.bF)(C,{modelValue:S.form.apartmentsuite,"onUpdate:modelValue":t[6]||(t[6]=function(e){return S.form.apartmentsuite=e}),class:"Apartmentsuite_dropdown",name:"form.apartmentsuite",options:S.apartmentsuite,"option-label":"value","option-value":"key"},null,8,["modelValue","options"])]),(0,s.Lk)("div",b,[t[29]||(t[29]=(0,s.Lk)("p",{class:"InputLabel"}," Number ",-1)),t[30]||(t[30]=(0,s.Lk)("label",{for:"Numberr"},null,-1)),(0,s.bo)((0,s.Lk)("input",{"onUpdate:modelValue":t[7]||(t[7]=function(e){return S.form.numberr=e}),type:"text",class:"form_des_numberr"},null,512),[[n.Jo,S.form.numberr]])]),(0,s.Lk)("div",h,[t[31]||(t[31]=(0,s.Lk)("p",{class:"InputLabel"}," Attention ",-1)),t[32]||(t[32]=(0,s.Lk)("label",{for:"zipcode"},null,-1)),(0,s.bo)((0,s.Lk)("input",{"onUpdate:modelValue":t[8]||(t[8]=function(e){return S.form.attention=e}),type:"text",class:"form_des_attention"},null,512),[[n.Jo,S.form.attention]])])]),(0,s.Lk)("div",L,[(0,s.Lk)("div",v,[t[33]||(t[33]=(0,s.Lk)("p",{class:"InputLabel"}," City* ",-1)),t[34]||(t[34]=(0,s.Lk)("label",{for:"zipcode"},null,-1)),(0,s.bo)((0,s.Lk)("input",{"onUpdate:modelValue":t[9]||(t[9]=function(e){return S.form.city=e}),type:"text",class:"form_des_city",name:"form.city"},null,512),[[n.Jo,S.form.city]])]),(0,s.Lk)("div",A,[t[35]||(t[35]=(0,s.Lk)("p",{class:"InputLabel"}," State* ",-1)),(0,s.bF)(C,{modelValue:S.form.stateCode,"onUpdate:modelValue":t[10]||(t[10]=function(e){return S.form.stateCode=e}),name:"form.stateCode",options:S.cities,"option-label":"key","option-value":"value",class:"state_dropdown"},null,8,["modelValue","options"])]),(0,s.Lk)("div",g,[t[36]||(t[36]=(0,s.Lk)("p",{class:"InputLabel"}," ZIP code* ",-1)),t[37]||(t[37]=(0,s.Lk)("label",{for:"zipcode"},null,-1)),(0,s.bo)((0,s.Lk)("input",{"onUpdate:modelValue":t[11]||(t[11]=function(e){return S.form.zip=e}),type:"text",class:"form_des_zipcode",maxlength:"5",name:"form.zip"},null,512),[[n.Jo,S.form.zip]])]),t[39]||(t[39]=(0,s.Lk)("p",{class:"hyphen"}," - ",-1)),(0,s.Lk)("div",N,[t[38]||(t[38]=(0,s.Lk)("label",{for:"zipcode"},null,-1)),(0,s.bo)((0,s.Lk)("input",{"onUpdate:modelValue":t[12]||(t[12]=function(e){return S.form.lastForm=e}),type:"text",class:"form_des_lastform",maxlength:"4"},null,512),[[n.Jo,S.form.lastForm]])])]),(0,s.Lk)("div",I,[(0,s.Lk)("button",{type:"submit",class:"btn_one",disabled:S.$v.form.$invali
1d}," Save ",8,_),(0,s.bF)(x,{to:"/settings/accountInfo"},{default:(0,s.k6)(function(){return[(0,s.Lk)("button",{type:"button",class:"btn_two",onClick:t[13]||(t[13]=function(t){return e.cancelButton()})}," Cancel ")]}),_:1})])],32)])]),(0,s.bF)(T,{visible:S.displayAltNbr,"onUpdate:visible":t[15]||(t[15]=function(e){return S.displayAltNbr=e}),header:S.displayAltNbrheadingDialog,style:{width:"822px",height:"353px",background:"#FFFFFF 0% 0% no-repeat padding-box"}},{default:(0,s.k6)(function(){return(0,i.A)(t[40]||(t[40]=[(0,s.Lk)("div",{class:"insideDialog"},[(0,s.Lk)("p",null,"Here’s an example of how to enter your address.")],-1),(0,s.Lk)("form",null,[(0,s.Lk)("div",{class:"first_form"},[(0,s.Lk)("div",{class:"Streetnumber"},[(0,s.Lk)("p",{class:"InputLabel"}," Street number* "),(0,s.Lk)("label",{type:"text",class:"form_des_Streetnumber",placeholder:"1234"},"1234")]),(0,s.Lk)("div",{class:"Directions"},[(0,s.Lk)("p",{class:"InputLabel"}," Directions "),(0,s.Lk)("label",{type:"text",class:"form_des_Directions",placeholder:""},"W")]),(0,s.Lk)("div",{class:"Streetname"},[(0,s.Lk)("p",{class:"InputLabel"}," Street name "),(0,s.Lk)("label",{type:"text",class:"form_des_streetname",placeholder:"Main"},"Main")]),(0,s.Lk)("div",{class:"Trailingdirections"},[(0,s.Lk)("p",{class:"InputLabel"}," Trailing Directions "),(0,s.Lk)("label",{type:"text",class:"form_des_trailingdirections"},"SW")])]),(0,s.Lk)("div",{class:"Second_form"},[(0,s.Lk)("div",{class:"Streettype"},[(0,s.Lk)("p",{class:"InputLabel"}," Street Type "),(0,s.Lk)("label",{type:"text",class:"form_des_streettype"},"Avenue")]),(0,s.Lk)("div",{class:"Apartmentsuite"},[(0,s.Lk)("p",{class:"InputLabel"}," Apartment Suite "),(0,s.Lk)("label",{type:"text",class:"form_des_apartmentsuite"},"Apartment")]),(0,s.Lk)("div",{class:"Numberr"},[(0,s.Lk)("p",{class:"InputLabel"}," Number "),(0,s.Lk)("label",{type:"text",class:"form_des_numberr",placeholder:"number"},"365")]),(0,s.Lk)("div",{class:"Attention"},[(0,s.Lk)("p",{class:"InputLabel"}," Attention "),(0,s.Lk)("label",{type:"text",class:"form_des_attention"},"Maria Smith")])]),(0,s.Lk)("div",{class:"third_form"},[(0,s.Lk)("div",{class:"city"},[(0,s.Lk)("p",{class:"InputLabel"}," City* "),(0,s.Lk)("label",{type:"text",class:"form_des_city"},"Denver")]),(0,s.Lk)("div",{class:"state"},[(0,s.Lk)("p",{class:"InputLabel"}," State* "),(0,s.Lk)("label",{type:"text",class:"form_des_State"},"CO")]),(0,s.Lk)("div",{class:"zipcode"},[(0,s.Lk)("p",{class:"InputLabel"}," ZIP code* "),(0,s.Lk)("label",{for:"zipcode"}),(0,s.Lk)("label",{type:"text",class:"form_des_zipcode"},"80000")]),(0,s.Lk)("p",{class:"hyphen"}," - "),(0,s.Lk)("div",{class:"lastform_dailog"},[(0,s.Lk)("label",{for:"zipcode"}),(0,s.Lk)("div",{class:"lastformmargin"},[(0,s.Lk)("label",{type:"text",class:"form_des_lastform_dialog"},"9675")])])])],-1)]))}),_:1},8,["visible","header"]),S.mailStatus.length>=1?((0,s.uX)(),(0,s.Wv)(M,{key:S.mailStatus,mailstatus:S.mailStatus},null,8,["mailstatus"])):(0,s.Q3)("",!0)],64)}a(2008),a(48598),a(44114),a(26099),a(11392),a(42762);var S=a(97819),w=a(32788),C=a(48360),x=a(98404),T=a(50770);const M={name:"StreetAddress",components:{Dropdown:w.A,CustomToast:T.A},data:function(){return{$v:(0,C.Ay)(),form:{streetNumber:" ",city:"",stateCode:"",zip:"",streetName:"",attention:"",direction:"",trailingDir:"",streetType:"",apartmentsuite:"",lastForm:"",numberr:""},trailingDir:"",apartmentsuite:"",direction:"",streetType:"",cities:[{key:"AA - Apo/fpo (zip 340xx)",value:"AA"},{key:"AE - Apo/fpo Zip 090xx - 098xx",value:"AE"},{key:"AK - Alaska",value:"AK"},{key:"AL - Alabama",value:"AL"},{key:"AP - Apo/fpo Zip 962xx - 966xx",value:"AP"},{key:"AR - Arkansas",value:"AR"},{key:"AZ - Arizona",value:"AZ"},{key:"CA - California",value:"CA"},{key:"CO - Colorado",value:"CO"},{key:"CT - Connecticut",value:"CT"},{key:"DC - District of Columbia",value:"DC"},{key:"DE - Delaware",value:"DE"},{key:"FL - Florida",value:"FL"},{key:"GA - Georgia",value:"GA"},{key:"HI - Hawaii",value:"HI"},{key:"IA - Iowa",value:"IA"},{key:"ID - Idaho",value:"ID"},{key:"IL - Illinois",value:"IL"},{key:"IN - Indiana",value:"IN"},{key:"KS - Kansas",value:"KS"},{key:"KY - Kentucky",value:"KY"},{key:"LA - Louisiana",value:"LA"},{key:"MA - Massachusetts",value:"MA"},{key:"MD - Maryland",value:"MD"},{key:"ME - Maine",value:"ME"},{key:"MI - Michigan",value:"MI"},{key:"MN - Minnesota",value:"MN"},{key:"MO - Missouri",value:"MO"},{key:"MS - Mississippi",value:"MS"},{key:"MT - Montana",value:"MT"},{key:"NC - North Carolina",value:"NC"},{key:"ND - North Dakota",value:"ND"},{key:"NE - Nebraska",value:"NE"},{key:"NH - New Hampshire",value:"NH"},{key:"NJ - New Jersey",value:"NJ"},{key:"NM - New Mexico",value:"NM"},{key:"NV - Nevada",value:"NV"},{key:"NY - New York",value:"NY"},{key:"OH - Ohio",value:"OH"}
1,{key:"OK - Oklahoma",value:"OK"},{key:"OR - Oregon",value:"OR"},{key:"PA - Pennsylvania",value:"PA"},{key:"RI - Rhode Island",value:"RI"},{key:"SC - South Carolina",value:"SC"},{key:"SD - South Dakota",value:"SD"},{key:"TN - Tennessee",value:"TN"},{key:"TX - Texas",value:"TX"},{key:"UT - Utah",value:"UT"},{key:"VA - Virginia",value:"VA"},{key:"VT - Vermont",value:"VT"},{key:"WA - Washington",value:"WA"},{key:"WI - Wisconsin",value:"WI"},{key:"WV - West Virginia",value:"WV"},{key:"WY - Wyoming",value:"WY"}],displayAltNbrheadingDialog:"Example address",show:"",billingAddress:"",displayAltNbr:!1,mailStatus:""}},computed:{identityInfo:function(){return this.$store.getters.profiledata}},watch:{identityInfo:function(e){this.fetchAddress(e),this.fetchLoginId(this.identityInfo),this.fetchAccountNumber(this.identityInfo)}},validations:{form:{streetNumber:{required:x.mw},city:{required:x.mw},stateCode:{required:x.mw},zip:{required:x.mw},streetName:{required:x.mw}}},created:function(){var e=this;window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"my_ctl_editmailing_address_click",flow:{name:"my ctl: settings"},buttonName:"edit ensstreetmailingaddress tab"}),this.identityInfo&&(this.fetchAddress(this.identityInfo),this.fetchLoginId(this.identityInfo),this.fetchAccountNumber(this.identityInfo));S.A.get("https://dh.centurylink.com/Orch/dssh/orch/ens/address/getStreetDirections").then(function(t){e.direction=t.data.address});S.A.get("https://dh.centurylink.com/Orch/dssh/orch/ens/address/getStreetTypes").then(function(t){e.streetType=t.data.address})["catch"](function(e){}),S.A.get("https://dh.centurylink.com/Orch/dssh/orch/ens/address/getUnitTypes").then(function(t){e.apartmentsuite=t.data.address})["catch"](function(e){}),S.A.get("https://dh.centurylink.com/Orch/dssh/orch/ens/address/getStreetDirections").then(function(t){e.trailingDir=t.data.address})["catch"](function(e){})},beforeUnmount:function(){window.dataLayer=window.dataLayer||[],window.dataLayer.push({errorName:""})},methods:{onEditAlternateNumbe:function(){this.displayAltNbr=!0},fetchAccountNumber:function(e){var t,a;this.accountNumber=null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.currentlyManagedAccount,null!==(a=this.accountNumber)&&void 0!==a&&a.startsWith("PPB")&&(this.showAccountTransfer=!1)},fetchLoginId:function(e){var t;this.loginId=null===e||void 0===e||null===(t=e.data)||void 0===t||null===(t=t.profile)||void 0===t||null===(t=t.response)||void 0===t||null===(t=t.identity)||void 0===t?void 0:t.login},onUpdateMailingAddress:function(){var e=this,t={loginId:this.loginId,address:{primaryLine:null,houseNo:this.form.streetNumber,stDirection:this.form.direction,streetName:this.form.streetName,trailingDir:this.form.trailingDir,streetType:this.form.streetType,aptDesignator:this.form.apartmentsuite,aptNm:this.form.numberr,secondaryLine:null,poBox:null,attention:this.form.attention,city:this.form.city,stateCode:this.form.stateCode,zip:this.form.zip,zip4:this.form.lastForm,addressLine1:null,addressLine2:null,newAddressIndr:null},accountNumber:this.accountNumber};this.mailStatus="",this.$store.dispatch("updateMailingAddress",[t,"save enspoboxmailingaddress"]).then(function(){if(e.mailStatus=e.$store.getters.updateMailingAddressStatus,"success"===e.mailStatus){var t=[e.form.streetNumber,e.form.direction,e.form.streetName,e.form.trailingDir,e.form.streetType].filter(function(e){return void 0!==e&&null!==e&&""!==e.trim()}).join(" "),a=[e.form.apartmentsuite,e.form.attention,e.form.numberr].filter(function(e){return void 0!==e&&null!==e&&""!==e.trim()}).join(" "),i=e.form.city,s=e.form.stateCode,n=e.form.zip,l=a?[t,a,i,s,n]:[t,i,s,n],r=l.join(", "),o=[e.identityInfo.data.billingAddress.addressLine1,e.identityInfo.data.billingAddress.aptNm,e.identityInfo.data.billingAddress.city,e.identityInfo.data.billingAddress.stateCode,e.identityInfo.data.billingAddress.zip].filter(function(e){return void 0!==e&&null!==e&&""!==e}).join(", "),d=e.accountNumber,u="LC"===e.identityInfo.data.territory?"LCTL":"LQ",c=e.identityInfo.data.profile.response.identity.emailAddress,m=e.identityInfo.data.profile.response.identity.firstName+" "+e.identityInfo.data.profile.response.identity.lastName,p={accountNumber:d,territory:u,emailAddress:c,
1customerName:m,currentBillingAddress:o,newBillingAddress:r};e.$store.dispatch("notifyAccountChange",[p])}})},fetchAddress:function(e){this.form.streetNumber=e.data.billingAddress.houseNo,this.form.direction=e.data.billingAddress.stDirection,this.form.streetName=e.data.billingAddress.streetName,this.form.trailingDir=e.data.billingAddress.trailingDir,this.form.streetType=e.data.billingAddress.streetType,this.form.apartmentsuite=e.data.billingAddress.aptDesignator,this.form.numberr=e.data.billingAddress.aptNm,this.form.attention=e.data.billingAddress.attention,this.form.city=e.data.billingAddress.city,this.form.stateCode=e.data.billingAddress.stateCode,this.form.zip=e.data.billingAddress.zip,this.form.lastForm=e.data.billingAddress.zip4}}};var V=a(64621);const z=(0,V.A)(M,[["render",D],["__scopeId","data-v-69a9c502"]]),F=z}}]);

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.