PageSourceSearch

https://starsbasketballclub.com/chunk-DJT3I6L5.js

js starsbasketballclub.com collected 2026-10-04 05:49:09 UTC 25,229 bytes, 195 lines download raw bytes

1import{a as Ne,b as Ge}from"./chunk-YT5X3YQ3.js";import{b as B}from"./chunk-PTD4BQDF.js";import{b as $e}from"./chunk-FILWW2AW.js";import{a as qe}from"./chunk-B7UQVWZG.js";import{a as Re,b as ke,c as Ve,d as Ue,e as We}from"./chunk-S4DAYUOK.js";import{a as w}from"./chunk-J7GAYBOE.js";import{a as Be,b as je}from"./chunk-LKBIWGVQ.js";import"./chunk-HUAQNSI3.js";import{d as Me,e as Oe}from"./chunk-3CBEWH77.js";import{a as Ae}from"./chunk-MCU24RQK.js";import{a as Le}from"./chunk-BQRBWX66.js";import{c as Fe}from"./chunk-STA2MRHZ.js";import{a as be,b as De}from"./chunk-PSOULVZL.js";import"./chunk-XAXLMUF6.js";import"./chunk-6ORYOOUQ.js";import"./chunk-ZB44PIZA.js";import{c as we}from"./chunk-YBFQQSLW.js";import"./chunk-BT6MT7GL.js";import{b as Pe}from"./chunk-64WGMCQL.js";import"./chunk-DBNHDKST.js";import"./chunk-4CVZBQNN.js";import{Sb as Ie}from"./chunk-PXZNPNHI.js";import"./chunk-KWNDGQWR.js";import{a as Se,b as ye,c as Ee}from"./chunk-2ZFY6MCW.js";import"./chunk-KQ7PEKEE.js";import"./chunk-KVMIYEBS.js";import"./chunk-DLHY2JKF.js";import"./chunk-WLMRFXCZ.js";import"./chunk-WN3UI2QV.js";import"./chunk-YVLOHBDK.js";import{a as L}from"./chunk-Z3AXU4EF.js";import"./chunk-TP3A6IN2.js";import"./chunk-XNFXA3ZT.js";import"./chunk-QLTRNXEK.js";import"./chunk-TEFEWVO6.js";import"./chunk-ZB64W4XA.js";import"./chunk-SVABVB5X.js";import"./chunk-CMY6WAF3.js";import"./chunk-FUY7HSJY.js";import"./chunk-JTYXZXFU.js";import"./chunk-7MK6I7GJ.js";import"./chunk-3HFTO6XY.js";import"./chunk-XNSH6ILV.js";import"./chunk-IZKA562T.js";import"./chunk-BROSYERN.js";import"./chunk-Y2KCFOCP.js";import"./chunk-Z52L74DH.js";import"./chunk-QH3IRCHN.js";import"./chunk-PLEH3NAH.js";import"./chunk-GXCJ5QS4.js";import{b as P}from"./chunk-4D5SN44G.js";import"./chunk-22ACI5KU.js";import"./chunk-FXUQQQIE.js";import"./chunk-FSUBAQYH.js";import"./chunk-7CVCGK4Q.js";import"./chunk-FWW3IJT2.js";import"./chunk-B6LCWWQX.js";import"./chunk-HYGNXZJR.js";import"./chunk-B6XXRKU5.js";import"./chunk-6Q5DDO7R.js";import"./chunk-RW2MVE4O.js";import"./chunk-3ZVRFUA4.js";import"./chunk-H4PCL6BZ.js";import"./chunk-NXTJBJRP.js";import"./chunk-U22BTVEZ.js";import{Ce as fe,Ed as _e,Eg as Te,Gd as N,Mb as M,Ue as Ce,Vc as xe,jb as ue,kh as ve,ve as he,xa as v,ya as q,za as $}from"./chunk-X5J6QTCG.js";import{$ as R,$a as c,Ad as U,E as H,Fa as s,Fb as Z,H as J,Ib as e,Jb as ee,Ka as f,Kb as b,Le as ce,Ma as I,Na as k,Ni as W,Qb as te,Ra as Q,Rb as ie,S as F,Sa as X,Sb as ne,Th as de,U as T,W as K,bb as d,cc as oe,d as D,dc as re,di as ge,fa as g,fc as ae,ga as u,gb as x,hb as a,ib as r,jb as C,k as A,pj as E,qb as h,qc as me,r as Y,sb as _,tb as p,td as se,u as O,wd as le,xd as pe,yd as V,z as y}from"./chunk-SMW7PHYX.js";import{a as G,b as z}from"./chunk-BMIYOSOG.js";var et=(n,m,i)=>[n,m,i];function tt(n,m){if(n&1&&(e(0,`
2                    `),a(1,"app-split-button",4,1),e(3,`
3                    `),r(),e(4,`
4                  `)),n&2){let i=p(4);s(),x("menuItems",i.actionMenuItems)}}function it(n,m){if(n&1&&(e(0,`
5                  `),c(1,tt,5,1)),n&2){let i=p(3);s(),d(i.actionMenuItems!=null&&i.actionMenuItems.length?1:-1)}}function nt(n,m){if(n&1&&(e(0,`
6            `),a(1,"app-admin-header",3),e(2,`
7                `),X(3,it,2,1,"ng-template",null,0,me),e(5,`
8            `),r(),e(6,`
9        `)),n&2){let i=p(2);s(),x("pageTitle",i.program.name)("parentLinkText","Programs")("showBackButton",!0)}}function ot(n,m){if(n&1&&(e(0,`
10        `),C(1,"app-program-registration-navigation",5),e(2,`
11        `)),n&2){let i=p(2);s(),x("programID",i.programID)("programTypeID",i.program.programTypeID)("showTeams",!ae(3,et,i.ProgramType.TRYOUTS,i.ProgramType.SUBSCRIPTION,i.ProgramType.CAMPS_AND_CLINICS).includes(i.program.programTypeID))}}function rt(n,m){if(n&1){let i=h();e(0,`
12      `),a(1,"app-program-clone",6),_("cancel",function(){g(i);let o=p(2);return u(o.showCloneForm=!1)})("onClone",function(o){g(i);let l=p(2);return u(l.clone(o))}),r(),e(2,`
13    `)}if(n&2){let i=p(2);s(),x("programName",i.program==null?null:i.program.name)("programID",i.programID)}}function at(n,m){if(n&1){let i=h();e(0,`
14      `),a(1,"app-program-remove",7),_("cancel",function(){g(i);let o=p(2);return u(o.showRemove=!1)})("remove",function(){g(i);let o=p(2);return u(o.removeChange(!0))}),r(),e(2,`
15    `)}if(n&2){let i=p(2);s(),x("programID",i.programID)}}function mt(n,m){if(n&1){let i=h();e(0,`
16      `),a(1,"app-program-undo-remove",8),_("cancel",function(){g(i);let o=p(2);return u(o.showUndoRemove=!1)})("undoRemove",function(){g(i);let o=p(2);return u(o.removeChange(!1))}),r(),e(2,`
17    `)}if(n&2){let i=p(2);s(),x("programID",i.programID)}}function st(n,m){if(n&1&&(e(0,`
18    `),a(1,"main",2),e(2,`
19        `),c(3,nt,7,3),c(4,ot,3,7),C(5,"router-outlet"),e(6,`
20    `),r(),e(7,`
21
22    `),c(8,rt,3,2),c(9,at,3,1),c(10,mt,3,1)),n&2){let i=p();s(3),d(i.showAdminHeader?3:-1),s(),d(i.programID&&i.showProgramNav?4:-1),s(4),d(i.showCloneForm?8:-1),s(),d(i.showRemove?9:-1),s(),d(i.showUndoRemove?10:-1)}}function lt(n,m){n&1&&(e(0,`
23    `),e(1,`
24    `),a(2,"main",2),e(3,`
25        `),C(4,"app-admin-header",9),e(5,`
26        `),a(6,"app-inline-alert",10),e(7,`
27            Unable to load this program.
28        `),r(),e(8,`
29    `),r(),e(9,`
30`)),n&2&&(s(4),x("parentLinkText","Programs")("showBackButton",!0),s(2),x("isInline",!0))}var He=(()=>{let m=class m extends qe{constructor(t,o){super(),this.router=t,this.siteDataService=o,this.showRegisteredPlayersDialog=!1,this.sport=ce,this.showGenericShell=!1,this.programLoadFailed=!1}ngOnInit(){this.loadUser(),this.router.events.pipe(y(t=>t instanceof se),F(null),T(this.unsubscribe$)).subscribe(()=>{this.updateChromeVisibility()}),this.route.params.subscribe(t=>{t.id&&(this.programID=+t.id,this.store.initialize(this.programID))}),this.store.select(t=>({loading:t.loading})).pipe(T(this.unsubscribe$)).subscribe({next:t=>{t.loading||this.siteDataService.hideSiteLoader()},error:()=>{this.siteDataService.showSiteErrorAlertDefaultGET()}}),Y([this.store.select(t=>({program:t.program,loading:t.loading})),this.siteDataService.isPaidSignupsV2Enabled$().pipe(F(null))]).pipe(T(this.unsubscribe$)).subscribe({next:([{program:t,loading:o},l])=>{this.program=t,this.programLoadFailed=!o&&!t;let S=t?.programTypeID===v.TRAINING_SESSIONS;if(this.showGenericShell=!!t&&(!S||l===!1),l&&S){this.router.navigate(["/admin/programs","training-sessions",this.programID],{replaceUrl:!0});return}this.actionMenuItems=[],(!this.program||this.program.programTypeID!==v.CAMPS_AND_CLINICS)&&this.actionMenuItems.push({label:"Duplicate",icon:"fa fa-clone",command:()=>{this.showCloneForm=!0}}),this.pushRemoveMenuItem(this.actionMenuItems)},error:()=>{this.programLoadFailed=!0,this.siteDataService.showSiteErrorAlertDefaultGET()}})}clone(t){this.showCloneForm=!1,this.router.navigate(["..",t.programID,"basic-info"],{relativeTo:this.route})}};m.\u0275fac=function(o){return new(o||m)(f(pe),f(E))},m.\u0275cmp=I({type:m,selectors:[["ng-component"]],standalone:!1,features:[Q],decls:3,vars:1,consts:[["customButtonContent",""],["actions",""],["role","main"],["parentLinkUrl","../",3,"pageTitle","parentLinkText","showBackButton"],["buttonText","Actions",3,"menuItems"],[3,"programID","programTypeID","showTeams"],[3,"cancel","onClone","programName","programID"],[3,"cancel","remove","programID"],[3,"cancel","undoRemove","programID"],["pageTitle","Edit Program","parentLinkUrl","../",3,"parentLinkText","showBackButton"],["alertType","error",1,"m-3",3,"isInline"]],template:function(o,l){o&1&&(e(0,`
31`),c(1,st,11,5)(2,lt,10,3)),o&2&&(s(),d(l.showGenericShell?1:l.programLoadFailed?2:-1))},dependencies:[le,M,he,Ce,Be,ke,Ve,Re],encapsulation:2});let n=m;return n})();var gt=()=>["../.."];function ut(n,m){if(n&1){let i=h();e(0,`
32        `),a(1,"a",10),_("click",function(){g(i);let o=p(2);return u(o.showProgramTeamTypeEditDialog=!0)}),e(2,`
33          `),C(3,"i",11),e(4,`
34        `),r(),e(5,`
35      `)}}function xt(n,m){if(n&1&&(e(0,`
36      `),a(1,"div",6)(2,"label")(3,"span"),e(4,"Team Type "),a(5,"span",7),C(6,"i",8),r()()(),e(7,`
37      `),a(8,"div")(9,"span",9),e(10),r(),e(11,`
38      `),c(12,ut,6,0),r(),e(13,`
39  `),r(),e(14,`
40`)),n&2){let i=p();s(6),x("pTooltip",i.tooltipText)("tooltipPosition","top")("escape",!1),s(4),ee(i.teamType),s(2),d(i.hasRegistrations?-1:12)}}function _t(n,m){if(n&1&&(e(0,`
41  `),a(1,"div",1),e(2,`
42    `),a(3,"div",2),e(4,`
43      `),a(5,"app-inline-alert",12),e(6,`
44        `),a(7,"span",13),e(8),r(),e(9,`
45      `),r(),e(10,`
46    `),r(),e(11,`
47  `),r(),e(12,`
48`)),n&2){let i=p();s(5),x("isInline",!1),s(3),b(`
49          `,i.skipTeamsWarning,`
50        `)}}function ht(n,m){if(n&1){let i=h();e(0,`
51  `),a(1,"div",14),e(2,`
52    `),a(3,"app-team-select",15),_("selectionChange",function(o){g(i);let l=p();return u(l.selectedTeams=o)}),e(4,`
53    `),r(),e(5,`
54  `),r(),e(6,`
55`)}if(n&2){let i=p();s(3),x("loading",i.loading)("teams",i.teams)("showAddTeam",i.user[i.Permission.Teams])}}function ft(n,m){n&1&&(e(0,`
56          `),C(1,"app-button-loader"),e(2,`
57          Saving...
58        `))}function Ct(n,m){n&1&&e(0,`
59          Save
60        `)}function Tt(n,m){if(n&1){let i=h();e(0,`
61  `),a(1,"div",16),e(2,`
62    `),a(3,"div",17),e(4,`
63      `),a(5,"button",18),_("click",function(){g(i);let o=p();return u(o.save())}),e(6,`
64        `),c(7,ft,3,0),c(8,Ct,1,0),r(),e(9,`
65      `),a(10,"a",19),_("click",function(o){g(i);let l=p();return u(l.loading||l.saving?o.preventDefault():"")}),e(11,`
66        Cancel
67      `),r(),e(12,`
68    `),r(),e(13,`
69  `),r(),e(14,`
70`)}if(n&2){let i=p();s(5),x("disabled",i.loading||i.saving),s(2),d(i.saving?7:-1),s(),d(i.saving?-1:8),s(2),Z("btn-disabled",i.loading||i.saving),x("routerLink",oe(6,gt))}}function vt(n,m){if(n&1){let i=h();e(0,`
71  `),a(1,"app-yes-no-modal",20),_("onYesSelect",function(){g(i);let o=p();return o.approvedTeamsRequiredWarning=!0,u(o.save())})("onNoSelect",function(){g(i);let o=p();return u(o.showTeamsRequiredWarning=!1)}),e(2,`
72    `),a(3,"div",21),e(4,`
73      `),a(5,"app-inline-alert",22),e(6),r(),e(7,`
74    `),r(),e(8,`
75  `),r(),e(9,`
76`)}if(n&2){let i=p();s(),x("showModalText",!1),s(4),x("isInline",!0),s(),b(`
77        `,i.skipTeamsWarning,`
78      `)}}function St(n,m){if(n&1){let i=h();e(0,`
79  `),a(1,"app-program-team-type",23),_("teamTypeIDChanged",function(o){g(i);let l=p();return u(l.setProgramTeamType(o))})("cancel",function(){g(i);let o=p();return u(o.showProgramTeamTypeEditDialog=!1)}),r(),e(2,`
80`)}if(n&2){let i=p();s(),x("teamTypeID",i.program.programTeamTypeID)("programTypeID",i.program.programTypeID)}}var Je=(()=>{let m=class m{constructor(t,o,l,S,Xe){this.store=t,this.siteDataService=o,this.programService=l,this.registrationService=S,this.authorizeService=Xe,this.unsubscribe$=new D,this.teams=[],this.selectedTeam
80s=[],this.skipTeamsWarning="Please note: this program has an invitation type of Invitational with Registration. Team selection is required in order for players to be eligible for this program.",this.teamIDRequired=!1,this.loading=!0,this.showTeamsRequiredWarning=!1,this.showProgramTeamTypeEditDialog=!1,this.approvedTeamsRequiredWarning=!1,this.ProgramTeamType=q,this.Permission=de,this.tooltipText='<div><strong>No traditional teams or groups needed</strong></div><div class="mb-3">This option is used if players do not need to be grouped for a specific reason.</div><div><strong>Traditional Team</strong></div><div class="mb-3">This option applies when there is a defined structure for the program, such as a core program. Players register and then will then be placed on a team or invited to join.</div><div><strong>No traditional teams, but players should be grouped together by registration.</strong></div><div>This option can be used for supplemental programs such as camps and other shorter-duration activities. Teams are not created, but players can be grouped together to utilize the calendar, messaging, and more.</div>',this.saving=!1}ngOnInit(){this.authorizeService.getUser().pipe(J(1)).subscribe({next:t=>{this.user=t}}),this.loading=!0,this.store.select(t=>({program:t.program,programID:t.programID})).pipe(y(t=>t.program!==null&&t.program!==void 0),K(t=>{this.program=t.program,this.programID=t.programID,this.teamIDRequired=this.program.programInvitationTypeID===$.INVITATIONAL_WITH_REGISTRATION}),H(()=>{let o=[v.SUPPLEMENTAL,v.OTHER,v.TOURNAMENT,v.SUBSCRIPTION,v.CAMPS_AND_CLINICS].includes(this.program.programTypeID)&&this.program.programInvitationTypeID===$.OPEN&&!this.program.parentProgramID;return O({teams:this.programService.getTeams(),teamTypes:o?this.programService.getProgramBasicInfoMetadata():A(null),hasRegistrations:o?this.programService.getProgramHasRegistrations(this.programID):A(null)})}),T(this.unsubscribe$)).subscribe({next:t=>{this.teams=t?.teams||[],this.program.teamID&&(this.teams=this.teams.map(o=>z(G({},o),{isSelected:this.program.teamID.includes(o.teamID)})),this.selectedTeams=this.teams.filter(o=>o.isSelected)),t.teamTypes&&(this.fields=t.teamTypes.fields,this.showTeamsStep()),this.hasRegistrations=t.hasRegistrations,this.loading=!1,this.siteDataService.hideSiteLoader()},error:()=>{this.siteDataService.showSiteErrorAlert("There was a problem getting teams")}})}save(){let t={teamID:null};this.selectedTeams?.length&&(t.teamID=this.selectedTeams.map(o=>o.teamID)),this.teamIDRequired&&!t.teamID&&!this.approvedTeamsRequiredWarning?this.showTeamsRequiredWarning=!0:(this.saving=!0,this.showTeamsRequiredWarning=!1,O({updateTeams:this.programService.updateProgramTeams(this.programID,t),updateProgram:this.fields?this.programService.updateProgramBasicInfo(this.program):A(null)}).pipe(T(this.unsubscribe$)).subscribe({next:()=>{this.program.teamID=t.teamID,this.store.updateProgram(this.program),this.saving=!1,this.approvedTeamsRequiredWarning=!1,this.siteDataService.showSiteSuccessAlert("Teams saved successfully")},error:()=>{this.siteDataService.showSiteErrorAlert("There was a problem saving teams"),this.saving=!1}}))}setProgramTeamType(t){this.program.programTeamTypeID=t,this.teamType=this.fields.find(o=>o.controlName==="programTeamTypeID").options.find(o=>o.value===t).label,t!==q.TEAM&&(this.program.teamID=[],this.selectedTeams=[],this.teams?.forEach(o=>o.isSelected=!1)),this.showProgramTeamTypeEditDialog=!1}showTeamsStep(){this.program.programTeamTypeID===void 0?this.showProgramTeamTypeEditDialog=!0:this.teamType=this.fields.find(t=>t.controlName==="programTeamTypeID").options.find(t=>t.value===this.program.programTeamTypeID).label}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}};m.\u0275fac=function(o){return new(o||m)(f(w),f(E),f(L),f(Ae),f(ge))},m.\u0275cmp=I({type:m,selectors:[["ng-component"]],standalone:!1,decls:27,vars:6,consts:[[1,"mb-3"],[1,"row","mb-3"],[1,"col-md-12"],[1,"text-default","text-uppercase","fw-600"],[1,"col-md-8","text-medium","text-grey"],[1,"horizontal-form"],[1,"form-group"],[1,"form-tooltip-toggle"],[1,"far","fa-info-circle",3,"pTooltip","tooltipPosition","escape"],[1,"f-value"],["role","button",1,"ml-2","d-inline-block",3,"click"],[1,"fa-solid","fa-pencil"],["alertType","warning","iconClass","fa fa-exclamation-triangle",3,"isInline"],[1,"text-medium","fw-700"],[1,"border-top"],[3,"selectionChange","loading","teams","showAddTeam"],["appStickyFormButtons","",1,"row","form-action","no-gutters","d-flex","align-items-center"],[1,"col-md-12","d-flex","justify-content-start"],["type","button",1,"btn","btn-lg","btn-primary",3,"click","disabled"],["type","button",1,"btn","btn-lg","btn-naked",3,"click","routerLink"],["headerText","Are you sure you want to save without any teams?","dialogClass","standardWidthDialog","yesButtonText","Yes, Save without Teams","noButtonText","Cancel",3,"onYesSelect","onNoSelect","showModalText"],[1,"text-medium","fw-600"],["alertType","warning",3,"isInline"],[3,"teamTypeIDChanged","cancel","teamTypeID","programTypeID"]],template:function(o,l){o&1&&(a(0,"div",0),e(1,`
81  `),a(2,"div",1),e(3,`
82    `),a(4,"div",2),e(5,`
83      `),a(6,"span",3),e(7,"Eligible Teams"),r(),e(8,`
84    `),r(),e(9,`
85  `),r(),e(10,`
86  `),a(11,"div",1),e(12,`
87    `),a(13,"div",4),e(14,`
88      Select or add teams from this tab. If the program type is invitational, teams must be selected at some point
89      before anyone can register. If the program is open to anyone and team
89s are assigned
90      later, you can come back later.
91    `),r(),e(15,`
92  `),r(),e(16,`
93  `),a(17,"div",5),e(18,`
94    `),c(19,xt,15,5),r(),e(20,`
95`),c(21,_t,13,2),r(),e(22,`
96`),c(23,ht,7,3),c(24,Tt,15,7),c(25,vt,10,3),c(26,St,3,2)),o&2&&(s(19),d(l.teamType?19:-1),s(2),d(l.teamIDRequired?21:-1),s(2),d((l.program==null?null:l.program.programTeamTypeID)===l.ProgramTeamType.TEAM||l.teamType===void 0?23:-1),s(),d(!l.hasRegistrations||(l.program==null?null:l.program.programTeamTypeID)===l.ProgramTeamType.TEAM?24:-1),s(),d(l.showTeamsRequiredWarning?25:-1),s(),d(l.showProgramTeamTypeEditDialog?26:-1))},dependencies:[V,M,N,fe,_e,ue,Me,Ne],encapsulation:2});let n=m;return n})();var yt=n=>["/all-programs",n];function It(n,m){n&1&&(e(0,`
97              `),C(1,"app-button-loader"),e(2,`
98            `))}function Et(n,m){if(n&1){let i=h();e(0,`
99      `),a(1,"div",1),e(2,`
100        `),a(3,"div",2),e(4,`
101          `),a(5,"div"),e(6,`
102            `),a(7,"h2",3),e(8,`
103              Social Post
104            `),r(),e(9,`
105            `),a(10,"span",8),e(11,`
106              Generate social media content to promote this program
107            `),r(),e(12,`
108          `),r(),e(13,`
109          `),a(14,"span"),e(15,`
110            `),a(16,"button",11),_("click",function(){g(i);let o=p(2);return u(o.showAIContentCreator=!0)}),e(17,`
111              `),C(18,"i",10),e(19,`
112              Create Social Post
113            `),r(),e(20,`
114          `),r(),e(21,`
115        `),r(),e(22,`
116        `),a(23,"div",6),e(24,`
117          `),a(25,"ol",7),e(26,`
118            `),a(27,"li"),e(28,`
119              `),a(29,"strong"),e(30,'Click "Create Social Post"'),r(),e(31,`; AI will draft a caption using your program details
120            `),r(),e(32,`
121            `),a(33,"li"),e(34,`
122              `),a(35,"strong"),e(36,"Review"),r(),e(37,` and edit the copy, hashtags, and tone as needed
123            `),r(),e(38,`
124            `),a(39,"li"),e(40,`
125              `),a(41,"strong"),e(42,"Generate images"),r(),e(43,` and share directly to social media
126            `),r(),e(44,`
127          `),r(),e(45,`
128        `),r(),e(46,`
129      `),r(),e(47,`
130    `)}}function wt(n,m){if(n&1){let i=h();e(0,`
131    `),e(1,`
132    `),a(2,"div",1),e(3,`
133      `),a(4,"div",2),e(5,`
134        `),a(6,"h2",3),e(7,`
135          `),e(8,`
136          Program Detail Page
137        `),r(),e(9,`
138        `),a(10,"span"),e(11,`
139          `),a(12,"button",4),_("click",function(){g(i);let o=p();return u(o.shareProgramLink())}),e(13,"Share Program Link"),r(),e(14,`
140          `),a(15,"a",5),e(16,"View"),r(),e(17,`
141        `),r(),e(18,`
142      `),r(),e(19,`
143      `),a(20,"div",6),e(21,`
144        `),a(22,"ol",7),e(23,`
145          `),a(24,"li"),e(25,`
146            `),a(26,"strong"),e(27,"Preview"),r(),e(28,` your page using the button above to see exactly what members will see
147          `),r(),e(29,`
148          `),a(30,"li"),e(31,`
149            `),a(32,"strong"),e(33,"Adjust"),r(),e(34,` appearance in Display Settings if needed
150          `),r(),e(35,`
151          `),a(36,"li"),e(37,`
152            `),a(38,"strong"),e(39,"Share"),r(),e(40,` the link with your members or on social media
153          `),r(),e(41,`
154        `),r(),e(42,`
155      `),r(),e(43,`
156    `),r(),e(44,`
157    `),a(45,"div",1),e(46,`
158      `),a(47,"div",2),e(48,`
159        `),a(49,"div"),e(50,`
160          `),a(51,"h2",3),e(52,`
161            Program Announcement Email
162          `),r(),e(53,`
163          `),a(54,"span",8),e(55,`
164            Send a promotional email to your club members
165          `),r(),e(56,`
166        `),r(),e(57,`
167        `),a(58,"span"),e(59,`
168          `),a(60,"button",9),_("click",function(){g(i);let o=p();return u(o.openComposeEmail())}),e(61,`
169            `),c(62,It,3,0),C(63,"i",10),e(64),r(),e(65,`
170        `),r(),e(66,`
171      `),r(),e(67,`
172      `),a(68,"div",6),e(69,`
173        `),a(70,"ol",7),e(71,`
174          `),a(72,"li"),e(73,`
175            `),a(74,"strong"),e(75,'Click "Create"'),r(),e(76,`; AI will draft an email using your program details
176          `),r(),e(77,`
177          `),a(78,"li"),e(79,`
178            `),a(80,"strong"),e(81,"Review"),r(),e(82,` and edit the draft as needed
179          `),r(),e(83,`
180          `),a(84,"li"),e(85,`
181            `),a(86,"strong"),e(87,"Send"),r(),e(88,` to your member list
182          `),r(),e(89,`
183        `),r(),e(90,`
184      `),r(),e(91,`
185    `),r(),e(92,`
186    `),c(93,Et,48,0)}if(n&2){let i=p();s(15),x("routerLink",re(5,yt,i.programID)),s(45),x("disabled",i.loading),s(2),d(i.loading?62:-1),s(2),b(`
187            `,i.loading?"Generating":"Create",`
188          `),s(29),d(i.aiContentCreatorEnabled?93:-1)}}function bt(n,m){if(n&1){let i=h();e(0,`
189    `),a(1,"app-email-compose",12),_("send",function(o){g(i);let l=p();return u(l.send(o))})("cancel",function(){g(i);let o=p();return u(o.showComposeEmail=!1)}),e(2,`
190    `),r(),e(3,`
191  `)}if(n&2){let i=p();s(),x("subheader",i.program==null?null:i.program.name)("copilotSystemResponse",i.copilotSystemResponse)("showSteps",!1)("defaultEmailSubject","Register for the "+i.program.name)("emailCategoryID",i.EmailCategoryLV.MARKETING)("hideSearch",!1)("lockRecipients",!1)("selectRecipientsButtonText","Continue")}}function Pt(n,m){if(n&1){let i=h();e(0,`
192    `),a(1,"app-ai-content-creator-dialog",13),ne("visibleChange",function(o){g(i);let l=p();return ie(l.showAIContentCreator,o)||(l.showAIContentCreator=o),u(o)}),e(2,`
193    `),r(),e(3,`
194  `)}if(n&2){let i=p();s(),te("visible",i.showAIContentCreator),x("contextType",i.AIContentContextType.Program)("contextID",i.programID)}}var Ke=(()=>{let m=class m{constructor(t,o,l,S){this.aiChatService=t,this.siteDataService=o,this.programService=l,this.store=S,this.loading=!1,this.showComposeEmail=!1,this.EmailCategoryLV=we,this.showAIContentCreator=!1,this.aiContentCreatorEnabled=!1,this.AIContentContextType=Se,this.unsubscribe$=new D}ngOnInit(){this.siteDataService.getClubOptions([W.ENABLE_AI_CONTENT_CREATOR]).pipe(T(this.unsubscribe$)).subscribe(t=>this.aiContentCreatorEnabled=t?.find(o=>o.optionID===W.ENABLE_AI_CONTENT_CREATOR)?.boolValue===!0),this.store.select(t=>({program:t.program,programID:t.programID})).pipe(y(t=>t.program!==null&&t.program!==void 0),T(this.unsubscribe$)).subscribe({next:t=>{this.programID=t.programID,this.program=t.program,this.siteDataService.hide
194SiteLoader()},error:t=>{this.siteDataService.showSiteErrorAlert("There was a problem getting data"),console.log(t)}})}shareProgramLink(){this.siteDataService.copyToClipboard(`${window.location.origin}/all-programs/${this.programID}`)}openComposeEmail(){this.loading=!0,this.aiChatService.getCopilotProgramMessage(this.programID).subscribe({next:t=>{this.copilotSystemResponse=t,this.showComposeEmail=!0,this.loading=!1}})}send(t){this.showComposeEmail=!1,this.copilotSystemResponse=void 0}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}};m.\u0275fac=function(o){return new(o||m)(f(B),f(E),f(L),f(w))},m.\u0275cmp=I({type:m,selectors:[["ng-component"]],standalone:!1,decls:5,vars:3,consts:[["role","main"],[1,"card","pb-0","col-xl-9"],[1,"card-header","card-header--with-accent","d-flex","justify-content-between","align-items-center","px-3"],[1,"line-height-1"],[1,"btn","btn-sm","mr-2",3,"click"],["target","_blank","rel","noopener noreferrer",1,"btn","btn-sm",3,"routerLink"],[1,"card-body","text-medium","py-3"],[1,"circle-list","mb-0"],[1,"text-grey","text-small","d-block"],["type","button",1,"btn","btn-sm",3,"click","disabled"],[1,"fa-duotone","fa-sparkles"],["type","button",1,"btn","btn-sm",3,"click"],["header","Promote",3,"send","cancel","subheader","copilotSystemResponse","showSteps","defaultEmailSubject","emailCategoryID","hideSearch","lockRecipients","selectRecipientsButtonText"],[3,"visibleChange","visible","contextType","contextID"]],template:function(o,l){o&1&&(a(0,"main",0),e(1,`
195  `),c(2,wt,94,7),c(3,bt,4,8),c(4,Pt,4,3),r()),o&2&&(s(2),d(l.showComposeEmail?-1:2),s(),d(l.showComposeEmail?3:-1),s(),d(l.aiContentCreatorEnabled&&l.showAIContentCreator?4:-1))},dependencies:[be,V,N,ye],encapsulation:2});let n=m;return n})();var Qe=(()=>{let m=class m{};m.\u0275fac=function(o){return new(o||m)},m.\u0275mod=k({type:m}),m.\u0275inj=R({imports:[U.forChild([{path:"",component:He,children:[{path:"basic-info",canActivate:[P],loadChildren:()=>import("./chunk-4SWV5UYI.js").then(t=>t.ProgramBasicInfoModule),data:{metaTitle:"Program Basic Info Edit"}},{path:"teams",canActivate:[P],component:Je,data:{metaTitle:"Program Teams Edit"}},{path:"display-settings",canActivate:[P],loadChildren:()=>import("./chunk-X7SLCQK5.js").then(t=>t.ProgramDisplaySettingsModule),data:{metaTitle:"Program Display Settings Edit"}},{path:"promote",canActivate:[P],component:Ke,data:{metaTitle:"Promote"}},{path:"",redirectTo:"basic-info",pathMatch:"full"}]}]),U]});let n=m;return n})();var mn=(()=>{let m=class m{};m.\u0275fac=function(o){return new(o||m)},m.\u0275mod=k({type:m}),m.\u0275inj=R({providers:[B,w,Ie],imports:[De,ve,Qe,Oe,$e,je,We,Ue,Ge,Fe,xe,Te,Ee,Pe,Le]});let n=m;return n})();export{mn as ProgramEditModule};

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.