From c7d8466342941cbb2be7eec89e7357ebf12e9cc9 Mon Sep 17 00:00:00 2001
From: build-pipeline <build-token>
Date: Fri, 9 Aug 2024 08:52:12 +0000
Subject: [PATCH] publish: fix(deps): update dependency cozy-device-helper

generated from commit e76a275a790b41e0c32dc6a0fd6a89189ee88ea3
---
 index.html                                               | 2 +-
 ...e9ba60639086e03.js => ecolyo.41547b2eaa2685a7a268.js} | 9 +++------
 public/index.html                                        | 2 +-
 services/aggregatorUsageEvents/ecolyo.js                 | 9 +++------
 services/consumptionAlert/ecolyo.js                      | 9 +++------
 services/enedisHalfHourMonthlyAnalysis/ecolyo.js         | 9 +++------
 services/fluidsPrices/ecolyo.js                          | 9 +++------
 services/monthlyReportNotification/ecolyo.js             | 9 +++------
 services/service/ecolyo.js                               | 9 +++------
 ...ce80af3e4d9351b.js => ecolyo.0ec2d441e212970d1e6f.js} | 9 +++------
 10 files changed, 26 insertions(+), 50 deletions(-)
 rename public/{ecolyo.5906ce9ba60639086e03.js => ecolyo.41547b2eaa2685a7a268.js} (99%)
 rename vendors/{ecolyo.e8036ce80af3e4d9351b.js => ecolyo.0ec2d441e212970d1e6f.js} (99%)

diff --git a/index.html b/index.html
index 5e5c5ca15..de16f1e99 100644
--- a/index.html
+++ b/index.html
@@ -1 +1 @@
-<!DOCTYPE html><html lang="{{.Locale}}"><head><meta charset="utf-8"><title>Ecolyo</title><link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32"><link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16"><!-- PWA Manifest --><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#297EF2"><meta name="viewport" content="width=device-width,height=device-height,initial-scale=1,viewport-fit=cover"><!-- PWA Chrome --><link rel="icon" sizes="192x192" href="/android-chrome-192x192.png"><link rel="icon" sizes="512x512" href="/android-chrome-512x512.png"><!-- PWA iOS --><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="apple-touch-startup-image" href="/apple-touch-icon.png"><meta name="apple-mobile-web-app-title" content="Ecolyo"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><!-- PWA Colors --><meta name="theme-color" content="#343641"><meta name="background-color" content="#121212">{{.ThemeCSS}} {{.CozyBar}}<script src="//{{.Domain}}/assets/js/piwik.js"></script></head><body><div role="application" class="application" data-cozy="{{.CozyData}}"><script src="vendors/ecolyo.e8036ce80af3e4d9351b.js"></script><script src="app/ecolyo.554a8422165fe8f24237.js"></script></div></body></html>
\ No newline at end of file
+<!DOCTYPE html><html lang="{{.Locale}}"><head><meta charset="utf-8"><title>Ecolyo</title><link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32"><link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16"><!-- PWA Manifest --><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#297EF2"><meta name="viewport" content="width=device-width,height=device-height,initial-scale=1,viewport-fit=cover"><!-- PWA Chrome --><link rel="icon" sizes="192x192" href="/android-chrome-192x192.png"><link rel="icon" sizes="512x512" href="/android-chrome-512x512.png"><!-- PWA iOS --><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="apple-touch-startup-image" href="/apple-touch-icon.png"><meta name="apple-mobile-web-app-title" content="Ecolyo"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><!-- PWA Colors --><meta name="theme-color" content="#343641"><meta name="background-color" content="#121212">{{.ThemeCSS}} {{.CozyBar}}<script src="//{{.Domain}}/assets/js/piwik.js"></script></head><body><div role="application" class="application" data-cozy="{{.CozyData}}"><script src="vendors/ecolyo.0ec2d441e212970d1e6f.js"></script><script src="app/ecolyo.554a8422165fe8f24237.js"></script></div></body></html>
\ No newline at end of file
diff --git a/public/ecolyo.5906ce9ba60639086e03.js b/public/ecolyo.41547b2eaa2685a7a268.js
similarity index 99%
rename from public/ecolyo.5906ce9ba60639086e03.js
rename to public/ecolyo.41547b2eaa2685a7a268.js
index 28588db50..712dc6af6 100644
--- a/public/ecolyo.5906ce9ba60639086e03.js
+++ b/public/ecolyo.41547b2eaa2685a7a268.js
@@ -29515,16 +29515,13 @@ exports.FlagshipRoutes = FlagshipRoutes;
 })(FlagshipRoutes || (exports.FlagshipRoutes = FlagshipRoutes = {}));
 
 var getGlobalWindow = function getGlobalWindow() {
-  if (typeof window !== 'undefined') return window;else {
-    (0, _cozyLogger.default)('error', "\"window\" is not defined. This means that getGlobalWindow() shouldn't have been called and investigation should be done to prevent this call");
-    return undefined;
-  }
+  return typeof window !== 'undefined' ? window : ((0, _cozyLogger.default)('error', "\"window\" is not defined. This means that getGlobalWindow() shouldn't have been called and investigation should be done to prevent this call"), undefined);
 };
 
 var getFlagshipMetadata = function getFlagshipMetadata() {
-  var _getGlobalWindow, _getGlobalWindow$cozy;
+  var _getGlobalWindow$cozy, _getGlobalWindow, _getGlobalWindow$cozy2;
 
-  return ((_getGlobalWindow = getGlobalWindow()) === null || _getGlobalWindow === void 0 ? void 0 : (_getGlobalWindow$cozy = _getGlobalWindow.cozy) === null || _getGlobalWindow$cozy === void 0 ? void 0 : _getGlobalWindow$cozy.flagship) || {};
+  return (_getGlobalWindow$cozy = (_getGlobalWindow = getGlobalWindow()) === null || _getGlobalWindow === void 0 ? void 0 : (_getGlobalWindow$cozy2 = _getGlobalWindow.cozy) === null || _getGlobalWindow$cozy2 === void 0 ? void 0 : _getGlobalWindow$cozy2.flagship) !== null && _getGlobalWindow$cozy !== void 0 ? _getGlobalWindow$cozy : {};
 };
 
 exports.getFlagshipMetadata = getFlagshipMetadata;
