PageSourceSearch

https://nightpass.fr/_next/static/chunks/6842-85247a39c13e5055.js

js nightpass.fr collected 2026-10-07 22:44:58 UTC 5,297 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6842],{59221:(e,t,r)=>{r.d(t,{k:()=>n});var i=r(27168),a=r(79888);function n(e,t){let r=a.useRef(void 0);return r.current&&(0,i.L)(r.current.deps,t)||(r.current={value:e(),deps:t}),r.current.value}},66069:(e,t,r)=>{r.d(t,{S:()=>i});let i="function"==typeof(0,r(23873).n)(()=>window.document.createElement)},76842:(e,t,r)=>{r.d(t,{I:()=>q});var i,a=r(27168),n=r(79888),l=r(99946),o=r(99948),u=r(37387),c=1,s={};function d(e){return e in s&&(delete s[e],!0)}var f={setImmediate:function(e){var t=c++;return s[t]=!0,i||(i=Promise.resolve()),i.then(function(){return d(t)&&e()}),t},clearImmediate:function(e){d(e)}},h=f.setImmediate,y=f.clearImmediate,v={setImmediate:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=v.delegate;return((null==r?void 0:r.setImmediate)||h).apply(void 0,(0,o.fX)([],(0,o.zs)(e)))},clearImmediate:function(e){var t=v.delegate;return((null==t?void 0:t.clearImmediate)||y)(e)},delegate:void 0},b=function(e){function t(t,r){var i=e.call(this,t,r)||this;
1return i.scheduler=t,i.work=r,i}return(0,o.C6)(t,e),t.prototype.requestAsyncId=function(t,r,i){return(void 0===i&&(i=0),null!==i&&i>0)?e.prototype.requestAsyncId.call(this,t,r,i):(t.actions.push(this),t._scheduled||(t._scheduled=v.setImmediate(t.flush.bind(t,void 0))))},t.prototype.recycleAsyncId=function(t,r,i){if(void 0===i&&(i=0),null!=i?i>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,i);var a,n=t.actions;null!=r&&(null==(a=n[n.length-1])?void 0:a.id)!==r&&(v.clearImmediate(r),t._scheduled===r&&(t._scheduled=void 0))},t}(u.R),p=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.C6)(t,e),t.prototype.flush=function(e){this._active=!0;var t,r=this._scheduled;this._scheduled=void 0;var i=this.actions;e=e||i.shift();do if(t=e.execute(e.state,e.delay))break;while((e=i[0])&&e.id===r&&i.shift());if(this._active=!1,t){for(;(e=i[0])&&e.id===r&&i.shift();)e.unsubscribe();throw t}},t}(r(49635).q))(b),m=r(89357),P=r(3616),g=r(19315),I=r(86176);let k=Symbol.for("apollo.skipToken"),_=Symbol.for("apollo.hook.wrappers");var w=r(56901),S=r(59221),D=r(55879),C=r(99856);let L=Symbol(),q=function(e,...[t]){return(function(e,t,r){let i=[r.queryManager,e.startsWith("use")?n.useContext((0,w.l)()):void 0],a=t;for(let t of i){let r=t?.[_]?.[e];r&&(a=r(a))}return a})("useQuery",M,(0,D.m)("object"==typeof t?t.client:void 0))(e,t)};function M(e,t={}){var r,i,o,u,c;let s=(0,D.m)("object"==typeof t?t.client:void 0),{ssr:d}="object"==typeof t?t:{},f=(r=e,i=t,o=s.defaultOptions.watchQuery,(0,S.k)(()=>{if(i===k){let e={...(0,P.l)(o,{query:r,fetchPolicy:"standby"}),[g._K]:!0};return e[R]=!0,e}let e=(0,P.l)(o,{...i,query:r});return i.skip&&(e.initialFetchPolicy=i.initialFetchPolicy||i.fetchPolicy,e.fetchPolicy="standby"),e},[r,i,o]));function h(t){let r=s.watchQuery(f);return{client:s,query:e,observable:r,resultData:{current:r.getCurrentResult(),previousData:t?.resultData.current.data,variables:r.variables}}}let[y,v]=n.useState(h);(s!==y.client||e!==y.query)&&v(y=h(y));let{observable:b,resultData:m}=y;u=f,c=b,u.fetchPolicy||(u.fetchPolicy=c.options.initialFetchPolicy),function(e,t,r){if(t[L]&&!(0,a.L)(t[L],r)){var i,n;t[L][R]&&!r.initialFetchPolicy&&(r.initialFetchPolicy=r.fetchPolicy),(i=t[L],n=r,i.query===n.query&&(0,a.L)(i.variables,n.variables)&&(i.fetchPolicy===n.fetchPolicy||"standby"!==n.fetchPolicy&&"standby"!==i.fetchPolicy))?t.applyOptions(r):t.reobserve(r);let l=t.getCurrentResult();(0,a.L)(l.data,e.current.data)||(e.previousData=e.current.data||e.previousData),e.current=l,e.variables=t.variables}t[L]=r}(m,b,f);let I=function(e,t,r){let i=e.options.fetchPolicy;return(0,C.r)(n.useCallback(r=>{let i=e.pipe((0,l.Q)(p)).subscribe(i=>{let n=t.current;(0,a.L)(n,i)&&(0,a.L)(t.variables,e.variables)||(t.variables=e.variables,n.data&&!(0,a.L)(n.data,i.data)&&(t.previousData=n.data),t.current=i,r())});return()=>{setTimeout(()=>i.unsubscribe())}},[e,t]),()=>t.current,()=>"standby"!==i&&!1===r||"no-cache"===i?q.ssrDisabledResult:t.current)}(b,m,d),_=n.useMemo(()=>({refetch:b.refetch.bind(b),fetchMore:b.fetchMore.bind(b),updateQuery:b.updateQuery.bind(b),startPolling:b.startPolling.bind(b),stopPolling:b.stopPolling.bind(b),subscribeToMore:b.subscribeToMore.bind(b)}),[b]),w=m.previousData;return n.useMemo(()=>{let{partial:e,...t}=I;return{...t,client:s,observable:b,variables:b.variables,previousData:w,..._}},[I,s,b,w,_])}let R=Symbol();q.ssrDisabledResult=(0,I.G)({loading:!0,data:void 0,dataState:"empty",error:void 0,networkStatus:m.p.loading,partial:!0})},99856:(e,t,r)=>{r.d(t,{r:()=>y});var i,a=r(79888),n=r(29883),l=r(66069),o=r(23873),u=r(43391);let c=!1,s=(i||(i=r.t(a,2))).useSyncExternalStore,d="ReactNative"==(0,o.n)(()=>navigator.product),f=(0,o.n)(()=>navigator.userAgent.indexOf("jsdom")>=0)||!1,h=(l.S||d)&&!f,y=s||((e,t,r)=>{let i=t();n.g&&!c&&i!==t()&&(c=!0,u.V1.error(34));let[{inst:l},o]=a.useState({inst:{value:i,getSnapshot:t}});return h?a.useLayoutEffect(()=>{Object.assign(l,{value:i,getSnapshot:t}),v(l)&&o({inst:l})},[e,i,t]):Object.assign(l,{value:i,getSnapshot:t}),a.useEffect(()=>(v(l)&&o({inst:l}),e(function(){v(l)&&o({inst:l})})),[e]),i});function v({value:e,getSnapshot:t}){try{return e!==t()}catch{return!0}}}}]);

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.