function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,_toPropertyKey(n.key),n)}}function _createClass(e,t,o){return t&&_defineProperties(e.prototype,t),o&&_defineProperties(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e}function _toPropertyKey(e){e=_toPrimitive(e,"string");return"symbol"==_typeof(e)?e:e+""}function _toPrimitive(e,t){if("object"!=_typeof(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0===o)return("string"===t?String:Number)(e);o=o.call(e,t||"default");if("object"!=_typeof(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}var miniHorloge=(()=>_createClass(function e(){_classCallCheck(this,e)},[{key:"initializeHorloge",value:function(e,t){e=1e3*e.delay;return this.getHorlogeDom(e,2<arguments.length&&void 0!==arguments[2]?arguments[2]:0,t)}},{key:"getHorlogeDom",value:function(t,e,o){var n=this;function r(){n.getRealHourInString(o),n.getRealDateInString(o)}return setTimeout(function(){r();var e=setInterval(function(){r()},1e3);setTimeout(function(){clearInterval(e)},t)},e),n.createHorlogeHtml(o)}},{key:"getRealHourInString",value:function(e){function t(e){return("0"+e).slice(-2)}var o=new Date,o=t(o.getHours())+":"+t(o.getMinutes())+":"+t(o.getSeconds());$("#"+e+" #hour").text(o)}},{key:"getRealDateInString",value:function(e){function t(e){return("0"+e).slice(-2)}var o=new Date,o=t(o.getUTCDate())+"/"+t(o.getMonth()+1)+"/"+o.getFullYear();$("#"+e+" #date").text(o)}},{key:"createHorlogeHtml",value:function(){var e=$("<div>"),t=(e.css("left","0"),e.css("top","80%"),e.css("width","20%"),e.css("height","20%"),e.css("position","absolute"),e.css("opacity","1"),e.css("color","white"),e.css("display","flex"),e.css("flex-direction","column"),e.css("justify-content","center"),e.css("align-items","center"),e.addClass("affiches"),e.addClass("affichesMultiple"),e.attr("id","affiches4"),$("<p>")),o=(t.attr("id","hour"),t.css("width","90%"),t.css("height","auto"),t.css("text-align","center"),t.css("font-size","4vw"),$("<p>"));return o.attr("id","date"),o.css("width","90%"),o.css("height","auto"),o.css("text-align","center"),o.css("font-size","1.5vw"),t.appendTo(e),o.appendTo(e),e}}]))();