diff --git a/public/index.html b/public/index.html
index 0404d9cc9..fcbb40efc 100644
--- a/public/index.html
+++ b/public/index.html
@@ -1 +1 @@
-<!DOCTYPE html><html lang="{{.Locale}}"><head><meta charset="utf-8"><title>Ecolyo | Désabonnement</title><link rel="icon" type="image/png" href="public/favicon-32x32.png" sizes="32x32"><link rel="icon" type="image/png" href="public/favicon-16x16.png" sizes="16x16"><!-- PWA Manifest --><link rel="mask-icon" href="public/safari-pinned-tab.svg" color="#297EF2"><meta name="viewport" content="width=device-width,height=device-height,initial-scale=1,viewport-fit=cover"><!-- PWA iOS --><link rel="apple-touch-icon" sizes="180x180" href="public/apple-touch-icon.png"><link rel="apple-touch-startup-image" href="public/apple-touch-icon.png"><meta name="apple-mobile-web-app-title" content="Ecolyo"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><!-- PWA Colors --><meta name="theme-color" content="#343641"><meta name="background-color" content="#121212">{{.ThemeCSS}} {{.CozyBar}}<script src="//{{.Domain}}/assets/js/piwik.js"></script></head><body><div role="application" class="application" data-cozy="{{.CozyData}}"><script src="../public/ecolyo.5906ce9ba60639086e03.js"></script></div></body></html>
\ No newline at end of file
+<!DOCTYPE html><html lang="{{.Locale}}"><head><meta charset="utf-8"><title>Ecolyo | Désabonnement</title><link rel="icon" type="image/png" href="public/favicon-32x32.png" sizes="32x32"><link rel="icon" type="image/png" href="public/favicon-16x16.png" sizes="16x16"><!-- PWA Manifest --><link rel="mask-icon" href="public/safari-pinned-tab.svg" color="#297EF2"><meta name="viewport" content="width=device-width,height=device-height,initial-scale=1,viewport-fit=cover"><!-- PWA iOS --><link rel="apple-touch-icon" sizes="180x180" href="public/apple-touch-icon.png"><link rel="apple-touch-startup-image" href="public/apple-touch-icon.png"><meta name="apple-mobile-web-app-title" content="Ecolyo"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><!-- PWA Colors --><meta name="theme-color" content="#343641"><meta name="background-color" content="#121212">{{.ThemeCSS}} {{.CozyBar}}<script src="//{{.Domain}}/assets/js/piwik.js"></script></head><body><div role="application" class="application" data-cozy="{{.CozyData}}"><script src="../public/ecolyo.41547b2eaa2685a7a268.js"></script></div></body></html>
\ No newline at end of file
diff --git a/services/aggregatorUsageEvents/ecolyo.js b/services/aggregatorUsageEvents/ecolyo.js
index 4a96db728..a8bdc5f5b 100644
--- a/services/aggregatorUsageEvents/ecolyo.js
+++ b/services/aggregatorUsageEvents/ecolyo.js
@@ -81538,16 +81538,13 @@ exports.FlagshipRoutes = FlagshipRoutes;
 })(FlagshipRoutes || (exports.FlagshipRoutes = FlagshipRoutes = {}));
 
 var getGlobalWindow = function getGlobalWindow() {
-  if (typeof window !== 'undefined') return window;else {
-    (0, _cozyLogger.default)('error', "\"window\" is not defined. This means that getGlobalWindow() shouldn't have been called and investigation should be done to prevent this call");
-    return undefined;
-  }
+  return typeof window !== 'undefined' ? window : ((0, _cozyLogger.default)('error', "\"window\" is not defined. This means that getGlobalWindow() shouldn't have been called and investigation should be done to prevent this call"), undefined);
 };
 
 var getFlagshipMetadata = function getFlagshipMetadata() {
-  var _getGlobalWindow, _getGlobalWindow$cozy;
+  var _getGlobalWindow$cozy, _getGlobalWindow, _getGlobalWindow$cozy2;
 
-  return ((_getGlobalWindow = getGlobalWindow()) === null || _getGlobalWindow === void 0 ? void 0 : (_getGlobalWindow$cozy = _getGlobalWindow.cozy) === null || _getGlobalWindow$cozy === void 0 ? void 0 : _getGlobalWindow$cozy.flagship) || {};
+  return (_getGlobalWindow$cozy = (_getGlobalWindow = getGlobalWindow()) === null || _getGlobalWindow === void 0 ? void 0 : (_getGlobalWindow$cozy2 = _getGlobalWindow.cozy) === null || _getGlobalWindow$cozy2 === void 0 ? void 0 : _getGlobalWindow$cozy2.flagship) !== null && _getGlobalWindow$cozy !== void 0 ? _getGlobalWindow$cozy : {};
 };
 
 exports.getFlagshipMetadata = getFlagshipMetadata;
