1import{a as Z,b as $,c as ee}from"./chunk-KFXTNKS3.js";import{a as K}from"./chunk-2LTXN43C.js";import{a as X}from"./chunk-VWLZ4ZTC.js";import{a as j,b as J}from"./chunk-NRHMZPAK.js";import{a as Y}from"./chunk-L524NFSM.js";import"./chunk-VA4OIPUL.js";import{b as w,h as Q}from"./chunk-TCEX2SVM.js";import{b as H}from"./chunk-UZULQSOJ.js";import"./chunk-FFZFW6O4.js";import{a as W}from"./chunk-3WYUHSXD.js";import{G as z,l as q,m as k}from"./chunk-5UX7LOXR.js";import{a as D,b as P,d as G}from"./chunk-BSAB5FTB.js";import{R,T as N,U as V,b as T,g as A,h as M,i as F,j as I,v as U}from"./chunk-IVKO44MK.js";import{$b as e,Ba as y,Ca as v,Gb as x,Gc as i,Hc as _,Ic as O,J as B,Lb as d,Qc as C,Tc as E,Uc as b,Zb as o,_b as t,ac as u,hc as f,lb as S,pb as a,pc as g,rc as h,wa as c}from"./chunk-GV4FS4I4.js";var te=()=>["/Billing/MyPowerUsage"],ie=()=>({activePanel:"MPU"}),ne=r=>({mnuOpco:r}),re=()=>({activePanel:"Outages"});function ae(r,s){if(r&1&&(t(0,"li")(1,"a",55),i(2),e()()),r&2){let p=h();a(2),_(p.verbiageMap.paymentArrangementLongName)}}function le(r,s){if(r&1&&(t(0,"ul",12)(1,"li")(2,"a",33),i(3,"Energy Assistance"),e()()()),r&2){let p=h();a(2),o("href",C(p.opCo===p.OperatingCompany.GPC?"https://www.georgiapower.com/energyassistance":"https://www.alabamapower.com/residential/billing-and-payment-options/payment-assistance-programs.html"),S)}}function oe(r,s){if(r&1){let p=f();t(0,"li")(1,"a",56),g("click",function(){y(p);let m=h();return v(m.openPrePayPayHistoryUrl())}),i(2,"Billing & Payment History"),e()()}}function se(r,s){r&1&&(t(0,"li")(1,"a",57),i(2,"Billing & Payment History"),e()())}function me(r,s){if(r&1){let p=f();t(0,"li")(1,"a",20),g("click",function(){y(p);let m=h();return v(m.goToFlatBill())}),i(2),e()()}if(r&2){let p=h();a(2),_(p.isFlatBillRateEnabled?"FlatBill Rate":"FlatBill")}}function pe(r,s){r&1&&(t(0,"li")(1,"a",24),i(2,"Alerts"),e()()),r&2&&(a(),o("queryParams",E(1,re)))}function ce(r,s){r&1&&(t(0,"li")(1,"a",58),i(2,"Find an Office"),e()())}function de(r,s){r&1&&(t(0,"li")(1,"a",58),i(2,"Find an Authorized Payment Location"),e()())}function ue(r,s){if(r&1){let p=f();t(0,"li")(1,"a",20),g("click",function(){y(p);let m=h();return v(m.openLetter(m.LetterType.Credit))}),i(2,"Credit Letter"),e()()}}function ge(r,s){if(r&1){let p=f();t(0,"li")(1,"a",20),g("click",function(){y(p);let m=h();return v(m.openForm(m.FormType.ThirdPartyRelease))}),i(2,"Release of Third Party Form"),e()()}}function he(r,s){r&1&&(t(0,"span"),i(1,"AlabamaPower.com"),e())}function Se(r,s){r&1&&(t(0,"span"),i(1,"MississippiPower.com"),e())}function ye(r,s){r&1&&(t(0,"span"),i(1,"GeorgiaPower.com"),e())}function ve(r,s){if(r&1){let p=f();t(0,"li")(1,"a",20),g("click",function(){y(p);let m=h();return v(m.onlineEnergyCheckup())}),i(2,"Online Energy Checkup"),e()()}}var Ge=(()=>{let s=class s{constructor(){this.route=c(R),this.adobeAnalyticsService=c(H),this.commonService=c(G),this.energyCheckupService=c(X),this.featureFlagService=c(W),this.globalConstants=c(D),this.lettersFormsService=c(ee),this.locationStrategy=c(T),this.prePayService=c(J),this.productPortalService=c(Q),this.router=c(N),this.sharedModalsService=c(Y),this.sitemapService=c(K),this.userService=c(z),this.OperatingCompany=P,this.FormType=Z,this.LetterType=$,this.constants=this.globalConstants.getConstants(),this.getEnergyCheckupUrl=this.sitemapService.getEnergyCheckupUrl,this.getSaveMoneyEnergyUrl=this.sitemapService.getSaveMoneyEnergyUrl,this.isLoggedIn=this.userService.isLoggedIn,this.isNoAccounts=!this.userService.cap.length||!this.userService.accountSummary.accountId,this.isPendingOrOpenPrePay=this.userService.accountSummary.prePayStatus===k.PendingStart||this.userService.accountSummary.prePayStatus===k.Open,this.newsletterTitle="Newsletter",this.opCo=this.userService.operatingCompany,this.openForm=l=>this.lettersFormsService.openForm(l),this.openLetter=l=>this.lettersFormsService.openLetter(l),this.outages=this.constants.Outages,this.pushToDataLayer=this.adobeAnalyticsService.pushToDataLayer,this.showEnergyCheckupLink=!1,this.showPaymentArrangementLink=!1,this.urlBase=this.constants.URL,this.verbiageMap=this.constants.verbiageMap,this.openPrePayPayHistoryUrl=()=>this.prePayService.openPayGoPortalUrl(j.Payments),this.selectedServiceAgreement=this.userService.selectedServiceAgreement}ngOnInit(){this.isLoggedIn&&!this.isNoAccounts&&(this.getProductOffers(),this.isEnergyAnalysisEligible()),this.opCo===P.APC?this.newsletterTitle="Newsletter & Recipes":this.newsletterTitle="Newsletter",this.route.fragment.subscribe(l=>{l&&(this.locationStrategy.pushState(null,l,window.location.pathname,l),window.scrollTo({top:0,left:0,behavior:"smooth"}))}),this.featureFlagService.isFeatureFlagEnabled("FLATBILL_RATE_ENABLED",this.opCo).subscribe(l=>{this.isFlatBillRateEnabled=l}),B([this.featureFlagService.isFeatureFlagEnabled(this.constants.featureFlagKeys.paymentArrangement.residential,this.opCo),this.featureFlagService.isFeatureFlagEnabled(this.constants.featureFlagKeys.paymentArrangement.commercial,this.opCo)]).subscribe({next:l=>{this.isLoggedIn||this.userService.isSoftAuthenticated?this.showPaymentArrangementLink=this.userService.accountSummary.accountType===q.Residential?l[0]:l[1]:this.showPaymentArrangementLink=l[0]||l[1]}})}ngAfterViewInit(){document.addEventListener("DOMContentLoaded",()=>{let l=window.location.search;if(l){window.location.hash=l;let m=document.getElementById(l);m&&m.scrollIntoView({behavior:"smooth"})}})}ngOnDestroy(){this.accountChangeSub&&this.accountChangeSub.unsubscribe()}
1goToFlatBill(){this.pushToDataLayer("clicks to flatbill link","bp_more"),this.isLoggedIn&&this.isNoAccounts?this.sharedModalsService.openNoAccountModal():this.isLoggedIn&&this.productEnrollments.flatBill?.status===w.Enrolled?this.router.navigate(["/Billing/BillHistory"],{queryParams:{showBillingAlert:"flatBill"}}):this.router.navigate(["/Billing/EnrollmentForms/FlatBill"])}goToBudgetBilling(){this.pushToDataLayer("clicks to budget billing link","bp_more"),this.isLoggedIn&&this.isNoAccounts?this.sharedModalsService.openNoAccountModal():this.isLoggedIn&&this.productEnrollments.budgetBilling?.status===w.Enrolled?this.router.navigate(["/Billing/BillHistory"],{queryParams:{showBillingAlert:"budgetBilling"}}):this.router.navigate(["/Billing/EnrollmentForms/BudgetBilling"])}goToReportStreetLightOutage(){this.opCo===P.GPC?(this.streetLightOutageUrl=this.constants.URL.ReportOutageStreetlightGPC,this.commonService.openInNewWindowWithoutOpener(this.streetLightOutageUrl)):this.router.navigate(["/Outages/Report/Information"])}isEnergyAnalysisEligible(){this.energyCheckupService.isEnergyAnalysisEligible().subscribe({next:l=>{this.showEnergyCheckupLink=l}})}onlineEnergyCheckup(){this.energyCheckupService.onlineEnergyCheckup(this.userService.accountSummary.accountId)}getProductOffers(){this.productPortalService.getProductStatusByName({serviceAgreementId:this.selectedServiceAgreement.serviceAgreementId}).subscribe({next:l=>{this.productEnrollments=l}})}};s.\u0275fac=function(m){return new(m||s)},s.\u0275cmp=x({type:s,selectors:[["occ-sitemap-component"]],decls:184,vars:33,consts:[["id","Sitemap",1,"container-md"],[1,"page-header"],[1,"panel","panel-card"],["id","BillingPayments",1,"panel-heading"],[1,"icon-block"],[1,"icon-OCC_Font_2_Payment_Method"],[1,"headline-block"],[1,"panel-title"],[1,"clearfix"],[1,"panel-body"],[1,"row"],[1,"col-md-4"],[1,"list-unstyled"],["routerLink","/Billing/PayBill"],["routerLink","/Billing/PayBillMulti"],[4,"ngIf"],[1,"subheading"],["routerLink","/Billing/PmtArrangement"],["class","list-unstyled",4,"ngIf"],["routerLink","/Billing/BillingPaymentOptions"],[3,"click"],["routerLink","/Billing/ManagePaymentMethods"],["routerLink","/Billing/AutoPay/Setup"],[3,"routerLink"],["routerLink","/MyProfile/Alerts",3,"queryParams"],["routerLink","/Billing/Newsletter"],[1,"row","row-sm-eq-height"],[1,"col-md-6"],[1,"panel","panel-card","inside-full-height"],["id","Outages",1,"panel-heading"],[1,"icon-OCC_Font_2_Energy_Savings_Tip"],["routerLink","/Outages/Overview"],["routerLink","/Outages/Report"],["target","_blank","rel","noreferrer",3,"href"],["id","SupportCenter",1,"panel-heading"],[1,"icon-OCC_Font_2_Support_Customer_Service"],["routerLink","/CustService/ContactUs"],["routerLink","/CustService/ServiceRequests"],["routerLink","/CustService/LettersForms"],["id","MyProfile",1,"panel-heading"],[1,"icon-OCC_Font_2_My_Profile"],["routerLink","/MyProfile/Manage","title","Manage Accounts"],["routerLink","/MyProfile/LoginInfo","title","Log In Information"],["routerLink","/MyProfile/ContactInfo","title","Contact Information"],["routerLink","/MyProfile/Alerts","title","Alerts & Communications"],["id","BusinessServices",1,"panel-heading"],[1,"fa","fa-building"],["routerLink","/BusinessServices/Builders/Overview","target","_blank","rel","noreferrer","title","Builders and Developers",3,"queryParams"],["target","_blank","rel","noreferrer","title","Energy Direct",3,"href"],["id","OpCoSite",1,"panel","panel-card","inside-full-height"],[1,"panel-heading"],[1,"panel-title",3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"subheading","mb-3"],["routerLink","/Billing/InstallmentPaymentPlan"],["rel","noreferrer",3,"click"],["routerLink","/Billing/BillHistory"],["routerLink","/CustService/FindAnOffice"]],template:function(m,n){m&1&&(t(0,"main",0)(1,"h1",1),i(2,"Sitemap"),e(),t(3,"div",2)(4,"div",3)(5,"div",4),u(6,"span",5),e(),t(7,"div",6)(8,"h2",7),i(9,"Billing and Payments"),e()(),u(10,"div",8),e(),t(11,"div",9)(12,"div",10)(13,"div",11)(14,"ul",12)(15,"li")(16,"a",13),i(17,"Pay Now"),e()(),t(18,"li")(19,"a",14),i(20,"Pay Multiple Bills"),e()(),d(21,ae,3,1,"li",15),e(),t(22,"h3",16)(23,"a",17),i(24),e()(),d(25,le,4,2,"ul",18),e(),t(26,"div",11)(27,"ul",12),d(28,oe,3,0,"li",15)(29,se,3,0,"li",15),e(),t(30,"h3",16)(31,"a",19),i(32),e()(),t(33,"ul",12)(34,"li")(35,"a",20),g("click",function(){return n.goToBudgetBilling()}),i(36,"Budget Billing"),e()(),d(37,me,3,1,"li",15),e(),t(38,"h3",16)(39,"a",21),i(40,"Manage Payment Methods"),e()(),t(41,"ul",12)(42,"li")(43,"a",22),i(44,"Auto Pay"),e()()()(),t(45,"div",11)(46,"ul",12)(47,"li")(48,"a",23),i(49,"My Power Usage"),e()(),t(50,"li")(51,"a",24),i(52,"My Power Usage Alerts"),e()(),t(53,"li")(54,"a",25),i(55),e()()()()()()(),t(56,"div",26)(57,"div",27)(58,"div",28)(59,"div",29)(60,"div",4),u(61,"span",30),e(),t(62,"div",6)(63,"h2",7),i(64,"Outages"),e()(),u(65,"div",8),e(),t(66,"div",9)(67,"div",10)(68,"div",27)(69,"ul",12)(70,"li")(71,"a",31),i(72,"Status"),e()(),t(73,"li")(74,"a",32),i(75,"Report an Outage"),e()(),t(76,"li")(77,"a",20),g("click",function(){return n.goToReportStreetLightOutage()}),i(78,"Report Streetlight Outage"),e()()()(),t(79,"div",27)(80,"ul",12)(81,"li")(82,"a",33),i(83,"Map"),e()(),d(84,pe,3,2,"li",15),e()()()()()(),t(85,"div",27)(86,"div",28)(87,"div",34)(88,"div",4),u(89,"span",35),e(),t(90,"div",6)(91,"h2",7),i(92,"Support Center"),e()(),u(93,"div",8),e(),t(94,"div",9)(95,"div",10)(96,"div",27)(97,"ul",12)(98,"li")(99,"a",36),i(100,"Contact Us"),e()(),d(101,ce,3,0,"li",15)(102,de,3,0,"li",15),t(103,"li")(104,"a",37),i(105,"Start/Stop/Move Service"),e()()()(),t(106,"div",27)(107,"h3",16)(108,"a",38),i(109,"Letters & Forms"),e()(),t(110,"ul",12),d(111,ue,3,0,"li",15),t(112,"li")(113,"a",20),g("click",function(){return n.openLetter(n.LetterType.Residency)}),i(114,"Letter of Residency"),e()(),t(115,"li")(116,"a",20),g("click",function(){return n.openForm(n.FormType.LandlordAgreement)}),i(117,"Landlord Agreements"),e()(),d(118,ge,3,0,"li",15),e()()()()()()(),t(119,"div",26)(120,"div",11)(121,"div",28)(122,"div",39)(123,"div",4),u(124,"span",40),e(),t(125,"div",6)(126,"h2",7),i(127,"My Profile"),e()(),u(128,"div",8),e(),t(129,"div",9)(130,"ul",12)(131,"li")(132,"a",41),i(133,"Manage Accounts"),e()(),t(134,"li")(135,"a",42),i(136,"Update Profile"),e()(),t(137,"li")(138,"a",43),i(139,"My Contact Information"),e()(),t(140,"li")(141,"a",44),i(142,"Notification Preferences"),e()()()()()(),t(143,"div",11)(144,"div",28)(145,"div",45)(146,"div",4),u(147,"i",46),e(),t(148,"div",6)(149,"h2",7),i(150,"Business Services"),e()(),u(151,"div",8),e(),t(152,"div",9)(153,"ul",12)(154,"li")(155,"a",33),i(156,"Property Managers"),e()(),t(157,"li")(158,"a",47),i(159,"Builders and Developers"),e(
1)(),t(160,"li")(161,"a",48),i(162,"Energy Direct"),e()()()()()(),t(163,"div",11)(164,"div",49)(165,"div",50)(166,"h2",51),d(167,he,2,0,"span",52)(168,Se,2,0,"span",52)(169,ye,2,0,"span",53),e()(),t(170,"div",9)(171,"h3",54),i(172,"Residential"),e(),t(173,"ul",12)(174,"li")(175,"a",33),i(176,"Save Money & Energy"),e()(),d(177,ve,3,0,"li",15),e(),t(178,"h3",16),i(179,"Business"),e(),t(180,"ul",12)(181,"li")(182,"a",33),i(183,"Save Money & Energy"),e()()()()()()()()),m&2&&(a(21),o("ngIf",n.showPaymentArrangementLink),a(3),O("",n.verbiageMap.payPlanLongName,"s"),a(),o("ngIf",n.opCo!==n.OperatingCompany.MPC),a(3),o("ngIf",n.isPendingOrOpenPrePay),a(),o("ngIf",!n.isPendingOrOpenPrePay),a(3),_(n.isFlatBillRateEnabled?"Billing & Rates":"Billing & Payment Options"),a(5),o("ngIf",n.opCo!==n.OperatingCompany.MPC),a(11),o("routerLink",E(29,te)),a(3),o("queryParams",E(30,ie)),a(4),_(n.newsletterTitle),a(27),o("href",C(n.outages[n.opCo.toUpperCase()].OutageMap),S),a(2),o("ngIf",n.isLoggedIn),a(17),o("ngIf",n.opCo===n.OperatingCompany.APC),a(),o("ngIf",n.opCo===n.OperatingCompany.GPC||n.opCo===n.OperatingCompany.MPC),a(9),o("ngIf",!n.isPendingOrOpenPrePay),a(7),o("ngIf",n.opCo===n.OperatingCompany.APC||n.opCo===n.OperatingCompany.GPC),a(37),o("href",n.urlBase.PropertyManagersPortal+"/Landing?mnuOpco="+n.opCo.toUpperCase(),S),a(3),o("queryParams",b(31,ne,n.opCo.toUpperCase())),a(3),o("href",C(n.urlBase.EnergyDirect),S),a(5),o("ngSwitch",n.opCo),a(),o("ngSwitchCase",n.OperatingCompany.APC),a(),o("ngSwitchCase",n.OperatingCompany.MPC),a(7),o("href",C(n.getSaveMoneyEnergyUrl("R",n.opCo)),S),a(2),o("ngIf",n.showEnergyCheckupLink),a(5),o("href",C(n.getSaveMoneyEnergyUrl("C",n.opCo)),S))},dependencies:[V,U,A,M,F,I],encapsulation:2});let r=s;return r})();export{Ge as SitemapComponent};
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.