1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[599],{357145:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/assurance-dommages-ouvrage-maison-individuelle",function(){return n(747458)}])},648893:function(e,t,n){"use strict";var i=n(626042),r=n(785893),s=(n(667294),n(882046));t.Z=function(e){var t=e.title,n=e.description,o=e.image,c=e.descriptionStyle,l=void 0===c?{}:c,a=e.full,u=void 0===a||a,d=e.className,m=void 0===d?"":d;return(0,r.jsx)("section",{className:"row article-section mx-auto d-center text-center ".concat(m),style:{maxWidth:"100%"},children:(0,r.jsxs)("div",{className:"col-12 d-center text-left text-md-center flex-column px-0",children:[(0,r.jsxs)("div",{className:"article-item px-4 pb-5",children:[(0,r.jsx)("header",{children:(0,r.jsx)("h2",{className:"h3",children:t})}),(0,r.jsx)("p",{className:"mb-0 article-description mx-auto parag",style:(0,i.Z)({},l),children:n})]}),(0,r.jsx)(s.Z,{img:{url:o,alt:"Perceval depuis 1993"},style:{minHeight:300,objectFit:"cover"},full:u})]})})}},757948:function(e,t,n){"use strict";var i=n(785893),r=n(741664),s=n.n(r);n(667294);t.Z=function(e){var t=e.title,n=e.description,r=e.cta,o=e.ctaHref,c=void 0===o?"":o,l=e.content,a=void 0===l?null:l;return(0,i.jsx)("section",{className:"title-section w-100",children:(0,i.jsxs)("div",{className:"sub-header",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("h1",{className:"main-h1",children:t}),(0,i.jsx)("p",{className:"title-description",children:n}),""!==r&&(0,i.jsx)(s(),{href:c||"/assurer-mon-entreprise",children:(0,i.jsx)("a",{className:"hero-cta main-cta in-header btn btn-secondary d-inline-flex justify-content-center animated align-items-center align-self-center tracking-gtm-FormView",children:(0,i.jsx)("span",{children:r})})})]}),""!==r&&(0,i.jsx)(s(),{href:c||"/assurer-mon-entreprise",children:(0,i.jsx)("a",{className:"hero-cta main-cta out-header btn btn-secondary d-inline-flex justify-content-center animated align-items-center align-self-center tracking-gtm-FormView",children:(0,i.jsx)("span",{children:r})})}),a]})})}},315360:function(e,t){"use strict";t.Z=function(e){return e.children}},530392:function(e,t,n){"use strict";var i=n(785893),r=n(667294),s=(n(741664),!1),o="",c=null;t.Z=function(e){var t=e.scrollElement,n=e.name,l=e.children,a=(0,r.useRef)(null),u=(0,r.useRef)(null),d=(0,r.useRef)(null),m={desktop:{large:"/front/hero/large/bg_".concat(n,".webp"),small:"/front/hero/large/thumb/bg_".concat(n,"_sm.webp")},tablet:{large:"/front/hero/medium/bg_".concat(n,".webp"),small:"/front/hero/medium/thumb/bg_".concat(n,"_sm.webp")},mobile:{large:"/front/hero/small/bg_m_".concat(n,".webp"),small:"/front/hero/small/thumb/bg_m_".concat(n,"_sm.webp")}},f=function(e){var t=u.current,n=d.current;a.current.html="",n.classList.remove("loaded"),n.classList.remove("finished");var i=new Image;i.classList.add("img-small"),i.src=e.small+"",i.onload=function(){s||(t.style.backgroundImage="url(".concat(e.small,")")),document.querySelector(".divide-section .sub-header").classList.add("loaded"),n.classList.add("loaded"),console.log("thumbnail loaded",e.small)};var r=new Image;r.src=e.large+"",r.onload=function(){n.classList.add("finished"),t.style.backgroundImage="url(".concat(e.large,")"),console.log("full image loaded",e.large),s=!0}},h=function(){var e=window.innerWidth;e>768&&g(),o!==(e>=768?"desktop":"mobile")&&(e>768?e>1100?(o="desktop",f(m.desktop)):(o="tablet",f(m.tablet)):(o="mobile",f(m.mobile)))},g=function(){u.current&&(u.current.style.backgroundPositionY="",setTimeout((function(){u.current&&(c=parseFloat(window.getComputedStyle(u.current).backgroundPositionY),v())}),500))},v=function(){if(!(window.innerWidth<1100)){var e=u.current,n=t?document.querySelector(t):window,i=n===window;if(e&&window.scrollY<window.innerHeight){var r=i?window.scrollY:n.scrollTop,s=c+.13*r;e.style.backgroundPositionY="".concat(s,"px")}}};return(0,r.useEffect)((function(){var e;o="",s=!1;var n=function(){clearTimeout(e),e=setTimeout((function(){h()}),500)};window.addEventListener("resize",n);var i=t?document.querySelector(t):window;window;return c=parseFloat(window.getComputedStyle(u.current).backgroundPositionY),setTimeout((function(){h(),v()}),200),i.addEventListener("scroll",v),function(){window.removeEventListener("resize",n),i.removeEventListener("scroll",v)}}),[]),(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("div",{ref:u,className:"divide-section hero-".concat(n),children:[(0,i.jsx)("div",{ref:a,className:"placeholder",children:(0,i.jsx)("div",{ref:d,className:"blur-filter-img"})}),l]})})}},269708:function(e,t,n){"use strict";var i=n(626042),r=n(269396),s=n(999534),o=n(785893),c=n(667294),l=n(918357);t.Z=function(e){var t=e.items,n=e.numberStyle,a=(0,s.Z)(e,["items","numberStyle"]),u=(0,c.useState)(!1),d=u[0],m=u[1],f=(0,l.YD)({threshold:0}),h=f.ref,g=f.inView;f.entry;return(0,c.useEffect)((function(){g&&m(!0)}),[g]),(0,o.jsx)("div",(0,r.Z)((0,i.Z)({ref:h},a),{children:(0,o.jsx)("ol",{className:"custom-ol",style:{"--nbItems":t.length},children:t.map((function(e,t){return d?(0,o.jsxs)("li",{children:[(0,o.jsx)("div",{className:"".concat(n," animated bounceIn fast"),style:{animationDelay:e.delay},children:t+1}),(0,o.jsxs)("div",{className:"content animated bounceIn fast",style:{animationDelay:e.delay},children:[(0,o.jsx)("div",{className:"title text-left text-md-center",children:e.title}),(0,o.jsx)("div",{className:"text text-left text-md-center",children:e.text})]})]},"odli".concat(t)):null}))})}))}},882046:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(785893),r=n(667294),s=n(918357),o=n(626042),c=n(999534),l=function(e){var t=e.isVisible,n=e.full,s=(0,c.Z)(e,["isVisible","full"]),l=(0,r.useState)(!1),a=(l[0],l[1]),u=(0,r.useState)('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 '.concat(s.img.width," ").concat(s.img.height,'"%3E%3C/svg%3E')),d=u[0],m=u[1];(0,r.useEffect)((function(){t&&f()}),[t]);var f=function(){m(s.img.url)},h=s.img,g=h.url,v=h.alt;return(0,i.jsx)("img",{onLoad:function(){d==s.img.url&&a(!0)},style:(0,o.Z)({borderRadius:n?0:30},s.style),className:s.img.className||"img-fluid article-image",src:d,"data-src":g,alt:v,loading:"lazy"})},a=function(e){var t=e.img,n=e.full,r=e.style,o=void 0===r?{}:r,c=(0,s.YD)({threshold:0}),a=c.ref;
1c.inView,c.entry;return(0,i.jsx)("div",{ref:a,children:(0,i.jsx)(l,{img:t,style:o,full:n,isVisible:!0})})}},622116:function(e,t){"use strict";var n={eventNavigation:function(e,t){var n=null===window||void 0===window?void 0:window.dataLayer;window.dataLayer&&n.push({event:"navigation",page:e,title:t})}};t.Z=n},747458:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return d}});var i=n(785893),r=(n(741664),n(667294)),s=n(273193),o=n(847290),c=(n(890544),n(882046),n(757948)),l=n(483544),a=(n(315360),n(530392)),u=(n(269708),n(622116)),d=(n(648893),function(e){(0,r.useEffect)((function(){u.Z.eventNavigation("assurance-dommages-ouvrage-maison-individuelle","assurance DOMI")}),[]);return(0,i.jsxs)(l.Z,{children:[(0,i.jsx)(o.Z,{light:!0}),(0,i.jsx)("main",{children:(0,i.jsx)(a.Z,{name:"domi",children:(0,i.jsx)(c.Z,{title:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("strong",{className:"text-primary d-block pb-2 pb-md-3",children:"Acc\xe8s refus\xe9"}),"Cette page",(0,i.jsx)("br",{}),"n'existe plus."]}),cta:"Revenir \xe0 l'accueil",ctaHref:"/"})})}),(0,i.jsx)(s.Z,{})]})})},809008:function(e,t,n){e.exports=n(805443)},999534:function(e,t,n){"use strict";function i(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},s=Object.keys(e);for(i=0;i<s.length;i++)n=s[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)n=s[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}n.d(t,{Z:function(){return i}})},918357:function(e,t,n){"use strict";n.d(t,{YD:function(){return m}});var i=n(667294),r=Object.defineProperty,s=(e,t,n)=>((e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!==typeof t?t+"":t,n),o=new Map,c=new WeakMap,l=0,a=void 0;function u(e){return Object.keys(e).sort().filter((t=>void 0!==e[t])).map((t=>{return`${t}_${"root"===t?(n=e.root,n?(c.has(n)||(l+=1,c.set(n,l.toString())),c.get(n)):"0"):e[t]}`;var n})).toString()}function d(e,t,n={},i=a){if("undefined"===typeof window.IntersectionObserver&&void 0!==i){const r=e.getBoundingClientRect();return t(i,{isIntersecting:i,target:e,intersectionRatio:"number"===typeof n.threshold?n.threshold:0,time:0,boundingClientRect:r,intersectionRect:r,rootBounds:r}),()=>{}}const{id:r,observer:s,elements:c}=function(e){const t=u(e);let n=o.get(t);if(!n){const i=new Map;let r;const s=new IntersectionObserver((t=>{t.forEach((t=>{var n;const s=t.isIntersecting&&r.some((e=>t.intersectionRatio>=e));e.trackVisibility&&"undefined"===typeof t.isVisible&&(t.isVisible=s),null==(n=i.get(t.target))||n.forEach((e=>{e(s,t)}))}))}),e);r=s.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:s,elements:i},o.set(t,n)}return n}(n),l=c.get(e)||[];return c.has(e)||c.set(e,l),l.push(t),s.observe(e),function(){l.splice(l.indexOf(t),1),0===l.length&&(c.delete(e),s.unobserve(e)),0===c.size&&(s.disconnect(),o.delete(r))}}i.Component;function m({threshold:e,delay:t,trackVisibility:n,rootMargin:r,root:s,triggerOnce:o,skip:c,initialInView:l,fallbackInView:a,onChange:u}={}){var m;const[f,h]=i.useState(null),g=i.useRef(u),[v,b]=i.useState({inView:!!l,entry:void 0});g.current=u,i.useEffect((()=>{if(c||!f)return;let i;return i=d(f,((e,t)=>
1{b({inView:e,entry:t}),g.current&&g.current(e,t),t.isIntersecting&&o&&i&&(i(),i=void 0)}),{root:s,rootMargin:r,threshold:e,trackVisibility:n,delay:t},a),()=>{i&&i()}}),[Array.isArray(e)?e.toString():e,f,s,r,o,c,n,a,t]);const w=null==(m=v.entry)?void 0:m.target,x=i.useRef(void 0);f||!w||o||c||x.current===w||(x.current=w,b({inView:!!l,entry:void 0}));const p=[h,v.inView,v.entry];return p.ref=p[0],p.inView=p[1],p.entry=p[2],p}}},function(e){e.O(0,[664,625,193,774,888,179],(function(){return t=357145,e(e.s=t);var t}));var t=e.O();_N_E=t}]); 2//# sourceMappingURL=assurance-dommages-ouvrage-maison-individuelle-445440746f85c712.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.