diff --git a/services/consumptionAlert/ecolyo.js b/services/consumptionAlert/ecolyo.js
index 5a979b30c..78547ef73 100644
--- a/services/consumptionAlert/ecolyo.js
+++ b/services/consumptionAlert/ecolyo.js
@@ -81135,16 +81135,13 @@ exports.FlagshipRoutes = FlagshipRoutes;
 })(FlagshipRoutes || (exports.FlagshipRoutes = FlagshipRoutes = {}));
 
 var getGlobalWindow = function getGlobalWindow() {
-  if (typeof window !== 'undefined') return window;else {
-    (0, _cozyLogger.default)('error', "\"window\" is not defined. This means that getGlobalWindow() shouldn't have been called and investigation should be done to prevent this call");
-    return undefined;
-  }
+  return typeof window !== 'undefined' ? window : ((0, _cozyLogger.default)('error', "\"window\" is not defined. This means that getGlobalWindow() shouldn't have been called and investigation should be done to prevent this call"), undefined);
 };
 
 var getFlagshipMetadata = function getFlagshipMetadata() {
-  var _getGlobalWindow, _getGlobalWindow$cozy;
+  var _getGlobalWindow$cozy, _getGlobalWindow, _getGlobalWindow$cozy2;
 
-  return ((_getGlobalWindow = getGlobalWindow()) === null || _getGlobalWindow === void 0 ? void 0 : (_getGlobalWindow$cozy = _getGlobalWindow.cozy) === null || _getGlobalWindow$cozy === void 0 ? void 0 : _getGlobalWindow$cozy.flagship) || {};
+  return (_getGlobalWindow$cozy = (_getGlobalWindow = getGlobalWindow()) === null || _getGlobalWindow === void 0 ? void 0 : (_getGlobalWindow$cozy2 = _getGlobalWindow.cozy) === null || _getGlobalWindow$cozy2 === void 0 ? void 0 : _getGlobalWindow$cozy2.flagship) !== null && _getGlobalWindow$cozy !== void 0 ? _getGlobalWindow$cozy : {};
 };
 
 exports.getFlagshipMetadata = getFlagshipMetadata;
