1var _popup_zindex_counter=1e3;$.alert=function(e){"[object Array]"===Object.prototype.toString.call(e)?e={messages:e}:"[object String]"===Object.prototype.toString.call(e)?e={messages:[{level:"info",key:"msg",value:e}]}:e.message&&(e.messages=[{level:e.level||"info",key:"msg",value:e.message}]);for(var t=(e=$.extend({messages:[],buttons:[{text:"Ok",styleClass:"button ok"}],background:!0,canClose:!0,close:function(){},open:function(){}},e)).messages,o=$('<div class="alert_popup"/>'),n=[],s=[],i=[],p=0;p<t.length;p++){var l=s;"error"==t[p].level?l=i:"info"==t[p].level&&(l=n),l.push('<li k="'),l.push(t[p].key),l.push('">'),l.push(t[p].value),l.push("</li>")}var a="";return 0<n.length&&(a+='<ul class="notifications ifo">'+n.join("")+"</ul>"),0<s.length&&(a+='<ul class="notifications wrn">'+s.join("")+"</ul>"),0<i.length&&(a+='<ul class="notifications err">'+i.join("")+"</ul>"),o.append(a).popup(e).bind("buttonclick",function(){$(this).closePopup()})},$.fn.closePopup=function(){return $(this).each(function(){($(this).hasClass("popup_container")?$(this):$(this).parents("div.popup_container")).trigger("closepopup"),setTimeout(function(){$(document.documentElement).toggleClass("is-popup-open",0<$(".popup_container").length)},200)})},$.fn.popup=function(c){return(c=$.extend({background:!0,canClose:!0,close:function(){},open:function(){}},c)).popupStateObject&&(c._stateListener=function(e,t){"popupClosed"==e?c.popupStateObject.closed(t):"popupOpened"==e&&c.popupStateObject.opened(t)}),$(this).each(function(){$(document.documentElement).toggleClass("is-popup-open",!0);var e,o,s=$('<div class="popup_container'+(c.styleClass?" "+c.styleClass:"")+'"/>'),i=null,t=$(this);$("body").append(s),c.canClose&&!c.hideCloseIcon&&s.append('<a href="javascript:void(0);" class="'+(c.closeStyleClass||"")+'" onclick="$(this).closePopup();">'+(c.closeContent||"")+"</a>"),c.title&&s.addClass("with-title").append('<h3 class="popup_title">'+c.title+"</h3>"),c.background&&(i=$('<div class="popup_background"/>'),$("body").append(i),i.css({zIndex:++_popup_zindex_counter}),c.canClose)&&!c.disableBackgroundClose&&i.click(function(){s.closePopup()});if(s.append($(this)).css({zIndex:++_popup_zindex_counter,top:(90<$(window).scrollTop()?$(window).scrollTop()+60:90)+"px"}).bind("closepopup",function(){$(this).remove(),i&&i.remove(),c.close.call(t),c._stateListener&&c._stateListener("popupClosed",t)}),c.body&&((e=$('<div class="popup_content '+(c.body.styleClass||"")+'"/>')).append(c.body.content),s.append(e)),c.buttons){for(var n=$('<div class="popup-buttons"/>'),p=0;p<c.buttons.length;p++)n.append($('<a class="button '+(c.buttons[p].styleClass||"")+'" href="'+(c.buttons[p].href||"")+'" bid="'+(c.buttons[p].id||"def")+'">'+c.buttons[p].text+"</a>").click(function(e){e.preventDefault(),t.trigger("buttonclick",$(this).attr("bid"))}));s.append(n)}function l(){var e=$(window).width(),t=s.width(),o=parseInt(s.css("left"))||0,e=parseInt(Math.round(e/2-t/2))||0,t=0,n={};e!==o&&(t=Math.abs(e-o),!isNaN(t))&&2<=t&&(n.left=e+"px"),i&&(o=parseInt(i.css("height"))||0,(e=$(window).height())!=o)&&(t=Math.abs(e-o),!isNaN(t))&&2<=t&&i.css({height:e+"px"}),c.fixedPosition&&("center"===c.fixedPosition&&(o=s.height(),t=$(window).innerHeight(),n.top=Math.max(o<t?(t-o)/2:0,0)+"px","fixed"!==s.css("position"))&&(n.position="fixed"),"bottomRight"===c.fixedPosition)&&(n.top="auto",n.left="auto",n.bottom="20px",n.right="20px","fixed"!==s.css("position"))&&(n.position="fixed"),s.css(n)}function a(e){var t=e.originalEvent.targetTouches[0].clientY-o;0===s.scrollTop()&&0<t&&e.preventDefault(),s.prop("scrollHeight")-s.scrollTop()<=s.prop("clientHeight")&&t<0&&e.preventDefault()}c.open.call(t),c._stateListener&&c._stateListener("popupOpened",t),window.addEventListener("resize",l,{passive:!0}),s.on("controlLoaded",l),s.on("closepopup",function(){window.removeEventListener("resize",l),s.off("controlLoaded",l)}),l(),/iPad|iPhone|iPod/.test(navigator.userAgent)&&(o=null,s.on("touchstart",function(e){1===(window.xxx=e).originalEvent.targetTouches.length&&(o=e.originalEvent.targetTouches[0].clientY)}),s.on("touchmove",function(e){1===e.originalEvent.targetTouches.length&&a(e)}))})};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.