PageSourceSearch

https://midlandsoccerclub.com/chunk-DJZMBZLK.js

js midlandsoccerclub.com collected 2026-10-09 22:39:46 UTC 26,330 bytes, 187 lines download raw bytes

1import{a as _t}from"./chunk-4CVZBQNN.js";import"./chunk-U22BTVEZ.js";import{Cc as gt,D as st,Gb as mt,Mb as ht,Sc as Ct,Wc as vt,bf as yt,cc as xt,d as at,id as bt,k as lt,kh as Ft,lc as Pt,ve as St,ye as wt,zc as ft}from"./chunk-X5J6QTCG.js";import{$ as M,$a as P,Aa as K,Ad as Y,Fa as c,Fb as y,Gb as X,Ib as t,Jb as v,Ka as $,Kb as Z,Lb as A,Ma as Q,Na as T,Qb as F,Rb as D,Rc as it,Sa as V,Sb as E,U as k,Wc as nt,Xb as b,Yc as ot,_ as q,ad as rt,ba as J,bb as f,be as ct,cc as tt,ch as ut,d as B,db as W,dc as R,eb as j,fa as _,fb as H,fi as dt,ga as x,gb as p,hb as a,hd as I,ib as l,jb as g,lc as N,mc as et,nb as S,nc as z,ob as w,pj as pt,qb as C,qc as U,sb as m,tb as u}from"./chunk-SMW7PHYX.js";import"./chunk-BMIYOSOG.js";var O=(()=>{let s=class s{constructor(e){this.webAPI=e}getPostPictures(e,i,r,h){let d=new I;return d=d.append("page",i.toString()),d=d.append("rows",r.toString()),h&&h.forEach(L=>{d=d.append("teamID",L.toString())}),d=d.append("favoritesOnly",e.toString()),this.webAPI.getData("admin/post/photos",d)}favoritePicture(e){return this.favoritePictures([e])}favoritePictures(e){return this.webAPI.postData("admin/post/photo/favorite",e)}deleteFavoritePicture(e){return this.deleteFavoritePictures([e])}deleteFavoritePictures(e){let i=new I;return e.forEach(r=>{i=i.append("postPictureID",r.toString())}),this.webAPI.deleteData("admin/post/photo/favorite",i)}deletePostPicture(e){return this.deletePostPictures([e])}deletePostPictures(e){let i=new I;return e.forEach(r=>{i=i.append("postPictureID",r.toString())}),this.webAPI.deleteData("admin/post/photo",i)}getTeams(){let e=new I;return e=e.append("includeInactive","false"),this.webAPI.getData("admin/teams/all",e)}};s.\u0275fac=function(i){return new(i||s)(J(dt))},s.\u0275prov=q({token:s,factory:s.\u0275fac});let o=s;return o})();var Mt=()=>({width:"450px"}),Dt=o=>({"background-image":o});function Tt(o,s){o&1&&(t(0,`
2                `),a(1,"div",30),t(2,`
3                    `),g(3,"img",31),t(4,`
4                `),l(),t(5,`
5                `))}function Vt(o,s){if(o&1){let n=C();t(0,`
6                `),a(1,"div",32),t(2,`
7                    `),a(3,"label",33),t(4,`
8                        `),a(5,"span",27),t(6,"Select Photo"),l(),t(7,`
9                    `),l(),t(8,`
10                    `),a(9,"div",34),t(10,`
11                        `),a(11,"p-checkbox",35),m("onChange",function(i){_(n);let r=u().$implicit,h=u(4);return x(h.pictureSelected(i.checked,r.postPictureID))}),l(),t(12,`
12                    `),l(),t(13,`
13                `),l(),t(14,`
14                `)}if(o&2){let n=u().$implicit,e=u(4);c(3),p("for",b("picture-",n.postPictureID)),c(8),p("inputId",b("picture-",n.postPictureID))("name",b("picture-",n.postPictureID))("ngModel",e.isPictureSelected(n.postPictureID))("binary",!0)}}function At(o,s){if(o&1){let n=C();t(0,`
15        `),a(1,"div"),t(2,`
16            `),a(3,"div",22),t(4,`
17                `),a(5,"div",23),t(6,`
18                    `),a(7,"button",24),m("click",function(){let i=_(n).$implicit,r=u(4);return x(r.openPicture(i))}),t(8,"View"),l(),t(9,`
19                    `),a(10,"button",25),m("click",function(i){let r=_(n).$implicit,h=u(4);return x(h.toggleFavoriteIcon(i,r))}),t(11,`
20                        `),g(12,"i",26),t(13,`
21                        `),a(14,"span",27),t(15,"Favorite Photo"),l(),t(16,`
22                    `),l(),t(17,`
23                    `),a(18,"button",28),m("click",function(){let i=_(n).$implicit,r=u(4);return r.currentPicture=i,x(r.showDeleteAlert(!1))}),t(19,"Delete"),l(),t(20,`
24                `),l(),t(21,`
25                `),t(22,`
26                `),P(23,Tt,6,0),P(24,Vt,15,8),l(),t(25,`
27            `),a(26,"div",29),t(27,`
28                `),t(28),l(),t(29,`
29        `),l(),t(30,`
30        `)}if(o&2){let n=s.$implicit,e=u(4);c(3),y("selected",e.isPictureSelected(n.postPictureID)),p("ngStyle",R(12,Dt,"url("+n.picture+")")),c(9),y("fas",n.favorite)("text-red",n.favorite)("fal",!n.favorite),c(11),f(n.favorite?23:-1),c(),f(e.multiSelectMode?24:-1),c(4),v(n.teamName)}}function Nt(o,s){if(o&1&&(t(0,`
31    `),a(1,"div",21),t(2,`
32        `),j(3,At,31,14,null,null,W),l(),t(5,`
33    `)),o&2){let n=u(3);c(3),H(n.postPictures)}}function Ot(o,s){o&1&&(t(0,`
34    `),g(1,"app-null-card",36),t(2,`
35    `)),o&2&&(c(),p("text","All team photo galleries are empty."))}function Lt(o,s){if(o&1){let n=C();t(0,`
36    `),P(1,Nt,6,0)(2,Ot,3,1),a(3,"div",18),t(4,`
37        `),a(5,"button",19),m("click",function(){_(n);let i=u(2);return x(i.loadMore(null))}
37),a(6,"span",20),t(7,"Load More"),l()(),t(8,`
38        `),t(9,`
39    `),l(),t(10,`
40    `),t(11,`
41    `)}if(o&2){let n=u(2);c(),f(n.postPictures!=null&&n.postPictures.length?1:2),c(4),p("disabled",(n.postPictures==null?null:n.postPictures.length)===n.totalCount)}}function Bt(o,s){o&1&&(t(0,`
42    `),a(1,"div"),t(2,`
43        `),g(3,"app-skeleton-template"),t(4,`
44    `),l(),t(5,`
45    `))}function $t(o,s){if(o&1&&(t(0,`
46    `),P(1,Lt,12,2)(2,Bt,6,0)),o&2){let n=u();c(),f(n.loading?2:1)}}function Wt(o,s){if(o&1){let n=C();t(0,`
47            `),a(1,"div",32),t(2,`
48                `),a(3,"label",33),t(4,`
49                    `),a(5,"span",27),t(6,"Select Photo"),l(),t(7,`
50                `),l(),t(8,`
51                `),a(9,"div",34),t(10,`
52                    `),a(11,"p-checkbox",35),m("onChange",function(i){_(n);let r=u().$implicit,h=u(4);return x(h.pictureSelected(i.checked,r.postPictureID))}),l(),t(12,`
53                `),l(),t(13,`
54            `),l(),t(14,`
55            `)}if(o&2){let n=u().$implicit,e=u(4);c(3),p("for",b("pictureFavorite-",n.postPictureID)),c(8),p("inputId",b("pictureFavorite-",n.postPictureID))("name",b("pictureFavorite-",n.postPictureID))("ngModel",e.isPictureSelected(n.postPictureID))("binary",!0)}}function jt(o,s){if(o&1){let n=C();t(0,`
56        `),a(1,"div",40),m("click",function(){let i=_(n).$implicit,r=u(4);return x(r.multiSelectMode?"":r.openPicture(i))}),t(2,`
57            `),a(3,"div",30),t(4,`
58                `),g(5,"img",31),t(6,`
59            `),l(),t(7,`
60            `),P(8,Wt,15,8),l(),t(9,`
61        `)}if(o&2){let n=s.$implicit,e=u(4);c(),y("selected",e.isPictureSelected(n.postPictureID)),p("ngStyle",R(4,Dt,"url("+n.picture+")")),c(7),f(e.multiSelectMode?8:-1)}}function Ht(o,s){if(o&1&&(t(0,`
62    `),a(1,"div",21),t(2,`
63        `),j(3,jt,10,6,null,null,W),l(),t(5,`
64    `)),o&2){let n=u(3);c(3),H(n.postPicturesFavorites)}}function Rt(o,s){o&1&&(t(0,`
65    `),g(1,"app-null-card",36),t(2,`
66    `)),o&2&&(c(),p("text","All team photo galleries are empty."))}function zt(o,s){o&1&&(t(0,`
67        `),g(1,"app-null-card",36),t(2,`
68    `)),o&2&&(c(),p("text","All team photo galleries are empty."))}function Ut(o,s){if(o&1){let n=C();t(0,`
69    `),P(1,Ht,6,0)(2,Rt,3,1),V(3,zt,3,1,"ng-template",null,1,U),t(5,`
70    `),a(6,"div",37),t(7,`
71        `),a(8,"button",38),m("click",function(){_(n);let i=u(2);return x(i.loadMoreFavorites(null))}),t(9,"Load More Favorites"),l(),t(10,`
72        `),a(11,"button",39),m("click",function(i){_(n);let r=u(2);return x(r.refreshPostsFavorite(i))}),t(12,"Refresh"),l(),t(13,`
73    `),l(),t(14,`
74    `)}if(o&2){let n=u(2);c(),f(n.postPicturesFavorites!=null&&n.postPicturesFavorites.length?1:2),c(7),p("disabled",(n.postPicturesFavorites==null?null:n.postPicturesFavorites.length)===n.totalCountFavorites)}}function Yt(o,s){o&1&&(t(0,`
75    `),a(1,"div"),t(2,`
76        `),g(3,"app-skeleton-template"),t(4,`
77    `),l(),t(5,`
78    `))}function Gt(o,s){o&1&&(t(0,`
79        `),a(1,"div"),t(2,`
80            `),g(3,"app-skeleton-template"),t(4,`
81        `),l(),t(5,`
82    `))}function qt(o,s){if(o&1&&(t(0,`
83    `),P(1,Ut,15,2)(2,Yt,6,0),V(3,Gt,6,0,"ng-template",null,0,U),t(5,`
84    `)),o&2){let n=u();c(),f(n.loadingFavorites?2:1)}}function Jt(o,s){if(o&1&&(t(0,`
85                `),a(1,"div",53),t(2,`
86                    Uploaded by:
87                    `),a(3,"span",54),t(4),l(),t(5,`
88                `),l(),t(6,`
89                `)),o&2){let n=u(3);c(4),A("",n.currentPicture.firstName," ",n.currentPicture.lastName)}}function Kt(o,s){if(o&1&&(t(0,`
90                `),a(1,"div",53),t(2,`
91                    Uploaded on:
92                    `),a(3,"span",54),t(4),N(5,"utcDate"),N(6,"date"),l(),t(7,`
93                `),l(),t(8,`
94                `)),o&2){let n=u(3);c(4),v(z(6,3,et(5,1,n.currentPicture.savedOn),n.dd(n.currentPicture.savedOn)))}}function Qt(o,s){if(o&1&&(t(0,`
95                `),a(1,"div",53),t(2,`
96                    File Dimensions:
97                    `),a(3,"span",54),t(4),l(),t(5,`
98                `),l(),t(6,`
99                `)),o&2){let n=u(3);c(4),A("",n.currentPicture.width," x ",n.currentPicture.height," pixels")}}function Xt(o,s){if(o&1&&(t(0,`
100                `),a(1,"div",53),t(2,`
101                    File Size:
102                    `),a(3,"span",54),t(4),N(5,"number"),l(),t(6,`
103                `),l(),t(7,`
104                `)),o&2){let n=u(3);c(4),Z("",z(5,1,n.currentPicture.fileSize/1024,"1.0-2")," kb")}}function Zt(o,s){if(o&1&&(t(0,`
105                `),a(1,"div",53),t(2,`
106                    File Name:
107                    `),a(3,"span",54),t(4),l(),t(5,`
108                `),l(),t(6,`
109                `)),o&2){let n=u(3);c(4),v(n.currentPicture.fileName)}}function te(o,s){if(o&1){let n=C();t(0,`
110                `),a(1,"div"),t(2),l(),t(3,`
111                `),a(4,"div",46),t(5),l(),t(6,`
112                `),P(7,Jt,7,2),P(8,Kt,9,6),P(9,Qt,7,2),P(10,Xt,8,4),P(11,Zt,7,1),a(12,"div",47),t(13,`
113                    `),a(14,"button",48),m("click",function(){_(n);let i=u(2);return x(i.toggleFavorite(i.currentPicture))}),t(15,`
114                        `),g(16,"i",49),t(17),l(),t(18,`
115                    `),a(19,"button",48),m("click",function(){_(n);let i=u(2);return x(i.downloadPicture(i.currentPicture))}),t(20,`
116                        `),g(21,"i",50),t(22,`Download
117                    `),l(),t(23,`
118                    `),g(24,"hr"),t(25,`
119                    `),a(26,"button",51),m("click",function(){_(n);let i=u(2);return x(i.showDeleteAlert(!1))}),t(27,`
120                        `),g(28,"i",52),t(29," Delete"),l(),t(30,`
121                `),l(),t(31,`
122                `)}if(o&2){let n=u(2);c(2),v(n.currentPicture.teamName),c(3),v(n.currentPicture.programName),c(2),f(n.currentPicture.firstName||n.currentPicture.lastName?7:-1),c(),f(n.currentPicture.savedOn?8:-1),c(),f(n.currentPicture.width&&n.currentPicture.height?9:-1),c(),f(n.currentPicture.fileSize?10:-1),c(),f(n.currentPicture.fileName?11:-1),c(5),y("fas",n.currentPicture.favorite)("text-red",n.currentPicture.favorite)("fal",!n.currentPicture.favorite),c(),A(`
123                        `,n.currentPicture.favorite?"Remove from":"Mark As "," Favorite",n.currentPicture.favorite?"s":"",`
124                    `)}}function ee(o,s){if(o&1){let n=C();t(0,`
125    `),a(1,"div",41),t(2,`
126        `),a(3,"div",42),t(4,`
127            `),a(5,"div",43),t(6,`
128                `),P(7,te,32,15),l(),t(8,`
129        `),l(),t(9,`
130        `),a(10,"div",44),t(11,`
131            `),a(12,"img",45),m("load",function(i){_(n);let r=u();return x(r.onImageLoad(r.currentPicture,i))}),l(),t(13,`
132        `),l(),t(14,`
133    `),l(),t(15,`
134    `)}if(o&2){let n=u();c(7),f(n.currentPicture.loaded?7:-1),c(5),p("src",n.currentPicture.picture,K)}}function ie(o,s){if(o&1){let n=C();t(0,`
135        `),a(1,"app-dialog-footer"),t(2,`
136            `),S(3,55),t(4,`
137                `),a(5,"button",56),m("click",function(){_(n);let i=u();return x(i.showDeleteDialog=!1)}),t(6,"Cancel"),l(),t(7,`
138            `),w(),t(8,`
139            `),S(9,57),t(10,`
140                `),a(11,"button",58),m("click",function(){_(n);let i=u();return x(i.confirmDelete())}),t(12,"Yes, Delete"),l(),t(13,`
141            `),w(),t(14,`
142        `),l(),t(15,`
143    `)}}var Et=(()=>{let s=class s{get segmentPostPictures(){return this.selectedPhotoSource==="clubPhotos"?this.postPictures:this.postPicturesFavorites}constructor(e,i){this.clubPhotoService=e,this.siteDataService=i,this.unsubscribe$=new B,this.unsubscribeFavorites$=new B,this.selectedPhotoSource="clubPhotos",this.photoSourceOptions=[{label:"Club Photos",value:"clubPhotos"},{label:"Favorites",value:"favorites"}],this.selectedPictures=[],this.showPicture=!1,this.dd=ut,this.favoritesChanged=!0,this.multiSelectMode=!1,this.rows=18,this.modalLoading=!1,this.page=1,this.loading=!0,this.pageFavorites=1,this.loadingFavorites=!0,this.showDeleteDialog=!1,this.deleteMessage="",this.isMultiDelete=!1}ngOnInit(){this.clubPhotoService.getTeams().pipe(k(this.unsubscribe$)).subscribe({next:e=>{this.teams=e,this.siteDataService.hideSiteLoader()}}),this.getData()}refreshPosts(e){this.loading=!0,this.page=1,this.getData(e)}refreshPostsFavorite(e){this.loadingFavorites=!0,this.pageFavorites=1,this.getDataFavorites(e)}getData(e,i=!1){this.clubPhotoService.getPostPictures(!1,this.page,this.rows,this.teamID).pipe(k(this.unsubscribe$)).subscribe({next:r=>{this.totalCount=r.count,this.page>1?this.postPictures.push(...r.results):this.postPictures=[...r.results],i&&(this.currentPicture=r.results[0],this.currentPicture.hasNext=!0,this.currentPicture.hasPrevious=!0,this.modalLoading=!1),this.setPreviousAndNextValues(this.postPictures),e&&e.target.complete(),this.loading=!1}})}getDataFavorites(e,i=!1){this.clubPhotoService.getPostPictures(!0,this.pageFavorites,this.rows,this.teamID).pipe(k(this.unsubscribeFavorites$)).subscribe({next:r=>{this.totalCountFavorites=r.count,this.pageFavorites>1?this.postPicturesFavorites.push(...r.results):this.postPicturesFavorites=r.results,i&&(this.currentPicture=r.results[0],this.currentPicture.hasNext=!0,this.currentPicture.hasPrevious=!0,this.modalLoading=!1),this.setPreviousAndNextValues(this.postPicturesFavorites),e&&e.target.complete(),this.loadingFavorites=!1}})}setPreviousAndNextValues(e){e.map((i,r)=>{r<this.totalCount-1&&(i.hasNext=!0),r!==0&&(i.hasPrevious=!0)})}loadMore(e,i=!1){this.page++,this.getData(e,i)}loadMoreFavorites(e,i=!1){this.pageFavorites++,this.getDataFavorites(e,i)}openPicture(e){this.multiSelectMode||(this.currentPicture=e,this.showPicture=!0)}teamChange(e){this.teamID=e,this.selectedPhotoSource==="clubPhotos"?(this.refreshPosts(null),this.favoritesChanged=!0):(this.refreshPostsFavorite(null),this.refreshPosts(null))}onPhotoSourceChange(e){this.selectedPhotoSource=e,this.resetMultiSelect(),this.selectedPhotoSource==="favorites"&&this.favoritesChanged&&(this.refreshPostsFavorite(null),this.favoritesChanged=!1)}multiSelect(){this.multiSelectMode?this.resetMultiSelect():this.multiSelectMode=!0}resetMultiSelect(){this.multiSelectMode=!1,this.selectedPictures=[]}pictureSelected(e,i){e?this.selectedPictures.some(r=>r.postPictureID===i)||this.selectedPictures.push(this.segmentPostPictures.find(r=>r.postPictureID===i)):this.selectedPictures=this.selectedPictures.filter(r=>r.postPictureID!==i)}isPictureSelected(e){return this.selectedPictures?.some(i=>i.postPictureID===e)}closePictureModal(){this.showPicture=!1,this.currentPicture=void 0,this.currentPictureIndex=void 0}favoriteSelected(){let e=[];this.selectedPictures.filter(i=>
143i.favorite===!1).forEach(i=>{e.push(i.postPictureID)}),this.clubPhotoService.favoritePictures(e).subscribe({next:()=>{e.forEach(i=>{this.setFavoriteStatusSegment(i,!0)}),this.favoritesChanged=!0}}),this.multiSelectMode&&(this.multiSelectMode=!1)}toggleFavoriteIcon(e,i){e.stopPropagation(),this.toggleFavorite(i)}toggleFavorite(e){e.favorite?this.removeFavorite(e.postPictureID):this.favorite(e.postPictureID)}favorite(e){this.clubPhotoService.favoritePicture(e).subscribe({next:()=>{this.setFavoriteStatusSegment(e,!0),this.favoritesChanged=!0}})}setFavoriteStatusSegment(e,i){this.segmentPostPictures.find(r=>r.postPictureID===e).favorite=i}setFavoriteStatus(e,i){let r=this.postPictures.find(h=>h.postPictureID===e);r&&(r.favorite=i)}removeFavoriteSelected(){this.selectedPictures.forEach(e=>{this.clubPhotoService.deleteFavoritePicture(e.postPictureID).subscribe({next:()=>{this.selectedPhotoSource==="clubPhotos"?(this.setFavoriteStatus(e.postPictureID,!1),this.favoritesChanged=!0):this.removeSegmentPicture(e.postPictureID)}})}),this.multiSelectMode&&(this.multiSelectMode=!1)}removeFavorite(e){this.clubPhotoService.deleteFavoritePicture(e).subscribe({next:()=>{this.selectedPhotoSource==="clubPhotos"?(this.setFavoriteStatus(e,!1),this.favoritesChanged=!0):this.removeSegmentPicture(e)}})}deletePictures(){this.selectedPictures.forEach(e=>{this.clubPhotoService.deletePostPicture(e.postPictureID).subscribe({next:()=>{this.removePicture(e.postPictureID)}})}),this.multiSelectMode&&(this.multiSelectMode=!1)}deletePicture(e){this.clubPhotoService.deletePostPicture(e).subscribe({next:()=>{this.removePicture(e)}}),this.showPicture=!1}removeSegmentPicture(e){let i=this.segmentPostPictures.findIndex(r=>r.postPictureID===e);this.segmentPostPictures.splice(i,1),this.selectedPhotoSource==="clubPhotos"&&this.postPictures.length<this.rows?this.loadMore(null):this.postPicturesFavorites.length<this.rows&&this.loadMoreFavorites(null)}removePicture(e){if(this.postPictures){let i=this.postPictures.findIndex(r=>r.postPictureID===e);i>=0&&(this.postPictures.splice(i,1),this.postPictures.length<this.rows&&this.loadMore(null))}if(this.postPicturesFavorites){let i=this.postPicturesFavorites.findIndex(r=>r.postPictureID===e);i>=0&&(this.postPicturesFavorites.splice(i,1),this.postPicturesFavorites.length<this.rows&&this.loadMoreFavorites(null))}}showDeleteAlert(e=!1){let i="Are you sure you want to delete";if(this.isMultiDelete=e,e){let r=this.selectedPictures.length;r===1?this.deleteMessage=`${i} ${r} photo?`:this.deleteMessage=`${i} ${r} photos?`}else this.deleteMessage=`${i} this photo?`;this.showDeleteDialog=!0}confirmDelete(){this.isMultiDelete?this.deletePictures():this.deletePicture(this.currentPicture.postPictureID),this.showDeleteDialog=!1,this.isMultiDelete=!1}goToNext(){let e=this.segmentPostPictures.findIndex(i=>i.postPictureID===this.currentPicture.postPictureID);this.modalLoading=!0,this.segmentPostPictures.length-1===e?this.selectedPhotoSource==="clubPhotos"?this.loadMore(void 0,!0):this.loadMoreFavorites(void 0,!0):(this.currentPicture=this.segmentPostPictures[e+1],this.modalLoading=!1)}goToPrevious(){this.modalLoading=!0;let e=this.segmentPostPictures.findIndex(i=>i.postPictureID===this.currentPicture.postPictureID);this.currentPicture=this.segmentPostPictures[e-1],this.modalLoading=!1}onImageLoad(e,i){e.loaded=!0;let r=i.target;if(r&&(e.width=r.naturalWidth,e.height=r.naturalHeight),e.picture){let d=new URL(e.picture).pathname,L=d.substring(d.lastIndexOf("/")+1);e.fileName=L||"undefined"}}downloadPicture(e){let i=document.createElement("a");i.href=e.picture,i.download=e.fileName||`photo-${e.postPictureID}.jpg`,i.target="_blank",document.body.appendChild(i),i.click(),document.body.removeChild(i)}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete(),this.unsubscribeFavorites$.next(),this.unsubscribeFavorites$.complete()}};s.\u0275fac=function(i){return new(i||s)($(O),$(pt))},s.\u0275cmp=Q({type:s,selectors:[["app-club-photo"]],standalone:!1,decls:59,vars:26,consts:[["skeleton_2",""],["noPictures_2",""],["id","main"],["pageTitle","Club Photos",3,"showBackButton"],[1,"my-3"],[1,"full-width","d-flex","justify-content-center"],["optionLabel","label","optionValue","value",3,"ngModelChange","onChange","options","ngModel","allowEmpty"],["alertType","info",3,"iconClass"],[1,"border-all","border-radius","border-thick","py-2","px-3","my-3"],[3,"adminFilterReset","hideSearch","showAdvanced"],["primary",""],[1,"col","pr-0"],["for","teamSelect",1,"sr-only"],["placeholder","All Teams","optionLabel","name","optionValue","teamID","styleClass","full-width","appendTo","body",3,"ngModelChange","onChange","inputId","options","ngModel","showClear","filter"],["advanced",""],["header","Club Photo","styleClass","largeWidthDialog",3,"visibleChange","onHide","visible","showHeader","closable","modal","draggable"],["header","Confirm Delete",3,"visibleChange","visible","modal","closable"],["pTemplate","footer"],[1,"border-top","my-3","d-flex","justify-content-center","align-items-center"],[1,"btn","btn-primary","px-5",3,"click","disabled"],[1,"px-5"],[1,"grid-wrapper"],[1,"ph
143oto-wrapper",3,"ngStyle"],[1,"photo-view-options","bg-secondary"],[1,"btn","btn-sm","btn-primary",3,"click"],[1,"btn","btn-sm","mx-2",3,"click"],[1,"fa-heart"],[1,"sr-only"],[1,"btn","btn-sm",3,"click"],[1,"text-small","line-clamp-1","club-photo-description","mt-2"],[1,"photo-favorite"],["src","assets/img/team-photos/favorite-bookmark.png"],[1,"photo-selection"],[1,"form-check-label","ms-2","mb-0",3,"for"],[1,"form-check","d-flex","align-items-center"],[1,"form-check-input",3,"onChange","inputId","name","ngModel","binary"],["image","group",3,"text"],[1,"border-top","my-3"],[1,"btn","btn-primary",3,"click","disabled"],[1,"btn",3,"click"],[1,"photo-wrapper",3,"click","ngStyle"],[1,"row"],[1,"col-3"],[1,"card","settings-card"],[1,"col"],[3,"load","src"],[1,"text-small","text-grey-lt","mb-3"],[1,"mt-3"],[1,"btn-a11y","text-primary-link","text-small","d-block","mb-2",3,"click"],[1,"fa-heart","mr-2","icon-wrapper"],[1,"fas","fa-download","mr-2","icon-wrapper"],[1,"btn-a11y","text-primary-link","text-small","text-red","d-block",3,"click"],[1,"fal","fa-trash","mr-2","icon-wrapper"],[1,"text-small","mb-2"],[1,"fw-600"],["slot","secondary"],["type","button",1,"btn","btn-naked",3,"click"],["slot","primary"],["type","button",1,"btn","btn-red",3,"click"]],template:function(i,r){i&1&&(a(0,"main",2),t(1,`
144    `),a(2,"app-admin-header",3),t(3,`
145    `),l(),t(4,`
146
147    `),a(5,"div",4),t(6,`
148        `),a(7,"div",5),t(8,`
149            `),a(9,"p-selectButton",6),E("ngModelChange",function(d){return D(r.selectedPhotoSource,d)||(r.selectedPhotoSource=d),d}),m("onChange",function(d){return r.onPhotoSourceChange(d.value)}),t(10,`
150            `),l(),t(11,`
151        `),l(),t(12,`
152    `),l(),t(13,`
153    `),a(14,"app-inline-alert",7),t(15,`
154       `),a(16,"strong"),t(17,"Important"),l(),t(18,`: By sharing
155        photos from this platform, you confirm that the club has obtained the necessary permissions from individuals (or
156        their guardians) appearing in the images.
157    `),l(),t(19,`
158    `),a(20,"div",8),t(21,`
159        Use this tool to monitor and review all photos uploaded through team chat. You can choose to share selected
160        images for club use or remove any that shouldn't appear in the app. 
161    `),l(),t(22,`
162
163    `),t(23,`
164
165    `),a(24,"app-admin-filter",9),m("adminFilterReset",function(){return r.teamChange(void 0)}),t(25,`
166        `),S(26,10),t(27,`
167            `),a(28,"div",11),t(29,`
168                `),a(30,"label",12),t(31,`
169                    `),a(32,"span"),t(33,`
170                        Teams
171                    `),l(),t(34,`
172                `),l(),t(35,`
173                `),a(36,"p-multiSelect",13),E("ngModelChange",function(d){return D(r.teamID,d)||(r.teamID=d),d}),m("onChange",function(d){return r.teamChange(d.value)}),t(37,`
174                `),l(),t(38,`
175            `),l(),t(39,`
176        `),w(),t(40,`
177        `),S(41,14),t(42,`
178        `),w(),t(43,`
179    `),l(),t(44,`
180
181    `),P(45,$t,3,1)(46,qt,6,1),l(),t(47,`
182`),a(48,"p-dialog",15),E("visibleChange",function(d){return D(r.showPicture,d)||(r.showPicture=d),d}),m("onHide",function(){return r.closePictureModal()}),t(49,`
183    `),P(50,ee,16,2),l(),t(51,`
184`),a(52,"p-dialog",16),E("visibleChange",function(d){return D(r.showDeleteDialog,d)||(r.showDeleteDialog=d),d}),t(53,`
185    `),a(54,"p"),t(55),l(),t(56,`
186    `),V(57,ie,16,0,"ng-template",17),t(58,`
187`),l()),i&2&&(c(2),p("showBackButton",!0),c(7),p("options",r.photoSourceOptions),F("ngModel",r.selectedPhotoSource),p("allowEmpty",!1),c(5),p("iconClass","fas fa-triangle-exclamation"),c(10),p("hideSearch",!0)("showAdvanced",!1),c(12),p("inputId","teamSelect")("options",r.teams),F("ngModel",r.teamID),p("showClear",!0)("filter",!0),c(9),f(r.selectedPhotoSource==="clubPhotos"?45:46),c(3),F("visible",r.showPicture),p("showHeader",!0)("closable",!0)("modal",!0)("draggable",!1),c(2),f(r.currentPicture?50:-1),c(2),X(tt(25,Mt)),F("visible",r.showDeleteDialog),p("modal",!0)("closable",!0),c(3),v(r.deleteMessage))},dependencies:[it,at,lt,ct,vt,ht,St,wt,yt,Ct,mt,xt,Pt,gt,ot,nt,bt],styles:['.grid-wrapper[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:1rem;justify-content:flex-start}.photo-wrapper[_ngcontent-%COMP%]{position:relative;overflow:hidden;background-position:center;background-size:contain;background-repeat:no-repeat;
187width:200px;height:200px;background-color:var(--grey-200);display:flex;align-items:center;justify-content:center}.photo-wrapper.selected[_ngcontent-%COMP%]{opacity:.75;background-color:#00000080;background-blend-mode:multiply}.photo-wrapper[_ngcontent-%COMP%]   .photo-view-options[_ngcontent-%COMP%]{border:var(--border);border-radius:var(--border-radius);padding:.25rem;opacity:0;transition:opacity .1s linear}.photo-wrapper[_ngcontent-%COMP%]:hover   .photo-view-options[_ngcontent-%COMP%]{opacity:1}.photo-favorite[_ngcontent-%COMP%]{position:absolute;bottom:.25rem;right:.5rem}.photo-selected[_ngcontent-%COMP%]{position:absolute;top:.25rem;left:.5rem}.like-indicator[_ngcontent-%COMP%], .liked-comment[_ngcontent-%COMP%]{color:var(--ion-color-danger-tint)}  .ionic-selectable-value-item{display:inline;white-space:unset!important;font-size:var(--text-small);margin-bottom:0!important}  .ionic-selectable-value-item:not(:last-child):after{content:","}  .ionic-selectable-value span{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}  ion-item.photo-selection{--background: transparent;background:transparent;align-items:flex-start;min-height:100px;overflow:hidden}  ion-item.photo-selection::part(native){height:100%}  ion-item.photo-selection ion-label{min-height:100px}.club-photo-description[_ngcontent-%COMP%]{max-width:200px}.icon-wrapper[_ngcontent-%COMP%]{width:1.25rem}']});let o=s;return o})();var ne=[{path:"",canActivate:[_t],component:Et,data:{pageTitle:"Club Photos",Analytics:!0,Title:"Club Photo Page"}}],It=(()=>{let s=class s{};s.\u0275fac=function(i){return new(i||s)},s.\u0275mod=T({type:s}),s.\u0275inj=M({imports:[Y.forChild(ne),Y]});let o=s;return o})();var Re=(()=>{let s=class s{};s.\u0275fac=function(i){return new(i||s)},s.\u0275mod=T({type:s}),s.\u0275inj=M({providers:[O],imports:[rt,st,It,Ft,ft]});let o=s;return o})();export{Re as ClubPhotoPageModule};

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.