diff --git a/services/enedisHalfHourMonthlyAnalysis/ecolyo.js b/services/enedisHalfHourMonthlyAnalysis/ecolyo.js
index f585b65ff..c3a1c57ba 100644
--- a/services/enedisHalfHourMonthlyAnalysis/ecolyo.js
+++ b/services/enedisHalfHourMonthlyAnalysis/ecolyo.js
@@ -81135,16 +81135,13 @@ exports.FlagshipRoutes = FlagshipRoutes;
 })(FlagshipRoutes || (exports.FlagshipRoutes = FlagshipRoutes = {}));
 
 var getGlobalWindow = function getGlobalWindow() {
-  if (typeof window !== 'undefined') return window;else {
-    (0, _cozyLogger.default)('error', "\"window\" is not defined. This means that getGlobalWindow() shouldn't have been called and investigation should be done to prevent this call");
-    return undefined;
-  }
+  return typeof window !== 'undefined' ? window : ((0, _cozyLogger.default)('error', "\"window\" is not defined. This means that getGlobalWindow() shouldn't have been called and investigation should be done to prevent this call"), undefined);
 };
 
 var getFlagshipMetadata = function getFlagshipMetadata() {
-  var _getGlobalWindow, _getGlobalWindow$cozy;
+  var _getGlobalWindow$cozy, _getGlobalWindow, _getGlobalWindow$cozy2;
 
-  return ((_getGlobalWindow = getGlobalWindow()) === null || _getGlobalWindow === void 0 ? void 0 : (_getGlobalWindow$cozy = _getGlobalWindow.cozy) === null || _getGlobalWindow$cozy === void 0 ? void 0 : _getGlobalWindow$cozy.flagship) || {};
+  return (_getGlobalWindow$cozy = (_getGlobalWindow = getGlobalWindow()) === null || _getGlobalWindow === void 0 ? void 0 : (_getGlobalWindow$cozy2 = _getGlobalWindow.cozy) === null || _getGlobalWindow$cozy2 === void 0 ? void 0 : _getGlobalWindow$cozy2.flagship) !== null && _getGlobalWindow$cozy !== void 0 ? _getGlobalWindow$cozy : {};
 };
 
 exports.getFlagshipMetadata = getFlagshipMetadata;
