PageSourceSearch

https://c.pathe.fr/chunk-NYCAE5EC.js

js pathe.fr collected 2026-10-02 02:57:25 UTC 3,646 bytes, 1 lines download raw bytes

1import{a as S,d as p,e as P}from"./chunk-TZJJV2BT.js";import{a as H}from"./chunk-G3HBYWHQ.js";import{b as N}from"./chunk-6TXVGBL5.js";import"./chunk-4CCMSQVC.js";import"./chunk-DKR4SKWR.js";import"./chunk-QUQ6ZG2Z.js";import"./chunk-FYCKCHLL.js";import{a as b}from"./chunk-J57AXRWD.js";import"./chunk-FRJXCRDF.js";import{p as V,s as O}from"./chunk-OTD5QO55.js";import{i as F}from"./chunk-OR6LFIYO.js";import"./chunk-5EIR56OT.js";import"./chunk-V5MGAYRG.js";import{j as U}from"./chunk-LWFXUCNJ.js";import{$b as m,Aa as w,Bc as h,Cc as M,Db as $,Dc as B,Ib as L,Jc as I,O as y,Oc as d,Pc as _,Sb as f,Tb as D,Ub as C,Yb as g,Zb as s,_b as o,dc as E,ec as A,gc as K,jb as k,lc as v,mc as a,pb as n,ta as T,xc as l,za as x,zc as u}from"./chunk-66L6RLB2.js";var W={account:"Newsletter.OptOut.Category.Account",filmnews:"Newsletter.OptOut.Category.MovieNews",filmtips:"Newsletter.OptOut.Category.MovieTips",servicemail:"Newsletter.OptOut.Category.Service"},j=O(p,t=>t&&W[t]?W[t]:null);var q=O(p,t=>t!==void 0&&["filmnews","filmtips","account"].includes(t));var Q=t=>({link:t});function R(t,r){if(t&1&&(s(0,"p",9),l(1),o()),t&2){let e=a().$implicit,i=B(9);n(),u(" ",e(i)," ")}}function G(t,r){t&1&&m(0,"app-spinner",11),t&2&&g("container",!0)}function J(t,r){if(t&1){let e=K();s(0,"button",12),v("click",function(){x(e);let c=a(3);return w(c.unsubscribe(!1))}),l(1),o(),l(2," \xA0 "),s(3,"button",13),v("click",function(){x(e);let c=a(3);return w(c.unsubscribe(!0))}),l(4),o()}if(t&2){let e=a().$implicit;n(),u(" ",e("Newsletter.OptOut.Submit.ForCategory")," "),n(3),u(" ",e("Newsletter.OptOut.Submit.ForAll")," ")}}function X(t,r){if(t&1&&(E(0),s(1,"div",2)(2,"div",3)(3,"div",4)(4,"div",5),m(5,"img",6),s(6,"div",7)(7,"h3",8),l(8),o(),h(9),d(10,"async"),f(11,R,2,1,"p",9),m(12,"p",10),o(),f(13,G,1,1,"app-spinner",11),d(14,"async"),d(15,"async"),D(16,J,5,2),o()()()(),A()),t&2){let e=r.$implicit,i=a(2);n(8),u(" ",e("Newsletter.OptOut.Title")," "),n();let c=M(_(10,4,i.descriptionKey$));n(2),C(c?11:-1),n(),g("innerHTML",e("Newsletter.OptOut.Category.Default",I(11,Q,e("Route.Notifications"))),k),n(),C(_(14,7,i.unsubscribeLoading$)?13:_(15,9,i.unsubscription$)?16:-1)}}function Y(t,r){t&1&&L(0,X,17,13,"ng-container",1)}function Z(t,r){t&1&&m(0,"br")(1,"br")(2,"app-spinner",11),t&2&&(n(2),g("container",!0))}var xt=(()=>{class t{constructor(){this.category$=b(p),this.unsubscribeLoading$=b(P),this.descriptionKey$=b(j),this.unsubscription$=b(q),this.store=T(V)}ngOnInit(){this.store.select(N("tkn")).pipe(y(1)).subscribe(e=>{typeof e=="string"&&this.store.dispatch(S.requestCategory({token:e}))})}unsubscribe(e){this.store.select(N("tkn")).pipe(y(1)).subscribe(i=>{typeof i=="string"&&this.store.dispatch(S.unsubscribe({token:i,all:e}))})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=$({type:t,selectors:[["ng-component"]],decls:5,vars:3,consts:[[1,"section-full","bg-white"],[4,"transloco"],[1,"container"],[1,"row","c-black"],[1,"col","col-lg-offset-4","col-lg-8","mt-7"],[1,"block","mt-1","mb-1","mt-md-7","mb-md-8"],["src","/assets/source/img/sad.png","alt","Sad",1,"img-preferences","mb-4","mb-md-5"],[1,"mb-3"],[1,"mb-1"],[1,"c-black-70","mb-2"],[1,"c-black-70","mb-0",3,"innerHTML"],[3,"container"],[1,"btn","btn--primary","btn--center","btn-md--full","mb-1","mb-md-0",3,"click"],[1,"btn","btn--gray-alpha","btn--center","btn-md--full",3,"click"]],template:function(i,c){if(i&1&&(h(0),d(1,"async"),s(2,"section",0),f(3,Y,1,0,"ng-container")(4,Z,3,1),o()),i&2){let z=_(1,1,c.category$);n(3),C(z?3:4)}},dependencies:[H,F,U],encapsulation:2,changeDetection:0})}}return t})();export{xt as NewsletterOptOutComponent};

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.