"use strict";(self.webpackChunk_genially_view_client=self.webpackChunk_genially_view_client||[]).push([[5031],{5031:(t,e,i)=>{i.r(e),i.d(e,{geniallyCountdownToDateMigrationScript:()=>s});var n=i(26388),a=i.n(n),l=i(96848),o=i(2173);const r=(t,e)=>a().lt(e,t),s=t=>{let{config:e,version:i}=t;var n,a;if((0,l.a)("1.1.0",i)&&"string"===typeof e.targetDate){e.targetDate={$type:"date",date:(0,o.S)(new Date(`${e.targetDate}Z`))}}if(r("1.1.1",i)){const t=e,i=null===(a=null===(n=t.alarms)||void 0===n?void 0:n.find((t=>t.active&&0===t.time.milliseconds)))||void 0===a?void 0:a.action;delete t.alarms,i&&(t.onEndAction=i)}if(r("1.1.2",i)){e.disableDefaultTimer=!1}}},2173:(t,e,i)=>{function n(t){return t.toISOString().substring(0,19)}i.d(e,{S:()=>n})},96848:(t,e,i)=>{i.d(e,{a:()=>l});var n=i(26388),a=i.n(n);const l=(t,e)=>a().lt(e,t)}}]);
//# sourceMappingURL=https://s3-static-genially.genially.com/view/static/js/5031.05cc305e.chunk.js.map