diff --git a/services/fluidsPrices/ecolyo.js b/services/fluidsPrices/ecolyo.js
index 1c432b79c..2771ad5d4 100644
--- a/services/fluidsPrices/ecolyo.js
+++ b/services/fluidsPrices/ecolyo.js
@@ -81135,16 +81135,13 @@ exports.FlagshipRoutes = FlagshipRoutes;
 })(FlagshipRoutes || (exports.FlagshipRoutes = FlagshipRoutes = {}));
 
 var getGlobalWindow = function getGlobalWindow() {
-  if (typeof window !== 'undefined') return window;else {
-    (0, _cozyLogger.default)('error', "\"window\" is not defined. This means that getGlobalWindow() shouldn't have been called and investigation should be done to prevent this call");
-    return undefined;
-  }
+  return typeof window !== 'undefined' ? window : ((0, _cozyLogger.default)('error', "\"window\" is not defined. This means that getGlobalWindow() shouldn't have been called and investigation should be done to prevent this call"), undefined);
 };
 
 var getFlagshipMetadata = function getFlagshipMetadata() {
-  var _getGlobalWindow, _getGlobalWindow$cozy;
+  var _getGlobalWindow$cozy, _getGlobalWindow, _getGlobalWindow$cozy2;
 
-  return ((_getGlobalWindow = getGlobalWindow()) === null || _getGlobalWindow === void 0 ? void 0 : (_getGlobalWindow$cozy = _getGlobalWindow.cozy) === null || _getGlobalWindow$cozy === void 0 ? void 0 : _getGlobalWindow$cozy.flagship) || {};
+  return (_getGlobalWindow$cozy = (_getGlobalWindow = getGlobalWindow()) === null || _getGlobalWindow === void 0 ? void 0 : (_getGlobalWindow$cozy2 = _getGlobalWindow.cozy) === null || _getGlobalWindow$cozy2 === void 0 ? void 0 : _getGlobalWindow$cozy2.flagship) !== null && _getGlobalWindow$cozy !== void 0 ? _getGlobalWindow$cozy : {};
 };
 
 exports.getFlagshipMetadata = getFlagshipMetadata;
diff --git a/services/monthlyReportNotification/ecolyo.js b/services/monthlyReportNotification/ecolyo.js
index e2ad8a524..107434b07 100644
--- a/services/monthlyReportNotification/ecolyo.js
+++ b/services/monthlyReportNotification/ecolyo.js
@@ -81135,16 +81135,13 @@ exports.FlagshipRoutes = FlagshipRoutes;
 })(FlagshipRoutes || (exports.FlagshipRoutes = FlagshipRoutes = {}));
 
 var getGlobalWindow = function getGlobalWindow() {
-  if (typeof window !== 'undefined') return window;else {
-    (0, _cozyLogger.default)('error', "\"window\" is not defined. This means that getGlobalWindow() shouldn't have been called and investigation should be done to prevent this call");
-    return undefined;
-  }
+  return typeof window !== 'undefined' ? window : ((0, _cozyLogger.default)('error', "\"window\" is not defined. This means that getGlobalWindow() shouldn't have been called and investigation should be done to prevent this call"), undefined);
 };
 
 var getFlagshipMetadata = function getFlagshipMetadata() {
-  var _getGlobalWindow, _getGlobalWindow$cozy;
+  var _getGlobalWindow$cozy, _getGlobalWindow, _getGlobalWindow$cozy2;
 
-  return ((_getGlobalWindow = getGlobalWindow()) === null || _getGlobalWindow === void 0 ? void 0 : (_getGlobalWindow$cozy = _getGlobalWindow.cozy) === null || _getGlobalWindow$cozy === void 0 ? void 0 : _getGlobalWindow$cozy.flagship) || {};
+  return (_getGlobalWindow$cozy = (_getGlobalWindow = getGlobalWindow()) === null || _getGlobalWindow === void 0 ? void 0 : (_getGlobalWindow$cozy2 = _getGlobalWindow.cozy) === null || _getGlobalWindow$cozy2 === void 0 ? void 0 : _getGlobalWindow$cozy2.flagship) !== null && _getGlobalWindow$cozy !== void 0 ? _getGlobalWindow$cozy : {};
 };
 
 exports.getFlagshipMetadata = getFlagshipMetadata;
