Commit b9731137 authored by git-directory-deploy's avatar git-directory-deploy
Browse files

publish: chore(release): 1.5.1

generated from commit 475ec2f7
parent 0edff29f
This diff is collapsed.
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+uHx":function(e){e.exports=JSON.parse('{"ecs_ratio":[{"occupants_number":1,"warm_water_need_in_liter":80},{"occupants_number":2,"warm_water_need_in_liter":120},{"occupants_number":3,"warm_water_need_in_liter":150},{"occupants_number":4,"warm_water_need_in_liter":170},{"occupants_number":5,"warm_water_need_in_liter":220},{"occupants_number":6,"warm_water_need_in_liter":265},{"occupants_number":7,"warm_water_need_in_liter":310},{"occupants_number":8,"warm_water_need_in_liter":355},{"occupants_number":9,"warm_water_need_in_liter":400}],"mensual_repartition":[111,120,111,106,103,93,84,72,92,103,104,101],"cold_water_temperature":[11,11,12,15,17,19,21,20,17,15,12,13],"hot_water_temperature":40,"solar_coverage":[0.19,0.33,0.36,0.6,0.61,0.73,0.92,0.81,0.67,0.46,0.24,0.25],"efficiency_production_distribution":{"appartment":0.55,"individual_house":0.7},"coefficient_ecs_consumption":1.163,"coefficient_thermodynamic":1.5}')},"7e12":function(module,exports,__webpack_require__){"use strict";(function(module){var _interopRequireDefault=__webpack_require__("TqRt");Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _regenerator=_interopRequireDefault(__webpack_require__("o0o1")),_asyncToGenerator2=_interopRequireDefault(__webpack_require__("yXPU")),_classCallCheck2=_interopRequireDefault(__webpack_require__("lwsE")),_createClass2=_interopRequireDefault(__webpack_require__("W8MJ")),_defineProperty2=_interopRequireDefault(__webpack_require__("lSNA")),_luxon=__webpack_require__("ExVU"),_heating=_interopRequireDefault(__webpack_require__("WQDB")),_cooking=_interopRequireDefault(__webpack_require__("I8oM")),_electricSpecific=_interopRequireDefault(__webpack_require__("ZncT")),_coldWater=_interopRequireDefault(__webpack_require__("hfGo")),_ecs=_interopRequireDefault(__webpack_require__("+uHx")),_profileType=__webpack_require__("D9qV"),_fluid=__webpack_require__("5Wkc"),_converter=_interopRequireDefault(__webpack_require__("LXmx")),_logger=_interopRequireDefault(__webpack_require__("gjtA")),enterModule;function _createForOfIteratorHelper(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw o}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}enterModule="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0,enterModule&&enterModule(module);var __signature__="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},ProfileTypeService=function(){function ProfileTypeService(e,t,n){var r=this;(0,_classCallCheck2.default)(this,ProfileTypeService),(0,_defineProperty2.default)(this,"profileType",void 0),(0,_defineProperty2.default)(this,"_client",void 0),(0,_defineProperty2.default)(this,"year",void 0),(0,_defineProperty2.default)(this,"fetchDJU",function(){var e=(0,_asyncToGenerator2.default)(_regenerator.default.mark((function e(t){var n,a,o,i,l,_,u;return _regenerator.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=_luxon.DateTime.local().setZone("utc",{keepLocalTime:!0}).set({year:r.year}).set({month:t}).startOf("month").minus({minutes:5}).toISO(),a=_luxon.DateTime.local().setZone("utc",{keepLocalTime:!0}).set({year:r.year}).set({month:t}).endOf("month").plus({minutes:5}).toISO(),e.prev=2,e.next=5,r._client.getStackClient().fetchJSON("GET","/remote/org.ecolyo.dju?observedProperty=degreeDay&startDate=".concat(n,"&endDate=").concat(a));case 5:if(o=e.sent,i=0,o){l=_createForOfIteratorHelper(o.observations);try{for(l.s();!(_=l.n()).done;)u=_.value,i+=u.result.value}catch(c){l.e(c)}finally{l.f()}}if(0!==i){e.next=12;break}return e.abrupt("return",_heating.default.dju_average_by_month[t-1]);case 12:return e.abrupt("return",i);case 13:e.next=19;break;case 15:return e.prev=15,e.t0=e.catch(2),console.log("errFetch",e.t0),e.abrupt("return",_heating.default.dju_average_by_month[t-1]);case 19:case"end":return e.stop()}}),e,null,[[2,15]])})));return function(t){return e.apply(this,arguments)}}()),_logger.default.info("[ProfileType] Analysis loaded profileType related to: ",e.updateDate?e.updateDate.toString():"no update date"),this.profileType=e,this._client=t,this.year=n}var _getMonthlyForecast,_getFluidForecast,_getDetailsMonthlyForecast,_getMonthHeating,_calculateWarmingMonthConsumption;return(0,_createClass2.default)(ProfileTypeService,[{key:"calculateWarmingEstimatedConsumption",value:function(){var e=_heating.default.heating_ratio,t=this.profileType.housingType,n=this.profileType.constructionYear,r=e[t][n];return parseInt(this.profileType.area)*r}},{key:"calculateWarmingCorrectedConsumption",value:function(e){var t,n,r=this.profileType.outsideFacingWalls,a=this.profileType.housingType,o=this.profileType.floor,i=this.profileType.constructionYear,l=this.profileType.individualInsulationWork,_=this.profileType.hasInstalledVentilation,u=this.profileType.hasReplacedHeater,c=this.profileType.heating,s=_heating.default.adjustment_outisde_facing_walls[a][r];if(t=this.profileType.housingType===_profileType.HousingType.APPARTMENT?_heating.default.adjustment_floor.appartment[o]:0,l.includes(_profileType.IndividualInsulationWork.NONE)||i===_profileType.ConstructionYear.AFTER_1998||c===_profileType.IndividualOrCollective.COLLECTIVE)n=0;else{var d=_heating.default.adjustment_insulation[i];if(1===l.length)n=d[l[0]];else{var p="";l.includes(_profileType.IndividualInsulationWork.ROOF_INSULATION)&&l.includes(_profileType.IndividualInsulationWork.WINDOW_REPLACEMENT)&&l.includes(_profileType.IndividualInsulationWork.WALL_INSULATION)?p="window_replacement_and_roof_and_wall_insulation":l.includes(_profileType.IndividualInsulationWork.ROOF_INSULATION)&&l.includes(_profileType.IndividualInsulationWork.WINDOW_REPLACEMENT)?p="window_replacement_and_roof_insulation":l.includes(_profileType.IndividualInsulationWork.ROOF_INSULATION)&&l.includes(_profileType.IndividualInsulationWork.WALL_INSULATION)?p="roof_and_wall_insulation":l.includes(_profileType.IndividualInsulationWork.WINDOW_REPLACEMENT)&&l.includes(_profileType.IndividualInsulationWork.WALL_INSULATION)&&(p="window_replacement_and_wall_insulation"),n=d[p]}}var f=e*(1+t)*(1+s)*(1+n)*(1+(_===_profileType.ThreeChoicesAnswer.YES&&u===_profileType.ThreeChoicesAnswer.YES&&c!==_profileType.IndividualOrCollective.COLLECTIVE?_heating.default.adjustment_facilities.individual_heater_and_ventilation:u===_profileType.ThreeChoicesAnswer.YES?_heating.default.adjustment_facilities.individual_heater:_===_profileType.ThreeChoicesAnswer.YES?_heating.default.adjustment_facilities.individual_ventilation:0));return Math.round(f)}},{key:"calculateWarmingMonthConsumption",value:(_calculateWarmingMonthConsumption=(0,_asyncToGenerator2.default)(_regenerator.default.mark((function e(t,n){var r,a;return _regenerator.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.fetchDJU(n);case 2:return r=e.sent,a=t/_heating.default.dju_annual*r,e.abrupt("return",Math.round(a));case 5:case"end":return e.stop()}}),e,this)}))),function(e,t){return _calculateWarmingMonthConsumption.apply(this,arguments)})},{key:"getMonthHeating",value:(_getMonthHeating=(0,_asyncToGenerator2.default)(_regenerator.default.mark((function e(t){var n,r,a;return _regenerator.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.calculateWarmingEstimatedConsumption(),r=this.calculateWarmingCorrectedConsumption(n),e.next=4,this.calculateWarmingMonthConsumption(r,t);case 4:return a=e.sent,e.abrupt("return",a);case 6:case"end":return e.stop()}}),e,this)}))),function(e){return _getMonthHeating.apply(this,arguments)})},{key:"calculateMonthWaterRawNeeds",value:function(e,t){var n=_ecs.default.ecs_ratio.findIndex((function(t){return t.occupants_number===e.occupantsNumber}));return _ecs.default.ecs_ratio[n].warm_water_need_in_liter*_luxon.DateTime.fromObject({month:t}).setZone("utc",{keepLocalTime:!0}).daysInMonth}},{key:"calculateSpreadNeeds",value:function(e,t){for(var n=[],r=1;r<13;r++)n.push(this.calculateMonthWaterRawNeeds(e,r));var a=n.reduce((function(e,t){return e+t}))/1200*_ecs.default.mensual_repartition[t-1];return Math.round(a)}},{key:"calculateTotalConsumption",value:function(e,t,n){var r,a=_ecs.default.cold_water_temperature[n-1],o=_ecs.default.efficiency_production_distribution[t.housingType],i=_ecs.default.solar_coverage[n-1],l=_ecs.default.coefficient_ecs_consumption*e/1e3*(_ecs.default.hot_water_temperature-a)/o;return r=t.hotWaterEquipment===_profileType.HotWaterEquipment.SOLAR?l*(1-i):t.hotWaterEquipment===_profileType.HotWaterEquipment.THERMODYNAMIC?l/_ecs.default.coefficient_thermodynamic:l,Math.round(r)}},{key:"getMonthEcs",value:function(e){var t=this.calculateSpreadNeeds(this.profileType,e);return this.calculateTotalConsumption(t,this.profileType,e)}},{key:"getMonthCookingConsumption",value:function(e){var t=this.profileType.occupantsNumber*_cooking.default.ratio_kw_per_person_per_year/365*_luxon.DateTime.fromObject({month:e}).setZone("utc",{keepLocalTime:!0}).daysInMonth;return Math.round(t)}},{key:"getMonthElectricSpecificConsumption",value:function(e){var t=_electricSpecific.default[this.profileType.housingType][this.profileType.constructionYear]/365*_luxon.DateTime.fromObject({month:e}).setZone("utc",{keepLocalTime:!0}).daysInMonth;return Math.round(t)}},{key:"getMonthColdWaterConsumption",value:function(e){var t=this,n=_coldWater.default.findIndex((function(e){return e.occupants_number===t.profileType.occupantsNumber})),r=_coldWater.default[n].consumption_in_liter_per_day,a=_luxon.DateTime.fromObject({month:e}).setZone("utc",{keepLocalTime:!0}).daysInMonth*r;return Math.round(a)}},{key:"getDetailsMonthlyForecast",value:(_getDetailsMonthlyForecast=(0,_asyncToGenerator2.default)(_regenerator.default.mark((function e(t,n){var r,a,o,i;return _regenerator.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this.profileType.warmingFluid,a=this.profileType.hotWaterFluid,o=this.profileType.cookingFluid,this.profileType.heating!==_profileType.IndividualOrCollective.COLLECTIVE){e.next=7;break}e.t0=null,e.next=15;break;case 7:if(null===r||t!==r){e.next=13;break}return e.next=10,this.getMonthHeating(n);case 10:e.t1=e.sent,e.next=14;break;case 13:e.t1=null;case 14:e.t0=e.t1;case 15:return e.t2=e.t0,e.t3=this.profileType.heating===_profileType.IndividualOrCollective.COLLECTIVE?null:t===a?this.getMonthEcs(n):null,e.t4=t===o?this.getMonthCookingConsumption(n):null,e.t5=t===_fluid.FluidType.ELECTRICITY?this.getMonthElectricSpecificConsumption(n):null,e.t6=t===_fluid.FluidType.WATER?this.getMonthColdWaterConsumption(n):null,i={heatingConsumption:e.t2,ecsConsumption:e.t3,cookingConsumption:e.t4,electricSpecificConsumption:e.t5,coldWaterConsumption:e.t6},e.abrupt("return",i);case 22:case"end":return e.stop()}}),e,this)}))),function(e,t){return _getDetailsMonthlyForecast.apply(this,arguments)})},{key:"getFluidForecast",value:(_getFluidForecast=(0,_asyncToGenerator2.default)(_regenerator.default.mark((function e(t,n){var r,a,o,i,l;return _regenerator.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getDetailsMonthlyForecast(t,n);case 2:return r=e.sent,a=0,Object.values(r).forEach((function(e){null!==e&&(a+=e)})),o=new _converter.default,i=parseFloat(o.LoadToEuro(a,t).toPrecision(5)),l={fluidType:t,load:a,value:i,detailsMonthlyForecast:r},e.abrupt("return",l);case 9:case"end":return e.stop()}}),e,this)}))),function(e,t){return _getFluidForecast.apply(this,arguments)})},{key:"getMonthlyForecast",value:(_getMonthlyForecast=(0,_asyncToGenerator2.default)(_regenerator.default.mark((function e(t){var n,r,a,o;return _regenerator.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getFluidForecast(_fluid.FluidType.ELECTRICITY,t);case 2:return n=e.sent,e.next=5,this.getFluidForecast(_fluid.FluidType.WATER,t);case 5:return r=e.sent,e.next=8,this.getFluidForecast(_fluid.FluidType.GAS,t);case 8:return a=e.sent,o={month:t,fluidForecast:[n,r,a],totalValue:n.value+r.value+a.value},e.abrupt("return",o);case 11:case"end":return e.stop()}}),e,this)}))),function(e){return _getMonthlyForecast.apply(this,arguments)})},{key:"__reactstandin__regenerateByEval",value:function __reactstandin__regenerateByEval(key,code){this[key]=eval(code)}}],[{key:"checkConsistency",value:function(e){return e.housingType===_profileType.HousingType.INDIVIDUAL_HOUSE?(e.floor=_profileType.Floor.NOT_APPLICABLE,e.heating=_profileType.IndividualOrCollective.INDIVIDUAL,e.coldWater=_profileType.IndividualOrCollective.INDIVIDUAL,e.hotWater=_profileType.IndividualOrCollective.INDIVIDUAL):(e.heating===_profileType.IndividualOrCollective.COLLECTIVE&&(e.warmingFluid=null,e.individualInsulationWork=[],e.facilitiesInstallation=[]),e.hotWater===_profileType.IndividualOrCollective.COLLECTIVE&&(e.hotWaterFluid=null,e.hotWaterEquipment=_profileType.HotWaterEquipment.OTHER)),e._id&&(delete e._id,delete e._rev,delete e._type,delete e.cozyMetadata),e.updateDate&&(e.updateDate=e.updateDate.setZone("utc",{keepLocalTime:!0})),e}}]),ProfileTypeService}(),reactHotLoader,leaveModule;exports.default=ProfileTypeService,reactHotLoader="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0,reactHotLoader&&reactHotLoader.register(ProfileTypeService,"ProfileTypeService","/home/gcarron/dev/ecolyo/src/services/profileType.service.ts"),leaveModule="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0,leaveModule&&leaveModule(module)}).call(this,__webpack_require__("YuTi")(module))},I8oM:function(e){e.exports=JSON.parse('{"ratio_kw_per_person_per_year":200}')},WQDB:function(e){e.exports=JSON.parse('{"heating_ratio":{"individual_house":{"before_1948":196,"between_1948_and_1974":184,"between_1975_and_1989":140,"between_1990_and_1998":129,"after_1998":106,"unknown":106},"appartment":{"before_1948":119,"between_1948_and_1974":150,"between_1975_and_1989":105,"between_1990_and_1998":73,"after_1998":74,"unknown":74}},"adjustment_outisde_facing_walls":{"individual_house":{"1":-0.2,"2":-0.15,"3":-0.1,"4":0},"appartment":{"1":-0.1,"2":0,"3":0.1,"4":0.15}},"adjustment_floor":{"appartment":{"ground_floor":0.1,"intermediate_floor":0,"last_floor":0.15,"not_applicable":0}},"adjustment_insulation":{"before_1948":{"none":0,"roof_insulation":-0.2,"window_replacement":-0.06,"wall_insulation":-0.15,"window_replacement_and_wall_insulation":-0.2,"window_replacement_and_roof_insulation":-0.25,"roof_and_wall_insulation":-0.3,"window_replacement_and_roof_and_wall_insulation":-0.35},"between_1948_and_1974":{"none":0,"roof_insulation":-0.2,"window_replacement":-0.06,"wall_insulation":-0.15,"window_replacement_and_wall_insulation":-0.2,"window_replacement_and_roof_insulation":-0.25,"roof_and_wall_insulation":-0.3,"window_replacement_and_roof_and_wall_insulation":-0.35},"between_1975_and_1989":{"none":0,"roof_insulation":0,"window_replacement":-0.06,"wall_insulation":-0.2,"window_replacement_and_wall_insulation":-0.25,"window_replacement_and_roof_insulation":-0.07,"roof_and_wall_insulation":-0.2,"window_replacement_and_roof_and_wall_insulation":-0.25},"between_1990_and_1998":{"none":0,"roof_insulation":0,"window_replacement":-0.04,"wall_insulation":-0.12,"window_replacement_and_wall_insulation":-0.15,"window_replacement_and_roof_insulation":-0.04,"roof_and_wall_insulation":-0.1,"window_replacement_and_roof_and_wall_insulation":-0.15},"after_1998":{"none":0,"roof_insulation":0,"window_replacement":0,"wall_insulation":0,"window_replacement_and_wall_insulation":0,"window_replacement_and_roof_insulation":0,"roof_and_wall_insulation":0,"window_replacement_and_roof_and_wall_insulation":0},"unknown":{"none":0,"roof_insulation":0,"window_replacement":0,"wall_insulation":0,"window_replacement_and_wall_insulation":0,"window_replacement_and_roof_insulation":0,"roof_and_wall_insulation":0,"window_replacement_and_roof_and_wall_insulation":0}},"adjustment_facilities":{"none":0,"collective_heater":-0.1,"individual_heater":-0.1,"individual_ventilation":-0.05,"individual_heater_and_ventilation":-0.12},"dju_average_by_month":[427,363,250,110,40,4,1,1,14,102,273,409],"dju_annual":1994}')},ZncT:function(e){e.exports=JSON.parse('{"individual_house":{"before_1948":3040,"between_1948_and_1974":3130,"between_1975_and_1989":2900,"between_1990_and_1998":3230,"after_1998":2900,"unknown":2900},"appartment":{"before_1948":1120,"between_1948_and_1974":1880,"between_1975_and_1989":1780,"between_1990_and_1998":1670,"after_1998":2060,"unknown":2060}}')},hfGo:function(e){e.exports=JSON.parse('[{"occupants_number":1,"consumption_in_liter_per_day":137},{"occupants_number":2,"consumption_in_liter_per_day":274},{"occupants_number":3,"consumption_in_liter_per_day":343},{"occupants_number":4,"consumption_in_liter_per_day":412},{"occupants_number":5,"consumption_in_liter_per_day":481},{"occupants_number":6,"consumption_in_liter_per_day":550},{"occupants_number":7,"consumption_in_liter_per_day":619},{"occupants_number":8,"consumption_in_liter_per_day":688},{"occupants_number":9,"consumption_in_liter_per_day":757}]')}}]);
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{"1usQ":function(e,t,r){"use strict";(function(e){var a=r("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,l=a(r("J4zp")),n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var a={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var n=o?Object.getOwnPropertyDescriptor(e,l):null;n&&(n.get||n.set)?Object.defineProperty(a,l,n):a[l]=e[l]}a.default=e,r&&r.set(e,a);return a}(r("q1tI")),u=a(r("CJMG")),d=a(r("frrP")),i=a(r("VOVi")),c=a(r("xAJn"));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&o(e);var s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},p=function(){var e=(0,n.useState)(0),t=(0,l.default)(e,2),r=t[0],a=t[1],o=(0,n.useCallback)((function(e){a(e)}),[]);return n.default.createElement(n.default.Fragment,null,n.default.createElement(u.default,{titleKey:"common.title_gcu",displayBackArrow:!0}),n.default.createElement(d.default,{setHeaderHeight:o,desktopTitleKey:"common.title_gcu",displayBackArrow:!0}),n.default.createElement(i.default,{height:r},n.default.createElement(c.default,null)))};s(p,"useState{[headerHeight, setHeaderHeight](0)}\nuseCallback{defineHeaderHeight}");var b,y,w=p,v=w;t.default=v,(b="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(b.register(p,"GCUView","/builds/web-et-numerique/llle_project/ecolyo/src/components/GCU/GCUView.tsx"),b.register(w,"default","/builds/web-et-numerique/llle_project/ecolyo/src/components/GCU/GCUView.tsx")),(y="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&y(e)}).call(this,r("YuTi")(e))}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{"1usQ":function(e,t,r){"use strict";(function(e){var a=r("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,n=a(r("J4zp")),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var a={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var l=o?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(a,n,l):a[n]=e[n]}a.default=e,r&&r.set(e,a);return a}(r("q1tI")),u=a(r("CJMG")),d=a(r("frrP")),c=a(r("VOVi")),i=a(r("xAJn"));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&o(e);var s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},p=function(){var e=(0,l.useState)(0),t=(0,n.default)(e,2),r=t[0],a=t[1],o=(0,l.useCallback)((function(e){a(e)}),[]);return l.default.createElement(l.default.Fragment,null,l.default.createElement(u.default,{titleKey:"common.title_gcu",displayBackArrow:!0}),l.default.createElement(d.default,{setHeaderHeight:o,desktopTitleKey:"common.title_gcu",displayBackArrow:!0}),l.default.createElement(c.default,{height:r},l.default.createElement(i.default,null)))};s(p,"useState{[headerHeight, setHeaderHeight](0)}\nuseCallback{defineHeaderHeight}");var y,b,v=p,g=v;t.default=g,(y="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(y.register(p,"GCUView","/home/gcarron/dev/ecolyo/src/components/GCU/GCUView.tsx"),y.register(v,"default","/home/gcarron/dev/ecolyo/src/components/GCU/GCUView.tsx")),(b="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&b(e)}).call(this,r("YuTi")(e))}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{LUT6:function(e,t,a){"use strict";(function(e){var r=a("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(a("J4zp")),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=f(t);if(a&&a.has(e))return a.get(e);var r={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var n=l?Object.getOwnPropertyDescriptor(e,o):null;n&&(n.get||n.set)?Object.defineProperty(r,o,n):r[o]=e[o]}r.default=e,a&&a.set(e,r);return r}(a("q1tI")),n=r(a("CJMG")),u=r(a("frrP")),i=r(a("VOVi"));a("MXiI");var c,d=r(a("QbRI"));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(f=function(e){return e?a:t})(e)}(c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&c(e);var s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},p=function(){var e=(0,o.useState)(0),t=(0,l.default)(e,2),a=t[0],r=t[1],c=(0,o.useCallback)((function(e){r(e)}),[]);return o.default.createElement(o.default.Fragment,null,o.default.createElement(n.default,{titleKey:"common.title_legal_notice",displayBackArrow:!0}),o.default.createElement(u.default,{setHeaderHeight:c,desktopTitleKey:"common.title_legal_notice",displayBackArrow:!0}),o.default.createElement(i.default,{height:a},o.default.createElement(d.default,null)))};s(p,"useState{[headerHeight, setHeaderHeight](0)}\nuseCallback{defineHeaderHeight}");var b,g,y=p,w=y;t.default=w,(b="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(b.register(p,"LegalNoticeView","/builds/web-et-numerique/llle_project/ecolyo/src/components/LegalNotice/LegalNoticeView.tsx"),b.register(y,"default","/builds/web-et-numerique/llle_project/ecolyo/src/components/LegalNotice/LegalNoticeView.tsx")),(g="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&g(e)}).call(this,a("YuTi")(e))}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{LUT6:function(e,t,a){"use strict";(function(e){var r=a("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(a("J4zp")),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=f(t);if(a&&a.has(e))return a.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var n=o?Object.getOwnPropertyDescriptor(e,l):null;n&&(n.get||n.set)?Object.defineProperty(r,l,n):r[l]=e[l]}r.default=e,a&&a.set(e,r);return r}(a("q1tI")),n=r(a("CJMG")),i=r(a("frrP")),u=r(a("VOVi"));a("MXiI");var c,d=r(a("QbRI"));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(f=function(e){return e?a:t})(e)}(c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&c(e);var s="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},p=function(){var e=(0,l.useState)(0),t=(0,o.default)(e,2),a=t[0],r=t[1],c=(0,l.useCallback)((function(e){r(e)}),[]);return l.default.createElement(l.default.Fragment,null,l.default.createElement(n.default,{titleKey:"common.title_legal_notice",displayBackArrow:!0}),l.default.createElement(i.default,{setHeaderHeight:c,desktopTitleKey:"common.title_legal_notice",displayBackArrow:!0}),l.default.createElement(u.default,{height:a},l.default.createElement(d.default,null)))};s(p,"useState{[headerHeight, setHeaderHeight](0)}\nuseCallback{defineHeaderHeight}");var g,b,y=p,v=y;t.default=v,(g="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(g.register(p,"LegalNoticeView","/home/gcarron/dev/ecolyo/src/components/LegalNotice/LegalNoticeView.tsx"),g.register(y,"default","/home/gcarron/dev/ecolyo/src/components/LegalNotice/LegalNoticeView.tsx")),(b="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&b(e)}).call(this,a("YuTi")(e))}}]);
\ 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="theme-color" content="#ffffff"><!-- 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="viewport" content="width=device-width,height=device-height,initial-scale=1,viewport-fit=cover">{{.ThemeCSS}} {{.CozyBar}}</head><body><div role="application" class="application" data-cozy-token="{{.Token}}" data-cozy-domain="{{.Domain}}" data-cozy-locale="{{.Locale}}" data-cozy-app-name="{{.AppName}}" data-cozy-app-slug="{{.AppSlug}}" data-cozy-app-name-prefix="{{.AppNamePrefix}}" data-cozy-app-editor="{{.AppEditor}}" data-cozy-icon-path="{{.IconPath}}"><script src="vendors/ecolyo.85a8c4f367e15a97cd90.js"></script><script src="app/ecolyo.a8becee2c3608f73f2f2.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="theme-color" content="#ffffff"><!-- 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="viewport" content="width=device-width,height=device-height,initial-scale=1,viewport-fit=cover">{{.ThemeCSS}} {{.CozyBar}}</head><body><div role="application" class="application" data-cozy-token="{{.Token}}" data-cozy-domain="{{.Domain}}" data-cozy-locale="{{.Locale}}" data-cozy-app-name="{{.AppName}}" data-cozy-app-slug="{{.AppSlug}}" data-cozy-app-name-prefix="{{.AppNamePrefix}}" data-cozy-app-editor="{{.AppEditor}}" data-cozy-icon-path="{{.IconPath}}"><script src="vendors/ecolyo.f35426b5d9f3bd00c54f.js"></script><script src="app/ecolyo.a2cadfa9f937911ebf57.js"></script></div></body></html>
\ No newline at end of file
......@@ -5,7 +5,7 @@
"categories": [
"energy"
],
"version": "1.4.4",
"version": "1.5.1",
"licence": "AGPL-3.0",
"editor": "Métropole de Lyon",
"default_locale": "fr",
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment