diff --git a/build/js/pe-ap-min.js b/build/js/pe-ap-min.js index 3d201f671f7..848b768dd29 100644 --- a/build/js/pe-ap-min.js +++ b/build/js/pe-ap-min.js @@ -4,4 +4,4 @@ * * Version: v3.1a1 */ -(function(c){var a,b;a=(typeof window.pe!=="undefined"&&window.pe!==null)?window.pe:{fn:{}};b={language:(document.getElementsByTagName("html")[0].lang?document.getElementsByTagName("html")[0].lang:"en"),touchscreen:"ontouchstart" in document.documentElement,mobileview:(wet_boew_theme!==null&&typeof wet_boew_theme.mobileview==="function"),suffix:c('body script[src*="/pe-ap-min.js"]').length>0?"-min":"",header:c("#wb-head"),bodydiv:c("body > div"),main:c("#wb-main"),secnav:c("#wb-sec"),footer:c("#wb-foot"),urlpage:"",urlhash:"",urlquery:"",svg:(c('').get(0).ownerSVGElement!==undefined),document:c(document),mobiletest:"",ie:(/(MSIE) ([\w.]+)/.exec(navigator.userAgent)||[])[2]||"0",_init:function(){var d=c("html"),j,e,h,g,i,f=false;a.mobiletest=document.createElement("div");a.mobiletest.setAttribute("id","mobiletest");document.body.appendChild(a.mobiletest);a.polyfills.init();a.urlpage=a.url(window.location.href);a.urlhash=a.urlpage.hash;a.urlquery=a.urlpage.params;d.removeClass("no-js").addClass(wet_boew_theme!==null?wet_boew_theme.theme:"").addClass(a.touchscreen?"touchscreen":"");j=a.main.find("a").filter(function(){return this.href.indexOf("#")!==-1});e=j.filter(function(){return c(this).attr("href").indexOf("#")===0});if(a.mobilecheck()){a.mobile=true;a.bodydiv.attr("data-role","page").addClass("ui-page-active");i=navigator.userAgent.indexOf("BlackBerry");d.addClass((i===0||(i!==-1&&navigator.userAgent.indexOf("Version/6")!==-1)?"bb-pre7":""));a.document.on("mobileinit",function(){c.extend(c.mobile,{ajaxEnabled:false,pushStateEnabled:false,autoInitializePage:(f?true:false)});if(f){a.mobilelang()}});a.document.on("pageinit",function(){e.off("click vclick").on("click vclick",function(){h=c(c(this).attr("href").replace(/[.:]/,"\\$1"));h.filter(":not(a, button, input, textarea, select)").attr("tabindex","-1");if(h.length>0){c.mobile.silentScroll(a.focus(h).offset().top)}});if(a.urlhash.length!==0){g=a.main.find("#"+a.urlhash);g.filter(":not(a, button, input, textarea, select)").attr("tabindex","-1");if(g.length>0&&g.attr("data-role")!=="page"){setTimeout(function(){c.mobile.silentScroll(a.focus(g).offset().top)},200)}}});a.add.css([a.add.themecsslocation+"jquery.mobile"+a.suffix+".css"]);a.add._load([a.add.liblocation+"jquerymobile/jquery.mobile.min.js"])}else{e.on("click vclick",function(){h=c(c(this).attr("href").replace(/[.:]/,"\\$1"));h.filter(":not(a, button, input, textarea, select)").attr("tabindex","-1");if(h.length>0){a.focus(h)}});if(a.urlhash.length>0){h=c(a.urlhash.replace(/[.:]/,"\\$1"));h.filter(":not(a, button, input, textarea, select)").attr("tabindex","-1");if(h.length>0){a.focus(h)}}}c.when.apply(c,c.map(c("*[data-ajax-replace], *[data-ajax-append]"),function(n){var m=c(n),l=false,k;if(m.attr("data-ajax-replace")!==undefined){l=true;k=m.attr("data-ajax-replace")}else{if(m.attr("data-ajax-append")!==undefined){k=m.attr("data-ajax-append")}}return c.get(k,function(o){if(l){m.empty()}m.append(c(o))},"html")})).always(function(){a.document.one("languageloaded",function(){if(a.pedisable()===true){return false}if(wet_boew_theme!==null){wet_boew_theme.init();if(a.mobile){a.document.one("mobileviewloaded",function(){if(typeof c.mobile!=="undefined"){a.mobilelang();c.mobile.initializePage()}else{f=true}});wet_boew_theme.mobileview()}}else{if(a.mobile){if(typeof c.mobile!=="undefined"){a.mobilelang();c.mobile.initializePage()}else{f=true}}}a.dance()});a.add.language(a.language)})},mobile:false,mobilecheck:function(){return a.mobiletest.offsetWidth!==0},mobilelang:function(){c.mobile.collapsible.prototype.options.expandCueText=a.dic.get("%jqm-expand");c.mobile.collapsible.prototype.options.collapseCueText=a.dic.get("%jqm-collapse");c.mobile.dialog.prototype.options.closeBtnText=a.dic.get("%close");c.mobile.page.prototype.options.backBtnText=a.dic.get("%back");c.mobile.textinput.prototype.options.clearSearchButtonText=a.dic.get("%jqm-clear-search");c.mobile.selectmenu.prototype.options.closeText=a.dic.get("%close");c.mobile.listview.prototype.options.filterPlaceholder=a.dic.get("%jqm-filter")},pagecontainer:function(){return c("#wb-body-sec-sup,#wb-body-sec,#wb-body").add("body").eq(0)},resize:function(d){ResizeEvents.initialise();ResizeEvents.eventElement.bind("x-text-resize x-zoom-resize x-window-resize",function(){d()});return},url:function(f){var e=document.createElement("div"),d;e.innerHTML='x';d=e.firstChild;return{source:d.href,protocol:d.protocol.replace(":",""),host:d.hostname,port:d.port==="0"?"80":d.port,query:d.search,params:(function(){var j,i,k,h,l,g;i={};h=d.search.replace(/^\?/,"").split("&");for(l=0,g=h.length;l'+((e.length>25)?e.substr(0,24)+"...":e)+""})},at:function(d){return d.replace(/(^|[^\w]+)\@([a-zA-Z0-9_]{1,15}(\/[a-zA-Z0-9\-_]+)*)/g,function(e,g,f){return g+'@'+f+""})},hash:function(d){return d.replace(/(^|[^&\w'"]+)\#([a-zA-Z0-9_]+)/g,function(e,g,f){return g+'#'+f+""})},clean:function(d){return this.hash(this.at(this.link(d)))}}}()),pad:function(e,d){var f;f=String(e);while(f.lengthd)-(eh){d=(f.getTimezoneOffset()-h.getTimezoneOffset())*k}else{d=(h.getTimezoneOffset()-f.getTimezoneOffset())*k}g=Math.abs(f.getTime()-h.getTime())-d;return Math.ceil(g/e)},to_iso_format:function(g,f){var e;e=this.convert(g);if(f){return e.getFullYear()+"-"+a.string.pad(e.getMonth()+1,2,"0")+"-"+a.string.pad(e.getDate(),2,"0")+" "+a.string.pad(e.getHours(),2,"0")+":"+a.string.pad(e.getMinutes(),2,"0")}return e.getFullYear()+"-"+a.string.pad(e.getMonth()+1,2,"0")+"-"+a.string.pad(e.getDate(),2,"0")},from_iso_format:function(e){var d=null;if(e){if(e.match(/\d{4}-\d{2}-\d{2}/)){d=new Date();d.setFullYear(e.substr(0,4),e.substr(5,2)-1,e.substr(8,2)-1)}return d}return null}},pedisable:function(){var i=(typeof localStorage!=="undefined"),h=(i?localStorage.getItem("pedisable"):null),g=(a.urlquery.pedisable!==undefined?a.urlquery.pedisable:h),f=document.getElementById("wb-tphp"),d=document.createElement("li"),k=a.urlquery,j,e="?";for(j in k){if(k.hasOwnProperty(j)&&j!=="pedisable"){e+=j+"="+k[j]+"&"}}if((a.ie>0&&a.ie<7&&g!=="false")||g==="true"){c("html").addClass("no-js pe-disable");if(i){localStorage.setItem("pedisable","true")}d.innerHTML=''+a.dic.get("%pe-enable")+"";f.appendChild(d);return true}else{if(g==="false"||h!==null){if(i){localStorage.setItem("pedisable","false")}}}d.innerHTML=''+a.dic.get("%pe-disable")+"";f.appendChild(d);return false},menu:{navcurrent:function(l,q,g){var o=window.location.hostname+window.location.pathname,r=window.location.search,f,n,u,e,i,s,v,t,k,h,d,p=a.main.find("h1").text(),j=false,m=a.ie!==0&&a.ie<8;l=typeof l.jquery!=="undefined"?l:c(l);f=l.find("a").get();g=(typeof g==="undefined")?"nav-current":g;v=f.length;while(v--){n=f[v];if((!m&&n.getAttribute("href").slice(0,1)!=="#")||(m&&(n.href.indexOf("#")===-1||o!==n.hostname+n.pathname.replace(/^([^\/])/,"/$1")))){u=n.hostname+n.pathname.replace(/^([^\/])/,"/$1");e=u.length;i=n.search;s=i.length;if((o.slice(-e)===u&&(s===0||r.slice(-s)===i))||n.innerHTML===p){j=true;break}}}if(!j){q=typeof q.jquery!=="undefined"?q:c(q);t=q.find("a").get();h=t.length;d=h;while(d--){k=t[d];t[d]=k.hostname+k.pathname.replace(/^([^\/])/,"/$1")}v=f.length;while(v--){n=f[v];if((!m&&n.getAttribute("href").slice(0,1)!=="#")||(m&&(n.href.indexOf("#")===-1||o!==n.hostname+n.pathname.replace(/^([^\/])/,"/$1")))){u=n.hostname+n.pathname.replace(/^([^\/])/,"/$1");e=u.length;d=h;while(d--){if(t[d].slice(-e)===u){j=true;break}}if(j){break}}}}return(j?c(n).addClass(g):c())},buildmobile:function(o,v,B,e,C,A,r){var k="h"+v,z="<"+k+">",x="",u=(typeof o.jquery!=="undefined"?o:c(o)).find("> div, > ul, "+k),t,s,p,l,m,n,y=(e!==undefined?e:false),d=(C!==undefined?C:false),j=a.dic.get("%main-page"),q=(r!==undefined?r:true),g=(A!==undefined?A:B),i=(q?B:A),w='
',h='
    ',f=q?c('
    '):c("
    ");if(u.get(0).tagName.toLowerCase()==="ul"){f.append(c(h).append(u.first().children("li")))}else{n=u.filter(k).length!==0;if(y&&!n){s='")}else{u.each(function(){var E=c(this),D=this.tagName.toLowerCase();if(D===k){p=E.children("a");l=p.hasClass("nav-current");s=c('");t=E.next();if(t.get(0).tagName.toLowerCase()==="ul"){if(!y){t.append(c("
  • ").append(E.children("a").html(p[0].innerHTML+" - "+j)))}m=t.find("li ul");m.each(function(H){var J=c(this),G,F="",I="";if((v+1+H)<7){p=J.prev("a");G=p[0].innerHTML;J.attr({"data-role":"listview","data-theme":g}).wrap('
    ");J.parent().prepend(F+G+I);J.append('
  • '+G+" - "+j+"
  • ");p.remove()}else{J.attr({"data-role":"listview","data-theme":g})}});s.append(c(h).append(t.children("li")));if(m.length>0){s.find("ul").wrap(w)}}else{if(y){s.append(a.menu.buildmobile(E.parent().find(".mb-sm"),v+1,i,false,d,g,false))}else{s.append(a.menu.buildmobile(E.parent(),v+1,i,false,d,g,false))}if(!y){s.find('div[data-role="collapsible-set"]').eq(0).append(E.children("a").html(p[0].innerHTML+" - "+j).attr({"data-role":"button","data-theme":g,"data-icon":"arrow-r","data-iconpos":"right","data-corners":"false"}))}}f.append(s)}else{if(D==="div"){t=E.children("a, ul");if(t.length>0){if(t.get(0).tagName.toLowerCase()==="a"){f.append(''+t.html()+"")}else{f.append(E.children("ul").attr({"data-role":"listview","data-theme":(q?i:g)}))}}}}});f.children().wrapAll('
    ')}}return f},expandcollapsemobile:function(h,d,f,e){var g=c((typeof h.jquery!=="undefined"?h:c(h))).find(d);if(e){g.parents('div[data-role="collapsible"]').attr("data-collapsed",f)}else{g.closest('div[data-role="collapsible"]').attr("data-collapsed",f)}},correctmobile:function(k){var f=(typeof k.jquery!=="undefined"?k:c(k)),h=f.find(".ui-controlgroup-controls > .ui-collapsible-set").get(),i,d=h.length,e,j,g;while(d--){i=h[d];i.getElementsByTagName("a")[0].className+=" ui-corner-top";e=i.childNodes;g=e.length;while(g--){j=e[g];if(j.nodeType===1){j.getElementsByTagName("a")[0].className+=" ui-corner-bottom";break}}}}},polyfills:{init:function(){var d=a.add.liblocation;if(!window.localStorage){a.add._load(d+"polyfills/localstorage"+a.suffix+".js","localstorage-loaded");c("html").addClass("polyfill-localstorage")}else{c("html").addClass("localstorage")}},polyload:function(e,h,u){var t=this.polyfill,f,l,n,j={},w=[],m,d,g,k=a.add.liblocation,p=[],r=[],o=[],s,v,q=c("html");for(f in t){if(t.hasOwnProperty(f)){l=t[f];n=u?c(l.selector):c();if(n.length!==0||c.inArray(f,e)!==-1){if(typeof l.supported==="undefined"){l.supported=(typeof l.support_check==="function"?l.support_check():l.support_check);if(!l.supported){m=l.depends;if(typeof m!=="undefined"){d=a.add.depends(m);g=[];for(s=0,v=m.length;s!==v;s+=1){if(c.inArray(m[s],a.add.staged)===-1){g.push(m[s])}}if(g.length!==0){j[f]=g}else{w.push(f)}}else{w.push(f)}q.addClass("polyfill-"+f);n.addClass("polyfill")}else{q.addClass(f)}}else{if(!l.supported&&typeof l.loaded==="undefined"){w.push(f)}}}}}for(s=0,v=w.length;s!==v;s+=1){l=t[w[s]];o[o.length]=(typeof l.load!=="undefined"?l.load:k+"polyfills/"+w[s]+a.suffix+".js");if(typeof l.init!=="undefined"){r.push(w[s])}l.loaded=true}p.push(j);p.push(r);a.add._load_arr(o,h,p)},polyfill:{datalist:{selector:"input[list]",depends:["resize","outside"],update:function(d){d.datalist()},support_check:!!(document.createElement("datalist")&&window.HTMLDataListElement)},datepicker:{selector:'input[type="date"]',depends:["calendar","xregexp","outside"],update:function(d){d.datepicker()},support_check:function(){var e=document.createElement("input"),d;e.setAttribute("type","date");e.value=":)";e.style.cssText="position:absolute;visibility:hidden;";document.body.appendChild(e);d=(e.value!==":)");document.body.removeChild(e);return d}},detailssummary:{selector:"details",update:function(d){d.details()},support_check:function(){var h=document,f=h.createElement("details"),e,d,g;if(typeof f.open==="undefined"){return false}d=h.body||(function(){var i=h.documentElement;e=true;return i.insertBefore(h.createElement("body"),i.firstElementChild||i.firstChild)}());f.innerHTML="ab";f.style.display="block";d.appendChild(f);g=f.offsetHeight;f.open=true;g=g!==f.offsetHeight;d.removeChild(f);if(e){d.parentNode.removeChild(d)}return g}},mathml:{selector:"math",load:"http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=Accessible",support_check:function(){var f=false,g,j,k,e,d,h,i;if(document.createElementNS){g="http://www.w3.org/1998/Math/MathML";j=document.createElement("div");k=j.appendChild(document.createElement("div"));k.style.position="absolute";k.style.color="#fff";d=k.appendChild(document.createElementNS(g,"math")).appendChild(document.createElementNS(g,"mrow"));h=d.appendChild(document.createElementNS(g,"mo"));h.appendChild(document.createTextNode("|"));i=d.appendChild(document.createElementNS(g,"mfrac"));i.appendChild(document.createElementNS(g,"mi")).appendChild(document.createTextNode("xx"));i.appendChild(document.createElementNS(g,"mi")).appendChild(document.createTextNode("yy"));d.appendChild(document.createElementNS(g,"mo")).appendChild(document.createTextNode("|"));e=j.appendChild(document.createElement("div"));e.style.color="#fff";e.style.display="inline";e.appendChild(document.createTextNode("|xx|"));document.body.appendChild(j);f=k.offsetHeight>k.offsetWidth;k.style.position="static";k.style.display="inline";f=f&&k.offsetWidth0?d.attr("href").substr(0,d.attr("href").lastIndexOf("/")+1):"theme-not-found/"}()),staged:[],_load:function(g,e){var d=a.add.head,h=(e!==undefined?e:"wet-boew-dependency-loaded");if(c.inArray(g,this.staged)>-1){a.document.trigger({type:h,js:g});return this}setTimeout(function f(){if(typeof d.item!=="undefined"){if(!d[0]){setTimeout(f,25);return}d=d[0]}var i=document.createElement("script"),j=false;a.add.set(i,"async","async");i.onload=i.onreadystatechange=function(){if((i.readyState&&i.readyState!=="complete"&&i.readyState!=="loaded")||j){return false}i.onload=i.onreadystatechange=null;j=true;a.document.trigger({type:h,js:g})};i.src=g;if((a.ie>0&&a.ie<9)||!d.insertBefore){c(i).appendTo(c(d)).delay(100)}else{d.insertBefore(i,d.firstChild)}},0);this.staged[this.staged.length]=g;return this},_load_arr:function(k,g,j){var e=0,f,d,h=g+"-single";a.document.on(h,function(){e+=1;if(e===k.length){a.document.off(h);a.document.trigger({type:g,payload:j})}});if(k.length>0){for(f=0,d=k.length;f0&&a.ie<10)||!e.insertBefore){c(d).appendTo(c(e)).attr("href",f)}else{e.insertBefore(d,e.firstChild)}return this},depends:function(g){var f=a.add.liblocation,e=c.map(g,function(d){return(/^http(s)?/i.test(d))?d:f+"dependencies/"+d+a.suffix+".js"});return e},language:function(e){var d=a.add.liblocation+"i18n/"+e+a.suffix+".js";a.add._load(d)},meta:function(e,f){var d;d=document.createElement("meta");a.add.set(d,"name",e).set(d,"content",f);a.add.head.appendChild(d);return this}}}()),wb_load:function(e,h){if(typeof e==="undefined"){e={}}if(typeof h==="undefined"){h="wb-loaded"}var q,u,r=(typeof wet_boew_properties!=="undefined"&&wet_boew_properties!==null)?wet_boew_properties:false,n=typeof e.plugins!=="undefined"?e.plugins:{},d,l=typeof e.global!=="undefined"?e.global:[],v,j=typeof e.dep!=="undefined"?e.dep:[],g=typeof e.poly!=="undefined"?e.poly:[],t=typeof e.checkdom!=="undefined"?e.checkdom:false,f=typeof e.polycheckdom!=="undefined"?e.polycheckdom:false,m=t?c('[class^="wet-boew-"]'):c(),k=(new Date()).getTime(),o="wb-polyinit-loaded-"+k,s="wb-pcalldeps-loaded-"+k,p="wb-polydeps-loaded-"+k;for(d in n){if(n.hasOwnProperty(d)){m=m.add(n[d].addClass("wet-boew-"+d))}}m.each(function(){var w=c(this),i=w.attr("class").split(" "),x=[];for(q=0,u=i.length;q!==u;q+=1){if(i[q].indexOf("wet-boew-")===0){x.push(i[q].substr(9).toLowerCase())}}w.attr("data-load",x.join(","));l.push.apply(l,x)});if(r){l.push(r.globals)}l=a.array.noduplicates(l);for(q=0,u=l.length;q!==u;q+=1){v=l[q];if(typeof a.fn[v]!=="undefined"){if(typeof a.fn[v].polyfills!=="undefined"){g.push.apply(g,a.fn[v].polyfills)}if(typeof a.fn[v].depends!=="undefined"){j.push.apply(j,a.fn[v].depends)}}}a.document.one(o,function(y){var w=a.polyfills.polyfill,A=y.payload[0],z=y.payload[1],i=[],x;for(q=0,u=z.length;q!==u;q+=1){w[z[q]].init()}for(x in A){if(A.hasOwnProperty(x)){j.push.apply(j,A[x]);i.push(x)}}a.document.one(s,function(){a.document.one(p,function(B){z=typeof B.payload!=="undefined"?B.payload[1]:[];for(q=0,u=z.length;q!==u;q+=1){w[z[q]].init()}m.each(function(){var C=c(this),D=C.attr("data-load").split(",");for(q=0,u=D.length;q!==u;q+=1){if(typeof a.fn[D[q]]!=="undefined"){a.fn[D[q]]._exec(C)}}});if(r){for(q=0,u=r.globals.length;q!==u;q+=1){a.fn[r.globals[q]]._exec(document)}}a.document.trigger(h)});if(i.length!==0){a.polyfills.polyload(i,p,false)}else{a.document.trigger(p)}});a.add._load_arr(a.add.depends(a.array.noduplicates(j)),s)});a.polyfills.polyload(a.array.noduplicates(g),o,f)},dance:function(){var d="wb-init-loaded";a.document.one(d,function(){a.resize(function(){var e=a.mobilecheck();if(a.mobile!==e){a.mobile=e;window.location.href=decodeURI(a.url(window.location.href).removehash())}})});a.wb_load({dep:["resize","equalheights"],checkdom:true,polycheckdom:true},d)}};window.pe=c.extend(true,a,b);return window.pe}(jQuery))._init();(function(b){var a=window.pe||{fn:{}};a.fn.archived={type:"plugin",_exec:function(e){if(pe.mobile){return}var c=b('"),d=b(window);d.on("scroll",function(){if(b(this).scrollTop()>10){c.fadeIn("normal").attr("aria-hidden","false")}else{c.fadeOut("normal").attr("aria-hidden","true")}});b(document).on("focusin",function(g){var f=b(g.target);if(c.attr("aria-hidden")==="false"&&(f.offset().top+f.outerHeight())<=(c.offset().top+c.outerHeight())){d.scrollTop(d.scrollTop()-c.outerHeight())}});if(d.scrollTop()<10||d.scrollTop()==="undefined"){c.fadeOut("normal").attr("aria-hidden","true")}else{c.fadeIn("normal").attr("aria-hidden","false")}pe.pagecontainer().append(c);return e}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.charts={type:"plugin",depends:["raphael","parserTable","charts"],polyfills:["detailssummary"],_exec:function(c){a.fn.chartsGraph.generate(c)}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.css3ie={type:"plugin",depends:(pe.ie>0&&pe.ie<9?["pie","resize"]:[]),_exec:function(j){if(pe.mobile||!(pe.ie>0&&pe.ie<9)){return}var l=b(".rounded, .pie-enhance"),g=false,k=b("#wb-core"),d=k.children("#wb-core-in"),i=k.css("margin-bottom"),h,c,f,e;f=function(){l.each(function(){PIE.attach(this)});return true};e=function(){l.each(function(){PIE.detach(this)});return false};if(window.PIE){l.filter(function(){return b(this).css("position")==="static"}).css("position","relative");if(pe.ie===7){h=document.body;c=h.getBoundingClientRect();if((c.left-c.right)/h.offsetWidth===-1){g=f()}else{k.css("margin-bottom",(d.offset().top+d.height())-(k.offset().top+k.height()))}}else{if(pe.ie===8){g=f()}else{g=f()}}pe.resize(function(){if(pe.ie===7){var m=document.body,n=m.getBoundingClientRect();if((n.left-n.right)/m.offsetWidth!==-1){g=e(l);k.css("margin-bottom",(d.offset().top+d.height())-(k.offset().top+k.height()))}else{if(!g){f()}k.css("margin-bottom",i)}}})}return j}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.deselectradio={type:"plugin",depends:[],_exec:function(d){var c=b('input[type="radio"]:not(.deselectable, .deselect-off)').attr("role","radio").attr("aria-checked","false").addClass("deselectable");c.filter(":checked").attr("aria-checked","true");c.closest("fieldset").attr("role","radiogroup");c.on("click vclick",function(){var e=b(this);if(e.attr("aria-checked")==="true"){e.prop("checked",false).attr("aria-checked","false")}else{e.closest("fieldset").find('input[type="radio"]').prop("checked",false).attr("aria-checked","false");e.prop("checked",true).attr("aria-checked","true")}});return d}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.equalize={type:"plugin",depends:(pe.mobile?[]:["equalheights","resize"]),_exec:function(c){if(pe.mobile){return}b(".equalize").children().css("min-height","").parent().equalHeights(true);pe.resize(function(){b(".equalize").children().css("min-height","").parent().equalHeights(true)});return c}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.eventscalendar={type:"plugin",depends:["calendar","xregexp"],_exec:function(h){var u=new Date(),o=a.fn.calendar,l=u.getFullYear(),v=u.getMonth(),w=h.find(".year"),i=h.find(".month"),q,d,m,x,t,r,n,e,k,c,p,s,g,j,f;x=function(B){var A=!(b(B).hasClass("event-anchoring")),z={minDate:null,maxDate:null,iCount:0,list:[{a:1}]},y=null;if(B.find("ol").length>0){y=B.find("ol")}else{if(B.find("ul").length>0){y=B.find("ul")}}if(y.length>0){y.children("li").each(function(){var D=b(this),I=D.find("*:header:first"),M=I.text(),G=D.find("a").first(),K=G.attr("href"),E,F,C,O,N,L,J,H;if(!A){E=(D.attr("id")!==undefined)?D.attr("id"):t(6);D.attr("id",E);if(pe.ie>0){D.attr("tabindex","-1")}K="#"+E}F=new Date();C=D.find("time, span.datetime");if(C.length>1){O=(b(C[0]).get(0).nodeName.toLowerCase()==="time")?b(C[0]).attr("datetime").substr(0,10).split("-"):b(C[0]).attr("class").match(/datetime\s+\{date\:\s*(\d+-\d+-\d+)\}/)[1].substr(0,10).split("-");N=(b(C[1]).get(0).nodeName.toLowerCase()==="time")?b(C[1]).attr("datetime").substr(0,10).split("-"):b(C[1]).attr("class").match(/datetime\s+\{date\:\s*(\d+-\d+-\d+)\}/)[1].substr(0,10).split("-");F.setFullYear(O[0],O[1]-1,O[2]);for(J=0,H=pe.date.daysBetween(O,N)+1;J<=H;J+=1){if(z.minDate===null||Fz.maxDate){z.maxDate=F}z.list[z.iCount]={title:M,date:new Date(F.getTime()),href:K};F=new Date(F.setDate(F.getDate()+1));if(!I.hasClass("filter-"+(F.getFullYear())+"-"+pe.string.pad(F.getMonth()+1,2))){I.addClass("filter-"+(F.getFullYear())+"-"+pe.string.pad(F.getMonth()+1,2))}z.iCount+=1}}else{if(C.length===1){L=(b(C[0]).get(0).nodeName.toLowerCase()==="time")?b(C[0]).attr("datetime").substr(0,10).split("-"):b(C[0]).attr("class").match(/datetime\s+\{date\:\s*(\d+-\d+-\d+)\}/)[1].substr(0,10).split("-");F.setFullYear(L[0],L[1]-1,L[2]);if(z.minDate===null||Fz.maxDate){z.maxDate=F}z.list[z.iCount]={title:M,date:F,href:K};if(!I.hasClass("filter-"+(F.getFullYear())+"-"+pe.string.pad(F.getMonth()+1,2))){I.addClass("filter-"+(F.getFullYear())+"-"+pe.string.pad(F.getMonth()+1,2))}z.iCount+=1}}})}window.events=z;return z};t=function(A){var z="",y,B;y=function(){B=Math.floor(Math.random()*62);if(B<10){return B}if(B<36){return String.fromCharCode(B+55)}return String.fromCharCode(B+61)};while(z.length'+E+"");J.append(I);C=b('
      ');I.on("keydown",{details:C},k);J.on("mouseover",{details:C},c);J.on("mouseout",{details:C},p);I.on("focus",{details:C},s);I.on("blur",{details:C},g);J.append(C)}else{C=J.find("ul.wb-invisible")}D=b('
    • '+z[G].title+"
    • ");if(pe.cssenabled){D.children("a").attr("tabindex","-1")}C.append(D);B=D.children("a");B.on("keydown",e);B.on("blur",{details:C},j);B.on("focus",{details:C},f)}}};n=function(z,A,y){b("."+y+" li.calendar-display-onshow").addClass("wb-invisible");b("."+y+" li.calendar-display-onshow").has(":header[class*=filter-"+z+"-"+pe.string.pad(parseInt(A,10)+1,2)+"]").removeClass("wb-invisible")};if(w.length>0&&i.length>0){l=w.text();if(i.hasClass("textformat")){q=b.inArray(i.text(),pe.dic.get("%calendar-monthNames"));v=q}else{v=i.text()-1}}d=x(h);m=b(h).attr("class").split(" ").slice(-1);if(b("#wb-main-in").css("padding-left")==="0px"){b("#"+m).css("margin-left","10px")}b("#"+m).on("calendarDisplayed",function(A,y,z,B){r(y,z,B,m,d.list);n(y,z,m)});o.create(m,l,v,true,d.minDate,d.maxDate);b("#"+m).attr("role","application")}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.feedback={type:"plugin",depends:[],_exec:function(j){var d=j.find("#feedback"),i=j.find("#web"),h=i.find("#access"),c=i.find("#mobile"),k=i.find("#computer"),m=j.find("#contact-coord"),n=m.find("#contact1"),l=m.find("#contact2"),g=m.find("#info"),f=document.referrer,e=pe.url(window.location.href).params,o;d.attr("aria-controls","web").on("keyup click load",function(p){o=(p.type==="load");if(!o&&b(this).val()==="web"){i.attr("aria-hidden","false").show("slow")}else{i.attr("aria-hidden","true").hide((o?"":"slow"))}});if(e.submit===undefined&&e.feedback!==undefined){d.find('option[value="'+e.feedback+'"]').attr("selected","selected")}d.trigger("load");h.attr("aria-controls","mobile computer").on("keyup click load",function(p){o=(p.type==="load");if(!o&&h.val()==="mobile"){c.attr("aria-hidden","false").show("slow");k.attr("aria-hidden","true").hide("slow")}else{k.attr("aria-hidden","false").show((o?"":"slow"));c.attr("aria-hidden","true").hide((o?"":"slow"))}}).trigger("load");n.on("keyup click load",function(p){o=(p.type==="load");if(!o&&b(this).val()==="yes"){g.attr("aria-hidden","false").show("slow")}else{if(o||((b(this).val()==="no"||b(this).val()===null)&&(l.val()==="no"||l.val()===null))){g.attr("aria-hidden","true").hide((o?"":"slow"))}}}).trigger("click");l.on("keyup click load",function(p){o=(p.type==="load");if(!o&&b(this).val()==="yes"){g.attr("aria-hidden","false").show("slow")}else{if(o||((b(this).val()==="no"||b(this).val()===null)&&(n.val()==="no"||n.val()===null))){g.attr("aria-hidden","true").hide((o?"":"slow"))}}}).trigger("load");i.find("#page").attr("value",f);j.find("input[type=reset]").on("click",function(){d.trigger("load");h.trigger("load");n.trigger("load");l.trigger("load")});return j}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.footnotes={type:"plugin",_exec:function(e){var c=b("#wb-main-in").not(".wet-boew-footnotes"),d=e.find("dd").attr("tabindex","-1");d.each(function(){var g=b(this),f=this.id+"-dt";g.attr("aria-labelledby",f).prev().attr("id",f)});d.find("p.footnote-return a").each(function(){var f=b(this);f.find("span span").remove();f.off("click vclick").on("click vclick",function(){var g=c.find(b(this).attr("href")).find("a");if(pe.mobile){b.mobile.silentScroll(pe.focus(g).offset().top)}else{pe.focus(g)}return false})});c.find("sup a.footnote-link").on("click vclick",function(){var f=e.find(b(this).attr("href"));f.find("p.footnote-return a").attr("href","#"+this.parentNode.id).off("click vclick").on("click vclick",function(){var g=c.find(b(this).attr("href")).find("a");if(pe.mobile===true){b.mobile.silentScroll(pe.focus(g).offset().top)}else{pe.focus(g)}return false});if(pe.mobile){b.mobile.silentScroll(pe.focus(f).offset().top)}else{pe.focus(f)}if(pe.ie>0&&pe.ie<8){f.addClass("footnote-focus").one("blur",function(){b(this).removeClass("footnote-focus")})}return false})}};window.pe=a;return a}(jQuery));(function(b){var a=window.pe||{fn:{}};a.fn.formvalid={type:"plugin",depends:["validate","validateAdditional","metadata"],_exec:function(p){var e=p.find("form"),s=e.get(0),k=s.getElementsByTagName("label"),l=k.length,m=s.getElementsByTagName("input"),d=b(m),i=m.length,r,n,g,q=false,o=e.find("[required]").attr("aria-required","true"),j="errors-"+(e.attr("id")===undefined?"default":e.attr("id")),c,f=pe.language.toLowerCase();if(f!=="en"){if(f==="pt-br"){f="pt_BR"}else{if(f==="pt"||f==="pt-pt"){f="pt_PT"}else{if(f==="zh-tw"){f="zh_TW"}else{pe.add._load(pe.add.liblocation+"i18n/formvalid/messages_"+f+pe.suffix+".js")}}}}if(f==="de"||f==="nl"||f==="pr_PT"||f==="pr_BR"){pe.add._load(pe.add.liblocation+"i18n/formvalid/methods_"+f+pe.suffix+".js")}n=l;while(n--){k[n].innerHTML+=" "}function h(x,v,w){var t=x.attr("class"),y=(t!==undefined?t.search(/validate\s?:\s?\{/):-1),u;if(y>-1){if(t.search("/"+v+"\\s?:/")===-1){u=t.substring(y,t.indexOf("{",y)+1);x.attr("class",t.replace(u,u+v+":"+w+", "))}}else{x.addClass("{validate:{"+v+":"+w+"}}")}return}n=i;if(n!==0&&m[0].hasAttribute!==undefined){while(n--){r=m[n];if(g){if(r.hasAttribute("pattern")){r.removeAttribute("pattern")}}else{b(r).removeAttr("pattern")}}}if(pe.ie>0&&pe.ie<9){o.removeAttr("required").each(function(){h(b(this),"required","true")});d.filter('[type="date"]').each(function(){var v=b(this),t=v.wrap("
      ").parent(),u=b(t.html().replace("type="+v.attr("type"),"type=text"));t.replaceWith(u)})}if(pe.mobile){s.setAttribute("data-ajax","false");d.filter('[type="checkbox"]').closest("fieldset").attr("data-role","controlgroup")}c=e.validate({meta:"validate",focusInvalid:false,errorElement:"strong",errorPlacement:function(t,u){t.appendTo(e.find('label[for="'+u.attr("id")+'"]'))},showErrors:function(y,z){this.defaultShowErrors();var A=e.find("strong.error").filter(":not(:hidden)"),x=e.find("input.error, select.error, textarea.error"),w=e.find("#"+j),v=''+pe.dic.get("%error")+" ",u=pe.dic.get("%colon")+" ",t;e.find('[aria-invalid="true"]').removeAttr("aria-invalid");if(A.length>0){if(w.length===0){w=b('