PageSourceSearch

https://connect.cotemaison.fr/assets/scripts/containers_modal_pass…e_modules_warni-bb82be.87589eb8.0ef15b04.js

js cotemaison.fr collected 2026-09-24 17:12:54 UTC 4,597 bytes, 88 lines download raw bytes

1(self.webpackChunk=self.webpackChunk||[]).push([["containers_modal_passPrismaCookieModal_js-node_modules_prop-types_index_js-node_modules_warni-bb82be"],{2578:(e,t,i)=>{"use strict";i.d(t,{A:()=>u});var n=i(2540),o=i(3696),r=i(3732),a=i.n(r),s=i(9503);const d=s.AH`
2	&__overlay {
3		position: fixed;
4		z-index: 3;
5		top: 0;
6		left: 0;
7		right: 0;
8		bottom: 0;
9		display: flex;
10		justify-content: center;
11		align-items: center;
12		background-color: rgba(21, 21, 21, 0.9);
13		opacity: 0;
14		transition: all 0.2s;
15		&--after-open {
16			opacity: 1;
17		}
18		&--before-close {
19			opacity: 0;
20		}
21	}
22	&__content {
23		position: fixed;
24		padding: 35px 12px 40px 12px;
25		text-align: center;
26		background-color: #fff;
27		height: 100%;
28		width: 100%;
29		overflow-y: auto;
30
31		&:focus {
32			outline: 0;
33		}
34
35		@media (min-width: 768px) {
36			height: auto;
37			max-width: 705px;
38			padding: 45px 110px;
39			border-radius: 4px;
40		}
41
42		& .simple-link {
43			color: initial;
44		}
45
46		.mobileHeader {
47			margin-top: -35px;
48			margin-left: -12px;
49			margin-right: -4px;
50			width: 100vw;
51
52			@media (min-width: 768px) {
53				display: none;
54			}
55		}
56	}
57`;var c=i(253),l=i(5508);const p=s.Ay.img`
58	margin: auto;
59	max-width: ${({theme:e})=>e.logo.designSystem.mobileW};
60
61	@media (min-width: 680px) {
62		max-width: ${({theme:e})=>e.logo.designSystem.desktopW};
63	}
64
65	@media (min-width: 1100px) {
66		margin: 0;
67	}
68`,m=()=>{const[e,t]=(0,o.useState)(),i=(0,o.useContext)(s.Dx);return(0,o.useEffect)((()=>{const e=`${(new l.A).getBrandConfUrl()}/icons/${i.name}/logoPristine.svg`;t(e)}),[e,i]),(0,n.jsx)(p,{src:e,width:i.logo.designSystem.desktopW})},g=s.Ay.div`
69	display: block;
70	width: 100%;
71	border-top: 5px solid var(--color-darkgrey);
72	border-image-outset: 0;
73	border-image-repeat: stretch;
74	border-image-slice: 1;
75	border-image-source: ${e=>e.theme&&e.theme.connectHeader&&e.theme.connectHeader.gradient?`${e.theme.connectHeader.gradient}`:"linear-gradient(54.44deg, #2D50B9 0%, #5A83FF 100%)"};
76	border-image-width: 5px 0 0 0;
77	text-align: center;
78	padding-top: calc(var(--spacing-unit) * 7);
79	padding-bottom: calc(var(--spacing-unit) * 6);
80
81	@media (min-width: 650px) {
82		border-top: 12px solid var(--color-darkgrey);
83		border-image-width: 12px 0 0 0;
84		padding-top: calc(var(--spacing-unit) * 12);
85		padding-bottom: calc(var(--spacing-unit) * 10);
86	}
87`,h=({url:e,handleClick:t,className:i})=>(0,n.jsx)(g,{className:i,children:null!==e?(0,n.jsx)("a",{href:e,onClick:e=>{e.preventDefault(),t()},children:(0,n.jsx)(m,{})}):(0,n.jsx)(m,{})});a().setAppElement("#root");const u=(0,s.Ay)((({className:e,isOpen:t,children:i,handleHide:o,displaySurvey:r})=>{const s={base:`${e}__content`,afterOpen:`${e}__content--after-open`,beforeClose:`${e}__content--before-close`},d={base:`${e}__overlay`,afterOpen:`${e}__overlay--after-open`,beforeClose:`${e}__overlay--before-close`},l={};return"YES"===r&&(l.content={padding:"45px 30px",height:"100%",width:"100%",maxWidth:"100%"}),(0,n.jsxs)(a(),{closeTimeoutMS:200,isOpen:t,className:s,overlayClassName:d,displaySurvey:r,style:l,children:[(0,n.jsx)(h,{className:"mobileHeader"}),(0,n.jsx)(c.A,{onButtonClick:()=>{o()},label:"Fermer la fenêtre"}),i]})}))(d)},1183:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d});var n=i(2540),o=(i(3696),i(8710)),r=i(2578),a=i(4953),s=i(9348);const d=({isOpen:e,type:t,handleHide:i})=>{const d=(0,o.A)();return(0,n.jsx)(r.A,{isOpen:e,handleHide:i,children:(0,n.jsxs)("div",{children:[d.formatMessage({id:"passPrisma.enrolledPassPrisma"}),(0,n.jsx)("br",{}),(0,n.jsx)(s.N_,{to:a.Yu(),onClick:i,className:"simple-link",children:d.formatMessage({id:"passPrisma.gotoInvoicesText"})})]})})}},362:(e,t,i)=>{"use strict";var n=i(6441);function o(){}function r(){}r.resetWarningCache=o,e.exports=function(){function e(e,t,i,o,r,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var i={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
87:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:o};return i.PropTypes=i,i}},2688:(e,t,i)=>{e.exports=i(362)()},6441:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},567:e=>{"use strict";var t=function(){};e.exports=t}}]);
88//# sourceMappingURL=containers_modal_passPrismaCookieModal_js-node_modules_prop-types_index_js-node_modules_warni-bb82be.87589eb8.0ef15b04.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.