PageSourceSearch

https://brunswickcommunitygarden.org/chunk-TE2VV3XJ.js

js brunswickcommunitygarden.org collected 2026-10-04 04:50:12 UTC 7,475 bytes, 1 lines download raw bytes

1import{i as z}from"./chunk-47PYUJVP.js";import"./chunk-5OJALBHH.js";import"./chunk-5QGGL6VJ.js";import{b as S}from"./chunk-COVAZGM3.js";import{fa as O,ua as y}from"./chunk-UT3T4CPM.js";import"./chunk-CVAHDBKT.js";import{Dc as C,Ea as d,Ec as s,F as k,Fa as p,Ob as v,Tc as m,Vc as b,cc as P,dc as h,fc as M,pc as u,qc as _,rc as f,sc as a,tc as c,ua as g,yb as r,yc as x}from"./chunk-LBMBSTLT.js";import"./chunk-GAL4ENT6.js";function I(o,l){if(o&1&&(a(0,"th",3),m(1),c()),o&2){let t=l.$implicit;h("title",t.standard_component),r(),b(" ",t.standard_component," ")}}function T(o,l){if(o&1){let t=x();a(0,"td",8),C("mouseenter",function(){let e=d(t).$implicit,i=s(2);return p(i.highlightColumn=e)})("mouseleave",function(){d(t);let e=s(2);return p(e.highlightColumn=null)}),m(1),c()}if(o&2){let t=l.$implicit,n=s().$implicit,e=s();M("highlight",e.highlightRow===n.club_id||e.highlightColumn===t)("non-zero",t.count>0),h("title",t+": "+t.count),P("data-count",t.count),r(),b(" ",t.count," ")}}function B(o,l){if(o&1){let t=x();a(0,"tr",5),C("mouseenter",function(){let e=d(t).$implicit,i=s();return p(i.highlightRow=e.club_id)})("mouseleave",function(){d(t);let e=s();return p(e.highlightRow=null)}),a(1,"td",6),m(2),c(),_(3,T,2,7,"td",7,u),c()}if(o&2){let t=l.$implicit;
1r(),h("title",t.club_name),r(),b(" ",t.club_name," "),r(),f(t.standard_component)}}var X=(()=>{class o{constructor(){this.apiService=g(S),this.communicationService=g(y),this.formHelperService=g(z),this.clubs=[],this.customPages=[],this.clubComponentCounts=[],this.distinctComponents=[],this.clubSummaries=[],this.highlightRow=null,this.highlightColumn=null,this.kbComponents=O.standard_component_setup}ngOnInit(){this.communicationService.setPageLoadingMessage(!0),this.getData()}getData(){let t=this.apiService.getData("kb_clubs",!1,[],""),n=this.apiService.getData("kb_custom_pages",!1,[],"");k([t,n]).subscribe({next:([e,i])=>{e.statusCode=="Success"&&e.data&&e.data.Items&&(this.clubs=this.formHelperService.sortArrayText(e.data.Items,"club_name")),i.statusCode=="Success"&&i.data&&i.data.Items&&(this.customPages=i.data.Items,this.customPages=this.customPages.filter(w=>w.standard_component&&w.standard_component!="--"),this.consolidateData()),this.communicationService.setPageLoadingMessage(!1)}})}consolidateData(){this.customPages.length>0&&this.clubs.length>0&&(this.distinctComponents=this.kbComponents.map(t=>({standard_component:t.id,count:0})),this.distinctComponents=this.formHelperService.sortArrayText(this.distinctComponents,"standard_component"),this.clubs.forEach(t=>{t.standard_component=structuredClone(this.distinctComponents),t.standard_component.forEach(n=>{if(n.count=this.customPages.filter(e=>e.club_id==t.club_id&&e.standard_component==n.standard_component).length,n.count>0){let e=this.distinctComponents.find(i=>i.standard_component==n.standard_component);e&&(e.count=e.count+n.count)}})})),this.clubs.push({club_id:"all",club_name:"Total",standard_component:this.distinctComponents})}static{this.\u0275fac=function(n){return new(n||o)}}static{this.\u0275cmp=v({type:o,selectors:[["app-kookie-byte-usage"]],decls:11,vars:0,consts:[[1,"table-container"],[1,"component-table"],[1,"sticky-header","club-header"],[1,"sticky-header","component-header",3,"title"],[1,"club-row"],[1,"club-row",3,"mouseenter","mouseleave"],[1,"sticky-cell","club-name",3,"title"],[1,"component-cell",3,"highlight","non-zero","title"],[1,"component-cell",3,"mouseenter","mouseleave","title"]],template:function(n,e){n&1&&(a(0,"div",0)(1,"table",1)(2,"thead")(3,"tr")(4,"th",2),m(5,"Club Name"),c(),_(6,I,2,2,"th",3,u),c()(),a(8,"tbody"),_(9,B,5,2,"tr",4,u),c()()()),n&2&&(r(6),f(e.distinctComponents),r(3),f(e.clubs))},styles:['.table-container[_ngcontent-%COMP%]{max-height:80vh;overflow:auto;border:1px solid #ddd;position:relative}.component-table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}.sticky-header[_ngcontent-%COMP%]{position:sticky;top:0;background:#f8f9fa;z-index:10;border-bottom:2px solid #dee2e6;padding:12px 8px;font-weight:600;text-align:center;height:120px;vertical-align:bottom}.club-header[_ngcontent-%COMP%]{left:0;z-index:20;
1min-width:200px;background:#e9ecef;border-right:2px solid #dee2e6;height:120px;vertical-align:bottom}.component-header[_ngcontent-%COMP%]{min-width:20px;max-width:20px;white-space:nowrap;overflow:visible;text-overflow:unset;font-size:.8em;padding:12px 4px;transform:rotate(-90deg) translate(-40px);transform-origin:center;background:#f8f9fa;height:120px;-webkit-transform:rotate(-90deg) translateX(-40px);-moz-transform:rotate(-90deg) translateX(-40px);-ms-transform:rotate(-90deg) translateX(-40px);-o-transform:rotate(-90deg) translateX(-40px)}.club-row[_ngcontent-%COMP%]{transition:background-color .2s ease}.club-row[_ngcontent-%COMP%]:hover{background-color:#f8f9fa}.sticky-cell[_ngcontent-%COMP%]{position:sticky;left:0;background:#fff;z-index:500;border-right:2px solid #dee2e6;font-weight:500;padding:8px 12px}.club-name[_ngcontent-%COMP%]{min-width:200px;background:#f8f9fa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;z-index:500}.component-cell[_ngcontent-%COMP%]{text-align:center;padding:8px 4px;min-width:40px;max-width:40px;border:1px solid #dee2e6;font-size:.9em;transition:all .2s ease;cursor:default}.component-cell.highlight[_ngcontent-%COMP%]{background-color:#007bff;color:#fff;font-weight:700;transform:scale(1.05);z-index:1;position:relative}.club-row[_ngcontent-%COMP%]:hover   .component-cell[_ngcontent-%COMP%]{background-color:#f1f3f4}.component-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]{height:120px}.component-table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .component-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{vertical-align:middle}tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]{position:relative}.table-container[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px;height:8px}.table-container[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#f1f1f1}.table-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}.table-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.component-cell[data-count="0"][_ngcontent-%COMP%]{background-color:#f8f9fa;color:#6c757d}.component-cell[data-count="1"][_ngcontent-%COMP%]{background-color:#d4edda;color:#155724}.component-cell[data-count="2"][_ngcontent-%COMP%]{background-color:#c3e6cb;color:#155724}.component-cell[data-count="3"][_ngcontent-%COMP%]{background-color:#b1dfbb;color:#155724}.component-cell[data-count="4"][_ngcontent-%COMP%]{background-color:#8fd19e;color:#155724}.component-cell[data-count="5"][_ngcontent-%COMP%]{background-color:#6bcb7f;color:#155724}.component-cell.non-zero[_ngcontent-%COMP%]{font-weight:600}.sticky-cell[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0;right:-2px;bottom:0;width:4px;background:linear-gradient(to right,rgba(0,0,0,.1),transparent);pointer-events:none}.sticky-header[_ngcontent-%COMP%]:after{content:"";position:absolute;left:0;bottom:-4px;right:0;height:4px;background:linear-gradient(to bottom,rgba(0,0,0,.1),transparent);pointer-events:none}@media(max-width:768px){.component-header[_ngcontent-%COMP%]{min-width:60px;max-width:60px;font-size:.7em;padding:8px 2px}.component-cell[_ngcontent-%COMP%]{min-width:60px;max-width:60px;font-size:.8em;padding:6px 2px}.club-name[_ngcontent-%COMP%]{min-width:150px;font-size:.9em}}']})}}return o})();export{X as KookieByteUsageComponent};

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.