tribe.events=tribe.events||{},tribe.events.admin=tribe.events.admin||{},tribe.events.admin.manager=tribe.events.admin.manager||{},tribe.events.admin.manager.page={},function(e,i){const n=e(document);i.selectors={splitLink:".tribe_events_page_tribe-admin-manager .tribe-split-all",splitSingleLink:".tribe_events_page_tribe-admin-manager .tribe-split-single",splitLinkClose:".tribe_events_page_tribe-admin-manager .tribe-dialog__wrapper .tribe-dialog__close-button--hidden",splitLinkDialogCancel:".tribe_events_page_tribe-admin-manager .tribe-dialog__button-cancel",splitLinkDialogConfirm:".tribe_events_page_tribe-admin-manager .tribe-dialog__button-continue"},i.splitLinkSelection=null,i.handleSplitSingleLinkClick=function(){const n=e(this);return i.splitLinkSelection=n,n.trigger("mouseleave"),e(document.getElementById("tec-pro-event-manager__split-single-dialog")).click(),!1},i.handleSplitLinkClick=function(){const n=e(this);return i.splitLinkSelection=n,n.trigger("mouseleave"),e(document.getElementById("tec-pro-event-manager__split-upcoming-dialog")).click(),!1},i.handleSplitLinkDialogCancelClick=function(){i.splitLinkSelection=null,e(i.selectors.splitLinkClose).click()},i.handleSplitLinkDialogConfirmClick=function(){document.location=i.splitLinkSelection.attr("href")},i.ready=function(){n.on("click",i.selectors.splitLink,i.handleSplitLinkClick),n.on("click",i.selectors.splitSingleLink,i.handleSplitSingleLinkClick),n.on("click",i.selectors.splitLinkDialogCancel,i.handleSplitLinkDialogCancelClick),n.on("click",i.selectors.splitLinkDialogConfirm,i.handleSplitLinkDialogConfirmClick)},e(i.ready)}(jQuery,tribe.events.admin.manager.page),window.tec=window.tec||{},window.tec.eventsPro=window.tec.eventsPro||{},window.tec.eventsPro.admin=window.tec.eventsPro.admin||{},window.tec.eventsPro.admin.managerPage={};