(function(a){"function"===typeof define&&define.amd?define(["jquery"],function(c){return a(c)}):"object"===typeof module&&"object"===typeof module.exports?module.exports=a(require("jquery")):a(window.jQuery)})(function(a){function c(b){void 0===b&&(b=window.navigator.userAgent);b=b.toLowerCase();var d=/(edge)\/([\w.]+)/.exec(b)||/(opr)[\/]([\w.]+)/.exec(b)||/(chrome)[ \/]([\w.]+)/.exec(b)||/(iemobile)[\/]([\w.]+)/.exec(b)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(b)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(b)||
/(webkit)[ \/]([\w.]+)/.exec(b)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(b)||/(msie) ([\w.]+)/.exec(b)||0<=b.indexOf("trident")&&/(rv)(?::| )([\w.]+)/.exec(b)||0>b.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(b)||[],e=/(ipad)/.exec(b)||/(ipod)/.exec(b)||/(windows phone)/.exec(b)||/(iphone)/.exec(b)||/(kindle)/.exec(b)||/(silk)/.exec(b)||/(android)/.exec(b)||/(win)/.exec(b)||/(mac)/.exec(b)||/(linux)/.exec(b)||/(cros)/.exec(b)||/(playbook)/.exec(b)||/(bb)/.exec(b)||/(blackberry)/.exec(b)||
[];b={};var f=d[5]||d[3]||d[1]||"",g=d[2]||d[4]||"0";d=d[4]||d[2]||"0";e=e[0]||"";f&&(b[f]=!0,b.version=g,b.versionNumber=parseInt(d,10));e&&(b[e]=!0);if(b.android||b.bb||b.blackberry||b.ipad||b.iphone||b.ipod||b.kindle||b.playbook||b.silk||b["windows phone"])b.mobile=!0;if(b.cros||b.mac||b.linux||b.win)b.desktop=!0;if(b.chrome||b.opr||b.safari)b.webkit=!0;if(b.rv||b.iemobile)f="msie",b.msie=!0;b.edge&&(delete b.edge,f="msedge",b.msedge=!0);b.safari&&b.blackberry&&(f="blackberry",b.blackberry=!0);
b.safari&&b.playbook&&(f="playbook",b.playbook=!0);b.bb&&(f="blackberry",b.blackberry=!0);b.opr&&(f="opera",b.opera=!0);b.safari&&b.android&&(f="android",b.android=!0);b.safari&&b.kindle&&(f="kindle",b.kindle=!0);b.safari&&b.silk&&(f="silk",b.silk=!0);b.name=f;b.platform=e;return b}window.jQBrowser=c(window.navigator.userAgent);window.jQBrowser.uaMatch=c;a&&(a.browser=window.jQBrowser);return window.jQBrowser});
(function(a,c){"object"===typeof exports&&"undefined"!==typeof module?module.exports=c():"function"===typeof define&&define.amd?define(c):(a=a||self,function(){var b=a.Cookies,d=a.Cookies=c();d.noConflict=function(){a.Cookies=b;return d}}())})(this,function(){function a(d){for(var e=1;e<arguments.length;e++){var f=arguments[e],g;for(g in f)d[g]=f[g]}return d}function c(d,e){function f(g,l,h){if("undefined"!==typeof document){h=a({},e,h);"number"===typeof h.expires&&(h.expires=new Date(Date.now()+
864E5*h.expires));h.expires&&(h.expires=h.expires.toUTCString());g=b.write(g).replace(/=/g,"%3D");l=d.write(String(l),g);var k="",m;for(m in h)h[m]&&(k+="; "+m,!0!==h[m]&&(k+="\x3d"+h[m].split(";")[0]));return document.cookie=g+"\x3d"+l+k}}return Object.create({set:f,get:function(g){if("undefined"!==typeof document&&(!arguments.length||g)){for(var l=document.cookie?document.cookie.split("; "):[],h={},k=0;k<l.length;k++){var m=l[k].split("\x3d"),p=m.slice(1).join("\x3d");m=b.read(m[0]).replace(/%3D/g,
"\x3d");h[m]=d.read(p,m);if(g===m)break}return g?h[g]:h}},remove:function(g,l){f(g,"",a({},l,{expires:-1}))},withAttributes:function(g){return c(this.converter,a({},this.attributes,g))},withConverter:function(g){return c(a({},this.converter,g),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(d)}})}var b={read:function(d){return d.replace(/%3B/g,";")},write:function(d){return d.replace(/;/g,"%3B")}};return c(b,{path:"/"})});
(function(a){if(a.PrimeFaces)a.PrimeFaces.debug("PrimeFaces already loaded, ignoring duplicate execution.");else{var c={escapeClientId:function(b){return"#"+b.replace(/:/g,"\\:")},onElementLoad:function(b,d){if(b.prop("complete"))d();else b.on("load",d)},getWidgetById:function(b){for(var d in c.widgets){var e=c.widgets[d];if(e&&e.id===b)return e}return null},getWidgetsByType:function(b){return $.map(this.widgets,function(d,e){return b.prototype.isPrototypeOf(d)?d:null})},getClosestForm:function(b){var d=
$(c.escapeClientId(b));d.is("form")||(d=d.closest("form"));d||c.error("Form element could not be found for id: "+b);return d},addSubmitParam:function(b,d){b=c.getClosestForm(b);for(var e in d)b.append('\x3cinput type\x3d"hidden" name\x3d"'+c.escapeHTML(e)+'" value\x3d"'+c.escapeHTML(d[e])+'" class\x3d"ui-submit-param"\x3e\x3c/input\x3e');return this},submit:function(b,d){b=c.getClosestForm(b);if(d){var e=b.attr("target");b.attr("target",d)}b.trigger("submit");b.children("input.ui-submit-param").remove();
d&&(void 0!==e?b.attr("target",e):b.removeAttr("target"))},abortXHRs:function(){c.ajax.Queue.abortAll()},attachBehaviors:function(b,d){$.each(d,function(e,f){b.on(e,function(g){f.call(b,g)})})},getCookie:function(b){return Cookies.get(b)},setCookie:function(b,d,e){"https:"===location.protocol&&c.settings.cookiesSecure&&(e.secure=!0,c.settings.cookiesSameSite&&(e.sameSite=c.settings.cookiesSameSite));Cookies.set(b,d,e)},deleteCookie:function(b,d){Cookies.remove(b,d)},cookiesEnabled:function(){var b=
navigator.cookieEnabled?!0:!1;"undefined"!==typeof navigator.cookieEnabled||b||(document.cookie="testcookie",b=-1!==document.cookie.indexOf("testcookie")?!0:!1);return b},createStorageKey:function(b,d,e){return(c.settings.contextPath.replace(/\//g,"-")+(e?"":c.settings.viewId.replace(/\//g,"-"))+b+"-"+d).toLowerCase()},updateFilledState:function(b,d){var e=b.val();"undefined"!=typeof e&&(e.length?(b.addClass("ui-state-filled"),d.is("span:not('.ui-float-label')")&&d.addClass("ui-inputwrapper-filled")):
(b.removeClass("ui-state-filled"),d.removeClass("ui-inputwrapper-filled")))},skinInput:function(b){var d=b.parent(),e=function(){d.hasClass("ui-inputwrapper-focus")&&d.removeClass("ui-inputwrapper-focus");c.updateFilledState(b,d)};c.updateFilledState(b,d);b.on("mouseenter",function(){$(this).addClass("ui-state-hover")}).on("mouseleave",function(){$(this).removeClass("ui-state-hover")}).on("focus",function(){$(this).addClass("ui-state-focus");d.is("span:not('.ui-float-label')")&&d.addClass("ui-inputwrapper-focus")}).on("blur",
function(){$(this).removeClass("ui-state-focus");b.hasClass("hasDatepicker")?setTimeout(function(){e()},150):e()});b.is("textarea")&&b.attr("aria-multiline",!0);return this},skinButton:function(b){b.on("mouseover",function(){var d=$(this);b.prop("disabled")||d.addClass("ui-state-hover")}).on("mouseout",function(){$(this).removeClass("ui-state-active ui-state-hover")}).on("mousedown",function(){var d=$(this);b.prop("disabled")||d.addClass("ui-state-active").removeClass("ui-state-hover")}).on("mouseup",
function(){$(this).removeClass("ui-state-active").addClass("ui-state-hover")}).on("focus",function(){$(this).addClass("ui-state-focus")}).on("blur",function(){$(this).removeClass("ui-state-focus ui-state-active")}).on("keydown",function(d){" "!==d.key&&"Enter"!==d.key||$(this).addClass("ui-state-active")}).on("keyup",function(){$(this).removeClass("ui-state-active")});return this},skinSelect:function(b){b.on("mouseover",function(){var d=$(this);d.hasClass("ui-state-focus")||d.addClass("ui-state-hover")}).on("mouseout",
function(){$(this).removeClass("ui-state-hover")}).on("focus",function(){$(this).addClass("ui-state-focus").removeClass("ui-state-hover")}).on("blur",function(){$(this).removeClass("ui-state-focus ui-state-hover")});return this},info:function(b){this.logger&&this.logger.info(b);c.isDevelopmentProjectStage()&&a.console&&console.info(b)},debug:function(b){this.logger&&this.logger.debug(b);c.isDevelopmentProjectStage()&&a.console&&console.debug(b)},warn:function(b){this.logger&&this.logger.warn(b);c.isDevelopmentProjectStage()&&
a.console&&console.warn(b)},error:function(b){this.logger&&this.logger.error(b);c.isDevelopmentProjectStage()&&a.console&&console.error(b)},isDevelopmentProjectStage:function(){return"Development"===c.settings.projectStage},isProductionProjectStage:function(){return"Production"===c.settings.projectStage},widgetNotAvailable:function(b){c.error("Widget for var '"+b+"' not available!")},setCaretToEnd:function(b){if(b){b.trigger("focus");var d=b.value.length;0<d&&(b.setSelectionRange?b.setSelectionRange(0,
d):b.createTextRange&&(b=b.createTextRange(),b.collapse(!0),b.moveEnd("character",1),b.moveStart("character",1),b.select()))}},getThemeLink:function(){var b=$('link[href*\x3d"'+c.RESOURCE_IDENTIFIER+'/theme.css"]');0===b.length&&(b=$('link[href*\x3d"'+c.RESOURCE_IDENTIFIER+'\x3dtheme.css"]'));return b},getTheme:function(){return c.env.getTheme()},changeTheme:function(b){if(b&&""!==b){var d=c.getThemeLink(),e=d.attr("href"),f=e.split("\x26")[0].split("ln\x3d")[1];b=e.replace(f,"primefaces-"+b);d.attr("href",
b)}},escapeRegExp:function(b){return this.escapeHTML(b.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1"))},escapeHTML:function(b,d){return String(b).replace(d?/[<>"'`=\/]/g:/[&<>"'`=\/]/g,function(e){return c.entityMap[e]})},clearSelection:function(){if(a.getSelection)a.getSelection().empty?a.getSelection().empty():a.getSelection().removeAllRanges&&0<a.getSelection().rangeCount&&0<a.getSelection().getRangeAt(0).getClientRects().length&&a.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch(b){}},
getSelection:function(){var b="";a.getSelection?b=a.getSelection():document.getSelection?b=document.getSelection():document.selection&&(b=document.selection.createRange().text);return b},hasSelection:function(){return 0<this.getSelection().length},cw:function(b,d,e){this.createWidget(b,d,e)},getFacesResource:function(b,d,e){return c.resources.getFacesResource(b,d,e)},createWidget:function(b,d,e){e.widgetVar=d;if(this.widget[b]){var f=this.widgets[d];f&&f.constructor===this.widget[b]?(f.refresh(e),
e.postRefresh&&e.postRefresh.call(f,f)):(b=new this.widget[b](e),this.widgets[d]=b,this.settings.legacyWidgetNamespace&&(a[d]=b),e.postConstruct&&e.postConstruct.call(b,b))}else c.error("Widget class '"+b+"' not found!")},inArray:function(b,d){for(var e=0;e<b.length;e++)if(b[e]===d)return!0;return!1},isNumber:function(b){return"number"===typeof b&&isFinite(b)},focus:function(b,d){setTimeout(function(){var e=function(g){if(g&&0!==g.length){var l=g.eq(0);g=g.filter(":input");0<g.length&&(l=g.eq(0));
c.focusElement(l)}};if(b){var f=$(c.escapeClientId(b));f.is(":not(:submit):not(:button):input:visible:enabled[name], a:first")?f.trigger("focus"):e(f.find(":not(:submit):not(:button):input:visible:enabled[name], a:first"))}else d?e($(c.escapeClientId(d)).find(":not(:submit):not(:button):input:visible:enabled[name], a:first")):e($(":not(:submit):not(:button):input:visible:enabled[name], a:first"))},50);c.customFocus=!0},focusElement:function(b){if(b.is(":radio"))if(b.hasClass("ui-helper-hidden-accessible"))b.parent().trigger("focus");
else{var d=$(':radio[name\x3d"'+$.escapeSelector(b.attr("name"))+'"]').filter(":checked");d.length?d.trigger("focus"):b.trigger("focus")}else b.trigger("focus")},monitorDownload:function(b,d,e){if(this.cookiesEnabled()){b&&b();var f="primefaces.download"+c.settings.viewId.replace(/\//g,"_");f=f.substr(0,f.lastIndexOf("."));e&&""!==e&&(f+="_"+e);var g=c.settings.contextPath;g&&""!==g||(g="/");a.downloadMonitor=setInterval(function(){"true"===c.getCookie(f)&&(d&&d(),clearInterval(a.downloadMonitor),
c.setCookie(f,null,{path:g}))},1E3)}},scrollTo:function(b){b=$(c.escapeClientId(b)).offset();var d=$("html,body"),e=d.css("scroll-behavior");d.css("scroll-behavior","auto");d.animate({scrollTop:b.top,scrollLeft:b.left},1E3,"easeInCirc",function(){d.css("scroll-behavior",e)})},scrollInView:function(b,d){if(null!==d&&0!==d.length){var e=parseFloat(b.css("borderTopWidth"))||0,f=parseFloat(b.css("paddingTop"))||0;e=d.offset().top-b.offset().top-e-f;f=b.scrollTop();var g=b.height();d=d.outerHeight(!0);
0>e?b.scrollTop(f+e):e+d>g&&b.scrollTop(f+e-g+d)}},calculateScrollbarWidth:function(){if(!this.scrollbarWidth){var b=$("\x3cdiv\x3e\x3c/div\x3e").css({width:"100px",height:"100px",overflow:"auto",position:"absolute",top:"-1000px",left:"-1000px"}).prependTo("body").append("\x3cdiv\x3e\x3c/div\x3e").find("div").css({width:"100%",height:"200px"});this.scrollbarWidth=100-b.width();b.parent().remove()}return this.scrollbarWidth},bcn:function(b,d,e){if(e)for(var f=0;f<e.length;f++)if(!1===e[f].call(b,d)){d.preventDefault?
d.preventDefault():d.returnValue=!1;break}},bcnu:function(b,d,e){if(e)for(var f=0;f<e.length&&!1!==e[f].call(this,b,d);f++);},openDialog:function(b){c.dialog&&c.dialog.DialogHandler.openDialog(b)},closeDialog:function(b){c.dialog&&c.dialog.DialogHandler.closeDialog(b)},showMessageInDialog:function(b){c.dialog&&c.dialog.DialogHandler.showMessageInDialog(b)},confirm:function(b){"popup"===b.type&&c.confirmPopup?c.confirmPopup.showMessage(b):c.dialog&&c.dialog.DialogHandler.confirm(b)},deferredRenders:[],
addDeferredRender:function(b,d,e){this.deferredRenders.push({widget:b,container:d,callback:e})},removeDeferredRenders:function(b){for(var d=this.deferredRenders.length-1;0<=d;d--)this.deferredRenders[d].widget===b&&this.deferredRenders.splice(d,1)},invokeDeferredRenders:function(b){for(var d=[],e=0;e<this.deferredRenders.length;e++){var f=this.deferredRenders[e];f.container===b&&f.callback.call()&&d.push(f.widget)}for(b=0;b<d.length;b++)this.removeDeferredRenders(d[b])},getLocaleSettings:function(b){if(b)var d=
c.locales[b];else{if(this.localeSettings)return this.localeSettings;d=c.locales[c.settings.locale]}d||(d=c.locales[(b?b:c.settings.locale).split("_")[0]]);d||(d=c.locales.en_US);b||(this.localeSettings=d);return d},getAriaLabel:function(b){var d=this.getLocaleSettings().aria;return d&&d[b]?d[b]:c.locales.en_US.aria[b]},trim:function(b){return b?"string"===typeof b||b instanceof String?b.trim():b:""},uuid:function(){for(var b=[],d=0;256>d;d++)b[d]=(16>d?"0":"")+d.toString(16);d=4294967295*Math.random()|
0;var e=4294967295*Math.random()|0,f=4294967295*Math.random()|0,g=4294967295*Math.random()|0;return b[d&255]+b[d>>8&255]+b[d>>16&255]+b[d>>24&255]+"-"+b[e&255]+b[e>>8&255]+"-"+b[e>>16&15|64]+b[e>>24&255]+"-"+b[f&63|128]+b[f>>8&255]+"-"+b[f>>16&255]+b[f>>24&255]+b[g&255]+b[g>>8&255]+b[g>>16&255]+b[g>>24&255]},nextZindex:function(){return String(++c.zindex)},toISOString:function(b){return(new Date(b.getTime()-6E4*b.getTimezoneOffset())).toISOString()},toSearchable:function(b,d,e){if(!b)return"";b=e?
b.normalize("NFD").replace(/[\u0300-\u036f]/g,""):b;return d?b.toLowerCase():b},resetState:function(){c.ajax.Queue.abortAll();c.zindex=1E3;c.detachedWidgets=[];c.animationActive=!1;c.customFocus=!1;c.widgets={}},version:function(){console.log("PrimeFaces "+c.VERSION+" (jQuery "+jQuery.fn.jquery+" / UI "+$.ui.version+")")},zindex:1E3,animationEnabled:!0,animationActive:!1,customFocus:!1,hideOverlaysOnViewportChange:!0,detachedWidgets:[],PARTIAL_REQUEST_PARAM:"javax.faces.partial.ajax",PARTIAL_UPDATE_PARAM:"javax.faces.partial.render",
PARTIAL_PROCESS_PARAM:"javax.faces.partial.execute",PARTIAL_SOURCE_PARAM:"javax.faces.source",BEHAVIOR_EVENT_PARAM:"javax.faces.behavior.event",PARTIAL_EVENT_PARAM:"javax.faces.partial.event",RESET_VALUES_PARAM:"primefaces.resetvalues",IGNORE_AUTO_UPDATE_PARAM:"primefaces.ignoreautoupdate",SKIP_CHILDREN_PARAM:"primefaces.skipchildren",VIEW_STATE:"javax.faces.ViewState",CLIENT_WINDOW:"javax.faces.ClientWindow",VIEW_ROOT:"javax.faces.ViewRoot",CLIENT_ID_DATA:"primefaces.clientid",RESOURCE_IDENTIFIER:"javax.faces.resource",
VERSION:"13.0.1",settings:{},util:{},widgets:{},locales:{en_US:{closeText:"Close",prevText:"Previous",nextText:"Next",monthNames:"January February March April May June July August September October November December".split(" "),monthNamesShort:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),dayNames:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),dayNamesShort:"Sun Mon Tue Wed Thu Fri Sat".split(" "),dayNamesMin:"S;M;T;W ;T;F ;S".split(";"),weekHeader:"Week",weekNumberTitle:"W",
firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:"",timeOnlyTitle:"Only Time",timeText:"Time",hourText:"Hour",minuteText:"Minute",secondText:"Second",millisecondText:"Millisecond",currentText:"Current Date",ampm:!1,year:"Year",month:"Month",week:"Week",day:"Day",list:"Agenda",allDayText:"All Day",moreLinkText:"More...",noEventsText:"No Events",clear:"Clear",aria:{"paginator.PAGE":"Page {0}","calendar.BUTTON":"Show Calendar","datatable.sort.ASC":"activate to sort column ascending","datatable.sort.DESC":"activate to sort column descending",
"datatable.sort.NONE":"activate to remove sorting on column","columntoggler.CLOSE":"Close","overlaypanel.CLOSE":"Close","colorpicker.OPEN":"Open color picker","colorpicker.CLOSE":"Close color picker","colorpicker.CLEAR":"Clear the selected color","colorpicker.MARKER":"Saturation: {s}. Brightness: {v}.","colorpicker.HUESLIDER":"Hue slider","colorpicker.ALPHASLIDER":"Opacity slider","colorpicker.INPUT":"Color value field","colorpicker.FORMAT":"Color format","colorpicker.SWATCH":"Color swatch","colorpicker.INSTRUCTION":"Saturation and brightness selector. Use up, down, left and right arrow keys to select.",
"spinner.INCREASE":"Increase Value","spinner.DECREASE":"Decrease Value"}}}};c.locales.en=c.locales.en_US;c.entityMap={"\x26":"\x26amp;","\x3c":"\x26lt;","\x3e":"\x26gt;",'"':"\x26quot;","'":"\x26#39;","/":"\x26#x2F;","`":"\x26#x60;","\x3d":"\x26#x3D;"};PF=function(b){var d=c.widgets[b];d||c.widgetNotAvailable(b);return d};a.PrimeFaces=c}})(window);
PrimeFaces.env||(PrimeFaces.env={mobile:!1,touch:!1,ios:!1,browser:null,preferredColorSchemeDark:!1,preferredColorSchemeLight:!1,init:function(){this.browser=$.browser;this.mobile=this.browser.mobile?!0:!1;this.touch="ontouchstart"in window||window.navigator.msMaxTouchPoints||PrimeFaces.env.mobile;this.ios=/iPhone|iPad|iPod/i.test(window.navigator.userAgent)||/mac/i.test(window.navigator.userAgent)&&PrimeFaces.env.touch;this.preferredColorSchemeDark=PrimeFaces.env.evaluateMediaQuery("(prefers-color-scheme: dark)");
this.preferredColorSchemeLight=!this.preferredColorSchemeDark},getTheme:function(){var a=PrimeFaces.getThemeLink();return 0===a.length?"":a.attr("href").split("\x26")[0].split("ln\x3dprimefaces-")[1]},isTouchable:function(a){a=void 0==a||(void 0!=a.touchable?a.touchable:!0);return PrimeFaces.env.touch&&a},getOSPreferredColorScheme:function(){return PrimeFaces.env.preferredColorSchemeLight?"light":"dark"},getThemeContrast:function(){var a=PrimeFaces.env.getTheme();return/(^(arya|vela|.+-(dim|dark))$)/gm.test(a)?
"dark":"light"},evaluateMediaQuery:function(a){return window.matchMedia&&window.matchMedia(a).matches},isScreenSizeLessThan:function(a){return PrimeFaces.env.evaluateMediaQuery("(max-width: "+a+"px)")},isScreenSizeGreaterThan:function(a){return PrimeFaces.env.evaluateMediaQuery("(min-width: "+a+"px)")}},PrimeFaces.env.init());
if(!PrimeFaces.ajax){PrimeFaces.ab=function(a,c){for(var b in a)a.hasOwnProperty(b)&&PrimeFaces.ajax.CFG_SHORTCUTS[b]&&(a[PrimeFaces.ajax.CFG_SHORTCUTS[b]]=a[b],delete a[b]);return PrimeFaces.ajax.Request.handle(a,c)};PrimeFaces.ajax={VIEW_HEAD:"javax.faces.ViewHead",VIEW_BODY:"javax.faces.ViewBody",RESOURCE:"javax.faces.Resource",CFG_SHORTCUTS:{s:"source",f:"formId",p:"process",u:"update",e:"event",a:"async",g:"global",d:"delay",t:"timeout",sc:"skipChildren",iau:"ignoreAutoUpdate",ps:"partialSubmit",
psf:"partialSubmitFilter",rv:"resetValues",fp:"fragmentProcess",fu:"fragmentUpdate",pa:"params",onst:"onstart",oner:"onerror",onsu:"onsuccess",onco:"oncomplete"},Utils:{getContent:function(a){for(var c="",b=0;b<a.childNodes.length;b++)c+=a.childNodes[b].nodeValue;return c},getPostUrl:function(a){var c=a.attr("action");a=a.children("input[name*\x3d'javax.faces.encodedURL']");0<a.length&&(c=a.val());return c},getPorletForms:function(a,c){return 0<a.children("input[name*\x3d'javax.faces.encodedURL']").length?
'form[id*\x3d"'+c+'"]':null},getSourceId:function(a){return a&&a.source?"string"===typeof a.source?a.source:a.source.name:null},isXhrSource:function(a,c){return a.id===PrimeFaces.ajax.Utils.getSourceId(c)},updateFormStateInput:function(a,c,b){c=PrimeFaces.trim(c);var d=b&&b.pfSettings&&b.pfSettings.portletForms?$(b.pfSettings.portletForms):$("form");var e="";b&&b.pfArgs&&b.pfArgs.parameterPrefix&&(e=b.pfArgs.parameterPrefix);for(b=0;b<d.length;b++){var f=d.eq(b);if("post"===f.attr("method")){var g=
f.children("input[name\x3d'"+$.escapeSelector(e+a)+"']");0<g.length?g.val(c):f.append('\x3cinput type\x3d"hidden" name\x3d"'+e+a+'" value\x3d"'+c+'" autocomplete\x3d"off"\x3e\x3c/input\x3e')}}},updateHead:function(a){var c=$.ajaxSetup().cache;$.ajaxSetup().cache=!0;var b=RegExp("\x3chead[^\x3e]*\x3e","gi").exec(a)[0];b=a.indexOf(b)+b.length;$("head").html(a.substring(b,a.lastIndexOf("\x3c/head\x3e")));$.ajaxSetup().cache=c},updateBody:function(a){var c=RegExp("\x3cbody[^\x3e]*\x3e","gi").exec(a)[0];
c=a.indexOf(c)+c.length;$("body").html(a.substring(c,a.lastIndexOf("\x3c/body\x3e")))},updateElement:function(a,c,b){-1!==a.indexOf(PrimeFaces.VIEW_STATE)?PrimeFaces.ajax.Utils.updateFormStateInput(PrimeFaces.VIEW_STATE,c,b):-1!==a.indexOf(PrimeFaces.CLIENT_WINDOW)?PrimeFaces.ajax.Utils.updateFormStateInput(PrimeFaces.CLIENT_WINDOW,c,b):a===PrimeFaces.VIEW_ROOT?(a=PrimeFaces.ajax.Utils,window.PrimeFaces.resetState(),a.updateHead(c),a.updateBody(c)):a===PrimeFaces.ajax.VIEW_HEAD?PrimeFaces.ajax.Utils.updateHead(c):
a===PrimeFaces.ajax.VIEW_BODY?PrimeFaces.ajax.Utils.updateBody(c):a===PrimeFaces.ajax.RESOURCE?$("head").append(c):a===$("head")[0].id?PrimeFaces.ajax.Utils.updateHead(c):(b=$(PrimeFaces.escapeClientId(a)),0===b.length?PrimeFaces.warn("DOM element with id '"+a+"' cant be found; skip update..."):b.replaceWith(c))}},Queue:{delays:{},requests:[],xhrs:[],offer:function(a){if(a.delay){var c=null,b=this;c="string"===typeof a.source?a.source:$(a.source).attr("id");var d=function(){return setTimeout(function(){b.requests.push(a);
1===b.requests.length&&PrimeFaces.ajax.Request.send(a)},a.delay)};this.delays[c]?(clearTimeout(this.delays[c].timeout),this.delays[c].timeout=d()):this.delays[c]={timeout:d()}}else this.requests.push(a),1===this.requests.length&&PrimeFaces.ajax.Request.send(a)},poll:function(){if(this.isEmpty())return null;var a=this.requests.shift(),c=this.peek();c&&PrimeFaces.ajax.Request.send(c);return a},peek:function(){return this.isEmpty()?null:this.requests[0]},isEmpty:function(){return 0===this.requests.length},
addXHR:function(a){this.xhrs.push(a)},removeXHR:function(a){a=$.inArray(a,this.xhrs);-1<a&&this.xhrs.splice(a,1)},abortAll:function(){this.requests=[];for(var a=0;a<this.xhrs.length;a++){var c=this.xhrs[a];4!==c.readyState&&c.abort()}this.xhrs=[]}},Request:{handle:function(a,c){a.ext=c;a.promise=a.promise||$.Deferred();PrimeFaces.settings.earlyPostParamEvaluation&&(a.earlyPostParams=PrimeFaces.ajax.Request.collectEarlyPostParams(a));a.async?PrimeFaces.ajax.Request.send(a):PrimeFaces.ajax.Queue.offer(a);
return a.promise.promise()},collectEarlyPostParams:function(a){var c="string"===typeof a.source?$(PrimeFaces.escapeClientId(a.source)):$(a.source);c.is(":input")&&c.is(":not(:button)")?(a=[],c.is(":checkbox")?(c=$("input[name\x3d'"+$.escapeSelector(c.attr("name"))+"']").filter(":checked").serializeArray(),$.merge(a,c)):a.push({name:c.attr("name"),value:c.val()})):a=c.serializeArray();return a},send:function(a){PrimeFaces.debug("Initiating ajax request.");PrimeFaces.customFocus=!1;var c=!0===a.global||
void 0===a.global?!0:!1,b=null,d=null;b=null;a.onstart&&(b=a.onstart.call(this,a));a.ext&&a.ext.onstart&&(b=a.ext.onstart.call(this,a));if(!1===b)return PrimeFaces.debug("AJAX request cancelled by onstart callback."),a.async||PrimeFaces.ajax.Queue.poll(),a.promise&&a.promise.reject({textStatus:"error",errorThrown:"AJAX request cancelled by onstart callback."}),!1;c&&$(document).trigger("pfAjaxStart");d="string"===typeof a.source?a.source:$(a.source).attr("id");a.formId?b=PrimeFaces.expressions.SearchExpressionFacade.resolveComponentsAsSelector(a.formId):
(b=$(PrimeFaces.escapeClientId(d)).closest("form"),0===b.length&&(b=$("form").eq(0)));PrimeFaces.debug("Form to post "+b.attr("id")+".");var e="multipart/form-data"===b.attr("enctype");if(e){var f=new FormData;var g=$()}var l=PrimeFaces.ajax.Utils.getPostUrl(b),h=[],k=PrimeFaces.ajax.Request.extractParameterNamespace(b);PrimeFaces.debug("URL to post "+l+".");PrimeFaces.ajax.Request.addParam(h,PrimeFaces.PARTIAL_REQUEST_PARAM,!0,k);PrimeFaces.ajax.Request.addParam(h,PrimeFaces.PARTIAL_SOURCE_PARAM,
d,k);a.resetValues&&PrimeFaces.ajax.Request.addParam(h,PrimeFaces.RESET_VALUES_PARAM,!0,k);a.ignoreAutoUpdate&&PrimeFaces.ajax.Request.addParam(h,PrimeFaces.IGNORE_AUTO_UPDATE_PARAM,!0,k);!1===a.skipChildren&&PrimeFaces.ajax.Request.addParam(h,PrimeFaces.SKIP_CHILDREN_PARAM,!1,k);var m=PrimeFaces.ajax.Request.resolveComponentsForAjaxCall(a,"process");a.fragmentProcess&&m.push(a.fragmentProcess);var p="@none";if(0<m.length)p=m.join(" ");else{var t=PrimeFaces.ajax.Request.resolveComponentsForAjaxCall(a,
"process");if(void 0===t||0===t.length)p="@all"}p.includes("@none")||PrimeFaces.ajax.Request.addParam(h,PrimeFaces.PARTIAL_PROCESS_PARAM,p,k);t=PrimeFaces.ajax.Request.resolveComponentsForAjaxCall(a,"update");a.fragmentUpdate&&t.push(a.fragmentUpdate);0<t.length&&PrimeFaces.ajax.Request.addParam(h,PrimeFaces.PARTIAL_UPDATE_PARAM,t.join(" "),k);a.event?(PrimeFaces.ajax.Request.addParam(h,PrimeFaces.BEHAVIOR_EVENT_PARAM,a.event,k),d=a.event,"valueChange"===a.event?d="change":"action"===a.event&&(d=
"click"),PrimeFaces.ajax.Request.addParam(h,PrimeFaces.PARTIAL_EVENT_PARAM,d,k)):PrimeFaces.ajax.Request.addParam(h,d,d,k);a.params&&PrimeFaces.ajax.Request.addParams(h,a.params,k);a.ext&&a.ext.params&&PrimeFaces.ajax.Request.addParams(h,a.ext.params,k);void 0===a.partialSubmit&&(a.partialSubmit=PrimeFaces.settings.partialSubmit);a.ext&&a.ext.partialSubmit&&(a.partialSubmit=a.ext.partialSubmit);if(a.partialSubmit&&-1===p.indexOf("@all")){d=!1;if(-1===p.indexOf("@none"))for(p=a.partialSubmitFilter||
":input",t=0;t<m.length;t++){var u=$(PrimeFaces.escapeClientId(m[t])),v=null;u.is("form")?(v=u.serializeArray(),d=!0,e&&(g=g.add(u))):u.is(":input")?(v=u.serializeArray(),e&&(g=g.add(u))):(u=u.find(p),v=u.serializeArray(),e&&(g=g.add(u)));h=PrimeFaces.ajax.Request.arrayCompare(v,h);a.ext&&a.ext.partialSubmitParameterFilter?(v=a.ext.partialSubmitParameterFilter.call(this,v),$.merge(h,v)):$.merge(h,v)}d||(PrimeFaces.ajax.Request.addParamFromInput(h,PrimeFaces.VIEW_STATE,b,k),PrimeFaces.ajax.Request.addParamFromInput(h,
PrimeFaces.CLIENT_WINDOW,b,k),PrimeFaces.ajax.Request.addParamFromInput(h,PrimeFaces.csp.NONCE_INPUT,b,k),PrimeFaces.ajax.Request.addParamFromInput(h,"dsPostWindowId",b,k),PrimeFaces.ajax.Request.addParamFromInput(h,"dspwid",b,k))}else $.merge(h,b.serializeArray()),e&&(g=g.add(b));PrimeFaces.settings.earlyPostParamEvaluation&&a.earlyPostParams&&(h=PrimeFaces.ajax.Request.arrayCompare(a.earlyPostParams,h),$.merge(h,a.earlyPostParams));if(e){var x=$();g.each(function(n,q){n=$(q);x=n.is(':input[type\x3d"file"]')?
x.add(n):x.add(n.find('input[type\x3d"file"]'))});x.each(function(n,q){for(n=0;n<q.files.length;n++)f.append(q.id,q.files[n])})}g={url:l,type:"POST",cache:!1,dataType:"xml",portletForms:PrimeFaces.ajax.Utils.getPorletForms(b,k),source:a.source,global:!1,beforeSend:function(n,q){n.setRequestHeader("Faces-Request","partial/ajax");n.pfSettings=q;n.pfArgs={};c&&$(document).trigger("pfAjaxSend",[n,this])}};e?($.each(h,function(n,q){f.append(q.name,q.value)}),g.data=f,g.enctype="multipart/form-data",g.processData=
!1,g.contentType=!1):(e=$.param(h),PrimeFaces.debug("Post Data:"+e),g.data=e);b=b.children("input[name\x3d'"+$.escapeSelector(PrimeFaces.csp.NONCE_INPUT)+"']");0<b.length&&(g.nonce=b.val());a.timeout&&(g.timeout=a.timeout);b=$.ajax(g).fail(function(n,q,r){a.promise&&a.promise.reject({jqXHR:n,textStatus:q,errorThrown:r});var w=n.getResponseHeader("Location");401===n.status&&w?(PrimeFaces.debug("Unauthorized status received. Redirecting to "+w),window.location=w):(a.onerror&&a.onerror.call(this,n,q,
r),a.ext&&a.ext.onerror&&a.ext.onerror.call(this,n,q,r),$(document).trigger("pfAjaxError",[n,this,r]),PrimeFaces.error("Request return with error:"+q+"."))}).done(function(n,q,r){PrimeFaces.debug("Response received successfully.");try{var w;a.promise&&a.promise.resolve({document:n,textStatus:q,jqXHR:r});a.onsuccess&&(w=a.onsuccess.call(this,n,q,r));a.ext&&a.ext.onsuccess&&!w&&(w=a.ext.onsuccess.call(this,n,q,r));c&&$(document).trigger("pfAjaxSuccess",[r,this]);if(w)return;PrimeFaces.ajax.Response.handle(n,
q,r)}catch(y){PrimeFaces.error(y)}c&&$(document).trigger("pfAjaxUpdated",[r,this]);PrimeFaces.debug("DOM is updated.")}).always(function(n,q,r){a.ext&&a.ext.oncomplete&&a.ext.oncomplete.call(this,r,q,r.pfArgs,n);a.oncomplete&&a.oncomplete.call(this,r,q,r.pfArgs,n);c&&$(document).trigger("pfAjaxComplete",[r,this]);PrimeFaces.debug("Response completed.");PrimeFaces.ajax.Queue.removeXHR(r);a.async||PrimeFaces.ajax.Queue.poll()});PrimeFaces.ajax.Queue.addXHR(b)},resolveExpressionsForAjaxCall:function(a,
c){var b="";a[c]&&(b+=a[c]);a.ext&&a.ext[c]&&(b+=" "+a.ext[c]);return b},resolveComponentsForAjaxCall:function(a,c){a=PrimeFaces.ajax.Request.resolveExpressionsForAjaxCall(a,c);return PrimeFaces.expressions.SearchExpressionFacade.resolveComponents(a)},addParam:function(a,c,b,d){d||0===!c.indexOf(d)?a.push({name:d+c,value:b}):a.push({name:c,value:b})},addFormData:function(a,c,b,d){d||0===!c.indexOf(d)?a.append(d+c,b):a.append(c,b)},addParams:function(a,c,b){for(var d=0;d<c.length;d++){var e=c[d];b&&
0===!e.name.indexOf(b)&&(e.name=b+e.name);a.push(e)}},addParamFromInput:function(a,c,b,d){var e=$.escapeSelector(c);(b=d?b.children("input[name*\x3d'"+e+"']"):b.children("input[name\x3d'"+e+"']"))&&0<b.length&&(b=b.val(),PrimeFaces.ajax.Request.addParam(a,c,b,d))},addFormDataFromInput:function(a,c,b,d){var e=$.escapeSelector(c);(b=d?b.children("input[name*\x3d'"+e+"']"):b.children("input[name\x3d'"+e+"']"))&&0<b.length&&(b=b.val(),PrimeFaces.ajax.Request.addFormData(a,c,b,d))},extractParameterNamespace:function(a){return(a=
a.children("input[name*\x3d'"+PrimeFaces.VIEW_STATE+"']"))&&0<a.length&&(a=a[0].name,a.length>PrimeFaces.VIEW_STATE.length)?a.substring(0,a.indexOf(PrimeFaces.VIEW_STATE)):null},arrayCompare:function(a,c){$.each(a,function(b,d){c=$.grep(c,function(e,f){return e.name===d.name?!1:!0})});return c},createFacesAjaxFormData:function(a,c,b,d,e){var f=new FormData;PrimeFaces.ajax.Request.addFormData(f,PrimeFaces.PARTIAL_REQUEST_PARAM,!0,c);PrimeFaces.ajax.Request.addFormData(f,PrimeFaces.PARTIAL_SOURCE_PARAM,
b,c);d&&PrimeFaces.ajax.Request.addFormData(f,PrimeFaces.PARTIAL_PROCESS_PARAM,d,c);e&&PrimeFaces.ajax.Request.addFormData(f,PrimeFaces.PARTIAL_UPDATE_PARAM,e,c);PrimeFaces.ajax.Request.addFormDataFromInput(f,PrimeFaces.VIEW_STATE,a,c);PrimeFaces.ajax.Request.addFormDataFromInput(f,PrimeFaces.CLIENT_WINDOW,a,c);PrimeFaces.ajax.Request.addFormDataFromInput(f,PrimeFaces.csp.NONCE_INPUT,a,c);PrimeFaces.ajax.Request.addFormDataFromInput(f,"dsPostWindowId",a,c);PrimeFaces.ajax.Request.addFormDataFromInput(f,
"dspwid",a,c);return f}},Response:{handle:function(a,c,b,d){if(void 0!==a&&null!==a)for(a=a.getElementsByTagName("partial-response")[0],c=0;c<a.childNodes.length;c++){var e=a.childNodes[c];switch(e.nodeName){case "redirect":PrimeFaces.ajax.ResponseProcessor.doRedirect(e);break;case "changes":var f=$(document.activeElement),g=f.attr("id"),l;0<f.length&&f.is("input")&&"function"===typeof $.fn.getSelection&&(l=f.getSelection());for(f=0;f<e.childNodes.length;f++){var h=e.childNodes[f];switch(h.nodeName){case "update":PrimeFaces.ajax.ResponseProcessor.doUpdate(h,
b,d);break;case "delete":PrimeFaces.ajax.ResponseProcessor.doDelete(h);break;case "insert":PrimeFaces.ajax.ResponseProcessor.doInsert(h);break;case "attributes":PrimeFaces.ajax.ResponseProcessor.doAttributes(h);break;case "eval":PrimeFaces.ajax.ResponseProcessor.doEval(h,b);break;case "extension":PrimeFaces.ajax.ResponseProcessor.doExtension(h,b)}}PrimeFaces.ajax.Response.handleReFocus(g,l);PrimeFaces.ajax.Response.destroyDetachedWidgets();break;case "eval":PrimeFaces.ajax.ResponseProcessor.doEval(e);
break;case "extension":PrimeFaces.ajax.ResponseProcessor.doExtension(e,b);break;case "error":PrimeFaces.ajax.ResponseProcessor.doError(e,b)}}},handleReFocus:function(a,c){if(!0===PrimeFaces.customFocus)PrimeFaces.customFocus=!1;else if(a){var b=$(PrimeFaces.escapeClientId(a));0<b.length&&a!==$(document.activeElement).attr("id")&&(b.trigger("focus"),c&&b.setSelection(c.start,c.end))}},destroyDetachedWidgets:function(){for(var a=0;a<PrimeFaces.detachedWidgets.length;a++){var c=PrimeFaces.detachedWidgets[a],
b=PF(c);if(b&&!0===b.isDetached()){b.destroy();try{delete PrimeFaces.widgets[c],delete b}catch(d){}}}PrimeFaces.detachedWidgets=[]}},ResponseProcessor:{doRedirect:function(a){try{window.location.assign(a.getAttribute("url"))}catch(c){PrimeFaces.warn("Error redirecting to URL: "+a.getAttribute("url"))}},doUpdate:function(a,c,b){var d=a.getAttribute("id");a=PrimeFaces.ajax.Utils.getContent(a);b&&b.widget&&b.widget.id===d?b.handle.call(b.widget,a):PrimeFaces.ajax.Utils.updateElement(d,a,c)},doEval:function(a,
c){a=a.textContent||a.innerText||a.text;if(c&&c.pfSettings&&c.pfSettings.nonce)var b=c.pfSettings.nonce;PrimeFaces.csp.eval(a,b)},doExtension:function(a,c){if(c&&"primefaces"===a.getAttribute("ln")&&"args"===a.getAttribute("type"))if(a=a.textContent||a.innerText||a.text,c.pfArgs){a=JSON.parse(a);for(var b in a)c.pfArgs[b]=a[b]}else c.pfArgs=JSON.parse(a)},doError:function(a,c){},doDelete:function(a){a=a.getAttribute("id");$(PrimeFaces.escapeClientId(a)).remove()},doInsert:function(a){if(!a.childNodes)return!1;
for(var c=0;c<a.childNodes.length;c++){var b=a.childNodes[c],d=b.getAttribute("id");d=$(PrimeFaces.escapeClientId(d));var e=PrimeFaces.ajax.Utils.getContent(b);"after"===b.nodeName?$(e).insertAfter(d):"before"===b.nodeName&&$(e).insertBefore(d)}},doAttributes:function(a){if(!a.childNodes)return!1;var c=a.getAttribute("id");c=$(PrimeFaces.escapeClientId(c));for(var b=0;b<a.childNodes.length;b++){var d=a.childNodes[b],e=d.getAttribute("name");d=d.getAttribute("value");if(!e)break;d&&null!==d||(d="");
c.attr(e,d)}}},AjaxRequest:function(a,c){return PrimeFaces.ajax.Request.handle(a,c)}};var unloadEvent="onpagehide"in window?"pagehide":"unload";$(window).on(unloadEvent,function(){PrimeFaces.ajax.Queue.abortAll()})}
PrimeFaces.csp||(PrimeFaces.csp={NONCE_INPUT:"primefaces.nonce",NONCE_VALUE:"",EVENT_REGISTRY:new Map,init:function(a){PrimeFaces.csp.NONCE_VALUE=a;for(var c=document.getElementsByTagName("form"),b=0;b<c.length;b++){var d=c[b],e=d.elements[PrimeFaces.csp.NONCE_INPUT];e||(e=document.createElement("input"),e.setAttribute("name",PrimeFaces.csp.NONCE_INPUT),e.setAttribute("type","hidden"),d.appendChild(e));e.setAttribute("value",a)}},register:function(a,c,b){if(c){var d=c.substring(2,c.length),e=document.getElementById(a);
d=d+"."+a;"onload"===c&&e instanceof HTMLBodyElement&&(e=window);$(e).off(d).on(d,function(f){!1!==b.call(e,f)||"boolean"===typeof f.cancelable&&!f.cancelable||f.preventDefault()});PrimeFaces.isProductionProjectStage()||(PrimeFaces.csp.EVENT_REGISTRY.has(a)||PrimeFaces.csp.EVENT_REGISTRY.set(a,new Map),c=b.toString(),c=0<=c.indexOf("PrimeFaces.ab(")||0<=c.indexOf("pf.ab(")||0<=c.indexOf("mojarra.ab(")||0<=c.indexOf("jsf.ajax.request"),PrimeFaces.csp.EVENT_REGISTRY.get(a).set(d,c))}},hasRegisteredAjaxifiedEvent:function(a,
c){return PrimeFaces.isProductionProjectStage()?(console.error("PrimeFaces CSP registry may not be used in JSF Production mode."),!1):PrimeFaces.csp.EVENT_REGISTRY.has(a)?(c=c.substring(2,c.length)+"."+a,PrimeFaces.csp.EVENT_REGISTRY.get(a).get(c)):!1},eval:function(a,c,b){var d={};c?d={nonce:c}:PrimeFaces.csp.NONCE_VALUE&&(d=b?{nonce:b.PrimeFaces.csp.NONCE_VALUE}:{nonce:PrimeFaces.csp.NONCE_VALUE});b?$.globalEval(a,d,b.document):$.globalEval(a,d)},evalResult:function(a,c,b){PrimeFaces.csp.eval("var cspResult \x3d "+
a,c,b);return b?b.cspResult:cspResult},executeEvent:function(a,c,b){PrimeFaces.csp.eval("var cspFunction \x3d function(event){"+c+"}",PrimeFaces.csp.NONCE_VALUE);cspFunction.call(a,b)},clickEvent:function(){var a=$.Event("click");PrimeFaces.csp.NONCE_VALUE&&a.preventDefault();return a}});
PrimeFaces.expressions||(PrimeFaces.expressions={},PrimeFaces.expressions.SearchExpressionFacade={resolveComponentsAsSelector:function(a){if(a instanceof $)return a;if(a instanceof HTMLElement)return $(a);a=PrimeFaces.expressions.SearchExpressionFacade.splitExpressions(a);var c=$();if(a)for(var b=0;b<a.length;++b){var d=PrimeFaces.trim(a[b]);if(0<d.length&&"@none"!=d&&"@all"!=d&&0!=d.indexOf("@obs("))if(-1==d.indexOf("@"))c=c.add($(document.getElementById(d)));else if(0==d.indexOf("@widgetVar(")){d=
d.substring(11,d.length-1);var e=PrimeFaces.widgets[d];e?c=c.add($(document.getElementById(e.id))):PrimeFaces.widgetNotAvailable(d)}else 0==d.indexOf("@(")&&(c=c.add($(d.substring(2,d.length-1))))}return c},resolveComponents:function(a){a=PrimeFaces.expressions.SearchExpressionFacade.splitExpressions(a);var c=[];if(a)for(var b=0;b<a.length;++b){var d=PrimeFaces.trim(a[b]);if(0<d.length)if(-1==d.indexOf("@")||"@none"==d||"@all"==d||0==d.indexOf("@obs("))PrimeFaces.inArray(c,d)||c.push(d);else if(0==
d.indexOf("@widgetVar(")){d=d.substring(11,d.length-1);var e=PrimeFaces.widgets[d];e?PrimeFaces.inArray(c,e.id)||c.push(e.id):PrimeFaces.widgetNotAvailable(d)}else if(0==d.indexOf("@("))for(d=$(d.substring(2,d.length-1)),e=0;e<d.length;e++){var f=$(d[e]);(f=f.data(PrimeFaces.CLIENT_ID_DATA)||f.attr("id"))&&!PrimeFaces.inArray(c,f)&&c.push(f)}}return c},splitExpressions:function(a){for(var c=[],b="",d=0,e=0;e<a.length;e++){var f=a[e];"("===f&&d++;")"===f&&d--;" "!==f&&","!==f||0!==d?b+=f:(c.push(b),
b="")}c.push(b);return c}});
PrimeFaces.utils||(PF.metaKey=function(a){return PrimeFaces.utils.isMetaKey(a)},PrimeFaces.utils={resolveAppendTo:function(a,c,b){return a&&c&&c[0]?((c=c[0].closest(".ui-dialog"))&&b&&b.length&&("fixed"===$(c).css("position")&&b.css("position","fixed"),b.parent().is(document.body)||(a.cfg.appendTo="@(body)")),a.cfg.appendTo):null},resolveDynamicOverlayContainer:function(a){return a.cfg.appendTo?PrimeFaces.expressions.SearchExpressionFacade.resolveComponentsAsSelector(a.cfg.appendTo):$(document.body)},
cleanupDynamicOverlay:function(a,c,b,d){a.cfg.appendTo&&1<$("[id\x3d'"+b+"']").length&&d.children("[id\x3d'"+b+"']").remove()},removeDynamicOverlay:function(a,c,b,d){d.children("[id\x3d'"+b+"']").not(c).remove()},appendDynamicOverlay:function(a,c,b,d){c.parent().is(d)||d.is(c)||(PrimeFaces.utils.removeDynamicOverlay(a,c,b,d),c.appendTo(d))},addModal:function(a,c,b){var d=a.id,e=c.css("z-index")-1;c.attr({role:a instanceof PrimeFaces.widget.ConfirmDialog?"alertdialog":"dialog","aria-hidden":!1,"aria-modal":!0,
"aria-live":"polite"});PrimeFaces.utils.preventTabbing(d,e,b);a.cfg.blockScroll&&PrimeFaces.utils.preventScrolling();a=$('\x3cdiv id\x3d"'+(d+'_modal" class\x3d"ui-widget-overlay ui-dialog-mask"\x3e\x3c/div\x3e'));a.appendTo($(document.body));a.css("z-index",String(e));return a},preventTabbing:function(a,c,b){var d=$(document);d.on("focus."+a+" mousedown."+a+" mouseup."+a,function(e){var f=$(e.target);!f.is(document.body)&&f.zIndex()<c&&f.parent().zIndex()<c&&e.preventDefault()});d.on("keydown."+
a,function(e){var f=$(e.target);if("Tab"===e.key){var g=b();if(g.length){var l=g.filter(":first"),h=g.filter(":last");if(l.is(":radio")){var k=g.filter('[name\x3d"'+$.escapeSelector(l.attr("name"))+'"]').filter(":checked");0<k.length&&(l=k)}h.is(":radio")&&(k=g.filter('[name\x3d"'+$.escapeSelector(h.attr("name"))+'"]').filter(":checked"),0<k.length&&(h=k));f.is(document.body)?(l.focus(1),e.preventDefault()):e.target!==h[0]||e.shiftKey?e.target===l[0]&&e.shiftKey&&(h.focus(1),e.preventDefault()):(l.focus(1),
e.preventDefault())}}else e.ctrlKey||!f.is(document.body)&&f.zIndex()<c&&f.parent().zIndex()<c&&e.preventDefault()})},removeModal:function(a,c){var b=a.id,d=b+"_modal";c&&c.attr({"aria-hidden":!0,"aria-modal":!1,"aria-live":"off"});$(PrimeFaces.escapeClientId(d)).remove();$(document.body).children("[id\x3d'"+d+"']").remove();a.cfg.blockScroll&&PrimeFaces.utils.enableScrolling();PrimeFaces.utils.enableTabbing(b)},enableTabbing:function(a){$(document).off("focus."+a+" mousedown."+a+" mouseup."+a+" keydown."+
a)},isModalActive:function(a){a+="_modal";return 1===$(PrimeFaces.escapeClientId(a)).length||1===$(document.body).children("[id\x3d'"+a+"']").length},isScrollParentWindow:function(a){return a&&(a.is("body")||a.is("html")||9===a[0].nodeType)},registerHideOverlayHandler:function(a,c,b,d,e){a.addDestroyListener(function(){$(document).off(c)});$(document).off(c).on(c,function(f){if(!b.is(":hidden")&&"hidden"!==b.css("visibility")){var g=$(f.target);if(d){var l=d(f);if(l&&(l.is(g)||0<l.has(g).length))return}!0===
PrimeFaces.hideOverlaysOnViewportChange&&e(f,g)}});return{unbind:function(){$(document).off(c)}}},registerResizeHandler:function(a,c,b,d,e){a.addDestroyListener(function(){$(window).off(c)});$(window).off(c).on(c,e||null,function(f){b&&(b.is(":hidden")||"hidden"===b.css("visibility"))||d(f)});return{unbind:function(){$(window).off(c)}}},registerDynamicOverlay:function(a,c,b){if(a.cfg.appendTo){var d=PrimeFaces.utils.resolveDynamicOverlayContainer(a);PrimeFaces.utils.appendDynamicOverlay(a,c,b,d);
a.addDestroyListener(function(){var e=PrimeFaces.utils.resolveDynamicOverlayContainer(a);PrimeFaces.utils.removeDynamicOverlay(a,null,b,e)});a.addRefreshListener(function(){var e=PrimeFaces.utils.resolveDynamicOverlayContainer(a);PrimeFaces.utils.cleanupDynamicOverlay(a,c,b,e)})}return c},registerScrollHandler:function(a,c,b){var d,e=a.getJQ();e&&"function"===typeof e.scrollParent&&(d=e.scrollParent());if(!d||PrimeFaces.utils.isScrollParentWindow(d))d=$(window);a.addDestroyListener(function(){d.off(c)});
d.off(c).on(c,function(f){b(f)});return{unbind:function(){d.off(c)}}},registerConnectedOverlayScrollHandler:function(a,c,b,d){var e=PrimeFaces.utils.getScrollableParents((b||a.getJQ()).get(0));for(b=0;b<e.length;b++){var f=$(e[b]);a.addDestroyListener(function(){f.off(c)});f.off(c).on(c,function(g){d(g)})}return{unbind:function(){for(var g=0;g<e.length;g++)$(e[g]).off(c)}}},getScrollableParents:function(a){var c=[],b=function(p,t){return null==p.parentNode?t:b(p.parentNode,t.concat([p.parentNode]))},
d=function(p){PrimeFaces.utils.isScrollParentWindow($(p))?c.push(window):c.push(p)};if(a){a=b(a,[]);for(var e=/(auto|scroll)/,f=function(p){p=window.getComputedStyle(p,null);return e.test(p.getPropertyValue("overflow"))||e.test(p.getPropertyValue("overflowX"))||e.test(p.getPropertyValue("overflowY"))},g=0;g<a.length;g++){var l=a[g],h=1===l.nodeType&&l.dataset.scrollselectors;if(h){h=h.split(",");for(var k=0;k<h.length;k++){var m=l.querySelector(h[k]);m&&f(m)&&d(m)}}9!==l.nodeType&&f(l)&&d(l)}}0===
c.length&&c.push(window);return c},unbindScrollHandler:function(a,c){a=a.getJQ().scrollParent();PrimeFaces.utils.isScrollParentWindow(a)&&(a=$(window));a.off(c)},preventScrolling:function(){$(document.body).addClass("ui-overflow-hidden")},enableScrolling:function(){$(document.body).removeClass("ui-overflow-hidden")},calculateRelativeOffset:function(a){var c={left:0,top:0};a=a.offset();var b=$(window).scrollTop(),d=$(window).scrollLeft();c.top=a.top-b;c.left=a.left-d;return c},blockEnterKey:function(a){"Enter"===
a.key&&a.preventDefault()},isMetaKey:function(a){return PrimeFaces.env.browser.mac?a.metaKey:a.ctrlKey},isActionKey:function(a){return" "===a.key||"Enter"===a.key},isPrintableKey:function(a){return 1===a.key.length||"Unidentified"===a.key},ignoreFilterKey:function(a){switch(a.key){case "Backspace":case "Enter":case "Delete":return!1;default:return!PrimeFaces.utils.isPrintableKey(a)}},excludedSwipeElements:function(){return":button:enabled, :input:enabled, a, [role\x3d'combobox'], .noSwipe"},openLink:function(a,
c){var b=c.attr("href");b&&"#"!==b&&(a.ctrlKey?b=window.open(b,"_blank"):(c=c.attr("target")||"_self",b=window.open(b,c)),b&&b.focus());a.preventDefault()},enableInputWidget:function(a,c){c||(c=a);c.is(":disabled")&&c.prop("disabled",!1);a.removeClass("ui-state-disabled")},disableInputWidget:function(a,c){c||(c=a);c.is(":disabled")||c.prop("disabled",!0);a.addClass("ui-state-disabled")},enableButton:function(a){a&&a.removeClass("ui-state-disabled").prop("disabled",!1).removeAttr("aria-disabled")},
disableButton:function(a){a&&a.removeClass("ui-state-hover ui-state-focus ui-state-active").addClass("ui-state-disabled").attr("disabled","disabled").attr("aria-disabled","true")},enableAnimations:function(){$.fx.off=!1;PrimeFaces.animationEnabled=!0},disableAnimations:function(){$.fx.off=!0;PrimeFaces.animationEnabled=!1},registerCSSTransition:function(a,c){if(a&&null!=c){var b=c+"-enter",d=c+"-enter-active",e=c+"-enter-done",f=c+"-exit",g=c+"-exit-active",l=c+"-exit-done",h=function(k,m,p){null!=
k&&null!=k[m]&&k[m].call(p)};return{show:function(k){a.removeClass([f,g,l]);a.is(":hidden")&&(PrimeFaces.animationEnabled?(PrimeFaces.animationActive=!0,a.css("display","block").addClass(b),h(k,"onEnter"),requestAnimationFrame(function(){setTimeout(function(){a.addClass(d)},0);a.one("transitionrun.css-transition-show",function(m){h(k,"onEntering",m)}).one("transitioncancel.css-transition-show",function(){a.removeClass([b,d,e]);PrimeFaces.animationActive=!1}).one("transitionend.css-transition-show",
function(m){a.removeClass([d,b]).addClass(e);h(k,"onEntered",m);PrimeFaces.animationActive=!1})})):(a.css("display","block"),h(k,"onEnter"),h(k,"onEntering"),h(k,"onEntered")))},hide:function(k){a.removeClass([b,d,e]);a.is(":visible")&&(PrimeFaces.animationEnabled?(PrimeFaces.animationActive=!0,a.addClass(f),h(k,"onExit"),setTimeout(function(){a.addClass(g)},0),a.one("transitionrun.css-transition-hide",function(m){h(k,"onExiting",m)}).one("transitioncancel.css-transition-hide",function(){a.removeClass([f,
g,l]);PrimeFaces.animationActive=!1}).one("transitionend.css-transition-hide",function(m){a.css("display","none").removeClass([g,f]).addClass(l);h(k,"onExited",m);PrimeFaces.animationActive=!1})):(h(k,"onExit"),h(k,"onExiting"),h(k,"onExited"),a.css("display","none")))}}}return null},countBytes:function(a){var c=0,b=a.length,d;a=String(a||"");for(d=0;d<b;d++){var e=encodeURI(a[d]).split("%").length;c+=1===e?1:e-1}return c},styleClass:function(){var a=Array.prototype.slice.call(arguments);if(a){for(var c=
[],b=0;b<a.length;b++){var d=a[b];if(d){var e=typeof d;"string"===e||"number"===e?c.push(d):"object"===e&&(e=Array.isArray(d)?d:Object.keys(d).map(function(f){return d[f]?f:null}),c=e.length?c.concat(e.filter(function(f){return!!f})):c)}}return c.join(" ")}},defaultNumeric:function(a,c){return 0===a?0:a||c},hasFloatLabel:function(a){return a&&a.parent()?a.parent().hasClass("ui-float-label"):!1},updateFloatLabel:function(a,c,b){a&&c&&b&&(""!==c.val()||0!==a.find(".ui-chips-token").length?a.addClass("ui-inputwrapper-filled"):
a.removeClass("ui-inputwrapper-filled"))},decodeXml:function(a){return/&amp;|&quot;|&#39;|'&lt;|&gt;/.test(a)?(new DOMParser).parseFromString(a,"text/html").documentElement.textContent:a}});
(function(){var a=!1,c=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.Class=function(){};Class.extend=function(b){function d(){!a&&this.init&&this.init.apply(this,arguments)}var e=this.prototype;a=!0;var f=new this;a=!1;for(var g in b)f[g]="function"==typeof b[g]&&"function"==typeof e[g]&&c.test(b[g])?function(l,h){return function(){var k=this._super;this._super=e[l];var m=h.apply(this,arguments);this._super=k;return m}}(g,b[g]):b[g];d.prototype=f;d.prototype.constructor=d;d.extend=arguments.callee;
return d}})();
PrimeFaces.widget||(PrimeFaces.widget={},PrimeFaces.widget.BaseWidget=Class.extend({init:function(a){this.cfg=a;this.id=a.id;Array.isArray(this.id)?this.jqId=$.map(this.id,function(b){return PrimeFaces.escapeClientId(b)}).join(","):this.jqId=PrimeFaces.escapeClientId(this.id);this.jq=$(this.jqId);this.widgetVar=a.widgetVar;this.destroyListeners=[];this.refreshListeners=[];this.removeScriptElement(this.id);if(this.widgetVar){var c=this;this.jq.on("remove",function(){PrimeFaces.detachedWidgets.push(c.widgetVar)})}},refresh:function(a){this.destroyListeners=
[];if(this.refreshListeners)for(var c=0;c<this.refreshListeners.length;c++)this.refreshListeners[c].call(this,this);this.refreshListeners=[];return this.init(a)},destroy:function(){this.cfg.preDestroy&&this.cfg.preDestroy.call(this,this);PrimeFaces.debug("Destroyed detached widget: "+this.widgetVar);if(this.destroyListeners)for(var a=0;a<this.destroyListeners.length;a++)this.destroyListeners[a].call(this,this);this.destroyListeners=[]},isDetached:function(){var a=document.getElementById(this.id);
return"undefined"!==typeof a&&null!==a?!1:!0},getJQ:function(){return this.jq},removeScriptElement:function(a){Array.isArray(a)?$.each(a,function(c,b){$(PrimeFaces.escapeClientId(b)+"_s").remove()}):$(PrimeFaces.escapeClientId(a)+"_s").remove()},hasBehavior:function(a){return this.cfg.behaviors?void 0!=this.cfg.behaviors[a]:!1},callBehavior:function(a,c){this.hasBehavior(a)&&this.cfg.behaviors[a].call(this,c)},getBehavior:function(a){return this.cfg.behaviors?this.cfg.behaviors[a]:null},addDestroyListener:function(a){this.destroyListeners||
(this.destroyListeners=[]);this.destroyListeners.push(a)},addRefreshListener:function(a){this.refreshListeners||(this.refreshListeners=[]);this.refreshListeners.push(a)},getParentForm:function(){return this.jq.closest("form")},getParentFormId:function(){if(this.cfg.formId)return this.cfg.formId;var a=this.getParentForm();0<a.length&&(this.cfg.formId=a.attr("id"));return this.cfg.formId}}),PrimeFaces.widget.DynamicOverlayWidget=PrimeFaces.widget.BaseWidget.extend({init:function(a,c,b,d){this._super(a);
!0!==this.cfg.disabled&&(c||(c=this.jq),b||(b=this.id),d||(d=this.jq),this instanceof PrimeFaces.widget.Dialog||(this.cfg.appendTo=PrimeFaces.utils.resolveAppendTo(this,d,c)),PrimeFaces.utils.registerDynamicOverlay(this,c,b))},refresh:function(a){PrimeFaces.utils.removeModal(this,this.modalOverlay);this.modalOverlay=this.appendTo=null;this._super(a)},destroy:function(){this._super();PrimeFaces.utils.removeModal(this);this.modalOverlay=this.appendTo=null},enableModality:function(a){this.modalOverlay=
PrimeFaces.utils.addModal(this,a||this.jq,$.proxy(function(){return this.getModalTabbables()},this))},disableModality:function(a){PrimeFaces.utils.removeModal(this,a||this.jq);this.modalOverlay=null},getModalTabbables:function(){return null}}),PrimeFaces.widget.DeferredWidget=PrimeFaces.widget.BaseWidget.extend({renderDeferred:function(){if(this.jq.is(":visible"))this._render(),this.postRender();else if(this.jq[0]){var a=this.jq[0].closest(".ui-hidden-container");if(a&&(a=$(a),a.length)){var c=this;
this.addDeferredRender(this.id,a,function(){return c.render()})}}},render:function(){return this.jq.is(":visible")?(this._render(),this.postRender(),!0):!1},_render:function(){throw"Unsupported Operation";},postRender:function(){},destroy:function(){this._super();PrimeFaces.removeDeferredRenders(this.id)},addDeferredRender:function(a,c,b){PrimeFaces.addDeferredRender(a,c.attr("id"),b);c.is(":hidden")&&this.jq.closest(".ui-hidden-container").length&&this.addDeferredRender(a,c.parent().closest(".ui-hidden-container"),
b)}}));
PrimeFaces.resources||(PrimeFaces.resources={getFacesResource:function(a,c,b){0===a.indexOf("/")&&(a=a.substring(1,a.length));var d=PrimeFaces.resources.getResourceScriptURI(),e=PrimeFaces.resources.getResourceScriptName(d);d=d.replace(e,a);e="ln\x3d"+RegExp("[?\x26]([^\x26\x3d]*)ln\x3d(.*?)(\x26|$)").exec(d)[2];a="";-1<d.indexOf("?"+e)||-1<d.indexOf("\x26"+e)||(a=(new RegExp("[?\x26]([^\x26\x3d]+)"+e+"($|\x26)")).exec(d)[1]);d=d.replace(a+e,a+"ln\x3d"+c);b&&(c=(new RegExp("[?\x26]"+a+"v\x3d([^\x26]*)")).exec(d)[1],d=
d.replace(a+"v\x3d"+c,a+"v\x3d"+b));b=window.location.protocol+"//"+window.location.host;return 0<=d.indexOf(b)?d:b+d},isExtensionMapping:function(){if(!PrimeFaces.resources.IS_EXTENSION_MAPPING){var a=PrimeFaces.resources.getResourceScriptURI(),c=PrimeFaces.resources.getResourceScriptName(a);PrimeFaces.resources.IS_EXTENSION_MAPPING="."===a.charAt(a.indexOf(c)+c.length)}return PrimeFaces.IS_EXTENSION_MAPPING},getResourceUrlExtension:function(){if(!PrimeFaces.resources.RESOURCE_URL_EXTENSION){var a=
PrimeFaces.resources.getResourceScriptURI(),c=PrimeFaces.resources.getResourceScriptName(a);PrimeFaces.resources.RESOURCE_URL_EXTENSION=RegExp(c+".([^?]*)").exec(a)[1]}return PrimeFaces.resources.RESOURCE_URL_EXTENSION},getResourceScriptName:function(a){return(new RegExp("\\/?"+PrimeFaces.RESOURCE_IDENTIFIER+"(\\/|\x3d)(.*?)\\.js")).exec(a)[2]+".js"},getResourceScriptURI:function(){PrimeFaces.resources.SCRIPT_URI||(PrimeFaces.resources.SCRIPT_URI=$('script[src*\x3d"/'+PrimeFaces.RESOURCE_IDENTIFIER+
'/"]').first().attr("src"),PrimeFaces.resources.SCRIPT_URI||(PrimeFaces.resources.SCRIPT_URI=$('script[src*\x3d"'+PrimeFaces.RESOURCE_IDENTIFIER+'\x3d"]').first().attr("src")));return PrimeFaces.resources.SCRIPT_URI}});
PrimeFaces.clientwindow||(PrimeFaces.clientwindow={CLIENT_WINDOW_URL_PARAM:"jfwid",CLIENT_WINDOW_SESSION_STORAGE:"pf.windowId",TEMP_CLIENT_WINDOW_ID:"temp",LENGTH_CLIENT_WINDOW_ID:5,initialized:!1,clientWindowId:null,initialRedirect:!1,init:function(a,c){!0!==PrimeFaces.clientwindow.initialized&&(this.initialized=!0,this.clientWindowId=a,this.initialRedirect=c,this.cleanupCookies(),this.assertClientWindowId())},cleanupCookies:function(){var a=this.getUrlParameter(window.location.href,this.CLIENT_WINDOW_URL_PARAM);
a&&this.expireCookie("pf.initialredirect-"+a)},assertClientWindowId:function(){var a=this.getUrlParameter(window.location.href,this.CLIENT_WINDOW_URL_PARAM),c=sessionStorage.getItem(this.CLIENT_WINDOW_SESSION_STORAGE);if(null===c)this.initialRedirect&&a===this.clientWindowId?sessionStorage.setItem(this.CLIENT_WINDOW_SESSION_STORAGE,this.clientWindowId):this.requestNewClientWindowId();else if(c===this.TEMP_CLIENT_WINDOW_ID)sessionStorage.setItem(this.CLIENT_WINDOW_SESSION_STORAGE,this.clientWindowId);
else if(c.length!==this.LENGTH_CLIENT_WINDOW_ID)this.requestNewClientWindowId();else if(c!==a||c!==this.clientWindowId)window.location=this.replaceUrlParam(window.location.href,this.CLIENT_WINDOW_URL_PARAM,c)},requestNewClientWindowId:function(){sessionStorage.setItem(this.CLIENT_WINDOW_SESSION_STORAGE,this.TEMP_CLIENT_WINDOW_ID);window.location=this.replaceUrlParam(window.location.href,this.CLIENT_WINDOW_URL_PARAM,null)},getUrlParameter:function(a,c){var b=document.createElement("a");b.href=a;if((a=
b.search)&&0<a.length)for(a=a.substring(1).split("\x26"),b=0;b<a.length;b++){var d=a[b].split("\x3d");if(d[0]===c)return 1<d.length?decodeURIComponent(d[1]):""}return null},replaceUrlParam:function(a,c,b){var d=document.createElement("a");d.href=a;b&&0!==b.replace(/^\s+|\s+$/g,"").length||(b="");if(0===b.length&&(0===d.search.length||-1===d.search.indexOf(c+"\x3d")))return d.href;if(0===d.search.length)return d.search="?"+encodeURIComponent(c)+"\x3d"+encodeURIComponent(b),d.href;a=d.search.substring(1).split("\x26");
var e=[];e.push(c+"\x3d"+encodeURIComponent(b));for(b=0;b<a.length;b++){var f=a[b];if(0<f.length){var g=f.split("\x3d")[0];(f=f.split("\x3d")[1])&&0<f.replace(/^\s+|\s+$/g,"").length&&g!==c&&e.push(g+"\x3d"+f)}}d.search="?"+e.join("\x26");return d.href},expireCookie:function(a){PrimeFaces.setCookie(a,"true",{path:"/",expires:-10,"max-age":"0"})}});
PrimeFaces.widget.AjaxStatus=PrimeFaces.widget.BaseWidget.extend({init:function(a){this._super(a);this.bind()},bind:function(){var a=this;$(document).on("pfAjaxStart",function(){var c=a.cfg.delay;0<c?a.timeout=setTimeout(function(){a.trigger("start",arguments)},c):a.trigger("start",arguments)}).on("pfAjaxError",function(){a.trigger("error",arguments)}).on("pfAjaxSuccess",function(){a.trigger("success",arguments)}).on("pfAjaxComplete",function(){a.timeout&&a.deleteTimeout();a.trigger("complete",arguments)});
window.jsf&&jsf.ajax&&(jsf.ajax.addOnEvent(function(c){if("begin"===c.status){var b=a.cfg.delay;0<b?a.timeout=setTimeout(function(){a.trigger("start",arguments)},b):a.trigger("start",arguments)}else"complete"!==c.status&&"success"===c.status&&(a.timeout&&a.deleteTimeout(),a.trigger("success",arguments),a.trigger("complete",arguments))}),jsf.ajax.addOnError(function(c){a.timeout&&a.deleteTimeout();a.trigger("error",arguments);a.trigger("complete",arguments)}))},trigger:function(a,c){var b=this.cfg[a];
b&&b.apply(document,c);("complete"!==a||this.jq.children().filter(this.toFacetId("complete")).length)&&this.jq.children().hide().filter(this.toFacetId(a)).show()},toFacetId:function(a){return this.jqId+"_"+a},deleteTimeout:function(){clearTimeout(this.timeout);this.timeout=null}});
PrimeFaces.widget.Poll=PrimeFaces.widget.BaseWidget.extend({init:function(a){this._super(a);this.active=!1;this.cfg.autoStart&&this.start()},refresh:function(a){this.stop();this._super(a)},destroy:function(){this._super();this.stop()},start:function(){this.active||(this.timer=setInterval(this.cfg.fn,"millisecond"==this.cfg.intervalType?this.cfg.frequency:1E3*this.cfg.frequency),this.active=!0)},stop:function(){this.active&&(clearInterval(this.timer),this.active=!1)},isActive:function(){return this.active}});