PageSourceSearch

https://icecat.fr/_next/static/chunks/4796-9ef6bffe6d0e0ee4.js

js icecat.fr collected 2026-10-02 21:05:04 UTC 5,130 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4796],{39149:(e,t,n)=>{var r=0/0,o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,a=/^0o[0-7]+$/i,l=parseInt,d="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,c="object"==typeof self&&self&&self.Object===Object&&self,f=d||c||Function("return this")(),s=Object.prototype.toString,v=Math.max,p=Math.min,y=function(){return f.Date.now()};function b(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function m(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==s.call(t))return r;if(b(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=b(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var d=u.test(e);return d||a.test(e)?l(e.slice(2),d?2:8):i.test(e)?r:+e}e.exports=function(e,t,n){var r,o,i,u,a,l,d=0,c=!1,f=!1,s=!0;if("function"!=typeof e)throw TypeError("Expected a function");function g(t){var n=r,i=o;return r=o=void 0,d=t,u=e.apply(i,n)}function h(e){var n=e-l,r=e-d;return void 0===l||n>=t||n<0||f&&r>=i}function E(){var e,n,r,o=y();if(h(o))return w(o);a=setTimeout(E,(e=o-l,n=o-d,r=t-e,f?p(r,i-n):r))}function w(e){return(a=void 0,s&&r)?g(e):(r=o=void 0,u)}function L(){var e,n=y(),i=h(n);if(r=arguments,o=this,l=n,i){if(void 0===a)return d=e=l,a=setTimeout(E,t),c?g(e):u;if(f)return a=setTimeout(E,t),g(l)}return void 0===a&&(a=setTimeout(E,t)),u}return t=m(t)||0,b(n)&&(c=!!n.leading,i=(f="maxWait"in n)?v(m(n.maxWait)||0,t):i,s="trailing"in n?!!n.trailing:s),L.cancel=function(){void 0!==a&&clearTimeout(a),d=0,r=l=o=a=void 0},L.flush=function(){return void 0===a?u:w(y())},L}},69241:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=function e(t){var n,r,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t)if(Array.isArray(t)){var i=t.length;for(n=0;n<i;n++)t[n]&&(r=e(t[n]))&&(o&&(o+=" "),o+=r)}else for(r in t)t[r]&&(o&&(o+=" "),o+=r);return o}(e))&&(r&&(r+=" "),r+=t);return r}},72068:(e,t,n)=>{"use strict";n.d(t,{Cg:()=>i,Cj:()=>l,ML:()=>a,Ub:()=>c,_6:()=>f,eY:()=>p,nW:()=>v});var r=n(14232),o=n(39149);function i(e){let[t,n]=(0,r.useState)(!!e),o=(0,r.useCallback)(()=>{n(!0)},[]),i=(0,r.useCallback)(()=>{n(!1)},[]),u=(0,r.useCallback)(()=>{n(e=>!e)},[]);return{value:t,setValue:n,setTrue:o,setFalse:i,toggle:u}}var u="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;function a(e,t,n,o){let i=(0,r.useRef)(t);u(()=>{i.current=t},[t]),(0,r.useEffect)(()=>{let t=(null==n?void 0:n.current)??window;if(!(t&&t.addEventListener))return;let r=e=>{i.current(e)};return t.addEventListener(e,r,o),()=>{t.removeEventListener(e,r,o)}},[e,n,o])}function l(){let[e,t]=(0,r.useState)(null);return[e,(0,r.useCallback)(async e=>{if(!(null==navigator?void 0:navigator.clipboard))return console.warn("Clipboard not supported"),!1;try{return await navigator.clipboard.writeText(e),t(e),!0}catch(e){return console.warn("Copy failed",e),t(null),!1}},[])]}var d="undefined"==typeof window;function c(e,t){let n="boolean"==typeof t?t:(null==t?void 0:t.defaultValue)??!1,o="boolean"==typeof t?void 0:(null==t?void 0:t.initializeWithValue)??void 0,i=e=>d?n:window.matchMedia(e).matches,[a,l]=(0,r.useState)(()=>o?i(e):n);function c(){l(i(e))}return u(()=>{let t=window.matchMedia(e);return c(),t.addListener?t.addListener(c):t.addEventListener("change",c),()=>{t.removeListener?t.removeListener(c):t.removeEventListener("change",c)}},[e]),a}function f(e,t=500,n){let i=(0,r.useRef)();var u=()=>{i.current&&i.current.cancel()};let a=(0,r.useRef)(u);a.current=u,(0,r.useEffect)(()=>()=>{a.current()},[]);let l=(0,r.useMemo)(()=>{let r=o(e,t,n),u=(...e)=>r(...e);return u.cancel=()=>{r.cancel()},u.isPending=()=>!!i.current,u.flush=()=>r.flush(),u},[e,t,n]);return(0,r.useEffect)(()=>{i.current=o(e,t,n)},[e,t,n]),l}var s=new Map;function v(e,t){let[n,o]=(0,r.useState)(()=>!e||(null==t?void 0:t.shouldPreventLoad)?"idle":"undefined"==typeof window?"loading":s.get(e)??"loading");return(0,r.useEffect)(()=>{if(!e||(null==t?void 0:t.shouldPreventLoad))return;let n=s.get(e);if("ready"===n||"error"===n)return void o(n);let r=function(e){let t=document.querySelector(`script[src="${e}"]`),n=null==t?void 0:t.getAttribute("data-status");return{node:t,status:n}}
1(e),i=r.node;if(i)o(r.status??n??"loading");else{(i=document.createElement("script")).src=e,i.async=!0,(null==t?void 0:t.id)&&(i.id=t.id),i.setAttribute("data-status","loading"),document.body.appendChild(i);let n=e=>{let t="load"===e.type?"ready":"error";null==i||i.setAttribute("data-status",t)};i.addEventListener("load",n),i.addEventListener("error",n)}let u=t=>{let n="load"===t.type?"ready":"error";o(n),s.set(e,n)};return i.addEventListener("load",u),i.addEventListener("error",u),()=>{i&&(i.removeEventListener("load",u),i.removeEventListener("error",u)),i&&(null==t?void 0:t.removeOnUnmount)&&(i.remove(),s.delete(e))}},[e,null==t?void 0:t.shouldPreventLoad,null==t?void 0:t.removeOnUnmount,null==t?void 0:t.id]),n}function p(e){let[t,n]=(0,r.useState)(!!e);return[t,(0,r.useCallback)(()=>{n(e=>!e)},[]),n]}}}]);

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.