text: import { iframeResize } from 'iframe-resizer'
  
  const script =
  		document.getElementById('ecolab-climat') ||
  		document.getElementById('nosgestesclimat'),
  	integratorUrl = encodeURIComponent(window.location.href.toString())
  
  const hostname = 'nosgestesclimat.fr/'
  const src = `https://${hostname}?iframe&integratorUrl=${integratorUrl}`
  
  const iframe = document.createElement('iframe')
  
  const iframeAttributes = {
  	src,
  	style:
  		'border: none; width: 100%; display: block; margin: 10px auto; min-height: 700px',
  	allowfullscreen: true,
  	webkitallowfullscreen: true,
  	mozallowfullscreen: true,
  }
  for (var key in iframeAttributes) {
  	iframe.setAttribute(key, iframeAttributes[key])
  }
  iframeResize({}, iframe)
  
  script.parentNode.insertBefore(iframe, script)
  