1/*! 2 * Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW) 3 * wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 4 * v4.0.95 - 2026-02-03 5 * 6 */ /*! Modernizr (Custom Build) | MIT & BSD */ /*! @license DOMPurify 3.3.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.0/LICENSE */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).DOMPurify=t()}(this,function(){"use strict";let{entries:e,setPrototypeOf:t,isFrozen:a,getPrototypeOf:n,getOwnPropertyDescriptor:r}=Object,{freeze:i,seal:s,create:o}=Object,{apply:l,construct:c}="undefined"!=typeof Reflect&&Reflect;i||(i=function e(t){return t}),s||(s=function e(t){return t}),l||(l=function e(t,a){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return t.apply(a,r)}),c||(c=function e(t){for(var a=arguments.length,n=Array(a>1?a-1:0),r=1;r<a;r++)n[r-1]=arguments[r];return new t(...n)});let d=T(Array.prototype.forEach),u=T(Array.prototype.lastIndexOf),p=T(Array.prototype.pop),f=T(Array.prototype.push),g=T(Array.prototype.splice),h=T(String.prototype.toLowerCase),m=T(String.prototype.toString),b=T(String.prototype.match),y=T(String.prototype.replace),v=T(String.prototype.indexOf),w=T(String.prototype.trim),_=T(Object.prototype.hasOwnProperty),x=T(RegExp.prototype.test),C=(Z=TypeError,function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return c(Z,t)});function T(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var a=arguments.length,n=Array(a>1?a-1:0),r=1;r<a;r++)n[r-1]=arguments[r];return l(e,t,n)}}function k(e,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h;t&&t(e,null);let i=n.length;for(;i--;){let s=n[i];if("string"==typeof s){let o=r(s);o!==s&&(a(n)||(n[i]=o),s=o)}e[s]=!0}return e}function A(e){for(let t=0;t<e.length;t++){let a=_(e,t);a||(e[t]=null)}return e}function E(t){let a=o(null);for(let[n,r]of e(t)){let i=_(t,n);i&&(Array.isArray(r)?a[n]=A(r):r&&"object"==typeof r&&r.constructor===Object?a[n]=E(r):a[n]=r)}return a}function S(e,t){for(;null!==e;){let a=r(e,t);if(a){if(a.get)return T(a.get);if("function"==typeof a.value)return T(a.value)}e=n(e)}return function e(){return null}}let N=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),D=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),O=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),j=i(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),I=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),L=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),M=i(["#text"]),P=i(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
6spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),B=i(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),R=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),F=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),U=s(/\{\{[\w\W]*|[\w\W]*\}\}/gm),H=s(/<%[\w\W]*|[\w\W]*%>/gm),q=s(/\$\{[\w\W]*/gm),z=s(/^data-[\-\w.\u00B7-\uFFFF]+$/),Y=s(/^aria-[\-\w]+$/),V=s(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),W=s(/^(?:\w+script|data):/i),G=s(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),K=s(/^html$/i),J=s(/^[a-z][.\w]*(-[.\w]+)+$/i);var Z,X=Object.freeze({__proto__:null,ARIA_ATTR:Y,ATTR_WHITESPACE:G,CUSTOM_ELEMENT:J,DATA_ATTR:z,DOCTYPE_NAME:K,ERB_EXPR:H,IS_ALLOWED_URI:V,IS_SCRIPT_OR_DATA:W,MUSTACHE_EXPR:U,TMPLIT_EXPR:q});let Q={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},ee=function e(t,a){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null,r="data-tt-policy-suffix";a&&a.hasAttribute(r)&&(n=a.getAttribute(r));let i="dompurify"+(n?"#"+n:"");try{return t.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(s){return console.warn("TrustedTypes policy "+i+" could not be created."),null}},et=function e(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};return function t(){let a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,n=e=>t(e);
6if(n.version="3.3.0",n.removed=[],!a||!a.document||a.document.nodeType!==Q.document||!a.Element)return n.isSupported=!1,n;let{document:r}=a,s=r,l=s.currentScript,{DocumentFragment:c,HTMLTemplateElement:T,Node:A,Element:U,NodeFilter:H,NamedNodeMap:q=a.NamedNodeMap||a.MozNamedAttrMap,HTMLFormElement:z,DOMParser:Y,trustedTypes:W}=a,G=U.prototype,J=S(G,"cloneNode"),Z=S(G,"remove"),ea=S(G,"nextSibling"),en=S(G,"childNodes"),er=S(G,"parentNode");if("function"==typeof T){let ei=r.createElement("template");ei.content&&ei.content.ownerDocument&&(r=ei.content.ownerDocument)}let es,eo="",{implementation:el,createNodeIterator:ec,createDocumentFragment:ed,getElementsByTagName:eu}=r,{importNode:ep}=s,ef=et();n.isSupported="function"==typeof e&&"function"==typeof er&&el&&void 0!==el.createHTMLDocument;let{MUSTACHE_EXPR:eg,ERB_EXPR:eh,TMPLIT_EXPR:em,DATA_ATTR:eb,ARIA_ATTR:ey,IS_SCRIPT_OR_DATA:ev,ATTR_WHITESPACE:e$,CUSTOM_ELEMENT:ew}=X,{IS_ALLOWED_URI:e_}=X,ex=null,eC=k({},[...N,...D,...O,...I,...M]),eT=null,ek=k({},[...P,...B,...R,...F]),eA=Object.seal(o(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),eE=null,eS=null,eN=Object.seal(o(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),eD=!0,eO=!0,ej=!1,eI=!0,eL=!1,e0=!0,eM=!1,eP=!1,eB=!1,e8=!1,eR=!1,eF=!1,eU=!0,eH=!1,e2=!0,eq=!1,ez={},e1=null,e6=k({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),e5=null,e3=k({},["audio","video","img","source","image","track"]),e7=null,e4=k({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),eY="http://www.w3.org/1998/Math/MathML",eV="http://www.w3.org/2000/svg",eW="http://www.w3.org/1999/xhtml",e9=eW,eG=!1,eK=null,eJ=k({},[eY,eV,eW],m),eZ=k({},["mi","mo","mn","ms","mtext"]),eX=k({},["annotation-xml"]),eQ=k({},["title","style","font","a","script"]),te=null,tt=["application/xhtml+xml","text/html"],ta=null,tn=null,tr=r.createElement("form"),ti=function e(t){return t instanceof RegExp||t instanceof Function},ts=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!tn||tn!==t){if(t&&"object"==typeof t||(t={}),t=E(t),ta="application/xhtml+xml"===(te=-1===tt.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE)?m:h,ex=_(t,"ALLOWED_TAGS")?k({},t.ALLOWED_TAGS,ta):eC,eT=_(t,"ALLOWED_ATTR")?k({},t.ALLOWED_ATTR,ta):ek,eK=_(t,"ALLOWED_NAMESPACES")?k({},t.ALLOWED_NAMESPACES,m):eJ,e7=_(t,"ADD_URI_SAFE_ATTR")?k(E(e4),t.ADD_URI_SAFE_ATTR,ta):e4,e5=_(t,"ADD_DATA_URI_TAGS")?k(E(e3),t.ADD_DATA_URI_TAGS,ta):e3,e1=_(t,"FORBID_CONTENTS")?k({},t.FORBID_CONTENTS,ta):e6,eE=_(t,"FORBID_TAGS")?k({},t.FORBID_TAGS,ta):E({}),eS=_(t,"FORBID_ATTR")?k({},t.FORBID_ATTR,ta):E({}),ez=!!_(t,"USE_PROFILES")&&t.USE_PROFILES,eD=!1!==t.ALLOW_ARIA_ATTR,eO=!1!==t.ALLOW_DATA_ATTR,ej=t.ALLOW_UNKNOWN_PROTOCOLS||!1,eI=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,eL=t.SAFE_FOR_TEMPLATES||!1,e0=!1!==t.SAFE_FOR_XML,eM=t.WHOLE_DOCUMENT||!1,e8=t.RETURN_DOM||!1,eR=t.RETURN_DOM_FRAGMENT||!1,eF=t.RETURN_TRUSTED_TYPE||!1,eB=t.FORCE_BODY||!1,eU=!1!==t.SANITIZE_DOM,eH=t.SANITIZE_NAMED_PROPS||!1,e2=!1!==t.KEEP_CONTENT,eq=t.IN_PLACE||!1,e_=t.ALLOWED_URI_REGEXP||V,e9=t.NAMESPACE||eW,eZ=t.MATHML_TEXT_INTEGRATION_POINTS||eZ,eX=t.HTML_INTEGRATION_POINTS||eX,eA=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&ti(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(eA.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ti(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(eA.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(eA.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),eL&&(eO=!1),eR&&(e8=!0),ez&&(ex=k({},M),eT=[],!0===ez.html&&(k(ex,N),k(eT,P)),!0===ez.svg&&(k(ex,D),k(eT,B),k(eT,F)),!0===ez.svgFilters&&
6(k(ex,O),k(eT,B),k(eT,F)),!0===ez.mathMl&&(k(ex,I),k(eT,R),k(eT,F))),t.ADD_TAGS&&("function"==typeof t.ADD_TAGS?eN.tagCheck=t.ADD_TAGS:(ex===eC&&(ex=E(ex)),k(ex,t.ADD_TAGS,ta))),t.ADD_ATTR&&("function"==typeof t.ADD_ATTR?eN.attributeCheck=t.ADD_ATTR:(eT===ek&&(eT=E(eT)),k(eT,t.ADD_ATTR,ta))),t.ADD_URI_SAFE_ATTR&&k(e7,t.ADD_URI_SAFE_ATTR,ta),t.FORBID_CONTENTS&&(e1===e6&&(e1=E(e1)),k(e1,t.FORBID_CONTENTS,ta)),e2&&(ex["#text"]=!0),eM&&k(ex,["html","head","body"]),ex.table&&(k(ex,["tbody"]),delete eE.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw C('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw C('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');eo=(es=t.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===es&&(es=ee(W,l)),null!==es&&"string"==typeof eo&&(eo=es.createHTML(""));i&&i(t),tn=t}},to=k({},[...D,...O,...j]),tl=k({},[...I,...L]),tc=function e(t){let a=er(t);a&&a.tagName||(a={namespaceURI:e9,tagName:"template"});let n=h(t.tagName),r=h(a.tagName);return!!eK[t.namespaceURI]&&(t.namespaceURI===eV?a.namespaceURI===eW?"svg"===n:a.namespaceURI===eY?"svg"===n&&("annotation-xml"===r||eZ[r]):Boolean(to[n]):t.namespaceURI===eY?a.namespaceURI===eW?"math"===n:a.namespaceURI===eV?"math"===n&&eX[r]:Boolean(tl[n]):t.namespaceURI===eW?(a.namespaceURI!==eV||!!eX[r])&&(a.namespaceURI!==eY||!!eZ[r])&&!tl[n]&&(eQ[n]||!to[n]):"application/xhtml+xml"===te&&!!eK[t.namespaceURI])},td=function e(t){f(n.removed,{element:t});try{er(t).removeChild(t)}catch(a){Z(t)}},tu=function e(t,a){try{f(n.removed,{attribute:a.getAttributeNode(t),from:a})}catch(r){f(n.removed,{attribute:null,from:a})}if(a.removeAttribute(t),"is"===t){if(e8||eR)try{td(a)}catch(i){}else try{a.setAttribute(t,"")}catch(s){}}},tp=function e(t){let a=null,n=null;if(eB)t="<remove></remove>"+t;else{let i=b(t,/^[\r\n\t ]+/);n=i&&i[0]}"application/xhtml+xml"===te&&e9===eW&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");let s=es?es.createHTML(t):t;if(e9===eW)try{a=new Y().parseFromString(s,te)}catch(o){}if(!a||!a.documentElement){a=el.createDocument(e9,"template",null);try{a.documentElement.innerHTML=eG?eo:s}catch(l){}}let c=a.body||a.documentElement;return(t&&n&&c.insertBefore(r.createTextNode(n),c.childNodes[0]||null),e9===eW)?eu.call(a,eM?"html":"body")[0]:eM?a.documentElement:c},tf=function e(t){return ec.call(t.ownerDocument||t,t,H.SHOW_ELEMENT|H.SHOW_COMMENT|H.SHOW_TEXT|H.SHOW_PROCESSING_INSTRUCTION|H.SHOW_CDATA_SECTION,null)},tg=function e(t){return t instanceof z&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof q)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},th=function e(t){return"function"==typeof A&&t instanceof A};function tm(e,t,a){d(e,e=>{e.call(n,t,a,tn)})}let tb=function e(t){let a=null;if(tm(ef.beforeSanitizeElements,t,null),tg(t))return td(t),!0;let r=ta(t.nodeName);if(tm(ef.uponSanitizeElement,t,{tagName:r,allowedTags:ex}),e0&&t.hasChildNodes()&&!th(t.firstElementChild)&&x(/<[/\w!]/g,t.innerHTML)&&x(/<[/\w!]/g,t.textContent)||t.nodeType===Q.progressingInstruction||e0&&t.nodeType===Q.comment&&x(/<[/\w]/g,t.data))return td(t),!0;if(!(eN.tagCheck instanceof Function&&eN.tagCheck(r))&&(!ex[r]||eE[r])){if(!eE[r]&&tv(r)&&(eA.tagNameCheck instanceof RegExp&&x(eA.tagNameCheck,r)||eA.tagNameCheck instanceof Function&&eA.tagNameCheck(r)))return!1;if(e2&&!e1[r]){let i=er(t)||t.parentNode,s=en(t)||t.childNodes;if(s&&i){let o=s.length;for(let l=o-1;l>=0;--l){let c=J(s[l],!0);c.__removalCount=(t.__removalCount||0)+1,i.insertBefore(c,ea(t))}}}return td(t),!0}return t instanceof U&&!tc(t)||("noscript"===r||"noembed"===r||"noframes"===r)&&x(/<\/no(script|embed|frames)/i,t.innerHTML)?(td(t),!0):(eL&&t.nodeType===Q.text&&(a=t.textContent,d([eg,eh,em],e=>{a=y(a,e," ")}),t.textContent!==a&&(f(n.removed,{element:t.cloneNode()}),t.textContent=a)),tm(ef.afterSanitizeElements,t,null),!1)},ty=function e(t,a,n){if(eU&&("id"===a||"name"===a)&&(n in r||n in tr))return!1;if(eO&&!eS[a]&&x(eb,a));else if(eD&&x(ey,a));else if(eN.attributeCheck instanceof Function&&eN.attributeCheck(a,t));else if(!eT[a]||eS[a]){if(!(tv(t)&&(eA.tagNameCheck instanceof RegExp&&x(eA.tagNameCheck,t)||eA.tagNameCheck instanceof Function&&eA.tagNameCheck(t))&&(eA.attributeNameCheck instanceof RegExp&&x(eA.attributeNameCheck,a)||eA.attributeNameCheck instanceof Function&&eA.attributeNameCheck(a,t))||"is"===a&&eA.allowCustomizedBuiltInElements&&(eA.tagNameCheck instanceof RegExp&&x(eA.tagNameCheck,n)||eA.tagNameCheck instanceof Function&&eA.tagNameCheck(n))))return!1}else if(e7[a]);else if(x(e_,y(n,e$,"")));else if(("src"===a||"xlink:href"===a||"href"===a)&&"script"!==t&&0===v(n,"data:")&&e5[t]);else if(ej&&!x(ev,y(n,e$,"")));else if(n)return!1;return!0},tv=function e(t){return"annotation-xml"!==t&&b(t,ew)},t$=function e(t){tm(ef.beforeSanitizeAttributes,t,null);let{attributes:a}=t;if(!a||tg(t))return;let r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:eT,forceKeepAttr:void 0},i=a.length;for(;i--;){let s=a[i],{name:o,namespaceURI:l,value:c}=s,u=ta(o),f=c,g="value"===o?f:w(f);if(r.attrName=u,r.attrValue=g,r.keepAttr=!0,r.forceKeepAttr=void 0,tm(ef.uponSanitizeAttribute,t,r),g=r.attrValue,eH&&("id"===u||"name"===u)&&(tu(o,t),g="user-content-"+g),e0&&x(/((--!?|])>)|<\/(style|title|textarea)/i,g)||"attributename"===u&&b(g,"href")){tu(o,t);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr||!eI&&x(/\/>/i,g)){tu(o,t);continue}
6eL&&d([eg,eh,em],e=>{g=y(g,e," ")});let h=ta(t.nodeName);if(!ty(h,u,g)){tu(o,t);continue}if(es&&"object"==typeof W&&"function"==typeof W.getAttributeType){if(l);else switch(W.getAttributeType(h,u)){case"TrustedHTML":g=es.createHTML(g);break;case"TrustedScriptURL":g=es.createScriptURL(g)}}if(g!==f)try{l?t.setAttributeNS(l,o,g):t.setAttribute(o,g),tg(t)?td(t):p(n.removed)}catch(m){tu(o,t)}}tm(ef.afterSanitizeAttributes,t,null)},tw=function e(t){let a=null,n=tf(t);for(tm(ef.beforeSanitizeShadowDOM,t,null);a=n.nextNode();)tm(ef.uponSanitizeShadowNode,a,null),tb(a),t$(a),a.content instanceof c&&e(a.content);tm(ef.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=null,r=null,i=null,o=null;if((eG=!e)&&(e="<!-->"),"string"!=typeof e&&!th(e)){if("function"==typeof e.toString){if("string"!=typeof(e=e.toString()))throw C("dirty is not a string, aborting")}else throw C("toString is not a function")}if(!n.isSupported)return e;if(eP||ts(t),n.removed=[],"string"==typeof e&&(eq=!1),eq){if(e.nodeName){let l=ta(e.nodeName);if(!ex[l]||eE[l])throw C("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof A)(r=(a=tp("<!---->")).ownerDocument.importNode(e,!0)).nodeType===Q.element&&"BODY"===r.nodeName?a=r:"HTML"===r.nodeName?a=r:a.appendChild(r);else{if(!e8&&!eL&&!eM&&-1===e.indexOf("<"))return es&&eF?es.createHTML(e):e;if(!(a=tp(e)))return e8?null:eF?eo:""}a&&eB&&td(a.firstChild);let u=tf(eq?e:a);for(;i=u.nextNode();)tb(i),t$(i),i.content instanceof c&&tw(i.content);if(eq)return e;if(e8){if(eR)for(o=ed.call(a.ownerDocument);a.firstChild;)o.appendChild(a.firstChild);else o=a;return(eT.shadowroot||eT.shadowrootmode)&&(o=ep.call(s,o,!0)),o}let p=eM?a.outerHTML:a.innerHTML;return eM&&ex["!doctype"]&&a.ownerDocument&&a.ownerDocument.doctype&&a.ownerDocument.doctype.name&&x(K,a.ownerDocument.doctype.name)&&(p="<!DOCTYPE "+a.ownerDocument.doctype.name+">\n"+p),eL&&d([eg,eh,em],e=>{p=y(p,e," ")}),es&&eF?es.createHTML(p):p},n.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ts(e),eP=!0},n.clearConfig=function(){tn=null,eP=!1},n.isValidAttribute=function(e,t,a){tn||ts({});let n=ta(e),r=ta(t);return ty(n,r,a)},n.addHook=function(e,t){"function"==typeof t&&f(ef[e],t)},n.removeHook=function(e,t){if(void 0!==t){let a=u(ef[e],t);return -1===a?void 0:g(ef[e],a,1)[0]}return p(ef[e])},n.removeHooks=function(e){ef[e]=[]},n.removeAllHooks=function(){ef=et()},n}()}),function(e,t,a){"use strict";e.extend=e.fn.extend=function(){var t,a,n,r,i,s,o=arguments[0]||{},l=1,c=arguments.length,d=!1;for("boolean"==typeof o&&(d=o,o=arguments[l]||{},l++),"object"!=typeof o&&"function"!=typeof o&&(o={}),l===c&&(o=this,l--);l<c;l++)if(t=arguments[l],void 0!==t||null!==t)for(a in t)r=t[a],"__proto__"!==a&&o!==r&&(d&&r&&(e.isPlainObject(r)||(i=Array.isArray(r)))?(n=o[a],s=i&&!Array.isArray(n)?[]:i||e.isPlainObject(n)?n:{},i=!1,o[a]=e.extend(d,s,r)):void 0!==r&&(o[a]=r));return o},e.htmlPrefilter=function(e){return e},t.addHook("beforeSanitizeAttributes",function(e){"A"===e.tagName&&e.getAttribute("target")&&"_blank"===e.getAttribute("target")&&e.getAttribute("rel")&&e.relList.contains("noreferrer")&&e.setAttribute("data-wb-external-link","true")}),t.addHook("afterSanitizeAttributes",function(e){"A"===e.tagName&&e.getAttribute("data-wb-external-link")&&(e.setAttribute("target","_blank"),e.removeAttribute("data-wb-external-link"))});var n=e.parseHTML,r=e.fn.append,i=e.fn.prepend,s=e.fn.before,o=e.fn.after,l=e.fn.replaceWith,c=e.fn.init,d=["<tbody/>","<tr/>","<td />","<td/>"],u=function(e){return a.DataTable&&d.indexOf(e),e};e.parseHTML=function(e,t,a){return n(u(e),t,a)},e.domManip=null,e.append=e.fn.append=function(){var e=arguments,t=e[0];return"string"==typeof t&&(t=u(t),e[0]=t),r.apply(this,e)},e.prepend=e.fn.prepend=function(){var e=arguments,t=e[0];return"string"==typeof t&&(t=u(t),e[0]=t),i.apply(this,e)},e.before=e.fn.before=function(){var e=arguments,t=e[0];return"string"==typeof t&&(t=u(t),e[0]=t),s.apply(this,e)},e.after=e.fn.after=function(){var e=arguments,t=e[0];return"string"==typeof t&&(t=u(t),e[0]=t),o.apply(this,e)},e.replaceWith=e.fn.replaceWith=function(){var e=arguments,t=e[0];return"string"==typeof t&&(t=u(t),e[0]=t),l.apply(this,e)},e.fn.init=function(e,t,a){return"string"==typeof e&&(e=u(e)),new c(e,t,a)},e.html=function(t){return e.html(u(t))}}(jQuery,DOMPurify,window),window.Modernizr=function(e,t,a){function n(e){h.cssText=e}function r(e,t){return n(b.join(e+";")+(t||""))}function i(e,t){return typeof e===t}function s(e,t){return!!~(""+e).indexOf(t)}function o(e,t){for(var n in e){var r=e[n];if(!s(r,"-")&&h[r]!==a)return"pfx"!=t||r}return!1}function l(e,t,n){var r=e.charAt(0).toUpperCase()+e.slice(1),s=(e+" "+v.join(r+" ")+r).split(" ");return i(t,"string")||i(t,"undefined")?o(s,t):function e(t,n,r){for(var s in t){var o=n[t[s]];if(o!==a)return!1===r?t[s]:i(o,"function")?o.bind(r||n):o}return!1}(s=(e+" "+w.join(r+" ")+r).split(" "),t,n)}var c,d,u={},p=t.documentElement,f="modernizr",g=t.createElement(f),h=g.style,m=t.createElement("input"),b=" -webkit- -moz- -o- -ms- ".split(" "),y="Webkit Moz O ms",v=y.split(" "),w=y.toLowerCase().split(" "),_={svg:"http://www.w3.org/2000/svg"},x={},C={},T={},k=[],A=k.slice,E=function(e,a,n,r){var i,s,o,l,c=t.createElement("div"),d=t.body,u=d||t.createElement("body");if(parseInt(n,10))for(;n--;)(o=t.createElement("div")).id=r?r[n]:f+(n+1),c.appendChild(o);return i=["­",'<style id="s',f,'">',e,"</style>"].join(""),c.id=f,(d?c:u).innerHTML+=i,u.appendChild(c),d||(u.style.background="",u.style.overflow="hidden",l=p.style.overflow,p.style.overflow="hidden",p.appendChild(u)),s=a(c,e),d?c.parentNode.removeChild(c):(u.parentNode.removeChild(u),p.style.overflow=l),!!s},S=function(t){var a,n=e.matchMedia||e.msMatchMedia;return n?n(t)&&n(t).matches||!1:(E("@media "+t+" { #"+f+" { position: absolute; } }",function(t){a="absolute"==(e.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position}),a)},N={}.hasOwnProperty;for(var D in d=i(N,"undefined")||i(N.call,"undefined")?function(e,t){return t in e&&i(e.constructor.prototype[t],"undefined")}:function(e,t){return N.call(e,t)},Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if("function"!=typeof t)throw TypeError();
6var a=A.call(arguments,1),n=function(){if(this instanceof n){var r=function(){};r.prototype=t.prototype;var i=new r,s=t.apply(i,a.concat(A.call(arguments)));return Object(s)===s?s:i}return t.apply(e,a.concat(A.call(arguments)))};return n}),x.backgroundsize=function(){return l("backgroundSize")},x.borderimage=function(){return l("borderImage")},x.csstransitions=function(){return l("transition")},x.fontface=function(){var e;return E('@font-face {font-family:"font";src:url("https://")}',function(a,n){var r=t.getElementById("smodernizr"),i=r.sheet||r.styleSheet,s=i?i.cssRules&&i.cssRules[0]?i.cssRules[0].cssText:i.cssText||"":"";e=/src/i.test(s)&&0===s.indexOf(n.split(" ")[0])}),e},x.svg=function(){return!!t.createElementNS&&!!t.createElementNS(_.svg,"svg").createSVGRect},x)d(x,D)&&(u[c=D.toLowerCase()]=x[D](),k.push((u[c]?"":"no-")+c));return u.input||(u.input=function(a){for(var n=0,r=a.length;n<r;n++)T[a[n]]=a[n]in m;return T.list&&(T.list=!!t.createElement("datalist")&&!!e.HTMLDataListElement),T}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),u.inputtypes=function(e){for(var n,r,i,s=0,o=e.length;s<o;s++)m.setAttribute("type",r=e[s]),(n="text"!==m.type)&&(m.value=":)",m.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(r)&&m.style.WebkitAppearance!==a?(p.appendChild(m),n=(i=t.defaultView).getComputedStyle&&"textfield"!==i.getComputedStyle(m,null).WebkitAppearance&&0!==m.offsetHeight,p.removeChild(m)):/^(search|tel)$/.test(r)||(n=/^(url|email)$/.test(r)?m.checkValidity&&!1===m.checkValidity():":)"!=m.value)),C[e[s]]=!!n;return C}("search tel url email datetime date month week time datetime-local number range color".split(" "))),u.addTest=function(e,t){if("object"==typeof e)for(var n in e)d(e,n)&&u.addTest(n,e[n]);else{if(u[e=e.toLowerCase()]!==a)return u;t="function"==typeof t?t():t,p.className+=" "+(t?"":"no-")+e,u[e]=t}return u},n(""),g=m=null,u._version="2.8.3",u._prefixes=b,u._domPrefixes=w,u._cssomPrefixes=v,u.mq=S,u.testProp=function(e){return o([e])},u.testAllProps=l,u.testStyles=E,p.className=p.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+" js "+k.join(" "),u}(this,this.document),function(e,t,a){function n(e){return"[object Function]"==h.call(e)}function r(e){return"string"==typeof e}function i(){}function s(e){return!e||"loaded"==e||"complete"==e||"uninitialized"==e}function o(){var e=m.shift();b=1,e?e.t?f(function(){("c"==e.t?u.injectCss:u.injectJs)(e.s,0,e.a,e.x,e.e,1)},0):(e(),o()):b=0}function l(e,a,n,i,l){return b=0,a=a||"j",r(e)?function e(a,n,r,i,l,c,d){function p(e){if(!y&&s(h.readyState)&&(x.r=y=1,b||o(),h.onload=h.onreadystatechange=null,e))for(var t in"img"!=a&&f(function(){w.removeChild(h)},50),k[n])k[n].hasOwnProperty(t)&&k[n][t].onload()}var d=d||u.errorTimeout,h=t.createElement(a),y=0,_=0,x={t:r,s:n,e:l,a:c,x:d};1===k[n]&&(_=1,k[n]=[]),"object"==a?h.data=n:(h.src=n,h.type=a),h.width=h.height="0",h.onerror=h.onload=h.onreadystatechange=function(){p.call(this,_)},m.splice(i,0,x),"img"!=a&&(_||2===k[n]?(w.insertBefore(h,v?null:g),f(p,d)):k[n].push(h))}("c"==a?x:_,e,a,this.i++,n,i,l):(m.splice(this.i++,0,e),1==m.length&&o()),this}function c(){var e=u;return e.loader={load:l,i:0},e}var d,u,p=t.documentElement,f=e.setTimeout,g=t.getElementsByTagName("script")[0],h={}.toString,m=[],b=0,y="MozAppearance"in p.style,v=y&&!!t.createRange().compareNode,w=v?p:g.parentNode,p=e.opera&&"[object Opera]"==h.call(e.opera),p=!!t.attachEvent&&!p,_=y?"object":p?"script":"img",x=p?"script":_,C=Array.isArray||function(e){return"[object Array]"==h.call(e)},T=[],k={},A={timeout:function(e,t){return t.length&&(e.timeout=t[0]),e}};(u=function(e){function t(e,t,a,r,i){var s=function e(t){var a,n,r,t=t.split("!"),i=T.length,s=t.pop(),o=t.length,s={url:s,origUrl:s,prefixes:t};for(n=0;n<o;n++)(a=A[(r=t[n].split("=")).shift()])&&(s=a(s,r));for(n=0;n<i;n++)s=T[n](s);return s}(e),o=s.autoCallback;s.url.split(".").pop().split("?").shift(),s.bypass||(t&&(t=n(t)?t:t[e]||t[r]||t[e.split("/").pop().split("?")[0]]),s.instead?s.instead(e,t,a,r,i):(k[s.url]?s.noexec=!0:k[s.url]=1,a.load(s.url,s.forceCSS||!s.forceJS&&"css"==s.url.split(".").pop().split("?").shift()?"c":void 0,s.noexec,s.attrs,s.timeout),(n(t)||n(o)
6)&&a.load(function(){c(),t&&t(s.origUrl,i,r),o&&o(s.origUrl,i,r),k[s.url]=2})))}function a(e,a){function s(e,i){if(e){if(r(e))i||(u=function(){var e=[].slice.call(arguments);p.apply(this,e),f()}),t(e,u,a,0,c);else if(Object(e)===e)for(l in o=function(){var t,a=0;for(t in e)e.hasOwnProperty(t)&&a++;return a}(),e)e.hasOwnProperty(l)&&(i||--o||(n(u)?u=function(){var e=[].slice.call(arguments);p.apply(this,e),f()}:u[l]=function(e){return function(){var t=[].slice.call(arguments);e&&e.apply(this,t),f()}}(p[l])),t(e[l],u,a,l,c))}else i||f()}var o,l,c=!!e.test,d=e.load||e.both,u=e.callback||i,p=u,f=e.complete||i;s(c?e.yep:e.nope,!!d),d&&s(d)}var s,o,l=this.yepnope.loader;if(r(e))t(e,0,l,0);else if(C(e))for(s=0;s<e.length;s++)r(o=e[s])?t(o,0,l,0):C(o)?u(o):Object(o)===o&&a(o,l);else Object(e)===e&&a(e,l)}).addPrefix=function(e,t){A[e]=t},u.addFilter=function(e){T.push(e)},u.errorTimeout=1e4,null==t.readyState&&t.addEventListener&&(t.readyState="loading",t.addEventListener("DOMContentLoaded",d=function(){t.removeEventListener("DOMContentLoaded",d,0),t.readyState="complete"},0)),e.yepnope=c(),e.yepnope.executeStack=o,e.yepnope.injectJs=function(e,a,n,r,l,c){var d,p,h=t.createElement("script"),r=r||u.errorTimeout;for(p in h.src=e,n)h.setAttribute(p,n[p]);a=c?o:a||i,h.onreadystatechange=h.onload=function(){!d&&s(h.readyState)&&(d=1,a(),h.onload=h.onreadystatechange=null)},f(function(){d||(d=1,a(1))},r),l?h.onload():g.parentNode.insertBefore(h,g)},e.yepnope.injectCss=function(e,a,n,r,s,l){var c,r=t.createElement("link"),a=l?o:a||i;for(c in r.href=e,r.rel="stylesheet",r.type="text/css",n)r.setAttribute(c,n[c]);s||(g.parentNode.insertBefore(r,g),f(a,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))},Modernizr.addTest("details",function(){var e,t,a,n,r=document,i=r.createElement("details");return"open"in i&&(t=r.body||(n=r.documentElement,e=!0,n.insertBefore(r.createElement("body"),n.firstElementChild||n.firstChild)),i.innerHTML="<summary>a</summary>b",i.style.display="block",t.appendChild(i),a=i.offsetHeight,i.open=!0,a=a!=i.offsetHeight,t.removeChild(i),e&&t.parentNode.removeChild(t),a)}),Modernizr.addTest("progressbar",function(){return void 0!==document.createElement("progress").max}),Modernizr.addTest("meter",function(){return void 0!==document.createElement("meter").max}),Modernizr.addTest("mathml",function(){var e=!1;if(document.createElementNS){var t="http://www.w3.org/1998/Math/MathML",a=document.createElement("div");a.style.position="absolute";var n=a.appendChild(document.createElementNS(t,"math")).appendChild(document.createElementNS(t,"mfrac"));n.appendChild(document.createElementNS(t,"mi")).appendChild(document.createTextNode("xx")),n.appendChild(document.createElementNS(t,"mi")).appendChild(document.createTextNode("yy")),document.body.appendChild(a),e=a.offsetHeight>a.offsetWidth}return e}),Modernizr.addTest("cors",!!(window.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest)),String.prototype.includes||(String.prototype.includes=function(e){return -1!==this.indexOf(e)}),String.prototype.replaceAll||(String.prototype.replaceAll=function(e,t){return"[object regexp]"===Object.prototype.toString.call(e).toLowerCase()?this.replace(e,t):this.replace(RegExp(e,"g"),t)}),/** 7 * @title WET-BOEW Vapour loader 8 * @overview Helper methods for WET 9 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 10 * @author WET Community 11 */ function(e,t,a,n){"use strict";var r,i,s=function(e){var t,n=a.createElement("a");return n.href=e,{href:n.href,absolute:n.href,host:n.host,hostname:n.hostname,port:n.port,pathname:n.pathname.replace(/^([^/])/,"/$1"),protocol:n.protocol,hash:n.hash,search:n.search,params:(t=n.search.replace(/(^\?)/,""))?t.split("&").map((function(e){return this[(e=e.split("="))[0]]=decodeURIComponent(e[1]),this}).bind({}))[0]:{}}},o=0,l=e("script[src*='wet-boew.js'],script[src*='wet-boew.min.js'],script[data-wb-core]").last(),c=function(e){let t=a.documentElement.lang;if(t.length>2){let n=["pt-BR","zh-Hans"];if(e[0].hasAttribute("data-wb-core")&&e[0].hasAttribute("data-lang-long")){let r=e.attr("data-lang-long").split(" ");n=r.concat(n)}
11-1===n.indexOf(t)&&(t=t.substring(0,2))}return t}(l),d=(r=l,(i={}).home=r.prop("src").split("?")[0].split("/").slice(0,-1).join("/"),i.asset=i.home+"/../assets",i.template=i.home+"/assets/templates",i.dep=i.home+"/deps",i.js=i.home,i.css=i.home.substring(0,i.home.length-2)+"css",i.mode=0>r.prop("src").indexOf(".min")?"":".min",r[0].hasAttribute("data-wb-core")&&e.extend(i,{home:r.attr("data-home"),asset:r.attr("data-asset"),template:r.attr("data-template"),dep:r.attr("data-dep"),js:r.attr("data-js"),css:r.attr("data-css"),mode:r.attr("data-mode")}),i),u=function(){for(var e,t=3,n=a.createElement("div"),r=n.getElementsByTagName("i");n.innerHTML="<!--[if gt IE "+(t+=1)+"]><i></i><![endif]-->",r[0];);return t>4?t:e}(),p=s(t.location.href),f=function(){var e,t="false";try{t=localStorage.getItem("wbdisable")||t}catch(a){}return"string"==typeof(e=p.params.wbdisable||t)?"true"===e.toLowerCase():Boolean(e)}(),g={"/":d.home,"/assets":d.asset,"/templates":d.template,"/deps":d.dep,lang:c,mode:d.mode,doc:e(a),win:e(t),html:e("html"),pageUrlParts:p,getUrlParts:s,isDisabled:f,isStarted:!1,isReady:!1,ignoreHashChange:!1,initQueue:0,supportsDetails:function(){return"open"in a.createElement("details")},getPath:function(e){return Object.prototype.hasOwnProperty.call(this,e)?this[e]:n},getMode:function(){return this.mode},getId:function(){var e,t,n="wb-auto-",r=[];return o||((e=a.querySelectorAll("[id^='"+n+"']")).forEach(function(e){-1!==(t=e.id.substring(n.length)).search(/^\d+$/)&&r.push(t),console.error("wb.getId: ID '"+e.id+"' isn't supposed to be hardcoded in the page. Please remove it or change its prefix to something different than '"+n+"'.")}),o=r.length?Math.max.apply(null,r):o),n+(o+=1)},init:function(e,t,r,i){var s=e.target,o=!!s,l=o?s:e,c=t+"-inited",d=l===a;return!o||d||e.currentTarget===l&&-1===l.className.indexOf(c)?(this.initQueue+=1,this.remove(r),d||(l.className+=" "+c,i||l.id||(l.id=g.getId())),l):n},ready:function(e,t,a){if(e?(e.find(g.allSelectors).addClass("wb-init").filter(":not(#"+e.attr("id")+" .wb-init .wb-init)").trigger("timerpoke.wb"),e.trigger("wb-ready."+t,a),this.initQueue-=1):this.doc.trigger("wb-ready."+t,a),!this.isReady&&this.isStarted&&this.initQueue<1){let n=new Event("wet-boew-ready");this.isReady=!0,this.doc.trigger("wb-ready.wb"),this.doc[0].dispatchEvent(n)}},other:!u,desktop:void 0===t.orientation,ie:!!u,ie6:6===u,ie7:7===u,ie8:8===u,ie9:9===u,ielt7:u<7,ielt8:u<8,ielt9:u<9,ielt10:u<10,ie11:navigator.userAgent.includes("Trident/7."),selectors:[],resizeEvents:"xxsmallview.wb xsmallview.wb smallview.wb mediumview.wb largeview.wb xlargeview.wb",drawColours:["#8d201c","#EE8310","#2a7da6","#5a306b","#285228","#154055","#555555","#f6d200","#d73d38","#418541","#87aec9","#23447e","#999999"],sessionGUID:function(){var e=sessionStorage.getItem("wb-session-GUID");return e||(e=g.guid(),sessionStorage.setItem("wb-session-GUID",e)),e},add:function(e){var t,a=!1,n=g.selectors.length;if(g.isDisabled&&"#wb-tphp"!==e)return 0;for(t=0;t!==n;t+=1)if(g.selectors[t]===e){a=!0;break}a||g.selectors.push(e)},remove:function(e){var t,a=this.selectors.length;for(t=0;t!==a;t+=1)if(this.selectors[t]===e){this.selectors.splice(t,1);break}},timerpoke:function(t){var a,n,r,i,s=g.selectors.slice(0),o=s.length;if(t){for(i=0,r=e();i!==o;i+=1)0!==(n=e(a=s[i])).length?r=r.add(n):g.remove(a);n=r.filter(":not(.wb-init .wb-init)").addClass("wb-init")}else n=e(s.join(", "));n.trigger("timerpoke.wb")},start:function(){g.allSelectors=g.selectors.join(", "),g.timerpoke(!0),this.isStarted=!0,this.ready(),setInterval(g.timerpoke,500)},i18nDict:{},i18n:function(e,t,a){var n=g.i18nDict;switch(("string"==typeof e&&""!==e)|("string"==typeof t&&""!==t)<<1|("string"==typeof a&&""!==a)<<2){case 1:return n[e];case 3:return n[e][t];case 7:return n[e][t].replace("[MIXIN]",a);default:return""}},hashString:function(e){var t,a,n=0;if(0===e.length)return n;for(a=0;a<e.length;a++)n=(n<<5)-n+(t=e.charCodeAt(a)),n&=n;return n},stripWhitespace:function(e){return e.replace(/\s+/g,"")},whenLibReady:function(e,t){e()?t():setTimeout(function(){g.whenLibReady(e,t)},50)}};t.wb=g,yepnope.addPrefix("site",function(e){return e.url=d.js+"/"+e.url,e}),yepnope.addPrefix("plyfll",function(e){var t,a=e.url;return f&&-1===a.indexOf("svg")?e.bypass=!0:d.mode||(a=a.replace(".min","")),-1!==a.indexOf(".css")?(e.forceCSS=!0,t=d.css):t=d.js,e.url=t+"/polyfills/"+a,e}),yepnope.addPrefix("i18n",function(e){return e.url=d.js+"/"+e.url+c+d.mode+".js",e}),yepnope.addPrefix("mthjx",function(e){return e.url=d.js+"/MathJax/"+e.url,e}
11),g.modernizrLoad=Modernizr.load,Modernizr.load=function(e){var t,a,n,r,i;for(Array.isArray(e)||(e=[e]),a=e.length,t=0;t!==a;t+=1)r=(n=e[t]).testReady,i=n.complete,r&&i&&(n.complete=g.whenLibReady(r,i));g.modernizrLoad(e)},Modernizr.load([{test:Modernizr.details,nope:["plyfll!details.min.js","plyfll!details.min.css"]},{test:Modernizr.input.list,nope:["plyfll!datalist.min.js","plyfll!datalist.min.css"]},{test:Modernizr.inputtypes.date,nope:["plyfll!datepicker.min.js","plyfll!datepicker.min.css"]},{test:Modernizr.inputtypes.range,nope:["plyfll!slider.min.js","plyfll!slider_wrapper.min.js","plyfll!slider.min.css"],callback:function(e){"slider.min.js"===e&&t.fdSlider.onDomReady()}},{test:Modernizr.progressbar,nope:["plyfll!progress.min.js","plyfll!progress.min.css"]},{test:Modernizr.mathml,complete:function(){var e="wb-math",n="math",r=a.getElementsByTagName(n),i=g.doc;if(r.length&&a.body.removeChild(r[r.length-1].parentNode),!Modernizr.mathml){let s=new Boolean(t.navigator.msSaveOrOpenBlob);i.one("timerpoke.wb wb-init."+e,n,function(){g.init(a,e,n),t.MathJax={options:{enableMenu:!1}},s&&(Modernizr.load("timeout=500!https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=es6"),t.MathJax.chtml={fontURL:"https://cdn.jsdelivr.net/npm/mathjax@3/es5/output/chtml/fonts/woff-v2"}),Modernizr.load([{load:["timeout=500!https://cdn.jsdelivr.net/npm/mathjax@3/es5/mml-chtml.js","plyfll!mathml.min.css"],complete:function(){setTimeout(function(){s&&!t.MathJax.startup&&(t.MathJax.chtml.fontURL=d.js+"/MathJax/output/chtml/fonts/woff-v2"),Modernizr.load([{test:t.MathJax.startup,nope:"mthjx!mml-chtml.js",complete:function(){Modernizr.load([{test:t.MathJax.startup,nope:"mthjx!MathJax.js?config=Accessible",complete:function(){g.ready(i,e)}}])}}])},100)}}])}),g.add(n)}}},{test:Modernizr.meter,nope:["plyfll!meter.min.js","plyfll!meter.min.css"]},{test:Modernizr.touch,yep:"plyfll!mobile.min.js"},{test:Modernizr.svg,nope:"plyfll!svg.min.js"},{load:"i18n!i18n/",testReady:function(){return g.i18nDict.tphp},complete:function(){g.start()}}])}(jQuery,window,document),/** 12 * @title WET-BOEW JQuery Helper Methods 13 * @overview Helper methods for WET 14 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 15 * @author WET Community 16 * Credits: https://web.archive.org/web/20130826230640/http://kaibun.net/blog/2013/04/19/a-fully-fledged-coffeescript-boilerplate-for-jquery-plugins/ 17 */ function(e,t){t.getData=function(t,a){var n,r=t.jquery?t[0]:t,i=r.getAttribute("data-"+a);if(i)try{n=JSON.parse(i),e.data(r,a,n)}catch(s){console.info(r),e.error("Bad JSON array in data-"+a+" attribute")}return n},t.download=function(e,t,a){var n=URL.createObjectURL(e),r=document.createElement("a");t=t||"unnamed",r.textContent=a||"",r.download=t,r.hidden=!0,document.body.appendChild(r),window.navigator.msSaveOrOpenBlob?(r.addEventListener("click",function(){window.navigator.msSaveOrOpenBlob(e,t)}),r.setAttribute("target","_blank")):r.href=n,r.click(),setTimeout(function(){document.body.removeChild(r)},1),setTimeout(function(){"string"==typeof n?URL.revokeObjectURL(n):n.remove()},4e4)},t.shuffleDOM=function(t){var a,n=t.get(),r=e.map(n,function(){var t=Math.floor(Math.random()*n.length),a=e(n[t]).clone(!0)[0];return n.splice(t,1),a}),i=t.length;for(a=0;a<i;a++)e(t[a]).replaceWith(e(r[a]));return e(r)},t.pickElements=function(t,a){var n,r,i,s=t.size();if((a=a||1)>s)return t.pushStack(t);if(1===a)return t.filter(":eq("+Math.floor(Math.random()*s)+")");for(r=0,n=t.get();r<s-1;r++)n[i=Math.floor(Math.random()*(s-r))+r]=n.splice(r,1,n[i])[0];return n=n.slice(0,a),t.filter(function(a){return e.inArray(t.get(a),n)>-1})},t.addSkipLink=function(e,t,a,n){var r,i=document.getElementById("wb-tphp"),s=document.createElement("li"),o=document.createElement(a?"button":"a");for(r in s.className="wb-slc",o.className="wb-sl",t)o.setAttribute(r,t[r]);return o.appendChild(document.createTextNode(e)),s.appendChild(o),n?i.appendChild(s):i.insertBefore(s,i.childNodes[2]),!0}}(jQuery,wb),function(e,t){"use strict";e.jqEscape=function(e){return e.replace(/([;&,\.\+\*\~':"\\\!\^\/#$%@\[\]\(\)=>\|])/g,"\\$1")},e.formattedNumCompareRegEx=/(<[^>]*>|[^\d.])/g,e.formattedNumCompare=function(t,a){var n,r,i=e.formattedNumCompareRegEx,s=-1===t.indexOf("-")?1:-1,o=("-"===t||""===t?"0":t.replace(i,"")).split("."),l=-1===a.indexOf("-")?1:-1,c=("-"===a||""===a?"0":a.replace(i,"")).split("."),d=o.length;for(n=0;n!==d&&0==(r=parseInt(o[n],10)*s-parseInt(c[n],10)*l);n+=1);return r},e.i18nTextCompare=function(t,a){return e.normalizeDiacritics(t).localeCompare(e.normalizeDiacritics(a))},e.normalizeDiacritics=function(e){var t,a,n={"â¶":"A",A:"A",Ã:"A",Ã:"A",Ã:"A",Ầ:"A",á
17º¤:"A",Ẫ:"A",Ẩ:"A",Ã:"A",Ä:"A",Ä:"A",Ằ:"A",Ắ:"A",Ẵ:"A",Ẳ:"A",Ȧ:"A",Ç :"A",Ã:"A",Ç:"A",Ả:"A",Ã
:"A",Ǻ:"A",Ç:"A",È:"A",È:"A",Ạ:"A",Ậ:"A",Ặ:"A",á¸:"A",Ä:"A",Ⱥ:"A",Ɐ:"A",ê²:"AA",Ã:"AE",Ǽ:"AE",Ç¢:"AE",ê´:"AO",ê¶:"AU",ê¸:"AV",êº:"AV",ê¼:"AY","â·":"B",ï¼¢:"B",á¸:"B",á¸:"B",á¸:"B",É:"B",Æ:"B",Æ:"B","â¸":"C",ï¼£:"C",Ä:"C",Ä:"C",Ä:"C",Ä:"C",Ã:"C",á¸:"C",Æ:"C",È»:"C",ê¾:"C","â¹":"D",D:"D",á¸:"D",Ä:"D",á¸:"D",á¸:"D",á¸:"D",á¸:"D",Ä:"D",Æ:"D",Æ:"D",Æ:"D",ê¹:"D",DZ:"DZ",Ç:"DZ",Dz:"Dz",Ç
:"Dz","âº":"E",ï¼¥:"E",Ã:"E",Ã:"E",Ã:"E",á»:"E",Ế:"E",á»:"E",á»:"E",Ẽ:"E",Ä:"E",á¸:"E",á¸:"E",Ä:"E",Ä:"E",Ã:"E",Ẻ:"E",Ä:"E",È:"E",È:"E",Ẹ:"E",á»:"E",Ȩ:"E",á¸:"E",Ä:"E",á¸:"E",á¸:"E",Æ:"E",Æ:"E","â»":"F",F:"F",á¸:"F",Æ:"F",ê»:"F","â¼":"G",ï¼§:"G",Ç´:"G",Ä:"G",Ḡ:"G",Ä:"G",Ä :"G",Ǧ:"G",Ä¢:"G",Ǥ:"G",Æ:"G",ê :"G",ê½:"G",ê¾:"G","â½":"H",H:"H",Ĥ:"H",Ḣ:"H",Ḧ:"H",È:"H",Ḥ:"H",Ḩ:"H",Ḫ:"H",Ħ:"H",â±§:"H",â±µ:"H",ê:"H","â¾":"I",I:"I",Ã:"I",Ã:"I",Ã:"I",Ĩ:"I",Ī:"I",Ĭ:"I",İ:"I",Ã:"I",Ḯ:"I",á»:"I",Ç:"I",È:"I",È:"I",á»:"I",Ä®:"I",Ḭ:"I",Æ:"I","â¿":"J",J:"J",Ä´:"J",É:"J","â":"K",K:"K",Ḱ:"K",Ǩ:"K",Ḳ:"K",Ķ:"K",Ḵ:"K",Æ:"K",Ⱪ:"K",ê:"K",ê:"K",ê:"K",ê¢:"K","â":"L",L:"L",Ä¿:"L",Ĺ:"L",Ľ:"L",Ḷ:"L",Ḹ:"L",Ä»:"L",Ḽ:"L",Ḻ:"L",Å:"L",Ƚ:"L",â±¢:"L",â± :"L",ê:"L",ê:"L",ê:"L",Ç:"LJ",Ç:"Lj","â":"M",ï¼:"M",Ḿ:"M",á¹:"M",á¹:"M",â±®:"M",Æ:"M","â":"N",ï¼®:"N",Ǹ:"N",Å:"N",Ã:"N",á¹:"N",Å:"N",á¹:"N",Å
:"N",á¹:"N",á¹:"N",È :"N",Æ:"N",ê:"N",ê¤:"N",Ç:"NJ",Ç:"Nj","â":"O",O:"O",Ã:"O",Ã:"O",Ã:"O",á»:"O",á»:"O",á»:"O",á»:"O",Ã:"O",á¹:"O",Ȭ:"O",á¹:"O",Å:"O",á¹:"O",á¹:"O",Å:"O",È®:"O",Ȱ:"O",Ã:"O",Ȫ:"O",á»:"O",Å:"O",Ç:"O",È:"O",È:"O",Æ :"O",á»:"O",á»:"O",á» :"O",á»:"O",Ợ:"O",á»:"O",á»:"O",Ǫ:"O",Ǭ:"O",Ã:"O",Ǿ:"O",Æ:"O",Æ:"O",ê:"O",ê:"O",Å:"OE",Æ¢:"OI",ê:"OO",È¢:"OU","â
":"P",ï¼°:"P",á¹:"P",á¹:"P",Ƥ:"P",â±£:"P",ê:"P",ê:"P",ê:"P","â":"Q",ï¼±:"Q",ê:"Q",ê:"Q",É:"Q","â":"R",ï¼²:"R",Å:"R",á¹:"R",Å:"R",È:"R",È:"R",á¹:"R",á¹:"R",Å:"R",á¹:"R",É:"R",Ɽ:"R",ê:"R",ê¦:"R",ê:"R","â":"S",ï¼³:"S",Å:"S",Ṥ:"S",Å:"S",á¹ :"S",Å :"S",Ṧ:"S",á¹¢:"S",Ṩ:"S",È:"S",Å:"S",â±¾:"S",ê¨:"S",ê:"S",áº:"SS","â":"T",ï¼´:"T",Ṫ:"T",Ť:"T",Ṭ:"T",È:"T",Å¢:"T",á¹°:"T",á¹®:"T",Ŧ:"T",Ƭ:"T",Æ®:"T",Ⱦ:"T",ê:"T",ê¨:"TZ","â":"U",ï¼µ:"U",Ã:"U",Ã:"U",Ã:"U",Ũ:"U",Ṹ:"U",Ū:"U",Ṻ:"U",Ŭ:"U",Ã:"U",Ç:"U",Ç:"U",Ç:"U",Ç:"U",Ủ:"U",Å®:"U",Ű:"U",Ç:"U",È:"U",È:"U",Ư:"U",Ừ:"U",Ứ:"U",á»®:"U",Ử:"U",á»°:"U",Ụ:"U",á¹²:"U",Ų:"U",á¹¶:"U",á¹´:"U",É:"U","â":"V",ï¼¶:"V",á¹¼:"V",á¹¾:"V",Ʋ:"V",ê:"V",É
:"V",ê :"VY","â":"W",ï¼·:"W",áº:"W",áº:"W",Å´:"W",áº:"W",áº:"W",áº:"W",â±²:"W","â":"X",X:"X",áº:"X",áº:"X","â":"Y",ï¼¹:"Y",Ỳ:"Y",Ã:"Y",Ŷ:"Y",Ỹ:"Y",Ȳ:"Y",áº:"Y",Ÿ:"Y",á»¶:"Y",á»´:"Y",Ƴ:"Y",É:"Y",Ỿ:"Y","â":"Z",Z:"Z",Ź:"Z",áº:"Z",Å»:"Z",Ž:"Z",áº:"Z",áº:"Z",Ƶ:"Z",Ȥ:"Z",Ɀ:"Z",Ⱬ:"Z",ê¢:"Z","â":"a",ï½:"a",áº:"a",à :"a",á:"a",â:"a",ầ:"a",ấ:"a",ẫ:"a",ẩ:"a",ã:"a",Ä:"a",Ä:"a",ằ:"a",ắ:"a",ẵ:"a",ẳ:"a",ȧ:"a",Ç¡:"a",ä:"a",Ç:"a",ả:"a",Ã¥:"a",Ç»:"a",Ç:"a",È:"a",È:"a",ạ:"a",áº:"a",ặ:"a",á¸:"a",Ä
:"a",â±¥:"a",É:"a",ê³:"aa",æ:"ae",ǽ:"ae",Ç£:"ae",êµ:"ao",ê·:"au",ê¹:"av",ê»:"av",ê½:"ay","â":"b",ï½:"b",á¸:"b",á¸
:"b",á¸:"b",Æ:"b",Æ:"b",É:"b","â":"c",ï½:"c",Ä:"c",Ä:"c",Ä:"c",Ä:"c",ç:"c",á¸:"c",Æ:"c",ȼ:"c",ê¿:"c",â:"c","â":"d",ï½:"d",á¸:"d",Ä:"d",á¸:"d",á¸:"d",á¸:"d",á¸:"d",Ä:"d",Æ:"d",É:"d",É:"d",êº:"d",dz:"dz",Ç:"dz","â":"e",ï½
:"e",è:"e",é:"e",ê:"e",á»:"e",ế:"e",á»
:"e",á»:"e",ẽ:"e",Ä:"e",á¸:"e",á¸:"e",Ä:"e",Ä:"e",ë:"e",ẻ:"e",Ä:"e",È
:"e",È:"e",ẹ:"e",á»:"e",È©:"e",á¸:"e",Ä:"e",á¸:"e",á¸:"e",É:"e",É:"e",Ç:"e","â":"f",ï½:"f",á¸:"f",Æ:"f",ê¼:"f","â":"g",ï½:"g",ǵ:"g",Ä:"g",ḡ:"g",Ä:"g",Ä¡:"g",ǧ:"g",Ä£:"g",Ç¥:"g",É :"g",ê¡:"g",áµ¹:"g",ê¿:"g","â":"h",ï½:"h",Ä¥:"h",ḣ:"h",ḧ:"h",È:"h",ḥ:"h",ḩ:"h",ḫ:"h",áº:"h",ħ:"h",ⱨ:"h",â±¶:"h",É¥:"h",Æ:"hv","â":"i",ï½:"i",ì:"i",Ã:"i",î:"i",Ä©:"i",Ä«:"i",Ä:"i",ï:"i",ḯ:"i",á»:"i",Ç:"i",È:"i",È:"i",á»:"i",į:"i",á¸:"i",ɨ:"i",ı:"i","â":"j",ï½:"j",ĵ:"j",ǰ:"j",É:"j","â":"k",ï½:"k",ḱ:"k",Ç©:"k",ḳ:"k",Ä·:"k",ḵ:"k",Æ:"k",ⱪ:"k",ê:"k",ê:"k",ê
:"k",ê£:"k","â"
17:"l",ï½:"l",Å:"l",ĺ:"l",ľ:"l",ḷ:"l",ḹ:"l",ļ:"l",ḽ:"l",ḻ:"l",Å:"l",Æ:"l",É«:"l",ⱡ:"l",ê:"l",ê:"l",ê:"l",Ç:"lj","â":"m",ï½:"m",ḿ:"m",á¹:"m",á¹:"m",ɱ:"m",ɯ:"m","â":"n",ï½:"n",ǹ:"n",Å:"n",ñ:"n",á¹
:"n",Å:"n",á¹:"n",Å:"n",á¹:"n",á¹:"n",Æ:"n",ɲ:"n",Å:"n",ê:"n",ê¥:"n",Ç:"nj","â":"o",ï½:"o",ò:"o",ó:"o",ô:"o",á»:"o",á»:"o",á»:"o",á»:"o",õ:"o",á¹:"o",È:"o",á¹:"o",Å:"o",á¹:"o",á¹:"o",Å:"o",ȯ:"o",ȱ:"o",ö:"o",È«:"o",á»:"o",Å:"o",Ç:"o",È:"o",È:"o",Æ¡:"o",á»:"o",á»:"o",ỡ:"o",á»:"o",ợ:"o",á»:"o",á»:"o",Ç«:"o",Ç:"o",ø:"o",Ç¿:"o",É:"o",ê:"o",ê:"o",ɵ:"o",Å:"oe",ɶ:"oe",Æ£:"oi",È£:"ou",ê:"oo","â":"p",ï½:"p",á¹:"p",á¹:"p",Æ¥:"p",áµ½:"p",ê:"p",ê:"p",ê:"p","â ":"q",ï½:"q",É:"q",ê:"q",ê:"q","â¡":"r",ï½:"r",Å:"r",á¹:"r",Å:"r",È:"r",È:"r",á¹:"r",á¹:"r",Å:"r",á¹:"r",É:"r",ɽ:"r",ê:"r",ê§:"r",ê:"r","â¢":"s",ï½:"s",Å:"s",á¹¥:"s",Å:"s",ṡ:"s",Å¡:"s",á¹§:"s",á¹£:"s",ṩ:"s",È:"s",Å:"s",È¿:"s",ê©:"s",ê
:"s",Å¿:"s",áº:"s",Ã:"ss","â£":"t",ï½:"t",ṫ:"t",áº:"t",Å¥:"t",á¹:"t",È:"t",Å£:"t",á¹±:"t",ṯ:"t",ŧ:"t",Æ:"t",Ê:"t",ⱦ:"t",ê:"t",ê©:"tz","â¤":"u",ï½:"u",ù:"u",ú:"u",û:"u",Å©:"u",á¹¹:"u",Å«:"u",á¹»:"u",Å:"u",ü:"u",Ç:"u",Ç:"u",Ç:"u",Ç:"u",á»§:"u",ů:"u",ű:"u",Ç:"u",È:"u",È:"u",ư:"u",ừ:"u",ứ:"u",ữ:"u",á»:"u",á»±:"u",ụ:"u",á¹³:"u",ų:"u",á¹·:"u",á¹µ:"u",Ê:"u","â¥":"v",ï½:"v",á¹½:"v",ṿ:"v",Ê:"v",ê:"v",Ê:"v",ê¡:"vy","â¦":"w",ï½:"w",áº:"w",áº:"w",ŵ:"w",áº:"w",áº
:"w",áº:"w",áº:"w",â±³:"w","â§":"x",ï½:"x",áº:"x",áº:"x","â¨":"y",ï½:"y",ỳ:"y",ý:"y",Å·:"y",ỹ:"y",ȳ:"y",áº:"y",ÿ:"y",á»·:"y",áº:"y",ỵ:"y",Æ´:"y",É:"y",ỿ:"y","â©":"z",ï½:"z",ź:"z",áº:"z",ż:"z",ž:"z",áº:"z",áº:"z",ƶ:"z",È¥:"z",É:"z",ⱬ:"z",ê£:"z","ï¼":"0","â":"0","âª":"0","â°":"0","\xb9":"1","â´":"1","â":"1","â¶":"1","âµ":"1","â":"1","â ":"1","ï¼":"1","\xb2":"2","â·":"2","âµ":"2","ï¼":"2","â":"2","â¶":"2","â¡":"2","â":"2","\xb3":"3","ï¼":"3","â":"3","â¶":"3","â":"3","â¸":"3","â·":"3","â¢":"3","â¸":"4","â£":"4","â":"4","ï¼":"4","â´":"4","â":"4","â¹":"4","â·":"4","â":"5","â
":"5","â¹":"5","â¸":"5","âº":"5","â¤":"5","ï¼":"5","âµ":"5","â¹":"6","â¶":"6","ï¼":"6","â»":"6","â":"6","â¥":"6","âº":"6","â":"6","ï¼":"7","â·":"7","â¼":"7","â»":"7","â":"7","â":"7","âº":"7","â¦":"7","â§":"8","â":"8","â¼":"8","â»":"8","â¸":"8","ï¼":"8","â½":"8","â":"8","â½":"9","ï¼":"9","â":"9","â¾":"9","â¼":"9","â":"9","â¨":"9","â¹":"9"},r=e.split(""),i=r.length,s=!1;for(t=0;t!==i;t+=1)a=r[t],Object.prototype.hasOwnProperty.call(n,a)&&(r[t]=n[a],s=!0);return s?r.join(""):e},e.string={pad:function(e,t){var a,n=e+"",r=t-n.length;for(a=0;a!==r;a+=1)n="0"+n;return n},base64ToArrayBuffer:function(e){var a,n=t.atob(e),r=n.length,i=new Uint8Array(r);for(a=0;a<r;a++)i[a]=n.charCodeAt(a);return i.buffer},arrayBufferToBase64:function(e){var a,n="",r=new Uint8Array(e),i=r.byteLength;for(a=0;a<i;a++)n+=String.fromCharCode(r[a]);return t.btoa(n)},fromHexString:function(e){return null===e?null:Uint8Array.from(e.match(/.{1,2}/g).map(function(e){return parseInt(e,16)}))},toHexString:function(e){return e.reduce(function(e,t){return e+t.toString(16).padStart(2,"0")},"")}},e.date={convert:function(e){var t=e.constructor;switch(t){case Date:return t;case Array:return new Date(e[0],e[1],e[2]);case Number:case String:return new Date(e);default:return"object"==typeof e?new Date(e.year,e.month,e.date):NaN}},compare:function(t,a){var n=e.date.convert;return isFinite(t=n(t).valueOf())&&isFinite(a=n(a).valueOf())?(t>a)-(t<a):NaN},toDateISO:function(t,a){var n=e.date.convert(t),r=e.string.pad;return n.getFullYear()+"-"+r(n.getMonth()+1,2,"0")+"-"+r(n.getDate(),2,"0")+(a?" "+r(n.getHours(),2,"0")+":"+r(n.getMinutes(),2,"0"):"")},fromDateISO:function(e){var t=null;return e&&/\d{4}-\d{2}-\d{2}/.test(e)&&(t=new Date(e.substr(0,4),e.substr(5,2)-1,e.substr(8,2),0,0,0,0)),t}},e.guid=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})},e.escapeAttribute=function(e){return e.replace(/'/g,"'").replace(/"/g,""")},e.escapeHTML=function(t){return e.escapeAttribute(t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"))}
17,e.decodeUTF8Base64=function(e){return decodeURIComponent(escape(atob(e)))},e.findPotentialPII=function(e,t,a){if(e&&"string"!=typeof e)return!1;var n,r={digits:/\d(?:[\s\-\\.\\/]?\d){8,}(?!\d)/ig,phone:/\+?(\d{1,3})?[-._\s]?(\(?\d{3}\)?)[-._\s]?(\d{3})[-._\s]?(\d{4})/ig,passport:/\b[A-Za-z]{2}[\s\\.-]*?\d{6}\b/ig,email:/\b(?:[a-zA-Z0-9_\-\\.]+)(?:@|%40|%2540)(?:[a-zA-Z0-9_\-\\.]+)\.(?:[a-zA-Z]{2,5})\b/ig,looseEmail:/([a-zA-Z0-9_\-.]+)\s*@([\sa-zA-Z0-9_\-.]+)[.,]([a-zA-Z]{1,5})/g,looseEmail2:/([a-zA-Z0-9._%+-]+)\s?@\s?(gmail|outlook|icloud|hotmail|yahoo)(\s?\.?\s?(com|ca))?/ig,postalCode:/\b[A-Za-z]\d[A-Za-z][ -]?\d[A-Za-z]\d\b/ig,username:/(?:(username|user)[%20]?([:=]|(%EF%BC%9A))[^\s&]*)/ig,password:/(?:(password|pass)[%20]?([:=]|(%EF%BC%9A))[^\s&]*)/ig},i=!1,s=a&&a.replaceWith?a.replaceWith:"",o="object"==typeof t||t,l=a||{},c=l.useFullBlock||!1,d="object"==typeof t?{}:r;if(l=$.extend({},{isCustomExclusive:!1,useFullBlock:!1,replaceWith:""},l),0===Object.keys(d).length){if(l.isCustomExclusive)for(var u in t)t[u]instanceof RegExp&&(d[u]=t[u]);else if(1===Object.keys(t).length&&Object.values(t)[0]instanceof RegExp)(d=r)[Object.keys(t)[0]]=Object.values(t)[0];else for(var p in t)Object.prototype.hasOwnProperty.call(r,p)?d[p]=r[p]:t[p]instanceof RegExp&&(d[p]=t[p])}for(var f in d)(n=e.match(d[f]))&&(i=!0,o&&(s=c?"â".repeat(n[0].length):s,e=e.replaceAll(d[f],s)));return o&&i?e:i}}(wb,window),function(e,t){"use strict";var a,n={default:"wet-boew"};a={init:function(t){return e.extend(n,t||{})},show:function(a){e(this).each(function(){var n=e(this);n.attr("aria-hidden","false"),a===t&&n.removeClass("wb-inv")})},hide:function(a){e(this).each(function(){var n=e(this);if(n.attr("aria-hidden","true"),a===t)return n.addClass("wb-inv")})},toggle:function(t,a){e(this).addClass(t).removeClass(a)}},e.fn.wb=function(t){a[t]?a[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?e.error("Method "+t+" does not exist on jquery.wb"):a.init.apply(this,arguments)}}(jQuery),function(e){"use strict";function t(t,n,r){var i,s,o,l=t.nodeName.toLowerCase();return"area"===l?(s=(i=t.parentNode).name,!!t.href&&!!s&&"map"===i.nodeName.toLowerCase()&&!!(o=e("img[usemap=#"+s+"]")[0])&&a(o)):r?(/input|select|textarea|button|object|summary/.test(l)?!t.disabled:"a"===l&&t.href||n)&&a(t):/input|select|textarea|button|object|summary/.test(l)?!t.disabled:"a"===l&&t.href||n}function a(t){return e.expr.filters.visible(t)&&!e(t).parents().addBack().filter(function(){return"hidden"===e.css(this,"visibility")}).length}e.extend(e.expr.pseudos,{data:function(t,a,n){return!!e.data(t,n[3])},focusable:function(a){return t(a,!isNaN(e.attr(a,"tabindex")),!0)},discoverable:function(a){return t(a,!isNaN(e.attr(a,"tabindex")))},tabbable:function(a){var n=e.attr(a,"tabindex"),r=isNaN(n);return(r||n>=0)&&t(a,!r)}})}(jQuery),/** 18 * @title WET-BOEW Add to calendar 19 * @overview Create an add to calendar button for an event 20 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 21 * @author @ricokola 22 */ function(e,t){"use strict";var a="wb-addcal",n=".provisional."+a,r=t.doc,i=function(r){var i=t.init(r,a,n),o=e(i);if(i){t.ready(e(i),a);var l,c,d,u,p,f=i.querySelectorAll("[property]"),g={},h=[],m={en:{"addcal-addto":"Add to","addcal-calendar":"calendar","addcal-other":"Other (Outlook, Apple, etc.)"},fr:{"addcal-addto":"Ajouter au","addcal-calendar":"calendrier","addcal-other":"Autre (Outlook, Apple, etc.)"}};for(l=0,m={addto:(m=m[e("html").attr("lang")||"en"])["addcal-addto"],calendar:m["addcal-calendar"],ical:m["addcal-other"]},g.dtStamp=s(e("time[property='dateModified']")),c=f.length;l<c;l++)switch((d=f[l]).getAttribute("property")){case"name":e(d).parentsUntil("."+a,"[typeof=Place]").length?g.placeName=d.textContent:g.name=d.textContent;break;case"description":g.description=d.textContent.replace(/(\r\n|\n|\r)/gm," ");break;case"startDate":g.sDate=s(e("time[property='startDate']",o));break;case"endDate":g.eDate=s(e("time[property='endDate']",o));break;case"location":d.getAttribute("typeof")&&("VirtualLocation"!==d.getAttribute("typeof")||e(d).find("[property=url]").length)||(g.placeName=d.textContent);break;case"streetAddress":g.placeAddress=d.textContent;break;case"addressLocality":g.placeLocality=d.textContent;break;case"addressRegion":g.placeRegion=d.textContent;break;case"postalCode":g.placePostalCode=d.textContent;break;case"url":e(d).parentsUntil("."+a,"[property=location]").length&&(g.placeName=d.textContent)}if(h.push(g.placeName||"",g.placeAddress||"",g.placeLocality||"",g.placeRegion||"",g.placePostalCode||""),g.name){if(g.sDate){if(!g.eDate)throw a+": End date is missing."}else throw a+": Start date is missing."}else throw a+": Event title is missing.";g.uid=window.location.href.replace(/\.|-|\/|:|[G-Zg-z]/g,"").toUpperCase().substr(-10)+"-"+g.sDate+"-"+g.dtStamp,u=encodeURI("https://www.google.com/calendar/render?action=TEMPLATE&text="+g.name+"&details="+g.description+"&dates="+g.sDate+"/"+g.eDate+"&location="+h.join(" ")),p="BEGIN:VCALENDAR\nVERSION:2.0\nPRODID:-//WET-BOEW//Add to Calendar v4.0//\n
22BEGIN:VEVENT\nDTSTAMP:"+g.dtStamp+"\nSUMMARY:"+g.name+"\nDESCRIPTION:"+g.description+"\nUID:"+g.uid+"\nDTSTART:"+g.sDate+"\nDTEND:"+g.eDate+"\nLOCATION:"+h.join(" ")+"\nEND:VEVENT\nEND:VCALENDAR",i.dataset.icsFile=p,o.append("<details class='max-content "+a+"-buttons'><summary>"+m.addto+" "+m.calendar+"</summary><ul class='list-unstyled mrgn-bttm-0'><li><a class='btn btn-link' href='"+u.replace(/'/g,"%27")+"' target='_blank' rel='noreferrer noopener'>Google<span class='wb-inv'>"+m.calendar+"</span></a></li><li><button class='btn btn-link download-ics'>"+m.ical+"<span class='wb-inv'>Calendar</span></button></li></ul></details>")}t.ready(e(i),a)},s=function(e){return e=e.is("[datetime]")?e.attr("datetime"):e.text(),new Date(e).toISOString().replace(/\..*[0-9]/g,"").replace(/-|:|\./g,"")};r.on("click",".download-ics",function(n){var r=e(n.currentTarget).parentsUntil("."+a).parent()[0];r=e(r).attr("data-ics-file"),t.download(new Blob([r],{type:"text/calendar;charset=utf-8"}),"evenement-gc-event.ics")}),r.on("timerpoke.wb wb-init."+a,n,i),t.add(n)}(jQuery,wb),/** 23 * @title WET-BOEW Ajax Fetch [ ajax-fetch ] 24 * @overview A basic AjaxLoader wrapper for WET-BOEW 25 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 26 * @author WET Community 27 */ function(e,t,a){"use strict";t.doc.on("ajax-fetch.wb",function(n){var r,i,s,o=n.element||n.target,l=n.fetch,c=l.url.split(" "),d=c[0],u=d.split("#"),p=u[1],f=c[1]||!!p&&"#"+p,g={},h=l.nocache,m=l.nocachekey||t.cacheBustKey||"wbCacheBust";f&&(l.url=c[0],c[1]&&(f=c.slice(1).join(" "))),h&&(i=m+"="+(i="nocache"===h?t.guid():t.sessionGUID()),d=-1!==(s=u[0]).indexOf("?")?s+"&"+i+(p?"#"+p:""):s+"?"+i+(p?"#"+p:""),l.url=d),(o===n.target||n.currentTarget===n.target)&&(o.id||(o.id=t.getId()),r=o.id,l.dataType&&"jsonp"===l.dataType&&(l.dataType="json"),l.jsonp&&(l.jsonp=!1),e.ajax(l).done(function(n,i,s){var o=typeof n;if(f&&(n=e("<div>"+n+"</div>").find(f)),g.pointer=e("<div id='"+t.getId()+"' data-type='"+o+"'></div>").append("string"===o?n:""),s.responseJSON)n=s.responseText;else try{n=e(n)}catch(l){n=a.sanitize(s.responseText)}g.response=n,g.hasSelector=!!f,g.status=i,g.xhr=s,e("#"+r).trigger({type:"ajax-fetched.wb",fetch:g},this)}).fail(function(t,a,n){e("#"+r).trigger({type:"ajax-failed.wb",fetch:{xhr:t,status:a,error:n}},this)},this))})}(jQuery,wb,DOMPurify),/** 28 * @title WET-BOEW Set background image 29 * @overview Apply a background image or detects the change in screen width and replace the background image accordingly 30 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 31 * @author @namjohn920, @duboisp 32 */ function(e,t){"use strict";var a=t.doc,n=t.win,r="wb-bgimg",i="[data-bgimg-srcset], [data-bgimg]",s={},o=[],l=function(a){var l,d,u,p,f,g,h,m,b,y;if(l=t.init(a,r,i)){if(l.id||(l.id=t.getId()),d=l.id,(u=l.dataset.bgimg)&&(l.style.backgroundImage="url("+u+")"),p=l.dataset.bgimgSrcset){for(o.push(l.id),h=(f=l.dataset.bgimgSrcset.split(",")).length,s[d]=[],g=0;g<h;g++)b=(m=f[g].trim().split(" "))[0],y=parseInt((y=m[m.length-1]).substring(0,y.length-1)),s[d].push([b,y]);s[d].sort(function(e,t){return e[1]>t[1]?1:-1}),c(),n.on("resize",c)}t.ready(e(l),r)}},c=function(){var e,t,a,n,r,i,l,c,d=window.innerWidth,u={},p=o.length;for(e=0;e<p;e++){for(t=0,a=1/0,r=(n=s[o[e]]).length;t<r;t++)(i=n[t])[1]>=d&&a>i[1]&&(a=i[1],u[o[e]]=i[0]);a===1/0&&(u[o[e]]=n[r-1][0])}for(l in u)c=document.getElementById(l),"https://wet-boew.github.io/vocab/wb/utilities#no-image"===u[l]?c.style.backgroundImage="none":c.style.backgroundImage="url("+u[l]+")"};a.on("timerpoke.wb wb-init."+r,i,l),t.add(i)}(jQuery,wb),/** 33 * @title WET-BOEW Events Calendar 34 * @overview Dynamically generates a calendar interface for navigating a list of events. 35 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 36 * @author WET Community 37 */ function(e,t,a){"use strict";var n="wb-calevt",r="."+n,i=n+"-cal",s="."+i,o="ev-details",l="focus",c=n,d=a.doc,u="hidden",p=function(t){var i,s=a.init(t,n,r);s&&(i=e(s),e.when.apply(e,e.map(i.find("[data-calevt]"),f)).always(function(){g(i),a.ready(i,n)}))},f=function(t){var a,n,r=e(t),i=r.data("calevt").split(/\s+/),s=e.Deferred(),o=i.length,l=[];for(a=0,n=function(e){r.append(String(e).trim())};a<o;a+=1)l.push(e.get(i[a],n,"html"));return e.when.apply(e,l).always(function(){s.resolve()}),s.promise()},g=function(r){var s,o,l,d,u,p,f,g,h,y=e.extend({},t[n],r.data(c)),v=new Date,w=v.getTime();l=m(r),u=e("#"+(d=r.data("calevtSrc"))).addClass(i),s=y.year,o=y.month,r.data("calevtMinDate")&&(p=_(r.data("calevtMinDate"))),r.data("calevtMaxDate")&&(f=_(r.data("calevtMaxDate"))),(!p||l.minDate<p)&&(p=l.minDate),(!f||l.maxDate>f)&&(f=l.maxDate),g=p.getTime(),h=f.getTime(),!s&&g<w&&w<h?s=v.getFullYear():!s&&w<g?s=p.getFullYear():!s&&h<w&&(s=f.getFullYear()),!o&&g<w&&v.getTime()<h?o=v.getMonth():!o&&w<g?o=p.getMonth():!o&&h<w&&(o=f.getMonth()),a.calendar.create(u,{year:s,month:o,minDate:p,maxDate:f,daysCallback:b,events:l.list,$events:r})},h=function(e,t){var n,r=a.date.convert(e),i=a.date.convert(t),s=0;return r.setHours(0),r.setMinutes(0),r.setSeconds(0),i.setHours(0),i.setMinutes(0),i.setSeconds(0),s=i>r?(i.getTimezoneOffset()-r.getTimezoneOffset())*6e4:(r.getTimezoneOffset()-i.getTimezoneOffset())*6e4,Math.
37ceil((n=Math.abs(i.getTime()-r.getTime())-s)/864e5)},m=function(t){var n,r,i,s,o,l,c,d,u,p,f,g,m,b,y,v,w,_,x=!e(t).hasClass("evt-anchor"),C={minDate:null,maxDate:null,iCount:0,list:[{a:1}]},T=t.find("ul, ol").first().find("> li:not(.wb-fltr-out)"),k=T.length,A=/datetime\s+\{date:\s*(\d+-\d+-\d+)\}/;for(n=0;n!==k;n+=1)if(i=(r=T.eq(n))[0],w=(s=r.find("*:header:first")).attr("class"),o=s.text(),c=(l=r.find("a")[0]).getAttribute("href"),d=l.getAttribute("target"),v=1,x||(u=i.id||a.getId(),i.id=u,c="#"+u),(p=new Date).setHours(0,0,0,0),0!==(f=i.getElementsByTagName("time")).length){for((m="time"===(g=f[0]).nodeName.toLowerCase()?g.getAttribute("datetime").substr(0,10).split("-"):g.className.match(A)[1].substr(0,10).split("-"))[1]=m[1]-1,p.setFullYear(m[0],m[1],m[2]),1!==f.length&&((b="time"===(g=f[1]).nodeName.toLowerCase()?g.getAttribute("datetime").substr(0,10).split("-"):g.className.match(A)[1].substr(0,10).split("-"))[1]=b[1]-1,v+=h(m,b)),y=0;y!==v;y+=1)0!==y&&(p=new Date(p.setDate(p.getDate()+1))),(null===C.minDate||p<C.minDate)&&(C.minDate=p),(null===C.maxDate||p>C.maxDate)&&(C.maxDate=p),C.list[C.iCount]={title:o,date:new Date(p.getTime()),href:c,target:d},_="filter-"+p.getFullYear()+"-"+a.string.pad(p.getMonth()+1,2),w?-1===w.indexOf(_)&&(w+=" "+_):w=_,C.iCount+=1;s.attr("class",w)}return C.list.sort(function(e,t){return e.date-t.date}),C},b=function(t,a,n){var r,i,s,o,l,c,d,u,p=this.events;for(r=0,i=p.length;r!==i;r+=1)if((s=(d=p[r]).date).getFullYear()===t){if((u=s.getMonth())>a)break;s.getMonth()===a&&(1!==(c="A"!==(l=e(n[o=s.getDate()-1])).parent().get(0).nodeName?l.next():l.parent().next()).length&&(c=e("<ul></ul>").insertAfter(l),o&&"A"===n[o-1].parentNode.nodeName?l.wrap("<a class='cal-evt' tabindex='-1'></a>"):l.wrap("<a class='cal-evt'></a>"),l.parent().attr("href","javascript:;")),c.append("<li><a tabindex='-1' class='cal-evt-lnk' href='"+d.href+"'>"+d.title+"</a></li>"))}},y=function(e,t){this.find("li.cal-disp-onshow").addClass(u).has(":header[class*=filter-"+e+"-"+a.string.pad(parseInt(t,10)+1,2)+"]").removeClass(u)},v=function(){e(this).next().addClass(o)},w=function(){var t=e(this).closest("td");setTimeout(function(){0===t.find("a:focus").length&&t.find("ul").removeClass(o).find("a").attr("tabindex","-1")},5)},_=function(e){var t=new Date,a=e.split("-");return a[1]=a[1]-1,t.setFullYear(a[0],a[1],a[2]),t};d.on("timerpoke.wb wb-init"+r+" wb-redraw"+r,r,function(t){var a=t.type,n=t.currentTarget.dataset.calevtSrc;switch(a){case"timerpoke":case"wb-init":p(t);break;case"wb-redraw":var i=e("#"+t.target.id);e("#"+n+" .wb-clndr").remove(),g(i),i.trigger("wb-updated"+r)}}),d.on("wb-navigate.wb-clndr",s,function(e){var t,a=e.target.lib;a&&(t=a.$events)&&(y.call(t,e.year,e.month),t.trigger("wb-updated"+r))}),d.on("focusin focusout keydown",s+" .cal-evt",function(t){var a,n=t.type;switch(n){case"focusin":v.call(t.target);break;case"focusout":w.call(t.target);break;case"keydown":a=e(t.target),(13===t.which||32===t.which)&&a.hasClass("cal-evt")&&e(t.target).next().find("a:first").trigger(l)}}),d.on("keydown",s+" td > ul li",function(t){var a,n,r=e(t.currentTarget);switch(t.which){case 38:0===(a=r.prev().find("a")).length&&(a=r.siblings(":last").find("a")),a.trigger(l);break;case 40:0===(a=r.next().find("a")).length&&(a=r.siblings(":first").find("a")),a.trigger(l);break;case 27:(n=r.closest("td").children("a")).trigger(l)}}),d.on("focusout",s+" td > ul",function(e){w.call(e.target)}),a.add(r)}(jQuery,window,wb),function(e,t,a,n,r,i){var s,o,l=r.doc,c=".wb-clndr",d="wb-navigate"+c,u=!1,p=new Date,f=p.getFullYear(),g={year:f,month:p.getMonth(),minDate:new Date(f,0,1),maxDate:new Date(f,11,31)},h=function(){var t,a,n=r.i18n;t=(s={monthNames:n("mnths"),prevMonth:n("prvMnth"),nextMonth:n("nxtMnth"),goToYear:n("cal-goToYr"),goToMonth:n("cal-goToMnth"),dayNames:n("days"),currDay:n("currDay"),format:n("cal-format"),calendar:n("cal")}).dayNames,a=s.monthNames,o=e("<div class='wb-clndr' role='application' aria-label='"+s.calendar+"'><div class='cal-nav'><span class='wb-inv current-month' aria-live='polite'></span><button type='button' class='btn pull-left cal-month-prev'><span class='glyphicon glyphicon-arrow-left' aria-hidden='true'></span><span class='wb-inv'>"+s.prevMonth+"<span></span></span></button><button type='button' class='btn pull-right cal-month-next'><span class='glyphicon glyphicon-arrow-right' aria-hidden='true'></span><span class='wb-inv'>"+s.nextMonth+"<span></span></span></button><div class='form-group'><label><span class='wb-inv'>"+s.goToYear+"</span><select class='cal-year'></select></label>\n<label><span class='wb-inv'>"+s.goToMonth+"</span><select class='cal-month'>"+function(){var e,t="";for(e=0;e<12;e+=1)t+="<option value='"+e+"'>"+a[e]+"</option>";return t}()+"</select></label></div></div><table><thead><tr>"+function(){var e,a="";for(e=0;e<7;e+=1)a+="<th><abbr title='"+t[e]+"'>"+t[e].substr(0,1)+"</abbr></th>";return a}()+"</tr></thead><tbody class='cal-days'></tbody></table></div>"),u=!0},m=function(e,t){var a,n,r={reInit:b};return u||h(),n=(a=o.clone()).get(0),r.$o=a,r.o=n,n.lib=r,a.appendTo(e),r.reInit(t),r},b=function(t){var a,n,r,s,o="",l=this.$o;for((t=t||{}).year!==i&&t.month!==i?(s={minDate:new Date(t.year,0,1),maxDate:new Date(t.year,11,31)},e.extend(this,s,t)):e.extend(this,g),n=this.maxDate.getFullYear(),a=l.find(".cal-year").empty(),r=this.minDate.getFullYear();r<=n;r+=1)o+="<option value='"+r+"'>"+r+"</option>";a.append(o),l.trigger({type:d,year:this.year,month:this.month,initEvent:!0})},y=function(a,n,r){var i,o,l,c,d,u,p,f,g,h,m,b,y,w,_,x,C,T=e(a).find(".cal-days"),k=T.get(0),A=1,E=s.currDay,S=a.lib,N=S.minDate,D=S.maxDate,O=S.daysCallback;for(c=(l=new Date(n,r,1)).getDay(),l.setMonth(r+1,0),d=l.getDate(),u=(l=new Date).getFullYear(),p=l.getMonth(),f=l.getDate(),T.empty(),g=1;g<7;g+=1){for(h=0,i=k.insertRow();h<7;h+=1)1===g&&h<c||A>d?((o=i.insertCell()).classList.add("cal-empty"),o.textContent=" "):(b=A===f&&r===p&&n===u,m="cal-index-"+A+(b?" cal-curr-day ":""),l.setFullYear(n,r,A),y=l.toLocalISOString().substr(0,10),w=v(l)+(b?"<span class='wb-inv'>"+E+"</span>":""),(o=i.insertCell()).setAttribute("class",m),o.innerHTML=t.sanitize("<time datetime='"+y+"'>"+w+"</time>"),A>=d&&(_=!0),A+=1);if(_)break}O&&(x=T.find("time"),C={},n===N.getFullYear()&&r===N.getMonth()&&(C.min=N.getDate()-1),n===D.getFullYear()&&r===D.getMonth()&&(C.max=D.getDate()-1),O.call(a.lib,n,r,x,C))},v=function(e){var t=s.dayNames,a=s.monthNames;return s.format.replace(/\{ddd\}|\{d\}|\{M\}|\{Y\}/g,function(n){switch(n){case"{ddd}":return t[parseInt(e.getDay(),10)];case"{d}":return parseInt(e.getDate(),10);case"{M}":return a[parseInt(e.getMonth(),10)];case"{Y}":return e.getFullYear()}})};r.calendar={create:m},l.on(d,c,function(t){var a=t.currentTarget,n=e(a),r=t.year,o=t.month,l=a.lib,c=l.maxDate.getFullYear(),d=l.maxDate.getMonth(),u=l.minDate.getFullYear(),p=l.minDate.getMonth(),f=n.find(".cal-month-prev"),g=n.find(".cal-month-next"),h=n.find(".cal-month"),m="disabled";r!==i&&(l.year=r),o!==i&&(l.month=o),n.find(".cal-year").val(r),h.val(o
37),h.children(":"+m).removeAttr(m),r<u||r===u&&o<=p?f.attr(m,m):f.removeAttr(m),r>c||r===c&&o>=d?g.attr(m,m):g.removeAttr(m),r===u&&h.children(":lt("+p+")").attr(m,m),r===c&&h.children(":gt("+d+")").attr(m,m),y(t.currentTarget,t.year,t.month),t.initEvent||n.find(".current-month").text(s.monthNames[o]+" "+r)}),l.on("change",c,function(t){var a,n,r=t.target,i=t.currentTarget;switch(r.className){case"cal-year":a=parseInt(r.value,10),n=i.lib.month;break;case"cal-month":a=i.lib.year,n=parseInt(r.value,10)}e(i).trigger({type:d,year:a,month:n})}),l.on("click",".cal-month-prev, .cal-month-next",function(t){var a=e(t.currentTarget).closest(c),n=a.get(0),i=-1!==t.currentTarget.className.indexOf("cal-month-prev")?-1:1,s=new Date(n.lib.year,n.lib.month+i,1);a.trigger({type:d,year:s.getFullYear(),month:s.getMonth()}),r.ie11&&a.trigger("focusin")}),l.on("keydown",c,function(t){var a,n,r,i,s,o=t.currentTarget,l=e(t.currentTarget).find(".cal-days"),c=t.target,u=t.which,p=o.lib,f=new Date(p.year,p.month,1),g=p.minDate,h=p.maxDate,m=new Date(f),b=!0;if(!t.altKey&&!t.metaKey&&u>32&&u<41){switch(n=null!==(a=c.parentNode.className.match(/cal-index-(\d{1,2})/)),u){case 33:f.setDate(g.getDate());case 34:i=33===u?-1:1,t.ctrlKey||t.shiftKey||t.altKey?f.setYear(f.getFullYear()+i):f.setMonth(f.getMonth()+i)}if(n)switch(s=parseInt(a[1],10),f.setMonth(f.getMonth()+1,0),r=f.getDate(),f.setDate(s>r?r:s),u){case 35:f.setDate(r);break;case 36:f.setDate(1);break;case 37:f.setDate(s-1);break;case 38:f.setDate(s-7);break;case 39:f.setDate(s+1);break;case 40:f.setDate(s+7)}return(f<g||f>h)&&(35===u?f.setDate(h.getDate()):36===u?f=g:b=!1),b&&(f.getMonth()!==m.getMonth()||f.getFullYear()!==m.getFullYear())&&e(o).trigger({type:d,year:f.getFullYear(),month:f.getMonth()}),n&&l.find(".cal-index-"+f.getDate()+" a:first").focus(),t.preventDefault(),!1}}),function(){function e(e){return e<10?"0"+e:e}Date.prototype.toLocalISOString=function(){var t=this.getTimezoneOffset();return 0===t?this.toISOString():this.getFullYear()+"-"+e(this.getMonth()+1)+"-"+e(this.getDate())+"T"+e(this.getHours())+":"+e(this.getMinutes())+":"+e(this.getSeconds())+"."+(this.getMilliseconds()/1e3).toFixed(3).slice(2,5)+(t<0?"+":"-")+e(Math.floor(Math.abs(t/60)))+":"+e(t%60)},Date.prototype.toISOString||(Date.prototype.toISOString=function(){return this.getUTCFullYear()+"-"+e(this.getUTCMonth()+1)+"-"+e(this.getUTCDate())+"T"+e(this.getUTCHours())+":"+e(this.getUTCMinutes())+":"+e(this.getUTCSeconds())+"."+(this.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"})}()}(jQuery,DOMPurify,window,document,wb),/** 38 * Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW) 39 * @title Charts and Graph 40 * @overview Draw charts from an html simple and complex data table 41 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 42 * @author @duboisp 43 * 44 */ function(e,t,a,n){"use strict";var r,i,s="wb-charts",o="."+s,l=n.doc,c=function(a){var r,l,c,d,u,p,f,g,h,m,b,y,v,w,_,x,C,T,k,A,E,S,N,D,O,j,I,L,M,P,B,R,F,U=[],H=[],q=[],z=0,Y=e("caption",a),V=Y.html()||"",W=Y.text()||"",G=0,K=/[^+\-., 0-9]+[^\-+0-9]*/,J={flot:{prefix:"wb-charts-",defaults:{colors:n.drawColours,canvas:!0,xaxis:{ticks:{}}},line:{},area:{lines:{show:!0,fill:!0}},bar:{bars:{show:!0,barWidth:1,align:"center"}},pie:{series:{pie:{show:!0}},fn:{"/series/pie/label/formatter":function(e,t){var a;return R.decimal?(a=Math.round(t.percent*Math.pow(10,R.decimal)),a/=Math.pow(10,R.decimal)):a=Math.round(t.percent),R.nolegend&&(a=e+"<br />"+a),a+"%"}}},donut:{base:"pie",series:{pie:{radius:1,label:{show:!0,radius:1,threshold:.08},tilt:.5,innerRadius:.45,startAngle:1}},grid:{hoverable:!0}},slicelegend:{base:"pie",series:{pie:{radius:1,label:{radius:1,show:!0,threshold:.05},combine:{threshold:.05,color:"#555",label:i.slicelegend}}},fn:{"/series/pie/label/formatter":function(e){return e}}}},series:{prefix:"wb-charts-",defaults:{},line:{},area:{lines:{show:!0,fill:!0}},bar:{bars:{show:!0,barWidth:1,align:"center"}},stacked:{base:"bar"}},charts:{prefix:"wb-charts-",defaults:{graphclass:"wb-graph",noencapsulation:!1,labelposition:!1,referencevalue:!1,legendinline:!1,nolegend:!1,decimal
44:0,width:a.width(),height:a.height(),reversettblparsing:!1,fn:{"/getcellvalue":function(t){var a=String(t.dataset.wbChartsValue||e(t).text()).trim();return[parseFloat(a.replace(/(\d{1,3}(?:(?: |,)\d{3})*)(?:(?:.|,)(\d{1,2}))?$/,function(e,t,a){return t.replace(/ |,/g,"")+"."+a||"0"}),10),a.match(K)]}}},donut:{decimal:1}}};function Z(e,t,a){var n,r;if(!(n=a[e]))return t;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[e][r]=n[r]);return t}function X(t,a,r){var i,s,o,l,c,d,u,p,f,g,h,m,b=e.extend(!0,{},t.defaults||t),y=e.extend(!0,{},t.defaults&&t.defaults.fn||{}),v=a.attr("class")||"";if(v.length)for(s=0,u=(d=t.prefix||"").length,o=(i=v.split(" ")).length;s!==o;s+=1)!((c=(l=i[s]).length)<=u)&&l.slice(0,u)===d&&(p=t[l=l.slice(u,c)])&&(p.base&&(b=e.extend(!0,b,t[p.base]),y=e.extend(!0,y,t[p.base].fn||{})),b=e.extend(!0,b,p),y=e.extend(!0,y,p.fn||{}));for(f in b=e.extend(!0,b,n.getData(a,r)),y)if(Object.prototype.hasOwnProperty.call(y,f)){for(s=0,g=f.split("/"),m=b,o=g.length-1;s!==o;s+=1)""!==(h=g.shift())&&(m[h]||(m[h]={}),m=m[h]);m[h=g.shift()]=y[f]}return b}function Q(e,t){var a,n,r,i=e.child.length,s=1;if(0===i)return s;for(s*=n=i*t,a=0;a!==i;a+=1)0!==(r=e.child[a]).child.length&&(s*=Q(r,n));return s}function ee(e,t,a,n,r){var i,s,o,l=0;for(i=0,s=e.cell.length;i!==s;i+=1)if(o=e.cell[i],(0===i||o.uid!==e.cell[i-1].uid)&&(!r||!(o.colpos<r))){if(D){if(o.rowgroup&&3===o.rowgroup.type)break}else if(o.colgroup&&3===o.colgroup.type)break;o.child>0&&t<n?o.flotDelta=a*o.child.length:o.flotDelta=a,(1===o.type||7===o.type)&&((!p||o.flotDelta<p)&&(p=o.flotDelta),o.flotValue=l,l+=a,o.child.length>0&&et(o,t,a,n))}}function et(e,t,a,n){var r,i,s,o,l=0;for(t+=1,l=e.flotValue,r=a/e.child.length,(!p||r<p)&&(p=r),i=0,s=e.child.length;i!==s;i+=1)o=e.child[i],t<n?o.flotDelta=r*o.child.length:o.flotDelta=r,o.flotValue=l,o.child.length>0&&et(o,t,r,n),l+=r}function ea(e,t){var a,n,r,i,s,o,l,c,d;for(a=t-1;-1!==a;a-=1)for(n=0,i=(d=e[a]).cell.length;n!==i;n+=1)if(!(l=d.cell[n]).flotDelta&&(!(n>0)||l.uid!==d.cell[n-1].uid)&&(1===l.type||7===l.type)){for(r=0,o=0,s=l.child.length;r!==s;r+=1)o=(c=l.child[r]).flotDelta,l.flotValue||(l.flotValue=c.flotValue);l.flotDelta=o}}function en(t,a){var n,r,i,s=[];for(n=0,r=t.cell.length;n!==r;n+=1)i=t.cell[n],(0===n||i.uid!==t.cell[n-1].uid)&&(1===i.type||7===i.type)&&(!a||!(i.colpos<a))&&s.push([i.flotValue,e(i.elem).text()]);return s}function er(e){var t=R.labelposition;return(!t||t&&t>e.length?A.theadRowStack.length:t)-1}function ei(){var t;V.length&&(t=e("<summary>"+V+i.tableMention+"</summary>"),a.wrap("<details></details>").before(t),t.trigger("wb-init.wb-details"))}function es(t){return a.wrap("<figure class='"+R.graphclass+"'/>").before((V.length?"<figcaption>"+V+"</figcaption>":"")+"<div role='img' aria-label='"+W+i.tableFollowing+"'"+(t?"style='height:"+R.height+"px; width:"+R.width+"px'":"")+"></div>"),e("div:eq(0)",a.parent())}if(t.chartsGraphOpts||((F=t[s])&&(Z("flot",J,F),Z("series",J,F),Z("charts",J,F)),t.chartsGraphOpts=J),B=X((J=t.chartsGraphOpts).flot,a,"flot"),(R=X(J.charts,a,s)).width=R.width&&R.width>250?R.width:250,R.height=R.height&&R.height>250?R.height:250,A=a.data().tblparser,D=R.reversettblparsing,N=A.lstrowgroup[0],B.series&&B.series.pie){for(h=es(!1),m="<div style='height:"+R.height+"px; width:"+R.width+"px'></div>",D?(w=N,E=(1===A.colgroup[0].type?A.colgroup[1].col.length:A.colgroup[0].col.length)-1):(w=1===A.colgroup[0].type?A.colgroup[1]:A.colgroup[0],E=N.row.length-1);E>=0;E-=1){for(x=0,C=(O=D?w.row:w.col).length;x!==C;x+=1){for(T=0,q=[],G=0,k=(j=O[x]).cell.length;T!==k;T+=1)if(I=j.cell[T],!D||1!==I.col.type){if(L=void 0,0!==T&&(L=j.cell[T-1]),!D&&(2!==I.row.type||L&&L.rowgroup.uid!==I.rowgroup.uid)||D&&2!==I.col.type||L&&1!==L.col.type&&L.col.groupstruct.uid!==I.col.groupstruct.uid)break;_=D?I.col.header:I.row.header,y=R.getcellvalue(D?j.datacell[E].elem:j.cell[E].elem),q.push([G,"object"==typeof y?y[0]:y]),G+=_[_.length-1].flotDelta;break}P={},I=D?j.datacell[E]:j.cell[E],_=(_=D?I.row.header:I.col.header)[_.length-1],(P=X(J.series,e(_.elem),"flot")).data=q,P.label=D?e(j.header[j.header.length-1].elem).text():e(j.dataheader[j.dataheader.length-1].elem).text(),U.push(P)}1===N.row.length&&(N.row[0].header[0].elem.innerHTML===V||0===N.row[0].header.length)?(g=h).css({height:R.height,width:R.width}):(b="<figure><figcaption>"+(_=D?I.col.header:I.row.header)[_.length-1].elem.innerHTML+"</figcaption>"+m+"</figure>",h.append(e(b)),g=e("div:last()",h)),e.plot(g,U,B),R.legendinline||e(".legend",g).appendTo(h),U=[]}R.nolegend&&e(".legend",h).remove(),R.legendinline||(e(".legend > div",h).remove(),e(".legend > table",h).removeAttr("style").addClass("font-small"),e(".legend",g).appendTo(f)),e(".pieLabel").removeAttr("id"),R.noencapsulation||ei();return}for(D?(w=1===A.colgroup[0].type?A.colgroup[1]:A.colgroup[0],E=N.row.length-1,H=(r=A,u=0,d=!D||D&&!1===R.referencevalue?r.colgrouphead.col.length:R.referencevalue,d-=1,c=function e(t,a){var n,r,i,s,o,l=1;if(t){for(r=0,s=t.col[a],o=t.col[0],i=s.cell.length;r!==i;r+=1)if(n=s.cell[r],0===r||r>0&&o.cell[r-1].uid!==n.uid){if(n.rowgroup&&3===n.rowgroup.type)break;(1===n.type||7===n.type)&&0!==n.child.length&&(l*=Q(n,1))}return l}}(r.colgrouphead,d),l=D?er(r.colgrouphead.col):r.colgrouphead.col.length-1,u=d,ee(r.colgrouphead.col[d],u,c,d),ea(r.colgrouphead.col,d),en(r.colgrouphead.col[l]))
44):(w=N,E=(1===A.colgroup[0].type?A.colgroup[1].col.length:A.colgroup[0].col.length)-1,H=function t(a){var n,r,i,s,o,l=-1,c=0,d=a.theadRowStack;if(d){for(n=0,r=a.colgroup.length;n!==r;n+=1)if(2===a.colgroup[n].type){l=a.colgroup[n].start;break}return o=!D&&!1===R.referencevalue||D?d.length:R.referencevalue,o-=1,s=function t(a,n,r){var i,s,o,l=1,c=a[n].elem.cells;for(s=0,o=c.length;s!==o&&(!(i=e(c[s]).data().tblparser).colgroup||3!==i.colgroup.type);s+=1)i.colpos>=r&&(1===i.type||7===i.type)&&0!==i.child.length&&(l=l*i.child.length*Q(i,1));return l}(d,o,l),i=D?d.length-1:er(d),c=o,ee(d[o],c,s,o,l),ea(d,o),en(d[i],l)}}(A)),x=0,B.xaxis.ticks=H,C=(O=D?w.col:w.row).length;x!==C;x+=1)M=(j=O[x]).header[j.header.length-1],((S=X(J.series,e(M.elem),"flot")).bars||B.bars&&!S.lines)&&(z+=1,S.bars||(S.bars={show:!0,barWidth:.9}),S.bars.order||(S.bars.order=z)),M.chartOption=S;for(x=0,C=O.length;x!==C;x+=1){for(T=0,q=[],v=0,G=0,S=(M=O[x]).header[M.header.length-1].chartOption,k=M.cell.length;T!==k&&(I=M.cell[T],!(v>1)||2===I.col.groupstruct.type);T+=1)(!D&&2===I.col.groupstruct.type||D&&2===I.row.rowgroup.type)&&(_=D?I.row.header:I.col.header,y=R.getcellvalue(I.elem),q.push([G,"object"==typeof y?y[0]:y]),G+=_[_.length-1].flotDelta,v+=1);S.data=q,S.label=e(M.header[M.header.length-1].elem).text(),S.bars&&(S.bars.barWidth=S.bars.barWidth*(1/z)),U.push(S)}B.bars&&(B.bars.barWidth=B.bars.barWidth*(1/z)),(g=es(!0)).css("width","100%"),e.plot(g,U,B),R.legendinline||(e(".legend > div",g).remove(),e(".legend > table",g).removeAttr("style").addClass("font-small"),g.css("height","auto")),R.nolegend&&e(".legend",g).remove(),R.noencapsulation||ei(),e("canvas:eq(1)",g).css("position","static"),e("canvas:eq(0)",g).css("width","100%"),a.trigger("wb-updated"+o)},d=function(a){var l,c,d,u=n.init(a,s,o),p=t[s];u&&(l=u.id,d=["site!deps/jquery.flot"+(c=n.getMode()+".js"),"site!deps/jquery.flot.pie"+c,"site!deps/jquery.flot.canvas"+c,"site!deps/jquery.flot.orderBars"+c,"site!deps/tableparser"+c],p&&p.plugins&&(d=d.concat(p.plugins)),i||(i={tableMention:(r=n.i18n)("hyphen")+r("tbl-txt"),tableFollowing:r("hyphen")+r("tbl-dtls"),slicelegend:r("chrt-cmbslc")}),Modernizr.load({load:d,complete:function(){var t=e("#"+l);t.trigger("passiveparse.wb-tableparser"),n.ready(t,s)}}))};l.on("timerpoke.wb wb-init"+o+" parsecomplete.wb-tableparser",o,function(t){var a=t.type,n=t.target;switch(a){case"timerpoke":case"wb-init":d(t);break;case"parsecomplete":t.currentTarget===n&&c(e(n))}return!0}),n.add(o)}(jQuery,window,document,wb),/** 45 * @title WET-BOEW Collapsible alerts plugin 46 * @overview Collapsible alerts (details/summary) 47 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 48 * @author WET community 49 */ function(e,t,a){"use strict";var n,r="wb-collapsible",i="details.alert",s=a.doc,o=function(t){var s,o=a.init(t,r,i);if(o){s=e(o),n="alert-collapsible-state-"+o.getAttribute("id");try{localStorage.getItem(n)?"open"===localStorage.getItem(n)?(o.setAttribute("open","open"),o.className+=" open"):"closed"===localStorage.getItem(n)&&(o.removeAttribute("open"),o.className=o.className.replace(" open","")):o.hasAttribute("open")?localStorage.setItem(n,"open"):localStorage.setItem(n,"closed")}catch(l){}a.ready(s,r)}};s.on("timerpoke.wb wb-init."+r,i,o),Modernizr.details&&s.on("click keydown toggle."+r,i+" summary",function(t){var a,i,s=t.which,o=t.currentTarget;if(s&&1!==s||-1!==o.className.indexOf("wb-toggle")&&("toggle"!==t.type||t.namespace!==r))(13===s||32===s)&&(t.preventDefault(),e(o).trigger("click"));else if(a=null===(i=o.parentNode).getAttribute("open"),n="alert-collapsible-state-"+i.getAttribute("id"),a)try{localStorage.setItem(n,"open")}catch(l){}else try{localStorage.setItem(n,"closed")}catch(c){}return!0}),a.add(i)}(jQuery,window,wb),/** 50 * @title WET-BOEW Country Content 51 * @overview A basic AjaxLoader wrapper that inserts AJAXed in content based on a visitors country as resolved by freegeoip.app 52 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 53 * @author @nschonni 54 */ function(e,t,a){"use strict";var n="wb-ctrycnt",r="[data-ctrycnt]",i=a.doc,s=function(t){var i,s,l=a.init(t,n,r);l&&(s=(i=e(l)).data("ctrycnt"),e.when(o()).then(function(e){""!==e&&(s=s.replace("{country}",e.toLowerCase()),i.load(s,function(){a.ready(i,n)}))}))},o=function(){var t=e.Deferred(),a=localStorage.getItem("countryCode");return null===a?e.ajax({url:"https://api.country.is/",dataType:"json",cache:!0,success:function(e){if(e){a=e.country;try{localStorage.setItem("countryCode",a)}catch(n){}}t.resolve(a)},error:function(){t.reject("")}}):t.resolve(a),t.promise()};i.on("timerpoke.wb wb-init."+n,r,s),a.add(r)}(jQuery,window,wb),/** 55 * @title WET-BOEW Data Ajax [data-ajax-after], [data-ajax-append], 56 * [data-ajax-before], [data-ajax-prepend] and [data-ajax-replace] 57 * @overview A basic AjaxLoader wrapper that inserts AJAXed-in content 58 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 59 * @author WET Community 60 */ function(e,t,a){"use strict";var n,r="wb-data-ajax",i="wb-ajax",s=["[data-ajax-after]","[data-ajax-append]","[data-ajax-before]","[data-ajax-prepend]","[data-ajax-replace]","[data-"+i+"]"],o=["before","replace","after","append","prepe
60nd"],l=s.length,c=s.join(","),d="wb-contentupdated",u=a.doc,p=function(t){var n=g(t.target),i=n.type,s=a.init(t,r+"-"+i,c);s&&n.url&&(f.call(this,t,n),a.ready(e(s),r,[i]))},f=function(n,i){var s,o,l,c=n.target,d=e(c),u=t[r];i||(i=g(c)),o={url:s=i.url,nocache:i.nocache,nocachekey:i.nocachekey},u&&("http"===s.substr(0,4)||"//"===s.substr(0,2))&&(l=a.getUrlParts(s),(a.pageUrlParts.protocol!==l.protocol||a.pageUrlParts.host!==l.host)&&(!Modernizr.cors||u.forceCorsFallback)&&"function"==typeof u.corsFallback&&(o.dataType="jsonp",o.jsonp="callback",o=u.corsFallback(o))),d.trigger({type:"ajax-fetch.wb",fetch:o})},g=function(t){var n,r,s,l,c,d,u=o.length;for(r=0;r!==u&&(n=o[r],!(s=t.getAttribute("data-ajax-"+n)));r+=1);if(!s){if(!(l=a.getData(e(t),i)))return{};if(n=l.type,-1===o.indexOf(n))throw"Invalid ajax type";if(!(s=h(l.url,l.httpref)))return{type:n};c=l.nocache,d=l.nocachekey}return{url:s,type:n,nocache:c,nocachekey:d}},h=function(e,a){var n,r,i,s,o;if(!a)return e;for(Array.isArray(a)?n=a:(n=[]).push(a),r=t.document.referrer,o=n.length,s=0;s!==o;s+=1)if((i=RegExp(n[s])).test(r)){if(Array.isArray(e)&&e.length===o)return e[s];return e}return""},m=function(t,n){var r,s,o=e(t),l=g(t).type,c=(a.getData(e(t),i)||{}).encode,u=n.hasSelector,p="";(r=n.response)&&r.length>0&&(c&&u?(r.length>1?(r.each(function(e,t){p+=t.outerHTML+"\n"}),r=p):r=r.html(),r=r.replaceAll("<","<")):c&&!u&&(r=n.xhr.responseText.replaceAll("<","<")),s=jQuery.ajaxSettings.cache,jQuery.ajaxSettings.cache=!0,"replace"===l?o.html(r):o[l](r),jQuery.ajaxSettings.cache=s,o.trigger(d,{"ajax-type":l,content:r}))};for(u.on("timerpoke.wb wb-init."+r+" wb-update."+r+" ajax-fetched.wb",c,function(e){var t=e.target;switch(e.type){case"timerpoke":case"wb-init":p(e);break;case"wb-update":f(e);break;default:e.currentTarget===t&&m(t,e.fetch)}return!0}),u.on(d,function(t){if(!a.isDisabled){let n=t.target;e(n).find(a.allSelectors).addClass("wb-init").filter(":not(#"+n.id+" .wb-init .wb-init)").trigger("timerpoke.wb")}}),n=0;n!==l;n+=1)a.add(s[n])}(jQuery,window,wb),/** 61 * Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW) 62 * @title Data Fusion Query 63 * @overview Map a query parameter value into an input value 64 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 65 * @author @duboisp 66 * 67 */ function(e,t,a){"use strict";var n="wb-data-fusion-query",r="[data-fusion-query][name]",i=function(e){var i,s,o,l=a.init(e,n,r);l&&(s=(i=t(l)).attr("name"),(o=a.pageUrlParts.params[s])&&i.val(o.replace(/\+/g," ")),a.ready(i,n))};a.doc.on("timerpoke.wb wb-init."+n,r,i),a.add(r)}(document,jQuery,wb),/** 68 * @title WET-BOEW Data InView 69 * @overview A simplified data-attribute driven plugin that responds to moving in and out of the viewport. 70 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 71 * @author WET Community 72 */ function(e,t,a){"use strict";var n="wb-inview",r="."+n,i="scroll"+r,s=a.doc,o=a.win,l=e(),c=function(t){var i,s=a.init(t,n,r);s&&(i=e(s),l=l.add(i),setTimeout(function(){d(i),a.ready(i,n)},1))},d=function(t){var n,i=t.outerWidth(),s=t.outerHeight(),c=o.scrollTop(),d=c+o.height(),u=o.scrollLeft()+i,p=t.offset().left,f=t.offset().top,g=f+s,h=t.attr("data-inviewstate"),m=d<f||c>g||u<p||u>p+i,b=d>g&&c<f?"all":m?"none":"partial",y=e("#"+t.attr("data-inview"));if(0===i||0===s){l=l.not(t),y.addClass("user-closed"),y.trigger({type:"close",namespace:"wb-overlay",noFocus:!0});return}t.hasClass("wb-dismissable")&&y.hasClass("wb-overlay")&&y.children(".overlay-close").on("click",function(e){var a=e.which;a&&1!==a||t.parent().siblings(".content-dismiss").trigger("click")}),b!==h&&(n=m||!t.hasClass("show-none")&&"partial"===b,t.attr("data-inviewstate",b),0!==y.length&&!y.hasClass("user-closed")&&(y.hasClass("wb-overlay")?(h||y.addClass("outside-off"),y.trigger({type:n?"open":"close",namespace:"wb-overlay",noFocus:!0})):(y.attr("data-hasPlayed")||(y.toggleClass("in",!n),y.hasClass("in-only")||y.toggleClass("out",n)),a.isReady&&"all"===b&&y.hasClass("in-only")&&y.attr("data-hasPlayed","true"))),t.trigger(b+r))};s.on("timerpoke.wb wb-init"+r+" "+i,r,function(t){var a=t.target,n=t.type;switch(n){case"timerpoke":case"wb-init":c(t);break;case"scroll":t.currentTarget===a&&d(e(a))}return!0}),o.on("scroll scrollstop",function(){l.trigger(i)}),s.on("txt-rsz.wb win-rsz-width.wb win-rsz-height.wb",function(){l.trigger(i)}),s.on("refresh.wb",function(){l.each(function(){d(e(this))})}),a.add(r)}(jQuery,window,wb),/** 73 * @title WET-BOEW Data Picture 74 * @overview Event driven port of the Picturefill library: https://github.com/scottjehl/picturefill 75 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 76 * @author @patheard 77 */ function(e,t,a){"use strict";var n,r="wb-pic",i="[data-pic]",s="picfill."+r,o=a.doc,l=function(t){var o,l=a.init(t,r,i);l&&(n=(o=e(l)).data("class")||"",o.trigger(s),a.ready(o,r))},c=function(a){var i,s,l,c,d=[],u=a.getElementsByTagName("img")[0],p=a.getElementsByTagName("span");for(i=0,s=p.length;i!==s;
77i+=1)(c=p[i].getAttribute("data-media"))&&!t.matchMedia(c).matches||d.push(p[i]);0!==d.length?(l=d.pop(),u||((u=o[0].createElement("img")).alt=a.getAttribute("data-alt"),u.className=n),u.src=l.getAttribute("data-src"),l.appendChild(u)):u&&u.parentNode.removeChild(u),e(a).trigger("wb-updated."+r)};o.on("timerpoke.wb wb-init."+r+" "+s,i,function(e){var t=e.target,a=e.type;switch(a){case"timerpoke":case"wb-init":l(e);break;case"picfill":e.currentTarget===t&&c(t)}}),o.on("txt-rsz.wb win-rsz-width.wb win-rsz-height.wb",function(){e(i).trigger(s)}),a.add(i)}(jQuery,window,wb),/** 78 * @title WET-BOEW Details closed on small screen 79 * @overview Closes details on defined viewport and down if they were not engaged, default is small 80 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 81 * @author @thomasgohard 82 */ function(e,t){"use strict";let a="wb-details-close",n="."+a,r=t.doc,i=["xxs","xs","sm","md","lg","xl"],s=["xxsmallview","xsmallview","smallview","mediumview","largeview","xlargeview"],o=function(r){let o=t.init(r,a,n);if(o){let l=e(o),c=o.dataset.breakpoint||"sm",d=i.indexOf(c),u="html."+s.slice(0,d+1).join(", html.");document.querySelector(u)?o.removeAttribute("open"):o.setAttribute("open",""),t.ready(l,a)}};r.on("timerpoke.wb wb-init"+n,n,o),t.add(n)}(jQuery,wb),/** 83 * @title WET-BOEW Dismissable content plugin 84 * @overview Enables content to be dismissed 85 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 86 * @author @thomasgohard 87 */ function(e,t,a){"use strict";var n,r,i="wb-dismissable",s="."+i,o="content-dismiss",l="dismissable-item-id",c=a.doc,d=function(t){var d,p,f,g,h,m=a.init(t,i,s);m&&(r||(r={dismiss:(n=a.i18n)("dismiss")}),m.hasAttribute("id")&&0===(d=m.getAttribute("id")).indexOf("wb-auto-")&&(d=void 0),void 0===d&&(d=a.hashString(a.stripWhitespace(m.innerHTML))),"true"===(p=u(d))?m.parentNode&&m.parentNode.removeChild(m):(e(m).wrap("<div class='wb-dismissable-wrapper'>"),e(g=m.parentNode).wrap("<div class='wb-dismissable-container'>"),f=g.parentNode,h="<button type='button' class='mfp-close "+o+"' title='"+r.dismiss+"'>×<span class='wb-inv'> "+r.dismiss+"</span></button>",e(f).append(h),f.setAttribute("data-"+l,d)),a.ready(c,i))},u=function(e){var t=localStorage.getItem(e);return null!==t&&t},p=function(e){localStorage.setItem(e.getAttribute("data-"+l),!0),e.parentNode.removeChild(e),c.trigger("refresh.wb")};c.on("timerpoke.wb wb-init."+i,s,d),c.on("click","."+o,function(e){var t=e.currentTarget,a=e.which;a&&1!==a||p(t.parentNode)}),a.add(s)}(jQuery,window,wb),/** 88 * @title eqht 89 * @overview Provide ability to have equal height containers and nested containers inside a WET-BOEW grid 90 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 91 * @author @luc-bertrand-hrsdc 92 */ function(e,t,a){"use strict";var n="wb-eqht-grd",r="."+n+" .eqht-trgt",i=a.doc,s=function(t){var i,s,o=a.init(t,n,r);o&&((i=e(o)).addClass("hght-inhrt"),(s=i.parentsUntil("[class*='"+n+"']")).addClass("hght-inhrt"),a.ready(i,n))};i.on("timerpoke.wb wb-init"+r,r,s),a.add(r)}(jQuery,window,wb),/** 93 * @title WET-BOEW Responsive equal height 94 * @overview Sets the same height for all elements in a container that are rendered on the same baseline (row). Adapted from https://codepen.io/micahgodbolt/pen/FgqLc. 95 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 96 * @author @thomasgohard 97 */ function(e,t,a){"use strict";var n="wb-eqht",r="."+n,i=a.doc,s="timerpoke.wb",o="vertical-align",l="min-height",c=" ?[^;]+",d=RegExp(o+": ?"+c+";?","i"),u=RegExp(l+": ?"+c+";?","i"),p=function(e){a.init(e,n,r)&&(i.off(s,r),f(),a.ready(i,n))},f=function(){var a,n,s,c,p,f,b,y=e(r),v=[],w=-1,_=-1,x=-1,C=-1;for(f=y.length-1;-1!==f;f-=1){for((n=(a=y.eq(f)).find(".eqht-trgt")).length||(n=a.children()),v=[],s=h(a),b=n.length-1;-1!==b;b-=1)(p=(c=n[b]).style.cssText.toLowerCase()).length>0&&";"!==p.substr(p.length-1)&&(p+=";"),-1!==p.indexOf(o)?p=p.replace(d,o+":top;"):p+=" "+o+":top;",-1!==p.indexOf(l)?p=p.replace(u,l+":0;"):p+=" "+l+":0;",c.style.cssText=p,n.eq(b).data(l,"0");for(b=0,a=m(s),w=n[0]?n[0].getBoundingClientRect().top+t.pageYOffset:0,C=n[0]?n[0].offsetHeight:0;b<n.length;b++)_=(c=n[b]).getBoundingClientRect().top+t.pageYOffset,(x=c.offsetHeight)&&(_!==w&&(g(v,C),_=c.getBoundingClientRect().top+t.pageYOffset,v.length=0,w=_,C=x),C=Math.max(x,C),v.push(n.eq(b)));g(v,C),i.trigger("wb-updated"+r)}},g=function(e,t){for(var a=0;a<e.length;a++){var n=t+1;e[a][0].style.minHeight=n+"px"}},h=function(e){var t=e.prev(),a=e.next(),n=e.parent();return t.length?e.data({anchor:t,anchorRel:"prev"}):a.length?e.data({anchor:a,anchorRel:"next"}):n.length&&e.data({anchor:n,anchorRel:"parent"}),e.detach()},m=function(e){var t=e.data("anchor"),a=e.data("anchorRel");switch(a){case"prev":t.after(e);break;case"next":t.before(e);break;case"parent":t.append(e)}return e};i.on(s+" wb-init"+r,r,p),i.on("txt-rsz.wb win-rsz-width.wb win-rsz-height.wb wb-contentupdated wb-updated.wb-tables wb-update"+r,f),a.add(r)}(jQuery,window,wb),/**
98* @title WET-BOEW Exit script plugin 99* @overview Plugin redirects users to non secure site 100* @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 101* @author @ipaksc 102*/ function(e,t,a,n){"use strict";var r,i="wb-exitscript",s="."+i,o=a.doc,l=i+"-urlparam",c=i+"key",d=i+"-modal",u={en:{msgboxHeader:"Warning",exitMsg:"You are about to leave a secure site, do you wish to continue?",targetWarning:"The link will open in a new browser window.",yesBtn:"Yes",cancelBtn:"Cancel"},fr:{msgboxHeader:"Avertissement",exitMsg:"Vous \xeates sur le point de quitter un site s\xe9curis\xe9. Voulez-vous continuer?",targetWarning:"Le lien s'ouvrira dans une nouvelle fen\xeatre de navigateur.",yesBtn:"Oui",cancelBtn:"Annuler"}},p=function(o){var d,p,f=a.init(o,i,s),g=t.location.search,h=new URLSearchParams(g),m=a.string.fromHexString(h.get("exturl")),b=localStorage.getItem(i),y=JSON.parse(localStorage.getItem(c));f&&(p=e(f),d=e.extend(!0,t[i],a.getData(p,i)),p.data(i,d),d.url&&n&&n.subtle.generateKey({name:"AES-CTR",length:256},!0,["encrypt","decrypt"]).then(function(e){var t,r,s;n.subtle.exportKey("jwk",e).then(function(e){f[c]=e}),r=(t=new TextEncoder).encode(f.href),s=n.getRandomValues(new Uint8Array(16)),n.subtle.encrypt({name:"AES-CTR",counter:s,length:64},e,r).then(function(e){f[i]=e}),p.attr("href",d.url+"?exturl="+a.string.toHexString(s))}),r=u[a.lang||"en"],p.hasClass(l)&&null!==b&&null!==y&&n.subtle.importKey("jwk",y,{name:"AES-CTR",length:256},!0,["decrypt"]).then(function(e){n.subtle.decrypt({name:"AES-CTR",counter:m,length:64},e,a.string.base64ToArrayBuffer(b)).then(function(e){var t=new TextDecoder().decode(e);t.match(/^(http|https):\/\//g)&&(f.outerHTML="<a href='"+t+"'>"+t+"</a>")})}),localStorage.removeItem(i),localStorage.removeItem(c),a.ready(p,i))};o.on("click",s,function(t){var s,o=e(t.currentTarget),l="",u=document.createDocumentFragment(),p=document.createElement("div"),f=o.data(i),g=r.msgboxHeader,h=r.yesBtn,m=r.cancelBtn,b=r.exitMsg,y=r.targetWarning;f.i18n&&(g=f.i18n.msgboxHeader||r.msgboxHeader,h=f.i18n.yesBtn||r.yesBtn,m=f.i18n.cancelBtn||r.cancelBtn,b=f.i18n.exitMsg||r.exitMsg,y=f.i18n.targetWarning||r.targetWarning),f.url||t.preventDefault(),l=this.hasAttribute("target")?"target='"+this.getAttribute("target")+"'":"target='"+l+"'","_blank"===this.getAttribute("target")&&(b=b+" "+y),document.getElementById(d)&&document.getElementById(d).remove(),f.url?n&&this[i]&&(localStorage.setItem(i,a.string.arrayBufferToBase64(this[i])),localStorage.setItem(c,JSON.stringify(this[c]))):(p.innerHTML="<section id='"+d+"' class='mfp-hide modal-dialog modal-content overlay-def'><header class='modal-header'><h2 class='modal-title'>"+g+"</h2></header><div class='modal-body'><p>"+b+"</p></div><div class='modal-footer'><ul class='list-inline text-center'><li><a class='btn btn-default pull-right popup-modal-dismiss'"+l+" href='"+this.getAttribute("href")+"'>"+h+"</a></li><li><button class='btn btn-primary popup-modal-dismiss pull-left'>"+m+"</button></li></ul></div></section>",u.appendChild(p),s=(s=u.firstChild).firstChild,document.body.appendChild(s),e(s).trigger("open.wb-lbx",[[{src:"#"+d,type:"inline"}],!0]))}),o.on("timerpoke.wb wb-init"+s,s,p),a.add(s)}(jQuery,window,wb,crypto),/** 103* @title WET-BOEW Facebook embedded page 104* @overview Helps with implementing Facebook embedded pages. 105* @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 106* @author @pjackson28 107*/ function(e,t,a){"use strict";var n="wb-facebook",r="."+n,i=a.doc,s=!1,o=function(i){var o=a.init(i,n,r),l=a.pageUrlParts.protocol;o&&Modernizr.load({load:[(-1===l.indexOf("http")?"http:":l)+"//connect.facebook.net/"+a.lang+"_US/sdk.js"],complete:function(){s||(t.FB.init({version:"v2.4"}),s=!0),t.FB.XFBML.parse(o[0]),a.ready(e(o),n)}})};i.on("timerpoke.wb wb-init"+r,r,o),a.add(r)}(jQuery,window,wb),/** 108 * @title WET-BOEW Favicon Plugin 109 * @overview Provides the ability to add and update a page's favicons 110 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 111 * @author @patheard 112 * 113 * This plugin provides the ability to add and update the favicon's on a web page. Its default behaviour is to add a mobile favicon to web pages that have a favicon defined by a `<link rel='icon'>` element. 114 * 115 * The mobile favicon's file name, rel, path and sizes can be set with data attributes on the `<link rel='icon'/>`: 116 * 117 * -**data-filename:** filename of the mobile favicon (defaults to "favicon-mobile.png"). This will be appended to the favicon's path. 118 * -**data-path:** path to the mobile favicon (defaults to using the same path as the shortcut icon). 119 * -**data-rel:** rel attribute of the mobile favicon (defaults to "apple-touch-icon"). 120 * -**data-sizes:** sizes attribute of the mobile favicon (defaults to "57x57 72x72 114x114 144x144 150x150"). 121 * 122 * For example, the following overrides the rel and file name attributes of the mobile favicon: 123 * 124 * <link href="favicon.ico" rel='icon' data-rel="apple-touch-icon-precomposed" data-filename="my-mobile-favicon.ico"/> 125 */ function(e,t,a){"use strict";var n="wb-favicon",r="link[rel='icon']",i="wb-updated."+n,s="mobile."+n,o=a.doc,l={filename:"favicon-mobile.png",path:null,rel:"apple-touch-icon",sizes:"57x57 72x72 114x114 144x144 150x150"},c=function(t){var i,c,d=a.init(t,n,r,!0);d&&(i=e(d),c=e.extend({},l,i.data()),i.trigger(s,c),a.ready(o,n))},d=function(a,r,s){var l,c=e("link[rel^='apple']"),d=0!==c.length;if(!d){var u=t.createElement("link");u.setAttribute("rel",s.rel),u.setAttribute("sizes",s.sizes),u.setAttribute("class",n),t.head.appendChild(u),c=e(u)}c.hasClass(n)&&(l=null!==s.path?s.path:p(a.getAttribute("href")),c.attr("href",l+s.filename),d||a.parentNode.insertBefore(c[0],a)),o.trigger(i,["mobile"])},u=function(e,t,a){var n=null!==a.path?a.path:p(e.getAttribute("href"));e.setAttribute("href",n+a.filename),o.trigger(i,["icon"])},p=function(e){return e.substring(0,e.lastIndexOf("/")+1)};o.on("timerpoke.wb wb-init."+n,r,c),o.on(s+" icon."+n,r,function(e,t){var a=e.target;if(e.currentTarget===a)switch(e.type){case"mobile":d(a,e,t);break;case"icon":u(a,e,t)}return!0}),a.add(r)}(jQuery,document,wb),/** 126 * @title WET-BOEW Feeds 127 * @overview Aggregates and displays entries from one or more Web feeds. 128 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 129 * @author @pjackson28 130 */ function(e,t,a,n){"use strict";var r="wb-feeds",i="."+r,s="li > a",o=a.doc,l=/\\u([\d\w]{4})/g,c={flickr:function(e){var t=e.media.m,n={title:e.title,thumbnail:t.replace("_m.","_s."),image:t.replace("_m",""),description:e.description.replace(/^\s*<p>(.*?)<\/p>\s*<p>(.*?)<\/p>/i,"")};return"<li><a class='feed-flickr' href='#' data-flickr='"+a.escapeAttribute(JSON.stringify(n))+"'><img src='"+n.thumbnail+"' alt='"+a.escapeAttribute(n.title)+"' title='"+a.escapeAttribute(n.title)+"' class='img-responsive'/></a></li>"},youtube:function(e){var t={title:e.title,videoId:e.id};return"<li class='col-md-4 col-sm-6'><button class='btn btn-lnk feed-youtube' data-youtube='"+a.escapeAttribute(JSON.stringify(t))+"'><img src='"+a.pageUrlParts.protocol+"//img.youtube.com/vi/"+t.videoId+"/mqdefault.jpg' alt='"+a.escapeAttribute(t.title)+"' title='"+a.escapeAttribute(t.title)+"' class='img-responsive' /></button></li>"},pinterest:function(e){return"<li class='media'>"+u(e.description).replace(/<a href="\/pin[^"]*"><img ([^>]*)><\/a>([^<]*)(<a .*)?/,"<a href='"+e.link+"'><img alt='' class='center-block' $1><br/>$2</a>$3")+(""!==e.publishedDate?" <small class='small feeds-date'><time>"+a.date.toDateISO(e.publishedDate,!0)+"</time></small>":"")+"</li>"},generic:function(e){var t=e.title;return"object"==typeof t&&(t.content?t=t.content:"xhtml"===t.type&&t.div&&(t=t.div.content)),"<li><a href='"+e.link+"'>"+t+"</a><br />"+(""!==e.publishedDate?" <small class='feeds-date'><time>"+a.date.toDateISO(e.publishedDate,!0)+"</time></small>":"")+"</li>"}},d=function(e,t){return String.fromCharCode(parseInt(t,16))},u=function(e){return e.replace(l,d)},p=function(e){var t=e.className.match(/\blimit-\d+/);return t?Number(t[0].replace(/limit-/i,"")):0},f=function(t){var n,o,l,c,d,u,f,g,h,m,b,y,v,w=a.init(t,r,i);if(w)for(l=(v=e(w)).find(".feeds-cont"),c=p(w),f=(d=l.find(s)).length-1,l.data("toProcess",d.length).data("feedLimit",c).data("entries",[]),g=f;-1!==g;g-=1)b=(m=d.eq(g)).find(">
130 img"),n={dataType:"jsonp",timeout:1e4},m.attr("data-ajax")?(-1!==m.attr("href").indexOf("flickr")?(u="flickr",h="jsoncallback",l.data(r+"-postProcess",[".wb-lbx"])):(u="generic",h=!1,n.dataType="json"),n.url=m.attr("data-ajax"),n.jsonp=h):m.attr("data-youtube")?(y=a.getData(m,"youtube"),l.data(r+"-postProcess",[".wb-lbx",".wb-mltmd"]),y.playlist&&m.trigger({type:"data-ready.wb-feeds",feedsData:y.playlist},{feedType:"youtube",_content:l})):(o=m.attr("href"),n.dataType="xml",n.url=o,u=o.indexOf("pinterest.com")>-1?"pinterest":"generic"),n.jsonp=h,n.context={fIcon:0!==b.length?b.attr("src"):"",feedType:u,_content:l},m.trigger({type:"ajax-fetch.wb",fetch:n})},g=function(e,t){var a,n,r=e.getElementsByTagName("entry").length,i=[],s={},o=JSON.parse(JSON.stringify(h(e)));if((t>r||0===t||null===t)&&(t=r),1===r)i.push(s={title:(n=o.feed.entry).title["#text"],link:n.link?n.link["@attributes"].href:n.id["#text"],updated:n.updated["#text"]});else if(r)for(a=0;a<t;a++)i.push(s={title:(n=o.feed.entry[a]).title["#text"],link:n.link?n.link["@attributes"].href:n.id["#text"],updated:n.updated["#text"]});return i},h=function(e){var t,a,n,r,i,s,o={},l=e.nodeType;if(1===l){if((i=e.attributes).length)for(t=0,o["@attributes"]={};t<i.length;t++)a=i.item(t),o["@attributes"][a.nodeName]=a.nodeValue}else 3===l&&(o=e.nodeValue);if(e.hasChildNodes())for(t=0,s=e.childNodes;t<s.length;t++)void 0===o[n=(a=s.item(t)).nodeName]?o[n]=h(a):(void 0===o[n].push&&(r=o[n],o[n]=[],o[n].push(r)),o[n].push(h(a)));return o},m=function(t){var a,n,r=t,i=[],s=this.fIcon,o=this._content,l=o.data("toProcess");for(a=0,n=r.length;a!==n;a+=1){r[a].fIcon=s,void 0===r[a].publishedDate&&(r[a].publishedDate=r[a].published||r[a].pubDate||r[a].updated||"");var c=r[a].link;c&&c.href&&(r[a].link=c.href),i.push(r[a])}return(i=e.merge(i,o.data("entries")),1===l)?(b(i,o.data("feedLimit"),o,this.feedType),0):(l-=1,o.data({toProcess:l,entries:i}),l)},b=function(t,n,i,s){var o,l,d,u,p=n>0&&n<t.length?n:t.length,f="",g=a.date.compare,h=i.closest("details"),m=!0,b=".feeds-cont",v="vis-handler";for(o=0,l="youtube"!==s?t.sort(function(e,t){return g(t.publishedDate,e.publishedDate)}):t;o!==p;o+=1)d=l[o],f+=c[s](d);return i.data(r+"-result",f),0===h.length||("tabpanel"===h.attr("role")?"true"!==h.attr("aria-hidden")||(m=!1,i.empty().addClass("waiting"),(u=h.closest(".wb-tabs")).hasClass(v)||u.on("wb-updated.wb-tabs",function(e,t){var a=t.find(b);a.hasClass("feed-active")||y(a)}).addClass(v)):h.attr("open")||(m=!1,i.empty().addClass("waiting"),h.children("summary").on("click.wb-feeds",function(t){var a=e(t.currentTarget).off("click.wb-feeds");y(a.parent().find(b))}))),m&&y(i),!0},y=function(e){var t,a,n=e.data(r+"-result"),s=e.data(r+"-postProcess");if(n){if(e.empty().removeClass("waiting").addClass("feed-active").append(n),s)for(t=s.length-1;-1!==t;t-=1)a=s[t],e.find(a).trigger("wb-init"+a);e.trigger("wb-feed-ready"+i)}};o.on("ajax-fetched.wb data-ready.wb-feeds",i+" "+s,function(t,n){var s,o,l,c,d,u,f=t.target;t.currentTarget===f&&((c=e(f).parentsUntil(i).parent(),"ajax-fetched"===t.type)?(o="string"==typeof(l=t.fetch.response)?JSON.parse(l):l.get(0)).documentElement?s=g(o,d=p(c[Object.keys(c)[0]])):o.query?(u=o.query.results)?s=[]:Array.isArray(s=u.item)||(s=[s]):s=o.responseData?o.responseData.feed.entries:o.items||o.feed.entry:s=t.feedsData,0===m.apply(n,[s])&&a.ready(e(f).closest(i),r))}),o.on("click",i+" .feed-youtube",function(t){var n="#wb-feeds-youtube-lbx",r=e(n),i=a.getData(t.currentTarget,"youtube"),s=a.pageUrlParts.protocol+"//www.youtube.com/watch?v="+i.videoId,o="<figure class='wb-mltmd'><video title='"+i.title+"'><source type='video/youtube' src='"+s+"'></source></video><figcaption><p>"+i.title+"</p></figcaption></figure>";0===r.length?r=e("<section id='wb-feeds-youtube-lbx' class='mfp-hide modal-dialog modal-content overlay-def'><header class='modal-header'><h2 class='modal-title'>"+i.title+"</h2></header><div class='modal-body'>"+o+"</div></section>").insertAfter("main"):(r.find(".modal-title").text(i.title),r.find(".modal-body").empty().append(o)),r.find(".wb-mltmd").trigger("wb-init.wb-mltmd"),e(document).trigger("open.wb-lbx",[{src:n,type:"inline"}])}),o.on("click",i+" .feed-flickr",function(t){var n="#wb-feeds-flick-lbx",r=e(n),i=a.getData(t.currentTarget,"flickr"),s="<img src='"+i.image+"' class='thumbnail center-block' alt='"+i.title+"' /><span>"+i.description+"</span>";0===r.length?r=e("<section id='wb-feeds-flick-lbx' class='mfp-hide modal-dialog modal-content overlay-def'><header class='modal-header'><h2 class='modal-title'>"+i.title+"</h2></header><div class='modal-body'>"+s+"</div></section>
130").insertAfter("main"):(r.find(".modal-title").text(i.title),r.find(".modal-body").empty().append(s)),e(document).trigger("open.wb-lbx",[{src:n,type:"inline"}])}),o.on("timerpoke.wb wb-init"+i,i,f),a.add(i)}(jQuery,window,wb),function(e,t,a){"use strict";var n,r,i,s="wb-filter",o="."+s,l=a.doc,c="wb-fltr-out",d=":not(."+c+"):not(.wb-tgfltr-out)",u="wb-fltr-inpt",p="wbfltrid",f={std:{selector:"li"},grp:{selector:"li",section:">section"},tbl:{selector:"tr",section:">tbody"},tblgrp:{selector:"th:not([scope])",hdnparentuntil:"tbody",section:">tbody"}},g=function(i){var l,c,g,h,m,b,y,v,w,_,x,C,T,k,A,E,S=a.init(i,s,o);if(S){l=e(S),c=S.nodeName,E=S.id+"-info",["DIV","SECTION","ARTICLE"].indexOf(c)>=0?(b=f.grp,h=!0):b="TABLE"===c?l.find("tbody").length>1?f.tblgrp:f.tbl:f.std,m=e.extend(!0,{},b,t[s],a.getData(l,s)),l.data(m),r||(r={filter_label:(n=a.i18n)("fltr-lbl"),fltr_info:n("fltr-info"),itemsFound:n("items-found")}),S.id||(S.id=a.getId()),m.uiTemplate?((C=(x=document.querySelector(m.uiTemplate)).querySelector("input[type=search]"))?(T=x.querySelector(".wb-fltr-info"),C.classList.add(u),C.setAttribute("data-"+p,S.id),C.setAttribute("aria-controls",S.id),T&&(E=T.id||E,T.id=E)):console.error(s+': an <input type="search"> is required in your UI template.'),m.source&&console.warn(s+": the 'source' option is not compatible with the 'uiTemplate' option. If both options are defined, only 'uiTemplate' will be registered.")):document.querySelector("input#"+S.id+"-inpt")||(g=e('<div class="input-group"><label for="'+(v=S.id+"-inpt")+'" class="input-group-addon"><span class="glyphicon glyphicon-filter" aria-hidden="true"></span> '+r.filter_label+'</label><input id="'+v+'" class="form-control '+u+'" data-'+p+'="'+S.id+'" aria-controls="'+S.id+'" type="search"></div><p id="'+E+'">'+r.fltr_info+"</p>"),m.source?e(m.source).prepend(g):h?l.prepend(g):l.before(g)),_=(m.section||"")+" ",w=l.find(_+m.selector).length,k=document.querySelector("#"+E+" [data-nbitem]"),A=document.querySelector("#"+E+" [data-total]"),k&&(k.textContent=w,(y=new MutationObserver(function(){k.textContent=l.find(_+m.selector+d).length})).observe(S,{attributes:!0,subtree:!0})),A&&(A.textContent=w);var N=S.id+"-status",D=document.getElementById(N);D||((D=document.createElement("p")).id=N,D.className="wb-inv",D.setAttribute("role","status"),l.prepend(D)),a.ready(l,s)}},h=function(e){return(e=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).match(/[^\s"]+|"([^"]*)"/gi)},m=function(e,t){var a,n,r,i=t;switch(e){case"and":if(a=h(t))for(n=0,i=".*",r=a.length;n<r;n++)i=i+"(?=.*"+a[n]+")";break;case"or":(a=h(t))&&(i=a.join("|"))}return RegExp(i,"i")},b=function(e,t,a){var n,r,i,s,o=function(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")},l=o(e.val().trim()),d=a.filterCallback,u=(a.section||"")+" ",p=a.hdnparentuntil,f=t.find(u+a.selector),g=f.length;for(t.find("."+c).removeClass(c),s=m(a.filterType,l),n=0;n<g;n+=1)i=o((r=f.eq(n))[0].shadowRoot?r[0].shadowRoot.textContent:r.text()),s.test(i)||(p&&r.parentsUntil(p).addClass(c),r.addClass(c));d&&"function"==typeof d||(d=y),d.apply(this,arguments),t.trigger("wb-filtered")},y=function(e,t,a){var n,i,s=t.find(a.section),o=s.length,l=a.selector+d;for(n=0;n<o;n+=1)0===(i=s.eq(n)).find(l).length&&i.addClass(c);var u=a.section||"",p=document.getElementById(t.attr("id")+"-status");if(p){var f=a.selector.replace(d,""),g=t.find(u+" "+f).length,h=t.find(u+" "+a.selector+d).length;setTimeout(function(){p.textContent=h+" "+r.itemsFound+" "+g},900)}};l.on("keyup","."+u,function(t){var a=e(t.target),n=e("#"+a.data(p));i&&clearTimeout(i),i=setTimeout(b.bind(this,a,n,n.data()),250)}),l.on("wb-contentupdated",o+", "+o+" *",function(){let t=this;i&&clearTimeout(i),i=setTimeout(function(){t.classList.remove("wb-init",s+"-inited"),e(t).trigger("wb-init."+s)},100)}),l.on("timerpoke.wb wb-init"+o,o,g),a.add(o)}(jQuery,window,wb),/** 131 * @title WET-BOEW Footnotes 132 * @overview Provides a consistent, accessible way of handling footnotes across websites. 133 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 134 * @author @EricDunsworth 135 */ function(e,t,a){"use strict";var n="wb-fnote",r="."+n,i="data-"+n,s="setfocus.wb",o=a.doc,l=function(t){var l,c,d,u,p,f,g,h=a.init(t,n,r);if(h){for(u=0,l=e(h),c=h.getElementsByTagName("dd"),d=h.getElementsByTagName("dt"),p=c.length;u!==p;u+=1)f=c[u],g=d[u],f.setAttribute("tabindex","-1"),g.id=f.id+"-dt";l.find("dd p.fn-rtn a span span").remove(),o.on("click","main :not("+r+") sup a.fn-lnk",function(e){var t,n,r=e.target,l=e.which;if(!l||1===l)return t="#"+a.jqEscape(r.getAttribute("href").substring(1)),(n=o.find(t)).find("p.fn-rtn a").attr("href","#"+r.parentNode.id).attr(i,!0),n.trigger(s),!1}),o.on("click",r+" dd p.fn-rtn a",function(t){var r,l,c,d,u,p=t.which,f=e(t.target);if((!p||1===p)&&"#"===(r=f.attr("href")).charAt(0))return -1===(d=(l=a.jqEscape(r.substring(1))).indexOf("-"))||f.attr(i)||(u=l.substring(0,d+1),(c=a.jqEscape(e("sup[id^='"+u+"']:first()").attr("id")))&&l===c||(console.warn(n+" - Relink first reference of "+r+" for #"+c),l=c,f.attr("href","#"+l).attr(i,!0))),o.find("#"+l+" a").trigger(s),!1}),a.ready(l,n)}};o.on("timerpoke.wb wb-init"+r,r,l),a.add(r)}(jQuery,window,wb),/** 136 * @title WET-BOEW Form validation 137 * @overview Provides generic validation and error message handling for Web forms. 138 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 139 * @author @pjackson28 140 */ function(e,t,a,n){"use strict";var r,i,s="wb-frmvld",o="."+s,l=n.doc,c=0,d={hdLvl:"h2",ignore:":hidden"},u=function(u){var p,f,g=n.init(u,s,o);g&&((p=g.id)||(p=s+"-id-"+c,c+=1,g.id=p),f=n.getMode()+".js",i||(i={colon:(r=n.i18n)("colon"),hyphen:r("hyphen"),error:r("err"),errorFound:r("err-fnd"),errorsFound:r("errs-fnd"),formNotSubmitted:r("frm-nosubmit"),errorCorrect:r("err-correct")}),Modernizr.load({load:["site!deps/jquery.validate"+f],testReady:function(){return e.validator},complete:function(){Modernizr.load({load:["site!deps/additional-methods"+f],testReady:function(){return e.validator.methods.bic},complete:function(){var r,u,f,h=e("#"+p),m=h.find("form"),b=m.get(0),y=m.attr("id"),v=b.getElementsByTagName("label"),w=!1,_=!1,x="errors-"+(y||"default"),C=e.extend(!0,{},d,t[s],n.getData(h,s)),T=C.hdLvl;for("fr"===n.lang&&(e.validator.addMethod("alphanumeric",function(e,t){return this.optional(t)||/^[a-zà âçéèêëîïôûùüÿæÅ0-9_]+$/i.test(e)},"Letters, numbers, and underscores only please."),e.extend(e.validator.messages,{alphanumeric:"Veuillez fournir seulement des lettres, nombres et soulignages."})),h.append("<div class='arialive wb-inv' aria-live='polite' aria-relevant='all'></div>"),u=v.length,r=0;r!==u;r+=1)v[r].insertAdjacentHTML("beforeend"," ");m.find("strong.required:not([aria-hidden='true'])").each(function(){let t=e(this),a=t.closest("label"),n=a.attr("for"),r=n?e("#"+n):a.find(":input").first();if(!r.length){let i=a.attr("id")||t.closest("id");r=m.find("[aria-labelledby~='"+i+"']:input").first()}r.is("[required], [aria-required='true']")&&t.attr("aria-hidden","true")}),e.validator.addMethod("postalCodeCA",function(e,t){var a=e.replace(/\u00a0/g," ").trim();return this.optional(t)||/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJKLMNPRSTVWXYZ] *\d[ABCEGHJKLMNPRSTVWXYZ]\d$/i.test(a)},"Please specify a valid Canadian postal code."),f=m.validate({meta:"validate",focusInvalid:!1,ignore:C.ignore,errorElement:"strong",errorPlacement:function(e,t){var a,n,r=t.attr("type"),i=t.attr("data-rule-require_from_group");if(e.data("element-id",t.attr("id")),r&&("radio"===(r=r.toLowerCase())||"checkbox"===r)&&0!==(a=t.closest("fieldset")).length&&0!==(n=a.find("legend").first()).length&&1!==a.find("input[name='"+t.attr("name")+"']")){e.appendTo(n);return}if(i&&0!==(a=t.closest("fieldset")).length&&0!==(n=a.find("legend").first()).length&&1!==a.find("input[name='"+t.attr("name")+"']")){var s=n.find("strong.error"),o=n.attr("id");s.length>0&&s.remove(),o||(o="required-group-"+c,c+=1,n.attr("id",o)),e.data("element-id",o),e.attr("id",o),e.appendTo(n);return}if(m.find("label").find(".wb-server-error + input.css-implicite-input[name='"+t.attr("name")+"']").length>0){e.insertBefore(m.find(".wb-server-error + input.css-implicite-input[name='"+t.attr("name")+"']"));return}e.appendTo(m.find("label[for='"+t.attr("id")+"']"))},showErrors:function(t){this.defaultShowErrors();var n,r,s,o,l,c,d,u,p,f,g,h,b=m.find(".wb-server-error, strong.error").filter(":not(:hidden)"),y=m.find("input.error, select.error, textarea.error"),v="<span class='prefix'>"+i.error+" ",C=i.colon+" </span>",k=i.hyphen,A=m.closest(".wb-frmvld").find(".arialive")[0];if(m.find(".has-error [aria-invalid=false]").closest(".has-error").removeClass("has-error"),0!==b.length){for(r="<"+T+">
140"+i.formNotSubmitted+b.length+(1!==b.length?i.errorsFound:i.errorFound)+"</"+T+"><ul>",y.closest(".form-group").addClass("has-error"),l=b.length,o=0;o!==l;o+=1)if(c=b.eq(o),d=v+(o+1)+C,0===(u=c.closest("label").find(".field-name")).length&&0!==(p=c.closest("fieldset")).length&&(u=p.find("legend .field-name")),c.find("span.prefix").detach(),b[o].classList.contains("wb-server-error")){if(b[o].id){var E=a.getElementById(b[o].id).parentElement;null===E?r+="<li><a>"+d+(0!==u.length?u.html()+k:"")+c.text()+k+i.errorCorrect+"</a></li>":E.hasAttribute("for")&&E.getAttribute("for").length>0?r+="<li><a href='#"+E.getAttribute("for")+"'>"+d+(0!==u.length?u.html()+k:"")+c.text()+k+i.errorCorrect+"</a></li>":E.getElementsByTagName("input")[0]&&E.getElementsByTagName("input")[0].name.length>0?r+="<li><a href='#"+E.getElementsByTagName("input")[0].id+"'>"+d+(0!==u.length?u.html()+k:"")+c.text()+k+i.errorCorrect+"</a></li>":"LEGEND"===E.tagName&&("checkbox"===E.parentElement.getElementsByTagName("input")[0].type||"radio"===E.parentElement.getElementsByTagName("input")[0].type&&E.parentElement.getElementsByTagName("input")[0].name.length>0)?r+="<li><a href='#"+E.parentElement.getElementsByTagName("input")[0].id+"'>"+d+(0!==u.length?u.html()+k:"")+c.text()+k+i.errorCorrect+"</a></li>":r+="<li><a>"+d+(0!==u.length?u.html()+k:"")+c.text()+k+i.errorCorrect+"</a></li>",c.html("<strong>"+d+c.text()+"</strong>")}_=!0}else r+="<li><a href='#"+c.data("element-id")+"'>"+d+(0!==u.length?u.html()+k:"")+c.text()+"</a></li>",c.html("<span class='label label-danger'>"+d+c.text()+"</span>");if(r+="</ul>",!w){for(s in o=0,t)if(Object.prototype.hasOwnProperty.call(t,s)){o+=1;break}if(0!==o){for(o=0,l=b.length;o!==l;o+=1)if((f=b[o].parentNode).getAttribute("for")===s){(h=a.getElementById(s)).matches(":focus")?A.innerHTML="":(g=f.innerHTML)!==A.innerHTML&&(A.innerHTML=g);break}}else 0!==A.innerHTML.length&&(A.innerHTML="")}_&&setTimeout(function(){if(0===(n=m.find("#"+x)).length)n=e("<section id='"+x+"' class='alert alert-danger' tabindex='-1'>"+r+"</section>").prependTo(m);else if(n.html()!==r.replace(/'/g,'"').replace(/ /g," ")){var t=n.find("a").is(":focus");n.empty().append(r),t&&n.find("a").last().trigger("focus")}w&&(n.trigger("setfocus.wb"),w=!1)},100)}else 0!==A.innerHTML.length&&(A.innerHTML=""),m.find("#"+x).detach(),_=!1},invalidHandler:function(){w=!0,_=!0}}),m.on("change","input[type=date], input[type=file], select",function(){m.validate().element(this)}),l.on("click",o+" input[type=reset]",function(t){var a,n=t.which;n&&1!==n||(f.resetForm(),e("#"+x).detach(),0!==(a=m.closest(".wb-frmvld").find(".arialive")[0]).innerHTML.length&&(a.innerHTML=""),m.find(".has-error").removeClass("has-error"))}),m.find(".wb-server-error").filter(":not( :hidden )").parent().each(function(){this.attributes.for&&this.attributes.for.value.length>0?m.validate().element(e("[id ="+this.attributes.for.value+"]")):e(this).find("input")[0]?m.validate().element(e(this).find("input")[0]):e(this).next(".radio, .checkbox").children("label").children("input")[0]?e(this).find(e(this).next(".radio, .checkbox").children("label").children("input")[0].id)&&m.validate().element(e(this).next(".radio, .checkbox").children("label").children("input")[0]):e(this).next(".radio-inline, .checkbox-inline, .label-inline").children("input")[0]&&e(this).find(e(this).next(".radio-inline, .checkbox-inline, .label-inline").children("input")[0].id)&&m.validate().element(e(this).next(".radio-inline, .checkbox-inline, .label-inline").children("input")[0])}),m.trigger("formLanguages.wb"),n.ready(e(g),s)}})}}))};l.on("timerpoke.wb wb-init"+o,o,u),n.add(o)}(jQuery,window,document,wb),/* 141 * @title WET-BOEW Geomap 142 * @overview Displays a dynamic map over which information from additional sources can be overlaid. 143 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 144 * @author @pjackson28 145 */ function(e,t){"use strict";var a="wb-geomap",n="."+a,r=t.doc,i=function(r){var i,s,o,l,c=t.init(r,a,n);c&&(s=(i=e(c)).find(".wb-geomap-map"),o=i.find(".wb-geomap-legend"),s.height(.8*s.width()),s.append("<div class='geomap-progress'><span class='wb-inv'>"+t.i18n("load")+"</span></div>"),o.append("<div class='skeleton-lgnd-1'><span class='skeleton-lgnd-3'></span></div><div class='skeleton-lgnd-2'><span class='skeleton-lgnd-3'></span></div><div class='skeleton-lgnd-2'><span class='skeleton-lgnd-3'></span></div><div class='skeleton-lgnd-2'><span class='skeleton-lgnd-3'></span></div><div class='skeleton-lgnd-1'><span class='skeleton-lgnd-3'></span></div>"),l=t.getMode()+".js",Modernizr.load([{both:["site!deps/proj4"+l,"site!deps/ol"+l,"site!deps/geomap-lib"+l],complete:function(){i.trigger("geomap.wb")}}]))};r.on("timerpoke.wb wb-init"+n,n,i),t.add(n)}(jQuery,wb),/** 146 * @title WET-BOEW JSON Fetch [ json-fetch ] 147 * @overview Load and filter data from a JSON file 148 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 149 * @author @duboisp 150 */ function(e,t,a){"use strict";var n=t.doc,r={},i={},s=function(t,a,n,r,i,o,l){if(!window.jsonpointer)return setTimeout(function(){s(t,a,n,r,i,o,l)},100),!1;if(o)try{n=jsonpointer.get(n,o)}catch(c){console.error("JSON fetch - Bad JSON selector: "+o),console.error(n),console.error(e("#"+t).get(0))}e("#"+t).trigger({type:"json-fetched.wb",fetch:{response:n,status:r,xhr:i,refId:a,fetchedOpts:l}},this)};n.on("json-fetch.wb",function(n){var o,l,c,d,u,p,f=n.element||n.target,g=n.fetch||{url:""},h=g.url.split("#"),m=h[0],b=g.nocache,y=g.nocachekey||t.cacheBustKey||"wbCacheBust",v=h[1]||!1,w=g.refId;if(f===n.target||n.currentTarget===n.target){if(f.id||(f.id=t.getId()),u=f.id,v){if(91===(d=(c=v.split("/"))[0]).charCo
150deAt(0)){e("#"+u).trigger({type:"postpone.wb-jsonmanager",postpone:{callerId:u,refId:w,dsname:d,selector:v.substring(d.length)}});return}g.url=m}b&&(l=y+"="+(o="nocache"===b?t.guid():t.sessionGUID()),m=-1!==m.indexOf("?")?m+"&"+l:m+"?"+l,g.url=m),Modernizr.load({load:"site!deps/jsonpointer"+t.getMode()+".js",complete:function(){if(m){if(!g.nocache){if(p=r[m]){s(u,w,p,"success",void 0,v,g);return}if(i[m]){i[m].push({callerId:u,refId:w,selector:v});return}i[m]=[]}if(g.dataType="json",g.jsonp&&(g.jsonp=!1),g.data){try{g.data="string"==typeof g.data?g.data:JSON.stringify(g.data)}catch(t){throw"JSON fetch - Data being sent to server - "+t}g.method=g.method||"POST",g.contentType=g.contentType||"application/json"}e.ajax(g).done(function(e,t,a){var n,o,l,c;if(!g.nocache)try{r[m]=e}catch(d){return}if(s(u,w,e,t,a,v,g),i[m])for(n=0,o=(c=i[m]).length;n!==o;n+=1)s((l=c[n]).callerId,l.refId,e,t,a,l.selector,g)}).fail(function(t,n,r){t.responseText=a.sanitize(t.responseText),e("#"+u).trigger({type:"json-failed.wb",fetch:{xhr:t,status:n,error:r,refId:w,fetchOpts:g}},this)},this)}}})}})}(jQuery,wb,DOMPurify),/** 151 * @title WET-BOEW Lightbox 152 * @overview Helps build a photo gallery on a web page. 153 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 154 * @author @pjackson28 155 */ function(e,t,a,n,r,i){"use strict";var s,o,l,c="wb-lbx",d="."+c,u="deps-loaded"+d,p="#wb-tphp, body > header, body > main, body > footer",f=r.doc,g={closeMarkup:"<button type='button' class='mfp-close'><span class='mfp-close' aria-hidden='true'>×</span><span class='wb-inv'>%title%</span></button>"},h=function(t){var i,o=r.init(t,c,d);o&&(i=o.id,f.one(u,function(){var t,o=n.getElementById(i),l=e(o),u={};o&&(u.callbacks=s,"a"!==o.nodeName.toLowerCase()?(u.delegate="a:not("+d+"-skip)",t=o.getElementsByTagName("a")[0],-1!==o.className.indexOf("-gal")&&(u.gallery={enabled:!0})):t=o,t&&("#"===t.getAttribute("href").charAt(0)?u.type="inline":-1!==t.className.indexOf("lbx-iframe")?u.type="iframe":0===t.getElementsByTagName("img").length?u.type="ajax":u.type="image",-1!==o.className.indexOf("lbx-modal")&&(u.modal=!0),-1!==o.className.indexOf("lbx-ajax")&&(u.type="ajax"),-1!==o.className.indexOf("lbx-image")&&(u.type="image"),-1!==o.className.indexOf("lbx-inline")&&(u.type="inline"),u=e.extend(!0,u,a[c],r.getData(l,c)),l.magnificPopup(u).data("wbLbxFilter",u.filter)),r.ready(l,c))}),m())},m=function(){l||(l={close:(o=r.i18n)("close"),oClose:o("overlay-close"),tClose:o("close")+o("space")+o("overlay-close")+o("space")+o("esc-key"),tLoading:o("load"),gallery:{tPrev:o("prv-l"),tNext:o("nxt-r"),tCounter:o("lb-curr")},image:{tError:o("lb-img-err")+' (<a href="url%">)'},ajax:{tError:o("lb-xhr-err")+' (<a href="url%">)'}},s={open:function(){var e,t,a=this.currItem,r=this.contentContainer,i=this.wrap,s=i.find(".mfp-container"),o=s.parent(),l=i.find(".modal-dialog"),c=i.find(".mfp-arrow"),d=c.length;for(b(l),f.find("body").addClass("wb-modal"),f.find(p).attr("aria-hidden","true"),e=0;e!==d;e+=1)t=c[e],t.innerHTML+="<span class='wb-inv'> "+t.title+"</span>";"image"===a.type?r.find(".mfp-bottom-bar").attr("id","lbx-title"):r.attr("role","document"),this.contentContainer.attr("data-pgtitle",n.getElementsByTagName("H1")[0].textContent),y(i),o.is("dialog")?o.attr("open","open"):s.wrap("<dialog class='mfp-container' open='open'></dialog>")},close:function(){f.find("body").removeClass("wb-modal"),f.find(p).removeAttr("aria-hidden"),this.wrap.find("dialog").removeAttr("open")},change:function(){var e,t,a,r,i,s,o,l=this.currItem,c=this.contentContainer;"image"===l.type?(e=l.el,r=l.img,t=c.find(".mfp-bottom-bar"),e?(a=e.find("img"),r.attr("alt",a.attr("alt")),(i=a.attr("aria-describedby"))&&r.attr("aria-describedby",i),(i=a.attr("longdesc"))&&r.attr("longdesc",i),(s=e.attr("data-title"))&&null!==(o=n.getElementById(s))&&t.find(".mfp-title").html(o.innerHTML)):r.attr("alt",t.find(".mfp-title").html())):c.find(".modal-title, h1").first().attr("id","lbx-title"),c.attr("aria-labelledby","lbx-title")},parseAjax:function(a){var n,r=this.currItem,s=r.el,o=r.src.split("#")[1],l=(s?s.data("wbLbxFilter"):i)||!!o&&"#"+o;a.data=t.sanitize(a.data),n=l?e("<div>"+a.data+"</div>
155").find(l):e(a.data),b(n),n.find(".modal-title, h1").first().attr("id","lbx-title"),a.data=n},ajaxContentAdded:function(){y(this.wrap)}}),Modernizr.load({load:"site!deps/jquery.magnific-popup"+r.getMode()+".js",testReady:function(){return e.magnificPopup},complete:function(){e.extend(!0,e.magnificPopup.defaults,l,g),f.trigger(u)}})},b=function(t){if(null!==t&&t.hasClass("modal-dialog")){var a,r=t.find(".modal-footer").first(),i=r.length,s=i&&0!==e(r).find(".popup-modal-dismiss").length,o=l.close,c=l.oClose;s||(i||(r=n.createElement("div")).setAttribute("class","modal-footer"),a="<button type='button' class='btn btn-sm btn-primary pull-left popup-modal-dismiss'>"+o+"<span class='wb-inv'>"+c+"</span></button>",e(r).append(a),i||e(r).insertAfter(t.find(".modal-body")))}},y=function(t){t.on("keydown",function(a){if(9===a.which){var r=t.find(".mfp-container :tabbable"),i=r.first()[0],s=r.last()[0],o=e(n.activeElement)[0];a.shiftKey||o!==s?a.shiftKey&&(o===i||o===t[0])&&(a.preventDefault(),s.focus()):(a.preventDefault(),i.focus())}})};f.on("timerpoke.wb wb-init"+d,d,h),f.on("click",".mfp-wrap a[href^='#']",function(t){var a,r,i=t.which,s=t.currentTarget;(!i||1===i)&&(a=e(s).closest(".mfp-wrap"),(r=n.getElementById(s.getAttribute("href").substring(1)))&&!e.contains(a[0],r)&&(t.stopPropagation?t.stopImmediatePropagation():t.cancelBubble=!0,e.magnificPopup.close(),e(r).trigger("setfocus.wb")))}),e(n).on("click",".popup-modal-dismiss",function(t){this.hasAttribute("target")||t.preventDefault(),e.magnificPopup.close()}),e(n).on("keydown",".mfp-wrap:not(.mfp-close-btn-in)",function(t){if("Escape"===t.key){let a=t.currentTarget.querySelectorAll(".popup-modal-dismiss");e(a[a.length-1]).trigger("click")}}),e(n).on("keydown","."+c,function(t){let a=t.currentTarget;"button"===a.getAttribute("role")&&" "===t.key&&(t.preventDefault(),e(a).trigger("click"))}),e(n).on("open"+d,function(t,a,n,o,l){if(t.namespace===c){var d=a.length>1,p=!!n&&!d&&n,g=o?function(){return o[e.magnificPopup.instance.index]}:"title";t.preventDefault(),f.one(u,function(){e.magnificPopup.open({items:a,modal:p,gallery:{enabled:d},image:{titleSrc:g},callbacks:s,ajax:l}),r.ready(i,c)}),m()}}),r.add(d)}(jQuery,DOMPurify,window,document,wb),/** 156 * @title WET-BOEW Menu plugin 157 * @overview A Menu plugin for WET 158 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 159 * @author WET community 160 */ function(e,t,a,n){"use strict";var r,i="wb-menu",s="."+i,o=a.getElementById("wb-bc"),l="navcurr.wb",c="setfocus.wb",d="> a, > details > summary",u=n.doc,p=0,f=function(t){var a,r,o=n.init(t,i,s);!o||((a=e(o)).attr("id")||a.attr("id",i+"-"+p),p+=1,(r=a.data("ajax-fetch"))?a.trigger({type:"ajax-fetch.wb",fetch:{url:r}}):(r=a.data("ajax-replace")||a.data("ajax-append")||a.data("ajax-prepend"))||b(a,a))},g=function(e){var t,a,n,r=e.length;for(n=0;n!==r;n+=1)a=(t=e.eq(n)).siblings("ul"),t.attr({"aria-posinset":n+1,"aria-setsize":r,role:"menuitem"}),0!==a.length&&(t.attr("aria-haspopup","true"),a.attr({"aria-expanded":"false","aria-hidden":"true"}),g(a.children("li").find(d)))},h=function(t,a,n,r,i){var s,o,l,c,u,p,f=e(t),g="' aria-posinset='",m=" role='menuitem' aria-setsize='",b="<li><details><summary class='mb-item"+(f.hasClass("wb-navcurr")||0!==f.children(".wb-navcurr").length?" wb-navcurr'":"'")+m+n+g+(a+1)+"' aria-haspopup='true'>"+f.text()+"</summary><ul class='list-unstyled mb-sm' role='menu' aria-expanded='false' aria-hidden='true'>";for(s=0;s!==i;s+=1)l=(o=(c=r.eq(s)).find(d))[0],p=(u=o.parent().find("> ul > li")).length,l&&0===p&&"a"===l.nodeName.toLowerCase()?b+="<li>"+c[0].innerHTML.replace(/(<a\s)/,"$1"+m+i+g+(s+1)+"' tabindex='-1' ")+"</li>":b+=h(l,s,i,u,u.length);return b+"</ul></details></li>"},m=function(t){var a,n,r,i,s,o,l,c,d,u,p,f,g="";for(c=0,u=t.length;c!==u;c+=1){for(d=0,n=t[c],a="",p=(r=n[0]).length;d!==p;d+=1)0!==(f=(o=e((i=r[d]).parentNode).find("> ul > li")).length)?a+=h(i,d,p,o,f):a+="<li class='no-sect'>"+(l="li"===(s=i.parentNode).nodeName.toLowerCase()?s.innerHTML:s.getElementsByTagName("a")[0]===i.getElementsByTagName("a")[0]?i.innerHTML:"<a href='"+s.getElementsByTagName("a")[0].href+"'>"+i.innerHTML+"</a>").replace(/(<a\s)/,"$1 class='mb-item' role='menuitem' aria-setsize='"+p+"' aria-posinset='"+(d+1)+"' tabindex='-1' ")+"</li>";g+="<nav role='navigation' typeof='SiteNavigationElement' id='"+n[1]+"' class='"+n[1]+" wb-menu wb-menu-inited'><h3>"+n[2]+"</h3><ul class='list-unstyled mb-menu' role='menu'>"+a+"</ul></nav>"}return g.replace(/['"]?list-group-item['"]?/gi,'""')},b=function(t,r){var s=e("#wb-info"),c=function(){var c,d,u,p,f,h=r&&"string"===r.attr("data-type")?r:t,b=h.find(".menu"),v=b.find("> li > a"),w=t.data("trgt"),_=e("#wb-sec"),x=e("#wb-lng"),C=a.getElementById("wb-srch"),T="",k=a.getElementById(w),A=e(k),E=[];if(null!==C&&(T+="<section class='srch-pnl'>"+C.innerHTML.replace(/h2>/i,"h3>").replace(/(for|id)="([^"]+)"/gi,"$1='$2-imprt'")+"</section>"),0!==x.length){for(p=(u=x.find("li:not(.curr)")).length,T+="<section class='lng-ofr'><h3>"+x.children("h2").html()+"</h3><ul class='list-inline'>",f=0;f!==p;f+=1)T+=u[f].innerHTML.replace(/(<a\s.*<\/a>?)/,"<li>$1</li>");T+="</ul></section>"}(0!==_.length||0!==b.length||0!==s.length)&&(0!==_.length&&(E.push([_.find("ul").filter(":not(li > ul)").find(" > li > *:first-child").get(),"sec-pnl",_.find("h2").html()]),0===_.find(".wb-navcurr").length&&_.trigger(l,o)),0!==b.length&&(b.attr("role")||b.attr("role","menubar"),E.push([v.get(),"sm-pnl",h.find("h2").html()])),0!==s.length&&(E.push([s.find("h3, a").not("section a"),"info-pnl",s.find("h2").html()]),0===s.find(".wb-navcurr").length&&s.trigger(l,o)),T+=m(E)),k.innerHTML="<header class='modal-header'><div class='modal-title'>"+a.getElementById("wb-glb-mn").getElementsByTagName("h2")[0].innerHTML+"</div></header><div class='modal-body'>"+T+"</div>",k.className+=" wb-overlay modal-content overlay-def wb-panel-r",e.active>0?e(a).ajaxStop(function(){y(A)}):y(A),h.find(":discoverable").attr("tabindex","-1"),0!==v.length&&(v[0].setAttribute("tabindex","0"),g(v),v.filter("[aria-haspopup=true]").append("<span class='expicon glyphicon glyphicon-chevron-down'></span>")),t.html(h.html()),setTimeout(function(){for(t.trigger(l,o),A.find("#sm-pnl").trigger(l,o),p=(c=A.find(".wb-navcurr")).length,f=0;f!==p;f+=1)(d=c.eq(f)).hasClass(".mb-item")||(d=d.closest("details").children("summary").addClass("wb-navcurr"));"true"===(d=A.find("#sec-pnl .wb-navcurr.mb-item")).attr("aria-haspopup")&&d.trigger("click").parent().prop("open","open"),n.ready(t,i)},1)},d=s.find("[data-ajax-replace],[data-ajax-append],[data-ajax-prepend]").length,u=0;0===d?c():s.on("wb-contentupdated ajax-failed.wb",function(){(u+=1)===d&&c()})},y=function(e){e.trigger("wb-init.wb-overlay").find("summary").attr("tabindex","-1").trigger("wb-init.wb-details"),e.find(".mb-menu > li:first-child").find(".mb-item").attr("tabindex","0")},v=function(e,t,a){var n=e.length,r=e.index(t)+a;r=r===n?0:-1===r?n-1:r,e.eq(r).trigger(c)},w=function(e,t){e.removeClass("sm-open").children(".open").removeClass("open").attr({"aria-hidden":"true","aria-expanded":"false"}).find("details").removeAttr("open").children("ul").attr({"aria-hidden":"true","aria-expanded":"false"}),t&&e.removeClass("active")},_=function(e,t){var a=t.children("a");w(e.find(".active"),!0),t.addClass("active"),"true"===a.attr("aria-haspopup")&&t.addClass("sm-open").children(".sm").addClass("open").attr({"aria-hidden":"false","aria-expanded":"true"})},x=function(t,a){var n,r,i=a.length,s=String.fromCharCode(t);for(r=0;r!==i;r+=1)if((n=a[r]).innerHTML.charAt(0)===s)return e(n).trigger(c),!0;return!1};u.on("timerpoke.wb wb-init"+s+" ajax-fetched.wb ajax-failed.wb",s,function(t){var a,n,r=t.type;switch(r){case"ajax-fetched":case"ajax-failed":return a=t.target,t.currentTarget===a&&(n=e(a),b(n,"ajax-fetched"===r?t.fetch.pointer:n)),!1;case"timerpoke":case"wb-init":f(t)}return!0}),u.on("mouseleave",s+" .menu",function(t){var a=e(t.currentTarget);clearTimeout(r),r=setTimeout(function(){w(a.find(".active"),!0)},500)}),u.on("mouseenter",s+" .sm",function(){"true"===e(this).attr("aria-expanded")&&
160clearTimeout(r)}),u.on("click",s+" .item[aria-haspopup=true]",function(t){var a,n,r=t.which;r&&1!==r||(t.preventDefault(),(n=(a=e(this)).parent()).hasClass("sm-open")||a.trigger("focusin"))}),u.on("click",s+" [role=menu] [aria-haspopup=true]",function(t){var n,r,i=t.currentTarget,s=i.parentNode,o=s.getElementsByTagName("ul")[0],l="false"===o.getAttribute("aria-hidden");!l&&(e(s).closest("[role^='menu']").find("[aria-hidden=false]").parent().find("[aria-haspopup=true]").not(i).trigger("click"),r=a.getElementById("mb-pnl"),n=i.offsetTop,e.contains(r,i)&&n<r.scrollTop&&(r.scrollTop=n)),o.setAttribute("aria-expanded",!l),o.setAttribute("aria-hidden",l)}),u.on("click",function(t){var a,n=t.which;""!==t.type&&n&&1!==n||0===(a=e(s+" .sm-open")).length||0!==e(t.target).closest(s).length||w(a,!0)}),u.on("mouseover focusin",s+" .item",function(t){var a=e(t.currentTarget).parent(),n=a.closest(s);clearTimeout(r),"focusin"===t.type?_(n,a):r=setTimeout(function(){_(n,a)},500)}),u.on("keydown",s+" [role=menuitem]",function(t){var n,r,i,o,l,u,p,f,g,h=t.currentTarget,m=t.which,b=e(h),y="true"===b.attr("aria-haspopup"),C=b.parent().closest("[role^='menu']"),T="menubar"===C.attr("role");!(t.ctrlKey||t.altKey||t.metaKey)&&(9===m?w(e(s+" .active"),!0):"A"===h.nodeName&&h.hasAttribute("href")&&(13===m||32===m)?(t.preventDefault(),h.click(),w(e(s+" .active"),!0)):T?37===m||39===m?(t.preventDefault(),v(C.find("> li > a"),b,37===m?-1:1)):y&&(13===m||32===m||38===m||40===m)?(t.preventDefault(),(o=(i=b.parent()).find(".sm")).hasClass("open")||_(C.closest(s),i),o.children("li").eq(0).find(d).trigger(c)):27===m?(t.preventDefault(),w(C.closest(s).find(".active"),!1)):m>64&&m<91&&(t.preventDefault(),x(m,b.parent().find("> ul > li > a, > ul > li > details > summary").get())):(u=d,38===m||40===m?(t.preventDefault(),v(C.children("li").find(u),b,38===m?-1:1)):y&&(13===m||32===m||39===m)?(i=b.parent(),t.stopImmediatePropagation(),t.preventDefault(),h.nodeName.toLowerCase("summary")&&((p=!!i.attr("open"))||(e(parent).closest("[role^='menu']").find("[aria-hidden=false]").parent().find("[aria-haspopup=true]").not(h).trigger("click"),g=a.getElementById("mb-pnl"),f=h.offsetTop,e.contains(g,h)&&f<g.scrollTop&&(g.scrollTop=f),b.trigger("click")),i.children("ul").attr({"aria-expanded":"true","aria-hidden":"false"}).find("[role=menuitem]:first").trigger("setfocus.wb"))):27===m||37===m||39===m?(r=(i=C.parent()).closest("[role^='menu']"),(37===m||39===m)&&t.preventDefault(),"menubar"===r.attr("role")?(n=C.siblings("a"),27===m?(t.preventDefault(),n.trigger(c),setTimeout(function(){w(n.parent(),!1)},100)):"menubar"===r.attr("role")&&v(r.find("> li > a"),n,37===m?-1:1)):39!==m&&(o=0!==r.length?C:b,0!==r.length?(t.preventDefault(),C.closest("li").find(u).trigger("click").trigger("setfocus.wb")):"false"===b.parent().children("ul").attr("aria-hidden")&&(t.preventDefault(),b.trigger("click").trigger("setfocus.wb")))):!(m>64)||!(m<91)||(t.preventDefault(),(l=x(m,(i=b.closest("li")).nextAll().find(u).get()))||(l=x(m,i.prevAll().find(u).get())))))}),u.on("keyup",s+" [role=menuitem]",function(e){return e.preventDefault(),!1}),u.on("mediumview.wb largeview.wb xlargeview.wb",function(){var t=a.getElementById("mb-pnl");t&&"false"===t.getAttribute("aria-hidden")&&e(t).trigger("close.wb-overlay")}),n.add(s)}(jQuery,window,document,wb),/** 161 * @title WET-BOEW Multimedia PLayer 162 * @overview An accessible multimedia player for <audio> and <video> tags 163 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 164 * @author WET Community 165 */ function(e,t,a,n,r){"use strict";var i,s,o,l,c="wb-mltmd",d="."+c,u=d+" .wb-mm-ctrls",p="ready.youtube",f="ccloaded"+d,g="ccloadfail"+d,h="ccvisch
165ange"+d,m="renderui"+d,b="inited"+d,y="youtube"+d,v="resize"+d,w="templateloaded"+d,_="cc_on",x=!1,C=["durationchange","playing","pause","ended","volumechange","timeupdate","waiting","canplay","seeked","progress",f,g,h,"cuepoint"+d].join(" "),T=n.doc,k=n.win,A=function(t){var i=n.init(t,c,d);i&&(l||(a.addEventListener("message",function(e){var t,a,n,r,i;try{if((t=JSON.parse(e.data)).event&&"infoDelivery"===t.event&&t.info&&t.info.playerState){for(n=0,r=(a=document.getElementsByTagName("iframe")).length;n<r;n++)if((i=a[n]).dataset.L2&&i.contentWindow===e.source){B.call(i,{target:i.parentElement.parentElement.object,data:t.info.playerState});break}}}catch(s){}}),l={play:(o=n.i18n)("mmp-play"),pause:o("pause"),volume:o("volume"),cc_on:o("cc","on"),cc_off:o("cc","off"),cc_error:o("cc-err"),fs:o("fs"),mute_on:o("mute","on"),mute_off:o("mute","off"),duration:o("dur"),position:o("pos")}),s===r?(s="",e(i).trigger({type:"ajax-fetch.wb",fetch:{url:n.getPath("/assets")+"/mediacontrols.html"}})):""!==s&&e(i).trigger(w))},E=function(e){var t,a,n,r=2,i="";for(n=function(e,t){return Array(Math.max(t-String(e).length+1,0)).join(0)+e},e=Math.floor(e);r>=0;)a=Math.floor(e/(t=Math.pow(60,r))),""!==i&&(i+=":"),i+=n(a,2),e-=t*a,r-=1;return i},S=function(e){var t,a,n,i,s;if(e!==r){if("s"===e.charAt(e.length-1))return parseFloat(e.substring(0,e.length-1));for(t=0,a=e.split(":").reverse(),s=0,i=a.length;t<i;t+=1)n=0===t?parseFloat(a[t]):parseInt(a[t],10),s+=n*Math.pow(60,t);return s}return -1},N=(i=RegExp("{{\\s*([a-z0-9_$][\\.a-z0-9_]*)\\s*}}","gi"),function(e,t){return e.replace(i,function(e,a){for(var n=a.split("."),i=n.length,s=t,o=0;o<i;o+=1){if((s=s[n[o]])===r)throw"tim: '"+n[o]+"' not found in "+e;if(o===i-1)return s}})}),D=function(t){var a,n,i,s,o,l=[],c=".wb-tmtxt",d=t.find(c),u=d.length;for(a=0;a!==u;a+=1)n=e(d[a]),s=-1,o=-1,n.attr("data-begin")!==r?(s=S(n.attr("data-begin")),o=n.attr("data-end")!==r?S(n.attr("data-end")):S(n.attr("data-dur"))+s):n.attr("data")!==r&&(i=n.attr("data").replace(/(begin|dur|end)/g,'"$1"').replace(/'/g,'"'),s=S((i=e.parseJSON(i)).begin),o=i.end!==r?S(i.end):S(i.dur)+s),(n=n.clone()).find(c).detach(),l[l.length]={text:n.html(),begin:s,end:o};return l},O=function(e){var a,n,r,i,s=[],o=new DOMParser().parseFromString(e,"application/xml").querySelectorAll("[begin]"),l=o.length;for(a=0;a!==l;a+=1)r=S((n=o[a]).getAttribute("begin")+""),i=n.hasAttribute("end")?S(n.getAttribute("end")+""):S(n.getAttribute("dur")+"")+r,s[s.length]={text:t.sanitize(n.textContent),begin:r,end:i};return s},j=function(a,n){e.ajax({url:n,dataType:"html",dataFilter:function(e){return e.replace(/<img|object [^>]*>/g,"")},success:function(n){var r;(r=-1!==n.indexOf("<html")?D(e(t.sanitize(n,{WHOLE_DOCUMENT:!0}))):O(n)).length?a.trigger({type:f,captions:r}):a.trigger({type:g})},error:function(e,t,n){a.trigger({type:g,error:n})}})},I=function(e,t){var a=D(t);a.length?e.trigger({type:f,captions:a}):e.trigger({type:g})},L=function(t,a,n){var r,i,s=n.length;for(t.html(" "),i=0;i<s;i+=1)a>=(r=n[i]).begin&&a<=r.end&&t.html(e("<div>"+r.text+"</div>"))},M=function(t,a){var n,r;switch(t){case"play":try{this.object.play()}catch(i){this.object.doPlay()}break;case"pause":try{this.object.pause()}catch(s){this.object.doPause()}break;case"getCaptionsVisible":return e(this).hasClass(_);case"setCaptionsVisible":n=e(this),a?n.addClass(_):n.removeClass(_),n.trigger(h);break;case"fullscreen":this.object.requestFullscreen?this.object.requestFullscreen():this.object.webkitRequestFullscreen?this.object.webkitRequestFullscreen():this.object.msRequestFullscreen&&this.object.msRequestFullscreen();break;case"getBuffering":return this.object.buffering||!1;case"setBuffering":this.object.buffering=a;break;case"getPreviousTime":return this.object.previousTime;case"setPreviousTime":this.object.previousTime=a;break;default:switch(r=t.charAt(3).toLowerCase()+t.substr(4),t.substr(0,3)){case"get":return"function"!=typeof this.object[r]?this.object[r]:this.object[r]();case"set":"function"!=typeof this.object[r]?this.object[r]=a:this.object[t](a)}}},P=function(t,a){var r,i=e(this.object.getIframe());switch(t){case"play":return this.object.wasMutedPlay=this.object.isMuted(),this.object.playVideo();case"pause":return this.object.pauseVideo();case"getPaused":return -1===(r=this.object.getPlayerState())||0===r||2===r||5===r;case"getPlayed":return this.object.getPlayerState()>-1;case"getEnded":return 0===this.object.getPlayerState();case"getDuration":return this.object.getDuration();case"getCurrentTime":return this.object.getCurrentTime();case"setCurrentTime":return this.object.seekTo(a,!0);case"fullscreen":return this.object.getIframe().requestFullscreen();case"getMuted":if(!this.object.playedOnce&&this.object.wasMutedPlay)return r=this.object.wasMutedPlay,this.object.playedOnce=!0,r;return this.object.isMuted();
165case"setMuted":a?this.object.mute():this.object.unMute(),setTimeout(function(){i.trigger("volumechange")},n.isReady?50:500);break;case"getVolume":return this.object.getVolume()/100;case"setVolume":this.object.setVolume(100*a),setTimeout(function(){i.trigger("volumechange")},50);break;case"getCaptionsVisible":return e(this).hasClass(_);case"setCaptionsVisible":if(a){e(this).addClass(_),this.object.loadModule("cc");var s=this.object.getOption("cc","tracklist");if(s&&s.length>0)this.object.setOption("cc","track",{languageCode:this.object.getOption("cc","tracklist")[0].languageCode});else{this.object.loadModule("captions");var o=this.object.getOption("captions","tracklist");o&&o.length>0&&this.object.setOption("captions","track",{languageCode:this.object.getOption("captions","tracklist")[0].languageCode})}}else e(this).removeClass(_),this.object.unloadModule("cc"),this.object.unloadModule("captions");e(this).trigger(h)}},B=function(t){var a,i,s,o,u,p=t.target.getIframe(),f=e(p),g=function(){f.trigger("timeupdate")};switch(t.data){case null:f.trigger("canplay").trigger("durationchange"),i=(a=f.parentsUntil(d).parent()).get(0),a.data("putMutedOnInit")&&(P.call(a.get(0),"setMuted",!0),a.data("putMutedOnInit",!1)),(o=n.getData(i,c))!==r&&null!==o.closedCaptions&&!0===o.closedCaptions&&(P.call(i,"setCaptionsVisible",!0),(u=e(i).find(".cc")).attr({title:l.cc_off,"aria-pressed":!0}));break;case -1:t.target.unMute(),f.trigger("durationchange");break;case 0:f.trigger("ended"),p.timeline=clearInterval(p.timeline);break;case 1:s=(i=(a=f.parentsUntil(d).parent()).get(0)).player("getMuted"),p.dataset.L2&&P.call(i,"setCaptionsVisible",a.hasClass(_)),f.trigger("canplay").trigger("play").trigger("playing"),s&&P.call(i,"setMuted",!0),p.timeline=setInterval(g,250);break;case 2:f.trigger("pause"),p.timeline=clearInterval(p.timeline);break;case 3:p.timeline=clearInterval(p.timeline)}},R=function(){a.youTube.ready=!0,T.trigger(p)},F=function(){e(d+" object, "+d+" iframe, "+d+" video").trigger(v)};T.on("timerpoke.wb wb-init"+d,d,A),k.on("resize",F),T.on("ajax-fetched.wb "+w,d,function(t){var a=e(this);"ajax-fetched"===t.type&&(s=t.fetch.pointer.html(),a=e(d)),a.trigger({type:b})}),T.on(b,d,function(t){if(t.namespace===c){var i,s=e(this),o=s.children("audio, video").eq(0),d=o.children("track[kind='captions']").attr("src")||r,u=s.attr("id"),f=o.attr("id")||u+"-md",g=o.is("audio")?"audio":"video",h=o.attr("title")||"",b="video"===g?o.attr("width")||o.width():0,v="video"===g?o.attr("height")||o.height():0,w=n.getData(s,c),_=e.extend({media:o,captions:d,id:u,mId:f,type:g,title:h,height:v,width:b},l),C=o.get(0),k=a.youTube,A=n.i18n;if(o.attr("id")===r&&o.attr("id",f),w!==r&&(_.shareUrl=w.shareUrl,_.fullscreen=w.fullscreenBtn||!1,_.closedCaptions=w.closedCaptions||!1,_.closedCaptions!==r&&(x=_.closedCaptions)),s.addClass(g),o.find("[type='video/youtube']").length>0)return i=n.getUrlParts(s.find("[type='video/youtube']").attr("src")),_.youTubeId=i.params.v?i.params.v:i.pathname.substr(1),_.isInitMuted=o.get(0).muted,o[0].width&&o[0].height?(_.width=o[0].width,_.height=o[0].height):(_.width=640,_.height=360),!1===k.ready?T.one(p,function(){s.trigger(y,_)}):s.trigger(y,_),Modernizr.load({load:"https://www.youtube.com/iframe_api",complete:function(){setTimeout(function(){var t,r,i;(r=(t=a.performance.getEntriesByType("resource")).filter(function(e){return"iframe"===e.initiatorType&&e.name.includes(_.youTubeId)})).length<1&&!n.isReady&&(i=e("<div aria-live='polite' class='pstn-lft-xs bg-dark text-white'><p class='mrgn-tp-md mrgn-rght-md mrgn-bttm-md mrgn-lft-md'>"+A("msgYoutubeNotLoad")+"</p></div>"),s.prepend(i),_.notifyText=i,n.ready(s,c))},1e3)}});null===C.error&&""!==C.currentSrc&&C.currentSrc!==r&&(s.trigger(m,[g,_]),F(),n.ready(s,c))}}),T.on(y,d,function(t,a){if(t.namespace===c){var r,i,s=a.mId,o=e(t.currentTarget);i=new YT.Player(s,{videoId:a.youTubeId,width:a.width,height:a.height,playerVars:{autoplay:0,controls:0,hl:n.lang,origin:n.pageUrlParts.host,rel:0,cc_load_policy:1},events:{onReady:function(e){a.notifyText&&a.notifyText.hide(),F(),B(e),n.isReady||n.ready(o,c)},onStateChange:B,onApiChange:function(){var e=o.get(0);e.player("setCaptionsVisible",e.player("getCaptionsVisible"))},onError:function(){console.warn("There is an issue loading the YouTube player")}}}),o.addClass("youtube"),r=o.find("#"+s),a.media=r,a.ytPlayer=i,a.fullscreen&&o.attr("data-fullscreen-btn",!0),r.on("load",function(e){var t=e.currentTarget.dataset;t.L1?t.L2=!0:t.L1=!0}),o.trigger(m,["youtube",a])}}),T.on(m,d,function(t,i,o){if(t.namespace===c){var d,u,p,f=e(t.currentTarget),g=n.getUrlParts(o.captions),h=n.getUrlParts(a.location.href),m=o.media;if(m.after(N(s,o)).wrap('<div class="display"></div>'),(d=m.is("object")?m.children(":first-child"):m).on(C,function(e){f.trigger(e)}),this.object=o.ytPlayer||m.get(0),this.player=o.ytPlayer?P:M,"youtube"===i||isNaN(this.player("getDuration"))||d.trigger("durationchange"),f.find("progress").trigger("wb-init.wb-progress"),f.find("input[type='range']").trigger("wb-init.wb-slider"),o.shareUrl!==r&&e("<div class='wb-share' data-wb-share='{\"type\": \""+("audio"===i?i:"video")+'", "title": "'+o.title.replace(/'/g,"'")+'", "url": "'+o.shareUrl+'", "pnlId": "'+o.id+"-shr\"}'></div>").insertBefore(m.parent()).trigger("wb-init.wb-share"),o.isInitMuted?f.data("putMutedOnInit",!0):!o.ytPlayer&&this.object.muted&&m.trigger("volumechange"),o.captions===r)return 1;h.absolute.replace(h.hash||"#","")!==g.absolute.replace(g.hash||"#","")?
165j(m,g.absolute):I(m,e("#"+n.jqEscape(g.hash.substring(1)))),o.fullscreen&&f.attr("data-fullscreen-btn",!0);let b;f.data("wbMltmd")!==r&&(b=f.data("wbMltmd").closedCaptions),b!==r&&x!==r&&!0===x&&(f.addClass(_),x=!0,(u=f.find(".cc")).attr({title:l.cc_off,"aria-pressed":!0}),(p=u.find(".wb-inv")).text(l.cc_off))}}),T.on("click",d,function(t){var a=e(t.target),n=a.attr("class")||"";if(2===t.which||3===t.which)return!0;/playpause|-play|-pause|display/.test(n)||a.is("object")||a.is("video")?this.player("getPaused")||this.player("getEnded")?this.player("play"):this.player("pause"):!/(^|\s)cc\b|-subtitles/.test(n)||a.attr("disabled")||a.parent().attr("disabled")?/\bmute\b|-volume-(up|off)/.test(n)?this.player("setMuted",!this.player("getMuted")):a.is("progress")||a.hasClass("progress")||a.hasClass("progress-bar")?this.player("setCurrentTime",this.player("getDuration")*((t.pageX-a.offset().left)/a.width())):/\brewind\b|-backward/.test(n)?this.player("setCurrentTime",this.player("getCurrentTime")-.05*this.player("getDuration")):/\bfastforward\b|-forward/.test(n)?this.player("setCurrentTime",this.player("getCurrentTime")+.05*this.player("getDuration")):n.includes("cuepoint")?e(this).trigger({type:"cuepoint",cuepoint:a.data("cuepoint")}):/fullscreen|fs/.test(n)&&this.player("fullscreen"):this.player("setCaptionsVisible",!this.player("getCaptionsVisible"))}),T.on("input change",d,function(t){var a=t.target;e(a).hasClass("volume")&&(t.currentTarget.player("setMuted",!1),t.currentTarget.player("setVolume",a.value/100))}),T.on("keydown",d+" .display,"+u,function(t){var a=t.currentTarget.parentNode,n=t.which,r=0,i=e(a);if(!(t.ctrlKey||t.altKey||t.metaKey)){switch(n){case 32:e(t.target).hasClass("mute")||"INPUT"===t.target.nodeName?i.find(".mute").trigger("click"):e(t.target).hasClass("fs")?i.find(".fs").trigger("click"):e(t.target).hasClass("cc")?i.find(".cc").trigger("click"):i.find(".playpause").trigger("click");break;case 37:a.player("setCurrentTime",this.parentNode.player("getCurrentTime")-.05*this.parentNode.player("getDuration"));break;case 39:a.player("setCurrentTime",this.parentNode.player("getCurrentTime")+.05*this.parentNode.player("getDuration"));break;case 38:r=Math.round(100*a.player("getVolume"))/100+.05,a.player("setVolume",r<1?r:1);break;case 40:r=Math.round(100*a.player("getVolume"))/100-.05,a.player("setVolume",r>0?r:0);break;default:return!0}return!1}}),T.on("keyup",u,function(e){if(32===e.which&&!(e.ctrlKey||e.altKey||e.metaKey))return!1}),T.on("wb-activate",d,function(){this.player("play")}),T.on("closed.wb-overlay",".wb-overlay",function(e){var t=e.currentTarget.querySelector(d);t&&t.player("pause")}),T.on(C,d,function(t,a){var i,s,o,u,p,f,g,h,m,b=t.currentTarget,y=t.type,v=t.namespace,w=e(b),x="<span class='wb-inv'>",C="</span>",k=!1;switch(y){case"playing":case"pause":case"ended":p="playing"===y,u=(s=w.find(".playpause")).data("state-"+(p?"off":"on")),p?(w.addClass("playing"),w.find(".progress").addClass("active"),!1===k&&(w.addClass("played"),k=!0)):("ended"===y&&(this.loading=clearTimeout(this.loading)),w.removeClass("playing")),s.attr("title",u).children("span").toggleClass("glyphicon-play",!p).toggleClass("glyphicon-pause",p).html(x+u+C);break;case"volumechange":f=b.player("getMuted"),u=(s=w.find(".mute")).data("state-"+(f?"off":"on")),m=100*b.player("getVolume"),s.attr({title:u,"aria-pressed":f}).children("span").toggleClass("glyphicon-volume-up",!f).toggleClass("glyphicon-volume-off",f).html(x+u+C),(o=w.find("input[type='range']"))[0].value=f?0:m,o.trigger("wb-update.wb-slider");break;case"timeupdate":i=b.player("getCurrentTime"),w.find("progress").attr("value",Math.round(i/b.player("getDuration")*1e3)/10).trigger("wb-update.wb-progress"),w.find(".wb-mm-tmln-crrnt span:nth-child(2)").text(E(i)),w.hasClass(_)&&e.data(b,"captions")!==r&&L(w.find(".wb-mm-cc"),i,e.data(b,"captions"));break;case"durationchange":w.find(".wb-mm-tmln-ttl span:nth-child(2)").text(E(b.player("getDuration"))),(h=n.pageUrlParts.params[t.target.id])&&(h=S(h),b.player("setCurrentTime",h));break;case"ccloaded":v===c&&e.data(b,"captions",t.captions);break;case"ccloadfail":v!==c||w.hasClass("errmsg")||w.addClass("cc_on errmsg").find(".wb-mm-cc").append("<div>"+l.cc_error+"</div>").end().find(".cc").attr("disabled","").removeAttr("aria-pressed");break;case"ccvischange":v===c&&(g=b.player("getCaptionsVisible"),u=(s=w.find(".cc")).data("state-"+(g?"off":"on")),s.attr({title:u,"aria-pressed":g}).children("span").html(x+u+C));break;case"waiting":a||T.off("progress",d),this.loading=setTimeout(function(){w.addClass("waiting")},500);break;case"canplay":case"seeked":this.loading=clearTimeout(this.loading),w.removeClass("waiting");break;case"cuepoint":b.player("setCurrentTime",S(t.cuepoint))}}),T.on("progress",d,function(t){var a=t.currentTarget,n=e(a);!1===this.player("getPaused")&&this.player("getCurrentTime")===this.player("getPreviousTime")?!1===a.player("getBuffer
165ing")&&(a.player("setBuffering",!0),n.trigger("waiting",!0)):!0===a.player("getBuffering")&&(a.player("setBuffering",!1),n.trigger("canplay",!0)),a.player("setPreviousTime",a.player("getCurrentTime"))}),T.on(v,d,function(t){if(t.namespace===c){var n,r,i,s=e(t.target),o=t.currentTarget;n=s.attr("height")/s.attr("width"),(r=Math.round(s.width()*(isNaN(n)?.5625:n)))>a.innerHeight&&(i=o.offsetHeight-a.innerHeight,r=s.height()-i),s.css("height",r+"px")}}),a.onYouTubeIframeAPIReady=R,a.youTube={ready:!1},n.add(d)}(jQuery,DOMPurify,window,wb),/** 166 * @title WET-BOEW NavCurrent 167 * @overview Identify URL in a navigation system that matches current page URL or a URL in the breadcrumb trail. Call by applying .trigger( "navcurr.wb", breadcrumb ) where the breadcrumb parameter is an optional object (DOM or jQuery) 168 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 169 * @author @pjackson28 170 */ function(e,t,a){"use strict";var n,r,i="wb-navcurr",s="."+i,o=a.doc,l=function(o,l,c){if("wb"===o.namespace){var d,u,p,f,g,h,m,b,y,v,w,_,x,C,T=a.init(o.target,i,s),k=T.getElementsByTagName("a"),A=[],E=[],S=t.location,N=S.hostname+S.pathname.replace(/^([^/])/,"/$1"),D=S.search,O=!1,j=c||i;if(T){for(p=k.length-1;-1!==p;p-=1)if(null!==(h=(g=k[p]).getAttribute("href"))&&0!==h.length&&"#"!==h.charAt(0)){if(m=g.hostname+g.pathname.replace(/^([^/])/,"/$1"),y=(b=g.search).length,N.slice(-m.length)===m&&(0===y||D.slice(-y)===b)){O=!0;break}A.push(g),E.push(m)}if(!O&&l)for(n?(w=n,_=r):(w=[],_=[],(u=(v=(l.jquery?l[0]:l).getElementsByTagName("li")).length)&&(h=(d=(g=v[u-1]).firstChild)&&"A"===d.nodeName?d.getAttribute("href"):"")&&"#"!==h.charAt(0)&&(w.push(d),_.push(d.hostname+d.pathname.replace(/^([^/])/,"/$1"))),n=w,r=_),u=A.length,f=w.length-1;-1!==f;f-=1){for(p=0,C=_[f],x=w[f].search;p!==u;p+=1)if(g=A[p],m=E[p],y=(b=g.search).length,C.slice(-m.length)===m&&(0===y||x.slice(-y)===b)){O=!0;break}if(O)break}O&&(g.className+=" "+j,-1!==T.className.indexOf("wb-menu")&&-1===g.className.indexOf("item")&&e(g).closest(".sm").parent().children("a").addClass(j)),a.ready(e(T),i)}}};o.on("navcurr.wb",l)}(jQuery,window,wb),/** 171 * @title WET-BOEW Overlay 172 * @overview Provides multiple styles of overlays such as panels and pop-ups 173 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 174 * @author @thomasgohard, @pjackson28 175 */ function(e,t,a,n){"use strict";var r,i,s="wb-overlay",o="."+s,l="overlay-close",c="outside-off",d="wb-overlay-dlg",u=!1,p={},f="setfocus.wb",g=n.doc,h=function(t){var c,d,p,f,g,h=n.init(t,s,o);if(h){c=e(h),i||(i={close:(r=n.i18n)("close"),colon:r("colon"),space:r("space"),esc:r("esc-key"),closeOverlay:r(l)});var m=c.attr("class").indexOf("wb-panel")>-1,b=c.attr("class").indexOf("wb-popup")>-1;if(m||b){var y,v=!!(d=c.find(".modal-footer")[0])&&0!==d.length,w=v&&0!==e(d).find("."+l).length,_=(c.hasClass("wb-panel-l")?"pull-right ":"pull-left ")+l,x=i.close,C=i.closeOverlay;w||(v||(d=a.createElement("div")).setAttribute("class","modal-footer"),b&&(d.style.border="0"),y="<button type='button' class='btn btn-sm btn-primary "+_+"' title='"+C+"'>"+x+"<span class='wb-inv'>"+C+"</span></button>",e(d).append(y),v||c.append(d))}g="<button type='button' class='mfp-close "+l+"' title='"+(f=(f=0!==(p=c.find(".modal-title")).length?i.close+i.colon+i.space+p.text()+i.space+i.esc:i.closeOverlay).replaceAll("'","'"))+"'>×<span class='wb-inv'> "+f+"</span></button>",c.append(g),h.setAttribute("aria-hidden","true"),u=!0,n.ready(c,s)}},m=function(t,r){var i=e("#"+n.jqEscape(t));i.addClass("open").attr("role","dialog").attr("aria-hidden","false"),(i.hasClass("wb-popup-full")||i.hasClass("wb-popup-mid"))&&(i.attr("data-pgtitle",a.getElementsByTagName("H1")[0].textContent),g.find("body").addClass(d)),r||i.scrollTop(0).trigger(f),p[t]||setTimeout(function(){p[t]=null},1),i.trigger("opened"+o)},b=function(t,a,n){var r=e("#"+t),i=p[t];r.removeClass("open").removeAttr("role").attr("aria-hidden","true"),(r.hasClass("wb-popup-full")||r.hasClass("wb-popup-mid"))&&g.find("body").removeClass(d),n&&r.addClass("user-closed"),!a&&i&&e(i).trigger(f),delete p[t],r.trigger("closed"+o)};g.on("timerpoke.wb wb-init"+o+" keydown open"+o+" close"+o,o,function(t){var n,r,i,s,o=t.type,l=t.which,d=t.target,u=t.currentTarget,p=u.id;switch(o){case"timerpoke":case"wb-init":h(t);break;case"open":u===d&&m(p,t.noFocus);break;
175case"close":u===d&&b(p,t.noFocus);break;default:switch(n=a.getElementById(p),l){case 9:-1===n.className.indexOf(c)&&(s=(r=e(n).find(":tabbable")).length,(-1===(i=r.index(t.target)+(t.shiftKey?-1:1))||i===s)&&(t.preventDefault(),r.eq(-1===i?s-1:0).trigger(f)));break;case 27:t.isDefaultPrevented()||b(p,!1,!0)}}}),g.on("click","."+l,function(t){var a=t.which;u&&(!a||1===a)&&b(e(t.currentTarget).closest(o).attr("id"),!1,!0)}),g.on("click keydown",".overlay-lnk",function(e){var t=e.which,a=e.currentTarget,n=a.hash.substring(1);u&&(!t||1===t||32===t)&&(e.preventDefault(),setTimeout(function(){p[n]=a,m(n)},1))}),g.on("click",o+" a[href^='#']",function(t){var n,r,i,s=t.which,l=t.target;u&&(!s||1===s)&&(r=e(l).closest(o)[0],n=l.getAttribute("href"),i=a.getElementById(n.substring(1)),n.length>1&&!e.contains(r,i)&&(t.stopPropagation?t.stopImmediatePropagation():t.cancelBubble=!0,b(r.id,!0),e(i).trigger(f)))}),g.on("click focusin","body",function(t){var n,r,i=t.target,s=t.which;if(u&&(!s||1===s))for(n in p)(r=a.getElementById(n))&&"false"===r.getAttribute("aria-hidden")&&i.id!==n&&-1===r.className.indexOf(c)&&!e.contains(r,i)&&b(n)}),g.on("keyup",function(){var n,r,i,l,c,d,f;if(u){if(r=(n=a.activeElement).getBoundingClientRect(),i=0,l=t.innerHeight,e.isEmptyObject(p)||-1!==n.className.indexOf(s)||0!==e(n).parents(o).length||n===a.body)return;for(c in p)(d=a.getElementById(c))&&"false"===d.getAttribute("aria-hidden")&&(f=d.getBoundingClientRect(),-1!==d.className.indexOf("wb-bar-t")?i=Math.max(f.bottom,i):-1!==d.className.indexOf("wb-bar-b")&&(l=Math.min(f.top,l)));r.top<i?t.scrollBy(0,i-r.top):r.bottom>l&&t.scrollBy(0,r.bottom-l)}}),n.add(o)}(jQuery,window,document,wb),/** 176 * @title WET-BOEW Paginate Plugin 177 * @overview This plugin provides pagination functionality for lists, tables, and groups of elements. 178 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 179 * @author @duboisp 180 */ function(e,t,a,n){"use strict";let r,i,s="wb-paginate",o="."+s,l=n.doc,c="wb-pgfltr-out",d="wb-paginate-pager",u="data-pagination-idx",p=":not(.wb-fltr-out):not(.wb-tgfltr-out)",f={lst:{selector:"li"},grp:{selector:"> *"},tbl:{selector:"tr",section:":scope > tbody"},itemsPerPage:10},g=function(l){let c=n.init(l,s,o);if(c){var u,g,b,y=e(c),v=c.nodeName;switch(i||(i={prv:(r=n.i18n)("prv"),nxt:r("nxt"),paginationLabel:r("pagination-label")}),v){case"UL":g=f.lst;break;case"TABLE":g=f.tbl;break;default:g=f.grp}c.id=c.id||n.getId(),c.pgSettings=e.extend(!0,{},g,t[s],n.getData(y,s)),c.pgSettings.currPage=1,c.pgSettings.itemsPerPage=c.pgSettings.itemsPerPage||f.itemsPerPage,c.pgSettings.items=c.querySelectorAll((c.pgSettings.section||":scope")+" "+c.pgSettings.selector+p),(u=a.createElement("nav")).id=s+"-"+c.id,u.classList.add(d),u.setAttribute("aria-label",i.paginationLabel),c.pgSettings.uiTarget?(b=a.querySelector(c.pgSettings.uiTarget)).appendChild(u):c.pgSettings.section?"UL"===v||"TABLE"===v?c.after(u):c.querySelector(c.pgSettings.section).after(u):c.after(u),m(c),h(c),n.ready(e(c),s)}},h=function(e){var t="",n=e.pgSettings.currPage,r=e.pgSettings.pagesCount,o=a.querySelector("#"+s+"-"+e.id),l=1;if(n>r&&(n=r),r>1){t='<ol class="pagination">';var c="";for(c+="<li"+(l===n?' class="disabled"':"")+">",c+='<button type="button" class="paginate-prev" aria-controls="'+e.id+'">'+i.prv+"</button>",c+="</li>",t+=c;l<=r;l++){var d="";d+='<li class="'+y(n,r,l)+'">',d+='<button type="button" '+u+'="'+l+'" aria-controls="'+e.id+'"'+(l===n?' aria-current="true"':"")+'><span class="wb-inv">Page </span>'+l+"</button>",d+="</li>",t+=d}var p="";p+="<li"+(l===n?' class="disabled"':"")+">",p+='<button type="button" class="paginate-next" aria-controls="'+e.id+'">'+i.nxt+"</button>",p+="</li>",t+=p,t+="</ol>"}o.innerHTML=t},m=function(e){let t=e.pgSettings.currPage,a=e.pgSettings.items,n=e.pgSettings.itemsPerPage;a.forEach(function(e,a){a<n*t&&a>=n*t-n?e.classList.remove(c):e.classList.add(c)}),e.pgSettings.pagesCount=Math.ceil(a.length/n)},b=function(e){let t=a.querySelector("#"+s+"-"+e.id).querySelectorAll("li"),n,r,i=e.pgSettings.currPage,o=e.pgSettings.pagesCount;t.forEach(function(e,t){(r=e.querySelector("button")).classList.contains("paginate-prev")?i>1?e.classList.remove("disabled"):e.classList.add("disabled"):r.classList.contains("paginate-next")?i<o?e.classList.remove("disabled"):e.classList.add("disabled"):(e.className="",e.children[0].removeAttribute("aria-current"),n=y(i,o,t),t===i&&e.children[0].setAttribute("aria-current","true"),e.className=n)})},y=function(e,t,a){let n="";return e>1&&e<t?Math.abs(e-a)>1&&(n+="hidden-xs hidden-sm",Math.abs(e-a)>2&&(n+=" hidden-md")):Math.abs(e-a)>2&&(n+="hidden-xs hidden-sm",Math.abs(e-a)>4&&(n+=" hidden-md")),t>10&&(e<=5?a>10&&(n+=" hidden"):e>5&&e<t-5?(a<e-4||a>e+5)&&(n+=" hidden"):a<=t-10&&(n+=" hidden")),a===e&&(n+=" active"),n};l.on("click","."+d+" button",function(){let t=a.querySelector("#"+this.getAttribute("aria-controls")),n=1*this.getAttribute(u)||t.pgSettings.currPage;this.classList.contains("paginate-next")?n++:this.classList.contains("paginate-prev")&&n--,n!==t.pgSettings.currPage&&n>0&&n<=t.pgSettings.pagesCount&&(t.pgSettings.currPage=n,m(t),b(t),e(t).trigger("setfocus.wb"),t.getBoundingClientRect().top<0&&t.scrollIntoView({behavior:"smooth"},!0))}),l.on("wb-contentupdated wb-filtered",o,function(){this.pgSettings.currPage=1,this.pgSettings.items=this.querySelectorAll((this.pgSettings.section||":scope")+" "+this.pgSettings.selector+p),m(this),h(this)}),l.on("timerpoke.wb wb-init"+o,o,g),n.add(o)}(jQuery,window,document,wb),/** 181 * @title WET-BOEW wb-pii-scrub 182 * @overview This plugin delete Personal Identifiable Information (PII) from the flagged form fields before form submit 183 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 184 * @author @polmih, @duboisp, @GormFrank 185 **/ function(e,t){"use strict";var a,n,r,i,s=t.doc,o="wb-pii-scrub",l="."+o,c="data-wb-pii-blocked",d="data-scrub-submit",u=o+"-modal",p={scrubChar:"********"},f=function(s){var d=t.init(s,o,l),f=e(d);if(d){var h=d.getAttribute("data-"+o);n||(n={header:(a=t.i18n)("pii-header"),intro:a("pii-intro"),viewMore:a("pii-view-more"),viewMoreInfo:a("pii-view-more-info"),confirmBtn:a("pii-yes-btn"),cancelBtn:a("pii-cancel-btn"),redacted:a("redacted")}),h&&(h=JSON.parse(h)),d.settings={...p,...h},d.id=d.id?d.id:t.getId(),d.setAttribute(c,"true"),d.addEventListener("submit",function(t){t.preventDefault(),g(d),setTimeout(function(){d.querySelector(".error .label.label-danger")||((r=t.submitter).name&&!d.classList.contains("wb-postback")&&((i=document.createElement("input")).type="hidden",i.name=r.name,i.value=r.value,d.appendChild(i)),d.PIIFields.length>0?(m(d),e("#"+u).trigger("open.wb-lbx",[[{src:"#"+u,type:"inline"}],!0])):d.classList.contains("wb-postback")?e(d).trigger("wb-postback.submit",r):d.submit())},50)}),t.ready(f,o)}},g=function(e){let a=e.querySelectorAll("[data-scrub-field]");e.PIIFields=[],a.forEach(a=>{if(t.findPotentialPII(a.value,!1)){let r=e.querySelector("[for="+a.id+"] > span.field-name"),i=r?r.innerText:e.querySelector("[for="+a.id+"]").innerText,s=t.findPotentialPII(a.value,!0,{replaceWith:e.settings.scrubChar}),o=t.findPotentialPII(a.value.replace(/</g,"<
185"),!0,{replaceWith:"<span role='img' aria-label='"+n.redacted+"'>"+e.settings.scrubChar+"</span>"});e.PIIFields.push({elm:a,scrubVal:s,scrubValHTML:o,label:i})}}),1===e.PIIFields.length&&document.getElementById(e.PIIFields[0].elm.id).focus(),e.PIIFields.length>0?e.setAttribute(c,"true"):e.setAttribute(c,"false")},h=function(e){e.PIIFields.forEach(e=>{e.elm.value=e.scrubVal}),e.PIIFields=[]},m=function(t){let a="",r=document.createElement("section"),i=t.settings.moreInfo?t.settings.moreInfo:n.viewMoreInfo,s=t.querySelector("template"+t.settings.modalTemplate);document.getElementById(u)&&document.getElementById(u).remove(),t.PIIFields.length>1?(a+="<dl>",t.PIIFields.forEach(e=>{a+="<dt>"+e.label+'</dt><dd class="well well-sm">'+e.scrubValHTML.replace(/\n/g,"<br>")+"</dd>"}),a+="</dl>"):a+='<div class="well well-sm">'+t.PIIFields[0].scrubValHTML.replace(/\n/g,"<br>")+"</div>",r.id=u,r.className="modal-dialog modal-content overlay-def",r.setAttribute("data-form",t.id),s?r.appendChild(s.content.cloneNode(!0)):r.innerHTML=`<header class="modal-header"> 186 <h2 class="modal-title">${n.header}</h2> 187 </header> 188 <div class="modal-body"> 189 <p>${n.intro}</p> 190 ${a} 191 <details class="mrgn-tp-md"> 192 <summary>${n.viewMore}</summary> 193 ${i} 194 </details> 195 </div> 196 <div class="modal-footer"> 197 <div class="row"> 198 <div class="col-xs-12 col-sm-5 mrgn-tp-sm"><button type="button" class="btn btn-link btn-block popup-modal-dismiss">${n.cancelBtn}</button></div> 199 <div class="col-xs-12 col-sm-7 mrgn-tp-sm"><button type="button" class="btn btn-primary btn-block" ${d}>${n.confirmBtn}</button></div> 200 </div> 201 </div>`,e("body").append(r),s&&(e(".popup-modal-dismiss["+d+"]").removeClass("popup-modal-dismiss"),e("#"+u+" [data-scrub-modal-fields]").html(a))};s.on("timerpoke.wb wb-init"+l,l,f),s.on("click","#"+u+" ["+d+"]",function(){let t=document.getElementById(u),a=document.getElementById(t.dataset.form);h(a),a.classList.contains("wb-postback")?e(a).trigger("wb-postback.submit",r):a.submit(),e.magnificPopup.close()}),t.add(l)}(jQuery,wb),/** 202 * @title WET-BOEW Prettify Plugin 203 * @overview Wrapper for Google Code Prettify library: https://github.com/google/code-prettify 204 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 205 * @author @patheard 206 */ function(e,t,a){"use strict";var n="wb-prettify",r="."+n,i="prettyprint"+r,s=a.doc,o={linenums:!1,allpre:!1},l=function(t){var l,c,d,u,p,f,g=a.init(t,n,r),h=a.getMode()+".js",m=["site!deps/prettify"+h];if(g){for(u=0,l=e(g),c=g.className.split(" "),d=e.extend({},o,l.data()),p=c.length;u!==p;u+=1)0===c[u].indexOf("lang-")&&m.push("site!deps/"+c[u]+h);d.allpre=d.allpre||l.hasClass("all-pre"),d.linenums=d.linenums||l.hasClass("linenums"),(d.allpre||d.linenums)&&(f=s.find("pre"),d.allpre&&f.addClass("prettyprint"),d.linenums&&f.filter(".prettyprint").addClass("linenums")),Modernizr.load({load:m,complete:function(){s.trigger(i)}})}},c=function(){a.ready(s,n)},d=function(e){e.namespace===n&&"function"==typeof t.prettyPrint&&t.prettyPrint(c)};s.on("timerpoke.wb wb-init"+r,r,l).on(i,d),a.add(r)}(jQuery,window,wb),/** 207 * @title WET-BOEW Resize 208 * @overview Text and window resizing event handler 209 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 210 * @author @pjackson28 211 */ function(e,t,a,n){"use strict";var r,i,s="wb-rsz",o="#"+s,l="wb-init"+o,c=n.doc,d=[],u=["txt-rsz.wb","win-rsz-width.wb","win-rsz-height.wb"],p={xxsmallview:0,xsmallview:480,smallview:768,mediumview:992,largeview:1200,xlargeview:1600},f=function(e){var i;n.init(e,s,o)&&((i=a.createElement("span")).innerHTML=" ",i.setAttribute("id",s),a.body.appendChild(i),r=i,g((d=[i.offsetHeight,t.innerWidth||c.width(),t.innerHeight||c.height()])[1]),n.ready(c,s))},g=function(e){var t,a;for(t in p){if(e<p[t])break;a=t}a!==i&&(n.html.removeClass(i||"").addClass(a),i=a,c.trigger(a+".wb"))},h=function(){var e,a=[r.offsetHeight,t.innerWidth||c.width(),t.innerHeight||c.height()],n=a.length;for(e=0;e!==n;e+=1)a[e]!==d[e]&&(c.trigger(u[e],a),g(a[1]));d=a};c.on(l,f),c.on("timerpoke.wb",o,h),c.trigger(l),n.add(o)}(jQuery,window,document,wb),/** 212 * @title WET-BOEW Session Timeout 213 * @overview Helps Web asset owners to provide session timeout and inactivity timeout functionality. 214 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 215 * @author @patheard 216 */ function(e,t,a,n,r){"use strict";var i,s,o,l,c,d=r.doc,u="wb-sessto",p="."+u,f=u+"-confirm",g="reset"+p,h="keepalive"+p,m="inactivity"+p,b=u,y={inactivity:12e5,reactionTime:18e4,sessionalive:12e5,refreshCallbackUrl:null,logouturl:"./",signInUrl:null,refreshOnClick:!0,refreshLimit:12e4,method:"POST",textOverrides:null,additionalData:null,refreshCallback:function(e){return"true"===e.replace(/\s/g,"")}},v=function(n){var i,s,o,d=r.init(n,u,p);if(d){if((i=e(d)).attr("data-"+u)||(b="wet-boew"),s=e.extend({},y,a[u],i.data(b)),i.data(b,s),!c){l=r.i18n;let f=s.textOverrides;c=f?{buttonContinue:Object.hasOwn(f,"buttonContinue")?t.sanitize(f.buttonContinue):l("st-btn-cont"),buttonEnd:Object.hasOwn(f,"buttonEnd")?t.sanitize(f.buttonEnd):l("st-btn-end"),buttonSignin:Object.hasOwn(f,"buttonSignin")?t.sanitize(f.buttonSignin):l("tmpl-signin"),timeoutBegin:l("st-to-msg-bgn"),timeoutEnd:Object.hasOwn(f,"timeoutEnd")?t.sanitize(f.timeoutEnd):l("st-to-msg-end"),timeoutTitle:l("st-msgbx-ttl"),timeoutAlready:Object.hasOwn(f,"timeoutAlready")?t.sanitize(f.timeoutAlready):l("st-alrdy-to-msg")}:{buttonContinue:l("st-btn-cont"),buttonEnd:l("st-btn-end"),buttonSignin:l("tmpl-signin"),timeoutBegin:l("st-to-msg-bgn"),timeoutEnd:l("st-to-msg-end"),timeoutTitle:l("st-msgbx-ttl"),timeoutAlready:l("st-alrdy-to-msg")}}_(o=function(){x(i,s),i.trigger(g,s),r.ready(i,u)})}},w=function(e,t,a,n){var r=N(a);clearTimeout(e.data(t)),e.data(t,setTimeout(function(){e.trigger(t,n)},r))},_=function(e){var t,a,r,o="#"+u+"-modal";
216if(0===d.find(o).length){for(a=n.createDocumentFragment(),(r=n.createElement("div")).innerHTML="<a class='wb-lbx lbx-modal mfp-hide' href='#"+u+"-modal'>"+c.timeoutTitle+"</a><section id='"+u+"-modal' class='mfp-hide modal-dialog modal-content overlay-def'><header class='modal-header'><h2 class='modal-title'>"+c.timeoutTitle+"</h2></header><div class='modal-body'></div><div class='modal-footer'></div></section>";null!==(t=r.firstChild);)a.appendChild(t);n.body.appendChild(a),s=(i=d.find(o)).prev().one("wb-ready.wb-lbx",e).trigger("wb-init.wb-lbx")}else e()},x=function(t,a){a.refreshOnClick&&d.on("click",function(n){var r,i,s=n.target.className;s&&-1!==s.indexOf(f)||0!==e(".mfp-ready ."+f).length||(r=t.data("lastActivity"),i=S(),(!r||i-r>a.refreshLimit)&&(t.trigger(g,a).trigger(h,a),t.data("lastActivity",i)))})},C=function(a,n){var r=e(a.target);null!==n.refreshCallbackUrl&&e.ajax({url:n.refreshCallbackUrl,data:n.additionalData,dataType:"text",method:n.method,success:function(a){(a=t.sanitize(a))&&n.refreshCallback(a)?r.trigger(g,n):(clearTimeout(r.data(m)),clearTimeout(r.data(h)),E({body:"<p>"+c.timeoutAlready+"</p>",buttons:e("<button type='button' class='"+f+" btn btn-primary popup-modal-dismiss'>"+c.buttonSignin+"</button>").data("logouturl",n.logouturl)}))}})},T=function(t,a){var n,r,s=D(a.reactionTime),l=S(),d=c.timeoutBegin.replace("#min#","<span class='min'>"+s.minutes+"</span>").replace("#sec#","<span class='sec'>"+s.seconds+"</span>"),u="<button type='button' class='",p="</button>";clearInterval(e(t.target).data(h)),n=e(u+f+" btn btn-primary popup-modal-dismiss'>"+c.buttonContinue+p).data(a).data("start",l),r=e(u+f+" btn btn-default'>"+c.buttonEnd+p).data("logouturl",a.logouturl),E({body:"<p>"+d+"<br />"+c.timeoutEnd+"</p>",buttons:[n,r],open:function(){var e=i.find(".min"),t=i.find(".sec"),s=a.reactionTime;o=setInterval(function(){O(e,t,l,s)&&(clearInterval(o),i.find("p").text(c.timeoutAlready),n.text(c.buttonSignin),r.hide())},500)}})},k=function(t,a){var n=e(t.target);w(n,m,a.inactivity,a),null!==a.refreshCallbackUrl&&w(n,h,a.sessionalive,a)},A=function(t){var n=e(t.target).data();t.preventDefault(),e.magnificPopup.close(),clearInterval(o),void 0!==n.start&&S()-n.start<=n.reactionTime?e(p).trigger(g,n).trigger(h,n):setTimeout(function(){a.location.href=n.signInUrl?n.signInUrl:n.logouturl})},E=function(e){(i=i.detach()).find(".modal-body").html(e.body),i.find(".modal-footer").empty().append(e.buttons),i=i.insertAfter(s),s.magnificPopup("open"),e.open&&e.open()},S=function(){return new Date().getTime()},N=function(e){var t,a,n;return null==e?null:(t=/^([0-9]+(?:\.[0-9]*)?)\s*(.*s)?$/.exec(e.toString().trim()))[2]?(a=parseFloat(t[1]))*(n=({ms:1,cs:10,ds:100,s:1e3,das:1e4,hs:1e5,ks:1e6})[t[2]]||1):e},D=function(e){var t={minutes:"",seconds:""};return null!=e&&(t.minutes=parseInt(e/6e4%60,10),t.seconds=parseInt(e/1e3%60,10)),t},O=function(e,t,a,n){var r=D(n-(S()-a));return e.text(r.minutes),t.text(r.seconds),r.minutes<=0&&r.seconds<=0};d.on("timerpoke.wb wb-init"+p+" "+h+" "+m+" "+g,p,function(e,t){var a=e.type;switch(a){case"timerpoke":case"wb-init":v(e);break;case"keepalive":C(e,t);break;case"inactivity":T(e,t);break;case"reset":k(e,t)}}),d.on("click","."+f,A),r.add(p)}(jQuery,DOMPurify,window,document,wb),/** 217 * @title WET-BOEW Share widget 218 * @overview Facilitates sharing Web content on social media platforms. 219 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 220 * @author @pjackson28 221 */ function(e,t,a,n){"use strict";var r,i,s="wb-share",o="."+s,l=0,c=n.doc,d={hdLvl:"h2",type:"page",custType:"",url:n.pageUrlParts.href,title:a.title||c.find("h1:first").text(),pnlId:"",lnkClass:"",img:"",desc:"",filter:[],sites:{blogger:{name:"Blogger",url:"https://www.blogger.com/blog_this.pyra?t=&u={u}&n={t}"},bluesky:{name:"Bluesky",url:"https://bsky.app/intent/compose?text={t}+{u}"},diigo:{name:"Diigo",url:"https://www.diigo.com/post?url={u}&title={t}"},facebook:{name:"Facebook",url:"https://www.facebook.com/sharer.php?u={u}&t={t}"},gmail:{name:"Gmail",url:"https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=&su={t}&body={u}%0A{d}"},linkedin:{name:"LinkedIn\xae",url:"https://www.linkedin.com/shareArticle?mini=true&url={u}&title={t}&ro=false&summary={d}&source="},myspace:{name:"MySpace",url:"https://www.myspace.com/Modules/PostTo/Pages/?u={u}&t={t}"},pinterest:{name:"Pinterest",url:"https://www.pinterest.com/pin/create/button/?url={u}&media={i}&description={t}"},reddit:{name:"reddit",url:"https://reddit.com/submit?url={u}&title={t}"},tinyurl:{name:"TinyURL",url:"https://tinyurl.com/create.php?url={u}"},tumblr:{name:"tumblr",url:"https://www.tumblr.com/share/link?url={u}&name={t}&description={d}"},twitter:{name:"X",url:"https://twitter.com/intent/tweet?text={t}&url={u}"},x:{name:"X",url:"https://twitter.com/intent/tweet?text={t}&url={u}"}
221,yahoomail:{name:"Yahoo! Mail",url:"https://compose.mail.yahoo.com/?to=&subject={t}&body={u}%0A{d}"},whatsapp:{name:"WhatsApp",url:"https://api.whatsapp.com/send?text={t}%0A{d}%0A{u}"}}},u=function(a){var c,u,p,f,g,h,m,b,y,v,w,_,x,C,T,k,A,E,S,N,D,O,j=n.init(a,s,o);if(j){if(i||(i={shareText:(r=n.i18n)("shr-txt"),page:r("shr-pg"),video:r("shr-vid"),audio:r("shr-aud"),disclaimer:r("shr-disc"),email:r("email")},d.sites.email={name:i.email,url:"mailto:?subject={t}&body={u}%0A{d}",isMailto:!0}),m=e(j),c=(p=e.extend(!0,{},d,t[s],n.getData(m,s))).sites,E=p.filter,u=p.hdLvl,C=i.shareText+(0!==p.custType.length?p.custType:i[p.type]),T="shr-pg"+(0!==(k=p.pnlId).length?"-"+k:l),b=encodeURIComponent(p.url),A=/'|'|'/g,y=encodeURIComponent(p.title).replace(A,"%27"),v=encodeURIComponent(p.img),w=encodeURIComponent(p.desc).replace(A,"%27"),-1===j.className.indexOf("link-only")){if(f="<section id='"+T+"' class='shr-pg mfp-hide modal-dialog modal-content overlay-def'><header class='modal-header'><"+u+" class='modal-title'>"+C+"</"+u+"></header><div class='modal-body'><ul class='list-unstyled colcount-xs-2'>",E&&0!==E.length)D=E;else for(O in D=[],c)Object.prototype.hasOwnProperty.call(c,O)&&D.push(O);for(D.sort(function(e,t){return n.normalizeDiacritics(e).localeCompare(n.normalizeDiacritics(t))}),D.includes("twitter")&&D.includes("x")&&(D=D.filter(function(e){return"twitter"!==e})),N=D.length,S=0;S!==N;S+=1)f+="<li><a href='"+(x=(_=c[O=D[S]]).url.replace(/\{u\}/,b).replace(/\{t\}/,y).replace(/\{i\}/,v).replace(/\{d\}/,w))+"' class='shr-lnk "+(_.isMailto?"email":O)+" btn btn-default' target='_blank' rel='noreferrer noopener'>"+_.name+"</a></li>";f+="</ul><p class='col-sm-12 shr-dscl'>"+i.disclaimer+"</p><div class='clearfix'></div></div></section>",l+=1}h=e((f||"")+(g="<a href='#"+T+"' aria-controls='"+T+"' class='shr-opn wb-lbx "+p.lnkClass+"'><span class='glyphicon glyphicon-share'></span>"+C+"</a>")),m.append(h),h.trigger("wb-init.wb-lbx"),n.ready(m,s)}};c.on("timerpoke.wb wb-init"+o,o,u),n.add(o)}(jQuery,window,document,wb),/** 222 * @title WET-BOEW step form 223 * @overview Provide ability for a form to be broken into steps. 224 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 225 * @author @kodecount 226 */ function(e,t,a,n){"use strict";var r,i,s,o,l,c="wb-steps",d="."+c,u=n.doc,p=d+".quiz",f=function(t){var u=n.init(t,c,d);if(u){u.id||(u.id=n.getId()),i||(i={prv:(r=n.i18n)("prv"),nxt:r("nxt"),relpreposition:r("rel-preposition"),progresslabel:r("progress-label")});var f,b=u.getElementsByTagName("FORM")[0],y=b?e(b).children("fieldset"):0;s=h("prev","mrgn-rght-sm mrgn-bttm-md",i.prv),o=h("next","mrgn-bttm-md",i.nxt),(l=b.querySelector("input[type=submit], button[type=submit]")).classList.add("mrgn-bttm-md");for(var v=0,w=y.length;v<w;v++){var _,x=y[v],C=0===v,T=v===w-1,k=x.firstElementChild,A=!!k&&"LEGEND"===k.tagName&&k.nextElementSibling,E=a.createElement("div"),S=a.createElement("div"),N=E.classList,D=A.classList;N.add("buttons"),x.parentNode.insertBefore(S,x),S.appendChild(x),S.classList.add("steps-wrapper"),A&&"DIV"===A.tagName&&(f=!0,C||(m(_=s.cloneNode(!0)),E.appendChild(_),S.appendChild(E)),T?E.appendChild(l):(m(_=o.cloneNode(!0)),E.appendChild(_)),S.appendChild(E),x.classList.add("wb-tggle-fildst"),D.add("hidden"),N.add("hidden"),C&&(k.classList.add("wb-steps-active"),_.classList.remove("hidden"),D.remove("hidden"),N.remove("hidden")))}if(b&&f&&(e(b).children("input").hide(),n.ready(e(u),c)),u.classList.contains("quiz")){let O=e(u),j=e(".steps-wrapper",O).length;u.querySelector("progress")||e("form",O).prepend("<label class='full-width'><span class='wb-inv'>"+i.progresslabel+"</span><progress class='progressBar' max='"+j+"'></progress><p class='progressText' role='status'></p></label>"),g(t),e(a).on("click",p+" .steps-wrapper div.buttons > :button",g)}}},g=function(t){let a,n=t.currentTarget;a=n.classList.contains("quiz")?n:e(n).parentsUntil(p).parent().get(0);let r=e("legend.wb-steps-active:first-child",a).parents().prevAll(".steps-wrapper").length+1,s=e(".progressBar",a),o=s.attr("max");e("p.progressText",a).text(r+i.relpreposition+o),s.val(r),e(".steps-wrapper",a).removeClass("hidden"),e(".steps-wrapper:has( div.hidden )",a).addClass("hidden")},h=function(e,t,n){var r=a.createElement("BUTTON");return r.className=("prev"===e?"btn btn-md btn-default":"btn btn-md btn-primary")+" "+t,r.setAttribute("type","button"),r.innerHTML=n,r},m=function(t){t.addEventListener("click",function(t){t.preventDefault();var a=!!this.className&&this.className,n=a&&a.indexOf("btn-primary")>-1,r=!0,i=this.parentElement,s=i.parentElement,o=i.previousElementSibling.classList;n&&jQuery.validator&&"undefined"!==jQuery.validator&&(r=e("#"+s.parentElement.id).valid()),r?(b(s,n),n&&o.remove("wb-steps-error")):n&&!r&&o.add("wb-steps-error")})},b=function(e,t){var a,n=e.getElementsByTagName("FIELDSET")[0],r=n.getElementsByTagName("div")[0],i=n.getElementsByTagName("legend")[0],s=e.querySelector("div.buttons");e&&(r.classList.add("hidden"),s.classList.add("hidden"),i&&i.classList.remove("wb-steps-active"),(a=t?e.nextElementSibling:e.previousElementSibling)&&(i=a.getElementsByTagName("LEGEND")[0],e=a.getElementsByTagName("DIV")[0],s=a.querySelector("div.buttons"),i&&(i.classList.add("wb-steps-active"),i.tabIndex=0,i.focus(),i.tabIndex=-1),e&&e.classList.remove("hidden"),s&&s.classList.remove("hidden")))};u.on("timerpoke.wb wb-init"+d,d,f),n.add(d)}(jQuery,window,document,wb),/** 227 * @title WET-BOEW Tables 228 * @overview Integrates the DataTables plugin into WET providing searching, sorting, filtering, pagination and other advanced features for tables. 229 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 230 * @author @jeresiv 231 */ function(e,t,a){"use strict";var n,r,i,s="wb-tables",o="."+s,l=a.doc,c=0,d=function(l){var d,u=a.init(l,s,o);u&&((d=u.id)||(d=s+"-id-"+c,c+=1,u.id=d),r||(r={aria:{sortAscending:(n=a.i18n)("sortAsc"),sortDe
231scending:n("sortDesc")},emptyTable:n("emptyTbl"),info:n("infoEntr"),infoEmpty:n("infoEmpty"),infoFiltered:n("infoFilt"),lengthMenu:n("lenMenu"),loadingRecords:n("load"),paginate:{first:n("first"),last:n("last"),next:n("nxt"),previous:n("prv"),page:n("page")},processing:n("process"),search:n("filter"),thousands:n("info1000"),zeroRecords:n("infoEmpty"),tblFilterInstruction:n("tbFilterInst")}),i={asStripeClasses:[],language:r,dom:"<'top'fil>rt<'bottom'p><'clear'>"},Modernizr.load({load:["site!deps/jquery.dataTables"+a.getMode()+".js"],testReady:function(){return e.fn.dataTable&&e.fn.dataTable.version},complete:function(){var n=e("#"+d),r=e.fn.dataTableExt,o=a.getData(n,s)||{};n.hasClass("provisional")&&n.hasClass("filterEmphasis")&&(o.paging=!!o.paging&&o.paging),e.extend(r.type.order,{"html-pre":function(e){return a.normalizeDiacritics(e?e.replace?e.replace(/<.*?>/g,"").toLowerCase():e+"":"")},"string-case-pre":function(e){return a.normalizeDiacritics(e)},"string-pre":function(e){return a.normalizeDiacritics(e)},"formatted-num-asc":function(e,t){return a.formattedNumCompare(e,t)},"formatted-num-desc":function(e,t){return a.formattedNumCompare(t,e)}}),n.dataTable(e.extend(!0,{},i,t[s],o))}}))},u=function(e,a){var n,i=document.createElement("OL"),s=document.createElement("LI"),o=e.find(".paginate_button");if(0!==e.length){n=a||e.get(0).id;for(var l=0;l<o.length;l++){var c=s.cloneNode(!0);c.appendChild(o[l]),i.appendChild(c)}i.className="pagination mrgn-tp-0 mrgn-bttm-0",e.empty(),e.append(i),e.find(".paginate_button").attr({href:"#"+n}).on("keypress",function(e){13===e.keyCode&&(t.location=e.target.href)}).not(".previous, .next").attr("aria-pressed","false").html(function(e,t){return"<span class='wb-inv'>"+r.paginate.page+" </span>"+t}).filter(".current").attr("aria-pressed","true")}};l.on("timerpoke.wb wb-init"+o,o,d),l.on("draw.dt",o,function(t,a){var n=e(t.target),i=n.next(".bottom").find("div:first-child"),s=n.prevAll(".top").find("div.dataTables_paginate"),l=n.next(".bottom").find(".paginate_button").length,c=2===i.find(".last, .first").length,d=2===i.find(".previous, .next").length,p=n.dataTable({retrieve:!0}).api().order();n.find("th").each(function(t){var a=e(this),n=a.find("button");if(p&&p.length&&p[0][0]===t){var i="desc"===p[0][1]?r.aria.sortAscending:r.aria.sortDescending;i=n.text()+i.replace(/ /g," "),n.attr("title",i)}a.removeAttr("aria-label")}),1===l||3===l&&(c||d)||5===l&&c&&d?(i.addClass("hidden"),s.addClass("hidden")):(i.removeClass("hidden"),s.removeClass("hidden"),u(i,n.get(0).id),u(s)),n.trigger("wb-updated"+o,[a])}),l.on("init.dt",o,function(n){var o=e(n.target),l=e.extend(!0,{},i,t[s],a.getData(o,s));l&&!1===l.ordering||(o.find("thead th").each(function(){var t=e(this),a="ascending"===t.attr("aria-sort")?r.aria.sortDescending:r.aria.sortAscending;"false"===t.attr("data-orderable")||t.hasClass("sorting_disabled")||(t.html("<button type='button' aria-controls='"+t.attr("aria-controls")+"' title='"+t.text().replace(/'/g,"'")+a+"'>"+t.html()+"<span class='sorting-cnt'><span class='sorting-icons' aria-hidden='true'></span></span></button>"),t.removeAttr("aria-label tabindex aria-controls"))}),o.attr("aria-label",r.tblFilterInstruction)),o.hasClass("provisional")&&o.hasClass("filterEmphasis")&&o.parent().addClass("provisional filterEmphasis"),a.ready(e(n.target),s)}),l.on("submit",".wb-tables-filter",function(t){t.preventDefault();var a=e(this),n=e("#"+a.data("bind-to")).dataTable({retrieve:!0}).api(),r=function e(t){return t instanceof Date&&!isNaN(t)};n.search("").columns().search("");var i=-1,s="";return a.find("[name]").each(function(){var t,a,o,l=e(this),c=l.val(),d="",u="",p=parseInt(l.attr("data-column"),10),f=l.data("aopts"),g=e('[data-aopts*=\'"column": "'+p+"\"']:checked"),h=g&&g.data("aopts")?g.data("aopts").type.toLowerCase():"";if(!f){if((p!==i||-1===i)&&(s=""),i=p,l.is("select"))d=l.find("option:selected").val();else if(l.is("input[type='number']")){var m,b=null;""===s?s=(s=parseFloat(c))||"-0":b=(b=parseFloat(c))||"-0",isNaN(m=s)||isNaN(b)||(u="("+(d=(o=(o=n.column(p).data().filter(function(e){var t,a=(t=(t=e.toString()).replace(/[^0-9\-,.]+/g,""),/[,]\d{1,2}$/.test(t)&&(t=t.replace(/(\d{2})$/,".$1")),parseFloat(t=t.replace(/,/g,"")));if(!isNaN(a)){if("and"===h){if(s!==b&&"-0"!==s&&"0"!==b&&a>=m&&a<=b)return!0}else{if(null===b)return"-0"===m||m===a;if(b===s&&"-0"===s)return!0;
231if("-0"!==b&&m===b&&a===b)return!0;else if("-0"===b&&a>=m)return!0;else if("-0"===s&&a<=b)return!0;else if("-0"!==s&&a>=m&&a<=b)return!0}}return!1})).join("|"))||"-0").replace(/ |\s/g,"\\s").replace(/\$/g,"\\$")+")")}else if(l.is("input[type='date']")&&c)""===s&&((s=new Date(c)).setDate(s.getDate()+1),s.setHours(0,0,0,0)),t=s,(a=new Date(c)).setDate(a.getDate()+1),a.setHours(23,59,59,999),d=(o=(o=n.column(p).data().filter(function(e){var n=e.replace(/[0-9]{2}\s[0-9]{2}:/g,function(e){return e.replace(/\s/g,"T")});if(n.includes("T")||(n+="T00:00:00"),(n=new Date(n)).setHours(0,0,0,0),r(t)&&r(a)&&r(n))return n>=t&&n<=a})).join("|"))||c;else if(l.is(":checkbox")){if(l.is(":checked"))switch("both"===h?s+="(?=.*\\b"+c+"\\b)":(s+=s.length>0?"|":"",s+=c),d=(d=s).replace(/\s/g,"\\s*"),h){case"both":u="("+d+").*";break;case"either":u="^("+d+")$";break;case"and":u=d.indexOf("|")>-1?"^("+d+"|[,\\s])("+d+"|[,\\s])+$":"("+d+")";break;default:u="("+d+")"}}else d=c;d&&(u||(u=l[0].getAttribute("data-exact")?"^"+d+"$":"("+(d=d.replace(/\s/g,"\\s*"))+")"),n.column(p).search(u,!0))}}),n.draw(),!1}),l.on("click",".wb-tables-filter [type='reset']",function(t){t.preventDefault();var a=e(this).closest(".wb-tables-filter");return e("#"+a.data("bind-to")).dataTable({retrieve:!0}).api().search("").columns().search("").draw(),a.find("select").prop("selectedIndex",0),a.find("input:checkbox, input:radio").prop("checked",!1),a.find(":input").not(":button, :submit, :reset, :hidden, :checkbox, :radio").val(""),!1}),a.add(o)}(jQuery,window,wb),/** 232 * @title WET-BOEW Tabbed interface 233 * @overview Dynamically stacks multiple sections of content, transforming them into a tabbed interface. 234 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 235 * @author WET Community 236 */ function(e,t,a){"use strict";var n,r,i,s,o="wb-tabs",l="."+o,c="wb-shift"+l,d="wb-updated"+l,u="setfocus.wb",p=!1,f="tabs-acc",g="> .tabpanels > details > .tgl-panel",h="-activePanel",m="click keydown",b=a.pageUrlParts.pathname+"#",y=a.doc,v="smallview",w={excludePlay:!1,interval:6,updateHash:!1,ignoreSession:!1},_=function(s){var c,d,u,g,m,y,_,x,A,E,S,N,D,j,I,L,M,P,B,R=a.init(s,o,l),F=!0,U="open",H=0;
236if(R){0===(m=e(R)).children(".tabpanels").length&&m.children("[role=tabpanel], details").wrapAll("<div class='tabpanels'></div>"),c=m.find("> .tabpanels > [role=tabpanel], > .tabpanels > details"),(F=0!==(d=m.children("[role=tablist]")).length)&&1===c.length&&(m.removeClass("show-thumbs playing"),m.addClass("exclude-controls")),B=(g=(j=0!==(u=a.jqEscape(a.pageUrlParts.hash.substring(1))).length)?c.filter("#"+u):void 0)&&0!==g.length,y=R.id,x=e.extend(!0,{},w,{interval:m.hasClass("slow")?9:m.hasClass("fast")?3:w.interval,excludeControls:m.hasClass("exclude-controls"),excludePlay:m.hasClass("exclude-play"),updateHash:m.hasClass("update-hash"),playing:m.hasClass("playing"),ignoreSession:m.hasClass("ignore-session")},t[o],a.getData(m,o));try{if(B){if(!x.ignoreSession)try{sessionStorage.setItem(b+y+h,u)}catch(q){}}else j&&(H=(_=c.find("#"+u)).length),0!==H?u=_.closest("[role=tabpanel]").attr("id"):x.ignoreSession||(u=sessionStorage.getItem(b+y+h)),u&&(g=c.filter("#"+u))}catch(z){}if(i=-1!==document.documentElement.className.indexOf(v),r||(r={prev:(n=a.i18n)("prv"),next:n("nxt"),play:n("tab-play"),rotStart:n("tab-rot").on,rotStop:n("tab-rot").off,space:n("space"),hyphen:n("hyphen"),pause:n("pause"),tabCount:n("lb-curr")}),F)g&&0!==g.length&&(c.filter(".in").addClass("out noheight").removeClass("in"),g.addClass("in").removeClass("out noheight"),d.find(".active").removeClass("active"),d.find("a").filter("[href$='"+u+"']").parent().addClass("active"));else{for(m.addClass(f),M=y+"-grp",S=(c=(P=m.children(".tabpanels")).children("details")).length,P.detach(),g&&0!==g.length||0!==(g=c.filter("[open]").first()).length||(g=c.eq(0)),c.removeAttr(U),g.attr(U,U),N="<ul role='tablist' aria-live='off' class='generated'>",E=0;E!==S;E+=1)(A=c.eq(E)).addClass(M).html(A.html().replace(/(<\/summary>)/i,"$1<div class='tgl-panel'>")+"</div>"),(I=A.attr("id"))||(I=a.getId(),A.attr("id",I)),D=!!A.attr(U),i?a.supportsDetails||A.toggleClass("open",D):(A.attr({role:"tabpanel",open:U}),A.addClass((a.supportsDetails?"":U+" ")+"fade "+(D?"in":"noheight out wb-inv"))),N+="<li"+(D?" class='active'":"")+"><a id='"+I+"-lnk' href='#"+I+"'>"+A.children("summary").html()+"</a></li>";d=e(N+"</ul>"),P.find("> details > summary").addClass("wb-toggle tgl-tab").attr("data-toggle",'{"parent": "#'+y+'", "group": ".'+M+'"}'),m.prepend(d).append(P).trigger("wb-init.wb-toggle")}T(c,d),F&&C(d,x)&&a.add("#"+y+l),j&&setTimeout(function(){-1!==(L=B?d.offset().top:0!==H?_.offset().top:-1)&&L<document.body.scrollTop&&(document.body.scrollTop=L)},1),m.data({"wb-tabs":{panels:c,tablist:d,settings:x,ctime:0}}),p=!0,O(m),x.updateHash&&k(g[0]),a.ready(m,o)}},x=function(e){var t=e.data(o),a=parseFloat(t.ctime)+.5;parseFloat(t.settings.interval)<=a&&(e.trigger(c),a=0),t.ctime=a,e.data(o,t)},C=function(e,t){var a=r.prev,n=r.next,i=r.space,s=t.excludeControls,o=t.excludePlay,l=!s&&!o&&t.playing,c=l?r.pause:r.play,d=l?r.rotStop:r.rotStart,u="<span class='glyphicon glyphicon-",p="<span class='wb-inv'>",f="<li class='control ",g="' href='javascript:;' role='button' title='",h="</span></a></li> ",m=e.find("[role=tab]"),b=m.index(m.filter("[aria-selected=true]"))+1,y=r.tabCount,v=y.indexOf("%"),w=y.lastIndexOf("%")+1,_=f+" tab-count' tabindex='0'><div>"+y.substring(0,v)+"<div class='curr-count'>"+y.substring(v,w).replace("%curr%","<span class='curr-index'>"+b+"</span>").replace("%total%",m.length)+"</div>"+y.substring(w)+"</div></li>",x=f+"plypause'><a class='plypause"+g+c+"'>"+u+(l?"pause":"play")+"'></span> <span>"+c+"</span>"+p+i+r.hyphen+i+d+h;return s||e.prepend(f+"prv'><a class='prv"+g+a+"'>"+u+"chevron-left'></span>"+p+a+h+_+(f+"nxt'><a class='nxt"+g+n+"'>"+u+"chevron-right'></span>"+p)+n+h),s||o||e.append(x),e.find("a[role=button]").attr("href","javascript:;"),l},T=function(e,t){for(var a,n,r,s,o,l=e.get(),c=l.length-1,d=t.children().get(),u=d.length-1,p="details"===e[0].nodeName.toLowerCase();-1!==c;c-=1)a=-1===(n=l[c]).className.indexOf("out"),p&&i||(n.setAttribute("aria-hidden",a?"false":"true"),n.setAttribute("aria-expanded",a?"true":"false")),n.setAttribute("aria-labelledby",n.id+"-lnk");for(o=!1;-1!==u;u-=1)(n=d[u]).setAttribute("role","presentation"),(a=-1!==n.className.indexOf("active"))?o=!0:0!==u||o||(a=!0,n.className+=" active"),s=(r=n.getElementsByTagName("a")[0]).getAttribute("href").substring(1),r.tabIndex=a?"0":"-1",r.setAttribute("role","tab"),r.setAttribute("aria-selected",a?"true":"false"),r.setAttribute("aria-controls",s),r.id=s+"-lnk";t.attr("aria-live","off")},k=function(e){var n=e.id;a.ignoreHashChange=!0,e.id+="-off",t.location.hash=n,e.id=n,a.ignoreHashChange=!1},A=function(e,t,a,n){var r,i,s,c,u=t.find("[role=tab]").index(n)+1,p=e.filter(".in"),f=a.closest(l),g=f.data(o).settings,m=p.find(".wb-mltmd-inited").get(),y=m.length;for(-1!==p[0].className.indexOf("slide")&&(i=e.index(p),s=e.index(a),c=e.length-1,e.toggleClass("reverse",i>s&&(i!==c||0!==s)||0===i&&s===c)),p.removeClass("in").addClass("out noheight").attr({"aria-hidden":"true","aria-expanded":"false"}),i=0;i!==y;i+=1)(r=m[i]).player&&r.player("pause");if(a.removeClass("out noheight").addClass("in").attr({"aria-hidden":"false","aria-expanded":"true"}),t.find(".active").removeClass("active").children("a").attr({"aria-selected":"false",tabindex:"-1"}),t.find(".curr-index").html(u),n.attr({"aria-selected":"true",tabindex:"0"}).parent().addClass("active"),!g.ignoreSession)try{sessionStorage.setItem(b+f.attr("id")+h,a.attr("id"))}catch(v){}g.updateHash&&k(a[0]),f.trigger(d,[a])},E=function(e,t){var a=e.data(o),n=a.panels,r=a.tablist,i=n.filter("#"+t.attr("aria-controls"));
236A(n,r,i,t)},S=function(e,t){var a=t.data(o).panels,n=a.length,r=t.find("> .tabpanels > .in").prevAll("[role=tabpanel]").length,i=!e.shiftto,s=r>n?0:r+(i?1:e.shiftto);N(a[s>n-1?0:s<0?n-1:s].id,i)},N=function(t,a){var n,r="#"+t,s=e(r);i&&"details"===s[0].nodeName.toLowerCase()?s.children("summary").trigger(s.attr("open")?u:"click"):((n=e(r+"-lnk")).trigger({type:"click",which:a?void 0:1}),a||n.trigger(u))},D=function(e,t){e.trigger({type:c,shiftto:t})},O=function(t){var a,n,r,o,c,d,u,h,m,b,y,w,_,x,C,T,k,A;if(p){if(T=(i=-1!==document.documentElement.className.indexOf(v))!==s,k=!!t.length,T||k){for(w=0,_=(a=k?t:e(l)).length;w!==_;w+=1)if(C=(o=(r=(n=a.eq(w)).children(".tabpanels")).children("details")).length,0!==o.length){if(r.detach(),b=o.children("summary"),d=n.children("ul"),i)for(x=0,m=d.find(".active a").attr("href").substring(1);x!==C;x+=1)y=(c=o.eq(x)).children(".tgl-panel"),A=c.attr("id")===m,c.removeAttr("role aria-expanded aria-hidden").removeClass("fade out noheight in").toggleClass("open",A),y.attr("role","tabpanel").removeAttr("aria-expanded").removeAttr("aria-hidden"),A?c.attr("open","open"):c.removeAttr("open"),k||c.children("summary").attr({"aria-expanded":A,"aria-selected":A});else s&&(h=(u=o.filter("[open]")).attr("id"),u=(0===u.length?o:u).eq(0),o.attr({role:"tabpanel",open:"open"}).not(u).addClass("fade out noheight wb-inv").attr({"aria-hidden":"true","aria-expanded":"false"}),o.children(".tgl-panel").removeAttr("role"),u.addClass("fade in").attr({"aria-hidden":"false","aria-expanded":"true"}));b.attr("aria-hidden",!i),d.attr("aria-hidden",i),n.append(r),i&&!k?n.attr("role","tablist"):s&&(n.removeAttr("role").find(g).removeAttr("role"),n.find("> ul [href$='"+h+"']").trigger("click"))}k&&!i&&a.hasClass(f)&&setTimeout(function(){a.removeAttr("role").find(g).removeAttr("role")},1)}s=i}(T||k)&&setTimeout(function(){e(l+" .tabpanels > details.wb-inv").removeClass("wb-inv")},300)};y.on("timerpoke.wb wb-init"+l+" "+c+" wb-select"+l,l,function(t){var a,n=t.target;if(t.currentTarget===n)switch(t.type){case"timerpoke":(a=e(n)).hasClass(o+"-inited")?a.hasClass("playing")&&x(a):_(t);break;case"wb-init":_(t);break;case"wb-shift":S(t,e(n));break;case"wb-select":N(t.id)}return!0}),y.on(m,l+" ul[role=tablist] a, "+l+" ul[role=tablist] .tab-count",function(t){var n,i,s,c,d,p,f,g,h=t.which,m=t.currentTarget,b=m.className,y=r.space;return t.ctrlKey||t.altKey||t.metaKey||h&&1!==h&&13!==h&&27!==h&&32!==h&&(!(h>36)||!(h<41))||(t.preventDefault(),t.stopPropagation?t.stopImmediatePropagation():t.cancelBubble=!0,s=(i=(n=e(m)).closest(l))[0].id,f=i.hasClass("playing"),g=-1!==b.indexOf("plypause"),(p=i.data(o)).ctime=0,i.data(o,p),(f&&h||g&&!(h>36&&h<41))&&(f?a.remove("#"+s+l):a.add("#"+s+l),i.toggleClass("playing"),d=(f=!f)?r.pause:r.play,(c=i.find("a.plypause")[0]).setAttribute("title",d),c.innerHTML="<span class='glyphicon glyphicon-"+(f?"pause":"play")+"'></span> <span>"+d+"</span><span class='wb-inv'>"+y+r.hyphen+y+(f?r.rotStop:r.rotStart)+"</span>"),h>36?(D(i,h<39?-1:1),i.find("> [role=tablist] .active a").trigger(u)):27===h||("tab"===m.getAttribute("role")?("true"!==m.getAttribute("aria-selected")&&E(i,n),(13===h||32===h)&&i.find(m.getAttribute("href")).trigger(u)):g||D(i,-1!==b.indexOf("prv")?-1:1))),!0}),y.on(m,l+" [role=tabpanel]",function(t){var a,n=t.currentTarget,r=t.which;t.stopPropagation?t.stopImmediatePropagation():t.cancelBubble=!0,t.ctrlKey&&38===t.which?i?e(n).prev().trigger(u):e(n).closest(l).find("[href$='#"+n.id+"']").trigger(u):(!r||1===r||27===r)&&(a=e(t.currentTarget).closest(l)).hasClass("playing")&&a.find(".plypause").trigger("click")}),y.on("click",l+" [role=tabpanel] a",function(t){var n,r,i,s=t.currentTarget,o=s.getAttribute("href"),l=t.which;l&&1!==l||"#"!==o.charAt(0)||0===(r=(n=e(s).closest(".tabpanels")).children("#"+a.jqEscape(o.substring(1)))).length||(t.preventDefault(),0!==(i=r.children("summary")).length&&"true"!==i.attr("aria-hidden")?i.trigger("click"):n.parent().find(o+"-lnk").trigger("click"))}),y.on(a.resizeEvents,O),y.on(m,l+" > .tabpanels > details > summary",function(t){var a,n,r,i=t.which,s=t.currentTarget.parentNode;if(!(t.ctrlKey||t.altKey||t.metaKey)&&(!i||1===i||13===i||32===i)){if(n=e(s.parentNode.parentNode),a=e(s),!(r=n.data(o).settings).ignoreSession)try{sessionStorage.setItem(b+n.attr("id")+h,s.id)}catch(l){}r.updateHash&&k(s),a.attr("open")||n.trigger(d,[a])}}),y.on("click",".wb-tabs-ext",function(e){var t=e.which;t&&1!==t||(e.preventDefault(),N(e.currentTarget.getAttribute("href").substring(1)))}),a.add(l)}(jQuery,window,wb),/** 237 * @title WET-BOEW Tag filter 238 * @overview Filter based content tagging 239 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 240 * @author @duboisp 241 */ function(e,t,a,n){"use strict";let r,i,s="wb-tagfilter",o="."+s,l="."+s+"-ctrl",c=n.doc,d="wb-tgfltr-out",u=s+"-items",p=s+"-noresult",f=s+"-status",g=function(t){let r=n.init(t,s,o);if(r){let c=r.querySelectorAll(l),d=r.querySelectorAll("[data-wb-tags]"),g=r.querySelector("."+u),b=r.querySelector("."+p);if(r.items=[],r.filters={},r.activeFilters=[],g&&(g.id=g.id||n.getId()),i=n.i18n,c.length&&(r.filters=m(c),c.forEac
241h(function(e){e.setAttribute("aria-controls",g.id)})),d.length&&(r.items=h(d)),!r.querySelector(".wb-fltr-info")&&!r.querySelector("."+f)){let y=a.createElement("div");y.classList.add(f,"wb-inv"),y.setAttribute("role","status");let v=a.createElement("p");y.appendChild(v),(b||g).after(y)}_(r),n.ready(e(r),s)}},h=function(e){let t=[];return e.forEach(function(e){let a=e.dataset.wbTags.split(" "),r=e.querySelector("time"),i=r?r.getAttribute("datetime"):null;e.id||e.setAttribute("id",n.getId()),t.push({id:e.id,tags:a,isMatched:!0,itemText:e.innerText.toLowerCase(),date:i})}),t},m=function(e){let t={};return e.forEach(function(e){switch(e.name||console.error(s+": Filter controls require an attribute 'name'."),e.type){case"checkbox":case"radio":e.name in t||(t[e.name]=[]),t[e.name].push({isChecked:e.checked,type:e.type,value:e.value});break;case"select-one":case"date":t[e.name]=[{type:e.type,value:e.value}]}}),t},b=function(e){for(let t in e.activeFilters=[],e.filters){if("startDate"===t||"endDate"===t)continue;let a=e.filters[t],n=a[0].type,r=[];switch(n){case"checkbox":r=a.filter(e=>e.isChecked).map(e=>e.value);break;case"radio":{let i=a.find(e=>e.isChecked);if(i){if(""===i.value)break;r.push(i.value);break}console.warn(s+': Radio button groups must have a default selected value. If you want to display all items, add an option called "All" with an empty value.');break}case"select-one":""!==a[0].value&&r.push(a[0].value)}e.activeFilters.push(r)}},y=function(e){let t=e.activeFilters.length,a=e.filters.startDate&&e.filters.startDate[0]&&e.filters.startDate[0].value||"",r=e.filters.endDate&&e.filters.endDate[0]&&e.filters.endDate[0].value||"";e.items.forEach(i=>{let s=0,o=!0;i.date&&(""!==a&&""===r&&(o=n.date.compare(i.date,a)>=0),""!==r&&""===a&&(o=0>=n.date.compare(i.date,r)),""!==a&&""!==r&&(o=n.date.compare(i.date,a)>=0&&0>=n.date.compare(i.date,r))),o&&e.activeFilters.forEach(e=>{(0===e.length||e.some(e=>i.tags.includes(e)))&&s++}),i.isMatched=s===t&&o})},v=function(e){let t=e.items.forEach(function(t){let a=e.querySelector("#"+t.id);t.isMatched?a.classList.remove(d):a.classList.add(d)});return t},w=function(e){let t=e.querySelector("."+f),a=e.querySelector("."+p),n=t?t.querySelector("p"):null,r=i?i("items-found"):"items found out of / \xe9l\xe9ments trouv\xe9s sur";if(t&&n){let s=e.items.filter(e=>e.isMatched).length,o=e.items.length,l;l=0===s?a?a.textContent:i?i("no-items-found"):"No items found / Aucun \xe9l\xe9ment trouv\xe9":`${s} ${r} ${o}`,n.textContent=l}},_=function(t){b(t),y(t),v(t),w(t),e(t).trigger("wb-filtered",[{source:s}])};c.on("change",l,function(e){let t=e.currentTarget,a=t.type,n=t.name,r=t.value,i=t.closest(o),s=i.filters[n];switch(a){case"checkbox":s.find(function(e){return e.value===r}).isChecked=!!t.checked;break;case"radio":s.forEach(function(e){e.isChecked=!1}),s.find(function(e){return e.value===r}).isChecked=!0;break;case"select-one":case"date":s[0].value=r}_(i)}),c.on("wb-contentupdated",o+", "+o+" *",function(){let t=this;r&&clearTimeout(r),r=setTimeout(function(){t.classList.remove("wb-init",s+"-inited"),e(t).trigger("wb-init."+s)},100)}),c.on("timerpoke.wb wb-init"+o,o,g),n.add(o)}(jQuery,window,document,wb),/** 242 * @title WET-BOEW Text highlighting 243 * @overview Automatically highlights certain words on a Web page. The highlighted words can be selected via the query string. 244 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 245 * @author @pjackson28 246 */ function(e,t,a,n){"use strict";var r="wb-txthl",i="."+r,s=n.doc,o=function(t){var a,s,o=n.init(t,r,i),l=n.pageUrlParts.params;if(o){if(t.txthl?a=Array.isArray(t.txthl)?t.txthl.join("|"):t.txthl:l&&l.txthl&&(a=decodeURIComponent(n.pageUrlParts.params.txthl.replace(/^\s+|\s+$|\|+|"|\(|\)/g,"").replace(/\++/g,"|"))),a){var c={"&":"&","<":"<",">":">",'"':""","'":"'"};a="(?=([^>]*<))([\\s'])?("+(a=a.replace(/[&<>"']/g,function(e){return c[e]}))+")(?!>)",s=o.innerHTML.replace(RegExp(a,"gi"),function(e,t,a,n){return(a||"")+"<mark>"+n+"</mark>"}),o.innerHTML=s}n.ready(e(o),r)}};s.on("timerpoke.wb wb-init"+i,i,o),n.add(i)}(jQuery,window,document,wb),/** 247 * @title WET-BOEW Toggle 248 * @overview Plugin that allows a link to toggle elements between on and off states. 249 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 250 * @author @patheard 251 */ function(e,t,a){"use strict";var n="wb-toggle",r="."+n,i=".tgl-panel",s=".tgl-tab",o="toggle"+r,l="toggled"+r,c="setfocus.wb",d={},u=a.doc,p=a.win,f={stateOn:"on",stateOff:"off"},g=function(t){var i,s,o,l=a.init(t,n,r,!0);l&&(i=e(l),s=e.extend({},f,i.data("toggle")),i.data("toggle",s),h(l,s),s.persist&&(o=m(i,s)),s.print&&b(i,s),!o&&s.state&&C(i,s,s.state),a.ready(i,n))},h=function(e,t){var n,r,o,l,c,d,u,p,f,g,h="",m=!1;if(null!=t.group&&null!=t.parent){if("tablist"!==(c=document.querySelector(t.parent)).getAttribute("role")){for((-1===c.className.indexOf("wb-tabs")||-1!==document.documentElement.className.indexOf("smallview"))&&c.setAttribute("role","tablist"),l=c.querySelectorAll(t.group),d=c.querySelectorAll(t.group+" "+s),n=0,r=l.length;n!==r;n+=1)o=l[n],u=d[n],p=o.querySelector(i),(f="details"===o.nodeName.toLowerCase()?!!o.hasAttribute("open"):(" "+u.className+" ").indexOf(" "+t.stateOn+" "))&&(m=!0),u.getAttribute("id")||u.setAttribute("id",a.getId()),"details"===o.nodeName.toLowerCase()&&o.parentNode.className.toLowerCase().indexOf("accordion")>-1?((g=document.createElement("div")).classList.add("tgl-tab"),g.setAttribute("role","tab"),g.setAttribute("aria-selected",f),g.setAttribute("tabindex",f?"0":"-1"),g.setAttribute("aria-posinset",n+1),g.setAttribute("aria-setsize",r),c.replaceChild(g,o),g.appendChild(o)):(u.setAttribute("role","tab"),u.setAttribute("aria-selected",f),u.setAttribute("tabindex",f?"0":"-1"),u.setAttribute("aria-posinset",n+1),u.setAttribute("aria-setsize",r)),p.setAttribute("role","tabpanel"),p.setAttribute("aria-labelledby",u.getAttribute("id")),p.setAttribute("aria-expanded",f),p.setAttribute("aria-hidden",!f);m||d[0].setAttribute("tabindex","0")}}else{for(n=0,r=(l=_(e,t)).length;n!==r;n+=1)(o=l[n]).id||(o.id=a.getId()),h+=o.id+" ";e.setAttribute("aria-controls",h.slice(0,-1))}},m=function(t,a){var r,i=t[0];return a.persist="session"===a.persist?sessionStorage:localStorage,a.persistKey=n+(a.group?a.group:"")+i.id,(r=a.persist.getItem(a.persistKey))&&t.trigger(o,e.extend({},a,{type:r})),r},b=function(a,n){var r,i="beforeprint";p.on(i,function(){a.trigger(o,e.extend({},n,{type:n.print}))}),t.matchMedia&&(r=t.matchMedia("print")).addListener&&r.addListener(function(e){e.matches&&p.trigger(i)})},y=function(t){var a=e(t.currentTarget);a.trigger(o,a.data("toggle")),t.preventDefault(),a.trigger(c)},v=function(t,a){if(t.namespace===n){var r,i,o,c=!!a.group,d=!!a.persist,u=c&&!!a.parent,p=t.currentTarget,f=e(p),g=x(f,a),h=g===a.stateOff,m=h?a.stateOn:a.stateOff,b=u?f.parent(a.group):_(p,a);if(c&&(r=e.extend({},a,{selector:a.group}),o=_(p,r),C(u?e(a.parent).find(s):o,r,a.stateOff),o.wb("toggle",a.stateOff,a.stateOn),o.trigger(l,{isOn:!1,isTablist:u,elms:o}),d))for(i in a.persist)0===i.indexOf(n+a.group)&&a.persist.removeItem(i);if(C(u?f:b,a,m),b.wb("toggle",m,g),b.trigger(l,{isOn:h,isTablist:u,elms:b}),c&&b.find("summary").attr({tabindex:"0"}),d)try{a.persist.setItem(a.persistKey,m)}catch(y){}}},w=function(t,a){if(t.namespace===n&&t.target===t.currentTarget){var r,o=a.isOn,l=a.elms,c=e(this),d=c.is("summary")?c.parent():c;t.stopPropagation?t.stopImmediatePropagation():t.cancelBubble=!0,d.prop("open",o),a.isTablist&&(l.find(s).parents(s).attr({"aria-selected":o,tabindex:o?"0":"-1"}),l.find(i).attr({"aria-hidden":!o,"aria-expanded":o}),o&&1===l.length&&(r=l.offset().top)<p.scrollTop()&&p.scrollTop(r))}},_=function(t,a){var n=a.selector||t,r=a.parent||null;return null!==r?e(r).find(n):e(n)},x=function(t,a){var r=a.parent,i=a.selector,s=a.type;if(s)return"on"===s?a.stateOff:a.stateOn;if("summary"===t[0].nodeName.toLowerCase())return t.parent().attr("open")?a.stateOn:a.stateOff;if(!i)return t.data(n+"-state")||a.stateOff;
251if("details"!==i||s){if(Object.prototype.hasOwnProperty.call(d,i))return Object.prototype.hasOwnProperty.call(d[i],r)?d[i][r]:d[i].all}else{var o=!1;return _(t,a).each(function(){e(this).attr("open")||(o=!0)}),o?a.stateOff:a.stateOn}return a.stateOff},C=function(e,t,a){var r,i=t.parent,s=t.selector,o=d[s];if(s){if(o||(o={all:t.stateOff},d[s]=o),i)o[i]=a;else for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(o[r]=a)}e.data(n+"-state",a)};u.on("timerpoke.wb wb-init"+r+" "+o+" click",r,function(e,t){var a=e.type;switch(a){case"click":y(e);break;case"toggle":v(e,t);break;case"timerpoke":case"wb-init":g(e)}}),u.on(l,"summary, details",w),u.on("keydown",s,function(t){var a,n,r,i,s,o,l=t.which;if(!t.ctrlKey&&l>34&&l<41){switch(t.preventDefault(),a=(n=e(t.currentTarget)).data("toggle"),o=(i=(r=u.find(a.parent)).find(a.group)).index(n.parent()),l){case 35:s=i.last();break;case 36:s=i.first();break;case 37:case 38:s=0===o?i.last():i.eq(o-1);break;case 39:case 40:s=o===i.length-1?i.first():i.eq(o+1)}s.children("summary").trigger(c)}}),u.on("keydown",i,function(t){t.ctrlKey&&38===t.which&&e(t.currentTarget).prev().trigger(c)}),a.add(r)}(jQuery,window,wb),/** 252 * @title WET-BOEW Twitter embedded timeline 253 * @overview Helps with implementing Twitter embedded timelines. 254 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 255 * @author @pjackson28 256 */ function(e,t,a){"use strict";var n,r,i="wb-twitter",s="."+i,o=a.doc,l=function(t){var o=a.init(t,i,s),l=a.pageUrlParts.protocol;if(o){let d=o.querySelector("a.twitter-timeline");if(a.ie11){a.ready(e(o),i);return}if(d){let u;r||(r={startNotice:(n=a.i18n)("twitter-start-notice"),endNotice:n("twitter-end-notice"),skipEnd:n("twitter-skip-end"),skipStart:n("twitter-skip-start"),timelineTitle:n("twitter-timeline-title")}),"string"!=typeof r.startNotice&&console.warn(i+": i18n text is missing. Iframe title override and skip links will be disabled."),!d.dataset.lang&&d.closest("[lang='zh-Hans']")&&(d.dataset.lang="zh-cn"),("fb-page"===d.dataset.height||d.dataset.tweetLimit&&!d.dataset.height)&&(d.dataset.height="500"),d.dataset.dnt||(d.dataset.dnt="true"),(u=new MutationObserver(function(e){e.forEach(function(e){switch(e.type){case"attributes":{let t=e.target;"IFRAME"===t.nodeName&&t.title!==r.timelineTitle&&"string"==typeof r.timelineTitle&&(t.title=r.timelineTitle);break}case"childList":e.removedNodes.forEach(function(e){if(e===d){let t=o.querySelector("div.twitter-timeline");c(t),o.style.opacity=1,o.style.opacity="",u.disconnect()}})}})})).observe(o,{attributeFilter:["title"],childList:!0,subtree:!0}),setTimeout(()=>{let e=o.querySelector("iframe.twitter-timeline");e||(console.warn(i+": Twitter timeline is currently unavailable."),u.disconnect())},5e3)}if(!document.querySelector("script[src*='platform.twitter.com/widgets.js']")){let p=document.createElement("script");p.src=(-1===l.indexOf("http")?"http:":l)+"//platform.twitter.com/widgets.js",p.onload=function(){a.ready(e(o),i)},document.head.appendChild(p)}}},c=function(e){let t=e.getElementsByTagName("iframe")[0],a=d(t.src),n=i+"-notice",s=i+"-skip",o="start",l,c,f,g;a&&"string"==typeof r.timelineTitle&&(l=u(r.startNotice,a,t.id,n,o),e.before(l),c=u(r.endNotice,a,t.id,n,"end"),e.after(c),f=p(r.skipEnd,a,c.id,s,"end"),l.after(f),g=p(r.skipStart,a,l.id,s,o),c.before(g))},d=function(e){let t=e.match(/\/screen-name\/([^?]+)/);return t?t[1]:null},u=function(e,t,a,n,r){let i=document.createElement("span"),s=document.createElement("p");return i.innerHTML=e.replace("%username%",t),s.id=a+"-"+r,s.className=n+"-"+r,s.prepend(i),s.addEventListener("blur",function(e){e.target.removeAttribute("tabindex")}),s},p=function(t,n,r,i,s){let l=document.createElement("span"),c=document.createElement("a"),d=document.createElement("p");return l.innerHTML=t.replace("%username%",n),c.href="#"+r,c.prepend(l),e(c).on("click",function(e){let t=e.currentTarget,n="#"+a.jqEscape(t.getAttribute("href").substring(1)),r=o.find(n);return r.trigger("setfocus.wb"),!1}),d.className=i+" "+i+"-"+s,d.prepend(c),d};o.on("timerpoke.wb wb-init"+s,s,l),a.add(s)}(jQuery,window,wb),/** 257 * @title WET-BOEW Data Json [data-json-after], [data-json-append], 258 * [data-json-before], [data-json-prepend], [data-json-replace], [data-json-replace
258with] and [data-wb-json] 259 * @overview Insert content extracted from JSON file. 260 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 261 * @author @duboisp 262 */ function(e,t,a){"use strict";var n,r,i="wb-data-json",s="wb-json",o=["[data-json-after]","[data-json-append]","[data-json-before]","[data-json-prepend]","[data-json-replace]","[data-json-replacewith]","[data-"+s+"]"],l=["after","append","before","prepend","val"],c=/(href|src|data-*|aria-*|role|pattern|min|max|step|low|high|lang|hreflang|action)/,d=/(checked|selected|disabled|required|readonly|multiple|hidden)/,u=o.length,p=o.join(","),f=i+"-queue",g=a.doc,h=function(r){var o,l,c=a.init(r,i,p),d=t[i]||{};if(c){var u,g,h,b,y,v=["before","replace","replacewith","after","append","prepend"],w=v.length,_=[];for(h=0,l=e(c);h!==w;h+=1)u=v[h],null!==(y=c.getAttribute("data-json-"+u))&&_.push({type:u,url:y});if(!n){if(d.functionForTest)for(o in d.functionForTest)x[o]||(x[o]=d.functionForTest[o]);if(d.functionForOperand)for(o in d.functionForOperand)C[o]||(C[o]=d.functionForOperand[o]);n=!0}if(a.ready(l,i),(g=a.getData(l,s))&&g.url)_.push(g);else if(g&&Array.isArray(g))for(h=0,w=g.length;h!==w;h+=1)_.push(g[h]);for(l.data(f,_),w=_.length,h=0;h!==w;h+=1)m(c,(b=_[h]).url,h,b.nocache,b.nocachekey,b.data,b.contenttype,b.method)}},m=function(t,a,n,r,i,s,o,l){e(t).trigger({type:"json-fetch.wb",fetch:{url:a,refId:n,nocache:r,nocachekey:i,data:s,contentType:o,method:l}})},b=function(t){var n,r=t.target,s=e(r),o=s.data(f),u=t.fetch,p=o[u.refId],g=p.type,h=p.prop||p.attr,m=p.showempty,b=u.response,v=typeof b;if(m||"undefined"!==v){if(m&&"undefined"===v&&(b=""),n=jQuery.ajaxSettings.cache,jQuery.ajaxSettings.cache=!0,g){if("replace"===g)s.html(b);else if("replacewith"===g)s.replaceWith(b);else if("addclass"===g)s.addClass(b);else if("removeclass"===g)s.removeClass(b);else if("prop"===g&&h&&d.test(h))s.prop(h,b);else if("attr"===g&&h&&c.test(h))s.attr(h,b);else if("function"==typeof s[g]&&-1!==l.indexOf(g))s[g](b);else throw i+" do not support type: "+g}else g="template",y(r,p,b),p.trigger&&!a.isDisabled&&s.find(a.allSelectors).addClass("wb-init").filter(":not(#"+r.id+" .wb-init .wb-init)").trigger("timerpoke.wb");jQuery.ajaxSettings.cache=n,s.trigger("wb-contentupdated",{"json-type":g,content:b})}},y=function(t,n,r){var i,s,o=t.className,l=n.source?document.querySelector(n.source):t.querySelector("template");if("TABLE"===t.tagName&&-1!==o.indexOf("wb-tables")){if(-1===o.indexOf("wb-tables-inited")||!e.fn.dataTable||!e.fn.dataTable.isDataTable(t)){e(t).one("wb-ready.wb-tables",function(){y(t,n,r)});return}s=(i=e(t).dataTable({retrieve:!0}).api()).row.add,n.tobeclone="tr"}l&&(l.content||a.tmplPolyfill(l),n.streamline?T(t,t,r,n):v(t,r,n),s&&i.draw())},v=function(t,a,n,r){var i,s,o,l,c,d,u,p,f=t;for(n.appendto&&(f=e(n.appendto).get(0)),"TABLE"===t.tagName&&-1!==t.className.indexOf("wb-tables")&&(p=(u=e(t).dataTable({retrieve:!0}).api()).row.add,n.tobeclone="tr"),Array.isArray(a)||(a="object"!=typeof a?[a]:e.map(a,function(e,t){return e&&"object"==typeof e&&!Array.isArray(e)?e["@id"]||(e["@id"]=t):e={"@id":t,"@value":e},[e]})),o=a.length,!r&&n.source?d=document.querySelector(n.source):!r&&n.template?d=t.querySelector(n.template):r||(d=(1===(d=t.querySelectorAll(":scope > template")).length||0===d[0].attributes.length)&&d[0]),s=0;s<o;s+=1)S(l=a[s],n.filter,n.filternot)&&(!c&&r&&(c=r),r||!d||n.tobeclone?!r&&d&&(c=d.content.querySelector(n.tobeclone).cloneNode(!0)):c=d.content.cloneNode(!0),(i=T(t,c,l,n))&&(delete n.template,c=i),p?p(e(c)):!r&&d&&f.appendChild(c));p&&u.draw()},w=function(e,t){var a,n,r,i,s=t.operand||"softEq";if(t.test){try{a=A(e,t.assess||t.value),n=k(a)}catch(o){a=void 0,n=void 0}return x[t.test]?(r=x[t.test].call(t,n,a),C[s]||(console.error("The operand '"+s+"' don't exist"),console.error(t),s="softEq"),!!(i=C[s].call(t,r,t.expect))):(console.error("The test function '"+t.test+"' don't exist. Default to false test result"),console.error(t),!1)}},_={"rdf:Alt":function(t,a,n,r){var i,s,o=r.mapping,l=o.length,c=n;for(i=0;i<l||0===i;i+=1)if(w(n,s=o[i])){delete(s=e.extend(!0,{},s)).test,s.value&&(c=k(n,s.value)),T(t,a,c,s);return}}},x={"fn:isArray":function(e){return Array.isArray(e)},"fn:isLiteral":function(e){return e&&e["@value"]&&(e=e["@value"]),!!e&&"object"!=typeof e},"fn:getType":function(e,t){var a=e["@type"]||t["@type"];return"@json"===a?"rdf:JSON":(Array.isArray(a)&&-1!==a.indexOf("@json")&&(a[a.indexOf("@json")]="rdf:JSON"),a)?a:typeof e},"fn:getValue":function(e){return e},"fn:guessType":function(e,t){var a;return e?e["@type"]?a=e["@type"]:t["@type"]?a=t["@type"]:e["@value"]&&(e=e["@value"]):a="undefined",a&&"undefined"!==a&&("@json"===a?a="rdf:JSON":Array.isArray(a)&&-1!==a.indexOf("@json")&&(a[a.indexOf("@json")]="rdf:JSON")),a||(a="string"==typeof e&&e.match(/^([a-z][a-z0-9+\-.]*):/i)?["xsd:anyURI","rdfs:Literal"]:"string"==typeof e?["xsd:string","rdfs:Literal"]:"boolean"==typeof e?["xsd:boolean","rdfs:Literal"]:"number"==typeof e?["xsd:double","rdfs:Literal"]:void 0===e?"undefined":Array.isArray(e)?"rdfs:Container":"rdfs:Resource"),a}},C={softEq:function(e,t){var a,n;if(Array.isArray(e)&&!Array.isArray(t)&&-1!==e.indexOf(t))return!0;
262if(Array.isArray(e)&&Array.isArray(t)){for(a=0,n=t.length;a!==n;a++)if(e.indexOf(t[a]))return!0}else if(t&&e===t)return!0;else if(!t&&e)return!0;return!1},eq:function(e,t){return!!N(e,t)},neq:function(e,t){return!N(e,t)},in:function(e,t){var a;if(!t)return console.error("Expected value is missing. Defaulting to false."),console.error(this),!1;if(Array.isArray(e)&&!Array.isArray(t)&&-1!==e.indexOf(t))return!0;if(Array.isArray(e)&&Array.isArray(t)){for(a=0;a!==t.length;a++)if(e.indexOf(t[a]))return!0}else if(!Array.isArray(e)&&Array.isArray(t)&&-1!==t.indexOf(e))return!0;else if(e===t)return!0;return!1},nin:function(e,t){return!C.in.call(this,e,t)}},T=function(t,a,n,r){var i,s,o,l,c,d,u,p,f,g,h,m=r.queryall,b=r.mapping;if(r["@type"]){_[r["@type"]].call(n,t,a,n,r);return}if((!r.test||w(n,r))&&(b||m||r.template||"object"==typeof b)){if(r=e.extend(!0,{},r),a=a||t,r.template&&(h=a.querySelector(r.template),g=a,a=h.content.cloneNode(!0),delete r.template),Array.isArray(n))return(v(a,n,r,a),h)?(h.parentNode?r.append?h.parentNode.appendChild(a):h.parentNode.insertBefore(a,h):g.appendChild(a),t):void 0;for(b||(b=[{}]),Array.isArray(b)||(b=[b]),f=b.length,i=0;i<f||0===i;i+=1)"string"==typeof b[i]&&(b[i]={value:b[i]});if(m)for(i=0,p=a.querySelectorAll(m);i<p.length||0===i;i+=1)b[i].selector||-1!==m.indexOf("nth-child")?b[i].selector||(b[i].selector=m):b[i].selector=m+":nth-child("+(i+1)+")";for(i=0;i<f||0===i;i+=1){s=b[i],u=!1,c=!1,d=!1,o=s.selector?a.querySelector(s.selector):a;try{l=A(n,s)}catch(y){console.info("JSON selector path for mapping don't exist in content"),console.info(s),console.info(n);continue}if(void 0!==l){if(l&&l["@value"]&&l["@type"]&&(Array.isArray(l["@type"])||(l["@type"]=[l["@type"]]),u=-1!==l["@type"].indexOf("@id"),c=-1!==l["@type"].indexOf("rdf:HTML"),d=-1!==l["@type"].indexOf("rdf:JSON")||-1!==l["@type"].indexOf("@json")),Array.isArray(l)&&(s.mapping||s.queryall))v(o,l,s);else if(s.mapping||s.queryall||!s.mapping&&"object"==typeof s.mapping)try{T(h||t,o,l,s)}catch(x){if("cached_node: null"===x&&"object"==typeof l)v(o,l,s);else throw x}else if(u&&c)o.dataset.wbAjax=JSON.stringify({url:l["@value"],type:"replace",dataType:d?"json":null,encode:s.encode});else if(c&&d&&!u)E(o,l=JSON.stringify(l["@value"]),s);else if(o||"object"!=typeof l)null!==r.mapping&&("object"==typeof(l=k(l))&&null!==l&&(l=JSON.stringify(l)),E(o,l,s));else throw"cached_node: null"}}if(h)return h.parentNode?r.append?h.parentNode.appendChild(a):h.parentNode.insertBefore(a,h):g.appendChild(a),t}},k=function(e,t){var a=A(e,t);return"object"==typeof a&&null!==a&&Object.prototype.hasOwnProperty.call(a,"@value")&&(a=a["@value"]),a},A=function(e,t){var a;return t=t||!1,a="string"==typeof e||"/"===t||"/@value"===t||"/"===t.value||"/@value"===t.value?e:"string"==typeof t?jsonpointer.get(e,t):t.value?jsonpointer.get(e,t.value):e},E=function(e,t,a){var n,r;(n=a.attr)&&(e.hasAttribute(n)||e.setAttribute(n,""),e=e.getAttributeNode(n)),a.placeholder&&(t=(r=e.textContent||"").replace(a.placeholder,t)),null!==t&&(a.isHTML?e.innerHTML=t:e.textContent=t)},S=function(e,t,a){var n,r,i,s=t?t.length:0,o=a?a.length:0,l=!1;if(s||o){for(n=0;n<s;n+=1)if(r=t[n],i=N(jsonpointer.get(e,r.path),r.value),r.optional)l=l||i;else{if(!i)return!1;l=!0}if(s&&!l)return!1;for(n=0;n<o;n+=1)if(r=a[n],(i=N(jsonpointer.get(e,r.path),r.value))&&!r.optional||i&&r.optional)return!1}return!0},N=function(e,t){switch(typeof e){case"undefined":default:return!1;case"boolean":case"string":case"number":return e===t;case"object":if(null===e)return null===t;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(a=0,n=e.length;a<n;a++)if(!N(e[a],t[a]))return!1;return!0}var a,n,r=D(t).length;if(D(e).length!==r)return!1;for(a in e)if(!N(e[a],t[a]))return!1;return!0}},D=function(e){var t;if(Array.isArray(e)){t=Array(e.length);for(var a=0;a<t.length;a++)t[a]=""+a;return t}if(Object.keys)return Object.keys(e);for(var n in t=[],e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t},O=function(t){var a=t.target,n=e(a),r=n.data(f),i=r.length,s=t["wb-json"];if(!(s.url&&(s.type||s.source)))throw"Data JSON update not configured properly";r.push(s),n.data(f,r),m(a,s.url,i)};for(g.on("json-failed.wb",p,function(t){var a=t.currentTarget,n=e(a).data(f),r=t.fetch,s=r.xhr,o=n[r.refId].fail;o&&(o.streamline=!0,y(a,o,{error:r.error.message||s.statusText,status:r.status,url:r.fetchOpts.url,response:{text:s.responseText||"",status:s.status,statusText:s.statusText}})),console.info(t.currentTarget),console.error("Error or bad JSON Fetched from url in "+i)}),Modernizr.load({test:("content"in document.createElement("template")),nope:"site!deps/template"+a.getMode()+".js"}),g.on("timerpoke.wb wb-init."+i+" wb-update."+i+" json-fetched.wb",p,function(e){if(e.currentTarget===e.target)switch(e.type){case"timerpoke":case"wb-init":h(e);break;case"wb-update":O(e);break;default:b(e)}return!0}),r=0;r!==u;r+=1)a.add(o[r])}(jQuery,window,wb),/** 263 * @title WET-BOEW Disable Event 264 * @overview Event creates the active offer for users that have disabled the event. 265 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 266 * @author @gc 267 */ function(e,t,a){"use strict";var n="wb-disable",r="#wb-tphp",i=a.doc,s="wb-disable-allow",o=[{selectors:"[data-wb-jsonmanager]",initEvent:"wb-jsonmanager"},{selectors:"[data-wb-postback]",initEvent:"wb-postback"},{selectors:["[data-ajax-after]","[data-ajax-append]","[data-ajax-before]","[data-ajax-prepend]","[data-ajax-replace]","[data-wb-ajax]"],initEvent:"wb-data-ajax"},{selectors:["[data-json-after]","[data-json-append]","[data-json-before]","[data-json-prepend]","[data-json-replace]","[data-json-replace
267with]","[data-wb-json]"],initEvent:"wb-data-json"}],l=function(s){var o,l,d,u=a.init(s,n,r,!0),p="?",f=a.html,g=a.i18n,h=a.pageUrlParts,m=g("disable-notice-h"),b=g("disable-notice"),y="<section";if(u){for(o in h.params)o&&Object.prototype.hasOwnProperty.call(h.params,o)&&"wbdisable"!==o&&(p+=o+"="+h.params[o]+"&");try{if(a.isDisabled||a.ie){f.addClass("wb-disable");try{localStorage.setItem("wbdisable","true")}catch(v){}c(),document.querySelector("link[rel=canonical]")||((l=t.location.href.replace(/&?wbdisable=true/gi,"").replace("?&","?").replace("?#","#")).indexOf("?")===l.length-1&&(l=l.replace("?","")),(d=document.createElement("link")).rel="canonical",d.href=l,document.head.appendChild(d));let w=a.getId();return y=y+" class='container-fluid bg-warning text-center mrgn-tp-sm py-4'><h2 class='mrgn-tp-0'>"+m+"</h2><p>"+b+"</p><p><a id='"+w+"' rel='alternate' href='"+p+"wbdisable=false'>"+g("wb-enable")+"</a>.</p></section>",e(u).after(y),document.querySelector("#"+w).setAttribute("property","significantLink"),!0}f.addClass("wb-enable"),localStorage&&localStorage.setItem("wbdisable","false");var _=t.location.href.replace(/&?wbdisable=false/gi,"").replace("?&","?").replace("?#","#");_.indexOf("?")===_.length-1&&(_=_.replace("?","")),t.history.replaceState("","",_)}catch(x){}a.addSkipLink(g("wb-disable"),{href:p+"wbdisable=true",rel:"alternate"},!1,!0),a.ready(i,n)}},c=function(){o.forEach(t=>{"object"==typeof t.selectors&&(t.selectors=t.selectors.join("."+s+",")),t.selectors=t.selectors+"."+s,e(t.selectors).trigger("wb-init."+t.initEvent)})};i.on("timerpoke.wb",r,l),i.on("wb-contentupdated",function(){c()}),a.add(r)}(jQuery,window,wb),/** 268 * @title WET-BOEW Focus 269 * @overview User agent safe way of assigning focus to an element 270 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 271 * @author @pjackson28 272 */ function(e,t){"use strict";var a,n=t.doc,r=t.win,i="setfocus.wb",s=function(){var n=t.pageUrlParts.hash;n&&0!==(a=e("#"+t.jqEscape(n.substring(1)))).length&&a.trigger(i)};n.on(i,function(t){if("wb"===t.namespace){var a,n,r,s,o=t.target,l=e(o),c=l.not("summary").parents("details, [role='tabpanel']");if(0!==c.length)for(c.not("[open]").children("summary").trigger("click"),r=(a=c.filter("[aria-hidden='true']")).length,s=0;s!==r;s+=1)(n=a.eq(s)).closest(".wb-tabs").find("#"+n.attr("aria-labelledby")).trigger("click");setTimeout(function(){let t=!1;if(l.trigger("focus"),o!==document.activeElement&&null===o.getAttribute("tabindex")&&(o.setAttribute("tabindex","-1"),t=!0,l.trigger("focus")),o===document.activeElement){let a=e(".wb-bar-t[aria-hidden=false]");0!==a.length&&(document.documentElement.scrollTop-=a.outerHeight())}else t&&o.removeAttribute("tabindex"),console.error(i+": Unable to focus onto the destination element... maybe it's hidden?"),console.error(o);return l},100)}}),n.on("wb-ready.wb",s),r.on("hashchange",function(){t.pageUrlParts.hash=window.location.hash,t.ignoreHashChange||s()}),n.on("click","a[href]",function(n){var r=n.currentTarget.getAttribute("href");r.length>1&&"#"===r.charAt(0)&&!n.isDefaultPrevented()&&0!==(a=e("#"+t.jqEscape(r.substring(1)))).length&&(t.ignoreHashChange=!0,a.trigger(i))})}(jQuery,wb),/** 273 * @title WET-BOEW JSON Manager 274 * @overview Manage JSON dataset, execute JSON patch operation. 275 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 276 * @author @duboisp 277 */ function(e,t,a){"use strict";var n="wb-jsonmanager",r="[data-"+n+"]",i="data-"+n+"-reload",s=[],o={},l={},c={},d={},u={},p={},f={},g=a.doc,h={ops:[{name:"patches",fn:function(e,t,a){var n=this.path,r=this.patches,i=jsonpointer.get(a,n);r.forEach(e=>{e.mainTree=a,e.pathParent=n,jsonpatch.apply(i,[e])})}},{name:"wb-count",fn:function(e,t,a){var n,r,i=e[t],s=0,o=this.filter||[],l=this.filternot||[];if(Array.isArray(o)||(o=[o]),Array.isArray(l)||(l=[l]),(o.length||l.length)&&Array.isArray(i))for(r=0,n=i.length;r!==n;r+=1)v(i[r],o,l)&&(s+=1);else Array.isArray(i)&&(s=i.length);x(a,"add",this.set,s)}},{name:"wb-first",fn:function(e,t,a){var n=e[t];Array.isArray(n)&&0!==n.length&&x(a,"add",this.set,n[0])}},{name:"wb-last",fn:function(e,t,a){var n=e[t];Array.isArray(n)&&0!==n.length&&x(a,"add",this.set,n[n.length-1])}},{name:"wb-nbtolocal",fn:function(e,a,n){var r=e[a],i=this.locale||t.wb.lang,s=this.suffix||"",o=this.prefix||"";!("string"==typeof r&&(r=parseFloat(r),isNaN(r)))&&x(n,"replace",this.path,o+r.toLocaleStr
277ing(i)+s)}},{name:"wb-decodeUTF8Base64",fn:function(e,t,n){var r=e[t];this.set?x(n,"add",this.set,a.decodeUTF8Base64(r)):x(n,"replace",this.path,a.decodeUTF8Base64(r))}},{name:"wb-escapeHTML",fn:function(e,t,n){var r=e[t];this.set?x(n,"add",this.set,a.escapeHTML(r)):x(n,"replace",this.path,a.escapeHTML(r))}},{name:"wb-toDateISO",fn:function(e,t,n){this.set?x(n,"add",this.set,a.date.toDateISO(e[t])):x(n,"replace",this.path,a.date.toDateISO(e[t]))}},{name:"wb-toDateTimeISO",fn:function(e,t,n){this.set?x(n,"add",this.set,a.date.toDateISO(e[t],!0)):x(n,"replace",this.path,a.date.toDateISO(e[t],!0))}},{name:"wb-swap",fn:function(e,t,a){var n,r,i,s,o,l,c,d,u,p,f=e[t],g=this.ref,h=this.mainTree||e,m=this.path;if(f)for(i=Array.isArray(r=jsonpointer.get(h,g)),(s=Array.isArray(f))||(f=[f]),l=f.length,o=0;o!==l;o++){if(c=f[o],n=void 0,i){for(d=0,u=r.length;d!==u;d++)if((p=r[d])["@id"]&&p["@id"]===c){n=p;break}if(!n){console.error("wb-swap: Unable to find a corresponding value for: "+f+" in reference "+g);break}}else c=c.replaceAll("~","~0").replaceAll("/","~1"),n=h?jsonpointer.get(h,g+"/"+c):jsonpointer.get(a,g+"/"+c);n&&!s?x(a,"replace",m,n):n&&x(a,"replace",m+"/"+o,n)}}}],opsArray:[{name:"wb-toDateISO",fn:function(e){var t,a=this.set,n=this.path,r=e.length;for(t=0;t!==r;t+=1)a?jsonpatch.apply(e,[{op:"wb-toDateISO",set:"/"+t+a,path:"/"+t+n}]):jsonpatch.apply(e,[{op:"wb-toDateISO",path:"/"+t+n}])}},{name:"wb-toDateTimeISO",fn:function(e){var t,a=this.set,n=this.path,r=e.length;for(t=0;t!==r;t+=1)a?jsonpatch.apply(e,[{op:"wb-toDateTimeISO",set:"/"+t+a,path:"/"+t+n}]):jsonpatch.apply(e,[{op:"wb-toDateTimeISO",path:"/"+t+n}])}},{name:"wb-swap",fn:function(e){e.forEach((t,a)=>{jsonpatch.apply(e,[{op:"wb-swap",path:"/"+a+this.path,ref:this.ref,mainTree:this.mainTree}])})}},{name:"patches",fn:function(e){e.forEach((t,a)=>{jsonpatch.apply(this.mainTree||e,[{op:"patches",path:(this.pathParent||"")+"/"+a+this.path,patches:this.patches}])})}}],opsRoot:[],settings:{},docMapKeys:{referer:document.referrer,locationHref:location.href}},m=function(e,t,a,n){e.after('<p lang="en"><strong>JSON Manager Debug</strong> ('+t+')</p><ul lang="en"><li>JSON: <pre><code>'+JSON.stringify(a)+"</code></pre></li><li>Patches: <pre><code>"+JSON.stringify(n)+"</code></pre>"),console.log(a)},b=function(i){var o,l,c,d,p,f,g,m,b,y,v=a.init(i,n,r),w=t[n]||{},_={};v&&(o=e(v),Modernizr.load({load:["site!deps/json-patch"+a.getMode()+".js","site!deps/jsonpointer"+a.getMode()+".js"],testReady:function(){return t.jsonpatch&&t.jsonpointer},complete:function(){var t=a.getData(o,n);if(!h.registered){if(l=h.ops.concat(w.ops||[]),c=h.opsArray.concat(w.opsArray||[]),d=h.opsRoot.concat(w.opsRoot||[]),l.length)for(p=0,f=l.length;p!==f;p++)g=l[p],jsonpatch.registerOps(g.name,g.fn);if(c.length)for(p=0,f=c.length;p!==f;p++)g=c[p],jsonpatch.registerOpsArray(g.name,g.fn);if(d.length)for(p=0,f=d.length;p!==f;p++)g=d[p],jsonpatch.registerOpsRoot(g.name,g.fn);h.settings=e.extend({},h.settings,w.settings||{}),h.registered=!0}if(!(y=t.name)||y in s)throw"Dataset name must be unique";if(s.push(y),m=t.url)for(p=0,f=(m="string"==typeof m?[m]:m).length,u[y]=f;p!==f;p++)b=m[p],_={nocache:t.nocache,nocachekey:t.nocachekey,data:t.data,contentType:t.contenttype,method:t.method},b.url?(_.savingPath=b.path||"",_.url=b.url):_.url=b,o.trigger({type:"json-fetch.wb",fetch:_}),35===_.url.charCodeAt(0)&&91===_.url.charCodeAt(1)&&a.ready(o,n);else!m&&t.extractor?(o.trigger({type:"json-fetched.wb",fetch:{response:{}}}),a.ready(o,n)):(o.trigger({type:"json-fetch.wb"}),a.ready(o,n))}}))},y=function(t){for(var a,n,r=!1,i=[],s="",o={},l=[],c=[],d=0,u=[],p=function(e){e.selector!==s||i.includes(s)||(o[e.path]=e.attr&&c[d].getAttributeNode(e.attr)?c[d].getAttributeNode(e.attr).textContent:c[d].textContent,i.push(s))},f=function(e,t,n){var r=e.path.split("/").filter(Boolean);if(t&&t instanceof NodeList&&0===t.length&&(t=null),r.length>1){var i="";i=r.pop(),r[0]&&""!==r[0]?(n[r[0]]||u.includes(r[0])||(u.push(r[0]),n[r[0]]={}),e.selectAll&&!n[r[0]][i]&&(n[r[0]][i]=[]),e.selectAll?n[r[0]][i].push(t):n[r[0]][i]=t):e.selectAll?n[r[0]].push(t):n[i]=t}else e.selectAll?(n[a.path]||(n[a.path]=[]),n[a.path].push(t)):n[a.path]=t},g={},m=0;m<=t.length-1;m++){if((a=t[m]).interface)n=h.docMapKeys[a.interface],f(a,n,g);else{if(n=document.querySelectorAll(a.selector||""),r=!!a.extractor&&a.extractor.length>=1,a.selectAll)for(var b=0;b<=n.length-1;b++){var y=a.attr&&n[b].getAttributeNode(a.attr)?n[b].getAttributeNode(a.attr).textContent:n[b].textContent;f(a,y,g)}if(r){g[a.path]=[],c=n[0].children;var v=Object.keys(a.extractor).length;for(d=0;d<=c.length-1;d++)s=c[d].tagName.toLowerCase(),a.extractor.find(p),Object.keys(o).length===v&&(l.push(o),o={},i=[]);e.extend(g[a.path],l)}n.length&&(n=a.attr&&n[0].getAttributeNode(a.attr)?n[0].getAttributeNode(a.attr).textContent:n[0].textContent)}a.selectAll||!1!==r||f(a,n,g)}return g},v=function(e,t,a){var n,r,i,s=t.length,o=a.length,l=!1;if(s||o){for(n=0;n<s;n+=1)if(r=t[n],i=w(jsonpointer.get(e,r.path),r.value),r.optional)l=l||i;else{if(!i)return!1;l=!0}if(s&&!l)return!1;for(n=0;n<o;n+=1)if(r=a[n],(i=w(jsonpointer.get(e,r.path),r.value))&&!r.optional||i&&r.optional)return!1}return!0},w=function(e,t){switch(typeof e){case"undefined":default:return!1;case"boolean":case"string":case"number":return e===t;case"object":if(null===e)return null===t;if(Array.isArray(e)){if(Array.isArray(t)||e.length!==t.length)return!1;for(a=0,n=e.length;a<n;a++)if(!w(e[a],t[a]))return!1;return!0}var a,n,r=_(t).length;if(_(e).length!==r)return!1;for(a=0;a<r;a++)if(!w(e[a],t[a]))return!1;return!0}},_=function(e){var t;if(Array.isArray(e)){t=Array(e.length);for(var a=0;a<t.length;a++)t[a]=""+a;return t}if(Object.keys)return Object.keys(e);for(var n in t=[],e)Object.prototype.hasOwnProperty.call(e,n)&&t.pu
277sh(n);return t},x=function(e,t,a,n){jsonpatch.apply(e,[{op:t,path:a,value:n}])},C=function(e,t,a,n){var r,i,s;if(Array.isArray(a)||(a=[a]),Array.isArray(n)||(n=[n]),Array.isArray(r=jsonpointer.get(e,t)))for(i=s=r.length-1;-1!==i;i-=1)v(r[i],a,n)||jsonpatch.apply(e,[{op:"remove",path:t+"/"+i}]);return e};g.on("json-failed.wb",r,function(t){var r,i=t.target;i===t.currentTarget&&((r=e(i)).addClass("jsonfail"),a.ready(r,n))}),g.on("json-fetched.wb",r,function(t){var r,s,g,h,b,v,w,_,x,T,k,A,E,S,N,D,O=t.target,j=e(O),I=t.fetch.fetchedOpts,L=O.hasAttribute(i),M=t.fetch.response;if(O===t.currentTarget){if(r=a.getData(j,n),I&&I.savingPath)for(b=(k=I.savingPath.split("/")).length-1;b>0;b--)k[b]&&((T={})[k[b]]=M,M=T);if(M=(g=Array.isArray(M))?e.extend(!0,[],M):e.extend(!0,{},M),s=r.name,u[s]--,p[s]=p[s]?p[s]:g,p[s]!==g)throw"Can't merge, incompatible JSON type (array vs object)";if(f[s]?f[s]&&g?f[s]=f[s].concat(M):f[s]=e.extend(f[s],M):f[s]=M,!L&&u[s])return;M=f[s],(D=r.extractor)&&(Array.isArray(D)||(D=[D]),M=e.extend(M,y(D))),s="["+s+"]",A=r.patches||[],N=r.fpath,E=r.filter||[],S=r.filternot||[],Array.isArray(A)||(A=[A]),N&&(M=C(M,N,E,S)),r.wraproot&&((w={})[r.wraproot]=M,M=w),A.length&&jsonpatch.apply(M,A),r.debug&&m(j,"initEvent",M,A);try{o[s]=M}catch(P){return}if(l[s]=r,L&&(O.removeAttribute(i),(w=d[s])&&j.trigger(w)),!r.wait&&c[s])for(b=0,v=(_=c[s]).length;b!==v;b+=1){if((x=(w=_[b]).selector).length)try{h=jsonpointer.get(M,x)}catch(B){throw s+" - JSON selector not found: "+x}else h=M;e("#"+w.callerId).trigger({type:"json-fetched.wb",fetch:{response:h,status:"200",refId:w.refId,xhr:null}},this)}a.ready(j,n)}}),g.on("patches."+n,r,function(t){var r,s,l,u,p,f,g,h,b,y=t.target,v=e(y),w=t.patches,_=t.fpath,x=t.filter||[],T=t.filternot||[],k=!!t.cumulative;if(y===t.currentTarget&&Array.isArray(w)){if(!(r=a.getData(v,n)))return!0;if(s="["+r.name+"]",y.hasAttribute(i))return d[s]=t,!0;if(!c[s])throw"Applying patched on undefined dataset name: "+s;for(l=o[s],k||(l=e.extend(!0,Array.isArray(l)?[]:{},l)),_&&(l=C(l,_,x,T)),jsonpatch.apply(l,w),r.debug&&m(v,"patchesEvent",l,w),g=(p=c[s]).length,f=0;f!==g;f+=1){if((b=(h=p[f]).selector).length)try{u=jsonpointer.get(l,b)}catch(A){throw s+" - JSON selector not found: "+b}else u=l;e("#"+h.callerId).trigger({type:"json-fetched.wb",fetch:{response:u,status:"200",refId:h.refId,xhr:null}},this)}}}),g.on("postpone."+n,function(t){var a,n=t.postpone,r=n.dsname,i=n.callerId,s=n.refId,d=n.selector;if(c[r]||(c[r]=[]),c[r].push({callerId:i,refId:s,selector:d}),o[r]&&!l[r].wait){if(a=o[r],d.length)try{a=jsonpointer.get(a,d)}catch(u){throw r+" - JSON selector not found: "+d}e("#"+i).trigger({type:"json-fetched.wb",fetch:{response:a,status:"200",refId:s,xhr:null}},this)}}),g.on("op.action.wb-fieldflow",".wb-fieldflow",function(t,a){if(a.op){a.preventSubmit=!0;var n,r,i,s="wb-fieldflow-submit";n=e(a.provEvt),r=a,(i=n.data(s))||(i=[]),i.push(r),n.data(s,i)}}),g.on("op.submit.wb-fieldflow",".wb-fieldflow",function(t,a){var n,r=a.op,i=a.source;if(!r)return!0;Array.isArray(r)?n=r:(n=[]).push(r),e(i).trigger({type:"patches.wb-jsonmanager",patches:n})}),g.on("timerpoke.wb wb-init."+n,r,b),a.add(r)}(jQuery,window,wb),/** 278 * @title WET-BOEW wb-postback 279 * @overview This plugin implements AJAX request for form data to submit on same page without refresh 280 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 281 * @author @masterbee, @namjohn920, @GormFrank 282 **/ function(e,t){"use strict";var a=t.doc,n="wb-postback",r="."+n,i="fail"+r,s="success"+r,o={},l=function(a){var l=t.init(a,n,r);if(l){var c=e(l),d=e.extend(!0,{},o,t.getData(c,n)),u=void 0!==c.data(n+"-multiple"),p=d.toggle||"hide",f=d.success,g=d.failure||f;let h="data-wb-blocked",m="data-wb-sending";l.addEventListener("submit",function(t){t.preventDefault(),l.parentElement.classList.contains("wb-frmvld")&&(c.valid()?e(this).removeAttr(h):e(this).attr(h,"true")),e(this).attr(h)||e(this).attr(m)||e(this).attr("data-wb-pii-blocked")||c.trigger(n+".submit",t.submitter)}),c.on(n+".submit",function(t,a){var n=c.serializeArray(),r=e(f),o=e(g);e(this).attr(m,!0),a&&a.name&&n.push({name:a.name,value:a.value}),o.addClass(p),r.addClass(p),e.ajax({type:this.method,url:this.action,data:e.param(n)}).done(function(){d.successURL&&!d.success?window.location.href=d.successURL:r.removeClass(p),c.trigger(s)}).fail(function(e){d.failureURL&&!d.failure?window.location.href=d.failureURL:o.removeClass(p),c.trigger(i,e)}).always(function(){u||c.addClass(p),c.removeAttr(m)})}),t.ready(e(l),n)}};a.on("timerpoke.wb wb-init"+r,r,l),t.add(r)}(jQuery,wb),/** 283 * @title WET-BOEW Randomize 284 * @overview This plugin randomly picks one of the child component to be shown on the browser. 285 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 286 * @author @masterbee @namjohn920 287 */ function(e,t,a){"use strict";var n=a.doc,r="wb-randomize",i="[data-wb-randomize]",s={},o=function(n){var o,c,d,u,p=a.init(n,r,i);if(p){if(o=e(p),(c=e.extend(!0,{},s,t[r],a.getData(o,r))).attribute){if(c.values&&Array.isArray(c.values))l(u=c.values),p.setAttribute(c.attribute,u[0]);else throw r+': You must define the property "values" to an array of str
287ings when "attribute" property is defined.'}else{if(!(d=c.selector?e(c.selector,o):o.children()).length)throw r+" selector setting is invalid or no children";c.shuffle&&(d=a.shuffleDOM(d)),c.toggle&&(d=a.pickElements(d,c.number)).toggleClass(c.toggle)}a.ready(o,r)}},l=function(e){for(let t=e.length-1;t>0;t--){let a=Math.floor(Math.random()*(t+1));[e[t],e[a]]=[e[a],e[t]]}};n.on("timerpoke.wb wb-init"+i,i,o),a.add(i)}(jQuery,window,wb),/** 288 * Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW) 289 * @title Zebra 290 * @overview Apply Zebra stripping on a complex data table and simulate column hovering effect 291 * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html 292 * @author @duboisp 293 * 294 */ function(e,t,a,n){"use strict";var r,i,s="wb-zebra",o="."+s,l=s+"-col-hover",c="."+l+" td, "+l+" th",d=n.doc,u=0,p=function(t){var a,r,i,o=t.data().tblparser;function l(t,a){var n,r;for(n=0,r=t.length;n!==r;n+=1)e(t[n].elem).addClass(a)}if(o.keycell&&l(o.keycell,"wb-cell-key"),o.desccell&&l(o.desccell,"wb-cell-desc"),o.layoutCell&&l(o.layoutCell,"wb-cell-layout"),o.lstrowgroup)for(a=0,r=o.lstrowgroup.length;a!==r;a+=1)(3===(i=o.lstrowgroup[a]).type||3===i.row[0].type)&&e(i.elem).addClass("wb-group-summary");if(o.colgroup)for(a=0,r=o.colgroup.length;a!==r;a+=1)3===(i=o.colgroup[a]).type&&e(i.elem).addClass("wb-group-summary");n.ready(t,s)},f=function(t){var a,l=n.init(t,s,o),c=["site!deps/tableparser"+n.getMode()+".js"];l&&((a=l.id)||(a=s+"-id-"+u,u+=1,l.id=a),i||(i={tableMention:(r=n.i18n)("hyphen")+r("tbl-txt"),tableFollowing:r("hyphen")+r("tbl-dtls")}),Modernizr.load({load:c,complete:function(){e("#"+a).trigger("passiveparse.wb-tableparser")}}))};d.on("timerpoke.wb wb-init"+o+" parsecomplete.wb-tableparser",o,function(t){var a=t.target;switch(t.type){case"timerpoke":case"wb-init":f(t);break;case"parsecomplete":t.currentTarget===a&&p(e(a))}return!0}),d.on("mouseenter focusin",c,function(t){var a=e(t.currentTarget).data().tblparser;a.col&&a.col.elem&&e(a.col.elem).addClass("table-hover")}),d.on("mouseleave focusout",c,function(t){var a=e(t.currentTarget).data().tblparser;a.col&&a.col.elem&&e(a.col.elem).removeClass("table-hover")}),n.add(o)}(jQuery,window,document,wb);
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.