PageSourceSearch

https://c.pathe.nl/chunk-XPLPNI4N.js

js pathe.nl collected 2026-10-02 02:47:47 UTC 13,269 bytes, 1 lines download raw bytes

1import{a as ve}from"./chunk-DONXYEV7.js";import{a as fe}from"./chunk-J3OBIZOH.js";import{a as ce}from"./chunk-G3HBYWHQ.js";import{a as le}from"./chunk-BUS4W3VL.js";import{a as U}from"./chunk-HRLPZISU.js";import"./chunk-HWVOHKMJ.js";import{a as xe}from"./chunk-CKAJH42S.js";import{a as Ce}from"./chunk-ZONEM3KN.js";import"./chunk-KPH3WHZ5.js";import{d as pe,g as me,o as de,s as _e,u as ue}from"./chunk-XFAACDKG.js";import{a as ge}from"./chunk-2NQXKMOX.js";import"./chunk-3YOLCZ2B.js";import"./chunk-5GRVPBOO.js";import"./chunk-6TXVGBL5.js";import{a as M,g as J,h as K,i as Q,j as re,k as se}from"./chunk-M3TLUVCJ.js";import"./chunk-4CCMSQVC.js";import"./chunk-DKR4SKWR.js";import{i as H}from"./chunk-QUQ6ZG2Z.js";import"./chunk-FYCKCHLL.js";import"./chunk-Q7WTQ5LX.js";import"./chunk-Q7FXWZEO.js";import"./chunk-RUTOM4H2.js";import{a as h}from"./chunk-J57AXRWD.js";import"./chunk-FRJXCRDF.js";import"./chunk-KIXHZW2U.js";import{p as A,s as z}from"./chunk-OTD5QO55.js";import{i as D,j as B}from"./chunk-OR6LFIYO.js";import"./chunk-5EIR56OT.js";import"./chunk-V5MGAYRG.js";import{a as j}from"./chunk-FLR7AQCX.js";import{g as O,h as ae,j as P}from"./chunk-LWFXUCNJ.js";import{$b as u,Aa as b,Bc as $,Cc as ie,Db as k,Dc as Y,Ec as x,Gb as te,Gc as ne,Ib as T,Ic as q,Jc as F,Kc as L,Lc as oe,Oc as d,Pc as _,Sb as g,Ub as C,Vb as N,Wb as R,Xb as G,Yb as c,Zb as o,_b as r,dc as S,ec as w,gc as E,lc as y,mc as l,pb as n,ta as I,xc as p,yc as V,za as v,zc as m}from"./chunk-66L6RLB2.js";var be=z(J,K,(t,a)=>{if(t===void 0)return;if(a===void 0)return t;let e=a==="closed";return t.filter(i=>i.closed===e)});var X=(()=>{class t{transform(e){return e.closed?"Messages.Topic.State.Closed":"Messages.Topic.State.Opened"}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=te({name:"formatTopicState",type:t,pure:!0})}}return t})();var Z=t=>({"is-active":t}),Se=t=>({count:t}),we=(t,a)=>({number:t,date:a});function Ee(t,a){t&1&&u(0,"div",11)}function Fe(t,a){if(t&1){let e=E();o(0,"a",7),y("click",function(){let s=v(e).$implicit,f=l(3);return b(f.select(s.id))}),o(1,"div",8)(2,"div")(3,"div",9)(4,"p",10),p(5),r(),g(6,Ee,1,0,"div",11),d(7,"async"),r(),o(8,"p",12),p(9),d(10,"numericDate"),r()(),o(11,"span",13),p(12),d(13,"formatTopicState"),r()(),u(14,"app-icon",14),r()}if(t&2){let e=a.$implicit,i=l(2).$implicit,s=l();c("title",ne("",i("Messages.ShowMessage")," ",e.subject)),n(5),V(e.subject),n(),C(_(7,10,s.selected$)===e.id?6:-1),n(3),m(" ",i("Messages.Topic.Subtitle",L(16,we,e.number,_(10,12,e.createdAt)))," "),n(2),c("ngClass",e.closed?"label--light":"label--primary"),n(),m(" ",i(_(13,14,e))," "),n(2),c("name","arrow-right")("modifier","desktop-ban")}}function De(t,a){if(t&1){let e=E();o(0,"section",1)(1,"div",2),$(2),d(3,"async"),o(4,"button",3),y("click",function(){v(e);let s=l(2);return b(s.removeFilter())}),p(5),r(),o(6,"button",3),y("click",function(){v(e);let s=l(2);return b(s.filter("opened"))}),p(7),d(8,"async"),r(),o(9,"button",4),y("click",function(){v(e);let s=l(2);return b(s.filter("closed"))}),p(10),r()(),o(11,"div",5),R(12,Fe,15,19,"a",6,N),r()()}if(t&2){let e=l().$implicit,i=l(),s=_(3,12,i.filter$);n(4),c("title",x(e("Messages.ShowAllMessages")))("ngClass",F(16,Z,s===void 0)),n(),m(" ",e("Messages.Filter.All")," "),n(),c("title",x(e("Messages.ShowCurrentMessages")))("ngClass",F(18,Z,s==="opened")),n(),m(" ",e("Messages.Filter.Opened",F(20,Se,_(8,14,i.openedCount$)))," "),n(2),c("title",x(e("Messages.ShowClosedMessages")))("ngClass",F(22,Z,s==="closed")),n(),m(" ",e("Messages.Filter.Closed")," "),n(2),G(i.topics)}}function Be(t,a){if(t&1&&(S(0),g(1,De,14,24,"section",1),w()),t&2){let e=l();n(),C(e.topics?1:-1)}}var ye=(()=>{class t{constructor(){this.openedCount$=h(fe),this.filter$=h(K),this.selected$=h(Q),this.store=I(A)}removeFilter(){this.store.dispatch(M.resetFilter())}filter(e){this.store.dispatch(M.filter({filter:e}))}select(e){this.store.dispatch(M.select({id:e}))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-topics"]],inputs:{topics:"topics"},decls:1,vars:0,consts:[[4,"transloco"],[1,"chat__list","f","f-direction-column","mb-1"],[1,"chat__header"],[1,"tag","tag--condensed","tag--transparent","ft-up","mr-1",3,"click","ngClass","title"],[1,"tag","tag--condensed","tag--transparent","ft-up",3,"click","ngClass","title"],[1,"bg-white"],["role","button",1,"chat-item","f","f-ai-center","f-jc-space-b","c-black",3,"title"],["role","button",1,"chat-item","f","f-ai-center","f-jc-space-b","c-black",3,"click","title"],[1,"f--desktop","f-1","f-ai-center","f-jc-space-b"],[1,"chat-item__title","f","f-ai-center"],[1,"ft-500","mb-0","h4"],[1,"ml-2","chat-item__notif"],[1,"chat-item__ref","ft-default","c-black-70"],[1,"label","label--ft-large","label--pill",3,"ngClass"],[3,"name","modifier"]],template:function(i,s){i&1&&T(0,Be,2,1,"ng-container",0)},dependencies:[B,D,O,j,U,X,P],encapsulation:2,changeDetection:0})}}return t})();var he=z(J,Q,(t,a)=>{if(!(t===void 0||a===void 0))return t.find(e=>e.id===a)});var Me=(t,a)=>({number:t,date:a}),Ie=t=>({"is-open":t}),$e=(t,a,e)=>({"message--received":t,"f-ai-end":a,"mb-3":e}),Ve=(t,a)=>({date:t,time:a}),Le=()=>["input--small","input--borderless"],Pe=()=>({"flex-grow":1}),Ae=t=>({"link-icon--dark is-disabled":t});function je(t,a){if(t&1){let e=E();o(0,"button",19),y("click",function(){v(e);let s=l(2),f=l();return b(f.close(s.id))}),p(1),r()}if(t&2){let e=l().$implicit;c("title",x(e("Messages.Topic.Close"))),n(),m(" ",e("Messages.Topic.Close")," ")}}
1function qe(t,a){if(t&1&&(o(0,"div",16)(1,"div",20)(2,"p",21),p(3),r()(),o(4,"p",22),p(5),d(6,"numericDate"),d(7,"time"),r()()),t&2){let e=a.$implicit,i=a.$index,s=a.$count,f=l().$implicit;c("ngClass",oe(7,$e,e.received,!e.received,i!==s-1)),n(3),V(e.body),n(2),m(" ",f("Messages.Message.Date",L(11,Ve,_(6,3,e.createdAt),_(7,5,e.createdAt)))," ")}}function Ne(t,a){if(t&1){let e=E();o(0,"button",23),y("click",function(){v(e);let s=l(2),f=l();return b(f.close(s.id))}),p(1),r()}if(t&2){let e=l().$implicit;c("title",x(e("Messages.Topic.Close"))),n(),m(" ",e("Messages.Topic.Close")," ")}}function Re(t,a){if(t&1){let e=E();o(0,"div",18)(1,"app-form-group-input",24),y("submitting",function(){v(e);let s=l(3);return b(s.sendMessage())}),r(),o(2,"div",2),$(3),d(4,"async"),$(5),d(6,"async"),o(7,"button",25),y("click",function(){v(e);let s=l(3);return b(s.sendMessage())}),u(8,"app-icon",11),r()()()}if(t&2){let e=l().$implicit,i=l(2);c("formGroup",i.form),n(),c("name","message")("id","message")("modifiers",q(16,Le))("placeholder",e("Messages.Input.Placeholder"))("displayErrors",!1)("ngStyle",q(17,Pe));let s=_(4,12,i.form.statusChanges),f=_(6,14,i.messageLock$);n(6),c("title",x(e("Messages.SendMessage")))("ngClass",F(18,Ae,s!=="VALID"||f))("disabled",s!=="VALID"||f),n(),c("name","send")}}function Ge(t,a){if(t&1){let e=E();S(0),o(1,"div",1)(2,"div")(3,"div",2)(4,"h4",3),p(5),r(),o(6,"span",4),p(7),d(8,"formatTopicState"),r()(),o(9,"p",5),p(10),d(11,"numericDate"),r()(),g(12,je,2,3,"button",6),r(),o(13,"div",7),d(14,"async"),o(15,"div",8)(16,"div",9)(17,"a",10),y("click",function(){v(e);let s=l(2);return b(s.hide())}),u(18,"app-icon",11),r(),o(19,"div",12)(20,"h4",13),p(21),r(),o(22,"p",14),p(23),d(24,"numericDate"),r()()()(),o(25,"div",15),R(26,qe,8,14,"div",16,N),g(28,Ne,2,3,"button",17),r(),g(29,Re,9,20,"div",18),r(),w()}if(t&2){let e=a.$implicit,i=l(),s=l();n(5),V(i.subject),n(),c("ngClass",i.closed?"label--light":"label--primary"),n(),m(" ",e(_(8,13,i))," "),n(3),m(" ",e("Messages.Topic.Subtitle",L(21,Me,i.number,_(11,15,i.createdAt)))," "),n(2),C(i.closed?-1:12),n(),c("ngClass",F(24,Ie,_(14,17,s.mobileDisplay$))),n(4),c("title",x(e("Messages.CloseMessage"))),n(),c("name","arrow-left"),n(3),V(i.subject),n(2),m(" ",e("Messages.Topic.Subtitle",L(26,Me,i.number,_(24,19,i.createdAt)))," "),n(3),G(i.messages),n(2),C(i.closed?-1:28),n(),C(i.closed?-1:29)}}function Oe(t,a){t&1&&T(0,Ge,30,29,"ng-container",0)}var ke=(()=>{class t{constructor(){this.conversation$=h(he),this.mobileDisplay$=h(re),this.messageLock$=h(se),this.form=I(_e).nonNullable.group({message:["",[pe.required]]}),this.store=I(A)}close(e){this.store.dispatch(M.close({id:e}))}hide(){this.store.dispatch(M.hide())}sendMessage(){let e=this.form.get("message");e?.enabled&&e?.value.length>0&&(this.store.dispatch(M.addMessage({body:e.value})),this.form.reset())}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-messages"]],decls:2,vars:3,consts:[[4,"transloco"],[1,"desktop-only","chat__messages-header","bg-white","f","f-ai-center","f-jc-space-b"],[1,"f","f-ai-center"],[1,"mr-4"],[1,"label","label--ft-large","label--pill",3,"ngClass"],[1,"ft-default","c-black-70","mb-0"],[1,"btn","btn--gray-alpha",3,"title"],[1,"chat__detail",3,"ngClass"],[1,"account-topbar","account-topbar--small"],[1,"container"],["role","button",1,"link-icon","link-icon--light","link-icon--medium",3,"click","title"],[3,"name"],[1,"ft-center"],[1,"ft-primary"],[1,"mb-0","c-white-70"],[1,"chat__messages"],[1,"message","c-black","f","f-direction-column",3,"ngClass"],[1,"btn","btn--full","btn--center","btn--white","mobile-only","mt-3",3,"title"],[1,"chat__input","bg-white",3,"formGroup"],[1,"btn","btn--gray-alpha",3,"click","title"],[1,"message__content","mb-1"],[1,"ft-primary","mb-0"],[1,"message__infos","ft-default","c-black-50","mb-0"],[1,"btn","btn--full","btn--center","btn--white","mobile-only","mt-3",3,"click","title"],[3,"submitting","name","id","modifiers","placeholder","displayErrors","ngStyle"],[1,"link-icon","link-icon--medium",3,"click","ngClass","disabled","title"]],template:function(i,s){if(i&1&&(g(0,Oe,1,0,"ng-container"),d(1,"async")),i&2){let f;C((f=_(1,1,s.conversation$))?0:-1,f)}},dependencies:[B,D,O,j,ue,me,de,Ce,ae,X,U,ve,P],encapsulation:2,changeDetection:0})}}return t})();function ze(t,a){if(t&1&&(S(0),o(1,"div",1)(2,"div",2)(3,"div",3)(4,"section",4)(5,"p",5),p(6),r(),o(7,"p",6),p(8),r(),o(9,"button",7),p(10),r()()()()(),w()),t&2){let e=a.$implicit;n(6),m(" ",e("Messages.Empty.Title")," "),n(2),m(" ",e("Messages.Empty.Subtitle")," "),n(),c("routerLink",e("Route.Contact")),n(),m(" ",e("Messages.Empty.Button")," ")}}var Te=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-messages-empty"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"row","c-black"],[1,"col","col-lg-12","col-lg-offset-2","mt-4","mt-md-7","mb-md-8","mb-7"],[1,"empty-wrapper"],[1,"box","box--account","f","f-direction-column","f-center","ft-center"],[1,"mb-1","ft-primary","ft-500","c-black-70"],[1,"mb-0","ft-default","c-black-70"],[1,"btn","btn--primary","mt-2",3,"routerLink"]],template:function(i,s){i&1&&T(0,ze,11,4,"ng-container",0)},dependencies:[B,D,H],encapsulation:2,changeDetection:0})}}return t})();var He=()=>["account-topbar--open"];function Je(t,a){t&1&&u(0,"app-spinner",8),t&2&&c("container",!0)}function Ke(t,a){if(t&1&&(o(0,"div",9)(1,"div",10),u(2,"app-topics",11),r(),o(3,"div",12),u(4,"app-messages"),r()()),t&2){l(2);let e=Y(9);n(2),c("topics",e)}}function Qe(t,a){t&1&&u(0,"app-messages-empty")}function Ue(t,a){if(t&1&&g(0,Ke,5,1,"div",9)(1,Qe,1,0,"app-messages-empty"),t&2){l();let e=Y(9);C(e.length>0?0:1)}}function We(t,a){if(t&1&&(S(0),o(1,"app-top-bar",1)(2,"div")(3,"a",2),u(4,"app-icon",3),r(),o(5,"a",4),u(6,"app-icon",5),p(7),r()()(),o(8,"section",6),$(9),d(10,"async"),o(11,"div",7),g(12,Je,1,1,"app-spinner",8),g(13,Ue,2,1),r()(),u(14,"app-faq-block"),w()),t&2){let e=a.$implicit;n(),c("title",e("Messages.TopBar.Title"))("modifiers",q(29,He)),n(2),c("title",x(e("Messages.TopBar.Button")))("routerLink",e("Route.Contact"))("category","account::mailbox")("action","ask_new_question")("label",e("Messages.TopBar.Button"))("name","ask_new_question")("block","mailbox")("location","my_messages"),n(),c("name","plus"),n(),c("title",x(e("Messages.TopBar.Button")))("routerLink",e("Route.Contact"))("category","account::mailbox")("action","ask_new_question")("label",e("Messages.TopBar.Button"))("name","ask_new_question")("block","mailbox")("location","my_messages"),n(),c("name","plus")("modifier","mr-2"),n(),m(" ",e("Messages.TopBar.Button")," "),n(2);let i=ie(_(10,26,l().conversations$)??void 0);n(3),C(i===void 0?12:-1),n(),C(i!==void 0?13:-1)}}var oi=(()=>{class t{constructor(){this.conversations$=h(be),this.store=I(A),this.store.dispatch(M.request())}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=k({type:t,selectors:[["ng-component"]],decls:1,vars:0,consts:[[4,"transloco"],[3,"title","modifiers"],["appClickTracker","",1,"link-icon","link-icon--light","link-icon--medium","desktop-ban",3,"routerLink","category","action","label","name","block","location","title"],[3,"name"],["appClickTracker","",1,"btn","btn--gray","desktop-only",3,"routerLink","category","action","label","name","block","location","title"],[3,"name","modifier"],[1,"bg-gray"],[1,"container","chat"],[3,"container"],[1,"row","c-black"],[1,"col","col-lg-5","mt-lg-5"],[3,"topics"],[1,"col","col-lg-11","mt-lg-5"]],template:function(i,s){i&1&&T(0,We,15,30,"ng-container",0)},dependencies:[xe,H,B,D,le,j,ce,ye,ke,Te,ge,P],encapsulation:2,changeDetection:0})}}return t})();export{oi as MessagesPageComponent};

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.