(e, i)
| 11025 | return i._internal_id = this._seed++, this.$syncFactory && this.$syncFactory(i), e && this._initFromConfig(i, e), i; |
| 11026 | } |
| 11027 | _initFromConfig(e, i) { |
| 11028 | if (i.plugins && e.plugins(i.plugins), i.config && e.mixin(e.config, i.config, !0), i.templates && e.attachEvent("onTemplatesReady", function() { |
| 11029 | e.mixin(e.templates, i.templates, !0); |
| 11030 | }, { once: !0 }), i.events) |
| 11031 | for (const t in i.events) |
| 11032 | e.attachEvent(t, i.events[t]); |
| 11033 | i.locale && e.i18n.setLocale(i.locale), Array.isArray(i.calendars) && i.calendars.forEach(function(t) { |
| 11034 | e.addCalendar(t); |
| 11035 | }), i.container ? e.init(i.container) : e.init(), i.data && (typeof i.data == "string" ? e.load(i.data) : e.parse(i.data)); |
| 11036 | } |
| 11037 | }(Fa), Ue = Pe.getSchedulerInstance(), ut = { plugin: Ue.bind(Pe.plugin, Pe) }; |
| 11038 | window.scheduler = Ue, window.Scheduler = ut, window.$dhx || (window.$dhx = {}), window.$dhx.scheduler = Ue, window.$dhx.Scheduler = ut; |
| 11039 | export { |
no test coverage detected