1import{a as vn,b as Ro}from"./chunk-MNOARO7C.js";import{a as pn,b as Po,c as fn,d as ko}from"./chunk-XUHVJLJL.js";import{a as mn,b as Oo,c as dn,e as vo,f as un,g as wo}from"./chunk-USQ2EHT7.js";import{c as hn,d as So}from"./chunk-NFJGITMO.js";import"./chunk-REHMLE6Y.js";import{d as sn,e as Mo,f as cn,g as xo}from"./chunk-WQQCBSEJ.js";import{a as To,b as it,c as Vt,d as at,e as Lt,f as Mn,g as Fo}from"./chunk-OXM2FE3P.js";import{a as xn,b as Do}from"./chunk-2B6GFCBE.js";import{a as en,b as fo}from"./chunk-QHBESMTQ.js";import{a as nn,b as _o}from"./chunk-YLBX7FR5.js";import{a as Ye,b as mo}from"./chunk-JRVVO63F.js";import{a as yn,b as Bo}from"./chunk-SZSKSDBR.js";import{a as On,b as Eo}from"./chunk-U422Q7YG.js";import{a as xt,b as Ke}from"./chunk-MFL3LMGU.js";import{b as _n,c as bn,d as Cn}from"./chunk-YKHJQTOI.js";import"./chunk-M2EAWUQX.js";import{a as tn,b as uo,c as gn,d as yo}from"./chunk-T67S2USX.js";import{a as Bt}from"./chunk-ZLNY7A6L.js";import{c as nt,d as X,e as Me,g as k,h as It,i as ot,j as N,k as xe}from"./chunk-WWNSM7UW.js";import{a as on,b as bo,c as an,d as rn,e as Co}from"./chunk-IWJDSMX4.js";import"./chunk-5HNWW5MG.js";import"./chunk-TYJ4HJIJ.js";import{a as Pn,b as Ao,g as rt,i as Io}from"./chunk-NLZE43PC.js";import"./chunk-YM3VPUNN.js";import"./chunk-4QGM67DF.js";import{l as wn,m as zo}from"./chunk-LBLIDEHG.js";import{a as kn,d as Vo}from"./chunk-MLDQGLV3.js";import"./chunk-YABQVWC2.js";import"./chunk-LC7ZYPBN.js";import"./chunk-4GPYGHJK.js";import{a as ye,b as lo}from"./chunk-NTZFLOG2.js";import"./chunk-PCGXTOGH.js";import"./chunk-WAHPR6JB.js";import{c as ht,i as Pe}from"./chunk-G7ARJLVH.js";import"./chunk-UTU2LVC7.js";import{a as ln,b as ho}from"./chunk-T64L6OM5.js";import"./chunk-XEOIY7VN.js";import{a as Qe,b as po}from"./chunk-VDYNYDK2.js";import{a as Ue,b as so}from"./chunk-34S2BDAK.js";import"./chunk-Y2SYNOXE.js";import"./chunk-GHLY3YT4.js";import"./chunk-HQV52MLY.js";import"./chunk-LH4FVNIG.js";import"./chunk-UK2YMVU6.js";import"./chunk-HTUIQANU.js";import"./chunk-VR2H7I62.js";import"./chunk-ZWYP6E3M.js";import"./chunk-TC6G7JWX.js";import{a as Je,b as go}from"./chunk-SNQAZ3GA.js";import{a as He,b as Ze,c as Ge}from"./chunk-G4YASSFN.js";import"./chunk-VG4K7COB.js";import{j as Ct,k as fe}from"./chunk-FVAX2YJG.js";import"./chunk-N7HTTPCK.js";import"./chunk-N4NF5KVL.js";import{a as Se,c as Te,f as Ne,g as We,h as Xe}from"./chunk-M6ACP35X.js";import{B as Be,G as ze,H as Ve,I as Le,J as je,a as we,h as ke,l as Fe,n as zt,q as De,r as Ee,v as Re,w as Ae,y as Ie}from"./chunk-WC2CKHOB.js";import{a as _e,b as io}from"./chunk-FF3F6YYV.js";import"./chunk-FPQYBK6F.js";import{a as Mt,b as qe}from"./chunk-LJFGDOBG.js";import{a as $e,b as co}from"./chunk-Z4SAAZM2.js";import"./chunk-THN4KKC6.js";import{$ as bt,M as de,N as E,O as R,P as A,S as pe,Sb as K,T as _t,Tb as tt,Ub as et,Vb as Oe,W as ge,Wb as ve,Yb as ro,_ as ue,eb as be,h as ft,lb as Ce,mb as ao,n as ce,pb as J,r as me,rb as he,s as L,sb as I,tb as B,v as j}from"./chunk-LVRX3BXC.js";import{$b as Tt,$c as b,Bb as Kt,Cb as G,Dc as oe,Ea as $t,Ec as ie,Fa as v,Fc as ae,Ga as P,Kc as g,Lc as M,Mb as x,Mc as w,Nb as te,Nc as re,Oc as Ft,P as ct,Pc as Dt,Qa as V,Qc as Et,Ra as qt,Rc as Y,Sb as _,Sc as lt,Tc as st,U as mt,Ua as Yt,Va as Qt,Vc as Q,Wc as F,Xc as le,Zb as ee,_b as l,_c as f,ac as ne,ad as Rt,bb as Jt,bd as ut,cc as pt,d as S,ec as p,fa as Z,g as oo,gc as gt,hc as U,hd as se,ia as dt,ic as $,jc as a,kc as r,lc as d,ma as Zt,md as At,na as Gt,o as H,p as Ht,pa as Ut,pc as y,sa as u,sd as O,vc as C,xb as o,xc as m,yc as q,zc as T}from"./chunk-D6XKFWGB.js";function Go(e,c){e&1&&(a(0,"div",5),d(1,"app-spinner"),r())}function Uo(e,c){if(e&1&&(a(0,"div",13),d(1,"app-expired-badge",37),r()),e&2){let t=m(2);o(),l("dan",t.card.isActivity(t.currentResult.resultType)&&t.utils.asActivity(t.currentResult).activityType==="DAN")}}function $o(e,c){e&1&&d(0,"div",14)}function qo(e,c){if(e&1&&d(0,"app-image",16),e&2){let t=m(2);l("src",t.bgImage)("mode",t.currentResult.bannerImageMode)}}function Yo(e,c){e&1&&d(0,"div",14)}function Qo(e,c){if(e&1&&d(0,"app-water-badge",19),e&2){let t=m(2);l("orgId",t.currentResult.id)("orgBatchFlags",t.currentResult)}}function Jo(e,c){e&1&&d(0,"app-feda-action-badge")}function Ko(e,c){e&1&&d(0,"div",39)}
1function ti(e,c){if(e&1&&(a(0,"div",38),_(1,Ko,1,0,"div",39),a(2,"app-details-link",8),d(3,"app-card-logo",40),r()()),e&2){let t=m(2);pt(t.currentResult.resultType||""),o(),p(t.showAsExpired(t.currentResult)?1:-1),o(),l("currentResult",t.currentResult),o(),l("logoUrl",t.currentResult.logo)("name",t.currentResult.name)("imageDimensions",Q(7,Wo))}}function ei(e,c){if(e&1&&(a(0,"div",26),d(1,"app-orga-badges",41),r()),e&2){let t=m(2);o(),l("organisation",t.utils.asOrga(t.currentResult))}}function ni(e,c){if(e&1&&d(0,"app-content-row",29),e&2){let t=m(2);l("small",!0)("noDecorator",!0)("content",t.utils.dateRangeString(t.currentResult.period))}}function oi(e,c){if(e&1&&(a(0,"div",27)(1,"h4",28),g(2),f(3,"translate"),r(),a(4,"div",42),d(5,"app-connected-organisation-chips",43),a(6,"a",44),g(7),f(8,"translate"),r()()()),e&2){m();let t=st(31),n=m();o(2),w(" ",b(3,4,"organisationConnections.titles.connected")," "),o(3),l("organisations",t||Q(8,Xo)),o(),l("routerLink",F(9,Ho,n.currentResult.slug)),o(),w(" ",b(8,6,"organisationConnections.buttons.view")," \u203A ")}}function ii(e,c){if(e&1&&(a(0,"div",33),d(1,"app-sdg-icon",45),r()),e&2){let t=c.$implicit;o(),l("goal",t)}}function ai(e,c){if(e&1&&(a(0,"div",33),d(1,"app-sdg-icon",45),r()),e&2){let t=c.$implicit;o(),l("goal",t)}}function ri(e,c){e&1&&(a(0,"div"),g(1),f(2,"translate"),r()),e&2&&(o(),w(" ",b(2,1,"map.buttons.showMore")," "))}function li(e,c){e&1&&(a(0,"div"),g(1),f(2,"translate"),r()),e&2&&(o(),w(" ",b(2,1,"map.buttons.showLess")," "))}function si(e,c){if(e&1){let t=y();a(0,"button",46),C("click",function(){v(t);let i=m(2);return P(i.toggleRemainingSdgs())}),a(1,"div",47),_(2,ri,3,3,"div")(3,li,3,3,"div"),a(4,"div",48)(5,"mat-icon"),g(6,"expand_more"),r()()()()}if(e&2){let t=m(2);o(2),p(t.remainingSdgsVisible?-1:2),o(),p(t.remainingSdgsVisible?3:-1),o(),l("ngClass",F(3,Zo,t.remainingSdgsVisible))}}function ci(e,c){if(e&1&&(a(0,"app-topic"),g(1),f(2,"translate"),r()),e&2){let t=c.$implicit;o(),M(b(2,1,"thematicFocus."+t))}}function mi(e,c){if(e&1&&(a(0,"div",27)(1,"h5",28),g(2),f(3,"translate"),r(),a(4,"p"),g(5),r()()),e&2){let t=m(2);o(2),w(" ",b(3,2,"map.labels.relatedOrganisation")," "),o(3),M(t.currentResult.organisation==null?null:t.currentResult.organisation.name)}}function di(e,c){if(e&1&&(a(0,"header",12),_(1,Uo,2,1,"div",13)(2,$o,1,0,"div",14),a(3,"app-details-link",8)(4,"div",15),_(5,qo,1,2,"app-image",16),r()(),a(6,"div",17),_(7,Yo,1,0,"div",14),d(8,"app-card-label",18),f(9,"translate"),f(10,"translate"),_(11,Qo,1,2,"app-water-badge",19)(12,Jo,1,0,"app-feda-action-badge"),r(),_(13,ti,4,8,"div",20),r(),a(14,"main",21),d(15,"div",22),a(16,"app-details-link",8)(17,"div",23)(18,"h3",24),g(19),r(),a(20,"p",25),g(21),r(),_(22,ei,2,1,"div",26),r()(),a(23,"div",27)(24,"h4",28),g(25),f(26,"translate"),r(),_(27,ni,1,3,"app-content-row",29),d(28,"app-content-row",30)(29,"app-content-row",31),f(30,"translate"),r(),Y(31),_(32,oi,9,11,"div",27),a(33,"div",27)(34,"h4",28),g(35),f(36,"translate"),r(),a(37,"div",32,0),U(39,ii,2,1,"div",33,gt),r(),a(41,"div",34),U(42,ai,2,1,"div",33,gt),r(),_(44,si,7,5,"button",35),r(),a(45,"div",27)(46,"h5",28),g(47),f(48,"translate"),r(),a(49,"div",36),U(50,ci,3,3,"app-topic",null,gt),r()(),_(52,mi,6,4,"div",27),r()),e&2){let t=m();o(),p(t.showAsExpired(t.currentResult)?1:-1),o(),p(t.showAsExpired(t.currentResult)?2:-1),o(),l("currentResult",t.currentResult),o(2),p(t.bgImage?5:-1),o(),l("ngClass",F(44,No,!t.currentResult.logo)),o(),p(t.showAsExpired(t.currentResult)?7:-1),o(),l("type",t.currentResult.resultType)("dan",t.currentResult.resultType==="DAN")("activityTypeLabel",b(9,31,"activityType.DAN"))("organisationTypeLabel",b(10,33,"organisationType."+t.currentResult.organisationType)),o(3),p(t.currentResult.resultType==="ORGANISATION"?11:-1),o(),p(t.utils.isFedaAktion(t.currentResult)?12:-1),o(),p(t.currentResult.logo?13:-1),o(3),l("currentResult",t.currentResult),o(3),M(t.currentResult.name),o(2),M(t.utils.excerpt(t.currentResult.description)),o(),p(t.card.isOrga(t.currentResult.resultType)?22:-1),o(3),M(b(26,35,"map.labels.info")),o(2),p(t.currentResult.resultType==="DAN"&&t.utils.dateRangeString(t.currentResult.period)?27:-1),o(),l("small",!0)("noDecorator",!0)("content",t.utils.locationString(t.currentResult.location)),o(),l("small",!0)("noDecorator",!0)("content",t.currentResult.impactArea?b(30,37,"impactArea."+t.currentResult.impactArea):""),o(2);let n=lt(t.currentResult.connectedOrganisations);o(),p(n!=null&&n.length?32:-1),o(3),M(b(36,40,"map.labels.sdgs")),o(4),$(t.utils.limitedSdgs(t.currentResult.sustainableDevelopmentGoals)),o(2),l("@openClose",t.remainingSdgsVisible?"open":"closed"),o(),$(t.utils.remainingSdgs(t.currentResult.sustainableDevelopmentGoals)),o(2),p(t.utils.remainingSdgs(t.currentResult.sustainableDevelopmentGoals).length?44:-1),o(3),M(b(48,42,"map.labels.thematicFocus")),o(3),$(t.currentResult.thematicFocus),o(2),p(t.currentResult.resultType==="DAN"&&(t.currentResult.organisation!=null&&t.currentResult.organisation.name)?52:-1)}}
1function pi(e,c){if(e&1&&d(0,"app-organisation-subscription-action",10),e&2){let t=m();l("short",!0)("stroked",!0)("organisation",t.utils.asOrga(t.currentResult))}}function gi(e,c){if(e&1&&d(0,"app-activity-subscription-action",11),e&2){let t=m();l("short",!0)("stroked",!0)("activity",t.utils.asActivity(t.currentResult))}}var Lo,jo,No,Wo,Xo,Ho,Zo,vt,Nt=S(()=>{"use strict";O();bt();dt();uo();Bt();Lt();qe();j();B();et();A();Fo();yo();mo();po();Do();fo();_o();Eo();Co();Ro();ro();Vt();Ke();wo();Oo();vo();O();j();B();et();A();bt();Lo=e=>({mobile:e}),jo=e=>({"mat-elevation-z8":e}),No=e=>({noLogo:e}),Wo=()=>({width:56,height:56}),Xo=()=>[],Ho=e=>["/organisations",e],Zo=e=>({open:e});vt=(()=>{class e{constructor(){this.mapService=u(it),this.route=u(_t),this.card=u(tn),this.utils=u(Mt),this.marker=u(at),this.mobile=Yt(!1),this.currentResult=void 0,this.remainingSdgsVisible=!1,this.unsubscribe$=new H,this.route.queryParams.subscribe(t=>{t.type&&t.id&&this.mapService.getEntryByIdAndType(t.type,+t.id)}),ve(this.mapService.currentResult).pipe(Oe()).subscribe(t=>{this.currentResult=t||void 0})}get bgImage(){return this.currentResult?.image}getActivityType(t){return t&&t.activityType?t?.activityType:""}toggleRemainingSdgs(){this.remainingSdgsVisible=!this.remainingSdgsVisible}close(){this.mapService.closeCard(),this.marker.clearMarkerIcons()}showAsExpired(t){return t?.resultType==="DAN"&&t?this.utils.isExpiredActivity(t.period):!1}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=x({type:e,selectors:[["app-details-card"]],inputs:{mobile:[1,"mobile"]},decls:16,vars:14,consts:[["sdgs",""],[1,"close-button"],["mat-icon-button","",3,"click"],[1,"wrapper",3,"ngClass"],[1,"details",3,"ngClass"],[1,"loader"],[1,"footer"],[1,"info-btn"],[3,"currentResult"],["mat-flat-button","","color","accent"],[3,"short","stroked","organisation"],[3,"short","stroked","activity"],[1,"header"],[1,"expiredBadge"],[1,"expiredOverlay"],[1,"img"],["alt","header",3,"src","mode"],[1,"type",3,"ngClass"],[3,"type","dan","activityTypeLabel","organisationTypeLabel"],[3,"orgId","orgBatchFlags"],[1,"logo",3,"class"],[1,"body"],[1,"deco"],[1,"title-and-desc"],[1,"title"],[1,"desc"],[1,"badge"],[1,"group"],[1,"subtitle"],["icon","calendar_today",3,"small","noDecorator","content"],[3,"small","noDecorator","content"],["icon","location_searching",3,"small","noDecorator","content"],[1,"sdgs"],[1,"sdg"],[1,"sdgs","remaining-sdgs"],["mat-button",""],[1,"thematicFocus"],[3,"dan"],[1,"logo"],[1,"expiredOverlay","logoOverlay"],[3,"logoUrl","name","imageDimensions"],[3,"organisation"],[1,"connections"],[3,"organisations"],["fragment","verbundene-organisationen",1,"connections-link",3,"routerLink"],[3,"goal"],["mat-button","",3,"click"],[1,"sdg-expand-button"],[1,"icon",3,"ngClass"]],template:function(n,i){n&1&&(a(0,"div",1)(1,"button",2),C("click",function(){return i.close()}),a(2,"mat-icon"),g(3,"clear"),r()()(),a(4,"div",3)(5,"div",4),_(6,Go,2,0,"div",5)(7,di,53,46),r(),a(8,"footer",6)(9,"div",7)(10,"app-details-link",8)(11,"button",9),g(12),f(13,"translate"),r()()(),_(14,pi,1,3,"app-organisation-subscription-action",10)(15,gi,1,3,"app-activity-subscription-action",11),r()()),n&2&&(o(4),l("ngClass",F(10,Lo,i.mobile())),o(),l("ngClass",F(12,jo,!i.mobile())),o(),p(i.mapService.hasLoader("details")?6:-1),o(),p(i.currentResult?7:-1),o(3),l("currentResult",i.currentResult),o(2),w(" ",b(13,8,"map.buttons.allInformation")," "),o(2),p(i.card.isOrga(i.currentResult==null?null:i.currentResult.resultType)?14:-1),o(),p((i.currentResult==null?null:i.currentResult.resultType)==="DAN"?15:-1))},dependencies:[L,ft,I,J,be,gn,Mn,en,tt,K,nn,Ye,Qe,xn,R,E,On,rn,an,vn,xt,un,mn,dn,ue,ge],styles:["[_ngcontent-%COMP%]:root{--text-3xl: 4.8rem;--text-xxl: 3.8rem;--text-xl: 3.2rem;--text-lg: 2.4rem;--text-md: 1.8rem;--text-sm: 1.6rem;--text-xs: 1.4rem;--text-xxs: 1.2rem;--text-3xl-lh: 1;--text-xxl-lh: 1;--text-xl-lh: 1.1;--text-lg-lh: 1.3;--text-md-lh: 1.5;--text-sm-lh: 1.5;--text-xs-lh: 1.6;--text-xxs-lh: 1.6}.bg-accent[_ngcontent-%COMP%]{background-color:#dd1367;color:#fff}.bg-primary[_ngcontent-%COMP%]{background-color:#00424a;color:#fff}.bg-magenta[_ngcontent-%COMP%]{background-color:#dd1367;color:#fff}.bg-bordeauxe[_ngcontent-%COMP%]{background-color:#a21942;color:#fff}.bg-yellow[_ngcontent-%COMP%]{background-color:#ffc637;color:#000}.bg-blue-navy[_ngcontent-%COMP%]{background-color:#00424a;color:#fff}.bg-orange[_ngcontent-%COMP%]{background-color:#f1953b;color:#fff}.bg-green[_ngcontent-%COMP%]{background-color:#5fd876;color:#fff}.mat-button.mat-magenta[_ngcontent-%COMP%]{color:#dd1367}.mat-flat-button.mat-magenta[_ngcontent-%COMP%], .mat-raised-button.mat-magenta[_ngcontent-%COMP%]{background-color:#dd1367;color:#fff}.mat-flat-button.mat-button-disabled.mat-magenta[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-magenta[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.mat-button.mat-bordeauxe[_ngcontent-%COMP%]{color:#a21942}.mat-flat-button.mat-bordeauxe[_ngcontent-%COMP%], .mat-raised-button.mat-bordeauxe[_ngcontent-%COMP%]{background-color:#a21942;color:#fff}.mat-flat-button.mat-button-disabled.mat-bordeauxe[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-bordeauxe[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.mat-button.mat-yellow[_ngcontent-%COMP%]{color:#ffc637}.mat-flat-button.mat-yellow[_ngcontent-%COMP%], .mat-raised-button.mat-yellow[_ngcontent-%COMP%]{background-color:#ffc637;color:#000}.mat-flat-button.mat-button-disabled.mat-yellow[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-yellow[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.mat-button.mat-blue-navy[_ngcontent-%COMP%]{color:#00424a}.mat-flat-button.mat-blue-navy[_ngcontent-%COMP%], .mat-raised-button.mat-blue-navy[_ngcontent-%COMP%]{background-color:#00424a;color:#fff}.mat-flat-button.mat-button-disabled.mat-blue-navy[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-blue-navy[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.mat-button.mat-orange[_ngcontent-%COMP%]{color:#f1953b}.mat-flat-button.mat-orange[_ngcontent-%COMP%], .mat-raised-button.mat-orange[_ngcontent-%COMP%]{background-color:#f1953b;color:#fff}.mat-flat-button.mat-button-disabled.mat-orange[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-orange[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.mat-button.mat-green[_ngcontent-%COMP%]{color:#5fd876}.mat-flat-button.mat-green[_ngcontent-%COMP%], .mat-raised-button.mat-green[_ngcontent-%COMP%]{background-color:#5fd876;color:#fff}.mat-flat-button.mat-button-disabled.mat-green[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-green[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}[_nghost-%COMP%]{width:100%;left:0;top:0;bottom:0;z-index:9000;position:absolute;color:#00424a}[_nghost-%COMP%] .close-button[_ngcontent-%COMP%]{position:absolute;top:1.6rem;left:1.6rem;z-index:1000;background-color:#fff;border-radius:50%}[_nghost-%COMP%] .details[_ngcontent-%COMP%]{position:absolute;inset:0 0 70px;background-color:#fff;overflow:auto}[_nghost-%COMP%] .details[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{height:fit-content;width:100%;position:relative;z-index:10}[_nghost-%COMP%] .details[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .img[_ngcontent-%COMP%]{object-fit:cover;width:100%;height:100%;aspect-ratio:3/1}[_nghost-%COMP%] .details[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .expiredBadge[_ngcontent-%COMP%]{position:absolute;z-index:4;bottom:0;left:1.6rem}[_nghost-%COMP%] .details[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .expiredOverlay[_ngcontent-%COMP%]{position:absolute;z-index:2;inset:0;background-color:#ffffffb3}[_nghost-%COMP%] .details[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .expiredOverlay.logoOverlay[_ngcontent-%COMP%]{inset:-2px}[_nghost-%COMP%] .details[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .type[_ngcontent-%COMP%]{padding-inline:1.6rem;height:40px;position:absolute;bottom:-8px;left:10.2rem;z-index:3;display:flex;gap:.8rem}[_nghost-%COMP%] .details[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .type.noLogo[_ngcontent-%COMP%]{left:1.6rem}[_nghost-%COMP%] .details[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .type[_ngcontent-%COMP%] app-water-badge[_ngcontent-%COMP%]{position:absolute;
1left:1.2rem;top:3.6rem}[_nghost-%COMP%] .details[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{height:9.2rem;width:9.2rem;object-fit:cover;border:2px solid #f2f2f2;position:absolute;left:1.6rem;bottom:-6rem;z-index:3}[_nghost-%COMP%] .details[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .logo.ORGANISATION[_ngcontent-%COMP%]{border:2px solid #f1953b}[_nghost-%COMP%] .details[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .logo.ACTIVITY[_ngcontent-%COMP%]{border:2px solid #5fd876}[_nghost-%COMP%] .details[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .logo.DAN[_ngcontent-%COMP%]{border:2px solid #009ee3}[_nghost-%COMP%] .details[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%}[_nghost-%COMP%] .details[_ngcontent-%COMP%] .body[_ngcontent-%COMP%]{padding:8rem 1.6rem 12rem;display:grid;gap:2.4rem;position:relative;overflow:hidden}[_nghost-%COMP%] .details[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .deco[_ngcontent-%COMP%]{opacity:1;position:absolute;background-color:#cde4e8;width:50rem;height:50rem;border-radius:50%;left:-10rem;top:-20rem;transition:opacity .2s}[_nghost-%COMP%] .details[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .title-and-desc[_ngcontent-%COMP%]{padding-top:3.2rem}[_nghost-%COMP%] .details[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-weight:700;position:relative;z-index:10;margin:0;margin-bottom:1.6rem;font-size:2.4rem;line-height:1.3}[_nghost-%COMP%] .details[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%]{position:relative;z-index:10;margin:0;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;hyphens:auto}[_nghost-%COMP%] .details[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .badge[_ngcontent-%COMP%]{margin-top:1.6rem}[_nghost-%COMP%] .details[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%]{font-weight:700;margin:0;position:relative;font-size:1.8rem;line-height:1.5;z-index:10}[_nghost-%COMP%] .details[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .group[_ngcontent-%COMP%]{display:grid;gap:.8rem;position:relative;z-index:10}[_nghost-%COMP%] .details[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .connections[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1.6rem}[_nghost-%COMP%] .details[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .connections[_ngcontent-%COMP%] .connections-link[_ngcontent-%COMP%]{color:#dd1367;font-size:1.6rem;line-height:1.6rem;font-weight:700;text-decoration:none}[_nghost-%COMP%] .details[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .connections[_ngcontent-%COMP%] .connections-link[_ngcontent-%COMP%]:hover{text-decoration:underline}[_nghost-%COMP%] .details[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .sdgs[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(4,minmax(0,120px));gap:.8rem}[_nghost-%COMP%] .details[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .sdgs.remaining-sdgs[_ngcontent-%COMP%]{transition:height .3s;overflow:hidden}[_nghost-%COMP%] .details[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .sdg-expand-button[_ngcontent-%COMP%]{display:flex;gap:.4rem;justify-content:center;align-items:center}[_nghost-%COMP%] .details[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .sdg-expand-button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%] .details[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .sdg-expand-button[_ngcontent-%COMP%] .icon.open[_ngcontent-%COMP%]{transform:rotate(-180deg)}[_nghost-%COMP%] .details[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .thematicFocus[_ngcontent-%COMP%]{display:flex;gap:.4rem;flex-wrap:wrap}[_nghost-%COMP%] .footer[_ngcontent-%COMP%]{position:absolute;bottom:70px;left:0;width:100%;background-color:#fff;height:10rem;display:flex;align-items:center;padding:0 1.6rem;z-index:10;box-shadow:0 2px #f2f2f2 inset}[_nghost-%COMP%] .footer[_ngcontent-%COMP%] .info-btn[_ngcontent-%COMP%]{margin-right:.8rem}[_nghost-%COMP%] .footer[_ngcontent-%COMP%] .info-btn[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{white-space:nowrap}.wrapper[_ngcontent-%COMP%]{height:100%}.wrapper.mobile[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]{position:static}.wrapper.mobile[_ngcontent-%COMP%] .body[_ngcontent-%COMP%]{padding-bottom:1.6rem}.wrapper.mobile[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%]{position:static}.loader[_ngcontent-%COMP%]{margin-top:8rem}@media screen and (min-width: 1200px){[_nghost-%COMP%]{width:100%;height:100%;left:auto;top:auto}[_nghost-%COMP%] .close-button[_ngcontent-%COMP%]{top:3.4rem;right:.4rem;left:auto}[_nghost-%COMP%] .details[_ngcontent-%COMP%]{top:3.2rem;bottom:3.2rem}[_nghost-%COMP%] .footer[_ngcontent-%COMP%]{bottom:3.2rem}}"],data:{animation:[nt("openClose",[It("open",k({opacity:1,height:"*"})),It("closed",k({opacity:0,height:0})),ot("open <=> closed",[X("200ms")])])]}})}}return e})()});var Pt,Wt=S(()=>{"use strict";dt();O();Pt=(()=>{class e{constructor(){this.defaultZoom=6,this.resetZoomTrigger=new H}get mapZoomResetted(){return this.resetZoomTrigger.asObservable()}resetMapZoom(){this.resetZoomTrigger.next(null)}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})()});
1function fi(e,c){if(e&1&&(a(0,"form",2)(1,"div",10)(2,"div",11)(3,"mat-form-field",12)(4,"mat-label"),g(5),f(6,"translate"),r(),d(7,"input",13),r()(),a(8,"div",11)(9,"mat-form-field",12)(10,"mat-label"),g(11),f(12,"translate"),r(),d(13,"input",14),r()()()()),e&2){let t=m();l("formGroup",t.searchForm),o(5),M(b(6,3,"forms.labels.query")),o(6),M(b(12,5,"forms.labels.location"))}}var Fn,Dn,En=S(()=>{"use strict";O();je();dt();Bo();Io();Te();Xe();zo();so();Ge();A();O();je();Pe();Te();Xe();Ge();A();Fn=()=>({standalone:!0});Dn=(()=>{class e{constructor(t,n){this.fb=t,this.dialog=n,this.activeFilters={},this.searchParamsChanged=new V,this.filters=[rt.THEMATIC_FOCUS,rt.SDGS,rt.IMPACT_AREAS,rt.ORGA_TYPES,rt.SPECIAL_ORGAS],this.searchForm=this.fb.group({query:["",[zt.maxLength(200)]],location:["",[zt.maxLength(200)]]}),this.showOrga=!0,this.showDan=!0}openFilters(){let t=this.getActiveFilters();this.dialog.open(yn,{width:"800px",data:{use:this.filters,selectedThematicFocusValues:t.thematicFocus,selectedImpactAreas:t.impactAreas,selectedSdgValues:t.sdgs,selectedOrgaTypes:t.orgaTypes,initiator:t.initiator,projectSustainabilityWinner:t.projectSustainabilityWinner}}).afterClosed().subscribe(i=>{i&&this.emitFilters(i)})}filterCount(){let t=this.activeFilters?this.activeFilters.thematicFocus:[],n=this.activeFilters?this.activeFilters.sdgs:[],i=this.activeFilters?this.activeFilters.impactAreas:[],s=this.activeFilters?this.activeFilters.orgaTypes:[],h=this.activeFilters?this.activeFilters.activityTypes:[],D=this.activeFilters&&this.activeFilters.startDate&&this.activeFilters.endDate,W=this.activeFilters&&(this.activeFilters.initiator==="true"||this.activeFilters.initiator===!0)?1:0,wt=this.activeFilters&&(this.activeFilters.projectSustainabilityWinner==="true"||this.activeFilters.projectSustainabilityWinner===!0)?1:0,kt=n?n.length:0,St=i?i.length:0,Qn=s?s.length:0,Jn=h?h.length:0,Kn=t?t.length:0,to=D?1:0,eo=this.searchForm?.get("query")?.value?1:0,no=this.searchForm?.get("location")?.value?1:0;return kt+Kn+St+Qn+Jn+to+eo+no+W+wt}clearAll(){this.searchForm.reset(),this.emitFilters({})}viewTypeHandler(){let t=[];this.showOrga&&t.push("ORGANISATION"),this.showDan&&t.push("DAN"),this.emitFilters(void 0,t)}getActiveFilters(){let t=this.activeFilters?this.activeFilters.thematicFocus:[],n=this.activeFilters?this.activeFilters.sdgs:[],i=this.activeFilters?this.activeFilters.impactAreas:[],s=this.activeFilters?this.activeFilters.orgaTypes:[],h=this.activeFilters?this.activeFilters.activityTypes:[],D=this.activeFilters?this.activeFilters.viewType:[],W=this.activeFilters?this.activeFilters.startDate:"",wt=this.activeFilters?this.activeFilters.endDate:"",kt=this.activeFilters?this.activeFilters.initiator==="true"||this.activeFilters.initiator===!0:!1,St=this.activeFilters?this.activeFilters.projectSustainabilityWinner==="true"||this.activeFilters.projectSustainabilityWinner===!0:!1;return{sdgs:n,thematicFocus:t,impactAreas:i,orgaTypes:s,activityTypes:h,startDate:W,endDate:wt,viewType:D,initiator:kt,projectSustainabilityWinner:St}}setActiveFilters(){if(this.activeFilters&&(this.searchForm.patchValue(this.activeFilters),this.activeFilters.viewType)){let t=this.activeFilters.viewType;this.showOrga=t.includes("ORGANISATION"),this.showDan=t.includes("DAN")}}emitFilters(t,n){let i=this.searchForm.value,s=t||this.getActiveFilters(),h=n!==void 0?n:this.getActiveFilters().viewType,D=s.activityTypes||[],W={query:i.query?.trim()||"",location:i.location?.trim()||"",sdgs:s.sdgs||[],thematicFocus:s.thematicFocus||[],impactAreas:s.impactAreas||[],orgaTypes:s.orgaTypes||[],activityTypes:D,startDate:s.startDate||"",endDate:s.endDate||"",viewType:h||"",initiator:s.initiator||!1,projectSustainabilityWinner:s.projectSustainabilityWinner||!1};this.searchParamsChanged.emit(W)}ngOnInit(){this.setActiveFilters(),this.searchForm.valueChanges.pipe(ct(500),mt()).subscribe(()=>{this.emitFilters()})}static{this.\u0275fac=function(n){return new(n||e)(G(ze),G(ht))}}static{this.\u0275cmp=x({type:e,selectors:[["app-search-form"]],inputs:{activeFilters:"activeFilters"},outputs:{searchParamsChanged:"searchParamsChanged"},decls:14,vars:14,consts:[[1,"form-wrapper","map-filters"],[1,"left"],["novalidate","",3,"formGroup"],[1,"filter-button"],[3,"clear","openModal","count"],[1,"right"],["feature","dan-account"],[1,"view-type"],["color","primary",1,"dan",3,"ngModelChange","ngModel","ngModelOptions"],["color","primary",1,"orga",3,"ngModelChange","ngModel","ngModelOptions"],[1,"what-and-where"],[1,"field"],["appearance","outline","color","primary"],["matInput","","formControlName","query"],["matInput","","formControlName","location"]],template:function(n,i){n&1&&(a(0,"div",0)(1,"div",1),_(2,fi,14,7,"form",2),a(3,"div",3)(4,"app-filter-modal-button",4),C("clear",function(){return i.clearAll()})("openModal",function(){return i.openFilters()}),r()()(),a(5,"div",5)(6,"app-feature",6)(7,"div",7)(8,"mat-checkbox",8),Et("ngModelChange",function(h){return Dt(i.showDan,h)||(i.showDan=h),h}),C("ngModelChange",function(){return i.viewTypeHandler()}),g(9),f(10,"translate"),r(),a(11,"mat-checkbox",9),Et("ngModelChange",function(h){return Dt(i.showOrga,h)||(i.showOrga=h),h}),C("ngModelChange",function(){return i.viewTypeHandler()}),g(12),f(13,"translate"),r()()()()()),n&2&&(o(2),p(i.searchForm?2:-1),o(2),l("count",i.filterCount()),o(4),Ft("ngModel",i.showDan),l("ngModelOptions",Q(12,Fn)),o(),M(b(10,8,"map.labels.dan")),o(2),Ft("ngModel",i.showOrga),l("ngModelOptions",Q(13,Fn)),o(),M(b(13,10,"map.labels.organisation")))},dependencies:[Le,Ae,Fe,De,Ee,Ie,Be,Ve,Re,Se,ke,we,We,Ne,wn,Ue,Ze,He,R,E],styles:["[_ngcontent-%COMP%]:root{--text-3xl: 4.8rem;--text-xxl: 3.8rem;--text-xl: 3.2rem;--text-lg: 2.4rem;--text-md: 1.8rem;--text-sm: 1.6rem;--text-xs: 1.4rem;--text-xxs: 1.2rem;--text-3xl-lh: 1;--text-xxl-lh: 1;--text-xl-lh: 1.1;--text-lg-lh: 1.3;--text-md-lh: 1.5;--text-sm-lh: 1.5;--text-xs-lh: 1.6;--text-xxs-lh: 1.6}[_nghost-%COMP%]{height:100%}.form-wrapper[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;height:100%}.form-wrapper[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.8rem;width:100%;align-items:center}.form-wrapper[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{width:100%}.form-wrapper[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] .what-and-where[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.8rem;align-items:center;width:100%}.form-wrapper[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] .field[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;width:100%}.form-wrapper[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .mat-mdc-form-field[_ngcontent-%COMP%]{margin-bottom:0}.form-wrapper[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] .filter-button[_ngcontent-%COMP%]{display:flex;width:100%}.form-wrapper[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{width:100%;margin:.8rem 0}.form-wrapper[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] .view-type[_ngcontent-%COMP%]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:.8rem}@media screen and (min-width: 600px){.form-wrapper[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] .what-and-where[_ngcontent-%COMP%]{flex-direction:row}}@media screen and (min-width: 760px){.form-wrapper[_ngcontent-%COMP%]{width:100%;flex-direction:row;flex-wrap:nowrap}.form-wrapper[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{flex-direction:row;width:auto}.form-wrapper[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] .what-and-where[_ngcontent-%COMP%]{flex-direction:row}.form-wrapper[_ngcontent-%COMP%] .field[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:1;width:auto;min-width:none}.form-wrapper[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{width:auto}.form-wrapper[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] .view-type[_ngcontent-%COMP%]{justify-content:flex-end;
1gap:1.6rem}}"]})}}return e})()});var Rn,An=S(()=>{"use strict";Bt();Rn=nt("routeAnimations",[ot("* <=> *",[k({position:"relative"}),N(":enter, :leave",[k({position:"absolute",top:0,left:0})],{optional:!0}),N(":enter",[k({left:"2%",opacity:0})],{optional:!0}),N(":leave",[k({left:"0%",opacity:1})],{optional:!0}),Me([N(":leave",[X("200ms ease-out",k({left:"2%",opacity:0}))],{optional:!0}),N(":enter",[X("300ms ease-out",k({left:"0%",opacity:1}))],{optional:!0})])])])});var _i,In,Bn=S(()=>{"use strict";j();O();B();co();O();j();B();_i=["*"],In=(()=>{class e{constructor(){this.color="accent",this.customStyles={},this.toggled=new V}onToggle(){this.toggled.emit()}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=x({type:e,selectors:[["app-toggle-button"]],inputs:{color:"color",customStyles:"customStyles"},outputs:{toggled:"toggled"},ngContentSelectors:_i,decls:5,vars:2,consts:[[1,"button-wrapper"],[1,"tab-protection"],["mat-flat-button","",1,"slide-button",3,"click","ngStyle","color"]],template:function(n,i){n&1&&(q(),a(0,"div",0),d(1,"div",1),a(2,"button",2),C("click",function(){return i.onToggle()}),a(3,"app-outlined-icon"),T(4),r()()()),n&2&&(o(2),l("ngStyle",i.customStyles)("color",i.color))},dependencies:[L,ce,I,J,$e],styles:["[_ngcontent-%COMP%]:root{--text-3xl: 4.8rem;--text-xxl: 3.8rem;--text-xl: 3.2rem;--text-lg: 2.4rem;--text-md: 1.8rem;--text-sm: 1.6rem;--text-xs: 1.4rem;--text-xxs: 1.2rem;--text-3xl-lh: 1;--text-xxl-lh: 1;--text-xl-lh: 1.1;--text-lg-lh: 1.3;--text-md-lh: 1.5;--text-sm-lh: 1.5;--text-xs-lh: 1.6;--text-xxs-lh: 1.6}.bg-accent[_ngcontent-%COMP%]{background-color:#dd1367;color:#fff}.bg-primary[_ngcontent-%COMP%]{background-color:#00424a;color:#fff}.bg-magenta[_ngcontent-%COMP%]{background-color:#dd1367;color:#fff}.bg-bordeauxe[_ngcontent-%COMP%]{background-color:#a21942;color:#fff}.bg-yellow[_ngcontent-%COMP%]{background-color:#ffc637;color:#000}.bg-blue-navy[_ngcontent-%COMP%]{background-color:#00424a;color:#fff}.bg-orange[_ngcontent-%COMP%]{background-color:#f1953b;color:#fff}.bg-green[_ngcontent-%COMP%]{background-color:#5fd876;color:#fff}.mat-button.mat-magenta[_ngcontent-%COMP%]{color:#dd1367}.mat-flat-button.mat-magenta[_ngcontent-%COMP%], .mat-raised-button.mat-magenta[_ngcontent-%COMP%]{background-color:#dd1367;color:#fff}.mat-flat-button.mat-button-disabled.mat-magenta[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-magenta[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.mat-button.mat-bordeauxe[_ngcontent-%COMP%]{color:#a21942}.mat-flat-button.mat-bordeauxe[_ngcontent-%COMP%], .mat-raised-button.mat-bordeauxe[_ngcontent-%COMP%]{background-color:#a21942;color:#fff}.mat-flat-button.mat-button-disabled.mat-bordeauxe[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-bordeauxe[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.mat-button.mat-yellow[_ngcontent-%COMP%]{color:#ffc637}.mat-flat-button.mat-yellow[_ngcontent-%COMP%], .mat-raised-button.mat-yellow[_ngcontent-%COMP%]{background-color:#ffc637;color:#000}.mat-flat-button.mat-button-disabled.mat-yellow[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-yellow[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.mat-button.mat-blue-navy[_ngcontent-%COMP%]{color:#00424a}.mat-flat-button.mat-blue-navy[_ngcontent-%COMP%], .mat-raised-button.mat-blue-navy[_ngcontent-%COMP%]{background-color:#00424a;color:#fff}.mat-flat-button.mat-button-disabled.mat-blue-navy[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-blue-navy[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.mat-button.mat-orange[_ngcontent-%COMP%]{color:#f1953b}.mat-flat-button.mat-orange[_ngcontent-%COMP%], .mat-raised-button.mat-orange[_ngcontent-%COMP%]{background-color:#f1953b;color:#fff}.mat-flat-button.mat-button-disabled.mat-orange[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-orange[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.mat-button.mat-green[_ngcontent-%COMP%]{color:#5fd876}.mat-flat-button.mat-green[_ngcontent-%COMP%], .mat-raised-button.mat-green[_ngcontent-%COMP%]{background-color:#5fd876;color:#fff}.mat-flat-button.mat-button-disabled.mat-green[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-green[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.button-wrapper[_ngcontent-%COMP%]{width:5.6rem;height:5.6rem;position:relative}.button-wrapper[_ngcontent-%COMP%] .tab-protection[_ngcontent-%COMP%]{width:100%;height:100%;pointer-events:none}.button-wrapper[_ngcontent-%COMP%] .slide-button[_ngcontent-%COMP%]{padding:0;min-width:4rem;width:4rem;height:4rem;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:40}"]})}}return e})()});function bi(e,c){e&1&&d(0,"div",2)}function zn(e,c=0,t=100){return Math.max(c,Math.min(t,e))}var Ci,Vn,Ln,Xt=S(()=>{"use strict";O();O();ao();Ci=new Ut("MAT_PROGRESS_BAR_DEFAULT_OPTIONS"),Vn=(()=>{class e{_elementRef=u(Qt);_ngZone=u(qt);_changeDetectorRef=u(se);_renderer=u(Kt);_cleanupTransitionEnd;_animationMode=u(Jt,{optional:!0});constructor(){let t=u(Ci,{optional:!0});this._isNoopAnimation=this._animationMode==="NoopAnimations",t&&(t.color&&(this.color=this._defaultColor=t.color),this.mode=t.mode||this.mode)}_isNoopAnimation=!1;get color(){return this._color||this._defaultColor}set color(t){this._color=t}_color;_defaultColor="primary";get value(){return this._value}set value(t){this._value=zn(t||0),this._changeDetectorRef.markForCheck()}_value=0;get bufferValue(){return this._bufferValue||0}set bufferValue(t){this._bufferValue=zn(t||0),this._changeDetectorRef.markForCheck()}_bufferValue=0;animationEnd=new V;get mode(){return this._mode}set mode(t){this._mode=t,this._changeDetectorRef.markForCheck()}_mode="determinate";ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._cleanupTransitionEnd=this._renderer.listen(this._elementRef.nativeElement,"transitionend",this._transitionendHandler)})}ngOnDestroy(){this._cleanupTransitionEnd?.()}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${this.mode==="buffer"?this.bufferValue:100}%`}_isIndeterminate(){return this.mode==="indeterminate"||this.mode==="query"}_transitionendHandler=t=>{this.animationEnd.observers.length===0||!t.target||!t.target.classList.contains("mdc-linear-progress__primary-bar")||(this.mode==="determinate"||this.mode==="buffer")&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))};static \u0275fac=function(n){return new(n||e)};static \u0275cmp=x({type:e,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(n,i){n&2&&(ee("aria-valuenow",i._isIndeterminate()?null:i.value)("mode",i.mode),pt("mat-"+i.color),ne("_mat-animation-noopable",i._isNoopAnimation)("mdc-linear-progress--animation-ready",!i._isNoopAnimation)("mdc-linear-progress--indeterminate",i._isIndeterminate()))},inputs:{color:"color",value:[2,"value","value",At],bufferValue:[2,"bufferValue","bufferValue",At],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(n,i){n&1&&(a(0,"div",0),d(1,"div",1),_(2,bi,1,0,"div",2),r(),a(3,"div",3),d(4,"span",4),r(),a(5,"div",5),d(6,"span",4),r()),n&2&&(o(),Tt("flex-basis",i._getBufferBarFlexBasis()),o(),p(i.mode==="buffer"?2:-1),o(),Tt("transform",i._getPrimaryBarTransform()))},styles:[`.mat-mdc-progress-bar{display:block;text-align:start}
1.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:max(var(--mdc-linear-progress-track-height, 4px),var(--mdc-linear-progress-active-indicator-height, 4px))}@media(forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:var(--mdc-linear-progress-active-indicator-height, 4px)}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}[dir=rtl] .mdc-linear-progress__bar{right:0;transform-origin:center right}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid;border-color:var(--mdc-linear-progress-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mdc-linear-progress-active-indicator-height, 4px)}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden;height:var(--mdc-linear-progress-track-height, 4px);border-radius:var(--mdc-linear-progress-track-shape, var(--mat-sys-corner-none))}.mdc-linear-progress__buffer-dots{-webkit-mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");background-repeat:repeat-x;flex:auto;transform:rotate(180deg);animation:mdc-linear-progress-buffering 250ms infinite linear;background-color:var(--mdc-linear-progress-track-color, var(--mat-sys-surface-variant))}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}[dir=rtl] .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);background-color:var(--mdc-linear-progress-track-color, var(--mat-sys-surface-variant))}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height, 4px) * -2.5))}}@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scale
1X(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(-83.67142%)}100%{transform:translateX(-200.611057%)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(-37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(-84.386165%)}100%{transform:translateX(-160.277782%)}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}} 2`],encapsulation:2,changeDetection:0})}return e})();Ln=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=te({type:e});static \u0275inj=Gt({imports:[Ce]})}return e})()});function Mi(e,c){if(e&1&&(g(0),f(1,"number"),f(2,"translate")),e&2){let t=m();w(" ",Rt(2,5,"thematicFocus.water.congratulations",F(8,jn,ut(1,1,t.allDrops(),".0","de")))," ")}}function xi(e,c){if(e&1){let t=y();a(0,"div",0)(1,"div",1),d(2,"img",2),a(3,"div",3)(4,"span",4),g(5),f(6,"number"),r(),a(7,"span"),g(8),f(9,"translate"),r()()(),a(10,"button",5),C("click",function(){v(t);let i=m();return P(i.addDropsHandler())}),a(11,"mat-icon"),g(12,"add"),r(),g(13),f(14,"translate"),r()(),d(15,"mat-progress-bar",6),a(16,"span",7),g(17),f(18,"number"),f(19,"translate"),r()}if(e&2){let t=m();o(5),M(ut(6,5,t.allDrops(),".0","de")),o(3),M(b(9,9,"thematicFocus.water.dropsSaved")),o(5),w(" ",b(14,11,"btn.collect")," "),o(2),l("value",t.progressBarValue()),o(2),M(Rt(19,17,"thematicFocus.water.dropsUntilGoal",F(20,jn,ut(18,13,t.getDropsForNextLevel(),".0","de"))))}}var jn,Nn,Wn=S(()=>{"use strict";j();O();B();et();Xt();A();Mo();xo();lo();fe();Pe();So();O();et();B();Xt();A();jn=e=>({drops:e});Nn=(()=>{class e{constructor(){this.waterContributionService=u(sn),this.waterContributionUtilsService=u(cn),this.registerOrLogin=u(ye),this.authService=u(Ct),this.translate=u(de),this.dialog=u(ht),this.allDrops=this.waterContributionService.allDrops,this.progressBarValue=this.waterContributionUtilsService.levelProgress,this.levelsCompleted=this.waterContributionUtilsService.levelsCompleted}getDropsForNextLevel(){return this.waterContributionUtilsService.getDropsForNextLevel()}addDropsHandler(){this.authService.isLoggedIn()?this.dialog.open(hn,{autoFocus:!1,width:"1000px",data:{}}).afterClosed().subscribe(()=>{this.waterContributionService.fetchPublic()}):this.registerOrLogin.open({subtitle:this.translate.instant("authModal.subtitleWater")})}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=x({type:e,selectors:[["app-total-drops-overview"]],decls:2,vars:1,consts:[[1,"header"],[1,"info"],["src","assets/img/yearly-themes/water/drop-blue-fill.png","alt","Blau Tropfen Icon",1,"icon-img"],[1,"text"],[1,"total"],["mat-fab","","extended","",1,"add-drops-button",3,"click"],["mode","determinate",1,"progress-bar",3,"value"],[1,"remaining-drops"]],template:function(n,i){n&1&&_(0,Mi,3,10)(1,xi,20,22),n&2&&p(i.levelsCompleted()?0:1)}
2,dependencies:[tt,K,I,he,Ln,Vn,R,E,me],styles:[".bg-accent[_ngcontent-%COMP%]{background-color:#dd1367;color:#fff}.bg-primary[_ngcontent-%COMP%]{background-color:#00424a;color:#fff}.bg-magenta[_ngcontent-%COMP%]{background-color:#dd1367;color:#fff}.bg-bordeauxe[_ngcontent-%COMP%]{background-color:#a21942;color:#fff}.bg-yellow[_ngcontent-%COMP%]{background-color:#ffc637;color:#000}.bg-blue-navy[_ngcontent-%COMP%]{background-color:#00424a;color:#fff}.bg-orange[_ngcontent-%COMP%]{background-color:#f1953b;color:#fff}.bg-green[_ngcontent-%COMP%]{background-color:#5fd876;color:#fff}.mat-button.mat-magenta[_ngcontent-%COMP%]{color:#dd1367}.mat-flat-button.mat-magenta[_ngcontent-%COMP%], .mat-raised-button.mat-magenta[_ngcontent-%COMP%]{background-color:#dd1367;color:#fff}.mat-flat-button.mat-button-disabled.mat-magenta[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-magenta[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.mat-button.mat-bordeauxe[_ngcontent-%COMP%]{color:#a21942}.mat-flat-button.mat-bordeauxe[_ngcontent-%COMP%], .mat-raised-button.mat-bordeauxe[_ngcontent-%COMP%]{background-color:#a21942;color:#fff}.mat-flat-button.mat-button-disabled.mat-bordeauxe[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-bordeauxe[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.mat-button.mat-yellow[_ngcontent-%COMP%]{color:#ffc637}.mat-flat-button.mat-yellow[_ngcontent-%COMP%], .mat-raised-button.mat-yellow[_ngcontent-%COMP%]{background-color:#ffc637;color:#000}.mat-flat-button.mat-button-disabled.mat-yellow[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-yellow[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.mat-button.mat-blue-navy[_ngcontent-%COMP%]{color:#00424a}.mat-flat-button.mat-blue-navy[_ngcontent-%COMP%], .mat-raised-button.mat-blue-navy[_ngcontent-%COMP%]{background-color:#00424a;color:#fff}.mat-flat-button.mat-button-disabled.mat-blue-navy[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-blue-navy[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.mat-button.mat-orange[_ngcontent-%COMP%]{color:#f1953b}.mat-flat-button.mat-orange[_ngcontent-%COMP%], .mat-raised-button.mat-orange[_ngcontent-%COMP%]{background-color:#f1953b;color:#fff}.mat-flat-button.mat-button-disabled.mat-orange[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-orange[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.mat-button.mat-green[_ngcontent-%COMP%]{color:#5fd876}.mat-flat-button.mat-green[_ngcontent-%COMP%], .mat-raised-button.mat-green[_ngcontent-%COMP%]{background-color:#5fd876;color:#fff}.mat-flat-button.mat-button-disabled.mat-green[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-green[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}[_ngcontent-%COMP%]:root{--text-3xl: 4.8rem;--text-xxl: 3.8rem;--text-xl: 3.2rem;--text-lg: 2.4rem;--text-md: 1.8rem;--text-sm: 1.6rem;--text-xs: 1.4rem;--text-xxs: 1.2rem;--text-3xl-lh: 1;--text-xxl-lh: 1;--text-xl-lh: 1.1;--text-lg-lh: 1.3;--text-md-lh: 1.5;--text-sm-lh: 1.5;--text-xs-lh: 1.6;--text-xxs-lh: 1.6}[_nghost-%COMP%]{display:block;background:#e5f5fc;border-radius:12px;padding:1.2rem;margin:1.6rem}.header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.8rem;justify-content:space-between;margin-bottom:2rem;font-weight:600;font-size:1.2rem}.header[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center;align-items:center;color:#009ee3;gap:.4rem}.header[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .icon-img[_ngcontent-%COMP%]{height:2.4rem;width:1.6rem;color:#009ee3}.header[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center}.header[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] .total[_ngcontent-%COMP%]{font-size:1.8rem;color:#00424a;margin-bottom:-.8rem}.header[_ngcontent-%COMP%] .add-drops-button[_ngcontent-%COMP%]{font-size:1.6rem;background-color:#009ee3;height:4rem}.header[_ngcontent-%COMP%] .add-drops-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:0}
2.progress-bar[_ngcontent-%COMP%]{height:4px}.progress-bar[_ngcontent-%COMP%]{--mdc-linear-progress-active-indicator-color: #009ee3}.progress-bar[_ngcontent-%COMP%]{--mdc-linear-progress-track-color: rgba(0, 158, 227, .2196078431)}.progress-bar[_ngcontent-%COMP%]{--mdc-linear-progress-track-shape: 5px}[_nghost-%COMP%] .progress-bar .mdc-linear-progress__bar-inner{border-radius:5px}.remaining-drops[_ngcontent-%COMP%]{font-size:1.6rem;color:#00424a}@media screen and (min-width: 1200px){[_nghost-%COMP%]{background:#e5f5fc;border-radius:12px;padding:1.2rem;min-width:220px;max-width:320px;pointer-events:auto}[_nghost-%COMP%] .header[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:.8rem;font-weight:600;font-size:1.2rem}[_nghost-%COMP%] .header[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center;align-items:center;color:#009ee3;gap:.4rem}[_nghost-%COMP%] .header[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .icon-img[_ngcontent-%COMP%]{height:2.4rem;width:1.6rem;color:#009ee3}[_nghost-%COMP%] .header[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center}[_nghost-%COMP%] .header[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] .total[_ngcontent-%COMP%]{font-size:1.8rem;color:#00424a;margin-bottom:-.8rem}[_nghost-%COMP%] .header[_ngcontent-%COMP%] .add-drops-button[_ngcontent-%COMP%]{font-size:1.6rem;background-color:#009ee3;height:4rem}[_nghost-%COMP%] .header[_ngcontent-%COMP%] .add-drops-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:0}[_nghost-%COMP%] .progress-bar[_ngcontent-%COMP%]{height:4px}[_nghost-%COMP%] .progress-bar[_ngcontent-%COMP%]{--mdc-linear-progress-active-indicator-color: #009ee3}[_nghost-%COMP%] .progress-bar[_ngcontent-%COMP%]{--mdc-linear-progress-track-color: rgba(0, 158, 227, .2196078431)}[_nghost-%COMP%] .progress-bar .mdc-linear-progress__bar-inner{border-radius:5px}.remaining-drops[_ngcontent-%COMP%]{font-size:1.6rem;color:#00424a}}"]})}}return e})()});function wi(e,c){if(e&1&&(a(0,"div",9)(1,"div",13),T(2,5),r()()),e&2){let t=m();l("ngClass",F(1,yi,t.hasDetail()))}}var Oi,vi,Pi,yi,Xn,Hn=S(()=>{"use strict";O();bt();An();j();io();Bn();Vt();Wn();fe();O();j();Oi=[[["","filter",""]],[["","loader",""]],[["","results",""]],[["","detailsMobile",""]],[["","map",""]],[["","detailsDesktop",""]]],vi=["[filter]","[loader]","[results]","[detailsMobile]","[map]","[detailsDesktop]"],Pi=(e,c)=>({"map-open":e,"details-open":c}),yi=e=>({clickable:e});Xn=(()=>{class e{constructor(){this.mapService=u(it),this.contexts=u(pe),this.authService=u(Ct),this.showFullMap=this.mapService.showFullMap}hasDetail(){return this.mapService.hasActiveCard()}toggleMap(){this.mapService.toggleMap()}getRouteAnimationData(){return this.contexts.getContext("primary")?.route?.snapshot?.data?.animation}isLoggedIn(){return this.authService.isLoggedIn()}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=x({type:e,selectors:[["app-map-layout"]],ngContentSelectors:vi,decls:19,vars:8,consts:[[1,"map-layout",3,"ngClass"],[1,"filters","mat-elevation-z4"],[3,"narrow"],[1,"loader"],[1,"content"],[1,"result-list"],[3,"onlyX"],[1,"details-wrapper"],[1,"map-wrapper"],[1,"details",3,"ngClass"],[1,"map-card"],[1,"toggle"],["color","accent",3,"toggled"],[1,"outlet"]],template:function(n,i){n&1&&(q(Oi),a(0,"div",0)(1,"header",1)(2,"app-content-wrapper",2),T(3),r()(),a(4,"div",3),T(5,1),r(),a(6,"div",4)(7,"section",5)(8,"app-content-wrapper",6),T(9,2),r()(),a(10,"section",7),T(11,3),r(),a(12,"section",8),_(13,wi,3,3,"div",9),T(14,4),d(15,"app-total-drops-overview",10),r()(),a(16,"div",11)(17,"app-toggle-button",12),C("toggled",function(){return i.toggleMap()}),g(18),r()()()),n&2&&(l("ngClass",le(5,Pi,i.showFullMap(),i.hasDetail())),o(2),l("narrow",!0),o(6),l("onlyX",!0),o(5),p(i.hasDetail()?13:-1),o(5),M(i.showFullMap()?"list":"map"))},dependencies:[L,ft,_e,In,Nn],styles:[".bg-accent[_ngcontent-%COMP%]{background-color:#dd1367;color:#fff}.bg-primary[_ngcontent-%COMP%]{background-color:#00424a;color:#fff}.bg-magenta[_ngcontent-%COMP%]{background-color:#dd1367;color:#fff}.bg-bordeauxe[_ngcontent-%COMP%]{background-color:#a21942;color:#fff}.bg-yellow[_ngcontent-%COMP%]{background-color:#ffc637;color:#000}.bg-blue-navy[_ngcontent-%COMP%]{background-color:#00424a;color:#fff}.bg-orange[_ngcontent-%COMP%]{background-color:#f1953b;color:#fff}.bg-green[_ngcontent-%COMP%]{background-color:#5fd876;color:#fff}.mat-button.mat-magenta[_ngcontent-%COMP%]{color:#dd1367}.mat-flat-button.mat-magenta[_ngcontent-%COMP%], .mat-raised-button.mat-magenta[_ngcontent-%COMP%]{background-color:#dd1367;color:#fff}.mat-flat-button.mat-button-disabled.mat-magenta[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-magenta[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.mat-button.mat-bordeauxe[_ngcontent-%COMP%]{color:#a21942}.mat-flat-button.mat-bordeauxe[_ngcontent-%COMP%], .mat-raised-button.mat-bordeauxe[_ngcontent-%COMP%]{background-color:#a21942;color:#fff}.mat-flat-button.mat-button-disabled.mat-bordeauxe[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-bordeauxe[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.mat-button.mat-yellow[_ngcontent-%COMP%]{color:#ffc637}.mat-flat-button.mat-yellow[_ngcontent-%COMP%], .mat-raised-button.mat-yellow[_ngcontent-%COMP%]{background-color:#ffc637;color:#000}.mat-flat-button.mat-button-disabled.mat-yellow[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-yellow[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.mat-button.mat-blue-navy[_ngcontent-%COMP%]{color:#00424a}.mat-flat-button.mat-blue-navy[_ngcontent-%COMP%], .mat-raised-button.mat-blue-navy[_ngcontent-%COMP%]{background-color:#00424a;color:#fff}.mat-flat-button.mat-button-disabled.mat-blue-navy[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-blue-navy[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.mat-button.mat-orange[_ngcontent-%COMP%]{color:#f1953b}.mat-flat-button.mat-orange[_ngcontent-%COMP%], .mat-raised-button.mat-orange[_ngcontent-%COMP%]{background-color:#f1953b;color:#fff}.mat-flat-button.mat-button-disabled.mat-orange[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-orange[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.mat-button.mat-green[_ngcontent-%COMP%]{color:#5fd876}.mat-flat-button.mat-green[_ngcontent-%COMP%], .mat-raised-button.mat-green[_ngcontent-%COMP%]{background-color:#5fd876;color:#fff}.mat-flat-button.mat-button-disabled.mat-green[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-green[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}[_ngcontent-%COMP%]:root{--text-3xl: 4.8rem;--text-xxl: 3.8rem;--text-xl: 3.2rem;--text-lg: 2.4rem;--text-md: 1.8rem;--text-sm: 1.6rem;--text-xs: 1.4rem;--text-xxs: 1.2rem;--text-3xl-lh: 1;--text-xxl-lh: 1;--text-xl-lh: 1.1;--text-lg-lh: 1.3;--text-md-lh: 1.5;--text-sm-lh: 1.5;--text-xs-lh: 1.6;--text-xxs-lh: 1.6}.map-layout[_ngcontent-%COMP%]{height:100%;position:relative;display:flex;flex-direction:column}.map-layout[_ngcontent-%COMP%] .toggle[_ngcontent-%COMP%]{display:block;position:fixed;left:50%;transform:translate(-50%);bottom:3.2rem;z-index:1100;background-color:#dd1367;opacity:.8;border-radius:50%}.map-layout[_ngcontent-%COMP%] .filters[_ngcontent-%COMP%]{background-color:#cde4e8;position:static;z-index:10}.map-layout[_ngcontent-%COMP%] .result-list[_ngcontent-%COMP%]{flex-grow:1;overflow:auto;height:fit-content;padding:0 0 3.2rem}.map-layout[_ngcontent-%COMP%] .map-wrapper[_ngcontent-%COMP%], .map-layout[_ngcontent-%COMP%] .details-wrapper[_ngcontent-%COMP%]{background-color:gray;position:fixed;top:0;left:0;width:100%;z-index:1000;height:100dvh;overflow:auto;transform:translate(100%);transition:transform .3s}.map-layout[_ngcontent-%COMP%] .details-wrapper[_ngcontent-%COMP%]{z-index:1200;background:#fff;overflow:auto}.map-layout[_ngcontent-%COMP%] .outlet[_ngcontent-%COMP%]{display:none}.map-layout[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{flex-grow:1}.map-layout.map-open[_ngcontent-%COMP%] .map-wrapper[_ngcontent-%COMP%]{transform:translate(0)}.map-layout.map-open[_ngcontent-%COMP%] .map-card[_ngcontent-%COMP%]{position:absolute;bottom:3.2rem;right:4.8rem;z-index:1100}.map-layout.details-open[_ngcontent-%COMP%] .details-wrapper[_ngcontent-%COMP%]{transform:translate(0)}.loader[_ngcontent-%COMP%]{height:5rem;display:flex;flex-direction:column;align-items:center;justify-content:center}@media screen and (min-width: 1200px){.map-layout[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;grid-template-rows:100px 1fr;height:100%;position:relative}.map-layout[_ngcontent-%COMP%] .details-wrapper[_ngcontent-%COMP%], .map-layout[_ngcontent-%COMP%] .toggle[_ngcontent-%COMP%]{display:none}.map-layout[_ngcontent-%COMP%] .filters[_ngcontent-%COMP%]{position:sticky;top:70px}.map-layout[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]{position:fixed;z-index:9000;right:0;left:min(50%,800px);top:0;bottom:0;padding:0;max-width:500px;pointer-events:none}.map-layout[_ngcontent-%COMP%] .details.clickable[_ngcontent-%COMP%]{pointer-events:all}.map-layout[_ngcontent-%COMP%] .outlet[_ngcontent-%COMP%]{display:block;width:100%;height:100%;position:absolute;
2left:0;top:0}.map-layout[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{width:100%;display:grid;grid-template-columns:50% 50%;position:relative;z-index:0}.map-layout[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .result-list[_ngcontent-%COMP%]{flex-grow:1;background-color:transparent;overflow:auto;padding:3.2rem 0;z-index:10;max-width:800px}.map-layout[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .map-wrapper[_ngcontent-%COMP%]{background-color:gray;position:sticky;top:170px;height:calc(100vh - 170px);width:200%;transform:translate(-50%);transition:all .3s;z-index:0}.map-layout[_ngcontent-%COMP%] .map-card[_ngcontent-%COMP%]{position:absolute;bottom:3.2rem;right:4.8rem;z-index:1100}.loader[_ngcontent-%COMP%]{position:absolute;right:.8rem;top:10rem;z-index:500}}"],data:{animation:[Rn]}})}}return e})()});var ki,Zn,Gn=S(()=>{"use strict";A();O();A();ki=["*"],Zn=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=x({type:e,selectors:[["app-paginator-wrapper"]],inputs:{total:"total"},ngContentSelectors:ki,decls:6,vars:4,consts:[[1,"wrapper","mat-elevation-z8"],[1,"total"],[1,"content"]],template:function(n,i){n&1&&(q(),a(0,"div",0)(1,"div",1),g(2),f(3,"translate"),r(),a(4,"div",2),T(5),r()()),n&2&&(o(2),re("",i.total," ",b(3,2,"paging.results"),""))},dependencies:[R,E],styles:["[_ngcontent-%COMP%]:root{--text-3xl: 4.8rem;--text-xxl: 3.8rem;--text-xl: 3.2rem;--text-lg: 2.4rem;--text-md: 1.8rem;--text-sm: 1.6rem;--text-xs: 1.4rem;--text-xxs: 1.2rem;--text-3xl-lh: 1;--text-xxl-lh: 1;--text-xl-lh: 1.1;--text-lg-lh: 1.3;--text-md-lh: 1.5;--text-sm-lh: 1.5;--text-xs-lh: 1.6;--text-xxs-lh: 1.6}.bg-accent[_ngcontent-%COMP%]{background-color:#dd1367;color:#fff}.bg-primary[_ngcontent-%COMP%]{background-color:#00424a;color:#fff}.bg-magenta[_ngcontent-%COMP%]{background-color:#dd1367;color:#fff}.bg-bordeauxe[_ngcontent-%COMP%]{background-color:#a21942;color:#fff}.bg-yellow[_ngcontent-%COMP%]{background-color:#ffc637;color:#000}.bg-blue-navy[_ngcontent-%COMP%]{background-color:#00424a;color:#fff}.bg-orange[_ngcontent-%COMP%]{background-color:#f1953b;color:#fff}.bg-green[_ngcontent-%COMP%]{background-color:#5fd876;color:#fff}.mat-button.mat-magenta[_ngcontent-%COMP%]{color:#dd1367}.mat-flat-button.mat-magenta[_ngcontent-%COMP%], .mat-raised-button.mat-magenta[_ngcontent-%COMP%]{background-color:#dd1367;color:#fff}.mat-flat-button.mat-button-disabled.mat-magenta[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-magenta[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.mat-button.mat-bordeauxe[_ngcontent-%COMP%]{color:#a21942}.mat-flat-button.mat-bordeauxe[_ngcontent-%COMP%], .mat-raised-button.mat-bordeauxe[_ngcontent-%COMP%]{background-color:#a21942;color:#fff}.mat-flat-button.mat-button-disabled.mat-bordeauxe[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-bordeauxe[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.mat-button.mat-yellow[_ngcontent-%COMP%]{color:#ffc637}.mat-flat-button.mat-yellow[_ngcontent-%COMP%], .mat-raised-button.mat-yellow[_ngcontent-%COMP%]{background-color:#ffc637;color:#000}.mat-flat-button.mat-button-disabled.mat-yellow[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-yellow[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.mat-button.mat-blue-navy[_ngcontent-%COMP%]{color:#00424a}.mat-flat-button.mat-blue-navy[_ngcontent-%COMP%], .mat-raised-button.mat-blue-navy[_ngcontent-%COMP%]{background-color:#00424a;color:#fff}.mat-flat-button.mat-button-disabled.mat-blue-navy[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-blue-navy[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.mat-button.mat-orange[_ngcontent-%COMP%]{color:#f1953b}.mat-flat-button.mat-orange[_ngcontent-%COMP%], .mat-raised-button.mat-orange[_ngcontent-%COMP%]{background-color:#f1953b;color:#fff}.mat-flat-button.mat-button-disabled.mat-orange[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-orange[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.mat-button.mat-green[_ngcontent-%COMP%]{color:#5fd876}.mat-flat-button.mat-green[_ngcontent-%COMP%], .mat-raised-button.mat-green[_ngcontent-%COMP%]{background-color:#5fd876;color:#fff}.mat-flat-button.mat-button-disabled.mat-green[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-green[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.wrapper[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;background-color:#fff}.wrapper[_ngcontent-%COMP%] .total[_ngcontent-%COMP%]{padding-block:0;padding-inline:1.6rem;font-size:1.8rem;border-bottom:1px solid #00424a;border-color:#b8b8b8;width:100%}.wrapper[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{padding-inline:1.6rem}.wrapper[_ngcontent-%COMP%] .noBreak[_ngcontent-%COMP%]{white-space:nowrap}"]})}}return e})()});var yt,Si,Un,$n=S(()=>{"use strict";O();
2yt=oo(To());dt();et();B();O();Lt();Wt();et();Si=["mapRef"],Un=(()=>{class e{constructor(t,n){this.marker=t,this.zoomService=n,this.mapRef=null,this.data=[],this.mapMoved=new V,this.map=null,this.unsubscribe$=new H,this.mapMoves=new Ht(""),this.mapInitialized=!1}getScreenWidth(){return this.mapRef?.nativeElement?.offsetWidth}initMap(){let t=this.getScreenWidth();this.map=yt.map("map",{center:this.center,zoom:t&&t<1200?this.zoomService.defaultZoom:7,maxZoom:17});let n=yt.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'});this.map.zoomControl.setPosition("bottomright"),this.zoomService.mapZoomResetted.pipe(Z(this.unsubscribe$)).subscribe(()=>{this.zoomOutHandler()}),n.addTo(this.map)}ngAfterViewInit(){if(this.initMap(),this.map){let t=this.map,n=this.mapRef?.nativeElement?.offsetWidth;n&&n>1199&&this.map.fitBounds(this.map.getBounds(),{paddingTopLeft:[800,10]}),this.map.on("moveend",()=>{this.marker.setExitingActiveMarker(t,this.data),this.marker.searchOnMove&&(this.mapMoves.next(t.getBounds().toBBoxString()),this.mapInitialized=!0)}),this.mapInitialized||(this.mapMoves.next(t.getBounds().toBBoxString()),this.mapInitialized=!0),this.mapMoves.asObservable().pipe(ct(500),mt(),Z(this.unsubscribe$)).subscribe(i=>{let s=this.getScreenWidth();s&&s<1200&&(i="mobile"),this.mapMoved.emit(i)})}this.marker.markerActivated$.pipe(Z(this.unsubscribe$)).subscribe(t=>{this.map&&this.marker.activateMarker(this.map,t,this.data,this.mapRef?.nativeElement?.offsetWidth,!0)}),this.marker.markerHovered$.pipe(Z(this.unsubscribe$)).subscribe(t=>{this.map&&this.marker.hoverMarker(this.map,t,this.data)}),this.marker.markerLeaved$.pipe(Z(this.unsubscribe$)).subscribe(()=>{this.map&&(this.marker.clearMarkerIcons(),this.marker.setExitingActiveMarker(this.map,this.data))})}zoomOutHandler(){if(this.map&&this.center){let t=this.getScreenWidth(),n=t&&t<1200?this.zoomService.defaultZoom:6;this.map?.setView(this.center,n)}}ngOnChanges(){this.map&&this.marker.makeMarkers(this.map,this.data,this.mapRef?.nativeElement?.offsetWidth,!0)}ngOnDestroy(){this.unsubscribe$.next(null),this.unsubscribe$.complete()}static{this.\u0275fac=function(n){return new(n||e)(G(at),G(Pt))}}static{this.\u0275cmp=x({type:e,selectors:[["app-map"]],viewQuery:function(n,i){if(n&1&&oe(Si,5),n&2){let s;ie(s=ae())&&(i.mapRef=s.first)}},inputs:{data:"data",center:"center"},outputs:{mapMoved:"mapMoved"},features:[$t],decls:7,vars:0,consts:[["mapRef",""],[1,"map-container"],[1,"map-frame"],["id","map"],[1,"zoomOutBtn",3,"click"]],template:function(n,i){if(n&1){let s=y();a(0,"div",1,0)(2,"div",2),d(3,"div",3),r(),a(4,"button",4),C("click",function(){return v(s),P(i.zoomOutHandler())}),a(5,"mat-icon"),g(6,"zoom_out_map"),r()()()}},dependencies:[tt,K,I],styles:["[_ngcontent-%COMP%]:root{--text-3xl: 4.8rem;--text-xxl: 3.8rem;--text-xl: 3.2rem;--text-lg: 2.4rem;--text-md: 1.8rem;--text-sm: 1.6rem;--text-xs: 1.4rem;--text-xxs: 1.2rem;--text-3xl-lh: 1;--text-xxl-lh: 1;--text-xl-lh: 1.1;--text-lg-lh: 1.3;--text-md-lh: 1.5;--text-sm-lh: 1.5;--text-xs-lh: 1.6;--text-xxs-lh: 1.6}.bg-accent[_ngcontent-%COMP%]{background-color:#dd1367;color:#fff}.bg-primary[_ngcontent-%COMP%]{background-color:#00424a;color:#fff}.bg-magenta[_ngcontent-%COMP%]{background-color:#dd1367;color:#fff}.bg-bordeauxe[_ngcontent-%COMP%]{background-color:#a21942;color:#fff}.bg-yellow[_ngcontent-%COMP%]{background-color:#ffc637;color:#000}.bg-blue-navy[_ngcontent-%COMP%]{background-color:#00424a;color:#fff}.bg-orange[_ngcontent-%COMP%]{background-color:#f1953b;color:#fff}.bg-green[_ngcontent-%COMP%]{background-color:#5fd876;color:#fff}.mat-button.mat-magenta[_ngcontent-%COMP%]{color:#dd1367}.mat-flat-button.mat-magenta[_ngcontent-%COMP%], .mat-raised-button.mat-magenta[_ngcontent-%COMP%]{background-color:#dd1367;color:#fff}.mat-flat-button.mat-button-disabled.mat-magenta[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-magenta[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.mat-button.mat-bordeauxe[_ngcontent-%COMP%]{color:#a21942}.mat-flat-button.mat-bordeauxe[_ngcontent-%COMP%], .mat-raised-button.mat-bordeauxe[_ngcontent-%COMP%]{background-color:#a21942;color:#fff}.mat-flat-button.mat-button-disabled.mat-bordeauxe[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-bordeauxe[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.mat-button.mat-yellow[_ngcontent-%COMP%]{color:#ffc637}.mat-flat-button.mat-yellow[_ngcontent-%COMP%], .mat-raised-button.mat-yellow[_ngcontent-%COMP%]{background-color:#ffc637;color:#000}.mat-flat-button.mat-button-disabled.mat-yellow[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-yellow[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.mat-button.mat-blue-navy[_ngcontent-%COMP%]{color:#00424a}.mat-flat-button.mat-blue-navy[_ngcontent-%COMP%], .mat-raised-button.mat-blue-navy[_ngcontent-%COMP%]{background-color:#00424a;color:#fff}.mat-flat-button.mat-button-disabled.mat-blue-navy[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-blue-navy[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.mat-button.mat-orange[_ngcontent-%COMP%]{color:#f1953b}.mat-flat-button.mat-orange[_ngcontent-%COMP%], .mat-raised-button.mat-orange[_ngcontent-%COMP%]{background-color:#f1953b;color:#fff}.mat-flat-button.mat-button-disabled.mat-orange[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-orange[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.mat-button.mat-green[_ngcontent-%COMP%]{color:#5fd876}.mat-flat-button.mat-green[_ngcontent-%COMP%], .mat-raised-button.mat-green[_ngcontent-%COMP%]{background-color:#5fd876;color:#fff}.mat-flat-button.mat-button-disabled.mat-green[_ngcontent-%COMP%], .mat-raised-button.mat-button-disabled.mat-green[_ngcontent-%COMP%]{background-color:#0000001f;color:#00000042}.map-container[_ngcontent-%COMP%]{position:absolute;inset:0}.map-frame[_ngcontent-%COMP%]{height:100%}#map[_ngcontent-%COMP%]{height:100%;font-size:1.8rem;line-height:1.5}.zoomOutBtn[_ngcontent-%COMP%]{width:33px;
2height:33px;border-radius:4px;position:absolute;right:10px;bottom:100px;z-index:1000;background-color:#fff;border:2px solid #aaaaaa;display:flex;align-items:center;justify-content:center;padding:0}.zoomOutBtn[_ngcontent-%COMP%]:hover{background-color:#eee;cursor:pointer}.zoomOutBtn[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{transform:scale(.8)}"]})}}return e})()});function Fi(e,c){e&1&&d(0,"app-spinner",1),e&2&&l("mini",!0)}function Di(e,c){if(e&1){let t=y();a(0,"div",11)(1,"app-alert",12),f(2,"translate"),a(3,"div"),g(4),f(5,"translate"),r(),a(6,"button",13),C("click",function(){v(t);let i=m(2);return P(i.resetZoomHandler())}),g(7),f(8,"translate"),r()()()}e&2&&(o(),l("title",b(2,3,"map.titles.noData")),o(3),w(" ",b(5,5,"map.texts.noData.0")," "),o(3),w(" ",b(8,7,"btn.resetZoom")," "))}function Ei(e,c){if(e&1&&_(0,Di,9,9,"div",11),e&2){let t,n=m();p(!((t=n.searchResults())!=null&&t.length)&&n.mapInitialised()===!0?0:-1)}}function Ri(e,c){if(e&1){let t=y();a(0,"app-paginator-wrapper",14)(1,"mat-paginator",15),C("page",function(i){v(t);let s=m(2);return P(s.pageChangedHandler(i))}),r()()}if(e&2){m();let t=st(0),n=m();l("total",t.totalElements),o(),l("length",t==null?null:t.totalElements)("pageIndex",t==null?null:t.number)("pageSize",(t==null?null:t.size)||n.pageSize)("pageSizeOptions",n.pageSizeOptions)("showFirstLastButtons",!0)}}function Ai(e,c){if(e&1&&(Y(0),_(1,Ri,2,6,"app-paginator-wrapper",14)),e&2){let t=lt(m().searchPaging());o(),p(t?1:-1)}}function Ii(e,c){if(e&1){let t=y();a(0,"app-organisation-card",19),C("cardClicked",function(){v(t);let i=m().$implicit,s=m();return P(s.openCard(i))}),r()}if(e&2){let t=m().$implicit,n=m();l("organisation",t)("narrow",!0)("isActive",n.isActive(t))("followed",n.subscription.oganisationIsSubcribed(t.id))}}function Bi(e,c){if(e&1){let t=y();a(0,"app-event-card",20),C("cardClicked",function(){v(t);let i=m().$implicit,s=m();return P(s.openCard(i))}),r()}if(e&2){let t=m().$implicit,n=m();l("event",t)("narrow",!0)("isActive",n.isActive(t))("bookmarked",n.subscription.activityIsSubcribed(t.id))}}function zi(e,c){if(e&1){let t=y();a(0,"div",5)(1,"div",16),C("mouseenter",function(){let i=v(t).$implicit,s=m();return P(s.cardHover(i))})("mouseleave",function(){v(t);let i=m();return P(i.clearHovered())}),_(2,Ii,1,4,"app-organisation-card",17)(3,Bi,1,4,"app-event-card",18),r()()}if(e&2){let t=c.$implicit;l("id","card-"+t.resultType+t.id),o(2),p(t.resultType==="ORGANISATION"?2:-1),o(),p(t.resultType==="DAN"?3:-1)}}function Vi(e,c){if(e&1){let t=y();Y(0),a(1,"mat-paginator",21),C("page",function(i){v(t);let s=m();return P(s.pageChangedHandler(i))}),r()}if(e&2){let t=m(),n=t.searchPaging();o(),l("length",n==null?null:n.totalElements)("pageIndex",n==null?null:n.number)("pageSize",(n==null?null:n.size)||t.pageSize)("pageSizeOptions",t.pageSizeOptions)("showFirstLastButtons",!0)}}function Li(e,c){if(e&1){let t=y();a(0,"app-map",22),C("mapMoved",function(i){v(t);let s=m();return P(s.mapMovedHandler(i))}),r()}if(e&2){let t=m(),n=st(12);l("center",t.germanyCenter)("data",n)}}var Ti,qn,Yn=S(()=>{"use strict";Bt();O();Cn();bt();bo();ho();Ao();qe();Lt();Wt();j();En();Hn();go();B();Gn();$n();A();Nt();Vt();Ke();Vo();Po();ko();O();B();Cn();A();Ti=(e,c)=>c.id;qn=(()=>{class e{constructor(){this.filtersService=u(Pn),this.mapService=u(it),this.route=u(_t),this.marker=u(at),this.subscription=u(on),this.utils=u(Mt),this.zoomService=u(Pt),this.tracker=u(kn),this.loading=this.mapService.loading,this.pageSize=ln.pageSize,this.pageSizeOptions=[5,10,25,100,250,500],this.active="",this.germanyCenter=[51.1642292,10.4541194],this.searchResults=this.mapService.searchResults,this.searchPaging=this.mapService.searchResultsPaging,this.markers=this.mapService.markers,this.filters=this.mapService.filters,this.mapInitialised=this.mapService.mapInitialised,this.filtersService.setOpenFilters("map-filters",[])}ngOnInit(){this.mapService.setEmbedded(!1),this.mapService.setInitalFilters(),this.mapService.search(),this.route.queryParams.subscribe(t=>{this.mapService.setActiveCard({type:t.type,id:+t.id})})}searchChangedHandler(t){this.mapService.setActiveCard(void 0),this.tracker.trackSiteSearch(JSON.stringify(t,null,2),"MAP_SEARCH"),this.mapService.search(t)}pageChangedHandler(t){this.mapService.changePage(t.pageIndex,t.pageSize)}mapMovedHandler(t){this.mapService.setBoundingBox(t),this.mapService.search()}isActive(t){return this.mapService.isActiveCard(t.resultType,t.id)}openCard(t){this.mapService.openCard(t.resultType,t.id),this.marker.triggerMarkerActivation(t)}cardHover(t){this.mapService.setHoveredCard({type:t?.resultType||"",id:t?.id}),this.marker.triggerMarkerHovered(t)}clearHovered(){this.mapService.clearHoveredCard(),this.marker.triggerMarkerLeaved()}resetZoomHandler(){this.zoomService.resetMapZoom()}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=x({type:e,selectors:[["app-map-container"]],decls:16,vars:9,consts:[["filter","",3,"searchParamsChanged","activeFilters"],["loader","",3,"mini"],["results","",1,"results-wrapper"],[1,"results"],[1,"cards"],[1,"card-entry",3,"id"],["color","accent","aria-label","Select page",1,"mat-elevation-z8","paginator-bottom",3,"length","pageIndex","pageSize","pageSizeOptions","showFirstLastButtons"],["map",""],[3,"center","data"],["detailsDesktop",""],["detailsMobile","",3,"mobile"],[1,"no-data"],[3,"title"],["mat-flat-button","","color","accent",1,"resetBtn",3,"click"],[3,"total"],["color","accent","aria-label","Select page",3,"page","length","pageIndex","pageSize","pageSizeOptions","showFirstLastButtons"],[3,"mouseenter","mouseleave"],[3,"organisation","narrow","isActive","followed"],[3,"event","narrow","isActive","bookmarked"],[3,"cardClicked","organisation","narrow","isActive","followed"],[3,"cardClicked","event","narrow","isActive","bookmarked"],["color","accent","aria-label","Select page",1,"mat-elevation-z8","paginator-bottom",3,"page","length","pageIndex","pageSize","pageSizeOptions","showFirstLastButtons"],[3,"mapMoved","center","data"]],template:function(n,i){if
2(n&1){let s=y();a(0,"app-map-layout")(1,"app-search-form",0),C("searchParamsChanged",function(D){return v(s),P(i.searchChangedHandler(D))}),r(),_(2,Fi,1,1,"app-spinner",1),a(3,"div",2)(4,"div",3),_(5,Ei,1,1)(6,Ai,2,2),a(7,"div",4),U(8,zi,4,3,"div",5,Ti),r(),_(10,Vi,2,5,"mat-paginator",6),r()(),a(11,"div",7),Y(12),_(13,Li,1,2,"app-map",8),r(),d(14,"app-details-card",9)(15,"app-details-card",10),r()}if(n&2){let s,h,D;o(),l("activeFilters",i.filters()),o(),p(i.mapService.hasLoader("search")?2:-1),o(3),p(i.mapService.hasLoader("search")?-1:5),o(),p((s=i.searchResults())!=null&&s.length?6:-1),o(),l("@addRemove",(h=i.searchResults())==null?null:h.length),o(),$(i.searchResults()),o(2),p((D=i.searchResults())!=null&&D.length?10:-1),o(2);let W=lt(i.markers());o(),p(W?13:-1),o(2),l("mobile",!0)}},dependencies:[L,Dn,Xn,pn,fn,Je,I,J,Zn,bn,_n,Un,R,E,vt,xt],styles:["[_ngcontent-%COMP%]:root{--text-3xl: 4.8rem;--text-xxl: 3.8rem;--text-xl: 3.2rem;--text-lg: 2.4rem;--text-md: 1.8rem;--text-sm: 1.6rem;--text-xs: 1.4rem;--text-xxs: 1.2rem;--text-3xl-lh: 1;--text-xxl-lh: 1;--text-xl-lh: 1.1;--text-lg-lh: 1.3;--text-md-lh: 1.5;--text-sm-lh: 1.5;--text-xs-lh: 1.6;--text-xxs-lh: 1.6}.results-wrapper[_ngcontent-%COMP%]{height:100%;min-height:200px;position:relative}.results[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.6rem;justify-content:space-between;height:100%;position:relative}.results[_ngcontent-%COMP%] .spinner-wrapper[_ngcontent-%COMP%]{position:absolute;z-index:0;left:0;right:0;top:0}.results[_ngcontent-%COMP%] .cards[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;gap:1.6rem}.resetBtn[_ngcontent-%COMP%]{margin-top:1.6rem}.paginator-bottom[_ngcontent-%COMP%]{padding-inline:1.6rem}"],data:{animation:[nt("addRemove",[ot("* <=> *",[N(":enter",[k({transform:"translateX(-200px)",opacity:0}),xe(50,[X("200ms cubic-bezier(0.35, 0, 0.25, 1)"),k({transform:"translateX(0px)",opacity:1})])],{optional:!0})])])]}})}}return e})()});var ul,ji=S(()=>{Nt();Yn();ul=[{path:"",component:qn,children:[{path:":type/:detail",component:vt,data:{animation:"mapDetails"}}]}]});ji();export{ul as MAP_ROUTES};
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.