diff --git a/services/service/ecolyo.js b/services/service/ecolyo.js
index 3997469ed..c3ce0ec98 100644
--- a/services/service/ecolyo.js
+++ b/services/service/ecolyo.js
@@ -56574,16 +56574,13 @@ exports.FlagshipRoutes = FlagshipRoutes;
 })(FlagshipRoutes || (exports.FlagshipRoutes = FlagshipRoutes = {}));
 
 var getGlobalWindow = function getGlobalWindow() {
-  if (typeof window !== 'undefined') return window;else {
-    (0, _cozyLogger.default)('error', "\"window\" is not defined. This means that getGlobalWindow() shouldn't have been called and investigation should be done to prevent this call");
-    return undefined;
-  }
+  return typeof window !== 'undefined' ? window : ((0, _cozyLogger.default)('error', "\"window\" is not defined. This means that getGlobalWindow() shouldn't have been called and investigation should be done to prevent this call"), undefined);
 };
 
 var getFlagshipMetadata = function getFlagshipMetadata() {
-  var _getGlobalWindow, _getGlobalWindow$cozy;
+  var _getGlobalWindow$cozy, _getGlobalWindow, _getGlobalWindow$cozy2;
 
-  return ((_getGlobalWindow = getGlobalWindow()) === null || _getGlobalWindow === void 0 ? void 0 : (_getGlobalWindow$cozy = _getGlobalWindow.cozy) === null || _getGlobalWindow$cozy === void 0 ? void 0 : _getGlobalWindow$cozy.flagship) || {};
+  return (_getGlobalWindow$cozy = (_getGlobalWindow = getGlobalWindow()) === null || _getGlobalWindow === void 0 ? void 0 : (_getGlobalWindow$cozy2 = _getGlobalWindow.cozy) === null || _getGlobalWindow$cozy2 === void 0 ? void 0 : _getGlobalWindow$cozy2.flagship) !== null && _getGlobalWindow$cozy !== void 0 ? _getGlobalWindow$cozy : {};
 };
 
 exports.getFlagshipMetadata = getFlagshipMetadata;
diff --git a/vendors/ecolyo.e8036ce80af3e4d9351b.js b/vendors/ecolyo.0ec2d441e212970d1e6f.js
similarity index 99%
rename from vendors/ecolyo.e8036ce80af3e4d9351b.js
rename to vendors/ecolyo.0ec2d441e212970d1e6f.js
index 061af4a6b..4a024b0a8 100644
--- a/vendors/ecolyo.e8036ce80af3e4d9351b.js
+++ b/vendors/ecolyo.0ec2d441e212970d1e6f.js
@@ -60758,16 +60758,13 @@ exports.FlagshipRoutes = FlagshipRoutes;
 })(FlagshipRoutes || (exports.FlagshipRoutes = FlagshipRoutes = {}));
 
 var getGlobalWindow = function getGlobalWindow() {
-  if (typeof window !== 'undefined') return window;else {
-    (0, _cozyLogger.default)('error', "\"window\" is not defined. This means that getGlobalWindow() shouldn't have been called and investigation should be done to prevent this call");
-    return undefined;
-  }
+  return typeof window !== 'undefined' ? window : ((0, _cozyLogger.default)('error', "\"window\" is not defined. This means that getGlobalWindow() shouldn't have been called and investigation should be done to prevent this call"), undefined);
 };
 
 var getFlagshipMetadata = function getFlagshipMetadata() {
-  var _getGlobalWindow, _getGlobalWindow$cozy;
+  var _getGlobalWindow$cozy, _getGlobalWindow, _getGlobalWindow$cozy2;
 
-  return ((_getGlobalWindow = getGlobalWindow()) === null || _getGlobalWindow === void 0 ? void 0 : (_getGlobalWindow$cozy = _getGlobalWindow.cozy) === null || _getGlobalWindow$cozy === void 0 ? void 0 : _getGlobalWindow$cozy.flagship) || {};
+  return (_getGlobalWindow$cozy = (_getGlobalWindow = getGlobalWindow()) === null || _getGlobalWindow === void 0 ? void 0 : (_getGlobalWindow$cozy2 = _getGlobalWindow.cozy) === null || _getGlobalWindow$cozy2 === void 0 ? void 0 : _getGlobalWindow$cozy2.flagship) !== null && _getGlobalWindow$cozy !== void 0 ? _getGlobalWindow$cozy : {};
 };
 
 exports.getFlagshipMetadata = getFlagshipMetadata;
-- 
GitLab