PageSourceSearch

https://www.nikon.fr/dist-client/ContactUsBanner-Chunk-6798f0573634fa2dcd68.js

js nikon.fr collected 2026-09-24 17:52:35 UTC 5,296 bytes, 2 lines download raw bytes

1"use strict";(globalThis.webpackChunknikon_client=globalThis.webpackChunknikon_client||[]).push([[5647],{64363(e,t,n){n.d(t,{A:()=>l});const r=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),a=(e,t)=>Object.entries(e).reduce((e,[t,n])=>("duration"!==t&&"delay"!==t||"number"!=typeof n?r(n)?e[t]=a(n,t):e[t]=n:e[t]=0,e),{..."transition"===t?{duration:0}:{}}),o=e=>{const t=Object.keys(e).reduce((t,n)=>{const o=e[n];return r(o)&&(t[n]=a(o,n)),t},{...e});return{...t,transition:{...t.transition||{},duration:0}}};var c=n(74632),s=n(24675),i=n(59471);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(null,arguments)}const l=({tag:e,ref:t,variants:n,initial:r,animate:a,exit:l,transition:d,layout:f,whileHover:b,...g})=>{const m=(0,i.useMemo)(()=>c.P[e||"div"],[e]),v=(0,s.I)(),y={variants:n,initial:r,animate:a,exit:l,transition:d,whileHover:b};return React.createElement(m,u({ref:t},v?o(y):y,{layout:!v&&f},g))}},40402(e,t,n){n.r(t),n.d(t,{default:()=>a});var r=n(7670);const a=({title:e,subTitle:t})=>React.createElement("section",{className:"bg-black-100 text-white"},React.createElement(r.A,null,React.createElement("div",{className:"container"},React.createElement("div",{className:"flex flex-col gap-2.5 py-7.5 lg:max-w-[75%] lg:py-13"},React.createElement("p",{className:"body-one body-one--bold text-white"},e),React.createElement("div",{dangerouslySetInnerHTML:{__html:t},className:"body-three flex flex-col gap-[5px] text-grey-100"})))))},7670(e,t,n){n.d(t,{A:()=>u});var r=n(64363),a=n(5961),o=n(61002),c=n(37417),s=n(32088),i=n(59471);const u=({children:e,isAnimationDisabled:t})=>{const n=(0,c.A)(),u=(0,o.A)(),l=(0,i.useRef)(null),d=(0,s.W)(l,{once:!0,margin:"100% 0p
1x -15% 0px"}),{isSoftLoadEnabled:f}=(0,a.A)(e=>({isSoftLoadEnabled:e.isSoftLoadEnabled}));return t||u?React.createElement(React.Fragment,null,e):React.createElement(r.A,{"data-testid":"Soft-Load-Wrapper",ref:l,variants:{hidden:{opacity:0,y:60},visible:{opacity:1,y:0}},initial:"hidden",animate:f&&d||!1===f||n?"visible":"hidden",transition:{opacity:{ease:"easeOut",duration:void 0===f?0:.6},y:{ease:"easeOut",duration:f?.6:0}}},e)}},5961(e,t,n){n.d(t,{A:()=>r});const r=(0,n(44285).A)(e=>({isSoftLoadEnabled:void 0,setIsSoftLoadEnabled:t=>e({isSoftLoadEnabled:t})}))},97505(e,t,n){n.d(t,{A:()=>a});var r=n(59471);const a=()=>{const[e,t]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{t(!0)},[]),e}},61002(e,t,n){n.d(t,{A:()=>a});var r=n(59471);const a=()=>{const[e,t]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{t(window.self!==window.top)},[]),e}},37417(e,t,n){n.d(t,{A:()=>o});var r=n(24675),a=n(97505);const o=()=>{const e=(0,a.A)();return(0,r.I)()&&e}},44285(e,t,n){n.d(t,{A:()=>c});var r=n(59471);function a(e){let t;const n=new Set,r=(e,r)=>{const a="function"==typeof e?e(t):e;if(a!==t){const e=t;t=r?a:Object.assign({}
1,t,a),n.forEach(n=>n(t,e))}},a=()=>t,o={setState:r,getState:a,subscribe:(e,r,o)=>r||o?((e,r=a,o=Object.is)=>{console.warn("[DEPRECATED] Please use `subscribeWithSelector` middleware");let c=r(t);function s(){const n=r(t);if(!o(c,n)){const t=c;e(c=n,t)}}return n.add(s),()=>n.delete(s)})(e,r,o):(n.add(e),()=>n.delete(e)),destroy:()=>n.clear()};return t=e(r,a,o),o}const o="undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent)?r.useEffect:r.useLayoutEffect;function c(e){const t="function"==typeof e?a(e):e,n=(e=t.getState,n=Object.is)=>{const[,a]=(0,r.useReducer)(e=>e+1,0),c=t.getState(),s=(0,r.useRef)(c),i=(0,r.useRef)(e),u=(0,r.useRef)(n),l=(0,r.useRef)(!1),d=(0,r.useRef)();let f;void 0===d.current&&(d.current=e(c));let b=!1;(s.current!==c||i.current!==e||u.current!==n||l.current)&&(f=e(c),b=!n(d.current,f)),o(()=>{b&&(d.current=f),s.current=c,i.current=e,u.current=n,l.current=!1});const g=(0,r.useRef)(c);o(()=>{const e=()=>{try{const e=t.getState(),n=i.current(e);u.current(d.current,n)||(s.current=e,d.current=n,a())}catch(e){l.current=!0,a()}},n=t.subscribe(e);return t.getState()!==g.current&&e(),n},[]);const m=b?f:d.current;return(0,r.useDebugValue)(m),m};return Object.assign(n,t),n[Symbol.iterator]=function(){console.warn("[useStore, api] = create() is deprecated and will be removed in v4");const e=[n,t];return{next(){const t=e.length<=0;return{value:e.shift(),done:t}}}},n}},32088(e,t,n){n.d(t,{W:()=>c});var r=n(59471),a=n(20818);const o={some:0,all:1};function c(e,{root:t,margin:n,amount:c,once:s=!1,initial:i=!1}={}){const[u,l]=(0,r.useState)(i);return(0,r.useEffect)(()=>{if(!e.current||s&&u)return;const r={root:t&&t.current||void 0,margin:n,amount:c};return function(e,t,{root:n,margin:r,amount:c="some"}={}){const s=(0,a.K)(e),i=new WeakMap,u=new IntersectionObserver(e=>{e.forEach(e=>{const n=i.get(e.target);if(e.isIntersecting!==Boolean(n))if(e.isIntersecting){const n=t(e.target,e);"function"==typeof n?i.set(e.target,n):u.unobserve(e.target)}else"function"==typeof n&&(n(e),i.delete(e.target))})},{root:n,rootMargin:r,threshold:"number"==typeof c?c:o[c]});return s.forEach(e=>u.observe(e)),()=>u.disconnect()}(e.current,()=>(l(!0),s?void 0:()=>l(!1)),r)},[t,e,n,s,c]),u}}}]);
2//# sourceMappingURL=ContactUsBanner-Chunk-6798f0573634fa2dcd68.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.