PageSourceSearch

https://www.programme-tv.net/telfront/site/scripts/7515.51cfa8fe26c8ad0b.js

js programme-tv.net collected 2026-10-01 10:32:31 UTC 8,336 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunktv_front=self.webpackChunktv_front||[]).push([["7515"],{3135(e,t,r){r.d(t,{A:()=>u});var n=r(1029),o=r(5961),i=r(1426),s=r(1445),a=r(4068),c=r(5496),l=r(6575);async function d({config:e,isCredentialsRequired:t=!1,mode:r=null}){if(!e.uri)throw Error("Apollo Client: URL is required");let d={"content-type":"application/json"};e.authorization&&(d.authorization=`Bearer ${e.authorization}`),e.apiKey&&(d["x-api-key"]=e.apiKey),e.introspectionKey&&(d["x-introspection-key"]=e.introspectionKey);let u=new a.z({attempts:{max:2}}),g=n.C.from([u,new o.P({uri:e.uri3?e.uri3:e.uri,headers:d,credentials:t?"include":"omit",useGETForQueries:!r,fetch:(e,t)=>fetch(e.toString().replace(/(%20)+/g,"%20"),t),print:(e,t)=>(0,l.Z)(t(e))})]);globalThis.__apolloClients||(globalThis.__apolloClients={});let m=globalThis.__apolloClients??{},w=`${e.uri}::${t?"credentials":"no-credentials"}`;if(m[w])return m[w];let p=new i.R({link:g,cache:new s.D,devtools:{enabled:!0},localState:new c.X({})});return m[w]=p,p}class u{config;isCredentialsRequired;mode;constructor({config:e,isCredentialsRequired:t,mode:r}){this.config=e,this.isCredentialsRequired=t,this.mode=r}getClient(){return d({config:this.config,isCredentialsRequired:this.isCredentialsRequired,mode:this.mode})}}},9157(e,t,r){r.d(t,{y:()=>n});function n({context:e,data:t,nullMessage:r,backgroundColor:n}){return null==t?(!function({context:e,data:t}){console.log(`%c${e} NULL ASSERTION`,"color: #16262E; font-weight: bold; background-color:rgb(255, 255, 255); padding: 4px",t)}({context:e,data:t}),{message:r||`${e} is null`,error:null}):("object"==typeof t&&null!==t&&"errors"in t&&t.errors?!function({context:e,error:t}){console.log(`%c${e} ERRORS`,"color: #16262E; font-weight: bold; background-color:rgb(255, 0, 0); padding: 4px",t)}({context:e,error:t.errors}):!function({context:e,data:t,backgroundColor:r="#93C48B"}){console.log(`%c${e}`,`color: #16262E; font-weight: bold; background-color: ${r}; padding: 4px`,t)}({context:e,data:t,backgroundColor:n}),t)}},8644(e,t,r){r.d(t,{A:()=>i});var n=r(1708),o=r(6638);class i extends o.A{useButton(e,t=!1,r=!1){window.pmcstarter(n=>n.useButton(e,t,r))}async isConnected(){return new Promise((e,t)=>{window.pmcstarter(async r=>{try{let t=await r.isConnected();e(t)}catch(e){console.warn("PmcBridge::isConnected error",e),t(e)}})})}async getConfigEnv(){return new Promise(e=>{window.pmcstarter(t=>{e(t.config.env)})})}async getNewsletterSubscriptions(){return new Promise((e,t)=>{window.pmcstarter(async r=>{try{let t=await r.getApiModule(),n=await t.getSubscriptions();e(n)}catch(e){console.warn("PmcBridge::getNewsletterSubscriptions error",e),t(e)}})})}async setNewsletterSubscriptions(e){return new Promise((t,r)=>{window.pmcstarter(async n=>{try{let r=await n.getApiModule(),o=await r.subscribe(e);t(o)}catch(e){console.warn("PmcBridge::setNewsletterSubscriptions error",e),r(e)}})})}async isPremium(){let e=await this.getConfigEnv(),t="prod"===e?"":`${e}-`;return!!(0,n.A)(`${t}pmc-premium`)}formatCustomGridData({bouquetId:e,channels:t}){return{profile:{tvguideTeleloisirs:{bouquet:e,channels:t.join(","),updatedAt:new Date().toISOString()}}}}async getUserSignupService(){return new Promise((e,t)=>{window.pmcstarter(async r=>{try{let t=await r.getUserSignupService();e(t)}catch(e){console.warn("PmcBridge::getUserSignupService error",e),t(e)}})})}cancelGoogleIdentity(){window.pmcstarter("cancelGoogleIdentity")}getTrigram(){let e=document.querySelector("[data-pmc-trigram]")?.getAttribute("data-pmc-trigram");return e?"ptv"===e?"tls":"ctv"===e?"tgc":e:null}}},6608(e,t,r){r.d(t,{A:()=>n});class n{brandKey;constructor({trigram:e}){this.brandKey=`${e}-website`}getStorage({local:e=[],session:t=[]}){let r,n,o=e.length,i=t.length;return 0===o&&0===i?void console.warn("BrandStorage::getStorage, No keys to find"):(o>0&&(r=this.manipulateStorage({action:"get",type:"localStorage",keys:e})),i>0&&(n=this.manipulateStorage({action:"get",type:"sessionStorage",keys:t})),{local:r,session:n})}setStorage({local:e={},session:t={}}){let r=Object.keys(e).length,n=Object.keys(t).length;0===r&&0===n?console.warn("BrandStorage::setStorage, No data to set"):(r>0&&this.manipulateStorage({action:"set",type:"localStorage",data:e}),n>0&&this.manipulateStorage({action:"set",type:"sessionStorage",data:t}))}removeStorage({local:e=[],session:t=[]}){let r=e.length,n=t.length;0===e.length&&0===t.length?console.warn("BrandStorage::removeStorage, No keys to remove"):(r>0&&this.manipulateStorage({action:"remove",type:"localStorage",keys:e}),n>0&&this.manipulateStorage({action:"remove",type:"sessionStorage",keys:t}))}manipulateStorage({action:e,type:t,keys:r=[],data:n={}}){let o=JSON.parse(window[t].getItem(this.brandKey)||"{}");return({get:()=>{let e={};for(let t of r)e[t]=o[t];return e},set:()=>{let e=this.getMergedData({parsedData:o,data:n});window[t].setItem(this.brandKey,JSON.stringify(e))},remove:()=>{for(let e of r)delete o[e];Object.keys(o).length>0?window[t].setItem(this.brandKey,JSON.stringify(o)):window[t].removeItem(this.brandKey)}})[e]()}getMergedData({parsedData:e,data:t}){let r={...e};for(let n in t)Object.hasOwn(t,n)&&(t[n]instanceof Object&&e[n]instanceof Object?r[n]=this.getMergedData({parsedData:e[n],data:t[n]}):r[n]=t[n]);return r}}},5493(e,t,r){r.d(t,{A:()=>n});function n({target:e,isMilliseconds:t=!1}){return Number.parseFloat(window.getComputedStyle(e).transitionDuration)*(t?1e3:1)}},9873(e,t,r){r.d(t,{A:()=>n});
1function n(e){e.forEach(e=>{window.dataLayer.push(e),e.hitCallback&&"function"==typeof e.hitCallback&&e.hitCallback()})}},7213(e,t,r){r.d(t,{A:()=>n});function n({target:e,selectorString:t,nodeName:r}){return(Array.isArray(r)?r:[r]).some(r=>e.nodeName.toLowerCase()===r&&e.matches(t))}},8684(e,t,r){r.d(t,{A:()=>n});function n(e,t){let r=window?.pmdConsent?.queue;if(r?.find(t=>t.type===e)){t instanceof Function&&t();return}if(r?.find(e=>"noConsentGiven"===e.type))return;let n=()=>{let r=window?.pmdConsent?.queue;r?.find(t=>t.type===e)?t instanceof Function&&t():r?.find(e=>"noConsentGiven"===e.type)||window.setTimeout(()=>window.requestAnimationFrame(n),100)};window.requestAnimationFrame(n)}},3452(e,t,r){r.d(t,{A:()=>n});function n(e){let t=document.createElement("script");if(e.onLoadCallback&&(t.onload=e.onLoadCallback),e.onErrorCallback&&(t.onerror=e.onErrorCallback),"src"in e)t.src=e.src,t.defer=e.defer??!0;else if("inlineCode"in e)t.innerHTML=e.inlineCode;else throw Error('generateScriptElement::requires either "src" or "inlineCode" parameter');return t}},1708(e,t,r){r.d(t,{A:()=>n});function n(e){let t=document.cookie.split(";"),r=t.map(e=>e.split("=")[1].trim())[t.map(e=>e.split("=")[0].trim()).indexOf(e)];return void 0===r?null:r}},6350(e,t,r){r.d(t,{A:()=>n});class n{elements;onIntersection;once;observer;constructor({elements:e=null,onIntersection:t=()=>{},rootMargin:r=`0px 0px ${window.innerHeight}px 0px`,threshold:n=0,once:o=!0}){this.elements=e,this.onIntersection=t,this.once=o,this.observer=new IntersectionObserver(this.callbackOnIntersection.bind(this),{rootMargin:r,threshold:n})}observe(){this.elements?Array.isArray(this.elements)?this.elements.forEach(e=>{this.observer.observe(e)}):this.observer.observe(this.elements):console.warn("Error: Observer::observe: No element to observe")}unobserve(e){this.observer.unobserve(e)}callbackOnIntersection(e){e.forEach(e=>{e.isIntersecting&&(this.once&&this.unobserve(e.target),this.onIntersection(e))})}}},6638(e,t,r){r.d(t,{A:()=>n});class n{async getProfile(){return new Promise((e,t)=>{window.pmcstarter(async r=>{try{let t=await r.getProfile();e(t)}catch(e){console.warn("PmcBridge::getProfile error",e),t(e)}})})}async updateProfile({datas:e}){return new Promise((t,r)=>{window.pmcstarter(async n=>{try{let r=await n.getApiModule(),o=await r.updateProfile(e);t(o)}catch(e){console.warn("PmcBridge::updateProfile error",e),r(e)}})})}async isGranted(){return new Promise((e,t)=>{window.pmcstarter(async r=>{try{let t=(await r.getRoles()||[]).some(e=>["ADMIN","ALIVE"].includes(e));e(t)}catch(e){console.warn("PmcBridge::isGranted error",e),t(e)}})})}async getConfig(){return new Promise(e=>{window.pmcstarter(t=>e(t.config))})}async getPmcDomain(){return new Promise(e=>{window.pmcstarter(async t=>e(t.config.pmcUris.brandConnect))})}}}}]);
2//# sourceMappingURL=7515.51cfa8fe26c8ad0b.js.map

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.