text: var tribe=tribe||{};tribe.dialogs=tribe.dialogs||{},function(e,t){"use strict";e(document);t.dialogs=t.dialogs||[],t.events=t.events||{},t.getDialogName=function(e){return"dialog_obj_"+e.id},t.init=function(){t.dialogs.forEach(function(o){var s=t.getDialogName(o),a=new window.A11yDialog({appendTarget:o.appendTarget,bodyLock:o.bodyLock,closeButtonAriaLabel:o.closeButtonAriaLabel,closeButtonClasses:o.closeButtonClasses,contentClasses:o.contentClasses,effect:o.effect,effectEasing:o.effectEasing,effectSpeed:o.effectSpeed,overlayClasses:o.overlayClasses,overlayClickCloses:o.overlayClickCloses,trigger:o.trigger,wrapperClasses:o.wrapperClasses});window[s]=a,o.a11yInstance=a,window[s].on("show",function(s,a){a&&(a.preventDefault(),a.stopPropagation()),e(t.events).trigger(o.showEvent,[s,a])}),window[s].on("hide",function(s,a){a&&(a.preventDefault(),a.stopPropagation()),e(t.events).trigger(o.closeEvent,[s,a])})})},e(t.init)}(jQuery,tribe.dialogs);