1import{a as v,d as L,e as N,f as Q,g as U,i as W,k as X}from"./chunk-3GAUSX3W.js";import{a as K}from"./chunk-65XDHLV2.js";import"./chunk-6EIUIGH3.js";import{a as J}from"./chunk-CKAJH42S.js";import{u as z}from"./chunk-XFAACDKG.js";import{a as H}from"./chunk-OVQELX4E.js";import{a as j,b as q,c as R}from"./chunk-YTNJ3E65.js";import"./chunk-5GRVPBOO.js";import"./chunk-KSWVLWLO.js";import"./chunk-UIWLIR4U.js";import"./chunk-KKEQCQBE.js";import"./chunk-DKR4SKWR.js";import"./chunk-VRYYVVV3.js";import"./chunk-M3THH75Q.js";import"./chunk-Q7FXWZEO.js";import"./chunk-RUTOM4H2.js";import{a as u}from"./chunk-J57AXRWD.js";import"./chunk-FRJXCRDF.js";import{p as D}from"./chunk-OTD5QO55.js";import{i as A,j as O}from"./chunk-OR6LFIYO.js";import"./chunk-5EIR56OT.js";import{a as M}from"./chunk-FLR7AQCX.js";import{j as V}from"./chunk-LWFXUCNJ.js";import{$b as f,Aa as C,Db as $,Ib as w,Ic as P,Jc as k,Oc as _,Pc as g,Vb as y,Wb as I,Xb as E,Yb as c,Zb as o,_b as r,dc as F,ec as B,gc as x,lc as b,mc as d,pb as t,ta as T,xc as s,yc as p,za as h,zc as G}from"./chunk-66L6RLB2.js";var Z=()=>["account-topbar--lg-open"],Y=n=>({count:n}),ee=n=>({length:n});function te(n,l){if(n&1){let e=x();o(0,"div",16)(1,"input",17),b("change",function(a){let m=h(e).$implicit,S=d(3);return C(S.selectGenre(a,m.id))}),r(),o(2,"label"),s(3),r()()}if(n&2){let e=l.$implicit;t(),c("checked",e.selected),t(2),p(e.name)}}function ne(n,l){if(n&1){let e=x();o(0,"div",9)(1,"div",15)(2,"div",16)(3,"input",17),b("change",function(a){let m=h(e).$implicit,S=d(2);return C(S.selectGenreCategory(a,m.id))}),r(),o(4,"label"),s(5),r()(),o(6,"span",18),s(7),f(8,"app-icon",19),r()(),o(9,"div",20),I(10,te,4,2,"div",16,y),r()()}if(n&2){let e=l.$implicit,i=d().$implicit;t(3),c("checked",e.selected),t(2),p(e.name),t(),c("container","my-interest")("name",e.name)("closeOther",!1),t(),G(" ",i("Interests.Genres.ShowAll",k(10,ee,e.genres.length))," "),t(),c("name","arrow-down"),t(),c("container","my-interest")("name",e.name)("forceOpenOnDesktop",!1),t(),E(e.genres)}}function ie(n,l){if(n&1){let e=x();o(0,"div",13)(1,"input",17),b("change",function(){let a=h(e).$implicit,m=d(2);return C(m.selectEvent(a.id))}),r(),o(2,"label"),s(3),r()()}if(n&2){let e=l.$implicit;t(),c("checked",e.selected),t(2),p(e.name)}}function re(n,l){if(n&1){let e=x();F(0),f(1,"app-top-bar",1),o(2,"section",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"section",6)(7,"h3"),s(8),r(),o(9,"p",7),s(10),_(11,"async"),r(),o(12,"div",8),I(13,ne,12,12,"div",9,y),_(15,"async"),r()(),f(16,"hr",10),o(17,"section",11)(18,"h3"),s(19),r(),o(20,"p",12),s(21),_(22,"async"),r(),I(23,ie,4,2,"div",13,y),_(25,"async"),r()()()(),o(26,"app-form-bottom-bar",14),_(27,"async"),_(28,"async"),b("submitting",function(){h(e);let a=d();return C(a.saveChanges())}),r()(),f(29,"app-faq-block"),B()}if(n&2){let e=l.$implicit,i=d();t(),c("title",e("Interests.TopBar.Title"))("modifiers",P(21,Z)),t(7),p(e("Interests.Genres.Title")),t(2),p(e("Interests.Genres.Count",k(22,Y,g(11,9,i.selectedGenresCount$)))),t(2),c("container","my-interest"),t(),E(g(15,11,i.categories$)),t(6),p(e("Interests.Events.Title")),t(2),p(e("Interests.Events.Count",k(24,Y,g(22,13,i.selectedEventsCount$)))),t(2),E(g(25,15,i.events$)),t(3),c("count",g(27,17,i.changesCount$)??void 0)("savingChanges",g(28,19,i.savingChanges$)??void 0)}}var ke=(()=>{class n{constructor(){this.changesCount$=u(X),this.categories$=u(N),this.events$=u(Q),this.selectedGenresCount$=u(W),this.selectedEventsCount$=u(U),this.savingChanges$=u(L),this.store=T(D),this.store.dispatch(v.requestGenres())}selectGenre(e,i){this.store.dispatch(v.selectGenre({genreId:i}))}selectGenreCategory(e,i){let m=e.target.checked;this.store.dispatch(v.selectGenreCategory({categoryId:i,selected:m}))}selectEvent(e){this.store.dispatch(v.selectEvent({eventId:e}))}saveChanges(){this.store.dispatch(v.saveChanges())}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=$({type:n,selectors:[["app-interests-page"]],decls:1,vars:0,consts:[[4,"transloco"],[3,"title","modifiers"],["id","infos-persos",1,"bg-white"],[1,"container"],[1,"row","c-black"],[1,"col","col-lg-8","col-lg-offset-4","mt-md-5"],["id","info",1,"block","block--pb0","mb-md-5"],[1,"c-black-50","mb-2"],["appAccordionContainer","",1,"js-accordions-single",3,"container"],[1,"accordion","accordion--checkbox"],[1,"separator-block","mobile-only"],["id","privacy",1,"block","mb-md-7"],[1,"c-black-50","mb-2","mb-md-4"],[1,"checkbox","mb-3","input-changes-bottombar-input"],[3,"submitting","count","savingChanges"],[1,"accordion-trigger","f","f-jc-space-b","ft-500"],[1,"checkbox","input-changes-bottombar-input"],["type","checkbox",3,"change","checked"],["appAccordionTrigger","",3,"container","name","closeOther"],[3,"name"],["appAccordionPanel","",1,"accordion-panel",3,"container","name","forceOpenOnDesktop"]],template:function(i,a){i&1&&w(0,re,30,26,"ng-container",0)},dependencies:[O,A,J,M,z,j,q,R,H,K,V],encapsulation:2,changeDetection:0})}}return n})();export{ke as InterestsPageComponent};
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.