Current File : /home/digitaw/www/wp-content/plugins/event-tickets/build/js/admin/welcome-message.js
(()=>{var e,i;e=jQuery,(i={}).$window=e(window),i.selectors={adminVideo:".tribe-events-admin-video",thickbox:"a.thickbox"},i.onReady=function(){i.$window.resize()},i.onResize=function(){e(i.selectors.adminVideo).each((function(){const i=e(this);let t=0;t=.5625*i.width(),i.height(t),i.find("iframe").height(t)}));const t=parseInt(.9*i.$window.height(),10),n=parseInt(.9*i.$window.width(),10);e(i.selectors.thickbox).each((function(){const i=e(this),o=new URL(i.prop("href"));o.searchParams.set("height",t),o.searchParams.set("width",n),i.prop("href",o.toString())}))},i.$window.on("resize",i.onResize),e(i.onReady),window.tec=window.tec||{},window.tec.tickets=window.tec.tickets||{},window.tec.tickets.admin=window.tec.tickets.admin||{},window.tec.tickets.admin.welcomeMessage={}})();